>>0)+"_",f=0;return b});
q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c
>>0),fa=0;var A,B;a:{for(var C=["CLOSURE_FLAGS"],D=x,E=0;E0:!1}
function L(){return K()?I("Chromium"):(J("Chrome")||J("CriOS"))&&!(K()?0:J("Edge"))||J("Silk")}
;!J("Android")||L();L();J("Safari")&&(L()||(K()?0:J("Coast"))||(K()?0:J("Opera"))||(K()?0:J("Edge"))||(K()?I("Microsoft Edge"):J("Edg/"))||K()&&I("Opera"));Math.max.apply(Math,v(Object.values({A:1,u:2,s:4,D:8,C:16,B:32,h:64,G:128,o:256,m:512,v:1024,j:2048,F:4096,l:8192,i:16384})));function M(a,b){this.width=a;this.height=b}
M.prototype.aspectRatio=function(){return this.width/this.height};
M.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
M.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
M.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function N(){var a=document;var b="DIV";a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}
;var O=new WeakMap;function ha(a,b){a=[a];for(var c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")}
;function P(a,b,c){if(b instanceof M)c=b.height,b=b.width;else if(c==void 0)throw Error("missing height argument");a.style.width=Q(b);a.style.height=Q(c)}
function Q(a){typeof a=="number"&&(a=Math.round(a)+"px");return a}
;var ia=function(a,b){function c(f){f=r(f);f.next();f=u(f);return b(d,f)}
b=b===void 0?ha:b;var d=ea(a);return function(){var f=ca.apply(0,arguments),g=this||x,h=O.get(g);h||(h={},O.set(g,h));g=h;h=[this].concat(v(f));f=c?c(h):h;if(Object.prototype.hasOwnProperty.call(g,f))g=g[f];else{var t=r(h);h=t.next().value;t=u(t);h=a.apply(h,t);g=g[f]=h}return g}}(function(a){var b=N();
a&&(b.className=a);b.style.cssText="overflow:auto;position:absolute;top:0;width:100px;height:100px";a=N();P(a,"200px","200px");b.appendChild(a);document.body.appendChild(b);a=b.offsetWidth-b.clientWidth;b&&b.parentNode&&b.parentNode.removeChild(b);return a});var R=x.window,S,T,U=(R==null?void 0:(S=R.yt)==null?void 0:S.config_)||(R==null?void 0:(T=R.ytcfg)==null?void 0:T.data_)||{};y("yt.config_",U);function ja(){var a={};return"EXPERIMENT_FLAGS"in U?U.EXPERIMENT_FLAGS:a}
;function V(a){a=ja()[a];return typeof a==="string"&&a==="false"?!1:!!a}
function W(a,b){a=ja()[a];return a===void 0&&b!==void 0?b:Number(a||0)}
;var X=W("kevlar_watch_page_horizontal_margin",24),ka=W("kevlar_watch_page_columns_top_padding",24),la=W("web_screen_width_midpoint",1500),ma=W("web_watch_sidebar_width_offset_per_100",10),na=426+X*2,Y=W("kevlar_watch_two_column_width_threshold",1E3),Z=X*2,oa=W("kevlar_watch_secondary_width",402),pa=W("kevlar_watch_max_player_width",1280),qa=W("kevlar_watch_flexy_metadata_height",136),ra=W("kevlar_watch_player_min_height",360),sa=Z+310+X,ta=Z+360+X;
function ua(a,b,c){c=c===void 0?!1:c;var d=Math.max(a.width,na);if(V("kevlar_watch_feed_big_thumbs")&&a.width>=1550-ia()&&a.height>=800)d-=ta;else if(a.width>=Y){var f=a.width;f=Z+(V("web_watch_adjust_sidebar_width")?oa+((f===void 0?1500:f)-la)/100*ma:oa)+X;V("kevlar_watch_feed_big_thumbs")&&(f=sa);d-=f}else d-=Z;d=Math.min(d,pa);f=240;c&&(f=380);b<.5624||(!V("kevlar_watch_flexy_disable_small_window_sizing")&&(a.height<630&&a.width>=657||a.height>=630&&a.width>=Y&&a.width<1327)?f=ra:!V("kevlar_watch_flexy_disable_large_window_sizing")&&
a.height>=630&&a.width>=1327&&(f=480));var g=Math.min(d*b,a.height-(56+ka+qa));g=Math.max(g,f);b<1?d=g/b:a.width>=Y&&(d=ua(a,.5625,c).width);return new M(Math.round(d),Math.round(g))}
function va(a){if(a){var b=.5625,c=a.querySelector(".html5-video-player");c&&typeof c.getVideoAspectRatio==="function"&&(b=1/c.getVideoAspectRatio());c=window.document;c=c.compatMode=="CSS1Compat"?c.documentElement:c.body;b=ua(new M(c.clientWidth,c.clientHeight),b);P(a,b)}}
;y("yt.flexy.setPlayerlikeElementSize",va);V("desktop_delay_player_resizing")||va(document.querySelector("#player.skeleton #player-api"));}).call(this);
AboutPressCopyrightContact usCreatorAdvertiseDevelopersTermsPrivacyPolicy & SafetyHow YouTube worksTest new features" />