[] 1)ytcfg.d()[a[0]]=a[1];else for(var k in a[0])ytcfg.d()[k]=a[0][k]}}; window.ytcfg.set(‘EMERGENCY_BASE_URL’, ‘/error_204?tx3djserrorx26levelx3dERRORx26client.namex3d1x26client.versionx3d2.20210909.07.00’);]]>=5)return;window.unhandledErrorCount+=1;window.unhandledErrorMessages[message]=true;var img=new Image;window.emergencyTimeoutImg=img;img.onload=img.onerror=function(){delete window.emergencyTimeoutImg}; var combinedLineAndColumn=err.lineNumber;if(!isNaN(err[“columnNumber”]))combinedLineAndColumn+=”:”+err[“columnNumber”];var stack=err.stack||””;var values={“msg”:message,”type”:err.name,”client.params”:”unhandled window error”,”file”:err.fileName,”line”:combinedLineAndColumn,”stack”:stack.substr(0,500)};var thirdPartyScript=!err.fileName||err.fileName===””||stack.indexOf(“extension://”)>=0;var replaced=stack.replace(/https://www.youtube.com//g,””);if(replaced.match(/https?://[^/]+//))thirdPartyScript= true;else if(stack.indexOf(“trapProp”)>=0&&stack.indexOf(“trapChain”)>=0)thirdPartyScript=true;else if(message.indexOf(“redefine non-configurable”)>=0)thirdPartyScript=true;var baseUrl=window[“ytcfg”].get(“EMERGENCY_BASE_URL”,”https://www.youtube.com/error_204?t=jserror&level=ERROR”);var unsupported=message.indexOf(“window.customElements is undefined”)>=0;if(thirdPartyScript||unsupported)baseUrl=baseUrl.replace(“level=ERROR”,”level=WARNING”);var parts=[baseUrl];for(var key in values){var value=values[key]; if(value)parts.push(key+”=”+encodeURIComponent(value))}img.src=parts.join(“&”)}; (function(){function _getExtendedNativePrototype(tag){var p=this._nativePrototypes[tag];if(!p){p=Object.create(this.getNativePrototype(tag));var p$=Object.getOwnPropertyNames(window[“Polymer”].Base);for(var i=0,n=void 0;i

>>0),A=0;function B(a,b){this.width=a;this.height=b} B.prototype.aspectRatio=function(){return this.width/this.height}; B.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; B.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; B.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function C(){var a=document;var b=”DIV”;”application/xhtml+xml”===a.contentType&&(b=b.toLowerCase());return a.createElement(b)} ;var D=new WeakMap;function aa(a,b){a=[a];for(var d=b.length-1;0<=d;--d)a.push(typeof b[d],b[d]);return a.join("x0B")} ;function E(a,b,d){if(b instanceof B)d=b.height,b=b.width;else if(void 0==d)throw Error("missing height argument");a.style.width=F(b);a.style.height=F(d)} function F(a){"number"==typeof a&&(a=Math.round(a)+"px");return a} ;var G,H,I=x.window,J=(null===(G=null===I||void 0===I?void 0:I.yt)||void 0===G?void 0:G.config_)||(null===(H=null===I||void 0===I?void 0:I.ytcfg)||void 0===H?void 0:H.data_)||{},K=["yt","config_"],L=x;K[0]in L||"undefined"==typeof L.execScript||L.execScript("var "+K[0]);for(var M;K.length&&(M=K.shift());)K.length||void 0===J?L[M]&&L[M]!==Object.prototype[M]?L=L[M]:L=L[M]={}:L[M]=J;function N(a){var b={};return a in J?J[a]:b} ;function O(a){a=P(a);return"string"===typeof a&&"false"===a?!1:!!a} function P(a){var b=N("EXPERIMENTS_FORCED_FLAGS");return void 0!==b[a]?b[a]:N("EXPERIMENT_FLAGS")[a]} ;var Q=function(a,b){function d(f){f=u(f);f.next();f=v(f);return b(g,f)} b=void 0===b?aa:b;var g=y(a);return function(f){for(var h=[],e=0;e=1550-Q()&&800<=a.height)f=!U(b)||1550<=a.width?f-432:f-382,U(b)&&(f-=Q());else if(1E3=a.width&&U(b)?h=357:O("kevlar_watch_feed_big_thumbs")&&(h=382);f-=h;U(b)&&(f-=Q())}else f-=48;f=Math.min(f,1280);var e=f*b;h=240;d&&(h=380);if(!(.5624>b)){var l=1327;O(“kevlar_watch_split_pane”)&&(l+=Q());!O(“kevlar_watch_flexy_disable_small_window_sizing”)&& (630>a.height&&657<=a.width||630<=a.height&&1E3<=a.width&&a.widthb?f=g/b:1E3a)} ;var V=document.querySelector(“#player.skeleton #player-api”);if(V){var W=.5625,X=V.querySelector(“.html5-video-player”);X&&”function”===typeof X.getVideoAspectRatio&&(W=1/X.getVideoAspectRatio());var Y=window.document,Z=”CSS1Compat”==Y.compatMode?Y.documentElement:Y.body,ba=T(new B(Z.clientWidth,Z.clientHeight),W);E(V,ba)};}).call(this); ]]>AboutPressCopyrightContact usCreatorAdvertiseDevelopersTermsPrivacyPolicy & SafetyHow YouTube worksTest new features
Source