(function(){var g;function aa(a,b){function c(){}
c.prototype=b.prototype;a.J=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]}
var ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ea="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
function fa(a,b){if(b){for(var c=ea,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ca(c,d,{configurable:!0,writable:!0,value:f})}}
fa("String.prototype.startsWith",function(a){return a?a:function(a,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var b=this+"";a+="";for(var e=b.length,f=a.length,h=Math.max(0,Math.min(c|0,b.length)),k=0;k<f&&h<e;)if(b[h++]!=a[k++])return!1;return k>=f}});
function ga(){ga=function(){};
ea.Symbol||(ea.Symbol=ha)}
var ia=0;function ha(a){return"jscomp_symbol_"+(a||"")+ia++}
function ja(){ga();var a=ea.Symbol.iterator;a||(a=ea.Symbol.iterator=ea.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ca(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ka(this)}});
ja=function(){}}
function ka(a){var b=0;return la(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})}
function la(a){ja();a={next:a};a[ea.Symbol.iterator]=function(){return this};
return a}
fa("Reflect.apply",function(a){if(a)return a;var b=Function.prototype.apply;return function(a,d,e){return b.call(a,d,e)}});
var ma="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
fa("Reflect.construct",function(a){return a?a:function(a,c,d){void 0===d&&(d=a);d=ma(d.prototype||Object.prototype);return Reflect.apply(a,d,c)||d}});
function na(a){ja();var b=a[Symbol.iterator];return b?b.call(a):ka(a)}
fa("Promise",function(a){function b(a){this.j=0;this.w=void 0;this.l=[];var b=this.A();try{a(b.resolve,b.reject)}catch(l){b.reject(l)}}
function c(){this.j=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.l=function(a){null==this.j&&(this.j=[],this.A());this.j.push(a)};
c.prototype.A=function(){var a=this;this.w(function(){a.C()})};
var e=ea.setTimeout;c.prototype.w=function(a){e(a,0)};
c.prototype.C=function(){for(;this.j&&this.j.length;){var a=this.j;this.j=[];for(var b=0;b<a.length;++b){var c=a[b];delete a[b];try{c()}catch(p){this.B(p)}}}this.j=null};
c.prototype.B=function(a){this.w(function(){throw a;})};
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.N),reject:a(this.B)}};
b.prototype.N=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.L(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.H(a):this.C(a)}};
b.prototype.H=function(a){var b=void 0;try{b=a.then}catch(l){this.B(l);return}"function"==typeof b?this.O(b,a):this.C(a)};
b.prototype.B=function(a){this.D(2,a)};
b.prototype.C=function(a){this.D(1,a)};
b.prototype.D=function(a,b){if(0!=this.j)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.j);this.j=a;this.w=b;this.F()};
b.prototype.F=function(){if(null!=this.l){for(var a=this.l,b=0;b<a.length;++b)a[b].call(),a[b]=null;this.l=null}};
var f=new c;b.prototype.L=function(a){var b=this.A();a.Xb(b.resolve,b.reject)};
b.prototype.O=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(p){c.reject(p)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(Sa){f(Sa)}}:b}
var e,f,h=new b(function(a,b){e=a;f=b});
this.Xb(d(a,e),d(c,f));return h};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Xb=function(a,b){function c(){switch(d.j){case 1:a(d.w);break;case 2:b(d.w);break;default:throw Error("Unexpected state: "+d.j);}}
var d=this;null==this.l?f.l(c):this.l.push(function(){f.l(c)})};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=na(a),f=e.next();!f.done;f=e.next())d(f.value).Xb(b,c)})};
b.all=function(a){var c=na(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){h[b]=c;k--;0==k&&a(h)}}
var h=[],k=0;do h.push(void 0),k++,d(e.value).Xb(f(h.length-1),b),e=c.next();while(!e.done)})};
return b});
var oa=oa||{},m=this;function n(a){return void 0!==a}
function q(a){return"string"==typeof a}
function pa(a){return"number"==typeof a}
function r(a,b,c){a=a.split(".");c=c||m;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&n(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}
function t(a,b){for(var c=a.split("."),d=b||m,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d}
function qa(){}
function ra(a){a.ka=void 0;a.getInstance=function(){return a.ka?a.ka:a.ka=new a}}
function sa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}
function ta(a){return"array"==sa(a)}
function ua(a){var b=sa(a);return"array"==b||"object"==b&&"number"==typeof a.length}
function va(a){return"function"==sa(a)}
function wa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function xa(a){return a[za]||(a[za]=++Aa)}
var za="closure_uid_"+(1E9*Math.random()>>>0),Aa=0;function Ba(a,b,c){return a.call.apply(a.bind,arguments)}
function Ca(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function u(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?u=Ba:u=Ca;return u.apply(null,arguments)}
function Da(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}}
function Ea(a,b){for(var c in b)a[c]=b[c]}
var v=Date.now||function(){return+new Date};
function w(a,b){function c(){}
c.prototype=b.prototype;a.J=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Jk=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}}
;function Fa(){var a=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return a?parseInt(a[1],10):0}
function Ga(a){return!!document.currentScript&&(-1!=document.currentScript.src.indexOf("?"+a)||-1!=document.currentScript.src.indexOf("&"+a))}
var Ha=Ga("loadGamesSDK")?"/cast_game_sender.js":"/cast_sender.js",Ia=Ga("loadCastFramework")||Ga("loadCastApplicationFramework");function Ja(){return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null}
var Ka=["boadgeojelhgndaghljhdicfkmllpafd","dliochdbjfkdbacpmhlcpmleaejidimm","enhhojjnijigcajfphajepfemndkmdlo","fmfcbgogabcbclcofgocippekhfcmgfj"],La=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","fjhoaacokmgbjemoflkofnenfaiekifl"],Ma=50<=Fa()?La.concat(Ka):Ka.concat(La);function Na(a,b){var c=new XMLHttpRequest;c.onreadystatechange=function(){4==c.readyState&&200==c.status&&b(!0)};
c.onerror=function(){b(!1)};
try{c.open("GET",a,!0),c.send()}catch(d){b(!1)}}
function Oa(a){if(a>=Ma.length)Pa();else{var b=Ma[a],c="chrome-extension://"+b+Ha;0<=Ka.indexOf(b)?Na(c,function(d){d?(window.chrome.cast=window.chrome.cast||{},window.chrome.cast.extensionId=b,Qa(c,Pa)):Oa(a+1)}):Qa(c,function(){Oa(a+1)})}}
function Qa(a,b,c){var d=document.createElement("script");d.onerror=b;c&&(d.onload=c);d.src=a;(document.head||document.documentElement).appendChild(d)}
function Ra(a){return 0<=window.navigator.userAgent.indexOf(a)}
function Pa(){var a=Ja();a&&a(!1,"No cast extension found")}
function Ta(){if(Ia){var a=2,b=Ja(),c=function(){a--;0==a&&b&&b(!0)};
window.__onGCastApiAvailable=c;Qa("//www.gstatic.com/cast/sdk/libs/sender/1.0/cast_framework.js",Pa,c)}}
function Ua(){if(Ra("CriOS")){var a=window.__gCrWeb&&window.__gCrWeb.message&&window.__gCrWeb.message.invokeOnHost;if(a){Ta();a({command:"cast.sender.init"});return}}if(!window.chrome||Ra("Edge"))Pa();else if(Ta(),Ra("Android")&&Ra("Chrome/")&&window.navigator.presentation){var a="",b=Fa();55<=b?a="55":50<=b&&(a="50");Qa("//www.gstatic.com/eureka/clank"+a+Ha,Pa)}else Oa(0)}
;var Va=document,x=window;function Wa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Wa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}
w(Wa,Error);Wa.prototype.name="CustomError";var Xa;function Za(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}
function $a(a){return/^[\s\xa0]*$/.test(a)}
var ab=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
function bb(a){return encodeURIComponent(String(a))}
function cb(a){return decodeURIComponent(a.replace(/\+/g," "))}
function db(a){if(!eb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(fb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(gb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(hb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ib,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(jb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(kb,"&#0;"));return a}
var fb=/&/g,gb=/</g,hb=/>/g,ib=/"/g,jb=/'/g,kb=/\x00/g,eb=/[\x00&<>"']/;function lb(a){return-1!=a.indexOf("&")?"document"in m?mb(a):nb(a):a}
function mb(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=m.document.createElement("div");return a.replace(ob,function(a,e){var d=b[a];if(d)return d;if("#"==e.charAt(0)){var h=Number("0"+e.substr(1));isNaN(h)||(d=String.fromCharCode(h))}d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})}
function nb(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var b=Number("0"+c.substr(1));if(!isNaN(b))return String.fromCharCode(b)}return a}})}
var ob=/&([^;\s<&]+);?/g,pb={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},qb={"'":"\\'"},rb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};
function sb(a){a=n(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);return rb("0",Math.max(0,2-b))+a}
function tb(a){return null==a?"":String(a)}
function ub(a,b){for(var c=0,d=ab(String(a)).split("."),e=ab(String(b)).split("."),f=Math.max(d.length,e.length),h=0;0==c&&h<f;h++){var k=d[h]||"",l=e[h]||"";do{k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==k[0].length&&0==l[0].length)break;c=vb(0==k[1].length?0:parseInt(k[1],10),0==l[1].length?0:parseInt(l[1],10))||vb(0==k[2].length,0==l[2].length)||vb(k[2],l[2]);k=k[3];l=l[3]}while(0==c)}return c}
function vb(a,b){return a<b?-1:a>b?1:0}
function wb(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b}
function xb(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}
function yb(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}
;var zb=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;
if(q(a))return q(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ab=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;
0>c&&(c=Math.max(0,a.length+c));if(q(a))return q(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},z=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Bb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=q(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];
b.call(c,l,k,a)&&(e[f++]=l)}return e},Cb=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=q(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));
return e},Db=Array.prototype.reduce?function(a,b,c,d){d&&(b=u(b,d));
return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;
z(a,function(c,h){e=b.call(d,e,c,h,a)});
return e},Eb=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1},Fb=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};
function Gb(a,b,c){b=Hb(a,b,c);return 0>b?null:q(a)?a.charAt(b):a[b]}
function Hb(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1}
function Ib(a,b){a:{var c=q(a)?a.split(""):a;for(var d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a)){c=d;break a}c=-1}return 0>c?null:q(a)?a.charAt(c):a[c]}
function Jb(a,b){return 0<=zb(a,b)}
function Kb(a,b){Jb(a,b)||a.push(b)}
function Lb(a,b){var c=zb(a,b),d;(d=0<=c)&&Mb(a,c);return d}
function Mb(a,b){Array.prototype.splice.call(a,b,1)}
function Nb(a,b){var c=Hb(a,b,void 0);0<=c&&Mb(a,c)}
function Ob(a){return Array.prototype.concat.apply([],arguments)}
function Pb(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}
function Qb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}}
function Rb(a,b,c,d){return Array.prototype.splice.apply(a,Sb(arguments,1))}
function Sb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function Tb(a,b){if(!ua(a)||!ua(b)||a.length!=b.length)return!1;for(var c=a.length,d=Ub,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}
function Vb(a,b){return a>b?1:a<b?-1:0}
function Ub(a,b){return a===b}
function Wb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(ta(d))for(var e=0;e<d.length;e+=8192)for(var f=Wb.apply(null,Sb(d,e,e+8192)),h=0;h<f.length;h++)b.push(f[h]);else b.push(d)}return b}
function Xb(a){for(var b=Math.random,c=a.length-1;0<c;c--){var d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e}}
;var Yb;a:{var Zb=m.navigator;if(Zb){var $b=Zb.userAgent;if($b){Yb=$b;break a}}Yb=""}function A(a){return-1!=Yb.indexOf(a)}
function ac(a){for(var b=RegExp("(\\w[\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c}
;function bc(a,b,c){for(var d in a)b.call(c,a[d],d,a)}
function cc(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}
function dc(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}
function ec(a){var b=0,c;for(c in a)b++;return b}
function fc(a,b){return gc(a,b)}
function hc(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}
function ic(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}
function jc(a,b){return null!==a&&b in a}
function gc(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
function kc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}
function lc(a){for(var b in a)return!1;return!0}
function mc(a,b){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=!0}
function nc(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0}
function oc(a){var b={},c;for(c in a)b[c]=a[c];return b}
function pc(a){var b=sa(a);if("object"==b||"array"==b){if(va(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=pc(a[c]);return b}return a}
var qc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function rc(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<qc.length;f++)c=qc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
function sc(a){var b=arguments.length;if(1==b&&ta(arguments[0]))return sc.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c}
;function tc(){return A("Trident")||A("MSIE")}
function uc(){return A("Safari")&&!(vc()||A("Coast")||A("Opera")||A("Edge")||A("Silk")||A("Android"))}
function vc(){return(A("Chrome")||A("CriOS"))&&!A("Edge")}
function wc(){function a(a){a=Gb(a,d);return c[a]||""}
var b=Yb;if(tc())return xc(b);var b=ac(b),c={};z(b,function(a){c[a[0]]=a[1]});
var d=Da(jc,c);return A("Opera")?a(["Version","Opera"]):A("Edge")?a(["Edge"]):vc()?a(["Chrome","CriOS"]):(b=b[2])&&b[1]||""}
function xc(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];var b="",c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b}
;function yc(){return A("iPhone")&&!A("iPod")&&!A("iPad")}
function zc(){return yc()||A("iPad")||A("iPod")}
;function Ac(a){Ac[" "](a);return a}
Ac[" "]=qa;function Bc(a,b){try{return Ac(a[b]),!0}catch(c){}return!1}
function Cc(a,b){var c=Dc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}
;var Ec=A("Opera"),B=tc(),Fc=A("Edge"),Gc=Fc||B,Hc=A("Gecko")&&!(-1!=Yb.toLowerCase().indexOf("webkit")&&!A("Edge"))&&!(A("Trident")||A("MSIE"))&&!A("Edge"),Ic=-1!=Yb.toLowerCase().indexOf("webkit")&&!A("Edge"),Jc=A("Macintosh"),Kc=A("Windows"),Lc=A("Android"),Mc=yc(),Nc=A("iPad"),Oc=A("iPod");function Pc(){var a=m.document;return a?a.documentMode:void 0}
var Qc;a:{var Rc="",Sc=function(){var a=Yb;if(Hc)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Fc)return/Edge\/([\d\.]+)/.exec(a);if(B)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Ic)return/WebKit\/(\S+)/.exec(a);if(Ec)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
Sc&&(Rc=Sc?Sc[1]:"");if(B){var Tc=Pc();if(null!=Tc&&Tc>parseFloat(Rc)){Qc=String(Tc);break a}}Qc=Rc}var Uc=Qc,Dc={};function Vc(a){return Cc(a,function(){return 0<=ub(Uc,a)})}
function Wc(a){return Number(Xc)>=a}
var Yc;var Zc=m.document;Yc=Zc&&B?Pc()||("CSS1Compat"==Zc.compatMode?parseInt(Uc,10):5):void 0;var Xc=Yc;function $c(){return Ic?"Webkit":Hc?"Moz":B?"ms":Ec?"O":null}
function ad(){return Ic?"-webkit":Hc?"-moz":B?"-ms":Ec?"-o":null}
;function bd(a,b,c){return a+c*(b-a)}
;function cd(a,b){this.x=n(a)?a:0;this.y=n(b)?b:0}
g=cd.prototype;g.clone=function(){return new cd(this.x,this.y)};
g.equals=function(a){return a instanceof cd&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};
function dd(a,b){return new cd(a.x-b.x,a.y-b.y)}
g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.translate=function(a,b){a instanceof cd?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),pa(b)&&(this.y+=b));return this};
g.scale=function(a,b){var c=pa(b)?b:a;this.x*=a;this.y*=c;return this};var ed=!B||Wc(9),fd=!Hc&&!B||B&&Wc(9)||Hc&&Vc("1.9.1"),kd=B&&!Vc("9"),ld=B||Ec||Ic;var md={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function nd(){this.j="";this.l=od}
nd.prototype.Ta=!0;nd.prototype.Ka=function(){return this.j};
nd.prototype.toString=function(){return"Const{"+this.j+"}"};
function pd(a){return a instanceof nd&&a.constructor===nd&&a.l===od?a.j:"type_error:Const"}
var od={};function qd(a){var b=new nd;b.j=a;return b}
qd("");function rd(){this.j="";this.l=sd}
rd.prototype.Ta=!0;var sd={};rd.prototype.Ka=function(){return this.j};
function td(a){if(a instanceof rd&&a.constructor===rd&&a.l===sd)return a.j;sa(a);return"type_error:SafeStyle"}
function ud(a){var b=new rd;b.j=a;return b}
var vd=ud("");function wd(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];if(null!=d){if(d instanceof nd)d=pd(d);else if(xd.test(d)){for(var e=!0,f=!0,h=0;h<d.length;h++){var k=d.charAt(h);"'"==k&&f?e=!e:'"'==k&&e&&(f=!f)}e&&f||(d="zClosurez")}else d="zClosurez";b+=c+":"+d+";"}}return b?ud(b):vd}
var xd=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var yd=RegExp("^[^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),zd=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]");function Ad(){this.j="";this.l=Bd}
Ad.prototype.Ta=!0;Ad.prototype.Ka=function(){return this.j};
Ad.prototype.Sc=!0;Ad.prototype.Lb=function(){return 1};
function Cd(a){if(a instanceof Ad&&a.constructor===Ad&&a.l===Bd)return a.j;sa(a);return"type_error:TrustedResourceUrl"}
var Bd={};function Dd(a){var b=new Ad;b.j=a;return b}
;function Ed(){this.j="";this.l=Fd}
Ed.prototype.Ta=!0;Ed.prototype.Ka=function(){return this.j};
Ed.prototype.Sc=!0;Ed.prototype.Lb=function(){return 1};
function Gd(a){if(a instanceof Ed&&a.constructor===Ed&&a.l===Fd)return a.j;sa(a);return"type_error:SafeUrl"}
var Hd=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Id(a){if(a instanceof Ed)return a;a=a.Ta?a.Ka():String(a);Hd.test(a)||(a="about:invalid#zClosurez");return Jd(a)}
var Fd={};function Jd(a){var b=new Ed;b.j=a;return b}
Jd("about:blank");function Kd(){this.j="";this.w=Ld;this.l=null}
Kd.prototype.Sc=!0;Kd.prototype.Lb=function(){return this.l};
Kd.prototype.Ta=!0;Kd.prototype.Ka=function(){return this.j};
function Md(a){if(a instanceof Kd&&a.constructor===Kd&&a.w===Ld)return a.j;sa(a);return"type_error:SafeHtml"}
var Nd=/^[a-zA-Z0-9-]+$/,Od={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Pd={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
function Qd(a,b,c){var d=String(a);if(!Nd.test(d))throw Error("Invalid tag name <"+d+">.");if(d.toUpperCase()in Pd)throw Error("Tag name <"+d+"> is not allowed for SafeHtml.");a=String(a);var d=null,e="<"+a,f="";if(b)for(p in b){if(!Nd.test(p))throw Error('Invalid attribute name "'+p+'".');var h=b[p];if(null!=h){var k=a;var l=p;if(h instanceof nd)h=pd(h);else if("style"==l.toLowerCase()){if(!wa(h))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof h+
" given: "+h);h instanceof rd||(h=wd(h));h=td(h)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+h+'" given.');if(l.toLowerCase()in Od)if(h instanceof Ad)h=Cd(h);else if(h instanceof Ed)h=Gd(h);else if(q(h))h=Id(h).Ka();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+h+'" given.');}h.Ta&&(h=h.Ka());l=l+'="'+db(String(h))+'"';f+=" "+l}}var p=e+f;null!=c?ta(c)||(c=[c]):c=[];!0===md[a.toLowerCase()]?
p+=">":(c=Rd(c),p+=">"+Md(c)+"</"+a+">",d=c.Lb());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?d=0:d=null);return Sd(p,d)}
function Rd(a){function b(a){if(ta(a))z(a,b);else{if(a instanceof Kd)var e=a;else e=null,a.Sc&&(e=a.Lb()),a=db(a.Ta?a.Ka():String(a)),e=Sd(a,e);d+=Md(e);e=e.Lb();0==c?c=e:0!=e&&c!=e&&(c=null)}}
var c=0,d="";z(arguments,b);return Sd(d,c)}
var Ld={};function Sd(a,b){var c=new Kd;c.j=a;c.l=b;return c}
var Td=Sd("<!DOCTYPE html>",0),Ud=Sd("",0),Vd=Sd("<br>",0);function Wd(a,b){a.innerHTML=Md(b)}
function Xd(a,b){var c=b instanceof Ed?b:Id(b);a.href=Gd(c)}
function Yd(a,b){a.src=Cd(b)}
function Zd(a,b){var c=b instanceof Ed?b:Id(b);a.href=Gd(c)}
;function $d(a,b){return Sd(b,null)}
;function ae(a,b){this.width=a;this.height=b}
g=ae.prototype;g.clone=function(){return new ae(this.width,this.height)};
g.ob=function(){return this.width*this.height};
g.aspectRatio=function(){return this.width/this.height};
g.isEmpty=function(){return!this.ob()};
g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.scale=function(a,b){var c=pa(b)?b:a;this.width*=a;this.height*=c;return this};function be(a){return a?new ce(de(a)):Xa||(Xa=new ce)}
function D(a){return q(a)?document.getElementById(a):a}
function ee(a){var b=document;return q(a)?b.getElementById(a):a}
function fe(a,b,c){return ge(document,a,b,c)}
function he(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):ge(document,"*",a,b)}
function E(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=ie("*",a,b);return d||null}
function ge(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){d=a.getElementsByClassName(c);if(e){a={};for(var f=b=0,h;h=d[f];f++)e==h.nodeName&&(a[b++]=h);a.length=b;return a}return d}d=a.getElementsByTagName(e||"*");if(c){a={};for(f=b=0;h=d[f];f++)e=h.className,"function"==typeof e.split&&Jb(e.split(/\s+/),c)&&(a[b++]=h);a.length=b;return a}return d}
function ie(a,b,c){var d=document,e=c||d,f=a&&"*"!=a?String(a).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(f||b)?e.querySelector(f+(b?"."+b:"")):ge(d,a,b,c)[0]||null}
function je(a,b){bc(b,function(b,d){b&&b.Ta&&(b=b.Ka());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:ke.hasOwnProperty(d)?a.setAttribute(ke[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
var ke={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function le(a){a=a.document;a=me(a)?a.documentElement:a.body;return new ae(a.clientWidth,a.clientHeight)}
function ne(a){var b=oe(a);a=pe(a);return B&&Vc("10")&&a.pageYOffset!=b.scrollTop?new cd(b.scrollLeft,b.scrollTop):new cd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}
function oe(a){return a.scrollingElement?a.scrollingElement:!Ic&&me(a)?a.documentElement:a.body||a.documentElement}
function pe(a){return a.parentWindow||a.defaultView}
function qe(a,b,c){return re(document,arguments)}
function re(a,b){var c=String(b[0]),d=b[1];if(!ed&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',db(d.name),'"');if(d.type){c.push(' type="',db(d.type),'"');var e={};rc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(q(d)?c.className=d:ta(d)?c.className=d.join(" "):je(c,d));2<b.length&&se(a,c,b);return c}
function se(a,b,c){function d(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}
for(var e=2;e<c.length;e++){var f=c[e];!ua(f)||wa(f)&&0<f.nodeType?d(f):z(te(f)?Pb(f):f,d)}}
function ue(a,b){return a.createElement(String(b))}
function ve(a){var b=document,c=ue(b,"DIV");B?(Wd(c,Rd(Vd,a)),c.removeChild(c.firstChild)):Wd(c,a);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c}
function me(a){return"CSS1Compat"==a.compatMode}
function we(a){for(var b;b=a.firstChild;)a.removeChild(b)}
function xe(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}
function ye(a){a&&a.parentNode&&a.parentNode.removeChild(a)}
function ze(a){var b,c=a.parentNode;if(c&&11!=c.nodeType)if(a.removeNode)a.removeNode(!1);else{for(;b=a.firstChild;)c.insertBefore(b,a);ye(a)}}
function Ae(a){return fd&&void 0!=a.children?a.children:Bb(a.childNodes,function(a){return 1==a.nodeType})}
function Be(a){return n(a.firstElementChild)?a.firstElementChild:Ce(a.firstChild,!0)}
function Ce(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}
function De(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null}
function Ke(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a}
function Le(a){return wa(a)&&1==a.nodeType}
function Me(a){var b;if(ld&&!(B&&Vc("9")&&!Vc("10")&&m.SVGElement&&a instanceof m.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Le(b)?b:null}
function Ne(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}
function de(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function Oe(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else we(a),a.appendChild(de(a).createTextNode(String(b)))}
function Pe(a,b){var c=[];return Qe(a,b,c,!0)?c[0]:void 0}
function Qe(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Qe(a,b,c,d))return!0;a=a.nextSibling}return!1}
var Re={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Se={IMG:" ",BR:"\n"};function Te(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Ue(a)||Ve(a)):Ue(a)&&Ve(a))&&B){var c;!va(a.getBoundingClientRect)||B&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a}
function Ue(a){return B&&!Vc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}
function Ve(a){a=a.tabIndex;return pa(a)&&0<=a&&32768>a}
function We(a){if(kd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Xe(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");kd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
function Xe(a,b,c){if(!(a.nodeName in Re))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Se)b.push(Se[a.nodeName]);else for(a=a.firstChild;a;)Xe(a,b,c),a=a.nextSibling}
function te(a){if(a&&"number"==typeof a.length){if(wa(a))return"function"==typeof a.item||"string"==typeof a.item;if(va(a))return"function"==typeof a.item}return!1}
function Ye(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Ze(a,function(a){return(!e||a.nodeName==e)&&(!c||q(a.className)&&Jb(a.className.split(/\s+/),c))},!0,d)}
function F(a,b){return Ye(a,null,b,void 0)}
function Ze(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}
function ce(a){this.j=a||m.document||document}
g=ce.prototype;g.getElementsByTagName=function(a,b){return(b||this.j).getElementsByTagName(String(a))};
g.Kf=function(a,b,c){return re(this.j,arguments)};
g.createElement=function(a){return ue(this.j,a)};
g.appendChild=function(a,b){a.appendChild(b)};
g.isElement=Le;g.contains=Ne;function $e(a){af();return Sd(a,null)}
function bf(a){af();return Dd(a)}
var af=qa;function cf(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}
g=cf.prototype;g.getWidth=function(){return this.right-this.left};
g.getHeight=function(){return this.bottom-this.top};
g.clone=function(){return new cf(this.top,this.right,this.bottom,this.left)};
g.contains=function(a){return df(this,a)};
g.expand=function(a,b,c,d){wa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
function df(a,b){return a&&b?b instanceof cf?b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}
function ef(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom}
g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof cd?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,pa(b)&&(this.top+=b,this.bottom+=b));return this};
g.scale=function(a,b){var c=pa(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function ff(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}
g=ff.prototype;g.clone=function(){return new ff(this.left,this.top,this.width,this.height)};
function gf(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return a.left=c,a.top=e,a.width=d-c,a.height=f-e,!0}return!1}
g.contains=function(a){return a instanceof cd?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
function hf(a){return new ae(a.width,a.height)}
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof cd?(this.left+=a.x,this.top+=a.y):(this.left+=a,pa(b)&&(this.top+=b));return this};
g.scale=function(a,b){var c=pa(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function jf(a,b,c){if(q(b))(b=kf(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=kf(c,d);f&&(c.style[f]=e)}}
var lf={};function kf(a,b){var c=lf[b];if(!c){var d=xb(b),c=d;void 0===a.style[d]&&(d=$c()+yb(d),void 0!==a.style[d]&&(c=d));lf[b]=c}return c}
function mf(a,b){var c=de(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}
function nf(a,b){return mf(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}
function of(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}B&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
function pf(a){if(B&&!Wc(8))return a.offsetParent;var b=de(a),c=nf(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=nf(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
function qf(a){for(var b=new cf(0,Infinity,Infinity,0),c=be(a),d=c.j.body,e=c.j.documentElement,f=oe(c.j);a=pf(a);)if(!(B&&0==a.clientWidth||Ic&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=nf(a,"overflow")){var h=rf(a),k=new cd(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);
c=le(pe(c.j)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null}
function rf(a){var b=de(a),c=new cd(0,0);var d=b?de(b):document;d=!B||Wc(9)||me(be(d).j)?d.documentElement:d.body;if(a==d)return c;a=of(a);b=ne(be(b).j);c.x=a.left+b.x;c.y=a.top+b.y;return c}
function sf(a){return rf(a).x}
function tf(a){a=of(a);return new cd(a.left,a.top)}
function uf(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}
function vf(a){var b=wf;if("none"!=nf(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}
function wf(a){var b=a.offsetWidth,c=a.offsetHeight,d=Ic&&!b&&!c;return n(b)&&!d||!a.getBoundingClientRect?new ae(b,c):(a=of(a),new ae(a.right-a.left,a.bottom-a.top))}
function xf(a){var b=rf(a);a=vf(a);return new ff(b.x,b.y,a.width,a.height)}
function yf(a){return"rtl"==nf(a,"direction")}
function zf(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+e}
function Af(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?zf(a,c):0}
var Bf={thin:2,medium:4,thick:6};function Cf(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Bf?Bf[c]:zf(a,c)}
;function Df(a){try{return!!a&&null!=a.location.href&&Bc(a,"foo")}catch(b){return!1}}
function Ef(a){if(!(1E-4>Math.random())){var b=Math.random();if(0>b){try{var c=new Uint32Array(1);m.crypto.getRandomValues(c);b=c[0]/65536/65536}catch(d){b=Math.random()}return a[Math.floor(b*a.length)]}}return null}
function Ff(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)}
function Gf(){var a=[];Ff(Hf,function(b){a.push(b)});
return a}
function If(a){var b=a.length;if(0==b)return 0;for(var c=305419896,d=0;d<b;d++)c^=(c<<5)+(c>>2)+a.charCodeAt(d)&4294967295;return 0<c?c:4294967296+c}
;var Nf=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
m.addEventListener("test",null,b)}catch(c){}return a}();
function Of(a,b,c){a.addEventListener?a.addEventListener(b,c,Nf?void 0:!1):a.attachEvent&&a.attachEvent("on"+b,c)}
function Pf(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Nf?void 0:!1):a.detachEvent&&a.detachEvent("on"+b,c)}
;var Qf={"AMP-CAROUSEL":"ac","AMP-FX-FLYING-CARPET":"fc","AMP-LIGHTBOX":"lb","AMP-STICKY-AD":"sa"};function Rf(a){a=a||m;var b=a.context;if(!b)try{b=a.parent.context}catch(c){}try{if(b&&"pageViewId"in b&&"canonicalUrl"in b)return b}catch(c){}return null}
function Sf(a){a=a||Rf();if(!a)return null;a=a.master;return Df(a)?a:null}
;function Tf(a,b){m.google_image_requests||(m.google_image_requests=[]);var c=m.document.createElement("img");if(b){var d=function(a){b(a);Pf(c,"load",d);Pf(c,"error",d)};
Of(c,"load",d);Of(c,"error",d)}c.src=a;m.google_image_requests.push(c)}
;var Uf=Object.prototype.hasOwnProperty;function Vf(a,b){return typeof a===b}
function Wf(a,b){for(var c in a)Uf.call(a,c)&&b.call(void 0,a[c],c,a)}
function Xf(a){return!(!a||!a.call)&&Vf(a,"function")}
function Yf(a,b){for(var c=1,d=arguments.length;c<d;++c)a.push(arguments[c])}
function Zf(a,b){if(a.filter)return a.filter(b,void 0);for(var c=[],d=0;d<a.length;d++)b.call(void 0,a[d],d,a)&&c.push(a[d]);return c}
function $f(){var a=ag();"google_onload_fired"in a||(a.vg=!1,Of(a,"load",function(){a.vg=!0}))}
function bg(a,b){var c=b.slice(-1),d="?"===c||"#"===c?"":"&",e=[b];Wf(a,function(a,b){if(a||0===a||!1===a)Vf(a,"boolean")&&(a=a?1:0),Yf(e,d,b,"=",encodeURIComponent(String(a))),d="&"});
return e.join("")}
function cg(){try{return x.history.length}catch(a){return 0}}
function dg(){var a=x,a=Sf(Rf(a))||a,a=a.google_unique_id;return Vf(a,"number")?a:0}
function eg(a){a.u_tz=-(new Date).getTimezoneOffset();a.u_his=cg();a.u_java=!!x.navigator&&!Vf(x.navigator.javaEnabled,"unknown")&&!!x.navigator.javaEnabled&&x.navigator.javaEnabled();x.screen&&(a.u_h=x.screen.height,a.u_w=x.screen.width,a.u_ah=x.screen.availHeight,a.u_aw=x.screen.availWidth,a.u_cd=x.screen.colorDepth);x.navigator&&x.navigator.plugins&&(a.u_nplug=x.navigator.plugins.length);x.navigator&&x.navigator.mimeTypes&&(a.u_nmime=x.navigator.mimeTypes.length)}
var fg=!!window.google_async_iframe_id,gg=fg&&window.parent||window;function ag(){if(fg&&!Df(gg)){var a="."+Va.domain;try{for(;2<a.split(".").length&&!Df(gg);)Va.domain=a=a.substr(a.indexOf(".")+1),gg=window.parent}catch(b){}Df(gg)||(gg=window)}return gg}
var hg=/(^| )adsbygoogle($| )/;
function ig(){var a,b=window.ActiveXObject;if(navigator.plugins&&navigator.mimeTypes.length){if((a=navigator.plugins["Shockwave Flash"])&&a.description)return a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")}else{if(navigator.userAgent&&0<=navigator.userAgent.indexOf("Windows CE")){var c=3;for(a=1;a;)try{a=new b("ShockwaveFlash.ShockwaveFlash."+(c+1)),c++}catch(d){a=null}return c.toString()}if(tc()){a=null;try{a=new b("ShockwaveFlash.ShockwaveFlash.7")}catch(d){c=0;try{a=new b("ShockwaveFlash.ShockwaveFlash.6"),
c=6,a.AllowScriptAccess="always"}catch(e){if(6===c)return c.toString()}try{a=new b("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(a)return c=a.GetVariable("$version").split(" ")[1],c.replace(/,/g,".")}}return"0"}
function jg(){var a=x.google_ad_format;return a?0<a.indexOf("_0ads"):"html"!==x.google_ad_output&&0<x.google_num_radlinks}
function kg(a){a=a.top;return Df(a)?a:null}
;var lg={google_ad_channel:"channel",google_ad_host:"host",google_ad_host_channel:"h_ch",google_ad_host_tier_id:"ht_id",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_available_width:"avail_w",google_allow_expandable_ads:"ea",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",
google_color_url:"color_url",google_content_recommendation_columns_num:"cr_col",google_content_recommendation_rows_num:"cr_row",google_content_recommendation_ui_type:"crui",google_contents:"contents",google_country:"gl",google_cpm:"cpm",google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",
google_ed:"ed",google_encoding:"oe",google_flash_version:"flash",google_font_face:"f",google_font_size:"fs",google_full_width_responsive_allowed:"fwr",google_hints:"hints",google_is_split_slot:"spl",google_kw:"kw",google_kw_type:"kw_type",google_language:"hl",google_page_url:"url",google_pgb_reactive:"pra",google_region:"gr",google_resizing_allowed:"rs",google_resizing_height:"rh",google_resizing_width:"rw",google_reuse_colors:"reuse_colors",google_responsive_formats:"resp_fmts",google_safe:"adsafe",
google_safe_for_responsive_override:"sfro",google_tag_info:"gut",google_ui_features:"ui",google_video_doc_id:"video_doc_id",google_video_product_type:"video_product_type",google_webgl_support:"wgl"},mg={google_ad_block:"ad_block",google_ad_client:"client",google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_height:"h",google_ad_resize:"twa",google_ad_slot:"slotname",google_ad_unit_key:"adk",google_ad_dom_fingerprint:"adf",google_ad_width:"w",google_analytics_url_parameters:"aup",
google_auto_format:"afmt",google_captcha_token:"captok",google_content_recommendation_ui_type:"crui",google_content_recommendation_columns_num:"cr_col",google_content_recommendation_rows_num:"cr_row",google_ctr_threshold:"ctr_t",google_cust_criteria:"cust_params",google_delay_requests_count:"drc",google_delay_requests_delay:"drd",google_full_width_responsive_optout:"fwr_optout",google_image_size:"image_size",google_last_modified_time:"lmt",google_loeid:"loeid",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len",
google_mtl:"mtl",google_native_settings_key:"nsk",google_nofo:"nofo",google_enable_content_recommendations:"ecr",google_infinite_scroll_slot_type:"ifsl",google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_pucrd:"pucrd",google_reactive_plaf:"plaf",google_reactive_plat:"plat",google_reactive_sra_channels:"plach",google_responsive_auto_format:"rafmt",google_only_ads_with_video:"only_ads_with_video",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",
google_rl_mode:"rl_mode",google_rt:"rt",google_source_type:"src_type",google_sui:"sui",google_skip:"skip",google_tag_for_child_directed_treatment:"tfcd",google_tag_origin:"to",google_tdsma:"tdsma",google_tfs:"tfs",google_tl:"tl"},ng={google_core_dbp:"dbp",google_lact:"lact",google_only_pyv_ads:"pyv",google_only_userchoice_ads:"uc",google_scs:"scs",google_targeting:"targeting",google_with_pyv_ads:"withpyv",google_previous_watch:"p_w",google_previous_searches:"p_s",google_video_url_to_fetch:"durl",
google_yt_pt:"yt_pt",google_yt_up:"yt_up"};var og=0;function pg(){null==window.l&&(window.l="html");window.j=String(window.j);null!=window.B&&(window.B=String(window.B));var a;(a=window.j)?(a=a.toLowerCase())&&"ca-"!=a.substring(0,3)&&(a="ca-"+a):a="";window.j=a;if(null==window.Zf){a=window;try{var b=ig()}catch(c){b="0"}a.Zf=b}window.pl=!!x.WebGLRenderingContext;window.A=window.A||window.Tk||"";window.cb=window.cb||window.ml||"";b=(new Date).getTime();ta(window.N)&&(window.N=qg(window.N,b));ta(window.V)&&(window.V=qg(window.V,b));ta(window.ca)&&(window.ca=
qg(window.ca,b));ta(window.W)&&(window.W=qg(window.W,b));ta(window.L)&&(window.L=qg(window.L,b));ta(window.O)&&(window.O=qg(window.O,b))}
function rg(){var a=window;Wf(lg,function(b,c){a[c]=null});
Wf(mg,function(b,c){a[c]=null});
Wf(ng,function(b,c){a[c]=null});
a.google_container_id=null;a.google_enable_async=null;a.google_eids=null;a.google_page_location=null;a.google_referrer_url=null;a.google_show_ads_impl=null;a.google_ad_region=null;a.google_gl=null;a.google_iframe_name=null;a.google_loader_used=null;a.google_loader_features_used=null}
function qg(a,b){og|=2;return a[b%a.length]}
;function sg(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c}
;var tg=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function ug(a){return a.match(tg)}
function vg(a){return a?decodeURI(a):a}
function wg(a){return vg(ug(a)[3]||null)}
function xg(){return vg(ug(window.location.href)[5]||null)}
function yg(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var h=c[d].substring(0,e);f=c[d].substring(e+1)}else h=c[d];b(h,f?cb(f):"")}}
function zg(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);c=[a.substr(0,d),e,a.substr(c)];d=c[1];c[1]=b?d?d+"&"+b:b:d;return c[0]+(c[1]?"?"+c[1]:"")+c[2]}
function Ag(a,b,c){if(ta(b))for(var d=0;d<b.length;d++)Ag(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+bb(b)))}
function Bg(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Ag(a[d],a[d+1],c);return c.join("&")}
function Cg(a){var b=[],c;for(c in a)Ag(c,a[c],b);return b.join("&")}
function Dg(a,b){var c=2==arguments.length?Bg(arguments[1],0):Bg(arguments,1);return zg(a,c)}
function Eg(a,b){var c=Cg(b);return zg(a,c)}
function Fg(a,b,c){for(;0<=(b=a.indexOf("lact",b))&&b<c;){var d=a.charCodeAt(b-1);if(38==d||63==d)if(d=a.charCodeAt(b+4),!d||61==d||38==d||35==d)return b;b+=5}return-1}
var Gg=/#|$/,Hg=/[?&]($|#)/;function Ig(a){for(var b=Jg(),c=a.search(Gg),d=0,e,f=[];0<=(e=Fg(a,d,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));a=f.join("").replace(Hg,"$1");b=null!=b?"="+bb(b):"";return zg(a,"lact"+b)}
;function Kg(a){if(a=/[-\w]+\.[-\w]+$/.exec(a))switch(wb(a[0].toLowerCase())){case 1967261364:return 0;case 3147493546:return 1;case 1567346461:return 2;case 2183041838:return 3;case 763236279:return 4;case 1342279801:return 5;case 526831769:return 6;case 352806002:return 7;case 2755048925:return 8;case 3306848407:return 9;case 2207000920:return 10;case 484037040:return 11;case 3506871055:return 12;case 672143848:return 13;case 2528751226:return 14;case 2744854768:return 15;case 3703278665:return 16;
case 2014749173:return 17;case 133063824:return 18;case 2749334602:return 19;case 3131239845:return 20;case 2074086763:return 21;case 795772493:return 22;case 290857819:return 23;case 3035947606:return 24;case 2983138003:return 25;case 2197138676:return 26;case 4216016165:return 27;case 239803524:return 28;case 975993579:return 29;case 1794940339:return 30;case 1314429186:return 31;case 1643618937:return 32;case 497159982:return 33}return-1}
function Lg(a){if(!a.length)return 0;for(var b=[],c=0;33>=c;c++)b[c]=0;for(c=a.length-1;0<=c;c--){var d=Kg(a[c]);0<=d&&(b[33-d]=1)}return parseInt(b.join(""),2)}
;function Mg(a,b){this.j=a;this.l=b}
function Ng(a,b,c){this.url=a;this.zb=b;this.Wd=!!c;this.depth=pa(void 0)?void 0:null}
function Og(){var a=(this.l=x||m)||m;this.w=a.top==a?1:Df(a.top)?2:3;3!=this.w&&Date.parse(m.top.document.lastModified);this.j=Pg(this.l)}
function Qg(a){for(var b=[],c=Math.min(a.j.length,27),d=1;d<c;d++)a.j[d]&&a.j[d].url&&(b[d-1]=a.j[d].url);return Rg(a,b.reverse())}
function Sg(a){var b=a.l.document&&a.l.document.scripts?a.l.document.scripts:[];if(!b)return 0;for(var c=[],d=b.length-1;0<=d&&26>c.length;)b[d].src&&c.unshift(b[d].src),d--;return Rg(a,c)}
function Rg(a,b){for(var c,d=0,e=(c=a.j[Math.max(a.j.length-1,0)].url||null)&&wg(c),f=Math.min(b.length,26),h=0;h<f;h++)if(c=null!=b[h]&&wg(b[h])||"",d*=4,c)if(e&&c==e)d+=3;else{a:{var k=b[h];for(var l=[/^https?:\/\/(secure)?pubads\.g\.doubleclick\.net(\:\d+)?($|(\/.*))/i,/^https?:\/\/(googleads|adx)\.g\.doubleclick\.net(\:\d+)?($|(\/.*))/i,/^https?:\/\/(?!adx)ad.*\.doubleclick\.net(\:\d+)?($|(\/.*))/i,/^https?:\/\/(tpc|pagead2).googlesyndication\.com(\:\d+)?($|(\/.*))/i,/^https?:\/\/www.googletagservices\.com(\:\d+)?($|(\/.*))/i],
p=0;p<l.length;++p)if(l[p].test(k)){k=!0;break a}k=!1}k?d+=2:c&&0<=Kg(c)&&(d+=1)}return d}
function Tg(a){a=a.j;for(var b=[],c=a.length-1;0<c;c--){var d=a[c];d&&null!=d.url&&b.push(wg(d.url))}return Lg(b)}
function Ug(a){a=a.l.document&&a.l.document.scripts?a.l.document.scripts:[];if(!a)return 0;for(var b=[],c=a.length-1;0<=c;c--){var d=a[c];d&&null!=d.src&&b.push(wg(d.src))}return Lg(b)}
function Pg(a){var b=a||m,c=[],d=null;do{var e=b;if(Df(e)){var f=e.location.href;d=e.document&&e.document.referrer||null}else f=d,d=null;c.push(new Ng(f||"",e));try{b=e.parent}catch(h){b=null}}while(b&&e!=b);b=0;for(e=c.length-1;b<=e;++b)c[b].depth=e-b;e=a||m;if(e.location&&e.location.ancestorOrigins&&e.location.ancestorOrigins.length==c.length-1)for(b=1;b<c.length;++b)a=c[b],a.url||(a.url=e.location.ancestorOrigins[b-1]||"",a.Wd=!0);return c}
;function Vg(a,b,c,d,e){this.C=c||4E3;this.w=a||"&";this.D=b||",$";this.A=n(d)?d:"trn";this.H=e||null;this.B=!1;this.l={};this.F=0;this.j=[]}
function Wg(a,b){var c={};c[a]=b;return[c]}
function Xg(a,b,c,d,e){var f=[];Ff(a,function(a,k){var h=Yg(a,b,c,d,e);h&&f.push(k+"="+h)});
return f.join(b)}
function Yg(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],h=0;h<a.length;h++)f.push(Yg(a[h],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Xg(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}
function Zg(a,b,c,d){a.j.push(b);a.l[b]=Wg(c,d)}
function $g(a,b,c,d){b=b+"//"+c+d;var e=ah(a)-d.length-0;if(0>e)return"";a.j.sort(function(a,b){return a-b});
d=null;c="";for(var f=0;f<a.j.length;f++)for(var h=a.j[f],k=a.l[h],l=0;l<k.length;l++){if(!e){d=null==d?h:d;break}var p=Xg(k[l],a.w,a.D);if(p){p=c+p;if(e>=p.length){e-=p.length;b+=p;c=a.w;break}else a.B&&(c=e,p[c-1]==a.w&&--c,b+=p.substr(0,c),c=a.w,e=0);d=null==d?h:d}}f="";a.A&&null!=d&&(f=c+a.A+"="+(a.H||d));return b+f+""}
function ah(a){if(!a.A)return a.C;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return a.C-a.A.length-b-a.w.length-1}
;function bh(a,b,c,d,e){if(Math.random()<(d||a.j))try{if(c instanceof Vg)var f=c;else f=new Vg,Ff(c,function(a,b){var c=f,d=c.F++,e=Wg(b,a);c.j.push(d);c.l[d]=e});
var h=$g(f,a.A,a.l,a.w+b+"&");h&&("undefined"===typeof e?Tf(h):Tf(h,e))}catch(k){}}
;function ch(a){this.l={};this.j={};a=a||[];for(var b=0,c=a.length;b<c;++b)this.j[a[b]]=""}
function dh(){var a=eh(),b=new ch;Ff(a.l,function(a,d){b.l[d]=a});
Ff(a.j,function(a,d){b.j[d]=a});
return b}
function fh(a,b){""!=b&&(a.l[b]=!0)}
function gh(a,b){return a.j.hasOwnProperty(b)?a.j[b]:""}
function hh(a){var b=[];Ff(a.l,function(a,d){b.push(d)});
Ff(a.j,function(a){""!=a&&b.push(a)});
return b}
;function ih(a,b){var c=jh();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=this.label+"_"+this.type+"_"+Math.random()}
;function kh(a,b){this.events=[];this.l=b||m;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);a:{try{var d=(this.l||m).top.location.hash;if(d){var e=d.match(/\bdeid=([\d,]+)/);var f=e&&e[1]||"";break a}}catch(h){}f=""}f=f.indexOf&&0<=f.indexOf("1337");this.j=(this.j=null!=c?c:Math.random()<a)||f;c=this.l.performance;this.w=!!(c&&c.mark&&c.clearMarks&&f)}
kh.prototype.A=function(a){if(a&&this.w){var b=this.l.performance;b.clearMarks("goog_"+a.uniqueId+"_start");b.clearMarks("goog_"+a.uniqueId+"_end")}};
kh.prototype.start=function(a,b){if(!this.j)return null;var c=new ih(a,b);this.w&&this.l.performance.mark("goog_"+c.uniqueId+"_start");return c};
kh.prototype.end=function(a){this.j&&(a.duration=jh()-a.value,this.w&&this.l.performance.mark("goog_"+a.uniqueId+"_end"),this.j&&this.events.push(a))};
function jh(){var a=m.performance;return a&&a.now?a.now():v()}
;function lh(a,b,c,d){this.A=a;this.C=b;this.l=c;this.B=this.w;this.j=void 0===d?null:d}
function mh(a,b,c){try{if(a.j&&a.j.j){var d=a.j.start(b.toString(),3);var e=c();a.j.end(d)}else e=c()}catch(h){c=a.l;try{a.j&&d&&a.j.A(d);var f=nh(h);c=a.B.call(a,b,f,void 0,void 0)}catch(k){a.w(217,k)}if(!c)throw h;}return e}
function oh(a,b){var c=ph;return function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return mh(c,a,function(){return b.apply(void 0,e)})}}
lh.prototype.w=function(a,b,c,d,e){e=e||this.C;try{var f=new Vg;f.B=!0;Zg(f,1,"context",a);b.error&&b.meta&&b.id||(b=nh(b));b.msg&&Zg(f,2,"msg",b.msg.substring(0,512));b.file&&Zg(f,3,"file",b.file);0<b.line&&Zg(f,4,"line",b.line);var h=b.meta||{};if(d)try{d(h)}catch(S){}b=[h];f.j.push(5);f.l[5]=b;var k=Pg(),l=new Ng(m.location.href,m,!1),p=k.length-1;for(b=p;0<=b;--b){var y=k[b];if(y.url&&!y.Wd){l=y;break}}var y=null,P=k.length&&k[p].url;0!=l.depth&&P&&(y=k[p]);var ba=new Mg(l,y);ba.l&&Zg(f,6,"top",
ba.l.url||"");Zg(f,7,"url",ba.j.url||"");bh(this.A,e,f,c)}catch(S){try{bh(this.A,e,{context:"ecmserr",rctx:a,msg:qh(S),url:ba.j.url},c)}catch(da){}}return this.l};
function nh(a){return new rh(qh(a),a.fileName,a.lineNumber)}
function qh(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b}
function rh(a,b,c){sg.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})}
aa(rh,sg);var sh,ph,th=ag(),uh=new kh(1,th);function Ih(){th.google_measure_js_timing||(uh.events!=uh.l.google_js_reporting_queue&&(uh.events.length=0,uh.w&&z(uh.events,uh.A,uh)),uh.j=!1)}
sh=new function(){this.A="http:"===x.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.w="/pagead/gen_204?id=";this.j=.01};
ph=new lh(sh,"jserror",!0,uh);"complete"==th.document.readyState?Ih():uh.j&&Of(th,"load",function(){Ih()});
function Jh(a,b){return oh(a,b)}
;function Kh(a,b){var c;c||(c="https");x.location&&"https:"==x.location.protocol&&"http"==c&&(c="https");return[c,"://",a,b].join("")}
;var Lh=A("Firefox"),Mh=yc()||A("iPod"),Nh=A("iPad"),Oh=A("Android")&&!(vc()||A("Firefox")||A("Opera")||A("Silk")),Ph=vc(),Qh=uc()&&!zc();var Rh={pj:1,sj:8,dk:9,bk:16,Cj:25,aj:26,Yi:27,Nj:30,vj:32},Sh={Si:{name:"adFormat",Ga:pa},Ri:{name:"adClient",Ga:/^[a-z0-9-]+$/i},Ti:{name:"adTest",Ga:/^on$/i},ak:{name:"reqSrc",Ga:pa},Qj:{name:"pubVars",Ga:null},AD_KEY:{name:"adKey",Ga:pa}},Th=[{name:"google_ad_channel",Ga:{De:/^[a-z0-9_-]+$/i,ie:!0}},{name:"google_reactive_sra_index",Ga:{De:pa,ie:!0}},{name:"google_ad_unit_key",Ga:{De:pa,ie:!0}}];var Uh=null;function Vh(a,b){for(var c=0,d=a,e=0;a&&a!=a.parent;)if(a=a.parent,e++,Df(a))d=a,c=e;else if(b)break;return{zb:d,level:c}}
function Wh(){Uh||(Uh=Vh(m,!0).zb);return Uh}
;function Xh(a){ch.call(this,a);this.dfltBktExt=this.l;this.lrsExt=this.j}
w(Xh,ch);function Yh(){this.S={}}
function Zh(){if($h)return $h;var a=Sf()||ag(),b=a.google_persistent_state_async;return null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?$h=b:a.google_persistent_state_async=$h=new Yh}
function ai(a,b,c){b=bi[b]||"google_ps_"+b;a=a.S;var d=a[b];return void 0===d?a[b]=c:d}
function ci(a,b,c){return a.S[bi[b]||"google_ps_"+b]=c}
var $h=null,bi={8:"google_prev_ad_formats_by_region",9:"google_prev_ad_slotnames_by_region"};var Hf={uj:5,oj:7,Bj:17,kj:19,dj:41,lj:48,Xj:55,Ui:59,Vj:61,Uj:62,Jj:67,Oj:69,qj:70,yj:74,Ij:75,Wj:77,vk:79,Ek:80,Dj:81,Yj:82,Zj:83,yk:84,lk:86,Kj:87,ck:88,fj:89,Lj:90,wk:92,Wi:93,Tj:94,Ak:95,Xi:96,zk:97},di=null;function ei(a){try{return!!a&&Ac(!0)}catch(b){return!1}}
function fi(){if(ei(di))return!0;var a=Zh();if(a=ai(a,3,null)){if(a&&a.dfltBktExt&&a.lrsExt){var b=new Xh;b.l=a.dfltBktExt;b.dfltBktExt=b.l;b.j=a.lrsExt;b.lrsExt=b.j;a=b}else a=null;a||(a=new Xh,b={context:"ps::gpes::cf",url:ag().location.href},bh(sh,"jserror",b,void 0,void 0))}return ei(a)?(di=a,!0):!1}
function eh(){if(fi())return di;var a=Zh(),b=new Xh(Gf());return di=ci(a,3,b)}
var gi=null;function hi(){gi||(gi=dh());return gi}
var ii={vf:"618018085",Gc:"618018086"},ji={vf:"21060297",Gc:"21060298"},ki={};function li(a){a||(a=hi());return Zf(hh(a),function(a){return!!ki[a]})}
function mi(a){a||(a=hi());return Zf(hh(a),function(a){return!ki[a]})}
;function ni(a){var b=x;Wf(a,function(a,d){b["google_"+d]=a})}
function oi(a){var b=a.location.href;if(a==a.top)return{url:b,Vc:!0};var c=!1,d=a.document;d&&d.referrer&&(b=d.referrer,a.parent==a.top&&(c=!0));(a=a.location.ancestorOrigins)&&(a=a[a.length-1])&&-1==b.indexOf(a)&&(c=!1,b=a);return{url:b,Vc:c}}
;var pi={google:1,googlegroups:1,gmail:1,googlemail:1,googleimages:1,googleprint:1},qi=/(corp|borg)\.google\.com:\d+$/;
function ri(){var a=x,b=a.google_page_location||a.google_page_url;"EMPTY"==b&&(b=a.C);if(!b)return!1;a=b.toString();0==a.indexOf("http://")?a=a.substring(7,a.length):0==a.indexOf("https://")&&(a=a.substring(8,a.length));b=a.indexOf("/");-1==b&&(b=a.length);a=a.substring(0,b);if(qi.test(a))return!1;a=a.split(".");b=!1;3<=a.length&&(b=a[a.length-3]in pi);2<=a.length&&(b=b||a[a.length-2]in pi);return b}
;function si(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}
function ti(a){a=String(a);if(si(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}
function ui(a){return(new vi(void 0)).ad(a)}
function vi(a){this.j=a}
vi.prototype.ad=function(a){var b=[];wi(this,a,b);return b.join("")};
function wi(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(ta(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],wi(a,a.j?a.j.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),xi(d,c),c.push(":"),wi(a,a.j?a.j.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":xi(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}
var yi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},zi=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function xi(a,b){b.push('"',a.replace(zi,function(a){var b=yi[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),yi[a]=b);return b}),'"')}
;function Ai(a,b,c){this.B=c;this.w=a;this.A=b;this.l=0;this.j=null}
Ai.prototype.get=function(){if(0<this.l){this.l--;var a=this.j;this.j=a.next;a.next=null}else a=this.w();return a};
function Bi(a,b){a.A(b);a.l<a.B&&(a.l++,b.next=a.j,a.j=b)}
;function Ci(){return function(){return""}}
;function Di(a){m.setTimeout(function(){throw a;},0)}
var Ei;
function Fi(){var a=m.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!A("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,a=u(function(a){if(("*"==d||a.origin==d)&&a.data==
c)this.port1.onmessage()},this);
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});
if("undefined"!==typeof a&&!tc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(n(c.next)){c=c.next;var a=c.xd;c.xd=null;a()}};
return function(a){d.next={xd:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var b=document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
document.documentElement.appendChild(b)}:function(a){m.setTimeout(a,0)}}
;function Gi(){this.l=this.j=null}
var Ii=new Ai(function(){return new Hi},function(a){a.reset()},100);
Gi.prototype.remove=function(){var a=null;this.j&&(a=this.j,this.j=this.j.next,this.j||(this.l=null),a.next=null);return a};
function Hi(){this.next=this.scope=this.ya=null}
Hi.prototype.set=function(a,b){this.ya=a;this.scope=b;this.next=null};
Hi.prototype.reset=function(){this.next=this.scope=this.ya=null};function Ji(a,b){Ki||Li();Mi||(Ki(),Mi=!0);var c=Ni,d=Ii.get();d.set(a,b);c.l?c.l.next=d:c.j=d;c.l=d}
var Ki;function Li(){if(-1!=String(m.Promise).indexOf("[native code]")){var a=m.Promise.resolve(void 0);Ki=function(){a.then(Oi)}}else Ki=function(){var a=Oi;
!va(m.setImmediate)||m.Window&&m.Window.prototype&&!A("Edge")&&m.Window.prototype.setImmediate==m.setImmediate?(Ei||(Ei=Fi()),Ei(a)):m.setImmediate(a)}}
var Mi=!1,Ni=new Gi;function Oi(){for(var a;a=Ni.remove();){try{a.ya.call(a.scope)}catch(b){Di(b)}Bi(Ii,a)}Mi=!1}
;function Pi(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}
;function Qi(a,b){this.j=0;this.D=void 0;this.A=this.l=this.w=null;this.B=this.C=!1;if(a!=qa)try{var c=this;a.call(b,function(a){Ri(c,2,a)},function(a){Ri(c,3,a)})}catch(d){Ri(this,3,d)}}
function Si(){this.next=this.context=this.l=this.w=this.j=null;this.A=!1}
Si.prototype.reset=function(){this.context=this.l=this.w=this.j=null;this.A=!1};
var Ti=new Ai(function(){return new Si},function(a){a.reset()},100);
function Ui(a,b,c){var d=Ti.get();d.w=a;d.l=b;d.context=c;return d}
function Vi(a){if(a instanceof Qi)return a;var b=new Qi(qa);Ri(b,2,a);return b}
function Wi(a){return new Qi(function(b,c){c(a)})}
function Xi(a,b,c){Yi(a,b,c,null)||Ji(Da(b,a))}
function Zi(a){return new Qi(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},h=function(a){c(a)},k=0,l;k<a.length;k++)l=a[k],Xi(l,Da(f,k),h);
else b(e)})}
Qi.prototype.then=function(a,b,c){return $i(this,va(a)?a:null,va(b)?b:null,c)};
Pi(Qi);Qi.prototype.cancel=function(a){0==this.j&&Ji(function(){var b=new aj(a);bj(this,b)},this)};
function bj(a,b){if(0==a.j)if(a.w){var c=a.w;if(c.l){for(var d=0,e=null,f=null,h=c.l;h&&(h.A||(d++,h.j==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.j&&1==d?bj(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):cj(c),dj(c,e,3,b)))}a.w=null}else Ri(a,3,b)}
function ej(a,b){a.l||2!=a.j&&3!=a.j||fj(a);a.A?a.A.next=b:a.l=b;a.A=b}
function $i(a,b,c,d){var e=Ui(null,null,null);e.j=new Qi(function(a,h){e.w=b?function(c){try{var e=b.call(d,c);a(e)}catch(p){h(p)}}:a;
e.l=c?function(b){try{var e=c.call(d,b);!n(e)&&b instanceof aj?h(b):a(e)}catch(p){h(p)}}:h});
e.j.w=a;ej(a,e);return e.j}
Qi.prototype.H=function(a){this.j=0;Ri(this,2,a)};
Qi.prototype.N=function(a){this.j=0;Ri(this,3,a)};
function Ri(a,b,c){0==a.j&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.j=1,Yi(c,a.H,a.N,a)||(a.D=c,a.j=b,a.w=null,fj(a),3!=b||c instanceof aj||gj(a,c)))}
function Yi(a,b,c,d){if(a instanceof Qi)return ej(a,Ui(b||qa,c||null,d)),!0;if(a)try{var e=!!a.$goog_Thenable}catch(h){e=!1}else e=!1;if(e)return a.then(b,c,d),!0;if(wa(a))try{var f=a.then;if(va(f))return hj(a,f,b,c,d),!0}catch(h){return c.call(d,h),!0}return!1}
function hj(a,b,c,d,e){function f(a){k||(k=!0,d.call(e,a))}
function h(a){k||(k=!0,c.call(e,a))}
var k=!1;try{b.call(a,h,f)}catch(l){f(l)}}
function fj(a){a.C||(a.C=!0,Ji(a.F,a))}
function cj(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b}
Qi.prototype.F=function(){for(var a;a=cj(this);)dj(this,a,this.j,this.D);this.C=!1};
function dj(a,b,c,d){if(3==c&&b.l&&!b.A)for(;a&&a.B;a=a.w)a.B=!1;if(b.j)b.j.w=null,ij(b,c,d);else try{b.A?b.w.call(b.context):ij(b,c,d)}catch(e){jj.call(null,e)}Bi(Ti,b)}
function ij(a,b,c){2==b?a.w.call(a.context,c):a.l&&a.l.call(a.context,c)}
function gj(a,b){a.B=!0;Ji(function(){a.B&&jj.call(null,b)})}
var jj=Di;function aj(a){Wa.call(this,a)}
w(aj,Wa);aj.prototype.name="cancel";function kj(a){va(a)}
;function lj(a){a=a.document;return("CSS1Compat"==a.compatMode?a.documentElement:a.body)||{}}
function mj(a){var b=lj(a).clientWidth;a=a.innerWidth;return b&&a?b/a:0}
function nj(){var a=x.google_reactive_ad_format;return gc(Rh,a)?""+a:null}
function oj(a){return a.top!=a?512:0}
function pj(a,b){var c=lj(a).clientWidth;return c?!b&&420<c?32768:320>c?65536:0:16384}
function qj(a){return(a=mj(a))?1.05<a?262144:.95>a?524288:0:131072}
;var rj={};function sj(){}
sj.prototype.j=null;function tj(a){var b;(b=a.j)||(b={},uj(a)&&(b[0]=!0,b[1]=!0),b=a.j=b);return b}
;var vj;function wj(){}
w(wj,sj);function xj(a){return(a=uj(a))?new ActiveXObject(a):new XMLHttpRequest}
function uj(a){if(!a.l&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.l=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.l}
vj=new wj;var yj=navigator;function zj(){try{return yj.javaEnabled()}catch(a){return!1}}
function Aj(a){var b=1,c;if(void 0!=a&&""!=a)for(b=0,c=a.length-1;0<=c;c--){var d=a.charCodeAt(c);b=(b<<6&268435455)+d+(d<<14);d=b&266338304;b=0!=d?b^d>>21:b}return b}
function Bj(a,b){if(!a||"none"==a)return 1;a=String(a);"auto"==a&&(a=b,"www."==a.substring(0,4)&&(a=a.substring(4,a.length)));return Aj(a.toLowerCase())}
var Cj=/^\s*_ga=\s*1\.(\d+)[^.]*\.(.*?)\s*$/,Dj=/^[^=]+=\s*GA1\.(\d+)[^.]*\.(.*?)\s*$/,Ej=/^\s*_ga=\s*()(amp-[\w-]{64})$/;var Fj=Ic&&"srcdoc"in document.createElement("iframe"),Gj=Hc||Ic||B&&Vc(11);function Hj(){var a=0;window.SVGElement&&document.createElementNS&&(a|=1);return a}
;new kj({notify:/^expandable-xpc-ready$/});var Ij={google_server_side_slot_resize:1,google_server_side_expand_anchor:4};function Jj(a){var b=0;Wf(Ij,function(c,d){Kj(a,d)&&(b=c)});
return b}
function Lj(a){return a?(a=a.hash)&&a.indexOf?a:"":""}
function Kj(a,b){if(!a)return!1;var c=a.hash;if(!c||!c.indexOf)return!1;if(-1!=c.indexOf(b))return!0;var d=Mj(b);return"go"!=d&&-1!=c.indexOf(d)?!0:!1}
function Mj(a){var b="";Wf(a.split("_"),function(a){b+=a.substr(0,2)});
return b}
;function gk(){this.ca=this.ca;this.N=this.N}
gk.prototype.ca=!1;gk.prototype.T=function(){return this.ca};
gk.prototype.dispose=function(){this.ca||(this.ca=!0,this.M())};
function hk(a,b){a.ca?n(void 0)?b.call(void 0):b():(a.N||(a.N=[]),a.N.push(n(void 0)?u(b,void 0):b))}
gk.prototype.M=function(){if(this.N)for(;this.N.length;)this.N.shift()()};
function ik(a){a&&"function"==typeof a.dispose&&a.dispose()}
;function jk(){this.w={};this.j={};this.l={}}
function kk(a){a.ja||(a.ja=new jk);return a.ja}
;function lk(a){var b=nj();if(b){if("32"==b)return 1;if("30"==b)return 0}a:{for(b=ag();b&&Df(b);){if(b.name&&-1!=b.name.indexOf("google_ifsl_cifr")){b=!0;break a}if(b.parent==b)break;b=b.parent}b=!1}if(b)return 3;if(!Df(a))return 0;a=kk(a);return a.l[32]?2:a.l[30]?4:0}
;(function(a){function b(a){a.Ga&&(c[a.name]=a.Ga)}
var c={msg_type:/^[a-zA-Z0-9_-]+$/};Wf(Sh,b);for(var d=0;d<Th.length;d++)b(Th[d]);for(d=0;d<a.length;d++)b(a[d]);return new kj(c)})([]);function mk(a,b){switch(b){case 1:var c=0;try{var c=c|oj(a),d="20040066"===gh(hi(),80),e=Math.min(a.screen.width||0,a.screen.height||0),c=c|(e?!d&&420<e?4096:320>e?8192:0:2048),f=a.navigator.userAgent;var h=/Firefox/.test(f)||/Android 2/.test(f)||/iPhone OS [34]_/.test(f)||/Windows Phone (?:OS )?[67]/.test(f)?1048576:0;c|=h}catch(k){c|=32}d=0;try{d|=a.innerHeight>=a.innerWidth?0:8,d|=pj(a,"20040066"===gh(hi(),80)),d|=qj(a)}catch(k){d|=32}return!(c|d);case 8:c=0;try{c|=oj(a),c|=/Android 2/.test(a.navigator.userAgent)?
1048576:0,c|=ri()?16:0}catch(k){c|=32}d=0;try{"828064251"===gh(hi(),75)&&"zoom"in ue(document,"SPAN").style||(d|=qj(a),d|=pj(a)),d|=a.innerHeight>=a.innerWidth?0:8}catch(k){d|=32}if(c=0==(c|d))kk(a),c=!0;return c;case 9:c=0;try{c|=oj(a),c|=qj(a),c|=pj(a),c|=a.innerHeight>=a.innerWidth?0:8,c|=ri()?16:0,c|=/Android 2/.test(a.navigator.userAgent)?1048576:0}catch(k){c|=32}if(c=!c)kk(a),c=!0;return c;case 25:c=0;try{c|=oj(a),c|=a.getComputedStyle?0:2097152,c|=pj(a)}catch(k){c|=32}return 0==c&&!!kk(a).w[25];
case 32:if(c=!!kk(a).w[32]){c=0;try{c|=oj(a)}catch(k){c|=32}c=0==c}return c;case 30:c=0;try{c|=oj(a),c|=a.getComputedStyle?0:2097152}catch(k){c|=32}return 0==c;case 26:c=0;try{c|=oj(a),c|=a.getComputedStyle?0:2097152,c|=a.document.querySelectorAll&&a.document.querySelector?0:4194304,c|=pj(a)}catch(k){c|=32}return 0==c&&!!kk(a).w[26];case 27:c=0;try{c|=oj(a),c|=a.getComputedStyle?0:2097152,c|=pj(a,!0)}catch(k){c|=32}return!c&&!!kk(a).w[27];default:return!1}}
function nk(a){var b=x.aa;if(!gc(Rh,b))return!1;a=kg(a);if(!a||!mk(a,b))return!1;a=kk(a);var c=a.j?(c=a.j[b])?27==b?3<=c:1<=c:!1:!1;if(c)return!1;a.j[b]||(a.j[b]=0);a.j[b]++;return!0}
;var ok={},pk=(ok[1]="title",ok[3]="body",ok[4]="callToAction",ok[6]="image",ok[36]="logo",ok[37]="brandName",ok),qk={},rk=(qk[1]=1,qk[3]=2,qk[4]=4,qk[37]=8,qk[6]=16,qk[36]=32,qk);function sk(a,b){return a?a.querySelector('[data-google-ad-asset="'+pk[b]+'"]'):null}
function tk(a){var b=0;a&&Ff(pk,function(c,d){sk(a,d)&&(b|=rk[d])});
return b}
;function uk(){return!!x.enable_native_ads||!!x.ag}
;function vk(){return{visible:1,hidden:2,prerender:3,preview:4}[Va.webkitVisibilityState||Va.mozVisibilityState||Va.visibilityState||""]||0}
;var wk={},xk=null;wk.le=0;wk.nt=2;wk.Fr=3;wk.Po=5;wk.me=1;wk.om=4;function yk(){var a=x&&x.document;wk.e=-1;wk.i=6;wk.n=7;wk.t=8;if(!xk){var b=[];Ff(wk,function(a,c){b[a+1]=c});
var c=b.join("");xk=(c=a&&a[c])&&u(c,a)}return xk}
;function zk(){if(!(window&&Math.random&&navigator))return-1;if(window.__google_ad_urls){var a=window.__google_ad_urls;try{if(a&&a.Sa())return a.Sa()}catch(c){}}if(!window.__google_ad_urls_id){var a=window.kl;if(!0===a)var b=2;else!1!==a&&(b=Ef([0]),null==b&&((b=Ef([2]))||(b=3)));if(!b)return 0;window.__google_ad_urls_id=b}return window.__google_ad_urls_id}
;var Ak=/Trident|MSIE/,Bk=/rv:11|Trident\/[78]/;function Ck(){var a=Dk;if(!m.google_osd_loaded){var b=m.document,c=b.createElement("script");c.src=a;(a=b.getElementsByTagName("script")[0])&&a.parentNode&&a.parentNode.insertBefore(c,a);return m.google_osd_loaded=!0}return!1}
function Ek(a,b){Fk()?Of(a,"readystatechange",function(c){a&&"complete"==a.readyState&&b(c)}):Of(a,"load",b)}
function Gk(){var a=(ag()||m).google_osd_amcb;return va(a)?a:null}
function Fk(){var a=m.navigator;return(a=a&&a.userAgent)?Ak.test(a)&&!Bk.test(a):!1}
;function Hk(a,b){this.A=a;this.l=b&&b.l?b.l:[];this.w=b&&b.w?b.w:0;this.B=b?b.B:"";this.j=b&&b.j?b.j:[];if(b){var c;for(c=0;c<this.l.length;++c)this.l[c].push("true");for(c=0;c<this.j.length;++c)this.j[c].A=!0}}
var Dk="";
function Ik(a,b){var c=a.l,d=a.A.google_ad_request_done;d&&(d=d.orig_callback||d,a.A.google_ad_request_done=function(a){if(a&&0<a.length){var e=1<a.length?a[1].url:null,h=a[0].log_info||null,k=a[0].activeview_url||null,l=a[0].activeview_js_enabled||null,p=a[0].activeview_js_immediate_enabled||null,y=a[0].activeview_js_tos_enabled||null,P=a[0].activeview_cid||null,ba=a[0].activeview_metadata||null,S=a[0].image_url||"",da=a[0].type||null;c.push([b,lb(a[0].url),e,h,null,k,l,p,y,P,ba,lb(S),da])}d(a)},
a.A.google_ad_request_done.orig_callback=d)}
function Jk(a,b,c,d){var e=a.l,f=d||0,h=b.document;if(0<e.length){var k=h.getElementsByTagName("a");for(var l=0;l<k.length;l++)for(var p=0;p<e.length;p++)if(0<=k[l].href.indexOf(e[p][1])){var y=k[l].parentNode;if(e[p][2])for(var P=y,ba=0;4>ba;ba++){if(0<=P.innerHTML.indexOf(e[p][2])){y=P;break}P=P.parentNode}Kk(e[p],y,f,c);e.splice(p,1);break}}if(0<e.length)for(P=h.getElementsByTagName("embed"),l=0;l<P.length;l++)for(p=0;p<e.length;p++)if(y=e[p][12],k=e[p][11],"flash"==y&&k&&(y=P[l],y.src==k)){var S=
y;0==S.getBoundingClientRect().height&&S.parentElement&&"OBJECT"==S.parentElement.tagName&&(S=S.parentElement);Kk(e[p],S,f,c);e.splice(p,1);break}if(0<e.length)for(h=h.getElementsByTagName("param"),l=0;l<h.length;l++)for(p=0;p<e.length;p++)if(y=e[p][12],k=e[p][11],"flash"==y&&k&&(y=h[l],"movie"==y.name&&y.value==k)){y.parentNode&&"OBJECT"==y.parentNode.tagName&&(S=y.parentNode);if(!S)break;Kk(e[p],S,f,c);e.splice(p,1);break}if(0<e.length&&b!=Wh())try{Jk(a,b.parent,c,d)}catch(da){}for(l=0;l<e.length;++l)a=
e[l],"true"==a[6]&&Lk("osd2",a[3]),"true"==a[7]&&Lk("osdim",a[3])}
function Kk(a,b,c,d){d(b,a[0],c,!0,a[3],void 0,a[5],"true"==a[6],"true"==a[7],"true"==a[13],"true"==a[8],a[9],a[10])}
function Lk(a,b){if(a&&b){var c=["//"];c.push("pagead2.googlesyndication.com");c.push("/activeview");c.push("?id="+a);c.push("&r=j");c.push("&avi="+b);Tf(c.join(""))}}
function Mk(a,b){var c=["//"];c.push("pagead2.googlesyndication.com");c.push("/pagead/gen_204");c.push("?id=osd");c.push("&r=om");c.push("&rs="+a);c.push("&req="+b);Tf(c.join(""))}
g=Hk.prototype;g.Uf=function(a,b){b&&Jk(this,this.A,a,1);for(var c=this.j.length,d=0;d<c;d++){var e=this.j[d];!e.w&&e.j&&(a(e.j,e.B,e.D,e.l,"",void 0,"",!1,!1,e.A,!1,"","",e.C),e.w=!0)}b&&((ag()||m).google_osd_amcb=a)};
g.ji=function(a){if(this.Sa())return this.Sa();var b=zk();if(!b)return 0;this.w=b;this.B=String(a||0);return this.Sa()};
g.Sa=function(){return window&&Math.random&&navigator?this.w:-1};
g.Ef=function(){return this.B};
g.Og=function(){return this.l.length+this.j.length};
g.ai=function(a,b,c,d,e,f,h){if((e=Gk())&&d)e(d,a,b,!0,"",void 0,"",!1,!1,!1,!1,"","",h);else{if("js"==c)Ik(this,a);else{var k=new Nk(a,b,d,h);this.j.push(k);d&&Ek(d,Jh(192,function(){k.l=!0}))}Dk||(Mk(b,a),Dk=$g(new Vg,"https:","pagead2.googlesyndication.com","/pagead/osd.js"));
Ck()&&$f()}};
g.oi=function(a,b){n(window.Goog_Osd_UnloadAdBlock)&&window.Goog_Osd_UnloadAdBlock(a,b)};
function Ok(){var a=ag(),b=a.__google_ad_urls;if(!b)return a.__google_ad_urls=new Hk(a);try{if(0<=b.Sa())return b}catch(c){}try{return a.__google_ad_urls=new Hk(a,b)}catch(c){return a.__google_ad_urls=new Hk(a)}}
function Nk(a,b,c,d){this.B=a;this.D=b;this.j=c;this.A=this.w=this.l=!1;this.C=d||qa}
r("Goog_AdSense_getAdAdapterInstance",Ok,void 0);r("Goog_AdSense_OsdAdapter",Hk,void 0);r("Goog_AdSense_OsdAdapter.prototype.numBlocks",Hk.prototype.Og,void 0);r("Goog_AdSense_OsdAdapter.prototype.getNewBlocks",Hk.prototype.Uf,void 0);r("Goog_AdSense_OsdAdapter.prototype.getOseId",Hk.prototype.Sa,void 0);r("Goog_AdSense_OsdAdapter.prototype.getCorrelator",Hk.prototype.Ef,void 0);r("Goog_AdSense_OsdAdapter.prototype.setupOse",Hk.prototype.ji,void 0);
r("Goog_AdSense_OsdAdapter.prototype.registerAdBlock",Hk.prototype.ai,void 0);r("Goog_AdSense_OsdAdapter.prototype.unloadAdBlock",Hk.prototype.oi,void 0);var Pk=!1,Qk="";function Rk(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")}
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(Pk=!0,a.description)){Qk=Rk(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){Pk=!0;Qk="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],Pk=!(!a||!a.enabledPlugin))){Qk=Rk(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");Pk=!0;Qk=Rk(b.GetVariable("$version"));
return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");Pk=!0;Qk="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),Pk=!0,Qk=Rk(b.GetVariable("$version"))}catch(c){}})();
var Sk=Qk;(function(){if(Kc){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Yb))?a[1]:"0"}return Jc?(a=/10[_.][0-9_.]+/,(a=a.exec(Yb))?a[0].replace(/_/g,"."):"10"):Lc?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Yb))?a[1]:""):Mc||Nc||Oc?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Yb))?a[1].replace(/_/g,"."):""):""})();function Tk(a){return(a=a.exec(Yb))?a[1]:""}
var Uk=function(){if(Lh)return Tk(/Firefox\/([0-9.]+)/);if(B||Fc||Ec)return Uc;if(Ph)return zc()?Tk(/CriOS\/([0-9.]+)/):Tk(/Chrome\/([0-9.]+)/);if(Qh&&!zc())return Tk(/Version\/([0-9.]+)/);if(Mh||Nh){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Yb);if(a)return a[1]+"."+a[2]}else if(Oh)return(a=Tk(/Android\s+([0-9.]+)/))?a:Tk(/Version\/([0-9.]+)/);return""}();function Vk(a,b){var c=a||x;try{return c.document&&!c.document.body?new ae(-1,-1):b?(new ae(c.innerWidth,c.innerHeight)).round():le(c||window).round()}catch(d){return new ae(-12245933,-12245933)}}
;ph.l=!0;var Wk={"image-top":0,"image-middle":1,"image-side":2,"text-only":3,"in-article":4};var Xk=null;function Yk(a){this.A=[];this.l=a||window;this.j=0;this.w=null;this.B=0}
var Zk;function $k(a){try{return a.sz()}catch(b){return!1}}
g=Yk.prototype;g.Of=function(a,b){0!=this.j||0!=this.A.length||b&&b!=window?this.Id(a,b):(this.j=2,this.Je(new al(a,window)))};
g.Id=function(a,b){this.A.push(new al(a,b||this.l));bl(this)};
g.Uh=function(a){this.j=1;if(a){var b=Jh(188,u(this.He,this,!0));this.w=this.l.setTimeout(b,a)}};
g.He=function(a){a&&++this.B;1==this.j&&(null!=this.w&&(this.l.clearTimeout(this.w),this.w=null),this.j=0);bl(this)};
g.li=function(){return!(!window||!Array)};
g.Wf=function(){return this.B};
function bl(a){var b=Jh(189,u(a.ni,a));a.l.setTimeout(b,0)}
g.ni=function(){if(0==this.j&&this.A.length){var a=this.A.shift();this.j=2;var b=Jh(190,u(this.Je,this,a));a.zb.setTimeout(b,0);bl(this)}};
g.Je=function(a){this.j=0;a.ya()};
Yk.prototype.nq=Yk.prototype.Of;Yk.prototype.nqa=Yk.prototype.Id;Yk.prototype.al=Yk.prototype.Uh;Yk.prototype.rl=Yk.prototype.He;Yk.prototype.sz=Yk.prototype.li;Yk.prototype.tc=Yk.prototype.Wf;function al(a,b){this.ya=a;this.zb=b}
;var cl=(new Date).getTime();function dl(a,b,c){a-=b;return a>=(c||1E5)?"M":0<=a?a:"-M"}
;db("var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}");var el="google_ad_block google_ad_channel google_ad_client google_ad_format google_ad_height google_ad_host google_ad_host_channel google_ad_host_tier_id google_ad_layout google_ad_layout_key google_ad_modifications google_ad_output google_ad_region google_ad_section google_ad_slot google_ad_type google_ad_unit_key google_ad_dom_fingerprint google_ad_width google_adtest google_allow_expandable_ads google_alternate_ad_url google_alternate_color google_ama google_analytics_domain_name google_analytics_uacct google_analytics_url_parameters google_auto_format google_available_width google_captcha_token google_city google_color_bg google_color_border google_color_line google_color_link google_color_text google_color_url google_container_id google_content_recommendation_ui_type google_content_recommendation_columns_num google_content_recommendation_rows_num google_contents google_core_dbp google_country google_cpm google_ctr_threshold google_cust_age google_cust_ch google_cust_criteria google_cust_gender google_cust_id google_cust_interests google_cust_job google_cust_l google_cust_lh google_cust_u_url google_disable_video_autoplay google_delay_requests_count google_delay_requests_delay google_ed google_eids google_enable_content_recommendations google_enable_ose google_encoding google_floating_ad_position google_font_face google_font_size google_frame_id google_full_width_responsive_allowed google_full_width_responsive_optout google_gl google_hints google_is_split_slot google_image_size google_kw google_kw_type google_lact google_language google_loeid google_max_num_ads google_max_radlink_len google_mtl google_native_ad_template google_native_settings_key google_nofo google_num_radlinks google_num_radlinks_per_unit google_only_ads_with_video google_only_pyv_ads google_only_userchoice_ads google_override_format google_page_url google_pgb_reactive google_previous_watch google_previous_searches google_pucrd google_referrer_url google_region google_resizing_allowed google_resizing_height google_resizing_width google_responsive_formats google_responsive_auto_format google_reuse_colors google_rl_dest_url google_rl_filtering google_rl_mode google_rt google_safe google_safe_for_responsive_override google_scs google_source_type google_sui google_skip google_tag_for_child_directed_treatment google_tag_info google_tag_origin google_targeting google_tdsma google_tfs google_tl google_ui_features google_video_doc_id google_video_product_type google_video_url_to_fetch google_webgl_support google_with_pyv_ads google_yt_pt google_yt_up".split(" ");
function fl(a){return(a=a.innerText||a.innerHTML)&&(a=a.replace(/^\s+/,"").split(/\r?\n/,1)[0].match(/^\x3c!--+(.*?)(?:--+>)?\s*$/))&&/google_ad_client/.test(a[1])?a[1]:null}
function gl(a){if(a=a.innerText||a.innerHTML)if(a=a.replace(/^\s+|\s+$/g,"").replace(/\s*(\r?\n)+\s*/g,";"),(a=a.match(/^\x3c!--+(.*?)(?:--+>)?$/)||a.match(/^\/*\s*<!\[CDATA\[(.*?)(?:\/*\s*\]\]>)?$/i))&&/google_ad_client/.test(a[1]))return a[1];return null}
function hl(){var a=x;try{a:{var b=a.document.getElementsByTagName("script"),c=a.navigator&&a.navigator.userAgent||"",d;if(!(d=/appbankapppuzdradb|daumapps|fban|fbios|fbav|fb_iab|gsa\/|messengerforios|naver|niftyappmobile|nonavigation|pinterest|twitter|ucbrowser|yjnewsapp|youtube/i.test(c))){var e;if(e=/i(phone|pad|pod)/i.test(c)){var f;if(f=/applewebkit/i.test(c)&&!/version|safari/i.test(c)){try{var h=!(!x.navigator.ki&&!x.top.navigator.ki)}catch(ba){h=!1}f=!h}e=f}d=e}for(var c=d?fl:gl,k=b.length-
1;0<=k;k--){var l=b[k];if(!l.google_parsed_script){l.google_parsed_script=!0;var p=c(l);if(p){var y=p;break a}}}y=null}}catch(ba){return!1}if(!y)return!1;try{for(var b=/(google_\w+) *= *(['"]?[\w.-]+['"]?) *(?:;|$)/gm,k={},P;P=b.exec(y);)k[P[1]]=il(P[2]);jl(k,a)}catch(ba){return!1}return!!a.google_ad_client}
function il(a){switch(a){case "true":return!0;case "false":return!1;case "null":return null;case "undefined":break;default:try{var b=a.match(/^(?:'(.*)'|"(.*)")$/);if(b)return b[1]||b[2]||"";if(/^[-+]?\d*(\.\d+)?$/.test(a)){var c=parseFloat(a);return c===c?c:void 0}}catch(d){}}}
function jl(a,b){for(var c=0;c<el.length;c++){var d=el[c];null==b[d]&&null!=a[d]&&(b[d]=a[d])}}
;Ac("script");var kl=fg?1==dg():!dg();var ll=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(B)return Vc("10.0");
var a=ue(document,"DIV"),b=ad(),c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");Wd(a,Qd("div",{style:c}));a=a.firstChild;b=a.style[xb("transition")];return""!=("undefined"!==typeof b?b:a.style[kf(a,"transition")]||"")});for(var ml="margin-left margin-right padding-left padding-right border-left-width border-right-width".split(" "),nl=0;nl<ml.length;nl++);ml="margin-top margin-bottom padding-top padding-bottom border-top-width border-bottom-width".split(" ");for(nl=0;nl<ml.length;nl++);function ol(a,b,c,d,e){var f={};f.context=a;f.msg=b.substring(0,512);c&&(f.file=c);0<d&&(f.line=d.toString());f.sw=1;pl(f,e);return!0}
function pl(a,b,c){try{if(Math.random()<(b||.01)){var d="https://pagead2.googlesyndication.com/pagead/gen_204?id=jserror"+ql(a),d=d.substring(0,2E3),e=m.fetch(d,{mode:"no-cors"});c&&e.then(c,c)}}catch(f){}}
function ql(a){var b="";Object.getOwnPropertyNames(a).forEach(function(c){var d=a[c];if(0===d||d)b+="&"+c+"="+encodeURIComponent(String(d))});
return b}
;var rl="StopIteration"in m?m.StopIteration:{message:"StopIteration",stack:""};function sl(){}
sl.prototype.next=function(){throw rl;};
sl.prototype.Ha=function(){return this};
function tl(a){if(a instanceof sl)return a;if("function"==typeof a.Ha)return a.Ha(!1);if(ua(a)){var b=0,c=new sl;c.next=function(){for(;;){if(b>=a.length)throw rl;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");}
function ul(a,b,c){if(ua(a))try{z(a,b,c)}catch(d){if(d!==rl)throw d;}else{a=tl(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==rl)throw d;}}}
function vl(a){if(ua(a))return Pb(a);a=tl(a);var b=[];ul(a,function(a){b.push(a)});
return b}
;function wl(a,b){this.l={};this.j=[];this.Za=this.w=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof wl?(c=a.Fa(),d=a.ba()):(c=ic(a),d=hc(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}}
g=wl.prototype;g.da=function(){return this.w};
g.ba=function(){xl(this);for(var a=[],b=0;b<this.j.length;b++)a.push(this.l[this.j[b]]);return a};
g.Fa=function(){xl(this);return this.j.concat()};
g.Gb=function(a){for(var b=0;b<this.j.length;b++){var c=this.j[b];if(yl(this.l,c)&&this.l[c]==a)return!0}return!1};
g.equals=function(a,b){if(this===a)return!0;if(this.w!=a.da())return!1;var c=b||zl;xl(this);for(var d,e=0;d=this.j[e];e++)if(!c(this.get(d),a.get(d)))return!1;return!0};
function zl(a,b){return a===b}
g.isEmpty=function(){return 0==this.w};
g.clear=function(){this.l={};this.Za=this.w=this.j.length=0};
g.remove=function(a){return yl(this.l,a)?(delete this.l[a],this.w--,this.Za++,this.j.length>2*this.w&&xl(this),!0):!1};
function xl(a){var b,c;if(a.w!=a.j.length){for(b=c=0;c<a.j.length;){var d=a.j[c];yl(a.l,d)&&(a.j[b++]=d);c++}a.j.length=b}if(a.w!=a.j.length){var e={};for(b=c=0;c<a.j.length;)d=a.j[c],yl(e,d)||(a.j[b++]=d,e[d]=1),c++;a.j.length=b}}
g.get=function(a,b){return yl(this.l,a)?this.l[a]:b};
g.set=function(a,b){yl(this.l,a)||(this.w++,this.j.push(a),this.Za++);this.l[a]=b};
g.forEach=function(a,b){for(var c=this.Fa(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.clone=function(){return new wl(this)};
function Al(a){xl(a);for(var b={},c=0;c<a.j.length;c++){var d=a.j[c];b[d]=a.l[d]}return b}
g.Ha=function(a){xl(this);var b=0,c=this.Za,d=this,e=new sl;e.next=function(){if(c!=d.Za)throw Error("The map has changed since the iterator was created");if(b>=d.j.length)throw rl;var e=d.j[b++];return a?e:d.l[e]};
return e};
function yl(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
;function Bl(a){return a.da&&"function"==typeof a.da?a.da():ua(a)||q(a)?a.length:ec(a)}
function Cl(a){if(a.ba&&"function"==typeof a.ba)return a.ba();if(q(a))return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return hc(a)}
function Dl(a){if(a.Fa&&"function"==typeof a.Fa)return a.Fa();if(!a.ba||"function"!=typeof a.ba){if(ua(a)||q(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return ic(a)}}
function El(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ua(a)||q(a))z(a,b,c);else for(var d=Dl(a),e=Cl(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)}
function Fl(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ua(a)||q(a))return Fb(a,b,void 0);for(var c=Dl(a),d=Cl(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0}
;function Gl(a,b){this.l=this.F=this.A="";this.D=null;this.B=this.j="";this.C=!1;var c;a instanceof Gl?(this.C=n(b)?b:a.C,Hl(this,a.A),this.F=a.F,Il(this,a.l),Jl(this,a.D),this.j=a.j,Kl(this,a.w.clone()),this.B=a.B):a&&(c=ug(String(a)))?(this.C=!!b,Hl(this,c[1]||"",!0),this.F=Ll(c[2]||""),Il(this,c[3]||"",!0),Jl(this,c[4]),this.j=Ll(c[5]||"",!0),Kl(this,c[6]||"",!0),this.B=Ll(c[7]||"")):(this.C=!!b,this.w=new Ml(null,0,this.C))}
Gl.prototype.toString=function(){var a=[],b=this.A;b&&a.push(Nl(b,Ol,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(Nl(b,Ol,!0),"@"),a.push(bb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.j)this.l&&"/"!=c.charAt(0)&&a.push("/"),a.push(Nl(c,"/"==c.charAt(0)?Pl:Ql,!0));(c=this.w.toString())&&a.push("?",c);(c=this.B)&&a.push("#",Nl(c,Rl));return a.join("")};
Gl.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?Hl(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?Il(b,a.l):c=null!=a.D;var d=a.j;if(c)Jl(b,a.D);else if(c=!!a.j){if("/"!=d.charAt(0))if(this.l&&!this.j)d="/"+d;else{var e=b.j.lastIndexOf("/");-1!=e&&(d=b.j.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&
""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.j=d:c=""!==a.w.toString();c?Kl(b,a.w.clone()):c=!!a.B;c&&(b.B=a.B);return b};
Gl.prototype.clone=function(){return new Gl(this)};
function Hl(a,b,c){a.A=c?Ll(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))}
function Il(a,b,c){a.l=c?Ll(b,!0):b}
function Jl(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.D=b}else a.D=null}
function Kl(a,b,c){b instanceof Ml?(a.w=b,Sl(a.w,a.C)):(c||(b=Nl(b,Tl)),a.w=new Ml(b,0,a.C))}
function Ul(a,b,c){a.w.set(b,c)}
function Vl(a,b,c){ta(c)||(c=[String(c)]);Wl(a.w,b,c)}
function Xl(a){Ul(a,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^v()).toString(36));return a}
function Yl(a){return a instanceof Gl?a.clone():new Gl(a,void 0)}
function Zl(a,b,c,d){var e=new Gl(null,void 0);a&&Hl(e,a);b&&Il(e,b);c&&Jl(e,c);d&&(e.j=d);return e}
function Ll(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}
function Nl(a,b,c){return q(a)?(a=encodeURI(a).replace(b,$l),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}
function $l(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
var Ol=/[#\/\?@]/g,Ql=/[\#\?:]/g,Pl=/[\#\?]/g,Tl=/[\#\?@]/g,Rl=/#/g;function Ml(a,b,c){this.l=this.j=null;this.w=a||null;this.A=!!c}
function am(a){a.j||(a.j=new wl,a.l=0,a.w&&yg(a.w,function(b,c){bm(a,cb(b),c)}))}
g=Ml.prototype;g.da=function(){am(this);return this.l};
function bm(a,b,c){am(a);a.w=null;b=cm(a,b);var d=a.j.get(b);d||a.j.set(b,d=[]);d.push(c);a.l=a.l+1;return a}
g.remove=function(a){am(this);a=cm(this,a);return yl(this.j.l,a)?(this.w=null,this.l=this.l-this.j.get(a).length,this.j.remove(a)):!1};
g.clear=function(){this.j=this.w=null;this.l=0};
g.isEmpty=function(){am(this);return 0==this.l};
function dm(a,b){am(a);b=cm(a,b);return yl(a.j.l,b)}
g.Gb=function(a){var b=this.ba();return Jb(b,a)};
g.forEach=function(a,b){am(this);this.j.forEach(function(c,d){z(c,function(c){a.call(b,c,d,this)},this)},this)};
g.Fa=function(){am(this);for(var a=this.j.ba(),b=this.j.Fa(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.ba=function(a){am(this);var b=[];if(q(a))dm(this,a)&&(b=Ob(b,this.j.get(cm(this,a))));else{a=this.j.ba();for(var c=0;c<a.length;c++)b=Ob(b,a[c])}return b};
g.set=function(a,b){am(this);this.w=null;a=cm(this,a);dm(this,a)&&(this.l=this.l-this.j.get(a).length);this.j.set(a,[b]);this.l=this.l+1;return this};
g.get=function(a,b){var c=a?this.ba(a):[];return 0<c.length?String(c[0]):b};
function Wl(a,b,c){a.remove(b);0<c.length&&(a.w=null,a.j.set(cm(a,b),Pb(c)),a.l=a.l+c.length)}
g.toString=function(){if(this.w)return this.w;if(!this.j)return"";for(var a=[],b=this.j.Fa(),c=0;c<b.length;c++)for(var d=b[c],e=bb(d),d=this.ba(d),f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+bb(d[f]));a.push(h)}return this.w=a.join("&")};
g.clone=function(){var a=new Ml;a.w=this.w;this.j&&(a.j=this.j.clone(),a.l=this.l);return a};
function cm(a,b){var c=String(b);a.A&&(c=c.toLowerCase());return c}
function Sl(a,b){b&&!a.A&&(am(a),a.w=null,a.j.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),Wl(this,c,a))},a));
a.A=b}
g.extend=function(a){for(var b=0;b<arguments.length;b++)El(arguments[b],function(a,b){bm(this,b,a)},this)};var em="adsafe channel client description_url durl google_ad_channel h h_ch iu kfa page_slots prev_ius prev_slotnames slotname tfcd video_url_to_fetch w".split(" ");
function fm(a){var b=!0;try{var c=a()}catch(h){try{var d=qh(h);a="";h.fileName&&(a=h.fileName);var e=-1;h.lineNumber&&(e=h.lineNumber);b=ol("cache_key.js",d,a,e)}catch(k){d=k;try{var f=qh(d);a="";d.fileName&&(a=d.fileName);e=-1;d.lineNumber&&(e=d.lineNumber);ol("pAR",f,a,e,void 0)}catch(l){pl({context:"mRE",msg:l.toString()+"\n"+(l.stack||""),sw:1},void 0,void 0)}}if(!b)throw h;}finally{}return c?String(c):""}
function gm(a,b){z(em,function(c){var d=a[c];if(d||0===d||!1===d)"boolean"==typeof d&&(d=Number(d)),b(c,d)})}
function hm(a){return fm(function(){var b=new Ml;gm(a,function(a,d){return bm(b,a,d)});
bm(b,"domain",(new Gl(a.url)).l);return String(If(b.toString()))})}
;function im(){var a=x.j,b=ag();if(b.D)return b.D[a];b.D={};var c=null;try{(c=b.localStorage.getItem("google_pub_config"))&&(b.D[a]=JSON.parse(c))}catch(d){}return b.D[a]}
function jm(){var a=im();a&&(a.ll=!0)}
function km(){return"20040051"==gh(hi(),69)}
function lm(a){if(gh(hi(),69))a=!!x.ga&&(a||km());else if(gh(hi(),48)){var b;if(b=kl)a||(a=gh(hi(),48),a=!!a&&"453848292"==a||km()),b=a;a=b}else a=!1;return a}
function mm(){if(!Xk)a:{var a=[m.top];var b=[];for(var c=0,d;d=a[c++];){b.push(d);try{if(d.frames)for(var e=d.frames.length,f=0;f<e&&1024>a.length;++f)a.push(d.frames[f])}catch(k){}}for(a=0;a<b.length;a++)try{var h=b[a].frames.google_esf;if(h){Xk=h;break a}}catch(k){}Xk=null}b=Xk;try{return fg&&"1"!=x.google_tag_for_child_directed_treatment&&b&&(Fj||Gj)&&"20"===x.Yb?lm(!1):!1}catch(k){}return!1}
;qd('body {display: block;border: 0px;margin: 0px;width: 100%;height: 100%;font-family: Roboto;background-color: #4285F4;-webkit-touchcallout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.header {width: 100%;height: 30px;background-color: rgba(0,0,0,0.15);}.header-text {margin: 0px 0px 0px 9px;display: block;float: left;font-size: 9px;line-height: 30px;color: rgba(255,255,255,0.8);}[dir="rtl"] .header-text {margin: 0px 9px 0px 0px;float: right;}.logo {display: inline-block;vertical-align: middle;height: 15px;}.logo-spacer {height: 100%;display: inline-block;vertical-align: middle;}.logo-wrapper {height: 100%;display: block;float: left;margin: 0px 2px 0px 2px;}[dir="rtl"] .logo-wrapper {float: right;}.mute-wrapper {float: right;display: block;height: 100%;}[dir="rtl"] .mute-wrapper {float: left;}.interrogative-text {color: rgba(255,255,255,0.8);}.interrogative-wrapper {display: block;margin: 9px 0px 0px 9px;}.response-wrapper {display: block;min-width: 300px;}.response-wrapper a {display: inline-block;margin: 5px;padding: 4px;cursor: pointer;}.response-wrapper a.button {color: #4285F4;background-color: rgba(255, 255, 255, 1.0);border-radius: 1px;box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.35);}.response-wrapper a.radio {color: rgba(255,255,255,0.95);}.response-wrapper svg {display: inline-block;float: left;height: 1.3em;width: 1.3em;}[dir="rtl"] .response-wrapper svg {float: right;}.response-wrapper span {display: inline-block;float: left;line-height: 1.3em;}[dir="rtl"] .response-wrapper span {float: right;}.response-wrapper circle.radio-select {opacity: 0;}.response-wrapper a:hover circle.radio-select {opacity: 1;}.response-wrapper a.button:hover {background-color: rgba(255, 255, 255, 0.8);}.response-wrapper a.button:active {box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.15);}.response-wrapper a.radio:hover {color: rgba(255, 255, 255, 0.95);background-color: rgba(255, 255, 255, 0.1);}.response-wrapper a.radio:active {color: rgba(255, 255, 255, 1.0);background-color: rgba(255, 255, 255, 0.2);}@media (max-width: 480px) {.content-text {font-size: 12px;}}@media (min-width: 480px) and (max-width: 640px) {.content-text {font-size: 14px;}}@media (min-width: 640px) {.content-text {font-size: 16px;}}@media screen and (max-device-width: 640px){svg.radio-button {display:none;}}@media screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2){svg.radio-button {display:none;}}@media screen and (min-device-width: 768px) and (max-device-width: 1024px){svg.radio-button {display:none;}}@media screen and (min-width: 1024px){}');function nm(a){try{var b=a.screenX;var c=a.screenY}catch(k){}try{var d=a.outerWidth;var e=a.outerHeight}catch(k){}try{var f=a.innerWidth;var h=a.innerHeight}catch(k){}return[a.screenLeft,a.screenTop,b,c,a.screen?a.screen.availWidth:void 0,a.screen?a.screen.availTop:void 0,d,e,f,h]}
;var om=/^blogger$/,pm=/^wordpress(.|\s|$)/i,qm=/^joomla!/i,rm=/\/wp-content\//;
function sm(a){for(var b=a.getElementsByTagName("meta"),c=b.length,d=0;d<c;++d){var e=b[d];if("generator"==e.getAttribute("name")&&e.hasAttribute("content")){e=e.getAttribute("content");if(om.test(e))return 1;if(pm.test(e))return 2;if(qm.test(e))return 3}}a=a.getElementsByTagName("link");b=a.length;for(d=0;d<b;++d)if(c=a[d],"stylesheet"==c.getAttribute("rel")&&c.hasAttribute("href")&&(c=c.getAttribute("href"),rm.test(c)))return 2;return 0}
;var tm=/PyvSearchDelayed/;function um(){return"33895333"===gh(hi(),19)&&"html"===x.l}
function vm(){var a=ag();if(pa(x.Gg)){var b="RS-"+x.Gg+"-",c={};x.F=bg((c.adk=x.Wk,c.client=x.j,c),Kh("googleads.g.doubleclick.net",["/pagead/html/r20100101/r20100101/zrt_lookup.html#",b?encodeURIComponent(b):""].join("")));wm(Zh());xm();var d=!0}else{var e=ag().document,f={},h;var k=Vh(x,!1).zb;var l=oi(k);b:{var p=ag(),y=x.Na||p.Na,P=x.wa||p.wa;if(p&&p.top==p)var ba=!1;else{var S=e.documentElement;if(y&&P){var da=1,Sa=1;p.innerHeight?(da=p.innerWidth,Sa=p.innerHeight):S&&S.clientHeight?(da=S.clientWidth,
Sa=S.clientHeight):e.body&&(da=e.body.clientWidth,Sa=e.body.clientHeight);if(Sa>2*P||da>2*y){ba=!1;break b}}ba=!0}}var ya=h=ba,vh=l.Vc,tn=ag(),Nj=tn.top==tn?0:Df(tn.top)?1:2,Jf=4;ya||1!=Nj?ya||2!=Nj?ya&&1==Nj?Jf=7:ya&&2==Nj&&(Jf=8):Jf=6:Jf=5;vh&&(Jf|=16);var JF=""+Jf;var un=k,Oj=h,vn=!!x.C;f.iframing=JF;if(!vn&&"ad.yieldmanager.com"==e.domain){for(var wh=e.URL.substring(e.URL.lastIndexOf("http"));-1<wh.indexOf("%");)try{wh=decodeURIComponent(wh)}catch(gd){break}x.C=wh;vn=!!wh}var wn=hi(),Fu=gh(wn,
92);vn?(f.page_url=x.C,f.page_location=(Oj?e.referrer:e.URL)||"EMPTY"):Fu&&Oj&&Df(x.top)&&e.referrer&&x.top.document.referrer===e.referrer?Fu===ji.Gc?(f.page_url=x.top.document.URL,f.page_location=null,fh(wn,"21060300")):(fh(wn,"21060299"),f.page_url=Oj?e.referrer:e.URL,f.page_location=null):(f.page_url=Oj?e.referrer:e.URL,f.page_location=null);f.last_modified_time=e.URL==f.page_url?Date.parse(e.lastModified)/1E3:null;if(un==un.top)var Gu=un.document.referrer;else{var Hu=Rf();Gu=(Hu?Hu.referrer:null)||
""}f.referrer_url=Gu;ni(f);var xn;if(!(xn=!xm())){var yn;if(yn=!(5==x.nl&&x.ga))yn=!x.ga&&!!nj()&&16!=x.aa;xn=yn&&!nk(a)}if(xn)d=!1;else{var Iu=ri()?"pagead2.googlesyndication.com":"googleads.g.doubleclick.net",C={};ym(C);var Ju=ag();C.dt=cl;fg&&x.bb&&(C.bpp=x.bb);var Ku,LF=ag();b:{var MF=ag();try{var Kf=MF.performance;if(Kf&&Kf.timing&&Kf.now){var zn=Kf.timing.navigationStart+Math.round(Kf.now())-Kf.timing.domLoading;break b}}catch(gd){}zn=null}(Ku=zn?dl(zn,LF.Date.now()-cl,1E6):null)&&(C.bdt=Ku);
var Lu=x.Eb;if(pa(Lu)){x.Eb=null;var An=dl(Lu,cl)}else An=null;null!=An&&(C.fdt=An);C.idt=dl(cl,cl);C.shv="r20100101";C.cbv="/r20100101".replace("/","");/^\w{1,3}$/.test(x.Kc)&&(C.saldr=x.Kc);var Bn=Rf(Ju);if(Bn){C.is_amp=1;var Cn=Bn||Rf();C.amp_v=Cn&&Cn.mode?+Cn.mode.version||null:null;var Dn=Bn||Rf();if(Dn&&Dn.container){for(var Mu=Dn.container.split(","),Nu=[],En=0;En<Mu.length;En++)Nu.push(Qf[Mu[En]]||"x");var Ou=Nu.join()}else Ou=null;var Pu=Ou;Pu&&(C.act=Pu)}var Ee=Zh(),Qu=ai(Ee,8,{}),Pj=x.A;
Qu[Pj]&&(C.prev_fmts=Qu[Pj]);var Ru=ai(Ee,9,{});Ru[Pj]&&(C.prev_slotnames=Ru[Pj].toLowerCase());wm(Ee);var Su=ai(Ee,15,0);0<Su&&(C.nras=""+Su);var Tu=ag(),Uu=Rf(Tu);if(Uu){var Qj=Uu||Rf();if(Qj){var Vu=Qj.pageViewId;q(Qj.clientId)&&(Vu+=Qj.clientId.replace(/\D/g,"").substr(0,6));var Wu=Vu}else Wu=null;var Xu=+Wu}else{var Yu=Vh(Tu,!1).zb,Fn=Yu.google_global_correlator;Fn||(Yu.google_global_correlator=Fn=1+Math.floor(Math.random()*Math.pow(2,43)));Xu=Fn}C.correlator=ai(Ee,7,Xu);if(x.ra){for(var Zu=
ai(Ee,10,{}),$u="",bv=x.ra.split(zm),Gn=0;Gn<bv.length;Gn++){var Hn=bv[Gn];Zu[Hn]?$u+=Hn+"+":Zu[Hn]=!0}C.pv_ch=$u}if(x.Da){for(var Rj=ai(Ee,11,[]),cv=x.Da.split("|"),Sj=-1,In=[],hd=0;hd<cv.length;hd++){var dv=cv[hd].split(zm);Rj[hd]||(Rj[hd]={});for(var xh="",Jn=0;Jn<dv.length;Jn++){var Tj=dv[Jn];""!==Tj&&(Rj[hd][Tj]?xh+="+"+Tj:Rj[hd][Tj]=!0)}xh=xh.slice(1);In[hd]=xh;""!==xh&&(Sj=hd)}var Kn="";if(-1<Sj){for(var Ln=0;Ln<Sj;Ln++)Kn+=In[Ln]+"|";Kn+=In[Sj]}C.pv_h_ch=Kn}C.frm=x.Yb;var Mn=Ju.document,ev=
"";try{ev=Mn.cookie}catch(gd){}var fv=Mn.domain,yh=ev,NF=Mn.referrer,OF=cg(),Uj=x.screen;if(Rf())var gv=ag().gaGlobal||{};else{var Nn=Math.round((new Date).getTime()/1E3),hv=window.Oa,Vj="undefined"==typeof hv?Bj("auto",fv):Bj(hv,fv),PF=-1<yh.indexOf("__utma="+Vj+"."),QF=-1<yh.indexOf("__utmb="+Vj),On;if(!(On=(Sf()||ag()).gaGlobal)){var RF={};On=(Sf()||ag()).gaGlobal=RF}var Ya=On,iv=!1;if(PF){var Pn=yh.split("__utma="+Vj+".")[1].split(";")[0].split(".");QF?Ya.sid=Pn[3]+"":Ya.sid||(Ya.sid=Nn+"");Ya.vid=
Pn[0]+"."+Pn[1];Ya.from_cookie=!0}else{Ya.sid||(Ya.sid=Nn+"");if(!Ya.vid){var iv=!0,SF=Math.round(2147483647*Math.random()),jv=OF,kv,Fe=[yj.appName,yj.version,yj.language?yj.language:yj.browserLanguage,yj.platform,yj.userAgent,zj()?1:0].join("");if(Uj)Fe+=Uj.width+"x"+Uj.height+Uj.colorDepth;else if(window.java&&window.java.Hf){var lv=window.java.Hf.xk.Mk().Nk();Fe+=lv.screen.width+"x"+lv.screen.height}Fe=Fe+yh+(NF||"");for(kv=Fe.length;0<jv;)Fe+=jv--^kv++;Ya.vid=(SF^Aj(Fe)&2147483647)+"."+Nn}Ya.from_cookie=
!1}if(!Ya.cid){c:{var mv=999,Lf=window.Oa;Lf&&(Lf=0==Lf.indexOf(".")?Lf.substr(1):Lf,mv=(""+Lf).split(".").length);for(var nv,ov=999,Wj=yh.split(";"),zh=0;zh<Wj.length;zh++){var Xj=Cj.exec(Wj[zh])||Dj.exec(Wj[zh])||Ej.exec(Wj[zh]);if(Xj){var Qn=Xj[1]||0;if(Qn==mv){var Mf=Xj[2];break c}Qn<ov&&(ov=Qn,nv=Xj[2])}}Mf=nv}iv&&Mf&&-1!=Mf.search(/^\d+\.\d+$/)?Ya.vid=Mf:Mf!=Ya.vid&&(Ya.cid=Mf)}Ya.dh=Vj;Ya.hid||(Ya.hid=Math.round(2147483647*Math.random()));gv=Ya}var Ah=gv;C.ga_vid=Ah.vid;C.ga_sid=Ah.sid;C.ga_hid=
Ah.hid;C.ga_fc=Ah.from_cookie;C.ga_cid=Ah.cid;C.ga_wpids=x.bl;C.pv=Am();var Bh=new Og;x.location&&x.location.ancestorOrigins&&(C.iag=Qg(Bh));C.icsg=Sg(Bh);var pv=Bh.j[0].depth;0<pv&&(C.nhd=pv);C.dssz=Va.scripts?Va.scripts.length:0;C.mdo=Tg(Bh);C.mso=Ug(Bh);var Rn=x.Sk;Rn&&0<=Wk[Rn]&&(C.rplot=Wk[Rn]);eg(C);var Yj=ag(),Zj,Sn=Rf(),Tn=((Zj=Sn&&Sn.initialIntersection?Sn.initialIntersection:null)&&wa(Zj.rootBounds)?new ae(Zj.rootBounds.width,Zj.rootBounds.height):null)||Vk(Yj.top);Tn&&(C.biw=Tn.width,C.bih=
Tn.height);if(Yj.top!=Yj){var Un=Vk(Yj);Un&&(C.isw=Un.width,C.ish=Un.height)}var Ge=ag();if(null!==Ge&&Ge.top!=Ge){var ak=[Ge.document.URL];Ge.name&&ak.push(Ge.name);var qv=Vk(Ge,!1);ak.push(qv.width.toString());ak.push(qv.height.toString());var rv=If(ak.join(""))}else rv=0;var sv=rv;0!==sv&&(C.ifk=sv.toString());ag()==window.top&&(C.abxe=1);var tv=hi();C.eid=mi(tv).join();C.loeid=li(tv).join();var uv=Ok().Sa();uv&&(C.oid=uv);var Vn=ag(),He=Wh(),vv=gh(hi(),61),wv=!!vv&&"20040041"!=vv||km()||!!nj(),
Wn;if(!(Wn=!wv)){var xv=lj(He).clientWidth||0;Wn=320<=xv&&420>=xv&&.05>Math.abs(mj(He)-1)}Wn||(C.nmo=1);if(He.outerWidth&&wv){var yv=He.outerWidth/He.document.documentElement.clientWidth;.02<Math.abs(yv-1)&&(C.zm=String(yv).substring(0,4))}C.ref=x.ol;C.loc=x.Fg;var Ch=oi(He),UF=hi();C.url||C.loc||!Ch.url||(C.url=Ch.url,Ch.Vc||(C.usrc=1));var Xn,zv=x.l,VF=jg(),WF=(!zv||"html"==zv)&&!VF;if(!(Xn="33895335"==gh(hi(),59)&&WF||um())){var XF=x.google_ad_channel;Xn="ca-pub-6219811747049371"===x.google_ad_client&&
tm.test(XF)}if(Xn||uk())C.d_imp="1";Ch.url!=(C.loc||C.url)&&(C.top=Ch.url);x.ab&&(C.rr=x.ab);C.rx=0;if(Zk&&$k(Zk))var Yn=Zk;else{var Zn=Wh(),id=Zn.google_jobrunner;Yn=id&&(Vf(id,"object")||Vf(id,"function"))&&$k(id)&&Xf(id.nq)&&Xf(id.nqa)&&Xf(id.al)&&Xf(id.rl)?Zk=id:Zn.google_jobrunner=Zk=new Yk(Zn)}var Av=Xf(Yn.tc)?Yn.tc():null;Av&&(C.jtc=Av);var Bv=kg(Vn);!Bv||kk(Bv);var Ie=kg(Vn),$n;if($n=Ie)$n=!!x.Vk&&!x.aa&&!!Ie.navigator&&/iPhone|iPod|iPad|Android|BlackBerry/.test(Ie.navigator.userAgent)&&Ie.top==
Ie;if($n){var Cv=Ie.document.getElementById(x.H);if(Cv){for(var Dh=Cv.parentElement;Dh&&!hg.test(Dh.className);)Dh=Dh.parentElement;var Dv=Dh}else Dv=null;var ao=Dv;if(ao){var bo=kk(Ie);bo.l[16]||(bo.l[16]=[]);var YF=bo.l[16],co={};null==x.google_ad_client&&hl()&&(co.Ok=2048);jl(x,co);YF.push({Yk:ao,Zk:co,offsetWidth:ao.offsetWidth})}}if(!jg()){var Ev="";if(document.documentMode){var Je=document.createElement("IFRAME");Je.frameBorder=0;Je.style.height=0;Je.style.width=0;Je.style.position="absolute";
if(document.body){document.body.appendChild(Je);try{var bk=Je.contentWindow.document;bk.open();bk.write("<!DOCTYPE html>");bk.close();Ev+=bk.documentMode}catch(gd){}document.body.removeChild(Je)}}C.docm=Ev}C.brdim=nm(Vn).join();var ZF=ii.Gc;var $F=gh(hi(),67)===ZF;var Eh=0;!n(m.postMessage)&&(Eh|=1);if($F){var Fv=Rf(x);Fv&&Fv.sl&&(Eh|=256);pa(x.screenX)&&pa(x.ql)&&pa(x.outerWidth)&&(Eh|=512);va(yk())&&(Eh|=1024)}var Gv=Eh;0<Gv&&(C.osd=Gv);C.vis=vk();var eo=im();if(eo&&eo.sraConfigs){var Hv=eo.sraConfigs;
var Iv=Hv["2"]&&Hv["2"].sraEnabled?"t":"f"}else Iv="u";C.ppjl=Iv;if("html"===((x||x).google_ad_output||"html")&&!nj()){b:{var Fh=Number(x.google_ad_width),Gh=Number(x.google_ad_height);if(!(0<Fh&&0<Gh)){c:{try{var fo=String(x.google_ad_format);if(fo&&fo.match){var go=fo.match(/(\d+)x(\d+)/i);if(go){var Jv=parseInt(go[1],10),Kv=parseInt(go[2],10);if(0<Jv&&0<Kv){var ck={width:Jv,height:Kv};break c}}}}catch(gd){}ck=null}if(!ck){var Lv=null;break b}Fh=0<Fh?Fh:ck.width;Gh=0<Gh?Gh:ck.height}Lv={width:Fh,
height:Gh}}var ho=Lv;if(ho){var Mv=0;b:{var Nv=x.H;try{if(Nv)var Ov=ag().document.getElementById(Nv);else{var Pv=document.getElementsByTagName("script"),Qv=Pv[Pv.length-1];Ov=Qv&&Qv.parentNode||null}var Rv=Ov;if(Rv){for(var Hh=[],dk=Rv,aG=0,bG=v();100>=++aG&&50>v()-bG&&(dk=Bm(dk));)1===dk.nodeType&&Hh.push(dk);c:{for(var io=0;io<Hh.length;io++){d:{var jd=Hh[io];try{if(jd.parentNode&&0<jd.offsetWidth&&0<jd.offsetHeight&&jd.style&&"none"!==jd.style.display&&"hidden"!==jd.style.visibility&&(!jd.style.opacity||
0!==Number(jd.style.opacity))){var Sv=jd.getBoundingClientRect();var Tv=0<Sv.right&&0<Sv.bottom;break d}}catch(gd){}Tv=!1}if(!Tv){var Uv=!1;break c}}Uv=!0}if(Uv){c:{for(var dG=v(),eG=/^html|body$/i,fG=/^fixed/i,jo=0;jo<Hh.length&&50>v()-dG;jo++){var ek=Hh[jo];if(!eG.test(ek.tagName)&&fG.test(ek.style.position||nf(ek,"position"))){var ko=ek;break c}}ko=null}break b}}}catch(gd){}ko=null}var lo=ko;lo&&lo.offsetWidth*lo.offsetHeight<=4*ho.width*ho.height&&(Mv=1);C.pfx=Mv}}var Vv=kg(x),fk=x.location,gG=
x.B;if(fk){var mo=Jj(fk);b:{var hG=Lj(fk);try{var Wv=hG.match(/\bpfofmt=([\w]+)/);var Xv=Wv&&Wv[1]||null;break b}catch(gd){}Xv=null}var no=Xv;b:{var iG=Lj(fk);try{var Yv=iG.match(/\bpfoslot=([\d]+)/);var Zv=Yv&&Yv[1]||null;break b}catch(gd){}Zv=null}var $v=Zv;0>=mo||!(mo!=Ij.google_server_side_slot_resize||no&&$v&&$v==gG)||(C.pfo=mo,C.adtest="on",no&&(C.pfofmt=no))}if("26835106"===gh(UF,41)&&Vv){try{var aw=Vv.document.getElementsByTagName("head")[0];var bw=aw?sm(aw):0}catch(gd){bw=0}var cw=bw;0!==
cw&&(C.cms=cw)}var dw=lk(He);0!=dw&&(C.ifsl=dw);C.fu=og;C.bc=Hj();C.url&&0==String(C.url).lastIndexOf("https:",0)&&vc()&&0<=ub(wc(),57)&&(C.osw_key=hm(C));var jG=x.google_ad_channel,ew="/pagead/ads?";"ca-pub-6219811747049371"===x.google_ad_client&&Cm.test(jG)&&(ew="/pagead/lopri?");var fw=Kh(Iu,ew),oo;if(oo=!um())oo=(!x.l||"html"===x.l)&&3===vk();oo&&(fw=Kh(Iu,"/pagead/blank.gif#?"));x.F=bg(C,fw+"");d=!0}}return d}
function wm(a){var b=ai(a,8,{});a=ai(a,9,{});var c=x.A,d=x.Rk,e=x.B;d?b[c]=b[c]?b[c]+(","+d):d:e&&(a[c]=a[c]?a[c]+(","+e):e)}
function Am(){var a=x.j;try{var b=Wh(),c=b.google_prev_clients;c||(c=b.google_prev_clients={});if(a in c)return 1;c[a]=!0;return 2}catch(d){return 0}}
function Dm(){var a=hi(),b=x.Rf;if(q(b)){og|=4096;for(var b=b.split(","),c=0;c<b.length;c++){fh(a,b[c]);var d=b[c];ki[d]=d}}b=x.dl;if(ta(b)&&0!==b.length)for(og|=64,c=0;c<b.length;c++)q(b[c])&&fh(a,b[c])}
function Em(a){if(x.ag)a.nia=!0;else{var b=ag();var c=x.H;if(c&&b){b=b.document.getElementById(c);for(var c=0,d=null;b&&5>c;){if("adsbygoogle"==b.className){d=b;break}b=Me(b);c++}b=d?b.querySelector("[data-google-ad-template]"):null}else b=null;if(b){(c=tk(b))&&(a.nta="3:"+c);a:{if(b&&(b=sk(b,6))&&(b=parseFloat(b.getAttribute("data-google-image-ratio")),!isNaN(b)&&0<b)){b=1.455<b?"720x377":"200x200";break a}b=""}b&&(a.nis="3:"+b);a.crna=!0;a.native_templates="3"}}}
function ym(a){Wf(mg,function(b,c){a[b]=x[c]});
Wf(lg,function(b,c){a[b]=x[c]});
Wf(ng,function(b,c){a[b]=x[c]});
nj()&&(a.fa=nj());uk()&&Em(a);lm(!0)&&(mm()?(jm(),a.srr=1):a.srr=0)}
var Cm=/YtLoPri/;function Bm(a){try{if(a.parentNode)return a.parentNode}catch(e){return null}if(9===a.nodeType)a:{try{var b=a?pe(a):window;if(b){var c=b.frameElement;if(c&&Df(b.parent)){var d=c;break a}}}catch(e){}d=null}else d=null;return d}
function xm(){var a=Zh(),b=x.A;nj()&&ci(a,15,ai(a,15,0)+1);if(jg()){if(3<ci(a,5,ai(a,5,0)+1))return!1}else if(100<ci(a,6,ai(a,6,0)+1)-ai(a,15,0)&&""==b)return!1;return!0}
var zm=/[+, ]/;function Fm(a){this.j=a;a.then(u(function(){},this))}
function Gm(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=Hm(a,b).then(function(a){return a.apply(null,d)});
return new Fm(e)}
var Im={};function Hm(a,b){var c=Im[b];if(c)return c;c=(c=t(b))?Vi(c):(new Qi(function(b,c){var d=document.createElement("script");d.async=!0;Yd(d,Dd(pd(a)));d.onload=d.onreadystatechange=function(){d.readyState&&"loaded"!=d.readyState&&"complete"!=d.readyState||b()};
d.onerror=c;(document.head||document.getElementsByTagName("head")[0]).appendChild(d)})).then(function(){var c=t(b);
if(!c)throw Error("Failed to load "+b+" from "+a);return c});
return Im[b]=c}
function Jm(a,b,c){a.j.then(function(a){var d=a[b];if(!d)throw Error("Method not found: "+b);return d.apply(a,c)})}
;function Km(a){this.j=a}
function Lm(a,b){var c=b||{},c={apiKey:c.Hk||c.apiKey,environment:c.Kk||c.environment,helpCenterPath:c.Pk||c.helpCenterPath,locale:c.locale||c.locale||"en".replace(/-/g,"_"),productData:c.Xk||c.productData,receiverUri:c.fl||c.receiverUri,renderApiUri:c.jl||c.renderApiUri,theme:c.theme||c.theme,window:c.window||c.window},c=Gm(Mm,"help.service.Lazy.create",a,c);return new Km(c)}
var Mm=qd("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");Km.prototype.w=function(a){Jm(this.j,"startFeedback",arguments)};
Km.prototype.A=function(a){Jm(this.j,"startHelp",arguments)};
Km.prototype.l=function(a){Jm(this.j,"loadChatSupport",arguments)};function Nm(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a)throw Error("Invalid URI scheme in origin");var c="",d=b.indexOf(":");if(-1!=d){var e=b.substring(d+
1),b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c}
;/*
 gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var Om=window,Pm=document,Qm=Om.location;function Rm(){}
var Sm=/\[native code\]/;function Tm(a,b,c){return a[b]=a[b]||c}
function Um(a){a=a.sort();for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!=c&&b.push(e);c=e}return b}
function Vm(){var a;if((a=Object.create)&&Sm.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a}
var Wm=Tm(Om,"gapi",{});var Xm;Xm=Tm(Om,"___jsl",Vm());Tm(Xm,"I",0);Tm(Xm,"hel",10);function Ym(){var a=Qm.href;if(Xm.dpo)var b=Xm.h;else{b=Xm.h;var c=RegExp("([#].*&|[#])jsh=([^&#]*)","g"),d=RegExp("([?#].*&|[?#])jsh=([^&#]*)","g");if(a=a&&(c.exec(a)||d.exec(a)))try{b=decodeURIComponent(a[2])}catch(e){}}return b}
function Zm(a){var b=Tm(Xm,"PQ",[]);Xm.PQ=[];var c=b.length;if(0===c)a();else for(var d=0,e=function(){++d===c&&a()},f=0;f<c;f++)b[f](e)}
function $m(a){return Tm(Tm(Xm,"H",Vm()),a,Vm())}
;function an(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;y=p=0}
function b(a){for(var b=h,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];for(var d=e[1],f=e[2],k=e[3],l=e[4],p,y,c=0;80>c;c++)40>c?20>c?(p=k^d&(f^k),y=1518500249):(p=d^f^k,y=1859775393):60>c?(p=d&f|k&(d|f),y=2400959708):(p=d^f^k,y=3395469782),p=((a<<5|a>>>27)&4294967295)+p+l+y+b[c]&4294967295,l=k,k=f,f=(d<<30|d>>>2)&4294967295,d=a,a=p;e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;
e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}
function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,h=a.length;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==p)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,y+=64;for(;d<c;)if(f[p++]=a[d++],y++,64==p)for(p=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,y+=64}
function d(){var a=[],d=8*y;56>p?c(k,56-p):c(k,64-(p-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}
for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,y;a();return{reset:a,update:c,digest:d,Lf:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}}
;function bn(a,b,c){var d=[],e=[];if(1==(ta(c)?2:1))return e=[b,a],z(d,function(a){e.push(a)}),cn(e.join(" "));
var f=[],h=[];z(c,function(a){h.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];z(d,function(a){e.push(a)});
a=cn(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")}
function cn(a){var b=an();b.update(a);return b.Lf().toLowerCase()}
;function dn(a){this.j=a||{cookie:""}}
g=dn.prototype;g.isEnabled=function(){return navigator.cookieEnabled};
g.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');n(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(v()+1E3*c)).toUTCString();this.j.cookie=a+"="+b+e+d+c+f};
g.get=function(a,b){for(var c=a+"=",d=(this.j.cookie||"").split(";"),e=0,f;e<d.length;e++){f=ab(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.remove=function(a,b,c){var d=n(this.get(a));this.set(a,"",0,b,c);return d};
g.Fa=function(){return en(this).keys};
g.ba=function(){return en(this).values};
g.isEmpty=function(){return!this.j.cookie};
g.da=function(){return this.j.cookie?(this.j.cookie||"").split(";").length:0};
g.Gb=function(a){for(var b=en(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};
g.clear=function(){for(var a=en(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
function en(a){a=(a.j.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=ab(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}}
var fn=new dn("undefined"==typeof document?null:document);fn.l=3950;function gn(){var a=[],b=Nm(String(m.location.href)),c=m.__OVERRIDE_SID;null==c&&(c=(new dn(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?m.__SAPISID:m.__APISID,null==b&&(b=(new dn(document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(m.location.href);return d&&b&&c?[c,bn(Nm(d),b,a||null)].join(" "):null}return null}
;var hn=Tm(Xm,"perf",Vm());Tm(hn,"g",Vm());var jn=Tm(hn,"i",Vm());Tm(hn,"r",[]);Vm();Vm();function kn(a,b,c){b&&0<b.length&&(b=ln(b),c&&0<c.length&&(b+="___"+ln(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=Tm(jn,"_p",Vm()),Tm(b,c,Vm())[a]=(new Date).getTime(),b=hn.r,"function"===typeof b?b(a,"_p",c):b.push([a,"_p",c]))}
function ln(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/\,/g,"_")}
;var mn=Vm(),nn=[];function on(a){throw Error("Bad hint"+(a?": "+a:""));}
nn.push(["jsl",function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b];"object"==typeof c?Xm[b]=Tm(Xm,b,[]).concat(c):Tm(Xm,b,c)}if(b=a.u)a=Tm(Xm,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);
var pn=/^(\/[a-zA-Z0-9_\-]+)+$/,qn=[/\/amp\//,/\/amp$/,/^\/amp$/],rn=/^[a-zA-Z0-9\-_\.,!]+$/,sn=/^gapi\.loaded_[0-9]+$/,po=/^[a-zA-Z0-9,._-]+$/;function qo(a,b,c,d){var e=a.split(";"),f=e.shift(),h=mn[f],k=null;h?k=h(e,b,c,d):on("no hint processor for: "+f);k||on("failed to generate load url");b=k;c=b.match(ro);(d=b.match(so))&&1===d.length&&to.test(b)&&c&&1===c.length||on("failed sanity: "+a);return k}
function uo(a,b,c,d){function e(a){return encodeURIComponent(a).replace(/%2C/g,",")}
a=vo(a);sn.test(c)||on("invalid_callback");b=wo(b);d=d&&d.length?wo(d):null;return[encodeURIComponent(a.Th).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/rt=j/sv=1/d=1/ed=1",a.qd?"/am="+e(a.qd):"",a.Ge?"/rs="+e(a.Ge):"",a.qf?"/t="+e(a.qf):"","/cb=",e(c)].join("")}
function vo(a){"/"!==a.charAt(0)&&on("relative path");for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))on("empty/relative directory");else if(0<a.indexOf("=")){b.unshift(a);break}c.push(a)}a={};for(var d=0,e=b.length;d<e;++d){var f=b[d].split("="),h=decodeURIComponent(f[0]),k=decodeURIComponent(f[1]);2==f.length&&h&&k&&(a[h]=a[h]||k)}b="/"+c.join("/");pn.test(b)||on("invalid_prefix");c=0;for(d=qn.length;c<d;++c)qn[c].test(b)&&on("invalid_prefix");c=xo(a,
"k",!0);d=xo(a,"am");e=xo(a,"rs");a=xo(a,"t");return{Th:b,version:c,qd:d,Ge:e,qf:a}}
function wo(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");po.test(e)&&b.push(e)}return b.join(",")}
function xo(a,b,c){a=a[b];!a&&c&&on("missing: "+b);if(a){if(rn.test(a))return a;on("invalid: "+b)}return null}
var to=/^https?:\/\/[a-z0-9_.-]+\.google\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,so=/\/cb=/g,ro=/\/\//g;function yo(){var a=Ym();if(!a)throw Error("Bad hint");return a}
mn.m=function(a,b,c,d){(a=a[0])||on("missing_hint");return"https://apis.google.com"+uo(a,b,c,d)};
var zo=decodeURI("%73cript"),Ao=/^[-+_0-9\/A-Za-z]+={0,2}$/;function Bo(a,b){for(var c=[],d=0;d<a.length;++d){var e=a[d],f;if(f=e){a:{for(f=0;f<b.length;f++)if(b[f]===e)break a;f=-1}f=0>f}f&&c.push(e)}return c}
function Co(){var a=Xm.nonce;if(void 0!==a)return a&&a===String(a)&&a.match(Ao)?a:Xm.nonce=null;var b=Tm(Xm,"us",[]);if(!b||!b.length)return Xm.nonce=null;for(var c=Pm.getElementsByTagName(zo),d=0,e=c.length;d<e;++d){var f=c[d];if(f.src&&(a=String(f.nonce||f.getAttribute("nonce")||"")||null)){for(var h=0,k=b.length;h<k&&b[h]!==f.src;++h);if(h!==k&&a&&a===String(a)&&a.match(Ao))return Xm.nonce=a}}return null}
function Do(a){if("loading"!=Pm.readyState)Eo(a);else{var b=Co(),c="";null!==b&&(c=' nonce="'+b+'"');Pm.write("<"+zo+' src="'+encodeURI(a)+'"'+c+"></"+zo+">")}}
function Eo(a){var b=Pm.createElement(zo);b.setAttribute("src",a);a=Co();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=Pm.getElementsByTagName(zo)[0])?a.parentNode.insertBefore(b,a):(Pm.head||Pm.body||Pm.documentElement).appendChild(b)}
function Fo(a,b){var c=b&&b._c;if(c)for(var d=0;d<nn.length;d++){var e=nn[d][0],f=nn[d][1];f&&Object.prototype.hasOwnProperty.call(c,e)&&f(c[e],a,b)}}
function Go(a,b,c){Ho(function(){var c=b===Ym()?Tm(Wm,"_",Vm()):Vm();c=Tm($m(b),"_",c);a(c)},c)}
function Io(a,b){var c=b||{};"function"==typeof b&&(c={},c.callback=b);Fo(a,c);var d=a?a.split(":"):[],e=c.h||yo(),f=Tm(Xm,"ah",Vm());if(f["::"]&&d.length){for(var h=[],k=null;k=d.shift();){var l=k.split("."),l=f[k]||f[l[1]&&"ns:"+l[0]||""]||e,p=h.length&&h[h.length-1]||null,y=p;p&&p.hint==l||(y={hint:l,features:[]},h.push(y));y.features.push(k)}var P=h.length;if(1<P){var ba=c.callback;ba&&(c.callback=function(){0==--P&&ba()})}for(;d=h.shift();)Jo(d.features,c,d.hint)}else Jo(d||[],c,e)}
function Jo(a,b,c){function d(a,b){if(P)return 0;Om.clearTimeout(y);ba.push.apply(ba,da);var d=((Wm||{}).config||{}).update;d?d(f):f&&Tm(Xm,"cu",[]).push(f);if(b){kn("me0",a,S);try{Go(b,c,p)}finally{kn("me1",a,S)}}return 1}
a=Um(a)||[];var e=b.callback,f=b.config,h=b.timeout,k=b.ontimeout,l=b.onerror,p=void 0;"function"==typeof l&&(p=l);var y=null,P=!1;if(h&&!k||!h&&k)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";var l=Tm($m(c),"r",[]).sort(),ba=Tm($m(c),"L",[]).sort(),S=[].concat(l);0<h&&(y=Om.setTimeout(function(){P=!0;k()},h));
var da=Bo(a,ba);if(da.length){var da=Bo(a,l),Sa=Tm(Xm,"CP",[]),ya=Sa.length;Sa[ya]=function(a){function b(){var a=Sa[ya+1];a&&a()}
function c(b){Sa[ya]=null;d(da,a)&&Zm(function(){e&&e();b()})}
if(!a)return 0;kn("ml1",da,S);0<ya&&Sa[ya-1]?Sa[ya]=function(){c(b)}:c(b)};
if(da.length){var vh="loaded_"+Xm.I++;Wm[vh]=function(a){Sa[ya](a);Wm[vh]=null};
a=qo(c,da,"gapi."+vh,l);l.push.apply(l,da);kn("ml0",da,S);b.sync||Om.___gapisync?Do(a):Eo(a)}else Sa[ya](Rm)}else d(da)&&e&&e()}
function Ho(a,b){if(Xm.hee&&0<Xm.hel)try{return a()}catch(c){b&&b(c),Xm.hel--,Io("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;}})}else try{return a()}catch(c){throw b&&b(c),c;
}}
Wm.load=function(a,b){return Ho(function(){return Io(a,b)})};sc("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));var Ko=!B||Wc(9),Lo=B&&!Vc("9");!Ic||Vc("528");Hc&&Vc("1.9b")||B&&Vc("8")||Ec&&Vc("9.5")||Ic&&Vc("528");Hc&&!Vc("8")||B&&Vc("9");function Mo(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1;this.Ie=!0}
Mo.prototype.stopPropagation=function(){this.j=!0};
Mo.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Ie=!1};var No=B?"focusin":"DOMFocusIn",Oo=B?"focusout":"DOMFocusOut",Po=Ic?"webkitTransitionEnd":Ec?"otransitionend":"transitionend";function Qo(a,b){Mo.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.l=this.state=null;a&&this.init(a,b)}
w(Qo,Mo);
Qo.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?Hc&&(Bc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,
this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.l=a;a.defaultPrevented&&this.preventDefault()};
Qo.prototype.stopPropagation=function(){Qo.J.stopPropagation.call(this);this.l.stopPropagation?this.l.stopPropagation():this.l.cancelBubble=!0};
Qo.prototype.preventDefault=function(){Qo.J.preventDefault.call(this);var a=this.l;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Lo)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Ro="closure_listenable_"+(1E6*Math.random()|0),So=0;function To(a,b,c,d,e){this.listener=a;this.j=null;this.src=b;this.type=c;this.capture=!!d;this.ic=e;this.key=++So;this.ub=this.Wb=!1}
function Uo(a){a.ub=!0;a.listener=null;a.j=null;a.src=null;a.ic=null}
;function Vo(a){this.src=a;this.listeners={};this.j=0}
function Wo(a,b,c,d,e){var f=b.toString();b=a.listeners[f];b||(b=a.listeners[f]=[],a.j++);var h=Xo(b,c,d,e);-1<h?(a=b[h],a.Wb=!1):(a=new To(c,a.src,f,!!d,e),a.Wb=!1,b.push(a));return a}
Vo.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Xo(e,b,c,d);return-1<b?(Uo(e[b]),Mb(e,b),0==e.length&&(delete this.listeners[a],this.j--),!0):!1};
function Yo(a,b){var c=b.type;c in a.listeners&&Lb(a.listeners[c],b)&&(Uo(b),0==a.listeners[c].length&&(delete a.listeners[c],a.j--))}
function Zo(a,b,c,d,e){a=a.listeners[b.toString()];b=-1;a&&(b=Xo(a,c,d,e));return-1<b?a[b]:null}
function Xo(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.ub&&f.listener==b&&f.capture==!!c&&f.ic==d)return e}return-1}
;var $o="closure_lm_"+(1E6*Math.random()|0),ap={},bp=0;
function cp(a,b,c,d,e){if(ta(b)){for(var f=0;f<b.length;f++)cp(a,b[f],c,d,e);return null}c=dp(c);if(a&&a[Ro])a=a.Pb(b,c,d,e);else{if(!b)throw Error("Invalid event type");var f=!!d,h=ep(a);h||(a[$o]=h=new Vo(a));c=Wo(h,b,c,d,e);if(!c.j){d=fp();c.j=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,f);else if(a.attachEvent)a.attachEvent(gp(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");bp++}a=c}return a}
function fp(){var a=hp,b=Ko?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b}
function ip(a,b,c,d,e){if(ta(b))for(var f=0;f<b.length;f++)ip(a,b[f],c,d,e);else c=dp(c),a&&a[Ro]?a.yc(b,c,d,e):a&&(a=ep(a))&&(b=Zo(a,b,c,!!d,e))&&jp(b)}
function jp(a){if(!pa(a)&&a&&!a.ub){var b=a.src;if(b&&b[Ro])Yo(b.w,a);else{var c=a.type,d=a.j;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(gp(c),d);bp--;(c=ep(b))?(Yo(c,a),0==c.j&&(c.src=null,b[$o]=null)):Uo(a)}}}
function gp(a){return a in ap?ap[a]:ap[a]="on"+a}
function kp(a,b,c,d){var e=!0;if(a=ep(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.ub&&(f=lp(f,d),e=e&&!1!==f)}return e}
function lp(a,b){var c=a.listener,d=a.ic||a.src;a.Wb&&jp(a);return c.call(d,b)}
function hp(a,b){if(a.ub)return!0;if(!Ko){var c=b||t("window.event"),d=new Qo(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);for(var h=a.type,k=c.length-1;!d.j&&0<=k;k--)d.currentTarget=c[k],f=kp(c[k],h,!0,d),e=e&&f;for(k=0;!d.j&&k<c.length;k++)d.currentTarget=c[k],f=kp(c[k],h,!1,d),e=e&&f}return e}return lp(a,new Qo(b,this))}
function ep(a){a=a[$o];return a instanceof Vo?a:null}
var mp="__closure_events_fn_"+(1E9*Math.random()>>>0);function dp(a){if(va(a))return a;a[mp]||(a[mp]=function(b){return a.handleEvent(b)});
return a[mp]}
;function np(){gk.call(this);this.w=new Vo(this);this.Da=this;this.ga=null}
w(np,gk);np.prototype[Ro]=!0;g=np.prototype;g.addEventListener=function(a,b,c,d){cp(this,a,b,c,d)};
g.removeEventListener=function(a,b,c,d){ip(this,a,b,c,d)};
function op(a,b){var c=a.ga;if(c){var d=[];for(var e=1;c;c=c.ga)d.push(c),++e}var c=a.Da,e=b,f=e.type||e;if(q(e))e=new Mo(e,c);else if(e instanceof Mo)e.target=e.target||c;else{var h=e,e=new Mo(f,c);rc(e,h)}var h=!0;if(d)for(var k=d.length-1;!e.j&&0<=k;k--){var l=e.currentTarget=d[k];h=pp(l,f,!0,e)&&h}e.j||(l=e.currentTarget=c,h=pp(l,f,!0,e)&&h,e.j||(h=pp(l,f,!1,e)&&h));if(d)for(k=0;!e.j&&k<d.length;k++)l=e.currentTarget=d[k],h=pp(l,f,!1,e)&&h}
g.M=function(){np.J.M.call(this);if(this.w){var a=this.w,b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,Uo(d[e]);delete a.listeners[c];a.j--}}this.ga=null};
g.Pb=function(a,b,c,d){return Wo(this.w,String(a),b,c,d)};
g.yc=function(a,b,c,d){return this.w.remove(String(a),b,c,d)};
function pp(a,b,c,d){b=a.w.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.ub&&h.capture==c){var k=h.listener,l=h.ic||h.src;h.Wb&&Yo(a.w,h);e=!1!==k.call(l,d)&&e}}return e&&0!=d.Ie}
;function qp(a,b){np.call(this);this.l=a||1;this.j=b||m;this.A=u(this.Xf,this);this.B=v()}
w(qp,np);g=qp.prototype;g.enabled=!1;g.ta=null;g.setInterval=function(a){this.l=a;this.ta&&this.enabled?(this.stop(),this.start()):this.ta&&this.stop()};
g.Xf=function(){if(this.enabled){var a=v()-this.B;0<a&&a<.8*this.l?this.ta=this.j.setTimeout(this.A,this.l-a):(this.ta&&(this.j.clearTimeout(this.ta),this.ta=null),op(this,"tick"),this.enabled&&(this.ta=this.j.setTimeout(this.A,this.l),this.B=v()))}};
g.start=function(){this.enabled=!0;this.ta||(this.ta=this.j.setTimeout(this.A,this.l),this.B=v())};
g.stop=function(){this.enabled=!1;this.ta&&(this.j.clearTimeout(this.ta),this.ta=null)};
g.M=function(){qp.J.M.call(this);this.stop();delete this.j};
function rp(a,b,c){if(va(a))c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:m.setTimeout(a,b||0)}
;function sp(a,b,c){gk.call(this);this.j=a;this.A=b||0;this.l=c;this.w=u(this.Nd,this)}
w(sp,gk);g=sp.prototype;g.Mb=0;g.M=function(){sp.J.M.call(this);this.stop();delete this.j;delete this.l};
g.start=function(a){this.stop();this.Mb=rp(this.w,n(a)?a:this.A)};
g.stop=function(){this.isActive()&&m.clearTimeout(this.Mb);this.Mb=0};
g.isActive=function(){return 0!=this.Mb};
g.Nd=function(){this.Mb=0;this.j&&this.j.call(this.l)};function tp(a,b,c){gk.call(this);this.A=null!=c?u(a,c):a;this.w=b;this.l=u(this.Hh,this);this.j=[]}
w(tp,gk);g=tp.prototype;g.vb=!1;g.Sb=0;g.hb=null;g.Yf=function(a){this.j=arguments;this.hb||this.Sb?this.vb=!0:up(this)};
g.stop=function(){this.hb&&(m.clearTimeout(this.hb),this.hb=null,this.vb=!1,this.j=[])};
g.pause=function(){this.Sb++};
g.resume=function(){this.Sb--;this.Sb||!this.vb||this.hb||(this.vb=!1,up(this))};
g.M=function(){tp.J.M.call(this);this.stop()};
g.Hh=function(){this.hb=null;this.vb&&!this.Sb&&(this.vb=!1,up(this))};
function up(a){a.hb=rp(a.l,a.w);a.A.apply(null,a.j)}
;var vp={nj:["BC","AD"],mj:["Before Christ","Anno Domini"],Gj:"JFMAMJJASOND".split(""),nk:"JFMAMJJASOND".split(""),Ej:"January February March April May June July August September October November December".split(" "),mk:"January February March April May June July August September October November December".split(" "),fk:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),qk:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Ck:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
sk:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),hk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),rk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Hj:"SMTWTFS".split(""),pk:"SMTWTFS".split(""),gk:["Q1","Q2","Q3","Q4"],Rj:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Vi:["AM","PM"],ij:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],uk:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],jj:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],zf:6,Dk:[5,6],Af:5},wp=vp,
wp=vp;function xp(a,b,c){pa(a)?(this.date=yp(a,b||0,c||1),zp(this,c||1)):wa(a)?(this.date=yp(a.getFullYear(),a.getMonth(),a.getDate()),zp(this,a.getDate())):(this.date=new Date(v()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),zp(this,a))}
function yp(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}
g=xp.prototype;g.cc=wp.zf;g.ec=wp.Af;g.clone=function(){var a=new xp(this.date);a.cc=this.cc;a.ec=this.ec;return a};
g.getFullYear=function(){return this.date.getFullYear()};
g.getMonth=function(){return this.date.getMonth()};
g.getDate=function(){return this.date.getDate()};
g.getTime=function(){return this.date.getTime()};
function Ap(a){a=a.date.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+sb(c)+":"+sb(b)}return a}
g.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.wc=function(a,b){return[this.getFullYear(),sb(this.getMonth()+1),sb(this.getDate())].join(a?"-":"")+(b?Ap(this):"")};
g.equals=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};
g.toString=function(){return this.wc()};
function zp(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))}
g.valueOf=function(){return this.date.valueOf()};
function Bp(a,b,c,d,e,f,h){this.date=pa(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():v())}
w(Bp,xp);Bp.prototype.wc=function(a,b){var c=xp.prototype.wc.call(this,a);return a?c+" "+sb(this.date.getHours())+":"+sb(this.date.getMinutes())+":"+sb(this.date.getSeconds())+(b?Ap(this):""):c+"T"+sb(this.date.getHours())+sb(this.date.getMinutes())+sb(this.date.getSeconds())+(b?Ap(this):"")};
Bp.prototype.equals=function(a){return this.getTime()==a.getTime()};
Bp.prototype.toString=function(){return this.wc()};
Bp.prototype.clone=function(){var a=new Bp(this.date);a.cc=this.cc;a.ec=this.ec;return a};function Cp(){this.j=v()}
new Cp;Cp.prototype.set=function(a){this.j=a};
Cp.prototype.reset=function(){this.set(v())};
Cp.prototype.get=function(){return this.j};function Dp(a){if(a.classList)return a.classList;a=a.className;return q(a)&&a.match(/\S+/g)||[]}
function G(a,b){return a.classList?a.classList.contains(b):Jb(Dp(a),b)}
function H(a,b){a.classList?a.classList.add(b):G(a,b)||(a.className+=0<a.className.length?" "+b:b)}
function Ep(a,b){if(a.classList)z(b,function(b){H(a,b)});
else{var c={};z(Dp(a),function(a){c[a]=!0});
z(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}
function I(a,b){a.classList?a.classList.remove(b):G(a,b)&&(a.className=Bb(Dp(a),function(a){return a!=b}).join(" "))}
function Fp(a,b){a.classList?z(b,function(b){I(a,b)}):a.className=Bb(Dp(a),function(a){return!Jb(b,a)}).join(" ")}
function Gp(a,b,c){c?H(a,b):I(a,b)}
function Hp(a,b,c){G(a,b)&&(I(a,b),H(a,c))}
function Ip(a,b){var c=!G(a,b);Gp(a,b,c);return c}
;var Jp=!B&&!uc();function Kp(a,b){return Jp&&a.dataset?b in a.dataset?a.dataset[b]:null:a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())}
;function Lp(a){var b=new wl;Mp(a,b,Np);return b}
function Mp(a,b,c){for(var d,e=a.elements,f,h=0;f=e[h];h++)if(f.form==a&&!f.disabled&&"FIELDSET"!=f.tagName)switch(d=f.name,f.type.toLowerCase()){case "file":case "submit":case "reset":case "button":break;case "select-multiple":f=Op(f);if(null!=f)for(var k,l=0;k=f[l];l++)c(b,d,k);break;default:k=Op(f),null!=k&&c(b,d,k)}e=a.getElementsByTagName("INPUT");for(h=0;f=e[h];h++)f.form==a&&"image"==f.type.toLowerCase()&&(d=f.name,c(b,d,f.value),c(b,d+".x","0"),c(b,d+".y","0"))}
function Np(a,b,c){var d=a.get(b);d||(d=[],a.set(b,d));d.push(c)}
function Pp(a,b,c){a.push(encodeURIComponent(b)+"="+encodeURIComponent(c))}
function Op(a){var b=a.type;if(!n(b))return null;switch(b.toLowerCase()){case "checkbox":case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case "select-multiple":for(var b=[],c,d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null;default:return n(a.value)?a.value:null}}
;var Qp=B?Dd(pd(qd('javascript:""'))):Dd(pd(qd("about:blank"))),Rp=Cd(Qp),Sp=B?Dd(pd(qd('javascript:""'))):Dd(pd(qd("javascript:undefined")));Cd(Sp);function Tp(a,b,c,d,e){this.j=!!b;this.node=null;this.l=0;this.A=!1;this.w=!c;a&&Up(this,a,d);this.depth=void 0!=e?e:this.l||0;this.j&&(this.depth*=-1)}
w(Tp,sl);function Up(a,b,c){if(a.node=b)a.l=pa(c)?c:1!=a.node.nodeType?0:a.j?-1:1;pa(void 0)&&(a.depth=void 0)}
Tp.prototype.clone=function(){return new Tp(this.node,this.j,!this.w,this.l,this.depth)};
Tp.prototype.next=function(){if(this.A){if(!this.node||this.w&&0==this.depth)throw rl;var a=this.node;var b=this.j?-1:1;if(this.l==b){var c=this.j?a.lastChild:a.firstChild;c?Up(this,c):Up(this,a,-1*b)}else(c=this.j?a.previousSibling:a.nextSibling)?Up(this,c):Up(this,a.parentNode,-1*b);this.depth+=this.l*(this.j?-1:1)}else this.A=!0;a=this.node;if(!this.node)throw rl;return a};
Tp.prototype.equals=function(a){return a.node==this.node&&(!this.node||a.l==this.l)};
Tp.prototype.splice=function(a){var b=this.node,c=this.j?1:-1;this.l==c&&(this.l=-1*c,this.depth+=this.l*(this.j?-1:1));this.j=!this.j;Tp.prototype.next.call(this);this.j=!this.j;for(var c=ua(arguments[0])?arguments[0]:arguments,d=c.length-1;0<=d;d--)xe(c[d],b);ye(b)};function Vp(a,b,c,d){Tp.call(this,a,b,c,null,d)}
w(Vp,Tp);Vp.prototype.next=function(){do Vp.J.next.call(this);while(-1==this.l);return this.node};function Wp(a){gk.call(this);this.l=a;this.j={}}
w(Wp,gk);var Xp=[];Wp.prototype.Pb=function(a,b,c,d){ta(b)||(b&&(Xp[0]=b.toString()),b=Xp);for(var e=0;e<b.length;e++){var f=cp(a,b[e],c||this.handleEvent,d||!1,this.l||this);if(!f)break;this.j[f.key]=f}return this};
Wp.prototype.yc=function(a,b,c,d,e){if(ta(b))for(var f=0;f<b.length;f++)this.yc(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.l||this,c=dp(c),d=!!d,b=a&&a[Ro]?Zo(a.w,String(b),c,d,e):a?(a=ep(a))?Zo(a,b,c,d,e):null:null,b&&(jp(b),delete this.j[b.key]);return this};
function Yp(a){bc(a.j,function(a,c){this.j.hasOwnProperty(c)&&jp(a)},a);
a.j={}}
Wp.prototype.M=function(){Wp.J.M.call(this);Yp(this)};
Wp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Zp={},$p=null;function aq(a){a=xa(a);delete Zp[a];lc(Zp)&&$p&&$p.stop()}
function bq(){$p||($p=new sp(function(){cq()},20));
var a=$p;a.isActive()||a.start()}
function cq(){var a=v();bc(Zp,function(b){dq(b,a)});
lc(Zp)||bq()}
;function eq(){np.call(this);this.j=0;this.endTime=this.startTime=null}
w(eq,np);eq.prototype.kb=function(){this.Ea("begin")};
eq.prototype.Ua=function(){this.Ea("end")};
eq.prototype.oa=function(){this.Ea("finish")};
eq.prototype.Ea=function(a){op(this,a)};function fq(a,b,c,d){eq.call(this);if(!ta(a)||!ta(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.A=a;this.H=b;this.duration=c;this.D=d;this.l=[];this.progress=this.F=0;this.C=null}
w(fq,eq);g=fq.prototype;g.play=function(a){if(a||0==this.j)this.progress=0,this.l=this.A;else if(1==this.j)return!1;aq(this);this.startTime=a=v();-1==this.j&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.C=this.startTime;this.progress||this.kb();this.Ea("play");-1==this.j&&this.Ea("resume");this.j=1;var b=xa(this);b in Zp||(Zp[b]=this);bq();dq(this,a);return!0};
g.stop=function(a){aq(this);this.j=0;a&&(this.progress=1);gq(this,this.progress);this.Ea("stop");this.Ua()};
g.pause=function(){1==this.j&&(aq(this),this.j=-1,this.Ea("pause"))};
g.M=function(){0==this.j||this.stop(!1);this.Ea("destroy");fq.J.M.call(this)};
function dq(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<a.progress&&(a.progress=1);a.F=1E3/(b-a.C);a.C=b;gq(a,a.progress);1==a.progress?(a.j=0,aq(a),a.oa(),a.Ua()):1==a.j&&a.Xc()}
function gq(a,b){va(a.D)&&(b=a.D(b));a.l=Array(a.A.length);for(var c=0;c<a.A.length;c++)a.l[c]=(a.H[c]-a.A[c])*b+a.A[c]}
g.Xc=function(){this.Ea("animate")};
g.Ea=function(a){op(this,new hq(a,this))};
function hq(a,b){Mo.call(this,a);this.x=b.l[0];this.y=b.l[1];this.duration=b.duration;this.progress=b.progress;this.fps=b.F;this.state=b.j}
w(hq,Mo);function iq(a,b,c,d,e){fq.call(this,b,c,d,e);this.element=a}
w(iq,fq);iq.prototype.Bc=qa;iq.prototype.Xc=function(){this.Bc();iq.J.Xc.call(this)};
iq.prototype.Ua=function(){this.Bc();iq.J.Ua.call(this)};
iq.prototype.kb=function(){this.Bc();iq.J.kb.call(this)};
function jq(a,b,c,d,e){pa(b)&&(b=[b]);pa(c)&&(c=[c]);iq.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.B=-1}
w(jq,iq);var kq=1/1024;g=jq.prototype;g.Bc=function(){var a=this.l[0];if(Math.abs(a-this.B)>=kq){var b=this.element.style;"opacity"in b?b.opacity=a:"MozOpacity"in b?b.MozOpacity=a:"filter"in b&&(b.filter=""===a?"":"alpha(opacity="+100*Number(a)+")");this.B=a}};
g.kb=function(){this.B=-1;jq.J.kb.call(this)};
g.Ua=function(){this.B=-1;jq.J.Ua.call(this)};
g.show=function(){this.element.style.display=""};
g.hide=function(){this.element.style.display="none"};
function lq(a,b,c){jq.call(this,a,1,0,b,c)}
w(lq,jq);lq.prototype.kb=function(){this.show();lq.J.kb.call(this)};
lq.prototype.Ua=function(){this.hide();lq.J.Ua.call(this)};function mq(a){return lb(ab(a.replace(nq,function(a,c){return oq.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}
var oq=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,nq=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function pq(a,b){this.j=a;this.l=b}
pq.prototype.stringify=function(a){return m.JSON.stringify(a,this.j)};
pq.prototype.parse=function(a){return m.JSON.parse(a,this.l)};function qq(a,b,c,d,e,f,h,k){this.j=a;this.B=b;this.w=c;this.C=d;this.A=e;this.D=f;this.l=h;this.F=k}
qq.prototype.clone=function(){return new qq(this.j,this.B,this.w,this.C,this.A,this.D,this.l,this.F)};
qq.prototype.equals=function(a){return this.j==a.j&&this.B==a.B&&this.w==a.w&&this.C==a.C&&this.A==a.A&&this.D==a.D&&this.l==a.l&&this.F==a.F};
function rq(a,b){if(0==b)return a.j;if(1==b)return a.l;var c=bd(a.j,a.w,b),d=bd(a.w,a.A,b),e=bd(a.A,a.l,b),c=bd(c,d,b),d=bd(d,e,b);return bd(c,d,b)}
function sq(a,b){var c=(b-a.j)/(a.l-a.j);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){var f=rq(a,c),k=(rq(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(k))break;else f<b?d=c:e=c,c-=(f-b)/k}for(h=0;1E-6<Math.abs(f-b)&&8>h;h++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=rq(a,c);return c}
function tq(a,b){var c=sq(a,b);if(0==c)c=a.B;else if(1==c)c=a.F;else{var d=bd(a.B,a.C,c),e=bd(a.C,a.D,c),f=bd(a.D,a.F,c),d=bd(d,e,c),e=bd(e,f,c);c=bd(d,e,c)}return c}
;function uq(a,b,c,d,e){this.j=a;this.w=c;this.F=d;this.D=e||1;this.B=45E3;this.A=new Wp(this);this.l=new qp;this.l.setInterval(250)}
g=uq.prototype;g.ib=null;g.Ba=!1;g.yb=null;g.gd=null;g.Tb=null;g.wb=null;g.Pa=null;g.Xa=null;g.lb=null;g.ea=null;g.Vb=0;g.Ca=null;g.Dc=null;g.jb=null;g.Ob=-1;g.Le=!0;g.eb=!1;g.Rc=0;g.qc=null;var vq={},wq={};g=uq.prototype;g.setTimeout=function(a){this.B=a};
function xq(a,b,c){a.wb=1;a.Pa=Xl(b.clone());a.lb=c;a.C=!0;yq(a,null)}
function zq(a,b,c,d,e){a.wb=1;a.Pa=Xl(b.clone());a.lb=null;a.C=c;e&&(a.Le=!1);yq(a,d)}
function yq(a,b){a.Tb=v();Aq(a);a.Xa=a.Pa.clone();Vl(a.Xa,"t",a.D);a.Vb=0;a.ea=a.j.Jc(a.j.Ub()?b:null);0<a.Rc&&(a.qc=new tp(u(a.Ue,a,a.ea),a.Rc));a.A.Pb(a.ea,"readystatechange",a.Xh);var c=a.ib?oc(a.ib):{};a.lb?(a.Dc="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.ea.send(a.Xa,a.Dc,a.lb,c)):(a.Dc="GET",a.Le&&!Ic&&(c.Connection="close"),a.ea.send(a.Xa,a.Dc,null,c));a.j.Aa(1)}
g.Xh=function(a){a=a.target;var b=this.qc;b&&3==Bq(a)?b.Yf():this.Ue(a)};
g.Ue=function(a){try{if(a==this.ea)a:{var b=Bq(this.ea),c=this.ea.B,d=this.ea.getStatus();if(B&&!Wc(10)||Ic&&!Vc("420+")){if(4>b)break a}else if(3>b||3==b&&!Ec&&!Cq(this.ea))break a;this.eb||4!=b||7==c||(8==c||0>=d?this.j.Aa(3):this.j.Aa(2));Dq(this);var e=this.ea.getStatus();this.Ob=e;var f=Cq(this.ea);(this.Ba=200==e)?(4==b&&Eq(this),this.C?(Fq(this,b,f),Ec&&this.Ba&&3==b&&(this.A.Pb(this.l,"tick",this.Vh),this.l.start())):Gq(this,f),this.Ba&&!this.eb&&(4==b?this.j.mc(this):(this.Ba=!1,Aq(this)))):
(this.jb=400==e&&0<f.indexOf("Unknown SID")?3:0,Hq(),Eq(this),Iq(this))}}catch(h){}finally{}};
function Fq(a,b,c){for(var d=!0;!a.eb&&a.Vb<c.length;){var e=Jq(a,c);if(e==wq){4==b&&(a.jb=4,Hq(),d=!1);break}else if(e==vq){a.jb=4;Hq();d=!1;break}else Gq(a,e)}4==b&&0==c.length&&(a.jb=1,Hq(),d=!1);a.Ba=a.Ba&&d;d||(Eq(a),Iq(a))}
g.Vh=function(){var a=Bq(this.ea),b=Cq(this.ea);this.Vb<b.length&&(Dq(this),Fq(this,a,b),this.Ba&&4!=a&&Aq(this))};
function Jq(a,b){var c=a.Vb,d=b.indexOf("\n",c);if(-1==d)return wq;c=Number(b.substring(c,d));if(isNaN(c))return vq;d+=1;if(d+c>b.length)return wq;var e=b.substr(d,c);a.Vb=d+c;return e}
function Kq(a,b){a.Tb=v();Aq(a);var c=b?window.location.hostname:"";a.Xa=a.Pa.clone();Ul(a.Xa,"DOMAIN",c);Ul(a.Xa,"t",a.D);try{a.Ca=new ActiveXObject("htmlfile")}catch(p){Eq(a);a.jb=7;Hq();Iq(a);return}var d="<html><body>";if(b){for(var e="",f=0;f<c.length;f++){var h=c.charAt(f);if("<"==h)e+="\\x3c";else if(">"==h)e+="\\x3e";else{var k=h;if(k in qb)h=qb[k];else if(k in pb)h=qb[k]=pb[k];else{var l=k.charCodeAt(0);if(31<l&&127>l)h=k;else{if(256>l){if(h="\\x",16>l||256<l)h+="0"}else h="\\u",4096>l&&
(h+="0");h+=l.toString(16).toUpperCase()}h=qb[k]=h}e+=h}}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=$d(qd("b/12014412"),d);a.Ca.open();a.Ca.write(Md(c));a.Ca.close();a.Ca.parentWindow.m=u(a.Lh,a);a.Ca.parentWindow.d=u(a.Ae,a,!0);a.Ca.parentWindow.rpcClose=u(a.Ae,a,!1);c=a.Ca.createElement("DIV");a.Ca.parentWindow.document.body.appendChild(c);d=Id(a.Xa.toString());d=db(Gd(d));d=$d(qd("b/12014412"),'<iframe src="'+d+'"></iframe>');Wd(c,d);a.j.Aa(1)}
g.Lh=function(a){Lq(u(this.Kh,this,a),0)};
g.Kh=function(a){this.eb||(Dq(this),Gq(this,a),Aq(this))};
g.Ae=function(a){Lq(u(this.Jh,this,a),0)};
g.Jh=function(a){this.eb||(Eq(this),this.Ba=a,this.j.mc(this),this.j.Aa(4))};
g.cancel=function(){this.eb=!0;Eq(this)};
function Aq(a){a.gd=v()+a.B;Mq(a,a.B)}
function Mq(a,b){if(null!=a.yb)throw Error("WatchDog timer not null");a.yb=Lq(u(a.Ph,a),b)}
function Dq(a){a.yb&&(m.clearTimeout(a.yb),a.yb=null)}
g.Ph=function(){this.yb=null;var a=v();0<=a-this.gd?(2!=this.wb&&this.j.Aa(3),Eq(this),this.jb=2,Hq(),Iq(this)):Mq(this,this.gd-a)};
function Iq(a){a.j.Vd()||a.eb||a.j.mc(a)}
function Eq(a){Dq(a);ik(a.qc);a.qc=null;a.l.stop();Yp(a.A);if(a.ea){var b=a.ea;a.ea=null;b.abort();b.dispose()}a.Ca&&(a.Ca=null)}
function Gq(a,b){try{a.j.te(a,b),a.j.Aa(4)}catch(c){}}
;function Nq(a,b,c,d,e){if(0==d)c(!1);else{var f=e||0;d--;Oq(a,b,function(e){e?c(!0):m.setTimeout(function(){Nq(a,b,c,d,f)},f)})}}
function Oq(a,b,c){var d=new Image;d.onload=function(){try{Pq(d),c(!0)}catch(e){}};
d.onerror=function(){try{Pq(d),c(!1)}catch(e){}};
d.onabort=function(){try{Pq(d),c(!1)}catch(e){}};
d.ontimeout=function(){try{Pq(d),c(!1)}catch(e){}};
m.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);
d.src=a}
function Pq(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null}
;function Qq(a){this.j=a;this.l=new pq}
g=Qq.prototype;g.Pc=null;g.qa=null;g.sc=!1;g.Pe=null;g.dc=null;g.Wc=null;g.Qc=null;g.ua=null;g.La=-1;g.Nb=null;g.Db=null;g.connect=function(a){this.Qc=a;a=Rq(this.j,null,this.Qc);Hq();this.Pe=v();var b=this.j.H;null!=b?(this.Nb=b[0],(this.Db=b[1])?(this.ua=1,Sq(this)):(this.ua=2,Tq(this))):(Vl(a,"MODE","init"),this.qa=new uq(this,0,void 0,void 0,void 0),this.qa.ib=this.Pc,zq(this.qa,a,!1,null,!0),this.ua=0)};
function Sq(a){var b=Rq(a.j,a.Db,"/mail/images/cleardot.gif");Xl(b);Nq(b.toString(),5E3,u(a.Jf,a),3,2E3);a.Aa(1)}
g.Jf=function(a){if(a)this.ua=2,Tq(this);else{Hq();var b=this.j;b.za=b.Qa.La;Uq(b,9)}a&&this.Aa(2)};
function Tq(a){var b=a.j.N;if(null!=b)Hq(),b?(Hq(),Vq(a.j,a,!1)):(Hq(),Vq(a.j,a,!0));else if(a.qa=new uq(a,0,void 0,void 0,void 0),a.qa.ib=a.Pc,b=a.j,b=Rq(b,b.Ub()?a.Nb:null,a.Qc),Hq(),!B||Wc(10))Vl(b,"TYPE","xmlhttp"),zq(a.qa,b,!1,a.Nb,!1);else{Vl(b,"TYPE","html");var c=a.qa;a=!!a.Nb;c.wb=3;c.Pa=Xl(b.clone());Kq(c,a)}}
g.Jc=function(a){return this.j.Jc(a)};
g.abort=function(){this.qa&&(this.qa.cancel(),this.qa=null);this.La=-1};
g.Vd=function(){return!1};
g.te=function(a,b){this.La=a.Ob;if(0==this.ua)if(b){try{var c=this.l.parse(b)}catch(d){c=this.j;c.za=this.La;Uq(c,2);return}this.Nb=c[0];this.Db=c[1]}else c=this.j,c.za=this.La,Uq(c,2);else if(2==this.ua)if(this.sc)Hq(),this.Wc=v();else if("11111"==b){if(Hq(),this.sc=!0,this.dc=v(),c=this.dc-this.Pe,!B||Wc(10)||500>c)this.La=200,this.qa.cancel(),Hq(),Vq(this.j,this,!0)}else Hq(),this.dc=this.Wc=v(),this.sc=!1};
g.mc=function(){this.La=this.qa.Ob;if(this.qa.Ba)0==this.ua?this.Db?(this.ua=1,Sq(this)):(this.ua=2,Tq(this)):2==this.ua&&((!B||Wc(10)?!this.sc:200>this.Wc-this.dc)?(Hq(),Vq(this.j,this,!1)):(Hq(),Vq(this.j,this,!0)));else{0==this.ua?Hq():2==this.ua&&Hq();var a=this.j;a.za=this.La;Uq(a,2)}};
g.Ub=function(){return this.j.Ub()};
g.isActive=function(){return this.j.isActive()};
g.Aa=function(a){this.j.Aa(a)};function Wq(a){np.call(this);this.headers=new wl;this.O=a||null;this.l=!1;this.L=this.j=null;this.aa="";this.B=0;this.C="";this.A=this.W=this.D=this.V=!1;this.H=0;this.F=null;this.wa="";this.ja=this.ra=!1}
w(Wq,np);var Xq=/^https?$/i,Yq=["POST","PUT"];g=Wq.prototype;
g.send=function(a,b,c,d){if(this.j)throw Error("[goog.net.XhrIo] Object is active with another request="+this.aa+"; newUri="+a);b=b?b.toUpperCase():"GET";this.aa=a;this.C="";this.B=0;this.V=!1;this.l=!0;this.j=this.O?xj(this.O):xj(vj);this.L=this.O?tj(this.O):tj(vj);this.j.onreadystatechange=u(this.se,this);try{this.getStatus(),this.W=!0,this.j.open(b,String(a),!0),this.W=!1}catch(f){this.getStatus();Zq(this,f);return}a=c||"";var e=this.headers.clone();d&&El(d,function(a,b){e.set(b,a)});
d=Gb(e.Fa(),$q);c=m.FormData&&a instanceof m.FormData;!Jb(Yq,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.j.setRequestHeader(b,a)},this);
this.wa&&(this.j.responseType=this.wa);"withCredentials"in this.j&&this.j.withCredentials!==this.ra&&(this.j.withCredentials=this.ra);try{ar(this),0<this.H&&(this.ja=br(this.j),this.getStatus(),this.ja?(this.j.timeout=this.H,this.j.ontimeout=u(this.Od,this)):this.F=rp(this.Od,this.H,this)),this.getStatus(),this.D=!0,this.j.send(a),this.D=!1}catch(f){this.getStatus(),Zq(this,f)}};
function br(a){return B&&Vc(9)&&pa(a.timeout)&&n(a.ontimeout)}
function $q(a){return"content-type"==a.toLowerCase()}
g.Od=function(){"undefined"!=typeof oa&&this.j&&(this.C="Timed out after "+this.H+"ms, aborting",this.B=8,this.getStatus(),op(this,"timeout"),this.abort(8))};
function Zq(a,b){a.l=!1;a.j&&(a.A=!0,a.j.abort(),a.A=!1);a.C=b;a.B=5;cr(a);dr(a)}
function cr(a){a.V||(a.V=!0,op(a,"complete"),op(a,"error"))}
g.abort=function(a){this.j&&this.l&&(this.getStatus(),this.l=!1,this.A=!0,this.j.abort(),this.A=!1,this.B=a||7,op(this,"complete"),op(this,"abort"),dr(this))};
g.M=function(){this.j&&(this.l&&(this.l=!1,this.A=!0,this.j.abort(),this.A=!1),dr(this,!0));Wq.J.M.call(this)};
g.se=function(){this.T()||(this.W||this.D||this.A?er(this):this.Ah())};
g.Ah=function(){er(this)};
function er(a){if(a.l&&"undefined"!=typeof oa)if(a.L[1]&&4==Bq(a)&&2==a.getStatus())a.getStatus();else if(a.D&&4==Bq(a))rp(a.se,0,a);else if(op(a,"readystatechange"),4==Bq(a)){a.getStatus();a.l=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=ug(String(a.aa))[1]||null;if(!f&&m.self&&m.self.location)var h=m.self.location.protocol,f=h.substr(0,h.length-1);e=!Xq.test(f?f.toLowerCase():
"")}d=e}if(d)op(a,"complete"),op(a,"success");else{a.B=6;try{var k=2<Bq(a)?a.j.statusText:""}catch(l){k=""}a.C=k+" ["+a.getStatus()+"]";cr(a)}}finally{dr(a)}}}
function dr(a,b){if(a.j){ar(a);var c=a.j,d=a.L[0]?qa:null;a.j=null;a.L=null;b||op(a,"ready");try{c.onreadystatechange=d}catch(e){}}}
function ar(a){a.j&&a.ja&&(a.j.ontimeout=null);pa(a.F)&&(m.clearTimeout(a.F),a.F=null)}
g.isActive=function(){return!!this.j};
function Bq(a){return a.j?a.j.readyState:0}
g.getStatus=function(){try{return 2<Bq(this)?this.j.status:-1}catch(a){return-1}};
function Cq(a){try{return a.j?a.j.responseText:""}catch(b){return""}}
;function fr(a,b,c,d){this.F=a||null;this.j=1;this.l=[];this.A=[];this.B=new pq;this.H=b||null;this.N=null!=c?c:null;this.C=d||!1}
function gr(a,b){this.j=a;this.map=b;this.context=null}
g=fr.prototype;g.Ib=null;g.ma=null;g.Z=null;g.Oc=null;g.gc=null;g.ud=null;g.hc=null;g.Qb=0;g.Ng=0;g.ha=null;g.Ra=null;g.Ja=null;g.gb=null;g.Qa=null;g.Cc=null;g.qb=-1;g.Yd=-1;g.za=-1;g.Jb=0;g.pb=0;g.fb=8;var hr=new np;function ir(a){Mo.call(this,"statevent",a)}
w(ir,Mo);function jr(a,b){Mo.call(this,"timingevent",a);this.size=b}
w(jr,Mo);function kr(a){Mo.call(this,"serverreachability",a)}
w(kr,Mo);g=fr.prototype;g.connect=function(a,b,c,d,e){Hq();this.Oc=b;this.Ib=c||{};d&&n(e)&&(this.Ib.OSID=d,this.Ib.OAID=e);this.C?(Lq(u(this.Hd,this,a),100),lr(this)):this.Hd(a)};
function mr(a){nr(a);if(3==a.j){var b=a.Qb++,c=a.gc.clone();Ul(c,"SID",a.w);Ul(c,"RID",b);Ul(c,"TYPE","terminate");or(a,c);b=new uq(a,0,a.w,b,void 0);b.wb=2;b.Pa=Xl(c.clone());(new Image).src=b.Pa;b.Tb=v();Aq(b)}pr(a)}
g.Hd=function(a){this.Qa=new Qq(this);this.Qa.Pc=null;this.Qa.l=this.B;this.Qa.connect(a)};
function lr(a){a.Pf(1,0);a.gc=Rq(a,null,a.Oc);qr(a)}
function nr(a){a.Qa&&(a.Qa.abort(),a.Qa=null);a.Z&&(a.Z.cancel(),a.Z=null);a.Ja&&(m.clearTimeout(a.Ja),a.Ja=null);rr(a);a.ma&&(a.ma.cancel(),a.ma=null);a.Ra&&(m.clearTimeout(a.Ra),a.Ra=null)}
function sr(a,b){if(0==a.j)throw Error("Invalid operation: sending map when state is closed");a.l.push(new gr(a.Ng++,b));2!=a.j&&3!=a.j||qr(a)}
g.Vd=function(){return 0==this.j};
function qr(a){a.ma||a.Ra||(a.Ra=Lq(u(a.ye,a),0),a.Jb=0)}
g.ye=function(a){this.Ra=null;tr(this,a)};
function tr(a,b){if(1==a.j){if(!b){a.Qb=Math.floor(1E5*Math.random());var c=a.Qb++,d=new uq(a,0,"",c,void 0);d.ib=null;var e=ur(a),f=a.gc.clone();Ul(f,"RID",c);a.F&&Ul(f,"CVER",a.F);or(a,f);xq(d,f,e);a.ma=d;a.j=2}}else 3==a.j&&(b?vr(a,b):0==a.l.length||a.ma||vr(a))}
function vr(a,b){if(b)if(6<a.fb){a.l=a.A.concat(a.l);a.A.length=0;var c=a.Qb-1;var d=ur(a)}else c=b.F,d=b.lb;else c=a.Qb++,d=ur(a);var e=a.gc.clone();Ul(e,"SID",a.w);Ul(e,"RID",c);Ul(e,"AID",a.qb);or(a,e);c=new uq(a,0,a.w,c,a.Jb+1);c.ib=null;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.ma=c;xq(c,e,d)}
function or(a,b){if(a.ha){var c=a.ha.Ld(a);c&&bc(c,function(a,c){Ul(b,c,a)})}}
function ur(a){var b=Math.min(a.l.length,1E3),c=["count="+b];if(6<a.fb&&0<b){var d=a.l[0].j;c.push("ofs="+d)}else d=0;for(var e=0;e<b;e++){var f=a.l[e].j,h=a.l[e].map,f=6>=a.fb?e:f-d;try{bc(h,function(a,b){c.push("req"+f+"_"+b+"="+encodeURIComponent(a))})}catch(k){c.push("req"+f+"_type="+encodeURIComponent("_badmap"))}}a.A=a.A.concat(a.l.splice(0,b));
return c.join("&")}
function wr(a){a.Z||a.Ja||(a.D=1,a.Ja=Lq(u(a.xe,a),0),a.pb=0)}
function xr(a){if(a.Z||a.Ja||3<=a.pb)return!1;a.D++;a.Ja=Lq(u(a.xe,a),yr(a,a.pb));a.pb++;return!0}
g.xe=function(){this.Ja=null;this.Z=new uq(this,0,this.w,"rpc",this.D);this.Z.ib=null;this.Z.Rc=0;var a=this.ud.clone();Ul(a,"RID","rpc");Ul(a,"SID",this.w);Ul(a,"CI",this.Cc?"0":"1");Ul(a,"AID",this.qb);or(this,a);if(!B||Wc(10))Ul(a,"TYPE","xmlhttp"),zq(this.Z,a,!0,this.hc,!1);else{Ul(a,"TYPE","html");var b=this.Z,c=!!this.hc;b.wb=3;b.Pa=Xl(a.clone());Kq(b,c)}};
function Vq(a,b,c){a.Cc=c;a.za=b.La;a.C||lr(a)}
g.te=function(a,b){if(0!=this.j&&(this.Z==a||this.ma==a))if(this.za=a.Ob,this.ma==a&&3==this.j)if(7<this.fb){try{var c=this.B.parse(b)}catch(f){c=null}if(ta(c)&&3==c.length)if(0==c[0])a:{if(!this.Ja){if(this.Z)if(this.Z.Tb+3E3<this.ma.Tb)rr(this),this.Z.cancel(),this.Z=null;else break a;xr(this);Hq()}}else this.Yd=c[1],0<this.Yd-this.qb&&37500>c[2]&&this.Cc&&0==this.pb&&!this.gb&&(this.gb=Lq(u(this.Rg,this),6E3));else Uq(this,11)}else b!=rj.hj.j&&Uq(this,11);else if(this.Z==a&&rr(this),!$a(b)){c=
this.B.parse(b);ta(c);for(var d=0;d<c.length;d++){var e=c[d];this.qb=e[0];e=e[1];2==this.j?"c"==e[0]?(this.w=e[1],this.hc=e[2],e=e[3],null!=e?this.fb=e:this.fb=6,this.j=3,this.ha&&this.ha.Ad(this),this.ud=Rq(this,this.Ub()?this.hc:null,this.Oc),wr(this)):"stop"==e[0]&&Uq(this,7):3==this.j&&("stop"==e[0]?Uq(this,7):"noop"!=e[0]&&this.ha&&this.ha.zd(this,e),this.pb=0)}}};
g.Rg=function(){null!=this.gb&&(this.gb=null,this.Z.cancel(),this.Z=null,xr(this),Hq())};
function rr(a){null!=a.gb&&(m.clearTimeout(a.gb),a.gb=null)}
g.mc=function(a){if(this.Z==a){rr(this);this.Z=null;var b=2}else if(this.ma==a)this.ma=null,b=1;else return;this.za=a.Ob;if(0!=this.j)if(a.Ba)1==b?(v(),op(hr,new jr(hr,a.lb?a.lb.length:0)),qr(this),this.A.length=0):wr(this);else{var c=a.jb,d;if(!(d=3==c||7==c||0==c&&0<this.za)){if(d=1==b)this.ma||this.Ra||1==this.j||2<=this.Jb?d=!1:(this.Ra=Lq(u(this.ye,this,a),yr(this,this.Jb)),this.Jb++,d=!0);d=!(d||2==b&&xr(this))}if(d)switch(c){case 1:Uq(this,5);break;case 4:Uq(this,10);break;case 3:Uq(this,6);
break;case 7:Uq(this,12);break;default:Uq(this,2)}}};
function yr(a,b){var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(c*=2);return c*b}
g.Pf=function(a){if(!Jb(arguments,this.j))throw Error("Unexpected channel state: "+this.j);};
function Uq(a,b){if(2==b||9==b){var c=null;a.ha&&(c=null);var d=u(a.mi,a);c||(c=new Gl("//www.google.com/images/cleardot.gif"),Xl(c));Oq(c.toString(),1E4,d)}else Hq();zr(a,b)}
g.mi=function(a){a?Hq():(Hq(),zr(this,8))};
function zr(a,b){a.j=0;a.ha&&a.ha.yd(a,b);pr(a);nr(a)}
function pr(a){a.j=0;a.za=-1;if(a.ha)if(0==a.A.length&&0==a.l.length)a.ha.Hc(a);else{var b=Pb(a.A),c=Pb(a.l);a.A.length=0;a.l.length=0;a.ha.Hc(a,b,c)}}
function Rq(a,b,c){var d=Yl(c);if(""!=d.l)b&&Il(d,b+"."+d.l),Jl(d,d.D);else var e=window.location,d=Zl(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c);a.Ib&&bc(a.Ib,function(a,b){Ul(d,b,a)});
Ul(d,"VER",a.fb);or(a,d);return d}
g.Jc=function(a){if(a)throw Error("Can't create secondary domain capable XhrIo object.");a=new Wq;a.ra=!1;return a};
g.isActive=function(){return!!this.ha&&this.ha.isActive(this)};
function Lq(a,b){if(!va(a))throw Error("Fn must not be null and must be a function");return m.setTimeout(function(){a()},b)}
g.Aa=function(){op(hr,new kr(hr))};
function Hq(){op(hr,new ir(hr))}
g.Ub=function(){return!(!B||Wc(10))};
function Ar(){}
g=Ar.prototype;g.Ad=function(){};
g.zd=function(){};
g.yd=function(){};
g.Hc=function(){};
g.Ld=function(){return{}};
g.isActive=function(){return!0};function Br(a,b,c,d,e,f,h){var k;if(k=c.offsetParent){var l="HTML"==k.tagName||"BODY"==k.tagName;if(!l||"static"!=nf(k,"position")){var p=rf(k);l||(l=(l=yf(k))&&Hc?-k.scrollLeft:!l||Gc&&Vc("8")||"visible"==nf(k,"overflowX")?k.scrollLeft:k.scrollWidth-k.clientWidth-k.scrollLeft,p=dd(p,new cd(l,k.scrollTop)))}}k=p||new cd;p=xf(a);(l=qf(a))&&gf(p,new ff(l.left,l.top,l.right-l.left,l.bottom-l.top));var l=be(a),y=be(c);if(l.j!=y.j){var P=l.j.body;var y=pe(y.j),ba=new cd(0,0);var S=(S=de(P))?pe(S):window;
if(Bc(S,"parent")){var da=P;do{var Sa=S==y?rf(da):tf(da);ba.x+=Sa.x;ba.y+=Sa.y}while(S&&S!=y&&S!=S.parent&&(da=S.frameElement)&&(S=S.parent))}P=dd(ba,rf(P));!B||Wc(9)||me(l.j)||(P=dd(P,ne(l.j)));p.left+=P.x;p.top+=P.y}a=Cr(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);b=new cd(b,p.top+(a&1?p.height:0));b=dd(b,k);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)*e.y);var ya;h&&(ya=qf(c))&&(ya.top-=k.y,ya.right-=k.x,ya.bottom-=k.y,ya.left-=k.x);return Dr(b,c,d,f,ya,h,void 0)}
function Dr(a,b,c,d,e,f,h){a=a.clone();var k=Cr(b,c);c=vf(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||0!=k)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){d=a;k=h;l=0;65==(f&65)&&(d.x<e.left||d.x>=e.right)&&(f&=-2);132==(f&132)&&(d.y<e.top||d.y>=e.bottom)&&(f&=-5);d.x<e.left&&f&1&&(d.x=e.left,l|=1);if(f&16){var p=d.x;d.x<e.left&&(d.x=e.left,l|=4);d.x+k.width>e.right&&(k.width=Math.min(e.right-d.x,
p+k.width-e.left),k.width=Math.max(k.width,0),l|=4)}d.x+k.width>e.right&&f&1&&(d.x=Math.max(e.right-k.width,e.left),l|=1);f&2&&(l|=(d.x<e.left?16:0)|(d.x+k.width>e.right?32:0));d.y<e.top&&f&4&&(d.y=e.top,l|=2);f&32&&(p=d.y,d.y<e.top&&(d.y=e.top,l|=8),d.y+k.height>e.bottom&&(k.height=Math.min(e.bottom-d.y,p+k.height-e.top),k.height=Math.max(k.height,0),l|=8));d.y+k.height>e.bottom&&f&4&&(d.y=Math.max(e.bottom-k.height,e.top),l|=2);f&8&&(l|=(d.y<e.top?64:0)|(d.y+k.height>e.bottom?128:0));e=l}else e=
256;l=e}f=new ff(0,0,0,0);f.left=a.x;f.top=a.y;f.width=h.width;f.height=h.height;e=l;if(e&496)return e;a=new cd(f.left,f.top);a instanceof cd?(h=a.x,a=a.y):(h=a,a=void 0);b.style.left=uf(h,!1);b.style.top=uf(a,!1);h=hf(f);c==h||c&&h&&c.width==h.width&&c.height==h.height||(c=h,a=me(be(de(b)).j),!B||Vc("10")||a&&Vc("8")?(b=b.style,Hc?b.MozBoxSizing="border-box":Ic?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(h=b.style,
a?(B?(k=Af(b,"paddingLeft"),d=Af(b,"paddingRight"),f=Af(b,"paddingTop"),a=Af(b,"paddingBottom"),a=new cf(f,d,a,k)):(k=mf(b,"paddingLeft"),d=mf(b,"paddingRight"),f=mf(b,"paddingTop"),a=mf(b,"paddingBottom"),a=new cf(parseFloat(f),parseFloat(d),parseFloat(a),parseFloat(k))),B&&!Wc(9)?(k=Cf(b,"borderLeft"),d=Cf(b,"borderRight"),f=Cf(b,"borderTop"),b=Cf(b,"borderBottom"),b=new cf(f,d,b,k)):(k=mf(b,"borderLeftWidth"),d=mf(b,"borderRightWidth"),f=mf(b,"borderTopWidth"),b=mf(b,"borderBottomWidth"),b=new cf(parseFloat(f),
parseFloat(d),parseFloat(b),parseFloat(k))),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return e}
function Cr(a,b){return(b&8&&yf(a)?b^4:b)&-9}
;function Er(a){gk.call(this);this.B=1;this.w=[];this.A=0;this.j=[];this.l={};this.C=!!a}
w(Er,gk);g=Er.prototype;g.subscribe=function(a,b,c){var d=this.l[a];d||(d=this.l[a]=[]);var e=this.B;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.B=e+3;d.push(e);return e};
function Fr(a,b){var c=!1,d=a.subscribe("ROOT_MENU_REMOVED",function(a){c||(c=!0,this.va(d),b.apply(void 0,arguments))},a)}
function Gr(a,b,c,d){if(b=a.l[b]){var e=a.j;if(b=Gb(b,function(a){return e[a+1]==c&&e[a+2]==d}))return a.va(b)}return!1}
g.va=function(a){var b=this.j[a];if(b){var c=this.l[b];0!=this.A?(this.w.push(a),this.j[a+1]=qa):(c&&Lb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b};
g.na=function(a,b){var c=this.l[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.C)for(e=0;e<c.length;e++){var h=c[e];Hr(this.j[h+1],this.j[h+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)h=c[e],this.j[h+1].apply(this.j[h+2],d)}finally{if(this.A--,0<this.w.length&&0==this.A)for(;h=this.w.pop();)this.va(h)}}return 0!=e}return!1};
function Hr(a,b,c){Ji(function(){a.apply(b,c)})}
g.clear=function(a){if(a){var b=this.l[a];b&&(z(b,this.va,this),delete this.l[a])}else this.j.length=0,this.l={}};
g.da=function(a){if(a){var b=this.l[a];return b?b.length:0}a=0;for(b in this.l)a+=this.da(b);return a};
g.M=function(){Er.J.M.call(this);this.clear();this.w.length=0};function Ir(a){this.j=a}
Ir.prototype.set=function(a,b){n(b)?this.j.set(a,ui(b)):this.j.remove(a)};
Ir.prototype.get=function(a){try{var b=this.j.get(a)}catch(c){return}if(null!==b)try{return ti(b)}catch(c){throw"Storage: Invalid value was encountered";}};
Ir.prototype.remove=function(a){this.j.remove(a)};function Jr(a){this.j=a}
w(Jr,Ir);function Kr(a){this.data=a}
function Lr(a){return!n(a)||a instanceof Kr?a:new Kr(a)}
Jr.prototype.set=function(a,b){Jr.J.set.call(this,a,Lr(b))};
Jr.prototype.l=function(a){a=Jr.J.get.call(this,a);if(!n(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
Jr.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,!n(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};function Mr(a){this.j=a}
w(Mr,Jr);function Nr(a){var b=a.creation;a=a.expiration;return!!a&&a<v()||!!b&&b>v()}
Mr.prototype.set=function(a,b,c){if(b=Lr(b)){if(c){if(c<v()){Mr.prototype.remove.call(this,a);return}b.expiration=c}b.creation=v()}Mr.J.set.call(this,a,b)};
Mr.prototype.l=function(a,b){var c=Mr.J.l.call(this,a);if(c)if(!b&&Nr(c))Mr.prototype.remove.call(this,a);else return c};function Or(a){this.j=a}
w(Or,Mr);function Pr(a,b){var c=[];ul(b,function(a){try{var b=Or.prototype.l.call(this,a,!0)}catch(f){if("Storage: Invalid value was encountered"==f)return;throw f;}n(b)?Nr(b)&&c.push(a):c.push(a)},a);
return c}
function Qr(a,b){var c=Pr(a,b);z(c,function(a){Or.prototype.remove.call(this,a)},a)}
;function Rr(){}
;function Sr(){}
w(Sr,Rr);Sr.prototype.da=function(){var a=0;ul(this.Ha(!0),function(){a++});
return a};
Sr.prototype.clear=function(){var a=vl(this.Ha(!0)),b=this;z(a,function(a){b.remove(a)})};function Tr(a){this.j=a}
w(Tr,Sr);g=Tr.prototype;g.isAvailable=function(){if(!this.j)return!1;try{return this.j.setItem("__sak","1"),this.j.removeItem("__sak"),!0}catch(a){return!1}};
g.set=function(a,b){try{this.j.setItem(a,b)}catch(c){if(0==this.j.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.get=function(a){a=this.j.getItem(a);if(!q(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.remove=function(a){this.j.removeItem(a)};
g.da=function(){return this.j.length};
g.Ha=function(a){var b=0,c=this.j,d=new sl;d.next=function(){if(b>=c.length)throw rl;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!q(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.clear=function(){this.j.clear()};
g.key=function(a){return this.j.key(a)};function Ur(){var a=null;try{a=window.localStorage||null}catch(b){}this.j=a}
w(Ur,Tr);function Vr(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.j=a}
w(Vr,Tr);function Wr(){this.j=[];this.l=[]}
g=Wr.prototype;g.da=function(){return this.j.length+this.l.length};
g.isEmpty=function(){return 0==this.j.length&&0==this.l.length};
g.clear=function(){this.j=[];this.l=[]};
g.contains=function(a){return Jb(this.j,a)||Jb(this.l,a)};
g.remove=function(a){var b=this.j;var c=Ab(b,a);0<=c?(Mb(b,c),b=!0):b=!1;return b||Lb(this.l,a)};
g.ba=function(){for(var a=[],b=this.j.length-1;0<=b;--b)a.push(this.j[b]);for(var c=this.l.length,b=0;b<c;++b)a.push(this.l[b]);return a};function Xr(a){this.j=new wl;a&&Yr(this,a)}
function Zr(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.substr(0,1)+a}
g=Xr.prototype;g.da=function(){return this.j.da()};
function Yr(a,b){for(var c=Cl(b),d=c.length,e=0;e<d;e++){var f=c[e];a.j.set(Zr(f),f)}}
g.remove=function(a){return this.j.remove(Zr(a))};
g.clear=function(){this.j.clear()};
g.isEmpty=function(){return this.j.isEmpty()};
g.contains=function(a){a=Zr(a);return yl(this.j.l,a)};
g.ba=function(){return this.j.ba()};
g.clone=function(){return new Xr(this)};
g.equals=function(a){return this.da()==Bl(a)&&$r(this,a)};
function $r(a,b){var c=Bl(b);if(a.da()>c)return!1;!(b instanceof Xr)&&5<c&&(b=new Xr(b));return Fl(a,function(a){var c=b;return c.contains&&"function"==typeof c.contains?c.contains(a):c.Gb&&"function"==typeof c.Gb?c.Gb(a):ua(c)||q(c)?Jb(c,a):gc(c,a)})}
g.Ha=function(){return this.j.Ha(!1)};var as=/^[\w+/]+[=]{0,2}$/;function bs(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||m,e=d.document,f;a:{if((f=(d||m).document.querySelector("script[nonce]"))&&(f=f.nonce||f.getAttribute("nonce"))&&as.test(f))break a;f=void 0}f&&(a.nonce=f);if("help"==a.flow){var h=t("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=
b;c=a.serverUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,b);else{var d=c+"/load.js?",l;for(l in a)b=a[l],null!=b&&!wa(b)&&(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=e.createElement("script");f&&a.setAttribute("nonce",f);a.src=d;e.body.appendChild(a)}}
r("userfeedback.api.startFeedback",bs,void 0);r("userfeedback.api.isBrowserSupportedForGenie",function(){return cs()},void 0);
function cs(){return B?0<=ub(Uk,"8"):Lh?0<=ub(Uk,"15"):Qh?0<=ub(Uk,"5"):Ph||Fc}
r("userfeedback.api.isBrowserSupportedForHelp",cs,void 0);var ds=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()},es="Microsoft Internet Explorer"==navigator.appName;
function fs(a,b){if(1<b.length)a[b[0]]=b[1];else{var c=b[0],d;for(d in c)a[d]=c[d]}}
;var gs=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};r("yt.config_",gs,void 0);function hs(a){fs(gs,arguments)}
function J(a,b){return a in gs?gs[a]:b}
;v();function is(a,b){var c=t("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=J("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),hs("ERRORS",c))}
function js(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){is(b)}}:a}
;var ks=n(XMLHttpRequest)?function(){return new XMLHttpRequest}:n(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;
function ls(){if(!ks)return null;var a=ks();return"open"in a?a:null}
;function ms(a){window.clearInterval(a)}
function K(a){window.clearTimeout(a)}
function ns(a,b){va(a)&&(a=js(a));return window.setInterval(a,b)}
function L(a,b){va(a)&&(a=js(a));return window.setTimeout(a,b)}
;function os(a){"?"==a.charAt(0)&&(a=a.substr(1));a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length){var f=cb(e[0]||""),e=cb(e[1]||"");f in b?ta(b[f])?Qb(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b}
function ps(){var a=wg(qs);return null===a?null:a.split(".").reverse()}
function rs(){var a=[];bc(ss,function(b,c){var d=bb(c),e;ta(b)?e=b:e=[b];z(e,function(b){""==b?a.push(d):a.push(d+"="+bb(b))})});
return a.join("&")}
function ts(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),os(1<a.length?a[1]:a[0])):{}}
function us(a,b){var c=b||{},d=a.split("#",2);var e=d[0];var d=1<d.length?"#"+d[1]:"",f=e.split("?",2);e=f[0];var f=os(f[1]||""),h;for(h in c)f[h]=c[h];return Eg(e,f)+d}
;var vs={"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-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"};
function ws(a,b){b=void 0===b?{}:b;var c=void 0;c=window.location.href;var d=ug(a)[1]||null,e=wg(a);d&&e?(d=c,c=ug(a),d=ug(d),c=c[3]==d[3]&&c[1]==d[1]&&c[4]==d[4]):c=e?wg(c)==e&&(Number(ug(c)[4]||null)||null)==(Number(ug(a)[4]||null)||null):!0;for(var f in vs){if((e=d=J(vs[f]))&&!(e=c)){var h=a,e=f,k=J("CORS_HEADER_WHITELIST")||{};e=(h=wg(h))?(k=k[h])?Jb(k,e):!1:!0}e&&(b[f]=d)}return b}
function xs(a,b){var c=J("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.Lk&&(!wg(a)||b.withCredentials||wg(a)==document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.U&&b.U[c])}
function ys(a,b){var c=b.format||"JSON";b.Qk&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var d=J("XSRF_FIELD_NAME",void 0),e=J("XSRF_TOKEN",void 0),f=b.la;f&&(f[d]&&delete f[d],a=us(a,f));var h=b.postBody||"",f=b.U;xs(a,b)&&(f||(f={}),f[d]=e);f&&q(h)&&(d=os(h),rc(d,f),h=b.Ce&&"JSON"==b.Ce?JSON.stringify(d):Cg(d));var k=!1,l,p=zs(a,function(a){if(!k){k=!0;l&&K(l);a:switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:var d=
!0;break a;default:d=!1}var e=null;if(d||400<=a.status&&500>a.status)e=As(c,a,b.Hb);if(d)a:if(204==a.status)d=!0;else{switch(c){case "XML":d=0==parseInt(e&&e.return_code,10);break a;case "RAW":d=!0;break a}d=!!e}var e=e||{},f=b.context||m;d?b.R&&b.R.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.oa&&b.oa.call(f,a,e)}},b.method,h,b.headers,b.responseType,b.withCredentials);
b.Va&&0<b.timeout&&(l=L(function(){k||(k=!0,p.abort(),K(l),b.Va.call(b.context||m,p))},b.timeout));
return p}
function As(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?Bs(b):null)d={},z(b.getElementsByTagName("*"),function(a){d[a.tagName]=Cs(a)})}c&&Ds(d);
return d}
function Ds(a){if(wa(a))for(var b in a){var c;(c="html_content"==b)||(c=b.length-5,c=0<=c&&b.indexOf("_html",c)==c);c?a[b]=$d(qd("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):Ds(a[b])}}
function Bs(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null}
function Cs(a){var b="";z(a.childNodes,function(a){b+=a.nodeValue});
return b}
function Es(a,b){if(!a)return null;var c=a.getElementsByTagName(b);return c&&0<c.length?Cs(c[0]):null}
var Fs=Bs;function Gs(a,b){b.method="POST";b.U||(b.U={});ys(a,b)}
function zs(a,b,c,d,e,f,h){function k(){4==(l&&"readyState"in l?l.readyState:0)&&b&&js(b)(l)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var l=ls();if(!l)return null;"onloadend"in l?l.addEventListener("loadend",k,!1):l.onreadystatechange=k;l.open(c,a,!0);f&&(l.responseType=f);h&&(l.withCredentials=!0);c="POST"==c;if(e=ws(a,e))for(var p in e)l.setRequestHeader(p,e[p]),"content-type"==p.toLowerCase()&&(c=!1);c&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded");l.send(d);return l}
;var Hs={},Is=0;function Js(a,b,c){a&&(c&&(c=Yb,c=!(c&&0<=c.toLowerCase().indexOf("cobalt"))),c?a&&(a=qe("IFRAME",{src:'javascript:"data:text/html,<body><img src=\\"'+a+'\\"></body>"',style:"display:none"}),de(a).body.appendChild(a)):J("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?zs(a,b):Ks(a,b))}
function Ks(a,b){var c=new Image,d=""+Is++;Hs[d]=c;c.onload=c.onerror=function(){b&&Hs[d]&&b();delete Hs[d]};
c.src=a}
;var Ls=0,Ms=Ic?"webkit":Hc?"moz":B?"ms":Ec?"o":"";function Ns(a){var b=a.cloneNode(!1);"TR"==b.tagName||"SELECT"==b.tagName?z(a.childNodes,function(a){b.appendChild(Ns(a))}):b.innerHTML=a.innerHTML;
return b}
function Os(a,b){var c=fe(a,null,b);return c.length?c[0]:null}
var Ps=t("ytDomDomGetNextId")||function(){return++Ls};
r("ytDomDomGetNextId",Ps,void 0);function Qs(a){a=Ns(D(a));a.removeAttribute("id");return a}
function Rs(){var a=document,b;Eb(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],function(c){b=a[c];return!!b});
return b}
function Ss(a){var b=a.__yt_uid_key;b||(b=Ps(),a.__yt_uid_key=b);return b}
function Ts(a,b){a=D(a);b=D(b);return!!Ze(a,function(a){return a===b},!0,void 0)}
function Us(){Gp(document.body,"hide-players",!1);z(he("preserve-players"),function(a){I(a,"preserve-players")})}
;var Vs={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};
function Ws(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.shiftKey=this.ctrlKey=this.altKey=!1;this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in Vs||(this[b]=a[b]);this.scale=a.scale;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=b.nodeName?b:null}catch(c){b=null}else"mouseover"==
this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.j=a.pageX;this.l=a.pageY}}
function Xs(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.j=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.l=a.clientY+b}}
Ws.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
Ws.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
Ws.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Ys=t("ytEventsEventsListeners")||{};r("ytEventsEventsListeners",Ys,void 0);var Zs=t("ytEventsEventsCounter")||{count:0};r("ytEventsEventsCounter",Zs,void 0);
function $s(a,b,c,d){d=void 0===d?!1:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return kc(Ys,function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})}
function M(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=$s(a,b,c,d);if(e)return e;var e=++Zs.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var h=f?function(d){d=new Ws(d);if(!Ze(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new Ws(b);
b.currentTarget=a;return c.call(a,b)};
h=js(h);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),a.addEventListener(b,h,d)):a.attachEvent("on"+b,h);Ys[e]=[a,b,c,h,d];return e}
function at(a,b,c,d){var e=a||document;return M(e,b,function(a){var b=Ze(a.target,function(a){return a===e||d(a)},!0);
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})}
function N(a){a&&("string"==typeof a&&(a=[a]),z(a,function(a){if(a in Ys){var b=Ys[a],d=b[0],e=b[1],f=b[3],b=b[4];d.removeEventListener?d.removeEventListener(e,f,b):d.detachEvent&&d.detachEvent("on"+e,f);delete Ys[a]}}))}
function bt(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}
function O(a,b,c,d){return at(a,b,c,function(a){return G(a,d)})}
function ct(a,b){if(document.createEvent){var c=document.createEvent("HTMLEvents");c.initEvent(b,!0,!0);a.dispatchEvent(c)}else c=document.createEventObject(),a.fireEvent("on"+b,c)}
function dt(a,b,c){var d=M(a,b,function(){N(d);c.apply(a,arguments)},!1)}
function et(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault();return!1}
function ft(a){a=a||window.event;a.cancelBubble=!0;a.stopPropagation&&a.stopPropagation()}
function gt(a){for(var b in Ys)Ys[b][0]==a&&N(b)}
;function ht(a){return J("EXPERIMENT_FLAGS",{})[a]}
;var it=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,jt=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,kt=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/;function lt(a){return it.test(a)||jt.test(a)||kt.test(a)}
;var mt=t("ytPubsubPubsubInstance")||new Er;Er.prototype.subscribe=Er.prototype.subscribe;Er.prototype.unsubscribeByKey=Er.prototype.va;Er.prototype.publish=Er.prototype.na;Er.prototype.clear=Er.prototype.clear;r("ytPubsubPubsubInstance",mt,void 0);var nt=t("ytPubsubPubsubSubscribedKeys")||{};r("ytPubsubPubsubSubscribedKeys",nt,void 0);var ot=t("ytPubsubPubsubTopicToKeys")||{};r("ytPubsubPubsubTopicToKeys",ot,void 0);var pt=t("ytPubsubPubsubIsSynchronous")||{};r("ytPubsubPubsubIsSynchronous",pt,void 0);
function Q(a,b,c){var d=qt();if(d){var e=d.subscribe(a,function(){var d=arguments;var h=function(){nt[e]&&b.apply(c||window,d)};
try{pt[a]?h():L(h,0)}catch(k){is(k)}},c);
nt[e]=!0;ot[a]||(ot[a]=[]);ot[a].push(e);return e}return 0}
function rt(a){var b=qt();b&&(pa(a)?a=[a]:q(a)&&(a=[parseInt(a,10)]),z(a,function(a){b.unsubscribeByKey(a);delete nt[a]}))}
function qt(){return t("ytPubsubPubsubInstance")}
function st(a){ot[a]&&(a=ot[a],z(a,function(a){nt[a]&&delete nt[a]}),a.length=0)}
function tt(a){var b=qt();if(b)if(b.clear(a),a)st(a);else for(var c in ot)st(c)}
function R(a,b){var c=qt();return c?c.publish.apply(c,arguments):!1}
function ut(a,b){var c=Q("dispose",function(d){a.apply(b,arguments);rt(c)},b)}
function vt(a,b){pt[a]=!0;var c=qt(),c=c?c.publish.apply(c,arguments):!1;pt[a]=!1;return c}
;function wt(){}
;var xt={Zi:"atp",kk:"ska",Sj:"que",Fj:"mus",jk:"sus"};var zt={log_event:"events",log_interaction:"interactions"},At=Object.create(null);At.log_event="GENERIC_EVENT_LOGGING";At.log_interaction="INTERACTION_LOGGING";var Bt={},Ct={},Dt=0,Et=t("ytLoggingTransportLogPayloadsQueue_")||{};r("ytLoggingTransportLogPayloadsQueue_",Et,void 0);var Ft=t("ytLoggingTransportTokensToCttTargetIds_")||{};r("ytLoggingTransportTokensToCttTargetIds_",Ft,void 0);var Gt=t("ytLoggingTransportDispatchedStats_")||{};r("ytLoggingTransportDispatchedStats_",Gt,void 0);
var Ht=t("ytLoggingTransportCapturedTime_")||{};r("ytytLoggingTransportCapturedTime_",Ht,void 0);
function It(){K(Dt);if(!lc(Et)){for(var a in Et){var b=Bt[a];if(!b){var c=Ct[a];if(!c)continue;b=new c;Bt[a]=b}var c=void 0,d=a,e=b,f=zt[d],h=Gt[d]||{};Gt[d]=h;b=Math.round(ds());for(c in Et[d]){var k=e.l();k[f]=Jt(d,c);h.dispatchedEventCount=h.dispatchedEventCount||0;h.dispatchedEventCount+=k[f].length;k.requestTimeMs=b;var l=Ft[c];if(l)a:{var p=k,y=c;if(l.videoId)var P="VIDEO";else if(l.playlistId)P="PLAYLIST";else break a;p.credentialTransferTokenTargetId=l;p.context=p.context||{};p.context.user=
p.context.user||{};p.context.user.credentialTransferTokens=[{token:y,scope:P}]}delete Ft[c];e.w(d,k,{})}c=h;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete Et[a]}lc(Et)||Kt()}}
function Lt(){var a=[],b;for(b in Et){var c=Gt[b]||{};Gt[b]=c;for(var d in Et[b]){var e=Jt(b,d);c.storedEventsCount=c.storedEventsCount||0;c.storedEventsCount+=e.length}}d=Math.round(ds());for(b in Gt)c=Gt[b],b in At?c.eventType=At[b]:c.eventType="UNKNOWN_TYPE",e=Ht[b],c.metricIntervalMs=e?d-e:d-NaN,a.push(c),Ht[b]=d,delete Gt[b];return a}
function Kt(){K(Dt);Dt=L(It,J("LOGGING_BATCH_TIMEOUT",1E4))}
function Jt(a,b){b||(b="");Et[a]=Et[a]||{};Et[a][b]=Et[a][b]||[];return Et[a][b]}
;function Mt(){if(null==t("_lact",window)){var a=parseInt(J("LACT"),10),a=isFinite(a)?v()-Math.max(a,0):-1;r("_lact",a,window);r("_fact",a,window);-1==a&&Nt();M(document,"keydown",Nt);M(document,"keyup",Nt);M(document,"mousedown",Nt);M(document,"mouseup",Nt);Q("page-mouse",Nt);Q("page-scroll",Nt);Q("page-resize",Nt)}}
function Nt(){null==t("_lact",window)&&(Mt(),t("_lact",window));var a=v();r("_lact",a,window);-1==t("_fact",window)&&r("_fact",a,window);R("USER_ACTIVE")}
function Jg(){var a=t("_lact",window);return null==a?-1:Math.max(v()-a,0)}
var Ot=Nt;function Pt(a,b,c,d,e){var f={};f.eventTimeMs=Math.round(d||ds());f[a]=b;f.context={lastActivityMs:String(Jg())};Ct.log_event=c;e?(a={},e.videoId?a.videoId=e.videoId:e.playlistId&&(a.playlistId=e.playlistId),Ft[e.token]=a,e=Jt("log_event",e.token)):e=Jt("log_event");e.push(f);f=Number(ht("web_logging_max_batch")||0)||20;e.length>=f?It():Kt()}
;function Qt(a,b,c){var d=c&&0<c?c:0;c=d?v()+1E3*d:0;if((d=d?Rt:St)&&window.JSON){q(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}}
function Tt(a){if(!St&&!Rt||!window.JSON)return null;try{var b=St.get(a)}catch(c){}if(!q(b))try{b=Rt.get(a)}catch(c){}if(!q(b))return null;try{b=JSON.parse(b,void 0)}catch(c){}return b}
function Ut(a){try{St&&St.remove(a),Rt&&Rt.remove(a)}catch(b){}}
function Vt(){if(Rt){var a=Rt;Qr(a,a.j.Ha(!0))}}
var Rt,Wt=new Ur;Rt=Wt.isAvailable()?new Or(Wt):null;var St,Xt=new Vr;St=Xt.isAvailable()?new Or(Xt):null;function Yt(){var a=J("client-screen-nonce",void 0);a||(a=J("EVENT_ID",void 0));return a}
;function Zt(a,b){return fn.get(""+a,b)}
function $t(a,b,c){return fn.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)}
function au(a,b,c,d,e){fn.set(""+a,b,c,d,void 0===e?"youtube.com":e)}
;function bu(a,b,c){var d=J("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=wg(window.location.href);e&&d.push(e);e=wg(a);if(Jb(d,e)||!e&&0==a.lastIndexOf("/",0))if(ht("autoescape_tempdata_url")&&(d=document.createElement("a"),Xd(d,a),a=d.href),a){e=ug(a);a=e[5];var d=e[6],e=e[7],f="";a&&(f+=a);d&&(f+="?"+d);e&&(f+="#"+e);a=f;d=a.indexOf("#");if(a=0>d?a:a.substr(0,d)){if(b.itct||b.ved)b.csn=b.csn||Yt();c?(c=parseInt(c,10),isFinite(c)&&0<c&&(cu(a,b,c),du(b))):(cu(a,b),du(b))}}}
function cu(a,b,c){a="ST-"+wb(a).toString(36);c=c||5;b=b?Cg(b):"";au(a,b,c,"/")}
function du(a){if(a){a=a.itct||a.ved;var b=t("yt.logging.screen.storeParentElement");a&&b&&b(new wt)}}
;function eu(a,b,c,d,e){b=void 0===b?"ERROR":b;e=void 0===e?!1:e;c={name:c||J("INNERTUBE_CONTEXT_CLIENT_NAME",1),version:d||J("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0)};b=void 0===b?"ERROR":b;e=window&&window.yterr||(void 0===e?!1:e)||!1;if(a&&e&&!(5<=fu)){e=a.stacktrace;d=a.columnNumber;var f=t("window.location.href");if(q(a))a={message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var h=!1;try{var k=a.lineNumber||a.line||"Not available"}catch(P){k="Not available",
h=!0}try{var l=a.fileName||a.filename||a.sourceURL||m.$googDebugFname||f}catch(P){l="Not available",h=!0}a=!h&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:k,fileName:l,stack:a.stack||"Not available"}}e=e||a.stack;k=a.lineNumber.toString();isNaN(k)||isNaN(d)||(k=k+":"+d);if(!(gu[a.message]||0<=e.indexOf("/YouTubeCenter.js")||0<=e.indexOf("/mytube.js"))){l=a.fileName;k={la:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,
1E3),line:k,level:b},U:{url:J("PAGE_NAME",window.location.href),file:l},method:"POST"};e&&(k.U.stack=e);for(var p in c)k.U["client."+p]=c[p];if(p=J("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var y in p)k.U[y]=p[y];ys("/error_204",k);gu[a.message]=!0;fu++}}}
var fu=0,gu={};function hu(a){a={client:{hl:a.Dg,gl:a.Cg,clientName:a.Bg,clientVersion:a.innertubeContextClientVersion}};J("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:J("DELEGATED_SESSION_ID")});return a}
function iu(){return{apiaryHost:J("APIARY_HOST",void 0),Ff:J("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:!!J("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:J("GAPI_HINT_PARAMS",void 0),innertubeApiKey:J("INNERTUBE_API_KEY",void 0),innertubeApiVersion:J("INNERTUBE_API_VERSION",void 0),Bg:J("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:J("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Dg:J("INNERTUBE_CONTEXT_HL",void 0),Cg:J("INNERTUBE_CONTEXT_GL",void 0),xhrApiaryHost:J("XHR_APIARY_HOST",
void 0)||"",Eg:J("INNERTUBE_HOST_OVERRIDE",void 0)||""}}
function ju(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b}
;function ku(a){this.j=a||iu()}
ku.prototype.l=function(){return{context:hu(this.j)}};
ku.prototype.w=function(a,b,c){!J("VISITOR_DATA")&&.01>Math.random()&&is(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var d={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":J("VISITOR_DATA","")},U:b,Ce:"JSON",Va:c.Va,R:function(a,b){c.R&&c.R(b)},
onError:function(a,b){if(c.onError)c.onError(b)},
timeout:c.timeout,withCredentials:!0},e=gn();e&&(d.headers.Authorization=e,d.headers["X-Goog-AuthUser"]=J("SESSION_INDEX",0));var f=this.j.xhrApiaryHost;f&&!f.startsWith("http")&&(f="//"+f);ht("youtubei_for_web")&&(f="");var h=this.j.Eg;h&&(f=h);e&&!f&&(d.headers["x-origin"]=window.location.origin);Gs(""+f+ju(this.j.innertubeApiVersion,a,b)+"?alt=json&key="+this.j.innertubeApiKey,d)};function lu(a,b,c){isNaN(c)&&(c=void 0);var d=t("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):L(a,c||0)}
;var mu=t("ytLoggingLatencyUsageStats_")||{};r("ytLoggingLatencyUsageStats_",mu,void 0);var nu=0;function ou(a,b){var c=Object.keys(a).join("");pu("info_"+c+"_"+b)||(a.clientActionNonce=b,Pt("latencyActionInfo",a,ku))}
function pu(a){mu[a]=mu[a]||{count:0};var b=mu[a];b.count++;b.time=ds();nu||(nu=lu(qu,0,5E3));return 10<b.count?(11==b.count&&eu(Error("CSI data exceeded logging limit with key: "+a)),!0):!1}
function qu(){var a=ds(),b;for(b in mu)6E4<a-mu[b].time&&delete mu[b];nu=0}
;function ru(a,b){this.version=a;this.args=b}
function su(a,b){if(!b.args||!b.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!a.Za){var c=new a;a.Za=c.version}var d=a.Za}catch(e){}if(!d||b.version!=d)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{return Reflect.construct(a,Pb(b.args))}catch(e){throw e.message="yt.pubsub2.Data.deserialize(): "+e.message,e;}}
ru.prototype.ad=function(){return{version:this.version,args:this.args}};function tu(a,b){this.topic=a;this.Zb=b}
tu.prototype.toString=function(){return this.topic};var uu=t("ytPubsub2Pubsub2Instance")||new Er;Er.prototype.subscribe=Er.prototype.subscribe;Er.prototype.unsubscribeByKey=Er.prototype.va;Er.prototype.publish=Er.prototype.na;Er.prototype.clear=Er.prototype.clear;r("ytPubsub2Pubsub2Instance",uu,void 0);var vu=t("ytPubsub2Pubsub2SubscribedKeys")||{};r("ytPubsub2Pubsub2SubscribedKeys",vu,void 0);var wu=t("ytPubsub2Pubsub2TopicToKeys")||{};r("ytPubsub2Pubsub2TopicToKeys",wu,void 0);var xu=t("ytPubsub2Pubsub2IsAsync")||{};
r("ytPubsub2Pubsub2IsAsync",xu,void 0);r("ytPubsub2Pubsub2SkipSubKey",null,void 0);function yu(a,b){var c=zu();return c?c.publish.call(c,a.toString(),a,b):!1}
function Au(a,b,c){var d=zu();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,h){var f=t("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(vu[e])try{if(h&&a instanceof tu&&a!=d)try{h=su(a.Zb,h)}catch(l){throw l.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+l.message,l;}b.call(c||window,h)}catch(l){is(l)}},xu[a.toString()]?t("yt.scheduler.instance")?lu(f,1,void 0):L(f,0):f())});
vu[e]=!0;wu[a.toString()]||(wu[a.toString()]=[]);wu[a.toString()].push(e);return e}
function zu(){return t("ytPubsub2Pubsub2Instance")}
function Bu(a){var b=zu();b&&(pa(a)&&(a=[a]),z(a,function(a){b.unsubscribeByKey(a);delete vu[a]}))}
;var Cu=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};function Du(a,b){ru.call(this,1,arguments)}
w(Du,ru);function Eu(a,b){ru.call(this,1,arguments)}
w(Eu,ru);var av=new tu("aft-recorded",Du),gw=new tu("timing-sent",Eu);function hw(a){this.j=a||window;this.H=this.w=0;if(this.j.performance&&this.j.performance.timing&&this.j.performance.getEntriesByType){a=le(this.j||window);this.F=new ff(0,0,a.width,a.height);var b;a=[];for(var c=this.j.document.getElementsByTagName("*"),d=0,e=c.length;d<e;d++){var f=c[d];if("IMG"==f.tagName||"IFRAME"==f.tagName)if(b=iw(this,f,f.src)){if("IFRAME"==f.tagName){try{var h=(new hw(f.contentWindow)).w}catch(k){h=0}0<h&&(b.timing=h)}a.push(b)}(b=this.j.getComputedStyle(f)["background-image"])&&
(b=hw.j.exec(b))&&1<b.length&&(b=iw(this,f,b[1]))&&a.push(b)}this.l=a;this.B=this.j.performance.getEntriesByType("resource");this.D=this.j.performance.getEntriesByType("mark");h={};a=0;for(c=this.B.length;a<c;a++)d=this.B[a],h[d.name]=d.responseEnd;a=0;for(c=this.D.length;a<c;a++)d=this.D[a],"mark_iframe_loaded: "==d.name.slice(0,20)&&(h[d.name.slice(20)]=d.startTime);a=0;for(c=this.l.length;a<c;a++)d=this.l[a],d.timing||(d.timing=h[d.url]||0);this.C=jw(this);this.A=kw(this);f=h=0;if(this.A.length)for(c=
a=0,d=this.A.length;c<d;c++)e=this.A[c],f=e.timing-f,0<f&&1>a&&(h+=(1-a)*f),f=e.timing,a=e.progress;this.w=Math.round(h||this.C);this.H=f}}
function iw(a,b,c){return c&&b.getBoundingClientRect&&(b=b.getBoundingClientRect(),b=new ff(b.left,b.top,b.width,b.height),gf(b,a.F))?new lw(b,c):null}
function jw(a){var b=a.j,c=b.performance.timing.navigationStart;if("msFirstPaint"in b.performance.timing)var d=b.performance.timing.j-c;else if("chrome"in b&&"loadTimes"in b.chrome){var e=b.chrome.loadTimes(),f=e.firstPaintTime;if(0<f){var h=e.startLoadTime;"requestTime"in e&&(h=e.requestTime);f>=h&&(d=1E3*(f-h))}}if(void 0===d||0>d||12E4<d){d=b.performance.timing.responseStart-c;for(var k={},b=b.document.getElementsByTagName("head")[0].children,c=0,e=b.length;c<e;c++)f=b[c],"SCRIPT"==f.tagName&&
f.src&&!f.async?k[f.src]=!0:"LINK"==f.tagName&&"stylesheet"==f.rel&&f.href&&(k[f.href]=!0);a.B.some(function(a){if(!k[a.name]||"script"!=a.initiatorType&&"link"!=a.initiatorType)return!0;a=a.responseEnd;if(void 0===d||a>d)d=a})}return Math.max(d,0)||0}
function kw(a){var b={0:0},c=0;var d=a.C;for(var e=0,f=a.l.length;e<f;e++){var h=a.l[e],k=d;h.timing>d&&(k=h.timing);b[k]||(b[k]=0);h=hf(h.region).ob();b[k]+=h;c+=h}e=hf(a.F).ob();0<e&&(e=.1*Math.max(e-c,0),d in b||(b[d]=0),b[d]+=e,c+=e);a=[];if(c){for(var l in b)d=new mw(parseFloat(l),b[l]),a.push(d);a.sort(function(a,b){return a.timing-b.timing});
e=b=0;for(f=a.length;e<f;e++)d=a[e],b+=d.ob,d.progress=b/c}return a}
function lw(a,b){this.region=a;this.url=b}
lw.prototype.toString=function(){return this.region.toString()+": "+this.timing+" => "+this.url};
function mw(a,b){this.ob=b;this.timing=a}
mw.prototype.toString=function(){return["progress",this.progress,"timing",this.timing,"area",this.ob].join(": ")};
hw.l=.1;hw.j=/url\(["']?(http[^'"\)]+)['"]?\)/i;hw.w="mark_iframe_loaded: ";hw.A=20;var nw=v().toString();var ow={vc:!0},pw={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'link[rel="import"][name="desktop_polymer_selective_initialization_home"]':"dpsihh",'link[rel="import"][name="desktop_polymer_selective_initialization_watch"]':"dpsiwh",'script[name="mobile_polymer/mobile_polymer"]':"mpj",
'link[rel="import"][name="mobile_polymer"]':"mph",'script[name="player-plasma-phone/base"]':"mpppj",'script[name="player-plasma-tablet/base"]':"mpptj",'link[rel="stylesheet"][name="mobile-polymer-player"]':"mppc","#player_css":"mbpc","#player_js":"mbpj"},qw={ad_at:"adType",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",is_nav:"isNavigation",yt_lt:"loadType",yt_ad:"isMonetized",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",yt_vis:"isVisible",docid:"videoId",plid:"videoId",fmt:"playerInfo.itag"},
rw="ap c cver ei yt_fss yt_li GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid ad_allowed ad_cpn ad_docid ba c cmt cver ncnp nr p pa paused pc prerender psc rc srt st start vpil vpni vps yt_abt yt_ad_an yt_eil yt_fn yt_fs yt_hrd yt_li yt_pft yt_pl yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" "),sw={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",
"channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",
"video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS"},tw=["isNavigation","isMonetized","prerollAllowed","isRedSubscriber","isVisible"],uw=!1;function vw(a){ww(a);xw();yw(!1,a);a||(J("TIMING_ACTION")&&hs("PREVIOUS_ACTION",J("TIMING_ACTION")),hs("TIMING_ACTION",""))}
function T(a,b,c){if(!b&&"_"!=a[0]){var d=a;Cu.mark&&(0==d.lastIndexOf("mark_",0)||(d="mark_"+d),c&&(d+=" ("+c+")"),Cu.mark(d))}var d=zw(c),e=b||ds();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;Aw(c)["tick_"+a]=b;c||b||ds();ht("csi_on_gel")?(d=Bw(c),"_start"==a?pu("baseline_"+d)||Pt("latencyActionBaselined",{clientActionNonce:d},ku,b):pu("tick_"+a+"_"+d)||Pt("latencyActionTicked",{tickName:a,clientActionNonce:d},ku,b),a=!0):a=!1;a||Cw(!1,c)}
function Dw(a,b,c){var d=Ew(c)[a]=b;Aw(c)["info_"+a]=d;if(ht("csi_on_gel"))if(a in qw){b={};a=qw[a].split(".");Jb(tw,a)&&(d=!!d);for(var e=b,f=0;f<a.length-1;f++)e[a[f]]=e[a[f]]||{},e=e[a[f]];b[a[a.length-1]]=d;c=Bw(c);ou(b,c)}else Jb(rw,a)||is(Error("Unknown label "+a+" logged with GEL CSI."))}
function Fw(a){var b=Ew(void 0);return a in b}
function Gw(a){var b=zw(a);if(b.aft)return b.aft;a=J((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return NaN}
function Cw(a,b){if(!Hw(b)){var c=J((b||"")+"TIMING_ACTION",void 0),d=zw(b);if(t("ytglobal.timing"+(b||"")+"ready_")&&c&&d._start&&(c=Gw(b)))if(ht("tighter_critical_section")&&!uw&&(yu(av,new Du(Math.round(c-d._start),b)),uw=!0),a||b)Iw(b);else{var c=!0,e=J("TIMING_WAIT",[]);if(e.length)for(var f=0,h=e.length;f<h;++f)if(!(e[f]in d)){c=!1;break}c&&Iw(b)}}}
function Jw(){if("visibilityState"in document)var a=document.visibilityState;else a=Ms+"VisibilityState",a=a in document?document[a]:void 0;switch(a){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1}
function Iw(a){if(!ht("csi_on_gel")){var b=zw(a),c=Ew(a),d=b._start,e;for(e in b)if(0==e.lastIndexOf("_",0)&&ta(b[e])){var f=e.slice(1);if(f in ow){var h=Cb(b[e],function(a){return Math.round(a-d)});
c["all_"+f]=h.join()}delete b[e]}f=!!c.ap;if(h=t("ytglobal.timingReportbuilder_")){if(h=h(b,c,a))Kw(h,f),vw(a)}else{var k=J("CSI_SERVICE_NAME","youtube");h={v:2,s:k,action:J((a||"")+"TIMING_ACTION",void 0)};var l=c.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var p=window.location.protocol+t("ytplayer.config.assets.js");(p=Cu.getEntriesByName?Cu.getEntriesByName(p)[0]:null)?c.h5jse=Math.round(c.h5jse-p.responseEnd):delete c.h5jse}b.aft=Gw(a);Lw(a)&&"youtube"==k&&(Dw("yt_lt","hot_bg",a),k=b.vc,p=b.pbs,
delete b.aft,c.aft=Math.round(p-k));for(var y in c)"_"!=y.charAt(0)&&(h[y]=c[y]);b.ps=ds();c={};y=[];for(e in b)"_"!=e.charAt(0)&&(k=Math.round(b[e]-d),c[e]=k,y.push(e+"."+k));h.rt=y.join(",");(b=t("ytdebug.logTiming"))&&b(h,c);Kw(h,f,a);yu(gw,new Eu(c.aft+(l||0),a))}}}
var xw=u(Cu.clearResourceTimings||Cu.webkitClearResourceTimings||Cu.mozClearResourceTimings||Cu.msClearResourceTimings||Cu.oClearResourceTimings||qa,Cu);function Mw(a){return Math.round(Cu.timing.navigationStart+a)}
function Nw(){var a=window.location.protocol,b=Cu.getEntriesByType("resource"),c=Gb(b,function(b){return 0==b.name.indexOf(a+"//fonts.googleapis.com/css?family=")}),b=Bb(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")}),b=Db(b,function(a,b){return b.duration>a.duration?b:a},{duration:0});
c&&0<c.startTime&&0<c.responseEnd&&(T("wfcs",Mw(c.startTime)),T("wfce",Mw(c.responseEnd)));b&&0<b.startTime&&0<b.responseEnd&&(T("wffs",Mw(b.startTime)),T("wffe",Mw(b.responseEnd)))}
function Ow(a,b){var c=document.querySelector(a);if(!c)return!1;var d="",e=c.nodeName;"SCRIPT"==e?(d=c.src,d||(d=c.getAttribute("data-timing-href"))&&(d=window.location.protocol+d)):"LINK"==e&&(d=c.href);return d?(c=Cu.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,T("rsf_"+b,d+Math.round(c.fetchStart)),T("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(Fw("rc")||Dw("rc",""),0===c.transferSize))?!0:!1:!1}
function Kw(a,b,c){if(ht("debug_csi_data")){var d=t("yt.timing.csiData");d||(d=[],r("yt.timing.csiData",d,void 0));d.push({page:location.href,time:new Date,args:a})}var d="",e;for(e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);if(window.navigator&&window.navigator.sendBeacon&&b)try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")||Js(a,void 0)}catch(f){Js(a,void 0)}else Js(a);yw(!0,c)}
function Bw(a){var b=Pw(a).nonce;if(!b){a:{if(window.crypto&&window.crypto.getRandomValues)try{var c=Array(16),d=new Uint8Array(16);window.crypto.getRandomValues(d);for(b=0;b<c.length;b++)c[b]=d[b];var e=c;break a}catch(f){}e=Array(16);for(c=0;16>c;c++){d=v();for(b=0;b<d%23;b++)e[c]=Math.random();e[c]=Math.floor(256*Math.random())}if(nw)for(c=1,d=0;d<nw.length;d++)e[c%16]=e[c%16]^e[(c-1)%16]/4^nw.charCodeAt(d),c++}c=[];for(d=0;d<e.length;d++)c.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e[d]&
63));b=c.join("");Pw(a).nonce=b}return b}
function zw(a){return Pw(a).tick}
function Ew(a){return Pw(a).info}
function Aw(a){a=Pw(a);"gel"in a||(a.gel={});return a.gel}
function Pw(a){return t("ytcsi."+(a||"")+"data_")||ww(a)}
function ww(a){var b={tick:{},info:{}};r("ytcsi."+(a||"")+"data_",b,void 0);return b}
function Hw(a){return!!t("yt.timing."+(a||"")+"pingSent_")}
function yw(a,b){r("yt.timing."+(b||"")+"pingSent_",a,void 0)}
function Lw(a){var b=zw(a),c=b.pbr,d=b.vc,b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==Ew(a).yt_pvis}
;function Qw(a,b){this.l=a;this.j=b}
Qw.prototype.then=function(a,b,c){try{if(n(this.l))return a?Vi(a.call(c,this.l)):Vi(this.l);if(n(this.j)){if(!b)return Wi(this.j);var d=b.call(c,this.j);return!n(d)&&this.j.j?Wi(this.j):Vi(d)}throw Error("Invalid Result state");}catch(e){return Wi(e)}};
Pi(Qw);function Rw(){a:{try{var a=window.top.location.href}catch(b){a=2;break a}a=null!=a?a==window.document.location.href?0:1:2}a={dt:cl,flash:Sk||"0",frm:a};eg(a);return a}
function Sw(){var a=nm(window),b=Vk(window.top);return{bc:Hj(),bih:b.height,biw:b.width,brdim:a.join(),vis:vk(),wgl:!!x.WebGLRenderingContext}}
function Tw(){var a=new Og,b=a.j[0].depth,c={dssz:Va.scripts?Va.scripts.length:0,icsg:Sg(a),mdo:Tg(a),mso:Ug(a)};x.location&&x.location.ancestorOrigins&&(c.iag=Qg(a));0<b&&(c.nhd=b);return c}
;function Uw(a,b,c,d){gk.call(this);this.B=a;this.l=b;this.L=c;this.A=d;this.w=qe("DIV",{"class":"ads-mute-button"});Oe(this.w,String.fromCharCode(215));this.j=qe("DIV");Wd(this.j,Vw(this));this.C=E("ads-mute-undo",this.j);M(this.w,"click",u(this.D,this));this.B.firstElementChild.appendChild(this.w);a=ic(this.l.mute_survey);Xb(a);z(a,function(a){var b=qe("INPUT",{"class":"yt-uix-form-input-radio",type:"radio"}),c=qe("SPAN",{"class":"yt-uix-form-input-radio-element"}),b=qe("SPAN",{"class":"yt-uix-form-input-radio-container"},
b,c),b=qe("LABEL","ads-mute-option",b,a);M(b,"click",u(this.F,this,this.l.mute_survey[a]));this.j.firstChild.appendChild(b)},this);
M(this.j,"click",ft);M(this.C,"click",u(this.H,this));ut(this.dispose,this)}
w(Uw,gk);function Vw(a){var b=a.l.mute_gone||Ud,c=a.l.mute_question||Ud;a=a.l.mute_undo||Ud;return Qd("div",{"class":"ads-mute-survey"},Rd(Qd("span",{"class":"ads-mute-check"}),Qd("b",{},b)," ",c,Qd("div",{"class":"ads-mute-undo"},a)))}
Uw.prototype.M=function(){z(he("ads-mute-option",this.j),function(a){gt(a)});
gt(this.w);ye(this.w);gt(this.j);ye(this.j);gt(this.C)};
Uw.prototype.D=function(a){a.stopPropagation();a.preventDefault();this.A&&Js(this.l.mute_url);this.B.firstElementChild.appendChild(this.j);H(Me(this.j),"contains-mute-survey")};
Uw.prototype.H=function(a){a.stopPropagation();a.preventDefault();this.l.mute_undo_url&&this.A&&Js(this.l.mute_undo_url);I(Me(this.j),"contains-mute-survey");ye(this.j)};
Uw.prototype.F=function(a,b){b.stopPropagation();b.preventDefault();this.A&&Js(a);ye(this.B);this.L();this.dispose()};var Ww=["pyv-feed-item-headline-dest-url","pyv-feed-item-thumb-dest-url","pyv-feed-item-channel-thumb-dest-url"],Xw="",Yw="",Zw=[],ss={},$w="";function ax(a,b,c,d){var e=b.media_template_data;(e=ta(e)?Gb(e,function(a){return!!a.imageUrl}):null)?($w=e.videoId,a={video_id:e.videoId,
ad_type:a,headline:lb(b.line1),image_url:e.imageUrl,description1:lb(b.line2),description2:lb(b.line3),channel_title:e.channelName,visible_url:lb(b.visible_url)},Xw=lb(b.url),Yw=(new Gl(Xw)).w.get("adurl")||"",$a(tb(b.creative_view_url))||Zw.push(bx(lb(b.creative_view_url))),$a(tb(b.p_creative_view_url))||Zw.push(bx(lb(b.p_creative_view_url))),$a(tb(b.engaged_view_url))||(ss.part2viewed=bx(lb(b.engaged_view_url))),$a(tb(b.p_engaged_view_url))||(ss.part2viewedgaia=bx(lb(b.p_engaged_view_url))),$a(tb(b.videoplaytime_25_url))||
(ss.videoplaytime25=bx(lb(b.videoplaytime_25_url))),$a(tb(b.p_videoplaytime_25_url))||(ss.videoplaytime25gaia=bx(lb(b.p_videoplaytime_25_url))),$a(tb(b.videoplaytime_50_url))||(ss.videoplaytime50=bx(lb(b.videoplaytime_50_url))),$a(tb(b.p_videoplaytime_50_url))||(ss.videoplaytime50gaia=bx(lb(b.p_videoplaytime_50_url))),$a(tb(b.videoplaytime_75_url))||(ss.videoplaytime75=bx(lb(b.videoplaytime_75_url))),$a(tb(b.p_videoplaytime_75_url))||(ss.videoplaytime75gaia=bx(lb(b.p_videoplaytime_75_url))),$a(tb(b.videoplaytime_100_url))||
(ss.videoplaytime100=bx(lb(b.videoplaytime_100_url))),$a(tb(b.p_videoplaytime_100_url))||(ss.videoplaytime100gaia=bx(lb(b.p_videoplaytime_100_url))),ys("/pyv?"+Cg(a),{format:"XML",R:function(a,b){c&&b.html_content&&Wd(D(c),b.html_content);d&&d(a,b)},
onError:function(){cx()},
Hb:!0})):cx()}
function dx(a){T("parc");0==a.length?cx():ax("watch_related",a[0],null,function(b,c){var d=c.html_content,e=D(window.pyv_related_box_id||"watch-related");if(e){var f=e.innerHTML;d&&0!=f.indexOf(Md(d))&&e.insertBefore(ve(d),e.firstChild);if(d=D("pyv-watch-related-dest-url"))e=!J("PYV_DISABLE_MUTE")&&a[0].mute_url&&a[0].mute_survey,d.setAttribute("href",Xw),e&&(d=Me(d),H(d,"contains-mute-button"),new Uw(d,a[0],qa,!0));T("parn");ex();z(Zw,function(a){Js(a,void 0,lt(a))})}})}
function fx(){var a={};a.adpings=rs();bu(Yw,a)}
window.Ma=function(a){dx(a)};
function gx(a){if(!a||$a(a.responseText))cx();else try{eval(a.responseText)}catch(b){throw cx(),b;}}
function ex(){var a=t("yt.www.watch.player.getClientPlaybackNonce")||Ci(),a={ad_id:"",ad_sys:"",ad_v:$w,break_type:6,content_v:J("VIDEO_ID",void 0),cpn:a(),device:"1",devicever:"html5",ei:J("GET_PLAYER_EVENT_ID",void 0),el:"detailpage",event:2,format:"2_6",mt:"0",ns:1,slot_pos:"0",ver:"2.0",wt:(new Date).getTime()},a=Eg("/api/stats/ads",a);Js(a,void 0,lt(a))}
function cx(){var a=J("TIMING_WAIT",[]);Lb(a,"parn")&&(hs("TIMING_WAIT",a),Cw())}
function bx(a){if("https:"==window.location.protocol){var b=new Gl(a);if("https"==b.A)return a;Hl(b,"https");return b.toString()}return a}
;function U(a,b){return a?a.dataset?a.dataset[hx(b)]:a.getAttribute("data-"+b):null}
var ix={};function hx(a){return ix[a]||(ix[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))}
function jx(a,b){a&&(a.dataset?delete a.dataset[hx(b)]:a.removeAttribute("data-"+b))}
function kx(a,b,c){a&&(a.dataset?a.dataset[hx(b)]=String(c):a.setAttribute("data-"+b,c))}
;var lx=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,mx=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;function nx(a,b){var c=ox(a),d=document.getElementById(c),e=d&&U(d,"loaded"),f=d&&!e;if(e)return b&&b(),d;if(b){var e=Q(c,b),h=""+xa(b);px[h]=e}return f?d:d=qx(a,c,function(){U(d,"loaded")||(kx(d,"loaded","true"),R(c),L(Da(tt,c),0))})}
function qx(a,b,c){var d=document.createElement("script");d.id=b;d.onload=function(){c&&setTimeout(c,0)};
d.onreadystatechange=function(){switch(d.readyState){case "loaded":case "complete":d.onload()}};
d.src=a;a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(d,a.firstChild);return d}
function ox(a){var b=document.createElement("a");Xd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+wb(a)}
var px={};function rx(a,b){if(window.spf){var c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1<d&&-1<e&&e>f&&(c=a.substring(f,e),c=c.replace(lx,""),c=c.replace(mx,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b);return null}return nx(a,b)}
;function sx(a,b,c){Js("/gen_204?"+("a="+a+(b?"&"+b:"")),c)}
;function tx(a){this.w=1E3/a;this.l=null;this.j=[]}
var ux=new tx(24);tx.prototype.A=function(){for(var a=v(),b=this.j.length-1;0<=b;b--)vx(this.j[b],a)&&wx(this,b)};
tx.prototype.remove=function(a){a=zb(this.j,a);0<=a&&wx(this,a)};
function wx(a,b){Mb(a.j,b);a.j.length||(ms(a.l),delete a.l)}
;function xx(a,b){this.j=new qq(0,0,a.x,a.y,b.x,b.y,1,1)}
function yx(a){return a}
var zx=new xx({x:.25,y:.1},{x:.25,y:1});function Ax(a){return tq(zx.j,a)}
var Bx=new xx({x:.42,y:0},{x:1,y:1});function Cx(a){return tq(Bx.j,a)}
var Dx=new xx({x:0,y:0},{x:.58,y:1});function Ex(a){return tq(Dx.j,a)}
var Fx=new xx({x:.42,y:0},{x:.58,y:1});function Gx(a){return tq(Fx.j,a)}
function Hx(a){switch(a){case "linear":return yx;case "ease-in":return Cx;case "ease-out":return Ex;case "ease-in-out":return Gx;default:return Ax}}
;function Ix(a,b){var c=b||{};this.el=a;this.duration=c.duration||.25;this.lc=c.oa||null;this.fd=c.fd||"ease";this.setup(c);c.Uk||this.play()}
Ix.prototype.setup=function(){};function Jx(a,b){this.l=this.j=0;this.w=ux;this.D=null;Ix.call(this,a,b)}
w(Jx,Ix);Jx.prototype.setup=function(a){this.j=0;this.w=a.loop||ux;this.D=Hx(this.fd)};
Jx.prototype.play=function(){this.l=v();vx(this,this.l);var a=this.w;a.j.push(this);a.l||(a.l=ns(u(a.A,a),a.w))};
Jx.prototype.pause=function(){this.w.remove(this)};
function vx(a,b){var c=1E3*a.duration;a.j=Math.min(a.j+(b-a.l),c);a.l=b;var d=a.D(a.j/c),d=a.C-(a.C-a.B)*d;a.A?a.el.style.filter="alpha(opacity="+Math.floor(100*d)+")":a.el.style.opacity=d;if(c=a.j>=c)a.oa(),a.lc&&L(u(a.lc,m,a),0);return c}
Jx.prototype.oa=function(){};function Kx(a){a=a||{};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||oc(Lx);this.assets=a.assets||{};this.attrs=a.attrs||oc(Mx);this.params=a.params||oc(Nx);this.minVersion=a.min_version||"8.0.0";this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}}
var Lx={enablejsapi:1},Mx={},Nx={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};function Ox(a){a instanceof Kx||(a=new Kx(a));return a}
Kx.prototype.clone=function(){var a=new Kx,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==sa(c)?a[b]=oc(c):a[b]=c}return a};function Px(){return!1}
function Qx(){return null}
;function Rx(){return parseInt(J("DCLKSTAT",0),10)}
;function Sx(a,b,c,d){b=void 0===b?{}:b;c=void 0===c?"":c;d=void 0===d?window:d;Zd(d.location,Eg(a,b)+c)}
function Tx(a,b){b&&bu(a,b);(window.ytspf||{}).enabled?spf.navigate(a):Sx(a)}
function Ux(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=J("EVENT_ID");d&&(b.ei||(b.ei=d));b&&bu(a,b);if(c)return!1;Tx(a);return!0}
;var Vx=t("yt.abuse.botguardInitialized")||Px;r("yt.abuse.botguardInitialized",Vx,void 0);var Wx=t("yt.abuse.invokeBotguard")||Qx;r("yt.abuse.invokeBotguard",Wx,void 0);var Xx=t("yt.abuse.dclkstatus.checkDclkStatus")||Rx;r("yt.abuse.dclkstatus.checkDclkStatus",Xx,void 0);var Yx=t("yt.player.exports.navigate")||Ux;r("yt.player.exports.navigate",Yx,void 0);var Zx=t("yt.util.activity.init")||Mt;r("yt.util.activity.init",Zx,void 0);var $x=t("yt.util.activity.getTimeSinceActive")||Jg;
r("yt.util.activity.getTimeSinceActive",$x,void 0);var ay=t("yt.util.activity.setTimestamp")||Ot;r("yt.util.activity.setTimestamp",ay,void 0);function by(a){gk.call(this);this.j=[];this.l=a||this}
aa(by,gk);function cy(a,b,c,d){d=js(u(d,a.l));d={target:b,name:c,Fb:d};b.addEventListener(c,d.Fb,void 0);a.j.push(d)}
by.prototype.yc=function(a){for(var b=0;b<this.j.length;b++)if(this.j[b]==a){this.j.splice(b,1);a.target.removeEventListener(a.name,a.Fb);break}};
function dy(a){for(;a.j.length;){var b=a.j.pop();b.target.removeEventListener(b.name,b.Fb)}}
by.prototype.M=function(){dy(this);gk.prototype.M.call(this)};function ey(){this.w=this.l=this.j=0;this.A="";var a=t("window.navigator.plugins"),b=t("window.navigator.mimeTypes"),a=a&&a["Shockwave Flash"],b=b&&b["application/x-shockwave-flash"],b=a&&b&&b.enabledPlugin&&a.description||"";if(a=b){var c=a.indexOf("Shockwave Flash");0<=c&&(a=a.substr(c+15));for(var c=a.split(" "),d="",a="",e=0,f=c.length;e<f;e++)if(d)if(a)break;else a=c[e];else d=c[e];d=d.split(".");c=parseInt(d[0],10)||0;d=parseInt(d[1],10)||0;e=0;if("r"==a.charAt(0)||"d"==a.charAt(0))e=parseInt(a.substr(1),
10)||0;a=[c,d,e]}else a=[0,0,0];this.A=b;b=a;this.j=b[0];this.l=b[1];this.w=b[2];if(0>=this.j){if(es)try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(y){h=null}else{var k=document.body;var l=document.createElement("object");l.setAttribute("type","application/x-shockwave-flash");h=k.appendChild(l)}if(h&&"GetVariable"in h)try{var p=h.GetVariable("$version")}catch(y){p=""}k&&l&&k.removeChild(l);(h=p||"")?(h=h.split(" ")[1].split(","),h=[parseInt(h[0],10)||0,parseInt(h[1],10)||0,parseInt(h[2],
10)||0]):h=[0,0,0];this.j=h[0];this.l=h[1];this.w=h[2]}}
ra(ey);ey.prototype.getVersion=function(){return[this.j,this.l,this.w]};
function fy(a,b,c,d){b="string"==typeof b?b.split("."):[b,c,d];b[0]=parseInt(b[0],10)||0;b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return a.j>b[0]||a.j==b[0]&&a.l>b[1]||a.j==b[0]&&a.l==b[1]&&a.w>=b[2]}
function gy(a){return-1<a.A.indexOf("Gnash")&&-1==a.A.indexOf("AVM2")||9==a.j&&1==a.l||9==a.j&&0==a.l&&1==a.w?!1:9<=a.j}
function hy(a){return-1<navigator.userAgent.indexOf("Sony/COM2")&&!fy(a,9,1,58)?!1:!0}
;var iy=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};r("yt.msgs_",iy,void 0);function jy(a,b,c){b=void 0===b?{}:b;a=(a=a in iy?iy[a]:c)||"";c={};for(var d in b)c.pc=d,a=a.replace(new RegExp("\\$"+c.pc,"gi"),function(a){return function(){return b[a.pc]}}(c)),c={pc:c.pc};
return a}
function ky(a){fs(iy,arguments)}
function ly(a){fs(iy,arguments)}
;function my(a,b,c){if(b){a=q(a)?ee(a):a;var d=oc(c.attrs);d.tabindex=0;var e=oc(c.params);e.flashvars=Cg(c.args);if(es){d.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";e.movie=b;b=document.createElement("object");for(var f in d)b.setAttribute(f,d[f]);for(var h in e)d=document.createElement("param"),d.setAttribute("name",h),d.setAttribute("value",e[h]),b.appendChild(d)}else{d.type="application/x-shockwave-flash";d.src=b;b=document.createElement("embed");b.setAttribute("name",d.id);for(var k in d)b.setAttribute(k,
d[k]);for(var l in e)b.setAttribute(l,e[l])}e=document.createElement("div");e.appendChild(b);a.innerHTML=e.innerHTML}}
;var ny=/cssbin\/(?:debug-)?([a-zA-Z0-9_-]+?)(?:-2x|-web|-rtl|-vfl|.css)/;function oy(a,b){a=a||"";if(window.spf){var c=a.match(ny);spf.style.load(a,c?c[1]:"",b);return null}return py(a,b)}
function py(a,b){var c=qy(a),d=document.getElementById(c),e=d&&U(d,"loaded"),f=d&&!e;if(e)return b&&b(),d;b&&(Q(c,b),xa(b));return f?d:d=ry(a,c,function(){U(d,"loaded")||(kx(d,"loaded","true"),R(c),L(Da(tt,c),0))})}
function ry(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)};
a=bf(a);d.rel="stylesheet";d.href=Cd(a);(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d}
function qy(a){var b=document.createElement("a");Xd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"css-"+wb(a)}
;var sy={},ty=(sy["api.invalidparam"]=2,sy.auth=150,sy["drm.auth"]=150,sy["heartbeat.net"]=150,sy["heartbeat.servererror"]=150,sy["heartbeat.stop"]=150,sy["html5.unsupportedads"]=5,sy["fmt.noneavailable"]=5,sy["fmt.decode"]=5,sy["fmt.unplayable"]=5,sy["html5.missingapi"]=5,sy["html5.unsupportedlive"]=5,sy["drm.unavailable"]=5,sy);var uy;var vy=Yb,vy=vy.toLowerCase();if(-1!=vy.indexOf("android")){var wy=vy.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(wy)uy=Number(wy[1]);else{var xy={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},yy=vy.match("("+ic(xy).join("|")+")");uy=yy?xy[yy[0]]:0}}else uy=void 0;var zy=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Ay=['audio/mp4; codecs="mp4a.40.2"'];function By(a,b){gk.call(this);this.D=this.B=a;this.ga=b;this.H=!1;this.l={};this.Ma=this.aa=null;this.ja=new Er;hk(this,Da(ik,this.ja));this.A={};this.L=this.Na=this.w=this.cb=this.j=null;this.ra=!1;this.O=this.F=this.C=this.W=null;this.Oa={};this.Kc=["onReady"];this.wa=new by(this);hk(this,Da(ik,this.wa));this.Eb=null;this.Yb=NaN;this.Da={};Cy(this);this.Ia("onDetailedError",u(this.vh,this));this.Ia("onTabOrderChange",u(this.If,this));this.Ia("onTabAnnounce",u(this.pd,this));this.Ia("WATCH_LATER_VIDEO_ADDED",
u(this.wh,this));this.Ia("WATCH_LATER_VIDEO_REMOVED",u(this.xh,this));Lh||(this.Ia("onMouseWheelCapture",u(this.qh,this)),this.Ia("onMouseWheelRelease",u(this.rh,this)));this.Ia("onAdAnnounce",u(this.pd,this));this.V=new by(this);hk(this,Da(ik,this.V));this.bb=!1;this.ab=null}
w(By,gk);var Dy=["drm.unavailable","fmt.noneavailable","html5.missingapi","html5.unsupportedads","html5.unsupportedlive"];g=By.prototype;g.hd=function(a,b){this.T()||(Ey(this,a),Fy(this,b),this.H&&Gy(this))};
function Ey(a,b){a.cb=b;a.j=b.clone();a.w=a.j.attrs.id||a.w;"video-player"==a.w&&(a.w=a.ga,a.j.attrs.id=a.ga);a.D.id==a.w&&(a.w+="-player",a.j.attrs.id=a.w);a.j.args.enablejsapi="1";a.j.args.playerapiid=a.ga;a.Na||(a.Na=Hy(a,a.j.args.jsapicallback||"onYouTubePlayerReady"));a.j.args.jsapicallback=null;var c=a.j.attrs.width;c&&(a.D.style.width=uf(Number(c)||c,!0));if(c=a.j.attrs.height)a.D.style.height=uf(Number(c)||c,!0)}
g.Sf=function(){return this.cb};
function Gy(a){a.j.loaded||(a.j.loaded=!0,"0"!=a.j.args.autoplay?a.l.loadVideoByPlayerVars(a.j.args):a.l.cueVideoByPlayerVars(a.j.args))}
function Iy(a){var b=a.j&&a.j.args&&a.j.args.fflags;if(b&&(0<=b.indexOf("web_player_disable_flash=true")||0<=b.indexOf("web_player_disable_flash_playerproxy=true")))return!1;if(!n(a.j.disable.flash)){var b=a.j.disable;var c=fy(ey.getInstance(),a.j.minVersion);b.flash=!c}return!a.j.disable.flash}
function Jy(a,b){var c;(c=!b)||(c=5!=(ty[b.errorCode]||5)?!1:(c=a.j&&a.j.args&&a.j.args.fflags)&&0<=c.indexOf("web_player_disable_flash_fallback=true")?!1:-1!=Dy.indexOf(b.errorCode));if(c&&Iy(a)){(c=Ky(a))&&c.stopVideo&&c.stopVideo();var d=a.j;c&&c.getUpdatedConfigurationData&&(c=c.getUpdatedConfigurationData(),d=Ox(c));d.args.autoplay=1;d.args.html5_unavailable="1";Ey(a,d);Fy(a,"flash")}}
function Fy(a,b){if(!a.T()){if(!b){var c;if(!(c=!a.j.html5&&Iy(a))){if(!n(a.j.disable.html5)){c=!0;void 0!=a.j.args.deviceHasDisplay&&(c=a.j.args.deviceHasDisplay);if(2.2==uy)var d=!0;else{a:{var e=c;c=t("yt.player.utils.videoElement_");c||(c=ue(document,"VIDEO"),r("yt.player.utils.videoElement_",c,void 0));try{if(c.canPlayType)for(var e=e?zy:Ay,f=0;f<e.length;f++)if(c.canPlayType(e[f])){d=null;break a}d="fmt.noneavailable"}catch(h){d="html5.missingapi"}}d=!d}d&&(d=Ly(a)||a.j.assets.js);a.j.disable.html5=
!d;d||(a.j.args.html5_unavailable="1")}c=!!a.j.disable.html5}b=c?Iy(a)?"flash":"unsupported":"html5"}("flash"==b?a.wi:a.xi).call(a)}}
function Ly(a){var b=!0,c=Ky(a);c&&a.j&&(a=a.j,b=U(c,"version")==a.assets.js);return b&&!!t("yt.player.Application.create")}
g.xi=function(){if(!this.ra){var a=Ly(this);if(a&&"html5"==My(this))this.L="html5",this.H||this.sb();else if(Ny(this),this.L="html5",a&&this.C)this.B.appendChild(this.C),this.sb();else{this.j.loaded=!0;var b=!1;this.W=u(function(){b=!0;var a=this.B,d=this.j.clone();t("yt.player.Application.create")(a,d);this.sb()},this);
this.ra=!0;a?this.W():(rx(this.j.assets.js,this.W),oy(this.j.assets.css),Oy(this)&&!b&&r("yt.player.Application.create",null,void 0))}}};
g.wi=function(){var a=this.j.clone();if(!this.F){var b=Ky(this);b&&(this.F=ue(document,"SPAN"),this.F.tabIndex=0,cy(this.wa,this.F,"focus",this.ne),this.O=ue(document,"SPAN"),this.O.tabIndex=0,cy(this.wa,this.O,"focus",this.ne),b.parentNode&&b.parentNode.insertBefore(this.F,b),xe(this.O,b))}a.attrs.width=a.attrs.width||"100%";a.attrs.height=a.attrs.height||"100%";"flash"==My(this)?(this.L="flash",this.H||this.sb()):(Ny(this),this.L="flash",this.j.loaded=!0,b=ey.getInstance(),b=gy(b)||!hy(b)?a.url:
a.urlV9As2,window!=window.top&&document.referrer&&(a.args.framer=document.referrer.substring(0,128)),my(this.B,b,a),this.sb())};
g.ne=function(){Ky(this).focus()};
function Ky(a){var b=D(a.w);!b&&a.D&&a.D.querySelector&&(b=a.D.querySelector("#"+a.w));return b}
g.sb=function(){if(!this.T()){var a=Ky(this),b=!1;try{a&&a.getApiInterface&&a.getApiInterface()&&(b=!0)}catch(f){}if(b)if(this.ra=!1,a.isNotServable&&a.isNotServable(this.j.args.video_id))Jy(this);else{Cy(this);this.H=!0;a=Ky(this);a.addEventListener&&(this.aa=Py(this,a,"addEventListener"));a.removeEventListener&&(this.Ma=Py(this,a,"removeEventListener"));for(var b=a.getApiInterface(),b=b.concat(a.getInternalApiInterface()),c=0;c<b.length;c++){var d=b[c];this.l[d]||(this.l[d]=Py(this,a,d))}for(var e in this.A)this.aa(e,
this.A[e]);Gy(this);this.Na&&this.Na(this.l);this.ja.na("onReady",this.l)}else this.Yb=L(u(this.sb,this),50)}};
function Py(a,b,c){var d=b[c];return function(){try{return a.Eb=null,d.apply(b,arguments)}catch(e){"Bad NPObject as private data!"!=e.message&&"sendAbandonmentPing"!=c&&(e.message+=" ("+c+")",a.Eb=e,is(e,"WARNING"))}}}
function Cy(a){a.H=!1;if(a.Ma)for(var b in a.A)a.Ma(b,a.A[b]);for(var c in a.Da)K(parseInt(c,10));a.Da={};a.aa=null;a.Ma=null;for(var d in a.l)a.l[d]=null;a.l.addEventListener=u(a.Ia,a);a.l.removeEventListener=u(a.bi,a);a.l.destroy=u(a.dispose,a);a.l.getLastError=u(a.Tf,a);a.l.getPlayerType=u(a.Vf,a);a.l.getCurrentVideoConfig=u(a.Sf,a);a.l.loadNewVideoConfig=u(a.hd,a);a.l.isReady=u(a.Ii,a)}
g.Ii=function(){return this.H};
g.Ia=function(a,b){if(!this.T()){var c=Hy(this,b);if(c){if(!Jb(this.Kc,a)&&!this.A[a]){var d=Qy(this,a);this.aa&&this.aa(a,d)}this.ja.subscribe(a,c);"onReady"==a&&this.H&&L(Da(c,this.l),0)}}};
g.bi=function(a,b){if(!this.T()){var c=Hy(this,b);c&&Gr(this.ja,a,c)}};
function Hy(a,b){var c=b;if("string"==typeof b){if(a.Oa[b])return a.Oa[b];c=function(){var a=t(b);a&&a.apply(m,arguments)};
a.Oa[b]=c}return c?c:null}
function Qy(a,b){var c="ytPlayer"+b+a.ga;a.A[b]=c;m[c]=function(c){var d=L(function(){if(!a.T()){a.ja.na(b,c);var e=a.Da,h=String(d);h in e&&delete e[h]}},0);
mc(a.Da,String(d))};
return c}
g.If=function(a){a=a?Ke:De;for(var b=a(document.activeElement);b&&(1!=b.nodeType||b==this.F||b==this.O||(b.focus(),b!=document.activeElement));)b=a(b)};
g.pd=function(a){R("a11y-announce",a)};
g.vh=function(a){Jy(this,a)};
g.wh=function(a){R("WATCH_LATER_VIDEO_ADDED",a)};
g.xh=function(a){R("WATCH_LATER_VIDEO_REMOVED",a)};
g.qh=function(){this.bb||(Ph?(this.ab=ne(document),cy(this.V,window,"scroll",this.Qh),cy(this.V,this.B,"touchmove",this.Ih)):(cy(this.V,this.B,"mousewheel",this.re),cy(this.V,this.B,"wheel",this.re)),this.bb=!0)};
g.rh=function(){dy(this.V);this.bb=!1};
g.re=function(a){et(a)};
g.Qh=function(){window.scrollTo(this.ab.x,this.ab.y)};
g.Ih=function(a){a.preventDefault()};
g.Vf=function(){return this.L||My(this)};
g.Tf=function(){return this.Eb};
function My(a){return(a=Ky(a))?"div"==a.tagName.toLowerCase()?"html5":"flash":null}
function Ny(a){T("dcp");a.cancel();Cy(a);a.L=null;a.j&&(a.j.loaded=!1);var b=Ky(a);"html5"==My(a)?Ly(a)||!Oy(a)?a.C=b:(b&&b.destroy&&b.destroy(),a.C=null):b&&b.destroy&&b.destroy();we(a.B);dy(a.wa);a.F=null;a.O=null}
g.cancel=function(){if(this.W){var a=this.W;this.j.assets.js&&a&&(a=""+xa(a),(a=px[a])&&rt(a))}K(this.Yb);this.ra=!1};
g.M=function(){Ny(this);if(this.C&&this.j&&this.C.destroy)try{this.C.destroy()}catch(b){is(b)}this.Oa=null;for(var a in this.A)m[this.A[a]]=null;this.cb=this.j=this.l=null;delete this.B;delete this.D;By.J.M.call(this)};
function Oy(a){return a.j&&a.j.args&&a.j.args.fflags?-1!=a.j.args.fflags.indexOf("player_destroy_old_version=true"):!1}
;var Ry={},Sy="player_uid_"+(1E9*Math.random()>>>0);function Ty(a){Ry[a.ga]=null}
function Uy(){var a=D("player-api");if(!a)return null;var b=Sy+"_"+xa(a),c=Ry[b];c||(c=new By(a,b),Ry[b]=c);return c.l}
;var Vy="",Wy="",Xy=!1;function Yy(a,b){a||(a="");b||(b=!1);var c=D("watch-channel-brand-div");c&&Gp(c,"collapsible",b);if(c=D("google_companion_ad_div"))c.innerHTML=a}
function Zy(a){var b=Math.round(1E4*Math.random());return['<iframe src="',a,'" name="ifr_300x250ad',b,'" id="ifr_300x250ad',b,'" width="300" height="250" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>'].join("")}
function $y(a){return!!a.match("/ad_companion.*render=video_wall_companion")}
function az(a,b){var c=250;"video"==a&&(c=60);var d=decodeURIComponent(b);Yy(['<iframe name="fw_ad" id="fw_ad" ','width="300" height="'+c+'" ','marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>'].join(""));var e=D("fw_ad");if(e){var e=e.contentWindow?e.contentWindow:e.contentDocument&&e.contentDocument.document?e.contentDocument.document:e.contentDocument,f=navigator.userAgent.toLowerCase(),c=-1!=f.indexOf("msie"),f=-1!=f.indexOf("opera");e.document.open();
e.document.write(d);c||f?L(function(){e.document.close()},7500):e.document.close()}}
function bz(){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div"}
function cz(){var a=document.getElementById("google_companion_ad_div");if(a&&(a=a.firstElementChild)){"DIV"==a.nodeName&&(a=a.firstElementChild);try{var b=encodeURIComponent(Vy)+","+encodeURIComponent(Wy);a.contentWindow.postMessage(b,"*");a.width=370;a.height=null!=Vy?210:185}catch(c){}}}
function dz(){var a=document.getElementById("movie_player");a&&a.pauseVideo()}
function ez(a){if(!Xy&&a)if(ht("remove_yt_uds")){Xy=!0;window.j=a.afv_vars.google_ad_client;window.C=a.afv_vars.google_page_url;window.Fg=window.location.href;var b=a.afc_vars,c;for(c in b){var d=b[c];if("no_initial_ads"==c&&d){rg();return}if("format"!=c||$a(tb(d)))if("loeid"!=c||$a(tb(d))){var e="google_"+c;(lg[e]||mg[e]||ng[e])&&(window[e]=d)}else window.Rf=tb(d);else if(d=tb(d),e=d.match(/(\d+)x(\d+)/))window.google_ad_width=e[1],window.google_ad_height=e[2],window.google_ad_format=d}pg();Dm();
vm()&&fz();rg()}else(b=t("google.ads.Ad"))?(Xy=!0,new b(a.afv_vars.google_ad_client,"google_companion_ad_div",a.afc_vars)):L(function(){ez(a)},200)}
function fz(){var a=D("google_companion_ad_div");if(null!=a){var b=qe("IFRAME",{width:window.google_ad_width,height:window.google_ad_height,frameBorder:0,marginWidth:0,marginHeight:0,vpsace:0,hspace:0,allowTransparency:"true",scrolling:"no",src:window.F,style:{visibility:"visible"}});a.appendChild(b)}}
var gz=[];r("yt.www.watch.ads.setAdId",function(a){window.ad_debug=a},void 0);
r("yt.www.watch.ads.setCompanion",Yy,void 0);r("yt.www.watch.ads.showForcedMpu",function(a){var b=Zy(a);a=$y(a);Yy(b,a)},void 0);
r("yt.www.watch.ads.setGutSlotSizes",function(){},void 0);
r("yt.www.watch.ads.handleSetCompanion",function(a){a=a.replace(";dc_seed=",";kmyd=watch-channel-brand-div;dc_seed=");var b=Zy(a);a=$y(a);Yy(b,a)},void 0);
r("yt.www.watch.ads.handleSetCompanionForFreewheel",az,void 0);r("yt.www.watch.ads.handleSetAfvCompanionVars",bz,void 0);r("yt.www.watch.ads.companionSetupComplete",cz,void 0);r("yt.www.watch.ads.pauseVideo",dz,void 0);r("yt.www.watch.ads.loadAfc",ez,void 0);r("yt.www.watch.ads.isAfcAdVisible",function(){var a=D("google_companion_ad_div");return a?(a=Be(a))&&"IFRAME"==a.tagName?-1!=a.src.indexOf("youtube.com%2Fad_frame"):!1:!1},void 0);
r("yt.www.watch.ads.checkInit",function(){},void 0);
r("yt.www.watch.ads.initVideoWallCompanionListeners",function(a,b){Vy=a;Wy=b;window.addEventListener("message",function(a){"companion-setup-complete"==a.data?cz():"pause-video"==a.data&&dz()},!1)},void 0);
r("yt.www.watch.ads.getGlobals",function(){return gz},void 0);
r("window.google_ad_request_done",window.Ma,void 0);r("yt.www.ads.pyv.pyvWatchAfcCallback",dx,void 0);r("yt.www.ads.pyv.pyvHomeAfcCallback",function(a){var b="feed",c="feed-pyv-container";D("feed-pyv-container")&&(b="feed",c="feed-pyv-container");var d=D(c);d&&0!=a.length||"feed"!=b?ax(b,a[0],d,function(){z(Ww,function(a){if(a=document.getElementById(a))a.setAttribute("href",Xw),M(a,"click",fx)});
R("yt-dom-content-change",d);z(Zw,function(a){Js(a,void 0,lt(a))})}):ye(d)},void 0);
r("yt.www.ads.pyv.loadPyvAjax",function(a){var b=Rw();Ea(b,Sw());ht("desktop_pyv_on_watch_missing_params")&&(Ea(b,{dff:"times new roman",dfs:"16",ppjl:"u1",rsz:"||n|"}),Ea(b,Tw()));a=Eg(a,b);ht("desktop_pyv_on_watch_override_lact")&&(a=Ig(a));ys(a,{format:"RAW",R:gx,onError:function(){cx()},
withCredentials:!0});T("parq")},void 0);
r("yt.www.ads.pyv.loadPyvIframe",function(a){if(null!=document){var b=window.location.href;b.indexOf("#")==b.length-1&&Ic&&(window.location.hash="#!");var b=document.body,c=$e(a),d=wd({display:"none"});a=be(b);c=Qd("html",{},Rd(Qd("head",{},c),Qd("body",{},void 0)));c=Rd(Td,c);d=d?td(d):"";a=a.Kf("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"+d,src:Rp});b.appendChild(a);b=c;a=a.contentDocument||a.contentWindow.document;a.open();a.write(Md(b));a.close();T("parq")}else cx()},void 0);
r("yt.www.watch.ads.restrictioncookie.spr",function(a){Js(a+"mac_204?action_fcts=1");return!0},void 0);
r("yt.www.watch.ads.isPromotionShelfSlotExist",function(){return null!=D("promotion-shelf")},void 0);
r("yt.www.watch.ads.promotionShelfClear",function(){var a=D("promotion-shelf");a&&(H(a,"hid"),we(a))},void 0);
r("yt.www.watch.ads.promotionShelfShow",function(a){var b=D("promotion-shelf");b&&(b.appendChild(a),I(b,"hid"))},void 0);
r("setFreewheelCompanion",az,void 0);r("setAfvCompanionVars",bz,void 0);function hz(a,b){(a=D(a))&&a.style&&(a.style.display=b?"":"none",Gp(a,"hid",!b))}
function iz(a){return(a=D(a))?"none"!=a.style.display&&!G(a,"hid"):!1}
function jz(a){if(a=D(a))iz(a)?(a.style.display="none",H(a,"hid")):(a.style.display="",I(a,"hid"))}
function kz(a){z(arguments,function(a){!ua(a)||a instanceof Element?hz(a,!0):z(a,function(a){kz(a)})})}
function lz(a){z(arguments,function(a){!ua(a)||a instanceof Element?hz(a,!1):z(a,function(a){lz(a)})})}
function mz(a){z(arguments,function(a){ua(a)?z(a,function(a){mz(a)}):jz(a)})}
var nz={};function oz(a){if(a in nz)return nz[a];var b;if((b=document.body.style)&&a in b)b=a;else{var c=$c();c?(c=c.toLowerCase(),c+=yb(a),b=!n(b)||c in b?c:null):b=null}return nz[a]=b}
function pz(a){if(!ll()||!a)return null;var b=oz("transitionProperty"),b=mf(a,b),c=oz("transitionDuration");a=mf(a,c);if(!b||!a)return null;var d={},e=b.split(",");z(a.split(","),function(a,b){var c=e[b].trim();c&&(d[c]=-1<a.indexOf("ms")?parseInt(a,10):Math.round(1E3*parseFloat(a)))});
return d}
;var qz={},rz="ontouchstart"in document;function sz(a,b,c){b in qz||(qz[b]=new Er);qz[b].subscribe(a,c)}
function tz(a,b,c){if(b in qz){var d=qz[b];Gr(d,a,c);0>=d.da()&&(d.dispose(),delete qz[b])}}
function uz(a,b,c){switch(a){case "mouseover":case "mouseout":var d=3;break;case "mouseenter":case "mouseleave":d=9}return Ze(c,function(a){return G(a,b)},!0,d)}
function vz(a){var b,c="mouseover"==a.type&&"mouseenter"in qz||"mouseout"==a.type&&"mouseleave"in qz,d=a.type in qz||c;if("HTML"!=a.target.tagName&&d){if(c){var c="mouseover"==a.type?"mouseenter":"mouseleave",d=qz[c],e;for(e in d.l)(b=uz(c,e,a.target))&&!Ze(a.relatedTarget,function(a){return a==b},!0)&&d.na(e,b,c,a)}if(c=qz[a.type])for(e in c.l)(b=uz(a.type,e,a.target))&&c.na(e,b,a.type,a)}}
M(document,"blur",vz,!0);M(document,"change",vz,!0);M(document,"click",vz);M(document,"focus",vz,!0);M(document,"mouseover",vz);M(document,"mouseout",vz);M(document,"mousedown",vz);M(document,"keydown",vz);M(document,"keyup",vz);M(document,"keypress",vz);M(document,"cut",vz);M(document,"paste",vz);rz&&(M(document,"touchstart",vz),M(document,"touchend",vz),M(document,"touchcancel",vz));function V(a){this.B=a;this.F={};this.H=[];this.N=[]}
g=V.prototype;g.X=function(a){return F(a,W(this))};
function W(a,b){return"yt-uix"+(a.B?"-"+a.B:"")+(b?"-"+b:"")}
g.unregister=function(){rt(this.H);this.H.length=0;Bu(this.N);this.N.length=0};
g.init=qa;g.dispose=qa;function wz(a,b,c){a.H.push(Q(b,c,a))}
function xz(a,b,c){a.N.push(Au(b,c,a))}
function X(a,b,c,d){d=W(a,d);var e=u(c,a);sz(d,b,e);a.F[c]=e}
function Y(a,b,c,d){tz(W(a,d),b,a.F[c]);delete a.F[c]}
g.xa=function(a,b,c){var d=this.G(a,b);if(d&&(d=t(d))){var e=Sb(arguments,2);Rb(e,0,0,a);d.apply(null,e)}};
g.G=function(a,b){return U(a,b)};
function yz(a,b){kx(a,"tooltip-text",b)}
function zz(a,b,c){return E(W(a,b),c)}
;function Az(){V.call(this,"button");this.j=null;this.w=[];this.l={}}
w(Az,V);ra(Az);g=Az.prototype;g.register=function(){X(this,"click",this.Ze);X(this,"keydown",this.Xd);X(this,"keypress",this.af);wz(this,"page-scroll",this.pg)};
g.unregister=function(){Y(this,"click",this.Ze);Y(this,"keydown",this.Xd);Y(this,"keypress",this.af);Bz(this);this.l={};Az.J.unregister.call(this)};
g.Ze=function(a){a&&!a.disabled&&(Cz(this,a),this.click(a))};
g.Xd=function(a,b,c){if(!(c.altKey||c.ctrlKey||c.shiftKey)&&(b=Dz(this,a))){var d=function(a){var b="";a.tagName&&(b=a.tagName.toLowerCase());return"ul"==b||"table"==b},e;
d(b)?e=b:e=Pe(b,d);if(e){e=e.tagName.toLowerCase();if("ul"==e)var f=this.Lg;else"table"==e&&(f=this.Kg);f&&Ez(this,a,b,c,u(f,this))}}};
g.pg=function(){var a=this.l;if(0!=ec(a))for(var b in a){var c=a[b],d=Fz(this,c);if(void 0==d||void 0==c)break;Gz(this,d,c,!0)}};
function Ez(a,b,c,d,e){var f=iz(c),h=9==d.keyCode;h||32==d.keyCode||13==d.keyCode?(d=Hz(a,c))?(b=Be(d),"a"==b.tagName.toLowerCase()?Sx(b.href):ct(b,"click")):h&&Iz(a,b):f?27==d.keyCode?(Hz(a,c),Iz(a,b)):e(b,c,d):(a=G(b,W(a,"reverse"))?38:40,d.keyCode==a&&(ct(b,"click"),d.preventDefault()))}
g.af=function(a,b,c){c.altKey||c.ctrlKey||c.shiftKey||(a=Dz(this,a),iz(a)&&c.preventDefault())};
function Hz(a,b){var c=W(a,"menu-item-highlight"),d=E(c,b);d&&I(d,c);return d}
function Jz(a,b,c){H(c,W(a,"menu-item-highlight"));var d=c.getAttribute("id");d||(d=W(a,"item-id-"+xa(c)),c.setAttribute("id",d));b.setAttribute("aria-activedescendant",d)}
g.Kg=function(a,b,c){var d=Hz(this,b);if(d){var e=Os("table",b);b=fe("td",null,e);d=Kz(d,b,fe("td",null,Os("tr",e)).length,c);-1!=d&&(Jz(this,a,b[d]),c.preventDefault())}};
g.Lg=function(a,b,c){if(40==c.keyCode||38==c.keyCode){var d=Hz(this,b);d&&(b=Bb(fe("li",null,b),iz),Jz(this,a,b[Kz(d,b,1,c)]),c.preventDefault())}};
function Kz(a,b,c,d){var e=b.length;a=zb(b,a);if(-1==a)if(38==d.keyCode)a=e-c;else{if(37==d.keyCode||38==d.keyCode||40==d.keyCode)a=0}else 39==d.keyCode?(a%c==c-1&&(a-=c),a+=1):37==d.keyCode?(0==a%c&&(a+=c),--a):38==d.keyCode?(a<c&&(a+=e),a-=c):40==d.keyCode&&(a>=e-c&&(a-=e),a+=c);return a}
function Lz(a,b){var c=b.iframeMask;c||(c=document.createElement("iframe"),c.src='javascript:""',c.className=W(a,"menu-mask"),lz(c),b.iframeMask=c);return c}
function Gz(a,b,c,d){var e=F(b,W(a,"group")),f=!!a.G(b,"button-menu-ignore-group"),e=e&&!f?e:b,f=9,h=8,k=xf(b);if(G(b,W(a,"reverse"))){f=8;h=9;k=k.top+"px";try{c.style.maxHeight=k}catch(y){}}G(b,"flip")&&(G(b,W(a,"reverse"))?(f=12,h=13):(f=13,h=12));var l;a.G(b,"button-has-sibling-menu")?l=pf(e):a.G(b,"button-menu-root-container")&&(l=Mz(a,b));B&&!Vc("8")&&(l=null);if(l){var p=xf(l);p=new cf(-p.top,p.left,p.top,-p.left)}l=new cd(0,1);G(b,W(a,"center-menu"))&&(l.x-=Math.round((vf(c).width-vf(b).width)/
2));d&&(l.y+=ne(document).y);if(a=Lz(a,b))b=vf(c),a.style.width=b.width+"px",a.style.height=b.height+"px",Br(e,f,a,h,l,p,197),d&&jf(a,"position","fixed");Br(e,f,c,h,l,p,197)}
function Mz(a,b){if(a.G(b,"button-menu-root-container")){var c=a.G(b,"button-menu-root-container");return F(b,c)}return document.body}
g.cf=function(a){if(a){var b=Dz(this,a);if(b){a.setAttribute("aria-pressed","true");a.setAttribute("aria-expanded","true");b.originalParentNode=b.parentNode;b.activeButtonNode=a;b.parentNode.removeChild(b);var c;this.G(a,"button-has-sibling-menu")?c=a.parentNode:c=Mz(this,a);c.appendChild(b);b.style.minWidth=a.offsetWidth-2+"px";var d=Lz(this,a);d&&c.appendChild(d);(c=!!this.G(a,"button-menu-fixed"))&&(this.l[Ss(a).toString()]=b);Gz(this,a,b,c);vt("yt-uix-button-menu-before-show",a,b);kz(b);d&&kz(d);
this.xa(a,"button-menu-action",!0);H(a,W(this,"active"));b=u(this.bf,this,a,!1);d=u(this.bf,this,a,!0);c=u(this.si,this,a,void 0);this.j&&Dz(this,this.j)==Dz(this,a)||Bz(this);R("yt-uix-button-menu-show",a);N(this.w);this.w=[M(document,"click",d),M(document,"contextmenu",b),M(window,"resize",c)];this.j=a}}};
function Iz(a,b){if(b){var c=Dz(a,b);if(c){a.j=null;b.setAttribute("aria-pressed","false");b.setAttribute("aria-expanded","false");b.removeAttribute("aria-activedescendant");lz(c);a.xa(b,"button-menu-action",!1);var d=Lz(a,b),e=Ss(c).toString();delete a.l[e];L(function(){d&&d.parentNode&&(lz(d),d.parentNode.removeChild(d));c.originalParentNode&&(c.parentNode.removeChild(c),c.originalParentNode.appendChild(c),c.originalParentNode=null,c.activeButtonNode=null)},1)}var e=F(b,W(a,"group")),f=[W(a,"active")];
e&&f.push(W(a,"group-active"));Fp(b,f);R("yt-uix-button-menu-hide",b);N(a.w);a.w.length=0}}
g.si=function(a,b){var c=Dz(this,a);if(c){b&&(b instanceof Kd?Wd(c,b):Oe(c,b));var d=!!this.G(a,"button-menu-fixed");Gz(this,a,c,d)}};
function Fz(a,b){return F(b.activeButtonNode||b.parentNode,W(a))}
g.bf=function(a,b,c){c=bt(c);var d=F(c,W(this));if(d){var d=Dz(this,d),e=Dz(this,a);if(d==e)return}var d=F(c,W(this,"menu")),e=d==Dz(this,a),f=G(c,W(this,"menu-item")),h=G(c,W(this,"menu-close"));if(!d||e&&(f||h))Iz(this,a),d&&b&&this.G(a,"button-menu-indicate-selected")&&((a=E(W(this,"content"),a))&&Oe(a,We(c)),Nz(this,d,c))};
function Nz(a,b,c){var d=W(a,"menu-item-selected");z(he(d,b),function(a){I(a,d)});
H(c.parentNode,d)}
function Dz(a,b){if(!b.widgetMenu){var c=a.G(b,"button-menu-id"),c=c&&D(c),d=W(a,"menu");c?Ep(c,[d,W(a,"menu-external")]):c=E(d,b);b.widgetMenu=c}return b.widgetMenu}
g.isToggled=function(a){return G(a,W(this,"toggled"))};
function Cz(a,b){if(a.G(b,"button-toggle")){var c=F(b,W(a,"group")),d=W(a,"toggled"),e=G(b,d);if(c&&a.G(c,"button-toggle-group")){var f=a.G(c,"button-toggle-group");z(he(W(a),c),function(a){a!=b||"optional"==f&&e?(I(a,d),a.removeAttribute("aria-pressed")):(H(b,d),a.setAttribute("aria-pressed","true"))})}else e?b.removeAttribute("aria-pressed"):b.setAttribute("aria-pressed","true"),Ip(b,d)}}
g.click=function(a){if(Dz(this,a)){var b=Dz(this,a);if(b){var c=Fz(this,b);c&&c!=a?(Iz(this,c),L(u(this.cf,this,a),1)):iz(b)?Iz(this,a):this.cf(a)}a.focus()}this.xa(a,"button-action")};
function Bz(a){a.j&&Iz(a,a.j)}
;function Oz(a){V.call(this,a);this.w=null}
w(Oz,V);g=Oz.prototype;g.X=function(a){var b=V.prototype.X.call(this,a);return b?b:a};
g.register=function(){wz(this,"yt-uix-kbd-nav-move-out-done",this.hide)};
g.dispose=function(){Oz.J.dispose.call(this);Pz(this)};
g.G=function(a,b){var c=Oz.J.G.call(this,a,b);return c?c:(c=Oz.J.G.call(this,a,"card-config"))&&(c=t(c))&&c[b]?c[b]:null};
g.show=function(a){var b=this.X(a);if(b){H(b,W(this,"active"));var c=Qz(this,a,b);if(c){c.cardTargetNode=a;c.cardRootNode=b;Rz(this,a,c);var d=W(this,"card-visible"),e=this.G(a,"card-delegate-show")&&this.G(b,"card-action");this.xa(b,"card-action",a);this.w=a;lz(c);L(u(function(){e||(kz(c),R("yt-uix-card-show",b,a,c));Sz(c);H(c,d);R("yt-uix-kbd-nav-move-in-to",c)},this),10)}}};
function Qz(a,b,c){var d=c||b,e=W(a,"card");c=Tz(a,d);var f=D(W(a,"card")+Ss(d));if(f)return a=E(W(a,"card-body"),f),Ne(a,c)||(ye(c),a.appendChild(c)),f;f=document.createElement("div");f.id=W(a,"card")+Ss(d);f.className=e;(d=a.G(d,"card-class"))&&Ep(f,d.split(/\s+/));d=document.createElement("div");d.className=W(a,"card-border");b=a.G(b,"orientation")||"horizontal";e=document.createElement("div");e.className="yt-uix-card-border-arrow yt-uix-card-border-arrow-"+b;var h=document.createElement("div");
h.className=W(a,"card-body");a=document.createElement("div");a.className="yt-uix-card-body-arrow yt-uix-card-body-arrow-"+b;ye(c);h.appendChild(c);d.appendChild(a);d.appendChild(h);f.appendChild(e);f.appendChild(d);document.body.appendChild(f);return f}
function Rz(a,b,c){var d=a.G(b,"orientation")||"horizontal";var e=E(W(a,"anchor"),b)||b;var f=a.G(b,"position"),h=!!a.G(b,"force-position"),k=a.G(b,"position-fixed"),d="horizontal"==d,l="bottomright"==f||"bottomleft"==f,p="topright"==f||"bottomright"==f;if(p&&l){var y=13;var P=8}else p&&!l?(y=12,P=9):!p&&l?(y=9,P=12):(y=8,P=13);var ba=yf(document.body),f=yf(b);ba!=f&&(y^=4);if(d){f=b.offsetHeight/2-12;var S=new cd(-12,b.offsetHeight+6)}else f=b.offsetWidth/2-6,S=new cd(b.offsetWidth+6,-12);var da=
vf(c),f=Math.min(f,(d?da.height:da.width)-24-6);6>f&&(f=6,d?S.y+=12-b.offsetHeight/2:S.x+=12-b.offsetWidth/2);da=null;h||(da=10);b=W(a,"card-flip");a=W(a,"card-reverse");Gp(c,b,p);Gp(c,a,l);da=Br(e,y,c,P,S,null,da);!h&&da&&(da&48&&(p=!p,y^=4,P^=4),da&192&&(l=!l,y^=1,P^=1),Gp(c,b,p),Gp(c,a,l),Br(e,y,c,P,S));k&&(e=parseInt(c.style.top,10),h=ne(document).y,jf(c,"position","fixed"),jf(c,"top",e-h+"px"));ba&&(c.style.right="",e=xf(c),e.left=e.left||parseInt(c.style.left,10),h=le(window),c.style.left="",
c.style.right=h.width-e.left-e.width+"px");e=E("yt-uix-card-body-arrow",c);h=E("yt-uix-card-border-arrow",c);d=d?l?"top":"bottom":!ba&&p||ba&&!p?"left":"right";e.setAttribute("style","");h.setAttribute("style","");e.style[d]=f+"px";h.style[d]=f+"px";l=E("yt-uix-card-arrow",c);p=E("yt-uix-card-arrow-background",c);l&&p&&(c="right"==d?vf(c).width-f-13:f+11,f=c/Math.sqrt(2),l.style.left=c+"px",l.style.marginLeft="1px",p.style.marginLeft=-f+"px",p.style.marginTop=f+"px")}
g.hide=function(a){if(a=this.X(a)){var b=D(W(this,"card")+Ss(a));b&&(I(a,W(this,"active")),I(b,W(this,"card-visible")),lz(b),this.w=null,b.cardTargetNode=null,b.cardRootNode=null,b.cardMask&&(ye(b.cardMask),b.cardMask=null))}};
function Pz(a){a.w&&a.hide(a.w)}
g.pi=function(a,b){var c=this.X(a);if(c){if(b){var d=Tz(this,c);if(!d)return;b instanceof Kd?Wd(d,b):Oe(d,b)}G(c,W(this,"active"))&&(c=Qz(this,a,c),Rz(this,a,c),kz(c),Sz(c))}};
g.isActive=function(a){return(a=this.X(a))?G(a,W(this,"active")):!1};
function Tz(a,b){var c=b.cardContentNode;if(!c){var d=W(a,"content"),e=W(a,"card-content");(c=(c=a.G(b,"card-id"))?D(c):E(d,b))||(c=document.createElement("div"));var f=c;I(f,d);H(f,e);b.cardContentNode=c}return c}
function Sz(a){var b=a.cardMask;b||(b=document.createElement("iframe"),b.src='javascript:""',Ep(b,["yt-uix-card-iframe-mask"]),a.cardMask=b);b.style.position=a.style.position;b.style.top=a.style.top;b.style.left=a.offsetLeft+"px";b.style.height=a.clientHeight+"px";b.style.width=a.clientWidth+"px";document.body.appendChild(b)}
;function Uz(){V.call(this,"kbd-nav")}
var Vz;w(Uz,V);ra(Uz);g=Uz.prototype;g.register=function(){X(this,"keydown",this.ff);wz(this,"yt-uix-kbd-nav-move-in",this.ge);wz(this,"yt-uix-kbd-nav-move-in-to",this.Mg);wz(this,"yt-uix-kbd-move-next",this.he);wz(this,"yt-uix-kbd-nav-move-to",this.fc)};
g.unregister=function(){Y(this,"keydown",this.ff);N(Vz)};
g.ff=function(a,b,c){var d=c.keyCode;if(a=F(a,W(this)))switch(d){case 13:case 32:this.ge(a);break;case 27:c.preventDefault();c.stopImmediatePropagation();a:{for(c=Kp(a,"kbdNavMoveOut");!c;){c=F(a.parentElement,W(this));if(!c)break a;c=Kp(c,"kbdNavMoveOut")}c=D(c);this.fc(c);R("yt-uix-kbd-nav-move-out-done",c)}break;case 40:case 38:if((b=c.target)&&G(a,W(this,"list")))switch(d){case 40:this.he(b,a);break;case 38:d=document.activeElement==a,a=Wz(a),b=a.indexOf(b),0>b&&!d||(b=d?a.length-1:(a.length+
b-1)%a.length,a[b].focus(),Xz(this,a[b]))}c.preventDefault()}};
g.ge=function(a){var b=Kp(a,"kbdNavMoveIn"),b=D(b);Yz(this,a,b);this.fc(b)};
g.Mg=function(a){a:{var b=document;try{var c=b&&b.activeElement;break a}catch(d){}c=null}Yz(this,c,a);this.fc(a)};
g.fc=function(a){if(a)if(Te(a))a.focus();else{var b=Pe(a,function(a){return Le(a)?Te(a):!1});
b?b.focus():(a.setAttribute("tabindex","-1"),a.focus())}};
function Yz(a,b,c){b&&c&&(H(c,W(a)),a=b.id,a||(a="kbd-nav-"+Math.floor(1E6*Math.random()+1),b.id=a),b=a,Jp&&c.dataset?c.dataset.kbdNavMoveOut=b:c.setAttribute("data-"+"kbdNavMoveOut".replace(/([A-Z])/g,"-$1").toLowerCase(),b))}
g.he=function(a,b){var c=document.activeElement==b,d=Wz(b),e=d.indexOf(a);0>e&&!c||(c=c?0:(e+1)%d.length,d[c].focus(),Xz(this,d[c]))};
function Xz(a,b){if(b){var c=Ye(b,"LI");c&&(H(c,W(a,"highlight")),Vz=M(b,"blur",u(function(a){I(a,W(this,"highlight"));N(Vz)},a,c)))}}
function Wz(a){if("UL"!=a.tagName.toUpperCase())return[];a=Bb(Ae(a),function(a){return"LI"==a.tagName.toUpperCase()});
return Bb(Cb(a,function(a){return iz(a)?Pe(a,function(a){return Le(a)?Te(a):!1}):!1}),function(a){return!!a})}
;function Zz(){V.call(this,"menu");this.l=this.j=null;this.w={};this.C={};this.A=null}
w(Zz,V);ra(Zz);function $z(a){var b=Zz.getInstance();if(G(a,W(b)))return a;var c=b.X(a);return c?c:F(a,W(b,"content"))==b.j?b.l:null}
g=Zz.prototype;g.register=function(){X(this,"click",this.gf);X(this,"mouseenter",this.lg);wz(this,"page-scroll",this.Ji);wz(this,"yt-uix-kbd-nav-move-out-done",function(a){a=this.X(a);aA(this,a)});
this.A=new Er};
g.unregister=function(){Y(this,"click",this.gf);this.l=this.j=null;N(Wb(hc(this.w)));this.w={};bc(this.C,function(a){ye(a)},this);
this.C={};ik(this.A);this.A=null;Zz.J.unregister.call(this)};
g.gf=function(a,b,c){a&&(b=bA(this,a),!b.disabled&&Ts(c.target,b)&&cA(this,a))};
g.lg=function(a,b,c){a&&G(a,W(this,"hover"))&&(b=bA(this,a),Ts(c.target,b)&&cA(this,a,!0))};
g.Ji=function(){this.j&&this.l&&dA(this,this.l,this.j)};
function dA(a,b,c){var d=eA(a,b);if(d){var e=vf(c);if(e instanceof ae){var f=e.height;e=e.width}else throw Error("missing height argument");d.style.width=uf(e,!0);d.style.height=uf(f,!0)}c==a.j&&(e=9,f=8,G(b,W(a,"reversed"))&&(e^=1,f^=1),G(b,W(a,"flipped"))&&(e^=4,f^=4),a=new cd(0,1),d&&Br(b,e,d,f,a,null,197),Br(b,e,c,f,a,null,197))}
function cA(a,b,c){fA(a,b)&&!c?aA(a,b):(gA(a,b),!a.j||Ts(b,a.j)?a.hf(b):Fr(a.A,u(a.hf,a,b)))}
g.hf=function(a){if(a){var b=hA(this,a);if(b){vt("yt-uix-menu-before-show",a,b);if(this.j)Ts(a,this.j)||aA(this,this.l);else{this.l=a;this.j=b;G(a,W(this,"sibling-content"))||(ye(b),document.body.appendChild(b));var c=bA(this,a).offsetWidth-2;b.style.minWidth=c+"px"}(c=eA(this,a))&&xe(c,b);I(b,W(this,"content-hidden"));dA(this,a,b);Ep(bA(this,a),[W(this,"trigger-selected"),"yt-uix-button-toggled"]);R("yt-uix-menu-show",a);iA(b);jA(this,a);R("yt-uix-kbd-nav-move-in-to",b);var d=u(this.Ki,this,a),e=
u(this.Ig,this,a),c=xa(a).toString();this.w[c]=[M(b,"click",e),M(document,"click",d)];G(a,W(this,"indicate-selected"))&&(d=u(this.Jg,this,a),this.w[c].push(M(b,"click",d)));G(a,W(this,"hover"))&&(a=u(this.mg,this,a),this.w[c].push(M(document,"mousemove",a)))}}};
g.mg=function(a,b){var c=bt(b);if(c){var d=bA(this,a);Ts(c,d)||kA(this,c)||lA(this,a)}};
g.Ki=function(a,b){var c=bt(b);if(c){if(kA(this,c)){var d=F(c,W(this,"content"));var e=Ye(c,"LI");e&&d&&Ne(d,e)&&vt("yt-uix-menu-item-clicked",c);c=F(c,W(this,"close-on-select"));if(!c)return;d=$z(c)}aA(this,d||a)}};
function gA(a,b){if(b){var c=F(b,W(a,"content"));c&&z(he(W(a),c),function(a){!Ts(a,b)&&fA(this,a)&&lA(this,a)},a)}}
function aA(a,b){if(b){var c=[];c.push(b);var d=hA(a,b);d&&(d=he(W(a),d),d=Pb(d),c=c.concat(d),z(c,function(a){fA(this,a)&&lA(this,a)},a))}}
function lA(a,b){if(b){var c=hA(a,b);Fp(bA(a,b),[W(a,"trigger-selected"),"yt-uix-button-toggled"]);H(c,W(a,"content-hidden"));var d=hA(a,b);d&&je(d,{"aria-expanded":"false"});(d=eA(a,b))&&d.parentNode&&ye(d);c&&c==a.j&&(a.l.appendChild(c),a.j=null,a.l=null,a.A&&a.A.na("ROOT_MENU_REMOVED"));R("yt-uix-menu-hide",b);c=xa(b).toString();N(a.w[c]);delete a.w[c]}}
g.Ig=function(a,b){var c=bt(b);c&&mA(this,a,c)};
g.Jg=function(a,b){var c=bt(b);if(c){var d=bA(this,a);if(d&&(c=Ye(c,"LI")))if(c=We(c).trim(),d.hasChildNodes()){var e=Az.getInstance();(d=E(W(e,"content"),d))&&Oe(d,c)}else Oe(d,c)}};
function jA(a,b){var c=hA(a,b);if(c){z(c.children,function(a){"LI"==a.tagName&&je(a,{role:"menuitem"})});
je(c,{"aria-expanded":"true"});var d=c.id;d||(d="aria-menu-id-"+xa(c),c.id=d);(c=bA(a,b))&&je(c,{"aria-controls":d})}}
function mA(a,b,c){var d=hA(a,b);d&&G(b,W(a,"checked"))&&(a=Ye(c,"LI"))&&(a=E("yt-ui-menu-item-checked-hid",a))&&(z(he("yt-ui-menu-item-checked",d),function(a){Hp(a,"yt-ui-menu-item-checked","yt-ui-menu-item-checked-hid")}),Hp(a,"yt-ui-menu-item-checked-hid","yt-ui-menu-item-checked"))}
function fA(a,b){var c=hA(a,b);return c?!G(c,W(a,"content-hidden")):!1}
function iA(a){z(fe("UL",null,a),function(a){a.tabIndex=0;var b=Uz.getInstance();Ep(a,[W(b),W(b,"list")])})}
function hA(a,b){var c=U(b,"menu-content-id");return c&&(c=D(c))?(Ep(c,[W(a,"content"),W(a,"content-external")]),c):b==a.l?a.j:E(W(a,"content"),b)}
function eA(a,b){var c=xa(b).toString(),d=a.C[c];if(!d){d=ue(document,"IFRAME");d.src='javascript:""';var e=[W(a,"mask")];z(Dp(b),function(a){e.push(a+"-mask")});
Ep(d,e);a.C[c]=d}return d||null}
function bA(a,b){return E(W(a,"trigger"),b)}
function kA(a,b){return Ts(b,a.j)||Ts(b,a.l)}
;function nA(){Oz.call(this,"clickcard");this.j={};this.l={}}
w(nA,Oz);ra(nA);g=nA.prototype;g.register=function(){nA.J.register.call(this);X(this,"click",this.Fd,"target");X(this,"click",this.Cd,"close")};
g.unregister=function(){nA.J.unregister.call(this);Y(this,"click",this.Fd,"target");Y(this,"click",this.Cd,"close");for(var a in this.j)N(this.j[a]);this.j={};for(a in this.l)N(this.l[a]);this.l={}};
g.Fd=function(a,b,c){c.preventDefault();b=Ye(c.target,"button");b&&b.disabled||(a=(b=this.G(a,"card-target"))?ee(b):a,b=this.X(a),this.G(b,"disabled")||(G(b,W(this,"active"))?(this.hide(a),I(b,W(this,"active"))):(this.show(a),H(b,W(this,"active")))))};
g.show=function(a){nA.J.show.call(this,a);var b=this.X(a),c=xa(a).toString();if(!U(b,"click-outside-persists")){if(this.j[c])return;var b=M(document,"click",u(this.Gd,this,a)),d=M(window,"blur",u(this.Gd,this,a));this.j[c]=[b,d]}a=M(window,"resize",u(this.pi,this,a,void 0));this.l[c]=a};
g.hide=function(a){nA.J.hide.call(this,a);a=xa(a).toString();var b=this.j[a];b&&(N(b),this.j[a]=null);if(b=this.l[a])N(b),delete this.l[a]};
g.Gd=function(a,b){var c="yt-uix"+(this.B?"-"+this.B:"")+"-card",d=null;b.target&&(d=F(b.target,c)||F($z(b.target),c));(d=d||F(document.activeElement,c)||F($z(document.activeElement),c))||this.hide(a)};
g.Cd=function(a){(a=F(a,W(this,"card")))&&(a=a.cardTargetNode)&&this.hide(a)};function oA(){Oz.call(this,"hovercard")}
w(oA,Oz);ra(oA);g=oA.prototype;g.register=function(){X(this,"mouseenter",this.ae,"target");X(this,"mouseleave",this.ce,"target");X(this,"mouseenter",this.be,"card");X(this,"mouseleave",this.de,"card")};
g.unregister=function(){Y(this,"mouseenter",this.ae,"target");Y(this,"mouseleave",this.ce,"target");Y(this,"mouseenter",this.be,"card");Y(this,"mouseleave",this.de,"card")};
g.ae=function(a){if(pA!=a){pA&&(this.hide(pA),pA=null);var b=u(this.show,this,a),c=parseInt(this.G(a,"delay-show"),10),b=L(b,-1<c?c:200);kx(a,"card-timer",b.toString());pA=a;a.alt&&(kx(a,"card-alt",a.alt),a.alt="");a.title&&(kx(a,"card-title",a.title),a.title="")}};
g.ce=function(a){var b=parseInt(this.G(a,"card-timer"),10);K(b);this.X(a).isCardHidable=!0;b=parseInt(this.G(a,"delay-hide"),10);b=-1<b?b:200;L(u(this.ug,this,a),b);if(b=this.G(a,"card-alt"))a.alt=b;if(b=this.G(a,"card-title"))a.title=b};
g.ug=function(a){this.X(a).isCardHidable&&(this.hide(a),pA=null)};
g.be=function(a){a&&(a.cardRootNode.isCardHidable=!1)};
g.de=function(a){a&&this.hide(a.cardTargetNode)};
var pA=null;function qA(a,b,c,d,e,f){this.j=a;this.D=null;this.w=E("yt-dialog-fg",this.j)||this.j;if(a=E("yt-dialog-title",this.w)){var h="yt-dialog-title-"+xa(this.w);a.setAttribute("id",h);this.w.setAttribute("aria-labelledby",h)}this.w.setAttribute("tabindex","-1");this.N=E("yt-dialog-focus-trap",this.j);this.L=!1;this.A=new Er;this.F=[];this.F.push(O(this.j,"click",u(this.Zg,this),"yt-dialog-dismiss"));this.F.push(M(this.N,"focus",u(this.Qf,this),!0));rA(this,"content");this.O=b;this.V=c;this.ca=d;this.H=
e;this.W=f;this.C=this.B=null}
var sA={LOADING:"loading",ej:"content",Fk:"working"};function tA(a,b){a.T()||a.A.subscribe("post-all",b)}
function rA(a,b){var c=E("yt-dialog-fg-content",a.j),d=[];bc(sA,function(a){d.push("yt-dialog-show-"+a)});
Fp(c,d);H(c,"yt-dialog-show-"+b)}
g=qA.prototype;
g.show=function(){if(!this.T()){this.D=document.activeElement;if(!this.ca){this.l||(this.l=D("yt-dialog-bg"),this.l||(this.l=ue(document,"div"),this.l.id="yt-dialog-bg",this.l.className="yt-dialog-bg",document.body.appendChild(this.l)));var a=window,b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=le(a).height,me(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{var b=d.scrollHeight,e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);
c=b>a?b>e?b:e:b<e?b:e}else c=0}this.l.style.height=c+"px";kz(this.l)}this.Ud();c=uA(this);vA(c);this.B=M(document,"keydown",u(this.Hg,this));c=this.j;d=Q("player-added",this.Ud,this);kx(c,"player-ready-pubsub-key",d);this.V&&(this.C=M(document,"click",u(this.Sh,this)));kz(this.j);this.w.setAttribute("tabindex","0");wA(this);this.H||H(document.body,"yt-dialog-active");Bz(Az.getInstance());Pz(nA.getInstance());Pz(oA.getInstance());R("yt-ui-dialog-show-complete",this)}};
function xA(){return Eb(he("yt-dialog"),function(a){return iz(a)})}
g.Ud=function(){if(!this.W){var a=this.j;Gp(document.body,"hide-players",!0);a&&Gp(a,"preserve-players",!0)}};
function uA(a){var b=fe("iframe",null,a.j);z(b,function(a){var b=U(a,"onload");b&&(b=t(b))&&M(a,"load",b);if(b=U(a,"src"))a.src=b},a);
return Pb(b)}
function vA(a){z(document.getElementsByTagName("iframe"),function(b){-1==zb(a,b)&&H(b,"iframe-hid")})}
function yA(){z(he("iframe-hid"),function(a){I(a,"iframe-hid")})}
g.Zg=function(a){a=a.currentTarget;a.disabled||(a=U(a,"action")||"",this.dismiss(a))};
g.dismiss=function(a){if(!this.T()){this.A.na("pre-all");this.A.na("pre-"+a);lz(this.j);Pz(nA.getInstance());Pz(oA.getInstance());this.w.setAttribute("tabindex","-1");xA()||(lz(this.l),this.H||I(document.body,"yt-dialog-active"),Us(),yA());this.B&&(N(this.B),this.B=null);this.C&&(N(this.C),this.C=null);var b=this.j;if(b){var c=U(b,"player-ready-pubsub-key");c&&(rt(c),jx(b,"player-ready-pubsub-key"))}this.A.na("post-all");R("yt-ui-dialog-hide-complete",this);"cancel"==a&&R("yt-ui-dialog-cancelled",
this);this.A&&this.A.na("post-"+a);this.D&&this.D.focus()}};
g.setTitle=function(a){Oe(E("yt-dialog-title",this.j),a)};
g.Hg=function(a){L(u(function(){this.O||27!=a.keyCode||this.dismiss("cancel")},this),0);
9==a.keyCode&&a.shiftKey&&G(document.activeElement,"yt-dialog-fg")&&a.preventDefault()};
g.Sh=function(a){"yt-dialog-base"==a.target.className&&this.dismiss("cancel")};
g.T=function(){return this.L};
g.dispose=function(){iz(this.j)&&this.dismiss("dispose");N(this.F);this.F.length=0;L(u(function(){this.D=null},this),0);
this.N=this.w=null;this.A.dispose();this.A=null;this.L=!0};
g.Qf=function(a){a.stopPropagation();wA(this)};
function wA(a){L(u(function(){this.w&&this.w.focus()},a),0)}
r("yt.ui.Dialog",qA,void 0);function zA(){V.call(this,"overlay");this.A=this.l=this.w=this.j=null}
w(zA,V);ra(zA);g=zA.prototype;g.register=function(){X(this,"click",this.ed,"target");X(this,"click",this.hide,"close");AA(this)};
g.unregister=function(){zA.J.unregister.call(this);Y(this,"click",this.ed,"target");Y(this,"click",this.hide,"close");this.A&&(rt(this.A),this.A=null);this.l&&(N(this.l),this.l=null)};
g.ed=function(a){if(!this.j||!iz(this.j.j)){var b=this.X(a);a=BA(b,a);b||(b=a?a.overlayParentNode:null);if(b&&a){var c=!!this.G(b,"disable-shortcuts")||!1,d=!!this.G(b,"disable-outside-click-dismiss")||!1;this.j=new qA(a,c);this.w=b;var e=E("yt-dialog-fg",a);if(e){var f=this.G(b,"overlay-class")||"",h=this.G(b,"overlay-style")||"default",k=this.G(b,"overlay-shape")||"default",f=f?f.split(" "):[];f.push(W(this,h));f.push(W(this,k));Ep(e,f)}this.j.show();R("yt-uix-kbd-nav-move-to",e||a);AA(this);c||
d||(c=u(function(a){G(a.target,"yt-dialog-base")&&CA(this)},this),a=E("yt-dialog-base",a),this.l=M(a,"click",c));
this.xa(b,"overlay-shown");R("yt-uix-overlay-shown",b)}}};
function AA(a){a.A||(a.A=Q("yt-uix-overlay-hide",DA));a.j&&tA(a.j,function(){var a=zA.getInstance();a.w=null;a.j.dispose();a.j=null})}
function CA(a){if(a.j){var b=a.w;a.j.dismiss("overlayhide");b&&a.xa(b,"overlay-hidden");a.w=null;a.l&&(N(a.l),a.l=null);a.j=null}}
function BA(a,b){var c;if(a)if(c=E("yt-dialog",a)){var d=D("body-container");d&&(d.appendChild(c),a.overlayContentNode=c,c.overlayParentNode=a)}else c=a.overlayContentNode;else b&&(c=F(b,"yt-dialog"));return c}
function EA(){var a=zA.getInstance();if(a.w)a=E("yt-dialog-fg-content",a.w.overlayContentNode);else a:{if(a=he("yt-dialog-fg-content"))for(var b=0;b<a.length;b++){var c=F(a[b],"yt-dialog");if(iz(c)){a=a[b];break a}}a=null}return a}
g.hide=function(a){a&&a.disabled||R("yt-uix-overlay-hide")};
function DA(){CA(zA.getInstance())}
g.show=function(a){this.ed(a)};function FA(){V.call(this,"char-counter")}
w(FA,V);ra(FA);FA.prototype.register=function(){X(this,"keydown",this.j,"input");X(this,"paste",this.j,"input");X(this,"cut",this.j,"input");X(this,"blur",this.j,"input")};
FA.prototype.unregister=function(){Y(this,"keydown",this.j,"input");Y(this,"paste",this.j,"input");Y(this,"cut",this.j,"input");Y(this,"blur",this.j,"input")};
FA.prototype.j=function(a){var b=this.X(a);if(b){var c="true"==this.G(b,"count-char-by-size"),d=parseInt(this.G(b,"char-limit"),10);isNaN(d)||0>=d||L(u(function(){var e="true"==this.G(b,"use-plaintext-length");GA(a,c,e);var f=parseInt(this.G(b,"warn-at-chars-remaining"),10);isNaN(f)&&(f=0);var h=d-HA(a,c,e);Gp(b,W(this,"maxed-out"),h<f);Gp(b,W(this,"maxed-out-singular"),1==Math.abs(h));"true"==this.G(b,"maxed-out-as-positive")&&(h=Math.abs(h));z(he(W(this,"remaining"),b),function(a){Oe(a,h)})},this),
0)}};
function GA(a,b,c){var d=parseInt(a.getAttribute("maxlength"),10);if(!isNaN(d)){var e=HA(a,b,c);if(b){if(e>d){b=a.value;c=b.length;var f=0,d=e-d,e="";do{e+=b[c-f];var h=unescape(encodeURIComponent(e)).length;f++}while(h<d);a.value=a.value.substring(0,c-f)}}else e>d&&(a.value=a.value.substring(0,d))}}
function HA(a,b,c){a=a.value;c&&(a=mq(a));return b?unescape(encodeURIComponent(a)).length:a.length}
;function IA(){V.call(this,"close")}
w(IA,V);ra(IA);IA.prototype.register=function(){X(this,"click",this.j)};
IA.prototype.unregister=function(){Y(this,"click",this.j)};
IA.prototype.j=function(a){var b,c=this.G(a,"close-parent-class"),d=this.G(a,"close-parent-id");d?b=D(d):c&&(b=F(a,c));b&&(lz(b),c=this.G(a,"close-focus-target-id"))&&(c=D(c))&&(d=Az.getInstance(),d.isToggled(c)&&Cz(d,c),c.focus());this.xa(a,"close-callback",b)};function JA(){V.call(this,"expander")}
w(JA,V);ra(JA);g=JA.prototype;g.register=function(){X(this,"click",this.df,"head");X(this,"keypress",this.ef,"head")};
g.unregister=function(){Y(this,"click",this.df,"head");Y(this,"keypress",this.ef,"head")};
g.df=function(a){KA(this,a)};
g.ef=function(a,b,c){c&&13==c.keyCode&&KA(this,a)};
function KA(a,b){var c=a.X(b);c&&(c&&(Te(c)||je(c,{tabIndex:"0"}),c.focus()),Ip(c,W(a,"collapsed")),LA(a,c),a.xa(c,"expander-action"))}
g.expand=function(a){if(a=this.X(a))I(a,W(this,"collapsed")),LA(this,a),this.xa(a,"expander-action")};
function LA(a,b){var c=!G(b,W(a,"collapsed"));R("yt-uix-expander-toggle",b,c);R("yt-dom-content-change",b)}
;function MA(){V.call(this,"form-input")}
w(MA,V);ra(MA);g=MA.prototype;
g.register=function(){B&&!Vc(9)&&(X(this,"click",this.Wa,"checkbox"),X(this,"keypressed",this.Wa,"checkbox"),X(this,"click",this.uc,"radio"),X(this,"keypressed",this.uc,"radio"));B&&!Vc(10)&&X(this,"click",this.Rd,"placeholder");X(this,"change",this.Wa,"checkbox");X(this,"blur",this.wd,"select-element");X(this,"change",this.Ya,"select-element");X(this,"keyup",this.Ya,"select-element");X(this,"focus",this.Kd,"select-element");X(this,"keyup",this.tb,"text");X(this,"keyup",this.tb,"textarea");X(this,
"keyup",this.tb,"bidi");X(this,"click",this.qg,"reset")};
g.unregister=function(){B&&!Vc(9)&&(Y(this,"click",this.Wa,"checkbox"),Y(this,"keypressed",this.Wa,"checkbox"),Y(this,"click",this.uc,"radio"),Y(this,"keypressed",this.uc,"radio"));B&&!Vc(10)&&Y(this,"click",this.Rd,"placeholder");Y(this,"change",this.Wa,"checkbox");Y(this,"blur",this.wd,"select-element");Y(this,"change",this.Ya,"select-element");Y(this,"keyup",this.Ya,"select-element");Y(this,"focus",this.Kd,"select-element");Y(this,"keyup",this.tb,"text");Y(this,"keyup",this.tb,"textarea");Y(this,
"keyup",this.tb,"bidi");MA.J.unregister.call(this)};
g.Wa=function(a){var b=F(a,W(this,"checkbox-container"));a.checked&&G(b,"partial")&&(a.checked=!1,a.indeterminate=!1,I(b,"partial"));Gp(b,"checked",a.checked)};
g.Zh=function(a){var b=F(a,W(this,"radio-container"));b&&Gp(b,"checked",a.checked)};
g.uc=function(){NA()};
g.tb=function(a){var b=a.value;zd.test(b)?a.dir="rtl":yd.test(b)?a.dir="ltr":a.removeAttribute("dir");B&&!Vc(10)&&(b=F(a,W(this,"container")))&&Gp(b,W(this,"non-empty"),!!a.value)};
g.Rd=function(a){(a=F(a,W(this,"container")))&&(a=zz(this,"text",a)||zz(this,"textarea",a))&&a.focus()};
g.Kd=function(a){var b=F(a,W(this,"select"));H(b,"focused");this.Ya(a)};
g.wd=function(a){var b=F(a,W(this,"select"));I(b,"focused");this.Ya(a)};
g.Ya=function(a){var b=F(a,W(this,"select")),c=E(W(this,"select-value"),b),d=a.options[Math.max(a.selectedIndex,0)];if(d)for(""!=c.innerHTML&&d.innerHTML!=c.innerHTML&&this.xa(a,"onchange-callback"),d=Ns(d),we(c);0<d.childNodes.length;)c.appendChild(d.childNodes[0]);Gp(b,W(this,"select-disabled"),a.disabled)};
g.qg=function(){var a=MA.getInstance();z(he(W(a,"checkbox")),a.Wa,a);NA();OA()};
function PA(a,b){a.checked=b;MA.getInstance().Wa(a)}
function NA(){var a=MA.getInstance();z(he(W(a,"radio")),a.Zh,a)}
function OA(){var a=MA.getInstance();z(he(W(a,"select-element")),a.Ya,a)}
function QA(){var a;return(a=(RA||document).querySelector('input[type="radio"][name="overlay-confirmation-preferences-update-frequency"]:checked'))?a.value:null}
;function SA(){V.call(this,"languagepicker");this.j={}}
w(SA,V);ra(SA);g=SA.prototype;g.register=function(){X(this,"click",this.Qd,"menu-item");X(this,"keyup",this.Ke,"search-input");X(this,"keydown",this.Td,"search-input");X(this,"blur",this.Sd,"search-input");X(this,"focus",this.Pd);wz(this,"yt-uix-button-menu-before-show",this.kg);wz(this,"yt-uix-button-menu-hide",this.jg)};
g.unregister=function(){Y(this,"click",this.Qd,"menu-item");Y(this,"keyup",this.Ke,"search-input");Y(this,"keydown",this.Td,"search-input");Y(this,"blur",this.Sd,"search-input");Y(this,"focus",this.Pd);N(hc(this.j));this.j={};SA.J.unregister.call(this)};
g.kg=function(a){if(G(a,"yt-languagepicker-button")){var b=xa(a);a=M(a,"keydown",u(this.fg,this));this.j[b]=a}};
g.jg=function(a){G(a,"yt-languagepicker-button")&&(a=xa(a),N(this.j[a]),delete this.j[a])};
function TA(a,b){return Fb(b,function(b){return!Fb(a,function(a){return 0!=a.lastIndexOf(b,0)})})}
function UA(a,b,c){z(a,function(a){var d=Kp(a,"value"),f=VA(a);hz(a,d!=c&&f&&TA(f,b))})}
function VA(a){if("undefined"===typeof a.j){var b=Kp(a,"searchTerms");b?(a.j=[],z(b.split(";"),function(b){Qb(a.j,WA(b))})):a.j=WA(We(a))}return a.j}
function WA(a){return a.toLowerCase().match(/[^ \(\)\[\]]+/g)||[]}
function XA(a,b){var c=Az.getInstance(),d=Fz(c,a);Hz(c,a);Jz(c,d,b)}
g.Ke=function(a){var b=this.X(a),c=zz(this,"search-result",b),d=WA(a.value);if(d){var e=Ae(c);a=Kp(b,"fallbackOption");UA(e,d,a);d=Gb(e,iz);a=c.querySelector('li[data-value="'+a+'"]');hz(c,!(!d&&!a));d?XA(b,d):a&&(kz(a),XA(b,a))}else hz(c,!1)};
g.Td=function(a,b,c){b=Az.getInstance();a=this.X(a);var d=Fz(b,a);switch(c.keyCode){case 13:case 9:(b=Hz(b,a))&&ct(Be(b),"click");c.preventDefault();break;case 27:Hz(b,a);Iz(b,d);c.preventDefault();break;case 38:case 40:d.focus(),c.preventDefault()}};
g.Qd=function(a){var b=Kp(a,"value"),c=this.X(a),d=Kp(c,"languagepickerInputId"),d=D(d);d.value=b;ct(d,"change");(d=zz(this,"suggestions",c))&&!d.querySelector('li[data-value="'+b+'"]')&&((b=zz(this,"selected",c))&&ye(b),a=a.cloneNode(!0),H(a,W(this,"selected")),d.insertBefore(a,d.childNodes[0]||null))};
function YA(a,b){var c=Az.getInstance(),d=a.X(b);Fz(c,d).focus()}
g.Sd=function(a){YA(this,a)};
g.Pd=function(a,b,c){"INPUT"!=c.target.tagName&&YA(this,a)};
g.fg=function(a){if(38!=a.keyCode&&40!=a.keyCode){var b=a.target,c=Az.getInstance(),b=Dz(c,b),b=zz(this,"search-input",b);13!=a.keyCode&&9!=a.keyCode&&32!=a.keyCode&&(b.value="");b.focus()}};var ZA;function $A(){if(!n(ZA)){var a=document.createElement("div");n(a.style.MozTransition)?ZA="Moz":n(a.style.WebkitTransition)?ZA="Webkit":n(a.style.j)?ZA="O":ZA=null}return ZA}
;function aB(a,b){Ix.call(this,a,b)}
w(aB,Ix);function bB(a,b,c){b=$A()+b;a.el.style[b]=c}
aB.prototype.play=function(){this.el.style.opacity=this.l;L(u(function(){bB(this,"TransitionTimingFunction",this.fd);bB(this,"TransitionDuration",this.duration+"s");bB(this,"TransitionProperty","opacity");dt(this.el,Ic?"webkitTransitionEnd":Ec?"oTransitionEnd":"transitionend",u(function(){bB(this,"TransitionTimingFunction","");bB(this,"TransitionDuration","");bB(this,"TransitionProperty","");this.lc&&this.lc(this)},this));
this.el.style.opacity=this.j},this),20)};function cB(a,b){this.C=1;this.B=0;this.A=!1;Jx.call(this,a,b)}
w(cB,Jx);cB.prototype.setup=function(a){var b=parseFloat(a.start),c=parseFloat(a.end);this.C=isNaN(b)?1:b;this.B=isNaN(c)?0:c;this.A=!n(this.el.style.opacity);cB.J.setup.call(this,a)};
cB.prototype.oa=function(){this.A&&1==this.B&&(this.el.style.filter="")};
function dB(a,b){this.l=1;this.j=0;Ix.call(this,a,b)}
w(dB,aB);dB.prototype.setup=function(a){var b=parseFloat(a.start),c=parseFloat(a.end);this.l=isNaN(b)?1:b;this.j=isNaN(c)?0:c;dB.J.setup.call(this,a)};function eB(a,b,c){var d={duration:.5};d.start=b;d.end=c;$A()?new dB(a,d):new cB(a,d)}
;function fB(a){var b=J("GAPI_HOST",void 0),c=J("GAPI_HINT_PARAMS",void 0),d=J("GAPI_LOCALE",void 0),e=J("LOGGED_IN"),f=J("SESSION_INDEX",void 0),h=J("DELEGATED_SESSION_ID",void 0),b={lang:d,"googleapis.config":{signedIn:e},iframes:{":socialhost:":b}};b.iframes.visibility={url:":socialhost:/:im_prefix::session_prefix:_/widget/render/visibility"};e&&(f&&(b["googleapis.config"].sessionIndex=f),h&&(b["googleapis.config"].sessionDelegate=h));return{callback:a,config:b,_c:{jsl:{h:c}}}}
function gB(a,b){var c=b,c=void 0===c?{}:c;va(c)&&(c={callback:c});c._c&&c._c.jsl&&c._c.jsl.h||rc(c,{_c:{jsl:{h:J("GAPI_HINT_PARAMS",void 0)}}});b=c;(b.gapiHintOverride||J("GAPI_HINT_OVERRIDE"))&&(c=ts(document.location.href).gapi_jsh)&&rc(b,{_c:{jsl:{h:c}}});Io(a,b)}
;function hB(a){this.j=a||iu();iB||(iB=jB(this.j))}
function jB(a){return(new Qi(function(b){try{gB("client",{gapiHintOverride:a.gapiHintOverride,_c:{jsl:{h:a.gapiHintParams}},callback:b})}catch(c){is(c)}})).then(function(){})}
hB.prototype.A=function(){var a=t("gapi.config.update");a("googleapis.config/auth/useFirstPartyAuth",!0);a("googleapis.config/auth/useFirstPartyAuthV2",!0);var b=this.j.apiaryHost;$a(tb(b))||a("googleapis.config/root",(-1==b.indexOf("://")?"//":"")+b);b=this.j.Ff;$a(tb(b))||a("googleapis.config/root-1p",(-1==b.indexOf("://")?"//":"")+b);b=J("SESSION_INDEX");a("googleapis.config/sessionIndex",b);t("gapi.client.setApiKey")(this.j.innertubeApiKey)};
hB.prototype.l=function(){return{context:hu(this.j)}};
hB.prototype.w=function(a,b,c){var d,e=!1;0<c.timeout&&(d=L(function(){e||(e=!0,c.Va&&c.Va())},c.timeout));
kB(this,a,b,function(a){if(!e)if(e=!0,d&&K(d),a)c.R&&c.R(a);else if(c.onError)c.onError()})};
function kB(a,b,c,d){var e={path:ju(a.j.innertubeApiVersion,b,c),headers:{"X-Goog-Visitor-Id":J("VISITOR_DATA")},method:"POST",body:ui(c)},f=u(a.A,a);iB.then(function(){f();t("gapi.client.request")(e).execute(d||qa)})}
var iB=null;function lB(a,b){Pt(a,b,ht("enable_youtubei_innertube")?ku:hB,void 0,void 0)}
function mB(){ht("log_web_meta")&&Lt().forEach(function(a){lB("delayedEventMetricCaptured",a)})}
;function nB(){V.call(this,"mouseover-img-wrap");this.A=this.w=!1;this.C=this.D=this.l=-1;this.j=""}
w(nB,V);ra(nB);var oB=0,pB=0;g=nB.prototype;g.register=function(){X(this,"mouseover",this.Bb);X(this,No,this.Bb);X(this,"focus",this.Bb);X(this,"mouseout",this.Ab);X(this,Oo,this.Ab);X(this,"blur",this.Ab);X(this,"click",this.jf);X(this,"mousedown",this.ee)};
g.unregister=function(){K(oB);K(pB);Y(this,"mouseover",this.Bb);Y(this,No,this.Bb);Y(this,"focus",this.Bb);Y(this,"mouseout",this.Ab);Y(this,Oo,this.Ab);Y(this,"blur",this.Ab);Y(this,"click",this.jf);Y(this,"mousedown",this.ee);nB.J.unregister.call(this)};
function qB(a){a=a.getElementsByTagName("img");return 0<a.length?a[0]:null}
function rB(a){return(a=a.match(/\/([a-zA-Z0-9_-]{11})\//))?a[1]:""}
function sB(a){if(a.A){if(0<a.D&&0<a.C){var b={isMovingThumbnail:!0,durationLoadingMs:Math.round(a.C-a.D)};a.j&&(b.videoId=a.j);lB("thumbnailLoaded",b)}a.w?(b=0,0<a.l&&(b=Math.round(ds()-a.l)),b={isMovingThumbnail:!0,durationHoveredMs:b}):b={isMovingThumbnail:!1};a.j&&(b.videoId=a.j);var c=Yt();c&&(b.clientScreenNonce=c);lB("thumbnailHovered",b);a.A=!1;a.w=!1;a.l=-1;a.D=-1;a.C=-1;a.j=""}}
function tB(a,b){var c=a.G(b,"mouseover-src");return qe("IMG",{"class":"mouseover-img",src:c,width:b.width,height:b.height})}
function uB(a){return E("mouseover-img",a)}
function vB(a,b,c){120!=b.naturalWidth?(a.l=ds(),a.C=ds(),oB=L(a.tg,2500),eB(b,0,1)):c&&eB(c,0,1)}
g.tg=function(a){K(oB);oB=0;var b=uB(a);b&&(eB(b,1,0),(a=wB(a))&&eB(a,0,1))};
function xB(){var a=qe("DIV",{"class":"mouseover-play"}),b=document.createElementNS("http://www.w3.org/2000/svg","svg");b.setAttribute("width","48px");b.setAttribute("height","48px");b.setAttribute("viewBox","0 0 24 24");b.setAttribute("fill","#fff");var c=document.createElementNS("http://www.w3.org/2000/svg","path");c.setAttribute("d","M8 5v14l11-7z");b.appendChild(c);a.appendChild(b);return a}
function wB(a){return E("mouseover-play",a)}
function yB(a){return"none"!=(mf(a,"display")||(a.currentStyle?a.currentStyle.display:null)||a.style&&a.style.display)}
g.ee=function(a){K(pB);pB=0;if((a=uB(a))&&!a.complete){var b=Id("");a.src=Gd(b);a.onload=null;K(oB);oB=0}};
g.Bb=function(a){var b=qB(a);if(b){var c=this.G(b,"mouseover-src"),d=wB(a),e=uB(a);if(!d||c&&!e)c?(this.w=!0,this.j=rB(c)):(this.w=!1,b.src&&(this.j=rB(b.src))),d||(d=xB(),b.parentNode.appendChild(d)),K(pB),pB=0,this.A=!1,pB=L(function(){this.D=ds();this.A=!0;d&&!c&&eB(d,0,1);c&&!e&&(e=tB(this,b),b.parentNode.appendChild(e),e.complete?vB(this,e,d):e.onload=function(){vB(this,e,d)}.bind(this))}.bind(this),150)}};
g.Ab=function(a){var b=qB(a);if(null!=b){var c=this.G(b,"mouseover-src");this.G(b,"mouseover-log");b=wB(a);a=uB(a);if(b&&!yB(b)||c&&a&&!yB(a))K(pB),pB=0,b&&b.parentNode.removeChild(b),a&&(a.onload=null,a.complete&&120!=a.naturalWidth||(this.l=0),K(oB),oB=0,c=Id(""),a.src=Gd(c),a.parentNode.removeChild(a)),sB(this)}};
g.jf=function(){sB(this)};function zB(){V.call(this,"redirect-link")}
w(zB,V);ra(zB);zB.prototype.register=function(){X(this,"click",this.j)};
zB.prototype.unregister=function(){Y(this,"click",this.j)};
zB.prototype.j=function(a){if(!U(a,"redirect-href-updated")){kx(a,"redirect-href-updated","true");var b=J("XSRF_REDIRECT_TOKEN");if(b){var c={};c.q=a.href;c.redir_token=b;Xd(a,Eg("/redirect",c))}}};function AB(){V.call(this,"scroller");this.j={}}
w(AB,V);ra(AB);g=AB.prototype;g.register=function(){X(this,"mouseenter",this.fe);X(this,"mouseleave",this.jc)};
g.unregister=function(){Y(this,"mouseenter",this.fe);Y(this,"mouseleave",this.jc);for(var a in this.j)this.jc(this.j[a]);this.j={};AB.J.unregister.call(this)};
g.dispose=function(){for(var a in this.j)this.jc(this.j[a]);this.j={}};
g.fe=function(a){var b=M(a,"mousewheel",u(this.ng,this,a));kx(a,"scroller-mousewheel-listener",b);b=M(a,"scroll",u(this.Li,this,a));kx(a,"scroller-scroll-listener",b);a&&(b=xa(a).toString(),this.j[b]=a)};
g.jc=function(a){var b=this.G(a,"scroller-mousewheel-listener")||"";kx(a,"scroller-mousewheel-listener","");var c=this.G(a,"scroller-scroll-listener")||"";kx(a,"scroller-scroll-listener","");N(b);N(c);kx(a,"scroller-scroll-listener","");a&&(a=xa(a).toString(),delete this.j[a])};
g.ng=function(a,b){var c=b||window.event;var d=0;"MozMousePixelScroll"==c.type?d=0==(c.axis==c.HORIZONTAL_AXIS)?c.detail:0:window.opera?d=c.detail:d=0==c.wheelDelta%120?"WebkitTransform"in document.documentElement.style?window.chrome&&0==navigator.platform.indexOf("Mac")?c.wheelDeltaY/-30:c.wheelDeltaY/-1.2:c.wheelDelta/-1.6:c.wheelDeltaY/-3;if(c=d)d=a.scrollTop,a.scrollTop+=c,d==a.scrollTop&&this.G(a,"scroller-allow-pagescroll")||b.preventDefault()};
g.Li=function(a){this.xa(a,"scroll-action");R("yt-dom-content-change",a)};function BB(){V.call(this,"sessionlink")}
w(BB,V);ra(BB);BB.prototype.register=function(){X(this,"mousedown",this.j);X(this,"click",this.j)};
BB.prototype.unregister=function(){Y(this,"mousedown",this.j);Y(this,"click",this.j)};
BB.prototype.j=function(a){CB(a)};
function CB(a){var b;if(b=U(a,"sessionlink-target")||a.href||""){var c=U(a,"sessionlink")||"";c=os(c);(a=parseInt(U(a,"sessionlink-lifetime"),10))?bu(b,c,a):bu(b,c)}}
;function DB(a){V.call(this,a||"slider");this.l=0;this.j=null}
w(DB,V);ra(DB);g=DB.prototype;g.register=function(){X(this,"click",this.Ed,"prev");X(this,"click",this.Dd,"next");X(this,"keyup",this.oe,"item");this.j=M(window,"resize",u(this.og,this));wz(this,"yt-uix-expander-toggle",this.zc)};
g.unregister=function(){Y(this,"click",this.Ed,"prev");Y(this,"click",this.Dd,"next");Y(this,"click",this.oe,"item");N(this.j);DB.J.unregister.call(this)};
g.zc=function(){z(he(W(this)),function(a){EB(this,a)},this)};
g.og=function(){K(this.l);this.l=L(u(this.zc,this),200)};
function FB(a,b,c){var d=a.X(b);if(!G(d,W(a,"is-moving"))){b=zz(a,"list",d);var e=zz(a,"body",d),f=Pb(he(W(a,"item"),d));if(f){var h=f[0];if("forward"==c){var k=GB(d,e,f);c=n(k.nextElementSibling)?k.nextElementSibling:Ce(k.nextSibling,!0);if(!c)return;k=HB(a,c,e,f);h=c}else if("back"==c){k=IB(d,e,f);c=n(k.previousElementSibling)?k.previousElementSibling:Ce(k.previousSibling,!1);if(!c)return;k=JB(a,c,e,f);h=c}H(d,W(a,"is-moving"));yf(d)?b.style.right=(parseInt(b.style.right,10)||0)-k+"px":b.style.left=
(parseInt(b.style.left,10)||0)+k+"px";var l=L(u(a.Ee,a,d,h),510);dt(b,Po,u(function(a){K(l);this.Ee(d,a)},a,h))}}}
g.Dd=function(a){FB(this,a,"forward")};
g.Ed=function(a){FB(this,a,"back")};
g.oe=function(a){(a=this.X(a))&&R("yt-dom-content-change",a)};
function IB(a,b,c){return yf(a)?KB(a,b,c):LB(a,b,c)}
function GB(a,b,c){return yf(a)?LB(a,b,c):KB(a,b,c)}
function LB(a,b,c){function d(a){return sf(a)>e-1}
var e=sf(b);return yf(a)?Ib(c,d):Gb(c,d)}
function KB(a,b,c){function d(a){a=sf(a)+a.offsetWidth;return e>a-1}
var e=sf(b)+b.offsetWidth;return yf(a)?Gb(c,d):Ib(c,d)}
function JB(a,b,c,d){var e=a.X(b);var f=sf(c);var h=f+c.offsetWidth,k=sf(b);b=k+b.offsetWidth;var l=d[0];d=sf(l);l=d+l.offsetWidth;yf(e)?(c=a.Mc(e,c)-k,f=h-l):(c=a.Nc(e,c)-b,f-=d);Gp(e,W(a,"at-tail"),!1);if(Math.abs(c)+1<Math.abs(f))return c;Gp(e,W(a,"at-head"),!0);return f}
function HB(a,b,c,d){var e=a.X(b);var f=sf(c);var h=f+c.offsetWidth,k=sf(b);b=k+b.offsetWidth;var l=d[d.length-1];d=sf(l);l=d+l.offsetWidth;yf(e)?(c=a.Nc(e,c)-b,f-=d):(c=a.Mc(e,c)-k,f=h-l);Gp(e,W(a,"at-head"),!1);if(Math.abs(c)+1<Math.abs(f))return c;Gp(e,W(a,"at-tail"),!0);return f}
g.Mc=function(a,b){return sf(b)};
g.Nc=function(a,b){return sf(b)+b.offsetWidth};
g.Ee=function(a,b){a&&(I(a,W(this,"is-moving")),EB(this,a),R("yt-uix-slider-slide-shown",b),R("yt-dom-content-change",a))};
function EB(a,b){var c=zz(a,"body",b),d=Pb(he(W(a,"item"),b));if(d&&d.length){var e=IB(b,c,d);c=GB(b,c,d);e=e==d[0];d=c==d[d.length-1]}else e=d=!0;Gp(b,W(a,"at-head"),e);Gp(b,W(a,"at-tail"),d);if(a.G(b,"disable-slider-buttons")){if(c=zz(a,"prev",b))c.disabled=e;if(e=zz(a,"next",b))e.disabled=d}}
;function MB(){V.call(this,"tabs")}
w(MB,V);ra(MB);MB.prototype.register=function(){X(this,"click",this.j,"tab");X(this,"keydown",this.l,"tab")};
MB.prototype.unregister=function(){Y(this,"click",this.j,"tab");Y(this,"keydown",this.l,"tab");MB.J.unregister.call(this)};
MB.prototype.j=function(a){if(!G(a,"disabled")){var b=this.X(a),c=W(this,"selected"),d=this.G(b,"uix-tabs-selected-extra-class");if(b=E(c,b)){var e=NB(this,b);I(b,c);d&&I(b,d);lz(e)}b=NB(this,a);H(a,c);d&&H(a,d);kz(b);R("yt-uix-tabs-after-shown",a,b)}};
MB.prototype.l=function(a,b,c){13==c.keyCode&&this.j(a)};
function NB(a,b){var c=a.G(b,"uix-tabs-target-id");return D(c)}
;function OB(){V.call(this,"tile")}
w(OB,V);ra(OB);OB.prototype.register=function(){X(this,"click",this.j)};
OB.prototype.unregister=function(){Y(this,"click",this.j)};
OB.prototype.j=function(a,b,c){Ye(c.target,"a")||Ye(c.target,"button")||!(a=E(W(this,"link"),a))||(B&&!Vc(9)?a.click():(G(a,"yt-uix-sessionlink")&&CB(a),G(a,"spf-link")?Tx(a.href):Sx(a.href)))};function PB(){var a=Rs();return a?a:null}
;function QB(){V.call(this,"tooltip");this.j=0;this.l={}}
w(QB,V);ra(QB);g=QB.prototype;g.register=function(){X(this,"mouseover",this.Fc);X(this,"mouseout",this.nb);X(this,"focus",this.Jd);X(this,"blur",this.vd);X(this,"click",this.nb);X(this,"touchstart",this.Qe);X(this,"touchend",this.xc);X(this,"touchcancel",this.xc)};
g.unregister=function(){Y(this,"mouseover",this.Fc);Y(this,"mouseout",this.nb);Y(this,"focus",this.Jd);Y(this,"blur",this.vd);Y(this,"click",this.nb);Y(this,"touchstart",this.Qe);Y(this,"touchend",this.xc);Y(this,"touchcancel",this.xc);this.dispose();QB.J.unregister.call(this)};
g.dispose=function(){for(var a in this.l)this.nb(this.l[a]);this.l={}};
g.Fc=function(a){if(!(this.j&&1E3>v()-this.j)){var b=parseInt(this.G(a,"tooltip-hide-timer"),10);b&&(jx(a,"tooltip-hide-timer"),K(b));var b=u(function(){RB(this,a);jx(a,"tooltip-show-timer")},this),c=parseInt(this.G(a,"tooltip-show-delay"),10)||0,b=L(b,c);
kx(a,"tooltip-show-timer",b.toString());a.title&&(yz(a,SB(this,a)),a.title="");b=xa(a).toString();this.l[b]=a}};
g.nb=function(a){var b=parseInt(this.G(a,"tooltip-show-timer"),10);b&&(K(b),jx(a,"tooltip-show-timer"));b=u(function(){if(a){var b=D(TB(this,a));b&&(UB(b),ye(b),jx(a,"content-id"));b=D(TB(this,a,"arialabel"));ye(b)}jx(a,"tooltip-hide-timer")},this);
b=L(b,50);kx(a,"tooltip-hide-timer",b.toString());if(b=this.G(a,"tooltip-text"))a.title=b;b=xa(a).toString();delete this.l[b]};
g.Jd=function(a){this.j=0;this.Fc(a)};
g.vd=function(a){this.j=0;this.nb(a)};
g.Qe=function(a,b,c){c.changedTouches&&(this.j=0,(a=uz(b,W(this),c.changedTouches[0].target))&&this.Fc(a))};
g.xc=function(a,b,c){c.changedTouches&&(this.j=v(),(a=uz(b,W(this),c.changedTouches[0].target))&&this.nb(a))};
function VB(a,b,c){yz(b,c);a=a.G(b,"content-id");(a=D(a))&&Oe(a,c)}
function SB(a,b){return a.G(b,"tooltip-text")||b.title}
function RB(a,b){if(b){var c=SB(a,b);if(c){var d=D(TB(a,b));if(!d){d=document.createElement("div");d.id=TB(a,b);d.className=W(a,"tip");var e=document.createElement("div");e.className=W(a,"tip-body");var f=document.createElement("div");f.className=W(a,"tip-arrow");var h=document.createElement("div");h.setAttribute("aria-hidden","true");h.className=W(a,"tip-content");var k=WB(a,b),l=TB(a,b,"content");h.id=l;kx(b,"content-id",l);e.appendChild(h);k&&d.appendChild(k);d.appendChild(e);d.appendChild(f);
var p=We(b);l=TB(a,b,"arialabel");f=document.createElement("div");H(f,W(a,"arialabel"));f.id=l;p=b.hasAttribute("aria-label")?b.getAttribute("aria-label"):"rtl"==document.body.getAttribute("dir")?c+" "+p:p+" "+c;Oe(f,p);b.setAttribute("aria-labelledby",l);l=PB()||document.body;l.appendChild(f);l.appendChild(d);VB(a,b,c);(c=parseInt(a.G(b,"tooltip-max-width"),10))&&e.offsetWidth>c&&(e.style.width=c+"px",H(h,W(a,"normal-wrap")));h=G(b,W(a,"reverse"));XB(a,b,d,e,k,h)||XB(a,b,d,e,k,!h);var y=W(a,"tip-visible");
L(function(){H(d,y)},0)}}}}
function XB(a,b,c,d,e,f){Gp(c,W(a,"tip-reverse"),f);var h=0;f&&(h=1);var k=vf(b);f=new cd((k.width-10)/2,f?k.height:0);var l=rf(b);Dr(new cd(l.x+f.x,l.y+f.y),c,h);f=le(window);if(1==c.nodeType)var p=tf(c);else c=c.changedTouches?c.changedTouches[0]:c,p=new cd(c.clientX,c.clientY);c=vf(d);var y=Math.floor(c.width/2),h=!!(f.height<p.y+k.height),k=!!(p.y<k.height),l=!!(p.x<y);f=!!(f.width<p.x+y);p=(c.width+3)/-2- -5;a=a.G(b,"force-tooltip-direction");if("left"==a||l)p=-5;else if("right"==a||f)p=20-c.width-
3;a=Math.floor(p)+"px";d.style.left=a;e&&(e.style.left=a,e.style.height=c.height+"px",e.style.width=c.width+"px");return!(h||k)}
function TB(a,b,c){a=W(a)+Ss(b);c&&(a+="-"+c);return a}
function WB(a,b){var c=null;Kc&&G(b,W(a,"masked"))&&((c=D("yt-uix-tooltip-shared-mask"))?(c.parentNode.removeChild(c),kz(c)):(c=document.createElement("iframe"),c.src='javascript:""',c.id="yt-uix-tooltip-shared-mask",c.className=W(a,"tip-mask")));return c}
function UB(a){var b=D("yt-uix-tooltip-shared-mask"),c=b&&Ze(b,function(b){return b==a},!1,2);
b&&c&&(b.parentNode.removeChild(b),lz(b),document.body.appendChild(b))}
;var YB=window.yt&&window.yt.uix&&window.yt.uix.widgets_||{};r("yt.uix.widgets_",YB,void 0);function ZB(a){a=a.getInstance();var b=W(a);b in YB||(a.register(),wz(a,"yt-uix-init-"+b,a.init),wz(a,"yt-uix-dispose-"+b,a.dispose),YB[b]=a)}
;function $B(){this.w=[]}
g=$B.prototype;g.ke=function(){};
g.dispose=function(){this.w&&(N(this.w),this.w=[]);this.ke()};
function aC(a,b,c,d,e){a.w.push(O(b,c,u(d,a),e))}
g.Pb=function(a,b,c,d){this.w.push(M(a,b,u(c,d||this)))};
g.redirect=function(a){Sx(a)};
function bC(a,b){if(!b)return!1;var c=b.redirect_url;if(!c)try{var d=Fs(b),c=Es(d,"redirect_url")}catch(e){c=null}if(!c)return!1;a.redirect(c);return!0}
g.kc=function(){};
g.Pg=function(a,b,c){(c=ti(c.responseText))&&(a&&bC(this,c)||b&&b.call(this,c))};
function cC(a,b,c,d,e,f,h){a={format:b,method:"POST",onError:h||u(a.kc,a),oa:void 0,R:f,U:e||{},la:d||{},Hb:!0};ys(c,a)}
;function dC(){this.w=[];this.F=this.D="";this.N=null;this.H=this.B=!1;this.L=null;this.ca=this.O=""}
w(dC,$B);g=dC.prototype;g.je=function(){};
g.close=function(a){this.H=!1;this.l.dismiss(a||"close");this.dispose()};
g.create=function(a,b,c,d){this.H&&(b&&(this.N=b),c&&(this.L=c),a&&!this.B?this.gi({},d):this.Ic())};
g.open=function(a,b,c,d,e,f,h,k,l){this.D=a;this.O=b;if(this.C=D(this.D+"-lb")){(a=Uy())&&a.pauseVideo&&a.pauseVideo();if(this.B)this.reset();else{this.l=new qA(this.C,k);try{this.l.setTitle("")}catch(p){}}eC(this,"loading");this.l.show();this.H=!0}d&&this.create(e,f,h,l)};
g.reset=function(){this.B&&fC(this)};
function gC(a,b){tA(a.l,b)}
g.gi=function(a,b,c,d,e){arguments.length&&eC(this,e||"loading");var f=a||{};this.N&&(f.feature=this.N);this.L&&(f.next=this.L);cC(this,"XML",this.O,f,b||{},u(this.Qg,this,c),d)};
function eC(a,b){switch(b){case "content":rA(a.l,"content");break;case "loading":rA(a.l,"loading");break;case "working":rA(a.l,"working")}}
function fC(a,b){if(a.B){var c=b||a.ca;if(c){if(a.F){var d=a.j;I(d,a.F);H(d,c)}else H(a.j,c);a.F=c}}}
g.Ic=function(a,b){a&&Wd(D(this.D+"-dialog"),a);if(b)try{this.l.setTitle(b)}catch(d){}this.j=E("yt-dialog-fg",this.C);var c=E("yt-pd-params",this.C);this.ca=U(c,"start-page")||"";aC(this,this.j,"click",this.ah,"yt-pd-close");aC(this,this.j,"click",this.Yg,"yt-pd-setclass");aC(this,this.j,"click",this.uh,"yt-pd-setpage");this.je();eC(this,"content");this.B=!0;fC(this)};
g.ah=function(){this.close("cancel")};
g.Yg=function(a){a=F(a.target,"yt-pd-setclass");var b=U(a,"off");b&&Gp(this.j,b,!1);(a=U(a,"on"))&&Gp(this.j,a,!0)};
g.uh=function(a){a=F(a.target,"yt-pd-setpage");(a=U(a,"state-container-id"))&&fC(this,a)};
g.kc=function(a){dC.J.kc.call(this,a);this.close()};
g.Qg=function(a,b,c){var d=Fs(b);if(d){var e=Es(d,"not_eligible"),f=Es(d,"error_message");e||f?this.kc(b):bC(this,b)||(c=c.html_content||void 0,d=Es(d,"title")||void 0,a?a(b,u(this.Ic,this,c,d)):this.Ic(c,d))}};function hC(){this.w=[];this.F=this.C=null;this.D=this.A=!1}
w(hC,$B);g=hC.prototype;g.Yc=function(){};
g.oc=function(){};
g.init=function(a,b,c,d,e){this.C=a||null;this.F=b||null;c?d&&e&&(aC(this,d,"mousedown",this.lf,e),aC(this,d,"click",this.Oe,e)):(this.lf(),this.Oe())};
g.ac=function(a,b){var c=Array.prototype.slice.call(arguments,1);(q(a)?t(a+".init"):a.init).apply(this,c)};
g.lf=function(a){this.A||(this.C&&oy(this.C),this.F&&rx(this.F,u(function(){(this.A=!0,this.D)&&this.oc(a)},this)))};
g.Oe=function(a){this.Yc(a);this.D=!0;this.A&&this.D&&this.oc(a)};var iC={};function jC(a){var b=xa(a),c=iC[b];c||(c=new a,iC[b]=c);return c}
;function kC(){hC.call(this);this.B=null}
w(kC,hC);kC.prototype.Yc=function(a){a&&(this.B=U(a.currentTarget,"pageid"))};
kC.prototype.oc=function(){this.ac("yt.www.account.AddNewChannelDialog",this.B)};function lC(){hC.call(this);this.l=this.j=null;this.N=!1}
w(lC,hC);function mC(a,b){var c=jC(lC);b&&(c.j=b);c.init(J("CREATE_CHANNEL_CSS_URL",void 0),J("CREATE_CHANNEL_JS_URL",void 0),!a,D("body-container"),"create-channel-lightbox")}
lC.prototype.Yc=function(a){this.j||(a&&(a=U(a.currentTarget,"upsell"),"settings"==a||"upload"==a||"playlist"==a||"guide"==a||"comment"==a||"message"==a||"captions"==a||"live_chat"==a)&&(this.j=a),this.j||(this.j="default"))};
lC.prototype.oc=function(){switch(this.j){case "settings":this.l="/profile";break;case "guide":this.l=J("CREATE_CHANNEL_NEXT_URL_GUIDE",void 0);break;case "upload":this.l=J("CREATE_CHANNEL_NEXT_URL_UPLOAD",void 0);break;default:this.l=document.location.href}J("CREATE_CHANNEL_NEXT_URL")&&(this.l=J("CREATE_CHANNEL_NEXT_URL",void 0));if(J("CREATE_CHANNEL_USERNAME_MODE"))this.ac("yt.www.account.CreateChannelDialog",this.H,this.j,this.l);else if(!this.N){this.N=!0;var a=u(this.Pg,this,!1,this.L||null);
cC(this,"JSON","/create_channel_ajax",{action_get_type:1},{},a)}};
lC.prototype.H=function(){var a=J("CREATE_CHANNEL_NEXT_URL",void 0);a&&("/"==a?Sx(a):window.history.back())};
lC.prototype.L=function(a){this.N=!1;if(a.open_generic_dialog)nC(this);else if("success"in a&&a.success)switch(a.type){case 15:case 17:case 18:this.ac("yt.www.account.CreateCoreIdChannelDialog",this.H,this.j,this.l);break;case 8:Sx("/oops");break;case 5:Sx("/create_channel?action_blocked_misc=1");break;default:this.ac("yt.www.account.CreateChannelDialog",this.H,this.j,this.l)}else"redirect_url"in a&&a.redirect_url?Sx(a.redirect_url):Sx("/oops")};
function nC(a){var b=jC(dC),c=a.l;c&&(-1<c.indexOf("create_channel")||-1<c.indexOf("upload")||-1<c.indexOf("profile"))&&(c="/");b.open("create-channel-identity","/create_channel_ajax","create_channel_ajax",!0,!0,a.j,c);c&&gC(b,function(){Sx(c)})}
;var oC,pC,qC,rC,sC=[],tC=!1,uC=!1,vC=[];function wC(){var a=D("body-container");sC.push(O(a,"mousedown",xC,"link-gplus-lightbox"));sC.push(O(a,"click",yC,"link-gplus-lightbox"));vC.push(Q("LINK-GPLUS-LOADER-DISMISS",zC));vC.push(Q("LINK-GPLUS-LOADER-CANCEL",AC));vC.push(Q("LINK-GPLUS-LOADER-GOTO-CONTENT-STATE",BC));vC.push(Q("LINK-GPLUS-LOADER-GOTO-WORKING-STATE",CC));vC.push(Q("LINK-GPLUS-LOADER-SET-WAIT-CURSOR",DC));vC.push(Q("LINK-GPLUS-LOADER-SHOW-DIALOG",EC))}
function zC(){uC=!0;pC.dismiss("cancel")}
function AC(){pC.dismiss("cancel")}
function BC(){rA(pC,"content")}
function CC(){rA(pC,"working")}
function DC(a){a?document.body.style.cursor="wait":"wait"==document.body.style.cursor&&(document.body.style.cursor="default")}
function xC(){if(!D("link-gplus-css")){rx(J("LINK_GPLUS_JS_URL",void 0),FC);var a=fe("head")[0],b=qe("LINK",{id:"link-gplus-css",rel:"stylesheet",href:J("LINK_GPLUS_CSS_URL",void 0)});a.insertBefore(b,a.childNodes[0]||null)}}
function FC(){tC=!0;oC&&tC&&GC()}
function yC(a){var b=F(a.target,"link-gplus-lightbox");qC=G(b,"ignore-opt-out");rC=U(b,"upsell");a.preventDefault();HC()}
function HC(){if(!pC){var a=D("link-gplus-lb");if(!a)return;pC=new qA(a,!0)}uC?"upload"==rC&&Sx("/upload"):(oC=!0,DC(!0),xC(),tC&&GC())}
function GC(){var a="";if("upload"==rC)a="/upload";else if("settings"==rC)a="/account";else if("fans"==rC)a="/audience";else if("active_signin"==rC||"channel"==rC||"comment"==rC||"plus_page"==rC)a=J("LINK_GPLUS_NEXT_URL");t("yt.www.account.LinkGplusDialog.fetchAndShow")(rC,a,qC)}
function IC(a){wC();xC();if(a)qC=!0,rC=a;else if(qC=!1,rC="signin",(a=J("ID_MERGE_FEATURE_TYPE"))&&(rC=a),"channel"==a||"settings"==a)qC=!0;HC()}
function EC(){rA(pC,"content");pC.show();var a=E("yt-dialog-fg",D("link-gplus-lb")),b;if(b=D(a)){var c=0,d=0;if(b.offsetParent){do c+=b.offsetLeft,d+=b.offsetTop;while(b=b.offsetParent)}b=new cd(c,d)}else b=null;a.style.position="fixed";a.style.top="95px";b.x&&(a.style.left=b.x+"px")}
;function JC(a,b){if(ll()){var c=pz(a),d=0,e=ad()+"-opacity";c&&(c.opacity||c[e])&&(d=c.opacity||c[e]);var f=L(function(){N(h);b.call(a)},d+100),h=M(a,Po,function(c){c.target==a&&"opacity"==c.propertyName&&(N(h),K(f),b.call(a))})}else L(function(){b.call(a)},0)}
;var KC=hc({SUCCESS:"yt-alert-success",ERROR:"yt-alert-error",Bk:"yt-alert-warn",INFO:"yt-alert-info",Pj:"yt-alert-promo"});function LC(a,b,c){if(c){z(he("yt-alert",c),function(a){JC(a,function(){a.parentNode&&a.parentNode.removeChild(a)});
H(a,"yt-alert-fading")});
b.removeAttribute("id");Fp(b,KC);H(b,"yt-alert-success");var d=E("yt-alert-message",b),e=E("yt-alert-content",b);(d||e).innerHTML=a;c.appendChild(b);kz(b)}}
;function MC(a,b){this.j=new qA(a,!0);this.B=b;this.A=this.l=this.C=""}
var NC=[],OC=[],PC=null;function QC(a,b,c,d){var e=D("feed-privacy-lb");e&&(PC=new MC(e,a),PC.C=b||"",PC.l=c||"",PC.A=d||"",a=PC,oy(J("FEED_PRIVACY_CSS_URL",void 0)),RC(a,null,{channel_id:a.l,setting_type:a.B,playlist_id:a.A,video_id:a.C}))}
function SC(a){QC("SUBSCRIPTIONS",void 0,a)}
function TC(a){QC("LIKES",a)}
function UC(a){QC("FAVORITES",a)}
function VC(a,b){QC("PLAYLISTS",a,void 0,b)}
function WC(a){QC("LIKE_PLAYLISTS",void 0,void 0,a)}
MC.prototype.dismiss=function(){this.j.dismiss("cancel")};
function RC(a,b,c){a={method:"POST",format:"XML",la:b||{},U:c||{},Hb:!0,R:u(a.D,a),onError:u(a.F,a)};ys("/feed_privacy_ajax",a)}
MC.prototype.D=function(a,b){var c=Fs(a),d=Es(c,"invalid_request"),e=Es(c,"missing_setting_type"),f=Es(c,"already_seen_dialog");if(!(d||e||f))if(d=D("feed-privacy-dialog"),e=Uy(),c=Es(c,"success_message")){var f=D("alerts");var h=Md(b.alert_template_html);h=h.replace(/^[\s\xa0]+/,"");var k=String(h.substr(0,3)).toLowerCase();0==("<tr"<k?-1:"<tr"==k?0:1)?(h=ve($e("<table><tbody>"+h+"</tbody></table>")),h=Os("tr",h)):(k=document.createElement("div"),k.innerHTML=h,h=Be(k));LC(c,h,f);gt(d);window.scroll(0,
0);this.dismiss();e&&e.playVideo&&e.playVideo()}else e&&e.pauseVideo&&e.pauseVideo(),Wd(d,b.html_content),OC.push(O(d,"click",u(this.w,this,!1),"make-activity-public-button")),OC.push(O(d,"click",u(this.w,this,!0),"make-activity-private-button")),R("yt-dom-content-change",d),rA(this.j,"content"),this.j.show()};
MC.prototype.F=function(){this.dismiss()};
MC.prototype.w=function(a){var b={};b[a?"action_make_private":"action_make_public"]="1";a={setting_type:this.B};rA(this.j,"working");RC(this,b,a)};function XC(){dC.call(this);this.A=[];oy(J("IDENTITY_PROMPT_CSS_URL",void 0))}
w(XC,dC);g=XC.prototype;g.je=function(){this.A.push(O(this.j,"click",u(this.gg,this),"identity-prompt-account-list-item"));this.A.push(O(this.j,"click",u(this.sg,this),"specialized-identity-prompt-account-item"));this.A.push(O(this.j,"click",u(this.dg,this),"authuser-mismatch-identity-prompt-account-item"))};
g.ke=function(){N(this.A);this.A.length=0};
g.gg=function(a){var b=D("identity-prompt-form");a=fe("input",void 0,a.currentTarget);b&&b.action&&a&&1==a.length&&(b.action=us(b.action,{pageId:a[0].value}));var c=D("identity-prompt-confirm-button");c?c.disabled=!1:b&&a&&1==a.length&&(a[0].checked=!0,b.submit())};
g.sg=function(a){a=U(a.currentTarget,"switch-url");D("dont_ask_again").checked&&(a+="&dont_ask_again=on");Sx(a)};
g.dg=function(a){a=U(a.currentTarget,"switch-url");Sx(a)};function YC(a){this.l=a;this.j=null;a=ZC(this.l);a=Za("__%s__","("+a.join("|")+")");this.j=new RegExp(a,"g");this.w={}}
var $C=/__([a-z]+(?:_[a-z]+)*)__/g;function ZC(a){var b=[],c={};a.replace($C,function(a,e){e in c||(c[e]=!0,b.push(e))});
return b}
function aD(a,b){var c=u(function(a,c){return b[c]||this.w[c]||""},a);
return a.l.replace(a.j,c)}
;function bD(a){a.o=J("CREATOR_CONTEXT","U");return a}
;function cD(){this.C=null;this.j=[];this.promo=null;this.B="";this.l=null;this.V=ee("mcn-affiliate-agreement-overlay-template");var a=D(this.V).innerHTML,a=a.replace(/^\s*(\x3c!--\s*)?/,""),a=a.replace(/(\s*--\x3e)?\s*$/,"");this.O=new YC(a);this.w=!1}
w(cD,gk);cD.prototype.init=function(a,b,c){this.promo=a;this.B=b;this.l=c;this.j.push(M(this.promo,"click",u(this.aa,this)));this.j.push(O(this.l,"click",u(this.W,this),this.B));this.j.push(O(this.l,"click",u(this.D,this),"yt-uix-overlay-close"));a=EA();this.j.push(O(a,"click",u(this.D,this),"yt-dialog-close"));this.j.push(O(this.l,"click",u(this.F,this),"mcn-affiliate-agreement-checkbox"));this.j.push(O(this.l,"change",u(this.F,this),"commerce-creator-signup-text-fields"))};
cD.prototype.D=qa;cD.prototype.F=function(){var a=ee("agreement-checkbox-1"),b=ee("agreement-checkbox-2"),c=ee("agreement-checkbox-3"),d=!0;this.w&&(d=G(ee("sign-contract-form"),"ng-valid"));E(this.B,void 0).disabled=!(a.checked&&b.checked&&c.checked&&d)};
function dD(a,b,c,d,e){b=bD({action_load_agreement:1,is_modal:b});ys("/account_mcn_affiliate_monetization_ajax",{method:"POST",la:b,context:a,R:u(function(a,b){this.C=b.contract_tags;this.w="user_contact_info_form"in b;c(b);this.w&&(angular.module("mcnAffiliateAgreement",[]),angular.bootstrap(document,["mcnAffiliateAgreement"]))},a),
onError:u(function(){this.C=null;d()},a),
oa:function(){e()}})}
function eD(){var a=db(ee("full_name").value),b=db(ee("title").value),c=db(ee("email_address").value),d=db(ee("phone_number").value),e=db(ee("company_name").value);return{full_name:a,title:b,email_address:c,phone_number:d,company_name:e}}
function fD(a,b,c){ee("agreement-checkbox-1").disabled=!0;ee("agreement-checkbox-2").disabled=!0;ee("agreement-checkbox-3").disabled=!0;var d=bD({action_sign_up:1}),e={contract_tags:a.C.join(),has_commerce_feature:a.w,receive_emails:ee("agreement-email-yes").checked};if(a.w){var f=eD();rc(e,f)}ys("/account_mcn_affiliate_monetization_ajax",{method:"POST",la:d,U:e,context:a,R:u(function(){b()},a),
onError:u(function(){c()},a)})}
cD.prototype.M=function(){N(this.j);this.j.length=0;cD.J.M.call(this)};function gD(a){cD.call(this);var b=ee("mcn-affiliate-signup-button");this.init(b,"mcn-affiliate-sign-agreement-button",ee("mcn-affiliate-agreement"));this.H=a;this.A=!1;if(J("SHOW_MCNA_YPE_MODAL")){this.A=!0;a=J("MCNA_YPE_CONTRACT_CSS_URL",void 0);var c=J("ACCOUNT_MONETIZATION_CSS_URL",void 0);oy(J("MCNA_YPE_COMMERCE_CREATOR_CSS_URL",void 0));oy(a);oy(c);rx(J("ANGULAR_JS",void 0));b.click()}}
w(gD,cD);
gD.prototype.aa=function(a){a.preventDefault();a.stopPropagation();var b=a.currentTarget;b.disabled=!0;dD(this,this.A,u(function(b){a.currentTarget.disabled=!1;var c=a.currentTarget;zA.getInstance().show(c);c=EA();E("yt-dialog-content",c).innerHTML=aD(this.O,{agreements_title:b.agreements_title,agreements_disclaimer:b.agreements_disclaimer,agreements:b.agreements,review_disclaimer:b.review_disclaimer,underage_message:b.underage_message,agreements_action_buttons:b.agreements_action_buttons,user_contact_info_form:b.user_contact_info_form});
a.currentTarget.disabled=!0},this),function(){kz(ee("mcn-affiliate-promo-error-msg"))},function(){b.disabled=!1})};
gD.prototype.W=function(a){a.preventDefault();a.stopPropagation();a=a.currentTarget;a.disabled||(a.disabled=!0,this.A||(ee("agreement-close-button").disabled=!0),fD(this,u(this.L,this),function(){zA.getInstance().hide();kz(ee("mcn-affiliate-promo-error-msg"))}))};
gD.prototype.D=function(){this.A&&ys("/account_mcn_affiliate_monetization_ajax",{method:"POST",la:bD({action_ask_me_later:1}),context:this})};
gD.prototype.L=function(){this.H?Sx(this.H):(zA.getInstance().hide(),hz(this.promo,!1))};function hD(){this.j=J("ALT_PREF_COOKIE_NAME","PREF");var a=Zt(this.j);if(a)for(var a=unescape(a).split("&"),b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(iD[d]=c.toString())}}
ra(hD);var iD=t("yt.prefs.UserPrefs.prefs_")||{};r("yt.prefs.UserPrefs.prefs_",iD,void 0);function jD(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);}
function kD(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);}
function lD(a){a=void 0!==iD[a]?iD[a].toString():null;return null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null}
hD.prototype.get=function(a,b){kD(a);jD(a);var c=void 0!==iD[a]?iD[a].toString():null;return null!=c?c:b?b:""};
hD.prototype.set=function(a,b){kD(a);jD(a);if(null==b)throw Error("ExpectedNotNull");iD[a]=b.toString()};
hD.prototype.remove=function(a){kD(a);jD(a);delete iD[a]};
function mD(a){a=a.j;var b=[],c;for(c in iD)b.push(c+"="+escape(iD[c]));au(a,b.join("&"),63072E3,"/")}
hD.prototype.clear=function(){iD={}};function nD(a,b){gk.call(this);this.l=a;this.B=b;this.j=null;this.w=D("page");this.j=M(D("premium-yva-close"),"click",u(this.Te,this));var c=this.l;hD.getInstance().get("HIDDEN_MASTHEAD_ID")==c||H(this.w,"masthead-ad-expanded");this.A=M(window,"message",u(this.cg,this))}
w(nD,gk);var oD=/^https?:\/\/(ad.doubleclick|s0.2mdn).net$/;g=nD.prototype;g.cg=function(a){a&&a.origin&&oD.test(a.origin)&&"creative2yt_requestClose"==a.data&&this.kf()};
g.M=function(){nD.J.M.call(this);N(this.j);N(this.A);this.A=this.j=null};
g.kf=function(){lz("ad_creative_1");R("ads-masthead-hide");R("yt-dom-content-change");this.B&&lz("ad_creative_collapse_btn_1");kz("ad_creative_expand_btn_1");I(this.w,"masthead-ad-expanded");pD(this.l);sx("homepage_collapse_masthead_ad",void 0,void 0)};
g.Te=function(){kz("ad_creative_expand_btn_1");ye(D("premium-yva"));ye(D("video-masthead"));R("yt-dom-content-change");pD(this.l)};
g.ti=function(){var a=document.getElementById("premium-yva");I(a,"premium-yva-unexpanded");H(a,"premium-yva-expanded")};
g.vi=function(){var a=document.getElementById("premium-yva");I(a,"premium-yva-expanded");H(a,"premium-yva-unexpanded")};
function pD(a){var b=hD.getInstance();b.set("HIDDEN_MASTHEAD_ID",a);mD(b)}
g.Gf=function(){lz("premium-yva");I(D("premium-yva"),"premium-yva-unexpanded")};
g.expand=function(){var a=hD.getInstance();a.set("HIDDEN_MASTHEAD_ID",!1);mD(a);sx("homepage_expand_masthead_ad",void 0,void 0);Sx(document.location.href)};function qD(){DB.call(this,"shelfslider")}
w(qD,DB);ra(qD);qD.prototype.Mc=function(a){a=yf(a)?zz(this,"next",a):zz(this,"prev",a);return window.matchMedia&&0<=document.body.className.indexOf("exp-responsive")&&(void 0).matches?sf(a)+a.offsetWidth-NaN:sf(a)+a.offsetWidth};
qD.prototype.Nc=function(a){a=yf(a)?zz(this,"prev",a):zz(this,"next",a);return window.matchMedia&&0<=document.body.className.indexOf("exp-responsive")&&(void 0).matches?sf(a)+void 0:sf(a)};function rD(a){this.j=a}
rD.prototype.write=function(a,b,c,d){a={action_write_promo:1,method:a,subtype:this.j};var e={};c&&(e.json_data=c);ys(d||"/promo_ajax",{method:"POST",la:a,U:e,R:function(){if(b&&(b.wg&&lz(D(b.wg)),b.xg&&kz(D(b.xg)),b.R&&b.R(),b.Yh))return Sx(b.Yh)},
onError:function(){b&&b.yg&&kz(D(b.yg));if(b&&b.onError)b.onError()}})};
rD.prototype.getStatus=function(a,b){ys("/promo_ajax",{method:"POST",la:{action_get_promo_status:1,subtype:this.j},R:function(b,d){a(d.show_promo)},
onError:b||void 0})};function sD(a,b,c){this.F=a;this.Lc=b;this.ri=c;this.l=[];this.j=D("yt-comments-batch");this.w=D("yt-comments-batch-sa");this.A=D("yt-comments-batch-a");this.C=D("yt-comments-batch-r");this.D=D("yt-comments-batch-rs");this.mb=0;this.j&&(this.l.push(O(this.j,"click",u(this.B,this),"batch-button")),tD(this))}
function tD(a,b){if(a.j){b&&(a.mb-=b);var c=0>=a.mb;a.w&&c&&PA(a.w,!1);a.A.disabled=c;a.C.disabled=c;a.D.disabled=c}}
sD.prototype.dispose=function(){N(this.l);this.l=[]};
sD.prototype.B=function(a){var b=F(a.target,"batch-button"),c=U(b,"action");if(c)if("select_all"==c){a.target.blur();var d=a.target.checked,e=0;z(this.Lc(),function(a){PA(a,d);e++});
this.mb=d?e:0;tD(this)}else E("yt-uix-button",b).blur(),a={},z(this.Lc(),Da(function(a,b,c){if(c.checked){c=F(c,"comment-item");a="reject"==a&&!!U(c,"own");var d=G(c,"reply"),e=U(c,"cid");c=U(c,"vid")||U(c,"is-message")&&"messages"||"@";b[c]||(b[c]=[[],[],[],[]]);b[c][(a?2:0)+(d?1:0)].push(e)}},c,a),this),uD(this,c,a)};
function uD(a,b,c){function d(a){if(a.checked){a=F(a,"comment-item");var c=G(a,"reply");this.ri(a,b,c)}}
var e={action:b},f=[],h;for(h in c)f.push(h+":"+c[h][0].join(",")+"&"+c[h][1].join(",")+"&"+c[h][2].join(",")+"&"+c[h][3].join(","));(c=f.join("/"))&&(e.ids=c);a.F(a,e,{action_batch:"1"},function(){z(this.Lc(),d,this);this.mb=0;tD(this)})}
;function vD(a,b,c){this.j=null;c?rx(c,u(function(){this.j=new botguard.bg(a)},this)):b&&(eval(b),this.j=new botguard.bg(a))}
vD.prototype.invoke=function(){return this.j?this.j.invoke():null};function wD(a,b,c){this.W=a;this.V=b||qa;this.O=c||null;this.A=[];this.ca=this.F=null;this.N=!1;this.L=this.j=null;this.B=!1;this.D=null;this.botguard=new vD(J("COMMENTS_BG_P"),J("COMMENTS_BG_I",""),J("COMMENTS_BG_IU",""));this.A.push(O(null,"click",u(this.ci,this),"yt-commentbox-show-reply"))}
g=wD.prototype;g.jd=function(){if(this.j&&!this.B){var a=F(this.j,"comment-item");kz(E("content",a));kz(E("actions",a));lz(this.C);lz(this.w);lz(this.j);we(this.l)}};
g.ci=function(a){if(!this.B)if(this.O)Sx(this.O);else if(this.j||xD(this)){var b=a.target;G(b,"yt-commentbox-show-reply")||(b=F(a.target,"yt-commentbox-show-reply"));this.jd();this.D="action_reply";a=U(b,"cid");var c=U(b,"replies"),d=F(b,"yt-commentbox-top"),e=U(b,"vid"),b=!!U(b,"is-message"),f=E("yt-commentbox-container",d);if(c=c?D(c):E("yt-commentbox-replies",d))f.appendChild(this.j),this.F=a,this.L=c,this.ca=e,this.N=b,kz(this.w),kz(this.j),kz(E("yt-commentbox-photo",this.j)),we(this.l),this.l.focus(),
a=Ec&&!Vc("15"),B||a||this.w.setAttribute("disabled","disabled"),document.createRange?(a=document.createRange(),a.selectNodeContents(this.l),a.collapse(!1),e=window.getSelection(),e.removeAllRanges(),e.addRange(a)):document.selection&&(a=document.body.createTextRange(),a.moveToElementText(this.l),a.collapse(!1),a.select()),R("yt-www-comments-sharebox-open")}};
g.dispose=function(){N(this.A);this.A=[]};
function xD(a){if(a.j)return!0;a.j=D("ytcb-root");a.l=D("ytcb-text");a.H=D("ytcb-cancel");a.w=D("ytcb-reply");a.C=D("ytcb-save");if(!(a.j&&a.l&&a.H&&a.w&&a.C))return a.j=null,!1;a.A.push(M(a.H,"click",u(a.jd,a)));a.A.push(M(a.w,"click",u(a.ze,a)));a.A.push(M(a.C,"click",u(a.ze,a)));a.A.push(M(a.l,"input",u(function(){0<this.l.textContent.trim().length?(this.w.removeAttribute("disabled"),this.C.removeAttribute("disabled")):(this.w.setAttribute("disabled","disabled"),this.C.setAttribute("disabled",
"disabled"))},a)));
return!0}
function yD(a){var b=[];a=new Vp(a.l);a.next();ul(a,function(a){if(3===a.nodeType)b.push(a.textContent);else switch(a.tagName){case "BR":case "DIV":b.push("\n")}});
return b.join("").replace(/[\s\xa0]+$/,"")}
g.ze=function(){if(!this.B&&this.j&&this.F){var a=yD(this);if(a){this.B=!0;H(this.j,"posting");var b=this.ca,a={comment_id:this.F,content:a};b&&(a.video_id=b);this.N&&(a.is_message="1");b={};b[this.D]="1";"action_reply"==this.D&&this.W(this,a,b,this.Dh,this.Bd)}}};
g.Bd=function(){this.B=!1;I(this.j,"posting")};
g.Dh=function(a,b){if(this.B&&this.j){this.Bd();this.jd();var c=b.html_content;if(c){var d=qe("DIV");Wd(d,c);this.L.appendChild(d);c=Be(d);ze(d);this.V(c)}}};function zD(){this.j=[];this.D=[];this.ia=D("yt-comments-list");this.F=!!this.ia&&G(Me(this.ia),"embedded");this.C=U(this.ia,"url");this.B=this.l=null;this.A=new sD(AD,Da(function(a){return he("yt-uix-form-input-checkbox",a)},this.ia),u(this.Se,this));
this.H=new wD(AD,u(this.Tc,this),this.C);this.w=D("yt-comments-vi");BD(this);this.Tc();CD();tD(this.A)}
function AD(a,b,c,d,e){b=b||{};c=c||{};if(!DD()){if("action_reply"in c){var f=a.botguard.invoke();f&&(b.bgr=f)}ys("/comment_ajax",{format:"JSON",method:"POST",context:a,R:d,onError:e,U:b,la:c,Hb:!0})}}
function CD(){var a=E("promo-alert");if(a){var b=E("settings-link");b&&lz(b);(a=U(a.parentElement,"promo-id"))&&(new rD(a)).write("write_impression")}}
g=zD.prototype;g.yh=function(a){a=F(a.target,"promo-alert");ye(a);a=E("settings-link");kz(a)};
g.dispose=function(){this.A.dispose();this.H.dispose();N(this.j);this.j=[];rt(this.D);this.D=[]};
function BD(a){a.j.push(O(a.ia,"click",u(a.eh,a),"comment-checkbox"));a.j.push(O(a.ia,"mouseout",u(a.fh,a),"comment-entry"));a.j.push(O(a.ia,"click",u(a.hh,a),"comment-text-toggle"));a.j.push(O(a.ia,"click",u(a.qe,a),"mod-button"));a.j.push(O(a.ia,"keypress",u(a.qe,a),"mod-button"));a.j.push(O(null,"click",u(a.oh,a),"load-comments"));a.j.push(O(null,"click",u(a.mh,a),"hide-comments"));a.j.push(O(a.ia,"click",u(a.ph,a),"comments-retry"));a.j.push(O(null,"click",u(a.th,a),"yt-comments-order-menu-button"));
a.j.push(M(document,"keyup",u(a.lh,a)));a.ia&&(a.j.push(M(a.ia,"click",u(a.gh,a),!0)),a.w&&a.j.push(O(a.ia,"click",u(a.Oh,a),"visibility-link")));var b=E("promo-alert");b&&(b=E("close",b))&&a.j.push(M(b,"click",u(a.yh,a)));a.D.push(Q("yt-www-comments-sharebox-open",DD))}
function DD(){var a=void 0;a=document.location.href;a=ug(a)[1]||null;if(null!==a&&"https"==a)return!1;a=new Gl(document.location.href);Hl(a,"https");Sx(a.toString());return!0}
g.gh=function(){this.w&&lz(this.w)};
g.th=function(a){var b=F(a.target,"yt-comments-order-menu-button"),c=E("comments-order-menu");a=U(b,"value");var d=U(c,"value");if(a!==d){kx(c,"value",a);d=U(b,"vid");b=U(b,"search-terms");kx(c,"search-terms",b);var e=E("comments-wait");e&&kz(e);c={};ED(c,"video_id",d);"/comments"==xg()&&ED(c,"chub",!0);var f={};ED(f,"action_load_comments","1");ED(f,"order_by_time",a);ED(f,"filter",d);ED(f,"search_terms",b);ED(f,"order_menu",!0);var h=function(){lz(e)};
AD(this,c,f,function(a,b){h();var c=b.html_content,d=b.page_token,e=D("yt-comments-paginator");c&&(we(this.ia),FD(this,c,e),e&&(d?kx(e,"token",d):lz(e)))},h)}};
g.Oh=function(a){a.target.appendChild(this.w);if(a=F(a.target,"comment-item")){var b=U(a,"cid");a=fB(function(){var a=t("gapi.visibility.render");a&&a("yt-comments-vi-content",{location:"DISTILLER",updateId:b})});
gB("visibility",a);kz(this.w)}};
g.Tc=function(a){z(he("comment-text-content",a||this.ia),function(a){a.scrollHeight>a.clientHeight+5&&(a=F(a,"comment-text"))&&H(a,"long")},this)};
function FD(a,b,c){var d=qe("DIV");Wd(d,b);if(b=c&&U(c,"cid")){b=D("ytcb-"+b);if(!b)return;U(c,"token")||we(b);b.insertBefore(d,b.childNodes[0]||null)}else a.ia.appendChild(d);a.Tc(d);ze(d)}
g.lh=function(a){"keyup"==a.type&&27==a.keyCode&&GD(this)};
function GD(a,b){if(a.l){var c=!!b&&a.l==b,d=E("mod-list",a.l);lz(d);a.l=null;return c}return!1}
g.eh=function(a){var b=this.A;b.j&&(a.target.blur(),F(a.target,"comment-item")&&n(a.target.checked)&&(b.mb+=a.target.checked?1:-1,tD(b)))};
g.fh=function(a){(a=F(a.relatedTarget,"comment-entry"))?(a=(a=E("comment-item",a))&&U(a,"cid"),a!=this.B&&(this.B=a,GD(this))):(this.B=null,GD(this))};
g.hh=function(a){var b=F(a.target,"comment-text");b&&(a=ne(document).y,!Ip(b,"expanded")&&(b=E("comment-text-content",b)))&&(a-=ne(document).y,window.scrollBy(0,a-(b.scrollHeight-b.clientHeight)))};
g.mh=function(a){var b=F(a.target,"comment-replies-header"),c=F(a.target,"comment-entry");a=F(a.target,"hide-comments");if(b&&c&&a){for(var d=E("load-comments",c),e=U(b,"default-reply-count"),e=e?parseInt(e,10):2,c=he("reply",c),f=0;f<c.length-e;f++)lz(c[f]);d&&kz(d);lz(a);kx(b,"hidden-replies","true")}};
g.oh=function(a){var b=F(a.target,"load-comments");if(b){var c=F(b,"comment-replies-header");if(c&&U(c,"hidden-replies")){if(c=F(a.target,"comment-entry"))z(he("comment-item",c),function(a){kz(a)}),U(b,"token")||lz(b),(c=E("hide-comments",Me(b)))&&kz(c)}else{b.disabled=!0;
H(b,"activated");var d=function(){I(b,"activated");b.disabled=!1},e=U(b,"cid"),c=e?"load_replies":"load_comments";
a=(a=Ye(a.target,"form"))?Al(Lp(a)):{};var f=U(E("comments-order-menu"),"value"),h={};ED(h,"comment_id",e);ED(h,"video_id",U(b,"vid"));ED(h,"can_reply",G(b,"can-reply")&&"1");ED(h,"is_message",U(b,"is-message"));ED(h,"page_token",U(b,"token"));ED(h,"search_terms",U(b,"search-terms"));"/comments"==xg()&&ED(h,"chub",!0);e={};ED(e,"action_"+c,"1");ED(e,"order_by_time",f);ED(e,"tab",U(b,"tab"));rc(e,a);HD();AD(this,h,e,function(a,c){var e=c.html_content,f=c.page_token;f&&kx(b,"token",f);if(c.retry)FD(this,
e,null),lz(b);else{if(e){FD(this,e,b);var h=E("hide-comments",Me(b));h&&kz(h)}e&&!f&&lz(b);d()}},d)}}};
g.ph=function(a){et(a);a=D("yt-comments-paginator");kz(a);I(a,"activated");a.disabled=!1;ct(a,"click")};
function HD(){z(he("comments-errors"),function(a){ye(a)})}
g.qe=function(a){if("keypress"!=a.type||13==a.keyCode){var b=F(a.target,"mod-list-button")||F(a.target,"mod-button");if(!(!b||this.F&&G(b,"disabled-e")||!this.F&&G(b,"disabled-s"))){var c;G(b,"toggle-button")?(a=Ip(b,"is-checked"),G(b,"approved-container")?c=a?"add_approved":"remove_approved":G(b,"moderator-container")&&(c=a?"add_moderator":"remove_moderator")):c=U(b,"action");if(c)if("flag"==c)GD(this,b)||(c=E("mod-list",b),kz(c),this.l=b);else if(GD(this),!DD())if(this.C)Sx(this.C);else{var d=F(b,
"comment-item");a=U(d,"aid")||void 0;var e=U(d,"cid")||void 0,f=U(d,"vid")||void 0,h=!!U(d,"is-message"),k=G(d,"reply"),l=G(b,"on");if("edit"!=c){switch(c){case "approve":case "reject":case "report_spam_and_reject":a=void 0;break;case "delete":case "dislike":case "like":case "report_spam":f=a=void 0}if("dislike"==c||"like"==c){I((n(b.nextElementSibling)?b.nextElementSibling:Ce(b.nextSibling,!0))||(n(b.previousElementSibling)?b.previousElementSibling:Ce(b.previousSibling,!1)),"on");Gp(b,"on",!l);b.disabled=
!0;Gp(d,"liked","like"==c&&!l);var p=function(){b.disabled=!1};
var y=function(){Gp(b,"on",l);p()}}else if("approve"==c||"ban"==c||"delete"==c||"reject"==c||"report_spam_and_reject"==c)p=u(this.Se,this,d,c,k);
d={};ED(d,"is_reply",k&&"1");ED(d,"is_message",h&&"1");ED(d,"user_id",a);ED(d,"comment_id",e);ED(d,"video_id",f);a={};ED(a,"action_"+c,"1");ED(a,"undo",l&&"1");AD(this,d,a,p,y)}}}}};
function ED(a,b,c){c&&(a[b]=c)}
g.Se=function(a,b,c){var d=D("yt-comments-removed-feedback");"delete"==b?d=D("yt-comments-deleted-feedback"):"approve"==b?d=D("yt-comments-approved-feedback"):"ban"==b&&(d=D("yt-comments-banned-feedback"));if(d&&a){a="approve"==b||"add_approved"==b||"add_moderator"==b||"remove_approved"==b||"remove_moderator"==b||c?a:F(a,"comment-entry");if(c=he("yt-uix-form-input-checkbox",a)){var e=0;z(c,function(a){a.checked&&(PA(a,!1),e++)},this);
tD(this.A,e)}d=Qs(d);"add_approved"==b||"add_moderator"==b||"remove_approved"==b||"remove_moderator"==b?b=d:(we(a),b=a);a.appendChild(d);kz(d);(new lq(b,2500)).play()}};var ID=!1,JD=!1;var KD=[],LD={},MD=[],ND=!1;function OD(){MD.push(Q("player-ad-start",PD));KD.push(O(document.body,"click",QD,"yt-google-help-link"))}
function QD(a){a.preventDefault();var b=U(a.currentTarget,"ghelp-anchor")||a.currentTarget,c=U(a.currentTarget,"ghelp-tracking-param")||"",b=document.getElementById(b),d=a.currentTarget,e=J("GOOGLE_HELP_CONTEXT",void 0);a=J("GOOGLE_HELP_PRODUCT_ID",void 0)||U(a.currentTarget,"feedback-product-id");var d=!!U(d,"load-chat-support"),f=J("GOOGLE_HELP_PRODUCT_DATA");RD(b,a,e,f,d,!1,c)}
function SD(a,b){var c=J("FEEDBACK_LOCALE_LANGUAGE"),d=LD;rc(d,J("FEEDBACK_LOCALE_EXTRAS",{}));a&&rc(d,a);try{var e=Uy();e&&e.pauseVideo&&e.pauseVideo();var f=ey.getInstance();d.flashVersion=f.getVersion().join(".");e&&(d.playback_id=e.getVideoData().cpn,e.getLastError&&(d.api_error=e.getLastError()))}catch(h){}b&&rc(d,{trackingParam:b});return{helpCenterPath:"/youtube",locale:c,productData:d}}
function TD(){var a=J("SESSION_INDEX"),b=J("FEEDBACK_BUCKET_ID"),c={abuseLink:"https://support.google.com/youtube/bin/answer.py?answer=140536",customZIndex:"2000000005"};ht("gfeedback_for_signed_out_users_enabled")&&(c.allowNonLoggedInFeedback=!0);a&&(c.authuser=a+"");b&&(c.bucket=b);return c}
function RD(a,b,c,d,e,f,h,k){b=(b||"59")+"";d=SD(d,h);a={context:c,anchor:a,enableSendFeedback:f?!1:!0,defaultHelpArticleId:k};rc(a,TD());try{var l=Lm(b,d);if(e&&!ND)try{l.l(a),ND=!0}catch(p){}l.A(a);return!1}catch(p){return!0}}
function UD(){(B?0<=ub(Uk,"7"):Lh?0<=ub(Uk,"3.6"):Qh?0<=ub(Uk,"5"):Ph||Fc)||z(he("reportbug"),function(a){hz(a,!1)})}
function PD(){var a=D("movie_player");if(a&&a.currentAdInformation){var b={};try{b=a.currentAdInformation()}catch(c){}a=b;a.adIds&&(LD.ad_ids=a.adIds.join());a.adSystems&&(LD.ad_systems=a.adSystems.join())}}
;var VD,WD=[];function XD(a){YD("keyboard");27!=a.keyCode||a.event&&!1===a.event.returnValue||!document.activeElement||document.activeElement.blur()}
function ZD(){YD("mouse")}
function YD(a){VD!==a&&(VD=a,N(WD),WD.length=0,"keyboard"==VD?($D(!0),WD=[M(window,"click",ZD),M(window,"mousemove",ZD)]):"mouse"==VD&&($D(!1),WD=[M(window,"keydown",XD)]))}
function $D(a){Gp(document.documentElement,"no-focus-outline",!a)}
;function aE(a){var b=["guide"],b=bE(b);if(b.length){var c=a||{};c.frags=b.join(",");a=J("XSRF_FIELD_NAME",void 0);var d=J("XSRF_TOKEN",void 0),e="/watch_fragments_ajax";ht("use_watch_fragments2")&&(e="/watch_fragments2_ajax");c=Eg(e,c);e={};e[a]=d;e.client_url=window.location.href;a=Cg(e);cE.push(spf.load(c,{method:"POST",postData:a,onDone:function(){if(Jb(b,"guide")){var a=t("yt.www.guide.setup");a&&a(!1);var a=J("GUIDE_SELECTED_ITEM",void 0),c=t("yt.www.guide.selectGuideItem");c&&c(a);R("appbar-guide-delay-load")}R("yt-www-pageFrameCssNotifications-load")}}));
dE=Ob(dE,b)}}
function eE(){var a=ts(window.location.href);a.tr="nonwatch";aE(a)}
function bE(a){return Bb(a,function(a){return!Jb(dE,a)})}
var cE=[],dE=[],fE=[];function gE(){return t("gapi.iframes.getContext")()}
function hE(){var a=iE;return t("gapi.iframes.makeWhiteListIframesFilter")(a)}
;function jE(a){if(ua(a))return kE(a);if(wa(a)&&!va(a)&&!(wa(a)&&0<a.nodeType))return lE(a);try{return m.JSON.stringify(a),a}catch(b){}}
function lE(a){return dc(a,function(a){return jE(a)})}
function kE(a){return Cb(a,function(a){return jE(a)})}
;function mE(a){ru.call(this,1,arguments);this.j=a}
w(mE,ru);function nE(a){ru.call(this,1,arguments);this.j=a}
w(nE,ru);function oE(a,b,c){ru.call(this,3,arguments);this.w=a;this.j=b;this.l=null!=c?!!c:null}
w(oE,ru);function pE(a,b){ru.call(this,1,arguments);this.button=a;this.j=b}
w(pE,ru);function qE(a,b,c,d,e){ru.call(this,2,arguments);this.l=a;this.j=b;this.A=c||null;this.w=d||null;this.source=e||null}
w(qE,ru);function rE(a,b,c){ru.call(this,1,arguments);this.j=a;this.l=b}
w(rE,ru);function sE(a,b,c,d,e,f,h){ru.call(this,1,arguments);this.l=a;this.B=b;this.j=c;this.C=d||null;this.A=e||null;this.w=f||null;this.source=h||null}
w(sE,ru);
var tE=new tu("subscription-batch-subscribe",mE),uE=new tu("subscription-batch-unsubscribe",mE),vE=new tu("subscription-show-pref-overlay",pE),wE=new tu("subscription-subscribe",qE),xE=new tu("subscription-subscribe-loading",nE),yE=new tu("subscription-subscribe-loaded",nE),zE=new tu("subscription-subscribe-success",rE),AE=new tu("subscription-subscribe-external",qE),BE=new tu("subscription-unsubscribe",sE),CE=new tu("subscription-unsubscirbe-loading",nE),DE=new tu("subscription-unsubscribe-loaded",nE),
EE=new tu("subscription-unsubscribe-success",nE),FE=new tu("subscription-external-unsubscribe",sE),GE=new tu("subscription-enable-ypc",nE),HE=new tu("subscription-disable-ypc",nE),IE=new tu("subscription-prefs",oE),JE=new tu("subscription-prefs-success",oE),KE=new tu("subscription-prefs-failure",oE);var iE="http://www.youtube.com https://www.youtube.com https://plus.google.com https://plus.googleapis.com https://plus.sandbox.google.com https://plusone.google.com https://plusone.sandbox.google.com https://apis.google.com https://apis.sandbox.google.com https://web-ppg.corp.google.com https://web-green-qa.youtube.com https://web-release-qa.youtube.com".split(" "),LE=[xE,yE,zE,CE,DE,EE,AE,FE],ME=[xE,yE,zE,CE,DE,EE,GE,HE];function NE(a,b){this.l={};this.w=a;this.j=b;var c=u(this.A,this),d=this.j;var e=e||gE();e.addOnConnectHandler("ytsubscribe",c,["ytapi"],d)}
NE.prototype.dispose=function(){var a=gE();a.removeOnConnectHandler("ytsubscribe")};
NE.prototype.A=function(a,b){var c=b.id;this.l[c]=a;var d={iframe:a,role:"yt"};var e=gE();e.connectIframes(d);c=u(this.B,this,c);a.registerWasClosed(c,this.j);a.register("msg-youtube-pubsub",this.w,this.j)};
NE.prototype.B=function(a){delete this.l[a]};
NE.prototype.send=function(a,b){bc(this.l,function(c){c.send(a,b,void 0,this.j)},this)};function OE(){this.j=null;this.l=[]}
ra(OE);g=OE.prototype;g.init=function(){if(J("UNIVERSAL_HOVERCARDS")){var a=u(this.Mi,this),b=J("GAPI_HOST",void 0),c=J("GAPI_LOCALE",void 0),d=J("LOGGED_IN"),e=J("SESSION_INDEX",void 0),f=J("DELEGATED_SESSION_ID",void 0),b={callback:a,"googleapis.config":{signedIn:d},iframes:{card:{url:b+"/:session_prefix:_/hovercard/internalcard?p=36&hl="+c}}};d&&(e&&(b["googleapis.config"].sessionIndex=e),f&&(b["googleapis.config"].sessionDelegate=f));gB("card:gapi.iframes",{callback:a,config:b})}};
g.dispose=function(){this.j&&(this.j.dispose(),this.j=null);Bu(this.l);this.l.length=0;var a=t("gapi.card.unwatch");a&&a()};
g.Mi=function(){var a=t("gapi.config.update");if(a){var b=(xg()||"/").split("/");a("card/source","youtube"+(b[1]?"."+b[1]:""));a("card/hoverDelay",450);a("card/loadDelay",250);a("card/closeDelay",200);a("card/usegapi",1);a("card",{p:36})}(a=t("gapi.card.watch"))&&a();PE(this)};
function PE(a){var b=hE(),c=u(a.nh,a);a.j=new NE(c,b);z(ME,function(a){this.l.push(Au(a,Da(this.Wh,a),this))},a)}
g.nh=function(a){if("pubsub2"==a.eventType){var b=Gb(LE,function(b){return b.toString()==a.topicString}),c=a.serializedData;
if(b&&(!b.Zb||c)){if(b.Zb)try{var d=su(b.Zb,c)}catch(e){return}yu(b,d)}}};
g.Wh=function(a,b){if(this.j){var c=b?b.ad():null,c={eventType:"pubsub2",topicString:a.toString(),serializedData:jE(c)};this.j.send("cmd-youtube-pubsub",c)}};function QE(a){for(var b=0;b<a.length;b++){var c=a[b];"send_follow_on_ping_action"==c.name&&c.data&&c.data.follow_on_url&&Js(c.data.follow_on_url)}}
;function RE(a,b,c){SE("add_to_watch_later_list",a,b,c)}
function TE(a){SE("delete_from_watch_later_list",a,void 0,void 0)}
function SE(a,b,c,d){a=c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1";c={feature:b.feature||null,authuser:b.Ik||null,pageid:b.pageId||null};var e={video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.il||null,add_to_playlists:b.Gk||null,plid:J("PLAYBACK_ID")||null};ys(a,{method:"POST",la:c,U:e,context:b.context,onError:b.onError,R:function(a,c){var d=c.result;d&&d.actions&&QE(d.actions);b.R.call(this,
a,c)},
oa:b.oa,withCredentials:!!d})}
;var UE=[],VE="";function WE(){sz("addto-watch-later-button","click",XE);sz("addto-watch-later-button-success","click",YE);sz("addto-watch-later-button-remove","click",ZE);sz("addto-watch-later-button-sign-in","click",$E);var a=D("shared-addto-watch-later-login");UE.push(O(a,"click",aF,"sign-in-link"));UE.push(O(a,Oo,bF,"sign-in-link"))}
function $E(a){VE=U(a,"video-ids");var b=E("sign-in-link",D("shared-addto-watch-later-login"));b&&(H(a,"addto-wl-focused"),L(function(){b.focus()},0))}
function bF(){var a=E("addto-wl-focused");a&&(I(a,"addto-wl-focused"),L(function(){a.focus()},0))}
function aF(a){var b=us("/addto_ajax",{action_redirect_to_signin_with_add:1,video_ids:VE,next_url:document.location}),c=ue(document,"form");c.action=b;c.method="POST";b=ue(document,"input");b.type="hidden";b.name=J("XSRF_FIELD_NAME",void 0);b.value=J("XSRF_TOKEN",void 0);c.appendChild(b);document.body.appendChild(c);c.submit();a.preventDefault()}
function XE(a){Hp(a,"addto-watch-later-button","addto-watch-later-button-loading");je(a,{"aria-pressed":"true"});var b=U(a,"video-ids");RE({videoIds:b,R:function(c,d){var e=d.list_id;cF(e,b,a);R("playlist-addto",b,e)},
onError:function(c,d){6==d.return_code?cF(d.list_id,b,a):dF(a,d)}})}
function YE(a){Hp(a,"addto-watch-later-button-success","addto-watch-later-button-loading");var b=U(a,"video-ids");TE({videoIds:b,R:function(){Hp(a,"addto-watch-later-button-loading","addto-watch-later-button");var b=jy("ADDTO_WATCH_LATER");VB(QB.getInstance(),a,b);R("WATCH_LATER_VIDEO_REMOVED")},
onError:function(b,d){dF(a,d)}})}
function ZE(a){var b=U(a,"video-ids");TE({videoIds:b,R:function(b,d){R("WATCH_LATER_VIDEO_REMOVED",a,d.result.video_count)},
onError:function(b,d){dF(a,d)}})}
function cF(a,b,c){Hp(c,"addto-watch-later-button-loading","addto-watch-later-button-success");var d=jy("ADDTO_WATCH_LATER_ADDED");VB(QB.getInstance(),c,d);R("WATCH_LATER_VIDEO_ADDED",a,b.split(","))}
function dF(a,b){Hp(a,"addto-watch-later-button-loading","addto-watch-later-button-error");var c=b.error_message||jy("ADDTO_WATCH_LATER_ERROR");VB(QB.getInstance(),a,c)}
;function eF(a){this.O=a;this.j=null;this.A=0;this.C=null;this.B=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.w=0;this.F=M(window,"mousemove",u(this.H,this));this.L=ns(u(this.D,this),25)}
w(eF,gk);eF.prototype.H=function(a){n(a.j)||Xs(a);var b=a.j;n(a.l)||Xs(a);this.j=new cd(b,a.l)};
eF.prototype.D=function(){if(this.j){var a=ds();if(0!=this.A){var b=this.C,c=this.j,d=b.x-c.x,b=b.y-c.y,d=Math.sqrt(d*d+b*b)/(a-this.A);this.l[this.w]=.5<Math.abs((d-this.B)/this.B)?1:0;for(c=b=0;4>c;c++)b+=this.l[c]||0;3<=b&&this.O();this.B=d}this.A=a;this.C=this.j;this.w=(this.w+1)%4}};
eF.prototype.M=function(){ms(this.L);N(this.F)};function fF(a){if(!gF||a)gF=le(window);return gF}
function hF(){return iF=ne(document)}
function jF(){kF||(kF=lu(lF,1,100))}
function lF(){kF=0;vt("page-mouse",mF.j||new cd)}
function nF(){oF||(oF=lu(pF,1,200))}
function pF(){oF=0;var a=fF(!0);vt("page-resize",a)}
function qF(){rF||(rF=lu(sF,1,200))}
function sF(){rF=0;var a=hF();vt("page-scroll",a)}
var gF=null,iF=null,tF=[],mF=null,kF=0,oF=0,rF=0;var uF,vF,wF,xF,yF,zF,AF=0,BF=!1;function CF(){BF||(t("yt.www.page.visibilitymonitor").dispose(),vF={},wF={},uF={},xF={},zF=[],yF=DF(),zF.push(Q("page-resize",EF)),zF.push(Q("page-scroll",FF)),zF.push(Q("yt-dom-content-change",GF)),BF=!0,HF(!0))}
function IF(){BF&&(rt(zF),KF(),vF={},wF={},uF={},xF={},zF.length=0,yF=null,BF=!1)}
function EF(){yF=DF();GF()}
function FF(){yF=DF();TF()}
function DF(){var a=hF(),b=fF();return new cf(a.y,a.x+b.width-1,a.y+b.height-1,a.x)}
function cG(a){var b=Ss(a),c=uF[b];if(c)return c;c=M(a,"scroll",kG);return c=uF[b]={el:a,fi:c,xb:null}}
function KF(){bc(uF,function(a,b){var c=uF[b];c&&N(c.fi);delete uF[b]})}
function kG(a){GF(a.target)}
function lG(a,b){var c=[Ss(a),b.complete];if(b.transform){var d=b.transform;c.push(d.top,d.right,d.bottom,d.left)}return c.join(":")}
function mG(a,b){var c;b?c=a:c=Me(a);return c?(c=F(c,"yt-viewport"))?cG(c):null:null}
function nG(a,b){if(a.xb&&!b)return a.xb;var c=oG(a.el),d=mG(a.el);d&&(d=nG(d,b),c=pG(c,d));return a.xb=c}
function oG(a){var b=rf(a);a=new ae(a.offsetWidth,a.offsetHeight);return new cf(b.y,b.x+a.width-1,b.y+a.height-1,b.x)}
function pG(a){var b=[],c=[],d=[],e=[];z(arguments,function(a){b.push(a.top);c.push(a.right);d.push(a.bottom);e.push(a.left)});
var f=Math.max.apply(Math,b),h=Math.min.apply(Math,c),k=Math.min.apply(Math,d),l=Math.max.apply(Math,e);return f>k||l>h?new cf(0,0,0,0):new cf(f,h,k,l)}
function qG(a,b){var c=yF,d=oG(a);b.transform&&d.expand(b.transform);var e;b.complete?e=df:e=ef;if(!e.call(cf,c,d))return!1;var f=mG(a);if(!f)return!0;nG(f);c=pG(c,f.xb);return e.call(cf,c,d)}
function rG(a,b,c){var d=lG(a,c);b.hasOwnProperty(d)||(b[d]=qG(a,c));return b[d]}
function sG(a,b,c){a=lG(a,c);if(!!xF[a]!=b)return b?"visible":"hidden"}
function tG(a,b){bc(vF,function(c){if(c&&(!b||Ne(b,c.el))){var d=rG(c.el,a,c.options);(d=sG(c.el,d,c.options))&&d==c.type&&L(Da(c.ya,c.el),0)}})}
function uG(a,b){bc(wF,function(c){if(c&&(!b||Ne(c.el,b)||Ne(b,c.el))){var d=c.filter(c.el);if(d&&d.length){var e=[],f=[],h=[];z(d,function(b){var d=rG(b,a,c.options);d?f.push(b):h.push(b);(d=sG(b,d,c.options))&&d==c.type&&e.push(b)});
e.length&&L(Da(c.ya,e,f,h),0)}}})}
function TF(a){var b={};tG(b,a);uG(b,a);rc(xF,b)}
function vG(a,b,c,d){return kc(vF,function(e){return e.el==a&&e.type==b&&e.ya==c&&nc(e.options,d)})}
function wG(a,b,c,d,e){return kc(wF,function(f){return f.el==a&&f.type==b&&f.ya==c&&f.className==d&&nc(f.options,e)})}
function xG(a,b){z(he("yt-viewport",b),a)}
function yG(a){xG(function(a){cG(a)},a);
Le(a)&&mG(a,!0)}
function zG(a,b){bc(uF,function(c){b&&!Ne(b,c.el)||b==c.el||a(c)})}
function AG(a){var b=nG(a,!0);a=a.xb;return!(a==b||a&&b&&a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left)}
function GF(a){if(BF){var b;if(a)for(b=mG(a,!0);b&&AG(b);)b=mG(a);zG(function(a){delete a.xb},b?b.el:a);
TF(a)}}
function BG(a,b){if(!BF)throw Error("yt.www.page.visibilitymonitor is not initialized.");return qG(a,b||{})}
function CG(a,b,c,d){if(!BF)return"";d=d||{transform:void 0,complete:void 0};var e=vG(a,b,c,d);if(e)return e;yG(a);e=++AF+"";vF[e]={el:a,type:b,ya:c,options:d};return e}
function DG(a,b,c,d,e){if(!BF)return"";a=a||document;e=e||{transform:void 0,complete:void 0};var f=wG(a,b,c,d,e);if(f)return f;yG(a);f=++AF+"";wF[f]={el:a,type:b,ya:c,filter:function(a){return he(d,a)},
className:d,options:e};return f}
function EG(a){BF&&(delete vF[a],delete wF[a])}
function HF(a){var b=t("yt.www.page.visibilitymonitor");if(a||!b)r("yt.www.page.visibilitymonitor.States.VISIBLE","visible",void 0),r("yt.www.page.visibilitymonitor.States.HIDDEN","hidden",void 0),r("yt.www.page.visibilitymonitor.init",CF,void 0),r("yt.www.page.visibilitymonitor.dispose",IF,void 0),r("yt.www.page.visibilitymonitor.refresh",GF,void 0),r("yt.www.page.visibilitymonitor.isVisible",BG,void 0),r("yt.www.page.visibilitymonitor.listen",CG,void 0),r("yt.www.page.visibilitymonitor.delegateByClass",
DG,void 0),r("yt.www.page.visibilitymonitor.unlistenByKey",EG,void 0)}
HF(!1);function FG(){(function(){try{for(var a=this;a.parent!=a;){if("$"==a.frameElement.src)throw Error("odd");a=a.parent}if(null!=a.frameElement)throw Error("busted");}catch(b){document.close(),document.open(),window.open("/","_top"),Zd(top.location,"/")}})()}
function GG(a){"block"==a.responseText&&FG()}
if(window!=window.top){var qs=document.referrer;if(window.parent!=window.top)FG();else{var HG=ps();if(null===HG?0:"com"==HG[0]&&HG[1].match(/^youtube(?:-nocookie)?$/))FG();else{var IG=ps();if(!(null===IG?0:"google"==IG[1]||"google"==IG[2]&&("au"==IG[0]&&"com"==IG[1]||"uk"==IG[0]&&"co"==IG[1]))){var JG={location:encodeURIComponent(qs),self:encodeURIComponent(window.location.href),user_agent:encodeURIComponent(navigator.userAgent)};ys("/roger_rabbit",{format:"RAW",method:"POST",la:JG,R:GG})}}}};var RA,KG=[],LG=[],MG=null,NG=null;function OG(a){MG=a.j;NG=a.l}
function PG(){if(MG){var a=Gb(he("overlay-confirmation-preferences-update-frequency",RA),function(a){return a.value==MG});
a&&(a.checked=!0,NA())}(a=E("receive-post-updates-checkbox",RA))&&null!==NG&&PA(a,NG)}
function QG(){return E("receive-post-updates-checkbox",RA)}
function RG(){var a=QG();a&&!a.disabled&&(NG=a.checked)}
function SG(){var a=QG();a&&("receive-no-updates"==QA()?(PA(a,!1),a.disabled=!0):(a.disabled=!1,null===NG||PA(a,NG)))}
function TG(a){a=F(a.currentTarget,"overlay-confirmation-content");var b=E("updates-frequency-menu",a);b&&(b.disabled=!E("receive-all-updates",a).checked)}
function UG(a){var b=a.currentTarget;a=U(b,"frequency");var c=Az.getInstance(),b=F(b,W(c,"menu")),c=Az.getInstance(),b=Fz(c,b);U(b,"frequency")!=a&&kx(b,"frequency",a)}
function VG(a){a=Me(a);a=E("subscription-preferences-overlay-container",a);return E("yt-dialog",a)}
function WG(a){RA||(RA=VG(a.button));XG(!0);zA.getInstance().show(RA);var b={};b.c=a.j;ys("/subscription_ajax?action_get_subscription_preferences_overlay=1",{method:"POST",U:b,Hb:!0,R:function(a,b){var c=b.content_html;XG(!1);var d=E("subscription-preferences-overlay-content",RA);Wd(d,c);c=EA();d=E("overlay-confirmation-save-button",c);N(LG);LG.length=0;LG.push(M(d,"click",YG),O(c,"click",TG,"receive-all-updates"),O(c,"keypressed",TG,"receive-all-updates"),O(c,"click",RG,"receive-post-updates"),O(c,
"keypressed",RG,"receive-post-updates"),O(c,"click",SG,"overlay-confirmation-preferences-update-frequency"),O(c,"keypressed",SG,"overlay-confirmation-preferences-update-frequency"),O(document.body,"click",UG,"updates-frequency-choice"));MG=QA();NG=(c=QG())?c.checked:null},
onError:function(){zA.getInstance().hide()}})}
function XG(a){var b=RA,c=E("subscription-preferences-overlay-loading",b),b=E("subscription-preferences-overlay-content",b);hz(c,a);hz(b,!a)}
function YG(a){var b=F(a.currentTarget,"yt-dialog-fg");if(b){a=U(a.currentTarget,"channel-external-id");var c=QA(),d=QG();if(c)a=new oE(a,c,d?d.checked:null);else{var c=E("receive-all-updates",b),e=E("updates-frequency-menu",b),b=!1,f=!e||G(e,"hidden");f||"occasionally"!=U(e,"frequency")||(b=!0);e="receive-highlight-updates";c.checked&&!b?e="receive-all-updates":f||c.checked||(e="receive-no-updates");a=new oE(a,e,d?d.checked:null)}yu(IE,a);zA.getInstance().hide()}}
;function ZG(a,b){ru.call(this,1,arguments);this.j=a;this.offerId=b||null}
w(ZG,ru);function $G(a){ru.call(this,1,arguments);this.Fb=a}
w($G,ru);function aH(a,b){ru.call(this,2,arguments);this.l=a;this.j=b}
w(aH,ru);function bH(a,b,c,d){ru.call(this,1,arguments);this.j=b;this.l=c||null;this.itemId=d||null}
w(bH,ru);function cH(a,b){ru.call(this,1,arguments);this.l=a;this.j=b||null}
w(cH,ru);function dH(a){ru.call(this,1,arguments);this.j=a}
w(dH,ru);var eH=new tu("ypc-init-purchase-for-container",ZG),fH=new tu("ypc-core-load",$G),gH=new tu("ypc-guide-sync-success",aH),hH=new tu("ypc-purchase-success",bH),iH=new tu("ypc-subscription-cancel",dH),jH=new tu("ypc-subscription-cancel-success",cH),kH=new tu("ypc-init-subscription",dH);var lH=!1,mH=[];function nH(a){a.j?lH?yu(AE,a):yu(fH,new $G(function(){yu(kH,new dH(a.j))})):oH(a.l,a.A,a.w,a.source)}
function pH(a){a.j?lH?yu(FE,a):yu(fH,new $G(function(){yu(iH,new dH(a.j))})):qH(a.l,a.B,a.A,a.w,a.source)}
function rH(a){sH(Pb(a.j))}
function tH(a){uH(Pb(a.j))}
function vH(a){wH(a.w,a.j,a.l)}
function xH(a){var b=a.itemId,c=a.j.subscriptionId;b&&c&&yu(zE,new rE(b,c,a.j.channelInfo))}
function yH(a){var b=a.j;bc(a.l,function(a,d){yu(zE,new rE(d,a,b[d]))})}
function zH(a){yu(EE,new nE(a.l.itemId));a.j&&a.j.length&&(AH(a.j,EE),AH(a.j,GE))}
function oH(a,b,c,d){var e=new nE(a);yu(xE,e);var f={};f.c=a;c&&(f.eurl=c);d&&(f.source=d);c={};(d=J("PLAYBACK_ID"))&&(c.plid=d);(d=J("EVENT_ID"))&&(c.ei=d);b&&BH(b,c);ys("/subscription_ajax?action_create_subscription_to_channel=1",{method:"POST",la:f,U:c,R:function(b,c){var d=c.response;yu(zE,new rE(a,d.id,d.channel_info));d.show_feed_privacy_dialog&&R("SHOW-FEED-PRIVACY-SUBSCRIBE-DIALOG",a);d.actions&&QE(d.actions)},
oa:function(){yu(yE,e)}})}
function qH(a,b,c,d,e){var f=new nE(a);yu(CE,f);var h={};d&&(h.eurl=d);e&&(h.source=e);d={};d.c=a;d.s=b;(a=J("PLAYBACK_ID"))&&(d.plid=a);(a=J("EVENT_ID"))&&(d.ei=a);c&&BH(c,d);ys("/subscription_ajax?action_remove_subscriptions=1",{method:"POST",la:h,U:d,R:function(a,b){var c=b.response;yu(EE,f);c.actions&&QE(c.actions)},
oa:function(){yu(DE,f)}})}
function wH(a,b,c){if(a){var d={};d.channel_id=a;switch(b){case "receive-all-updates":d.receive_all_updates=!0;break;case "receive-no-updates":d.receive_no_updates=!0;d.receive_post_updates=!1;break;case "receive-highlight-updates":d.receive_all_updates=!1;d.receive_no_updates=!1;break;default:return}null===c||d.receive_no_updates||(d.receive_post_updates=c);var e=new oE(a,b,c);ys("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",U:d,onError:function(){yu(KE,e)},
R:function(){yu(JE,e)}})}}
function sH(a){if(a.length){var b=Rb(a,0,40);yu("subscription-batch-subscribe-loading");AH(b,xE);var c={};c.a=b.join(",");var d=function(){yu("subscription-batch-subscribe-loaded");AH(b,yE)};
ys("/subscription_ajax?action_create_subscription_to_all=1",{method:"POST",U:c,R:function(c,f){d();var e=f.response,k=e.id;if(ta(k)&&k.length==b.length){var l=e.channel_info_map;z(k,function(a,c){var d=b[c];yu(zE,new rE(d,a,l[d]))});
a.length?sH(a):yu("subscription-batch-subscribe-finished")}},
onError:function(){d();yu("subscription-batch-subscribe-failure")}})}}
function uH(a){if(a.length){var b=Rb(a,0,40);yu("subscription-batch-unsubscribe-loading");AH(b,CE);var c={};c.c=b.join(",");var d=function(){yu("subscription-batch-unsubscribe-loaded");AH(b,DE)};
ys("/subscription_ajax?action_remove_subscriptions=1",{method:"POST",U:c,R:function(){d();AH(b,EE);a.length&&uH(a)},
onError:function(){d()}})}}
function AH(a,b){z(a,function(a){yu(b,new nE(a))})}
function BH(a,b){var c=os(a);Ea(b,c)}
;var CH={},DH=[];function EH(a){a=F(a,"yt-uix-button-subscription-container");a=E("unsubscribe-confirmation-overlay-container",a);return E("yt-dialog",a)}
function FH(a,b){N(DH);DH.length=0;CH[b]||(CH[b]=EH(a));zA.getInstance().show(CH[b]);var c=EA();return new Qi(function(a){DH.push(O(c,"click",function(){a()},"overlay-confirmation-unsubscribe-button"))})}
;function GH(a){for(var b=0,c=a.length;b<c;b++){var d;if(d=ie("IMG",null,a[b])){var e=U(d,"thumb");e&&(d.src=e,jx(d,"thumb"))}}}
;function HH(){var a=J("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!J("SESSION_INDEX")&&!J("LOGGED_IN"))}
;function IH(){V.call(this,"simple-thumb-wrap")}
var JH,KH;w(IH,V);ra(IH);var LH="",MH=/__VIDEO_ID__/g;IH.prototype.register=function(){if(LH=J("WATCH_LATER_BUTTON",void 0))JH=J("WATCH_QUEUE_BUTTON",void 0),KH=J("WATCH_QUEUE_MENU",void 0),X(this,"mouseover",this.j),X(this,No,this.j),X(this,"focus",this.j)};
IH.prototype.unregister=function(){Y(this,"mouseover",this.j);Y(this,No,this.j);Y(this,"focus",this.j);IH.J.unregister.call(this);KH=JH=LH=""};
IH.prototype.j=function(a){var b=HH(),c=F(a,"thumb-wrapper");if(!(c&&(b?E("addto-watch-later-button",c):E("addto-watch-later-button-sign-in",c)))){var d=this.G(a,"vid"),b=LH.replace(MH,d),c=JH.replace(MH,d),d=KH.replace(MH,d),e=F(a,"thumb-wrapper");e.appendChild(ve($e(b)));e.appendChild(ve($e(d)));e.appendChild(ve($e(c)));(a=F(a,"video-list-item"))&&I(a,"show-video-time")}};function NH(a){var b=document.location.protocol+"//"+document.domain+"/post_login",b=Dg(b,"mode","subscribe"),b=Dg("/signin?context=popup","next",b),b=Dg(b,"feature","sub_button");if(b=window.open(b,"loginPopup","width=375,height=440,resizable=yes,scrollbars=yes",!0)){var c=Q("LOGGED_IN",function(b){rt(J("LOGGED_IN_PUBSUB_KEY",void 0));hs("LOGGED_IN",!0);a(b)});
hs("LOGGED_IN_PUBSUB_KEY",c);b.moveTo((screen.width-375)/2,(screen.height-440)/2)}}
r("yt.pubsub.publish",R,void 0);function OH(){V.call(this,"subscription-button")}
w(OH,V);ra(OH);OH.prototype.register=function(){X(this,"click",this.kd);xz(this,xE,this.pe);xz(this,yE,this.mf);xz(this,zE,this.Oi);xz(this,CE,this.pe);xz(this,DE,this.mf);xz(this,EE,this.Mh);xz(this,GE,this.kh);xz(this,HE,this.jh)};
OH.prototype.unregister=function(){Y(this,"click",this.kd);OH.J.unregister.call(this)};
var PH={ld:"hover-enabled",rf:"yt-uix-button-subscribe",sf:"yt-uix-button-subscribed",bj:"ypc-enabled",tf:"yt-uix-button-subscription-container",uf:"yt-subscription-button-disabled-mask-container"},QH={cj:"channel-external-id",wf:"subscriber-count-show-when-subscribed",xf:"subscriber-count-tooltip",yf:"subscriber-count-title",tj:"href",xj:"insecure",md:"is-subscribed",Mj:"parent-url",ek:"clicktracking",Bf:"show-unsub-confirm-dialog",ik:"show-unsub-confirm-time-frame",Cf:"style-type",nd:"subscribed-timestamp",
od:"subscription-id",tk:"target",Df:"ypc-enabled"};g=OH.prototype;g.kd=function(a){var b=this.G(a,"href"),c=this.G(a,"insecure"),d=HH(),c=c&&!0;if(b)a=this.G(a,"target")||"_self",window.open(b,a);else if(!c)if(d){var b=this.Kb(a),d=this.G(a,"clicktracking"),c=RH(this,a),e=this.G(a,"parent-url");if(this.G(a,"is-subscribed")){var f=this.G(a,"subscription-id"),h=new sE(b,f,c,a,d,e);SH(this,a)?FH(a,b).then(function(){yu(BE,h)}):yu(BE,h)}else yu(wE,new qE(b,c,d,e))}else TH(this,a)};
g.pe=function(a){this.Cb(a.j,this.Me,!0)};
g.mf=function(a){this.Cb(a.j,this.Me,!1)};
g.Oi=function(a){this.Cb(a.j,this.Ne,!0,a.l)};
g.Mh=function(a){this.Cb(a.j,this.Ne,!1)};
g.kh=function(a){this.Cb(a.j,this.Nf)};
g.jh=function(a){this.Cb(a.j,this.Mf)};
g.Ne=function(a,b,c){b?(kx(a,QH.md,"true"),c&&kx(a,QH.od,c),this.G(a,QH.Bf)&&(b=new Bp,kx(a,QH.nd,(b.getTime()/1E3).toString()))):(jx(a,QH.md),jx(a,QH.nd),jx(a,QH.od));UH(this,a)};
g.Kb=function(a){return this.G(a,"channel-external-id")};
function RH(a,b){if(!a.G(b,"ypc-enabled"))return null;var c=a.G(b,"ypc-item-type"),d=a.G(b,"ypc-item-id");return{itemType:c,itemId:d,subscriptionElement:b}}
g.Me=function(a,b){var c=F(a,PH.tf);Gp(c,PH.uf,b);a.setAttribute("aria-busy",b?"true":"false");a.disabled=b};
function UH(a,b){var c=a.G(b,QH.Cf),d=!!a.G(b,"is-subscribed"),c="-"+c,e=PH.sf+c;Gp(b,PH.rf+c,!d);Gp(b,e,d);a.G(b,QH.xf)&&!a.G(b,QH.wf)&&(c=W(QB.getInstance()),Gp(b,c,!d),b.title=d?"":a.G(b,QH.yf));d?L(function(){H(b,PH.ld)},1E3):I(b,PH.ld)}
g.Nf=function(a){var b=!!this.G(a,"ypc-item-type"),c=!!this.G(a,"ypc-item-id");!this.G(a,"ypc-enabled")&&b&&c&&(H(a,"ypc-enabled"),kx(a,QH.Df,"true"))};
g.Mf=function(a){this.G(a,"ypc-enabled")&&(I(a,"ypc-enabled"),jx(a,"ypc-enabled"))};
function VH(a,b){return Bb(he(W(a)),function(a){return b==this.Kb(a)},a)}
g.Ni=function(a,b,c){var d=Sb(arguments,2);z(a,function(a){b.apply(this,Ob(a,d))},this)};
g.Cb=function(a,b,c){var d=VH(this,a);this.Ni.apply(this,Ob([d],Sb(arguments,1)))};
function TH(a,b){var c=u(function(a){a.discoverable_subscriptions&&hs("SUBSCRIBE_EMBED_DISCOVERABLE_SUBSCRIPTIONS",a.discoverable_subscriptions);this.kd(b)},a);
NH(c)}
function SH(a,b){if(!a.G(b,"show-unsub-confirm-dialog"))return!1;var c=a.G(b,"show-unsub-confirm-time-frame");return"always"==c||"ten_minutes"==c&&(c=parseInt(a.G(b,"subscribed-timestamp"),10),(new Bp).getTime()<1E3*(c+600))?!0:!1}
;function WH(){V.call(this,"subscription-preferences-button")}
w(WH,V);ra(WH);WH.prototype.register=function(){X(this,"click",this.pf);xz(this,zE,this.Qi);xz(this,JE,this.Nh)};
WH.prototype.unregister=function(){Y(this,"click",this.pf);WH.J.unregister.call(this)};
var XH={"receive-all-updates":"yt-uix-subscription-notifications-all","receive-highlight-updates":"yt-uix-subscription-notifications-highlights","receive-no-updates":"yt-uix-subscription-notifications-none"};g=WH.prototype;g.pf=function(a){var b=this.Kb(a);yu(vE,new pE(a,b))};
g.Re=function(a,b){Fp(a,["yt-uix-subscription-notifications-all","yt-uix-subscription-notifications-highlights","yt-uix-subscription-notifications-none"]);H(a,b)};
g.Nh=function(a){this.nf(a.w,this.Re,XH[a.j])};
g.Qi=function(a){this.nf(a.j,this.Re,"yt-uix-subscription-notifications-highlights")};
g.Kb=function(a){return this.G(a,"channel-external-id")};
g.nf=function(a,b,c){var d=YH(this,a);this.Pi.apply(this,Ob([d],Sb(arguments,1)))};
function YH(a,b){return Bb(he(W(a)),function(a){return b==this.Kb(a)},a)}
g.Pi=function(a,b,c){var d=Sb(arguments,2);z(a,function(a){b.apply(this,Ob(a,d))},this)};var ZH=0,$H=0,aI=[],bI=[],cI=0,dI={},eI={},gI=new sp(fI,1E3);function hI(){gI.stop()}
function iI(){T("vpr")}
function jI(a,b){for(var c=a,d=[];c!=document.body;){var e=Ss(c);if(e in dI)return!0;if(e in eI)return!1;var f=window.getComputedStyle(c);if("none"==f.display||"hidden"==f.visibility)return eI[e]=!0,!1;f=c.getBoundingClientRect();if(!(b.left<=f.left+f.width&&f.left<=b.left+b.width&&b.top<=f.top+f.height&&f.top<=b.top+b.height))return eI[e]=!0,!1;d.push(e);c=c.parentElement}for(c=0;c<d.length;c++)dI[d[c]]=!0;return!0}
function kI(a){for(var b=le(window),b=new ff(0,0,b.width,b.height),c=0,d=0,e=a.length;d<e;d++){var f=a[d].time;jI(a[d].zg,b)&&c<f&&(c=f)}return c}
function lI(a){var b=cI;return new Qi(function(c,d){var e={zg:a,time:0};a.loadTime?(e.time=parseInt(a.loadTime,10),c(e)):(a.slt=function(){cI!=b?d():(e.time=parseInt(a.loadTime,10),c(e),a.slt=void 0)},bI.push(a))})}
function mI(a){gI.start();Dw("vpil",++ZH);a=a.time;$H<a&&($H=a,T("lim",a))}
function fI(){T("vptl",$H);T("vpl",$H)}
function nI(){aI.forEach(function(a){a.cancel()});
$H=ZH=aI.length=0;dI={};eI={};bI.forEach(function(a){a.slt=void 0});
bI.length=0}
function oI(){cI++;var a=le(window),b=new ff(0,0,a.width,a.height);Dw("vps",a.width+"."+a.height);T("vpc");var a=document.querySelectorAll(".yt-lockup-thumbnail img[data-ytimg]"),c=a.length,d=[],e=!0;gI.start();for(var f=0;f<c;f++){var h=a[f];if(jI(h,b)){var k=lI(h);k.then(mI);d.push(k);aI.push(k);h.loadTime||(e=!1)}}e&&Dw("yt_eil",1);Dw("vpni",d.length);T("vpcc");b=Zi(d).then(kI);$i(b,null,iI,void 0);b.then(hI);aI.push(b);return b}
;function pI(){T("ol");window.requestAnimationFrame&&!document.hidden?window.requestAnimationFrame(function(){setTimeout(function(){T("cpt")},0)}):document.hidden?T("cpt"):setTimeout(function(){T("cpt")},0);
qI();J("CSI_VIEWPORT")&&(rI=oI(),rI.then(function(a){T("vpl",a);rI=null},function(){}))}
function qI(){sI("init");var a=J("PAGE_NAME",void 0);a&&sI("init-"+a)}
var rI=null;function sI(a){t("yt.scheduler.instance")?tI.push(lu(Da(vt,a),1,0)):R(a)}
var tI=[];var uI;function vI(){if(!uI){var a=D("watch-queue");if(!a)return[];uI=E("watch-queue-items-list",a)}if(!uI)return[];var b=[],a=Ae(uI);z(a,function(a){(a=U(a,"video-id"))&&b.push(a)});
return b}
;function wI(a){this.port=this.domain="";this.j="/api/lounge";this.l=!0;a=a||document.location.href;var b=Number(ug(a)[4]||null)||null||"";b&&(this.port=":"+b);this.domain=wg(a)||"";a=Yb;0<=a.search("MSIE")&&(a=a.match(/MSIE ([\d.]+)/)[1],0>ub(a,"10.0")&&(this.l=!1))}
function xI(a,b){var c=a.j;if(n(void 0)?0:a.l)c="https://"+a.domain+a.port+a.j;return Eg(c+b,{})}
function yI(a,b,c,d,e){a={format:"JSON",method:"POST",context:a,timeout:5E3,withCredentials:!1,R:Da(a.A,d,!0),onError:Da(a.w,e),Va:Da(a.B,e)};c&&(a.U=c,a.headers={"Content-Type":"application/x-www-form-urlencoded"});return ys(b,a)}
wI.prototype.A=function(a,b,c,d){b?a(d):a({text:c.responseText})};
wI.prototype.w=function(a,b){a(Error("Request error: "+b.status))};
wI.prototype.B=function(a){a(Error("request timed out"))};var zI=v(),AI=null,BI=Array(50),CI=-1,DI=!1;function EI(){var a=FI;GI();AI.push(a);HI(AI)}
function II(a,b){GI();var c=AI,d=JI(a,String(b));0==c.length?KI(d):(HI(c),z(c,function(a){a(d)}))}
function GI(){AI||(AI=t("yt.mdx.remote.debug.handlers_")||[],r("yt.mdx.remote.debug.handlers_",AI,void 0))}
function KI(a){var b=(CI+1)%50;CI=b;BI[b]=a;DI||(DI=49==b)}
function HI(a){var b=BI;if(b[0]){var c=CI,d=DI?c:-1;do{var d=(d+1)%50,e=b[d];z(a,function(a){a(e)})}while(d!=c);
BI=Array(50);CI=-1;DI=!1}}
function JI(a,b){var c=(v()-zI)/1E3;c.toFixed&&(c=c.toFixed(3));var d=[];d.push("[",c+"s","] ");d.push("[","yt.mdx.remote","] ");d.push(a+": "+b,"\n");return d.join("")}
;function LI(a){a=a||{};this.name=a.name||"";this.id=a.id||a.screenId||"";this.token=a.token||a.loungeToken||"";this.uuid=a.uuid||a.dialId||""}
function MI(a,b){return!!b&&(a.id==b||a.uuid==b)}
function NI(a){return{name:a.name,screenId:a.id,loungeToken:a.token,dialId:a.uuid}}
function OI(a){return new LI(a)}
function PI(a){return ta(a)?Cb(a,OI):[]}
function QI(a){return a?'{name:"'+a.name+'",id:'+a.id.substr(0,6)+"..,token:"+(a.token?".."+a.token.slice(-6):"-")+",uuid:"+(a.uuid?".."+a.uuid.slice(-6):"-")+"}":"null"}
function RI(a){return ta(a)?"["+Cb(a,QI).join(",")+"]":"null"}
;function SI(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:b&3|8).toString(16)})}
function TI(a,b){return Gb(a,function(a){return a||b?!a!=!b?!1:a.id==b.id:!0})}
function UI(a,b){return Gb(a,function(a){return MI(a,b)})}
;function VI(){gk.call(this);this.D=new Er;hk(this,Da(ik,this.D))}
w(VI,gk);VI.prototype.subscribe=function(a,b,c){return this.T()?0:this.D.subscribe(a,b,c)};
VI.prototype.Zd=function(a,b,c){return this.T()?!1:Gr(this.D,a,b,c)};
VI.prototype.va=function(a){return this.T()?!1:this.D.va(a)};
VI.prototype.K=function(a,b){return this.T()?!1:this.D.na.apply(this.D,arguments)};function WI(a){VI.call(this);this.F=a;this.j=[]}
w(WI,VI);WI.prototype.sa=function(){return this.j};
WI.prototype.contains=function(a){return!!TI(this.j,a)};
WI.prototype.get=function(a){return a?UI(this.j,a):null};
function XI(a,b){var c=a.get(b.uuid)||a.get(b.id);if(c){var d=c.name;c.id=b.id||c.id;c.name=b.name;c.token=b.token;c.uuid=b.uuid||c.uuid;return c.name!=d}a.j.push(b);return!0}
function YI(a,b){var c=a.j.length!=b.length;a.j=Bb(a.j,function(a){return!!TI(b,a)});
for(var d=0,e=b.length;d<e;d++)c=XI(a,b[d])||c;return c}
function ZI(a,b){var c=a.j.length;a.j=Bb(a.j,function(a){return!(a||b?!a!=!b?0:a.id==b.id:1)});
return a.j.length<c}
WI.prototype.info=function(a){II(this.F,a)};function $I(a,b,c,d){VI.call(this);this.F=a;this.C=b;this.A=c;this.B=d;this.w=0;this.j=null;this.l=NaN}
w($I,VI);var aJ=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];g=$I.prototype;g.start=function(){!this.j&&isNaN(this.l)&&this.Be()};
g.stop=function(){this.j&&(this.j.abort(),this.j=null);isNaN(this.l)||(K(this.l),this.l=NaN)};
g.M=function(){this.stop();$I.J.M.call(this)};
g.Be=function(){this.l=NaN;this.j=ys(xI(this.F,"/pairing/get_screen"),{method:"POST",U:{pairing_code:this.C},timeout:5E3,R:u(this.Ai,this),onError:u(this.zi,this),Va:u(this.Bi,this)})};
g.Ai=function(a,b){this.j=null;var c=b.screen||{};c.dialId=this.A;c.name=this.B;this.K("pairingComplete",new LI(c))};
g.zi=function(a){this.j=null;a.status&&404==a.status?this.w>=aJ.length?this.K("pairingFailed",Error("DIAL polling timed out")):(a=aJ[this.w],this.l=L(u(this.Be,this),a),this.w++):this.K("pairingFailed",Error("Server error "+a.status))};
g.Bi=function(){this.j=null;this.K("pairingFailed",Error("Server not responding"))};function bJ(a,b){this.action=a;this.params=b||{}}
;function cJ(a){this.app=this.name=this.id="";this.type="REMOTE_CONTROL";this.avatar=this.username="";this.w=!1;this.capabilities=new Xr;this.experiments=new Xr;this.theme="u";new wl;this.j=this.l="";if(a){this.id=a.id||a.name;this.name=a.name;this.app=a.app;this.type=a.type||"REMOTE_CONTROL";this.username=a.user||"";this.avatar=a.userAvatarUri||"";this.theme=a.theme||"u";var b=a.capabilities||"";this.capabilities.clear();Yr(this.capabilities,Bb(b.split(","),Da(fc,xt)));b=a.experiments||"";this.experiments.clear();
Yr(this.experiments,b.split(","));this.l=a.remoteControllerUrl||"";this.j=a.localChannelEncryptionKey||""}}
cJ.prototype.copy=function(){var a=new cJ({id:this.id,name:this.name,app:this.app,type:this.type,user:this.username,userAvatarUri:this.avatar,theme:this.theme,capabilities:this.capabilities.ba().join(","),experiments:this.experiments.ba().join(",")});a.w=this.w;a.l=this.l;a.j=this.j;return a};
cJ.prototype.equals=function(a){return a?this.id==a.id:!1};var dJ;function eJ(){var a=fJ(),b=gJ();if(hJ()){var c=a;var d=0;for(var e=c.length,f;d<e;){var h=d+e>>1;var k=Vb(b,c[h]);0<k?d=h+1:(e=h,f=!k)}d=f?d:~d;0>d&&Rb(c,-(d+1),0,b)}a=iJ(a);if(0==a.length)try{$t("remote_sid")}catch(l){}else try{au("remote_sid",a.join(","),-1,"/")}catch(l){}}
function fJ(){var a=Tt("yt-remote-connected-devices")||[];a.sort(Vb);return a}
function iJ(a){if(0==a.length)return[];var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return Cb(a,function(a,b){return 0==b?a:a.substring(c.length)})}
function jJ(a){Qt("yt-remote-connected-devices",a,86400)}
function gJ(){if(kJ)return kJ;var a=Tt("yt-remote-device-id");a||(a=SI(),Qt("yt-remote-device-id",a,31536E3));for(var b=fJ(),c=1,d=a;Jb(b,d);)c++,d=a+"#"+c;return kJ=d}
function lJ(){return Tt("yt-remote-session-browser-channel")}
function hJ(){return Tt("yt-remote-session-screen-id")}
function mJ(a){5<a.length&&(a=a.slice(a.length-5));var b=Cb(nJ(),function(a){return a.loungeToken}),c=Cb(a,function(a){return a.loungeToken});
Fb(c,function(a){return!Jb(b,a)})&&oJ();
Qt("yt-remote-local-screens",a,31536E3)}
function nJ(){return Tt("yt-remote-local-screens")||[]}
function oJ(){Qt("yt-remote-lounge-token-expiration",!0,86400)}
function pJ(a,b){Qt("yt-remote-session-browser-channel",a);Qt("yt-remote-session-screen-id",b);var c=fJ(),d=gJ();Jb(c,d)||c.push(d);jJ(c);eJ()}
function qJ(a){a||(Ut("yt-remote-session-screen-id"),Ut("yt-remote-session-video-id"));eJ();a=fJ();Lb(a,gJ());jJ(a)}
function rJ(){if(!dJ){var a=new Ur;(a=a.isAvailable()?a:null)&&(dJ=new Ir(a))}return dJ?!!dJ.get("yt-remote-use-staging-server"):!1}
var kJ="";function sJ(a){WI.call(this,"LocalScreenService");this.w=a;this.l=NaN;tJ(this);this.info("Initializing with "+RI(this.j))}
w(sJ,WI);g=sJ.prototype;g.start=function(){tJ(this)&&this.K("screenChange");!Tt("yt-remote-lounge-token-expiration")&&uJ(this);K(this.l);this.l=L(u(this.start,this),1E4)};
g.Ec=function(a,b){tJ(this);XI(this,a);vJ(this,!1);this.K("screenChange");b(a);a.token||uJ(this)};
g.remove=function(a,b){var c=tJ(this);ZI(this,a)&&(vJ(this,!1),c=!0);b(a);c&&this.K("screenChange")};
g.Ac=function(a,b,c,d){var e=tJ(this),f=this.get(a.id);f?(f.name!=b&&(f.name=b,vJ(this,!1),e=!0),c(a)):d(Error("no such local screen."));e&&this.K("screenChange")};
g.M=function(){K(this.l);sJ.J.M.call(this)};
function uJ(a){if(a.j.length){var b=Cb(a.j,function(a){return a.id}),c=xI(a.w,"/pairing/get_lounge_token_batch");
yI(a.w,c,{screen_ids:b.join(",")},u(a.ig,a),u(a.hg,a))}}
g.ig=function(a){tJ(this);var b=this.j.length;a=a&&a.screens||[];for(var c=0,d=a.length;c<d;++c){var e=a[c],f=this.get(e.screenId);f&&(f.token=e.loungeToken,--b)}vJ(this,!b);b&&II(this.F,"Missed "+b+" lounge tokens.")};
g.hg=function(a){II(this.F,"Requesting lounge tokens failed: "+a)};
function tJ(a){var b=PI(nJ()),b=Bb(b,function(a){return!a.uuid});
return YI(a,b)}
function vJ(a,b){mJ(Cb(a.j,NI));b&&oJ()}
;function wJ(a,b){VI.call(this);this.C=b;for(var c=Tt("yt-remote-online-screen-ids")||"",c=c?c.split(","):[],d={},e=this.C(),f=0,h=e.length;f<h;++f){var k=e[f].id;d[k]=Jb(c,k)}this.j=d;this.B=a;this.w=this.A=NaN;this.l=null;xJ("Initialized with "+ui(this.j))}
w(wJ,VI);g=wJ.prototype;g.start=function(){var a=parseInt(Tt("yt-remote-fast-check-period")||"0",10);(this.A=v()-144E5<a?0:a)?yJ(this):(this.A=v()+3E5,Qt("yt-remote-fast-check-period",this.A),this.Zc())};
g.isEmpty=function(){return lc(this.j)};
g.update=function(){xJ("Updating availability on schedule.");var a=this.C(),b=cc(this.j,function(b,d){return b&&!!UI(a,d)},this);
zJ(this,b)};
function AJ(a,b,c){var d=xI(a.B,"/pairing/get_screen_availability");yI(a.B,d,{lounge_token:b.token},u(function(a){a=a.screens||[];for(var d=0,e=a.length;d<e;++d)if(a[d].loungeToken==b.token){c("online"==a[d].status);return}c(!1)},a),u(function(){c(!1)},a))}
g.M=function(){K(this.w);this.w=NaN;this.l&&(this.l.abort(),this.l=null);wJ.J.M.call(this)};
function zJ(a,b){a:if(ec(b)!=ec(a.j))var c=!1;else{c=ic(b);for(var d=0,e=c.length;d<e;++d)if(!a.j[c[d]]){c=!1;break a}c=!0}c||(xJ("Updated online screens: "+ui(a.j)),a.j=b,a.K("screenChange"));BJ(a)}
function yJ(a){isNaN(a.w)||K(a.w);a.w=L(u(a.Zc,a),0<a.A&&a.A<v()?2E4:1E4)}
g.Zc=function(){K(this.w);this.w=NaN;this.l&&this.l.abort();var a=CJ(this);if(ec(a)){var b=xI(this.B,"/pairing/get_screen_availability");this.l=yI(this.B,b,{lounge_token:ic(a).join(",")},u(this.Fh,this,a),u(this.Eh,this))}else zJ(this,{}),yJ(this)};
g.Fh=function(a,b){this.l=null;var c=ic(CJ(this));if(Tb(c,ic(a))){for(var c=b.screens||[],d={},e=0,f=c.length;e<f;++e)d[a[c[e].loungeToken]]="online"==c[e].status;zJ(this,d);yJ(this)}else this.Y("Changing Screen set during request."),this.Zc()};
g.Eh=function(a){this.Y("Screen availability failed: "+a);this.l=null;yJ(this)};
function xJ(a){II("OnlineScreenService",a)}
g.Y=function(a){II("OnlineScreenService",a)};
function CJ(a){var b={};z(a.C(),function(a){a.token?b[a.token]=a.id:this.Y("Requesting availability of screen w/o lounge token.")});
return b}
function BJ(a){a=ic(cc(a.j,function(a){return a}));
a.sort(Vb);a.length?Qt("yt-remote-online-screen-ids",a.join(","),60):Ut("yt-remote-online-screen-ids")}
;function DJ(a){WI.call(this,"ScreenService");this.C=a;this.l=this.w=null;this.A=[];this.B={};EJ(this)}
w(DJ,WI);g=DJ.prototype;g.start=function(){this.w.start();this.l.start();this.j.length&&(this.K("screenChange"),this.l.isEmpty()||this.K("onlineScreenChange"))};
g.Ec=function(a,b,c){this.w.Ec(a,b,c)};
g.remove=function(a,b,c){this.w.remove(a,b,c);this.l.update()};
g.Ac=function(a,b,c,d){this.w.contains(a)?this.w.Ac(a,b,c,d):(a="Updating name of unknown screen: "+a.name,II(this.F,a),d(Error(a)))};
g.sa=function(a){return a?this.j:Ob(this.j,Bb(this.A,function(a){return!this.contains(a)},this))};
g.Ve=function(){return Bb(this.sa(!0),function(a){return!!this.l.j[a.id]},this)};
function FJ(a,b,c,d,e,f){a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.B[b]);var h=a.sa();if(h=(c?UI(h,c):null)||UI(h,b)){h.uuid=b;var k=GJ(a,h);AJ(a.l,k,function(a){e(a?k:null)})}else c?HJ(a,c,u(function(a){var f=GJ(this,new LI({name:d,
screenId:c,loungeToken:a,dialId:b||""}));AJ(this.l,f,function(a){e(a?f:null)})},a),f):e(null)}
g.We=function(a,b,c,d,e){this.info("getDialScreenByPairingCode "+a+" / "+b);var f=new $I(this.C,a,b,c);f.subscribe("pairingComplete",u(function(a){ik(f);d(GJ(this,a))},this));
f.subscribe("pairingFailed",function(a){ik(f);e(a)});
f.start();return u(f.stop,f)};
function IJ(a,b){for(var c=0,d=a.j.length;c<d;++c)if(a.j[c].name==b)return a.j[c];return null}
g.Di=function(a,b,c,d){ys(xI(this.C,"/pairing/get_screen"),{method:"POST",U:{pairing_code:a},timeout:5E3,R:u(function(a,d){var e=new LI(d.screen||{});if(!e.name||IJ(this,e.name)){a:{var f=e.name;for(var l=2,p=b(f,l);IJ(this,p);){l++;if(20<l)break a;p=b(f,l)}f=p}e.name=f}c(GJ(this,e))},this),
onError:u(function(a){d(Error("pairing request failed: "+a.status))},this),
Va:u(function(){d(Error("pairing request timed out."))},this)})};
g.M=function(){ik(this.w);ik(this.l);DJ.J.M.call(this)};
function HJ(a,b,c,d){a.info("requestLoungeToken_ for "+b);var e={U:{screen_ids:b},method:"POST",context:a,R:function(a,e){var f=e&&e.screens||[];f[0]&&f[0].screenId==b?c(f[0].loungeToken):d(Error("Missing lounge token in token response"))},
onError:function(){d(Error("Request screen lounge token failed"))}};
ys(xI(a.C,"/pairing/get_lounge_token_batch"),e)}
function JJ(a){a.j=a.w.sa();var b=a.B,c={},d;for(d in b)c[b[d]]=d;b=0;for(d=a.j.length;b<d;++b){var e=a.j[b];e.uuid=c[e.id]||""}a.info("Updated manual screens: "+RI(a.j))}
g.rg=function(){JJ(this);this.K("screenChange");this.l.update()};
function EJ(a){KJ(a);a.w=new sJ(a.C);a.w.subscribe("screenChange",u(a.rg,a));JJ(a);a.A=PI(Tt("yt-remote-automatic-screen-cache")||[]);KJ(a);a.info("Initializing automatic screens: "+RI(a.A));a.l=new wJ(a.C,u(a.sa,a,!0));a.l.subscribe("screenChange",u(function(){this.K("onlineScreenChange")},a))}
function GJ(a,b){var c=a.get(b.id);c?(c.uuid=b.uuid,b=c):((c=UI(a.A,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.A.push(b),Qt("yt-remote-automatic-screen-cache",Cb(a.A,NI)));KJ(a);a.B[b.uuid]=b.id;Qt("yt-remote-device-id-map",a.B,31536E3);return b}
function KJ(a){a.B=Tt("yt-remote-device-id-map")||{}}
DJ.prototype.dispose=DJ.prototype.dispose;function LJ(a,b,c){VI.call(this);this.W=c;this.L=a;this.j=b;this.w=null}
w(LJ,VI);g=LJ.prototype;g.nc=function(a){this.w=a;this.K("sessionScreen",this.w)};
g.pa=function(a){this.T()||(a&&MJ(this,""+a),this.w=null,this.K("sessionScreen",null))};
g.info=function(a){II(this.W,a)};
function MJ(a,b){II(a.W,b)}
g.Ye=function(){return null};
g.cd=function(a){var b=this.j;a?(b.displayStatus=new chrome.cast.ReceiverDisplayStatus(a,[]),b.displayStatus.showStop=!0):b.displayStatus=null;chrome.cast.setReceiverDisplayStatus(b,u(function(){this.info("Updated receiver status for "+b.friendlyName+": "+a)},this),u(function(){MJ(this,"Failed to update receiver status for: "+b.friendlyName)},this))};
g.M=function(){this.cd("");LJ.J.M.call(this)};function NJ(a,b){LJ.call(this,a,b,"CastSession");this.l=null;this.A=0;this.C=u(this.Ei,this);this.B=u(this.Rh,this);this.A=L(u(function(){OJ(this,null)},this),12E4)}
w(NJ,LJ);g=NJ.prototype;g.bd=function(a){if(this.l){if(this.l==a)return;MJ(this,"Overriding cast sesison with new session object");this.l.removeUpdateListener(this.C);this.l.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.B)}this.l=a;this.l.addUpdateListener(this.C);this.l.addMessageListener("urn:x-cast:com.google.youtube.mdx",this.B);PJ(this)};
g.rb=function(a){this.info("launchWithParams no-op for Cast: "+ui(a))};
g.stop=function(){this.l?this.l.stop(u(function(){this.pa()},this),u(function(){this.pa(Error("Failed to stop receiver app."))},this)):this.pa(Error("Stopping cast device witout session."))};
g.cd=qa;g.M=function(){this.info("disposeInternal");K(this.A);this.A=0;this.l&&(this.l.removeUpdateListener(this.C),this.l.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.B));this.l=null;NJ.J.M.call(this)};
function PJ(a){a.info("sendYoutubeMessage_: getMdxSessionStatus "+ui(void 0));var b={type:"getMdxSessionStatus"};a.l?a.l.sendMessage("urn:x-cast:com.google.youtube.mdx",b,qa,u(function(){MJ(this,"Failed to send message: getMdxSessionStatus.")},a)):MJ(a,"Sending yt message without session: "+ui(b))}
g.Rh=function(a,b){if(!this.T())if(b){a:{var c;if(m.JSON)try{var d=c=m.JSON.parse(b);break a}catch(e){}d=c=ti(b)}if(d)switch(c=""+d.type,d=d.data||{},this.info("onYoutubeMessage_: "+c+" "+ui(d)),c){case "mdxSessionStatus":OJ(this,d.screenId);break;default:MJ(this,"Unknown youtube message: "+c)}else MJ(this,"Unable to parse message.")}else MJ(this,"No data in message.")};
function OJ(a,b){K(a.A);if(b){if(a.info("onConnectedScreenId_: Received screenId: "+b),!a.w||a.w.id!=b){var c=u(a.nc,a),d=u(a.pa,a);a.Md(b,c,d,5)}}else a.pa(Error("Waiting for session status timed out."))}
g.Md=function(a,b,c,d){FJ(this.L,this.j.label,a,this.j.friendlyName,u(function(e){e?b(e):0<=d?(MJ(this,"Screen "+a+" appears to be offline. "+d+" retries left."),L(u(this.Md,this,a,b,c,d-1),300)):c(Error("Unable to fetch screen."))},this),c)};
g.Ye=function(){return this.l};
g.Ei=function(a){this.T()||a||(MJ(this,"Cast session died."),this.pa())};function QJ(a,b){LJ.call(this,a,b,"DialSession");this.A=this.H=null;this.O="";this.B=null;this.F=qa;this.C=NaN;this.V=u(this.Hi,this);this.l=qa}
w(QJ,LJ);g=QJ.prototype;g.bd=function(a){this.A=a;this.A.addUpdateListener(this.V)};
g.rb=function(a){this.B=a;this.F()};
g.stop=function(){this.l();this.l=qa;K(this.C);this.A?this.A.stop(u(this.pa,this,null),u(this.pa,this,"Failed to stop DIAL device.")):this.pa()};
g.M=function(){this.l();this.l=qa;K(this.C);this.A&&this.A.removeUpdateListener(this.V);this.A=null;QJ.J.M.call(this)};
function RJ(a){a.l=a.L.We(a.O,a.j.label,a.j.friendlyName,u(function(a){this.l=qa;this.nc(a)},a),u(function(a){this.l=qa;
this.pa(a)},a))}
g.Hi=function(a){this.T()||a||(MJ(this,"DIAL session died."),this.l(),this.l=qa,this.pa())};
function SJ(a){var b={};b.pairingCode=a.O;if(a.B){var c=a.B.currentTime||0;b.v=a.B.videoId;b.t=c}rJ()&&(b.env_useStageMdx=1);return Cg(b)}
g.Uc=function(a){this.O=SI();if(this.B){var b=new chrome.cast.DialLaunchResponse(!0,SJ(this));a(b);RJ(this)}else this.F=u(function(){K(this.C);this.F=qa;this.C=NaN;var b=new chrome.cast.DialLaunchResponse(!0,SJ(this));a(b);RJ(this)},this),this.C=L(u(function(){this.F()},this),100)};
g.Ag=function(a,b){FJ(this.L,this.H.receiver.label,a,this.j.friendlyName,u(function(a){a&&a.token?(this.nc(a),b(new chrome.cast.DialLaunchResponse(!1))):this.Uc(b)},this),u(function(a){MJ(this,"Failed to get DIAL screen: "+a);
this.Uc(b)},this))};function TJ(a,b){LJ.call(this,a,b,"ManualSession");this.l=L(u(this.rb,this,null),150)}
w(TJ,LJ);TJ.prototype.stop=function(){this.pa()};
TJ.prototype.bd=qa;TJ.prototype.rb=function(){K(this.l);this.l=NaN;var a=UI(this.L.sa(),this.j.label);a?this.nc(a):this.pa(Error("No such screen"))};
TJ.prototype.M=function(){K(this.l);this.l=NaN;TJ.J.M.call(this)};function UJ(a,b){VI.call(this);this.l=a;this.C=b||"233637DE";this.j=null;this.B=!1;this.w=[];this.A=u(this.Bh,this)}
w(UJ,VI);g=UJ.prototype;
g.init=function(a,b){chrome.cast.timeout.requestSession=3E4;var c=new chrome.cast.SessionRequest(this.C);c.dialRequest=new chrome.cast.DialRequest("YouTube");var d=chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED,e=a?chrome.cast.DefaultActionPolicy.CAST_THIS_TAB:chrome.cast.DefaultActionPolicy.CREATE_SESSION,c=new chrome.cast.ApiConfig(c,u(this.ue,this),u(this.Ch,this),d,e);c.customDialLaunchCallback=u(this.ih,this);chrome.cast.initialize(c,u(function(){this.T()||(chrome.cast.addReceiverActionListener(this.A),EI(),
this.l.subscribe("onlineScreenChange",u(this.Xe,this)),this.w=VJ(this),chrome.cast.setCustomReceivers(this.w,qa,u(function(a){this.Y("Failed to set initial custom receivers: "+ui(a))},this)),this.K("yt-remote-cast2-availability-change",WJ(this)),b(!0))},this),u(function(a){this.Y("Failed to initialize API: "+ui(a));
b(!1)},this))};
g.hi=function(a,b){XJ("Setting connected screen ID: "+a+" -> "+b);if(this.j){var c=this.j.w;if(!a||c&&c.id!=a)XJ("Unsetting old screen status: "+this.j.j.friendlyName),YJ(this,null)}if(a&&b){if(!this.j){c=UI(this.l.sa(),a);if(!c){XJ("setConnectedScreenStatus: Unknown screen.");return}var d=ZJ(this,c);d||(XJ("setConnectedScreenStatus: Connected receiver not custom..."),d=new chrome.cast.Receiver(c.uuid?c.uuid:c.id,c.name),d.receiverType=chrome.cast.ReceiverType.CUSTOM,this.w.push(d),chrome.cast.setCustomReceivers(this.w,
qa,u(function(a){this.Y("Failed to set initial custom receivers: "+ui(a))},this)));
XJ("setConnectedScreenStatus: new active receiver: "+d.friendlyName);YJ(this,new TJ(this.l,d),!0)}this.j.cd(b)}else XJ("setConnectedScreenStatus: no screen.")};
function ZJ(a,b){return b?Gb(a.w,function(a){return MI(b,a.label)},a):null}
g.ii=function(a){this.T()?this.Y("Setting connection data on disposed cast v2"):this.j?this.j.rb(a):this.Y("Setting connection data without a session")};
g.Gi=function(){this.T()?this.Y("Stopping session on disposed cast v2"):this.j?(this.j.stop(),YJ(this,null)):XJ("Stopping non-existing session")};
g.requestSession=function(){chrome.cast.requestSession(u(this.ue,this),u(this.Gh,this))};
g.M=function(){this.l.Zd("onlineScreenChange",u(this.Xe,this));window.chrome&&chrome.cast&&chrome.cast.removeReceiverActionListener(this.A);var a=FI,b=t("yt.mdx.remote.debug.handlers_");Lb(b||[],a);ik(this.j);UJ.J.M.call(this)};
function XJ(a){II("Controller",a)}
g.Y=function(a){II("Controller",a)};
function FI(a){window.chrome&&chrome.cast&&chrome.cast.logMessage&&chrome.cast.logMessage(a)}
function WJ(a){return a.B||!!a.w.length||!!a.j}
function YJ(a,b,c){b!=a.j&&(ik(a.j),(a.j=b)?(c?a.K("yt-remote-cast2-receiver-resumed",b.j):a.K("yt-remote-cast2-receiver-selected",b.j),b.subscribe("sessionScreen",u(a.we,a,b)),b.w?a.K("yt-remote-cast2-session-change",b.w):c&&a.j.rb(null)):a.K("yt-remote-cast2-session-change",null))}
g.we=function(a,b){this.j==a&&(b||YJ(this,null),this.K("yt-remote-cast2-session-change",b))};
g.Bh=function(a,b){if(!this.T())if(a)switch(a.friendlyName=chrome.cast.unescape(a.friendlyName),XJ("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b){case chrome.cast.ReceiverAction.CAST:if(this.j)if(this.j.j.label!=a.label)XJ("onReceiverAction_: Stopping active receiver: "+this.j.j.friendlyName),this.j.stop();else{XJ("onReceiverAction_: Casting to active receiver.");this.j.w&&this.K("yt-remote-cast2-session-change",this.j.w);break}switch(a.receiverType){case chrome.cast.ReceiverType.CUSTOM:YJ(this,
new TJ(this.l,a));break;case chrome.cast.ReceiverType.DIAL:YJ(this,new QJ(this.l,a));break;case chrome.cast.ReceiverType.CAST:YJ(this,new NJ(this.l,a));break;default:this.Y("Unknown receiver type: "+a.receiverType)}break;case chrome.cast.ReceiverAction.STOP:this.j&&this.j.j.label==a.label?this.j.stop():this.Y("Stopping receiver w/o session: "+a.friendlyName)}else this.Y("onReceiverAction_ called without receiver.")};
g.ih=function(a){if(this.T())return Promise.reject(Error("disposed"));var b=a.receiver;b.receiverType!=chrome.cast.ReceiverType.DIAL&&(this.Y("Not DIAL receiver: "+b.friendlyName),b.receiverType=chrome.cast.ReceiverType.DIAL);var c=this.j?this.j.j:null;if(!c||c.label!=b.label)return this.Y("Receiving DIAL launch request for non-clicked DIAL receiver: "+b.friendlyName),Promise.reject(Error("illegal DIAL launch"));if(c&&c.label==b.label&&c.receiverType!=chrome.cast.ReceiverType.DIAL){if(this.j.w)return XJ("Reselecting dial screen."),
this.K("yt-remote-cast2-session-change",this.j.w),Promise.resolve(new chrome.cast.DialLaunchResponse(!1));this.Y('Changing CAST intent from "'+c.receiverType+'" to "dial" for '+b.friendlyName);YJ(this,new QJ(this.l,b))}b=this.j;b.H=a;return b.H.appState==chrome.cast.DialAppState.RUNNING?new Promise(u(b.Ag,b,(b.H.extraData||{}).screenId||null)):new Promise(u(b.Uc,b))};
g.ue=function(a){if(!this.T()){XJ("New cast session ID: "+a.sessionId);var b=a.receiver;if(b.receiverType!=chrome.cast.ReceiverType.CUSTOM){if(!this.j)if(b.receiverType==chrome.cast.ReceiverType.CAST)XJ("Got resumed cast session before resumed mdx connection."),b.friendlyName=chrome.cast.unescape(b.friendlyName),YJ(this,new NJ(this.l,b),!0);else{this.Y("Got non-cast session without previous mdx receiver event, or mdx resume.");return}var c=this.j.j,d=UI(this.l.sa(),c.label);d&&MI(d,b.label)&&c.receiverType!=
chrome.cast.ReceiverType.CAST&&b.receiverType==chrome.cast.ReceiverType.CAST&&(XJ("onSessionEstablished_: manual to cast session change "+b.friendlyName),ik(this.j),this.j=new NJ(this.l,b),this.j.subscribe("sessionScreen",u(this.we,this,this.j)),this.j.rb(null));this.j.bd(a)}}};
g.Fi=function(){return this.j?this.j.Ye():null};
g.Gh=function(a){this.T()||(this.Y("Failed to estabilish a session: "+ui(a)),a.code!=chrome.cast.ErrorCode.CANCEL&&YJ(this,null))};
g.Ch=function(a){XJ("Receiver availability updated: "+a);if(!this.T()){var b=WJ(this);this.B=a==chrome.cast.ReceiverAvailability.AVAILABLE;WJ(this)!=b&&this.K("yt-remote-cast2-availability-change",WJ(this))}};
function VJ(a){var b=a.l.Ve(),c=a.j&&a.j.j;a=Cb(b,function(a){c&&MI(a,c.label)&&(c=null);var b=a.uuid?a.uuid:a.id,d=ZJ(this,a);d?(d.label=b,d.friendlyName=a.name):(d=new chrome.cast.Receiver(b,a.name),d.receiverType=chrome.cast.ReceiverType.CUSTOM);return d},a);
c&&(c.receiverType!=chrome.cast.ReceiverType.CUSTOM&&(c=new chrome.cast.Receiver(c.label,c.friendlyName),c.receiverType=chrome.cast.ReceiverType.CUSTOM),a.push(c));return a}
g.Xe=function(){this.T()||(this.w=VJ(this),XJ("Updating custom receivers: "+ui(this.w)),chrome.cast.setCustomReceivers(this.w,qa,u(function(){this.Y("Failed to set custom receivers.")},this)),this.K("yt-remote-cast2-availability-change",WJ(this)))};
UJ.prototype.setLaunchParams=UJ.prototype.ii;UJ.prototype.setConnectedScreenStatus=UJ.prototype.hi;UJ.prototype.stopSession=UJ.prototype.Gi;UJ.prototype.getCastSession=UJ.prototype.Fi;UJ.prototype.requestSession=UJ.prototype.requestSession;UJ.prototype.init=UJ.prototype.init;UJ.prototype.dispose=UJ.prototype.dispose;function $J(a,b,c,d){aK()?cK(a,d)&&(dK(!0),window.chrome&&chrome.cast&&chrome.cast.isAvailable?eK(b):(window.__onGCastApiAvailable=function(a,c){a?eK(b):(fK("Failed to load cast API: "+c),gK(!1),dK(!1),Ut("yt-remote-cast-available"),Ut("yt-remote-cast-receiver"),hK(),b(!1))},c?rx("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"):Ua())):bK("Cannot initialize because not running Chrome")}
function hK(){bK("dispose");var a=iK();a&&a.dispose();r("yt.mdx.remote.cloudview.instance_",null,void 0);jK(!1);rt(kK);kK.length=0}
function lK(){bK("clearCurrentReceiver");Ut("yt-remote-cast-receiver")}
function mK(){return Tt("yt-remote-cast-installed")?iK()?iK().getCastSession():(fK("getCastSelector: Cast is not initialized."),null):(fK("getCastSelector: Cast API is not installed!"),null)}
function nK(a,b){oK()?iK().setConnectedScreenStatus(a,b):fK("setConnectedScreenStatus called before ready.")}
function aK(){var a=0<=Yb.search(/\ (CrMo|Chrome|CriOS)\//);return Ph||a}
function cK(a,b){var c=!1;iK()||(c=new UJ(a,b),c.subscribe("yt-remote-cast2-availability-change",function(a){Qt("yt-remote-cast-available",a);vt("yt-remote-cast2-availability-change",a)}),c.subscribe("yt-remote-cast2-receiver-selected",function(a){bK("onReceiverSelected: "+a.friendlyName);
Qt("yt-remote-cast-receiver",a);vt("yt-remote-cast2-receiver-selected",a)}),c.subscribe("yt-remote-cast2-receiver-resumed",function(a){bK("onReceiverResumed: "+a.friendlyName);
Qt("yt-remote-cast-receiver",a)}),c.subscribe("yt-remote-cast2-session-change",function(a){bK("onSessionChange: "+QI(a));
a||Ut("yt-remote-cast-receiver");vt("yt-remote-cast2-session-change",a)}),r("yt.mdx.remote.cloudview.instance_",c,void 0),c=!0);
bK("cloudview.createSingleton_: "+c);return c}
function iK(){return t("yt.mdx.remote.cloudview.instance_")}
function eK(a){gK(!0);dK(!1);iK().init(!1,function(b){b?(jK(!0),R("yt-remote-cast2-api-ready")):(fK("Failed to initialize cast API."),gK(!1),Ut("yt-remote-cast-available"),Ut("yt-remote-cast-receiver"),hK());a(b)})}
function bK(a){II("cloudview",a)}
function fK(a){II("cloudview",a)}
function gK(a){bK("setCastInstalled_ "+a);Qt("yt-remote-cast-installed",a)}
function oK(){return!!t("yt.mdx.remote.cloudview.apiReady_")}
function jK(a){bK("setApiReady_ "+a);r("yt.mdx.remote.cloudview.apiReady_",a,void 0)}
function dK(a){r("yt.mdx.remote.cloudview.initializing_",a,void 0)}
var kK=[];function pK(a,b){gk.call(this);this.l=new sp(this.A,0,this);hk(this,Da(ik,this.l));this.w=this.j=0;if(va(a))b&&(a=u(a,b));else if(a&&va(a.handleEvent))a=u(a.handleEvent,a);else throw Error("Invalid listener argument");this.B=a;qK(this)}
w(pK,gk);pK.prototype.A=function(){500<this.j&&24E4>2*this.j&&(this.j*=2);this.B();this.w&&this.start()};
pK.prototype.start=function(){var a=this.l,b=this.j;a.isActive()||a.start(b);this.w=v()+this.j};
pK.prototype.stop=function(){this.l.stop();this.w=0};
pK.prototype.isActive=function(){return this.l.isActive()};
function qK(a){a.l.stop();a.j=5E3+2E4*Math.random()}
;function rK(a,b,c){this.L=a;this.C=b;this.w=new Er;this.l=new pK(this.yi,this);this.j=null;this.N=!1;this.B=null;this.H="";this.F=this.A=0;this.D=[];this.O=c||!1}
w(rK,Ar);g=rK.prototype;g.subscribe=function(a,b,c){return this.w.subscribe(a,b,c)};
g.Zd=function(a,b,c){return Gr(this.w,a,b,c)};
g.va=function(a){return this.w.va(a)};
g.K=function(a,b){return this.w.na.apply(this.w,arguments)};
g.dispose=function(){this.N||(this.N=!0,ik(this.w),sK(this),ik(this.l),this.l=null)};
g.T=function(){return this.N};
function tK(a){return{firstTestResults:[""],secondTestResults:!a.j.Cc,sessionId:a.j.w,arrayId:a.j.qb}}
g.connect=function(a,b,c){if(!this.j||2!=this.j.j){this.H="";this.l.stop();this.B=a||null;this.A=b||0;a=this.L+"/test";b=this.L+"/bind";var d=new fr("1",c?c.firstTestResults:null,c?c.secondTestResults:null,this.O),e=this.j;e&&(e.ha=null);d.ha=this;this.j=d;e?this.j.connect(a,b,this.C,e.w,e.qb):c?this.j.connect(a,b,this.C,c.sessionId,c.arrayId):this.j.connect(a,b,this.C)}};
function sK(a,b){a.F=b||0;a.l.stop();a.j&&(3==a.j.j&&tr(a.j),mr(a.j));a.F=0}
g.sendMessage=function(a,b){var c={_sc:a};b&&rc(c,b);this.l.isActive()||2==(this.j?this.j.j:0)?this.D.push(c):uK(this)&&sr(this.j,c)};
g.Ad=function(){qK(this.l);this.B=null;this.A=0;if(this.D.length){var a=this.D;this.D=[];for(var b=0,c=a.length;b<c;++b)sr(this.j,a[b])}this.K("handlerOpened")};
g.yd=function(a,b){var c=2==b&&401==this.j.za;if(4!=b&&!c){if(6==b||410==this.j.za)c=this.l,c.l.stop(),c.j=500;this.l.start()}this.K("handlerError",b)};
g.Hc=function(a,b,c){if(!this.l.isActive())this.K("handlerClosed");else if(c)for(a=0,b=c.length;a<b;++a){var d=c[a].map;d&&this.D.push(d)}};
g.Ld=function(){var a={v:2};this.H&&(a.gsessionid=this.H);0!=this.A&&(a.ui=""+this.A);0!=this.F&&(a.ui=""+this.F);this.B&&rc(a,this.B);return a};
g.zd=function(a,b){"S"==b[0]?this.H=b[1]:"gracefulReconnect"==b[0]?(qK(this.l),this.l.start(),mr(this.j)):this.K("handlerMessage",new bJ(b[0],b[1]))};
function uK(a){return!!a.j&&3==a.j.j}
function vK(a,b){(a.C.loungeIdToken=b)||a.l.stop()}
g.yi=function(){this.l.isActive();var a=this.j,b=0;a.Z&&b++;a.ma&&b++;0!=b?this.l.start():this.connect(this.B,this.A)};function wK(a){this.index=-1;this.videoId=this.listId="";this.volume=this.j=-1;this.muted=!1;this.audioTrackId=null;this.A=this.w=0;this.l=null;this.hasNext=this.C=!1;this.F=this.B=this.H=this.N=0;this.D=NaN;this.reset(a)}
function xK(a){a.audioTrackId=null;a.l=null;a.j=-1;a.C=!1;a.hasNext=!1;a.w=0;a.A=v();a.N=0;a.H=0;a.B=0;a.F=0;a.D=NaN}
wK.prototype.reset=function(a){this.listId="";this.index=-1;this.videoId="";xK(this);this.volume=-1;this.muted=!1;a&&(this.index=a.index,this.listId=a.listId,this.videoId=a.videoId,this.j=a.playerState,this.volume=a.volume,this.muted=a.muted,this.audioTrackId=a.audioTrackId,this.l=a.trackData,this.C=a.hasPrevious,this.hasNext=a.hasNext,this.w=a.playerTime,this.A=a.playerTimeAt,this.N=a.seekableStart,this.H=a.seekableEnd,this.B=a.duration,this.F=a.loadedTime,this.D=a.liveIngestionTime)};
function yK(a,b){a.w=b;a.A=v()}
function zK(a){switch(a.j){case 1:return(v()-a.A)/1E3+a.w;case -1E3:return 0}return a.w}
function AK(a){var b={};b.index=a.index;b.listId=a.listId;b.videoId=a.videoId;b.playerState=a.j;b.volume=a.volume;b.muted=a.muted;b.audioTrackId=a.audioTrackId;b.trackData=pc(a.l);b.hasPrevious=a.C;b.hasNext=a.hasNext;b.playerTime=a.w;b.playerTimeAt=a.A;b.seekableStart=a.N;b.seekableEnd=a.H;b.duration=a.B;b.loadedTime=a.F;b.liveIngestionTime=a.D;return b}
wK.prototype.clone=function(){return new wK(AK(this))};function BK(a,b){VI.call(this);this.j=0;this.A=a;this.C=[];this.B=new Wr;this.l=this.w=null;this.L=u(this.Tg,this);this.F=u(this.Rb,this);this.H=u(this.Sg,this);this.O=u(this.bh,this);var c=0;a?(c=a.getProxyState(),3!=c&&(a.subscribe("proxyStateChange",this.dd,this),CK(this))):c=3;0!=c&&(b?this.dd(c):L(u(function(){this.dd(c)},this),0));
var d=mK();d&&DK(this,d);this.subscribe("yt-remote-cast2-session-change",this.O)}
w(BK,VI);function EK(a){return new wK(a.A.getPlayerContextData())}
g=BK.prototype;g.play=function(){1==this.j?(this.w?this.w.play(null,qa,FK(this,"play")):GK(this,"play"),HK(this,1,zK(EK(this))),this.K("remotePlayerChange")):IK(this,this.play)};
g.pause=function(){1==this.j?(this.w?this.w.pause(null,qa,FK(this,"pause")):GK(this,"pause"),HK(this,2,zK(EK(this))),this.K("remotePlayerChange")):IK(this,this.pause)};
g.stop=function(){if(1==this.j){this.w?this.w.stop(null,qa,FK(this,"stopVideo")):GK(this,"stopVideo");var a=EK(this);a.index=-1;a.videoId="";xK(a);JK(this,a);this.K("remotePlayerChange")}else IK(this,this.stop)};
g.setVolume=function(a,b){if(1==this.j){var c=EK(this);if(this.l){if(c.volume!=a){var d=Math.round(a)/100;this.l.setReceiverVolumeLevel(d,u(function(){KK("set receiver volume: "+d)},this),u(function(){this.Y("failed to set receiver volume.")},this))}c.muted!=b&&this.l.setReceiverMuted(b,u(function(){KK("set receiver muted: "+b)},this),u(function(){this.Y("failed to set receiver muted.")},this))}else{var e={volume:a,
muted:b};-1!=c.volume&&(e.delta=a-c.volume);GK(this,"setVolume",e)}c.muted=b;c.volume=a;JK(this,c)}else IK(this,Da(this.setVolume,a,b))};
g.sd=function(a){1==this.j?GK(this,"addVideo",{videoId:a}):IK(this,Da(this.sd,a))};
g.rd=function(a){1==this.j?GK(this,"addVideos",{listId:a}):IK(this,Da(this.rd,a))};
g.td=function(a){0==a.length?this.Y("Ignore add videos request due to empty list"):1==this.j?GK(this,"addVideos",{videoIds:a.join(",")}):IK(this,Da(this.td,a))};
g.Fe=function(a){1==this.j?GK(this,"removeVideo",{videoId:a}):IK(this,Da(this.Fe,a))};
g.dispose=function(){if(3!=this.j){var a=this.j;this.j=3;this.K("proxyStateChange",a,this.j)}BK.J.dispose.call(this)};
g.M=function(){LK(this);this.A=null;this.B.clear();DK(this,null);BK.J.M.call(this)};
function CK(a){z("nowAutoplaying autoplayDismissed remotePlayerChange remoteQueueChange autoplayModeChange autoplayUpNext previousNextChange".split(" "),function(a){this.C.push(this.A.subscribe(a,Da(this.zh,a),this))},a)}
function LK(a){z(a.C,function(a){this.A.unsubscribeByKey(a)},a);
a.C.length=0}
function IK(a,b){50>a.B.da()&&a.B.l.push(b)}
function HK(a,b,c){var d=EK(a);yK(d,c);-1E3!=d.j&&(d.j=b);JK(a,d)}
function GK(a,b,c){a.A.sendMessage(b,c)}
function JK(a,b){LK(a);a.A.setPlayerContextData(AK(b));CK(a)}
g.dd=function(a){if((a!=this.j||2==a)&&3!=this.j&&0!=a){var b=this.j;this.j=a;this.K("proxyStateChange",b,a);if(1==a)for(;!this.B.isEmpty();)b=a=this.B,0==b.j.length&&(b.j=b.l,b.j.reverse(),b.l=[]),a.j.pop().apply(this);else 3==a&&this.dispose()}};
g.zh=function(a,b){this.K(a,b)};
function DK(a,b){a.l&&(a.l.removeUpdateListener(a.L),a.l.removeMediaListener(a.F),a.Rb(null));a.l=b;a.l&&(KK("Setting cast session: "+a.l.sessionId),a.l.addUpdateListener(a.L),a.l.addMediaListener(a.F),a.l.media.length&&a.Rb(a.l.media[0]))}
g.Tg=function(a){if(!a)this.Rb(null),DK(this,null);else if(this.l.receiver.volume){a=this.l.receiver.volume;var b=EK(this),c=Math.round(100*a.level||0);if(b.volume!=c||b.muted!=a.muted)KK("Cast volume update: "+a.level+(a.muted?" muted":"")),b.volume=c,b.muted=!!a.muted,JK(this,b)}};
g.Rb=function(a){KK("Cast media: "+!!a);this.w&&this.w.removeUpdateListener(this.H);if(this.w=a)this.w.addUpdateListener(this.H),MK(this),this.K("remotePlayerChange")};
function MK(a){var b=a.w.media,c=a.w.customData;if(b&&c){var d=EK(a);b.contentId!=d.videoId&&KK("Cast changing video to: "+b.contentId);d.videoId=b.contentId;d.j=c.playerState;yK(d,a.w.getEstimatedTime());JK(a,d)}else KK("No cast media video. Ignoring state update.")}
g.Sg=function(a){a?(MK(this),this.K("remotePlayerChange")):this.Rb(null)};
g.bh=function(){var a=mK();a&&DK(this,a)};
function KK(a){II("CP",a)}
g.Y=function(a){II("CP",a)};
function FK(a,b){return u(function(a){this.Y("Failed to "+b+" with cast v2 channel. Error code: "+a.code);a.code!=chrome.cast.ErrorCode.TIMEOUT&&(this.Y("Retrying "+b+" using MDx browser channel."),GK(this,b,void 0))},a)}
;function Z(a,b,c){VI.call(this);this.B=NaN;this.ga=!1;this.O=this.L=this.W=this.aa=NaN;this.V=[];this.A=this.F=this.w=this.P=this.j=null;this.bb=a;this.V.push(M(window,"beforeunload",u(this.eg,this)));this.l=[];this.P=new wK;this.ra=b.id;this.j=NK(this,c);this.j.subscribe("handlerOpened",this.Xg,this);this.j.subscribe("handlerClosed",this.Ug,this);this.j.subscribe("handlerError",this.Vg,this);this.j.subscribe("handlerMessage",this.Wg,this);vK(this.j,b.token);this.subscribe("remoteQueueChange",function(){var a=
this.P.videoId;hJ()&&Qt("yt-remote-session-video-id",a)},this)}
w(Z,VI);g=Z.prototype;g.connect=function(a,b){if(b){var c=b.listId,d=b.videoId,e=b.index,f=b.currentTime||0;5>=f&&(f=0);var h={videoId:d,currentTime:f};c&&(h.listId=c);n(e)&&(h.currentIndex=e);c&&(this.P.listId=c);this.P.videoId=d;this.P.index=e||0;this.P.state=3;yK(this.P,f);this.A="UNSUPPORTED";OK("Connecting with setPlaylist and params: "+ui(h));this.j.connect({method:"setPlaylist",params:ui(h)},a,lJ())}else OK("Connecting without params"),this.j.connect({},a,lJ());PK(this)};
g.dispose=function(){this.T()||(this.K("beforeDispose"),QK(this,3));Z.J.dispose.call(this)};
g.M=function(){RK(this);SK(this);TK(this);K(this.L);this.L=NaN;K(this.O);this.O=NaN;this.w=null;N(this.V);this.V.length=0;this.j.dispose();Z.J.M.call(this);this.A=this.F=this.l=this.P=this.j=null};
function OK(a){II("conn",a)}
g.eg=function(){this.C(2)};
function NK(a,b){return new rK(xI(a.bb,"/bc"),b)}
function QK(a,b){a.K("proxyStateChange",b)}
function PK(a){a.B=L(u(function(){OK("Connecting timeout");this.C(1)},a),2E4)}
function RK(a){K(a.B);a.B=NaN}
function TK(a){K(a.aa);a.aa=NaN}
function UK(a){SK(a);a.W=L(u(function(){VK(this,"getNowPlaying")},a),2E4)}
function SK(a){K(a.W);a.W=NaN}
g.Xg=function(){OK("Channel opened");this.ga&&(this.ga=!1,TK(this),this.aa=L(u(function(){OK("Timing out waiting for a screen.");this.C(1)},this),15E3));
pJ(tK(this.j),this.ra)};
g.Ug=function(){OK("Channel closed");isNaN(this.B)?qJ(!0):qJ();this.dispose()};
g.Vg=function(a){qJ();isNaN(this.H())?(OK("Channel error: "+a+" without reconnection"),this.dispose()):(this.ga=!0,OK("Channel error: "+a+" with reconnection in "+this.H()+" ms"),QK(this,2))};
function WK(a,b){b&&(RK(a),TK(a));b==(uK(a.j)&&isNaN(a.B))?b&&(QK(a,1),VK(a,"getSubtitlesTrack")):b?(a.ja()&&a.P.reset(),QK(a,1),VK(a,"getNowPlaying"),XK(a)):a.C(1)}
function YK(a,b){var c=b.params.videoId;delete b.params.videoId;c==a.P.videoId&&(lc(b.params)?a.P.l=null:a.P.l=b.params,a.K("remotePlayerChange"))}
function ZK(a,b){var c=b.params.videoId||b.params.video_id,d=parseInt(b.params.currentIndex,10);a.P.listId=b.params.listId||a.P.listId;var e=a.P,f=e.videoId;e.videoId=c;e.index=d;c!=f&&xK(e);a.K("remoteQueueChange")}
function $K(a,b){b.params=b.params||{};ZK(a,b);aL(a,b);a.K("autoplayDismissed")}
function aL(a,b){var c=parseInt(b.params.currentTime||b.params.current_time,10);yK(a.P,isNaN(c)?0:c);c=parseInt(b.params.state,10);c=isNaN(c)?-1:c;-1==c&&-1E3==a.P.j&&(c=-1E3);a.P.j=c;c=Number(b.params.loadedTime);a.P.F=isNaN(c)?0:c;c=Number(b.params.duration);a.P.B=isNaN(c)?0:c;a.P.D=Number(b.params.liveIngestionTime);var c=a.P,d=Number(b.params.seekableStartTime),e=Number(b.params.seekableEndTime);c.N=isNaN(d)?0:d;c.H=isNaN(e)?0:e;1==a.P.j?UK(a):SK(a);a.K("remotePlayerChange")}
function bL(a,b){if(-1E3!=a.P.j){var c=1083;switch(parseInt(b.params.adState,10)){case 1:c=1081;break;case 2:c=1082}a.P.j=c;a.K("remotePlayerChange")}}
function cL(a,b){var c="true"==b.params.muted;a.P.volume=parseInt(b.params.volume,10);a.P.muted=c;a.K("remotePlayerChange")}
function dL(a,b){a.F=b.params.videoId;a.K("nowAutoplaying",parseInt(b.params.timeout,10))}
function eL(a,b){var c="true"==b.params.hasNext;a.P.C="true"==b.params.hasPrevious;a.P.hasNext=c;a.K("previousNextChange")}
g.Wg=function(a){a.params?OK("Received: action="+a.action+", params="+ui(a.params)):OK("Received: action="+a.action+" {}");switch(a.action){case "loungeStatus":a=ti(a.params.devices);this.l=Cb(a,function(a){return new cJ(a)});
a=!!Gb(this.l,function(a){return"LOUNGE_SCREEN"==a.type});
WK(this,a);break;case "loungeScreenDisconnected":Nb(this.l,function(a){return"LOUNGE_SCREEN"==a.type});
WK(this,!1);break;case "remoteConnected":var b=new cJ(ti(a.params.device));Gb(this.l,function(a){return a.equals(b)})||Kb(this.l,b);
break;case "remoteDisconnected":b=new cJ(ti(a.params.device));Nb(this.l,function(a){return a.equals(b)});
break;case "gracefulDisconnect":break;case "playlistModified":ZK(this,a);break;case "nowPlaying":$K(this,a);break;case "onStateChange":aL(this,a);break;case "onAdStateChange":bL(this,a);break;case "onVolumeChanged":cL(this,a);break;case "onSubtitlesTrackChanged":YK(this,a);break;case "nowAutoplaying":dL(this,a);break;case "autoplayDismissed":this.K("autoplayDismissed");break;case "autoplayUpNext":this.F=a.params.videoId||null;this.K("autoplayUpNext",this.F);break;case "onAutoplayModeChanged":this.A=
a.params.autoplayMode;this.K("autoplayModeChange",this.A);"DISABLED"==this.A&&this.K("autoplayDismissed");break;case "onHasPreviousNextChanged":eL(this,a);break;default:OK("Unrecognized action: "+a.action)}};
g.di=function(){if(this.w){var a=this.w;this.w=null;this.P.videoId!=a&&VK(this,"getNowPlaying")}};
Z.prototype.subscribe=Z.prototype.subscribe;Z.prototype.unsubscribeByKey=Z.prototype.va;Z.prototype.Na=function(){var a=3;this.T()||(a=0,isNaN(this.H())?uK(this.j)&&isNaN(this.B)&&(a=1):a=2);return a};
Z.prototype.getProxyState=Z.prototype.Na;Z.prototype.C=function(a){OK("Disconnecting with "+a);RK(this);this.K("beforeDisconnect",a);1==a&&qJ();sK(this.j,a);this.dispose()};
Z.prototype.disconnect=Z.prototype.C;Z.prototype.Ma=function(){var a=this.P;if(this.w){var b=a=this.P.clone(),c=this.w,d=a.index,e=b.videoId;b.videoId=c;b.index=d;c!=e&&xK(b)}return AK(a)};
Z.prototype.getPlayerContextData=Z.prototype.Ma;Z.prototype.ab=function(a){var b=new wK(a);b.videoId&&b.videoId!=this.P.videoId&&(this.w=b.videoId,K(this.L),this.L=L(u(this.di,this),5E3));var c=[];this.P.listId==b.listId&&this.P.videoId==b.videoId&&this.P.index==b.index||c.push("remoteQueueChange");this.P.j==b.j&&this.P.volume==b.volume&&this.P.muted==b.muted&&zK(this.P)==zK(b)&&ui(this.P.l)==ui(b.l)||c.push("remotePlayerChange");this.P.reset(a);z(c,function(a){this.K(a)},this)};
Z.prototype.setPlayerContextData=Z.prototype.ab;Z.prototype.ja=function(){var a=this.j.C.id,b=Gb(this.l,function(b){return"REMOTE_CONTROL"==b.type&&b.id!=a});
return b?b.id:""};
Z.prototype.getOtherConnectedRemoteId=Z.prototype.ja;Z.prototype.H=function(){var a=this.j;return a.l.isActive()?a.l.w-v():NaN};
Z.prototype.getReconnectTimeout=Z.prototype.H;Z.prototype.wa=function(){return this.A||"UNSUPPORTED"};
Z.prototype.getAutoplayMode=Z.prototype.wa;Z.prototype.Da=function(){return this.F||""};
Z.prototype.getAutoplayVideoId=Z.prototype.Da;Z.prototype.cb=function(){if(!isNaN(this.H())){var a=this.j.l,b=a.l;b.stop();b.Nd();a.start()}};
Z.prototype.reconnect=Z.prototype.cb;function XK(a){K(a.O);a.O=L(u(a.C,a,1),864E5)}
function VK(a,b,c){c?OK("Sending: action="+b+", params="+ui(c)):OK("Sending: action="+b);a.j.sendMessage(b,c)}
Z.prototype.Oa=function(a,b){VK(this,a,b);XK(this)};
Z.prototype.sendMessage=Z.prototype.Oa;function fL(a){WI.call(this,"ScreenServiceProxy");this.ka=a;this.l=[];this.l.push(this.ka.$_s("screenChange",u(this.Ci,this)));this.l.push(this.ka.$_s("onlineScreenChange",u(this.sh,this)))}
w(fL,WI);g=fL.prototype;g.sa=function(a){return this.ka.$_gs(a)};
g.contains=function(a){return!!this.ka.$_c(a)};
g.get=function(a){return this.ka.$_g(a)};
g.start=function(){this.ka.$_st()};
g.Ec=function(a,b,c){this.ka.$_a(a,b,c)};
g.remove=function(a,b,c){this.ka.$_r(a,b,c)};
g.Ac=function(a,b,c,d){this.ka.$_un(a,b,c,d)};
g.M=function(){for(var a=0,b=this.l.length;a<b;++a)this.ka.$_ubk(this.l[a]);this.l.length=0;this.ka=null;fL.J.M.call(this)};
g.Ci=function(){this.K("screenChange")};
g.sh=function(){this.K("onlineScreenChange")};
DJ.prototype.$_st=DJ.prototype.start;DJ.prototype.$_gspc=DJ.prototype.Di;DJ.prototype.$_gsppc=DJ.prototype.We;DJ.prototype.$_c=DJ.prototype.contains;DJ.prototype.$_g=DJ.prototype.get;DJ.prototype.$_a=DJ.prototype.Ec;DJ.prototype.$_un=DJ.prototype.Ac;DJ.prototype.$_r=DJ.prototype.remove;DJ.prototype.$_gs=DJ.prototype.sa;DJ.prototype.$_gos=DJ.prototype.Ve;DJ.prototype.$_s=DJ.prototype.subscribe;DJ.prototype.$_ubk=DJ.prototype.va;function gL(){var a=J("MDX_CONFIG")||a;Vt();eJ();hL||(hL=new wI(a?a.loungeApiHost:void 0),rJ()&&(hL.j="/api/loungedev"));iL||(iL=t("yt.mdx.remote.deferredProxies_")||[],r("yt.mdx.remote.deferredProxies_",iL,void 0));jL();var b=kL();if(!b){var c=new DJ(hL);r("yt.mdx.remote.screenService_",c,void 0);b=kL();$J(c,function(a){a?lL()&&nK(lL(),"YouTube TV"):c.subscribe("onlineScreenChange",function(){vt("yt-remote-receiver-availability-change")})},!(!a||!a.loadCastApiSetupScript),a?a.appId:void 0)}if(a&&
!t("yt.mdx.remote.initialized_")){r("yt.mdx.remote.initialized_",!0,void 0);
mL("Initializing: "+ui(a));nL.push(Q("yt-remote-cast2-availability-change",function(){vt("yt-remote-receiver-availability-change")}));
nL.push(Q("yt-remote-cast2-receiver-selected",function(){oL();vt("yt-remote-auto-connect","cast-selector-receiver")}));
nL.push(Q("yt-remote-cast2-receiver-resumed",function(){vt("yt-remote-receiver-resumed","cast-selector-receiver")}));
nL.push(Q("yt-remote-cast2-session-change",pL));nL.push(Q("yt-remote-connection-change",function(a){a?nK(lL(),"YouTube TV"):qL()||(nK(null,null),lK())}));
var d=rL();a.isAuto&&(d.id+="#dial");ht("desktop_enable_autoplay")&&(d.capabilities=["atp"]);d.name=a.device;d.app=a.app;(a=a.theme)&&(d.theme=a);mL(" -- with channel params: "+ui(d));sL(d);b.start();lL()||tL()}}
function uL(){rt(nL);nL.length=0;ik(vL);vL=null;iL&&(z(iL,function(a){a(null)}),iL.length=0,iL=null,r("yt.mdx.remote.deferredProxies_",null,void 0));
hL=null}
function wL(){var a=lL();if(!a)return null;var b=kL().sa();return UI(b,a)}
function pL(a){mL("remote.onCastSessionChange_: "+QI(a));if(a){var b=wL();b&&b.id==a.id?nK(b.id,"YouTube TV"):(b&&xL(),yL(a,1))}else zL()&&xL()}
function xL(){oK()?iK().stopSession():fK("stopSession called before API ready.");var a=zL();a&&(a.disconnect(1),AL(null))}
function BL(){var a=zL();return a&&3!=a.getProxyState()?new BK(zL(),void 0):null}
function mL(a){II("remote",a)}
function kL(){if(!vL){var a=t("yt.mdx.remote.screenService_");vL=a?new fL(a):null}return vL}
function lL(){return t("yt.mdx.remote.currentScreenId_")}
function CL(a){r("yt.mdx.remote.currentScreenId_",a,void 0)}
function oL(){r("yt.mdx.remote.connectData_",null,void 0)}
function zL(){return t("yt.mdx.remote.connection_")}
function AL(a){var b=zL();oL();a||CL("");r("yt.mdx.remote.connection_",a,void 0);iL&&(z(iL,function(b){b(a)}),iL.length=0);
b&&!a?vt("yt-remote-connection-change",!1):!b&&a&&vt("yt-remote-connection-change",!0)}
function qL(){var a=hJ();if(!a)return null;var b=kL().sa();return UI(b,a)}
function yL(a,b){lL();wL()&&wL();CL(a.id);var c=new Z(hL,a,rL());c.connect(b,t("yt.mdx.remote.connectData_"));c.subscribe("beforeDisconnect",function(a){vt("yt-remote-before-disconnect",a)});
c.subscribe("beforeDispose",function(){zL()&&(zL(),AL(null))});
AL(c)}
function tL(){var a=qL();a?(mL("Resume connection to: "+QI(a)),yL(a,0)):(qJ(),lK(),mL("Skipping connecting because no session screen found."))}
var hL=null,iL=null,vL=null;function jL(){var a=rL();if(lc(a)){var a=gJ(),b=Tt("yt-remote-session-name")||"",c=Tt("yt-remote-session-app")||"",a={device:"REMOTE_CONTROL",id:a,name:b,app:c,"mdx-version":3};r("yt.mdx.remote.channelParams_",a,void 0)}}
function rL(){return t("yt.mdx.remote.channelParams_")||{}}
function sL(a){a?(Qt("yt-remote-session-app",a.app),Qt("yt-remote-session-name",a.name)):(Ut("yt-remote-session-app"),Ut("yt-remote-session-name"));r("yt.mdx.remote.channelParams_",a,void 0)}
var nL=[];var DL;function EL(a,b){this.type=a;this.videoIds=b||[]}
function FL(a,b){ys("/watch_queue_ajax",{method:"POST",la:{action_check_playability:1},U:{video_ids:a.join(",")},R:function(a,d){d&&ta(d)?b(d):b([])},
onError:function(){b([])}})}
function GL(a,b,c){FL(q(a)?[a]:a,function(d){0==d.length?c&&c():q(a)?HL(a,b,c):HL(d,b,c)})}
function HL(a,b,c){var d="";q(a)&&(d=a,a=[d]);var e=new EL(0,a);DL?IL(function(){d?DL.sd(d):DL.td(a)},e,b,c):JL(e,{action_add_to_watch_queue:1},a,b,c)}
function KL(a,b,c){q(a)&&(a=[a]);var d=new EL(1,a);DL?IL(function(){z(a,function(a){DL.Fe(a)})},d,b,c):JL(d,{action_remove_from_watch_queue:1},a,b,c)}
function LL(a,b,c){var d=new EL(2);DL?IL(function(){DL.rd(a)},d,b,c):c&&L(function(){c("Not implemented")},0)}
function ML(a,b){var c=new EL(2);DL?IL(function(){},c,a,b):b&&L(function(){b("Not implemented")},0)}
function NL(a){DL=a;DL.subscribe("remoteQueueChange",function(){R("queue-change",new EL(2))})}
function OL(){var a=BL();ik(DL);DL=null;a?NL(a):R("queue-change",new EL(2))}
function IL(a,b,c,d){DL&&1==DL.j?(a.call(m),c&&L(function(){c()},0),n(b)&&R("queue-change",b)):d&&L(function(){d()},0)}
function JL(a,b,c,d,e){ys("/watch_queue_ajax",{method:"POST",la:b,U:{list:"WQ",video_ids:c.join(",")},R:function(){d&&d();R("queue-change",a)},
onError:function(){e&&e()}})}
var PL=[];function QL(a,b){var c=J("RESUME_COOKIE_NAME",void 0);if(c){var d=Zt(c,"").split(","),d=Bb(d,function(b){return 0!=b.indexOf(a)&&!!b.length});
4<=d.length&&d.shift();d.push(a+":"+b);au(c,d.join(","),1814400,"/")}}
function RL(a){var b=J("RESUME_COOKIE_NAME",void 0);if(b){var c=Zt(b,"").split(","),c=Bb(c,function(b){return 0!=b.indexOf(a)});
0==c.length?$t(b):au(b,c.join(","),1814400,"/")}}
;function SL(){gL();PL.push(Q("yt-remote-connection-change",OL));var a=BL();a&&NL(a);sz("addto-watch-queue-button","click",TL);sz("addto-tv-queue-button","click",TL);sz("addto-watch-queue-button-success","click",UL);sz("addto-watch-queue-menu-choice","click",VL);WL.push(Q("watch-queue-update",XL));XL()}
function YL(a){return"tv-queue"==U(a,"style")?"addto-tv-queue-button":"addto-watch-queue-button"}
function TL(a){var b=YL(a);Hp(a,b,"addto-watch-queue-button-loading");var c=U(a,"video-ids"),d=U(a,"list-id"),e=SB(QB.getInstance(),a);d?LL(d,function(){ZL(a)},function(c){$L(a,b,e,c)}):GL(c,function(){ZL(a)},function(c){$L(a,b,e,c)})}
function VL(a){var b=U(a,"action");aM(a,bM[b])}
function UL(a){Hp(a,"addto-watch-queue-button-success","addto-watch-queue-button-loading");var b=U(a,"video-ids"),c=U(a,"list-id"),d=SB(QB.getInstance(),a);c?ML(function(){cM(a)},function(b){$L(a,"addto-watch-queue-button-success",d,b)}):KL(b,function(){cM(a)},function(b){$L(a,"addto-watch-queue-button-success",d,b)})}
function ZL(a){Hp(a,"addto-watch-queue-button-loading","addto-watch-queue-button-success");var b=jy("ADDTO_WATCH_QUEUE_ADDED");VB(QB.getInstance(),a,b);U(a,"list-id")?R("watch-queue-addto-playlist-added"):R("watch-queue-addto-video-added")}
function cM(a){var b=YL(a);Hp(a,"addto-watch-queue-button-loading",b);b="addto-watch-queue-button"==b?jy("ADDTO_WATCH_QUEUE"):jy("ADDTO_TV_QUEUE");VB(QB.getInstance(),a,b);U(a,"list-id")?R("watch-queue-addto-playlist-removed"):R("watch-queue-addto-video-removed")}
function $L(a,b,c,d){Hp(a,"addto-watch-queue-button-loading","addto-watch-queue-button-error");d=d||jy("ADDTO_WATCH_QUEUE_ERROR");VB(QB.getInstance(),a,d);L(function(){Hp(a,"addto-watch-queue-button-error",b);VB(QB.getInstance(),a,c)},5E3)}
function aM(a,b){var c=U(a,"video-ids");c&&(q(c)&&(c=[c]),FL(c,function(d){d.length==c.length&&b(a)}))}
function XL(){var a=vI();if(!Tb(dM,a)){dM=a;var b={};z(dM,function(a){b[a]=!0});
z(he("addto-queue-button"),function(a){var c=U(a,"video-ids");if(c&&q(c)){var e=YL(a);b[c]?(Hp(a,e,"addto-watch-queue-button-success"),c=jy("ADDTO_WATCH_QUEUE_ADDED")):(Hp(a,"addto-watch-queue-button-success",e),c="addto-watch-queue-button"==e?jy("ADDTO_WATCH_QUEUE"):jy("ADDTO_TV_QUEUE"));VB(QB.getInstance(),a,c)}})}}
var bM={"play-next":function(a){var b=U(a,"list-id");a=U(a,"video-ids");b?R("watch-queue-addto-playlist-play-next",b,a):R("watch-queue-addto-video-play-next",a)},
"play-now":function(a){var b=U(a,"list-id");a=U(a,"video-ids");b?R("watch-queue-addto-playlist-play-now",b,a):R("watch-queue-addto-video-play-now",a)}},WL=[],dM=[];var eM=[];var fM=[],gM=!1;function hM(a){var b=J("YPC_LOADER_CSS",void 0),c=J("YPC_LOADER_JS",void 0);gM&&(c="www/ypc_core");fM.length||(fM.push(new Qi(function(a){oy(b,a)})),fM.push(new Qi(function(a){rx(c,a)})));
Zi(fM).then(function(){a&&a()})}
;function iM(a,b,c,d,e){if(HH())hM(function(){t("yt.www.ypc.checkout.showYpcOverlay")(a,b,c,d,e)});
else{var f={ypc_it:a,ypc_ii:b,ypc_ft:c};d&&(f.ypc_irp=d);e&&(f.ypc_cc=e);f=jM(f);Sx(f)}}
function kM(a){if(HH())hM(function(){t("yt.www.ypc.checkout.showPrepurchaseOverlay")(a)});
else{var b=jM({});Sx(b)}}
function lM(a,b){if(HH())hM(function(){t("yt.www.ypc.checkout.showYpcOverlayForInnertubeRequestParams")(a,b)});
else{var c=jM({ypc_ft:a,ypc_irp:b});Sx(c)}}
function mM(a,b,c){HH()?hM(function(){t("yt.www.ypc.checkout.offerpurchaser.purchaseOffer")(a,c)}):(b=jM(b),Sx(b))}
function nM(a,b){if(HH())hM(function(){t("yt.www.ypc.subscription.openUnsubscribeOverlay")(a,b)});
else throw Error("Unsubscribe triggered when user not signed in.");}
function jM(a){a=us(window.location.href,a);var b=J("YPC_SIGNIN_URL",void 0),c=ts(b)["continue"],c=us(c,{next:a});return us(b,{"continue":c})}
;function oM(a,b,c,d,e,f,h,k,l,p,y){a={config:{couponCode:e,fromPurchaseIds:f,flowType:d},itemData:{itemId:c,itemType:b},offerData:{offerId:a}};if(h||k)b={},h&&(b.jwt=h),k&&(b.encryptedPurchaseParams=k),a.walletPrefetchdata=b;l&&(a.innertubeRequestParams=l);p&&(a.transactionAction=p);y&&(a.transactionParams=y);return a}
function pM(a,b){if(!a)return null;var c=U(a,"ypc-item-type"),d=U(a,"ypc-item-id"),e=U(a,"ypc-offer-id"),f=U(a,"coupon-code"),h=U(a,"ypc-from-purchase-ids"),k=U(a,"ypc-offer-jwt"),l=U(a,"ypc-offer-encrypted-purchase-params"),p=U(a,"ypc-irp"),y=U(a,"ypc-transaction-action"),P=U(a,"ypc-transaction-params");return oM(e,c,d,b,f,h,k,l,p,y,P)}
function qM(a){var b=a.itemData.itemId,c=a.config.flowType,d=a.offerData?a.offerData.offerId:null,e=a.innertubeRequestParams,f=a.transactionAction,h={};h.ypc_it=a.itemData.itemType;h.ypc_ii=b;h.ypc_ft=c;e&&(h.ypc_irp=e);d&&(h.ypc_oi=d);f&&(h.ypc_ta=f);return h}
;var rM=[],sM=[];function tM(a){if(a=a.currentTarget)uM(a),(a=U(a,"ytr-prepurchase-html"))&&kM(lb(a))}
function vM(a){var b=a.currentTarget;b&&(uM(b),a=U(b,"ypc-transaction-action"),(b=pM(b,"D"))?((a="start_payment"==a)&&wM("inline-offer-button-click",b.itemData),mM(b,qM(b),a),setTimeout(It,0)):is(Error("ypc-offer-button does not contain purchaseFlowData.")))}
function xM(a){(a=a.currentTarget)&&yM(a)}
function zM(a){hM(a.Fb)}
function AM(a){wM("container-button-click-attempt");var b=E("ypc-checkout-button",a.j);(a=E("ytr-purchase-button",a.j))?(b=G(a,"ypc-offer-button"),(a.href||b)&&a.click()):b&&yM(b)}
function BM(a){var b=a.j;a=b.itemId;var c=b.itemType,b=b.flowType;wM("paid-subscribe-button-click",{itemType:c,itemId:a});iM(c,a,b)}
function yM(a){var b=U(a,"ypc-item-type"),c=U(a,"ypc-item-id"),d=U(a,"ypc-flow-type");a=U(a,"ypc-irp")||void 0;HH()?wM("purchase-button-click",{itemId:c,itemType:b}):wM("signin-button-click");iM(b,c,d,a)}
function CM(a){var b=a.currentTarget;a=U(b,"ypc-item-type");b=U(b,"ypc-item-id");a&&b&&(wM("unsubscribe-button-click",{itemId:b,itemType:a}),nM(a,b))}
function DM(a){var b=a.j;a=b.itemType;b=b.itemId;wM("paid-unsubscribe-button-click",{itemType:a,itemId:b});nM(a,b)}
function wM(a,b){var c={},d=J("PAGE_NAME");rc(c,{label:a,pageName:d});b&&rc(c,b);c=Cg(c);sx("ypc-checkout",c,void 0)}
function uM(a){var b;G(a,"yt-unlimited-more-offer-button")?b="YTO_GTM_2_BUTTON_CLICK_DATA":G(a,"ypc-offer-button")&&(b="YTO_GTM_1_BUTTON_CLICK_DATA");b&&(a=J(b,""))&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(a))}
function EM(a){a=a.currentTarget;var b=U(a,"tab-id");if(b){for(var c=he("offer-module-tab-content"),d=0;d<c.length;d++)c[d].classList.remove("active-tab");c=he("offer-module-tab");for(d=0;d<c.length;d++)c[d].classList.remove("active-tab");D(b).classList.add("active-tab");a.classList.add("active-tab")}}
function FM(a){if(a=a.currentTarget){uM(a);var b=pM(a,"U");b?(hM(function(){t("yt.www.ypc.checkout.offerpurchaser.completeTransaction")(b)}),setTimeout(It,0)):is(Error("ypc-complete-transaction-button does not contain purchaseFlowData"))}}
;var GM=B&&8<=document.documentMode||Hc&&Vc("1.9.2")||Ic&&Vc("532.1"),HM=B&&!GM;function IM(a,b,c){this.A=this.w=this.j=null;this.l=a;this.C=HM?b:null;this.F=c||window;this.B=this.F.location;this.N=this.B.href.split("#")[0];this.D=u(this.O,this)}
IM.prototype.L=function(a,b){this.w&&(N(this.w),delete this.w);this.A&&(ms(this.A),delete this.A);if(a){this.j=JM(this);if(HM){var c=this.C.contentWindow.document.body;c&&c.innerHTML||KM(this,this.j)}b||this.l(this.j);GM?this.w=M(this.F,"hashchange",this.D):this.A=ns(this.D,200)}};
IM.prototype.O=function(){if(HM){var a=this.C.contentWindow.document.body,a=a?cb(We(a).substring(1)):"";a!=this.j?(this.j=a,LM(this,a),this.l(a)):(a=JM(this),a!=this.j&&(this.j=a,KM(this,a),this.l(a)))}else a=JM(this),a!=this.j&&(this.j=a,this.l(a))};
function JM(a){a=a.B.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)}
function LM(a,b){var c=a.N+"#"+b,d=a.B.href;d!=c&&d+"#"!=c&&Zd(a.B,c)}
function KM(a,b){var c=a.C.contentWindow.document,d=c.body?c.body.innerHTML:"",e="#"+bb(b);d!=e&&(d=Rd(Qd("title",{},window.document.title||""),Qd("body")),c.open("text/html"),c.write(Md(d)),Oe(c.body,e),c.close())}
IM.prototype.H=function(a,b,c){this.j=""+a;HM&&KM(this,a);LM(this,a);c||this.l(this.j)};function MM(a,b){this.B=this.C=this.j=null;this.w=a;this.A=b||window;this.l=this.A.location;this.D=u(this.F,this)}
MM.prototype.N=function(a,b){this.B&&(N(this.B),delete this.B);this.C&&(ms(this.C),delete this.C);a&&NM&&(this.j=this.l.href,b||this.w(this.j),this.B=M(this.A,"popstate",this.D))};
MM.prototype.F=function(a){var b=this.l.href;if((a=a.state)||b!=this.j)this.j=b,this.w(b,a)};
MM.prototype.H=function(a,b,c){if(a||b)a=a||this.l.href,this.A.history.pushState(b,"",a),this.j=a,c||this.w(a,b)};
MM.prototype.replace=function(a,b,c){if(a||b)a=a||this.l.href,this.A.history.replaceState(b,"",a),this.j=a,c||this.w(a,b)};
var NM=!!window.history.pushState&&(!Ic||Ic&&Vc("534.11"));function OM(a){a=void 0===a?"hash":a;var b=t("ytglobal.HistoryHistoryInstance");b||("state"==a?(b=new MM(PM),MM.prototype.setEnabled=MM.prototype.N,MM.prototype.add=MM.prototype.H,MM.prototype.replace=MM.prototype.replace):(b=new IM(PM,D("legacy-history-iframe")),IM.prototype.setEnabled=IM.prototype.L,IM.prototype.add=IM.prototype.H,IM.prototype.replace=IM.prototype.H),r("ytglobal.HistoryHistoryInstance",b,void 0));return b}
function PM(a,b){R("navigate",a,b)}
function QM(){var a=OM("state");a.setEnabled.call(a,!0,!0)}
function RM(a){var b=null,c=OM(),b=b||window.history&&window.history.state;c.replace.call(c,a,b,!0)}
;var SM={gj:"ypc_cc",rj:"ypc_ft",wj:"ypc_irp",zj:"ypc_ii",Aj:"ypc_it"};function TM(){var a=ts(window.location.href);if(NM){bc(SM,function(b){b in a&&delete a[b]});
var b=Eg(window.location.href.split("?",2)[0],a);QM();RM(b)}}
;function UM(a){gM=!!a;E("ypc-delayedloader-target")&&hM();a=ts(window.location.href);var b=a.ypc_it,c=a.ypc_ii,d=a.ypc_ft||"D",e=a.ypc_oi,f=a.ypc_irp,h=a.ypc_cc,k=a.ypc_ta;"channel"==J("PAGE_NAME")&&"fan_fund"in a&&(d="T",b="U",c=J("CHANNEL_ID",void 0));"channel"==J("PAGE_NAME")&&"ypc_cc"in a&&(b="U",c=J("CHANNEL_ID",void 0));if(f||c&&b)TM(),"start_payment"==k?(a=oM(e,b,c,d,h,null,"","",f,k),mM(a,qM(a),!0)):c&&b?iM(b,c,d,f,h):lM(d,f);rM.push(O(document.body,"click",xM,"ypc-checkout-button"),O(document.body,
"click",vM,"ypc-offer-button"),O(document.body,"click",FM,"ypc-complete-transaction-button"),O(document.body,"click",tM,"ytr-pre-purchase-button"),O(document.documentElement,"click",CM,"ypc-unsubscribe-link"),O(document.documentElement,"click",CM,"ypc-unsubscribe-button"),O(document.documentElement,"click",EM,"offer-module-tab"));sM.push(Au(fH,zM),Au(eH,AM),Au(kH,BM),Au(iH,DM))}
;window.onload=function(){pI()};
window.onunload=function(){J("TIMING_REPORT_ON_UNLOAD")&&Cw(!0);a:if(!Hw(void 0)){if(!ht("send_empty_timing")){var a=J("CSI_SERVICE_NAME","youtube");if(!J("TIMING_ACTION",void 0)||!a)break a}T("aa",void 0,void 0);Dw("ap",1,void 0);Dw("yt_fss","u",void 0);if(ht("enable_csi_abandonment_info")&&!Fw("yt_lt")){var a=J("TIMING_INFO",{}),b;for(b in a)Dw(b,a[b]);Dw("is_nav",1);(b=Yt())&&Dw("csn",b);(b=J("PREVIOUS_ACTION",void 0))&&Dw("pa",b);a=Ew();a.p=J("CLIENT_PROTOCOL")||"unknown";a.t=J("CLIENT_TRANSPORT")||
"unknown";Cu.now&&Cu.timing?(b=Cu.timing.navigationStart+Cu.now(),b=Math.round(v()-b)):b=null;null!=b&&Dw("yt_hrd",b);window.navigator&&window.navigator.sendBeacon&&Dw("ba",1);Dw("yt_vis",Jw());if("cold"==a.yt_lt){b=Cu.timing||{};ht("cold_load_nav_start_web")&&b.navigationStart&&(T("srt",b.responseStart),1!=a.prerender&&(a=b.navigationStart,Dw("yt_sts","n",void 0),T("_start",a,void 0)));b:if(b.msFirstPaint)a=Math.max(0,b.msFirstPaint);else{if(a=window.chrome)if(a=a.loadTimes,va(a)){var a=a(),c=1E3*
Math.min(a.requestTime||Infinity,a.startLoadTime||Infinity),c=Infinity===c?0:b.navigationStart-c,a=Math.max(0,Math.round(1E3*a.firstPaintTime+c)||0);break b}a=0}0<a&&T("fpt",a);T("nreqs",b.requestStart,void 0);T("nress",b.responseStart,void 0);T("nrese",b.responseEnd,void 0);0<b.redirectEnd-b.redirectStart&&(T("nrs",b.redirectStart,void 0),T("nre",b.redirectEnd,void 0));0<b.domainLookupEnd-b.domainLookupStart&&(T("ndnss",b.domainLookupStart,void 0),T("ndnse",b.domainLookupEnd,void 0));0<b.connectEnd-
b.connectStart&&(T("ntcps",b.connectStart,void 0),T("ntcpe",b.connectEnd,void 0));b.secureConnectionStart>=b.navigationStart&&0<b.connectEnd-b.secureConnectionStart&&(T("nstcps",b.secureConnectionStart,void 0),T("ntcpe",b.connectEnd,void 0));Cu.getEntriesByType&&Nw();b=J("SPEEDINDEX_FOR_ACTIONS",void 0);a=J("TIMING_ACTION",void 0);b&&-1<b.indexOf(a)&&(b=ds(),a=new hw,c=ds(),0<a.w&&(Dw("si",a.w),T("vsc",Mw(a.H)),T("sics",b),T("sice",c)));b=[];if(document.querySelector&&Cu&&Cu.getEntriesByName)for(var d in pw)a=
pw[d],Ow(d,a)&&b.push(a);b.length&&Dw("rc",b.join(","))}ht("csi_on_gel")&&(d={},d.actionType=sw[J("TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",b=Bw(),ou(d,b))}Iw(void 0)}mB();It();d=tI;b=0;for(a=d.length;b<a;b++)if(c=d[b],!isNaN(c)){var e=t("yt.scheduler.instance.cancelJob");e?e(c):K(c)}tI.length=0;nI();rI&&(rI.cancel(),rI=null);(d=J("PAGE_NAME",void 0))&&vt("dispose-"+d);vt("dispose");vt("pageunload")};
window.onerror=function(a,b,c,d,e){var f=!1,h=gs.EXPERIMENT_FLAGS;if((h=h?h.log_window_onerror_fraction:void 0)&&Math.random()<h)f=!0;else for(var h=document.getElementsByTagName("script"),k=0,l=h.length;k<l;k++)if(0<h[k].src.indexOf("/debug-")){f=!0;break}f&&(e||(q(a)||(ErrorEvent&&a instanceof ErrorEvent&&(d=a.colno),a="Unknown error",b="Unknown file",c=0),e=Error(),e.message=a,e.fileName=b,e.lineNumber=c,isNaN(d)||(e.columnNumber=d)),is(e))};
window.yt=window.yt||{};r("_gel",D,void 0);r("_hasclass",G,void 0);r("_addclass",H,void 0);r("_removeclass",I,void 0);r("_toggleclass",Ip,void 0);r("_showdiv",kz,void 0);r("_hidediv",lz,void 0);r("_ajax",zs,void 0);r("yt.style.show",kz,void 0);r("yt.style.hide",lz,void 0);r("goog.bind",u,void 0);r("goog.dom.getElementByClass",E,void 0);r("goog.dom.getElementsByTagNameAndClass",fe,void 0);r("goog.dom.getFirstElementChild",Be,void 0);r("goog.array.forEach",z,void 0);r("goog.array.indexOf",zb,void 0);
r("goog.array.contains",Jb,void 0);r("yt.setConfig",hs,void 0);r("yt.config.set",hs,void 0);r("yt.getConfig",J,void 0);r("yt.config.get",J,void 0);r("yt.logging.errors.log",eu,void 0);r("yt.setTimeout",L,void 0);r("yt.setInterval",ns,void 0);r("yt.clearTimeout",K,void 0);r("yt.clearInterval",ms,void 0);r("yt.timers.setTimeout",L,void 0);r("yt.timers.setInterval",ns,void 0);r("yt.timers.clearTimeout",K,void 0);r("yt.timers.clearInterval",ms,void 0);r("yt.setMsg",ky,void 0);r("yt.setGoogMsg",ly,void 0);
r("yt.getMsg",jy,void 0);r("yt.msgs.set",ky,void 0);r("yt.msgs.setGoog",ly,void 0);r("yt.msgs.get",jy,void 0);r("yt.events.listen",M,void 0);r("yt.events.unlisten",function(a,b,c,d){(a=$s(a,b,c,!(void 0===d||!d)))&&N(a)},void 0);
r("yt.events.stopPropagation",ft,void 0);r("yt.events.preventDefault",et,void 0);r("yt.events.getTarget",bt,void 0);r("yt.events.clear",function(){for(var a in Ys)N(a)},void 0);
r("yt.events.Event",Ws,void 0);Ws.prototype.preventDefault=Ws.prototype.preventDefault;Ws.prototype.stopPropagation=Ws.prototype.stopPropagation;r("yt.pubsub.subscribe",Q,void 0);r("yt.pubsub.unsubscribeByKey",rt,void 0);r("yt.pubsub.publish",R,void 0);r("yt.pubsub2.publish",yu,void 0);
Q("init",function(){mF=new eF(jF);tF.push(M(window,"resize",nF));tF.push(M(window,"scroll",qF));H(document.body,"page-loaded");var a=hD.getInstance(),b=1<window.devicePixelRatio;if(!!((lD("f"+(Math.floor(119/31)+1))||0)&67108864)!=b){var c="f"+(Math.floor(119/31)+1),d=lD(c)||0,d=b?d|67108864:d&-67108865;0==d?delete iD[c]:(b=d.toString(16),iD[c]=b.toString());mD(a)}});
Q("dispose",Vt);Q("init",Vt);YD("keyboard");r("yt.uix.FormInput.selectOnChangeActionIE",function(a){MA.getInstance().Ya(a)},void 0);
Q("init",function(){OA()});
r("goog.i18n.bidi.setDirAttribute",function(a,b){var c=b.value,d="";zd.test(c)?d="rtl":zd.test(c)||(d="ltr");b.dir=d},void 0);
r("yt.style.toggle",mz,void 0);r("yt.style.setDisplayed",hz,void 0);r("yt.style.isDisplayed",iz,void 0);r("yt.style.setVisible",function(a,b){if(a=D(a))a.style.visibility=b?"visible":"hidden"},void 0);
r("yt.net.ajax.sendWithOptionsFromUncompiled",function(a,b){return ys(a,{format:b.format,method:b.method,postBody:b.postBody,R:b.onSuccess})},void 0);
r("yt.net.ajax.ResponseFormat.JSON","JSON",void 0);r("yt.net.ajax.ResponseFormat.RAW","RAW",void 0);r("yt.net.ajax.ResponseFormat.LEGACY_XML","XML",void 0);r("yt.net.ajax.getRootNode",Fs,void 0);r("yt.net.ajax.getNodeValue",Es,void 0);r("yt.net.scriptloader.load",rx,void 0);r("yt.net.styleloader.load",oy,void 0);r("goog.dom.forms.getFormDataString",function(a){var b=[];Mp(a,b,Pp);return b.join("&")},void 0);
r("yt.uri.buildQueryData",Cg,void 0);r("yt.uri.appendQueryData",Eg,void 0);r("yt.www.feedback.init",OD,void 0);r("yt.www.feedback.start",function(a,b){try{var c=(a||"59")+"",d=SD(b),e=TD();ht("gfeedback_for_signed_out_users_enabled")?(e.productId=c,e.locale=d.locale,e.helpCenterPath=d.helpCenterPath,bs(e,d.productData)):Lm(c,d).w(e);return!1}catch(f){return!0}},void 0);
r("yt.www.feedback.startHelp",RD,void 0);r("yt.www.feedback.displayLink",UD,void 0);Q("init",OD);Q("init",UD);Q("dispose",function(){rt(MD);N(KD);MD.length=0;KD.length=0;LD={}});
r("yt.net.cookies.set",au,void 0);r("yt.net.cookies.get",Zt,void 0);r("yt.net.cookies.remove",$t,void 0);r("yt.window.redirect",Sx,void 0);
r("yt.window.popup",function(a,b){b=void 0===b?{}:b;b.target=b.target||"YouTube";b.width=b.width||"600";b.height=b.height||"600";var c=b;c||(c={});var d=window;var e=a instanceof Ed?a:Id("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,h=[],k;for(k in c)switch(k){case "width":case "height":case "top":case "left":h.push(k+"="+c[k]);break;case "target":case "noreferrer":break;default:h.push(k+"="+(c[k]?1:0))}h=h.join(",");zc()&&d.navigator&&d.navigator.standalone&&f&&"_self"!=f?
(h=d.document.createElement("A"),Xd(h,e),h.setAttribute("target",f),c.noreferrer&&h.setAttribute("rel","noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,d,1),h.dispatchEvent(e),d={}):c.noreferrer?(d=d.open("",f,h),e=Gd(e),d&&(Gc&&-1!=e.indexOf(";")&&(e="'"+e.replace(/'/g,"%27")+"'"),d.opener=null,qd("b/12014412, meta tag with sanitized URL"),e=$d(0,'<META HTTP-EQUIV="refresh" content="0; url='+db(e)+'">'),d.document.write(Md(e)),d.document.close())):d=d.open(Gd(e),
f,h);if(!d)return null;d.opener||(d.opener=window);d.focus();return d},void 0);
r("yt.window.navigate",Tx,void 0);Q("init",function(){DB.getInstance().zc();qD.getInstance().zc()});
Q("init",function(){var a=!!E("guide-module-loading");window.spf&&spf.load&&a&&(J("GUIDE_DELAY_LOAD")||eE(),fE.push(Q("appbar-show-guide",eE)))});
ZB(Az);ZB(FA);ZB(nA);ZB(IA);ZB(JA);ZB(MA);ZB(oA);ZB(Uz);ZB(SA);ZB(Zz);ZB(nB);ZB(zA);ZB(zB);ZB(AB);ZB(BB);ZB(IH);ZB(qD);ZB(DB);ZB(OH);ZB(WH);ZB(MB);ZB(OB);ZB(QB);
r("yt.flash.embed",function(a,b){a=q(a)?ee(a):a;b=Ox(b);if(window!=window.top){var c=document.referrer;b.args.framer=c?c.substring(0,128):null}c=ey.getInstance();if(fy(c,b.minVersion)){var d=b,c=gy(c)&&d.url||hy(c)&&d.urlV9As2||d.url;my(a,c,b)}else{var d=a,e=b;0==c.j&&e.fallback?e.fallback():0==c.j&&e.fallbackMessage?e.fallbackMessage():d.innerHTML='<div id="flash-upgrade">'+jy("FLASH_UPGRADE",void 0,'You need to upgrade your Adobe Flash Player to watchthis video. <br> <a href="https://get.adobe.com/flashplayer/">Download it from Adobe.</a>')+
"</div>"}},void 0);
r("yt.player.embed",function(a,b){a=q(a)?ee(a):a;b=Ox(b);var c=Sy+"_"+xa(a),d=Ry[c];if(d)return d.hd(b),d.l;d=new By(a,c);Ry[c]=d;R("player-added",d.l);hk(d,Da(Ty,d));L(function(){d.hd(b)},0);
return d.l},void 0);
r("yt.www.watch.player.seekTo",function(){},void 0);
r("yt.www.watch.player.saveResumeOffset",function(a){var b;(b=J("PAGE_NAME"))&&"watch"!=b?(is(Error("getPlayer called on "+b),"WARNING"),b=null):b=Uy();if(b&&b.isReady()){a&&hs("RESUME_COOKIE_NAME",a);a=J("VIDEO_ID",void 0);var c=b.getDuration();b=Math.floor(b.getCurrentTime());0==c||120>=b||b+120>=c?RL(a):QL(a,Math.floor(b))}},void 0);
r("yt.www.lists.data.addto.saveToWatchLater",RE,void 0);r("yt.www.lists.addtowatchlater.init",WE,void 0);Q("init",WE);Q("dispose",function(){tz("addto-watch-later-button","click",XE);tz("addto-watch-later-button-success","click",YE);tz("addto-watch-later-button-remove","click",ZE);tz("addto-watch-later-button-sign-in","click",$E);N(UE);UE=[]});
r("yt.www.watchqueue.addtowatchqueue.init",SL,void 0);Q("init",SL);Q("dispose",function(){rt(WL);WL.length=0;dM=[];tz("addto-watch-queue-button","click",TL);tz("addto-tv-queue-button","click",TL);tz("addto-watch-queue-button-success","click",UL);tz("addto-watch-queue-menu-choice","click",VL);ik(DL);DL=null;rt(PL);PL.length=0;uL()});
r("yt.www.comments.init",function(a){D("comment-section-renderer")||(D("yt-comments-list")?new zD:a&&R("yt-dom-content-change",D("comments-view")))},void 0);
r("yt.dom.datasets.get",U,void 0);r("yt.dom.datasets.set",kx,void 0);var VM=Q("init",function(){CF();t("yt.www.page.visibilitymonitor.delegateByClass")(null,t("yt.www.page.visibilitymonitor.States.VISIBLE"),GH,"yt-thumb");t("yt.www.page.visibilitymonitor.delegateByClass")(null,t("yt.www.page.visibilitymonitor.States.VISIBLE"),GH,"yt-uix-simple-thumb-wrap");t("yt.www.page.visibilitymonitor.refresh")();T("tdl");rt(VM)});
Q("init",function(){for(var a=0;a<document.forms.length;a++){for(var b=!1,c=0;c<eM.length;c++)document.forms[a].name==eM[c]&&(b=!0);c=document.forms[a];if("post"==c.method.toLowerCase()&&0==b){for(var b=!1,d=0;d<c.elements.length;d++)c.elements[d].name==J("XSRF_FIELD_NAME")&&(b=!0);b||(b=J("XSRF_TOKEN"),d=document.createElement("input"),d.setAttribute("name",J("XSRF_FIELD_NAME")),d.setAttribute("type","hidden"),d.setAttribute("value",b),c.appendChild(d))}}});
r("yt.www.ads.MastheadAd",nD,void 0);nD.prototype.autoCollapsePremiumYva=nD.prototype.Gf;nD.prototype.collapse_ad=nD.prototype.kf;nD.prototype.expand_ad=nD.prototype.expand;nD.prototype.userCollapsePremiumYva=nD.prototype.Te;nD.prototype.userExpandPremiumYva=nD.prototype.ti;nD.prototype.userUnexpandPremiumYva=nD.prototype.vi;r("yt.www.feed.ui.ads.workaroundIE",function(a){!JD&&ID&&(JD=!0,L(function(){a.focus()},0))},void 0);
r("yt.www.feed.ui.ads.workaroundLoad",function(){ID=!0},void 0);
r("yt.www.feed.ui.ads.writeAdsContentToIframe",function(a,b){var c=D(a);c&&(c=c.contentDocument||c.contentWindow.document,c.open(),c.write("<!DOCTYPE html><html><head></head><body>"+b+"</body></html>"),B||c.close())},void 0);
r("yt.net.ping.send",Js,void 0);r("yt.tracking.doubleclick.trackActivity",function(a,b,c){a=("https:"==document.location.protocol?"https://":"http://")+"fls.doubleclick.net/activityi;src="+bb(J("DBLCLK_ADVERTISER_ID"))+";type="+bb(a)+";cat="+bb(b);c&&!c.ord&&(a+=";ord=1");for(var d in c)a+=";"+bb(d)+"="+bb(c[d]);a+=";num="+v();c=ue(document,"iframe");c.src=a;c.style.display="none";document.body.appendChild(c)},void 0);
r("yt.tracking.track",function(a,b,c){sx(a,b,c)},void 0);
r("yt.tracking.resolution",function(){var a="CSS1Compat"==document.compatMode?document.documentElement:document.body,a=Cg({a:"resolution",width:screen.width,height:screen.height,depth:screen.colorDepth,pixel_ratio:window.devicePixelRatio||1,win_width:a.clientWidth,win_height:a.clientHeight});Js("/gen_204?"+a,void 0)},void 0);
r("yt.tracking.share",function(a,b,c,d,e,f){var h={};b&&(h.v=b);c&&(h.list=c);d&&(h.url=d);a={name:a,locale:e,feature:f};for(var k in h)a[k]=h[k];h=Eg("/sharing_services",a);Js(h)},void 0);
r("yt.www.subscription.autoaction.continueAction",function(a,b,c){yu(wE,new qE(a,{itemType:b,itemId:c}))},void 0);
Q("init",function(a){lH=!!a;mH.push(Au(wE,nH),Au(BE,pH));lH||mH.push(Au(AE,nH),Au(FE,pH),Au(tE,rH),Au(uE,tH),Au(IE,vH),Au(hH,xH),Au(jH,zH),Au(gH,yH))});
Q("init",function(){KG.push(Au(vE,WG),Au(KE,PG),Au(JE,OG))});
Q("dispose",function(){Bu(KG);KG.length=0;N(LG);LG.length=0;RA&&(ye(RA),RA=null)});
Q("init",function(){});
Q("dispose",function(){N(DH);DH.length=0;Object.keys(CH).forEach(function(a){ye(CH[a])});
CH={}});
Q("init",function(){J("CREATE_CHANNEL_LIGHTBOX")&&mC();J("FEED_PRIVACY_LIGHTBOX_ENABLED")&&(NC.push(Q("SHOW-FEED-PRIVACY-FAVORITE-DIALOG",UC)),NC.push(Q("SHOW-FEED-PRIVACY-LIKE-DIALOG",TC)),NC.push(Q("SHOW-FEED-PRIVACY-ADD-TO-PLAYLIST-DIALOG",VC)),NC.push(Q("SHOW-FEED-PRIVACY-LIKE-PLAYLIST-DIALOG",WC)),NC.push(Q("SHOW-FEED-PRIVACY-SUBSCRIBE-DIALOG",SC)));if(J("SHOW_IDENTITY_PROMPT_LIGHTBOX")){var a=jC(XC);var b=J("IDENTITY_PROMPT_NEXT_URL",document.location.href),c=J("IDENTITY_PROMPT_AUTHUSER",void 0),
d=J("IDENTITY_PROMPT_PAGEID",void 0),e={};c&&(e.authuser=c);d&&(e.pageid=d);a.open("identity-prompt","/identity_prompt_ajax","identity_prompt_ajax",!0,!0,void 0,b,!0,e)}J("LINK_GPLUS_LIGHTBOX_ENABLED")&&wC();J("SHOW_MCNA_YPE_MODAL")&&new gD("")});
Q("dispose",function(){J("LINK_GPLUS_LIGHTBOX_ENABLED")&&(rt(vC),vC.length=0,N(sC),sC.length=0,oC=!1)});
r("yt.www.account.AddNewChannelLoader.init",function(){var a=jC(kC);a.B=J("ADD_NEW_CHANNEL_PAGE_ID",void 0)||null;a.init(J("ADD_NEW_CHANNEL_CSS_URL",void 0),J("ADD_NEW_CHANNEL_JS_URL",void 0),!a.B,D("body-container"),"add-secondary-channel")},void 0);
r("yt.www.account.CreateChannelLoader.show",function(a){mC(!0,a)},void 0);
r("yt.www.account.LinkGplusLoader.cancel",AC,void 0);r("yt.www.account.LinkGplusLoader.dismiss",zC,void 0);r("yt.www.account.LinkGplusLoader.show",IC,void 0);r("yt.www.account.LinkGplusLoader.showOnce",function(){IC();rt(J("PUBSUB_INIT_KEY",void 0))},void 0);
Q("init",UM);r("yt.www.ypc.bootstrap.init",UM,void 0);var WM=Q("init",function(){J("PAGEFRAME_JS")&&rx(J("PAGEFRAME_JS",void 0),function(){t("ytbin.www.pageframe.setup")()});
rt(WM)});
Q("init",function(){OE.getInstance().init()});}).call(this);
