(function(g){var window=this;/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
/*
 SPDX-License-Identifier: Apache-2.0
*/
'use strict';var kjb=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.bR(a)},ljb=function(a){g.Zo(a);
for(var b=0;b<a.pg.length;b++){var c=a.pg[b],d=a.Zy[b];if(d!==c.version)return!0;if(!g.Xo(c)||c.Vm)if(c.Vm||c.H_!==g.bp)(c.Y1(c)||ljb(c))&&c.Z1(c),c.Vm=!1,c.H_=g.bp;if(d!==c.version)return!0}return!1},y4=function(a){var b=g.Vo(a);
a={};return a[Symbol.dispose]=function(){g.Vo(b)},a},mjb=function(){var a=Object.assign({},g.wcb);
Object.getOwnPropertyNames(g.wcb).forEach(function(b){g.ep[b]!==void 0&&(a[b]=g.ep[b])});
return a},njb=function(){return{J:"svg",
Y:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},X:[{J:"path",Gc:!0,S:"ytp-svg-fill",Y:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}},
ojb=function(){return{J:"svg",
Y:{fill:"none",height:"100%",viewBox:"0 0 143 51",width:"100%"},X:[{J:"path",Y:{d:"M58.37 41.39H62.79V27.23C62.79 23.03 62.69 18.69 62.43 13.59H62.93L63.69 16.89L68.67 41.39H73.17L78.07 16.89L78.89 13.59H79.37C79.15 18.45 79.03 22.89 79.03 27.23V41.39H83.45V8.79H75.95L73.41 20.81C72.35 25.85 71.51 32.01 71.01 35.19H70.73C70.33 31.95 69.49 25.81 68.41 20.85L65.81 8.79H58.37V41.39Z",fill:"white"}},{J:"path",Y:{d:"M91.45 41.73C93.91 41.73 95.83 40.59 97.17 38.13H97.35L97.69 41.39H101.43V17.73H96.47V36.61C95.91 37.67 94.81 38.29 93.73 38.29C92.33 38.29 91.89 37.17 91.89 35.13V17.73H86.93V35.43C86.93 39.49 88.19 41.73 91.45 41.73Z",
fill:"white"}},{J:"path",Y:{d:"M110.79 41.89C115.15 41.89 117.75 39.83 117.75 35.65C117.75 31.79 115.93 30.39 111.85 27.47C109.67 25.91 108.39 25.09 108.39 22.95C108.39 21.47 109.27 20.61 110.89 20.61C112.69 20.61 113.33 21.81 113.33 25.29L117.45 25.07C117.77 19.57 115.71 17.23 110.97 17.23C106.57 17.23 104.17 19.27 104.17 23.45C104.17 27.25 105.97 28.83 108.93 31.03C111.89 33.23 113.55 34.53 113.55 36.23C113.55 37.75 112.51 38.61 111.01 38.61C109.13 38.61 108.11 36.97 108.29 34.41L104.21 34.49C103.51 39.25 105.89 41.89 110.79 41.89Z",
fill:"white"}},{J:"path",Y:{d:"M122.5 14.59C124.22 14.59 125.04 13.99 125.04 11.59C125.04 9.33 124.16 8.65 122.5 8.65C120.84 8.65 119.94 9.27 119.94 11.59C119.94 13.99 120.82 14.59 122.5 14.59ZM120.2 41.39H125V17.73H120.2V41.39Z",fill:"white"}},{J:"path",Y:{d:"M134.95 41.79C137.31 41.79 138.63 41.49 139.71 40.47C141.31 39.01 141.97 36.63 141.85 33.11L137.41 32.87C137.41 36.87 136.81 38.45 135.03 38.45C133.13 38.45 132.77 36.45 132.77 31.97V27.21C132.77 22.41 133.23 20.51 135.07 20.51C136.67 20.51 137.29 22.01 137.29 26.47L141.65 26.15C141.97 22.93 141.59 20.29 140.09 18.83C139.01 17.77 137.37 17.29 135.15 17.29C129.65 17.29 127.75 20.73 127.75 28.03V31.17C127.75 38.47 129.23 41.79 134.95 41.79Z",
fill:"white"}},{J:"path",Y:{"clip-rule":"evenodd",d:"M24.99 49C29.74 49.00 34.38 47.59 38.32 44.95C42.27 42.32 45.35 38.57 47.17 34.18C48.98 29.80 49.46 24.97 48.53 20.32C47.61 15.66 45.32 11.38 41.97 8.03C38.61 4.67 34.33 2.38 29.68 1.46C25.02 .53 20.20 1.01 15.81 2.82C11.43 4.64 7.68 7.71 5.04 11.66C2.40 15.61 1 20.25 1 25C0.99 28.15 1.61 31.27 2.82 34.18C4.03 37.09 5.79 39.74 8.02 41.97C10.25 44.19 12.89 45.96 15.81 47.17C18.72 48.37 21.84 49 24.99 49ZM24.99 12.36C27.49 12.36 29.94 13.10 32.02 14.48C34.10 15.87 35.72 17.84 36.68 20.15C37.64 22.46 37.89 25.01 37.41 27.46C36.92 29.91 35.72 32.17 33.95 33.94C32.18 35.70 29.93 36.91 27.48 37.40C25.02 37.89 22.48 37.64 20.17 36.68C17.86 35.72 15.88 34.10 14.50 32.02C13.11 29.94 12.37 27.50 12.37 25C12.37 21.65 13.70 18.44 16.07 16.07C18.43 13.70 21.64 12.37 24.99 12.36ZM24.99 10.43C22.11 10.43 19.29 11.28 16.89 12.88C14.50 14.48 12.63 16.76 11.53 19.42C10.42 22.09 10.13 25.02 10.70 27.85C11.26 30.67 12.65 33.27 14.69 35.31C16.73 37.35 19.32 38.73 22.15 39.30C24.98 39.86 27.91 39.57 30.57 38.46C33.23 37.36 35.51 35.49 37.11 33.09C38.71 30.70 39.57 27.88 39.56 25C39.56 23.08 39.19 21.19 38.46 19.42C37.72 17.65 36.65 16.04 35.30 14.69C33.94 13.34 32.34 12.27 30.57 11.53C28.80 10.80 26.90 10.43 24.99 10.43ZM32.63 24.99L20.36 32.09V17.91L32.63 24.99Z",
fill:"white","fill-rule":"evenodd"}}]}},A4=function(a){var b=z4;
z4=a;a={};return a[Symbol.dispose]=function(){z4=b},a},pjb=function(a,b){a.kF||(a.kF=[]);
a.kF.push(b)},rjb=function(a){var b=z4;
b&&!b.Ja&&(pjb(b,function(){return void qjb(a)}),a.parent=b)},tjb=function(a){if(a.kF){var b={stack:[],
error:void 0,hasError:!1};try{var c;g.cb(b,(c=sjb)==null?void 0:c());for(var d=g.x(a.kF),e=d.next();!e.done;e=d.next()){var f=e.value;f()}a.kF.length=0}catch(h){b.error=h,b.hasError=!0}finally{g.eb(b)}}},qjb=function(a){if(!a.Ja){a.Ja=!0;
var b;(b=a[Symbol.dispose])==null||b.call(a);delete a.parent;tjb(a)}},vjb=function(){var a;
var b=(a=ujb)!=null?a:ujb=g.dp(!0);return y4(b)},xjb=function(a){wjb.add(a);
for(var b=g.x(a),c=b.next();!c.done;c=b.next()){var d=c.value;for(c=[d];d.parent!==void 0;)d=d.parent,a.has(d)&&c.push(d);for(;c.length>0;){d=c.pop();try{d.run()}finally{a.delete(d)}}}wjb.delete(a)},zjb=function(){var a;
g.I(function(b){if(b.j==1)return a=yjb,yjb=new Set,g.G(b,Promise.resolve(),2);xjb(a);g.va(b)})},Ajb=function(){return Array.from(wjb).map(function(a){return Array.from(a)})},Bjb=function(a){var b=a.component;
var c=a.debugInstance;a=a.xx;var d,e=(d=b.au)!=null?d:b.name;B4.push({name:c?e+" ("+c+")":e,GR:b.componentType!==C4});b=a();B4.pop();return b},D4=function(){var a=B4[B4.length-1];
return a?a.GR||!1:!1},E4=function(a,b){b=b===void 0?{}:b;
var c=B4.length;b.stack&&(B4=[].concat(g.z(b.stack)));try{return a()}catch(d){throw a=d,Cjb(a),a!==Djb&&(Ejb=B4.slice()),Djb=a,a;}finally{c=B4.length-c,c>0&&B4.splice(-c)}},Cjb=function(a){var b=B4;
if(b.length!==0&&!a.VE){var c=b.slice(-20).reverse().map(function(d){return d.name}).join(" > ");
c=a.message+"\n\nComponent stack: "+c;try{a.VE=b.slice(),g.ep.Z8&&(a.stack&&(a.stack=a.stack.replace(a.message,c)),a.message=c)}catch(d){}}},Fjb=function(){g.Zo(this);
if(g.Xo(this))for(var a=0;a<this.pg.length;a++)g.Yo(this.pg[a],this.Hn[a]);this.pg.length=this.Zy.length=this.Hn.length=0;this.qj&&(this.qj.length=this.Wu.length=0);F4.delete(this);yjb.delete(this);qjb(this)},H4=function(a,b,c){var d,e;
var f={VE:(e=(d=Ejb)==null?void 0:d.slice())!=null?e:[],JA:c===void 0?3:c,toa:mjb(),Aqa:Ajb(),pqa:z4,Bqa:[].concat(g.z(Gjb.slice(G4)),g.z(Gjb.slice(0,G4))),tagName:b};return[a,f]},Hjb=function(a){sjb=vjb;
var b=z4;if(b){var c=B4.slice();pjb(b,function(){return void E4(function(){return void a()},{stack:c})})}},I4=function(a){var b=g.ep.a8||!!z4,c={};
(b===void 0||b)&&rjb(c);b={stack:[],error:void 0,hasError:!1};try{g.cb(b,A4(c)),a(c)}catch(d){b.error=d,b.hasError=!0}finally{g.eb(b)}return function(){return void qjb(c)}},Kjb=function(a,b){Ijb++;
var c=Object.create(Jjb);c.VE=B4.slice();c.KT=a;b&&(c.au=b);rjb(c);if((a=g.Uo)&&a.isAsync){var d;(d=g.ep.handleError)==null||d.call.apply(d,[g.ep].concat(g.z(H4(Error("Sync reactions can not be called inside a reaction call.")))))}c.run()},Ljb=function(a){var b={stack:[],
error:void 0,hasError:!1};try{return g.cb(b,y4(null)),a()}catch(c){b.error=c,b.hasError=!0}finally{g.eb(b)}},Ojb=function(a,b,c){if(Object.hasOwnProperty.call(Mjb,a)&&(a=Mjb[a],Object.hasOwnProperty.call(a,b)&&(a=a[b],a instanceof Array))){for(var d=null,e=!1,f=0,h=a.length;f<h;++f){var l=a[f],m=l.Ni;
if(!m)return l.Ad;d===null&&(d={});m=Object.hasOwnProperty.call(d,m)?d[m]:d[m]=c(m);if(m===l.Xi)return l.Ad;m==null&&(e=!0)}if(e)return null}b=Njb[b];return typeof b==="number"?b:null},Qjb=function(a,b){b=Ojb(a.toLowerCase(),b,function(){var d;
(d=g.ep.handleError)==null||d.call.apply(d,[g.ep].concat(g.z(H4(Error("Contingent attribute/property lookups are not supported."),a.toLowerCase()))))});
if(b===null)return null;var c;return(c=Pjb[b])!=null?c:null},Rjb=function(a,b,c){if(c===null||c===void 0)return c;
a=Qjb(a,b);return a===null?c:a(b,c)},Tjb=function(a){function b(d,e,f){g.Ll(d,Sjb);
for(var h=Math.min(e.length-f,d.length),l=0;l<h;l++)if(d[l]!==Sjb(e[f+l]))return!1;return!0}
a=String(a);for(var c=0;(c=a.indexOf("<",c))!=-1;){if(b("\x3c/script",a,c)||b("\x3c!--",a,c))return"zSoyz";c+=1}return a},Sjb=function(a){return"A"<=a&&a<="Z"?a.toLowerCase():a},Ujb=function(){},J4=function(a,b){for(;a.length>b;)a.pop()},Vjb=function(a){a=Array(a);
J4(a,0);return a},Wjb=function(a,b,c){if(c==null)a.removeAttribute(b);
else{var d=b.lastIndexOf("xml:",0)===0?"http://www.w3.org/XML/1998/namespace":b.lastIndexOf("xlink:",0)===0?"http://www.w3.org/1999/xlink":null;d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}},Yjb=function(a,b,c){a=a.style;
if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(Xjb.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}},Zjb=function(a,b,c){var d=typeof c;
d==="object"||d==="function"?a[b]=c:Wjb(a,b,c)},$jb=function(){var a=new Ujb;
a.__default=Zjb;a.style=Yjb;return a},akb=function(a,b,c,d){(d[b]||d.__default)(a,b,c)},bkb=function(a){this.created=[];
this.j=[];this.node=a},ckb=function(a,b){this.j=null;
this.B=a;this.key=b;this.text=void 0},dkb=function(a,b,c){b=new ckb(b,c);
return a.__incrementalDOMData=b},K4=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;
var c=a.nodeType===1?a.localName:a.nodeName,d=a.nodeType===1?a.getAttribute("key"):null;b=dkb(a,c,a.nodeType===1?d||b:null);if(a.nodeType===1&&(a=a.attributes,c=a.length)){d=b.j||(b.j=Vjb(c*2));for(var e=0,f=0;e<c;e+=1,f+=2){var h=a[e],l=h.value;d[f]=h.name;d[f+1]=l}}return b},ekb=function(a,b,c,d,e){return b==c&&d==e},O4=function(a){for(var b=L4,c=M4();c!==a;){var d=c.nextSibling;
b.removeChild(c);N4.j.push(c);c=d}},M4=function(){return P4?P4.nextSibling:L4.firstChild},fkb=function(a,b){P4=M4();
var c;a:{if(c=P4){do{var d=c,e=a,f=b,h=K4(d,f);if(Q4(d,e,h.B,f,h.key))break a}while(b&&(c=c.nextSibling))}c=null}c||(a==="#text"?(a=R4.createTextNode(""),dkb(a,"#text",null)):(c=R4,d=L4,typeof a==="function"?c=new a:c=(d=a==="svg"?"http://www.w3.org/2000/svg":a==="math"?"http://www.w3.org/1998/Math/MathML":d==null||K4(d).B==="foreignObject"?null:d.namespaceURI)?c.createElementNS(d,a):c.createElement(a),dkb(c,a,b),a=c),N4.created.push(a),c=a);a=c;if(a!==P4){if(S4.indexOf(a)>=0)for(b=L4,c=a.nextSibling,
d=P4;d!==null&&d!==a;)e=d.nextSibling,b.insertBefore(d,c),d=e;else L4.insertBefore(a,P4);P4=a}},gkb=function(a,b){fkb(a,b);
L4=P4;P4=null;return L4},ikb=function(a,b){b=b===void 0?{}:b;
var c=b.matches===void 0?ekb:b.matches;return function(d,e,f){var h=N4,l=R4,m=S4,n=T4,p=P4,q=L4,r=Q4;R4=d.ownerDocument;N4=new bkb(d);Q4=c;T4=[];P4=null;var t=L4=d.parentNode,u,y=hkb.call(d);if((u=y.nodeType===11||y.nodeType===9?y.activeElement:null)&&d.contains(u)){for(y=[];u!==t;)y.push(u),u=u.parentNode||(t?u.host:null);t=y}else t=[];S4=t;try{return a(d,e,f)}finally{d=N4,U4&&d.j.length>0&&U4(d.j),R4=l,N4=h,Q4=r,T4=n,P4=p,L4=q,S4=m}}},jkb=function(a,b,c,d){V4.push(akb);
V4.push(a);V4.push(b);V4.push(c);V4.push(d)},kkb=function(a){fkb("#text",null);
var b=P4;var c=K4(b);if(c.text!==a){c=c.text=a;for(var d=1;d<arguments.length;d+=1)c=(0,arguments[d])(c);b.data!==c&&(b.data=c)}},W4=function(a,b,c){if(c===!1&&lkb.has(b))Wjb(a,b,null);
else if(b!=="idomKey"&&b!=="skip"&&b!=="skipchildren"&&b!=="children"&&b!=="el"){if(b.startsWith("on"))if(b[2]===":"){if(c===void 0||c===null){var d;(d=g.ep.handleError)==null||d.call.apply(d,[g.ep].concat(g.z(H4(Error("The "+b+" attribute was set to undefined or null. This is not supported and may lead to unexpected behavior if an event handler is being conditionally set."),a.tagName))));a[b]=void 0;return}if(typeof c!=="object"||c===null)throw Error("Expected "+b+" to be an EventHandler but its type was: "+
(typeof c+". Event handlers must be created using useHandler."));if(typeof c.hZ!=="function")throw Error("Expected the event handler for "+b+" to have a 'getFn' property but its keys were: "+(Object.keys(c)+". Event handlers must be created using useHandler."));var e=c.hZ(0),f=b.slice(3);if((d=D4())&&a["on"+f]===void 0)a.addEventListener(f,e),Hjb(function(){return void a.removeEventListener(f,e)});
else if(d||!mkb.includes(f))a["on"+f]=e}else{nkb(a,b,c);return}else if(b.startsWith("data-")&&typeof c==="string")try{c=Tjb(c)}catch(h){c="zSoyz"}typeof c!=="function"||a._disposeEffects!=null?(g.ep.Y8&&(c=Rjb(a.tagName,b,c)),b==="style"?okb(a,b,c):b.startsWith("prop:")?a[b.slice(5)]=c:nkb(a,b,c)):(a._signalProps||(a._signalProps=[]),a._signalValues||(a._signalValues=[]),a._signalProps.push(b))}},pkb=function(a,b,c){c=(c===void 0?{}:c).GR;
if(b==null?0:b.el){var d=b.el;if(typeof d==="function")d(a);else{var e;(e=d.Pca)==null||e.call(d,a);a._disposeRef||(a._disposeRef=function(){var f;(f=d.Gda)==null||f.call(d);delete a._disposeRef},c&&Hjb(function(){var f;
return void((f=a._disposeRef)==null?void 0:f.call(a))}))}}},Y4=function(a,b){var c=g.Da.apply(2,arguments),d;
b=(d=b)!=null?d:{};d={};return d.type=a,d.props=b,d.children=c,d[X4]=!0,d},qkb=function(a){return a.children},rkb=function(){var a=!1;
Z4!==$4&&(Z4=$4,a=!0);var b={};return b[Symbol.dispose]=function(){a&&(Z4=Y4)},b},skb=function(){var a=!1;
Z4!==Y4&&(Z4=Y4,a=!0);var b={};return b[Symbol.dispose]=function(){a&&(Z4=$4)},b},tkb=function(a){return"("+typeof a+") "+(a!=null&&typeof a==="object"?a.constructor.name:typeof a)+" "+a},a5=function(){return document.createTextNode("")},b5=function(a){a=document.createTextNode(String(a));
a._isSignalTextNode=!0;return a},c5=function(a){a=typeof a;
return a==="string"||a==="number"||a==="boolean"},d5=function(a){return a instanceof g.Jf||g.Nf(a)||typeof a==="string"||!1},e5=function(a,b){a.parentElement&&a.parentElement.replaceChild(b,a);
return b},f5=function(a,b){var c=a[0].parentElement;
if(c)if(a[0].previousSibling||a[a.length-1].nextSibling){c.insertBefore(b,a[0]);for(var d=a.length-1;d>=0;d--)c.removeChild(a[d])}else c.textContent="",c.appendChild(b);return b},ukb=function(a,b){if(a[0].parentElement)for(var c=a[0].parentElement,d=b.length,e=a.length,f=d,h=0,l=0,m=a[e-1].nextSibling,n=null;h<e||l<f;)if(a[h]===b[l])h++,l++;
else{for(;a[e-1]===b[f-1];)e--,f--;if(e===h)for(var p=f<d?l?b[l-1].nextSibling:b[f-l]:m;l<f;)c.insertBefore(b[l++],p);else if(f===l)for(;h<e;)p=a[h],n&&n.has(p)||c.removeChild(p),h++;else if(a[h]===b[f-1]&&b[l]===a[e-1])p=a[--e].nextSibling,c.insertBefore(b[l++],a[h++].nextSibling),c.insertBefore(b[--f],p),a[e]=b[f];else{if(!n)for(n=new Map,p=l;p<f;)n.set(b[p],p++);p=n.get(a[h]);if(p==null)c.removeChild(a[h]),h++;else if(l<p&&p<f){for(var q=h,r=1,t=void 0;++q<e&&q<f&&(t=n.get(a[q]))!=null&&t===p+
r;)r++;if(r>p-l)for(q=a[h];l<p;)c.insertBefore(b[l++],q);else c.replaceChild(b[l++],a[h++])}else h++}}return b},g5=function(a){return g.Ta(a)?"nodeType"in a:!1},ykb=function(a){var b=vkb();
Kjb(function(){var c=b[0],d=b.Xm;a:{var e={stack:[],error:void 0,hasError:!1};try{g.cb(e,rkb());var f=a();break a}catch(l){e.error=l,e.hasError=!0}finally{g.eb(e)}f=void 0}c=wkb(c,f,b);Array.isArray(c)||(b.Xm=[c]);f=b.Xm;if(d&&(!Array.isArray(d)||d.length!==0)){d=Array.isArray(d)?d[0]:d;e=d[h5];var h=d._disposeEffects;d._disposeEffects=void 0;d=Array.isArray(f)?f[0]:f;d[h5]=e;d[h5]&&(d[h5].F0=d===f?1:f.length);d._disposeEffects=h}b[0]=c;for(d=0;d<xkb.length;){c=xkb[d];if(!c)throw Error("Error executing syncOnInit function.");
try{c()}catch(l){}d++}xkb.length=0},"p9csj");
return b},wkb=function(a,b,c){for(;typeof b==="function";)b=b();
if(b!=null&&b[X4]){var d,e,f;(f=g.ep.handleError)==null||f.call.apply(f,[g.ep].concat(g.z(H4(Error("Encountered a VNode when only real nodes are expected. Tag name: "+((d=b.type)==null?void 0:d.Mt)),(e=b.type)==null?void 0:e.Mt))))}if(a==null)return b==null?a5():c5(b)?b5(b):d5(b)?b5(b.toString()):g5(b)?b:b.length===0?a5():i5(b,c);if(g5(a)){if(b==null)return e5(a,a5());if(c5(b))return zkb(a,b);if(d5(b))return zkb(a,b.toString());if(g5(b))return e5(a,b);if(b.length===0)return e5(a,a5());b=i5(b,c);ukb([a],
c.Xm);return b}a=j5(a);if(b==null)return f5(a,a5());if(c5(b))return f5(a,b5(b));if(d5(b))return f5(a,b5(b.toString()));if(g5(b))return ukb(a,[b])[0];if(b.length===0)return f5(a,a5());b=i5(b,c);ukb(a,c.Xm);return b},zkb=function(a,b){a.nodeType===Node.TEXT_NODE?a.textContent!==String(b)&&(a.textContent=String(b)):a=e5(a,b5(b));
return a},j5=function(a,b,c){return Akb(a,b!=null?b:[],c===void 0?!1:c)},i5=function(a,b){var c=j5(a,void 0,!0);
if(c.length===0)return a5();b.Xm=c;return a},Akb=function(a,b,c,d,e){b=b===void 0?[]:b;
c=c===void 0?!1:c;e=e===void 0?-1:e;if(a==null)return b;if(g5(b)&&b.nodeType===Node.ELEMENT_NODE&&b.tagName==="SCRIPT")a:{c=a;if(Array.isArray(c)){if(c.length>1)throw Error("Script tags can contain at most 1 child. Got "+c.length+": ["+c.map(tkb).join(", ")+"]");c=c[0]}if(c!=null){if(!(c instanceof g.ag)){var f,h;if((f=window)==null?0:(h=f.trustedTypes)==null?0:h.isScript(c))throw Error("Do not use a TrustedScript instance in a script tag directly. Use a SafeScript instead.");if(String(c).trim().length===
0)break a;throw Error("Script tags must only contain SafeScript or LegacyScript instances. Got: "+tkb(c));}b.textContent=g.bg(c);g.cg(b)}}else{c5(a)&&(a=b5(a),d&&c&&(d[e]=a));d5(a)&&(a=b5(a.toString()),d&&c&&(d[e]=a));if(g5(a))return Bkb(b,a);if(Array.isArray(a)){for(f=0;f<a.length;f++)Akb(a[f],b,c,a,f);return b}if(typeof a==="function")return a=ykb(a)[0],d&&c&&(d[e]=a),Bkb(b,a);if(a!=null&&a[X4]){a:{f={stack:[],error:void 0,hasError:!1};try{g.cb(f,rkb());var l=Z4.apply(null,[a.type,a.props].concat(g.z(a.children)));
break a}catch(n){f.error=n,f.hasError=!0}finally{g.eb(f)}l=void 0}return Akb(l,b,c)}var m;(m=g.ep.handleError)==null||m.call.apply(m,[g.ep].concat(g.z(H4(Error("Unrecognized JSXResult type in flattening.")))));return b}},vkb=function(a){var b=[];
if(!a)return b.Xm=[],b;b[0]=i5(a,b);return b},Bkb=function(a,b){Array.isArray(a)?a.push(b):a.appendChild(b);
return a},Dkb=function(a,b){var c,d,e=Ckb(a),f=I4(function(q){var r={stack:[],
error:void 0,hasError:!1};try{d=q,g.cb(r,rkb()),g.cb(r,y4(g.Q1)),g.cb(r,g.fp("render",e)),c=a(b)}catch(t){r.error=t,r.hasError=!0}finally{g.eb(r)}});
if(g.ep.sY&&!b.o2){var h={stack:[],error:void 0,hasError:!1};try{return g.cb(h,A4(d)),c}catch(q){h.error=q,h.hasError=!0}finally{g.eb(h)}}c!=null&&c.Xm||!Array.isArray(c)||(c=vkb(c));h=c!=null&&c.Xm?c.Xm:c;var l=Array.isArray(h)?h[0]:h,m=!1;if(l){var n,p=(n=b==null?void 0:b.idomKey)!=null?n:a;l._disposeEffects=f;n=l[h5]||{};Object.assign(n,{key:p,F0:h!==l?h.length:1,context:d,Fpa:!!l[h5],g3:c!=null&&c.Xm?c:n.g3});l[h5]=n}else m=!0;(function(){var q={stack:[],error:void 0,hasError:!1};try{g.cb(q,A4(d))}catch(r){q.error=
r,q.hasError=!0}finally{g.eb(q)}})();
m&&f();return c},Ckb=function(a){var b,c;
return(c=(b=a.au)!=null?b:a.name)!=null?c:"[component]"},k5=function(a){this.props=a;
this.C=!1},Ekb=function(){if(D4())throw Error("Reactive components are not allowed to use useState or other memoization based hooks.");
return l5},m5=function(a){k5.call(this,a);
var b=this;this.gB=[];this.D=0;this.G=I4(function(c){b.bK=c;Hjb(function(){Fkb(b,b.el)})})},Fkb=function(a,b){if(!a.C&&b){a.C=!0;
try{a.YJ()}catch(e){var c,d;(d=g.ep.handleError)==null||d.call.apply(d,[g.ep].concat(g.z(H4(e,(c=a.B)==null?void 0:c.Mt))))}n5.YJ(a);a.el=null;b.__instance&&delete b.__instance}},Hkb=function(a,b,c){a._signalProps!=null&&a._disposeEffects==null&&(g.ep.sY&&c!==void 0&&!c?Gkb(a,b):a._disposeEffects=I4(function(){return void Gkb(a,b)}))},Gkb=function(a,b){Kjb(function(){for(var c=a._signalProps,d=a._signalValues,e=0;e<c.length;e++){var f=c[e],h=b[f]();
d[e]!==h&&(d[e]=h,W4(a,f,h))}},"hTG0Sd")},Ikb=function(a,b){a._disposeEffects=I4(function(){a._isSignalTextNode=!0;
Kjb(function(){var c=b();c==null&&(c="");var d=typeof c;if(d==="object"||d==="function")throw Error("Invalid text node kind: "+d+". Text nodes must be primitives like numbers, strings, or null, but an object type was passed. See go/cow-errors#invalid-text-nodes for more information.");a.textContent=String(c)},"FpvqPc")})},Jkb=function(a,b){var c=g.Da.apply(2,arguments);
b!=null||(b={});if(a===qkb)return c;B4[B4.length-1]&&!D4()&&(b.o2=!0);if(typeof a==="function")return Bjb({component:a,debugInstance:b.debugInstance,xx:function(){c.length>0&&(b.children=c.length===1?c[0]:c);var f=b;if(a.componentType!==C4)var h=!1;else{f||(f={});h=new m5(f);h.j=a;b:{var l={stack:[],error:void 0,hasError:!1};try{g.cb(l,y4(g.Q1));var m=h.nz(f);break b}catch(n){l.error=n,l.hasError=!0}finally{g.eb(l)}m=void 0}f=m;f instanceof HTMLElement?(f.__instance=h,h.el=f,h.B=a,a.Mt=f.tagName.toLowerCase(),
n5.hF(h),h=f):h=f}return h===!1?Dkb(a,b):h}});
var d=document.createElement(a),e;for(e in b)W4(d,e,b[e]);Hkb(d,b,!1);j5(c,d);pkb(d,b,{GR:!0});return d},Kkb=function(a){if(a){var b;
(b=a._disposeRef)==null||b.call(a);var c;(c=a._disposeEffects)==null||c.call(a);a.__instance&&a.__instance instanceof k5&&(b=a.__instance,Fkb(b,a),b instanceof m5&&b.G());for(b=0;b<a.childNodes.length;b++)Kkb(a.childNodes[b])}},Mkb=function(a){Lkb.push(a)===1&&requestAnimationFrame(function(){setTimeout(function(){var b=[].concat(g.z(Lkb));
Lkb=[];b=g.x(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{for(var d=0;d<c.length;d++)Kkb(c[d])}catch(e){d=c=void 0,(d=(c=g.ep).handleError)==null||d.call.apply(d,[c].concat(g.z(H4(e))))}}})})},o5=function(a,b){return Z4.apply(null,[a,
b].concat(g.z(g.Da.apply(2,arguments))))},Nkb=function(a){var b=null,c;
return{value:null,Pca:function(d){if(c&&d!==c){var e;(e=b)==null||e();c._disposeRef=void 0}c=d;b=a(d)||null},
Gda:function(){var d;(d=b)==null||d()}}},Okb=function(a){var b=Ekb();
if(b==null)throw Error("A valid hook context was not found. Please ensure you are using components from TSX and not invoking the component function directly");var c=b.D++;b.gB||(b.gB=[]);var d=b.gB;d[c]||(d[c]={key:a,host:b});if(a!==d[c].key){var e,f;a=((e=b.B)==null?void 0:e.name)||((f=b.j)==null?void 0:f.name);throw Error("Hook called out of order in "+a+". Hooks must be invoked unconditionally and in the same order every render. This could happen if you conditionally invoke a hook.");}return d[c]},
Pkb=function(a,b){return!a||a.length!==(b==null?void 0:b.length)||a.some(function(c,d){return c!==b[d]})},Qkb=function(a,b){var c=Okb("onChange"),d=Ekb();
Pkb(c.rh,b)&&(c.rh=b,c.I1=a,d.eA||(d.eA=[]),d.eA.push(c))},Rkb=function(a){var b=g.Uo;
if(b&&b.isAsync){var c;(c=g.ep.handleError)==null||c.call.apply(c,[g.ep].concat(g.z(H4(Error("onInit cannot be called inside a reaction.")))))}var d=z4,e=B4.slice();Promise.resolve().then(function(){d&&!d.Ja&&E4(function(){var f={stack:[],error:void 0,hasError:!1};try{g.cb(f,A4(d)),a()}catch(h){f.error=h,f.hasError=!0}finally{g.eb(f)}},{stack:e})})},p5=function(a,b){Qkb(function(){return Ljb(a)},b)},Skb=function(a){D4()?Rkb(function(){Ljb(a)}):Qkb(function(){return Ljb(a)},[])},Ukb=function(a){var b=
[].concat(g.z(a));
a.length=0;a=g.x(b);for(b=a.next();!b.done;b=a.next()){b=b.value;Tkb(b);var c=b.I1;b.I1=null;if(c=c==null?void 0:c())b.H1=c}},Tkb=function(a){var b=a.H1;
a.H1=null;b==null||b()},q5=function(a){var b=[];
if(D4())return a();var c=Okb("useMemoInternal");Pkb(c.rh,b)&&(c.rh=b,c.value=a());return c.value},r5=function(){var a;
D4()?a=Vkb():a=Wkb();return a},Wkb=function(){return q5(function(){return Vkb()})},Vkb=function(){var a=Nkb(function(b){a.value&&a.value===b||(a.yX=a.yX?a.yX+1:1);
a.value=b;var c=function(){var d={stack:[],error:void 0,hasError:!1};try{g.cb(d,y4(null))}catch(e){d.error=e,d.hasError=!0}finally{g.eb(d)}}();
return function(){c==null||c();a.value=null}});
return a},Xkb=function(a){var b=z4,c=B4.slice();
return{hZ:function(){return function(d){b.Ja||E4(function(){var e={stack:[],error:void 0,hasError:!1};try{return g.cb(e,y4(null)),a(d)}catch(f){e.error=f,e.hasError=!0}finally{g.eb(e)}},{stack:c})!==!0&&d.stopPropagation()}}}},Ykb=function(a){if(typeof a.children==="function")return a.children(),null;
a=g.x(a.children);for(var b=a.next();!b.done;b=a.next())b=b.value,b();return null},$kb=function(a,b,c){c=c===void 0?!1:c;
E4(function(){return Zkb(a,b,c)})},Zkb=function(a,b,c){c=((c===void 0?0:c)?alb:blb)(a,function(){s5(b)});
return c===null?a:c},s5=function(a){if(a!==void 0&&a!==null)if(Array.isArray(a)){var b=g.x(a);
for(a=b.next();!a.done;a=b.next())s5(a.value)}else if(a instanceof g.Jf)kkb(a.toString());else if(g5(a)){if(M4()!==a)throw Error("Encountered a real dom node where a vdom node was expected. Real dom nodes should only come from the reactive renderer, and they can't be passed in JSX expressions directly. Tag name: "+a.tagName);P4=M4()}else{if(typeof a==="string"||g.Nf(a))a=a.toString();var c=typeof a;if(c==="boolean"||c==="number"||c==="string")kkb(a);else if(typeof a==="function"){b=L4;var d=M4();
if(!d||!d._isSignalTextNode){var e=b.insertBefore,f=document.createTextNode("");Ikb(f,a);e.call(b,f,d)}P4=M4()}else{if(typeof a.type==="string"){a.Kr||gkb(a.type,a.props.idomKey);d=L4;for(e in a.props)a.props[e]!==clb&&(f=a.props[e],c=T4,c.push(e),c.push(f));e=g.ep.attributes;e=e===void 0?dlb:e;f=L4;var h=K4(f);c=e;e=T4;h=h.j||(h.j=Vjb(e.length));for(var l=!h.length||!1,m=0;m<e.length;m+=2){var n=e[m];if(l)h[m]=n;else if(h[m]!==n)break;var p=e[m+1];if(l||h[m+1]!==p)h[m+1]=p,jkb(f,n,p,c)}if(m<e.length||
m<h.length){for(m=l=m;m<h.length;m+=2)t5[h[m]]=h[m+1];for(m=l;m<e.length;m+=2)l=e[m],n=e[m+1],t5[l]!==n&&jkb(f,l,n,c),h[m]=l,h[m+1]=n,delete t5[l];J4(h,e.length);for(b in t5)jkb(f,b,void 0,c),delete t5[b]}b=elb;elb=f=V4.length;for(c=b;c<f;c+=5)(0,V4[c])(V4[c+1],V4[c+2],V4[c+3],V4[c+4]);elb=b;J4(V4,b);J4(e,0);Hkb(d,a.props);(a.props.skip||a.props.skipchildren)&&L4.hasChildNodes()?P4=L4.lastChild:s5(a.children);O4(null);P4=L4;L4=L4.parentNode;a.Kr&&(a.Kr=!1);pkb(d,a.props);return d}if(a.type===qkb)s5(a.children);
else if(!flb(a)){b=a;try{glb(b)}catch(q){a=q,(f=g.ep.handleError)==null||f.call.apply(f,[g.ep].concat(g.z(H4(a,(d=b.type)==null?void 0:d.Mt))))}b.Kr&&(O4(null),P4=L4,L4=L4.parentNode,b.Kr=!1)}}}},ilb=function(a,b){hlb(a)?(b=new m5(b),b.j=a):b=new a(b);
b.B=a;b.JO={oS:b.state,A_:!1};return b},glb=function(a){var b=a.type,c=b.Mt;
if(b===Ykb)a.props.children=a.children,b(a.props);else{a.children.length>0&&(a.props.children=a.children);var d;(d=a.props).idomKey||(d.idomKey=b);if(c){var e=gkb(c,a.props.idomKey);a.Kr=!0;var f=e.__instance}f||(f=ilb(b,a.props),f.props=null,e&&(e.__instance=f,f.el=e));var h;c=((h=f.JO)!=null?h:{oS:f.state,A_:!1}).oS;f.JO=void 0;b.M9&&(c=b.M9(a.props,c));f.props=a.props;f.state=c;h=function(){var l=f;n5.YX(l);var m=l.nz(l.props);m?(l.props.idomKey&&(m.props.idomKey=l.props.idomKey),l=m):l=void 0;
if(m=l)if(m.Kr=a.Kr,l=s5(m),a.Kr=m.Kr,!b.Mt)if(l)b.Mt=l.tagName.toLowerCase(),l.__instance=f,f.el=l;else{var n;if((n=f.gB)==null?0:n.length){var p;(p=g.ep.handleError)==null||p.call.apply(p,[g.ep].concat(g.z(H4(Error("A component used hooks, but failed to return a host element")))))}}f.hF();n5.hF(f)};
(c=f.j)?Bjb({component:c,debugInstance:f.props.debugInstance,xx:h}):h()}},flb=function(a){var b=a.type;
if(!hlb(b)||b===Ykb||b.componentType===C4)return!1;a.props.children=a.children.length>1?a.children:a.children[0];var c,d=(c=a.props.idomKey)!=null?c:a.type,e;if(M4()&&((e=M4()[h5])==null?void 0:e.key)===d){b=M4();c=b[h5];if(!c)throw Error("Reactive data has been lost on node. Tag name: "+b.tagName);var f;(f=c.nra)==null||f.call(c,a.props);jlb(c);return!0}if(klb.has(b.name))throw Error(b.name+" can not be called from a IDOM component. See go/cow-errors#control-flow-component-called-from-Idom-Component");
a.props.o2=!0;(f=Bjb({component:a.type,debugInstance:a.props.debugInstance,xx:function(){return Dkb(a.type,a.props)}}))&&llb(f);
return!0},mlb=function(a){for(var b=0;b<j5(a).length;b++)P4=M4()},jlb=function(a){var b=nlb();
if(b)mlb(b);else for(var c=0;c<a.F0;c++)(b=nlb())?mlb(b):P4=M4()},nlb=function(){var a;
return(a=M4()[h5])==null?void 0:a.g3},llb=function(a){a=a!=null&&a.Xm?a.Xm:a;
a=Array.isArray(a)?a:[a];a=g.x(a);for(var b=a.next();!b.done;b=a.next())L4.insertBefore(b.value,M4()),P4=M4()},hlb=function(a){var b;
return((b=a.prototype)==null?void 0:b.nz)===void 0},olb=function(a){var b=Ekb(),c=q5(function(){return{value:typeof a==="function"?a():a}});
return[c.value,function(d){var e={stack:[],error:void 0,hasError:!1};try{if(l5!==null){var f;(f=g.ep.handleError)==null||f.call.apply(f,[g.ep].concat(g.z(H4(Error("Can't set state during rendering")))))}c.value=typeof d==="function"?d(c.value):d;b.JO={oS:b.state,A_:!0};g.cb(e,A4(b.bK));g.cb(e,skb());if(b.el){var h;d={};var l=(d.props=b.props,d.type=b.B,d.children=(h=b.props.children)!=null?h:[],d[X4]=!0,d);try{$kb(b.el,l,!0)}catch(p){var m,n;(n=g.ep.handleError)==null||n.call.apply(n,[g.ep].concat(g.z(H4(p,
(m=b.B)==null?void 0:m.Mt))))}}}catch(p){e.error=p,e.hasError=!0}finally{g.eb(e)}}]},plb=function(){return q5(function(){return{value:null}})},tlb=function(a){var b=qlb;
rlb.push(a);slb||(b(function(){for(var c=g.x(rlb),d=c.next();!d.done;d=c.next())d=d.value,d();rlb.length=0;slb=!1}),slb=!0)},qlb=function(a){Promise.resolve().then(a)},ulb=function(a){a=g.x(olb(a));
var b=a.next().value,c=a.next().value,d=!1;Skb(function(){return function(){d=!0}});
return[b,function(e){tlb(function(){d&&!g.Lr("cow_prevent_state_setter_after_cleanup_killswitch")||c(e)})}]},vlb=function(a){function b(){var l=a.K.kd()?"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e Shorts":"\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438";
e(l)}
var c=g.x(olb("\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438")),d=c.next().value,e=c.next().value;p5(function(){var l=a.K;l.addEventListener("videodatachange",b);return function(){l.removeEventListener("videodatachange",b)}},[a.K]);
var f=q5(function(){return(new g.Ix(g.by())).element}),h=r5();
Skb(function(){h.value.appendChild(f)});
return o5("button",{class:"ytp-button ytp-collapse","aria-label":d,"on:click":Xkb(function(){a.action&&a.action()})},o5("div",{class:"ytp-collapse-icon",
el:h,skip:!0}))},wlb=function(a){function b(){var h=a.K.kd()?"\u0415\u0449\u0451 \u0432\u0438\u0434\u0435\u043e Shorts":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e";
e(h)}
var c=g.x(ulb("\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e")),d=c.next().value,e=c.next().value,f=r5();p5(function(){a.XM&&(a.XM.value=f.value)},[a.XM]);
p5(function(){var h=a.K;h.addEventListener("videodatachange",b);return function(){h.removeEventListener("videodatachange",b)}},[a.K]);
return o5("button",{el:f,class:"ytp-button ytp-expand","on:click":Xkb(function(){a.action&&a.action()})},d)},xlb=function(a,b){var c=plb();
p5(function(){var d=new g.y1(a);d.j=!0;c.value=d;return function(){var e;(e=c.value)==null||e.dispose()}},[a,
b]);return c},ylb=function(a){function b(y){a:{var A=g.x([1,
16,32]);for(var C=A.next();!C.done;C=A.next())if(g.T(y,C.value)){A=!0;break a}A=!1}if(!A){var F;(F=p.value)!=null&&F.suggestionData.length>0&&h(g.T(y,4)&&!g.T(y,2)&&!g.T(y,1024))}}
function c(){b(a.K.getPlayerStateObject())}
function d(y){b(y.state)}
var e=g.x(ulb(!1)),f=e.next().value,h=e.next().value,l=g.x(ulb(!1));e=l.next().value;var m=l.next().value,n=r5(),p=xlb(a.K,a.Ve),q=r5();l=plb();var r=plb();p5(function(){var y=a.K,A=y.kd()?157212:172777;r.value=new g.O;y.createClientVe(q.value,r.value,A);y.addEventListener("presentingplayerstatechange",d);y.addEventListener("videodatachange",c);A=y.V().controlsType==="0";g.Bp(y.getRootNode(),"ytp-pause-overlay-controls-hidden",A);return function(){y.removeEventListener("videodatachange",c);y.removeEventListener("presentingplayerstatechange",
d);var C;(C=r.value)==null||C.dispose()}},[a.K]);
p5(function(){var y;(y=p.value)==null||y.Ha(n.value)},[p]);
var t=a.K;if(f)if(g.Bp(t.getRootNode(),"ytp-expand-pause-overlay",!e),e)l.value.focus();else{var u=p.value;g.z1(u);u.show();q.value.focus()}q.value&&t.logVisibility(q.value,f&&!e);return o5("ytp-pause-overlay",{el:q,class:"ytp-pause-overlay","aria-hidden":!f},o5(vlb,{K:a.K,Ve:a.Ve,action:function(){m(!0)}}),o5(wlb,{K:a.K,
Ve:a.Ve,action:function(){m(!1)},
XM:l}),o5("div",{el:n,skip:!0}))},zlb=function(a){g.S.call(this,{J:"div",
S:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.G=this.B=0;this.D=new g.eG(this);this.j=[];this.suggestionData=[];this.columns=this.containerWidth=0;this.title=new g.S({J:"h2",S:"ytp-related-title",ya:"{{title}}"});this.previous=new g.S({J:"button",Ka:["ytp-button","ytp-previous"],Y:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},X:[g.Sx()]});
this.Z=new g.x1(function(f){b.suggestions.element.scrollLeft=-f});
this.C=this.scrollPosition=0;this.L=!0;this.next=new g.S({J:"button",Ka:["ytp-button","ytp-next"],Y:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},X:[g.Tx()]});g.P(this,this.D);a=a.V();this.api.N("embeds_web_enable_pause_overlay_rounding")&&g.xp(this.element,"ytp-error-overlay-round-corners");this.W=a.D;g.P(this,this.title);this.title.Ha(this.element);
this.suggestions=new g.S({J:"div",S:"ytp-suggestions"});g.P(this,this.suggestions);this.suggestions.Ha(this.element);g.P(this,this.previous);this.previous.Ha(this.element);this.previous.listen("click",this.v5,this);g.P(this,this.Z);for(var c={kB:0};c.kB<16;c={kB:c.kB},c.kB++){var d=new g.S({J:"a",S:"ytp-suggestion-link",Y:{href:"{{link}}",target:a.Z,"aria-label":"{{aria_label}}"},X:[{J:"div",S:"ytp-suggestion-image",X:[{J:"div",Y:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration",ya:"{{duration}}"}]},
{J:"div",S:"ytp-suggestion-title",Y:{title:"{{hover_title}}"},ya:"{{title}}"},{J:"div",S:"ytp-suggestion-author",ya:"{{views_or_author}}"}]});g.P(this,d);d.Ha(this.suggestions.element);var e=d.Da("ytp-suggestion-link");g.Am(e,"transitionDelay",c.kB/20+"s");this.D.T(e,"click",function(f){return function(h){var l=f.kB,m=b.suggestionData[l],n=m.sessionData;g.JP(b.api.V())&&b.api.N("web_player_log_click_before_generating_ve_conversion_params")?(b.api.logClick(b.j[l].element),l=m.Yl(),m={},g.INa(b.api,
m),l=g.bj(l,m),g.gT(l,b.api,h)):g.fT(h,b.api,b.W,n||void 0)&&b.api.Ip(m.videoId,n,m.playlistId)}}(c));
this.j.push(d)}g.P(this,this.next);this.next.Ha(this.element);this.next.listen("click",this.u5,this);this.D.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.qb().getPlayerSize());this.onVideoDataChange();this.show()},Alb=function(a,b){if(a.api.V().N("web_player_log_click_before_generating_ve_conversion_params"))for(var c=Math.floor(-a.scrollPosition/(a.C+a.B)),d=Math.min(c+a.columns,a.suggestionData.length)-1;c<=d;c++)a.api.logVisibility(a.j[c].element,b)},Blb=function(a){a.next.element.style.bottom=
a.G+"px";
a.previous.element.style.bottom=a.G+"px";var b=a.scrollPosition,c=a.containerWidth-a.suggestionData.length*(a.C+a.B);g.Bp(a.element,"ytp-scroll-min",b>=0);g.Bp(a.element,"ytp-scroll-max",b<=c)},Clb=function(a){for(var b=0;b<a.suggestionData.length;b++){var c=a.suggestionData[b],d=a.j[b],e=c.shortViewCount?c.shortViewCount:c.author,f=c.Yl(),h=a.api.V();
if(g.JP(h)&&!h.N("web_player_log_click_before_generating_ve_conversion_params")){var l={};g.$R(a.api,"addEmbedsConversionTrackingParams",[l]);f=g.bj(f,l)}d.element.style.display="";l=d.Da("ytp-suggestion-title");g.Gp.test(c.title)?l.dir="rtl":g.ycb.test(c.title)&&(l.dir="ltr");l=d.Da("ytp-suggestion-author");g.Gp.test(e)?l.dir="rtl":g.ycb.test(e)&&(l.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?"\u0412 \u044d\u0444\u0438\u0440\u0435":c.lengthSeconds?g.Yy(c.lengthSeconds):"",link:f,
hover_title:c.title,title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback});e=c.wh();d.Da("ytp-suggestion-image").style.backgroundImage=e?"url("+e+")":"";h.N("web_player_log_click_before_generating_ve_conversion_params")&&(a.api.createServerVe(d.element,d),(c=(c=c.sessionData)&&c.itct)&&a.api.setTrackingParams(d.element,c))}for(;b<a.j.length;b++)a.j[b].element.style.display="none";Blb(a)},u5=function(a){g.CY.call(this,a);
var b=this;this.j=null;var c=a.V(),d={target:c.Z},e=["ytp-small-redirect"];c.C?e.push("no-link"):(c=g.lQ(c),d.href=c,d["aria-label"]="\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u0435\u043e");var f=new g.S({J:"a",Ka:e,Y:d,X:[{J:"svg",Y:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{J:"path",Y:{d:"M0 0h24v24H0V0z",fill:"none"}},{J:"path",
Y:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]});f.Ha(this.element);a.createClientVe(f.element,this,178053);this.T(f.element,"click",function(h){Dlb(b,h,f.element)});
g.P(this,f);a.V().C||(this.j=new zlb(a),this.j.Ha(this.element),g.P(this,this.j));this.T(a,"videodatachange",function(){b.show()});
this.resize(this.api.qb().getPlayerSize())},Dlb=function(a,b,c){b.preventDefault();
a.api.logClick(c);b=c.getAttribute("href");c={};g.$R(a.api,"addEmbedsConversionTrackingParams",[c]);b=g.Ng(c)?b:g.bj(b,c);g.Zf(window,b)},Elb=function(a,b){a.Da("ytp-error-content").style.paddingTop="0px";
var c=a.Da("ytp-error-content"),d=c.clientHeight;a.j&&a.j.resize(b,b.height-d);c.style.paddingTop=(b.height-(a.j?a.j.element.clientHeight:0))/2-d/2+"px"},Hlb=function(a,b){var c=a.api.V(),d;
b.reason&&(Flb(b.reason)?d=g.Qx(b.reason):d=g.DY(g.Px(b.reason)),a.Ed(d,"content"));var e;b.subreason&&(Flb(b.subreason)?e=g.Qx(b.subreason):e=g.DY(g.Px(b.subreason)),a.Ed(e,"subreason"));if(b.proceedButton&&b.proceedButton.buttonRenderer){d=a.Da("ytp-error-content-wrap-subreason");b=b.proceedButton.buttonRenderer;var f=g.lh("A");if(b.text&&b.text.simpleText&&(e=b.text.simpleText,f.textContent=e,!Glb(d,e)&&(!c.C||c.embedsErrorLinks))){var h;c=(h=g.Q(b==null?void 0:b.navigationEndpoint,g.iy))==null?
void 0:h.url;var l;h=(l=g.Q(b==null?void 0:b.navigationEndpoint,g.iy))==null?void 0:l.target;c&&(f.setAttribute("href",c),a.api.createClientVe(f,a,178424),a.T(f,"click",function(m){Dlb(a,m,f)}));
h&&f.setAttribute("target",h);l=g.lh("DIV");l.appendChild(f);d.appendChild(l)}}},Flb=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},Glb=function(a,b){a=g.ch("A",a);
for(var c=0;c<a.length;c++)if(a[c].textContent===b)return!0;return!1},Ilb=function(a,b){g.S.call(this,{J:"a",
Ka:["ytp-impression-link"],Y:{target:"{{target}}",href:"{{url}}","aria-label":"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 YouTube"},X:[{J:"div",S:"ytp-impression-link-content",Y:{"aria-hidden":"true"},X:[{J:"div",S:"ytp-impression-link-text",ya:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430"},{J:"div",S:"ytp-impression-link-logo",ya:"{{logoSvg}}"}]}]});this.api=a;this.Ve=b;this.updateValue("target",a.V().Z);this.T(a,"videodatachange",this.onVideoDataChange);
this.T(this.api,"presentingplayerstatechange",this.Ei);this.T(this.api,"videoplayerreset",this.KV);this.T(this.element,"click",this.onClick);this.onVideoDataChange();this.KV()},Jlb=function(a){var b={};
g.$R(a.api,"addEmbedsConversionTrackingParams",[b]);a=a.api.getVideoUrl();return a=g.bj(a,b)},v5=function(a){g.S.call(this,{J:"div",
Ka:["ytp-mobile-a11y-hidden-seek-button"],X:[{J:"button",Ka:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],Y:{"aria-label":"\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430\u0437\u0430\u0434","aria-hidden":"false"}},{J:"button",Ka:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],Y:{"aria-label":"\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u0432\u043f\u0435\u0440\u0435\u0434",
"aria-hidden":"false"}}]});this.api=a;this.j=this.Da("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.Da("ytp-mobile-a11y-hidden-seek-button-forward");this.api.createClientVe(this.j,this,141902);this.api.createClientVe(this.forwardButton,this,141903);this.T(this.api,"presentingplayerstatechange",this.Ei);this.T(this.j,"click",this.B);this.T(this.forwardButton,"click",this.C);this.Ei()},w5=function(a){g.S.call(this,{J:"div",
S:"ytp-muted-autoplay-endscreen-overlay",X:[{J:"div",S:"ytp-muted-autoplay-end-panel",X:[{J:"button",Ka:["ytp-muted-autoplay-end-text","ytp-button"],ya:"{{text}}"}]}]});this.api=a;this.D=this.Da("ytp-muted-autoplay-end-panel");this.B=!1;this.api.createClientVe(this.element,this,52428);this.T(this.api,"presentingplayerstatechange",this.C);this.T(a,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.listen("click",this.onClick);this.hide()},x5=function(a){var b=a.V();
g.S.call(this,{J:"a",Ka:["ytp-watermark","yt-uix-sessionlink"],Y:{target:b.Z,href:"{{url}}","aria-label":g.OE("\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u00a0$WEBSITE",{WEBSITE:g.ZP(b)}),"data-sessionlink":"feature=player-watermark"},ya:"{{logoSvg}}"});this.api=a;this.j=null;this.B=!1;this.state=a.getPlayerStateObject();this.T(a,"videodatachange",this.onVideoDataChange);this.T(a,"presentingplayerstatechange",this.onStateChange);
this.T(a,"appresize",this.lc);this.onVideoDataChange();this.yd(this.state);this.lc(a.qb().getPlayerSize())},Klb=function(a){var b=a.api.getVideoData(),c=a.api.V();
c=c.Ld&&!g.T(a.state,2)&&!g.SR(a.api.getVideoData(1))&&!(c.N("embeds_enable_emc3ds_woyt_counterfactual")&&a.api.getPlayerStateObject().isCued());b.mutedAutoplay||g.Lx(a,c);a.api.logVisibility(a.element,c)},Nlb=function(a){g.S.call(this,{J:"div",
S:"ytp-muted-autoplay-overlay",X:[{J:"div",S:"ytp-muted-autoplay-bottom-buttons",X:[{J:"button",Ka:["ytp-muted-autoplay-equalizer","ytp-button"],Y:{"aria-label":"\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u0437\u0432\u0443\u043a\u0430"},X:[{J:"div",Ka:["ytp-muted-autoplay-equalizer-icon"],X:[{J:"svg",Y:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},X:[{J:"g",
Y:{fill:"#fff"},X:[{J:"rect",S:"ytp-equalizer-bar-left",Y:{height:"9",width:"4",x:"1",y:"7"}},{J:"rect",S:"ytp-equalizer-bar-middle",Y:{height:"14",width:"4",x:"6",y:"2"}},{J:"rect",S:"ytp-equalizer-bar-right",Y:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});var b=this;this.api=a;this.bottomButtons=this.Da("ytp-muted-autoplay-bottom-buttons");this.C=new g.pp(this.O$,4E3,this);this.B=!1;a.createClientVe(this.element,this,39306);this.T(a,"presentingplayerstatechange",this.cO);this.T(a,"onMutedAutoplayStarts",
function(){Llb(b);b.cO();Mlb(b);b.B=!1});
this.T(a,"onAutoplayBlocked",this.onAutoplayBlocked);this.listen("click",this.onClick);this.T(a,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();a.isMutedByEmbedsMutedAutoplay()&&(Llb(this),this.cO(),Mlb(this));g.P(this,this.C)},Mlb=function(a){a.Eb&&a.j&&(a.j.show(),a.C.start())},Llb=function(a){a.watermark||(a.watermark=new x5(a.api),g.P(a,a.watermark),a.watermark.Ha(a.bottomButtons,0),g.Bp(a.watermark.element,"ytp-muted-autoplay-watermark",!0),a.j=new g.By(a.watermark,0,!0,100),g.P(a,
a.j))},y5=function(a){g.S.call(this,{J:"div",
S:"ytp-pause-overlay",Y:{tabIndex:"-1"}});var b=this;this.api=a;this.C=new g.eG(this);this.D=new g.By(this,1E3,!1,100,function(){b.j.j=!1},function(){b.j.j=!0});
this.B=!1;this.expandButton=new g.S({J:"button",Ka:["ytp-button","ytp-expand"],ya:this.api.kd()?"\u0415\u0449\u0451 \u0432\u0438\u0434\u0435\u043e Shorts":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e"});a.V().controlsType==="0"&&g.xp(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.api.N("embeds_web_enable_pause_overlay_rounding")&&g.xp(this.element,"ytp-pause-overlay-round-corners");g.P(this,this.C);g.P(this,this.D);
var c=new g.S({J:"button",Ka:["ytp-button","ytp-collapse"],Y:{"aria-label":this.api.kd()?"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e Shorts":"\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},X:[{J:"div",S:"ytp-collapse-icon",X:[g.by()]}]});g.P(this,c);c.Ha(this.element);c.listen("click",this.G,this);g.P(this,this.expandButton);this.expandButton.Ha(this.element);this.expandButton.listen("click",
this.L,this);this.j=new g.y1(a);g.P(this,this.j);this.j.j=!1;this.j.Ha(this.element);this.api.kd()?this.api.createClientVe(this.element,this,157212):this.api.createClientVe(this.element,this,172777);this.C.T(this.api,"presentingplayerstatechange",this.Ta);this.C.T(this.api,"videodatachange",this.Ta);this.hide()},z5=function(a){g.S.call(this,{J:"div",
Ka:["ytp-player-content","ytp-iv-player-content"],X:[{J:"div",S:"ytp-countdown-timer",X:[{J:"svg",Y:{height:"100%",version:"1.1",viewBox:"0 0 72 72",width:"100%"},X:[{J:"circle",S:"ytp-svg-countdown-timer-ring",Y:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-dasharray":"211","stroke-dashoffset":"-211","stroke-width":"4",transform:"rotate(-90)"}},{J:"circle",S:"ytp-svg-countdown-timer-background",Y:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-opacity":"0.3",
"stroke-width":"4",transform:"rotate(-90)"}}]},{J:"span",S:"ytp-countdown-timer-time",ya:"{{duration}}"}]}]});this.api=a;this.L=this.Da("ytp-svg-countdown-timer-ring");this.j=null;this.D=this.C=0;this.B=!1;this.G=0;this.api.createClientVe(this.element,this,159628)},Plb=function(a){a.j||(a.C=5E3,a.D=(0,g.Ut)(),a.j=new g.op(function(){Olb(a)},null),Olb(a))},Olb=function(a){if(!a.B){var b=Math.min((0,g.Ut)()-a.D,a.C);
var c=a.C-b;b=a.C===0?0:Math.max(c/a.C,0);c=Math.round(c/1E3);a.L.setAttribute("stroke-dashoffset",""+-211*(b+1));a.updateValue("duration",c);b<=0&&a.j?A5(a):a.j&&a.j.start()}},A5=function(a){a.j&&(a.j.dispose(),a.j=null,a.B=!1)},Rlb=function(a){g.kY.call(this,a);
this.K=a;this.j=new g.eG(this);this.B=null;this.U=!1;this.countdownTimer=null;this.Z=!1;Qlb(this);g.P(this,this.j);this.load()},Tlb=function(a){var b=g.Kab(a.K);
b!==a.Z&&(a.Z=b,a.G&&(a.G.dispose(),a.G=null),a.C&&(a.C.dispose(),a.C=null),a.D&&(a.D.dispose(),a.D=null),a.B&&(a.B.stop(),a.B.dispose(),a.B=null),b&&(b=g.dS(a.K),a.K.kd()&&(a.D=new g.S({J:"div",S:"ytp-pause-overlay-backdrop",Y:{tabIndex:"-1"}}),g.P(a,a.D),g.sS(a.K,a.D.element,4),a.B=new g.By(a.D,1E3,!1,100),g.P(a,a.B),a.D.hide()),a.G=new g.S({J:"div",S:"ytp-pause-overlay-container",Y:{tabIndex:"-1"}}),g.P(a,a.G),a.K.N("embeds_web_enable_keto_pause_overlay")?$kb(a.G.element,o5(ylb,{K:a.K,Ve:b})):
(a.C=new y5(a.K,b),g.P(a,a.C),a.C.Ha(a.G.element)),g.sS(a.K,a.G.element,4),Slb(a,a.K.getPlayerStateObject())))},Slb=function(a,b){a.B&&(!g.T(b,4)&&!g.T(b,2)||g.T(b,1024)?a.B.hide():a.B.show())},Qlb=function(a){var b=a.K;
a=!!b.kd();g.Bp(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.p4=a},B5=function(a,b){var c=a.K.V();
a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",breakType:a.K.getCurrentTime()===0?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":a.K.getPlayerState()===0?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.cga(a.K.V().loaderUrl),eventType:b,youtubeHost:g.Wi(a.K.V().Ea)||""};a.embeddedPlayerMode=c.Fa;g.Ct("embedsAdEvent",a)},Ijb=0,Ulb=0;var z4=null;var sjb;var ujb;var F4=new Set,yjb=new Set,wjb=new Set;g.Ula=function(){var a=F4;F4=new Set;xjb(a);zjb()};var Gjb=[],G4=0;var C4=Symbol("idom");var B4=[],Djb,Ejb;var C5={},Vlb=Object.assign({},{Qpa:!0},g.cp,(C5.pg=void 0,C5.iR=!1,C5.KT=null,C5.DP=!0,C5.XE=!1,C5[Symbol.dispose]=Fjb,C5.VE=void 0,C5.au="[reaction]",C5.run=function(){var a={stack:[],error:void 0,hasError:!1};try{if(this.KT!==null&&!this.Ja){if(g.Wo)throw Error("Schedulers cannot synchronously execute effects while scheduling.");this.Vm=!1;if(!this.iR||ljb(this)){this.iR=!0;Ulb++;tjb(this);g.cb(a,A4(this));var b=g.Ola(this);try{var c={stack:[],error:void 0,hasError:!1};try{g.cb(c,g.fp("reactionRun",
this.au)),E4(this.KT,{stack:this.VE})}catch(d){c.error=d,c.hasError=!0}finally{g.eb(c)}}finally{g.Pla(this,b),Gjb[G4]=this.au,G4=(10+G4+1)%10}}}}catch(d){a.error=d,a.hasError=!0}finally{g.eb(a)}},C5));var Jjb=Object.assign({},Vlb,{EP:function(a){a.Ja||F4.add(a)},
XE:!1});var lkb=new Set("allowfullscreen async autofocus autoplay checked controls default defer disabled formnovalidate hidden ismap itemscope jsshadow jsslot loop multiple muted novalidate open playsinline readonly required reversed scoped seamless selected spellcheck sortable typemustmatch".split(" "));var Njb={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-describedby":10,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1,
"aria-selected":1,"aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1,id:10,ismap:1,itemid:1,itemprop:1,
itemref:1,itemscope:1,itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,poster:3,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:12,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,valign:1,value:1,width:1,wrap:1},Mjb={a:{href:[{Ad:3}]},area:{href:[{Ad:3}]},audio:{src:[{Ad:3}]},button:{formaction:[{Ad:3}],
formmethod:[{Ad:1}]},form:{action:[{Ad:3}],method:[{Ad:1}]},iframe:{srcdoc:[{Ad:2}]},img:{src:[{Ad:3}],srcset:[{Ad:11}]},input:{accept:[{Ad:1}],formaction:[{Ad:3}],formmethod:[{Ad:1}],pattern:[{Ad:1}],readonly:[{Ad:1}],src:[{Ad:3}]},link:{href:[{Ad:3,Ni:"rel",Xi:"alternate"},{Ad:3,Ni:"rel",Xi:"author"},{Ad:3,Ni:"rel",Xi:"bookmark"},{Ad:3,Ni:"rel",Xi:"canonical"},{Ad:3,Ni:"rel",Xi:"cite"},{Ad:3,Ni:"rel",Xi:"help"},{Ad:3,Ni:"rel",Xi:"icon"},{Ad:3,Ni:"rel",Xi:"license"},{Ad:3,Ni:"rel",Xi:"next"},{Ad:3,
Ni:"rel",Xi:"prefetch"},{Ad:3,Ni:"rel",Xi:"dns-prefetch"},{Ad:3,Ni:"rel",Xi:"prerender"},{Ad:3,Ni:"rel",Xi:"preconnect"},{Ad:3,Ni:"rel",Xi:"preload"},{Ad:3,Ni:"rel",Xi:"prev"},{Ad:3,Ni:"rel",Xi:"search"},{Ad:3,Ni:"rel",Xi:"subresource"}]},script:{defer:[{Ad:1}]},source:{src:[{Ad:3}],srcset:[{Ad:11}]},textarea:{readonly:[{Ad:1}]},video:{src:[{Ad:3}]}};var Wlb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,D5={},Pjb=(D5[1]=null,D5[2]=function(a,b){return b instanceof g.Wf?g.Yf(b):g.Rf.toString()},D5[3]=function(a,b){return g.Nf(b)?g.Of(b):Wlb.test(String(b))?String(b):g.Rf.toString()},D5[4]=function(a,b){return b instanceof g.Jf?g.Lf(b):g.Rf.toString()},D5[5]=function(a,b){return typeof b==="string"?b.toString():String(b)},D5[7]=null,D5[8]=null,D5[10]=null,D5);var clb=Symbol("ATTR_TAG_VALUE");RegExp.prototype.hasOwnProperty("sticky");var Xjb=Object.prototype.hasOwnProperty;Ujb.prototype=Object.create(null);var dlb=$jb();var U4=null;var hkb=typeof Node!=="undefined"&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};var N4=null,P4=null,L4=null,R4=null,S4=[],Q4=ekb,T4=[],blb=function(a){return ikb(function(b,c,d){L4=P4=b;P4=null;c(d);O4(null);P4=L4;L4=L4.parentNode;return b},a)}(),alb=function(a){return ikb(function(b,c,d){var e={nextSibling:b};
P4=e;c(d);L4&&O4(b.nextSibling);return e===P4?null:P4},a)}();var V4=[],elb=0;var t5=new Ujb;var Xlb=$jb(),nkb=Xlb.__default,okb=Xlb.style,mkb=["focusin","focusout"];var X4=Symbol("IS_VNODE");var $4,Z4=Y4;var h5=Symbol("reactiveData");g.dp(!1);var xkb=[];var n5={Mna:function(){},
lqa:function(){},
Pna:function(){},
YX:function(){},
Nna:function(){},
M8:function(){},
hF:function(){},
YJ:function(){},
N8:function(){}};k5.prototype.hF=function(){};
k5.prototype.M8=function(){};
k5.prototype.YJ=function(){};
k5.prototype.N8=function(){};var l5=null;g.w(m5,k5);m5.prototype.nz=function(a){var b=l5;l5=this;this.D=0;try{var c={stack:[],error:void 0,hasError:!1};try{var d,e,f=(e=(d=this.j.au)!=null?d:this.j.name)!=null?e:"[component]";g.cb(c,y4(g.Q1));g.cb(c,A4(this.bK));g.cb(c,g.fp("render",f));return this.j(a)}catch(h){c.error=h,c.hasError=!0}finally{g.eb(c)}}finally{l5=b}};var Lkb=[];g.$o=function(){var a=g.Uo===ujb?Error("A Signal Setter was called within onCleanup, which can lead to infinite update loops. See go/cow-errors#signal-write-in-oncleanup for more information."):g.Uo===g.Q1?Error("A Signal Setter was called during rendering, which can lead to consistency issues. See go/cow-errors#signal-write-during-rendering for more information."):Error("A Signal Setter was called within a Reaction, which can lead to infinite update loops. See go/cow-errors#signal-write-in-a-reactive-context for more information.");
if(g.ep.eaa)throw a;var b;(b=g.ep.handleError)==null||b.call.apply(b,[g.ep].concat(g.z(H4(a,"",2))))};
(function(){var a=U4;U4=function(b){a==null||a(b);Mkb(b)}})();$4=Jkb;(function(a){var b={},c;for(c in a)b={W1:void 0,z0:void 0},b.W1=n5[c],b.z0=a[c],n5[c]=function(d){return function(){var e=g.Da.apply(0,arguments);d.W1.apply(null,g.z(e));d.z0.apply(null,g.z(e))}}(b)})({YX:function(a){var b={stack:[],
error:void 0,hasError:!1};try{g.cb(b,A4(a.bK));var c;((c=a.eA)==null?0:c.length)&&Ukb(a.eA)}catch(d){b.error=d,b.hasError=!0}finally{g.eb(b)}},
hF:function(a){var b={stack:[],error:void 0,hasError:!1};try{g.cb(b,A4(a.bK));var c;((c=a.eA)==null?0:c.length)&&Ukb(a.eA)}catch(d){b.error=d,b.hasError=!0}finally{g.eb(b)}},
YJ:function(a){var b;((b=a.gB)==null?0:b.length)&&a.gB.forEach(Tkb)}});$4=Jkb;var klb=new Set(["For","If","Match","Watch"]),Ylb={},Zlb=(Ylb.__default=function(){return W4},Ylb.style=function(){return W4},Ylb),E5;
for(E5 in Zlb)g.ep.attributes[E5]=Zlb[E5](g.ep.attributes[E5]);var rlb=[],slb=!1;vlb.componentType=C4;wlb.componentType=C4;ylb.componentType=C4;g.w(zlb,g.S);g.k=zlb.prototype;g.k.hide=function(){this.L=!0;g.S.prototype.hide.call(this);Alb(this,!1)};
g.k.show=function(){this.L=!1;g.S.prototype.show.call(this);Alb(this,!0)};
g.k.isHidden=function(){return this.L};
g.k.u5=function(){this.scrollTo(this.scrollPosition-this.containerWidth)};
g.k.v5=function(){this.scrollTo(this.scrollPosition+this.containerWidth)};
g.k.resize=function(a,b){var c=this.api.V(),d=16/9,e=a.width>=650,f=a.width<480||a.height<290,h=Math.min(this.suggestionData.length,this.j.length);if(Math.min(a.width,a.height)<=150||h===0||!c.Fd)this.hide();else{var l;if(e){var m=l=28;this.B=16}else this.B=m=l=8;if(f){var n=6;e=14;var p=12;f=24;c=12}else n=8,e=18,p=16,f=36,c=16;a=a.width-(48+l+m);l=Math.ceil(a/150);l=Math.min(3,l);m=a/l-this.B;var q=Math.floor(m/d);b&&q+100>b&&m>50&&(q=Math.max(b,50/d),l=Math.ceil(a/(d*(q-100)+this.B)),m=a/l-this.B,
q=Math.floor(m/d));m<50||g.pS(this.api)?this.hide():this.show();for(b=0;b<h;b++){d=this.j[b];var r=d.Da("ytp-suggestion-image");r.style.width=m+"px";r.style.height=q+"px";d.Da("ytp-suggestion-title").style.width=m+"px";d.Da("ytp-suggestion-author").style.width=m+"px";d=d.Da("ytp-suggestion-duration");d.style.display=d&&m<100?"none":""}h=e+n+p+4;this.G=h+c+(q-f)/2;this.suggestions.element.style.height=q+h+"px";this.C=m;this.containerWidth=a;this.columns=l;this.scrollPosition=0;this.suggestions.element.scrollLeft=
-0;Blb(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.V();this.W=a.Pf?!1:b.D;a.suggestions?this.suggestionData=g.vn(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
Clb(this);a.Pf?this.title.update({title:g.OE('\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 "$DNI_RELATED_CHANNEL"',{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u044d\u0442\u0438 \u0440\u043e\u043b\u0438\u043a\u0438"})};
g.k.scrollTo=function(a){a=g.wg(a,this.containerWidth-this.suggestionData.length*(this.C+this.B),0);this.Z.start(this.scrollPosition,a,1E3);this.scrollPosition=a;Blb(this);Alb(this,!0)};g.w(u5,g.CY);u5.prototype.show=function(){g.CY.prototype.show.call(this);Elb(this,this.api.qb().getPlayerSize())};
u5.prototype.resize=function(a){g.CY.prototype.resize.call(this,a);this.j&&(Elb(this,a),g.Bp(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))};
u5.prototype.B=function(a){g.CY.prototype.B.call(this,a);var b=this.api.getVideoData();if(b.DF||b.playerErrorMessageRenderer)(a=b.DF)?Hlb(this,a):b.playerErrorMessageRenderer&&Hlb(this,b.playerErrorMessageRenderer);else{var c;a.Eo&&(b.ax?Flb(b.ax)?c=g.Qx(b.ax):c=g.DY(g.Px(b.ax)):c=g.DY(a.Eo),this.Ed(c,"subreason"))}};g.w(Ilb,g.S);g.k=Ilb.prototype;g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=njb(),c=96714;g.TR(a)?(b=ojb(),c=216165,g.xp(this.element,"ytp-music-impression-link")):g.zp(this.element,"ytp-music-impression-link");this.api.V().N("embeds_enable_emc3ds_woyt_counterfactual")&&g.xp(this.element,"ytp-woyt-emc3ds-cf");this.updateValue("logoSvg",b);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,c)};
g.k.Ei=function(){this.api.getPlayerStateObject().isCued()||(this.hide(),this.api.logVisibility(this.element,!1))};
g.k.KV=function(){var a=this.api.getVideoData(),b=this.api.V(),c=this.api.getVideoData().Pf,d=b.Ld&&!b.N("embeds_enable_emc3ds_woyt_counterfactual"),e=!b.Fd,f=this.Ve.dh()&&!b.N("embeds_enable_emc3ds_woyt_counterfactual");b=b.C;d||f||c||e||b||this.api.kd()||!a.videoId?(this.hide(),this.api.logVisibility(this.element,!1)):(a=Jlb(this),this.updateValue("url",a),this.show())};
g.k.onClick=function(a){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=Jlb(this);g.gT(b,this.api,a);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)};
g.k.show=function(){this.api.getPlayerStateObject().isCued()&&(g.S.prototype.show.call(this),this.api.hasVe(this.element)&&this.api.logVisibility(this.element,!0))};g.w(v5,g.S);v5.prototype.Ei=function(){var a=this.api.getPlayerStateObject();!this.api.Ch()||g.T(a,2)&&g.mS(this.api)||g.T(a,64)?(this.api.logVisibility(this.j,!1),this.api.logVisibility(this.forwardButton,!1),this.hide()):(this.show(),this.api.logVisibility(this.j,!0),this.api.logVisibility(this.forwardButton,!0))};
v5.prototype.B=function(){this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,83);this.api.logClick(this.j)};
v5.prototype.C=function(){this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,82);this.api.logClick(this.forwardButton)};g.w(w5,g.S);w5.prototype.C=function(){var a=this.api.getPlayerStateObject();this.api.getVideoData().mutedAutoplay&&(g.T(a,2)&&!this.Eb?(this.show(),this.j||(this.j=new g.AY(this.api),g.P(this,this.j),this.j.Ha(this.D,0),this.j.show()),a=this.api.getVideoData(),this.updateValue("text",a.lX),g.Bp(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.logVisibility(this.element,this.Eb),this.api.Cd("onMutedAutoplayEnds")):this.hide())};
w5.prototype.onClick=function(){if(!this.B){this.j&&(this.j.xa(),this.j=null);g.Bp(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();kjb(a);this.api.loadVideoById(a.videoId,b);this.api.LB();this.api.logClick(this.element);this.hide();this.B=!0}};
w5.prototype.onMutedAutoplayStarts=function(){this.B=!1;this.j&&(this.j.xa(),this.j=null)};g.w(x5,g.S);g.k=x5.prototype;g.k.onStateChange=function(a){this.yd(a.state)};
g.k.yd=function(a){this.state!==a&&(this.state=a);Klb(this)};
g.k.onVideoDataChange=function(){var a=this.api.V();a.C&&g.xp(this.element,"ytp-no-hover");var b=this.api.getVideoData();b.videoId&&!a.C?(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a),this.j||(this.j=this.listen("click",this.onClick))):this.j&&(this.updateValue("url",null),this.Nc(this.j),this.j=null);a=njb();var c=76758;g.TR(b)&&(a=ojb(),c=216164);this.updateValue("logoSvg",a);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,
c);Klb(this)};
g.k.onClick=function(a){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.getVideoUrl(!g.Zy(a),!1,!0,!0);if(this.api.N("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.$R(this.api,"addEmbedsConversionTrackingParams",[c]);b=g.bj(b,c)}g.gT(b,this.api,a);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)};
g.k.lc=function(a){if((a=a.width<480)&&!this.B||!a&&this.B){var b=new g.S(njb()),c=this.Da("ytp-watermark");g.Bp(c,"ytp-watermark-small",a);g.oh(c);b.Ha(c);this.B=a}};g.w(Nlb,g.S);g.k=Nlb.prototype;g.k.cO=function(){var a=this.api.getPlayerStateObject();!this.api.getVideoData().mutedAutoplay||g.T(a,2)?this.hide():this.Eb||(g.S.prototype.show.call(this),this.api.logVisibility(this.element,this.Eb))};
g.k.O$=function(){this.j&&this.j.hide()};
g.k.onAutoplayBlocked=function(){this.hide();kjb(this.api.getVideoData())};
g.k.onClick=function(){if(!this.B){g.Bp(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();kjb(a);this.api.loadVideoById(a.videoId,b);this.api.LB();this.api.logClick(this.element);this.api.Cd("onMutedAutoplayEnds");this.B=!0}};
g.k.onMutedAutoplayEnds=function(){this.watermark&&(this.watermark.xa(),this.watermark=null)};g.w(y5,g.S);y5.prototype.hide=function(){g.zp(this.api.getRootNode(),"ytp-expand-pause-overlay");g.S.prototype.hide.call(this)};
y5.prototype.G=function(){this.B=!0;g.zp(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.kd()&&this.api.logVisibility(this.element,!1);this.expandButton.focus()};
y5.prototype.L=function(){this.B=!1;g.xp(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.kd()&&this.api.logVisibility(this.element,!0);this.focus()};
y5.prototype.Ta=function(){var a=this.api.getPlayerStateObject();g.T(a,1)||g.T(a,16)||g.T(a,32)||(!g.T(a,4)||g.T(a,2)||g.T(a,1024)?(this.B||this.api.logVisibility(this.element,!1),this.D.hide()):this.j.suggestionData.length>0&&(this.B||(g.xp(this.api.getRootNode(),"ytp-expand-pause-overlay"),g.z1(this.j),this.j.show(),this.api.logVisibility(this.element,!0)),this.D.show()))};g.w(z5,g.S);z5.prototype.show=function(){g.S.prototype.show.call(this);this.api.logVisibility(this.element,!0)};
z5.prototype.xa=function(){A5(this);g.S.prototype.xa.call(this)};g.w(Rlb,g.kY);g.k=Rlb.prototype;g.k.On=function(){return!1};
g.k.create=function(){var a=this.K.V(),b=g.dS(this.K),c,d=(c=this.K.getVideoData())==null?void 0:c.clientPlaybackNonce;d&&g.vA({clientPlaybackNonce:d});a.Za&&!a.disableOrganicUi&&Tlb(this);var e;this.K.N("embeds_enable_emc3ds_muted_autoplay")&&((e=a.getWebPlayerContextConfig())==null?0:e.embedsEnableEmc3ds)||(this.W=new Nlb(this.K),g.P(this,this.W),g.sS(this.K,this.W.element,4),this.ra=new w5(this.K),g.P(this,this.ra),g.sS(this.K,this.ra.element,4));a.Ld&&(this.watermark=new x5(this.K),g.P(this,this.watermark),
g.sS(this.K,this.watermark.element,8));b&&!a.disableOrganicUi&&(this.L=new Ilb(this.K,b),g.P(this,this.L),g.sS(this.K,this.L.element,8),this.K.isMutedByEmbedsMutedAutoplay()&&(this.onMutedAutoplayStarts(),this.L.hide()));a.B&&!a.disableOrganicUi&&(this.qa=new v5(this.K),g.P(this,this.qa),g.sS(this.K,this.qa.element,4));this.j.T(this.K,"appresize",this.lc);this.j.T(this.K,"presentingplayerstatechange",this.Ei);this.j.T(this.K,"videodatachange",this.onVideoDataChange);this.j.T(this.K,"videoplayerreset",
this.onReset);this.j.T(this.K,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.T(this.K,"onAdStart",this.onAdStart);this.j.T(this.K,"onAdComplete",this.onAdComplete);this.j.T(this.K,"onAdSkip",this.onAdSkip);this.j.T(this.K,"onAdStateChange",this.onAdStateChange);if(this.U=g.Bs(g.SP(a)))this.countdownTimer=new z5(this.K),g.P(this,this.countdownTimer),g.sS(this.K,this.countdownTimer.element,4),this.countdownTimer.hide(),this.j.T(this.K,g.DE("embeds"),this.onCueRangeEnter),this.j.T(this.K,
g.EE("embeds"),this.onCueRangeExit);this.Fc(this.K.getPlayerStateObject());this.player.Mg("embed");var f,h;((f=this.K.V().getWebPlayerContextConfig())==null?0:(h=f.embedsHostFlags)==null?0:h.allowOverridingVisitorDataPlayerVars)&&(a=g.lr("IDENTITY_MEMENTO"))&&this.K.xf("onMementoChange",a)};
g.k.onCueRangeEnter=function(a){a.getId()==="countdown timer"&&this.countdownTimer&&(this.countdownTimer.show(),Plb(this.countdownTimer))};
g.k.onCueRangeExit=function(a){a.getId()==="countdown timer"&&this.countdownTimer&&(A5(this.countdownTimer),this.countdownTimer.hide())};
g.k.lc=function(){var a=this.K.qb().getPlayerSize();this.Eg&&this.Eg.resize(a)};
g.k.onReset=function(){Qlb(this)};
g.k.Ei=function(a){this.Fc(a.state)};
g.k.Fc=function(a){g.T(a,128)?(this.Eg||(this.Eg=new u5(this.K),g.P(this,this.Eg),g.sS(this.K,this.Eg.element,4)),this.Eg.B(a.Xg),this.Eg.show(),g.xp(this.K.getRootNode(),"ytp-embed-error")):this.Eg&&(this.Eg.dispose(),this.Eg=null,g.zp(this.K.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.T(a,64))this.countdownTimer.hide(),A5(this.countdownTimer);else if(a.isPaused()){var b=this.countdownTimer;b.B||(b.B=!0,b.G=(0,g.Ut)())}else a.isPlaying()&&this.countdownTimer.B&&
(b=this.countdownTimer,b.B&&(b.D+=(0,g.Ut)()-b.G,b.B=!1,Olb(b)));Slb(this,a)};
g.k.onMutedAutoplayStarts=function(){this.K.getVideoData().mutedAutoplay&&this.W&&g.Bp(this.K.getRootNode(),"ytp-muted-autoplay",!0)};
g.k.onVideoDataChange=function(a,b){var c=this.AG!==b.videoId;a=!c&&a==="dataloaded";var d={isShortsModeEnabled:!!this.K.kd()};g.Ct("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:d});c&&(this.AG=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.hide()),this.U&&(this.K.df("embeds"),b.isAd()||b.limitedPlaybackDurationInSeconds<5||g.pS(this.K)||(b=Math.max((b.startSeconds+b.limitedPlaybackDurationInSeconds-5)*1E3,0),
b=new g.BE(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.K.Re([b]))),this.K.V().Za&&!this.K.V().disableOrganicUi&&(Qlb(this),Tlb(this)));this.K.V().C&&this.C&&this.C.detach()};
g.k.onAdStart=function(){B5(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")};
g.k.onAdComplete=function(){B5(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")};
g.k.onAdSkip=function(){B5(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")};
g.k.onAdStateChange=function(a){a===2&&B5(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.jY("embed",Rlb);})(_yt_player);
