@vkontakte/videoplayer 1.1.34-dev.0db665ce.0 → 1.1.34

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/esnext.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.34-dev.0db665ce.0
3
- * Fri, 19 Apr 2024 10:01:01 GMT
2
+ * @vkontakte/videoplayer v1.1.34
3
+ * Fri, 26 Apr 2024 14:19:06 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-34/doc/
5
5
  */
6
- "use strict";var z1=Object.create;var nl=Object.defineProperty;var O1=Object.getOwnPropertyDescriptor;var D1=Object.getOwnPropertyNames;var H1=Object.getPrototypeOf,F1=Object.prototype.hasOwnProperty;var U1=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of D1(e))!F1.call(i,o)&&o!==t&&nl(i,o,{get:()=>e[o],enumerable:!(n=O1(e,o))||n.enumerable});return i};var ol=(i,e,t)=>(t=i!=null?z1(H1(i)):{},U1(e||!i||!i.__esModule?nl(t,"default",{value:i,enumerable:!0}):t,i));var nt=require("@vkontakte/videoplayer-core/esnext.cjs.js"),ne=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),pt=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function G(){}function rr(i,e){for(const t in e)i[t]=e[t];return i}function ur(i){return i()}function ll(){return Object.create(null)}function Gt(i){i.forEach(ur)}function mn(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ao;function sl(i,e){return ao||(ao=document.createElement("a")),ao.href=e,i===ao.href}function q1(i){return Object.keys(i).length===0}function _o(i,...e){if(i==null){for(const n of e)n(void 0);return G}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function xe(i){let e;return _o(i,t=>e=t)(),e}function q(i,e,t){i.$$.on_destroy.push(_o(e,t))}function hn(i,e,t,n){if(i){const o=cr(i,e,t,n);return i[0](o)}}function cr(i,e,t,n){return i[1]&&n?rr(t.ctx.slice(),i[1](n(e))):t.ctx}function pn(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 a=0;a<s;a+=1)l[a]=e.dirty[a]|o[a];return l}return e.dirty|o}return e.dirty}function gn(i,e,t,n,o,l){if(o){const s=cr(e,t,n,l);i.p(s,o)}}function bn(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 W1(i){return i??""}const fr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function He(i,e,t){const n=j1(i);if(!n.getElementById(e)){const o=w("style");o.id=e,o.textContent=t,Z1(n,o)}}function j1(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Z1(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 $i(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function w(i){return document.createElement(i)}function I(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Oe(i){return document.createTextNode(i)}function R(){return Oe(" ")}function ht(){return Oe("")}function Ve(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ci(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ft(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 G1(i){return Array.from(i.childNodes)}function Xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Et(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let ro;function K1(){if(ro===void 0){ro=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{ro=!0}}return ro}function ko(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=w("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=K1();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ve(window,"message",s=>{s.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ve(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),y(n)}}function A(i,e,t){i.classList.toggle(e,!!t)}function on(i,e){return new i(e)}let io;function to(i){io=i}function oo(){if(!io)throw new Error("Function called outside component initialization");return io}function Zi(i){oo().$$.on_mount.push(i)}function wo(i){oo().$$.on_destroy.push(i)}function dr(i,e){return oo().$$.context.set(i,e),e}function mr(i){return oo().$$.context.get(i)}function hr(){return oo().$$.context}function qn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Dn=[],We=[];let Fn=[];const Do=[],Y1=Promise.resolve();let Ho=!1;function Q1(){Ho||(Ho=!0,Y1.then(pr))}function Nn(i){Fn.push(i)}function bt(i){Do.push(i)}const Eo=new Set;let Bn=0;function pr(){if(Bn!==0)return;const i=io;do{try{for(;Bn<Dn.length;){const e=Dn[Bn];Bn++,to(e),X1(e.$$)}}catch(e){throw Dn.length=0,Bn=0,e}for(to(null),Dn.length=0,Bn=0;We.length;)We.pop()();for(let e=0;e<Fn.length;e+=1){const t=Fn[e];Eo.has(t)||(Eo.add(t),t())}Fn.length=0}while(Dn.length);for(;Do.length;)Do.pop()();Ho=!1,Eo.clear(),to(i)}function X1(i){if(i.fragment!==null){i.update(),Gt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Nn)}}function J1(i){const e=[],t=[];Fn.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Fn=e}const ho=new Set;let In;function he(){In={r:0,c:[],p:In}}function pe(){In.r||Gt(In.c),In=In.p}function m(i,e){i&&i.i&&(ho.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(ho.has(i))return;ho.add(i),In.c.push(()=>{ho.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function It(i){return i?.length!==void 0?i:Array.from(i)}function x1(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],a=e[l];if(a){for(const r in s)r in a||(n[r]=1);for(const r in a)o[r]||(t[r]=a[r],o[r]=1);i[l]=a}else for(const r in s)o[r]=1}for(const s in n)s in t||(t[s]=void 0);return t}function $1(i){return typeof i=="object"&&i!==null?i:{}}function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function D(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Nn(()=>{const l=i.$$.on_mount.map(ur).filter(mn);i.$$.on_destroy?i.$$.on_destroy.push(...l):Gt(l),i.$$.on_mount=[]}),o.forEach(Nn)}function O(i,e){const t=i.$$;t.fragment!==null&&(J1(t.after_update),Gt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function eu(i,e){i.$$.dirty[0]===-1&&(Dn.push(i),Q1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,s,a=[-1]){const r=io;to(i);const c=i.$$={fragment:null,ctx:[],props:l,update:G,not_equal:o,bound:ll(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(r?r.$$.context:[])),callbacks:ll(),dirty:a,skip_bound:!1,root:e.target||r.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&eu(i,h)),g}):[],c.update(),f=!0,Gt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=G1(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),pr()}to(r)}class we{$$=void 0;$$set=void 0;$destroy(){O(this,1),this.$destroy=G}$on(e,t){if(!mn(t))return G;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&&!q1(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const tu="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(tu);var Wn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Wn||(Wn={}));const iu={isMobile:void 0,defaultLanguage:ne.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Wn.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ne.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},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}},nu=i=>ne.fillWithDefault(i,iu),ou=i=>dr("ui-config",i),Gi=()=>mr("ui-config"),Fo="vk_player_debug_panel_opened",gr=300,lu="videoplayer",su="videoplayer";var Ue;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(Ue||(Ue={}));const yo={[Ue.KeyF]:"f",[Ue.KeyK]:"k",[Ue.KeyC]:"c",[Ue.KeyM]:"m"},au=new Set([Ue.ArrowLeft,Ue.ArrowRight,Ue.KeyL,Ue.KeyJ]);var mt;(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"})(mt||(mt={}));const al=40,ru=4,uu=60,$n=8,br=[mt.TIMELINE],po=[...br,mt.GRAPH_BUTTON],rl=[...br,mt.PLAY_BUTTON],vr=[...po,mt.PLAY_BUTTON];var Hn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Hn||(Hn={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const jn={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},zn=[];function tn(i,e){return{subscribe:Fe(i,e).subscribe}}function Fe(i,e=G){let t;const n=new Set;function o(a){if(be(i,a)&&(i=a,t)){const r=!zn.length;for(const c of n)c[1](),zn.push(c,i);if(r){for(let c=0;c<zn.length;c+=2)zn[c][0](zn[c+1]);zn.length=0}}}function l(a){o(a(i))}function s(a,r=G){const c=[a,r];return n.add(c),n.size===1&&(t=e(o,l)||G),a(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function Zt(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 tn(t,(s,a)=>{let r=!1;const c=[];let f=0,h=G;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,a);l?s(b):h=mn(b)?b:G},v=o.map((b,_)=>_o(b,L=>{c[_]=L,f&=~(1<<_),r&&g()},()=>{f|=1<<_}));return r=!0,g(),function(){Gt(v),h(),r=!1}})}const cu="prod",Co="1.1.34-dev.0db665ce.0",_r=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},kr=Symbol("storeContext"),fu=i=>{dr(kr,i)},_t=()=>{const i=mr(kr);return ne.assertNonNullable(i,"Store context is empty!"),i},gt=(i,e)=>wr(i,i.getValue(),e),wr=(i,e,t)=>tn(e,n=>{const o=i.subscribe(l=>{n(l),t?.(l)});return()=>o.unsubscribe()}),du=(i,e,t)=>{const n=i.info,{width:o,height:l}=xe(t.ui.playerSize),s=n.throughputEstimation$.getValue()?.toFixed(0)??0,a=n.rttEstimation$.getValue()?.toFixed(0)??0,r=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Co} (core: ${nt.VERSION}, stat: ${pt.VERSION}, shared: ${ne.VERSION})`,f=xe(t.state.errorLog$),h=f.length?`
7
- `+f.map((b,_)=>{const L=`${_}) Type: ${b.id}
8
- `,E=`Message: ${b.message} (${b.thrown})
9
- `,P=`Trace: ${b.thrown?.stack}
10
- `;return L+E+P}).join(`
11
- `):void 0,g=t.state.isAudioDisabled?"disabled":xe(t.state.isAudioAvailable$)?void 0:"unavailable",v={Version:c,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${s}Kbps @ ${a}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${r} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:g,Position:`${xe(t.state.positionExact$)}s`,State:`${xe(t.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${l}`,URL:window.location.href,Errors:h};return Object.entries(v).filter(([b,_])=>_!==void 0).map(([b,_])=>`${b}: ${_}`).join(`
12
- `)},mu=(i,e,t)=>{const n=i.info,{width:o,height:l}=xe(t.ui.playerSize),s={version:Co,viewport:`${o}x${l}`,volume:Math.round(xe(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-xe(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},hu=(i,e)=>_r(i,e,"mp4");class yr{state$;subscription;init(e){return ne.assertNonNullable(e),this.subscription=new ne.Subscription,this.subscription}}class pu extends yr{state$={...Fe(null),toggle:()=>this.state$.update(e=>!e)};init(e){const t=super.init(e),{isInteractiveExpectation$:n}=e.state;return t.add(n.subscribe(o=>{this.state$.set(o?!0:null)})),t}}const Wo=new pu,ul=Wo.state$;class gu extends yr{state$={...Fe(null),toggle:()=>this.state$.update(e=>!e)};init(e){const t=super.init(e),{isInteractiveExpectation$:n,isPlaying$:o}=e.state,{controlsVisible:l,isMobile:s}=e.ui,a=xe(s),r=()=>a&&xe(l);return t.add(l.subscribe(c=>{if(!a)return;const f=xe(ul);xe(o)?this.state$.set(c):f!==null&&this.state$.set(!f||c)})),t.add(o.subscribe(c=>{this.state$.set(!c||r())})),t.add(ul.subscribe(c=>{if(c===null)return;const f=xe(n);if(r()){this.state$.set(!0);return}f&&this.state$.set(!c)})),t}}const Cr=new gu,bu=[Wo,Cr],go=Wo.state$,vu=Cr.state$,Pr="vk_player_prefer_traffic_saving_enabled",Sr="vk_player_preferred_volume",Tr="vk_player_prefer_volume_mute",jo="vk_player_preferred_quality",Ar=i=>i>1?1:i<0?0:i,cl=i=>ne.safeStorage.set(Sr,Ar(i).toString(10)),Er=()=>{const i=ne.safeStorage.get(Sr);return ne.isNullable(i)?void 0:Ar(parseFloat(i))},_u=(i,e)=>ne.safeStorage.set(jo,JSON.stringify({videoId:i,value:e})),Vr=()=>ne.safeStorage.remove(jo),ku=i=>{const e=ne.safeStorage.get(jo);if(ne.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){Vr();return}return n},Lr=(i,e)=>{e?ne.safeStorage.set(i,"true"):ne.safeStorage.remove(i)},Ir=i=>ne.safeStorage.get(i)==="true",Vo=i=>Lr(Tr,i),wu=()=>Ir(Tr),yu=i=>Lr(Pr,i),Cu=()=>Ir(Pr);function Pu(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=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(a,"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(a,"stroke","#000"),u(a,"stroke-opacity",".12"),u(a,"stroke-width",".5"),u(a,"stroke-linecap","round"),u(a,"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(v,"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(_,"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",E=!i[0]||null),u(e,"aria-label",P=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,a),d(e,r),d(r,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,L)},p(S,[B]){B&1&&E!==(E=!S[0]||null)&&u(e,"aria-hidden",E),B&1&&P!==(P=S[0]||null)&&u(e,"aria-label",P)},i:G,o:G,d(S){S&&y(e)}}}function Su(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Mr extends we{constructor(e){super(),ke(this,e,Su,Pu,be,{ariaLabel:0})}}const Tu={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}"},Au={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}"},fn=new Map;fn.set(ne.InterfaceLanguage.EN,Au);fn.set(ne.InterfaceLanguage.RU,Tu);const Nr=new Map,fl=({language:i,pack:e,fallback:t})=>{if(fn.has(i)){const n=fn.get(i);fn.set(i,{...n,...e})}else fn.set(i,e);Nr.set(i,t)},dl=i=>fn.has(i),Rr=(i,e,t,n)=>{let l=fn.get(i)?.[e];if(ne.isNullable(l)){const s=Nr.get(i)??n;l=(s?fn.get(s):void 0)?.[e]}return ne.isNullable(l)?e+Object.values(t??{}).join(" "):t?l.replaceAll(/{(\w+?)}/g,(s,a)=>t[a]??""):l},W=(i,e)=>{const{interfaceLanguage$:t}=_t(),n=xe(t),o=Gi();return Rr(n,i,e,o.defaultLanguage)};var bo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(bo||(bo={}));const Eu=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Vu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Lu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,uo="?",Iu="X-Sentry-Auth",Mu=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Nu(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=Eu.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||uo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Lu.exec(t[l]))o={filename:n[2],function:n[1]||uo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Vu.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||uo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=uo),e.push(o)}return e.length?{value:Br(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Br(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function Ru(i){try{const e=Nu(i);if(e)return e}catch{}return{value:Br(i),type:i&&i.name,stacktrace:{frames:[]}}}function Bu(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class zu{constructor(e){if(e&&e.dsn){const t=Mu.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Ru(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(Iu,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Bu(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ml(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function Ou(){return window}class Zo extends zu{constructor(e,t=Ou()){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:a=[],release:r=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=a,this.release=r}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Zo({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>ml(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>ml(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{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],a=Array.isArray(s)?s:null;return{...t,[n]:l||a?[...l||[],...a||[]]:{...typeof o!="string"?o:{},...typeof s!="string"?s:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let co=null;class Uo{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!co&&e.dsn&&(this.sentryClient=new Zo({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ne.Subscription,this.options=e,this.context=n,co=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),co=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:a=0,whiteErrorIdList:r,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:v}=t;if(ne.isNonNullable(v)&&h.includes(v)||ne.isNonNullable(g)&&f.includes(g))return;if(Math.random()<=a||ne.isNonNullable(v)&&c.includes(v)||ne.isNonNullable(g)&&r.includes(g)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{g&&o.captureMessage(g,t.fatal?bo.fatal:bo.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return co}}var Un;(function(i){i.AUTO="auto"})(Un||(Un={}));var ze;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(ze||(ze={}));var cn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(cn||(cn={}));var Mt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Mt||(Mt={}));var dn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(dn||(dn={}));var Ke;(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"})(Ke||(Ke={}));var Mn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Mn||(Mn={}));const zr=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?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Or=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),Du=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},no=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Dr=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Hr=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},Hu=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},Fu=()=>({title:W("hotkey_map_modal_title"),closeBtnText:W("hotkey_map_modal_close_btn_text"),groups:[{title:W("hotkey_map_group_title_common"),items:[{description:W("hotkey_map_item_mute_description"),value:W("hotkey_map_item_mute_value")},{description:W("hotkey_map_item_volume_up_description"),value:W("hotkey_map_item_volume_up_value")},{description:W("hotkey_map_item_volume_down_description"),value:W("hotkey_map_item_volume_down_value")},{description:W("hotkey_map_item_pip_description"),value:W("hotkey_map_item_pip_value")},{description:W("hotkey_map_item_full_screen_description"),value:W("hotkey_map_item_full_screen_value")},{description:W("hotkey_map_item_show_hotkey_map_description"),value:W("hotkey_map_item_show_hotkey_map_value")}]},{title:W("hotkey_map_group_title_playback"),items:[{description:W("hotkey_map_item_play_toggle_description"),value:W("hotkey_map_item_play_toggle_value")},{description:W("hotkey_map_item_seek_backward_description"),value:W("hotkey_map_item_seek_backward_value")},{description:W("hotkey_map_item_seek_forward_description"),value:W("hotkey_map_item_seek_forward_value")},{description:W("hotkey_map_item_fast_seek_backward_description"),value:W("hotkey_map_item_fast_seek_backward_value")},{description:W("hotkey_map_item_fast_seek_forward_description"),value:W("hotkey_map_item_fast_seek_forward_value")},{description:W("hotkey_map_item_rate_down_description"),value:W("hotkey_map_item_rate_down_value")},{description:W("hotkey_map_item_rate_up_description"),value:W("hotkey_map_item_rate_up_value")},{description:W("hotkey_map_item_prev_frame_description"),value:W("hotkey_map_item_prev_frame_value")},{description:W("hotkey_map_item_next_frame_description"),value:W("hotkey_map_item_next_frame_value")},{description:W("hotkey_map_item_jump_seek_description"),value:W("hotkey_map_item_jump_seek_value")}]},{title:W("hotkey_map_group_title_subtitles"),items:[{description:W("hotkey_map_item_subtitles_toggle_description"),value:W("hotkey_map_item_subtitles_toggle_value")}]},{title:W("hotkey_map_group_title_episodes"),items:[{description:W("hotkey_map_item_prev_episode_description"),value:ne.isMacLike()?W("hotkey_map_item_prev_episode_mac_value"):W("hotkey_map_item_prev_episode_pc_value")},{description:W("hotkey_map_item_next_episode_description"),value:ne.isMacLike()?W("hotkey_map_item_next_episode_mac_value"):W("hotkey_map_item_next_episode_pc_value")}]}]});class Go{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ne.debounceFn(this.onResize.bind(this),gr)};info={isActive$:new ne.ValueSubject(this.isActive()),type:dn.PictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function vo(i){return i instanceof Go}function Uu(i){const e=_t();return Zi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class qu extends we{constructor(e){super(),ke(this,e,Uu,null,be,{})}}const nn=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 Wu(i){He(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 ju(i){let e,t=W("playing_ads",{timeleft:i[0]})+"",n;return{c(){e=w("div"),n=Oe(t),u(e,"class","container v-17pubzn"),A(e,"container-mobile",i[1])},m(o,l){C(o,e,l),d(e,n)},p(o,[l]){l&1&&t!==(t=W("playing_ads",{timeleft:o[0]})+"")&&Xe(n,t),l&2&&A(e,"container-mobile",o[1])},i:G,o:G,d(o){o&&y(e)}}}function Zu(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const a=_t().ui.isMobile;q(i,a,c=>t(1,n=c));let r;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,r=nn(l-o))},[r,n,a,o,l]}class Gu extends we{constructor(e){super(),ke(this,e,Zu,ju,be,{position:3,duration:4},Wu)}}function Ku(i){He(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 Yu(i){let e=W("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=W("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Xe(t,e)},d(n){n&&y(t)}}}function Qu(i){let e,t=W("skip_ads_now")+"",n,o,l,s,a,r;return{c(){e=w("div"),n=Oe(t),o=R(),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),a||(r=Ve(e,"click",ft(function(){mn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(c,f){i=c},d(c){c&&y(e),a=!1,r()}}}function Xu(i){let e;function t(l,s){return l[3]?Qu:Yu}let n=t(i),o=n(i);return{c(){e=w("div"),o.c(),u(e,"class","container v-22jj8o"),A(e,"container-mobile",i[4]),A(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&&A(e,"container-mobile",l[4]),s&8&&A(e,"skippable",l[3])},i:G,o:G,d(l){l&&y(e),o.d()}}}function Ju(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=ne.noop}=e;const r=_t().ui.isMobile;q(i,r,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,r]}class xu extends we{constructor(e){super(),ke(this,e,Ju,Xu,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Ku)}}function $u(i){He(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 ec(i){let e;return{c(){e=w("button"),e.textContent=`${W("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){C(t,e,n)},p:G,i:G,o:G,d(t){t&&y(e)}}}class tc extends we{constructor(e){super(),ke(this,e,null,ec,be,{},$u)}}function ic(i){He(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
+ "use strict";var N1=Object.create;var nl=Object.defineProperty;var R1=Object.getOwnPropertyDescriptor;var B1=Object.getOwnPropertyNames;var z1=Object.getPrototypeOf,O1=Object.prototype.hasOwnProperty;var D1=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of B1(e))!O1.call(i,o)&&o!==t&&nl(i,o,{get:()=>e[o],enumerable:!(n=R1(e,o))||n.enumerable});return i};var ol=(i,e,t)=>(t=i!=null?N1(z1(i)):{},D1(e||!i||!i.__esModule?nl(t,"default",{value:i,enumerable:!0}):t,i));var Je=require("@vkontakte/videoplayer-core/esnext.cjs.js"),ne=require("@vkontakte/videoplayer-shared/esnext.cjs.js"),pt=require("@vkontakte/videoplayer-statistics/esnext.cjs.js");function K(){}function sr(i,e){for(const t in e)i[t]=e[t];return i}function ar(i){return i()}function ll(){return Object.create(null)}function Xt(i){i.forEach(ar)}function hn(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let uo;function sl(i,e){return uo||(uo=document.createElement("a")),uo.href=e,i===uo.href}function H1(i){return Object.keys(i).length===0}function ko(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 Xe(i){let e;return ko(i,t=>e=t)(),e}function F(i,e,t){i.$$.on_destroy.push(ko(e,t))}function pn(i,e,t,n){if(i){const o=rr(i,e,t,n);return i[0](o)}}function rr(i,e,t,n){return i[1]&&n?sr(t.ctx.slice(),i[1](n(e))):t.ctx}function gn(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 a=0;a<s;a+=1)l[a]=e.dirty[a]|o[a];return l}return e.dirty|o}return e.dirty}function bn(i,e,t,n,o,l){if(o){const s=rr(e,t,n,l);i.p(s,o)}}function vn(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 F1(i){return i??""}const ur=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function d(i,e){i.appendChild(e)}function Ue(i,e,t){const n=U1(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,q1(n,o)}}function U1(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function q1(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 tn(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 Oe(i){return document.createTextNode(i)}function R(){return Oe(" ")}function ht(){return Oe("")}function Ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ci(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 W1(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function At(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let co;function j1(){if(co===void 0){co=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{co=!0}}return co}function wo(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=j1();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 L(i,e,t){i.classList.toggle(e,!!t)}function ln(i,e){return new i(e)}let no;function io(i){no=i}function lo(){if(!no)throw new Error("Function called outside component initialization");return no}function Zi(i){lo().$$.on_mount.push(i)}function yo(i){lo().$$.on_destroy.push(i)}function Do(i,e){return lo().$$.context.set(i,e),e}function jo(i){return lo().$$.context.get(i)}function cr(){return lo().$$.context}function Wn(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Hn=[],je=[];let Un=[];const Ho=[],Z1=Promise.resolve();let Fo=!1;function G1(){Fo||(Fo=!0,Z1.then(fr))}function Mn(i){Un.push(i)}function bt(i){Ho.push(i)}const Eo=new Set;let zn=0;function fr(){if(zn!==0)return;const i=no;do{try{for(;zn<Hn.length;){const e=Hn[zn];zn++,io(e),K1(e.$$)}}catch(e){throw Hn.length=0,zn=0,e}for(io(null),Hn.length=0,zn=0;je.length;)je.pop()();for(let e=0;e<Un.length;e+=1){const t=Un[e];Eo.has(t)||(Eo.add(t),t())}Un.length=0}while(Hn.length);for(;Ho.length;)Ho.pop()();Fo=!1,Eo.clear(),io(i)}function K1(i){if(i.fragment!==null){i.update(),Xt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Mn)}}function Y1(i){const e=[],t=[];Un.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Un=e}const go=new Set;let Vn;function he(){Vn={r:0,c:[],p:Vn}}function pe(){Vn.r||Xt(Vn.c),Vn=Vn.p}function m(i,e){i&&i.i&&(go.delete(i),i.i(e))}function p(i,e,t,n){if(i&&i.o){if(go.has(i))return;go.add(i),Vn.c.push(()=>{go.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Vt(i){return i?.length!==void 0?i:Array.from(i)}function Q1(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const s=i[l],a=e[l];if(a){for(const r in s)r in a||(n[r]=1);for(const r in a)o[r]||(t[r]=a[r],o[r]=1);i[l]=a}else for(const r in s)o[r]=1}for(const s in n)s in t||(t[s]=void 0);return t}function X1(i){return typeof i=="object"&&i!==null?i:{}}function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function D(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Mn(()=>{const l=i.$$.on_mount.map(ar).filter(hn);i.$$.on_destroy?i.$$.on_destroy.push(...l):Xt(l),i.$$.on_mount=[]}),o.forEach(Mn)}function O(i,e){const t=i.$$;t.fragment!==null&&(Y1(t.after_update),Xt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function J1(i,e){i.$$.dirty[0]===-1&&(Hn.push(i),G1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,s,a=[-1]){const r=no;io(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:ll(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(r?r.$$.context:[])),callbacks:ll(),dirty:a,skip_bound:!1,root:e.target||r.$$.root};s&&s(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[h],c.ctx[h]=b)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](b),f&&J1(i,h)),g}):[],c.update(),f=!0,Xt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=W1(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),fr()}io(r)}class we{$$=void 0;$$set=void 0;$destroy(){O(this,1),this.$destroy=K}$on(e,t){if(!hn(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&&!H1(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const x1="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(x1);var jn;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(jn||(jn={}));const $1={isMobile:void 0,defaultLanguage:ne.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:jn.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ne.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0},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}},eu=i=>ne.fillWithDefault(i,$1),tu=i=>Do("ui-config",i),Gi=()=>jo("ui-config"),Uo="vk_player_debug_panel_opened",dr=300,iu="videoplayer",nu="videoplayer";var Fe;(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"})(Fe||(Fe={}));const Co={[Fe.KeyF]:"f",[Fe.KeyK]:"k",[Fe.KeyC]:"c",[Fe.KeyM]:"m"},ou=new Set([Fe.ArrowLeft,Fe.ArrowRight,Fe.KeyL,Fe.KeyJ]);var ft;(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"})(ft||(ft={}));const al=40,lu=4,su=60,eo=8,mr=[ft.TIMELINE],bo=[...mr,ft.GRAPH_BUTTON],rl=[...mr,ft.PLAY_BUTTON],hr=[...bo,ft.PLAY_BUTTON];var Fn;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Fn||(Fn={}));exports.GridTypes=void 0;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const Zn={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},On=[];function on(i,e){return{subscribe:He(i,e).subscribe}}function He(i,e=K){let t;const n=new Set;function o(a){if(be(i,a)&&(i=a,t)){const r=!On.length;for(const c of n)c[1](),On.push(c,i);if(r){for(let c=0;c<On.length;c+=2)On[c][0](On[c+1]);On.length=0}}}function l(a){o(a(i))}function s(a,r=K){const c=[a,r];return n.add(c),n.size===1&&(t=e(o,l)||K),a(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:s}}function Qt(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 on(t,(s,a)=>{let r=!1;const c=[];let f=0,h=K;const g=()=>{if(f)return;h();const b=e(n?c[0]:c,s,a);l?s(b):h=hn(b)?b:K},v=o.map((b,_)=>ko(b,V=>{c[_]=V,f&=~(1<<_),r&&g()},()=>{f|=1<<_}));return r=!0,g(),function(){Xt(v),h(),r=!1}})}const au="prod",Po="1.1.34",pr=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},gr=Symbol("storeContext"),br=Symbol("microStoresContext"),ru=(i,e)=>{Do(gr,i),Do(br,e)},_t=()=>{const i=jo(gr);return ne.assertNonNullable(i,"Store context is empty!"),i},vr=()=>{const i=jo(br);return ne.assertNonNullable(i,"MicroStores context is empty!"),i},gt=(i,e)=>_r(i,i.getValue(),e),_r=(i,e,t)=>on(e,n=>{const o=i.subscribe(l=>{n(l),t?.(l)});return()=>o.unsubscribe()}),uu=(i,e,t)=>{const n=i.info,{width:o,height:l}=Xe(t.ui.playerSize),s=n.throughputEstimation$.getValue()?.toFixed(0)??0,a=n.rttEstimation$.getValue()?.toFixed(0)??0,r=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Po} (core: ${Je.VERSION}, stat: ${pt.VERSION}, shared: ${ne.VERSION})`,f=Xe(t.state.errorLog$),h=f.length?`
7
+ `+f.map((b,_)=>{const V=`${_}) Type: ${b.id}
8
+ `,A=`Message: ${b.message} (${b.thrown})
9
+ `,S=`Trace: ${b.thrown?.stack}
10
+ `;return V+A+S}).join(`
11
+ `):void 0,g=t.state.isAudioDisabled?"disabled":Xe(t.state.isAudioAvailable$)?void 0:"unavailable",v={Version:c,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${s}Kbps @ ${a}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${r} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:g,Position:`${Xe(t.state.positionExact$)}s`,State:`${Xe(t.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${l}`,URL:window.location.href,Errors:h};return Object.entries(v).filter(([b,_])=>_!==void 0).map(([b,_])=>`${b}: ${_}`).join(`
12
+ `)},cu=(i,e,t)=>{const n=i.info,{width:o,height:l}=Xe(t.ui.playerSize),s={version:Po,viewport:`${o}x${l}`,volume:Math.round(Xe(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-Xe(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(s.speed=h);const g=n.videoBitrate$.getValue();return g&&(s.bitrate=g),s},fu=(i,e)=>pr(i,e,"mp4"),kr="vk_player_prefer_traffic_saving_enabled",wr="vk_player_preferred_volume",yr="vk_player_prefer_volume_mute",Zo="vk_player_preferred_quality",Cr=i=>i>1?1:i<0?0:i,ul=i=>ne.safeStorage.set(wr,Cr(i).toString(10)),Pr=()=>{const i=ne.safeStorage.get(wr);return ne.isNullable(i)?void 0:Cr(parseFloat(i))},du=(i,e)=>ne.safeStorage.set(Zo,JSON.stringify({videoId:i,value:e})),Sr=()=>ne.safeStorage.remove(Zo),mu=i=>{const e=ne.safeStorage.get(Zo);if(ne.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){Sr();return}return n},Tr=(i,e)=>{e?ne.safeStorage.set(i,"true"):ne.safeStorage.remove(i)},Ar=i=>ne.safeStorage.get(i)==="true",Lo=i=>Tr(yr,i),hu=()=>Ar(yr),pu=i=>Tr(kr,i),gu=()=>Ar(kr);function bu(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),V=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(a,"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(a,"stroke","#000"),u(a,"stroke-opacity",".12"),u(a,"stroke-width",".5"),u(a,"stroke-linecap","round"),u(a,"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(v,"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(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_618_12297"),u(V,"in","SourceGraphic"),u(V,"in2","effect1_dropShadow_618_12297"),u(V,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",A=!i[0]||null),u(e,"aria-label",S=i[0]||null)},m(P,B){C(P,e,B),d(e,t),d(t,n),d(t,o),d(t,l),d(t,s),d(t,a),d(e,r),d(r,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,V)},p(P,[B]){B&1&&A!==(A=!P[0]||null)&&u(e,"aria-hidden",A),B&1&&S!==(S=P[0]||null)&&u(e,"aria-label",S)},i:K,o:K,d(P){P&&y(e)}}}function vu(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Er extends we{constructor(e){super(),ke(this,e,vu,bu,be,{ariaLabel:0})}}const _u={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}"},ku={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}"},fn=new Map;fn.set(ne.InterfaceLanguage.EN,ku);fn.set(ne.InterfaceLanguage.RU,_u);const Lr=new Map,cl=({language:i,pack:e,fallback:t})=>{if(fn.has(i)){const n=fn.get(i);fn.set(i,{...n,...e})}else fn.set(i,e);Lr.set(i,t)},fl=i=>fn.has(i),Vr=(i,e,t,n)=>{let l=fn.get(i)?.[e];if(ne.isNullable(l)){const s=Lr.get(i)??n;l=(s?fn.get(s):void 0)?.[e]}return ne.isNullable(l)?e+Object.values(t??{}).join(" "):t?l.replaceAll(/{(\w+?)}/g,(s,a)=>t[a]??""):l},U=(i,e)=>{const{interfaceLanguage$:t}=_t(),n=Xe(t),o=Gi();return Vr(n,i,e,o.defaultLanguage)};var vo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(vo||(vo={}));const wu=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,yu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Cu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fo="?",Pu="X-Sentry-Auth",Su=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Tu(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=wu.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||fo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Cu.exec(t[l]))o={filename:n[2],function:n[1]||fo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=yu.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||fo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=fo),e.push(o)}return e.length?{value:Ir(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Ir(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function Au(i){try{const e=Tu(i);if(e)return e}catch{}return{value:Ir(i),type:i&&i.name,stacktrace:{frames:[]}}}function Eu(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class Lu{constructor(e){if(e&&e.dsn){const t=Su.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/api/"+o.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[Au(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(Pu,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Eu(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function dl(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function Vu(){return window}class Go extends Lu{constructor(e,t=Vu()){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:a=[],release:r=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=s,this.ignoreErrors=a,this.release=r}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Go({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>dl(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>dl(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{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],a=Array.isArray(s)?s:null;return{...t,[n]:l||a?[...l||[],...a||[]]:{...typeof o!="string"?o:{},...typeof s!="string"?s:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let mo=null;class qo{sentrySubscription;options;version;context;sentryClient;constructor(e,t,n={}){!mo&&e.dsn&&(this.sentryClient=new Go({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ne.Subscription,this.options=e,this.context=n,mo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),mo=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:a=0,whiteErrorIdList:r,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=s,{errorType:g,category:v}=t;if(ne.isNonNullable(v)&&h.includes(v)||ne.isNonNullable(g)&&f.includes(g))return;if(Math.random()<=a||ne.isNonNullable(v)&&c.includes(v)||ne.isNonNullable(g)&&r.includes(g)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{g&&o.captureMessage(g,t.fatal?vo.fatal:vo.error),o.report(e)}catch(_){console.error(_)}}}static getInstance(){return mo}}var qn;(function(i){i.AUTO="auto"})(qn||(qn={}));var ze;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(ze||(ze={}));var cn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(cn||(cn={}));var Bt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Bt||(Bt={}));var dn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(dn||(dn={}));var Ge;(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"})(Ge||(Ge={}));var In;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(In||(In={}));const Mr=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?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Nr=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),Iu=i=>{const e=i;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Rr=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Br=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},Mu=i=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(i))},Nu=()=>({title:U("hotkey_map_modal_title"),closeBtnText:U("hotkey_map_modal_close_btn_text"),groups:[{title:U("hotkey_map_group_title_common"),items:[{description:U("hotkey_map_item_mute_description"),value:U("hotkey_map_item_mute_value")},{description:U("hotkey_map_item_volume_up_description"),value:U("hotkey_map_item_volume_up_value")},{description:U("hotkey_map_item_volume_down_description"),value:U("hotkey_map_item_volume_down_value")},{description:U("hotkey_map_item_pip_description"),value:U("hotkey_map_item_pip_value")},{description:U("hotkey_map_item_full_screen_description"),value:U("hotkey_map_item_full_screen_value")},{description:U("hotkey_map_item_show_hotkey_map_description"),value:U("hotkey_map_item_show_hotkey_map_value")}]},{title:U("hotkey_map_group_title_playback"),items:[{description:U("hotkey_map_item_play_toggle_description"),value:U("hotkey_map_item_play_toggle_value")},{description:U("hotkey_map_item_seek_backward_description"),value:U("hotkey_map_item_seek_backward_value")},{description:U("hotkey_map_item_seek_forward_description"),value:U("hotkey_map_item_seek_forward_value")},{description:U("hotkey_map_item_fast_seek_backward_description"),value:U("hotkey_map_item_fast_seek_backward_value")},{description:U("hotkey_map_item_fast_seek_forward_description"),value:U("hotkey_map_item_fast_seek_forward_value")},{description:U("hotkey_map_item_rate_down_description"),value:U("hotkey_map_item_rate_down_value")},{description:U("hotkey_map_item_rate_up_description"),value:U("hotkey_map_item_rate_up_value")},{description:U("hotkey_map_item_prev_frame_description"),value:U("hotkey_map_item_prev_frame_value")},{description:U("hotkey_map_item_next_frame_description"),value:U("hotkey_map_item_next_frame_value")},{description:U("hotkey_map_item_jump_seek_description"),value:U("hotkey_map_item_jump_seek_value")}]},{title:U("hotkey_map_group_title_subtitles"),items:[{description:U("hotkey_map_item_subtitles_toggle_description"),value:U("hotkey_map_item_subtitles_toggle_value")}]},{title:U("hotkey_map_group_title_episodes"),items:[{description:U("hotkey_map_item_prev_episode_description"),value:ne.isMacLike()?U("hotkey_map_item_prev_episode_mac_value"):U("hotkey_map_item_prev_episode_pc_value")},{description:U("hotkey_map_item_next_episode_description"),value:ne.isMacLike()?U("hotkey_map_item_next_episode_mac_value"):U("hotkey_map_item_next_episode_pc_value")}]}]});class Ko{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ne.debounceFn(this.onResize.bind(this),dr)};info={isActive$:new ne.ValueSubject(this.isActive()),type:dn.PictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function _o(i){return i instanceof Ko}function Ru(i){const e=_t();return Zi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Bu extends we{constructor(e){super(),ke(this,e,Ru,null,be,{})}}function zu(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 Ou(i){let e=U("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&3&&e!==(e=U("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(t,e)},d(n){n&&y(t)}}}function Du(i){let e,t=U("skip_ads_now")+"",n,o,l,s,a,r;return{c(){e=k("div"),n=Oe(t),o=R(),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),a||(r=Ee(e,"click",ut(function(){hn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(c,f){i=c},d(c){c&&y(e),a=!1,r()}}}function Hu(i){let e;function t(l,s){return l[3]?Du:Ou}let n=t(i),o=n(i);return{c(){e=k("div"),o.c(),u(e,"class","container v-22jj8o"),L(e,"container-mobile",i[4]),L(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&&L(e,"container-mobile",l[4]),s&8&&L(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function Fu(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:s=ne.noop}=e;const r=_t().ui.isMobile;F(i,r,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,r]}class Uu extends we{constructor(e){super(),ke(this,e,Fu,Hu,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},zu)}}function qu(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 Wu(i){let e;return{c(){e=k("button"),e.textContent=`${U("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 ju extends we{constructor(e){super(),ke(this,e,null,Wu,be,{},qu)}}function Zu(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 @@
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 hl(i){let e;return{c(){e=w("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function pl(i){let e,t;return e=new Gu({props:{position:i[6],duration:i[7]}}),{c(){D(e.$$.fragment)},m(n,o){z(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||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function gl(i){let e,t;return e=new xu({props:{position:i[6],secondsToWatchBeforeSkip:i[8],skipAd:i[10].actions.internal.skipAd}}),{c(){D(e.$$.fragment)},m(n,o){z(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||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function bl(i){let e,t;return e=new qu({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function vl(i){let e,t;return e=new tc({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function nc(i){let e,t,n,o,l,s,a,r,c=i[0]&&hl(),f=i[3]&&pl(i),h=i[4]&&gl(i),g=i[9]&&bl(),v=i[5]&&vl();return{c(){e=w("div"),c&&c.c(),t=R(),n=w("video"),o=R(),f&&f.c(),l=R(),h&&h.c(),s=R(),g&&g.c(),a=R(),v&&v.c(),Et(n,"width","100%"),Et(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(b,_){C(b,e,_),c&&c.m(e,null),d(e,t),d(e,n),i[22](n),d(e,o),f&&f.m(e,null),d(e,l),h&&h.m(e,null),d(e,s),g&&g.m(e,null),d(e,a),v&&v.m(e,null),i[23](e),r=!0},p(b,[_]){b[0]?c||(c=hl(),c.c(),c.m(e,t)):c&&(c.d(1),c=null),b[3]?f?(f.p(b,_),_&8&&m(f,1)):(f=pl(b),f.c(),m(f,1),f.m(e,l)):f&&(he(),p(f,1,1,()=>{f=null}),pe()),b[4]?h?(h.p(b,_),_&16&&m(h,1)):(h=gl(b),h.c(),m(h,1),h.m(e,s)):h&&(he(),p(h,1,1,()=>{h=null}),pe()),b[9]?g?_&512&&m(g,1):(g=bl(),g.c(),m(g,1),g.m(e,a)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),b[5]?v?_&32&&m(v,1):(v=vl(),v.c(),m(v,1),v.m(e,null)):v&&(he(),p(v,1,1,()=>{v=null}),pe())},i(b){r||(m(f),m(h),m(g),m(v),r=!0)},o(b){p(f),p(h),p(g),p(v),r=!1},d(b){b&&y(e),c&&c.d(),i[22](null),f&&f.d(),h&&h.d(),g&&g.d(),v&&v.d(),i[23](null)}}}function oc(i,e,t){let n,o,l,s,a,r,{adsSlotId:c=void 0}=e,{adsParams:f=void 0}=e,{adsPreviewParam:h=void 0}=e,{duration:g=0}=e;const v=_t(),b=v.state.isEnded$;q(i,b,H=>t(9,r=H));const _=v.ui.isMobile;q(i,_,H=>t(0,o=H));let L,E,P=!1;const S=v.ads.playbackState;q(i,S,H=>t(21,n=H));const B=v.ads.canSkip,j=v.ads.duration;q(i,j,H=>t(7,s=H));const J=v.ads.position;q(i,J,H=>t(6,l=H));const Z=v.ads.secondsToWatchBeforeSkip;q(i,Z,H=>t(8,a=H));let T,$,ie;Zi(()=>{const H=new AbortController;let re=()=>{H.abort()};const k=v.getAdmanWrapper();if(!c){k.onAdmanLoadingError();return}const{width:le,height:ce}=xe(v.ui.playerSize),ve=xe(v.ui.isFullscreen),Ne=xe(v.ui.isAutoplay),Ae={width:le,height:ce,isFullscreen:ve,isAutoplay:Ne,adsContainer:L,adsVideoElement:E,slotId:c,params:f,previewParam:h,duration:g};return window.AdmanHTML?(k.initAdman(Ae),P=!0):k.loadAdman(H.signal).then(()=>{k.initAdman(Ae),P=!0}).catch(()=>{k.onAdmanLoadingError()}),()=>{!P&&re()}});function te(H){We[H?"unshift":"push"](()=>{E=H,t(2,E)})}function K(H){We[H?"unshift":"push"](()=>{L=H,t(1,L)})}return i.$$set=H=>{"adsSlotId"in H&&t(17,c=H.adsSlotId),"adsParams"in H&&t(18,f=H.adsParams),"adsPreviewParam"in H&&t(19,h=H.adsPreviewParam),"duration"in H&&t(20,g=H.duration)},i.$$.update=()=>{i.$$.dirty&2097152&&t(3,T=n!==Mt.INACTIVE),i.$$.dirty&2097152&&t(4,$=B&&n!==Mt.INACTIVE),i.$$.dirty&2097153&&t(5,ie=o&&n!==Mt.INACTIVE)},[o,L,E,T,$,ie,l,s,a,r,v,b,_,S,j,J,Z,c,f,h,g,n,te,K]}class Fr extends we{constructor(e){super(),ke(this,e,oc,nc,be,{adsSlotId:17,adsParams:18,adsPreviewParam:19,duration:20},ic)}}function lc(i){He(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 sc(i){let e;return{c(){e=w("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),A(e,"shifted",i[0])},m(t,n){C(t,e,n),i[2](e)},p(t,[n]){n&1&&A(e,"shifted",t[0])},i:G,o:G,d(t){t&&y(e),i[2](null)}}}function ac(i,e,t){let{showControls:n}=e,o;const s=_t().webApi.annotationsApi;Zi(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function a(r){We[r?"unshift":"push"](()=>{o=r,t(1,o)})}return i.$$set=r=>{"showControls"in r&&t(0,n=r.showControls)},[n,o,a]}class Ur extends we{constructor(e){super(),ke(this,e,ac,sc,be,{showControls:0},lc)}}function rc(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 uc(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 cc(i){let e;function t(l,s){return l[0]?uc:rc}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function fc(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class qr extends we{constructor(e){super(),ke(this,e,fc,cc,be,{isActive:0})}}function dc(i){He(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 mc(i){let e=nn(i[4]-i[3])+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=nn(n[4]-n[3])+"")&&Xe(t,e)},i:G,o:G,d(n){n&&y(t)}}}function hc(i){let e,t,n;return t=new qr({props:{isActive:!0}}),{c(){e=w("div"),D(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:G,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function pc(i){let e,t,n,o,l,s,a;const r=[hc,mc],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=r[l](i),{c(){e=w("div"),t=w("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),o=w("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"),A(e,"live",i[1]),A(e,"hidden",i[0]),A(e,"playing",i[2])},m(h,g){C(h,e,g),d(e,t),d(e,n),d(e,o),c[l].m(o,null),a=!0},p(h,[g]){let v=l;l=f(h),l===v?c[l].p(h,g):(he(),p(c[v],1,1,()=>{c[v]=null}),pe(),s=c[l],s?s.p(h,g):(s=c[l]=r[l](h),s.c()),m(s,1),s.m(o,null)),(!a||g&2)&&A(e,"live",h[1]),(!a||g&1)&&A(e,"hidden",h[0]),(!a||g&4)&&A(e,"playing",h[2])},i(h){a||(m(s),a=!0)},o(h){p(s),a=!1},d(h){h&&y(e),c[l].d()}}}function gc(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:a}=e;return i.$$set=r=>{"isHidden"in r&&t(0,n=r.isHidden),"isLive"in r&&t(1,o=r.isLive),"isPlaying"in r&&t(2,l=r.isPlaying),"position"in r&&t(3,s=r.position),"duration"in r&&t(4,a=r.duration)},[n,o,l,s,a]}class Wr extends we{constructor(e){super(),ke(this,e,gc,pc,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},dc)}}const qo=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 bc(i){He(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 vc(i){let e,t=W("menu_copy_video_link")+"",n,o,l,s,a,r=!i[4]&&!i[16]&&_l(i);return{c(){e=w("li"),n=Oe(t),o=R(),r&&r.c(),l=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",W("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){C(c,e,f),d(e,n),C(c,o,f),r&&r.m(c,f),C(c,l,f),s||(a=Ve(e,"click",ft(i[30])),s=!0)},p(c,f){!c[4]&&!c[16]?r?r.p(c,f):(r=_l(c),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(c){c&&(y(e),y(o),y(l)),r&&r.d(c),s=!1,a()}}}function _l(i){let e,t=W("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=w("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",W("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ve(e,"click",ft(i[31])),o=!0)},p:G,d(s){s&&y(e),o=!1,l()}}}function kl(i){let e,t=W("menu_pip")+"",n,o,l;return{c(){e=w("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",W("menu_pip")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ve(e,"click",ft(i[21])),o=!0)},p:G,d(s){s&&y(e),o=!1,l()}}}function _c(i){let e,t=W("menu_video_rotate")+"",n,o,l;return{c(){e=w("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",W("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ve(e,"click",ft(i[17])),o=!0)},p:G,d(s){s&&y(e),o=!1,l()}}}function wl(i){let e,t=W("menu_report")+"",n,o,l;return{c(){e=w("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${W("menu_report")}. ${W("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ve(e,"click",ft(i[18])),o=!0)},p:G,d(s){s&&y(e),o=!1,l()}}}function kc(i){let e,t,n,o,l,s,a=(i[9].features.saveDebugInfoToFile?W("menu_save_debug"):W("menu_copy_debug"))+"",r,c,f,h=W("menu_debug_overlay")+"",g,v,b,_,L=i[9].features.copyVideoLink&&i[8].callbacks?.onCopyVideoLink&&vc(i),E=i[11]&&i[5]!==nt.ChromecastState.CONNECTED&&!i[16]&&kl(i),P=i[9].features.videoRotate&&!i[16]&&_c(i),S=i[9].showSupport&&!i[6]&&wl(i);return{c(){e=w("ul"),L&&L.c(),t=R(),E&&E.c(),n=R(),P&&P.c(),o=R(),S&&S.c(),l=R(),s=w("li"),r=Oe(a),c=R(),f=w("li"),g=Oe(h),u(s,"tabindex","0"),u(s,"role","menuitem"),u(s,"aria-label",i[9].features.saveDebugInfoToFile?W("menu_save_debug"):W("menu_copy_debug")),u(s,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",v=i[7]?W("aria_label_menu_debug_overlay_disable"):W("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Et(e,"top",i[2]+"px"),Et(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),A(e,"hidden",!i[0])},m(B,j){C(B,e,j),L&&L.m(e,null),d(e,t),E&&E.m(e,null),d(e,n),P&&P.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),d(e,s),d(s,r),d(e,c),d(e,f),d(f,g),i[32](e),b||(_=[Ve(s,"click",ft(i[19])),Ve(f,"click",ft(i[20])),Ve(e,"contextmenu",ci(i[29]))],b=!0)},p(B,j){B[9].features.copyVideoLink&&B[8].callbacks?.onCopyVideoLink&&L.p(B,j),B[11]&&B[5]!==nt.ChromecastState.CONNECTED&&!B[16]?E?E.p(B,j):(E=kl(B),E.c(),E.m(e,n)):E&&(E.d(1),E=null),B[9].features.videoRotate&&!B[16]&&P.p(B,j),B[9].showSupport&&!B[6]?S?S.p(B,j):(S=wl(B),S.c(),S.m(e,l)):S&&(S.d(1),S=null),j[0]&128&&v!==(v=B[7]?W("aria_label_menu_debug_overlay_disable"):W("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",v),j[0]&4&&Et(e,"top",B[2]+"px"),j[0]&2&&Et(e,"left",B[1]+"px"),j[0]&1&&A(e,"hidden",!B[0])},i:G,o:G,d(B){B&&y(e),L&&L.d(),E&&E.d(),P&&P.d(),S&&S.d(),i[32](null),b=!1,Gt(_)}}}function wc(i,e,t){let n,o,l,s,a,{visible:r=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:g=void 0}=e,{controlsContainerRef:v=void 0}=e,{returnFocus:b}=e,_=0,L=0;const E=_t(),P=Gi(),S=E.ui.contextMenuVisible,B=E.ui.debugPanelVisible;q(i,B,N=>t(7,a=N));const j=E.webApi.pictureInPictureApi,J=E.webApi.pictureInPictureApi?.info.isActive$;q(i,J,N=>t(6,s=N));const Z=E.state.chromecastState$;q(i,Z,N=>t(5,l=N));const T=E.state.isLive$;q(i,T,N=>t(4,o=N));const $=E.state.positionExact$;q(i,$,N=>t(33,n=N));const ie=E.state.isInteractive;let te;const K=(N,Y)=>{if(!te||!g||!v)return;const ge=te.getBoundingClientRect(),ee=g.getBoundingClientRect();t(1,_=N-ee.left),t(2,L=Y-ee.top),_+ge.width>ee.width&&t(1,_=ee.width-ge.width),L+ge.height>ee.height&&t(2,L=ee.height-ge.height),t(1,_=Math.max(_,0)),t(2,L=Math.max(L,0))},H=()=>{S.set(!1),E.actions.internal.videoRotate()},re=()=>{window.open(c,"_blank"),S.set(!1),E.actions.internal.pause()},k=()=>{const N=E.actions.internal.getDebugTextData();if(P.features.saveDebugInfoToFile){const Y=new Blob([...N],{type:"plain/text"}),ge=window.URL.createObjectURL(Y);_r(ge,"vk_player_debug_info","txt")}else qo(E.actions.internal.getDebugTextData());S.set(!1),b?.()},le=()=>{B.set(!0),S.set(!1),b?.()},ce=async()=>{try{j?.isActive()?await j?.remove():await j?.request()}finally{S.set(!1),b?.()}},ve=(N=!1)=>{if(E.callbacks?.onCopyVideoLink){const Y=E.callbacks?.onCopyVideoLink(N,n);Y&&qo(Y)}S.set(!1)};function Ne(N){qn.call(this,i,N)}const Ae=()=>ve(),Ce=()=>ve(!0);function F(N){We[N?"unshift":"push"](()=>{te=N,t(3,te)})}return i.$$set=N=>{"visible"in N&&t(0,r=N.visible),"supportLink"in N&&t(23,c=N.supportLink),"x"in N&&t(24,f=N.x),"y"in N&&t(25,h=N.y),"playerContainerRef"in N&&t(26,g=N.playerContainerRef),"controlsContainerRef"in N&&t(27,v=N.controlsContainerRef),"returnFocus"in N&&t(28,b=N.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&K(f,h)},[r,_,L,te,o,l,s,a,E,P,B,j,J,Z,T,$,ie,H,re,k,le,ce,ve,c,f,h,g,v,b,Ne,Ae,Ce,F]}class yc extends we{constructor(e){super(),ke(this,e,wc,kc,be,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},bc,[-1,-1])}}class Cc{value;next;constructor(e){this.value=e,this.next=null}}class Lo{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new Cc(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 Pc(i){He(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function Sc(i){let e,t;return{c(){e=w("div"),t=w("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:G,i:G,o:G,d(n){n&&y(e),i[3](null)}}}const Io=16,Mo=120,yl=60;function Tc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function Ac(i,e,t){let{values:n=[]}=e,o,l;const s=Mo/yl;Zi(()=>{t(0,o.width=Mo,o),t(0,o.height=Io,o),t(2,l=o.getContext("2d"))});function a(r){We[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"values"in r&&t(1,n=r.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let r=n[0];for(let f=1;f<n.length;f++)n[f]>r&&(r=n[f]);l.clearRect(0,0,Mo,Io);let c=yl-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=r>0?Io*(n[f]/r):0;Tc(l,h,0,s,g),c--}}},[o,n,l,a]}class Ko extends we{constructor(e){super(),ke(this,e,Ac,Sc,be,{values:1},Pc)}}function Ec(i){He(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 Cl(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Video id",n=R(),o=w("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].id+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Pl(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Provider",n=R(),o=w("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].provider+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Sl(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Viewport",n=R(),o=w("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].viewport+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Tl(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="Video size",n=R(),o=w("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].videoSize+"")&&Xe(s,l)},d(a){a&&y(e)}}}function Al(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=w("div"),t=w("div"),t.textContent="CDN host",n=R(),o=w("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].cdn+"")&&Xe(s,l)},d(a){a&&y(e)}}}function El(i){let e,t,n,o,l=i[0].volume+"",s,a;return{c(){e=w("div"),t=w("div"),t.textContent="Volume",n=R(),o=w("span"),s=Oe(l),a=Oe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].volume+"")&&Xe(s,l)},d(r){r&&y(e)}}}function Vl(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,a;return{c(){e=w("div"),t=w("div"),t.textContent="Buffer",n=R(),o=w("span"),s=Oe(l),a=Oe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].buffer.toFixed(2)+"")&&Xe(s,l)},d(r){r&&y(e)}}}function Ll(i){let e,t,n,o,l,s,a=i[0].speed.toFixed(2)+"",r,c,f;return o=new Ko({props:{values:i[5]}}),{c(){e=w("div"),t=w("div"),t.textContent="Network",n=R(),D(o.$$.fragment),l=R(),s=w("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&32&&(v.values=h[5]),o.$set(v),(!f||g&1)&&a!==(a=h[0].speed.toFixed(2)+"")&&Xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function Il(i){let e,t,n,o,l,s,a=i[0].bitrate.toFixed(2)+"",r,c,f;return o=new Ko({props:{values:i[6]}}),{c(){e=w("div"),t=w("div"),t.textContent="V bitrate",n=R(),D(o.$$.fragment),l=R(),s=w("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&64&&(v.values=h[6]),o.$set(v),(!f||g&1)&&a!==(a=h[0].bitrate.toFixed(2)+"")&&Xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function Vc(i){let e,t,n,o,l,s,a,r,c=i[0].version+"",f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,N,Y=i[0].id&&Cl(i),ge=i[0].provider&&Pl(i),ee=i[0].viewport&&Sl(i),M=i[0].videoSize&&Tl(i),Q=i[0].cdn&&Al(i),Ie=i[0].volume&&El(i),ye=i[0].buffer&&Vl(i),Se=i[0].speed&&Ll(i),X=i[0].bitrate&&Il(i);return ce=new Ko({props:{values:i[4]}}),{c(){e=w("div"),t=w("button"),t.textContent="[x]",n=R(),o=w("div"),l=w("div"),s=w("div"),s.textContent="Version",a=R(),r=w("span"),f=Oe(c),h=R(),Y&&Y.c(),g=R(),ge&&ge.c(),v=R(),ee&&ee.c(),b=R(),M&&M.c(),_=R(),Q&&Q.c(),L=R(),Ie&&Ie.c(),E=R(),ye&&ye.c(),P=R(),S=w("div"),B=w("div"),B.textContent="Dropped",j=R(),J=w("span"),Z=Oe(i[2]),T=Oe(" / "),$=Oe(i[1]),ie=Oe(" frames"),te=R(),Se&&Se.c(),K=R(),X&&X.c(),H=R(),re=w("div"),k=w("div"),k.textContent="FPS",le=R(),D(ce.$$.fragment),ve=R(),Ne=w("span"),Ae=Oe(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(k,"class","v-1gy2e68"),u(re,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),A(e,"container-mobile",i[7])},m(se,_e){C(se,e,_e),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,a),d(l,r),d(r,f),d(o,h),Y&&Y.m(o,null),d(o,g),ge&&ge.m(o,null),d(o,v),ee&&ee.m(o,null),d(o,b),M&&M.m(o,null),d(o,_),Q&&Q.m(o,null),d(o,L),Ie&&Ie.m(o,null),d(o,E),ye&&ye.m(o,null),d(o,P),d(o,S),d(S,B),d(S,j),d(S,J),d(J,Z),d(J,T),d(J,$),d(J,ie),d(o,te),Se&&Se.m(o,null),d(o,K),X&&X.m(o,null),d(o,H),d(o,re),d(re,k),d(re,le),z(ce,re,null),d(re,ve),d(re,Ne),d(Ne,Ae),Ce=!0,F||(N=Ve(t,"click",ft(i[9])),F=!0)},p(se,[_e]){(!Ce||_e&1)&&c!==(c=se[0].version+"")&&Xe(f,c),se[0].id?Y?Y.p(se,_e):(Y=Cl(se),Y.c(),Y.m(o,g)):Y&&(Y.d(1),Y=null),se[0].provider?ge?ge.p(se,_e):(ge=Pl(se),ge.c(),ge.m(o,v)):ge&&(ge.d(1),ge=null),se[0].viewport?ee?ee.p(se,_e):(ee=Sl(se),ee.c(),ee.m(o,b)):ee&&(ee.d(1),ee=null),se[0].videoSize?M?M.p(se,_e):(M=Tl(se),M.c(),M.m(o,_)):M&&(M.d(1),M=null),se[0].cdn?Q?Q.p(se,_e):(Q=Al(se),Q.c(),Q.m(o,L)):Q&&(Q.d(1),Q=null),se[0].volume?Ie?Ie.p(se,_e):(Ie=El(se),Ie.c(),Ie.m(o,E)):Ie&&(Ie.d(1),Ie=null),se[0].buffer?ye?ye.p(se,_e):(ye=Vl(se),ye.c(),ye.m(o,P)):ye&&(ye.d(1),ye=null),(!Ce||_e&4)&&Xe(Z,se[2]),(!Ce||_e&2)&&Xe($,se[1]),se[0].speed?Se?(Se.p(se,_e),_e&1&&m(Se,1)):(Se=Ll(se),Se.c(),m(Se,1),Se.m(o,K)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe()),se[0].bitrate?X?(X.p(se,_e),_e&1&&m(X,1)):(X=Il(se),X.c(),m(X,1),X.m(o,H)):X&&(he(),p(X,1,1,()=>{X=null}),pe());const ae={};_e&16&&(ae.values=se[4]),ce.$set(ae),(!Ce||_e&8)&&Xe(Ae,se[3]),(!Ce||_e&128)&&A(e,"container-mobile",se[7])},i(se){Ce||(m(Se),m(X),m(ce.$$.fragment,se),Ce=!0)},o(se){p(Se),p(X),p(ce.$$.fragment,se),Ce=!1},d(se){se&&y(e),Y&&Y.d(),ge&&ge.d(),ee&&ee.d(),M&&M.d(),Q&&Q.d(),Ie&&Ie.d(),ye&&ye.d(),Se&&Se.d(),X&&X.d(),O(ce),F=!1,N()}}}function Lc(i,e,t){let n;const o=_t(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;q(i,s,S=>t(7,n=S));const a=()=>{ne.safeStorage.remove(Fo),l.set(!1)};let r=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const v=new Lo(60),b=new Lo(60),_=new Lo(60);let L=[],E=[],P=[];return Zi(()=>{ne.safeStorage.set(Fo,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const S=window.setInterval(()=>{t(0,r=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const j=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=j-f),t(1,f=j),v.push(g),r.speed&&b.push(r.speed),r.bitrate&&_.push(r.bitrate),t(4,L=v.getValuesFromBottom()),t(5,E=b.getValuesFromBottom()),t(6,P=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(S),B&&clearInterval(B)}}),[r,f,h,g,L,E,P,n,s,a]}class jr extends we{constructor(e){super(),ke(this,e,Lc,Vc,be,{},Ec)}}function Ic(i){He(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 Mc(i){let e,t,n;return{c(){e=w("div"),u(e,"class","close v-1ome55p")},m(o,l){C(o,e,l),t||(n=Ve(e,"click",ft(i[0])),t=!0)},p:G,i:G,o:G,d(o){o&&y(e),t=!1,n()}}}function Nc(i){function e(t){qn.call(this,i,t)}return[e]}class Rc extends we{constructor(e){super(),ke(this,e,Nc,Mc,be,{},Ic)}}function Bc(i){He(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 zc(i){let e,t,n,o,l,s,a;return{c(){e=w("div"),t=w("canvas"),n=R(),o=I("svg"),l=I("g"),s=I("g"),a=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(a,"class","_play"),u(a,"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(a,"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(r,c){C(r,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,a)},p:G,i:G,o:G,d(r){r&&y(e),i[2](null)}}}const Oc=5e3;function Dc(i,e,t){let{onTimerEnded:n=ne.noop}=e,o;Zi(()=>{let s;const a=o.getContext("2d");if(!a)return;a.lineWidth=6,a.lineCap="round",a.strokeStyle="#fff";const r=Date.now(),c=()=>{const f=(Date.now()-r)/Oc;f<1?(a.clearRect(0,0,100,100),a.beginPath(),a.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),a.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 Hc extends we{constructor(e){super(),ke(this,e,Dc,zc,be,{onTimerEnded:1},Bc)}}function Fc(i){He(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 Ml(i){let e,t;return e=new Hc({props:{onTimerEnded:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Uc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j;a=new Rc({}),a.$on("click",i[4]);let J=i[3]&&Ml(i);return{c(){e=w("div"),t=R(),n=w("div"),o=w("div"),l=w("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",s=R(),D(a.$$.fragment),r=R(),c=w("div"),f=w("div"),h=w("div"),g=w("div"),v=R(),J&&J.c(),_=R(),L=w("div"),E=w("div"),P=Oe(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(E,"class","title v-kisfwc"),u(L,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Z,T){C(Z,e,T),C(Z,t,T),C(Z,n,T),d(n,o),d(o,l),d(o,s),z(a,o,null),d(n,r),d(n,c),d(c,f),d(f,h),d(h,g),d(h,v),J&&J.m(h,null),d(c,_),d(c,L),d(L,E),d(E,P),S=!0,B||(j=Ve(c,"click",function(){mn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(Z,[T]){i=Z,i[3]?J?(J.p(i,T),T&8&&m(J,1)):(J=Ml(i),J.c(),m(J,1),J.m(h,null)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),(!S||T&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!S||T&1)&&Xe(P,i[0])},i(Z){S||(m(a.$$.fragment,Z),m(J),S=!0)},o(Z){p(a.$$.fragment,Z),p(J),S=!1},d(Z){Z&&(y(e),y(t),y(n)),O(a),J&&J.d(),B=!1,j()}}}function qc(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const a=()=>t(3,s=!1);return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumb"in r&&t(1,o=r.thumb),"playNextVideo"in r&&t(2,l=r.playNextVideo)},[n,o,l,s,a]}class Wc extends we{constructor(e){super(),ke(this,e,qc,Uc,be,{title:0,thumb:1,playNextVideo:2},Fc)}}const Zr=(i,e)=>Math.min(+(i+e).toFixed(2),1),Gr=(i,e)=>Math.max(+(i-e).toFixed(2),0),Kr=(i,e,t)=>{const n=Zr(e,t);e<1&&i.actions.internal.setVolume(n)},Yr=(i,e,t)=>{const n=Gr(e,t);e>0&&i.actions.internal.setVolume(n)};function jc(i){He(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Zc(i){let e,t,n,o;const l=i[21].default,s=hn(l,i,i[20],null);return{c(){e=w("div"),s&&s.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(a,r){C(a,e,r),s&&s.m(e,null),i[22](e),t=!0,n||(o=[Ve(e,"keyup",i[12]),Ve(e,"keydown",i[11])],n=!0)},p(a,r){s&&s.p&&(!t||r[0]&1048576)&&gn(s,l,a,a[20],t?pn(l,a[20],r,null):bn(a[20]),null)},i(a){t||(m(s,a),t=!0)},o(a){p(s,a),t=!1},d(a){a&&y(e),s&&s.d(a),i[22](null),n=!1,Gt(o)}}}function Gc(i,e,t){let n,o,l,s,a,r,c,f,h,g,{$$slots:v={},$$scope:b}=e,{isAds:_}=e,{hideContextMenu:L}=e,{toggleFullscreen:E}=e,{showHotKeyHelpers:P}=e,{showKeyMap:S}=e,{fakePlayButtonHandler:B}=e;const j=_t(),J=Gi(),Z=j.getLogger().createComponentLog("KeyboardControls component"),T=j.state.playbackState$;q(i,T,ee=>t(26,o=ee));const $=j.ads.playbackState;q(i,$,ee=>t(25,n=ee));const ie=j.state.positionExact$;q(i,ie,ee=>t(31,c=ee));const te=j.state.duration$;q(i,te,ee=>t(30,r=ee));const K=j.state.volume$;q(i,K,ee=>t(34,g=ee));const H=j.ui.controls.disabledControls$;q(i,H,ee=>t(29,a=ee));const re=j.state.muted$;q(i,re,ee=>t(28,s=ee));const k=j.state.currentSubtitle$;q(i,k,ee=>t(27,l=ee));const le=j.state.currentPlaybackRate$;q(i,le,ee=>t(32,f=ee));const ce=j.state.availablePlaybackRates$;q(i,ce,ee=>t(33,h=ee));let ve=0,Ne=!0,Ae;const Ce=()=>Ae?.focus(),F=ee=>(ee!==Ne&&(Ne=ee,ve=0),ve+=1,(J.controls.seekStepKeyboard+J.controls.seekStepKeyboard*ve)/1e3),N=ee=>{L();const M=ee.code,Q=!au.has(M);if(ee.ctrlKey&&Q||ee.altKey&&Q||ee.metaKey)return;const Ie=o===nt.PlaybackState.PLAYING||o===nt.PlaybackState.PAUSED,ye=_&&(n===Mt.PAUSED||n===Mt.PLAYING),Se=!ye&&!a.has(mt.TIMELINE);if(Ie||ye)switch(Z({message:`key down, code: ${M}`}),M){case Ue.KeyJ:case Ue.ArrowLeft:{if(!Se)break;if(ee.ctrlKey||ee.altKey){const X=j.actions.internal.getPrevEpisode();j.actions.internal.seekToPrevEpisode(X),X&&P({type:Ke.EPISODE_PREV,text:X.text}),ee.preventDefault()}else{const X=ee.shiftKey?F(!1):J.controls.seekStepKeyboard/1e3,se=Math.max(c-X,0);c>0&&(j.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),P({type:Ke.BACKWARD_SEEK,text:X.toString()}),ee.preventDefault())}break}case Ue.KeyL:case Ue.ArrowRight:{if(!Se)break;if(ee.ctrlKey||ee.altKey){const X=j.actions.internal.getNextEpisode();j.actions.internal.seekToNextEpisode(X),X&&P({type:Ke.EPISODE_NEXT,text:X.text}),ee.preventDefault()}else{const X=ee.shiftKey?F(!0):J.controls.seekStepKeyboard/1e3,se=Math.min(c+X,r);Math.round(c)<Math.round(r)&&(j.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),P({type:Ke.FORWARD_SEEK,text:X.toString()}),ee.preventDefault())}break}case Ue.ArrowUp:{const X=g,se=J.controls.volumeStepKeyboard,_e=X<=1;if(Kr(j,X,se),_e){const ae=Math.round(Zr(X,se)*100).toString();P({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:ae}})}ee.preventDefault();break}case Ue.ArrowDown:{const X=g,se=J.controls.volumeStepKeyboard,_e=X>=0;if(Yr(j,X,se),_e){const ae=Math.round(Gr(X,se)*100).toString();P({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:ae}})}ee.preventDefault();break}case Ue.Comma:{if(ee.shiftKey){j.actions.internal.decrementPlaybackRate();const X=h.find(se=>se.value===f);P({type:Ke.RATE_DOWN,text:X?.displayValue}),ee.preventDefault()}else{if(ye||o!==nt.PlaybackState.PAUSED)break;const X=Math.max(c-J.controls.seekStepFrame/1e3,0);c>0&&(P({type:Ke.BACKWARD_SEEK}),j.actions.internal.clearDelayedBufferingCheckTimeout(),j.actions.internal.seekTime(X,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Ue.Period:{if(ee.shiftKey){j.actions.internal.incrementPlaybackRate();const X=h.find(se=>se.value===f);P({type:Ke.RATE_UP,text:X?.displayValue}),ee.preventDefault()}else{if(ye||o!==nt.PlaybackState.PAUSED)break;const X=Math.min(c+J.controls.seekStepFrame/1e3,r);c<r&&(P({type:Ke.FORWARD_SEEK}),j.actions.internal.clearDelayedBufferingCheckTimeout(),j.actions.internal.seekTime(X,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Ue.KeyK:case Ue.Space:a.has(mt.PLAY_BUTTON)||(B?B():(j.actions.internal.togglePlay(),P({type:o===nt.PlaybackState.PLAYING?Ke.PLAY:Ke.STOP}))),ee.preventDefault();break;case Ue.KeyM:{P({type:s?Ke.VOLUME:Ke.MUTE}),j.actions.internal.toggleMuted(),ee.preventDefault();break}case Ue.KeyF:E(),ee.preventDefault();break;case Ue.KeyC:j.actions.internal.toggleSubtitle(),l.value!=="off"?P({type:Ke.SUBTITLES_ON,text:l?.displayValue}):P({type:Ke.SUBTITLES_OFF}),ee.preventDefault();break;case Ue.KeyI:j.actions.internal.togglePictureInPicture(),ee.preventDefault();break;case Ue.Digit1:case Ue.Numpad1:P(),j.actions.internal.seekToPercent(.1,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit2:case Ue.Numpad2:P(),j.actions.internal.seekToPercent(.2,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit3:case Ue.Numpad3:P(),j.actions.internal.seekToPercent(.3,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit4:case Ue.Numpad4:P(),j.actions.internal.seekToPercent(.4,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit5:case Ue.Numpad5:P(),j.actions.internal.seekToPercent(.5,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit6:case Ue.Numpad6:P(),j.actions.internal.seekToPercent(.6,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit7:case Ue.Numpad7:P(),j.actions.internal.seekToPercent(.7,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit8:case Ue.Numpad8:P(),j.actions.internal.seekToPercent(.8,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit9:case Ue.Numpad9:P(),j.actions.internal.seekToPercent(.9,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Digit0:case Ue.Numpad0:P(),j.actions.internal.seekToPercent(0,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Ue.Slash:{ee.shiftKey&&J.features.hotKeyMapModal&&(S(),ee.preventDefault());break}case Ue.ShiftLeft:case Ue.ShiftRight:ee.preventDefault();break;default:ne.checkNever(M);break}},Y=ee=>{const M=ee.code;if(ee.ctrlKey||ee.altKey||ee.metaKey)return;const Q=o===nt.PlaybackState.PLAYING||o===nt.PlaybackState.PAUSED,Ie=_&&(n===Mt.PAUSED||n===Mt.PLAYING);if(Q||Ie)switch(M){case Ue.ShiftLeft:case Ue.ShiftRight:ve=0;break}};function ge(ee){We[ee?"unshift":"push"](()=>{Ae=ee,t(0,Ae)})}return i.$$set=ee=>{"isAds"in ee&&t(13,_=ee.isAds),"hideContextMenu"in ee&&t(14,L=ee.hideContextMenu),"toggleFullscreen"in ee&&t(15,E=ee.toggleFullscreen),"showHotKeyHelpers"in ee&&t(16,P=ee.showHotKeyHelpers),"showKeyMap"in ee&&t(17,S=ee.showKeyMap),"fakePlayButtonHandler"in ee&&t(18,B=ee.fakePlayButtonHandler),"$$scope"in ee&&t(20,b=ee.$$scope)},[Ae,T,$,ie,te,K,H,re,k,le,ce,N,Y,_,L,E,P,S,B,Ce,b,v,ge]}class Kc extends we{constructor(e){super(),ke(this,e,Gc,Zc,be,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},jc,[-1,-1])}get focus(){return this.$$.ctx[19]}}function Yc(i){He(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 Qc(i){let e;return{c(){e=w("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:G,i:G,o:G,d(t){t&&y(e)}}}class Qr extends we{constructor(e){super(),ke(this,e,null,Qc,be,{},Yc)}}function Xc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"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,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p:G,i:G,o:G,d(b){b&&y(e)}}}class Jc extends we{constructor(e){super(),ke(this,e,null,Xc,be,{})}}function xc(i){He(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 $c(i){let e,t,n,o,l,s,a,r,c,f,h;const g=i[9].default,v=hn(g,i,i[8],null);return{c(){e=w("button"),v&&v.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=i[2]??null,u(e,"aria-hidden",l=i[4]??null),u(e,"aria-label",s=i[5]??null),u(e,"aria-keyshortcuts",a=i[6]??null),u(e,"data-testid",r=i[3]??null)},m(b,_){C(b,e,_),v&&v.m(e,null),c=!0,f||(h=[Ve(e,"pointerdown",ft(ci(i[10]))),Ve(e,"click",ft(ci(function(){mn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(b,[_]){i=b,v&&v.p&&(!c||_&256)&&gn(v,g,i,i[8],c?pn(g,i[8],_,null):bn(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=i[2]??null))&&(e.disabled=o),(!c||_&16&&l!==(l=i[4]??null))&&u(e,"aria-hidden",l),(!c||_&32&&s!==(s=i[5]??null))&&u(e,"aria-label",s),(!c||_&64&&a!==(a=i[6]??null))&&u(e,"aria-keyshortcuts",a),(!c||_&8&&r!==(r=i[3]??null))&&u(e,"data-testid",r)},i(b){c||(m(v,b),c=!0)},o(b){p(v,b),c=!1},d(b){b&&y(e),v&&v.d(b),f=!1,Gt(h)}}}function ef(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:a=void 0}=e,{testId:r=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:g=ne.noop}=e;function v(b){qn.call(this,i,b)}return i.$$set=b=>{"className"in b&&t(0,l=b.className),"style"in b&&t(1,s=b.style),"disabled"in b&&t(2,a=b.disabled),"testId"in b&&t(3,r=b.testId),"ariaHidden"in b&&t(4,c=b.ariaHidden),"ariaLabel"in b&&t(5,f=b.ariaLabel),"ariaKeyShortCut"in b&&t(6,h=b.ariaKeyShortCut),"click"in b&&t(7,g=b.click),"$$scope"in b&&t(8,o=b.$$scope)},[l,s,a,r,c,f,h,g,o,n,v]}class fi extends we{constructor(e){super(),ke(this,e,ef,$c,be,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},xc)}}function tf(i){He(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 Nl(i){let e,t,n,o,l,s=i[2]&&Rl(i);return{c(){e=w("div"),t=w("h3"),n=Oe(i[3]),o=R(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(a,r){(!l||r&8)&&Xe(n,a[3]),a[2]?s?(s.p(a,r),r&4&&m(s,1)):(s=Rl(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe())},i(a){l||(m(s),l=!0)},o(a){p(s),l=!1},d(a){a&&y(e),s&&s.d()}}}function Rl(i){let e,t;return e=new fi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:W("hotkey_map_modal_close_btn_text"),$$slots:{default:[nf]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function nf(i){let e,t;return e=new Jc({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function of(i){let e,t,n,o,l,s,a=i[1]&&Nl(i);const r=i[4].default,c=hn(r,i,i[5],null);return{c(){e=w("div"),t=w("div"),a&&a.c(),n=R(),o=w("div"),l=w("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),a&&a.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?a?(a.p(f,h),h&2&&m(a,1)):(a=Nl(f),a.c(),m(a,1),a.m(t,n)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),c&&c.p&&(!s||h&32)&&gn(c,r,f,f[5],s?pn(r,f[5],h,null):bn(f[5]),null)},i(f){s||(m(a),m(c,f),s=!0)},o(f){p(a),p(c,f),s=!1},d(f){f&&y(e),a&&a.d(),c&&c.d(f)}}}function lf(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:a=!0}=e,{title:r}=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,a=c.showCloseCross),"title"in c&&t(3,r=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,a,r,n,o]}class sf extends we{constructor(e){super(),ke(this,e,lf,of,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},tf)}}const af=new Set(["BR"]),Bl=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],l=o.tagName;af.has(l)||o.parentElement?.removeChild(o)}return e.innerHTML};function rf(i){He(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 zl(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Ol(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Dl(i){let e,t,n=Bl(i[9])+"",o,l,s=i[10]+"",a,r;return{c(){e=w("li"),t=w("span"),o=R(),l=w("span"),a=Oe(s),r=R(),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,a),d(e,r)},p(c,f){f&1&&n!==(n=Bl(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&Xe(a,s)},d(c){c&&y(e)}}}function Hl(i){let e,t,n=i[5]+"",o,l,s,a,r=It(i[6]),c=[];for(let f=0;f<r.length;f+=1)c[f]=Dl(Ol(i,r,f));return{c(){e=w("div"),t=w("h5"),o=Oe(n),l=R(),s=w("ul");for(let f=0;f<c.length;f+=1)c[f].c();a=R(),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 g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);d(e,a)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&Xe(o,n),h&1){r=It(f[6]);let g;for(g=0;g<r.length;g+=1){const v=Ol(f,r,g);c[g]?c[g].p(v,h):(c[g]=Dl(v),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=r.length}},d(f){f&&y(e),$i(c,f)}}}function uf(i){let e,t=It(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Hl(zl(i,t,o));return{c(){e=w("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=It(o[0].groups);let s;for(s=0;s<t.length;s+=1){const a=zl(o,t,s);n[s]?n[s].p(a,l):(n[s]=Hl(a),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),$i(n,o)}}}function cf(i){let e,t;return e=new sf({props:{title:i[0].title,onClose:i[2],$$slots:{default:[uf]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ff(i,e,t){let n;const o=_t(),{data:l,show:s}=o.ui.modals.hotKeyMap;return q(i,l,r=>t(0,n=r)),[n,l,()=>{s.set(!1)}]}class df extends we{constructor(e){super(),ke(this,e,ff,cf,be,{},rf)}}function mf(i){He(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 hf(i){let e,t;const n=i[1].default,o=hn(n,i,i[0],null);return{c(){e=w("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)&&gn(o,n,l,l[0],t?pn(n,l[0],s,null):bn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function pf(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class gf extends we{constructor(e){super(),ke(this,e,pf,hf,be,{},mf)}}function bf(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:G,i:G,o:G,d(o){o&&y(e)}}}class vf extends we{constructor(e){super(),ke(this,e,null,bf,be,{})}}function _f(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:G,i:G,o:G,d(o){o&&y(e)}}}class kf extends we{constructor(e){super(),ke(this,e,null,_f,be,{})}}function wf(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:G,i:G,o:G,d(n){n&&y(e)}}}class yf extends we{constructor(e){super(),ke(this,e,null,wf,be,{})}}function Cf(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:G,i:G,o:G,d(n){n&&y(e)}}}class Xr extends we{constructor(e){super(),ke(this,e,null,Cf,be,{})}}function Pf(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:G,i:G,o:G,d(o){o&&y(e)}}}class Jr extends we{constructor(e){super(),ke(this,e,null,Pf,be,{})}}const Zn=i=>{switch(i){case nt.VideoQuality.Q_720P:return yf;case nt.VideoQuality.Q_1080P:return Xr;case nt.VideoQuality.Q_1440P:return Jr;case nt.VideoQuality.Q_2160P:return vf;case nt.VideoQuality.Q_4320P:return kf}};function Sf(i){He(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 Tf(i){let e,t,n,o,l,s,a=i[1]&&Fl(i);return{c(){e=w("div"),a&&a.c(),t=R(),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"),A(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"),A(e,"triple",i[2])},m(r,c){C(r,e,c),a&&a.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(r,c){r[1]?a?(a.p(r,c),c&2&&m(a,1)):(a=Fl(r),a.c(),m(a,1),a.m(e,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!s||c&2)&&A(l,"hidden",!!r[1]),(!s||c&4)&&A(e,"triple",r[2])},i(r){s||(m(a),s=!0)},o(r){p(a),s=!1},d(r){r&&y(e),a&&a.d()}}}function Af(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:G,i:G,o:G,d(n){n&&y(e)}}}function Fl(i){let e,t;return e=new gf({props:{$$slots:{default:[Ef]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ef(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=on(o,l())),{c(){e&&D(e.$$.fragment),t=ht()},m(s,a){e&&z(e,s,a),C(s,t,a),n=!0},p(s,a){if(a&2&&o!==(o=s[1])){if(e){he();const r=e;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(e=on(o,l()),D(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&&p(e.$$.fragment,s),n=!1},d(s){s&&y(t),e&&O(e,s)}}}function Vf(i){let e,t,n,o;const l=[Af,Tf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Lf(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,o=a.isMobile),"currentQuality"in a&&t(3,l=a.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Zn(l)),i.$$.dirty&2&&t(2,s=!!n&&[Xr,Jr].includes(n))},[o,n,s,l]}class xr extends we{constructor(e){super(),ke(this,e,Lf,Vf,be,{isMobile:0,currentQuality:3},Sf)}}function If(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:G,i:G,o:G,d(n){n&&y(e)}}}class $r extends we{constructor(e){super(),ke(this,e,null,If,be,{})}}function Mf(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:G,i:G,o:G,d(n){n&&y(e)}}}class Nf extends we{constructor(e){super(),ke(this,e,null,Mf,be,{})}}function Rf(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:G,i:G,o:G,d(n){n&&y(e)}}}class Bf extends we{constructor(e){super(),ke(this,e,null,Rf,be,{})}}function zf(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:G,i:G,o:G,d(l){l&&y(e)}}}class Of extends we{constructor(e){super(),ke(this,e,null,zf,be,{})}}function Df(i){He(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Hf(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"),A(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&&A(e,"reverted",o[2])},d(o){o&&y(e)}}}function Ff(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"),A(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&&A(e,"reverted",o[2])},d(o){o&&y(e)}}}function Uf(i){let e;function t(l,s){return l[1]?Ff:Hf}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function qf(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=a=>{"direction"in a&&t(3,n=a.direction),"color"in a&&t(0,o=a.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 Cn extends we{constructor(e){super(),ke(this,e,qf,Uf,be,{direction:3,color:0},Df)}}function Wf(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:G,i:G,o:G,d(n){n&&y(e)}}}class jf extends we{constructor(e){super(),ke(this,e,null,Wf,be,{})}}function Zf(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:G,i:G,o:G,d(n){n&&y(e)}}}class lo extends we{constructor(e){super(),ke(this,e,null,Zf,be,{})}}function Gf(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:G,i:G,o:G,d(n){n&&y(e)}}}class Kf extends we{constructor(e){super(),ke(this,e,null,Gf,be,{})}}function Yf(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:G,i:G,o:G,d(n){n&&y(e)}}}class Qf extends we{constructor(e){super(),ke(this,e,null,Yf,be,{})}}function Xf(i){He(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 Ul(i,e,t){const n=i.slice();return n[87]=e[t],n}function ql(i,e,t){const n=i.slice();return n[90]=e[t],n}function Wl(i,e,t){const n=i.slice();return n[93]=e[t],n}function jl(i){let e,t,n,o,l,s,a,r;return{c(){e=w("div"),t=w("div"),t.textContent=`${W("submenu_settings")}`,n=R(),o=w("div"),l=R(),s=w("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),A(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),a||(r=Ve(o,"click",ft(i[49])),a=!0)},p(c,f){f[0]&128&&A(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(s)),a=!1,r()}}}function Zl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;n=new xr({});let b=i[27]&&!i[7]&&Gl(i);return{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("menu_quality")}`,s=R(),a=w("div"),r=Oe(i[15]),c=R(),b&&b.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=W("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),A(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,a),d(a,r),d(a,c),b&&b.m(a,null),h=!0,g||(v=Ve(e,"click",ft(i[50])),g=!0)},p(_,L){(!h||L[0]&32768)&&Xe(r,_[15]),_[27]&&!_[7]?b?(b.p(_,L),L[0]&134217856&&m(b,1)):(b=Gl(_),b.c(),m(b,1),b.m(a,null)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||L[0]&33554432&&f!==(f=W("aria_label_menu_quality",{actual:_[25]})))&&u(e,"aria-label",f),(!h||L[0]&128)&&A(e,"item-mobile",_[7])},i(_){h||(m(n.$$.fragment,_),m(b),h=!0)},o(_){p(n.$$.fragment,_),p(b),h=!1},d(_){_&&y(e),O(n),b&&b.d(),g=!1,v()}}}function Gl(i){let e,t,n;var o=i[27];function l(s){return{}}return o&&(t=on(o,l())),{c(){e=w("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&134217728&&o!==(o=s[27])){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=on(o,l()),D(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&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function Kl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return n=new Of({}),{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("menu_playback_rate")}`,s=R(),a=w("div"),r=Oe(i[3]),c=Oe("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=W("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),A(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),h=!0,g||(v=Ve(e,"click",ft(i[54])),g=!0)},p(b,_){(!h||_[0]&8)&&Xe(r,b[3]),(!h||_[0]&67108864&&f!==(f=W("aria_label_menu_rate",{actual:b[26]})))&&u(e,"aria-label",f),(!h||_[0]&128)&&A(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Yl(i){let e,t,n,o,l,s,a,r=i[28].displayValue+"",c,f,h,g,v;return n=new $r({}),{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("subtitles_caption")}`,s=R(),a=w("div"),c=Oe(r),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=W("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),A(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,c),h=!0,g||(v=Ve(e,"click",ft(i[56])),g=!0)},p(b,_){(!h||_[0]&268435456)&&r!==(r=b[28].displayValue+"")&&Xe(c,r),(!h||_[0]&268435456&&f!==(f=W("aria_label_menu_subtitle",{actual:b[28].displayValue})))&&u(e,"aria-label",f),(!h||_[0]&128)&&A(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Ql(i){let e,t,n,o,l,s,a,r,c,f,h,g;return n=new Bf({}),{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("menu_traffic_saving")}`,s=R(),a=w("div"),r=Oe(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=W("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),A(e,"item-mobile",i[7])},m(v,b){C(v,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),f=!0,h||(g=Ve(e,"click",ft(i[51])),h=!0)},p(v,b){(!f||b[0]&16777216)&&Xe(r,v[24]),(!f||b[0]&16777216&&c!==(c=W("aria_label_menu_traffic_saving",{actual:v[24]})))&&u(e,"aria-label",c),(!f||b[0]&128)&&A(e,"item-mobile",v[7])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),O(n),h=!1,g()}}}function Xl(i){let e,t,n,o,l,s,a,r;return n=new Nf({}),{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("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",W("aria_label_menu_download")),A(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,a||(r=Ve(e,"click",ft(i[59])),a=!0)},p(c,f){(!s||f[0]&128)&&A(e,"item-mobile",c[7])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function Jl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E=i[30].showSupport&&Jf(i);return o=new Kf({}),f=new Qf({}),{c(){E&&E.c(),e=R(),t=w("li"),n=w("div"),D(o.$$.fragment),l=R(),s=w("div"),s.textContent=`${W("menu_copy_debug")}`,a=R(),r=w("li"),c=w("div"),D(f.$$.fragment),h=R(),g=w("div"),g.textContent=`${W("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",W("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(r,"class","item item-mobile v-79x8pk"),u(r,"role","menuitem"),u(r,"tabindex","0"),u(r,"aria-label",v=i[29]?W("aria_label_menu_debug_overlay_disable"):W("aria_label_menu_debug_overlay_enable"))},m(P,S){E&&E.m(P,S),C(P,e,S),C(P,t,S),d(t,n),z(o,n,null),d(t,l),d(t,s),C(P,a,S),C(P,r,S),d(r,c),z(f,c,null),d(r,h),d(r,g),b=!0,_||(L=[Ve(t,"click",ft(i[61])),Ve(r,"click",ft(i[62]))],_=!0)},p(P,S){P[30].showSupport&&E.p(P,S),(!b||S[0]&536870912&&v!==(v=P[29]?W("aria_label_menu_debug_overlay_disable"):W("aria_label_menu_debug_overlay_enable")))&&u(r,"aria-label",v)},i(P){b||(m(E),m(o.$$.fragment,P),m(f.$$.fragment,P),b=!0)},o(P){p(E),p(o.$$.fragment,P),p(f.$$.fragment,P),b=!1},d(P){P&&(y(e),y(t),y(a),y(r)),E&&E.d(P),O(o),O(f),_=!1,Gt(L)}}}function Jf(i){let e,t,n,o,l,s,a,r;return n=new jf({}),{c(){e=w("li"),t=w("div"),D(n.$$.fragment),o=R(),l=w("div"),l.textContent=`${W("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",`${W("menu_report")}. ${W("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,a||(r=Ve(e,"click",ft(i[60])),a=!0)},p:G,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function xl(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function $l(i){let e,t,n;var o=Zn(i[93].value);function l(s){return{}}return o&&(t=on(o,l())),{c(){e=w("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&256&&o!==(o=Zn(s[93].value))){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=on(o,l()),D(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&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function es(i){let e,t,n,o=i[93].displayValue+"",l,s,a=!i[7]&&Zn(i[93].value),r,c,f,h,g,v,b=i[93].selected&&xl(),_=a&&$l(i);function L(){return i[76](i[93])}return{c(){e=w("li"),b&&b.c(),t=R(),n=w("div"),l=Oe(o),s=R(),_&&_.c(),r=R(),u(n,"class","v-79x8pk"),A(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=W("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),A(e,"item-mobile",i[7])},m(E,P){C(E,e,P),b&&b.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),_&&_.m(e,null),d(e,r),h=!0,g||(v=Ve(e,"click",ft(L)),g=!0)},p(E,P){i=E,i[93].selected?b?P[0]&256&&m(b,1):(b=xl(),b.c(),m(b,1),b.m(e,t)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||P[0]&256)&&o!==(o=i[93].displayValue+"")&&Xe(l,o),(!h||P[0]&128)&&A(n,"quality-title-mobile",i[7]),P[0]&384&&(a=!i[7]&&Zn(i[93].value)),a?_?(_.p(i,P),P[0]&384&&m(_,1)):(_=$l(i),_.c(),m(_,1),_.m(e,r)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),(!h||P[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||P[0]&256&&f!==(f=W("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||P[0]&128)&&A(e,"item-mobile",i[7])},i(E){h||(m(b),m(_),h=!0)},o(E){p(b),p(_),h=!1},d(E){E&&y(e),b&&b.d(),_&&_.d(),g=!1,v()}}}function ts(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function is(i){let e,t,n,o=i[90].displayValue+"",l,s,a,r,c,f,h,g=i[90].selected&&ts();function v(){return i[78](i[90])}return{c(){e=w("li"),g&&g.c(),t=R(),n=w("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),A(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=W("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),A(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ve(e,"click",ft(v)),f=!0)},p(b,_){i=b,i[90].selected?g?_[0]&16&&m(g,1):(g=ts(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&Xe(l,o),(!c||_[0]&128)&&A(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&a!==(a=i[90].value))&&u(e,"data-value",a),(!c||_[0]&16&&r!==(r=W("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&A(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function ns(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function os(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ls(i){let e,t,n;return t=new lo({}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ss(i){let e,t,n,o=i[87].displayValue+"",l,s,a,r,c,f,h,g=i[87].selected&&ls();function v(){return i[82](i[87])}return{c(){e=w("li"),g&&g.c(),t=R(),n=w("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),A(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=W("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),A(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ve(e,"click",ft(v)),f=!0)},p(b,_){i=b,i[87].selected?g?_[0]&64&&m(g,1):(g=ls(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&Xe(l,o),(!c||_[0]&128)&&A(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&a!==(a=i[87].value))&&u(e,"data-value",a),(!c||_[0]&64&&r!==(r=W("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&A(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function xf(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,N,Y,ge,ee,M,Q,Ie,ye,Se,X,se,_e,ae,qe,je,Je,et,Be,rt,Tt,Le,Re,Kt,me,ut=i[7]&&jl(i),Qe=i[23]&&Zl(i),ot=i[22]&&Kl(i),Ze=i[21]&&Yl(i),$e=i[20]&&Ql(i),lt=i[19]&&Xl(i),ct=i[7]&&Jl(i);v=new Cn({props:{direction:"left"}});let wt=It(i[8]),tt=[];for(let de=0;de<wt.length;de+=1)tt[de]=es(Wl(i,wt,de));const Rt=de=>p(tt[de],1,1,()=>{tt[de]=null});Z=new Cn({props:{direction:"left"}});let yt=It(i[4]),it=[];for(let de=0;de<yt.length;de+=1)it[de]=is(ql(i,yt,de));const Ht=de=>p(it[de],1,1,()=>{it[de]=null});ce=new Cn({props:{direction:"left"}});let dt=!i[5]&&ns(),Ge=i[5]&&os();et=new Cn({props:{direction:"left"}});let At=It(i[6]),st=[];for(let de=0;de<At.length;de+=1)st[de]=ss(Ul(i,At,de));const $t=de=>p(st[de],1,1,()=>{st[de]=null});return{c(){e=w("div"),t=w("div"),ut&&ut.c(),n=R(),o=w("ul"),Qe&&Qe.c(),l=R(),ot&&ot.c(),s=R(),Ze&&Ze.c(),a=R(),$e&&$e.c(),r=R(),lt&&lt.c(),c=R(),ct&&ct.c(),f=R(),h=w("div"),g=w("div"),D(v.$$.fragment),b=R(),_=w("div"),_.textContent=`${W("submenu_quality")}`,L=R(),E=w("div"),P=R(),S=w("ul");for(let de=0;de<tt.length;de+=1)tt[de].c();B=R(),j=w("div"),J=w("div"),D(Z.$$.fragment),T=R(),$=w("div"),$.textContent=`${W("submenu_playback_rate")}`,ie=R(),te=w("div"),K=R(),H=w("ul");for(let de=0;de<it.length;de+=1)it[de].c();re=R(),k=w("div"),le=w("div"),D(ce.$$.fragment),ve=R(),Ne=w("div"),Ne.textContent=`${W("submenu_traffic_saving")}`,Ae=R(),Ce=w("div"),F=R(),N=w("ul"),Y=w("li"),dt&&dt.c(),ge=R(),ee=w("div"),ee.textContent=`${W("traffic_saving_disable")}`,M=R(),Q=w("li"),Ge&&Ge.c(),Ie=R(),ye=w("div"),ye.textContent=`${W("traffic_saving_enable")}`,Se=R(),X=w("div"),se=R(),_e=w("div"),ae=w("span"),ae.textContent=`${W("traffic_saving_helper_text")}`,qe=R(),je=w("div"),Je=w("div"),D(et.$$.fragment),Be=R(),rt=w("div"),rt.textContent=`${W("subtitles_caption")}`,Tt=R(),Le=w("ul");for(let de=0;de<st.length;de+=1)st[de].c();u(o,"class","items v-79x8pk"),A(o,"items-mobile",i[7]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),A(t,"menu-desktop",!i[7]),A(t,"menu-mobile",i[7]),A(t,"hidden",!i[10]),u(g,"class","item menu-header v-79x8pk"),u(g,"aria-label",W("aria_label_submenu_back")),A(g,"item-mobile",i[7]),u(E,"class","menu-divider v-79x8pk"),u(S,"class","items v-79x8pk"),u(S,"style",i[16]),A(S,"items-mobile",i[7]),u(h,"class","menu menu-subList v-79x8pk"),A(h,"menu-desktop",!i[7]),A(h,"menu-mobile",i[7]),A(h,"hidden",!i[11]),u(J,"class","item menu-header v-79x8pk"),u(J,"aria-label",W("aria_label_submenu_back")),A(J,"item-mobile",i[7]),u(te,"class","menu-divider v-79x8pk"),u(H,"class","items v-79x8pk"),u(H,"style",i[17]),A(H,"items-mobile",i[7]),u(j,"class","menu menu-subList v-79x8pk"),A(j,"menu-desktop",!i[7]),A(j,"menu-mobile",i[7]),A(j,"hidden",!i[12]),u(le,"class","item menu-header v-79x8pk"),u(le,"aria-label",W("aria_label_submenu_back")),A(le,"item-mobile",i[7]),u(Ce,"class","menu-divider v-79x8pk"),u(ee,"class","v-79x8pk"),A(ee,"quality-title-mobile",i[7]),u(Y,"class","item item-traffic-saving v-79x8pk"),u(Y,"role","menuitem"),u(Y,"tabindex","0"),u(Y,"aria-label",W("aria_label_submenu_traffic_saving_off")),A(Y,"item-mobile",i[7]),u(ye,"class","v-79x8pk"),A(ye,"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",`${W("aria_label_submenu_traffic_saving_on")}. ${W("traffic_saving_helper_text")}`),A(Q,"item-mobile",i[7]),u(N,"class","items v-79x8pk"),u(N,"style",i[18]),A(N,"items-mobile",i[7]),u(X,"class","menu-divider v-79x8pk"),u(ae,"class","v-79x8pk"),u(_e,"class","item item-helper-text v-79x8pk"),A(_e,"item-mobile",i[7]),u(k,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),A(k,"menu-desktop",!i[7]),A(k,"menu-mobile",i[7]),A(k,"hidden",!i[14]),u(Je,"class","item menu-header v-79x8pk"),u(Je,"aria-label",W("aria_label_submenu_back")),A(Je,"item-mobile",i[7]),u(Le,"class","items v-79x8pk"),A(Le,"items-mobile",i[7]),u(je,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),A(je,"menu-desktop",!i[7]),A(je,"menu-mobile",i[7]),A(je,"hidden",!i[13]),u(e,"class","v-79x8pk"),A(e,"hidden",!i[9]),A(e,"container-mobile",i[7])},m(de,Pe){C(de,e,Pe),d(e,t),ut&&ut.m(t,null),d(t,n),d(t,o),Qe&&Qe.m(o,null),d(o,l),ot&&ot.m(o,null),d(o,s),Ze&&Ze.m(o,null),d(o,a),$e&&$e.m(o,null),d(o,r),lt&&lt.m(o,null),d(o,c),ct&&ct.m(o,null),d(e,f),d(e,h),d(h,g),z(v,g,null),d(g,b),d(g,_),i[75](g),d(h,L),d(h,E),d(h,P),d(h,S);for(let Me=0;Me<tt.length;Me+=1)tt[Me]&&tt[Me].m(S,null);d(e,B),d(e,j),d(j,J),z(Z,J,null),d(J,T),d(J,$),i[77](J),d(j,ie),d(j,te),d(j,K),d(j,H);for(let Me=0;Me<it.length;Me+=1)it[Me]&&it[Me].m(H,null);d(e,re),d(e,k),d(k,le),z(ce,le,null),d(le,ve),d(le,Ne),i[79](le),d(k,Ae),d(k,Ce),d(k,F),d(k,N),d(N,Y),dt&&dt.m(Y,null),d(Y,ge),d(Y,ee),d(N,M),d(N,Q),Ge&&Ge.m(Q,null),d(Q,Ie),d(Q,ye),d(k,Se),d(k,X),d(k,se),d(k,_e),d(_e,ae),d(e,qe),d(e,je),d(je,Je),z(et,Je,null),d(Je,Be),d(Je,rt),d(je,Tt),d(je,Le);for(let Me=0;Me<st.length;Me+=1)st[Me]&&st[Me].m(Le,null);Re=!0,Kt||(me=[Ve(g,"click",ft(i[58])),Ve(J,"click",ft(i[58])),Ve(le,"click",ft(i[58])),Ve(Y,"click",ft(i[80])),Ve(Q,"click",ft(i[81])),Ve(Je,"click",ft(i[58]))],Kt=!0)},p(de,Pe){if(de[7]?ut?ut.p(de,Pe):(ut=jl(de),ut.c(),ut.m(t,n)):ut&&(ut.d(1),ut=null),de[23]?Qe?(Qe.p(de,Pe),Pe[0]&8388608&&m(Qe,1)):(Qe=Zl(de),Qe.c(),m(Qe,1),Qe.m(o,l)):Qe&&(he(),p(Qe,1,1,()=>{Qe=null}),pe()),de[22]?ot?(ot.p(de,Pe),Pe[0]&4194304&&m(ot,1)):(ot=Kl(de),ot.c(),m(ot,1),ot.m(o,s)):ot&&(he(),p(ot,1,1,()=>{ot=null}),pe()),de[21]?Ze?(Ze.p(de,Pe),Pe[0]&2097152&&m(Ze,1)):(Ze=Yl(de),Ze.c(),m(Ze,1),Ze.m(o,a)):Ze&&(he(),p(Ze,1,1,()=>{Ze=null}),pe()),de[20]?$e?($e.p(de,Pe),Pe[0]&1048576&&m($e,1)):($e=Ql(de),$e.c(),m($e,1),$e.m(o,r)):$e&&(he(),p($e,1,1,()=>{$e=null}),pe()),de[19]?lt?(lt.p(de,Pe),Pe[0]&524288&&m(lt,1)):(lt=Xl(de),lt.c(),m(lt,1),lt.m(o,c)):lt&&(he(),p(lt,1,1,()=>{lt=null}),pe()),de[7]?ct?(ct.p(de,Pe),Pe[0]&128&&m(ct,1)):(ct=Jl(de),ct.c(),m(ct,1),ct.m(o,null)):ct&&(he(),p(ct,1,1,()=>{ct=null}),pe()),(!Re||Pe[0]&128)&&A(o,"items-mobile",de[7]),(!Re||Pe[0]&128)&&A(t,"menu-desktop",!de[7]),(!Re||Pe[0]&128)&&A(t,"menu-mobile",de[7]),(!Re||Pe[0]&1024)&&A(t,"hidden",!de[10]),(!Re||Pe[0]&128)&&A(g,"item-mobile",de[7]),Pe[0]&384|Pe[1]&2097152){wt=It(de[8]);let Me;for(Me=0;Me<wt.length;Me+=1){const St=Wl(de,wt,Me);tt[Me]?(tt[Me].p(St,Pe),m(tt[Me],1)):(tt[Me]=es(St),tt[Me].c(),m(tt[Me],1),tt[Me].m(S,null))}for(he(),Me=wt.length;Me<tt.length;Me+=1)Rt(Me);pe()}if((!Re||Pe[0]&65536)&&u(S,"style",de[16]),(!Re||Pe[0]&128)&&A(S,"items-mobile",de[7]),(!Re||Pe[0]&128)&&A(h,"menu-desktop",!de[7]),(!Re||Pe[0]&128)&&A(h,"menu-mobile",de[7]),(!Re||Pe[0]&2048)&&A(h,"hidden",!de[11]),(!Re||Pe[0]&128)&&A(J,"item-mobile",de[7]),Pe[0]&144|Pe[1]&16777216){yt=It(de[4]);let Me;for(Me=0;Me<yt.length;Me+=1){const St=ql(de,yt,Me);it[Me]?(it[Me].p(St,Pe),m(it[Me],1)):(it[Me]=is(St),it[Me].c(),m(it[Me],1),it[Me].m(H,null))}for(he(),Me=yt.length;Me<it.length;Me+=1)Ht(Me);pe()}if((!Re||Pe[0]&131072)&&u(H,"style",de[17]),(!Re||Pe[0]&128)&&A(H,"items-mobile",de[7]),(!Re||Pe[0]&128)&&A(j,"menu-desktop",!de[7]),(!Re||Pe[0]&128)&&A(j,"menu-mobile",de[7]),(!Re||Pe[0]&4096)&&A(j,"hidden",!de[12]),(!Re||Pe[0]&128)&&A(le,"item-mobile",de[7]),de[5]?dt&&(he(),p(dt,1,1,()=>{dt=null}),pe()):dt?Pe[0]&32&&m(dt,1):(dt=ns(),dt.c(),m(dt,1),dt.m(Y,ge)),(!Re||Pe[0]&128)&&A(ee,"quality-title-mobile",de[7]),(!Re||Pe[0]&128)&&A(Y,"item-mobile",de[7]),de[5]?Ge?Pe[0]&32&&m(Ge,1):(Ge=os(),Ge.c(),m(Ge,1),Ge.m(Q,Ie)):Ge&&(he(),p(Ge,1,1,()=>{Ge=null}),pe()),(!Re||Pe[0]&128)&&A(ye,"quality-title-mobile",de[7]),(!Re||Pe[0]&128)&&A(Q,"item-mobile",de[7]),(!Re||Pe[0]&262144)&&u(N,"style",de[18]),(!Re||Pe[0]&128)&&A(N,"items-mobile",de[7]),(!Re||Pe[0]&128)&&A(_e,"item-mobile",de[7]),(!Re||Pe[0]&128)&&A(k,"menu-desktop",!de[7]),(!Re||Pe[0]&128)&&A(k,"menu-mobile",de[7]),(!Re||Pe[0]&16384)&&A(k,"hidden",!de[14]),(!Re||Pe[0]&128)&&A(Je,"item-mobile",de[7]),Pe[0]&192|Pe[1]&67108864){At=It(de[6]);let Me;for(Me=0;Me<At.length;Me+=1){const St=Ul(de,At,Me);st[Me]?(st[Me].p(St,Pe),m(st[Me],1)):(st[Me]=ss(St),st[Me].c(),m(st[Me],1),st[Me].m(Le,null))}for(he(),Me=At.length;Me<st.length;Me+=1)$t(Me);pe()}(!Re||Pe[0]&128)&&A(Le,"items-mobile",de[7]),(!Re||Pe[0]&128)&&A(je,"menu-desktop",!de[7]),(!Re||Pe[0]&128)&&A(je,"menu-mobile",de[7]),(!Re||Pe[0]&8192)&&A(je,"hidden",!de[13]),(!Re||Pe[0]&512)&&A(e,"hidden",!de[9]),(!Re||Pe[0]&128)&&A(e,"container-mobile",de[7])},i(de){if(!Re){m(Qe),m(ot),m(Ze),m($e),m(lt),m(ct),m(v.$$.fragment,de);for(let Pe=0;Pe<wt.length;Pe+=1)m(tt[Pe]);m(Z.$$.fragment,de);for(let Pe=0;Pe<yt.length;Pe+=1)m(it[Pe]);m(ce.$$.fragment,de),m(dt),m(Ge),m(et.$$.fragment,de);for(let Pe=0;Pe<At.length;Pe+=1)m(st[Pe]);Re=!0}},o(de){p(Qe),p(ot),p(Ze),p($e),p(lt),p(ct),p(v.$$.fragment,de),tt=tt.filter(Boolean);for(let Pe=0;Pe<tt.length;Pe+=1)p(tt[Pe]);p(Z.$$.fragment,de),it=it.filter(Boolean);for(let Pe=0;Pe<it.length;Pe+=1)p(it[Pe]);p(ce.$$.fragment,de),p(dt),p(Ge),p(et.$$.fragment,de),st=st.filter(Boolean);for(let Pe=0;Pe<st.length;Pe+=1)p(st[Pe]);Re=!1},d(de){de&&y(e),ut&&ut.d(),Qe&&Qe.d(),ot&&ot.d(),Ze&&Ze.d(),$e&&$e.d(),lt&&lt.d(),ct&&ct.d(),O(v),i[75](null),$i(tt,de),O(Z),i[77](null),$i(it,de),O(ce),i[79](null),dt&&dt.d(),Ge&&Ge.d(),O(et),$i(st,de),Kt=!1,Gt(me)}}}const No=18;function $f(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,{supportLink:J}=e,{playerControlsHeight:Z=0}=e,{returnFocus:T}=e;const $=_t(),ie=Gi(),te=$.state.currentQuality$;q(i,te,Te=>t(66,s=Te));const K=$.state.availableQualities$;q(i,K,Te=>t(8,P=Te));const H=$.state.autoQualityLimitingAvailable$;q(i,H,Te=>t(70,g=Te));const re=$.state.isAutoQualityEnabled$;q(i,re,Te=>t(67,a=Te));const k=$.state.currentPlaybackRate$;q(i,k,Te=>t(3,o=Te));const le=$.state.availablePlaybackRates$;q(i,le,Te=>t(4,l=Te));const ce=$.state.currentSubtitle$;q(i,ce,Te=>t(28,B=Te));const ve=$.state.availableSubtitlesList$;q(i,ve,Te=>t(6,h=Te));const Ne=$.state.canDownload,Ae=$.state.hasMpegSources$;q(i,Ae,Te=>t(71,v=Te));const Ce=$.ui.settingsMenuVisible;q(i,Ce,Te=>t(9,S=Te));const F=$.ui.isMobile;q(i,F,Te=>t(7,_=Te));const N=$.ui.mobileNotReportControlHidden$;q(i,N,Te=>t(68,c=Te));const Y=$.state.canChangePlaybackSpeed$;q(i,Y,Te=>t(69,f=Te));const ge=$.ui.isFullscreen;q(i,ge,Te=>t(74,E=Te));const ee=$.state.trafficSavingEnabled$;q(i,ee,Te=>t(5,r=Te));const M=$.ui.playerSize;q(i,M,Te=>t(73,L=Te));const Q=$.ui.debugPanelVisible;q(i,Q,Te=>t(29,j=Te));const Ie=$.ui.playerSize;q(i,Ie,Te=>t(72,b=Te));const ye=$.actions.internal.downloadVideo;let Se=!0,X=!1,se=!1,_e=!1,ae=!1;function qe(){T?.(),Ce.set(!1)}function je(){t(10,Se=!1),t(11,X=!0)}function Je(){t(10,Se=!1),t(14,ae=!0)}function et(Te){$.actions.internal.setQuality(Te),qe()}function Be(Te){$.actions.internal.setTrafficSavingEnabled(Te),qe()}function rt(){t(10,Se=!1),t(12,se=!0)}function Tt(Te){$.actions.internal.setPlaybackRate(Te),qe()}function Le(){t(10,Se=!1),t(13,_e=!0)}function Re(Te){$.actions.internal.setSubtitle(Te),qe()}function Kt(){t(10,Se=!0),t(11,X=!1),t(12,se=!1),t(13,_e=!1),t(14,ae=!1)}function me(){ye(),qe()}function ut(){window.open(J,"_blank"),qe(),$.actions.internal.pause()}function Qe(){qo($.actions.internal.getDebugTextData()),qe()}function ot(){Q.set(!0),qe()}function Ze(Te,Bt,Mi){if(!Te)return"...";const ei=Bt.find(ki=>ki.value===Te),_i=ei?ei.displayValue:Te;return Mi?Te===nt.VideoQuality.INVARIANT?W("auto_quality_invariant"):W("auto_quality",{actual:_i}):_i}let $e,lt,ct,wt,tt,Rt,yt,it,Ht,dt,Ge,At,st,$t,de;function Pe(Te){We[Te?"unshift":"push"](()=>{lt=Te,t(0,lt)})}const Me=Te=>et(Te.value);function St(Te){We[Te?"unshift":"push"](()=>{ct=Te,t(1,ct)})}const Li=Te=>Tt(Te.value);function Yt(Te){We[Te?"unshift":"push"](()=>{wt=Te,t(2,wt)})}const vi=()=>Be(!1),Ii=()=>Be(!0),Lt=Te=>Re(Te);return i.$$set=Te=>{"supportLink"in Te&&t(63,J=Te.supportLink),"playerControlsHeight"in Te&&t(64,Z=Te.playerControlsHeight),"returnFocus"in Te&&t(65,T=Te.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&512&&S&&(t(10,Se=!0),t(11,X=!1),t(12,se=!1),t(13,_e=!1),t(14,ae=!1)),i.$$.dirty[2]&16&&t(27,n=Zn(s)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,$e=Ze(s,P,a)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&E)t(16,tt=`max-height: ${Math.round(L.height*.6)}px`);else if(_)t(16,tt="");else{const Te=b.height-No-(lt?.clientHeight??0)-Z;t(16,tt=`max-height: ${Te}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,Rt="");else{const Te=b.height-No-(ct?.clientHeight??0)-Z;t(17,Rt=`max-height: ${Te}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,yt="");else{const Te=b.height-No-(wt?.clientHeight??0)-Z;t(18,yt=`max-height: ${Te}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,it=Ne&&v&&!c),i.$$.dirty[2]&320&&t(20,Ht=ie.features.trafficSaving&&!c&&g),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,dt=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ge=!!f&&!c),i.$$.dirty[2]&64&&t(23,At=!c),i.$$.dirty[0]&32&&t(24,st=W(r?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,$t=a?W("auto_quality_option"):s),i.$$.dirty[0]&24&&t(26,de=l.find(Te=>Te.value===o)?.displayValue)},[lt,ct,wt,o,l,r,h,_,P,S,Se,X,se,_e,ae,$e,tt,Rt,yt,it,Ht,dt,Ge,At,st,$t,de,n,B,j,ie,te,K,H,re,k,le,ce,ve,Ae,Ce,F,N,Y,ge,ee,M,Q,Ie,qe,je,Je,et,Be,rt,Tt,Le,Re,Kt,me,ut,Qe,ot,J,Z,T,s,a,c,f,g,v,b,L,E,Pe,Me,St,Li,Yt,vi,Ii,Lt]}class e1 extends we{constructor(e){super(),ke(this,e,$f,xf,be,{supportLink:63,playerControlsHeight:64,returnFocus:65},Xf,[-1,-1,-1,-1])}}function e0(i){He(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function t0(i){let e,t,n;return t=new xr({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=w("span"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function i0(i){let e,t;return e=new fi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[t0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function n0(i,e,t){let n,o,l;const s=_t(),a=s.state.currentQuality$;q(i,a,g=>t(2,l=g));const r=s.ui.settingsMenuVisible;q(i,r,g=>t(7,n=g));const c=s.ui.isMobile;q(i,c,g=>t(1,o=g));let f;function h(){r.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=W(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,a,r,c,h,n]}class Yo extends we{constructor(e){super(),ke(this,e,n0,i0,be,{},e0)}}function o0(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:G,i:G,o:G,d(n){n&&y(e)}}}class l0 extends we{constructor(e){super(),ke(this,e,null,o0,be,{})}}function s0(i){let e,t;return e=new $r({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function a0(i){let e,t;return e=new l0({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function r0(i){let e,t,n,o;const l=[a0,s0],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e!==f&&(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t||(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function u0(i){let e,t;return e=new fi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:yo[Ue.KeyC],$$slots:{default:[r0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function c0(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=W(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class f0 extends we{constructor(e){super(),ke(this,e,c0,u0,be,{isSubtitlesEnabled:0,click:1})}}function d0(i){He(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 as(i){let e,t;return{c(){e=w("span"),t=Oe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&8&&Xe(t,n[3])},d(n){n&&y(e)}}}function m0(i){let e,t,n,o,l,s=i[2]&&as(i);return{c(){e=w("div"),t=w("span"),n=Oe(i[4]),o=R(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Nn(()=>i[7].call(e)),A(e,"mobile",i[1])},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=ko(e,i[7].bind(e))},p(a,[r]){r&16&&Xe(n,a[4]),a[2]?s?s.p(a,r):(s=as(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&A(e,"mobile",a[1])},i:G,o:G,d(a){a&&y(e),s&&s.d(),l()}}}function h0(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:a}=e,r,c;function f(){a=this.clientWidth,t(0,a)}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,a=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=nn(o)),i.$$.dirty&64&&t(4,c=nn(l))},[a,n,s,r,c,o,l,f]}class t1 extends we{constructor(e){super(),ke(this,e,h0,m0,be,{isMobile:1,duration:5,position:6,showDuration:2,width:0},d0)}}function p0(i){He(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 g0(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(a,r){C(a,e,r),d(e,t),d(t,n),d(t,o),d(t,l)},p(a,[r]){r&1&&u(e,"data-value",a[0]),r&1&&s!==(s="volume-"+a[0]+"-icon")&&u(e,"data-testid",s)},i:G,o:G,d(a){a&&y(e)}}}function b0(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(a,r)=>r?"off":a>.5?"max":a>.2?"mid":a>0?"min":"off";let s;return i.$$set=a=>{"volume"in a&&t(1,n=a.volume),"muted"in a&&t(2,o=a.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class Po extends we{constructor(e){super(),ke(this,e,b0,g0,be,{volume:1,muted:2},p0)}}function v0(i){let e,t;const n=i[4].default,o=hn(n,i,i[3],null);return{c(){e=w("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)&&gn(o,n,l,l[3],t?pn(n,l[3],s,null):bn(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function _0(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const a=_t().ui.overlayContainer$;q(i,a,g=>t(2,n=g));let r;const c=g=>{!g||!r||!g.contains(r)||g.removeChild(r)},f=g=>{!g||!r||g.contains(r)||g.appendChild(r)};Zi(()=>(f(n),()=>c(n)));function h(g){We[g?"unshift":"push"](()=>{r=g,t(0,r)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[r,a,n,l,o,h]}class k0 extends we{constructor(e){super(),ke(this,e,_0,v0,be,{})}}function w0(i){He(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 rs(i){let e,t;return e=new k0({props:{$$slots:{default:[y0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y0(i){let e,t,n,o,l,s,a;return{c(){e=w("div"),t=w("div"),n=Oe(i[1]),o=R(),l=w("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",a=`transform: translate(${i[6]}px, ${i[7]}px);`),A(e,"active",i[0])},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(r,c){c&2&&Xe(n,r[1]),c&32&&s!==(s=`transform: translate(${r[5]}px, ${r[8]}px);`)&&u(l,"style",s),c&192&&a!==(a=`transform: translate(${r[6]}px, ${r[7]}px);`)&&u(e,"style",a),c&1&&A(e,"active",r[0])},d(r){r&&y(e),i[17](null)}}}function C0(i){let e,t,n,o,l,s;const a=i[15].default,r=hn(a,i,i[18],null);let c=i[1]&&rs(i);return{c(){e=w("div"),r&&r.c(),t=R(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-1jbbzcj"),A(e,"full-width",i[2])},m(f,h){C(f,e,h),r&&r.m(e,null),i[16](e),C(f,t,h),c&&c.m(f,h),C(f,n,h),o=!0,l||(s=[Ve(e,"mouseenter",i[11]),Ve(e,"mousemove",i[11]),Ve(e,"mouseleave",i[12]),Ve(e,"mousedown",i[12]),Ve(e,"mouseup",i[11])],l=!0)},p(f,[h]){r&&r.p&&(!o||h&262144)&&gn(r,a,f,f[18],o?pn(a,f[18],h,null):bn(f[18]),null),(!o||h&4)&&A(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&m(c,1)):(c=rs(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(he(),p(c,1,1,()=>{c=null}),pe())},i(f){o||(m(r,f),m(c),o=!0)},o(f){p(r,f),p(c),o=!1},d(f){f&&(y(e),y(t),y(n)),r&&r.d(f),i[16](null),c&&c.d(f),l=!1,Gt(s)}}}const fo=5;function P0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:a=""}=e,{active:r=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,v,b,_=0,L=fo,E=0,P=0;const S=Gi(),B=_t(),j=B.ui.playerSize;q(i,j,k=>t(21,o=k));const J=B.ui.overlayContainer$;q(i,J,k=>t(20,n=k));const Z=B.getLogger().createComponentLog("Tooltip component"),T=()=>{if(!n)return;const k=n.getBoundingClientRect(),le=g.getBoundingClientRect(),ce=le.width,ve=v.clientWidth,Ne=o.width,Ae=(ce-ve)/2,Ce=le.left+c-k.left;let F=Ce+Ae;const N=le.top+f-k.top;let Y=ve/2-fo;const ge=F<$n,ee=F+ve>Ne-$n;ge&&(F=$n,Y=Ce+le.width/2-2.5*fo),ee&&(F=Ne-$n-ve,Y=le.left-k.left+le.width/2-F-fo),t(6,E=F),t(7,P=N),t(5,_=Y)},$=()=>{try{if(!n||!g)return;T(),t(0,r=!0)}catch(k){Z({message:String(k)})}},ie=()=>{t(0,r=!1)},te=()=>{v&&(b||(b=window.setTimeout($,S.controls.hideTimeoutTooltips)),r&&$())},K=()=>{ie(),window.clearTimeout(b),b=void 0};wo(()=>window.clearTimeout(b));function H(k){We[k?"unshift":"push"](()=>{g=k,t(3,g)})}function re(k){We[k?"unshift":"push"](()=>{v=k,t(4,v)})}return i.$$set=k=>{"content"in k&&t(1,a=k.content),"active"in k&&t(0,r=k.active),"translateX"in k&&t(13,c=k.translateX),"translateY"in k&&t(14,f=k.translateY),"isFullWidthWrapper"in k&&t(2,h=k.isFullWidthWrapper),"$$scope"in k&&t(18,s=k.$$scope)},[r,a,h,g,v,_,E,P,L,j,J,te,K,c,f,l,H,re,s]}class i1 extends we{constructor(e){super(),ke(this,e,P0,C0,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},w0)}}function S0(i){He(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 T0(i){let e;const t=i[15].default,n=hn(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)&&gn(n,t,o,o[19],e?pn(t,o[19],l,null):bn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function A0(i){let e,t;return e=new i1({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[E0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function E0(i){let e;const t=i[15].default,n=hn(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)&&gn(n,t,o,o[19],e?pn(t,o[19],l,null):bn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function V0(i){let e,t,n,o,l,s,a,r,c;const f=[A0,T0],h=[];function g(v,b){return v[2]&&v[4]&&!v[9]?0:1}return t=g(i),n=h[t]=f[t](i),{c(){e=w("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[5]||null),Nn(()=>i[18].call(e))},m(v,b){C(v,e,b),h[t].m(e,null),s=ko(e,i[18].bind(e)),a=!0,r||(c=[Ve(e,"pointerdown",ft(ci(i[16]))),Ve(e,"click",ft(ci(i[17])))],r=!0)},p(v,[b]){let _=t;t=g(v),t===_?h[t].p(v,b):(he(),p(h[_],1,1,()=>{h[_]=null}),pe(),n=h[t],n?n.p(v,b):(n=h[t]=f[t](v),n.c()),m(n,1),n.m(e,null)),(!a||b&2&&o!==(o="btn-container "+v[1]+" v-p9r045"))&&u(e,"class",o),(!a||b&32&&l!==(l=v[5]||null))&&u(e,"aria-hidden",l)},i(v){a||(m(n),a=!0)},o(v){p(n),a=!1},d(v){v&&y(e),h[t].d(),s(),r=!1,Gt(c)}}}function L0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:a=""}=e,{disabled:r=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:v=W("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:L=-18}=e;const E=_t(),P=E.ui.isMobile;q(i,P,T=>t(9,o=T));const S=E.state.graphIsOpened$;q(i,S,T=>t(14,n=T));let B;function j(T){qn.call(this,i,T)}function J(T){qn.call(this,i,T)}function Z(){f=this.clientWidth,t(0,f)}return i.$$set=T=>{"className"in T&&t(1,a=T.className),"disabled"in T&&t(12,r=T.disabled),"hasTooltip"in T&&t(2,c=T.hasTooltip),"width"in T&&t(0,f=T.width),"isFullWidthTooltip"in T&&t(3,h=T.isFullWidthTooltip),"tooltipContent"in T&&t(4,g=T.tooltipContent),"disabledTooltipContent"in T&&t(13,v=T.disabledTooltipContent),"isAriaHidden"in T&&t(5,b=T.isAriaHidden),"initialTranslateXPx"in T&&t(6,_=T.initialTranslateXPx),"initialTranslateYPx"in T&&t(7,L=T.initialTranslateYPx),"$$scope"in T&&t(19,s=T.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(r?t(8,B=n?W("tooltip_disabled_when_graph_on"):v):t(8,B=g))},[f,a,c,h,g,b,_,L,B,o,P,S,r,v,n,l,j,J,Z,s]}class Nt extends we{constructor(e){super(),ke(this,e,L0,V0,be,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},S0)}}function I0(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,a){C(s,e,a),d(e,t),d(e,o)},p(s,[a]){a&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),a&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:G,o:G,d(s){s&&y(e)}}}function M0(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class N0 extends we{constructor(e){super(),ke(this,e,M0,I0,be,{completed:0})}}function R0(i){He(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 B0(i){let e,t,n,o,l;return t=new N0({props:{completed:!!i[0].completed}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Nn(()=>i[3].call(e)),A(e,"disabled",i[1])},m(s,a){C(s,e,a),z(t,e,null),o=ko(e,i[3].bind(e)),l=!0},p(s,a){const r={};a&1&&(r.completed=!!s[0].completed),t.$set(r),(!l||a&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||a&2)&&A(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){p(t.$$.fragment,s),l=!1},d(s){s&&y(e),O(t),o()}}}function z0(i){let e,t;return e=new Nt({props:{tooltipContent:W(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:[B0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=W(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function O0(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=a=>{"videoEpisode"in a&&t(0,n=a.videoEpisode),"disabled"in a&&t(1,o=a.disabled)},[n,o,l,s]}class D0 extends we{constructor(e){super(),ke(this,e,O0,z0,be,{videoEpisode:0,disabled:1},R0)}}function H0(i){He(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 us(i,e,t){const n=i.slice();return n[2]=e[t],n}function cs(i){let e,t,n,o,l,s,a,r,c;return{c(){e=w("div"),t=w("div"),n=w("div"),l=R(),s=w("div"),r=R(),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",a=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),A(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}%`),A(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,r)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&a!==(a=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",a),h&2&&A(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&A(e,"mobile",f[1])},d(f){f&&y(e)}}}function F0(i){let e,t=It(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=cs(us(i,t,o));return{c(){e=w("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=It(o[0]);let s;for(s=0;s<t.length;s+=1){const a=us(o,t,s);n[s]?n[s].p(a,l):(n[s]=cs(a),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:G,o:G,d(o){o&&y(e),$i(n,o)}}}function U0(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 q0 extends we{constructor(e){super(),ke(this,e,U0,F0,be,{videoEpisodes:0,isMobile:1},H0)}}function W0(i){He(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 fs(i,e,t){const n=i.slice();return n[48]=e[t],n}function ds(i){let e,t,n=It(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=hs(fs(i,n,s));const l=s=>p(o[s],1,1,()=>{o[s]=null});return{c(){e=w("div");for(let s=0;s<o.length;s+=1)o[s].c();u(e,"class","interactive-icons v-1golz1y"),A(e,"mobile",i[5]),A(e,"hidden",i[5]&&!i[20])},m(s,a){C(s,e,a);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(e,null);t=!0},p(s,a){if(a[0]&2097664){n=It(s[21]);let r;for(r=0;r<n.length;r+=1){const c=fs(s,n,r);o[r]?(o[r].p(c,a),m(o[r],1)):(o[r]=hs(c),o[r].c(),m(o[r],1),o[r].m(e,null))}for(he(),r=n.length;r<o.length;r+=1)l(r);pe()}(!t||a[0]&32)&&A(e,"mobile",s[5]),(!t||a[0]&1048608)&&A(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let a=0;a<n.length;a+=1)m(o[a]);t=!0}},o(s){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)p(o[a]);t=!1},d(s){s&&y(e),$i(o,s)}}}function ms(i){let e,t;return e=new D0({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function hs(i){let e,t,n=i[48].interactive&&ms(i);return{c(){n&&n.c(),e=ht()},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=ms(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function j0(i){let e,t,n,o,l,s;return{c(){e=w("div"),t=w("div"),o=R(),l=w("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}%);`),A(l,"active-live",i[4]),A(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(a,r){C(a,e,r),d(e,t),d(e,o),d(e,l)},p(a,r){r[0]&2048&&n!==(n=`transform: translateX(${a[11]*100}%);`)&&u(t,"style",n),r[0]&4096&&s!==(s=`transform: translateX(${a[12]*100}%);`)&&u(l,"style",s),r[0]&16&&A(l,"active-live",a[4]),r[0]&64&&A(l,"ads",a[6])},i:G,o:G,d(a){a&&y(e)}}}function Z0(i){let e,t;return e=new q0({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function G0(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b=i[8]&&ds(i);const _=[Z0,j0],L=[];function E(P,S){return P[21].length?0:1}return n=E(i),o=L[n]=_[n](i),{c(){b&&b.c(),e=R(),t=w("div"),o.c(),l=R(),s=w("div"),a=w("div"),u(a,"class","handle v-1golz1y"),A(a,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",r=`transform: translateX(${i[13]*100}%);`),A(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=i[1]??null),A(t,"disabled",i[9]),A(t,"slider-dragging",i[20]),A(t,"hidden",i[2]),A(t,"slider-vertical",i[3]),A(t,"no-handle",i[10]),A(t,"square",i[7])},m(P,S){b&&b.m(P,S),C(P,e,S),C(P,t,S),L[n].m(t,null),d(t,l),d(t,s),d(s,a),i[42](t),h=!0,g||(v=[Ve(t,"pointerdown",ci(i[22])),Ve(t,"pointermove",ci(i[23])),Ve(t,"pointerup",ci(i[24])),Ve(t,"pointerenter",ci(i[25])),Ve(t,"pointerleave",ci(i[26])),Ve(t,"click",ft(ne.noop)),Ve(t,"wheel",i[27])],g=!0)},p(P,S){P[8]?b?(b.p(P,S),S[0]&256&&m(b,1)):(b=ds(P),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),pe());let B=n;n=E(P),n===B?L[n].p(P,S):(he(),p(L[B],1,1,()=>{L[B]=null}),pe(),o=L[n],o?o.p(P,S):(o=L[n]=_[n](P),o.c()),m(o,1),o.m(t,l)),(!h||S[0]&16)&&A(a,"active-live",P[4]),(!h||S[0]&8192&&r!==(r=`transform: translateX(${P[13]*100}%);`))&&u(s,"style",r),(!h||S[0]&1024)&&A(s,"hidden",P[10]),(!h||S[0]&1&&c!==(c="slider "+P[0]+" v-1golz1y"))&&u(t,"class",c),(!h||S[0]&16384)&&u(t,"aria-label",P[14]),(!h||S[0]&32768)&&u(t,"aria-valuemin",P[15]),(!h||S[0]&65536)&&u(t,"aria-valuemax",P[16]),(!h||S[0]&131072)&&u(t,"aria-valuenow",P[17]),(!h||S[0]&262144)&&u(t,"aria-valuetext",P[18]),(!h||S[0]&2&&f!==(f=P[1]??null))&&u(t,"data-testid",f),(!h||S[0]&513)&&A(t,"disabled",P[9]),(!h||S[0]&1048577)&&A(t,"slider-dragging",P[20]),(!h||S[0]&5)&&A(t,"hidden",P[2]),(!h||S[0]&9)&&A(t,"slider-vertical",P[3]),(!h||S[0]&1025)&&A(t,"no-handle",P[10]),(!h||S[0]&129)&&A(t,"square",P[7])},i(P){h||(m(b),m(o),h=!0)},o(P){p(b),p(o),h=!1},d(P){P&&(y(e),y(t)),b&&b.d(P),L[n].d(),i[42](null),g=!1,Gt(v)}}}function K0(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:a=!1}=e,{isVertical:r=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:_=!1}=e,{disabled:L=!1}=e,{hideHandel:E=!1}=e,P,S,{onPointerDown:B=ne.noop}=e,{onHandleMove:j=ne.noop}=e,{onPointerUp:J=ne.noop}=e,{onPointerEnter:Z=ne.noop}=e,{onPointerMove:T=ne.noop}=e,{onPointerLeave:$=ne.noop}=e,{onWheelUp:ie=ne.noop}=e,{onWheelDown:te=ne.noop}=e,{onWheelLeft:K=ne.noop}=e,{onWheelRight:H=ne.noop}=e,{loadedProgress:re=0}=e,{filledProgress:k=0}=e,{handleProgress:le=0}=e,{ariaLabel:ce=""}=e,{ariaValueMin:ve=void 0}=e,{ariaValueMax:Ne=void 0}=e,{ariaValueNow:Ae=void 0}=e,{ariaValueText:Ce=""}=e;const F=Gi();let N=!1,Y;function ge(ae){if(N)return;t(20,N=!0),S=P.getBoundingClientRect();const qe=Se(ae.clientX,ae.clientY);B(qe),P.setPointerCapture(ae.pointerId)}function ee(ae){const qe=Se(ae.clientX,ae.clientY),je=X(ae.clientX);T(qe,je,S.width),N&&j(qe)}function M(ae){if(!N)return;t(20,N=!1);const qe=Se(ae.clientX,ae.clientY);J(qe)}function Q(ae){S=P.getBoundingClientRect();const qe=Se(ae.clientX,ae.clientY),je=X(ae.clientX);Z(qe,je,S.width)}function Ie(){$()}function ye(ae){b&&(ae.preventDefault(),ae.deltaY<0?ie():ae.deltaY>0?te():ae.deltaX>0?H():K())}function Se(ae,qe){return r?Math.max(0,Math.min(1,(S.height-(qe-S.top))/S.height)):Math.min(Math.max(ae-S.x,0),S.width)/S.width}function X(ae){return Math.min(Math.max(ae-S.x,0),S.width)}function se(ae,qe){const je=F.features.episodesClustering&&!_?F.episodeMinWidthPc:0,Je=[];let et=0,Be=0,rt=0;for(let Re=1;Re<v.length;Re++)Be=v[Re].time/Y*100,Be-et>je&&(Je.push({from:et,width:Math.max(0,Be-et),loadedWidth:Math.max(0,Math.min(Be,ae)-et),filledWidth:Math.max(0,Math.min(Be,qe)-et),interactive:v[Re-1].interactive,completed:v[Re-1].completed}),et=v[Re].time/Y*100,rt++);const Tt={from:et,width:Math.max(0,100-et),loadedWidth:Math.max(0,Math.min(ae,100)-et),filledWidth:Math.max(0,Math.min(qe,100)-et),interactive:v[rt].interactive,completed:v[rt].completed};100-et<je?(rt-=1,Je[rt].width+=100-et,Je[rt].loadedWidth+=Math.max(0,Math.min(ae,100)-et),Je[rt].filledWidth+=Math.max(0,Math.min(qe,100)-et)):Je[rt]=Tt;const Le=v[0].time;if(Le!==0){const Re=Le/Y*100;Je.unshift({from:0,width:Re,loadedWidth:Math.min(Re,ae),filledWidth:Math.min(Re,qe)})}return Je}function _e(ae){We[ae?"unshift":"push"](()=>{P=ae,t(19,P)})}return i.$$set=ae=>{"className"in ae&&t(0,l=ae.className),"testId"in ae&&t(1,s=ae.testId),"isHidden"in ae&&t(2,a=ae.isHidden),"isVertical"in ae&&t(3,r=ae.isVertical),"isActiveLive"in ae&&t(4,c=ae.isActiveLive),"isMobile"in ae&&t(5,f=ae.isMobile),"isAds"in ae&&t(6,h=ae.isAds),"squareBorders"in ae&&t(7,g=ae.squareBorders),"videoEpisodes"in ae&&t(28,v=ae.videoEpisodes),"withWheelHandler"in ae&&t(29,b=ae.withWheelHandler),"isInteractive"in ae&&t(8,_=ae.isInteractive),"disabled"in ae&&t(9,L=ae.disabled),"hideHandel"in ae&&t(10,E=ae.hideHandel),"onPointerDown"in ae&&t(30,B=ae.onPointerDown),"onHandleMove"in ae&&t(31,j=ae.onHandleMove),"onPointerUp"in ae&&t(32,J=ae.onPointerUp),"onPointerEnter"in ae&&t(33,Z=ae.onPointerEnter),"onPointerMove"in ae&&t(34,T=ae.onPointerMove),"onPointerLeave"in ae&&t(35,$=ae.onPointerLeave),"onWheelUp"in ae&&t(36,ie=ae.onWheelUp),"onWheelDown"in ae&&t(37,te=ae.onWheelDown),"onWheelLeft"in ae&&t(38,K=ae.onWheelLeft),"onWheelRight"in ae&&t(39,H=ae.onWheelRight),"loadedProgress"in ae&&t(11,re=ae.loadedProgress),"filledProgress"in ae&&t(12,k=ae.filledProgress),"handleProgress"in ae&&t(13,le=ae.handleProgress),"ariaLabel"in ae&&t(14,ce=ae.ariaLabel),"ariaValueMin"in ae&&t(15,ve=ae.ariaValueMin),"ariaValueMax"in ae&&t(16,Ne=ae.ariaValueMax),"ariaValueNow"in ae&&t(17,Ae=ae.ariaValueNow),"ariaValueText"in ae&&t(18,Ce=ae.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,Y=Ne??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=v[v.length-1]?.time<Y),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&Y?se(re*100,k*100):[])},[l,s,a,r,c,f,h,g,_,L,E,re,k,le,ce,ve,Ne,Ae,Ce,P,N,o,ge,ee,M,Q,Ie,ye,v,b,B,j,J,Z,T,$,ie,te,K,H,Y,n,_e]}class Qo extends we{constructor(e){super(),ke(this,e,K0,G0,be,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},W0,[-1,-1])}}const xi=(i,e)=>jn[i]>=jn[e],Y0=(i,e)=>jn[i]<jn[e],n1=(i,e)=>jn[i]<=jn[e],Q0=i=>i>Hn.L?exports.GridTypes.XL:i>Hn.M?exports.GridTypes.L:i>Hn.S?exports.GridTypes.M:i>Hn.XS?exports.GridTypes.S:exports.GridTypes.XS;function X0(i){He(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 J0(i){let e,t;return e=new Po({props:{volume:i[4],muted:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function x0(i){let e,t;return e=new fi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:yo[Ue.KeyM],$$slots:{default:[J0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ps(i){let e,t,n;return t=new Qo({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]:ne.noop,onPointerLeave:i[3]?i[18]:ne.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(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=w("div"),D(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),A(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]:ne.noop),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:ne.noop),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)&&A(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function $0(i){let e,t,n,o,l,s;t=new i1({props:{content:i[6],translateY:-18,$$slots:{default:[x0]},$$scope:{ctx:i}}});let a=i[0]&&ps(i);return{c(){e=w("div"),D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","volumeBar-container v-1l78lz9"),A(e,"vertical",i[3])},m(r,c){C(r,e,c),z(t,e,null),d(e,n),a&&a.m(e,null),o=!0,l||(s=[Ve(e,"mouseenter",function(){mn(i[3]?i[19]:ne.noop)&&(i[3]?i[19]:ne.noop).apply(this,arguments)}),Ve(e,"mouseleave",function(){mn(i[3]?i[20]:ne.noop)&&(i[3]?i[20]:ne.noop).apply(this,arguments)}),Ve(e,"wheel",ci(i[21]))],l=!0)},p(r,c){i=r;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]?a?(a.p(i,c),c[0]&1&&m(a,1)):(a=ps(i),a.c(),m(a,1),a.m(e,null)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!o||c[0]&8)&&A(e,"vertical",i[3])},i(r){o||(m(t.$$.fragment,r),m(a),o=!0)},o(r){p(t.$$.fragment,r),p(a),o=!1},d(r){r&&y(e),O(t),a&&a.d(),l=!1,Gt(s)}}}function ed(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:a}=e;const r=_t(),c=Gi(),f=r.state.volume$;q(i,f,ve=>t(4,n=ve));const h=r.state.muted$;q(i,h,ve=>t(23,l=ve));const g=r.actions.internal.setVolume,v=r.ui.currentGridType$;q(i,v,ve=>t(22,o=ve));let b=!1,_,L,E,P,S,B,j=1,J=!1;function Z(ve){j=n,g(ve)}function T(){Kr(r,n,c.controls.volumeStepWheel)}function $(){Yr(r,n,c.controls.volumeStepWheel)}function ie(ve){g(ve)}function te(ve){const Ne=ve;g(Ne,Ne===0?j:Ne)}function K(){J=!0}function H(){J=!1,le()}function re(){clearTimeout(_),t(5,b=!0)}function k(){le()}function le(){_=window.setTimeout(()=>{J||t(5,b=!1)},c.controls.volumeBarTimeout)}function ce(ve){ve.deltaY<0?T():ve.deltaY>0&&$()}return i.$$set=ve=>{"isAudioAvailable"in ve&&t(0,s=ve.isAudioAvailable),"click"in ve&&t(1,a=ve.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,P=!s||l),i.$$.dirty[0]&4194304&&t(3,S=n1(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(S?t(6,L=""):t(6,L=W(P?"tooltip_volume":"tooltip_volume_muted")),t(7,E=W(P?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=P?0:n)},[s,a,P,S,n,b,L,E,B,f,h,v,Z,T,$,ie,te,K,H,re,k,ce,o,l]}class td extends we{constructor(e){super(),ke(this,e,ed,$0,be,{isAudioAvailable:0,click:1},X0,[-1,-1])}}function id(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 nd(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 od(i){let e,t,n;function o(a,r){return a[0]?nd:id}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(a,r){C(a,e,r),d(e,t),s.m(t,null)},p(a,[r]){l!==(l=o(a))&&(s.d(1),s=l(a),s&&(s.c(),s.m(t,null))),r&1&&n!==(n=a[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:G,o:G,d(a){a&&y(e),s.d()}}}function ld(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class sd extends we{constructor(e){super(),ke(this,e,ld,od,be,{isFullscreen:0})}}function ad(i){let e,t;return e=new sd({props:{isFullscreen:i[0]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function rd(i){let e,t;return e=new fi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:yo[Ue.KeyF],$$slots:{default:[ad]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ud(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ne.noop}=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=W(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class o1 extends we{constructor(e){super(),ke(this,e,ud,rd,be,{isFullscreen:0,click:1})}}function cd(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:G,i:G,o:G,d(n){n&&y(e)}}}class Xo extends we{constructor(e){super(),ke(this,e,null,cd,be,{})}}function fd(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:G,i:G,o:G,d(n){n&&y(e)}}}class l1 extends we{constructor(e){super(),ke(this,e,null,fd,be,{})}}function dd(i){He(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 gs(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function md(i){let e,t,n,o,l=i[0]&&gs();var s=i[6];function a(r){return{}}return s&&(n=on(s,a())),{c(){l&&l.c(),e=R(),t=w("div"),n&&D(n.$$.fragment),u(t,"class","v-1ot3duq"),A(t,"mobile",i[0])},m(r,c){l&&l.m(r,c),C(r,e,c),C(r,t,c),n&&z(n,t,null),o=!0},p(r,c){if(r[0]?l||(l=gs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&s!==(s=r[6])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}s?(n=on(s,a()),D(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&A(t,"mobile",r[0])},i(r){o||(n&&m(n.$$.fragment,r),o=!0)},o(r){n&&p(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),n&&O(n)}}}function hd(i){let e,t;return e=new fi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[4]?i[7]:i[3],disabled:i[1],ariaLabel:i[5],ariaKeyShortCut:yo[Ue.KeyK],$$slots:{default:[md]},$$scope:{ctx:i}}}),{c(){D(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[7]:n[3]),o&2&&(l.disabled=n[1]),o&32&&(l.ariaLabel=n[5]),o&2113&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function pd(i,e,t){let n,o;q(i,go,b=>t(10,o=b));let{isMobile:l=!1}=e,{isPlaying:s=!1}=e,{disabled:a=!1}=e,{className:r=""}=e,{click:c=ne.noop}=e;const{toggle:f}=go;let h,g,v;return i.$$set=b=>{"isMobile"in b&&t(0,l=b.isMobile),"isPlaying"in b&&t(8,s=b.isPlaying),"disabled"in b&&t(1,a=b.disabled),"className"in b&&t(2,r=b.className),"click"in b&&t(3,c=b.click)},i.$$.update=()=>{i.$$.dirty&1024&&t(4,h=o!==null),i.$$.dirty&1296&&t(9,g=h?o:s),i.$$.dirty&512&&t(5,v=W(g?"tooltip_pause":"tooltip_play")),i.$$.dirty&512&&t(6,n=g?l1:Xo)},[l,a,r,c,h,v,n,f,s,g,o]}class Jo extends we{constructor(e){super(),ke(this,e,pd,hd,be,{isMobile:0,isPlaying:8,disabled:1,className:2,click:3},dd)}}function gd(i){He(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 bd(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"),A(e,"prev",i[0]),A(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&&A(e,"prev",o[0]),l&2&&A(e,"mobile",o[1])},i:G,o:G,d(o){o&&y(e)}}}function vd(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 _d extends we{constructor(e){super(),ke(this,e,vd,bd,be,{isPrev:0,isMobile:1},gd)}}function kd(i){let e,t;return e=new _d({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function wd(i){let e,t;return e=new fi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[kd]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function yd(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,a;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"type"in r&&t(2,l=r.type),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=W(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,a]}class So extends we{constructor(e){super(),ke(this,e,yd,wd,be,{isMobile:0,disabled:1,type:2,click:3})}}function Cd(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:G,i:G,o:G,d(n){n&&y(e)}}}class Pd extends we{constructor(e){super(),ke(this,e,null,Cd,be,{})}}function bs(i){let e,t,n,o,l,s,a;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=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(a,"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(a,"fill","white")},m(r,c){C(r,e,c),C(r,t,c),C(r,n,c),C(r,o,c),C(r,l,c),C(r,s,c),C(r,a,c)},d(r){r&&(y(e),y(t),y(n),y(o),y(l),y(s),y(a))}}}function Sd(i){let e,t,n,o=!i[0]&&bs();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=bs(),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:G,o:G,d(l){l&&y(e),o&&o.d()}}}function Td(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 Ad extends we{constructor(e){super(),ke(this,e,Td,Sd,be,{short:0})}}function Ed(i){let e,t;return e=new Pd({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:G,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vd(i){let e,t;return e=new Ad({props:{short:i[3]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ld(i){let e,t,n,o;const l=[Vd,Ed],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Id(i){let e,t;return e=new fi({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:[Ld]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Md(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:r}=e;const c=Gi(),{logoLink:f,addTimeToLogoLink:h}=c,g=_t(),v=g.state.positionWithScrubbing$;q(i,v,B=>t(12,n=B));const b=g.ui.currentGridType$;q(i,b,B=>t(10,o=B));const _=g.ui.isMobile;q(i,_,B=>t(11,l=B));let L,E,P;const S=()=>{let B;if(E||!a)B=f;else{const j=Math.round(n);if(h&&j){const J=new URL(a);J.searchParams.append("t",ne.timeCodeToString(j)),B=J.toString()}else B=a}r(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,s=B.logoClickable),"videoLogoUrl"in B&&t(8,a=B.videoLogoUrl),"click"in B&&t(9,r=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,P=(l||n1(o,exports.GridTypes.L))&&E)},t(2,L=c.logoType===Wn.VK_VIDEO?W("tooltip_vk_video_logo"):W("tooltip_vk_logo")),t(1,E=c.logoType===Wn.VK_VIDEO),[s,E,L,P,v,b,_,S,a,r,o,l]}class s1 extends we{constructor(e){super(),ke(this,e,Md,Id,be,{logoClickable:0,videoLogoUrl:8,click:9})}}function Nd(i){He(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 Rd(i){let e,t,n,o,l,s,a,r;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=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(a,"d","M0 0h24v24H0z"),u(r,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(r,"fill","#fff"),A(r,"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"),A(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,a),d(t,r)},p(c,f){f&2&&A(r,"hidden",!c[1]),f&4&&A(e,"connecting",c[2])},d(c){c&&y(e)}}}function Bd(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),s=I("path"),a=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),g=I("path"),b=I("filter"),_=I("feFlood"),L=I("feColorMatrix"),E=I("feOffset"),P=I("feGaussianBlur"),S=I("feColorMatrix"),B=I("feBlend"),j=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(a,"fill-rule","evenodd"),u(a,"clip-rule","evenodd"),u(a,"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(a,"fill",r=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",v=i[1]?"#2688EB":"#fff"),u(g,"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(P,"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(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(J,Z){C(J,e,Z),d(e,t),d(t,n),d(n,o),d(n,s),d(t,a),d(t,c),d(e,f),d(f,h),d(h,g),d(f,b),d(b,_),d(b,L),d(b,E),d(b,P),d(b,S),d(b,B),d(b,j)},p(J,Z){Z&2&&l!==(l=J[1]?"#2688EB":"#fff")&&u(o,"fill",l),Z&2&&r!==(r=J[1]?"#2688EB":"#fff")&&u(a,"fill",r),Z&2&&v!==(v=J[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d(J){J&&y(e)}}}function zd(i){let e;function t(l,s){return l[0]?Bd:Rd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function Od(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(3,o=a.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===nt.ChromecastState.CONNECTING),t(1,l=o===nt.ChromecastState.CONNECTED))},[n,l,s,o]}class Dd extends we{constructor(e){super(),ke(this,e,Od,zd,be,{isMobile:0,state:3},Nd)}}function Hd(i){let e,t;return e=new Dd({props:{isMobile:i[0],state:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fd(i){let e,t;return e=new fi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Hd]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ud(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=ne.noop}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(1,o=a.state),"click"in a&&t(2,l=a.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===nt.ChromecastState.CONNECTED?W("tooltip_chromecast_on"):W("tooltip_chromecast_off"))},[n,o,l,s]}class a1 extends we{constructor(e){super(),ke(this,e,Ud,Fd,be,{isMobile:0,state:1,click:2})}}function qd(i){let e,t;return e=new qr({props:{isActive:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Wd(i){let e,t;return e=new fi({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:[qd]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function jd(i,e,t){let{isMobile:n=!1}=e,{isActiveLive:o=!1}=e,{click:l}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"isActiveLive"in a&&t(1,o=a.isActiveLive),"click"in a&&t(2,l=a.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o?"":W("tooltip_live"))},[n,o,l,s]}class r1 extends we{constructor(e){super(),ke(this,e,jd,Wd,be,{isMobile:0,isActiveLive:1,click:2})}}function Zd(i){He(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 Gd(i){let e,t,n,o;const l=i[9].default,s=hn(l,i,i[8],null);return{c(){e=w("div"),t=w("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),A(t,"active",i[0]),A(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(a,r){C(a,e,r),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(a,[r]){s&&s.p&&(!o||r&256)&&gn(s,l,a,a[8],o?pn(l,a[8],r,null):bn(a[8]),null),(!o||r&1)&&A(t,"active",a[0]),(!o||r&2)&&A(t,"pointer",a[1]),(!o||r&36&&n!==(n=`transform: translate(${a[5]}px, ${a[2]}px);`))&&u(e,"style",n)},i(a){o||(m(s,a),o=!0)},o(a){p(s,a),o=!1},d(a){a&&y(e),s&&s.d(a),i[10](null),i[11](null)}}}function Kd(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:a=!1}=e,{translateXPx:r=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function v(L){if(!g)return 0;const{width:E}=g.getBoundingClientRect(),P=E/2;return L<P?P:L>f-P?f-P:L}function b(L){We[L?"unshift":"push"](()=>{g=L,t(4,g)})}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,a=L.pointer),"translateXPx"in L&&t(6,r=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=v(r))},[s,a,c,h,g,n,r,f,l,o,b,_]}class Yd extends we{constructor(e){super(),ke(this,e,Kd,Gd,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Zd)}}const u1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Qd(i){He(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 vs(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Jd:Xd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 Xd(i){let e=(i[10].text||"")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(t,e)},d(n){n&&y(t)}}}function Jd(i){let e=W("tooltip_episode_unfinished")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p:G,d(n){n&&y(t)}}}function xd(i){let e,t,n,o,l,s,a,r,c=i[10]&&vs(i);return{c(){e=w("div"),t=w("div"),o=R(),l=w("div"),c&&c.c(),s=R(),a=w("div"),r=Oe(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(a,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),A(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,a),d(a,r)},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=vs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&Xe(r,f[0]),h&2&&A(e,"mobile",f[1])},i:G,o:G,d(f){f&&y(e),c&&c.d()}}}const On=150;function $d(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:a}=e,{progress:r=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=_t().ui.rotateAlpha;q(i,g,Z=>t(11,n=Z));let v,b,_,L,E,P,S,B;function j(){let Z=a.frameWidth,T=a.frameHeight;return Z>On?(T=T/Z*On,Z=On):T>On&&(Z=Z/T*On,T=On),{width:Z,height:T}}function J(Z){let T;a.isUV?T=Math.floor(c*Z/a.frequency):T=Math.min(a.countTotal,Math.max(0,Math.floor(a.countTotal*Z)));const $=Math.floor(T/a.countPerImage),ie=Math.floor(T%a.countPerImage/a.countPerRow),te=T%a.countPerRow;let K=Math.floor(a.countPerImage/a.countPerRow);!a.isUV&&$===Math.floor(a.countTotal/a.countPerImage)&&(K=Math.floor(a.countTotal%a.countPerImage/a.countPerRow),a.countTotal%a.countPerImage%a.countPerRow>0&&K++);let H=a.countPerRow;!a.isUV&&$===Math.floor(a.countTotal/a.countPerImage)&&a.countTotal%a.countPerImage>0&&(H=Math.min(a.countPerRow,a.countTotal%a.countPerImage));const re=v*H,k=b*K,le=-te*v,ce=-ie*b;return{imgSrc:a.links[$],imgWidth:re,imgHeight:k,imgOffsetX:le,imgOffsetY:ce}}return i.$$set=Z=>{"time"in Z&&t(0,o=Z.time),"isMobile"in Z&&t(1,l=Z.isMobile),"videoEpisodes"in Z&&t(13,s=Z.videoEpisodes),"previewThumbsData"in Z&&t(14,a=Z.previewThumbsData),"progress"in Z&&t(15,r=Z.progress),"duration"in Z&&t(16,c=Z.duration),"isInteractive"in Z&&t(2,f=Z.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:_,imgWidth:L,imgHeight:E,imgOffsetX:P,imgOffsetY:S}=J(r),_,(t(6,L),t(15,r)),(t(7,E),t(15,r)),(t(8,P),t(15,r)),(t(9,S),t(15,r))),i.$$.dirty&106496&&t(10,B=u1(r,c,s))},t(3,{width:v,height:b}=j(),v,t(4,b)),[o,l,f,v,b,_,L,E,P,S,B,n,g,s,a,r,c]}class e2 extends we{constructor(e){super(),ke(this,e,$d,xd,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Qd)}}function t2(i){He(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 i2(i){let e,t;return{c(){e=w("span"),t=Oe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o[0]&128&&Xe(t,n[7])},i:G,o:G,d(n){n&&y(e)}}}function n2(i){let e,t;return e=new e2({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function o2(i){let e,t,n,o;const l=[n2,i2],s=[];function a(r,c){return r[14].features.timelinePreview&&r[21]&&!r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function l2(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[o2]},$$scope:{ctx:i}};for(let a=0;a<l.length;a+=1)s=rr(s,l[a]);return e=new Yd({props:s}),n=new Qo({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:W("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:W("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(mt.TIMELINE),hideHandel:i[2]}}),{c(){D(e.$$.fragment),t=R(),D(n.$$.fragment)},m(a,r){z(e,a,r),C(a,t,r),z(n,a,r),o=!0},p(a,r){const c=r[0]&512?x1(l,[$1(a[9])]):{};r[0]&1419|r[1]&65536&&(c.$$scope={dirty:r,ctx:a}),e.$set(c);const f={};r[0]&2048&&(f.isActiveLive=a[11]),r[0]&1024&&(f.isMobile=a[10]),r[0]&2&&(f.ariaValueMax=a[1]),r[0]&64&&(f.ariaValueNow=Math.round(a[6]*100)),r[0]&48&&(f.ariaValueText=W("aria_timeline_value",{position:a[5],duration:a[4]})),r[0]&4096&&(f.loadedProgress=a[12]),r[0]&64&&(f.filledProgress=a[6]),r[0]&64&&(f.handleProgress=a[6]),r[0]&8&&(f.videoEpisodes=a[3]),r[0]&8192&&(f.disabled=a[13].has(mt.TIMELINE)),r[0]&4&&(f.hideHandel=a[2]),n.$set(f)},i(a){o||(m(e.$$.fragment,a),m(n.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),p(n.$$.fragment,a),o=!1},d(a){a&&y(t),O(e,a),O(n,a)}}}function s2(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,{showTimeline:b=!1}=e;const _=_t(),L=Gi(),E=_.state.bufferedProgress$;q(i,E,_e=>t(12,g=_e));const P=_.state.positionWithScrubbing$;q(i,P,_e=>t(39,r=_e));const S=_.state.duration$;q(i,S,_e=>t(1,l=_e));const B=_.state.isLive$;q(i,B,_e=>t(0,o=_e));const j=_.state.isActiveLive$;q(i,j,_e=>t(11,h=_e));const J=_.ui.isMobile;q(i,J,_e=>t(10,f=_e));const Z=L.features.episodes?_.actions.internal.getVideoEpisodes():void 0,T=_.actions.internal.getPreviewThumbsData(),$=_.state.interactiveEpisodes$;q(i,$,_e=>t(40,c=_e));const ie=_.state.isInteractive,te=_.state.isInteractiveTime$;q(i,te,_e=>t(2,s=_e));const K=_.state.isInteractiveExpectation$;q(i,K,_e=>t(38,a=_e));const H=_.actions.internal.correctSeekTimeToInteractive,re=_.ui.controls.disabledControls$;q(i,re,_e=>t(13,v=_e));let k,le,ce,ve,Ne=!1,Ae="",Ce=0,F=0,N=0,Y;function ge(_e){return!H||!ie?_e:H(_e*l)/l}function ee(_e){_.actions.internal.startScrubbing(ge(_e))}function M(_e){s||_.actions.internal.progressScrubbing(ge(_e))}function Q(_e){_.actions.internal.completeScrubbing(ge(_e)),t(34,Ne=!1)}function Ie(_e,ae,qe){X(_e,ae,qe),t(34,Ne=!0)}function ye(_e,ae,qe){X(_e,ae,qe),t(34,Ne=!0)}function Se(){t(34,Ne=!1)}function X(_e,ae,qe){t(8,N=_e),t(35,Ce=ae),qe&&t(36,F=qe),t(7,Ae=se(_e))}function se(_e){const ae=nn((o?1-_e:_e)*l);return o?`-${ae}`:ae}return i.$$set=_e=>{"showTimeline"in _e&&t(33,b=_e.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,k=ie?c:Z),i.$$.dirty[0]&2&&t(4,le=nn(l)),i.$$.dirty[1]&256&&t(5,ce=nn(r)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ve=r/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Y=a||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:F,translateXPx:Ce,translateYPx:ie&&T?-36:-16,active:Ne&&b&&!Y,pointer:!L.features.timelinePreview||!T||o})},[o,l,s,k,le,ce,ve,Ae,N,n,f,h,g,v,L,E,P,S,B,j,J,T,$,ie,te,K,re,ee,M,Q,Ie,ye,Se,b,Ne,Ce,F,Y,a,r,c]}let a2=class extends we{constructor(e){super(),ke(this,e,s2,l2,be,{showTimeline:33},t2,[-1,-1])}};function r2(i){let e,t;return e=new Qo({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:W("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){D(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=W("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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function u2(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const a=_t().ui.isMobile;q(i,a,h=>t(4,n=h));let r,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,r=nn(l)),i.$$.dirty&64&&t(2,c=nn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,r,c,f,n,a,o]}class c1 extends we{constructor(e){super(),ke(this,e,u2,r2,be,{position:6,duration:0})}}function c2(i){He(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 f2(i){let e;return{c(){e=w("div"),u(e,"class","timeline-stub v-1gqonyf"),A(e,"mobile",i[2])},m(t,n){C(t,e,n)},p(t,n){n&4&&A(e,"mobile",t[2])},i:G,o:G,d(t){t&&y(e)}}}function d2(i){let e,t,n,o;const l=[h2,m2],s=[];function a(r,c){return r[0]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","timeline v-1gqonyf"),A(e,"mobile",i[2])},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&A(e,"mobile",r[2])},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function m2(i){let e,t;return e=new a2({props:{showTimeline:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function h2(i){let e,t;return e=new c1({props:{position:i[3],duration:i[4]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function p2(i){let e,t,n,o;const l=[d2,f2],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function g2(i,e,t){let n,o,l,s,{isAds:a=!1}=e,{canRewindLive:r}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=_t(),g=h.state.isLive$;q(i,g,E=>t(12,n=E));const v=h.ads.duration;q(i,v,E=>t(4,s=E));const b=h.ads.position;q(i,b,E=>t(3,l=E));const _=h.ui.isMobile;q(i,_,E=>t(2,o=E));let L;return i.$$set=E=>{"isAds"in E&&t(0,a=E.isAds),"canRewindLive"in E&&t(9,r=E.canRewindLive),"isRewindableLive"in E&&t(10,c=E.isRewindableLive),"isHidden"in E&&t(11,f=E.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,L=!f&&(!n||n&&r&&c||a))},[a,L,o,l,s,g,v,b,_,r,c,f,n]}class f1 extends we{constructor(e){super(),ke(this,e,g2,p2,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},c2)}}function b2(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"),Et(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:G,i:G,o:G,d(l){l&&y(e)}}}class v2 extends we{constructor(e){super(),ke(this,e,null,b2,be,{})}}function _2(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:G,i:G,o:G,d(n){n&&y(e)}}}class k2 extends we{constructor(e){super(),ke(this,e,null,_2,be,{})}}function w2(i){He(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 y2(i){let e,t,n,o;e=new v2({});function l(r,c){if(r[2]===Mn.FULL)return S2;if(r[2]===Mn.COUNT)return P2}let s=l(i),a=s&&s(i);return{c(){D(e.$$.fragment),t=R(),a&&a.c(),n=ht()},m(r,c){z(e,r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){s===(s=l(r))&&a?a.p(r,c):(a&&a.d(1),a=s&&s(r),a&&(a.c(),a.m(n.parentNode,n)))},i(r){o||(m(e.$$.fragment,r),o=!0)},o(r){p(e.$$.fragment,r),o=!1},d(r){r&&(y(t),y(n)),O(e,r),a&&a.d(r)}}}function C2(i){let e,t,n,o,l,s;return l=new k2({}),{c(){e=w("span"),t=Oe(i[1]),n=R(),o=w("div"),D(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(a,r){C(a,e,r),d(e,t),C(a,n,r),C(a,o,r),z(l,o,null),s=!0},p(a,r){(!s||r&2)&&Xe(t,a[1])},i(a){s||(m(l.$$.fragment,a),s=!0)},o(a){p(l.$$.fragment,a),s=!1},d(a){a&&(y(e),y(n),y(o)),O(l)}}}function P2(i){let e,t=i[0].length+"",n;return{c(){e=w("span"),n=Oe(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+"")&&Xe(n,t)},d(o){o&&y(e)}}}function S2(i){let e,t;return{c(){e=w("span"),t=Oe(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&2&&Xe(t,n[1])},d(n){n&&y(e)}}}function T2(i){let e,t,n,o;const l=[C2,y2],s=[];function a(r,c){return r[4]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function A2(i){let e,t;return e=new fi({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:[T2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function E2(i,e,t){let n,o,l,s,{position:a=0}=e,{duration:r=0}=e,{timeCodes:c=[]}=e;const f=_t(),h=f.callbacks?.onEpisodeChanged??ne.noop,g=f.callbacks?.onEpisodeClicked??ne.noop,v=!!f.callbacks?.onEpisodeClicked,b=f.ui.currentGridType$;q(i,b,S=>t(13,l=S));const _=f.ui.isMobile;q(i,_,S=>t(4,s=S));let L,E,P;return i.$$set=S=>{"position"in S&&t(9,a=S.position),"duration"in S&&t(10,r=S.duration),"timeCodes"in S&&t(0,c=S.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=a/r),i.$$.dirty&7169){const S=u1(n,r,c);S&&L?.text!==S.text&&(h(S),t(11,L=S))}i.$$.dirty&2048&&t(1,o=L?.text||""),i.$$.dirty&8192&&(xi(l,exports.GridTypes.XL)?t(2,E=Mn.FULL):xi(l,exports.GridTypes.M)&&Y0(l,exports.GridTypes.XL)?t(2,E=Mn.COUNT):t(2,E=Mn.SHORT)),i.$$.dirty&2&&t(3,P=`${W("tooltip_episodes")}: ${o}`)},[c,o,E,P,s,g,v,b,_,a,r,L,n,l]}class d1 extends we{constructor(e){super(),ke(this,e,E2,A2,be,{position:9,duration:10,timeCodes:0},w2)}}function V2(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:G,i:G,o:G,d(o){o&&y(e)}}}class L2 extends we{constructor(e){super(),ke(this,e,null,V2,be,{})}}function I2(i){let e,t;return e=new L2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function M2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:W("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[I2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function N2(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 m1 extends we{constructor(e){super(),ke(this,e,N2,M2,be,{hidden:0,disabled:1,click:2})}}function R2(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"),A(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&&A(n,"hidden",!o[0])},i:G,o:G,d(o){o&&y(e)}}}function B2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class z2 extends we{constructor(e){super(),ke(this,e,B2,R2,be,{isOpened:0})}}function O2(i){let e,t;return e=new z2({props:{isOpened:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function D2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[O2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function H2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"graphIsOpened"in r&&t(2,l=r.graphIsOpened),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=W(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,a]}class h1 extends we{constructor(e){super(),ke(this,e,H2,D2,be,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function F2(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:G,i:G,o:G,d(n){n&&y(e)}}}class U2 extends we{constructor(e){super(),ke(this,e,null,F2,be,{})}}function q2(i){He(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 _s(i){let e;return{c(){e=w("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){C(t,e,n)},d(t){t&&y(e)}}}function W2(i){let e,t,n,o,l=i[0]&&_s();return n=new U2({}),{c(){l&&l.c(),e=R(),t=w("div"),D(n.$$.fragment),u(t,"class","v-1ot3duq"),A(t,"mobile",i[0])},m(s,a){l&&l.m(s,a),C(s,e,a),C(s,t,a),z(n,t,null),o=!0},p(s,a){s[0]?l||(l=_s(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||a&1)&&A(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){p(n.$$.fragment,s),o=!1},d(s){s&&(y(e),y(t)),l&&l.d(s),O(n)}}}function j2(i){let e,t;return e=new fi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:W("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[W2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Z2(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=ne.noop}=e;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"className"in a&&t(2,l=a.className),"click"in a&&t(3,s=a.click)},[n,o,l,s]}class xo extends we{constructor(e){super(),ke(this,e,Z2,j2,be,{isMobile:0,disabled:1,className:2,click:3},q2)}}function G2(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:G,i:G,o:G,d(n){n&&y(e)}}}class K2 extends we{constructor(e){super(),ke(this,e,null,G2,be,{})}}function Y2(i){let e,t;return e=new K2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Q2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:W("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[Y2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function X2(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 p1 extends we{constructor(e){super(),ke(this,e,X2,Q2,be,{hidden:0,disabled:1,click:2})}}function J2(i){He(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 x2(i){let e,t,n,o;return{c(){e=w("img"),u(e,"class","icon v-1x1zctw"),sl(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,s){C(l,e,s),n||(o=Ve(e,"error",i[7]),n=!0)},p(l,s){s&1&&!sl(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function $2(i){let e;return{c(){e=w("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:G,d(t){t&&y(e)}}}function e4(i){let e;function t(l,s){return l[5]?$2:x2}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 t4(i){let e,t;return e=new fi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[e4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function i4(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:a}=e,{disabled:r=!1}=e,{testId:c}=e,{onClick:f=ne.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,a=g.ariaLabel),"disabled"in g&&t(8,r=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===ne.noop),i.$$.dirty&272&&t(6,o=n||r)},t(5,l=!1),[s,a,c,f,n,l,o,h,r]}class g1 extends we{constructor(e){super(),ke(this,e,i4,t4,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},J2)}}function n4(i){He(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 ks(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 ws(i){let e,t,n;function o(s){i[135](s)}let l={disabled:!i[9],tooltipContent:W("tooltip_previous"),$$slots:{default:[o4]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&512&&(r.disabled=!s[9]),a[0]&4608|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[0]&1073741824&&(t=!0,r.width=s[30],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function o4(i){let e,t;return e=new So({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ys(i){let e,t,n;function o(s){i[136](s)}let l={disabled:i[66],tooltipContent:W("tooltip_restart"),$$slots:{default:[l4]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16&&(r.disabled=s[66]),a[2]&16|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&1&&(t=!0,r.width=s[31],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function l4(i){let e,t;return e=new xo({props:{click:i[113],disabled:i[66]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Cs(i){let e,t,n;function o(s){i[137](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[s4]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&67108864&&(r.tooltipContent=s[57]),a[2]&32&&(r.disabled=s[67]),a[1]&2097152|a[2]&32|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2&&(t=!0,r.width=s[32],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function s4(i){let e,t;return e=new Jo({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ps(i){let e,t,n;function o(s){i[138](s)}let l={disabled:!i[8],tooltipContent:W("tooltip_next"),$$slots:{default:[a4]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&256&&(r.disabled=!s[8]),a[0]&2304|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4&&(t=!0,r.width=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function a4(i){let e,t;return e=new So({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function r4(i){let e,t,n,o,l=i[107]&&u4(i),s=i[106]&&f4(i),a=i[105]&&m4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[107]&&l.p(r,c),r[106]&&s.p(r,c),r[105]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function u4(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[65],tooltipContent:W("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&W(i[109]),$$slots:{default:[c4]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&8&&(r.disabled=s[65]),a[0]&131072|a[2]&8|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8&&(t=!0,r.width=s[34],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function c4(i){let e,t;return e=new p1({props:{disabled:i[65],click:i[17]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function f4(i){let e,t,n;function o(s){i[140](s)}let l={disabled:i[68],tooltipContent:W("tooltip_interactive_seek"),$$slots:{default:[d4]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&64&&(r.disabled=s[68]),a[0]&32768|a[2]&64|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16&&(t=!0,r.width=s[35],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function d4(i){let e,t;return e=new m1({props:{disabled:i[68],click:i[15]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function m4(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[h4]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&134217728&&(r.tooltipContent=s[58]),a[2]&128&&(r.disabled=s[69]),a[0]&65536|a[1]&524288|a[2]&128|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32&&(t=!0,r.width=s[36],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function h4(i){let e,t;return e=new h1({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ss(i){let e,t,n;function o(s){i[142](s)}let l={tooltipContent:i[59],$$slots:{default:[p4]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&268435456&&(r.tooltipContent=s[59]),a[0]&268435456|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&64&&(t=!0,r.width=s[37],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function p4(i){let e,t;return e=new r1({props:{isActiveLive:i[28],click:i[111],isMobile:!1}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ts(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 t1({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&4&&(r.showDuration=s[64]),a[0]&16|a[2]&1536&&(r.position=s[4]?s[71]:s[72]),a[0]&16|a[2]&6144&&(r.duration=s[4]?s[73]:s[74]),!t&&a[1]&128&&(t=!0,r.width=s[38],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function As(i){let e,t;return e=new d1({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function g4(i){let e,t,n=i[27]&&As(i);return{c(){n&&n.c(),e=ht()},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=As(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function b4(i){let e,t;return e=new g1({props:{iconUrl:i[163],ariaLabel:i[164]??i[167],testId:i[165],onClick:i[166]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.iconUrl=n[163]),o[1]&32768&&(l.ariaLabel=n[164]??n[167]),o[1]&32768&&(l.testId=n[165]),o[1]&32768&&(l.onClick=n[166]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Es(i){let e,t;return e=new Nt({props:{tooltipContent:i[167],width:40,$$slots:{default:[b4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vs(i){let e,t,n;function o(s){i[146](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[v4]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&64&&(r.disabled=!s[6]),a[1]&536870912&&(r.tooltipContent=s[60]),a[0]&192|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&512&&(t=!0,r.width=s[40],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function v4(i){let e,t;return e=new s1({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _4(i){let e,t;return e=new td({props:{isAudioAvailable:i[70],click:i[112]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ls(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[61],$$slots:{default:[k4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1073741824&&(r.tooltipContent=s[61]),a[0]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function k4(i){let e,t;return e=new f0({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Is(i){let e,t,n;return t=new e1({props:{supportLink:i[10],playerControlsHeight:i[56]?.clientHeight,returnFocus:i[14]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&1024&&(s.supportLink=o[10]),l[1]&33554432&&(s.playerControlsHeight=o[56]?.clientHeight),l[0]&16384&&(s.returnFocus=o[14]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ms(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[76]?void 0:W("tooltip_settings_off"),$$slots:{default:[w4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16384&&(r.tooltipContent=s[76]?void 0:W("tooltip_settings_off")),a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function w4(i){let e,t;return e=new Yo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ns(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[62],$$slots:{default:[y4]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&1&&(r.tooltipContent=s[62]),a[0]&8192|a[1]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function y4(i){let e,t;return e=new o1({props:{click:i[13],isFullscreen:i[49]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Rs(i){let e,t,n;function o(s){i[151](s)}let l={tooltipContent:i[63],$$slots:{default:[C4]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&2&&(r.tooltipContent=s[63]),a[1]&131072|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16384&&(t=!0,r.width=s[45],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function C4(i){let e,t;return e=new a1({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function P4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te;t=new f1({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let K=i[54]&&ws(i),H=i[19]&&ys(i),re=i[20]&&Cs(i),k=i[53]&&Ps(i),le=i[104]&&r4(i),ce=!i[4]&&i[47]&&Ss(i),ve=i[26]&&Ts(i);function Ne(X){i[144](X)}let Ae={className:"w-max",disabled:!i[27],tooltipContent:W("tooltip_episodes"),$$slots:{default:[g4]},$$scope:{ctx:i}};i[39]!==void 0&&(Ae.width=i[39]),v=new Nt({props:Ae}),We.push(()=>vt(v,"width",Ne));let Ce=It(i[46]),F=[];for(let X=0;X<Ce.length;X+=1)F[X]=Es(ks(i,Ce,X));const N=X=>p(F[X],1,1,()=>{F[X]=null});let Y=i[24]&&Vs(i);function ge(X){i[147](X)}let ee={$$slots:{default:[_4]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),B=new Nt({props:ee}),We.push(()=>vt(B,"width",ge));let M=i[22]&&Ls(i),Q=!i[75]&&!i[4]&&Is(i),Ie=i[23]&&Ms(i),ye=i[25]&&Ns(i),Se=i[21]&&Rs(i);return{c(){e=w("div"),D(t.$$.fragment),n=R(),o=w("div"),l=w("div"),K&&K.c(),s=R(),H&&H.c(),a=R(),re&&re.c(),r=R(),k&&k.c(),c=R(),le&&le.c(),f=R(),ce&&ce.c(),h=R(),ve&&ve.c(),g=R(),D(v.$$.fragment),L=R(),E=w("div");for(let X=0;X<F.length;X+=1)F[X].c();P=R(),Y&&Y.c(),S=R(),D(B.$$.fragment),J=R(),M&&M.c(),Z=R(),Q&&Q.c(),T=R(),Ie&&Ie.c(),$=R(),ye&&ye.c(),ie=R(),Se&&Se.c(),u(l,"class","controls-left v-st0uzk"),Nn(()=>i[145].call(l)),u(E,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),A(e,"hidden",i[1]),A(e,"controls-hidden",!i[3]),A(e,"no-smooth",i[2])},m(X,se){C(X,e,se),z(t,e,null),d(e,n),d(e,o),d(o,l),K&&K.m(l,null),d(l,s),H&&H.m(l,null),d(l,a),re&&re.m(l,null),d(l,r),k&&k.m(l,null),d(l,c),le&&le.m(l,null),d(l,f),ce&&ce.m(l,null),d(l,h),ve&&ve.m(l,null),d(l,g),z(v,l,null),_=ko(l,i[145].bind(l)),d(o,L),d(o,E);for(let _e=0;_e<F.length;_e+=1)F[_e]&&F[_e].m(E,null);d(E,P),Y&&Y.m(E,null),d(E,S),z(B,E,null),d(E,J),M&&M.m(E,null),d(E,Z),Q&&Q.m(E,null),d(E,T),Ie&&Ie.m(E,null),d(E,$),ye&&ye.m(E,null),d(E,ie),Se&&Se.m(E,null),i[152](o),i[153](e),te=!0},p(X,se){const _e={};se[1]&16777216&&(_e.isHidden=!X[55]),se[0]&16&&(_e.isAds=X[4]),se[0]&32&&(_e.canRewindLive=X[5]),se[1]&1048576&&(_e.isRewindableLive=X[51]),t.$set(_e),X[54]?K?(K.p(X,se),se[1]&8388608&&m(K,1)):(K=ws(X),K.c(),m(K,1),K.m(l,s)):K&&(he(),p(K,1,1,()=>{K=null}),pe()),X[19]?H?(H.p(X,se),se[0]&524288&&m(H,1)):(H=ys(X),H.c(),m(H,1),H.m(l,a)):H&&(he(),p(H,1,1,()=>{H=null}),pe()),X[20]?re?(re.p(X,se),se[0]&1048576&&m(re,1)):(re=Cs(X),re.c(),m(re,1),re.m(l,r)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),X[53]?k?(k.p(X,se),se[1]&4194304&&m(k,1)):(k=Ps(X),k.c(),m(k,1),k.m(l,c)):k&&(he(),p(k,1,1,()=>{k=null}),pe()),X[104]&&le.p(X,se),!X[4]&&X[47]?ce?(ce.p(X,se),se[0]&16|se[1]&65536&&m(ce,1)):(ce=Ss(X),ce.c(),m(ce,1),ce.m(l,h)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),X[26]?ve?(ve.p(X,se),se[0]&67108864&&m(ve,1)):(ve=Ts(X),ve.c(),m(ve,1),ve.m(l,g)):ve&&(he(),p(ve,1,1,()=>{ve=null}),pe());const ae={};if(se[0]&134217728&&(ae.disabled=!X[27]),se[0]&134217728|se[2]&5120|se[5]&32768&&(ae.$$scope={dirty:se,ctx:X}),!b&&se[1]&256&&(b=!0,ae.width=X[39],bt(()=>b=!1)),v.$set(ae),se[1]&32768){Ce=It(X[46]);let je;for(je=0;je<Ce.length;je+=1){const Je=ks(X,Ce,je);F[je]?(F[je].p(Je,se),m(F[je],1)):(F[je]=Es(Je),F[je].c(),m(F[je],1),F[je].m(E,P))}for(he(),je=Ce.length;je<F.length;je+=1)N(je);pe()}X[24]?Y?(Y.p(X,se),se[0]&16777216&&m(Y,1)):(Y=Vs(X),Y.c(),m(Y,1),Y.m(E,S)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe());const qe={};se[2]&256|se[5]&32768&&(qe.$$scope={dirty:se,ctx:X}),!j&&se[1]&1024&&(j=!0,qe.width=X[41],bt(()=>j=!1)),B.$set(qe),X[22]?M?(M.p(X,se),se[0]&4194304&&m(M,1)):(M=Ls(X),M.c(),m(M,1),M.m(E,Z)):M&&(he(),p(M,1,1,()=>{M=null}),pe()),!X[75]&&!X[4]?Q?(Q.p(X,se),se[0]&16|se[2]&8192&&m(Q,1)):(Q=Is(X),Q.c(),m(Q,1),Q.m(E,T)):Q&&(he(),p(Q,1,1,()=>{Q=null}),pe()),X[23]?Ie?(Ie.p(X,se),se[0]&8388608&&m(Ie,1)):(Ie=Ms(X),Ie.c(),m(Ie,1),Ie.m(E,$)):Ie&&(he(),p(Ie,1,1,()=>{Ie=null}),pe()),X[25]?ye?(ye.p(X,se),se[0]&33554432&&m(ye,1)):(ye=Ns(X),ye.c(),m(ye,1),ye.m(E,ie)):ye&&(he(),p(ye,1,1,()=>{ye=null}),pe()),X[21]?Se?(Se.p(X,se),se[0]&2097152&&m(Se,1)):(Se=Rs(X),Se.c(),m(Se,1),Se.m(E,null)):Se&&(he(),p(Se,1,1,()=>{Se=null}),pe()),(!te||se[0]&2)&&A(e,"hidden",X[1]),(!te||se[0]&8)&&A(e,"controls-hidden",!X[3]),(!te||se[0]&4)&&A(e,"no-smooth",X[2])},i(X){if(!te){m(t.$$.fragment,X),m(K),m(H),m(re),m(k),m(le),m(ce),m(ve),m(v.$$.fragment,X);for(let se=0;se<Ce.length;se+=1)m(F[se]);m(Y),m(B.$$.fragment,X),m(M),m(Q),m(Ie),m(ye),m(Se),te=!0}},o(X){p(t.$$.fragment,X),p(K),p(H),p(re),p(k),p(le),p(ce),p(ve),p(v.$$.fragment,X),F=F.filter(Boolean);for(let se=0;se<F.length;se+=1)p(F[se]);p(Y),p(B.$$.fragment,X),p(M),p(Q),p(Ie),p(ye),p(Se),te=!1},d(X){X&&y(e),O(t),K&&K.d(),H&&H.d(),re&&re.d(),k&&k.d(),le&&le.d(),ce&&ce.d(),ve&&ve.d(),O(v),_(),$i(F,X),Y&&Y.d(),O(B),M&&M.d(),Q&&Q.d(),Ie&&Ie.d(),ye&&ye.d(),Se&&Se.d(),i[152](null),i[153](null)}}}function S4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,{bottomHidden:ce}=e,{bottomNoSmooth:ve}=e,{showControls:Ne}=e,{controlsElementRef:Ae=void 0}=e,{isAds:Ce=!1}=e,{canRewindLive:F}=e,{logoClickable:N}=e,{logoHidden:Y}=e,{videoLogoUrl:ge}=e,{showNextPrevButtons:ee}=e,{nextButtonActive:M}=e,{prevButtonActive:Q}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:ye}=e,{customFullscreenSupported:Se=!0}=e,{playNextVideo:X}=e,{playPrevVideo:se}=e,{repeatPlaylist:_e}=e,{toggleFullscreen:ae}=e,{returnFocus:qe}=e,{seekToInteractive:je}=e,{toggleGraph:Je}=e,{playPrevChapter:et}=e;const Be=_t(),rt=Gi(),Tt=Be.actions.internal.toggleMuted,Le=Be.actions.internal.togglePlay,Re=Be.actions.internal.pause,Kt=Be.actions.internal.toggleSubtitle,me=Be.callbacks?.onAudioDoesNotExistHint,ut=Be.callbacks?.onAudioDisabledHint,Qe=Be.state.duration$;q(i,Qe,oe=>t(74,re=oe));const ot=Be.state.positionWithScrubbing$;q(i,ot,oe=>t(72,K=oe));const Ze=Be.state.playbackState$;q(i,Ze,oe=>t(125,L=oe));const $e=Be.state.chromecastConnected$;q(i,$e,oe=>t(75,k=oe));const lt=Be.state.isAudioAvailable$;q(i,lt,oe=>t(70,c=oe));const ct=Be.state.isAudioDisabled,wt=Be.state.isEnded$;q(i,wt,oe=>t(131,Z=oe));const tt=Be.state.isLive$;q(i,tt,oe=>t(47,g=oe));const Rt=Be.state.isActiveLive$;q(i,Rt,oe=>t(126,E=oe));const yt=Be.state.isRewindableLive$;q(i,yt,oe=>t(51,P=oe));const it=Be.ui.isPictureInPictureActive$;q(i,it,oe=>t(129,j=oe));const Ht=Be.ui.pictureInPictureType$;q(i,Ht,oe=>t(128,B=oe));const dt=Be.ui.settingsMenuVisible;q(i,dt,oe=>t(76,le=oe));const Ge=Be.ui.controls,At=Be.actions.internal.getVideoEpisodes(),st=Be.state.chromecastState$;q(i,st,oe=>t(48,v=oe));const $t=Be.state.availableSubtitlesList$;q(i,$t,oe=>t(130,J=oe));const de=Be.state.currentSubtitle$;q(i,de,oe=>t(132,T=oe));const Pe=Ge.disabledControls$;q(i,Pe,oe=>t(134,ie=oe));const Me=Be.ads.duration;q(i,Me,oe=>t(73,H=oe));const St=Be.ads.position;q(i,St,oe=>t(71,te=oe));const Li=Be.ads.playbackState;q(i,Li,oe=>t(133,$=oe));const Yt=Be.ui.isFullscreen;q(i,Yt,oe=>t(49,b=oe));const vi=Be.ui.playerSize;q(i,vi,oe=>t(127,S=oe));const Ii=Be.ui.currentGridType$;q(i,Ii,oe=>t(124,h=oe));const Lt=Be.ui.additionalButtons$;q(i,Lt,oe=>t(46,f=oe));const Te=Be.actions.internal.replayInteractive,Bt=Be.state.isInteractive,Mi=Be.state.isInteractiveGraphEnabled,ei=Be.state.isSeekToInteractiveEnable,_i=Be.state.isPlayPrevChapterEnabled,ki=Be.state.graphIsOpened$;q(i,ki,oe=>t(50,_=oe));const wi=Be.state.playPrevChapterDisabledTooltip,ti=()=>Be.actions.internal.toggleChromecast(),Qi=()=>Be.actions.internal.switchToActiveLive();let yi,Ci,Pi,Ni,di,Ui,ii,ni,Si,Ft,Ct,Qt,mi,Xi,oi,Ti,Di,qi,li,Ri,Ai,Bi,si,hi,ai,zt,Ei,Ut,Ot,Xt,pi,ri,zi,Jt,Vi,Oi,Hi,Fi,xt,Wi,fe,Pt,ui,en,Ki;function ln(oe,rn){let at=$n;const Dt=(Ji,un,xn)=>{let U=un?Ji+un+(Ji?ru:0):Ji;return xn.set({positionStartX:Ji,positionEndX:U,isDisplayed:rn&&Ji!==U}),U};at=Dt(at,oe.prevButtonWidth,Ge.prevButton),at=Dt(at,oe.replayButtonWidth,Ge.replayButton),at=Dt(at,oe.playButtonWidth,Ge.playButton),at=Dt(at,oe.nextButtonWidth,Ge.nextButton),at=Dt(at,oe.playPrevChapterWidth,Ge.playPrevChapterButton),at=Dt(at,oe.seekToInteractiveWidth,Ge.seekToInteractiveButton),at=Dt(at,oe.interactiveGraphWidth,Ge.interactiveGraphButton),at=Dt(at,oe.liveButtonWidth,Ge.liveButton),at=Dt(at,oe.timeWidth,Ge.time),at=Dt(at,oe.episodesWidth,Ge.episodes),f.forEach((Ji,un)=>{at=Dt(at,oe.additionalButtonWidths[un],Ge.additionalButtons[un])}),at=Dt(at,oe.vkLogoWidth,Ge.vkLogo),at=Dt(at,oe.volumeWidth,Ge.volume),at=Dt(at,oe.subtitlesWidth,Ge.subtitles),at=Dt(at,oe.settingsWidth,Ge.settings),at=Dt(at,oe.fullscreenWidth,Ge.fullscreen),Dt(at,oe.chromecastWidth,Ge.chromecast)}function qt(){ct?ut?.():c?Tt():me?.()}const sn=Bt?Te:Ie?Le:_e;function Pn(oe){zt=oe,t(30,zt)}function vn(oe){Ei=oe,t(31,Ei)}function _n(oe){Ut=oe,t(32,Ut)}function an(oe){Ot=oe,t(33,Ot)}function ji(oe){Xt=oe,t(34,Xt)}function Sn(oe){pi=oe,t(35,pi)}function Tn(oe){ri=oe,t(36,ri)}function x(oe){zi=oe,t(37,zi)}function kt(oe){Jt=oe,t(38,Jt)}function An(oe){Vi=oe,t(39,Vi)}function En(){ai=this.clientWidth,t(29,ai)}function Vn(oe){Oi=oe,t(40,Oi)}function Gn(oe){Hi=oe,t(41,Hi)}function Kn(oe){Fi=oe,t(42,Fi)}function Yn(oe){xt=oe,t(43,xt)}function Qn(oe){Wi=oe,t(44,Wi)}function Xn(oe){fe=oe,t(45,fe)}function Rn(oe){We[oe?"unshift":"push"](()=>{Ti=oe,t(56,Ti)})}function Jn(oe){We[oe?"unshift":"push"](()=>{Ae=oe,t(0,Ae)})}return i.$$set=oe=>{"bottomHidden"in oe&&t(1,ce=oe.bottomHidden),"bottomNoSmooth"in oe&&t(2,ve=oe.bottomNoSmooth),"showControls"in oe&&t(3,Ne=oe.showControls),"controlsElementRef"in oe&&t(0,Ae=oe.controlsElementRef),"isAds"in oe&&t(4,Ce=oe.isAds),"canRewindLive"in oe&&t(5,F=oe.canRewindLive),"logoClickable"in oe&&t(6,N=oe.logoClickable),"logoHidden"in oe&&t(114,Y=oe.logoHidden),"videoLogoUrl"in oe&&t(7,ge=oe.videoLogoUrl),"showNextPrevButtons"in oe&&t(115,ee=oe.showNextPrevButtons),"nextButtonActive"in oe&&t(8,M=oe.nextButtonActive),"prevButtonActive"in oe&&t(9,Q=oe.prevButtonActive),"isOneVideoPlaylist"in oe&&t(116,Ie=oe.isOneVideoPlaylist),"supportLink"in oe&&t(10,ye=oe.supportLink),"customFullscreenSupported"in oe&&t(117,Se=oe.customFullscreenSupported),"playNextVideo"in oe&&t(11,X=oe.playNextVideo),"playPrevVideo"in oe&&t(12,se=oe.playPrevVideo),"repeatPlaylist"in oe&&t(118,_e=oe.repeatPlaylist),"toggleFullscreen"in oe&&t(13,ae=oe.toggleFullscreen),"returnFocus"in oe&&t(14,qe=oe.returnFocus),"seekToInteractive"in oe&&t(15,je=oe.seekToInteractive),"toggleGraph"in oe&&t(16,Je=oe.toggleGraph),"playPrevChapter"in oe&&t(17,et=oe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&1024&&t(123,n=ie.has(mt.EPISODE_BUTTON)),i.$$.dirty[4]&1024&&t(69,o=ie.has(mt.GRAPH_BUTTON)),i.$$.dirty[4]&1024&&t(68,l=ie.has(mt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&1024&&t(67,s=ie.has(mt.PLAY_BUTTON)),i.$$.dirty[4]&1024&&t(66,a=ie.has(mt.REPLAY_BUTTON)),i.$$.dirty[4]&1024&&t(65,r=ie.has(mt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&514&&t(52,yi=Ce?$===Mt.PLAYING:L===nt.PlaybackState.PLAYING),i.$$.dirty[4]&256&&t(18,Ci=T.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(19,Pi=Z&&!Ce||Bt),i.$$.dirty[0]&16|i.$$.dirty[4]&128&&t(20,Ni=!Z||Bt||Ce),i.$$.dirty[4]&1&&t(119,di=xi(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(53,Ui=ee&&xi(h,exports.GridTypes.M)&&!Ce&&M),i.$$.dirty[0]&528|i.$$.dirty[3]&4194304|i.$$.dirty[4]&1&&t(54,ii=ee&&xi(h,exports.GridTypes.M)&&!Ce&&Q),i.$$.dirty[1]&131072|i.$$.dirty[4]&49&&t(21,ni=v!==nt.ChromecastState.NOT_AVAILABLE&&!(j&&B===dn.DocumentPictureInPicture)&&xi(h,exports.GridTypes.M)&&!Bt),i.$$.dirty[4]&65&&t(22,Si=J.length>0&&xi(h,exports.GridTypes.M)),i.$$.dirty[4]&1&&t(23,Ft=xi(h,exports.GridTypes.S)),i.$$.dirty[3]&2097152&&t(24,Ct=!Y),i.$$.dirty[3]&18874368|i.$$.dirty[4]&49&&t(25,Qt=rt.features.fullscreen&&(Y||xi(h,exports.GridTypes.S))&&!(j&&B===dn.DocumentPictureInPicture)&&(Bt?Se:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,mi=(!g||Ce)&&!(rt.features.interactiveHideTime&&Bt)),i.$$.dirty[4]&8&&t(55,Xi=S.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&1140850688&&t(27,oi=!Ce&&!g&&!!At?.length&&di&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&4&&t(28,Di=!P||E),i.$$.dirty[4]&2&&t(57,qi=L===nt.PlaybackState.PLAYING?W("tooltip_pause"):W("tooltip_play")),i.$$.dirty[1]&524288&&t(58,li=W(_?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456&&t(59,Ri=Di?"":W("tooltip_live")),i.$$.dirty[0]&262144&&t(61,Bi=W(Ci?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,si=W(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,hi=v===nt.ChromecastState.CONNECTED?W("tooltip_chromecast_on"):W("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(120,Pt={prevButtonWidth:zt??0,replayButtonWidth:Pi?Ei:0,playButtonWidth:Ni?Ut:0,nextButtonWidth:Ot??0,playPrevChapterWidth:_i?Xt:0,seekToInteractiveWidth:Bt?pi:0,interactiveGraphWidth:Mi?ri??0:0,liveButtonWidth:g&&zi?zi:0,timeWidth:mi?Jt:0,episodesWidth:Vi,vkLogoWidth:Ct?Oi:0,volumeWidth:Hi,subtitlesWidth:Si?Fi:0,settingsWidth:Ft?xt:0,fullscreenWidth:Qt?Wi:0,chromecastWidth:ni?fe:0,additionalButtonWidths:f.length?f.reduce(oe=>[...oe,40],[]):[]}),i.$$.dirty[3]&402653184&&(!ui||ui<Pt.timeWidth)&&t(121,ui=Pt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&402653184|i.$$.dirty[4]&1){let oe=0;oi&&(xi(h,exports.GridTypes.XL)?oe=Pt.timeWidth:oe=uu);const rn=Pt.prevButtonWidth+Pt.playButtonWidth+Pt.nextButtonWidth+Pt.seekToInteractiveWidth+Pt.interactiveGraphWidth+Pt.liveButtonWidth+ui+oe;t(122,en=mi&&ai>=rn)}i.$$.dirty[3]&536870912|i.$$.dirty[4]&1&&t(64,Ki=en&&xi(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&134217728&&ln(Pt,Ne)},t(60,Ai=rt.logoType===Wn.VK_VIDEO?W("tooltip_vk_video_logo"):W("tooltip_vk_logo")),[Ae,ce,ve,Ne,Ce,F,N,ge,M,Q,ye,X,se,ae,qe,je,Je,et,Ci,Pi,Ni,ni,Si,Ft,Ct,Qt,mi,oi,Di,ai,zt,Ei,Ut,Ot,Xt,pi,ri,zi,Jt,Vi,Oi,Hi,Fi,xt,Wi,fe,f,g,v,b,_,P,yi,Ui,ii,Xi,Ti,qi,li,Ri,Ai,Bi,si,hi,Ki,r,a,s,l,o,c,te,K,H,re,k,le,Le,Re,Kt,Qe,ot,Ze,$e,lt,wt,tt,Rt,yt,it,Ht,dt,At,st,$t,de,Pe,Me,St,Li,Yt,vi,Ii,Lt,Bt,Mi,ei,_i,ki,wi,ti,Qi,qt,sn,Y,ee,Ie,Se,_e,di,Pt,ui,en,n,h,L,E,S,B,j,J,Z,T,$,ie,Pn,vn,_n,an,ji,Sn,Tn,x,kt,An,En,Vn,Gn,Kn,Yn,Qn,Xn,Rn,Jn]}class T4 extends we{constructor(e){super(),ke(this,e,S4,P4,be,{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},n4,[-1,-1,-1,-1,-1,-1])}}function A4(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:G,i:G,o:G,d(l){l&&y(e)}}}class E4 extends we{constructor(e){super(),ke(this,e,null,A4,be,{})}}function V4(i){He(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 Bs(i){let e;return{c(){e=w("span"),e.textContent=`${W("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:G,d(t){t&&y(e)}}}function L4(i){let e,t,n,o;var l=i[3];function s(r){return{}}l&&(t=on(l,s()));let a=i[0]&&Bs();return{c(){e=w("div"),t&&D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),A(e,"expanded",i[0])},m(r,c){C(r,e,c),t&&z(t,e,null),d(e,n),a&&a.m(e,null),o=!0},p(r,c){if(c&8&&l!==(l=r[3])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}l?(t=on(l,s()),D(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}r[0]?a?a.p(r,c):(a=Bs(),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!o||c&1)&&A(e,"expanded",r[0])},i(r){o||(t&&m(t.$$.fragment,r),o=!0)},o(r){t&&p(t.$$.fragment,r),o=!1},d(r){r&&y(e),t&&O(t),a&&a.d()}}}function I4(i){let e,t;return e=new fi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[L4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function M4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=ne.noop}=e,s,a;return i.$$set=r=>{"muted"in r&&t(4,n=r.muted),"expanded"in r&&t(0,o=r.expanded),"click"in r&&t(1,l=r.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,s=W(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,a=o?Po:E4)},[o,l,s,a,n]}class b1 extends we{constructor(e){super(),ke(this,e,M4,I4,be,{muted:4,expanded:0,click:1},V4)}}function N4(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"),A(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"),A(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&&A(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&A(o,"hidden",l[0])},i:G,o:G,d(l){l&&y(e)}}}function R4(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 B4 extends we{constructor(e){super(),ke(this,e,R4,N4,be,{isActive:0})}}function z4(i){let e,t;return e=new B4({props:{isActive:i[0]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function O4(i){let e,t;return e=new fi({props:{testId:"btn-pip",ariaLabel:W("menu_pip"),click:i[1],$$slots:{default:[z4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function D4(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=ne.noop}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class H4 extends we{constructor(e){super(),ke(this,e,D4,O4,be,{isPictureInPictureActive:0,click:1})}}function F4(i){He(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 zs(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 Os(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P=(!i[53]||i[55])&&Ds(i),S=It(i[58]),B=[];for(let k=0;k<S.length;k+=1)B[k]=Hs(zs(i,S,k));const j=k=>p(B[k],1,1,()=>{B[k]=null});let J=i[32]&&Fs(i),Z=i[33]&&Us(i),T=i[59]&&qs(),$=i[35]&&Ws(i),ie=i[8]&&js(i),te=i[30]&&Zs(i),K=i[29]&&Gs(i),H=i[8]&&Ks(i),re=i[96]&&!i[25]&&Ys(i);return{c(){e=w("div"),t=R(),n=w("div"),P&&P.c(),o=R(),l=w("div");for(let k=0;k<B.length;k+=1)B[k].c();s=R(),J&&J.c(),a=R(),Z&&Z.c(),r=R(),T&&T.c(),c=R(),$&&$.c(),f=R(),h=w("div"),ie&&ie.c(),g=R(),te&&te.c(),v=R(),K&&K.c(),b=R(),H&&H.c(),_=R(),re&&re.c(),L=ht(),u(e,"class","overlay-mobile v-1tcstu3"),A(e,"hidden",!i[38]),u(n,"class","wrapper-top-left v-1tcstu3"),A(n,"hidden",!i[3]),A(n,"fullscreen",i[54]),u(l,"class","wrapper-top-right v-1tcstu3"),A(l,"hidden",!i[3]&&!i[23]),A(l,"fullscreen",i[54]),u(h,"class","wrapper-middle v-1tcstu3"),A(h,"hidden",!i[3]||i[25])},m(k,le){C(k,e,le),C(k,t,le),C(k,n,le),P&&P.m(n,null),C(k,o,le),C(k,l,le);for(let ce=0;ce<B.length;ce+=1)B[ce]&&B[ce].m(l,null);d(l,s),J&&J.m(l,null),d(l,a),Z&&Z.m(l,null),d(l,r),T&&T.m(l,null),d(l,c),$&&$.m(l,null),C(k,f,le),C(k,h,le),ie&&ie.m(h,null),d(h,g),te&&te.m(h,null),d(h,v),K&&K.m(h,null),d(h,b),H&&H.m(h,null),C(k,_,le),re&&re.m(k,le),C(k,L,le),E=!0},p(k,le){if((!E||le[1]&128)&&A(e,"hidden",!k[38]),!k[53]||k[55]?P?(P.p(k,le),le[1]&20971520&&m(P,1)):(P=Ds(k),P.c(),m(P,1),P.m(n,null)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),(!E||le[0]&8)&&A(n,"hidden",!k[3]),(!E||le[1]&8388608)&&A(n,"fullscreen",k[54]),le[1]&134217728){S=It(k[58]);let ce;for(ce=0;ce<S.length;ce+=1){const ve=zs(k,S,ce);B[ce]?(B[ce].p(ve,le),m(B[ce],1)):(B[ce]=Hs(ve),B[ce].c(),m(B[ce],1),B[ce].m(l,s))}for(he(),ce=S.length;ce<B.length;ce+=1)j(ce);pe()}k[32]?J?(J.p(k,le),le[1]&2&&m(J,1)):(J=Fs(k),J.c(),m(J,1),J.m(l,a)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),k[33]?Z?(Z.p(k,le),le[1]&4&&m(Z,1)):(Z=Us(k),Z.c(),m(Z,1),Z.m(l,r)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),k[59]?T?le[1]&268435456&&m(T,1):(T=qs(),T.c(),m(T,1),T.m(l,c)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),k[35]?$?($.p(k,le),le[1]&16&&m($,1)):($=Ws(k),$.c(),m($,1),$.m(l,null)):$&&(he(),p($,1,1,()=>{$=null}),pe()),(!E||le[0]&8388616)&&A(l,"hidden",!k[3]&&!k[23]),(!E||le[1]&8388608)&&A(l,"fullscreen",k[54]),k[8]?ie?(ie.p(k,le),le[0]&256&&m(ie,1)):(ie=js(k),ie.c(),m(ie,1),ie.m(h,g)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),k[30]?te?(te.p(k,le),le[0]&1073741824&&m(te,1)):(te=Zs(k),te.c(),m(te,1),te.m(h,v)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),k[29]?K?(K.p(k,le),le[0]&536870912&&m(K,1)):(K=Gs(k),K.c(),m(K,1),K.m(h,b)):K&&(he(),p(K,1,1,()=>{K=null}),pe()),k[8]?H?(H.p(k,le),le[0]&256&&m(H,1)):(H=Ks(k),H.c(),m(H,1),H.m(h,null)):H&&(he(),p(H,1,1,()=>{H=null}),pe()),(!E||le[0]&33554440)&&A(h,"hidden",!k[3]||k[25]),k[96]&&!k[25]?re?(re.p(k,le),le[0]&33554432&&m(re,1)):(re=Ys(k),re.c(),m(re,1),re.m(L.parentNode,L)):re&&(he(),p(re,1,1,()=>{re=null}),pe())},i(k){if(!E){m(P);for(let le=0;le<S.length;le+=1)m(B[le]);m(J),m(Z),m(T),m($),m(ie),m(te),m(K),m(H),m(re),E=!0}},o(k){p(P),B=B.filter(Boolean);for(let le=0;le<B.length;le+=1)p(B[le]);p(J),p(Z),p(T),p($),p(ie),p(te),p(K),p(H),p(re),E=!1},d(k){k&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(L)),P&&P.d(),$i(B,k),J&&J.d(),Z&&Z.d(),T&&T.d(),$&&$.d(),ie&&ie.d(),te&&te.d(),K&&K.d(),H&&H.d(),re&&re.d(k)}}}function Ds(i){let e,t;return e=new b1({props:{muted:i[56],expanded:i[53]&&!i[72]&&i[57],click:i[104]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Hs(i){let e,t;return e=new g1({props:{iconUrl:i[136],ariaLabel:i[137]??i[140],testId:i[138],onClick:i[139]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&134217728&&(l.iconUrl=n[136]),o[1]&134217728&&(l.ariaLabel=n[137]??n[140]),o[1]&134217728&&(l.testId=n[138]),o[1]&134217728&&(l.onClick=n[139]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fs(i){let e,t;return e=new a1({props:{isMobile:!0,click:i[101],state:i[24]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Us(i){let e,t;return e=new H4({props:{click:i[103],isPictureInPictureActive:i[22]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qs(i){let e,t;return e=new Yo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ws(i){let e,t;return e=new s1({props:{click:i[66],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function js(i){let e,t;return e=new So({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zs(i){let e,t;return e=new Jo({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:i[27]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gs(i){let e,t;return e=new xo({props:{disabled:i[49],click:i[105],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ks(i){let e,t;return e=new So({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ys(i){let e,t,n,o,l=i[99]&&U4(i),s=i[97]&&q4(i),a=i[98]&&W4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[99]&&l.p(r,c),r[97]&&s.p(r,c),r[98]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function U4(i){let e,t,n;return t=new p1({props:{hidden:!i[3],disabled:i[48],click:i[18]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),A(e,"fullscreen",i[54]),A(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)&&A(e,"fullscreen",o[54]),(!n||l[0]&8)&&A(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function q4(i){let e,t,n;return t=new h1({props:{hidden:!i[3]&&!i[60],disabled:i[52],click:i[17],graphIsOpened:i[60]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class",W1(i[99]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),A(e,"fullscreen",i[54]),A(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)&&A(e,"fullscreen",o[54]),(!n||l[0]&8|l[1]&536870912)&&A(e,"hidden",!o[3]&&!o[60])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function W4(i){let e,t,n;return t=new m1({props:{hidden:!i[3],disabled:i[51],click:i[16]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),A(e,"fullscreen",i[54]),A(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)&&A(e,"fullscreen",o[54]),(!n||l[0]&8)&&A(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Qs(i){let e,t,n,o,l,s=i[55]&&Xs(i),a=i[28]&&Js(i);return o=new c1({props:{position:i[61],duration:i[62]}}),{c(){s&&s.c(),e=R(),a&&a.c(),t=R(),n=w("div"),D(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),A(n,"fullscreen",i[54])},m(r,c){s&&s.m(r,c),C(r,e,c),a&&a.m(r,c),C(r,t,c),C(r,n,c),z(o,n,null),l=!0},p(r,c){r[55]?s?(s.p(r,c),c[1]&16777216&&m(s,1)):(s=Xs(r),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),r[28]?a?(a.p(r,c),c[0]&268435456&&m(a,1)):(a=Js(r),a.c(),m(a,1),a.m(t.parentNode,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe());const f={};c[1]&1073741824&&(f.position=r[61]),c[2]&1&&(f.duration=r[62]),o.$set(f),(!l||c[1]&8388608)&&A(n,"fullscreen",r[54])},i(r){l||(m(s),m(a),m(o.$$.fragment,r),l=!0)},o(r){p(s),p(a),p(o.$$.fragment,r),l=!1},d(r){r&&(y(e),y(t),y(n)),s&&s.d(r),a&&a.d(r),O(o)}}}function Xs(i){let e,t,n;return t=new b1({props:{muted:i[56],expanded:!1,click:i[104]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),A(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)&&A(e,"fullscreen",o[54])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Js(i){let e,t,n;return t=new Jo({props:{disabled:i[50],click:i[65],isMobile:!0,isPlaying:!i[28]}}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function j4(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[49],$$slots:{default:[Z4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&262144&&(r.disabled=s[49]),a[1]&262144|a[4]&524288&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Z4(i){let e,t;return e=new xo({props:{disabled:i[49],click:i[95]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function xs(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[G4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1024|a[4]&524288&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function G4(i){let e,t;return e=new r1({props:{isActiveLive:i[41],click:i[102],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $s(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 t1({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1&&(r.showDuration=s[31]),a[0]&16|a[1]&1073741824|a[2]&2&&(r.position=s[4]?s[61]:s[63]),a[0]&16|a[2]&5&&(r.duration=s[4]?s[62]:s[64]),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function ea(i){let e,t,n,o;return n=new d1({props:{position:i[63],duration:i[64],timeCodes:i[85]}}),{c(){e=w("div"),e.textContent="\xB7",t=R(),D(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 a={};s[2]&2&&(a.position=l[63]),s[2]&4&&(a.duration=l[64]),n.$set(a)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),O(n,l)}}}function K4(i){let e,t,n=i[39]&&ea(i);return{c(){n&&n.c(),e=ht()},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=ea(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function ta(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[Y4]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[4]&524288&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32768&&(t=!0,r.width=s[46],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Y4(i){let e,t;return e=new Yo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ia(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[Q4]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Nt({props:l}),We.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&16384|a[1]&8388608|a[4]&524288&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&65536&&(t=!0,r.width=s[47],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Q4(i){let e,t;return e=new o1({props:{click:i[14],isFullscreen:i[54]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function na(i){let e,t,n;return t=new e1({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=w("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function X4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P=!i[4]&&Os(i),S=i[4]&&i[26]!==Mt.INACTIVE&&Qs(i),B=i[96]&&j4(i),j=!i[4]&&i[20]&&xs(i),J=i[37]&&$s(i);function Z(K){i[123](K)}let T={className:"w-max",disabled:!i[39],$$slots:{default:[K4]},$$scope:{ctx:i}};i[45]!==void 0&&(T.width=i[45]),c=new Nt({props:T}),We.push(()=>vt(c,"width",Z));let $=i[34]&&ta(i),ie=i[36]&&ia(i);b=new f1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[19]}});let te=i[21]&&na(i);return{c(){P&&P.c(),e=R(),S&&S.c(),t=R(),n=w("div"),o=w("div"),l=w("div"),B&&B.c(),s=R(),j&&j.c(),a=R(),J&&J.c(),r=R(),D(c.$$.fragment),h=R(),$&&$.c(),g=R(),ie&&ie.c(),v=R(),D(b.$$.fragment),_=R(),te&&te.c(),L=ht(),u(l,"class","controls v-1tcstu3"),A(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),A(o,"fullscreen",i[54]),u(n,"class","wrapper-bottom v-1tcstu3"),A(n,"hidden",i[1]),A(n,"controls-hidden",!i[3]),A(n,"no-smooth",i[2]),A(n,"mobile",!0)},m(K,H){P&&P.m(K,H),C(K,e,H),S&&S.m(K,H),C(K,t,H),C(K,n,H),d(n,o),d(o,l),B&&B.m(l,null),d(l,s),j&&j.m(l,null),d(l,a),J&&J.m(l,null),d(l,r),z(c,l,null),d(l,h),$&&$.m(l,null),d(l,g),ie&&ie.m(l,null),i[126](l),d(o,v),z(b,o,null),i[127](n),C(K,_,H),te&&te.m(K,H),C(K,L,H),E=!0},p(K,H){K[4]?P&&(he(),p(P,1,1,()=>{P=null}),pe()):P?(P.p(K,H),H[0]&16&&m(P,1)):(P=Os(K),P.c(),m(P,1),P.m(e.parentNode,e)),K[4]&&K[26]!==Mt.INACTIVE?S?(S.p(K,H),H[0]&67108880&&m(S,1)):(S=Qs(K),S.c(),m(S,1),S.m(t.parentNode,t)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),K[96]&&B.p(K,H),!K[4]&&K[20]?j?(j.p(K,H),H[0]&1048592&&m(j,1)):(j=xs(K),j.c(),m(j,1),j.m(l,a)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),K[37]?J?(J.p(K,H),H[1]&64&&m(J,1)):(J=$s(K),J.c(),m(J,1),J.m(l,r)):J&&(he(),p(J,1,1,()=>{J=null}),pe());const re={};H[1]&256&&(re.disabled=!K[39]),H[1]&256|H[2]&6|H[4]&524288&&(re.$$scope={dirty:H,ctx:K}),!f&&H[1]&16384&&(f=!0,re.width=K[45],bt(()=>f=!1)),c.$set(re),K[34]?$?($.p(K,H),H[1]&8&&m($,1)):($=ta(K),$.c(),m($,1),$.m(l,g)):$&&(he(),p($,1,1,()=>{$=null}),pe()),K[36]?ie?(ie.p(K,H),H[1]&32&&m(ie,1)):(ie=ia(K),ie.c(),m(ie,1),ie.m(l,null)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe());const k={};H[0]&16&&(k.isAds=K[4]),H[0]&32&&(k.canRewindLive=K[5]),H[0]&524288&&(k.isRewindableLive=K[19]),b.$set(k),(!E||H[1]&8388608)&&A(o,"fullscreen",K[54]),(!E||H[0]&2)&&A(n,"hidden",K[1]),(!E||H[0]&8)&&A(n,"controls-hidden",!K[3]),(!E||H[0]&4)&&A(n,"no-smooth",K[2]),K[21]?te?(te.p(K,H),H[0]&2097152&&m(te,1)):(te=na(K),te.c(),m(te,1),te.m(L.parentNode,L)):te&&(he(),p(te,1,1,()=>{te=null}),pe())},i(K){E||(m(P),m(S),m(B),m(j),m(J),m(c.$$.fragment,K),m($),m(ie),m(b.$$.fragment,K),m(te),E=!0)},o(K){p(P),p(S),p(B),p(j),p(J),p(c.$$.fragment,K),p($),p(ie),p(b.$$.fragment,K),p(te),E=!1},d(K){K&&(y(e),y(t),y(n),y(_),y(L)),P&&P.d(K),S&&S.d(K),B&&B.d(),j&&j.d(),J&&J.d(),O(c),$&&$.d(),ie&&ie.d(),i[126](null),O(b),i[127](null),te&&te.d(K)}}}function J4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ne,{bottomHidden:Ae}=e,{bottomNoSmooth:Ce}=e,{showControls:F}=e,{controlsElementRef:N=void 0}=e,{isAds:Y=!1}=e,{canRewindLive:ge}=e,{logoClickable:ee}=e,{logoHidden:M}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:ye}=e,{prevButtonActive:Se}=e,{isOneVideoPlaylist:X=!1}=e,{supportLink:se}=e,{customFullscreenSupported:_e=!0}=e,{playNextVideo:ae}=e,{playPrevVideo:qe}=e,{repeatPlaylist:je}=e,{toggleFullscreen:Je}=e,{returnFocus:et}=e,{seekToInteractive:Be}=e,{toggleGraph:rt}=e,{playPrevChapter:Tt}=e;const Le=_t(),Re=Gi(),Kt=Le.actions.internal.toggleMuted,me=Le.actions.internal.togglePlay,ut=Le.actions.internal.pause,Qe=Le.callbacks?.onAudioDoesNotExistHint,ot=Le.callbacks?.onAudioDisabledHint,Ze=Le.playerPhase;q(i,Ze,fe=>t(116,S=fe));const $e=Le.state.duration$;q(i,$e,fe=>t(64,Ne=fe));const lt=Le.state.positionWithScrubbing$;q(i,lt,fe=>t(63,ve=fe));const ct=Le.state.playbackState$;q(i,ct,fe=>t(118,Z=fe));const wt=Le.state.isAudioAvailable$;q(i,wt,fe=>t(53,c=fe));const tt=Le.state.isAudioDisabled,Rt=Le.state.isEnded$;q(i,Rt,fe=>t(117,j=fe));const yt=Le.state.isLive$;q(i,yt,fe=>t(20,g=fe));const it=Le.state.muted$;q(i,it,fe=>t(56,te=fe));const Ht=Le.state.isActiveLive$;q(i,Ht,fe=>t(113,f=fe));const dt=Le.state.isRewindableLive$;q(i,dt,fe=>t(19,h=fe));const Ge=Le.ui.scrubbingInProgress;q(i,Ge,fe=>t(25,B=fe));const At=Le.ui.mobileNotReportControlHidden$;q(i,At,fe=>t(23,E=fe));const st=Le.ui.isPictureInPictureActive$;q(i,st,fe=>t(22,L=fe));const $t=Le.ui.pictureInPictureType$;q(i,$t,fe=>t(115,_=fe));const de=Le.ui.mobileUnmuteButtonExpanded;q(i,de,fe=>t(57,K=fe));const Pe=Le.ui.mobileUnmuteButtonVisible;q(i,Pe,fe=>t(55,ie=fe));const Me=Le.ui.settingsMenuVisible;q(i,Me,fe=>t(21,v=fe));const St=Le.ui.controls,Li=Le.actions.internal.getVideoEpisodes(),Yt=Le.webApi.pictureInPictureApi,vi=Le.state.chromecastState$;q(i,vi,fe=>t(24,P=fe));const Ii=Le.state.crashed$;q(i,Ii,fe=>t(59,re=fe));const Lt=St.disabledControls$;q(i,Lt,fe=>t(119,T=fe));const Te=Le.ads.duration;q(i,Te,fe=>t(62,ce=fe));const Bt=Le.ads.position;q(i,Bt,fe=>t(61,le=fe));const Mi=Le.ads.playbackState;q(i,Mi,fe=>t(26,J=fe));const ei=Le.ui.isFullscreen;q(i,ei,fe=>t(54,$=fe));const _i=Le.ui.playerSize;q(i,_i,fe=>t(114,b=fe));const ki=Le.ui.additionalButtons$;q(i,ki,fe=>t(58,H=fe));const wi=Le.actions.internal.replayInteractive,ti=Le.state.isInteractive,Qi=Le.state.isInteractiveGraphEnabled,yi=Le.state.isSeekToInteractiveEnable,Ci=Le.state.isPlayPrevChapterEnabled,Pi=Le.state.graphIsOpened$;q(i,Pi,fe=>t(60,k=fe));let Ni,di,Ui,ii,ni,Si,Ft,Ct,Qt,mi,Xi,oi,Ti,Di,qi,li,Ri,Ai,Bi,si,hi,ai,zt;const Ei=()=>Le.actions.internal.toggleChromecast(),Ut=()=>Le.actions.internal.switchToActiveLive();function Ot(){tt?ot?.():c?Kt():Qe?.()}async function Xt(){Yt?.isActive()?await Yt?.remove():await Yt?.request()}function pi(){!tt&&c&&Pe.set(!1),Ot()}const ri=X?me:je;function zi(fe){Ai=fe,t(42,Ai)}function Jt(fe){Bi=fe,t(43,Bi)}function Vi(fe){si=fe,t(44,si)}function Oi(fe){hi=fe,t(45,hi)}function Hi(fe){ai=fe,t(46,ai)}function Fi(fe){zt=fe,t(47,zt)}function xt(fe){We[fe?"unshift":"push"](()=>{li=fe,t(40,li)})}function Wi(fe){We[fe?"unshift":"push"](()=>{N=fe,t(0,N)})}return i.$$set=fe=>{"bottomHidden"in fe&&t(1,Ae=fe.bottomHidden),"bottomNoSmooth"in fe&&t(2,Ce=fe.bottomNoSmooth),"showControls"in fe&&t(3,F=fe.showControls),"controlsElementRef"in fe&&t(0,N=fe.controlsElementRef),"isAds"in fe&&t(4,Y=fe.isAds),"canRewindLive"in fe&&t(5,ge=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,Ie=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,ye=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,Se=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(107,X=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,se=fe.supportLink),"customFullscreenSupported"in fe&&t(108,_e=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,ae=fe.playNextVideo),"playPrevVideo"in fe&&t(13,qe=fe.playPrevVideo),"repeatPlaylist"in fe&&t(109,je=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,Je=fe.toggleFullscreen),"returnFocus"in fe&&t(15,et=fe.returnFocus),"seekToInteractive"in fe&&t(16,Be=fe.seekToInteractive),"toggleGraph"in fe&&t(17,rt=fe.toggleGraph),"playPrevChapter"in fe&&t(18,Tt=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=T.has(mt.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(52,o=T.has(mt.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(51,l=T.has(mt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=T.has(mt.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,a=T.has(mt.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(48,r=T.has(mt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&33554432&&t(27,Ni=Z===nt.PlaybackState.PLAYING),i.$$.dirty[0]&67108864&&t(28,di=J===Mt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(29,Ui=j&&!Y&&!ti),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(30,ii=!j||Y),i.$$.dirty[3]&2097152&&t(110,ni=b.width>300),i.$$.dirty[3]&2097152&&t(31,Si=b.width>400),i.$$.dirty[0]&33554432&&t(111,Ft=B),i.$$.dirty[0]&29360128|i.$$.dirty[3]&4194304&&t(32,Ct=P!==nt.ChromecastState.NOT_AVAILABLE&&!(L&&_===dn.DocumentPictureInPicture)&&!E&&!ti),i.$$.dirty[0]&25165824|i.$$.dirty[3]&12845056){const fe=S===ze.WaitingLive;t(33,Qt=!!Yt&&P!==nt.ChromecastState.CONNECTED&&!E&&(_===dn.DocumentPictureInPicture&&fe||!fe)&&!Ft&&!ti)}i.$$.dirty[3]&262144&&t(34,mi=!Ft),i.$$.dirty[3]&2105344&&t(35,Xi=!M&&b.width>350),i.$$.dirty[0]&4194304|i.$$.dirty[3]&4489216&&t(36,oi=Re.features.fullscreen&&!(L&&_===dn.DocumentPictureInPicture)&&(ti?_e:!0)&&!Ft),i.$$.dirty[0]&1048592|i.$$.dirty[3]&2359296&&t(37,Ti=(!g||Y)&&b.width>260&&!Ft&&!(Re.features.interactiveHideTime&&ti)),i.$$.dirty[0]&2097160&&t(38,Di=v||F),i.$$.dirty[0]&1048592|i.$$.dirty[3]&917504&&t(39,qi=!Y&&!g&&!!Li?.length&&ni&&!n&&!Ft),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&t(41,Ri=!h||f)},[N,Ae,Ce,F,Y,ge,ee,Q,Ie,ye,Se,se,ae,qe,Je,et,Be,rt,Tt,h,g,v,L,E,P,B,J,Ni,di,Ui,ii,Si,Ct,Qt,mi,Xi,oi,Ti,Di,qi,li,Ri,Ai,Bi,si,hi,ai,zt,r,a,s,l,o,c,$,ie,te,K,H,re,k,le,ce,ve,Ne,me,ut,Ze,$e,lt,ct,wt,tt,Rt,yt,it,Ht,dt,Ge,At,st,$t,de,Pe,Me,Li,vi,Ii,Lt,Te,Bt,Mi,ei,_i,ki,wi,ti,Qi,yi,Ci,Pi,Ei,Ut,Xt,pi,ri,M,X,_e,je,ni,Ft,n,f,b,_,S,j,Z,T,zi,Jt,Vi,Oi,Hi,Fi,xt,Wi]}class x4 extends we{constructor(e){super(),ke(this,e,J4,X4,be,{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},F4,[-1,-1,-1,-1,-1])}}function $4(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 T4({props:l}),We.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function em(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 x4({props:l}),We.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function tm(i){let e,t,n,o;const l=[em,$4],s=[];function a(r,c){return r[23]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function im(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:a=void 0}=e,{isAds:r=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:E}=e,{customFullscreenSupported:P=!0}=e,{playNextVideo:S}=e,{playPrevVideo:B}=e,{repeatPlaylist:j}=e,{toggleFullscreen:J}=e,{returnFocus:Z=ne.noop}=e,{seekToInteractive:T}=e,{toggleGraph:$}=e,{playPrevChapter:ie}=e;const K=_t().ui.isMobile;q(i,K,k=>t(23,n=k));function H(k){a=k,t(0,a)}function re(k){a=k,t(0,a)}return i.$$set=k=>{"bottomHidden"in k&&t(1,o=k.bottomHidden),"bottomNoSmooth"in k&&t(2,l=k.bottomNoSmooth),"showControls"in k&&t(3,s=k.showControls),"controlsElementRef"in k&&t(0,a=k.controlsElementRef),"isAds"in k&&t(4,r=k.isAds),"canRewindLive"in k&&t(5,c=k.canRewindLive),"logoClickable"in k&&t(6,f=k.logoClickable),"logoHidden"in k&&t(7,h=k.logoHidden),"videoLogoUrl"in k&&t(8,g=k.videoLogoUrl),"showNextPrevButtons"in k&&t(9,v=k.showNextPrevButtons),"nextButtonActive"in k&&t(10,b=k.nextButtonActive),"prevButtonActive"in k&&t(11,_=k.prevButtonActive),"isOneVideoPlaylist"in k&&t(12,L=k.isOneVideoPlaylist),"supportLink"in k&&t(13,E=k.supportLink),"customFullscreenSupported"in k&&t(14,P=k.customFullscreenSupported),"playNextVideo"in k&&t(15,S=k.playNextVideo),"playPrevVideo"in k&&t(16,B=k.playPrevVideo),"repeatPlaylist"in k&&t(17,j=k.repeatPlaylist),"toggleFullscreen"in k&&t(18,J=k.toggleFullscreen),"returnFocus"in k&&t(19,Z=k.returnFocus),"seekToInteractive"in k&&t(20,T=k.seekToInteractive),"toggleGraph"in k&&t(21,$=k.toggleGraph),"playPrevChapter"in k&&t(22,ie=k.playPrevChapter)},[a,o,l,s,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,n,K,H,re]}class v1 extends we{constructor(e){super(),ke(this,e,im,tm,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function nm(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function om(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"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"),A(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&A(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function lm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class sm extends we{constructor(e){super(),ke(this,e,lm,om,be,{reversed:0},nm)}}function am(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("clipPath"),a=I("path"),r=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),g=I("feGaussianBlur"),v=I("feColorMatrix"),b=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(a,"fill","#fff"),u(a,"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(v,"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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"result","shape"),u(r,"id","b"),u(r,"x","-1.5"),u(r,"y","1.5"),u(r,"width","51"),u(r,"height","45"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(L,E){C(L,e,E),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(l,r),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v),d(r,b),d(r,_)},d(L){L&&y(e)}}}function rm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("defs"),a=I("clipPath"),r=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=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(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(a,"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(v,"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(_,"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(E,P){C(E,e,P),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,a),d(a,r),d(s,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,L)},d(E){E&&y(e)}}}function um(i){let e;function t(l,s){return l[0]?rm:am}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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:G,o:G,d(l){l&&y(e),o.d(l)}}}function cm(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class _1 extends we{constructor(e){super(),ke(this,e,cm,um,be,{isOff:0})}}function fm(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function dm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"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"),A(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&A(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function mm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class hm extends we{constructor(e){super(),ke(this,e,mm,dm,be,{reversed:0},fm)}}function pm(i){He(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function gm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"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"),A(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&A(e,"reversed",b[0])},i:G,o:G,d(b){b&&y(e)}}}function bm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class vm extends we{constructor(e){super(),ke(this,e,bm,gm,be,{reversed:0},pm)}}function _m(i){He(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 oa(i){let e,t=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(i[4]),n,o,l,s,a,r=[Ke.RATE_DOWN,Ke.RATE_UP].includes(i[4]),c,f=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(i[4]),h,g,v,b,_,L=t&&la(i),E=i[4]===Ke.STOP&&sa(),P=i[4]===Ke.PLAY&&aa(),S=i[4]===Ke.SUBTITLES_OFF&&ra(),B=i[4]===Ke.SUBTITLES_ON&&ua(),j=r&&ca(i),J=f&&fa(i),Z=i[4]===Ke.MUTE&&da(),T=i[4]===Ke.VOLUME&&ma(),$=i[5]&&ha(i);return{c(){e=w("div"),L&&L.c(),n=R(),E&&E.c(),o=R(),P&&P.c(),l=R(),S&&S.c(),s=R(),B&&B.c(),a=R(),j&&j.c(),c=R(),J&&J.c(),h=R(),Z&&Z.c(),g=R(),T&&T.c(),v=R(),$&&$.c(),b=ht(),u(e,"class","v-1lbk7aq")},m(ie,te){C(ie,e,te),L&&L.m(e,null),d(e,n),E&&E.m(e,null),d(e,o),P&&P.m(e,null),d(e,l),S&&S.m(e,null),d(e,s),B&&B.m(e,null),d(e,a),j&&j.m(e,null),d(e,c),J&&J.m(e,null),d(e,h),Z&&Z.m(e,null),d(e,g),T&&T.m(e,null),C(ie,v,te),$&&$.m(ie,te),C(ie,b,te),_=!0},p(ie,te){te&16&&(t=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(ie[4])),t?L?(L.p(ie,te),te&16&&m(L,1)):(L=la(ie),L.c(),m(L,1),L.m(e,n)):L&&(he(),p(L,1,1,()=>{L=null}),pe()),ie[4]===Ke.STOP?E?te&16&&m(E,1):(E=sa(),E.c(),m(E,1),E.m(e,o)):E&&(he(),p(E,1,1,()=>{E=null}),pe()),ie[4]===Ke.PLAY?P?te&16&&m(P,1):(P=aa(),P.c(),m(P,1),P.m(e,l)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),ie[4]===Ke.SUBTITLES_OFF?S?te&16&&m(S,1):(S=ra(),S.c(),m(S,1),S.m(e,s)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),ie[4]===Ke.SUBTITLES_ON?B?te&16&&m(B,1):(B=ua(),B.c(),m(B,1),B.m(e,a)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),te&16&&(r=[Ke.RATE_DOWN,Ke.RATE_UP].includes(ie[4])),r?j?(j.p(ie,te),te&16&&m(j,1)):(j=ca(ie),j.c(),m(j,1),j.m(e,c)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),te&16&&(f=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(ie[4])),f?J?(J.p(ie,te),te&16&&m(J,1)):(J=fa(ie),J.c(),m(J,1),J.m(e,h)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),ie[4]===Ke.MUTE?Z?te&16&&m(Z,1):(Z=da(),Z.c(),m(Z,1),Z.m(e,g)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),ie[4]===Ke.VOLUME?T?te&16&&m(T,1):(T=ma(),T.c(),m(T,1),T.m(e,null)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),ie[5]?$?$.p(ie,te):($=ha(ie),$.c(),$.m(b.parentNode,b)):$&&($.d(1),$=null)},i(ie){_||(m(L),m(E),m(P),m(S),m(B),m(j),m(J),m(Z),m(T),_=!0)},o(ie){p(L),p(E),p(P),p(S),p(B),p(j),p(J),p(Z),p(T),_=!1},d(ie){ie&&(y(e),y(v),y(b)),L&&L.d(),E&&E.d(),P&&P.d(),S&&S.d(),B&&B.d(),j&&j.d(),J&&J.d(),Z&&Z.d(),T&&T.d(),$&&$.d(ie)}}}function la(i){let e,t;return e=new sm({props:{reversed:i[4]===Ke.FORWARD_SEEK}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function sa(i){let e,t;return e=new l1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function aa(i){let e,t;return e=new Xo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ra(i){let e,t;return e=new _1({props:{isOff:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ua(i){let e,t;return e=new _1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ca(i){let e,t;return e=new hm({props:{reversed:i[4]===Ke.RATE_UP}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fa(i){let e,t;return e=new vm({props:{reversed:i[4]===Ke.EPISODE_NEXT}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ke.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function da(i){let e,t;return e=new Po({props:{volume:0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ma(i){let e,t;return e=new Po({props:{volume:1}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ha(i){let e,t;return{c(){e=w("span"),t=Oe(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&&Xe(t,n[5])},d(n){n&&y(e)}}}function km(i){let e,t,n=!i[1]&&i[4]&&oa(i);return{c(){e=w("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),A(e,"hidden",i[1]),A(e,"hot-key-helpers-container--left",i[2]),A(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=oa(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),pe()),(!t||l&2)&&A(e,"hidden",o[1]),(!t||l&4)&&A(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&A(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function wm(i,e,t){let n,o=G,l=()=>(o(),o=_o(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let a,r,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,a=!n),t(2,r=n?.type===Ke.BACKWARD_SEEK),t(3,c=n?.type===Ke.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,h=W(n.t.key,{value:n.t.value||""})):t(5,h=n?.text))},[s,a,r,c,f,h,n]}class ym extends we{constructor(e){super(),ke(this,e,wm,km,be,{data:0},_m)}}function Cm(i){He(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 Pm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P;return l=new Cn({props:{direction:"up"}}),r=new Cn({props:{direction:"up"}}),g=new Cn({props:{direction:"up"}}),_=new Cn({props:{direction:"up"}}),{c(){e=w("div"),t=w("div"),n=w("div"),o=w("div"),D(l.$$.fragment),s=R(),a=w("div"),D(r.$$.fragment),c=R(),f=w("div"),h=w("div"),D(g.$$.fragment),v=R(),b=w("div"),D(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(a,"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(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",W("aria_label_spherical_control")),A(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,a),z(r,a,null),d(t,c),d(t,f),d(f,h),z(g,h,null),d(f,v),d(f,b),z(_,b,null),L=!0,E||(P=[Ve(o,"mousedown",i[1]),Ve(o,"mouseup",i[5]),Ve(o,"mouseleave",i[5]),Ve(a,"mousedown",i[3]),Ve(a,"mouseup",i[5]),Ve(a,"mouseleave",i[5]),Ve(h,"mousedown",i[4]),Ve(h,"mouseup",i[5]),Ve(h,"mouseleave",i[5]),Ve(b,"mousedown",i[2]),Ve(b,"mouseup",i[5]),Ve(b,"mouseleave",i[5]),Ve(e,"keydown",i[6]),Ve(e,"keyup",i[7])],E=!0)},p(S,[B]){(!L||B&1)&&A(e,"m-shifted",S[0])},i(S){L||(m(l.$$.fragment,S),m(r.$$.fragment,S),m(g.$$.fragment,S),m(_.$$.fragment,S),L=!0)},o(S){p(l.$$.fragment,S),p(r.$$.fragment,S),p(g.$$.fragment,S),p(_.$$.fragment,S),L=!1},d(S){S&&y(e),O(l),O(r),O(g),O(_),E=!1,Gt(P)}}}function Sm(i,e,t){let{isShifted:n=!1}=e;const o=_t(),l=new Set([Ue.ArrowUp,Ue.ArrowDown,Ue.ArrowLeft,Ue.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},a=()=>{o.actions.internal.startCameraManualRotation(0,-1)},r=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=v=>{if(l.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Ue.ArrowUp:s();break;case Ue.ArrowDown:a();break;case Ue.ArrowLeft:c();break;case Ue.ArrowRight:r();break}},g=v=>{l.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return i.$$set=v=>{"isShifted"in v&&t(0,n=v.isShifted)},[n,s,a,r,c,f,h,g]}class k1 extends we{constructor(e){super(),ke(this,e,Sm,Pm,be,{isShifted:0},Cm)}}function Tm(i){He(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 pa(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function ga(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function ba(i){let e,t;function n(s,a){return s[7]&&s[8]?Vm:s[5]?Em:Am}let o=n(i),l=o(i);return{c(){e=w("div"),t=w("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),A(e,"mobile",i[3])},m(s,a){C(s,e,a),d(e,t),l.m(t,null)},p(s,a){o===(o=n(s))&&l?l.p(s,a):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),a&8&&A(e,"mobile",s[3])},d(s){s&&y(e),l.d()}}}function Am(i){let e,t=It(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=va(pa(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ht()},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=It(o[1]);let s;for(s=0;s<t.length;s+=1){const a=pa(o,t,s);n[s]?n[s].p(a,l):(n[s]=va(a),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),$i(n,o)}}}function Em(i){let e,t,n=It(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=ka(ga(i,n,l));return{c(){e=w("span"),t=w("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Et(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 a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(l,s){if(s&68){n=It(l[6]);let a;for(a=0;a<n.length;a+=1){const r=ga(l,n,a);o[a]?o[a].p(r,s):(o[a]=ka(r),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}s&16&&Et(t,"font-size",l[4]+"px")},d(l){l&&y(e),$i(o,l)}}}function Vm(i){let e,t,n=W("subtitles_auto_caption")+"",o;return{c(){e=w("span"),t=w("span"),o=Oe(n),u(t,"class","caption-segment v-ovfyp5"),Et(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&&Et(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function va(i){let e,t,n=i[16]+"",o,l;return{c(){e=w("span"),t=w("span"),o=Oe(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),Et(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,a){C(s,e,a),d(e,t),d(t,o),d(e,l)},p(s,a){a&2&&n!==(n=s[16]+"")&&Xe(o,n),a&16&&Et(t,"font-size",s[4]+"px")},d(s){s&&y(e)}}}function _a(i){let e=i[16]+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(t,e)},d(n){n&&y(t)}}}function ka(i){let e,t=(!i[17]||i[17]<=i[2])&&_a(i);return{c(){t&&t.c(),e=ht()},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=_a(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function Lm(i){let e,t=i[1].length>0&&ba(i);return{c(){e=w("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),A(e,"shifted",i[0]),A(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=ba(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&A(e,"shifted",n[0]),o&288&&A(e,"auto",n[5]&&!n[8])},i:G,o:G,d(n){n&&y(e),t&&t.d()}}}function Im(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:a}=e,{playerSize:r}=e,{isMobile:c=!1}=e;const f=_t(),h=Gi(),g=f.state.currentSubtitle$;q(i,g,S=>t(12,n=S));const v=f.state.isAutoSubtitleCaptionVisible$;q(i,v,S=>t(8,o=S));let b,_,L,E,P;return Zi(()=>{P=window.setTimeout(()=>{v.set(!1)},h.autoSubtitlesTimeout)}),wo(()=>{window.clearTimeout(P)}),i.$$set=S=>{"shifted"in S&&t(0,l=S.shifted),"captions"in S&&t(1,s=S.captions),"position"in S&&t(2,a=S.position),"playerSize"in S&&t(11,r=S.playerSize),"isMobile"in S&&t(3,c=S.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const S=r.width*.02;t(4,b=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:j})=>(B==="timestamp"?S.push({timeAppeared:Number(j),value:""}):S.length===0?S.push({value:String(j)}):S[S.length-1].value=String(j),S),[])),i.$$.dirty&4096&&t(7,E=!!n.isAuto)},[l,s,a,c,b,_,L,E,o,g,v,r,n]}class w1 extends we{constructor(e){super(),ke(this,e,Im,Lm,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Tm)}}function Mm(i){He(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 wa(i){let e,t,n;return{c(){e=w("div"),t=Oe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Oe(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&&Xe(n,o[1])},d(o){o&&y(e)}}}function Nm(i){let e,t,n,o,l,s,a=i[1]&&wa(i);return{c(){e=w("div"),t=w("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),a&&a.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(r,c){C(r,e,c),d(e,t),d(e,n),a&&a.m(e,null),l||(s=Ve(e,"click",i[2]),l=!0)},p(r,[c]){r[1]?a?a.p(r,c):(a=wa(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${r[0]||""}')`)&&u(e,"style",o)},i:G,o:G,d(r){r&&y(e),a&&a.d(),l=!1,s()}}}function Rm(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){qn.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 y1 extends we{constructor(e){super(),ke(this,e,Rm,Nm,be,{thumbUrl:0,chromecastDeviceName:1},Mm)}}function Bm(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:G,i:G,o:G,d(n){n&&y(e)}}}class zm extends we{constructor(e){super(),ke(this,e,null,Bm,be,{})}}function Om(i){He(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 Dm(i){let e,t,n;return t=new zm({}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:G,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}class C1 extends we{constructor(e){super(),ke(this,e,null,Dm,be,{},Om)}}function Hm(i){He(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 Fm(i){let e,t,n,o,l,s,a,r,c;return l=new Xo({}),{c(){e=w("div"),t=w("div"),n=w("div"),o=R(),D(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]||""}')`),A(e,"hidden",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),a=!0,r||(c=Ve(e,"click",ft(function(){mn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(f,[h]){i=f,(!a||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!a||h&2)&&A(e,"hidden",i[1])},i(f){a||(m(l.$$.fragment,f),a=!0)},o(f){p(l.$$.fragment,f),a=!1},d(f){f&&y(e),O(l),r=!1,c()}}}function Um(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 P1 extends we{constructor(e){super(),ke(this,e,Um,Fm,be,{thumbUrl:0,hidden:1,startVideo:2},Hm)}}function qm(i){He(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 ml(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 hl(i){let e,t;return e=new Uu({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function pl(i){let e,t;return e=new Bu({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function gl(i){let e,t;return e=new ju({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gu(i){let e,t,n,o,l,s,a,r=i[0]&&ml(),c=i[3]&&hl(i),f=i[7]&&pl(),h=i[4]&&gl();return{c(){e=k("div"),r&&r.c(),t=R(),n=k("video"),o=R(),c&&c.c(),l=R(),f&&f.c(),s=R(),h&&h.c(),At(n,"width","100%"),At(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(g,v){C(g,e,v),r&&r.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),a=!0},p(g,[v]){g[0]?r||(r=ml(),r.c(),r.m(e,t)):r&&(r.d(1),r=null),g[3]?c?(c.p(g,v),v&8&&m(c,1)):(c=hl(g),c.c(),m(c,1),c.m(e,l)):c&&(he(),p(c,1,1,()=>{c=null}),pe()),g[7]?f?v&128&&m(f,1):(f=pl(),f.c(),m(f,1),f.m(e,s)):f&&(he(),p(f,1,1,()=>{f=null}),pe()),g[4]?h?v&16&&m(h,1):(h=gl(),h.c(),m(h,1),h.m(e,null)):h&&(he(),p(h,1,1,()=>{h=null}),pe())},i(g){a||(m(c),m(f),m(h),a=!0)},o(g){p(c),p(f),p(h),a=!1},d(g){g&&y(e),r&&r.d(),i[19](null),c&&c.d(),f&&f.d(),h&&h.d(),i[20](null)}}}function Ku(i,e,t){let n,o,l,s,a,{adsSlotId:r=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const g=_t(),v=g.state.isEnded$;F(i,v,Z=>t(7,a=Z));const b=g.ui.isMobile;F(i,b,Z=>t(0,o=Z));let _,V,A=!1;const S=g.ads.playbackState;F(i,S,Z=>t(18,n=Z));const P=g.ads.canSkip,B=g.ads.position;F(i,B,Z=>t(5,l=Z));const W=g.ads.secondsToWatchBeforeSkip;F(i,W,Z=>t(6,s=Z));let X,j;Zi(()=>{const Z=new AbortController;let ie=()=>{Z.abort()};const G=g.getAdmanWrapper();if(!r){G.onAdmanLoadingError();return}const{width:J,height:ce}=Xe(g.ui.playerSize),w=Xe(g.ui.isFullscreen),le=Xe(g.ui.isAutoplay),de={width:J,height:ce,isFullscreen:w,isAutoplay:le,adsContainer:_,adsVideoElement:V,slotId:r,params:c,previewParam:f,duration:h};return window.AdmanHTML?(G.initAdman(de),A=!0):G.loadAdman(Z.signal).then(()=>{G.initAdman(de),A=!0}).catch(()=>{G.onAdmanLoadingError()}),()=>{!A&&ie()}});function T(Z){je[Z?"unshift":"push"](()=>{V=Z,t(2,V)})}function te(Z){je[Z?"unshift":"push"](()=>{_=Z,t(1,_)})}return i.$$set=Z=>{"adsSlotId"in Z&&t(14,r=Z.adsSlotId),"adsParams"in Z&&t(15,c=Z.adsParams),"adsPreviewParam"in Z&&t(16,f=Z.adsPreviewParam),"duration"in Z&&t(17,h=Z.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,X=P&&n!==Bt.INACTIVE),i.$$.dirty&262145&&t(4,j=o&&n!==Bt.INACTIVE)},[o,_,V,X,j,l,s,a,g,v,b,S,B,W,r,c,f,h,n,T,te]}class zr extends we{constructor(e){super(),ke(this,e,Ku,Gu,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Zu)}}function Yu(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 Qu(i){let e;return{c(){e=k("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),L(e,"shifted",i[0])},m(t,n){C(t,e,n),i[2](e)},p(t,[n]){n&1&&L(e,"shifted",t[0])},i:K,o:K,d(t){t&&y(e),i[2](null)}}}function Xu(i,e,t){let{showControls:n}=e,o;const s=_t().webApi.annotationsApi;Zi(()=>{if(s)return s.registryRootContainer(o),s.reattach(),()=>s.detach()});function a(r){je[r?"unshift":"push"](()=>{o=r,t(1,o)})}return i.$$set=r=>{"showControls"in r&&t(0,n=r.showControls)},[n,o,a]}class Or extends we{constructor(e){super(),ke(this,e,Xu,Qu,be,{showControls:0},Yu)}}const mn=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 Ju(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 xu(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 $u(i){let e;function t(l,s){return l[0]?xu:Ju}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 ec(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Dr extends we{constructor(e){super(),ke(this,e,ec,$u,be,{isActive:0})}}function tc(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 ic(i){let e=mn(i[4]-i[3])+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&24&&e!==(e=mn(n[4]-n[3])+"")&&xe(t,e)},i:K,o:K,d(n){n&&y(t)}}}function nc(i){let e,t,n;return t=new Dr({props:{isActive:!0}}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function oc(i){let e,t,n,o,l,s,a;const r=[nc,ic],c=[];function f(h,g){return h[1]?0:1}return l=f(i),s=c[l]=r[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=R(),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"),L(e,"live",i[1]),L(e,"hidden",i[0]),L(e,"playing",i[2])},m(h,g){C(h,e,g),d(e,t),d(e,n),d(e,o),c[l].m(o,null),a=!0},p(h,[g]){let v=l;l=f(h),l===v?c[l].p(h,g):(he(),p(c[v],1,1,()=>{c[v]=null}),pe(),s=c[l],s?s.p(h,g):(s=c[l]=r[l](h),s.c()),m(s,1),s.m(o,null)),(!a||g&2)&&L(e,"live",h[1]),(!a||g&1)&&L(e,"hidden",h[0]),(!a||g&4)&&L(e,"playing",h[2])},i(h){a||(m(s),a=!0)},o(h){p(s),a=!1},d(h){h&&y(e),c[l].d()}}}function lc(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:s}=e,{duration:a}=e;return i.$$set=r=>{"isHidden"in r&&t(0,n=r.isHidden),"isLive"in r&&t(1,o=r.isLive),"isPlaying"in r&&t(2,l=r.isPlaying),"position"in r&&t(3,s=r.position),"duration"in r&&t(4,a=r.duration)},[n,o,l,s,a]}class Hr extends we{constructor(e){super(),ke(this,e,lc,oc,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},tc)}}const Wo=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 sc(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 ac(i){let e,t=U("menu_copy_video_link")+"",n,o,l,s,a,r=!i[4]&&!i[16]&&bl(i);return{c(){e=k("li"),n=Oe(t),o=R(),r&&r.c(),l=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){C(c,e,f),d(e,n),C(c,o,f),r&&r.m(c,f),C(c,l,f),s||(a=Ee(e,"click",ut(i[30])),s=!0)},p(c,f){!c[4]&&!c[16]?r?r.p(c,f):(r=bl(c),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(c){c&&(y(e),y(o),y(l)),r&&r.d(c),s=!1,a()}}}function bl(i){let e,t=U("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[31])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function vl(i){let e,t=U("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("menu_pip")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[21])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function rc(i){let e,t=U("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",U("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[17])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function _l(i){let e,t=U("menu_report")+"",n,o,l;return{c(){e=k("li"),n=Oe(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${U("menu_report")}. ${U("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(s,a){C(s,e,a),d(e,n),o||(l=Ee(e,"click",ut(i[18])),o=!0)},p:K,d(s){s&&y(e),o=!1,l()}}}function uc(i){let e,t,n,o,l,s,a=(i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug"))+"",r,c,f,h=U("menu_debug_overlay")+"",g,v,b,_,V=i[9].features.copyVideoLink&&i[8].callbacks?.onCopyVideoLink&&ac(i),A=i[11]&&i[5]!==Je.ChromecastState.CONNECTED&&!i[16]&&vl(i),S=i[9].features.videoRotate&&!i[16]&&rc(i),P=i[9].showSupport&&!i[6]&&_l(i);return{c(){e=k("ul"),V&&V.c(),t=R(),A&&A.c(),n=R(),S&&S.c(),o=R(),P&&P.c(),l=R(),s=k("li"),r=Oe(a),c=R(),f=k("li"),g=Oe(h),u(s,"tabindex","0"),u(s,"role","menuitem"),u(s,"aria-label",i[9].features.saveDebugInfoToFile?U("menu_save_debug"):U("menu_copy_debug")),u(s,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",v=i[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),At(e,"top",i[2]+"px"),At(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),L(e,"hidden",!i[0])},m(B,W){C(B,e,W),V&&V.m(e,null),d(e,t),A&&A.m(e,null),d(e,n),S&&S.m(e,null),d(e,o),P&&P.m(e,null),d(e,l),d(e,s),d(s,r),d(e,c),d(e,f),d(f,g),i[32](e),b||(_=[Ee(s,"click",ut(i[19])),Ee(f,"click",ut(i[20])),Ee(e,"contextmenu",ci(i[29]))],b=!0)},p(B,W){B[9].features.copyVideoLink&&B[8].callbacks?.onCopyVideoLink&&V.p(B,W),B[11]&&B[5]!==Je.ChromecastState.CONNECTED&&!B[16]?A?A.p(B,W):(A=vl(B),A.c(),A.m(e,n)):A&&(A.d(1),A=null),B[9].features.videoRotate&&!B[16]&&S.p(B,W),B[9].showSupport&&!B[6]?P?P.p(B,W):(P=_l(B),P.c(),P.m(e,l)):P&&(P.d(1),P=null),W[0]&128&&v!==(v=B[7]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",v),W[0]&4&&At(e,"top",B[2]+"px"),W[0]&2&&At(e,"left",B[1]+"px"),W[0]&1&&L(e,"hidden",!B[0])},i:K,o:K,d(B){B&&y(e),V&&V.d(),A&&A.d(),S&&S.d(),P&&P.d(),i[32](null),b=!1,Xt(_)}}}function cc(i,e,t){let n,o,l,s,a,{visible:r=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:g=void 0}=e,{controlsContainerRef:v=void 0}=e,{returnFocus:b}=e,_=0,V=0;const A=_t(),S=Gi(),P=A.ui.contextMenuVisible,B=A.ui.debugPanelVisible;F(i,B,M=>t(7,a=M));const W=A.webApi.pictureInPictureApi,X=A.webApi.pictureInPictureApi?.info.isActive$;F(i,X,M=>t(6,s=M));const j=A.state.chromecastState$;F(i,j,M=>t(5,l=M));const T=A.state.isLive$;F(i,T,M=>t(4,o=M));const te=A.state.positionExact$;F(i,te,M=>t(33,n=M));const Z=A.state.isInteractive;let ie;const G=(M,Y)=>{if(!ie||!g||!v)return;const ge=ie.getBoundingClientRect(),ee=g.getBoundingClientRect();t(1,_=M-ee.left),t(2,V=Y-ee.top),_+ge.width>ee.width&&t(1,_=ee.width-ge.width),V+ge.height>ee.height&&t(2,V=ee.height-ge.height),t(1,_=Math.max(_,0)),t(2,V=Math.max(V,0))},J=()=>{P.set(!1),A.actions.internal.videoRotate()},ce=()=>{window.open(c,"_blank"),P.set(!1),A.actions.internal.pause()},w=()=>{const M=A.actions.internal.getDebugTextData();if(S.features.saveDebugInfoToFile){const Y=new Blob([...M],{type:"plain/text"}),ge=window.URL.createObjectURL(Y);pr(ge,"vk_player_debug_info","txt")}else Wo(A.actions.internal.getDebugTextData());P.set(!1),b?.()},le=()=>{B.set(!0),P.set(!1),b?.()},de=async()=>{try{W?.isActive()?await W?.remove():await W?.request()}finally{P.set(!1),b?.()}},_e=(M=!1)=>{if(A.callbacks?.onCopyVideoLink){const Y=A.callbacks?.onCopyVideoLink(M,n);Y&&Wo(Y)}P.set(!1)};function Ne(M){Wn.call(this,i,M)}const Le=()=>_e(),ye=()=>_e(!0);function H(M){je[M?"unshift":"push"](()=>{ie=M,t(3,ie)})}return i.$$set=M=>{"visible"in M&&t(0,r=M.visible),"supportLink"in M&&t(23,c=M.supportLink),"x"in M&&t(24,f=M.x),"y"in M&&t(25,h=M.y),"playerContainerRef"in M&&t(26,g=M.playerContainerRef),"controlsContainerRef"in M&&t(27,v=M.controlsContainerRef),"returnFocus"in M&&t(28,b=M.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&G(f,h)},[r,_,V,ie,o,l,s,a,A,S,B,W,X,j,T,te,Z,J,ce,w,le,de,_e,c,f,h,g,v,b,Ne,Le,ye,H]}class fc extends we{constructor(e){super(),ke(this,e,cc,uc,be,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},sc,[-1,-1])}}class dc{value;next;constructor(e){this.value=e,this.next=null}}class Vo{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new dc(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 mc(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 hc(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 Io=16,Mo=120,kl=60;function pc(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function gc(i,e,t){let{values:n=[]}=e,o,l;const s=Mo/kl;Zi(()=>{t(0,o.width=Mo,o),t(0,o.height=Io,o),t(2,l=o.getContext("2d"))});function a(r){je[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"values"in r&&t(1,n=r.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let r=n[0];for(let f=1;f<n.length;f++)n[f]>r&&(r=n[f]);l.clearRect(0,0,Mo,Io);let c=kl-1;for(let f=n.length-1;f>=0;f--){const h=c*s,g=r>0?Io*(n[f]/r):0;pc(l,h,0,s,g),c--}}},[o,n,l,a]}class Yo extends we{constructor(e){super(),ke(this,e,gc,hc,be,{values:1},mc)}}function bc(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 wl(i){let e,t,n,o,l=i[0].id+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].id+"")&&xe(s,l)},d(a){a&&y(e)}}}function yl(i){let e,t,n,o,l=i[0].provider+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].provider+"")&&xe(s,l)},d(a){a&&y(e)}}}function Cl(i){let e,t,n,o,l=i[0].viewport+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].viewport+"")&&xe(s,l)},d(a){a&&y(e)}}}function Pl(i){let e,t,n,o,l=i[0].videoSize+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].videoSize+"")&&xe(s,l)},d(a){a&&y(e)}}}function Sl(i){let e,t,n,o,l=i[0].cdn+"",s;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=R(),o=k("span"),s=Oe(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,r){C(a,e,r),d(e,t),d(e,n),d(e,o),d(o,s)},p(a,r){r&1&&l!==(l=a[0].cdn+"")&&xe(s,l)},d(a){a&&y(e)}}}function Tl(i){let e,t,n,o,l=i[0].volume+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=R(),o=k("span"),s=Oe(l),a=Oe(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].volume+"")&&xe(s,l)},d(r){r&&y(e)}}}function Al(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",s,a;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=R(),o=k("span"),s=Oe(l),a=Oe(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,c){C(r,e,c),d(e,t),d(e,n),d(e,o),d(o,s),d(o,a)},p(r,c){c&1&&l!==(l=r[0].buffer.toFixed(2)+"")&&xe(s,l)},d(r){r&&y(e)}}}function El(i){let e,t,n,o,l,s,a=i[0].speed.toFixed(2)+"",r,c,f;return o=new Yo({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=R(),D(o.$$.fragment),l=R(),s=k("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&32&&(v.values=h[5]),o.$set(v),(!f||g&1)&&a!==(a=h[0].speed.toFixed(2)+"")&&xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function Ll(i){let e,t,n,o,l,s,a=i[0].bitrate.toFixed(2)+"",r,c,f;return o=new Yo({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=R(),D(o.$$.fragment),l=R(),s=k("span"),r=Oe(a),c=Oe(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,g){C(h,e,g),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,s),d(s,r),d(s,c),f=!0},p(h,g){const v={};g&64&&(v.values=h[6]),o.$set(v),(!f||g&1)&&a!==(a=h[0].bitrate.toFixed(2)+"")&&xe(r,a)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){p(o.$$.fragment,h),f=!1},d(h){h&&y(e),O(o)}}}function vc(i){let e,t,n,o,l,s,a,r,c=i[0].version+"",f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,Y=i[0].id&&wl(i),ge=i[0].provider&&yl(i),ee=i[0].viewport&&Cl(i),N=i[0].videoSize&&Pl(i),Q=i[0].cdn&&Sl(i),Ie=i[0].volume&&Tl(i),Ce=i[0].buffer&&Al(i),Ae=i[0].speed&&El(i),x=i[0].bitrate&&Ll(i);return de=new Yo({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=R(),o=k("div"),l=k("div"),s=k("div"),s.textContent="Version",a=R(),r=k("span"),f=Oe(c),h=R(),Y&&Y.c(),g=R(),ge&&ge.c(),v=R(),ee&&ee.c(),b=R(),N&&N.c(),_=R(),Q&&Q.c(),V=R(),Ie&&Ie.c(),A=R(),Ce&&Ce.c(),S=R(),P=k("div"),B=k("div"),B.textContent="Dropped",W=R(),X=k("span"),j=Oe(i[2]),T=Oe(" / "),te=Oe(i[1]),Z=Oe(" frames"),ie=R(),Ae&&Ae.c(),G=R(),x&&x.c(),J=R(),ce=k("div"),w=k("div"),w.textContent="FPS",le=R(),D(de.$$.fragment),_e=R(),Ne=k("span"),Le=Oe(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(P,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(ce,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),L(e,"container-mobile",i[7])},m(se,ve){C(se,e,ve),d(e,t),d(e,n),d(e,o),d(o,l),d(l,s),d(l,a),d(l,r),d(r,f),d(o,h),Y&&Y.m(o,null),d(o,g),ge&&ge.m(o,null),d(o,v),ee&&ee.m(o,null),d(o,b),N&&N.m(o,null),d(o,_),Q&&Q.m(o,null),d(o,V),Ie&&Ie.m(o,null),d(o,A),Ce&&Ce.m(o,null),d(o,S),d(o,P),d(P,B),d(P,W),d(P,X),d(X,j),d(X,T),d(X,te),d(X,Z),d(o,ie),Ae&&Ae.m(o,null),d(o,G),x&&x.m(o,null),d(o,J),d(o,ce),d(ce,w),d(ce,le),z(de,ce,null),d(ce,_e),d(ce,Ne),d(Ne,Le),ye=!0,H||(M=Ee(t,"click",ut(i[9])),H=!0)},p(se,[ve]){(!ye||ve&1)&&c!==(c=se[0].version+"")&&xe(f,c),se[0].id?Y?Y.p(se,ve):(Y=wl(se),Y.c(),Y.m(o,g)):Y&&(Y.d(1),Y=null),se[0].provider?ge?ge.p(se,ve):(ge=yl(se),ge.c(),ge.m(o,v)):ge&&(ge.d(1),ge=null),se[0].viewport?ee?ee.p(se,ve):(ee=Cl(se),ee.c(),ee.m(o,b)):ee&&(ee.d(1),ee=null),se[0].videoSize?N?N.p(se,ve):(N=Pl(se),N.c(),N.m(o,_)):N&&(N.d(1),N=null),se[0].cdn?Q?Q.p(se,ve):(Q=Sl(se),Q.c(),Q.m(o,V)):Q&&(Q.d(1),Q=null),se[0].volume?Ie?Ie.p(se,ve):(Ie=Tl(se),Ie.c(),Ie.m(o,A)):Ie&&(Ie.d(1),Ie=null),se[0].buffer?Ce?Ce.p(se,ve):(Ce=Al(se),Ce.c(),Ce.m(o,S)):Ce&&(Ce.d(1),Ce=null),(!ye||ve&4)&&xe(j,se[2]),(!ye||ve&2)&&xe(te,se[1]),se[0].speed?Ae?(Ae.p(se,ve),ve&1&&m(Ae,1)):(Ae=El(se),Ae.c(),m(Ae,1),Ae.m(o,G)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),se[0].bitrate?x?(x.p(se,ve),ve&1&&m(x,1)):(x=Ll(se),x.c(),m(x,1),x.m(o,J)):x&&(he(),p(x,1,1,()=>{x=null}),pe());const re={};ve&16&&(re.values=se[4]),de.$set(re),(!ye||ve&8)&&xe(Le,se[3]),(!ye||ve&128)&&L(e,"container-mobile",se[7])},i(se){ye||(m(Ae),m(x),m(de.$$.fragment,se),ye=!0)},o(se){p(Ae),p(x),p(de.$$.fragment,se),ye=!1},d(se){se&&y(e),Y&&Y.d(),ge&&ge.d(),ee&&ee.d(),N&&N.d(),Q&&Q.d(),Ie&&Ie.d(),Ce&&Ce.d(),Ae&&Ae.d(),x&&x.d(),O(de),H=!1,M()}}}function _c(i,e,t){let n;const o=_t(),l=o.ui.debugPanelVisible,s=o.ui.isMobile;F(i,s,P=>t(7,n=P));const a=()=>{ne.safeStorage.remove(Uo),l.set(!1)};let r=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,g=0;const v=new Vo(60),b=new Vo(60),_=new Vo(60);let V=[],A=[],S=[];return Zi(()=>{ne.safeStorage.set(Uo,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const P=window.setInterval(()=>{t(0,r=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const W=c.getVideoPlaybackQuality().totalVideoFrames;t(3,g=W-f),t(1,f=W),v.push(g),r.speed&&b.push(r.speed),r.bitrate&&_.push(r.bitrate),t(4,V=v.getValuesFromBottom()),t(5,A=b.getValuesFromBottom()),t(6,S=_.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(P),B&&clearInterval(B)}}),[r,f,h,g,V,A,S,n,s,a]}class Fr extends we{constructor(e){super(),ke(this,e,_c,vc,be,{},bc)}}function kc(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 wc(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 yc(i){function e(t){Wn.call(this,i,t)}return[e]}class Cc extends we{constructor(e){super(),ke(this,e,yc,wc,be,{},kc)}}function Pc(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 Sc(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("canvas"),n=R(),o=I("svg"),l=I("g"),s=I("g"),a=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(a,"class","_play"),u(a,"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(a,"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(r,c){C(r,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,s),d(s,a)},p:K,i:K,o:K,d(r){r&&y(e),i[2](null)}}}const Tc=5e3;function Ac(i,e,t){let{onTimerEnded:n=ne.noop}=e,o;Zi(()=>{let s;const a=o.getContext("2d");if(!a)return;a.lineWidth=6,a.lineCap="round",a.strokeStyle="#fff";const r=Date.now(),c=()=>{const f=(Date.now()-r)/Tc;f<1?(a.clearRect(0,0,100,100),a.beginPath(),a.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),a.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 Ec extends we{constructor(e){super(),ke(this,e,Ac,Sc,be,{onTimerEnded:1},Pc)}}function Lc(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 Vl(i){let e,t;return e=new Ec({props:{onTimerEnded:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W;a=new Cc({}),a.$on("click",i[4]);let X=i[3]&&Vl(i);return{c(){e=k("div"),t=R(),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=R(),D(a.$$.fragment),r=R(),c=k("div"),f=k("div"),h=k("div"),g=k("div"),v=R(),X&&X.c(),_=R(),V=k("div"),A=k("div"),S=Oe(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(V,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(j,T){C(j,e,T),C(j,t,T),C(j,n,T),d(n,o),d(o,l),d(o,s),z(a,o,null),d(n,r),d(n,c),d(c,f),d(f,h),d(h,g),d(h,v),X&&X.m(h,null),d(c,_),d(c,V),d(V,A),d(A,S),P=!0,B||(W=Ee(c,"click",function(){hn(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(j,[T]){i=j,i[3]?X?(X.p(i,T),T&8&&m(X,1)):(X=Vl(i),X.c(),m(X,1),X.m(h,null)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),(!P||T&2&&b!==(b=`background-image: url('${i[1]}')`))&&u(h,"style",b),(!P||T&1)&&xe(S,i[0])},i(j){P||(m(a.$$.fragment,j),m(X),P=!0)},o(j){p(a.$$.fragment,j),p(X),P=!1},d(j){j&&(y(e),y(t),y(n)),O(a),X&&X.d(),B=!1,W()}}}function Ic(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,s=!0;const a=()=>t(3,s=!1);return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumb"in r&&t(1,o=r.thumb),"playNextVideo"in r&&t(2,l=r.playNextVideo)},[n,o,l,s,a]}class Mc extends we{constructor(e){super(),ke(this,e,Ic,Vc,be,{title:0,thumb:1,playNextVideo:2},Lc)}}const Ur=(i,e)=>Math.min(+(i+e).toFixed(2),1),qr=(i,e)=>Math.max(+(i-e).toFixed(2),0),Wr=(i,e,t)=>{const n=Ur(e,t);e<1&&i.actions.internal.setVolume(n)},jr=(i,e,t)=>{const n=qr(e,t);e>0&&i.actions.internal.setVolume(n)};function Nc(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Rc(i){let e,t,n,o;const l=i[21].default,s=pn(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(a,r){C(a,e,r),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(a,r){s&&s.p&&(!t||r[0]&1048576)&&bn(s,l,a,a[20],t?gn(l,a[20],r,null):vn(a[20]),null)},i(a){t||(m(s,a),t=!0)},o(a){p(s,a),t=!1},d(a){a&&y(e),s&&s.d(a),i[22](null),n=!1,Xt(o)}}}function Bc(i,e,t){let n,o,l,s,a,r,c,f,h,g,{$$slots:v={},$$scope:b}=e,{isAds:_}=e,{hideContextMenu:V}=e,{toggleFullscreen:A}=e,{showHotKeyHelpers:S}=e,{showKeyMap:P}=e,{fakePlayButtonHandler:B}=e;const W=_t(),X=Gi(),j=W.getLogger().createComponentLog("KeyboardControls component"),T=W.state.playbackState$;F(i,T,ee=>t(26,o=ee));const te=W.ads.playbackState;F(i,te,ee=>t(25,n=ee));const Z=W.state.positionExact$;F(i,Z,ee=>t(31,c=ee));const ie=W.state.duration$;F(i,ie,ee=>t(30,r=ee));const G=W.state.volume$;F(i,G,ee=>t(34,g=ee));const J=W.ui.controls.disabledControls$;F(i,J,ee=>t(29,a=ee));const ce=W.state.muted$;F(i,ce,ee=>t(28,s=ee));const w=W.state.currentSubtitle$;F(i,w,ee=>t(27,l=ee));const le=W.state.currentPlaybackRate$;F(i,le,ee=>t(32,f=ee));const de=W.state.availablePlaybackRates$;F(i,de,ee=>t(33,h=ee));let _e=0,Ne=!0,Le;const ye=()=>Le?.focus(),H=ee=>(ee!==Ne&&(Ne=ee,_e=0),_e+=1,(X.controls.seekStepKeyboard+X.controls.seekStepKeyboard*_e)/1e3),M=ee=>{V();const N=ee.code,Q=!ou.has(N);if(ee.ctrlKey&&Q||ee.altKey&&Q||ee.metaKey)return;const Ie=o===Je.PlaybackState.PLAYING||o===Je.PlaybackState.PAUSED,Ce=_&&(n===Bt.PAUSED||n===Bt.PLAYING),Ae=!Ce&&!a.has(ft.TIMELINE);if(Ie||Ce)switch(j({message:`key down, code: ${N}`}),N){case Fe.KeyJ:case Fe.ArrowLeft:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getPrevEpisode();W.actions.internal.seekToPrevEpisode(x),x&&S({type:Ge.EPISODE_PREV,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!1):X.controls.seekStepKeyboard/1e3,se=Math.max(c-x,0);c>0&&(W.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),S({type:Ge.BACKWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case Fe.KeyL:case Fe.ArrowRight:{if(!Ae)break;if(ee.ctrlKey||ee.altKey){const x=W.actions.internal.getNextEpisode();W.actions.internal.seekToNextEpisode(x),x&&S({type:Ge.EPISODE_NEXT,text:x.text}),ee.preventDefault()}else{const x=ee.shiftKey?H(!0):X.controls.seekStepKeyboard/1e3,se=Math.min(c+x,r);Math.round(c)<Math.round(r)&&(W.actions.internal.seekTime(se,pt.SeekAction.DOUBLE_TAP),S({type:Ge.FORWARD_SEEK,text:x.toString()}),ee.preventDefault())}break}case Fe.ArrowUp:{const x=g,se=X.controls.volumeStepKeyboard,ve=x<=1;if(Wr(W,x,se),ve){const re=Math.round(Ur(x,se)*100).toString();S({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case Fe.ArrowDown:{const x=g,se=X.controls.volumeStepKeyboard,ve=x>=0;if(jr(W,x,se),ve){const re=Math.round(qr(x,se)*100).toString();S({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}ee.preventDefault();break}case Fe.Comma:{if(ee.shiftKey){W.actions.internal.decrementPlaybackRate();const x=h.find(se=>se.value===f);S({type:Ge.RATE_DOWN,text:x?.displayValue}),ee.preventDefault()}else{if(Ce||o!==Je.PlaybackState.PAUSED)break;const x=Math.max(c-X.controls.seekStepFrame/1e3,0);c>0&&(S({type:Ge.BACKWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Fe.Period:{if(ee.shiftKey){W.actions.internal.incrementPlaybackRate();const x=h.find(se=>se.value===f);S({type:Ge.RATE_UP,text:x?.displayValue}),ee.preventDefault()}else{if(Ce||o!==Je.PlaybackState.PAUSED)break;const x=Math.min(c+X.controls.seekStepFrame/1e3,r);c<r&&(S({type:Ge.FORWARD_SEEK}),W.actions.internal.clearDelayedBufferingCheckTimeout(),W.actions.internal.seekTime(x,pt.SeekAction.DOUBLE_TAP),ee.preventDefault())}break}case Fe.KeyK:case Fe.Space:a.has(ft.PLAY_BUTTON)||(B?B():(W.actions.internal.togglePlay(),S({type:o===Je.PlaybackState.PLAYING?Ge.PLAY:Ge.STOP}))),ee.preventDefault();break;case Fe.KeyM:{S({type:s?Ge.VOLUME:Ge.MUTE}),W.actions.internal.toggleMuted(),ee.preventDefault();break}case Fe.KeyF:A(),ee.preventDefault();break;case Fe.KeyC:W.actions.internal.toggleSubtitle(),l.value!=="off"?S({type:Ge.SUBTITLES_ON,text:l?.displayValue}):S({type:Ge.SUBTITLES_OFF}),ee.preventDefault();break;case Fe.KeyI:W.actions.internal.togglePictureInPicture(),ee.preventDefault();break;case Fe.Digit1:case Fe.Numpad1:S(),W.actions.internal.seekToPercent(.1,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit2:case Fe.Numpad2:S(),W.actions.internal.seekToPercent(.2,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit3:case Fe.Numpad3:S(),W.actions.internal.seekToPercent(.3,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit4:case Fe.Numpad4:S(),W.actions.internal.seekToPercent(.4,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit5:case Fe.Numpad5:S(),W.actions.internal.seekToPercent(.5,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit6:case Fe.Numpad6:S(),W.actions.internal.seekToPercent(.6,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit7:case Fe.Numpad7:S(),W.actions.internal.seekToPercent(.7,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit8:case Fe.Numpad8:S(),W.actions.internal.seekToPercent(.8,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit9:case Fe.Numpad9:S(),W.actions.internal.seekToPercent(.9,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Digit0:case Fe.Numpad0:S(),W.actions.internal.seekToPercent(0,pt.SeekAction.DOUBLE_TAP),ee.preventDefault();break;case Fe.Slash:{ee.shiftKey&&X.features.hotKeyMapModal&&(P(),ee.preventDefault());break}case Fe.ShiftLeft:case Fe.ShiftRight:ee.preventDefault();break;default:ne.checkNever(N);break}},Y=ee=>{const N=ee.code;if(ee.ctrlKey||ee.altKey||ee.metaKey)return;const Q=o===Je.PlaybackState.PLAYING||o===Je.PlaybackState.PAUSED,Ie=_&&(n===Bt.PAUSED||n===Bt.PLAYING);if(Q||Ie)switch(N){case Fe.ShiftLeft:case Fe.ShiftRight:_e=0;break}};function ge(ee){je[ee?"unshift":"push"](()=>{Le=ee,t(0,Le)})}return i.$$set=ee=>{"isAds"in ee&&t(13,_=ee.isAds),"hideContextMenu"in ee&&t(14,V=ee.hideContextMenu),"toggleFullscreen"in ee&&t(15,A=ee.toggleFullscreen),"showHotKeyHelpers"in ee&&t(16,S=ee.showHotKeyHelpers),"showKeyMap"in ee&&t(17,P=ee.showKeyMap),"fakePlayButtonHandler"in ee&&t(18,B=ee.fakePlayButtonHandler),"$$scope"in ee&&t(20,b=ee.$$scope)},[Le,T,te,Z,ie,G,J,ce,w,le,de,M,Y,_,V,A,S,P,B,ye,b,v,ge]}class zc extends we{constructor(e){super(),ke(this,e,Bc,Rc,be,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},Nc,[-1,-1])}get focus(){return this.$$.ctx[19]}}function Oc(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 Dc(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 Zr extends we{constructor(e){super(),ke(this,e,null,Dc,be,{},Oc)}}function Hc(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2422_111980"),u(v,"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,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p:K,i:K,o:K,d(b){b&&y(e)}}}class Fc extends we{constructor(e){super(),ke(this,e,null,Hc,be,{})}}function Uc(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 qc(i){let e,t,n,o,l,s,a,r,c,f,h;const g=i[9].default,v=pn(g,i,i[8],null);return{c(){e=k("button"),v&&v.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=i[2]??null,u(e,"aria-hidden",l=i[4]??null),u(e,"aria-label",s=i[5]??null),u(e,"aria-keyshortcuts",a=i[6]??null),u(e,"data-testid",r=i[3]??null)},m(b,_){C(b,e,_),v&&v.m(e,null),c=!0,f||(h=[Ee(e,"pointerdown",ut(ci(i[10]))),Ee(e,"click",ut(ci(function(){hn(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(b,[_]){i=b,v&&v.p&&(!c||_&256)&&bn(v,g,i,i[8],c?gn(g,i[8],_,null):vn(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=i[2]??null))&&(e.disabled=o),(!c||_&16&&l!==(l=i[4]??null))&&u(e,"aria-hidden",l),(!c||_&32&&s!==(s=i[5]??null))&&u(e,"aria-label",s),(!c||_&64&&a!==(a=i[6]??null))&&u(e,"aria-keyshortcuts",a),(!c||_&8&&r!==(r=i[3]??null))&&u(e,"data-testid",r)},i(b){c||(m(v,b),c=!0)},o(b){p(v,b),c=!1},d(b){b&&y(e),v&&v.d(b),f=!1,Xt(h)}}}function Wc(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:s=""}=e,{disabled:a=void 0}=e,{testId:r=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:g=ne.noop}=e;function v(b){Wn.call(this,i,b)}return i.$$set=b=>{"className"in b&&t(0,l=b.className),"style"in b&&t(1,s=b.style),"disabled"in b&&t(2,a=b.disabled),"testId"in b&&t(3,r=b.testId),"ariaHidden"in b&&t(4,c=b.ariaHidden),"ariaLabel"in b&&t(5,f=b.ariaLabel),"ariaKeyShortCut"in b&&t(6,h=b.ariaKeyShortCut),"click"in b&&t(7,g=b.click),"$$scope"in b&&t(8,o=b.$$scope)},[l,s,a,r,c,f,h,g,o,n,v]}class fi extends we{constructor(e){super(),ke(this,e,Wc,qc,be,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},Uc)}}function jc(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 Il(i){let e,t,n,o,l,s=i[2]&&Ml(i);return{c(){e=k("div"),t=k("h3"),n=Oe(i[3]),o=R(),s&&s.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=!0},p(a,r){(!l||r&8)&&xe(n,a[3]),a[2]?s?(s.p(a,r),r&4&&m(s,1)):(s=Ml(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe())},i(a){l||(m(s),l=!0)},o(a){p(s),l=!1},d(a){a&&y(e),s&&s.d()}}}function Ml(i){let e,t;return e=new fi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:U("hotkey_map_modal_close_btn_text"),$$slots:{default:[Zc]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zc(i){let e,t;return e=new Fc({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gc(i){let e,t,n,o,l,s,a=i[1]&&Il(i);const r=i[4].default,c=pn(r,i,i[5],null);return{c(){e=k("div"),t=k("div"),a&&a.c(),n=R(),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),a&&a.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),s=!0},p(f,[h]){f[1]?a?(a.p(f,h),h&2&&m(a,1)):(a=Il(f),a.c(),m(a,1),a.m(t,n)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),c&&c.p&&(!s||h&32)&&bn(c,r,f,f[5],s?gn(r,f[5],h,null):vn(f[5]),null)},i(f){s||(m(a),m(c,f),s=!0)},o(f){p(a),p(c,f),s=!1},d(f){f&&y(e),a&&a.d(),c&&c.d(f)}}}function Kc(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:s=!0}=e,{showCloseCross:a=!0}=e,{title:r}=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,a=c.showCloseCross),"title"in c&&t(3,r=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,s,a,r,n,o]}class Yc extends we{constructor(e){super(),ke(this,e,Kc,Gc,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},jc)}}const Qc=new Set(["BR"]),Nl=i=>{const e=document.createElement("DIV");e.innerHTML=i;const t=e.querySelectorAll("*");let n=t.length;for(;n--;){const o=t[n],l=o.tagName;Qc.has(l)||o.parentElement?.removeChild(o)}return e.innerHTML};function Xc(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 Rl(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Bl(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function zl(i){let e,t,n=Nl(i[9])+"",o,l,s=i[10]+"",a,r;return{c(){e=k("li"),t=k("span"),o=R(),l=k("span"),a=Oe(s),r=R(),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,a),d(e,r)},p(c,f){f&1&&n!==(n=Nl(c[9])+"")&&(t.innerHTML=n),f&1&&s!==(s=c[10]+"")&&xe(a,s)},d(c){c&&y(e)}}}function Ol(i){let e,t,n=i[5]+"",o,l,s,a,r=Vt(i[6]),c=[];for(let f=0;f<r.length;f+=1)c[f]=zl(Bl(i,r,f));return{c(){e=k("div"),t=k("h5"),o=Oe(n),l=R(),s=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();a=R(),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 g=0;g<c.length;g+=1)c[g]&&c[g].m(s,null);d(e,a)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&xe(o,n),h&1){r=Vt(f[6]);let g;for(g=0;g<r.length;g+=1){const v=Bl(f,r,g);c[g]?c[g].p(v,h):(c[g]=zl(v),c[g].c(),c[g].m(s,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=r.length}},d(f){f&&y(e),tn(c,f)}}}function Jc(i){let e,t=Vt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ol(Rl(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=Vt(o[0].groups);let s;for(s=0;s<t.length;s+=1){const a=Rl(o,t,s);n[s]?n[s].p(a,l):(n[s]=Ol(a),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),tn(n,o)}}}function xc(i){let e,t;return e=new Yc({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Jc]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $c(i,e,t){let n;const o=_t(),{data:l,show:s}=o.ui.modals.hotKeyMap;return F(i,l,r=>t(0,n=r)),[n,l,()=>{s.set(!1)}]}class ef extends we{constructor(e){super(),ke(this,e,$c,xc,be,{},Xc)}}function tf(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 nf(i){let e,t;const n=i[1].default,o=pn(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)&&bn(o,n,l,l[0],t?gn(n,l[0],s,null):vn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function of(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class lf extends we{constructor(e){super(),ke(this,e,of,nf,be,{},tf)}}function sf(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 af extends we{constructor(e){super(),ke(this,e,null,sf,be,{})}}function rf(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 uf extends we{constructor(e){super(),ke(this,e,null,rf,be,{})}}function cf(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 ff extends we{constructor(e){super(),ke(this,e,null,cf,be,{})}}function df(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 Gr extends we{constructor(e){super(),ke(this,e,null,df,be,{})}}function mf(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 Kr extends we{constructor(e){super(),ke(this,e,null,mf,be,{})}}const Gn=i=>{switch(i){case Je.VideoQuality.Q_720P:return ff;case Je.VideoQuality.Q_1080P:return Gr;case Je.VideoQuality.Q_1440P:return Kr;case Je.VideoQuality.Q_2160P:return af;case Je.VideoQuality.Q_4320P:return uf}};function hf(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 pf(i){let e,t,n,o,l,s,a=i[1]&&Dl(i);return{c(){e=k("div"),a&&a.c(),t=R(),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"),L(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"),L(e,"triple",i[2])},m(r,c){C(r,e,c),a&&a.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),s=!0},p(r,c){r[1]?a?(a.p(r,c),c&2&&m(a,1)):(a=Dl(r),a.c(),m(a,1),a.m(e,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!s||c&2)&&L(l,"hidden",!!r[1]),(!s||c&4)&&L(e,"triple",r[2])},i(r){s||(m(a),s=!0)},o(r){p(a),s=!1},d(r){r&&y(e),a&&a.d()}}}function gf(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 Dl(i){let e,t;return e=new lf({props:{$$slots:{default:[bf]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function bf(i){let e,t,n;var o=i[1];function l(s){return{}}return o&&(e=ln(o,l())),{c(){e&&D(e.$$.fragment),t=ht()},m(s,a){e&&z(e,s,a),C(s,t,a),n=!0},p(s,a){if(a&2&&o!==(o=s[1])){if(e){he();const r=e;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(e=ln(o,l()),D(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&&p(e.$$.fragment,s),n=!1},d(s){s&&y(t),e&&O(e,s)}}}function vf(i){let e,t,n,o;const l=[gf,pf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function _f(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,o=a.isMobile),"currentQuality"in a&&t(3,l=a.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Gn(l)),i.$$.dirty&2&&t(2,s=!!n&&[Gr,Kr].includes(n))},[o,n,s,l]}class Yr extends we{constructor(e){super(),ke(this,e,_f,vf,be,{isMobile:0,currentQuality:3},hf)}}function kf(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 Qr extends we{constructor(e){super(),ke(this,e,null,kf,be,{})}}function wf(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 yf extends we{constructor(e){super(),ke(this,e,null,wf,be,{})}}function Cf(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 Pf extends we{constructor(e){super(),ke(this,e,null,Cf,be,{})}}function Sf(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 Tf extends we{constructor(e){super(),ke(this,e,null,Sf,be,{})}}function Af(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Ef(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"),L(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&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function Lf(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"),L(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&&L(e,"reverted",o[2])},d(o){o&&y(e)}}}function Vf(i){let e;function t(l,s){return l[1]?Lf:Ef}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 If(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,s;return i.$$set=a=>{"direction"in a&&t(3,n=a.direction),"color"in a&&t(0,o=a.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 yn extends we{constructor(e){super(),ke(this,e,If,Vf,be,{direction:3,color:0},Af)}}function Mf(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 Nf extends we{constructor(e){super(),ke(this,e,null,Mf,be,{})}}function Rf(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 so extends we{constructor(e){super(),ke(this,e,null,Rf,be,{})}}function Bf(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 zf extends we{constructor(e){super(),ke(this,e,null,Bf,be,{})}}function Of(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 Df extends we{constructor(e){super(),ke(this,e,null,Of,be,{})}}function Hf(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 Hl(i,e,t){const n=i.slice();return n[87]=e[t],n}function Fl(i,e,t){const n=i.slice();return n[90]=e[t],n}function Ul(i,e,t){const n=i.slice();return n[93]=e[t],n}function ql(i){let e,t,n,o,l,s,a,r;return{c(){e=k("div"),t=k("div"),t.textContent=`${U("submenu_settings")}`,n=R(),o=k("div"),l=R(),s=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),L(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),a||(r=Ee(o,"click",ut(i[49])),a=!0)},p(c,f){f[0]&128&&L(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(s)),a=!1,r()}}}function Wl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;n=new Yr({});let b=i[27]&&!i[7]&&jl(i);return{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_quality")}`,s=R(),a=k("div"),r=Oe(i[15]),c=R(),b&&b.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(_,V){C(_,e,V),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),b&&b.m(a,null),h=!0,g||(v=Ee(e,"click",ut(i[50])),g=!0)},p(_,V){(!h||V[0]&32768)&&xe(r,_[15]),_[27]&&!_[7]?b?(b.p(_,V),V[0]&134217856&&m(b,1)):(b=jl(_),b.c(),m(b,1),b.m(a,null)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||V[0]&33554432&&f!==(f=U("aria_label_menu_quality",{actual:_[25]})))&&u(e,"aria-label",f),(!h||V[0]&128)&&L(e,"item-mobile",_[7])},i(_){h||(m(n.$$.fragment,_),m(b),h=!0)},o(_){p(n.$$.fragment,_),p(b),h=!1},d(_){_&&y(e),O(n),b&&b.d(),g=!1,v()}}}function jl(i){let e,t,n;var o=i[27];function l(s){return{}}return o&&(t=ln(o,l())),{c(){e=k("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&134217728&&o!==(o=s[27])){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=ln(o,l()),D(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&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function Zl(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return n=new Tf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_playback_rate")}`,s=R(),a=k("div"),r=Oe(i[3]),c=Oe("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),d(a,c),h=!0,g||(v=Ee(e,"click",ut(i[54])),g=!0)},p(b,_){(!h||_[0]&8)&&xe(r,b[3]),(!h||_[0]&67108864&&f!==(f=U("aria_label_menu_rate",{actual:b[26]})))&&u(e,"aria-label",f),(!h||_[0]&128)&&L(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Gl(i){let e,t,n,o,l,s,a,r=i[28].displayValue+"",c,f,h,g,v;return n=new Qr({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("subtitles_caption")}`,s=R(),a=k("div"),c=Oe(r),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=U("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,c),h=!0,g||(v=Ee(e,"click",ut(i[56])),g=!0)},p(b,_){(!h||_[0]&268435456)&&r!==(r=b[28].displayValue+"")&&xe(c,r),(!h||_[0]&268435456&&f!==(f=U("aria_label_menu_subtitle",{actual:b[28].displayValue})))&&u(e,"aria-label",f),(!h||_[0]&128)&&L(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),h=!0)},o(b){p(n.$$.fragment,b),h=!1},d(b){b&&y(e),O(n),g=!1,v()}}}function Kl(i){let e,t,n,o,l,s,a,r,c,f,h,g;return n=new Pf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("menu_traffic_saving")}`,s=R(),a=k("div"),r=Oe(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(a,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=U("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),L(e,"item-mobile",i[7])},m(v,b){C(v,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,s),d(e,a),d(a,r),f=!0,h||(g=Ee(e,"click",ut(i[51])),h=!0)},p(v,b){(!f||b[0]&16777216)&&xe(r,v[24]),(!f||b[0]&16777216&&c!==(c=U("aria_label_menu_traffic_saving",{actual:v[24]})))&&u(e,"aria-label",c),(!f||b[0]&128)&&L(e,"item-mobile",v[7])},i(v){f||(m(n.$$.fragment,v),f=!0)},o(v){p(n.$$.fragment,v),f=!1},d(v){v&&y(e),O(n),h=!1,g()}}}function Yl(i){let e,t,n,o,l,s,a,r;return n=new yf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("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",U("aria_label_menu_download")),L(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,a||(r=Ee(e,"click",ut(i[59])),a=!0)},p(c,f){(!s||f[0]&128)&&L(e,"item-mobile",c[7])},i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function Ql(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A=i[30].showSupport&&Ff(i);return o=new zf({}),f=new Df({}),{c(){A&&A.c(),e=R(),t=k("li"),n=k("div"),D(o.$$.fragment),l=R(),s=k("div"),s.textContent=`${U("menu_copy_debug")}`,a=R(),r=k("li"),c=k("div"),D(f.$$.fragment),h=R(),g=k("div"),g.textContent=`${U("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",U("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(g,"class","menu-title v-79x8pk"),u(r,"class","item item-mobile v-79x8pk"),u(r,"role","menuitem"),u(r,"tabindex","0"),u(r,"aria-label",v=i[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable"))},m(S,P){A&&A.m(S,P),C(S,e,P),C(S,t,P),d(t,n),z(o,n,null),d(t,l),d(t,s),C(S,a,P),C(S,r,P),d(r,c),z(f,c,null),d(r,h),d(r,g),b=!0,_||(V=[Ee(t,"click",ut(i[61])),Ee(r,"click",ut(i[62]))],_=!0)},p(S,P){S[30].showSupport&&A.p(S,P),(!b||P[0]&536870912&&v!==(v=S[29]?U("aria_label_menu_debug_overlay_disable"):U("aria_label_menu_debug_overlay_enable")))&&u(r,"aria-label",v)},i(S){b||(m(A),m(o.$$.fragment,S),m(f.$$.fragment,S),b=!0)},o(S){p(A),p(o.$$.fragment,S),p(f.$$.fragment,S),b=!1},d(S){S&&(y(e),y(t),y(a),y(r)),A&&A.d(S),O(o),O(f),_=!1,Xt(V)}}}function Ff(i){let e,t,n,o,l,s,a,r;return n=new Nf({}),{c(){e=k("li"),t=k("div"),D(n.$$.fragment),o=R(),l=k("div"),l.textContent=`${U("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",`${U("menu_report")}. ${U("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,a||(r=Ee(e,"click",ut(i[60])),a=!0)},p:K,i(c){s||(m(n.$$.fragment,c),s=!0)},o(c){p(n.$$.fragment,c),s=!1},d(c){c&&y(e),O(n),a=!1,r()}}}function Xl(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Jl(i){let e,t,n;var o=Gn(i[93].value);function l(s){return{}}return o&&(t=ln(o,l())),{c(){e=k("div"),t&&D(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(s,a){C(s,e,a),t&&z(t,e,null),n=!0},p(s,a){if(a[0]&256&&o!==(o=Gn(s[93].value))){if(t){he();const r=t;p(r.$$.fragment,1,0,()=>{O(r,1)}),pe()}o?(t=ln(o,l()),D(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&&p(t.$$.fragment,s),n=!1},d(s){s&&y(e),t&&O(t)}}}function xl(i){let e,t,n,o=i[93].displayValue+"",l,s,a=!i[7]&&Gn(i[93].value),r,c,f,h,g,v,b=i[93].selected&&Xl(),_=a&&Jl(i);function V(){return i[76](i[93])}return{c(){e=k("li"),b&&b.c(),t=R(),n=k("div"),l=Oe(o),s=R(),_&&_.c(),r=R(),u(n,"class","v-79x8pk"),L(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=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),L(e,"item-mobile",i[7])},m(A,S){C(A,e,S),b&&b.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),_&&_.m(e,null),d(e,r),h=!0,g||(v=Ee(e,"click",ut(V)),g=!0)},p(A,S){i=A,i[93].selected?b?S[0]&256&&m(b,1):(b=Xl(),b.c(),m(b,1),b.m(e,t)):b&&(he(),p(b,1,1,()=>{b=null}),pe()),(!h||S[0]&256)&&o!==(o=i[93].displayValue+"")&&xe(l,o),(!h||S[0]&128)&&L(n,"quality-title-mobile",i[7]),S[0]&384&&(a=!i[7]&&Gn(i[93].value)),a?_?(_.p(i,S),S[0]&384&&m(_,1)):(_=Jl(i),_.c(),m(_,1),_.m(e,r)):_&&(he(),p(_,1,1,()=>{_=null}),pe()),(!h||S[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||S[0]&256&&f!==(f=U("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||S[0]&128)&&L(e,"item-mobile",i[7])},i(A){h||(m(b),m(_),h=!0)},o(A){p(b),p(_),h=!1},d(A){A&&y(e),b&&b.d(),_&&_.d(),g=!1,v()}}}function $l(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function es(i){let e,t,n,o=i[90].displayValue+"",l,s,a,r,c,f,h,g=i[90].selected&&$l();function v(){return i[78](i[90])}return{c(){e=k("li"),g&&g.c(),t=R(),n=k("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(v)),f=!0)},p(b,_){i=b,i[90].selected?g?_[0]&16&&m(g,1):(g=$l(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&16)&&o!==(o=i[90].displayValue+"")&&xe(l,o),(!c||_[0]&128)&&L(n,"quality-title-mobile",i[7]),(!c||_[0]&16&&a!==(a=i[90].value))&&u(e,"data-value",a),(!c||_[0]&16&&r!==(r=U("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&L(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function ts(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function is(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function ns(i){let e,t,n;return t=new so({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function os(i){let e,t,n,o=i[87].displayValue+"",l,s,a,r,c,f,h,g=i[87].selected&&ns();function v(){return i[82](i[87])}return{c(){e=k("li"),g&&g.c(),t=R(),n=k("div"),l=Oe(o),s=R(),u(n,"class","v-79x8pk"),L(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",a=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),L(e,"item-mobile",i[7])},m(b,_){C(b,e,_),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,s),c=!0,f||(h=Ee(e,"click",ut(v)),f=!0)},p(b,_){i=b,i[87].selected?g?_[0]&64&&m(g,1):(g=ns(),g.c(),m(g,1),g.m(e,t)):g&&(he(),p(g,1,1,()=>{g=null}),pe()),(!c||_[0]&64)&&o!==(o=i[87].displayValue+"")&&xe(l,o),(!c||_[0]&128)&&L(n,"quality-title-mobile",i[7]),(!c||_[0]&64&&a!==(a=i[87].value))&&u(e,"data-value",a),(!c||_[0]&64&&r!==(r=U("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",r),(!c||_[0]&128)&&L(e,"item-mobile",i[7])},i(b){c||(m(g),c=!0)},o(b){p(g),c=!1},d(b){b&&y(e),g&&g.d(),f=!1,h()}}}function Uf(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,Y,ge,ee,N,Q,Ie,Ce,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt=i[7]&&ql(i),lt=i[23]&&Wl(i),ue=i[22]&&Zl(i),et=i[21]&&Gl(i),Qe=i[20]&&Kl(i),nt=i[19]&&Yl(i),Ke=i[7]&&Ql(i);v=new yn({props:{direction:"left"}});let dt=Vt(i[8]),tt=[];for(let me=0;me<dt.length;me+=1)tt[me]=xl(Ul(i,dt,me));const Mt=me=>p(tt[me],1,1,()=>{tt[me]=null});j=new yn({props:{direction:"left"}});let yt=Vt(i[4]),ot=[];for(let me=0;me<yt.length;me+=1)ot[me]=es(Fl(i,yt,me));const Ot=me=>p(ot[me],1,1,()=>{ot[me]=null});de=new yn({props:{direction:"left"}});let ct=!i[5]&&ts(),Ze=i[5]&&is();it=new yn({props:{direction:"left"}});let Tt=Vt(i[6]),st=[];for(let me=0;me<Tt.length;me+=1)st[me]=os(Hl(i,Tt,me));const ii=me=>p(st[me],1,1,()=>{st[me]=null});return{c(){e=k("div"),t=k("div"),mt&&mt.c(),n=R(),o=k("ul"),lt&&lt.c(),l=R(),ue&&ue.c(),s=R(),et&&et.c(),a=R(),Qe&&Qe.c(),r=R(),nt&&nt.c(),c=R(),Ke&&Ke.c(),f=R(),h=k("div"),g=k("div"),D(v.$$.fragment),b=R(),_=k("div"),_.textContent=`${U("submenu_quality")}`,V=R(),A=k("div"),S=R(),P=k("ul");for(let me=0;me<tt.length;me+=1)tt[me].c();B=R(),W=k("div"),X=k("div"),D(j.$$.fragment),T=R(),te=k("div"),te.textContent=`${U("submenu_playback_rate")}`,Z=R(),ie=k("div"),G=R(),J=k("ul");for(let me=0;me<ot.length;me+=1)ot[me].c();ce=R(),w=k("div"),le=k("div"),D(de.$$.fragment),_e=R(),Ne=k("div"),Ne.textContent=`${U("submenu_traffic_saving")}`,Le=R(),ye=k("div"),H=R(),M=k("ul"),Y=k("li"),ct&&ct.c(),ge=R(),ee=k("div"),ee.textContent=`${U("traffic_saving_disable")}`,N=R(),Q=k("li"),Ze&&Ze.c(),Ie=R(),Ce=k("div"),Ce.textContent=`${U("traffic_saving_enable")}`,Ae=R(),x=k("div"),se=R(),ve=k("div"),re=k("span"),re.textContent=`${U("traffic_saving_helper_text")}`,qe=R(),We=k("div"),$e=k("div"),D(it.$$.fragment),Be=R(),rt=k("div"),rt.textContent=`${U("subtitles_caption")}`,St=R(),Re=k("ul");for(let me=0;me<st.length;me+=1)st[me].c();u(o,"class","items v-79x8pk"),L(o,"items-mobile",i[7]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),L(t,"menu-desktop",!i[7]),L(t,"menu-mobile",i[7]),L(t,"hidden",!i[10]),u(g,"class","item menu-header v-79x8pk"),u(g,"aria-label",U("aria_label_submenu_back")),L(g,"item-mobile",i[7]),u(A,"class","menu-divider v-79x8pk"),u(P,"class","items v-79x8pk"),u(P,"style",i[16]),L(P,"items-mobile",i[7]),u(h,"class","menu menu-subList v-79x8pk"),L(h,"menu-desktop",!i[7]),L(h,"menu-mobile",i[7]),L(h,"hidden",!i[11]),u(X,"class","item menu-header v-79x8pk"),u(X,"aria-label",U("aria_label_submenu_back")),L(X,"item-mobile",i[7]),u(ie,"class","menu-divider v-79x8pk"),u(J,"class","items v-79x8pk"),u(J,"style",i[17]),L(J,"items-mobile",i[7]),u(W,"class","menu menu-subList v-79x8pk"),L(W,"menu-desktop",!i[7]),L(W,"menu-mobile",i[7]),L(W,"hidden",!i[12]),u(le,"class","item menu-header v-79x8pk"),u(le,"aria-label",U("aria_label_submenu_back")),L(le,"item-mobile",i[7]),u(ye,"class","menu-divider v-79x8pk"),u(ee,"class","v-79x8pk"),L(ee,"quality-title-mobile",i[7]),u(Y,"class","item item-traffic-saving v-79x8pk"),u(Y,"role","menuitem"),u(Y,"tabindex","0"),u(Y,"aria-label",U("aria_label_submenu_traffic_saving_off")),L(Y,"item-mobile",i[7]),u(Ce,"class","v-79x8pk"),L(Ce,"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",`${U("aria_label_submenu_traffic_saving_on")}. ${U("traffic_saving_helper_text")}`),L(Q,"item-mobile",i[7]),u(M,"class","items v-79x8pk"),u(M,"style",i[18]),L(M,"items-mobile",i[7]),u(x,"class","menu-divider v-79x8pk"),u(re,"class","v-79x8pk"),u(ve,"class","item item-helper-text v-79x8pk"),L(ve,"item-mobile",i[7]),u(w,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),L(w,"menu-desktop",!i[7]),L(w,"menu-mobile",i[7]),L(w,"hidden",!i[14]),u($e,"class","item menu-header v-79x8pk"),u($e,"aria-label",U("aria_label_submenu_back")),L($e,"item-mobile",i[7]),u(Re,"class","items v-79x8pk"),L(Re,"items-mobile",i[7]),u(We,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),L(We,"menu-desktop",!i[7]),L(We,"menu-mobile",i[7]),L(We,"hidden",!i[13]),u(e,"class","v-79x8pk"),L(e,"hidden",!i[9]),L(e,"container-mobile",i[7])},m(me,Pe){C(me,e,Pe),d(e,t),mt&&mt.m(t,null),d(t,n),d(t,o),lt&&lt.m(o,null),d(o,l),ue&&ue.m(o,null),d(o,s),et&&et.m(o,null),d(o,a),Qe&&Qe.m(o,null),d(o,r),nt&&nt.m(o,null),d(o,c),Ke&&Ke.m(o,null),d(e,f),d(e,h),d(h,g),z(v,g,null),d(g,b),d(g,_),i[75](g),d(h,V),d(h,A),d(h,S),d(h,P);for(let Me=0;Me<tt.length;Me+=1)tt[Me]&&tt[Me].m(P,null);d(e,B),d(e,W),d(W,X),z(j,X,null),d(X,T),d(X,te),i[77](X),d(W,Z),d(W,ie),d(W,G),d(W,J);for(let Me=0;Me<ot.length;Me+=1)ot[Me]&&ot[Me].m(J,null);d(e,ce),d(e,w),d(w,le),z(de,le,null),d(le,_e),d(le,Ne),i[79](le),d(w,Le),d(w,ye),d(w,H),d(w,M),d(M,Y),ct&&ct.m(Y,null),d(Y,ge),d(Y,ee),d(M,N),d(M,Q),Ze&&Ze.m(Q,null),d(Q,Ie),d(Q,Ce),d(w,Ae),d(w,x),d(w,se),d(w,ve),d(ve,re),d(e,qe),d(e,We),d(We,$e),z(it,$e,null),d($e,Be),d($e,rt),d(We,St),d(We,Re);for(let Me=0;Me<st.length;Me+=1)st[Me]&&st[Me].m(Re,null);Ve=!0,wt||(zt=[Ee(g,"click",ut(i[58])),Ee(X,"click",ut(i[58])),Ee(le,"click",ut(i[58])),Ee(Y,"click",ut(i[80])),Ee(Q,"click",ut(i[81])),Ee($e,"click",ut(i[58]))],wt=!0)},p(me,Pe){if(me[7]?mt?mt.p(me,Pe):(mt=ql(me),mt.c(),mt.m(t,n)):mt&&(mt.d(1),mt=null),me[23]?lt?(lt.p(me,Pe),Pe[0]&8388608&&m(lt,1)):(lt=Wl(me),lt.c(),m(lt,1),lt.m(o,l)):lt&&(he(),p(lt,1,1,()=>{lt=null}),pe()),me[22]?ue?(ue.p(me,Pe),Pe[0]&4194304&&m(ue,1)):(ue=Zl(me),ue.c(),m(ue,1),ue.m(o,s)):ue&&(he(),p(ue,1,1,()=>{ue=null}),pe()),me[21]?et?(et.p(me,Pe),Pe[0]&2097152&&m(et,1)):(et=Gl(me),et.c(),m(et,1),et.m(o,a)):et&&(he(),p(et,1,1,()=>{et=null}),pe()),me[20]?Qe?(Qe.p(me,Pe),Pe[0]&1048576&&m(Qe,1)):(Qe=Kl(me),Qe.c(),m(Qe,1),Qe.m(o,r)):Qe&&(he(),p(Qe,1,1,()=>{Qe=null}),pe()),me[19]?nt?(nt.p(me,Pe),Pe[0]&524288&&m(nt,1)):(nt=Yl(me),nt.c(),m(nt,1),nt.m(o,c)):nt&&(he(),p(nt,1,1,()=>{nt=null}),pe()),me[7]?Ke?(Ke.p(me,Pe),Pe[0]&128&&m(Ke,1)):(Ke=Ql(me),Ke.c(),m(Ke,1),Ke.m(o,null)):Ke&&(he(),p(Ke,1,1,()=>{Ke=null}),pe()),(!Ve||Pe[0]&128)&&L(o,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(t,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(t,"menu-mobile",me[7]),(!Ve||Pe[0]&1024)&&L(t,"hidden",!me[10]),(!Ve||Pe[0]&128)&&L(g,"item-mobile",me[7]),Pe[0]&384|Pe[1]&2097152){dt=Vt(me[8]);let Me;for(Me=0;Me<dt.length;Me+=1){const Pt=Ul(me,dt,Me);tt[Me]?(tt[Me].p(Pt,Pe),m(tt[Me],1)):(tt[Me]=xl(Pt),tt[Me].c(),m(tt[Me],1),tt[Me].m(P,null))}for(he(),Me=dt.length;Me<tt.length;Me+=1)Mt(Me);pe()}if((!Ve||Pe[0]&65536)&&u(P,"style",me[16]),(!Ve||Pe[0]&128)&&L(P,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(h,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(h,"menu-mobile",me[7]),(!Ve||Pe[0]&2048)&&L(h,"hidden",!me[11]),(!Ve||Pe[0]&128)&&L(X,"item-mobile",me[7]),Pe[0]&144|Pe[1]&16777216){yt=Vt(me[4]);let Me;for(Me=0;Me<yt.length;Me+=1){const Pt=Fl(me,yt,Me);ot[Me]?(ot[Me].p(Pt,Pe),m(ot[Me],1)):(ot[Me]=es(Pt),ot[Me].c(),m(ot[Me],1),ot[Me].m(J,null))}for(he(),Me=yt.length;Me<ot.length;Me+=1)Ot(Me);pe()}if((!Ve||Pe[0]&131072)&&u(J,"style",me[17]),(!Ve||Pe[0]&128)&&L(J,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(W,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(W,"menu-mobile",me[7]),(!Ve||Pe[0]&4096)&&L(W,"hidden",!me[12]),(!Ve||Pe[0]&128)&&L(le,"item-mobile",me[7]),me[5]?ct&&(he(),p(ct,1,1,()=>{ct=null}),pe()):ct?Pe[0]&32&&m(ct,1):(ct=ts(),ct.c(),m(ct,1),ct.m(Y,ge)),(!Ve||Pe[0]&128)&&L(ee,"quality-title-mobile",me[7]),(!Ve||Pe[0]&128)&&L(Y,"item-mobile",me[7]),me[5]?Ze?Pe[0]&32&&m(Ze,1):(Ze=is(),Ze.c(),m(Ze,1),Ze.m(Q,Ie)):Ze&&(he(),p(Ze,1,1,()=>{Ze=null}),pe()),(!Ve||Pe[0]&128)&&L(Ce,"quality-title-mobile",me[7]),(!Ve||Pe[0]&128)&&L(Q,"item-mobile",me[7]),(!Ve||Pe[0]&262144)&&u(M,"style",me[18]),(!Ve||Pe[0]&128)&&L(M,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(ve,"item-mobile",me[7]),(!Ve||Pe[0]&128)&&L(w,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(w,"menu-mobile",me[7]),(!Ve||Pe[0]&16384)&&L(w,"hidden",!me[14]),(!Ve||Pe[0]&128)&&L($e,"item-mobile",me[7]),Pe[0]&192|Pe[1]&67108864){Tt=Vt(me[6]);let Me;for(Me=0;Me<Tt.length;Me+=1){const Pt=Hl(me,Tt,Me);st[Me]?(st[Me].p(Pt,Pe),m(st[Me],1)):(st[Me]=os(Pt),st[Me].c(),m(st[Me],1),st[Me].m(Re,null))}for(he(),Me=Tt.length;Me<st.length;Me+=1)ii(Me);pe()}(!Ve||Pe[0]&128)&&L(Re,"items-mobile",me[7]),(!Ve||Pe[0]&128)&&L(We,"menu-desktop",!me[7]),(!Ve||Pe[0]&128)&&L(We,"menu-mobile",me[7]),(!Ve||Pe[0]&8192)&&L(We,"hidden",!me[13]),(!Ve||Pe[0]&512)&&L(e,"hidden",!me[9]),(!Ve||Pe[0]&128)&&L(e,"container-mobile",me[7])},i(me){if(!Ve){m(lt),m(ue),m(et),m(Qe),m(nt),m(Ke),m(v.$$.fragment,me);for(let Pe=0;Pe<dt.length;Pe+=1)m(tt[Pe]);m(j.$$.fragment,me);for(let Pe=0;Pe<yt.length;Pe+=1)m(ot[Pe]);m(de.$$.fragment,me),m(ct),m(Ze),m(it.$$.fragment,me);for(let Pe=0;Pe<Tt.length;Pe+=1)m(st[Pe]);Ve=!0}},o(me){p(lt),p(ue),p(et),p(Qe),p(nt),p(Ke),p(v.$$.fragment,me),tt=tt.filter(Boolean);for(let Pe=0;Pe<tt.length;Pe+=1)p(tt[Pe]);p(j.$$.fragment,me),ot=ot.filter(Boolean);for(let Pe=0;Pe<ot.length;Pe+=1)p(ot[Pe]);p(de.$$.fragment,me),p(ct),p(Ze),p(it.$$.fragment,me),st=st.filter(Boolean);for(let Pe=0;Pe<st.length;Pe+=1)p(st[Pe]);Ve=!1},d(me){me&&y(e),mt&&mt.d(),lt&&lt.d(),ue&&ue.d(),et&&et.d(),Qe&&Qe.d(),nt&&nt.d(),Ke&&Ke.d(),O(v),i[75](null),tn(tt,me),O(j),i[77](null),tn(ot,me),O(de),i[79](null),ct&&ct.d(),Ze&&Ze.d(),O(it),tn(st,me),wt=!1,Xt(zt)}}}const No=18;function qf(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,{supportLink:X}=e,{playerControlsHeight:j=0}=e,{returnFocus:T}=e;const te=_t(),Z=Gi(),ie=te.state.currentQuality$;F(i,ie,Se=>t(66,s=Se));const G=te.state.availableQualities$;F(i,G,Se=>t(8,S=Se));const J=te.state.autoQualityLimitingAvailable$;F(i,J,Se=>t(70,g=Se));const ce=te.state.isAutoQualityEnabled$;F(i,ce,Se=>t(67,a=Se));const w=te.state.currentPlaybackRate$;F(i,w,Se=>t(3,o=Se));const le=te.state.availablePlaybackRates$;F(i,le,Se=>t(4,l=Se));const de=te.state.currentSubtitle$;F(i,de,Se=>t(28,B=Se));const _e=te.state.availableSubtitlesList$;F(i,_e,Se=>t(6,h=Se));const Ne=te.state.canDownload,Le=te.state.hasMpegSources$;F(i,Le,Se=>t(71,v=Se));const ye=te.ui.settingsMenuVisible;F(i,ye,Se=>t(9,P=Se));const H=te.ui.isMobile;F(i,H,Se=>t(7,_=Se));const M=te.ui.mobileNotReportControlHidden$;F(i,M,Se=>t(68,c=Se));const Y=te.state.canChangePlaybackSpeed$;F(i,Y,Se=>t(69,f=Se));const ge=te.ui.isFullscreen;F(i,ge,Se=>t(74,A=Se));const ee=te.state.trafficSavingEnabled$;F(i,ee,Se=>t(5,r=Se));const N=te.ui.playerSize;F(i,N,Se=>t(73,V=Se));const Q=te.ui.debugPanelVisible;F(i,Q,Se=>t(29,W=Se));const Ie=te.ui.playerSize;F(i,Ie,Se=>t(72,b=Se));const Ce=te.actions.internal.downloadVideo;let Ae=!0,x=!1,se=!1,ve=!1,re=!1;function qe(){T?.(),ye.set(!1)}function We(){t(10,Ae=!1),t(11,x=!0)}function $e(){t(10,Ae=!1),t(14,re=!0)}function it(Se){te.actions.internal.setQuality(Se),qe()}function Be(Se){te.actions.internal.setTrafficSavingEnabled(Se),qe()}function rt(){t(10,Ae=!1),t(12,se=!0)}function St(Se){te.actions.internal.setPlaybackRate(Se),qe()}function Re(){t(10,Ae=!1),t(13,ve=!0)}function Ve(Se){te.actions.internal.setSubtitle(Se),qe()}function wt(){t(10,Ae=!0),t(11,x=!1),t(12,se=!1),t(13,ve=!1),t(14,re=!1)}function zt(){Ce(),qe()}function mt(){window.open(X,"_blank"),qe(),te.actions.internal.pause()}function lt(){Wo(te.actions.internal.getDebugTextData()),qe()}function ue(){Q.set(!0),qe()}function et(Se,Nt,Mi){if(!Se)return"...";const ni=Nt.find(_i=>_i.value===Se),vi=ni?ni.displayValue:Se;return Mi?Se===Je.VideoQuality.INVARIANT?U("auto_quality_invariant"):U("auto_quality",{actual:vi}):vi}let Qe,nt,Ke,dt,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me;function Pe(Se){je[Se?"unshift":"push"](()=>{nt=Se,t(0,nt)})}const Me=Se=>it(Se.value);function Pt(Se){je[Se?"unshift":"push"](()=>{Ke=Se,t(1,Ke)})}const Vi=Se=>St(Se.value);function Jt(Se){je[Se?"unshift":"push"](()=>{dt=Se,t(2,dt)})}const bi=()=>Be(!1),Ii=()=>Be(!0),Lt=Se=>Ve(Se);return i.$$set=Se=>{"supportLink"in Se&&t(63,X=Se.supportLink),"playerControlsHeight"in Se&&t(64,j=Se.playerControlsHeight),"returnFocus"in Se&&t(65,T=Se.returnFocus)},i.$$.update=()=>{if(i.$$.dirty[0]&512&&P&&(t(10,Ae=!0),t(11,x=!1),t(12,se=!1),t(13,ve=!1),t(14,re=!1)),i.$$.dirty[2]&16&&t(27,n=Gn(s)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,Qe=et(s,S,a)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(_&&A)t(16,tt=`max-height: ${Math.round(V.height*.6)}px`);else if(_)t(16,tt="");else{const Se=b.height-No-(nt?.clientHeight??0)-j;t(16,tt=`max-height: ${Se}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(_)t(17,Mt="");else{const Se=b.height-No-(Ke?.clientHeight??0)-j;t(17,Mt=`max-height: ${Se}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(_)t(18,yt="");else{const Se=b.height-No-(dt?.clientHeight??0)-j;t(18,yt=`max-height: ${Se}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,ot=Ne&&v&&!c),i.$$.dirty[2]&320&&t(20,Ot=Z.features.trafficSaving&&!c&&g),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,ct=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ze=!!f&&!c),i.$$.dirty[2]&64&&t(23,Tt=!c),i.$$.dirty[0]&32&&t(24,st=U(r?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,ii=a?U("auto_quality_option"):s),i.$$.dirty[0]&24&&t(26,me=l.find(Se=>Se.value===o)?.displayValue)},[nt,Ke,dt,o,l,r,h,_,S,P,Ae,x,se,ve,re,Qe,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me,n,B,W,Z,ie,G,J,ce,w,le,de,_e,Le,ye,H,M,Y,ge,ee,N,Q,Ie,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt,lt,ue,X,j,T,s,a,c,f,g,v,b,V,A,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt]}class Xr extends we{constructor(e){super(),ke(this,e,qf,Uf,be,{supportLink:63,playerControlsHeight:64,returnFocus:65},Hf,[-1,-1,-1,-1])}}function Wf(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function jf(i){let e,t,n;return t=new Yr({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=k("span"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Zf(i){let e,t;return e=new fi({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[jf]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gf(i,e,t){let n,o,l;const s=_t(),a=s.state.currentQuality$;F(i,a,g=>t(2,l=g));const r=s.ui.settingsMenuVisible;F(i,r,g=>t(7,n=g));const c=s.ui.isMobile;F(i,c,g=>t(1,o=g));let f;function h(){r.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=U(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,a,r,c,h,n]}class Qo extends we{constructor(e){super(),ke(this,e,Gf,Zf,be,{},Wf)}}function Kf(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 Yf extends we{constructor(e){super(),ke(this,e,null,Kf,be,{})}}function Qf(i){let e,t;return e=new Qr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xf(i){let e,t;return e=new Yf({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Jf(i){let e,t,n,o;const l=[Xf,Qf],s=[];function a(r,c){return r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e!==f&&(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t||(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function xf(i){let e,t;return e=new fi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Co[Fe.KeyC],$$slots:{default:[Jf]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $f(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=U(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class e0 extends we{constructor(e){super(),ke(this,e,$f,xf,be,{isSubtitlesEnabled:0,click:1})}}function t0(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 ls(i){let e,t;return{c(){e=k("span"),t=Oe(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&y(e)}}}function i0(i){let e,t,n,o,l,s=i[2]&&ls(i);return{c(){e=k("div"),t=k("span"),n=Oe(i[4]),o=R(),s&&s.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Mn(()=>i[7].call(e)),L(e,"mobile",i[1])},m(a,r){C(a,e,r),d(e,t),d(t,n),d(e,o),s&&s.m(e,null),l=wo(e,i[7].bind(e))},p(a,[r]){r&16&&xe(n,a[4]),a[2]?s?s.p(a,r):(s=ls(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&L(e,"mobile",a[1])},i:K,o:K,d(a){a&&y(e),s&&s.d(),l()}}}function n0(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:s=!0}=e,{width:a}=e,r,c;function f(){a=this.clientWidth,t(0,a)}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,a=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=mn(o)),i.$$.dirty&64&&t(4,c=mn(l))},[a,n,s,r,c,o,l,f]}class Jr extends we{constructor(e){super(),ke(this,e,n0,i0,be,{isMobile:1,duration:5,position:6,showDuration:2,width:0},t0)}}function o0(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 l0(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(a,r){C(a,e,r),d(e,t),d(t,n),d(t,o),d(t,l)},p(a,[r]){r&1&&u(e,"data-value",a[0]),r&1&&s!==(s="volume-"+a[0]+"-icon")&&u(e,"data-testid",s)},i:K,o:K,d(a){a&&y(e)}}}function s0(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(a,r)=>r?"off":a>.5?"max":a>.2?"mid":a>0?"min":"off";let s;return i.$$set=a=>{"volume"in a&&t(1,n=a.volume),"muted"in a&&t(2,o=a.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,s=l(n,o))},[s,n,o]}class So extends we{constructor(e){super(),ke(this,e,s0,l0,be,{volume:1,muted:2},o0)}}function a0(i){let e,t;const n=i[4].default,o=pn(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)&&bn(o,n,l,l[3],t?gn(n,l[3],s,null):vn(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){p(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function r0(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const a=_t().ui.overlayContainer$;F(i,a,g=>t(2,n=g));let r;const c=g=>{!g||!r||!g.contains(r)||g.removeChild(r)},f=g=>{!g||!r||g.contains(r)||g.appendChild(r)};Zi(()=>(f(n),()=>c(n)));function h(g){je[g?"unshift":"push"](()=>{r=g,t(0,r)})}return i.$$set=g=>{"$$scope"in g&&t(3,l=g.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[r,a,n,l,o,h]}class u0 extends we{constructor(e){super(),ke(this,e,r0,a0,be,{})}}function c0(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 ss(i){let e,t;return e=new u0({props:{$$slots:{default:[f0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function f0(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("div"),n=Oe(i[1]),o=R(),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",a=`transform: translate(${i[6]}px, ${i[7]}px);`),L(e,"active",i[0])},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(r,c){c&2&&xe(n,r[1]),c&32&&s!==(s=`transform: translate(${r[5]}px, ${r[8]}px);`)&&u(l,"style",s),c&192&&a!==(a=`transform: translate(${r[6]}px, ${r[7]}px);`)&&u(e,"style",a),c&1&&L(e,"active",r[0])},d(r){r&&y(e),i[17](null)}}}function d0(i){let e,t,n,o,l,s;const a=i[15].default,r=pn(a,i,i[18],null);let c=i[1]&&ss(i);return{c(){e=k("div"),r&&r.c(),t=R(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-1jbbzcj"),L(e,"full-width",i[2])},m(f,h){C(f,e,h),r&&r.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]){r&&r.p&&(!o||h&262144)&&bn(r,a,f,f[18],o?gn(a,f[18],h,null):vn(f[18]),null),(!o||h&4)&&L(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&m(c,1)):(c=ss(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(he(),p(c,1,1,()=>{c=null}),pe())},i(f){o||(m(r,f),m(c),o=!0)},o(f){p(r,f),p(c),o=!1},d(f){f&&(y(e),y(t),y(n)),r&&r.d(f),i[16](null),c&&c.d(f),l=!1,Xt(s)}}}const ho=5;function m0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{content:a=""}=e,{active:r=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,g,v,b,_=0,V=ho,A=0,S=0;const P=Gi(),B=_t(),W=B.ui.playerSize;F(i,W,w=>t(21,o=w));const X=B.ui.overlayContainer$;F(i,X,w=>t(20,n=w));const j=B.getLogger().createComponentLog("Tooltip component"),T=()=>{if(!n)return;const w=n.getBoundingClientRect(),le=g.getBoundingClientRect(),de=le.width,_e=v.clientWidth,Ne=o.width,Le=(de-_e)/2,ye=le.left+c-w.left;let H=ye+Le;const M=le.top+f-w.top;let Y=_e/2-ho;const ge=H<eo,ee=H+_e>Ne-eo;ge&&(H=eo,Y=ye+le.width/2-2.5*ho),ee&&(H=Ne-eo-_e,Y=le.left-w.left+le.width/2-H-ho),t(6,A=H),t(7,S=M),t(5,_=Y)},te=()=>{try{if(!n||!g)return;T(),t(0,r=!0)}catch(w){j({message:String(w)})}},Z=()=>{t(0,r=!1)},ie=()=>{v&&(b||(b=window.setTimeout(te,P.controls.hideTimeoutTooltips)),r&&te())},G=()=>{Z(),window.clearTimeout(b),b=void 0};yo(()=>window.clearTimeout(b));function J(w){je[w?"unshift":"push"](()=>{g=w,t(3,g)})}function ce(w){je[w?"unshift":"push"](()=>{v=w,t(4,v)})}return i.$$set=w=>{"content"in w&&t(1,a=w.content),"active"in w&&t(0,r=w.active),"translateX"in w&&t(13,c=w.translateX),"translateY"in w&&t(14,f=w.translateY),"isFullWidthWrapper"in w&&t(2,h=w.isFullWidthWrapper),"$$scope"in w&&t(18,s=w.$$scope)},[r,a,h,g,v,_,A,S,V,W,X,ie,G,c,f,l,J,ce,s]}class xr extends we{constructor(e){super(),ke(this,e,m0,d0,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},c0)}}function h0(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 p0(i){let e;const t=i[15].default,n=pn(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)&&bn(n,t,o,o[19],e?gn(t,o[19],l,null):vn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function g0(i){let e,t;return e=new xr({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[b0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function b0(i){let e;const t=i[15].default,n=pn(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)&&bn(n,t,o,o[19],e?gn(t,o[19],l,null):vn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){p(n,o),e=!1},d(o){n&&n.d(o)}}}function v0(i){let e,t,n,o,l,s,a,r,c;const f=[g0,p0],h=[];function g(v,b){return v[2]&&v[4]&&!v[9]?0:1}return t=g(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),Mn(()=>i[18].call(e))},m(v,b){C(v,e,b),h[t].m(e,null),s=wo(e,i[18].bind(e)),a=!0,r||(c=[Ee(e,"pointerdown",ut(ci(i[16]))),Ee(e,"click",ut(ci(i[17])))],r=!0)},p(v,[b]){let _=t;t=g(v),t===_?h[t].p(v,b):(he(),p(h[_],1,1,()=>{h[_]=null}),pe(),n=h[t],n?n.p(v,b):(n=h[t]=f[t](v),n.c()),m(n,1),n.m(e,null)),(!a||b&2&&o!==(o="btn-container "+v[1]+" v-p9r045"))&&u(e,"class",o),(!a||b&32&&l!==(l=v[5]||null))&&u(e,"aria-hidden",l)},i(v){a||(m(n),a=!0)},o(v){p(n),a=!1},d(v){v&&y(e),h[t].d(),s(),r=!1,Xt(c)}}}function _0(i,e,t){let n,o,{$$slots:l={},$$scope:s}=e,{className:a=""}=e,{disabled:r=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:g=""}=e,{disabledTooltipContent:v=U("tooltip_button_disabled")}=e,{isAriaHidden:b=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:V=-18}=e;const A=_t(),S=A.ui.isMobile;F(i,S,T=>t(9,o=T));const P=A.state.graphIsOpened$;F(i,P,T=>t(14,n=T));let B;function W(T){Wn.call(this,i,T)}function X(T){Wn.call(this,i,T)}function j(){f=this.clientWidth,t(0,f)}return i.$$set=T=>{"className"in T&&t(1,a=T.className),"disabled"in T&&t(12,r=T.disabled),"hasTooltip"in T&&t(2,c=T.hasTooltip),"width"in T&&t(0,f=T.width),"isFullWidthTooltip"in T&&t(3,h=T.isFullWidthTooltip),"tooltipContent"in T&&t(4,g=T.tooltipContent),"disabledTooltipContent"in T&&t(13,v=T.disabledTooltipContent),"isAriaHidden"in T&&t(5,b=T.isAriaHidden),"initialTranslateXPx"in T&&t(6,_=T.initialTranslateXPx),"initialTranslateYPx"in T&&t(7,V=T.initialTranslateYPx),"$$scope"in T&&t(19,s=T.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(r?t(8,B=n?U("tooltip_disabled_when_graph_on"):v):t(8,B=g))},[f,a,c,h,g,b,_,V,B,o,S,P,r,v,n,l,W,X,j,s]}class It extends we{constructor(e){super(),ke(this,e,_0,v0,be,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},h0)}}function k0(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,a){C(s,e,a),d(e,t),d(e,o)},p(s,[a]){a&1&&n!==(n=s[0]?1:.24)&&u(t,"fill-opacity",n),a&1&&l!==(l=s[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(s){s&&y(e)}}}function w0(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class y0 extends we{constructor(e){super(),ke(this,e,w0,k0,be,{completed:0})}}function C0(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 P0(i){let e,t,n,o,l;return t=new y0({props:{completed:!!i[0].completed}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Mn(()=>i[3].call(e)),L(e,"disabled",i[1])},m(s,a){C(s,e,a),z(t,e,null),o=wo(e,i[3].bind(e)),l=!0},p(s,a){const r={};a&1&&(r.completed=!!s[0].completed),t.$set(r),(!l||a&1&&n!==(n=`left: ${s[0].from+s[0].width/2}%`))&&u(e,"style",n),(!l||a&2)&&L(e,"disabled",s[1])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){p(t.$$.fragment,s),l=!1},d(s){s&&y(e),O(t),o()}}}function S0(i){let e,t;return e=new It({props:{tooltipContent:U(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:[P0]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=U(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function T0(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function s(){l=this.clientWidth,t(2,l)}return i.$$set=a=>{"videoEpisode"in a&&t(0,n=a.videoEpisode),"disabled"in a&&t(1,o=a.disabled)},[n,o,l,s]}class A0 extends we{constructor(e){super(),ke(this,e,T0,S0,be,{videoEpisode:0,disabled:1},C0)}}function E0(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 as(i,e,t){const n=i.slice();return n[2]=e[t],n}function rs(i){let e,t,n,o,l,s,a,r,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),s=k("div"),r=R(),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",a=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),L(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}%`),L(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,r)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&a!==(a=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(s,"style",a),h&2&&L(s,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&L(e,"mobile",f[1])},d(f){f&&y(e)}}}function L0(i){let e,t=Vt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=rs(as(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=Vt(o[0]);let s;for(s=0;s<t.length;s+=1){const a=as(o,t,s);n[s]?n[s].p(a,l):(n[s]=rs(a),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),tn(n,o)}}}function V0(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 I0 extends we{constructor(e){super(),ke(this,e,V0,L0,be,{videoEpisodes:0,isMobile:1},E0)}}function M0(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 us(i,e,t){const n=i.slice();return n[48]=e[t],n}function cs(i){let e,t,n=Vt(i[21]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ds(us(i,n,s));const l=s=>p(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"),L(e,"mobile",i[5]),L(e,"hidden",i[5]&&!i[20])},m(s,a){C(s,e,a);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(e,null);t=!0},p(s,a){if(a[0]&2097664){n=Vt(s[21]);let r;for(r=0;r<n.length;r+=1){const c=us(s,n,r);o[r]?(o[r].p(c,a),m(o[r],1)):(o[r]=ds(c),o[r].c(),m(o[r],1),o[r].m(e,null))}for(he(),r=n.length;r<o.length;r+=1)l(r);pe()}(!t||a[0]&32)&&L(e,"mobile",s[5]),(!t||a[0]&1048608)&&L(e,"hidden",s[5]&&!s[20])},i(s){if(!t){for(let a=0;a<n.length;a+=1)m(o[a]);t=!0}},o(s){o=o.filter(Boolean);for(let a=0;a<o.length;a+=1)p(o[a]);t=!1},d(s){s&&y(e),tn(o,s)}}}function fs(i){let e,t;return e=new A0({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ds(i){let e,t,n=i[48].interactive&&fs(i);return{c(){n&&n.c(),e=ht()},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=fs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function N0(i){let e,t,n,o,l,s;return{c(){e=k("div"),t=k("div"),o=R(),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}%);`),L(l,"active-live",i[4]),L(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(a,r){C(a,e,r),d(e,t),d(e,o),d(e,l)},p(a,r){r[0]&2048&&n!==(n=`transform: translateX(${a[11]*100}%);`)&&u(t,"style",n),r[0]&4096&&s!==(s=`transform: translateX(${a[12]*100}%);`)&&u(l,"style",s),r[0]&16&&L(l,"active-live",a[4]),r[0]&64&&L(l,"ads",a[6])},i:K,o:K,d(a){a&&y(e)}}}function R0(i){let e,t;return e=new I0({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function B0(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b=i[8]&&cs(i);const _=[R0,N0],V=[];function A(S,P){return S[21].length?0:1}return n=A(i),o=V[n]=_[n](i),{c(){b&&b.c(),e=R(),t=k("div"),o.c(),l=R(),s=k("div"),a=k("div"),u(a,"class","handle v-1golz1y"),L(a,"active-live",i[4]),u(s,"class","handleWrap v-1golz1y"),u(s,"style",r=`transform: translateX(${i[13]*100}%);`),L(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=i[1]??null),L(t,"disabled",i[9]),L(t,"slider-dragging",i[20]),L(t,"hidden",i[2]),L(t,"slider-vertical",i[3]),L(t,"no-handle",i[10]),L(t,"square",i[7])},m(S,P){b&&b.m(S,P),C(S,e,P),C(S,t,P),V[n].m(t,null),d(t,l),d(t,s),d(s,a),i[42](t),h=!0,g||(v=[Ee(t,"pointerdown",ci(i[22])),Ee(t,"pointermove",ci(i[23])),Ee(t,"pointerup",ci(i[24])),Ee(t,"pointerenter",ci(i[25])),Ee(t,"pointerleave",ci(i[26])),Ee(t,"click",ut(ne.noop)),Ee(t,"wheel",i[27])],g=!0)},p(S,P){S[8]?b?(b.p(S,P),P[0]&256&&m(b,1)):(b=cs(S),b.c(),m(b,1),b.m(e.parentNode,e)):b&&(he(),p(b,1,1,()=>{b=null}),pe());let B=n;n=A(S),n===B?V[n].p(S,P):(he(),p(V[B],1,1,()=>{V[B]=null}),pe(),o=V[n],o?o.p(S,P):(o=V[n]=_[n](S),o.c()),m(o,1),o.m(t,l)),(!h||P[0]&16)&&L(a,"active-live",S[4]),(!h||P[0]&8192&&r!==(r=`transform: translateX(${S[13]*100}%);`))&&u(s,"style",r),(!h||P[0]&1024)&&L(s,"hidden",S[10]),(!h||P[0]&1&&c!==(c="slider "+S[0]+" v-1golz1y"))&&u(t,"class",c),(!h||P[0]&16384)&&u(t,"aria-label",S[14]),(!h||P[0]&32768)&&u(t,"aria-valuemin",S[15]),(!h||P[0]&65536)&&u(t,"aria-valuemax",S[16]),(!h||P[0]&131072)&&u(t,"aria-valuenow",S[17]),(!h||P[0]&262144)&&u(t,"aria-valuetext",S[18]),(!h||P[0]&2&&f!==(f=S[1]??null))&&u(t,"data-testid",f),(!h||P[0]&513)&&L(t,"disabled",S[9]),(!h||P[0]&1048577)&&L(t,"slider-dragging",S[20]),(!h||P[0]&5)&&L(t,"hidden",S[2]),(!h||P[0]&9)&&L(t,"slider-vertical",S[3]),(!h||P[0]&1025)&&L(t,"no-handle",S[10]),(!h||P[0]&129)&&L(t,"square",S[7])},i(S){h||(m(b),m(o),h=!0)},o(S){p(b),p(o),h=!1},d(S){S&&(y(e),y(t)),b&&b.d(S),V[n].d(),i[42](null),g=!1,Xt(v)}}}function z0(i,e,t){let n,o,{className:l=""}=e,{testId:s=void 0}=e,{isHidden:a=!1}=e,{isVertical:r=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:g=!1}=e,{videoEpisodes:v=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:_=!1}=e,{disabled:V=!1}=e,{hideHandel:A=!1}=e,S,P,{onPointerDown:B=ne.noop}=e,{onHandleMove:W=ne.noop}=e,{onPointerUp:X=ne.noop}=e,{onPointerEnter:j=ne.noop}=e,{onPointerMove:T=ne.noop}=e,{onPointerLeave:te=ne.noop}=e,{onWheelUp:Z=ne.noop}=e,{onWheelDown:ie=ne.noop}=e,{onWheelLeft:G=ne.noop}=e,{onWheelRight:J=ne.noop}=e,{loadedProgress:ce=0}=e,{filledProgress:w=0}=e,{handleProgress:le=0}=e,{ariaLabel:de=""}=e,{ariaValueMin:_e=void 0}=e,{ariaValueMax:Ne=void 0}=e,{ariaValueNow:Le=void 0}=e,{ariaValueText:ye=""}=e;const H=Gi();let M=!1,Y;function ge(re){if(M)return;t(20,M=!0),P=S.getBoundingClientRect();const qe=Ae(re.clientX,re.clientY);B(qe),S.setPointerCapture(re.pointerId)}function ee(re){const qe=Ae(re.clientX,re.clientY),We=x(re.clientX);T(qe,We,P.width),M&&W(qe)}function N(re){if(!M)return;t(20,M=!1);const qe=Ae(re.clientX,re.clientY);X(qe)}function Q(re){P=S.getBoundingClientRect();const qe=Ae(re.clientX,re.clientY),We=x(re.clientX);j(qe,We,P.width)}function Ie(){te()}function Ce(re){b&&(re.preventDefault(),re.deltaY<0?Z():re.deltaY>0?ie():re.deltaX>0?J():G())}function Ae(re,qe){return r?Math.max(0,Math.min(1,(P.height-(qe-P.top))/P.height)):Math.min(Math.max(re-P.x,0),P.width)/P.width}function x(re){return Math.min(Math.max(re-P.x,0),P.width)}function se(re,qe){const We=H.features.episodesClustering&&!_?H.episodeMinWidthPc:0,$e=[];let it=0,Be=0,rt=0;for(let Ve=1;Ve<v.length;Ve++)Be=v[Ve].time/Y*100,Be-it>We&&($e.push({from:it,width:Math.max(0,Be-it),loadedWidth:Math.max(0,Math.min(Be,re)-it),filledWidth:Math.max(0,Math.min(Be,qe)-it),interactive:v[Ve-1].interactive,completed:v[Ve-1].completed}),it=v[Ve].time/Y*100,rt++);const St={from:it,width:Math.max(0,100-it),loadedWidth:Math.max(0,Math.min(re,100)-it),filledWidth:Math.max(0,Math.min(qe,100)-it),interactive:v[rt].interactive,completed:v[rt].completed};100-it<We?(rt-=1,$e[rt].width+=100-it,$e[rt].loadedWidth+=Math.max(0,Math.min(re,100)-it),$e[rt].filledWidth+=Math.max(0,Math.min(qe,100)-it)):$e[rt]=St;const Re=v[0].time;if(Re!==0){const Ve=Re/Y*100;$e.unshift({from:0,width:Ve,loadedWidth:Math.min(Ve,re),filledWidth:Math.min(Ve,qe)})}return $e}function ve(re){je[re?"unshift":"push"](()=>{S=re,t(19,S)})}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,a=re.isHidden),"isVertical"in re&&t(3,r=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,g=re.squareBorders),"videoEpisodes"in re&&t(28,v=re.videoEpisodes),"withWheelHandler"in re&&t(29,b=re.withWheelHandler),"isInteractive"in re&&t(8,_=re.isInteractive),"disabled"in re&&t(9,V=re.disabled),"hideHandel"in re&&t(10,A=re.hideHandel),"onPointerDown"in re&&t(30,B=re.onPointerDown),"onHandleMove"in re&&t(31,W=re.onHandleMove),"onPointerUp"in re&&t(32,X=re.onPointerUp),"onPointerEnter"in re&&t(33,j=re.onPointerEnter),"onPointerMove"in re&&t(34,T=re.onPointerMove),"onPointerLeave"in re&&t(35,te=re.onPointerLeave),"onWheelUp"in re&&t(36,Z=re.onWheelUp),"onWheelDown"in re&&t(37,ie=re.onWheelDown),"onWheelLeft"in re&&t(38,G=re.onWheelLeft),"onWheelRight"in re&&t(39,J=re.onWheelRight),"loadedProgress"in re&&t(11,ce=re.loadedProgress),"filledProgress"in re&&t(12,w=re.filledProgress),"handleProgress"in re&&t(13,le=re.handleProgress),"ariaLabel"in re&&t(14,de=re.ariaLabel),"ariaValueMin"in re&&t(15,_e=re.ariaValueMin),"ariaValueMax"in re&&t(16,Ne=re.ariaValueMax),"ariaValueNow"in re&&t(17,Le=re.ariaValueNow),"ariaValueText"in re&&t(18,ye=re.ariaValueText)},i.$$.update=()=>{i.$$.dirty[0]&65536&&t(40,Y=Ne??0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=v[v.length-1]?.time<Y),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=v.length&&n&&Y?se(ce*100,w*100):[])},[l,s,a,r,c,f,h,g,_,V,A,ce,w,le,de,_e,Ne,Le,ye,S,M,o,ge,ee,N,Q,Ie,Ce,v,b,B,W,X,j,T,te,Z,ie,G,J,Y,n,ve]}class Xo extends we{constructor(e){super(),ke(this,e,z0,B0,be,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},M0,[-1,-1])}}const en=(i,e)=>Zn[i]>=Zn[e],O0=(i,e)=>Zn[i]<Zn[e],$r=(i,e)=>Zn[i]<=Zn[e],D0=i=>i>Fn.L?exports.GridTypes.XL:i>Fn.M?exports.GridTypes.L:i>Fn.S?exports.GridTypes.M:i>Fn.XS?exports.GridTypes.S:exports.GridTypes.XS;function H0(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 F0(i){let e,t;return e=new So({props:{volume:i[4],muted:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function U0(i){let e,t;return e=new fi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Co[Fe.KeyM],$$slots:{default:[F0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ms(i){let e,t,n;return t=new Xo({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]:ne.noop,onPointerLeave:i[3]?i[18]:ne.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(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"),D(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),L(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]:ne.noop),l[0]&8&&(s.onPointerLeave=o[3]?o[18]:ne.noop),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)&&L(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function q0(i){let e,t,n,o,l,s;t=new xr({props:{content:i[6],translateY:-18,$$slots:{default:[U0]},$$scope:{ctx:i}}});let a=i[0]&&ms(i);return{c(){e=k("div"),D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","volumeBar-container v-1l78lz9"),L(e,"vertical",i[3])},m(r,c){C(r,e,c),z(t,e,null),d(e,n),a&&a.m(e,null),o=!0,l||(s=[Ee(e,"mouseenter",function(){hn(i[3]?i[19]:ne.noop)&&(i[3]?i[19]:ne.noop).apply(this,arguments)}),Ee(e,"mouseleave",function(){hn(i[3]?i[20]:ne.noop)&&(i[3]?i[20]:ne.noop).apply(this,arguments)}),Ee(e,"wheel",ci(i[21]))],l=!0)},p(r,c){i=r;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]?a?(a.p(i,c),c[0]&1&&m(a,1)):(a=ms(i),a.c(),m(a,1),a.m(e,null)):a&&(he(),p(a,1,1,()=>{a=null}),pe()),(!o||c[0]&8)&&L(e,"vertical",i[3])},i(r){o||(m(t.$$.fragment,r),m(a),o=!0)},o(r){p(t.$$.fragment,r),p(a),o=!1},d(r){r&&y(e),O(t),a&&a.d(),l=!1,Xt(s)}}}function W0(i,e,t){let n,o,l,{isAudioAvailable:s=!0}=e,{click:a}=e;const r=_t(),c=Gi(),f=r.state.volume$;F(i,f,_e=>t(4,n=_e));const h=r.state.muted$;F(i,h,_e=>t(23,l=_e));const g=r.actions.internal.setVolume,v=r.ui.currentGridType$;F(i,v,_e=>t(22,o=_e));let b=!1,_,V,A,S,P,B,W=1,X=!1;function j(_e){W=n,g(_e)}function T(){Wr(r,n,c.controls.volumeStepWheel)}function te(){jr(r,n,c.controls.volumeStepWheel)}function Z(_e){g(_e)}function ie(_e){const Ne=_e;g(Ne,Ne===0?W:Ne)}function G(){X=!0}function J(){X=!1,le()}function ce(){clearTimeout(_),t(5,b=!0)}function w(){le()}function le(){_=window.setTimeout(()=>{X||t(5,b=!1)},c.controls.volumeBarTimeout)}function de(_e){_e.deltaY<0?T():_e.deltaY>0&&te()}return i.$$set=_e=>{"isAudioAvailable"in _e&&t(0,s=_e.isAudioAvailable),"click"in _e&&t(1,a=_e.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,S=!s||l),i.$$.dirty[0]&4194304&&t(3,P=$r(o,exports.GridTypes.S)),i.$$.dirty[0]&12&&(P?t(6,V=""):t(6,V=U(S?"tooltip_volume":"tooltip_volume_muted")),t(7,A=U(S?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=S?0:n)},[s,a,S,P,n,b,V,A,B,f,h,v,j,T,te,Z,ie,G,J,ce,w,de,o,l]}class j0 extends we{constructor(e){super(),ke(this,e,W0,q0,be,{isAudioAvailable:0,click:1},H0,[-1,-1])}}function Z0(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 G0(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 K0(i){let e,t,n;function o(a,r){return a[0]?G0:Z0}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(a,r){C(a,e,r),d(e,t),s.m(t,null)},p(a,[r]){l!==(l=o(a))&&(s.d(1),s=l(a),s&&(s.c(),s.m(t,null))),r&1&&n!==(n=a[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(a){a&&y(e),s.d()}}}function Y0(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Q0 extends we{constructor(e){super(),ke(this,e,Y0,K0,be,{isFullscreen:0})}}function X0(i){let e,t;return e=new Q0({props:{isFullscreen:i[0]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function J0(i){let e,t;return e=new fi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Co[Fe.KeyF],$$slots:{default:[X0]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function x0(i,e,t){let{isFullscreen:n=!1}=e,{click:o=ne.noop}=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=U(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class e1 extends we{constructor(e){super(),ke(this,e,x0,J0,be,{isFullscreen:0,click:1})}}function $0(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 Jo extends we{constructor(e){super(),ke(this,e,null,$0,be,{})}}function ed(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 t1 extends we{constructor(e){super(),ke(this,e,null,ed,be,{})}}function td(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 hs(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 id(i){let e,t,n,o,l=i[0]&&hs();var s=i[6];function a(r){return{}}return s&&(n=ln(s,a())),{c(){l&&l.c(),e=R(),t=k("div"),n&&D(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(r,c){l&&l.m(r,c),C(r,e,c),C(r,t,c),n&&z(n,t,null),o=!0},p(r,c){if(r[0]?l||(l=hs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&s!==(s=r[6])){if(n){he();const f=n;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}s?(n=ln(s,a()),D(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&L(t,"mobile",r[0])},i(r){o||(n&&m(n.$$.fragment,r),o=!0)},o(r){n&&p(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),n&&O(n)}}}function nd(i){let e,t;return e=new fi({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:Co[Fe.KeyK],$$slots:{default:[id]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function od(i,e,t){let n,o;const{fakeIsPlaying$:l}=vr();F(i,l,_=>t(11,o=_));let{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:r=!1}=e,{className:c=""}=e,{click:f=ne.noop}=e;const{toggle:h}=l;let g,v,b;return i.$$set=_=>{"isMobile"in _&&t(0,s=_.isMobile),"isPlaying"in _&&t(9,a=_.isPlaying),"disabled"in _&&t(1,r=_.disabled),"className"in _&&t(2,c=_.className),"click"in _&&t(3,f=_.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,g=o!==null),i.$$.dirty&2576&&t(10,v=g?o:a),i.$$.dirty&1024&&t(5,b=U(v?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=v?t1:Jo)},[s,r,c,f,g,b,n,l,h,a,v,o]}class xo extends we{constructor(e){super(),ke(this,e,od,nd,be,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},td)}}function ld(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 sd(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"),L(e,"prev",i[0]),L(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&&L(e,"prev",o[0]),l&2&&L(e,"mobile",o[1])},i:K,o:K,d(o){o&&y(e)}}}function ad(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 rd extends we{constructor(e){super(),ke(this,e,ad,sd,be,{isPrev:0,isMobile:1},ld)}}function ud(i){let e,t;return e=new rd({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function cd(i){let e,t;return e=new fi({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[ud]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fd(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:s}=e,a;return i.$$set=r=>{"isMobile"in r&&t(0,n=r.isMobile),"disabled"in r&&t(1,o=r.disabled),"type"in r&&t(2,l=r.type),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,s,a]}class To extends we{constructor(e){super(),ke(this,e,fd,cd,be,{isMobile:0,disabled:1,type:2,click:3})}}function dd(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 md extends we{constructor(e){super(),ke(this,e,null,dd,be,{})}}function ps(i){let e,t,n,o,l,s,a;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=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(a,"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(a,"fill","white")},m(r,c){C(r,e,c),C(r,t,c),C(r,n,c),C(r,o,c),C(r,l,c),C(r,s,c),C(r,a,c)},d(r){r&&(y(e),y(t),y(n),y(o),y(l),y(s),y(a))}}}function hd(i){let e,t,n,o=!i[0]&&ps();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=ps(),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 pd(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 gd extends we{constructor(e){super(),ke(this,e,pd,hd,be,{short:0})}}function bd(i){let e,t;return e=new md({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function vd(i){let e,t;return e=new gd({props:{short:i[3]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function _d(i){let e,t,n,o;const l=[vd,bd],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function kd(i){let e,t;return e=new fi({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:[_d]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function wd(i,e,t){let n,o,l,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:r}=e;const c=Gi(),{logoLink:f,addTimeToLogoLink:h}=c,g=_t(),v=g.state.positionWithScrubbing$;F(i,v,B=>t(12,n=B));const b=g.ui.currentGridType$;F(i,b,B=>t(10,o=B));const _=g.ui.isMobile;F(i,_,B=>t(11,l=B));let V,A,S;const P=()=>{let B;if(A||!a)B=f;else{const W=Math.round(n);if(h&&W){const X=new URL(a);X.searchParams.append("t",ne.timeCodeToString(W)),B=X.toString()}else B=a}r(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,s=B.logoClickable),"videoLogoUrl"in B&&t(8,a=B.videoLogoUrl),"click"in B&&t(9,r=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,S=(l||$r(o,exports.GridTypes.L))&&A)},t(2,V=c.logoType===jn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),t(1,A=c.logoType===jn.VK_VIDEO),[s,A,V,S,v,b,_,P,a,r,o,l]}class i1 extends we{constructor(e){super(),ke(this,e,wd,kd,be,{logoClickable:0,videoLogoUrl:8,click:9})}}function yd(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 Cd(i){let e,t,n,o,l,s,a,r;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("path"),a=I("path"),r=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(a,"d","M0 0h24v24H0z"),u(r,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(r,"fill","#fff"),L(r,"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"),L(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,a),d(t,r)},p(c,f){f&2&&L(r,"hidden",!c[1]),f&4&&L(e,"connecting",c[2])},d(c){c&&y(e)}}}function Pd(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),s=I("path"),a=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),g=I("path"),b=I("filter"),_=I("feFlood"),V=I("feColorMatrix"),A=I("feOffset"),S=I("feGaussianBlur"),P=I("feColorMatrix"),B=I("feBlend"),W=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(a,"fill-rule","evenodd"),u(a,"clip-rule","evenodd"),u(a,"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(a,"fill",r=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",v=i[1]?"#2688EB":"#fff"),u(g,"d","M0 0h24v24H0z"),u(h,"id","a"),u(_,"flood-opacity","0"),u(_,"result","BackgroundImageFix"),u(V,"in","SourceAlpha"),u(V,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(V,"result","hardAlpha"),u(S,"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_4085_178456"),u(W,"in","SourceGraphic"),u(W,"in2","effect1_dropShadow_4085_178456"),u(W,"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(X,j){C(X,e,j),d(e,t),d(t,n),d(n,o),d(n,s),d(t,a),d(t,c),d(e,f),d(f,h),d(h,g),d(f,b),d(b,_),d(b,V),d(b,A),d(b,S),d(b,P),d(b,B),d(b,W)},p(X,j){j&2&&l!==(l=X[1]?"#2688EB":"#fff")&&u(o,"fill",l),j&2&&r!==(r=X[1]?"#2688EB":"#fff")&&u(a,"fill",r),j&2&&v!==(v=X[1]?"#2688EB":"#fff")&&u(g,"fill",v)},d(X){X&&y(e)}}}function Sd(i){let e;function t(l,s){return l[0]?Pd:Cd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 Td(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(3,o=a.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,s=o===Je.ChromecastState.CONNECTING),t(1,l=o===Je.ChromecastState.CONNECTED))},[n,l,s,o]}class Ad extends we{constructor(e){super(),ke(this,e,Td,Sd,be,{isMobile:0,state:3},yd)}}function Ed(i){let e,t;return e=new Ad({props:{isMobile:i[0],state:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ld(i){let e,t;return e=new fi({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Ed]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Vd(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=ne.noop}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"state"in a&&t(1,o=a.state),"click"in a&&t(2,l=a.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,s=o===Je.ChromecastState.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off"))},[n,o,l,s]}class n1 extends we{constructor(e){super(),ke(this,e,Vd,Ld,be,{isMobile:0,state:1,click:2})}}function Id(i){let e,t;return e=new Dr({props:{isActive:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Md(i){let e,t;return e=new fi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Je.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Id]},$$scope:{ctx:i}}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(l.disabled=n[1]&&n[3]===Je.PlaybackState.PLAYING),o&4&&(l.ariaLabel=n[2]),o&16&&(l.click=n[4]),o&514&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Nd(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:l=!1}=e,{ariaLabel:s=""}=e;const a=_t(),r=a.state.playbackState$;F(i,r,g=>t(3,n=g));const c=a.actions.internal.switchToActiveLive,f=a.actions.internal.togglePlay;let h;return i.$$set=g=>{"isMobile"in g&&t(0,o=g.isMobile),"isActiveLive"in g&&t(1,l=g.isActiveLive),"ariaLabel"in g&&t(2,s=g.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,h=()=>{if(!l){c();return}n===Je.PlaybackState.PAUSED&&f()})},[o,l,s,n,h,r]}class o1 extends we{constructor(e){super(),ke(this,e,Nd,Md,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Rd(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 Bd(i){let e,t,n,o;const l=i[9].default,s=pn(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),s&&s.c(),u(t,"class","tooltip v-5ygsa2"),L(t,"active",i[0]),L(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(a,r){C(a,e,r),d(e,t),s&&s.m(t,null),i[10](t),i[11](e),o=!0},p(a,[r]){s&&s.p&&(!o||r&256)&&bn(s,l,a,a[8],o?gn(l,a[8],r,null):vn(a[8]),null),(!o||r&1)&&L(t,"active",a[0]),(!o||r&2)&&L(t,"pointer",a[1]),(!o||r&36&&n!==(n=`transform: translate(${a[5]}px, ${a[2]}px);`))&&u(e,"style",n)},i(a){o||(m(s,a),o=!0)},o(a){p(s,a),o=!1},d(a){a&&y(e),s&&s.d(a),i[10](null),i[11](null)}}}function zd(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:s=!1}=e,{pointer:a=!1}=e,{translateXPx:r=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,g;function v(V){if(!g)return 0;const{width:A}=g.getBoundingClientRect(),S=A/2;return V<S?S:V>f-S?f-S:V}function b(V){je[V?"unshift":"push"](()=>{g=V,t(4,g)})}function _(V){je[V?"unshift":"push"](()=>{h=V,t(3,h)})}return i.$$set=V=>{"active"in V&&t(0,s=V.active),"pointer"in V&&t(1,a=V.pointer),"translateXPx"in V&&t(6,r=V.translateXPx),"translateYPx"in V&&t(2,c=V.translateYPx),"containerWidth"in V&&t(7,f=V.containerWidth),"$$scope"in V&&t(8,l=V.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=v(r))},[s,a,c,h,g,n,r,f,l,o,b,_]}class Od extends we{constructor(e){super(),ke(this,e,zd,Bd,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Rd)}}const l1=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Dd(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 gs(i){let e;function t(l,s){return l[2]&&l[10].completed===!1?Fd:Hd}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 Hd(i){let e=(i[10].text||"")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&y(t)}}}function Fd(i){let e=U("tooltip_episode_unfinished")+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p:K,d(n){n&&y(t)}}}function Ud(i){let e,t,n,o,l,s,a,r,c=i[10]&&gs(i);return{c(){e=k("div"),t=k("div"),o=R(),l=k("div"),c&&c.c(),s=R(),a=k("div"),r=Oe(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(a,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),L(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,a),d(a,r)},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=gs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&xe(r,f[0]),h&2&&L(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const Dn=150;function qd(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:s=[]}=e,{previewThumbsData:a}=e,{progress:r=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const g=_t().ui.rotateAlpha;F(i,g,j=>t(11,n=j));let v,b,_,V,A,S,P,B;function W(){let j=a.frameWidth,T=a.frameHeight;return j>Dn?(T=T/j*Dn,j=Dn):T>Dn&&(j=j/T*Dn,T=Dn),{width:j,height:T}}function X(j){let T;a.isUV?T=Math.floor(c*j/a.frequency):T=Math.min(a.countTotal,Math.max(0,Math.floor(a.countTotal*j)));const te=Math.floor(T/a.countPerImage),Z=Math.floor(T%a.countPerImage/a.countPerRow),ie=T%a.countPerRow;let G=Math.floor(a.countPerImage/a.countPerRow);!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&(G=Math.floor(a.countTotal%a.countPerImage/a.countPerRow),a.countTotal%a.countPerImage%a.countPerRow>0&&G++);let J=a.countPerRow;!a.isUV&&te===Math.floor(a.countTotal/a.countPerImage)&&a.countTotal%a.countPerImage>0&&(J=Math.min(a.countPerRow,a.countTotal%a.countPerImage));const ce=v*J,w=b*G,le=-ie*v,de=-Z*b;return{imgSrc:a.links[te],imgWidth:ce,imgHeight:w,imgOffsetX:le,imgOffsetY:de}}return i.$$set=j=>{"time"in j&&t(0,o=j.time),"isMobile"in j&&t(1,l=j.isMobile),"videoEpisodes"in j&&t(13,s=j.videoEpisodes),"previewThumbsData"in j&&t(14,a=j.previewThumbsData),"progress"in j&&t(15,r=j.progress),"duration"in j&&t(16,c=j.duration),"isInteractive"in j&&t(2,f=j.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:_,imgWidth:V,imgHeight:A,imgOffsetX:S,imgOffsetY:P}=X(r),_,(t(6,V),t(15,r)),(t(7,A),t(15,r)),(t(8,S),t(15,r)),(t(9,P),t(15,r))),i.$$.dirty&106496&&t(10,B=l1(r,c,s))},t(3,{width:v,height:b}=W(),v,t(4,b)),[o,l,f,v,b,_,V,A,S,P,B,n,g,s,a,r,c]}class Wd extends we{constructor(e){super(),ke(this,e,qd,Ud,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Dd)}}function jd(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 Zd(i){let e,t;return{c(){e=k("span"),t=Oe(i[7]),u(e,"class","time v-5lzly8")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function Gd(i){let e,t;return e=new Wd({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Kd(i){let e,t,n,o;const l=[Gd,Zd],s=[];function a(r,c){return r[14].features.timelinePreview&&r[21]&&!r[0]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Yd(i){let e,t,n,o;const l=[i[9]];let s={$$slots:{default:[Kd]},$$scope:{ctx:i}};for(let a=0;a<l.length;a+=1)s=sr(s,l[a]);return e=new Od({props:s}),n=new Xo({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:U("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:U("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(ft.TIMELINE),hideHandel:i[2]}}),{c(){D(e.$$.fragment),t=R(),D(n.$$.fragment)},m(a,r){z(e,a,r),C(a,t,r),z(n,a,r),o=!0},p(a,r){const c=r[0]&512?Q1(l,[X1(a[9])]):{};r[0]&1419|r[1]&65536&&(c.$$scope={dirty:r,ctx:a}),e.$set(c);const f={};r[0]&2048&&(f.isActiveLive=a[11]),r[0]&1024&&(f.isMobile=a[10]),r[0]&2&&(f.ariaValueMax=a[1]),r[0]&64&&(f.ariaValueNow=Math.round(a[6]*100)),r[0]&48&&(f.ariaValueText=U("aria_timeline_value",{position:a[5],duration:a[4]})),r[0]&4096&&(f.loadedProgress=a[12]),r[0]&64&&(f.filledProgress=a[6]),r[0]&64&&(f.handleProgress=a[6]),r[0]&8&&(f.videoEpisodes=a[3]),r[0]&8192&&(f.disabled=a[13].has(ft.TIMELINE)),r[0]&4&&(f.hideHandel=a[2]),n.$set(f)},i(a){o||(m(e.$$.fragment,a),m(n.$$.fragment,a),o=!0)},o(a){p(e.$$.fragment,a),p(n.$$.fragment,a),o=!1},d(a){a&&y(t),O(e,a),O(n,a)}}}function Qd(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,{showTimeline:b=!1}=e;const _=_t(),V=Gi(),A=_.state.bufferedProgress$;F(i,A,ve=>t(12,g=ve));const S=_.state.positionWithScrubbing$;F(i,S,ve=>t(39,r=ve));const P=_.state.duration$;F(i,P,ve=>t(1,l=ve));const B=_.state.isLive$;F(i,B,ve=>t(0,o=ve));const W=_.state.isActiveLive$;F(i,W,ve=>t(11,h=ve));const X=_.ui.isMobile;F(i,X,ve=>t(10,f=ve));const j=V.features.episodes?_.actions.internal.getVideoEpisodes():void 0,T=_.actions.internal.getPreviewThumbsData(),te=_.state.interactiveEpisodes$;F(i,te,ve=>t(40,c=ve));const Z=_.state.isInteractive,ie=_.state.isInteractiveTime$;F(i,ie,ve=>t(2,s=ve));const G=_.state.isInteractiveExpectation$;F(i,G,ve=>t(38,a=ve));const J=_.actions.internal.correctSeekTimeToInteractive,ce=_.ui.controls.disabledControls$;F(i,ce,ve=>t(13,v=ve));let w,le,de,_e,Ne=!1,Le="",ye=0,H=0,M=0,Y;function ge(ve){return!J||!Z?ve:J(ve*l)/l}function ee(ve){_.actions.internal.startScrubbing(ge(ve))}function N(ve){s||_.actions.internal.progressScrubbing(ge(ve))}function Q(ve){_.actions.internal.completeScrubbing(ge(ve)),t(34,Ne=!1)}function Ie(ve,re,qe){x(ve,re,qe),t(34,Ne=!0)}function Ce(ve,re,qe){x(ve,re,qe),t(34,Ne=!0)}function Ae(){t(34,Ne=!1)}function x(ve,re,qe){t(8,M=ve),t(35,ye=re),qe&&t(36,H=qe),t(7,Le=se(ve))}function se(ve){const re=mn((o?1-ve:ve)*l);return o?`-${re}`:re}return i.$$set=ve=>{"showTimeline"in ve&&t(33,b=ve.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,w=Z?c:j),i.$$.dirty[0]&2&&t(4,le=mn(l)),i.$$.dirty[1]&256&&t(5,de=mn(r)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,_e=r/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Y=a||s),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:ye,translateYPx:Z&&T?-36:-16,active:Ne&&b&&!Y,pointer:!V.features.timelinePreview||!T||o})},[o,l,s,w,le,de,_e,Le,M,n,f,h,g,v,V,A,S,P,B,W,X,T,te,Z,ie,G,ce,ee,N,Q,Ie,Ce,Ae,b,Ne,ye,H,Y,a,r,c]}let Xd=class extends we{constructor(e){super(),ke(this,e,Qd,Yd,be,{showTimeline:33},jd,[-1,-1])}};function Jd(i){let e,t;return e=new Xo({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:U("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){D(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=U("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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function xd(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const a=_t().ui.isMobile;F(i,a,h=>t(4,n=h));let r,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,r=mn(l)),i.$$.dirty&64&&t(2,c=mn(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,r,c,f,n,a,o]}class s1 extends we{constructor(e){super(),ke(this,e,xd,Jd,be,{position:6,duration:0})}}function $d(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 e2(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),L(e,"mobile",i[2])},m(t,n){C(t,e,n)},p(t,n){n&4&&L(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function t2(i){let e,t,n,o;const l=[n2,i2],s=[];function a(r,c){return r[0]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),L(e,"mobile",i[2])},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&L(e,"mobile",r[2])},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function i2(i){let e,t;return e=new Xd({props:{showTimeline:i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function n2(i){let e,t;return e=new s1({props:{position:i[3],duration:i[4]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function o2(i){let e,t,n,o;const l=[t2,e2],s=[];function a(r,c){return r[1]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function l2(i,e,t){let n,o,l,s,{isAds:a=!1}=e,{canRewindLive:r}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=_t(),g=h.state.isLive$;F(i,g,A=>t(12,n=A));const v=h.ads.duration;F(i,v,A=>t(4,s=A));const b=h.ads.position;F(i,b,A=>t(3,l=A));const _=h.ui.isMobile;F(i,_,A=>t(2,o=A));let V;return i.$$set=A=>{"isAds"in A&&t(0,a=A.isAds),"canRewindLive"in A&&t(9,r=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,V=!f&&(!n||n&&r&&c||a))},[a,V,o,l,s,g,v,b,_,r,c,f,n]}class a1 extends we{constructor(e){super(),ke(this,e,l2,o2,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},$d)}}function s2(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"),At(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 a2 extends we{constructor(e){super(),ke(this,e,null,s2,be,{})}}function r2(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 u2 extends we{constructor(e){super(),ke(this,e,null,r2,be,{})}}function c2(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 f2(i){let e,t,n,o;e=new a2({});function l(r,c){if(r[2]===In.FULL)return h2;if(r[2]===In.COUNT)return m2}let s=l(i),a=s&&s(i);return{c(){D(e.$$.fragment),t=R(),a&&a.c(),n=ht()},m(r,c){z(e,r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){s===(s=l(r))&&a?a.p(r,c):(a&&a.d(1),a=s&&s(r),a&&(a.c(),a.m(n.parentNode,n)))},i(r){o||(m(e.$$.fragment,r),o=!0)},o(r){p(e.$$.fragment,r),o=!1},d(r){r&&(y(t),y(n)),O(e,r),a&&a.d(r)}}}function d2(i){let e,t,n,o,l,s;return l=new u2({}),{c(){e=k("span"),t=Oe(i[1]),n=R(),o=k("div"),D(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(a,r){C(a,e,r),d(e,t),C(a,n,r),C(a,o,r),z(l,o,null),s=!0},p(a,r){(!s||r&2)&&xe(t,a[1])},i(a){s||(m(l.$$.fragment,a),s=!0)},o(a){p(l.$$.fragment,a),s=!1},d(a){a&&(y(e),y(n),y(o)),O(l)}}}function m2(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=Oe(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+"")&&xe(n,t)},d(o){o&&y(e)}}}function h2(i){let e,t;return{c(){e=k("span"),t=Oe(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&2&&xe(t,n[1])},d(n){n&&y(e)}}}function p2(i){let e,t,n,o;const l=[d2,f2],s=[];function a(r,c){return r[4]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,c){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function g2(i){let e,t;return e=new fi({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:[p2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function b2(i,e,t){let n,o,l,s,{position:a=0}=e,{duration:r=0}=e,{timeCodes:c=[]}=e;const f=_t(),h=f.callbacks?.onEpisodeChanged??ne.noop,g=f.callbacks?.onEpisodeClicked??ne.noop,v=!!f.callbacks?.onEpisodeClicked,b=f.ui.currentGridType$;F(i,b,P=>t(13,l=P));const _=f.ui.isMobile;F(i,_,P=>t(4,s=P));let V,A,S;return i.$$set=P=>{"position"in P&&t(9,a=P.position),"duration"in P&&t(10,r=P.duration),"timeCodes"in P&&t(0,c=P.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=a/r),i.$$.dirty&7169){const P=l1(n,r,c);P&&V?.text!==P.text&&(h(P),t(11,V=P))}i.$$.dirty&2048&&t(1,o=V?.text||""),i.$$.dirty&8192&&(en(l,exports.GridTypes.XL)?t(2,A=In.FULL):en(l,exports.GridTypes.M)&&O0(l,exports.GridTypes.XL)?t(2,A=In.COUNT):t(2,A=In.SHORT)),i.$$.dirty&2&&t(3,S=`${U("tooltip_episodes")}: ${o}`)},[c,o,A,S,s,g,v,b,_,a,r,V,n,l]}class r1 extends we{constructor(e){super(),ke(this,e,b2,g2,be,{position:9,duration:10,timeCodes:0},c2)}}function v2(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 _2 extends we{constructor(e){super(),ke(this,e,null,v2,be,{})}}function k2(i){let e,t;return e=new _2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:U("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[k2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y2(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 u1 extends we{constructor(e){super(),ke(this,e,y2,w2,be,{hidden:0,disabled:1,click:2})}}function C2(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"),L(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&&L(n,"hidden",!o[0])},i:K,o:K,d(o){o&&y(e)}}}function P2(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class S2 extends we{constructor(e){super(),ke(this,e,P2,C2,be,{isOpened:0})}}function T2(i){let e,t;return e=new S2({props:{isOpened:i[2]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function A2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[T2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function E2(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"graphIsOpened"in r&&t(2,l=r.graphIsOpened),"click"in r&&t(3,s=r.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,a=U(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,s,a]}class c1 extends we{constructor(e){super(),ke(this,e,E2,A2,be,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function L2(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 V2 extends we{constructor(e){super(),ke(this,e,null,L2,be,{})}}function I2(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 bs(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 M2(i){let e,t,n,o,l=i[0]&&bs();return n=new V2({}),{c(){l&&l.c(),e=R(),t=k("div"),D(n.$$.fragment),u(t,"class","v-1ot3duq"),L(t,"mobile",i[0])},m(s,a){l&&l.m(s,a),C(s,e,a),C(s,t,a),z(n,t,null),o=!0},p(s,a){s[0]?l||(l=bs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||a&1)&&L(t,"mobile",s[0])},i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){p(n.$$.fragment,s),o=!1},d(s){s&&(y(e),y(t)),l&&l.d(s),O(n)}}}function N2(i){let e,t;return e=new fi({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:U("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[M2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function R2(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:s=ne.noop}=e;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"className"in a&&t(2,l=a.className),"click"in a&&t(3,s=a.click)},[n,o,l,s]}class $o extends we{constructor(e){super(),ke(this,e,R2,N2,be,{isMobile:0,disabled:1,className:2,click:3},I2)}}function B2(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 z2 extends we{constructor(e){super(),ke(this,e,null,B2,be,{})}}function O2(i){let e,t;return e=new z2({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function D2(i){let e,t;return e=new fi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:U("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[O2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function H2(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 f1 extends we{constructor(e){super(),ke(this,e,H2,D2,be,{hidden:0,disabled:1,click:2})}}function F2(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 U2(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),sl(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&&!sl(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function q2(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 W2(i){let e;function t(l,s){return l[5]?q2:U2}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 j2(i){let e,t;return e=new fi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[W2]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Z2(i,e,t){let n,o,l,{iconUrl:s}=e,{ariaLabel:a}=e,{disabled:r=!1}=e,{testId:c}=e,{onClick:f=ne.noop}=e;const h=()=>{t(5,l=!0)};return i.$$set=g=>{"iconUrl"in g&&t(0,s=g.iconUrl),"ariaLabel"in g&&t(1,a=g.ariaLabel),"disabled"in g&&t(8,r=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===ne.noop),i.$$.dirty&272&&t(6,o=n||r)},t(5,l=!1),[s,a,c,f,n,l,o,h,r]}class d1 extends we{constructor(e){super(),ke(this,e,Z2,j2,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},F2)}}function G2(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 vs(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 _s(i){let e,t,n;function o(s){i[134](s)}let l={disabled:!i[9],tooltipContent:U("tooltip_previous"),$$slots:{default:[K2]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&512&&(r.disabled=!s[9]),a[0]&4608|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[0]&1073741824&&(t=!0,r.width=s[30],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function K2(i){let e,t;return e=new To({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ks(i){let e,t,n;function o(s){i[135](s)}let l={disabled:i[66],tooltipContent:U("tooltip_restart"),$$slots:{default:[Y2]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16&&(r.disabled=s[66]),a[2]&16|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&1&&(t=!0,r.width=s[31],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Y2(i){let e,t;return e=new $o({props:{click:i[112],disabled:i[66]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ws(i){let e,t,n;function o(s){i[136](s)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[Q2]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&67108864&&(r.tooltipContent=s[57]),a[2]&32&&(r.disabled=s[67]),a[1]&2097152|a[2]&32|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2&&(t=!0,r.width=s[32],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Q2(i){let e,t;return e=new xo({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ys(i){let e,t,n;function o(s){i[137](s)}let l={disabled:!i[8],tooltipContent:U("tooltip_next"),$$slots:{default:[X2]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&256&&(r.disabled=!s[8]),a[0]&2304|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4&&(t=!0,r.width=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function X2(i){let e,t;return e=new To({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function J2(i){let e,t,n,o,l=i[107]&&x2(i),s=i[106]&&e4(i),a=i[105]&&i4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[107]&&l.p(r,c),r[106]&&s.p(r,c),r[105]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function x2(i){let e,t,n;function o(s){i[138](s)}let l={disabled:i[65],tooltipContent:U("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&U(i[109]),$$slots:{default:[$2]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&8&&(r.disabled=s[65]),a[0]&131072|a[2]&8|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8&&(t=!0,r.width=s[34],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function $2(i){let e,t;return e=new f1({props:{disabled:i[65],click:i[17]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function e4(i){let e,t,n;function o(s){i[139](s)}let l={disabled:i[68],tooltipContent:U("tooltip_interactive_seek"),$$slots:{default:[t4]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&64&&(r.disabled=s[68]),a[0]&32768|a[2]&64|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16&&(t=!0,r.width=s[35],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function t4(i){let e,t;return e=new u1({props:{disabled:i[68],click:i[15]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function i4(i){let e,t,n;function o(s){i[140](s)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[n4]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&134217728&&(r.tooltipContent=s[58]),a[2]&128&&(r.disabled=s[69]),a[0]&65536|a[1]&524288|a[2]&128|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32&&(t=!0,r.width=s[36],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function n4(i){let e,t;return e=new c1({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Cs(i){let e,t,n;function o(s){i[141](s)}let l={tooltipContent:i[59],$$slots:{default:[o4]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&268435456&&(r.tooltipContent=s[59]),a[0]&268435456|a[1]&268435456|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&64&&(t=!0,r.width=s[37],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function o4(i){let e,t;return e=new o1({props:{isActiveLive:i[28],isMobile:!1,ariaLabel:i[59]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),o[1]&268435456&&(l.ariaLabel=n[59]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ps(i){let e,t,n;function o(s){i[142](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 Jr({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&4&&(r.showDuration=s[64]),a[0]&16|a[2]&1536&&(r.position=s[4]?s[71]:s[72]),a[0]&16|a[2]&6144&&(r.duration=s[4]?s[73]:s[74]),!t&&a[1]&128&&(t=!0,r.width=s[38],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function Ss(i){let e,t;return e=new r1({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function l4(i){let e,t,n=i[27]&&Ss(i);return{c(){n&&n.c(),e=ht()},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=Ss(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function s4(i){let e,t;return e=new d1({props:{iconUrl:i[163],ariaLabel:i[164]??i[167],testId:i[165],onClick:i[166]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.iconUrl=n[163]),o[1]&32768&&(l.ariaLabel=n[164]??n[167]),o[1]&32768&&(l.testId=n[165]),o[1]&32768&&(l.onClick=n[166]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ts(i){let e,t;return e=new It({props:{tooltipContent:i[167],width:40,$$slots:{default:[s4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function As(i){let e,t,n;function o(s){i[145](s)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[a4]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&64&&(r.disabled=!s[6]),a[1]&536870912&&(r.tooltipContent=s[60]),a[0]&192|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&512&&(t=!0,r.width=s[40],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function a4(i){let e,t;return e=new i1({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function r4(i){let e,t;return e=new j0({props:{isAudioAvailable:i[70],click:i[111]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Es(i){let e,t,n;function o(s){i[147](s)}let l={tooltipContent:i[61],$$slots:{default:[u4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&1073741824&&(r.tooltipContent=s[61]),a[0]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function u4(i){let e,t;return e=new e0({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ls(i){let e,t,n;return t=new Xr({props:{supportLink:i[10],playerControlsHeight:i[56]?.clientHeight,returnFocus:i[14]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&1024&&(s.supportLink=o[10]),l[1]&33554432&&(s.playerControlsHeight=o[56]?.clientHeight),l[0]&16384&&(s.returnFocus=o[14]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Vs(i){let e,t,n;function o(s){i[148](s)}let l={tooltipContent:i[76]?void 0:U("tooltip_settings_off"),$$slots:{default:[c4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&16384&&(r.tooltipContent=s[76]?void 0:U("tooltip_settings_off")),a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function c4(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Is(i){let e,t,n;function o(s){i[149](s)}let l={tooltipContent:i[62],$$slots:{default:[f4]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&1&&(r.tooltipContent=s[62]),a[0]&8192|a[1]&262144|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function f4(i){let e,t;return e=new e1({props:{click:i[13],isFullscreen:i[49]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ms(i){let e,t,n;function o(s){i[150](s)}let l={tooltipContent:i[63],$$slots:{default:[d4]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[2]&2&&(r.tooltipContent=s[63]),a[1]&131072|a[5]&32768&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&16384&&(t=!0,r.width=s[45],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function d4(i){let e,t;return e=new n1({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function m4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie;t=new a1({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let G=i[54]&&_s(i),J=i[19]&&ks(i),ce=i[20]&&ws(i),w=i[53]&&ys(i),le=i[104]&&J2(i),de=!i[4]&&i[47]&&Cs(i),_e=i[26]&&Ps(i);function Ne(x){i[143](x)}let Le={className:"w-max",disabled:!i[27],tooltipContent:U("tooltip_episodes"),$$slots:{default:[l4]},$$scope:{ctx:i}};i[39]!==void 0&&(Le.width=i[39]),v=new It({props:Le}),je.push(()=>vt(v,"width",Ne));let ye=Vt(i[46]),H=[];for(let x=0;x<ye.length;x+=1)H[x]=Ts(vs(i,ye,x));const M=x=>p(H[x],1,1,()=>{H[x]=null});let Y=i[24]&&As(i);function ge(x){i[146](x)}let ee={$$slots:{default:[r4]},$$scope:{ctx:i}};i[41]!==void 0&&(ee.width=i[41]),B=new It({props:ee}),je.push(()=>vt(B,"width",ge));let N=i[22]&&Es(i),Q=!i[75]&&!i[4]&&Ls(i),Ie=i[23]&&Vs(i),Ce=i[25]&&Is(i),Ae=i[21]&&Ms(i);return{c(){e=k("div"),D(t.$$.fragment),n=R(),o=k("div"),l=k("div"),G&&G.c(),s=R(),J&&J.c(),a=R(),ce&&ce.c(),r=R(),w&&w.c(),c=R(),le&&le.c(),f=R(),de&&de.c(),h=R(),_e&&_e.c(),g=R(),D(v.$$.fragment),V=R(),A=k("div");for(let x=0;x<H.length;x+=1)H[x].c();S=R(),Y&&Y.c(),P=R(),D(B.$$.fragment),X=R(),N&&N.c(),j=R(),Q&&Q.c(),T=R(),Ie&&Ie.c(),te=R(),Ce&&Ce.c(),Z=R(),Ae&&Ae.c(),u(l,"class","controls-left v-st0uzk"),Mn(()=>i[144].call(l)),u(A,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),L(e,"hidden",i[1]),L(e,"controls-hidden",!i[3]),L(e,"no-smooth",i[2])},m(x,se){C(x,e,se),z(t,e,null),d(e,n),d(e,o),d(o,l),G&&G.m(l,null),d(l,s),J&&J.m(l,null),d(l,a),ce&&ce.m(l,null),d(l,r),w&&w.m(l,null),d(l,c),le&&le.m(l,null),d(l,f),de&&de.m(l,null),d(l,h),_e&&_e.m(l,null),d(l,g),z(v,l,null),_=wo(l,i[144].bind(l)),d(o,V),d(o,A);for(let ve=0;ve<H.length;ve+=1)H[ve]&&H[ve].m(A,null);d(A,S),Y&&Y.m(A,null),d(A,P),z(B,A,null),d(A,X),N&&N.m(A,null),d(A,j),Q&&Q.m(A,null),d(A,T),Ie&&Ie.m(A,null),d(A,te),Ce&&Ce.m(A,null),d(A,Z),Ae&&Ae.m(A,null),i[151](o),i[152](e),ie=!0},p(x,se){const ve={};se[1]&16777216&&(ve.isHidden=!x[55]),se[0]&16&&(ve.isAds=x[4]),se[0]&32&&(ve.canRewindLive=x[5]),se[1]&1048576&&(ve.isRewindableLive=x[51]),t.$set(ve),x[54]?G?(G.p(x,se),se[1]&8388608&&m(G,1)):(G=_s(x),G.c(),m(G,1),G.m(l,s)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),x[19]?J?(J.p(x,se),se[0]&524288&&m(J,1)):(J=ks(x),J.c(),m(J,1),J.m(l,a)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),x[20]?ce?(ce.p(x,se),se[0]&1048576&&m(ce,1)):(ce=ws(x),ce.c(),m(ce,1),ce.m(l,r)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),x[53]?w?(w.p(x,se),se[1]&4194304&&m(w,1)):(w=ys(x),w.c(),m(w,1),w.m(l,c)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),x[104]&&le.p(x,se),!x[4]&&x[47]?de?(de.p(x,se),se[0]&16|se[1]&65536&&m(de,1)):(de=Cs(x),de.c(),m(de,1),de.m(l,h)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),x[26]?_e?(_e.p(x,se),se[0]&67108864&&m(_e,1)):(_e=Ps(x),_e.c(),m(_e,1),_e.m(l,g)):_e&&(he(),p(_e,1,1,()=>{_e=null}),pe());const re={};if(se[0]&134217728&&(re.disabled=!x[27]),se[0]&134217728|se[2]&5120|se[5]&32768&&(re.$$scope={dirty:se,ctx:x}),!b&&se[1]&256&&(b=!0,re.width=x[39],bt(()=>b=!1)),v.$set(re),se[1]&32768){ye=Vt(x[46]);let We;for(We=0;We<ye.length;We+=1){const $e=vs(x,ye,We);H[We]?(H[We].p($e,se),m(H[We],1)):(H[We]=Ts($e),H[We].c(),m(H[We],1),H[We].m(A,S))}for(he(),We=ye.length;We<H.length;We+=1)M(We);pe()}x[24]?Y?(Y.p(x,se),se[0]&16777216&&m(Y,1)):(Y=As(x),Y.c(),m(Y,1),Y.m(A,P)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe());const qe={};se[2]&256|se[5]&32768&&(qe.$$scope={dirty:se,ctx:x}),!W&&se[1]&1024&&(W=!0,qe.width=x[41],bt(()=>W=!1)),B.$set(qe),x[22]?N?(N.p(x,se),se[0]&4194304&&m(N,1)):(N=Es(x),N.c(),m(N,1),N.m(A,j)):N&&(he(),p(N,1,1,()=>{N=null}),pe()),!x[75]&&!x[4]?Q?(Q.p(x,se),se[0]&16|se[2]&8192&&m(Q,1)):(Q=Ls(x),Q.c(),m(Q,1),Q.m(A,T)):Q&&(he(),p(Q,1,1,()=>{Q=null}),pe()),x[23]?Ie?(Ie.p(x,se),se[0]&8388608&&m(Ie,1)):(Ie=Vs(x),Ie.c(),m(Ie,1),Ie.m(A,te)):Ie&&(he(),p(Ie,1,1,()=>{Ie=null}),pe()),x[25]?Ce?(Ce.p(x,se),se[0]&33554432&&m(Ce,1)):(Ce=Is(x),Ce.c(),m(Ce,1),Ce.m(A,Z)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe()),x[21]?Ae?(Ae.p(x,se),se[0]&2097152&&m(Ae,1)):(Ae=Ms(x),Ae.c(),m(Ae,1),Ae.m(A,null)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),(!ie||se[0]&2)&&L(e,"hidden",x[1]),(!ie||se[0]&8)&&L(e,"controls-hidden",!x[3]),(!ie||se[0]&4)&&L(e,"no-smooth",x[2])},i(x){if(!ie){m(t.$$.fragment,x),m(G),m(J),m(ce),m(w),m(le),m(de),m(_e),m(v.$$.fragment,x);for(let se=0;se<ye.length;se+=1)m(H[se]);m(Y),m(B.$$.fragment,x),m(N),m(Q),m(Ie),m(Ce),m(Ae),ie=!0}},o(x){p(t.$$.fragment,x),p(G),p(J),p(ce),p(w),p(le),p(de),p(_e),p(v.$$.fragment,x),H=H.filter(Boolean);for(let se=0;se<H.length;se+=1)p(H[se]);p(Y),p(B.$$.fragment,x),p(N),p(Q),p(Ie),p(Ce),p(Ae),ie=!1},d(x){x&&y(e),O(t),G&&G.d(),J&&J.d(),ce&&ce.d(),w&&w.d(),le&&le.d(),de&&de.d(),_e&&_e.d(),O(v),_(),tn(H,x),Y&&Y.d(),O(B),N&&N.d(),Q&&Q.d(),Ie&&Ie.d(),Ce&&Ce.d(),Ae&&Ae.d(),i[151](null),i[152](null)}}}function h4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,{bottomHidden:de}=e,{bottomNoSmooth:_e}=e,{showControls:Ne}=e,{controlsElementRef:Le=void 0}=e,{isAds:ye=!1}=e,{canRewindLive:H}=e,{logoClickable:M}=e,{logoHidden:Y}=e,{videoLogoUrl:ge}=e,{showNextPrevButtons:ee}=e,{nextButtonActive:N}=e,{prevButtonActive:Q}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:Ce}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:x}=e,{playPrevVideo:se}=e,{repeatPlaylist:ve}=e,{toggleFullscreen:re}=e,{returnFocus:qe}=e,{seekToInteractive:We}=e,{toggleGraph:$e}=e,{playPrevChapter:it}=e;const Be=_t(),rt=Gi(),St=Be.actions.internal.toggleMuted,Re=Be.actions.internal.togglePlay,Ve=Be.actions.internal.pause,wt=Be.actions.internal.toggleSubtitle,zt=Be.callbacks?.onAudioDoesNotExistHint,mt=Be.callbacks?.onAudioDisabledHint,lt=Be.state.duration$;F(i,lt,oe=>t(74,ce=oe));const ue=Be.state.positionWithScrubbing$;F(i,ue,oe=>t(72,G=oe));const et=Be.state.playbackState$;F(i,et,oe=>t(124,_=oe));const Qe=Be.state.chromecastConnected$;F(i,Qe,oe=>t(75,w=oe));const nt=Be.state.isAudioAvailable$;F(i,nt,oe=>t(70,c=oe));const Ke=Be.state.isAudioDisabled,dt=Be.state.isEnded$;F(i,dt,oe=>t(130,j=oe));const tt=Be.state.isLive$;F(i,tt,oe=>t(47,g=oe));const Mt=Be.state.isActiveLive$;F(i,Mt,oe=>t(125,A=oe));const yt=Be.state.isRewindableLive$;F(i,yt,oe=>t(51,S=oe));const ot=Be.ui.isPictureInPictureActive$;F(i,ot,oe=>t(128,W=oe));const Ot=Be.ui.pictureInPictureType$;F(i,Ot,oe=>t(127,B=oe));const ct=Be.ui.settingsMenuVisible;F(i,ct,oe=>t(76,le=oe));const Ze=Be.ui.controls,Tt=Be.actions.internal.getVideoEpisodes(),st=Be.state.chromecastState$;F(i,st,oe=>t(48,v=oe));const ii=Be.state.availableSubtitlesList$;F(i,ii,oe=>t(129,X=oe));const me=Be.state.currentSubtitle$;F(i,me,oe=>t(131,T=oe));const Pe=Ze.disabledControls$;F(i,Pe,oe=>t(133,Z=oe));const Me=Be.ads.duration;F(i,Me,oe=>t(73,J=oe));const Pt=Be.ads.position;F(i,Pt,oe=>t(71,ie=oe));const Vi=Be.ads.playbackState;F(i,Vi,oe=>t(132,te=oe));const Jt=Be.ui.isFullscreen;F(i,Jt,oe=>t(49,b=oe));const bi=Be.ui.playerSize;F(i,bi,oe=>t(126,P=oe));const Ii=Be.ui.currentGridType$;F(i,Ii,oe=>t(123,h=oe));const Lt=Be.ui.additionalButtons$;F(i,Lt,oe=>t(46,f=oe));const Se=Be.actions.internal.replayInteractive,Nt=Be.state.isInteractive,Mi=Be.state.isInteractiveGraphEnabled,ni=Be.state.isSeekToInteractiveEnable,vi=Be.state.isPlayPrevChapterEnabled,_i=Be.state.graphIsOpened$;F(i,_i,oe=>t(50,V=oe));const ki=Be.state.playPrevChapterDisabledTooltip,oi=()=>Be.actions.internal.toggleChromecast();let Ki,di,wi,yi,Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si="";const zi=(oe,xi)=>{if(!oe){t(59,si=U("tooltip_live"));return}xi===Je.PlaybackState.PAUSED&&t(59,si=U("tooltip_play"))};let Si,Ti,Ai,mi,Ft,ai,hi,Ut,qt,ei,ri,Wt,pi,ti,Oi,Ei,ji,Di,ui,Ui,Li,ae,jt,Hi,Qi;function sn(oe,xi){let at=eo;const Rt=($i,un,$n)=>{let Ln=un?$i+un+($i?lu:0):$i;return $n.set({positionStartX:$i,positionEndX:Ln,isDisplayed:xi&&$i!==Ln}),Ln};at=Rt(at,oe.prevButtonWidth,Ze.prevButton),at=Rt(at,oe.replayButtonWidth,Ze.replayButton),at=Rt(at,oe.playButtonWidth,Ze.playButton),at=Rt(at,oe.nextButtonWidth,Ze.nextButton),at=Rt(at,oe.playPrevChapterWidth,Ze.playPrevChapterButton),at=Rt(at,oe.seekToInteractiveWidth,Ze.seekToInteractiveButton),at=Rt(at,oe.interactiveGraphWidth,Ze.interactiveGraphButton),at=Rt(at,oe.liveButtonWidth,Ze.liveButton),at=Rt(at,oe.timeWidth,Ze.time),at=Rt(at,oe.episodesWidth,Ze.episodes),f.forEach(($i,un)=>{at=Rt(at,oe.additionalButtonWidths[un],Ze.additionalButtons[un])}),at=Rt(at,oe.vkLogoWidth,Ze.vkLogo),at=Rt(at,oe.volumeWidth,Ze.volume),at=Rt(at,oe.subtitlesWidth,Ze.subtitles),at=Rt(at,oe.settingsWidth,Ze.settings),at=Rt(at,oe.fullscreenWidth,Ze.fullscreen),Rt(at,oe.chromecastWidth,Ze.chromecast)}function an(){Ke?mt?.():c?St():zt?.()}const Zt=Nt?Se:Ie?Re:ve;function Cn(oe){ai=oe,t(30,ai)}function Pn(oe){hi=oe,t(31,hi)}function rn(oe){Ut=oe,t(32,Ut)}function _n(oe){qt=oe,t(33,qt)}function nn(oe){ei=oe,t(34,ei)}function Ji(oe){ri=oe,t(35,ri)}function Sn(oe){Wt=oe,t(36,Wt)}function $(oe){pi=oe,t(37,pi)}function kt(oe){ti=oe,t(38,ti)}function Tn(oe){Oi=oe,t(39,Oi)}function An(){Ft=this.clientWidth,t(29,Ft)}function En(oe){Ei=oe,t(40,Ei)}function Kn(oe){ji=oe,t(41,ji)}function Yn(oe){Di=oe,t(42,Di)}function Qn(oe){ui=oe,t(43,ui)}function Xn(oe){Ui=oe,t(44,Ui)}function Jn(oe){Li=oe,t(45,Li)}function Nn(oe){je[oe?"unshift":"push"](()=>{Bi=oe,t(56,Bi)})}function xn(oe){je[oe?"unshift":"push"](()=>{Le=oe,t(0,Le)})}return i.$$set=oe=>{"bottomHidden"in oe&&t(1,de=oe.bottomHidden),"bottomNoSmooth"in oe&&t(2,_e=oe.bottomNoSmooth),"showControls"in oe&&t(3,Ne=oe.showControls),"controlsElementRef"in oe&&t(0,Le=oe.controlsElementRef),"isAds"in oe&&t(4,ye=oe.isAds),"canRewindLive"in oe&&t(5,H=oe.canRewindLive),"logoClickable"in oe&&t(6,M=oe.logoClickable),"logoHidden"in oe&&t(113,Y=oe.logoHidden),"videoLogoUrl"in oe&&t(7,ge=oe.videoLogoUrl),"showNextPrevButtons"in oe&&t(114,ee=oe.showNextPrevButtons),"nextButtonActive"in oe&&t(8,N=oe.nextButtonActive),"prevButtonActive"in oe&&t(9,Q=oe.prevButtonActive),"isOneVideoPlaylist"in oe&&t(115,Ie=oe.isOneVideoPlaylist),"supportLink"in oe&&t(10,Ce=oe.supportLink),"customFullscreenSupported"in oe&&t(116,Ae=oe.customFullscreenSupported),"playNextVideo"in oe&&t(11,x=oe.playNextVideo),"playPrevVideo"in oe&&t(12,se=oe.playPrevVideo),"repeatPlaylist"in oe&&t(117,ve=oe.repeatPlaylist),"toggleFullscreen"in oe&&t(13,re=oe.toggleFullscreen),"returnFocus"in oe&&t(14,qe=oe.returnFocus),"seekToInteractive"in oe&&t(15,We=oe.seekToInteractive),"toggleGraph"in oe&&t(16,$e=oe.toggleGraph),"playPrevChapter"in oe&&t(17,it=oe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&512&&t(122,n=Z.has(ft.EPISODE_BUTTON)),i.$$.dirty[4]&512&&t(69,o=Z.has(ft.GRAPH_BUTTON)),i.$$.dirty[4]&512&&t(68,l=Z.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&512&&t(67,s=Z.has(ft.PLAY_BUTTON)),i.$$.dirty[4]&512&&t(66,a=Z.has(ft.REPLAY_BUTTON)),i.$$.dirty[4]&512&&t(65,r=Z.has(ft.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&257&&t(52,Ki=ye?te===Bt.PLAYING:_===Je.PlaybackState.PLAYING),i.$$.dirty[4]&128&&t(18,di=T.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(19,wi=j&&!ye||Nt),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(20,yi=!j||Nt||ye),i.$$.dirty[3]&1073741824&&t(118,Ni=en(h,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&1075838976&&t(53,Ci=ee&&en(h,exports.GridTypes.M)&&!ye&&N),i.$$.dirty[0]&528|i.$$.dirty[3]&1075838976&&t(54,qi=ee&&en(h,exports.GridTypes.M)&&!ye&&Q),i.$$.dirty[1]&131072|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&24&&t(21,xt=v!==Je.ChromecastState.NOT_AVAILABLE&&!(W&&B===dn.DocumentPictureInPicture)&&en(h,exports.GridTypes.M)&&!Nt),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&32&&t(22,li=X.length>0&&en(h,exports.GridTypes.M)),i.$$.dirty[3]&1073741824&&t(23,Pi=en(h,exports.GridTypes.S)),i.$$.dirty[3]&1048576&&t(24,Dt=!Y),i.$$.dirty[3]&1083179008|i.$$.dirty[4]&24&&t(25,Ct=rt.features.fullscreen&&(Y||en(h,exports.GridTypes.S))&&!(W&&B===dn.DocumentPictureInPicture)&&(Nt?Ae:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,Ht=(!g||ye)&&!(rt.features.interactiveHideTime&&Nt)),i.$$.dirty[4]&4&&t(55,Ri=P.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&570425344&&t(27,Yi=!ye&&!g&&!!Tt?.length&&Ni&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&2&&t(28,$t=!S||A),i.$$.dirty[4]&1&&t(57,Fi=_===Je.PlaybackState.PLAYING?U("tooltip_pause"):U("tooltip_play")),i.$$.dirty[1]&524288&&t(58,Wi=U(V?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&1&&zi($t,_),i.$$.dirty[0]&262144&&t(61,Ti=U(di?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Ai=U(b?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,mi=v===Je.ChromecastState.CONNECTED?U("tooltip_chromecast_on"):U("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(119,ae={prevButtonWidth:ai??0,replayButtonWidth:wi?hi:0,playButtonWidth:yi?Ut:0,nextButtonWidth:qt??0,playPrevChapterWidth:vi?ei:0,seekToInteractiveWidth:Nt?ri:0,interactiveGraphWidth:Mi?Wt??0:0,liveButtonWidth:g&&pi?pi:0,timeWidth:Ht?ti:0,episodesWidth:Oi,vkLogoWidth:Dt?Ei:0,volumeWidth:ji,subtitlesWidth:li?Di:0,settingsWidth:Pi?ui:0,fullscreenWidth:Ct?Ui:0,chromecastWidth:xt?Li:0,additionalButtonWidths:f.length?f.reduce(oe=>[...oe,40],[]):[]}),i.$$.dirty[3]&201326592&&(!jt||jt<ae.timeWidth)&&t(120,jt=ae.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1275068416){let oe=0;Yi&&(en(h,exports.GridTypes.XL)?oe=ae.timeWidth:oe=su);const xi=ae.prevButtonWidth+ae.playButtonWidth+ae.nextButtonWidth+ae.seekToInteractiveWidth+ae.interactiveGraphWidth+ae.liveButtonWidth+jt+oe;t(121,Hi=Ht&&Ft>=xi)}i.$$.dirty[3]&1342177280&&t(64,Qi=Hi&&en(h,exports.GridTypes.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&67108864&&sn(ae,Ne)},t(60,Si=rt.logoType===jn.VK_VIDEO?U("tooltip_vk_video_logo"):U("tooltip_vk_logo")),[Le,de,_e,Ne,ye,H,M,ge,N,Q,Ce,x,se,re,qe,We,$e,it,di,wi,yi,xt,li,Pi,Dt,Ct,Ht,Yi,$t,Ft,ai,hi,Ut,qt,ei,ri,Wt,pi,ti,Oi,Ei,ji,Di,ui,Ui,Li,f,g,v,b,V,S,Ki,Ci,qi,Ri,Bi,Fi,Wi,si,Si,Ti,Ai,mi,Qi,r,a,s,l,o,c,ie,G,J,ce,w,le,Re,Ve,wt,lt,ue,et,Qe,nt,dt,tt,Mt,yt,ot,Ot,ct,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Nt,Mi,ni,vi,_i,ki,oi,an,Zt,Y,ee,Ie,Ae,ve,Ni,ae,jt,Hi,n,h,_,A,P,B,W,X,j,T,te,Z,Cn,Pn,rn,_n,nn,Ji,Sn,$,kt,Tn,An,En,Kn,Yn,Qn,Xn,Jn,Nn,xn]}class p4 extends we{constructor(e){super(),ke(this,e,h4,m4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:113,videoLogoUrl:7,showNextPrevButtons:114,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:115,supportLink:10,customFullscreenSupported:116,playNextVideo:11,playPrevVideo:12,repeatPlaylist:117,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},G2,[-1,-1,-1,-1,-1,-1])}}function g4(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 b4 extends we{constructor(e){super(),ke(this,e,null,g4,be,{})}}function v4(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 Ns(i){let e;return{c(){e=k("span"),e.textContent=`${U("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){C(t,e,n)},p:K,d(t){t&&y(e)}}}function _4(i){let e,t,n,o;var l=i[3];function s(r){return{}}l&&(t=ln(l,s()));let a=i[0]&&Ns();return{c(){e=k("div"),t&&D(t.$$.fragment),n=R(),a&&a.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),L(e,"expanded",i[0])},m(r,c){C(r,e,c),t&&z(t,e,null),d(e,n),a&&a.m(e,null),o=!0},p(r,c){if(c&8&&l!==(l=r[3])){if(t){he();const f=t;p(f.$$.fragment,1,0,()=>{O(f,1)}),pe()}l?(t=ln(l,s()),D(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}r[0]?a?a.p(r,c):(a=Ns(),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!o||c&1)&&L(e,"expanded",r[0])},i(r){o||(t&&m(t.$$.fragment,r),o=!0)},o(r){t&&p(t.$$.fragment,r),o=!1},d(r){r&&y(e),t&&O(t),a&&a.d()}}}function k4(i){let e,t;return e=new fi({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[_4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function w4(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=ne.noop}=e,s,a;return i.$$set=r=>{"muted"in r&&t(4,n=r.muted),"expanded"in r&&t(0,o=r.expanded),"click"in r&&t(1,l=r.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,s=U(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,a=o?So:b4)},[o,l,s,a,n]}class m1 extends we{constructor(e){super(),ke(this,e,w4,k4,be,{muted:4,expanded:0,click:1},v4)}}function y4(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"),L(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"),L(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&&L(n,"hidden",!l[0]),s&2&&u(o,"fill",l[1]),s&1&&L(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function C4(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 P4 extends we{constructor(e){super(),ke(this,e,C4,y4,be,{isActive:0})}}function S4(i){let e,t;return e=new P4({props:{isActive:i[0]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function T4(i){let e,t;return e=new fi({props:{testId:"btn-pip",ariaLabel:U("menu_pip"),click:i[1],$$slots:{default:[S4]},$$scope:{ctx:i}}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function A4(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=ne.noop}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class E4 extends we{constructor(e){super(),ke(this,e,A4,T4,be,{isPictureInPictureActive:0,click:1})}}function L4(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 Rs(i,e,t){const n=i.slice();return n[137]=e[t].iconUrl,n[138]=e[t].ariaLabel,n[139]=e[t].testId,n[140]=e[t].onClick,n[141]=e[t].tooltip,n}function Bs(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S=(!i[54]||i[56])&&zs(i),P=Vt(i[59]),B=[];for(let w=0;w<P.length;w+=1)B[w]=Os(Rs(i,P,w));const W=w=>p(B[w],1,1,()=>{B[w]=null});let X=i[33]&&Ds(i),j=i[34]&&Hs(i),T=i[60]&&Fs(),te=i[36]&&Us(i),Z=i[8]&&qs(i),ie=i[31]&&Ws(i),G=i[30]&&js(i),J=i[8]&&Zs(i),ce=i[97]&&!i[26]&&Gs(i);return{c(){e=k("div"),t=R(),n=k("div"),S&&S.c(),o=R(),l=k("div");for(let w=0;w<B.length;w+=1)B[w].c();s=R(),X&&X.c(),a=R(),j&&j.c(),r=R(),T&&T.c(),c=R(),te&&te.c(),f=R(),h=k("div"),Z&&Z.c(),g=R(),ie&&ie.c(),v=R(),G&&G.c(),b=R(),J&&J.c(),_=R(),ce&&ce.c(),V=ht(),u(e,"class","overlay-mobile v-1tcstu3"),L(e,"hidden",!i[39]),u(n,"class","wrapper-top-left v-1tcstu3"),L(n,"hidden",!i[3]),L(n,"fullscreen",i[55]),u(l,"class","wrapper-top-right v-1tcstu3"),L(l,"hidden",!i[3]&&!i[24]),L(l,"fullscreen",i[55]),u(h,"class","wrapper-middle v-1tcstu3"),L(h,"hidden",!i[3]||i[26])},m(w,le){C(w,e,le),C(w,t,le),C(w,n,le),S&&S.m(n,null),C(w,o,le),C(w,l,le);for(let de=0;de<B.length;de+=1)B[de]&&B[de].m(l,null);d(l,s),X&&X.m(l,null),d(l,a),j&&j.m(l,null),d(l,r),T&&T.m(l,null),d(l,c),te&&te.m(l,null),C(w,f,le),C(w,h,le),Z&&Z.m(h,null),d(h,g),ie&&ie.m(h,null),d(h,v),G&&G.m(h,null),d(h,b),J&&J.m(h,null),C(w,_,le),ce&&ce.m(w,le),C(w,V,le),A=!0},p(w,le){if((!A||le[1]&256)&&L(e,"hidden",!w[39]),!w[54]||w[56]?S?(S.p(w,le),le[1]&41943040&&m(S,1)):(S=zs(w),S.c(),m(S,1),S.m(n,null)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),(!A||le[0]&8)&&L(n,"hidden",!w[3]),(!A||le[1]&16777216)&&L(n,"fullscreen",w[55]),le[1]&268435456){P=Vt(w[59]);let de;for(de=0;de<P.length;de+=1){const _e=Rs(w,P,de);B[de]?(B[de].p(_e,le),m(B[de],1)):(B[de]=Os(_e),B[de].c(),m(B[de],1),B[de].m(l,s))}for(he(),de=P.length;de<B.length;de+=1)W(de);pe()}w[33]?X?(X.p(w,le),le[1]&4&&m(X,1)):(X=Ds(w),X.c(),m(X,1),X.m(l,a)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),w[34]?j?(j.p(w,le),le[1]&8&&m(j,1)):(j=Hs(w),j.c(),m(j,1),j.m(l,r)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),w[60]?T?le[1]&536870912&&m(T,1):(T=Fs(),T.c(),m(T,1),T.m(l,c)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),w[36]?te?(te.p(w,le),le[1]&32&&m(te,1)):(te=Us(w),te.c(),m(te,1),te.m(l,null)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),(!A||le[0]&16777224)&&L(l,"hidden",!w[3]&&!w[24]),(!A||le[1]&16777216)&&L(l,"fullscreen",w[55]),w[8]?Z?(Z.p(w,le),le[0]&256&&m(Z,1)):(Z=qs(w),Z.c(),m(Z,1),Z.m(h,g)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),w[31]?ie?(ie.p(w,le),le[1]&1&&m(ie,1)):(ie=Ws(w),ie.c(),m(ie,1),ie.m(h,v)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),w[30]?G?(G.p(w,le),le[0]&1073741824&&m(G,1)):(G=js(w),G.c(),m(G,1),G.m(h,b)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),w[8]?J?(J.p(w,le),le[0]&256&&m(J,1)):(J=Zs(w),J.c(),m(J,1),J.m(h,null)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),(!A||le[0]&67108872)&&L(h,"hidden",!w[3]||w[26]),w[97]&&!w[26]?ce?(ce.p(w,le),le[0]&67108864&&m(ce,1)):(ce=Gs(w),ce.c(),m(ce,1),ce.m(V.parentNode,V)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe())},i(w){if(!A){m(S);for(let le=0;le<P.length;le+=1)m(B[le]);m(X),m(j),m(T),m(te),m(Z),m(ie),m(G),m(J),m(ce),A=!0}},o(w){p(S),B=B.filter(Boolean);for(let le=0;le<B.length;le+=1)p(B[le]);p(X),p(j),p(T),p(te),p(Z),p(ie),p(G),p(J),p(ce),A=!1},d(w){w&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(_),y(V)),S&&S.d(),tn(B,w),X&&X.d(),j&&j.d(),T&&T.d(),te&&te.d(),Z&&Z.d(),ie&&ie.d(),G&&G.d(),J&&J.d(),ce&&ce.d(w)}}}function zs(i){let e,t;return e=new m1({props:{muted:i[57],expanded:i[54]&&!i[73]&&i[58],click:i[104]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&67108864&&(l.muted=n[57]),o[1]&142606336&&(l.expanded=n[54]&&!n[73]&&n[58]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Os(i){let e,t;return e=new d1({props:{iconUrl:i[137],ariaLabel:i[138]??i[141],testId:i[139],onClick:i[140]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&268435456&&(l.iconUrl=n[137]),o[1]&268435456&&(l.ariaLabel=n[138]??n[141]),o[1]&268435456&&(l.testId=n[139]),o[1]&268435456&&(l.onClick=n[140]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ds(i){let e,t;return e=new n1({props:{isMobile:!0,click:i[102],state:i[25]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&33554432&&(l.state=n[25]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Hs(i){let e,t;return e=new E4({props:{click:i[103],isPictureInPictureActive:i[23]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8388608&&(l.isPictureInPictureActive=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fs(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Us(i){let e,t;return e=new i1({props:{click:i[67],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qs(i){let e,t;return e=new To({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ws(i){let e,t;return e=new xo({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:i[28]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&1048576&&(l.disabled=n[51]),o[0]&268435456&&(l.isPlaying=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function js(i){let e,t;return e=new $o({props:{disabled:i[50],click:i[105],isMobile:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Zs(i){let e,t;return e=new To({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Gs(i){let e,t,n,o,l=i[100]&&V4(i),s=i[98]&&I4(i),a=i[99]&&M4(i);return{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),a&&a.c(),n=ht()},m(r,c){l&&l.m(r,c),C(r,e,c),s&&s.m(r,c),C(r,t,c),a&&a.m(r,c),C(r,n,c),o=!0},p(r,c){r[100]&&l.p(r,c),r[98]&&s.p(r,c),r[99]&&a.p(r,c)},i(r){o||(m(l),m(s),m(a),o=!0)},o(r){p(l),p(s),p(a),o=!1},d(r){r&&(y(e),y(t),y(n)),l&&l.d(r),s&&s.d(r),a&&a.d(r)}}}function V4(i){let e,t,n;return t=new f1({props:{hidden:!i[3],disabled:i[49],click:i[18]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),L(e,"fullscreen",i[55]),L(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]&262144&&(s.disabled=o[49]),l[0]&262144&&(s.click=o[18]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function I4(i){let e,t,n;return t=new c1({props:{hidden:!i[3]&&!i[61],disabled:i[53],click:i[17],graphIsOpened:i[61]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class",F1(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),L(e,"fullscreen",i[55]),L(e,"hidden",!i[3]&&!i[61])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[0]&8|l[1]&1073741824&&(s.hidden=!o[3]&&!o[61]),l[1]&4194304&&(s.disabled=o[53]),l[0]&131072&&(s.click=o[17]),l[1]&1073741824&&(s.graphIsOpened=o[61]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8|l[1]&1073741824)&&L(e,"hidden",!o[3]&&!o[61])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function M4(i){let e,t,n;return t=new u1({props:{hidden:!i[3],disabled:i[52],click:i[16]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),L(e,"fullscreen",i[55]),L(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]&2097152&&(s.disabled=o[52]),l[0]&65536&&(s.click=o[16]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55]),(!n||l[0]&8)&&L(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ks(i){let e,t,n,o,l,s=i[56]&&Ys(i),a=i[29]&&Qs(i);return o=new s1({props:{position:i[62],duration:i[63]}}),{c(){s&&s.c(),e=R(),a&&a.c(),t=R(),n=k("div"),D(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),L(n,"fullscreen",i[55])},m(r,c){s&&s.m(r,c),C(r,e,c),a&&a.m(r,c),C(r,t,c),C(r,n,c),z(o,n,null),l=!0},p(r,c){r[56]?s?(s.p(r,c),c[1]&33554432&&m(s,1)):(s=Ys(r),s.c(),m(s,1),s.m(e.parentNode,e)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),r[29]?a?(a.p(r,c),c[0]&536870912&&m(a,1)):(a=Qs(r),a.c(),m(a,1),a.m(t.parentNode,t)):a&&(he(),p(a,1,1,()=>{a=null}),pe());const f={};c[2]&1&&(f.position=r[62]),c[2]&2&&(f.duration=r[63]),o.$set(f),(!l||c[1]&16777216)&&L(n,"fullscreen",r[55])},i(r){l||(m(s),m(a),m(o.$$.fragment,r),l=!0)},o(r){p(s),p(a),p(o.$$.fragment,r),l=!1},d(r){r&&(y(e),y(t),y(n)),s&&s.d(r),a&&a.d(r),O(o)}}}function Ys(i){let e,t,n;return t=new m1({props:{muted:i[57],expanded:!1,click:i[104]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),L(e,"fullscreen",i[55])},m(o,l){C(o,e,l),z(t,e,null),n=!0},p(o,l){const s={};l[1]&67108864&&(s.muted=o[57]),t.$set(s),(!n||l[1]&16777216)&&L(e,"fullscreen",o[55])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Qs(i){let e,t,n;return t=new xo({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:!i[29]}}),{c(){e=k("div"),D(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]&1048576&&(s.disabled=o[51]),l[0]&536870912&&(s.isPlaying=!o[29]),t.$set(s)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function N4(i){let e,t,n;function o(s){i[120](s)}let l={disabled:i[50],$$slots:{default:[R4]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&524288&&(r.disabled=s[50]),a[1]&524288|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&2048&&(t=!0,r.width=s[42],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function R4(i){let e,t;return e=new $o({props:{disabled:i[50],click:i[96]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xs(i){let e,t,n;function o(s){i[121](s)}let l={$$slots:{default:[B4]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&524288|a[1]&131072|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&4096&&(t=!0,r.width=s[43],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function B4(i){let e,t;return e=new o1({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[48]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&524288&&(l.isActiveLive=n[19]),o[1]&131072&&(l.ariaLabel=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Js(i){let e,t,n;function o(s){i[122](s)}let l={showDuration:i[32],position:i[4]?i[62]:i[64],duration:i[4]?i[63]:i[65],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new Jr({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[1]&2&&(r.showDuration=s[32]),a[0]&16|a[2]&5&&(r.position=s[4]?s[62]:s[64]),a[0]&16|a[2]&10&&(r.duration=s[4]?s[63]:s[65]),!t&&a[1]&8192&&(t=!0,r.width=s[44],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function xs(i){let e,t,n,o;return n=new r1({props:{position:i[64],duration:i[65],timeCodes:i[86]}}),{c(){e=k("div"),e.textContent="\xB7",t=R(),D(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 a={};s[2]&4&&(a.position=l[64]),s[2]&8&&(a.duration=l[65]),n.$set(a)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){p(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),O(n,l)}}}function z4(i){let e,t,n=i[40]&&xs(i);return{c(){n&&n.c(),e=ht()},m(o,l){n&&n.m(o,l),C(o,e,l),t=!0},p(o,l){o[40]?n?(n.p(o,l),l[1]&512&&m(n,1)):(n=xs(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(he(),p(n,1,1,()=>{n=null}),pe())},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function $s(i){let e,t,n;function o(s){i[124](s)}let l={$$slots:{default:[O4]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&32768&&(t=!0,r.width=s[46],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function O4(i){let e,t;return e=new Qo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ea(i){let e,t,n;function o(s){i[125](s)}let l={$$slots:{default:[D4]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new It({props:l}),je.push(()=>vt(e,"width",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&16384|a[1]&16777216|a[4]&1048576&&(r.$$scope={dirty:a,ctx:s}),!t&&a[1]&65536&&(t=!0,r.width=s[47],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function D4(i){let e,t;return e=new e1({props:{click:i[14],isFullscreen:i[55]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&16777216&&(l.isFullscreen=n[55]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ta(i){let e,t,n;return t=new Xr({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function H4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S=!i[4]&&Bs(i),P=i[4]&&i[27]!==Bt.INACTIVE&&Ks(i),B=i[97]&&N4(i),W=!i[4]&&i[21]&&Xs(i),X=i[38]&&Js(i);function j(G){i[123](G)}let T={className:"w-max",disabled:!i[40],$$slots:{default:[z4]},$$scope:{ctx:i}};i[45]!==void 0&&(T.width=i[45]),c=new It({props:T}),je.push(()=>vt(c,"width",j));let te=i[35]&&$s(i),Z=i[37]&&ea(i);b=new a1({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let ie=i[22]&&ta(i);return{c(){S&&S.c(),e=R(),P&&P.c(),t=R(),n=k("div"),o=k("div"),l=k("div"),B&&B.c(),s=R(),W&&W.c(),a=R(),X&&X.c(),r=R(),D(c.$$.fragment),h=R(),te&&te.c(),g=R(),Z&&Z.c(),v=R(),D(b.$$.fragment),_=R(),ie&&ie.c(),V=ht(),u(l,"class","controls v-1tcstu3"),L(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),L(o,"fullscreen",i[55]),u(n,"class","wrapper-bottom v-1tcstu3"),L(n,"hidden",i[1]),L(n,"controls-hidden",!i[3]),L(n,"no-smooth",i[2]),L(n,"mobile",!0)},m(G,J){S&&S.m(G,J),C(G,e,J),P&&P.m(G,J),C(G,t,J),C(G,n,J),d(n,o),d(o,l),B&&B.m(l,null),d(l,s),W&&W.m(l,null),d(l,a),X&&X.m(l,null),d(l,r),z(c,l,null),d(l,h),te&&te.m(l,null),d(l,g),Z&&Z.m(l,null),i[126](l),d(o,v),z(b,o,null),i[127](n),C(G,_,J),ie&&ie.m(G,J),C(G,V,J),A=!0},p(G,J){G[4]?S&&(he(),p(S,1,1,()=>{S=null}),pe()):S?(S.p(G,J),J[0]&16&&m(S,1)):(S=Bs(G),S.c(),m(S,1),S.m(e.parentNode,e)),G[4]&&G[27]!==Bt.INACTIVE?P?(P.p(G,J),J[0]&134217744&&m(P,1)):(P=Ks(G),P.c(),m(P,1),P.m(t.parentNode,t)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),G[97]&&B.p(G,J),!G[4]&&G[21]?W?(W.p(G,J),J[0]&2097168&&m(W,1)):(W=Xs(G),W.c(),m(W,1),W.m(l,a)):W&&(he(),p(W,1,1,()=>{W=null}),pe()),G[38]?X?(X.p(G,J),J[1]&128&&m(X,1)):(X=Js(G),X.c(),m(X,1),X.m(l,r)):X&&(he(),p(X,1,1,()=>{X=null}),pe());const ce={};J[1]&512&&(ce.disabled=!G[40]),J[1]&512|J[2]&12|J[4]&1048576&&(ce.$$scope={dirty:J,ctx:G}),!f&&J[1]&16384&&(f=!0,ce.width=G[45],bt(()=>f=!1)),c.$set(ce),G[35]?te?(te.p(G,J),J[1]&16&&m(te,1)):(te=$s(G),te.c(),m(te,1),te.m(l,g)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),G[37]?Z?(Z.p(G,J),J[1]&64&&m(Z,1)):(Z=ea(G),Z.c(),m(Z,1),Z.m(l,null)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe());const w={};J[0]&16&&(w.isAds=G[4]),J[0]&32&&(w.canRewindLive=G[5]),J[0]&1048576&&(w.isRewindableLive=G[20]),b.$set(w),(!A||J[1]&16777216)&&L(o,"fullscreen",G[55]),(!A||J[0]&2)&&L(n,"hidden",G[1]),(!A||J[0]&8)&&L(n,"controls-hidden",!G[3]),(!A||J[0]&4)&&L(n,"no-smooth",G[2]),G[22]?ie?(ie.p(G,J),J[0]&4194304&&m(ie,1)):(ie=ta(G),ie.c(),m(ie,1),ie.m(V.parentNode,V)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe())},i(G){A||(m(S),m(P),m(B),m(W),m(X),m(c.$$.fragment,G),m(te),m(Z),m(b.$$.fragment,G),m(ie),A=!0)},o(G){p(S),p(P),p(B),p(W),p(X),p(c.$$.fragment,G),p(te),p(Z),p(b.$$.fragment,G),p(ie),A=!1},d(G){G&&(y(e),y(t),y(n),y(_),y(V)),S&&S.d(G),P&&P.d(G),B&&B.d(),W&&W.d(),X&&X.d(),O(c),te&&te.d(),Z&&Z.d(),i[126](null),O(b),i[127](null),ie&&ie.d(G)}}}function F4(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,{bottomHidden:Le}=e,{bottomNoSmooth:ye}=e,{showControls:H}=e,{controlsElementRef:M=void 0}=e,{isAds:Y=!1}=e,{canRewindLive:ge}=e,{logoClickable:ee}=e,{logoHidden:N}=e,{videoLogoUrl:Q}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:Ce}=e,{prevButtonActive:Ae}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:se}=e,{customFullscreenSupported:ve=!0}=e,{playNextVideo:re}=e,{playPrevVideo:qe}=e,{repeatPlaylist:We}=e,{toggleFullscreen:$e}=e,{returnFocus:it}=e,{seekToInteractive:Be}=e,{toggleGraph:rt}=e,{playPrevChapter:St}=e;const Re=_t(),Ve=Gi(),wt=Re.actions.internal.toggleMuted,zt=Re.actions.internal.togglePlay,mt=Re.actions.internal.pause,lt=Re.callbacks?.onAudioDoesNotExistHint,ue=Re.callbacks?.onAudioDisabledHint,et=Re.playerPhase;F(i,et,ae=>t(117,B=ae));const Qe=Re.state.duration$;F(i,Qe,ae=>t(65,Ne=ae));const nt=Re.state.positionWithScrubbing$;F(i,nt,ae=>t(64,_e=ae));const Ke=Re.state.playbackState$;F(i,Ke,ae=>t(113,c=ae));const dt=Re.state.isAudioAvailable$;F(i,dt,ae=>t(54,f=ae));const tt=Re.state.isAudioDisabled,Mt=Re.state.isEnded$;F(i,Mt,ae=>t(118,X=ae));const yt=Re.state.isLive$;F(i,yt,ae=>t(21,v=ae));const ot=Re.state.muted$;F(i,ot,ae=>t(57,ie=ae));const Ot=Re.state.isActiveLive$;F(i,Ot,ae=>t(114,h=ae));const ct=Re.state.isRewindableLive$;F(i,ct,ae=>t(20,g=ae));const Ze=Re.ui.scrubbingInProgress;F(i,Ze,ae=>t(26,W=ae));const Tt=Re.ui.mobileNotReportControlHidden$;F(i,Tt,ae=>t(24,S=ae));const st=Re.ui.isPictureInPictureActive$;F(i,st,ae=>t(23,A=ae));const ii=Re.ui.pictureInPictureType$;F(i,ii,ae=>t(116,V=ae));const me=Re.ui.mobileUnmuteButtonExpanded;F(i,me,ae=>t(58,G=ae));const Pe=Re.ui.mobileUnmuteButtonVisible;F(i,Pe,ae=>t(56,Z=ae));const Me=Re.ui.settingsMenuVisible;F(i,Me,ae=>t(22,b=ae));const Pt=Re.ui.controls,Vi=Re.actions.internal.getVideoEpisodes(),Jt=Re.webApi.pictureInPictureApi,bi=Re.state.chromecastState$;F(i,bi,ae=>t(25,P=ae));const Ii=Re.state.crashed$;F(i,Ii,ae=>t(60,ce=ae));const Lt=Pt.disabledControls$;F(i,Lt,ae=>t(119,T=ae));const Se=Re.ads.duration;F(i,Se,ae=>t(63,de=ae));const Nt=Re.ads.position;F(i,Nt,ae=>t(62,le=ae));const Mi=Re.ads.playbackState;F(i,Mi,ae=>t(27,j=ae));const ni=Re.ui.isFullscreen;F(i,ni,ae=>t(55,te=ae));const vi=Re.ui.playerSize;F(i,vi,ae=>t(115,_=ae));const _i=Re.ui.additionalButtons$;F(i,_i,ae=>t(59,J=ae));const ki=Re.actions.internal.replayInteractive,oi=Re.state.isInteractive,Ki=Re.state.isInteractiveGraphEnabled,di=Re.state.isSeekToInteractiveEnable,wi=Re.state.isPlayPrevChapterEnabled,yi=Re.state.graphIsOpened$;F(i,yi,ae=>t(61,w=ae));let Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si,zi,Si,Ti,Ai,mi,Ft,ai;const hi=()=>Re.actions.internal.toggleChromecast();function Ut(){tt?ue?.():f?wt():lt?.()}async function qt(){Jt?.isActive()?await Jt?.remove():await Jt?.request()}function ei(){!tt&&f&&Pe.set(!1),Ut()}const ri=x?zt:We;let Wt="";const pi=(ae,jt)=>{if(!ae){t(48,Wt=U("tooltip_live"));return}jt===Je.PlaybackState.PAUSED&&t(48,Wt=U("tooltip_play"))};function ti(ae){Si=ae,t(42,Si)}function Oi(ae){Ti=ae,t(43,Ti)}function Ei(ae){Ai=ae,t(44,Ai)}function ji(ae){mi=ae,t(45,mi)}function Di(ae){Ft=ae,t(46,Ft)}function ui(ae){ai=ae,t(47,ai)}function Ui(ae){je[ae?"unshift":"push"](()=>{si=ae,t(41,si)})}function Li(ae){je[ae?"unshift":"push"](()=>{M=ae,t(0,M)})}return i.$$set=ae=>{"bottomHidden"in ae&&t(1,Le=ae.bottomHidden),"bottomNoSmooth"in ae&&t(2,ye=ae.bottomNoSmooth),"showControls"in ae&&t(3,H=ae.showControls),"controlsElementRef"in ae&&t(0,M=ae.controlsElementRef),"isAds"in ae&&t(4,Y=ae.isAds),"canRewindLive"in ae&&t(5,ge=ae.canRewindLive),"logoClickable"in ae&&t(6,ee=ae.logoClickable),"logoHidden"in ae&&t(106,N=ae.logoHidden),"videoLogoUrl"in ae&&t(7,Q=ae.videoLogoUrl),"showNextPrevButtons"in ae&&t(8,Ie=ae.showNextPrevButtons),"nextButtonActive"in ae&&t(9,Ce=ae.nextButtonActive),"prevButtonActive"in ae&&t(10,Ae=ae.prevButtonActive),"isOneVideoPlaylist"in ae&&t(107,x=ae.isOneVideoPlaylist),"supportLink"in ae&&t(11,se=ae.supportLink),"customFullscreenSupported"in ae&&t(108,ve=ae.customFullscreenSupported),"playNextVideo"in ae&&t(12,re=ae.playNextVideo),"playPrevVideo"in ae&&t(13,qe=ae.playPrevVideo),"repeatPlaylist"in ae&&t(109,We=ae.repeatPlaylist),"toggleFullscreen"in ae&&t(14,$e=ae.toggleFullscreen),"returnFocus"in ae&&t(15,it=ae.returnFocus),"seekToInteractive"in ae&&t(16,Be=ae.seekToInteractive),"toggleGraph"in ae&&t(17,rt=ae.toggleGraph),"playPrevChapter"in ae&&t(18,St=ae.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=T.has(ft.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(53,o=T.has(ft.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(52,l=T.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(51,s=T.has(ft.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(50,a=T.has(ft.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,r=T.has(ft.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&1048576&&t(28,Ni=c===Je.PlaybackState.PLAYING),i.$$.dirty[0]&134217728&&t(29,Ci=j===Bt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(30,qi=X&&!Y&&!oi),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(31,xt=!X||Y),i.$$.dirty[3]&4194304&&t(110,li=_.width>300),i.$$.dirty[3]&4194304&&t(32,Pi=_.width>400),i.$$.dirty[0]&67108864&&t(111,Dt=W),i.$$.dirty[0]&58720256|i.$$.dirty[3]&8388608&&t(33,Ct=P!==Je.ChromecastState.NOT_AVAILABLE&&!(A&&V===dn.DocumentPictureInPicture)&&!S&&!oi),i.$$.dirty[0]&50331648|i.$$.dirty[3]&25427968){const ae=B===ze.WaitingLive;t(34,Ht=!!Jt&&P!==Je.ChromecastState.CONNECTED&&!S&&(V===dn.DocumentPictureInPicture&&ae||!ae)&&!Dt&&!oi)}i.$$.dirty[3]&262144&&t(35,Ri=!Dt),i.$$.dirty[3]&4202496&&t(36,Yi=!N&&_.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&8683520&&t(37,Bi=Ve.features.fullscreen&&!(A&&V===dn.DocumentPictureInPicture)&&(oi?ve:!0)&&!Dt),i.$$.dirty[0]&2097168|i.$$.dirty[3]&4456448&&t(38,$t=(!v||Y)&&_.width>260&&!Dt&&!(Ve.features.interactiveHideTime&&oi)),i.$$.dirty[0]&4194312&&t(39,Fi=b||H),i.$$.dirty[0]&2097168|i.$$.dirty[3]&917504&&t(40,Wi=!Y&&!v&&!!Vi?.length&&li&&!n&&!Dt),i.$$.dirty[0]&1048576|i.$$.dirty[3]&2097152&&t(19,zi=!g||h),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&pi(zi,c)},[M,Le,ye,H,Y,ge,ee,Q,Ie,Ce,Ae,se,re,qe,$e,it,Be,rt,St,zi,g,v,b,A,S,P,W,j,Ni,Ci,qi,xt,Pi,Ct,Ht,Ri,Yi,Bi,$t,Fi,Wi,si,Si,Ti,Ai,mi,Ft,ai,Wt,r,a,s,l,o,f,te,Z,ie,G,J,ce,w,le,de,_e,Ne,zt,mt,et,Qe,nt,Ke,dt,tt,Mt,yt,ot,Ot,ct,Ze,Tt,st,ii,me,Pe,Me,Vi,bi,Ii,Lt,Se,Nt,Mi,ni,vi,_i,ki,oi,Ki,di,wi,yi,hi,qt,ei,ri,N,x,ve,We,li,Dt,n,c,h,_,V,B,X,T,ti,Oi,Ei,ji,Di,ui,Ui,Li]}class U4 extends we{constructor(e){super(),ke(this,e,F4,H4,be,{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},L4,[-1,-1,-1,-1,-1])}}function q4(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 p4({props:l}),je.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function W4(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 U4({props:l}),je.push(()=>vt(e,"controlsElementRef",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a&2&&(r.bottomHidden=s[1]),a&4&&(r.bottomNoSmooth=s[2]),a&8&&(r.showControls=s[3]),a&16&&(r.isAds=s[4]),a&32&&(r.canRewindLive=s[5]),a&64&&(r.logoClickable=s[6]),a&128&&(r.logoHidden=s[7]),a&256&&(r.videoLogoUrl=s[8]),a&512&&(r.showNextPrevButtons=s[9]),a&1024&&(r.nextButtonActive=s[10]),a&2048&&(r.prevButtonActive=s[11]),a&4096&&(r.isOneVideoPlaylist=s[12]),a&8192&&(r.supportLink=s[13]),a&16384&&(r.customFullscreenSupported=s[14]),a&32768&&(r.playNextVideo=s[15]),a&65536&&(r.playPrevVideo=s[16]),a&131072&&(r.repeatPlaylist=s[17]),a&262144&&(r.toggleFullscreen=s[18]),a&524288&&(r.returnFocus=s[19]),a&1048576&&(r.seekToInteractive=s[20]),a&2097152&&(r.toggleGraph=s[21]),a&4194304&&(r.playPrevChapter=s[22]),!t&&a&1&&(t=!0,r.controlsElementRef=s[0],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function j4(i){let e,t,n,o;const l=[W4,q4],s=[];function a(r,c){return r[23]?0:1}return e=a(i),t=s[e]=l[e](i),{c(){t.c(),n=ht()},m(r,c){s[e].m(r,c),C(r,n,c),o=!0},p(r,[c]){let f=e;e=a(r),e===f?s[e].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),t=s[e],t?t.p(r,c):(t=s[e]=l[e](r),t.c()),m(t,1),t.m(n.parentNode,n))},i(r){o||(m(t),o=!0)},o(r){p(t),o=!1},d(r){r&&y(n),s[e].d(r)}}}function Z4(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:s}=e,{controlsElementRef:a=void 0}=e,{isAds:r=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:g}=e,{showNextPrevButtons:v}=e,{nextButtonActive:b}=e,{prevButtonActive:_}=e,{isOneVideoPlaylist:V=!1}=e,{supportLink:A}=e,{customFullscreenSupported:S=!0}=e,{playNextVideo:P}=e,{playPrevVideo:B}=e,{repeatPlaylist:W}=e,{toggleFullscreen:X}=e,{returnFocus:j=ne.noop}=e,{seekToInteractive:T}=e,{toggleGraph:te}=e,{playPrevChapter:Z}=e;const G=_t().ui.isMobile;F(i,G,w=>t(23,n=w));function J(w){a=w,t(0,a)}function ce(w){a=w,t(0,a)}return i.$$set=w=>{"bottomHidden"in w&&t(1,o=w.bottomHidden),"bottomNoSmooth"in w&&t(2,l=w.bottomNoSmooth),"showControls"in w&&t(3,s=w.showControls),"controlsElementRef"in w&&t(0,a=w.controlsElementRef),"isAds"in w&&t(4,r=w.isAds),"canRewindLive"in w&&t(5,c=w.canRewindLive),"logoClickable"in w&&t(6,f=w.logoClickable),"logoHidden"in w&&t(7,h=w.logoHidden),"videoLogoUrl"in w&&t(8,g=w.videoLogoUrl),"showNextPrevButtons"in w&&t(9,v=w.showNextPrevButtons),"nextButtonActive"in w&&t(10,b=w.nextButtonActive),"prevButtonActive"in w&&t(11,_=w.prevButtonActive),"isOneVideoPlaylist"in w&&t(12,V=w.isOneVideoPlaylist),"supportLink"in w&&t(13,A=w.supportLink),"customFullscreenSupported"in w&&t(14,S=w.customFullscreenSupported),"playNextVideo"in w&&t(15,P=w.playNextVideo),"playPrevVideo"in w&&t(16,B=w.playPrevVideo),"repeatPlaylist"in w&&t(17,W=w.repeatPlaylist),"toggleFullscreen"in w&&t(18,X=w.toggleFullscreen),"returnFocus"in w&&t(19,j=w.returnFocus),"seekToInteractive"in w&&t(20,T=w.seekToInteractive),"toggleGraph"in w&&t(21,te=w.toggleGraph),"playPrevChapter"in w&&t(22,Z=w.playPrevChapter)},[a,o,l,s,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,n,G,J,ce]}class h1 extends we{constructor(e){super(),ke(this,e,Z4,j4,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function G4(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function K4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_100684"),u(v,"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"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function Y4(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Q4 extends we{constructor(e){super(),ke(this,e,Y4,K4,be,{reversed:0},G4)}}function X4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("clipPath"),a=I("path"),r=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),g=I("feGaussianBlur"),v=I("feColorMatrix"),b=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(a,"fill","#fff"),u(a,"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(v,"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(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104204"),u(_,"result","shape"),u(r,"id","b"),u(r,"x","-1.5"),u(r,"y","1.5"),u(r,"width","51"),u(r,"height","45"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(V,A){C(V,e,A),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(l,r),d(r,c),d(r,f),d(r,h),d(r,g),d(r,v),d(r,b),d(r,_)},d(V){V&&y(e)}}}function J4(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),s=I("defs"),a=I("clipPath"),r=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),g=I("feOffset"),v=I("feGaussianBlur"),b=I("feColorMatrix"),_=I("feBlend"),V=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(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(a,"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(v,"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(_,"in2","BackgroundImageFix"),u(_,"result","effect1_dropShadow_2260_104293"),u(V,"in","SourceGraphic"),u(V,"in2","effect1_dropShadow_2260_104293"),u(V,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(A,S){C(A,e,S),d(e,t),d(t,n),d(t,o),d(t,l),d(e,s),d(s,a),d(a,r),d(s,c),d(c,f),d(c,h),d(c,g),d(c,v),d(c,b),d(c,_),d(c,V)},d(A){A&&y(e)}}}function x4(i){let e;function t(l,s){return l[0]?J4:X4}let n=t(i),o=n(i);return{c(){o.c(),e=ht()},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 $4(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class p1 extends we{constructor(e){super(),ke(this,e,$4,x4,be,{isOff:0})}}function em(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function tm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_106627"),u(v,"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"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function im(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class nm extends we{constructor(e){super(),ke(this,e,im,tm,be,{reversed:0},em)}}function om(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function lm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),s=I("filter"),a=I("feFlood"),r=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),g=I("feBlend"),v=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(a,"flood-opacity","0"),u(a,"result","BackgroundImageFix"),u(r,"in","SourceAlpha"),u(r,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(r,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2340_106922"),u(v,"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"),L(e,"reversed",i[0])},m(b,_){C(b,e,_),d(e,t),d(t,n),d(t,o),d(e,l),d(l,s),d(s,a),d(s,r),d(s,c),d(s,f),d(s,h),d(s,g),d(s,v)},p(b,[_]){_&1&&L(e,"reversed",b[0])},i:K,o:K,d(b){b&&y(e)}}}function sm(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class am extends we{constructor(e){super(),ke(this,e,sm,lm,be,{reversed:0},om)}}function rm(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 ia(i){let e,t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(i[4]),n,o,l,s,a,r=[Ge.RATE_DOWN,Ge.RATE_UP].includes(i[4]),c,f=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(i[4]),h,g,v,b,_,V=t&&na(i),A=i[4]===Ge.STOP&&oa(),S=i[4]===Ge.PLAY&&la(),P=i[4]===Ge.SUBTITLES_OFF&&sa(),B=i[4]===Ge.SUBTITLES_ON&&aa(),W=r&&ra(i),X=f&&ua(i),j=i[4]===Ge.MUTE&&ca(),T=i[4]===Ge.VOLUME&&fa(),te=i[5]&&da(i);return{c(){e=k("div"),V&&V.c(),n=R(),A&&A.c(),o=R(),S&&S.c(),l=R(),P&&P.c(),s=R(),B&&B.c(),a=R(),W&&W.c(),c=R(),X&&X.c(),h=R(),j&&j.c(),g=R(),T&&T.c(),v=R(),te&&te.c(),b=ht(),u(e,"class","v-1lbk7aq")},m(Z,ie){C(Z,e,ie),V&&V.m(e,null),d(e,n),A&&A.m(e,null),d(e,o),S&&S.m(e,null),d(e,l),P&&P.m(e,null),d(e,s),B&&B.m(e,null),d(e,a),W&&W.m(e,null),d(e,c),X&&X.m(e,null),d(e,h),j&&j.m(e,null),d(e,g),T&&T.m(e,null),C(Z,v,ie),te&&te.m(Z,ie),C(Z,b,ie),_=!0},p(Z,ie){ie&16&&(t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(Z[4])),t?V?(V.p(Z,ie),ie&16&&m(V,1)):(V=na(Z),V.c(),m(V,1),V.m(e,n)):V&&(he(),p(V,1,1,()=>{V=null}),pe()),Z[4]===Ge.STOP?A?ie&16&&m(A,1):(A=oa(),A.c(),m(A,1),A.m(e,o)):A&&(he(),p(A,1,1,()=>{A=null}),pe()),Z[4]===Ge.PLAY?S?ie&16&&m(S,1):(S=la(),S.c(),m(S,1),S.m(e,l)):S&&(he(),p(S,1,1,()=>{S=null}),pe()),Z[4]===Ge.SUBTITLES_OFF?P?ie&16&&m(P,1):(P=sa(),P.c(),m(P,1),P.m(e,s)):P&&(he(),p(P,1,1,()=>{P=null}),pe()),Z[4]===Ge.SUBTITLES_ON?B?ie&16&&m(B,1):(B=aa(),B.c(),m(B,1),B.m(e,a)):B&&(he(),p(B,1,1,()=>{B=null}),pe()),ie&16&&(r=[Ge.RATE_DOWN,Ge.RATE_UP].includes(Z[4])),r?W?(W.p(Z,ie),ie&16&&m(W,1)):(W=ra(Z),W.c(),m(W,1),W.m(e,c)):W&&(he(),p(W,1,1,()=>{W=null}),pe()),ie&16&&(f=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(Z[4])),f?X?(X.p(Z,ie),ie&16&&m(X,1)):(X=ua(Z),X.c(),m(X,1),X.m(e,h)):X&&(he(),p(X,1,1,()=>{X=null}),pe()),Z[4]===Ge.MUTE?j?ie&16&&m(j,1):(j=ca(),j.c(),m(j,1),j.m(e,g)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),Z[4]===Ge.VOLUME?T?ie&16&&m(T,1):(T=fa(),T.c(),m(T,1),T.m(e,null)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),Z[5]?te?te.p(Z,ie):(te=da(Z),te.c(),te.m(b.parentNode,b)):te&&(te.d(1),te=null)},i(Z){_||(m(V),m(A),m(S),m(P),m(B),m(W),m(X),m(j),m(T),_=!0)},o(Z){p(V),p(A),p(S),p(P),p(B),p(W),p(X),p(j),p(T),_=!1},d(Z){Z&&(y(e),y(v),y(b)),V&&V.d(),A&&A.d(),S&&S.d(),P&&P.d(),B&&B.d(),W&&W.d(),X&&X.d(),j&&j.d(),T&&T.d(),te&&te.d(Z)}}}function na(i){let e,t;return e=new Q4({props:{reversed:i[4]===Ge.FORWARD_SEEK}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function oa(i){let e,t;return e=new t1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function la(i){let e,t;return e=new Jo({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function sa(i){let e,t;return e=new p1({props:{isOff:!0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function aa(i){let e,t;return e=new p1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ra(i){let e,t;return e=new nm({props:{reversed:i[4]===Ge.RATE_UP}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ua(i){let e,t;return e=new am({props:{reversed:i[4]===Ge.EPISODE_NEXT}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ca(i){let e,t;return e=new So({props:{volume:0}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function fa(i){let e,t;return e=new So({props:{volume:1}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function da(i){let e,t;return{c(){e=k("span"),t=Oe(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&&xe(t,n[5])},d(n){n&&y(e)}}}function um(i){let e,t,n=!i[1]&&i[4]&&ia(i);return{c(){e=k("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),L(e,"hidden",i[1]),L(e,"hot-key-helpers-container--left",i[2]),L(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=ia(o),n.c(),m(n,1),n.m(e,null)):n&&(he(),p(n,1,1,()=>{n=null}),pe()),(!t||l&2)&&L(e,"hidden",o[1]),(!t||l&4)&&L(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&L(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){p(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function cm(i,e,t){let n,o=K,l=()=>(o(),o=ko(s,g=>t(6,n=g)),s);i.$$.on_destroy.push(()=>o());let{data:s}=e;l();let a,r,c,f,h;return i.$$set=g=>{"data"in g&&l(t(0,s=g.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,a=!n),t(2,r=n?.type===Ge.BACKWARD_SEEK),t(3,c=n?.type===Ge.FORWARD_SEEK),t(4,f=n?.type),n?.t?t(5,h=U(n.t.key,{value:n.t.value||""})):t(5,h=n?.text))},[s,a,r,c,f,h,n]}class fm extends we{constructor(e){super(),ke(this,e,cm,um,be,{data:0},rm)}}function dm(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 mm(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S;return l=new yn({props:{direction:"up"}}),r=new yn({props:{direction:"up"}}),g=new yn({props:{direction:"up"}}),_=new yn({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),D(l.$$.fragment),s=R(),a=k("div"),D(r.$$.fragment),c=R(),f=k("div"),h=k("div"),D(g.$$.fragment),v=R(),b=k("div"),D(_.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(a,"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(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",U("aria_label_spherical_control")),L(e,"m-shifted",i[0])},m(P,B){C(P,e,B),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,s),d(n,a),z(r,a,null),d(t,c),d(t,f),d(f,h),z(g,h,null),d(f,v),d(f,b),z(_,b,null),V=!0,A||(S=[Ee(o,"mousedown",i[1]),Ee(o,"mouseup",i[5]),Ee(o,"mouseleave",i[5]),Ee(a,"mousedown",i[3]),Ee(a,"mouseup",i[5]),Ee(a,"mouseleave",i[5]),Ee(h,"mousedown",i[4]),Ee(h,"mouseup",i[5]),Ee(h,"mouseleave",i[5]),Ee(b,"mousedown",i[2]),Ee(b,"mouseup",i[5]),Ee(b,"mouseleave",i[5]),Ee(e,"keydown",i[6]),Ee(e,"keyup",i[7])],A=!0)},p(P,[B]){(!V||B&1)&&L(e,"m-shifted",P[0])},i(P){V||(m(l.$$.fragment,P),m(r.$$.fragment,P),m(g.$$.fragment,P),m(_.$$.fragment,P),V=!0)},o(P){p(l.$$.fragment,P),p(r.$$.fragment,P),p(g.$$.fragment,P),p(_.$$.fragment,P),V=!1},d(P){P&&y(e),O(l),O(r),O(g),O(_),A=!1,Xt(S)}}}function hm(i,e,t){let{isShifted:n=!1}=e;const o=_t(),l=new Set([Fe.ArrowUp,Fe.ArrowDown,Fe.ArrowLeft,Fe.ArrowRight]),s=()=>{o.actions.internal.startCameraManualRotation(0,1)},a=()=>{o.actions.internal.startCameraManualRotation(0,-1)},r=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=v=>{if(l.has(v.code))switch(v.preventDefault(),v.stopPropagation(),v.code){case Fe.ArrowUp:s();break;case Fe.ArrowDown:a();break;case Fe.ArrowLeft:c();break;case Fe.ArrowRight:r();break}},g=v=>{l.has(v.code)&&(v.preventDefault(),v.stopPropagation(),f())};return i.$$set=v=>{"isShifted"in v&&t(0,n=v.isShifted)},[n,s,a,r,c,f,h,g]}class g1 extends we{constructor(e){super(),ke(this,e,hm,mm,be,{isShifted:0},dm)}}function pm(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 ma(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function ha(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function pa(i){let e,t;function n(s,a){return s[7]&&s[8]?vm:s[5]?bm:gm}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"),L(e,"mobile",i[3])},m(s,a){C(s,e,a),d(e,t),l.m(t,null)},p(s,a){o===(o=n(s))&&l?l.p(s,a):(l.d(1),l=o(s),l&&(l.c(),l.m(t,null))),a&8&&L(e,"mobile",s[3])},d(s){s&&y(e),l.d()}}}function gm(i){let e,t=Vt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=ga(ma(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ht()},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=Vt(o[1]);let s;for(s=0;s<t.length;s+=1){const a=ma(o,t,s);n[s]?n[s].p(a,l):(n[s]=ga(a),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),tn(n,o)}}}function bm(i){let e,t,n=Vt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=va(ha(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"),At(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 a=0;a<o.length;a+=1)o[a]&&o[a].m(t,null)},p(l,s){if(s&68){n=Vt(l[6]);let a;for(a=0;a<n.length;a+=1){const r=ha(l,n,a);o[a]?o[a].p(r,s):(o[a]=va(r),o[a].c(),o[a].m(t,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}s&16&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e),tn(o,l)}}}function vm(i){let e,t,n=U("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=Oe(n),u(t,"class","caption-segment v-ovfyp5"),At(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&&At(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function ga(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=Oe(n),l=R(),u(t,"class","caption-segment v-ovfyp5"),At(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,a){C(s,e,a),d(e,t),d(t,o),d(e,l)},p(s,a){a&2&&n!==(n=s[16]+"")&&xe(o,n),a&16&&At(t,"font-size",s[4]+"px")},d(s){s&&y(e)}}}function ba(i){let e=i[16]+"",t;return{c(){t=Oe(e)},m(n,o){C(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&y(t)}}}function va(i){let e,t=(!i[17]||i[17]<=i[2])&&ba(i);return{c(){t&&t.c(),e=ht()},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=ba(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function _m(i){let e,t=i[1].length>0&&pa(i);return{c(){e=k("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),L(e,"shifted",i[0]),L(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=pa(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&L(e,"shifted",n[0]),o&288&&L(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&y(e),t&&t.d()}}}function km(i,e,t){let n,o,{shifted:l}=e,{captions:s}=e,{position:a}=e,{playerSize:r}=e,{isMobile:c=!1}=e;const f=_t(),h=Gi(),g=f.state.currentSubtitle$;F(i,g,P=>t(12,n=P));const v=f.state.isAutoSubtitleCaptionVisible$;F(i,v,P=>t(8,o=P));let b,_,V,A,S;return Zi(()=>{S=window.setTimeout(()=>{v.set(!1)},h.autoSubtitlesTimeout)}),yo(()=>{window.clearTimeout(S)}),i.$$set=P=>{"shifted"in P&&t(0,l=P.shifted),"captions"in P&&t(1,s=P.captions),"position"in P&&t(2,a=P.position),"playerSize"in P&&t(11,r=P.playerSize),"isMobile"in P&&t(3,c=P.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const P=r.width*.02;t(4,b=P<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:P)}i.$$.dirty&2&&t(5,_=s.some(P=>P.type==="timestamp")),i.$$.dirty&2&&t(6,V=s.reduce((P,{type:B,value:W})=>(B==="timestamp"?P.push({timeAppeared:Number(W),value:""}):P.length===0?P.push({value:String(W)}):P[P.length-1].value=String(W),P),[])),i.$$.dirty&4096&&t(7,A=!!n.isAuto)},[l,s,a,c,b,_,V,A,o,g,v,r,n]}class b1 extends we{constructor(e){super(),ke(this,e,km,_m,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},pm)}}function wm(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 _a(i){let e,t,n;return{c(){e=k("div"),t=Oe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Oe(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&&xe(n,o[1])},d(o){o&&y(e)}}}function ym(i){let e,t,n,o,l,s,a=i[1]&&_a(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=R(),a&&a.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(r,c){C(r,e,c),d(e,t),d(e,n),a&&a.m(e,null),l||(s=Ee(e,"click",i[2]),l=!0)},p(r,[c]){r[1]?a?a.p(r,c):(a=_a(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${r[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(r){r&&y(e),a&&a.d(),l=!1,s()}}}function Cm(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(s){Wn.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 v1 extends we{constructor(e){super(),ke(this,e,Cm,ym,be,{thumbUrl:0,chromecastDeviceName:1},wm)}}function Pm(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 Sm extends we{constructor(e){super(),ke(this,e,null,Pm,be,{})}}function Tm(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 Am(i){let e,t,n;return t=new Sm({}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}class _1 extends we{constructor(e){super(),ke(this,e,null,Am,be,{},Tm)}}function Em(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 Lm(i){let e,t,n,o,l,s,a,r,c;return l=new Jo({}),{c(){e=k("div"),t=k("div"),n=k("div"),o=R(),D(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]||""}')`),L(e,"hidden",i[1])},m(f,h){C(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),a=!0,r||(c=Ee(e,"click",ut(function(){hn(i[2])&&i[2].apply(this,arguments)})),r=!0)},p(f,[h]){i=f,(!a||h&1&&s!==(s=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",s),(!a||h&2)&&L(e,"hidden",i[1])},i(f){a||(m(l.$$.fragment,f),a=!0)},o(f){p(l.$$.fragment,f),a=!1},d(f){f&&y(e),O(l),r=!1,c()}}}function Vm(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 k1 extends we{constructor(e){super(),ke(this,e,Vm,Lm,be,{thumbUrl:0,hidden:1,startVideo:2},Em)}}function Im(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 Wm(i){let e,t;return{c(){e=w("div"),t=Oe(i[0]),u(e,"class","title v-1bcvcf2"),A(e,"hidden",i[1])},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&Xe(t,n[0]),o&2&&A(e,"hidden",n[1])},i:G,o:G,d(n){n&&y(e)}}}function jm(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 Zm extends we{constructor(e){super(),ke(this,e,jm,Wm,be,{title:0,isHidden:1},qm)}}function Gm(i){He(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 ya(i){let e,t,n,o,l,s,a;return{c(){e=w("div"),t=w("span"),n=Oe(i[0]),o=R(),l=w("span"),l.textContent=`${W("waiting_live_day_value")}`,s=R(),a=w("span"),a.textContent=`${W("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&1&&Xe(n,r[0])},d(r){r&&(y(e),y(s),y(a))}}}function Ca(i){let e,t,n,o,l,s,a;return{c(){e=w("div"),t=w("span"),n=Oe(i[1]),o=R(),l=w("span"),l.textContent=`${W("waiting_live_hour_value")}`,s=R(),a=w("span"),a.textContent=`${W("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&2&&Xe(n,r[1])},d(r){r&&(y(e),y(s),y(a))}}}function Pa(i){let e,t,n,o,l,s,a;return{c(){e=w("div"),t=w("span"),n=Oe(i[2]),o=R(),l=w("span"),l.textContent=`${W("waiting_live_minute_value")}`,s=R(),a=w("span"),a.textContent=`${W("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&4&&Xe(n,r[2])},d(r){r&&(y(e),y(s),y(a))}}}function Sa(i){let e,t,n,o,l;return{c(){e=w("div"),t=w("span"),n=Oe(i[3]),o=R(),l=w("span"),l.textContent=`${W("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,a){C(s,e,a),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,a){a&8&&Xe(n,s[3])},d(s){s&&y(e)}}}function Km(i){let e,t,n,o,l=i[0]&&ya(i),s=i[1]&&Ca(i),a=i[2]&&Pa(i),r=i[3]&&Sa(i);return{c(){e=w("div"),l&&l.c(),t=R(),s&&s.c(),n=R(),a&&a.c(),o=R(),r&&r.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),a&&a.m(e,null),d(e,o),r&&r.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=ya(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=Ca(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?a?a.p(c,f):(a=Pa(c),a.c(),a.m(e,o)):a&&(a.d(1),a=null),c[3]?r?r.p(c,f):(r=Sa(c),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i:G,o:G,d(c){c&&y(e),l&&l.d(),s&&s.d(),a&&a.d(),r&&r.d()}}}function Ym(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,a,r,c;const f=v=>String(v).padStart(2,"0"),h=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,t(0,l=f(b)));const _=Math.floor(v/3600);t(1,s=f(_));const L=Math.floor(v/60)%60;t(2,a=f(L));const E=v%60;t(3,r=f(E))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;h(b),b>=1?c=requestAnimationFrame(g):o()};return Zi(()=>{c=requestAnimationFrame(g)}),wo(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[l,s,a,r,n,o]}class Qm extends we{constructor(e){super(),ke(this,e,Ym,Km,be,{startTime:4,onTimerOver:5},Gm)}}function Xm(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"),Et(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"),Et(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"),Et(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"),Et(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"),Et(e,"shape-rendering","geometricPrecision"),Et(e,"text-rendering","geometricPrecision"),Et(e,"image-rendering","optimizeQuality"),Et(e,"fill-rule","evenodd"),Et(e,"clip-rule","evenodd"),Et(e,"width","100%"),Et(e,"height","100%")},m(s,a){C(s,e,a),d(e,t),d(e,n),d(e,o),d(e,l)},p:G,i:G,o:G,d(s){s&&y(e)}}}class Jm extends we{constructor(e){super(),ke(this,e,null,Xm,be,{})}}function xm(i){He(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 $m(i){let e,t,n,o,l;return o=new Qm({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=w("div"),t=w("span"),t.textContent=`${W("waiting_live_timer_title")}`,n=R(),D(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,a){C(s,e,a),d(e,t),d(e,n),z(o,e,null),l=!0},p(s,a){const r={};a&2&&(r.startTime=s[1]||0),a&4&&(r.onTimerOver=s[3]),o.$set(r)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){p(o.$$.fragment,s),l=!1},d(s){s&&y(e),O(o)}}}function e3(i){let e,t,n,o,l,s;return n=new Jm({}),{c(){e=w("div"),t=w("div"),D(n.$$.fragment),o=R(),l=w("span"),l.textContent=`${W("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(a,r){C(a,e,r),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0},p:G,i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&y(e),O(n)}}}function t3(i){let e,t,n,o,l;const s=[e3,$m],a=[];function r(c,f){return c[2]?0:1}return t=r(i),n=a[t]=s[t](i),{c(){e=w("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),a[t].m(e,null),l=!0},p(c,[f]){let h=t;t=r(c),t===h?a[t].p(c,f):(he(),p(a[h],1,1,()=>{a[h]=null}),pe(),n=a[t],n?n.p(c,f):(n=a[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){p(n),l=!1},d(c){c&&y(e),a[t].d()}}}function i3(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=a=>{"thumbUrl"in a&&t(0,o=a.thumbUrl),"startTime"in a&&t(1,l=a.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class S1 extends we{constructor(e){super(),ke(this,e,i3,t3,be,{thumbUrl:0,startTime:1},xm)}}function n3(i){He(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 o3(i){let e,t;return{c(){e=w("div"),t=w("p"),t.textContent=`${W("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:G,i:G,o:G,d(n){n&&y(e)}}}class T1 extends we{constructor(e){super(),ke(this,e,null,o3,be,{},n3)}}const{window:l3}=fr;function s3(i){He(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 Ta(i){let e,t;return e=new S1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[0]&32&&(l.startTime=n[5]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Aa(i){let e,t;return e=new T1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ea(i){let e,t,n;return t=new Fr({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),A(e,"hidden",i[36]!==ze.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)&&A(e,"hidden",o[36]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Va(i){let e,t;return e=new Wc({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function La(i){let e,t;return e=new Zm({props:{title:i[2],isHidden:!i[34]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ia(i){let e,t;return e=new k1({props:{isShifted:i[36]===ze.Video&&i[34]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===ze.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ma(i){let e,t,n;return t=new Mr({props:{ariaLabel:W("video360")}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:G,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Na(i){let e,t;return e=new y1({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ra(i){let e,t;return e=new w1({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ba(i){let e,t;return e=new Ur({props:{showControls:i[34]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function za(i){let e,t,n,o,l;return t=new C1({}),{c(){e=w("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=[Ve(e,"contextmenu",ci(i[105])),Ve(e,"click",ft(i[116]))],o=!0)},p:G,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,Gt(l)}}}function Oa(i){let e,t;return e=new Qr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Da(i){let e,t;return e=new df({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ha(i){let e,t;return e=new jr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Fa(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie;e=new P1({props:{hidden:i[36]!==ze.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let te=i[36]===ze.WaitingLive&&Ta(i),K=i[36]===ze.WaitingRecord&&Aa(),H=i[8]&&i[22]&&Ea(i),re=i[31]&&i[18]&&i[19]&&Va(i),k=i[44]&&La(i),le=i[50]&&Ia(i),ce=i[53]&&Ma(),ve=i[37]&&Na(i),Ne=i[55].value!=="off"&&Ra(i),Ae=i[1].features.annotations&&Ba(i),Ce=i[35]&&za(i);function F(M){i[145](M)}let N={bottomHidden:i[36]===ze.Thumb||i[36]===ze.WaitingLive||i[36]===ze.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===ze.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:u3,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[103],returnFocus:i[144],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(N.controlsElementRef=i[39]),b=new v1({props:N}),We.push(()=>vt(b,"controlsElementRef",F)),E=new Wr({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),S=new ym({props:{data:i[100]}}),j=new yc({props:{supportLink:i[21],returnFocus:i[146],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let Y=i[42]&&Oa(),ge=i[62]&&Da(),ee=i[63]&&Ha();return{c(){D(e.$$.fragment),t=R(),te&&te.c(),n=R(),K&&K.c(),o=R(),H&&H.c(),l=R(),re&&re.c(),s=R(),k&&k.c(),a=R(),le&&le.c(),r=R(),ce&&ce.c(),c=R(),ve&&ve.c(),f=R(),Ne&&Ne.c(),h=R(),Ae&&Ae.c(),g=R(),Ce&&Ce.c(),v=R(),D(b.$$.fragment),L=R(),D(E.$$.fragment),P=R(),D(S.$$.fragment),B=R(),D(j.$$.fragment),J=R(),Y&&Y.c(),Z=R(),ge&&ge.c(),T=R(),ee&&ee.c(),$=ht()},m(M,Q){z(e,M,Q),C(M,t,Q),te&&te.m(M,Q),C(M,n,Q),K&&K.m(M,Q),C(M,o,Q),H&&H.m(M,Q),C(M,l,Q),re&&re.m(M,Q),C(M,s,Q),k&&k.m(M,Q),C(M,a,Q),le&&le.m(M,Q),C(M,r,Q),ce&&ce.m(M,Q),C(M,c,Q),ve&&ve.m(M,Q),C(M,f,Q),Ne&&Ne.m(M,Q),C(M,h,Q),Ae&&Ae.m(M,Q),C(M,g,Q),Ce&&Ce.m(M,Q),C(M,v,Q),z(b,M,Q),C(M,L,Q),z(E,M,Q),C(M,P,Q),z(S,M,Q),C(M,B,Q),z(j,M,Q),C(M,J,Q),Y&&Y.m(M,Q),C(M,Z,Q),ge&&ge.m(M,Q),C(M,T,Q),ee&&ee.m(M,Q),C(M,$,Q),ie=!0},p(M,Q){const Ie={};Q[0]&64|Q[1]&48&&(Ie.hidden=M[36]!==ze.Thumb||M[35]||M[92]&&M[6]),Q[0]&8&&(Ie.thumbUrl=M[3]),Q[0]&536870912&&(Ie.startVideo=M[29]),e.$set(Ie),M[36]===ze.WaitingLive?te?(te.p(M,Q),Q[1]&32&&m(te,1)):(te=Ta(M),te.c(),m(te,1),te.m(n.parentNode,n)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),M[36]===ze.WaitingRecord?K?Q[1]&32&&m(K,1):(K=Aa(),K.c(),m(K,1),K.m(o.parentNode,o)):K&&(he(),p(K,1,1,()=>{K=null}),pe()),M[8]&&M[22]?H?(H.p(M,Q),Q[0]&4194560&&m(H,1)):(H=Ea(M),H.c(),m(H,1),H.m(l.parentNode,l)):H&&(he(),p(H,1,1,()=>{H=null}),pe()),M[31]&&M[18]&&M[19]?re?(re.p(M,Q),Q[0]&786432|Q[1]&1&&m(re,1)):(re=Va(M),re.c(),m(re,1),re.m(s.parentNode,s)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),M[44]?k?(k.p(M,Q),Q[1]&8192&&m(k,1)):(k=La(M),k.c(),m(k,1),k.m(a.parentNode,a)):k&&(he(),p(k,1,1,()=>{k=null}),pe()),M[50]?le?(le.p(M,Q),Q[1]&524288&&m(le,1)):(le=Ia(M),le.c(),m(le,1),le.m(r.parentNode,r)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),M[53]?ce?(ce.p(M,Q),Q[1]&4194304&&m(ce,1)):(ce=Ma(),ce.c(),m(ce,1),ce.m(c.parentNode,c)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),M[37]?ve?(ve.p(M,Q),Q[1]&64&&m(ve,1)):(ve=Na(M),ve.c(),m(ve,1),ve.m(f.parentNode,f)):ve&&(he(),p(ve,1,1,()=>{ve=null}),pe()),M[55].value!=="off"?Ne?(Ne.p(M,Q),Q[1]&16777216&&m(Ne,1)):(Ne=Ra(M),Ne.c(),m(Ne,1),Ne.m(h.parentNode,h)):Ne&&(he(),p(Ne,1,1,()=>{Ne=null}),pe()),M[1].features.annotations?Ae?(Ae.p(M,Q),Q[0]&2&&m(Ae,1)):(Ae=Ba(M),Ae.c(),m(Ae,1),Ae.m(g.parentNode,g)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),M[35]?Ce?(Ce.p(M,Q),Q[1]&16&&m(Ce,1)):(Ce=za(M),Ce.c(),m(Ce,1),Ce.m(v.parentNode,v)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe());const ye={};Q[1]&32&&(ye.bottomHidden=M[36]===ze.Thumb||M[36]===ze.WaitingLive||M[36]===ze.WaitingRecord),Q[1]&1048576&&(ye.bottomNoSmooth=M[51]),Q[1]&8&&(ye.showControls=M[34]),Q[1]&32&&(ye.isAds=M[36]===ze.Ads),Q[0]&128|Q[1]&134217728&&(ye.canRewindLive=M[7]&&M[58]!==0),Q[0]&8192&&(ye.logoClickable=M[13]),Q[0]&16384&&(ye.logoHidden=M[14]),Q[0]&16&&(ye.videoLogoUrl=M[4]),Q[0]&32768&&(ye.showNextPrevButtons=M[15]),Q[0]&65536&&(ye.nextButtonActive=M[16]),Q[0]&131072&&(ye.prevButtonActive=M[17]),Q[0]&1048576&&(ye.isOneVideoPlaylist=M[20]),Q[0]&2097152&&(ye.supportLink=M[21]),Q[0]&8388608&&(ye.playNextVideo=M[23]),Q[0]&16777216&&(ye.playPrevVideo=M[24]),Q[0]&33554432&&(ye.repeatPlaylist=M[25]),Q[1]&131072&&(ye.returnFocus=M[144]),Q[0]&67108864&&(ye.seekToInteractive=M[26]),Q[0]&134217728&&(ye.toggleGraph=M[27]),Q[0]&268435456&&(ye.playPrevChapter=M[28]),!_&&Q[1]&256&&(_=!0,ye.controlsElementRef=M[39],bt(()=>_=!1)),b.$set(ye);const Se={};Q[1]&268435456&&(Se.isLive=M[59]),Q[1]&4096&&(Se.isHidden=!M[43]),Q[1]&536870912&&(Se.isPlaying=M[60]),Q[1]&67108864&&(Se.position=M[57]),Q[1]&1073741824&&(Se.duration=M[61]),E.$set(Se);const X={};Q[0]&2097152&&(X.supportLink=M[21]),Q[1]&131072&&(X.returnFocus=M[146]),Q[1]&262144&&(X.visible=M[49]),Q[1]&128&&(X.playerContainerRef=M[38]),Q[1]&256&&(X.controlsContainerRef=M[39]),Q[1]&512&&(X.x=M[40]),Q[1]&1024&&(X.y=M[41]),j.$set(X),M[42]?Y?Q[1]&2048&&m(Y,1):(Y=Oa(),Y.c(),m(Y,1),Y.m(Z.parentNode,Z)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),M[62]?ge?Q[2]&1&&m(ge,1):(ge=Da(),ge.c(),m(ge,1),ge.m(T.parentNode,T)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),M[63]?ee?Q[2]&2&&m(ee,1):(ee=Ha(),ee.c(),m(ee,1),ee.m($.parentNode,$)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe())},i(M){ie||(m(e.$$.fragment,M),m(te),m(K),m(H),m(re),m(k),m(le),m(ce),m(ve),m(Ne),m(Ae),m(Ce),m(b.$$.fragment,M),m(E.$$.fragment,M),m(S.$$.fragment,M),m(j.$$.fragment,M),m(Y),m(ge),m(ee),ie=!0)},o(M){p(e.$$.fragment,M),p(te),p(K),p(H),p(re),p(k),p(le),p(ce),p(ve),p(Ne),p(Ae),p(Ce),p(b.$$.fragment,M),p(E.$$.fragment,M),p(S.$$.fragment,M),p(j.$$.fragment,M),p(Y),p(ge),p(ee),ie=!1},d(M){M&&(y(t),y(n),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(L),y(P),y(B),y(J),y(Z),y(T),y($)),O(e,M),te&&te.d(M),K&&K.d(M),H&&H.d(M),re&&re.d(M),k&&k.d(M),le&&le.d(M),ce&&ce.d(M),ve&&ve.d(M),Ne&&Ne.d(M),Ae&&Ae.d(M),Ce&&Ce.d(M),O(b,M),O(E,M),O(S,M),O(j,M),Y&&Y.d(M),ge&&ge.d(M),ee&&ee.d(M)}}}function a3(i){let e,t,n,o,l=i[52],s,a,r,c,f=Fa(i);return{c(){e=w("div"),t=w("div"),o=R(),f.c(),s=ht(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),A(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),A(e,"hidden",i[36]!==ze.Video),A(e,"nocursor",i[45])},m(h,g){C(h,e,g),d(e,t),i[143](t),C(h,o,g),f.m(h,g),C(h,s,g),a=!0,r||(c=[Ve(e,"contextmenu",ci(i[105])),Ve(e,"mousedown",ci(i[110])),Ve(e,"mouseup",ci(i[111])),Ve(e,"click",ci(i[113])),Ve(e,"dblclick",ci(i[112]))],r=!0)},p(h,g){(!a||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!a||g[0]&2)&&A(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!a||g[1]&32)&&A(e,"hidden",h[36]!==ze.Video),(!a||g[1]&16384)&&A(e,"nocursor",h[45]),g[1]&2097152&&be(l,l=h[52])?(he(),p(f,1,1,G),pe(),f=Fa(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){a||(m(f),a=!0)},o(h){p(f),a=!1},d(h){h&&(y(e),y(o),y(s)),i[143](null),f.d(h),r=!1,Gt(c)}}}function r3(i){let e,t,n,o,l,s,a,r={toggleFullscreen:i[103],hideContextMenu:i[104],showHotKeyHelpers:i[114],showKeyMap:i[115],isAds:i[36]===ze.Ads,fakePlayButtonHandler:i[47]?i[102]:void 0,$$slots:{default:[a3]},$$scope:{ctx:i}};return t=new Kc({props:r}),i[147](t),{c(){e=w("div"),D(t.$$.fragment),n=R(),o=w("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[148](o),i[149](e),l=!0,s||(a=[Ve(l3,"blur",i[104]),Ve(e,"mouseenter",i[106]),Ve(e,"mouseleave",i[108]),Ve(e,"mousemove",i[109]),Ve(e,"click",i[117],!0),Ve(e,"focusin",i[107],!0)],s=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===ze.Ads),f[1]&65536&&(h.fakePlayButtonHandler=c[47]?c[102]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[5]&32768&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){p(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[147](null),O(t),i[148](null),i[149](null),s=!1,Gt(a)}}}let u3=!0;function A1(i){return i?i.offsetTop+A1(i.offsetParent):0}function c3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,N;q(i,go,U=>t(131,h=U));let{store:Y}=e,{uiConfig:ge}=e,{title:ee}=e,{thumbUrl:M}=e,{videoLogoUrl:Q}=e,{videoContainer:Ie}=e,{interactiveContainer:ye}=e,{live:Se}=e,{autoplay:X}=e,{canRewindLive:se}=e,{showAds:_e}=e,{adsSlotId:ae=void 0}=e,{adsParams:qe=void 0}=e,{adsPreviewParam:je=void 0}=e,{duration:Je=void 0}=e,{logoClickable:et}=e,{logoHidden:Be}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:Tt=!1}=e,{prevButtonActive:Le=!1}=e,{endScreenVideoTitle:Re=void 0}=e,{endScreenVideoThumb:Kt=void 0}=e,{isOneVideoPlaylist:me=!1}=e,{supportLink:ut}=e,{outerContainerRef:Qe=void 0}=e,{playerStarted:ot=!1}=e,{fullScreenTarget:Ze=void 0}=e,{showMiniTimer:$e=!1}=e,{playNextVideo:lt=ne.noop}=e,{playPrevVideo:ct=ne.noop}=e,{repeatPlaylist:wt=ne.noop}=e,{seekToInteractive:tt}=e,{toggleGraph:Rt}=e,{playPrevChapter:yt}=e,{firstStart:it}=e;const Ht=Y.getLogger().createComponentLog("Root component"),dt=Y.interfaceLanguage$;q(i,dt,U=>t(52,K=U));const Ge=Y.state.playbackState$;q(i,Ge,U=>t(140,$=U));const At=Y.ads.playbackState;q(i,At,U=>t(141,ie=U));const st=Y.state.positionWithScrubbing$;q(i,st,U=>t(57,ce=U));const $t=Y.state.duration$;q(i,$t,U=>t(61,Ce=U));const de=Y.playerPhase;q(i,de,U=>t(36,B=U));const Pe=Y.ui.isFullscreen;q(i,Pe,U=>t(130,c=U));const Me=Y.ui.controlsVisible;q(i,Me,U=>t(34,_=U));const St=Y.ui.settingsMenuVisible;q(i,St,U=>t(128,n=U));const Li=Y.ui.scrubbingInProgress;q(i,Li,U=>t(132,v=U));const Yt=Y.ui.contextMenuVisible;q(i,Yt,U=>t(49,o=U));const vi=Y.ui.debugPanelVisible;q(i,vi,U=>t(63,N=U));const Ii=Y.state.isLoaderVisible;q(i,Ii,U=>t(142,te=U));const Lt=Y.state.isEnded$;q(i,Lt,U=>t(129,s=U));const Te=Y.state.chromecastConnected$;q(i,Te,U=>t(37,Z=U));const Bt=Y.state.chromecastDeviceName$;q(i,Bt,U=>t(54,re=U));const Mi=Y.ads.postrollPassed;q(i,Mi,U=>t(135,P=U));const ei=Y.state.isLive$;q(i,ei,U=>t(59,Ne=U));const _i=Y.state.isPlaying$;q(i,_i,U=>t(60,Ae=U));const ki=Y.state.crashed$;q(i,ki,U=>t(35,E=U));const wi=Y.webApi.pictureInPictureApi,ti=Y.state.currentSubtitle$;q(i,ti,U=>t(55,k=U));const Qi=Y.state.currentSubtitleCaptions$;q(i,Qi,U=>t(56,le=U));const yi=Y.state.duration$;q(i,yi,U=>t(58,ve=U));const Ci=Y.state.graphIsOpened$;q(i,Ci,U=>t(136,S=U));const Pi=Y.ui.playerSize;q(i,Pi,U=>t(32,r=U));const Ni=Y.ui.is3DVideo;q(i,Ni,U=>t(50,a=U));const di=Y.ui.icon3DVideoVisible;q(i,di,U=>t(53,H=U));const Ui=Y.ui.rotateAlpha;q(i,Ui,U=>t(33,g=U));const ii=Y.state.isInteractive,ni=Y.state.isInteractiveTime$;q(i,ni,U=>t(133,b=U));const Si=Y.state.isInteractiveExpectation$;q(i,Si,U=>t(139,T=U));const Ft=Y.state.hasInteractiveBranches,Ct=Y.ui.touched;q(i,Ct,U=>t(137,j=U));const Qt=Y.ui.modals.hotKeyMap.data;q(i,Qt,U=>t(156,l=U));const mi=Y.ui.modals.hotKeyMap.show;q(i,mi,U=>t(62,F=U));const Xi=Y.ui.overlayContainer$;let oi,Ti,Di=0,qi=0,li,Ri,Ai;Qt.set(Fu());let Bi,si;const hi=Fe(!1);q(i,hi,U=>t(51,f=U));let ai;const zt=Fe(!1);q(i,zt,U=>t(138,J=U));const Ei=Fe(),Ut=Fe(!1);q(i,Ut,U=>t(134,L=U));let Ot=!1,Xt=!1,pi,ri,zi,Jt,Vi,Oi,Hi=!1,Fi,xt=!1;const{toggle:Wi}=go;let fe=!1,Pt=null,ui;wi?.setContext(hr());const en=()=>{X&&!ii&&qt(ge.controls.hideTimeout)};Y.setUiCallbacks({onStarted:en});const Ki=()=>{window.clearTimeout(li),zt.set(!1)},ln=()=>{window.clearTimeout(Ri),Ei.set(null)},qt=U=>{Ki(),zt.set(!0),li=window.setTimeout(()=>zt.set(!1),U);const gi=U-100;ai=window.setTimeout(()=>{f&&hi.set(!1)},gi>0?gi:U)},sn=(U,gi)=>{ln(),Ei.set(gi),Ri=window.setTimeout(()=>Ei.set(null),U)},Pn=Ni.subscribe(U=>{di.set(U),U&&(window.clearTimeout(Ai),Ai=window.setTimeout(()=>di.set(!1),ge.controls.hide360IconTimeout))}),vn=async()=>{const U=no();if(U){qt(ge.controls.hideTimeoutFullscreen);try{await wi?.remove()}catch(gi){Ht({message:String(gi)})}}Pe.set(U),Y.getAdmanWrapper().setFullscreen(U),c?Y.callbacks?.onFullscreenEnter?.():Y.callbacks?.onFullscreenExit?.()},_n=U=>{const gi=U;Pi.set({width:gi.target.width,height:gi.target.height})};Zi(()=>(Dr(vn),vo(wi)&&(wi?.assignPlayerContainer(oi),wi?.registryExternalEventHandlers({resize:_n})),ye&&Ie.parentElement?.insertBefore(ye,Ie.nextSibling),()=>{window.clearTimeout(li),window.clearTimeout(ai),window.clearTimeout(Ri),window.clearTimeout(Ai),Pn(),wi?.dispose(),Hr(vn)}));const an=async()=>{if(no())await Or(document),Ht({message:"exit fullscreen"});else{Ht({message:"request fullscreen"});const U=Qe??oi,gi=U.getRootNode(),kn=gi instanceof ShadowRoot?gi.host:gi,Ln=Ze instanceof HTMLElement&&Ze.contains(kn),To=ge.allowChangingFullscreenTarget&&Ze&&Ln?Ze:U;await zr(To)}},ji=()=>{St.set(!1),Yt.set(!1)},Sn=U=>{Yt.set(!0),t(40,Di=U.clientX),t(41,qi=U.clientY)};function Tn(){Ut.set(!0),ii||qt(ge.controls.hideTimeoutCursor)}function x(){ii||(hi.set(!0),qt(ge.controls.hideTimeoutCursor))}function kt(){Ut.set(!1),t(124,Xt=!1),t(123,Ot=!1),fe=!1,Y.actions.internal.releaseCamera()}function An(U){if(oi){const gi=A1(U.currentTarget),kn=r.height,Ln=U.pageY-gi;Ln<al?t(124,Xt=!0):Ln>kn-al?t(123,Ot=!0):(t(124,Xt=!1),n||t(123,Ot=!1))}}function En(U){An(U),ri||qt(ge.controls.hideTimeoutCursor),a&&fe&&Pt&&Y.actions.internal.moveCameraFocusPX(Pt.clientX-U.clientX,Pt.clientY-U.clientY,U.timeStamp-Pt.timeStamp),Pt=U}const Vn=U=>{U.button===0&&(fe=!0,Y.actions.internal.holdCamera()),qt(ge.controls.hideTimeoutCursor)},Gn=U=>{U.button===0&&(Pt=U,fe=!1,Y.actions.internal.releaseCamera()),qt(ge.controls.hideTimeoutCursor)},Kn=()=>{Ht({message:"double click on video"}),an(),qt(ge.controls.hideTimeoutCursor)},Yn=()=>{if(o||n){ji();return}if(!(s&&!Ft)){if(xt)return Wi();if(ui?.focus(),!ot){it(),qt(ge.controls.hideTimeoutCursor);return}Y.actions.internal.togglePlay(),qt(ge.controls.hideTimeoutCursor)}},Qn=U=>{ji(),Ct.set(!0),qt(ge.controls.hideTimeout),U&&sn(ge.controls.hideHotKeyHelpers,U)},Xn=()=>{ji(),Y.callbacks?.onOpenHotKeyMap?Y.callbacks?.onOpenHotKeyMap(l):mi.update(U=>!U)},Rn=()=>{if(o||n){ji();return}},Jn=()=>{Ct.set(!0)};function oe(U){We[U?"unshift":"push"](()=>{Ie=U,t(0,Ie)})}const rn=()=>ui?.focus();function at(U){Ti=U,t(39,Ti)}const Dt=()=>ui?.focus();function Ji(U){We[U?"unshift":"push"](()=>{ui=U,t(48,ui)})}function un(U){We[U?"unshift":"push"](()=>{si=U,t(30,si)})}function xn(U){We[U?"unshift":"push"](()=>{oi=U,t(38,oi)})}return i.$$set=U=>{"store"in U&&t(118,Y=U.store),"uiConfig"in U&&t(1,ge=U.uiConfig),"title"in U&&t(2,ee=U.title),"thumbUrl"in U&&t(3,M=U.thumbUrl),"videoLogoUrl"in U&&t(4,Q=U.videoLogoUrl),"videoContainer"in U&&t(0,Ie=U.videoContainer),"interactiveContainer"in U&&t(119,ye=U.interactiveContainer),"live"in U&&t(5,Se=U.live),"autoplay"in U&&t(6,X=U.autoplay),"canRewindLive"in U&&t(7,se=U.canRewindLive),"showAds"in U&&t(8,_e=U.showAds),"adsSlotId"in U&&t(9,ae=U.adsSlotId),"adsParams"in U&&t(10,qe=U.adsParams),"adsPreviewParam"in U&&t(11,je=U.adsPreviewParam),"duration"in U&&t(12,Je=U.duration),"logoClickable"in U&&t(13,et=U.logoClickable),"logoHidden"in U&&t(14,Be=U.logoHidden),"showNextPrevButtons"in U&&t(15,rt=U.showNextPrevButtons),"nextButtonActive"in U&&t(16,Tt=U.nextButtonActive),"prevButtonActive"in U&&t(17,Le=U.prevButtonActive),"endScreenVideoTitle"in U&&t(18,Re=U.endScreenVideoTitle),"endScreenVideoThumb"in U&&t(19,Kt=U.endScreenVideoThumb),"isOneVideoPlaylist"in U&&t(20,me=U.isOneVideoPlaylist),"supportLink"in U&&t(21,ut=U.supportLink),"outerContainerRef"in U&&t(120,Qe=U.outerContainerRef),"playerStarted"in U&&t(22,ot=U.playerStarted),"fullScreenTarget"in U&&t(121,Ze=U.fullScreenTarget),"showMiniTimer"in U&&t(122,$e=U.showMiniTimer),"playNextVideo"in U&&t(23,lt=U.playNextVideo),"playPrevVideo"in U&&t(24,ct=U.playPrevVideo),"repeatPlaylist"in U&&t(25,wt=U.repeatPlaylist),"seekToInteractive"in U&&t(26,tt=U.seekToInteractive),"toggleGraph"in U&&t(27,Rt=U.toggleGraph),"playPrevChapter"in U&&t(28,yt=U.playPrevChapter),"firstStart"in U&&t(29,it=U.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&393216&&t(42,Bi=(B===ze.Video&&te||B===ze.Ads&&ie===Mt.INACTIVE)&&!E),i.$$.dirty[0]&1073741824&&Xi.set(si),i.$$.dirty[4]&65536&&t(125,pi=$!==nt.PlaybackState.PLAYING),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&33283&&t(126,ri=b&&!(Ot||Xt)&&!(pi&&!T)),i.$$.dirty[1]&112|i.$$.dirty[4]&16662&&Me.set((pi||n||v||Z||J)&&!ri&&B===ze.Video&&!E),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&536870912|i.$$.dirty[4]&8192&&t(43,zi=ge.features.thumbTimer&&$e&&B===ze.Video&&!_&&!E&&!ii&&(ge.hideThumbTimerAfterTouch&&!j||!ge.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&4160&&t(44,Jt=B===ze.Video&&!S&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&2080&&t(31,Vi=(_e&&P||!_e)&&s&&!E),i.$$.dirty[1]&9|i.$$.dirty[4]&1536&&t(45,Oi=L&&!(_||Vi)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&776&&(!v&&Hi&&!b&&qt(ge.controls.hideTimeoutCursor),t(127,Hi=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,Fi=Ie&&g%180?r.height/r.width:1),i.$$.dirty[4]&128&&t(47,xt=h!==null)},[Ie,ge,ee,M,Q,Se,X,se,_e,ae,qe,je,Je,et,Be,rt,Tt,Le,Re,Kt,me,ut,ot,lt,ct,wt,tt,Rt,yt,it,si,Vi,r,g,_,E,B,Z,oi,Ti,Di,qi,Bi,zi,Jt,Oi,Fi,xt,ui,o,a,f,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,N,dt,Ge,At,st,$t,de,Pe,Me,St,Li,Yt,vi,Ii,Lt,Te,Bt,Mi,ei,_i,ki,ti,Qi,yi,Ci,Pi,Ni,di,Ui,ii,ni,Si,Ct,Qt,mi,hi,zt,Ei,Ut,Wi,an,ji,Sn,Tn,x,kt,En,Vn,Gn,Kn,Yn,Qn,Xn,Rn,Jn,Y,ye,Qe,Ze,$e,Ot,Xt,pi,ri,Hi,n,s,c,h,v,b,L,P,S,j,J,T,$,ie,te,oe,rn,at,Dt,Ji,un,xn]}class f3 extends we{constructor(e){super(),ke(this,e,c3,r3,be,{store:118,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:119,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:120,playerStarted:22,fullScreenTarget:121,showMiniTimer:122,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},s3,[-1,-1,-1,-1,-1,-1])}}const d3=i=>{if(!ne.isIOS(!0))return!1;const e=i.device===ne.CurrentClientDevice.iPad||window?.screen.width>700,t=ne.getIOSVersion();return!e||e&&!!t&&t<16};function m3(i){He(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 Ua(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,L=W("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",E;return{c(){e=w("div"),n=R(),o=w("div"),l=w("div"),s=w("div"),r=R(),c=w("div"),h=R(),g=w("div"),b=R(),_=w("p"),E=Oe(L),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",a="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="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(P,S){C(P,e,S),C(P,n,S),C(P,o,S),d(o,l),d(l,s),d(l,r),d(l,c),d(l,h),d(l,g),d(o,b),d(o,_),d(_,E)},p(P,S){S&1&&t!==(t="semicircle "+P[0]+" v-nhq2ld")&&u(e,"class",t),S&1&&a!==(a="triangle "+P[0]+" v-nhq2ld")&&u(s,"class",a),S&1&&f!==(f="triangle "+P[0]+" v-nhq2ld")&&u(c,"class",f),S&1&&v!==(v="triangle "+P[0]+" v-nhq2ld")&&u(g,"class",v),S&2&&L!==(L=W("doubletap_seek_step",{seconds:P[1].toFixed(0)})+"")&&Xe(E,L)},d(P){P&&(y(e),y(n),y(o))}}}function h3(i){let e,t,n,o,l=i[2]&&Ua(i);return{c(){e=w("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,a){C(s,e,a),l&&l.m(e,null),n||(o=Ve(e,"click",ft(i[3]())),n=!0)},p(s,[a]){s[2]?l?l.p(s,a):(l=Ua(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&1&&t!==(t="double-click-area "+s[0]+" v-nhq2ld")&&u(e,"class",t)},i:G,o:G,d(s){s&&y(e),l&&l.d(),n=!1,o()}}}function p3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,a=!1,r=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?r=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(r),g=0,s(),t(2,a=!0),c=window.setTimeout(()=>{t(2,a=!1)},500))}};return wo(()=>{window.clearTimeout(r),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,a,f,l,s]}class E1 extends we{constructor(e){super(),ke(this,e,p3,h3,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},m3)}}function g3(i,e,t){let{playNextVideo:n}=e;return Zi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class b3 extends we{constructor(e){super(),ke(this,e,g3,null,be,{playNextVideo:0})}}const{window:v3}=fr;function _3(i){He(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 qa(i){let e,t,n,o;e=new E1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&Wa(i);return{c(){D(e.$$.fragment),t=R(),l&&l.c(),n=ht()},m(s,a){z(e,s,a),C(s,t,a),l&&l.m(s,a),C(s,n,a),o=!0},p(s,a){const r={};a[0]&2&&(r.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(r),s[48]?l&&(he(),p(l,1,1,()=>{l=null}),pe()):l?(l.p(s,a),a[1]&131072&&m(l,1)):(l=Wa(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){p(e.$$.fragment,s),p(l),o=!1},d(s){s&&(y(t),y(n)),O(e,s),l&&l.d(s)}}}function Wa(i){let e,t;return e=new E1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ja(i){let e,t;return e=new S1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[0]&16&&(l.startTime=n[4]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Za(i){let e,t;return e=new T1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ga(i){let e,t,n;return t=new Fr({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),A(e,"hidden",i[34]!==ze.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)&&A(e,"hidden",o[34]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ka(i){let e,t;return e=new b3({props:{playNextVideo:i[22]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ya(i){let e,t;return e=new k1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Qa(i){let e,t,n;return t=new Mr({props:{ariaLabel:W("video360")}}),{c(){e=w("div"),D(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){C(o,e,l),z(t,e,null),n=!0},p:G,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Xa(i){let e,t;return e=new y1({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ja(i){let e,t;return e=new w1({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function xa(i){let e,t;return e=new Ur({props:{showControls:i[30]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $a(i){let e,t,n,o,l;return t=new C1({}),{c(){e=w("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=Ve(e,"click",ft(i[100])),o=!0)},p:G,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,l()}}}function er(i){let e,t;return e=new Qr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function tr(i){let e,t;return e=new jr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ir(i){let e,t,n=i[6]&&i[78]&&!i[47].has(mt.TIMELINE),o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J;e=new P1({props:{hidden:i[34]!==ze.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Z=n&&qa(i),T=i[34]===ze.WaitingLive&&ja(i),$=i[34]===ze.WaitingRecord&&Za(),ie=i[7]&&i[21]&&Ga(i),te=i[41]&&i[17]&&i[18]&&Ka(i),K=i[49]&&Ya(),H=i[50]&&Qa(),re=i[35]&&Xa(i),k=i[52].value!=="off"&&Ja(i),le=i[1].features.annotations&&xa(i),ce=i[33]&&$a(i);function ve(F){i[129](F)}let Ne={bottomHidden:i[34]===ze.Thumb||i[34]===ze.WaitingLive||i[34]===ze.WaitingRecord||i[34]===ze.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===ze.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&&(Ne.controlsElementRef=i[37]),_=new v1({props:Ne}),We.push(()=>vt(_,"controlsElementRef",ve)),P=new Wr({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Ae=i[38]&&er(),Ce=i[57]&&tr();return{c(){D(e.$$.fragment),t=R(),Z&&Z.c(),o=R(),T&&T.c(),l=R(),$&&$.c(),s=R(),ie&&ie.c(),a=R(),te&&te.c(),r=R(),K&&K.c(),c=R(),H&&H.c(),f=R(),re&&re.c(),h=R(),k&&k.c(),g=R(),le&&le.c(),v=R(),ce&&ce.c(),b=R(),D(_.$$.fragment),E=R(),D(P.$$.fragment),S=R(),Ae&&Ae.c(),B=R(),Ce&&Ce.c(),j=ht()},m(F,N){z(e,F,N),C(F,t,N),Z&&Z.m(F,N),C(F,o,N),T&&T.m(F,N),C(F,l,N),$&&$.m(F,N),C(F,s,N),ie&&ie.m(F,N),C(F,a,N),te&&te.m(F,N),C(F,r,N),K&&K.m(F,N),C(F,c,N),H&&H.m(F,N),C(F,f,N),re&&re.m(F,N),C(F,h,N),k&&k.m(F,N),C(F,g,N),le&&le.m(F,N),C(F,v,N),ce&&ce.m(F,N),C(F,b,N),z(_,F,N),C(F,E,N),z(P,F,N),C(F,S,N),Ae&&Ae.m(F,N),C(F,B,N),Ce&&Ce.m(F,N),C(F,j,N),J=!0},p(F,N){const Y={};N[0]&32|N[1]&12&&(Y.hidden=F[34]!==ze.Thumb||F[33]||F[89]&&F[5]),N[0]&4&&(Y.thumbUrl=F[2]),N[0]&268435456&&(Y.startVideo=F[28]),e.$set(Y),N[0]&64|N[1]&65536&&(n=F[6]&&F[78]&&!F[47].has(mt.TIMELINE)),n?Z?(Z.p(F,N),N[0]&64|N[1]&65536&&m(Z,1)):(Z=qa(F),Z.c(),m(Z,1),Z.m(o.parentNode,o)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),F[34]===ze.WaitingLive?T?(T.p(F,N),N[1]&8&&m(T,1)):(T=ja(F),T.c(),m(T,1),T.m(l.parentNode,l)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),F[34]===ze.WaitingRecord?$?N[1]&8&&m($,1):($=Za(),$.c(),m($,1),$.m(s.parentNode,s)):$&&(he(),p($,1,1,()=>{$=null}),pe()),F[7]&&F[21]?ie?(ie.p(F,N),N[0]&2097280&&m(ie,1)):(ie=Ga(F),ie.c(),m(ie,1),ie.m(a.parentNode,a)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),F[41]&&F[17]&&F[18]?te?(te.p(F,N),N[0]&393216|N[1]&1024&&m(te,1)):(te=Ka(F),te.c(),m(te,1),te.m(r.parentNode,r)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),F[49]?K?N[1]&262144&&m(K,1):(K=Ya(),K.c(),m(K,1),K.m(c.parentNode,c)):K&&(he(),p(K,1,1,()=>{K=null}),pe()),F[50]?H?(H.p(F,N),N[1]&524288&&m(H,1)):(H=Qa(),H.c(),m(H,1),H.m(f.parentNode,f)):H&&(he(),p(H,1,1,()=>{H=null}),pe()),F[35]?re?(re.p(F,N),N[1]&16&&m(re,1)):(re=Xa(F),re.c(),m(re,1),re.m(h.parentNode,h)):re&&(he(),p(re,1,1,()=>{re=null}),pe()),F[52].value!=="off"?k?(k.p(F,N),N[1]&2097152&&m(k,1)):(k=Ja(F),k.c(),m(k,1),k.m(g.parentNode,g)):k&&(he(),p(k,1,1,()=>{k=null}),pe()),F[1].features.annotations?le?(le.p(F,N),N[0]&2&&m(le,1)):(le=xa(F),le.c(),m(le,1),le.m(v.parentNode,v)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),F[33]?ce?(ce.p(F,N),N[1]&4&&m(ce,1)):(ce=$a(F),ce.c(),m(ce,1),ce.m(b.parentNode,b)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe());const ge={};N[1]&8&&(ge.bottomHidden=F[34]===ze.Thumb||F[34]===ze.WaitingLive||F[34]===ze.WaitingRecord||F[34]===ze.Ads),N[0]&1073741824&&(ge.showControls=F[30]),N[1]&16384&&(ge.bottomNoSmooth=F[45]),N[1]&8&&(ge.isAds=F[34]===ze.Ads),N[0]&64|N[1]&8388608&&(ge.canRewindLive=F[6]&&F[54]!==0),N[0]&4096&&(ge.logoClickable=F[12]),N[0]&8192&&(ge.logoHidden=F[13]),N[0]&8&&(ge.videoLogoUrl=F[3]),N[0]&16384&&(ge.showNextPrevButtons=F[14]),N[0]&32768&&(ge.nextButtonActive=F[15]),N[0]&65536&&(ge.prevButtonActive=F[16]),N[0]&524288&&(ge.isOneVideoPlaylist=F[19]),N[0]&1048576&&(ge.supportLink=F[20]),N[1]&256&&(ge.customFullscreenSupported=F[39]),N[0]&4194304&&(ge.playNextVideo=F[22]),N[0]&8388608&&(ge.playPrevVideo=F[23]),N[0]&16777216&&(ge.repeatPlaylist=F[24]),N[0]&33554432&&(ge.seekToInteractive=F[25]),N[0]&67108864&&(ge.toggleGraph=F[26]),N[0]&134217728&&(ge.playPrevChapter=F[27]),!L&&N[1]&64&&(L=!0,ge.controlsElementRef=F[37],bt(()=>L=!1)),_.$set(ge);const ee={};N[1]&16777216&&(ee.isLive=F[55]),N[1]&512&&(ee.isHidden=!F[40]),N[1]&33554432&&(ee.isPlaying=F[56]),N[1]&8192&&(ee.position=F[44]),N[1]&4096&&(ee.duration=F[43]),P.$set(ee),F[38]?Ae?N[1]&128&&m(Ae,1):(Ae=er(),Ae.c(),m(Ae,1),Ae.m(B.parentNode,B)):Ae&&(he(),p(Ae,1,1,()=>{Ae=null}),pe()),F[57]?Ce?N[1]&67108864&&m(Ce,1):(Ce=tr(),Ce.c(),m(Ce,1),Ce.m(j.parentNode,j)):Ce&&(he(),p(Ce,1,1,()=>{Ce=null}),pe())},i(F){J||(m(e.$$.fragment,F),m(Z),m(T),m($),m(ie),m(te),m(K),m(H),m(re),m(k),m(le),m(ce),m(_.$$.fragment,F),m(P.$$.fragment,F),m(Ae),m(Ce),J=!0)},o(F){p(e.$$.fragment,F),p(Z),p(T),p($),p(ie),p(te),p(K),p(H),p(re),p(k),p(le),p(ce),p(_.$$.fragment,F),p(P.$$.fragment,F),p(Ae),p(Ce),J=!1},d(F){F&&(y(t),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(b),y(E),y(S),y(B),y(j)),O(e,F),Z&&Z.d(F),T&&T.d(F),$&&$.d(F),ie&&ie.d(F),te&&te.d(F),K&&K.d(F),H&&H.d(F),re&&re.d(F),k&&k.d(F),le&&le.d(F),ce&&ce.d(F),O(_,F),O(P,F),Ae&&Ae.d(F),Ce&&Ce.d(F)}}}function k3(i){let e,t,n,o,l,s=i[46],a,r,c,f,h,g=ir(i);return{c(){e=w("div"),t=w("div"),n=w("div"),l=R(),g.c(),a=R(),r=w("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),A(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),A(t,"hidden",i[34]!==ze.Video),u(r,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(v,b){C(v,e,b),d(e,t),d(t,n),i[126](n),d(e,l),g.m(e,null),d(e,a),d(e,r),i[130](r),i[131](e),c=!0,f||(h=[Ve(v3,"blur",i[98]),Ve(t,"click",ci(i[99])),Ve(e,"click",i[101],!0),Ve(e,"focusin",i[102],!0)],f=!0)},p(v,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${v[32]}deg) scale(${v[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&A(n,"fast-rotate",!v[1].isSmoothVideoRotate),(!c||b[1]&8)&&A(t,"hidden",v[34]!==ze.Video),b[1]&32768&&be(s,s=v[46])?(he(),p(g,1,1,G),pe(),g=ir(v),g.c(),m(g,1),g.m(e,a)):g.p(v,b)},i(v){c||(m(g),c=!0)},o(v){p(g),c=!1},d(v){v&&y(e),i[126](null),g.d(v),i[130](null),i[131](null),f=!1,Gt(h)}}}function w3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,L,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,{store:N}=e,{uiConfig:Y}=e,{thumbUrl:ge}=e,{videoLogoUrl:ee}=e,{videoContainer:M}=e,{interactiveContainer:Q}=e,{live:Ie}=e,{autoplay:ye}=e,{canRewindLive:Se}=e,{showAds:X}=e,{adsSlotId:se=void 0}=e,{adsParams:_e=void 0}=e,{adsPreviewParam:ae=void 0}=e,{duration:qe=void 0}=e,{logoClickable:je}=e,{logoHidden:Je}=e,{showNextPrevButtons:et=!1}=e,{nextButtonActive:Be=!1}=e,{prevButtonActive:rt=!1}=e,{endScreenVideoTitle:Tt=void 0}=e,{endScreenVideoThumb:Le=void 0}=e,{isOneVideoPlaylist:Re=!1}=e,{supportLink:Kt}=e,{outerContainerRef:me=void 0}=e,{showMiniTimer:ut=!1}=e,{fullScreenTarget:Qe=void 0}=e,{playerStarted:ot=!1}=e,{playNextVideo:Ze=ne.noop}=e,{playPrevVideo:$e=ne.noop}=e,{repeatPlaylist:lt=ne.noop}=e,{seekToInteractive:ct}=e,{toggleGraph:wt}=e,{playPrevChapter:tt}=e,{firstStart:Rt}=e,{seekTime:yt}=e;const it=N.getLogger().createComponentLog("Root component"),Ht=N.interfaceLanguage$;q(i,Ht,x=>t(46,te=x));const dt=N.state.playbackState$;q(i,dt,x=>t(123,T=x));const Ge=N.ads.playbackState;q(i,Ge,x=>t(124,$=x));const At=N.state.positionWithScrubbing$;q(i,At,x=>t(44,s=x));const st=N.state.duration$;q(i,st,x=>t(43,l=x));const $t=N.playerPhase;q(i,$t,x=>t(34,B=x));const de=N.ui.isFullscreen;q(i,de,x=>t(137,r=x));const Pe=N.ui.controlsVisible;q(i,Pe,x=>t(30,o=x));const Me=N.ui.interactiveHideMobileControls;q(i,Me,x=>t(115,g=x));const St=N.ui.settingsMenuVisible;q(i,St,x=>t(114,n=x));const Li=N.ui.scrubbingInProgress;q(i,Li,x=>t(116,b=x));const Yt=N.ui.debugPanelVisible;q(i,Yt,x=>t(57,F=x));const vi=N.state.isLoaderVisible;q(i,vi,x=>t(125,ie=x));const Ii=N.state.isEnded$;q(i,Ii,x=>t(118,E=x));const Lt=N.state.chromecastConnected$;q(i,Lt,x=>t(35,j=x));const Te=N.state.chromecastDeviceName$;q(i,Te,x=>t(51,le=x));const Bt=N.ads.postrollPassed;q(i,Bt,x=>t(119,P=x));const Mi=N.ui.mobileUnmuteButtonExpanded,ei=N.ui.mobileUnmuteButtonVisible,_i=N.state.isLive$;q(i,_i,x=>t(55,Ae=x));const ki=N.state.isPlaying$;q(i,ki,x=>t(56,Ce=x));const wi=N.state.isActiveLive$;q(i,wi,x=>t(48,H=x));const ti=N.state.isRewindableLive$,Qi=N.state.crashed$;q(i,Qi,x=>t(33,L=x));const yi=N.webApi.pictureInPictureApi,Ci=N.state.videoSize$;q(i,Ci,x=>t(138,f=x));const Pi=N.state.currentSubtitle$;q(i,Pi,x=>t(52,ce=x));const Ni=N.state.currentSubtitleCaptions$;q(i,Ni,x=>t(53,ve=x));const di=N.state.duration$;q(i,di,x=>t(54,Ne=x));const Ui=N.state.graphIsOpened$;q(i,Ui,x=>t(122,Z=x));const ii=N.ui.playerSize;q(i,ii,x=>t(31,c=x));const ni=N.ui.is3DVideo;q(i,ni,x=>t(49,re=x));const Si=N.ui.icon3DVideoVisible;q(i,Si,x=>t(50,k=x));const Ft=N.ui.rotateAlpha;q(i,Ft,x=>t(32,v=x));const Ct=N.state.isInteractive,Qt=N.state.isInteractiveTime$;q(i,Qt,x=>t(117,_=x));const mi=N.state.isInteractiveExpectation$;q(i,mi,x=>t(121,J=x));const Xi=N.state.hasInteractiveBranches,oi=N.ui.controls.disabledControls$;q(i,oi,x=>t(47,K=x));const Ti=N.ui.touched;q(i,Ti,x=>t(120,S=x));const Di=N.ui.clientInfo$;q(i,Di,x=>t(136,a=x));const qi=N.ui.overlayContainer$;let li,Ri,Ai,Bi,si,hi,ai;const zt=Fe(!1);q(i,zt,x=>t(45,h=x));let Ei,Ut=!1,Ot,Xt=!1,pi,ri=!0,zi,Jt,Vi=!1,Oi;yi?.setContext(hr());const Hi=x=>{clearTimeout(Bi),x&&(ei.set(!0),Mi.set(!0),Bi=window.setTimeout(()=>{Mi.set(!1)},Y.controls.collapseMobileUnmute),Ct||xt(Y.controls.hideTimeoutMobile))};N.setUiCallbacks({onStarted:Hi});const Fi=()=>{window.clearTimeout(Ai),t(109,Ut=!1),g&&Me.set(!1)},xt=x=>{Fi(),t(109,Ut=!0),Ai=window.setTimeout(()=>t(109,Ut=!1),x);const kt=x-100;Ei=window.setTimeout(()=>{h&&zt.set(!1)},kt>0?kt:x)},Wi=ni.subscribe(x=>{Si.set(x),x&&(window.clearTimeout(si),si=window.setTimeout(()=>Si.set(!1),Y.controls.hide360IconTimeout))}),fe=async()=>{const x=no();if(x){xt(Y.controls.hideTimeoutFullscreen);try{await yi?.remove()}catch(kt){it({message:String(kt)})}try{const kt=f?.width&&f?.height?f:c;await Hu(kt)}catch(kt){it({message:String(kt)})}}de.set(x),N.getAdmanWrapper().setFullscreen(x),r?N.callbacks?.onFullscreenEnter?.():N.callbacks?.onFullscreenExit?.()},Pt=x=>{const kt=x;ii.set({width:kt.target.width,height:kt.target.height})};Zi(()=>(Dr(fe),vo(yi)&&(yi?.assignPlayerContainer(li),yi?.registryExternalEventHandlers({resize:Pt})),t(39,ri=!d3(a)),Q&&M.parentElement?.insertBefore(Q,M.nextSibling),()=>{window.clearTimeout(Ai),window.clearTimeout(Ei),window.clearTimeout(Bi),window.clearTimeout(si),Wi(),yi?.dispose(),Hr(fe)}));const ui=x=>{let kt=s+(x==="forward"?1:-1)*Y.controls.seekStepMobile/1e3;kt<0?kt=0:kt>l&&(kt=l-1),t(111,Xt=!0),yt(kt)},en=async()=>{if(no())await Or(document),it({message:"exit fullscreen"});else{it({message:"request fullscreen"});const x=me??li,kt=x.getRootNode(),An=kt instanceof ShadowRoot?kt.host:kt,En=Qe instanceof HTMLElement&&Qe.contains(An),Vn=Y.allowChangingFullscreenTarget&&Qe&&En?Qe:x;await zr(Vn)}},Ki=()=>{St.set(!1)},ln=()=>{if(n){Ki();return}if(!ot){Rt(),xt(Y.controls.hideTimeoutCursor);return}t(111,Xt=!1),o?Fi():xt(Y.controls.hideTimeoutMobile)},qt=()=>{if(n){Ki();return}},sn=()=>{Ti.set(!0)},Pn=()=>{Ct||(zt.set(!0),xt(Y.controls.hideTimeoutCursor))};function vn(x){We[x?"unshift":"push"](()=>{M=x,t(0,M)})}const _n=()=>ui("backward"),an=()=>ui("forward");function ji(x){Ri=x,t(37,Ri)}function Sn(x){We[x?"unshift":"push"](()=>{ai=x,t(29,ai)})}function Tn(x){We[x?"unshift":"push"](()=>{li=x,t(36,li)})}return i.$$set=x=>{"store"in x&&t(103,N=x.store),"uiConfig"in x&&t(1,Y=x.uiConfig),"thumbUrl"in x&&t(2,ge=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,Ie=x.live),"autoplay"in x&&t(5,ye=x.autoplay),"canRewindLive"in x&&t(6,Se=x.canRewindLive),"showAds"in x&&t(7,X=x.showAds),"adsSlotId"in x&&t(8,se=x.adsSlotId),"adsParams"in x&&t(9,_e=x.adsParams),"adsPreviewParam"in x&&t(10,ae=x.adsPreviewParam),"duration"in x&&t(11,qe=x.duration),"logoClickable"in x&&t(12,je=x.logoClickable),"logoHidden"in x&&t(13,Je=x.logoHidden),"showNextPrevButtons"in x&&t(14,et=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Be=x.nextButtonActive),"prevButtonActive"in x&&t(16,rt=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,Tt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,Le=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Re=x.isOneVideoPlaylist),"supportLink"in x&&t(20,Kt=x.supportLink),"outerContainerRef"in x&&t(105,me=x.outerContainerRef),"showMiniTimer"in x&&t(106,ut=x.showMiniTimer),"fullScreenTarget"in x&&t(107,Qe=x.fullScreenTarget),"playerStarted"in x&&t(21,ot=x.playerStarted),"playNextVideo"in x&&t(22,Ze=x.playNextVideo),"playPrevVideo"in x&&t(23,$e=x.playPrevVideo),"repeatPlaylist"in x&&t(24,lt=x.repeatPlaylist),"seekToInteractive"in x&&t(25,ct=x.seekToInteractive),"toggleGraph"in x&&t(26,wt=x.toggleGraph),"playPrevChapter"in x&&t(27,tt=x.playPrevChapter),"firstStart"in x&&t(28,Rt=x.firstStart),"seekTime"in x&&t(108,yt=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,hi=(B===ze.Video&&ie||B===ze.Ads&&$===Mt.INACTIVE)&&!L),i.$$.dirty[0]&536870912&&qi.set(ai),i.$$.dirty[3]&1073741824&&t(110,Ot=T!==nt.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,pi=Z||g||!Ut&&(E&&!!Xi||Ot&&J)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Pe.set((Ot||n||b||j||Ut&&!Xt)&&!pi&&B===ze.Video&&!L),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,zi=Y.features.thumbTimer&&ut&&B===ze.Video&&!o&&!L&&!Ct&&(Y.hideThumbTimerAfterTouch&&!S||!Y.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Jt=(X&&P||!X)&&E&&!L),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&Vi&&!_&&xt(Y.controls.hideTimeoutMobile),t(113,Vi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Oi=M&&v%180?c.height/c.width:1)},[M,Y,ge,ee,Ie,ye,Se,X,se,_e,ae,qe,je,Je,et,Be,rt,Tt,Le,Re,Kt,ot,Ze,$e,lt,ct,wt,tt,Rt,ai,o,c,v,L,B,j,li,Ri,hi,ri,zi,Jt,Oi,l,s,h,te,K,H,re,k,le,ce,ve,Ne,Ae,Ce,F,Ht,dt,Ge,At,st,$t,de,Pe,Me,St,Li,Yt,vi,Ii,Lt,Te,Bt,_i,ki,wi,ti,Qi,Ci,Pi,Ni,di,Ui,ii,ni,Si,Ft,Ct,Qt,mi,oi,Ti,Di,zt,ui,en,Ki,ln,qt,sn,Pn,N,Q,me,ut,Qe,yt,Ut,Ot,Xt,pi,Vi,n,g,b,_,E,P,S,J,Z,T,$,ie,vn,_n,an,ji,Sn,Tn]}class y3 extends we{constructor(e){super(),ke(this,e,w3,k3,be,{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},_3,[-1,-1,-1,-1,-1])}}function C3(i){He(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 Mm(i){let e,t;return{c(){e=k("div"),t=Oe(i[0]),u(e,"class","title v-1bcvcf2"),L(e,"hidden",i[1])},m(n,o){C(n,e,o),d(e,t)},p(n,[o]){o&1&&xe(t,n[0]),o&2&&L(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function Nm(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 Rm extends we{constructor(e){super(),ke(this,e,Nm,Mm,be,{title:0,isHidden:1},Im)}}function Bm(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 ka(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[0]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_day_value")}`,s=R(),a=k("span"),a.textContent=`${U("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&1&&xe(n,r[0])},d(r){r&&(y(e),y(s),y(a))}}}function wa(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[1]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_hour_value")}`,s=R(),a=k("span"),a.textContent=`${U("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&2&&xe(n,r[1])},d(r){r&&(y(e),y(s),y(a))}}}function ya(i){let e,t,n,o,l,s,a;return{c(){e=k("div"),t=k("span"),n=Oe(i[2]),o=R(),l=k("span"),l.textContent=`${U("waiting_live_minute_value")}`,s=R(),a=k("span"),a.textContent=`${U("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(a,"class","timer__points v-1qpxtfg")},m(r,c){C(r,e,c),d(e,t),d(t,n),d(e,o),d(e,l),C(r,s,c),C(r,a,c)},p(r,c){c&4&&xe(n,r[2])},d(r){r&&(y(e),y(s),y(a))}}}function Ca(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=Oe(i[3]),o=R(),l=k("span"),l.textContent=`${U("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,a){C(s,e,a),d(e,t),d(t,n),d(e,o),d(e,l)},p(s,a){a&8&&xe(n,s[3])},d(s){s&&y(e)}}}function zm(i){let e,t,n,o,l=i[0]&&ka(i),s=i[1]&&wa(i),a=i[2]&&ya(i),r=i[3]&&Ca(i);return{c(){e=k("div"),l&&l.c(),t=R(),s&&s.c(),n=R(),a&&a.c(),o=R(),r&&r.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),a&&a.m(e,null),d(e,o),r&&r.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=ka(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?s?s.p(c,f):(s=wa(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?a?a.p(c,f):(a=ya(c),a.c(),a.m(e,o)):a&&(a.d(1),a=null),c[3]?r?r.p(c,f):(r=Ca(c),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i:K,o:K,d(c){c&&y(e),l&&l.d(),s&&s.d(),a&&a.d(),r&&r.d()}}}function Om(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,s,a,r,c;const f=v=>String(v).padStart(2,"0"),h=v=>{const b=Math.floor(v/86400);b&&(v-=b*86400,t(0,l=f(b)));const _=Math.floor(v/3600);t(1,s=f(_));const V=Math.floor(v/60)%60;t(2,a=f(V));const A=v%60;t(3,r=f(A))},g=()=>{const v=Math.floor(Date.now()/1e3),b=n-v;h(b),b>=1?c=requestAnimationFrame(g):o()};return Zi(()=>{c=requestAnimationFrame(g)}),yo(()=>{cancelAnimationFrame(c)}),i.$$set=v=>{"startTime"in v&&t(4,n=v.startTime),"onTimerOver"in v&&t(5,o=v.onTimerOver)},[l,s,a,r,n,o]}class Dm extends we{constructor(e){super(),ke(this,e,Om,zm,be,{startTime:4,onTimerOver:5},Bm)}}function Hm(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"),At(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"),At(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"),At(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"),At(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"),At(e,"shape-rendering","geometricPrecision"),At(e,"text-rendering","geometricPrecision"),At(e,"image-rendering","optimizeQuality"),At(e,"fill-rule","evenodd"),At(e,"clip-rule","evenodd"),At(e,"width","100%"),At(e,"height","100%")},m(s,a){C(s,e,a),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(s){s&&y(e)}}}class Fm extends we{constructor(e){super(),ke(this,e,null,Hm,be,{})}}function Um(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 qm(i){let e,t,n,o,l;return o=new Dm({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${U("waiting_live_timer_title")}`,n=R(),D(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(s,a){C(s,e,a),d(e,t),d(e,n),z(o,e,null),l=!0},p(s,a){const r={};a&2&&(r.startTime=s[1]||0),a&4&&(r.onTimerOver=s[3]),o.$set(r)},i(s){l||(m(o.$$.fragment,s),l=!0)},o(s){p(o.$$.fragment,s),l=!1},d(s){s&&y(e),O(o)}}}function Wm(i){let e,t,n,o,l,s;return n=new Fm({}),{c(){e=k("div"),t=k("div"),D(n.$$.fragment),o=R(),l=k("span"),l.textContent=`${U("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(a,r){C(a,e,r),d(e,t),z(n,t,null),d(e,o),d(e,l),s=!0},p:K,i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){p(n.$$.fragment,a),s=!1},d(a){a&&y(e),O(n)}}}function jm(i){let e,t,n,o,l;const s=[Wm,qm],a=[];function r(c,f){return c[2]?0:1}return t=r(i),n=a[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),a[t].m(e,null),l=!0},p(c,[f]){let h=t;t=r(c),t===h?a[t].p(c,f):(he(),p(a[h],1,1,()=>{a[h]=null}),pe(),n=a[t],n?n.p(c,f):(n=a[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){p(n),l=!1},d(c){c&&y(e),a[t].d()}}}function Zm(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const s=()=>t(2,n=!0);return i.$$set=a=>{"thumbUrl"in a&&t(0,o=a.thumbUrl),"startTime"in a&&t(1,l=a.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,s]}class w1 extends we{constructor(e){super(),ke(this,e,Zm,jm,be,{thumbUrl:0,startTime:1},Um)}}function Gm(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 Km(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${U("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 y1 extends we{constructor(e){super(),ke(this,e,null,Km,be,{},Gm)}}const{window:Ym}=ur;function Qm(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 Pa(i){let e,t;return e=new w1({props:{thumbUrl:i[3],startTime:i[5]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[0]&32&&(l.startTime=n[5]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Sa(i){let e,t;return e=new y1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ta(i){let e,t,n;return t=new zr({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),L(e,"hidden",i[36]!==ze.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)&&L(e,"hidden",o[36]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Aa(i){let e,t;return e=new Mc({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ea(i){let e,t;return e=new Rm({props:{title:i[2],isHidden:!i[34]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function La(i){let e,t;return e=new g1({props:{isShifted:i[36]===ze.Video&&i[34]}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===ze.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Va(i){let e,t,n;return t=new Er({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ia(i){let e,t;return e=new v1({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ma(i){let e,t;return e=new b1({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Na(i){let e,t;return e=new Or({props:{showControls:i[34]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ra(i){let e,t,n,o,l;return t=new _1({}),{c(){e=k("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),z(t,e,null),n=!0,o||(l=[Ee(e,"contextmenu",ci(i[106])),Ee(e,"click",ut(i[117]))],o=!0)},p:K,i(s){n||(m(t.$$.fragment,s),n=!0)},o(s){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,Xt(l)}}}function Ba(i){let e,t;return e=new Zr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function za(i){let e,t;return e=new ef({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Oa(i){let e,t;return e=new Fr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Da(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z;e=new k1({props:{hidden:i[36]!==ze.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ie=i[36]===ze.WaitingLive&&Pa(i),G=i[36]===ze.WaitingRecord&&Sa(),J=i[8]&&i[22]&&Ta(i),ce=i[31]&&i[18]&&i[19]&&Aa(i),w=i[44]&&Ea(i),le=i[50]&&La(i),de=i[53]&&Va(),_e=i[37]&&Ia(i),Ne=i[55].value!=="off"&&Ma(i),Le=i[1].features.annotations&&Na(i),ye=i[35]&&Ra(i);function H(N){i[146](N)}let M={bottomHidden:i[36]===ze.Thumb||i[36]===ze.WaitingLive||i[36]===ze.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===ze.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:xm,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&&(M.controlsElementRef=i[39]),b=new h1({props:M}),je.push(()=>vt(b,"controlsElementRef",H)),A=new Hr({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),P=new fm({props:{data:i[101]}}),W=new fc({props:{supportLink:i[21],returnFocus:i[147],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let Y=i[42]&&Ba(),ge=i[62]&&za(),ee=i[63]&&Oa();return{c(){D(e.$$.fragment),t=R(),ie&&ie.c(),n=R(),G&&G.c(),o=R(),J&&J.c(),l=R(),ce&&ce.c(),s=R(),w&&w.c(),a=R(),le&&le.c(),r=R(),de&&de.c(),c=R(),_e&&_e.c(),f=R(),Ne&&Ne.c(),h=R(),Le&&Le.c(),g=R(),ye&&ye.c(),v=R(),D(b.$$.fragment),V=R(),D(A.$$.fragment),S=R(),D(P.$$.fragment),B=R(),D(W.$$.fragment),X=R(),Y&&Y.c(),j=R(),ge&&ge.c(),T=R(),ee&&ee.c(),te=ht()},m(N,Q){z(e,N,Q),C(N,t,Q),ie&&ie.m(N,Q),C(N,n,Q),G&&G.m(N,Q),C(N,o,Q),J&&J.m(N,Q),C(N,l,Q),ce&&ce.m(N,Q),C(N,s,Q),w&&w.m(N,Q),C(N,a,Q),le&&le.m(N,Q),C(N,r,Q),de&&de.m(N,Q),C(N,c,Q),_e&&_e.m(N,Q),C(N,f,Q),Ne&&Ne.m(N,Q),C(N,h,Q),Le&&Le.m(N,Q),C(N,g,Q),ye&&ye.m(N,Q),C(N,v,Q),z(b,N,Q),C(N,V,Q),z(A,N,Q),C(N,S,Q),z(P,N,Q),C(N,B,Q),z(W,N,Q),C(N,X,Q),Y&&Y.m(N,Q),C(N,j,Q),ge&&ge.m(N,Q),C(N,T,Q),ee&&ee.m(N,Q),C(N,te,Q),Z=!0},p(N,Q){const Ie={};Q[0]&64|Q[1]&48&&(Ie.hidden=N[36]!==ze.Thumb||N[35]||N[92]&&N[6]),Q[0]&8&&(Ie.thumbUrl=N[3]),Q[0]&536870912&&(Ie.startVideo=N[29]),e.$set(Ie),N[36]===ze.WaitingLive?ie?(ie.p(N,Q),Q[1]&32&&m(ie,1)):(ie=Pa(N),ie.c(),m(ie,1),ie.m(n.parentNode,n)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),N[36]===ze.WaitingRecord?G?Q[1]&32&&m(G,1):(G=Sa(),G.c(),m(G,1),G.m(o.parentNode,o)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),N[8]&&N[22]?J?(J.p(N,Q),Q[0]&4194560&&m(J,1)):(J=Ta(N),J.c(),m(J,1),J.m(l.parentNode,l)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),N[31]&&N[18]&&N[19]?ce?(ce.p(N,Q),Q[0]&786432|Q[1]&1&&m(ce,1)):(ce=Aa(N),ce.c(),m(ce,1),ce.m(s.parentNode,s)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),N[44]?w?(w.p(N,Q),Q[1]&8192&&m(w,1)):(w=Ea(N),w.c(),m(w,1),w.m(a.parentNode,a)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),N[50]?le?(le.p(N,Q),Q[1]&524288&&m(le,1)):(le=La(N),le.c(),m(le,1),le.m(r.parentNode,r)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),N[53]?de?(de.p(N,Q),Q[1]&4194304&&m(de,1)):(de=Va(),de.c(),m(de,1),de.m(c.parentNode,c)):de&&(he(),p(de,1,1,()=>{de=null}),pe()),N[37]?_e?(_e.p(N,Q),Q[1]&64&&m(_e,1)):(_e=Ia(N),_e.c(),m(_e,1),_e.m(f.parentNode,f)):_e&&(he(),p(_e,1,1,()=>{_e=null}),pe()),N[55].value!=="off"?Ne?(Ne.p(N,Q),Q[1]&16777216&&m(Ne,1)):(Ne=Ma(N),Ne.c(),m(Ne,1),Ne.m(h.parentNode,h)):Ne&&(he(),p(Ne,1,1,()=>{Ne=null}),pe()),N[1].features.annotations?Le?(Le.p(N,Q),Q[0]&2&&m(Le,1)):(Le=Na(N),Le.c(),m(Le,1),Le.m(g.parentNode,g)):Le&&(he(),p(Le,1,1,()=>{Le=null}),pe()),N[35]?ye?(ye.p(N,Q),Q[1]&16&&m(ye,1)):(ye=Ra(N),ye.c(),m(ye,1),ye.m(v.parentNode,v)):ye&&(he(),p(ye,1,1,()=>{ye=null}),pe());const Ce={};Q[1]&32&&(Ce.bottomHidden=N[36]===ze.Thumb||N[36]===ze.WaitingLive||N[36]===ze.WaitingRecord),Q[1]&1048576&&(Ce.bottomNoSmooth=N[51]),Q[1]&8&&(Ce.showControls=N[34]),Q[1]&32&&(Ce.isAds=N[36]===ze.Ads),Q[0]&128|Q[1]&134217728&&(Ce.canRewindLive=N[7]&&N[58]!==0),Q[0]&8192&&(Ce.logoClickable=N[13]),Q[0]&16384&&(Ce.logoHidden=N[14]),Q[0]&16&&(Ce.videoLogoUrl=N[4]),Q[0]&32768&&(Ce.showNextPrevButtons=N[15]),Q[0]&65536&&(Ce.nextButtonActive=N[16]),Q[0]&131072&&(Ce.prevButtonActive=N[17]),Q[0]&1048576&&(Ce.isOneVideoPlaylist=N[20]),Q[0]&2097152&&(Ce.supportLink=N[21]),Q[0]&8388608&&(Ce.playNextVideo=N[23]),Q[0]&16777216&&(Ce.playPrevVideo=N[24]),Q[0]&33554432&&(Ce.repeatPlaylist=N[25]),Q[1]&131072&&(Ce.returnFocus=N[145]),Q[0]&67108864&&(Ce.seekToInteractive=N[26]),Q[0]&134217728&&(Ce.toggleGraph=N[27]),Q[0]&268435456&&(Ce.playPrevChapter=N[28]),!_&&Q[1]&256&&(_=!0,Ce.controlsElementRef=N[39],bt(()=>_=!1)),b.$set(Ce);const Ae={};Q[1]&268435456&&(Ae.isLive=N[59]),Q[1]&4096&&(Ae.isHidden=!N[43]),Q[1]&536870912&&(Ae.isPlaying=N[60]),Q[1]&67108864&&(Ae.position=N[57]),Q[1]&1073741824&&(Ae.duration=N[61]),A.$set(Ae);const x={};Q[0]&2097152&&(x.supportLink=N[21]),Q[1]&131072&&(x.returnFocus=N[147]),Q[1]&262144&&(x.visible=N[49]),Q[1]&128&&(x.playerContainerRef=N[38]),Q[1]&256&&(x.controlsContainerRef=N[39]),Q[1]&512&&(x.x=N[40]),Q[1]&1024&&(x.y=N[41]),W.$set(x),N[42]?Y?Q[1]&2048&&m(Y,1):(Y=Ba(),Y.c(),m(Y,1),Y.m(j.parentNode,j)):Y&&(he(),p(Y,1,1,()=>{Y=null}),pe()),N[62]?ge?Q[2]&1&&m(ge,1):(ge=za(),ge.c(),m(ge,1),ge.m(T.parentNode,T)):ge&&(he(),p(ge,1,1,()=>{ge=null}),pe()),N[63]?ee?Q[2]&2&&m(ee,1):(ee=Oa(),ee.c(),m(ee,1),ee.m(te.parentNode,te)):ee&&(he(),p(ee,1,1,()=>{ee=null}),pe())},i(N){Z||(m(e.$$.fragment,N),m(ie),m(G),m(J),m(ce),m(w),m(le),m(de),m(_e),m(Ne),m(Le),m(ye),m(b.$$.fragment,N),m(A.$$.fragment,N),m(P.$$.fragment,N),m(W.$$.fragment,N),m(Y),m(ge),m(ee),Z=!0)},o(N){p(e.$$.fragment,N),p(ie),p(G),p(J),p(ce),p(w),p(le),p(de),p(_e),p(Ne),p(Le),p(ye),p(b.$$.fragment,N),p(A.$$.fragment,N),p(P.$$.fragment,N),p(W.$$.fragment,N),p(Y),p(ge),p(ee),Z=!1},d(N){N&&(y(t),y(n),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(V),y(S),y(B),y(X),y(j),y(T),y(te)),O(e,N),ie&&ie.d(N),G&&G.d(N),J&&J.d(N),ce&&ce.d(N),w&&w.d(N),le&&le.d(N),de&&de.d(N),_e&&_e.d(N),Ne&&Ne.d(N),Le&&Le.d(N),ye&&ye.d(N),O(b,N),O(A,N),O(P,N),O(W,N),Y&&Y.d(N),ge&&ge.d(N),ee&&ee.d(N)}}}function Xm(i){let e,t,n,o,l=i[52],s,a,r,c,f=Da(i);return{c(){e=k("div"),t=k("div"),o=R(),f.c(),s=ht(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),L(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),L(e,"hidden",i[36]!==ze.Video),L(e,"nocursor",i[45])},m(h,g){C(h,e,g),d(e,t),i[144](t),C(h,o,g),f.m(h,g),C(h,s,g),a=!0,r||(c=[Ee(e,"contextmenu",ci(i[106])),Ee(e,"mousedown",ci(i[111])),Ee(e,"mouseup",ci(i[112])),Ee(e,"click",ci(i[114])),Ee(e,"dblclick",ci(i[113]))],r=!0)},p(h,g){(!a||g[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!a||g[0]&2)&&L(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!a||g[1]&32)&&L(e,"hidden",h[36]!==ze.Video),(!a||g[1]&16384)&&L(e,"nocursor",h[45]),g[1]&2097152&&be(l,l=h[52])?(he(),p(f,1,1,K),pe(),f=Da(h),f.c(),m(f,1),f.m(s.parentNode,s)):f.p(h,g)},i(h){a||(m(f),a=!0)},o(h){p(f),a=!1},d(h){h&&(y(e),y(o),y(s)),i[144](null),f.d(h),r=!1,Xt(c)}}}function Jm(i){let e,t,n,o,l,s,a,r={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===ze.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[Xm]},$$scope:{ctx:i}};return t=new zc({props:r}),i[148](t),{c(){e=k("div"),D(t.$$.fragment),n=R(),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||(a=[Ee(Ym,"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]===ze.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){p(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[148](null),O(t),i[149](null),i[150](null),s=!1,Xt(a)}}}let xm=!0;function C1(i){return i?i.offsetTop+C1(i.offsetParent):0}function $m(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,{store:Y}=e,{uiConfig:ge}=e,{title:ee}=e,{thumbUrl:N}=e,{videoLogoUrl:Q}=e,{videoContainer:Ie}=e,{interactiveContainer:Ce}=e,{live:Ae}=e,{autoplay:x}=e,{canRewindLive:se}=e,{showAds:ve}=e,{adsSlotId:re=void 0}=e,{adsParams:qe=void 0}=e,{adsPreviewParam:We=void 0}=e,{duration:$e=void 0}=e,{logoClickable:it}=e,{logoHidden:Be}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:St=!1}=e,{prevButtonActive:Re=!1}=e,{endScreenVideoTitle:Ve=void 0}=e,{endScreenVideoThumb:wt=void 0}=e,{isOneVideoPlaylist:zt=!1}=e,{supportLink:mt}=e,{outerContainerRef:lt=void 0}=e,{playerStarted:ue=!1}=e,{fullScreenTarget:et=void 0}=e,{showMiniTimer:Qe=!1}=e,{playNextVideo:nt=ne.noop}=e,{playPrevVideo:Ke=ne.noop}=e,{repeatPlaylist:dt=ne.noop}=e,{seekToInteractive:tt}=e,{toggleGraph:Mt}=e,{playPrevChapter:yt}=e,{firstStart:ot}=e;const Ot=Y.getLogger().createComponentLog("Root component"),ct=Y.interfaceLanguage$;F(i,ct,q=>t(52,G=q));const Ze=Y.state.playbackState$;F(i,Ze,q=>t(141,te=q));const Tt=Y.ads.playbackState;F(i,Tt,q=>t(142,Z=q));const st=Y.state.positionWithScrubbing$;F(i,st,q=>t(57,de=q));const ii=Y.state.duration$;F(i,ii,q=>t(61,ye=q));const me=Y.playerPhase;F(i,me,q=>t(36,B=q));const Pe=Y.ui.isFullscreen;F(i,Pe,q=>t(131,c=q));const Me=Y.ui.controlsVisible;F(i,Me,q=>t(34,_=q));const Pt=Y.ui.settingsMenuVisible;F(i,Pt,q=>t(129,n=q));const Vi=Y.ui.scrubbingInProgress;F(i,Vi,q=>t(133,v=q));const Jt=Y.ui.contextMenuVisible;F(i,Jt,q=>t(49,o=q));const bi=Y.ui.debugPanelVisible;F(i,bi,q=>t(63,M=q));const Ii=Y.state.isLoaderVisible;F(i,Ii,q=>t(143,ie=q));const Lt=Y.state.isEnded$;F(i,Lt,q=>t(130,s=q));const Se=Y.state.chromecastConnected$;F(i,Se,q=>t(37,j=q));const Nt=Y.state.chromecastDeviceName$;F(i,Nt,q=>t(54,ce=q));const Mi=Y.ads.postrollPassed;F(i,Mi,q=>t(136,S=q));const ni=Y.state.isLive$;F(i,ni,q=>t(59,Ne=q));const vi=Y.state.isPlaying$;F(i,vi,q=>t(60,Le=q));const _i=Y.state.crashed$;F(i,_i,q=>t(35,A=q));const ki=Y.webApi.pictureInPictureApi,oi=Y.state.currentSubtitle$;F(i,oi,q=>t(55,w=q));const Ki=Y.state.currentSubtitleCaptions$;F(i,Ki,q=>t(56,le=q));const di=Y.state.duration$;F(i,di,q=>t(58,_e=q));const wi=Y.state.graphIsOpened$;F(i,wi,q=>t(137,P=q));const yi=Y.ui.playerSize;F(i,yi,q=>t(32,r=q));const Ni=Y.ui.is3DVideo;F(i,Ni,q=>t(50,a=q));const Ci=Y.ui.icon3DVideoVisible;F(i,Ci,q=>t(53,J=q));const qi=Y.ui.rotateAlpha;F(i,qi,q=>t(33,g=q));const xt=Y.state.isInteractive,li=Y.state.isInteractiveTime$;F(i,li,q=>t(134,b=q));const Pi=Y.state.isInteractiveExpectation$;F(i,Pi,q=>t(140,T=q));const Dt=Y.state.hasInteractiveBranches,Ct=Y.ui.touched;F(i,Ct,q=>t(138,W=q));const Ht=Y.ui.modals.hotKeyMap.data;F(i,Ht,q=>t(157,l=q));const Ri=Y.ui.modals.hotKeyMap.show;F(i,Ri,q=>t(62,H=q));const Yi=Y.ui.overlayContainer$,{fakeIsPlaying$:Bi}=vr();F(i,Bi,q=>t(132,h=q));let $t,Fi,Wi=0,si=0,zi,Si,Ti;Ht.set(Nu());let Ai,mi;const Ft=He(!1);F(i,Ft,q=>t(51,f=q));let ai;const hi=He(!1);F(i,hi,q=>t(139,X=q));const Ut=He(),qt=He(!1);F(i,qt,q=>t(135,V=q));let ei=!1,ri=!1,Wt,pi,ti,Oi,Ei,ji,Di=!1,ui,Ui=!1;const{toggle:Li}=Bi;let ae=!1,jt=null,Hi;ki?.setContext(cr());const Qi=()=>{x&&!xt&&Zt(ge.controls.hideTimeout)};Y.setUiCallbacks({onStarted:Qi});const sn=()=>{window.clearTimeout(zi),hi.set(!1)},an=()=>{window.clearTimeout(Si),Ut.set(null)},Zt=q=>{sn(),hi.set(!0),zi=window.setTimeout(()=>hi.set(!1),q);const Gt=q-100;ai=window.setTimeout(()=>{f&&Ft.set(!1)},Gt>0?Gt:q)},Cn=(q,Gt)=>{an(),Ut.set(Gt),Si=window.setTimeout(()=>Ut.set(null),q)},Pn=Ni.subscribe(q=>{Ci.set(q),q&&(window.clearTimeout(Ti),Ti=window.setTimeout(()=>Ci.set(!1),ge.controls.hide360IconTimeout))}),rn=async()=>{const q=oo();if(q){Zt(ge.controls.hideTimeoutFullscreen);try{await ki?.remove()}catch(Gt){Ot({message:String(Gt)})}}Pe.set(q),Y.getAdmanWrapper().setFullscreen(q),c?Y.callbacks?.onFullscreenEnter?.():Y.callbacks?.onFullscreenExit?.()},_n=q=>{const Gt=q;yi.set({width:Gt.target.width,height:Gt.target.height})};Zi(()=>(Rr(rn),_o(ki)&&(ki?.assignPlayerContainer($t),ki?.registryExternalEventHandlers({resize:_n})),Ce&&Ie.parentElement?.insertBefore(Ce,Ie.nextSibling),()=>{window.clearTimeout(zi),window.clearTimeout(ai),window.clearTimeout(Si),window.clearTimeout(Ti),Pn(),ki?.dispose(),Br(rn)}));const nn=async()=>{if(oo())await Nr(document),Ot({message:"exit fullscreen"});else{Ot({message:"request fullscreen"});const q=lt??$t,Gt=q.getRootNode(),Rn=Gt instanceof ShadowRoot?Gt.host:Gt,Bn=et instanceof HTMLElement&&et.contains(Rn),ao=ge.allowChangingFullscreenTarget&&et&&Bn?et:q;await Mr(ao)}},Ji=()=>{Pt.set(!1),Jt.set(!1)},Sn=q=>{Jt.set(!0),t(40,Wi=q.clientX),t(41,si=q.clientY)};function $(){qt.set(!0),xt||Zt(ge.controls.hideTimeoutCursor)}function kt(){xt||(Ft.set(!0),Zt(ge.controls.hideTimeoutCursor))}function Tn(){qt.set(!1),t(125,ri=!1),t(124,ei=!1),ae=!1,Y.actions.internal.releaseCamera()}function An(q){if($t){const Gt=C1(q.currentTarget),Rn=r.height,Bn=q.pageY-Gt;Bn<al?t(125,ri=!0):Bn>Rn-al?t(124,ei=!0):(t(125,ri=!1),n||t(124,ei=!1))}}function En(q){An(q),pi||Zt(ge.controls.hideTimeoutCursor),a&&ae&&jt&&Y.actions.internal.moveCameraFocusPX(jt.clientX-q.clientX,jt.clientY-q.clientY,q.timeStamp-jt.timeStamp),jt=q}const Kn=q=>{q.button===0&&(ae=!0,Y.actions.internal.holdCamera()),Zt(ge.controls.hideTimeoutCursor)},Yn=q=>{q.button===0&&(jt=q,ae=!1,Y.actions.internal.releaseCamera()),Zt(ge.controls.hideTimeoutCursor)},Qn=()=>{Ot({message:"double click on video"}),nn(),Zt(ge.controls.hideTimeoutCursor)},Xn=()=>{if(o||n){Ji();return}if(!(s&&!Dt)){if(Ui)return Li();if(Hi?.focus(),!ue){ot(),Zt(ge.controls.hideTimeoutCursor);return}Y.actions.internal.togglePlay(),Zt(ge.controls.hideTimeoutCursor)}},Jn=q=>{Ji(),Ct.set(!0),Zt(ge.controls.hideTimeout),q&&Cn(ge.controls.hideHotKeyHelpers,q)},Nn=()=>{Ji(),Y.callbacks?.onOpenHotKeyMap?Y.callbacks?.onOpenHotKeyMap(l):Ri.update(q=>!q)},xn=()=>{if(o||n){Ji();return}},oe=()=>{Ct.set(!0)};function xi(q){je[q?"unshift":"push"](()=>{Ie=q,t(0,Ie)})}const at=()=>Hi?.focus();function Rt(q){Fi=q,t(39,Fi)}const $i=()=>Hi?.focus();function un(q){je[q?"unshift":"push"](()=>{Hi=q,t(48,Hi)})}function $n(q){je[q?"unshift":"push"](()=>{mi=q,t(30,mi)})}function Ln(q){je[q?"unshift":"push"](()=>{$t=q,t(38,$t)})}return i.$$set=q=>{"store"in q&&t(119,Y=q.store),"uiConfig"in q&&t(1,ge=q.uiConfig),"title"in q&&t(2,ee=q.title),"thumbUrl"in q&&t(3,N=q.thumbUrl),"videoLogoUrl"in q&&t(4,Q=q.videoLogoUrl),"videoContainer"in q&&t(0,Ie=q.videoContainer),"interactiveContainer"in q&&t(120,Ce=q.interactiveContainer),"live"in q&&t(5,Ae=q.live),"autoplay"in q&&t(6,x=q.autoplay),"canRewindLive"in q&&t(7,se=q.canRewindLive),"showAds"in q&&t(8,ve=q.showAds),"adsSlotId"in q&&t(9,re=q.adsSlotId),"adsParams"in q&&t(10,qe=q.adsParams),"adsPreviewParam"in q&&t(11,We=q.adsPreviewParam),"duration"in q&&t(12,$e=q.duration),"logoClickable"in q&&t(13,it=q.logoClickable),"logoHidden"in q&&t(14,Be=q.logoHidden),"showNextPrevButtons"in q&&t(15,rt=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,St=q.nextButtonActive),"prevButtonActive"in q&&t(17,Re=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Ve=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,wt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,zt=q.isOneVideoPlaylist),"supportLink"in q&&t(21,mt=q.supportLink),"outerContainerRef"in q&&t(121,lt=q.outerContainerRef),"playerStarted"in q&&t(22,ue=q.playerStarted),"fullScreenTarget"in q&&t(122,et=q.fullScreenTarget),"showMiniTimer"in q&&t(123,Qe=q.showMiniTimer),"playNextVideo"in q&&t(23,nt=q.playNextVideo),"playPrevVideo"in q&&t(24,Ke=q.playPrevVideo),"repeatPlaylist"in q&&t(25,dt=q.repeatPlaylist),"seekToInteractive"in q&&t(26,tt=q.seekToInteractive),"toggleGraph"in q&&t(27,Mt=q.toggleGraph),"playPrevChapter"in q&&t(28,yt=q.playPrevChapter),"firstStart"in q&&t(29,ot=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,Ai=(B===ze.Video&&ie||B===ze.Ads&&Z===Bt.INACTIVE)&&!A),i.$$.dirty[0]&1073741824&&Yi.set(mi),i.$$.dirty[4]&131072&&t(126,Wt=te!==Je.PlaybackState.PLAYING),i.$$.dirty[4]&66567&&t(127,pi=b&&!(ei||ri)&&!(Wt&&!T)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Me.set((Wt||n||v||j||X)&&!pi&&B===ze.Video&&!A),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,ti=ge.features.thumbTimer&&Qe&&B===ze.Video&&!_&&!A&&!xt&&(ge.hideThumbTimerAfterTouch&&!W||!ge.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Oi=B===ze.Video&&!P&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Ei=(ve&&S||!ve)&&s&&!A),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,ji=V&&!(_||Ei)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!v&&Di&&!b&&Zt(ge.controls.hideTimeoutCursor),t(128,Di=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,ui=Ie&&g%180?r.height/r.width:1),i.$$.dirty[4]&256&&t(47,Ui=h!==null)},[Ie,ge,ee,N,Q,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,zt,mt,ue,nt,Ke,dt,tt,Mt,yt,ot,mi,Ei,r,g,_,A,B,j,$t,Fi,Wi,si,Ai,ti,Oi,ji,ui,Ui,Hi,o,a,f,G,J,ce,w,le,de,_e,Ne,Le,ye,H,M,ct,Ze,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Se,Nt,Mi,ni,vi,_i,oi,Ki,di,wi,yi,Ni,Ci,qi,xt,li,Pi,Ct,Ht,Ri,Bi,Ft,hi,Ut,qt,Li,nn,Ji,Sn,$,kt,Tn,En,Kn,Yn,Qn,Xn,Jn,Nn,xn,oe,Y,Ce,lt,et,Qe,ei,ri,Wt,pi,Di,n,s,c,h,v,b,V,S,P,W,X,T,te,Z,ie,xi,at,Rt,$i,un,$n,Ln]}class e3 extends we{constructor(e){super(),ke(this,e,$m,Jm,be,{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},Qm,[-1,-1,-1,-1,-1,-1])}}const t3=i=>{if(!ne.isIOS(!0))return!1;const e=i.device===ne.CurrentClientDevice.iPad||window?.screen.width>700,t=ne.getIOSVersion();return!e||e&&!!t&&t<16};function i3(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 Ha(i){let e,t,n,o,l,s,a,r,c,f,h,g,v,b,_,V=U("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",A;return{c(){e=k("div"),n=R(),o=k("div"),l=k("div"),s=k("div"),r=R(),c=k("div"),h=R(),g=k("div"),b=R(),_=k("p"),A=Oe(V),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(s,"class",a="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(g,"class",v="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(S,P){C(S,e,P),C(S,n,P),C(S,o,P),d(o,l),d(l,s),d(l,r),d(l,c),d(l,h),d(l,g),d(o,b),d(o,_),d(_,A)},p(S,P){P&1&&t!==(t="semicircle "+S[0]+" v-nhq2ld")&&u(e,"class",t),P&1&&a!==(a="triangle "+S[0]+" v-nhq2ld")&&u(s,"class",a),P&1&&f!==(f="triangle "+S[0]+" v-nhq2ld")&&u(c,"class",f),P&1&&v!==(v="triangle "+S[0]+" v-nhq2ld")&&u(g,"class",v),P&2&&V!==(V=U("doubletap_seek_step",{seconds:S[1].toFixed(0)})+"")&&xe(A,V)},d(S){S&&(y(e),y(n),y(o))}}}function n3(i){let e,t,n,o,l=i[2]&&Ha(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(s,a){C(s,e,a),l&&l.m(e,null),n||(o=Ee(e,"click",ut(i[3]())),n=!0)},p(s,[a]){s[2]?l?l.p(s,a):(l=Ha(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&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 o3(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:s}=e,a=!1,r=0,c=0;const f=()=>{let g=0;return()=>{g+=1,g===1?r=window.setTimeout(()=>{l(),g=0},300):(window.clearTimeout(r),g=0,s(),t(2,a=!0),c=window.setTimeout(()=>{t(2,a=!1)},500))}};return yo(()=>{window.clearTimeout(r),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,a,f,l,s]}class P1 extends we{constructor(e){super(),ke(this,e,o3,n3,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},i3)}}function l3(i,e,t){let{playNextVideo:n}=e;return Zi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class s3 extends we{constructor(e){super(),ke(this,e,l3,null,be,{playNextVideo:0})}}const{window:a3}=ur;function r3(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 Fa(i){let e,t,n,o;e=new P1({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&Ua(i);return{c(){D(e.$$.fragment),t=R(),l&&l.c(),n=ht()},m(s,a){z(e,s,a),C(s,t,a),l&&l.m(s,a),C(s,n,a),o=!0},p(s,a){const r={};a[0]&2&&(r.seekStep=s[1].controls.seekStepMobile/1e3),e.$set(r),s[48]?l&&(he(),p(l,1,1,()=>{l=null}),pe()):l?(l.p(s,a),a[1]&131072&&m(l,1)):(l=Ua(s),l.c(),m(l,1),l.m(n.parentNode,n))},i(s){o||(m(e.$$.fragment,s),m(l),o=!0)},o(s){p(e.$$.fragment,s),p(l),o=!1},d(s){s&&(y(t),y(n)),O(e,s),l&&l.d(s)}}}function Ua(i){let e,t;return e=new P1({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function qa(i){let e,t;return e=new w1({props:{thumbUrl:i[2],startTime:i[4]?.startTime}}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[0]&16&&(l.startTime=n[4]?.startTime),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Wa(i){let e,t;return e=new y1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function ja(i){let e,t,n;return t=new zr({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=k("div"),D(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),L(e,"hidden",i[34]!==ze.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)&&L(e,"hidden",o[34]!==ze.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Za(i){let e,t;return e=new s3({props:{playNextVideo:i[22]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ga(i){let e,t;return e=new g1({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ka(i){let e,t,n;return t=new Er({props:{ariaLabel:U("video360")}}),{c(){e=k("div"),D(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){p(t.$$.fragment,o),n=!1},d(o){o&&y(e),O(t)}}}function Ya(i){let e,t;return e=new v1({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Qa(i){let e,t;return e=new b1({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Xa(i){let e,t;return e=new Or({props:{showControls:i[30]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function Ja(i){let e,t,n,o,l;return t=new _1({}),{c(){e=k("div"),D(t.$$.fragment)},m(s,a){C(s,e,a),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){p(t.$$.fragment,s),n=!1},d(s){s&&y(e),O(t),o=!1,l()}}}function xa(i){let e,t;return e=new Zr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function $a(i){let e,t;return e=new Fr({}),{c(){D(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function er(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ft.TIMELINE),o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X;e=new k1({props:{hidden:i[34]!==ze.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let j=n&&Fa(i),T=i[34]===ze.WaitingLive&&qa(i),te=i[34]===ze.WaitingRecord&&Wa(),Z=i[7]&&i[21]&&ja(i),ie=i[41]&&i[17]&&i[18]&&Za(i),G=i[49]&&Ga(),J=i[50]&&Ka(),ce=i[35]&&Ya(i),w=i[52].value!=="off"&&Qa(i),le=i[1].features.annotations&&Xa(i),de=i[33]&&Ja(i);function _e(H){i[129](H)}let Ne={bottomHidden:i[34]===ze.Thumb||i[34]===ze.WaitingLive||i[34]===ze.WaitingRecord||i[34]===ze.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===ze.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&&(Ne.controlsElementRef=i[37]),_=new h1({props:Ne}),je.push(()=>vt(_,"controlsElementRef",_e)),S=new Hr({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Le=i[38]&&xa(),ye=i[57]&&$a();return{c(){D(e.$$.fragment),t=R(),j&&j.c(),o=R(),T&&T.c(),l=R(),te&&te.c(),s=R(),Z&&Z.c(),a=R(),ie&&ie.c(),r=R(),G&&G.c(),c=R(),J&&J.c(),f=R(),ce&&ce.c(),h=R(),w&&w.c(),g=R(),le&&le.c(),v=R(),de&&de.c(),b=R(),D(_.$$.fragment),A=R(),D(S.$$.fragment),P=R(),Le&&Le.c(),B=R(),ye&&ye.c(),W=ht()},m(H,M){z(e,H,M),C(H,t,M),j&&j.m(H,M),C(H,o,M),T&&T.m(H,M),C(H,l,M),te&&te.m(H,M),C(H,s,M),Z&&Z.m(H,M),C(H,a,M),ie&&ie.m(H,M),C(H,r,M),G&&G.m(H,M),C(H,c,M),J&&J.m(H,M),C(H,f,M),ce&&ce.m(H,M),C(H,h,M),w&&w.m(H,M),C(H,g,M),le&&le.m(H,M),C(H,v,M),de&&de.m(H,M),C(H,b,M),z(_,H,M),C(H,A,M),z(S,H,M),C(H,P,M),Le&&Le.m(H,M),C(H,B,M),ye&&ye.m(H,M),C(H,W,M),X=!0},p(H,M){const Y={};M[0]&32|M[1]&12&&(Y.hidden=H[34]!==ze.Thumb||H[33]||H[89]&&H[5]),M[0]&4&&(Y.thumbUrl=H[2]),M[0]&268435456&&(Y.startVideo=H[28]),e.$set(Y),M[0]&64|M[1]&65536&&(n=H[6]&&H[78]&&!H[47].has(ft.TIMELINE)),n?j?(j.p(H,M),M[0]&64|M[1]&65536&&m(j,1)):(j=Fa(H),j.c(),m(j,1),j.m(o.parentNode,o)):j&&(he(),p(j,1,1,()=>{j=null}),pe()),H[34]===ze.WaitingLive?T?(T.p(H,M),M[1]&8&&m(T,1)):(T=qa(H),T.c(),m(T,1),T.m(l.parentNode,l)):T&&(he(),p(T,1,1,()=>{T=null}),pe()),H[34]===ze.WaitingRecord?te?M[1]&8&&m(te,1):(te=Wa(),te.c(),m(te,1),te.m(s.parentNode,s)):te&&(he(),p(te,1,1,()=>{te=null}),pe()),H[7]&&H[21]?Z?(Z.p(H,M),M[0]&2097280&&m(Z,1)):(Z=ja(H),Z.c(),m(Z,1),Z.m(a.parentNode,a)):Z&&(he(),p(Z,1,1,()=>{Z=null}),pe()),H[41]&&H[17]&&H[18]?ie?(ie.p(H,M),M[0]&393216|M[1]&1024&&m(ie,1)):(ie=Za(H),ie.c(),m(ie,1),ie.m(r.parentNode,r)):ie&&(he(),p(ie,1,1,()=>{ie=null}),pe()),H[49]?G?M[1]&262144&&m(G,1):(G=Ga(),G.c(),m(G,1),G.m(c.parentNode,c)):G&&(he(),p(G,1,1,()=>{G=null}),pe()),H[50]?J?(J.p(H,M),M[1]&524288&&m(J,1)):(J=Ka(),J.c(),m(J,1),J.m(f.parentNode,f)):J&&(he(),p(J,1,1,()=>{J=null}),pe()),H[35]?ce?(ce.p(H,M),M[1]&16&&m(ce,1)):(ce=Ya(H),ce.c(),m(ce,1),ce.m(h.parentNode,h)):ce&&(he(),p(ce,1,1,()=>{ce=null}),pe()),H[52].value!=="off"?w?(w.p(H,M),M[1]&2097152&&m(w,1)):(w=Qa(H),w.c(),m(w,1),w.m(g.parentNode,g)):w&&(he(),p(w,1,1,()=>{w=null}),pe()),H[1].features.annotations?le?(le.p(H,M),M[0]&2&&m(le,1)):(le=Xa(H),le.c(),m(le,1),le.m(v.parentNode,v)):le&&(he(),p(le,1,1,()=>{le=null}),pe()),H[33]?de?(de.p(H,M),M[1]&4&&m(de,1)):(de=Ja(H),de.c(),m(de,1),de.m(b.parentNode,b)):de&&(he(),p(de,1,1,()=>{de=null}),pe());const ge={};M[1]&8&&(ge.bottomHidden=H[34]===ze.Thumb||H[34]===ze.WaitingLive||H[34]===ze.WaitingRecord||H[34]===ze.Ads),M[0]&1073741824&&(ge.showControls=H[30]),M[1]&16384&&(ge.bottomNoSmooth=H[45]),M[1]&8&&(ge.isAds=H[34]===ze.Ads),M[0]&64|M[1]&8388608&&(ge.canRewindLive=H[6]&&H[54]!==0),M[0]&4096&&(ge.logoClickable=H[12]),M[0]&8192&&(ge.logoHidden=H[13]),M[0]&8&&(ge.videoLogoUrl=H[3]),M[0]&16384&&(ge.showNextPrevButtons=H[14]),M[0]&32768&&(ge.nextButtonActive=H[15]),M[0]&65536&&(ge.prevButtonActive=H[16]),M[0]&524288&&(ge.isOneVideoPlaylist=H[19]),M[0]&1048576&&(ge.supportLink=H[20]),M[1]&256&&(ge.customFullscreenSupported=H[39]),M[0]&4194304&&(ge.playNextVideo=H[22]),M[0]&8388608&&(ge.playPrevVideo=H[23]),M[0]&16777216&&(ge.repeatPlaylist=H[24]),M[0]&33554432&&(ge.seekToInteractive=H[25]),M[0]&67108864&&(ge.toggleGraph=H[26]),M[0]&134217728&&(ge.playPrevChapter=H[27]),!V&&M[1]&64&&(V=!0,ge.controlsElementRef=H[37],bt(()=>V=!1)),_.$set(ge);const ee={};M[1]&16777216&&(ee.isLive=H[55]),M[1]&512&&(ee.isHidden=!H[40]),M[1]&33554432&&(ee.isPlaying=H[56]),M[1]&8192&&(ee.position=H[44]),M[1]&4096&&(ee.duration=H[43]),S.$set(ee),H[38]?Le?M[1]&128&&m(Le,1):(Le=xa(),Le.c(),m(Le,1),Le.m(B.parentNode,B)):Le&&(he(),p(Le,1,1,()=>{Le=null}),pe()),H[57]?ye?M[1]&67108864&&m(ye,1):(ye=$a(),ye.c(),m(ye,1),ye.m(W.parentNode,W)):ye&&(he(),p(ye,1,1,()=>{ye=null}),pe())},i(H){X||(m(e.$$.fragment,H),m(j),m(T),m(te),m(Z),m(ie),m(G),m(J),m(ce),m(w),m(le),m(de),m(_.$$.fragment,H),m(S.$$.fragment,H),m(Le),m(ye),X=!0)},o(H){p(e.$$.fragment,H),p(j),p(T),p(te),p(Z),p(ie),p(G),p(J),p(ce),p(w),p(le),p(de),p(_.$$.fragment,H),p(S.$$.fragment,H),p(Le),p(ye),X=!1},d(H){H&&(y(t),y(o),y(l),y(s),y(a),y(r),y(c),y(f),y(h),y(g),y(v),y(b),y(A),y(P),y(B),y(W)),O(e,H),j&&j.d(H),T&&T.d(H),te&&te.d(H),Z&&Z.d(H),ie&&ie.d(H),G&&G.d(H),J&&J.d(H),ce&&ce.d(H),w&&w.d(H),le&&le.d(H),de&&de.d(H),O(_,H),O(S,H),Le&&Le.d(H),ye&&ye.d(H)}}}function u3(i){let e,t,n,o,l,s=i[46],a,r,c,f,h,g=er(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=R(),g.c(),a=R(),r=k("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),L(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),L(t,"hidden",i[34]!==ze.Video),u(r,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(v,b){C(v,e,b),d(e,t),d(t,n),i[126](n),d(e,l),g.m(e,null),d(e,a),d(e,r),i[130](r),i[131](e),c=!0,f||(h=[Ee(a3,"blur",i[98]),Ee(t,"click",ci(i[99])),Ee(e,"click",i[101],!0),Ee(e,"focusin",i[102],!0)],f=!0)},p(v,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${v[32]}deg) scale(${v[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&L(n,"fast-rotate",!v[1].isSmoothVideoRotate),(!c||b[1]&8)&&L(t,"hidden",v[34]!==ze.Video),b[1]&32768&&be(s,s=v[46])?(he(),p(g,1,1,K),pe(),g=er(v),g.c(),m(g,1),g.m(e,a)):g.p(v,b)},i(v){c||(m(g),c=!0)},o(v){p(g),c=!1},d(v){v&&y(e),i[126](null),g.d(v),i[130](null),i[131](null),f=!1,Xt(h)}}}function c3(i,e,t){let n,o,l,s,a,r,c,f,h,g,v,b,_,V,A,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,{store:M}=e,{uiConfig:Y}=e,{thumbUrl:ge}=e,{videoLogoUrl:ee}=e,{videoContainer:N}=e,{interactiveContainer:Q}=e,{live:Ie}=e,{autoplay:Ce}=e,{canRewindLive:Ae}=e,{showAds:x}=e,{adsSlotId:se=void 0}=e,{adsParams:ve=void 0}=e,{adsPreviewParam:re=void 0}=e,{duration:qe=void 0}=e,{logoClickable:We}=e,{logoHidden:$e}=e,{showNextPrevButtons:it=!1}=e,{nextButtonActive:Be=!1}=e,{prevButtonActive:rt=!1}=e,{endScreenVideoTitle:St=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Ve=!1}=e,{supportLink:wt}=e,{outerContainerRef:zt=void 0}=e,{showMiniTimer:mt=!1}=e,{fullScreenTarget:lt=void 0}=e,{playerStarted:ue=!1}=e,{playNextVideo:et=ne.noop}=e,{playPrevVideo:Qe=ne.noop}=e,{repeatPlaylist:nt=ne.noop}=e,{seekToInteractive:Ke}=e,{toggleGraph:dt}=e,{playPrevChapter:tt}=e,{firstStart:Mt}=e,{seekTime:yt}=e;const ot=M.getLogger().createComponentLog("Root component"),Ot=M.interfaceLanguage$;F(i,Ot,$=>t(46,ie=$));const ct=M.state.playbackState$;F(i,ct,$=>t(123,T=$));const Ze=M.ads.playbackState;F(i,Ze,$=>t(124,te=$));const Tt=M.state.positionWithScrubbing$;F(i,Tt,$=>t(44,s=$));const st=M.state.duration$;F(i,st,$=>t(43,l=$));const ii=M.playerPhase;F(i,ii,$=>t(34,B=$));const me=M.ui.isFullscreen;F(i,me,$=>t(137,r=$));const Pe=M.ui.controlsVisible;F(i,Pe,$=>t(30,o=$));const Me=M.ui.interactiveHideMobileControls;F(i,Me,$=>t(115,g=$));const Pt=M.ui.settingsMenuVisible;F(i,Pt,$=>t(114,n=$));const Vi=M.ui.scrubbingInProgress;F(i,Vi,$=>t(116,b=$));const Jt=M.ui.debugPanelVisible;F(i,Jt,$=>t(57,H=$));const bi=M.state.isLoaderVisible;F(i,bi,$=>t(125,Z=$));const Ii=M.state.isEnded$;F(i,Ii,$=>t(118,A=$));const Lt=M.state.chromecastConnected$;F(i,Lt,$=>t(35,W=$));const Se=M.state.chromecastDeviceName$;F(i,Se,$=>t(51,le=$));const Nt=M.ads.postrollPassed;F(i,Nt,$=>t(119,S=$));const Mi=M.ui.mobileUnmuteButtonExpanded,ni=M.ui.mobileUnmuteButtonVisible,vi=M.state.isLive$;F(i,vi,$=>t(55,Le=$));const _i=M.state.isPlaying$;F(i,_i,$=>t(56,ye=$));const ki=M.state.isActiveLive$;F(i,ki,$=>t(48,J=$));const oi=M.state.isRewindableLive$,Ki=M.state.crashed$;F(i,Ki,$=>t(33,V=$));const di=M.webApi.pictureInPictureApi,wi=M.state.videoSize$;F(i,wi,$=>t(138,f=$));const yi=M.state.currentSubtitle$;F(i,yi,$=>t(52,de=$));const Ni=M.state.currentSubtitleCaptions$;F(i,Ni,$=>t(53,_e=$));const Ci=M.state.duration$;F(i,Ci,$=>t(54,Ne=$));const qi=M.state.graphIsOpened$;F(i,qi,$=>t(122,j=$));const xt=M.ui.playerSize;F(i,xt,$=>t(31,c=$));const li=M.ui.is3DVideo;F(i,li,$=>t(49,ce=$));const Pi=M.ui.icon3DVideoVisible;F(i,Pi,$=>t(50,w=$));const Dt=M.ui.rotateAlpha;F(i,Dt,$=>t(32,v=$));const Ct=M.state.isInteractive,Ht=M.state.isInteractiveTime$;F(i,Ht,$=>t(117,_=$));const Ri=M.state.isInteractiveExpectation$;F(i,Ri,$=>t(121,X=$));const Yi=M.state.hasInteractiveBranches,Bi=M.ui.controls.disabledControls$;F(i,Bi,$=>t(47,G=$));const $t=M.ui.touched;F(i,$t,$=>t(120,P=$));const Fi=M.ui.clientInfo$;F(i,Fi,$=>t(136,a=$));const Wi=M.ui.overlayContainer$;let si,zi,Si,Ti,Ai,mi,Ft;const ai=He(!1);F(i,ai,$=>t(45,h=$));let hi,Ut=!1,qt,ei=!1,ri,Wt=!0,pi,ti,Oi=!1,Ei;di?.setContext(cr());const ji=$=>{clearTimeout(Ti),$&&(ni.set(!0),Mi.set(!0),Ti=window.setTimeout(()=>{Mi.set(!1)},Y.controls.collapseMobileUnmute),Ct||ui(Y.controls.hideTimeoutMobile))};M.setUiCallbacks({onStarted:ji});const Di=()=>{window.clearTimeout(Si),t(109,Ut=!1),g&&Me.set(!1)},ui=$=>{Di(),t(109,Ut=!0),Si=window.setTimeout(()=>t(109,Ut=!1),$);const kt=$-100;hi=window.setTimeout(()=>{h&&ai.set(!1)},kt>0?kt:$)},Ui=li.subscribe($=>{Pi.set($),$&&(window.clearTimeout(Ai),Ai=window.setTimeout(()=>Pi.set(!1),Y.controls.hide360IconTimeout))}),Li=async()=>{const $=oo();if($){ui(Y.controls.hideTimeoutFullscreen);try{await di?.remove()}catch(kt){ot({message:String(kt)})}try{const kt=f?.width&&f?.height?f:c;await Mu(kt)}catch(kt){ot({message:String(kt)})}}me.set($),M.getAdmanWrapper().setFullscreen($),r?M.callbacks?.onFullscreenEnter?.():M.callbacks?.onFullscreenExit?.()},ae=$=>{const kt=$;xt.set({width:kt.target.width,height:kt.target.height})};Zi(()=>(Rr(Li),_o(di)&&(di?.assignPlayerContainer(si),di?.registryExternalEventHandlers({resize:ae})),t(39,Wt=!t3(a)),Q&&N.parentElement?.insertBefore(Q,N.nextSibling),()=>{window.clearTimeout(Si),window.clearTimeout(hi),window.clearTimeout(Ti),window.clearTimeout(Ai),Ui(),di?.dispose(),Br(Li)}));const jt=$=>{let kt=s+($==="forward"?1:-1)*Y.controls.seekStepMobile/1e3;kt<0?kt=0:kt>l&&(kt=l-1),t(111,ei=!0),yt(kt)},Hi=async()=>{if(oo())await Nr(document),ot({message:"exit fullscreen"});else{ot({message:"request fullscreen"});const $=zt??si,kt=$.getRootNode(),Tn=kt instanceof ShadowRoot?kt.host:kt,An=lt instanceof HTMLElement&&lt.contains(Tn),En=Y.allowChangingFullscreenTarget&&lt&&An?lt:$;await Mr(En)}},Qi=()=>{Pt.set(!1)},sn=()=>{if(n){Qi();return}if(!ue){Mt(),ui(Y.controls.hideTimeoutCursor);return}t(111,ei=!1),o?Di():ui(Y.controls.hideTimeoutMobile)},an=()=>{if(n){Qi();return}},Zt=()=>{$t.set(!0)},Cn=()=>{Ct||(ai.set(!0),ui(Y.controls.hideTimeoutCursor))};function Pn($){je[$?"unshift":"push"](()=>{N=$,t(0,N)})}const rn=()=>jt("backward"),_n=()=>jt("forward");function nn($){zi=$,t(37,zi)}function Ji($){je[$?"unshift":"push"](()=>{Ft=$,t(29,Ft)})}function Sn($){je[$?"unshift":"push"](()=>{si=$,t(36,si)})}return i.$$set=$=>{"store"in $&&t(103,M=$.store),"uiConfig"in $&&t(1,Y=$.uiConfig),"thumbUrl"in $&&t(2,ge=$.thumbUrl),"videoLogoUrl"in $&&t(3,ee=$.videoLogoUrl),"videoContainer"in $&&t(0,N=$.videoContainer),"interactiveContainer"in $&&t(104,Q=$.interactiveContainer),"live"in $&&t(4,Ie=$.live),"autoplay"in $&&t(5,Ce=$.autoplay),"canRewindLive"in $&&t(6,Ae=$.canRewindLive),"showAds"in $&&t(7,x=$.showAds),"adsSlotId"in $&&t(8,se=$.adsSlotId),"adsParams"in $&&t(9,ve=$.adsParams),"adsPreviewParam"in $&&t(10,re=$.adsPreviewParam),"duration"in $&&t(11,qe=$.duration),"logoClickable"in $&&t(12,We=$.logoClickable),"logoHidden"in $&&t(13,$e=$.logoHidden),"showNextPrevButtons"in $&&t(14,it=$.showNextPrevButtons),"nextButtonActive"in $&&t(15,Be=$.nextButtonActive),"prevButtonActive"in $&&t(16,rt=$.prevButtonActive),"endScreenVideoTitle"in $&&t(17,St=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(18,Re=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(19,Ve=$.isOneVideoPlaylist),"supportLink"in $&&t(20,wt=$.supportLink),"outerContainerRef"in $&&t(105,zt=$.outerContainerRef),"showMiniTimer"in $&&t(106,mt=$.showMiniTimer),"fullScreenTarget"in $&&t(107,lt=$.fullScreenTarget),"playerStarted"in $&&t(21,ue=$.playerStarted),"playNextVideo"in $&&t(22,et=$.playNextVideo),"playPrevVideo"in $&&t(23,Qe=$.playPrevVideo),"repeatPlaylist"in $&&t(24,nt=$.repeatPlaylist),"seekToInteractive"in $&&t(25,Ke=$.seekToInteractive),"toggleGraph"in $&&t(26,dt=$.toggleGraph),"playPrevChapter"in $&&t(27,tt=$.playPrevChapter),"firstStart"in $&&t(28,Mt=$.firstStart),"seekTime"in $&&t(108,yt=$.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,mi=(B===ze.Video&&Z||B===ze.Ads&&te===Bt.INACTIVE)&&!V),i.$$.dirty[0]&536870912&&Wi.set(Ft),i.$$.dirty[3]&1073741824&&t(110,qt=T!==Je.PlaybackState.PLAYING),i.$$.dirty[3]&843251712&&t(112,ri=j||g||!Ut&&(A&&!!Yi||qt&&X)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Pe.set((qt||n||b||W||Ut&&!ei)&&!ri&&B===ze.Video&&!V),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,pi=Y.features.thumbTimer&&mt&&B===ze.Video&&!o&&!V&&!Ct&&(Y.hideThumbTimerAfterTouch&&!P||!Y.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,ti=(x&&S||!x)&&A&&!V),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!b&&Oi&&!_&&ui(Y.controls.hideTimeoutMobile),t(113,Oi=b)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Ei=N&&v%180?c.height/c.width:1)},[N,Y,ge,ee,Ie,Ce,Ae,x,se,ve,re,qe,We,$e,it,Be,rt,St,Re,Ve,wt,ue,et,Qe,nt,Ke,dt,tt,Mt,Ft,o,c,v,V,B,W,si,zi,mi,Wt,pi,ti,Ei,l,s,h,ie,G,J,ce,w,le,de,_e,Ne,Le,ye,H,Ot,ct,Ze,Tt,st,ii,me,Pe,Me,Pt,Vi,Jt,bi,Ii,Lt,Se,Nt,vi,_i,ki,oi,Ki,wi,yi,Ni,Ci,qi,xt,li,Pi,Dt,Ct,Ht,Ri,Bi,$t,Fi,ai,jt,Hi,Qi,sn,an,Zt,Cn,M,Q,zt,mt,lt,yt,Ut,qt,ei,ri,Oi,n,g,b,_,A,S,P,X,j,T,te,Z,Pn,rn,_n,nn,Ji,Sn]}class f3 extends we{constructor(e){super(),ke(this,e,c3,u3,be,{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},r3,[-1,-1,-1,-1,-1])}}function d3(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 @@
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 P3(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 f3({props:l}),We.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&2&&(r.title=s[1]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function S3(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 y3({props:l}),We.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function T3(i){let e,t,n,o;const l=[S3,P3],s=[];function a(r,c){return r[15]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=w("div"),n.c(),u(e,"class","root v-labq99")},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null))},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function A3(i,e,t){let{sources:n}=e,{store:o}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:r}=e,{interactiveContainer:c}=e,{subtitles:f}=e,{live:h}=e,{preload:g}=e,{autoplay:v}=e,{volume:b=void 0}=e,{muted:_=void 0}=e,{fromTime:L}=e,{canRewindLive:E}=e,{showAds:P}=e,{adsSlotId:S=void 0}=e,{adsParams:B=void 0}=e,{adsPreviewParam:j=void 0}=e,{duration:J=void 0}=e,{logoClickable:Z}=e,{logoHidden:T}=e,{isMobile:$}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:te=!1}=e,{prevButtonActive:K=!1}=e,{endScreenVideoTitle:H=void 0}=e,{endScreenVideoThumb:re=void 0}=e,{isOneVideoPlaylist:k=!1}=e,{supportLink:le}=e,{outerContainerRef:ce=void 0}=e,{fullScreenTarget:ve=void 0}=e,{failoverHosts:Ne=void 0}=e,{showMiniTimer:Ae=!1}=e,{playNextVideo:Ce=ne.noop}=e,{playPrevVideo:F=ne.noop}=e,{repeatPlaylist:N=ne.noop}=e,{seekToInteractive:Y=ne.noop}=e,{toggleGraph:ge=ne.noop}=e,{playPrevChapter:ee=ne.noop}=e;ou(l);const M=Gi(),Q=o.ui.debugPanelVisible,Ie=o.ui.playerSize;let ye,Se=null,X=!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}),fu(o);const se=(me=!1)=>{t(34,X=!0),me?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function _e(me){const ut=n||me;ut&&o.initVideo({container:ye,sources:ut,failoverHosts:Ne,subtitles:f});const Qe=ne.safeStorage.get(Fo)==="true";Q.set(Qe),L>0&&o.actions.external.seekTime(L);const ot=$?M.volumeDefault:b??Er()??M.volumeDefault,Ze=_??wu();if(o.actions.external.setVolume(ot),o.actions.external.setMuted(Ze),o.getAdmanWrapper().setInitialVolume(Ze?0:ot),M.features.trafficSaving){const lt=Cu();lt&&o.actions.internal.setTrafficSavingEnabled(lt)}const $e=ku(o.videoId);$e&&o.actions.internal.setQuality($e),o.ui.isAutoplay.set(v),v?se():g&&M.features.preload&&o.actions.internal.preload()}const ae=me=>{if(window.ResizeObserver){let ut,Qe;Se=new ResizeObserver(ne.debounceFn(ot=>{const Ze=ot[0];if(Ze){if(Ze.contentBoxSize){const $e=Array.isArray(Ze.contentBoxSize)?Ze.contentBoxSize[0]:Ze.contentBoxSize;ut=$e.inlineSize,Qe=$e.blockSize}else Ze.contentRect&&(ut=Ze.contentRect.width,Qe=Ze.contentRect.height);Ie.set({width:ut,height:Qe})}},gr)),Se.observe(me)}Ie.set({width:me.clientWidth,height:me.clientHeight})};Zi(()=>{ae(ye);const me=bu.map(Qe=>Qe.init(o));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return _e(),()=>{Se?.disconnect(),me.forEach(Qe=>Qe.unsubscribe()),o.destroy()}});function qe(){X?o.actions.external.play():se(!0)}function je(){o.actions.external.pause()}function Je(me){$||o.actions.external.setMuted(me)}function et(me){$||me>=0&&me<=1&&o.actions.external.setVolume(me)}function Be(me){o.actions.internal.seekTime(me,pt.SeekAction.UNKNOWN)}function rt(me){o.actions.external.seekEpisodeStartTime(me)}function Tt(me){o.actions.external.setPlaybackRate(me)}function Le(me){o.actions.external.setAutoQualityLimits(me)}function Re(me){ye=me,t(33,ye)}function Kt(me){ye=me,t(33,ye)}return i.$$set=me=>{"sources"in me&&t(37,n=me.sources),"store"in me&&t(0,o=me.store),"uiConfig"in me&&t(38,l=me.uiConfig),"title"in me&&t(1,s=me.title),"thumbUrl"in me&&t(2,a=me.thumbUrl),"videoLogoUrl"in me&&t(3,r=me.videoLogoUrl),"interactiveContainer"in me&&t(4,c=me.interactiveContainer),"subtitles"in me&&t(39,f=me.subtitles),"live"in me&&t(5,h=me.live),"preload"in me&&t(40,g=me.preload),"autoplay"in me&&t(6,v=me.autoplay),"volume"in me&&t(41,b=me.volume),"muted"in me&&t(42,_=me.muted),"fromTime"in me&&t(43,L=me.fromTime),"canRewindLive"in me&&t(7,E=me.canRewindLive),"showAds"in me&&t(8,P=me.showAds),"adsSlotId"in me&&t(9,S=me.adsSlotId),"adsParams"in me&&t(10,B=me.adsParams),"adsPreviewParam"in me&&t(11,j=me.adsPreviewParam),"duration"in me&&t(12,J=me.duration),"logoClickable"in me&&t(13,Z=me.logoClickable),"logoHidden"in me&&t(14,T=me.logoHidden),"isMobile"in me&&t(15,$=me.isMobile),"showNextPrevButtons"in me&&t(16,ie=me.showNextPrevButtons),"nextButtonActive"in me&&t(17,te=me.nextButtonActive),"prevButtonActive"in me&&t(18,K=me.prevButtonActive),"endScreenVideoTitle"in me&&t(19,H=me.endScreenVideoTitle),"endScreenVideoThumb"in me&&t(20,re=me.endScreenVideoThumb),"isOneVideoPlaylist"in me&&t(21,k=me.isOneVideoPlaylist),"supportLink"in me&&t(22,le=me.supportLink),"outerContainerRef"in me&&t(23,ce=me.outerContainerRef),"fullScreenTarget"in me&&t(24,ve=me.fullScreenTarget),"failoverHosts"in me&&t(44,Ne=me.failoverHosts),"showMiniTimer"in me&&t(25,Ae=me.showMiniTimer),"playNextVideo"in me&&t(26,Ce=me.playNextVideo),"playPrevVideo"in me&&t(27,F=me.playPrevVideo),"repeatPlaylist"in me&&t(28,N=me.repeatPlaylist),"seekToInteractive"in me&&t(29,Y=me.seekToInteractive),"toggleGraph"in me&&t(30,ge=me.toggleGraph),"playPrevChapter"in me&&t(31,ee=me.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set($)},[o,s,a,r,c,h,v,E,P,S,B,j,J,Z,T,$,ie,te,K,H,re,k,le,ce,ve,Ae,Ce,F,N,Y,ge,ee,Be,ye,X,M,se,n,l,f,g,b,_,L,Ne,_e,qe,je,Je,et,rt,Tt,Le,Re,Kt]}class E3 extends we{constructor(e){super(),ke(this,e,A3,T3,be,{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},C3,[-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 V3(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:G,o:G,d(n){n&&y(e)}}}function L3(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 I3 extends we{constructor(e){super(),ke(this,e,L3,V3,be,{isWhite:1})}}function M3(i){He(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 nr(i){let e,t;return{c(){e=w("div"),t=Oe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&1&&Xe(t,n[0])},d(n){n&&y(e)}}}function or(i){let e,t;return e=new I3({props:{isWhite:!!i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function N3(i){let e,t,n,o,l=i[0]&&nr(i),s=(!i[0]||!i[1])&&or(i);return{c(){e=w("div"),l&&l.c(),t=R(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(a,r){C(a,e,r),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(a,[r]){a[0]?l?l.p(a,r):(l=nr(a),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!a[0]||!a[1]?s?(s.p(a,r),r&3&&m(s,1)):(s=or(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!o||r&2&&n!==(n=a[1]?`background-image: url('${a[1]}')`:""))&&u(e,"style",n)},i(a){o||(m(s),o=!0)},o(a){p(s),o=!1},d(a){a&&y(e),l&&l.d(),s&&s.d()}}}function R3(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 B3 extends we{constructor(e){super(),ke(this,e,R3,N3,be,{title:0,thumbUrl:1},M3)}}class lr{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(a){Promise.resolve().then(()=>{throw a})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class V1 extends lr{constructor(){super(),this.listeners||lr.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 z3=class{constructor(){Object.defineProperty(this,"signal",{value:new V1,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?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>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(z3.prototype[Symbol.toStringTag]="AbortController",V1.prototype[Symbol.toStringTag]="AbortSignal");function L1(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 O3(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!L1({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:(r,c)=>{const f=l&&l.prototype.isPrototypeOf(r)?r.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch{h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((v,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,s(r,c)])}return s(r,c)},Request:l}}const $o=L1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),I1=$o?O3({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,D3=$o?I1.fetch:window.fetch;$o?I1.Request:window.Request;const H3=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,F3="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class U3{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new ne.Subject,started$:new ne.Subject,paused$:new ne.Subject,resumed$:new ne.Subject,ended$:new ne.Subject,skipped$:new ne.Subject,clicked$:new ne.Subject};constructor(e,t){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}loadAdman=e=>new Promise((t,n)=>{let o;const l=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};ne.addScript(F3,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=l,o=window.setTimeout(l,this.initTimeout))}).catch(()=>{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:a,slotId:r,params:c={},duration:f,previewParam:h}=e;let g;const v=this.playerState&&xe(this.playerState.vsid);v&&(g=parseInt(v,36));const b={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:H3(t,n),puid11:o?0:1,preview:h,...g?{request_id:g}:{},duration:f,...c},_={slot:r,wrapper:s,videoEl:a,videoQuality:n,params:b,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=a,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}ne.assertNonNullable(this.actions),ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState);const t=this.currentAdSection===cn.Postroll;this.adsState.playbackState.set(Mt.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(){ne.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=xe(this.adsState.playbackState);e===Mt.PLAYING?this.pause():e===Mt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ne.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=cn.Preroll,this.adman.start(cn.Preroll)}startPostroll(){ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Postroll,this.adman.start(cn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState),ne.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Mt.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ne.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Mt.PAUSED)};onAdPlayed=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Mt.PLAYING)};onAdMidrollPoint=()=>{ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Midroll,this.adman.start(cn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ne.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ne.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ne.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const q3=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 W3{oneLineRegExp=/\r\n|\n|\r/;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 a of s)if(!l.startTime&&!l.endTime){const r=new M1,{startTime:c,endTime:f}=r.parse(a);l.startTime=c,l.endTime=f}else if(a.trim()!==""){const r=new j3,{texts:c}=r.parse(a);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class M1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;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,a=Number(n),r=+`0.${o}`;return l+s+a+r}}class j3{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let a=0;const r=[];for(;a<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,a);return f===-1||f>g?g:f},-1);if(c===-1){r.push(s.substring(a));break}r.push(s.substring(a,c)),a=c+1}return r}}),l=new M1;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 yn,Yi,Ro=0,Bo=!1;const Z3=(i,e,t)=>{const n=i>=Ro,o=i<Ro,l=(c,f=0,h=0)=>c<f&&c<h,s=(c,f=0,h=0)=>c>=f&&c<=h,a=(c,f=0,h=0)=>c>f&&c>h,r=t.find(({lang:c})=>c===e.value)?.subtitles;if(Ro=i,o&&(Bo=!1),ne.isNonNullable(yn)&&s(i,yn.startTime,yn.endTime)&&yn.lang===e.value)return yn;if(!ne.isNonNullable(Yi)&&r?.length&&!Bo){const c=r.find(({startTime:f,endTime:h})=>s(i,f,h)||n&&l(i,f,h));Yi=c&&{...c,lang:e.value},yn=void 0,!ne.isNonNullable(Yi)&&r[r.length-1].endTime<i&&(Bo=!0);return}else{if(s(i,Yi?.startTime,Yi?.endTime))return yn=Yi,Yi=void 0,yn;(n&&a(i,Yi?.startTime,Yi?.endTime)||o&&l(i,Yi?.startTime,Yi?.endTime))&&(Yi=void 0)}},zo={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 mo=null;class eo{constructor(e,t){if(!mo){const n=new pt.OneStat(e,t),o=new ne.Subscription;mo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),mo=null}})}}static getInstance(){return mo}}const G3=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:a,webApi:r,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:v,disabledControls:b,isInteractive:_,interactiveRanges:L,replayInteractive:E,hasInteractiveBranches:P,playPrevChapterDisabledTooltip:S,additionalButtons:B,looped:j=!1})=>{const J={...g,configName:[...g.configName??[],"ui"],isAudioDisabled:l,live:{...g.live??{},isLiveCatchUpMode:!!n}},Z=h,T=v||new nt.Player(J);T.setLooped(j);const $=new ne.Logger,ie=new U3($,{loadTimeout:Z.ads.loadTimeout,initTimeout:Z.ads.initTimeout}),te=eo.getInstance(),K=Uo.getInstance(),H=r?.pictureInPictureApi,re=r?.annotationsApi,k=$.createComponentLog("Store");let le,ce,ve={};const Ne=ne.getCurrentBrowser(),Ae=te?gt(te.oneStat.vsid$):tn(void 0),Ce=Fe(no()),F=H?.info.isActive$??new ne.ValueSubject(!1),N=H?.info.type,Y=Fe(0),ge=Fe([]),ee=ne.merge(T.events.fatalError$,T.events.managedError$).subscribe(V=>ge.update(ue=>[...ue,V])),M=tn(!1,V=>{const ue=T.events.fatalError$.subscribe(()=>V(!0));return()=>ue.unsubscribe()}),Q=async V=>{const ue=Object.values(ne.InterfaceLanguage).includes(V);if(Z.downloadVKLanguages&&(ue&&Z.updateBuiltinLanguages||!dl(V))){let De;try{De=await ne.loadVKLangPack(V,lu,su)}catch(Ye){te?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),K?.report(Ye,{errorType:"VKLangPack",fatal:!1})}De&&(fl({language:V,pack:De,fallback:Z.defaultLanguage}),Ie.set(V))}dl(V)&&Ie.set(V)},Ie=Fe(i);Q(i);const ye=(V,ue)=>{const Ee=xe(Ie);return Rr(Ee,V,ue,Z.defaultLanguage)},Se=Fe(ze.Thumb),X=Zt([M,Se],([V,ue])=>V?ze.Crashed:ue),se=(()=>{const V=Fe(new Set(b));return{...V,add:ue=>{V.update(Ee=>new Set([...Ee].concat(ue)))},remove:ue=>{V.update(Ee=>{const De=[...Ee];return new Set(Array.isArray(ue)?De.filter(Ye=>!ue.includes(Ye)):De.filter(Ye=>Ye!==ue))})},includes:ue=>{const Ee=xe(V);return Array.isArray(ue)?ue.every(De=>Ee.has(De)):Ee.has(ue)}}})();k({message:"create store"});const _e=V=>{k({message:`init video, config: ${JSON.stringify(V)}`}),_?V.container.append(T.experimental.element$.getValue()):T.initVideo(V),V.subtitles&&T.setExternalTextTracks(V.subtitles),le=V},ae=new ne.Subject,qe=V=>ae.next(V),je=new ne.Subject,Je=new ne.Subject,et=new ne.Subject,Be={actionRewind$:je,actionSeek$:Je,inPiP$:F,inFullscreen$:new ne.Observable(V=>Ce.subscribe(ue=>V.next(ue))),actionSetSubtitle$:et,nextMovie$:ae};if(te){const{oneStat:V,statSubscription:ue}=te;ue.add(V.attachTo(T)),ue.add(V.attachToUi(Be)),ue.add(V.attachToAds(ie.events)),V.authorize(o).catch(Ee=>{k({message:`onestat auth error ${String(Ee)}`})})}if(K){const V=new ne.Subscription,ue=(Ee,De)=>V.add(Ee.subscribe(De));if(ue(T.events.managedError$,Ee=>{K.logIError(Ee)}),ue(T.events.fatalError$,Ee=>{K.logIError(Ee,!0)}),te){const{oneStat:Ee}=te;ue(Ee.experimental.error$,De=>{K.logIError(De)})}K.sentrySubscription.add(V)}const rt=()=>{ne.isIOS()&&ce&&Du(ce)},Tt=new ne.Subscription().add(T.experimental.element$.subscribe(V=>{V&&(ce=V,V.classList.add("player-media"),vo(H)&&(H.updateVideoElement(),H.registryEventHandlers()),_&&V.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{rt(),a?.onEnded?.()})).add(T.events.started$.subscribe(async()=>{vo(H)&&await H?.revealPictureInPicture();const V=T.info.muted$.getValue();a?.onStarted?.(),ve.onStarted?.(V)})).add(T.events.willSeek$.subscribe(({from:V,to:ue})=>{a?.onSeek?.(V,ue)})).add(T.info.position$.subscribe(V=>{const ue=T.info.duration$.getValue();a?.onTimeupdate?.(ue,V),ie.setPosition(V,ue)})).add(T.events.fatalError$.subscribe(()=>{a?.onCrashed?.()})).add(T.info.is3DVideo$.subscribe(V=>{Vt.ui.is3DVideo.set(V)})).add(T.info.isEnded$.subscribe(V=>{_&&(V?(xe(Ao)&&se.add(vr),se.add(mt.PLAY_BUTTON)):se.remove(mt.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(V=>{a?.onLiveTime?.(V)})),Le=new ne.Subscription,Re=()=>{Le.add(T.events.log$.subscribe(V=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${V.component}`,V.message)})).add($.log$.subscribe(V=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${V.component}.`,V.message)}))},Kt=()=>{Le.unsubscribe()},me=(V,ue)=>{T.startCameraManualRotation(V,ue)},ut=(V=!1)=>{T.stopCameraManualRotation(V)},Qe=(V,ue,Ee)=>{T.moveCameraFocusPX(V,ue,Ee)},ot=()=>{T.holdCamera()},Ze=()=>{T.releaseCamera()},$e=tn(T.info.position$.getValue(),V=>{let ue,Ee;const De=()=>{const Ye=T.info.playbackState$.getValue(),Wt=T.info.isLive$.getValue(),bi=T.info.duration$.getValue(),jt=T.info.position$.getValue();if([nt.PlaybackState.PLAYING,nt.PlaybackState.PAUSED].includes(Ye)){const wn=Wt?jt-bi:T.getExactTime();wn!==Ee&&V(wn),Ee=wn}ue=requestAnimationFrame(De)};return De(),()=>cancelAnimationFrame(ue)}),lt=gt(F),ct=gt(T.info.playbackState$),wt=gt(T.info.currentBuffer$),tt=gt(T.info.isEnded$),Rt=gt(T.info.isLive$),yt=Z.features.playbackRate?gt(T.info.canChangePlaybackSpeed$):tn(!1),it=gt(T.info.liveBufferTime$),Ht=gt(T.info.volume$),dt=gt(T.info.muted$),Ge=wr(T.info.autoQualityLimits$.pipe(ne.map(({max:V})=>V!==void 0)),T.info.autoQualityLimits$.getValue()?.max!==void 0),At=gt(T.info.autoQualityLimitingAvailable$),st=gt(T.info.availableQualities$),$t=gt(T.info.availableQualitiesFps$),de=gt(T.info.chromecastState$),Pe=gt(T.info.chromecastDeviceName$),Me=gt(T.info.currentFormat$),St=gt(T.info.throughputEstimation$),Li=gt(T.info.videoBitrate$),Yt=gt(T.info.intrinsicVideoSize$),vi=gt(T.info.duration$),Ii=gt(T.info.isAudioAvailable$);let Lt=null;const Te=T.info.isBuffering$,Bt=tn(Te.getValue(),V=>{const ue=Te.subscribe(Ee=>{Ee&&Lt===null?Lt=window.setTimeout(()=>{V(Te.getValue()),Lt=null},Z.loaderDelay):V(Ee)});return()=>{ue.unsubscribe(),Lt&&clearTimeout(Lt)}}),Mi=()=>{Lt&&clearTimeout(Lt),Lt=null},ei=Zt([vi,Rt],([V,ue])=>ue?-V:V),_i=Zt([ct],([V])=>V===nt.PlaybackState.PLAYING),ki=gt(T.info.atLiveEdge$),wi=gt(T.info.atLiveDurationEdge$),ti=gt(T.info.position$),Qi=Zt([ti,vi],([V,ue])=>isFinite(V)&&isFinite(ue)&&!!ue),yi=Zt([de],([V])=>V===nt.ChromecastState.CONNECTED),Ci=Fe(void 0),Pi=gt(T.info.isAutoQualityEnabled$,V=>V&&Ci.set(void 0)),Ni=gt(T.info.currentQuality$,()=>Ci.set(void 0)),di=Zt([Ci,Ni],([V,ue])=>V??ue),Ui=Zt([st,$t,Pi,di,Me],([V,ue,Ee,De,Ye])=>{const Wt=[];Ye!==nt.VideoFormat.MPEG&&Wt.push({value:Un.AUTO,displayValue:ye("auto_quality_option"),selected:Ee});const bi=V.filter(jt=>jt!==ne.VideoQuality.INVARIANT);for(const jt of bi){const wn=ue[jt],so=jt===ne.VideoQuality.INVARIANT?ye("auto_quality_option"):jt;Wt.push({value:jt,displayValue:`${so}${wn?q3(wn):""}`,selected:Ee?!1:jt===De})}return Wt}),ii=gt(T.info.currentPlaybackRate$),ni=Zt([ii,ki,wi],([V,ue,Ee])=>{const De=Ee||_?1:Z.controls.playbackRateMin,Ye=ue?1:Z.controls.playbackRateMax,Wt=Z.controls.playbackRateStep,bi=[];for(let jt=De;jt<=Ye;jt+=Wt)bi.push({value:jt,displayValue:jt===1?ye("playback_rate_1"):ye("playback_rate",{multiplier:jt.toString(10)}),selected:V===jt});return bi}),Si=Z.features.subtitles?gt(T.info.availableTextTracks$):tn([]),Ft=Zt([Si],([V],ue)=>{const Ee=[],De=[];for(const Ye of V)Ye.url&&Ee.push(D3(Ye.url));Promise.allSettled(Ee).then(Ye=>{for(const[Wt,bi]of Ye.entries())bi.status==="fulfilled"&&bi.value.text().then(jt=>{const wn=new W3,so=V[Wt].language,B1=!!V[Wt].isAuto,il=wn.parse(jt);so&&il&&De.push({lang:so,subtitles:il,isAuto:B1}),Wt===Ye.length-1&&ue(De)})})}),Ct={displayValue:ye("subtitles_off"),value:"off"},Qt=Fe({...Ct}),mi=Zt([Ft,Qt,Ft],([V,ue])=>{if(V?.length>0){const Ee=[{...Ct,selected:ue?.value===Ct.value}];for(const{lang:De,isAuto:Ye}of V)zo[De]&&Ee.push({displayValue:Ye?ye("subtitles_auto",{language:zo[De]}):zo[De],value:De,selected:ue?.value===De,isAuto:Ye});return Ee}else return[]}),Xi=Zt([$e,Qt,Ft],([V,ue,Ee])=>{if(ue&&ue.value!==Ct.value)return Z3(V,ue,Ee)}),oi=Zt([Xi],([V])=>V?.texts?V.texts:[]),Ti=Fe(!0),Di=Zt([wt,ei,ti,it],([V,ue,Ee,De])=>{const Ye=V?.end??0;if(!De)return Ye/ue;const bi=-Ee+De-ue;return(Ye-bi)/ue}),qi=gt(T.info.availableSources$),li=Zt([qi],([V])=>Object.keys(V?.[nt.VideoFormat.MPEG]||{}).length>0),Ri=()=>{const V=Object.keys(T.info.availableSources$?.getValue()?.[nt.VideoFormat.MPEG]||{}),ue=ne.getHighestQuality(V)||ne.VideoQuality.Q_144P;return le.sources[nt.VideoFormat.MPEG]?.[ue]},Ai=()=>{const V=Ri();V?hu(V,le?.meta?.title||"video"):k({message:"There is no URL for download video"})},Bi=()=>{k({message:"toggle muted"});const V=T.info.muted$.getValue(),De=!(T.info.volume$.getValue()===0||V);hi(De)},si=(V,ue=V,Ee=!1)=>{const De=!Ee,Ye=T.info.muted$.getValue();k({message:`set volume, volume: ${V}, preferredVolume: ${ue}, internalCall: ${De}`}),T.setVolume(V),ie.setVolume(V),De&&a?.onVolumeChange?.(V),cl(ue),Ye?(T.setMuted(!1),De&&a?.onUnmute?.(),Vo(!1)):!Ye&&V===0&&(T.setMuted(!0),De&&a?.onMute?.(),Vo(!0))},hi=(V,ue=!1)=>{const Ee=!ue,De=T.info.volume$.getValue();if(k({message:`set muted, currentVolume: ${De}, mute: ${V}, internalCall: ${Ee}`}),T.setMuted(V),ie.setVolume(V?0:De),Vo(V),Ee&&(V?a?.onMute?.():a?.onUnmute?.()),De===0){let Ye=Er()??Z.volumeDefault;Ye===0&&(Ye=Z.volumeMinRestore,cl(Ye)),T.setVolume(Ye),ie.setVolume(Ye),Ee&&a?.onVolumeChange?.(Ye)}},ai=()=>{T.prepare()},zt=()=>{if(ne.assertNonNullable(Vt),!xe(Vt.ui.controls.disabledControls$).has(mt.PLAY_BUTTON)){if(k({message:"toggle play"}),xe(Vt.playerPhase)===ze.Ads){ie.togglePlay();return}if(T.info.playbackState$.getValue()!==nt.PlaybackState.PLAYING){if(T.info.isEnded$.getValue()){if(k({message:"toggle play, video ended, seek to 0"}),je.next(),Je.next(pt.SeekAction.REWIND),_){E?.();return}T.seekTime(0)}k({message:"toggle play, call player.play"}),T.play(),a?.onPlay?.()}else k({message:"toggle play, call player.pause"}),T.pause(),a?.onPause?.()}},Ei=V=>{k({message:`set quality, quality: ${V}`}),T.setAutoQuality(V===Un.AUTO),V!==Un.AUTO?(_u(e,V),Ci.set(V),T.setQuality(V)):Vr()},Ut=V=>{k({message:`set trafficSavingEnabled, value: ${V}`}),T.setAutoQualityLimits({max:V?Z.trafficSavingLimit:void 0}),yu(V)},Ot=V=>{T.setPlaybackRate(V)},Xt=()=>{const V=xe(ni),ue=V.findIndex(({selected:De})=>De);if(ue===V.length-1)return;const Ee=V[ue+1];Ot(Ee.value)},pi=()=>{const V=xe(ni),ue=V.findIndex(({selected:De})=>De);if(ue===0)return;const Ee=V[ue-1];Ot(Ee.value)},ri=V=>{V&&V.value!==Ct.value&&et.next(V.isAuto?V.value+"_auto":V.value),Qt.set(V)},zi=()=>{const V=xe(mi),ue=xe(Qt),Ee=xe(Ie);if(ue?.value===Ct.value){const De=V.filter(Ye=>Ye.value!==Ct.value).find(Ye=>Ye.value===Ee)||V[1];ri(De??{...Ct})}else ri({...Ct,selected:!1})},Jt=(V,ue,Ee=!0)=>{if(k({message:`seek to time, time: ${V}`}),Je.next(ue),T.info.isLive$.getValue()){const De=T.info.duration$.getValue(),Ye=Math.min(0,De+V);T.seekTime(Ye,Ee)}else{if(xe(Ao))return;T.seekTime(tl(V),Ee)}},Vi=V=>{k({message:`seek to episode start time: ${V}`}),Jt(V,pt.SeekAction.EPISODE,!0)},Oi=(V,ue)=>{k({message:`seek to percent, percent: ${V}`});const Ee=Math.round(xe(ei)*V);Jt(Ee,ue,!1)},Hi=V=>{k({message:`seek external, time: ${V}`}),Je.next(pt.SeekAction.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-V:V)},Fi=V=>{k({message:`set auto quality limitation. Max: ${V.max??"none"}. Min: ${V.min??"none"}`}),T.setAutoQualityLimits(V)},xt=V=>{k({message:`seek external to episode start time: ${V}`}),Jt(V,pt.SeekAction.EPISODE,!0)},Wi=V=>{k({message:`set playback rate to: ${V}`}),T.setPlaybackRate(V)},fe=Fe(void 0),Pt=Fe(!1),ui=V=>{k({message:`start scrubbing, progress: ${V}`}),Pt.set(!0),en(V)},en=V=>{fe.set(V)};let Ki,ln;const qt=()=>{fe.set(void 0),Pt.set(!1)},sn=()=>{clearTimeout(ln),clearTimeout(Ki),Ki=window.setTimeout(()=>{qt()},500),ce?.removeEventListener("seeked",sn)},Pn=V=>{k({message:`complete scrubbing, progress: ${V}`}),Oi(V,pt.SeekAction.SLIDER),xe(Vt.ui.isMobile)&&xe(Vt.state.currentFormat$)===nt.VideoFormat.HLS?(ce?.addEventListener("seeked",sn),ln=window.setTimeout(()=>{sn()},300)):qt()},vn=Zt([$e,ei,fe],([V,ue,Ee],De)=>{De(ne.isNonNullable(Ee)?Ee*ue:V)}),_n=Fe({width:0,height:0}),an=Zt([_n],([{width:V}],ue)=>{const Ee=Q0(V);ue(Ee)}),ji=Fe(!1),Sn=Zt([an,ji],([V,ue])=>ue?B.filter(Ee=>!Ee.hideOnMobile):B.filter(Ee=>!Ee.hideOnDesktopGridTypes?.includes(V))),Tn=Zt([ji,M],([V,ue],Ee)=>{Ee(V&&ue)}),x=()=>{Je.next(pt.SeekAction.LIVE),k({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==nt.PlaybackState.PLAYING&&Vt.actions.internal.togglePlay()},kt=()=>ie.skip(),An=(V=!0)=>{ne.assertNonNullable(Vt),k({message:`switch from ads to video, callPlay: ${V}`}),Se.set(ze.Video),V&&T.play()},En=()=>{ne.assertNonNullable(Vt),k({message:"switch from video to ads"}),Vt.actions.internal.pause(),rt(),Se.set(ze.Ads)},Vn=V=>{ne.assertNonNullable(Vt);const ue=V?ze.WaitingLive:ze.Thumb;Se.set(ue)},Gn=V=>{ne.assertNonNullable(Vt);const ue=V?ze.WaitingRecord:ze.Thumb;Se.set(ue)},Kn=()=>(ne.assertNonNullable(Vt),du(T,le,Vt)),Yn=()=>(ne.assertNonNullable(Vt),mu(T,le,Vt)),Qn=()=>ce,Xn=()=>{k({message:"toggle chromecast"}),T.toggleChromecast()},Rn=V=>{ne.assertNonNullable(Vt);const ue=!V;if(xe(Vt.playerPhase)===ze.Ads){k({message:`pause ads, internalCall: ${ue}`}),ie.pause();return}k({message:`pause video, internalCall: ${ue}`}),ue&&a?.onPause?.(),T.pause()},Jn=V=>{ne.assertNonNullable(Vt);const ue=!V;if(xe(Vt.playerPhase)===ze.Ads){k({message:`play ads, internalCall: ${ue}`}),ie.play();return}k({message:`play video, internalCall: ${ue}`}),ue&&a?.onPlay?.(),T.play()},oe=(V,ue)=>{ne.assertNonNullable(Vt),k({message:`first start, show ads: ${V}, internalCall: ${!ue}`}),V?Se.set(ze.Ads):(Se.set(ze.Video),ue?T.play():Vt.actions.internal.togglePlay())},rn=()=>(k({message:"getting time codes"}),c),at=()=>{const V=rn();if(!V||[0,1].includes(V.length))return;const ue=T.info.position$.getValue();return V.find(Ee=>Ee.time>ue)},Dt=V=>{let ue=V;ue||(ue=at()),ue&&(k({message:"seek to next episode"}),Jt(ue.time,pt.SeekAction.EPISODE,!0))},Ji=()=>{const V=rn();if(!V||[0,1].includes(V.length))return;const ue=T.info.position$.getValue(),Ee=V.findIndex(Ye=>Ye.time>ue),De=Ee===-1?V.length-2:Ee-2;if(!(De<0))return V[De]},un=V=>{let ue=V;ue||(ue=Ji()),ue&&(k({message:"seek to prev episode"}),Jt(ue.time,pt.SeekAction.EPISODE,!0))},xn=()=>(k({message:"getting preview thumbs data"}),f),U=async()=>{H?.isActive()?await H?.remove():await H?.request()},gi=(V=-90)=>{Y.update(ue=>ue+V)},kn=Fe(L),Ln=Zt([kn],([V=[]])=>{const ue=[];for(let Ee=0;Ee<V.length;Ee++){const{range:[De,Ye],subjects:Wt}=V[Ee];Ee===0&&De!==0&&ue.push({time:0,text:""}),ue.push({time:De/1e3,text:"",interactive:!0,completed:!Wt.length}),Ye!==1/0&&ue.push({time:Ye/1e3,text:"",interactive:!1,completed:!Wt.length})}return ue}),To=V=>{const ue=xe(kn);kn.set(ue.map(Ee=>({...Ee,subjects:Ee.subjects.filter(De=>De!==V)})))},el=Fe(!1),Ao=Zt([ti,kn,el],([V,ue,Ee])=>{if(!_)return!1;if(Ee)return!0;const De=V*1e3,Ye=ue?.find(({range:[Wt,bi],subjects:jt})=>Wt<De&&De<bi&&jt.length);return Ye&&xe(Pt)&&qt(),!!Ye}),tl=V=>{if(!_)return V;const ue=xe(Ln),Ee=xe(ei),Ye=xe(ti)/Ee,Wt=ue.find(bi=>bi.interactive&&!bi.completed&&bi.time>Ye);return typeof Wt?.time=="number"?Math.min(V,Wt.time-.05):V},R1=()=>{clearTimeout(ln),clearTimeout(Ki),Tt.unsubscribe(),Le.unsubscribe(),T.destroy(),ie.destroy(),te?.destroy(),K?.destroy(),ee.unsubscribe()},Vt={interfaceLanguage$:Ie,initVideo:_e,videoId:e,isClip:t,playerPhase:X,vsid:Ae,state:{positionExact$:$e,positionWithScrubbing$:vn,duration$:ei,playbackState$:ct,isPlaying$:_i,isLoaderVisible:Bt,bufferedProgress$:Di,isLive$:Rt,canChangePlaybackSpeed$:yt,isActiveLive$:ki,isOldestAvailableLive$:wi,isRewindableLive$:Qi,isEnded$:tt,muted$:dt,volume$:Ht,trafficSavingEnabled$:Ge,autoQualityLimitingAvailable$:At,currentQuality$:di,isAutoQualityEnabled$:Pi,availableQualities$:Ui,currentPlaybackRate$:ii,availablePlaybackRates$:ni,currentSubtitle$:Qt,availableSubtitlesList$:mi,currentSubtitleCaptions$:oi,isAutoSubtitleCaptionVisible$:Ti,chromecastState$:de,chromecastDeviceName$:Pe,chromecastConnected$:yi,currentFormat$:Me,throughputEstimation$:St,videoBitrate$:Li,videoSize$:Yt,errorLog$:ge,crashed$:M,isAudioAvailable$:Ii,isAudioDisabled:!!l,canDownload:Z.features.download&&!!s,availableSources$:qi,hasMpegSources$:li,isInteractive:_,isInteractiveGraphEnabled:Z.features.interactiveGraph,isSeekToInteractiveEnable:Z.features.seekToInteractive,isPlayPrevChapterEnabled:Z.features.interactivePlayPrevChapter,interactiveEpisodes$:Ln,isInteractiveTime$:Ao,graphIsOpened$:Fe(!1),isInteractiveExpectation$:el,hasInteractiveBranches:P,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(V=>[...V,Fe(void 0)],[]):[],disabledControls$:se},modals:{hotKeyMap:{show:Fe(!1),data:Fe({title:"",closeBtnText:"",groups:[]})}},isFullscreen:Ce,rotateAlpha:Y,isAutoplay:Fe(!1),contextMenuVisible:Fe(!1),debugPanelVisible:Fe(!1),playerSize:_n,isMobile:ji,mobileNotReportControlHidden$:Tn,mobileUnmuteButtonExpanded:Fe(!1),mobileUnmuteButtonVisible:Fe(!1),icon3DVideoVisible:Fe(!1),settingsMenuVisible:Fe(!1),scrubbingInProgress:Pt,is3DVideo:Fe(!1),isPictureInPictureActive$:lt,pictureInPictureType$:tn(N),clientInfo$:tn(Ne),currentGridType$:an,additionalButtons$:Sn,interactiveHideMobileControls:Fe(!1),overlayContainer$:Fe(void 0)},ads:{position:Fe(0),duration:Fe(0),playbackState:Fe(Mt.INACTIVE),canSkip:Fe(!1),secondsToWatchBeforeSkip:Fe(0),postrollPassed:Fe(!1)},webApi:{pictureInPictureApi:H,annotationsApi:re},actions:{internal:{preload:ai,firstStart:V=>oe(V,!1),pause:()=>Rn(!1),togglePlay:zt,toggleMuted:Bi,setVolume:si,setQuality:Ei,setTrafficSavingEnabled:V=>Ut(V),setPlaybackRate:Ot,incrementPlaybackRate:Xt,decrementPlaybackRate:pi,setSubtitle:ri,toggleSubtitle:zi,togglePictureInPicture:U,startScrubbing:ui,progressScrubbing:en,completeScrubbing:Pn,toggleChromecast:Xn,switchToActiveLive:x,switchFromAdsToVideo:An,switchFromVideoToAds:En,skipAd:kt,setWaitingLive:Vn,setWaitingRecord:Gn,getDebugTextData:Kn,getDebugPanelData:Yn,getVideoElement:Qn,seekTime:(V,ue,Ee)=>Jt(V,ue,Ee),clearDelayedBufferingCheckTimeout:Mi,seekEpisodeStartTime:Vi,seekToPercent:Oi,getNextEpisode:at,seekToNextEpisode:Dt,getPrevEpisode:Ji,seekToPrevEpisode:un,startLogging:Re,stopLogging:Kt,startCameraManualRotation:me,stopCameraManualRotation:ut,moveCameraFocusPX:Qe,holdCamera:ot,releaseCamera:Ze,getVideoEpisodes:rn,getPreviewThumbsData:xn,downloadVideo:Ai,addLanguage:fl,setLanguage:Q,nextMovie:qe,videoRotate:gi,completeInteractiveRange:To,correctSeekTimeToInteractive:tl,replayInteractive:E},external:{firstStart:V=>oe(V,!0),play:()=>Jn(!0),pause:()=>Rn(!0),seekTime:V=>Hi(V),seekEpisodeStartTime:V=>xt(V),setPlaybackRate:V=>Wi(V),setAutoQualityLimits:V=>Fi(V),setMuted:V=>hi(V,!0),setVolume:V=>si(V,V,!0)}},callbacks:a,setUiCallbacks:V=>{ve={...V}},getAdmanWrapper:()=>ie,getLogger:()=>$,destroy:R1};return Vt};class K3{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{throw new Error(`The media session action "${t}" is not supported yet.`)}}}function Y3(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:G,i:G,o:G,d(l){l&&y(e)}}}class Q3 extends we{constructor(e){super(),ke(this,e,null,Y3,be,{})}}function X3(i){He(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 J3(i){let e,t,n,o,l,s,a;return n=new Q3({}),{c(){e=w("div"),t=w("div"),D(n.$$.fragment),o=R(),l=w("span"),s=Oe(i[0]),u(t,"class","dummy-image v-1pbsod4"),A(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),A(e,"is-pip-api",i[2])},m(r,c){C(r,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,s),a=!0},p(r,[c]){(!a||c&2)&&A(t,"desktop",!r[1]),(!a||c&1)&&Xe(s,r[0])},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){p(n.$$.fragment,r),a=!1},d(r){r&&y(e),O(n)}}}function x3(i,e,t){let n,o;const l=_t(),s=!!l.webApi.pictureInPictureApi,a=l.interfaceLanguage$;q(i,a,f=>t(5,n=f));const r=l.ui.isMobile;q(i,r,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&W("pip_dummy_title"))},[c,o,s,a,r,n]}class $3 extends we{constructor(e){super(),ke(this,e,x3,J3,be,{},X3)}}const eh=460,th=280;class N1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new ne.ValueSubject(!1),type:dn.DocumentPictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex,{isEmbed:t}=ne.detectEmbed();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:eh,height:th,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(l=>[...l.cssRules].map(s=>s.cssText).join(" ")).filter(Boolean).join(`
51
- `),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new $3({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",l=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function ih(i){return i instanceof N1}class nh{static getLatestSupportedVersion(){const e=new Go,t=new N1;if(t.isSupported())return t;if(e.isSupported())return e}}function sr(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const ar="Inner error. Unexpectedly root annotation container null reference exception",oh="Annotation layer with such name already exists";class Oo extends Error{constructor(e){super(e),this.name="AnnotationError"}}class lh{rootAnnotationsContainer;layers=new Map;registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Oo(ar);if(this.layers.has(e))throw new Oo(oh);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?.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Oo(ar);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}const sh={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ne.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ne.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class ah extends HTMLElement{svelteStubComponent;svelteRootComponent;store;statistics;sentry;_shadowRoot;playerContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevVsid=void 0;isInited=!1;constructor(){super(),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 ne.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ne.Subscription,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new B3({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.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){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:l,statUserSalt:s,statAuthToken:a,statTrackCode:r,refreshStatAuthToken:c,preload:f,autoplay:h,volume:g,muted:v,fromTime:b,canRewindLive:_,supportLink:L,showAds:E,adsSlotId:P,adsParams:S={},adsPreviewParam:B,interfaceLanguage:j,logoClickable:J,logoHidden:Z,isMobile:T,isAudioDisabled:$,isLiveCatchUpMode:ie,fullScreenTarget:te,failoverHosts:K,canDownload:H,callbacks:re,interactiveData:k,showThumbTimer:le,additionalButtons:ce=[],repeat:ve}=sr(this.videoConfig,t),{sources:Ne,title:Ae,thumbUrl:Ce,videoLogoUrl:F,unitedVideoId:N,isClip:Y=!1,duration:ge,adsParams:ee={},videoEpisodes:M,previewThumbsData:Q,subtitles:Ie,live:ye}=e,Se={...S,...ee},X=this.getNextVideoInfo(),se={sources:Ne,title:Ae,thumbUrl:Ce,subtitles:Ie,unitedVideoId:N,isClip:Y,live:ye,albumId:o,statPlace:l,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,showAds:E,adsSlotId:P,adsParams:Se,adsPreviewParam:B,duration:ge,logoClickable:J,logoHidden:Z,isMobile:T,repeat:ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:X.nextVideoTitle,endScreenVideoThumb:X.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},_e={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(se)}`});const ae=this.uiConfig.features.statistics&&!!N,{pid:qe}=this.videoConfig?.interactiveData?.projectInfo||{};ae&&new eo({movieId:N,albumId:o,place:l,trackCode:r,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y,...qe&&!this.isInited&&{projectId:Number(qe)}},{refreshAuthToken:c,userSalt:s,config:this.statistics.config,...this.interactiveController&&this.isInited&&{vsid:this.prevVsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Uo(this.uiConfig.sentry,{version:Co,env:cu},{movieId:N,albumId:o,place:l,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y}),this.interactiveController&&!this.isInited&&(this.prevVsid=eo.getInstance()?.oneStat.vsid$.getValue()),this.statistics={...this.statistics,...eo.getInstance()},this.sentry={...this.sentry,...Uo.getInstance()};const Je=!!k,et=this.interactiveController?.getInteractiveRanges(),Be=[];let rt;if(Je&&this.interactiveController){const Le=this.interactiveController.state,Re=this.interactiveController.getHistoryState();Le.isInitialChapter$.getValue()&&Be.push(mt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Be.push(mt.SEEK_TO_INTERACTIVE_BUTTON),Re.hasPrevChapter$.getValue()||(Le.isInitialChapter$.getValue()?rt="tooltip_interactive_go_back_disabled_first":Le.lastChapterChangeWasInitiatedByInteractive$.getValue()?rt="tooltip_interactive_go_back_disabled":rt="tooltip_interactive_go_back_disabled_limit",Be.push(mt.PLAY_PREV_CHAPTER_BUTTON))}const Tt=()=>{const Le=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();re.onReplayInteractiveVideo&&!Le?re.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=G3({player:n,interfaceLanguage:j,videoId:N,isClip:Y,isLiveCatchUpMode:ie,isAudioDisabled:$,statAuthToken:a,callbacks:re,webApi:_e,videoEpisodes:M,previewThumbsData:Q,canDownload:H,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Be,isInteractive:Je,interactiveRanges:et,replayInteractive:Tt,playPrevChapterDisabledTooltip:rt,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?ce:[],looped:ve&&this.videoConfig.videos.length===1}),this.subscription.add(this.store.state.currentFormat$.subscribe(Le=>re?.onCurrentFormatChanged?.(Le))),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Le=>re?.onThroughputEstimationChanged?.(Le))),this.subscription.add(this.store.state.videoBitrate$.subscribe(Le=>re?.onVideoBitrateChanged?.(Le))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Le=>{const Re=this.store?.ui.controls.disabledControls$;Re&&(Le&&!Re.includes(po)&&Re.add(po),Le||Re.remove(po))})),this.initMediaSession(),this.interactiveController&&ae&&this.initInteractivesStatistics(),this.svelteRootComponent=new E3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ne,store:this.store,uiConfig:this.uiConfig,title:Ae,thumbUrl:Ce,videoLogoUrl:F,subtitles:Ie,live:ye,preload:f,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,supportLink:L,showAds:E,adsSlotId:P,adsParams:Se,adsPreviewParam:B,duration:ge,logoClickable:J,logoHidden:Z,isMobile:T,failoverHosts:K,fullScreenTarget:te,showMiniTimer:le,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:X.nextVideoTitle,endScreenVideoThumb:X.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:l})=>l).filter(l=>l!==Un.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.volume.subscribe(o=>n.onVolumeChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&ne.isNonNullable(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:l}=e.ui.controls,s=xe(t),a=xe(n);xe(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),l.remove(rl),!s&&this.graphMadePause&&this.play()):(this.graphMadePause=a==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),l.add(rl),!s&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,l=o?xe(o):this.videoConfig.interfaceLanguage,{projectInfo:s,historyApi:a,videoLoader:r}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:l,graph:this.uiConfig.features.interactiveGraph,projectInfo:s,historyApi:a,vkVideoLoader:r,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.subscription.add(vu.subscribe(h=>{h!==null&&this?.interactiveController?.setDisabledControls(h)})),this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(h=>{if(!this.isInited)return;const g=this.store;h?g.ui.controls.disabledControls$.remove(mt.SEEK_TO_INTERACTIVE_BUTTON):g.ui.controls.disabledControls$.add(mt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(h=>{this.store&&this.store.state.isInteractiveExpectation$.set(h)}));let f=!0;if(this.interactiveController.on(t.playerChanged,h=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...h.config,title:s?.title||h.config.title};const g=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(h.player,g),f&&(f=!1)}),this.interactiveController.on(t.interactives,({type:h,subjectId:g,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(h==="container-removed"&&this.store.actions.internal.completeInteractiveRange(g),h==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(vr)),h==="action-choice-canceled"){const _=xe(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&_){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const h=this.interactiveController.getHistoryState();this.subscription.add(h.history$.subscribe(g=>{g.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(g)}))}this.interactiveController.on(t.errors,h=>{this.log({message:h.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:pt.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:pt.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:pt.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:l,nextMovie$:s}=this.interactiveController.getStatEvents(),a=new ne.Subject;l.subscribe(r=>{r in o?a.next(o[r]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:a,nextMovie$:s}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=sr(sh,ne.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=nu(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ne.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ne.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=nh.getLatestSupportedVersion():this.pictureInPictureApi=new Go),this.mediaSessionApi=this.uiConfig.features.mediaSession?new K3:void 0,this.annotationsApi=this.uiConfig.features.annotations?new lh:void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$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]),ih(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===ze.Video?this.setupMediaSessionForVideo():e===ze.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(mt.PLAY_BUTTON)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(mt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return eo.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const rh=()=>{window.customElements.define("vk-video-player",ah)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return nt.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return nt.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ne.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ne.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ne.loadVKLangPack}});exports.VERSION=Co;exports.registerPlayerWebComponent=rh;
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 m3(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 e3({props:l}),je.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&2&&(r.title=s[1]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function h3(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 f3({props:l}),je.push(()=>vt(e,"videoContainer",o)),{c(){D(e.$$.fragment)},m(s,a){z(e,s,a),n=!0},p(s,a){const r={};a[0]&1&&(r.store=s[0]),a[0]&4&&(r.thumbUrl=s[2]),a[0]&8&&(r.videoLogoUrl=s[3]),a[0]&16&&(r.interactiveContainer=s[4]),a[0]&32&&(r.live=s[5]),a[0]&64&&(r.autoplay=s[6]),a[0]&128&&(r.canRewindLive=s[7]),a[0]&256&&(r.showAds=s[8]),a[0]&512&&(r.adsSlotId=s[9]),a[0]&1024&&(r.adsParams=s[10]),a[0]&2048&&(r.adsPreviewParam=s[11]),a[0]&4096&&(r.duration=s[12]),a[0]&8192&&(r.logoClickable=s[13]),a[0]&16384&&(r.logoHidden=s[14]),a[0]&65536&&(r.showNextPrevButtons=s[16]),a[0]&131072&&(r.nextButtonActive=s[17]),a[0]&262144&&(r.prevButtonActive=s[18]),a[0]&524288&&(r.endScreenVideoTitle=s[19]),a[0]&1048576&&(r.endScreenVideoThumb=s[20]),a[0]&2097152&&(r.isOneVideoPlaylist=s[21]),a[0]&4194304&&(r.supportLink=s[22]),a[0]&8388608&&(r.outerContainerRef=s[23]),a[0]&16777216&&(r.fullScreenTarget=s[24]),a[0]&33554432&&(r.showMiniTimer=s[25]),a[1]&8&&(r.playerStarted=s[34]),a[0]&67108864&&(r.playNextVideo=s[26]),a[0]&134217728&&(r.playPrevVideo=s[27]),a[0]&268435456&&(r.repeatPlaylist=s[28]),a[0]&536870912&&(r.seekToInteractive=s[29]),a[0]&1073741824&&(r.toggleGraph=s[30]),a[1]&1&&(r.playPrevChapter=s[31]),!t&&a[1]&4&&(t=!0,r.videoContainer=s[33],bt(()=>t=!1)),e.$set(r)},i(s){n||(m(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){O(e,s)}}}function p3(i){let e,t,n,o;const l=[h3,m3],s=[];function a(r,c){return r[15]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(r,c){C(r,e,c),s[t].m(e,null),o=!0},p(r,c){let f=t;t=a(r),t===f?s[t].p(r,c):(he(),p(s[f],1,1,()=>{s[f]=null}),pe(),n=s[t],n?n.p(r,c):(n=s[t]=l[t](r),n.c()),m(n,1),n.m(e,null))},i(r){o||(m(n),o=!0)},o(r){p(n),o=!1},d(r){r&&y(e),s[t].d()}}}function g3(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:s}=e,{title:a}=e,{thumbUrl:r}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:g}=e,{preload:v}=e,{autoplay:b}=e,{volume:_=void 0}=e,{muted:V=void 0}=e,{fromTime:A}=e,{canRewindLive:S}=e,{showAds:P}=e,{adsSlotId:B=void 0}=e,{adsParams:W=void 0}=e,{adsPreviewParam:X=void 0}=e,{duration:j=void 0}=e,{logoClickable:T}=e,{logoHidden:te}=e,{isMobile:Z}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:G=!1}=e,{prevButtonActive:J=!1}=e,{endScreenVideoTitle:ce=void 0}=e,{endScreenVideoThumb:w=void 0}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:de}=e,{outerContainerRef:_e=void 0}=e,{fullScreenTarget:Ne=void 0}=e,{failoverHosts:Le=void 0}=e,{showMiniTimer:ye=!1}=e,{playNextVideo:H=ne.noop}=e,{playPrevVideo:M=ne.noop}=e,{repeatPlaylist:Y=ne.noop}=e,{seekToInteractive:ge=ne.noop}=e,{toggleGraph:ee=ne.noop}=e,{playPrevChapter:N=ne.noop}=e;const{subscribers:Q,stores:Ie}=l;tu(s);const Ce=Gi(),Ae=o.ui.debugPanelVisible,x=o.ui.playerSize;let se,ve=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}),ru(o,Ie);const qe=(ue=!1)=>{t(34,re=!0),ue?o.actions.external.firstStart(P):o.actions.internal.firstStart(P)};function We(ue){const et=n||ue;et&&o.initVideo({container:se,sources:et,failoverHosts:Le,subtitles:h});const Qe=ne.safeStorage.get(Uo)==="true";Ae.set(Qe),A>0&&o.actions.external.seekTime(A);const nt=Z?Ce.volumeDefault:_??Pr()??Ce.volumeDefault,Ke=V??hu();if(o.actions.external.setVolume(nt),o.actions.external.setMuted(Ke),o.getAdmanWrapper().setInitialVolume(Ke?0:nt),Ce.features.trafficSaving){const tt=gu();tt&&o.actions.internal.setTrafficSavingEnabled(tt)}const dt=mu(o.videoId);dt&&o.actions.internal.setQuality(dt),o.ui.isAutoplay.set(b),b?qe():v&&Ce.features.preload&&o.actions.internal.preload()}const $e=ue=>{if(window.ResizeObserver){let et,Qe;ve=new ResizeObserver(ne.debounceFn(nt=>{const Ke=nt[0];if(Ke){if(Ke.contentBoxSize){const dt=Array.isArray(Ke.contentBoxSize)?Ke.contentBoxSize[0]:Ke.contentBoxSize;et=dt.inlineSize,Qe=dt.blockSize}else Ke.contentRect&&(et=Ke.contentRect.width,Qe=Ke.contentRect.height);x.set({width:et,height:Qe})}},dr)),ve.observe(ue)}x.set({width:ue.clientWidth,height:ue.clientHeight})};Zi(()=>{$e(se);const ue=Q.map(Qe=>Qe.init(o,Ie));if(g?.status==="upcoming"||g?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((g?.status==="finished"||g?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return We(),()=>{ve?.disconnect(),ue.forEach(Qe=>Qe.unsubscribe()),o.destroy()}});function it(){re?o.actions.external.play():qe(!0)}function Be(){o.actions.external.pause()}function rt(ue){Z||o.actions.external.setMuted(ue)}function St(ue){Z||ue>=0&&ue<=1&&o.actions.external.setVolume(ue)}function Re(ue){o.actions.internal.seekTime(ue,pt.SeekAction.UNKNOWN)}function Ve(ue){o.actions.external.seekEpisodeStartTime(ue)}function wt(ue){o.actions.external.setPlaybackRate(ue)}function zt(ue){o.actions.external.setAutoQualityLimits(ue)}function mt(ue){se=ue,t(33,se)}function lt(ue){se=ue,t(33,se)}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,a=ue.title),"thumbUrl"in ue&&t(2,r=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,g=ue.live),"preload"in ue&&t(41,v=ue.preload),"autoplay"in ue&&t(6,b=ue.autoplay),"volume"in ue&&t(42,_=ue.volume),"muted"in ue&&t(43,V=ue.muted),"fromTime"in ue&&t(44,A=ue.fromTime),"canRewindLive"in ue&&t(7,S=ue.canRewindLive),"showAds"in ue&&t(8,P=ue.showAds),"adsSlotId"in ue&&t(9,B=ue.adsSlotId),"adsParams"in ue&&t(10,W=ue.adsParams),"adsPreviewParam"in ue&&t(11,X=ue.adsPreviewParam),"duration"in ue&&t(12,j=ue.duration),"logoClickable"in ue&&t(13,T=ue.logoClickable),"logoHidden"in ue&&t(14,te=ue.logoHidden),"isMobile"in ue&&t(15,Z=ue.isMobile),"showNextPrevButtons"in ue&&t(16,ie=ue.showNextPrevButtons),"nextButtonActive"in ue&&t(17,G=ue.nextButtonActive),"prevButtonActive"in ue&&t(18,J=ue.prevButtonActive),"endScreenVideoTitle"in ue&&t(19,ce=ue.endScreenVideoTitle),"endScreenVideoThumb"in ue&&t(20,w=ue.endScreenVideoThumb),"isOneVideoPlaylist"in ue&&t(21,le=ue.isOneVideoPlaylist),"supportLink"in ue&&t(22,de=ue.supportLink),"outerContainerRef"in ue&&t(23,_e=ue.outerContainerRef),"fullScreenTarget"in ue&&t(24,Ne=ue.fullScreenTarget),"failoverHosts"in ue&&t(45,Le=ue.failoverHosts),"showMiniTimer"in ue&&t(25,ye=ue.showMiniTimer),"playNextVideo"in ue&&t(26,H=ue.playNextVideo),"playPrevVideo"in ue&&t(27,M=ue.playPrevVideo),"repeatPlaylist"in ue&&t(28,Y=ue.repeatPlaylist),"seekToInteractive"in ue&&t(29,ge=ue.seekToInteractive),"toggleGraph"in ue&&t(30,ee=ue.toggleGraph),"playPrevChapter"in ue&&t(31,N=ue.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(Z)},[o,a,r,c,f,g,b,S,P,B,W,X,j,T,te,Z,ie,G,J,ce,w,le,de,_e,Ne,ye,H,M,Y,ge,ee,N,Re,se,re,Ce,qe,n,l,s,h,v,_,V,A,Le,We,it,Be,rt,St,Ve,wt,zt,mt,lt]}class b3 extends we{constructor(e){super(),ke(this,e,g3,p3,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,setPlaybackRate:52,setAutoQualityLimits:53},d3,[-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 v3(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 _3(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 k3 extends we{constructor(e){super(),ke(this,e,_3,v3,be,{isWhite:1})}}function w3(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 tr(i){let e,t;return{c(){e=k("div"),t=Oe(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){C(n,e,o),d(e,t)},p(n,o){o&1&&xe(t,n[0])},d(n){n&&y(e)}}}function ir(i){let e,t;return e=new k3({props:{isWhite:!!i[1]}}),{c(){D(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){p(e.$$.fragment,n),t=!1},d(n){O(e,n)}}}function y3(i){let e,t,n,o,l=i[0]&&tr(i),s=(!i[0]||!i[1])&&ir(i);return{c(){e=k("div"),l&&l.c(),t=R(),s&&s.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(a,r){C(a,e,r),l&&l.m(e,null),d(e,t),s&&s.m(e,null),o=!0},p(a,[r]){a[0]?l?l.p(a,r):(l=tr(a),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!a[0]||!a[1]?s?(s.p(a,r),r&3&&m(s,1)):(s=ir(a),s.c(),m(s,1),s.m(e,null)):s&&(he(),p(s,1,1,()=>{s=null}),pe()),(!o||r&2&&n!==(n=a[1]?`background-image: url('${a[1]}')`:""))&&u(e,"style",n)},i(a){o||(m(s),o=!0)},o(a){p(s),o=!1},d(a){a&&y(e),l&&l.d(),s&&s.d()}}}function C3(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 P3 extends we{constructor(e){super(),ke(this,e,C3,y3,be,{title:0,thumbUrl:1},w3)}}class nr{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(a){Promise.resolve().then(()=>{throw a})}s.options&&s.options.once&&this.removeEventListener(e.type,s.callback)}return!e.defaultPrevented}}class S1 extends nr{constructor(){super(),this.listeners||nr.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 S3=class{constructor(){Object.defineProperty(this,"signal",{value:new S1,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch{typeof document<"u"?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>"u")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch{n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol<"u"&&Symbol.toStringTag&&(S3.prototype[Symbol.toStringTag]="AbortController",S1.prototype[Symbol.toStringTag]="AbortSignal");function T1(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 T3(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!T1({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:(r,c)=>{const f=l&&l.prototype.isPrototypeOf(r)?r.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch{h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const g=new Promise((v,b)=>{f.addEventListener("abort",()=>b(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([g,s(r,c)])}return s(r,c)},Request:l}}const el=T1({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),A1=el?T3({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,A3=el?A1.fetch:window.fetch;el?A1.Request:window.Request;const E3=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,L3="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class V3{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new ne.Subject,started$:new ne.Subject,paused$:new ne.Subject,resumed$:new ne.Subject,ended$:new ne.Subject,skipped$:new ne.Subject,clicked$:new ne.Subject};constructor(e,t){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}loadAdman=e=>new Promise((t,n)=>{let o;const l=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?t():n()};ne.addScript(L3,e,this.loadTimeout).then(()=>{window.AdmanHTML?t():(window.admanAsyncInit=l,o=window.setTimeout(l,this.initTimeout))}).catch(()=>{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:a,slotId:r,params:c={},duration:f,previewParam:h}=e;let g;const v=this.playerState&&Xe(this.playerState.vsid);v&&(g=parseInt(v,36));const b={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:E3(t,n),puid11:o?0:1,preview:h,...g?{request_id:g}:{},duration:f,...c},_={slot:r,wrapper:s,videoEl:a,videoQuality:n,params:b,browser:{mobile:!1}},V=new window.AdmanHTML;V.setDebug(!1),V.onReady(this.onAdsReady),V.onStarted(this.onAdStarted),V.onPlayed(this.onAdPlayed),V.onPaused(this.onAdPaused),V.adMidrollPoint(this.onAdMidrollPoint),V.onClosed(this.onAdClosed),V.onSkipped(this.onAdSkipped),V.onClicked(this.onAdClicked),V.onTimeRemained(this.onAdTimeRemained),V.onCompleted(this.onAdCompleted),V.onError(this.onAdError),V.init(_),this.adman=V,this.videoElement=a,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}ne.assertNonNullable(this.actions),ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState);const t=this.currentAdSection===cn.Postroll;this.adsState.playbackState.set(Bt.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(){ne.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=Xe(this.adsState.playbackState);e===Bt.PLAYING?this.pause():e===Bt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ne.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=cn.Preroll,this.adman.start(cn.Preroll)}startPostroll(){ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Postroll,this.adman.start(cn.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,t)=>{ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState),ne.assertNonNullable(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(t)}`}),this.events.started$.next(e),t.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Xe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(t.duration),this.adsState.playbackState.set(Bt.PLAYING),this.adsState.canSkip.set(t.allowClose),this.adsState.secondsToWatchBeforeSkip.set(t.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ne.assertNonNullable(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Bt.PAUSED)};onAdPlayed=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Bt.PLAYING)};onAdMidrollPoint=()=>{ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=cn.Midroll,this.adman.start(cn.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ne.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ne.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ne.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){this.adman?.setPosition(Math.floor(e),Math.floor(t))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const I3=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 M3{oneLineRegExp=/\r\n|\n|\r/;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 a of s)if(!l.startTime&&!l.endTime){const r=new E1,{startTime:c,endTime:f}=r.parse(a);l.startTime=c,l.endTime=f}else if(a.trim()!==""){const r=new N3,{texts:c}=r.parse(a);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class E1{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;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,a=Number(n),r=+`0.${o}`;return l+s+a+r}}class N3{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](s){let a=0;const r=[];for(;a<s.length;){const c=["<",">"].reduce((f,h)=>{const g=s.indexOf(h,a);return f===-1||f>g?g:f},-1);if(c===-1){r.push(s.substring(a));break}r.push(s.substring(a,c)),a=c+1}return r}}),l=new E1;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 wn,Xi,Ro=0,Bo=!1;const R3=(i,e,t)=>{const n=i>=Ro,o=i<Ro,l=(c,f=0,h=0)=>c<f&&c<h,s=(c,f=0,h=0)=>c>=f&&c<=h,a=(c,f=0,h=0)=>c>f&&c>h,r=t.find(({lang:c})=>c===e.value)?.subtitles;if(Ro=i,o&&(Bo=!1),ne.isNonNullable(wn)&&s(i,wn.startTime,wn.endTime)&&wn.lang===e.value)return wn;if(!ne.isNonNullable(Xi)&&r?.length&&!Bo){const c=r.find(({startTime:f,endTime:h})=>s(i,f,h)||n&&l(i,f,h));Xi=c&&{...c,lang:e.value},wn=void 0,!ne.isNonNullable(Xi)&&r[r.length-1].endTime<i&&(Bo=!0);return}else{if(s(i,Xi?.startTime,Xi?.endTime))return wn=Xi,Xi=void 0,wn;(n&&a(i,Xi?.startTime,Xi?.endTime)||o&&l(i,Xi?.startTime,Xi?.endTime))&&(Xi=void 0)}},zo={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 po=null;class to{constructor(e,t){if(!po){const n=new pt.OneStat(e,t),o=new ne.Subscription;po=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),po=null}})}}static getInstance(){return po}}const B3=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:s,callbacks:a,webApi:r,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:g,player:v,disabledControls:b,isInteractive:_,interactiveRanges:V,replayInteractive:A,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P,additionalButtons:B,looped:W=!1})=>{const X={...g,configName:[...g.configName??[],"ui"],isAudioDisabled:l,live:{...g.live??{},isLiveCatchUpMode:!!n}},j=h,T=v||new Je.Player(X);T.setLooped(W);const te=new ne.Logger,Z=new V3(te,{loadTimeout:j.ads.loadTimeout,initTimeout:j.ads.initTimeout}),ie=to.getInstance(),G=qo.getInstance(),J=r?.pictureInPictureApi,ce=r?.annotationsApi,w=te.createComponentLog("Store");let le,de,_e={};const Ne=ne.getCurrentBrowser(),Le=ie?gt(ie.oneStat.vsid$):on(void 0),ye=He(oo()),H=J?.info.isActive$??new ne.ValueSubject(!1),M=J?.info.type,Y=He(0),ge=He([]),ee=ne.merge(T.events.fatalError$,T.events.managedError$).subscribe(E=>ge.update(fe=>[...fe,E])),N=on(!1,E=>{const fe=T.events.fatalError$.subscribe(()=>E(!0));return()=>fe.unsubscribe()}),Q=async E=>{const fe=Object.values(ne.InterfaceLanguage).includes(E);if(j.downloadVKLanguages&&(fe&&j.updateBuiltinLanguages||!fl(E))){let De;try{De=await ne.loadVKLangPack(E,iu,nu)}catch(Ye){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),G?.report(Ye,{errorType:"VKLangPack",fatal:!1})}De&&(cl({language:E,pack:De,fallback:j.defaultLanguage}),Ie.set(E))}fl(E)&&Ie.set(E)},Ie=He(i);Q(i);const Ce=(E,fe)=>{const Te=Xe(Ie);return Vr(Te,E,fe,j.defaultLanguage)},Ae=He(ze.Thumb),x=(()=>{const E=Qt([N,Ae],([fe,Te])=>fe?ze.Crashed:Te);return{...E,is:fe=>Xe(E)===fe}})(),se=(()=>{const E=He(new Set(b));return{...E,add:fe=>{E.update(Te=>new Set([...Te].concat(fe)))},remove:fe=>{E.update(Te=>{const De=[...Te];return new Set(Array.isArray(fe)?De.filter(Ye=>!fe.includes(Ye)):De.filter(Ye=>Ye!==fe))})},includes:fe=>{const Te=Xe(E);return Array.isArray(fe)?fe.every(De=>Te.has(De)):Te.has(fe)}}})();w({message:"create store"});const ve=E=>{w({message:`init video, config: ${JSON.stringify(E)}`}),_?E.container.append(T.experimental.element$.getValue()):T.initVideo(E),E.subtitles&&T.setExternalTextTracks(E.subtitles),le=E},re=new ne.Subject,qe=E=>re.next(E),We=new ne.Subject,$e=new ne.Subject,it=new ne.Subject,Be={actionRewind$:We,actionSeek$:$e,inPiP$:H,inFullscreen$:new ne.Observable(E=>ye.subscribe(fe=>E.next(fe))),actionSetSubtitle$:it,nextMovie$:re};if(ie){const{oneStat:E,statSubscription:fe}=ie;fe.add(E.attachTo(T)),fe.add(E.attachToUi(Be)),fe.add(E.attachToAds(Z.events)),E.authorize(o).catch(Te=>{w({message:`onestat auth error ${String(Te)}`})})}if(G){const E=new ne.Subscription,fe=(Te,De)=>E.add(Te.subscribe(De));if(fe(T.events.managedError$,Te=>{G.logIError(Te)}),fe(T.events.fatalError$,Te=>{G.logIError(Te,!0)}),ie){const{oneStat:Te}=ie;fe(Te.experimental.error$,De=>{G.logIError(De)})}G.sentrySubscription.add(E)}const rt=()=>{ne.isIOS()&&de&&Iu(de)},St=new ne.Subscription().add(T.experimental.element$.subscribe(E=>{E&&(de=E,E.classList.add("player-media"),_o(J)&&(J.updateVideoElement(),J.registryEventHandlers()),_&&E.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{rt(),a?.onEnded?.()})).add(T.events.started$.subscribe(async()=>{_o(J)&&await J?.revealPictureInPicture();const E=T.info.muted$.getValue();a?.onStarted?.(),_e.onStarted?.(E)})).add(T.events.willSeek$.subscribe(({from:E,to:fe})=>{a?.onSeek?.(E,fe)})).add(T.info.position$.subscribe(E=>{const fe=T.info.duration$.getValue();a?.onTimeupdate?.(fe,E),Z.setPosition(E,fe)})).add(T.events.fatalError$.subscribe(()=>{a?.onCrashed?.()})).add(T.info.is3DVideo$.subscribe(E=>{Et.ui.is3DVideo.set(E)})).add(T.info.isEnded$.subscribe(E=>{_&&(E?(Xe(Ao)&&se.add(hr),se.add(ft.PLAY_BUTTON)):se.remove(ft.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(E=>{a?.onLiveTime?.(E)})),Re=new ne.Subscription,Ve=()=>{Re.add(T.events.log$.subscribe(E=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${E.component}`,E.message)})).add(te.log$.subscribe(E=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${E.component}.`,E.message)}))},wt=()=>{Re.unsubscribe()},zt=(E,fe)=>{T.startCameraManualRotation(E,fe)},mt=(E=!1)=>{T.stopCameraManualRotation(E)},lt=(E,fe,Te)=>{T.moveCameraFocusPX(E,fe,Te)},ue=()=>{T.holdCamera()},et=()=>{T.releaseCamera()},Qe=on(T.info.position$.getValue(),E=>{let fe,Te;const De=()=>{const Ye=T.info.playbackState$.getValue(),Kt=T.info.isLive$.getValue(),gi=T.info.duration$.getValue(),Yt=T.info.position$.getValue();if([Je.PlaybackState.PLAYING,Je.PlaybackState.PAUSED].includes(Ye)){const kn=Kt?Yt-gi:T.getExactTime();kn!==Te&&E(kn),Te=kn}fe=requestAnimationFrame(De)};return De(),()=>cancelAnimationFrame(fe)}),nt=gt(H),Ke=gt(T.info.playbackState$),dt=gt(T.info.currentBuffer$),tt=gt(T.info.isEnded$),Mt=gt(T.info.isLive$),yt=j.features.playbackRate?gt(T.info.canChangePlaybackSpeed$):on(!1),ot=gt(T.info.liveBufferTime$),Ot=gt(T.info.volume$),ct=gt(T.info.muted$),Ze=_r(T.info.autoQualityLimits$.pipe(ne.map(({max:E})=>E!==void 0)),T.info.autoQualityLimits$.getValue()?.max!==void 0),Tt=gt(T.info.autoQualityLimitingAvailable$),st=gt(T.info.availableQualities$),ii=gt(T.info.availableQualitiesFps$),me=gt(T.info.chromecastState$),Pe=gt(T.info.chromecastDeviceName$),Me=gt(T.info.currentFormat$),Pt=gt(T.info.throughputEstimation$),Vi=gt(T.info.videoBitrate$),Jt=gt(T.info.intrinsicVideoSize$),bi=gt(T.info.duration$),Ii=gt(T.info.isAudioAvailable$);let Lt=null;const Se=T.info.isBuffering$,Nt=on(Se.getValue(),E=>{const fe=Se.subscribe(Te=>{Te&&Lt===null?Lt=window.setTimeout(()=>{E(Se.getValue()),Lt=null},j.loaderDelay):E(Te)});return()=>{fe.unsubscribe(),Lt&&clearTimeout(Lt)}}),Mi=()=>{Lt&&clearTimeout(Lt),Lt=null},ni=Qt([bi,Mt],([E,fe])=>fe?-E:E),vi=Qt([Ke],([E])=>E===Je.PlaybackState.PLAYING),_i=gt(T.info.atLiveEdge$),ki=gt(T.info.atLiveDurationEdge$),oi=gt(T.info.position$),Ki=Qt([oi,bi],([E,fe])=>isFinite(E)&&isFinite(fe)&&!!fe),di=Qt([me],([E])=>E===Je.ChromecastState.CONNECTED),wi=He(void 0),yi=gt(T.info.isAutoQualityEnabled$,E=>E&&wi.set(void 0)),Ni=gt(T.info.currentQuality$,()=>wi.set(void 0)),Ci=Qt([wi,Ni],([E,fe])=>E??fe),qi=Qt([st,ii,yi,Ci,Me],([E,fe,Te,De,Ye])=>{const Kt=[];Ye!==Je.VideoFormat.MPEG&&Kt.push({value:qn.AUTO,displayValue:Ce("auto_quality_option"),selected:Te});const gi=E.filter(Yt=>Yt!==ne.VideoQuality.INVARIANT);for(const Yt of gi){const kn=fe[Yt],ro=Yt===ne.VideoQuality.INVARIANT?Ce("auto_quality_option"):Yt;Kt.push({value:Yt,displayValue:`${ro}${kn?I3(kn):""}`,selected:Te?!1:Yt===De})}return Kt}),xt=gt(T.info.currentPlaybackRate$),li=Qt([xt,_i,ki],([E,fe,Te])=>{const De=Te||_?1:j.controls.playbackRateMin,Ye=fe?1:j.controls.playbackRateMax,Kt=j.controls.playbackRateStep,gi=[];for(let Yt=De;Yt<=Ye;Yt+=Kt)gi.push({value:Yt,displayValue:Yt===1?Ce("playback_rate_1"):Ce("playback_rate",{multiplier:Yt.toString(10)}),selected:E===Yt});return gi}),Pi=j.features.subtitles?gt(T.info.availableTextTracks$):on([]),Dt=Qt([Pi],([E],fe)=>{const Te=[],De=[];for(const Ye of E)Ye.url&&Te.push(A3(Ye.url));Promise.allSettled(Te).then(Ye=>{for(const[Kt,gi]of Ye.entries())gi.status==="fulfilled"&&gi.value.text().then(Yt=>{const kn=new M3,ro=E[Kt].language,M1=!!E[Kt].isAuto,il=kn.parse(Yt);ro&&il&&De.push({lang:ro,subtitles:il,isAuto:M1}),Kt===Ye.length-1&&fe(De)})})}),Ct={displayValue:Ce("subtitles_off"),value:"off"},Ht=He({...Ct}),Ri=Qt([Dt,Ht,Dt],([E,fe])=>{if(E?.length>0){const Te=[{...Ct,selected:fe?.value===Ct.value}];for(const{lang:De,isAuto:Ye}of E)zo[De]&&Te.push({displayValue:Ye?Ce("subtitles_auto",{language:zo[De]}):zo[De],value:De,selected:fe?.value===De,isAuto:Ye});return Te}else return[]}),Yi=Qt([Qe,Ht,Dt],([E,fe,Te])=>{if(fe&&fe.value!==Ct.value)return R3(E,fe,Te)}),Bi=Qt([Yi],([E])=>E?.texts?E.texts:[]),$t=He(!0),Fi=Qt([dt,ni,oi,ot],([E,fe,Te,De])=>{const Ye=E?.end??0;if(!De)return Ye/fe;const gi=-Te+De-fe;return(Ye-gi)/fe}),Wi=gt(T.info.availableSources$),si=Qt([Wi],([E])=>Object.keys(E?.[Je.VideoFormat.MPEG]||{}).length>0),zi=()=>{const E=Object.keys(T.info.availableSources$?.getValue()?.[Je.VideoFormat.MPEG]||{}),fe=ne.getHighestQuality(E)||ne.VideoQuality.Q_144P;return le.sources[Je.VideoFormat.MPEG]?.[fe]},Si=()=>{const E=zi();E?fu(E,le?.meta?.title||"video"):w({message:"There is no URL for download video"})},Ti=()=>{w({message:"toggle muted"});const E=T.info.muted$.getValue(),De=!(T.info.volume$.getValue()===0||E);mi(De)},Ai=(E,fe=E,Te=!1)=>{const De=!Te,Ye=T.info.muted$.getValue();w({message:`set volume, volume: ${E}, preferredVolume: ${fe}, internalCall: ${De}`}),T.setVolume(E),Z.setVolume(E),De&&a?.onVolumeChange?.(E),ul(fe),Ye?(T.setMuted(!1),De&&a?.onUnmute?.(),Lo(!1)):!Ye&&E===0&&(T.setMuted(!0),De&&a?.onMute?.(),Lo(!0))},mi=(E,fe=!1)=>{const Te=!fe,De=T.info.volume$.getValue();if(w({message:`set muted, currentVolume: ${De}, mute: ${E}, internalCall: ${Te}`}),T.setMuted(E),Z.setVolume(E?0:De),Lo(E),Te&&(E?a?.onMute?.():a?.onUnmute?.()),De===0){let Ye=Pr()??j.volumeDefault;Ye===0&&(Ye=j.volumeMinRestore,ul(Ye)),T.setVolume(Ye),Z.setVolume(Ye),Te&&a?.onVolumeChange?.(Ye)}},Ft=()=>{T.prepare()},ai=()=>{if(ne.assertNonNullable(Et),!Xe(Et.ui.controls.disabledControls$).has(ft.PLAY_BUTTON)){if(w({message:"toggle play"}),Xe(Et.playerPhase)===ze.Ads){Z.togglePlay();return}if(T.info.playbackState$.getValue()!==Je.PlaybackState.PLAYING){if(T.info.isEnded$.getValue()){if(w({message:"toggle play, video ended, seek to 0"}),We.next(),$e.next(pt.SeekAction.REWIND),_){A?.();return}T.seekTime(0)}w({message:"toggle play, call player.play"}),T.play(),a?.onPlay?.()}else w({message:"toggle play, call player.pause"}),T.pause(),a?.onPause?.()}},hi=E=>{w({message:`set quality, quality: ${E}`}),T.setAutoQuality(E===qn.AUTO),E!==qn.AUTO?(du(e,E),wi.set(E),T.setQuality(E)):Sr()},Ut=E=>{w({message:`set trafficSavingEnabled, value: ${E}`}),T.setAutoQualityLimits({max:E?j.trafficSavingLimit:void 0}),pu(E)},qt=E=>{T.setPlaybackRate(E)},ei=()=>{const E=Xe(li),fe=E.findIndex(({selected:De})=>De);if(fe===E.length-1)return;const Te=E[fe+1];qt(Te.value)},ri=()=>{const E=Xe(li),fe=E.findIndex(({selected:De})=>De);if(fe===0)return;const Te=E[fe-1];qt(Te.value)},Wt=E=>{E&&E.value!==Ct.value&&it.next(E.isAuto?E.value+"_auto":E.value),Ht.set(E)},pi=()=>{const E=Xe(Ri),fe=Xe(Ht),Te=Xe(Ie);if(fe?.value===Ct.value){const De=E.filter(Ye=>Ye.value!==Ct.value).find(Ye=>Ye.value===Te)||E[1];Wt(De??{...Ct})}else Wt({...Ct,selected:!1})},ti=(E,fe,Te=!0)=>{if(w({message:`seek to time, time: ${E}`}),$e.next(fe),T.info.isLive$.getValue()){const De=T.info.duration$.getValue(),Ye=Math.min(0,De+E);T.seekTime(Ye,Te)}else{if(Xe(Ao))return;T.seekTime(tl(E),Te)}},Oi=E=>{w({message:`seek to episode start time: ${E}`}),ti(E,pt.SeekAction.EPISODE,!0)},Ei=(E,fe)=>{w({message:`seek to percent, percent: ${E}`});const Te=Math.round(Xe(ni)*E);ti(Te,fe,!1)},ji=E=>{w({message:`seek external, time: ${E}`}),$e.next(pt.SeekAction.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-E:E)},Di=E=>{w({message:`set auto quality limitation. Max: ${E.max??"none"}. Min: ${E.min??"none"}`}),T.setAutoQualityLimits(E)},ui=E=>{w({message:`seek external to episode start time: ${E}`}),ti(E,pt.SeekAction.EPISODE,!0)},Ui=E=>{w({message:`set playback rate to: ${E}`}),T.setPlaybackRate(E)},Li=He(void 0),ae=He(!1),jt=E=>{w({message:`start scrubbing, progress: ${E}`}),ae.set(!0),Hi(E)},Hi=E=>{Li.set(E)};let Qi,sn;const an=()=>{Li.set(void 0),ae.set(!1)},Zt=()=>{clearTimeout(sn),clearTimeout(Qi),Qi=window.setTimeout(()=>{an()},500),de?.removeEventListener("seeked",Zt)},Cn=E=>{w({message:`complete scrubbing, progress: ${E}`}),Ei(E,pt.SeekAction.SLIDER),Xe(Et.ui.isMobile)&&Xe(Et.state.currentFormat$)===Je.VideoFormat.HLS?(de?.addEventListener("seeked",Zt),sn=window.setTimeout(()=>{Zt()},300)):an()},Pn=Qt([Qe,ni,Li],([E,fe,Te],De)=>{De(ne.isNonNullable(Te)?Te*fe:E)}),rn=He({width:0,height:0}),_n=Qt([rn],([{width:E}],fe)=>{const Te=D0(E);fe(Te)}),nn=He(!1),Ji=Qt([_n,nn],([E,fe])=>fe?B.filter(Te=>!Te.hideOnMobile):B.filter(Te=>!Te.hideOnDesktopGridTypes?.includes(E))),Sn=Qt([nn,N],([E,fe],Te)=>{Te(E&&fe)}),$=()=>{$e.next(pt.SeekAction.LIVE),w({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==Je.PlaybackState.PLAYING&&Et.actions.internal.togglePlay()},kt=()=>Z.skip(),Tn=(E=!0)=>{ne.assertNonNullable(Et),w({message:`switch from ads to video, callPlay: ${E}`}),Ae.set(ze.Video),E&&T.play()},An=()=>{ne.assertNonNullable(Et),w({message:"switch from video to ads"}),Et.actions.internal.pause(),rt(),Ae.set(ze.Ads)},En=E=>{ne.assertNonNullable(Et);const fe=E?ze.WaitingLive:ze.Thumb;Ae.set(fe)},Kn=E=>{ne.assertNonNullable(Et);const fe=E?ze.WaitingRecord:ze.Thumb;Ae.set(fe)},Yn=()=>(ne.assertNonNullable(Et),uu(T,le,Et)),Qn=()=>(ne.assertNonNullable(Et),cu(T,le,Et)),Xn=()=>de,Jn=()=>{w({message:"toggle chromecast"}),T.toggleChromecast()},Nn=E=>{ne.assertNonNullable(Et);const fe=!E;if(Xe(Et.playerPhase)===ze.Ads){w({message:`pause ads, internalCall: ${fe}`}),Z.pause();return}w({message:`pause video, internalCall: ${fe}`}),fe&&a?.onPause?.(),T.pause()},xn=E=>{ne.assertNonNullable(Et);const fe=!E;if(Xe(Et.playerPhase)===ze.Ads){w({message:`play ads, internalCall: ${fe}`}),Z.play();return}w({message:`play video, internalCall: ${fe}`}),fe&&a?.onPlay?.(),T.play()},oe=(E,fe)=>{ne.assertNonNullable(Et),w({message:`first start, show ads: ${E}, internalCall: ${!fe}`}),E?Ae.set(ze.Ads):(Ae.set(ze.Video),fe?T.play():Et.actions.internal.togglePlay())},xi=()=>(w({message:"getting time codes"}),c),at=()=>{const E=xi();if(!E||[0,1].includes(E.length))return;const fe=T.info.position$.getValue();return E.find(Te=>Te.time>fe)},Rt=E=>{let fe=E;fe||(fe=at()),fe&&(w({message:"seek to next episode"}),ti(fe.time,pt.SeekAction.EPISODE,!0))},$i=()=>{const E=xi();if(!E||[0,1].includes(E.length))return;const fe=T.info.position$.getValue(),Te=E.findIndex(Ye=>Ye.time>fe),De=Te===-1?E.length-2:Te-2;if(!(De<0))return E[De]},un=E=>{let fe=E;fe||(fe=$i()),fe&&(w({message:"seek to prev episode"}),ti(fe.time,pt.SeekAction.EPISODE,!0))},$n=()=>(w({message:"getting preview thumbs data"}),f),Ln=async()=>{J?.isActive()?await J?.remove():await J?.request()},q=(E=-90)=>{Y.update(fe=>fe+E)},Gt=He(V),Rn=Qt([Gt],([E=[]])=>{const fe=[];for(let Te=0;Te<E.length;Te++){const{range:[De,Ye],subjects:Kt}=E[Te];Te===0&&De!==0&&fe.push({time:0,text:""}),fe.push({time:De/1e3,text:"",interactive:!0,completed:!Kt.length}),Ye!==1/0&&fe.push({time:Ye/1e3,text:"",interactive:!1,completed:!Kt.length})}return fe}),Bn=E=>{const fe=Xe(Gt);Gt.set(fe.map(Te=>({...Te,subjects:Te.subjects.filter(De=>De!==E)})))},ao=He(!1),Ao=Qt([oi,Gt,ao],([E,fe,Te])=>{if(!_)return!1;if(Te)return!0;const De=E*1e3,Ye=fe?.find(({range:[Kt,gi],subjects:Yt})=>Kt<De&&De<gi&&Yt.length);return Ye&&Xe(ae)&&an(),!!Ye}),tl=E=>{if(!_)return E;const fe=Xe(Rn),Te=Xe(ni),Ye=Xe(oi)/Te,Kt=fe.find(gi=>gi.interactive&&!gi.completed&&gi.time>Ye);return typeof Kt?.time=="number"?Math.min(E,Kt.time-.05):E},I1=()=>{clearTimeout(sn),clearTimeout(Qi),St.unsubscribe(),Re.unsubscribe(),T.destroy(),Z.destroy(),ie?.destroy(),G?.destroy(),ee.unsubscribe()},Et={interfaceLanguage$:Ie,initVideo:ve,videoId:e,isClip:t,playerPhase:x,vsid:Le,state:{positionExact$:Qe,positionWithScrubbing$:Pn,duration$:ni,playbackState$:Ke,isPlaying$:vi,isLoaderVisible:Nt,bufferedProgress$:Fi,isLive$:Mt,canChangePlaybackSpeed$:yt,isActiveLive$:_i,isOldestAvailableLive$:ki,isRewindableLive$:Ki,isEnded$:tt,muted$:ct,volume$:Ot,trafficSavingEnabled$:Ze,autoQualityLimitingAvailable$:Tt,currentQuality$:Ci,isAutoQualityEnabled$:yi,availableQualities$:qi,currentPlaybackRate$:xt,availablePlaybackRates$:li,currentSubtitle$:Ht,availableSubtitlesList$:Ri,currentSubtitleCaptions$:Bi,isAutoSubtitleCaptionVisible$:$t,chromecastState$:me,chromecastDeviceName$:Pe,chromecastConnected$:di,currentFormat$:Me,throughputEstimation$:Pt,videoBitrate$:Vi,videoSize$:Jt,errorLog$:ge,crashed$:N,isAudioAvailable$:Ii,isAudioDisabled:!!l,canDownload:j.features.download&&!!s,availableSources$:Wi,hasMpegSources$:si,isInteractive:_,isInteractiveGraphEnabled:j.features.interactiveGraph,isSeekToInteractiveEnable:j.features.seekToInteractive,isPlayPrevChapterEnabled:j.features.interactivePlayPrevChapter,interactiveEpisodes$:Rn,isInteractiveTime$:Ao,graphIsOpened$:He(!1),isInteractiveExpectation$:ao,hasInteractiveBranches:S,playPrevChapterDisabledTooltip:P},ui:{controlsVisible:He(!1),touched:He(!1),controls:{prevButton:He(void 0),playButton:He(void 0),replayButton:He(void 0),nextButton:He(void 0),playPrevChapterButton:He(void 0),seekToInteractiveButton:He(void 0),interactiveGraphButton:He(void 0),liveButton:He(void 0),time:He(void 0),episodes:He(void 0),volume:He(void 0),subtitles:He(void 0),settings:He(void 0),chromecast:He(void 0),fullscreen:He(void 0),vkLogo:He(void 0),additionalButtons:B.length?B.reduce(E=>[...E,He(void 0)],[]):[],disabledControls$:se},modals:{hotKeyMap:{show:He(!1),data:He({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ye,rotateAlpha:Y,isAutoplay:He(!1),contextMenuVisible:He(!1),debugPanelVisible:He(!1),playerSize:rn,isMobile:nn,mobileNotReportControlHidden$:Sn,mobileUnmuteButtonExpanded:He(!1),mobileUnmuteButtonVisible:He(!1),icon3DVideoVisible:He(!1),settingsMenuVisible:He(!1),scrubbingInProgress:ae,is3DVideo:He(!1),isPictureInPictureActive$:nt,pictureInPictureType$:on(M),clientInfo$:on(Ne),currentGridType$:_n,additionalButtons$:Ji,interactiveHideMobileControls:He(!1),overlayContainer$:He(void 0)},ads:{position:He(0),duration:He(0),playbackState:He(Bt.INACTIVE),canSkip:He(!1),secondsToWatchBeforeSkip:He(0),postrollPassed:He(!1)},webApi:{pictureInPictureApi:J,annotationsApi:ce},actions:{internal:{preload:Ft,firstStart:E=>oe(E,!1),pause:()=>Nn(!1),togglePlay:ai,toggleMuted:Ti,setVolume:Ai,setQuality:hi,setTrafficSavingEnabled:E=>Ut(E),setPlaybackRate:qt,incrementPlaybackRate:ei,decrementPlaybackRate:ri,setSubtitle:Wt,toggleSubtitle:pi,togglePictureInPicture:Ln,startScrubbing:jt,progressScrubbing:Hi,completeScrubbing:Cn,toggleChromecast:Jn,switchToActiveLive:$,switchFromAdsToVideo:Tn,switchFromVideoToAds:An,skipAd:kt,setWaitingLive:En,setWaitingRecord:Kn,getDebugTextData:Yn,getDebugPanelData:Qn,getVideoElement:Xn,seekTime:(E,fe,Te)=>ti(E,fe,Te),clearDelayedBufferingCheckTimeout:Mi,seekEpisodeStartTime:Oi,seekToPercent:Ei,getNextEpisode:at,seekToNextEpisode:Rt,getPrevEpisode:$i,seekToPrevEpisode:un,startLogging:Ve,stopLogging:wt,startCameraManualRotation:zt,stopCameraManualRotation:mt,moveCameraFocusPX:lt,holdCamera:ue,releaseCamera:et,getVideoEpisodes:xi,getPreviewThumbsData:$n,downloadVideo:Si,addLanguage:cl,setLanguage:Q,nextMovie:qe,videoRotate:q,completeInteractiveRange:Bn,correctSeekTimeToInteractive:tl,replayInteractive:A},external:{firstStart:E=>oe(E,!0),play:()=>xn(!0),pause:()=>Nn(!0),seekTime:E=>ji(E),seekEpisodeStartTime:E=>ui(E),setPlaybackRate:E=>Ui(E),setAutoQualityLimits:E=>Di(E),setMuted:E=>mi(E,!0),setVolume:E=>Ai(E,E,!0)}},callbacks:a,setUiCallbacks:E=>{_e={...E}},getAdmanWrapper:()=>Z,getLogger:()=>te,destroy:I1};return Et};class z3{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{throw new Error(`The media session action "${t}" is not supported yet.`)}}}function O3(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 D3 extends we{constructor(e){super(),ke(this,e,null,O3,be,{})}}function H3(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 F3(i){let e,t,n,o,l,s,a;return n=new D3({}),{c(){e=k("div"),t=k("div"),D(n.$$.fragment),o=R(),l=k("span"),s=Oe(i[0]),u(t,"class","dummy-image v-1pbsod4"),L(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),L(e,"is-pip-api",i[2])},m(r,c){C(r,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,s),a=!0},p(r,[c]){(!a||c&2)&&L(t,"desktop",!r[1]),(!a||c&1)&&xe(s,r[0])},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){p(n.$$.fragment,r),a=!1},d(r){r&&y(e),O(n)}}}function U3(i,e,t){let n,o;const l=_t(),s=!!l.webApi.pictureInPictureApi,a=l.interfaceLanguage$;F(i,a,f=>t(5,n=f));const r=l.ui.isMobile;F(i,r,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&U("pip_dummy_title"))},[c,o,s,a,r,n]}class q3 extends we{constructor(e){super(),ke(this,e,U3,F3,be,{},H3)}}const W3=460,j3=280;class L1{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new ne.ValueSubject(!1),type:dn.DocumentPictureInPicture};isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex,{isEmbed:t}=ne.detectEmbed();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:W3,height:j3,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(l=>[...l.cssRules].map(s=>s.cssText).join(" ")).filter(Boolean).join(`
51
+ `),t=document.createElement("style");t.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(t),o.append(this.playerDomElement),this.playerDummyElement=new q3({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.addEventListener("unload",l=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Z3(i){return i instanceof L1}class G3{static getLatestSupportedVersion(){const e=new Ko,t=new L1;if(t.isSupported())return t;if(e.isSupported())return e}}function or(i,e){const t=new Set([...Object.keys(i),...Object.keys(e)]),n={};for(const o of t)n[o]=e[o]??i[o]??void 0;return n}const lr="Inner error. Unexpectedly root annotation container null reference exception",K3="Annotation layer with such name already exists";class Oo extends Error{constructor(e){super(e),this.name="AnnotationError"}}class Y3{rootAnnotationsContainer;layers=new Map;registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Oo(lr);if(this.layers.has(e))throw new Oo(K3);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?.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Oo(lr);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class V1{stateName;state$;subscription;init(e,t){return ne.assertNonNullable(e),ne.assertNonNullable(t),this.subscription=new ne.Subscription,this.subscription}}class Q3 extends V1{stateName="fakeIsPlaying$";state$={...He(null),toggle:()=>this.state$.update(e=>!e)};init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(l=>{this.state$.set(l?!0:null)})),n}}class X3 extends V1{stateName="interactiveControlsOpacity$";state$={...He(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:a,isMobile:r}=e.ui,c=Xe(r),f=()=>c&&Xe(a);return n.add(a.subscribe(h=>{if(!c)return;const g=Xe(o);Xe(s)?this.state$.set(h):g!==null&&this.state$.set(!g||h)})),n.add(s.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const g=Xe(l);if(f()){this.state$.set(!0);return}g&&this.state$.set(!h)})),n}}const J3=()=>[Q3,X3].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),x3={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ne.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ne.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class $3 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this._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 ne.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ne.Subscription,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;const e=this.getAttribute("stub-title")??void 0,t=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new P3({target:this.playerContainer,props:{title:e,thumbUrl:t}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.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){return this.store?.ui.controls.disabledControls$?.includes(e)||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){if(!this.videoConfig)return;const{albumId:o,statPlace:l,statUserSalt:s,statAuthToken:a,statTrackCode:r,refreshStatAuthToken:c,preload:f,autoplay:h,volume:g,muted:v,fromTime:b,canRewindLive:_,supportLink:V,showAds:A,adsSlotId:S,adsParams:P={},adsPreviewParam:B,interfaceLanguage:W,logoClickable:X,logoHidden:j,isMobile:T,isAudioDisabled:te,isLiveCatchUpMode:Z,fullScreenTarget:ie,failoverHosts:G,canDownload:J,callbacks:ce,interactiveData:w,showThumbTimer:le,additionalButtons:de=[],repeat:_e}=or(this.videoConfig,t),{sources:Ne,title:Le,thumbUrl:ye,videoLogoUrl:H,unitedVideoId:M,isClip:Y=!1,duration:ge,adsParams:ee={},videoEpisodes:N,previewThumbsData:Q,subtitles:Ie,live:Ce}=e,Ae={...P,...ee},x=this.getNextVideoInfo(),se={sources:Ne,title:Le,thumbUrl:ye,subtitles:Ie,unitedVideoId:M,isClip:Y,live:Ce,albumId:o,statPlace:l,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,showAds:A,adsSlotId:S,adsParams:Ae,adsPreviewParam:B,duration:ge,logoClickable:X,logoHidden:j,isMobile:T,repeat:_e,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ve={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(se)}`});const re=this.uiConfig.features.statistics&&!!M,{pid:qe}=this.videoConfig?.interactiveData?.projectInfo||{};re&&new to({movieId:M,albumId:o,place:l,trackCode:r,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y,...qe&&!this.isInited&&{projectId:Number(qe)}},{refreshAuthToken:c,userSalt:s,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new qo(this.uiConfig.sentry,{version:Po,env:au},{movieId:M,albumId:o,place:l,autoplay:(h&&!this.interactiveController)??!1,mobile:T,clip:Y}),this.interactiveController&&(this.prevIsid??=to.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...to.getInstance()},this.sentry={...this.sentry,...qo.getInstance()};const $e=!!w,it=this.interactiveController?.getInteractiveRanges(),Be=[];let rt;if($e&&this.interactiveController){const Ve=this.interactiveController.state,wt=this.interactiveController.getHistoryState();Ve.isInitialChapter$.getValue()&&Be.push(ft.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Be.push(ft.SEEK_TO_INTERACTIVE_BUTTON),wt.hasPrevChapter$.getValue()||(Ve.isInitialChapter$.getValue()?rt="tooltip_interactive_go_back_disabled_first":Ve.lastChapterChangeWasInitiatedByInteractive$.getValue()?rt="tooltip_interactive_go_back_disabled":rt="tooltip_interactive_go_back_disabled_limit",Be.push(ft.PLAY_PREV_CHAPTER_BUTTON))}const St=()=>{this.isInited=!1,this.prevIsid=void 0;const Ve=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();ce.onReplayInteractiveVideo&&!Ve?ce.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=B3({player:n,interfaceLanguage:W,videoId:M,isClip:Y,isLiveCatchUpMode:Z,isAudioDisabled:te,statAuthToken:a,callbacks:ce,webApi:ve,videoEpisodes:N,previewThumbsData:Q,canDownload:J,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Be,isInteractive:$e,interactiveRanges:it,replayInteractive:St,playPrevChapterDisabledTooltip:rt,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?de:[],looped:_e&&this.videoConfig.videos.length===1});const{stores:Re}=this.microStoresRoot=J3();this.subscription.add(this.store.state.currentFormat$.subscribe(Ve=>ce?.onCurrentFormatChanged?.(Ve))),this.subscription.add(Re.interactiveControlsOpacity$.subscribe(Ve=>{Ve!==null&&this?.interactiveController?.setDisabledControls(Ve)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Ve=>ce?.onThroughputEstimationChanged?.(Ve))),this.subscription.add(this.store.state.videoBitrate$.subscribe(Ve=>ce?.onVideoBitrateChanged?.(Ve))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Ve=>{const wt=this.store?.ui.controls.disabledControls$;wt&&(Ve&&!wt.includes(bo)&&wt.add(bo),Ve||wt.remove(bo))})),this.initMediaSession(),this.interactiveController&&re&&this.initInteractivesStatistics(),this.svelteRootComponent=new b3({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ne,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Le,thumbUrl:ye,videoLogoUrl:H,subtitles:Ie,live:Ce,preload:f,autoplay:h,muted:v,volume:g,fromTime:b,canRewindLive:_,supportLink:V,showAds:A,adsSlotId:S,adsParams:Ae,adsPreviewParam:B,duration:ge,logoClickable:X,logoHidden:j,isMobile:T,failoverHosts:G,fullScreenTarget:ie,showMiniTimer:le,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:x.nextVideoTitle,endScreenVideoThumb:x.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,t=this.videoConfig?.callbacks;t&&this.subscription.add(e.playerPhase.subscribe(o=>t.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>t.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>t.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>t.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>t.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>t.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>t.onAvailableQualitiesChanged?.(o.map(({value:l})=>l).filter(l=>l!==qn.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?t.onPiPEnter?.():t.onPiPExit?.()));const n=t?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.volume.subscribe(o=>n.onVolumeChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&ne.isNonNullable(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:t,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:t,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:l}=e.ui.controls,s=Xe(t),a=Xe(n);Xe(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),l.remove(rl),!s&&this.graphMadePause&&this.play()):(this.graphMadePause=a==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),l.add(rl),!s&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:t,CustomError:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,l=o?Xe(o):this.videoConfig.interfaceLanguage,{projectInfo:s,historyApi:a,videoLoader:r}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:l,graph:this.uiConfig.features.interactiveGraph,projectInfo:s,historyApi:a,vkVideoLoader:r,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(h=>{if(!this.isInited)return;const g=this.store;h?g.ui.controls.disabledControls$.remove(ft.SEEK_TO_INTERACTIVE_BUTTON):g.ui.controls.disabledControls$.add(ft.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(h=>{this.store&&this.store.state.isInteractiveExpectation$.set(h)}));let f=!0;if(this.interactiveController.on(t.playerChanged,h=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...h.config,title:s?.title||h.config.title};const g=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(h.player,g),f&&(f=!1)}),this.interactiveController.on(t.interactives,({type:h,subjectId:g,actionType:v})=>{if(!this.store)return;const b=c.getValue();if(h==="container-removed"&&this.store.actions.internal.completeInteractiveRange(g),h==="action-choice"&&v==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(hr)),h==="action-choice-canceled"){const _=Xe(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&_){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const h=this.interactiveController.getHistoryState();this.subscription.add(h.history$.subscribe(g=>{g.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(g)}))}this.interactiveController.on(t.errors,h=>{this.log({message:h.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:t}=this.statistics;if(!(!e||!t||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/esnext.cjs.js"),o={[n.GO_NEXT_BUTTON]:pt.InteractiveInterfaceClick.NEXT_BUTTON,[n.GO_NEXT_AREA]:pt.InteractiveInterfaceClick.NEXT_AREA,[n.WATCH_AGAIN]:pt.InteractiveInterfaceClick.WATCH_AGAIN,[n.OPEN_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_SHOW,[n.CLOSE_GRAPH]:pt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:l,nextMovie$:s}=this.interactiveController.getStatEvents(),a=new ne.Subject;l.subscribe(r=>{r in o?a.next(o[r]):(t?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(t.attachToInteractive({click$:a,nextMovie$:s}))}catch(n){t?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=or(x3,ne.cloneDeepWith(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=eu(t.ui??{}),this.coreConfig=t.core??{configName:[]},this.statistics={config:t.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},ne.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),ne.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=G3.getLatestSupportedVersion():this.pictureInPictureApi=new Ko),this.mediaSessionApi=this.uiConfig.features.mediaSession?new z3:void 0,this.annotationsApi=this.uiConfig.features.annotations?new Y3:void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Z3(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const t=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:t.nextVideoTitle,endScreenVideoThumb:t.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===ze.Video?this.setupMediaSessionForVideo():e===ze.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",o=>this.seekTime(o.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){this.isControlDisabled(ft.PLAY_BUTTON)||this.store?.playerPhase.is(ze.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(ft.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return to.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const eh=()=>{window.customElements.define("vk-video-player",$3)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return Je.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return Je.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ne.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ne.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ne.loadVKLangPack}});exports.VERSION=Po;exports.registerPlayerWebComponent=eh;