@vkontakte/videoplayer 1.1.33-dev.7710e034.0 → 1.1.34-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2015.esm.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.33-dev.7710e034.0
3
- * Thu, 11 Apr 2024 09:41:22 GMT
4
- * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-33/doc/
2
+ * @vkontakte/videoplayer v1.1.34-beta.0
3
+ * Mon, 22 Apr 2024 14:16:29 GMT
4
+ * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-34/doc/
5
5
  */
6
- var Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnPropertyDescriptors;var ms=Object.getOwnPropertySymbols;var $c=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable;var cl=(i,e,t)=>e in i?Qc(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Zi=(i,e)=>{for(var t in e||(e={}))$c.call(e,t)&&cl(i,t,e[t]);if(ms)for(var t of ms(e))e0.call(e,t)&&cl(i,t,e[t]);return i},Xn=(i,e)=>Jc(i,xc(e));var fl=(i,e,t)=>(cl(i,typeof e!="symbol"?e+"":e,t),t);var jn=(i,e,t)=>new Promise((n,o)=>{var l=a=>{try{r(t.next(a))}catch(c){o(c)}},s=a=>{try{r(t.throw(a))}catch(c){o(c)}},r=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,s);r((t=t.apply(i,e)).next())});import{VERSION as t0,ChromecastState as gn,PlaybackState as Ti,VideoQuality as io,Player as i0,VideoFormat as wo}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as f8,VideoQuality as d8}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Ao,VideoQuality as Ko,fillWithDefault as n0,VERSION as o0,assertNonNullable as _t,safeStorage as cn,isNullable as Jo,Subscription as so,isNonNullable as an,isMacLike as hs,debounceFn as U1,ValueSubject as Gl,getCurrentBrowser as Yl,CurrentClientBrowser as j1,noop as it,checkNever as l0,timeCodeToString as s0,isIOS as q1,CurrentClientDevice as r0,getIOSVersion as a0,Subject as tn,addScript as u0,Logger as W1,merge as c0,Observable as f0,map as d0,loadVKLangPack as m0,getHighestQuality as h0,detectEmbed as p0,isMobile as v0,cloneDeepWith as g0}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as h8,VKNumericLanguage as p8,loadVKLangPack as v8}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as b0,SeekAction as zt,OneStat as _0,InteractiveInterfaceClick as ko}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function Gi(i,e,t,n){function o(l){return l instanceof t?l:new t(function(s){s(l)})}return new(t||(t=Promise))(function(l,s){function r(f){try{c(n.next(f))}catch(h){s(h)}}function a(f){try{c(n.throw(f))}catch(h){s(h)}}function c(f){f.done?l(f.value):o(f.value).then(r,a)}c((n=n.apply(i,e||[])).next())})}function Z(){}function Z1(i,e){for(const t in e)i[t]=e[t];return i}function G1(i){return i()}function ps(){return Object.create(null)}function ti(i){i.forEach(G1)}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 Do;function vs(i,e){return Do||(Do=document.createElement("a")),Do.href=e,i===Do.href}function w0(i){return Object.keys(i).length===0}function tl(i,...e){if(i==null){for(const n of e)n(void 0);return Z}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rt(i){let e;return tl(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(tl(e,t))}function Tn(i,e,t,n){if(i){const o=Y1(i,e,t,n);return i[0](o)}}function Y1(i,e,t,n){return i[1]&&n?Z1(t.ctx.slice(),i[1](n(e))):t.ctx}function En(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=[],s=Math.max(e.dirty.length,o.length);for(let r=0;r<s;r+=1)l[r]=e.dirty[r]|o[r];return l}return e.dirty|o}return e.dirty}function An(i,e,t,n,o,l){if(o){const s=Y1(e,t,n,l);i.p(s,o)}}function Ln(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 k0(i){return i==null?"":i}const K1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function m(i,e){i.appendChild(e)}function De(i,e,t){const n=y0(i);if(!n.getElementById(e)){const o=_("style");o.id=e,o.textContent=t,C0(n,o)}}function y0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function C0(i,e){return m(i.head||i,e),e.sheet}function y(i,e,t){i.insertBefore(e,t||null)}function k(i){i.parentNode&&i.parentNode.removeChild(i)}function un(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function _(i){return document.createElement(i)}function R(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Fe(i){return document.createTextNode(i)}function B(){return Fe(" ")}function vt(){return Fe("")}function Le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function vi(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 P0(i){return Array.from(i.childNodes)}function Je(i,e){e=""+e,i.data!==e&&(i.data=e)}function Nt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let Fo;function S0(){if(Fo===void 0){Fo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Fo=!0}}return Fo}function il(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=_("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=S0();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Le(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Le(n.contentWindow,"resize",e),e()}),m(i,n),()=>{(o||l&&n.contentWindow)&&l(),k(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function bn(i,e){return new i(e)}let To;function So(i){To=i}function Lo(){if(!To)throw new Error("Function called outside component initialization");return To}function Ji(i){Lo().$$.on_mount.push(i)}function nl(i){Lo().$$.on_destroy.push(i)}function X1(i,e){return Lo().$$.context.set(i,e),e}function Q1(i){return Lo().$$.context.get(i)}function J1(){return Lo().$$.context}function uo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const no=[],je=[];let ro=[];const zl=[],T0=Promise.resolve();let Dl=!1;function E0(){Dl||(Dl=!0,T0.then(x1))}function Zn(i){ro.push(i)}function kt(i){zl.push(i)}const dl=new Set;let Qn=0;function x1(){if(Qn!==0)return;const i=To;do{try{for(;Qn<no.length;){const e=no[Qn];Qn++,So(e),A0(e.$$)}}catch(e){throw no.length=0,Qn=0,e}for(So(null),no.length=0,Qn=0;je.length;)je.pop()();for(let e=0;e<ro.length;e+=1){const t=ro[e];dl.has(t)||(dl.add(t),t())}ro.length=0}while(no.length);for(;zl.length;)zl.pop()();Dl=!1,dl.clear(),So(i)}function A0(i){if(i.fragment!==null){i.update(),ti(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Zn)}}function L0(i){const e=[],t=[];ro.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),ro=e}const Xo=new Set;let qn;function me(){qn={r:0,c:[],p:qn}}function he(){qn.r||ti(qn.c),qn=qn.p}function d(i,e){i&&i.i&&(Xo.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(Xo.has(i))return;Xo.add(i),qn.c.push(()=>{Xo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Wt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function V0(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],r=e[l];if(r){for(const a in s)a in r||(n[a]=1);for(const a in r)o[a]||(t[a]=r[a],o[a]=1);i[l]=r}else for(const a in s)o[a]=1}for(const s in n)s in t||(t[s]=void 0);return t}function I0(i){return typeof i=="object"&&i!==null?i:{}}function yt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function H(i){i&&i.c()}function D(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Zn(()=>{const l=i.$$.on_mount.map(G1).filter(Sn);i.$$.on_destroy?i.$$.on_destroy.push(...l):ti(l),i.$$.on_mount=[]}),o.forEach(Zn)}function F(i,e){const t=i.$$;t.fragment!==null&&(L0(t.after_update),ti(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function M0(i,e){i.$$.dirty[0]===-1&&(no.push(i),E0(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function we(i,e,t,n,o,l,s,r=[-1]){const a=To;So(i);const c=i.$$={fragment:null,ctx:[],props:l,update:Z,not_equal:o,bound:ps(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ps(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...p)=>{const b=p.length?p[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&M0(i,h)),g}):[],c.update(),f=!0,ti(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=P0(e.target);c.fragment&&c.fragment.l(h),h.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),D(i,e.target,e.anchor),x1()}So(a)}class ke{constructor(){fl(this,"$$");fl(this,"$$set")}$destroy(){F(this,1),this.$destroy=Z}$on(e,t){if(!Sn(t))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!w0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const R0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(R0);var co;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(co||(co={}));const N0={isMobile:void 0,defaultLanguage:Ao.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:Ko.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}},B0=i=>n0(i,N0),O0=i=>X1("ui-config",i),xi=()=>Q1("ui-config"),Fl="vk_player_debug_panel_opened",$1=300,z0="videoplayer",D0="videoplayer";var qe;(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"})(qe||(qe={}));const F0=new Set([qe.ArrowLeft,qe.ArrowRight,qe.KeyL,qe.KeyJ]);var ht;(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"})(ht||(ht={}));const gs=40,H0=4,U0=60,yo=8,eu=[ht.TIMELINE],Hl=[...eu,ht.GRAPH_BUTTON],bs=[...eu,ht.PLAY_BUTTON],Co=[...Hl,ht.PLAY_BUTTON];var oo;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(oo||(oo={}));var Et;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Et||(Et={}));const fo={[Et.XS]:0,[Et.S]:1,[Et.M]:2,[Et.L]:3,[Et.XL]:4},Jn=[];function pn(i,e){return{subscribe:Ue(i,e).subscribe}}function Ue(i,e=Z){let t;const n=new Set;function o(r){if(_e(i,r)&&(i=r,t)){const a=!Jn.length;for(const c of n)c[1](),Jn.push(c,i);if(a){for(let c=0;c<Jn.length;c+=2)Jn[c][0](Jn[c+1]);Jn.length=0}}}function l(r){o(r(i))}function s(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(t=e(o,l)||Z),r(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function ei(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 pn(t,(s,r)=>{let a=!1;const c=[];let f=0,h=Z;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,r);l?s(b):h=Sn(b)?b:Z},p=o.map((b,L)=>tl(b,w=>{c[L]=w,f&=~(1<<L),a&&g()},()=>{f|=1<<L}));return a=!0,g(),function(){ti(p),h(),a=!1}})}const j0="prod",Kl="1.1.33-dev.7710e034.0",tu=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},iu=Symbol("storeContext"),q0=i=>{X1(iu,i)},Ct=()=>{const i=Q1(iu);return _t(i,"Store context is empty!"),i},bt=(i,e)=>nu(i,i.getValue(),e),nu=(i,e,t)=>pn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),W0=(i,e,t)=>{var n,o,l,s;const r=i.info,{width:a,height:c}=rt(t.ui.playerSize),f=(o=(n=r.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(s=(l=r.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&s!==void 0?s:0,g=r.isAutoQualityEnabled$.getValue()?"auto":"manual",p=`${Kl} (core: ${t0}, stat: ${b0}, shared: ${o0})`,b=rt(t.state.errorLog$),L=b.length?`
7
- `+b.map((P,I)=>{var M;const J=`${I}) Type: ${P.id}
8
- `,G=`Message: ${P.message} (${P.thrown})
9
- `,K=`Trace: ${(M=P.thrown)===null||M===void 0?void 0:M.stack}
10
- `;return J+G+K}).join(`
11
- `):void 0,w=t.state.isAudioDisabled?"disabled":rt(t.state.isAudioAvailable$)?void 0:"unavailable",A={Version:p,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":r.hostname$.getValue(),"Connection type":r.httpConnectionType$.getValue()+(r.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:r.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${g} ${r.currentQuality$.getValue()}`,"Available qualities":r.availableQualities$.getValue().join(", "),Audio:w,Position:`${rt(t.state.positionExact$)}s`,State:`${rt(t.playerPhase)} ${r.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:L};return Object.entries(A).filter(([P,I])=>I!==void 0).map(([P,I])=>`${P}: ${I}`).join(`
12
- `)},Z0=(i,e,t)=>{const n=i.info,{width:o,height:l}=rt(t.ui.playerSize),s={version:Kl,viewport:`${o}x${l}`,volume:Math.round(rt(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-rt(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},G0=(i,e)=>tu(i,e,"mp4"),ou="vk_player_prefer_traffic_saving_enabled",lu="vk_player_preferred_volume",su="vk_player_prefer_volume_mute",Xl="vk_player_preferred_quality",ru=i=>i>1?1:i<0?0:i,_s=i=>cn.set(lu,ru(i).toString(10)),au=()=>{const i=cn.get(lu);return Jo(i)?void 0:ru(parseFloat(i))},Y0=(i,e)=>cn.set(Xl,JSON.stringify({videoId:i,value:e})),uu=()=>cn.remove(Xl),K0=i=>{const e=cn.get(Xl);if(Jo(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){uu();return}return n},cu=(i,e)=>{e?cn.set(i,"true"):cn.remove(i)},fu=i=>cn.get(i)==="true",ml=i=>cu(su,i),X0=()=>fu(su),Q0=i=>cu(ou,i),J0=()=>fu(ou);function x0(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("path"),s=R("path"),r=R("path"),a=R("defs"),c=R("filter"),f=R("feFlood"),h=R("feColorMatrix"),g=R("feOffset"),p=R("feGaussianBlur"),b=R("feColorMatrix"),L=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(o,"fill","#fff"),u(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(s,"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(s,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(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(p,"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(L,"in2","BackgroundImageFix"),u(L,"result","effect1_dropShadow_618_12297"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_618_12297"),u(w,"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",A=!i[0]||null),u(e,"aria-label",P=i[0]||null)},m(I,M){y(I,e,M),m(e,t),m(t,n),m(t,o),m(t,l),m(t,s),m(t,r),m(e,a),m(a,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,L),m(c,w)},p(I,[M]){M&1&&A!==(A=!I[0]||null)&&u(e,"aria-hidden",A),M&1&&P!==(P=I[0]||null)&&u(e,"aria-label",P)},i:Z,o:Z,d(I){I&&k(e)}}}function $0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class du extends ke{constructor(e){super(),we(this,e,$0,x0,_e,{ariaLabel:0})}}var hl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ef(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ho=function(i){return i&&i.Math==Math&&i},On=Ho(typeof globalThis=="object"&&globalThis)||Ho(typeof window=="object"&&window)||Ho(typeof self=="object"&&self)||Ho(typeof hl=="object"&&hl)||function(){return this}()||hl||Function("return this")(),Gn=function(i){try{return!!i()}catch(e){return!0}},tf=Gn,ol=!tf(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),nf=ol,mu=Function.prototype,ws=mu.apply,ks=mu.call,of=typeof Reflect=="object"&&Reflect.apply||(nf?ks.bind(ws):function(){return ks.apply(ws,arguments)}),hu=ol,pu=Function.prototype,Ul=pu.call,lf=hu&&pu.bind.bind(Ul,Ul),zn=hu?lf:function(i){return function(){return Ul.apply(i,arguments)}},vu=zn,sf=vu({}.toString),rf=vu("".slice),ll=function(i){return rf(sf(i),8,-1)},af=ll,uf=zn,gu=function(i){if(af(i)==="Function")return uf(i)},jl=typeof document=="object"&&document.all,cf=typeof jl=="undefined"&&jl!==void 0,bu={all:jl,IS_HTMLDDA:cf},_u=bu,ff=_u.all,Vn=_u.IS_HTMLDDA?function(i){return typeof i=="function"||i===ff}:function(i){return typeof i=="function"},wu={},df=Gn,Vo=!df(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),mf=ol,Uo=Function.prototype.call,Io=mf?Uo.bind(Uo):function(){return Uo.apply(Uo,arguments)},ku={},yu={}.propertyIsEnumerable,Cu=Object.getOwnPropertyDescriptor,hf=Cu&&!yu.call({1:2},1);ku.f=hf?function(e){var t=Cu(this,e);return!!t&&t.enumerable}:yu;var Pu=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},pf=zn,vf=Gn,gf=ll,pl=Object,bf=pf("".split),_f=vf(function(){return!pl("z").propertyIsEnumerable(0)})?function(i){return gf(i)=="String"?bf(i,""):pl(i)}:pl,Ql=function(i){return i==null},wf=Ql,kf=TypeError,Jl=function(i){if(wf(i))throw kf("Can't call method on "+i);return i},yf=_f,Cf=Jl,Pf=function(i){return yf(Cf(i))},ys=Vn,Su=bu,Sf=Su.all,Mo=Su.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:ys(i)||i===Sf}:function(i){return typeof i=="object"?i!==null:ys(i)},Tu={},vl=Tu,gl=On,Tf=Vn,Cs=function(i){return Tf(i)?i:void 0},Eu=function(i,e){return arguments.length<2?Cs(vl[i])||Cs(gl[i]):vl[i]&&vl[i][e]||gl[i]&&gl[i][e]},Ef=zn,Au=Ef({}.isPrototypeOf),Af=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Lu=On,bl=Af,Ps=Lu.process,Ss=Lu.Deno,Ts=Ps&&Ps.versions||Ss&&Ss.version,Es=Ts&&Ts.v8,rn,xo;Es&&(rn=Es.split("."),xo=rn[0]>0&&rn[0]<4?1:+(rn[0]+rn[1]));!xo&&bl&&(rn=bl.match(/Edge\/(\d+)/),(!rn||rn[1]>=74)&&(rn=bl.match(/Chrome\/(\d+)/),rn&&(xo=+rn[1])));var Lf=xo,As=Lf,Vf=Gn,If=On,Mf=If.String,Vu=!!Object.getOwnPropertySymbols&&!Vf(function(){var i=Symbol();return!Mf(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&As&&As<41}),Rf=Vu,Iu=Rf&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Nf=Eu,Bf=Vn,Of=Au,zf=Iu,Df=Object,Mu=zf?function(i){return typeof i=="symbol"}:function(i){var e=Nf("Symbol");return Bf(e)&&Of(e.prototype,Df(i))},Ff=String,Hf=function(i){try{return Ff(i)}catch(e){return"Object"}},Uf=Vn,jf=Hf,qf=TypeError,Ru=function(i){if(Uf(i))return i;throw qf(jf(i)+" is not a function")},Wf=Ru,Zf=Ql,Nu=function(i,e){var t=i[e];return Zf(t)?void 0:Wf(t)},_l=Io,wl=Vn,kl=Mo,Gf=TypeError,Yf=function(i,e){var t,n;if(e==="string"&&wl(t=i.toString)&&!kl(n=_l(t,i))||wl(t=i.valueOf)&&!kl(n=_l(t,i))||e!=="string"&&wl(t=i.toString)&&!kl(n=_l(t,i)))return n;throw Gf("Can't convert object to primitive value")},Bu={exports:{}},Ls=On,Kf=Object.defineProperty,Xf=function(i,e){try{Kf(Ls,i,{value:e,configurable:!0,writable:!0})}catch(t){Ls[i]=e}return e},Qf=On,Jf=Xf,Vs="__core-js_shared__",xf=Qf[Vs]||Jf(Vs,{}),$f=xf,Is=$f;(Bu.exports=function(i,e){return Is[i]||(Is[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 ed=Bu.exports,td=Jl,id=Object,Ou=function(i){return id(td(i))},nd=zn,od=Ou,ld=nd({}.hasOwnProperty),sl=Object.hasOwn||function(e,t){return ld(od(e),t)},sd=zn,rd=0,ad=Math.random(),ud=sd(1 .toString),cd=function(i){return"Symbol("+(i===void 0?"":i)+")_"+ud(++rd+ad,36)},fd=On,dd=ed,Ms=sl,md=cd,hd=Vu,pd=Iu,lo=fd.Symbol,yl=dd("wks"),vd=pd?lo.for||lo:lo&&lo.withoutSetter||md,Ro=function(i){return Ms(yl,i)||(yl[i]=hd&&Ms(lo,i)?lo[i]:vd("Symbol."+i)),yl[i]},gd=Io,Rs=Mo,Ns=Mu,bd=Nu,_d=Yf,wd=Ro,kd=TypeError,yd=wd("toPrimitive"),Cd=function(i,e){if(!Rs(i)||Ns(i))return i;var t=bd(i,yd),n;if(t){if(e===void 0&&(e="default"),n=gd(t,i,e),!Rs(n)||Ns(n))return n;throw kd("Can't convert object to primitive value")}return e===void 0&&(e="number"),_d(i,e)},Pd=Cd,Sd=Mu,zu=function(i){var e=Pd(i,"string");return Sd(e)?e:e+""},Td=On,Bs=Mo,ql=Td.document,Ed=Bs(ql)&&Bs(ql.createElement),Ad=function(i){return Ed?ql.createElement(i):{}},Ld=Vo,Vd=Gn,Id=Ad,Du=!Ld&&!Vd(function(){return Object.defineProperty(Id("div"),"a",{get:function(){return 7}}).a!=7}),Md=Vo,Rd=Io,Nd=ku,Bd=Pu,Od=Pf,zd=zu,Dd=sl,Fd=Du,Os=Object.getOwnPropertyDescriptor;wu.f=Md?Os:function(e,t){if(e=Od(e),t=zd(t),Fd)try{return Os(e,t)}catch(n){}if(Dd(e,t))return Bd(!Rd(Nd.f,e,t),e[t])};var Hd=Gn,Ud=Vn,jd=/#|\.prototype\./,No=function(i,e){var t=Wd[qd(i)];return t==Gd?!0:t==Zd?!1:Ud(e)?Hd(e):!!e},qd=No.normalize=function(i){return String(i).replace(jd,".").toLowerCase()},Wd=No.data={},Zd=No.NATIVE="N",Gd=No.POLYFILL="P",Yd=No,zs=gu,Kd=Ru,Xd=ol,Qd=zs(zs.bind),Jd=function(i,e){return Kd(i),e===void 0?i:Xd?Qd(i,e):function(){return i.apply(e,arguments)}},Fu={},xd=Vo,$d=Gn,e2=xd&&$d(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),t2=Mo,i2=String,n2=TypeError,Hu=function(i){if(t2(i))return i;throw n2(i2(i)+" is not an object")},o2=Vo,l2=Du,s2=e2,jo=Hu,Ds=zu,r2=TypeError,Cl=Object.defineProperty,a2=Object.getOwnPropertyDescriptor,Pl="enumerable",Sl="configurable",Tl="writable";Fu.f=o2?s2?function(e,t,n){if(jo(e),t=Ds(t),jo(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Tl in n&&!n[Tl]){var o=a2(e,t);o&&o[Tl]&&(e[t]=n.value,n={configurable:Sl in n?n[Sl]:o[Sl],enumerable:Pl in n?n[Pl]:o[Pl],writable:!1})}return Cl(e,t,n)}:Cl:function(e,t,n){if(jo(e),t=Ds(t),jo(n),l2)try{return Cl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw r2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var u2=Vo,c2=Fu,f2=Pu,d2=u2?function(i,e,t){return c2.f(i,e,f2(1,t))}:function(i,e,t){return i[e]=t,i},qo=On,m2=of,h2=gu,p2=Vn,v2=wu.f,g2=Yd,xn=Tu,b2=Jd,$n=d2,Fs=sl,_2=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 m2(i,this,arguments)};return e.prototype=i.prototype,e},w2=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,s=n?qo:o?qo[t]:(qo[t]||{}).prototype,r=n?xn:xn[t]||$n(xn,t,{})[t],a=r.prototype,c,f,h,g,p,b,L,w,A;for(g in e)c=g2(n?g:t+(o?".":"#")+g,i.forced),f=!c&&s&&Fs(s,g),b=r[g],f&&(i.dontCallGetSet?(A=v2(s,g),L=A&&A.value):L=s[g]),p=f&&L?L:e[g],!(f&&typeof b==typeof p)&&(i.bind&&f?w=b2(p,qo):i.wrap&&f?w=_2(p):l&&p2(p)?w=h2(p):w=p,(i.sham||p&&p.sham||b&&b.sham)&&$n(w,"sham",!0),$n(r,g,w),l&&(h=t+"Prototype",Fs(xn,h)||$n(xn,h,{}),$n(xn[h],g,p),i.real&&a&&(c||!a[g])&&$n(a,g,p)))},k2=Mo,y2=ll,C2=Ro,P2=C2("match"),S2=function(i){var e;return k2(i)&&((e=i[P2])!==void 0?!!e:y2(i)=="RegExp")},T2=Ro,E2=T2("toStringTag"),Uu={};Uu[E2]="z";var A2=String(Uu)==="[object z]",L2=A2,V2=Vn,Qo=ll,I2=Ro,M2=I2("toStringTag"),R2=Object,N2=Qo(function(){return arguments}())=="Arguments",B2=function(i,e){try{return i[e]}catch(t){}},O2=L2?Qo:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=B2(e=R2(i),M2))=="string"?t:N2?Qo(e):(n=Qo(e))=="Object"&&V2(e.callee)?"Arguments":n},z2=O2,D2=String,F2=function(i){if(z2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return D2(i)},H2=Hu,U2=function(){var i=H2(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},j2=Io,q2=sl,W2=Au,Z2=U2,Hs=RegExp.prototype,G2=function(i){var e=i.flags;return e===void 0&&!("flags"in Hs)&&!q2(i,"flags")&&W2(Hs,i)?j2(Z2,i):e},xl=zn,Y2=Ou,K2=Math.floor,El=xl("".charAt),X2=xl("".replace),Al=xl("".slice),Q2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,J2=/\$([$&'`]|\d{1,2})/g,x2=function(i,e,t,n,o,l){var s=t+i.length,r=n.length,a=J2;return o!==void 0&&(o=Y2(o),a=Q2),X2(l,a,function(c,f){var h;switch(El(f,0)){case"$":return"$";case"&":return i;case"`":return Al(e,0,t);case"'":return Al(e,s);case"<":h=o[Al(f,1,-1)];break;default:var g=+f;if(g===0)return c;if(g>r){var p=K2(g/10);return p===0?c:p<=r?n[p-1]===void 0?El(f,1):n[p-1]+El(f,1):c}h=n[g-1]}return h===void 0?"":h})},$2=w2,e4=Io,$l=zn,Us=Jl,t4=Vn,i4=Ql,n4=S2,eo=F2,o4=Nu,l4=G2,s4=x2,r4=Ro,a4=r4("replace"),u4=TypeError,ju=$l("".indexOf),c4=$l("".replace),js=$l("".slice),f4=Math.max,qs=function(i,e,t){return t>i.length?-1:e===""?t:ju(i,e,t)};$2({target:"String",proto:!0},{replaceAll:function(e,t){var n=Us(this),o,l,s,r,a,c,f,h,g,p=0,b=0,L="";if(!i4(e)){if(o=n4(e),o&&(l=eo(Us(l4(e))),!~ju(l,"g")))throw u4("`.replaceAll` does not allow non-global regexes");if(s=o4(e,a4),s)return e4(s,e,n,t);if(o)return c4(eo(n),e,t)}for(r=eo(n),a=eo(e),c=t4(t),c||(t=eo(t)),f=a.length,h=f4(1,f),p=qs(r,a,0);p!==-1;)g=c?eo(t(a,p,r)):s4(a,r,p,[],void 0,t),L+=js(r,b,p)+g,b=p+f,p=qs(r,a,p+h);return b<r.length&&(L+=js(r,b)),L}});var d4=Eu,m4=d4,h4=m4,p4=h4("String","replaceAll"),v4=p4,g4=v4,b4=g4,_4=b4,w4=ef(_4);const k4={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"},y4={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"},Cn=new Map;Cn.set(Ao.EN,y4);Cn.set(Ao.RU,k4);const qu=new Map,Ws=({language:i,pack:e,fallback:t})=>{if(Cn.has(i)){const n=Cn.get(i);Cn.set(i,Object.assign(Object.assign({},n),e))}else Cn.set(i,e);qu.set(i,t)},Zs=i=>Cn.has(i),Wu=(i,e,t,n)=>{var o;const l=Cn.get(i);let s=l==null?void 0:l[e];if(Jo(s)){const r=(o=qu.get(i))!==null&&o!==void 0?o:n,a=r?Cn.get(r):void 0;s=a==null?void 0:a[e]}return Jo(s)?e+Object.values(t!=null?t:{}).join(" "):t?w4(s,/{(\w+?)}/g,(r,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):s},ne=(i,e)=>{const{interfaceLanguage$:t}=Ct(),n=rt(t),o=xi();return Wu(n,i,e,o.defaultLanguage)};var $o;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})($o||($o={}));const C4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,P4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,S4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Wo="?",T4="X-Sentry-Auth",E4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function A4(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=C4.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Wo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=S4.exec(t[l]))o={filename:n[2],function:n[1]||Wo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=P4.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||Wo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Wo),e.push(o)}return e.length?{value:Zu(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Zu(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function L4(i){try{const e=A4(i);if(e)return e}catch(e){}return{value:Zu(i),type:i&&i.name,stacktrace:{frames:[]}}}function V4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class I4{constructor(e){if(e&&e.dsn){const t=E4.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 Xn(Zi({},this.getRequestBlank()),{exception:{values:[L4(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(T4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:V4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Gs(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function M4(){return window}class es extends I4{constructor(e,t=M4()){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:s=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",Zi({},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",Zi({},e)),this}setUser(e){return this.setKeyState("user",Zi({},e)),this}clone(){const e=new es(Xn(Zi({},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:[Zi({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(Xn(Zi({},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=>Gs(t,n))):!1}getRequestBlank(){return Zi(Xn(Zi({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(Zi({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=>Gs(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,s=e[n],r=Array.isArray(s)?s:null;return Xn(Zi({},t),{[n]:l||r?[...l||[],...r||[]]:Zi(Zi({},typeof o!="string"?o:{}),typeof s!="string"?s:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let Zo=null;class Wl{constructor(e,t,n={}){!Zo&&e.dsn&&(this.sentryClient=new es({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new so,this.options=e,this.context=n,Zo=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Zo=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:s}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:p}=t;if(an(p)&&h.includes(p)||an(g)&&f.includes(g))return;if(Math.random()<=r||an(p)&&c.includes(p)||an(g)&&a.includes(g)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},l),n));try{g&&o.captureMessage(g,t.fatal?$o.fatal:$o.error),o.report(e)}catch(L){console.error(L)}}}static getInstance(){return Zo}}var ao;(function(i){i.AUTO="auto"})(ao||(ao={}));var Re;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Re||(Re={}));var yn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(yn||(yn={}));var Zt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Zt||(Zt={}));var Pn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Pn||(Pn={}));var Xe;(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"})(Xe||(Xe={}));var Wn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Wn||(Wn={}));const Gu=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()},Yu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),R4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Eo=()=>{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)},Xu=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},N4=i=>{const e=window.screen;return(o=>Gi(void 0,void 0,void 0,function*(){return 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))},B4=()=>({title:ne("hotkey_map_modal_title"),closeBtnText:ne("hotkey_map_modal_close_btn_text"),groups:[{title:ne("hotkey_map_group_title_common"),items:[{description:ne("hotkey_map_item_mute_description"),value:ne("hotkey_map_item_mute_value")},{description:ne("hotkey_map_item_volume_up_description"),value:ne("hotkey_map_item_volume_up_value")},{description:ne("hotkey_map_item_volume_down_description"),value:ne("hotkey_map_item_volume_down_value")},{description:ne("hotkey_map_item_pip_description"),value:ne("hotkey_map_item_pip_value")},{description:ne("hotkey_map_item_full_screen_description"),value:ne("hotkey_map_item_full_screen_value")},{description:ne("hotkey_map_item_show_hotkey_map_description"),value:ne("hotkey_map_item_show_hotkey_map_value")}]},{title:ne("hotkey_map_group_title_playback"),items:[{description:ne("hotkey_map_item_play_toggle_description"),value:ne("hotkey_map_item_play_toggle_value")},{description:ne("hotkey_map_item_seek_backward_description"),value:ne("hotkey_map_item_seek_backward_value")},{description:ne("hotkey_map_item_seek_forward_description"),value:ne("hotkey_map_item_seek_forward_value")},{description:ne("hotkey_map_item_fast_seek_backward_description"),value:ne("hotkey_map_item_fast_seek_backward_value")},{description:ne("hotkey_map_item_fast_seek_forward_description"),value:ne("hotkey_map_item_fast_seek_forward_value")},{description:ne("hotkey_map_item_rate_down_description"),value:ne("hotkey_map_item_rate_down_value")},{description:ne("hotkey_map_item_rate_up_description"),value:ne("hotkey_map_item_rate_up_value")},{description:ne("hotkey_map_item_prev_frame_description"),value:ne("hotkey_map_item_prev_frame_value")},{description:ne("hotkey_map_item_next_frame_description"),value:ne("hotkey_map_item_next_frame_value")},{description:ne("hotkey_map_item_jump_seek_description"),value:ne("hotkey_map_item_jump_seek_value")}]},{title:ne("hotkey_map_group_title_subtitles"),items:[{description:ne("hotkey_map_item_subtitles_toggle_description"),value:ne("hotkey_map_item_subtitles_toggle_value")}]},{title:ne("hotkey_map_group_title_episodes"),items:[{description:ne("hotkey_map_item_prev_episode_description"),value:hs()?ne("hotkey_map_item_prev_episode_mac_value"):ne("hotkey_map_item_prev_episode_pc_value")},{description:ne("hotkey_map_item_next_episode_description"),value:hs()?ne("hotkey_map_item_next_episode_mac_value"):ne("hotkey_map_item_next_episode_pc_value")}]}]});class ts{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:U1(this.onResize.bind(this),$1)},this.info={isActive$:new Gl(this.isActive()),type:Pn.PictureInPicture}}isSupported(){const e=Yl().browser===j1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return Gi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return Gi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return Gi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield 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=Object.assign({},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)}dispose(){return Gi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield 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 s=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,s==null||s.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 el(i){return i instanceof ts}function O4(i){const e=Ct();return Ji(()=>{e.getAdmanWrapper().startPostroll()}),[]}class z4 extends ke{constructor(e){super(),we(this,e,O4,null,_e,{})}}const vn=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 D4(i){De(i,"v-17pubzn",".container.v-17pubzn{position:absolute;top:14px;left:16px;padding:4px 8px;font-size:13px;color:var(--white);background:rgba(0, 0, 0, 0.35);border-radius:4px}.container-mobile.v-17pubzn{font-size:15px;background:unset;border-radius:unset}")}function F4(i){let e,t=ne("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=_("div"),n=Fe(t),u(e,"class","container v-17pubzn"),V(e,"container-mobile",i[1])},m(o,l){y(o,e,l),m(e,n)},p(o,[l]){l&1&&t!==(t=ne("playing_ads",{timeleft:o[0]})+"")&&Je(n,t),l&2&&V(e,"container-mobile",o[1])},i:Z,o:Z,d(o){o&&k(e)}}}function H4(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=Ct().ui.isMobile;W(i,r,c=>t(1,n=c));let a;return i.$$set=c=>{"position"in c&&t(3,o=c.position),"duration"in c&&t(4,l=c.duration)},i.$$.update=()=>{i.$$.dirty&24&&t(0,a=vn(l-o))},[a,n,r,o,l]}class U4 extends ke{constructor(e){super(),we(this,e,H4,F4,_e,{position:3,duration:4},D4)}}function j4(i){De(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 q4(i){let e=ne("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Fe(e)},m(n,o){y(n,t,o)},p(n,o){o&3&&e!==(e=ne("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Je(t,e)},d(n){n&&k(t)}}}function W4(i){let e,t=ne("skip_ads_now")+"",n,o,l,s,r,a;return{c(){e=_("div"),n=Fe(t),o=B(),l=R("svg"),s=R("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"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){y(c,e,f),m(e,n),m(e,o),m(e,l),m(l,s),r||(a=Le(e,"click",ct(function(){Sn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(c,f){i=c},d(c){c&&k(e),r=!1,a()}}}function Z4(i){let e;function t(l,s){return l[3]?W4:q4}let n=t(i),o=n(i);return{c(){e=_("div"),o.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",i[4]),V(e,"skippable",i[3])},m(l,s){y(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&V(e,"container-mobile",l[4]),s&8&&V(e,"skippable",l[3])},i:Z,o:Z,d(l){l&&k(e),o.d()}}}function G4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=it}=e;const a=Ct().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,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,a]}class Y4 extends ke{constructor(e){super(),we(this,e,G4,Z4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},j4)}}function K4(i){De(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 X4(i){let e;return{c(){e=_("button"),e.textContent=`${ne("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class Q4 extends ke{constructor(e){super(),we(this,e,null,X4,_e,{},K4)}}function J4(i){De(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 $c=Object.defineProperty,e0=Object.defineProperties;var t0=Object.getOwnPropertyDescriptors;var bs=Object.getOwnPropertySymbols;var i0=Object.prototype.hasOwnProperty,n0=Object.prototype.propertyIsEnumerable;var hl=(i,e,t)=>e in i?$c(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,Ki=(i,e)=>{for(var t in e||(e={}))i0.call(e,t)&&hl(i,t,e[t]);if(bs)for(var t of bs(e))n0.call(e,t)&&hl(i,t,e[t]);return i},eo=(i,e)=>e0(i,t0(e));var pl=(i,e,t)=>(hl(i,typeof e!="symbol"?e+"":e,t),t);var Wn=(i,e,t)=>new Promise((n,o)=>{var l=a=>{try{r(t.next(a))}catch(c){o(c)}},s=a=>{try{r(t.throw(a))}catch(c){o(c)}},r=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,s);r((t=t.apply(i,e)).next())});import{VERSION as o0,ChromecastState as wn,PlaybackState as Ti,VideoQuality as ro,Player as l0,VideoFormat as So}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as mb,VideoQuality as hb}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Io,VideoQuality as Qo,fillWithDefault as s0,VERSION as r0,assertNonNullable as vt,safeStorage as mn,isNullable as el,Subscription as Gn,isNonNullable as fn,isMacLike as _s,debounceFn as Z1,ValueSubject as Ql,getCurrentBrowser as Jl,CurrentClientBrowser as G1,noop as it,checkNever as a0,timeCodeToString as u0,isIOS as K1,CurrentClientDevice as c0,getIOSVersion as f0,Subject as nn,addScript as d0,Logger as Y1,merge as m0,Observable as h0,map as p0,loadVKLangPack as v0,getHighestQuality as g0,detectEmbed as b0,isMobile as _0,cloneDeepWith as w0}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as vb,VKNumericLanguage as gb,loadVKLangPack as bb}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as k0,SeekAction as Wt,OneStat as y0,InteractiveInterfaceClick as Po}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function Yi(i,e,t,n){function o(l){return l instanceof t?l:new t(function(s){s(l)})}return new(t||(t=Promise))(function(l,s){function r(f){try{c(n.next(f))}catch(h){s(h)}}function a(f){try{c(n.throw(f))}catch(h){s(h)}}function c(f){f.done?l(f.value):o(f.value).then(r,a)}c((n=n.apply(i,e||[])).next())})}function K(){}function X1(i,e){for(const t in e)i[t]=e[t];return i}function Q1(i){return i()}function ws(){return Object.create(null)}function ni(i){i.forEach(Q1)}function Vn(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ho;function ks(i,e){return Ho||(Ho=document.createElement("a")),Ho.href=e,i===Ho.href}function C0(i){return Object.keys(i).length===0}function ol(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 $e(i){let e;return ol(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(ol(e,t))}function In(i,e,t,n){if(i){const o=J1(i,e,t,n);return i[0](o)}}function J1(i,e,t,n){return i[1]&&n?X1(t.ctx.slice(),i[1](n(e))):t.ctx}function Mn(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=[],s=Math.max(e.dirty.length,o.length);for(let r=0;r<s;r+=1)l[r]=e.dirty[r]|o[r];return l}return e.dirty|o}return e.dirty}function Rn(i,e,t,n,o,l){if(o){const s=J1(e,t,n,l);i.p(s,o)}}function Nn(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 S0(i){return i==null?"":i}const x1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function d(i,e){i.appendChild(e)}function Ue(i,e,t){const n=P0(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,T0(n,o)}}function P0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function T0(i,e){return d(i.head||i,e),e.sheet}function C(i,e,t){i.insertBefore(e,t||null)}function y(i){i.parentNode&&i.parentNode.removeChild(i)}function dn(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 De(i){return document.createTextNode(i)}function N(){return De(" ")}function bt(){return De("")}function Ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function _i(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ut(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 E0(i){return Array.from(i.childNodes)}function et(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 Uo;function A0(){if(Uo===void 0){Uo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){Uo=!0}}return Uo}function ll(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=A0();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ee(window,"message",s=>{s.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 kn(i,e){return new i(e)}let Lo;function Ao(i){Lo=i}function Mo(){if(!Lo)throw new Error("Function called outside component initialization");return Lo}function Ji(i){Mo().$$.on_mount.push(i)}function sl(i){Mo().$$.on_destroy.push(i)}function Ul(i,e){return Mo().$$.context.set(i,e),e}function xl(i){return Mo().$$.context.get(i)}function $1(){return Mo().$$.context}function ho(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ao=[],We=[];let fo=[];const jl=[],L0=Promise.resolve();let ql=!1;function V0(){ql||(ql=!0,L0.then(eu))}function Yn(i){fo.push(i)}function Ct(i){jl.push(i)}const vl=new Set;let to=0;function eu(){if(to!==0)return;const i=Lo;do{try{for(;to<ao.length;){const e=ao[to];to++,Ao(e),I0(e.$$)}}catch(e){throw ao.length=0,to=0,e}for(Ao(null),ao.length=0,to=0;We.length;)We.pop()();for(let e=0;e<fo.length;e+=1){const t=fo[e];vl.has(t)||(vl.add(t),t())}fo.length=0}while(ao.length);for(;jl.length;)jl.pop()();ql=!1,vl.clear(),Ao(i)}function I0(i){if(i.fragment!==null){i.update(),ni(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Yn)}}function M0(i){const e=[],t=[];fo.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),fo=e}const Jo=new Set;let Zn;function pe(){Zn={r:0,c:[],p:Zn}}function ve(){Zn.r||ni(Zn.c),Zn=Zn.p}function m(i,e){i&&i.i&&(Jo.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(Jo.has(i))return;Jo.add(i),Zn.c.push(()=>{Jo.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Gt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function R0(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],r=e[l];if(r){for(const a in s)a in r||(n[a]=1);for(const a in r)o[a]||(t[a]=r[a],o[a]=1);i[l]=r}else for(const a in s)o[a]=1}for(const s in n)s in t||(t[s]=void 0);return t}function N0(i){return typeof i=="object"&&i!==null?i:{}}function St(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),Yn(()=>{const l=i.$$.on_mount.map(Q1).filter(Vn);i.$$.on_destroy?i.$$.on_destroy.push(...l):ni(l),i.$$.on_mount=[]}),o.forEach(Yn)}function D(i,e){const t=i.$$;t.fragment!==null&&(M0(t.after_update),ni(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function B0(i,e){i.$$.dirty[0]===-1&&(ao.push(i),V0(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,s,r=[-1]){const a=Lo;Ao(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:ws(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ws(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,p,...b)=>{const g=b.length?b[0]:p;return c.ctx&&o(c.ctx[h],c.ctx[h]=g)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](g),f&&B0(i,h)),p}):[],c.update(),f=!0,ni(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=E0(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),eu()}Ao(a)}class ye{constructor(){pl(this,"$$");pl(this,"$$set")}$destroy(){D(this,1),this.$destroy=K}$on(e,t){if(!Vn(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&&!C0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const O0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(O0);var po;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(po||(po={}));const z0={isMobile:void 0,defaultLanguage:Io.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:po.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Qo.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}},D0=i=>s0(i,z0),F0=i=>Ul("ui-config",i),xi=()=>xl("ui-config"),Wl="vk_player_debug_panel_opened",tu=300,H0="videoplayer",U0="videoplayer";var He;(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"})(He||(He={}));const rl={[He.KeyF]:"f",[He.KeyK]:"k",[He.KeyC]:"c",[He.KeyM]:"m"},j0=new Set([He.ArrowLeft,He.ArrowRight,He.KeyL,He.KeyJ]);var ht;(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"})(ht||(ht={}));const ys=40,q0=4,W0=60,To=8,iu=[ht.TIMELINE],xo=[...iu,ht.GRAPH_BUTTON],Cs=[...iu,ht.PLAY_BUTTON],nu=[...xo,ht.PLAY_BUTTON];var uo;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(uo||(uo={}));var Vt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Vt||(Vt={}));const vo={[Vt.XS]:0,[Vt.S]:1,[Vt.M]:2,[Vt.L]:3,[Vt.XL]:4},io=[];function _n(i,e){return{subscribe:Fe(i,e).subscribe}}function Fe(i,e=K){let t;const n=new Set;function o(r){if(_e(i,r)&&(i=r,t)){const a=!io.length;for(const c of n)c[1](),io.push(c,i);if(a){for(let c=0;c<io.length;c+=2)io[c][0](io[c+1]);io.length=0}}}function l(r){o(r(i))}function s(r,a=K){const c=[r,a];return n.add(c),n.size===1&&(t=e(o,l)||K),r(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function ii(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 _n(t,(s,r)=>{let a=!1;const c=[];let f=0,h=K;const p=()=>{if(f)return;h();const g=e(n?c[0]:c,s,r);l?s(g):h=Vn(g)?g:K},b=o.map((g,_)=>ol(g,L=>{c[_]=L,f&=~(1<<_),a&&p()},()=>{f|=1<<_}));return a=!0,p(),function(){ni(b),h(),a=!1}})}const Z0="prod",$l="1.1.34-beta.0",ou=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},lu=Symbol("storeContext"),su=Symbol("microStoresContext"),G0=(i,e)=>{Ul(lu,i),Ul(su,e)},Et=()=>{const i=xl(lu);return vt(i,"Store context is empty!"),i},ru=()=>{const i=xl(su);return vt(i,"MicroStores context is empty!"),i},yt=(i,e)=>au(i,i.getValue(),e),au=(i,e,t)=>_n(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),K0=(i,e,t)=>{var n,o,l,s;const r=i.info,{width:a,height:c}=$e(t.ui.playerSize),f=(o=(n=r.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(s=(l=r.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&s!==void 0?s:0,p=r.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${$l} (core: ${o0}, stat: ${k0}, shared: ${r0})`,g=$e(t.state.errorLog$),_=g.length?`
7
+ `+g.map((w,S)=>{var B;const R=`${S}) 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":$e(t.state.isAudioAvailable$)?void 0:"unavailable",A={Version:b,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":r.hostname$.getValue(),"Connection type":r.httpConnectionType$.getValue()+(r.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:r.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${p} ${r.currentQuality$.getValue()}`,"Available qualities":r.availableQualities$.getValue().join(", "),Audio:L,Position:`${$e(t.state.positionExact$)}s`,State:`${$e(t.playerPhase)} ${r.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:_};return Object.entries(A).filter(([w,S])=>S!==void 0).map(([w,S])=>`${w}: ${S}`).join(`
12
+ `)},Y0=(i,e,t)=>{const n=i.info,{width:o,height:l}=$e(t.ui.playerSize),s={version:$l,viewport:`${o}x${l}`,volume:Math.round($e(t.state.volume$)*100)};s.id=t.videoId,n.currentFormat$.getValue()&&(s.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(s.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(s.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(s.buffer=Math.max(f.end-$e(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const p=n.videoBitrate$.getValue();return p&&(s.bitrate=p),s},X0=(i,e)=>ou(i,e,"mp4"),uu="vk_player_prefer_traffic_saving_enabled",cu="vk_player_preferred_volume",fu="vk_player_prefer_volume_mute",es="vk_player_preferred_quality",du=i=>i>1?1:i<0?0:i,Ss=i=>mn.set(cu,du(i).toString(10)),mu=()=>{const i=mn.get(cu);return el(i)?void 0:du(parseFloat(i))},Q0=(i,e)=>mn.set(es,JSON.stringify({videoId:i,value:e})),hu=()=>mn.remove(es),J0=i=>{const e=mn.get(es);if(el(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){hu();return}return n},pu=(i,e)=>{e?mn.set(i,"true"):mn.remove(i)},vu=i=>mn.get(i)==="true",gl=i=>pu(fu,i),x0=()=>vu(fu),$0=i=>pu(uu,i),ef=()=>vu(uu);function tf(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),r=I("path"),a=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),b=I("feGaussianBlur"),g=I("feColorMatrix"),_=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(s,"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(s,"fill","#fff"),u(r,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(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(b,"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(_,"in2","BackgroundImageFix"),u(_,"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",A=!i[0]||null),u(e,"aria-label",w=i[0]||null)},m(S,B){C(S,e,B),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,r),d(e,a),d(a,c),d(c,f),d(c,h),d(c,p),d(c,b),d(c,g),d(c,_),d(c,L)},p(S,[B]){B&1&&A!==(A=!S[0]||null)&&u(e,"aria-hidden",A),B&1&&w!==(w=S[0]||null)&&u(e,"aria-label",w)},i:K,o:K,d(S){S&&y(e)}}}function nf(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class gu extends ye{constructor(e){super(),ke(this,e,nf,tf,_e,{ariaLabel:0})}}var bl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function of(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var jo=function(i){return i&&i.Math==Math&&i},Hn=jo(typeof globalThis=="object"&&globalThis)||jo(typeof window=="object"&&window)||jo(typeof self=="object"&&self)||jo(typeof bl=="object"&&bl)||function(){return this}()||bl||Function("return this")(),Xn=function(i){try{return!!i()}catch(e){return!0}},lf=Xn,al=!lf(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),sf=al,bu=Function.prototype,Ps=bu.apply,Ts=bu.call,rf=typeof Reflect=="object"&&Reflect.apply||(sf?Ts.bind(Ps):function(){return Ts.apply(Ps,arguments)}),_u=al,wu=Function.prototype,Zl=wu.call,af=_u&&wu.bind.bind(Zl,Zl),Un=_u?af:function(i){return function(){return Zl.apply(i,arguments)}},ku=Un,uf=ku({}.toString),cf=ku("".slice),ul=function(i){return cf(uf(i),8,-1)},ff=ul,df=Un,yu=function(i){if(ff(i)==="Function")return df(i)},Gl=typeof document=="object"&&document.all,mf=typeof Gl=="undefined"&&Gl!==void 0,Cu={all:Gl,IS_HTMLDDA:mf},Su=Cu,hf=Su.all,Bn=Su.IS_HTMLDDA?function(i){return typeof i=="function"||i===hf}:function(i){return typeof i=="function"},Pu={},pf=Xn,Ro=!pf(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),vf=al,qo=Function.prototype.call,No=vf?qo.bind(qo):function(){return qo.apply(qo,arguments)},Tu={},Eu={}.propertyIsEnumerable,Au=Object.getOwnPropertyDescriptor,gf=Au&&!Eu.call({1:2},1);Tu.f=gf?function(e){var t=Au(this,e);return!!t&&t.enumerable}:Eu;var Lu=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},bf=Un,_f=Xn,wf=ul,_l=Object,kf=bf("".split),yf=_f(function(){return!_l("z").propertyIsEnumerable(0)})?function(i){return wf(i)=="String"?kf(i,""):_l(i)}:_l,ts=function(i){return i==null},Cf=ts,Sf=TypeError,is=function(i){if(Cf(i))throw Sf("Can't call method on "+i);return i},Pf=yf,Tf=is,Ef=function(i){return Pf(Tf(i))},Es=Bn,Vu=Cu,Af=Vu.all,Bo=Vu.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Es(i)||i===Af}:function(i){return typeof i=="object"?i!==null:Es(i)},Iu={},wl=Iu,kl=Hn,Lf=Bn,As=function(i){return Lf(i)?i:void 0},Mu=function(i,e){return arguments.length<2?As(wl[i])||As(kl[i]):wl[i]&&wl[i][e]||kl[i]&&kl[i][e]},Vf=Un,Ru=Vf({}.isPrototypeOf),If=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Nu=Hn,yl=If,Ls=Nu.process,Vs=Nu.Deno,Is=Ls&&Ls.versions||Vs&&Vs.version,Ms=Is&&Is.v8,cn,tl;Ms&&(cn=Ms.split("."),tl=cn[0]>0&&cn[0]<4?1:+(cn[0]+cn[1]));!tl&&yl&&(cn=yl.match(/Edge\/(\d+)/),(!cn||cn[1]>=74)&&(cn=yl.match(/Chrome\/(\d+)/),cn&&(tl=+cn[1])));var Mf=tl,Rs=Mf,Rf=Xn,Nf=Hn,Bf=Nf.String,Bu=!!Object.getOwnPropertySymbols&&!Rf(function(){var i=Symbol();return!Bf(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Rs&&Rs<41}),Of=Bu,Ou=Of&&!Symbol.sham&&typeof Symbol.iterator=="symbol",zf=Mu,Df=Bn,Ff=Ru,Hf=Ou,Uf=Object,zu=Hf?function(i){return typeof i=="symbol"}:function(i){var e=zf("Symbol");return Df(e)&&Ff(e.prototype,Uf(i))},jf=String,qf=function(i){try{return jf(i)}catch(e){return"Object"}},Wf=Bn,Zf=qf,Gf=TypeError,Du=function(i){if(Wf(i))return i;throw Gf(Zf(i)+" is not a function")},Kf=Du,Yf=ts,Fu=function(i,e){var t=i[e];return Yf(t)?void 0:Kf(t)},Cl=No,Sl=Bn,Pl=Bo,Xf=TypeError,Qf=function(i,e){var t,n;if(e==="string"&&Sl(t=i.toString)&&!Pl(n=Cl(t,i))||Sl(t=i.valueOf)&&!Pl(n=Cl(t,i))||e!=="string"&&Sl(t=i.toString)&&!Pl(n=Cl(t,i)))return n;throw Xf("Can't convert object to primitive value")},Hu={exports:{}},Ns=Hn,Jf=Object.defineProperty,xf=function(i,e){try{Jf(Ns,i,{value:e,configurable:!0,writable:!0})}catch(t){Ns[i]=e}return e},$f=Hn,ed=xf,Bs="__core-js_shared__",td=$f[Bs]||ed(Bs,{}),id=td,Os=id;(Hu.exports=function(i,e){return Os[i]||(Os[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 nd=Hu.exports,od=is,ld=Object,Uu=function(i){return ld(od(i))},sd=Un,rd=Uu,ad=sd({}.hasOwnProperty),cl=Object.hasOwn||function(e,t){return ad(rd(e),t)},ud=Un,cd=0,fd=Math.random(),dd=ud(1 .toString),md=function(i){return"Symbol("+(i===void 0?"":i)+")_"+dd(++cd+fd,36)},hd=Hn,pd=nd,zs=cl,vd=md,gd=Bu,bd=Ou,co=hd.Symbol,Tl=pd("wks"),_d=bd?co.for||co:co&&co.withoutSetter||vd,Oo=function(i){return zs(Tl,i)||(Tl[i]=gd&&zs(co,i)?co[i]:_d("Symbol."+i)),Tl[i]},wd=No,Ds=Bo,Fs=zu,kd=Fu,yd=Qf,Cd=Oo,Sd=TypeError,Pd=Cd("toPrimitive"),Td=function(i,e){if(!Ds(i)||Fs(i))return i;var t=kd(i,Pd),n;if(t){if(e===void 0&&(e="default"),n=wd(t,i,e),!Ds(n)||Fs(n))return n;throw Sd("Can't convert object to primitive value")}return e===void 0&&(e="number"),yd(i,e)},Ed=Td,Ad=zu,ju=function(i){var e=Ed(i,"string");return Ad(e)?e:e+""},Ld=Hn,Hs=Bo,Kl=Ld.document,Vd=Hs(Kl)&&Hs(Kl.createElement),Id=function(i){return Vd?Kl.createElement(i):{}},Md=Ro,Rd=Xn,Nd=Id,qu=!Md&&!Rd(function(){return Object.defineProperty(Nd("div"),"a",{get:function(){return 7}}).a!=7}),Bd=Ro,Od=No,zd=Tu,Dd=Lu,Fd=Ef,Hd=ju,Ud=cl,jd=qu,Us=Object.getOwnPropertyDescriptor;Pu.f=Bd?Us:function(e,t){if(e=Fd(e),t=Hd(t),jd)try{return Us(e,t)}catch(n){}if(Ud(e,t))return Dd(!Od(zd.f,e,t),e[t])};var qd=Xn,Wd=Bn,Zd=/#|\.prototype\./,zo=function(i,e){var t=Kd[Gd(i)];return t==Xd?!0:t==Yd?!1:Wd(e)?qd(e):!!e},Gd=zo.normalize=function(i){return String(i).replace(Zd,".").toLowerCase()},Kd=zo.data={},Yd=zo.NATIVE="N",Xd=zo.POLYFILL="P",Qd=zo,js=yu,Jd=Du,xd=al,$d=js(js.bind),e2=function(i,e){return Jd(i),e===void 0?i:xd?$d(i,e):function(){return i.apply(e,arguments)}},Wu={},t2=Ro,i2=Xn,n2=t2&&i2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),o2=Bo,l2=String,s2=TypeError,Zu=function(i){if(o2(i))return i;throw s2(l2(i)+" is not an object")},r2=Ro,a2=qu,u2=n2,Wo=Zu,qs=ju,c2=TypeError,El=Object.defineProperty,f2=Object.getOwnPropertyDescriptor,Al="enumerable",Ll="configurable",Vl="writable";Wu.f=r2?u2?function(e,t,n){if(Wo(e),t=qs(t),Wo(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Vl in n&&!n[Vl]){var o=f2(e,t);o&&o[Vl]&&(e[t]=n.value,n={configurable:Ll in n?n[Ll]:o[Ll],enumerable:Al in n?n[Al]:o[Al],writable:!1})}return El(e,t,n)}:El:function(e,t,n){if(Wo(e),t=qs(t),Wo(n),a2)try{return El(e,t,n)}catch(o){}if("get"in n||"set"in n)throw c2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var d2=Ro,m2=Wu,h2=Lu,p2=d2?function(i,e,t){return m2.f(i,e,h2(1,t))}:function(i,e,t){return i[e]=t,i},Zo=Hn,v2=rf,g2=yu,b2=Bn,_2=Pu.f,w2=Qd,no=Iu,k2=e2,oo=p2,Ws=cl,y2=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 v2(i,this,arguments)};return e.prototype=i.prototype,e},C2=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,s=n?Zo:o?Zo[t]:(Zo[t]||{}).prototype,r=n?no:no[t]||oo(no,t,{})[t],a=r.prototype,c,f,h,p,b,g,_,L,A;for(p in e)c=w2(n?p:t+(o?".":"#")+p,i.forced),f=!c&&s&&Ws(s,p),g=r[p],f&&(i.dontCallGetSet?(A=_2(s,p),_=A&&A.value):_=s[p]),b=f&&_?_:e[p],!(f&&typeof g==typeof b)&&(i.bind&&f?L=k2(b,Zo):i.wrap&&f?L=y2(b):l&&b2(b)?L=g2(b):L=b,(i.sham||b&&b.sham||g&&g.sham)&&oo(L,"sham",!0),oo(r,p,L),l&&(h=t+"Prototype",Ws(no,h)||oo(no,h,{}),oo(no[h],p,b),i.real&&a&&(c||!a[p])&&oo(a,p,b)))},S2=Bo,P2=ul,T2=Oo,E2=T2("match"),A2=function(i){var e;return S2(i)&&((e=i[E2])!==void 0?!!e:P2(i)=="RegExp")},L2=Oo,V2=L2("toStringTag"),Gu={};Gu[V2]="z";var I2=String(Gu)==="[object z]",M2=I2,R2=Bn,$o=ul,N2=Oo,B2=N2("toStringTag"),O2=Object,z2=$o(function(){return arguments}())=="Arguments",D2=function(i,e){try{return i[e]}catch(t){}},F2=M2?$o:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=D2(e=O2(i),B2))=="string"?t:z2?$o(e):(n=$o(e))=="Object"&&R2(e.callee)?"Arguments":n},H2=F2,U2=String,j2=function(i){if(H2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return U2(i)},q2=Zu,W2=function(){var i=q2(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},Z2=No,G2=cl,K2=Ru,Y2=W2,Zs=RegExp.prototype,X2=function(i){var e=i.flags;return e===void 0&&!("flags"in Zs)&&!G2(i,"flags")&&K2(Zs,i)?Z2(Y2,i):e},ns=Un,Q2=Uu,J2=Math.floor,Il=ns("".charAt),x2=ns("".replace),Ml=ns("".slice),$2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,e4=/\$([$&'`]|\d{1,2})/g,t4=function(i,e,t,n,o,l){var s=t+i.length,r=n.length,a=e4;return o!==void 0&&(o=Q2(o),a=$2),x2(l,a,function(c,f){var h;switch(Il(f,0)){case"$":return"$";case"&":return i;case"`":return Ml(e,0,t);case"'":return Ml(e,s);case"<":h=o[Ml(f,1,-1)];break;default:var p=+f;if(p===0)return c;if(p>r){var b=J2(p/10);return b===0?c:b<=r?n[b-1]===void 0?Il(f,1):n[b-1]+Il(f,1):c}h=n[p-1]}return h===void 0?"":h})},i4=C2,n4=No,os=Un,Gs=is,o4=Bn,l4=ts,s4=A2,lo=j2,r4=Fu,a4=X2,u4=t4,c4=Oo,f4=c4("replace"),d4=TypeError,Ku=os("".indexOf),m4=os("".replace),Ks=os("".slice),h4=Math.max,Ys=function(i,e,t){return t>i.length?-1:e===""?t:Ku(i,e,t)};i4({target:"String",proto:!0},{replaceAll:function(e,t){var n=Gs(this),o,l,s,r,a,c,f,h,p,b=0,g=0,_="";if(!l4(e)){if(o=s4(e),o&&(l=lo(Gs(a4(e))),!~Ku(l,"g")))throw d4("`.replaceAll` does not allow non-global regexes");if(s=r4(e,f4),s)return n4(s,e,n,t);if(o)return m4(lo(n),e,t)}for(r=lo(n),a=lo(e),c=o4(t),c||(t=lo(t)),f=a.length,h=h4(1,f),b=Ys(r,a,0);b!==-1;)p=c?lo(t(a,b,r)):u4(a,r,b,[],void 0,t),_+=Ks(r,g,b)+p,g=b+f,b=Ys(r,a,b+h);return g<r.length&&(_+=Ks(r,g)),_}});var p4=Mu,v4=p4,g4=v4,b4=g4("String","replaceAll"),_4=b4,w4=_4,k4=w4,y4=k4,C4=of(y4);const S4={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}"},P4={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}"},En=new Map;En.set(Io.EN,P4);En.set(Io.RU,S4);const Yu=new Map,Xs=({language:i,pack:e,fallback:t})=>{if(En.has(i)){const n=En.get(i);En.set(i,Object.assign(Object.assign({},n),e))}else En.set(i,e);Yu.set(i,t)},Qs=i=>En.has(i),Xu=(i,e,t,n)=>{var o;const l=En.get(i);let s=l==null?void 0:l[e];if(el(s)){const r=(o=Yu.get(i))!==null&&o!==void 0?o:n,a=r?En.get(r):void 0;s=a==null?void 0:a[e]}return el(s)?e+Object.values(t!=null?t:{}).join(" "):t?C4(s,/{(\w+?)}/g,(r,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):s},Z=(i,e)=>{const{interfaceLanguage$:t}=Et(),n=$e(t),o=xi();return Xu(n,i,e,o.defaultLanguage)};var il;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(il||(il={}));const T4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,E4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,A4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Go="?",L4="X-Sentry-Auth",V4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function I4(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=T4.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Go,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=A4.exec(t[l]))o={filename:n[2],function:n[1]||Go,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=E4.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||Go,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Go),e.push(o)}return e.length?{value:Qu(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Qu(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function M4(i){try{const e=I4(i);if(e)return e}catch(e){}return{value:Qu(i),type:i&&i.name,stacktrace:{frames:[]}}}function R4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class N4{constructor(e){if(e&&e.dsn){const t=V4.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 eo(Ki({},this.getRequestBlank()),{exception:{values:[M4(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(L4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:R4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Js(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function B4(){return window}class ls extends N4{constructor(e,t=B4()){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:s=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=r,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",Ki({},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",Ki({},e)),this}setUser(e){return this.setKeyState("user",Ki({},e)),this}clone(){const e=new ls(eo(Ki({},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:[Ki({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(eo(Ki({},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=>Js(t,n))):!1}getRequestBlank(){return Ki(eo(Ki({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(Ki({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=>Js(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,s=e[n],r=Array.isArray(s)?s:null;return eo(Ki({},t),{[n]:l||r?[...l||[],...r||[]]:Ki(Ki({},typeof o!="string"?o:{}),typeof s!="string"?s:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let Ko=null;class Yl{constructor(e,t,n={}){!Ko&&e.dsn&&(this.sentryClient=new ls({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new Gn,this.options=e,this.context=n,Ko=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Ko=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:s}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:p,category:b}=t;if(fn(b)&&h.includes(b)||fn(p)&&f.includes(p))return;if(Math.random()<=r||fn(b)&&c.includes(b)||fn(p)&&a.includes(p)){Object.keys(t).length&&o.setTags(Object.assign({version:this.version},t)),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras(Object.assign(Object.assign({},l),n));try{p&&o.captureMessage(p,t.fatal?il.fatal:il.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return Ko}}var mo;(function(i){i.AUTO="auto"})(mo||(mo={}));var Re;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Re||(Re={}));var Tn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Tn||(Tn={}));var Xt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Xt||(Xt={}));var An;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(An||(An={}));var Xe;(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"})(Xe||(Xe={}));var Kn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Kn||(Kn={}));const Ju=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()},xu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),O4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Vo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},$u=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},ec=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},z4=i=>{const e=window.screen;return(o=>Yi(void 0,void 0,void 0,function*(){return 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))},D4=()=>({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:_s()?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:_s()?Z("hotkey_map_item_next_episode_mac_value"):Z("hotkey_map_item_next_episode_pc_value")}]}]});class ss{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:Z1(this.onResize.bind(this),tu)},this.info={isActive$:new Ql(this.isActive()),type:An.PictureInPicture}}isSupported(){const e=Jl().browser===G1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return Yi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return Yi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return Yi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield 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=Object.assign({},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)}dispose(){return Yi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield 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 s=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,s==null||s.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 nl(i){return i instanceof ss}function F4(i){const e=Et();return Ji(()=>{e.getAdmanWrapper().startPostroll()}),[]}class H4 extends ye{constructor(e){super(),ke(this,e,F4,null,_e,{})}}function U4(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 j4(i){let e=Z("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=De(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=Z("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&et(t,e)},d(n){n&&y(t)}}}function q4(i){let e,t=Z("skip_ads_now")+"",n,o,l,s,r,a;return{c(){e=k("div"),n=De(t),o=N(),l=I("svg"),s=I("path"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"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){C(c,e,f),d(e,n),d(e,o),d(e,l),d(l,s),r||(a=Ee(e,"click",ut(function(){Vn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(c,f){i=c},d(c){c&&y(e),r=!1,a()}}}function W4(i){let e;function t(l,s){return l[3]?q4:j4}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,s){C(l,e,s),o.m(e,null)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),s&16&&V(e,"container-mobile",l[4]),s&8&&V(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function Z4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=it}=e;const a=Et().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,s=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,s,c,n,a]}class G4 extends ye{constructor(e){super(),ke(this,e,Z4,W4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},U4)}}function K4(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 Y4(i){let e;return{c(){e=k("button"),e.textContent=`${Z("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class X4 extends ye{constructor(e){super(),ke(this,e,null,Y4,_e,{},K4)}}function Q4(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 Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnProp
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 Ys(i){let e;return{c(){e=_("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function Ks(i){let e,t;return e=new U4({props:{position:i[6],duration:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&128&&(l.duration=n[7]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Xs(i){let e,t;return e=new Y4({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&64&&(l.position=n[6]),o&256&&(l.secondsToWatchBeforeSkip=n[8]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qs(i){let e,t;return e=new z4({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Js(i){let e,t;return e=new Q4({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function x4(i){let e,t,n,o,l,s,r,a,c=i[0]&&Ys(),f=i[3]&&Ks(i),h=i[4]&&Xs(i),g=i[9]&&Qs(),p=i[5]&&Js();return{c(){e=_("div"),c&&c.c(),t=B(),n=_("video"),o=B(),f&&f.c(),l=B(),h&&h.c(),s=B(),g&&g.c(),r=B(),p&&p.c(),Nt(n,"width","100%"),Nt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,L){y(b,e,L),c&&c.m(e,null),m(e,t),m(e,n),i[22](n),m(e,o),f&&f.m(e,null),m(e,l),h&&h.m(e,null),m(e,s),g&&g.m(e,null),m(e,r),p&&p.m(e,null),i[23](e),a=!0},p(b,[L]){b[0]?c||(c=Ys(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,L),L&8&&d(f,1)):(f=Ks(b),f.c(),d(f,1),f.m(e,l)):f&&(me(),v(f,1,1,()=>{f=null}),he()),b[4]?h?(h.p(b,L),L&16&&d(h,1)):(h=Xs(b),h.c(),d(h,1),h.m(e,s)):h&&(me(),v(h,1,1,()=>{h=null}),he()),b[9]?g?L&512&&d(g,1):(g=Qs(),g.c(),d(g,1),g.m(e,r)):g&&(me(),v(g,1,1,()=>{g=null}),he()),b[5]?p?L&32&&d(p,1):(p=Js(),p.c(),d(p,1),p.m(e,null)):p&&(me(),v(p,1,1,()=>{p=null}),he())},i(b){a||(d(f),d(h),d(g),d(p),a=!0)},o(b){v(f),v(h),v(g),v(p),a=!1},d(b){b&&k(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),g&&g.d(),p&&p.d(),i[23](null)}}}function $4(i,e,t){let n,o,l,s,r,a,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:g=0}=e;const p=Ct(),b=p.state.isEnded$;W(i,b,j=>t(9,a=j));const L=p.ui.isMobile;W(i,L,j=>t(0,o=j));let w,A,P=!1;const I=p.ads.playbackState;W(i,I,j=>t(21,n=j));const M=p.ads.canSkip,J=p.ads.duration;W(i,J,j=>t(7,s=j));const G=p.ads.position;W(i,G,j=>t(6,l=j));const K=p.ads.secondsToWatchBeforeSkip;W(i,K,j=>t(8,r=j));let z,re,te;Ji(()=>{const j=new AbortController;let ae=()=>{j.abort()};const C=p.getAdmanWrapper();if(!c){C.onAdmanLoadingError();return}const{width:$,height:oe}=rt(p.ui.playerSize),Ce=rt(p.ui.isFullscreen),pe=rt(p.ui.isAutoplay),Ee={width:$,height:oe,isFullscreen:Ce,isAutoplay:pe,adsContainer:w,adsVideoElement:A,slotId:c,params:f,previewParam:h,duration:g};return window.AdmanHTML?(C.initAdman(Ee),P=!0):C.loadAdman(j.signal).then(()=>{C.initAdman(Ee),P=!0}).catch(()=>{C.onAdmanLoadingError()}),()=>{!P&&ae()}});function Q(j){je[j?"unshift":"push"](()=>{A=j,t(2,A)})}function T(j){je[j?"unshift":"push"](()=>{w=j,t(1,w)})}return i.$$set=j=>{"adsSlotId"in j&&t(17,c=j.adsSlotId),"adsParams"in j&&t(18,f=j.adsParams),"adsPreviewParam"in j&&t(19,h=j.adsPreviewParam),"duration"in j&&t(20,g=j.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,z=n!==Zt.INACTIVE),i.$$.dirty&2097152&&t(4,re=M&&n!==Zt.INACTIVE),i.$$.dirty&2097153&&t(5,te=o&&n!==Zt.INACTIVE)},[o,w,A,z,re,te,l,s,r,a,p,b,L,I,J,G,K,c,f,h,g,n,Q,T]}class Qu extends ke{constructor(e){super(),we(this,e,$4,x4,_e,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},J4)}}function em(i){De(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 tm(i){let e;return{c(){e=_("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),V(e,"shifted",i[0])},m(t,n){y(t,e,n),i[2](e)},p(t,[n]){n&1&&V(e,"shifted",t[0])},i:Z,o:Z,d(t){t&&k(e),i[2](null)}}}function im(i,e,t){let{showControls:n}=e,o;const s=Ct().webApi.annotationsApi;Ji(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function r(a){je[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,r]}class Ju extends ke{constructor(e){super(),we(this,e,im,tm,_e,{showControls:0},em)}}function nm(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},d(o){o&&k(e)}}}function om(i){let e,t,n;return{c(){e=R("svg"),t=R("rect"),n=R("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){y(o,e,l),m(e,t),m(e,n)},d(o){o&&k(e)}}}function lm(i){let e;function t(l,s){return l[0]?om:nm}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function sm(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class xu extends ke{constructor(e){super(),we(this,e,sm,lm,_e,{isActive:0})}}function rm(i){De(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 am(i){let e=vn(i[4]-i[3])+"",t;return{c(){t=Fe(e)},m(n,o){y(n,t,o)},p(n,o){o&24&&e!==(e=vn(n[4]-n[3])+"")&&Je(t,e)},i:Z,o:Z,d(n){n&&k(t)}}}function um(i){let e,t,n;return t=new xu({props:{isActive:!0}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function cm(i){let e,t,n,o,l,s,r;const a=[um,am],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=a[l](i),{c(){e=_("div"),t=_("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=B(),o=_("span"),s.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,g){y(h,e,g),m(e,t),m(e,n),m(e,o),c[l].m(o,null),r=!0},p(h,[g]){let p=l;l=f(h),l===p?c[l].p(h,g):(me(),v(c[p],1,1,()=>{c[p]=null}),he(),s=c[l],s?s.p(h,g):(s=c[l]=a[l](h),s.c()),d(s,1),s.m(o,null)),(!r||g&2)&&V(e,"live",h[1]),(!r||g&1)&&V(e,"hidden",h[0]),(!r||g&4)&&V(e,"playing",h[2])},i(h){r||(d(s),r=!0)},o(h){v(s),r=!1},d(h){h&&k(e),c[l].d()}}}function fm(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:r}=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,s=a.position),"duration"in a&&t(4,r=a.duration)},[n,o,l,s,r]}class $u extends ke{constructor(e){super(),we(this,e,fm,cm,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},rm)}}const Zl=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 dm(i){De(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 mm(i){let e,t,n,o,l,s=!i[4]&&!i[14]&&xs(i);return{c(){e=_("li"),e.textContent=`${ne("menu_copy_video_link")}`,t=B(),s&&s.c(),n=vt(),u(e,"class","v-gew86s")},m(r,a){y(r,e,a),y(r,t,a),s&&s.m(r,a),y(r,n,a),o||(l=Le(e,"click",ct(i[28])),o=!0)},p(r,a){!r[4]&&!r[14]?s?s.p(r,a):(s=xs(r),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(r){r&&(k(e),k(t),k(n)),s&&s.d(r),o=!1,l()}}}function xs(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_copy_video_link_with_timestamp")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ct(i[29])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function $s(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_pip")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ct(i[19])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function hm(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_video_rotate")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ct(i[15])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function er(i){let e,t,n;return{c(){e=_("li"),e.textContent=`${ne("menu_report")}`,u(e,"class","v-gew86s")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ct(i[16])),t=!0)},p:Z,d(o){o&&k(e),t=!1,n()}}}function pm(i){var L;let e,t,n,o,l,s,r,a,c,f,h=i[8].features.copyVideoLink&&((L=i[7].callbacks)==null?void 0:L.onCopyVideoLink)&&mm(i),g=i[9]&&i[5]!==gn.CONNECTED&&!i[14]&&$s(i),p=i[8].features.videoRotate&&!i[14]&&hm(i),b=i[8].showSupport&&!i[6]&&er(i);return{c(){e=_("ul"),h&&h.c(),t=B(),g&&g.c(),n=B(),p&&p.c(),o=B(),b&&b.c(),l=B(),s=_("li"),s.textContent=`${i[8].features.saveDebugInfoToFile?ne("menu_save_debug"):ne("menu_copy_debug")}`,r=B(),a=_("li"),a.textContent=`${ne("menu_debug_overlay")}`,u(s,"class","v-gew86s"),u(a,"class","v-gew86s"),Nt(e,"top",i[2]+"px"),Nt(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),V(e,"hidden",!i[0])},m(w,A){y(w,e,A),h&&h.m(e,null),m(e,t),g&&g.m(e,null),m(e,n),p&&p.m(e,null),m(e,o),b&&b.m(e,null),m(e,l),m(e,s),m(e,r),m(e,a),i[30](e),c||(f=[Le(s,"click",ct(i[17])),Le(a,"click",ct(i[18])),Le(e,"contextmenu",vi(i[27]))],c=!0)},p(w,A){var P;w[8].features.copyVideoLink&&((P=w[7].callbacks)!=null&&P.onCopyVideoLink)&&h.p(w,A),w[9]&&w[5]!==gn.CONNECTED&&!w[14]?g?g.p(w,A):(g=$s(w),g.c(),g.m(e,n)):g&&(g.d(1),g=null),w[8].features.videoRotate&&!w[14]&&p.p(w,A),w[8].showSupport&&!w[6]?b?b.p(w,A):(b=er(w),b.c(),b.m(e,l)):b&&(b.d(1),b=null),A[0]&4&&Nt(e,"top",w[2]+"px"),A[0]&2&&Nt(e,"left",w[1]+"px"),A[0]&1&&V(e,"hidden",!w[0])},i:Z,o:Z,d(w){w&&k(e),h&&h.d(),g&&g.d(),p&&p.d(),b&&b.d(),i[30](null),c=!1,ti(f)}}}function vm(i,e,t){var U;let n,o,l,s,{visible:r=!1}=e,{supportLink:a}=e,{x:c=0}=e,{y:f=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:g=void 0}=e,{returnFocus:p}=e,b=0,L=0;const w=Ct(),A=xi(),P=w.ui.contextMenuVisible,I=w.ui.debugPanelVisible,M=w.webApi.pictureInPictureApi,J=(U=w.webApi.pictureInPictureApi)==null?void 0:U.info.isActive$;W(i,J,E=>t(6,s=E));const G=w.state.chromecastState$;W(i,G,E=>t(5,l=E));const K=w.state.isLive$;W(i,K,E=>t(4,o=E));const z=w.state.positionExact$;W(i,z,E=>t(31,n=E));const re=w.state.isInteractive;let te;const Q=(E,se)=>{if(!te||!h||!g)return;const q=te.getBoundingClientRect(),Te=h.getBoundingClientRect();t(1,b=E-Te.left),t(2,L=se-Te.top),b+q.width>Te.width&&t(1,b=Te.width-q.width),L+q.height>Te.height&&t(2,L=Te.height-q.height),t(1,b=Math.max(b,0)),t(2,L=Math.max(L,0))},T=()=>{P.set(!1),w.actions.internal.videoRotate()},j=()=>{window.open(a,"_blank"),P.set(!1),w.actions.internal.pause()},ae=()=>{const E=w.actions.internal.getDebugTextData();if(A.features.saveDebugInfoToFile){const se=new Blob([...E],{type:"plain/text"}),q=window.URL.createObjectURL(se);tu(q,"vk_player_debug_info","txt")}else Zl(w.actions.internal.getDebugTextData());P.set(!1),p==null||p()},C=()=>{I.set(!0),P.set(!1),p==null||p()},$=()=>jn(this,null,function*(){try{M!=null&&M.isActive()?yield M==null?void 0:M.remove():yield M==null?void 0:M.request()}finally{P.set(!1),p==null||p()}}),oe=(E=!1)=>{var se,q;if((se=w.callbacks)!=null&&se.onCopyVideoLink){const Te=(q=w.callbacks)==null?void 0:q.onCopyVideoLink(E,n);Te&&Zl(Te)}P.set(!1)};function Ce(E){uo.call(this,i,E)}const pe=()=>oe(),Ee=()=>oe(!0);function ye(E){je[E?"unshift":"push"](()=>{te=E,t(3,te)})}return i.$$set=E=>{"visible"in E&&t(0,r=E.visible),"supportLink"in E&&t(21,a=E.supportLink),"x"in E&&t(22,c=E.x),"y"in E&&t(23,f=E.y),"playerContainerRef"in E&&t(24,h=E.playerContainerRef),"controlsContainerRef"in E&&t(25,g=E.controlsContainerRef),"returnFocus"in E&&t(26,p=E.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&12582912&&Q(c,f)},[r,b,L,te,o,l,s,w,A,M,J,G,K,z,re,T,j,ae,C,$,oe,a,c,f,h,g,p,Ce,pe,Ee,ye]}class gm extends ke{constructor(e){super(),we(this,e,vm,pm,_e,{visible:0,supportLink:21,x:22,y:23,playerContainerRef:24,controlsContainerRef:25,returnFocus:26},dm,[-1,-1])}}class bm{constructor(e){this.value=e,this.next=null}}class Ll{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new bm(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 _m(i){De(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function wm(i){let e,t;return{c(){e=_("div"),t=_("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){y(n,e,o),m(e,t),i[3](t)},p:Z,i:Z,o:Z,d(n){n&&k(e),i[3](null)}}}const Vl=16,Il=120,tr=60;function km(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function ym(i,e,t){let{values:n=[]}=e,o,l;const s=Il/tr;Ji(()=>{t(0,o.width=Il,o),t(0,o.height=Vl,o),t(2,l=o.getContext("2d"))});function r(a){je[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,Il,Vl);let c=tr-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=a>0?Vl*(n[f]/a):0;km(l,h,0,s,g),c--}}},[o,n,l,r]}class is extends ke{constructor(e){super(),we(this,e,ym,wm,_e,{values:1},_m)}}function Cm(i){De(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 ir(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Video id",n=B(),o=_("span"),s=Fe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].id+"")&&Je(s,l)},d(r){r&&k(e)}}}function nr(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Provider",n=B(),o=_("span"),s=Fe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].provider+"")&&Je(s,l)},d(r){r&&k(e)}}}function or(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Viewport",n=B(),o=_("span"),s=Fe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].viewport+"")&&Je(s,l)},d(r){r&&k(e)}}}function lr(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="Video size",n=B(),o=_("span"),s=Fe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].videoSize+"")&&Je(s,l)},d(r){r&&k(e)}}}function sr(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=_("div"),t=_("div"),t.textContent="CDN host",n=B(),o=_("span"),s=Fe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){y(r,e,a),m(e,t),m(e,n),m(e,o),m(o,s)},p(r,a){a&1&&l!==(l=r[0].cdn+"")&&Je(s,l)},d(r){r&&k(e)}}}function rr(i){let e,t,n,o,l=i[0].volume+"",s,r;return{c(){e=_("div"),t=_("div"),t.textContent="Volume",n=B(),o=_("span"),s=Fe(l),r=Fe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),m(e,t),m(e,n),m(e,o),m(o,s),m(o,r)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&Je(s,l)},d(a){a&&k(e)}}}function ar(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,r;return{c(){e=_("div"),t=_("div"),t.textContent="Buffer",n=B(),o=_("span"),s=Fe(l),r=Fe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){y(a,e,c),m(e,t),m(e,n),m(e,o),m(o,s),m(o,r)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&Je(s,l)},d(a){a&&k(e)}}}function ur(i){let e,t,n,o,l,s,r=i[0].speed.toFixed(2)+"",a,c,f;return o=new is({props:{values:i[5]}}),{c(){e=_("div"),t=_("div"),t.textContent="Network",n=B(),H(o.$$.fragment),l=B(),s=_("span"),a=Fe(r),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),m(e,t),m(e,n),D(o,e,null),m(e,l),m(e,s),m(s,a),m(s,c),f=!0},p(h,g){const p={};g&32&&(p.values=h[5]),o.$set(p),(!f||g&1)&&r!==(r=h[0].speed.toFixed(2)+"")&&Je(a,r)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&k(e),F(o)}}}function cr(i){let e,t,n,o,l,s,r=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new is({props:{values:i[6]}}),{c(){e=_("div"),t=_("div"),t.textContent="V bitrate",n=B(),H(o.$$.fragment),l=B(),s=_("span"),a=Fe(r),c=Fe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){y(h,e,g),m(e,t),m(e,n),D(o,e,null),m(e,l),m(e,s),m(s,a),m(s,c),f=!0},p(h,g){const p={};g&64&&(p.values=h[6]),o.$set(p),(!f||g&1)&&r!==(r=h[0].bitrate.toFixed(2)+"")&&Je(a,r)},i(h){f||(d(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&k(e),F(o)}}}function Pm(i){let e,t,n,o,l,s,r,a,c=i[0].version+"",f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,E,se=i[0].id&&ir(i),q=i[0].provider&&nr(i),Te=i[0].viewport&&or(i),O=i[0].videoSize&&lr(i),Y=i[0].cdn&&sr(i),Ie=i[0].volume&&rr(i),Pe=i[0].buffer&&ar(i),ve=i[0].speed&&ur(i),ee=i[0].bitrate&&cr(i);return oe=new is({props:{values:i[4]}}),{c(){e=_("div"),t=_("button"),t.textContent="[x]",n=B(),o=_("div"),l=_("div"),s=_("div"),s.textContent="Version",r=B(),a=_("span"),f=Fe(c),h=B(),se&&se.c(),g=B(),q&&q.c(),p=B(),Te&&Te.c(),b=B(),O&&O.c(),L=B(),Y&&Y.c(),w=B(),Ie&&Ie.c(),A=B(),Pe&&Pe.c(),P=B(),I=_("div"),M=_("div"),M.textContent="Dropped",J=B(),G=_("span"),K=Fe(i[2]),z=Fe(" / "),re=Fe(i[1]),te=Fe(" frames"),Q=B(),ve&&ve.c(),T=B(),ee&&ee.c(),j=B(),ae=_("div"),C=_("div"),C.textContent="FPS",$=B(),H(oe.$$.fragment),Ce=B(),pe=_("span"),Ee=Fe(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(ae,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),V(e,"container-mobile",i[7])},m(ue,ge){y(ue,e,ge),m(e,t),m(e,n),m(e,o),m(o,l),m(l,s),m(l,r),m(l,a),m(a,f),m(o,h),se&&se.m(o,null),m(o,g),q&&q.m(o,null),m(o,p),Te&&Te.m(o,null),m(o,b),O&&O.m(o,null),m(o,L),Y&&Y.m(o,null),m(o,w),Ie&&Ie.m(o,null),m(o,A),Pe&&Pe.m(o,null),m(o,P),m(o,I),m(I,M),m(I,J),m(I,G),m(G,K),m(G,z),m(G,re),m(G,te),m(o,Q),ve&&ve.m(o,null),m(o,T),ee&&ee.m(o,null),m(o,j),m(o,ae),m(ae,C),m(ae,$),D(oe,ae,null),m(ae,Ce),m(ae,pe),m(pe,Ee),ye=!0,U||(E=Le(t,"click",ct(i[9])),U=!0)},p(ue,[ge]){(!ye||ge&1)&&c!==(c=ue[0].version+"")&&Je(f,c),ue[0].id?se?se.p(ue,ge):(se=ir(ue),se.c(),se.m(o,g)):se&&(se.d(1),se=null),ue[0].provider?q?q.p(ue,ge):(q=nr(ue),q.c(),q.m(o,p)):q&&(q.d(1),q=null),ue[0].viewport?Te?Te.p(ue,ge):(Te=or(ue),Te.c(),Te.m(o,b)):Te&&(Te.d(1),Te=null),ue[0].videoSize?O?O.p(ue,ge):(O=lr(ue),O.c(),O.m(o,L)):O&&(O.d(1),O=null),ue[0].cdn?Y?Y.p(ue,ge):(Y=sr(ue),Y.c(),Y.m(o,w)):Y&&(Y.d(1),Y=null),ue[0].volume?Ie?Ie.p(ue,ge):(Ie=rr(ue),Ie.c(),Ie.m(o,A)):Ie&&(Ie.d(1),Ie=null),ue[0].buffer?Pe?Pe.p(ue,ge):(Pe=ar(ue),Pe.c(),Pe.m(o,P)):Pe&&(Pe.d(1),Pe=null),(!ye||ge&4)&&Je(K,ue[2]),(!ye||ge&2)&&Je(re,ue[1]),ue[0].speed?ve?(ve.p(ue,ge),ge&1&&d(ve,1)):(ve=ur(ue),ve.c(),d(ve,1),ve.m(o,T)):ve&&(me(),v(ve,1,1,()=>{ve=null}),he()),ue[0].bitrate?ee?(ee.p(ue,ge),ge&1&&d(ee,1)):(ee=cr(ue),ee.c(),d(ee,1),ee.m(o,j)):ee&&(me(),v(ee,1,1,()=>{ee=null}),he());const le={};ge&16&&(le.values=ue[4]),oe.$set(le),(!ye||ge&8)&&Je(Ee,ue[3]),(!ye||ge&128)&&V(e,"container-mobile",ue[7])},i(ue){ye||(d(ve),d(ee),d(oe.$$.fragment,ue),ye=!0)},o(ue){v(ve),v(ee),v(oe.$$.fragment,ue),ye=!1},d(ue){ue&&k(e),se&&se.d(),q&&q.d(),Te&&Te.d(),O&&O.d(),Y&&Y.d(),Ie&&Ie.d(),Pe&&Pe.d(),ve&&ve.d(),ee&&ee.d(),F(oe),U=!1,E()}}}function Sm(i,e,t){let n;const o=Ct(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;W(i,s,I=>t(7,n=I));const r=()=>{cn.remove(Fl),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const p=new Ll(60),b=new Ll(60),L=new Ll(60);let w=[],A=[],P=[];return Ji(()=>{cn.set(Fl,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const I=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const J=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=J-f),t(1,f=J),p.push(g),a.speed&&b.push(a.speed),a.bitrate&&L.push(a.bitrate),t(4,w=p.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,P=L.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(I),M&&clearInterval(M)}}),[a,f,h,g,w,A,P,n,s,r]}class ec extends ke{constructor(e){super(),we(this,e,Sm,Pm,_e,{},Cm)}}function Tm(i){De(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 Em(i){let e,t,n;return{c(){e=_("div"),u(e,"class","close v-1ome55p")},m(o,l){y(o,e,l),t||(n=Le(e,"click",ct(i[0])),t=!0)},p:Z,i:Z,o:Z,d(o){o&&k(e),t=!1,n()}}}function Am(i){function e(t){uo.call(this,i,t)}return[e]}class Lm extends ke{constructor(e){super(),we(this,e,Am,Em,_e,{},Tm)}}function Vm(i){De(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 Im(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("canvas"),n=B(),o=R("svg"),l=R("g"),s=R("g"),r=R("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(s,"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){y(a,e,c),m(e,t),i[2](t),m(e,n),m(e,o),m(o,l),m(l,s),m(s,r)},p:Z,i:Z,o:Z,d(a){a&&k(e),i[2](null)}}}const Mm=5e3;function Rm(i,e,t){let{onTimerEnded:n=it}=e,o;Ji(()=>{let s;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Mm;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){je[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class Nm extends ke{constructor(e){super(),we(this,e,Rm,Im,_e,{onTimerEnded:1},Vm)}}function Bm(i){De(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 fr(i){let e,t;return e=new Nm({props:{onTimerEnded:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Om(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J;r=new Lm({}),r.$on("click",i[4]);let G=i[3]&&fr(i);return{c(){e=_("div"),t=B(),n=_("div"),o=_("div"),l=_("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=B(),H(r.$$.fragment),a=B(),c=_("div"),f=_("div"),h=_("div"),g=_("div"),p=B(),G&&G.c(),L=B(),w=_("div"),A=_("div"),P=Fe(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(g,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",b=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(A,"class","title v-kisfwc"),u(w,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(K,z){y(K,e,z),y(K,t,z),y(K,n,z),m(n,o),m(o,l),m(o,s),D(r,o,null),m(n,a),m(n,c),m(c,f),m(f,h),m(h,g),m(h,p),G&&G.m(h,null),m(c,L),m(c,w),m(w,A),m(A,P),I=!0,M||(J=Le(c,"click",function(){Sn(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(K,[z]){i=K,i[3]?G?(G.p(i,z),z&8&&d(G,1)):(G=fr(i),G.c(),d(G,1),G.m(h,null)):G&&(me(),v(G,1,1,()=>{G=null}),he()),(!I||z&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!I||z&1)&&Je(P,i[0])},i(K){I||(d(r.$$.fragment,K),d(G),I=!0)},o(K){v(r.$$.fragment,K),v(G),I=!1},d(K){K&&(k(e),k(t),k(n)),F(r),G&&G.d(),M=!1,J()}}}function zm(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const r=()=>t(3,s=!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,s,r]}class Dm extends ke{constructor(e){super(),we(this,e,zm,Om,_e,{title:0,thumb:1,playNextVideo:2},Bm)}}const tc=(i,e)=>Math.min(+(i+e).toFixed(2),1),ic=(i,e)=>Math.max(+(i-e).toFixed(2),0),nc=(i,e,t)=>{const n=tc(e,t);e<1&&i.actions.internal.setVolume(n)},oc=(i,e,t)=>{const n=ic(e,t);e>0&&i.actions.internal.setVolume(n)};function Fm(i){De(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Hm(i){let e,t,n,o;const l=i[20].default,s=Tn(l,i,i[19],null);return{c(){e=_("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){y(r,e,a),s&&s.m(e,null),i[21](e),t=!0,n||(o=[Le(e,"keyup",i[12]),Le(e,"keydown",i[11])],n=!0)},p(r,a){s&&s.p&&(!t||a[0]&524288)&&An(s,l,r,r[19],t?En(l,r[19],a,null):Ln(r[19]),null)},i(r){t||(d(s,r),t=!0)},o(r){v(s,r),t=!1},d(r){r&&k(e),s&&s.d(r),i[21](null),n=!1,ti(o)}}}function Um(i,e,t){let n,o,l,s,r,a,c,f,h,g,{$$slots:p={},$$scope:b}=e,{isAds:L}=e,{hideContextMenu:w}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:P}=e,{showKeyMap:I}=e;const M=Ct(),J=xi(),G=M.getLogger().createComponentLog("KeyboardControls component"),K=M.state.playbackState$;W(i,K,q=>t(25,o=q));const z=M.ads.playbackState;W(i,z,q=>t(24,n=q));const re=M.state.positionExact$;W(i,re,q=>t(30,c=q));const te=M.state.duration$;W(i,te,q=>t(29,a=q));const Q=M.state.volume$;W(i,Q,q=>t(33,g=q));const T=M.ui.controls.disabledControls$;W(i,T,q=>t(28,r=q));const j=M.state.muted$;W(i,j,q=>t(27,s=q));const ae=M.state.currentSubtitle$;W(i,ae,q=>t(26,l=q));const C=M.state.currentPlaybackRate$;W(i,C,q=>t(31,f=q));const $=M.state.availablePlaybackRates$;W(i,$,q=>t(32,h=q));let oe=0,Ce=!0,pe;const Ee=()=>pe==null?void 0:pe.focus(),ye=q=>(q!==Ce&&(Ce=q,oe=0),oe+=1,(J.controls.seekStepKeyboard+J.controls.seekStepKeyboard*oe)/1e3),U=q=>{w();const Te=q.code,O=!F0.has(Te);if(q.ctrlKey&&O||q.altKey&&O||q.metaKey)return;const Y=o===Ti.PLAYING||o===Ti.PAUSED,Ie=L&&(n===Zt.PAUSED||n===Zt.PLAYING),Pe=!Ie&&!r.has(ht.TIMELINE);if(Y||Ie)switch(G({message:`key down, code: ${Te}`}),Te){case qe.KeyJ:case qe.ArrowLeft:{if(!Pe)break;if(q.ctrlKey||q.altKey){const ve=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(ve),ve&&P({type:Xe.EPISODE_PREV,text:ve.text}),q.preventDefault()}else{const ve=q.shiftKey?ye(!1):J.controls.seekStepKeyboard/1e3,ee=Math.max(c-ve,0);c>0&&(M.actions.internal.seekTime(ee,zt.DOUBLE_TAP),P({type:Xe.BACKWARD_SEEK,text:ve.toString()}),q.preventDefault())}break}case qe.KeyL:case qe.ArrowRight:{if(!Pe)break;if(q.ctrlKey||q.altKey){const ve=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(ve),ve&&P({type:Xe.EPISODE_NEXT,text:ve.text}),q.preventDefault()}else{const ve=q.shiftKey?ye(!0):J.controls.seekStepKeyboard/1e3,ee=Math.min(c+ve,a);Math.round(c)<Math.round(a)&&(M.actions.internal.seekTime(ee,zt.DOUBLE_TAP),P({type:Xe.FORWARD_SEEK,text:ve.toString()}),q.preventDefault())}break}case qe.ArrowUp:{const ve=g,ee=J.controls.volumeStepKeyboard,ue=ve<=1;if(nc(M,ve,ee),ue){const ge=Math.round(tc(ve,ee)*100).toString();P({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:ge}})}q.preventDefault();break}case qe.ArrowDown:{const ve=g,ee=J.controls.volumeStepKeyboard,ue=ve>=0;if(oc(M,ve,ee),ue){const ge=Math.round(ic(ve,ee)*100).toString();P({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:ge}})}q.preventDefault();break}case qe.Comma:{if(q.shiftKey){M.actions.internal.decrementPlaybackRate();const ve=h.find(ee=>ee.value===f);P({type:Xe.RATE_DOWN,text:ve==null?void 0:ve.displayValue}),q.preventDefault()}else{if(Ie||o!==Ti.PAUSED)break;const ve=Math.max(c-J.controls.seekStepFrame/1e3,0);c>0&&(P({type:Xe.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ve,zt.DOUBLE_TAP),q.preventDefault())}break}case qe.Period:{if(q.shiftKey){M.actions.internal.incrementPlaybackRate();const ve=h.find(ee=>ee.value===f);P({type:Xe.RATE_UP,text:ve==null?void 0:ve.displayValue}),q.preventDefault()}else{if(Ie||o!==Ti.PAUSED)break;const ve=Math.min(c+J.controls.seekStepFrame/1e3,a);c<a&&(P({type:Xe.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(ve,zt.DOUBLE_TAP),q.preventDefault())}break}case qe.KeyK:case qe.Space:r.has(ht.PLAY_BUTTON)||(M.actions.internal.togglePlay(),P({type:o===Ti.PLAYING?Xe.PLAY:Xe.STOP})),q.preventDefault();break;case qe.KeyM:{P({type:s?Xe.VOLUME:Xe.MUTE}),M.actions.internal.toggleMuted(),q.preventDefault();break}case qe.KeyF:A(),q.preventDefault();break;case qe.KeyC:M.actions.internal.toggleSubtitle(),l.value!=="off"?P({type:Xe.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):P({type:Xe.SUBTITLES_OFF}),q.preventDefault();break;case qe.KeyI:M.actions.internal.togglePictureInPicture(),q.preventDefault();break;case qe.Digit1:case qe.Numpad1:P(),M.actions.internal.seekToPercent(.1,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit2:case qe.Numpad2:P(),M.actions.internal.seekToPercent(.2,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit3:case qe.Numpad3:P(),M.actions.internal.seekToPercent(.3,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit4:case qe.Numpad4:P(),M.actions.internal.seekToPercent(.4,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit5:case qe.Numpad5:P(),M.actions.internal.seekToPercent(.5,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit6:case qe.Numpad6:P(),M.actions.internal.seekToPercent(.6,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit7:case qe.Numpad7:P(),M.actions.internal.seekToPercent(.7,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit8:case qe.Numpad8:P(),M.actions.internal.seekToPercent(.8,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit9:case qe.Numpad9:P(),M.actions.internal.seekToPercent(.9,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Digit0:case qe.Numpad0:P(),M.actions.internal.seekToPercent(0,zt.DOUBLE_TAP),q.preventDefault();break;case qe.Slash:{q.shiftKey&&J.features.hotKeyMapModal&&(I(),q.preventDefault());break}case qe.ShiftLeft:case qe.ShiftRight:q.preventDefault();break;default:l0(Te);break}},E=q=>{const Te=q.code;if(q.ctrlKey||q.altKey||q.metaKey)return;const O=o===Ti.PLAYING||o===Ti.PAUSED,Y=L&&(n===Zt.PAUSED||n===Zt.PLAYING);if(O||Y)switch(Te){case qe.ShiftLeft:case qe.ShiftRight:oe=0;break}};function se(q){je[q?"unshift":"push"](()=>{pe=q,t(0,pe)})}return i.$$set=q=>{"isAds"in q&&t(13,L=q.isAds),"hideContextMenu"in q&&t(14,w=q.hideContextMenu),"toggleFullscreen"in q&&t(15,A=q.toggleFullscreen),"showHotKeyHelpers"in q&&t(16,P=q.showHotKeyHelpers),"showKeyMap"in q&&t(17,I=q.showKeyMap),"$$scope"in q&&t(19,b=q.$$scope)},[pe,K,z,re,te,Q,T,j,ae,C,$,U,E,L,w,A,P,I,Ee,b,p,se]}class jm extends ke{constructor(e){super(),we(this,e,Um,Hm,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,focus:18},Fm,[-1,-1])}get focus(){return this.$$.ctx[18]}}function qm(i){De(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 Wm(i){let e;return{c(){e=_("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){y(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&k(e)}}}class lc extends ke{constructor(e){super(),we(this,e,null,Wm,_e,{},qm)}}function Zm(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("defs"),s=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),h=R("feColorMatrix"),g=R("feBlend"),p=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_2422_111980"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2422_111980"),u(p,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p:Z,i:Z,o:Z,d(b){b&&k(e)}}}class Gm extends ke{constructor(e){super(),we(this,e,null,Zm,_e,{})}}function Ym(i){De(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 Km(i){let e,t,n,o,l,s,r,a,c,f;const h=i[8].default,g=Tn(h,i,i[7],null);return{c(){var p,b,L,w;e=_("button"),g&&g.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(p=i[2])!=null?p:null,u(e,"aria-hidden",l=(b=i[4])!=null?b:null),u(e,"aria-label",s=(L=i[5])!=null?L:null),u(e,"data-testid",r=(w=i[3])!=null?w:null)},m(p,b){y(p,e,b),g&&g.m(e,null),a=!0,c||(f=[Le(e,"pointerdown",ct(vi(i[9]))),Le(e,"click",ct(vi(function(){Sn(i[6])&&i[6].apply(this,arguments)})))],c=!0)},p(p,[b]){var L,w,A,P;i=p,g&&g.p&&(!a||b&128)&&An(g,h,i,i[7],a?En(h,i[7],b,null):Ln(i[7]),null),(!a||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!a||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!a||b&4&&o!==(o=(L=i[2])!=null?L:null))&&(e.disabled=o),(!a||b&16&&l!==(l=(w=i[4])!=null?w:null))&&u(e,"aria-hidden",l),(!a||b&32&&s!==(s=(A=i[5])!=null?A:null))&&u(e,"aria-label",s),(!a||b&8&&r!==(r=(P=i[3])!=null?P:null))&&u(e,"data-testid",r)},i(p){a||(d(g,p),a=!0)},o(p){v(g,p),a=!1},d(p){p&&k(e),g&&g.d(p),c=!1,ti(f)}}}function Xm(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{click:h=it}=e;function g(p){uo.call(this,i,p)}return i.$$set=p=>{"className"in p&&t(0,l=p.className),"style"in p&&t(1,s=p.style),"disabled"in p&&t(2,r=p.disabled),"testId"in p&&t(3,a=p.testId),"ariaHidden"in p&&t(4,c=p.ariaHidden),"ariaLabel"in p&&t(5,f=p.ariaLabel),"click"in p&&t(6,h=p.click),"$$scope"in p&&t(7,o=p.$$scope)},[l,s,r,a,c,f,h,o,n,g]}class gi extends ke{constructor(e){super(),we(this,e,Xm,Km,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,click:6},Ym)}}function Qm(i){De(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 dr(i){let e,t,n,o,l,s=i[2]&&mr(i);return{c(){e=_("div"),t=_("h3"),n=Fe(i[3]),o=B(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){y(r,e,a),m(e,t),m(t,n),m(e,o),s&&s.m(e,null),l=!0},p(r,a){(!l||a&8)&&Je(n,r[3]),r[2]?s?(s.p(r,a),a&4&&d(s,1)):(s=mr(r),s.c(),d(s,1),s.m(e,null)):s&&(me(),v(s,1,1,()=>{s=null}),he())},i(r){l||(d(s),l=!0)},o(r){v(s),l=!1},d(r){r&&k(e),s&&s.d()}}}function mr(i){let e,t;return e=new gi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:ne("hotkey_map_modal_close_btn_text"),$$slots:{default:[Jm]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Jm(i){let e,t;return e=new Gm({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xm(i){let e,t,n,o,l,s,r=i[1]&&dr(i);const a=i[4].default,c=Tn(a,i,i[5],null);return{c(){e=_("div"),t=_("div"),r&&r.c(),n=B(),o=_("div"),l=_("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){y(f,e,h),m(e,t),r&&r.m(t,null),m(t,n),m(t,o),m(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?r?(r.p(f,h),h&2&&d(r,1)):(r=dr(f),r.c(),d(r,1),r.m(t,n)):r&&(me(),v(r,1,1,()=>{r=null}),he()),c&&c.p&&(!s||h&32)&&An(c,a,f,f[5],s?En(a,f[5],h,null):Ln(f[5]),null)},i(f){s||(d(r),d(c,f),s=!0)},o(f){v(r),v(c,f),s=!1},d(f){f&&k(e),r&&r.d(),c&&c.d(f)}}}function $m(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,r=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,r,a,n,o]}class eh extends ke{constructor(e){super(),we(this,e,$m,xm,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},Qm)}}const th=new Set(["BR"]),hr=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],s=l.tagName;th.has(s)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function ih(i){De(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 pr(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function vr(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function gr(i){let e,t,n=hr(i[9])+"",o,l,s=i[10]+"",r,a;return{c(){e=_("li"),t=_("span"),o=B(),l=_("span"),r=Fe(s),a=B(),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){y(c,e,f),m(e,t),t.innerHTML=n,m(e,o),m(e,l),m(l,r),m(e,a)},p(c,f){f&1&&n!==(n=hr(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&Je(r,s)},d(c){c&&k(e)}}}function br(i){let e,t,n=i[5]+"",o,l,s,r,a=Wt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=gr(vr(i,a,f));return{c(){e=_("div"),t=_("h5"),o=Fe(n),l=B(),s=_("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=B(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){y(f,e,h),m(e,t),m(t,o),m(e,l),m(e,s);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);m(e,r)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&Je(o,n),h&1){a=Wt(f[6]);let g;for(g=0;g<a.length;g+=1){const p=vr(f,a,g);c[g]?c[g].p(p,h):(c[g]=gr(p),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=a.length}},d(f){f&&k(e),un(c,f)}}}function nh(i){let e,t=Wt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=br(pr(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=Wt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const r=pr(o,t,s);n[s]?n[s].p(r,l):(n[s]=br(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),un(n,o)}}}function oh(i){let e,t;return e=new eh({props:{title:i[0].title,onClose:i[2],$$slots:{default:[nh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function lh(i,e,t){let n;const o=Ct(),{data:l,show:s}=o.ui.modals.hotKeyMap;return W(i,l,a=>t(0,n=a)),[n,l,()=>{s.set(!1)}]}class sh extends ke{constructor(e){super(),we(this,e,lh,oh,_e,{},ih)}}function rh(i){De(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 ah(i){let e,t;const n=i[1].default,o=Tn(n,i,i[0],null);return{c(){e=_("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){y(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&An(o,n,l,l[0],t?En(n,l[0],s,null):Ln(l[0]),null)},i(l){t||(d(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&k(e),o&&o.d(l)}}}function uh(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class ch extends ke{constructor(e){super(),we(this,e,uh,ah,_e,{},rh)}}function fh(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class dh extends ke{constructor(e){super(),we(this,e,null,fh,_e,{})}}function mh(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class hh extends ke{constructor(e){super(),we(this,e,null,mh,_e,{})}}function ph(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class vh extends ke{constructor(e){super(),we(this,e,null,ph,_e,{})}}function gh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class sc extends ke{constructor(e){super(),we(this,e,null,gh,_e,{})}}function bh(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class rc extends ke{constructor(e){super(),we(this,e,null,bh,_e,{})}}const mo=i=>{switch(i){case io.Q_720P:return vh;case io.Q_1080P:return sc;case io.Q_1440P:return rc;case io.Q_2160P:return dh;case io.Q_4320P:return hh}};function _h(i){De(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 wh(i){let e,t,n,o,l,s,r=i[1]&&_r(i);return{c(){e=_("div"),r&&r.c(),t=B(),n=R("svg"),o=R("path"),l=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(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){y(a,e,c),r&&r.m(e,null),m(e,t),m(e,n),m(n,o),m(n,l),s=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=_r(a),r.c(),d(r,1),r.m(e,t)):r&&(me(),v(r,1,1,()=>{r=null}),he()),(!s||c&2)&&V(l,"hidden",!!a[1]),(!s||c&4)&&V(e,"triple",a[2])},i(a){s||(d(r),s=!0)},o(a){v(r),s=!1},d(a){a&&k(e),r&&r.d()}}}function kh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}function _r(i){let e,t;return e=new ch({props:{$$slots:{default:[yh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function yh(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=bn(o,l())),{c(){e&&H(e.$$.fragment),t=vt()},m(s,r){e&&D(e,s,r),y(s,t,r),n=!0},p(s,r){if(r&2&&o!==(o=s[1])){if(e){me();const a=e;v(a.$$.fragment,1,0,()=>{F(a,1)}),he()}o?(e=bn(o,l()),H(e.$$.fragment),d(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(s){n||(e&&d(e.$$.fragment,s),n=!0)},o(s){e&&v(e.$$.fragment,s),n=!1},d(s){s&&k(t),e&&F(e,s)}}}function Ch(i){let e,t,n,o;const l=[kh,wh],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Ph(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,o=r.isMobile),"currentQuality"in r&&t(3,l=r.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=mo(l)),i.$$.dirty&2&&t(2,s=!!n&&[sc,rc].includes(n))},[o,n,s,l]}class ac extends ke{constructor(e){super(),we(this,e,Ph,Ch,_e,{isMobile:0,currentQuality:3},_h)}}function Sh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class uc extends ke{constructor(e){super(),we(this,e,null,Sh,_e,{})}}function Th(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Eh extends ke{constructor(e){super(),we(this,e,null,Th,_e,{})}}function Ah(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Lh extends ke{constructor(e){super(),we(this,e,null,Ah,_e,{})}}function Vh(i){let e,t,n,o;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(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,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class Ih extends ke{constructor(e){super(),we(this,e,null,Vh,_e,{})}}function Mh(i){De(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Rh(i){let e,t,n;return{c(){e=R("svg"),t=R("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){y(o,e,l),m(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&&k(e)}}}function Nh(i){let e,t,n;return{c(){e=R("svg"),t=R("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){y(o,e,l),m(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&&k(e)}}}function Bh(i){let e;function t(l,s){return l[1]?Nh:Rh}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function Oh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=r=>{"direction"in r&&t(3,n=r.direction),"color"in r&&t(0,o=r.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class Bn extends ke{constructor(e){super(),we(this,e,Oh,Bh,_e,{direction:3,color:0},Mh)}}function zh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Dh extends ke{constructor(e){super(),we(this,e,null,zh,_e,{})}}function Fh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Bo extends ke{constructor(e){super(),we(this,e,null,Fh,_e,{})}}function Hh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Uh extends ke{constructor(e){super(),we(this,e,null,Hh,_e,{})}}function jh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class qh extends ke{constructor(e){super(),we(this,e,null,jh,_e,{})}}function Wh(i){De(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 wr(i,e,t){const n=i.slice();return n[83]=e[t],n}function kr(i,e,t){const n=i.slice();return n[86]=e[t],n}function yr(i,e,t){const n=i.slice();return n[89]=e[t],n}function Cr(i){let e,t,n,o,l,s,r,a;return{c(){e=_("div"),t=_("div"),t.textContent=`${ne("submenu_settings")}`,n=B(),o=_("div"),l=B(),s=_("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[4]),u(s,"class","menu-divider v-79x8pk")},m(c,f){y(c,e,f),m(e,t),m(e,n),m(e,o),y(c,l,f),y(c,s,f),r||(a=Le(o,"click",ct(i[44])),r=!0)},p(c,f){f[0]&16&&V(e,"item-mobile",c[4])},d(c){c&&(k(e),k(l),k(s)),r=!1,a()}}}function Pr(i){let e,t,n,o,l,s,r,a,c,f,h,g;n=new ac({});let p=i[21]&&!i[4]&&Sr(i);return{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_quality")}`,s=B(),r=_("div"),a=Fe(i[12]),c=B(),p&&p.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(b,L){y(b,e,L),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,a),m(r,c),p&&p.m(r,null),f=!0,h||(g=Le(e,"click",ct(i[45])),h=!0)},p(b,L){(!f||L[0]&4096)&&Je(a,b[12]),b[21]&&!b[4]?p?(p.p(b,L),L[0]&2097168&&d(p,1)):(p=Sr(b),p.c(),d(p,1),p.m(r,null)):p&&(me(),v(p,1,1,()=>{p=null}),he()),(!f||L[0]&16)&&V(e,"item-mobile",b[4])},i(b){f||(d(n.$$.fragment,b),d(p),f=!0)},o(b){v(n.$$.fragment,b),v(p),f=!1},d(b){b&&k(e),F(n),p&&p.d(),h=!1,g()}}}function Sr(i){let e,t,n;var o=i[21];function l(s){return{}}return o&&(t=bn(o,l())),{c(){e=_("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,r){y(s,e,r),t&&D(t,e,null),n=!0},p(s,r){if(r[0]&2097152&&o!==(o=s[21])){if(t){me();const a=t;v(a.$$.fragment,1,0,()=>{F(a,1)}),he()}o?(t=bn(o,l()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,null)):t=null}},i(s){n||(t&&d(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&F(t)}}}function Tr(i){let e,t,n,o,l,s,r,a,c,f,h,g;return n=new Ih({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_playback_rate")}`,s=B(),r=_("div"),a=Fe(i[22]),c=Fe("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,a),m(r,c),f=!0,h||(g=Le(e,"click",ct(i[49])),h=!0)},p(p,b){(!f||b[0]&4194304)&&Je(a,p[22]),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function Er(i){let e,t,n,o,l,s,r,a=i[23].displayValue+"",c,f,h,g;return n=new uc({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("subtitles_caption")}`,s=B(),r=_("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,c),f=!0,h||(g=Le(e,"click",ct(i[51])),h=!0)},p(p,b){(!f||b[0]&8388608)&&a!==(a=p[23].displayValue+"")&&Je(c,a),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function Ar(i){let e,t,n,o,l,s,r,a=(i[24]?ne("traffic_saving_on"):ne("traffic_saving_off"))+"",c,f,h,g;return n=new Lh({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("menu_traffic_saving")}`,s=B(),r=_("div"),c=Fe(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),m(e,t),D(n,t,null),m(e,o),m(e,l),m(e,s),m(e,r),m(r,c),f=!0,h||(g=Le(e,"click",ct(i[46])),h=!0)},p(p,b){(!f||b[0]&16777216)&&a!==(a=(p[24]?ne("traffic_saving_on"):ne("traffic_saving_off"))+"")&&Je(c,a),(!f||b[0]&16)&&V(e,"item-mobile",p[4])},i(p){f||(d(n.$$.fragment,p),f=!0)},o(p){v(n.$$.fragment,p),f=!1},d(p){p&&k(e),F(n),h=!1,g()}}}function Lr(i){let e,t,n,o,l,s,r,a;return n=new Eh({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("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","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(c,f){y(c,e,f),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0,r||(a=Le(e,"click",ct(i[54])),r=!0)},p(c,f){(!s||f[0]&16)&&V(e,"item-mobile",c[4])},i(c){s||(d(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&k(e),F(n),r=!1,a()}}}function Vr(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w=i[26].showSupport&&Zh(i);return o=new Uh({}),f=new qh({}),{c(){w&&w.c(),e=B(),t=_("li"),n=_("div"),H(o.$$.fragment),l=B(),s=_("div"),s.textContent=`${ne("menu_copy_debug")}`,r=B(),a=_("li"),c=_("div"),H(f.$$.fragment),h=B(),g=_("div"),g.textContent=`${ne("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(s,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitemradio"),u(t,"tabindex","0"),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitemradio"),u(a,"tabindex","0")},m(A,P){w&&w.m(A,P),y(A,e,P),y(A,t,P),m(t,n),D(o,n,null),m(t,l),m(t,s),y(A,r,P),y(A,a,P),m(a,c),D(f,c,null),m(a,h),m(a,g),p=!0,b||(L=[Le(t,"click",ct(i[56])),Le(a,"click",ct(i[57]))],b=!0)},p(A,P){A[26].showSupport&&w.p(A,P)},i(A){p||(d(w),d(o.$$.fragment,A),d(f.$$.fragment,A),p=!0)},o(A){v(w),v(o.$$.fragment,A),v(f.$$.fragment,A),p=!1},d(A){A&&(k(e),k(t),k(r),k(a)),w&&w.d(A),F(o),F(f),b=!1,ti(L)}}}function Zh(i){let e,t,n,o,l,s,r,a;return n=new Dh({}),{c(){e=_("li"),t=_("div"),H(n.$$.fragment),o=B(),l=_("div"),l.textContent=`${ne("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","menuitemradio"),u(e,"tabindex","0")},m(c,f){y(c,e,f),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0,r||(a=Le(e,"click",ct(i[55])),r=!0)},p:Z,i(c){s||(d(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&k(e),F(n),r=!1,a()}}}function Ir(i){let e,t,n;return t=new Bo({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Mr(i){let e,t,n;var o=mo(i[89].value);function l(s){return{}}return o&&(t=bn(o,l())),{c(){e=_("div"),t&&H(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,r){y(s,e,r),t&&D(t,e,null),n=!0},p(s,r){if(r[0]&32&&o!==(o=mo(s[89].value))){if(t){me();const a=t;v(a.$$.fragment,1,0,()=>{F(a,1)}),he()}o?(t=bn(o,l()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,null)):t=null}},i(s){n||(t&&d(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&k(e),t&&F(t)}}}function Rr(i){let e,t,n,o=i[89].displayValue+"",l,s,r=!i[4]&&mo(i[89].value),a,c,f,h,g,p=i[89].selected&&Ir(),b=r&&Mr(i);function L(){return i[71](i[89])}return{c(){e=_("li"),p&&p.c(),t=B(),n=_("div"),l=Fe(o),s=B(),b&&b.c(),a=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[89].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(w,A){y(w,e,A),p&&p.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),b&&b.m(e,null),m(e,a),f=!0,h||(g=Le(e,"click",ct(L)),h=!0)},p(w,A){i=w,i[89].selected?p?A[0]&32&&d(p,1):(p=Ir(),p.c(),d(p,1),p.m(e,t)):p&&(me(),v(p,1,1,()=>{p=null}),he()),(!f||A[0]&32)&&o!==(o=i[89].displayValue+"")&&Je(l,o),(!f||A[0]&16)&&V(n,"quality-title-mobile",i[4]),A[0]&48&&(r=!i[4]&&mo(i[89].value)),r?b?(b.p(i,A),A[0]&48&&d(b,1)):(b=Mr(i),b.c(),d(b,1),b.m(e,a)):b&&(me(),v(b,1,1,()=>{b=null}),he()),(!f||A[0]&32&&c!==(c=i[89].value))&&u(e,"data-value",c),(!f||A[0]&16)&&V(e,"item-mobile",i[4])},i(w){f||(d(p),d(b),f=!0)},o(w){v(p),v(b),f=!1},d(w){w&&k(e),p&&p.d(),b&&b.d(),h=!1,g()}}}function Nr(i){let e,t,n;return t=new Bo({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Br(i){let e,t,n,o=i[86].displayValue+"",l,s,r,a,c,f,h=i[86].selected&&Nr();function g(){return i[73](i[86])}return{c(){e=_("li"),h&&h.c(),t=B(),n=_("div"),l=Fe(o),s=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[86].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),a=!0,c||(f=Le(e,"click",ct(g)),c=!0)},p(p,b){i=p,i[86].selected?h?b[0]&33554432&&d(h,1):(h=Nr(),h.c(),d(h,1),h.m(e,t)):h&&(me(),v(h,1,1,()=>{h=null}),he()),(!a||b[0]&33554432)&&o!==(o=i[86].displayValue+"")&&Je(l,o),(!a||b[0]&16)&&V(n,"quality-title-mobile",i[4]),(!a||b[0]&33554432&&r!==(r=i[86].value))&&u(e,"data-value",r),(!a||b[0]&16)&&V(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&k(e),h&&h.d(),c=!1,f()}}}function Or(i){let e,t,n;return t=new Bo({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function zr(i){let e,t,n;return t=new Bo({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Dr(i){let e,t,n;return t=new Bo({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){y(o,e,l),D(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Fr(i){let e,t,n,o=i[83].displayValue+"",l,s,r,a,c,f,h=i[83].selected&&Dr();function g(){return i[77](i[83])}return{c(){e=_("li"),h&&h.c(),t=B(),n=_("div"),l=Fe(o),s=B(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[4]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",r=i[83].value),u(e,"role","menuitemradio"),u(e,"tabindex","0"),V(e,"item-mobile",i[4])},m(p,b){y(p,e,b),h&&h.m(e,null),m(e,t),m(e,n),m(n,l),m(e,s),a=!0,c||(f=Le(e,"click",ct(g)),c=!0)},p(p,b){i=p,i[83].selected?h?b[0]&8&&d(h,1):(h=Dr(),h.c(),d(h,1),h.m(e,t)):h&&(me(),v(h,1,1,()=>{h=null}),he()),(!a||b[0]&8)&&o!==(o=i[83].displayValue+"")&&Je(l,o),(!a||b[0]&16)&&V(n,"quality-title-mobile",i[4]),(!a||b[0]&8&&r!==(r=i[83].value))&&u(e,"data-value",r),(!a||b[0]&16)&&V(e,"item-mobile",i[4])},i(p){a||(d(h),a=!0)},o(p){v(h),a=!1},d(p){p&&k(e),h&&h.d(),c=!1,f()}}}function Gh(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,E,se,q,Te,O,Y,Ie,Pe,ve,ee,ue,ge,le,Ze,He,at,nt,Oe,ft,wt,Me,Ne,Dt,de,et=i[4]&&Cr(i),xe=i[20]&&Pr(i),Qe=i[19]&&Tr(i),Ge=i[18]&&Er(i),Ye=i[17]&&Ar(i),$e=i[16]&&Lr(i),lt=i[4]&&Vr(i);p=new Bn({props:{direction:"left"}});let ot=Wt(i[5]),ze=[];for(let fe=0;fe<ot.length;fe+=1)ze[fe]=Rr(yr(i,ot,fe));const Vt=fe=>v(ze[fe],1,1,()=>{ze[fe]=null});K=new Bn({props:{direction:"left"}});let Pt=Wt(i[25]),st=[];for(let fe=0;fe<Pt.length;fe+=1)st[fe]=Br(kr(i,Pt,fe));const si=fe=>v(st[fe],1,1,()=>{st[fe]=null});oe=new Bn({props:{direction:"left"}});let dt=!i[24]&&Or(),Ke=i[24]&&zr();nt=new Bn({props:{direction:"left"}});let At=Wt(i[3]),ut=[];for(let fe=0;fe<At.length;fe+=1)ut[fe]=Fr(wr(i,At,fe));const bi=fe=>v(ut[fe],1,1,()=>{ut[fe]=null});return{c(){e=_("div"),t=_("div"),et&&et.c(),n=B(),o=_("ul"),xe&&xe.c(),l=B(),Qe&&Qe.c(),s=B(),Ge&&Ge.c(),r=B(),Ye&&Ye.c(),a=B(),$e&&$e.c(),c=B(),lt&&lt.c(),f=B(),h=_("div"),g=_("div"),H(p.$$.fragment),b=B(),L=_("div"),L.textContent=`${ne("submenu_quality")}`,w=B(),A=_("div"),P=B(),I=_("ul");for(let fe=0;fe<ze.length;fe+=1)ze[fe].c();M=B(),J=_("div"),G=_("div"),H(K.$$.fragment),z=B(),re=_("div"),re.textContent=`${ne("submenu_playback_rate")}`,te=B(),Q=_("div"),T=B(),j=_("ul");for(let fe=0;fe<st.length;fe+=1)st[fe].c();ae=B(),C=_("div"),$=_("div"),H(oe.$$.fragment),Ce=B(),pe=_("div"),pe.textContent=`${ne("submenu_traffic_saving")}`,Ee=B(),ye=_("div"),U=B(),E=_("ul"),se=_("li"),dt&&dt.c(),q=B(),Te=_("div"),Te.textContent=`${ne("traffic_saving_disable")}`,O=B(),Y=_("li"),Ke&&Ke.c(),Ie=B(),Pe=_("div"),Pe.textContent=`${ne("traffic_saving_enable")}`,ve=B(),ee=_("div"),ue=B(),ge=_("div"),le=_("span"),le.textContent=`${ne("traffic_saving_helper_text")}`,Ze=B(),He=_("div"),at=_("div"),H(nt.$$.fragment),Oe=B(),ft=_("div"),ft.textContent=`${ne("subtitles_caption")}`,wt=B(),Me=_("ul");for(let fe=0;fe<ut.length;fe+=1)ut[fe].c();u(o,"class","items v-79x8pk"),V(o,"items-mobile",i[4]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),V(t,"menu-desktop",!i[4]),V(t,"menu-mobile",i[4]),V(t,"hidden",!i[7]),u(g,"class","item menu-header v-79x8pk"),V(g,"item-mobile",i[4]),u(A,"class","menu-divider v-79x8pk"),u(I,"class","items v-79x8pk"),u(I,"style",i[13]),V(I,"items-mobile",i[4]),u(h,"class","menu menu-subList v-79x8pk"),V(h,"menu-desktop",!i[4]),V(h,"menu-mobile",i[4]),V(h,"hidden",!i[8]),u(G,"class","item menu-header v-79x8pk"),V(G,"item-mobile",i[4]),u(Q,"class","menu-divider v-79x8pk"),u(j,"class","items v-79x8pk"),u(j,"style",i[14]),V(j,"items-mobile",i[4]),u(J,"class","menu menu-subList v-79x8pk"),V(J,"menu-desktop",!i[4]),V(J,"menu-mobile",i[4]),V(J,"hidden",!i[9]),u($,"class","item menu-header v-79x8pk"),V($,"item-mobile",i[4]),u(ye,"class","menu-divider v-79x8pk"),u(Te,"class","v-79x8pk"),V(Te,"quality-title-mobile",i[4]),u(se,"class","item item-traffic-saving v-79x8pk"),u(se,"role","menuitemradio"),u(se,"tabindex","0"),V(se,"item-mobile",i[4]),u(Pe,"class","v-79x8pk"),V(Pe,"quality-title-mobile",i[4]),u(Y,"class","item item-traffic-saving v-79x8pk"),u(Y,"role","menuitemradio"),u(Y,"tabindex","0"),V(Y,"item-mobile",i[4]),u(E,"class","items v-79x8pk"),u(E,"style",i[15]),V(E,"items-mobile",i[4]),u(ee,"class","menu-divider v-79x8pk"),u(le,"class","v-79x8pk"),u(ge,"class","item item-helper-text v-79x8pk"),V(ge,"item-mobile",i[4]),u(C,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(C,"menu-desktop",!i[4]),V(C,"menu-mobile",i[4]),V(C,"hidden",!i[11]),u(at,"class","item menu-header v-79x8pk"),V(at,"item-mobile",i[4]),u(Me,"class","items v-79x8pk"),V(Me,"items-mobile",i[4]),u(He,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(He,"menu-desktop",!i[4]),V(He,"menu-mobile",i[4]),V(He,"hidden",!i[10]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[6]),V(e,"container-mobile",i[4])},m(fe,Se){y(fe,e,Se),m(e,t),et&&et.m(t,null),m(t,n),m(t,o),xe&&xe.m(o,null),m(o,l),Qe&&Qe.m(o,null),m(o,s),Ge&&Ge.m(o,null),m(o,r),Ye&&Ye.m(o,null),m(o,a),$e&&$e.m(o,null),m(o,c),lt&&lt.m(o,null),m(e,f),m(e,h),m(h,g),D(p,g,null),m(g,b),m(g,L),i[70](g),m(h,w),m(h,A),m(h,P),m(h,I);for(let Ve=0;Ve<ze.length;Ve+=1)ze[Ve]&&ze[Ve].m(I,null);m(e,M),m(e,J),m(J,G),D(K,G,null),m(G,z),m(G,re),i[72](G),m(J,te),m(J,Q),m(J,T),m(J,j);for(let Ve=0;Ve<st.length;Ve+=1)st[Ve]&&st[Ve].m(j,null);m(e,ae),m(e,C),m(C,$),D(oe,$,null),m($,Ce),m($,pe),i[74]($),m(C,Ee),m(C,ye),m(C,U),m(C,E),m(E,se),dt&&dt.m(se,null),m(se,q),m(se,Te),m(E,O),m(E,Y),Ke&&Ke.m(Y,null),m(Y,Ie),m(Y,Pe),m(C,ve),m(C,ee),m(C,ue),m(C,ge),m(ge,le),m(e,Ze),m(e,He),m(He,at),D(nt,at,null),m(at,Oe),m(at,ft),m(He,wt),m(He,Me);for(let Ve=0;Ve<ut.length;Ve+=1)ut[Ve]&&ut[Ve].m(Me,null);Ne=!0,Dt||(de=[Le(g,"click",ct(i[53])),Le(G,"click",ct(i[53])),Le($,"click",ct(i[53])),Le(se,"click",ct(i[75])),Le(Y,"click",ct(i[76])),Le(at,"click",ct(i[53]))],Dt=!0)},p(fe,Se){if(fe[4]?et?et.p(fe,Se):(et=Cr(fe),et.c(),et.m(t,n)):et&&(et.d(1),et=null),fe[20]?xe?(xe.p(fe,Se),Se[0]&1048576&&d(xe,1)):(xe=Pr(fe),xe.c(),d(xe,1),xe.m(o,l)):xe&&(me(),v(xe,1,1,()=>{xe=null}),he()),fe[19]?Qe?(Qe.p(fe,Se),Se[0]&524288&&d(Qe,1)):(Qe=Tr(fe),Qe.c(),d(Qe,1),Qe.m(o,s)):Qe&&(me(),v(Qe,1,1,()=>{Qe=null}),he()),fe[18]?Ge?(Ge.p(fe,Se),Se[0]&262144&&d(Ge,1)):(Ge=Er(fe),Ge.c(),d(Ge,1),Ge.m(o,r)):Ge&&(me(),v(Ge,1,1,()=>{Ge=null}),he()),fe[17]?Ye?(Ye.p(fe,Se),Se[0]&131072&&d(Ye,1)):(Ye=Ar(fe),Ye.c(),d(Ye,1),Ye.m(o,a)):Ye&&(me(),v(Ye,1,1,()=>{Ye=null}),he()),fe[16]?$e?($e.p(fe,Se),Se[0]&65536&&d($e,1)):($e=Lr(fe),$e.c(),d($e,1),$e.m(o,c)):$e&&(me(),v($e,1,1,()=>{$e=null}),he()),fe[4]?lt?(lt.p(fe,Se),Se[0]&16&&d(lt,1)):(lt=Vr(fe),lt.c(),d(lt,1),lt.m(o,null)):lt&&(me(),v(lt,1,1,()=>{lt=null}),he()),(!Ne||Se[0]&16)&&V(o,"items-mobile",fe[4]),(!Ne||Se[0]&16)&&V(t,"menu-desktop",!fe[4]),(!Ne||Se[0]&16)&&V(t,"menu-mobile",fe[4]),(!Ne||Se[0]&128)&&V(t,"hidden",!fe[7]),(!Ne||Se[0]&16)&&V(g,"item-mobile",fe[4]),Se[0]&48|Se[1]&65536){ot=Wt(fe[5]);let Ve;for(Ve=0;Ve<ot.length;Ve+=1){const It=yr(fe,ot,Ve);ze[Ve]?(ze[Ve].p(It,Se),d(ze[Ve],1)):(ze[Ve]=Rr(It),ze[Ve].c(),d(ze[Ve],1),ze[Ve].m(I,null))}for(me(),Ve=ot.length;Ve<ze.length;Ve+=1)Vt(Ve);he()}if((!Ne||Se[0]&8192)&&u(I,"style",fe[13]),(!Ne||Se[0]&16)&&V(I,"items-mobile",fe[4]),(!Ne||Se[0]&16)&&V(h,"menu-desktop",!fe[4]),(!Ne||Se[0]&16)&&V(h,"menu-mobile",fe[4]),(!Ne||Se[0]&256)&&V(h,"hidden",!fe[8]),(!Ne||Se[0]&16)&&V(G,"item-mobile",fe[4]),Se[0]&33554448|Se[1]&524288){Pt=Wt(fe[25]);let Ve;for(Ve=0;Ve<Pt.length;Ve+=1){const It=kr(fe,Pt,Ve);st[Ve]?(st[Ve].p(It,Se),d(st[Ve],1)):(st[Ve]=Br(It),st[Ve].c(),d(st[Ve],1),st[Ve].m(j,null))}for(me(),Ve=Pt.length;Ve<st.length;Ve+=1)si(Ve);he()}if((!Ne||Se[0]&16384)&&u(j,"style",fe[14]),(!Ne||Se[0]&16)&&V(j,"items-mobile",fe[4]),(!Ne||Se[0]&16)&&V(J,"menu-desktop",!fe[4]),(!Ne||Se[0]&16)&&V(J,"menu-mobile",fe[4]),(!Ne||Se[0]&512)&&V(J,"hidden",!fe[9]),(!Ne||Se[0]&16)&&V($,"item-mobile",fe[4]),fe[24]?dt&&(me(),v(dt,1,1,()=>{dt=null}),he()):dt?Se[0]&16777216&&d(dt,1):(dt=Or(),dt.c(),d(dt,1),dt.m(se,q)),(!Ne||Se[0]&16)&&V(Te,"quality-title-mobile",fe[4]),(!Ne||Se[0]&16)&&V(se,"item-mobile",fe[4]),fe[24]?Ke?Se[0]&16777216&&d(Ke,1):(Ke=zr(),Ke.c(),d(Ke,1),Ke.m(Y,Ie)):Ke&&(me(),v(Ke,1,1,()=>{Ke=null}),he()),(!Ne||Se[0]&16)&&V(Pe,"quality-title-mobile",fe[4]),(!Ne||Se[0]&16)&&V(Y,"item-mobile",fe[4]),(!Ne||Se[0]&32768)&&u(E,"style",fe[15]),(!Ne||Se[0]&16)&&V(E,"items-mobile",fe[4]),(!Ne||Se[0]&16)&&V(ge,"item-mobile",fe[4]),(!Ne||Se[0]&16)&&V(C,"menu-desktop",!fe[4]),(!Ne||Se[0]&16)&&V(C,"menu-mobile",fe[4]),(!Ne||Se[0]&2048)&&V(C,"hidden",!fe[11]),(!Ne||Se[0]&16)&&V(at,"item-mobile",fe[4]),Se[0]&24|Se[1]&2097152){At=Wt(fe[3]);let Ve;for(Ve=0;Ve<At.length;Ve+=1){const It=wr(fe,At,Ve);ut[Ve]?(ut[Ve].p(It,Se),d(ut[Ve],1)):(ut[Ve]=Fr(It),ut[Ve].c(),d(ut[Ve],1),ut[Ve].m(Me,null))}for(me(),Ve=At.length;Ve<ut.length;Ve+=1)bi(Ve);he()}(!Ne||Se[0]&16)&&V(Me,"items-mobile",fe[4]),(!Ne||Se[0]&16)&&V(He,"menu-desktop",!fe[4]),(!Ne||Se[0]&16)&&V(He,"menu-mobile",fe[4]),(!Ne||Se[0]&1024)&&V(He,"hidden",!fe[10]),(!Ne||Se[0]&64)&&V(e,"hidden",!fe[6]),(!Ne||Se[0]&16)&&V(e,"container-mobile",fe[4])},i(fe){if(!Ne){d(xe),d(Qe),d(Ge),d(Ye),d($e),d(lt),d(p.$$.fragment,fe);for(let Se=0;Se<ot.length;Se+=1)d(ze[Se]);d(K.$$.fragment,fe);for(let Se=0;Se<Pt.length;Se+=1)d(st[Se]);d(oe.$$.fragment,fe),d(dt),d(Ke),d(nt.$$.fragment,fe);for(let Se=0;Se<At.length;Se+=1)d(ut[Se]);Ne=!0}},o(fe){v(xe),v(Qe),v(Ge),v(Ye),v($e),v(lt),v(p.$$.fragment,fe),ze=ze.filter(Boolean);for(let Se=0;Se<ze.length;Se+=1)v(ze[Se]);v(K.$$.fragment,fe),st=st.filter(Boolean);for(let Se=0;Se<st.length;Se+=1)v(st[Se]);v(oe.$$.fragment,fe),v(dt),v(Ke),v(nt.$$.fragment,fe),ut=ut.filter(Boolean);for(let Se=0;Se<ut.length;Se+=1)v(ut[Se]);Ne=!1},d(fe){fe&&k(e),et&&et.d(),xe&&xe.d(),Qe&&Qe.d(),Ge&&Ge.d(),Ye&&Ye.d(),$e&&$e.d(),lt&&lt.d(),F(p),i[70](null),un(ze,fe),F(K),i[72](null),un(st,fe),F(oe),i[74](null),dt&&dt.d(),Ke&&Ke.d(),F(nt),un(ut,fe),Dt=!1,ti(de)}}}const Ml=18;function Yh(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,{supportLink:J}=e,{playerControlsHeight:G=0}=e,{returnFocus:K}=e;const z=Ct(),re=xi(),te=z.state.currentQuality$;W(i,te,Ae=>t(69,L=Ae));const Q=z.state.availableQualities$;W(i,Q,Ae=>t(5,b=Ae));const T=z.state.autoQualityLimitingAvailable$;W(i,T,Ae=>t(63,r=Ae));const j=z.state.isAutoQualityEnabled$;W(i,j,Ae=>t(68,p=Ae));const ae=z.state.currentPlaybackRate$;W(i,ae,Ae=>t(22,A=Ae));const C=z.state.availablePlaybackRates$;W(i,C,Ae=>t(25,M=Ae));const $=z.state.currentSubtitle$;W(i,$,Ae=>t(23,P=Ae));const oe=z.state.availableSubtitlesList$;W(i,oe,Ae=>t(3,s=Ae));const Ce=z.state.canDownload,pe=z.state.hasMpegSources$;W(i,pe,Ae=>t(64,a=Ae));const Ee=z.ui.settingsMenuVisible;W(i,Ee,Ae=>t(6,w=Ae));const ye=z.ui.isMobile;W(i,ye,Ae=>t(4,f=Ae));const U=z.ui.mobileNotReportControlHidden$;W(i,U,Ae=>t(61,o=Ae));const E=z.state.canChangePlaybackSpeed$;W(i,E,Ae=>t(62,l=Ae));const se=z.ui.isFullscreen;W(i,se,Ae=>t(67,g=Ae));const q=z.state.trafficSavingEnabled$;W(i,q,Ae=>t(24,I=Ae));const Te=z.ui.playerSize;W(i,Te,Ae=>t(66,h=Ae));const O=z.ui.debugPanelVisible,Y=z.ui.playerSize;W(i,Y,Ae=>t(65,c=Ae));const Ie=z.actions.internal.downloadVideo;let Pe=!0,ve=!1,ee=!1,ue=!1,ge=!1;function le(){K==null||K(),Ee.set(!1)}function Ze(){t(7,Pe=!1),t(8,ve=!0)}function He(){t(7,Pe=!1),t(11,ge=!0)}function at(Ae){z.actions.internal.setQuality(Ae),le()}function nt(Ae){z.actions.internal.setTrafficSavingEnabled(Ae),le()}function Oe(){t(7,Pe=!1),t(9,ee=!0)}function ft(Ae){z.actions.internal.setPlaybackRate(Ae),le()}function wt(){t(7,Pe=!1),t(10,ue=!0)}function Me(Ae){z.actions.internal.setSubtitle(Ae),le()}function Ne(){t(7,Pe=!0),t(8,ve=!1),t(9,ee=!1),t(10,ue=!1),t(11,ge=!1)}function Dt(){Ie(),le()}function de(){window.open(J,"_blank"),le(),z.actions.internal.pause()}function et(){Zl(z.actions.internal.getDebugTextData()),le()}function xe(){O.set(!0),le()}function Qe(Ae,ii,ri){if(!Ae)return"...";const Ft=ii.find(Ht=>Ht.value===Ae),Ii=Ft?Ft.displayValue:Ae;return ri?Ae===io.INVARIANT?ne("auto_quality_invariant"):ne("auto_quality",{actual:Ii}):Ii}let Ge,Ye,$e,lt,ot,ze,Vt,Pt,st,si,dt,Ke;function At(Ae){je[Ae?"unshift":"push"](()=>{Ye=Ae,t(0,Ye)})}const ut=Ae=>at(Ae.value);function bi(Ae){je[Ae?"unshift":"push"](()=>{$e=Ae,t(1,$e)})}const fe=Ae=>ft(Ae.value);function Se(Ae){je[Ae?"unshift":"push"](()=>{lt=Ae,t(2,lt)})}const Ve=()=>nt(!1),It=()=>nt(!0),xt=Ae=>Me(Ae);return i.$$set=Ae=>{"supportLink"in Ae&&t(58,J=Ae.supportLink),"playerControlsHeight"in Ae&&t(59,G=Ae.playerControlsHeight),"returnFocus"in Ae&&t(60,K=Ae.returnFocus)},i.$$.update=()=>{var Ae,ii,ri;if(i.$$.dirty[0]&64&&w&&(t(7,Pe=!0),t(8,ve=!1),t(9,ee=!1),t(10,ue=!1),t(11,ge=!1)),i.$$.dirty[2]&128&&t(21,n=mo(L)),i.$$.dirty[0]&32|i.$$.dirty[2]&192&&t(12,Ge=Qe(L,b,p)),i.$$.dirty[0]&17|i.$$.dirty[1]&268435456|i.$$.dirty[2]&56)if(f&&g)t(13,ot=`max-height: ${Math.round(h.height*.6)}px`);else if(f)t(13,ot="");else{const Ft=c.height-Ml-((Ae=Ye==null?void 0:Ye.clientHeight)!=null?Ae:0)-G;t(13,ot=`max-height: ${Ft}px; overflow: auto;`)}if(i.$$.dirty[0]&18|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(14,ze="");else{const Ft=c.height-Ml-((ii=$e==null?void 0:$e.clientHeight)!=null?ii:0)-G;t(14,ze=`max-height: ${Ft}px; overflow: auto;`)}if(i.$$.dirty[0]&20|i.$$.dirty[1]&268435456|i.$$.dirty[2]&8)if(f)t(15,Vt="");else{const Ft=c.height-Ml-((ri=lt==null?void 0:lt.clientHeight)!=null?ri:0)-G;t(15,Vt=`max-height: ${Ft}px; overflow: auto;`)}i.$$.dirty[1]&1073741824|i.$$.dirty[2]&4&&t(16,Pt=Ce&&a&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&2&&t(17,st=re.features.trafficSaving&&!o&&r),i.$$.dirty[0]&8|i.$$.dirty[1]&1073741824&&t(18,si=s.length>0&&!o),i.$$.dirty[1]&1073741824|i.$$.dirty[2]&1&&t(19,dt=!!l&&!o),i.$$.dirty[1]&1073741824&&t(20,Ke=!o)},[Ye,$e,lt,s,f,b,w,Pe,ve,ee,ue,ge,Ge,ot,ze,Vt,Pt,st,si,dt,Ke,n,A,P,I,M,re,te,Q,T,j,ae,C,$,oe,pe,Ee,ye,U,E,se,q,Te,Y,le,Ze,He,at,nt,Oe,ft,wt,Me,Ne,Dt,de,et,xe,J,G,K,o,l,r,a,c,h,g,p,L,At,ut,bi,fe,Se,Ve,It,xt]}class cc extends ke{constructor(e){super(),we(this,e,Yh,Gh,_e,{supportLink:58,playerControlsHeight:59,returnFocus:60},Wh,[-1,-1,-1])}}function Kh(i){De(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Xh(i){let e,t,n;return t=new ac({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=_("span"),H(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Qh(i){let e,t;return e=new gi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[Xh]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Jh(i,e,t){let n,o,l;const s=Ct(),r=s.state.currentQuality$;W(i,r,g=>t(2,l=g));const a=s.ui.settingsMenuVisible;W(i,a,g=>t(7,n=g));const c=s.ui.isMobile;W(i,c,g=>t(1,o=g));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=ne(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,r,a,c,h,n]}class ns extends ke{constructor(e){super(),we(this,e,Jh,Qh,_e,{},Kh)}}function xh(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class $h extends ke{constructor(e){super(),we(this,e,null,xh,_e,{})}}function e3(i){let e,t;return e=new uc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function t3(i){let e,t;return e=new $h({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function i3(i){let e,t,n,o;const l=[t3,e3],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t||(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function n3(i){let e,t;return e=new gi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],$$slots:{default:[i3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function o3(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=ne(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class l3 extends ke{constructor(e){super(),we(this,e,o3,n3,_e,{isSubtitlesEnabled:0,click:1})}}function s3(i){De(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 Hr(i){let e,t;return{c(){e=_("span"),t=Fe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&8&&Je(t,n[3])},d(n){n&&k(e)}}}function r3(i){let e,t,n,o,l,s=i[2]&&Hr(i);return{c(){e=_("div"),t=_("span"),n=Fe(i[4]),o=B(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Zn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(r,a){y(r,e,a),m(e,t),m(t,n),m(e,o),s&&s.m(e,null),l=il(e,i[7].bind(e))},p(r,[a]){a&16&&Je(n,r[4]),r[2]?s?s.p(r,a):(s=Hr(r),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&2&&V(e,"mobile",r[1])},i:Z,o:Z,d(r){r&&k(e),s&&s.d(),l()}}}function a3(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:r}=e,a,c;function f(){r=this.clientWidth,t(0,r)}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,s=h.showDuration),"width"in h&&t(0,r=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=vn(o)),i.$$.dirty&64&&t(4,c=vn(l))},[r,n,s,a,c,o,l,f]}class fc extends ke{constructor(e){super(),we(this,e,a3,r3,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},s3)}}function u3(i){De(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 c3(i){let e,t,n,o,l,s;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(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",s="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(r,a){y(r,e,a),m(e,t),m(t,n),m(t,o),m(t,l)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&s!==(s="volume-"+r[0]+"-icon")&&u(e,"data-testid",s)},i:Z,o:Z,d(r){r&&k(e)}}}function f3(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let s;return i.$$set=r=>{"volume"in r&&t(1,n=r.volume),"muted"in r&&t(2,o=r.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class rl extends ke{constructor(e){super(),we(this,e,f3,c3,_e,{volume:1,muted:2},u3)}}function d3(i){let e,t;const n=i[4].default,o=Tn(n,i,i[3],null);return{c(){e=_("div"),o&&o.c(),u(e,"class","overlay")},m(l,s){y(l,e,s),o&&o.m(e,null),i[5](e),t=!0},p(l,[s]){o&&o.p&&(!t||s&8)&&An(o,n,l,l[3],t?En(n,l[3],s,null):Ln(l[3]),null)},i(l){t||(d(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&k(e),o&&o.d(l),i[5](null)}}}function m3(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const r=Ct().ui.overlayContainer$;W(i,r,g=>t(2,n=g));let a;const c=g=>{!g||!a||!g.contains(a)||g.removeChild(a)},f=g=>{!g||!a||g.contains(a)||g.appendChild(a)};Ji(()=>(f(n),()=>c(n)));function h(g){je[g?"unshift":"push"](()=>{a=g,t(0,a)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,r,n,l,o,h]}class h3 extends ke{constructor(e){super(),we(this,e,m3,d3,_e,{})}}function p3(i){De(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 Ur(i){let e,t;return e=new h3({props:{$$slots:{default:[v3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&262387&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function v3(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("div"),n=Fe(i[1]),o=B(),l=_("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),i[17](e)},p(a,c){c&2&&Je(n,a[1]),c&32&&s!==(s=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(l,"style",s),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&V(e,"active",a[0])},d(a){a&&k(e),i[17](null)}}}function g3(i){let e,t,n,o,l,s;const r=i[15].default,a=Tn(r,i,i[18],null);let c=i[1]&&Ur(i);return{c(){e=_("div"),a&&a.c(),t=B(),c&&c.c(),n=vt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){y(f,e,h),a&&a.m(e,null),i[16](e),y(f,t,h),c&&c.m(f,h),y(f,n,h),o=!0,l||(s=[Le(e,"mouseenter",i[11]),Le(e,"mousemove",i[11]),Le(e,"mouseleave",i[12]),Le(e,"mousedown",i[12]),Le(e,"mouseup",i[11])],l=!0)},p(f,[h]){a&&a.p&&(!o||h&262144)&&An(a,r,f,f[18],o?En(r,f[18],h,null):Ln(f[18]),null),(!o||h&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&d(c,1)):(c=Ur(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(me(),v(c,1,1,()=>{c=null}),he())},i(f){o||(d(a,f),d(c),o=!0)},o(f){v(a,f),v(c),o=!1},d(f){f&&(k(e),k(t),k(n)),a&&a.d(f),i[16](null),c&&c.d(f),l=!1,ti(s)}}}const Go=5;function b3(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,p,b,L=0,w=Go,A=0,P=0;const I=xi(),M=Ct(),J=M.ui.playerSize;W(i,J,C=>t(21,o=C));const G=M.ui.overlayContainer$;W(i,G,C=>t(20,n=C));const K=M.getLogger().createComponentLog("Tooltip component"),z=()=>{if(!n)return;const C=n.getBoundingClientRect(),$=g.getBoundingClientRect(),oe=$.width,Ce=p.clientWidth,pe=o.width,Ee=(oe-Ce)/2,ye=$.left+c-C.left;let U=ye+Ee;const E=$.top+f-C.top;let se=Ce/2-Go;const q=U<C.left+yo,Te=U+Ce>pe-yo;q&&(U=yo,se=ye+$.width/2-2.5*Go),Te&&(U=pe-yo-Ce,se=$.left-C.left+$.width/2-U-Go),t(6,A=U),t(7,P=E),t(5,L=se)},re=()=>{try{if(!n||!g)return;z(),t(0,a=!0)}catch(C){K({message:String(C)})}},te=()=>{t(0,a=!1)},Q=()=>{p&&(b||(b=window.setTimeout(re,I.controls.hideTimeoutTooltips)),a&&re())},T=()=>{te(),window.clearTimeout(b),b=void 0};nl(()=>window.clearTimeout(b));function j(C){je[C?"unshift":"push"](()=>{g=C,t(3,g)})}function ae(C){je[C?"unshift":"push"](()=>{p=C,t(4,p)})}return i.$$set=C=>{"content"in C&&t(1,r=C.content),"active"in C&&t(0,a=C.active),"translateX"in C&&t(13,c=C.translateX),"translateY"in C&&t(14,f=C.translateY),"isFullWidthWrapper"in C&&t(2,h=C.isFullWidthWrapper),"$$scope"in C&&t(18,s=C.$$scope)},[a,r,h,g,p,L,A,P,w,J,G,Q,T,c,f,l,j,ae,s]}class dc extends ke{constructor(e){super(),we(this,e,b3,g3,_e,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},p3)}}function _3(i){De(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 w3(i){let e;const t=i[15].default,n=Tn(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)&&An(n,t,o,o[19],e?En(t,o[19],l,null):Ln(o[19]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function k3(i){let e,t;return e=new dc({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[y3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function y3(i){let e;const t=i[15].default,n=Tn(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)&&An(n,t,o,o[19],e?En(t,o[19],l,null):Ln(o[19]),null)},i(o){e||(d(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function C3(i){let e,t,n,o,l,s,r,a,c;const f=[k3,w3],h=[];function g(p,b){return p[2]&&p[4]&&!p[9]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=_("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(p,b){y(p,e,b),h[t].m(e,null),s=il(e,i[18].bind(e)),r=!0,a||(c=[Le(e,"pointerdown",ct(vi(i[16]))),Le(e,"click",ct(vi(i[17])))],a=!0)},p(p,[b]){let L=t;t=g(p),t===L?h[t].p(p,b):(me(),v(h[L],1,1,()=>{h[L]=null}),he(),n=h[t],n?n.p(p,b):(n=h[t]=f[t](p),n.c()),d(n,1),n.m(e,null)),(!r||b&2&&o!==(o="btn-container "+p[1]+" v-p9r045"))&&u(e,"class",o),(!r||b&32&&l!==(l=p[5]||null))&&u(e,"aria-hidden",l)},i(p){r||(d(n),r=!0)},o(p){v(n),r=!1},d(p){p&&k(e),h[t].d(),s(),a=!1,ti(c)}}}function P3(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:p=ne("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:L=0}=e,{initialTranslateYPx:w=-18}=e;const A=Ct(),P=A.ui.isMobile;W(i,P,z=>t(9,o=z));const I=A.state.graphIsOpened$;W(i,I,z=>t(14,n=z));let M;function J(z){uo.call(this,i,z)}function G(z){uo.call(this,i,z)}function K(){f=this.clientWidth,t(0,f)}return i.$$set=z=>{"className"in z&&t(1,r=z.className),"disabled"in z&&t(12,a=z.disabled),"hasTooltip"in z&&t(2,c=z.hasTooltip),"width"in z&&t(0,f=z.width),"isFullWidthTooltip"in z&&t(3,h=z.isFullWidthTooltip),"tooltipContent"in z&&t(4,g=z.tooltipContent),"disabledTooltipContent"in z&&t(13,p=z.disabledTooltipContent),"isAriaHidden"in z&&t(5,b=z.isAriaHidden),"initialTranslateXPx"in z&&t(6,L=z.initialTranslateXPx),"initialTranslateYPx"in z&&t(7,w=z.initialTranslateYPx),"$$scope"in z&&t(19,s=z.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(a?t(8,M=n?ne("tooltip_disabled_when_graph_on"):p):t(8,M=g))},[f,r,c,h,g,b,L,w,M,o,P,I,a,p,n,l,J,G,K,s]}class Gt extends ke{constructor(e){super(),we(this,e,P3,C3,_e,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},_3)}}function S3(i){let e,t,n,o,l;return{c(){e=R("svg"),t=R("rect"),o=R("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(s,r){y(s,e,r),m(e,t),m(e,o)},p(s,[r]){r&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),r&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:Z,o:Z,d(s){s&&k(e)}}}function T3(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class E3 extends ke{constructor(e){super(),we(this,e,T3,S3,_e,{completed:0})}}function A3(i){De(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 L3(i){let e,t,n,o,l;return t=new E3({props:{completed:!!i[0].completed}}),{c(){e=_("div"),H(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(s,r){y(s,e,r),D(t,e,null),o=il(e,i[3].bind(e)),l=!0},p(s,r){const a={};r&1&&(a.completed=!!s[0].completed),t.$set(a),(!l||r&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||r&2)&&V(e,"disabled",s[1])},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&k(e),F(t),o()}}}function V3(i){let e,t;return e=new Gt({props:{tooltipContent:ne(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:[L3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=ne(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function I3(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=r=>{"videoEpisode"in r&&t(0,n=r.videoEpisode),"disabled"in r&&t(1,o=r.disabled)},[n,o,l,s]}class M3 extends ke{constructor(e){super(),we(this,e,I3,V3,_e,{videoEpisode:0,disabled:1},A3)}}function R3(i){De(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 jr(i,e,t){const n=i.slice();return n[2]=e[t],n}function qr(i){let e,t,n,o,l,s,r,a,c;return{c(){e=_("div"),t=_("div"),n=_("div"),l=B(),s=_("div"),a=B(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",r=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(s,"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){y(f,e,h),m(e,t),m(t,n),m(t,l),m(t,s),m(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",r),h&2&&V(s,"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&&k(e)}}}function N3(i){let e,t=Wt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=qr(jr(i,t,o));return{c(){e=_("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){y(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=Wt(o[0]);let s;for(s=0;s<t.length;s+=1){const r=jr(o,t,s);n[s]?n[s].p(r,l):(n[s]=qr(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Z,o:Z,d(o){o&&k(e),un(n,o)}}}function B3(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 O3 extends ke{constructor(e){super(),we(this,e,B3,N3,_e,{videoEpisodes:0,isMobile:1},R3)}}function z3(i){De(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 Wr(i,e,t){const n=i.slice();return n[48]=e[t],n}function Zr(i){let e,t,n=Wt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Yr(Wr(i,n,s));const l=s=>v(o[s],1,1,()=>{o[s]=null});return{c(){e=_("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(s,r){y(s,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(s,r){if(r[0]&2097664){n=Wt(s[21]);let a;for(a=0;a<n.length;a+=1){const c=Wr(s,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=Yr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(me(),a=n.length;a<o.length;a+=1)l(a);he()}(!t||r[0]&32)&&V(e,"mobile",s[5]),(!t||r[0]&1048608)&&V(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let r=0;r<n.length;r+=1)d(o[r]);t=!0}},o(s){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)v(o[r]);t=!1},d(s){s&&k(e),un(o,s)}}}function Gr(i){let e,t;return e=new M3({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Yr(i){let e,t,n=i[48].interactive&&Gr(i);return{c(){n&&n.c(),e=vt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&d(n,1)):(n=Gr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function D3(i){let e,t,n,o,l,s;return{c(){e=_("div"),t=_("div"),o=B(),l=_("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",s=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(r,a){y(r,e,a),m(e,t),m(e,o),m(e,l)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&s!==(s=`transform: translateX(${r[12]*100}%);`)&&u(l,"style",s),a[0]&16&&V(l,"active-live",r[4]),a[0]&64&&V(l,"ads",r[6])},i:Z,o:Z,d(r){r&&k(e)}}}function F3(i){let e,t;return e=new O3({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function H3(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b=i[8]&&Zr(i);const L=[F3,D3],w=[];function A(P,I){return P[21].length?0:1}return n=A(i),o=w[n]=L[n](i),{c(){var P;b&&b.c(),e=B(),t=_("div"),o.c(),l=B(),s=_("div"),r=_("div"),u(r,"class","handle v-1golz1y"),V(r,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",a=`transform: translateX(${i[13]*100}%);`),V(s,"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=(P=i[1])!=null?P: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(P,I){b&&b.m(P,I),y(P,e,I),y(P,t,I),w[n].m(t,null),m(t,l),m(t,s),m(s,r),i[42](t),h=!0,g||(p=[Le(t,"pointerdown",vi(i[22])),Le(t,"pointermove",vi(i[23])),Le(t,"pointerup",vi(i[24])),Le(t,"pointerenter",vi(i[25])),Le(t,"pointerleave",vi(i[26])),Le(t,"click",ct(it)),Le(t,"wheel",i[27])],g=!0)},p(P,I){var J;P[8]?b?(b.p(P,I),I[0]&256&&d(b,1)):(b=Zr(P),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(me(),v(b,1,1,()=>{b=null}),he());let M=n;n=A(P),n===M?w[n].p(P,I):(me(),v(w[M],1,1,()=>{w[M]=null}),he(),o=w[n],o?o.p(P,I):(o=w[n]=L[n](P),o.c()),d(o,1),o.m(t,l)),(!h||I[0]&16)&&V(r,"active-live",P[4]),(!h||I[0]&8192&&a!==(a=`transform: translateX(${P[13]*100}%);`))&&u(s,"style",a),(!h||I[0]&1024)&&V(s,"hidden",P[10]),(!h||I[0]&1&&c!==(c="slider "+P[0]+" v-1golz1y"))&&u(t,"class",c),(!h||I[0]&16384)&&u(t,"aria-label",P[14]),(!h||I[0]&32768)&&u(t,"aria-valuemin",P[15]),(!h||I[0]&65536)&&u(t,"aria-valuemax",P[16]),(!h||I[0]&131072)&&u(t,"aria-valuenow",P[17]),(!h||I[0]&262144)&&u(t,"aria-valuetext",P[18]),(!h||I[0]&2&&f!==(f=(J=P[1])!=null?J:null))&&u(t,"data-testid",f),(!h||I[0]&513)&&V(t,"disabled",P[9]),(!h||I[0]&1048577)&&V(t,"slider-dragging",P[20]),(!h||I[0]&5)&&V(t,"hidden",P[2]),(!h||I[0]&9)&&V(t,"slider-vertical",P[3]),(!h||I[0]&1025)&&V(t,"no-handle",P[10]),(!h||I[0]&129)&&V(t,"square",P[7])},i(P){h||(d(b),d(o),h=!0)},o(P){v(b),v(o),h=!1},d(P){P&&(k(e),k(t)),b&&b.d(P),w[n].d(),i[42](null),g=!1,ti(p)}}}function U3(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:p=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:L=!1}=e,{disabled:w=!1}=e,{hideHandel:A=!1}=e,P,I,{onPointerDown:M=it}=e,{onHandleMove:J=it}=e,{onPointerUp:G=it}=e,{onPointerEnter:K=it}=e,{onPointerMove:z=it}=e,{onPointerLeave:re=it}=e,{onWheelUp:te=it}=e,{onWheelDown:Q=it}=e,{onWheelLeft:T=it}=e,{onWheelRight:j=it}=e,{loadedProgress:ae=0}=e,{filledProgress:C=0}=e,{handleProgress:$=0}=e,{ariaLabel:oe=""}=e,{ariaValueMin:Ce=void 0}=e,{ariaValueMax:pe=void 0}=e,{ariaValueNow:Ee=void 0}=e,{ariaValueText:ye=""}=e;const U=xi();let E=!1,se;function q(le){if(E)return;t(20,E=!0),I=P.getBoundingClientRect();const Ze=ve(le.clientX,le.clientY);M(Ze),P.setPointerCapture(le.pointerId)}function Te(le){const Ze=ve(le.clientX,le.clientY),He=ee(le.clientX);z(Ze,He,I.width),E&&J(Ze)}function O(le){if(!E)return;t(20,E=!1);const Ze=ve(le.clientX,le.clientY);G(Ze)}function Y(le){I=P.getBoundingClientRect();const Ze=ve(le.clientX,le.clientY),He=ee(le.clientX);K(Ze,He,I.width)}function Ie(){re()}function Pe(le){b&&(le.preventDefault(),le.deltaY<0?te():le.deltaY>0?Q():le.deltaX>0?j():T())}function ve(le,Ze){return a?Math.max(0,Math.min(1,(I.height-(Ze-I.top))/I.height)):Math.min(Math.max(le-I.x,0),I.width)/I.width}function ee(le){return Math.min(Math.max(le-I.x,0),I.width)}function ue(le,Ze){const He=U.features.episodesClustering&&!L?U.episodeMinWidthPc:0,at=[];let nt=0,Oe=0,ft=0;for(let Ne=1;Ne<p.length;Ne++)Oe=p[Ne].time/se*100,Oe-nt>He&&(at.push({from:nt,width:Math.max(0,Oe-nt),loadedWidth:Math.max(0,Math.min(Oe,le)-nt),filledWidth:Math.max(0,Math.min(Oe,Ze)-nt),interactive:p[Ne-1].interactive,completed:p[Ne-1].completed}),nt=p[Ne].time/se*100,ft++);const wt={from:nt,width:Math.max(0,100-nt),loadedWidth:Math.max(0,Math.min(le,100)-nt),filledWidth:Math.max(0,Math.min(Ze,100)-nt),interactive:p[ft].interactive,completed:p[ft].completed};100-nt<He?(ft-=1,at[ft].width+=100-nt,at[ft].loadedWidth+=Math.max(0,Math.min(le,100)-nt),at[ft].filledWidth+=Math.max(0,Math.min(Ze,100)-nt)):at[ft]=wt;const Me=p[0].time;if(Me!==0){const Ne=Me/se*100;at.unshift({from:0,width:Ne,loadedWidth:Math.min(Ne,le),filledWidth:Math.min(Ne,Ze)})}return at}function ge(le){je[le?"unshift":"push"](()=>{P=le,t(19,P)})}return i.$$set=le=>{"className"in le&&t(0,l=le.className),"testId"in le&&t(1,s=le.testId),"isHidden"in le&&t(2,r=le.isHidden),"isVertical"in le&&t(3,a=le.isVertical),"isActiveLive"in le&&t(4,c=le.isActiveLive),"isMobile"in le&&t(5,f=le.isMobile),"isAds"in le&&t(6,h=le.isAds),"squareBorders"in le&&t(7,g=le.squareBorders),"videoEpisodes"in le&&t(28,p=le.videoEpisodes),"withWheelHandler"in le&&t(29,b=le.withWheelHandler),"isInteractive"in le&&t(8,L=le.isInteractive),"disabled"in le&&t(9,w=le.disabled),"hideHandel"in le&&t(10,A=le.hideHandel),"onPointerDown"in le&&t(30,M=le.onPointerDown),"onHandleMove"in le&&t(31,J=le.onHandleMove),"onPointerUp"in le&&t(32,G=le.onPointerUp),"onPointerEnter"in le&&t(33,K=le.onPointerEnter),"onPointerMove"in le&&t(34,z=le.onPointerMove),"onPointerLeave"in le&&t(35,re=le.onPointerLeave),"onWheelUp"in le&&t(36,te=le.onWheelUp),"onWheelDown"in le&&t(37,Q=le.onWheelDown),"onWheelLeft"in le&&t(38,T=le.onWheelLeft),"onWheelRight"in le&&t(39,j=le.onWheelRight),"loadedProgress"in le&&t(11,ae=le.loadedProgress),"filledProgress"in le&&t(12,C=le.filledProgress),"handleProgress"in le&&t(13,$=le.handleProgress),"ariaLabel"in le&&t(14,oe=le.ariaLabel),"ariaValueMin"in le&&t(15,Ce=le.ariaValueMin),"ariaValueMax"in le&&t(16,pe=le.ariaValueMax),"ariaValueNow"in le&&t(17,Ee=le.ariaValueNow),"ariaValueText"in le&&t(18,ye=le.ariaValueText)},i.$$.update=()=>{var le;i.$$.dirty[0]&65536&&t(40,se=pe!=null?pe:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((le=p[p.length-1])==null?void 0:le.time)<se),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=p.length&&n&&se?ue(ae*100,C*100):[])},[l,s,r,a,c,f,h,g,L,w,A,ae,C,$,oe,Ce,pe,Ee,ye,P,E,o,q,Te,O,Y,Ie,Pe,p,b,M,J,G,K,z,re,te,Q,T,j,se,n,ge]}class os extends ke{constructor(e){super(),we(this,e,U3,H3,_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},z3,[-1,-1])}}const sn=(i,e)=>fo[i]>=fo[e],j3=(i,e)=>fo[i]<fo[e],mc=(i,e)=>fo[i]<=fo[e],q3=i=>i>oo.L?Et.XL:i>oo.M?Et.L:i>oo.S?Et.M:i>oo.XS?Et.S:Et.XS;function W3(i){De(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 Z3(i){let e,t;return e=new rl({props:{volume:i[4],muted:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function G3(i){let e,t;return e=new gi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],$$slots:{default:[Z3]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Kr(i){let e,t,n;return t=new os({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]:it,onPointerLeave:i[3]?i[18]:it,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=_("div"),H(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[17]:it),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:it),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!n||l[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Y3(i){let e,t,n,o,l,s;t=new dc({props:{content:i[6],translateY:-18,$$slots:{default:[G3]},$$scope:{ctx:i}}});let r=i[0]&&Kr(i);return{c(){e=_("div"),H(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){y(a,e,c),D(t,e,null),m(e,n),r&&r.m(e,null),o=!0,l||(s=[Le(e,"mouseenter",function(){Sn(i[3]?i[19]:it)&&(i[3]?i[19]:it).apply(this,arguments)}),Le(e,"mouseleave",function(){Sn(i[3]?i[20]:it)&&(i[3]?i[20]:it).apply(this,arguments)}),Le(e,"wheel",vi(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]?r?(r.p(i,c),c[0]&1&&d(r,1)):(r=Kr(i),r.c(),d(r,1),r.m(e,null)):r&&(me(),v(r,1,1,()=>{r=null}),he()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(r),o=!0)},o(a){v(t.$$.fragment,a),v(r),o=!1},d(a){a&&k(e),F(t),r&&r.d(),l=!1,ti(s)}}}function K3(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:r}=e;const a=Ct(),c=xi(),f=a.state.volume$;W(i,f,Ce=>t(4,n=Ce));const h=a.state.muted$;W(i,h,Ce=>t(23,l=Ce));const g=a.actions.internal.setVolume,p=a.ui.currentGridType$;W(i,p,Ce=>t(22,o=Ce));let b=!1,L,w,A,P,I,M,J=1,G=!1;function K(Ce){J=n,g(Ce)}function z(){nc(a,n,c.controls.volumeStepWheel)}function re(){oc(a,n,c.controls.volumeStepWheel)}function te(Ce){g(Ce)}function Q(Ce){const pe=Ce;g(pe,pe===0?J:pe)}function T(){G=!0}function j(){G=!1,$()}function ae(){clearTimeout(L),t(5,b=!0)}function C(){$()}function $(){L=window.setTimeout(()=>{G||t(5,b=!1)},c.controls.volumeBarTimeout)}function oe(Ce){Ce.deltaY<0?z():Ce.deltaY>0&&re()}return i.$$set=Ce=>{"isAudioAvailable"in Ce&&t(0,s=Ce.isAudioAvailable),"click"in Ce&&t(1,r=Ce.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,P=!s||l),i.$$.dirty[0]&4194304&&t(3,I=mc(o,Et.S)),i.$$.dirty[0]&12&&(I?t(6,w=""):t(6,w=ne(P?"tooltip_volume":"tooltip_volume_muted")),t(7,A=ne(P?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,M=P?0:n)},[s,r,P,I,n,b,w,A,M,f,h,p,K,z,re,te,Q,T,j,ae,C,oe,o,l]}class X3 extends ke{constructor(e){super(),we(this,e,K3,Y3,_e,{isAudioAvailable:0,click:1},W3,[-1,-1])}}function Q3(i){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function J3(i){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function x3(i){let e,t,n;function o(r,a){return r[0]?J3:Q3}let l=o(i),s=l(i);return{c(){e=R("svg"),t=R("g"),s.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(r,a){y(r,e,a),m(e,t),s.m(t,null)},p(r,[a]){l!==(l=o(r))&&(s.d(1),s=l(r),s&&(s.c(),s.m(t,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&k(e),s.d()}}}function $3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class ep extends ke{constructor(e){super(),we(this,e,$3,x3,_e,{isFullscreen:0})}}function tp(i){let e,t;return e=new ep({props:{isFullscreen:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ip(i){let e,t;return e=new gi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],$$slots:{default:[tp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function np(i,e,t){let{isFullscreen:n=!1}=e,{click:o=it}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=ne(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class hc extends ke{constructor(e){super(),we(this,e,np,ip,_e,{isFullscreen:0,click:1})}}function op(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class ls extends ke{constructor(e){super(),we(this,e,null,op,_e,{})}}function lp(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class pc extends ke{constructor(e){super(),we(this,e,null,lp,_e,{})}}function sp(i){De(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 Xr(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function rp(i){let e,t,n,o,l=i[0]&&Xr();var s=i[5];function r(a){return{}}return s&&(n=bn(s,r())),{c(){l&&l.c(),e=B(),t=_("div"),n&&H(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),y(a,e,c),y(a,t,c),n&&D(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Xr(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&32&&s!==(s=a[5])){if(n){me();const f=n;v(f.$$.fragment,1,0,()=>{F(f,1)}),he()}s?(n=bn(s,r()),H(n.$$.fragment),d(n.$$.fragment,1),D(n,t,null)):n=null}(!o||c&1)&&V(t,"mobile",a[0])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&v(n.$$.fragment,a),o=!1},d(a){a&&(k(e),k(t)),l&&l.d(a),n&&F(n)}}}function ap(i){let e,t;return e=new gi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[3],disabled:i[1],ariaLabel:i[4],$$slots:{default:[rp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&8&&(l.click=n[3]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function up(i,e,t){let n,{isMobile:o=!1}=e,{isPlaying:l=!1}=e,{disabled:s=!1}=e,{className:r=""}=e,{click:a=it}=e,c;return i.$$set=f=>{"isMobile"in f&&t(0,o=f.isMobile),"isPlaying"in f&&t(6,l=f.isPlaying),"disabled"in f&&t(1,s=f.disabled),"className"in f&&t(2,r=f.className),"click"in f&&t(3,a=f.click)},i.$$.update=()=>{i.$$.dirty&64&&t(4,c=ne(l?"tooltip_pause":"tooltip_play")),i.$$.dirty&64&&t(5,n=l?pc:ls)},[o,s,r,a,c,n,l]}class ss extends ke{constructor(e){super(),we(this,e,up,ap,_e,{isMobile:0,isPlaying:6,disabled:1,className:2,click:3},sp)}}function cp(i){De(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 fp(i){let e,t,n;return{c(){e=R("svg"),t=R("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){y(o,e,l),m(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:Z,o:Z,d(o){o&&k(e)}}}function dp(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 mp extends ke{constructor(e){super(),we(this,e,dp,fp,_e,{isPrev:0,isMobile:1},cp)}}function hp(i){let e,t;return e=new mp({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function pp(i){let e,t;return e=new gi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[hp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function vp(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=ne(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,r]}class al extends ke{constructor(e){super(),we(this,e,vp,pp,_e,{isMobile:0,disabled:1,type:2,click:3})}}function gp(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class bp extends ke{constructor(e){super(),we(this,e,null,gp,_e,{})}}function Qr(i){let e,t,n,o,l,s,r;return{c(){e=R("path"),t=R("path"),n=R("path"),o=R("path"),l=R("path"),s=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(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(s,"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(s,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){y(a,e,c),y(a,t,c),y(a,n,c),y(a,o,c),y(a,l,c),y(a,s,c),y(a,r,c)},d(a){a&&(k(e),k(t),k(n),k(o),k(l),k(s),k(r))}}}function _p(i){let e,t,n,o=!i[0]&&Qr();return{c(){e=R("svg"),t=R("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,s){y(l,e,s),m(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=Qr(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:Z,o:Z,d(l){l&&k(e),o&&o.d()}}}function wp(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.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 kp extends ke{constructor(e){super(),we(this,e,wp,_p,_e,{short:0})}}function yp(i){let e,t;return e=new bp({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p:Z,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Cp(i){let e,t;return e=new kp({props:{short:i[3]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Pp(i){let e,t,n,o;const l=[Cp,yp],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Sp(i){let e,t;return e=new gi({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:[Pp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Tp(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:r=void 0}=e,{click:a}=e;const c=xi(),{logoLink:f,addTimeToLogoLink:h}=c,g=Ct(),p=g.state.positionWithScrubbing$;W(i,p,M=>t(12,n=M));const b=g.ui.currentGridType$;W(i,b,M=>t(10,o=M));const L=g.ui.isMobile;W(i,L,M=>t(11,l=M));let w,A,P;const I=()=>{let M;if(A||!r)M=f;else{const J=Math.round(n);if(h&&J){const G=new URL(r);G.searchParams.append("t",s0(J)),M=G.toString()}else M=r}a(),window.open(M,"_blank")};return i.$$set=M=>{"logoClickable"in M&&t(0,s=M.logoClickable),"videoLogoUrl"in M&&t(8,r=M.videoLogoUrl),"click"in M&&t(9,a=M.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,P=(l||mc(o,Et.L))&&A)},t(2,w=c.logoType===co.VK_VIDEO?ne("tooltip_vk_video_logo"):ne("tooltip_vk_logo")),t(1,A=c.logoType===co.VK_VIDEO),[s,A,w,P,p,b,L,I,r,a,o,l]}class vc extends ke{constructor(e){super(),we(this,e,Tp,Sp,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function Ep(i){De(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 Ap(i){let e,t,n,o,l,s,r,a;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("path"),s=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(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(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),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){y(c,e,f),m(e,t),m(t,n),m(t,o),m(t,l),m(t,s),m(t,r),m(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&k(e)}}}function Lp(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J;return{c(){e=R("svg"),t=R("g"),n=R("mask"),o=R("path"),s=R("path"),r=R("path"),c=R("path"),f=R("defs"),h=R("clipPath"),g=R("path"),b=R("filter"),L=R("feFlood"),w=R("feColorMatrix"),A=R("feOffset"),P=R("feGaussianBlur"),I=R("feColorMatrix"),M=R("feBlend"),J=R("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),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(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=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(g,"fill",p=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(L,"flood-opacity","0"),u(L,"result","BackgroundImageFix"),u(w,"in","SourceAlpha"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(w,"result","hardAlpha"),u(P,"stdDeviation","2.5"),u(I,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(J,"in","SourceGraphic"),u(J,"in2","effect1_dropShadow_4085_178456"),u(J,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(G,K){y(G,e,K),m(e,t),m(t,n),m(n,o),m(n,s),m(t,r),m(t,c),m(e,f),m(f,h),m(h,g),m(f,b),m(b,L),m(b,w),m(b,A),m(b,P),m(b,I),m(b,M),m(b,J)},p(G,K){K&2&&l!==(l=G[1]?"#2688EB":"#fff")&&u(o,"fill",l),K&2&&a!==(a=G[1]?"#2688EB":"#fff")&&u(r,"fill",a),K&2&&p!==(p=G[1]?"#2688EB":"#fff")&&u(g,"fill",p)},d(G){G&&k(e)}}}function Vp(i){let e;function t(l,s){return l[0]?Lp:Ap}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function Ip(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(3,o=r.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===gn.CONNECTING),t(1,l=o===gn.CONNECTED))},[n,l,s,o]}class Mp extends ke{constructor(e){super(),we(this,e,Ip,Vp,_e,{isMobile:0,state:3},Ep)}}function Rp(i){let e,t;return e=new Mp({props:{isMobile:i[0],state:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Np(i){let e,t;return e=new gi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Rp]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Bp(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=it}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(1,o=r.state),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===gn.CONNECTED?ne("tooltip_chromecast_on"):ne("tooltip_chromecast_off"))},[n,o,l,s]}class gc extends ke{constructor(e){super(),we(this,e,Bp,Np,_e,{isMobile:0,state:1,click:2})}}function Op(i){let e,t;return e=new xu({props:{isActive:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function zp(i){let e,t;return e=new gi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[Op]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Dp(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"isActiveLive"in r&&t(1,o=r.isActiveLive),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o?"":ne("tooltip_live"))},[n,o,l,s]}class bc extends ke{constructor(e){super(),we(this,e,Dp,zp,_e,{isMobile:0,isActiveLive:1,click:2})}}function Fp(i){De(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 Hp(i){let e,t,n,o;const l=i[9].default,s=Tn(l,i,i[8],null);return{c(){e=_("div"),t=_("div"),s&&s.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(r,a){y(r,e,a),m(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(r,[a]){s&&s.p&&(!o||a&256)&&An(s,l,r,r[8],o?En(l,r[8],a,null):Ln(r[8]),null),(!o||a&1)&&V(t,"active",r[0]),(!o||a&2)&&V(t,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(s,r),o=!0)},o(r){v(s,r),o=!1},d(r){r&&k(e),s&&s.d(r),i[10](null),i[11](null)}}}function Up(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function p(w){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),P=A/2;return w<P?P:w>f-P?f-P:w}function b(w){je[w?"unshift":"push"](()=>{g=w,t(4,g)})}function L(w){je[w?"unshift":"push"](()=>{h=w,t(3,h)})}return i.$$set=w=>{"active"in w&&t(0,s=w.active),"pointer"in w&&t(1,r=w.pointer),"translateXPx"in w&&t(6,a=w.translateXPx),"translateYPx"in w&&t(2,c=w.translateYPx),"containerWidth"in w&&t(7,f=w.containerWidth),"$$scope"in w&&t(8,l=w.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=p(a))},[s,r,c,h,g,n,a,f,l,o,b,L]}class jp extends ke{constructor(e){super(),we(this,e,Up,Hp,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Fp)}}const _c=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function qp(i){De(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 Jr(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Zp:Wp}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function Wp(i){let e=(i[10].text||"")+"",t;return{c(){t=Fe(e)},m(n,o){y(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Je(t,e)},d(n){n&&k(t)}}}function Zp(i){let e=ne("tooltip_episode_unfinished")+"",t;return{c(){t=Fe(e)},m(n,o){y(n,t,o)},p:Z,d(n){n&&k(t)}}}function Gp(i){let e,t,n,o,l,s,r,a,c=i[10]&&Jr(i);return{c(){e=_("div"),t=_("div"),o=B(),l=_("div"),c&&c.c(),s=B(),r=_("div"),a=Fe(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(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){y(f,e,h),m(e,t),m(e,o),m(e,l),c&&c.m(l,null),m(e,s),m(e,r),m(r,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=Jr(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&Je(a,f[0]),h&2&&V(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&k(e),c&&c.d()}}}const to=150;function Yp(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=Ct().ui.rotateAlpha;W(i,g,K=>t(11,n=K));let p,b,L,w,A,P,I,M;function J(){let K=r.frameWidth,z=r.frameHeight;return K>to?(z=z/K*to,K=to):z>to&&(K=K/z*to,z=to),{width:K,height:z}}function G(K){let z;r.isUV?z=Math.floor(c*K/r.frequency):z=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*K)));const re=Math.floor(z/r.countPerImage),te=Math.floor(z%r.countPerImage/r.countPerRow),Q=z%r.countPerRow;let T=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&re===Math.floor(r.countTotal/r.countPerImage)&&(T=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&T++);let j=r.countPerRow;!r.isUV&&re===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(j=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const ae=p*j,C=b*T,$=-Q*p,oe=-te*b;return{imgSrc:r.links[re],imgWidth:ae,imgHeight:C,imgOffsetX:$,imgOffsetY:oe}}return i.$$set=K=>{"time"in K&&t(0,o=K.time),"isMobile"in K&&t(1,l=K.isMobile),"videoEpisodes"in K&&t(13,s=K.videoEpisodes),"previewThumbsData"in K&&t(14,r=K.previewThumbsData),"progress"in K&&t(15,a=K.progress),"duration"in K&&t(16,c=K.duration),"isInteractive"in K&&t(2,f=K.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:L,imgWidth:w,imgHeight:A,imgOffsetX:P,imgOffsetY:I}=G(a),L,(t(6,w),t(15,a)),(t(7,A),t(15,a)),(t(8,P),t(15,a)),(t(9,I),t(15,a))),i.$$.dirty&106496&&t(10,M=_c(a,c,s))},t(3,{width:p,height:b}=J(),p,t(4,b)),[o,l,f,p,b,L,w,A,P,I,M,n,g,s,r,a,c]}class Kp extends ke{constructor(e){super(),we(this,e,Yp,Gp,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},qp)}}function Xp(i){De(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 Qp(i){let e,t;return{c(){e=_("span"),t=Fe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o[0]&128&&Je(t,n[7])},i:Z,o:Z,d(n){n&&k(e)}}}function Jp(i){let e,t;return e=new Kp({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xp(i){let e,t,n,o;const l=[Jp,Qp],s=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function $p(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[xp]},$$scope:{ctx:i}};for(let r=0;r<l.length;r+=1)s=Z1(s,l[r]);return e=new jp({props:s}),n=new os({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:ne("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:ne("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(ht.TIMELINE),hideHandel:i[2]}}),{c(){H(e.$$.fragment),t=B(),H(n.$$.fragment)},m(r,a){D(e,r,a),y(r,t,a),D(n,r,a),o=!0},p(r,a){const c=a[0]&512?V0(l,[I0(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=ne("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ht.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){v(e.$$.fragment,r),v(n.$$.fragment,r),o=!1},d(r){r&&k(t),F(e,r),F(n,r)}}}function ev(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,{showTimeline:b=!1}=e;const L=Ct(),w=xi(),A=L.state.bufferedProgress$;W(i,A,ge=>t(12,g=ge));const P=L.state.positionWithScrubbing$;W(i,P,ge=>t(39,a=ge));const I=L.state.duration$;W(i,I,ge=>t(1,l=ge));const M=L.state.isLive$;W(i,M,ge=>t(0,o=ge));const J=L.state.isActiveLive$;W(i,J,ge=>t(11,h=ge));const G=L.ui.isMobile;W(i,G,ge=>t(10,f=ge));const K=w.features.episodes?L.actions.internal.getVideoEpisodes():void 0,z=L.actions.internal.getPreviewThumbsData(),re=L.state.interactiveEpisodes$;W(i,re,ge=>t(40,c=ge));const te=L.state.isInteractive,Q=L.state.isInteractiveTime$;W(i,Q,ge=>t(2,s=ge));const T=L.state.isInteractiveExpectation$;W(i,T,ge=>t(38,r=ge));const j=L.actions.internal.correctSeekTimeToInteractive,ae=L.ui.controls.disabledControls$;W(i,ae,ge=>t(13,p=ge));let C,$,oe,Ce,pe=!1,Ee="",ye=0,U=0,E=0,se;function q(ge){return!j||!te?ge:j(ge*l)/l}function Te(ge){L.actions.internal.startScrubbing(q(ge))}function O(ge){s||L.actions.internal.progressScrubbing(q(ge))}function Y(ge){L.actions.internal.completeScrubbing(q(ge)),t(34,pe=!1)}function Ie(ge,le,Ze){ee(ge,le,Ze),t(34,pe=!0)}function Pe(ge,le,Ze){ee(ge,le,Ze),t(34,pe=!0)}function ve(){t(34,pe=!1)}function ee(ge,le,Ze){t(8,E=ge),t(35,ye=le),Ze&&t(36,U=Ze),t(7,Ee=ue(ge))}function ue(ge){const le=vn((o?1-ge:ge)*l);return o?`-${le}`:le}return i.$$set=ge=>{"showTimeline"in ge&&t(33,b=ge.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,C=te?c:K),i.$$.dirty[0]&2&&t(4,$=vn(l)),i.$$.dirty[1]&256&&t(5,oe=vn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,Ce=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,se=r||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:U,translateXPx:ye,translateYPx:te&&z?-36:-16,active:pe&&b&&!se,pointer:!w.features.timelinePreview||!z||o})},[o,l,s,C,$,oe,Ce,Ee,E,n,f,h,g,p,w,A,P,I,M,J,G,z,re,te,Q,T,ae,Te,O,Y,Ie,Pe,ve,b,pe,ye,U,se,r,a,c]}let tv=class extends ke{constructor(e){super(),we(this,e,ev,$p,_e,{showTimeline:33},Xp,[-1,-1])}};function iv(i){let e,t;return e=new os({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:ne("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){D(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=ne("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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function nv(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=Ct().ui.isMobile;W(i,r,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=vn(l)),i.$$.dirty&64&&t(2,c=vn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,r,o]}class wc extends ke{constructor(e){super(),we(this,e,nv,iv,_e,{position:6,duration:0})}}function ov(i){De(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 lv(i){let e;return{c(){e=_("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){y(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:Z,o:Z,d(t){t&&k(e)}}}function sv(i){let e,t,n,o;const l=[av,rv],s=[];function r(a,c){return a[0]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=_("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),n=s[t],n?n.p(a,c):(n=s[t]=l[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){v(n),o=!1},d(a){a&&k(e),s[t].d()}}}function rv(i){let e,t;return e=new tv({props:{showTimeline:i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function av(i){let e,t;return e=new wc({props:{position:i[3],duration:i[4]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function uv(i){let e,t,n,o;const l=[sv,lv],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function cv(i,e,t){let n,o,l,s,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Ct(),g=h.state.isLive$;W(i,g,A=>t(12,n=A));const p=h.ads.duration;W(i,p,A=>t(4,s=A));const b=h.ads.position;W(i,b,A=>t(3,l=A));const L=h.ui.isMobile;W(i,L,A=>t(2,o=A));let w;return i.$$set=A=>{"isAds"in A&&t(0,r=A.isAds),"canRewindLive"in A&&t(9,a=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,w=!f&&(!n||n&&a&&c||r))},[r,w,o,l,s,g,p,b,L,a,c,f,n]}class kc extends ke{constructor(e){super(),we(this,e,cv,uv,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},ov)}}function fv(i){let e,t,n,o;return{c(){e=R("svg"),t=R("path"),n=R("path"),o=R("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"),Nt(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,s){y(l,e,s),m(e,t),m(e,n),m(e,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class dv extends ke{constructor(e){super(),we(this,e,null,fv,_e,{})}}function mv(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class hv extends ke{constructor(e){super(),we(this,e,null,mv,_e,{})}}function pv(i){De(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 vv(i){let e,t,n,o;e=new dv({});function l(a,c){if(a[2]===Wn.FULL)return _v;if(a[2]===Wn.COUNT)return bv}let s=l(i),r=s&&s(i);return{c(){H(e.$$.fragment),t=B(),r&&r.c(),n=vt()},m(a,c){D(e,a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){s===(s=l(a))&&r?r.p(a,c):(r&&r.d(1),r=s&&s(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){v(e.$$.fragment,a),o=!1},d(a){a&&(k(t),k(n)),F(e,a),r&&r.d(a)}}}function gv(i){let e,t,n,o,l,s;return l=new hv({}),{c(){e=_("span"),t=Fe(i[1]),n=B(),o=_("div"),H(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){y(r,e,a),m(e,t),y(r,n,a),y(r,o,a),D(l,o,null),s=!0},p(r,a){(!s||a&2)&&Je(t,r[1])},i(r){s||(d(l.$$.fragment,r),s=!0)},o(r){v(l.$$.fragment,r),s=!1},d(r){r&&(k(e),k(n),k(o)),F(l)}}}function bv(i){let e,t=i[0].length+"",n;return{c(){e=_("span"),n=Fe(t),u(e,"class","text count v-1yhs2ga")},m(o,l){y(o,e,l),m(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&Je(n,t)},d(o){o&&k(e)}}}function _v(i){let e,t;return{c(){e=_("span"),t=Fe(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&2&&Je(t,n[1])},d(n){n&&k(e)}}}function wv(i){let e,t,n,o;const l=[gv,vv],s=[];function r(a,c){return a[4]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function kv(i){let e,t;return e=new gi({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:[wv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function yv(i,e,t){var I,M,J,G,K;let n,o,l,s,{position:r=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Ct(),h=(M=(I=f.callbacks)==null?void 0:I.onEpisodeChanged)!=null?M:it,g=(G=(J=f.callbacks)==null?void 0:J.onEpisodeClicked)!=null?G:it,p=!!((K=f.callbacks)!=null&&K.onEpisodeClicked),b=f.ui.currentGridType$;W(i,b,z=>t(13,l=z));const L=f.ui.isMobile;W(i,L,z=>t(4,s=z));let w,A,P;return i.$$set=z=>{"position"in z&&t(9,r=z.position),"duration"in z&&t(10,a=z.duration),"timeCodes"in z&&t(0,c=z.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=r/a),i.$$.dirty&7169){const z=_c(n,a,c);z&&(w==null?void 0:w.text)!==z.text&&(h(z),t(11,w=z))}i.$$.dirty&2048&&t(1,o=(w==null?void 0:w.text)||""),i.$$.dirty&8192&&(sn(l,Et.XL)?t(2,A=Wn.FULL):sn(l,Et.M)&&j3(l,Et.XL)?t(2,A=Wn.COUNT):t(2,A=Wn.SHORT)),i.$$.dirty&2&&t(3,P=`${ne("tooltip_episodes")}: ${o}`)},[c,o,A,P,s,g,p,b,L,r,a,w,n,l]}class yc extends ke{constructor(e){super(),we(this,e,yv,kv,_e,{position:9,duration:10,timeCodes:0},pv)}}function Cv(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&k(e)}}}class Pv extends ke{constructor(e){super(),we(this,e,null,Cv,_e,{})}}function Sv(i){let e,t;return e=new Pv({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Tv(i){let e,t;return e=new gi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:ne("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[Sv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ev(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class Cc extends ke{constructor(e){super(),we(this,e,Ev,Tv,_e,{hidden:0,disabled:1,click:2})}}function Av(i){let e,t,n;return{c(){e=R("svg"),t=R("path"),n=R("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){y(o,e,l),m(e,t),m(e,n)},p(o,[l]){l&1&&V(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&k(e)}}}function Lv(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Vv extends ke{constructor(e){super(),we(this,e,Lv,Av,_e,{isOpened:0})}}function Iv(i){let e,t;return e=new Vv({props:{isOpened:i[2]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Mv(i){let e,t;return e=new gi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[Iv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Rv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=ne(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,r]}class Pc extends ke{constructor(e){super(),we(this,e,Rv,Mv,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Nv(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Bv extends ke{constructor(e){super(),we(this,e,null,Nv,_e,{})}}function Ov(i){De(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 xr(i){let e;return{c(){e=_("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){y(t,e,n)},d(t){t&&k(e)}}}function zv(i){let e,t,n,o,l=i[0]&&xr();return n=new Bv({}),{c(){l&&l.c(),e=B(),t=_("div"),H(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(s,r){l&&l.m(s,r),y(s,e,r),y(s,t,r),D(n,t,null),o=!0},p(s,r){s[0]?l||(l=xr(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||r&1)&&V(t,"mobile",s[0])},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&(k(e),k(t)),l&&l.d(s),F(n)}}}function Dv(i){let e,t;return e=new gi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:ne("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[zv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Fv(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=it}=e;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"className"in r&&t(2,l=r.className),"click"in r&&t(3,s=r.click)},[n,o,l,s]}class rs extends ke{constructor(e){super(),we(this,e,Fv,Dv,_e,{isMobile:0,disabled:1,className:2,click:3},Ov)}}function Hv(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Uv extends ke{constructor(e){super(),we(this,e,null,Hv,_e,{})}}function jv(i){let e,t;return e=new Uv({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qv(i){let e,t;return e=new gi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:ne("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[jv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Wv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class Sc extends ke{constructor(e){super(),we(this,e,Wv,qv,_e,{hidden:0,disabled:1,click:2})}}function Zv(i){De(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 Gv(i){let e,t,n,o;return{c(){e=_("img"),u(e,"class","icon v-1x1zctw"),vs(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),n||(o=Le(e,"error",i[7]),n=!0)},p(l,s){s&1&&!vs(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&k(e),n=!1,o()}}}function Yv(i){let e;return{c(){e=_("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function Kv(i){let e;function t(l,s){return l[5]?Yv:Gv}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&k(e),o.d(l)}}}function Xv(i){let e,t;return e=new gi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[Kv]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qv(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=it}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,r=g.ariaLabel),"disabled"in g&&t(8,a=g.disabled),"testId"in g&&t(2,c=g.testId),"onClick"in g&&t(3,f=g.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===it),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[s,r,c,f,n,l,o,h,a]}class Tc extends ke{constructor(e){super(),we(this,e,Qv,Xv,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Zv)}}function Jv(i){De(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 $r(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 ea(i){let e,t,n;function o(s){i[135](s)}let l={disabled:!i[9],tooltipContent:ne("tooltip_previous"),$$slots:{default:[xv]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&512&&(a.disabled=!s[9]),r[0]&4608|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[0]&1073741824&&(t=!0,a.width=s[30],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function xv(i){let e,t;return e=new al({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ta(i){let e,t,n;function o(s){i[136](s)}let l={disabled:i[66],tooltipContent:ne("tooltip_restart"),$$slots:{default:[$v]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&16&&(a.disabled=s[66]),r[2]&16|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&1&&(t=!0,a.width=s[31],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function $v(i){let e,t;return e=new rs({props:{click:i[113],disabled:i[66]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ia(i){let e,t,n;function o(s){i[137](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[e5]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&67108864&&(a.tooltipContent=s[57]),r[2]&32&&(a.disabled=s[67]),r[1]&2097152|r[2]&32|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2&&(t=!0,a.width=s[32],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function e5(i){let e,t;return e=new ss({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function na(i){let e,t,n;function o(s){i[138](s)}let l={disabled:!i[8],tooltipContent:ne("tooltip_next"),$$slots:{default:[t5]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&256&&(a.disabled=!s[8]),r[0]&2304|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4&&(t=!0,a.width=s[33],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function t5(i){let e,t;return e=new al({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function i5(i){let e,t,n,o,l=i[107]&&n5(i),s=i[106]&&l5(i),r=i[105]&&r5(i);return{c(){l&&l.c(),e=B(),s&&s.c(),t=B(),r&&r.c(),n=vt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[107]&&l.p(a,c),a[106]&&s.p(a,c),a[105]&&r.p(a,c)},i(a){o||(d(l),d(s),d(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function n5(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[65],tooltipContent:ne("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&ne(i[109]),$$slots:{default:[o5]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&8&&(a.disabled=s[65]),r[0]&131072|r[2]&8|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8&&(t=!0,a.width=s[34],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function o5(i){let e,t;return e=new Sc({props:{disabled:i[65],click:i[17]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function l5(i){let e,t,n;function o(s){i[140](s)}let l={disabled:i[68],tooltipContent:ne("tooltip_interactive_seek"),$$slots:{default:[s5]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&64&&(a.disabled=s[68]),r[0]&32768|r[2]&64|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16&&(t=!0,a.width=s[35],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function s5(i){let e,t;return e=new Cc({props:{disabled:i[68],click:i[15]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function r5(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[a5]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&134217728&&(a.tooltipContent=s[58]),r[2]&128&&(a.disabled=s[69]),r[0]&65536|r[1]&524288|r[2]&128|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32&&(t=!0,a.width=s[36],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function a5(i){let e,t;return e=new Pc({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function oa(i){let e,t,n;function o(s){i[142](s)}let l={tooltipContent:i[59],$$slots:{default:[u5]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&268435456&&(a.tooltipContent=s[59]),r[0]&268435456|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&64&&(t=!0,a.width=s[37],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function u5(i){let e,t;return e=new bc({props:{isActiveLive:i[28],click:i[111],isMobile:!1}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function la(i){let e,t,n;function o(s){i[143](s)}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 fc({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&4&&(a.showDuration=s[64]),r[0]&16|r[2]&1536&&(a.position=s[4]?s[71]:s[72]),r[0]&16|r[2]&6144&&(a.duration=s[4]?s[73]:s[74]),!t&&r[1]&128&&(t=!0,a.width=s[38],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function sa(i){let e,t;return e=new yc({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function c5(i){let e,t,n=i[27]&&sa(i);return{c(){n&&n.c(),e=vt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&d(n,1)):(n=sa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function f5(i){var n;let e,t;return e=new Tc({props:{iconUrl:i[163],ariaLabel:(n=i[164])!=null?n:i[167],testId:i[165],onClick:i[166]}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[1]&32768&&(s.iconUrl=o[163]),l[1]&32768&&(s.ariaLabel=(r=o[164])!=null?r:o[167]),l[1]&32768&&(s.testId=o[165]),l[1]&32768&&(s.onClick=o[166]),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function ra(i){let e,t;return e=new Gt({props:{tooltipContent:i[167],width:40,$$slots:{default:[f5]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function aa(i){let e,t,n;function o(s){i[146](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[d5]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&64&&(a.disabled=!s[6]),r[1]&536870912&&(a.tooltipContent=s[60]),r[0]&192|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&512&&(t=!0,a.width=s[40],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function d5(i){let e,t;return e=new vc({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function m5(i){let e,t;return e=new X3({props:{isAudioAvailable:i[70],click:i[112]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ua(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[61],$$slots:{default:[h5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1073741824&&(a.tooltipContent=s[61]),r[0]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function h5(i){let e,t;return e=new l3({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ca(i){var o;let e,t,n;return t=new cc({props:{supportLink:i[10],playerControlsHeight:(o=i[56])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(l,s){y(l,e,s),D(t,e,null),n=!0},p(l,s){var a;const r={};s[0]&1024&&(r.supportLink=l[10]),s[1]&33554432&&(r.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),s[0]&16384&&(r.returnFocus=l[14]),t.$set(r)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&k(e),F(t)}}}function fa(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[76]?void 0:ne("tooltip_settings_off"),$$slots:{default:[p5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&16384&&(a.tooltipContent=s[76]?void 0:ne("tooltip_settings_off")),r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function p5(i){let e,t;return e=new ns({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function da(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[62],$$slots:{default:[v5]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&1&&(a.tooltipContent=s[62]),r[0]&8192|r[1]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8192&&(t=!0,a.width=s[44],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function v5(i){let e,t;return e=new hc({props:{click:i[13],isFullscreen:i[49]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ma(i){let e,t,n;function o(s){i[151](s)}let l={tooltipContent:i[63],$$slots:{default:[g5]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[2]&2&&(a.tooltipContent=s[63]),r[1]&131072|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16384&&(t=!0,a.width=s[45],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function g5(i){let e,t;return e=new gc({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function b5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q;t=new kc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let T=i[54]&&ea(i),j=i[19]&&ta(i),ae=i[20]&&ia(i),C=i[53]&&na(i),$=i[104]&&i5(i),oe=!i[4]&&i[47]&&oa(i),Ce=i[26]&&la(i);function pe(ee){i[144](ee)}let Ee={className:"w-max",disabled:!i[27],tooltipContent:ne("tooltip_episodes"),$$slots:{default:[c5]},$$scope:{ctx:i}};i[39]!==void 0&&(Ee.width=i[39]),p=new Gt({props:Ee}),je.push(()=>yt(p,"width",pe));let ye=Wt(i[46]),U=[];for(let ee=0;ee<ye.length;ee+=1)U[ee]=ra($r(i,ye,ee));const E=ee=>v(U[ee],1,1,()=>{U[ee]=null});let se=i[24]&&aa(i);function q(ee){i[147](ee)}let Te={$$slots:{default:[m5]},$$scope:{ctx:i}};i[41]!==void 0&&(Te.width=i[41]),M=new Gt({props:Te}),je.push(()=>yt(M,"width",q));let O=i[22]&&ua(i),Y=!i[75]&&!i[4]&&ca(i),Ie=i[23]&&fa(i),Pe=i[25]&&da(i),ve=i[21]&&ma(i);return{c(){e=_("div"),H(t.$$.fragment),n=B(),o=_("div"),l=_("div"),T&&T.c(),s=B(),j&&j.c(),r=B(),ae&&ae.c(),a=B(),C&&C.c(),c=B(),$&&$.c(),f=B(),oe&&oe.c(),h=B(),Ce&&Ce.c(),g=B(),H(p.$$.fragment),w=B(),A=_("div");for(let ee=0;ee<U.length;ee+=1)U[ee].c();P=B(),se&&se.c(),I=B(),H(M.$$.fragment),G=B(),O&&O.c(),K=B(),Y&&Y.c(),z=B(),Ie&&Ie.c(),re=B(),Pe&&Pe.c(),te=B(),ve&&ve.c(),u(l,"class","controls-left v-st0uzk"),Zn(()=>i[145].call(l)),u(A,"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(ee,ue){y(ee,e,ue),D(t,e,null),m(e,n),m(e,o),m(o,l),T&&T.m(l,null),m(l,s),j&&j.m(l,null),m(l,r),ae&&ae.m(l,null),m(l,a),C&&C.m(l,null),m(l,c),$&&$.m(l,null),m(l,f),oe&&oe.m(l,null),m(l,h),Ce&&Ce.m(l,null),m(l,g),D(p,l,null),L=il(l,i[145].bind(l)),m(o,w),m(o,A);for(let ge=0;ge<U.length;ge+=1)U[ge]&&U[ge].m(A,null);m(A,P),se&&se.m(A,null),m(A,I),D(M,A,null),m(A,G),O&&O.m(A,null),m(A,K),Y&&Y.m(A,null),m(A,z),Ie&&Ie.m(A,null),m(A,re),Pe&&Pe.m(A,null),m(A,te),ve&&ve.m(A,null),i[152](o),i[153](e),Q=!0},p(ee,ue){const ge={};ue[1]&16777216&&(ge.isHidden=!ee[55]),ue[0]&16&&(ge.isAds=ee[4]),ue[0]&32&&(ge.canRewindLive=ee[5]),ue[1]&1048576&&(ge.isRewindableLive=ee[51]),t.$set(ge),ee[54]?T?(T.p(ee,ue),ue[1]&8388608&&d(T,1)):(T=ea(ee),T.c(),d(T,1),T.m(l,s)):T&&(me(),v(T,1,1,()=>{T=null}),he()),ee[19]?j?(j.p(ee,ue),ue[0]&524288&&d(j,1)):(j=ta(ee),j.c(),d(j,1),j.m(l,r)):j&&(me(),v(j,1,1,()=>{j=null}),he()),ee[20]?ae?(ae.p(ee,ue),ue[0]&1048576&&d(ae,1)):(ae=ia(ee),ae.c(),d(ae,1),ae.m(l,a)):ae&&(me(),v(ae,1,1,()=>{ae=null}),he()),ee[53]?C?(C.p(ee,ue),ue[1]&4194304&&d(C,1)):(C=na(ee),C.c(),d(C,1),C.m(l,c)):C&&(me(),v(C,1,1,()=>{C=null}),he()),ee[104]&&$.p(ee,ue),!ee[4]&&ee[47]?oe?(oe.p(ee,ue),ue[0]&16|ue[1]&65536&&d(oe,1)):(oe=oa(ee),oe.c(),d(oe,1),oe.m(l,h)):oe&&(me(),v(oe,1,1,()=>{oe=null}),he()),ee[26]?Ce?(Ce.p(ee,ue),ue[0]&67108864&&d(Ce,1)):(Ce=la(ee),Ce.c(),d(Ce,1),Ce.m(l,g)):Ce&&(me(),v(Ce,1,1,()=>{Ce=null}),he());const le={};if(ue[0]&134217728&&(le.disabled=!ee[27]),ue[0]&134217728|ue[2]&5120|ue[5]&32768&&(le.$$scope={dirty:ue,ctx:ee}),!b&&ue[1]&256&&(b=!0,le.width=ee[39],kt(()=>b=!1)),p.$set(le),ue[1]&32768){ye=Wt(ee[46]);let He;for(He=0;He<ye.length;He+=1){const at=$r(ee,ye,He);U[He]?(U[He].p(at,ue),d(U[He],1)):(U[He]=ra(at),U[He].c(),d(U[He],1),U[He].m(A,P))}for(me(),He=ye.length;He<U.length;He+=1)E(He);he()}ee[24]?se?(se.p(ee,ue),ue[0]&16777216&&d(se,1)):(se=aa(ee),se.c(),d(se,1),se.m(A,I)):se&&(me(),v(se,1,1,()=>{se=null}),he());const Ze={};ue[2]&256|ue[5]&32768&&(Ze.$$scope={dirty:ue,ctx:ee}),!J&&ue[1]&1024&&(J=!0,Ze.width=ee[41],kt(()=>J=!1)),M.$set(Ze),ee[22]?O?(O.p(ee,ue),ue[0]&4194304&&d(O,1)):(O=ua(ee),O.c(),d(O,1),O.m(A,K)):O&&(me(),v(O,1,1,()=>{O=null}),he()),!ee[75]&&!ee[4]?Y?(Y.p(ee,ue),ue[0]&16|ue[2]&8192&&d(Y,1)):(Y=ca(ee),Y.c(),d(Y,1),Y.m(A,z)):Y&&(me(),v(Y,1,1,()=>{Y=null}),he()),ee[23]?Ie?(Ie.p(ee,ue),ue[0]&8388608&&d(Ie,1)):(Ie=fa(ee),Ie.c(),d(Ie,1),Ie.m(A,re)):Ie&&(me(),v(Ie,1,1,()=>{Ie=null}),he()),ee[25]?Pe?(Pe.p(ee,ue),ue[0]&33554432&&d(Pe,1)):(Pe=da(ee),Pe.c(),d(Pe,1),Pe.m(A,te)):Pe&&(me(),v(Pe,1,1,()=>{Pe=null}),he()),ee[21]?ve?(ve.p(ee,ue),ue[0]&2097152&&d(ve,1)):(ve=ma(ee),ve.c(),d(ve,1),ve.m(A,null)):ve&&(me(),v(ve,1,1,()=>{ve=null}),he()),(!Q||ue[0]&2)&&V(e,"hidden",ee[1]),(!Q||ue[0]&8)&&V(e,"controls-hidden",!ee[3]),(!Q||ue[0]&4)&&V(e,"no-smooth",ee[2])},i(ee){if(!Q){d(t.$$.fragment,ee),d(T),d(j),d(ae),d(C),d($),d(oe),d(Ce),d(p.$$.fragment,ee);for(let ue=0;ue<ye.length;ue+=1)d(U[ue]);d(se),d(M.$$.fragment,ee),d(O),d(Y),d(Ie),d(Pe),d(ve),Q=!0}},o(ee){v(t.$$.fragment,ee),v(T),v(j),v(ae),v(C),v($),v(oe),v(Ce),v(p.$$.fragment,ee),U=U.filter(Boolean);for(let ue=0;ue<U.length;ue+=1)v(U[ue]);v(se),v(M.$$.fragment,ee),v(O),v(Y),v(Ie),v(Pe),v(ve),Q=!1},d(ee){ee&&k(e),F(t),T&&T.d(),j&&j.d(),ae&&ae.d(),C&&C.d(),$&&$.d(),oe&&oe.d(),Ce&&Ce.d(),F(p),L(),un(U,ee),se&&se.d(),F(M),O&&O.d(),Y&&Y.d(),Ie&&Ie.d(),Pe&&Pe.d(),ve&&ve.d(),i[152](null),i[153](null)}}}function _5(i,e,t){var Yn,Kn;let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,{bottomHidden:oe}=e,{bottomNoSmooth:Ce}=e,{showControls:pe}=e,{controlsElementRef:Ee=void 0}=e,{isAds:ye=!1}=e,{canRewindLive:U}=e,{logoClickable:E}=e,{logoHidden:se}=e,{videoLogoUrl:q}=e,{showNextPrevButtons:Te}=e,{nextButtonActive:O}=e,{prevButtonActive:Y}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:ve=!0}=e,{playNextVideo:ee}=e,{playPrevVideo:ue}=e,{repeatPlaylist:ge}=e,{toggleFullscreen:le}=e,{returnFocus:Ze}=e,{seekToInteractive:He}=e,{toggleGraph:at}=e,{playPrevChapter:nt}=e;const Oe=Ct(),ft=xi(),wt=Oe.actions.internal.toggleMuted,Me=Oe.actions.internal.togglePlay,Ne=Oe.actions.internal.pause,Dt=Oe.actions.internal.toggleSubtitle,de=(Yn=Oe.callbacks)==null?void 0:Yn.onAudioDoesNotExistHint,et=(Kn=Oe.callbacks)==null?void 0:Kn.onAudioDisabledHint,xe=Oe.state.duration$;W(i,xe,ie=>t(74,ae=ie));const Qe=Oe.state.positionWithScrubbing$;W(i,Qe,ie=>t(72,T=ie));const Ge=Oe.state.playbackState$;W(i,Ge,ie=>t(125,w=ie));const Ye=Oe.state.chromecastConnected$;W(i,Ye,ie=>t(75,C=ie));const $e=Oe.state.isAudioAvailable$;W(i,$e,ie=>t(70,c=ie));const lt=Oe.state.isAudioDisabled,ot=Oe.state.isEnded$;W(i,ot,ie=>t(131,K=ie));const ze=Oe.state.isLive$;W(i,ze,ie=>t(47,g=ie));const Vt=Oe.state.isActiveLive$;W(i,Vt,ie=>t(126,A=ie));const Pt=Oe.state.isRewindableLive$;W(i,Pt,ie=>t(51,P=ie));const st=Oe.ui.isPictureInPictureActive$;W(i,st,ie=>t(129,J=ie));const si=Oe.ui.pictureInPictureType$;W(i,si,ie=>t(128,M=ie));const dt=Oe.ui.settingsMenuVisible;W(i,dt,ie=>t(76,$=ie));const Ke=Oe.ui.controls,At=Oe.actions.internal.getVideoEpisodes(),ut=Oe.state.chromecastState$;W(i,ut,ie=>t(48,p=ie));const bi=Oe.state.availableSubtitlesList$;W(i,bi,ie=>t(130,G=ie));const fe=Oe.state.currentSubtitle$;W(i,fe,ie=>t(132,z=ie));const Se=Ke.disabledControls$;W(i,Se,ie=>t(134,te=ie));const Ve=Oe.ads.duration;W(i,Ve,ie=>t(73,j=ie));const It=Oe.ads.position;W(i,It,ie=>t(71,Q=ie));const xt=Oe.ads.playbackState;W(i,xt,ie=>t(133,re=ie));const Ae=Oe.ui.isFullscreen;W(i,Ae,ie=>t(49,b=ie));const ii=Oe.ui.playerSize;W(i,ii,ie=>t(127,I=ie));const ri=Oe.ui.currentGridType$;W(i,ri,ie=>t(124,h=ie));const Ft=Oe.ui.additionalButtons$;W(i,Ft,ie=>t(46,f=ie));const Ii=Oe.actions.internal.replayInteractive,Ht=Oe.state.isInteractive,Yi=Oe.state.isInteractiveGraphEnabled,ai=Oe.state.isSeekToInteractiveEnable,Mi=Oe.state.isPlayPrevChapterEnabled,St=Oe.state.graphIsOpened$;W(i,St,ie=>t(50,L=ie));const nn=Oe.state.playPrevChapterDisabledTooltip,ni=()=>Oe.actions.internal.toggleChromecast(),on=()=>Oe.actions.internal.switchToActiveLive();let Tt,Ri,ui,Ei,Ui,oi,Ni,Ai,Li,Yt,ci,_i,ji,fi,Bt,li,Bi,Ki,di,Oi,zi,mi,wi,qi,Kt,Ut,ki,jt,Xt,hi,yi,Vi,Ci,Di,Fi,Pi,Xi,Qt,qt,Mt,Wi,Jt,ce,$t,$i;function fn(ie,Hn){let N=yo;const tt=(pi,Si,kn)=>{let Un=Si?pi+Si+(pi?H0:0):pi;return kn.set({positionStartX:pi,positionEndX:Un,isDisplayed:Hn&&pi!==Un}),Un};N=tt(N,ie.prevButtonWidth,Ke.prevButton),N=tt(N,ie.replayButtonWidth,Ke.replayButton),N=tt(N,ie.playButtonWidth,Ke.playButton),N=tt(N,ie.nextButtonWidth,Ke.nextButton),N=tt(N,ie.playPrevChapterWidth,Ke.playPrevChapterButton),N=tt(N,ie.seekToInteractiveWidth,Ke.seekToInteractiveButton),N=tt(N,ie.interactiveGraphWidth,Ke.interactiveGraphButton),N=tt(N,ie.liveButtonWidth,Ke.liveButton),N=tt(N,ie.timeWidth,Ke.time),N=tt(N,ie.episodesWidth,Ke.episodes),f.forEach((pi,Si)=>{N=tt(N,ie.additionalButtonWidths[Si],Ke.additionalButtons[Si])}),N=tt(N,ie.vkLogoWidth,Ke.vkLogo),N=tt(N,ie.volumeWidth,Ke.volume),N=tt(N,ie.subtitlesWidth,Ke.subtitles),N=tt(N,ie.settingsWidth,Ke.settings),N=tt(N,ie.fullscreenWidth,Ke.fullscreen),tt(N,ie.chromecastWidth,Ke.chromecast)}function In(){lt?et==null||et():c?wt():de==null||de()}const Mn=Ht?Ii:Ie?Me:ge;function dn(ie){Ut=ie,t(30,Ut)}function Qi(ie){ki=ie,t(31,ki)}function _n(ie){jt=ie,t(32,jt)}function wn(ie){Xt=ie,t(33,Xt)}function Dn(ie){hi=ie,t(34,hi)}function Fn(ie){yi=ie,t(35,yi)}function Rn(ie){Vi=ie,t(36,Vi)}function X(ie){Ci=ie,t(37,Ci)}function pt(ie){Di=ie,t(38,Di)}function mn(ie){Fi=ie,t(39,Fi)}function en(){Kt=this.clientWidth,t(29,Kt)}function hn(ie){Pi=ie,t(40,Pi)}function ln(ie){Xi=ie,t(41,Xi)}function ho(ie){Qt=ie,t(42,Qt)}function po(ie){qt=ie,t(43,qt)}function vo(ie){Mt=ie,t(44,Mt)}function go(ie){Wi=ie,t(45,Wi)}function bo(ie){je[ie?"unshift":"push"](()=>{li=ie,t(56,li)})}function _o(ie){je[ie?"unshift":"push"](()=>{Ee=ie,t(0,Ee)})}return i.$$set=ie=>{"bottomHidden"in ie&&t(1,oe=ie.bottomHidden),"bottomNoSmooth"in ie&&t(2,Ce=ie.bottomNoSmooth),"showControls"in ie&&t(3,pe=ie.showControls),"controlsElementRef"in ie&&t(0,Ee=ie.controlsElementRef),"isAds"in ie&&t(4,ye=ie.isAds),"canRewindLive"in ie&&t(5,U=ie.canRewindLive),"logoClickable"in ie&&t(6,E=ie.logoClickable),"logoHidden"in ie&&t(114,se=ie.logoHidden),"videoLogoUrl"in ie&&t(7,q=ie.videoLogoUrl),"showNextPrevButtons"in ie&&t(115,Te=ie.showNextPrevButtons),"nextButtonActive"in ie&&t(8,O=ie.nextButtonActive),"prevButtonActive"in ie&&t(9,Y=ie.prevButtonActive),"isOneVideoPlaylist"in ie&&t(116,Ie=ie.isOneVideoPlaylist),"supportLink"in ie&&t(10,Pe=ie.supportLink),"customFullscreenSupported"in ie&&t(117,ve=ie.customFullscreenSupported),"playNextVideo"in ie&&t(11,ee=ie.playNextVideo),"playPrevVideo"in ie&&t(12,ue=ie.playPrevVideo),"repeatPlaylist"in ie&&t(118,ge=ie.repeatPlaylist),"toggleFullscreen"in ie&&t(13,le=ie.toggleFullscreen),"returnFocus"in ie&&t(14,Ze=ie.returnFocus),"seekToInteractive"in ie&&t(15,He=ie.seekToInteractive),"toggleGraph"in ie&&t(16,at=ie.toggleGraph),"playPrevChapter"in ie&&t(17,nt=ie.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&1024&&t(123,n=te.has(ht.EPISODE_BUTTON)),i.$$.dirty[4]&1024&&t(69,o=te.has(ht.GRAPH_BUTTON)),i.$$.dirty[4]&1024&&t(68,l=te.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&1024&&t(67,s=te.has(ht.PLAY_BUTTON)),i.$$.dirty[4]&1024&&t(66,r=te.has(ht.REPLAY_BUTTON)),i.$$.dirty[4]&1024&&t(65,a=te.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&514&&t(52,Tt=ye?re===Zt.PLAYING:w===Ti.PLAYING),i.$$.dirty[4]&256&&t(18,Ri=z.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(19,ui=K&&!ye||Ht),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(20,Ei=!K||Ht||ye),i.$$.dirty[4]&1&&t(119,Ui=sn(h,Et.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(53,oi=Te&&sn(h,Et.M)&&!ye&&O),i.$$.dirty[0]&528|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(54,Ni=Te&&sn(h,Et.M)&&!ye&&Y),i.$$.dirty[1]&131072|i.$$.dirty[4]&49&&t(21,Ai=p!==gn.NOT_AVAILABLE&&!(J&&M===Pn.DocumentPictureInPicture)&&sn(h,Et.M)&&!Ht),i.$$.dirty[4]&65&&t(22,Li=G.length>0&&sn(h,Et.M)),i.$$.dirty[4]&1&&t(23,Yt=sn(h,Et.S)),i.$$.dirty[3]&2097152&&t(24,ci=!se),i.$$.dirty[3]&18874368|i.$$.dirty[4]&49&&t(25,_i=ft.features.fullscreen&&(se||sn(h,Et.S))&&!(J&&M===Pn.DocumentPictureInPicture)&&(Ht?ve:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,ji=(!g||ye)&&!(ft.features.interactiveHideTime&&Ht)),i.$$.dirty[4]&8&&t(55,fi=I.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&1140850688&&t(27,Bt=!ye&&!g&&!!(At!=null&&At.length)&&Ui&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&4&&t(28,Bi=!P||A),i.$$.dirty[4]&2&&t(57,Ki=w===Ti.PLAYING?ne("tooltip_pause"):ne("tooltip_play")),i.$$.dirty[1]&524288&&t(58,di=ne(L?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,Oi=Bi?"":ne("tooltip_live")),i.$$.dirty[0]&262144&&t(61,mi=ne(Ri?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,wi=ne(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,qi=p===gn.CONNECTED?ne("tooltip_chromecast_on"):ne("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(120,Jt={prevButtonWidth:Ut!=null?Ut:0,replayButtonWidth:ui?ki:0,playButtonWidth:Ei?jt:0,nextButtonWidth:Xt!=null?Xt:0,playPrevChapterWidth:Mi?hi:0,seekToInteractiveWidth:Ht?yi:0,interactiveGraphWidth:Yi&&Vi!=null?Vi:0,liveButtonWidth:g&&Ci?Ci:0,timeWidth:ji?Di:0,episodesWidth:Fi,vkLogoWidth:ci?Pi:0,volumeWidth:Xi,subtitlesWidth:Li?Qt:0,settingsWidth:Yt?qt:0,fullscreenWidth:_i?Mt:0,chromecastWidth:Ai?Wi:0,additionalButtonWidths:f.length?f.reduce(ie=>[...ie,40],[]):[]}),i.$$.dirty[3]&402653184&&(!ce||ce<Jt.timeWidth)&&t(121,ce=Jt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&402653184|i.$$.dirty[4]&1){let ie=0;Bt&&(sn(h,Et.XL)?ie=Jt.timeWidth:ie=U0);const Hn=Jt.prevButtonWidth+Jt.playButtonWidth+Jt.nextButtonWidth+Jt.seekToInteractiveWidth+Jt.interactiveGraphWidth+Jt.liveButtonWidth+ce+ie;t(122,$t=ji&&Kt>=Hn)}i.$$.dirty[3]&536870912|i.$$.dirty[4]&1&&t(64,$i=$t&&sn(h,Et.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&134217728&&fn(Jt,pe)},t(60,zi=ft.logoType===co.VK_VIDEO?ne("tooltip_vk_video_logo"):ne("tooltip_vk_logo")),[Ee,oe,Ce,pe,ye,U,E,q,O,Y,Pe,ee,ue,le,Ze,He,at,nt,Ri,ui,Ei,Ai,Li,Yt,ci,_i,ji,Bt,Bi,Kt,Ut,ki,jt,Xt,hi,yi,Vi,Ci,Di,Fi,Pi,Xi,Qt,qt,Mt,Wi,f,g,p,b,L,P,Tt,oi,Ni,fi,li,Ki,di,Oi,zi,mi,wi,qi,$i,a,r,s,l,o,c,Q,T,j,ae,C,$,Me,Ne,Dt,xe,Qe,Ge,Ye,$e,ot,ze,Vt,Pt,st,si,dt,At,ut,bi,fe,Se,Ve,It,xt,Ae,ii,ri,Ft,Ht,Yi,ai,Mi,St,nn,ni,on,In,Mn,se,Te,Ie,ve,ge,Ui,Jt,ce,$t,n,h,w,A,I,M,J,G,K,z,re,te,dn,Qi,_n,wn,Dn,Fn,Rn,X,pt,mn,en,hn,ln,ho,po,vo,go,bo,_o]}class w5 extends ke{constructor(e){super(),we(this,e,_5,b5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:114,videoLogoUrl:7,showNextPrevButtons:115,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:116,supportLink:10,customFullscreenSupported:117,playNextVideo:11,playPrevVideo:12,repeatPlaylist:118,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Jv,[-1,-1,-1,-1,-1,-1])}}function k5(i){let e,t,n,o;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(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,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class y5 extends ke{constructor(e){super(),we(this,e,null,k5,_e,{})}}function C5(i){De(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 ha(i){let e;return{c(){e=_("span"),e.textContent=`${ne("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){y(t,e,n)},p:Z,d(t){t&&k(e)}}}function P5(i){let e,t,n,o;var l=i[3];function s(a){return{}}l&&(t=bn(l,s()));let r=i[0]&&ha();return{c(){e=_("div"),t&&H(t.$$.fragment),n=B(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(a,c){y(a,e,c),t&&D(t,e,null),m(e,n),r&&r.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,()=>{F(f,1)}),he()}l?(t=bn(l,s()),H(t.$$.fragment),d(t.$$.fragment,1),D(t,e,n)):t=null}a[0]?r?r.p(a,c):(r=ha(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&1)&&V(e,"expanded",a[0])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&v(t.$$.fragment,a),o=!1},d(a){a&&k(e),t&&F(t),r&&r.d()}}}function S5(i){let e,t;return e=new gi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[P5]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function T5(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=it}=e,s,r;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,s=ne(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,r=o?rl:y5)},[o,l,s,r,n]}class Ec extends ke{constructor(e){super(),we(this,e,T5,S5,_e,{muted:4,expanded:0,click:1},C5)}}function E5(i){let e,t,n,o;return{c(){e=R("svg"),t=R("path"),n=R("path"),o=R("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,s){y(l,e,s),m(e,t),m(e,n),m(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&V(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&V(o,"hidden",l[0])},i:Z,o:Z,d(l){l&&k(e)}}}function A5(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 L5 extends ke{constructor(e){super(),we(this,e,A5,E5,_e,{isActive:0})}}function V5(i){let e,t;return e=new L5({props:{isActive:i[0]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function I5(i){let e,t;return e=new gi({props:{testId:"btn-pip",ariaLabel:ne("menu_pip"),click:i[1],$$slots:{default:[V5]},$$scope:{ctx:i}}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function M5(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=it}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class R5 extends ke{constructor(e){super(),we(this,e,M5,I5,_e,{isPictureInPictureActive:0,click:1})}}function N5(i){De(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 pa(i,e,t){const n=i.slice();return n[136]=e[t].iconUrl,n[137]=e[t].ariaLabel,n[138]=e[t].testId,n[139]=e[t].onClick,n[140]=e[t].tooltip,n}function va(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P=(!i[53]||i[55])&&ga(i),I=Wt(i[58]),M=[];for(let C=0;C<I.length;C+=1)M[C]=ba(pa(i,I,C));const J=C=>v(M[C],1,1,()=>{M[C]=null});let G=i[32]&&_a(i),K=i[33]&&wa(i),z=i[59]&&ka(),re=i[35]&&ya(i),te=i[8]&&Ca(i),Q=i[30]&&Pa(i),T=i[29]&&Sa(i),j=i[8]&&Ta(i),ae=i[96]&&!i[25]&&Ea(i);return{c(){e=_("div"),t=B(),n=_("div"),P&&P.c(),o=B(),l=_("div");for(let C=0;C<M.length;C+=1)M[C].c();s=B(),G&&G.c(),r=B(),K&&K.c(),a=B(),z&&z.c(),c=B(),re&&re.c(),f=B(),h=_("div"),te&&te.c(),g=B(),Q&&Q.c(),p=B(),T&&T.c(),b=B(),j&&j.c(),L=B(),ae&&ae.c(),w=vt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),V(l,"hidden",!i[3]&&!i[23]),V(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),V(h,"hidden",!i[3]||i[25])},m(C,$){y(C,e,$),y(C,t,$),y(C,n,$),P&&P.m(n,null),y(C,o,$),y(C,l,$);for(let oe=0;oe<M.length;oe+=1)M[oe]&&M[oe].m(l,null);m(l,s),G&&G.m(l,null),m(l,r),K&&K.m(l,null),m(l,a),z&&z.m(l,null),m(l,c),re&&re.m(l,null),y(C,f,$),y(C,h,$),te&&te.m(h,null),m(h,g),Q&&Q.m(h,null),m(h,p),T&&T.m(h,null),m(h,b),j&&j.m(h,null),y(C,L,$),ae&&ae.m(C,$),y(C,w,$),A=!0},p(C,$){if((!A||$[1]&128)&&V(e,"hidden",!C[38]),!C[53]||C[55]?P?(P.p(C,$),$[1]&20971520&&d(P,1)):(P=ga(C),P.c(),d(P,1),P.m(n,null)):P&&(me(),v(P,1,1,()=>{P=null}),he()),(!A||$[0]&8)&&V(n,"hidden",!C[3]),(!A||$[1]&8388608)&&V(n,"fullscreen",C[54]),$[1]&134217728){I=Wt(C[58]);let oe;for(oe=0;oe<I.length;oe+=1){const Ce=pa(C,I,oe);M[oe]?(M[oe].p(Ce,$),d(M[oe],1)):(M[oe]=ba(Ce),M[oe].c(),d(M[oe],1),M[oe].m(l,s))}for(me(),oe=I.length;oe<M.length;oe+=1)J(oe);he()}C[32]?G?(G.p(C,$),$[1]&2&&d(G,1)):(G=_a(C),G.c(),d(G,1),G.m(l,r)):G&&(me(),v(G,1,1,()=>{G=null}),he()),C[33]?K?(K.p(C,$),$[1]&4&&d(K,1)):(K=wa(C),K.c(),d(K,1),K.m(l,a)):K&&(me(),v(K,1,1,()=>{K=null}),he()),C[59]?z?$[1]&268435456&&d(z,1):(z=ka(),z.c(),d(z,1),z.m(l,c)):z&&(me(),v(z,1,1,()=>{z=null}),he()),C[35]?re?(re.p(C,$),$[1]&16&&d(re,1)):(re=ya(C),re.c(),d(re,1),re.m(l,null)):re&&(me(),v(re,1,1,()=>{re=null}),he()),(!A||$[0]&8388616)&&V(l,"hidden",!C[3]&&!C[23]),(!A||$[1]&8388608)&&V(l,"fullscreen",C[54]),C[8]?te?(te.p(C,$),$[0]&256&&d(te,1)):(te=Ca(C),te.c(),d(te,1),te.m(h,g)):te&&(me(),v(te,1,1,()=>{te=null}),he()),C[30]?Q?(Q.p(C,$),$[0]&1073741824&&d(Q,1)):(Q=Pa(C),Q.c(),d(Q,1),Q.m(h,p)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he()),C[29]?T?(T.p(C,$),$[0]&536870912&&d(T,1)):(T=Sa(C),T.c(),d(T,1),T.m(h,b)):T&&(me(),v(T,1,1,()=>{T=null}),he()),C[8]?j?(j.p(C,$),$[0]&256&&d(j,1)):(j=Ta(C),j.c(),d(j,1),j.m(h,null)):j&&(me(),v(j,1,1,()=>{j=null}),he()),(!A||$[0]&33554440)&&V(h,"hidden",!C[3]||C[25]),C[96]&&!C[25]?ae?(ae.p(C,$),$[0]&33554432&&d(ae,1)):(ae=Ea(C),ae.c(),d(ae,1),ae.m(w.parentNode,w)):ae&&(me(),v(ae,1,1,()=>{ae=null}),he())},i(C){if(!A){d(P);for(let $=0;$<I.length;$+=1)d(M[$]);d(G),d(K),d(z),d(re),d(te),d(Q),d(T),d(j),d(ae),A=!0}},o(C){v(P),M=M.filter(Boolean);for(let $=0;$<M.length;$+=1)v(M[$]);v(G),v(K),v(z),v(re),v(te),v(Q),v(T),v(j),v(ae),A=!1},d(C){C&&(k(e),k(t),k(n),k(o),k(l),k(f),k(h),k(L),k(w)),P&&P.d(),un(M,C),G&&G.d(),K&&K.d(),z&&z.d(),re&&re.d(),te&&te.d(),Q&&Q.d(),T&&T.d(),j&&j.d(),ae&&ae.d(C)}}}function ga(i){let e,t;return e=new Ec({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[104]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ba(i){var n;let e,t;return e=new Tc({props:{iconUrl:i[136],ariaLabel:(n=i[137])!=null?n:i[140],testId:i[138],onClick:i[139]}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[1]&134217728&&(s.iconUrl=o[136]),l[1]&134217728&&(s.ariaLabel=(r=o[137])!=null?r:o[140]),l[1]&134217728&&(s.testId=o[138]),l[1]&134217728&&(s.onClick=o[139]),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function _a(i){let e,t;return e=new gc({props:{isMobile:!0,click:i[101],state:i[24]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function wa(i){let e,t;return e=new R5({props:{click:i[103],isPictureInPictureActive:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ka(i){let e,t;return e=new ns({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ya(i){let e,t;return e=new vc({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ca(i){let e,t;return e=new al({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Pa(i){let e,t;return e=new ss({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),o[0]&134217728&&(l.isPlaying=n[27]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Sa(i){let e,t;return e=new rs({props:{disabled:i[49],click:i[105],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ta(i){let e,t;return e=new al({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ea(i){let e,t,n,o,l=i[99]&&B5(i),s=i[97]&&O5(i),r=i[98]&&z5(i);return{c(){l&&l.c(),e=B(),s&&s.c(),t=B(),r&&r.c(),n=vt()},m(a,c){l&&l.m(a,c),y(a,e,c),s&&s.m(a,c),y(a,t,c),r&&r.m(a,c),y(a,n,c),o=!0},p(a,c){a[99]&&l.p(a,c),a[97]&&s.p(a,c),a[98]&&r.p(a,c)},i(a){o||(d(l),d(s),d(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(k(e),k(t),k(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function B5(i){let e,t,n;return t=new Sc({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&131072&&(s.disabled=o[48]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function O5(i){let e,t,n;return t=new Pc({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class",k0(i[99]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3]&&!i[60])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&536870912&&(s.hidden=!o[3]&&!o[60]),l[1]&2097152&&(s.disabled=o[52]),l[0]&131072&&(s.click=o[17]),l[1]&536870912&&(s.graphIsOpened=o[60]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&V(e,"hidden",!o[3]&&!o[60])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function z5(i){let e,t,n;return t=new Cc({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&1048576&&(s.disabled=o[51]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Aa(i){let e,t,n,o,l,s=i[55]&&La(i),r=i[28]&&Va(i);return o=new wc({props:{position:i[61],duration:i[62]}}),{c(){s&&s.c(),e=B(),r&&r.c(),t=B(),n=_("div"),H(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[54])},m(a,c){s&&s.m(a,c),y(a,e,c),r&&r.m(a,c),y(a,t,c),y(a,n,c),D(o,n,null),l=!0},p(a,c){a[55]?s?(s.p(a,c),c[1]&16777216&&d(s,1)):(s=La(a),s.c(),d(s,1),s.m(e.parentNode,e)):s&&(me(),v(s,1,1,()=>{s=null}),he()),a[28]?r?(r.p(a,c),c[0]&268435456&&d(r,1)):(r=Va(a),r.c(),d(r,1),r.m(t.parentNode,t)):r&&(me(),v(r,1,1,()=>{r=null}),he());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&V(n,"fullscreen",a[54])},i(a){l||(d(s),d(r),d(o.$$.fragment,a),l=!0)},o(a){v(s),v(r),v(o.$$.fragment,a),l=!1},d(a){a&&(k(e),k(t),k(n)),s&&s.d(a),r&&r.d(a),F(o)}}}function La(i){let e,t,n;return t=new Ec({props:{muted:i[56],expanded:!1,click:i[104]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[54])},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[1]&33554432&&(s.muted=o[56]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function Va(i){let e,t,n;return t=new ss({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[1]&524288&&(s.disabled=o[50]),l[0]&268435456&&(s.isPlaying=!o[28]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function D5(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[49],$$slots:{default:[F5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&262144&&(a.disabled=s[49]),r[1]&262144|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function F5(i){let e,t;return e=new rs({props:{disabled:i[49],click:i[95]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=n[49]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ia(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[H5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1024|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function H5(i){let e,t;return e=new bc({props:{isActiveLive:i[41],click:i[102],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ma(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new fc({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[1]&1&&(a.showDuration=s[31]),r[0]&16|r[1]&1073741824|r[2]&2&&(a.position=s[4]?s[61]:s[63]),r[0]&16|r[2]&5&&(a.duration=s[4]?s[62]:s[64]),!t&&r[1]&8192&&(t=!0,a.width=s[44],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function Ra(i){let e,t,n,o;return n=new yc({props:{position:i[63],duration:i[64],timeCodes:i[85]}}),{c(){e=_("div"),e.textContent="\xB7",t=B(),H(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){y(l,e,s),y(l,t,s),D(n,l,s),o=!0},p(l,s){const r={};s[2]&2&&(r.position=l[63]),s[2]&4&&(r.duration=l[64]),n.$set(r)},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){v(n.$$.fragment,l),o=!1},d(l){l&&(k(e),k(t)),F(n,l)}}}function U5(i){let e,t,n=i[39]&&Ra(i);return{c(){n&&n.c(),e=vt()},m(o,l){n&&n.m(o,l),y(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&d(n,1)):(n=Ra(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d(o)}}}function Na(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[j5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32768&&(t=!0,a.width=s[46],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function j5(i){let e,t;return e=new ns({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ba(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[q5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Gt({props:l}),je.push(()=>yt(e,"width",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&16384|r[1]&8388608|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&65536&&(t=!0,a.width=s[47],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function q5(i){let e,t;return e=new hc({props:{click:i[14],isFullscreen:i[54]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&8388608&&(l.isFullscreen=n[54]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Oa(i){let e,t,n;return t=new cc({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function W5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P=!i[4]&&va(i),I=i[4]&&i[26]!==Zt.INACTIVE&&Aa(i),M=i[96]&&D5(i),J=!i[4]&&i[20]&&Ia(i),G=i[37]&&Ma(i);function K(T){i[123](T)}let z={className:"w-max",disabled:!i[39],$$slots:{default:[U5]},$$scope:{ctx:i}};i[45]!==void 0&&(z.width=i[45]),c=new Gt({props:z}),je.push(()=>yt(c,"width",K));let re=i[34]&&Na(i),te=i[36]&&Ba(i);b=new kc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let Q=i[21]&&Oa(i);return{c(){P&&P.c(),e=B(),I&&I.c(),t=B(),n=_("div"),o=_("div"),l=_("div"),M&&M.c(),s=B(),J&&J.c(),r=B(),G&&G.c(),a=B(),H(c.$$.fragment),h=B(),re&&re.c(),g=B(),te&&te.c(),p=B(),H(b.$$.fragment),L=B(),Q&&Q.c(),w=vt(),u(l,"class","controls v-1tcstu3"),V(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[54]),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,j){P&&P.m(T,j),y(T,e,j),I&&I.m(T,j),y(T,t,j),y(T,n,j),m(n,o),m(o,l),M&&M.m(l,null),m(l,s),J&&J.m(l,null),m(l,r),G&&G.m(l,null),m(l,a),D(c,l,null),m(l,h),re&&re.m(l,null),m(l,g),te&&te.m(l,null),i[126](l),m(o,p),D(b,o,null),i[127](n),y(T,L,j),Q&&Q.m(T,j),y(T,w,j),A=!0},p(T,j){T[4]?P&&(me(),v(P,1,1,()=>{P=null}),he()):P?(P.p(T,j),j[0]&16&&d(P,1)):(P=va(T),P.c(),d(P,1),P.m(e.parentNode,e)),T[4]&&T[26]!==Zt.INACTIVE?I?(I.p(T,j),j[0]&67108880&&d(I,1)):(I=Aa(T),I.c(),d(I,1),I.m(t.parentNode,t)):I&&(me(),v(I,1,1,()=>{I=null}),he()),T[96]&&M.p(T,j),!T[4]&&T[20]?J?(J.p(T,j),j[0]&1048592&&d(J,1)):(J=Ia(T),J.c(),d(J,1),J.m(l,r)):J&&(me(),v(J,1,1,()=>{J=null}),he()),T[37]?G?(G.p(T,j),j[1]&64&&d(G,1)):(G=Ma(T),G.c(),d(G,1),G.m(l,a)):G&&(me(),v(G,1,1,()=>{G=null}),he());const ae={};j[1]&256&&(ae.disabled=!T[39]),j[1]&256|j[2]&6|j[4]&524288&&(ae.$$scope={dirty:j,ctx:T}),!f&&j[1]&16384&&(f=!0,ae.width=T[45],kt(()=>f=!1)),c.$set(ae),T[34]?re?(re.p(T,j),j[1]&8&&d(re,1)):(re=Na(T),re.c(),d(re,1),re.m(l,g)):re&&(me(),v(re,1,1,()=>{re=null}),he()),T[36]?te?(te.p(T,j),j[1]&32&&d(te,1)):(te=Ba(T),te.c(),d(te,1),te.m(l,null)):te&&(me(),v(te,1,1,()=>{te=null}),he());const C={};j[0]&16&&(C.isAds=T[4]),j[0]&32&&(C.canRewindLive=T[5]),j[0]&524288&&(C.isRewindableLive=T[19]),b.$set(C),(!A||j[1]&8388608)&&V(o,"fullscreen",T[54]),(!A||j[0]&2)&&V(n,"hidden",T[1]),(!A||j[0]&8)&&V(n,"controls-hidden",!T[3]),(!A||j[0]&4)&&V(n,"no-smooth",T[2]),T[21]?Q?(Q.p(T,j),j[0]&2097152&&d(Q,1)):(Q=Oa(T),Q.c(),d(Q,1),Q.m(w.parentNode,w)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he())},i(T){A||(d(P),d(I),d(M),d(J),d(G),d(c.$$.fragment,T),d(re),d(te),d(b.$$.fragment,T),d(Q),A=!0)},o(T){v(P),v(I),v(M),v(J),v(G),v(c.$$.fragment,T),v(re),v(te),v(b.$$.fragment,T),v(Q),A=!1},d(T){T&&(k(e),k(t),k(n),k(L),k(w)),P&&P.d(T),I&&I.d(T),M&&M.d(),J&&J.d(),G&&G.d(),F(c),re&&re.d(),te&&te.d(),i[126](null),F(b),i[127](null),Q&&Q.d(T)}}}function Z5(i,e,t){var Wi,Jt;let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,pe,{bottomHidden:Ee}=e,{bottomNoSmooth:ye}=e,{showControls:U}=e,{controlsElementRef:E=void 0}=e,{isAds:se=!1}=e,{canRewindLive:q}=e,{logoClickable:Te}=e,{logoHidden:O}=e,{videoLogoUrl:Y}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:Pe}=e,{prevButtonActive:ve}=e,{isOneVideoPlaylist:ee=!1}=e,{supportLink:ue}=e,{customFullscreenSupported:ge=!0}=e,{playNextVideo:le}=e,{playPrevVideo:Ze}=e,{repeatPlaylist:He}=e,{toggleFullscreen:at}=e,{returnFocus:nt}=e,{seekToInteractive:Oe}=e,{toggleGraph:ft}=e,{playPrevChapter:wt}=e;const Me=Ct(),Ne=xi(),Dt=Me.actions.internal.toggleMuted,de=Me.actions.internal.togglePlay,et=Me.actions.internal.pause,xe=(Wi=Me.callbacks)==null?void 0:Wi.onAudioDoesNotExistHint,Qe=(Jt=Me.callbacks)==null?void 0:Jt.onAudioDisabledHint,Ge=Me.playerPhase;W(i,Ge,ce=>t(116,I=ce));const Ye=Me.state.duration$;W(i,Ye,ce=>t(64,pe=ce));const $e=Me.state.positionWithScrubbing$;W(i,$e,ce=>t(63,Ce=ce));const lt=Me.state.playbackState$;W(i,lt,ce=>t(118,K=ce));const ot=Me.state.isAudioAvailable$;W(i,ot,ce=>t(53,c=ce));const ze=Me.state.isAudioDisabled,Vt=Me.state.isEnded$;W(i,Vt,ce=>t(117,J=ce));const Pt=Me.state.isLive$;W(i,Pt,ce=>t(20,g=ce));const st=Me.state.muted$;W(i,st,ce=>t(56,Q=ce));const si=Me.state.isActiveLive$;W(i,si,ce=>t(113,f=ce));const dt=Me.state.isRewindableLive$;W(i,dt,ce=>t(19,h=ce));const Ke=Me.ui.scrubbingInProgress;W(i,Ke,ce=>t(25,M=ce));const At=Me.ui.mobileNotReportControlHidden$;W(i,At,ce=>t(23,A=ce));const ut=Me.ui.isPictureInPictureActive$;W(i,ut,ce=>t(22,w=ce));const bi=Me.ui.pictureInPictureType$;W(i,bi,ce=>t(115,L=ce));const fe=Me.ui.mobileUnmuteButtonExpanded;W(i,fe,ce=>t(57,T=ce));const Se=Me.ui.mobileUnmuteButtonVisible;W(i,Se,ce=>t(55,te=ce));const Ve=Me.ui.settingsMenuVisible;W(i,Ve,ce=>t(21,p=ce));const It=Me.ui.controls,xt=Me.actions.internal.getVideoEpisodes(),Ae=Me.webApi.pictureInPictureApi,ii=Me.state.chromecastState$;W(i,ii,ce=>t(24,P=ce));const ri=Me.state.crashed$;W(i,ri,ce=>t(59,ae=ce));const Ft=It.disabledControls$;W(i,Ft,ce=>t(119,z=ce));const Ii=Me.ads.duration;W(i,Ii,ce=>t(62,oe=ce));const Ht=Me.ads.position;W(i,Ht,ce=>t(61,$=ce));const Yi=Me.ads.playbackState;W(i,Yi,ce=>t(26,G=ce));const ai=Me.ui.isFullscreen;W(i,ai,ce=>t(54,re=ce));const Mi=Me.ui.playerSize;W(i,Mi,ce=>t(114,b=ce));const St=Me.ui.additionalButtons$;W(i,St,ce=>t(58,j=ce));const nn=Me.actions.internal.replayInteractive,ni=Me.state.isInteractive,on=Me.state.isInteractiveGraphEnabled,Tt=Me.state.isSeekToInteractiveEnable,Ri=Me.state.isPlayPrevChapterEnabled,ui=Me.state.graphIsOpened$;W(i,ui,ce=>t(60,C=ce));let Ei,Ui,oi,Ni,Ai,Li,Yt,ci,_i,ji,fi,Bt,li,Bi,Ki,di,Oi,zi,mi,wi,qi,Kt,Ut;const ki=()=>Me.actions.internal.toggleChromecast(),jt=()=>Me.actions.internal.switchToActiveLive();function Xt(){ze?Qe==null||Qe():c?Dt():xe==null||xe()}function hi(){return jn(this,null,function*(){Ae!=null&&Ae.isActive()?yield Ae==null?void 0:Ae.remove():yield Ae==null?void 0:Ae.request()})}function yi(){!ze&&c&&Se.set(!1),Xt()}const Vi=ee?de:He;function Ci(ce){zi=ce,t(42,zi)}function Di(ce){mi=ce,t(43,mi)}function Fi(ce){wi=ce,t(44,wi)}function Pi(ce){qi=ce,t(45,qi)}function Xi(ce){Kt=ce,t(46,Kt)}function Qt(ce){Ut=ce,t(47,Ut)}function qt(ce){je[ce?"unshift":"push"](()=>{di=ce,t(40,di)})}function Mt(ce){je[ce?"unshift":"push"](()=>{E=ce,t(0,E)})}return i.$$set=ce=>{"bottomHidden"in ce&&t(1,Ee=ce.bottomHidden),"bottomNoSmooth"in ce&&t(2,ye=ce.bottomNoSmooth),"showControls"in ce&&t(3,U=ce.showControls),"controlsElementRef"in ce&&t(0,E=ce.controlsElementRef),"isAds"in ce&&t(4,se=ce.isAds),"canRewindLive"in ce&&t(5,q=ce.canRewindLive),"logoClickable"in ce&&t(6,Te=ce.logoClickable),"logoHidden"in ce&&t(106,O=ce.logoHidden),"videoLogoUrl"in ce&&t(7,Y=ce.videoLogoUrl),"showNextPrevButtons"in ce&&t(8,Ie=ce.showNextPrevButtons),"nextButtonActive"in ce&&t(9,Pe=ce.nextButtonActive),"prevButtonActive"in ce&&t(10,ve=ce.prevButtonActive),"isOneVideoPlaylist"in ce&&t(107,ee=ce.isOneVideoPlaylist),"supportLink"in ce&&t(11,ue=ce.supportLink),"customFullscreenSupported"in ce&&t(108,ge=ce.customFullscreenSupported),"playNextVideo"in ce&&t(12,le=ce.playNextVideo),"playPrevVideo"in ce&&t(13,Ze=ce.playPrevVideo),"repeatPlaylist"in ce&&t(109,He=ce.repeatPlaylist),"toggleFullscreen"in ce&&t(14,at=ce.toggleFullscreen),"returnFocus"in ce&&t(15,nt=ce.returnFocus),"seekToInteractive"in ce&&t(16,Oe=ce.seekToInteractive),"toggleGraph"in ce&&t(17,ft=ce.toggleGraph),"playPrevChapter"in ce&&t(18,wt=ce.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=z.has(ht.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(52,o=z.has(ht.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(51,l=z.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=z.has(ht.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=z.has(ht.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(48,a=z.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&33554432&&t(27,Ei=K===Ti.PLAYING),i.$$.dirty[0]&67108864&&t(28,Ui=G===Zt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(29,oi=J&&!se&&!ni),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(30,Ni=!J||se),i.$$.dirty[3]&2097152&&t(110,Ai=b.width>300),i.$$.dirty[3]&2097152&&t(31,Li=b.width>400),i.$$.dirty[0]&33554432&&t(111,Yt=M),i.$$.dirty[0]&29360128|i.$$.dirty[3]&4194304&&t(32,ci=P!==gn.NOT_AVAILABLE&&!(w&&L===Pn.DocumentPictureInPicture)&&!A&&!ni),i.$$.dirty[0]&25165824|i.$$.dirty[3]&12845056){const ce=I===Re.WaitingLive;t(33,_i=!!Ae&&P!==gn.CONNECTED&&!A&&(L===Pn.DocumentPictureInPicture&&ce||!ce)&&!Yt&&!ni)}i.$$.dirty[3]&262144&&t(34,ji=!Yt),i.$$.dirty[3]&2105344&&t(35,fi=!O&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&4489216&&t(36,Bt=Ne.features.fullscreen&&!(w&&L===Pn.DocumentPictureInPicture)&&(ni?ge:!0)&&!Yt),i.$$.dirty[0]&1048592|i.$$.dirty[3]&2359296&&t(37,li=(!g||se)&&b.width>260&&!Yt&&!(Ne.features.interactiveHideTime&&ni)),i.$$.dirty[0]&2097160&&t(38,Bi=p||U),i.$$.dirty[0]&1048592|i.$$.dirty[3]&917504&&t(39,Ki=!se&&!g&&!!(xt!=null&&xt.length)&&Ai&&!n&&!Yt),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&t(41,Oi=!h||f)},[E,Ee,ye,U,se,q,Te,Y,Ie,Pe,ve,ue,le,Ze,at,nt,Oe,ft,wt,h,g,p,w,A,P,M,G,Ei,Ui,oi,Ni,Li,ci,_i,ji,fi,Bt,li,Bi,Ki,di,Oi,zi,mi,wi,qi,Kt,Ut,a,r,s,l,o,c,re,te,Q,T,j,ae,C,$,oe,Ce,pe,de,et,Ge,Ye,$e,lt,ot,ze,Vt,Pt,st,si,dt,Ke,At,ut,bi,fe,Se,Ve,xt,ii,ri,Ft,Ii,Ht,Yi,ai,Mi,St,nn,ni,on,Tt,Ri,ui,ki,jt,hi,yi,Vi,O,ee,ge,He,Ai,Yt,n,f,b,L,I,J,K,z,Ci,Di,Fi,Pi,Xi,Qt,qt,Mt]}class G5 extends ke{constructor(e){super(),we(this,e,Z5,W5,_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},N5,[-1,-1,-1,-1,-1])}}function Y5(i){let e,t,n;function o(s){i[26](s)}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 w5({props:l}),je.push(()=>yt(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function K5(i){let e,t,n;function o(s){i[25](s)}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 G5({props:l}),je.push(()=>yt(e,"controlsElementRef",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function X5(i){let e,t,n,o;const l=[K5,Y5],s=[];function r(a,c){return a[23]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=vt()},m(a,c){s[e].m(a,c),y(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),t=s[e],t?t.p(a,c):(t=s[e]=l[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){v(t),o=!1},d(a){a&&k(n),s[e].d(a)}}}function Q5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:p}=e,{nextButtonActive:b}=e,{prevButtonActive:L}=e,{isOneVideoPlaylist:w=!1}=e,{supportLink:A}=e,{customFullscreenSupported:P=!0}=e,{playNextVideo:I}=e,{playPrevVideo:M}=e,{repeatPlaylist:J}=e,{toggleFullscreen:G}=e,{returnFocus:K=it}=e,{seekToInteractive:z}=e,{toggleGraph:re}=e,{playPrevChapter:te}=e;const T=Ct().ui.isMobile;W(i,T,C=>t(23,n=C));function j(C){r=C,t(0,r)}function ae(C){r=C,t(0,r)}return i.$$set=C=>{"bottomHidden"in C&&t(1,o=C.bottomHidden),"bottomNoSmooth"in C&&t(2,l=C.bottomNoSmooth),"showControls"in C&&t(3,s=C.showControls),"controlsElementRef"in C&&t(0,r=C.controlsElementRef),"isAds"in C&&t(4,a=C.isAds),"canRewindLive"in C&&t(5,c=C.canRewindLive),"logoClickable"in C&&t(6,f=C.logoClickable),"logoHidden"in C&&t(7,h=C.logoHidden),"videoLogoUrl"in C&&t(8,g=C.videoLogoUrl),"showNextPrevButtons"in C&&t(9,p=C.showNextPrevButtons),"nextButtonActive"in C&&t(10,b=C.nextButtonActive),"prevButtonActive"in C&&t(11,L=C.prevButtonActive),"isOneVideoPlaylist"in C&&t(12,w=C.isOneVideoPlaylist),"supportLink"in C&&t(13,A=C.supportLink),"customFullscreenSupported"in C&&t(14,P=C.customFullscreenSupported),"playNextVideo"in C&&t(15,I=C.playNextVideo),"playPrevVideo"in C&&t(16,M=C.playPrevVideo),"repeatPlaylist"in C&&t(17,J=C.repeatPlaylist),"toggleFullscreen"in C&&t(18,G=C.toggleFullscreen),"returnFocus"in C&&t(19,K=C.returnFocus),"seekToInteractive"in C&&t(20,z=C.seekToInteractive),"toggleGraph"in C&&t(21,re=C.toggleGraph),"playPrevChapter"in C&&t(22,te=C.playPrevChapter)},[r,o,l,s,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,n,T,j,ae]}class Ac extends ke{constructor(e){super(),we(this,e,Q5,X5,_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 J5(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function x5(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("defs"),s=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),h=R("feColorMatrix"),g=R("feBlend"),p=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_100684"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_100684"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function $5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class eg extends ke{constructor(e){super(),we(this,e,$5,x5,_e,{reversed:0},J5)}}function tg(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("defs"),s=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),h=R("feOffset"),g=R("feGaussianBlur"),p=R("feColorMatrix"),b=R("feBlend"),L=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(s,"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(g,"stdDeviation","2.5"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104204"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_2260_104204"),u(L,"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(w,A){y(w,e,A),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(l,a),m(a,c),m(a,f),m(a,h),m(a,g),m(a,p),m(a,b),m(a,L)},d(w){w&&k(e)}}}function ig(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("path"),s=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),h=R("feColorMatrix"),g=R("feOffset"),p=R("feGaussianBlur"),b=R("feColorMatrix"),L=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(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(r,"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(p,"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(L,"in2","BackgroundImageFix"),u(L,"result","effect1_dropShadow_2260_104293"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104293"),u(w,"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(A,P){y(A,e,P),m(e,t),m(t,n),m(t,o),m(t,l),m(e,s),m(s,r),m(r,a),m(s,c),m(c,f),m(c,h),m(c,g),m(c,p),m(c,b),m(c,L),m(c,w)},d(A){A&&k(e)}}}function ng(i){let e;function t(l,s){return l[0]?ig:tg}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(l,s){o.m(l,s),y(l,e,s)},p(l,[s]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(l){l&&k(e),o.d(l)}}}function og(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class Lc extends ke{constructor(e){super(),we(this,e,og,ng,_e,{isOff:0})}}function lg(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function sg(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("defs"),s=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),h=R("feColorMatrix"),g=R("feBlend"),p=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_106627"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2260_106627"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function rg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class ag extends ke{constructor(e){super(),we(this,e,rg,sg,_e,{reversed:0},lg)}}function ug(i){De(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function cg(i){let e,t,n,o,l,s,r,a,c,f,h,g,p;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),l=R("defs"),s=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),h=R("feColorMatrix"),g=R("feBlend"),p=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"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_2340_106922"),u(p,"in","SourceGraphic"),u(p,"in2","effect1_dropShadow_2340_106922"),u(p,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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(b,L){y(b,e,L),m(e,t),m(t,n),m(t,o),m(e,l),m(l,s),m(s,r),m(s,a),m(s,c),m(s,f),m(s,h),m(s,g),m(s,p)},p(b,[L]){L&1&&V(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&k(e)}}}function fg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class dg extends ke{constructor(e){super(),we(this,e,fg,cg,_e,{reversed:0},ug)}}function mg(i){De(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 za(i){let e,t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(i[4]),n,o,l,s,r,a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(i[4]),c,f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(i[4]),h,g,p,b,L,w=t&&Da(i),A=i[4]===Xe.STOP&&Fa(),P=i[4]===Xe.PLAY&&Ha(),I=i[4]===Xe.SUBTITLES_OFF&&Ua(),M=i[4]===Xe.SUBTITLES_ON&&ja(),J=a&&qa(i),G=f&&Wa(i),K=i[4]===Xe.MUTE&&Za(),z=i[4]===Xe.VOLUME&&Ga(),re=i[5]&&Ya(i);return{c(){e=_("div"),w&&w.c(),n=B(),A&&A.c(),o=B(),P&&P.c(),l=B(),I&&I.c(),s=B(),M&&M.c(),r=B(),J&&J.c(),c=B(),G&&G.c(),h=B(),K&&K.c(),g=B(),z&&z.c(),p=B(),re&&re.c(),b=vt(),u(e,"class","v-1lbk7aq")},m(te,Q){y(te,e,Q),w&&w.m(e,null),m(e,n),A&&A.m(e,null),m(e,o),P&&P.m(e,null),m(e,l),I&&I.m(e,null),m(e,s),M&&M.m(e,null),m(e,r),J&&J.m(e,null),m(e,c),G&&G.m(e,null),m(e,h),K&&K.m(e,null),m(e,g),z&&z.m(e,null),y(te,p,Q),re&&re.m(te,Q),y(te,b,Q),L=!0},p(te,Q){Q&16&&(t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(te[4])),t?w?(w.p(te,Q),Q&16&&d(w,1)):(w=Da(te),w.c(),d(w,1),w.m(e,n)):w&&(me(),v(w,1,1,()=>{w=null}),he()),te[4]===Xe.STOP?A?Q&16&&d(A,1):(A=Fa(),A.c(),d(A,1),A.m(e,o)):A&&(me(),v(A,1,1,()=>{A=null}),he()),te[4]===Xe.PLAY?P?Q&16&&d(P,1):(P=Ha(),P.c(),d(P,1),P.m(e,l)):P&&(me(),v(P,1,1,()=>{P=null}),he()),te[4]===Xe.SUBTITLES_OFF?I?Q&16&&d(I,1):(I=Ua(),I.c(),d(I,1),I.m(e,s)):I&&(me(),v(I,1,1,()=>{I=null}),he()),te[4]===Xe.SUBTITLES_ON?M?Q&16&&d(M,1):(M=ja(),M.c(),d(M,1),M.m(e,r)):M&&(me(),v(M,1,1,()=>{M=null}),he()),Q&16&&(a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(te[4])),a?J?(J.p(te,Q),Q&16&&d(J,1)):(J=qa(te),J.c(),d(J,1),J.m(e,c)):J&&(me(),v(J,1,1,()=>{J=null}),he()),Q&16&&(f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(te[4])),f?G?(G.p(te,Q),Q&16&&d(G,1)):(G=Wa(te),G.c(),d(G,1),G.m(e,h)):G&&(me(),v(G,1,1,()=>{G=null}),he()),te[4]===Xe.MUTE?K?Q&16&&d(K,1):(K=Za(),K.c(),d(K,1),K.m(e,g)):K&&(me(),v(K,1,1,()=>{K=null}),he()),te[4]===Xe.VOLUME?z?Q&16&&d(z,1):(z=Ga(),z.c(),d(z,1),z.m(e,null)):z&&(me(),v(z,1,1,()=>{z=null}),he()),te[5]?re?re.p(te,Q):(re=Ya(te),re.c(),re.m(b.parentNode,b)):re&&(re.d(1),re=null)},i(te){L||(d(w),d(A),d(P),d(I),d(M),d(J),d(G),d(K),d(z),L=!0)},o(te){v(w),v(A),v(P),v(I),v(M),v(J),v(G),v(K),v(z),L=!1},d(te){te&&(k(e),k(p),k(b)),w&&w.d(),A&&A.d(),P&&P.d(),I&&I.d(),M&&M.d(),J&&J.d(),G&&G.d(),K&&K.d(),z&&z.d(),re&&re.d(te)}}}function Da(i){let e,t;return e=new eg({props:{reversed:i[4]===Xe.FORWARD_SEEK}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.FORWARD_SEEK),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Fa(i){let e,t;return e=new pc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ha(i){let e,t;return e=new ls({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ua(i){let e,t;return e=new Lc({props:{isOff:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ja(i){let e,t;return e=new Lc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qa(i){let e,t;return e=new ag({props:{reversed:i[4]===Xe.RATE_UP}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.RATE_UP),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Wa(i){let e,t;return e=new dg({props:{reversed:i[4]===Xe.EPISODE_NEXT}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Xe.EPISODE_NEXT),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Za(i){let e,t;return e=new rl({props:{volume:0}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ga(i){let e,t;return e=new rl({props:{volume:1}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ya(i){let e,t;return{c(){e=_("span"),t=Fe(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&32&&Je(t,n[5])},d(n){n&&k(e)}}}function hg(i){let e,t,n=!i[1]&&i[4]&&za(i);return{c(){e=_("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){y(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&d(n,1)):(n=za(o),n.c(),d(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||(d(n),t=!0)},o(o){v(n),t=!1},d(o){o&&k(e),n&&n.d()}}}function pg(i,e,t){let n,o=Z,l=()=>(o(),o=tl(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let r,a,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,r=!n),t(2,a=(n==null?void 0:n.type)===Xe.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Xe.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,h=ne(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[s,r,a,c,f,h,n]}class vg extends ke{constructor(e){super(),we(this,e,pg,hg,_e,{data:0},mg)}}function gg(i){De(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 bg(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P;return l=new Bn({props:{direction:"up"}}),a=new Bn({props:{direction:"up"}}),g=new Bn({props:{direction:"up"}}),L=new Bn({props:{direction:"up"}}),{c(){e=_("div"),t=_("div"),n=_("div"),o=_("div"),H(l.$$.fragment),s=B(),r=_("div"),H(a.$$.fragment),c=B(),f=_("div"),h=_("div"),H(g.$$.fragment),p=B(),b=_("div"),H(L.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(b,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),V(e,"m-shifted",i[0])},m(I,M){y(I,e,M),m(e,t),m(t,n),m(n,o),D(l,o,null),m(n,s),m(n,r),D(a,r,null),m(t,c),m(t,f),m(f,h),D(g,h,null),m(f,p),m(f,b),D(L,b,null),w=!0,A||(P=[Le(o,"mousedown",i[1]),Le(o,"mouseup",i[5]),Le(o,"mouseleave",i[5]),Le(r,"mousedown",i[3]),Le(r,"mouseup",i[5]),Le(r,"mouseleave",i[5]),Le(h,"mousedown",i[4]),Le(h,"mouseup",i[5]),Le(h,"mouseleave",i[5]),Le(b,"mousedown",i[2]),Le(b,"mouseup",i[5]),Le(b,"mouseleave",i[5]),Le(e,"keydown",i[6]),Le(e,"keyup",i[7])],A=!0)},p(I,[M]){(!w||M&1)&&V(e,"m-shifted",I[0])},i(I){w||(d(l.$$.fragment,I),d(a.$$.fragment,I),d(g.$$.fragment,I),d(L.$$.fragment,I),w=!0)},o(I){v(l.$$.fragment,I),v(a.$$.fragment,I),v(g.$$.fragment,I),v(L.$$.fragment,I),w=!1},d(I){I&&k(e),F(l),F(a),F(g),F(L),A=!1,ti(P)}}}function _g(i,e,t){let{isShifted:n=!1}=e;const o=Ct(),l=new Set([qe.ArrowUp,qe.ArrowDown,qe.ArrowLeft,qe.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=p=>{if(l.has(p.code))switch(p.preventDefault(),p.stopPropagation(),p.code){case qe.ArrowUp:s();break;case qe.ArrowDown:r();break;case qe.ArrowLeft:c();break;case qe.ArrowRight:a();break}},g=p=>{l.has(p.code)&&(p.preventDefault(),p.stopPropagation(),f())};return i.$$set=p=>{"isShifted"in p&&t(0,n=p.isShifted)},[n,s,r,a,c,f,h,g]}class Vc extends ke{constructor(e){super(),we(this,e,_g,bg,_e,{isShifted:0},gg)}}function wg(i){De(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 Ka(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Xa(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Qa(i){let e,t;function n(s,r){return s[7]&&s[8]?Cg:s[5]?yg:kg}let o=n(i),l=o(i);return{c(){e=_("div"),t=_("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(s,r){y(s,e,r),m(e,t),l.m(t,null)},p(s,r){o===(o=n(s))&&l?l.p(s,r):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),r&8&&V(e,"mobile",s[3])},d(s){s&&k(e),l.d()}}}function kg(i){let e,t=Wt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ja(Ka(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=vt()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);y(o,e,l)},p(o,l){if(l&18){t=Wt(o[1]);let s;for(s=0;s<t.length;s+=1){const r=Ka(o,t,s);n[s]?n[s].p(r,l):(n[s]=Ja(r),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&k(e),un(n,o)}}}function yg(i){let e,t,n=Wt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=$a(Xa(i,n,l));return{c(){e=_("span"),t=_("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),m(e,t);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(l,s){if(s&68){n=Wt(l[6]);let r;for(r=0;r<n.length;r+=1){const a=Xa(l,n,r);o[r]?o[r].p(a,s):(o[r]=$a(a),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}s&16&&Nt(t,"font-size",l[4]+"px")},d(l){l&&k(e),un(o,l)}}}function Cg(i){let e,t,n=ne("subtitles_auto_caption")+"",o;return{c(){e=_("span"),t=_("span"),o=Fe(n),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){y(l,e,s),m(e,t),m(t,o)},p(l,s){s&16&&Nt(t,"font-size",l[4]+"px")},d(l){l&&k(e)}}}function Ja(i){let e,t,n=i[16]+"",o,l;return{c(){e=_("span"),t=_("span"),o=Fe(n),l=B(),u(t,"class","caption-segment v-ovfyp5"),Nt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,r){y(s,e,r),m(e,t),m(t,o),m(e,l)},p(s,r){r&2&&n!==(n=s[16]+"")&&Je(o,n),r&16&&Nt(t,"font-size",s[4]+"px")},d(s){s&&k(e)}}}function xa(i){let e=i[16]+"",t;return{c(){t=Fe(e)},m(n,o){y(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Je(t,e)},d(n){n&&k(t)}}}function $a(i){let e,t=(!i[17]||i[17]<=i[2])&&xa(i);return{c(){t&&t.c(),e=vt()},m(n,o){t&&t.m(n,o),y(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=xa(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&k(e),t&&t.d(n)}}}function Pg(i){let e,t=i[1].length>0&&Qa(i);return{c(){e=_("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){y(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Qa(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&k(e),t&&t.d()}}}function Sg(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Ct(),h=xi(),g=f.state.currentSubtitle$;W(i,g,I=>t(12,n=I));const p=f.state.isAutoSubtitleCaptionVisible$;W(i,p,I=>t(8,o=I));let b,L,w,A,P;return Ji(()=>{P=window.setTimeout(()=>{p.set(!1)},h.autoSubtitlesTimeout)}),nl(()=>{window.clearTimeout(P)}),i.$$set=I=>{"shifted"in I&&t(0,l=I.shifted),"captions"in I&&t(1,s=I.captions),"position"in I&&t(2,r=I.position),"playerSize"in I&&t(11,a=I.playerSize),"isMobile"in I&&t(3,c=I.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const I=a.width*.02;t(4,b=I<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:I)}i.$$.dirty&2&&t(5,L=s.some(I=>I.type==="timestamp")),i.$$.dirty&2&&t(6,w=s.reduce((I,{type:M,value:J})=>(M==="timestamp"?I.push({timeAppeared:Number(J),value:""}):I.length===0?I.push({value:String(J)}):I[I.length-1].value=String(J),I),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,r,c,b,L,w,A,o,g,p,a,n]}class Ic extends ke{constructor(e){super(),we(this,e,Sg,Pg,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},wg)}}function Tg(i){De(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 e1(i){let e,t,n;return{c(){e=_("div"),t=Fe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Fe(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){y(o,e,l),m(e,t),m(e,n)},p(o,l){l&2&&Je(n,o[1])},d(o){o&&k(e)}}}function Eg(i){let e,t,n,o,l,s,r=i[1]&&e1(i);return{c(){e=_("div"),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=B(),r&&r.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){y(a,e,c),m(e,t),m(e,n),r&&r.m(e,null),l||(s=Le(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=e1(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&k(e),r&&r.d(),l=!1,s()}}}function Ag(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){uo.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class Mc extends ke{constructor(e){super(),we(this,e,Ag,Eg,_e,{thumbUrl:0,chromecastDeviceName:1},Tg)}}function Lg(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Vg extends ke{constructor(e){super(),we(this,e,null,Lg,_e,{})}}function Ig(i){De(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 Mg(i){let e,t,n;return t=new Vg({}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}class Rc extends ke{constructor(e){super(),we(this,e,null,Mg,_e,{},Ig)}}function Rg(i){De(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 Ng(i){let e,t,n,o,l,s,r,a,c;return l=new ls({}),{c(){e=_("div"),t=_("div"),n=_("div"),o=B(),H(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",s=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){y(f,e,h),m(e,t),m(t,n),m(t,o),D(l,t,null),r=!0,a||(c=Le(e,"click",ct(function(){Sn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!r||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!r||h&2)&&V(e,"hidden",i[1])},i(f){r||(d(l.$$.fragment,f),r=!0)},o(f){v(l.$$.fragment,f),r=!1},d(f){f&&k(e),F(l),a=!1,c()}}}function Bg(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class Nc extends ke{constructor(e){super(),we(this,e,Bg,Ng,_e,{thumbUrl:0,hidden:1,startVideo:2},Rg)}}function Og(i){De(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 xs(i){let e;return{c(){e=k("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function $s(i){let e,t;return e=new G4({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 er(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 tr(i){let e,t;return e=new X4({}),{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 J4(i){let e,t,n,o,l,s,r,a=i[0]&&xs(),c=i[3]&&$s(i),f=i[7]&&er(),h=i[4]&&tr();return{c(){e=k("div"),a&&a.c(),t=N(),n=k("video"),o=N(),c&&c.c(),l=N(),f&&f.c(),s=N(),h&&h.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(p,b){C(p,e,b),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,s),h&&h.m(e,null),i[20](e),r=!0},p(p,[b]){p[0]?a||(a=xs(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),p[3]?c?(c.p(p,b),b&8&&m(c,1)):(c=$s(p),c.c(),m(c,1),c.m(e,l)):c&&(pe(),v(c,1,1,()=>{c=null}),ve()),p[7]?f?b&128&&m(f,1):(f=er(),f.c(),m(f,1),f.m(e,s)):f&&(pe(),v(f,1,1,()=>{f=null}),ve()),p[4]?h?b&16&&m(h,1):(h=tr(),h.c(),m(h,1),h.m(e,null)):h&&(pe(),v(h,1,1,()=>{h=null}),ve())},i(p){r||(m(c),m(f),m(h),r=!0)},o(p){v(c),v(f),v(h),r=!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 x4(i,e,t){let n,o,l,s,r,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const p=Et(),b=p.state.isEnded$;W(i,b,X=>t(7,r=X));const g=p.ui.isMobile;W(i,g,X=>t(0,o=X));let _,L,A=!1;const w=p.ads.playbackState;W(i,w,X=>t(18,n=X));const S=p.ads.canSkip,B=p.ads.position;W(i,B,X=>t(5,l=X));const R=p.ads.secondsToWatchBeforeSkip;W(i,R,X=>t(6,s=X));let U,Y;Ji(()=>{const X=new AbortController;let $=()=>{X.abort()};const T=p.getAdmanWrapper();if(!a){T.onAdmanLoadingError();return}const{width:te,height:ce}=$e(p.ui.playerSize),E=$e(p.ui.isFullscreen),oe=$e(p.ui.isAutoplay),se={width:te,height:ce,isFullscreen:E,isAutoplay:oe,adsContainer:_,adsVideoElement:L,slotId:a,params:c,previewParam:f,duration:h};return window.AdmanHTML?(T.initAdman(se),A=!0):T.loadAdman(X.signal).then(()=>{T.initAdman(se),A=!0}).catch(()=>{T.onAdmanLoadingError()}),()=>{!A&&$()}});function q(X){We[X?"unshift":"push"](()=>{L=X,t(2,L)})}function ne(X){We[X?"unshift":"push"](()=>{_=X,t(1,_)})}return i.$$set=X=>{"adsSlotId"in X&&t(14,a=X.adsSlotId),"adsParams"in X&&t(15,c=X.adsParams),"adsPreviewParam"in X&&t(16,f=X.adsPreviewParam),"duration"in X&&t(17,h=X.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,U=S&&n!==Xt.INACTIVE),i.$$.dirty&262145&&t(4,Y=o&&n!==Xt.INACTIVE)},[o,_,L,U,Y,l,s,r,p,b,g,w,B,R,a,c,f,h,n,q,ne]}class tc extends ye{constructor(e){super(),ke(this,e,x4,J4,_e,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Q4)}}function $4(i){Ue(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 em(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){C(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 tm(i,e,t){let{showControls:n}=e,o;const s=Et().webApi.annotationsApi;Ji(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function r(a){We[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,r]}class ic extends ye{constructor(e){super(),ke(this,e,tm,em,_e,{showControls:0},$4)}}const Ln=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 im(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){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function nm(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){C(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function om(i){let e;function t(l,s){return l[0]?nm:im}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){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 lm(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(),ke(this,e,lm,om,_e,{isActive:0})}}function sm(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 rm(i){let e=Ln(i[4]-i[3])+"",t;return{c(){t=De(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=Ln(n[4]-n[3])+"")&&et(t,e)},i:K,o:K,d(n){n&&y(t)}}}function am(i){let e,t,n;return t=new nc({props:{isActive:!0}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){C(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 um(i){let e,t,n,o,l,s,r;const a=[am,rm],c=[];function f(h,p){return h[1]?0:1}return l=f(i),s=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"),s.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){C(h,e,p),d(e,t),d(e,n),d(e,o),c[l].m(o,null),r=!0},p(h,[p]){let b=l;l=f(h),l===b?c[l].p(h,p):(pe(),v(c[b],1,1,()=>{c[b]=null}),ve(),s=c[l],s?s.p(h,p):(s=c[l]=a[l](h),s.c()),m(s,1),s.m(o,null)),(!r||p&2)&&V(e,"live",h[1]),(!r||p&1)&&V(e,"hidden",h[0]),(!r||p&4)&&V(e,"playing",h[2])},i(h){r||(m(s),r=!0)},o(h){v(s),r=!1},d(h){h&&y(e),c[l].d()}}}function cm(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:r}=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,s=a.position),"duration"in a&&t(4,r=a.duration)},[n,o,l,s,r]}class oc extends ye{constructor(e){super(),ke(this,e,cm,um,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},sm)}}const Xl=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 fm(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 dm(i){let e,t=Z("menu_copy_video_link")+"",n,o,l,s,r,a=!i[4]&&!i[16]&&ir(i);return{c(){e=k("li"),n=De(t),o=N(),a&&a.c(),l=bt(),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){C(c,e,f),d(e,n),C(c,o,f),a&&a.m(c,f),C(c,l,f),s||(r=Ee(e,"click",ut(i[30])),s=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ir(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),s=!1,r()}}}function ir(i){let e,t=Z("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=De(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(s,r){C(s,e,r),d(e,n),o||(l=Ee(e,"click",ut(i[31])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function nr(i){let e,t=Z("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_pip")),u(e,"class","v-gew86s")},m(s,r){C(s,e,r),d(e,n),o||(l=Ee(e,"click",ut(i[21])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function mm(i){let e,t=Z("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(s,r){C(s,e,r),d(e,n),o||(l=Ee(e,"click",ut(i[17])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function or(i){let e,t=Z("menu_report")+"",n,o,l;return{c(){e=k("li"),n=De(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(s,r){C(s,e,r),d(e,n),o||(l=Ee(e,"click",ut(i[18])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function hm(i){var B;let e,t,n,o,l,s,r=(i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug"))+"",a,c,f,h=Z("menu_debug_overlay")+"",p,b,g,_,L=i[9].features.copyVideoLink&&((B=i[8].callbacks)==null?void 0:B.onCopyVideoLink)&&dm(i),A=i[11]&&i[5]!==wn.CONNECTED&&!i[16]&&nr(i),w=i[9].features.videoRotate&&!i[16]&&mm(i),S=i[9].showSupport&&!i[6]&&or(i);return{c(){e=k("ul"),L&&L.c(),t=N(),A&&A.c(),n=N(),w&&w.c(),o=N(),S&&S.c(),l=N(),s=k("li"),a=De(r),c=N(),f=k("li"),p=De(h),u(s,"tabindex","0"),u(s,"role","menuitem"),u(s,"aria-label",i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug")),u(s,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=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){C(R,e,U),L&&L.m(e,null),d(e,t),A&&A.m(e,null),d(e,n),w&&w.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),d(e,s),d(s,a),d(e,c),d(e,f),d(f,p),i[32](e),g||(_=[Ee(s,"click",ut(i[19])),Ee(f,"click",ut(i[20])),Ee(e,"contextmenu",_i(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]!==wn.CONNECTED&&!R[16]?A?A.p(R,U):(A=nr(R),A.c(),A.m(e,n)):A&&(A.d(1),A=null),R[9].features.videoRotate&&!R[16]&&w.p(R,U),R[9].showSupport&&!R[6]?S?S.p(R,U):(S=or(R),S.c(),S.m(e,l)):S&&(S.d(1),S=null),U[0]&128&&b!==(b=R[7]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),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(),A&&A.d(),w&&w.d(),S&&S.d(),i[32](null),g=!1,ni(_)}}}function pm(i,e,t){var G;let n,o,l,s,r,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:p=void 0}=e,{controlsContainerRef:b=void 0}=e,{returnFocus:g}=e,_=0,L=0;const A=Et(),w=xi(),S=A.ui.contextMenuVisible,B=A.ui.debugPanelVisible;W(i,B,O=>t(7,r=O));const R=A.webApi.pictureInPictureApi,U=(G=A.webApi.pictureInPictureApi)==null?void 0:G.info.isActive$;W(i,U,O=>t(6,s=O));const Y=A.state.chromecastState$;W(i,Y,O=>t(5,l=O));const q=A.state.isLive$;W(i,q,O=>t(4,o=O));const ne=A.state.positionExact$;W(i,ne,O=>t(33,n=O));const X=A.state.isInteractive;let $;const T=(O,me)=>{if(!$||!p||!b)return;const ee=$.getBoundingClientRect(),M=p.getBoundingClientRect();t(1,_=O-M.left),t(2,L=me-M.top),_+ee.width>M.width&&t(1,_=M.width-ee.width),L+ee.height>M.height&&t(2,L=M.height-ee.height),t(1,_=Math.max(_,0)),t(2,L=Math.max(L,0))},te=()=>{S.set(!1),A.actions.internal.videoRotate()},ce=()=>{window.open(c,"_blank"),S.set(!1),A.actions.internal.pause()},E=()=>{const O=A.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const me=new Blob([...O],{type:"plain/text"}),ee=window.URL.createObjectURL(me);ou(ee,"vk_player_debug_info","txt")}else Xl(A.actions.internal.getDebugTextData());S.set(!1),g==null||g()},oe=()=>{B.set(!0),S.set(!1),g==null||g()},se=()=>Wn(this,null,function*(){try{R!=null&&R.isActive()?yield R==null?void 0:R.remove():yield R==null?void 0:R.request()}finally{S.set(!1),g==null||g()}}),we=(O=!1)=>{var me,ee;if((me=A.callbacks)!=null&&me.onCopyVideoLink){const M=(ee=A.callbacks)==null?void 0:ee.onCopyVideoLink(O,n);M&&Xl(M)}S.set(!1)};function be(O){ho.call(this,i,O)}const Te=()=>we(),Ce=()=>we(!0);function H(O){We[O?"unshift":"push"](()=>{$=O,t(3,$)})}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,b=O.controlsContainerRef),"returnFocus"in O&&t(28,g=O.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&T(f,h)},[a,_,L,$,o,l,s,r,A,w,B,R,U,Y,q,ne,X,te,ce,E,oe,se,we,c,f,h,p,b,g,be,Te,Ce,H]}class vm extends ye{constructor(e){super(),ke(this,e,pm,hm,_e,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},fm,[-1,-1])}}class gm{constructor(e){this.value=e,this.next=null}}class Rl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new gm(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 bm(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 _m(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){C(n,e,o),d(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&y(e),i[3](null)}}}const Nl=16,Bl=120,lr=60;function wm(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function km(i,e,t){let{values:n=[]}=e,o,l;const s=Bl/lr;Ji(()=>{t(0,o.width=Bl,o),t(0,o.height=Nl,o),t(2,l=o.getContext("2d"))});function r(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,Bl,Nl);let c=lr-1;for(let f=n.length-1;f>=0;f--){const h=c*s,p=a>0?Nl*(n[f]/a):0;wm(l,h,0,s,p),c--}}},[o,n,l,r]}class rs extends ye{constructor(e){super(),ke(this,e,km,_m,_e,{values:1},bm)}}function ym(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 sr(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=N(),o=k("span"),s=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){C(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].id+"")&&et(s,l)},d(r){r&&y(e)}}}function rr(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=N(),o=k("span"),s=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){C(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].provider+"")&&et(s,l)},d(r){r&&y(e)}}}function ar(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=N(),o=k("span"),s=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){C(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].viewport+"")&&et(s,l)},d(r){r&&y(e)}}}function ur(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=N(),o=k("span"),s=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){C(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].videoSize+"")&&et(s,l)},d(r){r&&y(e)}}}function cr(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=N(),o=k("span"),s=De(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){C(r,e,a),d(e,t),d(e,n),d(e,o),d(o,s)},p(r,a){a&1&&l!==(l=r[0].cdn+"")&&et(s,l)},d(r){r&&y(e)}}}function fr(i){let e,t,n,o,l=i[0].volume+"",s,r;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=N(),o=k("span"),s=De(l),r=De(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){C(a,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,r)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&et(s,l)},d(a){a&&y(e)}}}function dr(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,r;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=N(),o=k("span"),s=De(l),r=De(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){C(a,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,r)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&et(s,l)},d(a){a&&y(e)}}}function mr(i){let e,t,n,o,l,s,r=i[0].speed.toFixed(2)+"",a,c,f;return o=new rs({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=N(),F(o.$$.fragment),l=N(),s=k("span"),a=De(r),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){C(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,a),d(s,c),f=!0},p(h,p){const b={};p&32&&(b.values=h[5]),o.$set(b),(!f||p&1)&&r!==(r=h[0].speed.toFixed(2)+"")&&et(a,r)},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 hr(i){let e,t,n,o,l,s,r=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new rs({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=N(),F(o.$$.fragment),l=N(),s=k("span"),a=De(r),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){C(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,a),d(s,c),f=!0},p(h,p){const b={};p&64&&(b.values=h[6]),o.$set(b),(!f||p&1)&&r!==(r=h[0].bitrate.toFixed(2)+"")&&et(a,r)},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 Cm(i){let e,t,n,o,l,s,r,a,c=i[0].version+"",f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,Te,Ce,H,G,O=i[0].id&&sr(i),me=i[0].provider&&rr(i),ee=i[0].viewport&&ar(i),M=i[0].videoSize&&ur(i),Q=i[0].cdn&&cr(i),Ve=i[0].volume&&fr(i),Pe=i[0].buffer&&dr(i),Ae=i[0].speed&&mr(i),J=i[0].bitrate&&hr(i);return se=new rs({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=N(),o=k("div"),l=k("div"),s=k("div"),s.textContent="Version",r=N(),a=k("span"),f=De(c),h=N(),O&&O.c(),p=N(),me&&me.c(),b=N(),ee&&ee.c(),g=N(),M&&M.c(),_=N(),Q&&Q.c(),L=N(),Ve&&Ve.c(),A=N(),Pe&&Pe.c(),w=N(),S=k("div"),B=k("div"),B.textContent="Dropped",R=N(),U=k("span"),Y=De(i[2]),q=De(" / "),ne=De(i[1]),X=De(" frames"),$=N(),Ae&&Ae.c(),T=N(),J&&J.c(),te=N(),ce=k("div"),E=k("div"),E.textContent="FPS",oe=N(),F(se.$$.fragment),we=N(),be=k("span"),Te=De(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(s,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(E,"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,he){C(ae,e,he),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,r),d(l,a),d(a,f),d(o,h),O&&O.m(o,null),d(o,p),me&&me.m(o,null),d(o,b),ee&&ee.m(o,null),d(o,g),M&&M.m(o,null),d(o,_),Q&&Q.m(o,null),d(o,L),Ve&&Ve.m(o,null),d(o,A),Pe&&Pe.m(o,null),d(o,w),d(o,S),d(S,B),d(S,R),d(S,U),d(U,Y),d(U,q),d(U,ne),d(U,X),d(o,$),Ae&&Ae.m(o,null),d(o,T),J&&J.m(o,null),d(o,te),d(o,ce),d(ce,E),d(ce,oe),z(se,ce,null),d(ce,we),d(ce,be),d(be,Te),Ce=!0,H||(G=Ee(t,"click",ut(i[9])),H=!0)},p(ae,[he]){(!Ce||he&1)&&c!==(c=ae[0].version+"")&&et(f,c),ae[0].id?O?O.p(ae,he):(O=sr(ae),O.c(),O.m(o,p)):O&&(O.d(1),O=null),ae[0].provider?me?me.p(ae,he):(me=rr(ae),me.c(),me.m(o,b)):me&&(me.d(1),me=null),ae[0].viewport?ee?ee.p(ae,he):(ee=ar(ae),ee.c(),ee.m(o,g)):ee&&(ee.d(1),ee=null),ae[0].videoSize?M?M.p(ae,he):(M=ur(ae),M.c(),M.m(o,_)):M&&(M.d(1),M=null),ae[0].cdn?Q?Q.p(ae,he):(Q=cr(ae),Q.c(),Q.m(o,L)):Q&&(Q.d(1),Q=null),ae[0].volume?Ve?Ve.p(ae,he):(Ve=fr(ae),Ve.c(),Ve.m(o,A)):Ve&&(Ve.d(1),Ve=null),ae[0].buffer?Pe?Pe.p(ae,he):(Pe=dr(ae),Pe.c(),Pe.m(o,w)):Pe&&(Pe.d(1),Pe=null),(!Ce||he&4)&&et(Y,ae[2]),(!Ce||he&2)&&et(ne,ae[1]),ae[0].speed?Ae?(Ae.p(ae,he),he&1&&m(Ae,1)):(Ae=mr(ae),Ae.c(),m(Ae,1),Ae.m(o,T)):Ae&&(pe(),v(Ae,1,1,()=>{Ae=null}),ve()),ae[0].bitrate?J?(J.p(ae,he),he&1&&m(J,1)):(J=hr(ae),J.c(),m(J,1),J.m(o,te)):J&&(pe(),v(J,1,1,()=>{J=null}),ve());const re={};he&16&&(re.values=ae[4]),se.$set(re),(!Ce||he&8)&&et(Te,ae[3]),(!Ce||he&128)&&V(e,"container-mobile",ae[7])},i(ae){Ce||(m(Ae),m(J),m(se.$$.fragment,ae),Ce=!0)},o(ae){v(Ae),v(J),v(se.$$.fragment,ae),Ce=!1},d(ae){ae&&y(e),O&&O.d(),me&&me.d(),ee&&ee.d(),M&&M.d(),Q&&Q.d(),Ve&&Ve.d(),Pe&&Pe.d(),Ae&&Ae.d(),J&&J.d(),D(se),H=!1,G()}}}function Sm(i,e,t){let n;const o=Et(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;W(i,s,S=>t(7,n=S));const r=()=>{mn.remove(Wl),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,p=0;const b=new Rl(60),g=new Rl(60),_=new Rl(60);let L=[],A=[],w=[];return Ji(()=>{mn.set(Wl,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const S=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),b.push(p),a.speed&&g.push(a.speed),a.bitrate&&_.push(a.bitrate),t(4,L=b.getValuesFromBottom()),t(5,A=g.getValuesFromBottom()),t(6,w=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(S),B&&clearInterval(B)}}),[a,f,h,p,L,A,w,n,s,r]}class lc extends ye{constructor(e){super(),ke(this,e,Sm,Cm,_e,{},ym)}}function Pm(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 Tm(i){let e,t,n;return{c(){e=k("div"),u(e,"class","close v-1ome55p")},m(o,l){C(o,e,l),t||(n=Ee(e,"click",ut(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&y(e),t=!1,n()}}}function Em(i){function e(t){ho.call(this,i,t)}return[e]}class Am extends ye{constructor(e){super(),ke(this,e,Em,Tm,_e,{},Pm)}}function Lm(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 Vm(i){let e,t,n,o,l,s,r;return{c(){e=k("div"),t=k("canvas"),n=N(),o=I("svg"),l=I("g"),s=I("g"),r=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(r,"class","_play"),u(r,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(r,"fill","#fff"),u(s,"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){C(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,r)},p:K,i:K,o:K,d(a){a&&y(e),i[2](null)}}}const Im=5e3;function Mm(i,e,t){let{onTimerEnded:n=it}=e,o;Ji(()=>{let s;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Im;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),s=requestAnimationFrame(c)):n()};return s=requestAnimationFrame(c),()=>{cancelAnimationFrame(s)}});function l(s){We[s?"unshift":"push"](()=>{o=s,t(0,o)})}return i.$$set=s=>{"onTimerEnded"in s&&t(1,n=s.onTimerEnded)},[o,n,l]}class Rm extends ye{constructor(e){super(),ke(this,e,Mm,Vm,_e,{onTimerEnded:1},Lm)}}function Nm(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 pr(i){let e,t;return e=new Rm({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 Bm(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R;r=new Am({}),r.$on("click",i[4]);let U=i[3]&&pr(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",s=N(),F(r.$$.fragment),a=N(),c=k("div"),f=k("div"),h=k("div"),p=k("div"),b=N(),U&&U.c(),_=N(),L=k("div"),A=k("div"),w=De(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(A,"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,q){C(Y,e,q),C(Y,t,q),C(Y,n,q),d(n,o),d(o,l),d(o,s),z(r,o,null),d(n,a),d(n,c),d(c,f),d(f,h),d(h,p),d(h,b),U&&U.m(h,null),d(c,_),d(c,L),d(L,A),d(A,w),S=!0,B||(R=Ee(c,"click",function(){Vn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(Y,[q]){i=Y,i[3]?U?(U.p(i,q),q&8&&m(U,1)):(U=pr(i),U.c(),m(U,1),U.m(h,null)):U&&(pe(),v(U,1,1,()=>{U=null}),ve()),(!S||q&2&&g!==(g=`background-image: url('${i[1]}')`))&&u(h,"style",g),(!S||q&1)&&et(w,i[0])},i(Y){S||(m(r.$$.fragment,Y),m(U),S=!0)},o(Y){v(r.$$.fragment,Y),v(U),S=!1},d(Y){Y&&(y(e),y(t),y(n)),D(r),U&&U.d(),B=!1,R()}}}function Om(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const r=()=>t(3,s=!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,s,r]}class zm extends ye{constructor(e){super(),ke(this,e,Om,Bm,_e,{title:0,thumb:1,playNextVideo:2},Nm)}}const sc=(i,e)=>Math.min(+(i+e).toFixed(2),1),rc=(i,e)=>Math.max(+(i-e).toFixed(2),0),ac=(i,e,t)=>{const n=sc(e,t);e<1&&i.actions.internal.setVolume(n)},uc=(i,e,t)=>{const n=rc(e,t);e>0&&i.actions.internal.setVolume(n)};function Dm(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Fm(i){let e,t,n,o;const l=i[21].default,s=In(l,i,i[20],null);return{c(){e=k("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(r,a){C(r,e,a),s&&s.m(e,null),i[22](e),t=!0,n||(o=[Ee(e,"keyup",i[12]),Ee(e,"keydown",i[11])],n=!0)},p(r,a){s&&s.p&&(!t||a[0]&1048576)&&Rn(s,l,r,r[20],t?Mn(l,r[20],a,null):Nn(r[20]),null)},i(r){t||(m(s,r),t=!0)},o(r){v(s,r),t=!1},d(r){r&&y(e),s&&s.d(r),i[22](null),n=!1,ni(o)}}}function Hm(i,e,t){let n,o,l,s,r,a,c,f,h,p,{$$slots:b={},$$scope:g}=e,{isAds:_}=e,{hideContextMenu:L}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:w}=e,{showKeyMap:S}=e,{fakePlayButtonHandler:B}=e;const R=Et(),U=xi(),Y=R.getLogger().createComponentLog("KeyboardControls component"),q=R.state.playbackState$;W(i,q,ee=>t(26,o=ee));const ne=R.ads.playbackState;W(i,ne,ee=>t(25,n=ee));const X=R.state.positionExact$;W(i,X,ee=>t(31,c=ee));const $=R.state.duration$;W(i,$,ee=>t(30,a=ee));const T=R.state.volume$;W(i,T,ee=>t(34,p=ee));const te=R.ui.controls.disabledControls$;W(i,te,ee=>t(29,r=ee));const ce=R.state.muted$;W(i,ce,ee=>t(28,s=ee));const E=R.state.currentSubtitle$;W(i,E,ee=>t(27,l=ee));const oe=R.state.currentPlaybackRate$;W(i,oe,ee=>t(32,f=ee));const se=R.state.availablePlaybackRates$;W(i,se,ee=>t(33,h=ee));let we=0,be=!0,Te;const Ce=()=>Te==null?void 0:Te.focus(),H=ee=>(ee!==be&&(be=ee,we=0),we+=1,(U.controls.seekStepKeyboard+U.controls.seekStepKeyboard*we)/1e3),G=ee=>{L();const M=ee.code,Q=!j0.has(M);if(ee.ctrlKey&&Q||ee.altKey&&Q||ee.metaKey)return;const Ve=o===Ti.PLAYING||o===Ti.PAUSED,Pe=_&&(n===Xt.PAUSED||n===Xt.PLAYING),Ae=!Pe&&!r.has(ht.TIMELINE);if(Ve||Pe)switch(Y({message:`key down, code: ${M}`}),M){case He.KeyJ:case He.ArrowLeft:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const J=R.actions.internal.getPrevEpisode();R.actions.internal.seekToPrevEpisode(J),J&&w({type:Xe.EPISODE_PREV,text:J.text}),ee.preventDefault()}else{const J=ee.shiftKey?H(!1):U.controls.seekStepKeyboard/1e3,ae=Math.max(c-J,0);c>0&&(R.actions.internal.seekTime(ae,Wt.DOUBLE_TAP),w({type:Xe.BACKWARD_SEEK,text:J.toString()}),ee.preventDefault())}break}case He.KeyL:case He.ArrowRight:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const J=R.actions.internal.getNextEpisode();R.actions.internal.seekToNextEpisode(J),J&&w({type:Xe.EPISODE_NEXT,text:J.text}),ee.preventDefault()}else{const J=ee.shiftKey?H(!0):U.controls.seekStepKeyboard/1e3,ae=Math.min(c+J,a);Math.round(c)<Math.round(a)&&(R.actions.internal.seekTime(ae,Wt.DOUBLE_TAP),w({type:Xe.FORWARD_SEEK,text:J.toString()}),ee.preventDefault())}break}case He.ArrowUp:{const J=p,ae=U.controls.volumeStepKeyboard,he=J<=1;if(ac(R,J,ae),he){const re=Math.round(sc(J,ae)*100).toString();w({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case He.ArrowDown:{const J=p,ae=U.controls.volumeStepKeyboard,he=J>=0;if(uc(R,J,ae),he){const re=Math.round(rc(J,ae)*100).toString();w({type:Xe.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case He.Comma:{if(ee.shiftKey){R.actions.internal.decrementPlaybackRate();const J=h.find(ae=>ae.value===f);w({type:Xe.RATE_DOWN,text:J==null?void 0:J.displayValue}),ee.preventDefault()}else{if(Pe||o!==Ti.PAUSED)break;const J=Math.max(c-U.controls.seekStepFrame/1e3,0);c>0&&(w({type:Xe.BACKWARD_SEEK}),R.actions.internal.clearDelayedBufferingCheckTimeout(),R.actions.internal.seekTime(J,Wt.DOUBLE_TAP),ee.preventDefault())}break}case He.Period:{if(ee.shiftKey){R.actions.internal.incrementPlaybackRate();const J=h.find(ae=>ae.value===f);w({type:Xe.RATE_UP,text:J==null?void 0:J.displayValue}),ee.preventDefault()}else{if(Pe||o!==Ti.PAUSED)break;const J=Math.min(c+U.controls.seekStepFrame/1e3,a);c<a&&(w({type:Xe.FORWARD_SEEK}),R.actions.internal.clearDelayedBufferingCheckTimeout(),R.actions.internal.seekTime(J,Wt.DOUBLE_TAP),ee.preventDefault())}break}case He.KeyK:case He.Space:r.has(ht.PLAY_BUTTON)||(B?B():(R.actions.internal.togglePlay(),w({type:o===Ti.PLAYING?Xe.PLAY:Xe.STOP}))),ee.preventDefault();break;case He.KeyM:{w({type:s?Xe.VOLUME:Xe.MUTE}),R.actions.internal.toggleMuted(),ee.preventDefault();break}case He.KeyF:A(),ee.preventDefault();break;case He.KeyC:R.actions.internal.toggleSubtitle(),l.value!=="off"?w({type:Xe.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):w({type:Xe.SUBTITLES_OFF}),ee.preventDefault();break;case He.KeyI:R.actions.internal.togglePictureInPicture(),ee.preventDefault();break;case He.Digit1:case He.Numpad1:w(),R.actions.internal.seekToPercent(.1,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit2:case He.Numpad2:w(),R.actions.internal.seekToPercent(.2,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit3:case He.Numpad3:w(),R.actions.internal.seekToPercent(.3,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit4:case He.Numpad4:w(),R.actions.internal.seekToPercent(.4,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit5:case He.Numpad5:w(),R.actions.internal.seekToPercent(.5,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit6:case He.Numpad6:w(),R.actions.internal.seekToPercent(.6,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit7:case He.Numpad7:w(),R.actions.internal.seekToPercent(.7,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit8:case He.Numpad8:w(),R.actions.internal.seekToPercent(.8,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit9:case He.Numpad9:w(),R.actions.internal.seekToPercent(.9,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Digit0:case He.Numpad0:w(),R.actions.internal.seekToPercent(0,Wt.DOUBLE_TAP),ee.preventDefault();break;case He.Slash:{ee.shiftKey&&U.features.hotKeyMapModal&&(S(),ee.preventDefault());break}case He.ShiftLeft:case He.ShiftRight:ee.preventDefault();break;default:a0(M);break}},O=ee=>{const M=ee.code;if(ee.ctrlKey||ee.altKey||ee.metaKey)return;const Q=o===Ti.PLAYING||o===Ti.PAUSED,Ve=_&&(n===Xt.PAUSED||n===Xt.PLAYING);if(Q||Ve)switch(M){case He.ShiftLeft:case He.ShiftRight:we=0;break}};function me(ee){We[ee?"unshift":"push"](()=>{Te=ee,t(0,Te)})}return i.$$set=ee=>{"isAds"in ee&&t(13,_=ee.isAds),"hideContextMenu"in ee&&t(14,L=ee.hideContextMenu),"toggleFullscreen"in ee&&t(15,A=ee.toggleFullscreen),"showHotKeyHelpers"in ee&&t(16,w=ee.showHotKeyHelpers),"showKeyMap"in ee&&t(17,S=ee.showKeyMap),"fakePlayButtonHandler"in ee&&t(18,B=ee.fakePlayButtonHandler),"$$scope"in ee&&t(20,g=ee.$$scope)},[Te,q,ne,X,$,T,te,ce,E,oe,se,G,O,_,L,A,w,S,B,Ce,g,b,me]}class Um extends ye{constructor(e){super(),ke(this,e,Hm,Fm,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},Dm,[-1,-1])}get focus(){return this.$$.ctx[19]}}function jm(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 qm(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){C(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class cc extends ye{constructor(e){super(),ke(this,e,null,qm,_e,{},jm)}}function Wm(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),r=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(s,"id","a"),u(s,"x",".5"),u(s,"y",".5"),u(s,"width","23"),u(s,"height","23"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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,_){C(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,p),d(s,b)},p:K,i:K,o:K,d(g){g&&y(e)}}}class Zm extends ye{constructor(e){super(),ke(this,e,null,Wm,_e,{})}}function Gm(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 Km(i){let e,t,n,o,l,s,r,a,c,f,h;const p=i[9].default,b=In(p,i,i[8],null);return{c(){var g,_,L,A,w;e=k("button"),b&&b.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=(_=i[4])!=null?_:null),u(e,"aria-label",s=(L=i[5])!=null?L:null),u(e,"aria-keyshortcuts",r=(A=i[6])!=null?A:null),u(e,"data-testid",a=(w=i[3])!=null?w:null)},m(g,_){C(g,e,_),b&&b.m(e,null),c=!0,f||(h=[Ee(e,"pointerdown",ut(_i(i[10]))),Ee(e,"click",ut(_i(function(){Vn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(g,[_]){var L,A,w,S,B;i=g,b&&b.p&&(!c||_&256)&&Rn(b,p,i,i[8],c?Mn(p,i[8],_,null):Nn(i[8]),null),(!c||_&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!c||_&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!c||_&4&&o!==(o=(L=i[2])!=null?L:null))&&(e.disabled=o),(!c||_&16&&l!==(l=(A=i[4])!=null?A:null))&&u(e,"aria-hidden",l),(!c||_&32&&s!==(s=(w=i[5])!=null?w:null))&&u(e,"aria-label",s),(!c||_&64&&r!==(r=(S=i[6])!=null?S:null))&&u(e,"aria-keyshortcuts",r),(!c||_&8&&a!==(a=(B=i[3])!=null?B:null))&&u(e,"data-testid",a)},i(g){c||(m(b,g),c=!0)},o(g){v(b,g),c=!1},d(g){g&&y(e),b&&b.d(g),f=!1,ni(h)}}}function Ym(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:r=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=it}=e;function b(g){ho.call(this,i,g)}return i.$$set=g=>{"className"in g&&t(0,l=g.className),"style"in g&&t(1,s=g.style),"disabled"in g&&t(2,r=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,s,r,a,c,f,h,p,o,n,b]}class wi extends ye{constructor(e){super(),ke(this,e,Ym,Km,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},Gm)}}function Xm(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 vr(i){let e,t,n,o,l,s=i[2]&&gr(i);return{c(){e=k("div"),t=k("h3"),n=De(i[3]),o=N(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){C(r,e,a),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(r,a){(!l||a&8)&&et(n,r[3]),r[2]?s?(s.p(r,a),a&4&&m(s,1)):(s=gr(r),s.c(),m(s,1),s.m(e,null)):s&&(pe(),v(s,1,1,()=>{s=null}),ve())},i(r){l||(m(s),l=!0)},o(r){v(s),l=!1},d(r){r&&y(e),s&&s.d()}}}function gr(i){let e,t;return e=new wi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Z("hotkey_map_modal_close_btn_text"),$$slots:{default:[Qm]},$$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 Qm(i){let e,t;return e=new Zm({}),{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 Jm(i){let e,t,n,o,l,s,r=i[1]&&vr(i);const a=i[4].default,c=In(a,i,i[5],null);return{c(){e=k("div"),t=k("div"),r&&r.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){C(f,e,h),d(e,t),r&&r.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?r?(r.p(f,h),h&2&&m(r,1)):(r=vr(f),r.c(),m(r,1),r.m(t,n)):r&&(pe(),v(r,1,1,()=>{r=null}),ve()),c&&c.p&&(!s||h&32)&&Rn(c,a,f,f[5],s?Mn(a,f[5],h,null):Nn(f[5]),null)},i(f){s||(m(r),m(c,f),s=!0)},o(f){v(r),v(c,f),s=!1},d(f){f&&y(e),r&&r.d(),c&&c.d(f)}}}function xm(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,s=c.showHeader),"showCloseCross"in c&&t(2,r=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,r,a,n,o]}class $m extends ye{constructor(e){super(),ke(this,e,xm,Jm,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},Xm)}}const eh=new Set(["BR"]),br=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],s=l.tagName;eh.has(s)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function th(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 _r(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function wr(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function kr(i){let e,t,n=br(i[9])+"",o,l,s=i[10]+"",r,a;return{c(){e=k("li"),t=k("span"),o=N(),l=k("span"),r=De(s),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){C(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,r),d(e,a)},p(c,f){f&1&&n!==(n=br(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&et(r,s)},d(c){c&&y(e)}}}function yr(i){let e,t,n=i[5]+"",o,l,s,r,a=Gt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=kr(wr(i,a,f));return{c(){e=k("div"),t=k("h5"),o=De(n),l=N(),s=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(s,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){C(f,e,h),d(e,t),d(t,o),d(e,l),d(e,s);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(s,null);d(e,r)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&et(o,n),h&1){a=Gt(f[6]);let p;for(p=0;p<a.length;p+=1){const b=wr(f,a,p);c[p]?c[p].p(b,h):(c[p]=kr(b),c[p].c(),c[p].m(s,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=a.length}},d(f){f&&y(e),dn(c,f)}}}function ih(i){let e,t=Gt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=yr(_r(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){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,l){if(l&1){t=Gt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const r=_r(o,t,s);n[s]?n[s].p(r,l):(n[s]=yr(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),dn(n,o)}}}function nh(i){let e,t;return e=new $m({props:{title:i[0].title,onClose:i[2],$$slots:{default:[ih]},$$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 oh(i,e,t){let n;const o=Et(),{data:l,show:s}=o.ui.modals.hotKeyMap;return W(i,l,a=>t(0,n=a)),[n,l,()=>{s.set(!1)}]}class lh extends ye{constructor(e){super(),ke(this,e,oh,nh,_e,{},th)}}function sh(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 rh(i){let e,t;const n=i[1].default,o=In(n,i,i[0],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,s){C(l,e,s),o&&o.m(e,null),t=!0},p(l,[s]){o&&o.p&&(!t||s&1)&&Rn(o,n,l,l[0],t?Mn(n,l[0],s,null):Nn(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 ah(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class uh extends ye{constructor(e){super(),ke(this,e,ah,rh,_e,{},sh)}}function ch(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){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class fh extends ye{constructor(e){super(),ke(this,e,null,ch,_e,{})}}function dh(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){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class mh extends ye{constructor(e){super(),ke(this,e,null,dh,_e,{})}}function hh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class ph extends ye{constructor(e){super(),ke(this,e,null,hh,_e,{})}}function vh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class fc extends ye{constructor(e){super(),ke(this,e,null,vh,_e,{})}}function gh(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){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class dc extends ye{constructor(e){super(),ke(this,e,null,gh,_e,{})}}const go=i=>{switch(i){case ro.Q_720P:return ph;case ro.Q_1080P:return fc;case ro.Q_1440P:return dc;case ro.Q_2160P:return fh;case ro.Q_4320P:return mh}};function bh(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 _h(i){let e,t,n,o,l,s,r=i[1]&&Cr(i);return{c(){e=k("div"),r&&r.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){C(a,e,c),r&&r.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&m(r,1)):(r=Cr(a),r.c(),m(r,1),r.m(e,t)):r&&(pe(),v(r,1,1,()=>{r=null}),ve()),(!s||c&2)&&V(l,"hidden",!!a[1]),(!s||c&4)&&V(e,"triple",a[2])},i(a){s||(m(r),s=!0)},o(a){v(r),s=!1},d(a){a&&y(e),r&&r.d()}}}function wh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}function Cr(i){let e,t;return e=new uh({props:{$$slots:{default:[kh]},$$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 kh(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=kn(o,l())),{c(){e&&F(e.$$.fragment),t=bt()},m(s,r){e&&z(e,s,r),C(s,t,r),n=!0},p(s,r){if(r&2&&o!==(o=s[1])){if(e){pe();const a=e;v(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(e=kn(o,l()),F(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(s){n||(e&&m(e.$$.fragment,s),n=!0)},o(s){e&&v(e.$$.fragment,s),n=!1},d(s){s&&y(t),e&&D(e,s)}}}function yh(i){let e,t,n,o;const l=[wh,_h],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function Ch(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,o=r.isMobile),"currentQuality"in r&&t(3,l=r.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=go(l)),i.$$.dirty&2&&t(2,s=!!n&&[fc,dc].includes(n))},[o,n,s,l]}class mc extends ye{constructor(e){super(),ke(this,e,Ch,yh,_e,{isMobile:0,currentQuality:3},bh)}}function Sh(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){C(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,Sh,_e,{})}}function Ph(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Th extends ye{constructor(e){super(),ke(this,e,null,Ph,_e,{})}}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","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){C(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,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,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class Vh extends ye{constructor(e){super(),ke(this,e,null,Lh,_e,{})}}function Ih(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Mh(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){C(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 Rh(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){C(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 Nh(i){let e;function t(l,s){return l[1]?Rh:Mh}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(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 Bh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=r=>{"direction"in r&&t(3,n=r.direction),"color"in r&&t(0,o=r.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,s=["right","down"].includes(n)))},[o,l,s,n]}class Fn extends ye{constructor(e){super(),ke(this,e,Bh,Nh,_e,{direction:3,color:0},Ih)}}function Oh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class zh extends ye{constructor(e){super(),ke(this,e,null,Oh,_e,{})}}function Dh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Do extends ye{constructor(e){super(),ke(this,e,null,Dh,_e,{})}}function Fh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Hh extends ye{constructor(e){super(),ke(this,e,null,Fh,_e,{})}}function Uh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class jh extends ye{constructor(e){super(),ke(this,e,null,Uh,_e,{})}}function qh(i){Ue(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 Sr(i,e,t){const n=i.slice();return n[87]=e[t],n}function Pr(i,e,t){const n=i.slice();return n[90]=e[t],n}function Tr(i,e,t){const n=i.slice();return n[93]=e[t],n}function Er(i){let e,t,n,o,l,s,r,a;return{c(){e=k("div"),t=k("div"),t.textContent=`${Z("submenu_settings")}`,n=N(),o=k("div"),l=N(),s=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[7]),u(s,"class","menu-divider v-79x8pk")},m(c,f){C(c,e,f),d(e,t),d(e,n),d(e,o),C(c,l,f),C(c,s,f),r||(a=Ee(o,"click",ut(i[49])),r=!0)},p(c,f){f[0]&128&&V(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(s)),r=!1,a()}}}function Ar(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;n=new mc({});let g=i[27]&&!i[7]&&Lr(i);return{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_quality")}`,s=N(),r=k("div"),a=De(i[15]),c=N(),g&&g.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"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(_,L){C(_,e,L),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,a),d(r,c),g&&g.m(r,null),h=!0,p||(b=Ee(e,"click",ut(i[50])),p=!0)},p(_,L){(!h||L[0]&32768)&&et(a,_[15]),_[27]&&!_[7]?g?(g.p(_,L),L[0]&134217856&&m(g,1)):(g=Lr(_),g.c(),m(g,1),g.m(r,null)):g&&(pe(),v(g,1,1,()=>{g=null}),ve()),(!h||L[0]&33554432&&f!==(f=Z("aria_label_menu_quality",{actual:_[25]})))&&u(e,"aria-label",f),(!h||L[0]&128)&&V(e,"item-mobile",_[7])},i(_){h||(m(n.$$.fragment,_),m(g),h=!0)},o(_){v(n.$$.fragment,_),v(g),h=!1},d(_){_&&y(e),D(n),g&&g.d(),p=!1,b()}}}function Lr(i){let e,t,n;var o=i[27];function l(s){return{}}return o&&(t=kn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,r){C(s,e,r),t&&z(t,e,null),n=!0},p(s,r){if(r[0]&134217728&&o!==(o=s[27])){if(t){pe();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(t=kn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&D(t)}}}function Vr(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;return n=new Vh({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_playback_rate")}`,s=N(),r=k("div"),a=De(i[3]),c=De("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"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,_){C(g,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,a),d(r,c),h=!0,p||(b=Ee(e,"click",ut(i[54])),p=!0)},p(g,_){(!h||_[0]&8)&&et(a,g[3]),(!h||_[0]&67108864&&f!==(f=Z("aria_label_menu_rate",{actual:g[26]})))&&u(e,"aria-label",f),(!h||_[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,b()}}}function Ir(i){let e,t,n,o,l,s,r,a=i[28].displayValue+"",c,f,h,p,b;return n=new hc({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("subtitles_caption")}`,s=N(),r=k("div"),c=De(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"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,_){C(g,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,c),h=!0,p||(b=Ee(e,"click",ut(i[56])),p=!0)},p(g,_){(!h||_[0]&268435456)&&a!==(a=g[28].displayValue+"")&&et(c,a),(!h||_[0]&268435456&&f!==(f=Z("aria_label_menu_subtitle",{actual:g[28].displayValue})))&&u(e,"aria-label",f),(!h||_[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,b()}}}function Mr(i){let e,t,n,o,l,s,r,a,c,f,h,p;return n=new Ah({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_traffic_saving")}`,s=N(),r=k("div"),a=De(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(r,"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(b,g){C(b,e,g),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,r),d(r,a),f=!0,h||(p=Ee(e,"click",ut(i[51])),h=!0)},p(b,g){(!f||g[0]&16777216)&&et(a,b[24]),(!f||g[0]&16777216&&c!==(c=Z("aria_label_menu_traffic_saving",{actual:b[24]})))&&u(e,"aria-label",c),(!f||g[0]&128)&&V(e,"item-mobile",b[7])},i(b){f||(m(n.$$.fragment,b),f=!0)},o(b){v(n.$$.fragment,b),f=!1},d(b){b&&y(e),D(n),h=!1,p()}}}function Rr(i){let e,t,n,o,l,s,r,a;return n=new Th({}),{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){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,r||(a=Ee(e,"click",ut(i[59])),r=!0)},p(c,f){(!s||f[0]&128)&&V(e,"item-mobile",c[7])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&y(e),D(n),r=!1,a()}}}function Nr(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A=i[30].showSupport&&Wh(i);return o=new Hh({}),f=new jh({}),{c(){A&&A.c(),e=N(),t=k("li"),n=k("div"),F(o.$$.fragment),l=N(),s=k("div"),s.textContent=`${Z("menu_copy_debug")}`,r=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(s,"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",b=i[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))},m(w,S){A&&A.m(w,S),C(w,e,S),C(w,t,S),d(t,n),z(o,n,null),d(t,l),d(t,s),C(w,r,S),C(w,a,S),d(a,c),z(f,c,null),d(a,h),d(a,p),g=!0,_||(L=[Ee(t,"click",ut(i[61])),Ee(a,"click",ut(i[62]))],_=!0)},p(w,S){w[30].showSupport&&A.p(w,S),(!g||S[0]&536870912&&b!==(b=w[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(w){g||(m(A),m(o.$$.fragment,w),m(f.$$.fragment,w),g=!0)},o(w){v(A),v(o.$$.fragment,w),v(f.$$.fragment,w),g=!1},d(w){w&&(y(e),y(t),y(r),y(a)),A&&A.d(w),D(o),D(f),_=!1,ni(L)}}}function Wh(i){let e,t,n,o,l,s,r,a;return n=new zh({}),{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){C(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0,r||(a=Ee(e,"click",ut(i[60])),r=!0)},p:K,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){v(n.$$.fragment,c),s=!1},d(c){c&&y(e),D(n),r=!1,a()}}}function Br(i){let e,t,n;return t=new Do({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(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 Or(i){let e,t,n;var o=go(i[93].value);function l(s){return{}}return o&&(t=kn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,r){C(s,e,r),t&&z(t,e,null),n=!0},p(s,r){if(r[0]&256&&o!==(o=go(s[93].value))){if(t){pe();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),ve()}o?(t=kn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(s){n||(t&&m(t.$$.fragment,s),n=!0)},o(s){t&&v(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&D(t)}}}function zr(i){let e,t,n,o=i[93].displayValue+"",l,s,r=!i[7]&&go(i[93].value),a,c,f,h,p,b,g=i[93].selected&&Br(),_=r&&Or(i);function L(){return i[76](i[93])}return{c(){e=k("li"),g&&g.c(),t=N(),n=k("div"),l=De(o),s=N(),_&&_.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(A,w){C(A,e,w),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),_&&_.m(e,null),d(e,a),h=!0,p||(b=Ee(e,"click",ut(L)),p=!0)},p(A,w){i=A,i[93].selected?g?w[0]&256&&m(g,1):(g=Br(),g.c(),m(g,1),g.m(e,t)):g&&(pe(),v(g,1,1,()=>{g=null}),ve()),(!h||w[0]&256)&&o!==(o=i[93].displayValue+"")&&et(l,o),(!h||w[0]&128)&&V(n,"quality-title-mobile",i[7]),w[0]&384&&(r=!i[7]&&go(i[93].value)),r?_?(_.p(i,w),w[0]&384&&m(_,1)):(_=Or(i),_.c(),m(_,1),_.m(e,a)):_&&(pe(),v(_,1,1,()=>{_=null}),ve()),(!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(A){h||(m(g),m(_),h=!0)},o(A){v(g),v(_),h=!1},d(A){A&&y(e),g&&g.d(),_&&_.d(),p=!1,b()}}}function Dr(i){let e,t,n;return t=new Do({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(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 Fr(i){let e,t,n,o=i[90].displayValue+"",l,s,r,a,c,f,h,p=i[90].selected&&Dr();function b(){return i[78](i[90])}return{c(){e=k("li"),p&&p.c(),t=N(),n=k("div"),l=De(o),s=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",r=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,_){C(g,e,_),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(b)),f=!0)},p(g,_){i=g,i[90].selected?p?_[0]&16&&m(p,1):(p=Dr(),p.c(),m(p,1),p.m(e,t)):p&&(pe(),v(p,1,1,()=>{p=null}),ve()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&et(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&r!==(r=i[90].value))&&u(e,"data-value",r),(!c||_[0]&16&&a!==(a=Z("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",a),(!c||_[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 Hr(i){let e,t,n;return t=new Do({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(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 Ur(i){let e,t,n;return t=new Do({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(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 jr(i){let e,t,n;return t=new Do({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){C(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 qr(i){let e,t,n,o=i[87].displayValue+"",l,s,r,a,c,f,h,p=i[87].selected&&jr();function b(){return i[82](i[87])}return{c(){e=k("li"),p&&p.c(),t=N(),n=k("div"),l=De(o),s=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",r=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,_){C(g,e,_),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(b)),f=!0)},p(g,_){i=g,i[87].selected?p?_[0]&64&&m(p,1):(p=jr(),p.c(),m(p,1),p.m(e,t)):p&&(pe(),v(p,1,1,()=>{p=null}),ve()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&et(l,o),(!c||_[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&r!==(r=i[87].value))&&u(e,"data-value",r),(!c||_[0]&64&&a!==(a=Z("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",a),(!c||_[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 Zh(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,Te,Ce,H,G,O,me,ee,M,Q,Ve,Pe,Ae,J,ae,he,re,je,qe,lt,nt,Ne,ft,wt,Me,Be,Zt,Pt,rt=i[7]&&Er(i),tt=i[23]&&Ar(i),ue=i[22]&&Vr(i),Je=i[21]&&Ir(i),Ke=i[20]&&Mr(i),Qe=i[19]&&Rr(i),Ze=i[7]&&Nr(i);b=new Fn({props:{direction:"left"}});let ct=Gt(i[8]),ze=[];for(let de=0;de<ct.length;de+=1)ze[de]=zr(Tr(i,ct,de));const xe=de=>v(ze[de],1,1,()=>{ze[de]=null});Y=new Fn({props:{direction:"left"}});let pt=Gt(i[4]),ot=[];for(let de=0;de<pt.length;de+=1)ot[de]=Fr(Pr(i,pt,de));const Qt=de=>v(ot[de],1,1,()=>{ot[de]=null});se=new Fn({props:{direction:"left"}});let dt=!i[5]&&Hr(),Ye=i[5]&&Ur();nt=new Fn({props:{direction:"left"}});let At=Gt(i[6]),st=[];for(let de=0;de<At.length;de+=1)st[de]=qr(Sr(i,At,de));const ui=de=>v(st[de],1,1,()=>{st[de]=null});return{c(){e=k("div"),t=k("div"),rt&&rt.c(),n=N(),o=k("ul"),tt&&tt.c(),l=N(),ue&&ue.c(),s=N(),Je&&Je.c(),r=N(),Ke&&Ke.c(),a=N(),Qe&&Qe.c(),c=N(),Ze&&Ze.c(),f=N(),h=k("div"),p=k("div"),F(b.$$.fragment),g=N(),_=k("div"),_.textContent=`${Z("submenu_quality")}`,L=N(),A=k("div"),w=N(),S=k("ul");for(let de=0;de<ze.length;de+=1)ze[de].c();B=N(),R=k("div"),U=k("div"),F(Y.$$.fragment),q=N(),ne=k("div"),ne.textContent=`${Z("submenu_playback_rate")}`,X=N(),$=k("div"),T=N(),te=k("ul");for(let de=0;de<ot.length;de+=1)ot[de].c();ce=N(),E=k("div"),oe=k("div"),F(se.$$.fragment),we=N(),be=k("div"),be.textContent=`${Z("submenu_traffic_saving")}`,Te=N(),Ce=k("div"),H=N(),G=k("ul"),O=k("li"),dt&&dt.c(),me=N(),ee=k("div"),ee.textContent=`${Z("traffic_saving_disable")}`,M=N(),Q=k("li"),Ye&&Ye.c(),Ve=N(),Pe=k("div"),Pe.textContent=`${Z("traffic_saving_enable")}`,Ae=N(),J=k("div"),ae=N(),he=k("div"),re=k("span"),re.textContent=`${Z("traffic_saving_helper_text")}`,je=N(),qe=k("div"),lt=k("div"),F(nt.$$.fragment),Ne=N(),ft=k("div"),ft.textContent=`${Z("subtitles_caption")}`,wt=N(),Me=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(A,"class","menu-divider v-79x8pk"),u(S,"class","items v-79x8pk"),u(S,"style",i[16]),V(S,"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($,"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(Ce,"class","menu-divider v-79x8pk"),u(ee,"class","v-79x8pk"),V(ee,"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(Q,"class","item item-traffic-saving v-79x8pk"),u(Q,"role","menuitem"),u(Q,"tabindex","0"),u(Q,"aria-label",`${Z("aria_label_submenu_traffic_saving_on")}. ${Z("traffic_saving_helper_text")}`),V(Q,"item-mobile",i[7]),u(G,"class","items v-79x8pk"),u(G,"style",i[18]),V(G,"items-mobile",i[7]),u(J,"class","menu-divider v-79x8pk"),u(re,"class","v-79x8pk"),u(he,"class","item item-helper-text v-79x8pk"),V(he,"item-mobile",i[7]),u(E,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(E,"menu-desktop",!i[7]),V(E,"menu-mobile",i[7]),V(E,"hidden",!i[14]),u(lt,"class","item menu-header v-79x8pk"),u(lt,"aria-label",Z("aria_label_submenu_back")),V(lt,"item-mobile",i[7]),u(Me,"class","items v-79x8pk"),V(Me,"items-mobile",i[7]),u(qe,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(qe,"menu-desktop",!i[7]),V(qe,"menu-mobile",i[7]),V(qe,"hidden",!i[13]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[9]),V(e,"container-mobile",i[7])},m(de,Se){C(de,e,Se),d(e,t),rt&&rt.m(t,null),d(t,n),d(t,o),tt&&tt.m(o,null),d(o,l),ue&&ue.m(o,null),d(o,s),Je&&Je.m(o,null),d(o,r),Ke&&Ke.m(o,null),d(o,a),Qe&&Qe.m(o,null),d(o,c),Ze&&Ze.m(o,null),d(e,f),d(e,h),d(h,p),z(b,p,null),d(p,g),d(p,_),i[75](p),d(h,L),d(h,A),d(h,w),d(h,S);for(let Ie=0;Ie<ze.length;Ie+=1)ze[Ie]&&ze[Ie].m(S,null);d(e,B),d(e,R),d(R,U),z(Y,U,null),d(U,q),d(U,ne),i[77](U),d(R,X),d(R,$),d(R,T),d(R,te);for(let Ie=0;Ie<ot.length;Ie+=1)ot[Ie]&&ot[Ie].m(te,null);d(e,ce),d(e,E),d(E,oe),z(se,oe,null),d(oe,we),d(oe,be),i[79](oe),d(E,Te),d(E,Ce),d(E,H),d(E,G),d(G,O),dt&&dt.m(O,null),d(O,me),d(O,ee),d(G,M),d(G,Q),Ye&&Ye.m(Q,null),d(Q,Ve),d(Q,Pe),d(E,Ae),d(E,J),d(E,ae),d(E,he),d(he,re),d(e,je),d(e,qe),d(qe,lt),z(nt,lt,null),d(lt,Ne),d(lt,ft),d(qe,wt),d(qe,Me);for(let Ie=0;Ie<st.length;Ie+=1)st[Ie]&&st[Ie].m(Me,null);Be=!0,Zt||(Pt=[Ee(p,"click",ut(i[58])),Ee(U,"click",ut(i[58])),Ee(oe,"click",ut(i[58])),Ee(O,"click",ut(i[80])),Ee(Q,"click",ut(i[81])),Ee(lt,"click",ut(i[58]))],Zt=!0)},p(de,Se){if(de[7]?rt?rt.p(de,Se):(rt=Er(de),rt.c(),rt.m(t,n)):rt&&(rt.d(1),rt=null),de[23]?tt?(tt.p(de,Se),Se[0]&8388608&&m(tt,1)):(tt=Ar(de),tt.c(),m(tt,1),tt.m(o,l)):tt&&(pe(),v(tt,1,1,()=>{tt=null}),ve()),de[22]?ue?(ue.p(de,Se),Se[0]&4194304&&m(ue,1)):(ue=Vr(de),ue.c(),m(ue,1),ue.m(o,s)):ue&&(pe(),v(ue,1,1,()=>{ue=null}),ve()),de[21]?Je?(Je.p(de,Se),Se[0]&2097152&&m(Je,1)):(Je=Ir(de),Je.c(),m(Je,1),Je.m(o,r)):Je&&(pe(),v(Je,1,1,()=>{Je=null}),ve()),de[20]?Ke?(Ke.p(de,Se),Se[0]&1048576&&m(Ke,1)):(Ke=Mr(de),Ke.c(),m(Ke,1),Ke.m(o,a)):Ke&&(pe(),v(Ke,1,1,()=>{Ke=null}),ve()),de[19]?Qe?(Qe.p(de,Se),Se[0]&524288&&m(Qe,1)):(Qe=Rr(de),Qe.c(),m(Qe,1),Qe.m(o,c)):Qe&&(pe(),v(Qe,1,1,()=>{Qe=null}),ve()),de[7]?Ze?(Ze.p(de,Se),Se[0]&128&&m(Ze,1)):(Ze=Nr(de),Ze.c(),m(Ze,1),Ze.m(o,null)):Ze&&(pe(),v(Ze,1,1,()=>{Ze=null}),ve()),(!Be||Se[0]&128)&&V(o,"items-mobile",de[7]),(!Be||Se[0]&128)&&V(t,"menu-desktop",!de[7]),(!Be||Se[0]&128)&&V(t,"menu-mobile",de[7]),(!Be||Se[0]&1024)&&V(t,"hidden",!de[10]),(!Be||Se[0]&128)&&V(p,"item-mobile",de[7]),Se[0]&384|Se[1]&2097152){ct=Gt(de[8]);let Ie;for(Ie=0;Ie<ct.length;Ie+=1){const It=Tr(de,ct,Ie);ze[Ie]?(ze[Ie].p(It,Se),m(ze[Ie],1)):(ze[Ie]=zr(It),ze[Ie].c(),m(ze[Ie],1),ze[Ie].m(S,null))}for(pe(),Ie=ct.length;Ie<ze.length;Ie+=1)xe(Ie);ve()}if((!Be||Se[0]&65536)&&u(S,"style",de[16]),(!Be||Se[0]&128)&&V(S,"items-mobile",de[7]),(!Be||Se[0]&128)&&V(h,"menu-desktop",!de[7]),(!Be||Se[0]&128)&&V(h,"menu-mobile",de[7]),(!Be||Se[0]&2048)&&V(h,"hidden",!de[11]),(!Be||Se[0]&128)&&V(U,"item-mobile",de[7]),Se[0]&144|Se[1]&16777216){pt=Gt(de[4]);let Ie;for(Ie=0;Ie<pt.length;Ie+=1){const It=Pr(de,pt,Ie);ot[Ie]?(ot[Ie].p(It,Se),m(ot[Ie],1)):(ot[Ie]=Fr(It),ot[Ie].c(),m(ot[Ie],1),ot[Ie].m(te,null))}for(pe(),Ie=pt.length;Ie<ot.length;Ie+=1)Qt(Ie);ve()}if((!Be||Se[0]&131072)&&u(te,"style",de[17]),(!Be||Se[0]&128)&&V(te,"items-mobile",de[7]),(!Be||Se[0]&128)&&V(R,"menu-desktop",!de[7]),(!Be||Se[0]&128)&&V(R,"menu-mobile",de[7]),(!Be||Se[0]&4096)&&V(R,"hidden",!de[12]),(!Be||Se[0]&128)&&V(oe,"item-mobile",de[7]),de[5]?dt&&(pe(),v(dt,1,1,()=>{dt=null}),ve()):dt?Se[0]&32&&m(dt,1):(dt=Hr(),dt.c(),m(dt,1),dt.m(O,me)),(!Be||Se[0]&128)&&V(ee,"quality-title-mobile",de[7]),(!Be||Se[0]&128)&&V(O,"item-mobile",de[7]),de[5]?Ye?Se[0]&32&&m(Ye,1):(Ye=Ur(),Ye.c(),m(Ye,1),Ye.m(Q,Ve)):Ye&&(pe(),v(Ye,1,1,()=>{Ye=null}),ve()),(!Be||Se[0]&128)&&V(Pe,"quality-title-mobile",de[7]),(!Be||Se[0]&128)&&V(Q,"item-mobile",de[7]),(!Be||Se[0]&262144)&&u(G,"style",de[18]),(!Be||Se[0]&128)&&V(G,"items-mobile",de[7]),(!Be||Se[0]&128)&&V(he,"item-mobile",de[7]),(!Be||Se[0]&128)&&V(E,"menu-desktop",!de[7]),(!Be||Se[0]&128)&&V(E,"menu-mobile",de[7]),(!Be||Se[0]&16384)&&V(E,"hidden",!de[14]),(!Be||Se[0]&128)&&V(lt,"item-mobile",de[7]),Se[0]&192|Se[1]&67108864){At=Gt(de[6]);let Ie;for(Ie=0;Ie<At.length;Ie+=1){const It=Sr(de,At,Ie);st[Ie]?(st[Ie].p(It,Se),m(st[Ie],1)):(st[Ie]=qr(It),st[Ie].c(),m(st[Ie],1),st[Ie].m(Me,null))}for(pe(),Ie=At.length;Ie<st.length;Ie+=1)ui(Ie);ve()}(!Be||Se[0]&128)&&V(Me,"items-mobile",de[7]),(!Be||Se[0]&128)&&V(qe,"menu-desktop",!de[7]),(!Be||Se[0]&128)&&V(qe,"menu-mobile",de[7]),(!Be||Se[0]&8192)&&V(qe,"hidden",!de[13]),(!Be||Se[0]&512)&&V(e,"hidden",!de[9]),(!Be||Se[0]&128)&&V(e,"container-mobile",de[7])},i(de){if(!Be){m(tt),m(ue),m(Je),m(Ke),m(Qe),m(Ze),m(b.$$.fragment,de);for(let Se=0;Se<ct.length;Se+=1)m(ze[Se]);m(Y.$$.fragment,de);for(let Se=0;Se<pt.length;Se+=1)m(ot[Se]);m(se.$$.fragment,de),m(dt),m(Ye),m(nt.$$.fragment,de);for(let Se=0;Se<At.length;Se+=1)m(st[Se]);Be=!0}},o(de){v(tt),v(ue),v(Je),v(Ke),v(Qe),v(Ze),v(b.$$.fragment,de),ze=ze.filter(Boolean);for(let Se=0;Se<ze.length;Se+=1)v(ze[Se]);v(Y.$$.fragment,de),ot=ot.filter(Boolean);for(let Se=0;Se<ot.length;Se+=1)v(ot[Se]);v(se.$$.fragment,de),v(dt),v(Ye),v(nt.$$.fragment,de),st=st.filter(Boolean);for(let Se=0;Se<st.length;Se+=1)v(st[Se]);Be=!1},d(de){de&&y(e),rt&&rt.d(),tt&&tt.d(),ue&&ue.d(),Je&&Je.d(),Ke&&Ke.d(),Qe&&Qe.d(),Ze&&Ze.d(),D(b),i[75](null),dn(ze,de),D(Y),i[77](null),dn(ot,de),D(se),i[79](null),dt&&dt.d(),Ye&&Ye.d(),D(nt),dn(st,de),Zt=!1,ni(Pt)}}}const Ol=18;function Gh(i,e,t){let n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,{supportLink:U}=e,{playerControlsHeight:Y=0}=e,{returnFocus:q}=e;const ne=Et(),X=xi(),$=ne.state.currentQuality$;W(i,$,Le=>t(66,s=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,r=Le));const E=ne.state.currentPlaybackRate$;W(i,E,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,b=Le));const Ce=ne.ui.settingsMenuVisible;W(i,Ce,Le=>t(9,S=Le));const H=ne.ui.isMobile;W(i,H,Le=>t(7,_=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 me=ne.ui.isFullscreen;W(i,me,Le=>t(74,A=Le));const ee=ne.state.trafficSavingEnabled$;W(i,ee,Le=>t(5,a=Le));const M=ne.ui.playerSize;W(i,M,Le=>t(73,L=Le));const Q=ne.ui.debugPanelVisible;W(i,Q,Le=>t(29,R=Le));const Ve=ne.ui.playerSize;W(i,Ve,Le=>t(72,g=Le));const Pe=ne.actions.internal.downloadVideo;let Ae=!0,J=!1,ae=!1,he=!1,re=!1;function je(){q==null||q(),Ce.set(!1)}function qe(){t(10,Ae=!1),t(11,J=!0)}function lt(){t(10,Ae=!1),t(14,re=!0)}function nt(Le){ne.actions.internal.setQuality(Le),je()}function Ne(Le){ne.actions.internal.setTrafficSavingEnabled(Le),je()}function ft(){t(10,Ae=!1),t(12,ae=!0)}function wt(Le){ne.actions.internal.setPlaybackRate(Le),je()}function Me(){t(10,Ae=!1),t(13,he=!0)}function Be(Le){ne.actions.internal.setSubtitle(Le),je()}function Zt(){t(10,Ae=!0),t(11,J=!1),t(12,ae=!1),t(13,he=!1),t(14,re=!1)}function Pt(){Pe(),je()}function rt(){window.open(U,"_blank"),je(),ne.actions.internal.pause()}function tt(){Xl(ne.actions.internal.getDebugTextData()),je()}function ue(){Q.set(!0),je()}function Je(Le,Rt,fi){if(!Le)return"...";const Ot=Rt.find(zi=>zi.value===Le),Lt=Ot?Ot.displayValue:Le;return fi?Le===ro.INVARIANT?Z("auto_quality_invariant"):Z("auto_quality",{actual:Lt}):Lt}let Ke,Qe,Ze,ct,ze,xe,pt,ot,Qt,dt,Ye,At,st,ui,de;function Se(Le){We[Le?"unshift":"push"](()=>{Qe=Le,t(0,Qe)})}const Ie=Le=>nt(Le.value);function It(Le){We[Le?"unshift":"push"](()=>{Ze=Le,t(1,Ze)})}const ci=Le=>wt(Le.value);function Mt(Le){We[Le?"unshift":"push"](()=>{ct=Le,t(2,ct)})}const Ei=()=>Ne(!1),Bi=()=>Ne(!0),Oi=Le=>Be(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,q=Le.returnFocus)},i.$$.update=()=>{var Le,Rt,fi,Ot;if(i.$$.dirty[0]&512&&S&&(t(10,Ae=!0),t(11,J=!1),t(12,ae=!1),t(13,he=!1),t(14,re=!1)),i.$$.dirty[2]&16&&t(27,n=go(s)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,Ke=Je(s,w,r)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&A)t(16,ze=`max-height: ${Math.round(L.height*.6)}px`);else if(_)t(16,ze="");else{const Lt=g.height-Ol-((Le=Qe==null?void 0:Qe.clientHeight)!=null?Le:0)-Y;t(16,ze=`max-height: ${Lt}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,xe="");else{const Lt=g.height-Ol-((Rt=Ze==null?void 0:Ze.clientHeight)!=null?Rt:0)-Y;t(17,xe=`max-height: ${Lt}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,pt="");else{const Lt=g.height-Ol-((fi=ct==null?void 0:ct.clientHeight)!=null?fi:0)-Y;t(18,pt=`max-height: ${Lt}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,ot=be&&b&&!c),i.$$.dirty[2]&320&&t(20,Qt=X.features.trafficSaving&&!c&&p),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,dt=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ye=!!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,ui=r?Z("auto_quality_option"):s),i.$$.dirty[0]&24&&t(26,de=(Ot=l.find(Lt=>Lt.value===o))==null?void 0:Ot.displayValue)},[Qe,Ze,ct,o,l,a,h,_,w,S,Ae,J,ae,he,re,Ke,ze,xe,pt,ot,Qt,dt,Ye,At,st,ui,de,n,B,R,X,$,T,te,ce,E,oe,se,we,Te,Ce,H,G,O,me,ee,M,Q,Ve,je,qe,lt,nt,Ne,ft,wt,Me,Be,Zt,Pt,rt,tt,ue,U,Y,q,s,r,c,f,p,b,g,L,A,Se,Ie,It,ci,Mt,Ei,Bi,Oi]}class pc extends ye{constructor(e){super(),ke(this,e,Gh,Zh,_e,{supportLink:63,playerControlsHeight:64,returnFocus:65},qh,[-1,-1,-1,-1])}}function Kh(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Yh(i){let e,t,n;return t=new mc({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){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l&2&&(s.isMobile=o[1]),l&4&&(s.currentQuality=o[2]),t.$set(s)},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 Xh(i){let e,t;return e=new wi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[Yh]},$$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 Qh(i,e,t){let n,o,l;const s=Et(),r=s.state.currentQuality$;W(i,r,p=>t(2,l=p));const a=s.ui.settingsMenuVisible;W(i,a,p=>t(7,n=p));const c=s.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,r,a,c,h,n]}class as extends ye{constructor(e){super(),ke(this,e,Qh,Xh,_e,{},Kh)}}function Jh(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class xh extends ye{constructor(e){super(),ke(this,e,null,Jh,_e,{})}}function $h(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 e3(i){let e,t;return e=new xh({}),{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 t3(i){let e,t,n,o;const l=[e3,$h],s=[];function r(a,c){return a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t||(t=s[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),s[e].d(a)}}}function i3(i){let e,t;return e=new wi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:rl[He.KeyC],$$slots:{default:[t3]},$$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 n3(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=s=>{"isSubtitlesEnabled"in s&&t(0,n=s.isSubtitlesEnabled),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class o3 extends ye{constructor(e){super(),ke(this,e,n3,i3,_e,{isSubtitlesEnabled:0,click:1})}}function l3(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 Wr(i){let e,t;return{c(){e=k("span"),t=De(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&8&&et(t,n[3])},d(n){n&&y(e)}}}function s3(i){let e,t,n,o,l,s=i[2]&&Wr(i);return{c(){e=k("div"),t=k("span"),n=De(i[4]),o=N(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Yn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(r,a){C(r,e,a),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=ll(e,i[7].bind(e))},p(r,[a]){a&16&&et(n,r[4]),r[2]?s?s.p(r,a):(s=Wr(r),s.c(),s.m(e,null)):s&&(s.d(1),s=null),a&2&&V(e,"mobile",r[1])},i:K,o:K,d(r){r&&y(e),s&&s.d(),l()}}}function r3(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:r}=e,a,c;function f(){r=this.clientWidth,t(0,r)}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,s=h.showDuration),"width"in h&&t(0,r=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Ln(o)),i.$$.dirty&64&&t(4,c=Ln(l))},[r,n,s,a,c,o,l,f]}class vc extends ye{constructor(e){super(),ke(this,e,r3,s3,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},l3)}}function a3(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 u3(i){let e,t,n,o,l,s;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",s="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(r,a){C(r,e,a),d(e,t),d(t,n),d(t,o),d(t,l)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&s!==(s="volume-"+r[0]+"-icon")&&u(e,"data-testid",s)},i:K,o:K,d(r){r&&y(e)}}}function c3(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let s;return i.$$set=r=>{"volume"in r&&t(1,n=r.volume),"muted"in r&&t(2,o=r.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class fl extends ye{constructor(e){super(),ke(this,e,c3,u3,_e,{volume:1,muted:2},a3)}}function f3(i){let e,t;const n=i[4].default,o=In(n,i,i[3],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","overlay")},m(l,s){C(l,e,s),o&&o.m(e,null),i[5](e),t=!0},p(l,[s]){o&&o.p&&(!t||s&8)&&Rn(o,n,l,l[3],t?Mn(n,l[3],s,null):Nn(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 d3(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const r=Et().ui.overlayContainer$;W(i,r,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)};Ji(()=>(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,r,n,l,o,h]}class m3 extends ye{constructor(e){super(),ke(this,e,d3,f3,_e,{})}}function h3(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 Zr(i){let e,t;return e=new m3({props:{$$slots:{default:[p3]},$$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 p3(i){let e,t,n,o,l,s,r;return{c(){e=k("div"),t=k("div"),n=De(i[1]),o=N(),l=k("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",s=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){C(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(a,c){c&2&&et(n,a[1]),c&32&&s!==(s=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(l,"style",s),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&V(e,"active",a[0])},d(a){a&&y(e),i[17](null)}}}function v3(i){let e,t,n,o,l,s;const r=i[15].default,a=In(r,i,i[18],null);let c=i[1]&&Zr(i);return{c(){e=k("div"),a&&a.c(),t=N(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){C(f,e,h),a&&a.m(e,null),i[16](e),C(f,t,h),c&&c.m(f,h),C(f,n,h),o=!0,l||(s=[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)&&Rn(a,r,f,f[18],o?Mn(r,f[18],h,null):Nn(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=Zr(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(pe(),v(c,1,1,()=>{c=null}),ve())},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,ni(s)}}}const Yo=5;function g3(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,p,b,g,_=0,L=Yo,A=0,w=0;const S=xi(),B=Et(),R=B.ui.playerSize;W(i,R,E=>t(21,o=E));const U=B.ui.overlayContainer$;W(i,U,E=>t(20,n=E));const Y=B.getLogger().createComponentLog("Tooltip component"),q=()=>{if(!n)return;const E=n.getBoundingClientRect(),oe=p.getBoundingClientRect(),se=oe.width,we=b.clientWidth,be=o.width,Te=(se-we)/2,Ce=oe.left+c-E.left;let H=Ce+Te;const G=oe.top+f-E.top;let O=we/2-Yo;const me=H<To,ee=H+we>be-To;me&&(H=To,O=Ce+oe.width/2-2.5*Yo),ee&&(H=be-To-we,O=oe.left-E.left+oe.width/2-H-Yo),t(6,A=H),t(7,w=G),t(5,_=O)},ne=()=>{try{if(!n||!p)return;q(),t(0,a=!0)}catch(E){Y({message:String(E)})}},X=()=>{t(0,a=!1)},$=()=>{b&&(g||(g=window.setTimeout(ne,S.controls.hideTimeoutTooltips)),a&&ne())},T=()=>{X(),window.clearTimeout(g),g=void 0};sl(()=>window.clearTimeout(g));function te(E){We[E?"unshift":"push"](()=>{p=E,t(3,p)})}function ce(E){We[E?"unshift":"push"](()=>{b=E,t(4,b)})}return i.$$set=E=>{"content"in E&&t(1,r=E.content),"active"in E&&t(0,a=E.active),"translateX"in E&&t(13,c=E.translateX),"translateY"in E&&t(14,f=E.translateY),"isFullWidthWrapper"in E&&t(2,h=E.isFullWidthWrapper),"$$scope"in E&&t(18,s=E.$$scope)},[a,r,h,p,b,_,A,w,L,R,U,$,T,c,f,l,te,ce,s]}class gc extends ye{constructor(e){super(),ke(this,e,g3,v3,_e,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},h3)}}function b3(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 _3(i){let e;const t=i[15].default,n=In(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)&&Rn(n,t,o,o[19],e?Mn(t,o[19],l,null):Nn(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 w3(i){let e,t;return e=new gc({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[k3]},$$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 k3(i){let e;const t=i[15].default,n=In(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)&&Rn(n,t,o,o[19],e?Mn(t,o[19],l,null):Nn(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 y3(i){let e,t,n,o,l,s,r,a,c;const f=[w3,_3],h=[];function p(b,g){return b[2]&&b[4]&&!b[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),Yn(()=>i[18].call(e))},m(b,g){C(b,e,g),h[t].m(e,null),s=ll(e,i[18].bind(e)),r=!0,a||(c=[Ee(e,"pointerdown",ut(_i(i[16]))),Ee(e,"click",ut(_i(i[17])))],a=!0)},p(b,[g]){let _=t;t=p(b),t===_?h[t].p(b,g):(pe(),v(h[_],1,1,()=>{h[_]=null}),ve(),n=h[t],n?n.p(b,g):(n=h[t]=f[t](b),n.c()),m(n,1),n.m(e,null)),(!r||g&2&&o!==(o="btn-container "+b[1]+" v-p9r045"))&&u(e,"class",o),(!r||g&32&&l!==(l=b[5]||null))&&u(e,"aria-hidden",l)},i(b){r||(m(n),r=!0)},o(b){v(n),r=!1},d(b){b&&y(e),h[t].d(),s(),a=!1,ni(c)}}}function C3(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:p=""}=e,{disabledTooltipContent:b=Z("tooltip_button_disabled")}=e,{isAriaHidden:g=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:L=-18}=e;const A=Et(),w=A.ui.isMobile;W(i,w,q=>t(9,o=q));const S=A.state.graphIsOpened$;W(i,S,q=>t(14,n=q));let B;function R(q){ho.call(this,i,q)}function U(q){ho.call(this,i,q)}function Y(){f=this.clientWidth,t(0,f)}return i.$$set=q=>{"className"in q&&t(1,r=q.className),"disabled"in q&&t(12,a=q.disabled),"hasTooltip"in q&&t(2,c=q.hasTooltip),"width"in q&&t(0,f=q.width),"isFullWidthTooltip"in q&&t(3,h=q.isFullWidthTooltip),"tooltipContent"in q&&t(4,p=q.tooltipContent),"disabledTooltipContent"in q&&t(13,b=q.disabledTooltipContent),"isAriaHidden"in q&&t(5,g=q.isAriaHidden),"initialTranslateXPx"in q&&t(6,_=q.initialTranslateXPx),"initialTranslateYPx"in q&&t(7,L=q.initialTranslateYPx),"$$scope"in q&&t(19,s=q.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(a?t(8,B=n?Z("tooltip_disabled_when_graph_on"):b):t(8,B=p))},[f,r,c,h,p,g,_,L,B,o,w,S,a,b,n,l,R,U,Y,s]}class Kt extends ye{constructor(e){super(),ke(this,e,C3,y3,_e,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},b3)}}function S3(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(s,r){C(s,e,r),d(e,t),d(e,o)},p(s,[r]){r&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),r&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(s){s&&y(e)}}}function P3(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class T3 extends ye{constructor(e){super(),ke(this,e,P3,S3,_e,{completed:0})}}function E3(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 A3(i){let e,t,n,o,l;return t=new T3({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}%`),Yn(()=>i[3].call(e)),V(e,"disabled",i[1])},m(s,r){C(s,e,r),z(t,e,null),o=ll(e,i[3].bind(e)),l=!0},p(s,r){const a={};r&1&&(a.completed=!!s[0].completed),t.$set(a),(!l||r&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||r&2)&&V(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&y(e),D(t),o()}}}function L3(i){let e,t;return e=new Kt({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:[A3]},$$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 V3(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=r=>{"videoEpisode"in r&&t(0,n=r.videoEpisode),"disabled"in r&&t(1,o=r.disabled)},[n,o,l,s]}class I3 extends ye{constructor(e){super(),ke(this,e,V3,L3,_e,{videoEpisode:0,disabled:1},E3)}}function M3(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 Gr(i,e,t){const n=i.slice();return n[2]=e[t],n}function Kr(i){let e,t,n,o,l,s,r,a,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),s=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(s,"class","video-episode-filled v-1h9p3m2"),u(s,"style",r=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(s,"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){C(f,e,h),d(e,t),d(t,n),d(t,l),d(t,s),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&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",r),h&2&&V(s,"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 R3(i){let e,t=Gt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Kr(Gr(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){C(o,e,l);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(e,null)},p(o,[l]){if(l&3){t=Gt(o[0]);let s;for(s=0;s<t.length;s+=1){const r=Gr(o,t,s);n[s]?n[s].p(r,l):(n[s]=Kr(r),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:K,o:K,d(o){o&&y(e),dn(n,o)}}}function N3(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 B3 extends ye{constructor(e){super(),ke(this,e,N3,R3,_e,{videoEpisodes:0,isMobile:1},M3)}}function O3(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 Yr(i,e,t){const n=i.slice();return n[48]=e[t],n}function Xr(i){let e,t,n=Gt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Jr(Yr(i,n,s));const l=s=>v(o[s],1,1,()=>{o[s]=null});return{c(){e=k("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(s,r){C(s,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(s,r){if(r[0]&2097664){n=Gt(s[21]);let a;for(a=0;a<n.length;a+=1){const c=Yr(s,n,a);o[a]?(o[a].p(c,r),m(o[a],1)):(o[a]=Jr(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(pe(),a=n.length;a<o.length;a+=1)l(a);ve()}(!t||r[0]&32)&&V(e,"mobile",s[5]),(!t||r[0]&1048608)&&V(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let r=0;r<n.length;r+=1)m(o[r]);t=!0}},o(s){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)v(o[r]);t=!1},d(s){s&&y(e),dn(o,s)}}}function Qr(i){let e,t;return e=new I3({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 Jr(i){let e,t,n=i[48].interactive&&Qr(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=Qr(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),v(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function z3(i){let e,t,n,o,l,s;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",s=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(r,a){C(r,e,a),d(e,t),d(e,o),d(e,l)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&s!==(s=`transform: translateX(${r[12]*100}%);`)&&u(l,"style",s),a[0]&16&&V(l,"active-live",r[4]),a[0]&64&&V(l,"ads",r[6])},i:K,o:K,d(r){r&&y(e)}}}function D3(i){let e,t;return e=new B3({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 F3(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g=i[8]&&Xr(i);const _=[D3,z3],L=[];function A(w,S){return w[21].length?0:1}return n=A(i),o=L[n]=_[n](i),{c(){var w;g&&g.c(),e=N(),t=k("div"),o.c(),l=N(),s=k("div"),r=k("div"),u(r,"class","handle v-1golz1y"),V(r,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",a=`transform: translateX(${i[13]*100}%);`),V(s,"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,S){g&&g.m(w,S),C(w,e,S),C(w,t,S),L[n].m(t,null),d(t,l),d(t,s),d(s,r),i[42](t),h=!0,p||(b=[Ee(t,"pointerdown",_i(i[22])),Ee(t,"pointermove",_i(i[23])),Ee(t,"pointerup",_i(i[24])),Ee(t,"pointerenter",_i(i[25])),Ee(t,"pointerleave",_i(i[26])),Ee(t,"click",ut(it)),Ee(t,"wheel",i[27])],p=!0)},p(w,S){var R;w[8]?g?(g.p(w,S),S[0]&256&&m(g,1)):(g=Xr(w),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(pe(),v(g,1,1,()=>{g=null}),ve());let B=n;n=A(w),n===B?L[n].p(w,S):(pe(),v(L[B],1,1,()=>{L[B]=null}),ve(),o=L[n],o?o.p(w,S):(o=L[n]=_[n](w),o.c()),m(o,1),o.m(t,l)),(!h||S[0]&16)&&V(r,"active-live",w[4]),(!h||S[0]&8192&&a!==(a=`transform: translateX(${w[13]*100}%);`))&&u(s,"style",a),(!h||S[0]&1024)&&V(s,"hidden",w[10]),(!h||S[0]&1&&c!==(c="slider "+w[0]+" v-1golz1y"))&&u(t,"class",c),(!h||S[0]&16384)&&u(t,"aria-label",w[14]),(!h||S[0]&32768)&&u(t,"aria-valuemin",w[15]),(!h||S[0]&65536)&&u(t,"aria-valuemax",w[16]),(!h||S[0]&131072)&&u(t,"aria-valuenow",w[17]),(!h||S[0]&262144)&&u(t,"aria-valuetext",w[18]),(!h||S[0]&2&&f!==(f=(R=w[1])!=null?R:null))&&u(t,"data-testid",f),(!h||S[0]&513)&&V(t,"disabled",w[9]),(!h||S[0]&1048577)&&V(t,"slider-dragging",w[20]),(!h||S[0]&5)&&V(t,"hidden",w[2]),(!h||S[0]&9)&&V(t,"slider-vertical",w[3]),(!h||S[0]&1025)&&V(t,"no-handle",w[10]),(!h||S[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,ni(b)}}}function H3(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:p=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:_=!1}=e,{disabled:L=!1}=e,{hideHandel:A=!1}=e,w,S,{onPointerDown:B=it}=e,{onHandleMove:R=it}=e,{onPointerUp:U=it}=e,{onPointerEnter:Y=it}=e,{onPointerMove:q=it}=e,{onPointerLeave:ne=it}=e,{onWheelUp:X=it}=e,{onWheelDown:$=it}=e,{onWheelLeft:T=it}=e,{onWheelRight:te=it}=e,{loadedProgress:ce=0}=e,{filledProgress:E=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:Ce=""}=e;const H=xi();let G=!1,O;function me(re){if(G)return;t(20,G=!0),S=w.getBoundingClientRect();const je=Ae(re.clientX,re.clientY);B(je),w.setPointerCapture(re.pointerId)}function ee(re){const je=Ae(re.clientX,re.clientY),qe=J(re.clientX);q(je,qe,S.width),G&&R(je)}function M(re){if(!G)return;t(20,G=!1);const je=Ae(re.clientX,re.clientY);U(je)}function Q(re){S=w.getBoundingClientRect();const je=Ae(re.clientX,re.clientY),qe=J(re.clientX);Y(je,qe,S.width)}function Ve(){ne()}function Pe(re){g&&(re.preventDefault(),re.deltaY<0?X():re.deltaY>0?$():re.deltaX>0?te():T())}function Ae(re,je){return a?Math.max(0,Math.min(1,(S.height-(je-S.top))/S.height)):Math.min(Math.max(re-S.x,0),S.width)/S.width}function J(re){return Math.min(Math.max(re-S.x,0),S.width)}function ae(re,je){const qe=H.features.episodesClustering&&!_?H.episodeMinWidthPc:0,lt=[];let nt=0,Ne=0,ft=0;for(let Be=1;Be<b.length;Be++)Ne=b[Be].time/O*100,Ne-nt>qe&&(lt.push({from:nt,width:Math.max(0,Ne-nt),loadedWidth:Math.max(0,Math.min(Ne,re)-nt),filledWidth:Math.max(0,Math.min(Ne,je)-nt),interactive:b[Be-1].interactive,completed:b[Be-1].completed}),nt=b[Be].time/O*100,ft++);const wt={from:nt,width:Math.max(0,100-nt),loadedWidth:Math.max(0,Math.min(re,100)-nt),filledWidth:Math.max(0,Math.min(je,100)-nt),interactive:b[ft].interactive,completed:b[ft].completed};100-nt<qe?(ft-=1,lt[ft].width+=100-nt,lt[ft].loadedWidth+=Math.max(0,Math.min(re,100)-nt),lt[ft].filledWidth+=Math.max(0,Math.min(je,100)-nt)):lt[ft]=wt;const Me=b[0].time;if(Me!==0){const Be=Me/O*100;lt.unshift({from:0,width:Be,loadedWidth:Math.min(Be,re),filledWidth:Math.min(Be,je)})}return lt}function he(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,s=re.testId),"isHidden"in re&&t(2,r=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,b=re.videoEpisodes),"withWheelHandler"in re&&t(29,g=re.withWheelHandler),"isInteractive"in re&&t(8,_=re.isInteractive),"disabled"in re&&t(9,L=re.disabled),"hideHandel"in re&&t(10,A=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,q=re.onPointerMove),"onPointerLeave"in re&&t(35,ne=re.onPointerLeave),"onWheelUp"in re&&t(36,X=re.onWheelUp),"onWheelDown"in re&&t(37,$=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,E=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,Ce=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=b[b.length-1])==null?void 0:re.time)<O),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&O?ae(ce*100,E*100):[])},[l,s,r,a,c,f,h,p,_,L,A,ce,E,oe,se,we,be,Te,Ce,w,G,o,me,ee,M,Q,Ve,Pe,b,g,B,R,U,Y,q,ne,X,$,T,te,O,n,he]}class us extends ye{constructor(e){super(),ke(this,e,H3,F3,_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},O3,[-1,-1])}}const un=(i,e)=>vo[i]>=vo[e],U3=(i,e)=>vo[i]<vo[e],bc=(i,e)=>vo[i]<=vo[e],j3=i=>i>uo.L?Vt.XL:i>uo.M?Vt.L:i>uo.S?Vt.M:i>uo.XS?Vt.S:Vt.XS;function q3(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 W3(i){let e,t;return e=new fl({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 Z3(i){let e,t;return e=new wi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:rl[He.KeyM],$$slots:{default:[W3]},$$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 xr(i){let e,t,n;return t=new us({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]:it,onPointerLeave:i[3]?i[18]:it,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){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(s.isHidden=o[3]&&!o[5]),l[0]&8&&(s.isVertical=o[3]),l[0]&8&&(s.onPointerEnter=o[3]?o[17]:it),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:it),l[0]&256&&(s.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(s.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(s.filledProgress=o[8]),l[0]&256&&(s.handleProgress=o[8]),l[0]&8&&(s.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(s),(!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 G3(i){let e,t,n,o,l,s;t=new gc({props:{content:i[6],translateY:-18,$$slots:{default:[Z3]},$$scope:{ctx:i}}});let r=i[0]&&xr(i);return{c(){e=k("div"),F(t.$$.fragment),n=N(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){C(a,e,c),z(t,e,null),d(e,n),r&&r.m(e,null),o=!0,l||(s=[Ee(e,"mouseenter",function(){Vn(i[3]?i[19]:it)&&(i[3]?i[19]:it).apply(this,arguments)}),Ee(e,"mouseleave",function(){Vn(i[3]?i[20]:it)&&(i[3]?i[20]:it).apply(this,arguments)}),Ee(e,"wheel",_i(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]?r?(r.p(i,c),c[0]&1&&m(r,1)):(r=xr(i),r.c(),m(r,1),r.m(e,null)):r&&(pe(),v(r,1,1,()=>{r=null}),ve()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(r),o=!0)},o(a){v(t.$$.fragment,a),v(r),o=!1},d(a){a&&y(e),D(t),r&&r.d(),l=!1,ni(s)}}}function K3(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:r}=e;const a=Et(),c=xi(),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,b=a.ui.currentGridType$;W(i,b,we=>t(22,o=we));let g=!1,_,L,A,w,S,B,R=1,U=!1;function Y(we){R=n,p(we)}function q(){ac(a,n,c.controls.volumeStepWheel)}function ne(){uc(a,n,c.controls.volumeStepWheel)}function X(we){p(we)}function $(we){const be=we;p(be,be===0?R:be)}function T(){U=!0}function te(){U=!1,oe()}function ce(){clearTimeout(_),t(5,g=!0)}function E(){oe()}function oe(){_=window.setTimeout(()=>{U||t(5,g=!1)},c.controls.volumeBarTimeout)}function se(we){we.deltaY<0?q():we.deltaY>0&&ne()}return i.$$set=we=>{"isAudioAvailable"in we&&t(0,s=we.isAudioAvailable),"click"in we&&t(1,r=we.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,w=!s||l),i.$$.dirty[0]&4194304&&t(3,S=bc(o,Vt.S)),i.$$.dirty[0]&12&&(S?t(6,L=""):t(6,L=Z(w?"tooltip_volume":"tooltip_volume_muted")),t(7,A=Z(w?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=w?0:n)},[s,r,w,S,n,g,L,A,B,f,h,b,Y,q,ne,X,$,T,te,ce,E,se,o,l]}class Y3 extends ye{constructor(e){super(),ke(this,e,K3,G3,_e,{isAudioAvailable:0,click:1},q3,[-1,-1])}}function X3(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){C(t,e,n)},d(t){t&&y(e)}}}function Q3(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){C(t,e,n)},d(t){t&&y(e)}}}function J3(i){let e,t,n;function o(r,a){return r[0]?Q3:X3}let l=o(i),s=l(i);return{c(){e=I("svg"),t=I("g"),s.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(r,a){C(r,e,a),d(e,t),s.m(t,null)},p(r,[a]){l!==(l=o(r))&&(s.d(1),s=l(r),s&&(s.c(),s.m(t,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(r){r&&y(e),s.d()}}}function x3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class $3 extends ye{constructor(e){super(),ke(this,e,x3,J3,_e,{isFullscreen:0})}}function ep(i){let e,t;return e=new $3({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 tp(i){let e,t;return e=new wi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:rl[He.KeyF],$$slots:{default:[ep]},$$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 ip(i,e,t){let{isFullscreen:n=!1}=e,{click:o=it}=e,l;return i.$$set=s=>{"isFullscreen"in s&&t(0,n=s.isFullscreen),"click"in s&&t(1,o=s.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class _c extends ye{constructor(e){super(),ke(this,e,ip,tp,_e,{isFullscreen:0,click:1})}}function np(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class cs extends ye{constructor(e){super(),ke(this,e,null,np,_e,{})}}function op(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class wc extends ye{constructor(e){super(),ke(this,e,null,op,_e,{})}}function lp(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 $r(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function sp(i){let e,t,n,o,l=i[0]&&$r();var s=i[6];function r(a){return{}}return s&&(n=kn(s,r())),{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),C(a,e,c),C(a,t,c),n&&z(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=$r(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&s!==(s=a[6])){if(n){pe();const f=n;v(f.$$.fragment,1,0,()=>{D(f,1)}),ve()}s?(n=kn(s,r()),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 rp(i){let e,t;return e=new wi({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:rl[He.KeyK],$$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&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 ap(i,e,t){let n,o;const{fakeIsPlaying$:l}=ru();W(i,l,_=>t(11,o=_));let{isMobile:s=!1}=e,{isPlaying:r=!1}=e,{disabled:a=!1}=e,{className:c=""}=e,{click:f=it}=e;const{toggle:h}=l;let p,b,g;return i.$$set=_=>{"isMobile"in _&&t(0,s=_.isMobile),"isPlaying"in _&&t(9,r=_.isPlaying),"disabled"in _&&t(1,a=_.disabled),"className"in _&&t(2,c=_.className),"click"in _&&t(3,f=_.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,p=o!==null),i.$$.dirty&2576&&t(10,b=p?o:r),i.$$.dirty&1024&&t(5,g=Z(b?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=b?wc:cs)},[s,a,c,f,p,g,n,l,h,r,b,o]}class fs extends ye{constructor(e){super(),ke(this,e,ap,rp,_e,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},lp)}}function up(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 cp(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){C(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 fp(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 dp extends ye{constructor(e){super(),ke(this,e,fp,cp,_e,{isPrev:0,isMobile:1},up)}}function mp(i){let e,t;return e=new dp({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 hp(i){let e,t;return e=new wi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[mp]},$$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 pp(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=Z(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,r]}class dl extends ye{constructor(e){super(),ke(this,e,pp,hp,_e,{isMobile:0,disabled:1,type:2,click:3})}}function vp(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class gp extends ye{constructor(e){super(),ke(this,e,null,vp,_e,{})}}function ea(i){let e,t,n,o,l,s,r;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),r=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(s,"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(s,"fill","white"),u(r,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(r,"fill","white")},m(a,c){C(a,e,c),C(a,t,c),C(a,n,c),C(a,o,c),C(a,l,c),C(a,s,c),C(a,r,c)},d(a){a&&(y(e),y(t),y(n),y(o),y(l),y(s),y(r))}}}function bp(i){let e,t,n,o=!i[0]&&ea();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,s){C(l,e,s),d(e,t),o&&o.m(e,null)},p(l,[s]){l[0]?o&&(o.d(1),o=null):o||(o=ea(),o.c(),o.m(e,null)),s&2&&u(e,"width",l[1]),s&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),s&4&&u(e,"data-testid",l[2])},i:K,o:K,d(l){l&&y(e),o&&o.d()}}}function _p(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=s=>{"short"in s&&t(0,n=s.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 wp extends ye{constructor(e){super(),ke(this,e,_p,bp,_e,{short:0})}}function kp(i){let e,t;return e=new gp({}),{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 yp(i){let e,t;return e=new wp({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 Cp(i){let e,t,n,o;const l=[yp,kp],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function Sp(i){let e,t;return e=new wi({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:[Cp]},$$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 Pp(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:r=void 0}=e,{click:a}=e;const c=xi(),{logoLink:f,addTimeToLogoLink:h}=c,p=Et(),b=p.state.positionWithScrubbing$;W(i,b,B=>t(12,n=B));const g=p.ui.currentGridType$;W(i,g,B=>t(10,o=B));const _=p.ui.isMobile;W(i,_,B=>t(11,l=B));let L,A,w;const S=()=>{let B;if(A||!r)B=f;else{const R=Math.round(n);if(h&&R){const U=new URL(r);U.searchParams.append("t",u0(R)),B=U.toString()}else B=r}a(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,s=B.logoClickable),"videoLogoUrl"in B&&t(8,r=B.videoLogoUrl),"click"in B&&t(9,a=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,w=(l||bc(o,Vt.L))&&A)},t(2,L=c.logoType===po.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),t(1,A=c.logoType===po.VK_VIDEO),[s,A,L,w,b,g,_,S,r,a,o,l]}class kc extends ye{constructor(e){super(),ke(this,e,Pp,Sp,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function Tp(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 Ep(i){let e,t,n,o,l,s,r,a;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),r=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(s,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(s,"fill","#fff"),u(r,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),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){C(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,r),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 Ap(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),s=I("path"),r=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),p=I("path"),g=I("filter"),_=I("feFlood"),L=I("feColorMatrix"),A=I("feOffset"),w=I("feGaussianBlur"),S=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(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(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(r,"fill",a=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",b=i[1]?"#2688EB":"#fff"),u(p,"d","M0 0h24v24H0z"),u(h,"id","a"),u(_,"flood-opacity","0"),u(_,"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(S,"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){C(U,e,Y),d(e,t),d(t,n),d(n,o),d(n,s),d(t,r),d(t,c),d(e,f),d(f,h),d(h,p),d(f,g),d(g,_),d(g,L),d(g,A),d(g,w),d(g,S),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(r,"fill",a),Y&2&&b!==(b=U[1]?"#2688EB":"#fff")&&u(p,"fill",b)},d(U){U&&y(e)}}}function Lp(i){let e;function t(l,s){return l[0]?Ap:Ep}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){n===(n=t(l))&&o?o.p(l,s):(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 Vp(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(3,o=r.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===wn.CONNECTING),t(1,l=o===wn.CONNECTED))},[n,l,s,o]}class Ip extends ye{constructor(e){super(),ke(this,e,Vp,Lp,_e,{isMobile:0,state:3},Tp)}}function Mp(i){let e,t;return e=new Ip({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 Rp(i){let e,t;return e=new wi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Mp]},$$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 Np(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=it}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"state"in r&&t(1,o=r.state),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===wn.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off"))},[n,o,l,s]}class yc extends ye{constructor(e){super(),ke(this,e,Np,Rp,_e,{isMobile:0,state:1,click:2})}}function Bp(i){let e,t;return e=new nc({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 Op(i){let e,t;return e=new wi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1],ariaLabel:i[3],click:i[2],$$slots:{default:[Bp]},$$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&2&&(l.disabled=n[1]),o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),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 zp(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,s;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"isActiveLive"in r&&t(1,o=r.isActiveLive),"click"in r&&t(2,l=r.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o?"":Z("tooltip_live"))},[n,o,l,s]}class Cc extends ye{constructor(e){super(),ke(this,e,zp,Op,_e,{isMobile:0,isActiveLive:1,click:2})}}function Dp(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 Fp(i){let e,t,n,o;const l=i[9].default,s=In(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),s&&s.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(r,a){C(r,e,a),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(r,[a]){s&&s.p&&(!o||a&256)&&Rn(s,l,r,r[8],o?Mn(l,r[8],a,null):Nn(r[8]),null),(!o||a&1)&&V(t,"active",r[0]),(!o||a&2)&&V(t,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(m(s,r),o=!0)},o(r){v(s,r),o=!1},d(r){r&&y(e),s&&s.d(r),i[10](null),i[11](null)}}}function Hp(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,p;function b(L){if(!p)return 0;const{width:A}=p.getBoundingClientRect(),w=A/2;return L<w?w:L>f-w?f-w:L}function g(L){We[L?"unshift":"push"](()=>{p=L,t(4,p)})}function _(L){We[L?"unshift":"push"](()=>{h=L,t(3,h)})}return i.$$set=L=>{"active"in L&&t(0,s=L.active),"pointer"in L&&t(1,r=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=b(a))},[s,r,c,h,p,n,a,f,l,o,g,_]}class Up extends ye{constructor(e){super(),ke(this,e,Hp,Fp,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Dp)}}const Sc=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function jp(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 ta(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Wp:qp}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function qp(i){let e=(i[10].text||"")+"",t;return{c(){t=De(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&et(t,e)},d(n){n&&y(t)}}}function Wp(i){let e=Z("tooltip_episode_unfinished")+"",t;return{c(){t=De(e)},m(n,o){C(n,t,o)},p:K,d(n){n&&y(t)}}}function Zp(i){let e,t,n,o,l,s,r,a,c=i[10]&&ta(i);return{c(){e=k("div"),t=k("div"),o=N(),l=k("div"),c&&c.c(),s=N(),r=k("div"),a=De(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){C(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,s),d(e,r),d(r,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=ta(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&et(a,f[0]),h&2&&V(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const so=150;function Gp(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const p=Et().ui.rotateAlpha;W(i,p,Y=>t(11,n=Y));let b,g,_,L,A,w,S,B;function R(){let Y=r.frameWidth,q=r.frameHeight;return Y>so?(q=q/Y*so,Y=so):q>so&&(Y=Y/q*so,q=so),{width:Y,height:q}}function U(Y){let q;r.isUV?q=Math.floor(c*Y/r.frequency):q=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*Y)));const ne=Math.floor(q/r.countPerImage),X=Math.floor(q%r.countPerImage/r.countPerRow),$=q%r.countPerRow;let T=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&ne===Math.floor(r.countTotal/r.countPerImage)&&(T=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&T++);let te=r.countPerRow;!r.isUV&&ne===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(te=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const ce=b*te,E=g*T,oe=-$*b,se=-X*g;return{imgSrc:r.links[ne],imgWidth:ce,imgHeight:E,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,s=Y.videoEpisodes),"previewThumbsData"in Y&&t(14,r=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:_,imgWidth:L,imgHeight:A,imgOffsetX:w,imgOffsetY:S}=U(a),_,(t(6,L),t(15,a)),(t(7,A),t(15,a)),(t(8,w),t(15,a)),(t(9,S),t(15,a))),i.$$.dirty&106496&&t(10,B=Sc(a,c,s))},t(3,{width:b,height:g}=R(),b,t(4,g)),[o,l,f,b,g,_,L,A,w,S,B,n,p,s,r,a,c]}class Kp extends ye{constructor(e){super(),ke(this,e,Gp,Zp,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},jp)}}function Yp(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 Xp(i){let e,t;return{c(){e=k("span"),t=De(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o[0]&128&&et(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function Qp(i){let e,t;return e=new Kp({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 Jp(i){let e,t,n,o;const l=[Qp,Xp],s=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function xp(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[Jp]},$$scope:{ctx:i}};for(let r=0;r<l.length;r+=1)s=X1(s,l[r]);return e=new Up({props:s}),n=new us({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(ht.TIMELINE),hideHandel:i[2]}}),{c(){F(e.$$.fragment),t=N(),F(n.$$.fragment)},m(r,a){z(e,r,a),C(r,t,a),z(n,r,a),o=!0},p(r,a){const c=a[0]&512?R0(l,[N0(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=Z("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(ht.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(m(e.$$.fragment,r),m(n.$$.fragment,r),o=!0)},o(r){v(e.$$.fragment,r),v(n.$$.fragment,r),o=!1},d(r){r&&y(t),D(e,r),D(n,r)}}}function $p(i,e,t){let n,o,l,s,r,a,c,f,h,p,b,{showTimeline:g=!1}=e;const _=Et(),L=xi(),A=_.state.bufferedProgress$;W(i,A,he=>t(12,p=he));const w=_.state.positionWithScrubbing$;W(i,w,he=>t(39,a=he));const S=_.state.duration$;W(i,S,he=>t(1,l=he));const B=_.state.isLive$;W(i,B,he=>t(0,o=he));const R=_.state.isActiveLive$;W(i,R,he=>t(11,h=he));const U=_.ui.isMobile;W(i,U,he=>t(10,f=he));const Y=L.features.episodes?_.actions.internal.getVideoEpisodes():void 0,q=_.actions.internal.getPreviewThumbsData(),ne=_.state.interactiveEpisodes$;W(i,ne,he=>t(40,c=he));const X=_.state.isInteractive,$=_.state.isInteractiveTime$;W(i,$,he=>t(2,s=he));const T=_.state.isInteractiveExpectation$;W(i,T,he=>t(38,r=he));const te=_.actions.internal.correctSeekTimeToInteractive,ce=_.ui.controls.disabledControls$;W(i,ce,he=>t(13,b=he));let E,oe,se,we,be=!1,Te="",Ce=0,H=0,G=0,O;function me(he){return!te||!X?he:te(he*l)/l}function ee(he){_.actions.internal.startScrubbing(me(he))}function M(he){s||_.actions.internal.progressScrubbing(me(he))}function Q(he){_.actions.internal.completeScrubbing(me(he)),t(34,be=!1)}function Ve(he,re,je){J(he,re,je),t(34,be=!0)}function Pe(he,re,je){J(he,re,je),t(34,be=!0)}function Ae(){t(34,be=!1)}function J(he,re,je){t(8,G=he),t(35,Ce=re),je&&t(36,H=je),t(7,Te=ae(he))}function ae(he){const re=Ln((o?1-he:he)*l);return o?`-${re}`:re}return i.$$set=he=>{"showTimeline"in he&&t(33,g=he.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,E=X?c:Y),i.$$.dirty[0]&2&&t(4,oe=Ln(l)),i.$$.dirty[1]&256&&t(5,se=Ln(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=r||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:Ce,translateYPx:X&&q?-36:-16,active:be&&g&&!O,pointer:!L.features.timelinePreview||!q||o})},[o,l,s,E,oe,se,we,Te,G,n,f,h,p,b,L,A,w,S,B,R,U,q,ne,X,$,T,ce,ee,M,Q,Ve,Pe,Ae,g,be,Ce,H,O,r,a,c]}let ev=class extends ye{constructor(e){super(),ke(this,e,$p,xp,_e,{showTimeline:33},Yp,[-1,-1])}};function tv(i){let e,t;return e=new us({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 iv(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const r=Et().ui.isMobile;W(i,r,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=Ln(l)),i.$$.dirty&64&&t(2,c=Ln(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,r,o]}class Pc extends ye{constructor(e){super(),ke(this,e,iv,tv,_e,{position:6,duration:0})}}function nv(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 ov(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){C(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function lv(i){let e,t,n,o;const l=[rv,sv],s=[];function r(a,c){return a[0]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){C(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),n=s[t],n?n.p(a,c):(n=s[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),s[t].d()}}}function sv(i){let e,t;return e=new ev({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 rv(i){let e,t;return e=new Pc({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 av(i){let e,t,n,o;const l=[lv,ov],s=[];function r(a,c){return a[1]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function uv(i,e,t){let n,o,l,s,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Et(),p=h.state.isLive$;W(i,p,A=>t(12,n=A));const b=h.ads.duration;W(i,b,A=>t(4,s=A));const g=h.ads.position;W(i,g,A=>t(3,l=A));const _=h.ui.isMobile;W(i,_,A=>t(2,o=A));let L;return i.$$set=A=>{"isAds"in A&&t(0,r=A.isAds),"canRewindLive"in A&&t(9,a=A.canRewindLive),"isRewindableLive"in A&&t(10,c=A.isRewindableLive),"isHidden"in A&&t(11,f=A.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,L=!f&&(!n||n&&a&&c||r))},[r,L,o,l,s,p,b,g,_,a,c,f,n]}class Tc extends ye{constructor(e){super(),ke(this,e,uv,av,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},nv)}}function cv(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,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class fv extends ye{constructor(e){super(),ke(this,e,null,cv,_e,{})}}function dv(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class mv extends ye{constructor(e){super(),ke(this,e,null,dv,_e,{})}}function hv(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 pv(i){let e,t,n,o;e=new fv({});function l(a,c){if(a[2]===Kn.FULL)return bv;if(a[2]===Kn.COUNT)return gv}let s=l(i),r=s&&s(i);return{c(){F(e.$$.fragment),t=N(),r&&r.c(),n=bt()},m(a,c){z(e,a,c),C(a,t,c),r&&r.m(a,c),C(a,n,c),o=!0},p(a,c){s===(s=l(a))&&r?r.p(a,c):(r&&r.d(1),r=s&&s(a),r&&(r.c(),r.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),r&&r.d(a)}}}function vv(i){let e,t,n,o,l,s;return l=new mv({}),{c(){e=k("span"),t=De(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(r,a){C(r,e,a),d(e,t),C(r,n,a),C(r,o,a),z(l,o,null),s=!0},p(r,a){(!s||a&2)&&et(t,r[1])},i(r){s||(m(l.$$.fragment,r),s=!0)},o(r){v(l.$$.fragment,r),s=!1},d(r){r&&(y(e),y(n),y(o)),D(l)}}}function gv(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=De(t),u(e,"class","text count v-1yhs2ga")},m(o,l){C(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&et(n,t)},d(o){o&&y(e)}}}function bv(i){let e,t;return{c(){e=k("span"),t=De(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&2&&et(t,n[1])},d(n){n&&y(e)}}}function _v(i){let e,t,n,o;const l=[vv,pv],s=[];function r(a,c){return a[4]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function wv(i){let e,t;return e=new wi({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:[_v]},$$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 kv(i,e,t){var S,B,R,U,Y;let n,o,l,s,{position:r=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Et(),h=(B=(S=f.callbacks)==null?void 0:S.onEpisodeChanged)!=null?B:it,p=(U=(R=f.callbacks)==null?void 0:R.onEpisodeClicked)!=null?U:it,b=!!((Y=f.callbacks)!=null&&Y.onEpisodeClicked),g=f.ui.currentGridType$;W(i,g,q=>t(13,l=q));const _=f.ui.isMobile;W(i,_,q=>t(4,s=q));let L,A,w;return i.$$set=q=>{"position"in q&&t(9,r=q.position),"duration"in q&&t(10,a=q.duration),"timeCodes"in q&&t(0,c=q.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=r/a),i.$$.dirty&7169){const q=Sc(n,a,c);q&&(L==null?void 0:L.text)!==q.text&&(h(q),t(11,L=q))}i.$$.dirty&2048&&t(1,o=(L==null?void 0:L.text)||""),i.$$.dirty&8192&&(un(l,Vt.XL)?t(2,A=Kn.FULL):un(l,Vt.M)&&U3(l,Vt.XL)?t(2,A=Kn.COUNT):t(2,A=Kn.SHORT)),i.$$.dirty&2&&t(3,w=`${Z("tooltip_episodes")}: ${o}`)},[c,o,A,w,s,p,b,g,_,r,a,L,n,l]}class Ec extends ye{constructor(e){super(),ke(this,e,kv,wv,_e,{position:9,duration:10,timeCodes:0},hv)}}function yv(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){C(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class Cv extends ye{constructor(e){super(),ke(this,e,null,yv,_e,{})}}function Sv(i){let e,t;return e=new Cv({}),{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 Pv(i){let e,t;return e=new wi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Z("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[Sv]},$$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 Tv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class Ac extends ye{constructor(e){super(),ke(this,e,Tv,Pv,_e,{hidden:0,disabled:1,click:2})}}function Ev(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){C(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 Av(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class Lv extends ye{constructor(e){super(),ke(this,e,Av,Ev,_e,{isOpened:0})}}function Vv(i){let e,t;return e=new Lv({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 Iv(i){let e,t;return e=new wi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[Vv]},$$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 Mv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,r;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,s=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,r=Z(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,r]}class Lc extends ye{constructor(e){super(),ke(this,e,Mv,Iv,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Rv(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Nv extends ye{constructor(e){super(),ke(this,e,null,Rv,_e,{})}}function Bv(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 ia(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function Ov(i){let e,t,n,o,l=i[0]&&ia();return n=new Nv({}),{c(){l&&l.c(),e=N(),t=k("div"),F(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(s,r){l&&l.m(s,r),C(s,e,r),C(s,t,r),z(n,t,null),o=!0},p(s,r){s[0]?l||(l=ia(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||r&1)&&V(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&(y(e),y(t)),l&&l.d(s),D(n)}}}function zv(i){let e,t;return e=new wi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:Z("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[Ov]},$$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 Dv(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=it}=e;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"className"in r&&t(2,l=r.className),"click"in r&&t(3,s=r.click)},[n,o,l,s]}class ds extends ye{constructor(e){super(),ke(this,e,Dv,zv,_e,{isMobile:0,disabled:1,className:2,click:3},Bv)}}function Fv(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Hv extends ye{constructor(e){super(),ke(this,e,null,Fv,_e,{})}}function Uv(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 jv(i){let e,t;return e=new wi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Z("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[Uv]},$$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 qv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=s=>{"hidden"in s&&t(0,n=s.hidden),"disabled"in s&&t(1,o=s.disabled),"click"in s&&t(2,l=s.click)},[n,o,l]}class Vc extends ye{constructor(e){super(),ke(this,e,qv,jv,_e,{hidden:0,disabled:1,click:2})}}function Wv(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 Zv(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),ks(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),n||(o=Ee(e,"error",i[7]),n=!0)},p(l,s){s&1&&!ks(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function Gv(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){C(t,e,n)},p:K,d(t){t&&y(e)}}}function Kv(i){let e;function t(l,s){return l[5]?Gv:Zv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,s){n===(n=t(l))&&o?o.p(l,s):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function Yv(i){let e,t;return e=new wi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$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&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 Xv(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=it}=e;const h=()=>{t(5,l=!0)};return i.$$set=p=>{"iconUrl"in p&&t(0,s=p.iconUrl),"ariaLabel"in p&&t(1,r=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===it),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[s,r,c,f,n,l,o,h,a]}class Ic extends ye{constructor(e){super(),ke(this,e,Xv,Yv,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Wv)}}function Qv(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 na(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 oa(i){let e,t,n;function o(s){i[135](s)}let l={disabled:!i[9],tooltipContent:Z("tooltip_previous"),$$slots:{default:[Jv]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&512&&(a.disabled=!s[9]),r[0]&4608|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[0]&1073741824&&(t=!0,a.width=s[30],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Jv(i){let e,t;return e=new dl({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 la(i){let e,t,n;function o(s){i[136](s)}let l={disabled:i[66],tooltipContent:Z("tooltip_restart"),$$slots:{default:[xv]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&16&&(a.disabled=s[66]),r[2]&16|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&1&&(t=!0,a.width=s[31],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function xv(i){let e,t;return e=new ds({props:{click:i[113],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 sa(i){let e,t,n;function o(s){i[137](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[$v]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&67108864&&(a.tooltipContent=s[57]),r[2]&32&&(a.disabled=s[67]),r[1]&2097152|r[2]&32|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2&&(t=!0,a.width=s[32],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function $v(i){let e,t;return e=new fs({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 ra(i){let e,t,n;function o(s){i[138](s)}let l={disabled:!i[8],tooltipContent:Z("tooltip_next"),$$slots:{default:[e5]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&256&&(a.disabled=!s[8]),r[0]&2304|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4&&(t=!0,a.width=s[33],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function e5(i){let e,t;return e=new dl({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 t5(i){let e,t,n,o,l=i[107]&&i5(i),s=i[106]&&o5(i),r=i[105]&&s5(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),r&&r.c(),n=bt()},m(a,c){l&&l.m(a,c),C(a,e,c),s&&s.m(a,c),C(a,t,c),r&&r.m(a,c),C(a,n,c),o=!0},p(a,c){a[107]&&l.p(a,c),a[106]&&s.p(a,c),a[105]&&r.p(a,c)},i(a){o||(m(l),m(s),m(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function i5(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[65],tooltipContent:Z("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&Z(i[109]),$$slots:{default:[n5]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&8&&(a.disabled=s[65]),r[0]&131072|r[2]&8|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8&&(t=!0,a.width=s[34],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function n5(i){let e,t;return e=new Vc({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 o5(i){let e,t,n;function o(s){i[140](s)}let l={disabled:i[68],tooltipContent:Z("tooltip_interactive_seek"),$$slots:{default:[l5]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&64&&(a.disabled=s[68]),r[0]&32768|r[2]&64|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16&&(t=!0,a.width=s[35],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function l5(i){let e,t;return e=new Ac({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 s5(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[r5]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&134217728&&(a.tooltipContent=s[58]),r[2]&128&&(a.disabled=s[69]),r[0]&65536|r[1]&524288|r[2]&128|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32&&(t=!0,a.width=s[36],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function r5(i){let e,t;return e=new Lc({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 aa(i){let e,t,n;function o(s){i[142](s)}let l={tooltipContent:i[59],$$slots:{default:[a5]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&268435456&&(a.tooltipContent=s[59]),r[0]&268435456|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&64&&(t=!0,a.width=s[37],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function a5(i){let e,t;return e=new Cc({props:{isActiveLive:i[28],click:i[111],isMobile:!1}}),{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]),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 ua(i){let e,t,n;function o(s){i[143](s)}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 vc({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&4&&(a.showDuration=s[64]),r[0]&16|r[2]&1536&&(a.position=s[4]?s[71]:s[72]),r[0]&16|r[2]&6144&&(a.duration=s[4]?s[73]:s[74]),!t&&r[1]&128&&(t=!0,a.width=s[38],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function ca(i){let e,t;return e=new Ec({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 u5(i){let e,t,n=i[27]&&ca(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=ca(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),v(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function c5(i){var n;let e,t;return e=new Ic({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 r;const s={};l[1]&32768&&(s.iconUrl=o[163]),l[1]&32768&&(s.ariaLabel=(r=o[164])!=null?r:o[167]),l[1]&32768&&(s.testId=o[165]),l[1]&32768&&(s.onClick=o[166]),e.$set(s)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function fa(i){let e,t;return e=new Kt({props:{tooltipContent:i[167],width:40,$$slots:{default:[c5]},$$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 da(i){let e,t,n;function o(s){i[146](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[f5]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&64&&(a.disabled=!s[6]),r[1]&536870912&&(a.tooltipContent=s[60]),r[0]&192|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&512&&(t=!0,a.width=s[40],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function f5(i){let e,t;return e=new kc({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 d5(i){let e,t;return e=new Y3({props:{isAudioAvailable:i[70],click:i[112]}}),{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 ma(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[61],$$slots:{default:[m5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&1073741824&&(a.tooltipContent=s[61]),r[0]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function m5(i){let e,t;return e=new o3({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 ha(i){var o;let e,t,n;return t=new pc({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,s){C(l,e,s),z(t,e,null),n=!0},p(l,s){var a;const r={};s[0]&1024&&(r.supportLink=l[10]),s[1]&33554432&&(r.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),s[0]&16384&&(r.returnFocus=l[14]),t.$set(r)},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 pa(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[76]?void 0:Z("tooltip_settings_off"),$$slots:{default:[h5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&16384&&(a.tooltipContent=s[76]?void 0:Z("tooltip_settings_off")),r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function h5(i){let e,t;return e=new as({}),{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 va(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[62],$$slots:{default:[p5]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&1&&(a.tooltipContent=s[62]),r[0]&8192|r[1]&262144|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&8192&&(t=!0,a.width=s[44],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function p5(i){let e,t;return e=new _c({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 ga(i){let e,t,n;function o(s){i[151](s)}let l={tooltipContent:i[63],$$slots:{default:[v5]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[2]&2&&(a.tooltipContent=s[63]),r[1]&131072|r[5]&32768&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&16384&&(t=!0,a.width=s[45],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function v5(i){let e,t;return e=new yc({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 g5(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$;t=new Tc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let T=i[54]&&oa(i),te=i[19]&&la(i),ce=i[20]&&sa(i),E=i[53]&&ra(i),oe=i[104]&&t5(i),se=!i[4]&&i[47]&&aa(i),we=i[26]&&ua(i);function be(J){i[144](J)}let Te={className:"w-max",disabled:!i[27],tooltipContent:Z("tooltip_episodes"),$$slots:{default:[u5]},$$scope:{ctx:i}};i[39]!==void 0&&(Te.width=i[39]),b=new Kt({props:Te}),We.push(()=>St(b,"width",be));let Ce=Gt(i[46]),H=[];for(let J=0;J<Ce.length;J+=1)H[J]=fa(na(i,Ce,J));const G=J=>v(H[J],1,1,()=>{H[J]=null});let O=i[24]&&da(i);function me(J){i[147](J)}let ee={$$slots:{default:[d5]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),B=new Kt({props:ee}),We.push(()=>St(B,"width",me));let M=i[22]&&ma(i),Q=!i[75]&&!i[4]&&ha(i),Ve=i[23]&&pa(i),Pe=i[25]&&va(i),Ae=i[21]&&ga(i);return{c(){e=k("div"),F(t.$$.fragment),n=N(),o=k("div"),l=k("div"),T&&T.c(),s=N(),te&&te.c(),r=N(),ce&&ce.c(),a=N(),E&&E.c(),c=N(),oe&&oe.c(),f=N(),se&&se.c(),h=N(),we&&we.c(),p=N(),F(b.$$.fragment),L=N(),A=k("div");for(let J=0;J<H.length;J+=1)H[J].c();w=N(),O&&O.c(),S=N(),F(B.$$.fragment),U=N(),M&&M.c(),Y=N(),Q&&Q.c(),q=N(),Ve&&Ve.c(),ne=N(),Pe&&Pe.c(),X=N(),Ae&&Ae.c(),u(l,"class","controls-left v-st0uzk"),Yn(()=>i[145].call(l)),u(A,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(J,ae){C(J,e,ae),z(t,e,null),d(e,n),d(e,o),d(o,l),T&&T.m(l,null),d(l,s),te&&te.m(l,null),d(l,r),ce&&ce.m(l,null),d(l,a),E&&E.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(b,l,null),_=ll(l,i[145].bind(l)),d(o,L),d(o,A);for(let he=0;he<H.length;he+=1)H[he]&&H[he].m(A,null);d(A,w),O&&O.m(A,null),d(A,S),z(B,A,null),d(A,U),M&&M.m(A,null),d(A,Y),Q&&Q.m(A,null),d(A,q),Ve&&Ve.m(A,null),d(A,ne),Pe&&Pe.m(A,null),d(A,X),Ae&&Ae.m(A,null),i[152](o),i[153](e),$=!0},p(J,ae){const he={};ae[1]&16777216&&(he.isHidden=!J[55]),ae[0]&16&&(he.isAds=J[4]),ae[0]&32&&(he.canRewindLive=J[5]),ae[1]&1048576&&(he.isRewindableLive=J[51]),t.$set(he),J[54]?T?(T.p(J,ae),ae[1]&8388608&&m(T,1)):(T=oa(J),T.c(),m(T,1),T.m(l,s)):T&&(pe(),v(T,1,1,()=>{T=null}),ve()),J[19]?te?(te.p(J,ae),ae[0]&524288&&m(te,1)):(te=la(J),te.c(),m(te,1),te.m(l,r)):te&&(pe(),v(te,1,1,()=>{te=null}),ve()),J[20]?ce?(ce.p(J,ae),ae[0]&1048576&&m(ce,1)):(ce=sa(J),ce.c(),m(ce,1),ce.m(l,a)):ce&&(pe(),v(ce,1,1,()=>{ce=null}),ve()),J[53]?E?(E.p(J,ae),ae[1]&4194304&&m(E,1)):(E=ra(J),E.c(),m(E,1),E.m(l,c)):E&&(pe(),v(E,1,1,()=>{E=null}),ve()),J[104]&&oe.p(J,ae),!J[4]&&J[47]?se?(se.p(J,ae),ae[0]&16|ae[1]&65536&&m(se,1)):(se=aa(J),se.c(),m(se,1),se.m(l,h)):se&&(pe(),v(se,1,1,()=>{se=null}),ve()),J[26]?we?(we.p(J,ae),ae[0]&67108864&&m(we,1)):(we=ua(J),we.c(),m(we,1),we.m(l,p)):we&&(pe(),v(we,1,1,()=>{we=null}),ve());const re={};if(ae[0]&134217728&&(re.disabled=!J[27]),ae[0]&134217728|ae[2]&5120|ae[5]&32768&&(re.$$scope={dirty:ae,ctx:J}),!g&&ae[1]&256&&(g=!0,re.width=J[39],Ct(()=>g=!1)),b.$set(re),ae[1]&32768){Ce=Gt(J[46]);let qe;for(qe=0;qe<Ce.length;qe+=1){const lt=na(J,Ce,qe);H[qe]?(H[qe].p(lt,ae),m(H[qe],1)):(H[qe]=fa(lt),H[qe].c(),m(H[qe],1),H[qe].m(A,w))}for(pe(),qe=Ce.length;qe<H.length;qe+=1)G(qe);ve()}J[24]?O?(O.p(J,ae),ae[0]&16777216&&m(O,1)):(O=da(J),O.c(),m(O,1),O.m(A,S)):O&&(pe(),v(O,1,1,()=>{O=null}),ve());const je={};ae[2]&256|ae[5]&32768&&(je.$$scope={dirty:ae,ctx:J}),!R&&ae[1]&1024&&(R=!0,je.width=J[41],Ct(()=>R=!1)),B.$set(je),J[22]?M?(M.p(J,ae),ae[0]&4194304&&m(M,1)):(M=ma(J),M.c(),m(M,1),M.m(A,Y)):M&&(pe(),v(M,1,1,()=>{M=null}),ve()),!J[75]&&!J[4]?Q?(Q.p(J,ae),ae[0]&16|ae[2]&8192&&m(Q,1)):(Q=ha(J),Q.c(),m(Q,1),Q.m(A,q)):Q&&(pe(),v(Q,1,1,()=>{Q=null}),ve()),J[23]?Ve?(Ve.p(J,ae),ae[0]&8388608&&m(Ve,1)):(Ve=pa(J),Ve.c(),m(Ve,1),Ve.m(A,ne)):Ve&&(pe(),v(Ve,1,1,()=>{Ve=null}),ve()),J[25]?Pe?(Pe.p(J,ae),ae[0]&33554432&&m(Pe,1)):(Pe=va(J),Pe.c(),m(Pe,1),Pe.m(A,X)):Pe&&(pe(),v(Pe,1,1,()=>{Pe=null}),ve()),J[21]?Ae?(Ae.p(J,ae),ae[0]&2097152&&m(Ae,1)):(Ae=ga(J),Ae.c(),m(Ae,1),Ae.m(A,null)):Ae&&(pe(),v(Ae,1,1,()=>{Ae=null}),ve()),(!$||ae[0]&2)&&V(e,"hidden",J[1]),(!$||ae[0]&8)&&V(e,"controls-hidden",!J[3]),(!$||ae[0]&4)&&V(e,"no-smooth",J[2])},i(J){if(!$){m(t.$$.fragment,J),m(T),m(te),m(ce),m(E),m(oe),m(se),m(we),m(b.$$.fragment,J);for(let ae=0;ae<Ce.length;ae+=1)m(H[ae]);m(O),m(B.$$.fragment,J),m(M),m(Q),m(Ve),m(Pe),m(Ae),$=!0}},o(J){v(t.$$.fragment,J),v(T),v(te),v(ce),v(E),v(oe),v(se),v(we),v(b.$$.fragment,J),H=H.filter(Boolean);for(let ae=0;ae<H.length;ae+=1)v(H[ae]);v(O),v(B.$$.fragment,J),v(M),v(Q),v(Ve),v(Pe),v(Ae),$=!1},d(J){J&&y(e),D(t),T&&T.d(),te&&te.d(),ce&&ce.d(),E&&E.d(),oe&&oe.d(),se&&se.d(),we&&we.d(),D(b),_(),dn(H,J),O&&O.d(),D(B),M&&M.d(),Q&&Q.d(),Ve&&Ve.d(),Pe&&Pe.d(),Ae&&Ae.d(),i[152](null),i[153](null)}}}function b5(i,e,t){var Qn,Jn;let n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,{bottomHidden:se}=e,{bottomNoSmooth:we}=e,{showControls:be}=e,{controlsElementRef:Te=void 0}=e,{isAds:Ce=!1}=e,{canRewindLive:H}=e,{logoClickable:G}=e,{logoHidden:O}=e,{videoLogoUrl:me}=e,{showNextPrevButtons:ee}=e,{nextButtonActive:M}=e,{prevButtonActive:Q}=e,{isOneVideoPlaylist:Ve=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:J}=e,{playPrevVideo:ae}=e,{repeatPlaylist:he}=e,{toggleFullscreen:re}=e,{returnFocus:je}=e,{seekToInteractive:qe}=e,{toggleGraph:lt}=e,{playPrevChapter:nt}=e;const Ne=Et(),ft=xi(),wt=Ne.actions.internal.toggleMuted,Me=Ne.actions.internal.togglePlay,Be=Ne.actions.internal.pause,Zt=Ne.actions.internal.toggleSubtitle,Pt=(Qn=Ne.callbacks)==null?void 0:Qn.onAudioDoesNotExistHint,rt=(Jn=Ne.callbacks)==null?void 0:Jn.onAudioDisabledHint,tt=Ne.state.duration$;W(i,tt,le=>t(74,ce=le));const ue=Ne.state.positionWithScrubbing$;W(i,ue,le=>t(72,T=le));const Je=Ne.state.playbackState$;W(i,Je,le=>t(125,L=le));const Ke=Ne.state.chromecastConnected$;W(i,Ke,le=>t(75,E=le));const Qe=Ne.state.isAudioAvailable$;W(i,Qe,le=>t(70,c=le));const Ze=Ne.state.isAudioDisabled,ct=Ne.state.isEnded$;W(i,ct,le=>t(131,Y=le));const ze=Ne.state.isLive$;W(i,ze,le=>t(47,p=le));const xe=Ne.state.isActiveLive$;W(i,xe,le=>t(126,A=le));const pt=Ne.state.isRewindableLive$;W(i,pt,le=>t(51,w=le));const ot=Ne.ui.isPictureInPictureActive$;W(i,ot,le=>t(129,R=le));const Qt=Ne.ui.pictureInPictureType$;W(i,Qt,le=>t(128,B=le));const dt=Ne.ui.settingsMenuVisible;W(i,dt,le=>t(76,oe=le));const Ye=Ne.ui.controls,At=Ne.actions.internal.getVideoEpisodes(),st=Ne.state.chromecastState$;W(i,st,le=>t(48,b=le));const ui=Ne.state.availableSubtitlesList$;W(i,ui,le=>t(130,U=le));const de=Ne.state.currentSubtitle$;W(i,de,le=>t(132,q=le));const Se=Ye.disabledControls$;W(i,Se,le=>t(134,X=le));const Ie=Ne.ads.duration;W(i,Ie,le=>t(73,te=le));const It=Ne.ads.position;W(i,It,le=>t(71,$=le));const ci=Ne.ads.playbackState;W(i,ci,le=>t(133,ne=le));const Mt=Ne.ui.isFullscreen;W(i,Mt,le=>t(49,g=le));const Ei=Ne.ui.playerSize;W(i,Ei,le=>t(127,S=le));const Bi=Ne.ui.currentGridType$;W(i,Bi,le=>t(124,h=le));const Oi=Ne.ui.additionalButtons$;W(i,Oi,le=>t(46,f=le));const Le=Ne.actions.internal.replayInteractive,Rt=Ne.state.isInteractive,fi=Ne.state.isInteractiveGraphEnabled,Ot=Ne.state.isSeekToInteractiveEnable,Lt=Ne.state.isPlayPrevChapterEnabled,zi=Ne.state.graphIsOpened$;W(i,zi,le=>t(50,_=le));const Nt=Ne.state.playPrevChapterDisabledTooltip,oi=()=>Ne.actions.internal.toggleChromecast(),on=()=>Ne.actions.internal.switchToActiveLive();let Tt,Zi,di,Di,Ai,Li,mi,Vi,ki,hi,li,yi,Ii,Xi,Ht,Ut,Mi,$i,Ci,Fi,Ri,Si,Hi,Ni,Jt,xt,pi,Yt,$t,si,vi,gi,ri,Gi,Ui,Pi,Qi,ei,bi,ji,qi,zt,fe,ti,en;function hn(le,qn){let at=To;const jt=(rn,Pn,j)=>{let _t=Pn?rn+Pn+(rn?q0:0):rn;return j.set({positionStartX:rn,positionEndX:_t,isDisplayed:qn&&rn!==_t}),_t};at=jt(at,le.prevButtonWidth,Ye.prevButton),at=jt(at,le.replayButtonWidth,Ye.replayButton),at=jt(at,le.playButtonWidth,Ye.playButton),at=jt(at,le.nextButtonWidth,Ye.nextButton),at=jt(at,le.playPrevChapterWidth,Ye.playPrevChapterButton),at=jt(at,le.seekToInteractiveWidth,Ye.seekToInteractiveButton),at=jt(at,le.interactiveGraphWidth,Ye.interactiveGraphButton),at=jt(at,le.liveButtonWidth,Ye.liveButton),at=jt(at,le.timeWidth,Ye.time),at=jt(at,le.episodesWidth,Ye.episodes),f.forEach((rn,Pn)=>{at=jt(at,le.additionalButtonWidths[Pn],Ye.additionalButtons[Pn])}),at=jt(at,le.vkLogoWidth,Ye.vkLogo),at=jt(at,le.volumeWidth,Ye.volume),at=jt(at,le.subtitlesWidth,Ye.subtitles),at=jt(at,le.settingsWidth,Ye.settings),at=jt(at,le.fullscreenWidth,Ye.fullscreen),jt(at,le.chromecastWidth,Ye.chromecast)}function jn(){Ze?rt==null||rt():c?wt():Pt==null||Pt()}const ai=Rt?Le:Ve?Me:he;function yn(le){xt=le,t(30,xt)}function Cn(le){pi=le,t(31,pi)}function pn(le){Yt=le,t(32,Yt)}function Sn(le){$t=le,t(33,$t)}function On(le){si=le,t(34,si)}function ln(le){vi=le,t(35,vi)}function zn(le){gi=le,t(36,gi)}function x(le){ri=le,t(37,ri)}function gt(le){Gi=le,t(38,Gi)}function vn(le){Ui=le,t(39,Ui)}function tn(){Jt=this.clientWidth,t(29,Jt)}function gn(le){Pi=le,t(40,Pi)}function sn(le){Qi=le,t(41,Qi)}function bo(le){ei=le,t(42,ei)}function _o(le){bi=le,t(43,bi)}function wo(le){ji=le,t(44,ji)}function ko(le){qi=le,t(45,qi)}function yo(le){We[le?"unshift":"push"](()=>{Ut=le,t(56,Ut)})}function Co(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,Ce=le.isAds),"canRewindLive"in le&&t(5,H=le.canRewindLive),"logoClickable"in le&&t(6,G=le.logoClickable),"logoHidden"in le&&t(114,O=le.logoHidden),"videoLogoUrl"in le&&t(7,me=le.videoLogoUrl),"showNextPrevButtons"in le&&t(115,ee=le.showNextPrevButtons),"nextButtonActive"in le&&t(8,M=le.nextButtonActive),"prevButtonActive"in le&&t(9,Q=le.prevButtonActive),"isOneVideoPlaylist"in le&&t(116,Ve=le.isOneVideoPlaylist),"supportLink"in le&&t(10,Pe=le.supportLink),"customFullscreenSupported"in le&&t(117,Ae=le.customFullscreenSupported),"playNextVideo"in le&&t(11,J=le.playNextVideo),"playPrevVideo"in le&&t(12,ae=le.playPrevVideo),"repeatPlaylist"in le&&t(118,he=le.repeatPlaylist),"toggleFullscreen"in le&&t(13,re=le.toggleFullscreen),"returnFocus"in le&&t(14,je=le.returnFocus),"seekToInteractive"in le&&t(15,qe=le.seekToInteractive),"toggleGraph"in le&&t(16,lt=le.toggleGraph),"playPrevChapter"in le&&t(17,nt=le.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&1024&&t(123,n=X.has(ht.EPISODE_BUTTON)),i.$$.dirty[4]&1024&&t(69,o=X.has(ht.GRAPH_BUTTON)),i.$$.dirty[4]&1024&&t(68,l=X.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&1024&&t(67,s=X.has(ht.PLAY_BUTTON)),i.$$.dirty[4]&1024&&t(66,r=X.has(ht.REPLAY_BUTTON)),i.$$.dirty[4]&1024&&t(65,a=X.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&514&&t(52,Tt=Ce?ne===Xt.PLAYING:L===Ti.PLAYING),i.$$.dirty[4]&256&&t(18,Zi=q.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(19,di=Y&&!Ce||Rt),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(20,Di=!Y||Rt||Ce),i.$$.dirty[4]&1&&t(119,Ai=un(h,Vt.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(53,Li=ee&&un(h,Vt.M)&&!Ce&&M),i.$$.dirty[0]&528|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(54,mi=ee&&un(h,Vt.M)&&!Ce&&Q),i.$$.dirty[1]&131072|i.$$.dirty[4]&49&&t(21,Vi=b!==wn.NOT_AVAILABLE&&!(R&&B===An.DocumentPictureInPicture)&&un(h,Vt.M)&&!Rt),i.$$.dirty[4]&65&&t(22,ki=U.length>0&&un(h,Vt.M)),i.$$.dirty[4]&1&&t(23,hi=un(h,Vt.S)),i.$$.dirty[3]&2097152&&t(24,li=!O),i.$$.dirty[3]&18874368|i.$$.dirty[4]&49&&t(25,yi=ft.features.fullscreen&&(O||un(h,Vt.S))&&!(R&&B===An.DocumentPictureInPicture)&&(Rt?Ae:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Ii=(!p||Ce)&&!(ft.features.interactiveHideTime&&Rt)),i.$$.dirty[4]&8&&t(55,Xi=S.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&1140850688&&t(27,Ht=!Ce&&!p&&!!(At!=null&&At.length)&&Ai&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&4&&t(28,Mi=!w||A),i.$$.dirty[4]&2&&t(57,$i=L===Ti.PLAYING?Z("tooltip_pause"):Z("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Ci=Z(_?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,Fi=Mi?"":Z("tooltip_live")),i.$$.dirty[0]&262144&&t(61,Si=Z(Zi?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Hi=Z(g?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Ni=b===wn.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(120,zt={prevButtonWidth:xt!=null?xt:0,replayButtonWidth:di?pi:0,playButtonWidth:Di?Yt:0,nextButtonWidth:$t!=null?$t:0,playPrevChapterWidth:Lt?si:0,seekToInteractiveWidth:Rt?vi:0,interactiveGraphWidth:fi&&gi!=null?gi:0,liveButtonWidth:p&&ri?ri:0,timeWidth:Ii?Gi:0,episodesWidth:Ui,vkLogoWidth:li?Pi:0,volumeWidth:Qi,subtitlesWidth:ki?ei:0,settingsWidth:hi?bi:0,fullscreenWidth:yi?ji:0,chromecastWidth:Vi?qi:0,additionalButtonWidths:f.length?f.reduce(le=>[...le,40],[]):[]}),i.$$.dirty[3]&402653184&&(!fe||fe<zt.timeWidth)&&t(121,fe=zt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&402653184|i.$$.dirty[4]&1){let le=0;Ht&&(un(h,Vt.XL)?le=zt.timeWidth:le=W0);const qn=zt.prevButtonWidth+zt.playButtonWidth+zt.nextButtonWidth+zt.seekToInteractiveWidth+zt.interactiveGraphWidth+zt.liveButtonWidth+fe+le;t(122,ti=Ii&&Jt>=qn)}i.$$.dirty[3]&536870912|i.$$.dirty[4]&1&&t(64,en=ti&&un(h,Vt.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&134217728&&hn(zt,be)},t(60,Ri=ft.logoType===po.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),[Te,se,we,be,Ce,H,G,me,M,Q,Pe,J,ae,re,je,qe,lt,nt,Zi,di,Di,Vi,ki,hi,li,yi,Ii,Ht,Mi,Jt,xt,pi,Yt,$t,si,vi,gi,ri,Gi,Ui,Pi,Qi,ei,bi,ji,qi,f,p,b,g,_,w,Tt,Li,mi,Xi,Ut,$i,Ci,Fi,Ri,Si,Hi,Ni,en,a,r,s,l,o,c,$,T,te,ce,E,oe,Me,Be,Zt,tt,ue,Je,Ke,Qe,ct,ze,xe,pt,ot,Qt,dt,At,st,ui,de,Se,Ie,It,ci,Mt,Ei,Bi,Oi,Rt,fi,Ot,Lt,zi,Nt,oi,on,jn,ai,O,ee,Ve,Ae,he,Ai,zt,fe,ti,n,h,L,A,S,B,R,U,Y,q,ne,X,yn,Cn,pn,Sn,On,ln,zn,x,gt,vn,tn,gn,sn,bo,_o,wo,ko,yo,Co]}class _5 extends ye{constructor(e){super(),ke(this,e,b5,g5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:114,videoLogoUrl:7,showNextPrevButtons:115,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:116,supportLink:10,customFullscreenSupported:117,playNextVideo:11,playPrevVideo:12,repeatPlaylist:118,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Qv,[-1,-1,-1,-1,-1,-1])}}function w5(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,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class k5 extends ye{constructor(e){super(),ke(this,e,null,w5,_e,{})}}function y5(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 ba(i){let e;return{c(){e=k("span"),e.textContent=`${Z("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function C5(i){let e,t,n,o;var l=i[3];function s(a){return{}}l&&(t=kn(l,s()));let r=i[0]&&ba();return{c(){e=k("div"),t&&F(t.$$.fragment),n=N(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(a,c){C(a,e,c),t&&z(t,e,null),d(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&8&&l!==(l=a[3])){if(t){pe();const f=t;v(f.$$.fragment,1,0,()=>{D(f,1)}),ve()}l?(t=kn(l,s()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}a[0]?r?r.p(a,c):(r=ba(),r.c(),r.m(e,null)):r&&(r.d(1),r=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),r&&r.d()}}}function S5(i){let e,t;return e=new wi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[C5]},$$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 P5(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=it}=e,s,r;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,s=Z(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,r=o?fl:k5)},[o,l,s,r,n]}class Mc extends ye{constructor(e){super(),ke(this,e,P5,S5,_e,{muted:4,expanded:0,click:1},y5)}}function T5(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,s){C(l,e,s),d(e,t),d(e,n),d(e,o)},p(l,[s]){s&2&&u(t,"fill",l[1]),s&2&&u(n,"fill",l[1]),s&1&&V(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&V(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function E5(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 A5 extends ye{constructor(e){super(),ke(this,e,E5,T5,_e,{isActive:0})}}function L5(i){let e,t;return e=new A5({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 V5(i){let e,t;return e=new wi({props:{testId:"btn-pip",ariaLabel:Z("menu_pip"),click:i[1],$$slots:{default:[L5]},$$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 I5(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=it}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class M5 extends ye{constructor(e){super(),ke(this,e,I5,V5,_e,{isPictureInPictureActive:0,click:1})}}function R5(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 _a(i,e,t){const n=i.slice();return n[136]=e[t].iconUrl,n[137]=e[t].ariaLabel,n[138]=e[t].testId,n[139]=e[t].onClick,n[140]=e[t].tooltip,n}function wa(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w=(!i[53]||i[55])&&ka(i),S=Gt(i[58]),B=[];for(let E=0;E<S.length;E+=1)B[E]=ya(_a(i,S,E));const R=E=>v(B[E],1,1,()=>{B[E]=null});let U=i[32]&&Ca(i),Y=i[33]&&Sa(i),q=i[59]&&Pa(),ne=i[35]&&Ta(i),X=i[8]&&Ea(i),$=i[30]&&Aa(i),T=i[29]&&La(i),te=i[8]&&Va(i),ce=i[96]&&!i[25]&&Ia(i);return{c(){e=k("div"),t=N(),n=k("div"),w&&w.c(),o=N(),l=k("div");for(let E=0;E<B.length;E+=1)B[E].c();s=N(),U&&U.c(),r=N(),Y&&Y.c(),a=N(),q&&q.c(),c=N(),ne&&ne.c(),f=N(),h=k("div"),X&&X.c(),p=N(),$&&$.c(),b=N(),T&&T.c(),g=N(),te&&te.c(),_=N(),ce&&ce.c(),L=bt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),V(l,"hidden",!i[3]&&!i[23]),V(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),V(h,"hidden",!i[3]||i[25])},m(E,oe){C(E,e,oe),C(E,t,oe),C(E,n,oe),w&&w.m(n,null),C(E,o,oe),C(E,l,oe);for(let se=0;se<B.length;se+=1)B[se]&&B[se].m(l,null);d(l,s),U&&U.m(l,null),d(l,r),Y&&Y.m(l,null),d(l,a),q&&q.m(l,null),d(l,c),ne&&ne.m(l,null),C(E,f,oe),C(E,h,oe),X&&X.m(h,null),d(h,p),$&&$.m(h,null),d(h,b),T&&T.m(h,null),d(h,g),te&&te.m(h,null),C(E,_,oe),ce&&ce.m(E,oe),C(E,L,oe),A=!0},p(E,oe){if((!A||oe[1]&128)&&V(e,"hidden",!E[38]),!E[53]||E[55]?w?(w.p(E,oe),oe[1]&20971520&&m(w,1)):(w=ka(E),w.c(),m(w,1),w.m(n,null)):w&&(pe(),v(w,1,1,()=>{w=null}),ve()),(!A||oe[0]&8)&&V(n,"hidden",!E[3]),(!A||oe[1]&8388608)&&V(n,"fullscreen",E[54]),oe[1]&134217728){S=Gt(E[58]);let se;for(se=0;se<S.length;se+=1){const we=_a(E,S,se);B[se]?(B[se].p(we,oe),m(B[se],1)):(B[se]=ya(we),B[se].c(),m(B[se],1),B[se].m(l,s))}for(pe(),se=S.length;se<B.length;se+=1)R(se);ve()}E[32]?U?(U.p(E,oe),oe[1]&2&&m(U,1)):(U=Ca(E),U.c(),m(U,1),U.m(l,r)):U&&(pe(),v(U,1,1,()=>{U=null}),ve()),E[33]?Y?(Y.p(E,oe),oe[1]&4&&m(Y,1)):(Y=Sa(E),Y.c(),m(Y,1),Y.m(l,a)):Y&&(pe(),v(Y,1,1,()=>{Y=null}),ve()),E[59]?q?oe[1]&268435456&&m(q,1):(q=Pa(),q.c(),m(q,1),q.m(l,c)):q&&(pe(),v(q,1,1,()=>{q=null}),ve()),E[35]?ne?(ne.p(E,oe),oe[1]&16&&m(ne,1)):(ne=Ta(E),ne.c(),m(ne,1),ne.m(l,null)):ne&&(pe(),v(ne,1,1,()=>{ne=null}),ve()),(!A||oe[0]&8388616)&&V(l,"hidden",!E[3]&&!E[23]),(!A||oe[1]&8388608)&&V(l,"fullscreen",E[54]),E[8]?X?(X.p(E,oe),oe[0]&256&&m(X,1)):(X=Ea(E),X.c(),m(X,1),X.m(h,p)):X&&(pe(),v(X,1,1,()=>{X=null}),ve()),E[30]?$?($.p(E,oe),oe[0]&1073741824&&m($,1)):($=Aa(E),$.c(),m($,1),$.m(h,b)):$&&(pe(),v($,1,1,()=>{$=null}),ve()),E[29]?T?(T.p(E,oe),oe[0]&536870912&&m(T,1)):(T=La(E),T.c(),m(T,1),T.m(h,g)):T&&(pe(),v(T,1,1,()=>{T=null}),ve()),E[8]?te?(te.p(E,oe),oe[0]&256&&m(te,1)):(te=Va(E),te.c(),m(te,1),te.m(h,null)):te&&(pe(),v(te,1,1,()=>{te=null}),ve()),(!A||oe[0]&33554440)&&V(h,"hidden",!E[3]||E[25]),E[96]&&!E[25]?ce?(ce.p(E,oe),oe[0]&33554432&&m(ce,1)):(ce=Ia(E),ce.c(),m(ce,1),ce.m(L.parentNode,L)):ce&&(pe(),v(ce,1,1,()=>{ce=null}),ve())},i(E){if(!A){m(w);for(let oe=0;oe<S.length;oe+=1)m(B[oe]);m(U),m(Y),m(q),m(ne),m(X),m($),m(T),m(te),m(ce),A=!0}},o(E){v(w),B=B.filter(Boolean);for(let oe=0;oe<B.length;oe+=1)v(B[oe]);v(U),v(Y),v(q),v(ne),v(X),v($),v(T),v(te),v(ce),A=!1},d(E){E&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(L)),w&&w.d(),dn(B,E),U&&U.d(),Y&&Y.d(),q&&q.d(),ne&&ne.d(),X&&X.d(),$&&$.d(),T&&T.d(),te&&te.d(),ce&&ce.d(E)}}}function ka(i){let e,t;return e=new Mc({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[104]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&33554432&&(l.muted=n[56]),o[1]&71303168&&(l.expanded=n[53]&&!n[72]&&n[57]),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){var n;let e,t;return e=new Ic({props:{iconUrl:i[136],ariaLabel:(n=i[137])!=null?n:i[140],testId:i[138],onClick:i[139]}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var r;const s={};l[1]&134217728&&(s.iconUrl=o[136]),l[1]&134217728&&(s.ariaLabel=(r=o[137])!=null?r:o[140]),l[1]&134217728&&(s.testId=o[138]),l[1]&134217728&&(s.onClick=o[139]),e.$set(s)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function Ca(i){let e,t;return e=new yc({props:{isMobile:!0,click:i[101],state:i[24]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16777216&&(l.state=n[24]),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 M5({props:{click:i[103],isPictureInPictureActive:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.isPictureInPictureActive=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 Pa(i){let e,t;return e=new as({}),{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 Ta(i){let e,t;return e=new kc({props:{click:i[66],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 Ea(i){let e,t;return e=new dl({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 Aa(i){let e,t;return e=new fs({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{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]),o[0]&134217728&&(l.isPlaying=n[27]),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;return e=new ds({props:{disabled:i[49],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]&262144&&(l.disabled=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 Va(i){let e,t;return e=new dl({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 Ia(i){let e,t,n,o,l=i[99]&&N5(i),s=i[97]&&B5(i),r=i[98]&&O5(i);return{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),r&&r.c(),n=bt()},m(a,c){l&&l.m(a,c),C(a,e,c),s&&s.m(a,c),C(a,t,c),r&&r.m(a,c),C(a,n,c),o=!0},p(a,c){a[99]&&l.p(a,c),a[97]&&s.p(a,c),a[98]&&r.p(a,c)},i(a){o||(m(l),m(s),m(r),o=!0)},o(a){v(l),v(s),v(r),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),s&&s.d(a),r&&r.d(a)}}}function N5(i){let e,t,n;return t=new Vc({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&131072&&(s.disabled=o[48]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!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 B5(i){let e,t,n;return t=new Lc({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class",S0(i[99]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3]&&!i[60])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&536870912&&(s.hidden=!o[3]&&!o[60]),l[1]&2097152&&(s.disabled=o[52]),l[0]&131072&&(s.click=o[17]),l[1]&536870912&&(s.graphIsOpened=o[60]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&V(e,"hidden",!o[3]&&!o[60])},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 O5(i){let e,t,n;return t=new Ac({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[54]),V(e,"hidden",!i[3])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8&&(s.hidden=!o[3]),l[1]&1048576&&(s.disabled=o[51]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54]),(!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 Ma(i){let e,t,n,o,l,s=i[55]&&Ra(i),r=i[28]&&Na(i);return o=new Pc({props:{position:i[61],duration:i[62]}}),{c(){s&&s.c(),e=N(),r&&r.c(),t=N(),n=k("div"),F(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[54])},m(a,c){s&&s.m(a,c),C(a,e,c),r&&r.m(a,c),C(a,t,c),C(a,n,c),z(o,n,null),l=!0},p(a,c){a[55]?s?(s.p(a,c),c[1]&16777216&&m(s,1)):(s=Ra(a),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(pe(),v(s,1,1,()=>{s=null}),ve()),a[28]?r?(r.p(a,c),c[0]&268435456&&m(r,1)):(r=Na(a),r.c(),m(r,1),r.m(t.parentNode,t)):r&&(pe(),v(r,1,1,()=>{r=null}),ve());const f={};c[1]&1073741824&&(f.position=a[61]),c[2]&1&&(f.duration=a[62]),o.$set(f),(!l||c[1]&8388608)&&V(n,"fullscreen",a[54])},i(a){l||(m(s),m(r),m(o.$$.fragment,a),l=!0)},o(a){v(s),v(r),v(o.$$.fragment,a),l=!1},d(a){a&&(y(e),y(t),y(n)),s&&s.d(a),r&&r.d(a),D(o)}}}function Ra(i){let e,t,n;return t=new Mc({props:{muted:i[56],expanded:!1,click:i[104]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[54])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&33554432&&(s.muted=o[56]),t.$set(s),(!n||l[1]&8388608)&&V(e,"fullscreen",o[54])},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 Na(i){let e,t,n;return t=new fs({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&524288&&(s.disabled=o[50]),l[0]&268435456&&(s.isPlaying=!o[28]),t.$set(s)},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 z5(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[49],$$slots:{default:[D5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&262144&&(a.disabled=s[49]),r[1]&262144|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&2048&&(t=!0,a.width=s[42],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function D5(i){let e,t;return e=new ds({props:{disabled:i[49],click:i[95]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&262144&&(l.disabled=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 Ba(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[F5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&1024|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&4096&&(t=!0,a.width=s[43],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function F5(i){let e,t;return e=new Cc({props:{isActiveLive:i[41],click:i[102],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&1024&&(l.isActiveLive=n[41]),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 Oa(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[31],position:i[4]?i[61]:i[63],duration:i[4]?i[62]:i[64],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new vc({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[1]&1&&(a.showDuration=s[31]),r[0]&16|r[1]&1073741824|r[2]&2&&(a.position=s[4]?s[61]:s[63]),r[0]&16|r[2]&5&&(a.duration=s[4]?s[62]:s[64]),!t&&r[1]&8192&&(t=!0,a.width=s[44],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function za(i){let e,t,n,o;return n=new Ec({props:{position:i[63],duration:i[64],timeCodes:i[85]}}),{c(){e=k("div"),e.textContent="\xB7",t=N(),F(n.$$.fragment),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),C(l,t,s),z(n,l,s),o=!0},p(l,s){const r={};s[2]&2&&(r.position=l[63]),s[2]&4&&(r.duration=l[64]),n.$set(r)},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 H5(i){let e,t,n=i[39]&&za(i);return{c(){n&&n.c(),e=bt()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[39]?n?(n.p(o,l),l[1]&256&&m(n,1)):(n=za(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(pe(),v(n,1,1,()=>{n=null}),ve())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Da(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[U5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&32768&&(t=!0,a.width=s[46],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function U5(i){let e,t;return e=new as({}),{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,n;function o(s){i[125](s)}let l={$$slots:{default:[j5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Kt({props:l}),We.push(()=>St(e,"width",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&16384|r[1]&8388608|r[4]&524288&&(a.$$scope={dirty:r,ctx:s}),!t&&r[1]&65536&&(t=!0,a.width=s[47],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function j5(i){let e,t;return e=new _c({props:{click:i[14],isFullscreen:i[54]}}),{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]&8388608&&(l.isFullscreen=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 Ha(i){let e,t,n;return t=new pc({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&2048&&(s.supportLink=o[11]),l[0]&32768&&(s.returnFocus=o[15]),t.$set(s)},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 q5(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w=!i[4]&&wa(i),S=i[4]&&i[26]!==Xt.INACTIVE&&Ma(i),B=i[96]&&z5(i),R=!i[4]&&i[20]&&Ba(i),U=i[37]&&Oa(i);function Y(T){i[123](T)}let q={className:"w-max",disabled:!i[39],$$slots:{default:[H5]},$$scope:{ctx:i}};i[45]!==void 0&&(q.width=i[45]),c=new Kt({props:q}),We.push(()=>St(c,"width",Y));let ne=i[34]&&Da(i),X=i[36]&&Fa(i);g=new Tc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let $=i[21]&&Ha(i);return{c(){w&&w.c(),e=N(),S&&S.c(),t=N(),n=k("div"),o=k("div"),l=k("div"),B&&B.c(),s=N(),R&&R.c(),r=N(),U&&U.c(),a=N(),F(c.$$.fragment),h=N(),ne&&ne.c(),p=N(),X&&X.c(),b=N(),F(g.$$.fragment),_=N(),$&&$.c(),L=bt(),u(l,"class","controls v-1tcstu3"),V(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[54]),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),C(T,e,te),S&&S.m(T,te),C(T,t,te),C(T,n,te),d(n,o),d(o,l),B&&B.m(l,null),d(l,s),R&&R.m(l,null),d(l,r),U&&U.m(l,null),d(l,a),z(c,l,null),d(l,h),ne&&ne.m(l,null),d(l,p),X&&X.m(l,null),i[126](l),d(o,b),z(g,o,null),i[127](n),C(T,_,te),$&&$.m(T,te),C(T,L,te),A=!0},p(T,te){T[4]?w&&(pe(),v(w,1,1,()=>{w=null}),ve()):w?(w.p(T,te),te[0]&16&&m(w,1)):(w=wa(T),w.c(),m(w,1),w.m(e.parentNode,e)),T[4]&&T[26]!==Xt.INACTIVE?S?(S.p(T,te),te[0]&67108880&&m(S,1)):(S=Ma(T),S.c(),m(S,1),S.m(t.parentNode,t)):S&&(pe(),v(S,1,1,()=>{S=null}),ve()),T[96]&&B.p(T,te),!T[4]&&T[20]?R?(R.p(T,te),te[0]&1048592&&m(R,1)):(R=Ba(T),R.c(),m(R,1),R.m(l,r)):R&&(pe(),v(R,1,1,()=>{R=null}),ve()),T[37]?U?(U.p(T,te),te[1]&64&&m(U,1)):(U=Oa(T),U.c(),m(U,1),U.m(l,a)):U&&(pe(),v(U,1,1,()=>{U=null}),ve());const ce={};te[1]&256&&(ce.disabled=!T[39]),te[1]&256|te[2]&6|te[4]&524288&&(ce.$$scope={dirty:te,ctx:T}),!f&&te[1]&16384&&(f=!0,ce.width=T[45],Ct(()=>f=!1)),c.$set(ce),T[34]?ne?(ne.p(T,te),te[1]&8&&m(ne,1)):(ne=Da(T),ne.c(),m(ne,1),ne.m(l,p)):ne&&(pe(),v(ne,1,1,()=>{ne=null}),ve()),T[36]?X?(X.p(T,te),te[1]&32&&m(X,1)):(X=Fa(T),X.c(),m(X,1),X.m(l,null)):X&&(pe(),v(X,1,1,()=>{X=null}),ve());const E={};te[0]&16&&(E.isAds=T[4]),te[0]&32&&(E.canRewindLive=T[5]),te[0]&524288&&(E.isRewindableLive=T[19]),g.$set(E),(!A||te[1]&8388608)&&V(o,"fullscreen",T[54]),(!A||te[0]&2)&&V(n,"hidden",T[1]),(!A||te[0]&8)&&V(n,"controls-hidden",!T[3]),(!A||te[0]&4)&&V(n,"no-smooth",T[2]),T[21]?$?($.p(T,te),te[0]&2097152&&m($,1)):($=Ha(T),$.c(),m($,1),$.m(L.parentNode,L)):$&&(pe(),v($,1,1,()=>{$=null}),ve())},i(T){A||(m(w),m(S),m(B),m(R),m(U),m(c.$$.fragment,T),m(ne),m(X),m(g.$$.fragment,T),m($),A=!0)},o(T){v(w),v(S),v(B),v(R),v(U),v(c.$$.fragment,T),v(ne),v(X),v(g.$$.fragment,T),v($),A=!1},d(T){T&&(y(e),y(t),y(n),y(_),y(L)),w&&w.d(T),S&&S.d(T),B&&B.d(),R&&R.d(),U&&U.d(),D(c),ne&&ne.d(),X&&X.d(),i[126](null),D(g),i[127](null),$&&$.d(T)}}}function W5(i,e,t){var qi,zt;let n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,{bottomHidden:Te}=e,{bottomNoSmooth:Ce}=e,{showControls:H}=e,{controlsElementRef:G=void 0}=e,{isAds:O=!1}=e,{canRewindLive:me}=e,{logoClickable:ee}=e,{logoHidden:M}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Ve}=e,{nextButtonActive:Pe}=e,{prevButtonActive:Ae}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:ae}=e,{customFullscreenSupported:he=!0}=e,{playNextVideo:re}=e,{playPrevVideo:je}=e,{repeatPlaylist:qe}=e,{toggleFullscreen:lt}=e,{returnFocus:nt}=e,{seekToInteractive:Ne}=e,{toggleGraph:ft}=e,{playPrevChapter:wt}=e;const Me=Et(),Be=xi(),Zt=Me.actions.internal.toggleMuted,Pt=Me.actions.internal.togglePlay,rt=Me.actions.internal.pause,tt=(qi=Me.callbacks)==null?void 0:qi.onAudioDoesNotExistHint,ue=(zt=Me.callbacks)==null?void 0:zt.onAudioDisabledHint,Je=Me.playerPhase;W(i,Je,fe=>t(116,S=fe));const Ke=Me.state.duration$;W(i,Ke,fe=>t(64,be=fe));const Qe=Me.state.positionWithScrubbing$;W(i,Qe,fe=>t(63,we=fe));const Ze=Me.state.playbackState$;W(i,Ze,fe=>t(118,Y=fe));const ct=Me.state.isAudioAvailable$;W(i,ct,fe=>t(53,c=fe));const ze=Me.state.isAudioDisabled,xe=Me.state.isEnded$;W(i,xe,fe=>t(117,R=fe));const pt=Me.state.isLive$;W(i,pt,fe=>t(20,p=fe));const ot=Me.state.muted$;W(i,ot,fe=>t(56,$=fe));const Qt=Me.state.isActiveLive$;W(i,Qt,fe=>t(113,f=fe));const dt=Me.state.isRewindableLive$;W(i,dt,fe=>t(19,h=fe));const Ye=Me.ui.scrubbingInProgress;W(i,Ye,fe=>t(25,B=fe));const At=Me.ui.mobileNotReportControlHidden$;W(i,At,fe=>t(23,A=fe));const st=Me.ui.isPictureInPictureActive$;W(i,st,fe=>t(22,L=fe));const ui=Me.ui.pictureInPictureType$;W(i,ui,fe=>t(115,_=fe));const de=Me.ui.mobileUnmuteButtonExpanded;W(i,de,fe=>t(57,T=fe));const Se=Me.ui.mobileUnmuteButtonVisible;W(i,Se,fe=>t(55,X=fe));const Ie=Me.ui.settingsMenuVisible;W(i,Ie,fe=>t(21,b=fe));const It=Me.ui.controls,ci=Me.actions.internal.getVideoEpisodes(),Mt=Me.webApi.pictureInPictureApi,Ei=Me.state.chromecastState$;W(i,Ei,fe=>t(24,w=fe));const Bi=Me.state.crashed$;W(i,Bi,fe=>t(59,ce=fe));const Oi=It.disabledControls$;W(i,Oi,fe=>t(119,q=fe));const Le=Me.ads.duration;W(i,Le,fe=>t(62,se=fe));const Rt=Me.ads.position;W(i,Rt,fe=>t(61,oe=fe));const fi=Me.ads.playbackState;W(i,fi,fe=>t(26,U=fe));const Ot=Me.ui.isFullscreen;W(i,Ot,fe=>t(54,ne=fe));const Lt=Me.ui.playerSize;W(i,Lt,fe=>t(114,g=fe));const zi=Me.ui.additionalButtons$;W(i,zi,fe=>t(58,te=fe));const Nt=Me.actions.internal.replayInteractive,oi=Me.state.isInteractive,on=Me.state.isInteractiveGraphEnabled,Tt=Me.state.isSeekToInteractiveEnable,Zi=Me.state.isPlayPrevChapterEnabled,di=Me.state.graphIsOpened$;W(i,di,fe=>t(60,E=fe));let Di,Ai,Li,mi,Vi,ki,hi,li,yi,Ii,Xi,Ht,Ut,Mi,$i,Ci,Fi,Ri,Si,Hi,Ni,Jt,xt;const pi=()=>Me.actions.internal.toggleChromecast(),Yt=()=>Me.actions.internal.switchToActiveLive();function $t(){ze?ue==null||ue():c?Zt():tt==null||tt()}function si(){return Wn(this,null,function*(){Mt!=null&&Mt.isActive()?yield Mt==null?void 0:Mt.remove():yield Mt==null?void 0:Mt.request()})}function vi(){!ze&&c&&Se.set(!1),$t()}const gi=J?Pt:qe;function ri(fe){Ri=fe,t(42,Ri)}function Gi(fe){Si=fe,t(43,Si)}function Ui(fe){Hi=fe,t(44,Hi)}function Pi(fe){Ni=fe,t(45,Ni)}function Qi(fe){Jt=fe,t(46,Jt)}function ei(fe){xt=fe,t(47,xt)}function bi(fe){We[fe?"unshift":"push"](()=>{Ci=fe,t(40,Ci)})}function ji(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,Ce=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,me=fe.canRewindLive),"logoClickable"in fe&&t(6,ee=fe.logoClickable),"logoHidden"in fe&&t(106,M=fe.logoHidden),"videoLogoUrl"in fe&&t(7,Q=fe.videoLogoUrl),"showNextPrevButtons"in fe&&t(8,Ve=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,Pe=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,Ae=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(107,J=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,ae=fe.supportLink),"customFullscreenSupported"in fe&&t(108,he=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,re=fe.playNextVideo),"playPrevVideo"in fe&&t(13,je=fe.playPrevVideo),"repeatPlaylist"in fe&&t(109,qe=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,lt=fe.toggleFullscreen),"returnFocus"in fe&&t(15,nt=fe.returnFocus),"seekToInteractive"in fe&&t(16,Ne=fe.seekToInteractive),"toggleGraph"in fe&&t(17,ft=fe.toggleGraph),"playPrevChapter"in fe&&t(18,wt=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=q.has(ht.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(52,o=q.has(ht.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(51,l=q.has(ht.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=q.has(ht.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=q.has(ht.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(48,a=q.has(ht.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&33554432&&t(27,Di=Y===Ti.PLAYING),i.$$.dirty[0]&67108864&&t(28,Ai=U===Xt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(29,Li=R&&!O&&!oi),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(30,mi=!R||O),i.$$.dirty[3]&2097152&&t(110,Vi=g.width>300),i.$$.dirty[3]&2097152&&t(31,ki=g.width>400),i.$$.dirty[0]&33554432&&t(111,hi=B),i.$$.dirty[0]&29360128|i.$$.dirty[3]&4194304&&t(32,li=w!==wn.NOT_AVAILABLE&&!(L&&_===An.DocumentPictureInPicture)&&!A&&!oi),i.$$.dirty[0]&25165824|i.$$.dirty[3]&12845056){const fe=S===Re.WaitingLive;t(33,yi=!!Mt&&w!==wn.CONNECTED&&!A&&(_===An.DocumentPictureInPicture&&fe||!fe)&&!hi&&!oi)}i.$$.dirty[3]&262144&&t(34,Ii=!hi),i.$$.dirty[3]&2105344&&t(35,Xi=!M&&g.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&4489216&&t(36,Ht=Be.features.fullscreen&&!(L&&_===An.DocumentPictureInPicture)&&(oi?he:!0)&&!hi),i.$$.dirty[0]&1048592|i.$$.dirty[3]&2359296&&t(37,Ut=(!p||O)&&g.width>260&&!hi&&!(Be.features.interactiveHideTime&&oi)),i.$$.dirty[0]&2097160&&t(38,Mi=b||H),i.$$.dirty[0]&1048592|i.$$.dirty[3]&917504&&t(39,$i=!O&&!p&&!!(ci!=null&&ci.length)&&Vi&&!n&&!hi),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&t(41,Fi=!h||f)},[G,Te,Ce,H,O,me,ee,Q,Ve,Pe,Ae,ae,re,je,lt,nt,Ne,ft,wt,h,p,b,L,A,w,B,U,Di,Ai,Li,mi,ki,li,yi,Ii,Xi,Ht,Ut,Mi,$i,Ci,Fi,Ri,Si,Hi,Ni,Jt,xt,a,r,s,l,o,c,ne,X,$,T,te,ce,E,oe,se,we,be,Pt,rt,Je,Ke,Qe,Ze,ct,ze,xe,pt,ot,Qt,dt,Ye,At,st,ui,de,Se,Ie,ci,Ei,Bi,Oi,Le,Rt,fi,Ot,Lt,zi,Nt,oi,on,Tt,Zi,di,pi,Yt,si,vi,gi,M,J,he,qe,Vi,hi,n,f,g,_,S,R,Y,q,ri,Gi,Ui,Pi,Qi,ei,bi,ji]}class Z5 extends ye{constructor(e){super(),ke(this,e,W5,q5,_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},R5,[-1,-1,-1,-1,-1])}}function G5(i){let e,t,n;function o(s){i[26](s)}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 _5({props:l}),We.push(()=>St(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function K5(i){let e,t,n;function o(s){i[25](s)}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 Z5({props:l}),We.push(()=>St(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r&2&&(a.bottomHidden=s[1]),r&4&&(a.bottomNoSmooth=s[2]),r&8&&(a.showControls=s[3]),r&16&&(a.isAds=s[4]),r&32&&(a.canRewindLive=s[5]),r&64&&(a.logoClickable=s[6]),r&128&&(a.logoHidden=s[7]),r&256&&(a.videoLogoUrl=s[8]),r&512&&(a.showNextPrevButtons=s[9]),r&1024&&(a.nextButtonActive=s[10]),r&2048&&(a.prevButtonActive=s[11]),r&4096&&(a.isOneVideoPlaylist=s[12]),r&8192&&(a.supportLink=s[13]),r&16384&&(a.customFullscreenSupported=s[14]),r&32768&&(a.playNextVideo=s[15]),r&65536&&(a.playPrevVideo=s[16]),r&131072&&(a.repeatPlaylist=s[17]),r&262144&&(a.toggleFullscreen=s[18]),r&524288&&(a.returnFocus=s[19]),r&1048576&&(a.seekToInteractive=s[20]),r&2097152&&(a.toggleGraph=s[21]),r&4194304&&(a.playPrevChapter=s[22]),!t&&r&1&&(t=!0,a.controlsElementRef=s[0],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function Y5(i){let e,t,n,o;const l=[K5,G5],s=[];function r(a,c){return a[23]?0:1}return e=r(i),t=s[e]=l[e](i),{c(){t.c(),n=bt()},m(a,c){s[e].m(a,c),C(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?s[e].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),t=s[e],t?t.p(a,c):(t=s[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),s[e].d(a)}}}function X5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:p}=e,{showNextPrevButtons:b}=e,{nextButtonActive:g}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:A}=e,{customFullscreenSupported:w=!0}=e,{playNextVideo:S}=e,{playPrevVideo:B}=e,{repeatPlaylist:R}=e,{toggleFullscreen:U}=e,{returnFocus:Y=it}=e,{seekToInteractive:q}=e,{toggleGraph:ne}=e,{playPrevChapter:X}=e;const T=Et().ui.isMobile;W(i,T,E=>t(23,n=E));function te(E){r=E,t(0,r)}function ce(E){r=E,t(0,r)}return i.$$set=E=>{"bottomHidden"in E&&t(1,o=E.bottomHidden),"bottomNoSmooth"in E&&t(2,l=E.bottomNoSmooth),"showControls"in E&&t(3,s=E.showControls),"controlsElementRef"in E&&t(0,r=E.controlsElementRef),"isAds"in E&&t(4,a=E.isAds),"canRewindLive"in E&&t(5,c=E.canRewindLive),"logoClickable"in E&&t(6,f=E.logoClickable),"logoHidden"in E&&t(7,h=E.logoHidden),"videoLogoUrl"in E&&t(8,p=E.videoLogoUrl),"showNextPrevButtons"in E&&t(9,b=E.showNextPrevButtons),"nextButtonActive"in E&&t(10,g=E.nextButtonActive),"prevButtonActive"in E&&t(11,_=E.prevButtonActive),"isOneVideoPlaylist"in E&&t(12,L=E.isOneVideoPlaylist),"supportLink"in E&&t(13,A=E.supportLink),"customFullscreenSupported"in E&&t(14,w=E.customFullscreenSupported),"playNextVideo"in E&&t(15,S=E.playNextVideo),"playPrevVideo"in E&&t(16,B=E.playPrevVideo),"repeatPlaylist"in E&&t(17,R=E.repeatPlaylist),"toggleFullscreen"in E&&t(18,U=E.toggleFullscreen),"returnFocus"in E&&t(19,Y=E.returnFocus),"seekToInteractive"in E&&t(20,q=E.seekToInteractive),"toggleGraph"in E&&t(21,ne=E.toggleGraph),"playPrevChapter"in E&&t(22,X=E.playPrevChapter)},[r,o,l,s,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,n,T,te,ce]}class Rc extends ye{constructor(e){super(),ke(this,e,X5,Y5,_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 Q5(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function J5(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),r=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(s,"id","a"),u(s,"x","2.5"),u(s,"y","0"),u(s,"width","43.996"),u(s,"height","49.5"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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,_){C(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,p),d(s,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function x5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class $5 extends ye{constructor(e){super(),ke(this,e,x5,J5,_e,{reversed:0},Q5)}}function eg(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("clipPath"),r=I("path"),a=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),p=I("feGaussianBlur"),b=I("feColorMatrix"),g=I("feBlend"),_=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(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(s,"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(b,"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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"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,A){C(L,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(l,a),d(a,c),d(a,f),d(a,h),d(a,p),d(a,b),d(a,g),d(a,_)},d(L){L&&y(e)}}}function tg(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("defs"),r=I("clipPath"),a=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),b=I("feGaussianBlur"),g=I("feColorMatrix"),_=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(r,"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(b,"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(_,"in2","BackgroundImageFix"),u(_,"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(A,w){C(A,e,w),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,r),d(r,a),d(s,c),d(c,f),d(c,h),d(c,p),d(c,b),d(c,g),d(c,_),d(c,L)},d(A){A&&y(e)}}}function ig(i){let e;function t(l,s){return l[0]?tg:eg}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(l,s){o.m(l,s),C(l,e,s)},p(l,[s]){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 ng(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class Nc extends ye{constructor(e){super(),ke(this,e,ng,ig,_e,{isOff:0})}}function og(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function lg(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),r=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(s,"id","a"),u(s,"x","3.402"),u(s,"y","10.105"),u(s,"width","40.098"),u(s,"height","27.785"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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,_){C(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,p),d(s,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function sg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class rg extends ye{constructor(e){super(),ke(this,e,sg,lg,_e,{reversed:0},og)}}function ag(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function ug(i){let e,t,n,o,l,s,r,a,c,f,h,p,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),r=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),b=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(r,"flood-opacity","0"),u(r,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(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(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(s,"id","a"),u(s,"x","5.5"),u(s,"y","5.5"),u(s,"width","37"),u(s,"height","37"),u(s,"filterUnits","userSpaceOnUse"),u(s,"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,_){C(g,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,r),d(s,a),d(s,c),d(s,f),d(s,h),d(s,p),d(s,b)},p(g,[_]){_&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function cg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class fg extends ye{constructor(e){super(),ke(this,e,cg,ug,_e,{reversed:0},ag)}}function dg(i){Ue(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 Ua(i){let e,t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(i[4]),n,o,l,s,r,a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(i[4]),c,f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(i[4]),h,p,b,g,_,L=t&&ja(i),A=i[4]===Xe.STOP&&qa(),w=i[4]===Xe.PLAY&&Wa(),S=i[4]===Xe.SUBTITLES_OFF&&Za(),B=i[4]===Xe.SUBTITLES_ON&&Ga(),R=a&&Ka(i),U=f&&Ya(i),Y=i[4]===Xe.MUTE&&Xa(),q=i[4]===Xe.VOLUME&&Qa(),ne=i[5]&&Ja(i);return{c(){e=k("div"),L&&L.c(),n=N(),A&&A.c(),o=N(),w&&w.c(),l=N(),S&&S.c(),s=N(),B&&B.c(),r=N(),R&&R.c(),c=N(),U&&U.c(),h=N(),Y&&Y.c(),p=N(),q&&q.c(),b=N(),ne&&ne.c(),g=bt(),u(e,"class","v-1lbk7aq")},m(X,$){C(X,e,$),L&&L.m(e,null),d(e,n),A&&A.m(e,null),d(e,o),w&&w.m(e,null),d(e,l),S&&S.m(e,null),d(e,s),B&&B.m(e,null),d(e,r),R&&R.m(e,null),d(e,c),U&&U.m(e,null),d(e,h),Y&&Y.m(e,null),d(e,p),q&&q.m(e,null),C(X,b,$),ne&&ne.m(X,$),C(X,g,$),_=!0},p(X,$){$&16&&(t=[Xe.BACKWARD_SEEK,Xe.FORWARD_SEEK].includes(X[4])),t?L?(L.p(X,$),$&16&&m(L,1)):(L=ja(X),L.c(),m(L,1),L.m(e,n)):L&&(pe(),v(L,1,1,()=>{L=null}),ve()),X[4]===Xe.STOP?A?$&16&&m(A,1):(A=qa(),A.c(),m(A,1),A.m(e,o)):A&&(pe(),v(A,1,1,()=>{A=null}),ve()),X[4]===Xe.PLAY?w?$&16&&m(w,1):(w=Wa(),w.c(),m(w,1),w.m(e,l)):w&&(pe(),v(w,1,1,()=>{w=null}),ve()),X[4]===Xe.SUBTITLES_OFF?S?$&16&&m(S,1):(S=Za(),S.c(),m(S,1),S.m(e,s)):S&&(pe(),v(S,1,1,()=>{S=null}),ve()),X[4]===Xe.SUBTITLES_ON?B?$&16&&m(B,1):(B=Ga(),B.c(),m(B,1),B.m(e,r)):B&&(pe(),v(B,1,1,()=>{B=null}),ve()),$&16&&(a=[Xe.RATE_DOWN,Xe.RATE_UP].includes(X[4])),a?R?(R.p(X,$),$&16&&m(R,1)):(R=Ka(X),R.c(),m(R,1),R.m(e,c)):R&&(pe(),v(R,1,1,()=>{R=null}),ve()),$&16&&(f=[Xe.EPISODE_PREV,Xe.EPISODE_NEXT].includes(X[4])),f?U?(U.p(X,$),$&16&&m(U,1)):(U=Ya(X),U.c(),m(U,1),U.m(e,h)):U&&(pe(),v(U,1,1,()=>{U=null}),ve()),X[4]===Xe.MUTE?Y?$&16&&m(Y,1):(Y=Xa(),Y.c(),m(Y,1),Y.m(e,p)):Y&&(pe(),v(Y,1,1,()=>{Y=null}),ve()),X[4]===Xe.VOLUME?q?$&16&&m(q,1):(q=Qa(),q.c(),m(q,1),q.m(e,null)):q&&(pe(),v(q,1,1,()=>{q=null}),ve()),X[5]?ne?ne.p(X,$):(ne=Ja(X),ne.c(),ne.m(g.parentNode,g)):ne&&(ne.d(1),ne=null)},i(X){_||(m(L),m(A),m(w),m(S),m(B),m(R),m(U),m(Y),m(q),_=!0)},o(X){v(L),v(A),v(w),v(S),v(B),v(R),v(U),v(Y),v(q),_=!1},d(X){X&&(y(e),y(b),y(g)),L&&L.d(),A&&A.d(),w&&w.d(),S&&S.d(),B&&B.d(),R&&R.d(),U&&U.d(),Y&&Y.d(),q&&q.d(),ne&&ne.d(X)}}}function ja(i){let e,t;return e=new $5({props:{reversed:i[4]===Xe.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]===Xe.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 qa(i){let e,t;return e=new wc({}),{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 cs({}),{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 e=new Nc({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 Ga(i){let e,t;return e=new Nc({}),{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 Ka(i){let e,t;return e=new rg({props:{reversed:i[4]===Xe.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]===Xe.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 Ya(i){let e,t;return e=new fg({props:{reversed:i[4]===Xe.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]===Xe.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 Xa(i){let e,t;return e=new fl({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 Qa(i){let e,t;return e=new fl({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 Ja(i){let e,t;return{c(){e=k("span"),t=De(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&32&&et(t,n[5])},d(n){n&&y(e)}}}function mg(i){let e,t,n=!i[1]&&i[4]&&Ua(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){C(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=Ua(o),n.c(),m(n,1),n.m(e,null)):n&&(pe(),v(n,1,1,()=>{n=null}),ve()),(!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 hg(i,e,t){let n,o=K,l=()=>(o(),o=ol(s,p=>t(6,n=p)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let r,a,c,f,h;return i.$$set=p=>{"data"in p&&l(t(0,s=p.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,r=!n),t(2,a=(n==null?void 0:n.type)===Xe.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Xe.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))},[s,r,a,c,f,h,n]}class pg extends ye{constructor(e){super(),ke(this,e,hg,mg,_e,{data:0},dg)}}function vg(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 gg(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w;return l=new Fn({props:{direction:"up"}}),a=new Fn({props:{direction:"up"}}),p=new Fn({props:{direction:"up"}}),_=new Fn({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),F(l.$$.fragment),s=N(),r=k("div"),F(a.$$.fragment),c=N(),f=k("div"),h=k("div"),F(p.$$.fragment),b=N(),g=k("div"),F(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(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(S,B){C(S,e,B),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,s),d(n,r),z(a,r,null),d(t,c),d(t,f),d(f,h),z(p,h,null),d(f,b),d(f,g),z(_,g,null),L=!0,A||(w=[Ee(o,"mousedown",i[1]),Ee(o,"mouseup",i[5]),Ee(o,"mouseleave",i[5]),Ee(r,"mousedown",i[3]),Ee(r,"mouseup",i[5]),Ee(r,"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])],A=!0)},p(S,[B]){(!L||B&1)&&V(e,"m-shifted",S[0])},i(S){L||(m(l.$$.fragment,S),m(a.$$.fragment,S),m(p.$$.fragment,S),m(_.$$.fragment,S),L=!0)},o(S){v(l.$$.fragment,S),v(a.$$.fragment,S),v(p.$$.fragment,S),v(_.$$.fragment,S),L=!1},d(S){S&&y(e),D(l),D(a),D(p),D(_),A=!1,ni(w)}}}function bg(i,e,t){let{isShifted:n=!1}=e;const o=Et(),l=new Set([He.ArrowUp,He.ArrowDown,He.ArrowLeft,He.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=b=>{if(l.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case He.ArrowUp:s();break;case He.ArrowDown:r();break;case He.ArrowLeft:c();break;case He.ArrowRight:a();break}},p=b=>{l.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,s,r,a,c,f,h,p]}class Bc extends ye{constructor(e){super(),ke(this,e,bg,gg,_e,{isShifted:0},vg)}}function _g(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 xa(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function $a(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function e1(i){let e,t;function n(s,r){return s[7]&&s[8]?yg:s[5]?kg:wg}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(s,r){C(s,e,r),d(e,t),l.m(t,null)},p(s,r){o===(o=n(s))&&l?l.p(s,r):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),r&8&&V(e,"mobile",s[3])},d(s){s&&y(e),l.d()}}}function wg(i){let e,t=Gt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=t1(xa(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,l){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(o,l);C(o,e,l)},p(o,l){if(l&18){t=Gt(o[1]);let s;for(s=0;s<t.length;s+=1){const r=xa(o,t,s);n[s]?n[s].p(r,l):(n[s]=t1(r),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(o){o&&y(e),dn(n,o)}}}function kg(i){let e,t,n=Gt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=n1($a(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,s){C(l,e,s),d(e,t);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,null)},p(l,s){if(s&68){n=Gt(l[6]);let r;for(r=0;r<n.length;r+=1){const a=$a(l,n,r);o[r]?o[r].p(a,s):(o[r]=n1(a),o[r].c(),o[r].m(t,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}s&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e),dn(o,l)}}}function yg(i){let e,t,n=Z("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=De(n),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){C(l,e,s),d(e,t),d(t,o)},p(l,s){s&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function t1(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=De(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(s,r){C(s,e,r),d(e,t),d(t,o),d(e,l)},p(s,r){r&2&&n!==(n=s[16]+"")&&et(o,n),r&16&&Ft(t,"font-size",s[4]+"px")},d(s){s&&y(e)}}}function i1(i){let e=i[16]+"",t;return{c(){t=De(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&et(t,e)},d(n){n&&y(t)}}}function n1(i){let e,t=(!i[17]||i[17]<=i[2])&&i1(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),C(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=i1(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function Cg(i){let e,t=i[1].length>0&&e1(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){C(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=e1(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 Sg(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Et(),h=xi(),p=f.state.currentSubtitle$;W(i,p,S=>t(12,n=S));const b=f.state.isAutoSubtitleCaptionVisible$;W(i,b,S=>t(8,o=S));let g,_,L,A,w;return Ji(()=>{w=window.setTimeout(()=>{b.set(!1)},h.autoSubtitlesTimeout)}),sl(()=>{window.clearTimeout(w)}),i.$$set=S=>{"shifted"in S&&t(0,l=S.shifted),"captions"in S&&t(1,s=S.captions),"position"in S&&t(2,r=S.position),"playerSize"in S&&t(11,a=S.playerSize),"isMobile"in S&&t(3,c=S.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const S=a.width*.02;t(4,g=S<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:S)}i.$$.dirty&2&&t(5,_=s.some(S=>S.type==="timestamp")),i.$$.dirty&2&&t(6,L=s.reduce((S,{type:B,value:R})=>(B==="timestamp"?S.push({timeAppeared:Number(R),value:""}):S.length===0?S.push({value:String(R)}):S[S.length-1].value=String(R),S),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,r,c,g,_,L,A,o,p,b,a,n]}class Oc extends ye{constructor(e){super(),ke(this,e,Sg,Cg,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},_g)}}function Pg(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 o1(i){let e,t,n;return{c(){e=k("div"),t=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){C(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&et(n,o[1])},d(o){o&&y(e)}}}function Tg(i){let e,t,n,o,l,s,r=i[1]&&o1(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(),r&&r.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){C(a,e,c),d(e,t),d(e,n),r&&r.m(e,null),l||(s=Ee(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=o1(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(a){a&&y(e),r&&r.d(),l=!1,s()}}}function Eg(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){ho.call(this,i,s)}return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"chromecastDeviceName"in s&&t(1,o=s.chromecastDeviceName)},[n,o,l]}class zc extends ye{constructor(e){super(),ke(this,e,Eg,Tg,_e,{thumbUrl:0,chromecastDeviceName:1},Pg)}}function Ag(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Lg extends ye{constructor(e){super(),ke(this,e,null,Ag,_e,{})}}function Vg(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 Ig(i){let e,t,n;return t=new Lg({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){C(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 Dc extends ye{constructor(e){super(),ke(this,e,null,Ig,_e,{},Vg)}}function Mg(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 Rg(i){let e,t,n,o,l,s,r,a,c;return l=new cs({}),{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",s=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),r=!0,a||(c=Ee(e,"click",ut(function(){Vn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!r||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!r||h&2)&&V(e,"hidden",i[1])},i(f){r||(m(l.$$.fragment,f),r=!0)},o(f){v(l.$$.fragment,f),r=!1},d(f){f&&y(e),D(l),a=!1,c()}}}function Ng(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=s=>{"thumbUrl"in s&&t(0,n=s.thumbUrl),"hidden"in s&&t(1,o=s.hidden),"startVideo"in s&&t(2,l=s.startVideo)},[n,o,l]}class Fc extends ye{constructor(e){super(),ke(this,e,Ng,Rg,_e,{thumbUrl:0,hidden:1,startVideo:2},Mg)}}function Bg(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 zg(i){let e,t;return{c(){e=_("div"),t=Fe(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){y(n,e,o),m(e,t)},p(n,[o]){o&1&&Je(t,n[0]),o&2&&V(e,"hidden",n[1])},i:Z,o:Z,d(n){n&&k(e)}}}function Dg(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 Fg extends ke{constructor(e){super(),we(this,e,Dg,zg,_e,{title:0,isHidden:1},Og)}}function Hg(i){De(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 t1(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[0]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_day_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&1&&Je(n,a[0])},d(a){a&&(k(e),k(s),k(r))}}}function i1(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[1]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_hour_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&2&&Je(n,a[1])},d(a){a&&(k(e),k(s),k(r))}}}function n1(i){let e,t,n,o,l,s,r;return{c(){e=_("div"),t=_("span"),n=Fe(i[2]),o=B(),l=_("span"),l.textContent=`${ne("waiting_live_minute_value")}`,s=B(),r=_("span"),r.textContent=`${ne("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(r,"class","timer__points v-1qpxtfg")},m(a,c){y(a,e,c),m(e,t),m(t,n),m(e,o),m(e,l),y(a,s,c),y(a,r,c)},p(a,c){c&4&&Je(n,a[2])},d(a){a&&(k(e),k(s),k(r))}}}function o1(i){let e,t,n,o,l;return{c(){e=_("div"),t=_("span"),n=Fe(i[3]),o=B(),l=_("span"),l.textContent=`${ne("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(s,r){y(s,e,r),m(e,t),m(t,n),m(e,o),m(e,l)},p(s,r){r&8&&Je(n,s[3])},d(s){s&&k(e)}}}function Ug(i){let e,t,n,o,l=i[0]&&t1(i),s=i[1]&&i1(i),r=i[2]&&n1(i),a=i[3]&&o1(i);return{c(){e=_("div"),l&&l.c(),t=B(),s&&s.c(),n=B(),r&&r.c(),o=B(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){y(c,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),r&&r.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=t1(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=i1(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?r?r.p(c,f):(r=n1(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=o1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:Z,o:Z,d(c){c&&k(e),l&&l.d(),s&&s.d(),r&&r.d(),a&&a.d()}}}function jg(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,r,a,c;const f=p=>String(p).padStart(2,"0"),h=p=>{const b=Math.floor(p/86400);b&&(p-=b*86400,t(0,l=f(b)));const L=Math.floor(p/3600);t(1,s=f(L));const w=Math.floor(p/60)%60;t(2,r=f(w));const A=p%60;t(3,a=f(A))},g=()=>{const p=Math.floor(Date.now()/1e3),b=n-p;h(b),b>=1?c=requestAnimationFrame(g):o()};return Ji(()=>{c=requestAnimationFrame(g)}),nl(()=>{cancelAnimationFrame(c)}),i.$$set=p=>{"startTime"in p&&t(4,n=p.startTime),"onTimerOver"in p&&t(5,o=p.onTimerOver)},[l,s,r,a,n,o]}class qg extends ke{constructor(e){super(),we(this,e,jg,Ug,_e,{startTime:4,onTimerOver:5},Hg)}}function Wg(i){let e,t,n,o,l;return{c(){e=R("svg"),t=R("path"),n=R("path"),o=R("path"),l=R("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"),Nt(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"),Nt(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"),Nt(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"),Nt(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"),Nt(e,"shape-rendering","geometricPrecision"),Nt(e,"text-rendering","geometricPrecision"),Nt(e,"image-rendering","optimizeQuality"),Nt(e,"fill-rule","evenodd"),Nt(e,"clip-rule","evenodd"),Nt(e,"width","100%"),Nt(e,"height","100%")},m(s,r){y(s,e,r),m(e,t),m(e,n),m(e,o),m(e,l)},p:Z,i:Z,o:Z,d(s){s&&k(e)}}}class Zg extends ke{constructor(e){super(),we(this,e,null,Wg,_e,{})}}function Gg(i){De(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 Yg(i){let e,t,n,o,l;return o=new qg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=_("div"),t=_("span"),t.textContent=`${ne("waiting_live_timer_title")}`,n=B(),H(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,r){y(s,e,r),m(e,t),m(e,n),D(o,e,null),l=!0},p(s,r){const a={};r&2&&(a.startTime=s[1]||0),r&4&&(a.onTimerOver=s[3]),o.$set(a)},i(s){l||(d(o.$$.fragment,s),l=!0)},o(s){v(o.$$.fragment,s),l=!1},d(s){s&&k(e),F(o)}}}function Kg(i){let e,t,n,o,l,s;return n=new Zg({}),{c(){e=_("div"),t=_("div"),H(n.$$.fragment),o=B(),l=_("span"),l.textContent=`${ne("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(r,a){y(r,e,a),m(e,t),D(n,t,null),m(e,o),m(e,l),s=!0},p:Z,i(r){s||(d(n.$$.fragment,r),s=!0)},o(r){v(n.$$.fragment,r),s=!1},d(r){r&&k(e),F(n)}}}function Xg(i){let e,t,n,o,l;const s=[Kg,Yg],r=[];function a(c,f){return c[2]?0:1}return t=a(i),n=r[t]=s[t](i),{c(){e=_("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){y(c,e,f),r[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?r[t].p(c,f):(me(),v(r[h],1,1,()=>{r[h]=null}),he(),n=r[t],n?n.p(c,f):(n=r[t]=s[t](c),n.c()),d(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||(d(n),l=!0)},o(c){v(n),l=!1},d(c){c&&k(e),r[t].d()}}}function Qg(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=r=>{"thumbUrl"in r&&t(0,o=r.thumbUrl),"startTime"in r&&t(1,l=r.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class Bc extends ke{constructor(e){super(),we(this,e,Qg,Xg,_e,{thumbUrl:0,startTime:1},Gg)}}function Jg(i){De(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 xg(i){let e,t;return{c(){e=_("div"),t=_("p"),t.textContent=`${ne("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){y(n,e,o),m(e,t)},p:Z,i:Z,o:Z,d(n){n&&k(e)}}}class Oc extends ke{constructor(e){super(),we(this,e,null,xg,_e,{},Jg)}}const{window:$g}=K1;function e6(i){De(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 l1(i){var n;let e,t;return e=new Bc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[0]&8&&(s.thumbUrl=o[3]),l[0]&32&&(s.startTime=(r=o[5])==null?void 0:r.startTime),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function s1(i){let e,t;return e=new Oc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function r1(i){let e,t,n;return t=new Qu({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[36]!==Re.Ads)},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Re.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function a1(i){let e,t;return e=new Dm({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function u1(i){let e,t;return e=new Fg({props:{title:i[2],isHidden:!i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function c1(i){let e,t;return e=new Vc({props:{isShifted:i[36]===Re.Video&&i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===Re.Video&&n[34]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function f1(i){let e,t,n;return t=new du({props:{ariaLabel:ne("video360")}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function d1(i){let e,t;return e=new Mc({props:{thumbUrl:i[3],chromecastDeviceName:i[53]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&4194304&&(l.chromecastDeviceName=n[53]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function m1(i){let e,t;return e=new Ic({props:{shifted:i[34],captions:i[55],position:i[56],playerSize:i[32]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.shifted=n[34]),o[1]&16777216&&(l.captions=n[55]),o[1]&33554432&&(l.position=n[56]),o[1]&2&&(l.playerSize=n[32]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function h1(i){let e,t;return e=new Ju({props:{showControls:i[34]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.showControls=n[34]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function p1(i){let e,t,n,o,l;return t=new Rc({}),{c(){e=_("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),D(t,e,null),n=!0,o||(l=[Le(e,"contextmenu",vi(i[103])),Le(e,"click",ct(i[114]))],o=!0)},p:Z,i(s){n||(d(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&k(e),F(t),o=!1,ti(l)}}}function v1(i){let e,t;return e=new lc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function g1(i){let e,t;return e=new sh({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function b1(i){let e,t;return e=new ec({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _1(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te;e=new Nc({props:{hidden:i[36]!==Re.Thumb||i[35]||i[91]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let Q=i[36]===Re.WaitingLive&&l1(i),T=i[36]===Re.WaitingRecord&&s1(),j=i[8]&&i[22]&&r1(i),ae=i[31]&&i[18]&&i[19]&&a1(i),C=i[44]&&u1(i),$=i[49]&&c1(i),oe=i[52]&&f1(),Ce=i[37]&&d1(i),pe=i[54].value!=="off"&&m1(i),Ee=i[1].features.annotations&&h1(i),ye=i[35]&&p1(i);function U(O){i[142](O)}let E={bottomHidden:i[36]===Re.Thumb||i[36]===Re.WaitingLive||i[36]===Re.WaitingRecord,bottomNoSmooth:i[50],showControls:i[34],isAds:i[36]===Re.Ads,canRewindLive:i[7]&&i[57]!==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:n6,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[101],returnFocus:i[141],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(E.controlsElementRef=i[39]),b=new Ac({props:E}),je.push(()=>yt(b,"controlsElementRef",U)),A=new $u({props:{isLive:i[58],isHidden:!i[43],isPlaying:i[59],position:i[56],duration:i[60]}}),I=new vg({props:{data:i[99]}}),J=new gm({props:{supportLink:i[21],returnFocus:i[143],visible:i[48],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let se=i[42]&&v1(),q=i[61]&&g1(),Te=i[62]&&b1();return{c(){H(e.$$.fragment),t=B(),Q&&Q.c(),n=B(),T&&T.c(),o=B(),j&&j.c(),l=B(),ae&&ae.c(),s=B(),C&&C.c(),r=B(),$&&$.c(),a=B(),oe&&oe.c(),c=B(),Ce&&Ce.c(),f=B(),pe&&pe.c(),h=B(),Ee&&Ee.c(),g=B(),ye&&ye.c(),p=B(),H(b.$$.fragment),w=B(),H(A.$$.fragment),P=B(),H(I.$$.fragment),M=B(),H(J.$$.fragment),G=B(),se&&se.c(),K=B(),q&&q.c(),z=B(),Te&&Te.c(),re=vt()},m(O,Y){D(e,O,Y),y(O,t,Y),Q&&Q.m(O,Y),y(O,n,Y),T&&T.m(O,Y),y(O,o,Y),j&&j.m(O,Y),y(O,l,Y),ae&&ae.m(O,Y),y(O,s,Y),C&&C.m(O,Y),y(O,r,Y),$&&$.m(O,Y),y(O,a,Y),oe&&oe.m(O,Y),y(O,c,Y),Ce&&Ce.m(O,Y),y(O,f,Y),pe&&pe.m(O,Y),y(O,h,Y),Ee&&Ee.m(O,Y),y(O,g,Y),ye&&ye.m(O,Y),y(O,p,Y),D(b,O,Y),y(O,w,Y),D(A,O,Y),y(O,P,Y),D(I,O,Y),y(O,M,Y),D(J,O,Y),y(O,G,Y),se&&se.m(O,Y),y(O,K,Y),q&&q.m(O,Y),y(O,z,Y),Te&&Te.m(O,Y),y(O,re,Y),te=!0},p(O,Y){const Ie={};Y[0]&64|Y[1]&48&&(Ie.hidden=O[36]!==Re.Thumb||O[35]||O[91]&&O[6]),Y[0]&8&&(Ie.thumbUrl=O[3]),Y[0]&536870912&&(Ie.startVideo=O[29]),e.$set(Ie),O[36]===Re.WaitingLive?Q?(Q.p(O,Y),Y[1]&32&&d(Q,1)):(Q=l1(O),Q.c(),d(Q,1),Q.m(n.parentNode,n)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he()),O[36]===Re.WaitingRecord?T?Y[1]&32&&d(T,1):(T=s1(),T.c(),d(T,1),T.m(o.parentNode,o)):T&&(me(),v(T,1,1,()=>{T=null}),he()),O[8]&&O[22]?j?(j.p(O,Y),Y[0]&4194560&&d(j,1)):(j=r1(O),j.c(),d(j,1),j.m(l.parentNode,l)):j&&(me(),v(j,1,1,()=>{j=null}),he()),O[31]&&O[18]&&O[19]?ae?(ae.p(O,Y),Y[0]&786432|Y[1]&1&&d(ae,1)):(ae=a1(O),ae.c(),d(ae,1),ae.m(s.parentNode,s)):ae&&(me(),v(ae,1,1,()=>{ae=null}),he()),O[44]?C?(C.p(O,Y),Y[1]&8192&&d(C,1)):(C=u1(O),C.c(),d(C,1),C.m(r.parentNode,r)):C&&(me(),v(C,1,1,()=>{C=null}),he()),O[49]?$?($.p(O,Y),Y[1]&262144&&d($,1)):($=c1(O),$.c(),d($,1),$.m(a.parentNode,a)):$&&(me(),v($,1,1,()=>{$=null}),he()),O[52]?oe?(oe.p(O,Y),Y[1]&2097152&&d(oe,1)):(oe=f1(),oe.c(),d(oe,1),oe.m(c.parentNode,c)):oe&&(me(),v(oe,1,1,()=>{oe=null}),he()),O[37]?Ce?(Ce.p(O,Y),Y[1]&64&&d(Ce,1)):(Ce=d1(O),Ce.c(),d(Ce,1),Ce.m(f.parentNode,f)):Ce&&(me(),v(Ce,1,1,()=>{Ce=null}),he()),O[54].value!=="off"?pe?(pe.p(O,Y),Y[1]&8388608&&d(pe,1)):(pe=m1(O),pe.c(),d(pe,1),pe.m(h.parentNode,h)):pe&&(me(),v(pe,1,1,()=>{pe=null}),he()),O[1].features.annotations?Ee?(Ee.p(O,Y),Y[0]&2&&d(Ee,1)):(Ee=h1(O),Ee.c(),d(Ee,1),Ee.m(g.parentNode,g)):Ee&&(me(),v(Ee,1,1,()=>{Ee=null}),he()),O[35]?ye?(ye.p(O,Y),Y[1]&16&&d(ye,1)):(ye=p1(O),ye.c(),d(ye,1),ye.m(p.parentNode,p)):ye&&(me(),v(ye,1,1,()=>{ye=null}),he());const Pe={};Y[1]&32&&(Pe.bottomHidden=O[36]===Re.Thumb||O[36]===Re.WaitingLive||O[36]===Re.WaitingRecord),Y[1]&524288&&(Pe.bottomNoSmooth=O[50]),Y[1]&8&&(Pe.showControls=O[34]),Y[1]&32&&(Pe.isAds=O[36]===Re.Ads),Y[0]&128|Y[1]&67108864&&(Pe.canRewindLive=O[7]&&O[57]!==0),Y[0]&8192&&(Pe.logoClickable=O[13]),Y[0]&16384&&(Pe.logoHidden=O[14]),Y[0]&16&&(Pe.videoLogoUrl=O[4]),Y[0]&32768&&(Pe.showNextPrevButtons=O[15]),Y[0]&65536&&(Pe.nextButtonActive=O[16]),Y[0]&131072&&(Pe.prevButtonActive=O[17]),Y[0]&1048576&&(Pe.isOneVideoPlaylist=O[20]),Y[0]&2097152&&(Pe.supportLink=O[21]),Y[0]&8388608&&(Pe.playNextVideo=O[23]),Y[0]&16777216&&(Pe.playPrevVideo=O[24]),Y[0]&33554432&&(Pe.repeatPlaylist=O[25]),Y[1]&65536&&(Pe.returnFocus=O[141]),Y[0]&67108864&&(Pe.seekToInteractive=O[26]),Y[0]&134217728&&(Pe.toggleGraph=O[27]),Y[0]&268435456&&(Pe.playPrevChapter=O[28]),!L&&Y[1]&256&&(L=!0,Pe.controlsElementRef=O[39],kt(()=>L=!1)),b.$set(Pe);const ve={};Y[1]&134217728&&(ve.isLive=O[58]),Y[1]&4096&&(ve.isHidden=!O[43]),Y[1]&268435456&&(ve.isPlaying=O[59]),Y[1]&33554432&&(ve.position=O[56]),Y[1]&536870912&&(ve.duration=O[60]),A.$set(ve);const ee={};Y[0]&2097152&&(ee.supportLink=O[21]),Y[1]&65536&&(ee.returnFocus=O[143]),Y[1]&131072&&(ee.visible=O[48]),Y[1]&128&&(ee.playerContainerRef=O[38]),Y[1]&256&&(ee.controlsContainerRef=O[39]),Y[1]&512&&(ee.x=O[40]),Y[1]&1024&&(ee.y=O[41]),J.$set(ee),O[42]?se?Y[1]&2048&&d(se,1):(se=v1(),se.c(),d(se,1),se.m(K.parentNode,K)):se&&(me(),v(se,1,1,()=>{se=null}),he()),O[61]?q?Y[1]&1073741824&&d(q,1):(q=g1(),q.c(),d(q,1),q.m(z.parentNode,z)):q&&(me(),v(q,1,1,()=>{q=null}),he()),O[62]?Te?Y[2]&1&&d(Te,1):(Te=b1(),Te.c(),d(Te,1),Te.m(re.parentNode,re)):Te&&(me(),v(Te,1,1,()=>{Te=null}),he())},i(O){te||(d(e.$$.fragment,O),d(Q),d(T),d(j),d(ae),d(C),d($),d(oe),d(Ce),d(pe),d(Ee),d(ye),d(b.$$.fragment,O),d(A.$$.fragment,O),d(I.$$.fragment,O),d(J.$$.fragment,O),d(se),d(q),d(Te),te=!0)},o(O){v(e.$$.fragment,O),v(Q),v(T),v(j),v(ae),v(C),v($),v(oe),v(Ce),v(pe),v(Ee),v(ye),v(b.$$.fragment,O),v(A.$$.fragment,O),v(I.$$.fragment,O),v(J.$$.fragment,O),v(se),v(q),v(Te),te=!1},d(O){O&&(k(t),k(n),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(g),k(p),k(w),k(P),k(M),k(G),k(K),k(z),k(re)),F(e,O),Q&&Q.d(O),T&&T.d(O),j&&j.d(O),ae&&ae.d(O),C&&C.d(O),$&&$.d(O),oe&&oe.d(O),Ce&&Ce.d(O),pe&&pe.d(O),Ee&&Ee.d(O),ye&&ye.d(O),F(b,O),F(A,O),F(I,O),F(J,O),se&&se.d(O),q&&q.d(O),Te&&Te.d(O)}}}function t6(i){let e,t,n,o,l=i[51],s,r,a,c,f=_1(i);return{c(){e=_("div"),t=_("div"),o=B(),f.c(),s=vt(),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]!==Re.Video),V(e,"nocursor",i[45])},m(h,g){y(h,e,g),m(e,t),i[140](t),y(h,o,g),f.m(h,g),y(h,s,g),r=!0,a||(c=[Le(e,"contextmenu",vi(i[103])),Le(e,"mousedown",vi(i[108])),Le(e,"mouseup",vi(i[109])),Le(e,"click",vi(i[111])),Le(e,"dblclick",vi(i[110]))],a=!0)},p(h,g){(!r||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!r||g[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!r||g[1]&32)&&V(e,"hidden",h[36]!==Re.Video),(!r||g[1]&16384)&&V(e,"nocursor",h[45]),g[1]&1048576&&_e(l,l=h[51])?(me(),v(f,1,1,Z),he(),f=_1(h),f.c(),d(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){r||(d(f),r=!0)},o(h){v(f),r=!1},d(h){h&&(k(e),k(o),k(s)),i[140](null),f.d(h),a=!1,ti(c)}}}function i6(i){let e,t,n,o,l,s,r,a={toggleFullscreen:i[101],hideContextMenu:i[102],showHotKeyHelpers:i[112],showKeyMap:i[113],isAds:i[36]===Re.Ads,$$slots:{default:[t6]},$$scope:{ctx:i}};return t=new jm({props:a}),i[144](t),{c(){e=_("div"),H(t.$$.fragment),n=B(),o=_("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){y(c,e,f),D(t,e,null),m(e,n),m(e,o),i[145](o),i[146](e),l=!0,s||(r=[Le($g,"blur",i[102]),Le(e,"mouseenter",i[104]),Le(e,"mouseleave",i[106]),Le(e,"mousemove",i[107]),Le(e,"click",i[115],!0),Le(e,"focusin",i[105],!0)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Re.Ads),f[0]&1073741823|f[1]&2147483647|f[2]&1|f[5]&4096&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(d(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&k(e),i[144](null),F(t),i[145](null),i[146](null),s=!1,ti(r)}}}let n6=!0;function zc(i){return i?i.offsetTop+zc(i.offsetParent):0}function o6(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,{store:E}=e,{uiConfig:se}=e,{title:q}=e,{thumbUrl:Te}=e,{videoLogoUrl:O}=e,{videoContainer:Y}=e,{interactiveContainer:Ie}=e,{live:Pe}=e,{autoplay:ve}=e,{canRewindLive:ee}=e,{showAds:ue}=e,{adsSlotId:ge=void 0}=e,{adsParams:le=void 0}=e,{adsPreviewParam:Ze=void 0}=e,{duration:He=void 0}=e,{logoClickable:at}=e,{logoHidden:nt}=e,{showNextPrevButtons:Oe=!1}=e,{nextButtonActive:ft=!1}=e,{prevButtonActive:wt=!1}=e,{endScreenVideoTitle:Me=void 0}=e,{endScreenVideoThumb:Ne=void 0}=e,{isOneVideoPlaylist:Dt=!1}=e,{supportLink:de}=e,{outerContainerRef:et=void 0}=e,{playerStarted:xe=!1}=e,{fullScreenTarget:Qe=void 0}=e,{showMiniTimer:Ge=!1}=e,{playNextVideo:Ye=it}=e,{playPrevVideo:$e=it}=e,{repeatPlaylist:lt=it}=e,{seekToInteractive:ot}=e,{toggleGraph:ze}=e,{playPrevChapter:Vt}=e,{firstStart:Pt}=e;const st=E.getLogger().createComponentLog("Root component"),si=E.interfaceLanguage$;W(i,si,N=>t(51,Q=N));const dt=E.state.playbackState$;W(i,dt,N=>t(137,z=N));const Ke=E.ads.playbackState;W(i,Ke,N=>t(138,re=N));const At=E.state.positionWithScrubbing$;W(i,At,N=>t(56,$=N));const ut=E.state.duration$;W(i,ut,N=>t(60,Ee=N));const bi=E.playerPhase;W(i,bi,N=>t(36,I=N));const fe=E.ui.isFullscreen;W(i,fe,N=>t(128,c=N));const Se=E.ui.controlsVisible;W(i,Se,N=>t(34,b=N));const Ve=E.ui.settingsMenuVisible;W(i,Ve,N=>t(126,n=N));const It=E.ui.scrubbingInProgress;W(i,It,N=>t(129,g=N));const xt=E.ui.contextMenuVisible;W(i,xt,N=>t(48,o=N));const Ae=E.ui.debugPanelVisible;W(i,Ae,N=>t(62,U=N));const ii=E.state.isLoaderVisible;W(i,ii,N=>t(139,te=N));const ri=E.state.isEnded$;W(i,ri,N=>t(127,s=N));const Ft=E.state.chromecastConnected$;W(i,Ft,N=>t(37,G=N));const Ii=E.state.chromecastDeviceName$;W(i,Ii,N=>t(53,j=N));const Ht=E.ads.postrollPassed;W(i,Ht,N=>t(132,A=N));const Yi=E.state.isLive$;W(i,Yi,N=>t(58,Ce=N));const ai=E.state.isPlaying$;W(i,ai,N=>t(59,pe=N));const Mi=E.state.crashed$;W(i,Mi,N=>t(35,w=N));const St=E.webApi.pictureInPictureApi,nn=E.state.currentSubtitle$;W(i,nn,N=>t(54,ae=N));const ni=E.state.currentSubtitleCaptions$;W(i,ni,N=>t(55,C=N));const on=E.state.duration$;W(i,on,N=>t(57,oe=N));const Tt=E.state.graphIsOpened$;W(i,Tt,N=>t(133,P=N));const Ri=E.ui.playerSize;W(i,Ri,N=>t(32,a=N));const ui=E.ui.is3DVideo;W(i,ui,N=>t(49,r=N));const Ei=E.ui.icon3DVideoVisible;W(i,Ei,N=>t(52,T=N));const Ui=E.ui.rotateAlpha;W(i,Ui,N=>t(33,h=N));const oi=E.state.isInteractive,Ni=E.state.isInteractiveTime$;W(i,Ni,N=>t(130,p=N));const Ai=E.state.isInteractiveExpectation$;W(i,Ai,N=>t(136,K=N));const Li=E.state.hasInteractiveBranches,Yt=E.ui.touched;W(i,Yt,N=>t(134,M=N));const ci=E.ui.modals.hotKeyMap.data;W(i,ci,N=>t(153,l=N));const _i=E.ui.modals.hotKeyMap.show;W(i,_i,N=>t(61,ye=N));const ji=E.ui.overlayContainer$;let fi,Bt,li=0,Bi=0,Ki,di,Oi;ci.set(B4());let zi,mi;const wi=Ue(!1);W(i,wi,N=>t(50,f=N));let qi;const Kt=Ue(!1);W(i,Kt,N=>t(135,J=N));const Ut=Ue(),ki=Ue(!1);W(i,ki,N=>t(131,L=N));let jt=!1,Xt=!1,hi,yi,Vi,Ci,Di,Fi,Pi=!1,Xi,Qt=!1,qt=null,Mt;St==null||St.setContext(J1());const Wi=()=>{ve&&!oi&&$t(se.controls.hideTimeout)};E.setUiCallbacks({onStarted:Wi});const Jt=()=>{window.clearTimeout(Ki),Kt.set(!1)},ce=()=>{window.clearTimeout(di),Ut.set(null)},$t=N=>{Jt(),Kt.set(!0),Ki=window.setTimeout(()=>Kt.set(!1),N);const tt=N-100;qi=window.setTimeout(()=>{f&&wi.set(!1)},tt>0?tt:N)},$i=(N,tt)=>{ce(),Ut.set(tt),di=window.setTimeout(()=>Ut.set(null),N)},fn=ui.subscribe(N=>{Ei.set(N),N&&(window.clearTimeout(Oi),Oi=window.setTimeout(()=>Ei.set(!1),se.controls.hide360IconTimeout))}),In=()=>jn(this,null,function*(){var tt,pi,Si,kn;const N=Eo();if(N){$t(se.controls.hideTimeoutFullscreen);try{yield St==null?void 0:St.remove()}catch(Un){st({message:String(Un)})}}fe.set(N),E.getAdmanWrapper().setFullscreen(N),c?(pi=(tt=E.callbacks)==null?void 0:tt.onFullscreenEnter)==null||pi.call(tt):(kn=(Si=E.callbacks)==null?void 0:Si.onFullscreenExit)==null||kn.call(Si)}),Mn=N=>{const tt=N;Ri.set({width:tt.target.width,height:tt.target.height})};Ji(()=>{var tt;return Ku(In),el(St)&&(St==null||St.assignPlayerContainer(fi),St==null||St.registryExternalEventHandlers({resize:Mn})),Ie&&((tt=Y.parentElement)==null||tt.insertBefore(Ie,Y.nextSibling)),()=>{window.clearTimeout(Ki),window.clearTimeout(qi),window.clearTimeout(di),window.clearTimeout(Oi),fn(),St==null||St.dispose(),Xu(In)}});const dn=()=>jn(this,null,function*(){if(Eo())yield Yu(document),st({message:"exit fullscreen"});else{st({message:"request fullscreen"});const N=et!=null?et:fi,tt=N.getRootNode(),pi=tt instanceof ShadowRoot?tt.host:tt,Si=Qe instanceof HTMLElement&&Qe.contains(pi),kn=se.allowChangingFullscreenTarget&&Qe&&Si?Qe:N;yield Gu(kn)}}),Qi=()=>{Ve.set(!1),xt.set(!1)},_n=N=>{xt.set(!0),t(40,li=N.clientX),t(41,Bi=N.clientY)};function wn(){ki.set(!0),oi||$t(se.controls.hideTimeoutCursor)}function Dn(){oi||(wi.set(!0),$t(se.controls.hideTimeoutCursor))}function Fn(){ki.set(!1),t(122,Xt=!1),t(121,jt=!1),Qt=!1,E.actions.internal.releaseCamera()}function Rn(N){if(fi){const tt=zc(N.currentTarget),pi=a.height,Si=N.pageY-tt;Si<gs?t(122,Xt=!0):Si>pi-gs?t(121,jt=!0):(t(122,Xt=!1),n||t(121,jt=!1))}}function X(N){Rn(N),yi||$t(se.controls.hideTimeoutCursor),r&&Qt&&qt&&E.actions.internal.moveCameraFocusPX(qt.clientX-N.clientX,qt.clientY-N.clientY,N.timeStamp-qt.timeStamp),qt=N}const pt=N=>{N.button===0&&(Qt=!0,E.actions.internal.holdCamera()),$t(se.controls.hideTimeoutCursor)},mn=N=>{N.button===0&&(qt=N,Qt=!1,E.actions.internal.releaseCamera()),$t(se.controls.hideTimeoutCursor)},en=()=>{st({message:"double click on video"}),dn(),$t(se.controls.hideTimeoutCursor)},hn=()=>{if(o||n){Qi();return}if(!(s&&!Li)){if(Mt==null||Mt.focus(),!xe){Pt(),$t(se.controls.hideTimeoutCursor);return}E.actions.internal.togglePlay(),$t(se.controls.hideTimeoutCursor)}},ln=N=>{Qi(),Yt.set(!0),$t(se.controls.hideTimeout),N&&$i(se.controls.hideHotKeyHelpers,N)},ho=()=>{var N,tt;Qi(),(N=E.callbacks)!=null&&N.onOpenHotKeyMap?(tt=E.callbacks)==null||tt.onOpenHotKeyMap(l):_i.update(pi=>!pi)},po=()=>{if(o||n){Qi();return}},vo=()=>{Yt.set(!0)};function go(N){je[N?"unshift":"push"](()=>{Y=N,t(0,Y)})}const bo=()=>Mt==null?void 0:Mt.focus();function _o(N){Bt=N,t(39,Bt)}const Yn=()=>Mt==null?void 0:Mt.focus();function Kn(N){je[N?"unshift":"push"](()=>{Mt=N,t(47,Mt)})}function ie(N){je[N?"unshift":"push"](()=>{mi=N,t(30,mi)})}function Hn(N){je[N?"unshift":"push"](()=>{fi=N,t(38,fi)})}return i.$$set=N=>{"store"in N&&t(116,E=N.store),"uiConfig"in N&&t(1,se=N.uiConfig),"title"in N&&t(2,q=N.title),"thumbUrl"in N&&t(3,Te=N.thumbUrl),"videoLogoUrl"in N&&t(4,O=N.videoLogoUrl),"videoContainer"in N&&t(0,Y=N.videoContainer),"interactiveContainer"in N&&t(117,Ie=N.interactiveContainer),"live"in N&&t(5,Pe=N.live),"autoplay"in N&&t(6,ve=N.autoplay),"canRewindLive"in N&&t(7,ee=N.canRewindLive),"showAds"in N&&t(8,ue=N.showAds),"adsSlotId"in N&&t(9,ge=N.adsSlotId),"adsParams"in N&&t(10,le=N.adsParams),"adsPreviewParam"in N&&t(11,Ze=N.adsPreviewParam),"duration"in N&&t(12,He=N.duration),"logoClickable"in N&&t(13,at=N.logoClickable),"logoHidden"in N&&t(14,nt=N.logoHidden),"showNextPrevButtons"in N&&t(15,Oe=N.showNextPrevButtons),"nextButtonActive"in N&&t(16,ft=N.nextButtonActive),"prevButtonActive"in N&&t(17,wt=N.prevButtonActive),"endScreenVideoTitle"in N&&t(18,Me=N.endScreenVideoTitle),"endScreenVideoThumb"in N&&t(19,Ne=N.endScreenVideoThumb),"isOneVideoPlaylist"in N&&t(20,Dt=N.isOneVideoPlaylist),"supportLink"in N&&t(21,de=N.supportLink),"outerContainerRef"in N&&t(118,et=N.outerContainerRef),"playerStarted"in N&&t(22,xe=N.playerStarted),"fullScreenTarget"in N&&t(119,Qe=N.fullScreenTarget),"showMiniTimer"in N&&t(120,Ge=N.showMiniTimer),"playNextVideo"in N&&t(23,Ye=N.playNextVideo),"playPrevVideo"in N&&t(24,$e=N.playPrevVideo),"repeatPlaylist"in N&&t(25,lt=N.repeatPlaylist),"seekToInteractive"in N&&t(26,ot=N.seekToInteractive),"toggleGraph"in N&&t(27,ze=N.toggleGraph),"playPrevChapter"in N&&t(28,Vt=N.playPrevChapter),"firstStart"in N&&t(29,Pt=N.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&49152&&t(42,zi=(I===Re.Video&&te||I===Re.Ads&&re===Zt.INACTIVE)&&!w),i.$$.dirty[0]&1073741824&&ji.set(mi),i.$$.dirty[4]&8192&&t(123,hi=z!==Ti.PLAYING),i.$$.dirty[3]&1879048192|i.$$.dirty[4]&4160&&t(124,yi=p&&!(jt||Xt)&&!(hi&&!K)),i.$$.dirty[1]&112|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&2085&&Se.set((hi||n||g||G||J)&&!yi&&I===Re.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&134217728|i.$$.dirty[4]&1024&&t(43,Vi=se.features.thumbTimer&&Ge&&I===Re.Video&&!b&&!w&&!oi&&(se.hideThumbTimerAfterTouch&&!M||!se.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&528&&t(44,Ci=I===Re.Video&&!P&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&264&&t(31,Di=(ue&&A||!ue)&&s&&!w),i.$$.dirty[1]&9|i.$$.dirty[4]&192&&t(45,Fi=L&&!(b||Di)&&!p),i.$$.dirty[0]&2|i.$$.dirty[4]&98&&(!g&&Pi&&!p&&$t(se.controls.hideTimeoutCursor),t(125,Pi=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,Xi=Y&&h%180?a.height/a.width:1)},[Y,se,q,Te,O,Pe,ve,ee,ue,ge,le,Ze,He,at,nt,Oe,ft,wt,Me,Ne,Dt,de,xe,Ye,$e,lt,ot,ze,Vt,Pt,mi,Di,a,h,b,w,I,G,fi,Bt,li,Bi,zi,Vi,Ci,Fi,Xi,Mt,o,r,f,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,si,dt,Ke,At,ut,bi,fe,Se,Ve,It,xt,Ae,ii,ri,Ft,Ii,Ht,Yi,ai,Mi,nn,ni,on,Tt,Ri,ui,Ei,Ui,oi,Ni,Ai,Yt,ci,_i,wi,Kt,Ut,ki,dn,Qi,_n,wn,Dn,Fn,X,pt,mn,en,hn,ln,ho,po,vo,E,Ie,et,Qe,Ge,jt,Xt,hi,yi,Pi,n,s,c,g,p,L,A,P,M,J,K,z,re,te,go,bo,_o,Yn,Kn,ie,Hn]}class l6 extends ke{constructor(e){super(),we(this,e,o6,i6,_e,{store:116,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:117,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:118,playerStarted:22,fullScreenTarget:119,showMiniTimer:120,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},e6,[-1,-1,-1,-1,-1,-1])}}const s6=i=>{if(!q1(!0))return!1;const e=i.device===r0.iPad||(window==null?void 0:window.screen.width)>700,t=a0();return!e||e&&!!t&&t<16};function r6(i){De(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 w1(i){let e,t,n,o,l,s,r,a,c,f,h,g,p,b,L,w=ne("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=_("div"),n=B(),o=_("div"),l=_("div"),s=_("div"),a=B(),c=_("div"),h=B(),g=_("div"),b=B(),L=_("p"),A=Fe(w),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",r="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",p="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(L,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(P,I){y(P,e,I),y(P,n,I),y(P,o,I),m(o,l),m(l,s),m(l,a),m(l,c),m(l,h),m(l,g),m(o,b),m(o,L),m(L,A)},p(P,I){I&1&&t!==(t="semicircle "+P[0]+" v-nhq2ld")&&u(e,"class",t),I&1&&r!==(r="triangle "+P[0]+" v-nhq2ld")&&u(s,"class",r),I&1&&f!==(f="triangle "+P[0]+" v-nhq2ld")&&u(c,"class",f),I&1&&p!==(p="triangle "+P[0]+" v-nhq2ld")&&u(g,"class",p),I&2&&w!==(w=ne("doubletap_seek_step",{seconds:P[1].toFixed(0)})+"")&&Je(A,w)},d(P){P&&(k(e),k(n),k(o))}}}function a6(i){let e,t,n,o,l=i[2]&&w1(i);return{c(){e=_("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,r){y(s,e,r),l&&l.m(e,null),n||(o=Le(e,"click",ct(i[3]())),n=!0)},p(s,[r]){s[2]?l?l.p(s,r):(l=w1(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),r&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:Z,o:Z,d(s){s&&k(e),l&&l.d(),n=!1,o()}}}function u6(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,r=!1,a=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?a=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(a),g=0,s(),t(2,r=!0),c=window.setTimeout(()=>{t(2,r=!1)},500))}};return nl(()=>{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,s=h.handleSecondClick)},[n,o,r,f,l,s]}class Dc extends ke{constructor(e){super(),we(this,e,u6,a6,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},r6)}}function c6(i,e,t){let{playNextVideo:n}=e;return Ji(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class f6 extends ke{constructor(e){super(),we(this,e,c6,null,_e,{playNextVideo:0})}}const{window:d6}=K1;function m6(i){De(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 k1(i){let e,t,n,o;e=new Dc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&y1(i);return{c(){H(e.$$.fragment),t=B(),l&&l.c(),n=vt()},m(s,r){D(e,s,r),y(s,t,r),l&&l.m(s,r),y(s,n,r),o=!0},p(s,r){const a={};r[0]&2&&(a.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(a),s[48]?l&&(me(),v(l,1,1,()=>{l=null}),he()):l?(l.p(s,r),r[1]&131072&&d(l,1)):(l=y1(s),l.c(),d(l,1),l.m(n.parentNode,n))},i(s){o||(d(e.$$.fragment,s),d(l),o=!0)},o(s){v(e.$$.fragment,s),v(l),o=!1},d(s){s&&(k(t),k(n)),F(e,s),l&&l.d(s)}}}function y1(i){let e,t;return e=new Dc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function C1(i){var n;let e,t;return e=new Bc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){H(e.$$.fragment)},m(o,l){D(e,o,l),t=!0},p(o,l){var r;const s={};l[0]&4&&(s.thumbUrl=o[2]),l[0]&16&&(s.startTime=(r=o[4])==null?void 0:r.startTime),e.$set(s)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){F(e,o)}}}function P1(i){let e,t;return e=new Oc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function S1(i){let e,t,n;return t=new Qu({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Re.Ads)},m(o,l){y(o,e,l),D(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Re.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function T1(i){let e,t;return e=new f6({props:{playNextVideo:i[22]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function E1(i){let e,t;return e=new Vc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function A1(i){let e,t,n;return t=new du({props:{ariaLabel:ne("video360")}}),{c(){e=_("div"),H(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){y(o,e,l),D(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&k(e),F(t)}}}function L1(i){let e,t;return e=new Mc({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function V1(i){let e,t;return e=new Ic({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){H(e.$$.fragment)},m(n,o){D(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||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function I1(i){let e,t;return e=new Ju({props:{showControls:i[30]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.showControls=n[30]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function M1(i){let e,t,n,o,l;return t=new Rc({}),{c(){e=_("div"),H(t.$$.fragment)},m(s,r){y(s,e,r),D(t,e,null),n=!0,o||(l=Le(e,"click",ct(i[100])),o=!0)},p:Z,i(s){n||(d(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&k(e),F(t),o=!1,l()}}}function R1(i){let e,t;return e=new lc({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function N1(i){let e,t;return e=new ec({}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function B1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ht.TIMELINE),o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G;e=new Nc({props:{hidden:i[34]!==Re.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let K=n&&k1(i),z=i[34]===Re.WaitingLive&&C1(i),re=i[34]===Re.WaitingRecord&&P1(),te=i[7]&&i[21]&&S1(i),Q=i[41]&&i[17]&&i[18]&&T1(i),T=i[49]&&E1(),j=i[50]&&A1(),ae=i[35]&&L1(i),C=i[52].value!=="off"&&V1(i),$=i[1].features.annotations&&I1(i),oe=i[33]&&M1(i);function Ce(U){i[129](U)}let pe={bottomHidden:i[34]===Re.Thumb||i[34]===Re.WaitingLive||i[34]===Re.WaitingRecord||i[34]===Re.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Re.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&&(pe.controlsElementRef=i[37]),L=new Ac({props:pe}),je.push(()=>yt(L,"controlsElementRef",Ce)),P=new $u({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Ee=i[38]&&R1(),ye=i[57]&&N1();return{c(){H(e.$$.fragment),t=B(),K&&K.c(),o=B(),z&&z.c(),l=B(),re&&re.c(),s=B(),te&&te.c(),r=B(),Q&&Q.c(),a=B(),T&&T.c(),c=B(),j&&j.c(),f=B(),ae&&ae.c(),h=B(),C&&C.c(),g=B(),$&&$.c(),p=B(),oe&&oe.c(),b=B(),H(L.$$.fragment),A=B(),H(P.$$.fragment),I=B(),Ee&&Ee.c(),M=B(),ye&&ye.c(),J=vt()},m(U,E){D(e,U,E),y(U,t,E),K&&K.m(U,E),y(U,o,E),z&&z.m(U,E),y(U,l,E),re&&re.m(U,E),y(U,s,E),te&&te.m(U,E),y(U,r,E),Q&&Q.m(U,E),y(U,a,E),T&&T.m(U,E),y(U,c,E),j&&j.m(U,E),y(U,f,E),ae&&ae.m(U,E),y(U,h,E),C&&C.m(U,E),y(U,g,E),$&&$.m(U,E),y(U,p,E),oe&&oe.m(U,E),y(U,b,E),D(L,U,E),y(U,A,E),D(P,U,E),y(U,I,E),Ee&&Ee.m(U,E),y(U,M,E),ye&&ye.m(U,E),y(U,J,E),G=!0},p(U,E){const se={};E[0]&32|E[1]&12&&(se.hidden=U[34]!==Re.Thumb||U[33]||U[89]&&U[5]),E[0]&4&&(se.thumbUrl=U[2]),E[0]&268435456&&(se.startVideo=U[28]),e.$set(se),E[0]&64|E[1]&65536&&(n=U[6]&&U[78]&&!U[47].has(ht.TIMELINE)),n?K?(K.p(U,E),E[0]&64|E[1]&65536&&d(K,1)):(K=k1(U),K.c(),d(K,1),K.m(o.parentNode,o)):K&&(me(),v(K,1,1,()=>{K=null}),he()),U[34]===Re.WaitingLive?z?(z.p(U,E),E[1]&8&&d(z,1)):(z=C1(U),z.c(),d(z,1),z.m(l.parentNode,l)):z&&(me(),v(z,1,1,()=>{z=null}),he()),U[34]===Re.WaitingRecord?re?E[1]&8&&d(re,1):(re=P1(),re.c(),d(re,1),re.m(s.parentNode,s)):re&&(me(),v(re,1,1,()=>{re=null}),he()),U[7]&&U[21]?te?(te.p(U,E),E[0]&2097280&&d(te,1)):(te=S1(U),te.c(),d(te,1),te.m(r.parentNode,r)):te&&(me(),v(te,1,1,()=>{te=null}),he()),U[41]&&U[17]&&U[18]?Q?(Q.p(U,E),E[0]&393216|E[1]&1024&&d(Q,1)):(Q=T1(U),Q.c(),d(Q,1),Q.m(a.parentNode,a)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he()),U[49]?T?E[1]&262144&&d(T,1):(T=E1(),T.c(),d(T,1),T.m(c.parentNode,c)):T&&(me(),v(T,1,1,()=>{T=null}),he()),U[50]?j?(j.p(U,E),E[1]&524288&&d(j,1)):(j=A1(),j.c(),d(j,1),j.m(f.parentNode,f)):j&&(me(),v(j,1,1,()=>{j=null}),he()),U[35]?ae?(ae.p(U,E),E[1]&16&&d(ae,1)):(ae=L1(U),ae.c(),d(ae,1),ae.m(h.parentNode,h)):ae&&(me(),v(ae,1,1,()=>{ae=null}),he()),U[52].value!=="off"?C?(C.p(U,E),E[1]&2097152&&d(C,1)):(C=V1(U),C.c(),d(C,1),C.m(g.parentNode,g)):C&&(me(),v(C,1,1,()=>{C=null}),he()),U[1].features.annotations?$?($.p(U,E),E[0]&2&&d($,1)):($=I1(U),$.c(),d($,1),$.m(p.parentNode,p)):$&&(me(),v($,1,1,()=>{$=null}),he()),U[33]?oe?(oe.p(U,E),E[1]&4&&d(oe,1)):(oe=M1(U),oe.c(),d(oe,1),oe.m(b.parentNode,b)):oe&&(me(),v(oe,1,1,()=>{oe=null}),he());const q={};E[1]&8&&(q.bottomHidden=U[34]===Re.Thumb||U[34]===Re.WaitingLive||U[34]===Re.WaitingRecord||U[34]===Re.Ads),E[0]&1073741824&&(q.showControls=U[30]),E[1]&16384&&(q.bottomNoSmooth=U[45]),E[1]&8&&(q.isAds=U[34]===Re.Ads),E[0]&64|E[1]&8388608&&(q.canRewindLive=U[6]&&U[54]!==0),E[0]&4096&&(q.logoClickable=U[12]),E[0]&8192&&(q.logoHidden=U[13]),E[0]&8&&(q.videoLogoUrl=U[3]),E[0]&16384&&(q.showNextPrevButtons=U[14]),E[0]&32768&&(q.nextButtonActive=U[15]),E[0]&65536&&(q.prevButtonActive=U[16]),E[0]&524288&&(q.isOneVideoPlaylist=U[19]),E[0]&1048576&&(q.supportLink=U[20]),E[1]&256&&(q.customFullscreenSupported=U[39]),E[0]&4194304&&(q.playNextVideo=U[22]),E[0]&8388608&&(q.playPrevVideo=U[23]),E[0]&16777216&&(q.repeatPlaylist=U[24]),E[0]&33554432&&(q.seekToInteractive=U[25]),E[0]&67108864&&(q.toggleGraph=U[26]),E[0]&134217728&&(q.playPrevChapter=U[27]),!w&&E[1]&64&&(w=!0,q.controlsElementRef=U[37],kt(()=>w=!1)),L.$set(q);const Te={};E[1]&16777216&&(Te.isLive=U[55]),E[1]&512&&(Te.isHidden=!U[40]),E[1]&33554432&&(Te.isPlaying=U[56]),E[1]&8192&&(Te.position=U[44]),E[1]&4096&&(Te.duration=U[43]),P.$set(Te),U[38]?Ee?E[1]&128&&d(Ee,1):(Ee=R1(),Ee.c(),d(Ee,1),Ee.m(M.parentNode,M)):Ee&&(me(),v(Ee,1,1,()=>{Ee=null}),he()),U[57]?ye?E[1]&67108864&&d(ye,1):(ye=N1(),ye.c(),d(ye,1),ye.m(J.parentNode,J)):ye&&(me(),v(ye,1,1,()=>{ye=null}),he())},i(U){G||(d(e.$$.fragment,U),d(K),d(z),d(re),d(te),d(Q),d(T),d(j),d(ae),d(C),d($),d(oe),d(L.$$.fragment,U),d(P.$$.fragment,U),d(Ee),d(ye),G=!0)},o(U){v(e.$$.fragment,U),v(K),v(z),v(re),v(te),v(Q),v(T),v(j),v(ae),v(C),v($),v(oe),v(L.$$.fragment,U),v(P.$$.fragment,U),v(Ee),v(ye),G=!1},d(U){U&&(k(t),k(o),k(l),k(s),k(r),k(a),k(c),k(f),k(h),k(g),k(p),k(b),k(A),k(I),k(M),k(J)),F(e,U),K&&K.d(U),z&&z.d(U),re&&re.d(U),te&&te.d(U),Q&&Q.d(U),T&&T.d(U),j&&j.d(U),ae&&ae.d(U),C&&C.d(U),$&&$.d(U),oe&&oe.d(U),F(L,U),F(P,U),Ee&&Ee.d(U),ye&&ye.d(U)}}}function h6(i){let e,t,n,o,l,s=i[46],r,a,c,f,h,g=B1(i);return{c(){e=_("div"),t=_("div"),n=_("div"),l=B(),g.c(),r=B(),a=_("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]!==Re.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(p,b){y(p,e,b),m(e,t),m(t,n),i[126](n),m(e,l),g.m(e,null),m(e,r),m(e,a),i[130](a),i[131](e),c=!0,f||(h=[Le(d6,"blur",i[98]),Le(t,"click",vi(i[99])),Le(e,"click",i[101],!0),Le(e,"focusin",i[102],!0)],f=!0)},p(p,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${p[32]}deg) scale(${p[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&V(n,"fast-rotate",!p[1].isSmoothVideoRotate),(!c||b[1]&8)&&V(t,"hidden",p[34]!==Re.Video),b[1]&32768&&_e(s,s=p[46])?(me(),v(g,1,1,Z),he(),g=B1(p),g.c(),d(g,1),g.m(e,r)):g.p(p,b)},i(p){c||(d(g),c=!0)},o(p){v(g),c=!1},d(p){p&&k(e),i[126](null),g.d(p),i[130](null),i[131](null),f=!1,ti(h)}}}function p6(i,e,t){let n,o,l,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,{store:E}=e,{uiConfig:se}=e,{thumbUrl:q}=e,{videoLogoUrl:Te}=e,{videoContainer:O}=e,{interactiveContainer:Y}=e,{live:Ie}=e,{autoplay:Pe}=e,{canRewindLive:ve}=e,{showAds:ee}=e,{adsSlotId:ue=void 0}=e,{adsParams:ge=void 0}=e,{adsPreviewParam:le=void 0}=e,{duration:Ze=void 0}=e,{logoClickable:He}=e,{logoHidden:at}=e,{showNextPrevButtons:nt=!1}=e,{nextButtonActive:Oe=!1}=e,{prevButtonActive:ft=!1}=e,{endScreenVideoTitle:wt=void 0}=e,{endScreenVideoThumb:Me=void 0}=e,{isOneVideoPlaylist:Ne=!1}=e,{supportLink:Dt}=e,{outerContainerRef:de=void 0}=e,{showMiniTimer:et=!1}=e,{fullScreenTarget:xe=void 0}=e,{playerStarted:Qe=!1}=e,{playNextVideo:Ge=it}=e,{playPrevVideo:Ye=it}=e,{repeatPlaylist:$e=it}=e,{seekToInteractive:lt}=e,{toggleGraph:ot}=e,{playPrevChapter:ze}=e,{firstStart:Vt}=e,{seekTime:Pt}=e;const st=E.getLogger().createComponentLog("Root component"),si=E.interfaceLanguage$;W(i,si,X=>t(46,Q=X));const dt=E.state.playbackState$;W(i,dt,X=>t(123,z=X));const Ke=E.ads.playbackState;W(i,Ke,X=>t(124,re=X));const At=E.state.positionWithScrubbing$;W(i,At,X=>t(44,s=X));const ut=E.state.duration$;W(i,ut,X=>t(43,l=X));const bi=E.playerPhase;W(i,bi,X=>t(34,M=X));const fe=E.ui.isFullscreen;W(i,fe,X=>t(137,a=X));const Se=E.ui.controlsVisible;W(i,Se,X=>t(30,o=X));const Ve=E.ui.interactiveHideMobileControls;W(i,Ve,X=>t(115,g=X));const It=E.ui.settingsMenuVisible;W(i,It,X=>t(114,n=X));const xt=E.ui.scrubbingInProgress;W(i,xt,X=>t(116,b=X));const Ae=E.ui.debugPanelVisible;W(i,Ae,X=>t(57,U=X));const ii=E.state.isLoaderVisible;W(i,ii,X=>t(125,te=X));const ri=E.state.isEnded$;W(i,ri,X=>t(118,A=X));const Ft=E.state.chromecastConnected$;W(i,Ft,X=>t(35,J=X));const Ii=E.state.chromecastDeviceName$;W(i,Ii,X=>t(51,$=X));const Ht=E.ads.postrollPassed;W(i,Ht,X=>t(119,P=X));const Yi=E.ui.mobileUnmuteButtonExpanded,ai=E.ui.mobileUnmuteButtonVisible,Mi=E.state.isLive$;W(i,Mi,X=>t(55,Ee=X));const St=E.state.isPlaying$;W(i,St,X=>t(56,ye=X));const nn=E.state.isActiveLive$;W(i,nn,X=>t(48,j=X));const ni=E.state.isRewindableLive$,on=E.state.crashed$;W(i,on,X=>t(33,w=X));const Tt=E.webApi.pictureInPictureApi,Ri=E.state.videoSize$;W(i,Ri,X=>t(138,f=X));const ui=E.state.currentSubtitle$;W(i,ui,X=>t(52,oe=X));const Ei=E.state.currentSubtitleCaptions$;W(i,Ei,X=>t(53,Ce=X));const Ui=E.state.duration$;W(i,Ui,X=>t(54,pe=X));const oi=E.state.graphIsOpened$;W(i,oi,X=>t(122,K=X));const Ni=E.ui.playerSize;W(i,Ni,X=>t(31,c=X));const Ai=E.ui.is3DVideo;W(i,Ai,X=>t(49,ae=X));const Li=E.ui.icon3DVideoVisible;W(i,Li,X=>t(50,C=X));const Yt=E.ui.rotateAlpha;W(i,Yt,X=>t(32,p=X));const ci=E.state.isInteractive,_i=E.state.isInteractiveTime$;W(i,_i,X=>t(117,L=X));const ji=E.state.isInteractiveExpectation$;W(i,ji,X=>t(121,G=X));const fi=E.state.hasInteractiveBranches,Bt=E.ui.controls.disabledControls$;W(i,Bt,X=>t(47,T=X));const li=E.ui.touched;W(i,li,X=>t(120,I=X));const Bi=E.ui.clientInfo$;W(i,Bi,X=>t(136,r=X));const Ki=E.ui.overlayContainer$;let di,Oi,zi,mi,wi,qi,Kt;const Ut=Ue(!1);W(i,Ut,X=>t(45,h=X));let ki,jt=!1,Xt,hi=!1,yi,Vi=!0,Ci,Di,Fi=!1,Pi;Tt==null||Tt.setContext(J1());const Xi=X=>{clearTimeout(mi),X&&(ai.set(!0),Yi.set(!0),mi=window.setTimeout(()=>{Yi.set(!1)},se.controls.collapseMobileUnmute),ci||qt(se.controls.hideTimeoutMobile))};E.setUiCallbacks({onStarted:Xi});const Qt=()=>{window.clearTimeout(zi),t(109,jt=!1),g&&Ve.set(!1)},qt=X=>{Qt(),t(109,jt=!0),zi=window.setTimeout(()=>t(109,jt=!1),X);const pt=X-100;ki=window.setTimeout(()=>{h&&Ut.set(!1)},pt>0?pt:X)},Mt=Ai.subscribe(X=>{Li.set(X),X&&(window.clearTimeout(wi),wi=window.setTimeout(()=>Li.set(!1),se.controls.hide360IconTimeout))}),Wi=()=>jn(this,null,function*(){var pt,mn,en,hn;const X=Eo();if(X){qt(se.controls.hideTimeoutFullscreen);try{yield Tt==null?void 0:Tt.remove()}catch(ln){st({message:String(ln)})}try{const ln=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield N4(ln)}catch(ln){st({message:String(ln)})}}fe.set(X),E.getAdmanWrapper().setFullscreen(X),a?(mn=(pt=E.callbacks)==null?void 0:pt.onFullscreenEnter)==null||mn.call(pt):(hn=(en=E.callbacks)==null?void 0:en.onFullscreenExit)==null||hn.call(en)}),Jt=X=>{const pt=X;Ni.set({width:pt.target.width,height:pt.target.height})};Ji(()=>{var pt;return Ku(Wi),el(Tt)&&(Tt==null||Tt.assignPlayerContainer(di),Tt==null||Tt.registryExternalEventHandlers({resize:Jt})),t(39,Vi=!s6(r)),Y&&((pt=O.parentElement)==null||pt.insertBefore(Y,O.nextSibling)),()=>{window.clearTimeout(zi),window.clearTimeout(ki),window.clearTimeout(mi),window.clearTimeout(wi),Mt(),Tt==null||Tt.dispose(),Xu(Wi)}});const ce=X=>{let pt=s+(X==="forward"?1:-1)*se.controls.seekStepMobile/1e3;pt<0?pt=0:pt>l&&(pt=l-1),t(111,hi=!0),Pt(pt)},$t=()=>jn(this,null,function*(){if(Eo())yield Yu(document),st({message:"exit fullscreen"});else{st({message:"request fullscreen"});const X=de!=null?de:di,pt=X.getRootNode(),mn=pt instanceof ShadowRoot?pt.host:pt,en=xe instanceof HTMLElement&&xe.contains(mn),hn=se.allowChangingFullscreenTarget&&xe&&en?xe:X;yield Gu(hn)}}),$i=()=>{It.set(!1)},fn=()=>{if(n){$i();return}if(!Qe){Vt(),qt(se.controls.hideTimeoutCursor);return}t(111,hi=!1),o?Qt():qt(se.controls.hideTimeoutMobile)},In=()=>{if(n){$i();return}},Mn=()=>{li.set(!0)},dn=()=>{ci||(Ut.set(!0),qt(se.controls.hideTimeoutCursor))};function Qi(X){je[X?"unshift":"push"](()=>{O=X,t(0,O)})}const _n=()=>ce("backward"),wn=()=>ce("forward");function Dn(X){Oi=X,t(37,Oi)}function Fn(X){je[X?"unshift":"push"](()=>{Kt=X,t(29,Kt)})}function Rn(X){je[X?"unshift":"push"](()=>{di=X,t(36,di)})}return i.$$set=X=>{"store"in X&&t(103,E=X.store),"uiConfig"in X&&t(1,se=X.uiConfig),"thumbUrl"in X&&t(2,q=X.thumbUrl),"videoLogoUrl"in X&&t(3,Te=X.videoLogoUrl),"videoContainer"in X&&t(0,O=X.videoContainer),"interactiveContainer"in X&&t(104,Y=X.interactiveContainer),"live"in X&&t(4,Ie=X.live),"autoplay"in X&&t(5,Pe=X.autoplay),"canRewindLive"in X&&t(6,ve=X.canRewindLive),"showAds"in X&&t(7,ee=X.showAds),"adsSlotId"in X&&t(8,ue=X.adsSlotId),"adsParams"in X&&t(9,ge=X.adsParams),"adsPreviewParam"in X&&t(10,le=X.adsPreviewParam),"duration"in X&&t(11,Ze=X.duration),"logoClickable"in X&&t(12,He=X.logoClickable),"logoHidden"in X&&t(13,at=X.logoHidden),"showNextPrevButtons"in X&&t(14,nt=X.showNextPrevButtons),"nextButtonActive"in X&&t(15,Oe=X.nextButtonActive),"prevButtonActive"in X&&t(16,ft=X.prevButtonActive),"endScreenVideoTitle"in X&&t(17,wt=X.endScreenVideoTitle),"endScreenVideoThumb"in X&&t(18,Me=X.endScreenVideoThumb),"isOneVideoPlaylist"in X&&t(19,Ne=X.isOneVideoPlaylist),"supportLink"in X&&t(20,Dt=X.supportLink),"outerContainerRef"in X&&t(105,de=X.outerContainerRef),"showMiniTimer"in X&&t(106,et=X.showMiniTimer),"fullScreenTarget"in X&&t(107,xe=X.fullScreenTarget),"playerStarted"in X&&t(21,Qe=X.playerStarted),"playNextVideo"in X&&t(22,Ge=X.playNextVideo),"playPrevVideo"in X&&t(23,Ye=X.playPrevVideo),"repeatPlaylist"in X&&t(24,$e=X.repeatPlaylist),"seekToInteractive"in X&&t(25,lt=X.seekToInteractive),"toggleGraph"in X&&t(26,ot=X.toggleGraph),"playPrevChapter"in X&&t(27,ze=X.playPrevChapter),"firstStart"in X&&t(28,Vt=X.firstStart),"seekTime"in X&&t(108,Pt=X.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,qi=(M===Re.Video&&te||M===Re.Ads&&re===Zt.INACTIVE)&&!w),i.$$.dirty[0]&536870912&&Ki.set(Kt),i.$$.dirty[3]&1073741824&&t(110,Xt=z!==Ti.PLAYING),i.$$.dirty[3]&843251712&&t(112,yi=K||g||!jt&&(A&&!!fi||Xt&&G)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Se.set((Xt||n||b||J||jt&&!hi)&&!yi&&M===Re.Video&&!w),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,Ci=se.features.thumbTimer&&et&&M===Re.Video&&!o&&!w&&!ci&&(se.hideThumbTimerAfterTouch&&!I||!se.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Di=(ee&&P||!ee)&&A&&!w),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&Fi&&!L&&qt(se.controls.hideTimeoutMobile),t(113,Fi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Pi=O&&p%180?c.height/c.width:1)},[O,se,q,Te,Ie,Pe,ve,ee,ue,ge,le,Ze,He,at,nt,Oe,ft,wt,Me,Ne,Dt,Qe,Ge,Ye,$e,lt,ot,ze,Vt,Kt,o,c,p,w,M,J,di,Oi,qi,Vi,Ci,Di,Pi,l,s,h,Q,T,j,ae,C,$,oe,Ce,pe,Ee,ye,U,si,dt,Ke,At,ut,bi,fe,Se,Ve,It,xt,Ae,ii,ri,Ft,Ii,Ht,Mi,St,nn,ni,on,Ri,ui,Ei,Ui,oi,Ni,Ai,Li,Yt,ci,_i,ji,Bt,li,Bi,Ut,ce,$t,$i,fn,In,Mn,dn,E,Y,de,et,xe,Pt,jt,Xt,hi,yi,Fi,n,g,b,L,A,P,I,G,K,z,re,te,Qi,_n,wn,Dn,Fn,Rn]}class v6 extends ke{constructor(e){super(),we(this,e,p6,h6,_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},m6,[-1,-1,-1,-1,-1])}}function g6(i){De(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 Og(i){let e,t;return{c(){e=k("div"),t=De(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&et(t,n[0]),o&2&&V(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function zg(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 Dg extends ye{constructor(e){super(),ke(this,e,zg,Og,_e,{title:0,isHidden:1},Bg)}}function Fg(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 l1(i){let e,t,n,o,l,s,r;return{c(){e=k("div"),t=k("span"),n=De(i[0]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_day_value")}`,s=N(),r=k("span"),r.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(r,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(a,s,c),C(a,r,c)},p(a,c){c&1&&et(n,a[0])},d(a){a&&(y(e),y(s),y(r))}}}function s1(i){let e,t,n,o,l,s,r;return{c(){e=k("div"),t=k("span"),n=De(i[1]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_hour_value")}`,s=N(),r=k("span"),r.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(r,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(a,s,c),C(a,r,c)},p(a,c){c&2&&et(n,a[1])},d(a){a&&(y(e),y(s),y(r))}}}function r1(i){let e,t,n,o,l,s,r;return{c(){e=k("div"),t=k("span"),n=De(i[2]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_minute_value")}`,s=N(),r=k("span"),r.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(r,"class","timer__points v-1qpxtfg")},m(a,c){C(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(a,s,c),C(a,r,c)},p(a,c){c&4&&et(n,a[2])},d(a){a&&(y(e),y(s),y(r))}}}function a1(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=De(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(s,r){C(s,e,r),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,r){r&8&&et(n,s[3])},d(s){s&&y(e)}}}function Hg(i){let e,t,n,o,l=i[0]&&l1(i),s=i[1]&&s1(i),r=i[2]&&r1(i),a=i[3]&&a1(i);return{c(){e=k("div"),l&&l.c(),t=N(),s&&s.c(),n=N(),r&&r.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){C(c,e,f),l&&l.m(e,null),d(e,t),s&&s.m(e,null),d(e,n),r&&r.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=l1(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=s1(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?r?r.p(c,f):(r=r1(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=a1(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(),s&&s.d(),r&&r.d(),a&&a.d()}}}function Ug(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,r,a,c;const f=b=>String(b).padStart(2,"0"),h=b=>{const g=Math.floor(b/86400);g&&(b-=g*86400,t(0,l=f(g)));const _=Math.floor(b/3600);t(1,s=f(_));const L=Math.floor(b/60)%60;t(2,r=f(L));const A=b%60;t(3,a=f(A))},p=()=>{const b=Math.floor(Date.now()/1e3),g=n-b;h(g),g>=1?c=requestAnimationFrame(p):o()};return Ji(()=>{c=requestAnimationFrame(p)}),sl(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[l,s,r,a,n,o]}class jg extends ye{constructor(e){super(),ke(this,e,Ug,Hg,_e,{startTime:4,onTimerOver:5},Fg)}}function qg(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(s,r){C(s,e,r),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(s){s&&y(e)}}}class Wg extends ye{constructor(e){super(),ke(this,e,null,qg,_e,{})}}function Zg(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 Gg(i){let e,t,n,o,l;return o=new jg({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(s,r){C(s,e,r),d(e,t),d(e,n),z(o,e,null),l=!0},p(s,r){const a={};r&2&&(a.startTime=s[1]||0),r&4&&(a.onTimerOver=s[3]),o.$set(a)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){v(o.$$.fragment,s),l=!1},d(s){s&&y(e),D(o)}}}function Kg(i){let e,t,n,o,l,s;return n=new Wg({}),{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(r,a){C(r,e,a),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0},p:K,i(r){s||(m(n.$$.fragment,r),s=!0)},o(r){v(n.$$.fragment,r),s=!1},d(r){r&&y(e),D(n)}}}function Yg(i){let e,t,n,o,l;const s=[Kg,Gg],r=[];function a(c,f){return c[2]?0:1}return t=a(i),n=r[t]=s[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){C(c,e,f),r[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?r[t].p(c,f):(pe(),v(r[h],1,1,()=>{r[h]=null}),ve(),n=r[t],n?n.p(c,f):(n=r[t]=s[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),r[t].d()}}}function Xg(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=r=>{"thumbUrl"in r&&t(0,o=r.thumbUrl),"startTime"in r&&t(1,l=r.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class Hc extends ye{constructor(e){super(),ke(this,e,Xg,Yg,_e,{thumbUrl:0,startTime:1},Zg)}}function Qg(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 Jg(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){C(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Uc extends ye{constructor(e){super(),ke(this,e,null,Jg,_e,{},Qg)}}const{window:xg}=x1;function $g(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 u1(i){var n;let e,t;return e=new Hc({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 r;const s={};l[0]&8&&(s.thumbUrl=o[3]),l[0]&32&&(s.startTime=(r=o[5])==null?void 0:r.startTime),e.$set(s)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function c1(i){let e,t;return e=new Uc({}),{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 f1(i){let e,t,n;return t=new tc({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]!==Re.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&512&&(s.adsSlotId=o[9]),l[0]&1024&&(s.adsParams=o[10]),l[0]&2048&&(s.adsPreviewParam=o[11]),l[0]&4096&&(s.duration=o[12]),t.$set(s),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Re.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 d1(i){let e,t;return e=new zm({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 m1(i){let e,t;return e=new Dg({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 h1(i){let e,t;return e=new Bc({props:{isShifted:i[36]===Re.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]===Re.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 p1(i){let e,t,n;return t=new gu({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){C(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 v1(i){let e,t;return e=new zc({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 g1(i){let e,t;return e=new Oc({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 b1(i){let e,t;return e=new ic({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 _1(i){let e,t,n,o,l;return t=new Dc({}),{c(){e=k("div"),F(t.$$.fragment)},m(s,r){C(s,e,r),z(t,e,null),n=!0,o||(l=[Ee(e,"contextmenu",_i(i[106])),Ee(e,"click",ut(i[117]))],o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&y(e),D(t),o=!1,ni(l)}}}function w1(i){let e,t;return e=new cc({}),{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 k1(i){let e,t;return e=new lh({}),{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 y1(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 C1(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X;e=new Fc({props:{hidden:i[36]!==Re.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let $=i[36]===Re.WaitingLive&&u1(i),T=i[36]===Re.WaitingRecord&&c1(),te=i[8]&&i[22]&&f1(i),ce=i[31]&&i[18]&&i[19]&&d1(i),E=i[44]&&m1(i),oe=i[50]&&h1(i),se=i[53]&&p1(),we=i[37]&&v1(i),be=i[55].value!=="off"&&g1(i),Te=i[1].features.annotations&&b1(i),Ce=i[35]&&_1(i);function H(M){i[146](M)}let G={bottomHidden:i[36]===Re.Thumb||i[36]===Re.WaitingLive||i[36]===Re.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===Re.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:i6,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 Rc({props:G}),We.push(()=>St(g,"controlsElementRef",H)),A=new oc({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),S=new pg({props:{data:i[101]}}),R=new vm({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]&&w1(),me=i[62]&&k1(),ee=i[63]&&y1();return{c(){F(e.$$.fragment),t=N(),$&&$.c(),n=N(),T&&T.c(),o=N(),te&&te.c(),l=N(),ce&&ce.c(),s=N(),E&&E.c(),r=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(),Ce&&Ce.c(),b=N(),F(g.$$.fragment),L=N(),F(A.$$.fragment),w=N(),F(S.$$.fragment),B=N(),F(R.$$.fragment),U=N(),O&&O.c(),Y=N(),me&&me.c(),q=N(),ee&&ee.c(),ne=bt()},m(M,Q){z(e,M,Q),C(M,t,Q),$&&$.m(M,Q),C(M,n,Q),T&&T.m(M,Q),C(M,o,Q),te&&te.m(M,Q),C(M,l,Q),ce&&ce.m(M,Q),C(M,s,Q),E&&E.m(M,Q),C(M,r,Q),oe&&oe.m(M,Q),C(M,a,Q),se&&se.m(M,Q),C(M,c,Q),we&&we.m(M,Q),C(M,f,Q),be&&be.m(M,Q),C(M,h,Q),Te&&Te.m(M,Q),C(M,p,Q),Ce&&Ce.m(M,Q),C(M,b,Q),z(g,M,Q),C(M,L,Q),z(A,M,Q),C(M,w,Q),z(S,M,Q),C(M,B,Q),z(R,M,Q),C(M,U,Q),O&&O.m(M,Q),C(M,Y,Q),me&&me.m(M,Q),C(M,q,Q),ee&&ee.m(M,Q),C(M,ne,Q),X=!0},p(M,Q){const Ve={};Q[0]&64|Q[1]&48&&(Ve.hidden=M[36]!==Re.Thumb||M[35]||M[92]&&M[6]),Q[0]&8&&(Ve.thumbUrl=M[3]),Q[0]&536870912&&(Ve.startVideo=M[29]),e.$set(Ve),M[36]===Re.WaitingLive?$?($.p(M,Q),Q[1]&32&&m($,1)):($=u1(M),$.c(),m($,1),$.m(n.parentNode,n)):$&&(pe(),v($,1,1,()=>{$=null}),ve()),M[36]===Re.WaitingRecord?T?Q[1]&32&&m(T,1):(T=c1(),T.c(),m(T,1),T.m(o.parentNode,o)):T&&(pe(),v(T,1,1,()=>{T=null}),ve()),M[8]&&M[22]?te?(te.p(M,Q),Q[0]&4194560&&m(te,1)):(te=f1(M),te.c(),m(te,1),te.m(l.parentNode,l)):te&&(pe(),v(te,1,1,()=>{te=null}),ve()),M[31]&&M[18]&&M[19]?ce?(ce.p(M,Q),Q[0]&786432|Q[1]&1&&m(ce,1)):(ce=d1(M),ce.c(),m(ce,1),ce.m(s.parentNode,s)):ce&&(pe(),v(ce,1,1,()=>{ce=null}),ve()),M[44]?E?(E.p(M,Q),Q[1]&8192&&m(E,1)):(E=m1(M),E.c(),m(E,1),E.m(r.parentNode,r)):E&&(pe(),v(E,1,1,()=>{E=null}),ve()),M[50]?oe?(oe.p(M,Q),Q[1]&524288&&m(oe,1)):(oe=h1(M),oe.c(),m(oe,1),oe.m(a.parentNode,a)):oe&&(pe(),v(oe,1,1,()=>{oe=null}),ve()),M[53]?se?(se.p(M,Q),Q[1]&4194304&&m(se,1)):(se=p1(),se.c(),m(se,1),se.m(c.parentNode,c)):se&&(pe(),v(se,1,1,()=>{se=null}),ve()),M[37]?we?(we.p(M,Q),Q[1]&64&&m(we,1)):(we=v1(M),we.c(),m(we,1),we.m(f.parentNode,f)):we&&(pe(),v(we,1,1,()=>{we=null}),ve()),M[55].value!=="off"?be?(be.p(M,Q),Q[1]&16777216&&m(be,1)):(be=g1(M),be.c(),m(be,1),be.m(h.parentNode,h)):be&&(pe(),v(be,1,1,()=>{be=null}),ve()),M[1].features.annotations?Te?(Te.p(M,Q),Q[0]&2&&m(Te,1)):(Te=b1(M),Te.c(),m(Te,1),Te.m(p.parentNode,p)):Te&&(pe(),v(Te,1,1,()=>{Te=null}),ve()),M[35]?Ce?(Ce.p(M,Q),Q[1]&16&&m(Ce,1)):(Ce=_1(M),Ce.c(),m(Ce,1),Ce.m(b.parentNode,b)):Ce&&(pe(),v(Ce,1,1,()=>{Ce=null}),ve());const Pe={};Q[1]&32&&(Pe.bottomHidden=M[36]===Re.Thumb||M[36]===Re.WaitingLive||M[36]===Re.WaitingRecord),Q[1]&1048576&&(Pe.bottomNoSmooth=M[51]),Q[1]&8&&(Pe.showControls=M[34]),Q[1]&32&&(Pe.isAds=M[36]===Re.Ads),Q[0]&128|Q[1]&134217728&&(Pe.canRewindLive=M[7]&&M[58]!==0),Q[0]&8192&&(Pe.logoClickable=M[13]),Q[0]&16384&&(Pe.logoHidden=M[14]),Q[0]&16&&(Pe.videoLogoUrl=M[4]),Q[0]&32768&&(Pe.showNextPrevButtons=M[15]),Q[0]&65536&&(Pe.nextButtonActive=M[16]),Q[0]&131072&&(Pe.prevButtonActive=M[17]),Q[0]&1048576&&(Pe.isOneVideoPlaylist=M[20]),Q[0]&2097152&&(Pe.supportLink=M[21]),Q[0]&8388608&&(Pe.playNextVideo=M[23]),Q[0]&16777216&&(Pe.playPrevVideo=M[24]),Q[0]&33554432&&(Pe.repeatPlaylist=M[25]),Q[1]&131072&&(Pe.returnFocus=M[145]),Q[0]&67108864&&(Pe.seekToInteractive=M[26]),Q[0]&134217728&&(Pe.toggleGraph=M[27]),Q[0]&268435456&&(Pe.playPrevChapter=M[28]),!_&&Q[1]&256&&(_=!0,Pe.controlsElementRef=M[39],Ct(()=>_=!1)),g.$set(Pe);const Ae={};Q[1]&268435456&&(Ae.isLive=M[59]),Q[1]&4096&&(Ae.isHidden=!M[43]),Q[1]&536870912&&(Ae.isPlaying=M[60]),Q[1]&67108864&&(Ae.position=M[57]),Q[1]&1073741824&&(Ae.duration=M[61]),A.$set(Ae);const J={};Q[0]&2097152&&(J.supportLink=M[21]),Q[1]&131072&&(J.returnFocus=M[147]),Q[1]&262144&&(J.visible=M[49]),Q[1]&128&&(J.playerContainerRef=M[38]),Q[1]&256&&(J.controlsContainerRef=M[39]),Q[1]&512&&(J.x=M[40]),Q[1]&1024&&(J.y=M[41]),R.$set(J),M[42]?O?Q[1]&2048&&m(O,1):(O=w1(),O.c(),m(O,1),O.m(Y.parentNode,Y)):O&&(pe(),v(O,1,1,()=>{O=null}),ve()),M[62]?me?Q[2]&1&&m(me,1):(me=k1(),me.c(),m(me,1),me.m(q.parentNode,q)):me&&(pe(),v(me,1,1,()=>{me=null}),ve()),M[63]?ee?Q[2]&2&&m(ee,1):(ee=y1(),ee.c(),m(ee,1),ee.m(ne.parentNode,ne)):ee&&(pe(),v(ee,1,1,()=>{ee=null}),ve())},i(M){X||(m(e.$$.fragment,M),m($),m(T),m(te),m(ce),m(E),m(oe),m(se),m(we),m(be),m(Te),m(Ce),m(g.$$.fragment,M),m(A.$$.fragment,M),m(S.$$.fragment,M),m(R.$$.fragment,M),m(O),m(me),m(ee),X=!0)},o(M){v(e.$$.fragment,M),v($),v(T),v(te),v(ce),v(E),v(oe),v(se),v(we),v(be),v(Te),v(Ce),v(g.$$.fragment,M),v(A.$$.fragment,M),v(S.$$.fragment,M),v(R.$$.fragment,M),v(O),v(me),v(ee),X=!1},d(M){M&&(y(t),y(n),y(o),y(l),y(s),y(r),y(a),y(c),y(f),y(h),y(p),y(b),y(L),y(w),y(B),y(U),y(Y),y(q),y(ne)),D(e,M),$&&$.d(M),T&&T.d(M),te&&te.d(M),ce&&ce.d(M),E&&E.d(M),oe&&oe.d(M),se&&se.d(M),we&&we.d(M),be&&be.d(M),Te&&Te.d(M),Ce&&Ce.d(M),D(g,M),D(A,M),D(S,M),D(R,M),O&&O.d(M),me&&me.d(M),ee&&ee.d(M)}}}function e6(i){let e,t,n,o,l=i[52],s,r,a,c,f=C1(i);return{c(){e=k("div"),t=k("div"),o=N(),f.c(),s=bt(),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]!==Re.Video),V(e,"nocursor",i[45])},m(h,p){C(h,e,p),d(e,t),i[144](t),C(h,o,p),f.m(h,p),C(h,s,p),r=!0,a||(c=[Ee(e,"contextmenu",_i(i[106])),Ee(e,"mousedown",_i(i[111])),Ee(e,"mouseup",_i(i[112])),Ee(e,"click",_i(i[114])),Ee(e,"dblclick",_i(i[113]))],a=!0)},p(h,p){(!r||p[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!r||p[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!r||p[1]&32)&&V(e,"hidden",h[36]!==Re.Video),(!r||p[1]&16384)&&V(e,"nocursor",h[45]),p[1]&2097152&&_e(l,l=h[52])?(pe(),v(f,1,1,K),ve(),f=C1(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,p)},i(h){r||(m(f),r=!0)},o(h){v(f),r=!1},d(h){h&&(y(e),y(o),y(s)),i[144](null),f.d(h),a=!1,ni(c)}}}function t6(i){let e,t,n,o,l,s,r,a={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===Re.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[e6]},$$scope:{ctx:i}};return t=new Um({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){C(c,e,f),z(t,e,null),d(e,n),d(e,o),i[149](o),i[150](e),l=!0,s||(r=[Ee(xg,"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)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Re.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),s=!1,ni(r)}}}let i6=!0;function jc(i){return i?i.offsetTop+jc(i.offsetParent):0}function n6(i,e,t){let n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,Te,Ce,H,G,{store:O}=e,{uiConfig:me}=e,{title:ee}=e,{thumbUrl:M}=e,{videoLogoUrl:Q}=e,{videoContainer:Ve}=e,{interactiveContainer:Pe}=e,{live:Ae}=e,{autoplay:J}=e,{canRewindLive:ae}=e,{showAds:he}=e,{adsSlotId:re=void 0}=e,{adsParams:je=void 0}=e,{adsPreviewParam:qe=void 0}=e,{duration:lt=void 0}=e,{logoClickable:nt}=e,{logoHidden:Ne}=e,{showNextPrevButtons:ft=!1}=e,{nextButtonActive:wt=!1}=e,{prevButtonActive:Me=!1}=e,{endScreenVideoTitle:Be=void 0}=e,{endScreenVideoThumb:Zt=void 0}=e,{isOneVideoPlaylist:Pt=!1}=e,{supportLink:rt}=e,{outerContainerRef:tt=void 0}=e,{playerStarted:ue=!1}=e,{fullScreenTarget:Je=void 0}=e,{showMiniTimer:Ke=!1}=e,{playNextVideo:Qe=it}=e,{playPrevVideo:Ze=it}=e,{repeatPlaylist:ct=it}=e,{seekToInteractive:ze}=e,{toggleGraph:xe}=e,{playPrevChapter:pt}=e,{firstStart:ot}=e;const Qt=O.getLogger().createComponentLog("Root component"),dt=O.interfaceLanguage$;W(i,dt,j=>t(52,T=j));const Ye=O.state.playbackState$;W(i,Ye,j=>t(141,ne=j));const At=O.ads.playbackState;W(i,At,j=>t(142,X=j));const st=O.state.positionWithScrubbing$;W(i,st,j=>t(57,se=j));const ui=O.state.duration$;W(i,ui,j=>t(61,Ce=j));const de=O.playerPhase;W(i,de,j=>t(36,B=j));const Se=O.ui.isFullscreen;W(i,Se,j=>t(131,c=j));const Ie=O.ui.controlsVisible;W(i,Ie,j=>t(34,_=j));const It=O.ui.settingsMenuVisible;W(i,It,j=>t(129,n=j));const ci=O.ui.scrubbingInProgress;W(i,ci,j=>t(133,b=j));const Mt=O.ui.contextMenuVisible;W(i,Mt,j=>t(49,o=j));const Ei=O.ui.debugPanelVisible;W(i,Ei,j=>t(63,G=j));const Bi=O.state.isLoaderVisible;W(i,Bi,j=>t(143,$=j));const Oi=O.state.isEnded$;W(i,Oi,j=>t(130,s=j));const Le=O.state.chromecastConnected$;W(i,Le,j=>t(37,Y=j));const Rt=O.state.chromecastDeviceName$;W(i,Rt,j=>t(54,ce=j));const fi=O.ads.postrollPassed;W(i,fi,j=>t(136,w=j));const Ot=O.state.isLive$;W(i,Ot,j=>t(59,be=j));const Lt=O.state.isPlaying$;W(i,Lt,j=>t(60,Te=j));const zi=O.state.crashed$;W(i,zi,j=>t(35,A=j));const Nt=O.webApi.pictureInPictureApi,oi=O.state.currentSubtitle$;W(i,oi,j=>t(55,E=j));const on=O.state.currentSubtitleCaptions$;W(i,on,j=>t(56,oe=j));const Tt=O.state.duration$;W(i,Tt,j=>t(58,we=j));const Zi=O.state.graphIsOpened$;W(i,Zi,j=>t(137,S=j));const di=O.ui.playerSize;W(i,di,j=>t(32,a=j));const Di=O.ui.is3DVideo;W(i,Di,j=>t(50,r=j));const Ai=O.ui.icon3DVideoVisible;W(i,Ai,j=>t(53,te=j));const Li=O.ui.rotateAlpha;W(i,Li,j=>t(33,p=j));const mi=O.state.isInteractive,Vi=O.state.isInteractiveTime$;W(i,Vi,j=>t(134,g=j));const ki=O.state.isInteractiveExpectation$;W(i,ki,j=>t(140,q=j));const hi=O.state.hasInteractiveBranches,li=O.ui.touched;W(i,li,j=>t(138,R=j));const yi=O.ui.modals.hotKeyMap.data;W(i,yi,j=>t(157,l=j));const Ii=O.ui.modals.hotKeyMap.show;W(i,Ii,j=>t(62,H=j));const Xi=O.ui.overlayContainer$,{fakeIsPlaying$:Ht}=ru();W(i,Ht,j=>t(132,h=j));let Ut,Mi,$i=0,Ci=0,Fi,Ri,Si;yi.set(D4());let Hi,Ni;const Jt=Fe(!1);W(i,Jt,j=>t(51,f=j));let xt;const pi=Fe(!1);W(i,pi,j=>t(139,U=j));const Yt=Fe(),$t=Fe(!1);W(i,$t,j=>t(135,L=j));let si=!1,vi=!1,gi,ri,Gi,Ui,Pi,Qi,ei=!1,bi,ji=!1;const{toggle:qi}=Ht;let zt=!1,fe=null,ti;Nt==null||Nt.setContext($1());const en=()=>{J&&!mi&&ai(me.controls.hideTimeout)};O.setUiCallbacks({onStarted:en});const hn=()=>{window.clearTimeout(Fi),pi.set(!1)},jn=()=>{window.clearTimeout(Ri),Yt.set(null)},ai=j=>{hn(),pi.set(!0),Fi=window.setTimeout(()=>pi.set(!1),j);const _t=j-100;xt=window.setTimeout(()=>{f&&Jt.set(!1)},_t>0?_t:j)},yn=(j,_t)=>{jn(),Yt.set(_t),Ri=window.setTimeout(()=>Yt.set(null),j)},Cn=Di.subscribe(j=>{Ai.set(j),j&&(window.clearTimeout(Si),Si=window.setTimeout(()=>Ai.set(!1),me.controls.hide360IconTimeout))}),pn=()=>Wn(this,null,function*(){var _t,bn,an,xn;const j=Vo();if(j){ai(me.controls.hideTimeoutFullscreen);try{yield Nt==null?void 0:Nt.remove()}catch($n){Qt({message:String($n)})}}Se.set(j),O.getAdmanWrapper().setFullscreen(j),c?(bn=(_t=O.callbacks)==null?void 0:_t.onFullscreenEnter)==null||bn.call(_t):(xn=(an=O.callbacks)==null?void 0:an.onFullscreenExit)==null||xn.call(an)}),Sn=j=>{const _t=j;di.set({width:_t.target.width,height:_t.target.height})};Ji(()=>{var _t;return $u(pn),nl(Nt)&&(Nt==null||Nt.assignPlayerContainer(Ut),Nt==null||Nt.registryExternalEventHandlers({resize:Sn})),Pe&&((_t=Ve.parentElement)==null||_t.insertBefore(Pe,Ve.nextSibling)),()=>{window.clearTimeout(Fi),window.clearTimeout(xt),window.clearTimeout(Ri),window.clearTimeout(Si),Cn(),Nt==null||Nt.dispose(),ec(pn)}});const On=()=>Wn(this,null,function*(){if(Vo())yield xu(document),Qt({message:"exit fullscreen"});else{Qt({message:"request fullscreen"});const j=tt!=null?tt:Ut,_t=j.getRootNode(),bn=_t instanceof ShadowRoot?_t.host:_t,an=Je instanceof HTMLElement&&Je.contains(bn),xn=me.allowChangingFullscreenTarget&&Je&&an?Je:j;yield Ju(xn)}}),ln=()=>{It.set(!1),Mt.set(!1)},zn=j=>{Mt.set(!0),t(40,$i=j.clientX),t(41,Ci=j.clientY)};function x(){$t.set(!0),mi||ai(me.controls.hideTimeoutCursor)}function gt(){mi||(Jt.set(!0),ai(me.controls.hideTimeoutCursor))}function vn(){$t.set(!1),t(125,vi=!1),t(124,si=!1),zt=!1,O.actions.internal.releaseCamera()}function tn(j){if(Ut){const _t=jc(j.currentTarget),bn=a.height,an=j.pageY-_t;an<ys?t(125,vi=!0):an>bn-ys?t(124,si=!0):(t(125,vi=!1),n||t(124,si=!1))}}function gn(j){tn(j),ri||ai(me.controls.hideTimeoutCursor),r&&zt&&fe&&O.actions.internal.moveCameraFocusPX(fe.clientX-j.clientX,fe.clientY-j.clientY,j.timeStamp-fe.timeStamp),fe=j}const sn=j=>{j.button===0&&(zt=!0,O.actions.internal.holdCamera()),ai(me.controls.hideTimeoutCursor)},bo=j=>{j.button===0&&(fe=j,zt=!1,O.actions.internal.releaseCamera()),ai(me.controls.hideTimeoutCursor)},_o=()=>{Qt({message:"double click on video"}),On(),ai(me.controls.hideTimeoutCursor)},wo=()=>{if(o||n){ln();return}if(!(s&&!hi)){if(ji)return qi();if(ti==null||ti.focus(),!ue){ot(),ai(me.controls.hideTimeoutCursor);return}O.actions.internal.togglePlay(),ai(me.controls.hideTimeoutCursor)}},ko=j=>{ln(),li.set(!0),ai(me.controls.hideTimeout),j&&yn(me.controls.hideHotKeyHelpers,j)},yo=()=>{var j,_t;ln(),(j=O.callbacks)!=null&&j.onOpenHotKeyMap?(_t=O.callbacks)==null||_t.onOpenHotKeyMap(l):Ii.update(bn=>!bn)},Co=()=>{if(o||n){ln();return}},Qn=()=>{li.set(!0)};function Jn(j){We[j?"unshift":"push"](()=>{Ve=j,t(0,Ve)})}const le=()=>ti==null?void 0:ti.focus();function qn(j){Mi=j,t(39,Mi)}const at=()=>ti==null?void 0:ti.focus();function jt(j){We[j?"unshift":"push"](()=>{ti=j,t(48,ti)})}function rn(j){We[j?"unshift":"push"](()=>{Ni=j,t(30,Ni)})}function Pn(j){We[j?"unshift":"push"](()=>{Ut=j,t(38,Ut)})}return i.$$set=j=>{"store"in j&&t(119,O=j.store),"uiConfig"in j&&t(1,me=j.uiConfig),"title"in j&&t(2,ee=j.title),"thumbUrl"in j&&t(3,M=j.thumbUrl),"videoLogoUrl"in j&&t(4,Q=j.videoLogoUrl),"videoContainer"in j&&t(0,Ve=j.videoContainer),"interactiveContainer"in j&&t(120,Pe=j.interactiveContainer),"live"in j&&t(5,Ae=j.live),"autoplay"in j&&t(6,J=j.autoplay),"canRewindLive"in j&&t(7,ae=j.canRewindLive),"showAds"in j&&t(8,he=j.showAds),"adsSlotId"in j&&t(9,re=j.adsSlotId),"adsParams"in j&&t(10,je=j.adsParams),"adsPreviewParam"in j&&t(11,qe=j.adsPreviewParam),"duration"in j&&t(12,lt=j.duration),"logoClickable"in j&&t(13,nt=j.logoClickable),"logoHidden"in j&&t(14,Ne=j.logoHidden),"showNextPrevButtons"in j&&t(15,ft=j.showNextPrevButtons),"nextButtonActive"in j&&t(16,wt=j.nextButtonActive),"prevButtonActive"in j&&t(17,Me=j.prevButtonActive),"endScreenVideoTitle"in j&&t(18,Be=j.endScreenVideoTitle),"endScreenVideoThumb"in j&&t(19,Zt=j.endScreenVideoThumb),"isOneVideoPlaylist"in j&&t(20,Pt=j.isOneVideoPlaylist),"supportLink"in j&&t(21,rt=j.supportLink),"outerContainerRef"in j&&t(121,tt=j.outerContainerRef),"playerStarted"in j&&t(22,ue=j.playerStarted),"fullScreenTarget"in j&&t(122,Je=j.fullScreenTarget),"showMiniTimer"in j&&t(123,Ke=j.showMiniTimer),"playNextVideo"in j&&t(23,Qe=j.playNextVideo),"playPrevVideo"in j&&t(24,Ze=j.playPrevVideo),"repeatPlaylist"in j&&t(25,ct=j.repeatPlaylist),"seekToInteractive"in j&&t(26,ze=j.seekToInteractive),"toggleGraph"in j&&t(27,xe=j.toggleGraph),"playPrevChapter"in j&&t(28,pt=j.playPrevChapter),"firstStart"in j&&t(29,ot=j.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,Hi=(B===Re.Video&&$||B===Re.Ads&&X===Xt.INACTIVE)&&!A),i.$$.dirty[0]&1073741824&&Xi.set(Ni),i.$$.dirty[4]&131072&&t(126,gi=ne!==Ti.PLAYING),i.$$.dirty[4]&66567&&t(127,ri=g&&!(si||vi)&&!(gi&&!q)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Ie.set((gi||n||b||Y||U)&&!ri&&B===Re.Video&&!A),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,Gi=me.features.thumbTimer&&Ke&&B===Re.Video&&!_&&!A&&!mi&&(me.hideThumbTimerAfterTouch&&!R||!me.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Ui=B===Re.Video&&!S&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Pi=(he&&w||!he)&&s&&!A),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,Qi=L&&!(_||Pi)&&!g),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!b&&ei&&!g&&ai(me.controls.hideTimeoutCursor),t(128,ei=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,bi=Ve&&p%180?a.height/a.width:1),i.$$.dirty[4]&256&&t(47,ji=h!==null)},[Ve,me,ee,M,Q,Ae,J,ae,he,re,je,qe,lt,nt,Ne,ft,wt,Me,Be,Zt,Pt,rt,ue,Qe,Ze,ct,ze,xe,pt,ot,Ni,Pi,a,p,_,A,B,Y,Ut,Mi,$i,Ci,Hi,Gi,Ui,Qi,bi,ji,ti,o,r,f,T,te,ce,E,oe,se,we,be,Te,Ce,H,G,dt,Ye,At,st,ui,de,Se,Ie,It,ci,Mt,Ei,Bi,Oi,Le,Rt,fi,Ot,Lt,zi,oi,on,Tt,Zi,di,Di,Ai,Li,mi,Vi,ki,li,yi,Ii,Ht,Jt,pi,Yt,$t,qi,On,ln,zn,x,gt,vn,gn,sn,bo,_o,wo,ko,yo,Co,Qn,O,Pe,tt,Je,Ke,si,vi,gi,ri,ei,n,s,c,h,b,g,L,w,S,R,U,q,ne,X,$,Jn,le,qn,at,jt,rn,Pn]}class o6 extends ye{constructor(e){super(),ke(this,e,n6,t6,_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},$g,[-1,-1,-1,-1,-1,-1])}}const l6=i=>{if(!K1(!0))return!1;const e=i.device===c0.iPad||(window==null?void 0:window.screen.width)>700,t=f0();return!e||e&&!!t&&t<16};function s6(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 S1(i){let e,t,n,o,l,s,r,a,c,f,h,p,b,g,_,L=Z("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=k("div"),n=N(),o=k("div"),l=k("div"),s=k("div"),a=N(),c=k("div"),h=N(),p=k("div"),g=N(),_=k("p"),A=De(L),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",r="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(p,"class",b="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(_,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(w,S){C(w,e,S),C(w,n,S),C(w,o,S),d(o,l),d(l,s),d(l,a),d(l,c),d(l,h),d(l,p),d(o,g),d(o,_),d(_,A)},p(w,S){S&1&&t!==(t="semicircle "+w[0]+" v-nhq2ld")&&u(e,"class",t),S&1&&r!==(r="triangle "+w[0]+" v-nhq2ld")&&u(s,"class",r),S&1&&f!==(f="triangle "+w[0]+" v-nhq2ld")&&u(c,"class",f),S&1&&b!==(b="triangle "+w[0]+" v-nhq2ld")&&u(p,"class",b),S&2&&L!==(L=Z("doubletap_seek_step",{seconds:w[1].toFixed(0)})+"")&&et(A,L)},d(w){w&&(y(e),y(n),y(o))}}}function r6(i){let e,t,n,o,l=i[2]&&S1(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,r){C(s,e,r),l&&l.m(e,null),n||(o=Ee(e,"click",ut(i[3]())),n=!0)},p(s,[r]){s[2]?l?l.p(s,r):(l=S1(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),r&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(s){s&&y(e),l&&l.d(),n=!1,o()}}}function a6(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,r=!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,s(),t(2,r=!0),c=window.setTimeout(()=>{t(2,r=!1)},500))}};return sl(()=>{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,s=h.handleSecondClick)},[n,o,r,f,l,s]}class qc extends ye{constructor(e){super(),ke(this,e,a6,r6,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},s6)}}function u6(i,e,t){let{playNextVideo:n}=e;return Ji(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class c6 extends ye{constructor(e){super(),ke(this,e,u6,null,_e,{playNextVideo:0})}}const{window:f6}=x1;function d6(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 P1(i){let e,t,n,o;e=new qc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&T1(i);return{c(){F(e.$$.fragment),t=N(),l&&l.c(),n=bt()},m(s,r){z(e,s,r),C(s,t,r),l&&l.m(s,r),C(s,n,r),o=!0},p(s,r){const a={};r[0]&2&&(a.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(a),s[48]?l&&(pe(),v(l,1,1,()=>{l=null}),ve()):l?(l.p(s,r),r[1]&131072&&m(l,1)):(l=T1(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){v(e.$$.fragment,s),v(l),o=!1},d(s){s&&(y(t),y(n)),D(e,s),l&&l.d(s)}}}function T1(i){let e,t;return e=new qc({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 E1(i){var n;let e,t;return e=new Hc({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 r;const s={};l[0]&4&&(s.thumbUrl=o[2]),l[0]&16&&(s.startTime=(r=o[4])==null?void 0:r.startTime),e.$set(s)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function A1(i){let e,t;return e=new Uc({}),{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 tc({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]!==Re.Ads)},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&256&&(s.adsSlotId=o[8]),l[0]&512&&(s.adsParams=o[9]),l[0]&1024&&(s.adsPreviewParam=o[10]),l[0]&2048&&(s.duration=o[11]),t.$set(s),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Re.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 V1(i){let e,t;return e=new c6({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 I1(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 M1(i){let e,t,n;return t=new gu({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){C(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 R1(i){let e,t;return e=new zc({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 N1(i){let e,t;return e=new Oc({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 B1(i){let e,t;return e=new ic({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 O1(i){let e,t,n,o,l;return t=new Dc({}),{c(){e=k("div"),F(t.$$.fragment)},m(s,r){C(s,e,r),z(t,e,null),n=!0,o||(l=Ee(e,"click",ut(i[100])),o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){v(t.$$.fragment,s),n=!1},d(s){s&&y(e),D(t),o=!1,l()}}}function z1(i){let e,t;return e=new cc({}),{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 D1(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 F1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ht.TIMELINE),o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U;e=new Fc({props:{hidden:i[34]!==Re.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Y=n&&P1(i),q=i[34]===Re.WaitingLive&&E1(i),ne=i[34]===Re.WaitingRecord&&A1(),X=i[7]&&i[21]&&L1(i),$=i[41]&&i[17]&&i[18]&&V1(i),T=i[49]&&I1(),te=i[50]&&M1(),ce=i[35]&&R1(i),E=i[52].value!=="off"&&N1(i),oe=i[1].features.annotations&&B1(i),se=i[33]&&O1(i);function we(H){i[129](H)}let be={bottomHidden:i[34]===Re.Thumb||i[34]===Re.WaitingLive||i[34]===Re.WaitingRecord||i[34]===Re.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Re.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]),_=new Rc({props:be}),We.push(()=>St(_,"controlsElementRef",we)),w=new oc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Te=i[38]&&z1(),Ce=i[57]&&D1();return{c(){F(e.$$.fragment),t=N(),Y&&Y.c(),o=N(),q&&q.c(),l=N(),ne&&ne.c(),s=N(),X&&X.c(),r=N(),$&&$.c(),a=N(),T&&T.c(),c=N(),te&&te.c(),f=N(),ce&&ce.c(),h=N(),E&&E.c(),p=N(),oe&&oe.c(),b=N(),se&&se.c(),g=N(),F(_.$$.fragment),A=N(),F(w.$$.fragment),S=N(),Te&&Te.c(),B=N(),Ce&&Ce.c(),R=bt()},m(H,G){z(e,H,G),C(H,t,G),Y&&Y.m(H,G),C(H,o,G),q&&q.m(H,G),C(H,l,G),ne&&ne.m(H,G),C(H,s,G),X&&X.m(H,G),C(H,r,G),$&&$.m(H,G),C(H,a,G),T&&T.m(H,G),C(H,c,G),te&&te.m(H,G),C(H,f,G),ce&&ce.m(H,G),C(H,h,G),E&&E.m(H,G),C(H,p,G),oe&&oe.m(H,G),C(H,b,G),se&&se.m(H,G),C(H,g,G),z(_,H,G),C(H,A,G),z(w,H,G),C(H,S,G),Te&&Te.m(H,G),C(H,B,G),Ce&&Ce.m(H,G),C(H,R,G),U=!0},p(H,G){const O={};G[0]&32|G[1]&12&&(O.hidden=H[34]!==Re.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(ht.TIMELINE)),n?Y?(Y.p(H,G),G[0]&64|G[1]&65536&&m(Y,1)):(Y=P1(H),Y.c(),m(Y,1),Y.m(o.parentNode,o)):Y&&(pe(),v(Y,1,1,()=>{Y=null}),ve()),H[34]===Re.WaitingLive?q?(q.p(H,G),G[1]&8&&m(q,1)):(q=E1(H),q.c(),m(q,1),q.m(l.parentNode,l)):q&&(pe(),v(q,1,1,()=>{q=null}),ve()),H[34]===Re.WaitingRecord?ne?G[1]&8&&m(ne,1):(ne=A1(),ne.c(),m(ne,1),ne.m(s.parentNode,s)):ne&&(pe(),v(ne,1,1,()=>{ne=null}),ve()),H[7]&&H[21]?X?(X.p(H,G),G[0]&2097280&&m(X,1)):(X=L1(H),X.c(),m(X,1),X.m(r.parentNode,r)):X&&(pe(),v(X,1,1,()=>{X=null}),ve()),H[41]&&H[17]&&H[18]?$?($.p(H,G),G[0]&393216|G[1]&1024&&m($,1)):($=V1(H),$.c(),m($,1),$.m(a.parentNode,a)):$&&(pe(),v($,1,1,()=>{$=null}),ve()),H[49]?T?G[1]&262144&&m(T,1):(T=I1(),T.c(),m(T,1),T.m(c.parentNode,c)):T&&(pe(),v(T,1,1,()=>{T=null}),ve()),H[50]?te?(te.p(H,G),G[1]&524288&&m(te,1)):(te=M1(),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(pe(),v(te,1,1,()=>{te=null}),ve()),H[35]?ce?(ce.p(H,G),G[1]&16&&m(ce,1)):(ce=R1(H),ce.c(),m(ce,1),ce.m(h.parentNode,h)):ce&&(pe(),v(ce,1,1,()=>{ce=null}),ve()),H[52].value!=="off"?E?(E.p(H,G),G[1]&2097152&&m(E,1)):(E=N1(H),E.c(),m(E,1),E.m(p.parentNode,p)):E&&(pe(),v(E,1,1,()=>{E=null}),ve()),H[1].features.annotations?oe?(oe.p(H,G),G[0]&2&&m(oe,1)):(oe=B1(H),oe.c(),m(oe,1),oe.m(b.parentNode,b)):oe&&(pe(),v(oe,1,1,()=>{oe=null}),ve()),H[33]?se?(se.p(H,G),G[1]&4&&m(se,1)):(se=O1(H),se.c(),m(se,1),se.m(g.parentNode,g)):se&&(pe(),v(se,1,1,()=>{se=null}),ve());const me={};G[1]&8&&(me.bottomHidden=H[34]===Re.Thumb||H[34]===Re.WaitingLive||H[34]===Re.WaitingRecord||H[34]===Re.Ads),G[0]&1073741824&&(me.showControls=H[30]),G[1]&16384&&(me.bottomNoSmooth=H[45]),G[1]&8&&(me.isAds=H[34]===Re.Ads),G[0]&64|G[1]&8388608&&(me.canRewindLive=H[6]&&H[54]!==0),G[0]&4096&&(me.logoClickable=H[12]),G[0]&8192&&(me.logoHidden=H[13]),G[0]&8&&(me.videoLogoUrl=H[3]),G[0]&16384&&(me.showNextPrevButtons=H[14]),G[0]&32768&&(me.nextButtonActive=H[15]),G[0]&65536&&(me.prevButtonActive=H[16]),G[0]&524288&&(me.isOneVideoPlaylist=H[19]),G[0]&1048576&&(me.supportLink=H[20]),G[1]&256&&(me.customFullscreenSupported=H[39]),G[0]&4194304&&(me.playNextVideo=H[22]),G[0]&8388608&&(me.playPrevVideo=H[23]),G[0]&16777216&&(me.repeatPlaylist=H[24]),G[0]&33554432&&(me.seekToInteractive=H[25]),G[0]&67108864&&(me.toggleGraph=H[26]),G[0]&134217728&&(me.playPrevChapter=H[27]),!L&&G[1]&64&&(L=!0,me.controlsElementRef=H[37],Ct(()=>L=!1)),_.$set(me);const ee={};G[1]&16777216&&(ee.isLive=H[55]),G[1]&512&&(ee.isHidden=!H[40]),G[1]&33554432&&(ee.isPlaying=H[56]),G[1]&8192&&(ee.position=H[44]),G[1]&4096&&(ee.duration=H[43]),w.$set(ee),H[38]?Te?G[1]&128&&m(Te,1):(Te=z1(),Te.c(),m(Te,1),Te.m(B.parentNode,B)):Te&&(pe(),v(Te,1,1,()=>{Te=null}),ve()),H[57]?Ce?G[1]&67108864&&m(Ce,1):(Ce=D1(),Ce.c(),m(Ce,1),Ce.m(R.parentNode,R)):Ce&&(pe(),v(Ce,1,1,()=>{Ce=null}),ve())},i(H){U||(m(e.$$.fragment,H),m(Y),m(q),m(ne),m(X),m($),m(T),m(te),m(ce),m(E),m(oe),m(se),m(_.$$.fragment,H),m(w.$$.fragment,H),m(Te),m(Ce),U=!0)},o(H){v(e.$$.fragment,H),v(Y),v(q),v(ne),v(X),v($),v(T),v(te),v(ce),v(E),v(oe),v(se),v(_.$$.fragment,H),v(w.$$.fragment,H),v(Te),v(Ce),U=!1},d(H){H&&(y(t),y(o),y(l),y(s),y(r),y(a),y(c),y(f),y(h),y(p),y(b),y(g),y(A),y(S),y(B),y(R)),D(e,H),Y&&Y.d(H),q&&q.d(H),ne&&ne.d(H),X&&X.d(H),$&&$.d(H),T&&T.d(H),te&&te.d(H),ce&&ce.d(H),E&&E.d(H),oe&&oe.d(H),se&&se.d(H),D(_,H),D(w,H),Te&&Te.d(H),Ce&&Ce.d(H)}}}function m6(i){let e,t,n,o,l,s=i[46],r,a,c,f,h,p=F1(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),p.c(),r=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]!==Re.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(b,g){C(b,e,g),d(e,t),d(t,n),i[126](n),d(e,l),p.m(e,null),d(e,r),d(e,a),i[130](a),i[131](e),c=!0,f||(h=[Ee(f6,"blur",i[98]),Ee(t,"click",_i(i[99])),Ee(e,"click",i[101],!0),Ee(e,"focusin",i[102],!0)],f=!0)},p(b,g){(!c||g[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||g[0]&2)&&V(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||g[1]&8)&&V(t,"hidden",b[34]!==Re.Video),g[1]&32768&&_e(s,s=b[46])?(pe(),v(p,1,1,K),ve(),p=F1(b),p.c(),m(p,1),p.m(e,r)):p.p(b,g)},i(b){c||(m(p),c=!0)},o(b){v(p),c=!1},d(b){b&&y(e),i[126](null),p.d(b),i[130](null),i[131](null),f=!1,ni(h)}}}function h6(i,e,t){let n,o,l,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,Te,Ce,H,{store:G}=e,{uiConfig:O}=e,{thumbUrl:me}=e,{videoLogoUrl:ee}=e,{videoContainer:M}=e,{interactiveContainer:Q}=e,{live:Ve}=e,{autoplay:Pe}=e,{canRewindLive:Ae}=e,{showAds:J}=e,{adsSlotId:ae=void 0}=e,{adsParams:he=void 0}=e,{adsPreviewParam:re=void 0}=e,{duration:je=void 0}=e,{logoClickable:qe}=e,{logoHidden:lt}=e,{showNextPrevButtons:nt=!1}=e,{nextButtonActive:Ne=!1}=e,{prevButtonActive:ft=!1}=e,{endScreenVideoTitle:wt=void 0}=e,{endScreenVideoThumb:Me=void 0}=e,{isOneVideoPlaylist:Be=!1}=e,{supportLink:Zt}=e,{outerContainerRef:Pt=void 0}=e,{showMiniTimer:rt=!1}=e,{fullScreenTarget:tt=void 0}=e,{playerStarted:ue=!1}=e,{playNextVideo:Je=it}=e,{playPrevVideo:Ke=it}=e,{repeatPlaylist:Qe=it}=e,{seekToInteractive:Ze}=e,{toggleGraph:ct}=e,{playPrevChapter:ze}=e,{firstStart:xe}=e,{seekTime:pt}=e;const ot=G.getLogger().createComponentLog("Root component"),Qt=G.interfaceLanguage$;W(i,Qt,x=>t(46,$=x));const dt=G.state.playbackState$;W(i,dt,x=>t(123,q=x));const Ye=G.ads.playbackState;W(i,Ye,x=>t(124,ne=x));const At=G.state.positionWithScrubbing$;W(i,At,x=>t(44,s=x));const st=G.state.duration$;W(i,st,x=>t(43,l=x));const ui=G.playerPhase;W(i,ui,x=>t(34,B=x));const de=G.ui.isFullscreen;W(i,de,x=>t(137,a=x));const Se=G.ui.controlsVisible;W(i,Se,x=>t(30,o=x));const Ie=G.ui.interactiveHideMobileControls;W(i,Ie,x=>t(115,p=x));const It=G.ui.settingsMenuVisible;W(i,It,x=>t(114,n=x));const ci=G.ui.scrubbingInProgress;W(i,ci,x=>t(116,g=x));const Mt=G.ui.debugPanelVisible;W(i,Mt,x=>t(57,H=x));const Ei=G.state.isLoaderVisible;W(i,Ei,x=>t(125,X=x));const Bi=G.state.isEnded$;W(i,Bi,x=>t(118,A=x));const Oi=G.state.chromecastConnected$;W(i,Oi,x=>t(35,R=x));const Le=G.state.chromecastDeviceName$;W(i,Le,x=>t(51,oe=x));const Rt=G.ads.postrollPassed;W(i,Rt,x=>t(119,w=x));const fi=G.ui.mobileUnmuteButtonExpanded,Ot=G.ui.mobileUnmuteButtonVisible,Lt=G.state.isLive$;W(i,Lt,x=>t(55,Te=x));const zi=G.state.isPlaying$;W(i,zi,x=>t(56,Ce=x));const Nt=G.state.isActiveLive$;W(i,Nt,x=>t(48,te=x));const oi=G.state.isRewindableLive$,on=G.state.crashed$;W(i,on,x=>t(33,L=x));const Tt=G.webApi.pictureInPictureApi,Zi=G.state.videoSize$;W(i,Zi,x=>t(138,f=x));const di=G.state.currentSubtitle$;W(i,di,x=>t(52,se=x));const Di=G.state.currentSubtitleCaptions$;W(i,Di,x=>t(53,we=x));const Ai=G.state.duration$;W(i,Ai,x=>t(54,be=x));const Li=G.state.graphIsOpened$;W(i,Li,x=>t(122,Y=x));const mi=G.ui.playerSize;W(i,mi,x=>t(31,c=x));const Vi=G.ui.is3DVideo;W(i,Vi,x=>t(49,ce=x));const ki=G.ui.icon3DVideoVisible;W(i,ki,x=>t(50,E=x));const hi=G.ui.rotateAlpha;W(i,hi,x=>t(32,b=x));const li=G.state.isInteractive,yi=G.state.isInteractiveTime$;W(i,yi,x=>t(117,_=x));const Ii=G.state.isInteractiveExpectation$;W(i,Ii,x=>t(121,U=x));const Xi=G.state.hasInteractiveBranches,Ht=G.ui.controls.disabledControls$;W(i,Ht,x=>t(47,T=x));const Ut=G.ui.touched;W(i,Ut,x=>t(120,S=x));const Mi=G.ui.clientInfo$;W(i,Mi,x=>t(136,r=x));const $i=G.ui.overlayContainer$;let Ci,Fi,Ri,Si,Hi,Ni,Jt;const xt=Fe(!1);W(i,xt,x=>t(45,h=x));let pi,Yt=!1,$t,si=!1,vi,gi=!0,ri,Gi,Ui=!1,Pi;Tt==null||Tt.setContext($1());const Qi=x=>{clearTimeout(Si),x&&(Ot.set(!0),fi.set(!0),Si=window.setTimeout(()=>{fi.set(!1)},O.controls.collapseMobileUnmute),li||bi(O.controls.hideTimeoutMobile))};G.setUiCallbacks({onStarted:Qi});const ei=()=>{window.clearTimeout(Ri),t(109,Yt=!1),p&&Ie.set(!1)},bi=x=>{ei(),t(109,Yt=!0),Ri=window.setTimeout(()=>t(109,Yt=!1),x);const gt=x-100;pi=window.setTimeout(()=>{h&&xt.set(!1)},gt>0?gt:x)},ji=Vi.subscribe(x=>{ki.set(x),x&&(window.clearTimeout(Hi),Hi=window.setTimeout(()=>ki.set(!1),O.controls.hide360IconTimeout))}),qi=()=>Wn(this,null,function*(){var gt,vn,tn,gn;const x=Vo();if(x){bi(O.controls.hideTimeoutFullscreen);try{yield Tt==null?void 0:Tt.remove()}catch(sn){ot({message:String(sn)})}try{const sn=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield z4(sn)}catch(sn){ot({message:String(sn)})}}de.set(x),G.getAdmanWrapper().setFullscreen(x),a?(vn=(gt=G.callbacks)==null?void 0:gt.onFullscreenEnter)==null||vn.call(gt):(gn=(tn=G.callbacks)==null?void 0:tn.onFullscreenExit)==null||gn.call(tn)}),zt=x=>{const gt=x;mi.set({width:gt.target.width,height:gt.target.height})};Ji(()=>{var gt;return $u(qi),nl(Tt)&&(Tt==null||Tt.assignPlayerContainer(Ci),Tt==null||Tt.registryExternalEventHandlers({resize:zt})),t(39,gi=!l6(r)),Q&&((gt=M.parentElement)==null||gt.insertBefore(Q,M.nextSibling)),()=>{window.clearTimeout(Ri),window.clearTimeout(pi),window.clearTimeout(Si),window.clearTimeout(Hi),ji(),Tt==null||Tt.dispose(),ec(qi)}});const fe=x=>{let gt=s+(x==="forward"?1:-1)*O.controls.seekStepMobile/1e3;gt<0?gt=0:gt>l&&(gt=l-1),t(111,si=!0),pt(gt)},ti=()=>Wn(this,null,function*(){if(Vo())yield xu(document),ot({message:"exit fullscreen"});else{ot({message:"request fullscreen"});const x=Pt!=null?Pt:Ci,gt=x.getRootNode(),vn=gt instanceof ShadowRoot?gt.host:gt,tn=tt instanceof HTMLElement&&tt.contains(vn),gn=O.allowChangingFullscreenTarget&&tt&&tn?tt:x;yield Ju(gn)}}),en=()=>{It.set(!1)},hn=()=>{if(n){en();return}if(!ue){xe(),bi(O.controls.hideTimeoutCursor);return}t(111,si=!1),o?ei():bi(O.controls.hideTimeoutMobile)},jn=()=>{if(n){en();return}},ai=()=>{Ut.set(!0)},yn=()=>{li||(xt.set(!0),bi(O.controls.hideTimeoutCursor))};function Cn(x){We[x?"unshift":"push"](()=>{M=x,t(0,M)})}const pn=()=>fe("backward"),Sn=()=>fe("forward");function On(x){Fi=x,t(37,Fi)}function ln(x){We[x?"unshift":"push"](()=>{Jt=x,t(29,Jt)})}function zn(x){We[x?"unshift":"push"](()=>{Ci=x,t(36,Ci)})}return i.$$set=x=>{"store"in x&&t(103,G=x.store),"uiConfig"in x&&t(1,O=x.uiConfig),"thumbUrl"in x&&t(2,me=x.thumbUrl),"videoLogoUrl"in x&&t(3,ee=x.videoLogoUrl),"videoContainer"in x&&t(0,M=x.videoContainer),"interactiveContainer"in x&&t(104,Q=x.interactiveContainer),"live"in x&&t(4,Ve=x.live),"autoplay"in x&&t(5,Pe=x.autoplay),"canRewindLive"in x&&t(6,Ae=x.canRewindLive),"showAds"in x&&t(7,J=x.showAds),"adsSlotId"in x&&t(8,ae=x.adsSlotId),"adsParams"in x&&t(9,he=x.adsParams),"adsPreviewParam"in x&&t(10,re=x.adsPreviewParam),"duration"in x&&t(11,je=x.duration),"logoClickable"in x&&t(12,qe=x.logoClickable),"logoHidden"in x&&t(13,lt=x.logoHidden),"showNextPrevButtons"in x&&t(14,nt=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Ne=x.nextButtonActive),"prevButtonActive"in x&&t(16,ft=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,wt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,Me=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Be=x.isOneVideoPlaylist),"supportLink"in x&&t(20,Zt=x.supportLink),"outerContainerRef"in x&&t(105,Pt=x.outerContainerRef),"showMiniTimer"in x&&t(106,rt=x.showMiniTimer),"fullScreenTarget"in x&&t(107,tt=x.fullScreenTarget),"playerStarted"in x&&t(21,ue=x.playerStarted),"playNextVideo"in x&&t(22,Je=x.playNextVideo),"playPrevVideo"in x&&t(23,Ke=x.playPrevVideo),"repeatPlaylist"in x&&t(24,Qe=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Ze=x.seekToInteractive),"toggleGraph"in x&&t(26,ct=x.toggleGraph),"playPrevChapter"in x&&t(27,ze=x.playPrevChapter),"firstStart"in x&&t(28,xe=x.firstStart),"seekTime"in x&&t(108,pt=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Ni=(B===Re.Video&&X||B===Re.Ads&&ne===Xt.INACTIVE)&&!L),i.$$.dirty[0]&536870912&&$i.set(Jt),i.$$.dirty[3]&1073741824&&t(110,$t=q!==Ti.PLAYING),i.$$.dirty[3]&843251712&&t(112,vi=Y||p||!Yt&&(A&&!!Xi||$t&&U)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Se.set(($t||n||g||R||Yt&&!si)&&!vi&&B===Re.Video&&!L),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ri=O.features.thumbTimer&&rt&&B===Re.Video&&!o&&!L&&!li&&(O.hideThumbTimerAfterTouch&&!S||!O.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Gi=(J&&w||!J)&&A&&!L),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!g&&Ui&&!_&&bi(O.controls.hideTimeoutMobile),t(113,Ui=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Pi=M&&b%180?c.height/c.width:1)},[M,O,me,ee,Ve,Pe,Ae,J,ae,he,re,je,qe,lt,nt,Ne,ft,wt,Me,Be,Zt,ue,Je,Ke,Qe,Ze,ct,ze,xe,Jt,o,c,b,L,B,R,Ci,Fi,Ni,gi,ri,Gi,Pi,l,s,h,$,T,te,ce,E,oe,se,we,be,Te,Ce,H,Qt,dt,Ye,At,st,ui,de,Se,Ie,It,ci,Mt,Ei,Bi,Oi,Le,Rt,Lt,zi,Nt,oi,on,Zi,di,Di,Ai,Li,mi,Vi,ki,hi,li,yi,Ii,Ht,Ut,Mi,xt,fe,ti,en,hn,jn,ai,yn,G,Q,Pt,rt,tt,pt,Yt,$t,si,vi,Ui,n,p,g,_,A,w,S,U,Y,q,ne,X,Cn,pn,Sn,On,ln,zn]}class p6 extends ye{constructor(e){super(),ke(this,e,h6,m6,_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},d6,[-1,-1,-1,-1,-1])}}function v6(i){Ue(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(
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 Qc=Object.defineProperty,Jc=Object.defineProperties;var xc=Object.getOwnProp
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 b6(i){let e,t,n;function o(s){i[54](s)}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 l6({props:l}),je.push(()=>yt(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&2&&(a.title=s[1]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function _6(i){let e,t,n;function o(s){i[53](s)}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 v6({props:l}),je.push(()=>yt(e,"videoContainer",o)),{c(){H(e.$$.fragment)},m(s,r){D(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],kt(()=>t=!1)),e.$set(a)},i(s){n||(d(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){F(e,s)}}}function w6(i){let e,t,n,o;const l=[_6,b6],s=[];function r(a,c){return a[15]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=_("div"),n.c(),u(e,"class","root v-labq99")},m(a,c){y(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(me(),v(s[f],1,1,()=>{s[f]=null}),he(),n=s[t],n?n.p(a,c):(n=s[t]=l[t](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){v(n),o=!1},d(a){a&&k(e),s[t].d()}}}function k6(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:r}=e,{videoLogoUrl:a}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:g}=e,{autoplay:p}=e,{volume:b=void 0}=e,{muted:L=void 0}=e,{fromTime:w}=e,{canRewindLive:A}=e,{showAds:P}=e,{adsSlotId:I=void 0}=e,{adsParams:M=void 0}=e,{adsPreviewParam:J=void 0}=e,{duration:G=void 0}=e,{logoClickable:K}=e,{logoHidden:z}=e,{isMobile:re}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:Q=!1}=e,{prevButtonActive:T=!1}=e,{endScreenVideoTitle:j=void 0}=e,{endScreenVideoThumb:ae=void 0}=e,{isOneVideoPlaylist:C=!1}=e,{supportLink:$}=e,{outerContainerRef:oe=void 0}=e,{fullScreenTarget:Ce=void 0}=e,{failoverHosts:pe=void 0}=e,{showMiniTimer:Ee=!1}=e,{playNextVideo:ye=it}=e,{playPrevVideo:U=it}=e,{repeatPlaylist:E=it}=e,{seekToInteractive:se=it}=e,{toggleGraph:q=it}=e,{playPrevChapter:Te=it}=e;O0(l);const O=xi(),Y=o.ui.debugPanelVisible,Ie=o.ui.playerSize;let Pe,ve=null,ee=!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);const ue=(de=!1)=>{t(34,ee=!0),de?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function ge(de){var $e;const et=n||de;et&&o.initVideo({container:Pe,sources:et,failoverHosts:pe,subtitles:f});const xe=cn.get(Fl)==="true";Y.set(xe),w>0&&o.actions.external.seekTime(w);const Qe=re?O.volumeDefault:($e=b!=null?b:au())!=null?$e:O.volumeDefault,Ge=L!=null?L:X0();if(o.actions.external.setVolume(Qe),o.actions.external.setMuted(Ge),o.getAdmanWrapper().setInitialVolume(Ge?0:Qe),O.features.trafficSaving){const lt=J0();lt&&o.actions.internal.setTrafficSavingEnabled(lt)}const Ye=K0(o.videoId);Ye&&o.actions.internal.setQuality(Ye),o.ui.isAutoplay.set(p),p?ue():g&&O.features.preload&&o.actions.internal.preload()}const le=de=>{if(window.ResizeObserver){let et,xe;ve=new ResizeObserver(U1(Qe=>{const Ge=Qe[0];if(Ge){if(Ge.contentBoxSize){const Ye=Array.isArray(Ge.contentBoxSize)?Ge.contentBoxSize[0]:Ge.contentBoxSize;et=Ye.inlineSize,xe=Ye.blockSize}else Ge.contentRect&&(et=Ge.contentRect.width,xe=Ge.contentRect.height);Ie.set({width:et,height:xe})}},$1)),ve.observe(de)}Ie.set({width:de.clientWidth,height:de.clientHeight})};Ji(()=>{if(le(Pe),(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 ge(),()=>{ve==null||ve.disconnect(),o.destroy()}});function Ze(){ee?o.actions.external.play():ue(!0)}function He(){o.actions.external.pause()}function at(de){re||o.actions.external.setMuted(de)}function nt(de){re||de>=0&&de<=1&&o.actions.external.setVolume(de)}function Oe(de){o.actions.internal.seekTime(de,zt.UNKNOWN)}function ft(de){o.actions.external.seekEpisodeStartTime(de)}function wt(de){o.actions.external.setPlaybackRate(de)}function Me(de){o.actions.external.setAutoQualityLimits(de)}function Ne(de){Pe=de,t(33,Pe)}function Dt(de){Pe=de,t(33,Pe)}return i.$$set=de=>{"sources"in de&&t(37,n=de.sources),"store"in de&&t(0,o=de.store),"uiConfig"in de&&t(38,l=de.uiConfig),"title"in de&&t(1,s=de.title),"thumbUrl"in de&&t(2,r=de.thumbUrl),"videoLogoUrl"in de&&t(3,a=de.videoLogoUrl),"interactiveContainer"in de&&t(4,c=de.interactiveContainer),"subtitles"in de&&t(39,f=de.subtitles),"live"in de&&t(5,h=de.live),"preload"in de&&t(40,g=de.preload),"autoplay"in de&&t(6,p=de.autoplay),"volume"in de&&t(41,b=de.volume),"muted"in de&&t(42,L=de.muted),"fromTime"in de&&t(43,w=de.fromTime),"canRewindLive"in de&&t(7,A=de.canRewindLive),"showAds"in de&&t(8,P=de.showAds),"adsSlotId"in de&&t(9,I=de.adsSlotId),"adsParams"in de&&t(10,M=de.adsParams),"adsPreviewParam"in de&&t(11,J=de.adsPreviewParam),"duration"in de&&t(12,G=de.duration),"logoClickable"in de&&t(13,K=de.logoClickable),"logoHidden"in de&&t(14,z=de.logoHidden),"isMobile"in de&&t(15,re=de.isMobile),"showNextPrevButtons"in de&&t(16,te=de.showNextPrevButtons),"nextButtonActive"in de&&t(17,Q=de.nextButtonActive),"prevButtonActive"in de&&t(18,T=de.prevButtonActive),"endScreenVideoTitle"in de&&t(19,j=de.endScreenVideoTitle),"endScreenVideoThumb"in de&&t(20,ae=de.endScreenVideoThumb),"isOneVideoPlaylist"in de&&t(21,C=de.isOneVideoPlaylist),"supportLink"in de&&t(22,$=de.supportLink),"outerContainerRef"in de&&t(23,oe=de.outerContainerRef),"fullScreenTarget"in de&&t(24,Ce=de.fullScreenTarget),"failoverHosts"in de&&t(44,pe=de.failoverHosts),"showMiniTimer"in de&&t(25,Ee=de.showMiniTimer),"playNextVideo"in de&&t(26,ye=de.playNextVideo),"playPrevVideo"in de&&t(27,U=de.playPrevVideo),"repeatPlaylist"in de&&t(28,E=de.repeatPlaylist),"seekToInteractive"in de&&t(29,se=de.seekToInteractive),"toggleGraph"in de&&t(30,q=de.toggleGraph),"playPrevChapter"in de&&t(31,Te=de.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(re)},[o,s,r,a,c,h,p,A,P,I,M,J,G,K,z,re,te,Q,T,j,ae,C,$,oe,Ce,Ee,ye,U,E,se,q,Te,Oe,Pe,ee,O,ue,n,l,f,g,b,L,w,pe,ge,Ze,He,at,nt,ft,wt,Me,Ne,Dt]}class y6 extends ke{constructor(e){super(),we(this,e,k6,w6,_e,{sources:37,store:0,uiConfig:38,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:39,live:5,preload:40,autoplay:6,volume:41,muted:42,fromTime:43,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:44,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:45,play:46,pause:47,setMuted:48,setVolume:49,seekTime:32,seekEpisodeStartTime:50,setPlaybackRate:51,setAutoQualityLimits:52},g6,[-1,-1])}get initVideo(){return this.$$.ctx[45]}get play(){return this.$$.ctx[46]}get pause(){return this.$$.ctx[47]}get setMuted(){return this.$$.ctx[48]}get setVolume(){return this.$$.ctx[49]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[50]}get setPlaybackRate(){return this.$$.ctx[51]}get setAutoQualityLimits(){return this.$$.ctx[52]}}function C6(i){let e,t;return{c(){e=R("svg"),t=R("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){y(n,e,o),m(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:Z,o:Z,d(n){n&&k(e)}}}function P6(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 S6 extends ke{constructor(e){super(),we(this,e,P6,C6,_e,{isWhite:1})}}function T6(i){De(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 O1(i){let e,t;return{c(){e=_("div"),t=Fe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){y(n,e,o),m(e,t)},p(n,o){o&1&&Je(t,n[0])},d(n){n&&k(e)}}}function z1(i){let e,t;return e=new S6({props:{isWhite:!!i[1]}}),{c(){H(e.$$.fragment)},m(n,o){D(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function E6(i){let e,t,n,o,l=i[0]&&O1(i),s=(!i[0]||!i[1])&&z1(i);return{c(){e=_("div"),l&&l.c(),t=B(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(r,a){y(r,e,a),l&&l.m(e,null),m(e,t),s&&s.m(e,null),o=!0},p(r,[a]){r[0]?l?l.p(r,a):(l=O1(r),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!r[0]||!r[1]?s?(s.p(r,a),a&3&&d(s,1)):(s=z1(r),s.c(),d(s,1),s.m(e,null)):s&&(me(),v(s,1,1,()=>{s=null}),he()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(s),o=!0)},o(r){v(s),o=!1},d(r){r&&k(e),l&&l.d(),s&&s.d()}}}function A6(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 L6 extends ke{constructor(e){super(),we(this,e,A6,E6,_e,{title:0,thumbUrl:1},T6)}}class D1{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 s=n[o];try{s.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class Fc extends D1{constructor(){super(),this.listeners||D1.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 V6=class{constructor(){Object.defineProperty(this,"signal",{value:new Fc,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&&(V6.prototype[Symbol.toStringTag]="AbortController",Fc.prototype[Symbol.toStringTag]="AbortSignal");function Hc(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 I6(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Hc({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 g=new t(c,f);return h&&Object.defineProperty(g,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),g},l.prototype=t.prototype);const s=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(p){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((p,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,s(a,c)])}return s(a,c)},Request:l}}const as=Hc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Uc=as?I6({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,M6=as?Uc.fetch:window.fetch;as?Uc.Request:window.Request;const R6=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,N6="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class B6{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 s;const r=()=>{clearTimeout(s),delete window.admanAsyncInit,window.AdmanHTML?o():l()};u0(N6,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=r,s=window.setTimeout(r,this.initTimeout))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{_t(this.adsState),_t(this.playerState),_t(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"}),rt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Zt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{_t(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{_t(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Zt.PAUSED)},this.onAdPlayed=()=>{_t(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Zt.PLAYING)},this.onAdMidrollPoint=()=>{_t(this.adman),_t(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Midroll,this.adman.start(yn.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:s,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:h}=e;let g;const p=this.playerState&&rt(this.playerState.vsid);p&&(g=parseInt(p,36));const b=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:R6(t,n),puid11:o?0:1,preview:h},g?{request_id:g}:{}),{duration:f}),c),L={slot:a,wrapper:s,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},w=new window.AdmanHTML;w.setDebug(!1),w.onReady(this.onAdsReady),w.onStarted(this.onAdStarted),w.onPlayed(this.onAdPlayed),w.onPaused(this.onAdPaused),w.adMidrollPoint(this.onAdMidrollPoint),w.onClosed(this.onAdClosed),w.onSkipped(this.onAdSkipped),w.onClicked(this.onAdClicked),w.onTimeRemained(this.onAdTimeRemained),w.onCompleted(this.onAdCompleted),w.onError(this.onAdError),w.init(L),this.adman=w,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(L)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}_t(this.actions),_t(this.adsState),_t(this.playerState);const t=this.currentAdSection===yn.Postroll;this.adsState.playbackState.set(Zt.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(){_t(this.adsState),this.log({message:"toggle play"});const e=rt(this.adsState.playbackState);e===Zt.PLAYING?this.pause():e===Zt.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(){_t(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=yn.Preroll,this.adman.start(yn.Preroll)}startPostroll(){_t(this.adman),_t(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=yn.Postroll,this.adman.start(yn.Postroll)}play(){_t(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){_t(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){_t(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 O6=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 z6{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:""},s=o.split(this.oneLineRegExp);for(const r of s)if(!l.startTime&&!l.endTime){const a=new jc,{startTime:c,endTime:f}=a.parse(r);l.startTime=c,l.endTime=f}else if(r.trim()!==""){const a=new D6,{texts:c}=a.parse(r);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class jc{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,s=Number(t)*60,r=Number(n),a=+`0.${o}`;return l+s+r+a}}class D6{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let r=0;const a=[];for(;r<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,r);return f===-1||f>g?g:f},-1);if(c===-1){a.push(s.substring(r));break}a.push(s.substring(r,c)),r=c+1}return a}}),l=new jc;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let Nn,Rt,Rl=0,Nl=!1;const F6=(i,e,t)=>{var n;const o=i>=Rl,l=i<Rl,s=(f,h=0,g=0)=>f<h&&f<g,r=(f,h=0,g=0)=>f>=h&&f<=g,a=(f,h=0,g=0)=>f>h&&f>g,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Rl=i,l&&(Nl=!1),an(Nn)&&r(i,Nn.startTime,Nn.endTime)&&Nn.lang===e.value)return Nn;if(!an(Rt)&&(c!=null&&c.length)&&!Nl){const f=c.find(({startTime:h,endTime:g})=>r(i,h,g)||o&&s(i,h,g));Rt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Nn=void 0,!an(Rt)&&c[c.length-1].endTime<i&&(Nl=!0);return}else{if(r(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime))return Nn=Rt,Rt=void 0,Nn;(o&&a(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime)||l&&s(i,Rt==null?void 0:Rt.startTime,Rt==null?void 0:Rt.endTime))&&(Rt=void 0)}},Bl={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 Yo=null;class Po{constructor(e,t){if(!Yo){const n=new _0(e,t),o=new so;Yo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Yo=null}})}}static getInstance(){return Yo}}const H6=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:p,disabledControls:b,isInteractive:L,interactiveRanges:w,replayInteractive:A,hasInteractiveBranches:P,playPrevChapterDisabledTooltip:I,additionalButtons:M,looped:J=!1})=>{var G,K,z,re;const te=Object.assign(Object.assign({},g),{configName:[...(G=g.configName)!==null&&G!==void 0?G:[],"ui"],isAudioDisabled:l,live:Object.assign(Object.assign({},(K=g.live)!==null&&K!==void 0?K:{}),{isLiveCatchUpMode:!!n})}),Q=h,T=p||new i0(te);T.setLooped(J);const j=new W1,ae=new B6(j,{loadTimeout:Q.ads.loadTimeout,initTimeout:Q.ads.initTimeout}),C=Po.getInstance(),$=Wl.getInstance(),oe=a==null?void 0:a.pictureInPictureApi,Ce=a==null?void 0:a.annotationsApi,pe=j.createComponentLog("Store");let Ee,ye,U={};const E=Yl(),se=C?bt(C.oneStat.vsid$):pn(void 0),q=Ue(Eo()),Te=(z=oe==null?void 0:oe.info.isActive$)!==null&&z!==void 0?z:new Gl(!1),O=oe==null?void 0:oe.info.type,Y=Ue(0),Ie=Ue([]),Pe=c0(T.events.fatalError$,T.events.managedError$).subscribe(S=>Ie.update(x=>[...x,S])),ve=pn(!1,S=>{const x=T.events.fatalError$.subscribe(()=>S(!0));return()=>x.unsubscribe()}),ee=S=>Gi(void 0,void 0,void 0,function*(){var x;const be=Object.values(Ao).includes(S);if(Q.downloadVKLanguages&&(be&&Q.updateBuiltinLanguages||!Zs(S))){let We;try{We=yield m0(S,z0,D0)}catch(mt){(x=C==null?void 0:C.oneStat)===null||x===void 0||x.logError({errorType:"VKLangPack",fatal:!1}),$==null||$.report(mt,{errorType:"VKLangPack",fatal:!1})}We&&(Ws({language:S,pack:We,fallback:Q.defaultLanguage}),ue.set(S))}Zs(S)&&ue.set(S)}),ue=Ue(i);ee(i);const ge=(S,x)=>{const be=rt(ue);return Wu(be,S,x,Q.defaultLanguage)},le=Ue(Re.Thumb),Ze=ei([ve,le],([S,x])=>S?Re.Crashed:x),He=(()=>{const S=Ue(new Set(b));return Object.assign(Object.assign({},S),{add:x=>{S.update(be=>new Set([...be].concat(x)))},remove:x=>{S.update(be=>{const Be=[...be];return new Set(Array.isArray(x)?Be.filter(We=>!x.includes(We)):Be.filter(We=>We!==x))})},includes:x=>{const be=rt(S);return Array.isArray(x)?x.every(Be=>be.has(Be)):be.has(x)}})})();pe({message:"create store"});const at=S=>{pe({message:`init video, config: ${JSON.stringify(S)}`}),L?S.container.append(T.experimental.element$.getValue()):T.initVideo(S),S.subtitles&&T.setExternalTextTracks(S.subtitles),Ee=S},nt=new tn,Oe=S=>nt.next(S),ft=new tn,wt=new tn,Me=new tn,Ne={actionRewind$:ft,actionSeek$:wt,inPiP$:Te,inFullscreen$:new f0(S=>q.subscribe(x=>S.next(x))),actionSetSubtitle$:Me,nextMovie$:nt};if(C){const{oneStat:S,statSubscription:x}=C;x.add(S.attachTo(T)),x.add(S.attachToUi(Ne)),x.add(S.attachToAds(ae.events)),S.authorize(o).catch(be=>{pe({message:`onestat auth error ${String(be)}`})})}if($){const S=new so,x=(be,Be)=>S.add(be.subscribe(Be));if(x(T.events.managedError$,be=>{$.logIError(be)}),x(T.events.fatalError$,be=>{$.logIError(be,!0)}),C){const{oneStat:be}=C;x(be.experimental.error$,Be=>{$.logIError(Be)})}$.sentrySubscription.add(S)}const Dt=()=>{q1()&&ye&&R4(ye)},de=new so().add(T.experimental.element$.subscribe(S=>{S&&(ye=S,S.classList.add("player-media"),el(oe)&&(oe.updateVideoElement(),oe.registryEventHandlers()),L&&S.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{var S;Dt(),(S=r==null?void 0:r.onEnded)===null||S===void 0||S.call(r)})).add(T.events.started$.subscribe(()=>Gi(void 0,void 0,void 0,function*(){var S,x;el(oe)&&(yield oe==null?void 0:oe.revealPictureInPicture());const be=T.info.muted$.getValue();(S=r==null?void 0:r.onStarted)===null||S===void 0||S.call(r),(x=U.onStarted)===null||x===void 0||x.call(U,be)}))).add(T.events.willSeek$.subscribe(({from:S,to:x})=>{var be;(be=r==null?void 0:r.onSeek)===null||be===void 0||be.call(r,S,x)})).add(T.info.position$.subscribe(S=>{var x;const be=T.info.duration$.getValue();(x=r==null?void 0:r.onTimeupdate)===null||x===void 0||x.call(r,be,S),ae.setPosition(S,be)})).add(T.events.fatalError$.subscribe(()=>{var S;(S=r==null?void 0:r.onCrashed)===null||S===void 0||S.call(r)})).add(T.info.is3DVideo$.subscribe(S=>{Ot.ui.is3DVideo.set(S)})).add(T.info.isEnded$.subscribe(S=>{L&&(S?(rt(ul)&&He.add(Co),He.add(ht.PLAY_BUTTON)):He.remove(ht.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(S=>{var x;(x=r==null?void 0:r.onLiveTime)===null||x===void 0||x.call(r,S)})),et=new so,xe=()=>{et.add(T.events.log$.subscribe(S=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${S.component}`,S.message)})).add(j.log$.subscribe(S=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${S.component}.`,S.message)}))},Qe=()=>{et.unsubscribe()},Ge=(S,x)=>{T.startCameraManualRotation(S,x)},Ye=(S=!1)=>{T.stopCameraManualRotation(S)},$e=(S,x,be)=>{T.moveCameraFocusPX(S,x,be)},lt=()=>{T.holdCamera()},ot=()=>{T.releaseCamera()},ze=pn(T.info.position$.getValue(),S=>{let x,be;const Be=()=>{const We=T.info.playbackState$.getValue(),mt=T.info.isLive$.getValue(),Lt=T.info.duration$.getValue(),gt=T.info.position$.getValue();if([Ti.PLAYING,Ti.PAUSED].includes(We)){const Hi=mt?gt-Lt:T.getExactTime();Hi!==be&&S(Hi),be=Hi}x=requestAnimationFrame(Be)};return Be(),()=>cancelAnimationFrame(x)}),Vt=bt(Te),Pt=bt(T.info.playbackState$),st=bt(T.info.currentBuffer$),si=bt(T.info.isEnded$),dt=bt(T.info.isLive$),Ke=Q.features.playbackRate?bt(T.info.canChangePlaybackSpeed$):pn(!1),At=bt(T.info.liveBufferTime$),ut=bt(T.info.volume$),bi=bt(T.info.muted$),fe=nu(T.info.autoQualityLimits$.pipe(d0(({max:S})=>S!==void 0)),((re=T.info.autoQualityLimits$.getValue())===null||re===void 0?void 0:re.max)!==void 0),Se=bt(T.info.autoQualityLimitingAvailable$),Ve=bt(T.info.availableQualities$),It=bt(T.info.availableQualitiesFps$),xt=bt(T.info.chromecastState$),Ae=bt(T.info.chromecastDeviceName$),ii=bt(T.info.currentFormat$),ri=bt(T.info.throughputEstimation$),Ft=bt(T.info.videoBitrate$),Ii=bt(T.info.intrinsicVideoSize$),Ht=bt(T.info.duration$),Yi=bt(T.info.isAudioAvailable$);let ai=null;const Mi=T.info.isBuffering$,St=pn(Mi.getValue(),S=>{const x=Mi.subscribe(be=>{be&&ai===null?ai=window.setTimeout(()=>{S(Mi.getValue()),ai=null},Q.loaderDelay):S(be)});return()=>{x.unsubscribe(),ai&&clearTimeout(ai)}}),nn=()=>{ai&&clearTimeout(ai),ai=null},ni=ei([Ht,dt],([S,x])=>x?-S:S),on=ei([Pt],([S])=>S===Ti.PLAYING),Tt=bt(T.info.atLiveEdge$),Ri=bt(T.info.atLiveDurationEdge$),ui=bt(T.info.position$),Ei=ei([ui,Ht],([S,x])=>isFinite(S)&&isFinite(x)&&!!x),Ui=ei([xt],([S])=>S===gn.CONNECTED),oi=Ue(void 0),Ni=bt(T.info.isAutoQualityEnabled$,S=>S&&oi.set(void 0)),Ai=bt(T.info.currentQuality$,()=>oi.set(void 0)),Li=ei([oi,Ai],([S,x])=>S!=null?S:x),Yt=ei([Ve,It,Ni,Li,ii],([S,x,be,Be,We])=>{const mt=[];We!==wo.MPEG&&mt.push({value:ao.AUTO,displayValue:ge("auto_quality_option"),selected:be});const Lt=S.filter(gt=>gt!==Ko.INVARIANT);for(const gt of Lt){const Hi=x[gt],zo=gt===Ko.INVARIANT?ge("auto_quality_option"):gt;mt.push({value:gt,displayValue:`${zo}${Hi?O6(Hi):""}`,selected:be?!1:gt===Be})}return mt}),ci=bt(T.info.currentPlaybackRate$),_i=ei([ci,Tt,Ri],([S,x,be])=>{const Be=be||L?1:Q.controls.playbackRateMin,We=x?1:Q.controls.playbackRateMax,mt=Q.controls.playbackRateStep,Lt=[];for(let gt=Be;gt<=We;gt+=mt)Lt.push({value:gt,displayValue:gt===1?ge("playback_rate_1"):ge("playback_rate",{multiplier:gt.toString(10)}),selected:S===gt});return Lt}),ji=Q.features.subtitles?bt(T.info.availableTextTracks$):pn([]),fi=ei([ji],([S],x)=>{const be=[],Be=[];for(const We of S)We.url&&be.push(M6(We.url));Promise.allSettled(be).then(We=>{for(const[mt,Lt]of We.entries())Lt.status==="fulfilled"&&Lt.value.text().then(gt=>{const Hi=new z6,zo=S[mt].language,Xc=!!S[mt].isAuto,ds=Hi.parse(gt);zo&&ds&&Be.push({lang:zo,subtitles:ds,isAuto:Xc}),mt===We.length-1&&x(Be)})})}),Bt={displayValue:ge("subtitles_off"),value:"off"},li=Ue(Object.assign({},Bt)),Bi=ei([fi,li,fi],([S,x])=>{if((S==null?void 0:S.length)>0){const be=[Object.assign(Object.assign({},Bt),{selected:(x==null?void 0:x.value)===Bt.value})];for(const{lang:Be,isAuto:We}of S)Bl[Be]&&be.push({displayValue:We?ge("subtitles_auto",{language:Bl[Be]}):Bl[Be],value:Be,selected:(x==null?void 0:x.value)===Be,isAuto:We});return be}else return[]}),Ki=ei([ze,li,fi],([S,x,be])=>{if(x&&x.value!==Bt.value)return F6(S,x,be)}),di=ei([Ki],([S])=>S!=null&&S.texts?S.texts:[]),Oi=Ue(!0),zi=ei([st,ni,ui,At],([S,x,be,Be])=>{var We;const mt=(We=S==null?void 0:S.end)!==null&&We!==void 0?We:0;if(!Be)return mt/x;const gt=-be+Be-x;return(mt-gt)/x}),mi=bt(T.info.availableSources$),wi=ei([mi],([S])=>Object.keys((S==null?void 0:S[wo.MPEG])||{}).length>0),qi=()=>{var S,x,be;const Be=Object.keys(((x=(S=T.info.availableSources$)===null||S===void 0?void 0:S.getValue())===null||x===void 0?void 0:x[wo.MPEG])||{}),We=h0(Be)||Ko.Q_144P;return(be=Ee.sources[wo.MPEG])===null||be===void 0?void 0:be[We]},Kt=()=>{var S;const x=qi();x?G0(x,((S=Ee==null?void 0:Ee.meta)===null||S===void 0?void 0:S.title)||"video"):pe({message:"There is no URL for download video"})},Ut=()=>{pe({message:"toggle muted"});const S=T.info.muted$.getValue(),Be=!(T.info.volume$.getValue()===0||S);jt(Be)},ki=(S,x=S,be=!1)=>{var Be,We,mt;const Lt=!be,gt=T.info.muted$.getValue();pe({message:`set volume, volume: ${S}, preferredVolume: ${x}, internalCall: ${Lt}`}),T.setVolume(S),ae.setVolume(S),Lt&&((Be=r==null?void 0:r.onVolumeChange)===null||Be===void 0||Be.call(r,S)),_s(x),gt?(T.setMuted(!1),Lt&&((We=r==null?void 0:r.onUnmute)===null||We===void 0||We.call(r)),ml(!1)):!gt&&S===0&&(T.setMuted(!0),Lt&&((mt=r==null?void 0:r.onMute)===null||mt===void 0||mt.call(r)),ml(!0))},jt=(S,x=!1)=>{var be,Be,We,mt;const Lt=!x,gt=T.info.volume$.getValue();if(pe({message:`set muted, currentVolume: ${gt}, mute: ${S}, internalCall: ${Lt}`}),T.setMuted(S),ae.setVolume(S?0:gt),ml(S),Lt&&(S?(be=r==null?void 0:r.onMute)===null||be===void 0||be.call(r):(Be=r==null?void 0:r.onUnmute)===null||Be===void 0||Be.call(r)),gt===0){let Hi=(We=au())!==null&&We!==void 0?We:Q.volumeDefault;Hi===0&&(Hi=Q.volumeMinRestore,_s(Hi)),T.setVolume(Hi),ae.setVolume(Hi),Lt&&((mt=r==null?void 0:r.onVolumeChange)===null||mt===void 0||mt.call(r,Hi))}},Xt=()=>{T.prepare()},hi=()=>{var S,x;if(_t(Ot),!rt(Ot.ui.controls.disabledControls$).has(ht.PLAY_BUTTON)){if(pe({message:"toggle play"}),rt(Ot.playerPhase)===Re.Ads){ae.togglePlay();return}if(T.info.playbackState$.getValue()!==Ti.PLAYING){if(T.info.isEnded$.getValue()){if(pe({message:"toggle play, video ended, seek to 0"}),ft.next(),wt.next(zt.REWIND),L){A==null||A();return}T.seekTime(0)}pe({message:"toggle play, call player.play"}),T.play(),(S=r==null?void 0:r.onPlay)===null||S===void 0||S.call(r)}else pe({message:"toggle play, call player.pause"}),T.pause(),(x=r==null?void 0:r.onPause)===null||x===void 0||x.call(r)}},yi=S=>{pe({message:`set quality, quality: ${S}`}),T.setAutoQuality(S===ao.AUTO),S!==ao.AUTO?(Y0(e,S),oi.set(S),T.setQuality(S)):uu()},Vi=S=>{pe({message:`set trafficSavingEnabled, value: ${S}`}),T.setAutoQualityLimits({max:S?Q.trafficSavingLimit:void 0}),Q0(S)},Ci=S=>{T.setPlaybackRate(S)},Di=()=>{const S=rt(_i),x=S.findIndex(({selected:Be})=>Be);if(x===S.length-1)return;const be=S[x+1];Ci(be.value)},Fi=()=>{const S=rt(_i),x=S.findIndex(({selected:Be})=>Be);if(x===0)return;const be=S[x-1];Ci(be.value)},Pi=S=>{S&&S.value!==Bt.value&&Me.next(S.isAuto?S.value+"_auto":S.value),li.set(S)},Xi=()=>{const S=rt(Bi),x=rt(li),be=rt(ue);if((x==null?void 0:x.value)===Bt.value){const Be=S.filter(We=>We.value!==Bt.value).find(We=>We.value===be)||S[1];Pi(Be!=null?Be:Object.assign({},Bt))}else Pi(Object.assign(Object.assign({},Bt),{selected:!1}))},Qt=(S,x,be=!0)=>{if(pe({message:`seek to time, time: ${S}`}),wt.next(x),T.info.isLive$.getValue()){const Be=T.info.duration$.getValue(),We=Math.min(0,Be+S);T.seekTime(We,be)}else{if(rt(ul))return;T.seekTime(fs(S),be)}},qt=S=>{pe({message:`seek to episode start time: ${S}`}),Qt(S,zt.EPISODE,!0)},Mt=(S,x)=>{pe({message:`seek to percent, percent: ${S}`});const be=Math.round(rt(ni)*S);Qt(be,x,!1)},Wi=S=>{pe({message:`seek external, time: ${S}`}),wt.next(zt.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-S:S)},Jt=S=>{var x,be;pe({message:`set auto quality limitation. Max: ${(x=S.max)!==null&&x!==void 0?x:"none"}. Min: ${(be=S.min)!==null&&be!==void 0?be:"none"}`}),T.setAutoQualityLimits(S)},ce=S=>{pe({message:`seek external to episode start time: ${S}`}),Qt(S,zt.EPISODE,!0)},$t=S=>{pe({message:`set playback rate to: ${S}`}),T.setPlaybackRate(S)},$i=Ue(void 0),fn=Ue(!1),In=S=>{pe({message:`start scrubbing, progress: ${S}`}),fn.set(!0),Mn(S)},Mn=S=>{$i.set(S)};let dn,Qi;const _n=()=>{$i.set(void 0),fn.set(!1)},wn=()=>{clearTimeout(Qi),clearTimeout(dn),dn=window.setTimeout(()=>{_n()},500),ye==null||ye.removeEventListener("seeked",wn)},Dn=S=>{pe({message:`complete scrubbing, progress: ${S}`}),Mt(S,zt.SLIDER),rt(Ot.ui.isMobile)&&rt(Ot.state.currentFormat$)===wo.HLS?(ye==null||ye.addEventListener("seeked",wn),Qi=window.setTimeout(()=>{wn()},300)):_n()},Fn=ei([ze,ni,$i],([S,x,be],Be)=>{Be(an(be)?be*x:S)}),Rn=Ue({width:0,height:0}),X=ei([Rn],([{width:S}],x)=>{const be=q3(S);x(be)}),pt=Ue(!1),mn=ei([X,pt],([S,x])=>x?M.filter(be=>!be.hideOnMobile):M.filter(be=>{var Be;return!(!((Be=be.hideOnDesktopGridTypes)===null||Be===void 0)&&Be.includes(S))})),en=ei([pt,ve],([S,x],be)=>{be(S&&x)}),hn=()=>{wt.next(zt.LIVE),pe({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==Ti.PLAYING&&Ot.actions.internal.togglePlay()},ln=()=>ae.skip(),ho=(S=!0)=>{_t(Ot),pe({message:`switch from ads to video, callPlay: ${S}`}),le.set(Re.Video),S&&T.play()},po=()=>{_t(Ot),pe({message:"switch from video to ads"}),Ot.actions.internal.pause(),Dt(),le.set(Re.Ads)},vo=S=>{_t(Ot);const x=S?Re.WaitingLive:Re.Thumb;le.set(x)},go=S=>{_t(Ot);const x=S?Re.WaitingRecord:Re.Thumb;le.set(x)},bo=()=>(_t(Ot),W0(T,Ee,Ot)),_o=()=>(_t(Ot),Z0(T,Ee,Ot)),Yn=()=>ye,Kn=()=>{pe({message:"toggle chromecast"}),T.toggleChromecast()},ie=S=>{var x;_t(Ot);const be=!S;if(rt(Ot.playerPhase)===Re.Ads){pe({message:`pause ads, internalCall: ${be}`}),ae.pause();return}pe({message:`pause video, internalCall: ${be}`}),be&&((x=r==null?void 0:r.onPause)===null||x===void 0||x.call(r)),T.pause()},Hn=S=>{var x;_t(Ot);const be=!S;if(rt(Ot.playerPhase)===Re.Ads){pe({message:`play ads, internalCall: ${be}`}),ae.play();return}pe({message:`play video, internalCall: ${be}`}),be&&((x=r==null?void 0:r.onPlay)===null||x===void 0||x.call(r)),T.play()},N=(S,x)=>{_t(Ot),pe({message:`first start, show ads: ${S}, internalCall: ${!x}`}),S?le.set(Re.Ads):(le.set(Re.Video),x?T.play():Ot.actions.internal.togglePlay())},tt=()=>(pe({message:"getting time codes"}),c),pi=()=>{const S=tt();if(!S||[0,1].includes(S.length))return;const x=T.info.position$.getValue();return S.find(be=>be.time>x)},Si=S=>{let x=S;x||(x=pi()),x&&(pe({message:"seek to next episode"}),Qt(x.time,zt.EPISODE,!0))},kn=()=>{const S=tt();if(!S||[0,1].includes(S.length))return;const x=T.info.position$.getValue(),be=S.findIndex(We=>We.time>x),Be=be===-1?S.length-2:be-2;if(!(Be<0))return S[Be]},Un=S=>{let x=S;x||(x=kn()),x&&(pe({message:"seek to prev episode"}),Qt(x.time,zt.EPISODE,!0))},Wc=()=>(pe({message:"getting preview thumbs data"}),f),Zc=()=>Gi(void 0,void 0,void 0,function*(){oe!=null&&oe.isActive()?yield oe==null?void 0:oe.remove():yield oe==null?void 0:oe.request()}),Gc=(S=-90)=>{Y.update(x=>x+S)},Oo=Ue(w),us=ei([Oo],([S=[]])=>{const x=[];for(let be=0;be<S.length;be++){const{range:[Be,We],subjects:mt}=S[be];be===0&&Be!==0&&x.push({time:0,text:""}),x.push({time:Be/1e3,text:"",interactive:!0,completed:!mt.length}),We!==1/0&&x.push({time:We/1e3,text:"",interactive:!1,completed:!mt.length})}return x}),Yc=S=>{const x=rt(Oo);Oo.set(x.map(be=>Object.assign(Object.assign({},be),{subjects:be.subjects.filter(Be=>Be!==S)})))},cs=Ue(!1),ul=ei([ui,Oo,cs],([S,x,be])=>{if(!L)return!1;if(be)return!0;const Be=S*1e3,We=x==null?void 0:x.find(({range:[mt,Lt],subjects:gt})=>mt<Be&&Be<Lt&&gt.length);return We&&rt(fn)&&_n(),!!We}),fs=S=>{if(!L)return S;const x=rt(us),be=rt(ni),We=rt(ui)/be,mt=x.find(Lt=>Lt.interactive&&!Lt.completed&&Lt.time>We);return typeof(mt==null?void 0:mt.time)=="number"?Math.min(S,mt.time-.05):S},Kc=()=>{clearTimeout(Qi),clearTimeout(dn),de.unsubscribe(),et.unsubscribe(),T.destroy(),ae.destroy(),C==null||C.destroy(),$==null||$.destroy(),Pe.unsubscribe()},Ot={interfaceLanguage$:ue,initVideo:at,videoId:e,isClip:t,playerPhase:Ze,vsid:se,state:{positionExact$:ze,positionWithScrubbing$:Fn,duration$:ni,playbackState$:Pt,isPlaying$:on,isLoaderVisible:St,bufferedProgress$:zi,isLive$:dt,canChangePlaybackSpeed$:Ke,isActiveLive$:Tt,isOldestAvailableLive$:Ri,isRewindableLive$:Ei,isEnded$:si,muted$:bi,volume$:ut,trafficSavingEnabled$:fe,autoQualityLimitingAvailable$:Se,currentQuality$:Li,isAutoQualityEnabled$:Ni,availableQualities$:Yt,currentPlaybackRate$:ci,availablePlaybackRates$:_i,currentSubtitle$:li,availableSubtitlesList$:Bi,currentSubtitleCaptions$:di,isAutoSubtitleCaptionVisible$:Oi,chromecastState$:xt,chromecastDeviceName$:Ae,chromecastConnected$:Ui,currentFormat$:ii,throughputEstimation$:ri,videoBitrate$:Ft,videoSize$:Ii,errorLog$:Ie,crashed$:ve,isAudioAvailable$:Yi,isAudioDisabled:!!l,canDownload:Q.features.download&&!!s,availableSources$:mi,hasMpegSources$:wi,isInteractive:L,isInteractiveGraphEnabled:Q.features.interactiveGraph,isSeekToInteractiveEnable:Q.features.seekToInteractive,isPlayPrevChapterEnabled:Q.features.interactivePlayPrevChapter,interactiveEpisodes$:us,isInteractiveTime$:ul,graphIsOpened$:Ue(!1),isInteractiveExpectation$:cs,hasInteractiveBranches:P,playPrevChapterDisabledTooltip:I},ui:{controlsVisible:Ue(!1),touched:Ue(!1),controls:{prevButton:Ue(void 0),playButton:Ue(void 0),replayButton:Ue(void 0),nextButton:Ue(void 0),playPrevChapterButton:Ue(void 0),seekToInteractiveButton:Ue(void 0),interactiveGraphButton:Ue(void 0),liveButton:Ue(void 0),time:Ue(void 0),episodes:Ue(void 0),volume:Ue(void 0),subtitles:Ue(void 0),settings:Ue(void 0),chromecast:Ue(void 0),fullscreen:Ue(void 0),vkLogo:Ue(void 0),additionalButtons:M.length?M.reduce(S=>[...S,Ue(void 0)],[]):[],disabledControls$:He},modals:{hotKeyMap:{show:Ue(!1),data:Ue({title:"",closeBtnText:"",groups:[]})}},isFullscreen:q,rotateAlpha:Y,isAutoplay:Ue(!1),contextMenuVisible:Ue(!1),debugPanelVisible:Ue(!1),playerSize:Rn,isMobile:pt,mobileNotReportControlHidden$:en,mobileUnmuteButtonExpanded:Ue(!1),mobileUnmuteButtonVisible:Ue(!1),icon3DVideoVisible:Ue(!1),settingsMenuVisible:Ue(!1),scrubbingInProgress:fn,is3DVideo:Ue(!1),isPictureInPictureActive$:Vt,pictureInPictureType$:pn(O),clientInfo$:pn(E),currentGridType$:X,additionalButtons$:mn,interactiveHideMobileControls:Ue(!1),overlayContainer$:Ue(void 0)},ads:{position:Ue(0),duration:Ue(0),playbackState:Ue(Zt.INACTIVE),canSkip:Ue(!1),secondsToWatchBeforeSkip:Ue(0),postrollPassed:Ue(!1)},webApi:{pictureInPictureApi:oe,annotationsApi:Ce},actions:{internal:{preload:Xt,firstStart:S=>N(S,!1),pause:()=>ie(!1),togglePlay:hi,toggleMuted:Ut,setVolume:ki,setQuality:yi,setTrafficSavingEnabled:S=>Vi(S),setPlaybackRate:Ci,incrementPlaybackRate:Di,decrementPlaybackRate:Fi,setSubtitle:Pi,toggleSubtitle:Xi,togglePictureInPicture:Zc,startScrubbing:In,progressScrubbing:Mn,completeScrubbing:Dn,toggleChromecast:Kn,switchToActiveLive:hn,switchFromAdsToVideo:ho,switchFromVideoToAds:po,skipAd:ln,setWaitingLive:vo,setWaitingRecord:go,getDebugTextData:bo,getDebugPanelData:_o,getVideoElement:Yn,seekTime:(S,x,be)=>Qt(S,x,be),clearDelayedBufferingCheckTimeout:nn,seekEpisodeStartTime:qt,seekToPercent:Mt,getNextEpisode:pi,seekToNextEpisode:Si,getPrevEpisode:kn,seekToPrevEpisode:Un,startLogging:xe,stopLogging:Qe,startCameraManualRotation:Ge,stopCameraManualRotation:Ye,moveCameraFocusPX:$e,holdCamera:lt,releaseCamera:ot,getVideoEpisodes:tt,getPreviewThumbsData:Wc,downloadVideo:Kt,addLanguage:Ws,setLanguage:ee,nextMovie:Oe,videoRotate:Gc,completeInteractiveRange:Yc,correctSeekTimeToInteractive:fs,replayInteractive:A},external:{firstStart:S=>N(S,!0),play:()=>Hn(!0),pause:()=>ie(!0),seekTime:S=>Wi(S),seekEpisodeStartTime:S=>ce(S),setPlaybackRate:S=>$t(S),setAutoQualityLimits:S=>Jt(S),setMuted:S=>jt(S,!0),setVolume:S=>ki(S,S,!0)}},callbacks:r,setUiCallbacks:S=>{U=Object.assign({},S)},getAdmanWrapper:()=>ae,getLogger:()=>j,destroy:Kc};return Ot};class U6{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 j6(i){let e,t,n,o;return{c(){e=R("svg"),t=R("g"),n=R("path"),o=R("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(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,s){y(l,e,s),m(e,t),m(t,n),m(t,o)},p:Z,i:Z,o:Z,d(l){l&&k(e)}}}class q6 extends ke{constructor(e){super(),we(this,e,null,j6,_e,{})}}function W6(i){De(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 Z6(i){let e,t,n,o,l,s,r;return n=new q6({}),{c(){e=_("div"),t=_("div"),H(n.$$.fragment),o=B(),l=_("span"),s=Fe(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){y(a,e,c),m(e,t),D(n,t,null),m(e,o),m(e,l),m(l,s),r=!0},p(a,[c]){(!r||c&2)&&V(t,"desktop",!a[1]),(!r||c&1)&&Je(s,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){v(n.$$.fragment,a),r=!1},d(a){a&&k(e),F(n)}}}function G6(i,e,t){let n,o;const l=Ct(),s=!!l.webApi.pictureInPictureApi,r=l.interfaceLanguage$;W(i,r,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&&ne("pip_dummy_title"))},[c,o,s,r,a,n]}class Y6 extends ke{constructor(e){super(),we(this,e,G6,Z6,_e,{},W6)}}const K6=460,X6=280;class qc{constructor(){this.info={isActive$:new Gl(!1),type:Pn.DocumentPictureInPicture}}isSupported(){const e=Yl().browser===j1.Yandex,{isEmbed:t}=p0();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}request(){var e,t;return Gi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:K6,height:X6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(r=>[...r.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),s=l.attachShadow({mode:"open"});s.append(o),s.append(this.playerDomElement),this.playerDummyElement=new Y6({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",r=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return Gi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return Gi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Q6(i){return i instanceof qc}class J6{static getLatestSupportedVersion(){const e=new ts,t=new qc;if(t.isSupported())return t;if(e.isSupported())return e}}function F1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const s of o)l[s]=(n=(t=e[s])!==null&&t!==void 0?t:i[s])!==null&&n!==void 0?n:void 0;return l}const H1="Inner error. Unexpectedly root annotation container null reference exception",x6="Annotation layer with such name already exists";class Ol extends Error{constructor(e){super(e),this.name="AnnotationError"}}class $6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Ol(H1);if(this.layers.has(e))throw new Ol(x6);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 Ol(H1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const e8={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Ao.RU,logoClickable:!1,logoHidden:!1,isMobile:v0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class t8 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.prevVsid=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 W1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new so,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 L6({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,s,r,a,c,f,h,g,p,b;if(!this.videoConfig)return;const{albumId:L,statPlace:w,statUserSalt:A,statAuthToken:P,statTrackCode:I,refreshStatAuthToken:M,preload:J,autoplay:G,volume:K,muted:z,fromTime:re,canRewindLive:te,supportLink:Q,showAds:T,adsSlotId:j,adsParams:ae={},adsPreviewParam:C,interfaceLanguage:$,logoClickable:oe,logoHidden:Ce,isMobile:pe,isAudioDisabled:Ee,isLiveCatchUpMode:ye,fullScreenTarget:U,failoverHosts:E,canDownload:se,callbacks:q,interactiveData:Te,showThumbTimer:O,additionalButtons:Y=[],repeat:Ie}=F1(this.videoConfig,t),{sources:Pe,title:ve,thumbUrl:ee,videoLogoUrl:ue,unitedVideoId:ge,isClip:le=!1,duration:Ze,adsParams:He={},videoEpisodes:at,previewThumbsData:nt,subtitles:Oe,live:ft}=e,wt=Object.assign(Object.assign({},ae),He),Me=this.getNextVideoInfo(),Ne={sources:Pe,title:ve,thumbUrl:ee,subtitles:Oe,unitedVideoId:ge,isClip:le,live:ft,albumId:L,statPlace:w,autoplay:G,muted:z,volume:K,fromTime:re,canRewindLive:te,showAds:T,adsSlotId:j,adsParams:wt,adsPreviewParam:C,duration:Ze,logoClickable:oe,logoHidden:Ce,isMobile:pe,repeat:Ie,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Me.nextVideoTitle,endScreenVideoThumb:Me.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Dt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Ne)}`});const de=this.uiConfig.features.statistics&&!!ge,{pid:et}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};de&&new Po(Object.assign({movieId:ge,albumId:L,place:w,trackCode:I,autoplay:(s=G&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:pe,clip:le},et&&!this.isInited&&{projectId:Number(et)}),Object.assign({refreshAuthToken:M,userSalt:A,config:this.statistics.config},this.interactiveController&&this.isInited&&{vsid:this.prevVsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Wl(this.uiConfig.sentry,{version:Kl,env:j0},{movieId:ge,albumId:L,place:w,autoplay:(r=G&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:pe,clip:le}),this.interactiveController&&!this.isInited&&(this.prevVsid=(a=Po.getInstance())===null||a===void 0?void 0:a.oneStat.vsid$.getValue()),this.statistics=Object.assign(Object.assign({},this.statistics),Po.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),Wl.getInstance());const Qe=!!Te,Ge=(c=this.interactiveController)===null||c===void 0?void 0:c.getInteractiveRanges(),Ye=[];let $e;if(Qe&&this.interactiveController){const ot=this.interactiveController.state,ze=this.interactiveController.getHistoryState();ot.isInitialChapter$.getValue()&&Ye.push(ht.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ye.push(ht.SEEK_TO_INTERACTIVE_BUTTON),ze.hasPrevChapter$.getValue()||(ot.isInitialChapter$.getValue()?$e="tooltip_interactive_go_back_disabled_first":ot.lastChapterChangeWasInitiatedByInteractive$.getValue()?$e="tooltip_interactive_go_back_disabled":$e="tooltip_interactive_go_back_disabled_limit",Ye.push(ht.PLAY_PREV_CHAPTER_BUTTON))}const lt=()=>{var ot;const ze=(n==null?void 0:n.info.isEnded$.getValue())&&((ot=this.interactiveController)===null||ot===void 0?void 0:ot.state.isEndChapter$.getValue());q.onReplayInteractiveVideo&&!ze?q.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=H6({player:n,interfaceLanguage:$,videoId:ge,isClip:le,isLiveCatchUpMode:ye,isAudioDisabled:Ee,statAuthToken:P,callbacks:q,webApi:Dt,videoEpisodes:at,previewThumbsData:nt,canDownload:se,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ye,isInteractive:Qe,interactiveRanges:Ge,replayInteractive:lt,playPrevChapterDisabledTooltip:$e,hasInteractiveBranches:!!(!((h=(f=this.interactiveController)===null||f===void 0?void 0:f.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?Y:[],looped:Ie&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(ot=>{var ze;return(ze=q==null?void 0:q.onCurrentFormatChanged)===null||ze===void 0?void 0:ze.call(q,ot)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(ot=>{var ze;return(ze=q==null?void 0:q.onThroughputEstimationChanged)===null||ze===void 0?void 0:ze.call(q,ot)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(ot=>{var ze;return(ze=q==null?void 0:q.onVideoBitrateChanged)===null||ze===void 0?void 0:ze.call(q,ot)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(ot=>{var ze;const Vt=(ze=this.store)===null||ze===void 0?void 0:ze.ui.controls.disabledControls$;Vt&&ot&&!Vt.includes(Hl)&&Vt.add(Hl)})),this.videoConfig.isMobile&&this.interactiveController&&this.subscription.add(this.store.ui.controlsVisible.subscribe(ot=>{var ze;(ze=this.interactiveController)===null||ze===void 0||ze.setDisabledControls(ot)})),this.initMediaSession(),this.interactiveController&&de&&this.initInteractivesStatistics(),this.svelteRootComponent=new y6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Pe,store:this.store,uiConfig:this.uiConfig,title:ve,thumbUrl:ee,videoLogoUrl:ue,subtitles:Oe,live:ft,preload:J,autoplay:G,muted:z,volume:K,fromTime:re,canRewindLive:te,supportLink:Q,showAds:T,adsSlotId:j,adsParams:wt,adsPreviewParam:C,duration:Ze,logoClickable:oe,logoHidden:Ce,isMobile:pe,failoverHosts:E,fullScreenTarget:U,showMiniTimer:O,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=(p=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||p===void 0?void 0:p.onInited)===null||b===void 0||b.call(p))}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 s;return(s=n.onPlayerPhaseChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var s;return(s=n.onPlaybackStateChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var s;return(s=n.onIsLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var s;return(s=n.onIsActiveLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var s;return(s=n.onIsAudioAvailableChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var s;return(s=n.onCurrentQualityChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var s;return(s=n.onAvailableQualitiesChanged)===null||s===void 0?void 0:s.call(n,l.map(({value:r})=>r).filter(r=>r!==ao.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var s,r;return l?(s=n.onPiPEnter)===null||s===void 0?void 0:s.call(n):(r=n.onPiPExit)===null||r===void 0?void 0:r.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var s;return(s=o.onControlsVisibleChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var s;return(s=o.onIsMobileChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var s;return(s=o.onPlayerSizeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var s;return(s=o.onPrevButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var s;return(s=o.onPlayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var s;return(s=o.onReplayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var s;return(s=o.onNextButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var s;return(s=o.onPlayPrevChapterChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var s;return(s=o.onSeekToInteractiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var s;return(s=o.onGraphButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var s;return(s=o.onLiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var s;return(s=o.onTimeUpdateChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var s;return(s=o.onEpisodesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var s;return(s=o.onVolumeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var s;return(s=o.onSubtitlesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var s;return(s=o.onSettingsChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var s;return(s=o.onFullscreenChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var s;return(s=o.onChromecastChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var s;return(s=o.onVkLogoChanged)===null||s===void 0?void 0:s.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&&an(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$:s}=n.state,{disabledControls$:r}=n.ui.controls,a=rt(o),c=rt(l);rt(s)?(s.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),r.remove(bs),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",s.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),r.add(bs),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return Gi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:s,CustomError:r}=yield import("@vkontakte/videoplayer-interactive/es2015.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?rt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:h,videoLoader:g}=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:g,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,disableControlsOnPause:!this.videoConfig.isMobile}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest),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(ht.SEEK_TO_INTERACTIVE_BUTTON):L.ui.controls.disabledControls$.add(ht.SEEK_TO_INTERACTIVE_BUTTON)}));let p=!0;if(this.interactiveController.on(s.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},b.config),{title:f.title});const L=p?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,L),p&&(p=!1)}),this.interactiveController.on(s.interactives,({type:b,subjectId:L,actionType:w})=>{var A,P,I,M;if(this.store&&(b==="container-removed"&&this.store.actions.internal.completeInteractiveRange(L),b==="range-ended"&&(rt(this.store.state.isInteractiveExpectation$)||this.store.ui.controls.disabledControls$.remove(Co)),b==="action-execution"&&w==="expect"&&(this.store.ui.controls.disabledControls$.add(Co),this.store.state.isInteractiveExpectation$.set(!0)),b==="action-choice"&&w==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(Co)),b==="action-execution"&&w==="after-expect"&&(this.store.ui.controls.disabledControls$.remove(Co),this.store.state.isInteractiveExpectation$.set(!1)),b==="action-choice-canceled")){const J=rt(this.store.state.isPlaying$)||rt(this.store.state.isInteractiveExpectation$);if(!((A=this.videoConfig)===null||A===void 0)&&A.isMobile&&J){this.store.ui.interactiveHideMobileControls.set(!0);return}(M=(P=this.videoConfig)===null||P===void 0?void 0:(I=P.callbacks).onDisabledInteractiveClick)===null||M===void 0||M.call(I)}}),!((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 w,A,P;L.length&&((P=(A=(w=this.videoConfig)===null||w===void 0?void 0:w.callbacks)===null||A===void 0?void 0:A.onInteractiveHistoryChanged)===null||P===void 0||P.call(A,L))}))}this.interactiveController.on(s.errors,b=>{this.log({message:b.toString()})})}catch(l){this.log({message:l.message})}})}initInteractivesStatistics(){var e,t;return Gi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js"),s={[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$:r,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new tn;r.subscribe(f=>{var h,g;f in s?c.next(s[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(g=(h=this.sentry).report)===null||g===void 0||g.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,s,r,a,c,f,h,g,p,b,L,w,A,P,I,M,J;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=F1(e8,g0(e,G=>G instanceof HTMLElement?G:void 0)),this.uiConfig=B0((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:(s=this.uiConfig.sentry)!==null&&s!==void 0?s:{}},an(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(r=this.videoConfig.isMediaSessionEnabled)!==null&&r!==void 0?r:!0),an(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=(g=this.uiConfig.isMobile)!==null&&g!==void 0?g:this.videoConfig.isMobile,(M=this.videoConfig).autoplay&&(M.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(p=this.uiConfig.ads.enable)!==null&&p!==void 0?p:this.videoConfig.showAds,this.videoConfig.adsSlotId=(b=this.uiConfig.ads.slot)!==null&&b!==void 0?b:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(L=this.uiConfig.ads.preview)!==null&&L!==void 0?L:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((w=this.uiConfig.showLogo)!==null&&w!==void 0?w:!this.videoConfig.logoHidden),(J=this.videoConfig).canRewindLive&&(J.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(A=this.videoConfig.supportLink)!==null&&A!==void 0?A:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=J6.getLatestSupportedVersion():this.pictureInPictureApi=new ts),this.mediaSessionApi=this.uiConfig.features.mediaSession?new U6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new $6:void 0,(P=this.svelteStubComponent)===null||P===void 0||P.$destroy(),(I=this.svelteRootComponent)===null||I===void 0||I.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Q6(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===Re.Video?this.setupMediaSessionForVideo():n===Re.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},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;this.isControlDisabled(ht.PLAY_BUTTON)||(this.log({message:"play"}),(e=this.svelteRootComponent)===null||e===void 0||e.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(ht.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)}setLanguage(e){var t;return Gi(this,void 0,void 0,function*(){yield(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=Po.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const a8=()=>{window.customElements.define("vk-video-player",t8)};export{Et as GridTypes,h8 as InterfaceLanguage,Kl as VERSION,p8 as VKNumericLanguage,f8 as VideoFormat,d8 as VideoQuality,v8 as loadVKLangPack,a8 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{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 g6(i){let e,t,n;function o(s){i[55](s)}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 o6({props:l}),We.push(()=>St(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&2&&(a.title=s[1]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function b6(i){let e,t,n;function o(s){i[54](s)}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 p6({props:l}),We.push(()=>St(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(s,r){z(e,s,r),n=!0},p(s,r){const a={};r[0]&1&&(a.store=s[0]),r[0]&4&&(a.thumbUrl=s[2]),r[0]&8&&(a.videoLogoUrl=s[3]),r[0]&16&&(a.interactiveContainer=s[4]),r[0]&32&&(a.live=s[5]),r[0]&64&&(a.autoplay=s[6]),r[0]&128&&(a.canRewindLive=s[7]),r[0]&256&&(a.showAds=s[8]),r[0]&512&&(a.adsSlotId=s[9]),r[0]&1024&&(a.adsParams=s[10]),r[0]&2048&&(a.adsPreviewParam=s[11]),r[0]&4096&&(a.duration=s[12]),r[0]&8192&&(a.logoClickable=s[13]),r[0]&16384&&(a.logoHidden=s[14]),r[0]&65536&&(a.showNextPrevButtons=s[16]),r[0]&131072&&(a.nextButtonActive=s[17]),r[0]&262144&&(a.prevButtonActive=s[18]),r[0]&524288&&(a.endScreenVideoTitle=s[19]),r[0]&1048576&&(a.endScreenVideoThumb=s[20]),r[0]&2097152&&(a.isOneVideoPlaylist=s[21]),r[0]&4194304&&(a.supportLink=s[22]),r[0]&8388608&&(a.outerContainerRef=s[23]),r[0]&16777216&&(a.fullScreenTarget=s[24]),r[0]&33554432&&(a.showMiniTimer=s[25]),r[1]&8&&(a.playerStarted=s[34]),r[0]&67108864&&(a.playNextVideo=s[26]),r[0]&134217728&&(a.playPrevVideo=s[27]),r[0]&268435456&&(a.repeatPlaylist=s[28]),r[0]&536870912&&(a.seekToInteractive=s[29]),r[0]&1073741824&&(a.toggleGraph=s[30]),r[1]&1&&(a.playPrevChapter=s[31]),!t&&r[1]&4&&(t=!0,a.videoContainer=s[33],Ct(()=>t=!1)),e.$set(a)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){v(e.$$.fragment,s),n=!1},d(s){D(e,s)}}}function _6(i){let e,t,n,o;const l=[b6,g6],s=[];function r(a,c){return a[15]?0:1}return t=r(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(a,c){C(a,e,c),s[t].m(e,null),o=!0},p(a,c){let f=t;t=r(a),t===f?s[t].p(a,c):(pe(),v(s[f],1,1,()=>{s[f]=null}),ve(),n=s[t],n?n.p(a,c):(n=s[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),s[t].d()}}}function w6(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:s}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:p}=e,{preload:b}=e,{autoplay:g}=e,{volume:_=void 0}=e,{muted:L=void 0}=e,{fromTime:A}=e,{canRewindLive:w}=e,{showAds:S}=e,{adsSlotId:B=void 0}=e,{adsParams:R=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Y=void 0}=e,{logoClickable:q}=e,{logoHidden:ne}=e,{isMobile:X}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:T=!1}=e,{prevButtonActive:te=!1}=e,{endScreenVideoTitle:ce=void 0}=e,{endScreenVideoThumb:E=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:Ce=!1}=e,{playNextVideo:H=it}=e,{playPrevVideo:G=it}=e,{repeatPlaylist:O=it}=e,{seekToInteractive:me=it}=e,{toggleGraph:ee=it}=e,{playPrevChapter:M=it}=e;const{subscribers:Q,stores:Ve}=l;F0(s);const Pe=xi(),Ae=o.ui.debugPanelVisible,J=o.ui.playerSize;let ae,he=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}),G0(o,Ve);const je=(ue=!1)=>{t(34,re=!0),ue?o.actions.external.firstStart(S):o.actions.internal.firstStart(S)};function qe(ue){var ze;const Je=n||ue;Je&&o.initVideo({container:ae,sources:Je,failoverHosts:Te,subtitles:h});const Ke=mn.get(Wl)==="true";Ae.set(Ke),A>0&&o.actions.external.seekTime(A);const Qe=X?Pe.volumeDefault:(ze=_!=null?_:mu())!=null?ze:Pe.volumeDefault,Ze=L!=null?L:x0();if(o.actions.external.setVolume(Qe),o.actions.external.setMuted(Ze),o.getAdmanWrapper().setInitialVolume(Ze?0:Qe),Pe.features.trafficSaving){const xe=ef();xe&&o.actions.internal.setTrafficSavingEnabled(xe)}const ct=J0(o.videoId);ct&&o.actions.internal.setQuality(ct),o.ui.isAutoplay.set(g),g?je():b&&Pe.features.preload&&o.actions.internal.preload()}const lt=ue=>{if(window.ResizeObserver){let Je,Ke;he=new ResizeObserver(Z1(Qe=>{const Ze=Qe[0];if(Ze){if(Ze.contentBoxSize){const ct=Array.isArray(Ze.contentBoxSize)?Ze.contentBoxSize[0]:Ze.contentBoxSize;Je=ct.inlineSize,Ke=ct.blockSize}else Ze.contentRect&&(Je=Ze.contentRect.width,Ke=Ze.contentRect.height);J.set({width:Je,height:Ke})}},tu)),he.observe(ue)}J.set({width:ue.clientWidth,height:ue.clientHeight})};Ji(()=>{lt(ae);const ue=Q.map(Ke=>Ke.init(o,Ve));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 qe(),()=>{he==null||he.disconnect(),ue.forEach(Ke=>Ke.unsubscribe()),o.destroy()}});function nt(){re?o.actions.external.play():je(!0)}function Ne(){o.actions.external.pause()}function ft(ue){X||o.actions.external.setMuted(ue)}function wt(ue){X||ue>=0&&ue<=1&&o.actions.external.setVolume(ue)}function Me(ue){o.actions.internal.seekTime(ue,Wt.UNKNOWN)}function Be(ue){o.actions.external.seekEpisodeStartTime(ue)}function Zt(ue){o.actions.external.setPlaybackRate(ue)}function Pt(ue){o.actions.external.setAutoQualityLimits(ue)}function rt(ue){ae=ue,t(33,ae)}function tt(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,s=ue.uiConfig),"title"in ue&&t(1,r=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,b=ue.preload),"autoplay"in ue&&t(6,g=ue.autoplay),"volume"in ue&&t(42,_=ue.volume),"muted"in ue&&t(43,L=ue.muted),"fromTime"in ue&&t(44,A=ue.fromTime),"canRewindLive"in ue&&t(7,w=ue.canRewindLive),"showAds"in ue&&t(8,S=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,q=ue.logoClickable),"logoHidden"in ue&&t(14,ne=ue.logoHidden),"isMobile"in ue&&t(15,X=ue.isMobile),"showNextPrevButtons"in ue&&t(16,$=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,E=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,Ce=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,me=ue.seekToInteractive),"toggleGraph"in ue&&t(30,ee=ue.toggleGraph),"playPrevChapter"in ue&&t(31,M=ue.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(X)},[o,r,a,c,f,p,g,w,S,B,R,U,Y,q,ne,X,$,T,te,ce,E,oe,se,we,be,Ce,H,G,O,me,ee,M,Me,ae,re,Pe,je,n,l,s,h,b,_,L,A,Te,qe,nt,Ne,ft,wt,Be,Zt,Pt,rt,tt]}class k6 extends ye{constructor(e){super(),ke(this,e,w6,_6,_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},v6,[-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 y6(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){C(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 C6(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 S6 extends ye{constructor(e){super(),ke(this,e,C6,y6,_e,{isWhite:1})}}function P6(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 H1(i){let e,t;return{c(){e=k("div"),t=De(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&1&&et(t,n[0])},d(n){n&&y(e)}}}function U1(i){let e,t;return e=new S6({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 T6(i){let e,t,n,o,l=i[0]&&H1(i),s=(!i[0]||!i[1])&&U1(i);return{c(){e=k("div"),l&&l.c(),t=N(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(r,a){C(r,e,a),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(r,[a]){r[0]?l?l.p(r,a):(l=H1(r),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!r[0]||!r[1]?s?(s.p(r,a),a&3&&m(s,1)):(s=U1(r),s.c(),m(s,1),s.m(e,null)):s&&(pe(),v(s,1,1,()=>{s=null}),ve()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(m(s),o=!0)},o(r){v(s),o=!1},d(r){r&&y(e),l&&l.d(),s&&s.d()}}}function E6(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 A6 extends ye{constructor(e){super(),ke(this,e,E6,T6,_e,{title:0,thumbUrl:1},P6)}}class j1{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 s=n[o];try{s.callback.call(this,e)}catch(r){Promise.resolve().then(()=>{throw r})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class Wc extends j1{constructor(){super(),this.listeners||j1.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 L6=class{constructor(){Object.defineProperty(this,"signal",{value:new Wc,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&&(L6.prototype[Symbol.toStringTag]="AbortController",Wc.prototype[Symbol.toStringTag]="AbortSignal");function Zc(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 V6(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Zc({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 s=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(b){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const p=new Promise((b,g)=>{f.addEventListener("abort",()=>g(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([p,s(a,c)])}return s(a,c)},Request:l}}const ms=Zc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Gc=ms?V6({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,I6=ms?Gc.fetch:window.fetch;ms?Gc.Request:window.Request;const M6=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,R6="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class N6{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 nn,started$:new nn,paused$:new nn,resumed$:new nn,ended$:new nn,skipped$:new nn,clicked$:new nn},this.loadAdman=n=>new Promise((o,l)=>{let s;const r=()=>{clearTimeout(s),delete window.admanAsyncInit,window.AdmanHTML?o():l()};d0(R6,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=r,s=window.setTimeout(r,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"}),$e(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Xt.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(Xt.PAUSED)},this.onAdPlayed=()=>{vt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Xt.PLAYING)},this.onAdMidrollPoint=()=>{vt(this.adman),vt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Tn.Midroll,this.adman.start(Tn.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:s,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:h}=e;let p;const b=this.playerState&&$e(this.playerState.vsid);b&&(p=parseInt(b,36));const g=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:M6(t,n),puid11:o?0:1,preview:h},p?{request_id:p}:{}),{duration:f}),c),_={slot:a,wrapper:s,videoEl:r,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(_),this.adman=L,this.videoElement=r,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(_)}`})}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===Tn.Postroll;this.adsState.playbackState.set(Xt.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=$e(this.adsState.playbackState);e===Xt.PLAYING?this.pause():e===Xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var 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=Tn.Preroll,this.adman.start(Tn.Preroll)}startPostroll(){vt(this.adman),vt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Tn.Postroll,this.adman.start(Tn.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 B6=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 O6{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:""},s=o.split(this.oneLineRegExp);for(const r of s)if(!l.startTime&&!l.endTime){const a=new Kc,{startTime:c,endTime:f}=a.parse(r);l.startTime=c,l.endTime=f}else if(r.trim()!==""){const a=new z6,{texts:c}=a.parse(r);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Kc{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,s=Number(t)*60,r=Number(n),a=+`0.${o}`;return l+s+r+a}}class z6{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let r=0;const a=[];for(;r<s.length;){const c=["<",">"].reduce((f,h)=>{const p=s.indexOf(h,r);return f===-1||f>p?p:f},-1);if(c===-1){a.push(s.substring(r));break}a.push(s.substring(r,c)),r=c+1}return a}}),l=new Kc;for(const s of o)l.isTime(s)?t.texts.push({type:"timestamp",value:l.parseTime(s)}):t.texts.push({type:"text",value:s});return t}}let Dn,Dt,zl=0,Dl=!1;const D6=(i,e,t)=>{var n;const o=i>=zl,l=i<zl,s=(f,h=0,p=0)=>f<h&&f<p,r=(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(zl=i,l&&(Dl=!1),fn(Dn)&&r(i,Dn.startTime,Dn.endTime)&&Dn.lang===e.value)return Dn;if(!fn(Dt)&&(c!=null&&c.length)&&!Dl){const f=c.find(({startTime:h,endTime:p})=>r(i,h,p)||o&&s(i,h,p));Dt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Dn=void 0,!fn(Dt)&&c[c.length-1].endTime<i&&(Dl=!0);return}else{if(r(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))return Dn=Dt,Dt=void 0,Dn;(o&&a(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime)||l&&s(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))&&(Dt=void 0)}},Fl={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 Xo=null;class Eo{constructor(e,t){if(!Xo){const n=new y0(e,t),o=new Gn;Xo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Xo=null}})}}static getInstance(){return Xo}}const F6=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:p,player:b,disabledControls:g,isInteractive:_,interactiveRanges:L,replayInteractive:A,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:S,additionalButtons:B,looped:R=!1})=>{var U,Y,q,ne;const X=Object.assign(Object.assign({},p),{configName:[...(U=p.configName)!==null&&U!==void 0?U:[],"ui"],isAudioDisabled:l,live:Object.assign(Object.assign({},(Y=p.live)!==null&&Y!==void 0?Y:{}),{isLiveCatchUpMode:!!n})}),$=h,T=b||new l0(X);T.setLooped(R);const te=new Y1,ce=new N6(te,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),E=Eo.getInstance(),oe=Yl.getInstance(),se=a==null?void 0:a.pictureInPictureApi,we=a==null?void 0:a.annotationsApi,be=te.createComponentLog("Store");let Te,Ce,H={};const G=Jl(),O=E?yt(E.oneStat.vsid$):_n(void 0),me=Fe(Vo()),ee=(q=se==null?void 0:se.info.isActive$)!==null&&q!==void 0?q:new Ql(!1),M=se==null?void 0:se.info.type,Q=Fe(0),Ve=Fe([]),Pe=m0(T.events.fatalError$,T.events.managedError$).subscribe(P=>Ve.update(ie=>[...ie,P])),Ae=_n(!1,P=>{const ie=T.events.fatalError$.subscribe(()=>P(!0));return()=>ie.unsubscribe()}),J=P=>Yi(void 0,void 0,void 0,function*(){var ie;const ge=Object.values(Io).includes(P);if($.downloadVKLanguages&&(ge&&$.updateBuiltinLanguages||!Qs(P))){let Ge;try{Ge=yield v0(P,H0,U0)}catch(mt){(ie=E==null?void 0:E.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),oe==null||oe.report(mt,{errorType:"VKLangPack",fatal:!1})}Ge&&(Xs({language:P,pack:Ge,fallback:$.defaultLanguage}),ae.set(P))}Qs(P)&&ae.set(P)}),ae=Fe(i);J(i);const he=(P,ie)=>{const ge=$e(ae);return Xu(ge,P,ie,$.defaultLanguage)},re=Fe(Re.Thumb),je=(()=>{const P=ii([Ae,re],([ie,ge])=>ie?Re.Crashed:ge);return Object.assign(Object.assign({},P),{is:ie=>$e(P)===ie})})(),qe=(()=>{const P=Fe(new Set(g));return Object.assign(Object.assign({},P),{add:ie=>{P.update(ge=>new Set([...ge].concat(ie)))},remove:ie=>{P.update(ge=>{const Oe=[...ge];return new Set(Array.isArray(ie)?Oe.filter(Ge=>!ie.includes(Ge)):Oe.filter(Ge=>Ge!==ie))})},includes:ie=>{const ge=$e(P);return Array.isArray(ie)?ie.every(Oe=>ge.has(Oe)):ge.has(ie)}})})();be({message:"create store"});const lt=P=>{be({message:`init video, config: ${JSON.stringify(P)}`}),_?P.container.append(T.experimental.element$.getValue()):T.initVideo(P),P.subtitles&&T.setExternalTextTracks(P.subtitles),Te=P},nt=new nn,Ne=P=>nt.next(P),ft=new nn,wt=new nn,Me=new nn,Be={actionRewind$:ft,actionSeek$:wt,inPiP$:ee,inFullscreen$:new h0(P=>me.subscribe(ie=>P.next(ie))),actionSetSubtitle$:Me,nextMovie$:nt};if(E){const{oneStat:P,statSubscription:ie}=E;ie.add(P.attachTo(T)),ie.add(P.attachToUi(Be)),ie.add(P.attachToAds(ce.events)),P.authorize(o).catch(ge=>{be({message:`onestat auth error ${String(ge)}`})})}if(oe){const P=new Gn,ie=(ge,Oe)=>P.add(ge.subscribe(Oe));if(ie(T.events.managedError$,ge=>{oe.logIError(ge)}),ie(T.events.fatalError$,ge=>{oe.logIError(ge,!0)}),E){const{oneStat:ge}=E;ie(ge.experimental.error$,Oe=>{oe.logIError(Oe)})}oe.sentrySubscription.add(P)}const Zt=()=>{K1()&&Ce&&O4(Ce)},Pt=new Gn().add(T.experimental.element$.subscribe(P=>{P&&(Ce=P,P.classList.add("player-media"),nl(se)&&(se.updateVideoElement(),se.registryEventHandlers()),_&&P.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{var P;Zt(),(P=r==null?void 0:r.onEnded)===null||P===void 0||P.call(r)})).add(T.events.started$.subscribe(()=>Yi(void 0,void 0,void 0,function*(){var P,ie;nl(se)&&(yield se==null?void 0:se.revealPictureInPicture());const ge=T.info.muted$.getValue();(P=r==null?void 0:r.onStarted)===null||P===void 0||P.call(r),(ie=H.onStarted)===null||ie===void 0||ie.call(H,ge)}))).add(T.events.willSeek$.subscribe(({from:P,to:ie})=>{var ge;(ge=r==null?void 0:r.onSeek)===null||ge===void 0||ge.call(r,P,ie)})).add(T.info.position$.subscribe(P=>{var ie;const ge=T.info.duration$.getValue();(ie=r==null?void 0:r.onTimeupdate)===null||ie===void 0||ie.call(r,ge,P),ce.setPosition(P,ge)})).add(T.events.fatalError$.subscribe(()=>{var P;(P=r==null?void 0:r.onCrashed)===null||P===void 0||P.call(r)})).add(T.info.is3DVideo$.subscribe(P=>{qt.ui.is3DVideo.set(P)})).add(T.info.isEnded$.subscribe(P=>{_&&(P?($e(ml)&&qe.add(nu),qe.add(ht.PLAY_BUTTON)):qe.remove(ht.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(P=>{var ie;(ie=r==null?void 0:r.onLiveTime)===null||ie===void 0||ie.call(r,P)})),rt=new Gn,tt=()=>{rt.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=()=>{rt.unsubscribe()},Je=(P,ie)=>{T.startCameraManualRotation(P,ie)},Ke=(P=!1)=>{T.stopCameraManualRotation(P)},Qe=(P,ie,ge)=>{T.moveCameraFocusPX(P,ie,ge)},Ze=()=>{T.holdCamera()},ct=()=>{T.releaseCamera()},ze=_n(T.info.position$.getValue(),P=>{let ie,ge;const Oe=()=>{const Ge=T.info.playbackState$.getValue(),mt=T.info.isLive$.getValue(),Bt=T.info.duration$.getValue(),kt=T.info.position$.getValue();if([Ti.PLAYING,Ti.PAUSED].includes(Ge)){const Wi=mt?kt-Bt:T.getExactTime();Wi!==ge&&P(Wi),ge=Wi}ie=requestAnimationFrame(Oe)};return Oe(),()=>cancelAnimationFrame(ie)}),xe=yt(ee),pt=yt(T.info.playbackState$),ot=yt(T.info.currentBuffer$),Qt=yt(T.info.isEnded$),dt=yt(T.info.isLive$),Ye=$.features.playbackRate?yt(T.info.canChangePlaybackSpeed$):_n(!1),At=yt(T.info.liveBufferTime$),st=yt(T.info.volume$),ui=yt(T.info.muted$),de=au(T.info.autoQualityLimits$.pipe(p0(({max:P})=>P!==void 0)),((ne=T.info.autoQualityLimits$.getValue())===null||ne===void 0?void 0:ne.max)!==void 0),Se=yt(T.info.autoQualityLimitingAvailable$),Ie=yt(T.info.availableQualities$),It=yt(T.info.availableQualitiesFps$),ci=yt(T.info.chromecastState$),Mt=yt(T.info.chromecastDeviceName$),Ei=yt(T.info.currentFormat$),Bi=yt(T.info.throughputEstimation$),Oi=yt(T.info.videoBitrate$),Le=yt(T.info.intrinsicVideoSize$),Rt=yt(T.info.duration$),fi=yt(T.info.isAudioAvailable$);let Ot=null;const Lt=T.info.isBuffering$,zi=_n(Lt.getValue(),P=>{const ie=Lt.subscribe(ge=>{ge&&Ot===null?Ot=window.setTimeout(()=>{P(Lt.getValue()),Ot=null},$.loaderDelay):P(ge)});return()=>{ie.unsubscribe(),Ot&&clearTimeout(Ot)}}),Nt=()=>{Ot&&clearTimeout(Ot),Ot=null},oi=ii([Rt,dt],([P,ie])=>ie?-P:P),on=ii([pt],([P])=>P===Ti.PLAYING),Tt=yt(T.info.atLiveEdge$),Zi=yt(T.info.atLiveDurationEdge$),di=yt(T.info.position$),Di=ii([di,Rt],([P,ie])=>isFinite(P)&&isFinite(ie)&&!!ie),Ai=ii([ci],([P])=>P===wn.CONNECTED),Li=Fe(void 0),mi=yt(T.info.isAutoQualityEnabled$,P=>P&&Li.set(void 0)),Vi=yt(T.info.currentQuality$,()=>Li.set(void 0)),ki=ii([Li,Vi],([P,ie])=>P!=null?P:ie),hi=ii([Ie,It,mi,ki,Ei],([P,ie,ge,Oe,Ge])=>{const mt=[];Ge!==So.MPEG&&mt.push({value:mo.AUTO,displayValue:he("auto_quality_option"),selected:ge});const Bt=P.filter(kt=>kt!==Qo.INVARIANT);for(const kt of Bt){const Wi=ie[kt],Fo=kt===Qo.INVARIANT?he("auto_quality_option"):kt;mt.push({value:kt,displayValue:`${Fo}${Wi?B6(Wi):""}`,selected:ge?!1:kt===Oe})}return mt}),li=yt(T.info.currentPlaybackRate$),yi=ii([li,Tt,Zi],([P,ie,ge])=>{const Oe=ge||_?1:$.controls.playbackRateMin,Ge=ie?1:$.controls.playbackRateMax,mt=$.controls.playbackRateStep,Bt=[];for(let kt=Oe;kt<=Ge;kt+=mt)Bt.push({value:kt,displayValue:kt===1?he("playback_rate_1"):he("playback_rate",{multiplier:kt.toString(10)}),selected:P===kt});return Bt}),Ii=$.features.subtitles?yt(T.info.availableTextTracks$):_n([]),Xi=ii([Ii],([P],ie)=>{const ge=[],Oe=[];for(const Ge of P)Ge.url&&ge.push(I6(Ge.url));Promise.allSettled(ge).then(Ge=>{for(const[mt,Bt]of Ge.entries())Bt.status==="fulfilled"&&Bt.value.text().then(kt=>{const Wi=new O6,Fo=P[mt].language,xc=!!P[mt].isAuto,gs=Wi.parse(kt);Fo&&gs&&Oe.push({lang:Fo,subtitles:gs,isAuto:xc}),mt===Ge.length-1&&ie(Oe)})})}),Ht={displayValue:he("subtitles_off"),value:"off"},Ut=Fe(Object.assign({},Ht)),Mi=ii([Xi,Ut,Xi],([P,ie])=>{if((P==null?void 0:P.length)>0){const ge=[Object.assign(Object.assign({},Ht),{selected:(ie==null?void 0:ie.value)===Ht.value})];for(const{lang:Oe,isAuto:Ge}of P)Fl[Oe]&&ge.push({displayValue:Ge?he("subtitles_auto",{language:Fl[Oe]}):Fl[Oe],value:Oe,selected:(ie==null?void 0:ie.value)===Oe,isAuto:Ge});return ge}else return[]}),$i=ii([ze,Ut,Xi],([P,ie,ge])=>{if(ie&&ie.value!==Ht.value)return D6(P,ie,ge)}),Ci=ii([$i],([P])=>P!=null&&P.texts?P.texts:[]),Fi=Fe(!0),Ri=ii([ot,oi,di,At],([P,ie,ge,Oe])=>{var Ge;const mt=(Ge=P==null?void 0:P.end)!==null&&Ge!==void 0?Ge:0;if(!Oe)return mt/ie;const kt=-ge+Oe-ie;return(mt-kt)/ie}),Si=yt(T.info.availableSources$),Hi=ii([Si],([P])=>Object.keys((P==null?void 0:P[So.MPEG])||{}).length>0),Ni=()=>{var P,ie,ge;const Oe=Object.keys(((ie=(P=T.info.availableSources$)===null||P===void 0?void 0:P.getValue())===null||ie===void 0?void 0:ie[So.MPEG])||{}),Ge=g0(Oe)||Qo.Q_144P;return(ge=Te.sources[So.MPEG])===null||ge===void 0?void 0:ge[Ge]},Jt=()=>{var P;const ie=Ni();ie?X0(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"})},xt=()=>{be({message:"toggle muted"});const P=T.info.muted$.getValue(),Oe=!(T.info.volume$.getValue()===0||P);Yt(Oe)},pi=(P,ie=P,ge=!1)=>{var Oe,Ge,mt;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&&((Oe=r==null?void 0:r.onVolumeChange)===null||Oe===void 0||Oe.call(r,P)),Ss(ie),kt?(T.setMuted(!1),Bt&&((Ge=r==null?void 0:r.onUnmute)===null||Ge===void 0||Ge.call(r)),gl(!1)):!kt&&P===0&&(T.setMuted(!0),Bt&&((mt=r==null?void 0:r.onMute)===null||mt===void 0||mt.call(r)),gl(!0))},Yt=(P,ie=!1)=>{var ge,Oe,Ge,mt;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),gl(P),Bt&&(P?(ge=r==null?void 0:r.onMute)===null||ge===void 0||ge.call(r):(Oe=r==null?void 0:r.onUnmute)===null||Oe===void 0||Oe.call(r)),kt===0){let Wi=(Ge=mu())!==null&&Ge!==void 0?Ge:$.volumeDefault;Wi===0&&(Wi=$.volumeMinRestore,Ss(Wi)),T.setVolume(Wi),ce.setVolume(Wi),Bt&&((mt=r==null?void 0:r.onVolumeChange)===null||mt===void 0||mt.call(r,Wi))}},$t=()=>{T.prepare()},si=()=>{var P,ie;if(vt(qt),!$e(qt.ui.controls.disabledControls$).has(ht.PLAY_BUTTON)){if(be({message:"toggle play"}),$e(qt.playerPhase)===Re.Ads){ce.togglePlay();return}if(T.info.playbackState$.getValue()!==Ti.PLAYING){if(T.info.isEnded$.getValue()){if(be({message:"toggle play, video ended, seek to 0"}),ft.next(),wt.next(Wt.REWIND),_){A==null||A();return}T.seekTime(0)}be({message:"toggle play, call player.play"}),T.play(),(P=r==null?void 0:r.onPlay)===null||P===void 0||P.call(r)}else be({message:"toggle play, call player.pause"}),T.pause(),(ie=r==null?void 0:r.onPause)===null||ie===void 0||ie.call(r)}},vi=P=>{be({message:`set quality, quality: ${P}`}),T.setAutoQuality(P===mo.AUTO),P!==mo.AUTO?(Q0(e,P),Li.set(P),T.setQuality(P)):hu()},gi=P=>{be({message:`set trafficSavingEnabled, value: ${P}`}),T.setAutoQualityLimits({max:P?$.trafficSavingLimit:void 0}),$0(P)},ri=P=>{T.setPlaybackRate(P)},Gi=()=>{const P=$e(yi),ie=P.findIndex(({selected:Oe})=>Oe);if(ie===P.length-1)return;const ge=P[ie+1];ri(ge.value)},Ui=()=>{const P=$e(yi),ie=P.findIndex(({selected:Oe})=>Oe);if(ie===0)return;const ge=P[ie-1];ri(ge.value)},Pi=P=>{P&&P.value!==Ht.value&&Me.next(P.isAuto?P.value+"_auto":P.value),Ut.set(P)},Qi=()=>{const P=$e(Mi),ie=$e(Ut),ge=$e(ae);if((ie==null?void 0:ie.value)===Ht.value){const Oe=P.filter(Ge=>Ge.value!==Ht.value).find(Ge=>Ge.value===ge)||P[1];Pi(Oe!=null?Oe:Object.assign({},Ht))}else Pi(Object.assign(Object.assign({},Ht),{selected:!1}))},ei=(P,ie,ge=!0)=>{if(be({message:`seek to time, time: ${P}`}),wt.next(ie),T.info.isLive$.getValue()){const Oe=T.info.duration$.getValue(),Ge=Math.min(0,Oe+P);T.seekTime(Ge,ge)}else{if($e(ml))return;T.seekTime(vs(P),ge)}},bi=P=>{be({message:`seek to episode start time: ${P}`}),ei(P,Wt.EPISODE,!0)},ji=(P,ie)=>{be({message:`seek to percent, percent: ${P}`});const ge=Math.round($e(oi)*P);ei(ge,ie,!1)},qi=P=>{be({message:`seek external, time: ${P}`}),wt.next(Wt.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)},fe=P=>{be({message:`seek external to episode start time: ${P}`}),ei(P,Wt.EPISODE,!0)},ti=P=>{be({message:`set playback rate to: ${P}`}),T.setPlaybackRate(P)},en=Fe(void 0),hn=Fe(!1),jn=P=>{be({message:`start scrubbing, progress: ${P}`}),hn.set(!0),ai(P)},ai=P=>{en.set(P)};let yn,Cn;const pn=()=>{en.set(void 0),hn.set(!1)},Sn=()=>{clearTimeout(Cn),clearTimeout(yn),yn=window.setTimeout(()=>{pn()},500),Ce==null||Ce.removeEventListener("seeked",Sn)},On=P=>{be({message:`complete scrubbing, progress: ${P}`}),ji(P,Wt.SLIDER),$e(qt.ui.isMobile)&&$e(qt.state.currentFormat$)===So.HLS?(Ce==null||Ce.addEventListener("seeked",Sn),Cn=window.setTimeout(()=>{Sn()},300)):pn()},ln=ii([ze,oi,en],([P,ie,ge],Oe)=>{Oe(fn(ge)?ge*ie:P)}),zn=Fe({width:0,height:0}),x=ii([zn],([{width:P}],ie)=>{const ge=j3(P);ie(ge)}),gt=Fe(!1),vn=ii([x,gt],([P,ie])=>ie?B.filter(ge=>!ge.hideOnMobile):B.filter(ge=>{var Oe;return!(!((Oe=ge.hideOnDesktopGridTypes)===null||Oe===void 0)&&Oe.includes(P))})),tn=ii([gt,Ae],([P,ie],ge)=>{ge(P&&ie)}),gn=()=>{wt.next(Wt.LIVE),be({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==Ti.PLAYING&&qt.actions.internal.togglePlay()},sn=()=>ce.skip(),bo=(P=!0)=>{vt(qt),be({message:`switch from ads to video, callPlay: ${P}`}),re.set(Re.Video),P&&T.play()},_o=()=>{vt(qt),be({message:"switch from video to ads"}),qt.actions.internal.pause(),Zt(),re.set(Re.Ads)},wo=P=>{vt(qt);const ie=P?Re.WaitingLive:Re.Thumb;re.set(ie)},ko=P=>{vt(qt);const ie=P?Re.WaitingRecord:Re.Thumb;re.set(ie)},yo=()=>(vt(qt),K0(T,Te,qt)),Co=()=>(vt(qt),Y0(T,Te,qt)),Qn=()=>Ce,Jn=()=>{be({message:"toggle chromecast"}),T.toggleChromecast()},le=P=>{var ie;vt(qt);const ge=!P;if($e(qt.playerPhase)===Re.Ads){be({message:`pause ads, internalCall: ${ge}`}),ce.pause();return}be({message:`pause video, internalCall: ${ge}`}),ge&&((ie=r==null?void 0:r.onPause)===null||ie===void 0||ie.call(r)),T.pause()},qn=P=>{var ie;vt(qt);const ge=!P;if($e(qt.playerPhase)===Re.Ads){be({message:`play ads, internalCall: ${ge}`}),ce.play();return}be({message:`play video, internalCall: ${ge}`}),ge&&((ie=r==null?void 0:r.onPlay)===null||ie===void 0||ie.call(r)),T.play()},at=(P,ie)=>{vt(qt),be({message:`first start, show ads: ${P}, internalCall: ${!ie}`}),P?re.set(Re.Ads):(re.set(Re.Video),ie?T.play():qt.actions.internal.togglePlay())},jt=()=>(be({message:"getting time codes"}),c),rn=()=>{const P=jt();if(!P||[0,1].includes(P.length))return;const ie=T.info.position$.getValue();return P.find(ge=>ge.time>ie)},Pn=P=>{let ie=P;ie||(ie=rn()),ie&&(be({message:"seek to next episode"}),ei(ie.time,Wt.EPISODE,!0))},j=()=>{const P=jt();if(!P||[0,1].includes(P.length))return;const ie=T.info.position$.getValue(),ge=P.findIndex(Ge=>Ge.time>ie),Oe=ge===-1?P.length-2:ge-2;if(!(Oe<0))return P[Oe]},_t=P=>{let ie=P;ie||(ie=j()),ie&&(be({message:"seek to prev episode"}),ei(ie.time,Wt.EPISODE,!0))},bn=()=>(be({message:"getting preview thumbs data"}),f),an=()=>Yi(void 0,void 0,void 0,function*(){se!=null&&se.isActive()?yield se==null?void 0:se.remove():yield se==null?void 0:se.request()}),xn=(P=-90)=>{Q.update(ie=>ie+P)},$n=Fe(L),hs=ii([$n],([P=[]])=>{const ie=[];for(let ge=0;ge<P.length;ge++){const{range:[Oe,Ge],subjects:mt}=P[ge];ge===0&&Oe!==0&&ie.push({time:0,text:""}),ie.push({time:Oe/1e3,text:"",interactive:!0,completed:!mt.length}),Ge!==1/0&&ie.push({time:Ge/1e3,text:"",interactive:!1,completed:!mt.length})}return ie}),Qc=P=>{const ie=$e($n);$n.set(ie.map(ge=>Object.assign(Object.assign({},ge),{subjects:ge.subjects.filter(Oe=>Oe!==P)})))},ps=Fe(!1),ml=ii([di,$n,ps],([P,ie,ge])=>{if(!_)return!1;if(ge)return!0;const Oe=P*1e3,Ge=ie==null?void 0:ie.find(({range:[mt,Bt],subjects:kt})=>mt<Oe&&Oe<Bt&&kt.length);return Ge&&$e(hn)&&pn(),!!Ge}),vs=P=>{if(!_)return P;const ie=$e(hs),ge=$e(oi),Ge=$e(di)/ge,mt=ie.find(Bt=>Bt.interactive&&!Bt.completed&&Bt.time>Ge);return typeof(mt==null?void 0:mt.time)=="number"?Math.min(P,mt.time-.05):P},Jc=()=>{clearTimeout(Cn),clearTimeout(yn),Pt.unsubscribe(),rt.unsubscribe(),T.destroy(),ce.destroy(),E==null||E.destroy(),oe==null||oe.destroy(),Pe.unsubscribe()},qt={interfaceLanguage$:ae,initVideo:lt,videoId:e,isClip:t,playerPhase:je,vsid:O,state:{positionExact$:ze,positionWithScrubbing$:ln,duration$:oi,playbackState$:pt,isPlaying$:on,isLoaderVisible:zi,bufferedProgress$:Ri,isLive$:dt,canChangePlaybackSpeed$:Ye,isActiveLive$:Tt,isOldestAvailableLive$:Zi,isRewindableLive$:Di,isEnded$:Qt,muted$:ui,volume$:st,trafficSavingEnabled$:de,autoQualityLimitingAvailable$:Se,currentQuality$:ki,isAutoQualityEnabled$:mi,availableQualities$:hi,currentPlaybackRate$:li,availablePlaybackRates$:yi,currentSubtitle$:Ut,availableSubtitlesList$:Mi,currentSubtitleCaptions$:Ci,isAutoSubtitleCaptionVisible$:Fi,chromecastState$:ci,chromecastDeviceName$:Mt,chromecastConnected$:Ai,currentFormat$:Ei,throughputEstimation$:Bi,videoBitrate$:Oi,videoSize$:Le,errorLog$:Ve,crashed$:Ae,isAudioAvailable$:fi,isAudioDisabled:!!l,canDownload:$.features.download&&!!s,availableSources$:Si,hasMpegSources$:Hi,isInteractive:_,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:hs,isInteractiveTime$:ml,graphIsOpened$:Fe(!1),isInteractiveExpectation$:ps,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:S},ui:{controlsVisible:Fe(!1),touched:Fe(!1),controls:{prevButton:Fe(void 0),playButton:Fe(void 0),replayButton:Fe(void 0),nextButton:Fe(void 0),playPrevChapterButton:Fe(void 0),seekToInteractiveButton:Fe(void 0),interactiveGraphButton:Fe(void 0),liveButton:Fe(void 0),time:Fe(void 0),episodes:Fe(void 0),volume:Fe(void 0),subtitles:Fe(void 0),settings:Fe(void 0),chromecast:Fe(void 0),fullscreen:Fe(void 0),vkLogo:Fe(void 0),additionalButtons:B.length?B.reduce(P=>[...P,Fe(void 0)],[]):[],disabledControls$:qe},modals:{hotKeyMap:{show:Fe(!1),data:Fe({title:"",closeBtnText:"",groups:[]})}},isFullscreen:me,rotateAlpha:Q,isAutoplay:Fe(!1),contextMenuVisible:Fe(!1),debugPanelVisible:Fe(!1),playerSize:zn,isMobile:gt,mobileNotReportControlHidden$:tn,mobileUnmuteButtonExpanded:Fe(!1),mobileUnmuteButtonVisible:Fe(!1),icon3DVideoVisible:Fe(!1),settingsMenuVisible:Fe(!1),scrubbingInProgress:hn,is3DVideo:Fe(!1),isPictureInPictureActive$:xe,pictureInPictureType$:_n(M),clientInfo$:_n(G),currentGridType$:x,additionalButtons$:vn,interactiveHideMobileControls:Fe(!1),overlayContainer$:Fe(void 0)},ads:{position:Fe(0),duration:Fe(0),playbackState:Fe(Xt.INACTIVE),canSkip:Fe(!1),secondsToWatchBeforeSkip:Fe(0),postrollPassed:Fe(!1)},webApi:{pictureInPictureApi:se,annotationsApi:we},actions:{internal:{preload:$t,firstStart:P=>at(P,!1),pause:()=>le(!1),togglePlay:si,toggleMuted:xt,setVolume:pi,setQuality:vi,setTrafficSavingEnabled:P=>gi(P),setPlaybackRate:ri,incrementPlaybackRate:Gi,decrementPlaybackRate:Ui,setSubtitle:Pi,toggleSubtitle:Qi,togglePictureInPicture:an,startScrubbing:jn,progressScrubbing:ai,completeScrubbing:On,toggleChromecast:Jn,switchToActiveLive:gn,switchFromAdsToVideo:bo,switchFromVideoToAds:_o,skipAd:sn,setWaitingLive:wo,setWaitingRecord:ko,getDebugTextData:yo,getDebugPanelData:Co,getVideoElement:Qn,seekTime:(P,ie,ge)=>ei(P,ie,ge),clearDelayedBufferingCheckTimeout:Nt,seekEpisodeStartTime:bi,seekToPercent:ji,getNextEpisode:rn,seekToNextEpisode:Pn,getPrevEpisode:j,seekToPrevEpisode:_t,startLogging:tt,stopLogging:ue,startCameraManualRotation:Je,stopCameraManualRotation:Ke,moveCameraFocusPX:Qe,holdCamera:Ze,releaseCamera:ct,getVideoEpisodes:jt,getPreviewThumbsData:bn,downloadVideo:Jt,addLanguage:Xs,setLanguage:J,nextMovie:Ne,videoRotate:xn,completeInteractiveRange:Qc,correctSeekTimeToInteractive:vs,replayInteractive:A},external:{firstStart:P=>at(P,!0),play:()=>qn(!0),pause:()=>le(!0),seekTime:P=>qi(P),seekEpisodeStartTime:P=>fe(P),setPlaybackRate:P=>ti(P),setAutoQualityLimits:P=>zt(P),setMuted:P=>Yt(P,!0),setVolume:P=>pi(P,P,!0)}},callbacks:r,setUiCallbacks:P=>{H=Object.assign({},P)},getAdmanWrapper:()=>ce,getLogger:()=>te,destroy:Jc};return qt};class H6{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 U6(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,s){C(l,e,s),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class j6 extends ye{constructor(e){super(),ke(this,e,null,U6,_e,{})}}function q6(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 W6(i){let e,t,n,o,l,s,r;return n=new j6({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=N(),l=k("span"),s=De(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){C(a,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,s),r=!0},p(a,[c]){(!r||c&2)&&V(t,"desktop",!a[1]),(!r||c&1)&&et(s,a[0])},i(a){r||(m(n.$$.fragment,a),r=!0)},o(a){v(n.$$.fragment,a),r=!1},d(a){a&&y(e),D(n)}}}function Z6(i,e,t){let n,o;const l=Et(),s=!!l.webApi.pictureInPictureApi,r=l.interfaceLanguage$;W(i,r,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,s,r,a,n]}class G6 extends ye{constructor(e){super(),ke(this,e,Z6,W6,_e,{},q6)}}const K6=460,Y6=280;class Yc{constructor(){this.info={isActive$:new Ql(!1),type:An.DocumentPictureInPicture}}isSupported(){const e=Jl().browser===G1.Yandex,{isEmbed:t}=b0();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}request(){var e,t;return Yi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:K6,height:Y6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(r=>[...r.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),s=l.attachShadow({mode:"open"});s.append(o),s.append(this.playerDomElement),this.playerDummyElement=new G6({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",r=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return Yi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return Yi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function X6(i){return i instanceof Yc}class Q6{static getLatestSupportedVersion(){const e=new ss,t=new Yc;if(t.isSupported())return t;if(e.isSupported())return e}}function q1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const s of o)l[s]=(n=(t=e[s])!==null&&t!==void 0?t:i[s])!==null&&n!==void 0?n:void 0;return l}const W1="Inner error. Unexpectedly root annotation container null reference exception",J6="Annotation layer with such name already exists";class Hl extends Error{constructor(e){super(e),this.name="AnnotationError"}}class x6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Hl(W1);if(this.layers.has(e))throw new Hl(J6);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 Hl(W1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class Xc{init(e,t){return vt(e),vt(t),this.subscription=new Gn,this.subscription}}class $6 extends Xc{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Fe(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 eb extends Xc{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Fe(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:l,isPlaying$:s}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=$e(a),f=()=>c&&$e(r);return n.add(r.subscribe(h=>{if(!c)return;const p=$e(o);$e(s)?this.state$.set(h):p!==null&&this.state$.set(!p||h)})),n.add(s.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const p=$e(l);if(f()){this.state$.set(!0);return}p&&this.state$.set(!h)})),n}}const tb=()=>[$6,eb].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),ib={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Io.RU,logoClickable:!1,logoHidden:!1,isMobile:_0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class nb 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.prevVsid=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 Y1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Gn,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 A6({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,s,r,a,c,f,h,p,b,g;if(!this.videoConfig)return;const{albumId:_,statPlace:L,statUserSalt:A,statAuthToken:w,statTrackCode:S,refreshStatAuthToken:B,preload:R,autoplay:U,volume:Y,muted:q,fromTime:ne,canRewindLive:X,supportLink:$,showAds:T,adsSlotId:te,adsParams:ce={},adsPreviewParam:E,interfaceLanguage:oe,logoClickable:se,logoHidden:we,isMobile:be,isAudioDisabled:Te,isLiveCatchUpMode:Ce,fullScreenTarget:H,failoverHosts:G,canDownload:O,callbacks:me,interactiveData:ee,showThumbTimer:M,additionalButtons:Q=[],repeat:Ve}=q1(this.videoConfig,t),{sources:Pe,title:Ae,thumbUrl:J,videoLogoUrl:ae,unitedVideoId:he,isClip:re=!1,duration:je,adsParams:qe={},videoEpisodes:lt,previewThumbsData:nt,subtitles:Ne,live:ft}=e,wt=Object.assign(Object.assign({},ce),qe),Me=this.getNextVideoInfo(),Be={sources:Pe,title:Ae,thumbUrl:J,subtitles:Ne,unitedVideoId:he,isClip:re,live:ft,albumId:_,statPlace:L,autoplay:U,muted:q,volume:Y,fromTime:ne,canRewindLive:X,showAds:T,adsSlotId:te,adsParams:wt,adsPreviewParam:E,duration:je,logoClickable:se,logoHidden:we,isMobile:be,repeat:Ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Me.nextVideoTitle,endScreenVideoThumb:Me.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Zt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Be)}`});const Pt=this.uiConfig.features.statistics&&!!he,{pid:rt}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};Pt&&new Eo(Object.assign({movieId:he,albumId:_,place:L,trackCode:S,autoplay:(s=U&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:be,clip:re},rt&&!this.isInited&&{projectId:Number(rt)}),Object.assign({refreshAuthToken:B,userSalt:A,config:this.statistics.config},this.interactiveController&&this.isInited&&{vsid:this.prevVsid})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Yl(this.uiConfig.sentry,{version:$l,env:Z0},{movieId:he,albumId:_,place:L,autoplay:(r=U&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:be,clip:re}),this.interactiveController&&!this.isInited&&(this.prevVsid=(a=Eo.getInstance())===null||a===void 0?void 0:a.oneStat.vsid$.getValue()),this.statistics=Object.assign(Object.assign({},this.statistics),Eo.getInstance()),this.sentry=Object.assign(Object.assign({},this.sentry),Yl.getInstance());const ue=!!ee,Je=(c=this.interactiveController)===null||c===void 0?void 0:c.getInteractiveRanges(),Ke=[];let Qe;if(ue&&this.interactiveController){const ze=this.interactiveController.state,xe=this.interactiveController.getHistoryState();ze.isInitialChapter$.getValue()&&Ke.push(ht.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ke.push(ht.SEEK_TO_INTERACTIVE_BUTTON),xe.hasPrevChapter$.getValue()||(ze.isInitialChapter$.getValue()?Qe="tooltip_interactive_go_back_disabled_first":ze.lastChapterChangeWasInitiatedByInteractive$.getValue()?Qe="tooltip_interactive_go_back_disabled":Qe="tooltip_interactive_go_back_disabled_limit",Ke.push(ht.PLAY_PREV_CHAPTER_BUTTON))}const Ze=()=>{var ze;const xe=(n==null?void 0:n.info.isEnded$.getValue())&&((ze=this.interactiveController)===null||ze===void 0?void 0:ze.state.isEndChapter$.getValue());me.onReplayInteractiveVideo&&!xe?me.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=F6({player:n,interfaceLanguage:oe,videoId:he,isClip:re,isLiveCatchUpMode:Ce,isAudioDisabled:Te,statAuthToken:w,callbacks:me,webApi:Zt,videoEpisodes:lt,previewThumbsData:nt,canDownload:O,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ke,isInteractive:ue,interactiveRanges:Je,replayInteractive:Ze,playPrevChapterDisabledTooltip:Qe,hasInteractiveBranches:!!(!((h=(f=this.interactiveController)===null||f===void 0?void 0:f.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?Q:[],looped:Ve&&this.videoConfig.videos.length===1});const{stores:ct}=this.microStoresRoot=tb();this.subscription.add(this.store.state.currentFormat$.subscribe(ze=>{var xe;return(xe=me==null?void 0:me.onCurrentFormatChanged)===null||xe===void 0?void 0:xe.call(me,ze)})),this.subscription.add(ct.interactiveControlsOpacity$.subscribe(ze=>{var xe;ze!==null&&((xe=this===null||this===void 0?void 0:this.interactiveController)===null||xe===void 0||xe.setDisabledControls(ze))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(ze=>{var xe;return(xe=me==null?void 0:me.onThroughputEstimationChanged)===null||xe===void 0?void 0:xe.call(me,ze)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(ze=>{var xe;return(xe=me==null?void 0:me.onVideoBitrateChanged)===null||xe===void 0?void 0:xe.call(me,ze)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(ze=>{var xe;const pt=(xe=this.store)===null||xe===void 0?void 0:xe.ui.controls.disabledControls$;pt&&(ze&&!pt.includes(xo)&&pt.add(xo),ze||pt.remove(xo))})),this.initMediaSession(),this.interactiveController&&Pt&&this.initInteractivesStatistics(),this.svelteRootComponent=new k6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Pe,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Ae,thumbUrl:J,videoLogoUrl:ae,subtitles:Ne,live:ft,preload:R,autoplay:U,muted:q,volume:Y,fromTime:ne,canRewindLive:X,supportLink:$,showAds:T,adsSlotId:te,adsParams:wt,adsPreviewParam:E,duration:je,logoClickable:se,logoHidden:we,isMobile:be,failoverHosts:G,fullScreenTarget:H,showMiniTimer:M,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,(g=(b=(p=this.videoConfig)===null||p===void 0?void 0:p.callbacks)===null||b===void 0?void 0:b.onInited)===null||g===void 0||g.call(b))}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 s;return(s=n.onPlayerPhaseChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var s;return(s=n.onPlaybackStateChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var s;return(s=n.onIsLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var s;return(s=n.onIsActiveLiveChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var s;return(s=n.onIsAudioAvailableChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var s;return(s=n.onCurrentQualityChanged)===null||s===void 0?void 0:s.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var s;return(s=n.onAvailableQualitiesChanged)===null||s===void 0?void 0:s.call(n,l.map(({value:r})=>r).filter(r=>r!==mo.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var s,r;return l?(s=n.onPiPEnter)===null||s===void 0?void 0:s.call(n):(r=n.onPiPExit)===null||r===void 0?void 0:r.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var s;return(s=o.onControlsVisibleChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var s;return(s=o.onIsMobileChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var s;return(s=o.onPlayerSizeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var s;return(s=o.onPrevButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var s;return(s=o.onPlayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var s;return(s=o.onReplayButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var s;return(s=o.onNextButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var s;return(s=o.onPlayPrevChapterChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var s;return(s=o.onSeekToInteractiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var s;return(s=o.onGraphButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var s;return(s=o.onLiveButtonChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var s;return(s=o.onTimeUpdateChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var s;return(s=o.onEpisodesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var s;return(s=o.onVolumeChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var s;return(s=o.onSubtitlesChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var s;return(s=o.onSettingsChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var s;return(s=o.onFullscreenChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var s;return(s=o.onChromecastChanged)===null||s===void 0?void 0:s.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var s;return(s=o.onVkLogoChanged)===null||s===void 0?void 0:s.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&&fn(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$:s}=n.state,{disabledControls$:r}=n.ui.controls,a=$e(o),c=$e(l);$e(s)?(s.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),r.remove(Cs),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",s.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),r.add(Cs),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,o;return Yi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:s,CustomError:r}=yield import("@vkontakte/videoplayer-interactive/es2015.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?$e(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}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(_=>{if(!this.isInited)return;const L=this.store;_?L.ui.controls.disabledControls$.remove(ht.SEEK_TO_INTERACTIVE_BUTTON):L.ui.controls.disabledControls$.add(ht.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(_=>{this.store&&this.store.state.isInteractiveExpectation$.set(_)}));let g=!0;if(this.interactiveController.on(s.playerChanged,_=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},_.config),{title:(f==null?void 0:f.title)||_.config.title});const L=g?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(_.player,L),g&&(g=!1)}),this.interactiveController.on(s.interactives,({type:_,subjectId:L,actionType:A})=>{var w,S,B,R;if(!this.store)return;const U=b.getValue();if(_==="container-removed"&&this.store.actions.internal.completeInteractiveRange(L),_==="action-choice"&&A==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(nu)),_==="action-choice-canceled"){const Y=$e(this.store.state.isPlaying$)||U;if(!((w=this.videoConfig)===null||w===void 0)&&w.isMobile&&Y){this.store.ui.interactiveHideMobileControls.set(!0);return}(R=(S=this.videoConfig)===null||S===void 0?void 0:(B=S.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 _=this.interactiveController.getHistoryState();this.subscription.add(_.history$.subscribe(L=>{var A,w,S;L.length&&((S=(w=(A=this.videoConfig)===null||A===void 0?void 0:A.callbacks)===null||w===void 0?void 0:w.onInteractiveHistoryChanged)===null||S===void 0||S.call(w,L))}))}this.interactiveController.on(s.errors,_=>{this.log({message:_.toString()})})}catch(l){this.log({message:l.message})}})}initInteractivesStatistics(){var e,t;return Yi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=yield import("@vkontakte/videoplayer-interactive/es2015.esm.js"),s={[l.GO_NEXT_BUTTON]:Po.NEXT_BUTTON,[l.GO_NEXT_AREA]:Po.NEXT_AREA,[l.WATCH_AGAIN]:Po.WATCH_AGAIN,[l.OPEN_GRAPH]:Po.GRAPH_SHOW,[l.CLOSE_GRAPH]:Po.GRAPH_HIDE},{click$:r,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new nn;r.subscribe(f=>{var h,p;f in s?c.next(s[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,s,r,a,c,f,h,p,b,g,_,L,A,w,S,B,R;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=q1(ib,w0(e,U=>U instanceof HTMLElement?U:void 0)),this.uiConfig=D0((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:(s=this.uiConfig.sentry)!==null&&s!==void 0?s:{}},fn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(r=this.videoConfig.isMediaSessionEnabled)!==null&&r!==void 0?r:!0),fn(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=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(_=this.uiConfig.ads.preview)!==null&&_!==void 0?_: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=(A=this.videoConfig.supportLink)!==null&&A!==void 0?A:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=Q6.getLatestSupportedVersion():this.pictureInPictureApi=new ss),this.mediaSessionApi=this.uiConfig.features.mediaSession?new H6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new x6:void 0,(w=this.svelteStubComponent)===null||w===void 0||w.$destroy(),(S=this.svelteRootComponent)===null||S===void 0||S.$destroy(),this.isInited=!1,this.prevVsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),X6(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===Re.Video?this.setupMediaSessionForVideo():n===Re.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},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(ht.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Re.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(ht.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)}setLanguage(e){var t;return Yi(this,void 0,void 0,function*(){yield(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=Eo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const cb=()=>{window.customElements.define("vk-video-player",nb)};export{Vt as GridTypes,vb as InterfaceLanguage,$l as VERSION,gb as VKNumericLanguage,mb as VideoFormat,hb as VideoQuality,bb as loadVKLangPack,cb as registerPlayerWebComponent};