(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var q;function aa(a){var b=0;return function(){return b=f}}); t("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ba(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,g=Math.max(0,Math.min(c|0,d.length)),h=0;h=f}}); function z(a,b){return Object.prototype.hasOwnProperty.call(a,b)} var Ca="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c>>0),Ka=0;function La(a,b,c){return a.call.apply(a.bind,arguments)} function Ma(a,b,c){if(!a)throw Error();if(2c?null:"string"===typeof a?a.charAt(c):a[c]} function Sa(a){return Array.prototype.concat.apply([],arguments)} function Ta(a){var b=a.length;if(0/g,nb=/"/g,ob=/'/g,pb=/\x00/g,qb=/[\x00&<>"']/;var rb;a:{var sb=A.navigator;if(sb){var tb=sb.userAgent;if(tb){rb=tb;break a}}rb=""}function I(a){return-1!=rb.indexOf(a)} ;function ub(){} ;var vb=I("Opera"),wb=I("Trident")||I("MSIE"),xb=I("Edge"),yb=I("Gecko")&&!(-1!=rb.toLowerCase().indexOf("webkit")&&!I("Edge"))&&!(I("Trident")||I("MSIE"))&&!I("Edge"),zb=-1!=rb.toLowerCase().indexOf("webkit")&&!I("Edge");function Ab(){var a=A.document;return a?a.documentMode:void 0} var Bb;a:{var Cb="",Db=function(){var a=rb;if(yb)return/rv:([^\);]+)(\)|;)/.exec(a);if(xb)return/Edge\/([\d\.]+)/.exec(a);if(wb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(zb)return/WebKit\/(\S+)/.exec(a);if(vb)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); Db&&(Cb=Db?Db[1]:"");if(wb){var Eb=Ab();if(null!=Eb&&Eb>parseFloat(Cb)){Bb=String(Eb);break a}}Bb=Cb}var Fb=Bb,Gb;if(A.document&&wb){var Hb=Ab();Gb=Hb?Hb:parseInt(Fb,10)||void 0}else Gb=void 0;var Ib=Gb;var Jb={},Kb=null;var J=window;function Lb(a){var b=B("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||A.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&& a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,Mb[b]?b=Mb[b]:(b=String(b),Mb[b]||(c=/function\s+([^\(]+)/m.exec(b),Mb[b]=c?c[1]:"[Anonymous]"),b=Mb[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})} var Mb={};function Nb(a){this.f=a||{cookie:""}} q=Nb.prototype;q.isEnabled=function(){return navigator.cookieEnabled}; q.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Ja;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.V}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===h&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=0>h?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(E()+1E3*h)).toUTCString();this.f.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+e:"")}; q.get=function(a,b){for(var c=a+"=",d=(this.f.cookie||"").split(";"),e=0,f;ep;p+=4)r[p/4]=n[p]<<24|n[p+1]<<16|n[p+2]<<8|n[p+3];for(p=16;80>p;p++)n=r[p-3]^r[p-8]^r[p-14]^r[p-16],r[p]=(n<<1|n>>>31)&4294967295;n=e[0];var v=e[1],x=e[2],D=e[3],R=e[4];for(p=0;80>p;p++){if(40>p)if(20>p){var pa=D^v&(x^D);var Va=1518500249}else pa=v^x^D,Va=1859775393;else 60>p?(pa=v&x|D&(v|x),Va=2400959708):(pa=v^x^D,Va=3395469782);pa=((n<<5|n>>>27)&4294967295)+pa+R+Va+r[p]&4294967295;R=D;D=x;x=(v<<30|v>>>2)&4294967295;v=n;n=pa}e[0]=e[0]+n&4294967295;e[1]=e[1]+v&4294967295; e[2]=e[2]+x&4294967295;e[3]=e[3]+D&4294967295;e[4]=e[4]+R&4294967295} function c(n,r){if("string"===typeof n){n=unescape(encodeURIComponent(n));for(var p=[],v=0,x=n.length;vl?c(h,56-l):c(h,64-(l-56));for(var p=63;56<=p;p--)f[p]=r&255,r>>>=8;b(f);for(p=r=0;5>p;p++)for(var v=24;0<=v;v-=8)n[r++]=e[p]>>v&255;return n} for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,m;a();return{reset:a,update:c,digest:d,ea:function(){for(var n=d(),r="",p=0;pa&&0===a%1&&this.g[a]!=b&&(this.g[a]=b,this.f=-1)}; mc.prototype.get=function(a){return!!this.g[a]}; function nc(a){-1==a.f&&(a.f=Qa(a.g,function(b,c,d){return c?b+Math.pow(2,d):b},0)); return a.f} ;function oc(a,b){this.h=a;this.i=b;this.g=0;this.f=null} oc.prototype.get=function(){if(0a.g&&(a.g++,b.next=a.f,a.f=b)} ;function qc(a){A.setTimeout(function(){throw a;},0)} var rc;function sc(){var a=A.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!I("Presto")&&(a=function(){var e=Rb();e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=C(function(k){if(("*"==h||k.origin==h)&&k.data==g)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}}); if("undefined"!==typeof a&&!I("Trident")&&!I("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.T;c.T=null;e()}}; return function(e){d.next={T:e};d=d.next;b.port2.postMessage(0)}}return function(e){A.setTimeout(e,0)}} ;function tc(){this.g=this.f=null} var vc=new oc(function(){return new uc},function(a){a.reset()}); tc.prototype.add=function(a,b){var c=vc.get();c.set(a,b);this.g?this.g.next=c:this.f=c;this.g=c}; tc.prototype.remove=function(){var a=null;this.f&&(a=this.f,this.f=this.f.next,this.f||(this.g=null),a.next=null);return a}; function uc(){this.next=this.scope=this.f=null} uc.prototype.set=function(a,b){this.f=a;this.scope=b;this.next=null}; uc.prototype.reset=function(){this.next=this.scope=this.f=null};function wc(a,b){xc||yc();zc||(xc(),zc=!0);Ac.add(a,b)} var xc;function yc(){if(A.Promise&&A.Promise.resolve){var a=A.Promise.resolve(void 0);xc=function(){a.then(Bc)}}else xc=function(){var b=Bc; !Ga(A.setImmediate)||A.Window&&A.Window.prototype&&!I("Edge")&&A.Window.prototype.setImmediate==A.setImmediate?(rc||(rc=sc()),rc(b)):A.setImmediate(b)}} var zc=!1,Ac=new tc;function Bc(){for(var a;a=Ac.remove();){try{a.f.call(a.scope)}catch(b){qc(b)}pc(vc,a)}zc=!1} ;function Cc(){this.g=-1} ;function Dc(){this.g=64;this.f=[];this.l=[];this.m=[];this.i=[];this.i[0]=128;for(var a=1;ae;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.f[0];c=a.f[1];var g=a.f[2],h=a.f[3],k=a.f[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var l=1518500249}else f=c^g^h,l=1859775393;else 60>e?(f=c&g|h&(c|g),l=2400959708): (f=c^g^h,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.f[0]=a.f[0]+b&4294967295;a.f[1]=a.f[1]+c&4294967295;a.f[2]=a.f[2]+g&4294967295;a.f[3]=a.f[3]+h&4294967295;a.f[4]=a.f[4]+k&4294967295} Dc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.g,d=0,e=this.l,f=this.h;dthis.h?this.update(this.i,56-this.h):this.update(this.i,this.g-(this.h-56));for(var c=this.g-1;56<=c;c--)this.l[c]=b&255,b/=256;Ec(this,this.l);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.f[c]>>d&255,++b;return a};var Fc="StopIteration"in A?A.StopIteration:{message:"StopIteration",stack:""};function Gc(){} Gc.prototype.next=function(){throw Fc;}; Gc.prototype.B=function(){return this}; function Hc(a){if(a instanceof Gc)return a;if("function"==typeof a.B)return a.B(!1);if(Fa(a)){var b=0,c=new Gc;c.next=function(){for(;;){if(b>=a.length)throw Fc;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");} function Ic(a,b){if(Fa(a))try{H(a,b,void 0)}catch(c){if(c!==Fc)throw c;}else{a=Hc(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Fc)throw c;}}} function Jc(a){if(Fa(a))return Ta(a);a=Hc(a);var b=[];Ic(a,function(c){b.push(c)}); return b} ;function Kc(a,b){this.h={};this.f=[];this.i=this.g=0;var c=arguments.length;if(12*this.g&&Mc(this),!0):!1}; function Mc(a){if(a.g!=a.f.length){for(var b=0,c=0;b=d.f.length)throw Fc;var f=d.f[b++];return a?f:d.h[f]}; return e};var Oc=A.JSON.stringify;function M(a){this.f=0;this.m=void 0;this.i=this.g=this.h=null;this.j=this.l=!1;if(a!=Da)try{var b=this;a.call(void 0,function(c){Pc(b,2,c)},function(c){Pc(b,3,c)})}catch(c){Pc(this,3,c)}} function Qc(){this.next=this.context=this.onRejected=this.g=this.f=null;this.h=!1} Qc.prototype.reset=function(){this.context=this.onRejected=this.g=this.f=null;this.h=!1}; var Rc=new oc(function(){return new Qc},function(a){a.reset()}); function Sc(a,b,c){var d=Rc.get();d.g=a;d.onRejected=b;d.context=c;return d} function Tc(){var a=Uc;if(a instanceof M)return a;var b=new M(Da);Pc(b,2,a);return b} M.prototype.then=function(a,b,c){return Vc(this,Ga(a)?a:null,Ga(b)?b:null,c)}; M.prototype.$goog_Thenable=!0;M.prototype.cancel=function(a){if(0==this.f){var b=new Wc(a);wc(function(){Xc(this,b)},this)}}; function Xc(a,b){if(0==a.f)if(a.h){var c=a.h;if(c.g){for(var d=0,e=null,f=null,g=c.g;g&&(g.h||(d++,g.f==a&&(e=g),!(e&&1E())md.prototype.remove.call(this,a);else return b}};function nd(){} ;function od(){} G(od,nd);od.prototype.clear=function(){var a=Jc(this.B(!0)),b=this;H(a,function(c){b.remove(c)})};function pd(a){this.f=a} G(pd,od);q=pd.prototype;q.isAvailable=function(){if(!this.f)return!1;try{return this.f.setItem("__sak","1"),this.f.removeItem("__sak"),!0}catch(a){return!1}}; q.set=function(a,b){try{this.f.setItem(a,b)}catch(c){if(0==this.f.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}}; q.get=function(a){a=this.f.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; q.remove=function(a){this.f.removeItem(a)}; q.B=function(a){var b=0,c=this.f,d=new Gc;d.next=function(){if(b>=c.length)throw Fc;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; q.clear=function(){this.f.clear()}; q.key=function(a){return this.f.key(a)};function qd(){var a=null;try{a=window.localStorage||null}catch(b){}this.f=a} G(qd,pd);function rd(a,b){this.g=a;this.f=null;var c;if(c=wb)c=!(9<=Number(Ib));if(c){sd||(sd=new Kc);this.f=sd.get(a);this.f||(b?this.f=document.getElementById(b):(this.f=document.createElement("userdata"),this.f.addBehavior("#default#userData"),document.body.appendChild(this.f)),sd.set(a,this.f));try{this.f.load(this.g)}catch(d){this.f=null}}} G(rd,od);var td={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},sd=null;function ud(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return td[b]})} q=rd.prototype;q.isAvailable=function(){return!!this.f}; q.set=function(a,b){this.f.setAttribute(ud(a),b);vd(this)}; q.get=function(a){a=this.f.getAttribute(ud(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; q.remove=function(a){this.f.removeAttribute(ud(a));vd(this)}; q.B=function(a){var b=0,c=this.f.XMLDocument.documentElement.attributes,d=new Gc;d.next=function(){if(b>=c.length)throw Fc;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e}; return d}; q.clear=function(){for(var a=this.f.XMLDocument.documentElement,b=a.attributes.length;0c&&(c=b.length),f=b.indexOf("?"),0>f||f>c?(f=c,e=""):e=b.substring(f+1,c),b=[b.substr(0,f),e,b.substr(c)],c=b[1],b[1]=a?c?c+"&"+a:a:c,a=b[0]+(b[1]?"?"+b[1]:"")+b[2]):a=b;return a+d} ;var Sd={};function Td(a){return Sd[a]||(Sd[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))} ;var Ud={},Vd=[],gd=new N,Wd={};function Xd(){for(var a=u(Vd),b=a.next();!b.done;b=a.next())b=b.value,b()} function Yd(a,b){b||(b=document);var c=Ta(b.getElementsByTagName("yt:"+a));var d="yt-"+a;var e=b||document;d=e.querySelectorAll&&e.querySelector?e.querySelectorAll("."+d):Qb(d,b);d=Ta(d);return Sa(c,d)} function P(a,b){var c;"yt:"==a.tagName.toLowerCase().substr(0,3)?c=a.getAttribute(b):c=a?a.dataset?a.dataset[Td(b)]:a.getAttribute("data-"+b):null;return c} function Zd(a,b){gd.P.apply(gd,arguments)} ;function $d(a){this.g=a||{};this.h=this.f=!1;a=document.getElementById("www-widgetapi-script");if(this.f=!!("https:"==document.location.protocol||a&&0==a.src.indexOf("https:"))){a=[this.g,window.YTConfig||{}];for(var b=0;bke&&(d=1);yd("BATCH_CLIENT_COUNTER",d);c={serializedEventId:c,clientCounter:String(d)};a.serializedClientEventId=c;le&&me&&S("log_gel_rtt_web")&&(a.previousBatchInfo={serializedClientEventId:le,roundtripMs:String(me)});le=c;me=0}} function Ae(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]} ;var De=A.ytLoggingGelSequenceIdObj_||{};F("ytLoggingGelSequenceIdObj_",De);function Ee(a){var b=Fe;a=void 0===a?B("yt.ads.biscotti.lastId_")||"":a;b=Object.assign(Ge(b),He(b));b.ca_type="image";a&&(b.bid=a);return b} function Ge(a){var b={};b.dt=gc;b.flash="0";a:{try{var c=a.f.top.location.href}catch(f){a=2;break a}a=c?c===a.g.location.href?0:1:2}b=(b.frm=a,b);b.u_tz=-(new Date).getTimezoneOffset();var d=void 0===d?J:d;try{var e=d.history.length}catch(f){e=0}b.u_his=e;b.u_java=!!J.navigator&&"unknown"!==typeof J.navigator.javaEnabled&&!!J.navigator.javaEnabled&&J.navigator.javaEnabled();J.screen&&(b.u_h=J.screen.height,b.u_w=J.screen.width,b.u_ah=J.screen.availHeight,b.u_aw=J.screen.availWidth,b.u_cd=J.screen.colorDepth); J.navigator&&J.navigator.plugins&&(b.u_nplug=J.navigator.plugins.length);J.navigator&&J.navigator.mimeTypes&&(b.u_nmime=J.navigator.mimeTypes.length);return b} function He(a){var b=a.f;try{var c=b.screenX;var d=b.screenY}catch(n){}try{var e=b.outerWidth;var f=b.outerHeight}catch(n){}try{var g=b.innerWidth;var h=b.innerHeight}catch(n){}b=[b.screenLeft,b.screenTop,c,d,b.screen?b.screen.availWidth:void 0,b.screen?b.screen.availTop:void 0,e,f,g,h];c=a.f.top;try{var k=(c||window).document,l="CSS1Compat"==k.compatMode?k.documentElement:k.body;var m=(new Pb(l.clientWidth,l.clientHeight)).round()}catch(n){m=new Pb(-12245933,-12245933)}k=m;m={};l=new mc;A.SVGElement&& A.document.createElementNS&&l.set(0);c=cc();c["allow-top-navigation-by-user-activation"]&&l.set(1);c["allow-popups-to-escape-sandbox"]&&l.set(2);A.crypto&&A.crypto.subtle&&l.set(3);A.TextDecoder&&A.TextEncoder&&l.set(4);l=nc(l);m.bc=l;m.bih=k.height;m.biw=k.width;m.brdim=b.join();a=a.g;return m.vis={visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0,m.wgl=!!J.WebGLRenderingContext,m} var Fe=new function(){var a=window.document;this.f=window;this.g=a}; F("yt.ads_.signals_.getAdSignalsString",function(a){return Od(Ee(a))});E();var Ie=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null; function Je(){if(!Ie)return null;var a=Ie();return"open"in a?a:null} ;var Ke={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-YouTube-Device":"DEVICE","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},Le="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), Me=!1; function Ne(a,b){b=void 0===b?{}:b;if(!c)var c=window.location.href;var d=K(a)[1]||null,e=Ub(K(a)[3]||null);d&&e?(d=c,c=K(a),d=K(d),c=c[3]==d[3]&&c[1]==d[1]&&c[4]==d[4]):c=e?Ub(K(c)[3]||null)==e&&(Number(K(c)[4]||null)||null)==(Number(K(a)[4]||null)||null):!0;d=S("web_ajax_ignore_global_headers_if_set");for(var f in Ke)e=O(Ke[f]),!e||!c&&!Oe(a,f)||d&&void 0!==b[f]||(b[f]=e);if(c||Oe(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());(c||Oe(a,"X-YouTube-Time-Zone"))&&(f= "undefined"!=typeof Intl?(new Intl.DateTimeFormat).resolvedOptions().timeZone:null)&&(b["X-YouTube-Time-Zone"]=f);if(c||Oe(a,"X-YouTube-Ad-Signals"))b["X-YouTube-Ad-Signals"]=Od(Ee(void 0));return b} function Pe(a){var b=window.location.search,c=Ub(K(a)[3]||null),d=Ub(K(a)[5]||null);d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=Pd(b),f={};H(Le,function(g){e[g]&&(f[g]=e[g])}); return Rd(a,f||{},!1)} function Oe(a,b){var c=O("CORS_HEADER_WHITELIST")||{},d=Ub(K(a)[3]||null);return d?(c=c[d])?0<=Pa(c,b):!1:!0} function Qe(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=Re(a,b);var d=Se(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(g){if(!e){e=!0;f&&window.clearTimeout(f);var h=g.ok,k=function(l){l=l||{};var m=b.context||A;h?b.onSuccess&&b.onSuccess.call(m,l,g):b.onError&&b.onError.call(m,l,g);b.N&&b.N.call(m,l,g)}; "JSON"==(b.format||"JSON")&&(h||400<=g.status&&500>g.status)?g.json().then(k,function(){k(null)}):k(null)}}); b.Y&&0k.status,r=500<=k.status&&600>k.status;if(l||n||r)m=Ve(a,c,k,b.Da);if(l)a:if(k&&204==k.status)l=!0;else{switch(c){case "XML":l=0==parseInt(m&&m.return_code,10);break a;case "RAW":l=!0;break a}l=!!m}m=m|| {};n=b.context||A;l?b.onSuccess&&b.onSuccess.call(n,k,m):b.onError&&b.onError.call(n,k,m);b.N&&b.N.call(n,k,m)}},b.method,d,b.headers,b.responseType,b.withCredentials); if(b.H&&0f;f++){var g=d.concat(e[f].split(""));Jb[f]=g;for(var h=0;h>2;l=(l&3)<<4|m>>4;m=(m&15)<<2|k>>6;k&=63;g||(k=64,f||(m=64));d.push(c[h],c[l],c[m]||"",c[k]||"")}a.hash=d.join("")}return a} ;function cf(){var a=new qd;(a=a.isAvailable()?new wd(a,"yt.innertube"):null)||(a=new rd("yt.innertube"),a=a.isAvailable()?a:null);this.f=a?new md(a):null;this.g=document.domain||window.location.hostname} cf.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.f)try{this.f.set(a,b,E()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(Oc(b))}catch(f){return}else e=escape(b);b=this.g;Ob.set(""+a,e,{V:c,path:"/",domain:void 0===b?"youtube.com":b,secure:!1})}; cf.prototype.get=function(a,b){var c=void 0,d=!this.f;if(!d)try{c=this.f.get(a)}catch(e){d=!0}if(d&&(c=Ob.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; cf.prototype.remove=function(a){this.f&&this.f.remove(a);var b=this.g;Ob.remove(""+a,"/",void 0===b?"youtube.com":b)};var df=new cf;function ef(a,b,c,d){if(d)return null;d=df.get("nextId",!0)||1;var e=df.get("requests",!0)||{};e[d]={method:a,request:b,authState:bf(c),requestTime:Math.round(U())};df.set("nextId",d+1,86400,!0);df.set("requests",e,86400,!0);return d} function ff(a){var b=df.get("requests",!0)||{};delete b[a];df.set("requests",b,86400,!0)} function gf(a){var b=df.get("requests",!0);if(b){for(var c in b){var d=b[c];if(!(6E4>Math.round(U())-d.requestTime)){var e=d.authState,f=bf(af(!1));$a(e,f)&&(e=d.request,"requestTimeMs"in e&&(e.requestTimeMs=Math.round(U())),Ce(a,d.method,e,{}));delete b[c]}}df.set("requests",b,86400,!0)}} ;function V(a){return new M(function(b,c){function d(){c(a.error);f()} function e(){b(a.result);f()} function f(){a.removeEventListener("success",e);a.removeEventListener("error",d)} a.addEventListener("success",e);a.addEventListener("error",d)})} ;function hf(a){this.f=a} q=hf.prototype;q.add=function(a,b,c){return W(X(this,[a],"readwrite"),a).add(b,c)}; q.clear=function(a){return W(X(this,[a],"readwrite"),a).clear()}; q.close=function(){this.f.close()}; q.count=function(a,b){return W(X(this,[a]),a).count(b)}; q["delete"]=function(a,b){return W(X(this,[a],"readwrite"),a)["delete"](b)}; q.get=function(a,b){return W(X(this,[a]),a).get(b)}; q.getName=function(){return this.f.name}; function X(a,b,c){a=a.f.transaction(b,c);return new jf(a)} function kf(a){this.f=a} q=kf.prototype;q.add=function(a,b){return V(this.f.add(a,b))}; q.clear=function(){return V(this.f.clear()).then(function(){})}; q.count=function(a){return V(this.f.count(a))}; q["delete"]=function(a){return V(this.f["delete"](a))}; q.get=function(a){return V(this.f.get(a))}; q.index=function(a){return new lf(this.f.index(a))}; q.getName=function(){return this.f.name}; function mf(){var a=Error.call(this,"Transaction was aborted");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,mf.prototype)} na(mf,Error);function jf(a){var b=this;this.f=a;this.g=new Map;this.done=new M(function(c,d){b.f.addEventListener("complete",function(){c()}); b.f.addEventListener("error",function(){d(b.f.error)}); b.f.addEventListener("abort",function(){d(new mf)})})} jf.prototype.abort=function(){this.f.abort();return this.done}; function W(a,b){var c=a.f.objectStore(b),d=a.g.get(c);d||(d=new kf(c),a.g.set(c,d));return d} function lf(a){this.f=a} lf.prototype.count=function(a){return V(this.f.count(a))}; lf.prototype.get=function(a){return V(this.f.get(a))}; function nf(a,b){var c=a.f.openCursor(b,"prev");return V(c).then(function(d){return null===d?null:new of(c,d)})} function of(a,b){this.request=a;this.f=b} of.prototype["delete"]=function(){return V(this.f["delete"]()).then(function(){})}; of.prototype.update=function(a){return V(this.f.update(a))};function pf(a,b,c){function d(){l||(l=new hf(e.result));return l} c=void 0===c?{}:c;var e=void 0!==b?self.indexedDB.open(a,b):self.indexedDB.open(a);a=c;var f=a.Ca,g=a.blocking,h=a.Ka,k=a.upgrade,l;k&&e.addEventListener("upgradeneeded",function(m){if(null===m.newVersion)throw Error("Invariant: newVersion on IDbVersionChangeEvent is null");if(null===e.transaction)throw Error("Invariant: transaction on IDbOpenDbRequest is null");var n=d(),r=new jf(e.transaction);k(n,m.oldVersion,m.newVersion,r)}); f&&e.addEventListener("blocked",function(){f()}); return V(e).then(function(m){g&&m.addEventListener("versionchange",function(){g()}); h&&m.addEventListener("close",function(){h()}); return d()})} ;var Uc,qf=["getAll","getAllKeys","getKey","openKeyCursor"],rf=["getAll","getAllKeys","getKey","openKeyCursor"]; function sf(){return L(this,function b(){var c,d,e,f,g,h,k,l;return y(b,function(m){switch(m.f){case 1:if(!self.indexedDB)return m["return"](!1);c=u(qf);for(d=c.next();!d.done;d=c.next())if(e=d.value,!IDBObjectStore.prototype[e])return m["return"](!1);f=u(rf);for(d=f.next();!d.done;d=f.next())if(g=d.value,!IDBIndex.prototype[g])return m["return"](!1);if(!IDBObjectStore.prototype.getKey)return m["return"](!1);sa(m);l=!1;return w(m,pf("yt-idb-test-do-not-use",void 0,{blocking:function(){l=!0;h&&(h.close(), h=void 0)}}),5); case 5:return h=m.g,w(m,pf("yt-idb-test-do-not-use",h.f.version+1),6);case 6:return k=m.g,k.close(),k=void 0,m["return"](l);case 3:ua(m);if(h)try{h.close()}catch(n){}if(k)try{k.close()}catch(n){}va(m);break;case 2:return ta(m),m["return"](!1)}})})} function tf(){return void 0!==Uc?Tc():new M(function(a){sf().then(function(b){Uc=b;a(b)})})} ;var uf;function vf(){return L(this,function b(){return y(b,function(c){if(!uf)try{uf=pf("LogsDataBase",1,{upgrade:function(d,e){if(1>e){var f=d.f.createObjectStore("LogsRequestsStore",{keyPath:"id",autoIncrement:!0});(new kf(f)).f.createIndex("newRequest",["status","timestamp"],{unique:!1})}}})}catch(d){"VersionError"===d&&Cd(d),uf=pf("LogsDataBase",1)}return c["return"](uf)})})} function wf(a){return L(this,function c(){var d,e,f,g;return y(c,function(h){if(1==h.f)return w(h,vf(),2);if(3!=h.f)return d=h.g,e=W(X(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),f=Object.assign(Object.assign({},a),{options:JSON.parse(JSON.stringify(a.options))}),w(h,e.add(f),3);g=h.g;return h["return"](g)})})} function xf(){return L(this,function b(){var c,d,e,f,g,h,k;return y(b,function(l){switch(l.f){case 1:return c=["NEW",0],d=["NEW",U()],e=IDBKeyRange.bound(c,d),w(l,vf(),2);case 2:return f=l.g,g=X(f,["LogsRequestsStore"],"readwrite"),w(l,nf(W(g,"LogsRequestsStore").index("newRequest"),e),3);case 3:h=l.g;k=void 0;if(null===h||void 0===h||!h.f.value){l.v(4);break}k=h.f.value;k.status="QUEUED";return w(l,h.update(k),4);case 4:return l["return"](k)}})})} function yf(a){return L(this,function c(){var d,e,f;return y(c,function(g){switch(g.f){case 1:return w(g,vf(),2);case 2:return d=g.g,e=W(X(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),w(g,e.get(a),3);case 3:return f=g.g,f.status="QUEUED",w(g,V(e.f.put(f,void 0)),4);case 4:return g["return"](f)}})})} function zf(a){return L(this,function c(){var d,e,f;return y(c,function(g){switch(g.f){case 1:return w(g,vf(),2);case 2:return d=g.g,e=W(X(d,["LogsRequestsStore"],"readwrite"),"LogsRequestsStore"),w(g,e.get(a),3);case 3:return f=g.g,f.status="NEW",f.R+=1,w(g,V(e.f.put(f,void 0)),4);case 4:return g["return"](f)}})})} function Af(){return L(this,function b(){var c,d;return y(b,function(e){if(1==e.f)return w(e,vf(),2);if(3!=e.f)return c=e.g,w(e,c.count("LogsRequestsStore"),3);d=e.g;return e["return"](!d)})})} function Bf(a){return L(this,function c(){var d;return y(c,function(e){if(1==e.f)return w(e,vf(),2);d=e.g;return e["return"](d["delete"]("LogsRequestsStore",a))})})} ;var Cf=de("network_polling_interval",3E4);function Df(){this.i=0;this.f=window.navigator.onLine;Ef(this);Ff(this)} function Gf(){Df.instance||(Df.instance=new Df);return Df.instance} function Hf(a){var b=If,c=Jf;a.i||Kf(a);(new M(function(d){a.h=d})).then(function(){b(); c&&(a.g=c)})} function Ff(a){window.addEventListener("online",function(){a.f=!0;a.h&&a.h()})} function Ef(a){window.addEventListener("offline",function(){a.f=!1;a.g&&a.g()})} function Kf(a){a.i=fe(function(){window.navigator.onLine?(!1===a.f&&Cd(Error("NetworkStatusManager missed online event.")),a.f=!0,a.h&&a.h()):(!0===a.f&&Cd(Error("NetworkStatusManager missed offline event.")),a.f=!1,a.g&&a.g());Kf(a)},Cf)} ;var Lf=de("networkless_throttle_timeout")||100,Mf=de("networkless_retry_attempts")||1,Nf=0;function Of(a,b){tf().then(function(c){if(c&&!S("networkless_bypass_write")){var d={url:a,options:b,timestamp:U(),status:"NEW",R:0};wf(d).then(function(e){d.id=e;e=Gf();e.f?Pf(d):Hf(e)})["catch"](function(){Pf(d); Cd(Error("Networkless Logging: Log request setting to indexedDB failed."))})}else Te(a,b)})} function If(){Nf||(Nf=ge(function(){Pf();Nf=0;If()},1,Lf))} function Jf(){var a=Nf;if(!isNaN(a)){var b=B("yt.scheduler.instance.cancelJob");b?b(a):window.clearTimeout(a)}Nf=0} function Pf(a){L(this,function c(){var d=this,e,f,g,h;return y(c,function(k){switch(k.f){case 1:e=d;if(!a)return w(k,xf(),6);if(!a.id){k.v(3);break}return w(k,yf(a.id),5);case 5:a=k.g;k.v(3);break;case 6:if(a=k.g){k.v(3);break}return w(k,Af(),8);case 8:return(f=k.g)&&Jf(),k["return"]();case 3:if(Qf(a))g=a.options.onError?a.options.onError:function(){},h=a.options.onSuccess?a.options.onSuccess:function(){},a.options.onError=function(l,m){return L(e,function r(){return y(r,function(p){if(1==p.f)return a&& a.id?a.RMath.random()&&Dd(new Rf("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw b=new Rf("innertube xhrclient not ready",b,c,d),Cd(b),b.f=0,b;var e={headers:{"Content-Type":"application/json"},method:"POST",u:c,aa:"JSON",H:function(){d.H()}, Y:d.H,onSuccess:function(r,p){if(d.onSuccess)d.onSuccess(p)}, X:function(r){if(d.onSuccess)d.onSuccess(r)}, onError:function(r,p){if(d.onError)d.onError(p)}, Ia:function(r){if(d.onError)d.onError(r)}, timeout:d.timeout,withCredentials:!0},f="",g=a.f.ka;g&&(f=g);g=a.f.la||!1;var h=af(g,f,d);Object.assign(e.headers,h);e.headers.Authorization&&!f&&(e.headers["x-origin"]=window.location.origin);var k=Qd(""+f+("/youtubei/"+a.f.innertubeApiVersion+"/"+b),{alt:"json",key:a.f.innertubeApiKey}),l;if(d.retry&&S("retry_web_logging_batches")&&"www.youtube-nocookie.com"!=f&&(l=ef(b,c,h,g))){var m=e.onSuccess,n=e.X;e.onSuccess=function(r,p){ff(l);m(r,p)}; c.X=function(r,p){ff(l);n(r,p)}}try{S("use_fetch_for_op_xhr")?Qe(k,e):S("networkless_logging")&&d.retry?(e.method="POST",Of(k,e)):(e.method="POST",e.u||(e.u={}),Te(k,e))}catch(r){if("InvalidAccessError"==r.name)l&&(ff(l),l=0),Dd(Error("An extension is blocking network request.")); else throw r;}l&&fe(function(){gf(a)},5E3)} ;var Tf=[{W:function(a){return"Cannot read property '"+a.key+"'"}, O:{TypeError:[{regexp:/Cannot read property '([^']+)' of (null|undefined)/,groups:["key","value"]},{regexp:/\u65e0\u6cd5\u83b7\u53d6\u672a\u5b9a\u4e49\u6216 (null|undefined) \u5f15\u7528\u7684\u5c5e\u6027\u201c([^\u201d]+)\u201d/,groups:["value","key"]},{regexp:/\uc815\uc758\ub418\uc9c0 \uc54a\uc74c \ub610\ub294 (null|undefined) \ucc38\uc870\uc778 '([^']+)' \uc18d\uc131\uc744 \uac00\uc838\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4./,groups:["value","key"]},{regexp:/No se puede obtener la propiedad '([^']+)' de referencia nula o sin definir/, groups:["key"]},{regexp:/Unable to get property '([^']+)' of (undefined or null) reference/,groups:["key","value"]}],Error:[{regexp:/(Permission denied) to access property "([^']+)"/,groups:["reason","key"]}]}},{W:function(a){return"Cannot call '"+a.key+"'"}, O:{TypeError:[{regexp:/(?:([^ ]+)?\.)?([^ ]+) is not a function/,groups:["base","key"]},{regexp:/Object (.*) has no method '([^ ]+)'/,groups:["base","key"]},{regexp:/Object doesn't support property or method '([^ ]+)'/,groups:["key"]},{regexp:/\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f '([^']+)' \u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093/,groups:["key"]},{regexp:/\uac1c\uccb4\uac00 '([^']+)' \uc18d\uc131\uc774\ub098 \uba54\uc11c\ub4dc\ub97c \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4./, groups:["key"]}]}}];var Uf=new Set,Vf=0;function Wf(a,b,c,d){c+="."+a;a=String(JSON.stringify(b)).substr(0,500);d[c]=a;return c.length+a.length} ;function Y(a,b,c){this.l=this.f=this.g=null;this.j=Ia(this);this.h=0;this.s=!1;this.m=[];this.i=null;this.A=c;this.F={};c=document;if(a="string"===typeof a?c.getElementById(a):a)if(c="iframe"==a.tagName.toLowerCase(),b.host||(b.host=c?Vb(a.src):"https://www.youtube.com"),this.g=new $d(b),c||(b=Xf(this,a),this.l=a,(c=a.parentNode)&&c.replaceChild(b,a),a=b),this.f=a,this.f.id||(this.f.id="widget"+Ia(this.f)),Ud[this.f.id]=this,window.postMessage){this.i=new N;Yf(this);b=Q(this.g,"events");for(var d in b)b.hasOwnProperty(d)&& this.addEventListener(d,b[d]);for(var e in Wd)Zf(this,e)}} q=Y.prototype;q.setSize=function(a,b){this.f.width=a;this.f.height=b;return this}; q.ma=function(){return this.f}; q.ba=function(a){this.I(a.event,a)}; q.addEventListener=function(a,b){var c=b;"string"==typeof b&&(c=function(){window[b].apply(window,arguments)}); if(!c)return this;this.i.subscribe(a,c);$f(this,a);return this}; function Zf(a,b){var c=b.split(".");if(2==c.length){var d=c[1];a.A==c[0]&&$f(a,d)}} q.destroy=function(){this.f.id&&(Ud[this.f.id]=null);var a=this.i;a&&"function"==typeof a.dispose&&a.dispose();if(this.l){a=this.f;var b=a.parentNode;b&&b.replaceChild(this.l,a)}else(a=this.f)&&a.parentNode&&a.parentNode.removeChild(a);be&&(be[this.j]=null);this.g=null;a=this.f;for(var c in Za)Za[c][0]==a&&Jd(c);this.l=this.f=null}; q.K=function(){return{}}; function ag(a,b,c){c=c||[];c=Array.prototype.slice.call(c);b={event:"command",func:b,args:c};a.s?a.S(b):a.m.push(b)} q.I=function(a,b){if(!this.i.h){var c={target:this,data:b};this.i.P(a,c);Zd(this.A+"."+a,c)}}; function Xf(a,b){for(var c=document.createElement("iframe"),d=b.attributes,e=0,f=d.length;en)l=null;else{r=l.indexOf("&",n);if(0>r||r>m)r=m;n+=k.length+1;l=decodeURIComponent(l.substr(n,r-n).replace(/\+/g, " "))}null!==l&&(h[k]=l)}); c.src=Q(a.g,"host")+a.L()+"?"+Xb(h);return c} q.Z=function(){this.f&&this.f.contentWindow?this.S({event:"listening"}):window.clearInterval(this.h)}; function Yf(a){ae(a.g,a,a.j);a.h=Nd(C(a.Z,a));Ld(a.f,"load",C(function(){window.clearInterval(this.h);this.h=Nd(C(this.Z,this))},a))} function $f(a,b){a.F[b]||(a.F[b]=!0,ag(a,"addEventListener",[b]))} q.S=function(a){a.id=this.j;a.channel="widget";a=Oc(a);var b=this.g;var c=Vb(this.f.src||"");b=0==c.indexOf("https:")?[c]:b.f?[c.replace("http:","https:")]:b.h?[c]:[c,c.replace("http:","https:")];if(this.f.contentWindow)for(c=0;c=d?ve():10<=h-qe&&(xe(),qe=h);ve()}d=f;g=d.params||{};e={na:{a:"logerror",t:"jserror",type:d.name,msg:d.message.substr(0,250),line:d.lineNumber,level:e,"client.name":g.name},u:{url:O("PAGE_NAME",window.location.href),file:d.fileName}, method:"POST"};g.version&&(e["client.version"]=g.version);if(e.u){d.stack&&(e.u.stack=d.stack);d=u(Object.keys(g));for(h=d.next();!h.done;h=d.next())h=h.value,e.u["client."+h]=g[h];if(g=O("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(d=u(Object.keys(g)),h=d.next();!h.done;h=d.next())h=h.value,e.u[h]=g[h];g=O("SERVER_NAME",void 0);d=O("SERVER_VERSION",void 0);g&&d&&(e.u["server.name"]=g,e.u["server.version"]=d)}Te(O("ECATCHER_REPORT_HOST","")+"/error_204",e);Uf.add(f.message);Vf++}}}}}else throw R; }else console&&console.warn&&console.warn("The YouTube player is not attached to the DOM. API calls should be made after the onReady event. See more: https://developers.google.com/youtube/iframe_api_reference#Events")};function bg(a){return(0===a.search("cue")||0===a.search("load"))&&"loadModule"!==a} function cg(a){return 0===a.search("get")||0===a.search("is")} ;function Z(a,b){if(!a)throw Error("YouTube player element ID required.");var c={title:"video player",videoId:"",width:640,height:360};if(b)for(var d in b)c[d]=b[d];Y.call(this,a,c,"player");this.C={};this.playerInfo={}} na(Z,Y);q=Z.prototype;q.L=function(){return"/embed/"+Q(this.g,"videoId")}; q.K=function(){var a=Q(this.g,"playerVars");if(a){var b={},c;for(c in a)b[c]=a[c];a=b}else a={};window!=window.top&&document.referrer&&(a.widget_referrer=document.referrer.substring(0,256));if(c=Q(this.g,"embedConfig")){if(Ha(c))try{c=JSON.stringify(c)}catch(d){console.error("Invalid embed config JSON",d)}a.embed_config=c}return a}; q.ba=function(a){var b=a.event;a=a.info;switch(b){case "apiInfoDelivery":if(Ha(a))for(var c in a)this.C[c]=a[c];break;case "infoDelivery":dg(this,a);break;case "initialDelivery":window.clearInterval(this.h);this.playerInfo={};this.C={};eg(this,a.apiInterface);dg(this,a);break;default:this.I(b,a)}}; function dg(a,b){if(Ha(b))for(var c in b)a.playerInfo[c]=b[c]} function eg(a,b){H(b,function(c){this[c]||("getCurrentTime"==c?this[c]=function(){var d=this.playerInfo.currentTime;if(1==this.playerInfo.playerState){var e=(E()/1E3-this.playerInfo.currentTimeLastUpdated_)*this.playerInfo.playbackRate;0")&&(c=c.replace(mb,">")),-1!=c.indexOf('"')&&(c=c.replace(nb,""")),-1!=c.indexOf("'")&&(c=c.replace(ob,"'")),-1!=c.indexOf("\x00")&&(c=c.replace(pb,"�")));return''}; q.getOptions=function(a){return this.C.namespaces?a?this.C[a].options||[]:this.C.namespaces||[]:[]}; q.getOption=function(a,b){if(this.C.namespaces&&a&&b)return this.C[a][b]}; function fg(a){if("iframe"!=a.tagName.toLowerCase()){var b=P(a,"videoid");b&&(b={videoId:b,width:P(a,"width"),height:P(a,"height")},new Z(a,b))}} ;function gg(a,b){var c={title:"Thumbnail",videoId:"",width:120,height:68};if(b)for(var d in b)c[d]=b[d];Y.call(this,a,c,"thumbnail")} na(gg,Y);gg.prototype.L=function(){return"/embed/"+Q(this.g,"videoId")}; gg.prototype.K=function(){return{player:0,thumb_width:Q(this.g,"thumbWidth"),thumb_height:Q(this.g,"thumbHeight"),thumb_align:Q(this.g,"thumbAlign")}}; gg.prototype.I=function(a,b){Y.prototype.I.call(this,a,b?b.info:void 0)}; function hg(a){if("iframe"!=a.tagName.toLowerCase()){var b=P(a,"videoid");if(b){b={videoId:b,events:{},width:P(a,"width"),height:P(a,"height"),thumbWidth:P(a,"thumb-width"),thumbHeight:P(a,"thumb-height"),thumbAlign:P(a,"thumb-align")};var c=P(a,"onclick");c&&(b.events.onClick=c);new gg(a,b)}}} ;F("YT.PlayerState.UNSTARTED",-1);F("YT.PlayerState.ENDED",0);F("YT.PlayerState.PLAYING",1);F("YT.PlayerState.PAUSED",2);F("YT.PlayerState.BUFFERING",3);F("YT.PlayerState.CUED",5);F("YT.get",function(a){return Ud[a]}); F("YT.scan",Xd);F("YT.subscribe",function(a,b,c){gd.subscribe(a,b,c);Wd[a]=!0;for(var d in Ud)Zf(Ud[d],a)}); F("YT.unsubscribe",function(a,b,c){fd(a,b,c)}); F("YT.Player",Z);F("YT.Thumbnail",gg);Y.prototype.destroy=Y.prototype.destroy;Y.prototype.setSize=Y.prototype.setSize;Y.prototype.getIframe=Y.prototype.ma;Y.prototype.addEventListener=Y.prototype.addEventListener;Z.prototype.getVideoEmbedCode=Z.prototype.getVideoEmbedCode;Z.prototype.getOptions=Z.prototype.getOptions;Z.prototype.getOption=Z.prototype.getOption;Vd.push(function(a){a=Yd("player",a);H(a,fg)}); Vd.push(function(){var a=Yd("thumbnail");H(a,hg)}); "undefined"!=typeof YTConfig&&YTConfig.parsetags&&"onload"!=YTConfig.parsetags||Xd();var ig=A.onYTReady;ig&&ig();var jg=A.onYouTubeIframeAPIReady;jg&&jg();var kg=A.onYouTubePlayerAPIReady;kg&&kg();}).call(this);