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.20230201.01.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),C=0;function D(a,b){this.width=a;this.height=b} D.prototype.aspectRatio=function(){return this.width/this.height}; D.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; D.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; D.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function E(){var a=document;var b=”DIV”;”application/xhtml+xml”===a.contentType&&(b=b.toLowerCase());return a.createElement(b)} ;var F=new WeakMap;function G(a,b){a=[a];for(var c=b.length-1;0=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 g=f*b;h=240;c&&(h=380);if(!(.5624>b)){var m=1327;O(“kevlar_watch_split_pane”)&&(m+=Q());!O(“kevlar_watch_flexy_disable_small_window_sizing”)&& (630>a.height&&657<=a.width||630<=a.height&&1E3<=a.width&&a.width