@vkontakte/videoplayer 1.1.36-dev.2fb8fa3a.0 → 1.1.36-dev.3e8d23ea.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2015.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.36-dev.2fb8fa3a.0
3
- * Fri, 31 May 2024 10:23:07 GMT
2
+ * @vkontakte/videoplayer v1.1.36-dev.3e8d23ea.0
3
+ * Mon, 03 Jun 2024 08:07:02 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
5
5
  */
6
- "use strict";var c0=Object.create;var Vl=Object.defineProperty,f0=Object.defineProperties,d0=Object.getOwnPropertyDescriptor,m0=Object.getOwnPropertyDescriptors,p0=Object.getOwnPropertyNames,jr=Object.getOwnPropertySymbols,h0=Object.getPrototypeOf,qr=Object.prototype.hasOwnProperty,v0=Object.prototype.propertyIsEnumerable;var Ll=(i,e,t)=>e in i?Vl(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,pn=(i,e)=>{for(var t in e||(e={}))qr.call(e,t)&&Ll(i,t,e[t]);if(jr)for(var t of jr(e))v0.call(e,t)&&Ll(i,t,e[t]);return i},mo=(i,e)=>f0(i,m0(e));var g0=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of p0(e))!qr.call(i,l)&&l!==t&&Vl(i,l,{get:()=>e[l],enumerable:!(n=d0(e,l))||n.enumerable});return i};var Wr=(i,e,t)=>(t=i!=null?c0(h0(i)):{},g0(e||!i||!i.__esModule?Vl(t,"default",{value:i,enumerable:!0}):t,i));var Ml=(i,e,t)=>(Ll(i,typeof e!="symbol"?e+"":e,t),t);var tn=(i,e,t)=>new Promise((n,l)=>{var r=a=>{try{s(t.next(a))}catch(c){l(c)}},o=a=>{try{s(t.throw(a))}catch(c){l(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,o);s((t=t.apply(i,e)).next())});var et=require("@vkontakte/videoplayer-core/es2015.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),wt=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");require("@vkontakte/videoplayer-interactive/es2015.cjs.js");function fi(i,e,t,n){function l(r){return r instanceof t?r:new t(function(o){o(r)})}return new(t||(t=Promise))(function(r,o){function s(f){try{c(n.next(f))}catch(d){o(d)}}function a(f){try{c(n.throw(f))}catch(d){o(d)}}function c(f){f.done?r(f.value):l(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function K(){}function T1(i,e){for(const t in e)i[t]=e[t];return i}function E1(i){return i()}function Zr(){return Object.create(null)}function nt(i){i.forEach(E1)}function Bn(i){return typeof i=="function"}function we(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Jo;function Kr(i,e){return Jo||(Jo=document.createElement("a")),Jo.href=e,i===Jo.href}function b0(i){return Object.keys(i).length===0}function xt(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function tt(i){let e;return xt(i,t=>e=t)(),e}function D(i,e,t){i.$$.on_destroy.push(xt(e,t))}function Zn(i,e,t,n){if(i){const l=A1(i,e,t,n);return i[0](l)}}function A1(i,e,t,n){return i[1]&&n?T1(t.ctx.slice(),i[1](n(e))):t.ctx}function Kn(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Gn(i,e,t,n,l,r){if(l){const o=A1(e,t,n,r);i.p(o,l)}}function Yn(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 _0(i){return i==null?"":i}const gl=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ze(i,e,t){const n=w0(i);if(!n.getElementById(e)){const l=P("style");l.id=e,l.textContent=t,k0(n,l)}}function w0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function k0(i,e){return p(i.head||i,e),e.sheet}function T(i,e,t){i.insertBefore(e,t||null)}function S(i){i.parentNode&&i.parentNode.removeChild(i)}function Nn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function P(i){return document.createElement(i)}function N(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function De(i){return document.createTextNode(i)}function O(){return De(" ")}function pt(){return De("")}function he(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ei(i){return function(e){return e.preventDefault(),i.call(this,e)}}function st(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 y0(i){return Array.from(i.childNodes)}function Je(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ht(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let xo;function C0(){if(xo===void 0){xo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){xo=!0}}return xo}function dr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=P("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=C0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=he(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=he(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function B(i,e,t){i.classList.toggle(e,!!t)}function Fn(i,e){return new i(e)}let Bo;function Mo(i){Bo=i}function Ro(){if(!Bo)throw new Error("Function called outside component initialization");return Bo}function _n(i){Ro().$$.on_mount.push(i)}function bl(i){Ro().$$.on_destroy.push(i)}function nr(i,e){return Ro().$$.context.set(i,e),e}function mr(i){return Ro().$$.context.get(i)}function I1(){return Ro().$$.context}function Po(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const wo=[],Se=[];let Co=[];const or=[],L1=Promise.resolve();let lr=!1;function V1(){lr||(lr=!0,L1.then(M1))}function Oo(){return V1(),L1}function To(i){Co.push(i)}function qe(i){or.push(i)}const Bl=new Set;let po=0;function M1(){if(po!==0)return;const i=Bo;do{try{for(;po<wo.length;){const e=wo[po];po++,Mo(e),S0(e.$$)}}catch(e){throw wo.length=0,po=0,e}for(Mo(null),wo.length=0,po=0;Se.length;)Se.pop()();for(let e=0;e<Co.length;e+=1){const t=Co[e];Bl.has(t)||(Bl.add(t),t())}Co.length=0}while(wo.length);for(;or.length;)or.pop()();lr=!1,Bl.clear(),Mo(i)}function S0(i){if(i.fragment!==null){i.update(),nt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(To)}}function P0(i){const e=[],t=[];Co.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Co=e}const fl=new Set;let lo;function fe(){lo={r:0,c:[],p:lo}}function de(){lo.r||nt(lo.c),lo=lo.p}function m(i,e){i&&i.i&&(fl.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(fl.has(i))return;fl.add(i),lo.c.push(()=>{fl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Gt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function T0(i,e){const t={},n={},l={$$scope:1};let r=i.length;for(;r--;){const o=i[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(t[a]=s[a],l[a]=1);i[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in t||(t[o]=void 0);return t}function E0(i){return typeof i=="object"&&i!==null?i:{}}function We(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function W(i){i&&i.c()}function U(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),To(()=>{const r=i.$$.on_mount.map(E1).filter(Bn);i.$$.on_destroy?i.$$.on_destroy.push(...r):nt(r),i.$$.on_mount=[]}),l.forEach(To)}function j(i,e){const t=i.$$;t.fragment!==null&&(P0(t.after_update),nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function A0(i,e){i.$$.dirty[0]===-1&&(wo.push(i),V1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,l,r,o,s=[-1]){const a=Bo;Mo(i);const c=i.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:Zr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Zr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(d,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=v)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](v),f&&A0(i,d)),h}):[],c.update(),f=!0,nt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=y0(e.target);c.fragment&&c.fragment.l(d),d.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),U(i,e.target,e.anchor),M1()}Mo(a)}class ye{constructor(){Ml(this,"$$");Ml(this,"$$set")}$destroy(){j(this,1),this.$destroy=K}$on(e,t){if(!Bn(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!b0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const I0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(I0);var Eo;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Eo||(Eo={}));const L0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Eo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},V0=i=>ie.fillWithDefault(i,L0),M0=i=>nr("ui-config",i),wn=()=>mr("ui-config"),rr="vk_player_debug_panel_opened",B1=300,B0=100,N0="videoplayer",R0="videoplayer";var Ee;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ee||(Ee={}));const Do={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},O0=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),D0=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),z0=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var dt;(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"})(dt||(dt={}));const Gr=40,N1=260,F0=60,$o=8,R1=[dt.TIMELINE],dl=[...R1,dt.GRAPH_BUTTON],Yr=[...R1,dt.PLAY_BUTTON],O1=[...dl,dt.PLAY_BUTTON];var ko;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(ko||(ko={}));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 Ao={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},ho=[];function zn(i,e){return{subscribe:Le(i,e).subscribe}}function Le(i,e=K){let t;const n=new Set;function l(s){if(we(i,s)&&(i=s,t)){const a=!ho.length;for(const c of n)c[1](),ho.push(c,i);if(a){for(let c=0;c<ho.length;c+=2)ho[c][0](ho[c+1]);ho.length=0}}}function r(s){l(s(i))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(l,r)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:o}}function Hi(i,e,t){const n=!Array.isArray(i),l=n?[i]:i;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return zn(t,(o,s)=>{let a=!1;const c=[];let f=0,d=K;const h=()=>{if(f)return;d();const v=e(n?c[0]:c,o,s);r?o(v):d=Bn(v)?v:K},b=l.map((v,w)=>xt(v,_=>{c[w]=_,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){nt(b),d(),a=!1}})}const H0="prod",_l="1.1.36-dev.2fb8fa3a.0",D1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},z1=Symbol("storeContext"),F1=Symbol("microStoresContext"),U0=(i,e)=>{nr(z1,i),nr(F1,e)},kt=()=>{const i=mr(z1);return ie.assertNonNullable(i,"Store context is empty!"),i},zo=()=>{const i=mr(F1);return ie.assertNonNullable(i,"MicroStores context is empty!"),i},_t=(i,e)=>H1(i,i.getValue(),e),H1=(i,e,t)=>zn(e,n=>{const l=i.subscribe(r=>{n(r),t==null||t(r)});return()=>l.unsubscribe()}),j0=(i,e,t)=>{var n,l,r,o;const s=i.info,{width:a,height:c}=tt(t.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${_l} (core: ${et.VERSION}, stat: ${wt.VERSION}, shared: ${ie.VERSION})`,v=tt(t.state.errorLog$),w=v.length?`
7
- `+v.map((k,y)=>{var M;const z=`${y}) Type: ${k.id}
8
- `,I=`Message: ${k.message} (${k.thrown})
9
- `,F=`Trace: ${(M=k.thrown)===null||M===void 0?void 0:M.stack}
10
- `;return z+I+F}).join(`
11
- `):void 0,_=t.state.isAudioDisabled?"disabled":tt(t.state.isAudioAvailable$)?void 0:"unavailable",C={Version:b,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${tt(t.state.positionExact$)}s`,State:`${tt(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(C).filter(([k,y])=>y!==void 0).map(([k,y])=>`${k}: ${y}`).join(`
12
- `)},q0=(i,e,t)=>{const n=i.info,{width:l,height:r}=tt(t.ui.playerSize),o={version:_l,viewport:`${l}x${r}`,volume:Math.round(tt(t.state.volume$)*100)};o.id=t.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-tt(t.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();h&&(o.bitrate=h);const b=n.currentVideoSegmentLength$.getValue();b&&(o.currentVideoSegmentLength=b);const v=n.currentAudioSegmentLength$.getValue();return v&&(o.currentAudioSegmentLength=v),o},W0=(i,e)=>D1(i,e,"mp4"),U1="vk_player_prefer_traffic_saving_enabled",j1="vk_player_preferred_volume",q1="vk_player_prefer_volume_mute",pr="vk_player_preferred_quality",W1=i=>i>1?1:i<0?0:i,Qr=i=>ie.safeStorage.set(j1,W1(i).toString(10)),Z1=()=>{const i=ie.safeStorage.get(j1);return ie.isNullable(i)?void 0:W1(parseFloat(i))},Z0=(i,e)=>ie.safeStorage.set(pr,JSON.stringify({videoId:i,value:e})),K1=()=>ie.safeStorage.remove(pr),K0=i=>{const e=ie.safeStorage.get(pr);if(ie.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){K1();return}return n},G1=(i,e)=>{e?ie.safeStorage.set(i,"true"):ie.safeStorage.remove(i)},Y1=i=>ie.safeStorage.get(i)==="true",Nl=i=>G1(q1,i),G0=()=>Y1(q1),Y0=i=>G1(U1,i),Q0=()=>Y1(U1);function X0(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),b=N("feGaussianBlur"),v=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!i[0]||null),u(e,"aria-label",k=i[0]||null)},m(y,M){T(y,e,M),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},p(y,[M]){M&1&&C!==(C=!y[0]||null)&&u(e,"aria-hidden",C),M&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:K,o:K,d(y){y&&S(e)}}}function J0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=l=>{"ariaLabel"in l&&t(0,n=l.ariaLabel)},[n]}class Q1 extends ye{constructor(e){super(),ke(this,e,J0,X0,we,{ariaLabel:0})}}var Rl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function x0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var el=function(i){return i&&i.Math==Math&&i},eo=el(typeof globalThis=="object"&&globalThis)||el(typeof window=="object"&&window)||el(typeof self=="object"&&self)||el(typeof Rl=="object"&&Rl)||function(){return this}()||Rl||Function("return this")(),ao=function(i){try{return!!i()}catch(e){return!0}},$0=ao,wl=!$0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),ed=wl,X1=Function.prototype,Xr=X1.apply,Jr=X1.call,td=typeof Reflect=="object"&&Reflect.apply||(ed?Jr.bind(Xr):function(){return Jr.apply(Xr,arguments)}),J1=wl,x1=Function.prototype,sr=x1.call,id=J1&&x1.bind.bind(sr,sr),to=J1?id:function(i){return function(){return sr.apply(i,arguments)}},$1=to,nd=$1({}.toString),od=$1("".slice),kl=function(i){return od(nd(i),8,-1)},ld=kl,rd=to,ec=function(i){if(ld(i)==="Function")return rd(i)},ar=typeof document=="object"&&document.all,sd=typeof ar=="undefined"&&ar!==void 0,tc={all:ar,IS_HTMLDDA:sd},ic=tc,ad=ic.all,Qn=ic.IS_HTMLDDA?function(i){return typeof i=="function"||i===ad}:function(i){return typeof i=="function"},nc={},ud=ao,Fo=!ud(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),cd=wl,tl=Function.prototype.call,Ho=cd?tl.bind(tl):function(){return tl.apply(tl,arguments)},oc={},lc={}.propertyIsEnumerable,rc=Object.getOwnPropertyDescriptor,fd=rc&&!lc.call({1:2},1);oc.f=fd?function(e){var t=rc(this,e);return!!t&&t.enumerable}:lc;var sc=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},dd=to,md=ao,pd=kl,Ol=Object,hd=dd("".split),vd=md(function(){return!Ol("z").propertyIsEnumerable(0)})?function(i){return pd(i)=="String"?hd(i,""):Ol(i)}:Ol,hr=function(i){return i==null},gd=hr,bd=TypeError,vr=function(i){if(gd(i))throw bd("Can't call method on "+i);return i},_d=vd,wd=vr,kd=function(i){return _d(wd(i))},xr=Qn,ac=tc,yd=ac.all,Uo=ac.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:xr(i)||i===yd}:function(i){return typeof i=="object"?i!==null:xr(i)},uc={},Dl=uc,zl=eo,Cd=Qn,$r=function(i){return Cd(i)?i:void 0},cc=function(i,e){return arguments.length<2?$r(Dl[i])||$r(zl[i]):Dl[i]&&Dl[i][e]||zl[i]&&zl[i][e]},Sd=to,fc=Sd({}.isPrototypeOf),Pd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",dc=eo,Fl=Pd,es=dc.process,ts=dc.Deno,is=es&&es.versions||ts&&ts.version,ns=is&&is.v8,Mn,pl;ns&&(Mn=ns.split("."),pl=Mn[0]>0&&Mn[0]<4?1:+(Mn[0]+Mn[1]));!pl&&Fl&&(Mn=Fl.match(/Edge\/(\d+)/),(!Mn||Mn[1]>=74)&&(Mn=Fl.match(/Chrome\/(\d+)/),Mn&&(pl=+Mn[1])));var Td=pl,os=Td,Ed=ao,Ad=eo,Id=Ad.String,mc=!!Object.getOwnPropertySymbols&&!Ed(function(){var i=Symbol();return!Id(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&os&&os<41}),Ld=mc,pc=Ld&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Vd=cc,Md=Qn,Bd=fc,Nd=pc,Rd=Object,hc=Nd?function(i){return typeof i=="symbol"}:function(i){var e=Vd("Symbol");return Md(e)&&Bd(e.prototype,Rd(i))},Od=String,Dd=function(i){try{return Od(i)}catch(e){return"Object"}},zd=Qn,Fd=Dd,Hd=TypeError,vc=function(i){if(zd(i))return i;throw Hd(Fd(i)+" is not a function")},Ud=vc,jd=hr,gc=function(i,e){var t=i[e];return jd(t)?void 0:Ud(t)},Hl=Ho,Ul=Qn,jl=Uo,qd=TypeError,Wd=function(i,e){var t,n;if(e==="string"&&Ul(t=i.toString)&&!jl(n=Hl(t,i))||Ul(t=i.valueOf)&&!jl(n=Hl(t,i))||e!=="string"&&Ul(t=i.toString)&&!jl(n=Hl(t,i)))return n;throw qd("Can't convert object to primitive value")},bc={exports:{}},ls=eo,Zd=Object.defineProperty,Kd=function(i,e){try{Zd(ls,i,{value:e,configurable:!0,writable:!0})}catch(t){ls[i]=e}return e},Gd=eo,Yd=Kd,rs="__core-js_shared__",Qd=Gd[rs]||Yd(rs,{}),Xd=Qd,ss=Xd;(bc.exports=function(i,e){return ss[i]||(ss[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Jd=bc.exports,xd=vr,$d=Object,_c=function(i){return $d(xd(i))},e2=to,t2=_c,i2=e2({}.hasOwnProperty),yl=Object.hasOwn||function(e,t){return i2(t2(e),t)},n2=to,o2=0,l2=Math.random(),r2=n2(1 .toString),s2=function(i){return"Symbol("+(i===void 0?"":i)+")_"+r2(++o2+l2,36)},a2=eo,u2=Jd,as=yl,c2=s2,f2=mc,d2=pc,yo=a2.Symbol,ql=u2("wks"),m2=d2?yo.for||yo:yo&&yo.withoutSetter||c2,jo=function(i){return as(ql,i)||(ql[i]=f2&&as(yo,i)?yo[i]:m2("Symbol."+i)),ql[i]},p2=Ho,us=Uo,cs=hc,h2=gc,v2=Wd,g2=jo,b2=TypeError,_2=g2("toPrimitive"),w2=function(i,e){if(!us(i)||cs(i))return i;var t=h2(i,_2),n;if(t){if(e===void 0&&(e="default"),n=p2(t,i,e),!us(n)||cs(n))return n;throw b2("Can't convert object to primitive value")}return e===void 0&&(e="number"),v2(i,e)},k2=w2,y2=hc,wc=function(i){var e=k2(i,"string");return y2(e)?e:e+""},C2=eo,fs=Uo,ur=C2.document,S2=fs(ur)&&fs(ur.createElement),P2=function(i){return S2?ur.createElement(i):{}},T2=Fo,E2=ao,A2=P2,kc=!T2&&!E2(function(){return Object.defineProperty(A2("div"),"a",{get:function(){return 7}}).a!=7}),I2=Fo,L2=Ho,V2=oc,M2=sc,B2=kd,N2=wc,R2=yl,O2=kc,ds=Object.getOwnPropertyDescriptor;nc.f=I2?ds:function(e,t){if(e=B2(e),t=N2(t),O2)try{return ds(e,t)}catch(n){}if(R2(e,t))return M2(!L2(V2.f,e,t),e[t])};var D2=ao,z2=Qn,F2=/#|\.prototype\./,qo=function(i,e){var t=U2[H2(i)];return t==q2?!0:t==j2?!1:z2(e)?D2(e):!!e},H2=qo.normalize=function(i){return String(i).replace(F2,".").toLowerCase()},U2=qo.data={},j2=qo.NATIVE="N",q2=qo.POLYFILL="P",W2=qo,ms=ec,Z2=vc,K2=wl,G2=ms(ms.bind),Y2=function(i,e){return Z2(i),e===void 0?i:K2?G2(i,e):function(){return i.apply(e,arguments)}},yc={},Q2=Fo,X2=ao,J2=Q2&&X2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),x2=Uo,$2=String,em=TypeError,Cc=function(i){if(x2(i))return i;throw em($2(i)+" is not an object")},tm=Fo,im=kc,nm=J2,il=Cc,ps=wc,om=TypeError,Wl=Object.defineProperty,lm=Object.getOwnPropertyDescriptor,Zl="enumerable",Kl="configurable",Gl="writable";yc.f=tm?nm?function(e,t,n){if(il(e),t=ps(t),il(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Gl in n&&!n[Gl]){var l=lm(e,t);l&&l[Gl]&&(e[t]=n.value,n={configurable:Kl in n?n[Kl]:l[Kl],enumerable:Zl in n?n[Zl]:l[Zl],writable:!1})}return Wl(e,t,n)}:Wl:function(e,t,n){if(il(e),t=ps(t),il(n),im)try{return Wl(e,t,n)}catch(l){}if("get"in n||"set"in n)throw om("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var rm=Fo,sm=yc,am=sc,um=rm?function(i,e,t){return sm.f(i,e,am(1,t))}:function(i,e,t){return i[e]=t,i},nl=eo,cm=td,fm=ec,dm=Qn,mm=nc.f,pm=W2,vo=uc,hm=Y2,go=um,hs=yl,vm=function(i){var e=function(t,n,l){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,l)}return cm(i,this,arguments)};return e.prototype=i.prototype,e},gm=function(i,e){var t=i.target,n=i.global,l=i.stat,r=i.proto,o=n?nl:l?nl[t]:(nl[t]||{}).prototype,s=n?vo:vo[t]||go(vo,t,{})[t],a=s.prototype,c,f,d,h,b,v,w,_,C;for(h in e)c=pm(n?h:t+(l?".":"#")+h,i.forced),f=!c&&o&&hs(o,h),v=s[h],f&&(i.dontCallGetSet?(C=mm(o,h),w=C&&C.value):w=o[h]),b=f&&w?w:e[h],!(f&&typeof v==typeof b)&&(i.bind&&f?_=hm(b,nl):i.wrap&&f?_=vm(b):r&&dm(b)?_=fm(b):_=b,(i.sham||b&&b.sham||v&&v.sham)&&go(_,"sham",!0),go(s,h,_),r&&(d=t+"Prototype",hs(vo,d)||go(vo,d,{}),go(vo[d],h,b),i.real&&a&&(c||!a[h])&&go(a,h,b)))},bm=Uo,_m=kl,wm=jo,km=wm("match"),ym=function(i){var e;return bm(i)&&((e=i[km])!==void 0?!!e:_m(i)=="RegExp")},Cm=jo,Sm=Cm("toStringTag"),Sc={};Sc[Sm]="z";var Pm=String(Sc)==="[object z]",Tm=Pm,Em=Qn,ml=kl,Am=jo,Im=Am("toStringTag"),Lm=Object,Vm=ml(function(){return arguments}())=="Arguments",Mm=function(i,e){try{return i[e]}catch(t){}},Bm=Tm?ml:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=Mm(e=Lm(i),Im))=="string"?t:Vm?ml(e):(n=ml(e))=="Object"&&Em(e.callee)?"Arguments":n},Nm=Bm,Rm=String,Om=function(i){if(Nm(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Rm(i)},Dm=Cc,zm=function(){var i=Dm(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},Fm=Ho,Hm=yl,Um=fc,jm=zm,vs=RegExp.prototype,qm=function(i){var e=i.flags;return e===void 0&&!("flags"in vs)&&!Hm(i,"flags")&&Um(vs,i)?Fm(jm,i):e},gr=to,Wm=_c,Zm=Math.floor,Yl=gr("".charAt),Km=gr("".replace),Ql=gr("".slice),Gm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ym=/\$([$&'`]|\d{1,2})/g,Qm=function(i,e,t,n,l,r){var o=t+i.length,s=n.length,a=Ym;return l!==void 0&&(l=Wm(l),a=Gm),Km(r,a,function(c,f){var d;switch(Yl(f,0)){case"$":return"$";case"&":return i;case"`":return Ql(e,0,t);case"'":return Ql(e,o);case"<":d=l[Ql(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=Zm(h/10);return b===0?c:b<=s?n[b-1]===void 0?Yl(f,1):n[b-1]+Yl(f,1):c}d=n[h-1]}return d===void 0?"":d})},Xm=gm,Jm=Ho,br=to,gs=vr,xm=Qn,$m=hr,e4=ym,bo=Om,t4=gc,i4=qm,n4=Qm,o4=jo,l4=o4("replace"),r4=TypeError,Pc=br("".indexOf),s4=br("".replace),bs=br("".slice),a4=Math.max,_s=function(i,e,t){return t>i.length?-1:e===""?t:Pc(i,e,t)};Xm({target:"String",proto:!0},{replaceAll:function(e,t){var n=gs(this),l,r,o,s,a,c,f,d,h,b=0,v=0,w="";if(!$m(e)){if(l=e4(e),l&&(r=bo(gs(i4(e))),!~Pc(r,"g")))throw r4("`.replaceAll` does not allow non-global regexes");if(o=t4(e,l4),o)return Jm(o,e,n,t);if(l)return s4(bo(n),e,t)}for(s=bo(n),a=bo(e),c=xm(t),c||(t=bo(t)),f=a.length,d=a4(1,f),b=_s(s,a,0);b!==-1;)h=c?bo(t(a,b,s)):n4(a,s,b,[],void 0,t),w+=bs(s,v,b)+h,v=b+f,b=_s(s,a,b+d);return v<s.length&&(w+=bs(s,v)),w}});var u4=cc,c4=u4,f4=c4,d4=f4("String","replaceAll"),m4=d4,p4=m4,h4=p4,v4=h4,g4=x0(v4);const b4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},_4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},jn=new Map;jn.set(ie.InterfaceLanguage.EN,_4);jn.set(ie.InterfaceLanguage.RU,b4);const Tc=new Map,ws=({language:i,pack:e,fallback:t})=>{if(jn.has(i)){const n=jn.get(i);jn.set(i,Object.assign(Object.assign({},n),e))}else jn.set(i,e);Tc.set(i,t)},ks=i=>jn.has(i),Ec=(i,e,t,n)=>{var l;const r=jn.get(i);let o=r==null?void 0:r[e];if(ie.isNullable(o)){const s=(l=Tc.get(i))!==null&&l!==void 0?l:n,a=s?jn.get(s):void 0;o=a==null?void 0:a[e]}return ie.isNullable(o)?e+Object.values(t!=null?t:{}).join(" "):t?g4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):o},Y=(i,e)=>{const{interfaceLanguage$:t}=kt(),n=tt(t),l=wn();return Ec(n,i,e,l.defaultLanguage)};var hl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(hl||(hl={}));const w4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,k4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,y4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ol="?",C4="X-Sentry-Auth",S4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function P4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
- `);let n,l;for(let r=0;r<t.length;++r){if(n=w4.exec(t[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||ol,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=y4.exec(t[r]))l={filename:n[2],function:n[1]||ol,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=k4.exec(t[r]))r===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),l={filename:n[3],function:n[1]||ol,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=ol),e.push(l)}return e.length?{value:Ac(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Ac(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function T4(i){try{const e=P4(i);if(e)return e}catch(e){}return{value:Ac(i),type:i&&i.name,stacktrace:{frames:[]}}}function E4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class A4{constructor(e){if(e&&e.dsn){const t=S4.exec(e.dsn),n=t?t.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return mo(pn({},this.getRequestBlank()),{exception:{values:[T4(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(C4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:E4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ys(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function I4(){return window}class _r extends A4{constructor(e,t=I4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",pn({},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",pn({},e)),this}setUser(e){return this.setKeyState("user",pn({},e)),this}clone(){const e=new _r(mo(pn({},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:[pn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(mo(pn({},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=>ys(t,n))):!1}getRequestBlank(){return pn(mo(pn({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(pn({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>ys(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return mo(pn({},t),{[n]:r||s?[...r||[],...s||[]]:pn(pn({},typeof l!="string"?l:{}),typeof o!="string"?o:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let ll=null;class cr{constructor(e,t,n={}){!ll&&e.dsn&&(this.sentryClient=new _r({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,ll=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),ll=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:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:b}=t;if(ie.isNonNullable(b)&&d.includes(b)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(b)&&c.includes(b)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(t).length&&l.setTags(Object.assign({version:this.version},t)),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras(Object.assign(Object.assign({},r),n));try{h&&l.captureMessage(h,t.fatal?hl.fatal:hl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return ll}}var So;(function(i){i.AUTO="auto"})(So||(So={}));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 Un;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Un||(Un={}));var $t;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})($t||($t={}));var qn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(qn||(qn={}));var Ye;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ye||(Ye={}));var ro;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(ro||(ro={}));const Ic=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Lc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),L4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},No=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Vc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Mc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},V4=i=>{const e=window.screen;return(l=>fi(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject()}))(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(i))},M4=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class wr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ie.debounceFn(this.onResize.bind(this),B1)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:qn.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return fi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return fi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return fi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield document.exitPictureInPicture())})}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return fi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function vl(i){return i instanceof wr}function B4(i){const e=kt();return _n(()=>{e.getAdmanWrapper().startPostroll()}),[]}class N4 extends ye{constructor(e){super(),ke(this,e,B4,null,we,{})}}function R4(i){Ze(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 O4(i){let e=Y("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=De(e)},m(n,l){T(n,t,l)},p(n,l){l&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Je(t,e)},d(n){n&&S(t)}}}function D4(i){let e,t=Y("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=P("div"),n=De(t),l=O(),r=N("svg"),o=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=he(e,"click",st(function(){Bn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&S(e),s=!1,a()}}}function z4(i){let e;function t(r,o){return r[3]?D4:O4}let n=t(i),l=n(i);return{c(){e=P("div"),l.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",i[4]),B(e,"skippable",i[3])},m(r,o){T(r,e,o),l.m(e,null)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&B(e,"container-mobile",r[4]),o&8&&B(e,"skippable",r[3])},i:K,o:K,d(r){r&&S(e),l.d()}}}function F4(i,e,t){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=ie.noop}=e;const a=kt().ui.isMobile;D(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,l=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,o=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class H4 extends ye{constructor(e){super(),ke(this,e,F4,z4,we,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},R4)}}function U4(i){Ze(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function j4(i){let e;return{c(){e=P("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){T(t,e,n)},p:K,i:K,o:K,d(t){t&&S(e)}}}class q4 extends ye{constructor(e){super(),ke(this,e,null,j4,we,{},U4)}}function W4(i){Ze(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 o0=Object.create;var Ll=Object.defineProperty,l0=Object.defineProperties,r0=Object.getOwnPropertyDescriptor,s0=Object.getOwnPropertyDescriptors,a0=Object.getOwnPropertyNames,Fr=Object.getOwnPropertySymbols,u0=Object.getPrototypeOf,Hr=Object.prototype.hasOwnProperty,c0=Object.prototype.propertyIsEnumerable;var Al=(i,e,t)=>e in i?Ll(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,pn=(i,e)=>{for(var t in e||(e={}))Hr.call(e,t)&&Al(i,t,e[t]);if(Fr)for(var t of Fr(e))c0.call(e,t)&&Al(i,t,e[t]);return i},ho=(i,e)=>l0(i,s0(e));var f0=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of a0(e))!Hr.call(i,l)&&l!==t&&Ll(i,l,{get:()=>e[l],enumerable:!(n=r0(e,l))||n.enumerable});return i};var Ur=(i,e,t)=>(t=i!=null?o0(u0(i)):{},f0(e||!i||!i.__esModule?Ll(t,"default",{value:i,enumerable:!0}):t,i));var Vl=(i,e,t)=>(Al(i,typeof e!="symbol"?e+"":e,t),t);var $i=(i,e,t)=>new Promise((n,l)=>{var r=a=>{try{s(t.next(a))}catch(c){l(c)}},o=a=>{try{s(t.throw(a))}catch(c){l(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,o);s((t=t.apply(i,e)).next())});var tt=require("@vkontakte/videoplayer-core/es2015.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2015.cjs.js"),Ct=require("@vkontakte/videoplayer-statistics/es2015.cjs.js");require("@vkontakte/videoplayer-interactive/es2015.cjs.js");function mi(i,e,t,n){function l(r){return r instanceof t?r:new t(function(o){o(r)})}return new(t||(t=Promise))(function(r,o){function s(f){try{c(n.next(f))}catch(d){o(d)}}function a(f){try{c(n.throw(f))}catch(d){o(d)}}function c(f){f.done?r(f.value):l(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function K(){}function _1(i,e){for(const t in e)i[t]=e[t];return i}function w1(i){return i()}function qr(){return Object.create(null)}function ot(i){i.forEach(w1)}function Ln(i){return typeof i=="function"}function be(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let tl;function jr(i,e){return tl||(tl=document.createElement("a")),tl.href=e,i===tl.href}function d0(i){return Object.keys(i).length===0}function ei(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 et(i){let e;return ei(i,t=>e=t)(),e}function D(i,e,t){i.$$.on_destroy.push(ei(e,t))}function Un(i,e,t,n){if(i){const l=k1(i,e,t,n);return i[0](l)}}function k1(i,e,t,n){return i[1]&&n?_1(t.ctx.slice(),i[1](n(e))):t.ctx}function qn(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function jn(i,e,t,n,l,r){if(l){const o=k1(e,t,n,r);i.p(o,l)}}function Wn(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 m0(i){return i==null?"":i}const y1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ke(i,e,t){const n=p0(i);if(!n.getElementById(e)){const l=E("style");l.id=e,l.textContent=t,h0(n,l)}}function p0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function h0(i,e){return p(i.head||i,e),e.sheet}function T(i,e,t){i.insertBefore(e,t||null)}function S(i){i.parentNode&&i.parentNode.removeChild(i)}function Vn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function E(i){return document.createElement(i)}function N(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function He(i){return document.createTextNode(i)}function R(){return He(" ")}function ht(){return He("")}function ve(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ii(i){return function(e){return e.preventDefault(),i.call(this,e)}}function lt(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 v0(i){return Array.from(i.childNodes)}function it(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ut(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let il;function g0(){if(il===void 0){il=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){il=!0}}return il}function fr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=E("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=g0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ve(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ve(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function M(i,e,t){i.classList.toggle(e,!!t)}function On(i,e){return new i(e)}let Ro;function No(i){Ro=i}function Do(){if(!Ro)throw new Error("Function called outside component initialization");return Ro}function hn(i){Do().$$.on_mount.push(i)}function zo(i){Do().$$.on_destroy.push(i)}function ir(i,e){return Do().$$.context.set(i,e),e}function dr(i){return Do().$$.context.get(i)}function C1(){return Do().$$.context}function lo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const yo=[],Se=[];let To=[];const nr=[],S1=Promise.resolve();let or=!1;function T1(){or||(or=!0,S1.then(P1))}function Fo(){return T1(),S1}function Eo(i){To.push(i)}function qe(i){nr.push(i)}const Ml=new Set;let vo=0;function P1(){if(vo!==0)return;const i=Ro;do{try{for(;vo<yo.length;){const e=yo[vo];vo++,No(e),b0(e.$$)}}catch(e){throw yo.length=0,vo=0,e}for(No(null),yo.length=0,vo=0;Se.length;)Se.pop()();for(let e=0;e<To.length;e+=1){const t=To[e];Ml.has(t)||(Ml.add(t),t())}To.length=0}while(yo.length);for(;nr.length;)nr.pop()();or=!1,Ml.clear(),No(i)}function b0(i){if(i.fragment!==null){i.update(),ot(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}function _0(i){const e=[],t=[];To.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),To=e}const pl=new Set;let no;function de(){no={r:0,c:[],p:no}}function me(){no.r||ot(no.c),no=no.p}function m(i,e){i&&i.i&&(pl.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(pl.has(i))return;pl.add(i),no.c.push(()=>{pl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Qt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function w0(i,e){const t={},n={},l={$$scope:1};let r=i.length;for(;r--;){const o=i[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(t[a]=s[a],l[a]=1);i[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in t||(t[o]=void 0);return t}function k0(i){return typeof i=="object"&&i!==null?i:{}}function je(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function U(i){i&&i.c()}function F(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Eo(()=>{const r=i.$$.on_mount.map(w1).filter(Ln);i.$$.on_destroy?i.$$.on_destroy.push(...r):ot(r),i.$$.on_mount=[]}),l.forEach(Eo)}function H(i,e){const t=i.$$;t.fragment!==null&&(_0(t.after_update),ot(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function y0(i,e){i.$$.dirty[0]===-1&&(yo.push(i),T1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function we(i,e,t,n,l,r,o,s=[-1]){const a=Ro;No(i);const c=i.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:qr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:qr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(d,h,..._)=>{const g=_.length?_[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=g)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](g),f&&y0(i,d)),h}):[],c.update(),f=!0,ot(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=v0(e.target);c.fragment&&c.fragment.l(d),d.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),F(i,e.target,e.anchor),P1()}No(a)}class ke{constructor(){Vl(this,"$$");Vl(this,"$$set")}$destroy(){H(this,1),this.$destroy=K}$on(e,t){if(!Ln(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!d0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const C0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(C0);var Io;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Io||(Io={}));const S0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Io.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},T0=i=>ie.fillWithDefault(i,S0),P0=i=>ir("ui-config",i),_n=()=>dr("ui-config"),lr="vk_player_debug_panel_opened",E1=300,E0=100,I0="videoplayer",A0="videoplayer";var Ee;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ee||(Ee={}));const Ho={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},L0=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),V0=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),M0=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var dt;(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"})(dt||(dt={}));const Wr=40,I1=260,B0=60,nl=8,A1=[dt.TIMELINE],hl=[...A1,dt.GRAPH_BUTTON],Zr=[...A1,dt.PLAY_BUTTON],L1=[...hl,dt.PLAY_BUTTON];var Co;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Co||(Co={}));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 Ao={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},go=[];function Rn(i,e){return{subscribe:Me(i,e).subscribe}}function Me(i,e=K){let t;const n=new Set;function l(s){if(be(i,s)&&(i=s,t)){const a=!go.length;for(const c of n)c[1](),go.push(c,i);if(a){for(let c=0;c<go.length;c+=2)go[c][0](go[c+1]);go.length=0}}}function r(s){l(s(i))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(l,r)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:o}}function Wi(i,e,t){const n=!Array.isArray(i),l=n?[i]:i;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Rn(t,(o,s)=>{let a=!1;const c=[];let f=0,d=K;const h=()=>{if(f)return;d();const g=e(n?c[0]:c,o,s);r?o(g):d=Ln(g)?g:K},_=l.map((g,w)=>ei(g,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){ot(_),d(),a=!1}})}const N0="prod",wl="1.1.36-dev.3e8d23ea.0",V1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},M1=Symbol("storeContext"),B1=Symbol("microStoresContext"),R0=(i,e)=>{ir(M1,i),ir(B1,e)},St=()=>{const i=dr(M1);return ie.assertNonNullable(i,"Store context is empty!"),i},Uo=()=>{const i=dr(B1);return ie.assertNonNullable(i,"MicroStores context is empty!"),i},yt=(i,e)=>N1(i,i.getValue(),e),N1=(i,e,t)=>Rn(e,n=>{const l=i.subscribe(r=>{n(r),t==null||t(r)});return()=>l.unsubscribe()}),O0=(i,e,t)=>{var n,l,r,o;const s=i.info,{width:a,height:c}=et(t.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${wl} (core: ${tt.VERSION}, stat: ${Ct.VERSION}, shared: ${ie.VERSION})`,g=et(t.state.errorLog$),w=g.length?`
7
+ `+g.map((k,y)=>{var V;const Q=`${y}) Type: ${k.id}
8
+ `,A=`Message: ${k.message} (${k.thrown})
9
+ `,z=`Trace: ${(V=k.thrown)===null||V===void 0?void 0:V.stack}
10
+ `;return Q+A+z}).join(`
11
+ `):void 0,b=t.state.isAudioDisabled?"disabled":et(t.state.isAudioAvailable$)?void 0:"unavailable",C={Version:_,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:b,Position:`${et(t.state.positionExact$)}s`,State:`${et(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(C).filter(([k,y])=>y!==void 0).map(([k,y])=>`${k}: ${y}`).join(`
12
+ `)},D0=(i,e,t)=>{const n=i.info,{width:l,height:r}=et(t.ui.playerSize),o={version:wl,viewport:`${l}x${r}`,volume:Math.round(et(t.state.volume$)*100)};o.id=t.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-et(t.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},z0=(i,e)=>V1(i,e,"mp4"),R1="vk_player_prefer_traffic_saving_enabled",O1="vk_player_preferred_volume",D1="vk_player_prefer_volume_mute",mr="vk_player_preferred_quality",z1=i=>i>1?1:i<0?0:i,Kr=i=>ie.safeStorage.set(O1,z1(i).toString(10)),F1=()=>{const i=ie.safeStorage.get(O1);return ie.isNullable(i)?void 0:z1(parseFloat(i))},F0=(i,e)=>ie.safeStorage.set(mr,JSON.stringify({videoId:i,value:e})),H1=()=>ie.safeStorage.remove(mr),H0=i=>{const e=ie.safeStorage.get(mr);if(ie.isNullable(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){H1();return}return n},U1=(i,e)=>{e?ie.safeStorage.set(i,"true"):ie.safeStorage.remove(i)},q1=i=>ie.safeStorage.get(i)==="true",Bl=i=>U1(D1,i),U0=()=>q1(D1),q0=i=>U1(R1,i),j0=()=>q1(R1);function W0(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_618_12297"),u(b,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!i[0]||null),u(e,"aria-label",k=i[0]||null)},m(y,V){T(y,e,V),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},p(y,[V]){V&1&&C!==(C=!y[0]||null)&&u(e,"aria-hidden",C),V&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:K,o:K,d(y){y&&S(e)}}}function Z0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=l=>{"ariaLabel"in l&&t(0,n=l.ariaLabel)},[n]}class j1 extends ke{constructor(e){super(),we(this,e,Z0,W0,be,{ariaLabel:0})}}var Nl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function K0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var ol=function(i){return i&&i.Math==Math&&i},$n=ol(typeof globalThis=="object"&&globalThis)||ol(typeof window=="object"&&window)||ol(typeof self=="object"&&self)||ol(typeof Nl=="object"&&Nl)||function(){return this}()||Nl||Function("return this")(),so=function(i){try{return!!i()}catch(e){return!0}},G0=so,kl=!G0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),Y0=kl,W1=Function.prototype,Gr=W1.apply,Yr=W1.call,Q0=typeof Reflect=="object"&&Reflect.apply||(Y0?Yr.bind(Gr):function(){return Yr.apply(Gr,arguments)}),Z1=kl,K1=Function.prototype,rr=K1.call,X0=Z1&&K1.bind.bind(rr,rr),eo=Z1?X0:function(i){return function(){return rr.apply(i,arguments)}},G1=eo,J0=G1({}.toString),x0=G1("".slice),yl=function(i){return x0(J0(i),8,-1)},$0=yl,ed=eo,Y1=function(i){if($0(i)==="Function")return ed(i)},sr=typeof document=="object"&&document.all,td=typeof sr=="undefined"&&sr!==void 0,Q1={all:sr,IS_HTMLDDA:td},X1=Q1,id=X1.all,Zn=X1.IS_HTMLDDA?function(i){return typeof i=="function"||i===id}:function(i){return typeof i=="function"},J1={},nd=so,qo=!nd(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),od=kl,ll=Function.prototype.call,jo=od?ll.bind(ll):function(){return ll.apply(ll,arguments)},x1={},$1={}.propertyIsEnumerable,ec=Object.getOwnPropertyDescriptor,ld=ec&&!$1.call({1:2},1);x1.f=ld?function(e){var t=ec(this,e);return!!t&&t.enumerable}:$1;var tc=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},rd=eo,sd=so,ad=yl,Rl=Object,ud=rd("".split),cd=sd(function(){return!Rl("z").propertyIsEnumerable(0)})?function(i){return ad(i)=="String"?ud(i,""):Rl(i)}:Rl,pr=function(i){return i==null},fd=pr,dd=TypeError,hr=function(i){if(fd(i))throw dd("Can't call method on "+i);return i},md=cd,pd=hr,hd=function(i){return md(pd(i))},Qr=Zn,ic=Q1,vd=ic.all,Wo=ic.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:Qr(i)||i===vd}:function(i){return typeof i=="object"?i!==null:Qr(i)},nc={},Ol=nc,Dl=$n,gd=Zn,Xr=function(i){return gd(i)?i:void 0},oc=function(i,e){return arguments.length<2?Xr(Ol[i])||Xr(Dl[i]):Ol[i]&&Ol[i][e]||Dl[i]&&Dl[i][e]},bd=eo,lc=bd({}.isPrototypeOf),_d=typeof navigator!="undefined"&&String(navigator.userAgent)||"",rc=$n,zl=_d,Jr=rc.process,xr=rc.Deno,$r=Jr&&Jr.versions||xr&&xr.version,es=$r&&$r.v8,An,gl;es&&(An=es.split("."),gl=An[0]>0&&An[0]<4?1:+(An[0]+An[1]));!gl&&zl&&(An=zl.match(/Edge\/(\d+)/),(!An||An[1]>=74)&&(An=zl.match(/Chrome\/(\d+)/),An&&(gl=+An[1])));var wd=gl,ts=wd,kd=so,yd=$n,Cd=yd.String,sc=!!Object.getOwnPropertySymbols&&!kd(function(){var i=Symbol();return!Cd(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&ts&&ts<41}),Sd=sc,ac=Sd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Td=oc,Pd=Zn,Ed=lc,Id=ac,Ad=Object,uc=Id?function(i){return typeof i=="symbol"}:function(i){var e=Td("Symbol");return Pd(e)&&Ed(e.prototype,Ad(i))},Ld=String,Vd=function(i){try{return Ld(i)}catch(e){return"Object"}},Md=Zn,Bd=Vd,Nd=TypeError,cc=function(i){if(Md(i))return i;throw Nd(Bd(i)+" is not a function")},Rd=cc,Od=pr,fc=function(i,e){var t=i[e];return Od(t)?void 0:Rd(t)},Fl=jo,Hl=Zn,Ul=Wo,Dd=TypeError,zd=function(i,e){var t,n;if(e==="string"&&Hl(t=i.toString)&&!Ul(n=Fl(t,i))||Hl(t=i.valueOf)&&!Ul(n=Fl(t,i))||e!=="string"&&Hl(t=i.toString)&&!Ul(n=Fl(t,i)))return n;throw Dd("Can't convert object to primitive value")},dc={exports:{}},is=$n,Fd=Object.defineProperty,Hd=function(i,e){try{Fd(is,i,{value:e,configurable:!0,writable:!0})}catch(t){is[i]=e}return e},Ud=$n,qd=Hd,ns="__core-js_shared__",jd=Ud[ns]||qd(ns,{}),Wd=jd,os=Wd;(dc.exports=function(i,e){return os[i]||(os[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Zd=dc.exports,Kd=hr,Gd=Object,mc=function(i){return Gd(Kd(i))},Yd=eo,Qd=mc,Xd=Yd({}.hasOwnProperty),Cl=Object.hasOwn||function(e,t){return Xd(Qd(e),t)},Jd=eo,xd=0,$d=Math.random(),e2=Jd(1 .toString),t2=function(i){return"Symbol("+(i===void 0?"":i)+")_"+e2(++xd+$d,36)},i2=$n,n2=Zd,ls=Cl,o2=t2,l2=sc,r2=ac,So=i2.Symbol,ql=n2("wks"),s2=r2?So.for||So:So&&So.withoutSetter||o2,Zo=function(i){return ls(ql,i)||(ql[i]=l2&&ls(So,i)?So[i]:s2("Symbol."+i)),ql[i]},a2=jo,rs=Wo,ss=uc,u2=fc,c2=zd,f2=Zo,d2=TypeError,m2=f2("toPrimitive"),p2=function(i,e){if(!rs(i)||ss(i))return i;var t=u2(i,m2),n;if(t){if(e===void 0&&(e="default"),n=a2(t,i,e),!rs(n)||ss(n))return n;throw d2("Can't convert object to primitive value")}return e===void 0&&(e="number"),c2(i,e)},h2=p2,v2=uc,pc=function(i){var e=h2(i,"string");return v2(e)?e:e+""},g2=$n,as=Wo,ar=g2.document,b2=as(ar)&&as(ar.createElement),_2=function(i){return b2?ar.createElement(i):{}},w2=qo,k2=so,y2=_2,hc=!w2&&!k2(function(){return Object.defineProperty(y2("div"),"a",{get:function(){return 7}}).a!=7}),C2=qo,S2=jo,T2=x1,P2=tc,E2=hd,I2=pc,A2=Cl,L2=hc,us=Object.getOwnPropertyDescriptor;J1.f=C2?us:function(e,t){if(e=E2(e),t=I2(t),L2)try{return us(e,t)}catch(n){}if(A2(e,t))return P2(!S2(T2.f,e,t),e[t])};var V2=so,M2=Zn,B2=/#|\.prototype\./,Ko=function(i,e){var t=R2[N2(i)];return t==D2?!0:t==O2?!1:M2(e)?V2(e):!!e},N2=Ko.normalize=function(i){return String(i).replace(B2,".").toLowerCase()},R2=Ko.data={},O2=Ko.NATIVE="N",D2=Ko.POLYFILL="P",z2=Ko,cs=Y1,F2=cc,H2=kl,U2=cs(cs.bind),q2=function(i,e){return F2(i),e===void 0?i:H2?U2(i,e):function(){return i.apply(e,arguments)}},vc={},j2=qo,W2=so,Z2=j2&&W2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),K2=Wo,G2=String,Y2=TypeError,gc=function(i){if(K2(i))return i;throw Y2(G2(i)+" is not an object")},Q2=qo,X2=hc,J2=Z2,rl=gc,fs=pc,x2=TypeError,jl=Object.defineProperty,$2=Object.getOwnPropertyDescriptor,Wl="enumerable",Zl="configurable",Kl="writable";vc.f=Q2?J2?function(e,t,n){if(rl(e),t=fs(t),rl(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Kl in n&&!n[Kl]){var l=$2(e,t);l&&l[Kl]&&(e[t]=n.value,n={configurable:Zl in n?n[Zl]:l[Zl],enumerable:Wl in n?n[Wl]:l[Wl],writable:!1})}return jl(e,t,n)}:jl:function(e,t,n){if(rl(e),t=fs(t),rl(n),X2)try{return jl(e,t,n)}catch(l){}if("get"in n||"set"in n)throw x2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var em=qo,tm=vc,im=tc,nm=em?function(i,e,t){return tm.f(i,e,im(1,t))}:function(i,e,t){return i[e]=t,i},sl=$n,om=Q0,lm=Y1,rm=Zn,sm=J1.f,am=z2,bo=nc,um=q2,_o=nm,ds=Cl,cm=function(i){var e=function(t,n,l){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,l)}return om(i,this,arguments)};return e.prototype=i.prototype,e},fm=function(i,e){var t=i.target,n=i.global,l=i.stat,r=i.proto,o=n?sl:l?sl[t]:(sl[t]||{}).prototype,s=n?bo:bo[t]||_o(bo,t,{})[t],a=s.prototype,c,f,d,h,_,g,w,b,C;for(h in e)c=am(n?h:t+(l?".":"#")+h,i.forced),f=!c&&o&&ds(o,h),g=s[h],f&&(i.dontCallGetSet?(C=sm(o,h),w=C&&C.value):w=o[h]),_=f&&w?w:e[h],!(f&&typeof g==typeof _)&&(i.bind&&f?b=um(_,sl):i.wrap&&f?b=cm(_):r&&rm(_)?b=lm(_):b=_,(i.sham||_&&_.sham||g&&g.sham)&&_o(b,"sham",!0),_o(s,h,b),r&&(d=t+"Prototype",ds(bo,d)||_o(bo,d,{}),_o(bo[d],h,_),i.real&&a&&(c||!a[h])&&_o(a,h,_)))},dm=Wo,mm=yl,pm=Zo,hm=pm("match"),vm=function(i){var e;return dm(i)&&((e=i[hm])!==void 0?!!e:mm(i)=="RegExp")},gm=Zo,bm=gm("toStringTag"),bc={};bc[bm]="z";var _m=String(bc)==="[object z]",wm=_m,km=Zn,vl=yl,ym=Zo,Cm=ym("toStringTag"),Sm=Object,Tm=vl(function(){return arguments}())=="Arguments",Pm=function(i,e){try{return i[e]}catch(t){}},Em=wm?vl:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=Pm(e=Sm(i),Cm))=="string"?t:Tm?vl(e):(n=vl(e))=="Object"&&km(e.callee)?"Arguments":n},Im=Em,Am=String,Lm=function(i){if(Im(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Am(i)},Vm=gc,Mm=function(){var i=Vm(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},Bm=jo,Nm=Cl,Rm=lc,Om=Mm,ms=RegExp.prototype,Dm=function(i){var e=i.flags;return e===void 0&&!("flags"in ms)&&!Nm(i,"flags")&&Rm(ms,i)?Bm(Om,i):e},vr=eo,zm=mc,Fm=Math.floor,Gl=vr("".charAt),Hm=vr("".replace),Yl=vr("".slice),Um=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,qm=/\$([$&'`]|\d{1,2})/g,jm=function(i,e,t,n,l,r){var o=t+i.length,s=n.length,a=qm;return l!==void 0&&(l=zm(l),a=Um),Hm(r,a,function(c,f){var d;switch(Gl(f,0)){case"$":return"$";case"&":return i;case"`":return Yl(e,0,t);case"'":return Yl(e,o);case"<":d=l[Yl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var _=Fm(h/10);return _===0?c:_<=s?n[_-1]===void 0?Gl(f,1):n[_-1]+Gl(f,1):c}d=n[h-1]}return d===void 0?"":d})},Wm=fm,Zm=jo,gr=eo,ps=hr,Km=Zn,Gm=pr,Ym=vm,wo=Lm,Qm=fc,Xm=Dm,Jm=jm,xm=Zo,$m=xm("replace"),e4=TypeError,_c=gr("".indexOf),t4=gr("".replace),hs=gr("".slice),i4=Math.max,vs=function(i,e,t){return t>i.length?-1:e===""?t:_c(i,e,t)};Wm({target:"String",proto:!0},{replaceAll:function(e,t){var n=ps(this),l,r,o,s,a,c,f,d,h,_=0,g=0,w="";if(!Gm(e)){if(l=Ym(e),l&&(r=wo(ps(Xm(e))),!~_c(r,"g")))throw e4("`.replaceAll` does not allow non-global regexes");if(o=Qm(e,$m),o)return Zm(o,e,n,t);if(l)return t4(wo(n),e,t)}for(s=wo(n),a=wo(e),c=Km(t),c||(t=wo(t)),f=a.length,d=i4(1,f),_=vs(s,a,0);_!==-1;)h=c?wo(t(a,_,s)):Jm(a,s,_,[],void 0,t),w+=hs(s,g,_)+h,g=_+f,_=vs(s,a,_+d);return g<s.length&&(w+=hs(s,g)),w}});var n4=oc,o4=n4,l4=o4,r4=l4("String","replaceAll"),s4=r4,a4=s4,u4=a4,c4=u4,f4=K0(c4);const d4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_interactive_interaction_time_indicator:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},m4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_interactive_interaction_time_indicator:"Press the interactive element",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},zn=new Map;zn.set(ie.InterfaceLanguage.EN,m4);zn.set(ie.InterfaceLanguage.RU,d4);const wc=new Map,gs=({language:i,pack:e,fallback:t})=>{if(zn.has(i)){const n=zn.get(i);zn.set(i,Object.assign(Object.assign({},n),e))}else zn.set(i,e);wc.set(i,t)},bs=i=>zn.has(i),kc=(i,e,t,n)=>{var l;const r=zn.get(i);let o=r==null?void 0:r[e];if(ie.isNullable(o)){const s=(l=wc.get(i))!==null&&l!==void 0?l:n,a=s?zn.get(s):void 0;o=a==null?void 0:a[e]}return ie.isNullable(o)?e+Object.values(t!=null?t:{}).join(" "):t?f4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):o},G=(i,e)=>{const{interfaceLanguage$:t}=St(),n=et(t),l=_n();return kc(n,i,e,l.defaultLanguage)};var bl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(bl||(bl={}));const p4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,h4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,v4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,al="?",g4="X-Sentry-Auth",b4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function _4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
+ `);let n,l;for(let r=0;r<t.length;++r){if(n=p4.exec(t[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||al,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=v4.exec(t[r]))l={filename:n[2],function:n[1]||al,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=h4.exec(t[r]))r===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),l={filename:n[3],function:n[1]||al,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=al),e.push(l)}return e.length?{value:yc(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function yc(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function w4(i){try{const e=_4(i);if(e)return e}catch(e){}return{value:yc(i),type:i&&i.name,stacktrace:{frames:[]}}}function k4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class y4{constructor(e){if(e&&e.dsn){const t=b4.exec(e.dsn),n=t?t.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return ho(pn({},this.getRequestBlank()),{exception:{values:[w4(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(g4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:k4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function _s(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function C4(){return window}class br extends y4{constructor(e,t=C4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",pn({},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",pn({},e)),this}setUser(e){return this.setKeyState("user",pn({},e)),this}clone(){const e=new br(ho(pn({},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:[pn({timestamp:Date.now()/1e3},this.beforeBreadcrumb(e))]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send(ho(pn({},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=>_s(t,n))):!1}getRequestBlank(){return pn(ho(pn({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(pn({release:this.release},e))),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>_s(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return ho(pn({},t),{[n]:r||s?[...r||[],...s||[]]:pn(pn({},typeof l!="string"?l:{}),typeof o!="string"?o:{})})},this._state)}setKeyState(e,t){this._state[e]=t}}let ul=null;class ur{constructor(e,t,n={}){!ul&&e.dsn&&(this.sentryClient=new br({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,ul=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),ul=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:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:_}=t;if(ie.isNonNullable(_)&&d.includes(_)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(_)&&c.includes(_)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(t).length&&l.setTags(Object.assign({version:this.version},t)),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras(Object.assign(Object.assign({},r),n));try{h&&l.captureMessage(h,t.fatal?bl.fatal:bl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return ul}}var Po;(function(i){i.AUTO="auto"})(Po||(Po={}));var De;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(De||(De={}));var Dn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Dn||(Dn={}));var ti;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(ti||(ti={}));var Fn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Fn||(Fn={}));var Qe;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Qe||(Qe={}));var oo;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(oo||(oo={}));const Cc=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Sc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),S4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Oo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Tc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Pc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},T4=i=>{const e=window.screen;return(l=>mi(void 0,void 0,void 0,function*(){return e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject()}))(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(i))},P4=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class _r{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ie.debounceFn(this.onResize.bind(this),E1)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:Fn.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}revealPictureInPicture(){return mi(this,void 0,void 0,function*(){this.isRequested&&(this.unregistryEventHandlers(),yield this.request(),this.registryEventHandlers())})}request(){var e;return mi(this,void 0,void 0,function*(){if(!(!this.isSupported()||this.isActive()))try{yield(e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture()}catch(t){this.isRequested=!1}})}remove(){return mi(this,void 0,void 0,function*(){!this.isSupported()||!this.isActive()||(yield document.exitPictureInPicture())})}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers=Object.assign({},e)}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}dispose(){return mi(this,void 0,void 0,function*(){this.unregistryEventHandlers(),yield this.remove()})}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function _l(i){return i instanceof _r}function E4(i){const e=St();return hn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class I4 extends ke{constructor(e){super(),we(this,e,E4,null,be,{})}}function A4(i){Ke(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 L4(i){let e=G("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=He(e)},m(n,l){T(n,t,l)},p(n,l){l&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&it(t,e)},d(n){n&&S(t)}}}function V4(i){let e,t=G("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=E("div"),n=He(t),l=R(),r=N("svg"),o=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=ve(e,"click",lt(function(){Ln(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&S(e),s=!1,a()}}}function M4(i){let e;function t(r,o){return r[3]?V4:L4}let n=t(i),l=n(i);return{c(){e=E("div"),l.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",i[4]),M(e,"skippable",i[3])},m(r,o){T(r,e,o),l.m(e,null)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&M(e,"container-mobile",r[4]),o&8&&M(e,"skippable",r[3])},i:K,o:K,d(r){r&&S(e),l.d()}}}function B4(i,e,t){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=ie.noop}=e;const a=St().ui.isMobile;D(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,l=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,o=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class N4 extends ke{constructor(e){super(),we(this,e,B4,M4,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},A4)}}function R4(i){Ke(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 O4(i){let e;return{c(){e=E("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){T(t,e,n)},p:K,i:K,o:K,d(t){t&&S(e)}}}class D4 extends ke{constructor(e){super(),we(this,e,null,O4,be,{},R4)}}function z4(i){Ke(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 Cs(i){let e;return{c(){e=P("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Ss(i){let e,t;return e=new H4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ps(i){let e,t;return e=new N4({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ts(i){let e,t;return e=new q4({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Z4(i){let e,t,n,l,r,o,s,a=i[0]&&Cs(),c=i[3]&&Ss(i),f=i[7]&&Ps(),d=i[4]&&Ts();return{c(){e=P("div"),a&&a.c(),t=O(),n=P("video"),l=O(),c&&c.c(),r=O(),f&&f.c(),o=O(),d&&d.c(),Ht(n,"width","100%"),Ht(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){T(h,e,b),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),i[20](e),s=!0},p(h,[b]){h[0]?a||(a=Cs(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&m(c,1)):(c=Ss(h),c.c(),m(c,1),c.m(e,r)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?b&128&&m(f,1):(f=Ps(),f.c(),m(f,1),f.m(e,o)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?d?b&16&&m(d,1):(d=Ts(),d.c(),m(d,1),d.m(e,null)):d&&(fe(),g(d,1,1,()=>{d=null}),de())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){g(c),g(f),g(d),s=!1},d(h){h&&S(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),d&&d.d(),i[20](null)}}}function K4(i,e,t){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=kt(),b=h.state.isEnded$;D(i,b,R=>t(7,s=R));const v=h.ui.isMobile;D(i,v,R=>t(0,l=R));let w,_,C=!1;const k=h.ads.playbackState;D(i,k,R=>t(18,n=R));const y=h.ads.canSkip,M=h.ads.position;D(i,M,R=>t(5,r=R));const z=h.ads.secondsToWatchBeforeSkip;D(i,z,R=>t(6,o=R));let I,F;_n(()=>{const R=new AbortController;let te=()=>{R.abort()};const X=h.getAdmanWrapper();if(!a){X.onAdmanLoadingError();return}const{width:G,height:A}=tt(h.ui.playerSize),V=tt(h.ui.isFullscreen),J=tt(h.ui.isAutoplay),L={width:G,height:A,isFullscreen:V,isAutoplay:J,adsContainer:w,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(X.initAdman(L),C=!0):X.loadAdman(R.signal).then(()=>{X.initAdman(L),C=!0}).catch(()=>{X.onAdmanLoadingError()}),()=>{!C&&te()}});function ue(R){Se[R?"unshift":"push"](()=>{_=R,t(2,_)})}function ae(R){Se[R?"unshift":"push"](()=>{w=R,t(1,w)})}return i.$$set=R=>{"adsSlotId"in R&&t(14,a=R.adsSlotId),"adsParams"in R&&t(15,c=R.adsParams),"adsPreviewParam"in R&&t(16,f=R.adsPreviewParam),"duration"in R&&t(17,d=R.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,I=y&&n!==$t.INACTIVE),i.$$.dirty&262145&&t(4,F=l&&n!==$t.INACTIVE)},[l,w,_,I,F,r,o,s,h,b,v,k,M,z,a,c,f,d,n,ue,ae]}class Bc extends ye{constructor(e){super(),ke(this,e,K4,Z4,we,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},W4)}}const Wn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function G4(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},d(l){l&&S(e)}}}function Y4(i){let e,t,n;return{c(){e=N("svg"),t=N("rect"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},d(l){l&&S(e)}}}function Q4(i){let e;function t(r,o){return r[0]?Y4:G4}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function X4(i,e,t){let{isActive:n=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,n=l.isActive)},[n]}class Nc extends ye{constructor(e){super(),ke(this,e,X4,Q4,we,{isActive:0})}}function J4(i){Ze(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function x4(i){let e=Wn(i[4]-i[3])+"",t;return{c(){t=De(e)},m(n,l){T(n,t,l)},p(n,l){l&24&&e!==(e=Wn(n[4]-n[3])+"")&&Je(t,e)},i:K,o:K,d(n){n&&S(t)}}}function $4(i){let e,t,n;return t=new Nc({props:{isActive:!0}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){T(l,e,r),U(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function ep(i){let e,t,n,l,r,o,s;const a=[$4,x4],c=[];function f(d,h){return d[1]?0:1}return r=f(i),o=c[r]=a[r](i),{c(){e=P("div"),t=P("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=O(),l=P("span"),o.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),B(e,"live",i[1]),B(e,"hidden",i[0]),B(e,"playing",i[2])},m(d,h){T(d,e,h),p(e,t),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let b=r;r=f(d),r===b?c[r].p(d,h):(fe(),g(c[b],1,1,()=>{c[b]=null}),de(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&B(e,"live",d[1]),(!s||h&1)&&B(e,"hidden",d[0]),(!s||h&4)&&B(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){g(o),s=!1},d(d){d&&S(e),c[r].d()}}}function tp(i,e,t){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,l=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,o=a.position),"duration"in a&&t(4,s=a.duration)},[n,l,r,o,s]}class Rc extends ye{constructor(e){super(),ke(this,e,tp,ep,we,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},J4)}}const fr=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)}}},so=i=>{i.stopPropagation(),i.preventDefault()},ip=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},np=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},op=i=>{const e=i.code;return e===Ee.Tab&&!i.shiftKey||e===Ee.ArrowDown},lp=i=>{const e=i.code;return e===Ee.Tab||e===Ee.ArrowUp},Oc=i=>i.code===Ee.Escape,rp=i=>i.code===Ee.ArrowLeft,Dc=(i,e=!0)=>{const t=i.code;return[Ee.Enter,Ee.Space].includes(t)||!e&&t===Ee.ArrowRight},zc=i=>{if(op(i)){so(i),np(i.target);return}lp(i)&&(so(i),ip(i.target))},kr=i=>(i==null?void 0:i.detail)===0,yr=(i,e,t)=>fi(void 0,void 0,void 0,function*(){yield Oo(),i&&!i.classList.contains("opened")&&!e&&tt(t)&&(t.set(!1),i.focus())}),Cr=(i,e,t)=>fi(void 0,void 0,void 0,function*(){yield Oo(),!!i&&e&&t&&i.firstChild.focus()}),rl=(i,e,t)=>fi(void 0,void 0,void 0,function*(){!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},B0))}),Fc=(i,e)=>{zc(i),Oc(i)&&(so(i),e())},sl=(i,e,t)=>fi(void 0,void 0,void 0,function*(){if(Dc(i,!1)){so(i),e(),yield Oo();const n=t();n==null||n.focus()}}),al=(i,e,t,n)=>fi(void 0,void 0,void 0,function*(){if(zc(i),rp(i)){so(i),e(),t.set(!0);return}Oc(i)&&(so(i),n())}),an=(i,e)=>{Dc(i)&&(so(i),e())};function sp(i){Ze(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 Es(i){var M;let e,t,n,l,r,o,s=(i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,d=Y("menu_debug_overlay")+"",h,b,v,w,_=i[9].features.copyVideoLink&&((M=i[8].callbacks)==null?void 0:M.onCopyVideoLink)&&ap(i),C=i[11]&&i[5]!==et.ChromecastState.CONNECTED&&!i[16]&&Is(i),k=i[9].features.videoRotate&&!i[16]&&up(i),y=i[9].showSupport&&!i[6]&&Ls(i);return{c(){e=P("ul"),_&&_.c(),t=O(),C&&C.c(),n=O(),k&&k.c(),l=O(),y&&y.c(),r=O(),o=P("li"),a=De(s),c=O(),f=P("li"),h=De(d),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",b=i[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ht(e,"top",i[3]+"px"),Ht(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(z,I){T(z,e,I),_&&_.m(e,null),p(e,t),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(w=[he(o,"click",st(i[19])),he(o,"keydown",i[29]),he(f,"click",st(i[20])),he(f,"keydown",i[30]),he(e,"contextmenu",ei(i[37])),he(e,"keydown",i[23])],v=!0)},p(z,I){var F;z[9].features.copyVideoLink&&((F=z[8].callbacks)!=null&&F.onCopyVideoLink)&&_.p(z,I),z[11]&&z[5]!==et.ChromecastState.CONNECTED&&!z[16]?C?C.p(z,I):(C=Is(z),C.c(),C.m(e,n)):C&&(C.d(1),C=null),z[9].features.videoRotate&&!z[16]&&k.p(z,I),z[9].showSupport&&!z[6]?y?y.p(z,I):(y=Ls(z),y.c(),y.m(e,r)):y&&(y.d(1),y=null),I[0]&128&&b!==(b=z[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),I[0]&8&&Ht(e,"top",z[3]+"px"),I[0]&4&&Ht(e,"left",z[2]+"px")},d(z){z&&S(e),_&&_.d(),C&&C.d(),k&&k.d(),y&&y.d(),i[40](null),v=!1,nt(w)}}}function ap(i){let e,t=Y("menu_copy_video_link")+"",n,l,r,o,s,a=!i[4]&&!i[16]&&As(i);return{c(){e=P("li"),n=De(t),l=O(),a&&a.c(),r=pt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),p(e,n),T(c,l,f),a&&a.m(c,f),T(c,r,f),o||(s=[he(e,"click",st(i[38])),he(e,"keydown",i[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=As(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,nt(s)}}}function As(i){let e,t=Y("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=P("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[39])),he(e,"keydown",i[25])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function Is(i){let e,t=Y("menu_pip")+"",n,l,r;return{c(){e=P("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[21])),he(e,"keydown",i[26])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function up(i){let e,t=Y("menu_video_rotate")+"",n,l,r;return{c(){e=P("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[17])),he(e,"keydown",i[27])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function Ls(i){let e,t=Y("menu_report")+"",n,l,r;return{c(){e=P("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[18])),he(e,"keydown",i[28])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function cp(i){let e,t=i[1]&&Es(i);return{c(){t&&t.c(),e=pt()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t?t.p(n,l):(t=Es(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:K,o:K,d(n){n&&S(e),t&&t.d(n)}}}function fp(i,e,t){var Ie;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:d=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:b=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:w}=e,_=0,C=0;const k=kt(),y=wn(),M=k.ui.contextMenuVisible,z=k.ui.debugPanelVisible;D(i,z,ge=>t(7,s=ge));const I=k.webApi.pictureInPictureApi,F=(Ie=k.webApi.pictureInPictureApi)==null?void 0:Ie.info.isActive$;D(i,F,ge=>t(6,o=ge));const ue=k.state.chromecastState$;D(i,ue,ge=>t(5,r=ge));const ae=k.state.isLive$;D(i,ae,ge=>t(4,l=ge));const R=k.state.positionExact$;D(i,R,ge=>t(41,n=ge));const te=k.state.isInteractive,X=()=>{M.set(!1)},G=(ge,ve)=>{if(!v||!h||!b)return;const ee=v.getBoundingClientRect(),Ce=h.getBoundingClientRect();t(2,_=ge-Ce.left),t(3,C=ve-Ce.top),_+ee.width>Ce.width&&t(2,_=Ce.width-ee.width),C+ee.height>Ce.height&&t(3,C=Ce.height-ee.height),t(2,_=Math.max(_,0)),t(3,C=Math.max(C,0))},A=()=>{X(),k.actions.internal.videoRotate()},V=()=>{window.open(c,"_blank"),X(),k.actions.internal.pause()},J=()=>{const ge=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const ve=new Blob([...ge],{type:"plain/text"}),ee=window.URL.createObjectURL(ve);D1(ee,"vk_player_debug_info","txt")}else fr(k.actions.internal.getDebugTextData());X(),w==null||w()},L=()=>{z.set(!0),X(),w==null||w()},ne=()=>tn(this,null,function*(){try{I!=null&&I.isActive()?yield I==null?void 0:I.remove():yield I==null?void 0:I.request()}finally{X(),w==null||w()}}),Te=(ge=!1)=>{var ve,ee;if((ve=k.callbacks)!=null&&ve.onCopyVideoLink){const Ce=(ee=k.callbacks)==null?void 0:ee.onCopyVideoLink(ge,n);Ce&&fr(Ce)}X()},Pe=ge=>{Fc(ge,X)},Ve=ge=>{an(ge,()=>Te())},Ae=ge=>{an(ge,()=>Te(!0))},Oe=ge=>{an(ge,()=>ne())},me=ge=>{an(ge,()=>A())},H=ge=>{an(ge,()=>V())},$=ge=>{an(ge,()=>J())},pe=ge=>{an(ge,()=>L())};function ce(ge){Po.call(this,i,ge)}const Fe=()=>Te(),Re=()=>Te(!0);function Ne(ge){Se[ge?"unshift":"push"](()=>{v=ge,t(0,v)})}return i.$$set=ge=>{"visible"in ge&&t(1,a=ge.visible),"supportLink"in ge&&t(31,c=ge.supportLink),"x"in ge&&t(32,f=ge.x),"y"in ge&&t(33,d=ge.y),"playerContainerRef"in ge&&t(34,h=ge.playerContainerRef),"controlsContainerRef"in ge&&t(35,b=ge.controlsContainerRef),"menuElementRef"in ge&&t(0,v=ge.menuElementRef),"returnFocus"in ge&&t(36,w=ge.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&1|i.$$.dirty[1]&30&&v&&h&&b&&G(f,d)},[v,a,_,C,l,r,o,s,k,y,z,I,F,ue,ae,R,te,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,H,$,pe,c,f,d,h,b,w,ce,Fe,Re,Ne]}class dp extends ye{constructor(e){super(),ke(this,e,fp,cp,we,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},sp,[-1,-1])}}class mp{constructor(e){this.value=e,this.next=null}}class Xl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new mp(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 pp(i){Ze(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function hp(i){let e,t;return{c(){e=P("div"),t=P("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){T(n,e,l),p(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&S(e),i[3](null)}}}const Jl=16,xl=120,Vs=60;function vp(i,e,t,n,l){l===0&&(l=1),i.fillStyle="#fff",i.fillRect(e,t,n,l)}function gp(i,e,t){let{values:n=[]}=e,l,r;const o=xl/Vs;_n(()=>{t(0,l.width=xl,l),t(0,l.height=Jl,l),t(2,r=l.getContext("2d"))});function s(a){Se[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,xl,Jl);let c=Vs-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?Jl*(n[f]/a):0;vp(r,d,0,o,h),c--}}},[l,n,r,s]}class Sr extends ye{constructor(e){super(),ke(this,e,gp,hp,we,{values:1},pp)}}function bp(i){Ze(i,"v-10r7ghb",".container.v-10r7ghb.v-10r7ghb.v-10r7ghb{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-10r7ghb.v-10r7ghb.v-10r7ghb{top:16px;left:16px}button.v-10r7ghb.v-10r7ghb.v-10r7ghb{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-10r7ghb.v-10r7ghb.v-10r7ghb{padding:5px}.content.v-10r7ghb>div.v-10r7ghb>div.v-10r7ghb{display:inline-block;text-align:right;width:57px;padding:0 5px}")}function Ms(i){let e,t,n,l,r=i[0].id+"",o;return{c(){e=P("div"),t=P("div"),t.textContent="Video id",n=O(),l=P("span"),o=De(r),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&Je(o,r)},d(s){s&&S(e)}}}function Bs(i){let e,t,n,l,r=i[0].provider+"",o;return{c(){e=P("div"),t=P("div"),t.textContent="Provider",n=O(),l=P("span"),o=De(r),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&Je(o,r)},d(s){s&&S(e)}}}function Ns(i){let e,t,n,l,r=i[0].viewport+"",o;return{c(){e=P("div"),t=P("div"),t.textContent="Viewport",n=O(),l=P("span"),o=De(r),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&Je(o,r)},d(s){s&&S(e)}}}function Rs(i){let e,t,n,l,r=i[0].videoSize+"",o;return{c(){e=P("div"),t=P("div"),t.textContent="Video size",n=O(),l=P("span"),o=De(r),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&Je(o,r)},d(s){s&&S(e)}}}function Os(i){let e,t,n,l,r=i[0].cdn+"",o;return{c(){e=P("div"),t=P("div"),t.textContent="CDN host",n=O(),l=P("span"),o=De(r),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&Je(o,r)},d(s){s&&S(e)}}}function Ds(i){let e,t,n,l,r=i[0].volume+"",o,s;return{c(){e=P("div"),t=P("div"),t.textContent="Volume",n=O(),l=P("span"),o=De(r),s=De(" %"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&Je(o,r)},d(a){a&&S(e)}}}function zs(i){let e,t,n,l,r=i[0].buffer.toFixed(2)+"",o,s;return{c(){e=P("div"),t=P("div"),t.textContent="Buffer",n=O(),l=P("span"),o=De(r),s=De(" s"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&Je(o,r)},d(a){a&&S(e)}}}function Fs(i){let e,t,n,l,r=(i[0].currentVideoSegmentLength/1e3).toFixed(2)+"",o,s;return{c(){e=P("div"),t=P("div"),t.textContent="Video segm",n=O(),l=P("span"),o=De(r),s=De(" s"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=(a[0].currentVideoSegmentLength/1e3).toFixed(2)+"")&&Je(o,r)},d(a){a&&S(e)}}}function Hs(i){let e,t,n,l,r=(i[0].currentAudioSegmentLength/1e3).toFixed(2)+"",o,s;return{c(){e=P("div"),t=P("div"),t.textContent="Audio segm",n=O(),l=P("span"),o=De(r),s=De(" s"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=(a[0].currentAudioSegmentLength/1e3).toFixed(2)+"")&&Je(o,r)},d(a){a&&S(e)}}}function Us(i){let e,t,n,l,r,o,s=i[0].speed.toFixed(2)+"",a,c,f;return l=new Sr({props:{values:i[5]}}),{c(){e=P("div"),t=P("div"),t.textContent="Network",n=O(),W(l.$$.fragment),r=O(),o=P("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(d,h){T(d,e,h),p(e,t),p(e,n),U(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const b={};h&32&&(b.values=d[5]),l.$set(b),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&Je(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){g(l.$$.fragment,d),f=!1},d(d){d&&S(e),j(l)}}}function js(i){let e,t,n,l,r,o,s=i[0].bitrate.toFixed(2)+"",a,c,f;return l=new Sr({props:{values:i[6]}}),{c(){e=P("div"),t=P("div"),t.textContent="V bitrate",n=O(),W(l.$$.fragment),r=O(),o=P("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-10r7ghb"),u(e,"class","v-10r7ghb")},m(d,h){T(d,e,h),p(e,t),p(e,n),U(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const b={};h&64&&(b.values=d[6]),l.$set(b),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&Je(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){g(l.$$.fragment,d),f=!1},d(d){d&&S(e),j(l)}}}function _p(i){let e,t,n,l,r,o,s,a,c=i[0].version+"",f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,H,$=i[0].id&&Ms(i),pe=i[0].provider&&Bs(i),ce=i[0].viewport&&Ns(i),Fe=i[0].videoSize&&Rs(i),Re=i[0].cdn&&Os(i),Ne=i[0].volume&&Ds(i),Ie=i[0].buffer&&zs(i),ge=i[0].currentVideoSegmentLength&&Fs(i),ve=i[0].currentAudioSegmentLength&&Hs(i),ee=i[0].speed&&Us(i),Ce=i[0].bitrate&&js(i);return Te=new Sr({props:{values:i[4]}}),{c(){e=P("div"),t=P("button"),t.textContent="[x]",n=O(),l=P("div"),r=P("div"),o=P("div"),o.textContent="Version",s=O(),a=P("span"),f=De(c),d=O(),$&&$.c(),h=O(),pe&&pe.c(),b=O(),ce&&ce.c(),v=O(),Fe&&Fe.c(),w=O(),Re&&Re.c(),_=O(),Ne&&Ne.c(),C=O(),Ie&&Ie.c(),k=O(),ge&&ge.c(),y=O(),ve&&ve.c(),M=O(),z=P("div"),I=P("div"),I.textContent="Dropped",F=O(),ue=P("span"),ae=De(i[2]),R=De(" / "),te=De(i[1]),X=De(" frames"),G=O(),ee&&ee.c(),A=O(),Ce&&Ce.c(),V=O(),J=P("div"),L=P("div"),L.textContent="FPS",ne=O(),W(Te.$$.fragment),Pe=O(),Ve=P("span"),Ae=De(i[3]),u(t,"class","close v-10r7ghb"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-10r7ghb"),u(r,"class","v-10r7ghb"),u(I,"class","v-10r7ghb"),u(z,"class","v-10r7ghb"),u(L,"class","v-10r7ghb"),u(J,"class","v-10r7ghb"),u(l,"class","content v-10r7ghb"),u(e,"class","container v-10r7ghb"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_debug_panel")),B(e,"container-mobile",i[7])},m(oe,be){T(oe,e,be),p(e,t),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),$&&$.m(l,null),p(l,h),pe&&pe.m(l,null),p(l,b),ce&&ce.m(l,null),p(l,v),Fe&&Fe.m(l,null),p(l,w),Re&&Re.m(l,null),p(l,_),Ne&&Ne.m(l,null),p(l,C),Ie&&Ie.m(l,null),p(l,k),ge&&ge.m(l,null),p(l,y),ve&&ve.m(l,null),p(l,M),p(l,z),p(z,I),p(z,F),p(z,ue),p(ue,ae),p(ue,R),p(ue,te),p(ue,X),p(l,G),ee&&ee.m(l,null),p(l,A),Ce&&Ce.m(l,null),p(l,V),p(l,J),p(J,L),p(J,ne),U(Te,J,null),p(J,Pe),p(J,Ve),p(Ve,Ae),Oe=!0,me||(H=he(t,"click",st(i[9])),me=!0)},p(oe,[be]){(!Oe||be&1)&&c!==(c=oe[0].version+"")&&Je(f,c),oe[0].id?$?$.p(oe,be):($=Ms(oe),$.c(),$.m(l,h)):$&&($.d(1),$=null),oe[0].provider?pe?pe.p(oe,be):(pe=Bs(oe),pe.c(),pe.m(l,b)):pe&&(pe.d(1),pe=null),oe[0].viewport?ce?ce.p(oe,be):(ce=Ns(oe),ce.c(),ce.m(l,v)):ce&&(ce.d(1),ce=null),oe[0].videoSize?Fe?Fe.p(oe,be):(Fe=Rs(oe),Fe.c(),Fe.m(l,w)):Fe&&(Fe.d(1),Fe=null),oe[0].cdn?Re?Re.p(oe,be):(Re=Os(oe),Re.c(),Re.m(l,_)):Re&&(Re.d(1),Re=null),oe[0].volume?Ne?Ne.p(oe,be):(Ne=Ds(oe),Ne.c(),Ne.m(l,C)):Ne&&(Ne.d(1),Ne=null),oe[0].buffer?Ie?Ie.p(oe,be):(Ie=zs(oe),Ie.c(),Ie.m(l,k)):Ie&&(Ie.d(1),Ie=null),oe[0].currentVideoSegmentLength?ge?ge.p(oe,be):(ge=Fs(oe),ge.c(),ge.m(l,y)):ge&&(ge.d(1),ge=null),oe[0].currentAudioSegmentLength?ve?ve.p(oe,be):(ve=Hs(oe),ve.c(),ve.m(l,M)):ve&&(ve.d(1),ve=null),(!Oe||be&4)&&Je(ae,oe[2]),(!Oe||be&2)&&Je(te,oe[1]),oe[0].speed?ee?(ee.p(oe,be),be&1&&m(ee,1)):(ee=Us(oe),ee.c(),m(ee,1),ee.m(l,A)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),oe[0].bitrate?Ce?(Ce.p(oe,be),be&1&&m(Ce,1)):(Ce=js(oe),Ce.c(),m(Ce,1),Ce.m(l,V)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de());const Ke={};be&16&&(Ke.values=oe[4]),Te.$set(Ke),(!Oe||be&8)&&Je(Ae,oe[3]),(!Oe||be&128)&&B(e,"container-mobile",oe[7])},i(oe){Oe||(m(ee),m(Ce),m(Te.$$.fragment,oe),Oe=!0)},o(oe){g(ee),g(Ce),g(Te.$$.fragment,oe),Oe=!1},d(oe){oe&&S(e),$&&$.d(),pe&&pe.d(),ce&&ce.d(),Fe&&Fe.d(),Re&&Re.d(),Ne&&Ne.d(),Ie&&Ie.d(),ge&&ge.d(),ve&&ve.d(),ee&&ee.d(),Ce&&Ce.d(),j(Te),me=!1,H()}}}function wp(i,e,t){let n;const l=kt(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(i,o,y=>t(7,n=y));const s=()=>{ie.safeStorage.remove(rr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const b=new Xl(60),v=new Xl(60),w=new Xl(60);let _=[],C=[],k=[];return _n(()=>{ie.safeStorage.set(rr,"true"),l.actions.internal.startLogging(),c&&(t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{t(0,a=l.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const z=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=z-f),t(1,f=z),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&w.push(a.bitrate),t(4,_=b.getValuesFromBottom()),t(5,C=v.getValuesFromBottom()),t(6,k=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),M&&clearInterval(M)}}),[a,f,d,h,_,C,k,n,o,s]}class Hc extends ye{constructor(e){super(),ke(this,e,wp,_p,we,{},bp)}}function kp(i){Ze(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 yp(i){let e,t,n;return{c(){e=P("div"),u(e,"class","close v-1ome55p")},m(l,r){T(l,e,r),t||(n=he(e,"click",st(i[0])),t=!0)},p:K,i:K,o:K,d(l){l&&S(e),t=!1,n()}}}function Cp(i){function e(t){Po.call(this,i,t)}return[e]}class Sp extends ye{constructor(e){super(),ke(this,e,Cp,yp,we,{},kp)}}function Pp(i){Ze(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 Tp(i){let e,t,n,l,r,o,s;return{c(){e=P("div"),t=P("canvas"),n=O(),l=N("svg"),r=N("g"),o=N("g"),s=N("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,t),i[2](t),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&S(e),i[2](null)}}}const Ep=5e3;function Ap(i,e,t){let{onTimerEnded:n=ie.noop}=e,l;_n(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/Ep;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Se[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"onTimerEnded"in o&&t(1,n=o.onTimerEnded)},[l,n,r]}class Ip extends ye{constructor(e){super(),ke(this,e,Ap,Tp,we,{onTimerEnded:1},Pp)}}function Lp(i){Ze(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 qs(i){let e,t;return e=new Ip({props:{onTimerEnded:i[2]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Vp(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z;s=new Sp({}),s.$on("click",i[4]);let I=i[3]&&qs(i);return{c(){e=P("div"),t=O(),n=P("div"),l=P("div"),r=P("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=O(),W(s.$$.fragment),a=O(),c=P("div"),f=P("div"),d=P("div"),h=P("div"),b=O(),I&&I.c(),w=O(),_=P("div"),C=P("div"),k=De(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(F,ue){T(F,e,ue),T(F,t,ue),T(F,n,ue),p(n,l),p(l,r),p(l,o),U(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,b),I&&I.m(d,null),p(c,w),p(c,_),p(_,C),p(C,k),y=!0,M||(z=he(c,"click",function(){Bn(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(F,[ue]){i=F,i[3]?I?(I.p(i,ue),ue&8&&m(I,1)):(I=qs(i),I.c(),m(I,1),I.m(d,null)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),(!y||ue&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(d,"style",v),(!y||ue&1)&&Je(k,i[0])},i(F){y||(m(s.$$.fragment,F),m(I),y=!0)},o(F){g(s.$$.fragment,F),g(I),y=!1},d(F){F&&(S(e),S(t),S(n)),j(s),I&&I.d(),M=!1,z()}}}function Mp(i,e,t){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>t(3,o=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,l=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,l,r,o,s]}class Bp extends ye{constructor(e){super(),ke(this,e,Mp,Vp,we,{title:0,thumb:1,playNextVideo:2},Lp)}}const Uc=(i,e)=>Math.min(+(i+e).toFixed(2),1),jc=(i,e)=>Math.max(+(i-e).toFixed(2),0),qc=(i,e,t)=>{const n=Uc(e,t);e<1&&i.actions.internal.setVolume(n)},Wc=(i,e,t)=>{const n=jc(e,t);e>0&&i.actions.internal.setVolume(n)};function Np(i){Ze(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Rp(i){let e,t,n,l;const r=i[22].default,o=Zn(r,i,i[21],null);return{c(){e=P("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player"))},m(s,a){T(s,e,a),o&&o.m(e,null),i[23](e),t=!0,n||(l=[he(e,"keyup",i[13]),he(e,"keydown",i[12])],n=!0)},p(s,a){o&&o.p&&(!t||a[0]&2097152)&&Gn(o,r,s,s[21],t?Kn(r,s[21],a,null):Yn(s[21]),null)},i(s){t||(m(o,s),t=!0)},o(s){g(o,s),t=!1},d(s){s&&S(e),o&&o.d(s),i[23](null),n=!1,nt(l)}}}function Op(i,e,t){let n,l,r,o,s,a,c,f,d,h,b,{$$slots:v={},$$scope:w}=e,{isAds:_}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:M}=e,{fakePlayButtonHandler:z}=e;const I=kt(),F=wn(),ue=I.getLogger().createComponentLog("KeyboardControls component"),ae=I.state.playbackState$;D(i,ae,ce=>t(27,l=ce));const R=I.ads.playbackState;D(i,R,ce=>t(26,n=ce));const te=I.state.positionExact$;D(i,te,ce=>t(33,f=ce));const X=I.state.duration$;D(i,X,ce=>t(32,c=ce));const G=I.state.volume$;D(i,G,ce=>t(36,b=ce));const A=I.ui.controls.disabledControls$;D(i,A,ce=>t(31,a=ce));const V=I.state.muted$;D(i,V,ce=>t(29,o=ce));const J=I.state.currentSubtitle$;D(i,J,ce=>t(28,r=ce));const L=I.state.currentPlaybackRate$;D(i,L,ce=>t(34,d=ce));const ne=I.state.availablePlaybackRates$;D(i,ne,ce=>t(35,h=ce));const Te=I.state.isEnded$;D(i,Te,ce=>t(30,s=ce));let Pe=0,Ve=!0,Ae;const Oe=()=>Ae==null?void 0:Ae.focus(),me=ce=>(ce!==Ve&&(Ve=ce,Pe=0),Pe+=1,(F.controls.seekStepKeyboard+F.controls.seekStepKeyboard*Pe)/1e3),H=ce=>{var Ke;const Fe=ce.target,Re=(Ke=Fe==null?void 0:Fe.getAttribute("role"))==null?void 0:Ke.includes("menuitem"),Ne=Fe.classList.contains("btn"),Ie=ce.code;if(Ne&&Ie===Ee.Space)return;const ge=D0.has(Ie);if(Re&&ge)return;const ve=!O0.has(Ie);if(ce.ctrlKey&&ve||ce.altKey&&ve||ce.metaKey)return;const ee=Re&&Ie===Ee.Escape;z0.has(Ie)||ee||C();const Ce=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,oe=_&&(n===$t.PAUSED||n===$t.PLAYING),be=!oe&&!a.has(dt.TIMELINE);if(Ce||oe)switch(ue({message:`key down, code: ${Ie}`}),Ie){case Ee.KeyJ:case Ee.ArrowLeft:{if(!be)break;if(ce.ctrlKey||ce.altKey){const Me=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Me),Me&&y({type:Ye.EPISODE_PREV,text:Me.text}),ce.preventDefault()}else{const Me=ce.shiftKey?me(!1):F.controls.seekStepKeyboard/1e3,xe=Math.max(f-Me,0);f>0&&(I.actions.internal.seekTime(xe,wt.SeekAction.DOUBLE_TAP),y({type:Ye.BACKWARD_SEEK,text:Me.toString()}),ce.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!be)break;if(ce.ctrlKey||ce.altKey){const Me=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Me),Me&&y({type:Ye.EPISODE_NEXT,text:Me.text}),ce.preventDefault()}else{const Me=ce.shiftKey?me(!0):F.controls.seekStepKeyboard/1e3,xe=Math.min(f+Me,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(xe,wt.SeekAction.DOUBLE_TAP),y({type:Ye.FORWARD_SEEK,text:Me.toString()}),ce.preventDefault())}break}case Ee.ArrowUp:{const Me=b,xe=F.controls.volumeStepKeyboard,Xe=Me<=1;if(qc(I,Me,xe),Xe){const ot=Math.round(Uc(Me,xe)*100).toString();y({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:ot}})}ce.preventDefault();break}case Ee.ArrowDown:{const Me=b,xe=F.controls.volumeStepKeyboard,Xe=Me>=0;if(Wc(I,Me,xe),Xe){const ot=Math.round(jc(Me,xe)*100).toString();y({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:ot}})}ce.preventDefault();break}case Ee.Comma:{if(ce.shiftKey){I.actions.internal.decrementPlaybackRate();const Me=h.find(xe=>xe.value===d);y({type:Ye.RATE_DOWN,text:Me==null?void 0:Me.displayValue}),ce.preventDefault()}else{if(oe||l!==et.PlaybackState.PAUSED)break;const Me=Math.max(f-F.controls.seekStepFrame/1e3,0);f>0&&(y({type:Ye.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,wt.SeekAction.DOUBLE_TAP),ce.preventDefault())}break}case Ee.Period:{if(ce.shiftKey){I.actions.internal.incrementPlaybackRate();const Me=h.find(xe=>xe.value===d);y({type:Ye.RATE_UP,text:Me==null?void 0:Me.displayValue}),ce.preventDefault()}else{if(oe||l!==et.PlaybackState.PAUSED)break;const Me=Math.min(f+F.controls.seekStepFrame/1e3,c);f<c&&(y({type:Ye.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,wt.SeekAction.DOUBLE_TAP),ce.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(dt.PLAY_BUTTON))if(z)z();else{I.actions.internal.togglePlay();let Me=Ye.PLAY;l===et.PlaybackState.PAUSED?Me=Ye.PAUSE:s&&(Me=Ye.REPLAY),y({type:Me})}ce.preventDefault();break;case Ee.KeyM:{y({type:o?Ye.VOLUME:Ye.MUTE}),I.actions.internal.toggleMuted(),ce.preventDefault();break}case Ee.KeyF:k(),ce.preventDefault();break;case Ee.KeyC:I.actions.internal.toggleSubtitle(),r.value!=="off"?y({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):y({type:Ye.SUBTITLES_OFF}),ce.preventDefault();break;case Ee.KeyI:I.actions.internal.togglePictureInPicture(),ce.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:y(),I.actions.internal.seekToPercent(.1,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:y(),I.actions.internal.seekToPercent(.2,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:y(),I.actions.internal.seekToPercent(.3,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:y(),I.actions.internal.seekToPercent(.4,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:y(),I.actions.internal.seekToPercent(.5,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:y(),I.actions.internal.seekToPercent(.6,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:y(),I.actions.internal.seekToPercent(.7,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:y(),I.actions.internal.seekToPercent(.8,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:y(),I.actions.internal.seekToPercent(.9,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:y(),I.actions.internal.seekToPercent(0,wt.SeekAction.DOUBLE_TAP),ce.preventDefault();break;case Ee.Slash:{ce.shiftKey&&F.features.hotKeyMapModal&&(M(),ce.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:ce.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:ie.checkNever(Ie);break}},$=ce=>{const Fe=ce.code;if(ce.ctrlKey||ce.altKey||ce.metaKey)return;const Re=l===et.PlaybackState.PLAYING||l===et.PlaybackState.PAUSED,Ne=_&&(n===$t.PAUSED||n===$t.PLAYING);if(Re||Ne)switch(Fe){case Ee.ShiftLeft:case Ee.ShiftRight:Pe=0;break}};function pe(ce){Se[ce?"unshift":"push"](()=>{Ae=ce,t(0,Ae)})}return i.$$set=ce=>{"isAds"in ce&&t(14,_=ce.isAds),"hideContextMenu"in ce&&t(15,C=ce.hideContextMenu),"toggleFullscreen"in ce&&t(16,k=ce.toggleFullscreen),"showHotKeyHelpers"in ce&&t(17,y=ce.showHotKeyHelpers),"showKeyMap"in ce&&t(18,M=ce.showKeyMap),"fakePlayButtonHandler"in ce&&t(19,z=ce.fakePlayButtonHandler),"$$scope"in ce&&t(21,w=ce.$$scope)},[Ae,ae,R,te,X,G,A,V,J,L,ne,Te,H,$,_,C,k,y,M,z,Oe,w,v,pe]}class Dp extends ye{constructor(e){super(),ke(this,e,Op,Rp,we,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},Np,[-1,-1])}get focus(){return this.$$.ctx[20]}}function zp(i){Ze(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 Fp(i){let e;return{c(){e=P("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){T(t,e,n)},p:K,i:K,o:K,d(t){t&&S(e)}}}class Zc extends ye{constructor(e){super(),ke(this,e,null,Fp,we,{},zp)}}function Hp(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p:K,i:K,o:K,d(v){v&&S(e)}}}class Up extends ye{constructor(e){super(),ke(this,e,null,Hp,we,{})}}function jp(i){Ze(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 qp(i){let e,t,n,l,r,o,s,a,c,f,d,h;const b=i[14].default,v=Zn(b,i,i[13],null);return{c(){var w,_,C,k,y,M;e=P("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=l=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(_=i[5])!=null?_:null),u(e,"aria-label",o=(C=i[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=i[7])!=null?k:null),u(e,"aria-expanded",a=(y=i[8])!=null?y:null),u(e,"data-testid",c=(M=i[4])!=null?M:null),u(e,"tabindex",i[9])},m(w,_){T(w,e,_),v&&v.m(e,null),i[16](e),f=!0,d||(h=[he(e,"pointerdown",st(ei(i[15]))),he(e,"click",st(ei(function(){Bn(i[10]===ie.noop?null:i[10])&&(i[10]===ie.noop?null:i[10]).apply(this,arguments)}))),he(e,"focus",ei(function(){Bn(i[11]===ie.noop?null:i[11])&&(i[11]===ie.noop?null:i[11]).apply(this,arguments)})),he(e,"blur",ei(function(){Bn(i[12]===ie.noop?null:i[12])&&(i[12]===ie.noop?null:i[12]).apply(this,arguments)}))],d=!0)},p(w,[_]){var C,k,y,M,z,I;i=w,v&&v.p&&(!f||_&8192)&&Gn(v,b,i,i[13],f?Kn(b,i[13],_,null):Yn(i[13]),null),(!f||_&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||_&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||_&8&&l!==(l=(C=i[3])!=null?C:null))&&(e.disabled=l),(!f||_&32&&r!==(r=(k=i[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||_&64&&o!==(o=(y=i[6])!=null?y:null))&&u(e,"aria-label",o),(!f||_&128&&s!==(s=(M=i[7])!=null?M:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(z=i[8])!=null?z:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(I=i[4])!=null?I:null))&&u(e,"data-testid",c),(!f||_&512)&&u(e,"tabindex",i[9])},i(w){f||(m(v,w),f=!0)},o(w){g(v,w),f=!1},d(w){w&&S(e),v&&v.d(w),i[16](null),d=!1,nt(h)}}}function Wp(i,e,t){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{tabIndex:v=0}=e,{click:w=ie.noop}=e,{focus:_=ie.noop}=e,{blur:C=ie.noop}=e;function k(M){Po.call(this,i,M)}function y(M){Se[M?"unshift":"push"](()=>{d=M,t(0,d)})}return i.$$set=M=>{"className"in M&&t(1,r=M.className),"style"in M&&t(2,o=M.style),"disabled"in M&&t(3,s=M.disabled),"testId"in M&&t(4,a=M.testId),"ariaHidden"in M&&t(5,c=M.ariaHidden),"ariaLabel"in M&&t(6,f=M.ariaLabel),"ref"in M&&t(0,d=M.ref),"ariaKeyShortCut"in M&&t(7,h=M.ariaKeyShortCut),"ariaExpanded"in M&&t(8,b=M.ariaExpanded),"tabIndex"in M&&t(9,v=M.tabIndex),"click"in M&&t(10,w=M.click),"focus"in M&&t(11,_=M.focus),"blur"in M&&t(12,C=M.blur),"$$scope"in M&&t(13,l=M.$$scope)},[d,r,o,s,a,c,f,h,b,v,w,_,C,l,n,k,y]}class Ii extends ye{constructor(e){super(),ke(this,e,Wp,qp,we,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},jp)}}function Zp(i){Ze(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 Ws(i){let e,t,n,l,r,o=i[2]&&Zs(i);return{c(){e=P("div"),t=P("h3"),n=De(i[3]),l=O(),o&&o.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&Je(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=Zs(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de())},i(s){r||(m(o),r=!0)},o(s){g(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function Zs(i){let e,t;return e=new Ii({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[Kp]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Kp(i){let e,t;return e=new Up({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Gp(i){let e,t,n,l,r,o,s=i[1]&&Ws(i);const a=i[4].default,c=Zn(a,i,i[5],null);return{c(){e=P("div"),t=P("div"),s&&s.c(),n=O(),l=P("div"),r=P("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){T(f,e,d),p(e,t),s&&s.m(t,null),p(t,n),p(t,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=Ws(f),s.c(),m(s,1),s.m(t,n)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),c&&c.p&&(!o||d&32)&&Gn(c,a,f,f[5],o?Kn(a,f[5],d,null):Yn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){g(s),g(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function Yp(i,e,t){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,o=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,l=c.$$scope)},[r,o,s,a,n,l]}class Qp extends ye{constructor(e){super(),ke(this,e,Yp,Gp,we,{onClose:0,showHeader:1,showCloseCross:2,title:3},Zp)}}const Xp=new Set(["BR"]),Ks=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;Xp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function Jp(i){Ze(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 Gs(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Ys(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Qs(i){let e,t,n=Ks(i[9])+"",l,r,o=i[10]+"",s,a;return{c(){e=P("li"),t=P("span"),l=O(),r=P("span"),s=De(o),a=O(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),p(e,t),t.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Ks(c[9])+"")&&(t.innerHTML=n),f&1&&o!==(o=c[10]+"")&&Je(s,o)},d(c){c&&S(e)}}}function Xs(i){let e,t,n=i[5]+"",l,r,o,s,a=Gt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Qs(Ys(i,a,f));return{c(){e=P("div"),t=P("h5"),l=De(n),r=O(),o=P("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=O(),u(t,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){T(f,e,d),p(e,t),p(t,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&Je(l,n),d&1){a=Gt(f[6]);let h;for(h=0;h<a.length;h+=1){const b=Ys(f,a,h);c[h]?c[h].p(b,d):(c[h]=Qs(b),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),Nn(c,f)}}}function xp(i){let e,t=Gt(i[0].groups),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xs(Gs(i,t,l));return{c(){e=P("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){t=Gt(l[0].groups);let o;for(o=0;o<t.length;o+=1){const s=Gs(l,t,o);n[o]?n[o].p(s,r):(n[o]=Xs(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&S(e),Nn(n,l)}}}function $p(i){let e,t;return e=new Qp({props:{title:i[0].title,onClose:i[2],$$slots:{default:[xp]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function e3(i,e,t){let n;const l=kt(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(i,r,a=>t(0,n=a)),[n,r,()=>{o.set(!1)}]}class t3 extends ye{constructor(e){super(),ke(this,e,e3,$p,we,{},Jp)}}function i3(i){Ze(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 n3(i){let e,t;const n=i[1].default,l=Zn(n,i,i[0],null);return{c(){e=P("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){T(r,e,o),l&&l.m(e,null),t=!0},p(r,[o]){l&&l.p&&(!t||o&1)&&Gn(l,n,r,r[0],t?Kn(n,r[0],o,null):Yn(r[0]),null)},i(r){t||(m(l,r),t=!0)},o(r){g(l,r),t=!1},d(r){r&&S(e),l&&l.d(r)}}}function o3(i,e,t){let{$$slots:n={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&t(0,l=r.$$scope)},[l,n]}class l3 extends ye{constructor(e){super(),ke(this,e,o3,n3,we,{},i3)}}function r3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class s3 extends ye{constructor(e){super(),ke(this,e,null,r3,we,{})}}function a3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class u3 extends ye{constructor(e){super(),ke(this,e,null,a3,we,{})}}function c3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class f3 extends ye{constructor(e){super(),ke(this,e,null,c3,we,{})}}function d3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Kc extends ye{constructor(e){super(),ke(this,e,null,d3,we,{})}}function m3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Gc extends ye{constructor(e){super(),ke(this,e,null,m3,we,{})}}const Io=i=>{switch(i){case et.VideoQuality.Q_720P:return f3;case et.VideoQuality.Q_1080P:return Kc;case et.VideoQuality.Q_1440P:return Gc;case et.VideoQuality.Q_2160P:return s3;case et.VideoQuality.Q_4320P:return u3}};function p3(i){Ze(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 h3(i){let e,t,n,l,r,o,s=i[1]&&Js(i);return{c(){e=P("div"),s&&s.c(),t=O(),n=N("svg"),l=N("path"),r=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),B(r,"hidden",!!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"),B(e,"triple",i[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=Js(a),s.c(),m(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!o||c&2)&&B(r,"hidden",!!a[1]),(!o||c&4)&&B(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){g(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function v3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}function Js(i){let e,t;return e=new l3({props:{$$slots:{default:[g3]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function g3(i){let e,t,n;var l=i[1];function r(o){return{}}return l&&(e=Fn(l,r())),{c(){e&&W(e.$$.fragment),t=pt()},m(o,s){e&&U(e,o,s),T(o,t,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Fn(l,r()),W(e.$$.fragment),m(e.$$.fragment,1),U(e,t.parentNode,t)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&g(e.$$.fragment,o),n=!1},d(o){o&&S(t),e&&j(e,o)}}}function b3(i){let e,t,n,l;const r=[v3,h3],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function _3(i,e,t){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return i.$$set=s=>{"isMobile"in s&&t(0,l=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Io(r)),i.$$.dirty&2&&t(2,o=!!n&&[Kc,Gc].includes(n))},[l,n,o,r]}class Yc extends ye{constructor(e){super(),ke(this,e,_3,b3,we,{isMobile:0,currentQuality:3},p3)}}function w3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Qc extends ye{constructor(e){super(),ke(this,e,null,w3,we,{})}}function k3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class y3 extends ye{constructor(e){super(),ke(this,e,null,k3,we,{})}}function C3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class S3 extends ye{constructor(e){super(),ke(this,e,null,C3,we,{})}}function P3(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class T3 extends ye{constructor(e){super(),ke(this,e,null,P3,we,{})}}function E3(i){Ze(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function A3(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),B(e,"reverted",i[2])},m(l,r){T(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&B(e,"reverted",l[2])},d(l){l&&S(e)}}}function I3(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),B(e,"reverted",i[2])},m(l,r){T(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&B(e,"reverted",l[2])},d(l){l&&S(e)}}}function L3(i){let e;function t(r,o){return r[1]?I3:A3}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function V3(i,e,t){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,l=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,o=["right","down"].includes(n)))},[l,r,o,n]}class $n extends ye{constructor(e){super(),ke(this,e,V3,L3,we,{direction:3,color:0},E3)}}function M3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class B3 extends ye{constructor(e){super(),ke(this,e,null,M3,we,{})}}function N3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Wo extends ye{constructor(e){super(),ke(this,e,null,N3,we,{})}}function R3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class O3 extends ye{constructor(e){super(),ke(this,e,null,R3,we,{})}}function D3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class z3 extends ye{constructor(e){super(),ke(this,e,null,D3,we,{})}}function F3(i){Ze(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function xs(i,e,t){const n=i.slice();return n[143]=e[t],n}function $s(i,e,t){const n=i.slice();return n[146]=e[t],n}function ea(i,e,t){const n=i.slice();return n[149]=e[t],n}function ta(i){let e,t,n,l,r,o,s,a,c,f,d,h=i[8]&&ia(i),b=i[29]&&na(i),v=i[28]&&la(i),w=i[27]&&ra(i),_=i[26]&&sa(i),C=i[25]&&aa(i),k=i[8]&&ua(i);return{c(){e=P("div"),h&&h.c(),t=O(),n=P("ul"),b&&b.c(),l=O(),v&&v.c(),r=O(),w&&w.c(),o=O(),_&&_.c(),s=O(),C&&C.c(),a=O(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),u(n,"style",i[21]),B(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),B(e,"menu-desktop",!i[8]),B(e,"menu-mobile",i[8]),B(e,"hidden",!i[15])},m(y,M){T(y,e,M),h&&h.m(e,null),p(e,t),p(e,n),b&&b.m(n,null),p(n,l),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),_&&_.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),i[117](n),c=!0,f||(d=[he(e,"keydown",i[80]),he(e,"mouseenter",i[74]),he(e,"mouseleave",i[75])],f=!0)},p(y,M){y[8]?h?h.p(y,M):(h=ia(y),h.c(),h.m(e,t)):h&&(h.d(1),h=null),y[29]?b?(b.p(y,M),M[0]&536870912&&m(b,1)):(b=na(y),b.c(),m(b,1),b.m(n,l)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),y[28]?v?(v.p(y,M),M[0]&268435456&&m(v,1)):(v=la(y),v.c(),m(v,1),v.m(n,r)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),y[27]?w?(w.p(y,M),M[0]&134217728&&m(w,1)):(w=ra(y),w.c(),m(w,1),w.m(n,o)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),y[26]?_?(_.p(y,M),M[0]&67108864&&m(_,1)):(_=sa(y),_.c(),m(_,1),_.m(n,s)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),y[25]?C?(C.p(y,M),M[0]&33554432&&m(C,1)):(C=aa(y),C.c(),m(C,1),C.m(n,a)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),y[8]?k?(k.p(y,M),M[0]&256&&m(k,1)):(k=ua(y),k.c(),m(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!c||M[0]&2097152)&&u(n,"style",y[21]),(!c||M[0]&256)&&B(n,"items-mobile",y[8]),(!c||M[0]&256)&&B(e,"menu-desktop",!y[8]),(!c||M[0]&256)&&B(e,"menu-mobile",y[8]),(!c||M[0]&32768)&&B(e,"hidden",!y[15])},i(y){c||(m(b),m(v),m(w),m(_),m(C),m(k),c=!0)},o(y){g(b),g(v),g(w),g(_),g(C),g(k),c=!1},d(y){y&&S(e),h&&h.d(),b&&b.d(),v&&v.d(),w&&w.d(),_&&_.d(),C&&C.d(),k&&k.d(),i[117](null),f=!1,nt(d)}}}function ia(i){let e,t,n,l,r,o,s,a;return{c(){e=P("div"),t=P("div"),t.textContent=`${Y("submenu_settings")}`,n=O(),l=P("div"),r=O(),o=P("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(e,"item-mobile",i[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,t),p(e,n),p(e,l),T(c,r,f),T(c,o,f),s||(a=he(l,"click",st(i[60])),s=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function na(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;n=new Yc({});let v=i[37]&&!i[8]&&oa(i);return{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("menu_quality")}`,o=O(),s=P("div"),a=De(i[20]),c=O(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:i[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",i[8])},m(w,_){T(w,e,_),p(e,t),U(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[113](e),d=!0,h||(b=[he(e,"click",st(i[61])),he(e,"keydown",i[81])],h=!0)},p(w,_){(!d||_[0]&1048576)&&Je(a,w[20]),w[37]&&!w[8]?v?(v.p(w,_),_[0]&256|_[1]&64&&m(v,1)):(v=oa(w),v.c(),m(v,1),v.m(s,null)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!d||_[1]&1&&f!==(f=Y("aria_label_menu_quality",{actual:w[31]})))&&u(e,"aria-label",f),(!d||_[0]&256)&&B(e,"item-mobile",w[8])},i(w){d||(m(n.$$.fragment,w),m(v),d=!0)},o(w){g(n.$$.fragment,w),g(v),d=!1},d(w){w&&S(e),j(n),v&&v.d(),i[113](null),h=!1,nt(b)}}}function oa(i){let e,t,n;var l=i[37];function r(o){return{}}return l&&(t=Fn(l,r())),{c(){e=P("div"),t&&W(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){T(o,e,s),t&&U(t,e,null),n=!0},p(o,s){if(s[1]&64&&l!==(l=o[37])){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(t=Fn(l,r()),W(t.$$.fragment),m(t.$$.fragment,1),U(t,e,null)):t=null}},i(o){n||(t&&m(t.$$.fragment,o),n=!0)},o(o){t&&g(t.$$.fragment,o),n=!1},d(o){o&&S(e),t&&j(t)}}}function la(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;return n=new T3({}),{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("menu_playback_rate")}`,o=O(),s=P("div"),a=De(i[13]),c=De("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:i[32]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),U(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),i[114](e),d=!0,h||(b=[he(e,"click",st(ei(i[65]))),he(e,"keydown",i[84])],h=!0)},p(v,w){(!d||w[0]&8192)&&Je(a,v[13]),(!d||w[1]&2&&f!==(f=Y("aria_label_menu_rate",{actual:v[32]})))&&u(e,"aria-label",f),(!d||w[0]&256)&&B(e,"item-mobile",v[8])},i(v){d||(m(n.$$.fragment,v),d=!0)},o(v){g(n.$$.fragment,v),d=!1},d(v){v&&S(e),j(n),i[114](null),h=!1,nt(b)}}}function ra(i){let e,t,n,l,r,o,s,a=i[38].displayValue+"",c,f,d,h,b;return n=new Qc({}),{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("subtitles_caption")}`,o=O(),s=P("div"),c=De(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:i[38].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),U(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),i[115](e),d=!0,h||(b=[he(e,"click",st(i[67])),he(e,"keydown",i[87])],h=!0)},p(v,w){(!d||w[1]&128)&&a!==(a=v[38].displayValue+"")&&Je(c,a),(!d||w[1]&128&&f!==(f=Y("aria_label_menu_subtitle",{actual:v[38].displayValue})))&&u(e,"aria-label",f),(!d||w[0]&256)&&B(e,"item-mobile",v[8])},i(v){d||(m(n.$$.fragment,v),d=!0)},o(v){g(n.$$.fragment,v),d=!1},d(v){v&&S(e),j(n),i[115](null),h=!1,nt(b)}}}function sa(i){let e,t,n,l,r,o,s,a,c,f,d,h;return n=new S3({}),{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("menu_traffic_saving")}`,o=O(),s=P("div"),a=De(i[30]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:i[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",i[8])},m(b,v){T(b,e,v),p(e,t),U(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),i[116](e),f=!0,d||(h=[he(e,"click",st(i[62])),he(e,"keydown",i[90])],d=!0)},p(b,v){(!f||v[0]&1073741824)&&Je(a,b[30]),(!f||v[0]&1073741824&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:b[30]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&B(e,"item-mobile",b[8])},i(b){f||(m(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&S(e),j(n),i[116](null),d=!1,nt(h)}}}function aa(i){let e,t,n,l,r,o,s,a;return n=new y3({}),{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),B(e,"item-mobile",i[8])},m(c,f){T(c,e,f),p(e,t),U(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",st(i[70])),he(e,"keydown",i[93])],s=!0)},p(c,f){(!o||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&S(e),j(n),s=!1,nt(a)}}}function ua(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C=i[40].showSupport&&H3(i);return l=new O3({}),f=new z3({}),{c(){C&&C.c(),e=O(),t=P("li"),n=P("div"),W(l.$$.fragment),r=O(),o=P("div"),o.textContent=`${Y("menu_copy_debug")}`,s=O(),a=P("li"),c=P("div"),W(f.$$.fragment),d=O(),h=P("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",Y("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",b=i[39]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(k,y){C&&C.m(k,y),T(k,e,y),T(k,t,y),p(t,n),U(l,n,null),p(t,r),p(t,o),T(k,s,y),T(k,a,y),p(a,c),U(f,c,null),p(a,d),p(a,h),v=!0,w||(_=[he(t,"click",st(i[72])),he(t,"keydown",i[95]),he(a,"click",st(i[73])),he(a,"keydown",i[96])],w=!0)},p(k,y){k[40].showSupport&&C.p(k,y),(!v||y[1]&256&&b!==(b=k[39]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(k){v||(m(C),m(l.$$.fragment,k),m(f.$$.fragment,k),v=!0)},o(k){g(C),g(l.$$.fragment,k),g(f.$$.fragment,k),v=!1},d(k){k&&(S(e),S(t),S(s),S(a)),C&&C.d(k),j(l),j(f),w=!1,nt(_)}}}function H3(i){let e,t,n,l,r,o,s,a;return n=new B3({}),{c(){e=P("li"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,t),U(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",st(i[71])),he(e,"keydown",i[94])],s=!0)},p:K,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&S(e),j(n),s=!1,nt(a)}}}function ca(i){let e,t,n,l,r,o,s,a,c,f,d,h;n=new $n({props:{direction:"left"}});let b=Gt(i[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=ma(ea(i,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("submenu_quality")}`,o=O(),s=P("div"),a=O(),c=P("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),B(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[22]),B(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!i[8]),B(e,"menu-mobile",i[8])},m(_,C){T(_,e,C),p(e,t),U(n,t,null),p(t,l),p(t,r),i[118](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[121](c),f=!0,d||(h=[he(t,"click",st(i[69])),he(c,"keydown",i[82])],d=!0)},p(_,C){if((!f||C[0]&256)&&B(t,"item-mobile",_[8]),C[0]&4352|C[2]&2097154){b=Gt(_[12]);let k;for(k=0;k<b.length;k+=1){const y=ea(_,b,k);v[k]?(v[k].p(y,C),m(v[k],1)):(v[k]=ma(y),v[k].c(),m(v[k],1),v[k].m(c,null))}for(fe(),k=b.length;k<v.length;k+=1)w(k);de()}(!f||C[0]&4194304)&&u(c,"style",_[22]),(!f||C[0]&256)&&B(c,"items-mobile",_[8]),(!f||C[0]&256)&&B(e,"menu-desktop",!_[8]),(!f||C[0]&256)&&B(e,"menu-mobile",_[8])},i(_){if(!f){m(n.$$.fragment,_);for(let C=0;C<b.length;C+=1)m(v[C]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(_){_&&S(e),j(n),i[118](null),Nn(v,_),i[121](null),d=!1,nt(h)}}}function fa(i){let e,t,n;return t=new Wo({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),U(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function da(i){let e,t,n;var l=Io(i[149].value);function r(o){return{}}return l&&(t=Fn(l,r())),{c(){e=P("div"),t&&W(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){T(o,e,s),t&&U(t,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Io(o[149].value))){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(t=Fn(l,r()),W(t.$$.fragment),m(t.$$.fragment,1),U(t,e,null)):t=null}},i(o){n||(t&&m(t.$$.fragment,o),n=!0)},o(o){t&&g(t.$$.fragment,o),n=!1},d(o){o&&S(e),t&&j(t)}}}function ma(i){let e,t,n,l=i[149].displayValue+"",r,o,s=!i[8]&&Io(i[149].value),a,c,f,d,h,b,v=i[149].selected&&fa(),w=s&&da(i);function _(){return i[119](i[149])}function C(...k){return i[120](i[149],...k)}return{c(){e=P("li"),v&&v.c(),t=O(),n=P("div"),r=De(l),o=O(),w&&w.c(),a=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[149].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=i[149].displayValue),B(e,"item-mobile",i[8])},m(k,y){T(k,e,y),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),d=!0,h||(b=[he(e,"click",st(_)),he(e,"keydown",C)],h=!0)},p(k,y){i=k,i[149].selected?v?y[0]&4096&&m(v,1):(v=fa(),v.c(),m(v,1),v.m(e,t)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!d||y[0]&4096)&&l!==(l=i[149].displayValue+"")&&Je(r,l),(!d||y[0]&256)&&B(n,"quality-title-mobile",i[8]),y[0]&4352&&(s=!i[8]&&Io(i[149].value)),s?w?(w.p(i,y),y[0]&4352&&m(w,1)):(w=da(i),w.c(),m(w,1),w.m(e,a)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),(!d||y[0]&4096&&c!==(c=i[149].value))&&u(e,"data-value",c),(!d||y[0]&4096&&f!==(f=i[149].displayValue))&&u(e,"aria-label",f),(!d||y[0]&256)&&B(e,"item-mobile",i[8])},i(k){d||(m(v),m(w),d=!0)},o(k){g(v),g(w),d=!1},d(k){k&&S(e),v&&v.d(),w&&w.d(),h=!1,nt(b)}}}function pa(i){let e,t,n,l,r,o,s,a,c,f,d,h;n=new $n({props:{direction:"left"}});let b=Gt(i[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=va($s(i,b,_));const w=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("submenu_playback_rate")}`,o=O(),s=P("div"),a=O(),c=P("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),B(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),B(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!i[8]),B(e,"menu-mobile",i[8])},m(_,C){T(_,e,C),p(e,t),U(n,t,null),p(t,l),p(t,r),i[122](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[125](c),f=!0,d||(h=[he(t,"click",st(i[69])),he(c,"keydown",i[85])],d=!0)},p(_,C){if((!f||C[0]&256)&&B(t,"item-mobile",_[8]),C[0]&2304|C[2]&16777232){b=Gt(_[11]);let k;for(k=0;k<b.length;k+=1){const y=$s(_,b,k);v[k]?(v[k].p(y,C),m(v[k],1)):(v[k]=va(y),v[k].c(),m(v[k],1),v[k].m(c,null))}for(fe(),k=b.length;k<v.length;k+=1)w(k);de()}(!f||C[0]&8388608)&&u(c,"style",_[23]),(!f||C[0]&256)&&B(c,"items-mobile",_[8]),(!f||C[0]&256)&&B(e,"menu-desktop",!_[8]),(!f||C[0]&256)&&B(e,"menu-mobile",_[8])},i(_){if(!f){m(n.$$.fragment,_);for(let C=0;C<b.length;C+=1)m(v[C]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(_){_&&S(e),j(n),i[122](null),Nn(v,_),i[125](null),d=!1,nt(h)}}}function ha(i){let e,t,n;return t=new Wo({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),U(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function va(i){let e,t,n,l=i[146].displayValue+"",r,o,s,a,c,f,d,h=i[146].selected&&ha();function b(){return i[123](i[146])}function v(...w){return i[124](i[146],...w)}return{c(){e=P("li"),h&&h.c(),t=O(),n=P("div"),r=De(l),o=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[146].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[146].displayValue),B(e,"item-mobile",i[8])},m(w,_){T(w,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",st(b)),he(e,"keydown",v)],f=!0)},p(w,_){i=w,i[146].selected?h?_[0]&2048&&m(h,1):(h=ha(),h.c(),m(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&2048)&&l!==(l=i[146].displayValue+"")&&Je(r,l),(!c||_[0]&256)&&B(n,"quality-title-mobile",i[8]),(!c||_[0]&2048&&s!==(s=i[146].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=i[146].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&B(e,"item-mobile",i[8])},i(w){c||(m(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,nt(d)}}}function ga(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue;n=new $n({props:{direction:"left"}});let ae=!i[9]&&ba(),R=i[9]&&_a();return{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("submenu_traffic_saving")}`,o=O(),s=P("div"),a=O(),c=P("ul"),f=P("li"),ae&&ae.c(),d=O(),h=P("div"),h.textContent=`${Y("traffic_saving_disable")}`,b=O(),v=P("li"),R&&R.c(),w=O(),_=P("div"),_.textContent=`${Y("traffic_saving_enable")}`,C=O(),k=P("div"),y=O(),M=P("div"),z=P("span"),z.textContent=`${Y("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),B(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),B(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",Y("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",i[8]),u(_,"class","v-5r0p3"),B(_,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),B(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[24]),B(c,"items-mobile",i[8]),u(k,"class","menu-divider v-5r0p3"),u(z,"class","v-5r0p3"),u(M,"class","item item-helper-text v-5r0p3"),B(M,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),B(e,"menu-desktop",!i[8]),B(e,"menu-mobile",i[8])},m(te,X){T(te,e,X),p(e,t),U(n,t,null),p(t,l),p(t,r),i[126](t),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),ae&&ae.m(f,null),p(f,d),p(f,h),p(c,b),p(c,v),R&&R.m(v,null),p(v,w),p(v,_),i[131](c),p(e,C),p(e,k),p(e,y),p(e,M),p(M,z),I=!0,F||(ue=[he(t,"click",st(i[69])),he(f,"click",st(i[127])),he(f,"keydown",i[128]),he(v,"click",st(i[129])),he(v,"keydown",i[130]),he(c,"keydown",i[91])],F=!0)},p(te,X){(!I||X[0]&256)&&B(t,"item-mobile",te[8]),te[9]?ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()):ae?X[0]&512&&m(ae,1):(ae=ba(),ae.c(),m(ae,1),ae.m(f,d)),(!I||X[0]&256)&&B(h,"quality-title-mobile",te[8]),(!I||X[0]&256)&&B(f,"item-mobile",te[8]),te[9]?R?X[0]&512&&m(R,1):(R=_a(),R.c(),m(R,1),R.m(v,w)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),(!I||X[0]&256)&&B(_,"quality-title-mobile",te[8]),(!I||X[0]&256)&&B(v,"item-mobile",te[8]),(!I||X[0]&16777216)&&u(c,"style",te[24]),(!I||X[0]&256)&&B(c,"items-mobile",te[8]),(!I||X[0]&256)&&B(M,"item-mobile",te[8]),(!I||X[0]&256)&&B(e,"menu-desktop",!te[8]),(!I||X[0]&256)&&B(e,"menu-mobile",te[8])},i(te){I||(m(n.$$.fragment,te),m(ae),m(R),I=!0)},o(te){g(n.$$.fragment,te),g(ae),g(R),I=!1},d(te){te&&S(e),j(n),i[126](null),ae&&ae.d(),R&&R.d(),i[131](null),F=!1,nt(ue)}}}function ba(i){let e,t,n;return t=new Wo({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),U(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function _a(i){let e,t,n;return t=new Wo({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),U(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function wa(i){let e,t,n,l,r,o,s,a,c,f;n=new $n({props:{direction:"left"}});let d=Gt(i[10]),h=[];for(let v=0;v<d.length;v+=1)h[v]=ya(xs(i,d,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("div"),r.textContent=`${Y("subtitles_caption")}`,o=O(),s=P("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),B(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),B(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),B(e,"menu-desktop",!i[8]),B(e,"menu-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),U(n,t,null),p(t,l),p(t,r),p(e,o),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);i[134](s),a=!0,c||(f=[he(t,"click",st(i[69])),he(s,"keydown",i[88])],c=!0)},p(v,w){if((!a||w[0]&256)&&B(t,"item-mobile",v[8]),w[0]&1280|w[2]&134217792){d=Gt(v[10]);let _;for(_=0;_<d.length;_+=1){const C=xs(v,d,_);h[_]?(h[_].p(C,w),m(h[_],1)):(h[_]=ya(C),h[_].c(),m(h[_],1),h[_].m(s,null))}for(fe(),_=d.length;_<h.length;_+=1)b(_);de()}(!a||w[0]&256)&&B(s,"items-mobile",v[8]),(!a||w[0]&256)&&B(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!a){m(n.$$.fragment,v);for(let w=0;w<d.length;w+=1)m(h[w]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(v){v&&S(e),j(n),Nn(h,v),i[134](null),c=!1,nt(f)}}}function ka(i){let e,t,n;return t=new Wo({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),U(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function ya(i){let e,t,n,l=i[143].displayValue+"",r,o,s,a,c,f,d,h=i[143].selected&&ka();function b(){return i[132](i[143])}function v(...w){return i[133](i[143],...w)}return{c(){e=P("li"),h&&h.c(),t=O(),n=P("div"),r=De(l),o=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[143].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[143].displayValue),B(e,"item-mobile",i[8])},m(w,_){T(w,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",st(b)),he(e,"keydown",v)],f=!0)},p(w,_){i=w,i[143].selected?h?_[0]&1024&&m(h,1):(h=ka(),h.c(),m(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||_[0]&1024)&&l!==(l=i[143].displayValue+"")&&Je(r,l),(!c||_[0]&256)&&B(n,"quality-title-mobile",i[8]),(!c||_[0]&1024&&s!==(s=i[143].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=i[143].displayValue))&&u(e,"aria-label",a),(!c||_[0]&256)&&B(e,"item-mobile",i[8])},i(w){c||(m(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,nt(d)}}}function U3(i){let e,t,n,l,r,o,s=i[14]&&ta(i),a=i[16]&&ca(i),c=i[17]&&pa(i),f=i[19]&&ga(i),d=i[18]&&wa(i);return{c(){e=P("div"),s&&s.c(),t=O(),a&&a.c(),n=O(),c&&c.c(),l=O(),f&&f.c(),r=O(),d&&d.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!i[14]),B(e,"container-mobile",i[8])},m(h,b){T(h,e,b),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&m(s,1)):(s=ta(h),s.c(),m(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),h[16]?a?(a.p(h,b),b[0]&65536&&m(a,1)):(a=ca(h),a.c(),m(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,b),b[0]&131072&&m(c,1)):(c=pa(h),c.c(),m(c,1),c.m(e,l)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,b),b[0]&524288&&m(f,1)):(f=ga(h),f.c(),m(f,1),f.m(e,r)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?d?(d.p(h,b),b[0]&262144&&m(d,1)):(d=wa(h),d.c(),m(d,1),d.m(e,null)):d&&(fe(),g(d,1,1,()=>{d=null}),de()),(!o||b[0]&16384)&&B(e,"hidden",!h[14]),(!o||b[0]&256)&&B(e,"container-mobile",h[8])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){g(s),g(a),g(c),g(f),g(d),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const ul=18;function j3(i,e,t){let n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,{ref:te=void 0}=e,{supportLink:X}=e,{playerControlsHeight:G=0}=e,{returnFocus:A}=e;const V=kt(),J=wn(),L=V.state.currentQuality$;D(i,L,re=>t(104,w=re));const ne=V.state.availableQualities$;D(i,ne,re=>t(12,b=re));const Te=V.state.autoQualityLimitingAvailable$;D(i,Te,re=>t(108,y=re));const Pe=V.state.isAutoQualityEnabled$;D(i,Pe,re=>t(105,_=re));const Ve=V.state.currentPlaybackRate$;D(i,Ve,re=>t(13,v=re));const Ae=V.state.availablePlaybackRates$;D(i,Ae,re=>t(11,d=re));const Oe=V.state.currentSubtitle$;D(i,Oe,re=>t(38,ae=re));const me=V.state.availableSubtitlesList$;D(i,me,re=>t(10,c=re));const H=V.state.canDownload,$=V.state.hasMpegSources$;D(i,$,re=>t(109,M=re));const pe=V.ui.settingsMenuVisible;D(i,pe,re=>t(14,ue=re));const ce=V.ui.settingsMenuOpenedByKeyboard;D(i,ce,re=>t(136,l=re));const Fe=V.ui.isMobile;D(i,Fe,re=>t(8,r=re));const Re=V.ui.mobileNotReportControlHidden$;D(i,Re,re=>t(106,C=re));const Ne=V.state.canChangePlaybackSpeed$;D(i,Ne,re=>t(107,k=re));const Ie=V.ui.isFullscreen;D(i,Ie,re=>t(112,F=re));const ge=V.state.trafficSavingEnabled$;D(i,ge,re=>t(9,s=re));const ve=V.ui.playerSize;D(i,ve,re=>t(111,I=re));const ee=V.ui.debugPanelVisible;D(i,ee,re=>t(39,R=re));const Ce=V.ui.playerSize;D(i,Ce,re=>t(110,z=re));const oe=V.state.isInteractiveTime$,be=V.actions.internal.downloadVideo,Ke=V.actions.internal.closeSettingsMenu;let Me=!0,xe=!1,Xe=!1,ot=!1,at=!1,St=!1;function vt(){l||A==null||A(),Ke(),St=!1}function Yt(){t(15,Me=!1),t(16,xe=!0)}function Pt(){t(15,Me=!1),t(19,at=!0)}function Tt(re){V.actions.internal.setQuality(re),vt()}function le(re){V.actions.internal.setTrafficSavingEnabled(re),vt()}function gt(){t(15,Me=!1),t(17,Xe=!0)}function lt(re){V.actions.internal.setPlaybackRate(re),vt()}function Ot(){t(15,Me=!1),t(18,ot=!0)}function ut(re){V.actions.internal.setSubtitle(re),vt()}function At(){t(15,Me=!0),t(16,xe=!1),t(17,Xe=!1),t(18,ot=!1),t(19,at=!1)}function $e(){be(),vt()}function Ue(){window.open(X,"_blank"),vt(),V.actions.internal.pause()}function Et(){fr(V.actions.internal.getDebugTextData()),vt()}function Ui(){ee.set(!0),vt()}function di(){St=!0}function mi(){St=!1}function un(re,it,Mt){if(!re)return"...";const It=it.find(fn=>fn.value===re),zt=It?It.displayValue:re;return Mt?re===et.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:zt}):zt}let ti,Qt,pi,Dt,hi,vi,ii,gi,bi,ni,ji,Li,qi,oi,Vi,Lt,yt,_i,wi=Le(!1);D(i,wi,re=>t(103,h=re));let rt,li,ct=Le(!1);D(i,ct,re=>t(102,f=re));let Nt,ri,ki=Le(!1);D(i,ki,re=>t(101,a=re));let yi,Ut,Ci=Le(!1);D(i,Ci,re=>t(100,o=re));const Mi=re=>{Fc(re,Ke)},jt=re=>tn(this,null,function*(){sl(re,Yt,()=>{const it=b.findIndex(Mt=>Mt.selected);return _i.childNodes[it]})}),nn=re=>tn(this,null,function*(){al(re,At,wi,Ke)}),Wi=(re,it)=>{an(re,()=>Tt(it))},Si=re=>tn(this,null,function*(){sl(re,gt,()=>{const it=d.findIndex(Mt=>Mt.selected);return li.childNodes[it]})}),Zi=re=>tn(this,null,function*(){al(re,At,ct,Ke)}),Rt=(re,it)=>{an(re,()=>lt(it))},Zt=re=>tn(this,null,function*(){sl(re,Ot,()=>{const it=c.findIndex(Mt=>Mt.selected);return ri.childNodes[it]})}),Pi=re=>tn(this,null,function*(){al(re,At,ki,Ke)}),si=(re,it)=>{an(re,()=>ut(it))},Bi=re=>tn(this,null,function*(){sl(re,Pt,()=>{const it=s?2:0;return Ut.childNodes[it]})}),Ni=re=>tn(this,null,function*(){al(re,At,Ci,Ke)}),Ki=(re,it)=>{an(re,()=>le(it))},Qi=re=>{an(re,()=>$e())},Ri=re=>{an(re,()=>Ue())},Ti=re=>{an(re,()=>Et())},Ei=re=>{an(re,()=>Ui())};_n(()=>{const re=oe.subscribe(it=>{it&&!r&&!St&&!l&&vt()});return()=>{re()}});function Xi(re){Se[re?"unshift":"push"](()=>{yt=re,t(4,yt)})}function qt(re){Se[re?"unshift":"push"](()=>{rt=re,t(5,rt)})}function ai(re){Se[re?"unshift":"push"](()=>{Nt=re,t(6,Nt)})}function Ji(re){Se[re?"unshift":"push"](()=>{yi=re,t(7,yi)})}function ui(re){Se[re?"unshift":"push"](()=>{te=re,t(0,te)})}function ci(re){Se[re?"unshift":"push"](()=>{Qt=re,t(1,Qt)})}const Oi=re=>Tt(re.value),Kt=(re,it)=>Wi(it,re.value);function je(re){Se[re?"unshift":"push"](()=>{_i=re,t(33,_i)})}function Di(re){Se[re?"unshift":"push"](()=>{pi=re,t(2,pi)})}const Xt=re=>lt(re.value),Gi=(re,it)=>Rt(it,re.value);function Be(re){Se[re?"unshift":"push"](()=>{li=re,t(34,li)})}function cn(re){Se[re?"unshift":"push"](()=>{Dt=re,t(3,Dt)})}const xi=()=>le(!1),$i=re=>Ki(re,!1),Ai=()=>le(!0),on=re=>Ki(re,!0);function Jt(re){Se[re?"unshift":"push"](()=>{Ut=re,t(36,Ut)})}const Yi=re=>ut(re),zi=(re,it)=>si(it,re);function Vt(re){Se[re?"unshift":"push"](()=>{ri=re,t(35,ri)})}return i.$$set=re=>{"ref"in re&&t(0,te=re.ref),"supportLink"in re&&t(97,X=re.supportLink),"playerControlsHeight"in re&&t(98,G=re.playerControlsHeight),"returnFocus"in re&&t(99,A=re.returnFocus)},i.$$.update=()=>{var re,it,Mt,It;if(i.$$.dirty[0]&16384&&ue&&(t(15,Me=!0),t(16,xe=!1),t(17,Xe=!1),t(18,ot=!1),t(19,at=!1)),i.$$.dirty[3]&2048&&t(37,n=Io(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&6144&&t(20,ti=un(w,b,_)),i.$$.dirty[0]&256|i.$$.dirty[3]&131104)if(r)t(21,hi="");else{const zt=z.height-ul-G;t(21,hi=`max-height: ${zt}px; overflow: auto`)}if(i.$$.dirty[0]&258|i.$$.dirty[3]&917536)if(r&&F)t(22,vi=`max-height: ${Math.round(I.height*.6)}px`);else if(r)t(22,vi="");else{const zt=z.height-ul-((re=Qt==null?void 0:Qt.clientHeight)!=null?re:0)-G;t(22,vi=`max-height: ${zt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&131104)if(r)t(23,ii="");else{const zt=z.height-ul-((it=pi==null?void 0:pi.clientHeight)!=null?it:0)-G;t(23,ii=`max-height: ${zt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&131104)if(r)t(24,gi="");else{const zt=z.height-ul-((Mt=Dt==null?void 0:Dt.clientHeight)!=null?Mt:0)-G;t(24,gi=`max-height: ${zt}px; overflow: auto;`)}i.$$.dirty[3]&73728&&t(25,bi=H&&M&&!C),i.$$.dirty[3]&40960&&t(26,ni=J.features.trafficSaving&&!C&&y),i.$$.dirty[0]&1024|i.$$.dirty[3]&8192&&t(27,ji=c.length>0&&!C),i.$$.dirty[3]&24576&&t(28,Li=!!k&&!C),i.$$.dirty[3]&8192&&t(29,qi=!C),i.$$.dirty[0]&512&&t(30,oi=Y(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&6144&&t(31,Vi=_?Y("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(32,Lt=(It=d.find(zt=>zt.value===v))==null?void 0:It.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&1024&&rl(yt,wi,h),i.$$.dirty[0]&32|i.$$.dirty[3]&512&&rl(rt,ct,f),i.$$.dirty[0]&64|i.$$.dirty[3]&256&&rl(Nt,ki,a),i.$$.dirty[0]&128|i.$$.dirty[3]&128&&rl(yi,Ci,o)},[te,Qt,pi,Dt,yt,rt,Nt,yi,r,s,c,d,b,v,ue,Me,xe,Xe,ot,at,ti,hi,vi,ii,gi,bi,ni,ji,Li,qi,oi,Vi,Lt,_i,li,ri,Ut,n,ae,R,J,L,ne,Te,Pe,Ve,Ae,Oe,me,$,pe,ce,Fe,Re,Ne,Ie,ge,ve,ee,Ce,vt,Yt,Pt,Tt,le,gt,lt,Ot,ut,At,$e,Ue,Et,Ui,di,mi,wi,ct,ki,Ci,Mi,jt,nn,Wi,Si,Zi,Rt,Zt,Pi,si,Bi,Ni,Ki,Qi,Ri,Ti,Ei,X,G,A,o,a,f,h,w,_,C,k,y,M,z,I,F,Xi,qt,ai,Ji,ui,ci,Oi,Kt,je,Di,Xt,Gi,Be,cn,xi,$i,Ai,on,Jt,Yi,zi,Vt]}class Xc extends ye{constructor(e){super(),ke(this,e,j3,U3,we,{ref:0,supportLink:97,playerControlsHeight:98,returnFocus:99},F3,[-1,-1,-1,-1,-1])}}function q3(i){Ze(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function W3(i){let e,t,n;return t=new Yc({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=P("span"),W(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){T(l,e,r),U(t,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),t.$set(o)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function Z3(i){let e,t,n;function l(o){i[9](o)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[W3]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function K3(i,e,t){let n,l,r,{ref:o=void 0}=e;const s=kt(),a=s.state.currentQuality$;D(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;D(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;D(i,d,w=>t(3,l=w));let h;function b(w){const _=kr(w);f(_)}function v(w){o=w,t(0,o)}return i.$$set=w=>{"ref"in w&&t(0,o=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,b,v]}class Pr extends ye{constructor(e){super(),ke(this,e,K3,Z3,we,{ref:0},q3)}}function G3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Y3 extends ye{constructor(e){super(),ke(this,e,null,G3,we,{})}}function Q3(i){let e,t;return e=new Qc({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function X3(i){let e,t;return e=new Y3({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function J3(i){let e,t,n,l;const r=[X3,Q3],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t||(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function x3(i){let e,t;return e=new Ii({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Do[Ee.KeyC],$$slots:{default:[J3]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function $3(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return i.$$set=o=>{"isSubtitlesEnabled"in o&&t(0,n=o.isSubtitlesEnabled),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class eh extends ye{constructor(e){super(),ke(this,e,$3,x3,we,{isSubtitlesEnabled:0,click:1})}}function th(i){Ze(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 Ca(i){let e,t;return{c(){e=P("span"),t=De(i[3]),u(e,"class","duration v-19o2urr")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&8&&Je(t,n[3])},d(n){n&&S(e)}}}function ih(i){let e,t,n,l,r=i[2]&&Ca(i);return{c(){e=P("div"),t=P("span"),n=De(i[4]),l=O(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",i[1])},m(o,s){T(o,e,s),p(e,t),p(t,n),p(e,l),r&&r.m(e,null),i[7](e)},p(o,[s]){s&16&&Je(n,o[4]),o[2]?r?r.p(o,s):(r=Ca(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&B(e,"mobile",o[1])},i:K,o:K,d(o){o&&S(e),r&&r.d(),i[7](null)}}}function nh(i,e,t){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){Se[d?"unshift":"push"](()=>{s=d,t(0,s)})}return i.$$set=d=>{"isMobile"in d&&t(1,n=d.isMobile),"duration"in d&&t(5,l=d.duration),"position"in d&&t(6,r=d.position),"showDuration"in d&&t(2,o=d.showDuration),"ref"in d&&t(0,s=d.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Wn(l)),i.$$.dirty&64&&t(4,c=Wn(r))},[s,n,o,a,c,l,r,f]}class Jc extends ye{constructor(e){super(),ke(this,e,nh,ih,we,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},th)}}function oh(i){Ze(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 lh(i){let e,t,n,l,r,o;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",o="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(t,l),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&S(e)}}}function rh(i,e,t){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,l=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,o=r(n,l))},[o,n,l]}class Cl extends ye{constructor(e){super(),ke(this,e,rh,lh,we,{volume:1,muted:2},oh)}}function sh(i){let e,t;const n=i[4].default,l=Zn(n,i,i[3],null);return{c(){e=P("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){T(r,e,o),l&&l.m(e,null),i[5](e),t=!0},p(r,[o]){l&&l.p&&(!t||o&8)&&Gn(l,n,r,r[3],t?Kn(n,r[3],o,null):Yn(r[3]),null)},i(r){t||(m(l,r),t=!0)},o(r){g(l,r),t=!1},d(r){r&&S(e),l&&l.d(r),i[5](null)}}}function ah(i,e,t){let n,{$$slots:l={},$$scope:r}=e;const s=kt().ui.overlayContainer$;D(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};_n(()=>(f(n),()=>c(n)));function d(h){Se[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class uh extends ye{constructor(e){super(),ke(this,e,ah,sh,we,{})}}function ch(i){Ze(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 Sa(i){let e,t;return e=new uh({props:{$$slots:{default:[fh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&262387&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function fh(i){let e,t,n,l,r,o,s;return{c(){e=P("div"),t=P("div"),n=De(i[1]),l=O(),r=P("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",o=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),B(e,"active",i[0])},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),i[17](e)},p(a,c){c&2&&Je(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&B(e,"active",a[0])},d(a){a&&S(e),i[17](null)}}}function dh(i){let e,t,n,l,r,o;const s=i[15].default,a=Zn(s,i,i[18],null);let c=i[1]&&Sa(i);return{c(){e=P("div"),a&&a.c(),t=O(),c&&c.c(),n=pt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(e,"full-width",i[2])},m(f,d){T(f,e,d),a&&a.m(e,null),i[16](e),T(f,t,d),c&&c.m(f,d),T(f,n,d),l=!0,r||(o=[he(e,"mouseenter",i[11]),he(e,"mousemove",i[11]),he(e,"mouseleave",i[12]),he(e,"mousedown",i[12]),he(e,"mouseup",i[11])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&262144)&&Gn(a,s,f,f[18],l?Kn(s,f[18],d,null):Yn(f[18]),null),(!l||d&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=Sa(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){l||(m(a,f),m(c),l=!0)},o(f){g(a,f),g(c),l=!1},d(f){f&&(S(e),S(t),S(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,nt(o)}}}const cl=5;function mh(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,h,b,v,w=0,_=cl,C=0,k=0;const y=wn(),M=kt(),z=M.ui.playerSize;D(i,z,V=>t(21,l=V));const I=M.ui.overlayContainer$;D(i,I,V=>t(20,n=V));const F=M.getLogger().createComponentLog("Tooltip component"),ue=()=>{if(!n)return;const V=n.getBoundingClientRect(),J=h.getBoundingClientRect(),L=J.width,ne=b.clientWidth,Te=l.width,Pe=(L-ne)/2,Ve=J.left+c-V.left;let Ae=Ve+Pe;const Oe=J.top+f-V.top;let me=ne/2-cl;const H=Ae<$o,$=Ae+ne>Te-$o;H&&(Ae=$o,me=Ve+J.width/2-2.5*cl),$&&(Ae=Te-$o-ne,me=J.left-V.left+J.width/2-Ae-cl),t(6,C=Ae),t(7,k=Oe),t(5,w=me)},ae=()=>{try{if(!n||!h)return;ue(),t(0,a=!0)}catch(V){F({message:String(V)})}},R=()=>{t(0,a=!1)},te=()=>{b&&(v||(v=window.setTimeout(ae,y.controls.hideTimeoutTooltips)),a&&ae())},X=()=>{R(),window.clearTimeout(v),v=void 0};bl(()=>window.clearTimeout(v));function G(V){Se[V?"unshift":"push"](()=>{h=V,t(3,h)})}function A(V){Se[V?"unshift":"push"](()=>{b=V,t(4,b)})}return i.$$set=V=>{"content"in V&&t(1,s=V.content),"active"in V&&t(0,a=V.active),"translateX"in V&&t(13,c=V.translateX),"translateY"in V&&t(14,f=V.translateY),"isFullWidthWrapper"in V&&t(2,d=V.isFullWidthWrapper),"$$scope"in V&&t(18,o=V.$$scope)},[a,s,d,h,b,w,C,k,_,z,I,te,X,c,f,r,G,A,o]}class xc extends ye{constructor(e){super(),ke(this,e,mh,dh,we,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},ch)}}function ph(i){Ze(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 hh(i){let e;const t=i[16].default,n=Zn(t,i,i[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Gn(n,t,l,l[21],e?Kn(t,l[21],r,null):Yn(l[21]),null)},i(l){e||(m(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function vh(i){let e,t;return e=new xc({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[gh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&512&&(r.content=n[9]),l&128&&(r.translateX=n[7]),l&256&&(r.translateY=n[8]),l&16&&(r.isFullWidthWrapper=n[4]),l&2097152&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function gh(i){let e;const t=i[16].default,n=Zn(t,i,i[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Gn(n,t,l,l[21],e?Kn(t,l[21],r,null):Yn(l[21]),null)},i(l){e||(m(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function bh(i){let e,t,n,l,r,o,s,a,c;const f=[vh,hh],d=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return t=h(i),n=d[t]=f[t](i),{c(){e=P("div"),n.c(),u(e,"class",l="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),To(()=>i[20].call(e))},m(b,v){T(b,e,v),d[t].m(e,null),i[19](e),o=dr(e,i[20].bind(e)),s=!0,a||(c=[he(e,"pointerdown",st(ei(i[17]))),he(e,"click",st(ei(i[18])))],a=!0)},p(b,[v]){let w=t;t=h(b),t===w?d[t].p(b,v):(fe(),g(d[w],1,1,()=>{d[w]=null}),de(),n=d[t],n?n.p(b,v):(n=d[t]=f[t](b),n.c()),m(n,1),n.m(e,null)),(!s||v&4&&l!==(l="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",l),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(m(n),s=!0)},o(b){g(n),s=!1},d(b){b&&S(e),d[t].d(),i[19](null),o(),a=!1,nt(c)}}}function _h(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:C=-18}=e;const k=kt(),y=k.ui.isMobile;D(i,y,R=>t(10,l=R));const M=k.state.graphIsOpened$;D(i,M,R=>t(15,n=R));let z;function I(R){Po.call(this,i,R)}function F(R){Po.call(this,i,R)}function ue(R){Se[R?"unshift":"push"](()=>{f=R,t(0,f)})}function ae(){d=this.clientWidth,t(1,d)}return i.$$set=R=>{"className"in R&&t(2,s=R.className),"disabled"in R&&t(13,a=R.disabled),"hasTooltip"in R&&t(3,c=R.hasTooltip),"ref"in R&&t(0,f=R.ref),"width"in R&&t(1,d=R.width),"isFullWidthTooltip"in R&&t(4,h=R.isFullWidthTooltip),"tooltipContent"in R&&t(5,b=R.tooltipContent),"disabledTooltipContent"in R&&t(14,v=R.disabledTooltipContent),"isAriaHidden"in R&&t(6,w=R.isAriaHidden),"initialTranslateXPx"in R&&t(7,_=R.initialTranslateXPx),"initialTranslateYPx"in R&&t(8,C=R.initialTranslateYPx),"$$scope"in R&&t(21,o=R.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,z=n?Y("tooltip_disabled_when_graph_on"):v):t(9,z=b))},[f,d,s,c,h,b,w,_,C,z,l,y,M,a,v,n,r,I,F,ue,ae,o]}class Wt extends ye{constructor(e){super(),ke(this,e,_h,bh,we,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},ph)}}function wh(i){let e,t,n,l,r;return{c(){e=N("svg"),t=N("rect"),l=N("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(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=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(o,s){T(o,e,s),p(e,t),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&S(e)}}}function kh(i,e,t){let{completed:n}=e;return i.$$set=l=>{"completed"in l&&t(0,n=l.completed)},[n]}class $c extends ye{constructor(e){super(),ke(this,e,kh,wh,we,{completed:0})}}function yh(i){Ze(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 Ch(i){let e,t,n,l,r;return t=new $c({props:{completed:!!i[0].completed}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),To(()=>i[3].call(e)),B(e,"disabled",i[1])},m(o,s){T(o,e,s),U(t,e,null),l=dr(e,i[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&B(e,"disabled",o[1])},i(o){r||(m(t.$$.fragment,o),r=!0)},o(o){g(t.$$.fragment,o),r=!1},d(o){o&&S(e),j(t),l()}}}function Sh(i){let e,t;return e=new Wt({props:{tooltipContent:Y(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:[Ch]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ph(i,e,t){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,l=s.disabled)},[n,l,r,o]}class Th extends ye{constructor(e){super(),ke(this,e,Ph,Sh,we,{videoEpisode:0,disabled:1},yh)}}function Eh(i){Ze(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 Pa(i,e,t){const n=i.slice();return n[2]=e[t],n}function Ta(i){let e,t,n,l,r,o,s,a,c;return{c(){e=P("div"),t=P("div"),n=P("div"),r=O(),o=P("div"),a=O(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),B(o,"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}%`),B(e,"mobile",i[1])},m(f,d){T(f,e,d),p(e,t),p(t,n),p(t,r),p(t,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&B(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&B(e,"mobile",f[1])},d(f){f&&S(e)}}}function Ah(i){let e,t=Gt(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Ta(Pa(i,t,l));return{c(){e=P("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){t=Gt(l[0]);let o;for(o=0;o<t.length;o+=1){const s=Pa(l,t,o);n[o]?n[o].p(s,r):(n[o]=Ta(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},i:K,o:K,d(l){l&&S(e),Nn(n,l)}}}function Ih(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class Lh extends ye{constructor(e){super(),ke(this,e,Ih,Ah,we,{videoEpisodes:0,isMobile:1},Eh)}}function Vh(i){Ze(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 Ea(i,e,t){const n=i.slice();return n[48]=e[t],n}function Aa(i){let e,t,n=Gt(i[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=La(Ea(i,n,o));const r=o=>g(l[o],1,1,()=>{l[o]=null});return{c(){e=P("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",i[5]),B(e,"hidden",i[5]&&!i[20])},m(o,s){T(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);t=!0},p(o,s){if(s[0]&2097664){n=Gt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=Ea(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=La(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(fe(),a=n.length;a<l.length;a+=1)r(a);de()}(!t||s[0]&32)&&B(e,"mobile",o[5]),(!t||s[0]&1048608)&&B(e,"hidden",o[5]&&!o[20])},i(o){if(!t){for(let s=0;s<n.length;s+=1)m(l[s]);t=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)g(l[s]);t=!1},d(o){o&&S(e),Nn(l,o)}}}function Ia(i){let e,t;return e=new Th({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function La(i){let e,t,n=i[48].interactive&&Ia(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=Ia(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(m(n),t=!0)},o(l){g(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function Mh(i){let e,t,n,l,r,o;return{c(){e=P("div"),t=P("div"),l=O(),r=P("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${i[12]*100}%);`),B(r,"active-live",i[4]),B(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,t),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&B(r,"active-live",s[4]),a[0]&64&&B(r,"ads",s[6])},i:K,o:K,d(s){s&&S(e)}}}function Bh(i){let e,t;return e=new Lh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Nh(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v=i[8]&&Aa(i);const w=[Bh,Mh],_=[];function C(k,y){return k[21].length?0:1}return n=C(i),l=_[n]=w[n](i),{c(){var k;v&&v.c(),e=O(),t=P("div"),l.c(),r=O(),o=P("div"),s=P("div"),u(s,"class","handle v-1golz1y"),B(s,"active-live",i[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${i[13]*100}%);`),B(o,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(k=i[1])!=null?k:null),B(t,"disabled",i[9]),B(t,"slider-dragging",i[20]),B(t,"hidden",i[2]),B(t,"slider-vertical",i[3]),B(t,"no-handle",i[10]),B(t,"square",i[7])},m(k,y){v&&v.m(k,y),T(k,e,y),T(k,t,y),_[n].m(t,null),p(t,r),p(t,o),p(o,s),i[42](t),d=!0,h||(b=[he(t,"pointerdown",ei(i[22])),he(t,"pointermove",ei(i[23])),he(t,"pointerup",ei(i[24])),he(t,"pointerenter",ei(i[25])),he(t,"pointerleave",ei(i[26])),he(t,"click",st(ie.noop)),he(t,"wheel",i[27])],h=!0)},p(k,y){var z;k[8]?v?(v.p(k,y),y[0]&256&&m(v,1)):(v=Aa(k),v.c(),m(v,1),v.m(e.parentNode,e)):v&&(fe(),g(v,1,1,()=>{v=null}),de());let M=n;n=C(k),n===M?_[n].p(k,y):(fe(),g(_[M],1,1,()=>{_[M]=null}),de(),l=_[n],l?l.p(k,y):(l=_[n]=w[n](k),l.c()),m(l,1),l.m(t,r)),(!d||y[0]&16)&&B(s,"active-live",k[4]),(!d||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(o,"style",a),(!d||y[0]&1024)&&B(o,"hidden",k[10]),(!d||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(t,"class",c),(!d||y[0]&16384)&&u(t,"aria-label",k[14]),(!d||y[0]&32768)&&u(t,"aria-valuemin",k[15]),(!d||y[0]&65536)&&u(t,"aria-valuemax",k[16]),(!d||y[0]&131072)&&u(t,"aria-valuenow",k[17]),(!d||y[0]&262144)&&u(t,"aria-valuetext",k[18]),(!d||y[0]&2&&f!==(f=(z=k[1])!=null?z:null))&&u(t,"data-testid",f),(!d||y[0]&513)&&B(t,"disabled",k[9]),(!d||y[0]&1048577)&&B(t,"slider-dragging",k[20]),(!d||y[0]&5)&&B(t,"hidden",k[2]),(!d||y[0]&9)&&B(t,"slider-vertical",k[3]),(!d||y[0]&1025)&&B(t,"no-handle",k[10]),(!d||y[0]&129)&&B(t,"square",k[7])},i(k){d||(m(v),m(l),d=!0)},o(k){g(v),g(l),d=!1},d(k){k&&(S(e),S(t)),v&&v.d(k),_[n].d(),i[42](null),h=!1,nt(b)}}}function Rh(i,e,t){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:w=!1}=e,{disabled:_=!1}=e,{hideHandel:C=!1}=e,k,y,{onPointerDown:M=ie.noop}=e,{onHandleMove:z=ie.noop}=e,{onPointerUp:I=ie.noop}=e,{onPointerEnter:F=ie.noop}=e,{onPointerMove:ue=ie.noop}=e,{onPointerLeave:ae=ie.noop}=e,{onWheelUp:R=ie.noop}=e,{onWheelDown:te=ie.noop}=e,{onWheelLeft:X=ie.noop}=e,{onWheelRight:G=ie.noop}=e,{loadedProgress:A=0}=e,{filledProgress:V=0}=e,{handleProgress:J=0}=e,{ariaLabel:L=""}=e,{ariaValueMin:ne=void 0}=e,{ariaValueMax:Te=void 0}=e,{ariaValueNow:Pe=void 0}=e,{ariaValueText:Ve=""}=e;const Ae=wn();let Oe=!1,me;function H(ee){if(Oe)return;t(20,Oe=!0),y=k.getBoundingClientRect();const Ce=Ne(ee.clientX,ee.clientY);M(Ce),k.setPointerCapture(ee.pointerId)}function $(ee){const Ce=Ne(ee.clientX,ee.clientY),oe=Ie(ee.clientX);ue(Ce,oe,y.width),Oe&&z(Ce)}function pe(ee){if(!Oe)return;t(20,Oe=!1);const Ce=Ne(ee.clientX,ee.clientY);I(Ce)}function ce(ee){y=k.getBoundingClientRect();const Ce=Ne(ee.clientX,ee.clientY),oe=Ie(ee.clientX);F(Ce,oe,y.width)}function Fe(){ae()}function Re(ee){v&&(ee.preventDefault(),ee.deltaY<0?R():ee.deltaY>0?te():ee.deltaX>0?G():X())}function Ne(ee,Ce){return a?Math.max(0,Math.min(1,(y.height-(Ce-y.top))/y.height)):Math.min(Math.max(ee-y.x,0),y.width)/y.width}function Ie(ee){return Math.min(Math.max(ee-y.x,0),y.width)}function ge(ee,Ce){const oe=Ae.features.episodesClustering&&!w?Ae.episodeMinWidthPc:0,be=[];let Ke=0,Me=0,xe=0;for(let at=1;at<b.length;at++)Me=b[at].time/me*100,Me-Ke>oe&&(be.push({from:Ke,width:Math.max(0,Me-Ke),loadedWidth:Math.max(0,Math.min(Me,ee)-Ke),filledWidth:Math.max(0,Math.min(Me,Ce)-Ke),interactive:b[at-1].interactive,completed:b[at-1].completed}),Ke=b[at].time/me*100,xe++);const Xe={from:Ke,width:Math.max(0,100-Ke),loadedWidth:Math.max(0,Math.min(ee,100)-Ke),filledWidth:Math.max(0,Math.min(Ce,100)-Ke),interactive:b[xe].interactive,completed:b[xe].completed};100-Ke<oe?(xe-=1,be[xe].width+=100-Ke,be[xe].loadedWidth+=Math.max(0,Math.min(ee,100)-Ke),be[xe].filledWidth+=Math.max(0,Math.min(Ce,100)-Ke)):be[xe]=Xe;const ot=b[0].time;if(ot!==0){const at=ot/me*100;be.unshift({from:0,width:at,loadedWidth:Math.min(at,ee),filledWidth:Math.min(at,Ce)})}return be}function ve(ee){Se[ee?"unshift":"push"](()=>{k=ee,t(19,k)})}return i.$$set=ee=>{"className"in ee&&t(0,r=ee.className),"testId"in ee&&t(1,o=ee.testId),"isHidden"in ee&&t(2,s=ee.isHidden),"isVertical"in ee&&t(3,a=ee.isVertical),"isActiveLive"in ee&&t(4,c=ee.isActiveLive),"isMobile"in ee&&t(5,f=ee.isMobile),"isAds"in ee&&t(6,d=ee.isAds),"squareBorders"in ee&&t(7,h=ee.squareBorders),"videoEpisodes"in ee&&t(28,b=ee.videoEpisodes),"withWheelHandler"in ee&&t(29,v=ee.withWheelHandler),"isInteractive"in ee&&t(8,w=ee.isInteractive),"disabled"in ee&&t(9,_=ee.disabled),"hideHandel"in ee&&t(10,C=ee.hideHandel),"onPointerDown"in ee&&t(30,M=ee.onPointerDown),"onHandleMove"in ee&&t(31,z=ee.onHandleMove),"onPointerUp"in ee&&t(32,I=ee.onPointerUp),"onPointerEnter"in ee&&t(33,F=ee.onPointerEnter),"onPointerMove"in ee&&t(34,ue=ee.onPointerMove),"onPointerLeave"in ee&&t(35,ae=ee.onPointerLeave),"onWheelUp"in ee&&t(36,R=ee.onWheelUp),"onWheelDown"in ee&&t(37,te=ee.onWheelDown),"onWheelLeft"in ee&&t(38,X=ee.onWheelLeft),"onWheelRight"in ee&&t(39,G=ee.onWheelRight),"loadedProgress"in ee&&t(11,A=ee.loadedProgress),"filledProgress"in ee&&t(12,V=ee.filledProgress),"handleProgress"in ee&&t(13,J=ee.handleProgress),"ariaLabel"in ee&&t(14,L=ee.ariaLabel),"ariaValueMin"in ee&&t(15,ne=ee.ariaValueMin),"ariaValueMax"in ee&&t(16,Te=ee.ariaValueMax),"ariaValueNow"in ee&&t(17,Pe=ee.ariaValueNow),"ariaValueText"in ee&&t(18,Ve=ee.ariaValueText)},i.$$.update=()=>{var ee;i.$$.dirty[0]&65536&&t(40,me=Te!=null?Te:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((ee=b[b.length-1])==null?void 0:ee.time)<me),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,l=b.length&&n&&me?ge(A*100,V*100):[])},[r,o,s,a,c,f,d,h,w,_,C,A,V,J,L,ne,Te,Pe,Ve,k,Oe,l,H,$,pe,ce,Fe,Re,b,v,M,z,I,F,ue,ae,R,te,X,G,me,n,ve]}class Tr extends ye{constructor(e){super(),ke(this,e,Rh,Nh,we,{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},Vh,[-1,-1])}}const Vn=(i,e)=>Ao[i]>=Ao[e],Oh=(i,e)=>Ao[i]<Ao[e],ef=(i,e)=>Ao[i]<=Ao[e],Dh=i=>i>ko.L?exports.GridTypes.XL:i>ko.M?exports.GridTypes.L:i>ko.S?exports.GridTypes.M:i>ko.XS?exports.GridTypes.S:exports.GridTypes.XS;function zh(i){Ze(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 Fh(i){let e,t;return e=new Cl({props:{volume:i[3],muted:i[1]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Hh(i){let e,t;return e=new Ii({props:{className:"btn-full-opacity",disabled:i[9],testId:i[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[0],ariaKeyShortCut:Do[Ee.KeyM],$$slots:{default:[Fh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Va(i){let e,t,n;return t=new Tr({props:{className:i[2]?"volumeBar-slider-vertical":"",isHidden:i[2]&&!i[5],isVertical:i[2],withWheelHandler:!0,onWheelUp:i[15],onWheelDown:i[16],onPointerDown:i[14],onHandleMove:i[17],onPointerUp:i[18],onPointerEnter:i[2]?i[19]:ie.noop,onPointerLeave:i[2]?i[20]:ie.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",i[2])},m(l,r){T(l,e,r),U(t,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:ie.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:ie.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),t.$set(o),(!n||r[0]&4)&&B(e,"volumeBar-vertical",l[2])},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function Uh(i){let e,t,n,l,r,o;t=new xc({props:{content:i[6],translateY:-18,$$slots:{default:[Hh]},$$scope:{ctx:i}}});let s=i[4]&&Va(i);return{c(){e=P("div"),W(t.$$.fragment),n=O(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",i[2])},m(a,c){T(a,e,c),U(t,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[he(e,"mouseenter",function(){Bn(i[2]?i[21]:ie.noop)&&(i[2]?i[21]:ie.noop).apply(this,arguments)}),he(e,"mouseleave",function(){Bn(i[2]?i[22]:ie.noop)&&(i[2]?i[22]:ie.noop).apply(this,arguments)}),he(e,"wheel",ei(i[23]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[4]?s?(s.p(i,c),c[0]&16&&m(s,1)):(s=Va(i),s.c(),m(s,1),s.m(e,null)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!l||c[0]&4)&&B(e,"vertical",i[2])},i(a){l||(m(t.$$.fragment,a),m(s),l=!0)},o(a){g(t.$$.fragment,a),g(s),l=!1},d(a){a&&S(e),j(t),s&&s.d(),r=!1,nt(o)}}}function jh(i,e,t){var Oe,me;let n,l,r,o,{click:s}=e;const a=kt(),c=wn(),f=a.state.volume$;D(i,f,H=>t(3,n=H));const d=a.state.muted$;D(i,d,H=>t(25,o=H));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;D(i,b,H=>t(24,r=H));const v=(Oe=a.callbacks)==null?void 0:Oe.onAudioDoesNotExistHint,w=(me=a.callbacks)==null?void 0:me.onAudioDisabledHint,_=a.state.isAudioAvailable$;D(i,_,H=>t(4,l=H));const C=a.state.isAudioDisabled;let k=!1,y,M,z,I,F,ue,ae=1,R=!1,te=!1;function X(H){ae=n,h(H)}function G(){qc(a,n,c.controls.volumeStepWheel)}function A(){Wc(a,n,c.controls.volumeStepWheel)}function V(H){h(H)}function J(H){const $=H;h($,$===0?ae:$)}function L(){R=!0}function ne(){R=!1,Ve()}function Te(){clearTimeout(y),t(5,k=!0)}function Pe(){Ve()}function Ve(){y=window.setTimeout(()=>{R||t(5,k=!1)},c.controls.volumeBarTimeout)}function Ae(H){H.deltaY<0?G():H.deltaY>0&&A()}return i.$$set=H=>{"click"in H&&t(0,s=H.click)},i.$$.update=()=>{i.$$.dirty[0]&33554448&&t(1,I=!l||o),i.$$.dirty[0]&16777216&&t(2,F=ef(r,exports.GridTypes.S)),i.$$.dirty[0]&6&&(F?t(6,M=""):t(6,M=Y(I?"tooltip_volume":"tooltip_volume_muted")),t(7,z=Y(I?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&10&&t(8,ue=I?0:n),i.$$.dirty[0]&16&&t(9,te=C&&!w||!l&&!v)},[s,I,F,n,l,k,M,z,ue,te,f,d,b,_,X,G,A,V,J,L,ne,Te,Pe,Ae,r,o]}class qh extends ye{constructor(e){super(),ke(this,e,jh,Uh,we,{click:0},zh,[-1,-1])}}function Wh(i){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Zh(i){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Kh(i){let e,t,n;function l(s,a){return s[0]?Zh:Wh}let r=l(i),o=r(i);return{c(){e=N("svg"),t=N("g"),o.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){T(s,e,a),p(e,t),o.m(t,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&S(e),o.d()}}}function Gh(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen)},[n]}class Yh extends ye{constructor(e){super(),ke(this,e,Gh,Kh,we,{isFullscreen:0})}}function Qh(i){let e,t;return e=new Yh({props:{isFullscreen:i[0]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Xh(i){let e,t;return e=new Ii({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Do[Ee.KeyF],$$slots:{default:[Qh]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Jh(i,e,t){let{isFullscreen:n=!1}=e,{click:l=ie.noop}=e,r;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class tf extends ye{constructor(e){super(),ke(this,e,Jh,Xh,we,{isFullscreen:0,click:1})}}function xh(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Er extends ye{constructor(e){super(),ke(this,e,null,xh,we,{})}}function $h(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class nf extends ye{constructor(e){super(),ke(this,e,null,$h,we,{})}}function ev(i){Ze(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 Ma(i){let e;return{c(){e=P("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function tv(i){let e,t,n,l,r=i[1]&&Ma();var o=i[8];function s(a){return{}}return o&&(n=Fn(o,s())),{c(){r&&r.c(),e=O(),t=P("div"),n&&W(n.$$.fragment),u(t,"class","v-1ot3duq"),B(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,t,c),n&&U(n,t,null),l=!0},p(a,c){if(a[1]?r||(r=Ma(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{j(f,1)}),de()}o?(n=Fn(o,s()),W(n.$$.fragment),m(n.$$.fragment,1),U(n,t,null)):n=null}(!l||c&2)&&B(t,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&g(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(t)),r&&r.d(a),n&&j(n)}}}function iv(i){let e,t,n;function l(o){i[13](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:Do[Ee.KeyK],$$slots:{default:[tv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function nv(i,e,t){let n,l;const{fakeIsPlaying$:r}=zo();D(i,r,k=>t(12,l=k));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=ie.noop}=e;const{toggle:h}=r;let b,v,w,_;function C(k){o=k,t(0,o)}return i.$$set=k=>{"ref"in k&&t(0,o=k.ref),"isMobile"in k&&t(1,s=k.isMobile),"isPlaying"in k&&t(10,a=k.isPlaying),"disabled"in k&&t(2,c=k.disabled),"className"in k&&t(3,f=k.className),"click"in k&&t(4,d=k.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=l!==null),i.$$.dirty&5152&&t(11,w=v?l:a),i.$$.dirty&2048&&t(7,_=Y(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?nf:Er)},t(6,b=h),[o,s,c,f,d,v,b,_,n,r,a,w,l,C]}class Ar extends ye{constructor(e){super(),ke(this,e,nv,iv,we,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},ev)}}function ov(i){Ze(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 lv(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),B(e,"prev",i[0]),B(e,"mobile",i[1])},m(l,r){T(l,e,r),p(e,t)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&B(e,"prev",l[0]),r&2&&B(e,"mobile",l[1])},i:K,o:K,d(l){l&&S(e)}}}function rv(i,e,t){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class sv extends ye{constructor(e){super(),ke(this,e,rv,lv,we,{isPrev:0,isMobile:1},ov)}}function av(i){let e,t;return e=new sv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function uv(i){let e,t,n;function l(o){i[6](o)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[av]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function cv(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,l=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,o=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Sl extends ye{constructor(e){super(),ke(this,e,cv,uv,we,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function fv(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class dv extends ye{constructor(e){super(),ke(this,e,null,fv,we,{})}}function mv(i){Ze(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Ba(i){let e,t,n,l,r,o,s;return{c(){e=N("path"),t=N("path"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(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(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){T(a,e,c),T(a,t,c),T(a,n,c),T(a,l,c),T(a,r,c),T(a,o,c),T(a,s,c)},d(a){a&&(S(e),S(t),S(n),S(l),S(r),S(o),S(s))}}}function pv(i){let e,t,n,l=!i[0]&&Ba();return{c(){e=N("svg"),t=N("path"),l&&l.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),B(e,"mobile",i[1])},m(r,o){T(r,e,o),p(e,t),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Ba(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&B(e,"mobile",r[1])},i:K,o:K,d(r){r&&S(e),l&&l.d()}}}function hv(i,e,t){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,l=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class vv extends ye{constructor(e){super(),ke(this,e,hv,pv,we,{short:0,isMobile:1},mv)}}function gv(i){let e,t;return e=new dv({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function bv(i){let e,t;return e=new vv({props:{short:i[4],isMobile:!!i[7]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function _v(i){let e,t,n,l;const r=[bv,gv],o=[];function s(a,c){return a[2]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function wv(i){let e,t,n;function l(o){i[13](o)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[_v]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function kv(i,e,t){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=wn(),{logoLink:d,addTimeToLogoLink:h}=f,b=kt(),v=b.state.positionWithScrubbing$;D(i,v,I=>t(14,n=I));const w=b.ui.currentGridType$;D(i,w,I=>t(11,l=I));const _=b.ui.isMobile;D(i,_,I=>t(12,r=I));let C,k,y;const M=()=>{let I;if(k||!a)I=d;else{const F=Math.round(n);if(h&&F){const ue=new URL(a);ue.searchParams.append("t",ie.timeCodeToString(F)),I=ue.toString()}else I=a}c(),window.open(I,"_blank")};function z(I){o=I,t(0,o)}return i.$$set=I=>{"ref"in I&&t(0,o=I.ref),"logoClickable"in I&&t(1,s=I.logoClickable),"videoLogoUrl"in I&&t(9,a=I.videoLogoUrl),"click"in I&&t(10,c=I.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,y=(r||ef(l,exports.GridTypes.L))&&k)},t(3,C=f.logoType===Eo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),t(2,k=f.logoType===Eo.VK_VIDEO),[o,s,k,C,y,v,w,_,M,a,c,l,r,z]}class of extends ye{constructor(e){super(),ke(this,e,kv,wv,we,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function yv(i){Ze(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 Cv(i){let e,t,n,l,r,o,s,a;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),B(a,"hidden",!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"),B(e,"connecting",i[2])},m(c,f){T(c,e,f),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(t,a)},p(c,f){f&2&&B(a,"hidden",!c[1]),f&4&&B(e,"connecting",c[2])},d(c){c&&S(e)}}}function Sv(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z;return{c(){e=N("svg"),t=N("g"),n=N("mask"),l=N("path"),o=N("path"),s=N("path"),c=N("path"),f=N("defs"),d=N("clipPath"),h=N("path"),v=N("filter"),w=N("feFlood"),_=N("feColorMatrix"),C=N("feOffset"),k=N("feGaussianBlur"),y=N("feColorMatrix"),M=N("feBlend"),z=N("feBlend"),u(l,"fill",r=i[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",b=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(z,"in","SourceGraphic"),u(z,"in2","effect1_dropShadow_4085_178456"),u(z,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(I,F){T(I,e,F),p(e,t),p(t,n),p(n,l),p(n,o),p(t,s),p(t,c),p(e,f),p(f,d),p(d,h),p(f,v),p(v,w),p(v,_),p(v,C),p(v,k),p(v,y),p(v,M),p(v,z)},p(I,F){F&2&&r!==(r=I[1]?"#2688EB":"#fff")&&u(l,"fill",r),F&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(s,"fill",a),F&2&&b!==(b=I[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(I){I&&S(e)}}}function Pv(i){let e;function t(r,o){return r[0]?Sv:Cv}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function Tv(i,e,t){let{isMobile:n=!1}=e,{state:l}=e,r,o;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,l=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,o=l===et.ChromecastState.CONNECTING),t(1,r=l===et.ChromecastState.CONNECTED))},[n,r,o,l]}class Ev extends ye{constructor(e){super(),ke(this,e,Tv,Pv,we,{isMobile:0,state:3},yv)}}function Av(i){let e,t;return e=new Ev({props:{isMobile:i[1],state:i[2]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Iv(i){let e,t,n;function l(o){i[5](o)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[Av]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Lv(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=ie.noop}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,o=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===et.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class lf extends ye{constructor(e){super(),ke(this,e,Lv,Iv,we,{ref:0,isMobile:1,state:2,click:3})}}function Vv(i){let e,t;return e=new Nc({props:{isActive:i[1]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Mv(i){let e,t;return e=new Ii({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===et.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Vv]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===et.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Bv(i,e,t){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=kt(),a=s.state.playbackState$;D(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return i.$$set=h=>{"isMobile"in h&&t(0,l=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,o=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,d=()=>{if(!r){c();return}n===et.PlaybackState.PAUSED&&f()})},[l,r,o,n,d,a]}class rf extends ye{constructor(e){super(),ke(this,e,Bv,Mv,we,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Nv(i){Ze(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 Rv(i){let e,t,n,l;const r=i[9].default,o=Zn(r,i,i[8],null);return{c(){e=P("div"),t=P("div"),o&&o.c(),u(t,"class","tooltip v-5ygsa2"),B(t,"active",i[0]),B(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){T(s,e,a),p(e,t),o&&o.m(t,null),i[10](t),i[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Gn(o,r,s,s[8],l?Kn(r,s[8],a,null):Yn(s[8]),null),(!l||a&1)&&B(t,"active",s[0]),(!l||a&2)&&B(t,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){g(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),i[10](null),i[11](null)}}}function Ov(i,e,t){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function b(_){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return _<k?k:_>f-k?f-k:_}function v(_){Se[_?"unshift":"push"](()=>{h=_,t(4,h)})}function w(_){Se[_?"unshift":"push"](()=>{d=_,t(3,d)})}return i.$$set=_=>{"active"in _&&t(0,o=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=b(a))},[o,s,c,d,h,n,a,f,r,l,v,w]}class Dv extends ye{constructor(e){super(),ke(this,e,Ov,Rv,we,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Nv)}}const sf=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function zv(i){Ze(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Na(i){let e;function t(r,o){return r[2]&&r[10].completed===!1?Hv:Fv}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Fv(i){let e=(i[10].text||"")+"",t;return{c(){t=De(e)},m(n,l){T(n,t,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&Je(t,e)},d(n){n&&S(t)}}}function Hv(i){let e=Y("tooltip_episode_unfinished")+"",t;return{c(){t=De(e)},m(n,l){T(n,t,l)},p:K,d(n){n&&S(t)}}}function Uv(i){let e,t,n,l,r,o,s,a,c=i[10]&&Na(i);return{c(){e=P("div"),t=P("div"),l=O(),r=P("div"),c&&c.c(),o=O(),s=P("div"),a=De(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(e,"mobile",i[1])},m(f,d){T(f,e,d),p(e,t),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,d):(c=Na(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&Je(a,f[0]),d&2&&B(e,"mobile",f[1])},i:K,o:K,d(f){f&&S(e),c&&c.d()}}}const _o=150;function jv(i,e,t){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=kt().ui.rotateAlpha;D(i,h,F=>t(11,n=F));let b,v,w,_,C,k,y,M;function z(){let F=s.frameWidth,ue=s.frameHeight;return F>_o?(ue=ue/F*_o,F=_o):ue>_o&&(F=F/ue*_o,ue=_o),{width:F,height:ue}}function I(F){let ue;s.isUV?ue=Math.floor(c*F/s.frequency):ue=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*F)));const ae=Math.floor(ue/s.countPerImage),R=Math.floor(ue%s.countPerImage/s.countPerRow),te=ue%s.countPerRow;let X=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ae===Math.floor(s.countTotal/s.countPerImage)&&(X=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&X++);let G=s.countPerRow;!s.isUV&&ae===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(G=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const A=b*G,V=v*X,J=-te*b,L=-R*v;return{imgSrc:s.links[ae],imgWidth:A,imgHeight:V,imgOffsetX:J,imgOffsetY:L}}return i.$$set=F=>{"time"in F&&t(0,l=F.time),"isMobile"in F&&t(1,r=F.isMobile),"videoEpisodes"in F&&t(13,o=F.videoEpisodes),"previewThumbsData"in F&&t(14,s=F.previewThumbsData),"progress"in F&&t(15,a=F.progress),"duration"in F&&t(16,c=F.duration),"isInteractive"in F&&t(2,f=F.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:w,imgWidth:_,imgHeight:C,imgOffsetX:k,imgOffsetY:y}=I(a),w,(t(6,_),t(15,a)),(t(7,C),t(15,a)),(t(8,k),t(15,a)),(t(9,y),t(15,a))),i.$$.dirty&106496&&t(10,M=sf(a,c,o))},t(3,{width:b,height:v}=z(),b,t(4,v)),[l,r,f,b,v,w,_,C,k,y,M,n,h,o,s,a,c]}class qv extends ye{constructor(e){super(),ke(this,e,jv,Uv,we,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},zv)}}function Wv(i){Ze(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 Zv(i){let e,t;return{c(){e=P("span"),t=De(i[7]),u(e,"class","time v-5lzly8")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l[0]&128&&Je(t,n[7])},i:K,o:K,d(n){n&&S(e)}}}function Kv(i){let e,t;return e=new qv({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Gv(i){let e,t,n,l;const r=[Kv,Zv],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Yv(i){let e,t,n,l;const r=[i[9]];let o={$$slots:{default:[Gv]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)o=T1(o,r[s]);return e=new Dv({props:o}),n=new Tr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Y("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(dt.TIMELINE),hideHandel:i[2]}}),{c(){W(e.$$.fragment),t=O(),W(n.$$.fragment)},m(s,a){U(e,s,a),T(s,t,a),U(n,s,a),l=!0},p(s,a){const c=a[0]&512?T0(r,[E0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=Y("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(dt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),l=!1},d(s){s&&S(t),j(e,s),j(n,s)}}}function Qv(i,e,t){let n,l,r,o,s,a,c,f,d,h,b,{showTimeline:v=!1}=e;const w=kt(),_=wn(),C=w.state.bufferedProgress$;D(i,C,ve=>t(12,h=ve));const k=w.state.positionWithScrubbing$;D(i,k,ve=>t(39,a=ve));const y=w.state.duration$;D(i,y,ve=>t(1,r=ve));const M=w.state.isLive$;D(i,M,ve=>t(0,l=ve));const z=w.state.isActiveLive$;D(i,z,ve=>t(11,d=ve));const I=w.ui.isMobile;D(i,I,ve=>t(10,f=ve));const F=_.features.episodes?w.actions.internal.getVideoEpisodes():void 0,ue=w.actions.internal.getPreviewThumbsData(),ae=w.state.interactiveEpisodes$;D(i,ae,ve=>t(40,c=ve));const R=w.state.isInteractive,te=w.state.isInteractiveTime$;D(i,te,ve=>t(2,o=ve));const X=w.state.isInteractiveExpectation$;D(i,X,ve=>t(38,s=ve));const G=w.actions.internal.correctSeekTimeToInteractive,A=w.ui.controls.disabledControls$;D(i,A,ve=>t(13,b=ve));let V,J,L,ne,Te=!1,Pe="",Ve=0,Ae=0,Oe=0,me;function H(ve){return!G||!R?ve:G(ve*r)/r}function $(ve){w.actions.internal.startScrubbing(H(ve))}function pe(ve){o||w.actions.internal.progressScrubbing(H(ve))}function ce(ve){w.actions.internal.completeScrubbing(H(ve)),t(34,Te=!1)}function Fe(ve,ee,Ce){Ie(ve,ee,Ce),t(34,Te=!0)}function Re(ve,ee,Ce){Ie(ve,ee,Ce),t(34,Te=!0)}function Ne(){t(34,Te=!1)}function Ie(ve,ee,Ce){t(8,Oe=ve),t(35,Ve=ee),Ce&&t(36,Ae=Ce),t(7,Pe=ge(ve))}function ge(ve){const ee=Wn((l?1-ve:ve)*r);return l?`-${ee}`:ee}return i.$$set=ve=>{"showTimeline"in ve&&t(33,v=ve.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,V=R?c:F),i.$$.dirty[0]&2&&t(4,J=Wn(r)),i.$$.dirty[1]&256&&t(5,L=Wn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ne=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,me=s||o),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Ae,translateXPx:Ve,translateYPx:R&&ue?-36:-16,active:Te&&v&&!me,pointer:!_.features.timelinePreview||!ue||l})},[l,r,o,V,J,L,ne,Pe,Oe,n,f,d,h,b,_,C,k,y,M,z,I,ue,ae,R,te,X,A,$,pe,ce,Fe,Re,Ne,v,Te,Ve,Ae,me,s,a,c]}let Xv=class extends ye{constructor(e){super(),ke(this,e,Qv,Yv,we,{showTimeline:33},Wv,[-1,-1])}};function Jv(i){let e,t;return e=new Tr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Y("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function xv(i,e,t){let n,{position:l=0}=e,{duration:r=0}=e;const s=kt().ui.isMobile;D(i,s,d=>t(4,n=d));let a,c,f;return i.$$set=d=>{"position"in d&&t(6,l=d.position),"duration"in d&&t(0,r=d.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=Wn(r)),i.$$.dirty&64&&t(2,c=Wn(l)),i.$$.dirty&65&&t(3,f=l/r)},[r,a,c,f,n,s,l]}class af extends ye{constructor(e){super(),ke(this,e,xv,Jv,we,{position:6,duration:0})}}function $v(i){Ze(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 eg(i){let e;return{c(){e=P("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",i[2])},m(t,n){T(t,e,n)},p(t,n){n&4&&B(e,"mobile",t[2])},i:K,o:K,d(t){t&&S(e)}}}function tg(i){let e,t,n,l;const r=[ng,ig],o=[];function s(a,c){return a[0]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=P("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",i[2])},m(a,c){T(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&B(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){g(n),l=!1},d(a){a&&S(e),o[t].d()}}}function ig(i){let e,t;return e=new Xv({props:{showTimeline:i[1]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ng(i){let e,t;return e=new af({props:{position:i[3],duration:i[4]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function og(i){let e,t,n,l;const r=[tg,eg],o=[];function s(a,c){return a[1]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function lg(i,e,t){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=kt(),h=d.state.isLive$;D(i,h,C=>t(12,n=C));const b=d.ads.duration;D(i,b,C=>t(4,o=C));const v=d.ads.position;D(i,v,C=>t(3,r=C));const w=d.ui.isMobile;D(i,w,C=>t(2,l=C));let _;return i.$$set=C=>{"isAds"in C&&t(0,s=C.isAds),"canRewindLive"in C&&t(9,a=C.canRewindLive),"isRewindableLive"in C&&t(10,c=C.isRewindableLive),"isHidden"in C&&t(11,f=C.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,l,r,o,h,b,v,w,a,c,f,n]}class uf extends ye{constructor(e){super(),ke(this,e,lg,og,we,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},$v)}}function rg(i){let e,t,n,l;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("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(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ht(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){T(r,e,o),p(e,t),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class sg extends ye{constructor(e){super(),ke(this,e,null,rg,we,{})}}function ag(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class ug extends ye{constructor(e){super(),ke(this,e,null,ag,we,{})}}function cg(i){Ze(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 fg(i){let e,t,n,l;e=new sg({});function r(a,c){if(a[4]===ro.FULL)return pg;if(a[4]===ro.COUNT)return mg}let o=r(i),s=o&&o(i);return{c(){W(e.$$.fragment),t=O(),s&&s.c(),n=pt()},m(a,c){U(e,a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){g(e.$$.fragment,a),l=!1},d(a){a&&(S(t),S(n)),j(e,a),s&&s.d(a)}}}function dg(i){let e,t,n,l,r,o;return r=new ug({}),{c(){e=P("span"),t=De(i[2]),n=O(),l=P("div"),W(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,t),T(s,n,a),T(s,l,a),U(r,l,null),o=!0},p(s,a){(!o||a&4)&&Je(t,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){g(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),j(r)}}}function mg(i){let e,t=i[0].length+"",n;return{c(){e=P("span"),n=De(t),u(e,"class","text count v-1yhs2ga")},m(l,r){T(l,e,r),p(e,n)},p(l,r){r&1&&t!==(t=l[0].length+"")&&Je(n,t)},d(l){l&&S(e)}}}function pg(i){let e,t;return{c(){e=P("span"),t=De(i[2]),u(e,"class","text v-1yhs2ga")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&4&&Je(t,n[2])},d(n){n&&S(e)}}}function hg(i){let e,t,n,l;const r=[dg,fg],o=[];function s(a,c){return a[6]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function vg(i){let e,t,n;function l(o){i[19](o)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[hg]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!t&&s&2&&(t=!0,a.ref=o[1],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function gg(i,e,t){var R,te,X;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=kt(),b=(te=(R=h.callbacks)==null?void 0:R.onEpisodeChanged)!=null?te:ie.noop,v=!!((X=h.callbacks)!=null&&X.onEpisodeClicked),w=h.ui.currentGridType$;D(i,w,G=>t(18,s=G));const _=h.ui.episodes.openedByKeyboard$;D(i,_,G=>t(17,o=G));const C=h.ui.episodes.panelOpened$;D(i,C,G=>t(3,r=G));const k=h.ui.isMobile;D(i,k,G=>t(6,a=G));let y;const M=G=>{var V,J,L;if(!!((V=h.callbacks)!=null&&V.onEpisodeClicked)){const ne=kr(G);_.set(ne),C.set(!0),(L=(J=h.callbacks)==null?void 0:J.onEpisodeClicked)==null||L.call(J,ne)}};let z,I,F;const ue=(G,A,V)=>tn(this,null,function*(){yield Oo(),(G==null?void 0:G.getAttribute("aria-expanded"))==="false"&&A&&!V&&(_.set(!1),G.focus())});function ae(G){y=G,t(1,y)}return i.$$set=G=>{"position"in G&&t(13,c=G.position),"duration"in G&&t(14,f=G.duration),"timeCodes"in G&&t(0,d=G.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const G=sf(n,f,d);G&&(z==null?void 0:z.text)!==G.text&&(b(G),t(15,z=G))}i.$$.dirty&32768&&t(2,l=(z==null?void 0:z.text)||""),i.$$.dirty&262144&&(Vn(s,exports.GridTypes.XL)?t(4,I=ro.FULL):Vn(s,exports.GridTypes.M)&&Oh(s,exports.GridTypes.XL)?t(4,I=ro.COUNT):t(4,I=ro.SHORT)),i.$$.dirty&4&&t(5,F=`${Y("tooltip_episodes")}: ${l}`),i.$$.dirty&131082&&ue(y,o,r)},[d,y,l,r,I,F,a,v,w,_,C,k,M,c,f,z,n,o,s,ae]}class cf extends ye{constructor(e){super(),ke(this,e,gg,vg,we,{position:13,duration:14,timeCodes:0},cg)}}function bg(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class _g extends ye{constructor(e){super(),ke(this,e,null,bg,we,{})}}function wg(i){let e,t;return e=new _g({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function kg(i){let e,t,n;function l(o){i[4](o)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[wg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function yg(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,l=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,o=a.click)},[n,l,r,o,s]}class ff extends ye{constructor(e){super(),ke(this,e,yg,kg,we,{ref:0,hidden:1,disabled:2,click:3})}}function Cg(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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"),B(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(l,r){T(l,e,r),p(e,t),p(e,n)},p(l,[r]){r&1&&B(n,"hidden",!l[0])},i:K,o:K,d(l){l&&S(e)}}}function Sg(i,e,t){let{isOpened:n=!1}=e;return i.$$set=l=>{"isOpened"in l&&t(0,n=l.isOpened)},[n]}class Pg extends ye{constructor(e){super(),ke(this,e,Sg,Cg,we,{isOpened:0})}}function Tg(i){let e,t;return e=new Pg({props:{isOpened:i[3]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Eg(i){let e,t,n;function l(o){i[6](o)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Tg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ag(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,l=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,o=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class df extends ye{constructor(e){super(),ke(this,e,Ag,Eg,we,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function Ig(i){let e,t;return{c(){e=N("svg"),t=N("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class mf extends ye{constructor(e){super(),ke(this,e,null,Ig,we,{})}}function Lg(i){Ze(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 Ra(i){let e;return{c(){e=P("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Vg(i){let e,t,n,l,r=i[1]&&Ra();return n=new mf({}),{c(){r&&r.c(),e=O(),t=P("div"),W(n.$$.fragment),u(t,"class","v-1ot3duq"),B(t,"mobile",i[1])},m(o,s){r&&r.m(o,s),T(o,e,s),T(o,t,s),U(n,t,null),l=!0},p(o,s){o[1]?r||(r=Ra(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&B(t,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){g(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(t)),r&&r.d(o),j(n)}}}function Mg(i){let e,t,n;function l(o){i[5](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:Do[Ee.KeyK],$$slots:{default:[Vg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Bg(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=ie.noop}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,o=c.className),"click"in c&&t(4,s=c.click)},[n,l,r,o,s,a]}class Ir extends ye{constructor(e){super(),ke(this,e,Bg,Mg,we,{ref:0,isMobile:1,disabled:2,className:3,click:4},Lg)}}function Ng(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Rg extends ye{constructor(e){super(),ke(this,e,null,Ng,we,{})}}function Og(i){let e,t;return e=new Rg({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Dg(i){let e,t,n;function l(o){i[4](o)}let r={className:i[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:i[2],click:i[3],$$slots:{default:[Og]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function zg(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,l=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,o=a.click)},[n,l,r,o,s]}class pf extends ye{constructor(e){super(),ke(this,e,zg,Dg,we,{ref:0,hidden:1,disabled:2,click:3})}}function Fg(i){Ze(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 Hg(i){let e,t,n,l;return{c(){e=P("img"),u(e,"class","icon v-1x1zctw"),Kr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),n||(l=he(e,"error",i[7]),n=!0)},p(r,o){o&1&&!Kr(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&S(e),n=!1,l()}}}function Ug(i){let e;return{c(){e=P("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){T(t,e,n)},p:K,d(t){t&&S(e)}}}function jg(i){let e;function t(r,o){return r[5]?Ug:Hg}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function qg(i){let e,t;return e=new Ii({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[jg]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Wg(i,e,t){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const d=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,o=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ie.noop),i.$$.dirty&272&&t(6,l=n||a)},t(5,r=!1),[o,s,c,f,n,r,l,d,a]}class hf extends ye{constructor(e){super(),ke(this,e,Wg,qg,we,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Fg)}}class Oa{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 l=0,r=n.length;l<r;l++)if(n[l].callback===t){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class vf extends Oa{constructor(){super(),this.listeners||Oa.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 Zg=class{constructor(){Object.defineProperty(this,"signal",{value:new vf,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(Zg.prototype[Symbol.toStringTag]="AbortController",vf.prototype[Symbol.toStringTag]="AbortSignal");function gf(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 Kg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=i;if(!gf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new t(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=t.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(b){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Lr=gf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),bf=Lr?Kg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Gg=Lr?bf.fetch:window.fetch;Lr?bf.Request:window.Request;const Yg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,Qg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Xg{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};ie.addScript(Qg,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),tt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set($t.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set($t.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set($t.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Un.Midroll,this.adman.start(Un.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const b=this.playerState&&tt(this.playerState.vsid);b&&(h=parseInt(b,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:Yg(t,n),puid11:l?0:1,preview:d},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(w),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const t=this.currentAdSection===Un.Postroll;this.adsState.playbackState.set($t.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(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=tt(this.adsState.playbackState);e===$t.PLAYING?this.pause():e===$t.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Un.Preroll,this.adman.start(Un.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Un.Postroll,this.adman.start(Un.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const Jg=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 xg{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new _f,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new $g,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class _f{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(t)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class $g{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new _f;for(const o of l)r.isTime(o)?t.texts.push({type:"timestamp",value:r.parseTime(o)}):t.texts.push({type:"text",value:o});return t}}let xn,Ft,$l=0,er=!1;const eb=(i,e,t)=>{var n;const l=i>=$l,r=i<$l,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if($l=i,r&&(er=!1),ie.isNonNullable(xn)&&s(i,xn.startTime,xn.endTime)&&xn.lang===e.value)return xn;if(!ie.isNonNullable(Ft)&&(c!=null&&c.length)&&!er){const f=c.find(({startTime:d,endTime:h})=>s(i,d,h)||l&&o(i,d,h));Ft=f&&Object.assign(Object.assign({},f),{lang:e.value}),xn=void 0,!ie.isNonNullable(Ft)&&c[c.length-1].endTime<i&&(er=!0);return}else{if(s(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))return xn=Ft,Ft=void 0,xn;(l&&a(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime)||r&&o(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))&&(Ft=void 0)}},tr={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class tb{constructor(e,t){this.oneStat=new wt.OneStat(e,t),this.statSubscription=new ie.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const ib=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:b,disabledControls:v,isInteractive:w,interactiveRanges$:_,isInteractiveTime$:C,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M,additionalButtons:z,looped:I=!1,statistics:F})=>{var ue,ae,R,te;const X=Object.assign(Object.assign({},h),{configName:[...(ue=h.configName)!==null&&ue!==void 0?ue:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(ae=h.live)!==null&&ae!==void 0?ae:{}),{isLiveCatchUpMode:!!n})}),G=d,A=b||new et.Player(X);A.setLooped(I);const V=new ie.Logger,J=new Xg(V,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),L=cr.getInstance(),ne=a==null?void 0:a.pictureInPictureApi,Te=a==null?void 0:a.annotationsApi,Pe=V.createComponentLog("Store");let Ve,Ae,Oe={};const me=ie.getCurrentBrowser(),H=F?_t(F.oneStat.vsid$):zn(void 0),$=Le(No()),pe=(R=ne==null?void 0:ne.info.isActive$)!==null&&R!==void 0?R:new ie.ValueSubject(!1),ce=ne==null?void 0:ne.info.type,Fe=Le(0),Re=Le([]),Ne=ie.merge(A.events.fatalError$,A.events.managedError$).subscribe(E=>Re.update(se=>[...se,E])),Ie=zn(!1,E=>{const se=A.events.fatalError$.subscribe(()=>E(!0));return()=>se.unsubscribe()}),ge=E=>fi(void 0,void 0,void 0,function*(){var se;const _e=Object.values(ie.InterfaceLanguage).includes(E);if(G.downloadVKLanguages&&(_e&&G.updateBuiltinLanguages||!ks(E))){let Qe;try{Qe=yield ie.loadVKLangPack(E,N0,R0)}catch(ft){(se=F==null?void 0:F.oneStat)===null||se===void 0||se.logError({errorType:"VKLangPack",fatal:!1}),L==null||L.report(ft,{errorType:"VKLangPack",fatal:!1})}Qe&&(ws({language:E,pack:Qe,fallback:G.defaultLanguage}),ve.set(E))}ks(E)&&ve.set(E)}),ve=Le(i);ge(i);const ee=(E,se)=>{const _e=tt(ve);return Ec(_e,E,se,G.defaultLanguage)},Ce=Le(ze.Thumb),oe=(()=>{const E=Hi([Ie,Ce],([se,_e])=>se?ze.Crashed:_e);return Object.assign(Object.assign({},E),{is:se=>tt(E)===se})})(),be=(()=>{const E=Le(new Set(v));return Object.assign(Object.assign({},E),{add:se=>{E.update(_e=>new Set([..._e].concat(se)))},remove:se=>{E.update(_e=>{const He=[..._e];return new Set(Array.isArray(se)?He.filter(Qe=>!se.includes(Qe)):He.filter(Qe=>Qe!==se))})},includes:se=>{const _e=tt(E);return Array.isArray(se)?se.every(He=>_e.has(He)):_e.has(se)}})})();Pe({message:"create store"});const Ke=E=>{Pe({message:`init video, config: ${JSON.stringify(E)}`}),w?E.container.append(A.experimental.element$.getValue()):A.initVideo(E),E.subtitles&&A.setExternalTextTracks(E.subtitles),Ve=E},Me=new ie.Subject,xe=E=>Me.next(E),Xe=new ie.Subject,ot=new ie.Subject,at=new ie.Subject,St={actionRewind$:Xe,actionSeek$:ot,inPiP$:pe,inFullscreen$:new ie.Observable(E=>$.subscribe(se=>E.next(se))),actionSetSubtitle$:at,nextMovie$:Me};if(F){const{oneStat:E,statSubscription:se}=F;se.add(E.attachTo(A)),se.add(E.attachToUi(St)),se.add(E.attachToAds(J.events)),E.authorize(l).catch(_e=>{Pe({message:`onestat auth error ${String(_e)}`})})}if(L){const E=new ie.Subscription,se=(_e,He)=>E.add(_e.subscribe(He));if(se(A.events.managedError$,_e=>{L.logIError(_e)}),se(A.events.fatalError$,_e=>{L.logIError(_e,!0)}),F){const{oneStat:_e}=F;se(_e.experimental.error$,He=>{L.logIError(He)})}L.sentrySubscription.add(E)}const vt=()=>{ie.isIOS()&&Ae&&L4(Ae)},Yt=new ie.Subscription().add(A.experimental.element$.subscribe(E=>{E&&(Ae=E,E.classList.add("player-media"),vl(ne)&&(ne.updateVideoElement(),ne.registryEventHandlers()),w&&E.setAttribute("pip","false"))})).add(A.events.ended$.subscribe(()=>{var E;vt(),(E=s==null?void 0:s.onEnded)===null||E===void 0||E.call(s)})).add(A.events.started$.subscribe(()=>fi(void 0,void 0,void 0,function*(){var E,se;vl(ne)&&(yield ne==null?void 0:ne.revealPictureInPicture());const _e=A.info.muted$.getValue();(E=s==null?void 0:s.onStarted)===null||E===void 0||E.call(s),(se=Oe.onStarted)===null||se===void 0||se.call(Oe,_e)}))).add(A.events.willSeek$.subscribe(({from:E,to:se})=>{var _e;(_e=s==null?void 0:s.onSeek)===null||_e===void 0||_e.call(s,E,se)})).add(A.info.position$.subscribe(E=>{var se;const _e=A.info.duration$.getValue();(se=s==null?void 0:s.onTimeupdate)===null||se===void 0||se.call(s,_e,E),J.setPosition(E,_e)})).add(A.events.fatalError$.subscribe(()=>{var E;(E=s==null?void 0:s.onCrashed)===null||E===void 0||E.call(s)})).add(A.events.firstBytes$.subscribe(()=>{ht.state.isFirstBytes$.set(!0)})).add(A.info.is3DVideo$.subscribe(E=>{ht.ui.is3DVideo.set(E)})).add(A.info.isEnded$.subscribe(E=>{w&&(E?(C!=null&&C.getValue()&&be.add(O1),be.add(dt.PLAY_BUTTON)):be.remove(dt.PLAY_BUTTON))})).add(A.info.liveTime$.subscribe(E=>{var se;(se=s==null?void 0:s.onLiveTime)===null||se===void 0||se.call(s,E)})).add(A.info.isStalled$.subscribe(E=>{var se;(se=s==null?void 0:s.onStalledChanged)===null||se===void 0||se.call(s,E)})),Pt=new ie.Subscription,Tt=()=>{Pt.add(A.events.log$.subscribe(E=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${E.component}`,E.message)})).add(V.log$.subscribe(E=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${E.component}.`,E.message)}))},le=()=>{Pt.unsubscribe()},gt=(E,se)=>{A.startCameraManualRotation(E,se)},lt=(E=!1)=>{A.stopCameraManualRotation(E)},Ot=(E,se,_e)=>{A.moveCameraFocusPX(E,se,_e)},ut=()=>{A.holdCamera()},At=()=>{A.releaseCamera()},$e=zn(A.info.position$.getValue(),E=>{let se,_e;const He=()=>{const Qe=A.info.playbackState$.getValue(),ft=A.info.isLive$.getValue(),Bt=A.info.duration$.getValue(),bt=A.info.position$.getValue();if([et.PlaybackState.PLAYING,et.PlaybackState.PAUSED].includes(Qe)){const Fi=ft?bt-Bt:A.getExactTime();Fi!==_e&&E(Fi),_e=Fi}se=requestAnimationFrame(He)};return He(),()=>cancelAnimationFrame(se)}),Ue=_t(pe),Et=_t(A.info.playbackState$),Ui=_t(A.info.currentBuffer$),di=_t(A.info.isEnded$),mi=_t(A.info.isLive$),un=G.features.playbackRate?_t(A.info.canChangePlaybackSpeed$):zn(!1),ti=_t(A.info.liveBufferTime$),Qt=_t(A.info.volume$),pi=_t(A.info.muted$),Dt=H1(A.info.autoQualityLimits$.pipe(ie.map(({max:E})=>E!==void 0)),((te=A.info.autoQualityLimits$.getValue())===null||te===void 0?void 0:te.max)!==void 0),hi=_t(A.info.autoQualityLimitingAvailable$),vi=_t(A.info.availableQualities$),ii=_t(A.info.availableQualitiesFps$),gi=_t(A.info.chromecastState$),bi=_t(A.info.chromecastDeviceName$),ni=_t(A.info.currentFormat$),ji=_t(A.info.throughputEstimation$),Li=_t(A.info.videoBitrate$),qi=_t(A.info.intrinsicVideoSize$),oi=_t(A.info.duration$),Vi=_t(A.info.isAudioAvailable$);let Lt=null;const yt=A.info.isBuffering$,_i=zn(yt.getValue(),E=>{const se=yt.subscribe(_e=>{_e&&Lt===null?Lt=window.setTimeout(()=>{E(yt.getValue()),Lt=null},G.loaderDelay):E(_e)});return()=>{se.unsubscribe(),Lt&&clearTimeout(Lt)}}),wi=()=>{Lt&&clearTimeout(Lt),Lt=null},rt=Hi([oi,mi],([E,se])=>se?-E:E),li=Hi([Et],([E])=>E===et.PlaybackState.PLAYING),ct=_t(A.info.atLiveEdge$),Nt=_t(A.info.atLiveDurationEdge$),ri=_t(A.info.position$),ki=Hi([ri,oi],([E,se])=>isFinite(E)&&isFinite(se)&&!!se),yi=Hi([gi],([E])=>E===et.ChromecastState.CONNECTED),Ut=Le(void 0),Ci=_t(A.info.isAutoQualityEnabled$,E=>E&&Ut.set(void 0)),Mi=_t(A.info.currentQuality$,()=>Ut.set(void 0)),jt=Hi([Ut,Mi],([E,se])=>E!=null?E:se),nn=Hi([vi,ii,Ci,jt,ni],([E,se,_e,He,Qe])=>{const ft=[];Qe!==et.VideoFormat.MPEG&&ft.push({value:So.AUTO,displayValue:ee("auto_quality_option"),selected:_e});const Bt=E.filter(bt=>bt!==ie.VideoQuality.INVARIANT);for(const bt of Bt){const Fi=se[bt],Jn=bt===ie.VideoQuality.INVARIANT?ee("auto_quality_option"):bt;ft.push({value:bt,displayValue:`${Jn}${Fi?Jg(Fi):""}`,selected:_e?!1:bt===He})}return ft}),Wi=_t(A.info.currentPlaybackRate$),Si=Hi([Wi,ct,Nt],([E,se,_e])=>{const He=_e||w?1:G.controls.playbackRateMin,Qe=se?1:G.controls.playbackRateMax,ft=G.controls.playbackRateStep,Bt=[];for(let bt=He;bt<=Qe;bt+=ft)Bt.push({value:bt,displayValue:bt===1?ee("playback_rate_1"):ee("playback_rate",{multiplier:bt.toString(10)}),selected:E===bt});return Bt}),Zi=G.features.subtitles?_t(A.info.availableTextTracks$):zn([]),Rt=Hi([Zi],([E],se)=>{const _e=[],He=[];for(const Qe of E)Qe.url&&_e.push(Gg(Qe.url));Promise.allSettled(_e).then(Qe=>{for(const[ft,Bt]of Qe.entries())Bt.status==="fulfilled"&&Bt.value.text().then(bt=>{const Fi=new xg,Jn=E[ft].language,Ko=!!E[ft].isAuto,fo=Fi.parse(bt);Jn&&fo&&He.push({lang:Jn,subtitles:fo,isAuto:Ko}),ft===Qe.length-1&&se(He)})})}),Zt={displayValue:ee("subtitles_off"),value:"off"},Pi=Le(Object.assign({},Zt)),si=Hi([Rt,Pi,Rt],([E,se])=>{if((E==null?void 0:E.length)>0){const _e=[Object.assign(Object.assign({},Zt),{selected:(se==null?void 0:se.value)===Zt.value})];for(const{lang:He,isAuto:Qe}of E)tr[He]&&_e.push({displayValue:Qe?ee("subtitles_auto",{language:tr[He]}):tr[He],value:He,selected:(se==null?void 0:se.value)===He,isAuto:Qe});return _e}else return[]}),Bi=Hi([$e,Pi,Rt],([E,se,_e])=>{if(se&&se.value!==Zt.value)return eb(E,se,_e)}),Ni=Hi([Bi],([E])=>E!=null&&E.texts?E.texts:[]),Ki=Le(!0),Qi=Hi([Ui,rt,ri,ti],([E,se,_e,He])=>{var Qe;const ft=(Qe=E==null?void 0:E.end)!==null&&Qe!==void 0?Qe:0;if(!He)return ft/se;const bt=-_e+He-se;return(ft-bt)/se}),Ri=_t(A.info.availableSources$),Ti=Hi([Ri],([E])=>Object.keys((E==null?void 0:E[et.VideoFormat.MPEG])||{}).length>0),Ei=()=>{var E,se,_e;const He=Object.keys(((se=(E=A.info.availableSources$)===null||E===void 0?void 0:E.getValue())===null||se===void 0?void 0:se[et.VideoFormat.MPEG])||{}),Qe=ie.getHighestQuality(He)||ie.VideoQuality.Q_144P;return(_e=Ve.sources[et.VideoFormat.MPEG])===null||_e===void 0?void 0:_e[Qe]},Xi=()=>{var E;const se=Ei();se?W0(se,((E=Ve==null?void 0:Ve.meta)===null||E===void 0?void 0:E.title)||"video"):Pe({message:"There is no URL for download video"})},qt=()=>{Pe({message:"toggle muted"});const E=A.info.muted$.getValue(),He=!(A.info.volume$.getValue()===0||E);Oi(He)},ai=()=>{ht.ui.settingsMenuVisible.set(!1)},Ji=E=>{ht.ui.settingsMenuOpenedByKeyboard.set(!!E),ht.ui.settingsMenuVisible.set(!0)},ui=E=>{tt(ht.ui.settingsMenuVisible)?ai():Ji(E)},ci=(E,se=E,_e=!1)=>{var He,Qe,ft;const Bt=!_e,bt=A.info.muted$.getValue();Pe({message:`set volume, volume: ${E}, preferredVolume: ${se}, internalCall: ${Bt}`}),A.setVolume(E),J.setVolume(E),Bt&&((He=s==null?void 0:s.onVolumeChange)===null||He===void 0||He.call(s,E)),Qr(se),bt?(A.setMuted(!1),Bt&&((Qe=s==null?void 0:s.onUnmute)===null||Qe===void 0||Qe.call(s)),Nl(!1)):!bt&&E===0&&(A.setMuted(!0),Bt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),Nl(!0))},Oi=(E,se=!1)=>{var _e,He,Qe,ft;const Bt=!se,bt=A.info.volume$.getValue();if(Pe({message:`set muted, currentVolume: ${bt}, mute: ${E}, internalCall: ${Bt}`}),A.setMuted(E),J.setVolume(E?0:bt),Nl(E),Bt&&(E?(_e=s==null?void 0:s.onMute)===null||_e===void 0||_e.call(s):(He=s==null?void 0:s.onUnmute)===null||He===void 0||He.call(s)),bt===0){let Fi=(Qe=Z1())!==null&&Qe!==void 0?Qe:G.volumeDefault;Fi===0&&(Fi=G.volumeMinRestore,Qr(Fi)),A.setVolume(Fi),J.setVolume(Fi),Bt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Fi))}},Kt=()=>{A.prepare()},je=()=>{var E,se;if(ie.assertNonNullable(ht),!tt(ht.ui.controls.disabledControls$).has(dt.PLAY_BUTTON)){if(Pe({message:"toggle play"}),tt(ht.playerPhase)===ze.Ads){J.togglePlay();return}if(A.info.playbackState$.getValue()!==et.PlaybackState.PLAYING){if(A.info.isEnded$.getValue()){if(Pe({message:"toggle play, video ended, seek to 0"}),Xe.next(),ot.next(wt.SeekAction.REWIND),w){k==null||k();return}A.seekTime(0)}Pe({message:"toggle play, call player.play"}),A.play(),(E=s==null?void 0:s.onPlay)===null||E===void 0||E.call(s)}else Pe({message:"toggle play, call player.pause"}),A.pause(),(se=s==null?void 0:s.onPause)===null||se===void 0||se.call(s)}},Di=E=>{Pe({message:`set quality, quality: ${E}`}),A.setAutoQuality(E===So.AUTO),E!==So.AUTO?(Z0(e,E),Ut.set(E),A.setQuality(E)):K1()},Xt=E=>{Pe({message:`set trafficSavingEnabled, value: ${E}`}),A.setAutoQualityLimits({max:E?G.trafficSavingLimit:void 0}),Y0(E)},Gi=E=>{A.setPlaybackRate(E)},Be=()=>{const E=tt(Si),se=E.findIndex(({selected:He})=>He);if(se===E.length-1)return;const _e=E[se+1];Gi(_e.value)},cn=()=>{const E=tt(Si),se=E.findIndex(({selected:He})=>He);if(se===0)return;const _e=E[se-1];Gi(_e.value)},xi=E=>{E&&E.value!==Zt.value&&at.next(E.isAuto?E.value+"_auto":E.value),Pi.set(E)},$i=()=>{const E=tt(si),se=tt(Pi),_e=tt(ve);if((se==null?void 0:se.value)===Zt.value){const He=E.filter(Qe=>Qe.value!==Zt.value).find(Qe=>Qe.value===_e)||E[1];xi(He!=null?He:Object.assign({},Zt))}else xi(Object.assign(Object.assign({},Zt),{selected:!1}))},Ai=(E,se,_e=!0)=>{if(Pe({message:`seek to time, time: ${E}`}),ot.next(se),A.info.isLive$.getValue()){const He=A.info.duration$.getValue(),Qe=Math.min(0,He+E);A.seekTime(Qe,_e)}else{if(C!=null&&C.getValue())return;A.seekTime(Dn(E),_e)}},on=E=>{Pe({message:`seek to episode start time: ${E}`}),Ai(E,wt.SeekAction.EPISODE,!0)},Jt=(E,se)=>{Pe({message:`seek to percent, percent: ${E}`});const _e=Math.round(tt(rt)*E);Ai(_e,se,!1)},Yi=E=>{Pe({message:`seek external, time: ${E}`}),ot.next(wt.SeekAction.UNKNOWN),A.seekTime(A.info.isLive$.getValue()?-E:E)},zi=E=>{var se,_e;Pe({message:`set auto quality limitation. Max: ${(se=E.max)!==null&&se!==void 0?se:"none"}. Min: ${(_e=E.min)!==null&&_e!==void 0?_e:"none"}`}),A.setAutoQualityLimits(E)},Vt=E=>{Pe({message:`seek external to episode start time: ${E}`}),Ai(E,wt.SeekAction.EPISODE,!0)},re=E=>{Pe({message:`set playback rate to: ${E}`}),A.setPlaybackRate(E)},it=Le(void 0),Mt=Le(!1),It=E=>{Pe({message:`start scrubbing, progress: ${E}`}),Mt.set(!0),zt(E)},zt=E=>{it.set(E)};let fn,hn;const kn=()=>{it.set(void 0),Mt.set(!1)},dn=()=>{clearTimeout(hn),clearTimeout(fn),fn=window.setTimeout(()=>{kn()},500),Ae==null||Ae.removeEventListener("seeked",dn)},ln=E=>{Pe({message:`complete scrubbing, progress: ${E}`}),Jt(E,wt.SeekAction.SLIDER),tt(ht.ui.isMobile)&&tt(ht.state.currentFormat$)===et.VideoFormat.HLS?(Ae==null||Ae.addEventListener("seeked",dn),hn=window.setTimeout(()=>{dn()},300)):kn()},yn=Hi([$e,rt,it],([E,se,_e],He)=>{He(ie.isNonNullable(_e)?_e*se:E)}),Sn=Le({width:0,height:0}),Pn=Hi([Sn],([{width:E}],se)=>{const _e=Dh(E);se(_e)}),Cn=Le(!1),Rn=Hi([Pn,Cn],([E,se])=>se?z.filter(_e=>!_e.hideOnMobile):z.filter(_e=>{var He;return!(!((He=_e.hideOnDesktopGridTypes)===null||He===void 0)&&He.includes(E))})),Tn=Hi([Cn,Ie],([E,se],_e)=>{_e(E&&se)}),En=()=>{ot.next(wt.SeekAction.LIVE),Pe({message:"switch to active live"}),A.seekTime(0),A.info.playbackState$.getValue()!==et.PlaybackState.PLAYING&&ht.actions.internal.togglePlay()},x=()=>J.skip(),mt=(E=!0)=>{ie.assertNonNullable(ht),Pe({message:`switch from ads to video, callPlay: ${E}`}),Ce.set(ze.Video),E&&A.play()},vn=()=>{ie.assertNonNullable(ht),Pe({message:"switch from video to ads"}),ht.actions.internal.pause(),vt(),Ce.set(ze.Ads)},rn=E=>{ie.assertNonNullable(ht);const se=E?ze.WaitingLive:ze.Thumb;Ce.set(se)},gn=E=>{ie.assertNonNullable(ht);const se=E?ze.WaitingRecord:ze.Thumb;Ce.set(se)},mn=()=>(ie.assertNonNullable(ht),j0(A,Ve,ht)),Xn=()=>(ie.assertNonNullable(ht),q0(A,Ve,ht)),On=()=>Ae,Hn=()=>{Pe({message:"toggle chromecast"}),A.toggleChromecast()},An=E=>{var se;ie.assertNonNullable(ht);const _e=!E;if(tt(ht.playerPhase)===ze.Ads){Pe({message:`pause ads, internalCall: ${_e}`}),J.pause();return}Pe({message:`pause video, internalCall: ${_e}`}),_e&&((se=s==null?void 0:s.onPause)===null||se===void 0||se.call(s)),A.pause()},io=E=>{var se;ie.assertNonNullable(ht);const _e=!E;if(tt(ht.playerPhase)===ze.Ads){Pe({message:`play ads, internalCall: ${_e}`}),J.play();return}Pe({message:`play video, internalCall: ${_e}`}),_e&&((se=s==null?void 0:s.onPlay)===null||se===void 0||se.call(s)),A.play()},en=(E,se)=>{ie.assertNonNullable(ht),Pe({message:`first start, show ads: ${E}, internalCall: ${!se}`}),E?Ce.set(ze.Ads):(Ce.set(ze.Video),se?A.play():ht.actions.internal.togglePlay())},In=()=>(Pe({message:"getting time codes"}),c),Q=()=>{const E=In();if(!E||[0,1].includes(E.length))return;const se=A.info.position$.getValue();return E.find(_e=>_e.time>se)},no=E=>{let se=E;se||(se=Q()),se&&(Pe({message:"seek to next episode"}),Ai(se.time,wt.SeekAction.EPISODE,!0))},uo=()=>{const E=In();if(!E||[0,1].includes(E.length))return;const se=A.info.position$.getValue(),_e=E.findIndex(Qe=>Qe.time>se),He=_e===-1?E.length-2:_e-2;if(!(He<0))return E[He]},Lo=E=>{let se=E;se||(se=uo()),se&&(Pe({message:"seek to prev episode"}),Ai(se.time,wt.SeekAction.EPISODE,!0))},co=()=>(Pe({message:"getting preview thumbs data"}),f),Z=()=>fi(void 0,void 0,void 0,function*(){ne!=null&&ne.isActive()?yield ne==null?void 0:ne.remove():yield ne==null?void 0:ne.request()}),Ct=(E=-90)=>{Fe.update(se=>se+E)},sn=Le([]);_==null||_.subscribe(E=>{const se=[];for(let _e=0;_e<E.length;_e++){const{range:[He,Qe],subjects:ft}=E[_e];_e===0&&He!==0&&se.push({time:0,text:"",interactive:!1,completed:!0}),se.push({time:He/1e3,text:"",interactive:!0,completed:!ft.length}),Qe!==1/0&&se.push({time:Qe/1e3,text:"",interactive:!1,completed:!0})}sn.set(se)});const bn=Le(!1);C==null||C.subscribe(E=>{E&&tt(Mt)&&kn()});const Dn=E=>{if(!w)return E;const se=tt(sn),_e=tt(rt),Qe=tt(ri)/_e,ft=se.find(Bt=>Bt.interactive&&!Bt.completed&&Bt.time>Qe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(E,ft.time-.05):E},oo=()=>{ht.ui.episodes.panelOpened$.set(!1)},Zo=()=>{clearTimeout(hn),clearTimeout(fn),Yt.unsubscribe(),Pt.unsubscribe(),A.destroy(),J.destroy(),F==null||F.destroy(),L==null||L.destroy(),Ne.unsubscribe()},ht={interfaceLanguage$:ve,initVideo:Ke,videoId:e,isClip:t,playerPhase:oe,vsid:H,state:{positionExact$:$e,positionWithScrubbing$:yn,duration$:rt,playbackState$:Et,isPlaying$:li,isLoaderVisible:_i,bufferedProgress$:Qi,isLive$:mi,canChangePlaybackSpeed$:un,isActiveLive$:ct,isOldestAvailableLive$:Nt,isRewindableLive$:ki,isEnded$:di,muted$:pi,volume$:Qt,trafficSavingEnabled$:Dt,autoQualityLimitingAvailable$:hi,currentQuality$:jt,isAutoQualityEnabled$:Ci,availableQualities$:nn,currentPlaybackRate$:Wi,availablePlaybackRates$:Si,currentSubtitle$:Pi,availableSubtitlesList$:si,currentSubtitleCaptions$:Ni,isAutoSubtitleCaptionVisible$:Ki,chromecastState$:gi,chromecastDeviceName$:bi,chromecastConnected$:yi,currentFormat$:ni,throughputEstimation$:ji,videoBitrate$:Li,videoSize$:qi,errorLog$:Re,crashed$:Ie,isAudioAvailable$:Vi,isAudioDisabled:!!r,canDownload:G.features.download&&!!o,availableSources$:Ri,hasMpegSources$:Ti,isInteractive:w,showInteractiveGraph:G.features.interactiveGraph,showSeekToInteractive:G.features.seekToInteractive,showPlayPrevChapter:G.features.interactivePlayPrevChapter,interactiveEpisodes$:sn,isInteractiveTime$:C?_t(C):Le(!1),graphIsOpened$:Le(!1),isInteractiveExpectation$:bn,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M,isFirstBytes$:Le(!1)},ui:{controlsVisible:Le(!1),touched:Le(!1),controls:{prevButton:Le(void 0),playButton:Le(void 0),replayButton:Le(void 0),nextButton:Le(void 0),playPrevChapterButton:Le(void 0),seekToInteractiveButton:Le(void 0),interactiveGraphButton:Le(void 0),liveButton:Le(void 0),time:Le(void 0),episodes:Le(void 0),volume:Le(void 0),subtitles:Le(void 0),settings:Le(void 0),context:Le(void 0),chromecast:Le(void 0),pip:Le(void 0),fullscreen:Le(void 0),vkLogo:Le(void 0),interactiveTimeIcon:Le(void 0),additionalButtons:z.length?z.reduce(E=>[...E,Le(void 0)],[]):[],disabledControls$:be},modals:{hotKeyMap:{show:Le(!1),data:Le({title:"",closeBtnText:"",groups:[]})}},isFullscreen:$,rotateAlpha:Fe,isAutoplay:Le(!1),contextMenuVisible:Le(!1),debugPanelVisible:Le(!1),episodes:{panelOpened$:Le(!1),openedByKeyboard$:Le(!1)},contextMenu:{btnRef$:Le(void 0),openedByKeyboard$:Le(!1),showContextMenuBtn$:Le(!1)},playerSize:Sn,isMobile:Cn,mobileNotReportControlHidden$:Tn,mobileUnmuteButtonExpanded:Le(!1),mobileUnmuteButtonVisible:Le(!1),icon3DVideoVisible:Le(!1),settingsMenuVisible:Le(!1),settingsMenuOpenedByKeyboard:Le(!1),scrubbingInProgress:Mt,is3DVideo:Le(!1),isPictureInPictureActive$:Ue,pictureInPictureType$:zn(ce),clientInfo$:zn(me),currentGridType$:Pn,additionalButtons$:Rn,interactiveHideMobileControls:Le(!1),overlayContainer$:Le(void 0),startedByKeyboard$:Le(!1)},ads:{position:Le(0),duration:Le(0),playbackState:Le($t.INACTIVE),canSkip:Le(!1),secondsToWatchBeforeSkip:Le(0),postrollPassed:Le(!1)},webApi:{pictureInPictureApi:ne,annotationsApi:Te},actions:{internal:{preload:Kt,firstStart:E=>en(E,!1),pause:()=>An(!1),togglePlay:je,toggleMuted:qt,toggleSettingsMenu:ui,openSettingsMenu:Ji,closeSettingsMenu:ai,setVolume:ci,setQuality:Di,setTrafficSavingEnabled:E=>Xt(E),setPlaybackRate:Gi,incrementPlaybackRate:Be,decrementPlaybackRate:cn,setSubtitle:xi,toggleSubtitle:$i,togglePictureInPicture:Z,startScrubbing:It,progressScrubbing:zt,completeScrubbing:ln,toggleChromecast:Hn,switchToActiveLive:En,switchFromAdsToVideo:mt,switchFromVideoToAds:vn,skipAd:x,setWaitingLive:rn,setWaitingRecord:gn,getDebugTextData:mn,getDebugPanelData:Xn,getVideoElement:On,seekTime:(E,se,_e)=>Ai(E,se,_e),clearDelayedBufferingCheckTimeout:wi,seekEpisodeStartTime:on,seekToPercent:Jt,getNextEpisode:Q,seekToNextEpisode:no,getPrevEpisode:uo,seekToPrevEpisode:Lo,startLogging:Tt,stopLogging:le,startCameraManualRotation:gt,stopCameraManualRotation:lt,moveCameraFocusPX:Ot,holdCamera:ut,releaseCamera:At,getVideoEpisodes:In,getPreviewThumbsData:co,downloadVideo:Xi,addLanguage:ws,setLanguage:ge,nextMovie:xe,videoRotate:Ct,correctSeekTimeToInteractive:Dn,replayInteractive:k},external:{firstStart:E=>en(E,!0),play:()=>io(!0),pause:()=>An(!0),seekTime:E=>Yi(E),seekEpisodeStartTime:E=>Vt(E),setPlaybackRate:E=>re(E),setAutoQualityLimits:E=>zi(E),setMuted:E=>Oi(E,!0),setVolume:E=>ci(E,E,!0),returnFocusToEpisodes:oo}},callbacks:s,setUiCallbacks:E=>{Oe=Object.assign({},E)},getAdmanWrapper:()=>J,getLogger:()=>V,destroy:Zo};return ht},wf=(i,e,t,n)=>{var l;if(!i)return;const r=["interactiveTimeIcon"],o=i.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=t[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},kf=(i,e,t)=>fi(void 0,void 0,void 0,function*(){yield Oo(),e&&t&&(t.focus(),i.set(!1))});function nb(i){let e,t;return{c(){e=N("svg"),t=N("path"),u(t,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(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","dots-icon")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class ob extends ye{constructor(e){super(),ke(this,e,null,nb,we,{})}}function lb(i){let e,t;return e=new ob({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function rb(i){let e,t,n;function l(o){i[8](o)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],ariaExpanded:i[3],$$slots:{default:[lb]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s&4&&(t=!0,a.ref=o[2],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function sb(i,e,t){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=kt(),s=o.ui.contextMenuVisible;D(i,s,_=>t(3,n=_));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,d=_=>{const C=kr(_);a.set(C),s.set(!n)};let h;const b=()=>{c.set(!0)},v=()=>{c.set(!1)};function w(_){h=_,t(2,h)}return i.$$set=_=>{"disabled"in _&&t(0,l=_.disabled),"ariaLabel"in _&&t(1,r=_.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,d,b,v,w]}class ab extends ye{constructor(e){super(),ke(this,e,sb,rb,we,{disabled:0,ariaLabel:1})}}function ub(i){Ze(i,"v-1syq7kl",".interactive-episode-icon-animated.v-1syq7kl{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-1syq7kl{opacity:0;visibility:hidden}.fullscreen.v-1syq7kl:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-1syq7kl{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-1syq7kl{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-1syq7kl{top:40px;right:16px}}@keyframes v-1syq7kl-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-1syq7kl:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-1syq7kl-pulse infinite;transition:0.3ms}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-1syq7kl{position:absolute;top:0;width:100%;height:100%}.hidden.v-1syq7kl{display:none}")}function cb(i){let e,t,n,l,r,o,s;return t=new $c({props:{completed:!0}}),{c(){e=P("div"),W(t.$$.fragment),n=O(),l=P("div"),u(l,"class","ref-block v-1syq7kl"),B(l,"hidden",i[2]),u(e,"class","interactive-episode-icon-animated v-1syq7kl"),B(e,"mobile",i[1]),B(e,"fullscreen",i[3]),B(e,"invisible",i[2])},m(a,c){T(a,e,c),U(t,e,null),p(e,n),p(e,l),i[14](l),r=!0,o||(s=he(e,"click",i[9]),o=!0)},p(a,[c]){(!r||c&4)&&B(l,"hidden",a[2]),(!r||c&2)&&B(e,"mobile",a[1]),(!r||c&8)&&B(e,"fullscreen",a[3]),(!r||c&4)&&B(e,"invisible",a[2])},i(a){r||(m(t.$$.fragment,a),r=!0)},o(a){g(t.$$.fragment,a),r=!1},d(a){a&&S(e),j(t),i[14](null),o=!1,s()}}}function fb(i,e,t){var M;let n,l,r,o,s,{ref:a=void 0}=e;const c=kt(),f=c.ui.isMobile;D(i,f,z=>t(1,o=z));const d=c.ui.isFullscreen;D(i,d,z=>t(3,s=z));const h=c.state.isInteractiveTime$;D(i,h,z=>t(12,l=z));const b=c.ui.controlsVisible;D(i,b,z=>t(13,r=z));const v=(M=c.callbacks)==null?void 0:M.onInteractiveTimeIconClick,{interactiveControlsOpacity$:w}=zo();D(i,w,z=>t(11,n=z));let _,C;const k=()=>{C||v==null||v()};function y(z){Se[z?"unshift":"push"](()=>{a=z,t(0,a)})}return i.$$set=z=>{"ref"in z&&t(0,a=z.ref)},i.$$.update=()=>{i.$$.dirty&8194&&t(10,_=!o&&r),i.$$.dirty&7168&&t(2,C=!l||!!n||_)},[a,o,C,s,f,d,h,b,w,k,_,n,l,r,y]}class yf extends ye{constructor(e){super(),ke(this,e,fb,cb,we,{ref:0},ub)}}const{Boolean:db}=gl;function mb(i){Ze(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 Da(i,e,t){const n=i.slice();return n[211]=e[t].iconUrl,n[212]=e[t].ariaLabel,n[213]=e[t].testId,n[214]=e[t].onClick,n[215]=e[t].tooltip,n}function za(i){let e,t,n;function l(o){i[174](o)}let r={disabled:!i[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[pb]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].prevButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function pb(i){let e,t;return e=new Sl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Fa(i){let e,t,n;function l(o){i[175](o)}let r={disabled:i[75],tooltipContent:Y("tooltip_restart"),$$slots:{default:[hb]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[2]&8192&&(a.disabled=o[75]),s[2]&8192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function hb(i){let e,t;return e=new Ir({props:{click:i[129],disabled:i[75]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[2]&8192&&(r.disabled=n[75]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ha(i){let e,t,n;function l(o){i[177](o)}let r={tooltipContent:i[48],disabled:i[76],$$slots:{default:[vb]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&16384&&(a.disabled=o[76]),s[0]&67108864|s[1]&16|s[2]&16384|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function vb(i){let e,t,n;function l(o){i[176](o)}let r={isMobile:!1,isPlaying:i[35],click:i[86],disabled:i[76]};return i[26]!==void 0&&(r.ref=i[26]),e=new Ar({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.isPlaying=o[35]),s[2]&16384&&(a.disabled=o[76]),!t&&s[0]&67108864&&(t=!0,a.ref=o[26],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ua(i){let e,t,n;function l(o){i[178](o)}let r={disabled:!i[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[gb]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].nextButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function gb(i){let e,t;return e=new Sl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function bb(i){let e,t,n,l,r=i[123]&&_b(i),o=i[122]&&kb(i),s=i[121]&&Cb(i);return{c(){r&&r.c(),e=O(),o&&o.c(),t=O(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[123]&&r.p(a,c),a[122]&&o.p(a,c),a[121]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(S(e),S(t),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function _b(i){let e,t,n;function l(o){i[179](o)}let r={disabled:i[74],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(i[125]),$$slots:{default:[wb]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[0]&131072|s[2]&4096|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playPrevChapterButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function wb(i){let e,t;return e=new pf({props:{disabled:i[74],click:i[17]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function kb(i){let e,t,n;function l(o){i[180](o)}let r={disabled:i[77],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(i[79]),$$slots:{default:[yb]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[2]&32768&&(a.disabled=o[77]),s[2]&131072&&(a.disabledTooltipContent=Y(o[79])),s[0]&32768|s[2]&32768|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].seekToInteractiveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function yb(i){let e,t;return e=new ff({props:{disabled:i[77],click:i[15]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[2]&32768&&(r.disabled=n[77]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Cb(i){let e,t,n;function l(o){i[181](o)}let r={tooltipContent:i[49],disabled:i[78],$$slots:{default:[Sb]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.tooltipContent=o[49]),s[2]&65536&&(a.disabled=o[78]),s[0]&65536|s[1]&1|s[2]&65536|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveGraphButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Sb(i){let e,t;return e=new df({props:{click:i[16],graphIsOpened:i[31],disabled:i[78]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&65536&&(r.disabled=n[78]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ja(i){let e,t,n;function l(o){i[182](o)}let r={tooltipContent:i[51],$$slots:{default:[Pb]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&2097152|s[1]&1048576|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].liveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Pb(i){let e,t;return e=new rf({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[51]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&1048576&&(r.ariaLabel=n[51]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function qa(i){let e,t,n;function l(o){i[183](o)}let r={isMobile:!1,showDuration:i[56],position:i[4]?i[80]:i[81],duration:i[4]?i[82]:i[83]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Jc({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&33554432&&(a.showDuration=o[56]),s[0]&16|s[2]&786432&&(a.position=o[4]?o[80]:o[81]),s[0]&16|s[2]&3145728&&(a.duration=o[4]?o[82]:o[83]),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].time,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Wa(i){let e,t;return e=new cf({props:{position:i[81],duration:i[83],timeCodes:i[102]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[2]&524288&&(r.position=n[81]),l[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Tb(i){let e,t,n=i[20]&&Wa(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=Wa(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(m(n),t=!0)},o(l){g(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function Eb(i){var n;let e,t;return e=new hf({props:{iconUrl:i[211],ariaLabel:(n=i[212])!=null?n:i[215],testId:i[213],onClick:i[214]}}),{c(){W(e.$$.fragment)},m(l,r){U(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[211]),r[0]&268435456&&(o.ariaLabel=(s=l[212])!=null?s:l[215]),r[0]&268435456&&(o.testId=l[213]),r[0]&268435456&&(o.onClick=l[214]),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function Za(i){let e,t;return e=new Wt({props:{tooltipContent:i[215],width:40,$$slots:{default:[Eb]},$$scope:{ctx:i}}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[215]),l[0]&268435456|l[7]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ka(i){let e,t,n;function l(o){i[186](o)}let r={disabled:!i[6],tooltipContent:i[52],$$slots:{default:[Ab]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].vkLogo,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ab(i){let e,t;return e=new of({props:{click:i[87],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ib(i){let e,t;return e=new qh({props:{click:i[128]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ga(i){let e,t,n;function l(o){i[188](o)}let r={tooltipContent:i[53],$$slots:{default:[Lb]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&262144|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].subtitles,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Lb(i){let e,t;return e=new eh({props:{isSubtitlesEnabled:i[18],click:i[88]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ya(i){var s;let e,t,n,l;function r(a){i[189](a)}let o={supportLink:i[10],playerControlsHeight:(s=i[47])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(o.ref=i[24]),t=new Xc({props:o}),Se.push(()=>We(t,"ref",r)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),U(t,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&65536&&(f.playerControlsHeight=(d=a[47])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){l||(m(t.$$.fragment,a),l=!0)},o(a){g(t.$$.fragment,a),l=!1},d(a){a&&S(e),j(t)}}}function Qa(i){let e,t,n;function l(o){i[191](o)}let r={tooltipContent:i[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[Vb]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].settings,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Vb(i){let e,t,n;function l(o){i[190](o)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=o[25],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Mb(i){let e,t,n;function l(o){i[192](o)}let r={className:i[42]?"":"out-of-view",tooltipContent:i[50],$$slots:{default:[Bb]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&2048&&(a.className=o[42]?"":"out-of-view"),s[1]&524288&&(a.tooltipContent=o[50]),s[1]&524288|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].context,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Bb(i){let e,t;return e=new ab({props:{ariaLabel:i[50]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Xa(i){let e,t,n;function l(o){i[193](o)}let r={tooltipContent:i[54],$$slots:{default:[Nb]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&1073750016|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].fullscreen,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Nb(i){let e,t;return e=new tf({props:{click:i[13],isFullscreen:i[30]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ja(i){let e,t,n;function l(o){i[194](o)}let r={tooltipContent:i[55],$$slots:{default:[Rb]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.tooltipContent=o[55]),s[0]&536870912|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].chromecast,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Rb(i){let e,t;return e=new lf({props:{isMobile:!1,state:i[29],click:i[127]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function xa(i){let e,t,n;function l(o){i[197](o)}let r={};return i[23].interactiveTimeIcon!==void 0&&(r.ref=i[23].interactiveTimeIcon),e=new yf({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveTimeIcon,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Ob(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A;t=new uf({props:{isHidden:!i[46],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let V=i[39]&&za(i),J=i[36]&&Fa(i),L=i[37]&&Ha(i),ne=i[38]&&Ua(i),Te=i[118]&&bb(i),Pe=!i[4]&&i[33]&&ja(i),Ve=i[19]&&qa(i);function Ae(oe){i[184](oe)}let Oe={className:"w-max",disabled:!i[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[Tb]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(Oe.ref=i[23].episodes),b=new Wt({props:Oe}),Se.push(()=>We(b,"ref",Ae));let me=Gt(i[28]),H=[];for(let oe=0;oe<me.length;oe+=1)H[oe]=Za(Da(i,me,oe));const $=oe=>g(H[oe],1,1,()=>{H[oe]=null});let pe=i[44]&&Ka(i);function ce(oe){i[187](oe)}let Fe={$$slots:{default:[Ib]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Fe.ref=i[23].volume),M=new Wt({props:Fe}),Se.push(()=>We(M,"ref",ce));let Re=i[41]&&Ga(i),Ne=!i[84]&&!i[4]&&Ya(i),Ie=i[43]&&Qa(i),ge=i[85].features.contextMenuButton&&Mb(i),ve=i[45]&&Xa(i),ee=i[40]&&Ja(i),Ce=i[34]&&xa(i);return{c(){e=P("div"),W(t.$$.fragment),n=O(),l=P("div"),r=P("div"),V&&V.c(),o=O(),J&&J.c(),s=O(),L&&L.c(),a=O(),ne&&ne.c(),c=O(),Te&&Te.c(),f=O(),Pe&&Pe.c(),d=O(),Ve&&Ve.c(),h=O(),W(b.$$.fragment),_=O(),C=P("div");for(let oe=0;oe<H.length;oe+=1)H[oe].c();k=O(),pe&&pe.c(),y=O(),W(M.$$.fragment),I=O(),Re&&Re.c(),F=O(),Ne&&Ne.c(),ue=O(),Ie&&Ie.c(),ae=O(),ge&&ge.c(),R=O(),ve&&ve.c(),te=O(),ee&&ee.c(),X=O(),Ce&&Ce.c(),G=pt(),u(r,"class","controls-left v-st0uzk"),To(()=>i[185].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),B(e,"hidden",i[1]),B(e,"controls-hidden",!i[3]),B(e,"no-smooth",i[2])},m(oe,be){T(oe,e,be),U(t,e,null),p(e,n),p(e,l),p(l,r),V&&V.m(r,null),p(r,o),J&&J.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),ne&&ne.m(r,null),p(r,c),Te&&Te.m(r,null),p(r,f),Pe&&Pe.m(r,null),p(r,d),Ve&&Ve.m(r,null),p(r,h),U(b,r,null),w=dr(r,i[185].bind(r)),p(l,_),p(l,C);for(let Ke=0;Ke<H.length;Ke+=1)H[Ke]&&H[Ke].m(C,null);p(C,k),pe&&pe.m(C,null),p(C,y),U(M,C,null),p(C,I),Re&&Re.m(C,null),p(C,F),Ne&&Ne.m(C,null),p(C,ue),Ie&&Ie.m(C,null),p(C,ae),ge&&ge.m(C,null),p(C,R),ve&&ve.m(C,null),p(C,te),ee&&ee.m(C,null),i[195](l),i[196](e),T(oe,X,be),Ce&&Ce.m(oe,be),T(oe,G,be),A=!0},p(oe,be){const Ke={};be[1]&32768&&(Ke.isHidden=!oe[46]),be[0]&16&&(Ke.isAds=oe[4]),be[0]&32&&(Ke.canRewindLive=oe[5]),be[1]&2&&(Ke.isRewindableLive=oe[32]),t.$set(Ke),oe[39]?V?(V.p(oe,be),be[1]&256&&m(V,1)):(V=za(oe),V.c(),m(V,1),V.m(r,o)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),oe[36]?J?(J.p(oe,be),be[1]&32&&m(J,1)):(J=Fa(oe),J.c(),m(J,1),J.m(r,s)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),oe[37]?L?(L.p(oe,be),be[1]&64&&m(L,1)):(L=Ha(oe),L.c(),m(L,1),L.m(r,a)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),oe[38]?ne?(ne.p(oe,be),be[1]&128&&m(ne,1)):(ne=Ua(oe),ne.c(),m(ne,1),ne.m(r,c)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),oe[118]&&Te.p(oe,be),!oe[4]&&oe[33]?Pe?(Pe.p(oe,be),be[0]&16|be[1]&4&&m(Pe,1)):(Pe=ja(oe),Pe.c(),m(Pe,1),Pe.m(r,d)):Pe&&(fe(),g(Pe,1,1,()=>{Pe=null}),de()),oe[19]?Ve?(Ve.p(oe,be),be[0]&524288&&m(Ve,1)):(Ve=qa(oe),Ve.c(),m(Ve,1),Ve.m(r,h)):Ve&&(fe(),g(Ve,1,1,()=>{Ve=null}),de());const Me={};if(be[0]&1048576&&(Me.disabled=!oe[20]),be[0]&1048576|be[2]&2621440|be[7]&2&&(Me.$$scope={dirty:be,ctx:oe}),!v&&be[0]&8388608&&(v=!0,Me.ref=oe[23].episodes,qe(()=>v=!1)),b.$set(Me),be[0]&268435456){me=Gt(oe[28]);let Xe;for(Xe=0;Xe<me.length;Xe+=1){const ot=Da(oe,me,Xe);H[Xe]?(H[Xe].p(ot,be),m(H[Xe],1)):(H[Xe]=Za(ot),H[Xe].c(),m(H[Xe],1),H[Xe].m(C,k))}for(fe(),Xe=me.length;Xe<H.length;Xe+=1)$(Xe);de()}oe[44]?pe?(pe.p(oe,be),be[1]&8192&&m(pe,1)):(pe=Ka(oe),pe.c(),m(pe,1),pe.m(C,y)):pe&&(fe(),g(pe,1,1,()=>{pe=null}),de());const xe={};be[7]&2&&(xe.$$scope={dirty:be,ctx:oe}),!z&&be[0]&8388608&&(z=!0,xe.ref=oe[23].volume,qe(()=>z=!1)),M.$set(xe),oe[41]?Re?(Re.p(oe,be),be[1]&1024&&m(Re,1)):(Re=Ga(oe),Re.c(),m(Re,1),Re.m(C,F)):Re&&(fe(),g(Re,1,1,()=>{Re=null}),de()),!oe[84]&&!oe[4]?Ne?(Ne.p(oe,be),be[0]&16|be[2]&4194304&&m(Ne,1)):(Ne=Ya(oe),Ne.c(),m(Ne,1),Ne.m(C,ue)):Ne&&(fe(),g(Ne,1,1,()=>{Ne=null}),de()),oe[43]?Ie?(Ie.p(oe,be),be[1]&4096&&m(Ie,1)):(Ie=Qa(oe),Ie.c(),m(Ie,1),Ie.m(C,ae)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de()),oe[85].features.contextMenuButton&&ge.p(oe,be),oe[45]?ve?(ve.p(oe,be),be[1]&16384&&m(ve,1)):(ve=Xa(oe),ve.c(),m(ve,1),ve.m(C,te)):ve&&(fe(),g(ve,1,1,()=>{ve=null}),de()),oe[40]?ee?(ee.p(oe,be),be[1]&512&&m(ee,1)):(ee=Ja(oe),ee.c(),m(ee,1),ee.m(C,null)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),(!A||be[0]&2)&&B(e,"hidden",oe[1]),(!A||be[0]&8)&&B(e,"controls-hidden",!oe[3]),(!A||be[0]&4)&&B(e,"no-smooth",oe[2]),oe[34]?Ce?(Ce.p(oe,be),be[1]&8&&m(Ce,1)):(Ce=xa(oe),Ce.c(),m(Ce,1),Ce.m(G.parentNode,G)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de())},i(oe){if(!A){m(t.$$.fragment,oe),m(V),m(J),m(L),m(ne),m(Te),m(Pe),m(Ve),m(b.$$.fragment,oe);for(let be=0;be<me.length;be+=1)m(H[be]);m(pe),m(M.$$.fragment,oe),m(Re),m(Ne),m(Ie),m(ge),m(ve),m(ee),m(Ce),A=!0}},o(oe){g(t.$$.fragment,oe),g(V),g(J),g(L),g(ne),g(Te),g(Pe),g(Ve),g(b.$$.fragment,oe),H=H.filter(db);for(let be=0;be<H.length;be+=1)g(H[be]);g(pe),g(M.$$.fragment,oe),g(Re),g(Ne),g(Ie),g(ge),g(ve),g(ee),g(Ce),A=!1},d(oe){oe&&(S(e),S(X),S(G)),j(t),V&&V.d(),J&&J.d(),L&&L.d(),ne&&ne.d(),Te&&Te.d(),Pe&&Pe.d(),Ve&&Ve.d(),j(b),w(),Nn(H,oe),pe&&pe.d(),j(M),Re&&Re.d(),Ne&&Ne.d(),Ie&&Ie.d(),ge&&ge.d(),ve&&ve.d(),ee&&ee.d(),i[195](null),i[196](null),Ce&&Ce.d(oe)}}}function Db(i,e,t){var Hr,Ur;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te=K,Pe=()=>(Te(),Te=xt(ae,q=>t(145,ne=q)),ae),Ve,Ae=K,Oe=()=>(Ae(),Ae=xt(ue,q=>t(146,Ve=q)),ue),me,H=K,$=()=>(H(),H=xt(F,q=>t(147,me=q)),F),pe,ce=K,Fe=()=>(ce(),ce=xt(I,q=>t(148,pe=q)),I),Re,Ne=K,Ie=()=>(Ne(),Ne=xt(z,q=>t(149,Re=q)),z),ge,ve=K,ee=()=>(ve(),ve=xt(M,q=>t(150,ge=q)),M),Ce,oe=K,be=()=>(oe(),oe=xt(y,q=>t(151,Ce=q)),y),Ke,Me=K,xe=()=>(Me(),Me=xt(k,q=>t(152,Ke=q)),k),Xe,ot=K,at=()=>(ot(),ot=xt(C,q=>t(153,Xe=q)),C),St,vt=K,Yt=()=>(vt(),vt=xt(_,q=>t(154,St=q)),_),Pt,Tt=K,le=()=>(Tt(),Tt=xt(w,q=>t(155,Pt=q)),w),gt,lt=K,Ot=()=>(lt(),lt=xt(v,q=>t(156,gt=q)),v),ut,At=K,$e=()=>(At(),At=xt(b,q=>t(157,ut=q)),b),Ue,Et=K,Ui=()=>(Et(),Et=xt(h,q=>t(158,Ue=q)),h),di,mi=K,un=()=>(mi(),mi=xt(d,q=>t(159,di=q)),d),ti,Qt=K,pi=()=>(Qt(),Qt=xt(f,q=>t(160,ti=q)),f),Dt,hi=K,vi=()=>(hi(),hi=xt(c,q=>t(161,Dt=q)),c),ii,gi,bi,ni,ji,Li,qi,oi,Vi,Lt,yt,_i,wi,rt,li,ct,Nt,ri,ki,yi,Ut,Ci,Mi,jt;i.$$.on_destroy.push(()=>Te()),i.$$.on_destroy.push(()=>Ae()),i.$$.on_destroy.push(()=>H()),i.$$.on_destroy.push(()=>ce()),i.$$.on_destroy.push(()=>Ne()),i.$$.on_destroy.push(()=>ve()),i.$$.on_destroy.push(()=>oe()),i.$$.on_destroy.push(()=>Me()),i.$$.on_destroy.push(()=>ot()),i.$$.on_destroy.push(()=>vt()),i.$$.on_destroy.push(()=>Tt()),i.$$.on_destroy.push(()=>lt()),i.$$.on_destroy.push(()=>At()),i.$$.on_destroy.push(()=>Et()),i.$$.on_destroy.push(()=>mi()),i.$$.on_destroy.push(()=>Qt()),i.$$.on_destroy.push(()=>hi());let{bottomHidden:nn}=e,{bottomNoSmooth:Wi}=e,{showControls:Si}=e,{controlsElementRef:Zi=void 0}=e,{isAds:Rt=!1}=e,{canRewindLive:Zt}=e,{logoClickable:Pi}=e,{logoHidden:si}=e,{videoLogoUrl:Bi}=e,{showNextPrevButtons:Ni}=e,{nextButtonActive:Ki}=e,{prevButtonActive:Qi}=e,{isOneVideoPlaylist:Ri=!1}=e,{supportLink:Ti}=e,{customFullscreenSupported:Ei=!0}=e,{playNextVideo:Xi}=e,{playPrevVideo:qt}=e,{repeatPlaylist:ai}=e,{toggleFullscreen:Ji}=e,{returnFocus:ui}=e,{seekToInteractive:ci}=e,{toggleGraph:Oi}=e,{playPrevChapter:Kt}=e;const je=kt(),Di=zo(),Xt=wn(),Gi=je.actions.internal.toggleMuted,Be=je.actions.internal.togglePlay,cn=je.actions.internal.pause,xi=je.actions.internal.toggleSubtitle,$i=(Hr=je.callbacks)==null?void 0:Hr.onAudioDoesNotExistHint,Ai=(Ur=je.callbacks)==null?void 0:Ur.onAudioDisabledHint,on=je.state.duration$;D(i,on,q=>t(83,Mi=q));const Jt=je.state.positionWithScrubbing$;D(i,Jt,q=>t(81,Ut=q));const Yi=je.state.playbackState$;D(i,Yi,q=>t(162,bi=q));const zi=je.state.chromecastConnected$;D(i,zi,q=>t(84,jt=q));const Vt=je.state.isAudioAvailable$;D(i,Vt,q=>t(198,R=q));const re=je.state.isAudioDisabled,it=je.state.isEnded$;D(i,it,q=>t(170,rt=q));const Mt=je.state.isLive$;D(i,Mt,q=>t(33,oi=q));const It=je.state.isActiveLive$;D(i,It,q=>t(164,Li=q));const zt=je.state.isRewindableLive$;D(i,zt,q=>t(32,qi=q));const fn=je.ui.isPictureInPictureActive$;D(i,fn,q=>t(166,Lt=q));const hn=je.ui.pictureInPictureType$;D(i,hn,q=>t(165,Vi=q));const kn=je.ui.settingsMenuVisible;D(i,kn,q=>t(27,G=q));const dn=je.ui.settingsMenuOpenedByKeyboard;D(i,dn,q=>t(141,X=q));const ln=je.ui.controls,yn=je.actions.internal.getVideoEpisodes(),Sn=je.state.chromecastState$;D(i,Sn,q=>t(29,ii=q));const Pn=je.state.availableSubtitlesList$;D(i,Pn,q=>t(169,wi=q));const Cn=je.state.currentSubtitle$;D(i,Cn,q=>t(171,li=q));const Rn=ln.disabledControls$;D(i,Rn,q=>t(173,Nt=q));const Tn=je.ui.contextMenuVisible;D(i,Tn,q=>t(163,ni=q));const En=je.ui.contextMenu.showContextMenuBtn$;D(i,En,q=>t(167,yt=q));const x=je.ui.contextMenu.openedByKeyboard$;D(i,x,q=>t(168,_i=q));const mt=je.ui.startedByKeyboard$;D(i,mt,q=>t(140,te=q));const vn=je.ads.duration;D(i,vn,q=>t(82,Ci=q));const rn=je.ads.position;D(i,rn,q=>t(80,yi=q));const gn=je.ads.playbackState;D(i,gn,q=>t(172,ct=q));const mn=je.ui.isFullscreen;D(i,mn,q=>t(30,gi=q));const Xn=je.ui.playerSize;D(i,Xn,q=>t(143,V=q));const On=je.ui.currentGridType$;D(i,On,q=>t(144,J=q));const Hn=je.ui.additionalButtons$;D(i,Hn,q=>t(28,L=q));const An=je.actions.internal.getVideoElement,io=je.actions.internal.replayInteractive,en=je.state.isInteractive,In=je.state.isInteractiveTime$;D(i,In,q=>t(142,A=q));const Q=je.state.interactiveEpisodes$;D(i,Q,q=>t(199,ri=q));const no=je.state.showInteractiveGraph,uo=je.state.showSeekToInteractive,Lo=je.state.showPlayPrevChapter,co=je.state.graphIsOpened$;D(i,co,q=>t(31,ji=q));const Z=je.state.playPrevChapterDisabledTooltip,Ct=Di.seekToInteractiveDisabledTooltip$;D(i,Ct,q=>t(79,ki=q));let sn;sn=!!(en&&ri.length);const bn=()=>je.actions.internal.toggleChromecast();let Dn,oo,Zo,ht,E,se,_e,He,Qe,ft,Bt,bt,Fi,Jn,Ko,fo,Pl,Tl,Mr,Br,Nr,El="";const Of=(q,Il)=>{if(!q){t(51,El=Y("tooltip_live"));return}Il===et.PlaybackState.PAUSED&&t(51,El=Y("tooltip_play"))};let Rr,Or,Dr,zr,Go;const Ge={};let Ln,Vo,Al,Fr;const Df=ie.throttleFn(wf,N1,{leading:!1});let Yo,Qo,Xo;function zf(){re?Ai==null||Ai():R?Gi():$i==null||$i()}const Ff=en?io:Ri?Be:ai;function Hf(q){i.$$.not_equal(Ge.prevButton,q)&&(Ge.prevButton=q,t(23,Ge))}function Uf(q){i.$$.not_equal(Ge.replayButton,q)&&(Ge.replayButton=q,t(23,Ge))}function jf(q){Xo=q,t(26,Xo)}function qf(q){i.$$.not_equal(Ge.playButton,q)&&(Ge.playButton=q,t(23,Ge))}function Wf(q){i.$$.not_equal(Ge.nextButton,q)&&(Ge.nextButton=q,t(23,Ge))}function Zf(q){i.$$.not_equal(Ge.playPrevChapterButton,q)&&(Ge.playPrevChapterButton=q,t(23,Ge))}function Kf(q){i.$$.not_equal(Ge.seekToInteractiveButton,q)&&(Ge.seekToInteractiveButton=q,t(23,Ge))}function Gf(q){i.$$.not_equal(Ge.interactiveGraphButton,q)&&(Ge.interactiveGraphButton=q,t(23,Ge))}function Yf(q){i.$$.not_equal(Ge.liveButton,q)&&(Ge.liveButton=q,t(23,Ge))}function Qf(q){i.$$.not_equal(Ge.time,q)&&(Ge.time=q,t(23,Ge))}function Xf(q){i.$$.not_equal(Ge.episodes,q)&&(Ge.episodes=q,t(23,Ge))}function Jf(){Go=this.clientWidth,t(22,Go)}function xf(q){i.$$.not_equal(Ge.vkLogo,q)&&(Ge.vkLogo=q,t(23,Ge))}function $f(q){i.$$.not_equal(Ge.volume,q)&&(Ge.volume=q,t(23,Ge))}function e0(q){i.$$.not_equal(Ge.subtitles,q)&&(Ge.subtitles=q,t(23,Ge))}function t0(q){Yo=q,t(24,Yo)}function i0(q){Qo=q,t(25,Qo)}function n0(q){i.$$.not_equal(Ge.settings,q)&&(Ge.settings=q,t(23,Ge))}function o0(q){i.$$.not_equal(Ge.context,q)&&(Ge.context=q,t(23,Ge))}function l0(q){i.$$.not_equal(Ge.fullscreen,q)&&(Ge.fullscreen=q,t(23,Ge))}function r0(q){i.$$.not_equal(Ge.chromecast,q)&&(Ge.chromecast=q,t(23,Ge))}function s0(q){Se[q?"unshift":"push"](()=>{Pl=q,t(47,Pl)})}function a0(q){Se[q?"unshift":"push"](()=>{Zi=q,t(0,Zi)})}function u0(q){i.$$.not_equal(Ge.interactiveTimeIcon,q)&&(Ge.interactiveTimeIcon=q,t(23,Ge))}return i.$$set=q=>{"bottomHidden"in q&&t(1,nn=q.bottomHidden),"bottomNoSmooth"in q&&t(2,Wi=q.bottomNoSmooth),"showControls"in q&&t(3,Si=q.showControls),"controlsElementRef"in q&&t(0,Zi=q.controlsElementRef),"isAds"in q&&t(4,Rt=q.isAds),"canRewindLive"in q&&t(5,Zt=q.canRewindLive),"logoClickable"in q&&t(6,Pi=q.logoClickable),"logoHidden"in q&&t(130,si=q.logoHidden),"videoLogoUrl"in q&&t(7,Bi=q.videoLogoUrl),"showNextPrevButtons"in q&&t(131,Ni=q.showNextPrevButtons),"nextButtonActive"in q&&t(8,Ki=q.nextButtonActive),"prevButtonActive"in q&&t(9,Qi=q.prevButtonActive),"isOneVideoPlaylist"in q&&t(132,Ri=q.isOneVideoPlaylist),"supportLink"in q&&t(10,Ti=q.supportLink),"customFullscreenSupported"in q&&t(133,Ei=q.customFullscreenSupported),"playNextVideo"in q&&t(11,Xi=q.playNextVideo),"playPrevVideo"in q&&t(12,qt=q.playPrevVideo),"repeatPlaylist"in q&&t(134,ai=q.repeatPlaylist),"toggleFullscreen"in q&&t(13,Ji=q.toggleFullscreen),"returnFocus"in q&&t(14,ui=q.returnFocus),"seekToInteractive"in q&&t(15,ci=q.seekToInteractive),"toggleGraph"in q&&t(16,Oi=q.toggleGraph),"playPrevChapter"in q&&t(17,Kt=q.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&262144&&t(139,n=Nt.has(dt.EPISODE_BUTTON)),i.$$.dirty[5]&262144&&t(78,l=Nt.has(dt.GRAPH_BUTTON)),i.$$.dirty[5]&262144&&t(77,r=Nt.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&262144&&t(76,o=Nt.has(dt.PLAY_BUTTON)),i.$$.dirty[5]&262144&&t(75,s=Nt.has(dt.REPLAY_BUTTON)),i.$$.dirty[5]&262144&&t(74,a=Nt.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&131200&&t(35,Dn=Rt?ct===$t.PLAYING:bi===et.PlaybackState.PLAYING),i.$$.dirty[5]&65536&&t(18,oo=li.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&32768&&t(36,Zo=rt&&!Rt||en),i.$$.dirty[0]&16|i.$$.dirty[5]&32768&&t(37,ht=!rt||en||Rt),i.$$.dirty[4]&1048576&&t(135,E=Vn(J,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&1048704&&t(38,se=Ni&&Vn(J,exports.GridTypes.M)&&!Rt&&Ki),i.$$.dirty[0]&528|i.$$.dirty[4]&1048704&&t(39,_e=Ni&&Vn(J,exports.GridTypes.M)&&!Rt&&Qi),i.$$.dirty[0]&536870912|i.$$.dirty[4]&1048576|i.$$.dirty[5]&3072&&t(40,He=ii!==et.ChromecastState.NOT_AVAILABLE&&!(Lt&&Vi===qn.DocumentPictureInPicture)&&Vn(J,exports.GridTypes.M)&&!en),i.$$.dirty[4]&1048576|i.$$.dirty[5]&16384&&t(41,Qe=wi.length>0&&Vn(J,exports.GridTypes.M)),i.$$.dirty[5]&12288&&t(42,ft=_i||yt),i.$$.dirty[4]&1048576&&t(43,Bt=Vn(J,exports.GridTypes.S)),i.$$.dirty[4]&64&&t(44,bt=!si),i.$$.dirty[4]&1049152|i.$$.dirty[5]&3072&&t(45,Fi=Xt.features.fullscreen&&(si||Vn(J,exports.GridTypes.S))&&!(Lt&&Vi===qn.DocumentPictureInPicture)&&(en?Ei:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,Jn=(!oi||Rt)&&!(Xt.features.interactiveHideTime&&en)),i.$$.dirty[4]&524288&&t(46,Ko=V.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&34816&&t(20,fo=!Rt&&!oi&&!!(yn!=null&&yn.length)&&E&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&512&&t(21,Tl=!qi||Li),i.$$.dirty[5]&128&&t(48,Mr=bi===et.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),i.$$.dirty[1]&1&&t(49,Br=Y(ji?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&256&&t(50,Nr=Y(ni?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&128&&Of(Tl,bi),i.$$.dirty[0]&262144&&t(53,Or=Y(oo?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(54,Dr=Y(gi?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(55,zr=ii===et.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2145386496|i.$$.dirty[5]&127&&t(136,Ln={prevButton:Dt?Dt.right-Dt.left:0,replayButton:ti?ti.right-ti.left:0,playButton:di?di.right-di.left:0,nextButton:Ue?Ue.right-Ue.left:0,playPrevChapterButton:ut?ut.right-ut.left:0,seekToInteractiveButton:gt?gt.right-gt.left:0,interactiveGraphButton:Pt?Pt.right-Pt.left:0,liveButton:St?St.right-St.left:0,time:Xe?Xe.right-Xe.left:0,episodes:Ke?Ke.right-Ke.left:0,vkLogo:Ce?Ce.right-Ce.left:0,volume:ge?ge.right-ge.left:0,subtitles:Re?Re.right-Re.left:0,settings:pe?pe.right-pe.left:0,context:me?me.right-me.left:0,fullscreen:Ve?Ve.right-Ve.left:0,chromecast:ne?ne.right-ne.left:0,additionalButtons:L.length?L.reduce(q=>[...q,40],[]):[]}),i.$$.dirty[4]&12288&&(!Vo||Vo<Ln.time)&&t(137,Vo=Ln.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&1060864){let q=0;fo&&(Vn(J,exports.GridTypes.XL)?q=Ln.time:q=F0);const Il=Ln.prevButton+Ln.playButton+Ln.nextButton+Ln.seekToInteractiveButton+Ln.interactiveGraphButton+Ln.liveButton+Vo+q;t(138,Al=Jn&&Go>=Il)}i.$$.dirty[4]&1064960&&t(56,Fr=Al&&Vn(J,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&786432&&Df(An(),ln,Ge,Si),i.$$.dirty[0]&167772160&&yr(Qo,G,dn),i.$$.dirty[0]&150994944|i.$$.dirty[4]&131072&&Cr(Yo,G,X),i.$$.dirty[0]&67108864|i.$$.dirty[4]&65536&&kf(mt,te,Xo)},t(52,Rr=Xt.logoType===Eo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),vi(t(73,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:_,time:C,episodes:k,vkLogo:y,volume:M,subtitles:z,settings:I,context:F,fullscreen:ue,chromecast:ae}=ln,c,pi(t(72,f)),un(t(71,d)),Ui(t(70,h)),$e(t(69,b)),Ot(t(68,v)),le(t(67,w)),Yt(t(66,_)),at(t(65,C)),xe(t(64,k)),be(t(63,y)),ee(t(62,M)),Ie(t(61,z)),Fe(t(60,I)),$(t(59,F)),Oe(t(58,ue)),Pe(t(57,ae)))),[Zi,nn,Wi,Si,Rt,Zt,Pi,Bi,Ki,Qi,Ti,Xi,qt,Ji,ui,ci,Oi,Kt,oo,Jn,fo,Tl,Go,Ge,Yo,Qo,Xo,G,L,ii,gi,ji,qi,oi,sn,Dn,Zo,ht,se,_e,He,Qe,ft,Bt,bt,Fi,Ko,Pl,Mr,Br,Nr,El,Rr,Or,Dr,zr,Fr,ae,ue,F,I,z,M,y,k,C,_,w,v,b,h,d,f,c,a,s,o,r,l,ki,yi,Ut,Ci,Mi,jt,Xt,Be,cn,xi,on,Jt,Yi,zi,Vt,it,Mt,It,zt,fn,hn,kn,dn,yn,Sn,Pn,Cn,Rn,Tn,En,x,mt,vn,rn,gn,mn,Xn,On,Hn,en,In,Q,no,uo,Lo,co,Z,Ct,bn,zf,Ff,si,Ni,Ri,Ei,ai,E,Ln,Vo,Al,n,te,X,A,V,J,ne,Ve,me,pe,Re,ge,Ce,Ke,Xe,St,Pt,gt,ut,Ue,di,ti,Dt,bi,ni,Li,Vi,Lt,yt,_i,wi,rt,li,ct,Nt,Hf,Uf,jf,qf,Wf,Zf,Kf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0]}class zb extends ye{constructor(e){super(),ke(this,e,Db,Ob,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:130,videoLogoUrl:7,showNextPrevButtons:131,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:132,supportLink:10,customFullscreenSupported:133,playNextVideo:11,playPrevVideo:12,repeatPlaylist:134,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},mb,[-1,-1,-1,-1,-1,-1,-1,-1])}}function Fb(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Hb extends ye{constructor(e){super(),ke(this,e,null,Fb,we,{})}}function Ub(i){Ze(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function $a(i){let e;return{c(){e=P("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){T(t,e,n)},p:K,d(t){t&&S(e)}}}function jb(i){let e,t,n,l;var r=i[4];function o(a){return{}}r&&(t=Fn(r,o()));let s=i[1]&&$a();return{c(){e=P("div"),t&&W(t.$$.fragment),n=O(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",i[1])},m(a,c){T(a,e,c),t&&U(t,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){fe();const f=t;g(f.$$.fragment,1,0,()=>{j(f,1)}),de()}r?(t=Fn(r,o()),W(t.$$.fragment),m(t.$$.fragment,1),U(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=$a(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&B(e,"expanded",a[1])},i(a){l||(t&&m(t.$$.fragment,a),l=!0)},o(a){t&&g(t.$$.fragment,a),l=!1},d(a){a&&S(e),t&&j(t),s&&s.d()}}}function qb(i){let e,t,n;function l(o){i[6](o)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[jb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Wb(i,e,t){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=ie.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,t(0,o)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,l=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,o=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=l?Cl:Hb)},[o,l,r,s,a,n,c]}class Cf extends ye{constructor(e){super(),ke(this,e,Wb,qb,we,{muted:5,expanded:1,click:2,ref:0},Ub)}}function Zb(i){let e,t,n,l;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("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"),B(n,"hidden",!i[0]),u(l,"fill",i[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),B(l,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){T(r,e,o),p(e,t),p(e,n),p(e,l)},p(r,[o]){o&2&&u(t,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&B(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&B(l,"hidden",r[0])},i:K,o:K,d(r){r&&S(e)}}}function Kb(i,e,t){let n,{isActive:l=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,l=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=l?"#2688EB":"#fff")},[l,n]}class Gb extends ye{constructor(e){super(),ke(this,e,Kb,Zb,we,{isActive:0})}}function Yb(i){let e,t;return e=new Gb({props:{isActive:i[1]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Qb(i){let e,t,n;function l(o){i[3](o)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:i[2],$$slots:{default:[Yb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ii({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function Xb(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=ie.noop}=e;function o(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,l=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,l,r,o]}class Jb extends ye{constructor(e){super(),ke(this,e,Xb,Qb,we,{ref:0,isPictureInPictureActive:1,click:2})}}const{Boolean:xb}=gl;function $b(i){Ze(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function eu(i,e,t){const n=i.slice();return n[171]=e[t].iconUrl,n[172]=e[t].ariaLabel,n[173]=e[t].testId,n[174]=e[t].onClick,n[175]=e[t].tooltip,n}function tu(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k=(!i[52]||i[54])&&iu(i),y=Gt(i[57]),M=[];for(let V=0;V<y.length;V+=1)M[V]=nu(eu(i,y,V));const z=V=>g(M[V],1,1,()=>{M[V]=null});let I=i[37]&&ou(i),F=i[38]&&lu(i),ue=i[58]&&ru(i),ae=i[40]&&su(i),R=i[8]&&au(i),te=i[35]&&uu(i),X=i[34]&&cu(i),G=i[8]&&fu(i),A=i[97]&&!i[29]&&du(i);return{c(){e=P("div"),t=O(),n=P("div"),k&&k.c(),l=O(),r=P("div");for(let V=0;V<M.length;V+=1)M[V].c();o=O(),I&&I.c(),s=O(),F&&F.c(),a=O(),ue&&ue.c(),c=O(),ae&&ae.c(),f=O(),d=P("div"),R&&R.c(),h=O(),te&&te.c(),b=O(),X&&X.c(),v=O(),G&&G.c(),w=O(),A&&A.c(),_=pt(),u(e,"class","overlay-mobile v-1tcstu3"),B(e,"hidden",!i[43]),u(n,"class","wrapper-top-left v-1tcstu3"),B(n,"hidden",!i[3]),B(n,"fullscreen",i[53]),u(r,"class","wrapper-top-right v-1tcstu3"),B(r,"hidden",!i[3]&&!i[27]),B(r,"fullscreen",i[53]),u(d,"class","wrapper-middle v-1tcstu3"),B(d,"hidden",!i[3]||i[29])},m(V,J){T(V,e,J),T(V,t,J),T(V,n,J),k&&k.m(n,null),T(V,l,J),T(V,r,J);for(let L=0;L<M.length;L+=1)M[L]&&M[L].m(r,null);p(r,o),I&&I.m(r,null),p(r,s),F&&F.m(r,null),p(r,a),ue&&ue.m(r,null),p(r,c),ae&&ae.m(r,null),T(V,f,J),T(V,d,J),R&&R.m(d,null),p(d,h),te&&te.m(d,null),p(d,b),X&&X.m(d,null),p(d,v),G&&G.m(d,null),T(V,w,J),A&&A.m(V,J),T(V,_,J),C=!0},p(V,J){if((!C||J[1]&4096)&&B(e,"hidden",!V[43]),!V[52]||V[54]?k?(k.p(V,J),J[1]&10485760&&m(k,1)):(k=iu(V),k.c(),m(k,1),k.m(n,null)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),(!C||J[0]&8)&&B(n,"hidden",!V[3]),(!C||J[1]&4194304)&&B(n,"fullscreen",V[53]),J[1]&67108864){y=Gt(V[57]);let L;for(L=0;L<y.length;L+=1){const ne=eu(V,y,L);M[L]?(M[L].p(ne,J),m(M[L],1)):(M[L]=nu(ne),M[L].c(),m(M[L],1),M[L].m(r,o))}for(fe(),L=y.length;L<M.length;L+=1)z(L);de()}V[37]?I?(I.p(V,J),J[1]&64&&m(I,1)):(I=ou(V),I.c(),m(I,1),I.m(r,s)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),V[38]?F?(F.p(V,J),J[1]&128&&m(F,1)):(F=lu(V),F.c(),m(F,1),F.m(r,a)):F&&(fe(),g(F,1,1,()=>{F=null}),de()),V[58]?ue?(ue.p(V,J),J[1]&134217728&&m(ue,1)):(ue=ru(V),ue.c(),m(ue,1),ue.m(r,c)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de()),V[40]?ae?(ae.p(V,J),J[1]&512&&m(ae,1)):(ae=su(V),ae.c(),m(ae,1),ae.m(r,null)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),(!C||J[0]&134217736)&&B(r,"hidden",!V[3]&&!V[27]),(!C||J[1]&4194304)&&B(r,"fullscreen",V[53]),V[8]?R?(R.p(V,J),J[0]&256&&m(R,1)):(R=au(V),R.c(),m(R,1),R.m(d,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),V[35]?te?(te.p(V,J),J[1]&16&&m(te,1)):(te=uu(V),te.c(),m(te,1),te.m(d,b)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),V[34]?X?(X.p(V,J),J[1]&8&&m(X,1)):(X=cu(V),X.c(),m(X,1),X.m(d,v)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),V[8]?G?(G.p(V,J),J[0]&256&&m(G,1)):(G=fu(V),G.c(),m(G,1),G.m(d,null)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),(!C||J[0]&536870920)&&B(d,"hidden",!V[3]||V[29]),V[97]&&!V[29]?A?(A.p(V,J),J[0]&536870912&&m(A,1)):(A=du(V),A.c(),m(A,1),A.m(_.parentNode,_)):A&&(fe(),g(A,1,1,()=>{A=null}),de())},i(V){if(!C){m(k);for(let J=0;J<y.length;J+=1)m(M[J]);m(I),m(F),m(ue),m(ae),m(R),m(te),m(X),m(G),m(A),C=!0}},o(V){g(k),M=M.filter(xb);for(let J=0;J<M.length;J+=1)g(M[J]);g(I),g(F),g(ue),g(ae),g(R),g(te),g(X),g(G),g(A),C=!1},d(V){V&&(S(e),S(t),S(n),S(l),S(r),S(f),S(d),S(w),S(_)),k&&k.d(),Nn(M,V),I&&I.d(),F&&F.d(),ue&&ue.d(),ae&&ae.d(),R&&R.d(),te&&te.d(),X&&X.d(),G&&G.d(),A&&A.d(V)}}}function iu(i){let e,t,n;function l(o){i[131](o)}let r={muted:i[55],expanded:i[52]&&!i[71]&&i[56],click:i[107]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new Cf({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.muted=o[55]),s[1]&35651584&&(a.expanded=o[52]&&!o[71]&&o[56]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].volume,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function nu(i){var n;let e,t;return e=new hf({props:{iconUrl:i[171],ariaLabel:(n=i[172])!=null?n:i[175],testId:i[173],onClick:i[174]}}),{c(){W(e.$$.fragment)},m(l,r){U(e,l,r),t=!0},p(l,r){var s;const o={};r[1]&67108864&&(o.iconUrl=l[171]),r[1]&67108864&&(o.ariaLabel=(s=l[172])!=null?s:l[175]),r[1]&67108864&&(o.testId=l[173]),r[1]&67108864&&(o.onClick=l[174]),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function ou(i){let e,t,n;function l(o){i[132](o)}let r={isMobile:!0,click:i[105],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new lf({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function lu(i){let e,t,n;function l(o){i[133](o)}let r={click:i[106],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Jb({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].pip,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function ru(i){let e,t,n;function l(o){i[134](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function su(i){let e,t,n;function l(o){i[135](o)}let r={click:i[65],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new of({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function au(i){let e,t,n;function l(o){i[136](o)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Sl({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function uu(i){let e,t,n;function l(o){i[137](o)}let r={disabled:i[50],click:i[64],isMobile:!0,isPlaying:i[32]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Ar({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.disabled=o[50]),s[1]&2&&(a.isPlaying=o[32]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].playButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function cu(i){let e,t,n;function l(o){i[138](o)}let r={disabled:i[49],click:i[108],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Ir({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function fu(i){let e,t,n;function l(o){i[139](o)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Sl({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function du(i){let e,t,n,l,r=i[101]&&e5(i),o=i[99]&&t5(i),s=i[100]&&i5(i);return{c(){r&&r.c(),e=O(),o&&o.c(),t=O(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[101]&&r.p(a,c),a[99]&&o.p(a,c),a[100]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(S(e),S(t),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function e5(i){let e,t,n,l,r,o;function s(c){i[140](c)}let a={hidden:!i[3],disabled:i[48],click:i[18]};return i[20].playPrevChapterButton!==void 0&&(a.ref=i[20].playPrevChapterButton),t=new pf({props:a}),Se.push(()=>We(t,"ref",s)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",i[53]),B(e,"hidden",!i[3])},m(c,f){T(c,e,f),U(t,e,null),l=!0,r||(o=he(e,"click",i[109]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&131072&&(d.disabled=c[48]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,qe(()=>n=!1)),t.$set(d),(!l||f[1]&4194304)&&B(e,"fullscreen",c[53]),(!l||f[0]&8)&&B(e,"hidden",!c[3])},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){g(t.$$.fragment,c),l=!1},d(c){c&&S(e),j(t),r=!1,o()}}}function t5(i){let e,t,n,l;function r(s){i[141](s)}let o={hidden:!i[3]&&!i[59],disabled:i[51],click:i[17],graphIsOpened:i[59]};return i[20].interactiveGraphButton!==void 0&&(o.ref=i[20].interactiveGraphButton),t=new df({props:o}),Se.push(()=>We(t,"ref",r)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class",_0(i[101]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",i[53]),B(e,"hidden",!i[3]&&!i[59])},m(s,a){T(s,e,a),U(t,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&268435456&&(c.hidden=!s[3]&&!s[59]),a[1]&1048576&&(c.disabled=s[51]),a[0]&131072&&(c.click=s[17]),a[1]&268435456&&(c.graphIsOpened=s[59]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,qe(()=>n=!1)),t.$set(c),(!l||a[1]&4194304)&&B(e,"fullscreen",s[53]),(!l||a[0]&8|a[1]&268435456)&&B(e,"hidden",!s[3]&&!s[59])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&S(e),j(t)}}}function i5(i){let e,t,n,l,r,o;function s(c){i[142](c)}let a={hidden:!i[3],disabled:i[47],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(a.ref=i[20].seekToInteractiveButton),t=new ff({props:a}),Se.push(()=>We(t,"ref",s)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",i[53]),B(e,"hidden",!i[3])},m(c,f){T(c,e,f),U(t,e,null),l=!0,r||(o=he(e,"click",i[110]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(d),(!l||f[1]&4194304)&&B(e,"fullscreen",c[53]),(!l||f[0]&8)&&B(e,"hidden",!c[3])},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){g(t.$$.fragment,c),l=!1},d(c){c&&S(e),j(t),r=!1,o()}}}function mu(i){let e,t,n,l,r,o=i[54]&&pu(i),s=i[33]&&hu(i);return l=new af({props:{position:i[60],duration:i[61]}}),{c(){o&&o.c(),e=O(),s&&s.c(),t=O(),n=P("div"),W(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",i[53])},m(a,c){o&&o.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,t,c),T(a,n,c),U(l,n,null),r=!0},p(a,c){a[54]?o?(o.p(a,c),c[1]&8388608&&m(o,1)):(o=pu(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),a[33]?s?(s.p(a,c),c[1]&4&&m(s,1)):(s=hu(a),s.c(),m(s,1),s.m(t.parentNode,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de());const f={};c[1]&536870912&&(f.position=a[60]),c[1]&1073741824&&(f.duration=a[61]),l.$set(f),(!r||c[1]&4194304)&&B(n,"fullscreen",a[53])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){g(o),g(s),g(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(t),S(n)),o&&o.d(a),s&&s.d(a),j(l)}}}function pu(i){let e,t,n,l;function r(s){i[143](s)}let o={muted:i[55],expanded:!1,click:i[107]};return i[20].volume!==void 0&&(o.ref=i[20].volume),t=new Cf({props:o}),Se.push(()=>We(t,"ref",r)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",i[53])},m(s,a){T(s,e,a),U(t,e,null),l=!0},p(s,a){const c={};a[1]&16777216&&(c.muted=s[55]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!l||a[1]&4194304)&&B(e,"fullscreen",s[53])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&S(e),j(t)}}}function hu(i){let e,t,n,l;function r(s){i[144](s)}let o={disabled:i[50],click:i[64],isMobile:!0,isPlaying:!i[33]};return i[20].playButton!==void 0&&(o.ref=i[20].playButton),t=new Ar({props:o}),Se.push(()=>We(t,"ref",r)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),U(t,e,null),l=!0},p(s,a){const c={};a[1]&524288&&(c.disabled=s[50]),a[1]&4&&(c.isPlaying=!s[33]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&S(e),j(t)}}}function n5(i){let e,t,n;function l(o){i[145](o)}let r={disabled:i[49],$$slots:{default:[o5]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&262144|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function o5(i){let e,t;return e=new Ir({props:{disabled:i[49],click:i[96]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[1]&262144&&(r.disabled=n[49]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function vu(i){let e,t,n;function l(o){i[146](o)}let r={$$slots:{default:[l5]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&32768|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function l5(i){let e,t;return e=new rf({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[46]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&32768&&(r.ariaLabel=n[46]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function gu(i){let e,t,n;function l(o){i[147](o)}let r={showDuration:i[36],position:i[4]?i[60]:i[62],duration:i[4]?i[61]:i[63],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Jc({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&32&&(a.showDuration=o[36]),s[0]&16|s[1]&536870912|s[2]&1&&(a.position=o[4]?o[60]:o[62]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.duration=o[4]?o[61]:o[63]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].time,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function bu(i){let e,t,n,l;return n=new cf({props:{position:i[62],duration:i[63],timeCodes:i[85]}}),{c(){e=P("div"),e.textContent="\xB7",t=O(),W(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),T(r,t,o),U(n,r,o),l=!0},p(r,o){const s={};o[2]&1&&(s.position=r[62]),o[2]&2&&(s.duration=r[63]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(t)),j(n,r)}}}function r5(i){let e,t,n=i[44]&&bu(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[44]?n?(n.p(l,r),r[1]&8192&&m(n,1)):(n=bu(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(m(n),t=!0)},o(l){g(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function _u(i){let e,t,n;function l(o){i[150](o)}let r={$$slots:{default:[s5]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].settings,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function s5(i){let e,t,n;function l(o){i[149](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Pr({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function wu(i){let e,t,n;function l(o){i[151](o)}let r={$$slots:{default:[a5]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new Wt({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function a5(i){let e,t;return e=new tf({props:{click:i[14],isFullscreen:i[53]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&4194304&&(r.isFullscreen=n[53]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function ku(i){let e,t,n,l;function r(s){i[154](s)}let o={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(o.ref=i[21]),t=new Xc({props:o}),Se.push(()=>We(t,"ref",r)),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),U(t,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],qe(()=>n=!1)),t.$set(c)},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&S(e),j(t)}}}function yu(i){let e,t,n;function l(o){i[155](o)}let r={};return i[20].interactiveTimeIcon!==void 0&&(r.ref=i[20].interactiveTimeIcon),e=new yf({props:r}),Se.push(()=>We(e,"ref",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&1048576&&(t=!0,a.ref=o[20].interactiveTimeIcon,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function u5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y=!i[4]&&tu(i),M=i[4]&&i[30]!==$t.INACTIVE&&mu(i),z=i[97]&&n5(i),I=!i[4]&&i[25]&&vu(i),F=i[42]&&gu(i);function ue(A){i[148](A)}let ae={className:"w-max",disabled:!i[44],$$slots:{default:[r5]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(ae.ref=i[20].episodes),c=new Wt({props:ae}),Se.push(()=>We(c,"ref",ue));let R=i[39]&&_u(i),te=i[41]&&wu(i);v=new uf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let X=i[23]&&ku(i),G=i[31]&&yu(i);return{c(){y&&y.c(),e=O(),M&&M.c(),t=O(),n=P("div"),l=P("div"),r=P("div"),z&&z.c(),o=O(),I&&I.c(),s=O(),F&&F.c(),a=O(),W(c.$$.fragment),d=O(),R&&R.c(),h=O(),te&&te.c(),b=O(),W(v.$$.fragment),w=O(),X&&X.c(),_=O(),G&&G.c(),C=pt(),u(r,"class","controls v-1tcstu3"),B(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),B(l,"fullscreen",i[53]),u(n,"class","wrapper-bottom v-1tcstu3"),B(n,"hidden",i[1]),B(n,"controls-hidden",!i[3]),B(n,"no-smooth",i[2]),B(n,"mobile",!0)},m(A,V){y&&y.m(A,V),T(A,e,V),M&&M.m(A,V),T(A,t,V),T(A,n,V),p(n,l),p(l,r),z&&z.m(r,null),p(r,o),I&&I.m(r,null),p(r,s),F&&F.m(r,null),p(r,a),U(c,r,null),p(r,d),R&&R.m(r,null),p(r,h),te&&te.m(r,null),i[152](r),p(l,b),U(v,l,null),i[153](n),T(A,w,V),X&&X.m(A,V),T(A,_,V),G&&G.m(A,V),T(A,C,V),k=!0},p(A,V){A[4]?y&&(fe(),g(y,1,1,()=>{y=null}),de()):y?(y.p(A,V),V[0]&16&&m(y,1)):(y=tu(A),y.c(),m(y,1),y.m(e.parentNode,e)),A[4]&&A[30]!==$t.INACTIVE?M?(M.p(A,V),V[0]&1073741840&&m(M,1)):(M=mu(A),M.c(),m(M,1),M.m(t.parentNode,t)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),A[97]&&z.p(A,V),!A[4]&&A[25]?I?(I.p(A,V),V[0]&33554448&&m(I,1)):(I=vu(A),I.c(),m(I,1),I.m(r,s)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),A[42]?F?(F.p(A,V),V[1]&2048&&m(F,1)):(F=gu(A),F.c(),m(F,1),F.m(r,a)):F&&(fe(),g(F,1,1,()=>{F=null}),de());const J={};V[1]&8192&&(J.disabled=!A[44]),V[1]&8192|V[2]&3|V[5]&8388608&&(J.$$scope={dirty:V,ctx:A}),!f&&V[0]&1048576&&(f=!0,J.ref=A[20].episodes,qe(()=>f=!1)),c.$set(J),A[39]?R?(R.p(A,V),V[1]&256&&m(R,1)):(R=_u(A),R.c(),m(R,1),R.m(r,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),A[41]?te?(te.p(A,V),V[1]&1024&&m(te,1)):(te=wu(A),te.c(),m(te,1),te.m(r,null)):te&&(fe(),g(te,1,1,()=>{te=null}),de());const L={};V[0]&16&&(L.isAds=A[4]),V[0]&32&&(L.canRewindLive=A[5]),V[0]&16777216&&(L.isRewindableLive=A[24]),v.$set(L),(!k||V[1]&4194304)&&B(l,"fullscreen",A[53]),(!k||V[0]&2)&&B(n,"hidden",A[1]),(!k||V[0]&8)&&B(n,"controls-hidden",!A[3]),(!k||V[0]&4)&&B(n,"no-smooth",A[2]),A[23]?X?(X.p(A,V),V[0]&8388608&&m(X,1)):(X=ku(A),X.c(),m(X,1),X.m(_.parentNode,_)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),A[31]?G?(G.p(A,V),V[1]&1&&m(G,1)):(G=yu(A),G.c(),m(G,1),G.m(C.parentNode,C)):G&&(fe(),g(G,1,1,()=>{G=null}),de())},i(A){k||(m(y),m(M),m(z),m(I),m(F),m(c.$$.fragment,A),m(R),m(te),m(v.$$.fragment,A),m(X),m(G),k=!0)},o(A){g(y),g(M),g(z),g(I),g(F),g(c.$$.fragment,A),g(R),g(te),g(v.$$.fragment,A),g(X),g(G),k=!1},d(A){A&&(S(e),S(t),S(n),S(w),S(_),S(C)),y&&y.d(A),M&&M.d(A),z&&z.d(),I&&I.d(),F&&F.d(),j(c),R&&R.d(),te&&te.d(),i[152](null),j(v),i[153](null),X&&X.d(A),G&&G.d(A)}}}function c5(i,e,t){var en,In;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,{bottomHidden:H}=e,{bottomNoSmooth:$}=e,{showControls:pe}=e,{controlsElementRef:ce=void 0}=e,{isAds:Fe=!1}=e,{canRewindLive:Re}=e,{logoClickable:Ne}=e,{logoHidden:Ie}=e,{videoLogoUrl:ge}=e,{showNextPrevButtons:ve}=e,{nextButtonActive:ee}=e,{prevButtonActive:Ce}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:be}=e,{customFullscreenSupported:Ke=!0}=e,{playNextVideo:Me}=e,{playPrevVideo:xe}=e,{repeatPlaylist:Xe}=e,{toggleFullscreen:ot}=e,{returnFocus:at}=e,{seekToInteractive:St}=e,{toggleGraph:vt}=e,{playPrevChapter:Yt}=e,{onDisabledPlayPrevChapterClick:Pt}=e,{onDisabledSeekToInteractiveClick:Tt}=e;const le=kt(),gt=zo(),lt=wn(),Ot=le.actions.internal.toggleMuted,ut=le.actions.internal.togglePlay,At=le.actions.internal.pause,$e=(en=le.callbacks)==null?void 0:en.onAudioDoesNotExistHint,Ue=(In=le.callbacks)==null?void 0:In.onAudioDisabledHint,Et=le.playerPhase;D(i,Et,Q=>t(127,F=Q));const Ui=le.state.duration$;D(i,Ui,Q=>t(63,me=Q));const di=le.state.positionWithScrubbing$;D(i,di,Q=>t(62,Oe=Q));const mi=le.state.playbackState$;D(i,mi,Q=>t(122,h=Q));const un=le.state.isAudioAvailable$;D(i,un,Q=>t(52,b=Q));const ti=le.state.isAudioDisabled,Qt=le.state.isEnded$;D(i,Qt,Q=>t(128,ae=Q));const pi=le.state.isLive$;D(i,pi,Q=>t(25,k=Q));const Dt=le.state.muted$;D(i,Dt,Q=>t(55,J=Q));const hi=le.state.isActiveLive$;D(i,hi,Q=>t(125,_=Q));const vi=le.state.isRewindableLive$;D(i,vi,Q=>t(24,C=Q));const ii=le.ui.scrubbingInProgress;D(i,ii,Q=>t(29,ue=Q));const gi=le.ui.mobileNotReportControlHidden$;D(i,gi,Q=>t(27,z=Q));const bi=le.ui.isPictureInPictureActive$;D(i,bi,Q=>t(26,M=Q));const ni=le.ui.pictureInPictureType$;D(i,ni,Q=>t(126,y=Q));const ji=le.ui.mobileUnmuteButtonExpanded;D(i,ji,Q=>t(56,L=Q));const Li=le.ui.mobileUnmuteButtonVisible;D(i,Li,Q=>t(54,V=Q));const qi=le.ui.settingsMenuVisible;D(i,qi,Q=>t(23,d=Q));const oi=le.ui.settingsMenuOpenedByKeyboard;D(i,oi,Q=>t(121,f=Q));const Vi=le.ui.controls,Lt=le.actions.internal.getVideoEpisodes(),yt=le.webApi.pictureInPictureApi,_i=le.state.chromecastState$;D(i,_i,Q=>t(28,I=Q));const wi=le.state.crashed$;D(i,wi,Q=>t(58,Te=Q));const rt=Vi.disabledControls$;D(i,rt,Q=>t(129,te=Q));const li=le.ui.startedByKeyboard$;D(i,li,Q=>t(120,c=Q));const ct=le.ads.duration;D(i,ct,Q=>t(61,Ae=Q));const Nt=le.ads.position;D(i,Nt,Q=>t(60,Ve=Q));const ri=le.ads.playbackState;D(i,ri,Q=>t(30,R=Q));const ki=le.ui.isFullscreen;D(i,ki,Q=>t(53,A=Q));const yi=le.ui.playerSize;D(i,yi,Q=>t(124,w=Q));const Ut=le.ui.additionalButtons$;D(i,Ut,Q=>t(57,ne=Q));const Ci=le.actions.internal.getVideoElement,Mi=le.actions.internal.replayInteractive,jt=le.state.isInteractive,nn=le.state.isInteractiveTime$;D(i,nn,Q=>t(123,v=Q));const Wi=le.state.showInteractiveGraph,Si=le.state.showSeekToInteractive,Zi=le.state.showPlayPrevChapter,Rt=le.state.interactiveEpisodes$;D(i,Rt,Q=>t(158,G=Q));const Zt=le.state.graphIsOpened$;D(i,Zt,Q=>t(59,Pe=Q));const Pi=gt.seekToInteractiveDisabledTooltip$;D(i,Pi,Q=>t(130,X=Q));let si;si=!!(jt&&G.length);let Bi,Ni,Ki,Qi,Ri,Ti,Ei,Xi,qt,ai,Ji,ui,ci,Oi,Kt,je,Di,Xt,Gi;const Be={},cn=ie.throttleFn(wf,N1,{leading:!1}),xi=()=>le.actions.internal.toggleChromecast();function $i(){ti?Ue==null||Ue():b?Ot():$e==null||$e()}function Ai(){return tn(this,null,function*(){yt!=null&&yt.isActive()?yield yt==null?void 0:yt.remove():yield yt==null?void 0:yt.request()})}function on(){!ti&&b&&Li.set(!1),$i()}const Jt=oe?ut:Xe;let Yi="";const zi=(Q,no)=>{if(!Q){t(46,Yi=Y("tooltip_live"));return}no===et.PlaybackState.PAUSED&&t(46,Yi=Y("tooltip_play"))};let Vt,re;const it=()=>{a&&Pt(Bi)},Mt=()=>{r&&Tt(Ni)};function It(Q){i.$$.not_equal(Be.volume,Q)&&(Be.volume=Q,t(20,Be))}function zt(Q){i.$$.not_equal(Be.chromecast,Q)&&(Be.chromecast=Q,t(20,Be))}function fn(Q){i.$$.not_equal(Be.pip,Q)&&(Be.pip=Q,t(20,Be))}function hn(Q){re=Q,t(22,re)}function kn(Q){i.$$.not_equal(Be.vkLogo,Q)&&(Be.vkLogo=Q,t(20,Be))}function dn(Q){i.$$.not_equal(Be.prevButton,Q)&&(Be.prevButton=Q,t(20,Be))}function ln(Q){i.$$.not_equal(Be.playButton,Q)&&(Be.playButton=Q,t(20,Be))}function yn(Q){i.$$.not_equal(Be.replayButton,Q)&&(Be.replayButton=Q,t(20,Be))}function Sn(Q){i.$$.not_equal(Be.nextButton,Q)&&(Be.nextButton=Q,t(20,Be))}function Pn(Q){i.$$.not_equal(Be.playPrevChapterButton,Q)&&(Be.playPrevChapterButton=Q,t(20,Be))}function Cn(Q){i.$$.not_equal(Be.interactiveGraphButton,Q)&&(Be.interactiveGraphButton=Q,t(20,Be))}function Rn(Q){i.$$.not_equal(Be.seekToInteractiveButton,Q)&&(Be.seekToInteractiveButton=Q,t(20,Be))}function Tn(Q){i.$$.not_equal(Be.volume,Q)&&(Be.volume=Q,t(20,Be))}function En(Q){i.$$.not_equal(Be.playButton,Q)&&(Be.playButton=Q,t(20,Be))}function x(Q){i.$$.not_equal(Be.replayButton,Q)&&(Be.replayButton=Q,t(20,Be))}function mt(Q){i.$$.not_equal(Be.liveButton,Q)&&(Be.liveButton=Q,t(20,Be))}function vn(Q){i.$$.not_equal(Be.time,Q)&&(Be.time=Q,t(20,Be))}function rn(Q){i.$$.not_equal(Be.episodes,Q)&&(Be.episodes=Q,t(20,Be))}function gn(Q){re=Q,t(22,re)}function mn(Q){i.$$.not_equal(Be.settings,Q)&&(Be.settings=Q,t(20,Be))}function Xn(Q){i.$$.not_equal(Be.fullscreen,Q)&&(Be.fullscreen=Q,t(20,Be))}function On(Q){Se[Q?"unshift":"push"](()=>{Xt=Q,t(45,Xt)})}function Hn(Q){Se[Q?"unshift":"push"](()=>{ce=Q,t(0,ce)})}function An(Q){Vt=Q,t(21,Vt)}function io(Q){i.$$.not_equal(Be.interactiveTimeIcon,Q)&&(Be.interactiveTimeIcon=Q,t(20,Be))}return i.$$set=Q=>{"bottomHidden"in Q&&t(1,H=Q.bottomHidden),"bottomNoSmooth"in Q&&t(2,$=Q.bottomNoSmooth),"showControls"in Q&&t(3,pe=Q.showControls),"controlsElementRef"in Q&&t(0,ce=Q.controlsElementRef),"isAds"in Q&&t(4,Fe=Q.isAds),"canRewindLive"in Q&&t(5,Re=Q.canRewindLive),"logoClickable"in Q&&t(6,Ne=Q.logoClickable),"logoHidden"in Q&&t(111,Ie=Q.logoHidden),"videoLogoUrl"in Q&&t(7,ge=Q.videoLogoUrl),"showNextPrevButtons"in Q&&t(8,ve=Q.showNextPrevButtons),"nextButtonActive"in Q&&t(9,ee=Q.nextButtonActive),"prevButtonActive"in Q&&t(10,Ce=Q.prevButtonActive),"isOneVideoPlaylist"in Q&&t(112,oe=Q.isOneVideoPlaylist),"supportLink"in Q&&t(11,be=Q.supportLink),"customFullscreenSupported"in Q&&t(113,Ke=Q.customFullscreenSupported),"playNextVideo"in Q&&t(12,Me=Q.playNextVideo),"playPrevVideo"in Q&&t(13,xe=Q.playPrevVideo),"repeatPlaylist"in Q&&t(114,Xe=Q.repeatPlaylist),"toggleFullscreen"in Q&&t(14,ot=Q.toggleFullscreen),"returnFocus"in Q&&t(15,at=Q.returnFocus),"seekToInteractive"in Q&&t(16,St=Q.seekToInteractive),"toggleGraph"in Q&&t(17,vt=Q.toggleGraph),"playPrevChapter"in Q&&t(18,Yt=Q.playPrevChapter),"onDisabledPlayPrevChapterClick"in Q&&t(115,Pt=Q.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in Q&&t(116,Tt=Q.onDisabledSeekToInteractiveClick)},i.$$.update=()=>{if(i.$$.dirty[4]&64&&(Ni=Y(X)),i.$$.dirty[4]&32&&t(119,n=te.has(dt.EPISODE_BUTTON)),i.$$.dirty[4]&32&&t(51,l=te.has(dt.GRAPH_BUTTON)),i.$$.dirty[4]&32&&t(47,r=te.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&32&&t(50,o=te.has(dt.PLAY_BUTTON)),i.$$.dirty[4]&32&&t(49,s=te.has(dt.REPLAY_BUTTON)),i.$$.dirty[4]&32&&t(48,a=te.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&536870912&&t(32,Ki=h===et.PlaybackState.PLAYING),i.$$.dirty[0]&1073741824&&t(33,Qi=R===$t.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[4]&16&&t(34,Ri=ae&&!Fe&&!jt),i.$$.dirty[0]&16|i.$$.dirty[4]&16&&t(35,Ti=!ae||Fe),i.$$.dirty[4]&1&&t(117,Ei=w.width>300),i.$$.dirty[4]&1&&t(36,Xi=w.width>400),i.$$.dirty[0]&536870912&&t(118,qt=ue),i.$$.dirty[0]&469762048|i.$$.dirty[4]&4&&t(37,ai=I!==et.ChromecastState.NOT_AVAILABLE&&!(M&&y===qn.DocumentPictureInPicture)&&!z&&!jt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&33554432|i.$$.dirty[4]&12){const Q=F===ze.WaitingLive;t(38,Ji=!!yt&&I!==et.ChromecastState.CONNECTED&&!z&&(y===qn.DocumentPictureInPicture&&Q||!Q)&&!qt&&!jt)}i.$$.dirty[3]&33554432&&t(39,ui=!qt),i.$$.dirty[3]&262144|i.$$.dirty[4]&1&&t(40,ci=!Ie&&w.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&34603008|i.$$.dirty[4]&4&&t(41,Oi=lt.features.fullscreen&&!(M&&y===qn.DocumentPictureInPicture)&&(jt?Ke:!0)&&!qt),i.$$.dirty[0]&33554448|i.$$.dirty[3]&33554432|i.$$.dirty[4]&1&&t(42,Kt=(!k||Fe)&&w.width>260&&!qt&&!(lt.features.interactiveHideTime&&jt)),i.$$.dirty[0]&8388616&&t(43,je=d||pe),i.$$.dirty[0]&33554448|i.$$.dirty[3]&117440512&&t(44,Di=!Fe&&!k&&!!(Lt!=null&&Lt.length)&&Ei&&!n&&!qt),i.$$.dirty[0]&16777216|i.$$.dirty[4]&2&&t(19,Gi=!C||_),i.$$.dirty[0]&1048584|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&1&&cn(Ci(),Vi,Be,pe),i.$$.dirty[0]&524288|i.$$.dirty[3]&536870912&&zi(Gi,h),i.$$.dirty[0]&12582912&&yr(re,d,oi),i.$$.dirty[0]&10485760|i.$$.dirty[3]&268435456&&Cr(Vt,d,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&134217728&&kf(li,c,Be.playButton)},Bi=Y(le.state.playPrevChapterDisabledTooltip),[ce,H,$,pe,Fe,Re,Ne,ge,ve,ee,Ce,be,Me,xe,ot,at,St,vt,Yt,Gi,Be,Vt,re,d,C,k,M,z,I,ue,R,si,Ki,Qi,Ri,Ti,Xi,ai,Ji,ui,ci,Oi,Kt,je,Di,Xt,Yi,r,a,s,o,l,b,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,ut,At,Et,Ui,di,mi,un,ti,Qt,pi,Dt,hi,vi,ii,gi,bi,ni,ji,Li,qi,oi,Lt,_i,wi,rt,li,ct,Nt,ri,ki,yi,Ut,Mi,jt,nn,Wi,Si,Zi,Rt,Zt,Pi,xi,Ai,on,Jt,it,Mt,Ie,oe,Ke,Xe,Pt,Tt,Ei,qt,n,c,f,h,v,w,_,y,F,ae,te,X,It,zt,fn,hn,kn,dn,ln,yn,Sn,Pn,Cn,Rn,Tn,En,x,mt,vn,rn,gn,mn,Xn,On,Hn,An,io]}class f5 extends ye{constructor(e){super(),ke(this,e,c5,u5,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:111,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:112,supportLink:11,customFullscreenSupported:113,playNextVideo:12,playPrevVideo:13,repeatPlaylist:114,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:115,onDisabledSeekToInteractiveClick:116},$b,[-1,-1,-1,-1,-1,-1])}}function d5(i){let e,t,n;function l(o){i[28](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new zb({props:r}),Se.push(()=>We(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function m5(i){let e,t,n;function l(o){i[27](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22],onDisabledPlayPrevChapterClick:i[23],onDisabledSeekToInteractiveClick:i[24]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new f5({props:r}),Se.push(()=>We(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function p5(i){let e,t,n,l;const r=[m5,d5],o=[];function s(a,c){return a[25]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){g(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function h5(i,e,t){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:M}=e,{repeatPlaylist:z}=e,{toggleFullscreen:I}=e,{returnFocus:F=ie.noop}=e,{seekToInteractive:ue}=e,{toggleGraph:ae}=e,{playPrevChapter:R}=e,{onDisabledPlayPrevChapterClick:te=ie.noop}=e,{onDisabledSeekToInteractiveClick:X=ie.noop}=e;const A=kt().ui.isMobile;D(i,A,L=>t(25,n=L));function V(L){s=L,t(0,s)}function J(L){s=L,t(0,s)}return i.$$set=L=>{"bottomHidden"in L&&t(1,l=L.bottomHidden),"bottomNoSmooth"in L&&t(2,r=L.bottomNoSmooth),"showControls"in L&&t(3,o=L.showControls),"controlsElementRef"in L&&t(0,s=L.controlsElementRef),"isAds"in L&&t(4,a=L.isAds),"canRewindLive"in L&&t(5,c=L.canRewindLive),"logoClickable"in L&&t(6,f=L.logoClickable),"logoHidden"in L&&t(7,d=L.logoHidden),"videoLogoUrl"in L&&t(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&t(9,b=L.showNextPrevButtons),"nextButtonActive"in L&&t(10,v=L.nextButtonActive),"prevButtonActive"in L&&t(11,w=L.prevButtonActive),"isOneVideoPlaylist"in L&&t(12,_=L.isOneVideoPlaylist),"supportLink"in L&&t(13,C=L.supportLink),"customFullscreenSupported"in L&&t(14,k=L.customFullscreenSupported),"playNextVideo"in L&&t(15,y=L.playNextVideo),"playPrevVideo"in L&&t(16,M=L.playPrevVideo),"repeatPlaylist"in L&&t(17,z=L.repeatPlaylist),"toggleFullscreen"in L&&t(18,I=L.toggleFullscreen),"returnFocus"in L&&t(19,F=L.returnFocus),"seekToInteractive"in L&&t(20,ue=L.seekToInteractive),"toggleGraph"in L&&t(21,ae=L.toggleGraph),"playPrevChapter"in L&&t(22,R=L.playPrevChapter),"onDisabledPlayPrevChapterClick"in L&&t(23,te=L.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in L&&t(24,X=L.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,n,A,V,J]}class Sf extends ye{constructor(e){super(),ke(this,e,h5,p5,we,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function v5(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function g5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&B(e,"reversed",v[0])},i:K,o:K,d(v){v&&S(e)}}}function b5(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class _5 extends ye{constructor(e){super(),ke(this,e,b5,g5,we,{reversed:0},v5)}}function w5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("clipPath"),s=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),d=N("feOffset"),h=N("feGaussianBlur"),b=N("feColorMatrix"),v=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(_,C){T(_,e,C),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,b),p(a,v),p(a,w)},d(_){_&&S(e)}}}function k5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("defs"),s=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),b=N("feGaussianBlur"),v=N("feColorMatrix"),w=N("feBlend"),_=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){T(C,e,k),p(e,t),p(t,n),p(t,l),p(t,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,b),p(c,v),p(c,w),p(c,_)},d(C){C&&S(e)}}}function y5(i){let e;function t(r,o){return r[0]?k5:w5}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function C5(i,e,t){let{isOff:n=!1}=e;return i.$$set=l=>{"isOff"in l&&t(0,n=l.isOff)},[n]}class Pf extends ye{constructor(e){super(),ke(this,e,C5,y5,we,{isOff:0})}}function S5(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function P5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&B(e,"reversed",v[0])},i:K,o:K,d(v){v&&S(e)}}}function T5(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class E5 extends ye{constructor(e){super(),ke(this,e,T5,P5,we,{reversed:0},S5)}}function A5(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function I5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),b=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,b)},p(v,[w]){w&1&&B(e,"reversed",v[0])},i:K,o:K,d(v){v&&S(e)}}}function L5(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class V5 extends ye{constructor(e){super(),ke(this,e,L5,I5,we,{reversed:0},A5)}}function M5(i){Ze(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Cu(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,l,r,o,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),f,d=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,b,v,w,_,C=t&&Su(i),k=i[4]===Ye.PAUSE&&Pu(),y=i[4]===Ye.PLAY&&Tu(),M=i[4]===Ye.REPLAY&&Eu(),z=i[4]===Ye.SUBTITLES_OFF&&Au(),I=i[4]===Ye.SUBTITLES_ON&&Iu(),F=c&&Lu(i),ue=d&&Vu(i),ae=i[4]===Ye.MUTE&&Mu(),R=i[4]===Ye.VOLUME&&Bu(),te=i[5]&&Nu(i);return{c(){e=P("div"),C&&C.c(),n=O(),k&&k.c(),l=O(),y&&y.c(),r=O(),M&&M.c(),o=O(),z&&z.c(),s=O(),I&&I.c(),a=O(),F&&F.c(),f=O(),ue&&ue.c(),h=O(),ae&&ae.c(),b=O(),R&&R.c(),v=O(),te&&te.c(),w=pt(),u(e,"class","v-4ftgwp")},m(X,G){T(X,e,G),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),M&&M.m(e,null),p(e,o),z&&z.m(e,null),p(e,s),I&&I.m(e,null),p(e,a),F&&F.m(e,null),p(e,f),ue&&ue.m(e,null),p(e,h),ae&&ae.m(e,null),p(e,b),R&&R.m(e,null),T(X,v,G),te&&te.m(X,G),T(X,w,G),_=!0},p(X,G){G&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(X[4])),t?C?(C.p(X,G),G&16&&m(C,1)):(C=Su(X),C.c(),m(C,1),C.m(e,n)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),X[4]===Ye.PAUSE?k?G&16&&m(k,1):(k=Pu(),k.c(),m(k,1),k.m(e,l)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),X[4]===Ye.PLAY?y?G&16&&m(y,1):(y=Tu(),y.c(),m(y,1),y.m(e,r)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),X[4]===Ye.REPLAY?M?G&16&&m(M,1):(M=Eu(),M.c(),m(M,1),M.m(e,o)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),X[4]===Ye.SUBTITLES_OFF?z?G&16&&m(z,1):(z=Au(),z.c(),m(z,1),z.m(e,s)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),X[4]===Ye.SUBTITLES_ON?I?G&16&&m(I,1):(I=Iu(),I.c(),m(I,1),I.m(e,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),G&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(X[4])),c?F?(F.p(X,G),G&16&&m(F,1)):(F=Lu(X),F.c(),m(F,1),F.m(e,f)):F&&(fe(),g(F,1,1,()=>{F=null}),de()),G&16&&(d=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(X[4])),d?ue?(ue.p(X,G),G&16&&m(ue,1)):(ue=Vu(X),ue.c(),m(ue,1),ue.m(e,h)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de()),X[4]===Ye.MUTE?ae?G&16&&m(ae,1):(ae=Mu(),ae.c(),m(ae,1),ae.m(e,b)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),X[4]===Ye.VOLUME?R?G&16&&m(R,1):(R=Bu(),R.c(),m(R,1),R.m(e,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),X[5]?te?te.p(X,G):(te=Nu(X),te.c(),te.m(w.parentNode,w)):te&&(te.d(1),te=null)},i(X){_||(m(C),m(k),m(y),m(M),m(z),m(I),m(F),m(ue),m(ae),m(R),_=!0)},o(X){g(C),g(k),g(y),g(M),g(z),g(I),g(F),g(ue),g(ae),g(R),_=!1},d(X){X&&(S(e),S(v),S(w)),C&&C.d(),k&&k.d(),y&&y.d(),M&&M.d(),z&&z.d(),I&&I.d(),F&&F.d(),ue&&ue.d(),ae&&ae.d(),R&&R.d(),te&&te.d(X)}}}function Su(i){let e,t;return e=new _5({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Pu(i){let e,t;return e=new nf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Tu(i){let e,t;return e=new Er({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Eu(i){let e,t;return e=new mf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Au(i){let e,t;return e=new Pf({props:{isOff:!0}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Iu(i){let e,t;return e=new Pf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Lu(i){let e,t;return e=new E5({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Vu(i){let e,t;return e=new V5({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Mu(i){let e,t;return e=new Cl({props:{volume:0}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Bu(i){let e,t;return e=new Cl({props:{volume:1}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Nu(i){let e,t;return{c(){e=P("span"),t=De(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&32&&Je(t,n[5])},d(n){n&&S(e)}}}function B5(i){let e,t,n=!i[1]&&i[4]&&Cu(i);return{c(){e=P("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),B(e,"hidden",i[1]),B(e,"hot-key-helpers-container--left",i[2]),B(e,"hot-key-helpers-container--right",i[3])},m(l,r){T(l,e,r),n&&n.m(e,null),t=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=Cu(l),n.c(),m(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!t||r&2)&&B(e,"hidden",l[1]),(!t||r&4)&&B(e,"hot-key-helpers-container--left",l[2]),(!t||r&8)&&B(e,"hot-key-helpers-container--right",l[3])},i(l){t||(m(n),t=!0)},o(l){g(n),t=!1},d(l){l&&S(e),n&&n.d()}}}function N5(i,e,t){let n,l=K,r=()=>(l(),l=xt(o,h=>t(6,n=h)),o);i.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return i.$$set=h=>{"data"in h&&r(t(0,o=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,d=Y(n.t.key,{value:n.t.value||""})):t(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class R5 extends ye{constructor(e){super(),ke(this,e,N5,B5,we,{data:0},M5)}}function O5(i){Ze(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 D5(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k;return r=new $n({props:{direction:"up"}}),a=new $n({props:{direction:"up"}}),h=new $n({props:{direction:"up"}}),w=new $n({props:{direction:"up"}}),{c(){e=P("div"),t=P("div"),n=P("div"),l=P("div"),W(r.$$.fragment),o=O(),s=P("div"),W(a.$$.fragment),c=O(),f=P("div"),d=P("div"),W(h.$$.fragment),b=O(),v=P("div"),W(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),B(e,"m-shifted",i[0])},m(y,M){T(y,e,M),p(e,t),p(t,n),p(n,l),U(r,l,null),p(n,o),p(n,s),U(a,s,null),p(t,c),p(t,f),p(f,d),U(h,d,null),p(f,b),p(f,v),U(w,v,null),_=!0,C||(k=[he(l,"mousedown",i[1]),he(l,"mouseup",i[5]),he(l,"mouseleave",i[5]),he(s,"mousedown",i[3]),he(s,"mouseup",i[5]),he(s,"mouseleave",i[5]),he(d,"mousedown",i[4]),he(d,"mouseup",i[5]),he(d,"mouseleave",i[5]),he(v,"mousedown",i[2]),he(v,"mouseup",i[5]),he(v,"mouseleave",i[5]),he(e,"keydown",i[6]),he(e,"keyup",i[7])],C=!0)},p(y,[M]){(!_||M&1)&&B(e,"m-shifted",y[0])},i(y){_||(m(r.$$.fragment,y),m(a.$$.fragment,y),m(h.$$.fragment,y),m(w.$$.fragment,y),_=!0)},o(y){g(r.$$.fragment,y),g(a.$$.fragment,y),g(h.$$.fragment,y),g(w.$$.fragment,y),_=!1},d(y){y&&S(e),j(r),j(a),j(h),j(w),C=!1,nt(k)}}}function z5(i,e,t){let{isShifted:n=!1}=e;const l=kt(),r=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ee.ArrowUp:o();break;case Ee.ArrowDown:s();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,o,s,a,c,f,d,h]}class Tf extends ye{constructor(e){super(),ke(this,e,z5,D5,we,{isShifted:0},O5)}}function F5(i){Ze(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Ru(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Ou(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Du(i){let e,t;function n(o,s){return o[7]&&o[8]?j5:o[5]?U5:H5}let l=n(i),r=l(i);return{c(){e=P("div"),t=P("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(e,"mobile",i[3])},m(o,s){T(o,e,s),p(e,t),r.m(t,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(t,null))),s&8&&B(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function H5(i){let e,t=Gt(i[1]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zu(Ru(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=pt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);T(l,e,r)},p(l,r){if(r&18){t=Gt(l[1]);let o;for(o=0;o<t.length;o+=1){const s=Ru(l,t,o);n[o]?n[o].p(s,r):(n[o]=zu(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&S(e),Nn(n,l)}}}function U5(i){let e,t,n=Gt(i[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=Hu(Ou(i,n,r));return{c(){e=P("span"),t=P("span");for(let r=0;r<l.length;r+=1)l[r].c();u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,t);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(t,null)},p(r,o){if(o&68){n=Gt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Ou(r,n,s);l[s]?l[s].p(a,o):(l[s]=Hu(a),l[s].c(),l[s].m(t,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&S(e),Nn(l,r)}}}function j5(i){let e,t,n=Y("subtitles_auto_caption")+"",l;return{c(){e=P("span"),t=P("span"),l=De(n),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,t),p(t,l)},p(r,o){o&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function zu(i){let e,t,n=i[16]+"",l,r;return{c(){e=P("span"),t=P("span"),l=De(n),r=O(),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){T(o,e,s),p(e,t),p(t,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&Je(l,n),s&16&&Ht(t,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function Fu(i){let e=i[16]+"",t;return{c(){t=De(e)},m(n,l){T(n,t,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&Je(t,e)},d(n){n&&S(t)}}}function Hu(i){let e,t=(!i[17]||i[17]<=i[2])&&Fu(i);return{c(){t&&t.c(),e=pt()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?t?t.p(n,l):(t=Fu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&S(e),t&&t.d(n)}}}function q5(i){let e,t=i[1].length>0&&Du(i);return{c(){e=P("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),B(e,"shifted",i[0]),B(e,"auto",i[5]&&!i[8])},m(n,l){T(n,e,l),t&&t.m(e,null)},p(n,[l]){n[1].length>0?t?t.p(n,l):(t=Du(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),l&1&&B(e,"shifted",n[0]),l&288&&B(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&S(e),t&&t.d()}}}function W5(i,e,t){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=kt(),d=wn(),h=f.state.currentSubtitle$;D(i,h,y=>t(12,n=y));const b=f.state.isAutoSubtitleCaptionVisible$;D(i,b,y=>t(8,l=y));let v,w,_,C,k;return _n(()=>{k=window.setTimeout(()=>{b.set(!1)},d.autoSubtitlesTimeout)}),bl(()=>{window.clearTimeout(k)}),i.$$set=y=>{"shifted"in y&&t(0,r=y.shifted),"captions"in y&&t(1,o=y.captions),"position"in y&&t(2,s=y.position),"playerSize"in y&&t(11,a=y.playerSize),"isMobile"in y&&t(3,c=y.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const y=a.width*.02;t(4,v=y<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:y)}i.$$.dirty&2&&t(5,w=o.some(y=>y.type==="timestamp")),i.$$.dirty&2&&t(6,_=o.reduce((y,{type:M,value:z})=>(M==="timestamp"?y.push({timeAppeared:Number(z),value:""}):y.length===0?y.push({value:String(z)}):y[y.length-1].value=String(z),y),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,o,s,c,v,w,_,C,l,h,b,a,n]}class Ef extends ye{constructor(e){super(),ke(this,e,W5,q5,we,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},F5)}}function Z5(i){Ze(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 Uu(i){let e,t,n;return{c(){e=P("div"),t=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(i[1]),u(e,"class","text v-1o62kpz")},m(l,r){T(l,e,r),p(e,t),p(e,n)},p(l,r){r&2&&Je(n,l[1])},d(l){l&&S(e)}}}function K5(i){let e,t,n,l,r,o,s=i[1]&&Uu(i);return{c(){e=P("div"),t=P("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=O(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){T(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(o=he(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Uu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function G5(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){Po.call(this,i,o)}return i.$$set=o=>{"thumbUrl"in o&&t(0,n=o.thumbUrl),"chromecastDeviceName"in o&&t(1,l=o.chromecastDeviceName)},[n,l,r]}class Af extends ye{constructor(e){super(),ke(this,e,G5,K5,we,{thumbUrl:0,chromecastDeviceName:1},Z5)}}function Y5(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Q5 extends ye{constructor(e){super(),ke(this,e,null,Y5,we,{})}}function X5(i){Ze(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 J5(i){let e,t,n;return t=new Q5({}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){T(l,e,r),U(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}class If extends ye{constructor(e){super(),ke(this,e,null,J5,we,{},X5)}}function x5(i){Ze(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 $5(i){let e,t,n,l,r,o,s,a,c;return r=new Er({}),{c(){e=P("div"),t=P("div"),n=P("div"),l=O(),W(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(t,"tabindex","0"),u(t,"role","button"),u(t,"aria-label",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${i[0]||""}')`),B(e,"hidden",i[1])},m(f,d){T(f,e,d),p(e,t),p(t,n),p(t,l),U(r,t,null),s=!0,a||(c=[he(t,"keydown",i[3]),he(e,"click",st(function(){Bn(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[d]){i=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&B(e,"hidden",i[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&S(e),j(r),a=!1,nt(c)}}}function e_(i,e,t){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=kt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ee.Enter,Ee.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return i.$$set=c=>{"thumbUrl"in c&&t(0,n=c.thumbUrl),"hidden"in c&&t(1,l=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,l,r,a]}class Lf extends ye{constructor(e){super(),ke(this,e,e_,$5,we,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},x5)}get handlePressKey(){return this.$$.ctx[3]}}function t_(i){Ze(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 ws(i){let e;return{c(){e=E("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function ks(i){let e,t;return e=new N4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ys(i){let e,t;return e=new I4({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Cs(i){let e,t;return e=new D4({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function F4(i){let e,t,n,l,r,o,s,a=i[0]&&ws(),c=i[3]&&ks(i),f=i[7]&&ys(),d=i[4]&&Cs();return{c(){e=E("div"),a&&a.c(),t=R(),n=E("video"),l=R(),c&&c.c(),r=R(),f&&f.c(),o=R(),d&&d.c(),Ut(n,"width","100%"),Ut(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){T(h,e,_),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),i[20](e),s=!0},p(h,[_]){h[0]?a||(a=ws(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&m(c,1)):(c=ks(h),c.c(),m(c,1),c.m(e,r)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[7]?f?_&128&&m(f,1):(f=ys(),f.c(),m(f,1),f.m(e,o)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[4]?d?_&16&&m(d,1):(d=Cs(),d.c(),m(d,1),d.m(e,null)):d&&(de(),v(d,1,1,()=>{d=null}),me())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){v(c),v(f),v(d),s=!1},d(h){h&&S(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),d&&d.d(),i[20](null)}}}function H4(i,e,t){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=St(),_=h.state.isEnded$;D(i,_,Z=>t(7,s=Z));const g=h.ui.isMobile;D(i,g,Z=>t(0,l=Z));let w,b,C=!1;const k=h.ads.playbackState;D(i,k,Z=>t(18,n=Z));const y=h.ads.canSkip,V=h.ads.position;D(i,V,Z=>t(5,r=Z));const Q=h.ads.secondsToWatchBeforeSkip;D(i,Q,Z=>t(6,o=Z));let A,z;hn(()=>{const Z=new AbortController;let Y=()=>{Z.abort()};const O=h.getAdmanWrapper();if(!a){O.onAdmanLoadingError();return}const{width:X,height:L}=et(h.ui.playerSize),B=et(h.ui.isFullscreen),te=et(h.ui.isAutoplay),P={width:X,height:L,isFullscreen:B,isAutoplay:te,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(O.initAdman(P),C=!0):O.loadAdman(Z.signal).then(()=>{O.initAdman(P),C=!0}).catch(()=>{O.onAdmanLoadingError()}),()=>{!C&&Y()}});function se(Z){Se[Z?"unshift":"push"](()=>{b=Z,t(2,b)})}function re(Z){Se[Z?"unshift":"push"](()=>{w=Z,t(1,w)})}return i.$$set=Z=>{"adsSlotId"in Z&&t(14,a=Z.adsSlotId),"adsParams"in Z&&t(15,c=Z.adsParams),"adsPreviewParam"in Z&&t(16,f=Z.adsPreviewParam),"duration"in Z&&t(17,d=Z.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,A=y&&n!==ti.INACTIVE),i.$$.dirty&262145&&t(4,z=l&&n!==ti.INACTIVE)},[l,w,b,A,z,r,o,s,h,_,g,k,V,Q,a,c,f,d,n,se,re]}class Ec extends ke{constructor(e){super(),we(this,e,H4,F4,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},z4)}}const Hn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function U4(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},d(l){l&&S(e)}}}function q4(i){let e,t,n;return{c(){e=N("svg"),t=N("rect"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},d(l){l&&S(e)}}}function j4(i){let e;function t(r,o){return r[0]?q4:U4}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function W4(i,e,t){let{isActive:n=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,n=l.isActive)},[n]}class Ic extends ke{constructor(e){super(),we(this,e,W4,j4,be,{isActive:0})}}function Z4(i){Ke(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 K4(i){let e=Hn(i[4]-i[3])+"",t;return{c(){t=He(e)},m(n,l){T(n,t,l)},p(n,l){l&24&&e!==(e=Hn(n[4]-n[3])+"")&&it(t,e)},i:K,o:K,d(n){n&&S(t)}}}function G4(i){let e,t,n;return t=new Ic({props:{isActive:!0}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){T(l,e,r),F(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function Y4(i){let e,t,n,l,r,o,s;const a=[G4,K4],c=[];function f(d,h){return d[1]?0:1}return r=f(i),o=c[r]=a[r](i),{c(){e=E("div"),t=E("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),l=E("span"),o.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),M(e,"live",i[1]),M(e,"hidden",i[0]),M(e,"playing",i[2])},m(d,h){T(d,e,h),p(e,t),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let _=r;r=f(d),r===_?c[r].p(d,h):(de(),v(c[_],1,1,()=>{c[_]=null}),me(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&M(e,"live",d[1]),(!s||h&1)&&M(e,"hidden",d[0]),(!s||h&4)&&M(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){v(o),s=!1},d(d){d&&S(e),c[r].d()}}}function Q4(i,e,t){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,l=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,o=a.position),"duration"in a&&t(4,s=a.duration)},[n,l,r,o,s]}class Ac extends ke{constructor(e){super(),we(this,e,Q4,Y4,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},Z4)}}const cr=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)}}},ro=i=>{i.stopPropagation(),i.preventDefault()},X4=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},J4=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},x4=i=>{const e=i.code;return e===Ee.Tab&&!i.shiftKey||e===Ee.ArrowDown},$4=i=>{const e=i.code;return e===Ee.Tab||e===Ee.ArrowUp},Lc=i=>i.code===Ee.Escape,ep=i=>i.code===Ee.ArrowLeft,Vc=(i,e=!0)=>{const t=i.code;return[Ee.Enter,Ee.Space].includes(t)||!e&&t===Ee.ArrowRight},Mc=i=>{if(x4(i)){ro(i),J4(i.target);return}$4(i)&&(ro(i),X4(i.target))},wr=i=>(i==null?void 0:i.detail)===0,kr=(i,e,t)=>mi(void 0,void 0,void 0,function*(){yield Fo(),i&&!i.classList.contains("opened")&&!e&&et(t)&&(t.set(!1),i.focus())}),yr=(i,e,t)=>mi(void 0,void 0,void 0,function*(){yield Fo(),!!i&&e&&t&&i.firstChild.focus()}),cl=(i,e,t)=>mi(void 0,void 0,void 0,function*(){!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},E0))}),Bc=(i,e)=>{Mc(i),Lc(i)&&(ro(i),e())},fl=(i,e,t)=>mi(void 0,void 0,void 0,function*(){if(Vc(i,!1)){ro(i),e(),yield Fo();const n=t();n==null||n.focus()}}),dl=(i,e,t,n)=>mi(void 0,void 0,void 0,function*(){if(Mc(i),ep(i)){ro(i),e(),t.set(!0);return}Lc(i)&&(ro(i),n())}),rn=(i,e)=>{Vc(i)&&(ro(i),e())};function tp(i){Ke(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 Ss(i){var V;let e,t,n,l,r,o,s=(i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,d=G("menu_debug_overlay")+"",h,_,g,w,b=i[9].features.copyVideoLink&&((V=i[8].callbacks)==null?void 0:V.onCopyVideoLink)&&ip(i),C=i[11]&&i[5]!==tt.ChromecastState.CONNECTED&&!i[16]&&Ps(i),k=i[9].features.videoRotate&&!i[16]&&np(i),y=i[9].showSupport&&!i[6]&&Es(i);return{c(){e=E("ul"),b&&b.c(),t=R(),C&&C.c(),n=R(),k&&k.c(),l=R(),y&&y.c(),r=R(),o=E("li"),a=He(s),c=R(),f=E("li"),h=He(d),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=i[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ut(e,"top",i[3]+"px"),Ut(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(Q,A){T(Q,e,A),b&&b.m(e,null),p(e,t),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),i[40](e),g||(w=[ve(o,"click",lt(i[19])),ve(o,"keydown",i[29]),ve(f,"click",lt(i[20])),ve(f,"keydown",i[30]),ve(e,"contextmenu",ii(i[37])),ve(e,"keydown",i[23])],g=!0)},p(Q,A){var z;Q[9].features.copyVideoLink&&((z=Q[8].callbacks)!=null&&z.onCopyVideoLink)&&b.p(Q,A),Q[11]&&Q[5]!==tt.ChromecastState.CONNECTED&&!Q[16]?C?C.p(Q,A):(C=Ps(Q),C.c(),C.m(e,n)):C&&(C.d(1),C=null),Q[9].features.videoRotate&&!Q[16]&&k.p(Q,A),Q[9].showSupport&&!Q[6]?y?y.p(Q,A):(y=Es(Q),y.c(),y.m(e,r)):y&&(y.d(1),y=null),A[0]&128&&_!==(_=Q[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),A[0]&8&&Ut(e,"top",Q[3]+"px"),A[0]&4&&Ut(e,"left",Q[2]+"px")},d(Q){Q&&S(e),b&&b.d(),C&&C.d(),k&&k.d(),y&&y.d(),i[40](null),g=!1,ot(w)}}}function ip(i){let e,t=G("menu_copy_video_link")+"",n,l,r,o,s,a=!i[4]&&!i[16]&&Ts(i);return{c(){e=E("li"),n=He(t),l=R(),a&&a.c(),r=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),p(e,n),T(c,l,f),a&&a.m(c,f),T(c,r,f),o||(s=[ve(e,"click",lt(i[38])),ve(e,"keydown",i[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Ts(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,ot(s)}}}function Ts(i){let e,t=G("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=E("li"),n=He(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",lt(i[39])),ve(e,"keydown",i[25])],l=!0)},p:K,d(o){o&&S(e),l=!1,ot(r)}}}function Ps(i){let e,t=G("menu_pip")+"",n,l,r;return{c(){e=E("li"),n=He(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",lt(i[21])),ve(e,"keydown",i[26])],l=!0)},p:K,d(o){o&&S(e),l=!1,ot(r)}}}function np(i){let e,t=G("menu_video_rotate")+"",n,l,r;return{c(){e=E("li"),n=He(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",lt(i[17])),ve(e,"keydown",i[27])],l=!0)},p:K,d(o){o&&S(e),l=!1,ot(r)}}}function Es(i){let e,t=G("menu_report")+"",n,l,r;return{c(){e=E("li"),n=He(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",lt(i[18])),ve(e,"keydown",i[28])],l=!0)},p:K,d(o){o&&S(e),l=!1,ot(r)}}}function op(i){let e,t=i[1]&&Ss(i);return{c(){t&&t.c(),e=ht()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t?t.p(n,l):(t=Ss(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:K,o:K,d(n){n&&S(e),t&&t.d(n)}}}function lp(i,e,t){var Ae;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:d=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:g=void 0}=e,{returnFocus:w}=e,b=0,C=0;const k=St(),y=_n(),V=k.ui.contextMenuVisible,Q=k.ui.debugPanelVisible;D(i,Q,ue=>t(7,s=ue));const A=k.webApi.pictureInPictureApi,z=(Ae=k.webApi.pictureInPictureApi)==null?void 0:Ae.info.isActive$;D(i,z,ue=>t(6,o=ue));const se=k.state.chromecastState$;D(i,se,ue=>t(5,r=ue));const re=k.state.isLive$;D(i,re,ue=>t(4,l=ue));const Z=k.state.positionExact$;D(i,Z,ue=>t(41,n=ue));const Y=k.state.isInteractive,O=()=>{V.set(!1)},X=(ue,he)=>{if(!g||!h||!_)return;const le=g.getBoundingClientRect(),Le=h.getBoundingClientRect();t(2,b=ue-Le.left),t(3,C=he-Le.top),b+le.width>Le.width&&t(2,b=Le.width-le.width),C+le.height>Le.height&&t(3,C=Le.height-le.height),t(2,b=Math.max(b,0)),t(3,C=Math.max(C,0))},L=()=>{O(),k.actions.internal.videoRotate()},B=()=>{window.open(c,"_blank"),O(),k.actions.internal.pause()},te=()=>{const ue=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const he=new Blob([...ue],{type:"plain/text"}),le=window.URL.createObjectURL(he);V1(le,"vk_player_debug_info","txt")}else cr(k.actions.internal.getDebugTextData());O(),w==null||w()},P=()=>{Q.set(!0),O(),w==null||w()},ee=()=>$i(this,null,function*(){try{A!=null&&A.isActive()?yield A==null?void 0:A.remove():yield A==null?void 0:A.request()}finally{O(),w==null||w()}}),Pe=(ue=!1)=>{var he,le;if((he=k.callbacks)!=null&&he.onCopyVideoLink){const Le=(le=k.callbacks)==null?void 0:le.onCopyVideoLink(ue,n);Le&&cr(Le)}O()},ye=ue=>{Bc(ue,O)},Ie=ue=>{rn(ue,()=>Pe())},Ne=ue=>{rn(ue,()=>Pe(!0))},_e=ue=>{rn(ue,()=>ee())},Ce=ue=>{rn(ue,()=>L())},q=ue=>{rn(ue,()=>B())},$=ue=>{rn(ue,()=>te())},ce=ue=>{rn(ue,()=>P())};function ae(ue){lo.call(this,i,ue)}const We=()=>Pe(),Oe=()=>Pe(!0);function Ve(ue){Se[ue?"unshift":"push"](()=>{g=ue,t(0,g)})}return i.$$set=ue=>{"visible"in ue&&t(1,a=ue.visible),"supportLink"in ue&&t(31,c=ue.supportLink),"x"in ue&&t(32,f=ue.x),"y"in ue&&t(33,d=ue.y),"playerContainerRef"in ue&&t(34,h=ue.playerContainerRef),"controlsContainerRef"in ue&&t(35,_=ue.controlsContainerRef),"menuElementRef"in ue&&t(0,g=ue.menuElementRef),"returnFocus"in ue&&t(36,w=ue.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&1|i.$$.dirty[1]&30&&g&&h&&_&&X(f,d)},[g,a,b,C,l,r,o,s,k,y,Q,A,z,se,re,Z,Y,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,Ce,q,$,ce,c,f,d,h,_,w,ae,We,Oe,Ve]}class rp extends ke{constructor(e){super(),we(this,e,lp,op,be,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},tp,[-1,-1])}}class sp{constructor(e){this.value=e,this.next=null}}class Ql{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new sp(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 ap(i){Ke(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function up(i){let e,t;return{c(){e=E("div"),t=E("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){T(n,e,l),p(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&S(e),i[3](null)}}}const Xl=16,Jl=120,Is=60;function cp(i,e,t,n,l){l===0&&(l=1),i.fillStyle="#fff",i.fillRect(e,t,n,l)}function fp(i,e,t){let{values:n=[]}=e,l,r;const o=Jl/Is;hn(()=>{t(0,l.width=Jl,l),t(0,l.height=Xl,l),t(2,r=l.getContext("2d"))});function s(a){Se[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,Jl,Xl);let c=Is-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?Xl*(n[f]/a):0;cp(r,d,0,o,h),c--}}},[l,n,r,s]}class Cr extends ke{constructor(e){super(),we(this,e,fp,up,be,{values:1},ap)}}function dp(i){Ke(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 As(i){let e,t,n,l,r=i[0].id+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Video id",n=R(),l=E("span"),o=He(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&it(o,r)},d(s){s&&S(e)}}}function Ls(i){let e,t,n,l,r=i[0].provider+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Provider",n=R(),l=E("span"),o=He(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&it(o,r)},d(s){s&&S(e)}}}function Vs(i){let e,t,n,l,r=i[0].viewport+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Viewport",n=R(),l=E("span"),o=He(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&it(o,r)},d(s){s&&S(e)}}}function Ms(i){let e,t,n,l,r=i[0].videoSize+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Video size",n=R(),l=E("span"),o=He(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&it(o,r)},d(s){s&&S(e)}}}function Bs(i){let e,t,n,l,r=i[0].cdn+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="CDN host",n=R(),l=E("span"),o=He(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&it(o,r)},d(s){s&&S(e)}}}function Ns(i){let e,t,n,l,r=i[0].volume+"",o,s;return{c(){e=E("div"),t=E("div"),t.textContent="Volume",n=R(),l=E("span"),o=He(r),s=He(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&it(o,r)},d(a){a&&S(e)}}}function Rs(i){let e,t,n,l,r=i[0].buffer.toFixed(2)+"",o,s;return{c(){e=E("div"),t=E("div"),t.textContent="Buffer",n=R(),l=E("span"),o=He(r),s=He(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&it(o,r)},d(a){a&&S(e)}}}function Os(i){let e,t,n,l,r,o,s=i[0].speed.toFixed(2)+"",a,c,f;return l=new Cr({props:{values:i[5]}}),{c(){e=E("div"),t=E("div"),t.textContent="Network",n=R(),U(l.$$.fragment),r=R(),o=E("span"),a=He(s),c=He(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){T(d,e,h),p(e,t),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&32&&(_.values=d[5]),l.$set(_),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&it(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),H(l)}}}function Ds(i){let e,t,n,l,r,o,s=i[0].bitrate.toFixed(2)+"",a,c,f;return l=new Cr({props:{values:i[6]}}),{c(){e=E("div"),t=E("div"),t.textContent="V bitrate",n=R(),U(l.$$.fragment),r=R(),o=E("span"),a=He(s),c=He(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){T(d,e,h),p(e,t),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&64&&(_.values=d[6]),l.$set(_),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&it(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),H(l)}}}function mp(i){let e,t,n,l,r,o,s,a,c=i[0].version+"",f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,Ce=i[0].id&&As(i),q=i[0].provider&&Ls(i),$=i[0].viewport&&Vs(i),ce=i[0].videoSize&&Ms(i),ae=i[0].cdn&&Bs(i),We=i[0].volume&&Ns(i),Oe=i[0].buffer&&Rs(i),Ve=i[0].speed&&Os(i),Ae=i[0].bitrate&&Ds(i);return P=new Cr({props:{values:i[4]}}),{c(){e=E("div"),t=E("button"),t.textContent="[x]",n=R(),l=E("div"),r=E("div"),o=E("div"),o.textContent="Version",s=R(),a=E("span"),f=He(c),d=R(),Ce&&Ce.c(),h=R(),q&&q.c(),_=R(),$&&$.c(),g=R(),ce&&ce.c(),w=R(),ae&&ae.c(),b=R(),We&&We.c(),C=R(),Oe&&Oe.c(),k=R(),y=E("div"),V=E("div"),V.textContent="Dropped",Q=R(),A=E("span"),z=He(i[2]),se=He(" / "),re=He(i[1]),Z=He(" frames"),Y=R(),Ve&&Ve.c(),O=R(),Ae&&Ae.c(),X=R(),L=E("div"),B=E("div"),B.textContent="FPS",te=R(),U(P.$$.fragment),ee=R(),Pe=E("span"),ye=He(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),M(e,"container-mobile",i[7])},m(ue,he){T(ue,e,he),p(e,t),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),Ce&&Ce.m(l,null),p(l,h),q&&q.m(l,null),p(l,_),$&&$.m(l,null),p(l,g),ce&&ce.m(l,null),p(l,w),ae&&ae.m(l,null),p(l,b),We&&We.m(l,null),p(l,C),Oe&&Oe.m(l,null),p(l,k),p(l,y),p(y,V),p(y,Q),p(y,A),p(A,z),p(A,se),p(A,re),p(A,Z),p(l,Y),Ve&&Ve.m(l,null),p(l,O),Ae&&Ae.m(l,null),p(l,X),p(l,L),p(L,B),p(L,te),F(P,L,null),p(L,ee),p(L,Pe),p(Pe,ye),Ie=!0,Ne||(_e=ve(t,"click",lt(i[9])),Ne=!0)},p(ue,[he]){(!Ie||he&1)&&c!==(c=ue[0].version+"")&&it(f,c),ue[0].id?Ce?Ce.p(ue,he):(Ce=As(ue),Ce.c(),Ce.m(l,h)):Ce&&(Ce.d(1),Ce=null),ue[0].provider?q?q.p(ue,he):(q=Ls(ue),q.c(),q.m(l,_)):q&&(q.d(1),q=null),ue[0].viewport?$?$.p(ue,he):($=Vs(ue),$.c(),$.m(l,g)):$&&($.d(1),$=null),ue[0].videoSize?ce?ce.p(ue,he):(ce=Ms(ue),ce.c(),ce.m(l,w)):ce&&(ce.d(1),ce=null),ue[0].cdn?ae?ae.p(ue,he):(ae=Bs(ue),ae.c(),ae.m(l,b)):ae&&(ae.d(1),ae=null),ue[0].volume?We?We.p(ue,he):(We=Ns(ue),We.c(),We.m(l,C)):We&&(We.d(1),We=null),ue[0].buffer?Oe?Oe.p(ue,he):(Oe=Rs(ue),Oe.c(),Oe.m(l,k)):Oe&&(Oe.d(1),Oe=null),(!Ie||he&4)&&it(z,ue[2]),(!Ie||he&2)&&it(re,ue[1]),ue[0].speed?Ve?(Ve.p(ue,he),he&1&&m(Ve,1)):(Ve=Os(ue),Ve.c(),m(Ve,1),Ve.m(l,O)):Ve&&(de(),v(Ve,1,1,()=>{Ve=null}),me()),ue[0].bitrate?Ae?(Ae.p(ue,he),he&1&&m(Ae,1)):(Ae=Ds(ue),Ae.c(),m(Ae,1),Ae.m(l,X)):Ae&&(de(),v(Ae,1,1,()=>{Ae=null}),me());const le={};he&16&&(le.values=ue[4]),P.$set(le),(!Ie||he&8)&&it(ye,ue[3]),(!Ie||he&128)&&M(e,"container-mobile",ue[7])},i(ue){Ie||(m(Ve),m(Ae),m(P.$$.fragment,ue),Ie=!0)},o(ue){v(Ve),v(Ae),v(P.$$.fragment,ue),Ie=!1},d(ue){ue&&S(e),Ce&&Ce.d(),q&&q.d(),$&&$.d(),ce&&ce.d(),ae&&ae.d(),We&&We.d(),Oe&&Oe.d(),Ve&&Ve.d(),Ae&&Ae.d(),H(P),Ne=!1,_e()}}}function pp(i,e,t){let n;const l=St(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(i,o,y=>t(7,n=y));const s=()=>{ie.safeStorage.remove(lr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const _=new Ql(60),g=new Ql(60),w=new Ql(60);let b=[],C=[],k=[];return hn(()=>{ie.safeStorage.set(lr,"true"),l.actions.internal.startLogging(),c&&(t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{t(0,a=l.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){t(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const Q=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=Q-f),t(1,f=Q),_.push(h),a.speed&&g.push(a.speed),a.bitrate&&w.push(a.bitrate),t(4,b=_.getValuesFromBottom()),t(5,C=g.getValuesFromBottom()),t(6,k=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),V&&clearInterval(V)}}),[a,f,d,h,b,C,k,n,o,s]}class Nc extends ke{constructor(e){super(),we(this,e,pp,mp,be,{},dp)}}function hp(i){Ke(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 vp(i){let e,t,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(l,r){T(l,e,r),t||(n=ve(e,"click",lt(i[0])),t=!0)},p:K,i:K,o:K,d(l){l&&S(e),t=!1,n()}}}function gp(i){function e(t){lo.call(this,i,t)}return[e]}class bp extends ke{constructor(e){super(),we(this,e,gp,vp,be,{},hp)}}function _p(i){Ke(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 wp(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("canvas"),n=R(),l=N("svg"),r=N("g"),o=N("g"),s=N("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,t),i[2](t),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&S(e),i[2](null)}}}const kp=5e3;function yp(i,e,t){let{onTimerEnded:n=ie.noop}=e,l;hn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/kp;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Se[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"onTimerEnded"in o&&t(1,n=o.onTimerEnded)},[l,n,r]}class Cp extends ke{constructor(e){super(),we(this,e,yp,wp,be,{onTimerEnded:1},_p)}}function Sp(i){Ke(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 zs(i){let e,t;return e=new Cp({props:{onTimerEnded:i[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tp(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;s=new bp({}),s.$on("click",i[4]);let A=i[3]&&zs(i);return{c(){e=E("div"),t=R(),n=E("div"),l=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=R(),U(s.$$.fragment),a=R(),c=E("div"),f=E("div"),d=E("div"),h=E("div"),_=R(),A&&A.c(),w=R(),b=E("div"),C=E("div"),k=He(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",g=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(b,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(z,se){T(z,e,se),T(z,t,se),T(z,n,se),p(n,l),p(l,r),p(l,o),F(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,_),A&&A.m(d,null),p(c,w),p(c,b),p(b,C),p(C,k),y=!0,V||(Q=ve(c,"click",function(){Ln(i[2])&&i[2].apply(this,arguments)}),V=!0)},p(z,[se]){i=z,i[3]?A?(A.p(i,se),se&8&&m(A,1)):(A=zs(i),A.c(),m(A,1),A.m(d,null)):A&&(de(),v(A,1,1,()=>{A=null}),me()),(!y||se&2&&g!==(g=`background-image: url('${i[1]}')`))&&u(d,"style",g),(!y||se&1)&&it(k,i[0])},i(z){y||(m(s.$$.fragment,z),m(A),y=!0)},o(z){v(s.$$.fragment,z),v(A),y=!1},d(z){z&&(S(e),S(t),S(n)),H(s),A&&A.d(),V=!1,Q()}}}function Pp(i,e,t){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>t(3,o=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,l=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,l,r,o,s]}class Ep extends ke{constructor(e){super(),we(this,e,Pp,Tp,be,{title:0,thumb:1,playNextVideo:2},Sp)}}const Rc=(i,e)=>Math.min(+(i+e).toFixed(2),1),Oc=(i,e)=>Math.max(+(i-e).toFixed(2),0),Dc=(i,e,t)=>{const n=Rc(e,t);e<1&&i.actions.internal.setVolume(n)},zc=(i,e,t)=>{const n=Oc(e,t);e>0&&i.actions.internal.setVolume(n)};function Ip(i){Ke(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Ap(i){let e,t,n,l;const r=i[22].default,o=Un(r,i,i[21],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player"))},m(s,a){T(s,e,a),o&&o.m(e,null),i[23](e),t=!0,n||(l=[ve(e,"keyup",i[13]),ve(e,"keydown",i[12])],n=!0)},p(s,a){o&&o.p&&(!t||a[0]&2097152)&&jn(o,r,s,s[21],t?qn(r,s[21],a,null):Wn(s[21]),null)},i(s){t||(m(o,s),t=!0)},o(s){v(o,s),t=!1},d(s){s&&S(e),o&&o.d(s),i[23](null),n=!1,ot(l)}}}function Lp(i,e,t){let n,l,r,o,s,a,c,f,d,h,_,{$$slots:g={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:Q}=e;const A=St(),z=_n(),se=A.getLogger().createComponentLog("KeyboardControls component"),re=A.state.playbackState$;D(i,re,ae=>t(27,l=ae));const Z=A.ads.playbackState;D(i,Z,ae=>t(26,n=ae));const Y=A.state.positionExact$;D(i,Y,ae=>t(33,f=ae));const O=A.state.duration$;D(i,O,ae=>t(32,c=ae));const X=A.state.volume$;D(i,X,ae=>t(36,_=ae));const L=A.ui.controls.disabledControls$;D(i,L,ae=>t(31,a=ae));const B=A.state.muted$;D(i,B,ae=>t(29,o=ae));const te=A.state.currentSubtitle$;D(i,te,ae=>t(28,r=ae));const P=A.state.currentPlaybackRate$;D(i,P,ae=>t(34,d=ae));const ee=A.state.availablePlaybackRates$;D(i,ee,ae=>t(35,h=ae));const Pe=A.state.isEnded$;D(i,Pe,ae=>t(30,s=ae));let ye=0,Ie=!0,Ne;const _e=()=>Ne==null?void 0:Ne.focus(),Ce=ae=>(ae!==Ie&&(Ie=ae,ye=0),ye+=1,(z.controls.seekStepKeyboard+z.controls.seekStepKeyboard*ye)/1e3),q=ae=>{var Ge;const We=ae.target,Oe=(Ge=We==null?void 0:We.getAttribute("role"))==null?void 0:Ge.includes("menuitem"),Ve=We.classList.contains("btn"),Ae=ae.code;if(Ve&&Ae===Ee.Space)return;const ue=V0.has(Ae);if(Oe&&ue)return;const he=!L0.has(Ae);if(ae.ctrlKey&&he||ae.altKey&&he||ae.metaKey)return;const le=Oe&&Ae===Ee.Escape;M0.has(Ae)||le||C();const Le=l===tt.PlaybackState.PLAYING||l===tt.PlaybackState.PAUSED,pe=b&&(n===ti.PAUSED||n===ti.PLAYING),Te=!pe&&!a.has(dt.TIMELINE);if(Le||pe)switch(se({message:`key down, code: ${Ae}`}),Ae){case Ee.KeyJ:case Ee.ArrowLeft:{if(!Te)break;if(ae.ctrlKey||ae.altKey){const Re=A.actions.internal.getPrevEpisode();A.actions.internal.seekToPrevEpisode(Re),Re&&y({type:Qe.EPISODE_PREV,text:Re.text}),ae.preventDefault()}else{const Re=ae.shiftKey?Ce(!1):z.controls.seekStepKeyboard/1e3,Je=Math.max(f-Re,0);f>0&&(A.actions.internal.seekTime(Je,Ct.SeekAction.DOUBLE_TAP),y({type:Qe.BACKWARD_SEEK,text:Re.toString()}),ae.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!Te)break;if(ae.ctrlKey||ae.altKey){const Re=A.actions.internal.getNextEpisode();A.actions.internal.seekToNextEpisode(Re),Re&&y({type:Qe.EPISODE_NEXT,text:Re.text}),ae.preventDefault()}else{const Re=ae.shiftKey?Ce(!0):z.controls.seekStepKeyboard/1e3,Je=Math.min(f+Re,c);Math.round(f)<Math.round(c)&&(A.actions.internal.seekTime(Je,Ct.SeekAction.DOUBLE_TAP),y({type:Qe.FORWARD_SEEK,text:Re.toString()}),ae.preventDefault())}break}case Ee.ArrowUp:{const Re=_,Je=z.controls.volumeStepKeyboard,xe=Re<=1;if(Dc(A,Re,Je),xe){const ut=Math.round(Rc(Re,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:ut}})}ae.preventDefault();break}case Ee.ArrowDown:{const Re=_,Je=z.controls.volumeStepKeyboard,xe=Re>=0;if(zc(A,Re,Je),xe){const ut=Math.round(Oc(Re,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:ut}})}ae.preventDefault();break}case Ee.Comma:{if(ae.shiftKey){A.actions.internal.decrementPlaybackRate();const Re=h.find(Je=>Je.value===d);y({type:Qe.RATE_DOWN,text:Re==null?void 0:Re.displayValue}),ae.preventDefault()}else{if(pe||l!==tt.PlaybackState.PAUSED)break;const Re=Math.max(f-z.controls.seekStepFrame/1e3,0);f>0&&(y({type:Qe.BACKWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Re,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ee.Period:{if(ae.shiftKey){A.actions.internal.incrementPlaybackRate();const Re=h.find(Je=>Je.value===d);y({type:Qe.RATE_UP,text:Re==null?void 0:Re.displayValue}),ae.preventDefault()}else{if(pe||l!==tt.PlaybackState.PAUSED)break;const Re=Math.min(f+z.controls.seekStepFrame/1e3,c);f<c&&(y({type:Qe.FORWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Re,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(dt.PLAY_BUTTON))if(Q)Q();else{A.actions.internal.togglePlay();let Re=Qe.PLAY;l===tt.PlaybackState.PAUSED?Re=Qe.PAUSE:s&&(Re=Qe.REPLAY),y({type:Re})}ae.preventDefault();break;case Ee.KeyM:{y({type:o?Qe.VOLUME:Qe.MUTE}),A.actions.internal.toggleMuted(),ae.preventDefault();break}case Ee.KeyF:k(),ae.preventDefault();break;case Ee.KeyC:A.actions.internal.toggleSubtitle(),r.value!=="off"?y({type:Qe.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):y({type:Qe.SUBTITLES_OFF}),ae.preventDefault();break;case Ee.KeyI:A.actions.internal.togglePictureInPicture(),ae.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:y(),A.actions.internal.seekToPercent(.1,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:y(),A.actions.internal.seekToPercent(.2,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:y(),A.actions.internal.seekToPercent(.3,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:y(),A.actions.internal.seekToPercent(.4,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:y(),A.actions.internal.seekToPercent(.5,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:y(),A.actions.internal.seekToPercent(.6,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:y(),A.actions.internal.seekToPercent(.7,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:y(),A.actions.internal.seekToPercent(.8,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:y(),A.actions.internal.seekToPercent(.9,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:y(),A.actions.internal.seekToPercent(0,Ct.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Slash:{ae.shiftKey&&z.features.hotKeyMapModal&&(V(),ae.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:ae.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:ie.checkNever(Ae);break}},$=ae=>{const We=ae.code;if(ae.ctrlKey||ae.altKey||ae.metaKey)return;const Oe=l===tt.PlaybackState.PLAYING||l===tt.PlaybackState.PAUSED,Ve=b&&(n===ti.PAUSED||n===ti.PLAYING);if(Oe||Ve)switch(We){case Ee.ShiftLeft:case Ee.ShiftRight:ye=0;break}};function ce(ae){Se[ae?"unshift":"push"](()=>{Ne=ae,t(0,Ne)})}return i.$$set=ae=>{"isAds"in ae&&t(14,b=ae.isAds),"hideContextMenu"in ae&&t(15,C=ae.hideContextMenu),"toggleFullscreen"in ae&&t(16,k=ae.toggleFullscreen),"showHotKeyHelpers"in ae&&t(17,y=ae.showHotKeyHelpers),"showKeyMap"in ae&&t(18,V=ae.showKeyMap),"fakePlayButtonHandler"in ae&&t(19,Q=ae.fakePlayButtonHandler),"$$scope"in ae&&t(21,w=ae.$$scope)},[Ne,re,Z,Y,O,X,L,B,te,P,ee,Pe,q,$,b,C,k,y,V,Q,_e,w,g,ce]}class Vp extends ke{constructor(e){super(),we(this,e,Lp,Ap,be,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},Ip,[-1,-1])}get focus(){return this.$$.ctx[20]}}function Mp(i){Ke(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 Bp(i){let e;return{c(){e=E("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){T(t,e,n)},p:K,i:K,o:K,d(t){t&&S(e)}}}class Fc extends ke{constructor(e){super(),we(this,e,null,Bp,be,{},Mp)}}function Np(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(g,w){T(g,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p:K,i:K,o:K,d(g){g&&S(e)}}}class Rp extends ke{constructor(e){super(),we(this,e,null,Np,be,{})}}function Op(i){Ke(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 Dp(i){let e,t,n,l,r,o,s,a,c,f,d,h;const _=i[14].default,g=Un(_,i,i[13],null);return{c(){var w,b,C,k,y,V;e=E("button"),g&&g.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=l=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(b=i[5])!=null?b:null),u(e,"aria-label",o=(C=i[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=i[7])!=null?k:null),u(e,"aria-expanded",a=(y=i[8])!=null?y:null),u(e,"data-testid",c=(V=i[4])!=null?V:null),u(e,"tabindex",i[9])},m(w,b){T(w,e,b),g&&g.m(e,null),i[16](e),f=!0,d||(h=[ve(e,"pointerdown",lt(ii(i[15]))),ve(e,"click",lt(ii(function(){Ln(i[10]===ie.noop?null:i[10])&&(i[10]===ie.noop?null:i[10]).apply(this,arguments)}))),ve(e,"focus",ii(function(){Ln(i[11]===ie.noop?null:i[11])&&(i[11]===ie.noop?null:i[11]).apply(this,arguments)})),ve(e,"blur",ii(function(){Ln(i[12]===ie.noop?null:i[12])&&(i[12]===ie.noop?null:i[12]).apply(this,arguments)}))],d=!0)},p(w,[b]){var C,k,y,V,Q,A;i=w,g&&g.p&&(!f||b&8192)&&jn(g,_,i,i[13],f?qn(_,i[13],b,null):Wn(i[13]),null),(!f||b&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||b&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||b&8&&l!==(l=(C=i[3])!=null?C:null))&&(e.disabled=l),(!f||b&32&&r!==(r=(k=i[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||b&64&&o!==(o=(y=i[6])!=null?y:null))&&u(e,"aria-label",o),(!f||b&128&&s!==(s=(V=i[7])!=null?V:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(Q=i[8])!=null?Q:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(A=i[4])!=null?A:null))&&u(e,"data-testid",c),(!f||b&512)&&u(e,"tabindex",i[9])},i(w){f||(m(g,w),f=!0)},o(w){v(g,w),f=!1},d(w){w&&S(e),g&&g.d(w),i[16](null),d=!1,ot(h)}}}function zp(i,e,t){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:g=0}=e,{click:w=ie.noop}=e,{focus:b=ie.noop}=e,{blur:C=ie.noop}=e;function k(V){lo.call(this,i,V)}function y(V){Se[V?"unshift":"push"](()=>{d=V,t(0,d)})}return i.$$set=V=>{"className"in V&&t(1,r=V.className),"style"in V&&t(2,o=V.style),"disabled"in V&&t(3,s=V.disabled),"testId"in V&&t(4,a=V.testId),"ariaHidden"in V&&t(5,c=V.ariaHidden),"ariaLabel"in V&&t(6,f=V.ariaLabel),"ref"in V&&t(0,d=V.ref),"ariaKeyShortCut"in V&&t(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&t(8,_=V.ariaExpanded),"tabIndex"in V&&t(9,g=V.tabIndex),"click"in V&&t(10,w=V.click),"focus"in V&&t(11,b=V.focus),"blur"in V&&t(12,C=V.blur),"$$scope"in V&&t(13,l=V.$$scope)},[d,r,o,s,a,c,f,h,_,g,w,b,C,l,n,k,y]}class Pi extends ke{constructor(e){super(),we(this,e,zp,Dp,be,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},Op)}}function Fp(i){Ke(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 Fs(i){let e,t,n,l,r,o=i[2]&&Hs(i);return{c(){e=E("div"),t=E("h3"),n=He(i[3]),l=R(),o&&o.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&it(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=Hs(s),o.c(),m(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me())},i(s){r||(m(o),r=!0)},o(s){v(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function Hs(i){let e,t;return e=new Pi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[Hp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Hp(i){let e,t;return e=new Rp({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Up(i){let e,t,n,l,r,o,s=i[1]&&Fs(i);const a=i[4].default,c=Un(a,i,i[5],null);return{c(){e=E("div"),t=E("div"),s&&s.c(),n=R(),l=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){T(f,e,d),p(e,t),s&&s.m(t,null),p(t,n),p(t,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=Fs(f),s.c(),m(s,1),s.m(t,n)):s&&(de(),v(s,1,1,()=>{s=null}),me()),c&&c.p&&(!o||d&32)&&jn(c,a,f,f[5],o?qn(a,f[5],d,null):Wn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){v(s),v(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function qp(i,e,t){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,o=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,l=c.$$scope)},[r,o,s,a,n,l]}class jp extends ke{constructor(e){super(),we(this,e,qp,Up,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},Fp)}}const Wp=new Set(["BR"]),Us=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;Wp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function Zp(i){Ke(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 qs(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function js(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Ws(i){let e,t,n=Us(i[9])+"",l,r,o=i[10]+"",s,a;return{c(){e=E("li"),t=E("span"),l=R(),r=E("span"),s=He(o),a=R(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),p(e,t),t.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Us(c[9])+"")&&(t.innerHTML=n),f&1&&o!==(o=c[10]+"")&&it(s,o)},d(c){c&&S(e)}}}function Zs(i){let e,t,n=i[5]+"",l,r,o,s,a=Qt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ws(js(i,a,f));return{c(){e=E("div"),t=E("h5"),l=He(n),r=R(),o=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=R(),u(t,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){T(f,e,d),p(e,t),p(t,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&it(l,n),d&1){a=Qt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=js(f,a,h);c[h]?c[h].p(_,d):(c[h]=Ws(_),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),Vn(c,f)}}}function Kp(i){let e,t=Qt(i[0].groups),n=[];for(let l=0;l<t.length;l+=1)n[l]=Zs(qs(i,t,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){t=Qt(l[0].groups);let o;for(o=0;o<t.length;o+=1){const s=qs(l,t,o);n[o]?n[o].p(s,r):(n[o]=Zs(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&S(e),Vn(n,l)}}}function Gp(i){let e,t;return e=new jp({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Kp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Yp(i,e,t){let n;const l=St(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(i,r,a=>t(0,n=a)),[n,r,()=>{o.set(!1)}]}class Qp extends ke{constructor(e){super(),we(this,e,Yp,Gp,be,{},Zp)}}function Xp(i){Ke(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 Jp(i){let e,t;const n=i[1].default,l=Un(n,i,i[0],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){T(r,e,o),l&&l.m(e,null),t=!0},p(r,[o]){l&&l.p&&(!t||o&1)&&jn(l,n,r,r[0],t?qn(n,r[0],o,null):Wn(r[0]),null)},i(r){t||(m(l,r),t=!0)},o(r){v(l,r),t=!1},d(r){r&&S(e),l&&l.d(r)}}}function xp(i,e,t){let{$$slots:n={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&t(0,l=r.$$scope)},[l,n]}class $p extends ke{constructor(e){super(),we(this,e,xp,Jp,be,{},Xp)}}function e3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class t3 extends ke{constructor(e){super(),we(this,e,null,e3,be,{})}}function i3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class n3 extends ke{constructor(e){super(),we(this,e,null,i3,be,{})}}function o3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class l3 extends ke{constructor(e){super(),we(this,e,null,o3,be,{})}}function r3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Hc extends ke{constructor(e){super(),we(this,e,null,r3,be,{})}}function s3(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Uc extends ke{constructor(e){super(),we(this,e,null,s3,be,{})}}const Lo=i=>{switch(i){case tt.VideoQuality.Q_720P:return l3;case tt.VideoQuality.Q_1080P:return Hc;case tt.VideoQuality.Q_1440P:return Uc;case tt.VideoQuality.Q_2160P:return t3;case tt.VideoQuality.Q_4320P:return n3}};function a3(i){Ke(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 u3(i){let e,t,n,l,r,o,s=i[1]&&Ks(i);return{c(){e=E("div"),s&&s.c(),t=R(),n=N("svg"),l=N("path"),r=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),M(r,"hidden",!!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"),M(e,"triple",i[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=Ks(a),s.c(),m(s,1),s.m(e,t)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!o||c&2)&&M(r,"hidden",!!a[1]),(!o||c&4)&&M(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){v(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function c3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}function Ks(i){let e,t;return e=new $p({props:{$$slots:{default:[f3]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f3(i){let e,t,n;var l=i[1];function r(o){return{}}return l&&(e=On(l,r())),{c(){e&&U(e.$$.fragment),t=ht()},m(o,s){e&&F(e,o,s),T(o,t,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){de();const a=e;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(e=On(l,r()),U(e.$$.fragment),m(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&v(e.$$.fragment,o),n=!1},d(o){o&&S(t),e&&H(e,o)}}}function d3(i){let e,t,n,l;const r=[c3,u3],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function m3(i,e,t){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return i.$$set=s=>{"isMobile"in s&&t(0,l=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Lo(r)),i.$$.dirty&2&&t(2,o=!!n&&[Hc,Uc].includes(n))},[l,n,o,r]}class qc extends ke{constructor(e){super(),we(this,e,m3,d3,be,{isMobile:0,currentQuality:3},a3)}}function p3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class jc extends ke{constructor(e){super(),we(this,e,null,p3,be,{})}}function h3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class v3 extends ke{constructor(e){super(),we(this,e,null,h3,be,{})}}function g3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class b3 extends ke{constructor(e){super(),we(this,e,null,g3,be,{})}}function _3(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class w3 extends ke{constructor(e){super(),we(this,e,null,_3,be,{})}}function k3(i){Ke(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function y3(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),M(e,"reverted",i[2])},m(l,r){T(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&S(e)}}}function C3(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),M(e,"reverted",i[2])},m(l,r){T(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&S(e)}}}function S3(i){let e;function t(r,o){return r[1]?C3:y3}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function T3(i,e,t){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,l=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,o=["right","down"].includes(n)))},[l,r,o,n]}class xn extends ke{constructor(e){super(),we(this,e,T3,S3,be,{direction:3,color:0},k3)}}function P3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class E3 extends ke{constructor(e){super(),we(this,e,null,P3,be,{})}}function I3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Go extends ke{constructor(e){super(),we(this,e,null,I3,be,{})}}function A3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class L3 extends ke{constructor(e){super(),we(this,e,null,A3,be,{})}}function V3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class M3 extends ke{constructor(e){super(),we(this,e,null,V3,be,{})}}function B3(i){Ke(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Gs(i,e,t){const n=i.slice();return n[143]=e[t],n}function Ys(i,e,t){const n=i.slice();return n[146]=e[t],n}function Qs(i,e,t){const n=i.slice();return n[149]=e[t],n}function Xs(i){let e,t,n,l,r,o,s,a,c,f,d,h=i[8]&&Js(i),_=i[29]&&xs(i),g=i[28]&&ea(i),w=i[27]&&ta(i),b=i[26]&&ia(i),C=i[25]&&na(i),k=i[8]&&oa(i);return{c(){e=E("div"),h&&h.c(),t=R(),n=E("ul"),_&&_.c(),l=R(),g&&g.c(),r=R(),w&&w.c(),o=R(),b&&b.c(),s=R(),C&&C.c(),a=R(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),u(n,"style",i[21]),M(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8]),M(e,"hidden",!i[15])},m(y,V){T(y,e,V),h&&h.m(e,null),p(e,t),p(e,n),_&&_.m(n,null),p(n,l),g&&g.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),i[117](n),c=!0,f||(d=[ve(e,"keydown",i[80]),ve(e,"mouseenter",i[74]),ve(e,"mouseleave",i[75])],f=!0)},p(y,V){y[8]?h?h.p(y,V):(h=Js(y),h.c(),h.m(e,t)):h&&(h.d(1),h=null),y[29]?_?(_.p(y,V),V[0]&536870912&&m(_,1)):(_=xs(y),_.c(),m(_,1),_.m(n,l)):_&&(de(),v(_,1,1,()=>{_=null}),me()),y[28]?g?(g.p(y,V),V[0]&268435456&&m(g,1)):(g=ea(y),g.c(),m(g,1),g.m(n,r)):g&&(de(),v(g,1,1,()=>{g=null}),me()),y[27]?w?(w.p(y,V),V[0]&134217728&&m(w,1)):(w=ta(y),w.c(),m(w,1),w.m(n,o)):w&&(de(),v(w,1,1,()=>{w=null}),me()),y[26]?b?(b.p(y,V),V[0]&67108864&&m(b,1)):(b=ia(y),b.c(),m(b,1),b.m(n,s)):b&&(de(),v(b,1,1,()=>{b=null}),me()),y[25]?C?(C.p(y,V),V[0]&33554432&&m(C,1)):(C=na(y),C.c(),m(C,1),C.m(n,a)):C&&(de(),v(C,1,1,()=>{C=null}),me()),y[8]?k?(k.p(y,V),V[0]&256&&m(k,1)):(k=oa(y),k.c(),m(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!c||V[0]&2097152)&&u(n,"style",y[21]),(!c||V[0]&256)&&M(n,"items-mobile",y[8]),(!c||V[0]&256)&&M(e,"menu-desktop",!y[8]),(!c||V[0]&256)&&M(e,"menu-mobile",y[8]),(!c||V[0]&32768)&&M(e,"hidden",!y[15])},i(y){c||(m(_),m(g),m(w),m(b),m(C),m(k),c=!0)},o(y){v(_),v(g),v(w),v(b),v(C),v(k),c=!1},d(y){y&&S(e),h&&h.d(),_&&_.d(),g&&g.d(),w&&w.d(),b&&b.d(),C&&C.d(),k&&k.d(),i[117](null),f=!1,ot(d)}}}function Js(i){let e,t,n,l,r,o,s,a;return{c(){e=E("div"),t=E("div"),t.textContent=`${G("submenu_settings")}`,n=R(),l=E("div"),r=R(),o=E("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",i[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,t),p(e,n),p(e,l),T(c,r,f),T(c,o,f),s||(a=ve(l,"click",lt(i[60])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function xs(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;n=new qc({});let g=i[37]&&!i[8]&&$s(i);return{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_quality")}`,o=R(),s=E("div"),a=He(i[20]),c=R(),g&&g.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:i[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(w,b){T(w,e,b),p(e,t),F(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),g&&g.m(s,null),i[113](e),d=!0,h||(_=[ve(e,"click",lt(i[61])),ve(e,"keydown",i[81])],h=!0)},p(w,b){(!d||b[0]&1048576)&&it(a,w[20]),w[37]&&!w[8]?g?(g.p(w,b),b[0]&256|b[1]&64&&m(g,1)):(g=$s(w),g.c(),m(g,1),g.m(s,null)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!d||b[1]&1&&f!==(f=G("aria_label_menu_quality",{actual:w[31]})))&&u(e,"aria-label",f),(!d||b[0]&256)&&M(e,"item-mobile",w[8])},i(w){d||(m(n.$$.fragment,w),m(g),d=!0)},o(w){v(n.$$.fragment,w),v(g),d=!1},d(w){w&&S(e),H(n),g&&g.d(),i[113](null),h=!1,ot(_)}}}function $s(i){let e,t,n;var l=i[37];function r(o){return{}}return l&&(t=On(l,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){T(o,e,s),t&&F(t,e,null),n=!0},p(o,s){if(s[1]&64&&l!==(l=o[37])){if(t){de();const a=t;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(t=On(l,r()),U(t.$$.fragment),m(t.$$.fragment,1),F(t,e,null)):t=null}},i(o){n||(t&&m(t.$$.fragment,o),n=!0)},o(o){t&&v(t.$$.fragment,o),n=!1},d(o){o&&S(e),t&&H(t)}}}function ea(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;return n=new w3({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_playback_rate")}`,o=R(),s=E("div"),a=He(i[13]),c=He("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:i[32]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(g,w){T(g,e,w),p(e,t),F(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),i[114](e),d=!0,h||(_=[ve(e,"click",lt(ii(i[65]))),ve(e,"keydown",i[84])],h=!0)},p(g,w){(!d||w[0]&8192)&&it(a,g[13]),(!d||w[1]&2&&f!==(f=G("aria_label_menu_rate",{actual:g[32]})))&&u(e,"aria-label",f),(!d||w[0]&256)&&M(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&S(e),H(n),i[114](null),h=!1,ot(_)}}}function ta(i){let e,t,n,l,r,o,s,a=i[38].displayValue+"",c,f,d,h,_;return n=new jc({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=R(),s=E("div"),c=He(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:i[38].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(g,w){T(g,e,w),p(e,t),F(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),i[115](e),d=!0,h||(_=[ve(e,"click",lt(i[67])),ve(e,"keydown",i[87])],h=!0)},p(g,w){(!d||w[1]&128)&&a!==(a=g[38].displayValue+"")&&it(c,a),(!d||w[1]&128&&f!==(f=G("aria_label_menu_subtitle",{actual:g[38].displayValue})))&&u(e,"aria-label",f),(!d||w[0]&256)&&M(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&S(e),H(n),i[115](null),h=!1,ot(_)}}}function ia(i){let e,t,n,l,r,o,s,a,c,f,d,h;return n=new b3({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_traffic_saving")}`,o=R(),s=E("div"),a=He(i[30]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:i[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(_,g){T(_,e,g),p(e,t),F(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),i[116](e),f=!0,d||(h=[ve(e,"click",lt(i[62])),ve(e,"keydown",i[90])],d=!0)},p(_,g){(!f||g[0]&1073741824)&&it(a,_[30]),(!f||g[0]&1073741824&&c!==(c=G("aria_label_menu_traffic_saving",{actual:_[30]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&M(e,"item-mobile",_[8])},i(_){f||(m(n.$$.fragment,_),f=!0)},o(_){v(n.$$.fragment,_),f=!1},d(_){_&&S(e),H(n),i[116](null),d=!1,ot(h)}}}function na(i){let e,t,n,l,r,o,s,a;return n=new v3({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),M(e,"item-mobile",i[8])},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",lt(i[70])),ve(e,"keydown",i[93])],s=!0)},p(c,f){(!o||f[0]&256)&&M(e,"item-mobile",c[8])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,ot(a)}}}function oa(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C=i[40].showSupport&&N3(i);return l=new L3({}),f=new M3({}),{c(){C&&C.c(),e=R(),t=E("li"),n=E("div"),U(l.$$.fragment),r=R(),o=E("div"),o.textContent=`${G("menu_copy_debug")}`,s=R(),a=E("li"),c=E("div"),U(f.$$.fragment),d=R(),h=E("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",G("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=i[39]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(k,y){C&&C.m(k,y),T(k,e,y),T(k,t,y),p(t,n),F(l,n,null),p(t,r),p(t,o),T(k,s,y),T(k,a,y),p(a,c),F(f,c,null),p(a,d),p(a,h),g=!0,w||(b=[ve(t,"click",lt(i[72])),ve(t,"keydown",i[95]),ve(a,"click",lt(i[73])),ve(a,"keydown",i[96])],w=!0)},p(k,y){k[40].showSupport&&C.p(k,y),(!g||y[1]&256&&_!==(_=k[39]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){g||(m(C),m(l.$$.fragment,k),m(f.$$.fragment,k),g=!0)},o(k){v(C),v(l.$$.fragment,k),v(f.$$.fragment,k),g=!1},d(k){k&&(S(e),S(t),S(s),S(a)),C&&C.d(k),H(l),H(f),w=!1,ot(b)}}}function N3(i){let e,t,n,l,r,o,s,a;return n=new E3({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",lt(i[71])),ve(e,"keydown",i[94])],s=!0)},p:K,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,ot(a)}}}function la(i){let e,t,n,l,r,o,s,a,c,f,d,h;n=new xn({props:{direction:"left"}});let _=Qt(i[12]),g=[];for(let b=0;b<_.length;b+=1)g[b]=aa(Qs(i,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_quality")}`,o=R(),s=E("div"),a=R(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[22]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,l),p(t,r),i[118](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);i[121](c),f=!0,d||(h=[ve(t,"click",lt(i[69])),ve(c,"keydown",i[82])],d=!0)},p(b,C){if((!f||C[0]&256)&&M(t,"item-mobile",b[8]),C[0]&4352|C[2]&2097154){_=Qt(b[12]);let k;for(k=0;k<_.length;k+=1){const y=Qs(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=aa(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&4194304)&&u(c,"style",b[22]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),i[118](null),Vn(g,b),i[121](null),d=!1,ot(h)}}}function ra(i){let e,t,n;return t=new Go({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function sa(i){let e,t,n;var l=Lo(i[149].value);function r(o){return{}}return l&&(t=On(l,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){T(o,e,s),t&&F(t,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Lo(o[149].value))){if(t){de();const a=t;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(t=On(l,r()),U(t.$$.fragment),m(t.$$.fragment,1),F(t,e,null)):t=null}},i(o){n||(t&&m(t.$$.fragment,o),n=!0)},o(o){t&&v(t.$$.fragment,o),n=!1},d(o){o&&S(e),t&&H(t)}}}function aa(i){let e,t,n,l=i[149].displayValue+"",r,o,s=!i[8]&&Lo(i[149].value),a,c,f,d,h,_,g=i[149].selected&&ra(),w=s&&sa(i);function b(){return i[119](i[149])}function C(...k){return i[120](i[149],...k)}return{c(){e=E("li"),g&&g.c(),t=R(),n=E("div"),r=He(l),o=R(),w&&w.c(),a=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[149].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=i[149].displayValue),M(e,"item-mobile",i[8])},m(k,y){T(k,e,y),g&&g.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),d=!0,h||(_=[ve(e,"click",lt(b)),ve(e,"keydown",C)],h=!0)},p(k,y){i=k,i[149].selected?g?y[0]&4096&&m(g,1):(g=ra(),g.c(),m(g,1),g.m(e,t)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!d||y[0]&4096)&&l!==(l=i[149].displayValue+"")&&it(r,l),(!d||y[0]&256)&&M(n,"quality-title-mobile",i[8]),y[0]&4352&&(s=!i[8]&&Lo(i[149].value)),s?w?(w.p(i,y),y[0]&4352&&m(w,1)):(w=sa(i),w.c(),m(w,1),w.m(e,a)):w&&(de(),v(w,1,1,()=>{w=null}),me()),(!d||y[0]&4096&&c!==(c=i[149].value))&&u(e,"data-value",c),(!d||y[0]&4096&&f!==(f=i[149].displayValue))&&u(e,"aria-label",f),(!d||y[0]&256)&&M(e,"item-mobile",i[8])},i(k){d||(m(g),m(w),d=!0)},o(k){v(g),v(w),d=!1},d(k){k&&S(e),g&&g.d(),w&&w.d(),h=!1,ot(_)}}}function ua(i){let e,t,n,l,r,o,s,a,c,f,d,h;n=new xn({props:{direction:"left"}});let _=Qt(i[11]),g=[];for(let b=0;b<_.length;b+=1)g[b]=fa(Ys(i,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_playback_rate")}`,o=R(),s=E("div"),a=R(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,l),p(t,r),i[122](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);i[125](c),f=!0,d||(h=[ve(t,"click",lt(i[69])),ve(c,"keydown",i[85])],d=!0)},p(b,C){if((!f||C[0]&256)&&M(t,"item-mobile",b[8]),C[0]&2304|C[2]&16777232){_=Qt(b[11]);let k;for(k=0;k<_.length;k+=1){const y=Ys(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=fa(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&8388608)&&u(c,"style",b[23]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),i[122](null),Vn(g,b),i[125](null),d=!1,ot(h)}}}function ca(i){let e,t,n;return t=new Go({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function fa(i){let e,t,n,l=i[146].displayValue+"",r,o,s,a,c,f,d,h=i[146].selected&&ca();function _(){return i[123](i[146])}function g(...w){return i[124](i[146],...w)}return{c(){e=E("li"),h&&h.c(),t=R(),n=E("div"),r=He(l),o=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[146].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[146].displayValue),M(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[ve(e,"click",lt(_)),ve(e,"keydown",g)],f=!0)},p(w,b){i=w,i[146].selected?h?b[0]&2048&&m(h,1):(h=ca(),h.c(),m(h,1),h.m(e,t)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&2048)&&l!==(l=i[146].displayValue+"")&&it(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||b[0]&2048&&s!==(s=i[146].value))&&u(e,"data-value",s),(!c||b[0]&2048&&a!==(a=i[146].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,ot(d)}}}function da(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se;n=new xn({props:{direction:"left"}});let re=!i[9]&&ma(),Z=i[9]&&pa();return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_traffic_saving")}`,o=R(),s=E("div"),a=R(),c=E("ul"),f=E("li"),re&&re.c(),d=R(),h=E("div"),h.textContent=`${G("traffic_saving_disable")}`,_=R(),g=E("li"),Z&&Z.c(),w=R(),b=E("div"),b.textContent=`${G("traffic_saving_enable")}`,C=R(),k=E("div"),y=R(),V=E("div"),Q=E("span"),Q.textContent=`${G("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",i[8]),u(b,"class","v-5r0p3"),M(b,"quality-title-mobile",i[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),M(g,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[24]),M(c,"items-mobile",i[8]),u(k,"class","menu-divider v-5r0p3"),u(Q,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),M(V,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(Y,O){T(Y,e,O),p(e,t),F(n,t,null),p(t,l),p(t,r),i[126](t),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),re&&re.m(f,null),p(f,d),p(f,h),p(c,_),p(c,g),Z&&Z.m(g,null),p(g,w),p(g,b),i[131](c),p(e,C),p(e,k),p(e,y),p(e,V),p(V,Q),A=!0,z||(se=[ve(t,"click",lt(i[69])),ve(f,"click",lt(i[127])),ve(f,"keydown",i[128]),ve(g,"click",lt(i[129])),ve(g,"keydown",i[130]),ve(c,"keydown",i[91])],z=!0)},p(Y,O){(!A||O[0]&256)&&M(t,"item-mobile",Y[8]),Y[9]?re&&(de(),v(re,1,1,()=>{re=null}),me()):re?O[0]&512&&m(re,1):(re=ma(),re.c(),m(re,1),re.m(f,d)),(!A||O[0]&256)&&M(h,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&M(f,"item-mobile",Y[8]),Y[9]?Z?O[0]&512&&m(Z,1):(Z=pa(),Z.c(),m(Z,1),Z.m(g,w)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),(!A||O[0]&256)&&M(b,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&M(g,"item-mobile",Y[8]),(!A||O[0]&16777216)&&u(c,"style",Y[24]),(!A||O[0]&256)&&M(c,"items-mobile",Y[8]),(!A||O[0]&256)&&M(V,"item-mobile",Y[8]),(!A||O[0]&256)&&M(e,"menu-desktop",!Y[8]),(!A||O[0]&256)&&M(e,"menu-mobile",Y[8])},i(Y){A||(m(n.$$.fragment,Y),m(re),m(Z),A=!0)},o(Y){v(n.$$.fragment,Y),v(re),v(Z),A=!1},d(Y){Y&&S(e),H(n),i[126](null),re&&re.d(),Z&&Z.d(),i[131](null),z=!1,ot(se)}}}function ma(i){let e,t,n;return t=new Go({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function pa(i){let e,t,n;return t=new Go({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function ha(i){let e,t,n,l,r,o,s,a,c,f;n=new xn({props:{direction:"left"}});let d=Qt(i[10]),h=[];for(let g=0;g<d.length;g+=1)h[g]=ga(Gs(i,d,g));const _=g=>v(h[g],1,1,()=>{h[g]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=R(),s=E("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),M(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(g,w){T(g,e,w),p(e,t),F(n,t,null),p(t,l),p(t,r),p(e,o),p(e,s);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(s,null);i[134](s),a=!0,c||(f=[ve(t,"click",lt(i[69])),ve(s,"keydown",i[88])],c=!0)},p(g,w){if((!a||w[0]&256)&&M(t,"item-mobile",g[8]),w[0]&1280|w[2]&134217792){d=Qt(g[10]);let b;for(b=0;b<d.length;b+=1){const C=Gs(g,d,b);h[b]?(h[b].p(C,w),m(h[b],1)):(h[b]=ga(C),h[b].c(),m(h[b],1),h[b].m(s,null))}for(de(),b=d.length;b<h.length;b+=1)_(b);me()}(!a||w[0]&256)&&M(s,"items-mobile",g[8]),(!a||w[0]&256)&&M(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&M(e,"menu-mobile",g[8])},i(g){if(!a){m(n.$$.fragment,g);for(let w=0;w<d.length;w+=1)m(h[w]);a=!0}},o(g){v(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)v(h[w]);a=!1},d(g){g&&S(e),H(n),Vn(h,g),i[134](null),c=!1,ot(f)}}}function va(i){let e,t,n;return t=new Go({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(t,e,null),n=!0},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function ga(i){let e,t,n,l=i[143].displayValue+"",r,o,s,a,c,f,d,h=i[143].selected&&va();function _(){return i[132](i[143])}function g(...w){return i[133](i[143],...w)}return{c(){e=E("li"),h&&h.c(),t=R(),n=E("div"),r=He(l),o=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[143].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[143].displayValue),M(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[ve(e,"click",lt(_)),ve(e,"keydown",g)],f=!0)},p(w,b){i=w,i[143].selected?h?b[0]&1024&&m(h,1):(h=va(),h.c(),m(h,1),h.m(e,t)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&1024)&&l!==(l=i[143].displayValue+"")&&it(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||b[0]&1024&&s!==(s=i[143].value))&&u(e,"data-value",s),(!c||b[0]&1024&&a!==(a=i[143].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,ot(d)}}}function R3(i){let e,t,n,l,r,o,s=i[14]&&Xs(i),a=i[16]&&la(i),c=i[17]&&ua(i),f=i[19]&&da(i),d=i[18]&&ha(i);return{c(){e=E("div"),s&&s.c(),t=R(),a&&a.c(),n=R(),c&&c.c(),l=R(),f&&f.c(),r=R(),d&&d.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!i[14]),M(e,"container-mobile",i[8])},m(h,_){T(h,e,_),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&m(s,1)):(s=Xs(h),s.c(),m(s,1),s.m(e,t)):s&&(de(),v(s,1,1,()=>{s=null}),me()),h[16]?a?(a.p(h,_),_[0]&65536&&m(a,1)):(a=la(h),a.c(),m(a,1),a.m(e,n)):a&&(de(),v(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,_),_[0]&131072&&m(c,1)):(c=ua(h),c.c(),m(c,1),c.m(e,l)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,_),_[0]&524288&&m(f,1)):(f=da(h),f.c(),m(f,1),f.m(e,r)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[18]?d?(d.p(h,_),_[0]&262144&&m(d,1)):(d=ha(h),d.c(),m(d,1),d.m(e,null)):d&&(de(),v(d,1,1,()=>{d=null}),me()),(!o||_[0]&16384)&&M(e,"hidden",!h[14]),(!o||_[0]&256)&&M(e,"container-mobile",h[8])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){v(s),v(a),v(c),v(f),v(d),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const ml=18;function O3(i,e,t){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,{ref:Y=void 0}=e,{supportLink:O}=e,{playerControlsHeight:X=0}=e,{returnFocus:L}=e;const B=St(),te=_n(),P=B.state.currentQuality$;D(i,P,oe=>t(104,w=oe));const ee=B.state.availableQualities$;D(i,ee,oe=>t(12,_=oe));const Pe=B.state.autoQualityLimitingAvailable$;D(i,Pe,oe=>t(108,y=oe));const ye=B.state.isAutoQualityEnabled$;D(i,ye,oe=>t(105,b=oe));const Ie=B.state.currentPlaybackRate$;D(i,Ie,oe=>t(13,g=oe));const Ne=B.state.availablePlaybackRates$;D(i,Ne,oe=>t(11,d=oe));const _e=B.state.currentSubtitle$;D(i,_e,oe=>t(38,re=oe));const Ce=B.state.availableSubtitlesList$;D(i,Ce,oe=>t(10,c=oe));const q=B.state.canDownload,$=B.state.hasMpegSources$;D(i,$,oe=>t(109,V=oe));const ce=B.ui.settingsMenuVisible;D(i,ce,oe=>t(14,se=oe));const ae=B.ui.settingsMenuOpenedByKeyboard;D(i,ae,oe=>t(136,l=oe));const We=B.ui.isMobile;D(i,We,oe=>t(8,r=oe));const Oe=B.ui.mobileNotReportControlHidden$;D(i,Oe,oe=>t(106,C=oe));const Ve=B.state.canChangePlaybackSpeed$;D(i,Ve,oe=>t(107,k=oe));const Ae=B.ui.isFullscreen;D(i,Ae,oe=>t(112,z=oe));const ue=B.state.trafficSavingEnabled$;D(i,ue,oe=>t(9,s=oe));const he=B.ui.playerSize;D(i,he,oe=>t(111,A=oe));const le=B.ui.debugPanelVisible;D(i,le,oe=>t(39,Z=oe));const Le=B.ui.playerSize;D(i,Le,oe=>t(110,Q=oe));const pe=B.state.isInteractiveTime$,Te=B.actions.internal.downloadVideo,Ge=B.actions.internal.closeSettingsMenu;let Re=!0,Je=!1,xe=!1,ut=!1,rt=!1,Tt=!1;function st(){l||L==null||L(),Ge(),Tt=!1}function Xt(){t(15,Re=!1),t(16,Je=!0)}function wt(){t(15,Re=!1),t(19,rt=!0)}function ze(oe){B.actions.internal.setQuality(oe),st()}function fe(oe){B.actions.internal.setTrafficSavingEnabled(oe),st()}function gt(){t(15,Re=!1),t(17,xe=!0)}function at(oe){B.actions.internal.setPlaybackRate(oe),st()}function Nt(){t(15,Re=!1),t(18,ut=!0)}function mt(oe){B.actions.internal.setSubtitle(oe),st()}function Pt(){t(15,Re=!0),t(16,Je=!1),t(17,xe=!1),t(18,ut=!1),t(19,rt=!1)}function $e(){Te(),st()}function Ze(){window.open(O,"_blank"),st(),B.actions.internal.pause()}function kt(){cr(B.actions.internal.getDebugTextData()),st()}function en(){le.set(!0),st()}function ni(){Tt=!0}function Ei(){Tt=!1}function tn(oe,nt,$t){if(!oe)return"...";const Et=nt.find(wn=>wn.value===oe),Mt=Et?Et.displayValue:oe;return $t?oe===tt.VideoQuality.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:Mt}):Mt}let oi,Jt,li,Ot,pi,Ii,ri,Ai,hi,si,Li,Vi,Mi,Bi,vi,At,gi,Vt,ai=Me(!1);D(i,ai,oe=>t(103,h=oe));let ct,pt,jt=Me(!1);D(i,jt,oe=>t(102,f=oe));let Dt,bi,ui=Me(!1);D(i,ui,oe=>t(101,a=oe));let xt,ci,Ni=Me(!1);D(i,Ni,oe=>t(100,o=oe));const Lt=oe=>{Bc(oe,Ge)},Ki=oe=>$i(this,null,function*(){fl(oe,Xt,()=>{const nt=_.findIndex($t=>$t.selected);return Vt.childNodes[nt]})}),Gi=oe=>$i(this,null,function*(){dl(oe,Pt,ai,Ge)}),Yi=(oe,nt)=>{rn(oe,()=>ze(nt))},Ri=oe=>$i(this,null,function*(){fl(oe,gt,()=>{const nt=d.findIndex($t=>$t.selected);return pt.childNodes[nt]})}),Zt=oe=>$i(this,null,function*(){dl(oe,Pt,jt,Ge)}),_i=(oe,nt)=>{rn(oe,()=>at(nt))},nn=oe=>$i(this,null,function*(){fl(oe,Nt,()=>{const nt=c.findIndex($t=>$t.selected);return bi.childNodes[nt]})}),Oi=oe=>$i(this,null,function*(){dl(oe,Pt,ui,Ge)}),zt=(oe,nt)=>{rn(oe,()=>mt(nt))},Ft=oe=>$i(this,null,function*(){fl(oe,wt,()=>{const nt=s?2:0;return ci.childNodes[nt]})}),Di=oe=>$i(this,null,function*(){dl(oe,Pt,Ni,Ge)}),zi=(oe,nt)=>{rn(oe,()=>fe(nt))},wi=oe=>{rn(oe,()=>$e())},Fi=oe=>{rn(oe,()=>Ze())},Hi=oe=>{rn(oe,()=>kt())},Wt=oe=>{rn(oe,()=>en())};hn(()=>{const oe=pe.subscribe(nt=>{nt&&!r&&!Tt&&!l&&st()});return()=>{oe()}});function Qi(oe){Se[oe?"unshift":"push"](()=>{gi=oe,t(4,gi)})}function Ui(oe){Se[oe?"unshift":"push"](()=>{ct=oe,t(5,ct)})}function ki(oe){Se[oe?"unshift":"push"](()=>{Dt=oe,t(6,Dt)})}function Zi(oe){Se[oe?"unshift":"push"](()=>{xt=oe,t(7,xt)})}function yi(oe){Se[oe?"unshift":"push"](()=>{Y=oe,t(0,Y)})}function Kt(oe){Se[oe?"unshift":"push"](()=>{Jt=oe,t(1,Jt)})}const Ci=oe=>ze(oe.value),Ue=(oe,nt)=>Yi(nt,oe.value);function fi(oe){Se[oe?"unshift":"push"](()=>{Vt=oe,t(33,Vt)})}function di(oe){Se[oe?"unshift":"push"](()=>{li=oe,t(2,li)})}const Be=oe=>at(oe.value),sn=(oe,nt)=>_i(nt,oe.value);function an(oe){Se[oe?"unshift":"push"](()=>{pt=oe,t(34,pt)})}function Xi(oe){Se[oe?"unshift":"push"](()=>{Ot=oe,t(3,Ot)})}const un=()=>fe(!1),Ji=oe=>zi(oe,!1),Gt=()=>fe(!0),xi=oe=>zi(oe,!0);function Si(oe){Se[oe?"unshift":"push"](()=>{ci=oe,t(36,ci)})}const qi=oe=>mt(oe),Rt=(oe,nt)=>zt(nt,oe);function Yt(oe){Se[oe?"unshift":"push"](()=>{bi=oe,t(35,bi)})}return i.$$set=oe=>{"ref"in oe&&t(0,Y=oe.ref),"supportLink"in oe&&t(97,O=oe.supportLink),"playerControlsHeight"in oe&&t(98,X=oe.playerControlsHeight),"returnFocus"in oe&&t(99,L=oe.returnFocus)},i.$$.update=()=>{var oe,nt,$t,Et;if(i.$$.dirty[0]&16384&&se&&(t(15,Re=!0),t(16,Je=!1),t(17,xe=!1),t(18,ut=!1),t(19,rt=!1)),i.$$.dirty[3]&2048&&t(37,n=Lo(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&6144&&t(20,oi=tn(w,_,b)),i.$$.dirty[0]&256|i.$$.dirty[3]&131104)if(r)t(21,pi="");else{const Mt=Q.height-ml-X;t(21,pi=`max-height: ${Mt}px; overflow: auto`)}if(i.$$.dirty[0]&258|i.$$.dirty[3]&917536)if(r&&z)t(22,Ii=`max-height: ${Math.round(A.height*.6)}px`);else if(r)t(22,Ii="");else{const Mt=Q.height-ml-((oe=Jt==null?void 0:Jt.clientHeight)!=null?oe:0)-X;t(22,Ii=`max-height: ${Mt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&131104)if(r)t(23,ri="");else{const Mt=Q.height-ml-((nt=li==null?void 0:li.clientHeight)!=null?nt:0)-X;t(23,ri=`max-height: ${Mt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&131104)if(r)t(24,Ai="");else{const Mt=Q.height-ml-(($t=Ot==null?void 0:Ot.clientHeight)!=null?$t:0)-X;t(24,Ai=`max-height: ${Mt}px; overflow: auto;`)}i.$$.dirty[3]&73728&&t(25,hi=q&&V&&!C),i.$$.dirty[3]&40960&&t(26,si=te.features.trafficSaving&&!C&&y),i.$$.dirty[0]&1024|i.$$.dirty[3]&8192&&t(27,Li=c.length>0&&!C),i.$$.dirty[3]&24576&&t(28,Vi=!!k&&!C),i.$$.dirty[3]&8192&&t(29,Mi=!C),i.$$.dirty[0]&512&&t(30,Bi=G(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&6144&&t(31,vi=b?G("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(32,At=(Et=d.find(Mt=>Mt.value===g))==null?void 0:Et.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&1024&&cl(gi,ai,h),i.$$.dirty[0]&32|i.$$.dirty[3]&512&&cl(ct,jt,f),i.$$.dirty[0]&64|i.$$.dirty[3]&256&&cl(Dt,ui,a),i.$$.dirty[0]&128|i.$$.dirty[3]&128&&cl(xt,Ni,o)},[Y,Jt,li,Ot,gi,ct,Dt,xt,r,s,c,d,_,g,se,Re,Je,xe,ut,rt,oi,pi,Ii,ri,Ai,hi,si,Li,Vi,Mi,Bi,vi,At,Vt,pt,bi,ci,n,re,Z,te,P,ee,Pe,ye,Ie,Ne,_e,Ce,$,ce,ae,We,Oe,Ve,Ae,ue,he,le,Le,st,Xt,wt,ze,fe,gt,at,Nt,mt,Pt,$e,Ze,kt,en,ni,Ei,ai,jt,ui,Ni,Lt,Ki,Gi,Yi,Ri,Zt,_i,nn,Oi,zt,Ft,Di,zi,wi,Fi,Hi,Wt,O,X,L,o,a,f,h,w,b,C,k,y,V,Q,A,z,Qi,Ui,ki,Zi,yi,Kt,Ci,Ue,fi,di,Be,sn,an,Xi,un,Ji,Gt,xi,Si,qi,Rt,Yt]}class Wc extends ke{constructor(e){super(),we(this,e,O3,R3,be,{ref:0,supportLink:97,playerControlsHeight:98,returnFocus:99},B3,[-1,-1,-1,-1,-1])}}function D3(i){Ke(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function z3(i){let e,t,n;return t=new qc({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=E("span"),U(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){T(l,e,r),F(t,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),t.$set(o)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function F3(i){let e,t,n;function l(o){i[9](o)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[z3]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function H3(i,e,t){let n,l,r,{ref:o=void 0}=e;const s=St(),a=s.state.currentQuality$;D(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;D(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;D(i,d,w=>t(3,l=w));let h;function _(w){const b=wr(w);f(b)}function g(w){o=w,t(0,o)}return i.$$set=w=>{"ref"in w&&t(0,o=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,_,g]}class Sr extends ke{constructor(e){super(),we(this,e,H3,F3,be,{ref:0},D3)}}function U3(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class q3 extends ke{constructor(e){super(),we(this,e,null,U3,be,{})}}function j3(i){let e,t;return e=new jc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function W3(i){let e,t;return e=new q3({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Z3(i){let e,t,n,l;const r=[W3,j3],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t||(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function K3(i){let e,t;return e=new Pi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Ho[Ee.KeyC],$$slots:{default:[Z3]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function G3(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return i.$$set=o=>{"isSubtitlesEnabled"in o&&t(0,n=o.isSubtitlesEnabled),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class Y3 extends ke{constructor(e){super(),we(this,e,G3,K3,be,{isSubtitlesEnabled:0,click:1})}}function Q3(i){Ke(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 ba(i){let e,t;return{c(){e=E("span"),t=He(i[3]),u(e,"class","duration v-19o2urr")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&8&&it(t,n[3])},d(n){n&&S(e)}}}function X3(i){let e,t,n,l,r=i[2]&&ba(i);return{c(){e=E("div"),t=E("span"),n=He(i[4]),l=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",i[1])},m(o,s){T(o,e,s),p(e,t),p(t,n),p(e,l),r&&r.m(e,null),i[7](e)},p(o,[s]){s&16&&it(n,o[4]),o[2]?r?r.p(o,s):(r=ba(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",o[1])},i:K,o:K,d(o){o&&S(e),r&&r.d(),i[7](null)}}}function J3(i,e,t){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){Se[d?"unshift":"push"](()=>{s=d,t(0,s)})}return i.$$set=d=>{"isMobile"in d&&t(1,n=d.isMobile),"duration"in d&&t(5,l=d.duration),"position"in d&&t(6,r=d.position),"showDuration"in d&&t(2,o=d.showDuration),"ref"in d&&t(0,s=d.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Hn(l)),i.$$.dirty&64&&t(4,c=Hn(r))},[s,n,o,a,c,l,r,f]}class Zc extends ke{constructor(e){super(),we(this,e,J3,X3,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Q3)}}function x3(i){Ke(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 $3(i){let e,t,n,l,r,o;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",o="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(t,l),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&S(e)}}}function eh(i,e,t){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,l=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,o=r(n,l))},[o,n,l]}class Sl extends ke{constructor(e){super(),we(this,e,eh,$3,be,{volume:1,muted:2},x3)}}function th(i){let e,t;const n=i[4].default,l=Un(n,i,i[3],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){T(r,e,o),l&&l.m(e,null),i[5](e),t=!0},p(r,[o]){l&&l.p&&(!t||o&8)&&jn(l,n,r,r[3],t?qn(n,r[3],o,null):Wn(r[3]),null)},i(r){t||(m(l,r),t=!0)},o(r){v(l,r),t=!1},d(r){r&&S(e),l&&l.d(r),i[5](null)}}}function ih(i,e,t){let n,{$$slots:l={},$$scope:r}=e;const s=St().ui.overlayContainer$;D(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};hn(()=>(f(n),()=>c(n)));function d(h){Se[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class nh extends ke{constructor(e){super(),we(this,e,ih,th,be,{})}}function oh(i){Ke(i,"v-tny135",'.tooltip-wrapper.v-tny135{display:flex;flex-direction:column;min-width:0}.full-width.v-tny135{width:100%}.tooltip.v-tny135{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-tny135{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-tny135{opacity:1;visibility:visible}.tooltip-pointer.v-tny135{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.bottom-placement-pointer.v-tny135{top:0;bottom:auto}')}function _a(i){let e,t;return e=new nh({props:{$$slots:{default:[lh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&1048819&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function lh(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("div"),n=He(i[1]),l=R(),r=E("div"),u(t,"class","content v-tny135"),u(r,"class","tooltip-pointer v-tny135"),u(r,"style",o=`transform: translate(${i[5]}px, ${i[9]}px) rotate(${i[8]?0:"180deg"});`),M(r,"bottom-placement-pointer",!i[8]),u(e,"class","tooltip v-tny135"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),M(e,"active",i[0])},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),i[19](e)},p(a,c){c&2&&it(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[9]}px) rotate(${a[8]?0:"180deg"});`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&S(e),i[19](null)}}}function rh(i){let e,t,n,l,r,o;const s=i[17].default,a=Un(s,i,i[20],null);let c=i[1]&&_a(i);return{c(){e=E("div"),a&&a.c(),t=R(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-tny135"),M(e,"full-width",i[2])},m(f,d){T(f,e,d),a&&a.m(e,null),i[18](e),T(f,t,d),c&&c.m(f,d),T(f,n,d),l=!0,r||(o=[ve(e,"mouseenter",i[12]),ve(e,"mousemove",i[12]),ve(e,"mouseleave",i[13]),ve(e,"mousedown",i[13]),ve(e,"mouseup",i[12])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&1048576)&&jn(a,s,f,f[20],l?qn(s,f[20],d,null):Wn(f[20]),null),(!l||d&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=_a(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(de(),v(c,1,1,()=>{c=null}),me())},i(f){l||(m(a,f),m(c),l=!0)},o(f){v(a,f),v(c),l=!1},d(f){f&&(S(e),S(t),S(n)),a&&a.d(f),i[18](null),c&&c.d(f),r=!1,ot(o)}}}const Bo=5;function sh(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,{placement:h="top"}=e;const _=h==="top";let g,w,b,C=0,k=_?Bo:-Bo,y=0,V=0;const Q=_n(),A=St(),z=A.ui.playerSize;D(i,z,P=>t(23,l=P));const se=A.ui.overlayContainer$;D(i,se,P=>t(22,n=P));const re=A.getLogger().createComponentLog("Tooltip component"),Z=()=>{if(!n)return;const P=n.getBoundingClientRect(),ee=g.getBoundingClientRect(),Pe=ee.width,ye=w.clientWidth,Ie=l.width,Ne=(Pe-ye)/2,_e=ee.left+c-P.left;let Ce=_e+Ne;const q=ee.top+f-P.top;let $=ye/2-Bo;const ce=Ce<nl,ae=Ce+ye>Ie-nl;ce&&(Ce=nl,$=_e+ee.width/2-2.5*Bo),ae&&(Ce=Ie-nl-ye,$=ee.left-P.left+ee.width/2-Ce-Bo),t(6,y=Ce),t(7,V=q),t(5,C=$)},Y=()=>{try{if(!n||!g)return;Z(),t(0,a=!0)}catch(P){re({message:String(P)})}},O=()=>{t(0,a=!1)},X=()=>{w&&(b||(b=window.setTimeout(Y,Q.controls.hideTimeoutTooltips)),a&&Y())},L=()=>{O(),window.clearTimeout(b),b=void 0};hn(Z),zo(()=>window.clearTimeout(b));function B(P){Se[P?"unshift":"push"](()=>{g=P,t(3,g)})}function te(P){Se[P?"unshift":"push"](()=>{w=P,t(4,w)})}return i.$$set=P=>{"content"in P&&t(1,s=P.content),"active"in P&&t(0,a=P.active),"translateX"in P&&t(14,c=P.translateX),"translateY"in P&&t(15,f=P.translateY),"isFullWidthWrapper"in P&&t(2,d=P.isFullWidthWrapper),"placement"in P&&t(16,h=P.placement),"$$scope"in P&&t(20,o=P.$$scope)},[a,s,d,g,w,C,y,V,_,k,z,se,X,L,c,f,h,r,B,te,o]}class Kc extends ke{constructor(e){super(),we(this,e,sh,rh,be,{content:1,active:0,translateX:14,translateY:15,isFullWidthWrapper:2,placement:16},oh)}}function ah(i){Ke(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 uh(i){let e;const t=i[18].default,n=Un(t,i,i[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&jn(n,t,l,l[23],e?qn(t,l[23],r,null):Wn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function ch(i){let e,t;return e=new Kc({props:{content:i[11],translateX:i[9],translateY:i[10],isFullWidthWrapper:i[4],active:i[6],placement:i[7],$$slots:{default:[fh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2048&&(r.content=n[11]),l&512&&(r.translateX=n[9]),l&1024&&(r.translateY=n[10]),l&16&&(r.isFullWidthWrapper=n[4]),l&64&&(r.active=n[6]),l&128&&(r.placement=n[7]),l&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function fh(i){let e;const t=i[18].default,n=Un(t,i,i[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&jn(n,t,l,l[23],e?qn(t,l[23],r,null):Wn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function dh(i){let e,t,n,l,r,o,s,a,c;const f=[ch,uh],d=[];function h(_,g){return _[3]&&_[5]&&!_[12]?0:1}return t=h(i),n=d[t]=f[t](i),{c(){e=E("div"),n.c(),u(e,"class",l="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[8]||null),Eo(()=>i[22].call(e))},m(_,g){T(_,e,g),d[t].m(e,null),i[21](e),o=fr(e,i[22].bind(e)),s=!0,a||(c=[ve(e,"pointerdown",lt(ii(i[19]))),ve(e,"click",lt(ii(i[20])))],a=!0)},p(_,[g]){let w=t;t=h(_),t===w?d[t].p(_,g):(de(),v(d[w],1,1,()=>{d[w]=null}),me(),n=d[t],n?n.p(_,g):(n=d[t]=f[t](_),n.c()),m(n,1),n.m(e,null)),(!s||g&4&&l!==(l="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",l),(!s||g&256&&r!==(r=_[8]||null))&&u(e,"aria-hidden",r)},i(_){s||(m(n),s=!0)},o(_){v(n),s=!1},d(_){_&&S(e),d[t].d(),i[21](null),o(),a=!1,ot(c)}}}function mh(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{tooltipActive:g=!1}=e,{tooltipPlacement:w="top"}=e,{disabledTooltipContent:b=G("tooltip_button_disabled")}=e,{isAriaHidden:C=!1}=e,{initialTranslateXPx:k=0}=e,{initialTranslateYPx:y=-18}=e;const V=St(),Q=V.ui.isMobile;D(i,Q,O=>t(12,l=O));const A=V.state.graphIsOpened$;D(i,A,O=>t(17,n=O));let z;function se(O){lo.call(this,i,O)}function re(O){lo.call(this,i,O)}function Z(O){Se[O?"unshift":"push"](()=>{f=O,t(0,f)})}function Y(){d=this.clientWidth,t(1,d)}return i.$$set=O=>{"className"in O&&t(2,s=O.className),"disabled"in O&&t(15,a=O.disabled),"hasTooltip"in O&&t(3,c=O.hasTooltip),"ref"in O&&t(0,f=O.ref),"width"in O&&t(1,d=O.width),"isFullWidthTooltip"in O&&t(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&t(5,_=O.tooltipContent),"tooltipActive"in O&&t(6,g=O.tooltipActive),"tooltipPlacement"in O&&t(7,w=O.tooltipPlacement),"disabledTooltipContent"in O&&t(16,b=O.disabledTooltipContent),"isAriaHidden"in O&&t(8,C=O.isAriaHidden),"initialTranslateXPx"in O&&t(9,k=O.initialTranslateXPx),"initialTranslateYPx"in O&&t(10,y=O.initialTranslateYPx),"$$scope"in O&&t(23,o=O.$$scope)},i.$$.update=()=>{i.$$.dirty&229408&&(a?t(11,z=n?G("tooltip_disabled_when_graph_on"):b):t(11,z=_))},[f,d,s,c,h,_,g,w,C,k,y,z,l,Q,A,a,b,n,r,se,re,Z,Y,o]}class qt extends ke{constructor(e){super(),we(this,e,mh,dh,be,{className:2,disabled:15,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,tooltipActive:6,tooltipPlacement:7,disabledTooltipContent:16,isAriaHidden:8,initialTranslateXPx:9,initialTranslateYPx:10},ah)}}function ph(i){let e,t,n,l,r;return{c(){e=N("svg"),t=N("rect"),l=N("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(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=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(o,s){T(o,e,s),p(e,t),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&S(e)}}}function hh(i,e,t){let{completed:n}=e;return i.$$set=l=>{"completed"in l&&t(0,n=l.completed)},[n]}class Gc extends ke{constructor(e){super(),we(this,e,hh,ph,be,{completed:0})}}function vh(i){Ke(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 gh(i){let e,t,n,l,r;return t=new Gc({props:{completed:!!i[0].completed}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Eo(()=>i[3].call(e)),M(e,"disabled",i[1])},m(o,s){T(o,e,s),F(t,e,null),l=fr(e,i[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",o[1])},i(o){r||(m(t.$$.fragment,o),r=!0)},o(o){v(t.$$.fragment,o),r=!1},d(o){o&&S(e),H(t),l()}}}function bh(i){let e,t;return e=new qt({props:{tooltipContent:G(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:[gh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function _h(i,e,t){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,l=s.disabled)},[n,l,r,o]}class wh extends ke{constructor(e){super(),we(this,e,_h,bh,be,{videoEpisode:0,disabled:1},vh)}}function kh(i){Ke(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 wa(i,e,t){const n=i.slice();return n[2]=e[t],n}function ka(i){let e,t,n,l,r,o,s,a,c;return{c(){e=E("div"),t=E("div"),n=E("div"),r=R(),o=E("div"),a=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),M(o,"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}%`),M(e,"mobile",i[1])},m(f,d){T(f,e,d),p(e,t),p(t,n),p(t,r),p(t,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&M(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&M(e,"mobile",f[1])},d(f){f&&S(e)}}}function yh(i){let e,t=Qt(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=ka(wa(i,t,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){t=Qt(l[0]);let o;for(o=0;o<t.length;o+=1){const s=wa(l,t,o);n[o]?n[o].p(s,r):(n[o]=ka(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},i:K,o:K,d(l){l&&S(e),Vn(n,l)}}}function Ch(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class Sh extends ke{constructor(e){super(),we(this,e,Ch,yh,be,{videoEpisodes:0,isMobile:1},kh)}}function Th(i){Ke(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 ya(i,e,t){const n=i.slice();return n[48]=e[t],n}function Ca(i){let e,t,n=Qt(i[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=Ta(ya(i,n,o));const r=o=>v(l[o],1,1,()=>{l[o]=null});return{c(){e=E("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),M(e,"mobile",i[5]),M(e,"hidden",i[5]&&!i[20])},m(o,s){T(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);t=!0},p(o,s){if(s[0]&2097664){n=Qt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=ya(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=Ta(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(de(),a=n.length;a<l.length;a+=1)r(a);me()}(!t||s[0]&32)&&M(e,"mobile",o[5]),(!t||s[0]&1048608)&&M(e,"hidden",o[5]&&!o[20])},i(o){if(!t){for(let s=0;s<n.length;s+=1)m(l[s]);t=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)v(l[s]);t=!1},d(o){o&&S(e),Vn(l,o)}}}function Sa(i){let e,t;return e=new wh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ta(i){let e,t,n=i[48].interactive&&Sa(i);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=Sa(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){t||(m(n),t=!0)},o(l){v(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function Ph(i){let e,t,n,l,r,o;return{c(){e=E("div"),t=E("div"),l=R(),r=E("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${i[12]*100}%);`),M(r,"active-live",i[4]),M(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,t),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:K,o:K,d(s){s&&S(e)}}}function Eh(i){let e,t;return e=new Sh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ih(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g=i[8]&&Ca(i);const w=[Eh,Ph],b=[];function C(k,y){return k[21].length?0:1}return n=C(i),l=b[n]=w[n](i),{c(){var k;g&&g.c(),e=R(),t=E("div"),l.c(),r=R(),o=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",i[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${i[13]*100}%);`),M(o,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(k=i[1])!=null?k:null),M(t,"disabled",i[9]),M(t,"slider-dragging",i[20]),M(t,"hidden",i[2]),M(t,"slider-vertical",i[3]),M(t,"no-handle",i[10]),M(t,"square",i[7])},m(k,y){g&&g.m(k,y),T(k,e,y),T(k,t,y),b[n].m(t,null),p(t,r),p(t,o),p(o,s),i[42](t),d=!0,h||(_=[ve(t,"pointerdown",ii(i[22])),ve(t,"pointermove",ii(i[23])),ve(t,"pointerup",ii(i[24])),ve(t,"pointerenter",ii(i[25])),ve(t,"pointerleave",ii(i[26])),ve(t,"click",lt(ie.noop)),ve(t,"wheel",i[27])],h=!0)},p(k,y){var Q;k[8]?g?(g.p(k,y),y[0]&256&&m(g,1)):(g=Ca(k),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(de(),v(g,1,1,()=>{g=null}),me());let V=n;n=C(k),n===V?b[n].p(k,y):(de(),v(b[V],1,1,()=>{b[V]=null}),me(),l=b[n],l?l.p(k,y):(l=b[n]=w[n](k),l.c()),m(l,1),l.m(t,r)),(!d||y[0]&16)&&M(s,"active-live",k[4]),(!d||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(o,"style",a),(!d||y[0]&1024)&&M(o,"hidden",k[10]),(!d||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(t,"class",c),(!d||y[0]&16384)&&u(t,"aria-label",k[14]),(!d||y[0]&32768)&&u(t,"aria-valuemin",k[15]),(!d||y[0]&65536)&&u(t,"aria-valuemax",k[16]),(!d||y[0]&131072)&&u(t,"aria-valuenow",k[17]),(!d||y[0]&262144)&&u(t,"aria-valuetext",k[18]),(!d||y[0]&2&&f!==(f=(Q=k[1])!=null?Q:null))&&u(t,"data-testid",f),(!d||y[0]&513)&&M(t,"disabled",k[9]),(!d||y[0]&1048577)&&M(t,"slider-dragging",k[20]),(!d||y[0]&5)&&M(t,"hidden",k[2]),(!d||y[0]&9)&&M(t,"slider-vertical",k[3]),(!d||y[0]&1025)&&M(t,"no-handle",k[10]),(!d||y[0]&129)&&M(t,"square",k[7])},i(k){d||(m(g),m(l),d=!0)},o(k){v(g),v(l),d=!1},d(k){k&&(S(e),S(t)),g&&g.d(k),b[n].d(),i[42](null),h=!1,ot(_)}}}function Ah(i,e,t){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:b=!1}=e,{hideHandel:C=!1}=e,k,y,{onPointerDown:V=ie.noop}=e,{onHandleMove:Q=ie.noop}=e,{onPointerUp:A=ie.noop}=e,{onPointerEnter:z=ie.noop}=e,{onPointerMove:se=ie.noop}=e,{onPointerLeave:re=ie.noop}=e,{onWheelUp:Z=ie.noop}=e,{onWheelDown:Y=ie.noop}=e,{onWheelLeft:O=ie.noop}=e,{onWheelRight:X=ie.noop}=e,{loadedProgress:L=0}=e,{filledProgress:B=0}=e,{handleProgress:te=0}=e,{ariaLabel:P=""}=e,{ariaValueMin:ee=void 0}=e,{ariaValueMax:Pe=void 0}=e,{ariaValueNow:ye=void 0}=e,{ariaValueText:Ie=""}=e;const Ne=_n();let _e=!1,Ce;function q(le){if(_e)return;t(20,_e=!0),y=k.getBoundingClientRect();const Le=Ve(le.clientX,le.clientY);V(Le),k.setPointerCapture(le.pointerId)}function $(le){const Le=Ve(le.clientX,le.clientY),pe=Ae(le.clientX);se(Le,pe,y.width),_e&&Q(Le)}function ce(le){if(!_e)return;t(20,_e=!1);const Le=Ve(le.clientX,le.clientY);A(Le)}function ae(le){y=k.getBoundingClientRect();const Le=Ve(le.clientX,le.clientY),pe=Ae(le.clientX);z(Le,pe,y.width)}function We(){re()}function Oe(le){g&&(le.preventDefault(),le.deltaY<0?Z():le.deltaY>0?Y():le.deltaX>0?X():O())}function Ve(le,Le){return a?Math.max(0,Math.min(1,(y.height-(Le-y.top))/y.height)):Math.min(Math.max(le-y.x,0),y.width)/y.width}function Ae(le){return Math.min(Math.max(le-y.x,0),y.width)}function ue(le,Le){const pe=Ne.features.episodesClustering&&!w?Ne.episodeMinWidthPc:0,Te=[];let Ge=0,Re=0,Je=0;for(let rt=1;rt<_.length;rt++)Re=_[rt].time/Ce*100,Re-Ge>pe&&(Te.push({from:Ge,width:Math.max(0,Re-Ge),loadedWidth:Math.max(0,Math.min(Re,le)-Ge),filledWidth:Math.max(0,Math.min(Re,Le)-Ge),interactive:_[rt-1].interactive,completed:_[rt-1].completed}),Ge=_[rt].time/Ce*100,Je++);const xe={from:Ge,width:Math.max(0,100-Ge),loadedWidth:Math.max(0,Math.min(le,100)-Ge),filledWidth:Math.max(0,Math.min(Le,100)-Ge),interactive:_[Je].interactive,completed:_[Je].completed};100-Ge<pe?(Je-=1,Te[Je].width+=100-Ge,Te[Je].loadedWidth+=Math.max(0,Math.min(le,100)-Ge),Te[Je].filledWidth+=Math.max(0,Math.min(Le,100)-Ge)):Te[Je]=xe;const ut=_[0].time;if(ut!==0){const rt=ut/Ce*100;Te.unshift({from:0,width:rt,loadedWidth:Math.min(rt,le),filledWidth:Math.min(rt,Le)})}return Te}function he(le){Se[le?"unshift":"push"](()=>{k=le,t(19,k)})}return i.$$set=le=>{"className"in le&&t(0,r=le.className),"testId"in le&&t(1,o=le.testId),"isHidden"in le&&t(2,s=le.isHidden),"isVertical"in le&&t(3,a=le.isVertical),"isActiveLive"in le&&t(4,c=le.isActiveLive),"isMobile"in le&&t(5,f=le.isMobile),"isAds"in le&&t(6,d=le.isAds),"squareBorders"in le&&t(7,h=le.squareBorders),"videoEpisodes"in le&&t(28,_=le.videoEpisodes),"withWheelHandler"in le&&t(29,g=le.withWheelHandler),"isInteractive"in le&&t(8,w=le.isInteractive),"disabled"in le&&t(9,b=le.disabled),"hideHandel"in le&&t(10,C=le.hideHandel),"onPointerDown"in le&&t(30,V=le.onPointerDown),"onHandleMove"in le&&t(31,Q=le.onHandleMove),"onPointerUp"in le&&t(32,A=le.onPointerUp),"onPointerEnter"in le&&t(33,z=le.onPointerEnter),"onPointerMove"in le&&t(34,se=le.onPointerMove),"onPointerLeave"in le&&t(35,re=le.onPointerLeave),"onWheelUp"in le&&t(36,Z=le.onWheelUp),"onWheelDown"in le&&t(37,Y=le.onWheelDown),"onWheelLeft"in le&&t(38,O=le.onWheelLeft),"onWheelRight"in le&&t(39,X=le.onWheelRight),"loadedProgress"in le&&t(11,L=le.loadedProgress),"filledProgress"in le&&t(12,B=le.filledProgress),"handleProgress"in le&&t(13,te=le.handleProgress),"ariaLabel"in le&&t(14,P=le.ariaLabel),"ariaValueMin"in le&&t(15,ee=le.ariaValueMin),"ariaValueMax"in le&&t(16,Pe=le.ariaValueMax),"ariaValueNow"in le&&t(17,ye=le.ariaValueNow),"ariaValueText"in le&&t(18,Ie=le.ariaValueText)},i.$$.update=()=>{var le;i.$$.dirty[0]&65536&&t(40,Ce=Pe!=null?Pe:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((le=_[_.length-1])==null?void 0:le.time)<Ce),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,l=_.length&&n&&Ce?ue(L*100,B*100):[])},[r,o,s,a,c,f,d,h,w,b,C,L,B,te,P,ee,Pe,ye,Ie,k,_e,l,q,$,ce,ae,We,Oe,_,g,V,Q,A,z,se,re,Z,Y,O,X,Ce,n,he]}class Tr extends ke{constructor(e){super(),we(this,e,Ah,Ih,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},Th,[-1,-1])}}const In=(i,e)=>Ao[i]>=Ao[e],Lh=(i,e)=>Ao[i]<Ao[e],Yc=(i,e)=>Ao[i]<=Ao[e],Vh=i=>i>Co.L?exports.GridTypes.XL:i>Co.M?exports.GridTypes.L:i>Co.S?exports.GridTypes.M:i>Co.XS?exports.GridTypes.S:exports.GridTypes.XS;function Mh(i){Ke(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 Bh(i){let e,t;return e=new Sl({props:{volume:i[3],muted:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nh(i){let e,t;return e=new Pi({props:{className:"btn-full-opacity",disabled:i[9],testId:i[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[0],ariaKeyShortCut:Ho[Ee.KeyM],$$slots:{default:[Bh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pa(i){let e,t,n;return t=new Tr({props:{className:i[2]?"volumeBar-slider-vertical":"",isHidden:i[2]&&!i[5],isVertical:i[2],withWheelHandler:!0,onWheelUp:i[15],onWheelDown:i[16],onPointerDown:i[14],onHandleMove:i[17],onPointerUp:i[18],onPointerEnter:i[2]?i[19]:ie.noop,onPointerLeave:i[2]?i[20]:ie.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",i[2])},m(l,r){T(l,e,r),F(t,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:ie.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:ie.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),t.$set(o),(!n||r[0]&4)&&M(e,"volumeBar-vertical",l[2])},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function Rh(i){let e,t,n,l,r,o;t=new Kc({props:{content:i[6],translateY:-18,$$slots:{default:[Nh]},$$scope:{ctx:i}}});let s=i[4]&&Pa(i);return{c(){e=E("div"),U(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",i[2])},m(a,c){T(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[ve(e,"mouseenter",function(){Ln(i[2]?i[21]:ie.noop)&&(i[2]?i[21]:ie.noop).apply(this,arguments)}),ve(e,"mouseleave",function(){Ln(i[2]?i[22]:ie.noop)&&(i[2]?i[22]:ie.noop).apply(this,arguments)}),ve(e,"wheel",ii(i[23]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[4]?s?(s.p(i,c),c[0]&16&&m(s,1)):(s=Pa(i),s.c(),m(s,1),s.m(e,null)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!l||c[0]&4)&&M(e,"vertical",i[2])},i(a){l||(m(t.$$.fragment,a),m(s),l=!0)},o(a){v(t.$$.fragment,a),v(s),l=!1},d(a){a&&S(e),H(t),s&&s.d(),r=!1,ot(o)}}}function Oh(i,e,t){var _e,Ce;let n,l,r,o,{click:s}=e;const a=St(),c=_n(),f=a.state.volume$;D(i,f,q=>t(3,n=q));const d=a.state.muted$;D(i,d,q=>t(25,o=q));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(i,_,q=>t(24,r=q));const g=(_e=a.callbacks)==null?void 0:_e.onAudioDoesNotExistHint,w=(Ce=a.callbacks)==null?void 0:Ce.onAudioDisabledHint,b=a.state.isAudioAvailable$;D(i,b,q=>t(4,l=q));const C=a.state.isAudioDisabled;let k=!1,y,V,Q,A,z,se,re=1,Z=!1,Y=!1;function O(q){re=n,h(q)}function X(){Dc(a,n,c.controls.volumeStepWheel)}function L(){zc(a,n,c.controls.volumeStepWheel)}function B(q){h(q)}function te(q){const $=q;h($,$===0?re:$)}function P(){Z=!0}function ee(){Z=!1,Ie()}function Pe(){clearTimeout(y),t(5,k=!0)}function ye(){Ie()}function Ie(){y=window.setTimeout(()=>{Z||t(5,k=!1)},c.controls.volumeBarTimeout)}function Ne(q){q.deltaY<0?X():q.deltaY>0&&L()}return i.$$set=q=>{"click"in q&&t(0,s=q.click)},i.$$.update=()=>{i.$$.dirty[0]&33554448&&t(1,A=!l||o),i.$$.dirty[0]&16777216&&t(2,z=Yc(r,exports.GridTypes.S)),i.$$.dirty[0]&6&&(z?t(6,V=""):t(6,V=G(A?"tooltip_volume":"tooltip_volume_muted")),t(7,Q=G(A?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&10&&t(8,se=A?0:n),i.$$.dirty[0]&16&&t(9,Y=C&&!w||!l&&!g)},[s,A,z,n,l,k,V,Q,se,Y,f,d,_,b,O,X,L,B,te,P,ee,Pe,ye,Ne,r,o]}class Dh extends ke{constructor(e){super(),we(this,e,Oh,Rh,be,{click:0},Mh,[-1,-1])}}function zh(i){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Fh(i){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Hh(i){let e,t,n;function l(s,a){return s[0]?Fh:zh}let r=l(i),o=r(i);return{c(){e=N("svg"),t=N("g"),o.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){T(s,e,a),p(e,t),o.m(t,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&S(e),o.d()}}}function Uh(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen)},[n]}class qh extends ke{constructor(e){super(),we(this,e,Uh,Hh,be,{isFullscreen:0})}}function jh(i){let e,t;return e=new qh({props:{isFullscreen:i[0]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wh(i){let e,t;return e=new Pi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Ho[Ee.KeyF],$$slots:{default:[jh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Zh(i,e,t){let{isFullscreen:n=!1}=e,{click:l=ie.noop}=e,r;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class Qc extends ke{constructor(e){super(),we(this,e,Zh,Wh,be,{isFullscreen:0,click:1})}}function Kh(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Pr extends ke{constructor(e){super(),we(this,e,null,Kh,be,{})}}function Gh(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Xc extends ke{constructor(e){super(),we(this,e,null,Gh,be,{})}}function Yh(i){Ke(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 Ea(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function Qh(i){let e,t,n,l,r=i[1]&&Ea();var o=i[8];function s(a){return{}}return o&&(n=On(o,s())),{c(){r&&r.c(),e=R(),t=E("div"),n&&U(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,t,c),n&&F(n,t,null),l=!0},p(a,c){if(a[1]?r||(r=Ea(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){de();const f=n;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}o?(n=On(o,s()),U(n.$$.fragment),m(n.$$.fragment,1),F(n,t,null)):n=null}(!l||c&2)&&M(t,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&v(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(t)),r&&r.d(a),n&&H(n)}}}function Xh(i){let e,t,n;function l(o){i[13](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:Ho[Ee.KeyK],$$slots:{default:[Qh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Jh(i,e,t){let n,l;const{fakeIsPlaying$:r}=Uo();D(i,r,k=>t(12,l=k));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=ie.noop}=e;const{toggle:h}=r;let _,g,w,b;function C(k){o=k,t(0,o)}return i.$$set=k=>{"ref"in k&&t(0,o=k.ref),"isMobile"in k&&t(1,s=k.isMobile),"isPlaying"in k&&t(10,a=k.isPlaying),"disabled"in k&&t(2,c=k.disabled),"className"in k&&t(3,f=k.className),"click"in k&&t(4,d=k.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,g=l!==null),i.$$.dirty&5152&&t(11,w=g?l:a),i.$$.dirty&2048&&t(7,b=G(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?Xc:Pr)},t(6,_=h),[o,s,c,f,d,g,_,b,n,r,a,w,l,C]}class Er extends ke{constructor(e){super(),we(this,e,Jh,Xh,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Yh)}}function xh(i){Ke(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 $h(i){let e,t,n;return{c(){e=N("svg"),t=N("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"),M(e,"prev",i[0]),M(e,"mobile",i[1])},m(l,r){T(l,e,r),p(e,t)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",l[0]),r&2&&M(e,"mobile",l[1])},i:K,o:K,d(l){l&&S(e)}}}function ev(i,e,t){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class tv extends ke{constructor(e){super(),we(this,e,ev,$h,be,{isPrev:0,isMobile:1},xh)}}function iv(i){let e,t;return e=new tv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nv(i){let e,t,n;function l(o){i[6](o)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[iv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ov(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,l=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,o=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Tl extends ke{constructor(e){super(),we(this,e,ov,nv,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function lv(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class rv extends ke{constructor(e){super(),we(this,e,null,lv,be,{})}}function sv(i){Ke(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Ia(i){let e,t,n,l,r,o,s;return{c(){e=N("path"),t=N("path"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(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(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){T(a,e,c),T(a,t,c),T(a,n,c),T(a,l,c),T(a,r,c),T(a,o,c),T(a,s,c)},d(a){a&&(S(e),S(t),S(n),S(l),S(r),S(o),S(s))}}}function av(i){let e,t,n,l=!i[0]&&Ia();return{c(){e=N("svg"),t=N("path"),l&&l.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),M(e,"mobile",i[1])},m(r,o){T(r,e,o),p(e,t),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Ia(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&M(e,"mobile",r[1])},i:K,o:K,d(r){r&&S(e),l&&l.d()}}}function uv(i,e,t){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,l=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class cv extends ke{constructor(e){super(),we(this,e,uv,av,be,{short:0,isMobile:1},sv)}}function fv(i){let e,t;return e=new rv({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function dv(i){let e,t;return e=new cv({props:{short:i[4],isMobile:!!i[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mv(i){let e,t,n,l;const r=[dv,fv],o=[];function s(a,c){return a[2]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function pv(i){let e,t,n;function l(o){i[13](o)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[mv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function hv(i,e,t){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=_n(),{logoLink:d,addTimeToLogoLink:h}=f,_=St(),g=_.state.positionWithScrubbing$;D(i,g,A=>t(14,n=A));const w=_.ui.currentGridType$;D(i,w,A=>t(11,l=A));const b=_.ui.isMobile;D(i,b,A=>t(12,r=A));let C,k,y;const V=()=>{let A;if(k||!a)A=d;else{const z=Math.round(n);if(h&&z){const se=new URL(a);se.searchParams.append("t",ie.timeCodeToString(z)),A=se.toString()}else A=a}c(),window.open(A,"_blank")};function Q(A){o=A,t(0,o)}return i.$$set=A=>{"ref"in A&&t(0,o=A.ref),"logoClickable"in A&&t(1,s=A.logoClickable),"videoLogoUrl"in A&&t(9,a=A.videoLogoUrl),"click"in A&&t(10,c=A.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,y=(r||Yc(l,exports.GridTypes.L))&&k)},t(3,C=f.logoType===Io.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),t(2,k=f.logoType===Io.VK_VIDEO),[o,s,k,C,y,g,w,b,V,a,c,l,r,Q]}class Jc extends ke{constructor(e){super(),we(this,e,hv,pv,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function vv(i){Ke(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 gv(i){let e,t,n,l,r,o,s,a;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),M(a,"hidden",!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"),M(e,"connecting",i[2])},m(c,f){T(c,e,f),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(t,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&S(e)}}}function bv(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;return{c(){e=N("svg"),t=N("g"),n=N("mask"),l=N("path"),o=N("path"),s=N("path"),c=N("path"),f=N("defs"),d=N("clipPath"),h=N("path"),g=N("filter"),w=N("feFlood"),b=N("feColorMatrix"),C=N("feOffset"),k=N("feGaussianBlur"),y=N("feColorMatrix"),V=N("feBlend"),Q=N("feBlend"),u(l,"fill",r=i[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",_=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(b,"in","SourceAlpha"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(b,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(V,"in2","BackgroundImageFix"),u(V,"result","effect1_dropShadow_4085_178456"),u(Q,"in","SourceGraphic"),u(Q,"in2","effect1_dropShadow_4085_178456"),u(Q,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(A,z){T(A,e,z),p(e,t),p(t,n),p(n,l),p(n,o),p(t,s),p(t,c),p(e,f),p(f,d),p(d,h),p(f,g),p(g,w),p(g,b),p(g,C),p(g,k),p(g,y),p(g,V),p(g,Q)},p(A,z){z&2&&r!==(r=A[1]?"#2688EB":"#fff")&&u(l,"fill",r),z&2&&a!==(a=A[1]?"#2688EB":"#fff")&&u(s,"fill",a),z&2&&_!==(_=A[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(A){A&&S(e)}}}function _v(i){let e;function t(r,o){return r[0]?bv:gv}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function wv(i,e,t){let{isMobile:n=!1}=e,{state:l}=e,r,o;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,l=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,o=l===tt.ChromecastState.CONNECTING),t(1,r=l===tt.ChromecastState.CONNECTED))},[n,r,o,l]}class kv extends ke{constructor(e){super(),we(this,e,wv,_v,be,{isMobile:0,state:3},vv)}}function yv(i){let e,t;return e=new kv({props:{isMobile:i[1],state:i[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Cv(i){let e,t,n;function l(o){i[5](o)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[yv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Sv(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=ie.noop}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,o=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===tt.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class xc extends ke{constructor(e){super(),we(this,e,Sv,Cv,be,{ref:0,isMobile:1,state:2,click:3})}}function Tv(i){let e,t;return e=new Ic({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pv(i){let e,t;return e=new Pi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===tt.PlaybackState.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Tv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===tt.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ev(i,e,t){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=St(),a=s.state.playbackState$;D(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return i.$$set=h=>{"isMobile"in h&&t(0,l=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,o=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,d=()=>{if(!r){c();return}n===tt.PlaybackState.PAUSED&&f()})},[l,r,o,n,d,a]}class $c extends ke{constructor(e){super(),we(this,e,Ev,Pv,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Iv(i){Ke(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 Av(i){let e,t,n,l;const r=i[9].default,o=Un(r,i,i[8],null);return{c(){e=E("div"),t=E("div"),o&&o.c(),u(t,"class","tooltip v-5ygsa2"),M(t,"active",i[0]),M(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){T(s,e,a),p(e,t),o&&o.m(t,null),i[10](t),i[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&jn(o,r,s,s[8],l?qn(r,s[8],a,null):Wn(s[8]),null),(!l||a&1)&&M(t,"active",s[0]),(!l||a&2)&&M(t,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){v(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),i[10](null),i[11](null)}}}function Lv(i,e,t){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function _(b){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return b<k?k:b>f-k?f-k:b}function g(b){Se[b?"unshift":"push"](()=>{h=b,t(4,h)})}function w(b){Se[b?"unshift":"push"](()=>{d=b,t(3,d)})}return i.$$set=b=>{"active"in b&&t(0,o=b.active),"pointer"in b&&t(1,s=b.pointer),"translateXPx"in b&&t(6,a=b.translateXPx),"translateYPx"in b&&t(2,c=b.translateYPx),"containerWidth"in b&&t(7,f=b.containerWidth),"$$scope"in b&&t(8,r=b.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=_(a))},[o,s,c,d,h,n,a,f,r,l,g,w]}class Vv extends ke{constructor(e){super(),we(this,e,Lv,Av,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Iv)}}const ef=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Mv(i){Ke(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 Aa(i){let e;function t(r,o){return r[2]&&r[10].completed===!1?Nv:Bv}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Bv(i){let e=(i[10].text||"")+"",t;return{c(){t=He(e)},m(n,l){T(n,t,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&it(t,e)},d(n){n&&S(t)}}}function Nv(i){let e=G("tooltip_episode_unfinished")+"",t;return{c(){t=He(e)},m(n,l){T(n,t,l)},p:K,d(n){n&&S(t)}}}function Rv(i){let e,t,n,l,r,o,s,a,c=i[10]&&Aa(i);return{c(){e=E("div"),t=E("div"),l=R(),r=E("div"),c&&c.c(),o=R(),s=E("div"),a=He(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",i[1])},m(f,d){T(f,e,d),p(e,t),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,d):(c=Aa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&it(a,f[0]),d&2&&M(e,"mobile",f[1])},i:K,o:K,d(f){f&&S(e),c&&c.d()}}}const ko=150;function Ov(i,e,t){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=St().ui.rotateAlpha;D(i,h,z=>t(11,n=z));let _,g,w,b,C,k,y,V;function Q(){let z=s.frameWidth,se=s.frameHeight;return z>ko?(se=se/z*ko,z=ko):se>ko&&(z=z/se*ko,se=ko),{width:z,height:se}}function A(z){let se;s.isUV?se=Math.floor(c*z/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*z)));const re=Math.floor(se/s.countPerImage),Z=Math.floor(se%s.countPerImage/s.countPerRow),Y=se%s.countPerRow;let O=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&(O=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&O++);let X=s.countPerRow;!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(X=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const L=_*X,B=g*O,te=-Y*_,P=-Z*g;return{imgSrc:s.links[re],imgWidth:L,imgHeight:B,imgOffsetX:te,imgOffsetY:P}}return i.$$set=z=>{"time"in z&&t(0,l=z.time),"isMobile"in z&&t(1,r=z.isMobile),"videoEpisodes"in z&&t(13,o=z.videoEpisodes),"previewThumbsData"in z&&t(14,s=z.previewThumbsData),"progress"in z&&t(15,a=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:w,imgWidth:b,imgHeight:C,imgOffsetX:k,imgOffsetY:y}=A(a),w,(t(6,b),t(15,a)),(t(7,C),t(15,a)),(t(8,k),t(15,a)),(t(9,y),t(15,a))),i.$$.dirty&106496&&t(10,V=ef(a,c,o))},t(3,{width:_,height:g}=Q(),_,t(4,g)),[l,r,f,_,g,w,b,C,k,y,V,n,h,o,s,a,c]}class Dv extends ke{constructor(e){super(),we(this,e,Ov,Rv,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Mv)}}function zv(i){Ke(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 Fv(i){let e,t;return{c(){e=E("span"),t=He(i[7]),u(e,"class","time v-5lzly8")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l[0]&128&&it(t,n[7])},i:K,o:K,d(n){n&&S(e)}}}function Hv(i){let e,t;return e=new Dv({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uv(i){let e,t,n,l;const r=[Hv,Fv],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function qv(i){let e,t,n,l;const r=[i[9]];let o={$$slots:{default:[Uv]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)o=_1(o,r[s]);return e=new Vv({props:o}),n=new Tr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:G("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(dt.TIMELINE),hideHandel:i[2]}}),{c(){U(e.$$.fragment),t=R(),U(n.$$.fragment)},m(s,a){F(e,s,a),T(s,t,a),F(n,s,a),l=!0},p(s,a){const c=a[0]&512?w0(r,[k0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=G("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(dt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),l=!1},d(s){s&&S(t),H(e,s),H(n,s)}}}function jv(i,e,t){let n,l,r,o,s,a,c,f,d,h,_,{showTimeline:g=!1}=e;const w=St(),b=_n(),C=w.state.bufferedProgress$;D(i,C,he=>t(12,h=he));const k=w.state.positionWithScrubbing$;D(i,k,he=>t(39,a=he));const y=w.state.duration$;D(i,y,he=>t(1,r=he));const V=w.state.isLive$;D(i,V,he=>t(0,l=he));const Q=w.state.isActiveLive$;D(i,Q,he=>t(11,d=he));const A=w.ui.isMobile;D(i,A,he=>t(10,f=he));const z=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),re=w.state.interactiveEpisodes$;D(i,re,he=>t(40,c=he));const Z=w.state.isInteractive,Y=w.state.isInteractiveTime$;D(i,Y,he=>t(2,o=he));const O=w.state.isInteractiveExpectation$;D(i,O,he=>t(38,s=he));const X=w.actions.internal.correctSeekTimeToInteractive,L=w.ui.controls.disabledControls$;D(i,L,he=>t(13,_=he));let B,te,P,ee,Pe=!1,ye="",Ie=0,Ne=0,_e=0,Ce;function q(he){return!X||!Z?he:X(he*r)/r}function $(he){w.actions.internal.startScrubbing(q(he))}function ce(he){o||w.actions.internal.progressScrubbing(q(he))}function ae(he){w.actions.internal.completeScrubbing(q(he)),t(34,Pe=!1)}function We(he,le,Le){Ae(he,le,Le),t(34,Pe=!0)}function Oe(he,le,Le){Ae(he,le,Le),t(34,Pe=!0)}function Ve(){t(34,Pe=!1)}function Ae(he,le,Le){t(8,_e=he),t(35,Ie=le),Le&&t(36,Ne=Le),t(7,ye=ue(he))}function ue(he){const le=Hn((l?1-he:he)*r);return l?`-${le}`:le}return i.$$set=he=>{"showTimeline"in he&&t(33,g=he.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,B=Z?c:z),i.$$.dirty[0]&2&&t(4,te=Hn(r)),i.$$.dirty[1]&256&&t(5,P=Hn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ee=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Ce=s||o),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Ne,translateXPx:Ie,translateYPx:Z&&se?-36:-16,active:Pe&&g&&!Ce,pointer:!b.features.timelinePreview||!se||l})},[l,r,o,B,te,P,ee,ye,_e,n,f,d,h,_,b,C,k,y,V,Q,A,se,re,Z,Y,O,L,$,ce,ae,We,Oe,Ve,g,Pe,Ie,Ne,Ce,s,a,c]}let Wv=class extends ke{constructor(e){super(),we(this,e,jv,qv,be,{showTimeline:33},zv,[-1,-1])}};function Zv(i){let e,t;return e=new Tr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:G("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=G("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Kv(i,e,t){let n,{position:l=0}=e,{duration:r=0}=e;const s=St().ui.isMobile;D(i,s,d=>t(4,n=d));let a,c,f;return i.$$set=d=>{"position"in d&&t(6,l=d.position),"duration"in d&&t(0,r=d.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=Hn(r)),i.$$.dirty&64&&t(2,c=Hn(l)),i.$$.dirty&65&&t(3,f=l/r)},[r,a,c,f,n,s,l]}class tf extends ke{constructor(e){super(),we(this,e,Kv,Zv,be,{position:6,duration:0})}}function Gv(i){Ke(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 Yv(i){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",i[2])},m(t,n){T(t,e,n)},p(t,n){n&4&&M(e,"mobile",t[2])},i:K,o:K,d(t){t&&S(e)}}}function Qv(i){let e,t,n,l;const r=[Jv,Xv],o=[];function s(a,c){return a[0]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",i[2])},m(a,c){T(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&M(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[t].d()}}}function Xv(i){let e,t;return e=new Wv({props:{showTimeline:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jv(i){let e,t;return e=new tf({props:{position:i[3],duration:i[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xv(i){let e,t,n,l;const r=[Qv,Yv],o=[];function s(a,c){return a[1]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function $v(i,e,t){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=St(),h=d.state.isLive$;D(i,h,C=>t(12,n=C));const _=d.ads.duration;D(i,_,C=>t(4,o=C));const g=d.ads.position;D(i,g,C=>t(3,r=C));const w=d.ui.isMobile;D(i,w,C=>t(2,l=C));let b;return i.$$set=C=>{"isAds"in C&&t(0,s=C.isAds),"canRewindLive"in C&&t(9,a=C.canRewindLive),"isRewindableLive"in C&&t(10,c=C.isRewindableLive),"isHidden"in C&&t(11,f=C.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,b=!f&&(!n||n&&a&&c||s))},[s,b,l,r,o,h,_,g,w,a,c,f,n]}class nf extends ke{constructor(e){super(),we(this,e,$v,xv,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Gv)}}function e5(i){let e,t,n,l;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("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(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ut(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){T(r,e,o),p(e,t),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class t5 extends ke{constructor(e){super(),we(this,e,null,e5,be,{})}}function i5(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class n5 extends ke{constructor(e){super(),we(this,e,null,i5,be,{})}}function o5(i){Ke(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 l5(i){let e,t,n,l;e=new t5({});function r(a,c){if(a[4]===oo.FULL)return a5;if(a[4]===oo.COUNT)return s5}let o=r(i),s=o&&o(i);return{c(){U(e.$$.fragment),t=R(),s&&s.c(),n=ht()},m(a,c){F(e,a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){v(e.$$.fragment,a),l=!1},d(a){a&&(S(t),S(n)),H(e,a),s&&s.d(a)}}}function r5(i){let e,t,n,l,r,o;return r=new n5({}),{c(){e=E("span"),t=He(i[2]),n=R(),l=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,t),T(s,n,a),T(s,l,a),F(r,l,null),o=!0},p(s,a){(!o||a&4)&&it(t,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){v(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),H(r)}}}function s5(i){let e,t=i[0].length+"",n;return{c(){e=E("span"),n=He(t),u(e,"class","text count v-1yhs2ga")},m(l,r){T(l,e,r),p(e,n)},p(l,r){r&1&&t!==(t=l[0].length+"")&&it(n,t)},d(l){l&&S(e)}}}function a5(i){let e,t;return{c(){e=E("span"),t=He(i[2]),u(e,"class","text v-1yhs2ga")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&4&&it(t,n[2])},d(n){n&&S(e)}}}function u5(i){let e,t,n,l;const r=[r5,l5],o=[];function s(a,c){return a[6]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function c5(i){let e,t,n;function l(o){i[19](o)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[u5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!t&&s&2&&(t=!0,a.ref=o[1],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function f5(i,e,t){var Z,Y,O;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=St(),_=(Y=(Z=h.callbacks)==null?void 0:Z.onEpisodeChanged)!=null?Y:ie.noop,g=!!((O=h.callbacks)!=null&&O.onEpisodeClicked),w=h.ui.currentGridType$;D(i,w,X=>t(18,s=X));const b=h.ui.episodes.openedByKeyboard$;D(i,b,X=>t(17,o=X));const C=h.ui.episodes.panelOpened$;D(i,C,X=>t(3,r=X));const k=h.ui.isMobile;D(i,k,X=>t(6,a=X));let y;const V=X=>{var B,te,P;if(!!((B=h.callbacks)!=null&&B.onEpisodeClicked)){const ee=wr(X);b.set(ee),C.set(!0),(P=(te=h.callbacks)==null?void 0:te.onEpisodeClicked)==null||P.call(te,ee)}};let Q,A,z;const se=(X,L,B)=>$i(this,null,function*(){yield Fo(),(X==null?void 0:X.getAttribute("aria-expanded"))==="false"&&L&&!B&&(b.set(!1),X.focus())});function re(X){y=X,t(1,y)}return i.$$set=X=>{"position"in X&&t(13,c=X.position),"duration"in X&&t(14,f=X.duration),"timeCodes"in X&&t(0,d=X.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const X=ef(n,f,d);X&&(Q==null?void 0:Q.text)!==X.text&&(_(X),t(15,Q=X))}i.$$.dirty&32768&&t(2,l=(Q==null?void 0:Q.text)||""),i.$$.dirty&262144&&(In(s,exports.GridTypes.XL)?t(4,A=oo.FULL):In(s,exports.GridTypes.M)&&Lh(s,exports.GridTypes.XL)?t(4,A=oo.COUNT):t(4,A=oo.SHORT)),i.$$.dirty&4&&t(5,z=`${G("tooltip_episodes")}: ${l}`),i.$$.dirty&131082&&se(y,o,r)},[d,y,l,r,A,z,a,g,w,b,C,k,V,c,f,Q,n,o,s,re]}class of extends ke{constructor(e){super(),we(this,e,f5,c5,be,{position:13,duration:14,timeCodes:0},o5)}}function d5(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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(l,r){T(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class m5 extends ke{constructor(e){super(),we(this,e,null,d5,be,{})}}function p5(i){let e,t;return e=new m5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function h5(i){let e,t,n;function l(o){i[4](o)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[p5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function v5(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,l=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,o=a.click)},[n,l,r,o,s]}class lf extends ke{constructor(e){super(),we(this,e,v5,h5,be,{ref:0,hidden:1,disabled:2,click:3})}}function g5(i){let e,t,n;return{c(){e=N("svg"),t=N("path"),n=N("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"),M(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(l,r){T(l,e,r),p(e,t),p(e,n)},p(l,[r]){r&1&&M(n,"hidden",!l[0])},i:K,o:K,d(l){l&&S(e)}}}function b5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=l=>{"isOpened"in l&&t(0,n=l.isOpened)},[n]}class _5 extends ke{constructor(e){super(),we(this,e,b5,g5,be,{isOpened:0})}}function w5(i){let e,t;return e=new _5({props:{isOpened:i[3]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function k5(i){let e,t,n;function l(o){i[6](o)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[w5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function y5(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,l=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,o=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class rf extends ke{constructor(e){super(),we(this,e,y5,k5,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function C5(i){let e,t;return{c(){e=N("svg"),t=N("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class sf extends ke{constructor(e){super(),we(this,e,null,C5,be,{})}}function S5(i){Ke(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 La(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&S(e)}}}function T5(i){let e,t,n,l,r=i[1]&&La();return n=new sf({}),{c(){r&&r.c(),e=R(),t=E("div"),U(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(o,s){r&&r.m(o,s),T(o,e,s),T(o,t,s),F(n,t,null),l=!0},p(o,s){o[1]?r||(r=La(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&M(t,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){v(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(t)),r&&r.d(o),H(n)}}}function P5(i){let e,t,n;function l(o){i[5](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:G("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:Ho[Ee.KeyK],$$slots:{default:[T5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function E5(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=ie.noop}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,o=c.className),"click"in c&&t(4,s=c.click)},[n,l,r,o,s,a]}class Ir extends ke{constructor(e){super(),we(this,e,E5,P5,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},S5)}}function I5(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class A5 extends ke{constructor(e){super(),we(this,e,null,I5,be,{})}}function L5(i){let e,t;return e=new A5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function V5(i){let e,t,n;function l(o){i[4](o)}let r={className:i[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:i[2],click:i[3],$$slots:{default:[L5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function M5(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,l=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,o=a.click)},[n,l,r,o,s]}class af extends ke{constructor(e){super(),we(this,e,M5,V5,be,{ref:0,hidden:1,disabled:2,click:3})}}function B5(i){Ke(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 N5(i){let e,t,n,l;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),jr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),n||(l=ve(e,"error",i[7]),n=!0)},p(r,o){o&1&&!jr(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&S(e),n=!1,l()}}}function R5(i){let e;return{c(){e=E("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){T(t,e,n)},p:K,d(t){t&&S(e)}}}function O5(i){let e;function t(r,o){return r[5]?R5:N5}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function D5(i){let e,t;return e=new Pi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[O5]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function z5(i,e,t){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const d=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,o=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===ie.noop),i.$$.dirty&272&&t(6,l=n||a)},t(5,r=!1),[o,s,c,f,n,r,l,d,a]}class uf extends ke{constructor(e){super(),we(this,e,z5,D5,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},B5)}}class Va{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 l=0,r=n.length;l<r;l++)if(n[l].callback===t){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class cf extends Va{constructor(){super(),this.listeners||Va.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 F5=class{constructor(){Object.defineProperty(this,"signal",{value:new cf,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(F5.prototype[Symbol.toStringTag]="AbortController",cf.prototype[Symbol.toStringTag]="AbortSignal");function ff(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 H5(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=i;if(!ff({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new t(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=t.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(_){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((_,g)=>{f.addEventListener("abort",()=>g(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Ar=ff({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),df=Ar?H5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,U5=Ar?df.fetch:window.fetch;Ar?df.Request:window.Request;const q5=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,j5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class W5{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};ie.addScript(j5,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),et(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(ti.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ti.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ti.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Dn.Midroll,this.adman.start(Dn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const _=this.playerState&&et(this.playerState.vsid);_&&(h=parseInt(_,36));const g=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:q5(t,n),puid11:l?0:1,preview:d},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:g,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(w),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const t=this.currentAdSection===Dn.Postroll;this.adsState.playbackState.set(ti.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(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=et(this.adsState.playbackState);e===ti.PLAYING?this.pause():e===ti.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Dn.Preroll,this.adman.start(Dn.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Dn.Postroll,this.adman.start(Dn.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const Z5=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 K5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new mf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new G5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class mf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(t)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class G5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new mf;for(const o of l)r.isTime(o)?t.texts.push({type:"timestamp",value:r.parseTime(o)}):t.texts.push({type:"text",value:o});return t}}let Jn,Ht,xl=0,$l=!1;const Y5=(i,e,t)=>{var n;const l=i>=xl,r=i<xl,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(xl=i,r&&($l=!1),ie.isNonNullable(Jn)&&s(i,Jn.startTime,Jn.endTime)&&Jn.lang===e.value)return Jn;if(!ie.isNonNullable(Ht)&&(c!=null&&c.length)&&!$l){const f=c.find(({startTime:d,endTime:h})=>s(i,d,h)||l&&o(i,d,h));Ht=f&&Object.assign(Object.assign({},f),{lang:e.value}),Jn=void 0,!ie.isNonNullable(Ht)&&c[c.length-1].endTime<i&&($l=!0);return}else{if(s(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))return Jn=Ht,Ht=void 0,Jn;(l&&a(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime)||r&&o(i,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))&&(Ht=void 0)}},er={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class Q5{constructor(e,t){this.oneStat=new Ct.OneStat(e,t),this.statSubscription=new ie.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const X5=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:_,disabledControls:g,isInteractive:w,interactiveRanges$:b,isInteractiveTime$:C,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:V,additionalButtons:Q,looped:A=!1,statistics:z})=>{var se,re,Z,Y;const O=Object.assign(Object.assign({},h),{configName:[...(se=h.configName)!==null&&se!==void 0?se:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(re=h.live)!==null&&re!==void 0?re:{}),{isLiveCatchUpMode:!!n})}),X=d,L=_||new tt.Player(O);L.setLooped(A);const B=new ie.Logger,te=new W5(B,{loadTimeout:X.ads.loadTimeout,initTimeout:X.ads.initTimeout}),P=ur.getInstance(),ee=a==null?void 0:a.pictureInPictureApi,Pe=a==null?void 0:a.annotationsApi,ye=B.createComponentLog("Store");let Ie,Ne,_e={};const Ce=ie.getCurrentBrowser(),q=z?yt(z.oneStat.vsid$):Rn(void 0),$=Me(Oo()),ce=(Z=ee==null?void 0:ee.info.isActive$)!==null&&Z!==void 0?Z:new ie.ValueSubject(!1),ae=ee==null?void 0:ee.info.type,We=Me(0),Oe=Me([]),Ve=ie.merge(L.events.fatalError$,L.events.managedError$).subscribe(I=>Oe.update(ne=>[...ne,I])),Ae=Rn(!1,I=>{const ne=L.events.fatalError$.subscribe(()=>I(!0));return()=>ne.unsubscribe()}),ue=I=>mi(void 0,void 0,void 0,function*(){var ne;const ge=Object.values(ie.InterfaceLanguage).includes(I);if(X.downloadVKLanguages&&(ge&&X.updateBuiltinLanguages||!bs(I))){let Xe;try{Xe=yield ie.loadVKLangPack(I,I0,A0)}catch(ft){(ne=z==null?void 0:z.oneStat)===null||ne===void 0||ne.logError({errorType:"VKLangPack",fatal:!1}),P==null||P.report(ft,{errorType:"VKLangPack",fatal:!1})}Xe&&(gs({language:I,pack:Xe,fallback:X.defaultLanguage}),he.set(I))}bs(I)&&he.set(I)}),he=Me(i);ue(i);const le=(I,ne)=>{const ge=et(he);return kc(ge,I,ne,X.defaultLanguage)},Le=Me(De.Thumb),pe=(()=>{const I=Wi([Ae,Le],([ne,ge])=>ne?De.Crashed:ge);return Object.assign(Object.assign({},I),{is:ne=>et(I)===ne})})(),Te=(()=>{const I=Me(new Set(g));return Object.assign(Object.assign({},I),{add:ne=>{I.update(ge=>new Set([...ge].concat(ne)))},remove:ne=>{I.update(ge=>{const Fe=[...ge];return new Set(Array.isArray(ne)?Fe.filter(Xe=>!ne.includes(Xe)):Fe.filter(Xe=>Xe!==ne))})},includes:ne=>{const ge=et(I);return Array.isArray(ne)?ne.every(Fe=>ge.has(Fe)):ge.has(ne)}})})();ye({message:"create store"});const Ge=I=>{const ne=I.container;ne.append(L.experimental.element$.getValue()),st=new MutationObserver(ge=>{const{removedNodes:Fe}=ge[0];Fe.length&&ne.append(L.experimental.element$.getValue())}),st.observe(ne,{childList:!0})},Re=I=>{ye({message:`init video, config: ${JSON.stringify(I)}`}),w?Ge(I):L.initVideo(I),I.subtitles&&L.setExternalTextTracks(I.subtitles),Ie=I},Je=new ie.Subject,xe=I=>Je.next(I),ut=new ie.Subject,rt=new ie.Subject,Tt=new ie.Subject;let st=null;const Xt={actionRewind$:ut,actionSeek$:rt,inPiP$:ce,inFullscreen$:new ie.Observable(I=>$.subscribe(ne=>I.next(ne))),actionSetSubtitle$:Tt,nextMovie$:Je};if(z){const{oneStat:I,statSubscription:ne}=z;ne.add(I.attachTo(L)),ne.add(I.attachToUi(Xt)),ne.add(I.attachToAds(te.events)),I.authorize(l).catch(ge=>{ye({message:`onestat auth error ${String(ge)}`})})}if(P){const I=new ie.Subscription,ne=(ge,Fe)=>I.add(ge.subscribe(Fe));if(ne(L.events.managedError$,ge=>{P.logIError(ge)}),ne(L.events.fatalError$,ge=>{P.logIError(ge,!0)}),z){const{oneStat:ge}=z;ne(ge.experimental.error$,Fe=>{P.logIError(Fe)})}P.sentrySubscription.add(I)}const wt=()=>{ie.isIOS()&&Ne&&S4(Ne)},ze=new ie.Subscription().add(L.experimental.element$.subscribe(I=>{I&&(Ne=I,I.classList.add("player-media"),_l(ee)&&(ee.updateVideoElement(),ee.registryEventHandlers()),w&&I.setAttribute("pip","false"))})).add(L.events.ended$.subscribe(()=>{var I;wt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(L.events.started$.subscribe(()=>mi(void 0,void 0,void 0,function*(){var I,ne;_l(ee)&&(yield ee==null?void 0:ee.revealPictureInPicture());const ge=L.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(ne=_e.onStarted)===null||ne===void 0||ne.call(_e,ge)}))).add(L.events.willSeek$.subscribe(({from:I,to:ne})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,I,ne)})).add(L.info.position$.subscribe(I=>{var ne;const ge=L.info.duration$.getValue();(ne=s==null?void 0:s.onTimeupdate)===null||ne===void 0||ne.call(s,ge,I),te.setPosition(I,ge)})).add(L.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(L.info.is3DVideo$.subscribe(I=>{bt.ui.is3DVideo.set(I)})).add(L.info.isEnded$.subscribe(I=>{w&&(I?(C!=null&&C.getValue()&&Te.add(L1),Te.add(dt.PLAY_BUTTON)):Te.remove(dt.PLAY_BUTTON))})).add(L.info.liveTime$.subscribe(I=>{var ne;(ne=s==null?void 0:s.onLiveTime)===null||ne===void 0||ne.call(s,I)})).add(L.info.isStalled$.subscribe(I=>{var ne;(ne=s==null?void 0:s.onStalledChanged)===null||ne===void 0||ne.call(s,I)})),fe=new ie.Subscription,gt=()=>{fe.add(L.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(B.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},at=()=>{fe.unsubscribe()},Nt=(I,ne)=>{L.startCameraManualRotation(I,ne)},mt=(I=!1)=>{L.stopCameraManualRotation(I)},Pt=(I,ne,ge)=>{L.moveCameraFocusPX(I,ne,ge)},$e=()=>{L.holdCamera()},Ze=()=>{L.releaseCamera()},kt=Rn(L.info.position$.getValue(),I=>{let ne,ge;const Fe=()=>{const Xe=L.info.playbackState$.getValue(),ft=L.info.isLive$.getValue(),Bt=L.info.duration$.getValue(),_t=L.info.position$.getValue();if([tt.PlaybackState.PLAYING,tt.PlaybackState.PAUSED].includes(Xe)){const Ti=ft?_t-Bt:L.getExactTime();Ti!==ge&&I(Ti),ge=Ti}ne=requestAnimationFrame(Fe)};return Fe(),()=>cancelAnimationFrame(ne)}),en=yt(ce),ni=yt(L.info.playbackState$),Ei=yt(L.info.currentBuffer$),tn=yt(L.info.isEnded$),oi=yt(L.info.isLive$),Jt=X.features.playbackRate?yt(L.info.canChangePlaybackSpeed$):Rn(!1),li=yt(L.info.liveBufferTime$),Ot=yt(L.info.volume$),pi=yt(L.info.muted$),Ii=N1(L.info.autoQualityLimits$.pipe(ie.map(({max:I})=>I!==void 0)),((Y=L.info.autoQualityLimits$.getValue())===null||Y===void 0?void 0:Y.max)!==void 0),ri=yt(L.info.autoQualityLimitingAvailable$),Ai=yt(L.info.availableQualities$),hi=yt(L.info.availableQualitiesFps$),si=yt(L.info.chromecastState$),Li=yt(L.info.chromecastDeviceName$),Vi=yt(L.info.currentFormat$),Mi=yt(L.info.throughputEstimation$),Bi=yt(L.info.videoBitrate$),vi=yt(L.info.intrinsicVideoSize$),At=yt(L.info.duration$),gi=yt(L.info.isAudioAvailable$);let Vt=null;const ai=L.info.isBuffering$,ct=Rn(ai.getValue(),I=>{const ne=ai.subscribe(ge=>{ge&&Vt===null?Vt=window.setTimeout(()=>{I(ai.getValue()),Vt=null},X.loaderDelay):I(ge)});return()=>{ne.unsubscribe(),Vt&&clearTimeout(Vt)}}),pt=()=>{Vt&&clearTimeout(Vt),Vt=null},jt=Wi([At,oi],([I,ne])=>ne?-I:I),Dt=Wi([ni],([I])=>I===tt.PlaybackState.PLAYING),bi=yt(L.info.atLiveEdge$),ui=yt(L.info.atLiveDurationEdge$),xt=yt(L.info.position$),ci=Wi([xt,At],([I,ne])=>isFinite(I)&&isFinite(ne)&&!!ne),Ni=Wi([si],([I])=>I===tt.ChromecastState.CONNECTED),Lt=Me(void 0),Ki=yt(L.info.isAutoQualityEnabled$,I=>I&&Lt.set(void 0)),Gi=yt(L.info.currentQuality$,()=>Lt.set(void 0)),Yi=Wi([Lt,Gi],([I,ne])=>I!=null?I:ne),Ri=Wi([Ai,hi,Ki,Yi,Vi],([I,ne,ge,Fe,Xe])=>{const ft=[];Xe!==tt.VideoFormat.MPEG&&ft.push({value:Po.AUTO,displayValue:le("auto_quality_option"),selected:ge});const Bt=I.filter(_t=>_t!==ie.VideoQuality.INVARIANT);for(const _t of Bt){const Ti=ne[_t],Xn=_t===ie.VideoQuality.INVARIANT?le("auto_quality_option"):_t;ft.push({value:_t,displayValue:`${Xn}${Ti?Z5(Ti):""}`,selected:ge?!1:_t===Fe})}return ft}),Zt=yt(L.info.currentPlaybackRate$),_i=Wi([Zt,bi,ui],([I,ne,ge])=>{const Fe=ge||w?1:X.controls.playbackRateMin,Xe=ne?1:X.controls.playbackRateMax,ft=X.controls.playbackRateStep,Bt=[];for(let _t=Fe;_t<=Xe;_t+=ft)Bt.push({value:_t,displayValue:_t===1?le("playback_rate_1"):le("playback_rate",{multiplier:_t.toString(10)}),selected:I===_t});return Bt}),nn=X.features.subtitles?yt(L.info.availableTextTracks$):Rn([]),Oi=Wi([nn],([I],ne)=>{const ge=[],Fe=[];for(const Xe of I)Xe.url&&ge.push(U5(Xe.url));Promise.allSettled(ge).then(Xe=>{for(const[ft,Bt]of Xe.entries())Bt.status==="fulfilled"&&Bt.value.text().then(_t=>{const Ti=new K5,Xn=I[ft].language,Xo=!!I[ft].isAuto,Vo=Ti.parse(_t);Xn&&Vo&&Fe.push({lang:Xn,subtitles:Vo,isAuto:Xo}),ft===Xe.length-1&&ne(Fe)})})}),zt={displayValue:le("subtitles_off"),value:"off"},Ft=Me(Object.assign({},zt)),Di=Wi([Oi,Ft,Oi],([I,ne])=>{if((I==null?void 0:I.length)>0){const ge=[Object.assign(Object.assign({},zt),{selected:(ne==null?void 0:ne.value)===zt.value})];for(const{lang:Fe,isAuto:Xe}of I)er[Fe]&&ge.push({displayValue:Xe?le("subtitles_auto",{language:er[Fe]}):er[Fe],value:Fe,selected:(ne==null?void 0:ne.value)===Fe,isAuto:Xe});return ge}else return[]}),zi=Wi([kt,Ft,Oi],([I,ne,ge])=>{if(ne&&ne.value!==zt.value)return Y5(I,ne,ge)}),wi=Wi([zi],([I])=>I!=null&&I.texts?I.texts:[]),Fi=Me(!0),Hi=Wi([Ei,jt,xt,li],([I,ne,ge,Fe])=>{var Xe;const ft=(Xe=I==null?void 0:I.end)!==null&&Xe!==void 0?Xe:0;if(!Fe)return ft/ne;const _t=-ge+Fe-ne;return(ft-_t)/ne}),Wt=yt(L.info.availableSources$),Qi=Wi([Wt],([I])=>Object.keys((I==null?void 0:I[tt.VideoFormat.MPEG])||{}).length>0),Ui=()=>{var I,ne,ge;const Fe=Object.keys(((ne=(I=L.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||ne===void 0?void 0:ne[tt.VideoFormat.MPEG])||{}),Xe=ie.getHighestQuality(Fe)||ie.VideoQuality.Q_144P;return(ge=Ie.sources[tt.VideoFormat.MPEG])===null||ge===void 0?void 0:ge[Xe]},ki=()=>{var I;const ne=Ui();ne?z0(ne,((I=Ie==null?void 0:Ie.meta)===null||I===void 0?void 0:I.title)||"video"):ye({message:"There is no URL for download video"})},Zi=()=>{ye({message:"toggle muted"});const I=L.info.muted$.getValue(),Fe=!(L.info.volume$.getValue()===0||I);fi(Fe)},yi=()=>{bt.ui.settingsMenuVisible.set(!1)},Kt=I=>{bt.ui.settingsMenuOpenedByKeyboard.set(!!I),bt.ui.settingsMenuVisible.set(!0)},Ci=I=>{et(bt.ui.settingsMenuVisible)?yi():Kt(I)},Ue=(I,ne=I,ge=!1)=>{var Fe,Xe,ft;const Bt=!ge,_t=L.info.muted$.getValue();ye({message:`set volume, volume: ${I}, preferredVolume: ${ne}, internalCall: ${Bt}`}),L.setVolume(I),te.setVolume(I),Bt&&((Fe=s==null?void 0:s.onVolumeChange)===null||Fe===void 0||Fe.call(s,I)),Kr(ne),_t?(L.setMuted(!1),Bt&&((Xe=s==null?void 0:s.onUnmute)===null||Xe===void 0||Xe.call(s)),Bl(!1)):!_t&&I===0&&(L.setMuted(!0),Bt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),Bl(!0))},fi=(I,ne=!1)=>{var ge,Fe,Xe,ft;const Bt=!ne,_t=L.info.volume$.getValue();if(ye({message:`set muted, currentVolume: ${_t}, mute: ${I}, internalCall: ${Bt}`}),L.setMuted(I),te.setVolume(I?0:_t),Bl(I),Bt&&(I?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(Fe=s==null?void 0:s.onUnmute)===null||Fe===void 0||Fe.call(s)),_t===0){let Ti=(Xe=F1())!==null&&Xe!==void 0?Xe:X.volumeDefault;Ti===0&&(Ti=X.volumeMinRestore,Kr(Ti)),L.setVolume(Ti),te.setVolume(Ti),Bt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Ti))}},di=()=>{L.prepare()},Be=()=>{var I,ne;if(ie.assertNonNullable(bt),!et(bt.ui.controls.disabledControls$).has(dt.PLAY_BUTTON)){if(ye({message:"toggle play"}),et(bt.playerPhase)===De.Ads){te.togglePlay();return}if(L.info.playbackState$.getValue()!==tt.PlaybackState.PLAYING){if(L.info.isEnded$.getValue()){if(ye({message:"toggle play, video ended, seek to 0"}),ut.next(),rt.next(Ct.SeekAction.REWIND),w){k==null||k();return}L.seekTime(0)}ye({message:"toggle play, call player.play"}),L.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ye({message:"toggle play, call player.pause"}),L.pause(),(ne=s==null?void 0:s.onPause)===null||ne===void 0||ne.call(s)}},sn=I=>{ye({message:`set quality, quality: ${I}`}),L.setAutoQuality(I===Po.AUTO),I!==Po.AUTO?(F0(e,I),Lt.set(I),L.setQuality(I)):H1()},an=I=>{ye({message:`set trafficSavingEnabled, value: ${I}`}),L.setAutoQualityLimits({max:I?X.trafficSavingLimit:void 0}),q0(I)},Xi=I=>{L.setPlaybackRate(I)},un=()=>{const I=et(_i),ne=I.findIndex(({selected:Fe})=>Fe);if(ne===I.length-1)return;const ge=I[ne+1];Xi(ge.value)},Ji=()=>{const I=et(_i),ne=I.findIndex(({selected:Fe})=>Fe);if(ne===0)return;const ge=I[ne-1];Xi(ge.value)},Gt=I=>{I&&I.value!==zt.value&&Tt.next(I.isAuto?I.value+"_auto":I.value),Ft.set(I)},xi=()=>{const I=et(Di),ne=et(Ft),ge=et(he);if((ne==null?void 0:ne.value)===zt.value){const Fe=I.filter(Xe=>Xe.value!==zt.value).find(Xe=>Xe.value===ge)||I[1];Gt(Fe!=null?Fe:Object.assign({},zt))}else Gt(Object.assign(Object.assign({},zt),{selected:!1}))},Si=(I,ne,ge=!0)=>{if(ye({message:`seek to time, time: ${I}`}),rt.next(ne),L.info.isLive$.getValue()){const Fe=L.info.duration$.getValue(),Xe=Math.min(0,Fe+I);L.seekTime(Xe,ge)}else{if(C!=null&&C.getValue())return;L.seekTime(po(I),ge)}},qi=I=>{ye({message:`seek to episode start time: ${I}`}),Si(I,Ct.SeekAction.EPISODE,!0)},Rt=(I,ne)=>{ye({message:`seek to percent, percent: ${I}`});const ge=Math.round(et(jt)*I);Si(ge,ne,!1)},Yt=I=>{ye({message:`seek external, time: ${I}`}),rt.next(Ct.SeekAction.UNKNOWN),L.seekTime(L.info.isLive$.getValue()?-I:I)},oe=I=>{var ne,ge;ye({message:`set auto quality limitation. Max: ${(ne=I.max)!==null&&ne!==void 0?ne:"none"}. Min: ${(ge=I.min)!==null&&ge!==void 0?ge:"none"}`}),L.setAutoQualityLimits(I)},nt=I=>{ye({message:`seek external to episode start time: ${I}`}),Si(I,Ct.SeekAction.EPISODE,!0)},$t=I=>{ye({message:`set playback rate to: ${I}`}),L.setPlaybackRate(I)},Et=Me(void 0),Mt=Me(!1),wn=I=>{ye({message:`start scrubbing, progress: ${I}`}),Mt.set(!0),kn(I)},kn=I=>{Et.set(I)};let vn,cn;const ji=()=>{Et.set(void 0),Mt.set(!1)},yn=()=>{clearTimeout(cn),clearTimeout(vn),vn=window.setTimeout(()=>{ji()},500),Ne==null||Ne.removeEventListener("seeked",yn)},Mn=I=>{ye({message:`complete scrubbing, progress: ${I}`}),Rt(I,Ct.SeekAction.SLIDER),et(bt.ui.isMobile)&&et(bt.state.currentFormat$)===tt.VideoFormat.HLS?(Ne==null||Ne.addEventListener("seeked",yn),cn=window.setTimeout(()=>{yn()},300)):ji()},Bn=Wi([kt,jt,Et],([I,ne,ge],Fe)=>{Fe(ie.isNonNullable(ge)?ge*ne:I)}),Cn=Me({width:0,height:0}),Sn=Wi([Cn],([{width:I}],ne)=>{const ge=Vh(I);ne(ge)}),x=Me(!1),vt=Wi([Sn,x],([I,ne])=>ne?Q.filter(ge=>!ge.hideOnMobile):Q.filter(ge=>{var Fe;return!(!((Fe=ge.hideOnDesktopGridTypes)===null||Fe===void 0)&&Fe.includes(I))})),fn=Wi([x,Ae],([I,ne],ge)=>{ge(I&&ne)}),on=()=>{rt.next(Ct.SeekAction.LIVE),ye({message:"switch to active live"}),L.seekTime(0),L.info.playbackState$.getValue()!==tt.PlaybackState.PLAYING&&bt.actions.internal.togglePlay()},gn=()=>te.skip(),dn=(I=!0)=>{ie.assertNonNullable(bt),ye({message:`switch from ads to video, callPlay: ${I}`}),Le.set(De.Video),I&&L.play()},Kn=()=>{ie.assertNonNullable(bt),ye({message:"switch from video to ads"}),bt.actions.internal.pause(),wt(),Le.set(De.Ads)},Gn=I=>{ie.assertNonNullable(bt);const ne=I?De.WaitingLive:De.Thumb;Le.set(ne)},Yn=I=>{ie.assertNonNullable(bt);const ne=I?De.WaitingRecord:De.Thumb;Le.set(ne)},Nn=()=>(ie.assertNonNullable(bt),O0(L,Ie,bt)),Qn=()=>(ie.assertNonNullable(bt),D0(L,Ie,bt)),Pn=()=>Ne,mn=()=>{ye({message:"toggle chromecast"}),L.toggleChromecast()},J=I=>{var ne;ie.assertNonNullable(bt);const ge=!I;if(et(bt.playerPhase)===De.Ads){ye({message:`pause ads, internalCall: ${ge}`}),te.pause();return}ye({message:`pause video, internalCall: ${ge}`}),ge&&((ne=s==null?void 0:s.onPause)===null||ne===void 0||ne.call(s)),L.pause()},to=I=>{var ne;ie.assertNonNullable(bt);const ge=!I;if(et(bt.playerPhase)===De.Ads){ye({message:`play ads, internalCall: ${ge}`}),te.play();return}ye({message:`play video, internalCall: ${ge}`}),ge&&((ne=s==null?void 0:s.onPlay)===null||ne===void 0||ne.call(s)),L.play()},ao=(I,ne)=>{ie.assertNonNullable(bt),ye({message:`first start, show ads: ${I}, internalCall: ${!ne}`}),I?Le.set(De.Ads):(Le.set(De.Video),ne?L.play():bt.actions.internal.togglePlay())},io=()=>(ye({message:"getting time codes"}),c),uo=()=>{const I=io();if(!I||[0,1].includes(I.length))return;const ne=L.info.position$.getValue();return I.find(ge=>ge.time>ne)},co=I=>{let ne=I;ne||(ne=uo()),ne&&(ye({message:"seek to next episode"}),Si(ne.time,Ct.SeekAction.EPISODE,!0))},fo=()=>{const I=io();if(!I||[0,1].includes(I.length))return;const ne=L.info.position$.getValue(),ge=I.findIndex(Xe=>Xe.time>ne),Fe=ge===-1?I.length-2:ge-2;if(!(Fe<0))return I[Fe]},W=I=>{let ne=I;ne||(ne=fo()),ne&&(ye({message:"seek to prev episode"}),Si(ne.time,Ct.SeekAction.EPISODE,!0))},It=()=>(ye({message:"getting preview thumbs data"}),f),bn=()=>mi(void 0,void 0,void 0,function*(){ee!=null&&ee.isActive()?yield ee==null?void 0:ee.remove():yield ee==null?void 0:ee.request()}),ln=(I=-90)=>{We.update(ne=>ne+I)},Tn=Me([]);b==null||b.subscribe(I=>{const ne=[];for(let ge=0;ge<I.length;ge++){const{range:[Fe,Xe],subjects:ft}=I[ge];ge===0&&Fe!==0&&ne.push({time:0,text:"",interactive:!1,completed:!0}),ne.push({time:Fe/1e3,text:"",interactive:!0,completed:!ft.length}),Xe!==1/0&&ne.push({time:Xe/1e3,text:"",interactive:!1,completed:!0})}Tn.set(ne)});const mo=Me(!1);C==null||C.subscribe(I=>{I&&et(Mt)&&ji()});const po=I=>{if(!w)return I;const ne=et(Tn),ge=et(jt),Xe=et(xt)/ge,ft=ne.find(Bt=>Bt.interactive&&!Bt.completed&&Bt.time>Xe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(I,ft.time-.05):I},Yo=()=>{bt.ui.episodes.panelOpened$.set(!1)},Qo=()=>{clearTimeout(cn),clearTimeout(vn),ze.unsubscribe(),fe.unsubscribe(),L.destroy(),te.destroy(),z==null||z.destroy(),P==null||P.destroy(),Ve.unsubscribe(),st==null||st.disconnect(),st=null},bt={interfaceLanguage$:he,initVideo:Re,videoId:e,isClip:t,playerPhase:pe,vsid:q,state:{positionExact$:kt,positionWithScrubbing$:Bn,duration$:jt,playbackState$:ni,isPlaying$:Dt,isLoaderVisible:ct,bufferedProgress$:Hi,isLive$:oi,canChangePlaybackSpeed$:Jt,isActiveLive$:bi,isOldestAvailableLive$:ui,isRewindableLive$:ci,isEnded$:tn,muted$:pi,volume$:Ot,trafficSavingEnabled$:Ii,autoQualityLimitingAvailable$:ri,currentQuality$:Yi,isAutoQualityEnabled$:Ki,availableQualities$:Ri,currentPlaybackRate$:Zt,availablePlaybackRates$:_i,currentSubtitle$:Ft,availableSubtitlesList$:Di,currentSubtitleCaptions$:wi,isAutoSubtitleCaptionVisible$:Fi,chromecastState$:si,chromecastDeviceName$:Li,chromecastConnected$:Ni,currentFormat$:Vi,throughputEstimation$:Mi,videoBitrate$:Bi,videoSize$:vi,errorLog$:Oe,crashed$:Ae,isAudioAvailable$:gi,isAudioDisabled:!!r,canDownload:X.features.download&&!!o,availableSources$:Wt,hasMpegSources$:Qi,isInteractive:w,showInteractiveGraph:X.features.interactiveGraph,showSeekToInteractive:X.features.seekToInteractive,showPlayPrevChapter:X.features.interactivePlayPrevChapter,showInteractiveTimeIndicator:X.features.interactiveTimeIndicator&&!!et(Tn).length,interactiveEpisodes$:Tn,isInteractiveTime$:C?yt(C):Me(!1),graphIsOpened$:Me(!1),isInteractiveExpectation$:mo,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:V,showInteractiveTimeIndicatorTooltip$:Me(!1)},ui:{controlsVisible:Me(!1),touched:Me(!1),controls:{prevButton:Me(void 0),playButton:Me(void 0),replayButton:Me(void 0),nextButton:Me(void 0),playPrevChapterButton:Me(void 0),seekToInteractiveButton:Me(void 0),interactiveGraphButton:Me(void 0),liveButton:Me(void 0),time:Me(void 0),episodes:Me(void 0),volume:Me(void 0),subtitles:Me(void 0),settings:Me(void 0),context:Me(void 0),chromecast:Me(void 0),pip:Me(void 0),fullscreen:Me(void 0),vkLogo:Me(void 0),interactiveTimeIndicator:Me(void 0),additionalButtons:Q.length?Q.reduce(I=>[...I,Me(void 0)],[]):[],disabledControls$:Te},modals:{hotKeyMap:{show:Me(!1),data:Me({title:"",closeBtnText:"",groups:[]})}},isFullscreen:$,rotateAlpha:We,isAutoplay:Me(!1),contextMenuVisible:Me(!1),debugPanelVisible:Me(!1),episodes:{panelOpened$:Me(!1),openedByKeyboard$:Me(!1)},contextMenu:{btnRef$:Me(void 0),openedByKeyboard$:Me(!1),showContextMenuBtn$:Me(!1)},playerSize:Cn,isMobile:x,mobileNotReportControlHidden$:fn,mobileUnmuteButtonExpanded:Me(!1),mobileUnmuteButtonVisible:Me(!1),icon3DVideoVisible:Me(!1),settingsMenuVisible:Me(!1),settingsMenuOpenedByKeyboard:Me(!1),scrubbingInProgress:Mt,is3DVideo:Me(!1),isPictureInPictureActive$:en,pictureInPictureType$:Rn(ae),clientInfo$:Rn(Ce),currentGridType$:Sn,additionalButtons$:vt,interactiveHideMobileControls:Me(!1),overlayContainer$:Me(void 0),startedByKeyboard$:Me(!1)},ads:{position:Me(0),duration:Me(0),playbackState:Me(ti.INACTIVE),canSkip:Me(!1),secondsToWatchBeforeSkip:Me(0),postrollPassed:Me(!1)},webApi:{pictureInPictureApi:ee,annotationsApi:Pe},actions:{internal:{preload:di,firstStart:I=>ao(I,!1),pause:()=>J(!1),togglePlay:Be,toggleMuted:Zi,toggleSettingsMenu:Ci,openSettingsMenu:Kt,closeSettingsMenu:yi,setVolume:Ue,setQuality:sn,setTrafficSavingEnabled:I=>an(I),setPlaybackRate:Xi,incrementPlaybackRate:un,decrementPlaybackRate:Ji,setSubtitle:Gt,toggleSubtitle:xi,togglePictureInPicture:bn,startScrubbing:wn,progressScrubbing:kn,completeScrubbing:Mn,toggleChromecast:mn,switchToActiveLive:on,switchFromAdsToVideo:dn,switchFromVideoToAds:Kn,skipAd:gn,setWaitingLive:Gn,setWaitingRecord:Yn,getDebugTextData:Nn,getDebugPanelData:Qn,getVideoElement:Pn,seekTime:(I,ne,ge)=>Si(I,ne,ge),clearDelayedBufferingCheckTimeout:pt,seekEpisodeStartTime:qi,seekToPercent:Rt,getNextEpisode:uo,seekToNextEpisode:co,getPrevEpisode:fo,seekToPrevEpisode:W,startLogging:gt,stopLogging:at,startCameraManualRotation:Nt,stopCameraManualRotation:mt,moveCameraFocusPX:Pt,holdCamera:$e,releaseCamera:Ze,getVideoEpisodes:io,getPreviewThumbsData:It,downloadVideo:ki,addLanguage:gs,setLanguage:ue,nextMovie:xe,videoRotate:ln,correctSeekTimeToInteractive:po,replayInteractive:k},external:{firstStart:I=>ao(I,!0),play:()=>to(!0),pause:()=>J(!0),seekTime:I=>Yt(I),seekEpisodeStartTime:I=>nt(I),setPlaybackRate:I=>$t(I),setAutoQualityLimits:I=>oe(I),setMuted:I=>fi(I,!0),setVolume:I=>Ue(I,I,!0),returnFocusToEpisodes:Yo}},callbacks:s,setUiCallbacks:I=>{_e=Object.assign({},I)},getAdmanWrapper:()=>te,getLogger:()=>B,destroy:Qo};return bt},pf=(i,e,t,n)=>{var l;if(!i)return;const r=["interactiveTimeIndicator"],o=i.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=t[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},hf=(i,e,t)=>mi(void 0,void 0,void 0,function*(){yield Fo(),e&&t&&(t.focus(),i.set(!1))});function J5(i){let e,t;return{c(){e=N("svg"),t=N("path"),u(t,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(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","dots-icon")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class x5 extends ke{constructor(e){super(),we(this,e,null,J5,be,{})}}function $5(i){let e,t;return e=new x5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function eg(i){let e,t,n;function l(o){i[8](o)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],ariaExpanded:i[3],$$slots:{default:[$5]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s&4&&(t=!0,a.ref=o[2],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tg(i,e,t){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=St(),s=o.ui.contextMenuVisible;D(i,s,b=>t(3,n=b));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,d=b=>{const C=wr(b);a.set(C),s.set(!n)};let h;const _=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(b){h=b,t(2,h)}return i.$$set=b=>{"disabled"in b&&t(0,l=b.disabled),"ariaLabel"in b&&t(1,r=b.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,d,_,g,w]}class ig extends ke{constructor(e){super(),we(this,e,tg,eg,be,{disabled:0,ariaLabel:1})}}function ng(i){Ke(i,"v-iigqlx",".interactive-episode-icon-animated.v-iigqlx{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-iigqlx{opacity:0;visibility:hidden}.fullscreen.v-iigqlx:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-iigqlx{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-iigqlx{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-iigqlx{top:40px;right:16px}}@keyframes v-iigqlx-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-iigqlx:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-iigqlx-pulse infinite;transition:0.3ms;pointer-events:none}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-iigqlx{position:absolute;top:0;width:100%;height:100%}.hidden.v-iigqlx{display:none}")}function og(i){let e,t,n,l;return e=new Gc({props:{completed:!0}}),{c(){U(e.$$.fragment),t=R(),n=E("div"),u(n,"class","ref-block v-iigqlx"),M(n,"hidden",i[1])},m(r,o){F(e,r,o),T(r,t,o),T(r,n,o),i[18](n),l=!0},p(r,o){(!l||o&2)&&M(n,"hidden",r[1])},i(r){l||(m(e.$$.fragment,r),l=!0)},o(r){v(e.$$.fragment,r),l=!1},d(r){r&&(S(t),S(n)),H(e,r),i[18](null)}}}function lg(i){let e,t,n,l,r,o;function s(c){i[19](c)}let a={tooltipContent:G("tooltip_interactive_interaction_time_indicator"),tooltipActive:i[2],initialTranslateYPx:72,tooltipPlacement:"bottom",$$slots:{default:[og]},$$scope:{ctx:i}};return i[0]!==void 0&&(a.ref=i[0]),t=new qt({props:a}),Se.push(()=>je(t,"ref",s)),t.$on("click",i[11]),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","interactive-episode-icon-animated v-iigqlx"),M(e,"mobile",i[3]),M(e,"fullscreen",i[4]),M(e,"invisible",i[1])},m(c,f){T(c,e,f),F(t,e,null),l=!0,r||(o=ve(e,"mousemove",lt(i[17])),r=!0)},p(c,[f]){const d={};f&4&&(d.tooltipActive=c[2]),f&8388611&&(d.$$scope={dirty:f,ctx:c}),!n&&f&1&&(n=!0,d.ref=c[0],qe(()=>n=!1)),t.$set(d),(!l||f&8)&&M(e,"mobile",c[3]),(!l||f&16)&&M(e,"fullscreen",c[4]),(!l||f&2)&&M(e,"invisible",c[1])},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&S(e),H(t),r=!1,o()}}}function rg(i,e,t){var Z;let n,l,r,o,s,a,{ref:c=void 0}=e;const f=St(),d=f.ui.isMobile;D(i,d,Y=>t(3,s=Y));const h=f.ui.isFullscreen;D(i,h,Y=>t(4,a=Y));const _=f.state.isInteractiveTime$;D(i,_,Y=>t(15,r=Y));const g=f.state.showInteractiveTimeIndicatorTooltip$;D(i,g,Y=>t(13,n=Y));const w=f.ui.controlsVisible;D(i,w,Y=>t(16,o=Y));const b=(Z=f.callbacks)==null?void 0:Z.onInteractiveTimeIndicatorClick,{interactiveControlsOpacity$:C}=Uo();D(i,C,Y=>t(14,l=Y));let k,y,V,Q;const A=()=>{V||b==null||b()};zo(()=>{window.clearTimeout(k)});function z(Y){lo.call(this,i,Y)}function se(Y){Se[Y?"unshift":"push"](()=>{c=Y,t(0,c)})}function re(Y){c=Y,t(0,c)}return i.$$set=Y=>{"ref"in Y&&t(0,c=Y.ref)},i.$$.update=()=>{i.$$.dirty&65544&&t(12,y=!s&&o),i.$$.dirty&53248&&t(1,V=!r||!!l||y),i.$$.dirty&8194&&t(2,Q=n&&!V),i.$$.dirty&4&&Q&&(k=window.setTimeout(()=>{g.set(!1)},3e3))},[c,V,Q,s,a,d,h,_,g,w,C,A,y,n,l,r,o,z,se,re]}class vf extends ke{constructor(e){super(),we(this,e,rg,lg,be,{ref:0},ng)}}function sg(i){Ke(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 Ma(i,e,t){const n=i.slice();return n[209]=e[t].iconUrl,n[210]=e[t].ariaLabel,n[211]=e[t].testId,n[212]=e[t].onClick,n[213]=e[t].tooltip,n}function Ba(i){let e,t,n;function l(o){i[173](o)}let r={disabled:!i[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[ag]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].prevButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ag(i){let e,t;return e=new Tl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Na(i){let e,t,n;function l(o){i[174](o)}let r={disabled:i[74],tooltipContent:G("tooltip_restart"),$$slots:{default:[ug]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[2]&4096|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ug(i){let e,t;return e=new Ir({props:{click:i[128],disabled:i[74]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ra(i){let e,t,n;function l(o){i[176](o)}let r={tooltipContent:i[47],disabled:i[75],$$slots:{default:[cg]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&65536&&(a.tooltipContent=o[47]),s[2]&8192&&(a.disabled=o[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function cg(i){let e,t,n;function l(o){i[175](o)}let r={isMobile:!1,isPlaying:i[34],click:i[85],disabled:i[75]};return i[26]!==void 0&&(r.ref=i[26]),e=new Er({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.isPlaying=o[34]),s[2]&8192&&(a.disabled=o[75]),!t&&s[0]&67108864&&(t=!0,a.ref=o[26],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Oa(i){let e,t,n;function l(o){i[177](o)}let r={disabled:!i[8],tooltipContent:G("tooltip_next"),$$slots:{default:[fg]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].nextButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fg(i){let e,t;return e=new Tl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function dg(i){let e,t,n,l,r=i[121]&&mg(i),o=i[120]&&hg(i),s=i[119]&&gg(i);return{c(){r&&r.c(),e=R(),o&&o.c(),t=R(),s&&s.c(),n=ht()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&o.p(a,c),a[119]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(t),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function mg(i){let e,t,n;function l(o){i[178](o)}let r={disabled:i[73],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(i[124]),$$slots:{default:[pg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&2048&&(a.disabled=o[73]),s[0]&131072|s[2]&2048|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playPrevChapterButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function pg(i){let e,t;return e=new af({props:{disabled:i[73],click:i[17]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[2]&2048&&(r.disabled=n[73]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function hg(i){let e,t,n;function l(o){i[179](o)}let r={disabled:i[76],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(i[78]),$$slots:{default:[vg]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&16384&&(a.disabled=o[76]),s[2]&65536&&(a.disabledTooltipContent=G(o[78])),s[0]&32768|s[2]&16384|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].seekToInteractiveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function vg(i){let e,t;return e=new lf({props:{disabled:i[76],click:i[15]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[2]&16384&&(r.disabled=n[76]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function gg(i){let e,t,n;function l(o){i[180](o)}let r={tooltipContent:i[48],disabled:i[77],$$slots:{default:[bg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&32768&&(a.disabled=o[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveGraphButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function bg(i){let e,t;return e=new rf({props:{click:i[16],graphIsOpened:i[31],disabled:i[77]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Da(i){let e,t,n;function l(o){i[181](o)}let r={tooltipContent:i[50],$$slots:{default:[_g]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.tooltipContent=o[50]),s[0]&2097152|s[1]&524288|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].liveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function _g(i){let e,t;return e=new $c({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[50]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function za(i){let e,t,n;function l(o){i[182](o)}let r={isMobile:!1,showDuration:i[55],position:i[4]?i[79]:i[80],duration:i[4]?i[81]:i[82]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Zc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.showDuration=o[55]),s[0]&16|s[2]&393216&&(a.position=o[4]?o[79]:o[80]),s[0]&16|s[2]&1572864&&(a.duration=o[4]?o[81]:o[82]),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].time,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Fa(i){let e,t;return e=new of({props:{position:i[80],duration:i[82],timeCodes:i[101]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[2]&262144&&(r.position=n[80]),l[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function wg(i){let e,t,n=i[20]&&Fa(i);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=Fa(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){t||(m(n),t=!0)},o(l){v(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function kg(i){var n;let e,t;return e=new uf({props:{iconUrl:i[209],ariaLabel:(n=i[210])!=null?n:i[213],testId:i[211],onClick:i[212]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[209]),r[0]&268435456&&(o.ariaLabel=(s=l[210])!=null?s:l[213]),r[0]&268435456&&(o.testId=l[211]),r[0]&268435456&&(o.onClick=l[212]),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){v(e.$$.fragment,l),t=!1},d(l){H(e,l)}}}function Ha(i){let e,t;return e=new qt({props:{tooltipContent:i[213],width:40,$$slots:{default:[kg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[213]),l[0]&268435456|l[6]&1073741824&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ua(i){let e,t,n;function l(o){i[185](o)}let r={disabled:!i[6],tooltipContent:i[51],$$slots:{default:[yg]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].vkLogo,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function yg(i){let e,t;return e=new Jc({props:{click:i[86],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Cg(i){let e,t;return e=new Dh({props:{click:i[127]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qa(i){let e,t,n;function l(o){i[187](o)}let r={tooltipContent:i[52],$$slots:{default:[Sg]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].subtitles,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Sg(i){let e,t;return e=new Y3({props:{isSubtitlesEnabled:i[18],click:i[87]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ja(i){var s;let e,t,n,l;function r(a){i[188](a)}let o={supportLink:i[10],playerControlsHeight:(s=i[46])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(o.ref=i[24]),t=new Wc({props:o}),Se.push(()=>je(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),F(t,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(d=a[46])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){l||(m(t.$$.fragment,a),l=!0)},o(a){v(t.$$.fragment,a),l=!1},d(a){a&&S(e),H(t)}}}function Wa(i){let e,t,n;function l(o){i[190](o)}let r={tooltipContent:i[27]?void 0:G("tooltip_settings_off"),$$slots:{default:[Tg]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].settings,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Tg(i){let e,t,n;function l(o){i[189](o)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Sr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=o[25],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Pg(i){let e,t,n;function l(o){i[191](o)}let r={className:i[41]?"":"out-of-view",tooltipContent:i[49],$$slots:{default:[Eg]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&1024&&(a.className=o[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=o[49]),s[1]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].context,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Eg(i){let e,t;return e=new ig({props:{ariaLabel:i[49]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Za(i){let e,t,n;function l(o){i[192](o)}let r={tooltipContent:i[53],$$slots:{default:[Ig]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&1073750016|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].fullscreen,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ig(i){let e,t;return e=new Qc({props:{click:i[13],isFullscreen:i[30]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ka(i){let e,t,n;function l(o){i[193](o)}let r={tooltipContent:i[54],$$slots:{default:[Ag]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&536870912|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].chromecast,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ag(i){let e,t;return e=new xc({props:{isMobile:!1,state:i[29],click:i[126]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lg(i){let e,t,n;function l(o){i[196](o)}let r={};return i[23].interactiveTimeIndicator!==void 0&&(r.ref=i[23].interactiveTimeIndicator),e=new vf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveTimeIndicator,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Vg(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L;t=new nf({props:{isHidden:!i[45],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let B=i[38]&&Ba(i),te=i[35]&&Na(i),P=i[36]&&Ra(i),ee=i[37]&&Oa(i),Pe=i[117]&&dg(i),ye=!i[4]&&i[33]&&Da(i),Ie=i[19]&&za(i);function Ne(pe){i[183](pe)}let _e={className:"w-max",disabled:!i[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[wg]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(_e.ref=i[23].episodes),_=new qt({props:_e}),Se.push(()=>je(_,"ref",Ne));let Ce=Qt(i[28]),q=[];for(let pe=0;pe<Ce.length;pe+=1)q[pe]=Ha(Ma(i,Ce,pe));const $=pe=>v(q[pe],1,1,()=>{q[pe]=null});let ce=i[43]&&Ua(i);function ae(pe){i[186](pe)}let We={$$slots:{default:[Cg]},$$scope:{ctx:i}};i[23].volume!==void 0&&(We.ref=i[23].volume),V=new qt({props:We}),Se.push(()=>je(V,"ref",ae));let Oe=i[40]&&qa(i),Ve=!i[83]&&!i[4]&&ja(i),Ae=i[42]&&Wa(i),ue=i[84].features.contextMenuButton&&Pg(i),he=i[44]&&Za(i),le=i[39]&&Ka(i),Le=i[122]&&Lg(i);return{c(){e=E("div"),U(t.$$.fragment),n=R(),l=E("div"),r=E("div"),B&&B.c(),o=R(),te&&te.c(),s=R(),P&&P.c(),a=R(),ee&&ee.c(),c=R(),Pe&&Pe.c(),f=R(),ye&&ye.c(),d=R(),Ie&&Ie.c(),h=R(),U(_.$$.fragment),b=R(),C=E("div");for(let pe=0;pe<q.length;pe+=1)q[pe].c();k=R(),ce&&ce.c(),y=R(),U(V.$$.fragment),A=R(),Oe&&Oe.c(),z=R(),Ve&&Ve.c(),se=R(),Ae&&Ae.c(),re=R(),ue&&ue.c(),Z=R(),he&&he.c(),Y=R(),le&&le.c(),O=R(),Le&&Le.c(),X=ht(),u(r,"class","controls-left v-st0uzk"),Eo(()=>i[184].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",i[1]),M(e,"controls-hidden",!i[3]),M(e,"no-smooth",i[2])},m(pe,Te){T(pe,e,Te),F(t,e,null),p(e,n),p(e,l),p(l,r),B&&B.m(r,null),p(r,o),te&&te.m(r,null),p(r,s),P&&P.m(r,null),p(r,a),ee&&ee.m(r,null),p(r,c),Pe&&Pe.m(r,null),p(r,f),ye&&ye.m(r,null),p(r,d),Ie&&Ie.m(r,null),p(r,h),F(_,r,null),w=fr(r,i[184].bind(r)),p(l,b),p(l,C);for(let Ge=0;Ge<q.length;Ge+=1)q[Ge]&&q[Ge].m(C,null);p(C,k),ce&&ce.m(C,null),p(C,y),F(V,C,null),p(C,A),Oe&&Oe.m(C,null),p(C,z),Ve&&Ve.m(C,null),p(C,se),Ae&&Ae.m(C,null),p(C,re),ue&&ue.m(C,null),p(C,Z),he&&he.m(C,null),p(C,Y),le&&le.m(C,null),i[194](l),i[195](e),T(pe,O,Te),Le&&Le.m(pe,Te),T(pe,X,Te),L=!0},p(pe,Te){const Ge={};Te[1]&16384&&(Ge.isHidden=!pe[45]),Te[0]&16&&(Ge.isAds=pe[4]),Te[0]&32&&(Ge.canRewindLive=pe[5]),Te[1]&2&&(Ge.isRewindableLive=pe[32]),t.$set(Ge),pe[38]?B?(B.p(pe,Te),Te[1]&128&&m(B,1)):(B=Ba(pe),B.c(),m(B,1),B.m(r,o)):B&&(de(),v(B,1,1,()=>{B=null}),me()),pe[35]?te?(te.p(pe,Te),Te[1]&16&&m(te,1)):(te=Na(pe),te.c(),m(te,1),te.m(r,s)):te&&(de(),v(te,1,1,()=>{te=null}),me()),pe[36]?P?(P.p(pe,Te),Te[1]&32&&m(P,1)):(P=Ra(pe),P.c(),m(P,1),P.m(r,a)):P&&(de(),v(P,1,1,()=>{P=null}),me()),pe[37]?ee?(ee.p(pe,Te),Te[1]&64&&m(ee,1)):(ee=Oa(pe),ee.c(),m(ee,1),ee.m(r,c)):ee&&(de(),v(ee,1,1,()=>{ee=null}),me()),pe[117]&&Pe.p(pe,Te),!pe[4]&&pe[33]?ye?(ye.p(pe,Te),Te[0]&16|Te[1]&4&&m(ye,1)):(ye=Da(pe),ye.c(),m(ye,1),ye.m(r,d)):ye&&(de(),v(ye,1,1,()=>{ye=null}),me()),pe[19]?Ie?(Ie.p(pe,Te),Te[0]&524288&&m(Ie,1)):(Ie=za(pe),Ie.c(),m(Ie,1),Ie.m(r,h)):Ie&&(de(),v(Ie,1,1,()=>{Ie=null}),me());const Re={};if(Te[0]&1048576&&(Re.disabled=!pe[20]),Te[0]&1048576|Te[2]&1310720|Te[6]&1073741824&&(Re.$$scope={dirty:Te,ctx:pe}),!g&&Te[0]&8388608&&(g=!0,Re.ref=pe[23].episodes,qe(()=>g=!1)),_.$set(Re),Te[0]&268435456){Ce=Qt(pe[28]);let xe;for(xe=0;xe<Ce.length;xe+=1){const ut=Ma(pe,Ce,xe);q[xe]?(q[xe].p(ut,Te),m(q[xe],1)):(q[xe]=Ha(ut),q[xe].c(),m(q[xe],1),q[xe].m(C,k))}for(de(),xe=Ce.length;xe<q.length;xe+=1)$(xe);me()}pe[43]?ce?(ce.p(pe,Te),Te[1]&4096&&m(ce,1)):(ce=Ua(pe),ce.c(),m(ce,1),ce.m(C,y)):ce&&(de(),v(ce,1,1,()=>{ce=null}),me());const Je={};Te[6]&1073741824&&(Je.$$scope={dirty:Te,ctx:pe}),!Q&&Te[0]&8388608&&(Q=!0,Je.ref=pe[23].volume,qe(()=>Q=!1)),V.$set(Je),pe[40]?Oe?(Oe.p(pe,Te),Te[1]&512&&m(Oe,1)):(Oe=qa(pe),Oe.c(),m(Oe,1),Oe.m(C,z)):Oe&&(de(),v(Oe,1,1,()=>{Oe=null}),me()),!pe[83]&&!pe[4]?Ve?(Ve.p(pe,Te),Te[0]&16|Te[2]&2097152&&m(Ve,1)):(Ve=ja(pe),Ve.c(),m(Ve,1),Ve.m(C,se)):Ve&&(de(),v(Ve,1,1,()=>{Ve=null}),me()),pe[42]?Ae?(Ae.p(pe,Te),Te[1]&2048&&m(Ae,1)):(Ae=Wa(pe),Ae.c(),m(Ae,1),Ae.m(C,re)):Ae&&(de(),v(Ae,1,1,()=>{Ae=null}),me()),pe[84].features.contextMenuButton&&ue.p(pe,Te),pe[44]?he?(he.p(pe,Te),Te[1]&8192&&m(he,1)):(he=Za(pe),he.c(),m(he,1),he.m(C,Y)):he&&(de(),v(he,1,1,()=>{he=null}),me()),pe[39]?le?(le.p(pe,Te),Te[1]&256&&m(le,1)):(le=Ka(pe),le.c(),m(le,1),le.m(C,null)):le&&(de(),v(le,1,1,()=>{le=null}),me()),(!L||Te[0]&2)&&M(e,"hidden",pe[1]),(!L||Te[0]&8)&&M(e,"controls-hidden",!pe[3]),(!L||Te[0]&4)&&M(e,"no-smooth",pe[2]),pe[122]&&Le.p(pe,Te)},i(pe){if(!L){m(t.$$.fragment,pe),m(B),m(te),m(P),m(ee),m(Pe),m(ye),m(Ie),m(_.$$.fragment,pe);for(let Te=0;Te<Ce.length;Te+=1)m(q[Te]);m(ce),m(V.$$.fragment,pe),m(Oe),m(Ve),m(Ae),m(ue),m(he),m(le),m(Le),L=!0}},o(pe){v(t.$$.fragment,pe),v(B),v(te),v(P),v(ee),v(Pe),v(ye),v(Ie),v(_.$$.fragment,pe),q=q.filter(Boolean);for(let Te=0;Te<q.length;Te+=1)v(q[Te]);v(ce),v(V.$$.fragment,pe),v(Oe),v(Ve),v(Ae),v(ue),v(he),v(le),v(Le),L=!1},d(pe){pe&&(S(e),S(O),S(X)),H(t),B&&B.d(),te&&te.d(),P&&P.d(),ee&&ee.d(),Pe&&Pe.d(),ye&&ye.d(),Ie&&Ie.d(),H(_),w(),Vn(q,pe),ce&&ce.d(),H(V),Oe&&Oe.d(),Ve&&Ve.d(),Ae&&Ae.d(),ue&&ue.d(),he&&he.d(),le&&le.d(),i[194](null),i[195](null),Le&&Le.d(pe)}}}function Mg(i,e,t){var Dr,zr;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe=K,ye=()=>(Pe(),Pe=ei(re,j=>t(144,ee=j)),re),Ie,Ne=K,_e=()=>(Ne(),Ne=ei(se,j=>t(145,Ie=j)),se),Ce,q=K,$=()=>(q(),q=ei(z,j=>t(146,Ce=j)),z),ce,ae=K,We=()=>(ae(),ae=ei(A,j=>t(147,ce=j)),A),Oe,Ve=K,Ae=()=>(Ve(),Ve=ei(Q,j=>t(148,Oe=j)),Q),ue,he=K,le=()=>(he(),he=ei(V,j=>t(149,ue=j)),V),Le,pe=K,Te=()=>(pe(),pe=ei(y,j=>t(150,Le=j)),y),Ge,Re=K,Je=()=>(Re(),Re=ei(k,j=>t(151,Ge=j)),k),xe,ut=K,rt=()=>(ut(),ut=ei(C,j=>t(152,xe=j)),C),Tt,st=K,Xt=()=>(st(),st=ei(b,j=>t(153,Tt=j)),b),wt,ze=K,fe=()=>(ze(),ze=ei(w,j=>t(154,wt=j)),w),gt,at=K,Nt=()=>(at(),at=ei(g,j=>t(155,gt=j)),g),mt,Pt=K,$e=()=>(Pt(),Pt=ei(_,j=>t(156,mt=j)),_),Ze,kt=K,en=()=>(kt(),kt=ei(h,j=>t(157,Ze=j)),h),ni,Ei=K,tn=()=>(Ei(),Ei=ei(d,j=>t(158,ni=j)),d),oi,Jt=K,li=()=>(Jt(),Jt=ei(f,j=>t(159,oi=j)),f),Ot,pi=K,Ii=()=>(pi(),pi=ei(c,j=>t(160,Ot=j)),c),ri,Ai,hi,si,Li,Vi,Mi,Bi,vi,At,gi,Vt,ai,ct,pt,jt,Dt,bi,ui,xt,ci,Ni,Lt;i.$$.on_destroy.push(()=>Pe()),i.$$.on_destroy.push(()=>Ne()),i.$$.on_destroy.push(()=>q()),i.$$.on_destroy.push(()=>ae()),i.$$.on_destroy.push(()=>Ve()),i.$$.on_destroy.push(()=>he()),i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>Re()),i.$$.on_destroy.push(()=>ut()),i.$$.on_destroy.push(()=>st()),i.$$.on_destroy.push(()=>ze()),i.$$.on_destroy.push(()=>at()),i.$$.on_destroy.push(()=>Pt()),i.$$.on_destroy.push(()=>kt()),i.$$.on_destroy.push(()=>Ei()),i.$$.on_destroy.push(()=>Jt()),i.$$.on_destroy.push(()=>pi());let{bottomHidden:Ki}=e,{bottomNoSmooth:Gi}=e,{showControls:Yi}=e,{controlsElementRef:Ri=void 0}=e,{isAds:Zt=!1}=e,{canRewindLive:_i}=e,{logoClickable:nn}=e,{logoHidden:Oi}=e,{videoLogoUrl:zt}=e,{showNextPrevButtons:Ft}=e,{nextButtonActive:Di}=e,{prevButtonActive:zi}=e,{isOneVideoPlaylist:wi=!1}=e,{supportLink:Fi}=e,{customFullscreenSupported:Hi=!0}=e,{playNextVideo:Wt}=e,{playPrevVideo:Qi}=e,{repeatPlaylist:Ui}=e,{toggleFullscreen:ki}=e,{returnFocus:Zi}=e,{seekToInteractive:yi}=e,{toggleGraph:Kt}=e,{playPrevChapter:Ci}=e;const Ue=St(),fi=Uo(),di=_n(),Be=Ue.actions.internal.toggleMuted,sn=Ue.actions.internal.togglePlay,an=Ue.actions.internal.pause,Xi=Ue.actions.internal.toggleSubtitle,un=(Dr=Ue.callbacks)==null?void 0:Dr.onAudioDoesNotExistHint,Ji=(zr=Ue.callbacks)==null?void 0:zr.onAudioDisabledHint,Gt=Ue.state.duration$;D(i,Gt,j=>t(82,Ni=j));const xi=Ue.state.positionWithScrubbing$;D(i,xi,j=>t(80,xt=j));const Si=Ue.state.playbackState$;D(i,Si,j=>t(161,hi=j));const qi=Ue.state.chromecastConnected$;D(i,qi,j=>t(83,Lt=j));const Rt=Ue.state.isAudioAvailable$;D(i,Rt,j=>t(197,Z=j));const Yt=Ue.state.isAudioDisabled,oe=Ue.state.isEnded$;D(i,oe,j=>t(169,ct=j));const nt=Ue.state.isLive$;D(i,nt,j=>t(33,Bi=j));const $t=Ue.state.isActiveLive$;D(i,$t,j=>t(163,Vi=j));const Et=Ue.state.isRewindableLive$;D(i,Et,j=>t(32,Mi=j));const Mt=Ue.ui.isPictureInPictureActive$;D(i,Mt,j=>t(165,At=j));const wn=Ue.ui.pictureInPictureType$;D(i,wn,j=>t(164,vi=j));const kn=Ue.ui.settingsMenuVisible;D(i,kn,j=>t(27,X=j));const vn=Ue.ui.settingsMenuOpenedByKeyboard;D(i,vn,j=>t(140,O=j));const cn=Ue.ui.controls,ji=Ue.actions.internal.getVideoEpisodes(),yn=Ue.state.chromecastState$;D(i,yn,j=>t(29,ri=j));const Mn=Ue.state.availableSubtitlesList$;D(i,Mn,j=>t(168,ai=j));const Bn=Ue.state.currentSubtitle$;D(i,Bn,j=>t(170,pt=j));const Cn=cn.disabledControls$;D(i,Cn,j=>t(172,Dt=j));const Sn=Ue.ui.contextMenuVisible;D(i,Sn,j=>t(162,si=j));const x=Ue.ui.contextMenu.showContextMenuBtn$;D(i,x,j=>t(166,gi=j));const vt=Ue.ui.contextMenu.openedByKeyboard$;D(i,vt,j=>t(167,Vt=j));const fn=Ue.ui.startedByKeyboard$;D(i,fn,j=>t(139,Y=j));const on=Ue.ads.duration;D(i,on,j=>t(81,ci=j));const gn=Ue.ads.position;D(i,gn,j=>t(79,ui=j));const dn=Ue.ads.playbackState;D(i,dn,j=>t(171,jt=j));const Kn=Ue.ui.isFullscreen;D(i,Kn,j=>t(30,Ai=j));const Gn=Ue.ui.playerSize;D(i,Gn,j=>t(142,B=j));const Yn=Ue.ui.currentGridType$;D(i,Yn,j=>t(143,te=j));const Nn=Ue.ui.additionalButtons$;D(i,Nn,j=>t(28,P=j));const Qn=Ue.actions.internal.getVideoElement,Pn=Ue.actions.internal.replayInteractive,mn=Ue.state.isInteractive,J=Ue.state.isInteractiveTime$;D(i,J,j=>t(141,L=j));const to=Ue.state.showInteractiveGraph,ao=Ue.state.showSeekToInteractive,io=Ue.state.showPlayPrevChapter,uo=Ue.state.showInteractiveTimeIndicator,co=Ue.state.graphIsOpened$;D(i,co,j=>t(31,Li=j));const fo=Ue.state.playPrevChapterDisabledTooltip,W=fi.seekToInteractiveDisabledTooltip$;D(i,W,j=>t(78,bi=j));const It=()=>Ue.actions.internal.toggleChromecast();let bn,ln,Tn,mo,po,Yo,Qo,bt,I,ne,ge,Fe,Xe,ft,Bt,_t,Ti,Xn,Xo,Vo,Vr,Pl="";const Lf=(j,Il)=>{if(!j){t(50,Pl=G("tooltip_live"));return}Il===tt.PlaybackState.PAUSED&&t(50,Pl=G("tooltip_play"))};let Mr,Br,Nr,Rr,Jo;const Ye={};let En,Mo,El,Or;const Vf=ie.throttleFn(pf,I1,{leading:!1});let xo,$o,el;function Mf(){Yt?Ji==null||Ji():Z?Be():un==null||un()}const Bf=mn?Pn:wi?sn:Ui;function Nf(j){i.$$.not_equal(Ye.prevButton,j)&&(Ye.prevButton=j,t(23,Ye))}function Rf(j){i.$$.not_equal(Ye.replayButton,j)&&(Ye.replayButton=j,t(23,Ye))}function Of(j){el=j,t(26,el)}function Df(j){i.$$.not_equal(Ye.playButton,j)&&(Ye.playButton=j,t(23,Ye))}function zf(j){i.$$.not_equal(Ye.nextButton,j)&&(Ye.nextButton=j,t(23,Ye))}function Ff(j){i.$$.not_equal(Ye.playPrevChapterButton,j)&&(Ye.playPrevChapterButton=j,t(23,Ye))}function Hf(j){i.$$.not_equal(Ye.seekToInteractiveButton,j)&&(Ye.seekToInteractiveButton=j,t(23,Ye))}function Uf(j){i.$$.not_equal(Ye.interactiveGraphButton,j)&&(Ye.interactiveGraphButton=j,t(23,Ye))}function qf(j){i.$$.not_equal(Ye.liveButton,j)&&(Ye.liveButton=j,t(23,Ye))}function jf(j){i.$$.not_equal(Ye.time,j)&&(Ye.time=j,t(23,Ye))}function Wf(j){i.$$.not_equal(Ye.episodes,j)&&(Ye.episodes=j,t(23,Ye))}function Zf(){Jo=this.clientWidth,t(22,Jo)}function Kf(j){i.$$.not_equal(Ye.vkLogo,j)&&(Ye.vkLogo=j,t(23,Ye))}function Gf(j){i.$$.not_equal(Ye.volume,j)&&(Ye.volume=j,t(23,Ye))}function Yf(j){i.$$.not_equal(Ye.subtitles,j)&&(Ye.subtitles=j,t(23,Ye))}function Qf(j){xo=j,t(24,xo)}function Xf(j){$o=j,t(25,$o)}function Jf(j){i.$$.not_equal(Ye.settings,j)&&(Ye.settings=j,t(23,Ye))}function xf(j){i.$$.not_equal(Ye.context,j)&&(Ye.context=j,t(23,Ye))}function $f(j){i.$$.not_equal(Ye.fullscreen,j)&&(Ye.fullscreen=j,t(23,Ye))}function e0(j){i.$$.not_equal(Ye.chromecast,j)&&(Ye.chromecast=j,t(23,Ye))}function t0(j){Se[j?"unshift":"push"](()=>{Ti=j,t(46,Ti)})}function i0(j){Se[j?"unshift":"push"](()=>{Ri=j,t(0,Ri)})}function n0(j){i.$$.not_equal(Ye.interactiveTimeIndicator,j)&&(Ye.interactiveTimeIndicator=j,t(23,Ye))}return i.$$set=j=>{"bottomHidden"in j&&t(1,Ki=j.bottomHidden),"bottomNoSmooth"in j&&t(2,Gi=j.bottomNoSmooth),"showControls"in j&&t(3,Yi=j.showControls),"controlsElementRef"in j&&t(0,Ri=j.controlsElementRef),"isAds"in j&&t(4,Zt=j.isAds),"canRewindLive"in j&&t(5,_i=j.canRewindLive),"logoClickable"in j&&t(6,nn=j.logoClickable),"logoHidden"in j&&t(129,Oi=j.logoHidden),"videoLogoUrl"in j&&t(7,zt=j.videoLogoUrl),"showNextPrevButtons"in j&&t(130,Ft=j.showNextPrevButtons),"nextButtonActive"in j&&t(8,Di=j.nextButtonActive),"prevButtonActive"in j&&t(9,zi=j.prevButtonActive),"isOneVideoPlaylist"in j&&t(131,wi=j.isOneVideoPlaylist),"supportLink"in j&&t(10,Fi=j.supportLink),"customFullscreenSupported"in j&&t(132,Hi=j.customFullscreenSupported),"playNextVideo"in j&&t(11,Wt=j.playNextVideo),"playPrevVideo"in j&&t(12,Qi=j.playPrevVideo),"repeatPlaylist"in j&&t(133,Ui=j.repeatPlaylist),"toggleFullscreen"in j&&t(13,ki=j.toggleFullscreen),"returnFocus"in j&&t(14,Zi=j.returnFocus),"seekToInteractive"in j&&t(15,yi=j.seekToInteractive),"toggleGraph"in j&&t(16,Kt=j.toggleGraph),"playPrevChapter"in j&&t(17,Ci=j.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&131072&&t(138,n=Dt.has(dt.EPISODE_BUTTON)),i.$$.dirty[5]&131072&&t(77,l=Dt.has(dt.GRAPH_BUTTON)),i.$$.dirty[5]&131072&&t(76,r=Dt.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&131072&&t(75,o=Dt.has(dt.PLAY_BUTTON)),i.$$.dirty[5]&131072&&t(74,s=Dt.has(dt.REPLAY_BUTTON)),i.$$.dirty[5]&131072&&t(73,a=Dt.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&65600&&t(34,bn=Zt?jt===ti.PLAYING:hi===tt.PlaybackState.PLAYING),i.$$.dirty[5]&32768&&t(18,ln=pt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&16384&&t(35,Tn=ct&&!Zt||mn),i.$$.dirty[0]&16|i.$$.dirty[5]&16384&&t(36,mo=!ct||mn||Zt),i.$$.dirty[4]&524288&&t(134,po=In(te,exports.GridTypes.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&524352&&t(37,Yo=Ft&&In(te,exports.GridTypes.M)&&!Zt&&Di),i.$$.dirty[0]&528|i.$$.dirty[4]&524352&&t(38,Qo=Ft&&In(te,exports.GridTypes.M)&&!Zt&&zi),i.$$.dirty[0]&536870912|i.$$.dirty[4]&524288|i.$$.dirty[5]&1536&&t(39,bt=ri!==tt.ChromecastState.NOT_AVAILABLE&&!(At&&vi===Fn.DocumentPictureInPicture)&&In(te,exports.GridTypes.M)&&!mn),i.$$.dirty[4]&524288|i.$$.dirty[5]&8192&&t(40,I=ai.length>0&&In(te,exports.GridTypes.M)),i.$$.dirty[5]&6144&&t(41,ne=Vt||gi),i.$$.dirty[4]&524288&&t(42,ge=In(te,exports.GridTypes.S)),i.$$.dirty[4]&32&&t(43,Fe=!Oi),i.$$.dirty[4]&524576|i.$$.dirty[5]&1536&&t(44,Xe=di.features.fullscreen&&(Oi||In(te,exports.GridTypes.S))&&!(At&&vi===Fn.DocumentPictureInPicture)&&(mn?Hi:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,ft=(!Bi||Zt)&&!(di.features.interactiveHideTime&&mn)),i.$$.dirty[4]&262144&&t(45,Bt=B.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&17408&&t(20,_t=!Zt&&!Bi&&!!(ji!=null&&ji.length)&&po&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&256&&t(21,Xn=!Mi||Vi),i.$$.dirty[5]&64&&t(47,Xo=hi===tt.PlaybackState.PLAYING?G("tooltip_pause"):G("tooltip_play")),i.$$.dirty[1]&1&&t(48,Vo=G(Li?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&128&&t(49,Vr=G(si?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&64&&Lf(Xn,hi),i.$$.dirty[0]&262144&&t(52,Br=G(ln?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(53,Nr=G(Ai?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(54,Rr=ri===tt.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2146435072|i.$$.dirty[5]&63&&t(135,En={prevButton:Ot?Ot.right-Ot.left:0,replayButton:oi?oi.right-oi.left:0,playButton:ni?ni.right-ni.left:0,nextButton:Ze?Ze.right-Ze.left:0,playPrevChapterButton:mt?mt.right-mt.left:0,seekToInteractiveButton:gt?gt.right-gt.left:0,interactiveGraphButton:wt?wt.right-wt.left:0,liveButton:Tt?Tt.right-Tt.left:0,time:xe?xe.right-xe.left:0,episodes:Ge?Ge.right-Ge.left:0,vkLogo:Le?Le.right-Le.left:0,volume:ue?ue.right-ue.left:0,subtitles:Oe?Oe.right-Oe.left:0,settings:ce?ce.right-ce.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Ie?Ie.right-Ie.left:0,chromecast:ee?ee.right-ee.left:0,additionalButtons:P.length?P.reduce(j=>[...j,40],[]):[]}),i.$$.dirty[4]&6144&&(!Mo||Mo<En.time)&&t(136,Mo=En.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&530432){let j=0;_t&&(In(te,exports.GridTypes.XL)?j=En.time:j=B0);const Il=En.prevButton+En.playButton+En.nextButton+En.seekToInteractiveButton+En.interactiveGraphButton+En.liveButton+Mo+j;t(137,El=ft&&Jo>=Il)}i.$$.dirty[4]&532480&&t(55,Or=El&&In(te,exports.GridTypes.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&393216&&Vf(Qn(),cn,Ye,Yi),i.$$.dirty[0]&167772160&&kr($o,X,vn),i.$$.dirty[0]&150994944|i.$$.dirty[4]&65536&&yr(xo,X,O),i.$$.dirty[0]&67108864|i.$$.dirty[4]&32768&&hf(fn,Y,el)},t(51,Mr=di.logoType===Io.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),Ii(t(72,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:b,time:C,episodes:k,vkLogo:y,volume:V,subtitles:Q,settings:A,context:z,fullscreen:se,chromecast:re}=cn,c,li(t(71,f)),tn(t(70,d)),en(t(69,h)),$e(t(68,_)),Nt(t(67,g)),fe(t(66,w)),Xt(t(65,b)),rt(t(64,C)),Je(t(63,k)),Te(t(62,y)),le(t(61,V)),Ae(t(60,Q)),We(t(59,A)),$(t(58,z)),_e(t(57,se)),ye(t(56,re)))),[Ri,Ki,Gi,Yi,Zt,_i,nn,zt,Di,zi,Fi,Wt,Qi,ki,Zi,yi,Kt,Ci,ln,ft,_t,Xn,Jo,Ye,xo,$o,el,X,P,ri,Ai,Li,Mi,Bi,bn,Tn,mo,Yo,Qo,bt,I,ne,ge,Fe,Xe,Bt,Ti,Xo,Vo,Vr,Pl,Mr,Br,Nr,Rr,Or,re,se,z,A,Q,V,y,k,C,b,w,g,_,h,d,f,c,a,s,o,r,l,bi,ui,xt,ci,Ni,Lt,di,sn,an,Xi,Gt,xi,Si,qi,Rt,oe,nt,$t,Et,Mt,wn,kn,vn,ji,yn,Mn,Bn,Cn,Sn,x,vt,fn,on,gn,dn,Kn,Gn,Yn,Nn,mn,J,to,ao,io,uo,co,fo,W,It,Mf,Bf,Oi,Ft,wi,Hi,Ui,po,En,Mo,El,n,Y,O,L,B,te,ee,Ie,Ce,ce,Oe,ue,Le,Ge,xe,Tt,wt,gt,mt,Ze,ni,oi,Ot,hi,si,Vi,vi,At,gi,Vt,ai,ct,pt,jt,Dt,Nf,Rf,Of,Df,zf,Ff,Hf,Uf,qf,jf,Wf,Zf,Kf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0,t0,i0,n0]}class Bg extends ke{constructor(e){super(),we(this,e,Mg,Vg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:129,videoLogoUrl:7,showNextPrevButtons:130,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:131,supportLink:10,customFullscreenSupported:132,playNextVideo:11,playPrevVideo:12,repeatPlaylist:133,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},sg,[-1,-1,-1,-1,-1,-1,-1])}}function Ng(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Rg extends ke{constructor(e){super(),we(this,e,null,Ng,be,{})}}function Og(i){Ke(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 Ga(i){let e;return{c(){e=E("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){T(t,e,n)},p:K,d(t){t&&S(e)}}}function Dg(i){let e,t,n,l;var r=i[4];function o(a){return{}}r&&(t=On(r,o()));let s=i[1]&&Ga();return{c(){e=E("div"),t&&U(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",i[1])},m(a,c){T(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){de();const f=t;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}r?(t=On(r,o()),U(t.$$.fragment),m(t.$$.fragment,1),F(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=Ga(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&M(e,"expanded",a[1])},i(a){l||(t&&m(t.$$.fragment,a),l=!0)},o(a){t&&v(t.$$.fragment,a),l=!1},d(a){a&&S(e),t&&H(t),s&&s.d()}}}function zg(i){let e,t,n;function l(o){i[6](o)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[Dg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Fg(i,e,t){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=ie.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,t(0,o)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,l=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,o=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=l?Sl:Rg)},[o,l,r,s,a,n,c]}class gf extends ke{constructor(e){super(),we(this,e,Fg,zg,be,{muted:5,expanded:1,click:2,ref:0},Og)}}function Hg(i){let e,t,n,l;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("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"),M(n,"hidden",!i[0]),u(l,"fill",i[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),M(l,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){T(r,e,o),p(e,t),p(e,n),p(e,l)},p(r,[o]){o&2&&u(t,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&M(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&M(l,"hidden",r[0])},i:K,o:K,d(r){r&&S(e)}}}function Ug(i,e,t){let n,{isActive:l=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,l=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=l?"#2688EB":"#fff")},[l,n]}class qg extends ke{constructor(e){super(),we(this,e,Ug,Hg,be,{isActive:0})}}function jg(i){let e,t;return e=new qg({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wg(i){let e,t,n;function l(o){i[3](o)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:i[2],$$slots:{default:[jg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Zg(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=ie.noop}=e;function o(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,l=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,l,r,o]}class Kg extends ke{constructor(e){super(),we(this,e,Zg,Wg,be,{ref:0,isPictureInPictureActive:1,click:2})}}function Gg(i){Ke(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 Ya(i,e,t){const n=i.slice();return n[169]=e[t].iconUrl,n[170]=e[t].ariaLabel,n[171]=e[t].testId,n[172]=e[t].onClick,n[173]=e[t].tooltip,n}function Qa(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k=(!i[51]||i[53])&&Xa(i),y=Qt(i[56]),V=[];for(let B=0;B<y.length;B+=1)V[B]=Ja(Ya(i,y,B));const Q=B=>v(V[B],1,1,()=>{V[B]=null});let A=i[36]&&xa(i),z=i[37]&&$a(i),se=i[57]&&eu(i),re=i[39]&&tu(i),Z=i[8]&&iu(i),Y=i[34]&&nu(i),O=i[33]&&ou(i),X=i[8]&&lu(i),L=i[96]&&!i[29]&&ru(i);return{c(){e=E("div"),t=R(),n=E("div"),k&&k.c(),l=R(),r=E("div");for(let B=0;B<V.length;B+=1)V[B].c();o=R(),A&&A.c(),s=R(),z&&z.c(),a=R(),se&&se.c(),c=R(),re&&re.c(),f=R(),d=E("div"),Z&&Z.c(),h=R(),Y&&Y.c(),_=R(),O&&O.c(),g=R(),X&&X.c(),w=R(),L&&L.c(),b=ht(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!i[3]),M(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!i[3]&&!i[27]),M(r,"fullscreen",i[52]),u(d,"class","wrapper-middle v-1tcstu3"),M(d,"hidden",!i[3]||i[29])},m(B,te){T(B,e,te),T(B,t,te),T(B,n,te),k&&k.m(n,null),T(B,l,te),T(B,r,te);for(let P=0;P<V.length;P+=1)V[P]&&V[P].m(r,null);p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),re&&re.m(r,null),T(B,f,te),T(B,d,te),Z&&Z.m(d,null),p(d,h),Y&&Y.m(d,null),p(d,_),O&&O.m(d,null),p(d,g),X&&X.m(d,null),T(B,w,te),L&&L.m(B,te),T(B,b,te),C=!0},p(B,te){if((!C||te[1]&2048)&&M(e,"hidden",!B[42]),!B[51]||B[53]?k?(k.p(B,te),te[1]&5242880&&m(k,1)):(k=Xa(B),k.c(),m(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!C||te[0]&8)&&M(n,"hidden",!B[3]),(!C||te[1]&2097152)&&M(n,"fullscreen",B[52]),te[1]&33554432){y=Qt(B[56]);let P;for(P=0;P<y.length;P+=1){const ee=Ya(B,y,P);V[P]?(V[P].p(ee,te),m(V[P],1)):(V[P]=Ja(ee),V[P].c(),m(V[P],1),V[P].m(r,o))}for(de(),P=y.length;P<V.length;P+=1)Q(P);me()}B[36]?A?(A.p(B,te),te[1]&32&&m(A,1)):(A=xa(B),A.c(),m(A,1),A.m(r,s)):A&&(de(),v(A,1,1,()=>{A=null}),me()),B[37]?z?(z.p(B,te),te[1]&64&&m(z,1)):(z=$a(B),z.c(),m(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me()),B[57]?se?(se.p(B,te),te[1]&67108864&&m(se,1)):(se=eu(B),se.c(),m(se,1),se.m(r,c)):se&&(de(),v(se,1,1,()=>{se=null}),me()),B[39]?re?(re.p(B,te),te[1]&256&&m(re,1)):(re=tu(B),re.c(),m(re,1),re.m(r,null)):re&&(de(),v(re,1,1,()=>{re=null}),me()),(!C||te[0]&134217736)&&M(r,"hidden",!B[3]&&!B[27]),(!C||te[1]&2097152)&&M(r,"fullscreen",B[52]),B[8]?Z?(Z.p(B,te),te[0]&256&&m(Z,1)):(Z=iu(B),Z.c(),m(Z,1),Z.m(d,h)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),B[34]?Y?(Y.p(B,te),te[1]&8&&m(Y,1)):(Y=nu(B),Y.c(),m(Y,1),Y.m(d,_)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),B[33]?O?(O.p(B,te),te[1]&4&&m(O,1)):(O=ou(B),O.c(),m(O,1),O.m(d,g)):O&&(de(),v(O,1,1,()=>{O=null}),me()),B[8]?X?(X.p(B,te),te[0]&256&&m(X,1)):(X=lu(B),X.c(),m(X,1),X.m(d,null)):X&&(de(),v(X,1,1,()=>{X=null}),me()),(!C||te[0]&536870920)&&M(d,"hidden",!B[3]||B[29]),B[96]&&!B[29]?L?(L.p(B,te),te[0]&536870912&&m(L,1)):(L=ru(B),L.c(),m(L,1),L.m(b.parentNode,b)):L&&(de(),v(L,1,1,()=>{L=null}),me())},i(B){if(!C){m(k);for(let te=0;te<y.length;te+=1)m(V[te]);m(A),m(z),m(se),m(re),m(Z),m(Y),m(O),m(X),m(L),C=!0}},o(B){v(k),V=V.filter(Boolean);for(let te=0;te<V.length;te+=1)v(V[te]);v(A),v(z),v(se),v(re),v(Z),v(Y),v(O),v(X),v(L),C=!1},d(B){B&&(S(e),S(t),S(n),S(l),S(r),S(f),S(d),S(w),S(b)),k&&k.d(),Vn(V,B),A&&A.d(),z&&z.d(),se&&se.d(),re&&re.d(),Z&&Z.d(),Y&&Y.d(),O&&O.d(),X&&X.d(),L&&L.d(B)}}}function Xa(i){let e,t,n;function l(o){i[130](o)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[106]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new gf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.muted=o[54]),s[1]&17825792&&(a.expanded=o[51]&&!o[70]&&o[55]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].volume,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ja(i){var n;let e,t;return e=new uf({props:{iconUrl:i[169],ariaLabel:(n=i[170])!=null?n:i[173],testId:i[171],onClick:i[172]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),t=!0},p(l,r){var s;const o={};r[1]&33554432&&(o.iconUrl=l[169]),r[1]&33554432&&(o.ariaLabel=(s=l[170])!=null?s:l[173]),r[1]&33554432&&(o.testId=l[171]),r[1]&33554432&&(o.onClick=l[172]),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){v(e.$$.fragment,l),t=!1},d(l){H(e,l)}}}function xa(i){let e,t,n;function l(o){i[131](o)}let r={isMobile:!0,click:i[104],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new xc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $a(i){let e,t,n;function l(o){i[132](o)}let r={click:i[105],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Kg({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].pip,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function eu(i){let e,t,n;function l(o){i[133](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Sr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tu(i){let e,t,n;function l(o){i[134](o)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new Jc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function iu(i){let e,t,n;function l(o){i[135](o)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Tl({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function nu(i){let e,t,n;function l(o){i[136](o)}let r={disabled:i[49],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Er({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&1&&(a.isPlaying=o[31]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].playButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ou(i){let e,t,n;function l(o){i[137](o)}let r={disabled:i[48],click:i[107],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Ir({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function lu(i){let e,t,n;function l(o){i[138](o)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Tl({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ru(i){let e,t,n,l,r=i[100]&&Yg(i),o=i[98]&&Qg(i),s=i[99]&&Xg(i);return{c(){r&&r.c(),e=R(),o&&o.c(),t=R(),s&&s.c(),n=ht()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[100]&&r.p(a,c),a[98]&&o.p(a,c),a[99]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(t),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Yg(i){let e,t,n,l,r,o;function s(c){i[139](c)}let a={hidden:!i[3],disabled:i[47],click:i[18]};return i[20].playPrevChapterButton!==void 0&&(a.ref=i[20].playPrevChapterButton),t=new af({props:a}),Se.push(()=>je(t,"ref",s)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(c,f){T(c,e,f),F(t,e,null),l=!0,r||(o=ve(e,"click",i[108]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,qe(()=>n=!1)),t.$set(d),(!l||f[1]&2097152)&&M(e,"fullscreen",c[52]),(!l||f[0]&8)&&M(e,"hidden",!c[3])},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&S(e),H(t),r=!1,o()}}}function Qg(i){let e,t,n,l;function r(s){i[140](s)}let o={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(o.ref=i[20].interactiveGraphButton),t=new rf({props:o}),Se.push(()=>je(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class",m0(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3]&&!i[58])},m(s,a){T(s,e,a),F(t,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,qe(()=>n=!1)),t.$set(c),(!l||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!l||a[0]&8|a[1]&134217728)&&M(e,"hidden",!s[3]&&!s[58])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&S(e),H(t)}}}function Xg(i){let e,t,n,l,r,o;function s(c){i[141](c)}let a={hidden:!i[3],disabled:i[46],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(a.ref=i[20].seekToInteractiveButton),t=new lf({props:a}),Se.push(()=>je(t,"ref",s)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",i[52]),M(e,"hidden",!i[3])},m(c,f){T(c,e,f),F(t,e,null),l=!0,r||(o=ve(e,"click",i[109]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&32768&&(d.disabled=c[46]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(d),(!l||f[1]&2097152)&&M(e,"fullscreen",c[52]),(!l||f[0]&8)&&M(e,"hidden",!c[3])},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&S(e),H(t),r=!1,o()}}}function su(i){let e,t,n,l,r,o=i[53]&&au(i),s=i[32]&&uu(i);return l=new tf({props:{position:i[59],duration:i[60]}}),{c(){o&&o.c(),e=R(),s&&s.c(),t=R(),n=E("div"),U(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",i[52])},m(a,c){o&&o.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,t,c),T(a,n,c),F(l,n,null),r=!0},p(a,c){a[53]?o?(o.p(a,c),c[1]&4194304&&m(o,1)):(o=au(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(de(),v(o,1,1,()=>{o=null}),me()),a[32]?s?(s.p(a,c),c[1]&2&&m(s,1)):(s=uu(a),s.c(),m(s,1),s.m(t.parentNode,t)):s&&(de(),v(s,1,1,()=>{s=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),l.$set(f),(!r||c[1]&2097152)&&M(n,"fullscreen",a[52])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){v(o),v(s),v(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(t),S(n)),o&&o.d(a),s&&s.d(a),H(l)}}}function au(i){let e,t,n,l;function r(s){i[142](s)}let o={muted:i[54],expanded:!1,click:i[106]};return i[20].volume!==void 0&&(o.ref=i[20].volume),t=new gf({props:o}),Se.push(()=>je(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",i[52])},m(s,a){T(s,e,a),F(t,e,null),l=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!l||a[1]&2097152)&&M(e,"fullscreen",s[52])},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&S(e),H(t)}}}function uu(i){let e,t,n,l;function r(s){i[143](s)}let o={disabled:i[49],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(o.ref=i[20].playButton),t=new Er({props:o}),Se.push(()=>je(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),l=!0},p(s,a){const c={};a[1]&262144&&(c.disabled=s[49]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&S(e),H(t)}}}function Jg(i){let e,t,n;function l(o){i[144](o)}let r={disabled:i[48],$$slots:{default:[xg]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),s[1]&131072|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function xg(i){let e,t;return e=new Ir({props:{disabled:i[48],click:i[95]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[1]&131072&&(r.disabled=n[48]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function cu(i){let e,t,n;function l(o){i[145](o)}let r={$$slots:{default:[$g]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&16384|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $g(i){let e,t;return e=new $c({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function fu(i){let e,t,n;function l(o){i[146](o)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Zc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.showDuration=o[35]),s[0]&16|s[1]&1342177280&&(a.position=o[4]?o[59]:o[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=o[4]?o[60]:o[62]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].time,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function du(i){let e,t,n,l;return n=new of({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=E("div"),e.textContent="\xB7",t=R(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),T(r,t,o),F(n,r,o),l=!0},p(r,o){const s={};o[1]&1073741824&&(s.position=r[61]),o[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){v(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(t)),H(n,r)}}}function eb(i){let e,t,n=i[43]&&du(i);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43]?n?(n.p(l,r),r[1]&4096&&m(n,1)):(n=du(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){t||(m(n),t=!0)},o(l){v(n),t=!1},d(l){l&&S(e),n&&n.d(l)}}}function mu(i){let e,t,n;function l(o){i[149](o)}let r={$$slots:{default:[tb]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].settings,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tb(i){let e,t,n;function l(o){i[148](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Sr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function pu(i){let e,t,n;function l(o){i[150](o)}let r={$$slots:{default:[ib]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new qt({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&2097152|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ib(i){let e,t;return e=new Qc({props:{click:i[14],isFullscreen:i[52]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function hu(i){let e,t,n,l;function r(s){i[153](s)}let o={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(o.ref=i[21]),t=new Wc({props:o}),Se.push(()=>je(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],qe(()=>n=!1)),t.$set(c)},i(s){l||(m(t.$$.fragment,s),l=!0)},o(s){v(t.$$.fragment,s),l=!1},d(s){s&&S(e),H(t)}}}function nb(i){let e,t,n;function l(o){i[154](o)}let r={};return i[20].interactiveTimeIndicator!==void 0&&(r.ref=i[20].interactiveTimeIndicator),e=new vf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&1048576&&(t=!0,a.ref=o[20].interactiveTimeIndicator,qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ob(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y=!i[4]&&Qa(i),V=i[4]&&i[30]!==ti.INACTIVE&&su(i),Q=i[96]&&Jg(i),A=!i[4]&&i[25]&&cu(i),z=i[41]&&fu(i);function se(L){i[147](L)}let re={className:"w-max",disabled:!i[43],$$slots:{default:[eb]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(re.ref=i[20].episodes),c=new qt({props:re}),Se.push(()=>je(c,"ref",se));let Z=i[38]&&mu(i),Y=i[40]&&pu(i);g=new nf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let O=i[23]&&hu(i),X=i[101]&&nb(i);return{c(){y&&y.c(),e=R(),V&&V.c(),t=R(),n=E("div"),l=E("div"),r=E("div"),Q&&Q.c(),o=R(),A&&A.c(),s=R(),z&&z.c(),a=R(),U(c.$$.fragment),d=R(),Z&&Z.c(),h=R(),Y&&Y.c(),_=R(),U(g.$$.fragment),w=R(),O&&O.c(),b=R(),X&&X.c(),C=ht(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),M(l,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",i[1]),M(n,"controls-hidden",!i[3]),M(n,"no-smooth",i[2]),M(n,"mobile",!0)},m(L,B){y&&y.m(L,B),T(L,e,B),V&&V.m(L,B),T(L,t,B),T(L,n,B),p(n,l),p(l,r),Q&&Q.m(r,null),p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),F(c,r,null),p(r,d),Z&&Z.m(r,null),p(r,h),Y&&Y.m(r,null),i[151](r),p(l,_),F(g,l,null),i[152](n),T(L,w,B),O&&O.m(L,B),T(L,b,B),X&&X.m(L,B),T(L,C,B),k=!0},p(L,B){L[4]?y&&(de(),v(y,1,1,()=>{y=null}),me()):y?(y.p(L,B),B[0]&16&&m(y,1)):(y=Qa(L),y.c(),m(y,1),y.m(e.parentNode,e)),L[4]&&L[30]!==ti.INACTIVE?V?(V.p(L,B),B[0]&1073741840&&m(V,1)):(V=su(L),V.c(),m(V,1),V.m(t.parentNode,t)):V&&(de(),v(V,1,1,()=>{V=null}),me()),L[96]&&Q.p(L,B),!L[4]&&L[25]?A?(A.p(L,B),B[0]&33554448&&m(A,1)):(A=cu(L),A.c(),m(A,1),A.m(r,s)):A&&(de(),v(A,1,1,()=>{A=null}),me()),L[41]?z?(z.p(L,B),B[1]&1024&&m(z,1)):(z=fu(L),z.c(),m(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me());const te={};B[1]&4096&&(te.disabled=!L[43]),B[1]&1073745920|B[2]&1|B[5]&2097152&&(te.$$scope={dirty:B,ctx:L}),!f&&B[0]&1048576&&(f=!0,te.ref=L[20].episodes,qe(()=>f=!1)),c.$set(te),L[38]?Z?(Z.p(L,B),B[1]&128&&m(Z,1)):(Z=mu(L),Z.c(),m(Z,1),Z.m(r,h)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),L[40]?Y?(Y.p(L,B),B[1]&512&&m(Y,1)):(Y=pu(L),Y.c(),m(Y,1),Y.m(r,null)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me());const P={};B[0]&16&&(P.isAds=L[4]),B[0]&32&&(P.canRewindLive=L[5]),B[0]&16777216&&(P.isRewindableLive=L[24]),g.$set(P),(!k||B[1]&2097152)&&M(l,"fullscreen",L[52]),(!k||B[0]&2)&&M(n,"hidden",L[1]),(!k||B[0]&8)&&M(n,"controls-hidden",!L[3]),(!k||B[0]&4)&&M(n,"no-smooth",L[2]),L[23]?O?(O.p(L,B),B[0]&8388608&&m(O,1)):(O=hu(L),O.c(),m(O,1),O.m(b.parentNode,b)):O&&(de(),v(O,1,1,()=>{O=null}),me()),L[101]&&X.p(L,B)},i(L){k||(m(y),m(V),m(Q),m(A),m(z),m(c.$$.fragment,L),m(Z),m(Y),m(g.$$.fragment,L),m(O),m(X),k=!0)},o(L){v(y),v(V),v(Q),v(A),v(z),v(c.$$.fragment,L),v(Z),v(Y),v(g.$$.fragment,L),v(O),v(X),k=!1},d(L){L&&(S(e),S(t),S(n),S(w),S(b),S(C)),y&&y.d(L),V&&V.d(L),Q&&Q.d(),A&&A.d(),z&&z.d(),H(c),Z&&Z.d(),Y&&Y.d(),i[151](null),H(g),i[152](null),O&&O.d(L),X&&X.d(L)}}}function lb(i,e,t){var Pn,mn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,{bottomHidden:Ce}=e,{bottomNoSmooth:q}=e,{showControls:$}=e,{controlsElementRef:ce=void 0}=e,{isAds:ae=!1}=e,{canRewindLive:We}=e,{logoClickable:Oe}=e,{logoHidden:Ve}=e,{videoLogoUrl:Ae}=e,{showNextPrevButtons:ue}=e,{nextButtonActive:he}=e,{prevButtonActive:le}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:pe}=e,{customFullscreenSupported:Te=!0}=e,{playNextVideo:Ge}=e,{playPrevVideo:Re}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:xe}=e,{returnFocus:ut}=e,{seekToInteractive:rt}=e,{toggleGraph:Tt}=e,{playPrevChapter:st}=e,{onDisabledPlayPrevChapterClick:Xt}=e,{onDisabledSeekToInteractiveClick:wt}=e;const ze=St(),fe=Uo(),gt=_n(),at=ze.actions.internal.toggleMuted,Nt=ze.actions.internal.togglePlay,mt=ze.actions.internal.pause,Pt=(Pn=ze.callbacks)==null?void 0:Pn.onAudioDoesNotExistHint,$e=(mn=ze.callbacks)==null?void 0:mn.onAudioDisabledHint,Ze=ze.playerPhase;D(i,Ze,J=>t(126,z=J));const kt=ze.state.duration$;D(i,kt,J=>t(62,_e=J));const en=ze.state.positionWithScrubbing$;D(i,en,J=>t(61,Ne=J));const ni=ze.state.playbackState$;D(i,ni,J=>t(121,h=J));const Ei=ze.state.isAudioAvailable$;D(i,Ei,J=>t(51,_=J));const tn=ze.state.isAudioDisabled,oi=ze.state.isEnded$;D(i,oi,J=>t(127,re=J));const Jt=ze.state.isLive$;D(i,Jt,J=>t(25,k=J));const li=ze.state.muted$;D(i,li,J=>t(54,B=J));const Ot=ze.state.isActiveLive$;D(i,Ot,J=>t(124,b=J));const pi=ze.state.isRewindableLive$;D(i,pi,J=>t(24,C=J));const Ii=ze.ui.scrubbingInProgress;D(i,Ii,J=>t(29,se=J));const ri=ze.ui.mobileNotReportControlHidden$;D(i,ri,J=>t(27,Q=J));const Ai=ze.ui.isPictureInPictureActive$;D(i,Ai,J=>t(26,V=J));const hi=ze.ui.pictureInPictureType$;D(i,hi,J=>t(125,y=J));const si=ze.ui.mobileUnmuteButtonExpanded;D(i,si,J=>t(55,te=J));const Li=ze.ui.mobileUnmuteButtonVisible;D(i,Li,J=>t(53,L=J));const Vi=ze.ui.settingsMenuVisible;D(i,Vi,J=>t(23,d=J));const Mi=ze.ui.settingsMenuOpenedByKeyboard;D(i,Mi,J=>t(120,f=J));const Bi=ze.ui.controls,vi=ze.actions.internal.getVideoEpisodes(),At=ze.webApi.pictureInPictureApi,gi=ze.state.chromecastState$;D(i,gi,J=>t(28,A=J));const Vt=ze.state.crashed$;D(i,Vt,J=>t(57,ee=J));const ai=Bi.disabledControls$;D(i,ai,J=>t(128,Y=J));const ct=ze.ui.startedByKeyboard$;D(i,ct,J=>t(119,c=J));const pt=ze.ads.duration;D(i,pt,J=>t(60,Ie=J));const jt=ze.ads.position;D(i,jt,J=>t(59,ye=J));const Dt=ze.ads.playbackState;D(i,Dt,J=>t(30,Z=J));const bi=ze.ui.isFullscreen;D(i,bi,J=>t(52,X=J));const ui=ze.ui.playerSize;D(i,ui,J=>t(123,w=J));const xt=ze.ui.additionalButtons$;D(i,xt,J=>t(56,P=J));const ci=ze.actions.internal.getVideoElement,Ni=ze.actions.internal.replayInteractive,Lt=ze.state.isInteractive,Ki=ze.state.isInteractiveTime$;D(i,Ki,J=>t(122,g=J));const Gi=ze.state.showInteractiveGraph,Yi=ze.state.showSeekToInteractive,Ri=ze.state.showPlayPrevChapter,Zt=ze.state.showInteractiveTimeIndicator,_i=ze.state.graphIsOpened$;D(i,_i,J=>t(58,Pe=J));const nn=fe.seekToInteractiveDisabledTooltip$;D(i,nn,J=>t(129,O=J));let Oi,zt,Ft,Di,zi,wi,Fi,Hi,Wt,Qi,Ui,ki,Zi,yi,Kt,Ci,Ue,fi,di;const Be={},sn=ie.throttleFn(pf,I1,{leading:!1}),an=()=>ze.actions.internal.toggleChromecast();function Xi(){tn?$e==null||$e():_?at():Pt==null||Pt()}function un(){return $i(this,null,function*(){At!=null&&At.isActive()?yield At==null?void 0:At.remove():yield At==null?void 0:At.request()})}function Ji(){!tn&&_&&Li.set(!1),Xi()}const Gt=Le?Nt:Je;let xi="";const Si=(J,to)=>{if(!J){t(45,xi=G("tooltip_live"));return}to===tt.PlaybackState.PAUSED&&t(45,xi=G("tooltip_play"))};let qi,Rt;const Yt=()=>{a&&Xt(Oi)},oe=()=>{r&&wt(zt)};function nt(J){i.$$.not_equal(Be.volume,J)&&(Be.volume=J,t(20,Be))}function $t(J){i.$$.not_equal(Be.chromecast,J)&&(Be.chromecast=J,t(20,Be))}function Et(J){i.$$.not_equal(Be.pip,J)&&(Be.pip=J,t(20,Be))}function Mt(J){Rt=J,t(22,Rt)}function wn(J){i.$$.not_equal(Be.vkLogo,J)&&(Be.vkLogo=J,t(20,Be))}function kn(J){i.$$.not_equal(Be.prevButton,J)&&(Be.prevButton=J,t(20,Be))}function vn(J){i.$$.not_equal(Be.playButton,J)&&(Be.playButton=J,t(20,Be))}function cn(J){i.$$.not_equal(Be.replayButton,J)&&(Be.replayButton=J,t(20,Be))}function ji(J){i.$$.not_equal(Be.nextButton,J)&&(Be.nextButton=J,t(20,Be))}function yn(J){i.$$.not_equal(Be.playPrevChapterButton,J)&&(Be.playPrevChapterButton=J,t(20,Be))}function Mn(J){i.$$.not_equal(Be.interactiveGraphButton,J)&&(Be.interactiveGraphButton=J,t(20,Be))}function Bn(J){i.$$.not_equal(Be.seekToInteractiveButton,J)&&(Be.seekToInteractiveButton=J,t(20,Be))}function Cn(J){i.$$.not_equal(Be.volume,J)&&(Be.volume=J,t(20,Be))}function Sn(J){i.$$.not_equal(Be.playButton,J)&&(Be.playButton=J,t(20,Be))}function x(J){i.$$.not_equal(Be.replayButton,J)&&(Be.replayButton=J,t(20,Be))}function vt(J){i.$$.not_equal(Be.liveButton,J)&&(Be.liveButton=J,t(20,Be))}function fn(J){i.$$.not_equal(Be.time,J)&&(Be.time=J,t(20,Be))}function on(J){i.$$.not_equal(Be.episodes,J)&&(Be.episodes=J,t(20,Be))}function gn(J){Rt=J,t(22,Rt)}function dn(J){i.$$.not_equal(Be.settings,J)&&(Be.settings=J,t(20,Be))}function Kn(J){i.$$.not_equal(Be.fullscreen,J)&&(Be.fullscreen=J,t(20,Be))}function Gn(J){Se[J?"unshift":"push"](()=>{fi=J,t(44,fi)})}function Yn(J){Se[J?"unshift":"push"](()=>{ce=J,t(0,ce)})}function Nn(J){qi=J,t(21,qi)}function Qn(J){i.$$.not_equal(Be.interactiveTimeIndicator,J)&&(Be.interactiveTimeIndicator=J,t(20,Be))}return i.$$set=J=>{"bottomHidden"in J&&t(1,Ce=J.bottomHidden),"bottomNoSmooth"in J&&t(2,q=J.bottomNoSmooth),"showControls"in J&&t(3,$=J.showControls),"controlsElementRef"in J&&t(0,ce=J.controlsElementRef),"isAds"in J&&t(4,ae=J.isAds),"canRewindLive"in J&&t(5,We=J.canRewindLive),"logoClickable"in J&&t(6,Oe=J.logoClickable),"logoHidden"in J&&t(110,Ve=J.logoHidden),"videoLogoUrl"in J&&t(7,Ae=J.videoLogoUrl),"showNextPrevButtons"in J&&t(8,ue=J.showNextPrevButtons),"nextButtonActive"in J&&t(9,he=J.nextButtonActive),"prevButtonActive"in J&&t(10,le=J.prevButtonActive),"isOneVideoPlaylist"in J&&t(111,Le=J.isOneVideoPlaylist),"supportLink"in J&&t(11,pe=J.supportLink),"customFullscreenSupported"in J&&t(112,Te=J.customFullscreenSupported),"playNextVideo"in J&&t(12,Ge=J.playNextVideo),"playPrevVideo"in J&&t(13,Re=J.playPrevVideo),"repeatPlaylist"in J&&t(113,Je=J.repeatPlaylist),"toggleFullscreen"in J&&t(14,xe=J.toggleFullscreen),"returnFocus"in J&&t(15,ut=J.returnFocus),"seekToInteractive"in J&&t(16,rt=J.seekToInteractive),"toggleGraph"in J&&t(17,Tt=J.toggleGraph),"playPrevChapter"in J&&t(18,st=J.playPrevChapter),"onDisabledPlayPrevChapterClick"in J&&t(114,Xt=J.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in J&&t(115,wt=J.onDisabledSeekToInteractiveClick)},i.$$.update=()=>{if(i.$$.dirty[4]&32&&(zt=G(O)),i.$$.dirty[4]&16&&t(118,n=Y.has(dt.EPISODE_BUTTON)),i.$$.dirty[4]&16&&t(50,l=Y.has(dt.GRAPH_BUTTON)),i.$$.dirty[4]&16&&t(46,r=Y.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&16&&t(49,o=Y.has(dt.PLAY_BUTTON)),i.$$.dirty[4]&16&&t(48,s=Y.has(dt.REPLAY_BUTTON)),i.$$.dirty[4]&16&&t(47,a=Y.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&268435456&&t(31,Ft=h===tt.PlaybackState.PLAYING),i.$$.dirty[0]&1073741824&&t(32,Di=Z===ti.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[4]&8&&t(33,zi=re&&!ae&&!Lt),i.$$.dirty[0]&16|i.$$.dirty[4]&8&&t(34,wi=!re||ae),i.$$.dirty[3]&1073741824&&t(116,Fi=w.width>300),i.$$.dirty[3]&1073741824&&t(35,Hi=w.width>400),i.$$.dirty[0]&536870912&&t(117,Wt=se),i.$$.dirty[0]&469762048|i.$$.dirty[4]&2&&t(36,Qi=A!==tt.ChromecastState.NOT_AVAILABLE&&!(V&&y===Fn.DocumentPictureInPicture)&&!Q&&!Lt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&16777216|i.$$.dirty[4]&6){const J=z===De.WaitingLive;t(37,Ui=!!At&&A!==tt.ChromecastState.CONNECTED&&!Q&&(y===Fn.DocumentPictureInPicture&&J||!J)&&!Wt&&!Lt)}i.$$.dirty[3]&16777216&&t(38,ki=!Wt),i.$$.dirty[3]&1073872896&&t(39,Zi=!Ve&&w.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&17301504|i.$$.dirty[4]&2&&t(40,yi=gt.features.fullscreen&&!(V&&y===Fn.DocumentPictureInPicture)&&(Lt?Te:!0)&&!Wt),i.$$.dirty[0]&33554448|i.$$.dirty[3]&1090519040&&t(41,Kt=(!k||ae)&&w.width>260&&!Wt&&!(gt.features.interactiveHideTime&&Lt)),i.$$.dirty[0]&8388616&&t(42,Ci=d||$),i.$$.dirty[0]&33554448|i.$$.dirty[3]&58720256&&t(43,Ue=!ae&&!k&&!!(vi!=null&&vi.length)&&Fi&&!n&&!Wt),i.$$.dirty[0]&16777216|i.$$.dirty[4]&1&&t(19,di=!C||b),i.$$.dirty[0]&1048584|i.$$.dirty[3]&1610612736&&sn(ci(),Bi,Be,$),i.$$.dirty[0]&524288|i.$$.dirty[3]&268435456&&Si(di,h),i.$$.dirty[0]&12582912&&kr(Rt,d,Mi),i.$$.dirty[0]&10485760|i.$$.dirty[3]&134217728&&yr(qi,d,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&67108864&&hf(ct,c,Be.playButton)},Oi=G(ze.state.playPrevChapterDisabledTooltip),[ce,Ce,q,$,ae,We,Oe,Ae,ue,he,le,pe,Ge,Re,xe,ut,rt,Tt,st,di,Be,qi,Rt,d,C,k,V,Q,A,se,Z,Ft,Di,zi,wi,Hi,Qi,Ui,ki,Zi,yi,Kt,Ci,Ue,fi,xi,r,a,s,o,l,_,X,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,Nt,mt,Ze,kt,en,ni,Ei,tn,oi,Jt,li,Ot,pi,Ii,ri,Ai,hi,si,Li,Vi,Mi,vi,gi,Vt,ai,ct,pt,jt,Dt,bi,ui,xt,Ni,Lt,Ki,Gi,Yi,Ri,Zt,_i,nn,an,un,Ji,Gt,Yt,oe,Ve,Le,Te,Je,Xt,wt,Fi,Wt,n,c,f,h,g,w,b,y,z,re,Y,O,nt,$t,Et,Mt,wn,kn,vn,cn,ji,yn,Mn,Bn,Cn,Sn,x,vt,fn,on,gn,dn,Kn,Gn,Yn,Nn,Qn]}class rb extends ke{constructor(e){super(),we(this,e,lb,ob,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:110,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:111,supportLink:11,customFullscreenSupported:112,playNextVideo:12,playPrevVideo:13,repeatPlaylist:113,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:114,onDisabledSeekToInteractiveClick:115},Gg,[-1,-1,-1,-1,-1,-1])}}function sb(i){let e,t,n;function l(o){i[28](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Bg({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ab(i){let e,t,n;function l(o){i[27](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22],onDisabledPlayPrevChapterClick:i[23],onDisabledSeekToInteractiveClick:i[24]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new rb({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ub(i){let e,t,n,l;const r=[ab,sb],o=[];function s(a,c){return a[25]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){l||(m(t),l=!0)},o(a){v(t),l=!1},d(a){a&&S(n),o[e].d(a)}}}function cb(i,e,t){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:b=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:V}=e,{repeatPlaylist:Q}=e,{toggleFullscreen:A}=e,{returnFocus:z=ie.noop}=e,{seekToInteractive:se}=e,{toggleGraph:re}=e,{playPrevChapter:Z}=e,{onDisabledPlayPrevChapterClick:Y=ie.noop}=e,{onDisabledSeekToInteractiveClick:O=ie.noop}=e;const L=St().ui.isMobile;D(i,L,P=>t(25,n=P));function B(P){s=P,t(0,s)}function te(P){s=P,t(0,s)}return i.$$set=P=>{"bottomHidden"in P&&t(1,l=P.bottomHidden),"bottomNoSmooth"in P&&t(2,r=P.bottomNoSmooth),"showControls"in P&&t(3,o=P.showControls),"controlsElementRef"in P&&t(0,s=P.controlsElementRef),"isAds"in P&&t(4,a=P.isAds),"canRewindLive"in P&&t(5,c=P.canRewindLive),"logoClickable"in P&&t(6,f=P.logoClickable),"logoHidden"in P&&t(7,d=P.logoHidden),"videoLogoUrl"in P&&t(8,h=P.videoLogoUrl),"showNextPrevButtons"in P&&t(9,_=P.showNextPrevButtons),"nextButtonActive"in P&&t(10,g=P.nextButtonActive),"prevButtonActive"in P&&t(11,w=P.prevButtonActive),"isOneVideoPlaylist"in P&&t(12,b=P.isOneVideoPlaylist),"supportLink"in P&&t(13,C=P.supportLink),"customFullscreenSupported"in P&&t(14,k=P.customFullscreenSupported),"playNextVideo"in P&&t(15,y=P.playNextVideo),"playPrevVideo"in P&&t(16,V=P.playPrevVideo),"repeatPlaylist"in P&&t(17,Q=P.repeatPlaylist),"toggleFullscreen"in P&&t(18,A=P.toggleFullscreen),"returnFocus"in P&&t(19,z=P.returnFocus),"seekToInteractive"in P&&t(20,se=P.seekToInteractive),"toggleGraph"in P&&t(21,re=P.toggleGraph),"playPrevChapter"in P&&t(22,Z=P.playPrevChapter),"onDisabledPlayPrevChapterClick"in P&&t(23,Y=P.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in P&&t(24,O=P.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,n,L,B,te]}class bf extends ke{constructor(e){super(),we(this,e,cb,ub,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function fb(i){Ke(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function db(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(g,w){T(g,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function mb(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class pb extends ke{constructor(e){super(),we(this,e,mb,db,be,{reversed:0},fb)}}function hb(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("clipPath"),s=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),d=N("feOffset"),h=N("feGaussianBlur"),_=N("feColorMatrix"),g=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(b,C){T(b,e,C),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,_),p(a,g),p(a,w)},d(b){b&&S(e)}}}function vb(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("defs"),s=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104293"),u(b,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){T(C,e,k),p(e,t),p(t,n),p(t,l),p(t,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},d(C){C&&S(e)}}}function gb(i){let e;function t(r,o){return r[0]?vb:hb}let n=t(i),l=n(i);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function bb(i,e,t){let{isOff:n=!1}=e;return i.$$set=l=>{"isOff"in l&&t(0,n=l.isOff)},[n]}class _f extends ke{constructor(e){super(),we(this,e,bb,gb,be,{isOff:0})}}function _b(i){Ke(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function wb(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(g,w){T(g,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function kb(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class yb extends ke{constructor(e){super(),we(this,e,kb,wb,be,{reversed:0},_b)}}function Cb(i){Ke(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Sb(i){let e,t,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(g,w){T(g,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function Tb(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class Pb extends ke{constructor(e){super(),we(this,e,Tb,Sb,be,{reversed:0},Cb)}}function Eb(i){Ke(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function vu(i){let e,t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(i[4]),n,l,r,o,s,a,c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(i[4]),f,d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(i[4]),h,_,g,w,b,C=t&&gu(i),k=i[4]===Qe.PAUSE&&bu(),y=i[4]===Qe.PLAY&&_u(),V=i[4]===Qe.REPLAY&&wu(),Q=i[4]===Qe.SUBTITLES_OFF&&ku(),A=i[4]===Qe.SUBTITLES_ON&&yu(),z=c&&Cu(i),se=d&&Su(i),re=i[4]===Qe.MUTE&&Tu(),Z=i[4]===Qe.VOLUME&&Pu(),Y=i[5]&&Eu(i);return{c(){e=E("div"),C&&C.c(),n=R(),k&&k.c(),l=R(),y&&y.c(),r=R(),V&&V.c(),o=R(),Q&&Q.c(),s=R(),A&&A.c(),a=R(),z&&z.c(),f=R(),se&&se.c(),h=R(),re&&re.c(),_=R(),Z&&Z.c(),g=R(),Y&&Y.c(),w=ht(),u(e,"class","v-4ftgwp")},m(O,X){T(O,e,X),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),V&&V.m(e,null),p(e,o),Q&&Q.m(e,null),p(e,s),A&&A.m(e,null),p(e,a),z&&z.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),re&&re.m(e,null),p(e,_),Z&&Z.m(e,null),T(O,g,X),Y&&Y.m(O,X),T(O,w,X),b=!0},p(O,X){X&16&&(t=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(O[4])),t?C?(C.p(O,X),X&16&&m(C,1)):(C=gu(O),C.c(),m(C,1),C.m(e,n)):C&&(de(),v(C,1,1,()=>{C=null}),me()),O[4]===Qe.PAUSE?k?X&16&&m(k,1):(k=bu(),k.c(),m(k,1),k.m(e,l)):k&&(de(),v(k,1,1,()=>{k=null}),me()),O[4]===Qe.PLAY?y?X&16&&m(y,1):(y=_u(),y.c(),m(y,1),y.m(e,r)):y&&(de(),v(y,1,1,()=>{y=null}),me()),O[4]===Qe.REPLAY?V?X&16&&m(V,1):(V=wu(),V.c(),m(V,1),V.m(e,o)):V&&(de(),v(V,1,1,()=>{V=null}),me()),O[4]===Qe.SUBTITLES_OFF?Q?X&16&&m(Q,1):(Q=ku(),Q.c(),m(Q,1),Q.m(e,s)):Q&&(de(),v(Q,1,1,()=>{Q=null}),me()),O[4]===Qe.SUBTITLES_ON?A?X&16&&m(A,1):(A=yu(),A.c(),m(A,1),A.m(e,a)):A&&(de(),v(A,1,1,()=>{A=null}),me()),X&16&&(c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(O[4])),c?z?(z.p(O,X),X&16&&m(z,1)):(z=Cu(O),z.c(),m(z,1),z.m(e,f)):z&&(de(),v(z,1,1,()=>{z=null}),me()),X&16&&(d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(O[4])),d?se?(se.p(O,X),X&16&&m(se,1)):(se=Su(O),se.c(),m(se,1),se.m(e,h)):se&&(de(),v(se,1,1,()=>{se=null}),me()),O[4]===Qe.MUTE?re?X&16&&m(re,1):(re=Tu(),re.c(),m(re,1),re.m(e,_)):re&&(de(),v(re,1,1,()=>{re=null}),me()),O[4]===Qe.VOLUME?Z?X&16&&m(Z,1):(Z=Pu(),Z.c(),m(Z,1),Z.m(e,null)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),O[5]?Y?Y.p(O,X):(Y=Eu(O),Y.c(),Y.m(w.parentNode,w)):Y&&(Y.d(1),Y=null)},i(O){b||(m(C),m(k),m(y),m(V),m(Q),m(A),m(z),m(se),m(re),m(Z),b=!0)},o(O){v(C),v(k),v(y),v(V),v(Q),v(A),v(z),v(se),v(re),v(Z),b=!1},d(O){O&&(S(e),S(g),S(w)),C&&C.d(),k&&k.d(),y&&y.d(),V&&V.d(),Q&&Q.d(),A&&A.d(),z&&z.d(),se&&se.d(),re&&re.d(),Z&&Z.d(),Y&&Y.d(O)}}}function gu(i){let e,t;return e=new pb({props:{reversed:i[4]===Qe.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.FORWARD_SEEK),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function bu(i){let e,t;return e=new Xc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function _u(i){let e,t;return e=new Pr({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function wu(i){let e,t;return e=new sf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ku(i){let e,t;return e=new _f({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function yu(i){let e,t;return e=new _f({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Cu(i){let e,t;return e=new yb({props:{reversed:i[4]===Qe.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.RATE_UP),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Su(i){let e,t;return e=new Pb({props:{reversed:i[4]===Qe.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.EPISODE_NEXT),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tu(i){let e,t;return e=new Sl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pu(i){let e,t;return e=new Sl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Eu(i){let e,t;return{c(){e=E("span"),t=He(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&32&&it(t,n[5])},d(n){n&&S(e)}}}function Ib(i){let e,t,n=!i[1]&&i[4]&&vu(i);return{c(){e=E("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",i[1]),M(e,"hot-key-helpers-container--left",i[2]),M(e,"hot-key-helpers-container--right",i[3])},m(l,r){T(l,e,r),n&&n.m(e,null),t=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=vu(l),n.c(),m(n,1),n.m(e,null)):n&&(de(),v(n,1,1,()=>{n=null}),me()),(!t||r&2)&&M(e,"hidden",l[1]),(!t||r&4)&&M(e,"hot-key-helpers-container--left",l[2]),(!t||r&8)&&M(e,"hot-key-helpers-container--right",l[3])},i(l){t||(m(n),t=!0)},o(l){v(n),t=!1},d(l){l&&S(e),n&&n.d()}}}function Ab(i,e,t){let n,l=K,r=()=>(l(),l=ei(o,h=>t(6,n=h)),o);i.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return i.$$set=h=>{"data"in h&&r(t(0,o=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Qe.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Qe.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,d=G(n.t.key,{value:n.t.value||""})):t(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class Lb extends ke{constructor(e){super(),we(this,e,Ab,Ib,be,{data:0},Eb)}}function Vb(i){Ke(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 Mb(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return r=new xn({props:{direction:"up"}}),a=new xn({props:{direction:"up"}}),h=new xn({props:{direction:"up"}}),w=new xn({props:{direction:"up"}}),{c(){e=E("div"),t=E("div"),n=E("div"),l=E("div"),U(r.$$.fragment),o=R(),s=E("div"),U(a.$$.fragment),c=R(),f=E("div"),d=E("div"),U(h.$$.fragment),_=R(),g=E("div"),U(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(g,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(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",G("aria_label_spherical_control")),M(e,"m-shifted",i[0])},m(y,V){T(y,e,V),p(e,t),p(t,n),p(n,l),F(r,l,null),p(n,o),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,d),F(h,d,null),p(f,_),p(f,g),F(w,g,null),b=!0,C||(k=[ve(l,"mousedown",i[1]),ve(l,"mouseup",i[5]),ve(l,"mouseleave",i[5]),ve(s,"mousedown",i[3]),ve(s,"mouseup",i[5]),ve(s,"mouseleave",i[5]),ve(d,"mousedown",i[4]),ve(d,"mouseup",i[5]),ve(d,"mouseleave",i[5]),ve(g,"mousedown",i[2]),ve(g,"mouseup",i[5]),ve(g,"mouseleave",i[5]),ve(e,"keydown",i[6]),ve(e,"keyup",i[7])],C=!0)},p(y,[V]){(!b||V&1)&&M(e,"m-shifted",y[0])},i(y){b||(m(r.$$.fragment,y),m(a.$$.fragment,y),m(h.$$.fragment,y),m(w.$$.fragment,y),b=!0)},o(y){v(r.$$.fragment,y),v(a.$$.fragment,y),v(h.$$.fragment,y),v(w.$$.fragment,y),b=!1},d(y){y&&S(e),H(r),H(a),H(h),H(w),C=!1,ot(k)}}}function Bb(i,e,t){let{isShifted:n=!1}=e;const l=St(),r=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ee.ArrowUp:o();break;case Ee.ArrowDown:s();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return i.$$set=_=>{"isShifted"in _&&t(0,n=_.isShifted)},[n,o,s,a,c,f,d,h]}class wf extends ke{constructor(e){super(),we(this,e,Bb,Mb,be,{isShifted:0},Vb)}}function Nb(i){Ke(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 Iu(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Au(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Lu(i){let e,t;function n(o,s){return o[7]&&o[8]?Db:o[5]?Ob:Rb}let l=n(i),r=l(i);return{c(){e=E("div"),t=E("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",i[3])},m(o,s){T(o,e,s),p(e,t),r.m(t,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(t,null))),s&8&&M(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function Rb(i){let e,t=Qt(i[1]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Vu(Iu(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ht()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);T(l,e,r)},p(l,r){if(r&18){t=Qt(l[1]);let o;for(o=0;o<t.length;o+=1){const s=Iu(l,t,o);n[o]?n[o].p(s,r):(n[o]=Vu(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&S(e),Vn(n,l)}}}function Ob(i){let e,t,n=Qt(i[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=Bu(Au(i,n,r));return{c(){e=E("span"),t=E("span");for(let r=0;r<l.length;r+=1)l[r].c();u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,t);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(t,null)},p(r,o){if(o&68){n=Qt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Au(r,n,s);l[s]?l[s].p(a,o):(l[s]=Bu(a),l[s].c(),l[s].m(t,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ut(t,"font-size",r[4]+"px")},d(r){r&&S(e),Vn(l,r)}}}function Db(i){let e,t,n=G("subtitles_auto_caption")+"",l;return{c(){e=E("span"),t=E("span"),l=He(n),u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,t),p(t,l)},p(r,o){o&16&&Ut(t,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function Vu(i){let e,t,n=i[16]+"",l,r;return{c(){e=E("span"),t=E("span"),l=He(n),r=R(),u(t,"class","caption-segment v-ovfyp5"),Ut(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){T(o,e,s),p(e,t),p(t,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&it(l,n),s&16&&Ut(t,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function Mu(i){let e=i[16]+"",t;return{c(){t=He(e)},m(n,l){T(n,t,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&it(t,e)},d(n){n&&S(t)}}}function Bu(i){let e,t=(!i[17]||i[17]<=i[2])&&Mu(i);return{c(){t&&t.c(),e=ht()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?t?t.p(n,l):(t=Mu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&S(e),t&&t.d(n)}}}function zb(i){let e,t=i[1].length>0&&Lu(i);return{c(){e=E("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",i[0]),M(e,"auto",i[5]&&!i[8])},m(n,l){T(n,e,l),t&&t.m(e,null)},p(n,[l]){n[1].length>0?t?t.p(n,l):(t=Lu(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),l&1&&M(e,"shifted",n[0]),l&288&&M(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&S(e),t&&t.d()}}}function Fb(i,e,t){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=St(),d=_n(),h=f.state.currentSubtitle$;D(i,h,y=>t(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;D(i,_,y=>t(8,l=y));let g,w,b,C,k;return hn(()=>{k=window.setTimeout(()=>{_.set(!1)},d.autoSubtitlesTimeout)}),zo(()=>{window.clearTimeout(k)}),i.$$set=y=>{"shifted"in y&&t(0,r=y.shifted),"captions"in y&&t(1,o=y.captions),"position"in y&&t(2,s=y.position),"playerSize"in y&&t(11,a=y.playerSize),"isMobile"in y&&t(3,c=y.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const y=a.width*.02;t(4,g=y<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:y)}i.$$.dirty&2&&t(5,w=o.some(y=>y.type==="timestamp")),i.$$.dirty&2&&t(6,b=o.reduce((y,{type:V,value:Q})=>(V==="timestamp"?y.push({timeAppeared:Number(Q),value:""}):y.length===0?y.push({value:String(Q)}):y[y.length-1].value=String(Q),y),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,o,s,c,g,w,b,C,l,h,_,a,n]}class kf extends ke{constructor(e){super(),we(this,e,Fb,zb,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Nb)}}function Hb(i){Ke(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 Nu(i){let e,t,n;return{c(){e=E("div"),t=He("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=He(i[1]),u(e,"class","text v-1o62kpz")},m(l,r){T(l,e,r),p(e,t),p(e,n)},p(l,r){r&2&&it(n,l[1])},d(l){l&&S(e)}}}function Ub(i){let e,t,n,l,r,o,s=i[1]&&Nu(i);return{c(){e=E("div"),t=E("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){T(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(o=ve(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Nu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function qb(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){lo.call(this,i,o)}return i.$$set=o=>{"thumbUrl"in o&&t(0,n=o.thumbUrl),"chromecastDeviceName"in o&&t(1,l=o.chromecastDeviceName)},[n,l,r]}class yf extends ke{constructor(e){super(),we(this,e,qb,Ub,be,{thumbUrl:0,chromecastDeviceName:1},Hb)}}function jb(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Wb extends ke{constructor(e){super(),we(this,e,null,jb,be,{})}}function Zb(i){Ke(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 Kb(i){let e,t,n;return t=new Wb({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){T(l,e,r),F(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}class Cf extends ke{constructor(e){super(),we(this,e,null,Kb,be,{},Zb)}}function Gb(i){Ke(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 Yb(i){let e,t,n,l,r,o,s,a,c;return r=new Pr({}),{c(){e=E("div"),t=E("div"),n=E("div"),l=R(),U(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(t,"tabindex","0"),u(t,"role","button"),u(t,"aria-label",G("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${i[0]||""}')`),M(e,"hidden",i[1])},m(f,d){T(f,e,d),p(e,t),p(t,n),p(t,l),F(r,t,null),s=!0,a||(c=[ve(t,"keydown",i[3]),ve(e,"click",lt(function(){Ln(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[d]){i=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&M(e,"hidden",i[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){v(r.$$.fragment,f),s=!1},d(f){f&&S(e),H(r),a=!1,ot(c)}}}function Qb(i,e,t){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=St().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ee.Enter,Ee.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return i.$$set=c=>{"thumbUrl"in c&&t(0,n=c.thumbUrl),"hidden"in c&&t(1,l=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,l,r,a]}class Sf extends ke{constructor(e){super(),we(this,e,Qb,Yb,be,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},Gb)}get handlePressKey(){return this.$$.ctx[3]}}function Xb(i){Ke(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 i_(i){let e,t;return{c(){e=P("div"),t=De(i[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",i[1])},m(n,l){T(n,e,l),p(e,t)},p(n,[l]){l&1&&Je(t,n[0]),l&2&&B(e,"hidden",n[1])},i:K,o:K,d(n){n&&S(e)}}}function n_(i,e,t){let{title:n=""}=e,{isHidden:l=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,l=r.isHidden)},[n,l]}class o_ extends ye{constructor(e){super(),ke(this,e,n_,i_,we,{title:0,isHidden:1},t_)}}function l_(i){Ze(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 ju(i){let e,t,n,l,r,o,s;return{c(){e=P("div"),t=P("span"),n=De(i[0]),l=O(),r=P("span"),r.textContent=`${Y("waiting_live_day_value")}`,o=O(),s=P("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&1&&Je(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function qu(i){let e,t,n,l,r,o,s;return{c(){e=P("div"),t=P("span"),n=De(i[1]),l=O(),r=P("span"),r.textContent=`${Y("waiting_live_hour_value")}`,o=O(),s=P("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&2&&Je(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function Wu(i){let e,t,n,l,r,o,s;return{c(){e=P("div"),t=P("span"),n=De(i[2]),l=O(),r=P("span"),r.textContent=`${Y("waiting_live_minute_value")}`,o=O(),s=P("span"),s.textContent=`${Y("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&4&&Je(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function Zu(i){let e,t,n,l,r;return{c(){e=P("div"),t=P("span"),n=De(i[3]),l=O(),r=P("span"),r.textContent=`${Y("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){T(o,e,s),p(e,t),p(t,n),p(e,l),p(e,r)},p(o,s){s&8&&Je(n,o[3])},d(o){o&&S(e)}}}function r_(i){let e,t,n,l,r=i[0]&&ju(i),o=i[1]&&qu(i),s=i[2]&&Wu(i),a=i[3]&&Zu(i);return{c(){e=P("div"),r&&r.c(),t=O(),o&&o.c(),n=O(),s&&s.c(),l=O(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),r&&r.m(e,null),p(e,t),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=ju(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=qu(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=Wu(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Zu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function s_(i,e,t){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=b=>String(b).padStart(2,"0"),d=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,t(0,r=f(v)));const w=Math.floor(b/3600);t(1,o=f(w));const _=Math.floor(b/60)%60;t(2,s=f(_));const C=b%60;t(3,a=f(C))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;d(v),v>=1?c=requestAnimationFrame(h):l()};return _n(()=>{c=requestAnimationFrame(h)}),bl(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,l=b.onTimerOver)},[r,o,s,a,n,l]}class a_ extends ye{constructor(e){super(),ke(this,e,s_,r_,we,{startTime:4,onTimerOver:5},l_)}}function u_(i){let e,t,n,l,r;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("path"),r=N("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"),Ht(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"),Ht(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ht(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ht(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ht(e,"shape-rendering","geometricPrecision"),Ht(e,"text-rendering","geometricPrecision"),Ht(e,"image-rendering","optimizeQuality"),Ht(e,"fill-rule","evenodd"),Ht(e,"clip-rule","evenodd"),Ht(e,"width","100%"),Ht(e,"height","100%")},m(o,s){T(o,e,s),p(e,t),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&S(e)}}}class c_ extends ye{constructor(e){super(),ke(this,e,null,u_,we,{})}}function f_(i){Ze(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 d_(i){let e,t,n,l,r;return l=new a_({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=P("div"),t=P("span"),t.textContent=`${Y("waiting_live_timer_title")}`,n=O(),W(l.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){T(o,e,s),p(e,t),p(e,n),U(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){g(l.$$.fragment,o),r=!1},d(o){o&&S(e),j(l)}}}function m_(i){let e,t,n,l,r,o;return n=new c_({}),{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("span"),r.textContent=`${Y("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){T(s,e,a),p(e,t),U(n,t,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&S(e),j(n)}}}function p_(i){let e,t,n,l,r;const o=[m_,d_],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=o[t](i),{c(){e=P("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){T(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let d=t;t=a(c),t===d?s[t].p(c,f):(fe(),g(s[d],1,1,()=>{s[d]=null}),de(),n=s[t],n?n.p(c,f):(n=s[t]=o[t](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){g(n),r=!1},d(c){c&&S(e),s[t].d()}}}function h_(i,e,t){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,l=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class Vf extends ye{constructor(e){super(),ke(this,e,h_,p_,we,{thumbUrl:0,startTime:1},f_)}}function v_(i){Ze(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 g_(i){let e,t;return{c(){e=P("div"),t=P("p"),t.textContent=`${Y("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Mf extends ye{constructor(e){super(),ke(this,e,null,g_,we,{},v_)}}const{window:b_}=gl;function __(i){Ze(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 Ku(i){var n;let e,t;return e=new Vf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(l,r){U(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function Gu(i){let e,t;return e=new Mf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Yu(i){let e,t,n;return t=new Bc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),B(e,"hidden",i[38]!==ze.Ads)},m(l,r){T(l,e,r),U(t,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),t.$set(o),(!n||r[1]&128)&&B(e,"hidden",l[38]!==ze.Ads)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function Qu(i){let e,t;return e=new Bp({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Xu(i){let e,t;return e=new o_({props:{title:i[2],isHidden:!i[36]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function Ju(i){let e,t;return e=new Tf({props:{isShifted:i[38]===ze.Video&&i[36]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===ze.Video&&n[36]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function xu(i){let e,t,n;return t=new Q1({props:{ariaLabel:Y("video360")}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){T(l,e,r),U(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function $u(i){let e,t;return e=new Af({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function e1(i){let e,t;return e=new Ef({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function t1(i){let e,t,n,l,r;return t=new If({}),{c(){e=P("div"),W(t.$$.fragment)},m(o,s){T(o,e,s),U(t,e,null),n=!0,l||(r=[he(e,"contextmenu",ei(i[107])),he(e,"click",st(i[118]))],l=!0)},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&S(e),j(t),l=!1,nt(r)}}}function i1(i){let e,t,n;function l(o){i[151](o)}let r={bottomHidden:i[38]===ze.Thumb||i[38]===ze.WaitingLive||i[38]===ze.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===ze.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:y_,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};return i[41]!==void 0&&(r.controlsElementRef=i[41]),e=new Sf({props:r}),Se.push(()=>We(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===ze.Thumb||o[38]===ze.WaitingLive||o[38]===ze.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===ze.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!t&&s[1]&1024&&(t=!0,a.controlsElementRef=o[41],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function n1(i){let e,t;return e=new Zc({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function o1(i){let e,t;return e=new t3({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function l1(i){let e,t;return e=new Hc({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function r1(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue;e=new Lf({props:{hidden:i[38]!==ze.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ae=i[38]===ze.WaitingLive&&Ku(i),R=i[38]===ze.WaitingRecord&&Gu(),te=i[8]&&i[22]&&Yu(i),X=i[31]&&i[18]&&i[19]&&Qu(i),G=i[46]&&Xu(i),A=i[51]&&Ju(i),V=i[54]&&xu(),J=i[39]&&$u(i),L=i[56].value!=="off"&&e1(i),ne=i[37]&&t1(i),Te=i[22]&&i1(i);v=new Rc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),_=new R5({props:{data:i[102]}});function Pe(H){i[153](H)}let Ve={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Ve.menuElementRef=i[32]),k=new dp({props:Ve}),Se.push(()=>We(k,"menuElementRef",Pe));let Ae=i[44]&&n1(),Oe=i[63]&&o1(),me=i[64]&&l1();return{c(){W(e.$$.fragment),t=O(),ae&&ae.c(),n=O(),R&&R.c(),l=O(),te&&te.c(),r=O(),X&&X.c(),o=O(),G&&G.c(),s=O(),A&&A.c(),a=O(),V&&V.c(),c=O(),J&&J.c(),f=O(),L&&L.c(),d=O(),ne&&ne.c(),h=O(),Te&&Te.c(),b=O(),W(v.$$.fragment),w=O(),W(_.$$.fragment),C=O(),W(k.$$.fragment),M=O(),Ae&&Ae.c(),z=O(),Oe&&Oe.c(),I=O(),me&&me.c(),F=pt()},m(H,$){U(e,H,$),T(H,t,$),ae&&ae.m(H,$),T(H,n,$),R&&R.m(H,$),T(H,l,$),te&&te.m(H,$),T(H,r,$),X&&X.m(H,$),T(H,o,$),G&&G.m(H,$),T(H,s,$),A&&A.m(H,$),T(H,a,$),V&&V.m(H,$),T(H,c,$),J&&J.m(H,$),T(H,f,$),L&&L.m(H,$),T(H,d,$),ne&&ne.m(H,$),T(H,h,$),Te&&Te.m(H,$),T(H,b,$),U(v,H,$),T(H,w,$),U(_,H,$),T(H,C,$),U(k,H,$),T(H,M,$),Ae&&Ae.m(H,$),T(H,z,$),Oe&&Oe.m(H,$),T(H,I,$),me&&me.m(H,$),T(H,F,$),ue=!0},p(H,$){const pe={};$[0]&64|$[1]&192&&(pe.hidden=H[38]!==ze.Thumb||H[37]||H[93]&&H[6]),$[0]&8&&(pe.thumbUrl=H[3]),$[0]&536870912&&(pe.startVideo=H[29]),e.$set(pe),H[38]===ze.WaitingLive?ae?(ae.p(H,$),$[1]&128&&m(ae,1)):(ae=Ku(H),ae.c(),m(ae,1),ae.m(n.parentNode,n)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),H[38]===ze.WaitingRecord?R?$[1]&128&&m(R,1):(R=Gu(),R.c(),m(R,1),R.m(l.parentNode,l)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),H[8]&&H[22]?te?(te.p(H,$),$[0]&4194560&&m(te,1)):(te=Yu(H),te.c(),m(te,1),te.m(r.parentNode,r)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),H[31]&&H[18]&&H[19]?X?(X.p(H,$),$[0]&786432|$[1]&1&&m(X,1)):(X=Qu(H),X.c(),m(X,1),X.m(o.parentNode,o)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),H[46]?G?(G.p(H,$),$[1]&32768&&m(G,1)):(G=Xu(H),G.c(),m(G,1),G.m(s.parentNode,s)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),H[51]?A?(A.p(H,$),$[1]&1048576&&m(A,1)):(A=Ju(H),A.c(),m(A,1),A.m(a.parentNode,a)):A&&(fe(),g(A,1,1,()=>{A=null}),de()),H[54]?V?(V.p(H,$),$[1]&8388608&&m(V,1)):(V=xu(),V.c(),m(V,1),V.m(c.parentNode,c)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),H[39]?J?(J.p(H,$),$[1]&256&&m(J,1)):(J=$u(H),J.c(),m(J,1),J.m(f.parentNode,f)):J&&(fe(),g(J,1,1,()=>{J=null}),de()),H[56].value!=="off"?L?(L.p(H,$),$[1]&33554432&&m(L,1)):(L=e1(H),L.c(),m(L,1),L.m(d.parentNode,d)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),H[37]?ne?(ne.p(H,$),$[1]&64&&m(ne,1)):(ne=t1(H),ne.c(),m(ne,1),ne.m(h.parentNode,h)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),H[22]?Te?(Te.p(H,$),$[0]&4194304&&m(Te,1)):(Te=i1(H),Te.c(),m(Te,1),Te.m(b.parentNode,b)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de());const ce={};$[1]&536870912&&(ce.isLive=H[60]),$[1]&16384&&(ce.isHidden=!H[45]),$[1]&1073741824&&(ce.isPlaying=H[61]),$[1]&134217728&&(ce.position=H[58]),$[2]&1&&(ce.duration=H[62]),v.$set(ce);const Fe={};$[0]&2097152&&(Fe.supportLink=H[21]),$[1]&524288&&(Fe.returnFocus=H[152]),$[1]&4&&(Fe.visible=H[33]),$[1]&512&&(Fe.playerContainerRef=H[40]),$[1]&1024&&(Fe.controlsContainerRef=H[41]),$[1]&2048&&(Fe.x=H[42]),$[1]&4096&&(Fe.y=H[43]),!y&&$[1]&2&&(y=!0,Fe.menuElementRef=H[32],qe(()=>y=!1)),k.$set(Fe),H[44]?Ae?$[1]&8192&&m(Ae,1):(Ae=n1(),Ae.c(),m(Ae,1),Ae.m(z.parentNode,z)):Ae&&(fe(),g(Ae,1,1,()=>{Ae=null}),de()),H[63]?Oe?$[2]&2&&m(Oe,1):(Oe=o1(),Oe.c(),m(Oe,1),Oe.m(I.parentNode,I)):Oe&&(fe(),g(Oe,1,1,()=>{Oe=null}),de()),H[64]?me?$[2]&4&&m(me,1):(me=l1(),me.c(),m(me,1),me.m(F.parentNode,F)):me&&(fe(),g(me,1,1,()=>{me=null}),de())},i(H){ue||(m(e.$$.fragment,H),m(ae),m(R),m(te),m(X),m(G),m(A),m(V),m(J),m(L),m(ne),m(Te),m(v.$$.fragment,H),m(_.$$.fragment,H),m(k.$$.fragment,H),m(Ae),m(Oe),m(me),ue=!0)},o(H){g(e.$$.fragment,H),g(ae),g(R),g(te),g(X),g(G),g(A),g(V),g(J),g(L),g(ne),g(Te),g(v.$$.fragment,H),g(_.$$.fragment,H),g(k.$$.fragment,H),g(Ae),g(Oe),g(me),ue=!1},d(H){H&&(S(t),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(b),S(w),S(C),S(M),S(z),S(I),S(F)),j(e,H),ae&&ae.d(H),R&&R.d(H),te&&te.d(H),X&&X.d(H),G&&G.d(H),A&&A.d(H),V&&V.d(H),J&&J.d(H),L&&L.d(H),ne&&ne.d(H),Te&&Te.d(H),j(v,H),j(_,H),j(k,H),Ae&&Ae.d(H),Oe&&Oe.d(H),me&&me.d(H)}}}function w_(i){let e,t,n,l,r=i[53],o,s,a,c,f=r1(i);return{c(){e=P("div"),t=P("div"),l=O(),f.c(),o=pt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),B(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),B(e,"hidden",i[38]!==ze.Video),B(e,"nocursor",i[47])},m(d,h){T(d,e,h),p(e,t),i[149](t),T(d,l,h),f.m(d,h),T(d,o,h),s=!0,a||(c=[he(e,"contextmenu",ei(i[107])),he(e,"mousedown",ei(i[112])),he(e,"mouseup",ei(i[113])),he(e,"click",ei(i[115])),he(e,"dblclick",ei(i[114]))],a=!0)},p(d,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&B(t,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&B(e,"hidden",d[38]!==ze.Video),(!s||h[1]&65536)&&B(e,"nocursor",d[47]),h[1]&4194304&&we(r,r=d[53])?(fe(),g(f,1,1,K),de(),f=r1(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){g(f),s=!1},d(d){d&&(S(e),S(l),S(o)),i[149](null),f.d(d),a=!1,nt(c)}}}function k_(i){let e,t,n,l,r,o,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===ze.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[w_]},$$scope:{ctx:i}};return t=new Dp({props:a}),i[154](t),{c(){e=P("div"),W(t.$$.fragment),n=O(),l=P("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),U(t,e,null),p(e,n),p(e,l),i[155](l),i[156](e),r=!0,o||(s=[he(b_,"blur",i[106]),he(e,"mouseenter",i[108]),he(e,"mouseleave",i[110]),he(e,"mousemove",i[111]),he(e,"click",i[119],!0),he(e,"focusin",i[109],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===ze.Ads),f[1]&262144&&(d.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(d.$$scope={dirty:f,ctx:c}),t.$set(d)},i(c){r||(m(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&S(e),i[154](null),j(t),i[155](null),i[156](null),o=!1,nt(s)}}}let y_=!0;function Bf(i){return i?i.offsetTop+Bf(i.offsetParent):0}function C_(i,e,t){let n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,H,{store:$}=e,{uiConfig:pe}=e,{title:ce}=e,{thumbUrl:Fe}=e,{videoLogoUrl:Re}=e,{videoContainer:Ne}=e,{interactiveContainer:Ie}=e,{live:ge}=e,{autoplay:ve}=e,{canRewindLive:ee}=e,{showAds:Ce}=e,{adsSlotId:oe=void 0}=e,{adsParams:be=void 0}=e,{adsPreviewParam:Ke=void 0}=e,{duration:Me=void 0}=e,{logoClickable:xe}=e,{logoHidden:Xe}=e,{showNextPrevButtons:ot=!1}=e,{nextButtonActive:at=!1}=e,{prevButtonActive:St=!1}=e,{endScreenVideoTitle:vt=void 0}=e,{endScreenVideoThumb:Yt=void 0}=e,{isOneVideoPlaylist:Pt=!1}=e,{supportLink:Tt}=e,{outerContainerRef:le=void 0}=e,{playerStarted:gt=!1}=e,{fullScreenTarget:lt=void 0}=e,{showMiniTimer:Ot=!1}=e,{playNextVideo:ut=ie.noop}=e,{playPrevVideo:At=ie.noop}=e,{repeatPlaylist:$e=ie.noop}=e,{seekToInteractive:Ue}=e,{toggleGraph:Et}=e,{playPrevChapter:Ui}=e,{firstStart:di}=e;const mi=$.getLogger().createComponentLog("Root component"),un=$.interfaceLanguage$;D(i,un,Z=>t(53,A=Z));const ti=$.state.playbackState$;D(i,ti,Z=>t(146,te=Z));const Qt=$.ads.playbackState;D(i,Qt,Z=>t(147,X=Z));const pi=$.state.positionWithScrubbing$;D(i,pi,Z=>t(58,Te=Z));const Dt=$.state.duration$;D(i,Dt,Z=>t(62,Oe=Z));const hi=$.playerPhase;D(i,hi,Z=>t(38,I=Z));const vi=$.ui.isFullscreen;D(i,vi,Z=>t(136,d=Z));const ii=$.ui.controlsVisible;D(i,ii,Z=>t(36,C=Z));const gi=$.ui.settingsMenuVisible;D(i,gi,Z=>t(134,o=Z));const bi=$.ui.scrubbingInProgress;D(i,bi,Z=>t(138,w=Z));const ni=$.ui.contextMenuVisible;D(i,ni,Z=>t(33,n=Z));const ji=$.ui.debugPanelVisible;D(i,ji,Z=>t(64,H=Z));const Li=$.state.isLoaderVisible;D(i,Li,Z=>t(148,G=Z));const qi=$.state.isEnded$;D(i,qi,Z=>t(135,a=Z));const oi=$.state.chromecastConnected$;D(i,oi,Z=>t(39,ae=Z));const Vi=$.state.chromecastDeviceName$;D(i,Vi,Z=>t(55,J=Z));const Lt=$.ads.postrollPassed;D(i,Lt,Z=>t(141,M=Z));const yt=$.state.isLive$;D(i,yt,Z=>t(60,Ve=Z));const _i=$.state.isPlaying$;D(i,_i,Z=>t(61,Ae=Z));const wi=$.state.crashed$;D(i,wi,Z=>t(37,y=Z));const rt=$.webApi.pictureInPictureApi,li=$.state.currentSubtitle$;D(i,li,Z=>t(56,L=Z));const ct=$.state.currentSubtitleCaptions$;D(i,ct,Z=>t(57,ne=Z));const Nt=$.state.duration$;D(i,Nt,Z=>t(59,Pe=Z));const ri=$.state.graphIsOpened$;D(i,ri,Z=>t(142,z=Z));const ki=$.ui.playerSize;D(i,ki,Z=>t(34,f=Z));const yi=$.ui.is3DVideo;D(i,yi,Z=>t(51,c=Z));const Ut=$.ui.icon3DVideoVisible;D(i,Ut,Z=>t(54,V=Z));const Ci=$.ui.rotateAlpha;D(i,Ci,Z=>t(35,v=Z));const Mi=$.state.isInteractive,jt=$.state.isInteractiveTime$;D(i,jt,Z=>t(139,_=Z));const nn=$.state.isInteractiveExpectation$;D(i,nn,Z=>t(145,R=Z));const Wi=$.state.hasInteractiveBranches,Si=$.ui.touched;D(i,Si,Z=>t(143,F=Z));const Zi=$.ui.modals.hotKeyMap.data;D(i,Zi,Z=>t(163,s=Z));const Rt=$.ui.modals.hotKeyMap.show;D(i,Rt,Z=>t(63,me=Z));const Zt=$.ui.overlayContainer$,Pi=$.actions.internal.closeSettingsMenu,{fakeIsPlaying$:si}=zo();D(i,si,Z=>t(137,b=Z));let Bi,Ni,Ki=0,Qi=0,Ri,Ti,Ei;Zi.set(M4());let Xi,qt;const ai=Le(!1);D(i,ai,Z=>t(52,h=Z));let Ji;const ui=Le(!1);D(i,ui,Z=>t(144,ue=Z));const ci=Le(),Oi=Le(!1);D(i,Oi,Z=>t(140,k=Z));let Kt=!1,je=!1,Di,Xt,Gi,Be,cn,xi,$i=!1,Ai,on=!1;const{toggle:Jt}=si;let Yi=!1,zi=null,Vt;rt==null||rt.setContext(I1());const re=()=>{ve&&!Mi&&It(pe.controls.hideTimeout)};$.setUiCallbacks({onStarted:re});const it=()=>{window.clearTimeout(Ri),ui.set(!1)},Mt=()=>{window.clearTimeout(Ti),ci.set(null)},It=Z=>{it(),ui.set(!0),Ri=window.setTimeout(()=>ui.set(!1),Z);const Ct=Z-100;Ji=window.setTimeout(()=>{h&&ai.set(!1)},Ct>0?Ct:Z)},zt=(Z,Ct)=>{Mt(),ci.set(Ct),Ti=window.setTimeout(()=>ci.set(null),Z)},fn=yi.subscribe(Z=>{Ut.set(Z),Z&&(window.clearTimeout(Ei),Ei=window.setTimeout(()=>Ut.set(!1),pe.controls.hide360IconTimeout))}),hn=()=>tn(this,null,function*(){var Ct,sn,bn,Dn;const Z=No();if(Z){It(pe.controls.hideTimeoutFullscreen);try{yield rt==null?void 0:rt.remove()}catch(oo){mi({message:String(oo)})}}vi.set(Z),$.getAdmanWrapper().setFullscreen(Z),d?(sn=(Ct=$.callbacks)==null?void 0:Ct.onFullscreenEnter)==null||sn.call(Ct):(Dn=(bn=$.callbacks)==null?void 0:bn.onFullscreenExit)==null||Dn.call(bn)}),kn=Z=>{const Ct=Z;ki.set({width:Ct.target.width,height:Ct.target.height})};_n(()=>{var Ct;return Vc(hn),vl(rt)&&(rt==null||rt.assignPlayerContainer(Bi),rt==null||rt.registryExternalEventHandlers({resize:kn})),Ie&&((Ct=Ne.parentElement)==null||Ct.insertBefore(Ie,Ne.nextSibling)),()=>{window.clearTimeout(Ri),window.clearTimeout(Ji),window.clearTimeout(Ti),window.clearTimeout(Ei),fn(),rt==null||rt.dispose(),Mc(hn)}});const dn=()=>tn(this,null,function*(){if(No())yield Lc(document),mi({message:"exit fullscreen"});else{mi({message:"request fullscreen"});const Z=le!=null?le:Bi,Ct=Z.getRootNode(),sn=Ct instanceof ShadowRoot?Ct.host:Ct,bn=lt instanceof HTMLElement&&lt.contains(sn),Dn=pe.allowChangingFullscreenTarget&&lt&&bn?lt:Z;yield Ic(Dn)}}),ln=()=>{Pi(),ni.set(!1)},yn=Z=>{ni.set(!0),t(42,Ki=Z.clientX),t(43,Qi=Z.clientY)};function Sn(){Oi.set(!0),Mi||It(pe.controls.hideTimeoutCursor)}function Pn(){Mi||(ai.set(!0),It(pe.controls.hideTimeoutCursor))}function Cn(){Oi.set(!1),t(128,je=!1),t(127,Kt=!1),Yi=!1,$.actions.internal.releaseCamera()}function Rn(Z){if(Bi){const Ct=Bf(Z.currentTarget),sn=f.height,bn=Z.pageY-Ct;bn<Gr?t(128,je=!0):bn>sn-Gr?t(127,Kt=!0):(t(128,je=!1),o||t(127,Kt=!1))}}function Tn(Z){Rn(Z),Xt||It(pe.controls.hideTimeoutCursor),c&&Yi&&zi&&$.actions.internal.moveCameraFocusPX(zi.clientX-Z.clientX,zi.clientY-Z.clientY,Z.timeStamp-zi.timeStamp),zi=Z}const En=Z=>{Z.button===0&&(Yi=!0,$.actions.internal.holdCamera()),It(pe.controls.hideTimeoutCursor)},x=Z=>{Z.button===0&&(zi=Z,Yi=!1,$.actions.internal.releaseCamera()),It(pe.controls.hideTimeoutCursor)},mt=()=>{mi({message:"double click on video"}),dn(),It(pe.controls.hideTimeoutCursor)},vn=()=>{if(n||o){ln();return}if(!(a&&!Wi)){if(on)return Jt();if(Vt==null||Vt.focus(),!gt){di(),It(pe.controls.hideTimeoutCursor);return}$.actions.internal.togglePlay(),It(pe.controls.hideTimeoutCursor)}},rn=Z=>{ln(),Si.set(!0),It(pe.controls.hideTimeout),Z&&zt(pe.controls.hideHotKeyHelpers,Z)},gn=()=>{var Z,Ct;ln(),(Z=$.callbacks)!=null&&Z.onOpenHotKeyMap?(Ct=$.callbacks)==null||Ct.onOpenHotKeyMap(s):Rt.update(sn=>!sn)},mn=()=>{if(n||o){ln();return}},Xn=()=>{Si.set(!0)},On=$.ui.contextMenu.openedByKeyboard$;D(i,On,Z=>t(133,r=Z));let Hn=$.ui.contextMenu.btnRef$;D(i,Hn,Z=>t(132,l=Z));let An;function io(Z){Se[Z?"unshift":"push"](()=>{Ne=Z,t(0,Ne)})}const en=()=>Vt==null?void 0:Vt.focus();function In(Z){Ni=Z,t(41,Ni)}const Q=()=>Vt==null?void 0:Vt.focus();function no(Z){An=Z,t(32,An)}function uo(Z){Se[Z?"unshift":"push"](()=>{Vt=Z,t(50,Vt)})}function Lo(Z){Se[Z?"unshift":"push"](()=>{qt=Z,t(30,qt)})}function co(Z){Se[Z?"unshift":"push"](()=>{Bi=Z,t(40,Bi)})}return i.$$set=Z=>{"store"in Z&&t(122,$=Z.store),"uiConfig"in Z&&t(1,pe=Z.uiConfig),"title"in Z&&t(2,ce=Z.title),"thumbUrl"in Z&&t(3,Fe=Z.thumbUrl),"videoLogoUrl"in Z&&t(4,Re=Z.videoLogoUrl),"videoContainer"in Z&&t(0,Ne=Z.videoContainer),"interactiveContainer"in Z&&t(123,Ie=Z.interactiveContainer),"live"in Z&&t(5,ge=Z.live),"autoplay"in Z&&t(6,ve=Z.autoplay),"canRewindLive"in Z&&t(7,ee=Z.canRewindLive),"showAds"in Z&&t(8,Ce=Z.showAds),"adsSlotId"in Z&&t(9,oe=Z.adsSlotId),"adsParams"in Z&&t(10,be=Z.adsParams),"adsPreviewParam"in Z&&t(11,Ke=Z.adsPreviewParam),"duration"in Z&&t(12,Me=Z.duration),"logoClickable"in Z&&t(13,xe=Z.logoClickable),"logoHidden"in Z&&t(14,Xe=Z.logoHidden),"showNextPrevButtons"in Z&&t(15,ot=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(16,at=Z.nextButtonActive),"prevButtonActive"in Z&&t(17,St=Z.prevButtonActive),"endScreenVideoTitle"in Z&&t(18,vt=Z.endScreenVideoTitle),"endScreenVideoThumb"in Z&&t(19,Yt=Z.endScreenVideoThumb),"isOneVideoPlaylist"in Z&&t(20,Pt=Z.isOneVideoPlaylist),"supportLink"in Z&&t(21,Tt=Z.supportLink),"outerContainerRef"in Z&&t(124,le=Z.outerContainerRef),"playerStarted"in Z&&t(22,gt=Z.playerStarted),"fullScreenTarget"in Z&&t(125,lt=Z.fullScreenTarget),"showMiniTimer"in Z&&t(126,Ot=Z.showMiniTimer),"playNextVideo"in Z&&t(23,ut=Z.playNextVideo),"playPrevVideo"in Z&&t(24,At=Z.playPrevVideo),"repeatPlaylist"in Z&&t(25,$e=Z.repeatPlaylist),"seekToInteractive"in Z&&t(26,Ue=Z.seekToInteractive),"toggleGraph"in Z&&t(27,Et=Z.toggleGraph),"playPrevChapter"in Z&&t(28,Ui=Z.playPrevChapter),"firstStart"in Z&&t(29,di=Z.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Xi=(I===ze.Video&&G||I===ze.Ads&&X===$t.INACTIVE)&&!y),i.$$.dirty[0]&1073741824&&Zt.set(qt),i.$$.dirty[4]&4194304&&t(129,Di=te!==et.PlaybackState.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Xt=_&&!o&&!(Kt||je)&&!(Di&&!R)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&ii.set((Di||o||w||ae||ue)&&!Xt&&I===ze.Video&&!y),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,Gi=pe.features.thumbTimer&&Ot&&I===ze.Video&&!C&&!y&&!Mi&&(pe.hideThumbTimerAfterTouch&&!F||!pe.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,Be=I===ze.Video&&!z&&d),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,cn=(Ce&&M||!Ce)&&a&&!y),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,xi=k&&!(C||cn)&&!_),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!w&&$i&&!_&&It(pe.controls.hideTimeoutCursor),t(131,$i=w)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,Ai=Ne&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,on=b!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&Cr(An,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const Z=l;Z&&yr(Z,n,On)}},[Ne,pe,ce,Fe,Re,ge,ve,ee,Ce,oe,be,Ke,Me,xe,Xe,ot,at,St,vt,Yt,Pt,Tt,gt,ut,At,$e,Ue,Et,Ui,di,qt,cn,An,n,f,v,C,y,I,ae,Bi,Ni,Ki,Qi,Xi,Gi,Be,xi,Ai,on,Vt,c,h,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,me,H,un,ti,Qt,pi,Dt,hi,vi,ii,gi,bi,ni,ji,Li,qi,oi,Vi,Lt,yt,_i,wi,li,ct,Nt,ri,ki,yi,Ut,Ci,Mi,jt,nn,Si,Zi,Rt,si,ai,ui,ci,Oi,Jt,dn,ln,yn,Sn,Pn,Cn,Tn,En,x,mt,vn,rn,gn,mn,Xn,On,Hn,$,Ie,le,lt,Ot,Kt,je,Di,Xt,$i,l,r,o,a,d,b,w,_,k,M,z,F,ue,R,te,X,G,io,en,In,Q,no,uo,Lo,co]}class S_ extends ye{constructor(e){super(),ke(this,e,C_,k_,we,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},__,[-1,-1,-1,-1,-1,-1])}}const P_=i=>{if(!ie.isIOS(!0))return!1;const e=i.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=ie.getIOSVersion();return!e||e&&!!t&&t<16};function T_(i){Ze(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function s1(i){let e,t,n,l,r,o,s,a,c,f,d,h,b,v,w,_=Y("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",C;return{c(){e=P("div"),n=O(),l=P("div"),r=P("div"),o=P("div"),a=O(),c=P("div"),d=O(),h=P("div"),v=O(),w=P("p"),C=De(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(o,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",b="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(k,y){T(k,e,y),T(k,n,y),T(k,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,v),p(l,w),p(w,C)},p(k,y){y&1&&t!==(t="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",t),y&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&b!==(b="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",b),y&2&&_!==(_=Y("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&Je(C,_)},d(k){k&&(S(e),S(n),S(l))}}}function E_(i){let e,t,n,l,r=i[2]&&s1(i);return{c(){e=P("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(o,s){T(o,e,s),r&&r.m(e,null),n||(l=he(e,"click",st(i[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=s1(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function A_(i,e,t){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return bl(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=d=>{"side"in d&&t(0,n=d.side),"seekStep"in d&&t(1,l=d.seekStep),"handleSingleFirstClick"in d&&t(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&t(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class Nf extends ye{constructor(e){super(),ke(this,e,A_,E_,we,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},T_)}}function I_(i,e,t){let{playNextVideo:n}=e;return _n(()=>{n()}),i.$$set=l=>{"playNextVideo"in l&&t(0,n=l.playNextVideo)},[n]}class L_ extends ye{constructor(e){super(),ke(this,e,I_,null,we,{playNextVideo:0})}}const{window:V_}=gl;function M_(i){Ze(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 a1(i){let e,t,n,l;e=new Nf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[100],handleSecondClick:i[130]}});let r=!i[48]&&u1(i);return{c(){W(e.$$.fragment),t=O(),r&&r.c(),n=pt()},m(o,s){U(e,o,s),T(o,t,s),r&&r.m(o,s),T(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(fe(),g(r,1,1,()=>{r=null}),de()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=u1(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){g(e.$$.fragment,o),g(r),l=!1},d(o){o&&(S(t),S(n)),j(e,o),r&&r.d(o)}}}function u1(i){let e,t;return e=new Nf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[100],handleSecondClick:i[131]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function c1(i){var n;let e,t;return e=new Vf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){W(e.$$.fragment)},m(l,r){U(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function f1(i){let e,t;return e=new Mf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function d1(i){let e,t,n;return t=new Bc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),B(e,"hidden",i[34]!==ze.Ads)},m(l,r){T(l,e,r),U(t,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),t.$set(o),(!n||r[1]&8)&&B(e,"hidden",l[34]!==ze.Ads)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function m1(i){let e,t;return e=new L_({props:{playNextVideo:i[22]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function p1(i){let e,t;return e=new Tf({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function h1(i){let e,t,n;return t=new Q1({props:{ariaLabel:Y("video360")}}),{c(){e=P("div"),W(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){T(l,e,r),U(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&S(e),j(t)}}}function v1(i){let e,t;return e=new Af({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function g1(i){let e,t;return e=new Ef({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function b1(i){let e,t,n,l,r;return t=new If({}),{c(){e=P("div"),W(t.$$.fragment)},m(o,s){T(o,e,s),U(t,e,null),n=!0,l||(r=he(e,"click",st(i[101])),l=!0)},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&S(e),j(t),l=!1,r()}}}function _1(i){let e,t,n;function l(o){i[132](o)}let r={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[98],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27],onDisabledPlayPrevChapterClick:i[104],onDisabledSeekToInteractiveClick:i[105]};return i[37]!==void 0&&(r.controlsElementRef=i[37]),e=new Sf({props:r}),Se.push(()=>We(e,"controlsElementRef",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===ze.Thumb||o[34]===ze.WaitingLive||o[34]===ze.WaitingRecord||o[34]===ze.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===ze.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!t&&s[1]&64&&(t=!0,a.controlsElementRef=o[37],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function w1(i){let e,t;return e=new Zc({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function k1(i){let e,t;return e=new Hc({}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function y1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(dt.TIMELINE),l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y;e=new Lf({props:{hidden:i[34]!==ze.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let M=n&&a1(i),z=i[34]===ze.WaitingLive&&c1(i),I=i[34]===ze.WaitingRecord&&f1(),F=i[7]&&i[21]&&d1(i),ue=i[41]&&i[17]&&i[18]&&m1(i),ae=i[49]&&p1(),R=i[50]&&h1(),te=i[35]&&v1(i),X=i[52].value!=="off"&&g1(i),G=i[33]&&b1(i),A=i[21]&&_1(i);w=new Rc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let V=i[38]&&w1(),J=i[57]&&k1();return{c(){W(e.$$.fragment),t=O(),M&&M.c(),l=O(),z&&z.c(),r=O(),I&&I.c(),o=O(),F&&F.c(),s=O(),ue&&ue.c(),a=O(),ae&&ae.c(),c=O(),R&&R.c(),f=O(),te&&te.c(),d=O(),X&&X.c(),h=O(),G&&G.c(),b=O(),A&&A.c(),v=O(),W(w.$$.fragment),_=O(),V&&V.c(),C=O(),J&&J.c(),k=pt()},m(L,ne){U(e,L,ne),T(L,t,ne),M&&M.m(L,ne),T(L,l,ne),z&&z.m(L,ne),T(L,r,ne),I&&I.m(L,ne),T(L,o,ne),F&&F.m(L,ne),T(L,s,ne),ue&&ue.m(L,ne),T(L,a,ne),ae&&ae.m(L,ne),T(L,c,ne),R&&R.m(L,ne),T(L,f,ne),te&&te.m(L,ne),T(L,d,ne),X&&X.m(L,ne),T(L,h,ne),G&&G.m(L,ne),T(L,b,ne),A&&A.m(L,ne),T(L,v,ne),U(w,L,ne),T(L,_,ne),V&&V.m(L,ne),T(L,C,ne),J&&J.m(L,ne),T(L,k,ne),y=!0},p(L,ne){const Te={};ne[0]&32|ne[1]&12&&(Te.hidden=L[34]!==ze.Thumb||L[33]||L[89]&&L[5]),ne[0]&4&&(Te.thumbUrl=L[2]),ne[0]&268435456&&(Te.startVideo=L[28]),e.$set(Te),ne[0]&64|ne[1]&65536&&(n=L[6]&&L[78]&&!L[47].has(dt.TIMELINE)),n?M?(M.p(L,ne),ne[0]&64|ne[1]&65536&&m(M,1)):(M=a1(L),M.c(),m(M,1),M.m(l.parentNode,l)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),L[34]===ze.WaitingLive?z?(z.p(L,ne),ne[1]&8&&m(z,1)):(z=c1(L),z.c(),m(z,1),z.m(r.parentNode,r)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),L[34]===ze.WaitingRecord?I?ne[1]&8&&m(I,1):(I=f1(),I.c(),m(I,1),I.m(o.parentNode,o)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),L[7]&&L[21]?F?(F.p(L,ne),ne[0]&2097280&&m(F,1)):(F=d1(L),F.c(),m(F,1),F.m(s.parentNode,s)):F&&(fe(),g(F,1,1,()=>{F=null}),de()),L[41]&&L[17]&&L[18]?ue?(ue.p(L,ne),ne[0]&393216|ne[1]&1024&&m(ue,1)):(ue=m1(L),ue.c(),m(ue,1),ue.m(a.parentNode,a)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de()),L[49]?ae?ne[1]&262144&&m(ae,1):(ae=p1(),ae.c(),m(ae,1),ae.m(c.parentNode,c)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),L[50]?R?(R.p(L,ne),ne[1]&524288&&m(R,1)):(R=h1(),R.c(),m(R,1),R.m(f.parentNode,f)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),L[35]?te?(te.p(L,ne),ne[1]&16&&m(te,1)):(te=v1(L),te.c(),m(te,1),te.m(d.parentNode,d)):te&&(fe(),g(te,1,1,()=>{te=null}),de()),L[52].value!=="off"?X?(X.p(L,ne),ne[1]&2097152&&m(X,1)):(X=g1(L),X.c(),m(X,1),X.m(h.parentNode,h)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),L[33]?G?(G.p(L,ne),ne[1]&4&&m(G,1)):(G=b1(L),G.c(),m(G,1),G.m(b.parentNode,b)):G&&(fe(),g(G,1,1,()=>{G=null}),de()),L[21]?A?(A.p(L,ne),ne[0]&2097152&&m(A,1)):(A=_1(L),A.c(),m(A,1),A.m(v.parentNode,v)):A&&(fe(),g(A,1,1,()=>{A=null}),de());const Pe={};ne[1]&16777216&&(Pe.isLive=L[55]),ne[1]&512&&(Pe.isHidden=!L[40]),ne[1]&33554432&&(Pe.isPlaying=L[56]),ne[1]&8192&&(Pe.position=L[44]),ne[1]&4096&&(Pe.duration=L[43]),w.$set(Pe),L[38]?V?ne[1]&128&&m(V,1):(V=w1(),V.c(),m(V,1),V.m(C.parentNode,C)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),L[57]?J?ne[1]&67108864&&m(J,1):(J=k1(),J.c(),m(J,1),J.m(k.parentNode,k)):J&&(fe(),g(J,1,1,()=>{J=null}),de())},i(L){y||(m(e.$$.fragment,L),m(M),m(z),m(I),m(F),m(ue),m(ae),m(R),m(te),m(X),m(G),m(A),m(w.$$.fragment,L),m(V),m(J),y=!0)},o(L){g(e.$$.fragment,L),g(M),g(z),g(I),g(F),g(ue),g(ae),g(R),g(te),g(X),g(G),g(A),g(w.$$.fragment,L),g(V),g(J),y=!1},d(L){L&&(S(t),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(b),S(v),S(_),S(C),S(k)),j(e,L),M&&M.d(L),z&&z.d(L),I&&I.d(L),F&&F.d(L),ue&&ue.d(L),ae&&ae.d(L),R&&R.d(L),te&&te.d(L),X&&X.d(L),G&&G.d(L),A&&A.d(L),j(w,L),V&&V.d(L),J&&J.d(L)}}}function B_(i){let e,t,n,l,r,o=i[46],s,a,c,f,d,h=y1(i);return{c(){e=P("div"),t=P("div"),n=P("div"),r=O(),h.c(),s=O(),a=P("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${i[32]}deg) scale(${i[42]})`),B(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),B(t,"hidden",i[34]!==ze.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(b,v){T(b,e,v),p(e,t),p(t,n),i[129](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[133](a),i[134](e),c=!0,f||(d=[he(V_,"blur",i[99]),he(t,"click",ei(i[100])),he(e,"click",i[102],!0),he(e,"focusin",i[103],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&l!==(l=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",l),(!c||v[0]&2)&&B(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&B(t,"hidden",b[34]!==ze.Video),v[1]&32768&&we(o,o=b[46])?(fe(),g(h,1,1,K),de(),h=y1(b),h.c(),m(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(m(h),c=!0)},o(b){g(h),c=!1},d(b){b&&S(e),i[129](null),h.d(b),i[133](null),i[134](null),f=!1,nt(d)}}}function N_(i,e,t){var Tn,En;let n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,{store:me}=e,{uiConfig:H}=e,{thumbUrl:$}=e,{videoLogoUrl:pe}=e,{videoContainer:ce}=e,{interactiveContainer:Fe}=e,{live:Re}=e,{autoplay:Ne}=e,{canRewindLive:Ie}=e,{showAds:ge}=e,{adsSlotId:ve=void 0}=e,{adsParams:ee=void 0}=e,{adsPreviewParam:Ce=void 0}=e,{duration:oe=void 0}=e,{logoClickable:be}=e,{logoHidden:Ke}=e,{showNextPrevButtons:Me=!1}=e,{nextButtonActive:xe=!1}=e,{prevButtonActive:Xe=!1}=e,{endScreenVideoTitle:ot=void 0}=e,{endScreenVideoThumb:at=void 0}=e,{isOneVideoPlaylist:St=!1}=e,{supportLink:vt}=e,{outerContainerRef:Yt=void 0}=e,{showMiniTimer:Pt=!1}=e,{fullScreenTarget:Tt=void 0}=e,{playerStarted:le=!1}=e,{playNextVideo:gt=ie.noop}=e,{playPrevVideo:lt=ie.noop}=e,{repeatPlaylist:Ot=ie.noop}=e,{seekToInteractive:ut}=e,{toggleGraph:At}=e,{playPrevChapter:$e}=e,{firstStart:Ue}=e,{seekTime:Et}=e;const Ui=me.getLogger().createComponentLog("Root component"),di=me.interfaceLanguage$;D(i,di,x=>t(46,X=x));const mi=me.state.playbackState$;D(i,mi,x=>t(126,ae=x));const un=me.ads.playbackState;D(i,un,x=>t(127,R=x));const ti=me.state.positionWithScrubbing$;D(i,ti,x=>t(44,s=x));const Qt=me.state.duration$;D(i,Qt,x=>t(43,o=x));const pi=me.playerPhase;D(i,pi,x=>t(34,z=x));const Dt=me.ui.isFullscreen;D(i,Dt,x=>t(141,c=x));const hi=me.ui.controlsVisible;D(i,hi,x=>t(30,l=x));const vi=me.ui.interactiveHideMobileControls;D(i,vi,x=>t(118,b=x));const ii=me.ui.settingsMenuVisible;D(i,ii,x=>t(117,n=x));const gi=me.ui.scrubbingInProgress;D(i,gi,x=>t(119,w=x));const bi=me.ui.debugPanelVisible;D(i,bi,x=>t(57,Oe=x));const ni=me.state.isLoaderVisible;D(i,ni,x=>t(128,te=x));const ji=me.state.isEnded$;D(i,ji,x=>t(121,k=x));const Li=me.state.chromecastConnected$;D(i,Li,x=>t(35,I=x));const qi=me.state.chromecastDeviceName$;D(i,qi,x=>t(51,L=x));const oi=me.ads.postrollPassed;D(i,oi,x=>t(122,y=x));const Vi=me.ui.mobileUnmuteButtonExpanded,Lt=me.ui.mobileUnmuteButtonVisible,yt=me.state.isLive$;D(i,yt,x=>t(55,Ve=x));const _i=me.state.isPlaying$;D(i,_i,x=>t(56,Ae=x));const wi=me.state.isActiveLive$;D(i,wi,x=>t(48,A=x));const rt=me.state.isRewindableLive$,li=me.state.crashed$;D(i,li,x=>t(33,C=x));const ct=me.webApi.pictureInPictureApi,Nt=me.state.videoSize$;D(i,Nt,x=>t(142,d=x));const ri=me.state.currentSubtitle$;D(i,ri,x=>t(52,ne=x));const ki=me.state.currentSubtitleCaptions$;D(i,ki,x=>t(53,Te=x));const yi=me.state.duration$;D(i,yi,x=>t(54,Pe=x));const Ut=me.state.graphIsOpened$;D(i,Ut,x=>t(125,ue=x));const Ci=me.ui.playerSize;D(i,Ci,x=>t(31,f=x));const Mi=me.ui.is3DVideo;D(i,Mi,x=>t(49,V=x));const jt=me.ui.icon3DVideoVisible;D(i,jt,x=>t(50,J=x));const nn=me.ui.rotateAlpha;D(i,nn,x=>t(32,v=x));const Wi=me.state.isInteractive,Si=me.state.isInteractiveTime$;D(i,Si,x=>t(120,_=x));const Zi=me.state.isInteractiveExpectation$;D(i,Zi,x=>t(124,F=x));const Rt=me.state.hasInteractiveBranches,Zt=me.ui.controls.disabledControls$;D(i,Zt,x=>t(47,G=x));const Pi=me.ui.touched;D(i,Pi,x=>t(123,M=x));const si=me.ui.clientInfo$;D(i,si,x=>t(140,a=x));const Bi=me.ui.overlayContainer$,Ni=me.state.isFirstBytes$;D(i,Ni,x=>t(139,r=x));const Ki=me.actions.internal.closeSettingsMenu,Qi=(Tn=me.callbacks)==null?void 0:Tn.onDisabledPlayPrevChapterClick,Ri=(En=me.callbacks)==null?void 0:En.onDisabledSeekToInteractiveClick;let Ti,Ei,Xi,qt,ai,Ji,ui;const ci=Le(!1);D(i,ci,x=>t(45,h=x));let Oi,Kt=!1,je,Di=!1,Xt,Gi=!0,Be,cn,xi=!1,$i;ct==null||ct.setContext(I1());const Ai=x=>{clearTimeout(qt),x&&(Lt.set(!0),Vi.set(!0),qt=window.setTimeout(()=>{Vi.set(!1)},H.controls.collapseMobileUnmute),Wi||Jt(H.controls.hideTimeoutMobile))};me.setUiCallbacks({onStarted:Ai});const on=()=>{window.clearTimeout(Xi),t(112,Kt=!1),b&&vi.set(!1)},Jt=x=>{on(),t(112,Kt=!0),Xi=window.setTimeout(()=>t(112,Kt=!1),x);const mt=x-100;Oi=window.setTimeout(()=>{h&&ci.set(!1)},mt>0?mt:x)},Yi=Mi.subscribe(x=>{jt.set(x),x&&(window.clearTimeout(ai),ai=window.setTimeout(()=>jt.set(!1),H.controls.hide360IconTimeout))}),zi=()=>tn(this,null,function*(){var mt,vn,rn,gn;const x=No();if(x){Jt(H.controls.hideTimeoutFullscreen);try{yield ct==null?void 0:ct.remove()}catch(mn){Ui({message:String(mn)})}try{const mn=d!=null&&d.width&&(d!=null&&d.height)?d:f;yield V4(mn)}catch(mn){Ui({message:String(mn)})}}Dt.set(x),me.getAdmanWrapper().setFullscreen(x),c?(vn=(mt=me.callbacks)==null?void 0:mt.onFullscreenEnter)==null||vn.call(mt):(gn=(rn=me.callbacks)==null?void 0:rn.onFullscreenExit)==null||gn.call(rn)}),Vt=x=>{const mt=x;Ci.set({width:mt.target.width,height:mt.target.height})};_n(()=>{var mt;return Vc(zi),vl(ct)&&(ct==null||ct.assignPlayerContainer(Ti),ct==null||ct.registryExternalEventHandlers({resize:Vt})),t(39,Gi=!P_(a)),Fe&&((mt=ce.parentElement)==null||mt.insertBefore(Fe,ce.nextSibling)),()=>{window.clearTimeout(Xi),window.clearTimeout(Oi),window.clearTimeout(qt),window.clearTimeout(ai),Yi(),ct==null||ct.dispose(),Mc(zi)}});const re=x=>{let mt=s+(x==="forward"?1:-1)*H.controls.seekStepMobile/1e3;mt<0?mt=0:mt>o&&(mt=o-1),t(114,Di=!0),Et(mt)},it=()=>tn(this,null,function*(){if(No())yield Lc(document),Ui({message:"exit fullscreen"});else{if(Ui({message:"request fullscreen"}),ie.isIOS()&&!r)return;const x=ie.isIOS()||!Yt?Ti:Yt,mt=x.getRootNode(),vn=mt instanceof ShadowRoot?mt.host:mt,rn=Tt instanceof HTMLElement&&Tt.contains(vn),gn=H.allowChangingFullscreenTarget&&Tt&&rn?Tt:x;yield Ic(gn)}}),Mt=()=>{Ki()},It=()=>{if(n){Mt();return}if(!le){Ue(),Jt(H.controls.hideTimeoutCursor);return}t(114,Di=!1),l?on():Jt(H.controls.hideTimeoutMobile)},zt=()=>{if(n){Mt();return}},fn=()=>{Pi.set(!0)},hn=()=>{Wi||(ci.set(!0),Jt(H.controls.hideTimeoutCursor))},kn=x=>{Qi&&(Qi(x),Jt(H.controls.hideTimeoutMobile))},dn=x=>{Ri&&(Ri(x),Jt(H.controls.hideTimeoutMobile))};function ln(x){Se[x?"unshift":"push"](()=>{ce=x,t(0,ce)})}const yn=()=>re("backward"),Sn=()=>re("forward");function Pn(x){Ei=x,t(37,Ei)}function Cn(x){Se[x?"unshift":"push"](()=>{ui=x,t(29,ui)})}function Rn(x){Se[x?"unshift":"push"](()=>{Ti=x,t(36,Ti)})}return i.$$set=x=>{"store"in x&&t(106,me=x.store),"uiConfig"in x&&t(1,H=x.uiConfig),"thumbUrl"in x&&t(2,$=x.thumbUrl),"videoLogoUrl"in x&&t(3,pe=x.videoLogoUrl),"videoContainer"in x&&t(0,ce=x.videoContainer),"interactiveContainer"in x&&t(107,Fe=x.interactiveContainer),"live"in x&&t(4,Re=x.live),"autoplay"in x&&t(5,Ne=x.autoplay),"canRewindLive"in x&&t(6,Ie=x.canRewindLive),"showAds"in x&&t(7,ge=x.showAds),"adsSlotId"in x&&t(8,ve=x.adsSlotId),"adsParams"in x&&t(9,ee=x.adsParams),"adsPreviewParam"in x&&t(10,Ce=x.adsPreviewParam),"duration"in x&&t(11,oe=x.duration),"logoClickable"in x&&t(12,be=x.logoClickable),"logoHidden"in x&&t(13,Ke=x.logoHidden),"showNextPrevButtons"in x&&t(14,Me=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,xe=x.nextButtonActive),"prevButtonActive"in x&&t(16,Xe=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,ot=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,at=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,St=x.isOneVideoPlaylist),"supportLink"in x&&t(20,vt=x.supportLink),"outerContainerRef"in x&&t(108,Yt=x.outerContainerRef),"showMiniTimer"in x&&t(109,Pt=x.showMiniTimer),"fullScreenTarget"in x&&t(110,Tt=x.fullScreenTarget),"playerStarted"in x&&t(21,le=x.playerStarted),"playNextVideo"in x&&t(22,gt=x.playNextVideo),"playPrevVideo"in x&&t(23,lt=x.playPrevVideo),"repeatPlaylist"in x&&t(24,Ot=x.repeatPlaylist),"seekToInteractive"in x&&t(25,ut=x.seekToInteractive),"toggleGraph"in x&&t(26,At=x.toggleGraph),"playPrevChapter"in x&&t(27,$e=x.playPrevChapter),"firstStart"in x&&t(28,Ue=x.firstStart),"seekTime"in x&&t(111,Et=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&24&&t(38,Ji=(z===ze.Video&&te||z===ze.Ads&&R===$t.INACTIVE)&&!C),i.$$.dirty[0]&536870912&&Bi.set(ui),i.$$.dirty[4]&4&&t(113,je=ae!==et.PlaybackState.PLAYING),i.$$.dirty[3]&303562752|i.$$.dirty[4]&3&&t(115,Xt=ue||b||!Kt&&(k&&!!Rt||je&&F)),i.$$.dirty[1]&28|i.$$.dirty[3]&91750400&&hi.set((je||n||w||I||Kt&&!Di)&&!Xt&&z===ze.Video&&!C),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&1073807360&&t(40,Be=H.features.thumbTimer&&Pt&&z===ze.Video&&!l&&!C&&!Wi&&(H.hideThumbTimerAfterTouch&&!M||!H.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&805306368&&t(41,cn=(ge&&y||!ge)&&k&&!C),i.$$.dirty[0]&2|i.$$.dirty[3]&209715200&&(!w&&xi&&!_&&Jt(H.controls.hideTimeoutMobile),t(116,xi=w)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,$i=ce&&v%180?f.height/f.width:1)},[ce,H,$,pe,Re,Ne,Ie,ge,ve,ee,Ce,oe,be,Ke,Me,xe,Xe,ot,at,St,vt,le,gt,lt,Ot,ut,At,$e,Ue,ui,l,f,v,C,z,I,Ti,Ei,Ji,Gi,Be,cn,$i,o,s,h,X,G,A,V,J,L,ne,Te,Pe,Ve,Ae,Oe,di,mi,un,ti,Qt,pi,Dt,hi,vi,ii,gi,bi,ni,ji,Li,qi,oi,yt,_i,wi,rt,li,Nt,ri,ki,yi,Ut,Ci,Mi,jt,nn,Wi,Si,Zi,Zt,Pi,si,Ni,ci,re,it,Mt,It,zt,fn,hn,kn,dn,me,Fe,Yt,Pt,Tt,Et,Kt,je,Di,Xt,xi,n,b,w,_,k,y,M,F,ue,ae,R,te,ln,yn,Sn,Pn,Cn,Rn]}class R_ extends ye{constructor(e){super(),ke(this,e,N_,B_,we,{store:106,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:107,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:108,showMiniTimer:109,fullScreenTarget:110,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:111},M_,[-1,-1,-1,-1,-1,-1])}}function O_(i){Ze(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Jb(i){let e,t;return{c(){e=E("div"),t=He(i[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",i[1])},m(n,l){T(n,e,l),p(e,t)},p(n,[l]){l&1&&it(t,n[0]),l&2&&M(e,"hidden",n[1])},i:K,o:K,d(n){n&&S(e)}}}function xb(i,e,t){let{title:n=""}=e,{isHidden:l=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,l=r.isHidden)},[n,l]}class $b extends ke{constructor(e){super(),we(this,e,xb,Jb,be,{title:0,isHidden:1},Xb)}}function e_(i){Ke(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 Ru(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=He(i[0]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_day_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&1&&it(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function Ou(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=He(i[1]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_hour_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&2&&it(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function Du(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=He(i[2]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_minute_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&4&&it(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function zu(i){let e,t,n,l,r;return{c(){e=E("div"),t=E("span"),n=He(i[3]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){T(o,e,s),p(e,t),p(t,n),p(e,l),p(e,r)},p(o,s){s&8&&it(n,o[3])},d(o){o&&S(e)}}}function t_(i){let e,t,n,l,r=i[0]&&Ru(i),o=i[1]&&Ou(i),s=i[2]&&Du(i),a=i[3]&&zu(i);return{c(){e=E("div"),r&&r.c(),t=R(),o&&o.c(),n=R(),s&&s.c(),l=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),r&&r.m(e,null),p(e,t),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Ru(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=Ou(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=Du(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=zu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function i_(i,e,t){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=_=>String(_).padStart(2,"0"),d=_=>{const g=Math.floor(_/86400);g&&(_-=g*86400,t(0,r=f(g)));const w=Math.floor(_/3600);t(1,o=f(w));const b=Math.floor(_/60)%60;t(2,s=f(b));const C=_%60;t(3,a=f(C))},h=()=>{const _=Math.floor(Date.now()/1e3),g=n-_;d(g),g>=1?c=requestAnimationFrame(h):l()};return hn(()=>{c=requestAnimationFrame(h)}),zo(()=>{cancelAnimationFrame(c)}),i.$$set=_=>{"startTime"in _&&t(4,n=_.startTime),"onTimerOver"in _&&t(5,l=_.onTimerOver)},[r,o,s,a,n,l]}class n_ extends ke{constructor(e){super(),we(this,e,i_,t_,be,{startTime:4,onTimerOver:5},e_)}}function o_(i){let e,t,n,l,r;return{c(){e=N("svg"),t=N("path"),n=N("path"),l=N("path"),r=N("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"),Ut(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"),Ut(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ut(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ut(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ut(e,"shape-rendering","geometricPrecision"),Ut(e,"text-rendering","geometricPrecision"),Ut(e,"image-rendering","optimizeQuality"),Ut(e,"fill-rule","evenodd"),Ut(e,"clip-rule","evenodd"),Ut(e,"width","100%"),Ut(e,"height","100%")},m(o,s){T(o,e,s),p(e,t),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&S(e)}}}class l_ extends ke{constructor(e){super(),we(this,e,null,o_,be,{})}}function r_(i){Ke(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 s_(i){let e,t,n,l,r;return l=new n_({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=E("div"),t=E("span"),t.textContent=`${G("waiting_live_timer_title")}`,n=R(),U(l.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){T(o,e,s),p(e,t),p(e,n),F(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){v(l.$$.fragment,o),r=!1},d(o){o&&S(e),H(l)}}}function a_(i){let e,t,n,l,r,o;return n=new l_({}),{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){T(s,e,a),p(e,t),F(n,t,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&S(e),H(n)}}}function u_(i){let e,t,n,l,r;const o=[a_,s_],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=o[t](i),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){T(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let d=t;t=a(c),t===d?s[t].p(c,f):(de(),v(s[d],1,1,()=>{s[d]=null}),me(),n=s[t],n?n.p(c,f):(n=s[t]=o[t](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){v(n),r=!1},d(c){c&&S(e),s[t].d()}}}function c_(i,e,t){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,l=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class Tf extends ke{constructor(e){super(),we(this,e,c_,u_,be,{thumbUrl:0,startTime:1},r_)}}function f_(i){Ke(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 d_(i){let e,t;return{c(){e=E("div"),t=E("p"),t.textContent=`${G("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){T(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Pf extends ke{constructor(e){super(),we(this,e,null,d_,be,{},f_)}}const{window:m_}=y1;function p_(i){Ke(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 Fu(i){var n;let e,t;return e=new Tf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){v(e.$$.fragment,l),t=!1},d(l){H(e,l)}}}function Hu(i){let e,t;return e=new Pf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uu(i){let e,t,n;return t=new Ec({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",i[38]!==De.Ads)},m(l,r){T(l,e,r),F(t,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),t.$set(o),(!n||r[1]&128)&&M(e,"hidden",l[38]!==De.Ads)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function qu(i){let e,t;return e=new Ep({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ju(i){let e,t;return e=new $b({props:{title:i[2],isHidden:!i[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wu(i){let e,t;return e=new wf({props:{isShifted:i[38]===De.Video&&i[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Zu(i){let e,t,n;return t=new j1({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){T(l,e,r),F(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function Ku(i){let e,t;return e=new yf({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Gu(i){let e,t;return e=new kf({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Yu(i){let e,t,n,l,r;return t=new Cf({}),{c(){e=E("div"),U(t.$$.fragment)},m(o,s){T(o,e,s),F(t,e,null),n=!0,l||(r=[ve(e,"contextmenu",ii(i[107])),ve(e,"click",lt(i[118]))],l=!0)},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&S(e),H(t),l=!1,ot(r)}}}function Qu(i){let e,t,n;function l(o){i[151](o)}let r={bottomHidden:i[38]===De.Thumb||i[38]===De.WaitingLive||i[38]===De.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===De.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:g_,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};return i[41]!==void 0&&(r.controlsElementRef=i[41]),e=new bf({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===De.Thumb||o[38]===De.WaitingLive||o[38]===De.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===De.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!t&&s[1]&1024&&(t=!0,a.controlsElementRef=o[41],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xu(i){let e,t;return e=new Fc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ju(i){let e,t;return e=new Qp({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xu(i){let e,t;return e=new Nc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $u(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se;e=new Sf({props:{hidden:i[38]!==De.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let re=i[38]===De.WaitingLive&&Fu(i),Z=i[38]===De.WaitingRecord&&Hu(),Y=i[8]&&i[22]&&Uu(i),O=i[31]&&i[18]&&i[19]&&qu(i),X=i[46]&&ju(i),L=i[51]&&Wu(i),B=i[54]&&Zu(),te=i[39]&&Ku(i),P=i[56].value!=="off"&&Gu(i),ee=i[37]&&Yu(i),Pe=i[22]&&Qu(i);g=new Ac({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),b=new Lb({props:{data:i[102]}});function ye(q){i[153](q)}let Ie={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Ie.menuElementRef=i[32]),k=new rp({props:Ie}),Se.push(()=>je(k,"menuElementRef",ye));let Ne=i[44]&&Xu(),_e=i[63]&&Ju(),Ce=i[64]&&xu();return{c(){U(e.$$.fragment),t=R(),re&&re.c(),n=R(),Z&&Z.c(),l=R(),Y&&Y.c(),r=R(),O&&O.c(),o=R(),X&&X.c(),s=R(),L&&L.c(),a=R(),B&&B.c(),c=R(),te&&te.c(),f=R(),P&&P.c(),d=R(),ee&&ee.c(),h=R(),Pe&&Pe.c(),_=R(),U(g.$$.fragment),w=R(),U(b.$$.fragment),C=R(),U(k.$$.fragment),V=R(),Ne&&Ne.c(),Q=R(),_e&&_e.c(),A=R(),Ce&&Ce.c(),z=ht()},m(q,$){F(e,q,$),T(q,t,$),re&&re.m(q,$),T(q,n,$),Z&&Z.m(q,$),T(q,l,$),Y&&Y.m(q,$),T(q,r,$),O&&O.m(q,$),T(q,o,$),X&&X.m(q,$),T(q,s,$),L&&L.m(q,$),T(q,a,$),B&&B.m(q,$),T(q,c,$),te&&te.m(q,$),T(q,f,$),P&&P.m(q,$),T(q,d,$),ee&&ee.m(q,$),T(q,h,$),Pe&&Pe.m(q,$),T(q,_,$),F(g,q,$),T(q,w,$),F(b,q,$),T(q,C,$),F(k,q,$),T(q,V,$),Ne&&Ne.m(q,$),T(q,Q,$),_e&&_e.m(q,$),T(q,A,$),Ce&&Ce.m(q,$),T(q,z,$),se=!0},p(q,$){const ce={};$[0]&64|$[1]&192&&(ce.hidden=q[38]!==De.Thumb||q[37]||q[93]&&q[6]),$[0]&8&&(ce.thumbUrl=q[3]),$[0]&536870912&&(ce.startVideo=q[29]),e.$set(ce),q[38]===De.WaitingLive?re?(re.p(q,$),$[1]&128&&m(re,1)):(re=Fu(q),re.c(),m(re,1),re.m(n.parentNode,n)):re&&(de(),v(re,1,1,()=>{re=null}),me()),q[38]===De.WaitingRecord?Z?$[1]&128&&m(Z,1):(Z=Hu(),Z.c(),m(Z,1),Z.m(l.parentNode,l)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),q[8]&&q[22]?Y?(Y.p(q,$),$[0]&4194560&&m(Y,1)):(Y=Uu(q),Y.c(),m(Y,1),Y.m(r.parentNode,r)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),q[31]&&q[18]&&q[19]?O?(O.p(q,$),$[0]&786432|$[1]&1&&m(O,1)):(O=qu(q),O.c(),m(O,1),O.m(o.parentNode,o)):O&&(de(),v(O,1,1,()=>{O=null}),me()),q[46]?X?(X.p(q,$),$[1]&32768&&m(X,1)):(X=ju(q),X.c(),m(X,1),X.m(s.parentNode,s)):X&&(de(),v(X,1,1,()=>{X=null}),me()),q[51]?L?(L.p(q,$),$[1]&1048576&&m(L,1)):(L=Wu(q),L.c(),m(L,1),L.m(a.parentNode,a)):L&&(de(),v(L,1,1,()=>{L=null}),me()),q[54]?B?(B.p(q,$),$[1]&8388608&&m(B,1)):(B=Zu(),B.c(),m(B,1),B.m(c.parentNode,c)):B&&(de(),v(B,1,1,()=>{B=null}),me()),q[39]?te?(te.p(q,$),$[1]&256&&m(te,1)):(te=Ku(q),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(de(),v(te,1,1,()=>{te=null}),me()),q[56].value!=="off"?P?(P.p(q,$),$[1]&33554432&&m(P,1)):(P=Gu(q),P.c(),m(P,1),P.m(d.parentNode,d)):P&&(de(),v(P,1,1,()=>{P=null}),me()),q[37]?ee?(ee.p(q,$),$[1]&64&&m(ee,1)):(ee=Yu(q),ee.c(),m(ee,1),ee.m(h.parentNode,h)):ee&&(de(),v(ee,1,1,()=>{ee=null}),me()),q[22]?Pe?(Pe.p(q,$),$[0]&4194304&&m(Pe,1)):(Pe=Qu(q),Pe.c(),m(Pe,1),Pe.m(_.parentNode,_)):Pe&&(de(),v(Pe,1,1,()=>{Pe=null}),me());const ae={};$[1]&536870912&&(ae.isLive=q[60]),$[1]&16384&&(ae.isHidden=!q[45]),$[1]&1073741824&&(ae.isPlaying=q[61]),$[1]&134217728&&(ae.position=q[58]),$[2]&1&&(ae.duration=q[62]),g.$set(ae);const We={};$[0]&2097152&&(We.supportLink=q[21]),$[1]&524288&&(We.returnFocus=q[152]),$[1]&4&&(We.visible=q[33]),$[1]&512&&(We.playerContainerRef=q[40]),$[1]&1024&&(We.controlsContainerRef=q[41]),$[1]&2048&&(We.x=q[42]),$[1]&4096&&(We.y=q[43]),!y&&$[1]&2&&(y=!0,We.menuElementRef=q[32],qe(()=>y=!1)),k.$set(We),q[44]?Ne?$[1]&8192&&m(Ne,1):(Ne=Xu(),Ne.c(),m(Ne,1),Ne.m(Q.parentNode,Q)):Ne&&(de(),v(Ne,1,1,()=>{Ne=null}),me()),q[63]?_e?$[2]&2&&m(_e,1):(_e=Ju(),_e.c(),m(_e,1),_e.m(A.parentNode,A)):_e&&(de(),v(_e,1,1,()=>{_e=null}),me()),q[64]?Ce?$[2]&4&&m(Ce,1):(Ce=xu(),Ce.c(),m(Ce,1),Ce.m(z.parentNode,z)):Ce&&(de(),v(Ce,1,1,()=>{Ce=null}),me())},i(q){se||(m(e.$$.fragment,q),m(re),m(Z),m(Y),m(O),m(X),m(L),m(B),m(te),m(P),m(ee),m(Pe),m(g.$$.fragment,q),m(b.$$.fragment,q),m(k.$$.fragment,q),m(Ne),m(_e),m(Ce),se=!0)},o(q){v(e.$$.fragment,q),v(re),v(Z),v(Y),v(O),v(X),v(L),v(B),v(te),v(P),v(ee),v(Pe),v(g.$$.fragment,q),v(b.$$.fragment,q),v(k.$$.fragment,q),v(Ne),v(_e),v(Ce),se=!1},d(q){q&&(S(t),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(_),S(w),S(C),S(V),S(Q),S(A),S(z)),H(e,q),re&&re.d(q),Z&&Z.d(q),Y&&Y.d(q),O&&O.d(q),X&&X.d(q),L&&L.d(q),B&&B.d(q),te&&te.d(q),P&&P.d(q),ee&&ee.d(q),Pe&&Pe.d(q),H(g,q),H(b,q),H(k,q),Ne&&Ne.d(q),_e&&_e.d(q),Ce&&Ce.d(q)}}}function h_(i){let e,t,n,l,r=i[53],o,s,a,c,f=$u(i);return{c(){e=E("div"),t=E("div"),l=R(),f.c(),o=ht(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),M(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",i[38]!==De.Video),M(e,"nocursor",i[47])},m(d,h){T(d,e,h),p(e,t),i[149](t),T(d,l,h),f.m(d,h),T(d,o,h),s=!0,a||(c=[ve(e,"contextmenu",ii(i[107])),ve(e,"mousedown",ii(i[112])),ve(e,"mouseup",ii(i[113])),ve(e,"click",ii(i[115])),ve(e,"dblclick",ii(i[114]))],a=!0)},p(d,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&M(t,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",d[38]!==De.Video),(!s||h[1]&65536)&&M(e,"nocursor",d[47]),h[1]&4194304&&be(r,r=d[53])?(de(),v(f,1,1,K),me(),f=$u(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){v(f),s=!1},d(d){d&&(S(e),S(l),S(o)),i[149](null),f.d(d),a=!1,ot(c)}}}function v_(i){let e,t,n,l,r,o,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===De.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[h_]},$$scope:{ctx:i}};return t=new Vp({props:a}),i[154](t),{c(){e=E("div"),U(t.$$.fragment),n=R(),l=E("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),F(t,e,null),p(e,n),p(e,l),i[155](l),i[156](e),r=!0,o||(s=[ve(m_,"blur",i[106]),ve(e,"mouseenter",i[108]),ve(e,"mouseleave",i[110]),ve(e,"mousemove",i[111]),ve(e,"click",i[119],!0),ve(e,"focusin",i[109],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===De.Ads),f[1]&262144&&(d.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(d.$$scope={dirty:f,ctx:c}),t.$set(d)},i(c){r||(m(t.$$.fragment,c),r=!0)},o(c){v(t.$$.fragment,c),r=!1},d(c){c&&S(e),i[154](null),H(t),i[155](null),i[156](null),o=!1,ot(s)}}}let g_=!0;function Ef(i){return i?i.offsetTop+Ef(i.offsetParent):0}function b_(i,e,t){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,Ce,q,{store:$}=e,{uiConfig:ce}=e,{title:ae}=e,{thumbUrl:We}=e,{videoLogoUrl:Oe}=e,{videoContainer:Ve}=e,{interactiveContainer:Ae}=e,{live:ue}=e,{autoplay:he}=e,{canRewindLive:le}=e,{showAds:Le}=e,{adsSlotId:pe=void 0}=e,{adsParams:Te=void 0}=e,{adsPreviewParam:Ge=void 0}=e,{duration:Re=void 0}=e,{logoClickable:Je}=e,{logoHidden:xe}=e,{showNextPrevButtons:ut=!1}=e,{nextButtonActive:rt=!1}=e,{prevButtonActive:Tt=!1}=e,{endScreenVideoTitle:st=void 0}=e,{endScreenVideoThumb:Xt=void 0}=e,{isOneVideoPlaylist:wt=!1}=e,{supportLink:ze}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:gt=!1}=e,{fullScreenTarget:at=void 0}=e,{showMiniTimer:Nt=!1}=e,{playNextVideo:mt=ie.noop}=e,{playPrevVideo:Pt=ie.noop}=e,{repeatPlaylist:$e=ie.noop}=e,{seekToInteractive:Ze}=e,{toggleGraph:kt}=e,{playPrevChapter:en}=e,{firstStart:ni}=e;const Ei=$.getLogger().createComponentLog("Root component"),tn=$.interfaceLanguage$;D(i,tn,W=>t(53,L=W));const oi=$.state.playbackState$;D(i,oi,W=>t(146,Y=W));const Jt=$.ads.playbackState;D(i,Jt,W=>t(147,O=W));const li=$.state.positionWithScrubbing$;D(i,li,W=>t(58,Pe=W));const Ot=$.state.duration$;D(i,Ot,W=>t(62,_e=W));const pi=$.playerPhase;D(i,pi,W=>t(38,A=W));const Ii=$.ui.isFullscreen;D(i,Ii,W=>t(136,d=W));const ri=$.ui.controlsVisible;D(i,ri,W=>t(36,C=W));const Ai=$.ui.settingsMenuVisible;D(i,Ai,W=>t(134,o=W));const hi=$.ui.scrubbingInProgress;D(i,hi,W=>t(138,w=W));const si=$.ui.contextMenuVisible;D(i,si,W=>t(33,n=W));const Li=$.ui.debugPanelVisible;D(i,Li,W=>t(64,q=W));const Vi=$.state.isLoaderVisible;D(i,Vi,W=>t(148,X=W));const Mi=$.state.isEnded$;D(i,Mi,W=>t(135,a=W));const Bi=$.state.chromecastConnected$;D(i,Bi,W=>t(39,re=W));const vi=$.state.chromecastDeviceName$;D(i,vi,W=>t(55,te=W));const At=$.ads.postrollPassed;D(i,At,W=>t(141,V=W));const gi=$.state.isLive$;D(i,gi,W=>t(60,Ie=W));const Vt=$.state.isPlaying$;D(i,Vt,W=>t(61,Ne=W));const ai=$.state.crashed$;D(i,ai,W=>t(37,y=W));const ct=$.webApi.pictureInPictureApi,pt=$.state.currentSubtitle$;D(i,pt,W=>t(56,P=W));const jt=$.state.currentSubtitleCaptions$;D(i,jt,W=>t(57,ee=W));const Dt=$.state.duration$;D(i,Dt,W=>t(59,ye=W));const bi=$.state.graphIsOpened$;D(i,bi,W=>t(142,Q=W));const ui=$.ui.playerSize;D(i,ui,W=>t(34,f=W));const xt=$.ui.is3DVideo;D(i,xt,W=>t(51,c=W));const ci=$.ui.icon3DVideoVisible;D(i,ci,W=>t(54,B=W));const Ni=$.ui.rotateAlpha;D(i,Ni,W=>t(35,g=W));const Lt=$.state.isInteractive,Ki=$.state.isInteractiveTime$;D(i,Ki,W=>t(139,b=W));const Gi=$.state.isInteractiveExpectation$;D(i,Gi,W=>t(145,Z=W));const Yi=$.state.hasInteractiveBranches,Ri=$.ui.touched;D(i,Ri,W=>t(143,z=W));const Zt=$.ui.modals.hotKeyMap.data;D(i,Zt,W=>t(163,s=W));const _i=$.ui.modals.hotKeyMap.show;D(i,_i,W=>t(63,Ce=W));const nn=$.ui.overlayContainer$,Oi=$.actions.internal.closeSettingsMenu,{fakeIsPlaying$:zt}=Uo();D(i,zt,W=>t(137,_=W));let Ft,Di,zi=0,wi=0,Fi,Hi,Wt;Zt.set(P4());let Qi,Ui;const ki=Me(!1);D(i,ki,W=>t(52,h=W));let Zi;const yi=Me(!1);D(i,yi,W=>t(144,se=W));const Kt=Me(),Ci=Me(!1);D(i,Ci,W=>t(140,k=W));let Ue=!1,fi=!1,di,Be,sn,an,Xi,un,Ji=!1,Gt,xi=!1;const{toggle:Si}=zt;let qi=!1,Rt=null,Yt;ct==null||ct.setContext(C1());const oe=()=>{he&&!Lt&&Et(ce.controls.hideTimeout)};$.setUiCallbacks({onStarted:oe});const nt=()=>{window.clearTimeout(Fi),yi.set(!1)},$t=()=>{window.clearTimeout(Hi),Kt.set(null)},Et=W=>{nt(),yi.set(!0),Fi=window.setTimeout(()=>yi.set(!1),W);const It=W-100;Zi=window.setTimeout(()=>{h&&ki.set(!1)},It>0?It:W)},Mt=(W,It)=>{$t(),Kt.set(It),Hi=window.setTimeout(()=>Kt.set(null),W)},wn=xt.subscribe(W=>{ci.set(W),W&&(window.clearTimeout(Wt),Wt=window.setTimeout(()=>ci.set(!1),ce.controls.hide360IconTimeout))}),kn=()=>$i(this,null,function*(){var It,bn,ln,Tn;const W=Oo();if(W){Et(ce.controls.hideTimeoutFullscreen);try{yield ct==null?void 0:ct.remove()}catch(mo){Ei({message:String(mo)})}}Ii.set(W),$.getAdmanWrapper().setFullscreen(W),d?(bn=(It=$.callbacks)==null?void 0:It.onFullscreenEnter)==null||bn.call(It):(Tn=(ln=$.callbacks)==null?void 0:ln.onFullscreenExit)==null||Tn.call(ln)}),vn=W=>{const It=W;ui.set({width:It.target.width,height:It.target.height})};hn(()=>{var It;return Tc(kn),_l(ct)&&(ct==null||ct.assignPlayerContainer(Ft),ct==null||ct.registryExternalEventHandlers({resize:vn})),Ae&&((It=Ve.parentElement)==null||It.insertBefore(Ae,Ve.nextSibling)),()=>{window.clearTimeout(Fi),window.clearTimeout(Zi),window.clearTimeout(Hi),window.clearTimeout(Wt),wn(),ct==null||ct.dispose(),Pc(kn)}});const cn=()=>$i(this,null,function*(){if(Oo())yield Sc(document),Ei({message:"exit fullscreen"});else{Ei({message:"request fullscreen"});const W=fe!=null?fe:Ft,It=W.getRootNode(),bn=It instanceof ShadowRoot?It.host:It,ln=at instanceof HTMLElement&&at.contains(bn),Tn=ce.allowChangingFullscreenTarget&&at&&ln?at:W;yield Cc(Tn)}}),ji=()=>{Oi(),si.set(!1)},yn=W=>{si.set(!0),t(42,zi=W.clientX),t(43,wi=W.clientY)};function Mn(){Ci.set(!0),Lt||Et(ce.controls.hideTimeoutCursor)}function Bn(){Lt||(ki.set(!0),Et(ce.controls.hideTimeoutCursor))}function Cn(){Ci.set(!1),t(128,fi=!1),t(127,Ue=!1),qi=!1,$.actions.internal.releaseCamera()}function Sn(W){if(Ft){const It=Ef(W.currentTarget),bn=f.height,ln=W.pageY-It;ln<Wr?t(128,fi=!0):ln>bn-Wr?t(127,Ue=!0):(t(128,fi=!1),o||t(127,Ue=!1))}}function x(W){Sn(W),Be||Et(ce.controls.hideTimeoutCursor),c&&qi&&Rt&&$.actions.internal.moveCameraFocusPX(Rt.clientX-W.clientX,Rt.clientY-W.clientY,W.timeStamp-Rt.timeStamp),Rt=W}const vt=W=>{W.button===0&&(qi=!0,$.actions.internal.holdCamera()),Et(ce.controls.hideTimeoutCursor)},fn=W=>{W.button===0&&(Rt=W,qi=!1,$.actions.internal.releaseCamera()),Et(ce.controls.hideTimeoutCursor)},on=()=>{Ei({message:"double click on video"}),cn(),Et(ce.controls.hideTimeoutCursor)},gn=()=>{if(n||o){ji();return}if(!(a&&!Yi)){if(xi)return Si();if(Yt==null||Yt.focus(),!gt){ni(),Et(ce.controls.hideTimeoutCursor);return}$.actions.internal.togglePlay(),Et(ce.controls.hideTimeoutCursor)}},dn=W=>{ji(),Ri.set(!0),Et(ce.controls.hideTimeout),W&&Mt(ce.controls.hideHotKeyHelpers,W)},Kn=()=>{var W,It;ji(),(W=$.callbacks)!=null&&W.onOpenHotKeyMap?(It=$.callbacks)==null||It.onOpenHotKeyMap(s):_i.update(bn=>!bn)},Gn=()=>{if(n||o){ji();return}},Yn=()=>{Ri.set(!0)},Nn=$.ui.contextMenu.openedByKeyboard$;D(i,Nn,W=>t(133,r=W));let Qn=$.ui.contextMenu.btnRef$;D(i,Qn,W=>t(132,l=W));let Pn;function mn(W){Se[W?"unshift":"push"](()=>{Ve=W,t(0,Ve)})}const J=()=>Yt==null?void 0:Yt.focus();function to(W){Di=W,t(41,Di)}const ao=()=>Yt==null?void 0:Yt.focus();function io(W){Pn=W,t(32,Pn)}function uo(W){Se[W?"unshift":"push"](()=>{Yt=W,t(50,Yt)})}function co(W){Se[W?"unshift":"push"](()=>{Ui=W,t(30,Ui)})}function fo(W){Se[W?"unshift":"push"](()=>{Ft=W,t(40,Ft)})}return i.$$set=W=>{"store"in W&&t(122,$=W.store),"uiConfig"in W&&t(1,ce=W.uiConfig),"title"in W&&t(2,ae=W.title),"thumbUrl"in W&&t(3,We=W.thumbUrl),"videoLogoUrl"in W&&t(4,Oe=W.videoLogoUrl),"videoContainer"in W&&t(0,Ve=W.videoContainer),"interactiveContainer"in W&&t(123,Ae=W.interactiveContainer),"live"in W&&t(5,ue=W.live),"autoplay"in W&&t(6,he=W.autoplay),"canRewindLive"in W&&t(7,le=W.canRewindLive),"showAds"in W&&t(8,Le=W.showAds),"adsSlotId"in W&&t(9,pe=W.adsSlotId),"adsParams"in W&&t(10,Te=W.adsParams),"adsPreviewParam"in W&&t(11,Ge=W.adsPreviewParam),"duration"in W&&t(12,Re=W.duration),"logoClickable"in W&&t(13,Je=W.logoClickable),"logoHidden"in W&&t(14,xe=W.logoHidden),"showNextPrevButtons"in W&&t(15,ut=W.showNextPrevButtons),"nextButtonActive"in W&&t(16,rt=W.nextButtonActive),"prevButtonActive"in W&&t(17,Tt=W.prevButtonActive),"endScreenVideoTitle"in W&&t(18,st=W.endScreenVideoTitle),"endScreenVideoThumb"in W&&t(19,Xt=W.endScreenVideoThumb),"isOneVideoPlaylist"in W&&t(20,wt=W.isOneVideoPlaylist),"supportLink"in W&&t(21,ze=W.supportLink),"outerContainerRef"in W&&t(124,fe=W.outerContainerRef),"playerStarted"in W&&t(22,gt=W.playerStarted),"fullScreenTarget"in W&&t(125,at=W.fullScreenTarget),"showMiniTimer"in W&&t(126,Nt=W.showMiniTimer),"playNextVideo"in W&&t(23,mt=W.playNextVideo),"playPrevVideo"in W&&t(24,Pt=W.playPrevVideo),"repeatPlaylist"in W&&t(25,$e=W.repeatPlaylist),"seekToInteractive"in W&&t(26,Ze=W.seekToInteractive),"toggleGraph"in W&&t(27,kt=W.toggleGraph),"playPrevChapter"in W&&t(28,en=W.playPrevChapter),"firstStart"in W&&t(29,ni=W.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Qi=(A===De.Video&&X||A===De.Ads&&O===ti.INACTIVE)&&!y),i.$$.dirty[0]&1073741824&&nn.set(Ui),i.$$.dirty[4]&4194304&&t(129,di=Y!==tt.PlaybackState.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Be=b&&!o&&!(Ue||fi)&&!(di&&!Z)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&ri.set((di||o||w||re||se)&&!Be&&A===De.Video&&!y),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,sn=ce.features.thumbTimer&&Nt&&A===De.Video&&!C&&!y&&!Lt&&(ce.hideThumbTimerAfterTouch&&!z||!ce.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,an=A===De.Video&&!Q&&d),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,Xi=(Le&&V||!Le)&&a&&!y),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,un=k&&!(C||Xi)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!w&&Ji&&!b&&Et(ce.controls.hideTimeoutCursor),t(131,Ji=w)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,Gt=Ve&&g%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,xi=_!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&yr(Pn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const W=l;W&&kr(W,n,Nn)}},[Ve,ce,ae,We,Oe,ue,he,le,Le,pe,Te,Ge,Re,Je,xe,ut,rt,Tt,st,Xt,wt,ze,gt,mt,Pt,$e,Ze,kt,en,ni,Ui,Xi,Pn,n,f,g,C,y,A,re,Ft,Di,zi,wi,Qi,sn,an,un,Gt,xi,Yt,c,h,L,B,te,P,ee,Pe,ye,Ie,Ne,_e,Ce,q,tn,oi,Jt,li,Ot,pi,Ii,ri,Ai,hi,si,Li,Vi,Mi,Bi,vi,At,gi,Vt,ai,pt,jt,Dt,bi,ui,xt,ci,Ni,Lt,Ki,Gi,Ri,Zt,_i,zt,ki,yi,Kt,Ci,Si,cn,ji,yn,Mn,Bn,Cn,x,vt,fn,on,gn,dn,Kn,Gn,Yn,Nn,Qn,$,Ae,fe,at,Nt,Ue,fi,di,Be,Ji,l,r,o,a,d,_,w,b,k,V,Q,z,se,Z,Y,O,X,mn,J,to,ao,io,uo,co,fo]}class __ extends ke{constructor(e){super(),we(this,e,b_,v_,be,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},p_,[-1,-1,-1,-1,-1,-1])}}const w_=i=>{if(!ie.isIOS(!0))return!1;const e=i.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,t=ie.getIOSVersion();return!e||e&&!!t&&t<16};function k_(i){Ke(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 e1(i){let e,t,n,l,r,o,s,a,c,f,d,h,_,g,w,b=G("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",C;return{c(){e=E("div"),n=R(),l=E("div"),r=E("div"),o=E("div"),a=R(),c=E("div"),d=R(),h=E("div"),g=R(),w=E("p"),C=He(b),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(o,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",_="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(k,y){T(k,e,y),T(k,n,y),T(k,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,g),p(l,w),p(w,C)},p(k,y){y&1&&t!==(t="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",t),y&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&_!==(_="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",_),y&2&&b!==(b=G("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&it(C,b)},d(k){k&&(S(e),S(n),S(l))}}}function y_(i){let e,t,n,l,r=i[2]&&e1(i);return{c(){e=E("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(o,s){T(o,e,s),r&&r.m(e,null),n||(l=ve(e,"click",lt(i[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=e1(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function C_(i,e,t){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return zo(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=d=>{"side"in d&&t(0,n=d.side),"seekStep"in d&&t(1,l=d.seekStep),"handleSingleFirstClick"in d&&t(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&t(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class If extends ke{constructor(e){super(),we(this,e,C_,y_,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},k_)}}function S_(i,e,t){let{playNextVideo:n}=e;return hn(()=>{n()}),i.$$set=l=>{"playNextVideo"in l&&t(0,n=l.playNextVideo)},[n]}class T_ extends ke{constructor(e){super(),we(this,e,S_,null,be,{playNextVideo:0})}}const{window:P_}=y1;function E_(i){Ke(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 t1(i){let e,t,n,l;e=new If({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[129]}});let r=!i[48]&&i1(i);return{c(){U(e.$$.fragment),t=R(),r&&r.c(),n=ht()},m(o,s){F(e,o,s),T(o,t,s),r&&r.m(o,s),T(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(de(),v(r,1,1,()=>{r=null}),me()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=i1(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){v(e.$$.fragment,o),v(r),l=!1},d(o){o&&(S(t),S(n)),H(e,o),r&&r.d(o)}}}function i1(i){let e,t;return e=new If({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[130]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function n1(i){var n;let e,t;return e=new Tf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){t||(m(e.$$.fragment,l),t=!0)},o(l){v(e.$$.fragment,l),t=!1},d(l){H(e,l)}}}function o1(i){let e,t;return e=new Pf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function l1(i){let e,t,n;return t=new Ec({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",i[34]!==De.Ads)},m(l,r){T(l,e,r),F(t,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),t.$set(o),(!n||r[1]&8)&&M(e,"hidden",l[34]!==De.Ads)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function r1(i){let e,t;return e=new T_({props:{playNextVideo:i[22]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function s1(i){let e,t;return e=new wf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function a1(i){let e,t,n;return t=new j1({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){T(l,e,r),F(t,e,null),n=!0},p:K,i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&S(e),H(t)}}}function u1(i){let e,t;return e=new yf({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function c1(i){let e,t;return e=new kf({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f1(i){let e,t,n,l,r;return t=new Cf({}),{c(){e=E("div"),U(t.$$.fragment)},m(o,s){T(o,e,s),F(t,e,null),n=!0,l||(r=ve(e,"click",lt(i[100])),l=!0)},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&S(e),H(t),l=!1,r()}}}function d1(i){let e,t,n;function l(o){i[131](o)}let r={bottomHidden:i[34]===De.Thumb||i[34]===De.WaitingLive||i[34]===De.WaitingRecord||i[34]===De.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===De.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],onDisabledPlayPrevChapterClick:i[103],onDisabledSeekToInteractiveClick:i[104]};return i[37]!==void 0&&(r.controlsElementRef=i[37]),e=new bf({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===De.Thumb||o[34]===De.WaitingLive||o[34]===De.WaitingRecord||o[34]===De.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===De.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!t&&s[1]&64&&(t=!0,a.controlsElementRef=o[37],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function m1(i){let e,t;return e=new Fc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function p1(i){let e,t;return e=new Nc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function h1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(dt.TIMELINE),l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y;e=new Sf({props:{hidden:i[34]!==De.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let V=n&&t1(i),Q=i[34]===De.WaitingLive&&n1(i),A=i[34]===De.WaitingRecord&&o1(),z=i[7]&&i[21]&&l1(i),se=i[41]&&i[17]&&i[18]&&r1(i),re=i[49]&&s1(),Z=i[50]&&a1(),Y=i[35]&&u1(i),O=i[52].value!=="off"&&c1(i),X=i[33]&&f1(i),L=i[21]&&d1(i);w=new Ac({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let B=i[38]&&m1(),te=i[57]&&p1();return{c(){U(e.$$.fragment),t=R(),V&&V.c(),l=R(),Q&&Q.c(),r=R(),A&&A.c(),o=R(),z&&z.c(),s=R(),se&&se.c(),a=R(),re&&re.c(),c=R(),Z&&Z.c(),f=R(),Y&&Y.c(),d=R(),O&&O.c(),h=R(),X&&X.c(),_=R(),L&&L.c(),g=R(),U(w.$$.fragment),b=R(),B&&B.c(),C=R(),te&&te.c(),k=ht()},m(P,ee){F(e,P,ee),T(P,t,ee),V&&V.m(P,ee),T(P,l,ee),Q&&Q.m(P,ee),T(P,r,ee),A&&A.m(P,ee),T(P,o,ee),z&&z.m(P,ee),T(P,s,ee),se&&se.m(P,ee),T(P,a,ee),re&&re.m(P,ee),T(P,c,ee),Z&&Z.m(P,ee),T(P,f,ee),Y&&Y.m(P,ee),T(P,d,ee),O&&O.m(P,ee),T(P,h,ee),X&&X.m(P,ee),T(P,_,ee),L&&L.m(P,ee),T(P,g,ee),F(w,P,ee),T(P,b,ee),B&&B.m(P,ee),T(P,C,ee),te&&te.m(P,ee),T(P,k,ee),y=!0},p(P,ee){const Pe={};ee[0]&32|ee[1]&12&&(Pe.hidden=P[34]!==De.Thumb||P[33]||P[89]&&P[5]),ee[0]&4&&(Pe.thumbUrl=P[2]),ee[0]&268435456&&(Pe.startVideo=P[28]),e.$set(Pe),ee[0]&64|ee[1]&65536&&(n=P[6]&&P[78]&&!P[47].has(dt.TIMELINE)),n?V?(V.p(P,ee),ee[0]&64|ee[1]&65536&&m(V,1)):(V=t1(P),V.c(),m(V,1),V.m(l.parentNode,l)):V&&(de(),v(V,1,1,()=>{V=null}),me()),P[34]===De.WaitingLive?Q?(Q.p(P,ee),ee[1]&8&&m(Q,1)):(Q=n1(P),Q.c(),m(Q,1),Q.m(r.parentNode,r)):Q&&(de(),v(Q,1,1,()=>{Q=null}),me()),P[34]===De.WaitingRecord?A?ee[1]&8&&m(A,1):(A=o1(),A.c(),m(A,1),A.m(o.parentNode,o)):A&&(de(),v(A,1,1,()=>{A=null}),me()),P[7]&&P[21]?z?(z.p(P,ee),ee[0]&2097280&&m(z,1)):(z=l1(P),z.c(),m(z,1),z.m(s.parentNode,s)):z&&(de(),v(z,1,1,()=>{z=null}),me()),P[41]&&P[17]&&P[18]?se?(se.p(P,ee),ee[0]&393216|ee[1]&1024&&m(se,1)):(se=r1(P),se.c(),m(se,1),se.m(a.parentNode,a)):se&&(de(),v(se,1,1,()=>{se=null}),me()),P[49]?re?ee[1]&262144&&m(re,1):(re=s1(),re.c(),m(re,1),re.m(c.parentNode,c)):re&&(de(),v(re,1,1,()=>{re=null}),me()),P[50]?Z?(Z.p(P,ee),ee[1]&524288&&m(Z,1)):(Z=a1(),Z.c(),m(Z,1),Z.m(f.parentNode,f)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),P[35]?Y?(Y.p(P,ee),ee[1]&16&&m(Y,1)):(Y=u1(P),Y.c(),m(Y,1),Y.m(d.parentNode,d)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),P[52].value!=="off"?O?(O.p(P,ee),ee[1]&2097152&&m(O,1)):(O=c1(P),O.c(),m(O,1),O.m(h.parentNode,h)):O&&(de(),v(O,1,1,()=>{O=null}),me()),P[33]?X?(X.p(P,ee),ee[1]&4&&m(X,1)):(X=f1(P),X.c(),m(X,1),X.m(_.parentNode,_)):X&&(de(),v(X,1,1,()=>{X=null}),me()),P[21]?L?(L.p(P,ee),ee[0]&2097152&&m(L,1)):(L=d1(P),L.c(),m(L,1),L.m(g.parentNode,g)):L&&(de(),v(L,1,1,()=>{L=null}),me());const ye={};ee[1]&16777216&&(ye.isLive=P[55]),ee[1]&512&&(ye.isHidden=!P[40]),ee[1]&33554432&&(ye.isPlaying=P[56]),ee[1]&8192&&(ye.position=P[44]),ee[1]&4096&&(ye.duration=P[43]),w.$set(ye),P[38]?B?ee[1]&128&&m(B,1):(B=m1(),B.c(),m(B,1),B.m(C.parentNode,C)):B&&(de(),v(B,1,1,()=>{B=null}),me()),P[57]?te?ee[1]&67108864&&m(te,1):(te=p1(),te.c(),m(te,1),te.m(k.parentNode,k)):te&&(de(),v(te,1,1,()=>{te=null}),me())},i(P){y||(m(e.$$.fragment,P),m(V),m(Q),m(A),m(z),m(se),m(re),m(Z),m(Y),m(O),m(X),m(L),m(w.$$.fragment,P),m(B),m(te),y=!0)},o(P){v(e.$$.fragment,P),v(V),v(Q),v(A),v(z),v(se),v(re),v(Z),v(Y),v(O),v(X),v(L),v(w.$$.fragment,P),v(B),v(te),y=!1},d(P){P&&(S(t),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(_),S(g),S(b),S(C),S(k)),H(e,P),V&&V.d(P),Q&&Q.d(P),A&&A.d(P),z&&z.d(P),se&&se.d(P),re&&re.d(P),Z&&Z.d(P),Y&&Y.d(P),O&&O.d(P),X&&X.d(P),L&&L.d(P),H(w,P),B&&B.d(P),te&&te.d(P)}}}function I_(i){let e,t,n,l,r,o=i[46],s,a,c,f,d,h=h1(i);return{c(){e=E("div"),t=E("div"),n=E("div"),r=R(),h.c(),s=R(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${i[32]}deg) scale(${i[42]})`),M(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),M(t,"hidden",i[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player")),u(e,"tabindex","-1")},m(_,g){T(_,e,g),p(e,t),p(t,n),i[128](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[132](a),i[133](e),c=!0,f||(d=[ve(P_,"blur",i[98]),ve(t,"click",ii(i[99])),ve(e,"click",i[101],!0),ve(e,"focusin",i[102],!0)],f=!0)},p(_,g){(!c||g[1]&2050&&l!==(l=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",l),(!c||g[0]&2)&&M(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||g[1]&8)&&M(t,"hidden",_[34]!==De.Video),g[1]&32768&&be(o,o=_[46])?(de(),v(h,1,1,K),me(),h=h1(_),h.c(),m(h,1),h.m(e,s)):h.p(_,g)},i(_){c||(m(h),c=!0)},o(_){v(h),c=!1},d(_){_&&S(e),i[128](null),h.d(_),i[132](null),i[133](null),f=!1,ot(d)}}}function A_(i,e,t){var Cn,Sn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe,ye,Ie,Ne,{store:_e}=e,{uiConfig:Ce}=e,{thumbUrl:q}=e,{videoLogoUrl:$}=e,{videoContainer:ce}=e,{interactiveContainer:ae}=e,{live:We}=e,{autoplay:Oe}=e,{canRewindLive:Ve}=e,{showAds:Ae}=e,{adsSlotId:ue=void 0}=e,{adsParams:he=void 0}=e,{adsPreviewParam:le=void 0}=e,{duration:Le=void 0}=e,{logoClickable:pe}=e,{logoHidden:Te}=e,{showNextPrevButtons:Ge=!1}=e,{nextButtonActive:Re=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:xe=void 0}=e,{endScreenVideoThumb:ut=void 0}=e,{isOneVideoPlaylist:rt=!1}=e,{supportLink:Tt}=e,{outerContainerRef:st=void 0}=e,{showMiniTimer:Xt=!1}=e,{fullScreenTarget:wt=void 0}=e,{playerStarted:ze=!1}=e,{playNextVideo:fe=ie.noop}=e,{playPrevVideo:gt=ie.noop}=e,{repeatPlaylist:at=ie.noop}=e,{seekToInteractive:Nt}=e,{toggleGraph:mt}=e,{playPrevChapter:Pt}=e,{firstStart:$e}=e,{seekTime:Ze}=e;const kt=_e.getLogger().createComponentLog("Root component"),en=_e.interfaceLanguage$;D(i,en,x=>t(46,Y=x));const ni=_e.state.playbackState$;D(i,ni,x=>t(125,se=x));const Ei=_e.ads.playbackState;D(i,Ei,x=>t(126,re=x));const tn=_e.state.positionWithScrubbing$;D(i,tn,x=>t(44,o=x));const oi=_e.state.duration$;D(i,oi,x=>t(43,r=x));const Jt=_e.playerPhase;D(i,Jt,x=>t(34,V=x));const li=_e.ui.isFullscreen;D(i,li,x=>t(139,a=x));const Ot=_e.ui.controlsVisible;D(i,Ot,x=>t(30,l=x));const pi=_e.ui.interactiveHideMobileControls;D(i,pi,x=>t(117,h=x));const Ii=_e.ui.settingsMenuVisible;D(i,Ii,x=>t(116,n=x));const ri=_e.ui.scrubbingInProgress;D(i,ri,x=>t(118,g=x));const Ai=_e.ui.debugPanelVisible;D(i,Ai,x=>t(57,Ne=x));const hi=_e.state.isLoaderVisible;D(i,hi,x=>t(127,Z=x));const si=_e.state.isEnded$;D(i,si,x=>t(120,C=x));const Li=_e.state.chromecastConnected$;D(i,Li,x=>t(35,Q=x));const Vi=_e.state.chromecastDeviceName$;D(i,Vi,x=>t(51,te=x));const Mi=_e.ads.postrollPassed;D(i,Mi,x=>t(121,k=x));const Bi=_e.ui.mobileUnmuteButtonExpanded,vi=_e.ui.mobileUnmuteButtonVisible,At=_e.state.isLive$;D(i,At,x=>t(55,ye=x));const gi=_e.state.isPlaying$;D(i,gi,x=>t(56,Ie=x));const Vt=_e.state.isActiveLive$;D(i,Vt,x=>t(48,X=x));const ai=_e.state.isRewindableLive$,ct=_e.state.crashed$;D(i,ct,x=>t(33,b=x));const pt=_e.webApi.pictureInPictureApi,jt=_e.state.videoSize$;D(i,jt,x=>t(140,f=x));const Dt=_e.state.currentSubtitle$;D(i,Dt,x=>t(52,P=x));const bi=_e.state.currentSubtitleCaptions$;D(i,bi,x=>t(53,ee=x));const ui=_e.state.duration$;D(i,ui,x=>t(54,Pe=x));const xt=_e.state.graphIsOpened$;D(i,xt,x=>t(124,z=x));const ci=_e.ui.playerSize;D(i,ci,x=>t(31,c=x));const Ni=_e.ui.is3DVideo;D(i,Ni,x=>t(49,L=x));const Lt=_e.ui.icon3DVideoVisible;D(i,Lt,x=>t(50,B=x));const Ki=_e.ui.rotateAlpha;D(i,Ki,x=>t(32,_=x));const Gi=_e.state.isInteractive,Yi=_e.state.isInteractiveTime$;D(i,Yi,x=>t(119,w=x));const Ri=_e.state.isInteractiveExpectation$;D(i,Ri,x=>t(123,A=x));const Zt=_e.state.hasInteractiveBranches,_i=_e.ui.controls.disabledControls$;D(i,_i,x=>t(47,O=x));const nn=_e.ui.touched;D(i,nn,x=>t(122,y=x));const Oi=_e.ui.clientInfo$;D(i,Oi,x=>t(138,s=x));const zt=_e.ui.overlayContainer$,Ft=_e.actions.internal.closeSettingsMenu,Di=(Cn=_e.callbacks)==null?void 0:Cn.onDisabledPlayPrevChapterClick,zi=(Sn=_e.callbacks)==null?void 0:Sn.onDisabledSeekToInteractiveClick;let wi,Fi,Hi,Wt,Qi,Ui,ki;const Zi=Me(!1);D(i,Zi,x=>t(45,d=x));let yi,Kt=!1,Ci,Ue=!1,fi,di=!0,Be,sn,an=!1,Xi;pt==null||pt.setContext(C1());const un=x=>{clearTimeout(Wt),x&&(vi.set(!0),Bi.set(!0),Wt=window.setTimeout(()=>{Bi.set(!1)},Ce.controls.collapseMobileUnmute),Gi||Gt(Ce.controls.hideTimeoutMobile))};_e.setUiCallbacks({onStarted:un});const Ji=()=>{window.clearTimeout(Hi),t(111,Kt=!1),h&&pi.set(!1)},Gt=x=>{Ji(),t(111,Kt=!0),Hi=window.setTimeout(()=>t(111,Kt=!1),x);const vt=x-100;yi=window.setTimeout(()=>{d&&Zi.set(!1)},vt>0?vt:x)},xi=Ni.subscribe(x=>{Lt.set(x),x&&(window.clearTimeout(Qi),Qi=window.setTimeout(()=>Lt.set(!1),Ce.controls.hide360IconTimeout))}),Si=()=>$i(this,null,function*(){var vt,fn,on,gn;const x=Oo();if(x){Gt(Ce.controls.hideTimeoutFullscreen);try{yield pt==null?void 0:pt.remove()}catch(dn){kt({message:String(dn)})}try{const dn=f!=null&&f.width&&(f!=null&&f.height)?f:c;yield T4(dn)}catch(dn){kt({message:String(dn)})}}li.set(x),_e.getAdmanWrapper().setFullscreen(x),a?(fn=(vt=_e.callbacks)==null?void 0:vt.onFullscreenEnter)==null||fn.call(vt):(gn=(on=_e.callbacks)==null?void 0:on.onFullscreenExit)==null||gn.call(on)}),qi=x=>{const vt=x;ci.set({width:vt.target.width,height:vt.target.height})};hn(()=>{var vt;return Tc(Si),_l(pt)&&(pt==null||pt.assignPlayerContainer(wi),pt==null||pt.registryExternalEventHandlers({resize:qi})),t(39,di=!w_(s)),ae&&((vt=ce.parentElement)==null||vt.insertBefore(ae,ce.nextSibling)),()=>{window.clearTimeout(Hi),window.clearTimeout(yi),window.clearTimeout(Wt),window.clearTimeout(Qi),xi(),pt==null||pt.dispose(),Pc(Si)}});const Rt=x=>{let vt=o+(x==="forward"?1:-1)*Ce.controls.seekStepMobile/1e3;vt<0?vt=0:vt>r&&(vt=r-1),t(113,Ue=!0),Ze(vt)},Yt=()=>$i(this,null,function*(){if(Oo())yield Sc(document),kt({message:"exit fullscreen"});else{kt({message:"request fullscreen"});const x=ie.isIOS()||!st?wi:st,vt=x.getRootNode(),fn=vt instanceof ShadowRoot?vt.host:vt,on=wt instanceof HTMLElement&&wt.contains(fn),gn=Ce.allowChangingFullscreenTarget&&wt&&on?wt:x;yield Cc(gn)}}),oe=()=>{Ft()},nt=()=>{if(n){oe();return}if(!ze){$e(),Gt(Ce.controls.hideTimeoutCursor);return}t(113,Ue=!1),l?Ji():Gt(Ce.controls.hideTimeoutMobile)},$t=()=>{if(n){oe();return}},Et=()=>{nn.set(!0)},Mt=()=>{Gi||(Zi.set(!0),Gt(Ce.controls.hideTimeoutCursor))},wn=x=>{Di&&(Di(x),Gt(Ce.controls.hideTimeoutMobile))},kn=x=>{zi&&(zi(x),Gt(Ce.controls.hideTimeoutMobile))};function vn(x){Se[x?"unshift":"push"](()=>{ce=x,t(0,ce)})}const cn=()=>Rt("backward"),ji=()=>Rt("forward");function yn(x){Fi=x,t(37,Fi)}function Mn(x){Se[x?"unshift":"push"](()=>{ki=x,t(29,ki)})}function Bn(x){Se[x?"unshift":"push"](()=>{wi=x,t(36,wi)})}return i.$$set=x=>{"store"in x&&t(105,_e=x.store),"uiConfig"in x&&t(1,Ce=x.uiConfig),"thumbUrl"in x&&t(2,q=x.thumbUrl),"videoLogoUrl"in x&&t(3,$=x.videoLogoUrl),"videoContainer"in x&&t(0,ce=x.videoContainer),"interactiveContainer"in x&&t(106,ae=x.interactiveContainer),"live"in x&&t(4,We=x.live),"autoplay"in x&&t(5,Oe=x.autoplay),"canRewindLive"in x&&t(6,Ve=x.canRewindLive),"showAds"in x&&t(7,Ae=x.showAds),"adsSlotId"in x&&t(8,ue=x.adsSlotId),"adsParams"in x&&t(9,he=x.adsParams),"adsPreviewParam"in x&&t(10,le=x.adsPreviewParam),"duration"in x&&t(11,Le=x.duration),"logoClickable"in x&&t(12,pe=x.logoClickable),"logoHidden"in x&&t(13,Te=x.logoHidden),"showNextPrevButtons"in x&&t(14,Ge=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Re=x.nextButtonActive),"prevButtonActive"in x&&t(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,xe=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,ut=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,rt=x.isOneVideoPlaylist),"supportLink"in x&&t(20,Tt=x.supportLink),"outerContainerRef"in x&&t(107,st=x.outerContainerRef),"showMiniTimer"in x&&t(108,Xt=x.showMiniTimer),"fullScreenTarget"in x&&t(109,wt=x.fullScreenTarget),"playerStarted"in x&&t(21,ze=x.playerStarted),"playNextVideo"in x&&t(22,fe=x.playNextVideo),"playPrevVideo"in x&&t(23,gt=x.playPrevVideo),"repeatPlaylist"in x&&t(24,at=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Nt=x.seekToInteractive),"toggleGraph"in x&&t(26,mt=x.toggleGraph),"playPrevChapter"in x&&t(27,Pt=x.playPrevChapter),"firstStart"in x&&t(28,$e=x.firstStart),"seekTime"in x&&t(110,Ze=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&12&&t(38,Ui=(V===De.Video&&Z||V===De.Ads&&re===ti.INACTIVE)&&!b),i.$$.dirty[0]&536870912&&zt.set(ki),i.$$.dirty[4]&2&&t(112,Ci=se!==tt.PlaybackState.PLAYING),i.$$.dirty[3]&1225523200|i.$$.dirty[4]&1&&t(114,fi=z||h||!Kt&&(C&&!!Zt||Ci&&A)),i.$$.dirty[1]&28|i.$$.dirty[3]&45875200&&Ot.set((Ci||n||g||Q||Kt&&!Ue)&&!fi&&V===De.Video&&!b),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&536903680&&t(40,Be=Ce.features.thumbTimer&&Xt&&V===De.Video&&!l&&!b&&!Gi&&(Ce.hideThumbTimerAfterTouch&&!y||!Ce.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&402653184&&t(41,sn=(Ae&&k||!Ae)&&C&&!b),i.$$.dirty[0]&2|i.$$.dirty[3]&104857600&&(!g&&an&&!w&&Gt(Ce.controls.hideTimeoutMobile),t(115,an=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Xi=ce&&_%180?c.height/c.width:1)},[ce,Ce,q,$,We,Oe,Ve,Ae,ue,he,le,Le,pe,Te,Ge,Re,Je,xe,ut,rt,Tt,ze,fe,gt,at,Nt,mt,Pt,$e,ki,l,c,_,b,V,Q,wi,Fi,Ui,di,Be,sn,Xi,r,o,d,Y,O,X,L,B,te,P,ee,Pe,ye,Ie,Ne,en,ni,Ei,tn,oi,Jt,li,Ot,pi,Ii,ri,Ai,hi,si,Li,Vi,Mi,At,gi,Vt,ai,ct,jt,Dt,bi,ui,xt,ci,Ni,Lt,Ki,Gi,Yi,Ri,_i,nn,Oi,Zi,Rt,Yt,oe,nt,$t,Et,Mt,wn,kn,_e,ae,st,Xt,wt,Ze,Kt,Ci,Ue,fi,an,n,h,g,w,C,k,y,A,z,se,re,Z,vn,cn,ji,yn,Mn,Bn]}class L_ extends ke{constructor(e){super(),we(this,e,A_,I_,be,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},E_,[-1,-1,-1,-1,-1,-1])}}function V_(i){Ke(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function D_(i){let e,t,n;function l(o){i[56](o)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new S_({props:r}),Se.push(()=>We(e,"videoContainer",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function z_(i){let e,t,n;function l(o){i[55](o)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new R_({props:r}),Se.push(()=>We(e,"videoContainer",l)),{c(){W(e.$$.fragment)},m(o,s){U(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){j(e,o)}}}function F_(i){let e,t,n,l;const r=[z_,D_],o=[];function s(a,c){return a[15]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=P("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){g(n),l=!1},d(a){a&&S(e),o[t].d()}}}function H_(i,e,t){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:d}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:w=void 0}=e,{muted:_=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:M=void 0}=e,{adsParams:z=void 0}=e,{adsPreviewParam:I=void 0}=e,{duration:F=void 0}=e,{logoClickable:ue}=e,{logoHidden:ae}=e,{isMobile:R}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:X=!1}=e,{prevButtonActive:G=!1}=e,{endScreenVideoTitle:A=void 0}=e,{endScreenVideoThumb:V=void 0}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:L}=e,{outerContainerRef:ne=void 0}=e,{fullScreenTarget:Te=void 0}=e,{failoverHosts:Pe=void 0}=e,{showMiniTimer:Ve=!1}=e,{playNextVideo:Ae=ie.noop}=e,{playPrevVideo:Oe=ie.noop}=e,{repeatPlaylist:me=ie.noop}=e,{seekToInteractive:H=ie.noop}=e,{toggleGraph:$=ie.noop}=e,{playPrevChapter:pe=ie.noop}=e;const{subscribers:ce,stores:Fe}=r;M0(o);const Re=wn(),Ne=l.ui.debugPanelVisible,Ie=l.ui.playerSize;let ge,ve=null,ee=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),U0(l,Fe);const Ce=(le=!1)=>{t(34,ee=!0),le?l.actions.external.firstStart(y):l.actions.internal.firstStart(y)};function oe(le){var $e;const gt=n||le;gt&&l.initVideo({container:ge,sources:gt,failoverHosts:Pe,subtitles:d});const lt=ie.safeStorage.get(rr)==="true";Ne.set(lt),C>0&&l.actions.external.seekTime(C);const Ot=R?Re.volumeDefault:($e=w!=null?w:Z1())!=null?$e:Re.volumeDefault,ut=_!=null?_:G0();if(l.actions.external.setVolume(Ot),l.actions.external.setMuted(ut),l.getAdmanWrapper().setInitialVolume(ut?0:Ot),Re.features.trafficSaving){const Ue=Q0();Ue&&l.actions.internal.setTrafficSavingEnabled(Ue)}const At=K0(l.videoId);At&&l.actions.internal.setQuality(At),l.ui.isAutoplay.set(v),v?Ce():b&&Re.features.preload&&l.actions.internal.preload()}const be=le=>{if(window.ResizeObserver){let gt,lt;ve=new ResizeObserver(ie.throttleFn(Ot=>{const ut=Ot[0];if(ut){if(ut.contentBoxSize){const At=Array.isArray(ut.contentBoxSize)?ut.contentBoxSize[0]:ut.contentBoxSize;gt=At.inlineSize,lt=At.blockSize}else ut.contentRect&&(gt=ut.contentRect.width,lt=ut.contentRect.height);Ie.set({width:gt,height:lt})}},B1)),ve.observe(le)}Ie.set({width:le.clientWidth,height:le.clientHeight})};_n(()=>{be(ge);const le=ce.map(lt=>lt.init(l,Fe));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return oe(),()=>{ve==null||ve.disconnect(),le.forEach(lt=>lt.unsubscribe()),l.destroy()}});function Ke(){ee?l.actions.external.play():Ce(!0)}function Me(){l.actions.external.pause()}function xe(le){R||l.actions.external.setMuted(le)}function Xe(le){R||le>=0&&le<=1&&l.actions.external.setVolume(le)}function ot(le){l.actions.internal.seekTime(le,wt.SeekAction.UNKNOWN)}function at(le){l.actions.external.seekEpisodeStartTime(le)}function St(){l.actions.external.returnFocusToEpisodes()}function vt(le){l.actions.external.setPlaybackRate(le)}function Yt(le){l.actions.external.setAutoQualityLimits(le)}function Pt(le){ge=le,t(33,ge)}function Tt(le){ge=le,t(33,ge)}return i.$$set=le=>{"sources"in le&&t(37,n=le.sources),"store"in le&&t(0,l=le.store),"microStoresRoot"in le&&t(38,r=le.microStoresRoot),"uiConfig"in le&&t(39,o=le.uiConfig),"title"in le&&t(1,s=le.title),"thumbUrl"in le&&t(2,a=le.thumbUrl),"videoLogoUrl"in le&&t(3,c=le.videoLogoUrl),"interactiveContainer"in le&&t(4,f=le.interactiveContainer),"subtitles"in le&&t(40,d=le.subtitles),"live"in le&&t(5,h=le.live),"preload"in le&&t(41,b=le.preload),"autoplay"in le&&t(6,v=le.autoplay),"volume"in le&&t(42,w=le.volume),"muted"in le&&t(43,_=le.muted),"fromTime"in le&&t(44,C=le.fromTime),"canRewindLive"in le&&t(7,k=le.canRewindLive),"showAds"in le&&t(8,y=le.showAds),"adsSlotId"in le&&t(9,M=le.adsSlotId),"adsParams"in le&&t(10,z=le.adsParams),"adsPreviewParam"in le&&t(11,I=le.adsPreviewParam),"duration"in le&&t(12,F=le.duration),"logoClickable"in le&&t(13,ue=le.logoClickable),"logoHidden"in le&&t(14,ae=le.logoHidden),"isMobile"in le&&t(15,R=le.isMobile),"showNextPrevButtons"in le&&t(16,te=le.showNextPrevButtons),"nextButtonActive"in le&&t(17,X=le.nextButtonActive),"prevButtonActive"in le&&t(18,G=le.prevButtonActive),"endScreenVideoTitle"in le&&t(19,A=le.endScreenVideoTitle),"endScreenVideoThumb"in le&&t(20,V=le.endScreenVideoThumb),"isOneVideoPlaylist"in le&&t(21,J=le.isOneVideoPlaylist),"supportLink"in le&&t(22,L=le.supportLink),"outerContainerRef"in le&&t(23,ne=le.outerContainerRef),"fullScreenTarget"in le&&t(24,Te=le.fullScreenTarget),"failoverHosts"in le&&t(45,Pe=le.failoverHosts),"showMiniTimer"in le&&t(25,Ve=le.showMiniTimer),"playNextVideo"in le&&t(26,Ae=le.playNextVideo),"playPrevVideo"in le&&t(27,Oe=le.playPrevVideo),"repeatPlaylist"in le&&t(28,me=le.repeatPlaylist),"seekToInteractive"in le&&t(29,H=le.seekToInteractive),"toggleGraph"in le&&t(30,$=le.toggleGraph),"playPrevChapter"in le&&t(31,pe=le.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&l.ui.isMobile.set(R)},[l,s,a,c,f,h,v,k,y,M,z,I,F,ue,ae,R,te,X,G,A,V,J,L,ne,Te,Ve,Ae,Oe,me,H,$,pe,ot,ge,ee,Re,Ce,n,r,o,d,b,w,_,C,Pe,oe,Ke,Me,xe,Xe,at,St,vt,Yt,Pt,Tt]}class U_ extends ye{constructor(e){super(),ke(this,e,H_,F_,we,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},O_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function j_(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p(n,[l]){l&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&S(e)}}}function q_(i,e,t){let{isWhite:n=!1}=e,l;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,l=n?"#fff":"#909499")},[l,n]}class W_ extends ye{constructor(e){super(),ke(this,e,q_,j_,we,{isWhite:1})}}function Z_(i){Ze(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 C1(i){let e,t;return{c(){e=P("div"),t=De(i[0]),u(e,"class","title v-1y9fytq")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&1&&Je(t,n[0])},d(n){n&&S(e)}}}function S1(i){let e,t;return e=new W_({props:{isWhite:!!i[1]}}),{c(){W(e.$$.fragment)},m(n,l){U(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){j(e,n)}}}function K_(i){let e,t,n,l,r=i[0]&&C1(i),o=(!i[0]||!i[1])&&S1(i);return{c(){e=P("div"),r&&r.c(),t=O(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){T(s,e,a),r&&r.m(e,null),p(e,t),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=C1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=S1(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){g(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function G_(i,e,t){let{title:n}=e,{thumbUrl:l}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,l=r.thumbUrl)},[n,l]}class Y_ extends ye{constructor(e){super(),ke(this,e,G_,K_,we,{title:0,thumbUrl:1},Z_)}}class Q_{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(l){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function X_(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class J_ extends ye{constructor(e){super(),ke(this,e,null,X_,we,{})}}function x_(i){Ze(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 $_(i){let e,t,n,l,r,o,s;return n=new J_({}),{c(){e=P("div"),t=P("div"),W(n.$$.fragment),l=O(),r=P("span"),o=De(i[0]),u(t,"class","dummy-image v-1pbsod4"),B(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",i[2])},m(a,c){T(a,e,c),p(e,t),U(n,t,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&B(t,"desktop",!a[1]),(!s||c&1)&&Je(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&S(e),j(n)}}}function e6(i,e,t){let n,l;const r=kt(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(i,s,f=>t(5,n=f));const a=r.ui.isMobile;D(i,a,f=>t(1,l=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&Y("pip_dummy_title"))},[c,l,o,s,a,n]}class t6 extends ye{constructor(e){super(),ke(this,e,e6,$_,we,{},x_)}}const i6=460,n6=280;class Rf{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:qn.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:t}=ie.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}request(){var e,t;return fi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:i6,height:n6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new t6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return fi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return fi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function o6(i){return i instanceof Rf}class l6{static getLatestSupportedVersion(){const e=new wr,t=new Rf;if(t.isSupported())return t;if(e.isSupported())return e}}function P1(i,e){var t,n;const l=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(t=e[o])!==null&&t!==void 0?t:i[o])!==null&&n!==void 0?n:void 0;return r}const r6="Inner error. Unexpectedly root annotation container null reference exception",s6="Annotation with such name already exists",a6="Annotation with such name does not exist";class ir extends Error{constructor(e){super(e),this.name="AnnotationError"}}const u6="1",c6=100;class f6{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const t=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},c6);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new ir(r6);if(this.annotations.has(e))throw new ir(s6);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:u6,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new ir(a6);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>t||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Vr{init(e,t){return ie.assertNonNullable(e),ie.assertNonNullable(t),this.subscription=new ie.Subscription,this.subscription}}class d6 extends Vr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Le(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class m6 extends Vr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Le(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:l}=t,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=tt(a),f=()=>c&&tt(s);return n.add(s.subscribe(d=>{if(!c)return;const h=tt(l);tt(o)?this.state$.set(d):h!==null&&this.state$.set(!h||d)})),n.add(o.subscribe(d=>{this.state$.set(!d||f())})),n.add(l.subscribe(d=>{if(d===null)return;const h=tt(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!d)})),n}}class p6 extends Vr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Le("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const h6=()=>[d6,m6,p6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),v6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class g6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new Y_({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,t,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var l,r,o,s,a,c,f,d,h,b,v,w,_;if(!this.videoConfig)return;const{albumId:C,statPlace:k,statUserSalt:y,statAuthToken:M,statTrackCode:z,refreshStatAuthToken:I,preload:F,autoplay:ue,volume:ae,muted:R,fromTime:te,canRewindLive:X,supportLink:G,showAds:A,adsSlotId:V,adsParams:J={},adsPreviewParam:L,interfaceLanguage:ne,logoClickable:Te,logoHidden:Pe,isMobile:Ve,isAudioDisabled:Ae,isLiveCatchUpMode:Oe,fullScreenTarget:me,failoverHosts:H,canDownload:$,callbacks:pe,interactiveData:ce,showThumbTimer:Fe,additionalButtons:Re=[],repeat:Ne}=P1(this.videoConfig,t),{sources:Ie,title:ge,thumbUrl:ve,videoLogoUrl:ee,unitedVideoId:Ce,isClip:oe=!1,duration:be,adsParams:Ke={},videoEpisodes:Me,previewThumbsData:xe,subtitles:Xe,live:ot}=e,at=Object.assign(Object.assign({},J),Ke),St=this.getNextVideoInfo(),vt={sources:Ie,title:ge,thumbUrl:ve,subtitles:Xe,unitedVideoId:Ce,isClip:oe,live:ot,albumId:C,statPlace:k,autoplay:ue,muted:R,volume:ae,fromTime:te,canRewindLive:X,showAds:A,adsSlotId:V,adsParams:at,adsPreviewParam:L,duration:be,logoClickable:Te,logoHidden:Pe,isMobile:Ve,repeat:Ne,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:St.nextVideoTitle,endScreenVideoThumb:St.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Yt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(vt)}`});const Pt=this.uiConfig.features.statistics&&!!Ce,{pid:Tt}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};Pt&&(this.statistics=new tb(Object.assign({movieId:Ce,albumId:C,place:k,trackCode:z,autoplay:(o=ue&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Ve,clip:oe},Tt&&!this.isInited&&{projectId:Number(Tt)}),Object.assign({refreshAuthToken:I,userSalt:y,config:this.statisticsConfig},this.interactiveController&&{useIsid:!0,isid:this.prevIsid}))),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new cr(this.uiConfig.sentry,{version:_l,env:H0},{movieId:Ce,albumId:C,place:k,autoplay:(s=ue&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ve,clip:oe}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry=Object.assign(Object.assign({},this.sentry),cr.getInstance());const gt=!!ce,lt=[];let Ot="tooltip_interactive_go_back_disabled_first";if(gt&&this.interactiveController){const $e=this.interactiveController.state.isInitialChapter$.getValue(),Ue=this.interactiveController.getHistoryState();$e&&lt.push(dt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||lt.push(dt.SEEK_TO_INTERACTIVE_BUTTON),Ue.hasPrevChapter$.getValue()||(lt.push(dt.PLAY_PREV_CHAPTER_BUTTON),$e||(Ue.isGoBackLimited$.getValue()?Ot="tooltip_interactive_go_back_disabled_limit":Ot="tooltip_interactive_go_back_disabled"))}const ut=()=>{var $e;this.isInited=!1,this.prevIsid=void 0;const Ue=(n==null?void 0:n.info.isEnded$.getValue())&&(($e=this.interactiveController)===null||$e===void 0?void 0:$e.state.isEndChapter$.getValue());pe.onReplayInteractiveVideo&&!Ue?pe.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=ib({player:n,interfaceLanguage:ne,videoId:Ce,isClip:oe,isLiveCatchUpMode:Oe,isAudioDisabled:Ae,statAuthToken:M,callbacks:pe,webApi:Yt,videoEpisodes:Me,previewThumbsData:xe,canDownload:$,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:lt,isInteractive:gt,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:ut,playPrevChapterDisabledTooltip:Ot,hasInteractiveBranches:!!(!((b=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||b===void 0)&&b.length),additionalButtons:this.uiConfig.features.additionalButtons?Re:[],looped:Ne&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:At}=this.microStoresRoot=h6();this.subscription.add(this.store.state.currentFormat$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onCurrentFormatChanged)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(At.interactiveControlsOpacity$.subscribe($e=>{var Ue;$e!==null&&((Ue=this===null||this===void 0?void 0:this.interactiveController)===null||Ue===void 0||Ue.setDisabledControls($e))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onThroughputEstimationChanged)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onTrafficSavingEnabledChanged)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onCurrentPlaybackRateChanged)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(this.store.state.volume$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onVolumeChange)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(this.store.state.muted$.subscribe($e=>{var Ue,Et;return $e?(Ue=pe==null?void 0:pe.onMute)===null||Ue===void 0?void 0:Ue.call(pe):(Et=pe==null?void 0:pe.onUnmute)===null||Et===void 0?void 0:Et.call(pe)})),this.subscription.add(this.store.state.videoBitrate$.subscribe($e=>{var Ue;return(Ue=pe==null?void 0:pe.onVideoBitrateChanged)===null||Ue===void 0?void 0:Ue.call(pe,$e)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe($e=>{var Ue;const Et=(Ue=this.store)===null||Ue===void 0?void 0:Ue.ui.controls.disabledControls$;Et&&($e&&!Et.includes(dl)&&Et.add(dl),$e||Et.remove(dl))})),this.initMediaSession(),this.interactiveController&&Pt&&this.initInteractivesStatistics(),this.svelteRootComponent=new U_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ie,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ge,thumbUrl:ve,videoLogoUrl:ee,subtitles:Xe,live:ot,preload:F,autoplay:ue,muted:R,volume:ae,fromTime:te,canRewindLive:X,supportLink:G,showAds:A,adsSlotId:V,adsParams:at,adsPreviewParam:L,duration:be,logoClickable:Te,logoHidden:Pe,isMobile:Ve,failoverHosts:H,fullScreenTarget:me,showMiniTimer:Fe,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:St.nextVideoTitle,endScreenVideoThumb:St.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,(_=(w=(v=this.videoConfig)===null||v===void 0?void 0:v.callbacks)===null||w===void 0?void 0:w.onInited)===null||_===void 0||_.call(w))}addPlayerInfoSubscriptions(){var e;const t=this.store;if(!t)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==So.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveTimeIcon.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=tt(l),c=tt(r);tt(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Yr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Yr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,l;return fi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?tt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:b}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:b,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:v}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(_=>{if(!this.isInited)return;const C=this.store;_?C.ui.controls.disabledControls$.remove(dt.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(dt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(v.subscribe(_=>{this.store&&this.store.state.isInteractiveExpectation$.set(_)}));let w=!0;if(this.interactiveController.on(o.playerChanged,_=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},_.config),{title:(f==null?void 0:f.title)||_.config.title});const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(_.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:_,actionType:C})=>{var k,y,M,z;if(!this.store)return;const I=v.getValue();if(_==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(O1)),_==="action-choice-canceled"){const F=tt(this.store.state.isPlaying$)||I;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&F){this.store.ui.interactiveHideMobileControls.set(!0);return}(z=(y=this.videoConfig)===null||y===void 0?void 0:(M=y.callbacks).onDisabledInteractiveClick)===null||z===void 0||z.call(M)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const _=this.interactiveController.getHistoryState();this.subscription.add(_.history$.subscribe(C=>{var k,y,M;C.length&&((M=(y=(k=this.videoConfig)===null||k===void 0?void 0:k.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||M===void 0||M.call(y,C))}))}this.interactiveController.events.noInteraction$.subscribe(()=>{var _,C,k;(k=(_=this.videoConfig)===null||_===void 0?void 0:(C=_.callbacks).onInteractiveTimeIconClick)===null||k===void 0||k.call(C)}),this.interactiveController.on(o.errors,_=>{this.log({message:_.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,t;return fi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),o={[r.GO_NEXT_BUTTON]:wt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:wt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:wt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:wt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,l,r,o,s,a,c,f,d,h,b,v,w,_,C,k,y,M,z;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=P1(v6,ie.cloneDeepWith(e,I=>I instanceof HTMLElement?I:void 0)),this.uiConfig=V0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=t.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=t.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(M=this.videoConfig).autoplay&&(M.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(z=this.videoConfig).canRewindLive&&(z.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=l6.getLatestSupportedVersion():this.pictureInPictureApi=new wr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new Q_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new f6(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),o6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===ze.Video?this.setupMediaSessionForVideo():n===ze.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(dt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(ze.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(dt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,l;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return fi(this,void 0,void 0,function*(){yield(t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e)})}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const b6=()=>{window.customElements.define("vk-video-player",g6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return et.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return et.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=_l;exports.registerPlayerWebComponent=b6;
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function M_(i){let e,t,n;function l(o){i[56](o)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new __({props:r}),Se.push(()=>je(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function B_(i){let e,t,n;function l(o){i[55](o)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new L_({props:r}),Se.push(()=>je(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],qe(()=>t=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function N_(i){let e,t,n,l;const r=[B_,M_],o=[];function s(a,c){return a[15]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[t].d()}}}function R_(i,e,t){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:d}=e,{live:h}=e,{preload:_}=e,{autoplay:g}=e,{volume:w=void 0}=e,{muted:b=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:V=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:A=void 0}=e,{duration:z=void 0}=e,{logoClickable:se}=e,{logoHidden:re}=e,{isMobile:Z}=e,{showNextPrevButtons:Y=!1}=e,{nextButtonActive:O=!1}=e,{prevButtonActive:X=!1}=e,{endScreenVideoTitle:L=void 0}=e,{endScreenVideoThumb:B=void 0}=e,{isOneVideoPlaylist:te=!1}=e,{supportLink:P}=e,{outerContainerRef:ee=void 0}=e,{fullScreenTarget:Pe=void 0}=e,{failoverHosts:ye=void 0}=e,{showMiniTimer:Ie=!1}=e,{playNextVideo:Ne=ie.noop}=e,{playPrevVideo:_e=ie.noop}=e,{repeatPlaylist:Ce=ie.noop}=e,{seekToInteractive:q=ie.noop}=e,{toggleGraph:$=ie.noop}=e,{playPrevChapter:ce=ie.noop}=e;const{subscribers:ae,stores:We}=r;P0(o);const Oe=_n(),Ve=l.ui.debugPanelVisible,Ae=l.ui.playerSize;let ue,he=null,le=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),R0(l,We);const Le=(fe=!1)=>{t(34,le=!0),fe?l.actions.external.firstStart(y):l.actions.internal.firstStart(y)};function pe(fe){var $e;const gt=n||fe;gt&&l.initVideo({container:ue,sources:gt,failoverHosts:ye,subtitles:d});const at=ie.safeStorage.get(lr)==="true";Ve.set(at),C>0&&l.actions.external.seekTime(C);const Nt=Z?Oe.volumeDefault:($e=w!=null?w:F1())!=null?$e:Oe.volumeDefault,mt=b!=null?b:U0();if(l.actions.external.setVolume(Nt),l.actions.external.setMuted(mt),l.getAdmanWrapper().setInitialVolume(mt?0:Nt),Oe.features.trafficSaving){const Ze=j0();Ze&&l.actions.internal.setTrafficSavingEnabled(Ze)}const Pt=H0(l.videoId);Pt&&l.actions.internal.setQuality(Pt),l.ui.isAutoplay.set(g),g?Le():_&&Oe.features.preload&&l.actions.internal.preload()}const Te=fe=>{if(window.ResizeObserver){let gt,at;he=new ResizeObserver(ie.throttleFn(Nt=>{const mt=Nt[0];if(mt){if(mt.contentBoxSize){const Pt=Array.isArray(mt.contentBoxSize)?mt.contentBoxSize[0]:mt.contentBoxSize;gt=Pt.inlineSize,at=Pt.blockSize}else mt.contentRect&&(gt=mt.contentRect.width,at=mt.contentRect.height);Ae.set({width:gt,height:at})}},E1)),he.observe(fe)}Ae.set({width:fe.clientWidth,height:fe.clientHeight})};hn(()=>{Te(ue);const fe=ae.map(at=>at.init(l,We));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return pe(),()=>{he==null||he.disconnect(),fe.forEach(at=>at.unsubscribe()),l.destroy()}});function Ge(){le?l.actions.external.play():Le(!0)}function Re(){l.actions.external.pause()}function Je(fe){Z||l.actions.external.setMuted(fe)}function xe(fe){Z||fe>=0&&fe<=1&&l.actions.external.setVolume(fe)}function ut(fe){l.actions.internal.seekTime(fe,Ct.SeekAction.UNKNOWN)}function rt(fe){l.actions.external.seekEpisodeStartTime(fe)}function Tt(){l.actions.external.returnFocusToEpisodes()}function st(fe){l.actions.external.setPlaybackRate(fe)}function Xt(fe){l.actions.external.setAutoQualityLimits(fe)}function wt(fe){ue=fe,t(33,ue)}function ze(fe){ue=fe,t(33,ue)}return i.$$set=fe=>{"sources"in fe&&t(37,n=fe.sources),"store"in fe&&t(0,l=fe.store),"microStoresRoot"in fe&&t(38,r=fe.microStoresRoot),"uiConfig"in fe&&t(39,o=fe.uiConfig),"title"in fe&&t(1,s=fe.title),"thumbUrl"in fe&&t(2,a=fe.thumbUrl),"videoLogoUrl"in fe&&t(3,c=fe.videoLogoUrl),"interactiveContainer"in fe&&t(4,f=fe.interactiveContainer),"subtitles"in fe&&t(40,d=fe.subtitles),"live"in fe&&t(5,h=fe.live),"preload"in fe&&t(41,_=fe.preload),"autoplay"in fe&&t(6,g=fe.autoplay),"volume"in fe&&t(42,w=fe.volume),"muted"in fe&&t(43,b=fe.muted),"fromTime"in fe&&t(44,C=fe.fromTime),"canRewindLive"in fe&&t(7,k=fe.canRewindLive),"showAds"in fe&&t(8,y=fe.showAds),"adsSlotId"in fe&&t(9,V=fe.adsSlotId),"adsParams"in fe&&t(10,Q=fe.adsParams),"adsPreviewParam"in fe&&t(11,A=fe.adsPreviewParam),"duration"in fe&&t(12,z=fe.duration),"logoClickable"in fe&&t(13,se=fe.logoClickable),"logoHidden"in fe&&t(14,re=fe.logoHidden),"isMobile"in fe&&t(15,Z=fe.isMobile),"showNextPrevButtons"in fe&&t(16,Y=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(17,O=fe.nextButtonActive),"prevButtonActive"in fe&&t(18,X=fe.prevButtonActive),"endScreenVideoTitle"in fe&&t(19,L=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&t(20,B=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&t(21,te=fe.isOneVideoPlaylist),"supportLink"in fe&&t(22,P=fe.supportLink),"outerContainerRef"in fe&&t(23,ee=fe.outerContainerRef),"fullScreenTarget"in fe&&t(24,Pe=fe.fullScreenTarget),"failoverHosts"in fe&&t(45,ye=fe.failoverHosts),"showMiniTimer"in fe&&t(25,Ie=fe.showMiniTimer),"playNextVideo"in fe&&t(26,Ne=fe.playNextVideo),"playPrevVideo"in fe&&t(27,_e=fe.playPrevVideo),"repeatPlaylist"in fe&&t(28,Ce=fe.repeatPlaylist),"seekToInteractive"in fe&&t(29,q=fe.seekToInteractive),"toggleGraph"in fe&&t(30,$=fe.toggleGraph),"playPrevChapter"in fe&&t(31,ce=fe.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&l.ui.isMobile.set(Z)},[l,s,a,c,f,h,g,k,y,V,Q,A,z,se,re,Z,Y,O,X,L,B,te,P,ee,Pe,Ie,Ne,_e,Ce,q,$,ce,ut,ue,le,Oe,Le,n,r,o,d,_,w,b,C,ye,pe,Ge,Re,Je,xe,rt,Tt,st,Xt,wt,ze]}class O_ extends ke{constructor(e){super(),we(this,e,R_,N_,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},V_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function D_(i){let e,t;return{c(){e=N("svg"),t=N("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,l){T(n,e,l),p(e,t)},p(n,[l]){l&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&S(e)}}}function z_(i,e,t){let{isWhite:n=!1}=e,l;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,l=n?"#fff":"#909499")},[l,n]}class F_ extends ke{constructor(e){super(),we(this,e,z_,D_,be,{isWhite:1})}}function H_(i){Ke(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 v1(i){let e,t;return{c(){e=E("div"),t=He(i[0]),u(e,"class","title v-1y9fytq")},m(n,l){T(n,e,l),p(e,t)},p(n,l){l&1&&it(t,n[0])},d(n){n&&S(e)}}}function g1(i){let e,t;return e=new F_({props:{isWhite:!!i[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function U_(i){let e,t,n,l,r=i[0]&&v1(i),o=(!i[0]||!i[1])&&g1(i);return{c(){e=E("div"),r&&r.c(),t=R(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){T(s,e,a),r&&r.m(e,null),p(e,t),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=v1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=g1(s),o.c(),m(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){v(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function q_(i,e,t){let{title:n}=e,{thumbUrl:l}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,l=r.thumbUrl)},[n,l]}class j_ extends ke{constructor(e){super(),we(this,e,q_,U_,be,{title:0,thumbUrl:1},H_)}}class W_{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(l){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function Z_(i){let e,t,n,l;return{c(){e=N("svg"),t=N("g"),n=N("path"),l=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){T(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class K_ extends ke{constructor(e){super(),we(this,e,null,Z_,be,{})}}function G_(i){Ke(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 Y_(i){let e,t,n,l,r,o,s;return n=new K_({}),{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=R(),r=E("span"),o=He(i[0]),u(t,"class","dummy-image v-1pbsod4"),M(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",i[2])},m(a,c){T(a,e,c),p(e,t),F(n,t,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&M(t,"desktop",!a[1]),(!s||c&1)&&it(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&S(e),H(n)}}}function Q_(i,e,t){let n,l;const r=St(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(i,s,f=>t(5,n=f));const a=r.ui.isMobile;D(i,a,f=>t(1,l=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&G("pip_dummy_title"))},[c,l,o,s,a,n]}class X_ extends ke{constructor(e){super(),we(this,e,Q_,Y_,be,{},G_)}}const J_=460,x_=280;class Af{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:Fn.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:t}=ie.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}request(){var e,t;return mi(this,void 0,void 0,function*(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=yield documentPictureInPicture.requestWindow({width:J_,height:x_,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new X_({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})})}remove(){return mi(this,void 0,void 0,function*(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})})}dispose(){return mi(this,void 0,void 0,function*(){yield this.remove()})}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function $_(i){return i instanceof Af}class e6{static getLatestSupportedVersion(){const e=new _r,t=new Af;if(t.isSupported())return t;if(e.isSupported())return e}}function b1(i,e){var t,n;const l=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(t=e[o])!==null&&t!==void 0?t:i[o])!==null&&n!==void 0?n:void 0;return r}const t6="Inner error. Unexpectedly root annotation container null reference exception",i6="Annotation with such name already exists",n6="Annotation with such name does not exist";class tr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const o6="1",l6=100;class r6{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const t=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},l6);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new tr(t6);if(this.annotations.has(e))throw new tr(i6);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:o6,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new tr(n6);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>t||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Lr{init(e,t){return ie.assertNonNullable(e),ie.assertNonNullable(t),this.subscription=new ie.Subscription,this.subscription}}class s6 extends Lr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$=Object.assign(Object.assign({},Me(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class a6 extends Lr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$=Object.assign(Object.assign({},Me(null)),{toggle:()=>this.state$.update(e=>!e)})}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:l}=t,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=et(a),f=()=>c&&et(s);return n.add(s.subscribe(d=>{if(!c)return;const h=et(l);et(o)?this.state$.set(d):h!==null&&this.state$.set(!h||d)})),n.add(o.subscribe(d=>{this.state$.set(!d||f())})),n.add(l.subscribe(d=>{if(d===null)return;const h=et(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!d)})),n}}class u6 extends Lr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Me("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const c6=()=>[s6,a6,u6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:Object.assign(Object.assign({},e),{[n.stateName]:n.state$})}},{subscribers:[],stores:{}}),f6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class d6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new j_({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,t,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var l,r,o,s,a,c,f,d,h,_,g,w,b;if(!this.videoConfig)return;const{albumId:C,statPlace:k,statUserSalt:y,statAuthToken:V,statTrackCode:Q,refreshStatAuthToken:A,preload:z,autoplay:se,volume:re,muted:Z,fromTime:Y,canRewindLive:O,supportLink:X,showAds:L,adsSlotId:B,adsParams:te={},adsPreviewParam:P,interfaceLanguage:ee,logoClickable:Pe,logoHidden:ye,isMobile:Ie,isAudioDisabled:Ne,isLiveCatchUpMode:_e,fullScreenTarget:Ce,failoverHosts:q,canDownload:$,callbacks:ce,interactiveData:ae,showThumbTimer:We,additionalButtons:Oe=[],repeat:Ve}=b1(this.videoConfig,t),{sources:Ae,title:ue,thumbUrl:he,videoLogoUrl:le,unitedVideoId:Le,isClip:pe=!1,duration:Te,adsParams:Ge={},videoEpisodes:Re,previewThumbsData:Je,subtitles:xe,live:ut}=e,rt=Object.assign(Object.assign({},te),Ge),Tt=this.getNextVideoInfo(),st={sources:Ae,title:ue,thumbUrl:he,subtitles:xe,unitedVideoId:Le,isClip:pe,live:ut,albumId:C,statPlace:k,autoplay:se,muted:Z,volume:re,fromTime:Y,canRewindLive:O,showAds:L,adsSlotId:B,adsParams:rt,adsPreviewParam:P,duration:Te,logoClickable:Pe,logoHidden:ye,isMobile:Ie,repeat:Ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Tt.nextVideoTitle,endScreenVideoThumb:Tt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Xt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(st)}`});const wt=this.uiConfig.features.statistics&&!!Le,{pid:ze}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};wt&&(this.statistics=new Q5(Object.assign({movieId:Le,albumId:C,place:k,trackCode:Q,autoplay:(o=se&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Ie,clip:pe,refDomain:this.videoConfig.refDomain},ze&&!this.isInited&&{projectId:Number(ze)}),Object.assign({refreshAuthToken:A,userSalt:y,config:this.statisticsConfig},this.interactiveController&&{useIsid:!0,isid:this.prevIsid}))),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new ur(this.uiConfig.sentry,{version:wl,env:N0},{movieId:Le,albumId:C,place:k,autoplay:(s=se&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ie,clip:pe}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry=Object.assign(Object.assign({},this.sentry),ur.getInstance());const gt=!!ae,at=[];let Nt="tooltip_interactive_go_back_disabled_first";if(gt&&this.interactiveController){const $e=this.interactiveController.state.isInitialChapter$.getValue(),Ze=this.interactiveController.getHistoryState();$e&&at.push(dt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||at.push(dt.SEEK_TO_INTERACTIVE_BUTTON),Ze.hasPrevChapter$.getValue()||(at.push(dt.PLAY_PREV_CHAPTER_BUTTON),$e||(Ze.isGoBackLimited$.getValue()?Nt="tooltip_interactive_go_back_disabled_limit":Nt="tooltip_interactive_go_back_disabled"))}const mt=()=>{var $e;this.isInited=!1,this.prevIsid=void 0;const Ze=(n==null?void 0:n.info.isEnded$.getValue())&&(($e=this.interactiveController)===null||$e===void 0?void 0:$e.state.isEndChapter$.getValue());ce.onReplayInteractiveVideo&&!Ze?ce.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=X5({player:n,interfaceLanguage:ee,videoId:Le,isClip:pe,isLiveCatchUpMode:_e,isAudioDisabled:Ne,statAuthToken:V,callbacks:ce,webApi:Xt,videoEpisodes:Re,previewThumbsData:Je,canDownload:$,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:at,isInteractive:gt,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:mt,playPrevChapterDisabledTooltip:Nt,hasInteractiveBranches:!!(!((_=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||_===void 0)&&_.length),additionalButtons:this.uiConfig.features.additionalButtons?Oe:[],looped:Ve&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:Pt}=this.microStoresRoot=c6();this.subscription.add(this.store.state.currentFormat$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onCurrentFormatChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(Pt.interactiveControlsOpacity$.subscribe($e=>{var Ze;$e!==null&&((Ze=this===null||this===void 0?void 0:this.interactiveController)===null||Ze===void 0||Ze.setDisabledControls($e))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onThroughputEstimationChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onTrafficSavingEnabledChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onCurrentPlaybackRateChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.volume$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onVolumeChange)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.muted$.subscribe($e=>{var Ze,kt;return $e?(Ze=ce==null?void 0:ce.onMute)===null||Ze===void 0?void 0:Ze.call(ce):(kt=ce==null?void 0:ce.onUnmute)===null||kt===void 0?void 0:kt.call(ce)})),this.subscription.add(this.store.state.videoBitrate$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onVideoBitrateChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe($e=>{var Ze;const kt=(Ze=this.store)===null||Ze===void 0?void 0:Ze.ui.controls.disabledControls$;kt&&($e&&!kt.includes(hl)&&kt.add(hl),$e||kt.remove(hl))})),this.initMediaSession(),this.interactiveController&&wt&&this.initInteractivesStatistics(),this.svelteRootComponent=new O_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ae,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ue,thumbUrl:he,videoLogoUrl:le,subtitles:xe,live:ut,preload:z,autoplay:se,muted:Z,volume:re,fromTime:Y,canRewindLive:O,supportLink:X,showAds:L,adsSlotId:B,adsParams:rt,adsPreviewParam:P,duration:Te,logoClickable:Pe,logoHidden:ye,isMobile:Ie,failoverHosts:q,fullScreenTarget:Ce,showMiniTimer:We,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Tt.nextVideoTitle,endScreenVideoThumb:Tt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(w=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||w===void 0?void 0:w.onInited)===null||b===void 0||b.call(w))}addPlayerInfoSubscriptions(){var e;const t=this.store;if(!t)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==Po.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveTimeIndicator.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=et(l),c=et(r);et(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Zr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Zr),!a&&this.graphMadePause&&this.pause())}initInteractives(){var e,t,n,l;return mi(this,void 0,void 0,function*(){if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?et(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:_}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:_,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),yield this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:g}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const C=this.store;b?C.ui.controls.disabledControls$.remove(dt.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(dt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(g.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let w=!0;if(this.interactiveController.on(o.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]=Object.assign(Object.assign({},b.config),{title:(f==null?void 0:f.title)||b.config.title});const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:b,actionType:C})=>{var k,y,V,Q;if(!this.store)return;const A=g.getValue();if(b==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(L1)),b==="action-choice-canceled"){const z=et(this.store.state.isPlaying$)||A;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&z){this.store.ui.interactiveHideMobileControls.set(!0);return}(Q=(y=this.videoConfig)===null||y===void 0?void 0:(V=y.callbacks).onDisabledInteractiveClick)===null||Q===void 0||Q.call(V)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(C=>{var k,y,V;C.length&&((V=(y=(k=this.videoConfig)===null||k===void 0?void 0:k.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||V===void 0||V.call(y,C))}))}this.uiConfig.features.interactiveTimeIndicator&&this.subscription.add(this.interactiveController.events.noInteraction$.subscribe(()=>{var b,C,k,y;(b=this.store)===null||b===void 0||b.state.showInteractiveTimeIndicatorTooltip$.set(!0),(y=(C=this.videoConfig)===null||C===void 0?void 0:(k=C.callbacks).onInteractiveTimeIndicatorClick)===null||y===void 0||y.call(k)})),this.interactiveController.on(o.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}})}initInteractivesStatistics(){var e,t;return mi(this,void 0,void 0,function*(){const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=yield import("@vkontakte/videoplayer-interactive/es2015.cjs.js"),o={[r.GO_NEXT_BUTTON]:Ct.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:Ct.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:Ct.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:Ct.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:Ct.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}})}initPlayer(e,t={}){var n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=b1(f6,ie.cloneDeepWith(e,A=>A instanceof HTMLElement?A:void 0)),this.uiConfig=T0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=t.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=t.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(V=this.videoConfig).autoplay&&(V.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((b=this.uiConfig.showLogo)!==null&&b!==void 0?b:!this.videoConfig.logoHidden),(Q=this.videoConfig).canRewindLive&&(Q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=e6.getLatestSupportedVersion():this.pictureInPictureApi=new _r),this.mediaSessionApi=this.uiConfig.features.mediaSession?new W_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new r6(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),$_(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===De.Video?this.setupMediaSessionForVideo():n===De.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}=Object.assign({},this.videoConfig.videos[this.currentPlayingVideoIndex]),n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(dt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(dt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,l;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}setLanguage(e){var t;return mi(this,void 0,void 0,function*(){yield(t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e)})}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const m6=()=>{window.customElements.define("vk-video-player",d6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return tt.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return tt.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=wl;exports.registerPlayerWebComponent=m6;