Files

255 lines
52 KiB
JavaScript
Executable File

(function(g){var window=this;/*
Copyright Google LLC All Rights Reserved.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE file at https://angular.io/license
*/
/*
SPDX-License-Identifier: Apache-2.0 */
/*
Copyright 2017 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
'use strict';var yob=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.sT(a)},zob=function(){return{I:"svg",
Y:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},V:[{I:"path",zc:!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"}}]}},
Aob=function(a){var b=t5;
try{return t5=!1,a()}finally{t5=b}},Bob=function(a,b){var c=g.Ia.apply(2,arguments),d;
b=null!=(d=b)?d:{};return{type:a,props:b,children:c}},Cob=function(a){return a.children},Dob=function(a){var b={},c;
for(c in a)b={FZ:void 0,rY:void 0},b.FZ=u5[c],b.rY=a[c],u5[c]=function(d){return function(){var e=g.Ia.apply(0,arguments);d.FZ.apply(null,g.na(e));d.rY.apply(null,g.na(e))}}(b)},Eob=function(a,b){return Object.is(a,b)},v5=function(a){var b=Fob;
Fob=a;return b},Gob=function(a){a.Vl=!0;
if(void 0!==a.ek){var b=w5;w5=!0;try{for(var c=g.u(a.ek),d=c.next();!d.done;d=c.next()){var e=d.value;e.Vl||Gob(e)}}finally{w5=b}}var f;null==(f=a.wV)||f.call(a,a)},Hob=function(a){a&&(a.HP=0);
return v5(a)},Kob=function(a,b){v5(b);
if(a&&void 0!==a.pk&&void 0!==a.Ar&&void 0!==a.WA){if(Iob(a))for(b=a.HP;b<a.pk.length;b++)Job(a.pk[b],a.Ar[b]);for(;a.pk.length>a.HP;)a.pk.pop(),a.WA.pop(),a.Ar.pop()}},Lob=function(a){x5(a);
for(var b=0;b<a.pk.length;b++){var c=a.pk[b],d=a.WA[b];if(d!==c.version)return!0;if(!Iob(c)||c.Vl)if(c.Vl||1!==c.HX)(c.IZ(c)||Lob(c))&&c.JZ(c),c.Vl=!1,c.HX=1;if(d!==c.version)return!0}return!1},Job=function(a,b){null!=a.ek||(a.ek=[]);
null!=a.lw||(a.lw=[]);x5(a);if(1===a.ek.length)for(var c=0;c<a.pk.length;c++)Job(a.pk[c],a.Ar[c]);c=a.ek.length-1;a.ek[b]=a.ek[c];a.lw[b]=a.lw[c];a.ek.length--;a.lw.length--;b<a.ek.length&&(c=a.lw[b],a=a.ek[b],x5(a),a.Ar[c]=b)},Iob=function(a){var b,c;
return a.vV||0<(null!=(c=null==a?void 0:null==(b=a.ek)?void 0:b.length)?c:0)},x5=function(a){null!=a.pk||(a.pk=[]);
null!=a.Ar||(a.Ar=[]);null!=a.WA||(a.WA=[])},Pob=function(a,b){function c(e){d.My=e}
var d=Object.create(Mob);d.Js=a;d.schedule=b;a={};d.YA=(a.notify=function(){return Gob(d)},a.gB=function(){if(null!==d.Js){if(w5)throw Error("Schedulers cannot synchronously execute watches while scheduling.");
d.Vl=!1;if(!d.fX||Lob(d)){d.fX=!0;var e=Hob(d);try{d.My(),d.My=Nob,d.Js(c)}finally{Kob(d,e)}}}},a.Mjb=function(){return d.My()},a.destroy=function(){if(null!==d.Js||null!==d.schedule){x5(d);
if(Iob(d))for(var e=0;e<d.pk.length;e++)Job(d.pk[e],d.Ar[e]);d.pk.length=d.WA.length=d.Ar.length=0;d.ek&&(d.ek.length=d.lw.length=0);d.My();d.Js=null;d.schedule=null;d.My=Nob}},a[Oob]=d,a);
return d.YA},Nob=function(){},z5=function(a,b){var c=y5;
y5=a;try{return b()}finally{y5=c}},Sob=function(a){function b(){return void Qob(c)}
var c=Rob();z5(c,function(){return void a(b,c)})},Tob=function(a){var b=y5;
if(!b)throw Error("The onCleanup function was called outside of an ownership context, meaning it will never be run. Make sure that onCleanup is being called within a reaction or onInit callback.");b.MC||(b.MC=[]);b.MC.push(a)},Rob=function(){var a={};
Uob(a);return a},Uob=function(a){var b=y5;
b&&(b.OE||(b.OE=[]),b.OE.push(a))},Vob=function(a){var b;
null==(b=a.OE)||b.forEach(Qob);a.OE&&(a.OE=[]);if(a.MC){b=g.u(a.MC);for(var c=b.next();!c.done;c=b.next())c=c.value,c();a.MC=[]}},Qob=function(a){if(!a.isDisposed){a.isDisposed=!0;
var b;null==(b=a.a9)||b.call(a);Vob(a)}},Wob=function(a){var b=v5(null);
try{return a()}finally{v5(b)}},Yob=function(a){var b=v5(Xob);
try{return a()}finally{v5(b)}},$ob=function(a){a.isDisposed||Zob.add(a)},apb=function(a){a.isDisposed||(A5.add(a),1===A5.size&&Promise.resolve().then(function(){for(var b=g.u(A5),c=b.next();!c.done;c=b.next())c=c.value,A5.delete(c),c.gB()}))},B5=function(a,b){var c=Pob(function(){var d=c;
d.isDisposed||(Vob(d),z5(d,b))},a);
Uob(c);c.a9=function(){c.destroy();Zob.delete(c);Qob(c)};
return c},bpb=function(a){var b;
B5($ob,function(){b=Wob(function(){return a()})}).gB();
return b},cpb=function(a){a=B5(apb,a);
apb(a)},C5=function(a){this.props=a;
this.B=!1},dpb=function(){},D5=function(a,b){for(;a.length>b;)a.pop()},epb=function(a){a=Array(a);
D5(a,0);return a},fpb=function(a,b,c){if(null==c)a.removeAttribute(b);
else{var d=0===b.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===b.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null;d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}},hpb=function(a,b,c){a=a.style;
if("string"===typeof c)a.cssText=c;else{a.cssText="";for(var d in c)if(gpb.call(c,d)){b=a;var e=d,f=c[d];0<=e.indexOf("-")?b.setProperty(e,f):b[e]=f}}},ipb=function(a,b,c){var d=typeof c;
"object"===d||"function"===d?a[b]=c:fpb(a,b,c)},jpb=function(){var a=new dpb;
a.__default=ipb;a.style=hpb;return a},kpb=function(a,b,c,d){(d[b]||d.__default)(a,b,c)},lpb=function(a){this.created=[];
this.j=[];this.node=a},mpb=function(a,b){this.j=null;
this.B=a;this.key=b;this.text=void 0},npb=function(a,b,c){b=new mpb(b,c);
return a.__incrementalDOMData=b},E5=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;
var c=1===a.nodeType?a.localName:a.nodeName,d=1===a.nodeType?a.getAttribute("key"):null;b=npb(a,c,1===a.nodeType?d||b:null);if(1===a.nodeType&&(a=a.attributes,c=a.length)){d=b.j||(b.j=epb(2*c));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},opb=function(a,b,c,d,e){return b==c&&d==e},I5=function(a){for(var b=F5,c=G5();c!==a;){var d=c.nextSibling;
b.removeChild(c);H5.j.push(c);c=d}},G5=function(){return J5?J5.nextSibling:F5.firstChild},ppb=function(a,b){J5=G5();
var c;a:{if(c=J5){do{var d=c,e=a,f=b,h=E5(d,f);if(K5(d,e,h.B,f,h.key))break a}while(b&&(c=c.nextSibling))}c=null}c||("#text"===a?(a=L5.createTextNode(""),npb(a,"#text",null)):(c=L5,d=F5,"function"===typeof a?c=new a:c=(d="svg"===a?"http://www.w3.org/2000/svg":"math"===a?"http://www.w3.org/1998/Math/MathML":null==d||"foreignObject"===E5(d).B?null:d.namespaceURI)?c.createElementNS(d,a):c.createElement(a),npb(c,a,b),a=c),H5.created.push(a),c=a);a=c;if(a!==J5){if(0<=M5.indexOf(a))for(b=F5,c=a.nextSibling,
d=J5;null!==d&&d!==a;)e=d.nextSibling,b.insertBefore(d,c),d=e;else F5.insertBefore(a,J5);J5=a}},qpb=function(a,b){ppb(a,b);
F5=J5;J5=null;return F5},spb=function(a,b){b=void 0===b?{}:b;
var c=void 0===b.matches?opb:b.matches;return function(d,e,f){var h=H5,l=L5,m=M5,n=N5,p=J5,q=F5,r=K5;L5=d.ownerDocument;H5=new lpb(d);K5=c;N5=[];J5=null;var t=F5=d.parentNode,v,x=rpb.call(d);if((v=11===x.nodeType||9===x.nodeType?x.activeElement:null)&&d.contains(v)){for(x=[];v!==t;)x.push(v),v=v.parentNode||(t?v.host:null);t=x}else t=[];M5=t;try{return a(d,e,f)}finally{d=H5,O5&&0<d.j.length&&O5(d.j),L5=l,H5=h,K5=r,N5=n,J5=p,F5=q,M5=m}}},tpb=function(a,b,c,d){P5.push(kpb);
P5.push(a);P5.push(b);P5.push(c);P5.push(d)},upb=function(a){ppb("#text",null);
var b=J5;var c=E5(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)}},wpb=function(a){vpb.push(a);
if(a.attributes){var b=a.attributes,c;for(c in b)Q5.attributes[c]=b[c](Q5.attributes[c])}a.QZ&&Dob(a.QZ)},xpb=function(){if(t5)throw Error("Reactive components are not allowed to use useState or other memoization based hooks.");
return R5},zpb=function(a){C5.call(this,a);
var b=this;this.Bz=[];this.D=0;Sob(function(c,d){b.G=c;b.yH=d;Tob(function(){ypb(b,b.el)})})},ypb=function(a,b){if(!a.B&&b){a.B=!0;
u5.sH(a);try{a.sH()}catch(e){var c,d;null==(d=Q5.KD)||d.call(Q5,null==(c=a.j)?void 0:c.tC,e)}a.el=null;b.__instance&&delete b.__instance}},Apb=function(a){for(var b=0;b<a.length;b++){var c=void 0,d=void 0,e=void 0,f=a[b];
f&&(null==(e=f._disposeRef)||e.call(f),null==(d=f.FG)||d.call(f),f.__instance&&(d=f.__instance,ypb(d,f),null==(c=d.G)||c.call(d)),Apb(f.childNodes))}},Cpb=function(a){1===Bpb.push(a)&&requestAnimationFrame(function(){setTimeout(function(){var b=[].concat(g.na(Bpb));
Bpb=[];b=g.u(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{Apb(c)}catch(e){var d=c=void 0;null==(d=(c=Q5).KD)||d.call(c,"unknown",e)}}})})},T5=function(a,b){return S5.apply(null,[a,
b].concat(g.na(g.Ia.apply(2,arguments))))},Dpb=function(a){Aob(function(){a:{var b=S5;
S5=Bob;try{var c=a();break a}finally{S5=b}c=void 0}return c})},Gpb=function(a,b,c){if(Object.hasOwnProperty.call(Epb,a)&&(a=Epb[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.di;
if(!m)return l.zd;null===d&&(d={});m=Object.hasOwnProperty.call(d,m)?d[m]:d[m]=c(m);if(m===l.Li)return l.zd;null==m&&(e=!0)}if(e)return null}b=Fpb[b];return"number"===typeof b?b:null},Ipb=function(a,b,c){if(null===c||void 0===c)return c;
var d=Gpb(a.tagName.toLowerCase(),b,function(){throw Error("Contingent attribute/property lookups are not supported.");});
if(null===d)return c;d=Hpb[d];var e;if(null==(e=d.zt)?0:e.call(d,c)){if(d.Or)return d.Or(c);throw Error("Value Handler's unwrap function does not exist.");}return d.Aq?d.Aq(a.tagName,b,String(c)):c},Kpb=function(a,b){var c=Jpb;
null==a.FG&&null!=a.GG&&Sob(function(d){a.FG=d;B5($ob,function(){for(var e=a.GG,f=[],h=0;h<e.length;h++){var l=e[h],m=b[l]();f[h]!==m&&(f[h]=m,c(a,l,m))}}).gB()})},Lpb=function(a,b){Sob(function(c){a.p4=!0;
a.FG=c;B5($ob,function(){var d=b();null==d&&(d="");var e=typeof d;if("object"===e||"function"===e)throw Error("Invalid text node kind: "+e+". Text nodes must be primitives like numbers, strings, or null, but an object type was passed");a.textContent=String(d)}).gB()})},Jpb=function(a,b,c){!1===c&&Mpb.has(b)?fpb(a,b,null):"idomKey"!==b&&"skip"!==b&&"skipchildren"!==b&&"children"!==b&&"el"!==b&&(b.startsWith("on")?":"===b[2]?a["on"+b.slice(3)]=c.k6(0):Npb(a,b,c):"function"!==typeof c||null!=a.FG?(Q5.D5&&
(c=Ipb(a,b,c)),"style"===b?Opb(a,b,c):b.startsWith("prop:")?a[b.slice(5)]=c:Npb(a,b,c)):(a.GG||(a.GG=[]),a.GG.push(b)))},Ppb=function(a,b){var c={}.plb;
if(null==b?0:b.el){var d=b.el;if("function"===typeof d)d(a);else{var e;null==(e=d.d$)||e.call(d,a);a._disposeRef||(a._disposeRef=function(){var f;null==(f=d.W$)||f.call(d);delete a._disposeRef},c&&Tob(function(){var f;
return void(null==(f=a._disposeRef)?void 0:f.call(a))}))}}},Qpb=function(a){if("function"===typeof a.children)return a.children(),null;
a=g.u(a.children);for(var b=a.next();!b.done;b=a.next())b=b.value,b();return null},Tpb=function(a,b,c){((void 0===c?0:c)?Rpb:Spb)(a,function(){U5(b)})},U5=function(a){if(void 0!==a&&null!==a)if(Array.isArray(a)){a=g.u(a);
for(var b=a.next();!b.done;b=a.next())U5(b.value)}else if(a instanceof g.Sd||a instanceof g.Vd||a instanceof g.ce)upb(a.toString());else if(a instanceof Node){if(G5()!==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);J5=G5()}else{var c=typeof a;if("boolean"===c||"number"===c||"string"===c)upb(a);else if("function"===typeof a){b=F5;var d=
G5();if(!d||!d.p4){var e=b.insertBefore,f=document.createTextNode("");Lpb(f,a);e.call(b,f,d)}J5=G5()}else{if("string"===typeof a.type){a.tq||qpb(a.type,a.props.idomKey);d=F5;for(var h in a.props)a.props[h]!==Upb&&(e=a.props[h],f=N5,f.push(h),f.push(e));e=Q5.attributes;e=void 0===e?Vpb:e;f=F5;var l=E5(f),m=e;e=N5;l=l.j||(l.j=epb(e.length));for(var n=!l.length||!1,p=0;p<e.length;p+=2){h=e[p];if(n)l[p]=h;else if(l[p]!==h)break;var q=e[p+1];if(n||l[p+1]!==q)l[p+1]=q,tpb(f,h,q,m)}if(p<e.length||p<l.length){for(p=
n=p;p<l.length;p+=2)V5[l[p]]=l[p+1];for(p=n;p<e.length;p+=2)n=e[p],h=e[p+1],V5[n]!==h&&tpb(f,n,h,m),l[p]=n,l[p+1]=h,delete V5[n];D5(l,e.length);for(b in V5)tpb(f,b,void 0,m),delete V5[b]}b=Wpb;Wpb=f=P5.length;for(m=b;m<f;m+=5)(0,P5[m])(P5[m+1],P5[m+2],P5[m+3],P5[m+4]);Wpb=b;D5(P5,b);D5(e,0);Kpb(d,a.props);(a.props.skip||a.props.skipchildren)&&F5.hasChildNodes()?J5=F5.lastChild:U5(a.children);I5(null);J5=F5;F5=F5.parentNode;a.tq&&(a.tq=!1);Ppb(d,a.props);return d}if(a.type===Cob)U5(a.children);else{try{f=
a.type;var r=f.tC;if(f===Qpb)a.props.children=a.children,f(a.props);else{0<a.children.length&&(a.props.children=a.children);var t;(t=a.props).idomKey||(t.idomKey=f);b=!1;if(r){var v=qpb(r,a.props.idomKey);a.tq=!0;m=v.__instance}if(!m){b=!0;var x=a.props,B;if(void 0===(null==(B=f.prototype)?void 0:B.bB)){var F=new zpb(x);F.C=f}else F=new f(x);F.j=f;F.iM={IP:F.state,SO:!1};m=F;m.props=null;v&&(v.__instance=m,m.el=v)}var G,I=null!=(G=m.iM)?G:{IP:m.state,SO:!1},L=I.SO,P=I.IP;m.iM=void 0;f.g6&&(P=f.g6(a.props,
P));b=!b&&!L&&!1;m.props=a.props;m.state=P;if(b)J5=F5.lastChild;else{b=m;u5.bV(b);var X=b.bB(b.props);X?(b.props.idomKey&&(X.props.idomKey=b.props.idomKey),q=X):q=void 0;if(b=q)if(b.tq=a.tq,l=U5(b),a.tq=b.tq,!f.tC)if(l)f.tC=l.tagName.toLowerCase(),l.__instance=m,m.el=l;else if(null==(p=m.Bz)?0:p.length)null==(n=Q5.KD)||n.call(Q5,"unknown",Error("A component used hooks, but failed to return a host element"));m.rH();u5.rH(m)}}}catch(ka){b=ka,null==(e=Q5.KD)||e.call(Q5,null==(d=a.type)?void 0:d.tC,b)}a.tq&&
(I5(null),J5=F5,F5=F5.parentNode,a.tq=!1)}}}},Xpb=function(a){cpb(function(){if(void 0!==Wob(a))throw Error("Reactive components do not support returning a cleanup function from onInit. Use onCleanup instead.");
})},Ypb=function(a){var b=xpb();
if(null==b)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.Bz||(b.Bz=[]);var d=b.Bz;d[c]||(d[c]={key:a,host:b});if(a!==d[c].key){var e,f;a=(null==(e=b.j)?void 0:e.name)||(null==(f=b.C)?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]},
Zpb=function(a,b){return!a||a.length!==(null==b?void 0:b.length)||a.some(function(c,d){return c!==b[d]})},$pb=function(a,b){var c=Ypb("onChange"),d=xpb();
Zpb(c.Ag,b)&&(c.Ag=b,c.sZ=a,d.By||(d.By=[]),d.By.push(c))},W5=function(a,b){$pb(function(){return bpb(a)},b)},aqb=function(a){t5?Xpb(a):$pb(function(){return Aob(function(){return bpb(a)})},[])},cqb=function(a){var b=[].concat(g.na(a));
a.length=0;a=g.u(b);for(b=a.next();!b.done;b=a.next()){b=b.value;bqb(b);var c=b.sZ;b.sZ=null;if(c=null==c?void 0:c())b.rZ=c}},bqb=function(a){var b=a.rZ;
a.rZ=null;null==b||b()},dqb=function(a){var b=null,c;
return{value:null,d$:function(d){if(c&&d!==c){var e;null==(e=b)||e();c._disposeRef=void 0}c=d;b=a(d)||null},
W$:function(){var d;null==(d=b)||d()}}},X5=function(a){var b=[];
if(t5)return a();var c=Ypb("useMemoInternal");Zpb(c.Ag,b)&&(c.Ag=b,c.value=a());return c.value},Y5=function(){var a=X5(function(){return dqb(function(b){a.value=b;
return function(){a.value=null}})});
return a},eqb=function(a){var b=y5;
return{k6:function(){return function(c){!0!==z5(b,function(){return bpb(function(){return a(c)})})&&c.stopPropagation()}}}},fqb=function(a){var b=xpb(),c=X5(function(){return{value:"function"===typeof a?a():a}});
return[c.value,function(d){if(null!==R5)throw Error("Can't set state during rendering");c.value="function"===typeof d?d(c.value):d;b.iM={IP:b.state,SO:!0};z5(b.yH,function(){Dpb(function(){if(b.el){var e,f={props:b.props,type:b.j,children:null!=(e=b.props.children)?e:[]};try{Tpb(b.el,f,!0)}catch(m){var h,l;null==(l=Q5.KD)||l.call(Q5,null==(h=b.j)?void 0:h.tC,m)}}})})}]},gqb=function(){return X5(function(){var a=null;
return{get value(){return a},set value(b){if(null!==R5)throw Error("Can't update value during rendering");a=b}}})},kqb=function(a){var b=hqb;
iqb.push(a);jqb||(b(function(){for(var c=g.u(iqb),d=c.next();!d.done;d=c.next())d=d.value,d();iqb.length=0;jqb=!1}),jqb=!0)},hqb=function(a){Promise.resolve().then(a)},lqb=function(a){a=g.u(fqb(a));
var b=a.next().value,c=a.next().value;return[b,function(d){kqb(function(){c(d)})}]},mqb=function(a){function b(){var l=g.EU(a.J)?"Ocultar m\u00e1s Shorts":"Ocultar m\u00e1s v\u00eddeos";
e(l)}
var c=g.u(fqb("Ocultar m\u00e1s v\u00eddeos")),d=c.next().value,e=c.next().value;W5(function(){var l=a.J;l.addEventListener("videodatachange",b);return function(){l.removeEventListener("videodatachange",b)}},[a.J]);
var f=X5(function(){return(new g.qG(g.DG())).element}),h=Y5();
aqb(function(){h.value.appendChild(f)});
return T5("button",{class:"ytp-button ytp-collapse","aria-label":d,"on:click":eqb(function(){a.action&&a.action()})},T5("div",{class:"ytp-collapse-icon",
el:h,skip:!0}))},nqb=function(a){function b(){var h=g.EU(a.J)?"M\u00e1s Shorts":"M\u00e1s v\u00eddeos";
e(h)}
var c=g.u(lqb("M\u00e1s v\u00eddeos")),d=c.next().value,e=c.next().value,f=Y5();W5(function(){a.YA&&(a.YA.value=f.value)},[a.YA]);
W5(function(){var h=a.J;h.addEventListener("videodatachange",b);return function(){h.removeEventListener("videodatachange",b)}},[a.J]);
return T5("button",{el:f,class:"ytp-button ytp-expand","on:click":eqb(function(){a.action&&a.action()})},d)},oqb=function(a,b){var c=gqb();
W5(function(){var d=new g.x2(a);d.B=!0;c.value=d;return function(){var e;null==(e=c.value)||e.dispose()}},[a,
b]);return c},pqb=function(a){function b(x){a:{var B=g.u([1,
16,32]);for(var F=B.next();!F.done;F=B.next())if(g.cH(x,F.value)){B=!0;break a}B=!1}if(!B){var G;null!=(G=p.value)&&G.OD()&&h(g.cH(x,4)&&!g.cH(x,2)&&!g.cH(x,1024))}}
function c(){b(a.J.Vb())}
function d(x){b(x.state)}
var e=g.u(lqb(!1)),f=e.next().value,h=e.next().value,l=g.u(lqb(!1));e=l.next().value;var m=l.next().value,n=Y5(),p=oqb(a.J,a.Ae),q=Y5();l=gqb();var r=gqb();W5(function(){var x=a.J,B=g.EU(x)?157212:172777;r.value=new g.H;x.createClientVe(q.value,r.value,B);x.addEventListener("presentingplayerstatechange",d);x.addEventListener("videodatachange",c);B="0"===x.U().controlsType;g.hv(x.getRootNode(),"ytp-pause-overlay-controls-hidden",B);return function(){x.removeEventListener("videodatachange",c);x.removeEventListener("presentingplayerstatechange",
d);var F;null==(F=r.value)||F.dispose()}},[a.J]);
W5(function(){var x;null==(x=p.value)||x.Ja(n.value)},[p]);
var t=a.J;if(f)if(g.hv(t.getRootNode(),"ytp-expand-pause-overlay",!e),e)l.value.focus();else{var v=p.value;g.y2(v);v.show();q.value.focus()}q.value&&t.logVisibility(q.value,f&&!e);return T5("ytp-pause-overlay",{el:q,class:"ytp-pause-overlay","aria-hidden":!f},T5(mqb,{J:a.J,Ae:a.Ae,action:function(){m(!0)}}),T5(nqb,{J:a.J,
Ae:a.Ae,action:function(){m(!1)},
YA:l}),T5("div",{el:n,skip:!0}))},qqb=function(a){g.S.call(this,{I:"div",
S:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.K=this.B=0;this.G=new g.kL(this);this.j=[];this.suggestionData=[];this.columns=this.containerWidth=0;this.title=new g.S({I:"h2",S:"ytp-related-title",ya:"{{title}}"});this.previous=new g.S({I:"button",Ma:["ytp-button","ytp-previous"],Y:{"aria-label":"Mostrar v\u00eddeos sugeridos previamente"},V:[g.zG()]});this.ma=new g.w2(function(f){b.suggestions.element.scrollLeft=-f});
this.D=this.C=0;this.N=!0;this.next=new g.S({I:"button",Ma:["ytp-button","ytp-next"],Y:{"aria-label":"Mostrar m\u00e1s v\u00eddeos sugeridos"},V:[g.AG()]});g.J(this,this.G);a=a.U();this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.dv(this.element,"ytp-error-overlay-round-corners");this.W=a.D;g.J(this,this.title);this.title.Ja(this.element);this.suggestions=new g.S({I:"div",S:"ytp-suggestions"});g.J(this,this.suggestions);this.suggestions.Ja(this.element);g.J(this,this.previous);this.previous.Ja(this.element);
this.previous.Qa("click",this.K1,this);g.J(this,this.ma);for(var c={Fz:0};16>c.Fz;c={Fz:c.Fz},c.Fz++){var d=new g.S({I:"a",S:"ytp-suggestion-link",Y:{href:"{{link}}",target:a.W,"aria-label":"{{aria_label}}"},V:[{I:"div",S:"ytp-suggestion-image",V:[{I:"div",Y:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration",ya:"{{duration}}"}]},{I:"div",S:"ytp-suggestion-title",Y:{title:"{{hover_title}}"},ya:"{{title}}"},{I:"div",S:"ytp-suggestion-author",ya:"{{views_or_author}}"}]});g.J(this,d);d.Ja(this.suggestions.element);
var e=d.Ga("ytp-suggestion-link");g.is(e,"transitionDelay",c.Fz/20+"s");this.G.T(e,"click",function(f){return function(h){var l=f.Fz,m=b.suggestionData[l],n=m.sessionData;g.oS(b.api.U())&&b.api.L("web_player_log_click_before_generating_ve_conversion_params")?(b.api.logClick(b.j[l].element),l=m.Pk(),m={},g.BTa(b.api,m,"emb_rel_err"),l=g.Ql(l,m),g.dV(l,b.api,h)):g.cV(h,b.api,b.W,n||void 0)&&b.api.Ho(m.videoId,n,m.playlistId)}}(c));
this.j.push(d)}g.J(this,this.next);this.next.Ja(this.element);this.next.Qa("click",this.J1,this);this.G.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.qb().getPlayerSize());this.onVideoDataChange();this.show()},rqb=function(a,b){if(a.api.U().L("web_player_log_click_before_generating_ve_conversion_params"))for(var c=Math.floor(-a.C/(a.D+a.B)),d=Math.min(c+a.columns,a.suggestionData.length)-1;c<=d;c++)a.api.logVisibility(a.j[c].element,b)},sqb=function(a){a.next.element.style.bottom=
a.K+"px";
a.previous.element.style.bottom=a.K+"px";var b=a.C,c=a.containerWidth-a.suggestionData.length*(a.D+a.B);g.hv(a.element,"ytp-scroll-min",0<=b);g.hv(a.element,"ytp-scroll-max",b<=c)},tqb=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.Pk(),h=a.api.U();
if(g.oS(h)&&!h.L("web_player_log_click_before_generating_ve_conversion_params")){var l={};g.oU(a.api,"addEmbedsConversionTrackingParams",[l]);f=g.Ql(f,g.LP(l,"emb_rel_err"))}d.element.style.display="";l=d.Ga("ytp-suggestion-title");g.uv.test(c.title)?l.dir="rtl":g.Wgb.test(c.title)&&(l.dir="ltr");l=d.Ga("ytp-suggestion-author");g.uv.test(e)?l.dir="rtl":g.Wgb.test(e)&&(l.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?"En directo":c.lengthSeconds?g.mH(c.lengthSeconds):"",link:f,hover_title:c.title,
title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback});e=d.Ga("ytp-suggestion-image");f=c.Xg();e.style.backgroundImage=f?"url("+f+")":"";h.L("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";sqb(a)},Z5=function(a){g.oW.call(this,a);
var b=this;this.j=null;var c=a.U(),d={target:c.W},e=["ytp-small-redirect"];c.C?e.push("no-link"):(c=g.KS(c),d.href=c,d["aria-label"]="Ve a YouTube para buscar m\u00e1s v\u00eddeos");var f=new g.S({I:"a",Ma:e,Y:d,V:[{I:"svg",Y:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},V:[{I:"path",Y:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"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.Ja(this.element);a.createClientVe(f.element,this,178053);this.T(f.element,"click",function(h){uqb(b,h,f.element)});
g.J(this,f);a.U().C||(this.j=new qqb(a),this.j.Ja(this.element),g.J(this,this.j));this.T(a,"videodatachange",function(){b.show()});
this.resize(this.api.qb().getPlayerSize())},uqb=function(a,b,c){b.preventDefault();
a.api.logClick(c);b=c.getAttribute("href");c={};g.oU(a.api,"addEmbedsConversionTrackingParams",[c]);b=g.id(c)?b:g.Ql(b,c);g.ho(b)},vqb=function(a,b){a.Ga("ytp-error-content").style.paddingTop="0px";
var c=a.Ga("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"},yqb=function(a,b){var c=a.api.U(),d;
b.reason&&(wqb(b.reason)?d=g.yG(b.reason):d=g.pW(g.xG(b.reason)),a.Zd(d,"content"));var e;b.subreason&&(wqb(b.subreason)?e=g.yG(b.subreason):e=g.pW(g.xG(b.subreason)),a.Zd(e,"subreason"));if(b.proceedButton&&b.proceedButton.buttonRenderer){d=a.Ga("ytp-error-content-wrap-subreason");b=b.proceedButton.buttonRenderer;var f=g.ef("A");if(b.text&&b.text.simpleText&&(e=b.text.simpleText,f.textContent=e,!xqb(d,e)&&(!c.C||c.embedsErrorLinks))){var h;c=null==(h=g.R(null==b?void 0:b.navigationEndpoint,g.JG))?
void 0:h.url;var l;h=null==(l=g.R(null==b?void 0:b.navigationEndpoint,g.JG))?void 0:l.target;c&&(f.setAttribute("href",c),a.api.createClientVe(f,a,178424),a.T(f,"click",function(m){uqb(a,m,f)}));
h&&f.setAttribute("target",h);l=g.ef("DIV");l.appendChild(f);d.appendChild(l)}}},wqb=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},xqb=function(a,b){a=g.Pe("A",a);
for(var c=0;c<a.length;c++)if(a[c].textContent===b)return!0;return!1},$5=function(a,b){g.S.call(this,{I:"a",
Ma:["ytp-impression-link"],Y:{target:"{{target}}",href:"{{url}}","aria-label":"Ver en YouTube"},V:[{I:"div",S:"ytp-impression-link-content",Y:{"aria-hidden":"true"},V:[{I:"div",S:"ytp-impression-link-text",ya:"Ver en"},{I:"div",S:"ytp-impression-link-logo",V:[zob()]}]}]});this.api=a;this.Ae=b;this.updateValue("target",a.U().W);this.api.createClientVe(this.element,this,96714);this.T(this.api,"presentingplayerstatechange",this.lk);this.T(this.api,"videoplayerreset",this.j);this.T(this.element,"click",
this.onClick);this.j()},zqb=function(a){var b={};
g.oU(a.api,"addEmbedsConversionTrackingParams",[b]);return g.Ql(a.api.getVideoUrl(),g.LP(b,"emb_imp_woyt"))},a6=function(a){g.S.call(this,{I:"div",
Ma:["ytp-mobile-a11y-hidden-seek-button"],V:[{I:"button",Ma:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],Y:{"aria-label":"Retroceder 10 segundos","aria-hidden":"false"}},{I:"button",Ma:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],Y:{"aria-label":"Avanzar 10 segundos","aria-hidden":"false"}}]});this.api=a;this.j=this.Ga("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.Ga("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.lk);this.T(this.j,"click",this.B);this.T(this.forwardButton,"click",this.C);this.lk()},b6=function(a){g.S.call(this,{I:"div",
S:"ytp-muted-autoplay-endscreen-overlay",V:[{I:"div",S:"ytp-muted-autoplay-end-panel",V:[{I:"button",Ma:["ytp-muted-autoplay-end-text","ytp-button"],ya:"{{text}}"}]}]});this.api=a;this.D=this.Ga("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.Qa("click",this.onClick);this.hide()},c6=function(a){var b=a.U();
g.S.call(this,{I:"a",Ma:["ytp-watermark","yt-uix-sessionlink"],Y:{target:b.W,href:"{{url}}","aria-label":g.AK("Ver en $WEBSITE",{WEBSITE:g.zS(b)}),"data-sessionlink":"feature=player-watermark"},V:[zob()]});this.api=a;this.j=null;this.B=!1;this.state=a.Vb();a.createClientVe(this.element,this,76758);this.T(a,"videodatachange",this.t0);this.T(a,"videodatachange",this.onVideoDataChange);this.T(a,"presentingplayerstatechange",this.onStateChange);this.T(a,"appresize",this.Zb);this.Dc(this.state);this.onVideoDataChange();
this.Zb(a.qb().getPlayerSize())},Cqb=function(a){g.S.call(this,{I:"div",
S:"ytp-muted-autoplay-overlay",V:[{I:"div",S:"ytp-muted-autoplay-bottom-buttons",V:[{I:"button",Ma:["ytp-muted-autoplay-equalizer","ytp-button"],Y:{"aria-label":"Indicador de reproducci\u00f3n sin sonido"},V:[{I:"div",Ma:["ytp-muted-autoplay-equalizer-icon"],V:[{I:"svg",Y:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},V:[{I:"g",Y:{fill:"#fff"},V:[{I:"rect",S:"ytp-equalizer-bar-left",Y:{height:"9",width:"4",x:"1",y:"7"}},{I:"rect",S:"ytp-equalizer-bar-middle",Y:{height:"14",width:"4",
x:"6",y:"2"}},{I:"rect",S:"ytp-equalizer-bar-right",Y:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});var b=this;this.api=a;this.bottomButtons=this.Ga("ytp-muted-autoplay-bottom-buttons");this.Ga("ytp-muted-autoplay-equalizer");this.C=new g.Qu(this.m7,4E3,this);this.B=!1;a.createClientVe(this.element,this,39306);this.T(a,"presentingplayerstatechange",this.yL);this.T(a,"onMutedAutoplayStarts",function(){Aqb(b);b.yL();Bqb(b);b.B=!1});
this.T(a,"onAutoplayBlocked",this.onAutoplayBlocked);this.Qa("click",this.onClick);this.T(a,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();g.sU(a.app)&&(Aqb(this),this.yL(),Bqb(this));g.J(this,this.C)},Bqb=function(a){a.Ib&&a.j&&(a.j.show(),a.C.start())},Aqb=function(a){a.watermark||(a.watermark=new c6(a.api),g.J(a,a.watermark),a.watermark.Ja(a.bottomButtons,0),g.hv(a.watermark.element,"ytp-muted-autoplay-watermark",!0),a.j=new g.WG(a.watermark,0,!0,100),g.J(a,a.j))},d6=function(a){g.S.call(this,
{I:"div",
S:"ytp-pause-overlay",Y:{tabIndex:"-1"}});var b=this;this.api=a;this.C=new g.kL(this);this.D=new g.WG(this,1E3,!1,100,function(){b.j.B=!1},function(){b.j.B=!0});
this.B=!1;this.expandButton=new g.S({I:"button",Ma:["ytp-button","ytp-expand"],ya:g.EU(this.api)?"M\u00e1s Shorts":"M\u00e1s v\u00eddeos"});"0"===a.U().controlsType&&g.dv(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.dv(this.element,"ytp-pause-overlay-round-corners");g.J(this,this.C);g.J(this,this.D);var c=new g.S({I:"button",Ma:["ytp-button","ytp-collapse"],Y:{"aria-label":g.EU(this.api)?"Ocultar m\u00e1s Shorts":"Ocultar m\u00e1s v\u00eddeos"},
V:[{I:"div",S:"ytp-collapse-icon",V:[g.DG()]}]});g.J(this,c);c.Ja(this.element);c.Qa("click",this.G,this);g.J(this,this.expandButton);this.expandButton.Ja(this.element);this.expandButton.Qa("click",this.K,this);this.j=new g.x2(a);g.J(this,this.j);this.j.B=!1;this.j.Ja(this.element);g.EU(this.api)?this.api.createClientVe(this.element,this,157212):this.api.createClientVe(this.element,this,172777);this.C.T(this.api,"presentingplayerstatechange",this.Ra);this.C.T(this.api,"videodatachange",this.Ra);this.hide()},
e6=function(a){g.S.call(this,{I:"div",
Ma:["ytp-player-content","ytp-iv-player-content"],V:[{I:"div",S:"ytp-countdown-timer",V:[{I:"svg",Y:{height:"100%",version:"1.1",viewBox:"0 0 72 72",width:"100%"},V:[{I:"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)"}},{I:"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)"}}]},{I:"span",S:"ytp-countdown-timer-time",ya:"{{duration}}"}]}]});this.api=a;this.K=this.Ga("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)},Eqb=function(a){a.j||(a.C=5E3,a.D=(0,g.LD)(),a.j=new g.Ou(function(){Dqb(a)},null),Dqb(a))},Dqb=function(a){if(!a.B){var b=Math.min((0,g.LD)()-a.D,a.C);
var c=a.C-b;b=0===a.C?0:Math.max(c/a.C,0);c=Math.round(c/1E3);a.K.setAttribute("stroke-dashoffset",""+-211*(b+1));a.updateValue("duration",c);0>=b&&a.j?f6(a):a.j&&a.j.start()}},f6=function(a){a.j&&(a.j.dispose(),a.j=null,a.B=!1)},Gqb=function(a){g.UV.call(this,a);
this.J=a;this.j=new g.kL(this);this.B=null;this.N=!1;this.countdownTimer=null;this.W=!1;Fqb(this);g.J(this,this.j);this.load()},Iqb=function(a){var b=g.mfb(a.J);
b!==a.W&&(a.W=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.uU(a.J),g.EU(a.J)&&(a.D=new g.S({I:"div",S:"ytp-pause-overlay-backdrop",Y:{tabIndex:"-1"}}),g.J(a,a.D),g.HU(a.J,a.D.element,4),a.B=new g.WG(a.D,1E3,!1,100),g.J(a,a.B),a.D.hide()),a.G=new g.S({I:"div",S:"ytp-pause-overlay-container",Y:{tabIndex:"-1"}}),g.J(a,a.G),a.J.L("embeds_web_enable_keto_pause_overlay")?Tpb(a.G.element,T5(pqb,{J:a.J,Ae:b})):
(a.C=new d6(a.J,b),g.J(a,a.C),a.C.Ja(a.G.element)),g.HU(a.J,a.G.element,4),Hqb(a,a.J.Vb())))},Hqb=function(a,b){a.B&&(!g.cH(b,4)&&!g.cH(b,2)||g.cH(b,1024)?a.B.hide():a.B.show())},Fqb=function(a){var b=a.J;
a=!!g.EU(b);g.hv(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.pU=a},g6=function(a,b){var c=a.J.U();
a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",breakType:0===a.J.getCurrentTime()?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":0===a.J.getPlayerState()?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.Yea(a.J.U().loaderUrl),eventType:b,youtubeHost:g.Kl(a.J.U().Ha)||""};a.embeddedPlayerMode=c.Ea;g.wD("embedsAdEvent",a)};var t5=!1;var u5={Fjb:function(){},
Llb:function(){},
Ijb:function(){},
bV:function(){},
Gjb:function(){},
u5:function(){},
rH:function(){},
sH:function(){},
v5:function(){}};var Fob=null,w5=!1,Oob=Symbol("SIGNAL"),h6={version:0,HX:0,Vl:!1,pk:void 0,WA:void 0,Ar:void 0,HP:0,ek:void 0,lw:void 0,f5:!1,vV:!1,IZ:function(){return!1},
JZ:function(){},
wV:function(){},
Sjb:function(){}};var Jqb=Symbol("UNSET"),Kqb=Symbol("COMPUTING"),Lqb=Symbol("ERRORED");Object.assign({},h6,{value:Jqb,Vl:!0,error:null,TV:Eob,IZ:function(a){return a.value===Jqb||a.value===Kqb},
JZ:function(a){if(a.value===Kqb)throw Error("Detected cycle in computations.");var b=a.value;a.value=Kqb;var c=Hob(a);try{var d=a.Qjb()}catch(e){d=Lqb,a.error=e}finally{Kob(a,c)}b!==Jqb&&b!==Lqb&&d!==Lqb&&a.TV(b,d)?a.value=b:(a.value=d,a.version++)}});Object.assign({},h6,{TV:Eob,value:void 0});var Mob=Object.assign({},h6,{vV:!0,f5:!1,wV:function(a){null!==a.schedule&&a.schedule(a.YA)},
fX:!1,My:Nob});var Xob=Object.create(h6);var y5=null;var Zob=new Set,A5=new Set;C5.prototype.rH=function(){};
C5.prototype.u5=function(){};
C5.prototype.sH=function(){};
C5.prototype.v5=function(){};var gpb=Object.prototype.hasOwnProperty;dpb.prototype=Object.create(null);var Vpb=jpb();var O5=null;var rpb="undefined"!==typeof Node&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};var H5=null,J5=null,F5=null,L5=null,M5=[],K5=opb,N5=[],Spb=function(a){return spb(function(b,c,d){F5=J5=b;J5=null;c(d);I5(null);J5=F5;F5=F5.parentNode;return b},a)}(),Rpb=function(a){return spb(function(b,c,d){var e={nextSibling:b};
J5=e;c(d);F5&&I5(b.nextSibling);return e===J5?null:J5},a)}();var P5=[],Wpb=0;var V5=new dpb;var Q5={attributes:jpb(),KD:function(a,b){throw b;},
flb:function(){return!1},
D5:!0},vpb=[];var R5=null;g.w(zpb,C5);zpb.prototype.bB=function(a){var b=this,c=R5;R5=this;this.D=0;try{return Yob(function(){return z5(b.yH,function(){return b.C(a)})})}finally{R5=c}};var Bpb=[];(function(){var a=O5;O5=function(b){null==a||a(b);Cpb(b)}})();
var S5=Bob;var Mpb=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 Fpb={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-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:11,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},Epb={a:{href:[{zd:3}]},area:{href:[{zd:3}]},audio:{src:[{zd:3}]},button:{formaction:[{zd:3}],
formmethod:[{zd:1}]},form:{action:[{zd:3}],method:[{zd:1}]},iframe:{srcdoc:[{zd:2}]},img:{src:[{zd:3}]},input:{accept:[{zd:1}],formaction:[{zd:3}],formmethod:[{zd:1}],pattern:[{zd:1}],readonly:[{zd:1}],src:[{zd:3}]},link:{href:[{zd:3,di:"rel",Li:"alternate"},{zd:3,di:"rel",Li:"author"},{zd:3,di:"rel",Li:"bookmark"},{zd:3,di:"rel",Li:"canonical"},{zd:3,di:"rel",Li:"cite"},{zd:3,di:"rel",Li:"help"},{zd:3,di:"rel",Li:"icon"},{zd:3,di:"rel",Li:"license"},{zd:3,di:"rel",Li:"next"},{zd:3,di:"rel",Li:"prefetch"},
{zd:3,di:"rel",Li:"dns-prefetch"},{zd:3,di:"rel",Li:"prerender"},{zd:3,di:"rel",Li:"preconnect"},{zd:3,di:"rel",Li:"preload"},{zd:3,di:"rel",Li:"prev"},{zd:3,di:"rel",Li:"search"},{zd:3,di:"rel",Li:"subresource"}]},script:{defer:[{zd:1}]},source:{src:[{zd:3}]},textarea:{readonly:[{zd:1}]},video:{src:[{zd:3}]}};g.Sv.getInstance();var Mqb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,i6={},Hpb=(i6[1]={Aq:null,zt:null,Or:null},i6[2]={Aq:function(){return g.ee.toString()},
zt:function(a){return a instanceof g.fe},
Or:function(a){return g.ge(a)}},i6[3]={Aq:function(a,b,c){return Mqb.test(c)?c:g.ee.toString()},
zt:function(a){return a instanceof g.Vd},
Or:function(a){return g.$d(a)}},i6[4]={Aq:function(){return g.ee.toString()},
zt:function(a){return a instanceof g.Sd},
Or:function(a){return g.Td(a)}},i6[5]={Aq:null,
zt:function(a){return a instanceof g.ce},
Or:function(a){return a.toString()}},i6[7]={Aq:null,
zt:null,Or:null},i6[8]={Aq:null,zt:null,Or:null},i6[10]={Aq:null,zt:function(a){return a instanceof g.Od},
Or:function(a){return a.toString()}},i6);var Nqb=jpb(),Npb=Nqb.__default,Opb=Nqb.style;var Upb=Symbol("ATTR_TAG_VALUE");var Oqb={};wpb({attributes:(Oqb.__default=function(){return Jpb},Oqb.style=function(){return Jpb},Oqb)});wpb({QZ:{bV:function(a){z5(a.yH,function(){var b;(null==(b=a.By)?0:b.length)&&cqb(a.By)})},
rH:function(a){z5(a.yH,function(){var b;(null==(b=a.By)?0:b.length)&&cqb(a.By)})},
sH:function(a){var b;(null==(b=a.Bz)?0:b.length)&&a.Bz.forEach(bqb)}}});var iqb=[],jqb=!1;g.w(qqb,g.S);g.k=qqb.prototype;g.k.hide=function(){this.N=!0;g.S.prototype.hide.call(this);rqb(this,!1)};
g.k.show=function(){this.N=!1;g.S.prototype.show.call(this);rqb(this,!0)};
g.k.isHidden=function(){return this.N};
g.k.J1=function(){this.scrollTo(this.C-this.containerWidth)};
g.k.K1=function(){this.scrollTo(this.C+this.containerWidth)};
g.k.resize=function(a,b){var c=this.api.U(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.j.length);if(150>=Math.min(a.width,a.height)||0===h||!c.Cd)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&&50<m&&(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));50>m||g.DU(this.api)?this.hide():this.show();for(b=0;b<h;b++){d=this.j[b];var r=d.Ga("ytp-suggestion-image");r.style.width=m+"px";r.style.height=q+"px";d.Ga("ytp-suggestion-title").style.width=m+"px";d.Ga("ytp-suggestion-author").style.width=m+"px";d=d.Ga("ytp-suggestion-duration");d.style.display=d&&100>m?"none":""}h=e+n+p+4;this.K=h+c+(q-f)/2;this.suggestions.element.style.height=q+h+"px";this.D=m;this.containerWidth=a;this.columns=l;this.C=0;this.suggestions.element.scrollLeft=
-0;sqb(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.U();this.W=a.If?!1:b.D;a.suggestions?this.suggestionData=g.ot(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
tqb(this);a.If?this.title.update({title:g.AK("M\u00e1s v\u00eddeos de $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"M\u00e1s v\u00eddeos de YouTube"})};
g.k.scrollTo=function(a){a=g.je(a,this.containerWidth-this.suggestionData.length*(this.D+this.B),0);this.ma.start(this.C,a,1E3);this.C=a;sqb(this);rqb(this,!0)};g.w(Z5,g.oW);Z5.prototype.show=function(){g.oW.prototype.show.call(this);vqb(this,this.api.qb().getPlayerSize())};
Z5.prototype.resize=function(a){g.oW.prototype.resize.call(this,a);this.j&&(vqb(this,a),g.hv(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))};
Z5.prototype.B=function(a){g.oW.prototype.B.call(this,a);var b=this.api.getVideoData();if(b.jC||b.playerErrorMessageRenderer)(a=b.jC)?yqb(this,a):b.playerErrorMessageRenderer&&yqb(this,b.playerErrorMessageRenderer);else{var c;a.dn&&(b.Zx?wqb(b.Zx)?c=g.yG(b.Zx):c=g.pW(g.xG(b.Zx)):c=g.pW(a.dn),this.Zd(c,"subreason"))}};g.w($5,g.S);$5.prototype.lk=function(){this.api.Vb().isCued()||(this.hide(),this.api.logVisibility(this.element,!1))};
$5.prototype.j=function(){var a=this.api.getVideoData(),b=this.api.U(),c=this.api.getVideoData().If,d=b.ye,e=!b.Cd,f=this.Ae.Vf();b=b.C;d||f||c||e||b||g.EU(this.api)||!a.videoId?(this.hide(),this.api.logVisibility(this.element,!1)):(a=zqb(this),this.updateValue("url",a),this.show())};
$5.prototype.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=zqb(this);g.dV(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)};
$5.prototype.show=function(){this.api.Vb().isCued()&&(g.S.prototype.show.call(this),this.api.hasVe(this.element)&&this.api.logVisibility(this.element,!0))};g.w(a6,g.S);a6.prototype.lk=function(){var a=this.api.Vb();!this.api.Qh()||g.cH(a,2)&&g.AU(this.api)||g.cH(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))};
a6.prototype.B=function(){this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,83);this.api.logClick(this.j)};
a6.prototype.C=function(){this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,82);this.api.logClick(this.forwardButton)};g.w(b6,g.S);b6.prototype.C=function(){var a=this.api.Vb(),b=this.api.getVideoData();this.api.U().L("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.cH(a,2)&&!this.Ib?(this.show(),this.j||(this.j=new g.mW(this.api),g.J(this,this.j),this.j.Ja(this.D,0),this.j.show()),a=this.api.getVideoData(),this.updateValue("text",a.F0),g.hv(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.logVisibility(this.element,this.Ib),this.api.wc("onMutedAutoplayEnds")):this.hide())};
b6.prototype.onClick=function(){if(!this.B){this.j&&(this.j.xa(),this.j=null);g.hv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();yob(a);this.api.loadVideoById(a.videoId,b);this.api.dA();this.api.logClick(this.element);this.hide();this.B=!0}};
b6.prototype.onMutedAutoplayStarts=function(){this.B=!1;this.j&&(this.j.xa(),this.j=null)};g.w(c6,g.S);g.k=c6.prototype;g.k.t0=function(){var a=this.api.getVideoData(),b=this.api.U().ye&&!g.cH(this.state,2)&&!g.iU(this.api.getVideoData(1));a.mutedAutoplay||g.tG(this,b);this.api.logVisibility(this.element,b)};
g.k.onStateChange=function(a){this.Dc(a.state)};
g.k.Dc=function(a){this.state!==a&&(this.state=a);this.t0()};
g.k.onVideoDataChange=function(){var a=this.api.U();a.C&&g.dv(this.element,"ytp-no-hover");this.api.getVideoData().videoId&&!a.C?(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a),this.j||(this.j=this.Qa("click",this.onClick))):this.j&&(this.updateValue("url",null),this.Oc(this.j),this.j=null)};
g.k.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.getVideoUrl(!g.nH(a),!1,!0,!0);if(this.api.L("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.oU(this.api,"addEmbedsConversionTrackingParams",[c]);b=g.Ql(b,g.LP(c,"emb_yt_watermark"))}g.dV(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)};
g.k.Zb=function(a){if((a=480>a.width)&&!this.B||!a&&this.B){var b=new g.S(zob()),c=this.Ga("ytp-watermark");g.hv(c,"ytp-watermark-small",a);g.qf(c);b.Ja(c);this.B=a}};g.w(Cqb,g.S);g.k=Cqb.prototype;g.k.yL=function(){var a=this.api.Vb(),b=this.api.getVideoData();this.api.U().L("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&!g.cH(a,2)?this.Ib||(g.S.prototype.show.call(this),this.api.logVisibility(this.element,this.Ib)):this.hide()};
g.k.m7=function(){this.j&&this.j.hide()};
g.k.onAutoplayBlocked=function(){this.hide();yob(this.api.getVideoData())};
g.k.onClick=function(){if(!this.B){g.hv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();yob(a);this.api.loadVideoById(a.videoId,b);this.api.dA();this.api.logClick(this.element);this.api.wc("onMutedAutoplayEnds");this.B=!0}};
g.k.onMutedAutoplayEnds=function(){this.watermark&&(this.watermark.xa(),this.watermark=null)};g.w(d6,g.S);d6.prototype.hide=function(){g.fv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.S.prototype.hide.call(this)};
d6.prototype.G=function(){this.B=!0;g.fv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.EU(this.api)&&this.api.logVisibility(this.element,!1);this.expandButton.focus()};
d6.prototype.K=function(){this.B=!1;g.dv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.EU(this.api)&&this.api.logVisibility(this.element,!0);this.focus()};
d6.prototype.Ra=function(){var a=this.api.Vb();g.cH(a,1)||g.cH(a,16)||g.cH(a,32)||(!g.cH(a,4)||g.cH(a,2)||g.cH(a,1024)?(this.B||this.api.logVisibility(this.element,!1),this.D.hide()):this.j.OD()&&(this.B||(g.dv(this.api.getRootNode(),"ytp-expand-pause-overlay"),g.y2(this.j),this.j.show(),this.api.logVisibility(this.element,!0)),this.D.show()))};g.w(e6,g.S);e6.prototype.show=function(){g.S.prototype.show.call(this);this.api.logVisibility(this.element,!0)};
e6.prototype.xa=function(){f6(this);g.S.prototype.xa.call(this)};g.w(Gqb,g.UV);g.k=Gqb.prototype;g.k.xl=function(){return!1};
g.k.create=function(){var a=this.J.U(),b=g.uU(this.J),c,d=null==(c=this.J.getVideoData())?void 0:c.clientPlaybackNonce;d&&g.kI({clientPlaybackNonce:d});a.rb&&Iqb(this);a.L("embeds_enable_muted_autoplay")&&(this.Z=new Cqb(this.J),g.J(this,this.Z),g.HU(this.J,this.Z.element,4),this.ra=new b6(this.J),g.J(this,this.ra),g.HU(this.J,this.ra.element,4));a.ye&&(this.watermark=new c6(this.J),g.J(this,this.watermark),g.HU(this.J,this.watermark.element,8));b&&(this.K=new $5(this.J,b),g.J(this,this.K),g.HU(this.J,
this.K.element,8),g.sU(this.J.app)&&(this.onMutedAutoplayStarts(),this.K.hide()));a.B&&(this.ma=new a6(this.J),g.J(this,this.ma),g.HU(this.J,this.ma.element,4));this.j.T(this.J,"appresize",this.Zb);this.j.T(this.J,"presentingplayerstatechange",this.lk);this.j.T(this.J,"videodatachange",this.onVideoDataChange);this.j.T(this.J,"videoplayerreset",this.Gw);this.j.T(this.J,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.T(this.J,"onAdStart",this.onAdStart);this.j.T(this.J,"onAdComplete",this.onAdComplete);
this.j.T(this.J,"onAdSkip",this.onAdSkip);this.j.T(this.J,"onAdStateChange",this.onAdStateChange);if(this.N=g.LC(g.wS(a)))this.countdownTimer=new e6(this.J),g.J(this,this.countdownTimer),g.HU(this.J,this.countdownTimer.element,4),this.countdownTimer.hide(),this.j.T(this.J,g.uK("embeds"),this.onCueRangeEnter),this.j.T(this.J,g.vK("embeds"),this.onCueRangeExit);this.Cc(this.J.Vb());this.player.Ig("embed");var e,f;(null==(e=this.J.U().webPlayerContextConfig)?0:null==(f=e.embedsHostFlags)?0:f.allowOverridingVisitorDataPlayerVars)&&
(a=g.OB("IDENTITY_MEMENTO"))&&this.J.ym("onMementoChange",a)};
g.k.onCueRangeEnter=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(this.countdownTimer.show(),Eqb(this.countdownTimer))};
g.k.onCueRangeExit=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(f6(this.countdownTimer),this.countdownTimer.hide())};
g.k.Zb=function(){var a=this.J.qb().getPlayerSize();this.Bg&&this.Bg.resize(a)};
g.k.Gw=function(){Fqb(this)};
g.k.lk=function(a){this.Cc(a.state)};
g.k.Cc=function(a){g.cH(a,128)?(this.Bg||(this.Bg=new Z5(this.J),g.J(this,this.Bg),g.HU(this.J,this.Bg.element,4)),this.Bg.B(a.oh),this.Bg.show(),g.dv(this.J.getRootNode(),"ytp-embed-error")):this.Bg&&(this.Bg.dispose(),this.Bg=null,g.fv(this.J.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.cH(a,64))this.countdownTimer.hide(),f6(this.countdownTimer);else if(a.isPaused()){var b=this.countdownTimer;b.B||(b.B=!0,b.G=(0,g.LD)())}else a.isPlaying()&&this.countdownTimer.B&&
(b=this.countdownTimer,b.B&&(b.D+=(0,g.LD)()-b.G,b.B=!1,Dqb(b)));Hqb(this,a)};
g.k.onMutedAutoplayStarts=function(){this.J.getVideoData().mutedAutoplay&&this.Z&&g.hv(this.J.getRootNode(),"ytp-muted-autoplay",!0)};
g.k.onVideoDataChange=function(a,b){var c=this.fE!==b.videoId;a=!c&&"dataloaded"===a;var d={isShortsModeEnabled:!!g.EU(this.J)};g.wD("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:d});c&&(this.fE=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.hide()),this.N&&(this.J.zf("embeds"),b.isAd()||5>b.limitedPlaybackDurationInSeconds||g.DU(this.J)||(b=Math.max(1E3*(b.startSeconds+b.limitedPlaybackDurationInSeconds-5),
0),b=new g.tK(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.J.rf([b]))),this.J.U().rb&&(Fqb(this),Iqb(this)));this.J.U().C&&this.C&&this.C.detach()};
g.k.onAdStart=function(){g6(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")};
g.k.onAdComplete=function(){g6(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")};
g.k.onAdSkip=function(){g6(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")};
g.k.onAdStateChange=function(a){2===a&&g6(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.TV("embed",Gqb);})(_yt_player);