youtube-copyright
parent
7626f5f8f2
commit
e058f1dcb3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,650 @@
|
|||||||
|
(function(g){var window=this;var wqa=function(a,b,c,d){var e=a||window.document;return g.CF(e,b,function(a){var b=g.Ee(a.target,function(a){return a===e||d(a)},!0);
|
||||||
|
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})},H3=function(a,b,c,d){return wqa(a,b,c,function(a){return g.Gp(a,d)})},I3=function(a,b){if(/^\d+px?$/.test(b))return(0,window.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},xqa=function(a){var b=g.OU(a.g).Za(),b=new g.Mg(0,0,b.width,b.height);
|
||||||
|
if(a.B.o&&!a.Jj()){if(g.Y(a.g).Qc){var c=a.ee()?69:48;b.top+=c;b.height-=c}a.A&&(b.height-=a.A.A.ee()?72:50)}return b},J3=function(a){a.Y("cardstatechange",g.XU(a)&&g.YU(a)?1:0)},K3=function(a){var b={};
|
||||||
|
void 0!==a.o?b.trackingParams=a.o:(b.veType=a.B,null!=a.A&&(b.veCounter=a.A),null!=a.g&&(b.elementIndex=a.g));return b},yqa=function(a,b,c,d){c=(0,g.y)(c,d||a.o);
|
||||||
|
b=H3(b,"change",c,"iv-card-poll-choice-input");a.g.push(b)},zqa=function(a,b,c){c=(0,g.y)(c,a.o);
|
||||||
|
b=g.KF(b,"mouseleave",c);a.g.push(b);return b},Aqa=function(a){if(window.document.createEvent){var b=window.document.createEvent("HTMLEvents");
|
||||||
|
b.initEvent("click",!0,!0);a.dispatchEvent(b)}else b=window.document.createEventObject(),a.fireEvent("onclick",b)},Bqa=function(a,b){var c=!1,d=a.subscribe("ROOT_MENU_REMOVED",function(a){c||(c=!0,this.Td(d),b.apply(void 0,arguments))},a)},L3=function(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 Cqa?Cqa[c]:I3(a,c)},M3=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;
|
||||||
|
return c?I3(a,c):0},Dqa=function(a,b){g.Ne.call(this,a);
|
||||||
|
this.x=b.o[0];this.y=b.o[1];this.z=b.o[2];this.duration=b.duration;this.progress=b.progress;this.fps=b.F;this.state=b.g},N3=function(a){a=g.za(a);
|
||||||
|
delete g.xt[a];g.Ub(g.xt)&&g.vt&&g.vt.stop()},O3=function(a){return"rtl"==g.fh(a,"direction")},Eqa=function(a){var b={};
|
||||||
|
a.analyticsChannelData&&(b.analyticsDatas=(0,g.H)(a.analyticsChannelData,function(a){return{tabName:a.tabName,cardName:a.cardName,isChannelScreen:a.isChannelScreen,insightId:a.insightId,externalChannelId:a.externalChannelId,externalContentOwnerId:a.externalContentOwnerId}}));
|
||||||
|
return{playbackData:{clientPlaybackNonce:a.clientPlaybackNonce},analyticsChannelData:b,externalLinkData:a.externalLinkData}},Fqa=function(a,b){return(b&8&&O3(a)?b^4:b)&-9},P3=function(a,b,c,d){g.Ps.call(this);
|
||||||
|
if(!g.ta(a)||!g.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.G=b;this.duration=c;this.D=d;this.o=[];this.progress=this.F=0;this.C=null},Hqa=function(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;Gqa(a,a.progress);1==a.progress?(a.g=0,N3(a),a.Fd(),a.nl()):a.yb()&&a.ws()},Gqa=function(a,b){g.va(a.D)&&(b=a.D(b));
|
||||||
|
a.o=Array(a.A.length);for(var c=0;c<a.A.length;c++)a.o[c]=(a.G[c]-a.A[c])*b+a.A[c]},Iqa=function(a){return new g.Mg(a.left,a.top,a.right-a.left,a.bottom-a.top)},Q3=function(a,b,c){b.eventTimeMs=Math.round((0,g.sG)());
|
||||||
|
b.lactMs=g.vG();c&&(b.clientData=Eqa(c));g.nG({endpoint:"log_interaction",UA:b},a)},Jqa=function(a,b,c,d,e,f,k){a=a.clone();
|
||||||
|
var l=Fqa(b,c);c=g.th(b);k=k?k.clone():c.clone();a=g.hD(a,k,l,d,e,f);if(a.status&496)return a.status;g.hh(b,g.Sg(a.rect));k=g.Qg(a.rect);g.Rd(c,k)||(d=k,f=g.ae(g.Vd(g.Td(b)).g),!g.sc||g.kc("10")||f&&g.kc("8")?(b=b.style,g.ch?b.MozBoxSizing="border-box":g.ee?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(d.width,0)+"px",b.height=Math.max(d.height,0)+"px"):(e=b.style,f?(g.sc?(l=M3(b,"paddingLeft"),k=M3(b,"paddingRight"),c=M3(b,"paddingTop"),f=M3(b,"paddingBottom"),f=new g.Kg(c,
|
||||||
|
k,f,l)):(l=g.eh(b,"paddingLeft"),k=g.eh(b,"paddingRight"),c=g.eh(b,"paddingTop"),f=g.eh(b,"paddingBottom"),f=new g.Kg((0,window.parseFloat)(c),(0,window.parseFloat)(k),(0,window.parseFloat)(f),(0,window.parseFloat)(l))),g.sc&&!g.lc(9)?(l=L3(b,"borderLeft"),k=L3(b,"borderRight"),c=L3(b,"borderTop"),b=L3(b,"borderBottom"),b=new g.Kg(c,k,b,l)):(l=g.eh(b,"borderLeftWidth"),k=g.eh(b,"borderRightWidth"),c=g.eh(b,"borderTopWidth"),b=g.eh(b,"borderBottomWidth"),b=new g.Kg((0,window.parseFloat)(c),(0,window.parseFloat)(k),
|
||||||
|
(0,window.parseFloat)(b),(0,window.parseFloat)(l))),e.pixelWidth=d.width-b.left-f.left-f.right-b.right,e.pixelHeight=d.height-b.top-f.top-f.bottom-b.bottom):(e.pixelWidth=d.width,e.pixelHeight=d.height)));return a.status},R3=function(a,b,c,d,e){P3.call(this,b,c,d,e);
|
||||||
|
this.element=a},Mqa=function(a,b,c){if(!(a.nodeName in Kqa))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 Lqa)b.push(Lqa[a.nodeName]);else for(a=a.firstChild;a;)Mqa(a,b,c),a=a.nextSibling},Nqa=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Nqa(a,b,c,d))return!0;
|
||||||
|
a=a.nextSibling}return!1},S3=function(a,b,c){this.id=a;
|
||||||
|
this.timestamp=b.timestamp||0;this.type=b.card_type;this.teaserText=b.teaser_text;this.teaserDurationMs=b.teaser_duration_ms;this.startMs=b.start_ms;this.autoOpen=b.auto_open||!1;this.Sd=b.session_data||{};this.Xb=c;this.sponsored=b.sponsored||!1;a=b.tracking||{};this.o={rJ:a.impression,click:a.click,close:a.close,GS:a.teaser_impression,vt:a.teaser_click};b=b.tracking_params||{};this.C=new g.ZF(b.card);this.F=new g.ZF(b.teaser);this.D=new g.ZF(b.icon)},T3=function(a){return(a=g.Wd(a))?g.wh(a)&&!g.Gp(a,
|
||||||
|
"hid"):!1},Oqa=function(){var a=g.PD("ROOT_VE_TYPE",void 0);
|
||||||
|
return a?new g.ZF(void 0,a,void 0):null},Pqa=function(a,b,c){g.$E("interaction_logging_on_gel_web")?c.forEach(function(c){g.wG("visualElementShown",{csn:b,
|
||||||
|
ve:K3(c),eventType:1},a)}):(c=(0,g.H)(c,function(a){return K3(a)}),Q3(a,{visibilityUpdate:{csn:b,
|
||||||
|
visualElements:c}}))},Qqa=function(a,b,c,d){b={csn:b,
|
||||||
|
parentVisualElement:K3(c),visualElements:(0,g.H)(d,function(a){return K3(a)})};
|
||||||
|
Q3(a,{attachChild:b},void 0)},Rqa=function(){g.S(window.document.body,"hide-players",!1);
|
||||||
|
(0,g.G)(g.Yd("preserve-players"),function(a){g.Ip(a,"preserve-players")})},U3=function(a,b){a=g.Wd(a);
|
||||||
|
b=g.Wd(b);return!!g.Ee(a,function(a){return a===b},!0,void 0)},V3=function(a){var b=a.__yt_uid_key;
|
||||||
|
b||(b=(0,g.Xpa)(),a.__yt_uid_key=b);return b},Sqa=function(a,b){var c=g.Xd(window.document,a,null,b);
|
||||||
|
return c.length?c[0]:null},W3=function(a,b){a&&(a.dataset?delete a.dataset[g.oF(b)]:a.removeAttribute("data-"+b))},X3=function(a,b,c,d,e,f,k){var l;
|
||||||
|
if(l=c.offsetParent){var m="HTML"==l.tagName||"BODY"==l.tagName;if(!m||"static"!=g.fh(l,"position")){var n=g.lh(l);m||(m=(m=O3(l))&&g.ch?-l.scrollLeft:!m||g.SN&&g.kc("8")||"visible"==g.fh(l,"overflowX")?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft,n=g.Pd(n,new g.Nd(m,l.scrollTop)))}}l=n||new g.Nd;n=g.uh(a);(m=g.mh(a))&&g.Pg(n,Iqa(m));var m=g.Vd(a),q=g.Vd(c);if(m.g!=q.g){var r=m.g.body,q=g.oh(r,g.Ie(q)),q=g.Pd(q,g.lh(r));!g.sc||g.lc(9)||g.ae(m.g)||(q=g.Pd(q,g.de(m.g)));n.left+=q.x;n.top+=
|
||||||
|
q.y}a=Fqa(a,b);b=n.left;a&4?b+=n.width:a&2&&(b+=n.width/2);b=new g.Nd(b,n.top+(a&1?n.height:0));b=g.Pd(b,l);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)*e.y);var w;k&&(w=g.mh(c))&&(w.top-=l.y,w.right-=l.x,w.bottom-=l.y,w.left-=l.x);return Jqa(b,c,d,f,w,k,void 0)},Tqa=function(a){return 3*a*a-2*a*a*a},Uqa=function(a){return Math.pow(a,3)},Y3=function(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");
|
||||||
|
R3.apply(this,arguments)},Z3=function(a,b,c,d,e,f,k){this.date=g.oa(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,k||0):new Date(a&&a.getTime?a.getTime():(0,g.F)())},$3=function(a,b){return g.ppa&&a.dataset?b in a.dataset?a.dataset[b]:null:a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())},a4=function(a,b){this.start=a<b?a:b;
|
||||||
|
this.end=a<b?b:a},Yqa=function(a){var b=g.fh(a,"fontSize");
|
||||||
|
var c=(c=b.match(Vqa))&&c[0]||null;if(b&&"px"==c)return(0,window.parseInt)(b,10);if(g.sc){if(String(c)in Wqa)return I3(a,b);if(a.parentNode&&1==a.parentNode.nodeType&&String(c)in Xqa)return a=a.parentNode,c=g.fh(a,"fontSize"),I3(a,b==c?"1em":b)}c=g.he("SPAN",{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});a.appendChild(c);b=c.offsetHeight;g.qe(c);return b},b4=function(a){if(g.fpa&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,
|
||||||
|
"\n");
|
||||||
|
else{var b=[];Mqa(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");g.fpa||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},c4=function(a,b){var c=[];
|
||||||
|
return Nqa(a,b,c,!0)?c[0]:void 0},Zqa=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;
|
||||||
|
return!0},d4=function(a,b){g.rf.call(this);
|
||||||
|
this.Ck=a;this.Dq=b;this[g.Se]=!1},h4=function(a,b,c,d){d4.call(this,a,b);
|
||||||
|
a=this.Dq;b=this.ra();c?(b.setAttribute("stroke",c.g),b.setAttribute("stroke-opacity",c.o),c=c.Eb(),g.u(c)&&-1!=c.indexOf("px")?b.setAttribute("stroke-width",(0,window.parseFloat)(c)/$qa(a)):b.setAttribute("stroke-width",c)):b.setAttribute("stroke","none");this.fill=d;c=this.Dq;a=this.ra();if(d instanceof e4)a.setAttribute("fill",d.J),a.setAttribute("fill-opacity",d.K);else if(d instanceof f4){b="lg-"+d.C+"-"+d.F+"-"+d.D+"-"+d.G+"-"+d.g+"-"+d.o;var e=b in c.o?c.o[b]:null;if(!e){var e=g4(c,"linearGradient",
|
||||||
|
{x1:d.C,y1:d.F,x2:d.D,y2:d.G,gradientUnits:"userSpaceOnUse"}),f="stop-color:"+d.g;g.oa(d.A)&&(f+=";stop-opacity:"+d.A);f=g4(c,"stop",{offset:"0%",style:f});e.appendChild(f);f="stop-color:"+d.o;g.oa(d.B)&&(f+=";stop-opacity:"+d.B);d=g4(c,"stop",{offset:"100%",style:f});e.appendChild(d);e=ara(c,b,e)}a.setAttribute("fill","url(#"+e+")")}else a.setAttribute("fill","none")},bra=function(){},cra=function(a,b){d4.call(this,a,b)},i4=function(){this.sb=[];
|
||||||
|
this.Na=[];this.pe=[]},dra=function(a,b,c){0==g.Za(a.sb)?a.pe.length-=2:(a.sb.push(0),a.Na.push(1));
|
||||||
|
a.pe.push(b,c);a.Ld=a.Bf=[b,c]},j4=function(a,b,c,d){var e=a.Ld[0]-b*Math.cos(d*Math.PI/180)+b*Math.cos((d+90)*Math.PI/180),f=a.Ld[1]-c*Math.sin(d*Math.PI/180)+c*Math.sin((d+90)*Math.PI/180);
|
||||||
|
a.sb.push(3);a.Na.push(1);a.pe.push(b,c,d,90,e,f);a.Al=!1;a.Ld=[e,f]},fra=function(a,b){for(var c=a.pe,d=0,e=0,f=a.sb.length;e<f;e++){var k=a.sb[e],l=era[k]*a.Na[e];
|
||||||
|
b(k,c.slice(d,d+l));d+=l}},gra=function(a,b,c,d){h4.call(this,a,b,c,d)},k4=function(a,b,c){this.A=a;
|
||||||
|
this.g=b;this.o=null==c?1:c},l4=function(a,b,c,d,e){g.Hu.call(this,e);
|
||||||
|
this.width=a;this.height=b;this.A=c||null;this.O=d||null},$qa=function(a){var b=a.Xi();
|
||||||
|
return b?b.width/(a.A?new g.Qd(a.A,a.O):a.Xi()).width:0},f4=function(a,b,c,d,e,f,k,l){this.C=a;
|
||||||
|
this.F=b;this.D=c;this.G=d;this.g=e;this.o=f;this.A=g.t(k)?k:null;this.B=g.t(l)?l:null},e4=function(a,b){this.J=a;
|
||||||
|
this.K=null==b?1:b},m4=function(a,b){d4.call(this,a,b)},hra=function(a,b,c,d){h4.call(this,a,b,c,d)},n4=function(a,b,c,d,e){l4.call(this,a,b,c,d,e);
|
||||||
|
this.o={};this.P=g.ee&&!g.kc(526);this.K=new g.cm(this)},g4=function(a,b,c){a=a.J.g.createElementNS("http://www.w3.org/2000/svg",b);
|
||||||
|
c&&ira(a,c);return a},ira=function(a,b){for(var c in b)a.setAttribute(c,b[c])},o4=function(a,b,c,d){b=g4(a,"path",{d:jra(b)});
|
||||||
|
c=new hra(b,a,c,d);a.C.ra().appendChild(c.ra())},jra=function(a){var b=[];
|
||||||
|
fra(a,function(a,d){switch(a){case 0:b.push("M");Array.prototype.push.apply(b,d);break;case 1:b.push("L");Array.prototype.push.apply(b,d);break;case 2:b.push("C");Array.prototype.push.apply(b,d);break;case 3:var c=d[3];b.push("A",d[0],d[1],0,180<Math.abs(c)?1:0,0<c?1:0,d[4],d[5]);break;case 4:b.push("Z")}});
|
||||||
|
return b.join(" ")},ara=function(a,b,c){if(b in a.o)return a.o[b];
|
||||||
|
var d="_svgdef_"+kra++;c.setAttribute("id",d);a.o[b]=d;a.G.appendChild(c);return d},lra=function(){p4||(p4=new g.eg(400),p4.start());
|
||||||
|
return p4},r4=function(a){var b=g.QG()||"";
|
||||||
|
Pqa(q4(),b,a)},s4=function(a){var b=g.QG()||"",c=q4();
|
||||||
|
Q3(c,{click:{csn:b,visualElement:K3(a)}},void 0)},q4=function(){return g.$E("enable_youtubei_innertube")?g.AG:g.K2},mra=function(a,b){function c(a){return a.baseUrl}
|
||||||
|
function d(a){if(a){if(a.simpleText)return a.simpleText;if(a.runs)return(0,g.H)(a.runs,function(a){return a.text}).join("")}}
|
||||||
|
function e(a){if(a){var b=[];a.videoId&&b.push("v="+a.videoId);a.playlistId&&b.push("list="+a.playlistId);a.startTimeSeconds&&b.push("t="+a.startTimeSeconds);return"/watch?"+b.join("&")}}
|
||||||
|
var f={};f.startMs=(0,window.parseInt)(a.startMs,10);f.impressionUrls=(0,g.H)(a.impressionUrls||[],c);f.skip=a.skipEndscreen;f.visualElement=new g.ZF(a.trackingParams);var k=(0,g.H)(a.elements||[],function(a,f){var k=a.endscreenElementRenderer;if(!k)return null;var l={},m=k.style,w=k.endpoint||{};l.id="element-"+f;l.type=m;l.title=d(k.title);l.metadata=d(k.metadata);l.callToAction=d(k.callToAction);l.xw=k.image;l.left=(0,window.parseFloat)(k.left);l.width=(0,window.parseFloat)(k.width);l.top=(0,window.parseFloat)(k.top);
|
||||||
|
l.aspectRatio=(0,window.parseFloat)(k.aspectRatio);l.startMs=(0,window.parseInt)(k.startMs,10);l.endMs=(0,window.parseInt)(k.endMs,10);l.clickUrls=(0,g.H)(w.loggingUrls||[],c);l.Yl=g.Qb(k,"title","accessibility","accessibilityData","label");l.impressionUrls=(0,g.H)(k.impressionUrls||[],c);l.wI=(0,g.H)(k.hovercardShowUrls||[],c);l.Sd={itct:k.trackingParams};l.visualElement=new g.ZF(k.trackingParams);if("VIDEO"==m)l.targetUrl=e(w.watchEndpoint),l.An=!1,l.wo=b,l.videoDuration=d(k.videoDuration);else if("PLAYLIST"==
|
||||||
|
m)l.targetUrl=e(w.watchEndpoint),l.An=!1,l.wo=b,l.playlistLength=d(k.playlistLength);else if("CHANNEL"==m){if(m=g.Qb(w,"browseEndpoint","browseId"))l.channelId=m,l.targetUrl="/channel/"+m;l.An=!1;l.wo="new";l.isSubscribe=!!k.isSubscribe;if(l.isSubscribe){a:{if(m=k.hovercardButton)if(m=m.subscribeButtonRenderer){var w=d(m.unsubscribedButtonText),A=d(m.subscribedButtonText);if(m.subscribed){var C=d(m.subscriberCountWithUnsubscribeText);var B=d(m.subscriberCountText)}else C=d(m.subscriberCountText),
|
||||||
|
B=d(m.subscriberCountWithSubscribeText);var M=null;if(k.signinEndpoint&&(M=g.Qb(k,"signinEndpoint","webNavigationEndpointData","url"),!M)){k=void 0;break a}if(w&&(A||M)){k={subscribed:m.subscribed,subscribeText:w,subscribeCount:C,unsubscribeText:A,unsubscribeCount:B,enabled:m.enabled,signinUrl:M,classic:k.useClassicSubscribeButton};break a}}k=void 0}l.subscribeButton=k}else l.subscribersText=d(k.subscribersText)}else"WEBSITE"==m&&(l.targetUrl=g.Qb(w,"urlEndpoint","url"),l.An=!0,l.wo="new",l.BI=k.icon.thumbnails[0].url);
|
||||||
|
return l});
|
||||||
|
f.elements=(0,g.se)(k,function(a){return!!a});
|
||||||
|
return f},t4=function(a){g.sV.call(this,a);
|
||||||
|
this.A=null;this.K=!1;this.C=null;this.o={};this.G={};this.D=this.B=null;this.M=[];a=g.Y(a).g;this.P="embedded"==a||"profilepage"==a;this.WB=!0;this.J=0;this.O=new g.to(null);this.F=new g.OF(this);g.L(this,this.F);this.F.R(this.g,"crn_creatorendscreen",this.OT);this.F.R(this.g,"crx_creatorendscreen",this.PT);this.F.R(this.g,"resize",this.FC);this.F.R(window,"focus",this.tR);this.load();var b=g.je("STYLE");(window.document.getElementsByTagName("HEAD")[0]||window.document.body).appendChild(b);g.Ke(this,
|
||||||
|
function(){g.qe(b)});
|
||||||
|
b.sheet&&(b.sheet.insertRule(".ytp-ce-playlist-icon {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASBAMAAACk4JNkAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEVMaXGzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7P///91E4wTAAAACXRSTlMArBbpVOtYrReN+x2FAAAAAWJLR0QKaND0VgAAACFJREFUCNdjYCAWzIQAFBaZ6hgVYLKcJnBWGEyWvYGASwCXtBf7m4i3CQAAAABJRU5ErkJggg==) no-repeat center;background-size:18px;width:18px;height:18px}",0),b.sheet.insertRule(".ytp-ce-size-853 .ytp-ce-playlist-icon,.ytp-ce-size-1280 .ytp-ce-playlist-icon,.ytp-ce-size-1920 .ytp-ce-playlist-icon {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEVMaXGzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7P///9RfzIKAAAAC3RSTlMAvDeyLvxYtDK9Ogx4T1QAAAABYktHRAyBs1FjAAAAK0lEQVQY02NgoBjshgO8HJoYwKiAMGAD92YHJM7uMCTO9gaEHs4FlPuZAQC8Fj8x/xHjxwAAAABJRU5ErkJggg==) no-repeat center;background-size:24px;width:24px;height:24px}",
|
||||||
|
0))},u4=function(a){return"creator-endscreen-editor"===a},v4=function(a,b){g.dV(a.g,"creatorendscreen");
|
||||||
|
a.B&&(a.B.dispose(),a.B=null,a.D.dispose(),a.D=null);for(var c in a.o){var d=a.o[c];d.dispose()}a.o={};a.G={};0<a.M.length&&(a.M.forEach(function(a){a.dispose()}),a.M.length=0);
|
||||||
|
a.J=0;if((a.A=b)&&b.elements){nra(a);c=[];d=new g.oJ(b.startMs,0x7ffffffffffff,{id:"ytp-ce-in-endscreen",namespace:"creatorendscreen"});c.push(d);g.Y(a.g).isMobile||(a.B=new g.W({H:"div",N:"ytp-ce-shadow"}),g.hV(a.g,a.B.element,5),a.D=new g.DV(a.B,200));for(var e=0;e<b.elements.length;++e){var f=b.elements[e];d=ora(a,f);a.o[f.id]=d;a.G[f.id]=f;g.hV(a.g,d.element,5);var k=new g.oJ(f.startMs,f.endMs,{id:"ytp-ce-element-"+f.id,namespace:"creatorendscreen"});c.push(k);pra(a,d,f)}g.aV(a.g,c);a.FC()}},
|
||||||
|
nra=function(a){var b=Oqa();
|
||||||
|
if(b){var c=g.QG()||"";a=[a.A.visualElement];Qqa(q4(),c,b,a)}},ora=function(a,b){var c=null;
|
||||||
|
switch(b.type){case "VIDEO":c={H:"div",ea:["ytp-ce-element","ytp-ce-video"],T:{tabindex:0,"aria-label":b.Yl||"","aria-hidden":!0},L:[{H:"div",N:"ytp-ce-element-shadow"},{H:"div",N:"ytp-ce-covering-image",T:w4(b)},{H:"div",N:"ytp-ce-covering-shadow-top"},{H:"a",N:"ytp-ce-covering-overlay",T:{href:b.targetUrl,tabindex:"-1"},L:[{H:"div",ea:["ytp-ce-video-title","yt-ui-ellipsis","yt-ui-ellipsis-2"],T:{dir:g.uo(a.O,b.title||"")},L:[b.title]},{H:"div",N:"ytp-ce-video-duration",L:[b.videoDuration]}]}]};
|
||||||
|
c=new g.W(c);break;case "PLAYLIST":c={H:"div",ea:["ytp-ce-element","ytp-ce-playlist"],T:{tabindex:0,"aria-label":b.Yl||"","aria-hidden":!0},L:[{H:"div",N:"ytp-ce-element-shadow"},{H:"div",N:"ytp-ce-covering-image",T:w4(b)},{H:"div",N:"ytp-ce-covering-shadow-top"},{H:"a",N:"ytp-ce-covering-overlay",T:{href:b.targetUrl,tabindex:"-1"},L:[{H:"div",ea:["ytp-ce-playlist-title","yt-ui-ellipsis","yt-ui-ellipsis-2"],T:{dir:g.uo(a.O,b.title||"")},L:[b.title]},{H:"div",N:"ytp-ce-playlist-count",L:[{H:"div",
|
||||||
|
N:"ytp-ce-playlist-icon"},{H:"div",N:"ytp-ce-playlist-count-text",L:[b.playlistLength]}]}]}]};c=new g.W(c);break;case "CHANNEL":var c={H:"div",ea:["ytp-ce-element","ytp-ce-channel",b.isSubscribe?"ytp-ce-channel-this":"ytp-ce-channel-that"],T:{tabindex:0,"aria-label":b.Yl||"","aria-hidden":!0},L:[{H:"div",N:"ytp-ce-element-shadow"},{H:"div",N:"ytp-ce-expanding-overlay",L:[{H:"div",N:"ytp-ce-expanding-overlay-hider"},{H:"div",N:"ytp-ce-expanding-overlay-background"},{H:"div",N:"ytp-ce-expanding-overlay-content",
|
||||||
|
L:[{H:"div",N:"ytp-ce-expanding-overlay-body",L:[{H:"div",N:"ytp-ce-expanding-overlay-body-padding",L:[{H:"a",ea:["ytp-ce-channel-title","ytp-ce-link"],T:{href:b.targetUrl,target:"_blank",tabindex:"-1",dir:g.uo(a.O,b.title||"")},L:[b.title]},b.subscribeButton?{H:"div",N:"ytp-ce-subscribe-container",L:[{H:"div",N:"ytp-ce-channel-subscribe"}]}:"",b.subscribersText?{H:"div",N:"ytp-ce-channel-subscribers-text",L:[b.subscribersText]}:"",b.metadata?{H:"div",ea:["ytp-ce-channel-metadata","yt-ui-ellipsis",
|
||||||
|
"yt-ui-ellipsis-3"],L:[b.metadata]}:""]}]}]}]},{H:"div",N:"ytp-ce-expanding-image",T:w4(b)}]},c=new g.W(c),d=g.Xd(window.document,"div","ytp-ce-channel-subscribe",c.element)[0];if(b.subscribeButton){g.R(d,"ytp-ce-subscribe-button");if(g.Y(a.g).isMobile){var e=null;var f=b.Sd.itct}else e="endscreen",f=null;e=new g.q1(b.subscribeButton.subscribeText,b.subscribeButton.subscribeCount,b.subscribeButton.unsubscribeText,b.subscribeButton.unsubscribeCount,b.subscribeButton.enabled,b.subscribeButton.classic,
|
||||||
|
b.channelId,!!b.subscribeButton.subscribed,e,f,b.subscribeButton.signinUrl,a.g);d.appendChild(e.element);a.M.push(e)}break;case "WEBSITE":c={H:"div",ea:["ytp-ce-element","ytp-ce-website"],T:{tabindex:0,"aria-label":b.Yl||"","aria-hidden":!0},L:[{H:"div",N:"ytp-ce-element-shadow"},{H:"div",N:"ytp-ce-expanding-overlay",L:[{H:"div",N:"ytp-ce-expanding-overlay-hider"},{H:"div",N:"ytp-ce-expanding-overlay-background"},{H:"div",N:"ytp-ce-expanding-overlay-content",L:[{H:"div",N:"ytp-ce-expanding-overlay-body",
|
||||||
|
L:[{H:"div",N:"ytp-ce-expanding-overlay-body-padding",L:[{H:"div",N:"ytp-ce-website-title",T:{dir:g.uo(a.O,b.title||"")},L:[b.title]},{H:"div",N:"ytp-ce-website-metadata",L:[b.metadata]},{H:"a",ea:["ytp-ce-website-goto","ytp-ce-link"],T:{href:b.targetUrl,target:"_blank",tabindex:"-1"},L:[b.callToAction]}]}]}]}]},{H:"div",N:"ytp-ce-expanding-image",T:w4(b)},{H:"div",N:"ytp-ce-expanding-icon",T:qra(b.BI)}]},c=new g.W(c)}b.g&&g.R(c.element,"ytp-ce-placeholder");return c},w4=function(a){if(a.xw)var b=
|
||||||
|
a.xw.thumbnails;
|
||||||
|
return qra(b?b[b.length-1].url:null)},qra=function(a){return a?{style:"background-image: url("+a+")"}:{}},pra=function(a,b,c){function d(){k(1)}
|
||||||
|
function e(){k(-1)}
|
||||||
|
b.V("mouseenter",(0,g.y)(a.du,a,b,c));b.V("mouseleave",(0,g.y)(a.Es,a,b,c));g.Y(a.g).isMobile||b.V("click",(0,g.y)(function(a){g.R(a.element,"ytp-ce-element-hover")},a,b));
|
||||||
|
b.V("click",(0,g.y)(a.kA,a,c));b.V("keypress",(0,g.y)(a.kA,a,c));b.V("focus",(0,g.y)(function(a,b){this.du(a,b)},a,b,c));
|
||||||
|
b.V("blur",(0,g.y)(function(a,b){this.Es(a,b)},a,b,c));
|
||||||
|
b.V("touchstart",(0,g.y)(a.du,a,b,c));var f=g.J("ytp-ce-expanding-overlay-hider",b.element);f&&b.R(f,"touchstart",function(a){a=a||window.event;a.cancelBubble=!0;a.stopPropagation&&a.stopPropagation();g.Ip(b.element,"ytp-ce-element-hover");g.Ip(b.element,"ytp-ce-force-expand")});
|
||||||
|
b.V("keydown",(0,g.y)(function(a,b){this.WB=9==b.keyCode&&!b.shiftKey},a,b));
|
||||||
|
var k=(0,g.y)(function(a,b,c){this.J+=c;0<this.J?(g.R(a.element,"ytp-ce-force-expand"),x4(this,b.id,!0)):(g.Ip(a.element,"ytp-ce-force-expand"),g.Ip(a.element,"ytp-ce-element-hover"),x4(this,b.id,!1))},a,b,c);
|
||||||
|
a=(0,g.y)(function(a,b){b&&(a.V("blur",function(){g.wh(b)&&this.WB&&b.focus()}),a.R(b,"focus",d),a.R(b,"blur",e))},a,b);
|
||||||
|
a(g.J("ytp-sb-subscribe",b.element));a(g.J("ytp-sb-unsubscribe",b.element));b.V("focus",d);b.V("blur",e)},x4=function(a,b,c){a.B&&(c?a.D.show():a.D.hide());
|
||||||
|
for(var d in a.o)d!=b&&g.S(a.o[d].element,"ytp-ce-element-shadow-show",c)},y4=function(a,b,c){function d(){k||(f++,f==e.length&&(l.stop(),c&&c()))}
|
||||||
|
if(!b||u4(g.Y(a.g).o))c&&c();else{var e=rra(a,b),f=0,k=!1,l=new g.rt(function(){k=!0;c&&c()},1E3,a);
|
||||||
|
l.start();for(a=0;a<e.length;a++)g.YE(e[a],d)}},z4=function(a,b,c){y4(a,b.clickUrls,c);
|
||||||
|
b.An&&s4(b.visualElement)},rra=function(a,b){for(var c=a.g.ia().clientPlaybackNonce,d=a.g.getCurrentTime().toFixed(2),c={CPN:c,
|
||||||
|
AD_CPN:c,MT:d},d=[],e=0;e<b.length;e++)d.push(sra(b[e],c));return d},sra=function(a,b){return a.replace(/%5B[a-zA-Z_:]+%5D|\[[a-zA-Z_:]+\]/g,function(a){var c=(0,window.unescape)(a),c=c.substring(1,c.length-1);
|
||||||
|
return b[c]?(0,window.escape)(b[c]):a})},A4=function(a){return g.ta(a)&&a.length?a[0]:a},B4=function(a){var b=/.+/;
|
||||||
|
return g.u(a)&&null!=b&&null!=a&&a.match(b)?a:""},C4=function(a,b){if(null==a)return b;
|
||||||
|
var c=(0,window.parseInt)(a,0);if((0,window.isNaN)(c))return b;c=c.toString(16);return"#"+"000000".substring(0,6-c.length)+c},D4=function(a){return g.u(a)?a:""},E4=function(a,b,c){for(var d in b)if(b[d]==a)return a;
|
||||||
|
return c},F4=function(a,b){return"true"==a||"false"==a?"true"==a:b},G4=function(a,b){return g.u(a)?(0,window.parseFloat)(a):b},H4=function(a,b,c,d,e){a=(0,window.parseFloat)(a);
|
||||||
|
if(null!=a&&!(0,window.isNaN)(a)){if(d)return g.Id(a,b,c);if(a>=b&&a<=c)return a}return e},tra=function(a){if(null==a)return 0;
|
||||||
|
if("never"==a)return-1;a=a.split(":");if(3<a.length)return 0;var b=0,c=1;(0,g.G)(a,function(a){a=(0,window.parseFloat)(a);0>a&&(c=-c);b=60*b+Math.abs(a)});
|
||||||
|
return c*b},I4=function(a,b){if(null==a)return null;
|
||||||
|
if(g.ua(a)){var c=[];(0,g.G)(a,function(a){(a=b(a))&&c.push(a)});
|
||||||
|
return c}var d=b(a);return d?[d]:[]},ura=function(a){function b(a){return null!=a&&!(0,window.isNaN)(a)}
|
||||||
|
return(a=a?new g.Kg((0,window.parseFloat)(a.top),(0,window.parseFloat)(a.right),(0,window.parseFloat)(a.bottom),(0,window.parseFloat)(a.left)):null)&&b(a.top)&&b(a.right)&&b(a.bottom)&&b(a.left)?a:null},vra=function(a){function b(a){return(0,g.se)(a.split(/ +/),function(a){return""!=a})}
|
||||||
|
return null==a?[]:b(a)},wra=function(a,b,c,d){this.value=a;
|
||||||
|
this.target=b;this.showLinkIcon=c;this.g=d},J4=function(a){if(!a)return null;
|
||||||
|
var b=D4(a.value);if(!b)return null;var c=E4(a.target,xra,"current");return null==c?null:new wra(b,c,F4(a.show_link_icon,!0),null!=a.pause_on_navigation?a.pause_on_navigation:!0)},K4=function(a){return a.value?a.value:null},yra=function(a,b,c){this.type=a;
|
||||||
|
this.trigger=b;this.url=c},Bra=function(a){if(!a)return null;
|
||||||
|
var b=E4(a.type,zra),c=E4(a.trigger,Ara),d=J4(A4(a.url));A4(a.subscribeData);return b?new yra(b,c,d):null},Cra=function(a,b){this.g=a;
|
||||||
|
this.o=b||null},Dra=function(a,b){var c=a.o?L4(a.o,new Cra(a.g)):a.g;
|
||||||
|
var d=b.clone(),e=c.left;c=c.top;e instanceof g.Nd?(d.left+=e.x,d.top+=e.y):(d.left+=e,g.oa(c)&&(d.top+=c));return d},Era=function(a,b,c){var d=(c="xx"==c||"xy"==c)?640:360;
|
||||||
|
return(d+((c?a.width:a.height)-d)*b)/d},M4=function(a,b,c){var d=(c="xy"==c||"yy"==c)?360:640;
|
||||||
|
return(d+((c?a.height:a.width)-d)*b)/d},N4=function(a,b,c,d,e,f,k,l,m,n,q){this.x=a;
|
||||||
|
this.y=b;this.El=c;this.A=d;this.t=e;this.J=f;this.C=k;this.D=l;this.B=m;this.o=n;this.g=q},Gra=function(a,b){if(!a)return null;
|
||||||
|
var c=G4(a.x,0),d=G4(a.y,0),e=G4(a.w,0),f=G4(a.h,0),k=tra(a.t),l=G4(a.scaleSlope,1);return b(c,d,e,f,k,G4(a.d,0),G4(a.px,0),G4(a.py,0),G4(a.scaleSlopeX,l),G4(a.scaleSlopeY,l),E4(a.scaleDimension,Fra,"xy"))},L4=function(a,b){var c=Dra(b,Hra(a,new g.Mg(a.x,a.y,a.El,a.A),b.g)),d=b.g,e=c.clone();
|
||||||
|
d&&!d.contains(c)&&(c.width<d.width?e.left=g.Id(c.left,d.left,d.left+d.width-c.width):(e.left=d.left,e.width=d.width),c.height<d.height?e.top=g.Id(c.top,d.top,d.top+d.height-c.height):(e.top=d.top,e.height=d.height));return e},Hra=function(a,b,c){var d=a.C,e=a.D,f=a.g?a.g:"xy",k=Era(c,a.B,f);
|
||||||
|
a=M4(c,a.o,f);var f=640*b.width*k/100,l=360*b.height*a/100;return new g.Mg(0==d?640*b.left*k/100:0<d?d:c.width+d-f,0==e?360*b.top*a/100:0<e?e:c.height+e-l,f,l)},Ira=function(a){return a?Gra(a,function(a,c,d,e,f,k,l,m,n,q,r){return new N4(a,c,d,e,f,k,l,m,n,q,r)}):null},Jra=function(a,b,c,d,e,f,k,l,m,n,q,r,w){N4.call(this,a,b,c,d,e,l,m,n,q,r,w);
|
||||||
|
this.F=f;this.G=k},Kra=function(a){if(!a)return null;
|
||||||
|
var b=G4(a.sx,0),c=G4(a.sy,0);return Gra(a,function(a,e,f,k,l,m,n,q,r,w,A){return new Jra(a,e,f,k,l,b,c,m,n,q,r,w,A)})},Lra=function(a,b,c,d,e,f,k,l,m,n,q,r,w,A){this.o=a;
|
||||||
|
this.bgColor=b;this.borderColor=c;this.borderWidth=d;this.g=e;this.D=f;this.A=k;this.textAlign=l;this.textSize=m;this.B=n;this.padding=q;this.effects=r;this.cornerRadius=w;this.C=A},Nra=function(a){if(!a)return null;
|
||||||
|
var b=C4(a.fgColor,"#1A1A1A"),c=C4(a.bgColor,"#FFF"),d=C4(a.borderColor,"#000"),e=H4(a.borderWidth,0,5,!1,0),f=H4(a.bgAlpha,0,1,!1,.8),k=C4(a.highlightFontColor,"#F2F2F2"),l=H4(a.highlightWidth,0,5,!1,3),m=D4(a.textAlign),n=H4(a.textSize,3.3,30.1,!0,3.6107),q=D4(a.fontWeight),r=ura(a.padding),w=vra(a.effects),A=H4(a.cornerRadius,0,10,!0,0);if(a=A4(a.gradient)){var C=H4(a.x1,0,100,!0,0),B=H4(a.y1,0,100,!0,0),M=H4(a.x2,0,100,!0,100),X=H4(a.y2,0,100,!0,100),xa=C4(a.color1,"#FFF"),db=C4(a.color2,"#000");
|
||||||
|
a=new Mra(C,B,M,X,xa,db,H4(a.opacity1,0,100,!0,100),H4(a.opacity2,0,100,!0,0))}else a=null;return new Lra(b,c,d,e,f,k,l,m,n,q,r,w,A,a)},Mra=function(a,b,c,d,e,f,k,l){this.C=a;
|
||||||
|
this.F=b;this.D=c;this.G=d;this.g=e;this.o=f;this.A=k;this.B=l},Ora=function(a,b,c,d){this.type=a;
|
||||||
|
this.o=b;this.g=c;this.A=d},Qra=function(a){if(!a)return null;
|
||||||
|
var b=E4(a.type,Pra,"rect"),c=I4(a.rectRegion,Ira),d=I4(a.anchoredRegion,Kra);a=I4(a.shapelessRegion,Ira);return new Ora(b,c,d,a)},Rra=function(a){return a.o&&a.o.length?a.o[0]:a.g&&a.g.length?a.g[0]:a.A&&a.A.length?a.A[0]:null},Sra=function(a,b){this.o=a;
|
||||||
|
this.g=b},Tra=function(a,b){this.state=a;
|
||||||
|
this.ref=b},Vra=function(a){if(!a)return null;
|
||||||
|
var b=E4(a.state,Ura);a=B4(a.ref);return b?new Tra(b,a):null},Wra=function(a,b,c,d){this.g=a||[];
|
||||||
|
this.A=b||[];this.B=c;this.o=d;this.value=!1},Xra=function(a){if(!a)return null;
|
||||||
|
var b=I4(a.condition,Vra),c=I4(a.notCondition,Vra),d=F4(a.show_delay,!1);a=F4(a.hide_delay,!1);return b||c?new Wra(b,c,d,a):null},Yra=function(a,b,c){(0,g.G)(a.g,g.Aa(b,!1),c);
|
||||||
|
(0,g.G)(a.A,g.Aa(b,!0),c)},Zra=function(a,b,c,d,e,f,k,l,m,n,q,r,w,A,C,B){this.id=a;
|
||||||
|
this.author=b;this.type=c;this.style=d;this.B=e;this.o=f;this.A=k||[];this.F=l||[];this.g=m;this.D=n;this.C=q;this.htmlBlob=w;this.data=A;this.Xb=C;this.itct=B},bsa=function(a){if(!a)return null;
|
||||||
|
var b=B4(a.id),c=B4(a.author),d=E4(a.type,$ra),e=E4(a.style,O4),f=D4(A4(a.TEXT)),k=D4(a.data),k=0!=k.length?g.kg(k):{};var l=A4(a.segment);if(l){B4(l.timeRelative);var m=B4(l.spaceRelative);m=(l=I4(l.movingRegion,Qra))?new Sra(m,l):null}else m=null;var l=I4(a.action,Bra),n=I4(a.trigger,Xra),q=Nra(A4(a.appearance));q||(q=Nra({}));var r=E4(a.coordinate_system,asa,"video_relative"),w=F4(a.closeable,!0),A=D4(a.html_blob),C=D4(a.log_data);a=D4(a.itct);return b&&d?new Zra(b,c,d,e,f,m,l,n,q,r,w,0,A,k,C,
|
||||||
|
a):null},P4=function(a){return(a=csa(a,function(a){return"openUrl"==a.type&&null!=a.url}))?a.url:null},R4=function(a){return Q4(a,function(a){return"click"==a.trigger})},Q4=function(a,b){return(0,g.Bk)(a.A,b,void 0)},dsa=function(a,b,c){(0,g.G)(a.A,b,c)},csa=function(a,b){return g.ab(a.A,b,void 0)},esa=function(a,b,c){(0,g.G)(a.F,b,c)},fsa=function(a,b){(0,g.H)(a.F,b,void 0)},S4=function(a){return(a=gsa(a))?Rra(a):null},gsa=function(a){a.o?(a=a.o,a=a.g.length?a.g[0]:null):a=null;
|
||||||
|
return a},hsa=function(a,b){var c=S4(a);
|
||||||
|
return c&&b?M4(b,c.o,c.g?c.g:"xy"):1},jsa=function(a,b,c){this.g={};
|
||||||
|
this.o=!1;this.C="ivTrigger:"+a;this.A=c;Yra(b,function(a,b){var c=isa(b.state,b.ref);this.A.subscribe(c,(0,g.y)(this.B,this,c,a));this.g[c]=a},this)},isa=function(a,b){var c="ivTriggerCondition:"+a;
|
||||||
|
return b?c+":"+b:c},T4=function(){this.g=!1;
|
||||||
|
this.C=this.o=null},U4=function(a,b,c){a.o?(a.o.setSize(b,c),a.o.clear()):(b=new n4(b,c,void 0,void 0,void 0),a.o=b,a.o.hn(),a.C=g.he("DIV"),b=a.o.ra(),a.C.appendChild(b));
|
||||||
|
return a.o},V4=function(a,b,c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",a);
|
||||||
|
b&&g.Jb(b,function(a,b){d.setAttribute(b,a)});
|
||||||
|
for(var e=2;e<arguments.length;e++)d.appendChild(arguments[e]);return d},W4=function(a,b){var c=":"+(g.Gu.getInstance().g++).toString(36);
|
||||||
|
b.setAttribute("result",c);a.appendChild(b);return c},ksa=function(a,b){var c=W4(a,V4("feGaussianBlur",{"in":b,
|
||||||
|
stdDeviation:"1.8"})),c=W4(a,V4("feDiffuseLighting",{"in":c,surfaceScale:"4",diffuseConstant:"1"},V4("feDistantLight",{azimuth:"270",elevation:"15","lighting-color":"white"}))),c=W4(a,V4("feComposite",{"in":c,in2:b,operator:"in"}));return W4(a,V4("feComposite",{in2:c,"in":b,operator:"arithmetic",k2:1,k3:.5,k4:0}))},lsa=function(a,b){var c=W4(a,V4("feOffset",{"in":b,
|
||||||
|
dx:"-7",dy:"-7"})),c=W4(a,V4("feGaussianBlur",{"in":c,stdDeviation:"3"})),c=W4(a,V4("feColorMatrix",{"in":c,type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"})),d=W4(a,V4("feColorMatrix",{"in":b,type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 0"})),d=W4(a,V4("feGaussianBlur",{"in":d,stdDeviation:"1"})),c=W4(a,V4("feComposite",{operator:"out","in":c,in2:d}));return W4(a,V4("feComposite",{operator:"over","in":b,in2:c}))},msa=function(a,b){return b},nsa=function(a){var b=
|
||||||
|
V4("filter",{filterUnits:"userSpaceOnUse"}),c="SourceGraphic";
|
||||||
|
(0,g.G)(a,function(a){a:{switch(a){case "bevel":a=ksa;break a;case "dropshadow":a=lsa;break a}a=msa}c=a(b,c)});
|
||||||
|
return b},osa=function(a){a=(0,g.se)(a,function(a){return a in X4});
|
||||||
|
g.zb(a,function(a,c){return X4[a]-X4[c]});
|
||||||
|
return a},psa=function(a){return g.ab(a,function(a){return"dropshadow"==a})?new g.Kg(0,7,7,0):new g.Kg(0,0,0,0)},qsa=function(a,b,c){var d=new i4;
|
||||||
|
dra(d,a.left+b+c,a.top+c);d.Jc(a.left+a.width-b-c,a.top+c);j4(d,b,b,-90);d.Jc(a.left+a.width-c,a.top+a.height-b-c);j4(d,b,b,0);d.Jc(a.left+b+c,a.top+a.height-c);j4(d,b,b,90);d.Jc(a.left+c,a.top+b+c);j4(d,b,b,180);d.close();return d},Y4=function(a,b){var c=g.Ng(a);
|
||||||
|
c.expand(psa(b));return Iqa(c)},rsa=function(a,b,c){if(c.length&&(b=g.Xd(window.document,"g",void 0,b),b.length)){var d=osa(c);
|
||||||
|
if(d){c="effects:"+(d?d.join("|"):"");var e=c in a.o?a.o[c]:null;e?a=e:(d=nsa(d),a=0<d.childNodes.length?ara(a,c,d):null)}else a=null;a&&b[0].setAttribute("filter","url(#"+a+")")}},ssa=function(a,b,c,d){var e=a.C;
|
||||||
|
e?a=new f4(e.C*b/100,e.F*c/100,e.D*b/100,e.G*c/100,e.g,e.o,e.A,e.B):(b=a.g,a=new e4(a.bgColor,d?Math.max(b,.9):b));return a},Z4=function(){T4.call(this);
|
||||||
|
this.B=0},tsa=function(a,b){var c=a.top-b.y,d=b.x-a.left-a.width,e=b.y-a.top-a.height,f=a.left-b.x,k=Math.max(c,d,e,f);
|
||||||
|
if(0>k)return"i";switch(k){case c:return"t";case d:return"r";case e:return"b";case f:return"l"}return"i"},$4=function(a){T4.apply(this,arguments)},a5=function(a){T4.apply(this,arguments)},b5=function(a){Z4.apply(this,arguments)},usa=function(a,b,c,d,e){this.g=a;
|
||||||
|
this.ca=b;this.D=c;this.ha=d;this.ga=e;this.P=!1;this.F=new g.MF(this);this.X=this.C=this.G=this.O=this.o=null;this.da=!1;this.fa=this.K=this.M=null;this.us=new g.ck(this.QT,100,this);this.J=new g.rt(this.Cx,500,this);this.ba=this.A=this.B=null},vsa=function(a,b){var c=(0,g.y)(function(a,c,f){c=f?c5(this,c,(0,g.y)(f,this)):c5(this,c);
|
||||||
|
this.F.V(b,a,c)},a);
|
||||||
|
c("mouseover","k",a.IC);c("mouseout","j",a.th);c("click","h");c("touchend","h")},wsa=function(a){if(a.g.C){if(Q4(a.g,function(a){return"close"==a.type}))var b=a.o;
|
||||||
|
else a.B=g.he("DIV","annotation-close-button"),g.N(a.B,!1),g.qF(a.B,"annotation_id",a.g.id),a.o.appendChild(a.B),b=a.B;var c=function(a){a.stopPropagation()};
|
||||||
|
a.F.V(b,"click",c5(a,"i",c));a.F.V(b,"touchend",c5(a,"i",c))}},c5=function(a,b,c){return(0,g.y)(function(a){if(this.ga)c&&c(a);
|
||||||
|
else if(a.event.target instanceof window.Element){var d=a.event.target;g.N(d,!1);try{var f=window.document.elementFromPoint(a.event.clientX,a.event.clientY);if(g.Ge(f,"annotation")){var k=window.document.createEvent("MouseEvent");k.initMouseEvent(a.event.type,a.event.bubbles,a.event.cancelable,a.event.view,a.event.detail,a.event.screenX,a.event.screenY,a.event.clientX,a.event.clientY,a.event.ctrlKey,a.event.altKey,a.event.shiftKey,a.event.metaKey,a.event.button,a.event.relatedTarget);f.dispatchEvent(k)}}finally{g.N(d,
|
||||||
|
!0)}}d=g.uh(a.target);a=new g.Nd(a.clientX,a.clientY);"j"==b&&d.contains(a)||this.ha.Y(b,this.g)},a)},e5=function(a){if(a.o||a.A){var b=S4(a.g);
|
||||||
|
if(b){var c=d5(a);if(a.o){var b=L4(b,c),d=g.WY(g.OU(a.D));g.sh(a.o,b.width,b.height);g.hh(a.o,b.left,b.top);a.O=new g.Mg(d.left+b.left,d.top+b.top,b.width,b.height);var e=(e=S4(a.g))&&d?Era(d,e.B,e.g?e.g:"xy"):1;var f=hsa(a.g,d),d=a.g.g;d.padding?d=d.padding:(d="speech"==a.g.style?1.6:.8,d=new g.Kg(d,d,d,d));d=new g.Kg(360*d.top*f/100,640*d.right*e/100,360*d.bottom*f/100,640*d.left*e/100);a.C&&(d.right+=1.5*c.g.height/100);a.o.style.padding=d.top+"px "+d.right+"px "+d.bottom+"px "+d.left+"px";"label"==
|
||||||
|
a.g.style&&a.G&&(a.G.style.padding=a.o.style.padding);var d=c.g,k=!1,l=0,m=0;var n=g.WY(g.OU(a.D));var q=xqa(a.D.app.A.D);g.Og(n,q)?n=null:(q.top+=20,q.height-=40,"player_relative"!=a.g.D&&(q.left-=n.left,q.top-=n.top),n=q);n&&(l=n.top-(b.top+b.height),m=b.top-(n.top+n.height),k=0<l||0<m);if(k&&n){d=n;e=l;var f=m;if(a.C){m=xsa(a,23,b,e,f);if(a.B){var r=43-m.width;0<r&&(b.left+m.left-r>d.left&&(m.left-=r),m.width+=r)}r=m;g.sh(a.C,m.width,m.height);g.hh(a.C,m.left,m.top)}a.B&&(r?b=new g.Nd(r.left+r.width-
|
||||||
|
23-18,a.da?r.top+2:r.top+r.height-18-2):(r=xsa(a,18,b,e,f),b=new g.Nd(r.left,r.top),g.sh(a.B,r.width,r.height)),g.hh(a.B,b));a.X=new g.Mg(a.O.left+r.left,a.O.top+r.top,r.width,r.height);a.M=a.F.V(g.OU(a.D),"mousemove",a.tP)}else a.C&&(r=e/f*d.height*4.2/100,r=new g.Qd(r,r),"highlight"==a.g.type||"label"==a.g.style?(e=1.5*d.height/100,r=new g.Mg(b.width-r.width-e,b.height-r.height-e,r.width,r.height)):r=new g.Mg(b.width-r.width-3*d.height/100,(b.height-r.height)/2,r.width,r.height),g.sh(a.C,r.width,
|
||||||
|
r.height),g.hh(a.C,r.left,r.top)),a.B&&(r=9<=d.left+d.width-(b.left+b.width),e=9<=b.top-d.top,g.hh(a.B,r&&e?new g.Nd(b.width-9,-9):r?new g.Nd(b.width-9,45<b.height?9:b.height-9):e?new g.Nd(45<b.width?b.width-9-18:-9,-9):b.width/d.width>b.height/d.height?new g.Nd(45<b.width?b.width-9-18:-9,b.height-9):new g.Nd(-9,45<b.height?9:b.height-9)))}a.A&&a.A.A(a.g,c);if(a.o){c=a.o;b=a.g.g;c.style.color="highlightText"==a.g.style?b.D:b.o;r=g.WY(g.OU(a.D));c.style.fontSize=360*b.textSize*hsa(a.g,r)/100+"px";
|
||||||
|
r=a.g.style;c.style.textAlign=b.textAlign?b.textAlign:"title"==r||"highlightText"==r?"center":"left";b.B&&(c.style.fontWeight=b.B);a=a.o;c=a.style.overflow;r=(b=g.J("annotation-link-icon",a))?g.wh(b):!1;e=(d=g.J("annotation-close-button",a))?g.wh(d):!1;r&&g.N(b,!1);e&&g.N(d,!1);m=f="";if(l=g.J("inner-text",a))f=l.style.overflow,m=l.style.position,l.style.overflow="visible",l.style.position="static";a.style.overflow="scroll";if(a.scrollHeight>a.offsetHeight||a.scrollWidth>a.offsetWidth){n=k=Yqa(a);
|
||||||
|
for(var q=5,w=Math.floor(k/2);w;)a.scrollHeight<=a.offsetHeight&&a.scrollWidth<=a.offsetWidth?(q=n,n=Math.min(n+w,k)):n=Math.max(n-w,q),w=Math.floor(w/2),a.style.fontSize=n+"px";n!=q&&(a.scrollHeight>a.offsetHeight||a.scrollWidth>a.offsetWidth)&&(a.style.fontSize=q+"px")}a.style.overflow=c;l&&(l.style.overflow=f,l.style.position=m);e&&g.N(d,!0);r&&g.N(b,!0)}}}},xsa=function(a,b,c,d,e){var f=0<e;
|
||||||
|
b=new g.Mg(0,c.height-b,Math.max(c.width,b),b);0<d&&(b.top=c.height,20<d&&(b.height+=d-20),g.R(a.o,"annotation-extend-down"));f&&(b.top=-b.height,20<e&&(c=e-20,b.top-=c,b.height+=c),g.R(a.o,"annotation-extend-up"),a.da=!0);return b},f5=function(a){return"label"!=a.g.style||a.A.g},d5=function(a){var b=g.WY(g.OU(a.D));
|
||||||
|
if("player_relative"==a.g.D){var c=g.OU(a.D).Za();b=new g.Mg(-b.left,-b.top,c.width,c.height)}else b=new g.Mg(0,0,b.width,b.height);return new Cra(b,a.ba?S4(a.ba):null)},ysa=function(a,b){return b?new g.Mg(a.x+b.left,a.y+b.top,b.width,b.height):null},Asa=function(a,b,c){this.o=a;
|
||||||
|
this.annotation=b;this.view=c;this.g=null;this.A=this.isVisible=!1;zsa(b,a)},zsa=function(a,b){fsa(a,function(c){return new jsa(a.id,c,b)})},Bsa=function(a){a.o.unsubscribe("resize",a.HC,a);
|
||||||
|
a.o.unsubscribe("onVideoAreaChange",a.MA,a)},g5=function(a){a.g&&(a.g.stop(),a.g=null)},Csa=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.channelId=b.channel_id;this.customMessage=b.custom_message;this.profileImageUrl=b.image_url;this.title=b.title;this.g=b.meta_info;this.url=J4({pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url})},h5=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.imageUrl=b.image_url;this.displayDomain=b.display_domain;this.showLinkIcon=b.show_link_icon;this.g=b.button_icon_url;this.title=b.title;this.customMessage=b.custom_message;this.url=J4({pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url});this.A=null;b.signin_url&&(this.A=J4({target:"current",value:b.signin_url}));this.J=b.signin_title||null;this.G=b.signin_message||null},Dsa=function(a,b,c){h5.call(this,a,b,c);
|
||||||
|
this.K=b.ypc_flow_type;this.B=b.innertube_request_params},Esa=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.B=b.image_url;this.playlistVideoCount=b.playlist_video_count;this.customMessage=b.custom_message;this.title=b.title;this.g=b.meta_info;this.url=J4({pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url})},Fsa=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.B=this.id.replace(/[^a-z0-9-]/gi,"-");this.title=b.title;this.choices=b.choices;this.g=b.hasOwnProperty("old_vote")?b.old_vote:null;this.A=null;b.signin_url&&(this.A=J4({target:"current",value:b.signin_url}));this.G=b.hasOwnProperty("xsrf_token")?b.xsrf_token:null},Hsa=function(a,b,c){h5.call(this,a,b,c);
|
||||||
|
this.offers=[];a=b.offers||[];for(b=0;b<a.length;b++)this.offers.push(new Gsa(a[b]))},Gsa=function(a){this.merchant=g.E(a.merchant);
|
||||||
|
this.price=g.E(a.price)},Isa=function(a,b,c){h5.call(this,a,b,c);
|
||||||
|
this.K=b.ypc_item_type;this.B=b.ypc_item_id;this.M=b.ypc_flow_type},Jsa=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.G=b.image_url;this.videoDuration=b.video_duration||null;this.customMessage=b.custom_message;this.title=b.title;this.g=b.meta_info;this.B=!!b.is_live_now;this.url=J4({pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url})},i5=function(a,b,c){S3.call(this,a,b,c);
|
||||||
|
this.K=b.image_url;this.B=b.badge_symbol||"";this.priceText=b.price_text||"";this.title=b.title;this.g=b.meta_info;this.G=!!b.is_paygated;this.J=!!b.user_has_entitlement;this.url=J4({target:b.target||"new",value:b.url})},Ksa=function(a,b,c,d,e,f,k){this.g=a;
|
||||||
|
this.B=b;this.C=c;this.videoData=d;this.logger=e;this.o=f;this.A=k},Lsa=function(a){this.U=a;
|
||||||
|
this.g={}},m5=function(a,b,c,d){if(b){var e=j5(a,b);
|
||||||
|
a.g[b]=e["p-time"];e["iv-event"]=e.link||e["l-class"]||e["link-id"]?2:7;b=k5(a,"cta_annotation_shown",e,c);l5(a,e,Msa(b,d))}},n5=function(a,b,c,d,e,f){if(b){var k=j5(a,b);
|
||||||
|
k["iv-event"]=3;k["i-time"]=a.g[b]||"";g.$b(k,d||{});b=k5(a,"cta_annotation_clicked",k,e);l5(a,k,b,c,f)}},o5=function(a,b){if(b){var c=j5(a,b);
|
||||||
|
c["iv-event"]=4;c["i-time"]=a.g[b]||"";var d=k5(a,"cta_annotation_closed",c);l5(a,c,d)}},Msa=function(a,b){return b?(0,g.H)(a,g.Aa(function(a,b){return g.lm(b,a)},b||{})):a},k5=function(a,b,c,d){d=g.qb(d||[]);
|
||||||
|
if(30==c["a-type"]){a:{c=c["a-id"];a=a.U.ia();if(a.Bv){if((b=a.Bv[b])&&g.r3.test(b)){a=g.Ha("[ANNOTATION_ID]");0<=b.indexOf("[ANNOTATION_ID]")?b=b.replace("[ANNOTATION_ID]",c):0<=b.indexOf(a)&&(b=b.replace(a,c));break a}}else if(a.zj){b=g.IE(a.zj,{label:b,value:"a_id="+c});break a}b=""}b&&d.push(b)}return d},l5=function(a,b,c,d,e){var f=1,k=-1;
|
||||||
|
if(d){var l=!1;var m=function(){f--;f||l||((0,window.clearTimeout)(k),l=!0,d())};
|
||||||
|
k=(0,window.setTimeout)(function(){l=!0;d()},1E3)}(0,g.G)(c||[],function(a){f++;
|
||||||
|
g.YE(a,m)});
|
||||||
|
e&&(f++,0!=e&&a.U.ni(e,m));Nsa(a,b,m)},j5=function(a,b){var c={};
|
||||||
|
if(b){var d=new g.Rl(b);(0,g.G)(d.Cb(),function(a){c[a]=(0,window.escape)(d.get(a,""))})}c["p-time"]=a.U.getCurrentTime().toFixed(2);
|
||||||
|
c.ps=g.Y(a.U).o;return c},p5=function(a,b,c,d,e){e=j5(a,e);
|
||||||
|
e["iv-event"]=c;b&&(e.ei=b);e["a-id"]||(e["a-id"]="card:drawer");e["a-type"]=51;l5(a,e,d)},q5=function(a,b,c,d){c&&(c=j5(a,c),c["iv-event"]=b,l5(a,c,d))},Nsa=function(a,b,c){g.VU(a.U,"iv",b,c)},r5=function(a,b,c){this.g=a;
|
||||||
|
this.A=b;this.C=c;this.B=new g.to(null)},Psa=function(a,b){var c=[];
|
||||||
|
(0,g.G)(b.choices,function(a){c.push({H:"li",N:b.B+"-"+a.index.toString(),L:[{H:"label",L:[{H:"input",N:"iv-card-poll-choice-input",T:{type:"checkbox",role:"radio",name:b.B+a.index.toString(),value:a.index.toString(),"data-poll-choice-index":a.index.toString()}},{H:"span",N:"iv-card-poll-choice-text",L:[{H:"span",N:"iv-card-poll-choice-percent"},s5(this,"span",void 0,a.desc)]}]},{H:"div",N:"iv-card-poll-result",L:[{H:"div",N:"iv-card-poll-result-bar"}]}]})},a);
|
||||||
|
var d={H:"ul",T:{role:"radiogroup"},L:c},e={};b.A&&(e["aria-label"]=g.T("YTP_DRAWER_POLL_TITLE_ARIA_LABEL",{POLL_TITLE:b.title}));var f=["iv-card","iv-card-poll"],d=[{H:"div",N:"iv-card-content",L:[s5(a,"h2",e,b.title),{H:"form",L:[{H:"fieldset",L:[d]}]}]}];b.A&&(f.push("iv-card-unavailable"),d.push({H:"div",ea:["iv-card-sign-in"],L:[{H:"h2",L:[g.T("YTP_DRAWER_POLL_SIGNIN_TITLE")]},{H:"a",ea:["iv-card-sign-in-button","iv-button"],T:{href:K4(b.A)},L:[{H:"span",ea:["iv-button-content"],L:[g.T("YTP_SIGN_IN")]}]}]}));
|
||||||
|
f=new g.W({H:"div",ea:f,L:d});d=f.element;Osa(b,d);yqa(a.g.g,d,g.Aa(a.F,b),a);(0,g.G)(g.Yd("iv-card-poll-choice-input",d),function(a){this.g.g.V(a,"focus",g.Aa(this.o,!0));this.g.g.V(a,"blur",g.Aa(this.o,!1))},a);
|
||||||
|
b.A&&a.A(g.J("iv-card-sign-in-button",d),b.A,b.id,b.Sd,b.Xb,b.o.click,5);return f},v5=function(a,b,c,d){var e=b.displayDomain?{H:"div",
|
||||||
|
N:"iv-card-image-text",L:[b.displayDomain]}:"",f=Qsa(a,b),k=["iv-card"];b.A&&k.push("iv-card-unavailable");e=[{H:"a",N:"iv-click-target",T:{href:K4(b.url)},L:[t5(b.imageUrl,e),{H:"div",N:"iv-card-content",L:[s5(a,"h2",void 0,b.title),f]}]}];b.A&&e.push({H:"div",ea:["iv-card-sign-in"],L:[s5(a,"h2",void 0,b.J||""),{H:"p",L:[b.G]},{H:"a",ea:["iv-card-sign-in-button","iv-button"],T:{href:K4(b.A)},L:[s5(a,"span","iv-button-content",g.T("YTP_SIGN_IN"))]}]});k=new g.W({H:"div",ea:k,L:e});u5(a,k,b,c,d);return k},
|
||||||
|
Rsa=function(a,b,c){var d=["yt-badge",
|
||||||
|
"standalone-ypc-badge-renderer-icon",b.J?"standalone-ypc-badge-renderer-icon-purchased":"standalone-ypc-badge-renderer-icon-available"],e={},d=b.G&&b.B?{H:"span",ea:d,T:e,L:[b.B]}:"";c={H:"div",ea:["iv-card",c],L:[{H:"a",N:"iv-click-target",T:{href:K4(b.url)},L:[t5(b.K,d?{H:"div",N:"iv-card-image-text",L:[d,b.priceText]}:""),{H:"div",N:"iv-card-content",L:[{H:"h2",N:"iv-card-primary-link",L:[b.title]},w5(a,b)]}]}]};c=new g.W(c);u5(a,c,b);return c},x5=function(a,b){return b.customMessage?s5(a,"div",
|
||||||
|
"iv-card-message",b.customMessage):""},t5=function(a,b){var c="background-image: url("+a+");",d=[];
|
||||||
|
b&&d.push(b);return{H:"div",N:"iv-card-image",T:{style:c},L:d}},w5=function(a,b){if(!b.g||0==b.g.length)return"";
|
||||||
|
var c=[];(0,g.G)(b.g,function(a){c.push(s5(this,"li","",a))},a);
|
||||||
|
return{H:"ul",N:"iv-card-meta-info",L:c}},s5=function(a,b,c,d){c?g.u(c)?c={"class":c}:g.ta(c)&&(c={"class":c.join(" ")}):c={};
|
||||||
|
c.dir=g.uo(a.B,d);return{H:b,T:c,L:[d]}},Qsa=function(a,b){if(!b.customMessage)return"";
|
||||||
|
var c=["iv-card-action","iv-card-primary-link"],d={};b.g&&(c.push("iv-card-action-icon"),d.style="background-image: url("+b.g+");");d.dir=g.uo(a.B,b.customMessage);var e=[{H:"span",L:[b.customMessage]}];b.showLinkIcon&&(e.push("\u00a0"),e.push({H:"span",N:"iv-card-link-icon"}));return{H:"div",ea:c,T:d,L:e}},Osa=function(a,b){var c=0;
|
||||||
|
(0,g.G)(a.choices,function(a){c+=a.count});
|
||||||
|
for(var c=c||1,d=0;d<a.choices.length;d++){var e=a.choices[d],f=g.J(a.B+"-"+e.index.toString(),b),e=e.count/c;null==a.g&&(e=0);g.S(f.getElementsByTagName("label")[0],"iv-card-poll-choice-checked",a.g==d);f.getElementsByTagName("input")[0].checked=a.g==d;g.ze(g.J("iv-card-poll-choice-percent",f),g.T("YTP_DRAWER_POLL_PERCENT",{PERCENT:Math.floor(100*e).toFixed(0)}));g.ah(g.J("iv-card-poll-result-bar",f),"transform","scaleX("+e.toFixed(2)+")")}g.S(b,"iv-card-poll-voted",null!=a.g);g.S(b,"iv-card-poll-expanded",
|
||||||
|
null!=a.g&&1<a.choices.length)},Ssa=function(a,b,c,d){d?(c&&a.g.videoData.Da||a.g.o.sd(),a.g.o.isFullscreen()&&g.QU(a.g.o),n5(a.g.logger,b.Xb,d,void 0,b.o.click,5)):b.url&&a.C(b.url,b.id,b.Sd,b.Xb,b.o.click||[],5)},u5=function(a,b,c,d,e){c.A&&Tsa(a,g.Yd("iv-card-sign-in-button",b.element),c,c.A,e);
|
||||||
|
c.url&&Tsa(a,g.Yd("iv-click-target",b.element),c,c.url,d)},Tsa=function(a,b,c,d,e){(0,g.G)(b,function(a){if(e){var b=(0,g.y)(function(a){a.stopPropagation();
|
||||||
|
a.preventDefault();e();return!1},this);
|
||||||
|
this.g.g.V(a,"click",b)}else d&&this.A(a,d,c.id,c.Sd,c.Xb,c.o.click,5)},a)},Usa=function(a){var b=0;
|
||||||
|
-1!=a.indexOf("h")&&(a=a.split("h"),b=3600*a[0],a=a[1]);-1!=a.indexOf("m")&&(a=a.split("m"),b=60*a[0]+b,a=a[1]);-1!=a.indexOf("s")?(a=a.split("s"),b=1*a[0]+b):b=1*a+b;return b},y5=function(a){var b;
|
||||||
|
(b=a)&&!(b=1<a.length?"/"==a.charAt(0)&&"/"!=a.charAt(1):"/"==a)&&(b=Vsa(a),b="com"==b[0]&&"youtube"==b[1]||"be"==b[0]&&"youtu"==b[1]);return b?-1==a.indexOf("/redirect?"):!1},Vsa=function(a){a=a.replace(/^(https?:)?\/\//,"");
|
||||||
|
a=a.split("/",1);return!a||1>a.length||!a[0]?[]:a[0].toLowerCase().split(".").reverse()},Wsa=function(a){a=K4(a);
|
||||||
|
if(!a)return null;a=a.replace(/https?:\/\//g,"");var b;(b=!y5(a))||(b=g.tg(g.sg(a)[5]||null)||"",b=b.split("/"),b="/"+(1<b.length?b[1]:""),b="/watch"!=b);if(b)return null;b=g.GE(a);if(!b||!b.v)return null;if(b.t)return Usa(b.t);a=a.split("#",2);return!a||2>a.length?null:(a=g.AE(a[1]))&&a.t?Usa(a.t):-1},Xsa=function(a){a=K4(a);
|
||||||
|
a=a.replace(/https?:\/\//g,"");return y5(a)?(a=g.GE(a))&&a.v?a.v:null:null},Ysa=function(a,b,c){c=c.replace(/\/(u|b)\/[0-9]+/g,"");
|
||||||
|
var d=/^[0-9]+$/;a&&d.test(a)&&(c="/b/"+a+c);b&&d.test(b)&&(c="/u/"+b+c);return c},z5=function(a,b){return b?b:y5(a)?"current":"new"},A5=function(a,b){this.bb=a;
|
||||||
|
this.context=b;this.Qt=!1;this.X=0},B5=function(a,b,c,d,e,f){b=new g.oJ(b,c,{id:d});
|
||||||
|
b.namespace="annotations_module";e&&(b.g||(b.g=new g.iD)).subscribe("onEnter",e,a);f&&(b.g||(b.g=new g.iD)).subscribe("onExit",f,a);g.aV(a.context.o,[b])},Zsa=function(a){return(0,g.F)()-a.X},$sa=function(a,b,c,d,e,f){var k=K4(b);
|
||||||
|
if(k){var l=z5(k,b.target),m=(0,g.y)(function(){b.g&&this.context.o.sd();g.rV(k||"","current"==l?"_top":void 0,c)},a);
|
||||||
|
"new"==l&&(m(),m=null);var n={};n.interval=Zsa(a);n5(a.context.logger,d,m,n,e,f);y5(k)||(a=c.itct)&&s4(new g.ZF(a))}},C5=function(a,b,c){A5.call(this,b,c);
|
||||||
|
this.U=a;this.M=null;this.Bn=this.Wa=this.B=this.pa=!1;this.P=null;this.Np=new g.rt(g.x,c.C.useTabletControls?4E3:3E3);this.ka=new g.rt(g.x);this.C=new r5(c,(0,g.y)(this.Bi,this),(0,g.y)(this.En,this));a={H:"div",N:"iv-drawer",T:{id:"iv-drawer"},L:[{H:"div",N:"iv-drawer-header",T:{"aria-role":"heading"},L:[{H:"span",N:"iv-drawer-header-text"},{H:"button",ea:["iv-drawer-close-button","ytp-button"],T:{"aria-label":g.T("YTP_DRAWER_CLOSE_BUTTON_ARIA_LABEL"),tabindex:"0"}}]},{H:"div",N:"iv-drawer-content"}]};
|
||||||
|
this.J=new g.W(a);this.D=this.J.element;this.ha=new g.DV(this.J,330);this.sa=g.J("iv-drawer-header-text",this.D);this.A=g.J("iv-drawer-content",this.D);a={H:"div",ea:["iv-drawer-teaser","iv-exp-cards-teaser-prominent"],L:[{H:"div",N:"iv-drawer-teaser-box"},{H:"div",N:"iv-drawer-teaser-text"},{H:"button",N:"iv-drawer-open-button",T:{"aria-label":g.T("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-haspopup":"true"},L:[{H:"span"}]}]};new g.W(a);this.o=[];this.ga=this.K=this.F=this.O=this.g=null;this.fa=[];B5(this,
|
||||||
|
0,1E3*c.videoData.lengthSeconds,"",this.jG,this.OG);this.G=this.da=this.ba=null},fta=function(a,b){var c=b&&b.data&&b.data.card_type;
|
||||||
|
if(c&&ata[c]){c=new ata[c](b.id,b.data,b.Xb);a.pa||(g.Hp(a.ra(),["html5-stop-propagation","iv-drawer-manager"]),g.hV(a.U,a.D,6),bta(a),a.K=g.J("ytp-cards-button"),a.ga=g.J("iv-drawer-close-button",a.D),a.pa=!0);cta(a,c.id);var d=dta(a,c);if(d){var e={sc:c,Sp:d.element,oy:!1},f=eta(a,e);g.tb(a.o,f,0,e);d.Ia(a.A,f);a.pm();c.autoOpen?B5(a,c.startMs,0x8000000000000,c.id,g.Aa(a.sS,e)):(d=1E3*a.context.o.getCurrentTime(),5E3>d&&d>c.startMs&&a.EB(e),B5(a,c.startMs,c.startMs+1,c.id,g.Aa(a.EB,e)),D5(a))}}},
|
||||||
|
gta=function(a,b){b.data.autoOpenMs&&B5(a,b.data.autoOpenMs,0x8000000000000,"",a.RT);
|
||||||
|
b.data.autoCloseMs&&B5(a,b.data.autoCloseMs,0x8000000000000,"",a.Am);var c=b.data.headerText;g.ze(a.sa,c);a.K&&a.K.setAttribute("title",c);b.data.eventId&&(a.M=b.data.eventId);a.ba=new g.ZF(b.data.trackingParams);a.G=new g.ZF(b.data.closeTrackingParams);a.da=new g.ZF(b.data.iconTrackingParams)},cta=function(a,b){var c=hta(a,b);
|
||||||
|
c&&(c==a.g&&(a.g=null),a.U.Ly(c.sc.id),g.qe(c.Sp),g.nb(a.o,c),a.pm(),D5(a))},E5=function(a,b,c,d){if(!a.B){a.ha.show();
|
||||||
|
a.O=new g.rt(function(){g.R(this.context.o.getRootNode(),"ytp-iv-drawer-open")},0,a);
|
||||||
|
a.O.start();a.P=g.CF(a.A,"mousewheel",(0,g.y)(a.ST,a));a.B=!0;a.X=(0,g.F)();p5(a.context.logger,a.M,7,void 0,d&&d.sc?d.sc.Xb:void 0);a.ba&&a.G&&r4([a.ba,a.G]);var e={TRIGGER_TYPE:b};(0,g.G)(a.o,function(a){a.oy||(a.oy=!0,m5(this.context.logger,a.sc.Xb,a.sc.o.rJ,e));r4([a.sc.C])},a);
|
||||||
|
J3(a.U);c&&(a.F=new g.rt(function(){this.ca=this.K;this.ga.focus()},330,a),a.F.start())}},bta=function(a){a.context.g.V(g.J("iv-drawer-close-button",a.D),"click",a.GG,a);
|
||||||
|
a.context.g.V(a.A,"touchend",function(){this.Np.start()},a);
|
||||||
|
a.context.g.V(a.A,"scroll",a.TG,a);a.context.A.subscribe("onHideControls",function(){this.Bn=!0},a);
|
||||||
|
a.context.A.subscribe("onShowControls",function(){this.Bn=!1},a);
|
||||||
|
a.context.A.subscribe("onVideoAreaChange",function(){this.Bn=g.Gp(this.U.getRootNode(),"ytp-autohide")},a);
|
||||||
|
a.fa.push(g.dG("iv-teaser-shown",a.LJ,a));a.fa.push(g.dG("iv-teaser-clicked",a.KJ,a))},dta=function(a,b){switch(b.type){case "simple":return v5(a.C,b);
|
||||||
|
case "collaborator":var c=a.C,d={H:"div",ea:["iv-card","iv-card-channel"],L:[{H:"a",ea:["iv-click-target","g-hovercard"],T:{href:K4(b.url),"data-ytid":b.channelId},L:[t5(b.profileImageUrl),{H:"div",N:"iv-card-content",L:[x5(c,b),{H:"h2",N:"iv-card-primary-link",L:[b.title]},w5(c,b)]}]}]},d=new g.W(d);u5(c,d,b);return d;case "donation":return c=a.C,d=(0,g.y)(c.D,c,b),v5(c,b,d,d);case "episode":return Rsa(a.C,b,"iv-card-episode");case "movie":return Rsa(a.C,b,"iv-card-movie");case "playlist":return c=
|
||||||
|
a.C,d={H:"div",ea:["iv-card","iv-card-playlist"],L:[{H:"a",N:"iv-click-target",T:{href:K4(b.url)},L:[t5(b.B,{H:"div",N:"iv-card-image-overlay",L:[{H:"span",N:"iv-card-playlist-video-count",L:[b.playlistVideoCount.toString()]}]}),{H:"div",N:"iv-card-content",L:[x5(c,b),s5(c,"h2","iv-card-primary-link",b.title),w5(c,b)]}]}]},d=new g.W(d),u5(c,d,b),d;case "poll":return Psa(a.C,b);case "productListing":var c=a.C,e=!g.ib(b.offers),d=["iv-card"],f="",k=Qsa(c,b);e&&(d.push("iv-card-product-listing"),f="iv-card-primary-link",
|
||||||
|
k=b.offers[0],e=[],k.price&&e.push({H:"div",N:"iv-card-offer-price",L:[k.price]}),k.merchant&&e.push({H:"div",N:"iv-card-offer-merchant",L:[k.merchant]}),k={H:"div",L:e});e=b.sponsored?{H:"div",N:"iv-card-sponsored",L:[g.T("YTP_SPONSORED"),{H:"div",N:"iv-ad-info-container",L:[{H:"div",N:"iv-ad-info",L:["{{adInfo}}"]},{H:"div",N:"iv-ad-info-icon-container",L:[{H:"div",N:"iv-ad-info-icon"},{H:"div",N:"iv-ad-info-callout"}]}]}]}:"";d={H:"div",ea:d,T:{tabindex:"0"},L:[{H:"a",ea:["iv-card-image","iv-click-target"],
|
||||||
|
T:{style:"background-image: url("+b.imageUrl+");",href:K4(b.url),"aria-hidden":"true",tabindex:"-1"}},{H:"div",N:"iv-card-content",L:[e,{H:"a",N:"iv-click-target",T:{href:K4(b.url)},L:[s5(c,"h2",f,b.title),k]}]}]};d=new g.W(d);f=g.je("span");g.ze(f,g.T("YTP_SPONSORED_PRODUCT_INFO"));d.dc(f,"adInfo");u5(c,d,b);return d;case "tip":return c=a.C,d=(0,g.y)(c.G,c,b),v5(c,b,d,d);case "video":return c=a.C,d=b.videoDuration?{H:"span",N:"iv-card-video-duration",L:[b.videoDuration]}:"",f=b.B?{H:"span",ea:["yt-badge",
|
||||||
|
"yt-badge-live"],L:[g.T("YTP_LIVE_NOW")]}:"",d={H:"div",ea:["iv-card","iv-card-video"],L:[{H:"a",N:"iv-click-target",T:{href:K4(b.url)},L:[t5(b.G,d),{H:"div",N:"iv-card-content",L:[x5(c,b),s5(c,"h2","iv-card-primary-link",b.title),w5(c,b),f]}]}]},d=new g.W(d),u5(c,d,b),d}return null},eta=function(a,b){if(0==a.o.length)return 0;
|
||||||
|
var c=g.bb(a.o,function(a){return b.sc.startMs>a.sc.startMs||b.sc.startMs==a.sc.startMs&&b.sc.timestamp>=a.sc.timestamp?!0:!1});
|
||||||
|
return-1==c?0:c+1},ita=function(a){return a.g?"productListing"==a.g.sc.type:(0,g.zr)(a.o,function(a){return"productListing"==a.sc.type})},D5=function(a){g.S(a.U.getRootNode(),"ytp-cards-shopping-active",ita(a))},jta=function(a,b){if(a.J.g){var c=new P3([0,
|
||||||
|
a.A.scrollTop],[0,b.Sp.offsetTop],600,Tqa);g.em(a.context.B,c,"animate",function(a){this.A.scrollTop=a.y},void 0,a);
|
||||||
|
g.em(a.context.B,c,"finish",function(a){this.A.scrollTop=a.y},void 0,a);
|
||||||
|
c.play()}else a.J.Lb(!0),a.A.scrollTop=b.Sp.offsetTop,a.J.Lb(!1)},F5=function(a){return a.g&&a.g.sc?a.g.sc:a.o[0]&&a.o[0].sc?a.o[0].sc:null},hta=function(a,b){return g.ab(a.o,function(a){return a.sc.id==b},a)},G5=function(a,b,c){A5.call(this,a,b);
|
||||||
|
this.annotation=c;this.isActive=!1},H5=function(a,b,c){G5.call(this,a,b,c);
|
||||||
|
this.J=b;this.o=null;this.F=!1;this.A=null;this.B=!1;this.G=0;this.g=this.D=this.C=null},I5=function(a,b,c){G5.call(this,a,b,c);
|
||||||
|
this.G=this.C=this.J=!1;this.F=5E3;this.B=null;this.jk=g.he("DIV","iv-promo-contents");this.g=this.o=this.A=this.wd=null;this.D=new g.rt(function(){this.wd.setAttribute("aria-hidden",!0);g.N(this.A,!1);g.N(this.o,!0);this.g&&g.N(this.g,!0)},700,this)},kta=function(a){var b=a.annotation.data;
|
||||||
|
if("cta"==a.annotation.style)var c=6;else if("video"==a.annotation.style||"playlist"==a.annotation.style)c=7;a.F=b.collapse_delay_ms||a.F;var d=["iv-promo","iv-promo-inactive"];a.ra().setAttribute("aria-hidden",!0);a.ra().setAttribute("aria-label",g.T("YTP_INVIDEO_PROMOTION_ARIA_LABEL"));a.ra().tabIndex=0;var e=P4(a.annotation);if(b.image_url){var f=g.he("DIV",["iv-promo-img","iv-click-target"]);var k=g.he("IMG",{src:b.image_url,"aria-hidden":"true"});f.appendChild(k);b.video_duration&&!b.is_live?
|
||||||
|
(k=g.he("SPAN","iv-promo-video-duration",b.video_duration),f.appendChild(k)):b.playlist_length&&(k=g.he("SPAN","iv-promo-playlist-length",b.playlist_length.toString()),f.appendChild(k));e&&a.Bi(f,e,a.annotation.id,b.session_data,a.annotation.Xb,void 0,c)}e?a.wd=g.he("A",{href:K4(e),"class":"iv-promo-txt"}):a.wd=g.he("DIV","iv-promo-txt");switch(a.annotation.style){case "cta":case "website":var l=g.he("P",null,g.he("STRONG",null,b.text_line_1));var m=g.he("P",null,g.he("SPAN","iv-promo-link",b.text_line_2));
|
||||||
|
if(b.text_line_3)if(a.context.C.experiments.g("website_actions_cta_redesign")){d.push("iv-promo-website-card-cta-redesign");a.g=g.he("BUTTON",["iv-promo-round-expand-icon","ytp-button"]);k=g.he("BUTTON",["iv-button","iv-promo-button"],g.he("SPAN","iv-button-content",b.text_line_3));var n=g.he("DIV","iv-promo-button-container");n.appendChild(k);e&&a.Bi(a.ra(),e,a.annotation.id,b.session_data,a.annotation.Xb,void 0,c)}else{d.push("iv-promo-website-card-cta");var q=g.he("P",null,g.he("SPAN","iv-promo-action-text",
|
||||||
|
b.text_line_3))}g.R(a.wd,"iv-click-target");e&&a.Bi(a.wd,e,a.annotation.id,b.session_data,a.annotation.Xb,void 0,c);break;case "playlist":case "video":l=g.he("P",null,g.he("SPAN",null,b.text_line_1));m=g.he("P",null,g.he("STRONG",null,b.text_line_2));b.is_live&&(l=m,m=g.he("SPAN",["yt-badge","iv-promo-badge-live"],g.T("YTP_LIVE_NOW")));g.R(a.wd,"iv-click-target");e&&a.Bi(a.wd,e,a.annotation.id,b.session_data,a.annotation.Xb,void 0,c);d.push("iv-promo-video");break;case "vote":l=g.he("P",null,g.he("STRONG",
|
||||||
|
null,b.text_line_1)),m=g.he("P",null,g.he("SPAN",null,b.text_line_2)),n=g.he("DIV","iv-promo-button-container"),k=g.he("BUTTON",["iv-button","iv-promo-button"],g.he("SPAN","iv-button-content",b.button_text)),a.context.g.V(k,"click",function(a){a.stopPropagation();n5(this.context.logger,this.annotation.Xb,null,{contest_vote:"1"},(b.tracking||{}).vote);a=this.annotation.data;this.wd=g.J("iv-promo-txt",this.jk);var c=g.J("iv-promo-button-container",this.jk),d=g.he("DIV",["iv-promo-txt","iv-click-target"]),
|
||||||
|
e=g.he("P",null,g.he("STRONG",null,a.text_line_3)),f=g.he("P",null,a.text_line_4);g.me(d,e,f);g.qe(c);g.re(d,this.wd);g.Ip(this.ra(),"iv-promo-with-button");(c=P4(this.annotation))&&this.Bi(d,c,this.annotation.id,a.session_data,this.annotation.Xb)},a),n.appendChild(k),d.push("iv-promo-with-button")}l&&a.wd.appendChild(l);
|
||||||
|
m&&a.wd.appendChild(m);q&&a.wd.appendChild(q);a.jk.appendChild(a.wd);n&&a.jk.appendChild(n);c=g.he("DIV","iv-promo-actions");a.o=g.he("BUTTON",["iv-promo-expand","ytp-button"]);a.o.title=g.T("YTP_EXPAND");a.context.g.V(a.o,"click",g.Aa(a.Kq,5E3),a);c.appendChild(a.o);g.N(a.o,!1);a.g&&g.N(a.g,!1);a.context.g.V(a.ra(),"mouseover",a.HH,a);a.context.g.V(a.ra(),"mouseout",a.GH,a);a.context.g.V(a.ra(),"touchend",g.Aa(a.Kq,5E3),a);a.A=g.he("BUTTON",["iv-promo-close","ytp-button"]);a.A.title=g.T("YTP_CLOSE");
|
||||||
|
a.context.g.V(a.A,"click","cta"==a.annotation.style&&b.text_line_3?a.wH:a.TT,a);c.appendChild(a.A);g.Hp(a.ra(),d);f&&g.le(a.ra(),f);a.g&&g.le(a.ra(),a.g);g.le(a.ra(),a.jk);g.le(a.ra(),c)},lta=function(a){a.C||a.G||a.B||(g.R(a.ra(),"iv-promo-collapsed"),a.C=!0,a.D.start())},mta=function(a){a.D.stop();
|
||||||
|
a.C&&(g.Jp(a.ra(),["iv-promo-collapsed","iv-promo-collapsed-no-delay"]),a.C=!1,a.wd&&a.wd.removeAttribute("aria-hidden"),g.N(a.o,!1),g.N(a.A,!0),a.g&&g.N(a.g,!1))},nta=function(a,b){a.B||(a.B=g.gg(function(){J5(this);
|
||||||
|
lta(this)},b,a))},J5=function(a){a.B&&(g.hg(a.B),a.B=null)},K5=function(a){g.sV.call(this,a);
|
||||||
|
this.K=0;this.A={};this.M={};this.gb=new Lsa(a);this.G=new g.OF(this);g.L(this,this.G);this.C=this.B=null;this.G.R(this.g,"onVideoAreaChange",(0,g.y)(this.Y,this,"onVideoAreaChange"));this.G.R(this.g,"onHideControls",(0,g.y)(this.Y,this,"onHideControls"));this.G.R(this.g,"onShowControls",(0,g.y)(this.Y,this,"onShowControls"));this.G.R(this.g,"resize",(0,g.y)(this.Y,this,"resize"));this.G.R(this.g,"presentingplayerstatechange",(0,g.y)(this.Y,this,"presentingplayerstatechange"));this.subscribe("onHideControls",
|
||||||
|
this.KO,this);this.subscribe("onShowControls",this.CQ,this);this.subscribe("presentingplayerstatechange",this.TP,this);this.subscribe("resize",this.Gs,this);this.subscribe("k",this.LT,this);this.subscribe("j",this.th,this);this.subscribe("h",this.uN,this);this.subscribe("i",this.ZN,this);g.Y(this.g).G.subscribe("vast_info_card_add",this.LA,this);this.X=new g.OF(this);g.L(this,this.X);this.X.R(this.g,"crn_annotations_module",this.JT);this.X.R(this.g,"crx_annotations_module",this.KT);this.P=g.he("DIV",
|
||||||
|
["video-legacy-annotations","html5-stop-propagation"]);this.ca=g.he("DIV","video-custom-annotations");this.D=new g.W({H:"div",ea:["ytp-player-content","ytp-iv-player-content"]});g.L(this,this.D);g.hV(this.g,this.D.element,5);this.D.hide();this.F=new g.W({H:"div",ea:["ytp-iv-video-content"]});g.L(this,this.F);g.le(this.F.element,g.he("DIV","video-annotations",this.P,this.ca));this.J=this.o=null;this.O=[];ota(this)&&this.load();var b=g.je("STYLE");(window.document.getElementsByTagName("HEAD")[0]||window.document.body).appendChild(b);
|
||||||
|
g.Ke(this,function(){g.qe(b)});
|
||||||
|
b.sheet&&(b.sheet.insertRule(".iv-promo-website-card-cta .iv-promo-actions .iv-promo-close:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAJBAMAAADnQZCTAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEVMaXHMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMz////eMKB4AAAAC3RSTlMAOjuRL5WTKZmPff4oJ+UAAAABYktHRAsf18TAAAAAHklEQVQI12NgYGRgUGZgCWMo7mRY0QkigWygCAMjADeSBCY3xFwJAAAAAElFTkSuQmCC) no-repeat center;background-size:4px 9px;width:4px;height:9px}",
|
||||||
|
0),b.sheet.insertRule(".iv-promo .iv-promo-contents .iv-promo-txt .iv-promo-link:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUBAMAAAB/pwA+AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAHlBMVEVMaXH////////////////////////////////////Z6AnKAAAACXRSTlMA+/A2IuI1mJIldm0CAAAAAWJLR0QB/wIt3gAAAEVJREFUCNdjYGCYCQUMBJlACOIzIDElIcyZkwxgojOVWWDMSQauMKYySySUOSnBdSaUOZ0lEsac2YqwYiZ+JhwgM7E5HACgzVCI/YJ59AAAAABJRU5ErkJggg==) no-repeat center;background-size:10px;width:10px;height:10px}",
|
||||||
|
0),b.sheet.insertRule(".iv-promo .iv-promo-actions .iv-promo-close:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJBAMAAAASvxsjAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEVMaXH///////////////////////////////////////////9tKdXLAAAAC3RSTlMAVaQDpaimqQbl5rjXUFUAAAABYktHRAH/Ai3eAAAAPUlEQVQI12MQMmAwEmDwDmaOTmAw39663YCBuXp2MQMDQ+fOBgYG5ujVwQwMptvbgeLaxczVCQwiBgxmAgBkXg1FN5iwiAAAAABJRU5ErkJggg==) no-repeat center;background-size:9px;width:9px;height:9px}",
|
||||||
|
0),b.sheet.insertRule(".iv-promo .iv-promo-actions .iv-promo-expand:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAJBAMAAADnQZCTAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEVMaXHMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMz////eMKB4AAAAC3RSTlMAOpE7k5Uvj5kpfRaQSaQAAAABYktHRAsf18TAAAAAHklEQVQI12MQYGBQZmBwTWCo0GSo6AKRQDZQRIABADXXA/UkIpvtAAAAAElFTkSuQmCC) no-repeat center;background-size:4px 9px;width:4px;height:9px}",0),b.sheet.insertRule(".iv-promo-website-card-cta-redesign .iv-promo-round-expand-icon:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgCgUUEztsNfqrAAAAXklEQVRYw+3Uuw2AQAwEUUNXfBpDIvBRMhQwJJAScNrA0r4CdiQHjjAzK4NGKucPAFmCnZcmwcTphBNO9CTGH4VB+/Zm6YlYis9fhedXz38FNvFriCCl808iw8ysrBu65gCeuV/CfgAAAABJRU5ErkJggg==) no-repeat center;background-size:18px 18px;width:18px;height:18px}",
|
||||||
|
0),b.sheet.insertRule(".iv-card-link-icon {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASBAMAAACk4JNkAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVMaXG7u7u7u7u7u7u7u7u7u7u7u7v///+WKTAlAAAABnRSTlMAFdQWbGj9GiOuAAAAAWJLR0QHFmGI6wAAAEhJREFUCNdjYACBNCBgQGMxMKrBWEJJaRAJRjVlKEsoSQDIAqtSZICwgEIQFkgIZBRECMxiBqsCsVjAqsCygQwwFgMeFgQgswBg2xjLrfC4mgAAAABJRU5ErkJggg==) no-repeat center;background-size:9px;width:9px;height:9px}",0),b.sheet.insertRule(".iv-card-playlist-video-count:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJFBMVEVMaXH///////////////////////////////////////////9tKdXLAAAAC3RSTlMAvDeyLvxYtDK9Ogx4T1QAAAABYktHRAH/Ai3eAAAAK0lEQVQY02NgoBjshgO8HJoYwKiAMGAD92YHJM7uMCTO9gaEHs4FlPuZAQC8Fj8x/xHjxwAAAABJRU5ErkJggg==) no-repeat center;background-size:24px;width:24px;height:24px}",
|
||||||
|
0),b.sheet.insertRule(".iv-drawer-close-button:after {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAgMAAAArG7R0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEVMaXH////////OZTV/AAAAAnRSTlMAoKBFbtAAAAABYktHRAH/Ai3eAAAAKUlEQVQI12MIYGBlSGGQBMIUBjbHCQyM0xwYGDIZwBjEBomB5EBqgGoBolQGzYuy51cAAAAASUVORK5CYII=) no-repeat center;background-size:12px;width:12px;height:12px}",0),b.sheet.insertRule(".iv-ad-info-icon {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAMAAACecocUAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAVFBMVEVMaXGUlJSYmJiZmZmYmJiXl5eZmZmZmZmWlpaVlZWOjo6ZmZmSkpKXl5eYmJiYmJiZmZmZmZmZmZmZmZmYmJiJiYmXl5eZmZmYmJiWlpaZmZn///+81lbeAAAAGnRSTlMAE5DM80DliTMMEjccWIM5p1UjaTQNgB5cLlr5mgUAAAABYktHRBsCYNSkAAAAVElEQVQI102NRw7AIBADhw7ppIf/PzQLJ/ZgWSNrFlDaWKMVcs6HmGLwTqjEME6CFDrAXBYIGhNh3TJEg02wHydctvFc7sbrvnXZV8/zfs3T+7u/P7CrAso35YfPAAAAAElFTkSuQmCC) no-repeat center;background-size:11px;width:11px;height:11px}",
|
||||||
|
0),b.sheet.insertRule(".annotation-close-button {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/Pz9aWloBAQGZmZlbW1v///+X9wUzAAAACHRSTlMANprf+g6lyRmB9hUAAAABYktHRA5vvTBPAAAAWUlEQVQI12NgYBAycVZkAIKwDiBIZWBgrQAx2gMY2DrAIIFBomPWju6VHY0MGh1rbu891dHEYNGx9+yd2x3NDB4d3XfO7uhoQTDgUnDFcO1wA+FWwC2FOQMAdKg6tUSAFEAAAAAASUVORK5CYII=) no-repeat center}",
|
||||||
|
0),b.sheet.insertRule(".annotation-link-icon {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAMAAAANmfvwAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAUVBMVEVMaXH////////////////////////////////////////////////////////////////////////////////////////////////////////JzkR1AAAAGnRSTlMAfXf+c3xsdGdv/GJoXPtXXflSVk5L7DBH9VeFfsQAAAABYktHRAH/Ai3eAAAAgElEQVQ4y93SSQ6AIAwFULSOOOJs739Qf9SF0VA2uNCu+psHaQJK7cVCqY+Rg92PXA++Q84KnCR03UIRJrFEKMEgZYFQhpyzQHSBWJJAdIVUENtJ3SC0mu3EdOh7zXZiBrRdzQLJ0Y1GfOlpVstD3HaZktX9X/gvRCxvxL6FR7IBS1RTM5xIpLoAAAAASUVORK5CYII=) no-repeat center}",
|
||||||
|
0))},ota=function(a){var b=g.Y(a.g);
|
||||||
|
a=a.g.ia();return 1==(b.Pg||a.Pg)&&!a.rC||null!==b.G.get(a.videoId)},pta=function(a,b){for(var c={},d=0;d<b.attributes.length;d++){var e=b.attributes[d];
|
||||||
|
c[e.name]=e.nodeValue}for(d=0;d<b.childNodes.length;d++)if(e=b.childNodes[d],e.tagName){if(c[e.tagName])var f=c[e.tagName];else if("html_blob"==e.tagName||"data"==e.tagName){0<e.childNodes.length&&(f=e.childNodes[0].nodeValue,c[e.tagName]="string"==typeof f?f.trim():f);continue}else f=[],c[e.tagName]=f;e&&"TEXT"==e.tagName?1==e.childNodes.length&&3==e.childNodes[0].nodeType?f.push(e.childNodes[0].nodeValue):f.push(""):e&&f.push(pta(a,e))}return c},qta=function(a,b,c){return!(a.loaded&&a.K==b&&a.g.ia().videoId==
|
||||||
|
c)},sta=function(a,b){var c=rta(a,b);
|
||||||
|
if(!c&&"marker"!=b.type)return null;esa(b,function(a){a=(0,g.y)(this.YQ,this,b.id,a);this.subscribe("ivTrigger:"+b.id,a)},a);
|
||||||
|
return new Asa(a.ba,b,c)},tta=function(a,b){var c=K5.o(),d=null;
|
||||||
|
switch(b.type){case "branding":if(g.Y(a.g).Yj)break;a.D.element.appendChild(c);d=new H5(c,L5(a),b);break;case "promotion":g.hV(a.g,c,5),d=new I5(c,L5(a),b)}d&&d.to();return d},wta=function(a){var b=a.g.ia();
|
||||||
|
if(b.Af){var c=g.Y(a.g),d=c.G.get(b.videoId);if(d){var e={format:"XML",bd:{},method:"POST",withCredentials:!0};"gaming"==c.o&&(e.bd.gaming="1");e.Fd=(0,g.y)(function(a,b,c){qta(this,a,b)||(a=g.uE(c)&&c.responseXML?c.responseXML:null)&&M5(this,a)},a,a.K,b.videoId);
|
||||||
|
g.BG()&&(e.Fd=uta(a,e.Fd));e.Tb={ic_only:"1"};vta(e,d);g.LE(b.Af,e)}}},vta=function(a,b){a.method="POST";
|
||||||
|
a.Tb=a.Tb||{};b.Mh&&(a.Tb.ic_xml=b.Mh);b.Nj&&(a.Tb.ic_track=b.Nj)},xta=function(a){var b=new g.W({H:"div"});
|
||||||
|
g.N(b.element,!1);var c=new C5(a.g,b.element,L5(a));b.Ia(a.D.element);c.to();return c},L5=function(a){a.J||(a.J=new Ksa(new g.MF(a),new g.cm(a),g.Y(a.g),a.g.ia(),a.gb,a.g,a.ba));
|
||||||
|
return a.J},M5=function(a,b){var c=!1;
|
||||||
|
yta(b);for(var d=b.getElementsByTagName("annotation"),e=0;e<d.length;e++){var f=pta(a,d[e]),k=null;try{k=bsa(f)}catch(l){}k&&(K5.A(k)?(f=tta(a,k))&&(a.M[k.id]=f):K5.B(k)?(a.o||(a.o=xta(a)),"card"==k.type?fta(a.o,k):gta(a.o,k),c=!0):(f=sta(a,k))&&(a.A[k.id]=f))}c&&(J3(a.g),a.Gs());g.Jb(a.A,function(a){if(a.view){var b=a.annotation;(a=a.view)&&b.o&&b.o.o&&(b=this.A[b.o.o])&&(a.ba=b.annotation)}},a)},yta=function(a){if((a=a.getElementsByTagName("annotations"))&&!(1>a.length)){var b=a[0].getAttribute("itct");
|
||||||
|
if(b&&(a=g.QG())){var c=Oqa();c&&(b=[new g.ZF(b)],Qqa(q4(),a,c,b))}}},Ata=function(a,b,c,d){d?zta(a,b,c):N5(a,b,c)},N5=function(a,b,c){if(b=a.A[b])g5(b),c&&c.o?(a=(0,g.y)(a.Ax,a,b),b.g=new g.rt(a,2E3),b.g.start()):a.Ax(b)},zta=function(a,b,c){if(b=a.A[b])g5(b),c&&c.B?(a=(0,g.y)(a.OB,a,b),b.g=new g.rt(a,2E3),b.g.start()):a.OB(b)},Bta=function(a,b){if("new"==b.target)return!1;
|
||||||
|
var c=K4(b);if(!c)return!1;c=c.replace(/https?:\/\//g,"");if(!y5(c))return!1;c=g.GE(c);if(c.list||c.p)return!1;c=Xsa(b);if(!c)return!1;var d=a.g.ia();return d.videoId==c?!0:g.Y(a.g).A&&d.gm?!0:!1},rta=function(a,b){if(Cta(b)){var c=b.C||Q4(b,function(a){return"click"==a||"rollOut"==a||"rollOut"==a});
|
||||||
|
return new usa(b,(0,g.y)(a.P.appendChild,a.P),a.g,a.ba,c)}return null},Cta=function(a){if("highlight"==a.type||"widget"==a.type)return!0;
|
||||||
|
if("text"==a.type)for(var b in O4)if(a.style==O4[b])return!0;return!1},O5=function(a,b,c,d){a.Y(isa(b,d),c,d)},uta=function(a,b){return(0,g.y)(function(){if(!this.na()){var a=Array.prototype.slice.call(arguments,0);
|
||||||
|
a.unshift(b);b=g.Aa.apply(window,a);this.O.push(g.CG(b,1,void 0))}},a)},P5=function(a,b,c){switch(a){case "mouseover":case "mouseout":var d=3;
|
||||||
|
break;case "mouseenter":case "mouseleave":d=9}return g.Ee(c,function(a){return g.Gp(a,b)},!0,d)},R5=function(a){var b,c="mouseover"==a.type&&"mouseenter"in Q5||"mouseout"==a.type&&"mouseleave"in Q5,d=a.type in Q5||c;
|
||||||
|
if("HTML"!=a.target.tagName&&d){if(c){var c="mouseover"==a.type?"mouseenter":"mouseleave",d=Q5[c],e;for(e in d.o)(b=P5(c,e,a.target))&&!g.Ee(a.relatedTarget,function(a){return a==b},!0)&&d.Y(e,b,c,a)}if(c=Q5[a.type])for(e in c.o)(b=P5(a.type,e,a.target))&&c.Y(e,b,a.type,a)}},S5=function(a){this.C=a;
|
||||||
|
this.F={};this.J=[];this.G=[]},Z=function(a,b){return"yt-uix"+(a.C?"-"+a.C:"")+(b?"-"+b:"")},T5=function(a,b,c){a.J.push(g.dG(b,c,a))},U5=function(a,b,c){a.G.push(g.xO(b,c,a))},V5=function(){S5.call(this,"button");
|
||||||
|
this.g=null;this.A=[];this.o={}},Dta=function(a,b,c,d,e){var f=T3(c),k=9==d.keyCode;
|
||||||
|
k||32==d.keyCode||13==d.keyCode?(d=W5(a,c))?(b=g.ve(d),"a"==b.tagName.toLowerCase()?g.oV(b.href):Aqa(b)):k&&X5(a,b):f?27==d.keyCode?(W5(a,c),X5(a,b)):e(b,c,d):(a=g.Gp(b,Z(a,"reverse"))?38:40,d.keyCode==a&&(Aqa(b),d.preventDefault()))},W5=function(a,b){var c=Z(a,"menu-item-highlight"),d=g.J(c,b);
|
||||||
|
d&&g.Ip(d,c);return d},Eta=function(a,b,c){g.R(c,Z(a,"menu-item-highlight"));
|
||||||
|
var d=c.getAttribute("id");d||(d=Z(a,"item-id-"+g.za(c)),c.setAttribute("id",d));b.setAttribute("aria-activedescendant",d)},Fta=function(a,b,c,d){var e=b.length;
|
||||||
|
a=(0,g.fb)(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},Y5=function(a,b){var c=b.iframeMask;
|
||||||
|
c||(c=window.document.createElement("iframe"),c.src='javascript:""',c.className=Z(a,"menu-mask"),g.CV(c),b.iframeMask=c);return c},Z5=function(a,b,c,d){var e=g.Ge(b,Z(a,"group")),f=!!a.ya(b,"button-menu-ignore-group"),e=e&&!f?e:b,f=9,k=8,l=g.uh(b);
|
||||||
|
if(g.Gp(b,Z(a,"reverse"))){f=8;k=9;l=l.top+"px";try{c.style.maxHeight=l}catch(q){}}g.Gp(b,"flip")&&(g.Gp(b,Z(a,"reverse"))?(f=12,k=13):(f=13,k=12));var m;a.ya(b,"button-has-sibling-menu")?m=g.kh(e):a.ya(b,"button-menu-root-container")&&(m=Gta(a,b));g.sc&&!g.kc("8")&&(m=null);if(m){var n=g.uh(m);n=new g.Kg(-n.top,n.left,n.top,-n.left)}m=new g.Nd(0,1);g.Gp(b,Z(a,"center-menu"))&&(m.x-=Math.round((g.th(c).width-g.th(b).width)/2));d&&(m.y+=g.de(window.document).y);if(a=Y5(a,b))b=g.th(c),a.style.width=
|
||||||
|
b.width+"px",a.style.height=b.height+"px",X3(e,f,a,k,m,n,197),d&&g.ah(a,"position","fixed");X3(e,f,c,k,m,n,197)},Gta=function(a,b){if(a.ya(b,"button-menu-root-container")){var c=a.ya(b,"button-menu-root-container");
|
||||||
|
return g.Ge(b,c)}return window.document.body},X5=function(a,b){if(b){var c=$5(a,b);
|
||||||
|
if(c){a.g=null;b.setAttribute("aria-pressed","false");b.setAttribute("aria-expanded","false");b.removeAttribute("aria-activedescendant");g.CV(c);a.Ni(b,"button-menu-action",!1);var d=Y5(a,b),e=V3(c).toString();delete a.o[e];g.yE(function(){d&&d.parentNode&&(g.CV(d),d.parentNode.removeChild(d));c.originalParentNode&&(c.parentNode.removeChild(c),c.originalParentNode.appendChild(c),c.originalParentNode=null,c.activeButtonNode=null)},1)}var e=g.Ge(b,Z(a,"group")),f=[Z(a,"active")];
|
||||||
|
e&&f.push(Z(a,"group-active"));g.Jp(b,f);g.fG("yt-uix-button-menu-hide",b);g.DF(a.A);a.A.length=0}},Hta=function(a,b,c){var d=Z(a,"menu-item-selected");
|
||||||
|
(0,g.G)(g.Yd(d,b),function(a){g.Ip(a,d)});
|
||||||
|
g.R(c.parentNode,d)},$5=function(a,b){if(!b.widgetMenu){var c=a.ya(b,"button-menu-id"),c=c&&g.Wd(c),d=Z(a,"menu");
|
||||||
|
c?g.Hp(c,[d,Z(a,"menu-external")]):c=g.J(d,b);b.widgetMenu=c}return b.widgetMenu},Ita=function(a,b){if(a.ya(b,"button-toggle")){var c=g.Ge(b,Z(a,"group")),d=Z(a,"toggled"),e=g.Gp(b,d);
|
||||||
|
if(c&&a.ya(c,"button-toggle-group")){var f=a.ya(c,"button-toggle-group");(0,g.G)(g.Yd(Z(a),c),function(a){a!=b||"optional"==f&&e?(g.Ip(a,d),a.removeAttribute("aria-pressed")):(g.R(b,d),a.setAttribute("aria-pressed","true"))})}else e?b.removeAttribute("aria-pressed"):b.setAttribute("aria-pressed","true"),g.Lp(b,d)}},a6=function(a){a.g&&X5(a,a.g)},b6=function(a){S5.call(this,a);
|
||||||
|
this.A=null},Jta=function(a,b,c){var d=c||b,e=Z(a,"card");
|
||||||
|
c=a.Gc(d);var f=g.Wd(Z(a,"card")+V3(d));if(f)return a=g.J(Z(a,"card-body"),f),g.xe(a,c)||(g.qe(c),a.appendChild(c)),f;f=window.document.createElement("div");f.id=Z(a,"card")+V3(d);f.className=e;(d=a.ya(d,"card-class"))&&g.Hp(f,d.split(/\s+/));d=window.document.createElement("div");d.className=Z(a,"card-border");b=a.ya(b,"orientation")||"horizontal";e=window.document.createElement("div");e.className="yt-uix-card-border-arrow yt-uix-card-border-arrow-"+b;var k=window.document.createElement("div");k.className=
|
||||||
|
Z(a,"card-body");a=window.document.createElement("div");a.className="yt-uix-card-body-arrow yt-uix-card-body-arrow-"+b;g.qe(c);k.appendChild(c);d.appendChild(a);d.appendChild(k);f.appendChild(e);f.appendChild(d);window.document.body.appendChild(f);return f},Kta=function(a,b,c){var d=a.ya(b,"orientation")||"horizontal",e=g.J(Z(a,"anchor"),b)||b,f=a.ya(b,"position"),k=!!a.ya(b,"force-position"),l=a.ya(b,"position-fixed"),d="horizontal"==d,m="bottomright"==f||"bottomleft"==f,n="topright"==f||"bottomright"==
|
||||||
|
f;
|
||||||
|
if(n&&m){var q=13;var r=8}else n&&!m?(q=12,r=9):!n&&m?(q=9,r=12):(q=8,r=13);var w=O3(window.document.body),f=O3(b);w!=f&&(q^=4);if(d){f=b.offsetHeight/2-12;var A=new g.Nd(-12,b.offsetHeight+6)}else f=b.offsetWidth/2-6,A=new g.Nd(b.offsetWidth+6,-12);var C=g.th(c),f=Math.min(f,(d?C.height:C.width)-24-6);6>f&&(f=6,d?A.y+=12-b.offsetHeight/2:A.x+=12-b.offsetWidth/2);C=null;k||(C=10);b=Z(a,"card-flip");a=Z(a,"card-reverse");g.S(c,b,n);g.S(c,a,m);C=X3(e,q,c,r,A,null,C);!k&&C&&(C&48&&(n=!n,q^=4,r^=4),C&
|
||||||
|
192&&(m=!m,q^=1,r^=1),g.S(c,b,n),g.S(c,a,m),X3(e,q,c,r,A));l&&(e=(0,window.parseInt)(c.style.top,10),k=g.de(window.document).y,g.ah(c,"position","fixed"),g.ah(c,"top",e-k+"px"));w&&(c.style.right="",e=g.uh(c),e.left=e.left||(0,window.parseInt)(c.style.left,10),k=g.be(window),c.style.left="",c.style.right=k.width-e.left-e.width+"px");e=g.J("yt-uix-card-body-arrow",c);k=g.J("yt-uix-card-border-arrow",c);d=d?m?"top":"bottom":!w&&n||w&&!n?"left":"right";e.setAttribute("style","");k.setAttribute("style",
|
||||||
|
"");e.style[d]=f+"px";k.style[d]=f+"px";m=g.J("yt-uix-card-arrow",c);n=g.J("yt-uix-card-arrow-background",c);m&&n&&(c="right"==d?g.th(c).width-f-13:f+11,f=c/Math.sqrt(2),m.style.left=c+"px",m.style.marginLeft="1px",n.style.marginLeft=-f+"px",n.style.marginTop=f+"px")},c6=function(a){a.A&&a.hide(a.A)},Lta=function(a){var b=a.cardMask;
|
||||||
|
b||(b=window.document.createElement("iframe"),b.src='javascript:""',g.Hp(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";window.document.body.appendChild(b)},d6=function(){S5.call(this,"kbd-nav")},Mta=function(a,b,c){b&&c&&(g.R(c,Z(a)),a=b.id,a||(a="kbd-nav-"+Math.floor(1E6*Math.random()+1),b.id=a),b=a,g.ppa&&c.dataset?c.dataset.kbdNavMoveOut=b:
|
||||||
|
c.setAttribute("data-"+"kbdNavMoveOut".replace(/([A-Z])/g,"-$1").toLowerCase(),b))},Nta=function(a,b){if(b){var c=g.Fe(b,"LI");
|
||||||
|
c&&(g.R(c,Z(a,"highlight")),e6=g.CF(b,"blur",(0,g.y)(function(a){g.Ip(a,Z(this,"highlight"));g.DF(e6)},a,c)))}},Ota=function(a){if("UL"!=a.tagName.toUpperCase())return[];
|
||||||
|
a=(0,g.se)(g.te(a),function(a){return"LI"==a.tagName.toUpperCase()});
|
||||||
|
return(0,g.se)((0,g.H)(a,function(a){return T3(a)?c4(a,function(a){return g.wa(a)&&1==a.nodeType?g.De(a):!1}):!1}),function(a){return!!a})},f6=function(){S5.call(this,"menu");
|
||||||
|
this.o=this.g=null;this.A={};this.D={};this.B=null},g6=function(a){var b=f6.getInstance();
|
||||||
|
if(g.Gp(a,Z(b)))return a;var c=b.ae(a);return c?c:g.Ge(a,Z(b,"content"))==b.g?b.o:null},Pta=function(a,b,c){var d=h6(a,b);
|
||||||
|
d&&g.sh(d,g.th(c));if(c==a.g){var e=9,f=8;g.Gp(b,Z(a,"reversed"))&&(e^=1,f^=1);g.Gp(b,Z(a,"flipped"))&&(e^=4,f^=4);a=new g.Nd(0,1);d&&X3(b,e,d,f,a,null,197);X3(b,e,c,f,a,null,197)}},Rta=function(a,b,c){i6(a,b)&&!c?j6(a,b):(Qta(a,b),!a.g||U3(b,a.g)?a.tD(b):Bqa(a.B,(0,g.y)(a.tD,a,b)))},Qta=function(a,b){if(b){var c=g.Ge(b,Z(a,"content"));
|
||||||
|
c&&(0,g.G)(g.Yd(Z(a),c),function(a){!U3(a,b)&&i6(this,a)&&k6(this,a)},a)}},j6=function(a,b){if(b){var c=[];
|
||||||
|
c.push(b);var d=l6(a,b);d&&(d=g.Yd(Z(a),d),d=g.qb(d),c=c.concat(d),(0,g.G)(c,function(a){i6(this,a)&&k6(this,a)},a))}},k6=function(a,b){if(b){var c=l6(a,b);
|
||||||
|
g.Jp(m6(a,b),[Z(a,"trigger-selected"),"yt-uix-button-toggled"]);g.R(c,Z(a,"content-hidden"));var d=l6(a,b);d&&g.$d(d,{"aria-expanded":"false"});(d=h6(a,b))&&d.parentNode&&g.qe(d);c&&c==a.g&&(a.o.appendChild(c),a.g=null,a.o=null,a.B&&a.B.Y("ROOT_MENU_REMOVED"));g.fG("yt-uix-menu-hide",b);c=g.za(b).toString();g.DF(a.A[c]);delete a.A[c]}},Sta=function(a,b){var c=l6(a,b);
|
||||||
|
if(c){(0,g.G)(c.children,function(a){"LI"==a.tagName&&g.$d(a,{role:"menuitem"})});
|
||||||
|
g.$d(c,{"aria-expanded":"true"});var d=c.id;d||(d="aria-menu-id-"+g.za(c),c.id=d);(c=m6(a,b))&&g.$d(c,{"aria-controls":d})}},Tta=function(a,b,c){var d=l6(a,b);
|
||||||
|
d&&g.Gp(b,Z(a,"checked"))&&(a=g.Fe(c,"LI"))&&(a=g.J("yt-ui-menu-item-checked-hid",a))&&((0,g.G)(g.Yd("yt-ui-menu-item-checked",d),function(a){g.Kp(a,"yt-ui-menu-item-checked","yt-ui-menu-item-checked-hid")}),g.Kp(a,"yt-ui-menu-item-checked-hid","yt-ui-menu-item-checked"))},i6=function(a,b){var c=l6(a,b);
|
||||||
|
return c?!g.Gp(c,Z(a,"content-hidden")):!1},Uta=function(a){(0,g.G)(g.Xd(window.document,"UL",null,a),function(a){a.tabIndex=0;
|
||||||
|
var b=d6.getInstance();g.Hp(a,[Z(b),Z(b,"list")])})},l6=function(a,b){var c=g.pF(b,"menu-content-id");
|
||||||
|
return c&&(c=g.Wd(c))?(g.Hp(c,[Z(a,"content"),Z(a,"content-external")]),c):b==a.o?a.g:g.J(Z(a,"content"),b)},h6=function(a,b){var c=g.za(b).toString(),d=a.D[c];
|
||||||
|
if(!d){d=g.je("IFRAME");d.src='javascript:""';var e=[Z(a,"mask")];(0,g.G)(g.Fp(b),function(a){e.push(a+"-mask")});
|
||||||
|
g.Hp(d,e);a.D[c]=d}return d||null},m6=function(a,b){return g.J(Z(a,"trigger"),b)},Vta=function(a,b){return U3(b,a.g)||U3(b,a.o)},n6=function(){b6.call(this,"clickcard");
|
||||||
|
this.g={};this.o={}},o6=function(){b6.call(this,"hovercard")},p6=function(a,b,c,d,e,f){this.g=a;
|
||||||
|
this.F=null;this.A=g.J("yt-dialog-fg",this.g)||this.g;if(a=g.J("yt-dialog-title",this.A)){var k="yt-dialog-title-"+g.za(this.A);a.setAttribute("id",k);this.A.setAttribute("aria-labelledby",k)}this.A.setAttribute("tabindex","-1");this.K=g.J("yt-dialog-focus-trap",this.g);this.M=!1;this.B=new g.iD;this.G=[];this.G.push(H3(this.g,"click",(0,g.y)(this.VN,this),"yt-dialog-dismiss"));this.G.push(g.CF(this.K,"focus",(0,g.y)(this.eH,this),!0));Wta(this);this.O=b;this.X=c;this.P=d;this.J=e;this.ba=f;this.D=
|
||||||
|
this.C=null},Xta=function(a,b){a.na()||a.B.subscribe("post-all",b)},Wta=function(a){a=g.J("yt-dialog-fg-content",a.g);
|
||||||
|
var b=[];g.Jb(Yta,function(a){b.push("yt-dialog-show-"+a)});
|
||||||
|
g.Jp(a,b);g.R(a,"yt-dialog-show-content")},Zta=function(){return(0,g.Bk)(g.Yd("yt-dialog"),function(a){return T3(a)})},$ta=function(a){var b=g.Xd(window.document,"iframe",null,a.g);
|
||||||
|
(0,g.G)(b,function(a){var b=g.pF(a,"onload");b&&(b=g.v(b))&&g.CF(a,"load",b);if(b=g.pF(a,"src"))a.src=b},a);
|
||||||
|
return g.qb(b)},aua=function(a){(0,g.G)(window.document.getElementsByTagName("iframe"),function(b){-1==(0,g.fb)(a,b)&&g.R(b,"iframe-hid")})},bua=function(){(0,g.G)(g.Yd("iframe-hid"),function(a){g.Ip(a,"iframe-hid")})},cua=function(a){g.yE((0,g.y)(function(){this.A&&this.A.focus()},a),0)},q6=function(){S5.call(this,"overlay");
|
||||||
|
this.B=this.o=this.A=this.g=null},eua=function(a){a.B||(a.B=g.dG("yt-uix-overlay-hide",dua));
|
||||||
|
a.g&&Xta(a.g,function(){var a=q6.getInstance();a.A=null;a.g.dispose();a.g=null})},fua=function(a){if(a.g){var b=a.A;
|
||||||
|
a.g.dismiss("overlayhide");b&&a.Ni(b,"overlay-hidden");a.A=null;a.o&&(g.DF(a.o),a.o=null);a.g=null}},gua=function(a,b){var c;
|
||||||
|
if(a)if(c=g.J("yt-dialog",a)){var d=g.Wd("body-container");d&&(d.appendChild(c),a.overlayContentNode=c,c.overlayParentNode=a)}else c=a.overlayContentNode;else b&&(c=g.Ge(b,"yt-dialog"));return c},hua=function(){var a=q6.getInstance();
|
||||||
|
if(a.A)a=g.J("yt-dialog-fg-content",a.A.overlayContentNode);else a:{if(a=g.Yd("yt-dialog-fg-content"))for(var b=0;b<a.length;b++){var c=g.Ge(a[b],"yt-dialog");if(T3(c)){a=a[b];break a}}a=null}return a},dua=function(){fua(q6.getInstance())},r6=function(){S5.call(this,"tooltip");
|
||||||
|
this.g=0;this.o={}},iua=function(a,b,c){a.setData(b,"tooltip-text",c);
|
||||||
|
a=a.ya(b,"content-id");(a=g.Wd(a))&&g.ze(a,c)},jua=function(a,b){return a.ya(b,"tooltip-text")||b.title},mua=function(a,b){if(b){var c=jua(a,b);
|
||||||
|
if(c){var d=g.Wd(s6(a,b));if(!d){d=window.document.createElement("div");d.id=s6(a,b);d.className=Z(a,"tip");var e=window.document.createElement("div");e.className=Z(a,"tip-body");var f=window.document.createElement("div");f.className=Z(a,"tip-arrow");var k=window.document.createElement("div");k.setAttribute("aria-hidden","true");k.className=Z(a,"tip-content");var l=kua(a,b),m=s6(a,b,"content");k.id=m;a.setData(b,"content-id",m);e.appendChild(k);l&&d.appendChild(l);d.appendChild(e);d.appendChild(f);
|
||||||
|
var n=b4(b);m=s6(a,b,"arialabel");f=window.document.createElement("div");g.R(f,Z(a,"arialabel"));f.id=m;n=b.hasAttribute("aria-label")?b.getAttribute("aria-label"):"rtl"==window.document.body.getAttribute("dir")?c+" "+n:n+" "+c;g.ze(f,n);b.setAttribute("aria-labelledby",m);m=g.vF()||window.document.body;m.appendChild(f);m.appendChild(d);iua(a,b,c);(c=(0,window.parseInt)(a.ya(b,"tooltip-max-width"),10))&&e.offsetWidth>c&&(e.style.width=c+"px",g.R(k,Z(a,"normal-wrap")));k=g.Gp(b,Z(a,"reverse"));lua(a,
|
||||||
|
b,d,e,l,k)||lua(a,b,d,e,l,!k);var q=Z(a,"tip-visible");g.yE(function(){g.R(d,q)},0)}}}},lua=function(a,b,c,d,e,f){g.S(c,Z(a,"tip-reverse"),f);
|
||||||
|
var k=0;f&&(k=1);var l=g.th(b);f=new g.Nd((l.width-10)/2,f?l.height:0);var m=g.lh(b);Jqa(new g.Nd(m.x+f.x,m.y+f.y),c,k);var m=g.be(window),n=g.ph(c);c=g.th(d);var q=Math.floor(c.width/2),k=!!(m.height<n.y+l.height),l=!!(n.y<l.height);f=!!(n.x<q);m=!!(m.width<n.x+q);n=(c.width+3)/-2- -5;a=a.ya(b,"force-tooltip-direction");if("left"==a||f)n=-5;else if("right"==a||m)n=20-c.width-3;a=Math.floor(n)+"px";d.style.left=a;e&&(e.style.left=a,e.style.height=c.height+"px",e.style.width=c.width+"px");return!(k||
|
||||||
|
l)},s6=function(a,b,c){a=Z(a)+V3(b);
|
||||||
|
c&&(a+="-"+c);return a},kua=function(a,b){var c=null;
|
||||||
|
g.t2&&g.Gp(b,Z(a,"masked"))&&((c=g.Wd("yt-uix-tooltip-shared-mask"))?(c.parentNode.removeChild(c),g.BV(c)):(c=window.document.createElement("iframe"),c.src='javascript:""',c.id="yt-uix-tooltip-shared-mask",c.className=Z(a,"tip-mask")));return c},nua=function(a){var b=g.Wd("yt-uix-tooltip-shared-mask"),c=b&&g.Ee(b,function(b){return b==a},!1,2);
|
||||||
|
b&&c&&(b.parentNode.removeChild(b),g.CV(b),window.document.body.appendChild(b))},t6=function(a){g.qO.call(this,1,arguments);
|
||||||
|
this.g=a},u6=function(a,b,c,d,e){g.qO.call(this,2,arguments);
|
||||||
|
this.source=e||null},oua=function(a,b,c){g.qO.call(this,1,arguments);
|
||||||
|
this.g=a;this.o=b},v6=function(a,b,c,d,e,f,k){g.qO.call(this,1,arguments);
|
||||||
|
this.g=d||null;this.source=k||null},pua=function(a){a=g.Ge(a,"yt-uix-button-subscription-container");
|
||||||
|
return g.J("yt-dialog",g.J("unsubscribe-confirmation-overlay-container",a))},qua=function(a,b){g.DF(w6);
|
||||||
|
w6.length=0;x6[b]||(x6[b]=pua(a));q6.getInstance().show(x6[b]);var c=hua();return new g.Lf(function(a){w6.push(H3(c,"click",function(){a()},"overlay-confirmation-unsubscribe-button"))})},rua=function(){var a=g.PD("PLAYER_CONFIG");
|
||||||
|
return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.PD("SESSION_INDEX")&&!g.PD("LOGGED_IN"))},y6=function(){S5.call(this,"subscription-button")},sua=function(a,b){if(!a.ya(b,"ypc-enabled"))return null;
|
||||||
|
var c=a.ya(b,"ypc-item-type"),d=a.ya(b,"ypc-item-id");return{itemType:c,itemId:d,subscriptionElement:b}},tua=function(a,b){var c=a.ya(b,z6.KF),d=!!a.ya(b,"is-subscribed"),c="-"+c,e=A6.MD+c;
|
||||||
|
g.S(b,A6.LD+c,!d);g.S(b,e,d);a.ya(b,z6.ZD)&&!a.ya(b,z6.YD)&&(c=Z(r6.getInstance()),g.S(b,c,!d),b.title=d?"":a.ya(b,z6.aE));d?g.yE(function(){g.R(b,A6.pu)},1E3):g.Ip(b,A6.pu)},uua=function(a,b){return(0,g.se)(g.Yd(Z(a)),function(a){return b==this.ya(a,"channel-external-id")},a)},vua=function(a,b){var c=(0,g.y)(function(a){a.discoverable_subscriptions&&g.OD("SUBSCRIBE_EMBED_DISCOVERABLE_SUBSCRIPTIONS",a.discoverable_subscriptions);
|
||||||
|
this.lu(b)},a);
|
||||||
|
g.C1(c,"subscribe","sub_button")},wua=function(a,b){if(!a.ya(b,"show-unsub-confirm-dialog"))return!1;
|
||||||
|
var c=a.ya(b,"show-unsub-confirm-time-frame");return"always"==c||"ten_minutes"==c&&(c=(0,window.parseInt)(a.ya(b,"subscribed-timestamp"),10),(new Z3).getTime()<1E3*(c+600))?!0:!1},Cqa={thin:2,
|
||||||
|
medium:4,thick:6};g.z(Dqa,g.Ne);g.z(P3,g.Ps);g.h=P3.prototype;g.h.play=function(a){if(a||0==this.g)this.progress=0,this.o=this.A;else if(this.yb())return!1;N3(this);this.startTime=a=(0,g.F)();-1==this.g&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.C=this.startTime;this.progress||this.Sn();this.xe("play");-1==this.g&&this.xe("resume");this.g=1;var b=g.za(this);b in g.xt||(g.xt[b]=this);g.wt();Hqa(this,a);return!0};
|
||||||
|
g.h.stop=function(a){N3(this);this.g=0;a&&(this.progress=1);Gqa(this,this.progress);this.xe("stop");this.nl()};
|
||||||
|
g.h.pause=function(){this.yb()&&(N3(this),this.g=-1,this.xe("pause"))};
|
||||||
|
g.h.W=function(){0==this.g||this.stop(!1);this.xe("destroy");P3.aa.W.call(this)};
|
||||||
|
g.h.destroy=function(){this.dispose()};
|
||||||
|
g.h.tN=function(a){Hqa(this,a)};
|
||||||
|
g.h.ws=function(){this.xe("animate")};
|
||||||
|
g.h.xe=function(a){this.dispatchEvent(new Dqa(a,this))};
|
||||||
|
var Vqa=/[^\d]+$/,Lqa={IMG:" ",BR:"\n"},Kqa={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};g.z(R3,P3);R3.prototype.B=g.x;R3.prototype.ws=function(){this.B();R3.aa.ws.call(this)};
|
||||||
|
R3.prototype.nl=function(){this.B();R3.aa.nl.call(this)};
|
||||||
|
R3.prototype.Sn=function(){this.B();R3.aa.Sn.call(this)};
|
||||||
|
var Xqa={em:1,ex:1},Wqa={cm:1,"in":1,mm:1,pc:1,pt:1};g.z(Y3,R3);Y3.prototype.B=function(){this.element.style.left=Math.round(this.o[0])+"px";this.element.style.top=Math.round(this.o[1])+"px"};
|
||||||
|
g.z(Z3,g.An);g.h=Z3.prototype;g.h.getHours=function(){return this.date.getHours()};
|
||||||
|
g.h.getMinutes=function(){return this.date.getMinutes()};
|
||||||
|
g.h.getSeconds=function(){return this.date.getSeconds()};
|
||||||
|
g.h.getUTCHours=function(){return this.date.getUTCHours()};
|
||||||
|
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
|
||||||
|
g.h.fn=function(a,b){var c=g.An.prototype.fn.call(this,a);return a?c+" "+g.Pa(this.getHours(),2)+":"+g.Pa(this.getMinutes(),2)+":"+g.Pa(this.getSeconds(),2)+(b?g.Bn(this):""):c+"T"+g.Pa(this.getHours(),2)+g.Pa(this.getMinutes(),2)+g.Pa(this.getSeconds(),2)+(b?g.Bn(this):"")};
|
||||||
|
g.h.toString=function(){return this.fn()};
|
||||||
|
g.h.clone=function(){var a=new Z3(this.date);a.Om=this.Om;a.Qm=this.Qm;return a};
|
||||||
|
a4.prototype.clone=function(){return new a4(this.start,this.end)};
|
||||||
|
a4.prototype.getLength=function(){return this.end-this.start};g.z(d4,g.rf);g.h=d4.prototype;g.h.Dq=null;g.h.Ck=null;g.h.ra=function(){return this.Ck};
|
||||||
|
g.h.addEventListener=function(a,b,c,d){g.bf(this.Ck,a,b,c,d)};
|
||||||
|
g.h.removeEventListener=function(a,b,c,d){g.lf(this.Ck,a,b,c,d)};
|
||||||
|
g.h.W=function(){d4.aa.W.call(this);var a=this.Ck;if(a)if(g.Te(a))a.ye&&g.Ze(a.ye);else if(a=g.ef(a)){var b=0,c;for(c in a.listeners)for(var d=a.listeners[c].concat(),e=0;e<d.length;++e)g.mf(d[e])&&++b}};g.z(h4,d4);h4.prototype.fill=null;g.z(cra,d4);i4.prototype.Bf=null;i4.prototype.Ld=null;i4.prototype.Al=!0;var era=[2,2,6,6,0];g.h=i4.prototype;g.h.clear=function(){this.sb.length=0;this.Na.length=0;this.pe.length=0;delete this.Bf;delete this.Ld;delete this.Al;return this};
|
||||||
|
g.h.Jc=function(a){var b=g.Za(this.sb);if(null==b)throw Error("Path cannot start with lineTo");1!=b&&(this.sb.push(1),this.Na.push(0));for(b=0;b<arguments.length;b+=2){var c=arguments[b];var d=arguments[b+1];this.pe.push(c,d)}this.Na[this.Na.length-1]+=b/2;this.Ld=[c,d]};
|
||||||
|
g.h.close=function(){var a=g.Za(this.sb);if(null==a)throw Error("Path cannot start with close");4!=a&&(this.sb.push(4),this.Na.push(1),this.Ld=this.Bf);return this};
|
||||||
|
g.h.clone=function(){var a=new this.constructor;a.sb=this.sb.concat();a.Na=this.Na.concat();a.pe=this.pe.concat();a.Bf=this.Bf&&this.Bf.concat();a.Ld=this.Ld&&this.Ld.concat();a.Al=this.Al;return a};
|
||||||
|
g.h.transform=function(a){if(!this.Al)throw Error("Non-simple path");a.transform(this.pe,0,this.pe,0,this.pe.length/2);this.Bf&&a.transform(this.Bf,0,this.Bf,0,1);this.Ld&&this.Bf!=this.Ld&&a.transform(this.Ld,0,this.Ld,0,1);return this};
|
||||||
|
g.h.isEmpty=function(){return 0==this.sb.length};g.z(gra,h4);k4.prototype.Eb=function(){return this.A};g.z(l4,g.Hu);l4.prototype.C=null;l4.prototype.Xi=function(){return this.He?g.th(this.ra()):g.oa(this.width)&&g.oa(this.height)?new g.Qd(this.width,this.height):null};
|
||||||
|
l4.prototype.resume=function(){};g.z(f4,bra);g.z(e4,bra);g.z(m4,cra);m4.prototype.clear=function(){g.ne(this.ra())};
|
||||||
|
m4.prototype.setSize=function(a,b){ira(this.ra(),{width:a,height:b})};
|
||||||
|
g.z(hra,gra);var p4;g.z(n4,l4);var kra=0;g.h=n4.prototype;g.h.hn=function(){var a=g4(this,"svg",{width:this.width,height:this.height,overflow:"hidden"}),b=g4(this,"g");this.G=g4(this,"defs");this.C=new m4(b,this);a.appendChild(this.G);a.appendChild(b);this.g=a;this.A&&(this.ra().setAttribute("preserveAspectRatio","none"),this.P?this.Bo():this.ra().setAttribute("viewBox","0 0 "+(this.A?this.A+" "+this.O:"")))};
|
||||||
|
g.h.Bo=function(){if(this.He){var a=this.Xi();if(0==a.width)this.ra().style.visibility="hidden";else{this.ra().style.visibility="";var b=a.width/this.A,a=a.height/this.O;this.C.ra().setAttribute("transform","scale("+b+" "+a+") translate(0 0)")}}};
|
||||||
|
g.h.setSize=function(a,b){g.sh(this.ra(),a,b)};
|
||||||
|
g.h.Xi=function(){if(!g.ch)return this.He?g.th(this.ra()):n4.aa.Xi.call(this);var a=this.width,b=this.height,c=g.u(a)&&-1!=a.indexOf("%"),d=g.u(b)&&-1!=b.indexOf("%");if(!this.He&&(c||d))return null;if(c){var e=this.ra().parentNode;var f=g.th(e);a=(0,window.parseFloat)(a)*f.width/100}d&&(e=e||this.ra().parentNode,f=f||g.th(e),b=(0,window.parseFloat)(b)*f.height/100);return new g.Qd(a,b)};
|
||||||
|
g.h.clear=function(){this.C.clear();g.ne(this.G);this.o={}};
|
||||||
|
g.h.Ri=function(){var a=this.Xi();n4.aa.Ri.call(this);a||this.dispatchEvent("resize");if(this.P){var a=this.width,b=this.height;"string"==typeof a&&-1!=a.indexOf("%")&&"string"==typeof b&&-1!=b.indexOf("%")&&this.K.V(lra(),"tick",this.Bo);this.Bo()}};
|
||||||
|
g.h.qk=function(){n4.aa.qk.call(this);this.P&&this.K.Ca(lra(),"tick",this.Bo)};
|
||||||
|
g.h.W=function(){delete this.o;delete this.G;delete this.C;this.K.dispose();delete this.K;n4.aa.W.call(this)};g.z(t4,g.sV);t4.prototype.load=function(){t4.aa.load.call(this);if(!u4(g.Y(this.g).o)){var a=this.g.ia(),b=a.videoId;this.C&&this.C.abort();b={method:"POST",Fd:(0,g.y)(this.X,this,b),bd:{v:b},withCredentials:!0};"gaming"==g.Y(this.g).o&&(b.bd.gaming="1");this.P&&(b.bd.ptype="embedded");var c=this.g.ia().Cw;c&&(b.Tb={ad_tracking:c});if(a=g.GP(a))this.C=g.LE(a,b)}};
|
||||||
|
t4.prototype.unload=function(){v4(this,null);this.C&&(this.C.abort(),this.C=null);t4.aa.unload.call(this)};
|
||||||
|
t4.prototype.ca=function(a,b){if(!u4(g.Y(this.g).o))return null;if("loadCustomEndscreenRenderer"==a){var c=mra(b,"new");v4(this,c);return!0}return null};
|
||||||
|
t4.prototype.X=function(a,b){var c=this.C=null;if(200==b.status){var d=b.responseText;")]}"==d.substring(0,3)&&(d=d.substring(3),c=JSON.parse(d),c=mra(c,this.P?"new":"current"))}v4(this,c)};
|
||||||
|
for(var B6=[346,426,470,506,570,640,853,1280,1920],C6=[],D6=0;D6<B6.length;D6++)C6.push("ytp-ce-size-"+B6[D6]);var xua=["ytp-ce-top-left-quad","ytp-ce-top-right-quad","ytp-ce-bottom-left-quad","ytp-ce-bottom-right-quad"];g.h=t4.prototype;
|
||||||
|
g.h.FC=function(){if(this.A&&this.A.elements){var a=this.g.Qy();if(a&&0!=a.width&&0!=a.height){var b=this.g.Py();if(b&&0!=b.width&&0!=b.height){var c=a.width/a.height;var d=null;for(var e=-1,f=0;f<B6.length;f++){var k=Math.abs(b.width-B6[f]);if(-1==e||d>=k)e=f,d=k}d=C6[e];this.B&&g.ah(this.B.element,"outline-width",Math.max(b.width,b.height)+"px");for(b=0;b<this.A.elements.length;++b)if(f=this.A.elements[b].id,e=this.o[f],k=this.G[f],e&&k){var l=k.width*c/k.aspectRatio,f=Math.round(l*a.height),m=
|
||||||
|
a.left+Math.round(k.left*a.width),n=a.top+Math.round(k.top*a.height);g.sh(e.element,Math.round(k.width*a.width),f);g.hh(e.element,m,n);g.Jp(e.element,xua);m=k.left+k.width/2;k=k.top+l/2;g.R(e.element,.5>=m&&.5>=k?"ytp-ce-top-left-quad":.5<m&&.5>=k?"ytp-ce-top-right-quad":.5>=m&&.5<k?"ytp-ce-bottom-left-quad":"ytp-ce-bottom-right-quad");g.Jp(e.element,C6);g.R(e.element,d);(e=g.Xd(window.document,"div","ytp-ce-expanding-overlay-body",e.element)[0])&&g.ah(e,"height",f+"px")}}}}};
|
||||||
|
g.h.OT=function(a){if(this.A)if("ytp-ce-in-endscreen"==a.getId())this.K=!1,this.A.skip&&1==this.g.Sk()?(a=this.g,g.X1(a.app,!0,a.playerType),this.g.wc(window.Infinity),this.K=!0):(y4(this,this.A.impressionUrls),r4([this.A.visualElement]));else if(!this.K){a=a.getId().substring(15);var b=this.o[a],c=this.G[a];g.R(b.element,"ytp-ce-element-show");b.element.removeAttribute("aria-hidden");b=this.g.getRootNode();g.R(b,"ytp-ce-shown");y4(this,c.impressionUrls);r4([c.visualElement]);g.Y(this.g).Fb&&this.g.za("endscreenelementshown",
|
||||||
|
a)}};
|
||||||
|
g.h.PT=function(a){if("ytp-ce-in-endscreen"!=a.getId()&&!this.K){a=a.getId().substring(15);var b=this.o[a];g.Ip(b.element,"ytp-ce-element-show");b.element.setAttribute("aria-hidden",!0);b=this.g.getRootNode();g.Ip(b,"ytp-ce-shown");g.Y(this.g).Fb&&this.g.za("endscreenelementhidden",a)}};
|
||||||
|
g.h.tR=function(a){a.target===window&&(new g.rt(function(){for(var a in this.o)g.Jp(this.o[a].element,["ytp-ce-force-expand","ytp-ce-element-hover","ytp-ce-element-shadow-show"])},0,this)).start()};
|
||||||
|
g.h.kA=function(a,b){if(a.targetUrl&&(!b||"keypress"!=b.type||13==b.keyCode)){for(var c=b.target;c&&!g.Gp(c,"ytp-ce-element");){g.Gp(c,"subscribe-label")&&z4(this,a);if(g.Gp(c,"ytp-ce-channel-subscribe"))return;c=g.we(c)}if(!c||g.Gp(c,"ytp-ce-element-hover")){b.preventDefault();b.stopPropagation();if(c=this.o[a.id])this.Es(c,a),c.element.blur();b.ctrlKey||b.metaKey||"new"==a.wo?(z4(this,a),this.uB(),this.g.sd(),g.rV(a.targetUrl,void 0,a.Sd)):(c=(0,g.y)(this.uB,this,g.Aa(g.qV,a.targetUrl,a.Sd)),z4(this,
|
||||||
|
a,c))}}};
|
||||||
|
g.h.du=function(a,b){g.Gp(a.element,"ytp-ce-element-hover")||("VIDEO"==b.type||"PLAYLIST"==b.type?g.R(a.element,"ytp-ce-element-hover"):g.Y(this.g).isMobile?(new g.rt(function(){g.R(a.element,"ytp-ce-element-hover")},200)).start():g.R(a.element,"ytp-ce-element-hover"),y4(this,b.wI),x4(this,b.id,!0))};
|
||||||
|
g.h.Es=function(a,b){g.Ip(a.element,"ytp-ce-element-hover");g.Ip(a.element,"ytp-ce-force-expand");x4(this,b.id,!1)};
|
||||||
|
g.h.uB=function(a){this.g.ni(17,a)};var xra={AW:"current",GZ:"new"};var zra={CLOSE:"close",NZ:"openUrl",LF:"subscribe"},Ara={Zo:"click",CLOSE:"close",TX:"hidden",G_:"rollOut",yF:"rollOver",CF:"shown"};var Fra={Y1:"xx",Z1:"xy",d2:"yx",e2:"yy"};g.z(Jra,N4);var Pra={GD:"anchored",s_:"rect",R_:"shapeless"};var Ura={CLOSED:"closed",WZ:"playerControlShow",yF:"rollOver",CF:"shown"};var O4={GD:"anchored",KD:"branding",CHANNEL:"channel",zW:"cta",VX:"highlightText",yY:"label",PLAYLIST:"playlist",Lu:"popup",Su:"speech",LF:"subscribe",H0:"title",VIDEO:"video",N1:"vote",Q1:"website"},$ra={KD:"branding",WV:"card",lX:"drawer",AE:"highlight",UY:"marker",l_:"promotion",TEXT:"text",T1:"widget"},asa={I1:"video_relative",XZ:"player_relative"};Zra.prototype.showLinkIcon=function(){return Q4(this,function(a){return null!=a.url&&a.url.showLinkIcon})};jsa.prototype.B=function(a,b,c,d){this.g[a]=b?!c:c;a=Zqa(this.g,function(a){return a});
|
||||||
|
this.o!=a&&(this.o=a,this.A.Y(this.C,a,d))};T4.prototype.ra=function(){return this.C};
|
||||||
|
T4.prototype.A=function(){};var X4={bevel:1,dropshadow:2};var E6={Xo:"annotation-shape",wE:"focus",AE:"annotation-highlight-shape",Lu:"annotation-popup-shape",Su:"annotation-speech-shape"};g.p(Z4,T4);
|
||||||
|
Z4.prototype.A=function(a,b){var c=S4(a);if(c){var d=L4(c,b);if(!(0>=d.width||0>=d.height)){var e=(c=(c=gsa(a))&&c.g?c.g:null)&&c.length?c[0]:null;if(e){var f=g.Sg(Dra(b,Hra(e,new g.Mg(e.F,e.G,e.El,e.A),b.g))),k=d.clone(),c=new g.Mg(f.x,f.y,1,1),l=Math.max(k.left+k.width,c.left+c.width),m=Math.max(k.top+k.height,c.top+c.height);k.left=Math.min(k.left,c.left);k.top=Math.min(k.top,c.top);k.width=l-k.left;k.height=m-k.top;var c=a.g,k=Y4(k,c.effects),l=U4(this,k.width,k.height),m=ssa(c,k.width,k.height,
|
||||||
|
this.g),d=new g.Mg(d.left-k.left,d.top-k.top,d.width,d.height),n=new g.Nd(f.x-k.left,f.y-k.top);this.B=17*M4(b.g,e.o,e.g?e.g:"xy");var e=c.cornerRadius,f=a.g,q=this.g&&R4(a),r=q?f.borderWidth+1:f.borderWidth,q=(f=r?new k4(r,q?f.o:f.borderColor):null)?f.Eb()/2:0,r=tsa(d,n),w=this.D(d,e,n,r),A=n.x,n=n.y,C=d.width,B=d.height,M=d.left,d=d.top,X=new i4;dra(X,M+e+q,d+q);"t"==r&&(X.Jc(w.start,d+q),X.Jc(A,n),X.Jc(w.end,d+q));X.Jc(M+C-e-q,d+q);j4(X,e,e,-90);"r"==r&&(X.Jc(M+C-q,w.start),X.Jc(A,n),X.Jc(M+C-
|
||||||
|
q,w.end));X.Jc(M+C-q,d+B-e-q);j4(X,e,e,0);"b"==r&&(X.Jc(w.end,d+B-q),X.Jc(A,n),X.Jc(w.start,d+B-q));X.Jc(M+e+q,d+B-q);j4(X,e,e,90);"l"==r&&(X.Jc(M+q,w.end),X.Jc(A,n),X.Jc(M+q,w.start));X.Jc(M+q,d+e+q);j4(X,e,e,180);X.close();o4(l,X,f,m);if(m=this.ra())g.R(m,E6.Xo),g.R(m,E6.Su),g.hh(m,k.left,k.top),g.sh(m,k.width,k.height),rsa(l,m,c.effects)}}}};
|
||||||
|
Z4.prototype.D=function(a,b,c,d){function e(a,c,d,e){a=Math.min(Math.max(e-2*b,0),a);c=g.Id(c-a/2,d+b,d+e-a-b);return new a4(c,c+a)}
|
||||||
|
return"t"==d||"b"==d?e(this.B,c.x,a.left,a.width):"l"==d||"r"==d?e(this.B,c.y,a.top,a.height):new a4(0,0)};g.p($4,T4);$4.prototype.A=function(a,b){var c=S4(a);if(c){var d=L4(c,b);if(!(0>=d.width||0>=d.height)){var e=a.g,c=Y4(d,e.effects),f=U4(this,c.width,c.height),k=new g.Mg(0,0,d.width,d.height),l=e.cornerRadius,d=new k4(!e.A&&this.g?1:e.A,e.bgColor),m=new e4("#000",0),n=d?d.Eb()/2+1:0,k=qsa(k,l,n);o4(f,k,d,m);f=this.ra();g.R(f,E6.Xo);e=e.g;g.vh(f,this.g?Math.max(e,.9):e);g.hh(f,c.left,c.top);g.sh(f,c.width,c.height)}}};g.p(a5,T4);a5.prototype.A=function(a,b){var c=S4(a);if(c){var d=L4(c,b);if(!(0>=d.width||0>=d.height)){var c=a.g,e=Y4(d,c.effects),f=U4(this,e.width,e.height),k=ssa(c,d.width,d.height,this.g),d=new g.Mg(0,0,d.width,d.height),l=c.cornerRadius,m=a.g,n=this.g&&R4(a),q=n?m.borderWidth+1:m.borderWidth,n=(m=q?new k4(q,n?m.o:m.borderColor):null)?m.Eb()/2+1:0,d=qsa(d,l,n);o4(f,d,m,k);if(k=this.ra())g.R(k,E6.Xo),g.R(k,E6.Lu),g.hh(k,e.left,e.top),g.sh(k,e.width,e.height),rsa(f,k,c.effects)}}};g.p(b5,Z4);b5.prototype.D=function(a,b,c,d){function e(a,c,d,e){a=Math.min(Math.max(e-2*b,0),a);c=c<=d+e/2?Math.max(d+e/4-a/2,d+b):Math.min(d+3*e/4-a/2,d+e-a-b);return new a4(c,c+a)}
|
||||||
|
return"t"==d||"b"==d?e(this.B,c.x,a.left,a.width):"l"==d||"r"==d?e(this.B,c.y,a.top,a.height):new a4(0,0)};g.h=usa.prototype;g.h.IC=function(){this.P||(this.B&&g.N(this.B,!0),this.C&&g.N(this.C,!0),this.A&&(this.A.g=!0,g.vh(this.o,f5(this)?1:0),this.A.A(this.g,d5(this))),this.J.isActive()&&this.J.stop(),this.P=!0,this.K=zqa(this.F,g.OU(this.D),function(a){this.us.stop();this.th(a)}))};
|
||||||
|
g.h.th=function(){this.P&&(this.X?this.J.start():this.Cx(),this.A&&(this.A.g=!1,g.vh(this.o,f5(this)?1:0),this.A.A(this.g,d5(this))),this.P=!1,this.K&&(this.F.Ca(this.K),this.K=null))};
|
||||||
|
g.h.Cx=function(){this.B&&g.N(this.B,!1);this.C&&g.N(this.C,!1)};
|
||||||
|
g.h.tP=function(a){this.fa=a;this.us.aj()};
|
||||||
|
g.h.QT=function(){var a=this.fa,b=new g.Nd(a.clientX,a.clientY),c=g.lh(this.D.getRootNode()),d=ysa(c,this.O),c=(this.C&&g.wh(this.C)||this.B&&g.wh(this.B))&&ysa(c,this.X);d&&d.contains(b)||c&&c.contains(b)?this.IC():this.th(a)};
|
||||||
|
g.h.show=function(){var a=this.g.g,a=(a&&0==a.g||"title"==this.g.style||"highlightText"==this.g.style?!1:!0)&&!this.A,b=!this.o,c="widget"==this.g.type;if(a){var d=d5(this),e=null;"highlight"==this.g.type||"label"==this.g.style?e=new $4:"popup"==this.g.style?e=new a5:"anchored"==this.g.style?e=new Z4:"speech"==this.g.style&&(e=new b5);e&&(e.A(this.g,d),this.A=e,d=e.ra())&&(g.N(d,!1),g.R(d,"annotation-type-"+this.g.type.toLowerCase()),this.ca(d))}if(b){d=["annotation"];"highlightText"!=this.g.style||
|
||||||
|
d.push("annotation-no-mouse");d.push("annotation-type-"+this.g.type.toLowerCase());this.o=g.he("DIV",d);g.N(this.o,!1);this.g.B&&(this.G=g.he("DIV","inner-text"),"label"==this.g.style&&(g.R(this.G,"label-text"),this.G.style.backgroundColor=this.g.g.bgColor),g.ze(this.G,this.g.B),this.o.appendChild(this.G));g.qF(this.o,"annotation_id",this.g.id);this.ca(this.o);vsa(this,this.o);if(R4(this.g)&&this.g.showLinkIcon()){if(e=P4(this.g))d=this.o,e=new g.Kl(K4(e)),d.title=e.o+e.A;this.C=g.he("SPAN","annotation-link-icon");
|
||||||
|
g.N(this.C,!1);this.o.appendChild(this.C)}wsa(this);R4(this.g)||(this.o.style.cursor="default")}c&&("subscribe"==this.g.style?g.J("yt-uix-subscription-button",this.o)||(c=this.o,d=this.g.htmlBlob,d.match(/\sstyle\s*=/),c.innerHTML=d):this.g.htmlBlob&&(c=this.o,d=this.g.htmlBlob,d.match(/\sstyle\s*=/),c.innerHTML=d));if(a||b){a:{a=this.g.o.g;if(a.length&&(a=Rra(a[0]))){a=a.J;break a}a=0}this.o&&(this.o.style.zIndex=a);this.A&&this.A.ra()&&(this.A.ra().style.zIndex=a)}g.N(this.o,!0);g.vh(this.o,f5(this)?
|
||||||
|
1:0);e5(this);this.A&&this.A.ra()&&g.N(this.A.ra(),!0)};
|
||||||
|
g.h.hide=function(){this.o&&g.N(this.o,!1);this.A&&this.A.ra()&&g.N(this.A.ra(),!1);this.M&&(this.F.Ca(this.M),this.M=null)};g.h=Asa.prototype;g.h.hide=function(){this.isVisible=!1;this.view&&(Bsa(this),this.view.hide())};
|
||||||
|
g.h.show=function(){this.isVisible=!0;this.view&&(this.view.show(),this.o.subscribe("resize",this.HC,this),this.o.subscribe("onVideoAreaChange",this.MA,this))};
|
||||||
|
g.h.destroy=function(){if(this.view){Bsa(this);var a=this.view;g.NF(a.F);a.us.dispose();a.J.dispose();a.o&&g.qe(a.o);a.A&&a.A.ra()&&g.qe(a.A.ra())}g5(this)};
|
||||||
|
g.h.MA=function(){e5(this.view)};
|
||||||
|
g.h.HC=function(){e5(this.view)};g.z(Csa,S3);g.z(h5,S3);g.z(Dsa,h5);g.z(Esa,S3);g.z(Fsa,S3);g.z(Hsa,h5);g.z(Isa,h5);g.z(Jsa,S3);g.z(i5,S3);r5.prototype.o=function(a,b){var c=g.Fe(b.target,"label");c&&g.S(c,"iv-card-poll-choice-focused",a)};
|
||||||
|
r5.prototype.F=function(a,b){var c=g.Ge(b.target,"iv-card-poll");if(c)if(a.A)g.J("iv-card-sign-in-button",c).click();else{var d=(0,window.parseInt)($3(b.target,"pollChoiceIndex"),10);if(null==a.g)a.choices[d].count++,a.g=d;else if(a.g!=d){var e=a.choices[a.g];e.count=Math.max(e.count-1,0);a.choices[d].count++;a.g=d}else e=a.choices[a.g],e.count=Math.max(e.count-1,0),a.g=null;Osa(a,c);g.NE(this.g.videoData.Af,{bd:{action_poll_vote:1},Tb:{poll_id:a.id,index:d,session_token:a.G}});e={};e["link-id"]=
|
||||||
|
d;n5(this.g.logger,a.Xb,void 0,e,a.o.click,5);s4(a.C)}};
|
||||||
|
r5.prototype.D=function(a){var b=g.v("yt.www.ypc.bootstrap.api.loadOffersForInnertubeRequestParams");b&&(b=g.Aa(b,a.K,a.B));Ssa(this,a,!0,b)};
|
||||||
|
r5.prototype.G=function(a){var b=g.v("yt.www.ypc.bootstrap.api.loadOffers");b&&(b=g.Aa(b,a.K,a.B,a.M));Ssa(this,a,!1,b)};g.h=A5.prototype;g.h.to=function(){this.context.A.subscribe("resize",this.pm,this)};
|
||||||
|
g.h.ra=function(){return this.bb};
|
||||||
|
g.h.Bi=function(a,b,c,d,e,f,k){this.context.g.V(a,"click",g.Aa(this.En,b,c,d,e,f||[],k||0),this);this.context.g.V(a,"touchstart",g.Aa(function(){this.Qt=!1}),this);
|
||||||
|
this.context.g.V(a,"touchmove",g.Aa(function(){this.Qt=!0}),this)};
|
||||||
|
g.h.En=function(a,b,c,d,e,f,k){if(this.Qt)return!1;k&&(k.stopPropagation(),k.preventDefault());$sa(this,a,c,d,e,f);return!1};
|
||||||
|
g.h.show=function(){this.X=(0,g.F)()};
|
||||||
|
g.h.hide=function(){};
|
||||||
|
g.h.destroy=function(){g.qe(this.ra())};
|
||||||
|
g.h.pm=function(){};g.z(C5,A5);g.h=C5.prototype;g.h.isAvailable=function(){var a;if(a=!!this.o.length)(a=this.U.getRootNode())?(a=g.th(a),a=177<a.width&&177<a.height):a=!1;return a};
|
||||||
|
g.h.jG=function(){this.Wa&&E5(this,"YOUTUBE_DRAWER_AUTO_OPEN")};
|
||||||
|
g.h.OG=function(){(this.Wa=this.B)&&this.Am()};
|
||||||
|
g.h.RT=function(){E5(this,"YOUTUBE_DRAWER_AUTO_OPEN")};
|
||||||
|
g.h.Am=function(){this.B&&(this.ha.hide(),g.DF(this.P),this.P=null,g.Ip(this.context.o.getRootNode(),"ytp-iv-drawer-open"),this.B=!1,J3(this.U),this.F&&this.F.stop(),this.F=new g.rt(function(){this.ca&&(this.ca.focus(),this.ca=null)},330,this),this.F.start())};
|
||||||
|
g.h.pm=function(){var a=this.isAvailable();g.N(this.ra(),a);g.S(this.context.o.getRootNode(),"ytp-iv-drawer-enabled",a);J3(this.U)};
|
||||||
|
g.h.destroy=function(){var a=g.GU(this.U).A;a&&a.bu(!1,void 0);this.U.getRootNode().removeChild(this.D);g.eG(this.fa);g.DF(this.P);this.O&&this.O.dispose();this.F&&this.F.dispose();C5.aa.destroy.call(this)};
|
||||||
|
var ata={collaborator:Csa,donation:Dsa,episode:i5,movie:i5,playlist:Esa,poll:Fsa,productListing:Hsa,simple:h5,tip:Isa,video:Jsa};g.h=C5.prototype;
|
||||||
|
g.h.ST=function(a){this.Np.start();a.preventDefault();a=a||window.event;var b=0;"MozMousePixelScroll"==a.type?b=0==(a.axis==a.HORIZONTAL_AXIS)?a.detail:0:window.opera?b=a.detail:b=0==a.wheelDelta%120?"WebkitTransform"in window.document.documentElement.style?window.chrome&&0==window.navigator.platform.indexOf("Mac")?a.wheelDeltaY/-30:a.wheelDeltaY/-1.2:a.wheelDelta/-1.6:a.wheelDeltaY/-3;if(a=b)this.A.scrollTop+=a};
|
||||||
|
g.h.EB=function(a){if(!g.Gp(this.U.getRootNode(),"ytp-cards-teaser-shown")){this.g!=a&&(this.g=a,D5(this));if(g.wh(this.ra())){if(2==this.context.o.Xa())var b=1==((0,window.isNaN)(void 0)?this.context.o.Hy():void 0);else b=(0,window.isNaN)(void 0)?this.context.o.Sk():void 0,b=1==b||0==b&&0===this.context.o.getCurrentTime();if(b&&a.sc.teaserDurationMs){b={teaserText:a.sc.teaserText,durationMs:a.sc.teaserDurationMs};var c=g.GU(this.U).A;c&&c.bu(!0,b)}}this.ka.isActive()||((!this.B||!this.Np.isActive()&&
|
||||||
|
this.Bn)&&jta(this,a),this.ka.start(910+a.sc.teaserDurationMs))}};
|
||||||
|
g.h.sS=function(a){this.B||(this.g=a,D5(this),jta(this,a),E5(this,"YOUTUBE_DRAWER_AUTO_OPEN",!1,a))};
|
||||||
|
g.h.GG=function(){this.B&&(p5(this.context.logger,this.M,4,F5(this).o.close),this.G&&s4(this.G),this.Am())};
|
||||||
|
g.h.TG=function(){g.S(this.D,"iv-drawer-scrolled",0<this.A.scrollTop)};
|
||||||
|
g.h.LJ=function(){var a=F5(this);q5(this.context.logger,8,a.Xb,a.o.GS);a&&r4([a.F,a.D])};
|
||||||
|
g.h.KJ=function(a){var b=F5(this);this.g?a?(a=this.context.logger,q5(a,9,b.Xb,b.o.vt),a.U.ni(4,void 0),s4(b.F)):(a=this.context.logger,q5(a,12,b.Xb,b.o.vt),a.U.ni(4,void 0),s4(b.D)):(a=this.context.logger,p5(a,this.M,12,b.o.vt),a.U.ni(4,void 0),this.da&&s4(this.da))};g.z(G5,A5);G5.prototype.to=function(){G5.aa.to.call(this);var a=this.annotation.data;"start_ms"in a&&"end_ms"in a&&B5(this,this.annotation.data.start_ms,this.annotation.data.end_ms,this.annotation.id,this.show,this.hide)};g.z(H5,G5);g.h=H5.prototype;g.h.AS=function(a,b,c,d){this.A.stop();if(!this.B){var e=g.th(a);this.g||(g.rh(a,e.width),g.rh(b,e.width));g.ah(c,"top",e.height-Math.max(Math.min(e.height,d)/2+Math.round(10),20)+"px");g.ah(c,"right","1px");this.B=!0;g.N(a,!0);this.C=new g.rt(function(){g.R(this.ra(),"iv-branding-active")},0,this);
|
||||||
|
this.C.start()}};
|
||||||
|
g.h.tI=function(a,b){g.Ip(this.ra(),"iv-branding-active");this.D=new g.rt((0,g.y)(function(){g.N(a,!1);this.g||g.rh(b,0)},this),250);
|
||||||
|
this.D.start();this.B=!1};
|
||||||
|
g.h.show=function(){if(!this.isActive){H5.aa.show.call(this);if(!this.F){g.R(this.ra(),"iv-branding");var a=this.annotation.data;this.G=a.image_width;this.o=g.he("IMG",{src:a.image_url,"class":"branding-img iv-click-target",width:a.image_width,height:a.image_height});g.N(this.o,!1);var b=g.he("DIV","branding-img-container",this.o);this.ra().appendChild(b);var c=g.he("DIV","iv-branding-context-name");g.ze(c,a.channel_name);var d=g.he("DIV","iv-branding-context-subscribe");if(b=a.standalone_subscribe_button_data)this.g=
|
||||||
|
new g.q1(b.subscribeText,b.subscribeCount,b.unsubscribeText,b.unsubscribeCount,!!b.enabled,!!b.classic,a.channel_id,!!b.subscribed,b.feature,a.session_data.itct,b.signinUrl,this.J.o),this.g.Ia(d);b=g.he("DIV","iv-branding-context-subscribe-caret");c=g.he("DIV","branding-context-container-inner",b,c,d);g.N(c,!1);d=g.he("DIV","branding-context-container-outer",c);g.ah(d,"right",this.G+"px");this.ra().appendChild(d);var e=P4(this.annotation);e&&this.Bi(this.o,e,this.annotation.id,a.session_data,this.annotation.Xb);
|
||||||
|
this.A=new g.rt(g.Aa(this.tI,c,d),500,this);this.context.g.V(this.ra(),"mouseover",(0,g.y)(this.AS,this,c,d,b,a.image_height));this.context.g.V(this.ra(),"mouseout",(0,g.y)(this.A.start,this.A,void 0));this.F=!0}m5(this.context.logger,this.annotation.Xb);g.N(this.ra(),!0);this.isActive=!0;if(this.o){var a=this.o,b=g.uh(a).width,c=g.oa(void 0)?void 0:b;var f=f||0;g.hh(a,c);f=new Y3(a,[c,a.offsetTop],[c-b-f,a.offsetTop],200,Uqa);this.context.B.V(f,"begin",g.Aa(g.N,a,!0));f.play()}}};
|
||||||
|
g.h.hide=function(){this.isActive&&(g.N(this.ra(),!1),this.isActive=!1)};
|
||||||
|
g.h.destroy=function(){this.g&&(this.g.dispose(),this.g=null);H5.aa.destroy.call(this)};g.z(I5,G5);g.h=I5.prototype;g.h.show=function(){this.isActive||(I5.aa.show.call(this),this.J||(kta(this),this.J=!0),g.N(this.ra(),!0),this.annotation&&this.annotation.Xb&&m5(this.context.logger,this.annotation.Xb),g.Ip(this.ra(),"iv-promo-inactive"),this.ra().removeAttribute("aria-hidden"),this.isActive=!0,J5(this),mta(this),nta(this,this.F))};
|
||||||
|
g.h.hide=function(){this.isActive&&(g.R(this.ra(),"iv-promo-inactive"),this.isActive=!1,this.ra().setAttribute("aria-hidden",!0))};
|
||||||
|
g.h.En=function(a,b,c,d,e,f,k){return this.C?!1:I5.aa.En.call(this,a,b,c,d,e,f,k)};
|
||||||
|
g.h.Kq=function(a,b){b.stopPropagation();mta(this);nta(this,a);this.wd.focus()};
|
||||||
|
g.h.HH=function(a){this.G=!0;this.Kq(500,a)};
|
||||||
|
g.h.GH=function(){this.G=!1;lta(this)};
|
||||||
|
g.h.TT=function(a){a.stopPropagation();this.hide();o5(this.context.logger,this.annotation.Xb)};
|
||||||
|
g.h.wH=function(a){a.stopPropagation();J5(this);this.C=!0;g.R(this.ra(),"iv-promo-collapsed-no-delay");this.D.start();o5(this.context.logger,this.annotation.Xb)};
|
||||||
|
g.h.destroy=function(){this.D.dispose();I5.aa.destroy.call(this)};g.z(K5,g.sV);K5.C="AnnotationsModule";K5.A=function(a){switch(a.type){case "branding":case "promotion":return!0}return!1};
|
||||||
|
K5.B=function(a){return"card"==a.type||"drawer"==a.type};
|
||||||
|
K5.o=function(){var a=g.he("DIV",["annotation","annotation-type-custom"]);g.N(a,!1);return a};
|
||||||
|
K5.g=function(a){switch(a){case "annotation-editor":case "live-dashboard":return!0}return!1};
|
||||||
|
g.h=K5.prototype;g.h.HT=function(a,b){if(!K5.g(g.Y(this.g).o))return null;switch(a){case "loadCustomAnnotationsXml":var c=g.lr(b);c&&M5(this,c);return!0;case "removeCustomAnnotationById":return b&&this.o&&(cta(this.o,b),J3(this.g)),!0}return null};
|
||||||
|
g.h.IT=function(){return K5.g(g.Y(this.g).o)?["loadCustomAnnotationsXml","removeCustomAnnotationById"]:[]};
|
||||||
|
g.h.Gs=function(){if(this.F){var a=g.WY(g.OU(this.g),!0);g.sh(this.F.element,a.width,a.height);g.hh(this.F.element,a.left,a.top)}if(this.o){var b=xqa(this.g.app.A.D),a=this.o,b=b.width;g.S(a.D,"iv-drawer-small",426>=b);g.S(a.D,"iv-drawer-big",1280<=b)}};
|
||||||
|
g.h.TP=function(a){g.V(a.state,2)&&(this.Gl()&&this.EC()&&2!=this.g.Xa()&&this.cu(!1),this.bu(!1))};
|
||||||
|
g.h.load=function(){K5.aa.load.call(this);this.D.show();this.K++;var a=this.g.ia(),b=a.videoId,c=(0,g.y)(this.CO,this,b,this.K),d=(0,g.y)(function(){this.C=null},this);
|
||||||
|
g.BG()&&(c=uta(this,c));c={format:"XML",Fd:c,onError:d,bd:{}};a.isPharma&&(c.bd.pharma="1");c.method="POST";c.withCredentials=!0;d=g.Y(this.g);"gaming"==d.o&&(c.bd.gaming="1");(b=d.G.get(b))&&vta(c,b);b=b&&b.Mh;if(!a.fm||b)a.Af?this.C=g.LE(a.Af,c):(this.B=(0,g.y)(this.NT,this,c),this.g.addEventListener("videodatachange",this.B));g.hV(this.g,this.F.element,5);this.Gs()};
|
||||||
|
g.h.NT=function(a){var b=this.g.ia();b.Af&&(this.B&&(this.g.removeEventListener("videodatachange",this.B),this.B=null),this.C=g.LE(b.Af,a))};
|
||||||
|
g.h.unload=function(){Nsa(this.gb,{"iv-event":1});g.dV(this.g,"annotations_module");g.Jb(this.A,function(a){a.destroy()});
|
||||||
|
g.Jb(this.M,function(a){a.destroy()});
|
||||||
|
this.J=null;this.o&&(this.o.destroy(),this.o=null,J3(this.g));this.C&&(this.C.abort(),this.C=null);this.A={};this.M={};this.D.hide();K5.aa.unload.call(this);this.F.detach();this.B&&(this.g.removeEventListener("videodatachange",this.B),this.B=null)};
|
||||||
|
g.h.CO=function(a,b,c){this.C=null;if(!qta(this,b,a)&&(a=g.uE(c)&&c.responseXML?c.responseXML:null)){M5(this,a);g.R(this.g.getRootNode(),"iv-module-loaded");a=[];for(var d in this.A){b=this.A[d].annotation;if(b.o)if(c=b.o,c.g.length)if(c=c.g[0].o||c.g[0].g||c.g[0].A,!c||2>c.length)c=null;else{var e=c.length-1;c=0>=c[0].t&&0>=c[e].t?null:{start:c[0].t,end:c[e].t}}else c=null;else c=null;if(e=c)if(c=1E3*e.start,e=1E3*e.end,0==c&&(c++,e++),!(e<c)){var f={id:d,namespace:"annotations_module"};"marker"==
|
||||||
|
b.type&&(f.style="ytp-chapter-marker",f.tooltip=b.B,f.visible=!0);b=new g.oJ(c,e,f);a.push(b)}}g.aV(this.g,a)}};
|
||||||
|
g.h.LA=function(a){a==this.g.ia().videoId&&(this.loaded?wta(this):this.load())};
|
||||||
|
g.h.JT=function(a){a=a.getId();var b=this.A[a];b&&!b.A&&(b=b.annotation,zta(this,a),m5(this.gb,b.Xb))};
|
||||||
|
g.h.KT=function(a){N5(this,a.getId())};
|
||||||
|
g.h.Ax=function(a){a&&(a.hide(),O5(this,"shown",!1,a.annotation.id),this.Jm(a.annotation,"hidden"))};
|
||||||
|
g.h.OB=function(a){a&&(a.show(),O5(this,"shown",!0,a.annotation.id),this.Jm(a.annotation,"shown"))};
|
||||||
|
g.h.YQ=function(a,b,c){var d=this.A[a];if(d&&b.value!=c){b.value=c;var e=!1;esa(d.annotation,function(a){e|=a.value});
|
||||||
|
Ata(this,a,b,e)}};
|
||||||
|
g.h.uN=function(a){if(a&&a.id){var b=P4(a);if(b){var c=K4(b);if(c){var d=(0,g.y)(this.Jm,this,a,"click");if("new"==z5(c,b.target)||Bta(this,b))d(),d=null;n5(this.gb,a.Xb,d)}}}};
|
||||||
|
g.h.Jm=function(a,b){dsa(a,function(c){if(c.trigger==b&&"openUrl"==c.type&&c.url){var d=this.g.ia(),e;if(!(e=!Bta(this,c.url))){e=Xsa(c.url);var f=Wsa(c.url);e?(d.videoId==e?this.g.wc(f||0):(d=L5(this).o,g.r2(d.app,e,void 0,void 0,void 0,void 0),f&&L5(this).o.Od()&&L5(this).o.wc(f)),d=!0):d=!1;e=!d}e&&(e=g.Y(this.g),(d=K4(c.url))?(f=Vsa(d),e&&"com"==f[0]&&"google"==f[1]&&"plus"==f[2]&&(e=g.Aa(Ysa,e.pageId,e.Ec),d=new g.Kl(d),g.Ol(d,e(d.A)),d=d.toString())):d=null,d&&(this.g.sd(),c=z5(d,c.url.target),
|
||||||
|
e=a.itct,c="current"==c?"_top":void 0,"ei"in g.GE(d)&&(d=g.Gg(d,"ei")),g.rV(d,c,{itct:e})))}},this)};
|
||||||
|
g.h.KO=function(){O5(this,"playerControlShow",!1)};
|
||||||
|
g.h.CQ=function(){O5(this,"playerControlShow",!0)};
|
||||||
|
g.h.LT=function(a){O5(this,"rollOver",!0,a.id)};
|
||||||
|
g.h.th=function(a){O5(this,"rollOver",!1,a.id)};
|
||||||
|
g.h.ZN=function(a){a&&a.id&&(this.A[a.id].A=!0,N5(this,a.id),o5(this.gb,a.Xb),this.Jm(a,"close"),O5(this,"closed",!0,a.id))};
|
||||||
|
g.h.Gl=function(){return!!this.o&&this.o.isAvailable()};
|
||||||
|
g.h.EC=function(){this.Gl();return!!this.o&&this.o.B};
|
||||||
|
g.h.cu=function(a,b,c){this.Gl();this.o&&(b=!!b,a?g.t(c)?E5(this.o,c,b):E5(this.o,"YOUTUBE_DRAWER_AUTO_OPEN",b):this.o.Am())};
|
||||||
|
g.h.bu=function(a,b){this.g.Y(a?"cardsteasershow":"cardsteaserhide",b)};
|
||||||
|
g.h.W=function(){g.Y(this.g).G.unsubscribe("vast_info_card_add",this.LA,this);g.Ip(this.g.getRootNode(),"ytp-iv-drawer-open");for(var a=this.O,b=0,c=a.length;b<c;b++)g.DG(a[b]);this.O.length=0;K5.aa.W.call(this)};var Q5={},yua="ontouchstart"in window.document;g.CF(window.document,"blur",R5,!0);g.CF(window.document,"change",R5,!0);g.CF(window.document,"click",R5);g.CF(window.document,"focus",R5,!0);g.CF(window.document,"mouseover",R5);g.CF(window.document,"mouseout",R5);g.CF(window.document,"mousedown",R5);g.CF(window.document,"keydown",R5);g.CF(window.document,"keyup",R5);g.CF(window.document,"keypress",R5);g.CF(window.document,"cut",R5);g.CF(window.document,"paste",R5);
|
||||||
|
yua&&(g.CF(window.document,"touchstart",R5),g.CF(window.document,"touchend",R5),g.CF(window.document,"touchcancel",R5));g.h=S5.prototype;g.h.ae=function(a){return g.Ge(a,Z(this))};
|
||||||
|
g.h.unregister=function(){g.eG(this.J);this.J.length=0;g.yO(this.G);this.G.length=0};
|
||||||
|
g.h.init=g.x;g.h.dispose=g.x;g.h.addBehavior=function(a,b,c){c=Z(this,c);var d=(0,g.y)(b,this);a in Q5||(Q5[a]=new g.iD);Q5[a].subscribe(c,d);this.F[b]=d};
|
||||||
|
g.h.removeBehavior=function(a,b,c){if(a in Q5){var d=Q5[a];d.unsubscribe(Z(this,c),this.F[b]);0>=d.Mc()&&(d.dispose(),delete Q5[a])}delete this.F[b]};
|
||||||
|
g.h.Ni=function(a,b,c){var d=this.ya(a,b);if(d&&(d=g.v(d))){var e=g.sb(arguments,2);g.tb(e,0,0,a);d.apply(null,e)}};
|
||||||
|
g.h.ya=function(a,b){return g.pF(a,b)};
|
||||||
|
g.h.setData=function(a,b,c){g.qF(a,b,c)};g.z(V5,S5);g.ra(V5);g.h=V5.prototype;g.h.register=function(){this.addBehavior("click",this.pD);this.addBehavior("keydown",this.gy);this.addBehavior("keypress",this.hy);T5(this,"page-scroll",this.KH)};
|
||||||
|
g.h.unregister=function(){this.removeBehavior("click",this.pD);this.removeBehavior("keydown",this.gy);this.removeBehavior("keypress",this.hy);a6(this);this.o={};V5.aa.unregister.call(this)};
|
||||||
|
g.h.pD=function(a){a&&!a.disabled&&(Ita(this,a),this.click(a))};
|
||||||
|
g.h.gy=function(a,b,c){if(!(c.altKey||c.ctrlKey||c.shiftKey)&&(b=$5(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=c4(b,d);if(e){e=e.tagName.toLowerCase();if("ul"==e)var f=this.UJ;else"table"==e&&(f=this.TJ);f&&Dta(this,a,b,c,(0,g.y)(f,this))}}};
|
||||||
|
g.h.KH=function(){var a=this.o;if(0!=g.Mb(a))for(var b in a){var c=a[b],d=g.Ge(c.activeButtonNode||c.parentNode,Z(this));if(void 0==d||void 0==c)break;Z5(this,d,c,!0)}};
|
||||||
|
g.h.hy=function(a,b,c){c.altKey||c.ctrlKey||c.shiftKey||(a=$5(this,a),T3(a)&&c.preventDefault())};
|
||||||
|
g.h.TJ=function(a,b,c){var d=W5(this,b);if(d){var e=Sqa("table",b);b=g.Xd(window.document,"td",null,e);d=Fta(d,b,g.Xd(window.document,"td",null,Sqa("tr",e)).length,c);-1!=d&&(Eta(this,a,b[d]),c.preventDefault())}};
|
||||||
|
g.h.UJ=function(a,b,c){if(40==c.keyCode||38==c.keyCode){var d=W5(this,b);d&&(b=(0,g.se)(g.Xd(window.document,"li",null,b),T3),Eta(this,a,b[Fta(d,b,1,c)]),c.preventDefault())}};
|
||||||
|
g.h.rD=function(a){if(a){var b=$5(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.ya(a,"button-has-sibling-menu")?c=a.parentNode:c=Gta(this,a);c.appendChild(b);b.style.minWidth=a.offsetWidth-2+"px";var d=Y5(this,a);d&&c.appendChild(d);(c=!!this.ya(a,"button-menu-fixed"))&&(this.o[V3(a).toString()]=b);Z5(this,a,b,c);g.hG("yt-uix-button-menu-before-show",a,b);g.BV(b);
|
||||||
|
d&&g.BV(d);this.Ni(a,"button-menu-action",!0);g.R(a,Z(this,"active"));b=(0,g.y)(this.qD,this,a,!1);d=(0,g.y)(this.qD,this,a,!0);c=(0,g.y)(this.aT,this,a,void 0);this.g&&$5(this,this.g)==$5(this,a)||a6(this);g.fG("yt-uix-button-menu-show",a);g.DF(this.A);this.A=[g.CF(window.document,"click",d),g.CF(window.document,"contextmenu",b),g.CF(window,"resize",c)];this.g=a}}};
|
||||||
|
g.h.aT=function(a,b){var c=$5(this,a);if(c){b&&(b instanceof g.zd?c.innerHTML=g.Ad(b):g.ze(c,b));var d=!!this.ya(a,"button-menu-fixed");Z5(this,a,c,d)}};
|
||||||
|
g.h.nd=function(a){return g.J(Z(this,"content"),a)};
|
||||||
|
g.h.qD=function(a,b,c){c=g.EF(c);var d=g.Ge(c,Z(this));if(d){var d=$5(this,d),e=$5(this,a);if(d==e)return}var d=g.Ge(c,Z(this,"menu")),e=d==$5(this,a),f=g.Gp(c,Z(this,"menu-item")),k=g.Gp(c,Z(this,"menu-close"));if(!d||e&&(f||k))X5(this,a),d&&b&&this.ya(a,"button-menu-indicate-selected")&&((a=g.J(Z(this,"content"),a))&&g.ze(a,b4(c)),Hta(this,d,c))};
|
||||||
|
g.h.isToggled=function(a){return g.Gp(a,Z(this,"toggled"))};
|
||||||
|
g.h.click=function(a){if($5(this,a)){var b=$5(this,a);if(b){var c=g.Ge(b.activeButtonNode||b.parentNode,Z(this));c&&c!=a?(X5(this,c),g.yE((0,g.y)(this.rD,this,a),1)):T3(b)?X5(this,a):this.rD(a)}a.focus()}this.Ni(a,"button-action")};g.z(b6,S5);g.h=b6.prototype;g.h.ae=function(a){var b=S5.prototype.ae.call(this,a);return b?b:a};
|
||||||
|
g.h.register=function(){T5(this,"yt-uix-kbd-nav-move-out-done",this.hide)};
|
||||||
|
g.h.dispose=function(){b6.aa.dispose.call(this);c6(this)};
|
||||||
|
g.h.ya=function(a,b){var c=b6.aa.ya.call(this,a,b);return c?c:(c=b6.aa.ya.call(this,a,"card-config"))&&(c=g.v(c))&&c[b]?c[b]:null};
|
||||||
|
g.h.show=function(a){var b=this.ae(a);if(b){g.R(b,Z(this,"active"));var c=Jta(this,a,b);if(c){c.cardTargetNode=a;c.cardRootNode=b;Kta(this,a,c);var d=Z(this,"card-visible"),e=this.ya(a,"card-delegate-show")&&this.ya(b,"card-action");this.Ni(b,"card-action",a);this.A=a;g.CV(c);g.yE((0,g.y)(function(){e||(g.BV(c),g.fG("yt-uix-card-show",b,a,c));Lta(c);g.R(c,d);g.fG("yt-uix-kbd-nav-move-in-to",c)},this),10)}}};
|
||||||
|
g.h.hide=function(a){if(a=this.ae(a)){var b=g.Wd(Z(this,"card")+V3(a));b&&(g.Ip(a,Z(this,"active")),g.Ip(b,Z(this,"card-visible")),g.CV(b),this.A=null,b.cardTargetNode=null,b.cardRootNode=null,b.cardMask&&(g.qe(b.cardMask),b.cardMask=null))}};
|
||||||
|
g.h.ZS=function(a,b){var c=this.ae(a);if(c){if(b){var d=this.Gc(c);if(!d)return;b instanceof g.zd?d.innerHTML=g.Ad(b):g.ze(d,b)}g.Gp(c,Z(this,"active"))&&(c=Jta(this,a,c),Kta(this,a,c),g.BV(c),Lta(c))}};
|
||||||
|
g.h.isActive=function(a){return(a=this.ae(a))?g.Gp(a,Z(this,"active")):!1};
|
||||||
|
g.h.Gc=function(a){var b=a.cardContentNode;if(!b){var c=Z(this,"content"),d=Z(this,"card-content");(b=(b=this.ya(a,"card-id"))?g.Wd(b):g.J(c,a))||(b=window.document.createElement("div"));var e=b;g.Ip(e,c);g.R(e,d);a.cardContentNode=b}return b};var e6;g.z(d6,S5);g.ra(d6);g.h=d6.prototype;g.h.register=function(){this.addBehavior("keydown",this.mx);T5(this,"yt-uix-kbd-nav-move-in",this.Nz);T5(this,"yt-uix-kbd-nav-move-in-to",this.ZM);T5(this,"yt-uix-kbd-move-next",this.Oz);T5(this,"yt-uix-kbd-nav-move-to",this.Sm)};
|
||||||
|
g.h.unregister=function(){this.removeBehavior("keydown",this.mx);g.DF(e6)};
|
||||||
|
g.h.mx=function(a,b,c){var d=c.keyCode;if(a=g.Ge(a,Z(this)))switch(d){case 13:case 32:this.Nz(a);break;case 27:c.preventDefault();c.stopImmediatePropagation();a:{for(c=$3(a,"kbdNavMoveOut");!c;){c=g.Ge(a.parentElement,Z(this));if(!c)break a;c=$3(c,"kbdNavMoveOut")}c=g.Wd(c);this.Sm(c);g.fG("yt-uix-kbd-nav-move-out-done",c)}break;case 40:case 38:if((b=c.target)&&g.Gp(a,Z(this,"list")))switch(d){case 40:this.Oz(b,a);break;case 38:d=window.document.activeElement==a,a=Ota(a),b=a.indexOf(b),0>b&&!d||(b=
|
||||||
|
d?a.length-1:(a.length+b-1)%a.length,a[b].focus(),Nta(this,a[b]))}c.preventDefault()}};
|
||||||
|
g.h.Nz=function(a){var b=$3(a,"kbdNavMoveIn"),b=g.Wd(b);Mta(this,a,b);this.Sm(b)};
|
||||||
|
g.h.ZM=function(a){Mta(this,g.He(),a);this.Sm(a)};
|
||||||
|
g.h.Sm=function(a){if(a)if(g.De(a))a.focus();else{var b=c4(a,function(a){return g.wa(a)&&1==a.nodeType?g.De(a):!1});
|
||||||
|
b?b.focus():(a.setAttribute("tabindex","-1"),a.focus())}};
|
||||||
|
g.h.Oz=function(a,b){var c=window.document.activeElement==b,d=Ota(b),e=d.indexOf(a);0>e&&!c||(c=c?0:(e+1)%d.length,d[c].focus(),Nta(this,d[c]))};g.z(f6,S5);g.ra(f6);g.h=f6.prototype;g.h.register=function(){this.addBehavior("click",this.sD);this.addBehavior("mouseenter",this.EH);T5(this,"page-scroll",this.RH);T5(this,"yt-uix-kbd-nav-move-out-done",function(a){a=this.ae(a);j6(this,a)});
|
||||||
|
this.B=new g.iD};
|
||||||
|
g.h.unregister=function(){this.removeBehavior("click",this.sD);this.o=this.g=null;g.DF(g.Fb(g.Ob(this.A)));this.A={};g.Jb(this.D,function(a){g.qe(a)},this);
|
||||||
|
this.D={};g.Le(this.B);this.B=null;f6.aa.unregister.call(this)};
|
||||||
|
g.h.sD=function(a,b,c){a&&(b=m6(this,a),!b.disabled&&U3(c.target,b)&&Rta(this,a))};
|
||||||
|
g.h.EH=function(a,b,c){a&&g.Gp(a,Z(this,"hover"))&&U3(c.target,m6(this,a))&&Rta(this,a,!0)};
|
||||||
|
g.h.RH=function(){this.g&&this.o&&Pta(this,this.o,this.g)};
|
||||||
|
g.h.tD=function(a){if(a){var b=l6(this,a);if(b){g.hG("yt-uix-menu-before-show",a,b);this.g?U3(a,this.g)||j6(this,this.o):(this.o=a,this.g=b,g.Gp(a,Z(this,"sibling-content"))||(g.qe(b),window.document.body.appendChild(b)),b.style.minWidth=m6(this,a).offsetWidth-2+"px");var c=h6(this,a);c&&g.oe(c,b);g.Ip(b,Z(this,"content-hidden"));Pta(this,a,b);g.Hp(m6(this,a),[Z(this,"trigger-selected"),"yt-uix-button-toggled"]);g.fG("yt-uix-menu-show",a);Uta(b);Sta(this,a);g.fG("yt-uix-kbd-nav-move-in-to",b);var d=
|
||||||
|
(0,g.y)(this.AU,this,a),e=(0,g.y)(this.RJ,this,a),c=g.za(a).toString();this.A[c]=[g.CF(b,"click",e),g.CF(window.document,"click",d)];g.Gp(a,Z(this,"indicate-selected"))&&(d=(0,g.y)(this.SJ,this,a),this.A[c].push(g.CF(b,"click",d)));g.Gp(a,Z(this,"hover"))&&(a=(0,g.y)(this.zU,this,a),this.A[c].push(g.CF(window.document,"mousemove",a)))}}};
|
||||||
|
g.h.zU=function(a,b){var c=g.EF(b);c&&(U3(c,m6(this,a))||Vta(this,c)||k6(this,a))};
|
||||||
|
g.h.AU=function(a,b){var c=g.EF(b);if(c){if(Vta(this,c)){var d=g.Ge(c,Z(this,"content"));var e=g.Fe(c,"LI");e&&d&&g.xe(d,e)&&g.hG("yt-uix-menu-item-clicked",c);c=g.Ge(c,Z(this,"close-on-select"));if(!c)return;d=g6(c)}j6(this,d||a)}};
|
||||||
|
g.h.RJ=function(a,b){var c=g.EF(b);c&&Tta(this,a,c)};
|
||||||
|
g.h.SJ=function(a,b){var c=g.EF(b);if(c){var d=m6(this,a);if(d&&(c=g.Fe(c,"LI")))if(c=b4(c).trim(),d.hasChildNodes()){var e=V5.getInstance();(d=g.J(Z(e,"content"),d))&&g.ze(d,c)}else g.ze(d,c)}};g.z(n6,b6);g.ra(n6);g.h=n6.prototype;g.h.register=function(){n6.aa.register.call(this);this.addBehavior("click",this.Zv,"target");this.addBehavior("click",this.Yv,"close")};
|
||||||
|
g.h.unregister=function(){n6.aa.unregister.call(this);this.removeBehavior("click",this.Zv,"target");this.removeBehavior("click",this.Yv,"close");for(var a in this.g)g.DF(this.g[a]);this.g={};for(a in this.o)g.DF(this.o[a]);this.o={}};
|
||||||
|
g.h.Zv=function(a,b,c){c.preventDefault();b=g.Fe(c.target,"button");b&&b.disabled||(a=(b=this.ya(a,"card-target"))?g.u(b)?window.document.getElementById(b):b:a,b=this.ae(a),this.ya(b,"disabled")||(g.Gp(b,Z(this,"active"))?(this.hide(a),g.Ip(b,Z(this,"active"))):(this.show(a),g.R(b,Z(this,"active")))))};
|
||||||
|
g.h.show=function(a){n6.aa.show.call(this,a);var b=this.ae(a),c=g.za(a).toString();if(!g.pF(b,"click-outside-persists")){if(this.g[c])return;var b=g.CF(window.document,"click",(0,g.y)(this.aw,this,a)),d=g.CF(window,"blur",(0,g.y)(this.aw,this,a));this.g[c]=[b,d]}a=g.CF(window,"resize",(0,g.y)(this.ZS,this,a,void 0));this.o[c]=a};
|
||||||
|
g.h.hide=function(a){n6.aa.hide.call(this,a);a=g.za(a).toString();var b=this.g[a];b&&(g.DF(b),this.g[a]=null);if(b=this.o[a])g.DF(b),delete this.o[a]};
|
||||||
|
g.h.aw=function(a,b){var c="yt-uix"+(this.C?"-"+this.C:"")+"-card",d=null;b.target&&(d=g.Ge(b.target,c)||g.Ge(g6(b.target),c));(d=d||g.Ge(window.document.activeElement,c)||g.Ge(g6(window.document.activeElement),c))||this.hide(a)};
|
||||||
|
g.h.Yv=function(a){(a=g.Ge(a,Z(this,"card")))&&(a=a.cardTargetNode)&&this.hide(a)};g.z(o6,b6);g.ra(o6);g.h=o6.prototype;g.h.register=function(){this.addBehavior("mouseenter",this.Jz,"target");this.addBehavior("mouseleave",this.Lz,"target");this.addBehavior("mouseenter",this.Kz,"card");this.addBehavior("mouseleave",this.Mz,"card")};
|
||||||
|
g.h.unregister=function(){this.removeBehavior("mouseenter",this.Jz,"target");this.removeBehavior("mouseleave",this.Lz,"target");this.removeBehavior("mouseenter",this.Kz,"card");this.removeBehavior("mouseleave",this.Mz,"card")};
|
||||||
|
g.h.Jz=function(a){if(F6!=a){F6&&(this.hide(F6),F6=null);var b=(0,g.y)(this.show,this,a),c=(0,window.parseInt)(this.ya(a,"delay-show"),10),b=g.yE(b,-1<c?c:200);this.setData(a,"card-timer",b.toString());F6=a;a.alt&&(this.setData(a,"card-alt",a.alt),a.alt="");a.title&&(this.setData(a,"card-title",a.title),a.title="")}};
|
||||||
|
g.h.Lz=function(a){var b=(0,window.parseInt)(this.ya(a,"card-timer"),10);g.wE(b);this.ae(a).isCardHidable=!0;b=(0,window.parseInt)(this.ya(a,"delay-hide"),10);b=-1<b?b:200;g.yE((0,g.y)(this.uI,this,a),b);if(b=this.ya(a,"card-alt"))a.alt=b;if(b=this.ya(a,"card-title"))a.title=b};
|
||||||
|
g.h.uI=function(a){this.ae(a).isCardHidable&&(this.hide(a),F6=null)};
|
||||||
|
g.h.Kz=function(a){a&&(a.cardRootNode.isCardHidable=!1)};
|
||||||
|
g.h.Mz=function(a){a&&this.hide(a.cardTargetNode)};
|
||||||
|
var F6=null;var Yta={LOADING:"loading",XD:"content",V1:"working"};g.h=p6.prototype;
|
||||||
|
g.h.show=function(){if(!this.na()){this.F=window.document.activeElement;if(!this.P){this.o||(this.o=g.Wd("yt-dialog-bg"),this.o||(this.o=g.je("div"),this.o.id="yt-dialog-bg",this.o.className="yt-dialog-bg",window.document.body.appendChild(this.o)));var a=window,b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=g.be(a).height,g.ae(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.o.style.height=c+"px";g.BV(this.o)}this.Bx();c=$ta(this);aua(c);this.C=g.CF(window.document,"keydown",(0,g.y)(this.BJ,this));c=this.g;d=g.dG("player-added",this.Bx,this);g.qF(c,"player-ready-pubsub-key",d);this.X&&(this.D=g.CF(window.document,"click",(0,g.y)(this.DR,this)));g.BV(this.g);this.A.setAttribute("tabindex","0");cua(this);this.J||g.R(window.document.body,"yt-dialog-active");a6(V5.getInstance());c6(n6.getInstance());c6(o6.getInstance());
|
||||||
|
g.fG("yt-ui-dialog-show-complete",this)}};
|
||||||
|
g.h.Bx=function(){if(!this.ba){var a=this.g;g.S(window.document.body,"hide-players",!0);a&&g.S(a,"preserve-players",!0)}};
|
||||||
|
g.h.VN=function(a){a=a.currentTarget;a.disabled||(a=g.pF(a,"action")||"",this.dismiss(a))};
|
||||||
|
g.h.dismiss=function(a){if(!this.na()){this.B.Y("pre-all");this.B.Y("pre-"+a);g.CV(this.g);c6(n6.getInstance());c6(o6.getInstance());this.A.setAttribute("tabindex","-1");Zta()||(g.CV(this.o),this.J||g.Ip(window.document.body,"yt-dialog-active"),Rqa(),bua());this.C&&(g.DF(this.C),this.C=null);this.D&&(g.DF(this.D),this.D=null);var b=this.g;if(b){var c=g.pF(b,"player-ready-pubsub-key");c&&(g.eG(c),W3(b,"player-ready-pubsub-key"))}this.B.Y("post-all");g.fG("yt-ui-dialog-hide-complete",this);"cancel"==
|
||||||
|
a&&g.fG("yt-ui-dialog-cancelled",this);this.B&&this.B.Y("post-"+a);this.F&&this.F.focus()}};
|
||||||
|
g.h.setTitle=function(a){g.ze(g.J("yt-dialog-title",this.g),a)};
|
||||||
|
g.h.BJ=function(a){g.yE((0,g.y)(function(){this.O||27!=a.keyCode||this.dismiss("cancel")},this),0);
|
||||||
|
9==a.keyCode&&a.shiftKey&&g.Gp(window.document.activeElement,"yt-dialog-fg")&&a.preventDefault()};
|
||||||
|
g.h.DR=function(a){"yt-dialog-base"==a.target.className&&this.dismiss("cancel")};
|
||||||
|
g.h.na=function(){return this.M};
|
||||||
|
g.h.dispose=function(){T3(this.g)&&this.dismiss("dispose");g.DF(this.G);this.G.length=0;g.yE((0,g.y)(function(){this.F=null},this),0);
|
||||||
|
this.K=this.A=null;this.B.dispose();this.B=null;this.M=!0};
|
||||||
|
g.h.eH=function(a){a.stopPropagation();cua(this)};
|
||||||
|
g.qa("yt.ui.Dialog",p6,void 0);g.z(q6,S5);g.ra(q6);g.h=q6.prototype;g.h.register=function(){this.addBehavior("click",this.kt,"target");this.addBehavior("click",this.hide,"close");eua(this)};
|
||||||
|
g.h.unregister=function(){q6.aa.unregister.call(this);this.removeBehavior("click",this.kt,"target");this.removeBehavior("click",this.hide,"close");this.B&&(g.eG(this.B),this.B=null);this.o&&(g.DF(this.o),this.o=null)};
|
||||||
|
g.h.kt=function(a){if(!this.g||!T3(this.g.g)){var b=this.ae(a);a=gua(b,a);b||(b=a?a.overlayParentNode:null);if(b&&a){var c=!!this.ya(b,"disable-shortcuts")||!1,d=!!this.ya(b,"disable-outside-click-dismiss")||!1;this.g=new p6(a,c);this.A=b;var e=g.J("yt-dialog-fg",a);if(e){var f=this.ya(b,"overlay-class")||"",k=this.ya(b,"overlay-style")||"default",l=this.ya(b,"overlay-shape")||"default",f=f?f.split(" "):[];f.push(Z(this,k));f.push(Z(this,l));g.Hp(e,f)}this.g.show();g.fG("yt-uix-kbd-nav-move-to",e||
|
||||||
|
a);eua(this);c||d||(c=(0,g.y)(function(a){g.Gp(a.target,"yt-dialog-base")&&fua(this)},this),this.o=g.CF(g.J("yt-dialog-base",a),"click",c));
|
||||||
|
this.Ni(b,"overlay-shown");g.fG("yt-uix-overlay-shown",b)}}};
|
||||||
|
g.h.Gc=function(a){return g.J("yt-dialog-content",a.overlayContentNode||a)};
|
||||||
|
g.h.hide=function(a){a&&a.disabled||g.fG("yt-uix-overlay-hide")};
|
||||||
|
g.h.show=function(a){this.kt(a)};g.z(r6,S5);g.ra(r6);g.h=r6.prototype;g.h.register=function(){this.addBehavior("mouseover",this.Qn);this.addBehavior("mouseout",this.ri);this.addBehavior("focus",this.Lw);this.addBehavior("blur",this.Hv);this.addBehavior("click",this.ri);this.addBehavior("touchstart",this.dC);this.addBehavior("touchend",this.zo);this.addBehavior("touchcancel",this.zo)};
|
||||||
|
g.h.unregister=function(){this.removeBehavior("mouseover",this.Qn);this.removeBehavior("mouseout",this.ri);this.removeBehavior("focus",this.Lw);this.removeBehavior("blur",this.Hv);this.removeBehavior("click",this.ri);this.removeBehavior("touchstart",this.dC);this.removeBehavior("touchend",this.zo);this.removeBehavior("touchcancel",this.zo);this.dispose();r6.aa.unregister.call(this)};
|
||||||
|
g.h.dispose=function(){for(var a in this.o)this.ri(this.o[a]);this.o={}};
|
||||||
|
g.h.Qn=function(a){if(!(this.g&&1E3>(0,g.F)()-this.g)){var b=(0,window.parseInt)(this.ya(a,"tooltip-hide-timer"),10);b&&(W3(a,"tooltip-hide-timer"),g.wE(b));var b=(0,g.y)(function(){mua(this,a);W3(a,"tooltip-show-timer")},this),c=(0,window.parseInt)(this.ya(a,"tooltip-show-delay"),10)||0,b=g.yE(b,c);
|
||||||
|
this.setData(a,"tooltip-show-timer",b.toString());a.title&&(this.setData(a,"tooltip-text",jua(this,a)),a.title="");b=g.za(a).toString();this.o[b]=a}};
|
||||||
|
g.h.ri=function(a){var b=(0,window.parseInt)(this.ya(a,"tooltip-show-timer"),10);b&&(g.wE(b),W3(a,"tooltip-show-timer"));b=(0,g.y)(function(){if(a){var b=g.Wd(s6(this,a));b&&(nua(b),g.qe(b),W3(a,"content-id"));b=g.Wd(s6(this,a,"arialabel"));g.qe(b)}W3(a,"tooltip-hide-timer")},this);
|
||||||
|
b=g.yE(b,50);this.setData(a,"tooltip-hide-timer",b.toString());if(b=this.ya(a,"tooltip-text"))a.title=b;b=g.za(a).toString();delete this.o[b]};
|
||||||
|
g.h.Lw=function(a){this.g=0;this.Qn(a)};
|
||||||
|
g.h.Hv=function(a){this.g=0;this.ri(a)};
|
||||||
|
g.h.dC=function(a,b,c){c.changedTouches&&(this.g=0,(a=P5(b,Z(this),c.changedTouches[0].target))&&this.Qn(a))};
|
||||||
|
g.h.zo=function(a,b,c){c.changedTouches&&(this.g=(0,g.F)(),(a=P5(b,Z(this),c.changedTouches[0].target))&&this.ri(a))};var G6=window.yt&&window.yt.uix&&window.yt.uix.widgets_||{};g.qa("yt.uix.widgets_",G6,void 0);g.z(t6,g.qO);g.z(u6,g.qO);g.z(oua,g.qO);g.z(v6,g.qO);
|
||||||
|
var zua=new g.rO("subscription-subscribe",u6),Aua=new g.rO("subscription-subscribe-loading",t6),Bua=new g.rO("subscription-subscribe-loaded",t6),Cua=new g.rO("subscription-subscribe-success",oua),Dua=new g.rO("subscription-unsubscribe",v6),Eua=new g.rO("subscription-unsubscirbe-loading",t6),Fua=new g.rO("subscription-unsubscribe-loaded",t6),Gua=new g.rO("subscription-unsubscribe-success",t6),Hua=new g.rO("subscription-enable-ypc",t6),Iua=new g.rO("subscription-disable-ypc",t6);var x6={},w6=[];g.z(y6,S5);g.ra(y6);y6.prototype.register=function(){this.addBehavior("click",this.lu);U5(this,Aua,this.pA);U5(this,Bua,this.uD);U5(this,Cua,this.LQ);U5(this,Eua,this.pA);U5(this,Fua,this.uD);U5(this,Gua,this.ZQ);U5(this,Hua,this.vO);U5(this,Iua,this.sO)};
|
||||||
|
y6.prototype.unregister=function(){this.removeBehavior("click",this.lu);y6.aa.unregister.call(this)};
|
||||||
|
var A6={pu:"hover-enabled",LD:"yt-uix-button-subscribe",MD:"yt-uix-button-subscribed",RV:"ypc-enabled",VD:"yt-uix-button-subscription-container",WD:"yt-subscription-button-disabled-mask-container"},z6={hW:"channel-external-id",YD:"subscriber-count-show-when-subscribed",ZD:"subscriber-count-tooltip",aE:"subscriber-count-title",XX:"href",gY:"insecure",Cu:"is-subscribed",TZ:"parent-url",Q_:"clicktracking",DF:"show-unsub-confirm-dialog",V_:"show-unsub-confirm-time-frame",KF:"style-type",av:"subscribed-timestamp",
|
||||||
|
bv:"subscription-id",z0:"target",eG:"ypc-enabled"};g.h=y6.prototype;
|
||||||
|
g.h.lu=function(a){var b=this.ya(a,"href"),c=this.ya(a,"insecure"),d=rua(),c=c&&!0;if(b)a=this.ya(a,"target")||"_self",window.open(b,a);else if(!c)if(d){var b=this.ya(a,"channel-external-id"),d=this.ya(a,"clicktracking"),c=sua(this,a),e=this.ya(a,"parent-url");if(this.ya(a,"is-subscribed")){var f=this.ya(a,"subscription-id"),k=new v6(b,f,c,a,d,e);wua(this,a)?qua(a,b).then(function(){g.tO(Dua,k)}):g.tO(Dua,k)}else g.tO(zua,new u6(b,c,d,e))}else vua(this,a)};
|
||||||
|
g.h.pA=function(a){this.Ki(a.g,this.FB,!0)};
|
||||||
|
g.h.uD=function(a){this.Ki(a.g,this.FB,!1)};
|
||||||
|
g.h.LQ=function(a){this.Ki(a.g,this.JB,!0,a.o)};
|
||||||
|
g.h.ZQ=function(a){this.Ki(a.g,this.JB,!1)};
|
||||||
|
g.h.vO=function(a){this.Ki(a.g,this.WG)};
|
||||||
|
g.h.sO=function(a){this.Ki(a.g,this.RG)};
|
||||||
|
g.h.JB=function(a,b,c){b?(this.setData(a,z6.Cu,"true"),c&&this.setData(a,z6.bv,c),this.ya(a,z6.DF)&&(b=new Z3,this.setData(a,z6.av,(b.getTime()/1E3).toString()))):(W3(a,z6.Cu),W3(a,z6.av),W3(a,z6.bv));tua(this,a)};
|
||||||
|
g.h.FB=function(a,b){var c=g.Ge(a,A6.VD);g.S(c,A6.WD,b);a.setAttribute("aria-busy",b?"true":"false");a.disabled=b};
|
||||||
|
g.h.WG=function(a){var b=!!this.ya(a,"ypc-item-type"),c=!!this.ya(a,"ypc-item-id");!this.ya(a,"ypc-enabled")&&b&&c&&(g.R(a,"ypc-enabled"),this.setData(a,z6.eG,"true"))};
|
||||||
|
g.h.RG=function(a){this.ya(a,"ypc-enabled")&&(g.Ip(a,"ypc-enabled"),W3(a,"ypc-enabled"))};
|
||||||
|
g.h.tG=function(a,b,c){var d=g.sb(arguments,2);(0,g.G)(a,function(a){b.apply(this,g.pb(a,d))},this)};
|
||||||
|
g.h.Ki=function(a,b,c){var d=uua(this,a);this.tG.apply(this,g.pb([d],g.sb(arguments,1)))};window._exportCheck==g.Da&&(g.qa("ytmod.player.annotations_module",K5,void 0),g.qa("ytmod.player.creatorendscreen",t4,void 0));var H6=y6.getInstance(),I6=Z(H6);I6 in G6||(H6.register(),T5(H6,"yt-uix-init-"+I6,H6.init),T5(H6,"yt-uix-dispose-"+I6,H6.dispose),G6[I6]=H6);})(_yt_player);
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,325 @@
|
|||||||
|
/* JS */ gapi.loaded_0(function(_){var window=this;
|
||||||
|
var ba,ca,da,ha,ia,Fa,Ga;
|
||||||
|
for(_.g,_.n=function(a){return function(){return ba[a].apply(this,arguments)}},_.r=function(a,b){return ba[a]=b},_._DumpException=function(a){throw a;},ba=[],ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this,
|
||||||
|
ha=["String","prototype","startsWith"],ia=0;ia<ha.length-1;ia++){var ka=ha[ia];ka in da||(da[ka]={});da=da[ka]}
|
||||||
|
var la=ha[ha.length-1],pa=da[la],qa=pa?pa:function(a,b){var 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");c=this+"";a+="";var d=c.length,e=a.length;b=Math.max(0,Math.min(b|0,c.length));for(var f=0;f<e&&b<d;)if(c[b++]!=a[f++])return!1;return f>=e};qa!=pa&&null!=qa&&ca(da,la,{configurable:!0,writable:!0,value:qa});
|
||||||
|
_.xa=_.xa||{};_.t=this;_.za=function(a){return void 0!==a};
|
||||||
|
_.Aa=function(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};_.Ba=function(a){return"array"==_.Aa(a)};_.Ca=function(a){var b=_.Aa(a);return"array"==b||"object"==b&&"number"==typeof a.length};_.u=function(a){return"string"==typeof a};_.Da="closure_uid_"+(1E9*Math.random()>>>0);Fa=function(a,b,c){return a.call.apply(a.bind,arguments)};
|
||||||
|
Ga=function(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)}};_.z=function(a,b,c){_.z=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Fa:Ga;return _.z.apply(null,arguments)};_.Ia=Date.now||function(){return+new Date};
|
||||||
|
_.A=function(a,b){function c(){}c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Is=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)}};
|
||||||
|
_.La=window.osapi=window.osapi||{};_.google=window.google||{};
|
||||||
|
window.___jsl=window.___jsl||{};
|
||||||
|
(window.___jsl.cd=window.___jsl.cd||[]).push({gwidget:{parsetags:"explicit"},appsapi:{plus_one_service:"/plus/v1"},client:{rms:"migrated"},csi:{rate:.01},poshare:{hangoutContactPickerServer:"https://plus.google.com"},gappsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:!1},appsutil:{required_scopes:["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/plus.people.recommended"],display_on_page_ready:!1},
|
||||||
|
"oauth-flow":{authUrl:"https://accounts.google.com/o/oauth2/auth",proxyUrl:"https://accounts.google.com/o/oauth2/postmessageRelay",redirectUri:"postmessage"},iframes:{sharebox:{params:{json:"&"},url:":socialhost:/:session_prefix:_/sharebox/dialog"},plus:{url:":socialhost:/:session_prefix:_/widget/render/badge?usegapi=1"},":socialhost:":"https://apis.google.com",":im_socialhost:":"https://plus.googleapis.com",domains_suggest:{url:"https://domains.google.com/suggest/flow"},card:{params:{s:"#",userid:"&"},
|
||||||
|
url:":socialhost:/:session_prefix:_/hovercard/internalcard"},":signuphost:":"https://plus.google.com",":gplus_url:":"https://plus.google.com",plusone:{url:":socialhost:/:session_prefix:_/+1/fastbutton?usegapi=1"},plus_share:{url:":socialhost:/:session_prefix:_/+1/sharebutton?plusShare=true&usegapi=1"},plus_circle:{url:":socialhost:/:session_prefix:_/widget/plus/circle?usegapi=1"},plus_followers:{url:":socialhost:/_/im/_/widget/render/plus/followers?usegapi=1"},configurator:{url:":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi=1"},
|
||||||
|
appcirclepicker:{url:":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},page:{url:":socialhost:/:session_prefix:_/widget/render/page?usegapi=1"},person:{url:":socialhost:/:session_prefix:_/widget/render/person?usegapi=1"},community:{url:":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi=1"},follow:{url:":socialhost:/:session_prefix:_/widget/render/follow?usegapi=1"},commentcount:{url:":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi=1"},comments:{url:":socialhost:/:session_prefix:_/widget/render/comments?usegapi=1"},
|
||||||
|
youtube:{url:":socialhost:/:session_prefix:_/widget/render/youtube?usegapi=1"},reportabuse:{url:":socialhost:/:session_prefix:_/widget/render/reportabuse?usegapi=1"},additnow:{url:":socialhost:/additnow/additnow.html"},udc_webconsentflow:{url:"https://myaccount.google.com/webconsent?usegapi=1"},":source:":"1p"},poclient:{update_session:"google.updateSessionCallback"},"googleapis.config":{methods:{"pos.plusones.list":!0,"pos.plusones.get":!0,"pos.plusones.insert":!0,"pos.plusones.delete":!0,"pos.plusones.getSignupState":!0},
|
||||||
|
requestCache:{enabled:!0},versions:{pos:"v1"},rpc:"/rpc",root:"https://content.googleapis.com","root-1p":"https://clients6.google.com",sessionCache:{enabled:!0},transport:{isProxyShared:!0},xd3:"/static/proxy.html",developerKey:"AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ",auth:{useInterimAuth:!1}},report:{apis:["iframes\\..*","gadgets\\..*","gapi\\.appcirclepicker\\..*","gapi\\.client\\..*"],rate:1E-4}});
|
||||||
|
|
||||||
|
/*
|
||||||
|
gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
|
||||||
|
_.D=function(a,b){a=a.split(".");var c=_.t;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&_.za(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}};_.Oa=window;_.Pa=window.document;_.Qa=_.Oa.location;_.Ra=/\[native code\]/;_.Sa=function(a,b,c){return a[b]=a[b]||c};_.Ta=function(){var a;if((a=Object.create)&&_.Ra.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};_.Ua=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; _.Va=function(a,b){a=a||{};for(var c in a)_.Ua(a,c)&&(b[c]=a[c])};_.Wa=_.Sa(_.Oa,"gapi",{});
|
||||||
|
_.Xa=function(a,b,c){var d=new RegExp("([#].*&|[#])"+b+"=([^&#]*)","g");b=new RegExp("([?#].*&|[?#])"+b+"=([^&#]*)","g");if(a=a&&(d.exec(a)||b.exec(a)))try{c=(0,window.decodeURIComponent)(a[2])}catch(e){}return c};_.Ya=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source);
|
||||||
|
_.Za=new RegExp(/(%([^0-9a-fA-F%]|[0-9a-fA-F]([^0-9a-fA-F%])?)?)*/.source+/%($|[^0-9a-fA-F]|[0-9a-fA-F]($|[^0-9a-fA-F]))/.source,"g");_.ab=function(){return _.Oa.location.origin||_.Oa.location.protocol+"//"+_.Oa.location.host};_.bb=new RegExp(/\/?\??#?/.source+"("+/[\/?#]/i.source+"|"+/[\uD800-\uDBFF]/i.source+"|"+/%[c-f][0-9a-f](%[89ab][0-9a-f]){0,2}(%[89ab]?)?/i.source+"|"+/%[0-9a-f]?/i.source+")$","i");
|
||||||
|
_.fb=function(a,b,c){_.eb(a,b,c,"add","at")};_.eb=function(a,b,c,d,e){if(a[d+"EventListener"])a[d+"EventListener"](b,c,!1);else if(a[e+"tachEvent"])a[e+"tachEvent"]("on"+b,c)};_.gb=_.Sa(_.Oa,"___jsl",_.Ta());_.Sa(_.gb,"I",0);_.Sa(_.gb,"hel",10);var hb,kb,lb,nb,pb,qb;hb=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};kb=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg};lb=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};nb=function(a,b){if(b)for(var c in b)b.hasOwnProperty(c)&&(a[c]&&b[c]&&"object"===typeof a[c]&&"object"===typeof b[c]&&!lb(a[c])&&!lb(b[c])?nb(a[c],b[c]):b[c]&&"object"===typeof b[c]?(a[c]=lb(b[c])?[]:{},nb(a[c],b[c])):a[c]=b[c])};
|
||||||
|
pb=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);var b;try{b=window.JSON.parse(a)}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ("+a+"\n)"))()}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ({"+a+"\n})"))()}catch(c){}return"object"===typeof b?b:{}}};
|
||||||
|
qb=function(a){kb(!0);var b=window.___gcfg,c=hb("cu");if(b&&b!==window.___gu){var d={};nb(d,b);c.push(d);window.___gu=b}var b=hb("cu"),e=window.document.scripts||window.document.getElementsByTagName("script")||[],d=[],f=[];f.push.apply(f,hb("us"));for(var h=0;h<e.length;++h)for(var k=e[h],l=0;l<f.length;++l)k.src&&0==k.src.indexOf(f[l])&&d.push(k);0==d.length&&0<e.length&&e[e.length-1].src&&d.push(e[e.length-1]);for(e=0;e<d.length;++e)d[e].getAttribute("gapi_processed")||(d[e].setAttribute("gapi_processed",
|
||||||
|
!0),(f=d[e])?(h=f.nodeType,f=3==h||4==h?f.nodeValue:f.textContent||f.innerText||f.innerHTML||""):f=void 0,(f=pb(f))&&b.push(f));a&&(d={},nb(d,a),c.push(d));d=hb("cd");a=0;for(b=d.length;a<b;++a)nb(kb(),d[a]);d=hb("ci");a=0;for(b=d.length;a<b;++a)nb(kb(),d[a]);a=0;for(b=c.length;a<b;++a)nb(kb(),c[a])};_.E=function(a,b){if(!a)return kb();a=a.split("/");for(var c=kb(),d=0,e=a.length;c&&"object"===typeof c&&d<e;++d)c=c[a[d]];return d===a.length&&void 0!==c?c:b}; _.rb=function(a,b){var c=a;if("string"===typeof a){var d=c={};a=a.split("/");for(var e=0,f=a.length;e<f-1;++e)var h={},d=d[a[e]]=h;d[a[e]]=b}qb(c)};
|
||||||
|
var tb=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),_.Sa(_.gb,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};tb&&tb();qb();_.D("gapi.config.get",_.E);_.D("gapi.config.update",_.rb);
|
||||||
|
_.I={};_.Cc={};window.iframer=_.Cc;
|
||||||
|
_.Dc=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};_.Ec=function(a){return"number"==typeof a};_.Fc=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};_.Gc=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};_.Hc=2147483648*Math.random()|0;
|
||||||
|
var Jc;_.Ic=function(a,b){return 0==a.lastIndexOf(b,0)};Jc=0;_.Lc=function(a){return null==a?"":String(a)};_.Mc=function(a){return/^[\s\xa0]*$/.test(a)};_.Nc=function(a){return a[_.Da]||(a[_.Da]=++Jc)};_.Oc=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};_.Pc=function(a){return"function"==_.Aa(a)};
|
||||||
|
_.Qc=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(_.u(a))return _.u(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};
|
||||||
|
_.Rc=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(_.u(a))return _.u(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};_.Sc=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=_.u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
|
||||||
|
_.Tc=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=_.u(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};_.Uc=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=_.u(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));return e};
|
||||||
|
_.Vc=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=_.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};_.Wc=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=_.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};_.Xc=function(a,b){return 0<=(0,_.Qc)(a,b)};
|
||||||
|
_.Zc=function(a,b){b=(0,_.Qc)(a,b);var c;(c=0<=b)&&_.Yc(a,b);return c};_.Yc=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};_.$c=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Ca(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)}};
|
||||||
|
|
||||||
|
_.ad=function(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)}};_.bd=function(a){a.zF=void 0;a.ya=function(){return a.zF?a.zF:a.zF=new a}};_.cd=function(){};_.dd=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.ed=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.fd=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};_.gd=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
|
||||||
|
a:{var id=_.t.navigator;if(id){var jd=id.userAgent;if(jd){_.hd=jd;break a}}_.hd=""}_.kd=function(a){return-1!=_.hd.indexOf(a)};_.ld=function(){return _.kd("Trident")||_.kd("MSIE")};
|
||||||
|
var nd,od;_.md=function(){return _.kd("Opera")};nd=function(a,b){return a<b?-1:a>b?1:0};od="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
||||||
|
_.pd=function(a,b){var c=0;a=(0,_.Fc)(String(a)).split(".");b=(0,_.Fc)(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=nd(0==f[1].length?0:(0,window.parseInt)(f[1],10),0==h[1].length?0:(0,window.parseInt)(h[1],10))||nd(0==f[2].length,0==h[2].length)||nd(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c};
|
||||||
|
_.qd=function(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<od.length;f++)c=od[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.rd=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};_.sd=function(){return _.kd("iPhone")&&!_.kd("iPod")&&!_.kd("iPad")};_.td=function(){return _.sd()||_.kd("iPad")||_.kd("iPod")};
|
||||||
|
var vd=function(a){vd[" "](a);return a},yd;vd[" "]=_.cd;_.wd=function(a,b){try{return vd(a[b]),!0}catch(c){}return!1};yd=function(a,b){var c=xd;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Id,Jd,xd,Rd;_.zd=_.md();_.J=_.ld();_.Ad=_.kd("Edge");_.Cd=_.Ad||_.J;_.Dd=_.kd("Gecko")&&!(-1!=_.hd.toLowerCase().indexOf("webkit")&&!_.kd("Edge"))&&!(_.kd("Trident")||_.kd("MSIE"))&&!_.kd("Edge");_.Ed=-1!=_.hd.toLowerCase().indexOf("webkit")&&!_.kd("Edge");_.Fd=_.Ed&&_.kd("Mobile");_.Gd=_.kd("Macintosh");_.Hd=_.kd("Linux")||_.kd("CrOS");Id=function(){var a=_.t.document;return a?a.documentMode:void 0};
|
||||||
|
a:{var Kd="",Ld=function(){var a=_.hd;if(_.Dd)return/rv\:([^\);]+)(\)|;)/.exec(a);if(_.Ad)return/Edge\/([\d\.]+)/.exec(a);if(_.J)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.Ed)return/WebKit\/(\S+)/.exec(a);if(_.zd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ld&&(Kd=Ld?Ld[1]:"");if(_.J){var Md=Id();if(null!=Md&&Md>(0,window.parseFloat)(Kd)){Jd=String(Md);break a}}Jd=Kd}_.Nd=Jd;xd={};_.Od=function(a){return yd(a,function(){return 0<=_.pd(_.Nd,a)})};_.Qd=function(a){return Number(_.Pd)>=a}; var Sd=_.t.document;Rd=Sd&&_.J?Id()||("CSS1Compat"==Sd.compatMode?(0,window.parseInt)(_.Nd,10):5):void 0;_.Pd=Rd;
|
||||||
|
|
||||||
|
_.Td=[];_.Vd=[];_.Wd=!1;_.Xd=function(a){_.Td[_.Td.length]=a;if(_.Wd)for(var b=0;b<_.Vd.length;b++)a((0,_.z)(_.Vd[b].wrap,_.Vd[b]))};
|
||||||
|
_.Yd=function(a,b){a=a.split(".");b=b||_.t;for(var c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b};_.Zd=function(a){for(var b in a)return!1;return!0};_.$d=function(){this.Ub=this.Ub;this.Zn=this.Zn};_.$d.prototype.Ub=!1;_.$d.prototype.kq=function(){return this.Ub};_.$d.prototype.Da=function(){this.Ub||(this.Ub=!0,this.ua())};_.be=function(a,b){b=_.ad(_.ae,b);a.Ub?_.za(void 0)?b.call(void 0):b():(a.Zn||(a.Zn=[]),a.Zn.push(_.za(void 0)?(0,_.z)(b,void 0):b))};_.$d.prototype.ua=function(){if(this.Zn)for(;this.Zn.length;)this.Zn.shift()()};_.ae=function(a){a&&"function"==typeof a.Da&&a.Da()};
|
||||||
|
_.ce=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.zo=!1;this.UR=!0};_.ce.prototype.stopPropagation=function(){this.zo=!0};_.ce.prototype.preventDefault=function(){this.defaultPrevented=!0;this.UR=!1};var ee,fe;_.de=!_.J||_.Qd(9);ee=!_.J||_.Qd(9);fe=_.J&&!_.Od("9");!_.Ed||_.Od("528");_.Dd&&_.Od("1.9b")||_.J&&_.Od("8")||_.zd&&_.Od("9.5")||_.Ed&&_.Od("528");_.Dd&&!_.Od("8")||_.J&&_.Od("9");_.ge=_.J?"focusin":"DOMFocusIn";_.he=_.J?"focusout":"DOMFocusOut";_.ie=_.Ed?"webkitTransitionEnd":_.zd?"otransitionend":"transitionend";_.le=function(a,b){_.ce.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.gA=!1;this.Wh=null;a&&this.xc(a,b)};_.A(_.le,_.ce);
|
||||||
|
_.le.prototype.xc=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;(b=a.relatedTarget)?_.Dd&&(_.wd(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=_.Ed||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Ed||void 0!==a.offsetY?a.offsetY:a.layerY,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.gA=_.Gd?a.metaKey:a.ctrlKey;this.state=a.state;this.Wh=a;a.defaultPrevented&&
|
||||||
|
this.preventDefault()};_.le.prototype.stopPropagation=function(){_.le.R.stopPropagation.call(this);this.Wh.stopPropagation?this.Wh.stopPropagation():this.Wh.cancelBubble=!0};_.le.prototype.preventDefault=function(){_.le.R.preventDefault.call(this);var a=this.Wh;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,fe)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
|
||||||
|
var oe;_.me="closure_listenable_"+(1E6*Math.random()|0);_.ne=function(a){return!(!a||!a[_.me])};oe=0;var pe=function(a,b,c,d,e){this.listener=a;this.jA=null;this.src=b;this.type=c;this.capture=!!d;this.Fe=e;this.key=++oe;this.Oq=this.px=!1},qe=function(a){a.Oq=!0;a.listener=null;a.jA=null;a.src=null;a.Fe=null};var re=function(a){this.src=a;this.Df={};this.xw=0};re.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Df[f];a||(a=this.Df[f]=[],this.xw++);var h=se(a,b,d,e);-1<h?(b=a[h],c||(b.px=!1)):(b=new pe(b,this.src,f,!!d,e),b.px=c,a.push(b));return b};re.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Df))return!1;var e=this.Df[a];b=se(e,b,c,d);return-1<b?(qe(e[b]),_.Yc(e,b),0==e.length&&(delete this.Df[a],this.xw--),!0):!1};
|
||||||
|
var te=function(a,b){var c=b.type;if(!(c in a.Df))return!1;var d=_.Zc(a.Df[c],b);d&&(qe(b),0==a.Df[c].length&&(delete a.Df[c],a.xw--));return d};re.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Df)if(!a||c==a){for(var d=this.Df[c],e=0;e<d.length;e++)++b,qe(d[e]);delete this.Df[c];this.xw--}return b};re.prototype.Op=function(a,b,c,d){a=this.Df[a.toString()];var e=-1;a&&(e=se(a,b,c,d));return-1<e?a[e]:null}; var se=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Oq&&f.listener==b&&f.capture==!!c&&f.Fe==d)return e}return-1};
|
||||||
|
var ue,ve,we,ze,Be,Ce,Ie,He,De,Je;ue="closure_lm_"+(1E6*Math.random()|0);ve={};we=0;_.P=function(a,b,c,d,e){if(_.Ba(b)){for(var f=0;f<b.length;f++)_.P(a,b[f],c,d,e);return null}c=_.ye(c);return _.ne(a)?a.U(b,c,d,e):ze(a,b,c,!1,d,e)};
|
||||||
|
ze=function(a,b,c,d,e,f){if(!b)throw Error("k");var h=!!e,k=_.Ae(a);k||(a[ue]=k=new re(a));c=k.add(b,c,d,e,f);if(c.jA)return c;d=Be();c.jA=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,h);else if(a.attachEvent)a.attachEvent(Ce(b.toString()),d);else throw Error("l");we++;return c};Be=function(){var a=De,b=ee?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};
|
||||||
|
_.Ee=function(a,b,c,d,e){if(_.Ba(b)){for(var f=0;f<b.length;f++)_.Ee(a,b[f],c,d,e);return null}c=_.ye(c);return _.ne(a)?a.Wl(b,c,d,e):ze(a,b,c,!0,d,e)};_.Fe=function(a,b,c,d,e){if(_.Ba(b))for(var f=0;f<b.length;f++)_.Fe(a,b[f],c,d,e);else c=_.ye(c),_.ne(a)?a.yb(b,c,d,e):a&&(a=_.Ae(a))&&(b=a.Op(b,c,!!d,e))&&_.Ge(b)};
|
||||||
|
_.Ge=function(a){if(!_.Ec(a)&&a&&!a.Oq){var b=a.src;if(_.ne(b))b.eJ(a);else{var c=a.type,d=a.jA;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(Ce(c),d);we--;(c=_.Ae(b))?(te(c,a),0==c.xw&&(c.src=null,b[ue]=null)):qe(a)}}};Ce=function(a){return a in ve?ve[a]:ve[a]="on"+a};Ie=function(a,b,c,d){var e=!0;if(a=_.Ae(a))if(b=a.Df[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Oq&&(f=He(f,d),e=e&&!1!==f)}return e};
|
||||||
|
He=function(a,b){var c=a.listener,d=a.Fe||a.src;a.px&&_.Ge(a);return c.call(d,b)};
|
||||||
|
De=function(a,b){if(a.Oq)return!0;if(!ee){var c=b||_.Yd("window.event");b=new _.le(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.zo&&0<=e;e--){b.currentTarget=c[e];var f=Ie(c[e],a,!0,b),d=d&&f}for(e=0;!b.zo&&e<c.length;e++)b.currentTarget=c[e],f=Ie(c[e],a,!1,b),d=d&&f}return d}return He(a,new _.le(b, this))};_.Ae=function(a){a=a[ue];return a instanceof re?a:null};Je="__closure_events_fn_"+(1E9*Math.random()>>>0);_.ye=function(a){if(_.Pc(a))return a;a[Je]||(a[Je]=function(b){return a.handleEvent(b)});return a[Je]};_.Xd(function(a){De=a(De)});
|
||||||
|
_.Ke=function(){_.$d.call(this);this.ul=new re(this);this.WX=this;this.RG=null};_.A(_.Ke,_.$d);_.Ke.prototype[_.me]=!0;_.g=_.Ke.prototype;_.g.An=function(){return this.RG};_.g.Io=_.n(3);_.g.addEventListener=function(a,b,c,d){_.P(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Fe(this,a,b,c,d)};
|
||||||
|
_.g.dispatchEvent=function(a){var b,c=this.An();if(c)for(b=[];c;c=c.An())b.push(c);var c=this.WX,d=a.type||a;if(_.u(a))a=new _.ce(a,c);else if(a instanceof _.ce)a.target=a.target||c;else{var e=a;a=new _.ce(d,c);_.qd(a,e)}var e=!0,f;if(b)for(var h=b.length-1;!a.zo&&0<=h;h--)f=a.currentTarget=b[h],e=f.At(d,!0,a)&&e;a.zo||(f=a.currentTarget=c,e=f.At(d,!0,a)&&e,a.zo||(e=f.At(d,!1,a)&&e));if(b)for(h=0;!a.zo&&h<b.length;h++)f=a.currentTarget=b[h],e=f.At(d,!1,a)&&e;return e};
|
||||||
|
_.g.ua=function(){_.Ke.R.ua.call(this);this.FR();this.RG=null};_.g.U=function(a,b,c,d){return this.ul.add(String(a),b,!1,c,d)};_.g.Wl=function(a,b,c,d){return this.ul.add(String(a),b,!0,c,d)};_.g.yb=function(a,b,c,d){return this.ul.remove(String(a),b,c,d)};_.g.eJ=function(a){return te(this.ul,a)};_.g.FR=function(a){return this.ul?this.ul.removeAll(a):0};
|
||||||
|
_.g.At=function(a,b,c){a=this.ul.Df[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.Oq&&f.capture==b){var h=f.listener,k=f.Fe||f.src;f.px&&this.eJ(f);d=!1!==h.call(k,c)&&d}}return d&&0!=c.UR};_.g.Op=function(a,b,c,d){return this.ul.Op(String(a),b,c,d)};
|
||||||
|
|
||||||
|
_.Me=function(){this.TA="";this.rX=_.Le};_.Me.prototype.Ol=!0;_.Me.prototype.Hg=_.n(7);_.Me.prototype.toString=function(){return"Const{"+this.TA+"}"};_.Le={};_.Ne=function(a){var b=new _.Me;b.TA=a;return b};_.Ne("");_.Pe=function(){this.fH="";this.YW=_.Oe};_.Pe.prototype.Ol=!0;_.Oe={};_.Pe.prototype.Hg=_.n(6);_.Pe.prototype.Ql=function(a){this.fH=a;return this};_.Qe=(new _.Pe).Ql("");_.Ve=function(){this.vo="";this.ZW=_.Re};_.Ve.prototype.Ol=!0;_.Ve.prototype.Hg=_.n(5);_.Ve.prototype.tF=!0;_.Ve.prototype.dk=_.n(9);_.Re={};_.We=function(a){var b=new _.Ve;b.vo=a;return b};_.We("about:blank");_.Ye=function(){this.vo="";this.WW=_.Xe;this.EM=null};_.Ye.prototype.tF=!0;_.Ye.prototype.dk=_.n(8);_.Ye.prototype.Ol=!0;_.Ye.prototype.Hg=_.n(4);_.Xe={};_.Ze=function(a,b){return(new _.Ye).Ql(a,b)};_.Ye.prototype.Ql=function(a,b){this.vo=a;this.EM=b;return this};_.Ze("<!DOCTYPE html>",0);_.$e=_.Ze("",0);_.af=_.Ze("<br>",0);
|
||||||
|
|
||||||
|
_.ff=function(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[]};_.gf=function(a){return Array.prototype.concat.apply([],arguments)};
|
||||||
|
var ug,vg,wg,xg,yg,zg,Ag,Bg;_.Me.prototype.Hg=_.r(7,function(){return this.TA});_.Pe.prototype.Hg=_.r(6,function(){return this.fH});_.Ve.prototype.Hg=_.r(5,function(){return this.vo});_.Ye.prototype.Hg=_.r(4,function(){return this.vo});ug=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i;vg=/&/g;wg=/</g;xg=/>/g;yg=/"/g;zg=/'/g;Ag=/\x00/g;Bg=/[\x00&<>"']/;_.Cg=function(a){if(a instanceof _.Ve)return a;a=a.Ol?a.Hg():String(a);ug.test(a)||(a="about:invalid#zClosurez");return _.We(a)};
|
||||||
|
_.Dg=function(a){if(a instanceof _.Ve&&a.constructor===_.Ve&&a.ZW===_.Re)return a.vo;_.Aa(a);return"type_error:SafeUrl"};_.Eg=function(a){if(!Bg.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(vg,"&"));-1!=a.indexOf("<")&&(a=a.replace(wg,"<"));-1!=a.indexOf(">")&&(a=a.replace(xg,">"));-1!=a.indexOf('"')&&(a=a.replace(yg,"""));-1!=a.indexOf("'")&&(a=a.replace(zg,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ag,"�"));return a}; _.Fg=function(a){if(a instanceof _.Ye&&a.constructor===_.Ye&&a.WW===_.Xe)return a.vo;_.Aa(a);return"type_error:SafeHtml"};
|
||||||
|
|
||||||
|
var Gg,Kg;_.Ve.prototype.dk=_.r(9,function(){return 1});_.Ye.prototype.dk=_.r(8,function(){return this.EM});Gg={};_.Hg=function(){this.gH="";this.FX=Gg};_.Hg.prototype.Ol=!0;_.Hg.prototype.Hg=function(){return this.gH};_.Hg.prototype.tF=!0;_.Hg.prototype.dk=function(){return 1};_.Ig=function(a){if(a instanceof _.Hg&&a.constructor===_.Hg&&a.FX===Gg)return a.gH;_.Aa(a);return"type_error:TrustedResourceUrl"};_.Jg=function(a){var b=new _.Hg;b.gH=a;return b};
|
||||||
|
var Lg,Mg;Lg=!_.J||_.Qd(9);Mg=!_.Dd&&!_.J||_.J&&_.Qd(9)||_.Dd&&_.Od("1.9.1");_.Ng=_.J&&!_.Od("9");_.Og=_.J||_.zd||_.Ed;_.Pg=_.J&&!_.Qd(9);var Wg,Yg,$g;_.Sg=function(a){return a?new _.Qg(_.Rg(a)):Kg||(Kg=new _.Qg)};_.Ug=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):_.Tg(window.document,"*",a,b)};_.Vg=function(a,b){var c=b||window.document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?c.querySelector("."+a):_.Tg(window.document,"*",a,b)[0])||null};
|
||||||
|
_.Tg=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,"function"==typeof b.split&&_.Xc(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a};
|
||||||
|
_.Xg=function(a,b){_.rd(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Wg.hasOwnProperty(d)?a.setAttribute(Wg[d],b):_.Ic(d,"aria-")||_.Ic(d,"data-")?a.setAttribute(d,b):a[d]=b})};Wg={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"};
|
||||||
|
_.Zg=function(a,b){var c=String(b[0]),d=b[1];if(!Lg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',_.Eg(d.name),'"');if(d.type){c.push(' type="',_.Eg(d.type),'"');var e={};_.qd(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(_.u(d)?c.className=d:_.Ba(d)?c.className=d.join(" "):_.Xg(c,d));2<b.length&&Yg(a,c,b,2);return c};
|
||||||
|
Yg=function(a,b,c,d){function e(c){c&&b.appendChild(_.u(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];!_.Ca(f)||_.Dc(f)&&0<f.nodeType?e(f):(0,_.Sc)($g(f)?_.ff(f):f,e)}};_.ah=function(a,b){return a.createElement(String(b))};_.bh=function(a,b){Yg(_.Rg(a),a,arguments,1)};_.ch=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};_.dh=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};_.eh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
|
||||||
|
_.fh=function(a){var b,c=a.parentNode;if(c&&11!=c.nodeType){if(a.removeNode)return a.removeNode(!1);for(;b=a.firstChild;)c.insertBefore(b,a);return _.eh(a)}};_.gh=function(a){return Mg&&void 0!=a.children?a.children:(0,_.Tc)(a.childNodes,function(a){return 1==a.nodeType})};_.hh=function(a){if(_.za(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a};_.ih=function(a){return _.Dc(a)&&1==a.nodeType};
|
||||||
|
_.jh=function(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};_.Rg=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
|
||||||
|
_.kh=function(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 _.ch(a),a.appendChild(_.Rg(a).createTextNode(String(b)))};$g=function(a){if(a&&"number"==typeof a.length){if(_.Dc(a))return"function"==typeof a.item||"string"==typeof a.item;if(_.Pc(a))return"function"==typeof a.item}return!1};_.Qg=function(a){this.Bb=a||_.t.document||window.document};
|
||||||
|
_.g=_.Qg.prototype;_.g.ma=_.Sg;_.g.GA=_.n(22);_.g.tb=function(){return this.Bb};_.g.H=_.n(0);_.g.getElementsByTagName=function(a,b){return(b||this.Bb).getElementsByTagName(String(a))};_.g.Kp=_.n(24);_.g.hk=_.n(26);_.g.xy=_.n(28);_.g.S=function(a,b,c){return _.Zg(this.Bb,arguments)};_.g.createElement=function(a){return _.ah(this.Bb,a)};_.g.createTextNode=function(a){return this.Bb.createTextNode(String(a))};_.g.Wb=function(){var a=this.Bb;return a.parentWindow||a.defaultView}; _.g.appendChild=function(a,b){a.appendChild(b)};_.g.append=_.bh;_.g.Nq=_.ch;_.g.mP=_.dh;_.g.removeNode=_.eh;_.g.f_=_.fh;_.g.B_=_.gh;_.g.AN=_.hh;_.g.isElement=_.ih;_.g.contains=_.jh;_.g.wi=_.n(30);
|
||||||
|
|
||||||
|
_.I.Ua=_.I.Ua||{};_.I.Ua.HY=function(a){try{return!!a.document}catch(b){}return!1};_.I.Ua.cO=function(a){var b=a.parent;return a!=b&&_.I.Ua.HY(b)?_.I.Ua.cO(b):a};_.I.Ua.kja=function(a){var b=a.userAgent||"";a=a.product||"";return 0!=b.indexOf("Opera")&&-1==b.indexOf("WebKit")&&"Gecko"==a&&0<b.indexOf("rv:1.")};
|
||||||
|
|
||||||
|
var Bs,Cs,Fs,Ls,Us,Xs,Ys,Zs,at;Bs={IMG:" ",BR:"\n"};Cs={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};_.Ds=function(a){return"CSS1Compat"==a.compatMode};_.Es=function(a,b){this.width=a;this.height=b};_.g=_.Es.prototype;_.g.clone=function(){return new _.Es(this.width,this.height)};_.g.jY=function(){return this.width*this.height};_.g.isEmpty=function(){return!this.jY()};_.g.ceil=_.n(16);_.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};Fs=function(a,b,c){if(!(a.nodeName in Cs))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 Bs)b.push(Bs[a.nodeName]);else for(a=a.firstChild;a;)Fs(a,b,c),a=a.nextSibling};_.Gs=function(a){return a.scrollingElement?a.scrollingElement:!_.Ed&&_.Ds(a)?a.documentElement:a.body||a.documentElement};
|
||||||
|
_.Hs=function(a){a=a.document;a=_.Ds(a)?a.documentElement:a.body;return new _.Es(a.clientWidth,a.clientHeight)};_.Is=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Js=function(a,b){this.x=_.za(a)?a:0;this.y=_.za(b)?b:0};_.g=_.Js.prototype;_.g.clone=function(){return new _.Js(this.x,this.y)};_.g.equals=_.n(11);_.g.ceil=_.n(17);_.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=_.n(20);_.Ks=function(a){if(a instanceof _.Ye)return a;var b=null;a.tF&&(b=a.dk());return _.Ze(_.Eg(a.Ol?a.Hg():String(a)),b)};Ls={};_.Qg.prototype.H=_.r(0,function(a){return _.u(a)?this.Bb.getElementById(a):a});_.Ms=function(a,b,c,d){return _.Tg(a.Bb,b,c,d)};
|
||||||
|
_.Ns=function(a){if(_.Ng&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Fs(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Ng||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Os=function(a){var b=_.Gs(a);a=a.parentWindow||a.defaultView;return _.J&&_.Od("10")&&a.pageYOffset!=b.scrollTop?new _.Js(b.scrollLeft,b.scrollTop):new _.Js(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
|
||||||
|
_.Ps=function(a){return _.Hs(a||window)};_.Qs=function(a,b){a.innerHTML=_.Fg(b)};_.Rs=function(a){var b=0,c="",d=function(a){_.Ba(a)?(0,_.Sc)(a,d):(a=_.Ks(a),c+=_.Fg(a),a=a.dk(),0==b?b=a:0!=a&&b!=a&&(b=null))};(0,_.Sc)(arguments,d);return _.Ze(c,b)};_.Ss=function(){this.eH="";this.XW=Ls};_.Ss.prototype.Ol=!0;_.Ss.prototype.Hg=function(){return this.eH};_.Ss.prototype.Ql=function(a){this.eH=a;return this};_.Ts=function(){return _.Ne("https://www.gstatic.com/images/icons/material/anim/mspin/mspin_googcolor_large.css")};
|
||||||
|
Us=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;_.Vs=function(a){return a instanceof _.Me&&a.constructor===_.Me&&a.rX===_.Le?a.TA:"type_error:Const"};_.Ws=function(a){if(a instanceof _.Pe&&a.constructor===_.Pe&&a.YW===_.Oe)return a.fH;_.Aa(a);return"type_error:SafeStyle"};Xs={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};Ys=/^[a-zA-Z0-9-]+$/;
|
||||||
|
Zs={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};_.$s=function(a){return a?a.parentWindow||a.defaultView:window};at={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};_.bt=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
|
||||||
|
_.ct=function(a){if(a instanceof _.Ss&&a.constructor===_.Ss&&a.XW===Ls)return a.eH;_.Aa(a);return"type_error:SafeStyleSheet"};_.dt=function(a,b,c,d){return Array.prototype.splice.apply(a,_.bt(arguments,1))};_.et=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};_.ft=function(a){var b=[];Fs(a,b,!1);return b.join("")};
|
||||||
|
_.gt=function(a){var b;if(_.Og&&!(_.J&&_.Od("9")&&!_.Od("10")&&_.t.SVGElement&&a instanceof _.t.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ih(b)?b:null};_.ht=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.it=function(a,b,c){return _.Zg(window.document,arguments)};_.jt=function(a){return _.u(a)?window.document.getElementById(a):a};
|
||||||
|
_.kt=function(a,b){if(!Ys.test("div"))throw Error("n`div");if("DIV"in at)throw Error("o`div");var c=null,d,e="";if(a)for(d in a){if(!Ys.test(d))throw Error("s`"+d);var f=a[d];if(null!=f){var h;h=d;if(f instanceof _.Me)f=_.Vs(f);else if("style"==h.toLowerCase()){var k=f;if(!_.Dc(k))throw Error("r`"+typeof k+"`"+k);if(!(k instanceof _.Pe)){var f=void 0,l="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("m`"+f);var m=k[f];if(null!=m){if(m instanceof _.Me)m=_.Vs(m);else if(Us.test(m)){for(var p=
|
||||||
|
!0,q=!0,w=0;w<m.length;w++){var x=m.charAt(w);"'"==x&&q?p=!p:'"'==x&&p&&(q=!q)}p&&q||(m="zClosurez")}else m="zClosurez";l+=f+":"+m+";"}}k=l?(new _.Pe).Ql(l):_.Qe}f=_.Ws(k)}else{if(/^on/i.test(h))throw Error("p`"+h+"`"+f);if(h.toLowerCase()in Xs)if(f instanceof _.Hg)f=_.Ig(f);else if(f instanceof _.Ve)f=_.Dg(f);else if(_.u(f))f=_.Cg(f).Hg();else throw Error("q`"+h+"`div`"+f);}f.Ol&&(f=f.Hg());h=h+'="'+_.Eg(String(f))+'"';e+=" "+h}}d="<div"+e;null!=b?_.Ba(b)||(b=[b]):b=[];!0===Zs.div?d+=">":(c=_.Rs(b),
|
||||||
|
d+=">"+_.Fg(c)+"</div>",c=c.dk());(a=a&&a.dir)&&(c=/^(ltr|rtl|auto)$/i.test(a)?0:null);return _.Ze(d,c)};_.lt=function(a,b,c){if(null!==a&&b in a)throw Error("i`"+b);a[b]=c};_.mt=function(a){var b=_.u(void 0)?_.et(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};_.nt=function(a,b){for(var c in b)a[c]=b[c]};_.ot=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.ot.prototype;_.g.Nd=_.n(37);
|
||||||
|
_.g.Ud=function(){return this.bottom-this.top};_.g.clone=function(){return new _.ot(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.ot?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};_.g.expand=_.n(53);_.g.ceil=_.n(15);
|
||||||
|
_.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=_.n(19);
|
||||||
|
var qt,wt,ut,Kt,Lt;_.R=function(a,b,c){if(_.u(b))(b=_.pt(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.pt(c,d);f&&(c.style[f]=e)}};qt={};_.pt=function(a,b){var c=qt[b];if(!c){var d=_.Oc(b),c=d;void 0===a.style[d]&&(d=(_.Ed?"Webkit":_.Dd?"Moz":_.J?"ms":_.zd?"O":null)+_.mt(d),void 0!==a.style[d]&&(c=d));qt[b]=c}return c};_.rt=function(a,b){var c=_.Rg(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};
|
||||||
|
_.st=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.tt=function(a,b){return _.rt(a,b)||_.st(a,b)||a.style&&a.style[b]};_.vt=function(a,b,c){var d;b instanceof _.Js?(d=b.x,b=b.y):(d=b,b=c);a.style.left=ut(d,!1);a.style.top=ut(b,!1)};
|
||||||
|
wt=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.J&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};_.xt=function(a){var b=_.Rg(a),c=new _.Js(0,0),d;d=b?_.Rg(b):window.document;d=!_.J||_.Qd(9)||_.Ds(_.Sg(d).Bb)?d.documentElement:d.body;if(a==d)return c;a=wt(a);b=_.Os(_.Sg(b).Bb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
|
||||||
|
_.zt=function(a,b){var c=new _.Js(0,0),d=_.$s(_.Rg(a));if(!_.wd(d,"parent"))return c;do{var e=d==b?_.xt(a):_.yt(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.yt=function(a){a=wt(a);return new _.Js(a.left,a.top)};_.Bt=function(a,b,c){if(b instanceof _.Es)c=b.height,b=b.width;else if(void 0==c)throw Error("P");a.style.width=ut(b,!0);_.At(a,c)};ut=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
|
||||||
|
_.At=function(a,b){a.style.height=ut(b,!0)};_.Dt=function(a){var b=_.Ct;if("none"!=_.tt(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};_.Ct=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Ed&&!b&&!c;return _.za(b)&&!d||!a.getBoundingClientRect?new _.Es(b,c):(a=wt(a),new _.Es(a.right-a.left,a.bottom-a.top))};
|
||||||
|
_.Et=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};_.S=function(a,b){a.style.display=b?"":"none"};_.Gt=function(a){a=(new _.Ss).Ql(a);var b=_.Sg(void 0),c,d=b.tb();_.J&&d.createStyleSheet?(c=d.createStyleSheet(),_.Ft(c,a)):(d=_.Ms(b,"HEAD")[0],d||(c=_.Ms(b,"BODY")[0],d=b.S("HEAD"),c.parentNode.insertBefore(d,c)),c=b.S("STYLE"),_.Ft(c,a),b.appendChild(d,c));return c};
|
||||||
|
_.Ft=function(a,b){b=_.ct(b);_.J&&_.za(a.cssText)?a.cssText=b:a.innerHTML=b};_.Ht=function(a){return"rtl"==_.tt(a,"direction")};_.It=_.Dd?"MozUserSelect":_.Ed||_.Ad?"WebkitUserSelect":null;_.Jt=function(a,b){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};Kt={thin:2,medium:4,thick:6};
|
||||||
|
Lt=function(a,b){if("none"==_.st(a,b+"Style"))return 0;b=_.st(a,b+"Width");return b in Kt?Kt[b]:_.Jt(a,b)};_.Mt=function(a){if(_.J&&!_.Qd(9)){var b=Lt(a,"borderLeft"),c=Lt(a,"borderRight"),d=Lt(a,"borderTop");a=Lt(a,"borderBottom");return new _.ot(d,c,a,b)}b=_.rt(a,"borderLeftWidth");c=_.rt(a,"borderRightWidth");d=_.rt(a,"borderTopWidth");a=_.rt(a,"borderBottomWidth");return new _.ot((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
|
||||||
|
|
||||||
|
_.Js.prototype.equals=_.r(11,function(a){return a instanceof _.Js&&_.Is(this,a)});_.Nt=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};_.g=_.Nt.prototype;_.g.clone=function(){return new _.Nt(this.left,this.top,this.width,this.height)};_.g.AF=_.n(12);
|
||||||
|
_.g.contains=function(a){return a instanceof _.Js?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};_.g.Qp=function(){return new _.Es(this.width,this.height)};_.g.ceil=_.n(14);_.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=_.n(18);_.Ot=function(a){return _.tt(a,"position")};
|
||||||
|
|
||||||
|
var Pt;Pt=function(a,b){return(b=_.st(a,b))?_.Jt(a,b):0};_.Qt=function(a,b){if(_.J){var c=Pt(a,b+"Left"),d=Pt(a,b+"Right"),e=Pt(a,b+"Top");a=Pt(a,b+"Bottom");return new _.ot(e,d,a,c)}c=_.rt(a,b+"Left");d=_.rt(a,b+"Right");e=_.rt(a,b+"Top");a=_.rt(a,b+"Bottom");return new _.ot((0,window.parseFloat)(e),(0,window.parseFloat)(d),(0,window.parseFloat)(a),(0,window.parseFloat)(c))};_.Rt=function(a){return _.Qt(a,"padding")};_.St=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};
|
||||||
|
|
||||||
|
var Ut,Vt;_.Nt.prototype.AF=_.r(12,function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1});_.Tt=function(a){return new _.ot(a.top,a.left+a.width,a.top+a.height,a.left)};Ut=function(a,b){return new _.Js(a.x-b.x,a.y-b.y)};
|
||||||
|
Vt=function(a){if(_.J&&!_.Qd(8))return a.offsetParent;var b=_.Rg(a),c=_.tt(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=_.tt(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};_.Wt=function(a,b){return(b&8&&_.Ht(a)?b^4:b)&-9};
|
||||||
|
_.Xt=function(a){for(var b=new _.ot(0,window.Infinity,window.Infinity,0),c=_.Sg(a),d=c.tb().body,e=c.tb().documentElement,f=_.Gs(c.Bb);a=Vt(a);)if(!(_.J&&0==a.clientWidth||_.Ed&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=_.tt(a,"overflow")){var h=_.xt(a),k=new _.Js(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=_.Ps(c.Wb());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};_.Yt=function(a){var b=_.xt(a);a=_.Dt(a);return new _.Nt(b.x,b.y,a.width,a.height)};_.Zt=function(a){if(1==a.nodeType)return _.yt(a);a=a.changedTouches?a.changedTouches[0]:a;return new _.Js(a.clientX,a.clientY)};
|
||||||
|
_.$t=function(a,b,c,d,e,f,h,k,l){var m,p;if(m=c.offsetParent){var q="HTML"==m.tagName||"BODY"==m.tagName;q&&"static"==_.Ot(m)||(p=_.xt(m),q||(q=(q=_.Ht(m))&&_.Dd?-m.scrollLeft:!q||_.Cd&&_.Od("8")||"visible"==_.tt(m,"overflowX")?m.scrollLeft:m.scrollWidth-m.clientWidth-m.scrollLeft,p=Ut(p,new _.Js(q,m.scrollTop))))}m=p||new _.Js;p=_.Yt(a);(q=_.Xt(a))&&p.AF(new _.Nt(q.left,q.top,q.right-q.left,q.bottom-q.top));var q=_.Sg(a),w=_.Sg(c);if(q.tb()!=w.tb()){var x=q.tb().body,w=_.zt(x,w.Wb()),w=Ut(w,_.xt(x));
|
||||||
|
!_.J||_.Qd(9)||_.Ds(q.Bb)||(w=Ut(w,_.Os(q.Bb)));p.left+=w.x;p.top+=w.y}a=_.Wt(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);b=new _.Js(b,p.top+(a&1?p.height:0));b=Ut(b,m);e&&(b.x+=(a&4?-1:1)*e.x,b.y+=(a&1?-1:1)*e.y);var v;if(h)if(l)v=l;else if(v=_.Xt(c))v.top-=m.y,v.right-=m.x,v.bottom-=m.y,v.left-=m.x;e=v;l=b.clone();v=_.Wt(c,d);d=_.Dt(c);a=k?k.clone():d.clone();k=l;l=a;k=k.clone();l=l.clone();a=0;if(f||0!=v)v&4?k.x-=l.width+(f?f.right:0):v&2?k.x-=l.width/2:f&&(k.x+=f.left),v&1?k.y-=l.height+
|
||||||
|
(f?f.bottom:0):f&&(k.y+=f.top);h&&(e?(f=k,v=l,a=0,65==(h&65)&&(f.x<e.left||f.x>=e.right)&&(h&=-2),132==(h&132)&&(f.y<e.top||f.y>=e.bottom)&&(h&=-5),f.x<e.left&&h&1&&(f.x=e.left,a|=1),h&16&&(b=f.x,f.x<e.left&&(f.x=e.left,a|=4),f.x+v.width>e.right&&(v.width=Math.min(e.right-f.x,b+v.width-e.left),v.width=Math.max(v.width,0),a|=4)),f.x+v.width>e.right&&h&1&&(f.x=Math.max(e.right-v.width,e.left),a|=1),h&2&&(a|=(f.x<e.left?16:0)|(f.x+v.width>e.right?32:0)),f.y<e.top&&h&4&&(f.y=e.top,a|=2),h&32&&(b=f.y,
|
||||||
|
f.y<e.top&&(f.y=e.top,a|=8),f.y+v.height>e.bottom&&(v.height=Math.min(e.bottom-f.y,b+v.height-e.top),v.height=Math.max(v.height,0),a|=8)),f.y+v.height>e.bottom&&h&4&&(f.y=Math.max(e.bottom-v.height,e.top),a|=2),h&8&&(a|=(f.y<e.top?64:0)|(f.y+v.height>e.bottom?128:0)),h=a):h=256,a=h);f=new _.Nt(0,0,0,0);f.left=k.x;f.top=k.y;f.width=l.width;f.height=l.height;h=a;h&496||(_.vt(c,new _.Js(f.left,f.top)),a=f.Qp(),d==a||d&&a&&d.width==a.width&&d.height==a.height||(f=a,d=_.Ds(_.Sg(_.Rg(c)).Bb),!_.J||_.Od("10")||
|
||||||
|
d&&_.Od("8")?(c=c.style,_.Dd?c.MozBoxSizing="border-box":_.Ed?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(f.width,0)+"px",c.height=Math.max(f.height,0)+"px"):(k=c.style,d?(d=_.Rt(c),c=_.Mt(c),k.pixelWidth=f.width-c.left-d.left-d.right-c.right,k.pixelHeight=f.height-c.top-d.top-d.bottom-c.bottom):(k.pixelWidth=f.width,k.pixelHeight=f.height))));return h};_.au=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};
|
||||||
|
|
||||||
|
_.bu=function(){var a=window,b=a.document,c=0;if(b){var c=b.body,d=b.documentElement;if(!d||!c)return 0;a=_.Hs(a).height;if(_.Ds(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}}return c};_.cu=function(a){this.$=a;this.Ba=a.wc()};_.cu.prototype.hv=function(){du(this)};_.cu.prototype.onBeforeParentOpen=_.cu.prototype.hv;
|
||||||
|
var du=function(a){var b=a.$.Kd();if(a.Ba.anchorBox&&b&&b.Ya())b=_.xt(b.Ya()),a.Ba.anchorBox.left+=b.x,a.Ba.anchorBox.top+=b.y;else{b=a.Ba.anchor;if("_default"!=b&&"_iframe"!=b){var c=_.jt(b);if(c)a.Ba.anchorBox=_.Yt(c);else{_.Ka("Anchor not found in DOM: "+b+'. Falling back to "_default".');a.Ba.anchor="_default";return}}"_iframe"==b&&(b=_.Ps(),a.Ba.anchorBox=new _.Nt(0,0,b.width,b.height))}a.Ba.anchor=""};
|
||||||
|
_.eu=function(a){_.cu.call(this,a)};_.A(_.eu,_.cu);_.g=_.eu.prototype;_.g.open=function(){var a=this.Ba,b=window.document.createElement("ins");window.document.getElementById(a.container).appendChild(b);b.style.display="block";_.R(b,a.containerCss);this.$.eg(b);this.$.Jg(b)};_.g.Pd=function(){window.document.getElementById(this.$.id).style.height=this.$.height+"px"};_.g.close=function(){_.eh(this.$.Hb());_.eh(this.Pf);this.Pf=null};_.g.XH=function(a){this.As=a;this.Pf.style.cssText=_.fu(this,!0)};
|
||||||
|
_.g.Fg=function(){if(this.Pf)return this.Pf;var a=this.Ba;!a.anchorBox&&a.anchor&&du(this);var b=this.$.Kd();if("_default"==a.anchor&&b){var c=_.Yt(_.jt(b.Hb()));a.anchorBox=c}if(!a.anchorBox)return _.Ka("No anchor box defined."),null;a=new _.Js(a.anchorBox.left,a.anchorBox.top);b&&(b=_.zt(b.Ya(),window),this.jo=new _.Js,this.jo.x=b.x,this.jo.y=b.y,a.x+=b.x,a.y+=b.y,_.gu(a));this.As=a;b=_.fu(this,!0);this.Pf=window.document.createElement("ins");this.Pf.style.cssText=b;window.document.body.appendChild(this.Pf);
|
||||||
|
return this.Pf};_.fu=function(a,b){var c=a.Ba;return"position: absolute !important;background-color: transparent !important;left: "+a.As.x+"px !important;top: "+a.As.y+"px !important;width: "+c.anchorBox.width+"px !important;height: "+c.anchorBox.height+"px !important;z-index: -10000 !important;display: "+(b?"block":"none")+" !important;"};
|
||||||
|
_.hu=function(a,b){var c=0,d=0;if(b.pageX||b.pageY)c=b.pageX,d=b.pageY;else if(b.clientX||b.clientY)c=b.target?b.target:b.srcElement,d=c.ownerDocument&&c.ownerDocument.parentWindow?c.ownerDocument.parentWindow:window,_.J?(c=d.document.documentElement.scrollLeft,d=d.document.documentElement.scrollTop):(c=d.pageXOffset,d=d.pageYOffset),c=b.clientX+c,d=b.clientY+d;b=new _.Js(c,d);return(a=_.Tt(_.Yt(a)))&&a.contains(b)};
|
||||||
|
_.gu=function(a){var b=window,c=window.document.body,d=_.xt(c),b=c.currentStyle||b.getComputedStyle(c,"");b.position&&"static"!=b.position&&(a.x-=d.x,a.y-=d.y)};_.iu=function(a){var b=a.$.Kd()&&a.$.Kd().Hb(),b=b&&b.style.zIndex?(0,window.parseInt)(b.style.zIndex,10)+1:0;return Math.min(2147483647,Math.max(2E9,a.Ba.zIndex||b))};
|
||||||
|
var ju,ku,lu;ju={"bottom-center":1,"bottom-end":13,"bottom-left":1,"bottom-right":5,"bottom-start":9,"left-bottom":1,"left-center":0,"left-top":0,"right-bottom":5,"right-center":4,"right-top":4,"top-center":0,"top-end":12,"top-left":0,"top-right":4,"top-start":8};ku={"bottom-center":!0,"top-center":!0};lu={"left-center":!0,"right-center":!0};
|
||||||
|
_.mu=function(a,b,c,d,e){e=e||{x:0,y:0};if(ku[b]){var f=_.Dt(a).width/2;e.x="top-right"==d||"bottom-right"==d?e.x+f:e.x-f}ku[d]&&(f=_.Dt(c).width/2,e.x+=f);lu[b]&&(f=_.Dt(a).height/2,e.y="right-bottom"==d||"left-bottom"==d?e.y+f:e.y-f);lu[d]&&(e.y+=_.Dt(c).height/2);_.$t(c,ju[d],a,ju[b],new _.Js(e.x,e.y));d=_.au(a,function(a){if(a==window.document)return!1;a=_.Ot(a);return!!a&&"static"!=a});c=b=0;d&&(c=_.xt(d),b=-c.x,c=-c.y);a=a.style;(0,window.parseInt)(a.left,10)<b&&(a.left=b+"px");(0,window.parseInt)(a.top, 10)<c&&(a.top=c+"px")};
|
||||||
|
_.nu=function(a){_.cu.call(this,a.$);this.Ah=a;this.JC=[]};_.A(_.nu,_.eu);_.nu.prototype.hv=function(){this.Ah.hv()};_.nu.prototype.onBeforeParentOpen=_.nu.prototype.hv;_.nu.prototype.open=function(){this.Ah.open();(this.Ba.closeClickDetection||this.Ba.hideClickDetection)&&ou(this)};_.nu.prototype.open=_.nu.prototype.open;_.nu.prototype.Pd=function(a){this.Ah.Pd(a)};_.nu.prototype.onready=_.nu.prototype.Pd;_.nu.prototype.HQ=function(a){this.Ah.onRenderStart&&this.Ah.onRenderStart(a)};
|
||||||
|
_.nu.prototype.onRenderStart=_.nu.prototype.HQ;_.nu.prototype.close=function(){if(this.Ba.closeClickDetection||this.Ba.hideClickDetection)(0,_.Sc)(this.JC,function(a){_.Ge(a)}),this.JC=[];this.Ah.close()};_.nu.prototype.close=_.nu.prototype.close;var ou=function(a){(0,_.Sc)(["click","touchstart"],(0,_.z)(function(a){this.JC.push(_.P(window.document,a,(0,_.z)(this.MY,this),!0))},a))};_.nu.prototype.MY=function(a){_.hu(this.$.Hb(),a)||(this.Ba.hideClickDetection&&this.Ah.show?this.Ah.show(!1):this.close())};
|
||||||
|
|
||||||
|
_.SE=function(a){_.cu.call(this,a.$);this.Ah=a;this.jt=null};_.A(_.SE,_.eu);_.SE.prototype.open=function(){this.Ba.targetPos=this.Ba.targetPos||"top-start";this.Ba.anchorPos=this.Ba.anchorPos||"bottom-start";var a=this.Fg(),b=this.$.Hb();b?(b.style.visibility="hidden",b.style.position="absolute",a.parentNode.appendChild(b)):this.Ah.open()};_.SE.prototype.open=_.SE.prototype.open;
|
||||||
|
_.SE.prototype.Pd=function(){if(this.Ba.closeClickDetection){var a=this,b=function(b){_.hu(a.$.Hb(),b)||(a.$.close(),a.jt=null)};window.document.pY?(window.document.pY("click",b),this.jt=function(){window.document.removeEventListener("click",b,!1)}):window.document.attachEvent&&(window.document.attachEvent("onclick",b),this.jt=function(){window.document.detachEvent("onclick",b)})}var c=this.$.Hb();window.document.getElementById(this.$.id).style.height=this.$.height+"px";var d=this.Fg();d&&_.mu(c,
|
||||||
|
this.Ba.targetPos,d,this.Ba.anchorPos,{x:this.Ba.leftOffset||0,y:this.Ba.topOffset||0});c.style.visibility="visible"};_.SE.prototype.onready=_.SE.prototype.Pd;_.SE.prototype.close=function(){this.Ah.close();this.jt&&this.jt()};_.SE.prototype.close=_.SE.prototype.close;
|
||||||
|
_.TE=function(a){_.cu.call(this,a)};_.A(_.TE,_.eu);var UE=["transition","WebkitTransition","MozTransition","OTranstion","msTransition"];_.TE.prototype.create=function(a){this.Pa=window.document.createElement("div");var b={position:"absolute",top:"-10000px",zIndex:_.iu(this)};this.Ba.width&&(b.width=this.Ba.width+"px");for(var c in b)this.Pa.style[c]=b[c];(a||window.document.body).appendChild(this.Pa)};
|
||||||
|
_.TE.prototype.open=function(a){this.$.tf("updateContainer",(0,_.z)(this.Im,this));this.create(a);this.$.Jg(this.Pa);this.$.eg(this.Pa)};_.TE.prototype.open=_.TE.prototype.open;_.TE.prototype.Pd=function(){var a=VE(this);if(a){var b=window.document.getElementById(this.$.Aa());b.style.height=a.height+"px";b.style.width=a.width+"px";this.$.width=a.width;this.$.height=a.height;b.style.boxShadow="0 4px 16px rgba(0, 0, 0, 0.3)"}};_.TE.prototype.onready=_.TE.prototype.Pd;
|
||||||
|
_.TE.prototype.close=function(){this.Pa.parentNode&&this.Pa.parentNode.removeChild(this.Pa)};_.TE.prototype.close=_.TE.prototype.close;_.TE.prototype.Im=function(a,b,c){var d=this.$.Hb();d&&(a?(this.jf(b,c),d.style.opacity=0,d.style.display="",window.setTimeout((0,_.z)(function(){WE(d,!0);d.style.opacity=1},this),0)):(d.style.display="none",WE(d,!1),d.style.opacity=0))};var WE=function(a,b){for(var c=0;c<UE.length;c++)a.style[UE[c]]=b?"opacity .13s linear":""};
|
||||||
|
_.TE.prototype.jf=function(a,b){var c=this.$.Kd();a+=10;b+=10;if(_.I.Ua&&(c&&(c=_.zt(c.Hb(),window),a+=c.x,b+=c.y),c=VE(this))){var d=_.Ps(window),e=_.Os(window.document);d.width&&(a=Math.min(a,d.width+e.x-c.width-8),b+c.height>d.height+e.y-8&&(b-=20+c.height,b=Math.max(b,Math.min(e.y+1,_.bu()-c.height))))}c=this.$.Hb();c.style.left=a+"px";c.style.top=b+"px"}; var VE=function(a){return a.$.width&&a.$.height?{width:a.$.width,height:a.$.height}:(a=a.$.Ya())&&a.offsetWidth&&a.offsetHeight?{width:a.offsetWidth,height:a.offsetHeight}:null};
|
||||||
|
_.XE=function(a){_.cu.call(this,a)};_.A(_.XE,_.eu);_.XE.prototype.Dz=null;_.XE.prototype.qG=null;_.XE.prototype.Xm=null;var YE={end:"start",left:"right",right:"left",start:"end"},ZE={top:"bottom",bottom:"top"};_.XE.prototype.open=function(){var a=window.document.createElement("div");_.R(a,{top:"-10000px",position:"absolute",zIndex:_.iu(this)});this.Fg().parentNode.appendChild(a);this.$.eg(a);this.$.Jg(a)};_.XE.prototype.open=_.XE.prototype.open;
|
||||||
|
_.XE.prototype.Pd=function(){var a=window.document.getElementById(this.$.id);a.style.height=this.$.height+"px";a.style.width=this.$.width+"px";a.style.boxShadow="0 4px 16px rgba(0, 0, 0, 0.3)";var b=this.$.Hb();b.style.lineHeight=0;var c=this.Fg(),d=this.Ba.targetPos||"top-start",e=this.Ba.anchorPos||"bottom-start",f=this.Ba.leftOffset||0,h=this.Ba.topOffset||0;_.mu(b,d,c,e,{x:f,y:h});var k=_.Ps(window),l=_.Os(window.document),m=b.offsetLeft<l.x||b.offsetLeft+b.offsetWidth>k.width+l.x,k=b.offsetTop<
|
||||||
|
l.y||b.offsetTop+b.offsetHeight>k.height+l.y,d=$E(d,m,k),e=$E(e,m,k);_.mu(b,d,c,e,{x:f*(m?-1:1),y:h*(k?-1:1)});b.style.visibility="visible";this.Dz=_.P(window.document,"mouseover",(0,_.z)(function(b){b.target===a&&this.Xm&&(window.clearTimeout(this.Xm),this.Xm=null)},this));this.qG=_.P(window.document,"mouseout",(0,_.z)(function(b){b.target===a&&(this.Xm=window.setTimeout((0,_.z)(this.$.close,this.$),1E3))},this))};_.XE.prototype.onready=_.XE.prototype.Pd;
|
||||||
|
var $E=function(a,b,c){a=a.split("-");for(var d=0;2>d;d++)b&&YE[a[d]]&&(a[d]=YE[a[d]]),c&&ZE[a[d]]&&(a[d]=ZE[a[d]]);return a.join("-")};_.XE.prototype.close=function(){this.Dz&&(_.Ge(this.Dz),_.Ge(this.qG),this.qG=this.Dz=null);this.Xm&&(window.clearTimeout(this.Xm),this.Xm=null);_.XE.R.close.call(this)};_.XE.prototype.close=_.XE.prototype.close;
|
||||||
|
|
||||||
|
var Eb=function(a){return 10>a?"0"+a:a},Fb={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},Hb=function(a){var b,c,d;b=/[\"\\\x00-\x1f\x7f-\x9f]/g;if(void 0!==a){switch(typeof a){case "string":return b.test(a)?'"'+a.replace(b,function(a){var b=Fb[a];if(b)return b;b=a.charCodeAt();return"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16)})+'"':'"'+a+'"';case "number":return(0,window.isFinite)(a)?String(a):"null";case "boolean":case "null":return String(a);case "object":if(!a)return"null";
|
||||||
|
b=[];if("number"===typeof a.length&&!a.propertyIsEnumerable("length")){d=a.length;for(c=0;c<d;c+=1)b.push(Hb(a[c])||"null");return"["+b.join(",")+"]"}for(c in a)!/___$/.test(c)&&_.Ua(a,c)&&"string"===typeof c&&(d=Hb(a[c]))&&b.push(Hb(c)+":"+d);return"{"+b.join(",")+"}"}return""}},Ib=function(a){if(!a)return!1;if(/^[\],:{}\s]*$/.test(a.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))try{return eval("("+
|
||||||
|
a+")")}catch(b){}return!1},Jb=!1,Kb;try{Jb=!!window.JSON&&'["a"]'===window.JSON.stringify(["a"])&&"a"===window.JSON.parse('["a"]')[0]}catch(a){}Kb=function(a){try{return window.JSON.parse(a)}catch(b){return!1}};_.Mb=Jb?window.JSON.stringify:Hb;_.Nb=Jb?Kb:Ib;Kb||(Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",Eb(this.getUTCMonth()+1),"-",Eb(this.getUTCDate()),"T",Eb(this.getUTCHours()),":",Eb(this.getUTCMinutes()),":",Eb(this.getUTCSeconds()),"Z"].join("")});
|
||||||
|
|
||||||
|
_.D("gadgets.json.stringify",_.Mb);_.D("gadgets.json.parse",_.Nb);_.Xa(_.Oa.location.href,"rpctoken")&&_.fb(_.Pa,"unload",function(){});
|
||||||
|
_.yj=window.gapi&&window.gapi.util||{};
|
||||||
|
_.Aj=function(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("b");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};
|
||||||
|
|
||||||
|
_.yj.mb=function(a){return _.Aj(a)};
|
||||||
|
_.Ab=window.console;_.Bb=function(a){_.Ab&&_.Ab.log&&_.Ab.log(a)};_.Cb=function(){};
|
||||||
|
_.F=_.F||{};
|
||||||
|
_.xb=function(a){return!!a&&"object"===typeof a&&_.Ra.test(a.push)};_.yb=function(a,b){var c=_.Sa(_.gb,"watt",_.Ta());_.Sa(c,a,b)};_.F=_.F||{};
|
||||||
|
(function(){var a=null;_.F.Wc=function(b){var c="undefined"===typeof b;if(null!==a&&c)return a;var d={};b=b||window.location.href;var e=b.indexOf("?"),f=b.indexOf("#");b=(-1===f?b.substr(e+1):[b.substr(e+1,f-e-1),"&",b.substr(f+1)].join("")).split("&");for(var e=window.decodeURIComponent?window.decodeURIComponent:window.unescape,f=0,h=b.length;f<h;++f){var k=b[f].indexOf("=");if(-1!==k){var l=b[f].substring(0,k),k=b[f].substring(k+1),k=k.replace(/\+/g," ");try{d[l]=e(k)}catch(m){}}}c&&(a=d);return d}; _.F.Wc()})();
|
||||||
|
_.D("gadgets.util.getUrlParameters",_.F.Wc);
|
||||||
|
var Kl=function(a){this.ww=a;this.Of=_.Oa;this.gR=this.yZ;this.j_=/MSIE\s*[0-8](\D|$)/.test(window.navigator.userAgent);if(this.ww.DR){this.Of=this.ww.fO(this.Of,this.ww.DR);a=this.Of.document;var b=a.createElement("script");b.setAttribute("type","text/javascript");b.text="window.doPostMsg=function(w,s,o) {window.setTimeout(function(){w.postMessage(s,o);},0);};";a.body.appendChild(b);this.gR=this.Of.doPostMsg}this.AI={};this.gJ={};a=(0,_.z)(this.ZE,this);_.fb(this.Of,"message",a);_.Sa(_.gb,"RPMQ",
|
||||||
|
[]).push(a);this.Of!=this.Of.parent&&Jl(this,this.Of.parent,"{h:'"+(0,window.escape)(this.Of.name)+"'}","*")},Ll=function(a){var b=null;0===a.indexOf("{h:'")&&a.indexOf("'}")===a.length-2&&(b=(0,window.unescape)(a.substring(4,a.length-2)));return b},Ml=function(a){if(!/^\s*{/.test(a))return!1;a=(0,_.Nb)(a);return null!==a&&"object"===typeof a&&!!a.g};
|
||||||
|
Kl.prototype.ZE=function(a){var b=String(a.data);(0,_.Cb)("gapi.rpc.receive("+Nl+"): "+(!b||512>=b.length?b:b.substr(0,512)+"... ("+b.length+" bytes)"));var c=0!==b.indexOf("!_");c||(b=b.substring(2));var d=Ml(b);if(!c&&!d){if(!d&&(c=Ll(b))){if(this.AI[c])this.AI[c]();else this.gJ[c]=1;return}var e=a.origin,f=this.ww.CZ;this.j_?_.Oa.setTimeout(function(){f(b,e)},0):f(b,e)}};Kl.prototype.xd=function(a,b){".."===a||this.gJ[a]?(b(),delete this.gJ[a]):this.AI[a]=b};
|
||||||
|
var Jl=function(a,b,c,d){var e=Ml(c)?"":"!_";(0,_.Cb)("gapi.rpc.send("+Nl+"): "+(!c||512>=c.length?c:c.substr(0,512)+"... ("+c.length+" bytes)"));a.gR(b,e+c,d)};Kl.prototype.yZ=function(a,b,c){a.postMessage(b,c)};Kl.prototype.send=function(a,b,c){(a=this.ww.fO(this.Of,a))&&!a.closed&&Jl(this,a,b,c)};
|
||||||
|
var Ol,Pl,Ql,Rl,Sl,Tl,Ul,Vl,Wl,Nl,Xl,Yl,Zl,$l,am,bm,cm,dm,im,jm,lm,mm,om,nm,em,fm,pm,qm,rm,sm;Ol=0;Pl=[];Ql={};Rl={};Sl=_.F.Wc;Tl=Sl();Ul=Tl.rpctoken;Vl=Tl.parent||_.Pa.referrer;Wl=Tl.rly;Nl=Wl||(_.Oa!==_.Oa.top||_.Oa.opener)&&_.Oa.name||"..";Xl=null;Yl={};Zl=function(){};$l={send:Zl,xd:Zl};
|
||||||
|
am=function(a,b){"/"==b.charAt(0)&&(b=b.substring(1),a=_.Oa.top);for(b=b.split("/");b.length;){var c;c=b.shift();"{"==c.charAt(0)&&"}"==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1));if(".."===c)a=a==a.parent?a.opener:a.parent;else if(".."!==c&&a.frames[c]){if(a=a.frames[c],!("postMessage"in a))throw"Not a window";}else return null}return a};bm=function(a){return(a=Ql[a])&&a.YA};
|
||||||
|
cm=function(a){if(a.f in{})return!1;var b=a.t,c=Ql[a.r];a=a.origin;return c&&(c.YA===b||!c.YA&&!b)&&(a===c.origin||"*"===c.origin)};dm=function(a){var b=a.id.split("/"),c=b[b.length-1],d=a.origin;return function(a){var b=a.origin;return a.f==c&&(d==b||"*"==d)}};_.gm=function(a,b,c){a=em(a);Rl[a.name]={Zh:b,Vu:a.Vu,Pr:c||cm};fm()};_.hm=function(a){delete Rl[em(a).name]};im={};jm=function(a,b){(a=im["_"+a])&&a[1](this)&&a[0].call(this,b)};
|
||||||
|
lm=function(a){var b=a.c;if(!b)return Zl;var c=a.r,d=a.g?"legacy__":"";return function(){var a=[].slice.call(arguments,0);a.unshift(c,d+"__cb",null,b);_.km.apply(null,a)}};mm=function(a){Xl=a};om=function(a){Yl[a]||(Yl[a]=_.Oa.setTimeout(function(){Yl[a]=!1;nm(a)},0))};nm=function(a){var b=Ql[a];if(b&&b.ready){var c=b.kH;for(b.kH=[];c.length;)$l.send(a,(0,_.Mb)(c.shift()),b.origin)}};em=function(a){return 0===a.indexOf("legacy__")?{name:a.substring(8),Vu:!0}:{name:a,Vu:!1}};
|
||||||
|
fm=function(){for(var a=_.E("rpc/residenceSec")||60,b=(new Date).getTime()/1E3,c=0,d;d=Pl[c];++c){var e=d.Eo;if(!e||0<a&&b-d.timestamp>a)Pl.splice(c,1),--c;else{var f=e.s,h=Rl[f]||Rl["*"];if(h)if(Pl.splice(c,1),--c,e.origin=d.origin,d=lm(e),e.callback=d,h.Pr(e)){if("__cb"!==f&&!!h.Vu!=!!e.g)break;e=h.Zh.apply(e,e.a);void 0!==e&&d(e)}else(0,_.Cb)("gapi.rpc.rejected("+Nl+"): "+f)}}};pm=function(a,b,c){Pl.push({Eo:a,origin:b,timestamp:(new Date).getTime()/1E3});c||fm()};
|
||||||
|
qm=function(a,b){a=(0,_.Nb)(a);pm(a,b,!1)};rm=function(a){for(;a.length;)pm(a.shift(),this.origin,!0);fm()};sm=function(a){var b=!1;a=a.split("|");var c=a[0];0<=c.indexOf("/")&&(b=!0);return{id:c,origin:a[1]||"*",DF:b}};
|
||||||
|
_.tm=function(a,b,c,d){var e=sm(a);d&&(_.Oa.frames[e.id]=_.Oa.frames[e.id]||d);a=e.id;if(!Ql.hasOwnProperty(a)){c=c||null;d=e.origin;if(".."===a)d=_.yj.mb(Vl),c=c||Ul;else if(!e.DF){var f=_.Pa.getElementById(a);f&&(f=f.src,d=_.yj.mb(f),c=c||Sl(f).rpctoken)}"*"===e.origin&&d||(d=e.origin);Ql[a]={YA:c,kH:[],origin:d,B7:b,tR:function(){var b=a;Ql[b].ready=1;nm(b)}};$l.xd(a,Ql[a].tR)}return Ql[a].tR};
|
||||||
|
_.km=function(a,b,c,d){a=a||"..";_.tm(a);a=a.split("|",1)[0];var e=b,f=[].slice.call(arguments,3),h=c,k=Nl,l=Ul,m=Ql[a],p=k,q=sm(a);if(m&&".."!==a){if(q.DF){if(!(l=Ql[a].B7)){for(var l=Xl?Xl.substring(1).split("/"):[Nl],p=l.length-1,w=_.Oa.parent;w!==_.Oa.top;){var x=w.parent;if(!p--){for(var v=null,y=x.frames.length,B=0;B<y;++B)x.frames[B]==w&&(v=B);l.unshift("{"+v+"}")}w=x}l="/"+l.join("/")}p=l}else p=k="..";l=m.YA}h&&q?(m=cm,q.DF&&(m=dm(q)),im["_"+ ++Ol]=[h,m],q=Ol):q=null;f={s:e,f:k,r:p,t:l,c:q,
|
||||||
|
a:f};e=em(e);f.s=e.name;f.g=e.Vu;Ql[a].kH.push(f);om(a)};if("function"===typeof _.Oa.postMessage||"object"===typeof _.Oa.postMessage)$l=new Kl({DR:Wl?"../"+Wl:null,CZ:qm,fO:am,Lja:Nl,QE:bm,ska:mm}),_.gm("__cb",jm,function(){return!0}),_.gm("_processBatch",rm,function(){return!0}),_.tm("..");
|
||||||
|
|
||||||
|
_.ef=function(a){return function(){return a}}(!0);
|
||||||
|
var Af;_.wf=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.xf=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,_.xf);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};_.A(_.xf,Error);_.xf.prototype.name="CustomError";_.yf=function(a){return a};_.zf=function(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};Af=function(a,b,c){this.C4=c;this.rZ=a;this.q7=b;this.Mz=0;this.Qy=null}; Af.prototype.get=function(){var a;0<this.Mz?(this.Mz--,a=this.Qy,this.Qy=a.next,a.next=null):a=this.rZ();return a};Af.prototype.put=function(a){this.q7(a);this.Mz<this.C4&&(this.Mz++,a.next=this.Qy,this.Qy=a)};
|
||||||
|
var Bf,Df,Ef,Cf;Bf=function(a){_.t.setTimeout(function(){throw a;},0)};_.Ff=function(a){a=Cf(a);!_.Pc(_.t.setImmediate)||_.t.Window&&_.t.Window.prototype&&!_.kd("Edge")&&_.t.Window.prototype.setImmediate==_.t.setImmediate?(Df||(Df=Ef()),Df(a)):_.t.setImmediate(a)};
|
||||||
|
Ef=function(){var a=_.t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.kd("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.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=(0,_.z)(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&&!_.ld()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(_.za(c.next)){c=c.next;var a=c.cb;c.cb=null;a()}};return function(a){d.next={cb:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT"); b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};window.document.documentElement.appendChild(b)}:function(a){_.t.setTimeout(a,0)}};Cf=_.yf;_.Xd(function(a){Cf=a});
|
||||||
|
var Gf=function(){this.oB=this.Rr=null},If=new Af(function(){return new Hf},function(a){a.reset()},100);Gf.prototype.add=function(a,b){var c=If.get();c.set(a,b);this.oB?this.oB.next=c:this.Rr=c;this.oB=c};Gf.prototype.remove=function(){var a=null;this.Rr&&(a=this.Rr,this.Rr=this.Rr.next,this.Rr||(this.oB=null),a.next=null);return a};var Hf=function(){this.next=this.scope=this.Zh=null};Hf.prototype.set=function(a,b){this.Zh=a;this.scope=b;this.next=null}; Hf.prototype.reset=function(){this.next=this.scope=this.Zh=null};
|
||||||
|
var Jf,Kf,Lf,Mf,Of;_.Nf=function(a,b){Jf||Kf();Lf||(Jf(),Lf=!0);Mf.add(a,b)};Kf=function(){if(-1!=String(_.t.Promise).indexOf("[native code]")){var a=_.t.Promise.resolve(void 0);Jf=function(){a.then(Of)}}else Jf=function(){_.Ff(Of)}};Lf=!1;Mf=new Gf;Of=function(){for(var a;a=Mf.remove();){try{a.Zh.call(a.scope)}catch(b){Bf(b)}If.put(a)}Lf=!1};
|
||||||
|
_.Pf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};_.Qf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Tf,Uf,dg,bg;_.Sf=function(a,b){this.Fa=0;this.zk=void 0;this.rp=this.bl=this.qb=null;this.Fy=this.UD=!1;if(a!=_.cd)try{var c=this;a.call(b,function(a){Rf(c,2,a)},function(a){Rf(c,3,a)})}catch(d){Rf(this,3,d)}};Tf=function(){this.next=this.context=this.Eq=this.mv=this.Um=null;this.zs=!1};Tf.prototype.reset=function(){this.context=this.Eq=this.mv=this.Um=null;this.zs=!1};Uf=new Af(function(){return new Tf},function(a){a.reset()},100);
|
||||||
|
_.Vf=function(a,b,c){var d=Uf.get();d.mv=a;d.Eq=b;d.context=c;return d};_.Wf=function(a){if(a instanceof _.Sf)return a;var b=new _.Sf(_.cd);Rf(b,2,a);return b};_.Xf=function(a){return new _.Sf(function(b,c){c(a)})};_.Zf=function(a,b,c){Yf(a,b,c,null)||_.Nf(_.ad(b,a))};_.ag=function(){var a,b,c=new _.Sf(function(c,e){a=c;b=e});return new $f(c,a,b)};_.Sf.prototype.then=function(a,b,c){return bg(this,_.Pc(a)?a:null,_.Pc(b)?b:null,c)};_.Pf(_.Sf);
|
||||||
|
_.Sf.prototype.cancel=function(a){0==this.Fa&&_.Nf(function(){var b=new cg(a);dg(this,b)},this)};dg=function(a,b){if(0==a.Fa)if(a.qb){var c=a.qb;if(c.bl){for(var d=0,e=null,f=null,h=c.bl;h&&(h.zs||(d++,h.Um==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.Fa&&1==d?dg(c,b):(f?(d=f,d.next==c.rp&&(c.rp=d),d.next=d.next.next):eg(c),fg(c,e,3,b)))}a.qb=null}else Rf(a,3,b)};_.hg=function(a,b){a.bl||2!=a.Fa&&3!=a.Fa||gg(a);a.rp?a.rp.next=b:a.bl=b;a.rp=b};
|
||||||
|
bg=function(a,b,c,d){var e=_.Vf(null,null,null);e.Um=new _.Sf(function(a,h){e.mv=b?function(c){try{var e=b.call(d,c);a(e)}catch(m){h(m)}}:a;e.Eq=c?function(b){try{var e=c.call(d,b);!_.za(e)&&b instanceof cg?h(b):a(e)}catch(m){h(m)}}:h});e.Um.qb=a;_.hg(a,e);return e.Um};_.Sf.prototype.E9=function(a){this.Fa=0;Rf(this,2,a)};_.Sf.prototype.G9=function(a){this.Fa=0;Rf(this,3,a)};
|
||||||
|
var Rf=function(a,b,c){0==a.Fa&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.Fa=1,Yf(c,a.E9,a.G9,a)||(a.zk=c,a.Fa=b,a.qb=null,gg(a),3!=b||c instanceof cg||ig(a,c)))},Yf=function(a,b,c,d){if(a instanceof _.Sf)return _.hg(a,_.Vf(b||_.cd,c||null,d)),!0;if(_.Qf(a))return a.then(b,c,d),!0;if(_.Dc(a))try{var e=a.then;if(_.Pc(e))return jg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},jg=function(a,b,c,d,e){var f=!1,h=function(a){f||(f=!0,c.call(e,a))},k=function(a){f||(f=
|
||||||
|
!0,d.call(e,a))};try{b.call(a,h,k)}catch(l){k(l)}},gg=function(a){a.UD||(a.UD=!0,_.Nf(a.WZ,a))},eg=function(a){var b=null;a.bl&&(b=a.bl,a.bl=b.next,b.next=null);a.bl||(a.rp=null);return b};_.Sf.prototype.WZ=function(){for(var a;a=eg(this);)fg(this,a,this.Fa,this.zk);this.UD=!1};
|
||||||
|
var fg=function(a,b,c,d){if(3==c&&b.Eq&&!b.zs)for(;a&&a.Fy;a=a.qb)a.Fy=!1;if(b.Um)b.Um.qb=null,kg(b,c,d);else try{b.zs?b.mv.call(b.context):kg(b,c,d)}catch(e){lg.call(null,e)}Uf.put(b)},kg=function(a,b,c){2==b?a.mv.call(a.context,c):a.Eq&&a.Eq.call(a.context,c)},ig=function(a,b){a.Fy=!0;_.Nf(function(){a.Fy&&lg.call(null,b)})},lg=Bf,cg=function(a){_.xf.call(this,a)};_.A(cg,_.xf);cg.prototype.name="cancel";var $f=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};
|
||||||
|
|
||||||
|
_.um=function(a){return new _.Sf(a)};
|
||||||
|
_.vm=_.vm||{};_.vm.j1=function(){var a=0,b=0;window.self.innerHeight?(a=window.self.innerWidth,b=window.self.innerHeight):window.document.documentElement&&window.document.documentElement.clientHeight?(a=window.document.documentElement.clientWidth,b=window.document.documentElement.clientHeight):window.document.body&&(a=window.document.body.clientWidth,b=window.document.body.clientHeight);return{width:a,height:b}};
|
||||||
|
|
||||||
|
_.vm=_.vm||{};
|
||||||
|
(function(){function a(a,c){window.getComputedStyle(a,"").getPropertyValue(c).match(/^([0-9]+)/);return(0,window.parseInt)(RegExp.$1,10)}_.vm.Ud=function(){var b=_.vm.j1().height,c=window.document.body,d=window.document.documentElement;if("CSS1Compat"===window.document.compatMode&&d.scrollHeight)return d.scrollHeight!==b?d.scrollHeight:d.offsetHeight;if(0<=window.navigator.userAgent.indexOf("AppleWebKit")){b=0;for(c=[window.document.body];0<c.length;){var e=c.shift(),d=e.childNodes;if("undefined"!==
|
||||||
|
typeof e.style){var f=e.style.overflowY;f||(f=(f=window.document.defaultView.getComputedStyle(e,null))?f.overflowY:null);if("visible"!=f&&"inherit"!=f&&(f=e.style.height,f||(f=(f=window.document.defaultView.getComputedStyle(e,null))?f.height:""),0<f.length&&"auto"!=f))continue}for(e=0;e<d.length;e++){f=d[e];if("undefined"!==typeof f.offsetTop&&"undefined"!==typeof f.offsetHeight)var h=f.offsetTop+f.offsetHeight+a(f,"margin-bottom"),b=Math.max(b,h);c.push(f)}}return b+a(window.document.body,"border-bottom")+ a(window.document.body,"margin-bottom")+a(window.document.body,"padding-bottom")}if(c&&d)return e=d.scrollHeight,f=d.offsetHeight,d.clientHeight!==f&&(e=c.scrollHeight,f=c.offsetHeight),e>b?e>f?e:f:e<f?e:f}})();
|
||||||
|
|
||||||
|
var Ok,Pk;Ok=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?\#]*)?\/u\/(\d)\//;Pk=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?\#]*)?\/b\/(\d{10,21})\//;
|
||||||
|
_.Qk=function(a){var b=_.E("googleapis.config/sessionIndex");"string"===typeof b&&254<b.length&&(b=null);null==b&&(b=window.__X_GOOG_AUTHUSER);"string"===typeof b&&254<b.length&&(b=null);if(null==b){var c=window.google;c&&(b=c.authuser)}"string"===typeof b&&254<b.length&&(b=null);null==b&&(a=a||window.location.href,b=_.Xa(a,"authuser")||null,null==b&&(b=(b=a.match(Ok))?b[1]:null));if(null==b)return null;b=String(b);254<b.length&&(b=null);return b};
|
||||||
|
_.Rk=function(a){var b=_.E("googleapis.config/sessionDelegate");"string"===typeof b&&21<b.length&&(b=null);null==b&&(b=(a=(a||window.location.href).match(Pk))?a[1]:null);if(null==b)return null;b=String(b);21<b.length&&(b=null);return b};_.Sk=function(a,b){b=_.Qk(a)||b;a=_.Rk(a);var c="";b&&(c+="u/"+(0,window.encodeURIComponent)(String(b))+"/");a&&(c+="b/"+(0,window.encodeURIComponent)(String(a))+"/");return c||null};
|
||||||
|
|
||||||
|
var Yk=function(){this.Zk=-1};var Zk=function(){this.Zk=64;this.zd=[];this.AC=[];this.MX=[];this.Yz=[];this.Yz[0]=128;for(var a=1;a<this.Zk;++a)this.Yz[a]=0;this.bB=this.iq=0;this.reset()};_.A(Zk,Yk);Zk.prototype.reset=function(){this.zd[0]=1732584193;this.zd[1]=4023233417;this.zd[2]=2562383102;this.zd[3]=271733878;this.zd[4]=3285377520;this.bB=this.iq=0};
|
||||||
|
var $k=function(a,b,c){c||(c=0);var d=a.MX;if(_.u(b))for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.zd[0];c=a.zd[1];for(var h=a.zd[2],k=a.zd[3],l=a.zd[4],m,e=0;80>e;e++)40>e?20>e?(f=k^c&(h^k),m=1518500249):(f=c^h^k,m=1859775393):60>e?(f=c&h|k&(c|h),m=2400959708):(f=c^h^k,m=3395469782),
|
||||||
|
f=(b<<5|b>>>27)+f+l+m+d[e]&4294967295,l=k,k=h,h=(c<<30|c>>>2)&4294967295,c=b,b=f;a.zd[0]=a.zd[0]+b&4294967295;a.zd[1]=a.zd[1]+c&4294967295;a.zd[2]=a.zd[2]+h&4294967295;a.zd[3]=a.zd[3]+k&4294967295;a.zd[4]=a.zd[4]+l&4294967295};
|
||||||
|
Zk.prototype.update=function(a,b){if(null!=a){_.za(b)||(b=a.length);for(var c=b-this.Zk,d=0,e=this.AC,f=this.iq;d<b;){if(0==f)for(;d<=c;)$k(this,a,d),d+=this.Zk;if(_.u(a))for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.Zk){$k(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.Zk){$k(this,e);f=0;break}}this.iq=f;this.bB+=b}};
|
||||||
|
Zk.prototype.digest=function(){var a=[],b=8*this.bB;56>this.iq?this.update(this.Yz,56-this.iq):this.update(this.Yz,this.Zk-(this.iq-56));for(var c=this.Zk-1;56<=c;c--)this.AC[c]=b&255,b/=256;$k(this,this.AC);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.zd[c]>>d&255,++b;return a};
|
||||||
|
_.al=function(){this.xr=new Zk};_.g=_.al.prototype;_.g.reset=function(){this.xr.reset()};_.g.VT=function(a){this.xr.update(a)};_.g.DM=function(){return this.xr.digest()};_.g.iJ=function(a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var b=[],c=0,d=a.length;c<d;++c)b.push(a.charCodeAt(c));this.VT(b)};_.g.Th=function(){for(var a=this.DM(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b};
|
||||||
|
|
||||||
|
var xm,wm,Dm,Em,ym,Bm,zm,Fm,Am,wm;_.Cm=function(){var a;wm?(a=new _.Oa.Uint32Array(1),xm.getRandomValues(a),a=Number("0."+a[0])):(a=ym,a+=(0,window.parseInt)(zm.substr(0,20),16),zm=Am(zm),a/=Bm+Math.pow(16,20));return a};xm=_.Oa.crypto;wm=!1;Dm=0;Em=0;ym=1;Bm=0;zm="";Fm=function(a){a=a||_.Oa.event;var b=a.screenX+a.clientX<<16,b=b+(a.screenY+a.clientY),b=(new Date).getTime()%1E6*b;ym=ym*b%Bm;0<Dm&&++Em==Dm&&_.eb(_.Oa,"mousemove",Fm,"remove","de")};Am=function(a){var b=new _.al;b.iJ(a);return b.Th()};
|
||||||
|
wm=!!xm&&"function"==typeof xm.getRandomValues;wm||(Bm=1E6*(window.screen.width*window.screen.width+window.screen.height),zm=Am(_.Pa.cookie+"|"+_.Pa.location+"|"+(new Date).getTime()+"|"+Math.random()),Dm=_.E("random/maxObserveMousemove")||0,0!=Dm&&_.fb(_.Oa,"mousemove",Fm));
|
||||||
|
|
||||||
|
var Hm,Im,Jm,Lm,Mm,Nm,Om,Pm,Qm,Rm,Sm,Um,Xm,Ym,Zm,$m,an,bn;_.Gm=function(a,b){if(!a)throw Error(b||"");};Hm=/^(https?|ftp|file|chrome-extension):$/i;Im=/%([a-f]|[0-9a-fA-F][a-f])/g;Jm=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g;_.Km=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i;Lm=function(a,b){var c=[];if(a)for(var d in a)if(_.Ua(a,d)&&null!=a[d]){var e=b?b(a[d]):a[d];c.push((0,window.encodeURIComponent)(d)+"="+(0,window.encodeURIComponent)(e))}return c};
|
||||||
|
Mm=function(a){return a.Is+(0<a.query.length?"?"+a.query.join("&"):"")+(0<a.Ti.length?"#"+a.Ti.join("&"):"")};
|
||||||
|
Nm=function(a){a=String(a);a=a.replace(Jm,function(a){try{return(0,window.encodeURIComponent)(a)}catch(f){return(0,window.encodeURIComponent)(a.replace(/^[^%]+$/g,"\ufffd"))}}).replace(_.Za,function(a){return a.replace(/%/g,"%25")}).replace(Im,function(a){return a.toUpperCase()});a=a.match(_.Ya)||[];var b=_.Ta(),c=function(a){return a.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},d=!!(a[1]||"").match(Hm);b.Is=c((a[1]||
|
||||||
|
"")+(a[2]||"")+(a[3]||(a[2]&&d?"/":"")));d=function(a){return c(a.replace(/\?/g,"%3F").replace(/\#/g,"%23"))};b.query=a[5]?[d(a[5])]:[];b.Ti=a[7]?[d(a[7])]:[];return b};Om=/'/g;Pm=/"/g;Qm=/>/g;Rm=/</g;Sm=/&/g;_.Tm=function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b;return-1};Um=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)};
|
||||||
|
_.Vm=function(a,b){var c=Nm(b);b=c.Is;c.query.length&&(b+="?"+c.query.join(""));c.Ti.length&&(b+="#"+c.Ti.join(""));var d="";2E3<b.length&&(c=b,b=b.substr(0,2E3),b=b.replace(_.bb,""),d=c.substr(b.length));var e=a.createElement("div");a=a.createElement("a");c=Nm(b);b=c.Is;c.query.length&&(b+="?"+c.query.join(""));c.Ti.length&&(b+="#"+c.Ti.join(""));a.href=b;e.appendChild(a);e.innerHTML=e.innerHTML;b=String(e.firstChild.href);e.parentNode&&e.parentNode.removeChild(e);c=Nm(b+d);b=c.Is;c.query.length&&
|
||||||
|
(b+="?"+c.query.join(""));c.Ti.length&&(b+="#"+c.Ti.join(""));return b};_.Wm=function(a,b,c,d){a=Nm(a);a.query.push.apply(a.query,Lm(b,d));a.Ti.push.apply(a.Ti,Lm(c,d));return Mm(a)};Xm=function(a){return String(a).replace(Sm,"&").replace(Rm,"<").replace(Qm,">").replace(Pm,""").replace(Om,"'")};Zm=function(){var a=_.gb.onl;if(!a){a=_.Ta();_.gb.onl=a;var b=_.Ta();a.e=function(a){var c=b[a];c&&(delete b[a],c())};a.a=function(a,d){b[a]=d};a.r=function(a){delete b[a]}}return a}; $m=function(a,b){b=b.onload;return"function"===typeof b?(Zm().a(a,b),b):null};an=function(a){_.Gm(/^\w+$/.test(a),"Unsupported id - "+a);Zm();return'onload="window.___jsl.onl.e("'+a+'")"'};bn=function(a){Zm().r(a)};
|
||||||
|
var dn,en,jn;_.cn={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"};dn={allowtransparency:!0,onload:!0};en=0;_.fn=function(a,b){var c,d=0;do c=b.id||["I",en++,"_",(new Date).getTime()].join("");while(a.getElementById(c)&&5>++d);_.Gm(5>d,"Error creating iframe id");return c};_.gn=function(a,b){return a?b+"/"+a:""};
|
||||||
|
_.hn=function(a,b,c,d){var e={},f={};a.documentMode&&9>a.documentMode&&(e.hostiemode=a.documentMode);_.Va(d.queryParams||{},e);_.Va(d.fragmentParams||{},f);var h=d.connectWithQueryParams?e:f,k=d.pfname,l=_.Ta();l.id=c;l.parent=a.location.protocol+"//"+a.location.host;c=_.Xa(a.location.href,"parent");k=k||"";!k&&c&&(k=_.gn(_.Xa(a.location.href,"id",""),_.Xa(a.location.href,"pfname","")));l.pfname=k;_.Va(l,h);(l=_.Xa(b,"rpctoken")||e.rpctoken||f.rpctoken)||(l=h.rpctoken=d.rpctoken||String(Math.round(1E8*
|
||||||
|
_.Cm())));d.rpctoken=l;h=a.location.href;a=_.Ta();(l=_.Xa(h,"_bsh",_.gb.bsh))&&(a._bsh=l);(h=_.gb.dpo?_.gb.h:_.Xa(h,"jsh",_.gb.h))&&(a.jsh=h);d.hintInFragment?_.Va(a,f):_.Va(a,e);return _.Wm(b,e,f,d.paramsSerializer)};jn=function(a){_.Gm(!a||_.Km.test(a),"Illegal url for new iframe - "+a)};
|
||||||
|
_.kn=function(a,b,c,d,e){jn(c.src);var f,h=$m(d,c),k=h?an(d):"";try{window.document.all&&(f=a.createElement('<iframe frameborder="'+Xm(String(c.frameborder))+'" scrolling="'+Xm(String(c.scrolling))+'" '+k+' name="'+Xm(String(c.name))+'"/>'))}catch(m){}finally{f||(f=a.createElement("iframe"),h&&(f.onload=function(){f.onload=null;h.call(this)},bn(d)))}f.setAttribute("ng-non-bindable","");for(var l in c)a=c[l],"style"===l&&"object"===typeof a?_.Va(a,f.style):dn[l]||f.setAttribute(l,String(a));(l=e&& e.beforeNode||null)||e&&e.dontclear||Um(b);b.insertBefore(f,l);f=l?l.previousSibling:b.lastChild;c.allowtransparency&&(f.allowTransparency=!0);return f};
|
||||||
|
var ln,on;ln=/^:[\w]+$/;_.mn=/:([a-zA-Z_]+):/g;_.nn=function(){var a=_.Qk()||"0",b=_.Rk(),c=_.Sk(void 0,a),d=!1===_.E("isLoggedIn"),e=d?"_/im/":"";e&&(c="");var f=_.E("iframes/:socialhost:"),h=_.E("iframes/:im_socialhost:");return Ym={socialhost:f,ctx_socialhost:d?h:f,session_index:a,session_delegate:b,session_prefix:c,im_prefix:e}};on=function(a,b){return _.nn()[b]||""};_.pn=function(a){return _.Vm(_.Pa,a.replace(_.mn,on))};
|
||||||
|
_.qn=function(a){var b=a;ln.test(a)&&(b=_.E("iframes/"+b.substring(1)+"/url"),_.Gm(!!b,"Unknown iframe url config for - "+a));return _.pn(b)};
|
||||||
|
_.rn=function(a,b,c){var d=c||{};c=d.attributes||{};_.Gm(!d.allowPost||!c.onload,"onload is not supported by post iframe");a=_.qn(a);c=b.ownerDocument||_.Pa;var e=_.fn(c,d);a=_.hn(c,a,e,d);var f=_.Ta();_.Va(_.cn,f);_.Va(d.attributes,f);f.name=f.id=e;f.src=a;d.eurl=a;if((d||{}).allowPost&&2E3<a.length){var h=Nm(a);f.src="";f["data-postorigin"]=a;a=_.kn(c,b,f,e);var k;if(-1!=window.navigator.userAgent.indexOf("WebKit")){k=a.contentWindow.document;k.open();var f=k.createElement("div"),l={},m=e+"_inner";
|
||||||
|
l.name=m;l.src="";l.style="display:none";_.kn(c,f,l,m,d)}f=(d=h.query[0])?d.split("&"):[];d=[];for(l=0;l<f.length;l++)m=f[l].split("=",2),d.push([(0,window.decodeURIComponent)(m[0]),(0,window.decodeURIComponent)(m[1])]);h.query=[];f=Mm(h);_.Gm(_.Km.test(f),"Invalid URL: "+f);h=c.createElement("form");h.action=f;h.method="POST";h.target=e;h.style.display="none";for(e=0;e<d.length;e++)f=c.createElement("input"),f.type="hidden",f.name=d[e][0],f.value=d[e][1],h.appendChild(f);b.appendChild(h);h.submit(); h.parentNode.removeChild(h);k&&k.close();b=a}else b=_.kn(c,b,f,e,d);return b};
|
||||||
|
|
||||||
|
var sn=function(a){this.V=a};_.g=sn.prototype;_.g.value=function(){return this.V};_.g.Gi=function(a){this.V.width=a;return this};_.g.Nd=function(){return this.V.width};_.g.xm=function(a){this.V.height=a;return this};_.g.Ud=function(){return this.V.height};_.g.ve=function(a){this.V.style=a;return this};_.g.Fl=function(){return this.V.style};
|
||||||
|
_.tn=function(a){this.V=a};_.tn.prototype.Jv=_.n(38);_.tn.prototype.Fg=function(){return this.V.anchor};_.tn.prototype.XH=function(a){this.V.anchorPosition=a;return this};_.un=function(a){a.V.closeClickDetection=!0};_.tn.prototype.xm=function(a){this.V.height=a;return this};_.tn.prototype.Ud=function(){return this.V.height};_.tn.prototype.Gi=function(a){this.V.width=a;return this};_.tn.prototype.Nd=function(){return this.V.width};
|
||||||
|
_.vn=function(a){this.V=a||{}};_.g=_.vn.prototype;_.g.value=function(){return this.V};_.g.setUrl=function(a){this.V.url=a;return this};_.g.getUrl=function(){return this.V.url};_.g.ve=function(a){this.V.style=a;return this};_.g.Fl=function(){return this.V.style};_.g.wh=function(a){this.V.id=a;return this};_.g.Aa=function(){return this.V.id};_.g.zm=_.n(39);_.wn=function(a,b){a.V.queryParams=b;return a};_.xn=function(a,b){a.V.relayOpen=b;return a};_.vn.prototype.kr=_.n(40);
|
||||||
|
_.vn.prototype.getContext=_.n(41);_.vn.prototype.Kd=function(){return this.V.openerIframe};_.yn=function(a){return new _.tn(a.V)};_.vn.prototype.Mp=function(){this.V.attributes=this.V.attributes||{};return new sn(this.V.attributes)};_.zn=function(a){a.V.connectWithQueryParams=!0;return a};
|
||||||
|
|
||||||
|
var Bn,Fn,Jn,In,Mn,Nn;_.An=function(a){a.V.waitForOnload=!0;return a};_.vn.prototype.getContext=_.r(41,function(){return this.V.context});Bn=function(a){return(a=a.V.timeout)?a:null};_.Cn=function(a,b){a.V.messageHandlersFilter=b;return a};_.Dn=function(a,b){a.V.messageHandlers=b;return a};_.En=function(a){return a.V.rpctoken};Fn=function(a,b){a.V.onload=b};_.Gn=function(a,b,c){if(a){_.Gm(_.xb(a),"arrayForEach was called with a non array value");for(var d=0;d<a.length;d++)b.call(c,a[d],d)}};
|
||||||
|
_.Hn=function(a,b,c){if(a)if(_.xb(a))_.Gn(a,b,c);else{_.Gm("object"===typeof a,"objectForEach was called with a non object value");c=c||a;for(var d in a)_.Ua(a,d)&&void 0!==a[d]&&b.call(c,a[d],d)}};Jn=function(a){this.resolve=this.reject=null;this.promise=_.um((0,_.z)(function(a,c){this.resolve=a;this.reject=c},this));a&&(this.promise=In(this.promise,a))};In=function(a,b){return a.then(function(a){try{b(a)}catch(d){}return a})}; _.Kn=function(a){return new _.Sf(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],_.Zf(l,_.ad(f,k),h);else b(e)})};
|
||||||
|
_.On=function(a){this.V=a||{}};_.A(_.On,_.vn);_.Pn=function(a,b){a.V.frameName=b;return a};_.On.prototype.De=function(){return this.V.frameName};_.Qn=function(a,b){a.V.rpcAddr=b;return a};_.On.prototype.En=function(){return this.V.rpcAddr};_.Rn=function(a,b){a.V.retAddr=b;return a};_.Sn=function(a){return a.V.retAddr};_.On.prototype.sj=function(a){this.V.origin=a;return this};_.On.prototype.mb=function(){return this.V.origin};_.On.prototype.Gk=function(a){this.V.setRpcReady=a;return this};_.Tn=function(a){return a.V.setRpcReady}; _.On.prototype.qr=function(a){this.V.context=a;return this};var Un=function(a,b){a.V._rpcReadyFn=b};_.On.prototype.Ya=function(){return this.V.iframeEl};
|
||||||
|
var Vn,Zn,Yn;Vn=/^[\w\.\-]*$/;_.Wn=function(a){return a.ue===a.getContext().ue};_.Q=function(){return!0};_.Xn=function(a){for(var b=_.Ta(),c=0;c<a.length;c++)b[a[c]]=!0;return function(a){return!!b[a.ue]}};Zn=function(a,b,c){return function(d){if(!b.Ub){_.Gm(this.origin===b.ue,"Wrong origin "+this.origin+" != "+b.ue);var e=this.callback;d=Yn(a,d,b);!c&&0<d.length&&_.Kn(d).then(e)}}};Yn=function(a,b,c){a=Nn[a];if(!a)return[];for(var d=[],e=0;e<a.length;e++)d.push(_.Wf(a[e].call(c,b,c)));return d};
|
||||||
|
_.$n=function(a,b,c){_.Gm("_default"!=a,"Cannot update default api");Mn[a]={map:b,filter:c}};_.ao=function(a,b,c){_.Gm("_default"!=a,"Cannot update default api");_.Sa(Mn,a,{map:{},filter:_.Wn}).map[b]=c};_.bo=function(a,b){_.Sa(Mn,"_default",{map:{},filter:_.Q}).map[a]=b;_.Hn(_.Ln.Rf,function(c){c.register(a,b,_.Q)})};_.co=function(){return _.Ln};
|
||||||
|
_.eo=function(a){a=a||{};this.Ub=!1;this.vk=_.Ta();this.Rf=_.Ta();this.Of=a._window||_.Oa;this.we=this.Of.location.href;this.YQ=(this.ZQ=_.Xa(this.we,"parent",""))?_.Xa(this.we,"pfname",""):"";this.Ja=this.ZQ?_.Xa(this.we,"id",""):"";this.Eg=_.gn(this.Ja,this.YQ);this.ue=_.yj.mb(this.we);if(this.Ja){var b=new _.On;_.Qn(b,a._parentRpcAddr||"..");_.Rn(b,a._parentRetAddr||this.Ja);b.sj(_.yj.mb(_.Xa(this.we,"parent",this.we)));_.Pn(b,this.YQ);this.qb=this.Mh(b.value())}else this.qb=null};_.g=_.eo.prototype;
|
||||||
|
_.g.kq=_.n(2);_.g.Da=function(){if(!this.Ub){for(var a=0;a<this.Rf.length;a++)this.Rf[a].Da();this.Ub=!0}};_.g.De=function(){return this.Eg};_.g.Wb=function(){return this.Of};_.g.tb=function(){return this.Of.document};_.g.IA=_.n(42);_.g.xE=function(a){return this.vk[a]};
|
||||||
|
_.g.Mh=function(a){_.Gm(!this.Ub,"Cannot attach iframe in disposed context");a=new _.On(a);a.En()||_.Qn(a,a.Aa());_.Sn(a)||_.Rn(a,"..");a.mb()||a.sj(_.yj.mb(a.getUrl()));a.De()||_.Pn(a,_.gn(a.Aa(),this.Eg));var b=a.De();if(this.Rf[b])return this.Rf[b];var c=a.En(),d=c;a.mb()&&(d=c+"|"+a.mb());var e=_.Sn(a),f=_.En(a);f||(f=(f=a.Ya())&&(f.getAttribute("data-postorigin")||f.src)||a.getUrl(),f=_.Xa(f,"rpctoken"));Un(a,_.tm(d,e,f,a.V._popupWindow));d=((window.gadgets||{}).rpc||{}).setAuthToken;f&&d&&d(c,
|
||||||
|
f);var h=new _.fo(this,c,b,a),k=a.V.messageHandlersFilter;_.Hn(a.V.messageHandlers,function(a,b){h.register(b,a,k)});_.Tn(a)&&h.Gk();_.go(h,"_g_rpcReady");return h};_.g.HH=function(a){_.Pn(a,null);var b=a.Aa();!b||Vn.test(b)&&!this.Wb().document.getElementById(b)||(_.Bb("Ignoring requested iframe ID - "+b),a.wh(null))};
|
||||||
|
_.g.kj=function(a){_.Gm(!this.Ub,"Cannot open iframe in disposed context");var b=new _.On(a);ho(this,b);var c=b.De();if(c&&this.Rf[c])return this.Rf[c];this.HH(b);c=b.getUrl();_.Gm(c,"No url for new iframe");var d=b.V.queryParams||{};d.usegapi="1";_.wn(b,d);d=this.AO&&this.AO(c,b);d||(d=b.V.where,_.Gm(!!d,"No location for new iframe"),c=_.rn(c,d,a),b.V.iframeEl=c,d=c.getAttribute("id"));_.Qn(b,d).wh(d);b.sj(_.yj.mb(b.V.eurl||""));this.VP&&this.VP(b,b.Ya());c=this.Mh(a);c.pI&&c.pI(c,a);(a=b.V.onCreate)&&
|
||||||
|
a(c);b.V.disableRelayOpen||c.Cs("_open");return c};
|
||||||
|
var io=function(a,b,c){var d=b.V.canvasUrl;if(!d)return c;_.Gm(!b.V.allowPost,"Post is not supported when using canvas url");var e=b.getUrl();_.Gm(e&&_.yj.mb(e)===a.ue&&_.yj.mb(d)===a.ue,"Wrong origin for canvas or hidden url "+d);b.setUrl(d);_.An(b);b.V.canvasUrl=null;return function(a){var b=a.Wb(),d=b.location.hash,d=_.qn(e)+(/#/.test(e)?d.replace(/^#/,"&"):d);b.location.replace(d);c&&c(a)}},ko=function(a,b,c){var d=b.V.relayOpen;if(d){var e=a.qb;d instanceof _.fo?(e=d,_.xn(b,0)):0<Number(d)&&
|
||||||
|
_.xn(b,Number(d)-1);if(e){_.Gm(!!e.OQ,"Relaying iframe open is disabled");if(d=b.Fl())if(d=_.jo[d])b.qr(a),d(b.value()),b.qr(null);b.V.openerIframe=null;c.resolve(e.OQ(b));return!0}}return!1},oo=function(a,b,c){var d=b.Fl();if(d)if(_.Gm(!!_.lo,"Defer style is disabled, when requesting style "+d),_.mo[d])ho(a,b);else return no(d,function(){_.Gm(!!_.mo[d],"Fail to load style - "+d);c.resolve(a.open(b.value()))}),!0;return!1};
|
||||||
|
_.eo.prototype.open=function(a,b){_.Gm(!this.Ub,"Cannot open iframe in disposed context");var c=new _.On(a);b=io(this,c,b);var d=new Jn(b);(b=c.getUrl())&&c.setUrl(_.qn(b));if(ko(this,c,d)||oo(this,c,d)||ko(this,c,d))return d.promise;var e;if(null!=Bn(c)){var f=(0,window.setTimeout)(function(){e.Ya().src="about:blank";d.reject({timeout:"Exceeded time limit of :"+Bn(c)+"milliseconds"})},Bn(c)),h=d.resolve;d.resolve=function(a){(0,window.clearTimeout)(f);h(a)}}c.V.waitForOnload&&Fn(c.Mp(),function(){d.resolve(e)});
|
||||||
|
e=this.kj(a);c.V.waitForOnload||d.resolve(e);return d.promise};_.eo.prototype.NN=_.n(43);_.fo=function(a,b,c,d){this.Ub=!1;this.Jc=a;this.Ak=b;this.Eg=c;this.Na=d;this.Uq=_.Sn(this.Na);this.ue=this.Na.mb();this.A3=this.Na.Ya();this.rT=this.Na.V.where;this.Mq=[];this.Cs("_default");a=this.Na.V.apis||[];for(b=0;b<a.length;b++)this.Cs(a[b]);this.Jc.Rf[c]=this};_.g=_.fo.prototype;_.g.kq=_.n(1);
|
||||||
|
_.g.Da=function(){if(!this.Ub){for(var a=0;a<this.Mq.length;a++)this.unregister(this.Mq[a]);delete _.Ln.Rf[this.De()];this.Ub=!0}};_.g.getContext=function(){return this.Jc};_.g.En=function(){return this.Ak};_.g.De=function(){return this.Eg};_.g.Ya=function(){return this.A3};_.g.Hb=function(){return this.rT};_.g.eg=function(a){this.rT=a};_.g.Gk=function(){(0,this.Na.V._rpcReadyFn)()};_.g.Pc=function(a,b){this.Na.value()[a]=b};_.g.Yt=function(a){return this.Na.value()[a]};_.g.wc=function(){return this.Na.value()};
|
||||||
|
_.g.Aa=function(){return this.Na.Aa()};_.g.mb=function(){return this.ue};_.g.register=function(a,b,c){_.Gm(!this.Ub,"Cannot register handler on disposed iframe "+a);_.Gm((c||_.Wn)(this),"Rejecting untrusted message "+a);c=this.Eg+":"+this.Jc.Eg+":"+a;1==_.Sa(Nn,c,[]).push(b)&&(this.Mq.push(a),_.gm(c,Zn(c,this,"_g_wasClosed"===a)))};
|
||||||
|
_.g.unregister=function(a,b){var c=this.Eg+":"+this.Jc.Eg+":"+a,d=Nn[c];d&&(b?(b=_.Tm.call(d,b),0<=b&&d.splice(b,1)):d.splice(0,d.length),0==d.length&&(b=_.Tm.call(this.Mq,a),0<=b&&this.Mq.splice(b,1),_.hm(c)))};_.g.V0=function(){return this.Mq};_.g.Cs=function(a){this.kC=this.kC||[];if(!(0<=_.Tm.call(this.kC,a))){this.kC.push(a);a=Mn[a]||{map:{}};for(var b in a.map)_.Ua(a.map,b)&&this.register(b,a.map[b],a.filter)}};
|
||||||
|
_.g.send=function(a,b,c,d){_.Gm(!this.Ub,"Cannot send message to disposed iframe - "+a);_.Gm((d||_.Wn)(this),"Wrong target for message "+a);c=new Jn(c);_.km(this.Ak,this.Jc.Eg+":"+this.Eg+":"+a,c.resolve,b);return c.promise};_.go=function(a,b,c,d){return a.send(b,c,d,_.Q)};_.fo.prototype.t6=function(a){return a};_.fo.prototype.ping=_.n(44);Nn=_.Ta();Mn=_.Ta();_.Ln=new _.eo;_.bo("_g_rpcReady",_.fo.prototype.Gk);_.bo("_g_discover",_.fo.prototype.V0);_.bo("_g_ping",_.fo.prototype.t6);
|
||||||
|
var no,ho;_.mo=_.Ta();_.jo=_.Ta();_.lo=function(a){return _.mo[a]};no=function(a,b){_.Wa.load("gapi.iframes.style."+a,b)};ho=function(a,b){var c=b.Fl();if(c){b.ve(null);var d=_.mo[c];_.Gm(d,"No such style: "+c);b.qr(a);d(b.value());b.qr(null)}};var po,qo;po={height:!0,width:!0};qo=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i;_.ro=function(a){"number"===typeof a&&(a=String(a)+"px");return a};_.fo.prototype.Wb=function(){if(!_.Wn(this))return null;var a=this.Na.V._popupWindow;if(a)return a;for(var b=this.Ak.split("/"),a=this.getContext().Wb(),c=0;c<b.length&&a;c++)var d=b[c],a=".."===d?a==a.parent?a.opener:a.parent:a.frames[d];return a};
|
||||||
|
var so=function(a,b){var c=a.qb,d=!0;b.filter&&(d=b.filter.call(b.bj,b.params));return _.Wf(d).then(function(d){return d&&c?(b.WQ&&b.WQ.call(a,b.params),d=b.sender?b.sender(b.params):_.go(c,b.message,b.params),b.c$?d.then(function(){return!0}):!0):!1})};
|
||||||
|
_.eo.prototype.PC=function(a,b,c){a=so(this,{sender:function(a){var b=_.Ln.qb;_.Hn(_.Ln.Rf,function(c){c!==b&&_.go(c,"_g_wasClosed",a)});return _.go(b,"_g_closeMe",a)},message:"_g_closeMe",params:a,bj:c,filter:this.xE("onCloseSelfFilter")});b=new Jn(b);b.resolve(a);return b.promise};_.eo.prototype.CH=function(a,b,c){a=a||{};b=new Jn(b);b.resolve(so(this,{message:"_g_restyleMe",params:a,bj:c,filter:this.xE("onRestyleSelfFilter"),c$:!0,WQ:this.UT}));return b.promise};
|
||||||
|
_.eo.prototype.UT=function(a){"auto"===a.height&&(a.height=_.vm.Ud())};_.to=function(a){var b={};if(a)for(var c in a)_.Ua(a,c)&&_.Ua(po,c)&&qo.test(a[c])&&(b[c]=a[c]);return b};_.g=_.fo.prototype;_.g.close=function(a,b){return _.go(this,"_g_close",a,b)};_.g.wA=function(a,b){return _.go(this,"_g_restyle",a,b)};_.g.Tq=function(a,b){return _.go(this,"_g_restyleDone",a,b)};_.g.$Y=function(a){return this.getContext().PC(a,void 0,this)};
|
||||||
|
_.g.y7=function(a){if(a&&"object"===typeof a)return this.getContext().CH(a,void 0,this)};_.g.z7=function(a){var b=this.Na.V.onRestyle;b&&b.call(this,a,this);a=a&&"object"===typeof a?_.to(a):{};(b=this.Ya())&&a&&"object"===typeof a&&(_.Ua(a,"height")&&(a.height=_.ro(a.height)),_.Ua(a,"width")&&(a.width=_.ro(a.width)),_.Va(a,b.style))};
|
||||||
|
_.g.aZ=function(a){var b=this.Na.V.onClose;b&&b.call(this,a,this);this.XL&&this.XL()||(b=this.Ya())&&b.parentNode&&b.parentNode.removeChild(b);if(b=this.Na.V.controller){var c={};c.frameName=this.De();_.go(b,"_g_disposeControl",c)}Yn(this.Eg+":"+this.Jc.Eg+":_g_wasClosed",a,this)};_.eo.prototype.vS=_.n(45);_.eo.prototype.SS=_.n(46);_.fo.prototype.CR=_.n(47);_.fo.prototype.im=function(a,b){this.register("_g_wasClosed",a,b)};
|
||||||
|
_.fo.prototype.f$=function(){delete this.getContext().Rf[this.De()];this.getContext().Wb().setTimeout((0,_.z)(function(){this.Da()},this),0)};_.bo("_g_close",_.fo.prototype.$Y);_.bo("_g_closeMe",_.fo.prototype.aZ);_.bo("_g_restyle",_.fo.prototype.y7);_.bo("_g_restyleMe",_.fo.prototype.z7);_.bo("_g_wasClosed",_.fo.prototype.f$);
|
||||||
|
|
||||||
|
var xo;_.vn.prototype.kr=_.r(40,function(a){this.V.apis=a;return this});_.vn.prototype.zm=_.r(39,function(a){this.V.rpctoken=a;return this});_.tn.prototype.Jv=_.r(38,function(a){this.V.anchor=a;return this});_.uo=function(a,b){a.V.onClose=b};_.vo=function(a,b){a.V.where=b;return a};_.wo=function(a){a.V.show=!0;return a};xo=function(a){this.V=a||{}};xo.prototype.value=function(){return this.V};var yo=function(a){var b=new xo;b.V.role=a;return b};xo.prototype.VN=function(){return this.V.role};
|
||||||
|
xo.prototype.Gc=function(a){this.V.handler=a;return this};xo.prototype.Sa=function(){return this.V.handler};var zo=function(a,b){a.V.filter=b;return a};xo.prototype.kr=function(a){this.V.apis=a;return this};var Ao=function(a){a.V.runOnce=!0;return a},Bo=function(a){this.V=a||{}};Bo.prototype.value=function(){return this.V};Bo.prototype.getIframe=function(){return this.V.iframe};var Co=function(a,b){a.V.role=b;return a},Do=function(a,b){a.V.data=b;return a};
|
||||||
|
Bo.prototype.Gk=function(a){this.V.setRpcReady=a;return this};Bo.prototype.zm=function(a){this.V.rpctoken=a;return this};var Eo=function(a){a.V.selfConnect=!0;return a},Fo=/^https?:\/\/[^\/%\\?#\s]+$/i,Go={longdesc:!0,name:!0,src:!0,frameborder:!0,marginwidth:!0,marginheight:!0,scrolling:!0,align:!0,height:!0,width:!0,id:!0,"class":!0,title:!0,tabindex:!0,hspace:!0,vspace:!0,allowtransparency:!0},Ho=function(a,b,c){var d=a.Ak,e=b.Uq;_.Rn(_.Qn(c,a.Uq+"/"+b.Ak),e+"/"+d);_.Pn(c,b.De()).sj(b.ue)};
|
||||||
|
_.eo.prototype.TC=function(a,b){a=new Bo(a);var c=new Bo(b),d=_.Tn(a);b=a.getIframe();var e=c.getIframe();if(e){var f=_.En(a),h=new _.On;Ho(b,e,h);Do(Co((new Bo(h.value())).zm(f),a.V.role),a.V.data).Gk(d);var k=new _.On;Ho(e,b,k);Do(Co((new Bo(k.value())).zm(f),c.V.role),c.V.data).Gk(!0);_.go(b,"_g_connect",h.value(),function(){d||_.go(e,"_g_connect",k.value())});d&&_.go(e,"_g_connect",k.value())}else c={},Do(Co(Eo(new Bo(c)),a.V.role),a.V.data),_.go(b,"_g_connect",c)};_.g=_.fo.prototype;
|
||||||
|
_.g.cZ=function(a){var b,c=new _.On(a);a=new Bo(c.value());a.V.selfConnect?b=this:(_.Gm(Fo.test(c.mb()),"Illegal origin for connected iframe - "+c.mb()),b=this.Jc.Rf[c.De()],b)?_.Tn(c)&&(b.Gk(),_.go(b,"_g_rpcReady")):(c=_.Pn(_.Rn(_.Qn((new _.On).zm(_.En(c)),c.En()),_.Sn(c)).sj(c.mb()),c.De()).Gk(_.Tn(c)),b=this.Jc.Mh(c.value()));var c=this.Jc,d=a.V.role;a=a.V.data;Io(c);d=d||"";_.Sa(c.VC,d,[]).push({bj:b.De(),data:a});Jo(b,a,c.yG[d])};
|
||||||
|
_.g.pI=function(a,b){(new _.On(b)).V._relayedDepth||(b={},Eo(Co(new Bo(b),"_opener")),_.go(a,"_g_connect",b))};
|
||||||
|
_.g.OQ=function(a){var b=this,c=a.V.messageHandlers,d=a.V.messageHandlersFilter,e=a.V.onClose;_.uo(_.Cn(_.Dn(a,null),null),null);_.ag();return _.go(this,"_g_open",a.value()).then(function(f){var h=new _.On(f[0]),k=h.De();f=new _.On;var l=b.Uq,m=_.Sn(h);_.Rn(_.Qn(f,b.Ak+"/"+h.En()),m+"/"+l);_.Pn(f,k);f.sj(h.mb());f.kr(h.V.apis);f.zm(_.En(a));_.Dn(f,c);_.Cn(f,d);_.uo(f,e);(h=b.Jc.Rf[k])||(h=b.Jc.Mh(f.value()));return h})};
|
||||||
|
_.g.HH=function(a){var b=a.getUrl();_.Gm(!b||_.Km.test(b),"Illegal url for new iframe - "+b);var c=a.Mp().value(),b={},d;for(d in c)_.Ua(c,d)&&_.Ua(Go,d)&&(b[d]=c[d]);_.Ua(c,"style")&&(d=c.style,"object"===typeof d&&(b.style=_.to(d)));a.value().attributes=b};
|
||||||
|
_.g.c6=function(a){a=new _.On(a);this.HH(a);var b=a.V._relayedDepth||0;a.V._relayedDepth=b+1;a.V.openerIframe=this;_.ag();var c=_.En(a);a.zm(null);return this.Jc.open(a.value()).then((0,_.z)(function(a){var d=(new _.On(a.wc())).V.apis,f=new _.On;Ho(a,this,f);0==b&&Co(new Bo(f.value()),"_opener");f.Gk(!0);f.zm(c);_.go(a,"_g_connect",f.value());f=new _.On;_.Pn(_.Rn(_.Qn(f.kr(d),a.En()),a.Uq),a.De()).sj(a.mb());return f.value()},this))};var Io=function(a){a.VC||(a.VC=_.Ta(),a.yG=_.Ta())};
|
||||||
|
_.eo.prototype.Sw=function(a,b,c,d){Io(this);"object"===typeof a?(b=new xo(a),c=b.VN()||""):(b=zo(yo(a).Gc(b).kr(c),d),c=a);d=this.VC[c]||[];a=!1;for(var e=0;e<d.length&&!a;e++)Jo(this.Rf[d[e].bj],d[e].data,[b]),a=b.V.runOnce;c=_.Sa(this.yG,c,[]);a||b.V.dontWait||c.push(b)};_.eo.prototype.GR=_.n(48);
|
||||||
|
var Jo=function(a,b,c){c=c||[];for(var d=0;d<c.length;d++){var e=c[d];if(e&&a){var f=e.V.filter||_.Wn;if(a&&f(a)){for(var f=e.V.apis||[],h=0;h<f.length;h++)a.Cs(f[h]);e.Sa()&&e.Sa()(a,b);e.V.runOnce&&(c.splice(d,1),--d)}}}};_.eo.prototype.ys=function(a,b,c){this.Sw(Ao(zo(yo("_opener").Gc(a).kr(b),c)).value())};_.fo.prototype.x7=function(a){this.getContext().ys(function(b){b.send("_g_wasRestyled",a,void 0,_.Q)},null,_.Q)};var Ko=_.Ln.qb;Ko&&Ko.register("_g_restyleDone",_.fo.prototype.x7,_.Q); _.bo("_g_connect",_.fo.prototype.cZ);var Lo={};Lo._g_open=_.fo.prototype.c6;_.$n("_open",Lo,_.Q);
|
||||||
|
|
||||||
|
var RN,SN,TN;for(_.QN=function(a){return{wc:function(){return a},Kd:function(){return a.openerIframe}}},RN=function(a){(new _.cu(_.QN(a))).hv()},SN="bubble circlepicker float hover hover-menu slide-menu".split(" "),TN=0;TN<SN.length;TN++)_.jo[SN[TN]]=RN;
|
||||||
|
|
||||||
|
_.mo.hover=function(a){var b=new _.TE(_.QN(a));b.create(a.where);a.where=b.Pa;a.onClose=function(){b.close()};a.onRestyle=function(a){if(a.updateContainer){var c=a.updateContainer;b.Im(c.visible,c.x,c.y)}a.width&&(b.$.width=a.width);a.height&&(b.$.height=a.height)};a.onCreate=function(c){b.$=c;c.Kd=function(){return a.openerIframe};c.register("_ready",(0,_.z)(b.Pd,b),_.Q);c.updateContainer=function(a,c,f){b.Im(a,c,f)}}};
|
||||||
|
|
||||||
|
var KJ=function(a,b){this.ke=a;this.Dg=b};KJ.prototype.Qz=function(a){this.ke.or(this.Dg,a)};KJ.prototype.$n=function(){this.ke.oh(this.Dg)};KJ.prototype.Oz=function(){this.ke.oc(this.Dg)};_.LJ=function(a){this.w=this.Sb=a;this.n=null;this.slf=0;this.ssh=!1;this.sen=!0;this.shl=this.itm=null};_.LJ.prototype.sm=function(a,b){this.Sb.qr(new KJ(a,this));this.n=b};_.LJ.prototype.sh=function(){this.Sb.show()};_.LJ.prototype.hi=function(){this.Sb.Bd()};_.LJ.prototype.cl=function(){this.Sb.close()};_.LJ.prototype.en=function(){this.Sb.enable()};_.LJ.prototype.di=function(){this.Sb.disable()};_.LJ.prototype.hl=function(a){this.Sb.d0(a)};_.LJ.prototype.vr=function(a,b){this.Sb.g1(a,b)};
|
||||||
|
|
||||||
|
_.Ln.Sw("ytsubscribe",function(a,b){var c=_.Ln.qb;c&&_.Ln.TC({role:"ytsubscribe",iframe:c,data:b},{role:"ytrelay",iframe:a})},void 0,_.Q);
|
||||||
|
_.hf=function(a,b){a:{for(var c=a.length,d=_.u(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:_.u(a)?a.charAt(b):a[b]};_.jf="StopIteration"in _.t?_.t.StopIteration:{message:"StopIteration",stack:""};_.kf=function(){};_.kf.prototype.next=function(){throw _.jf;};_.kf.prototype.Ej=function(){return this};
|
||||||
|
_.lf=function(a,b){this.ra={};this.nc=[];this.Fh=this.uc=0;var c=arguments.length;if(1<c){if(c%2)throw Error("j");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.g=_.lf.prototype;_.g.Xb=function(){return this.uc};_.g.Vd=function(){mf(this);for(var a=[],b=0;b<this.nc.length;b++)a.push(this.ra[this.nc[b]]);return a};_.g.vf=function(){mf(this);return this.nc.concat()};_.g.Ri=function(a){return _.nf(this.ra,a)};_.g.Zm=_.n(10);
|
||||||
|
_.g.equals=function(a,b){if(this===a)return!0;if(this.uc!=a.Xb())return!1;b=b||of;mf(this);for(var c,d=0;c=this.nc[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var of=function(a,b){return a===b};_.lf.prototype.isEmpty=function(){return 0==this.uc};_.lf.prototype.clear=function(){this.ra={};this.Fh=this.uc=this.nc.length=0};_.lf.prototype.remove=function(a){return _.nf(this.ra,a)?(delete this.ra[a],this.uc--,this.Fh++,this.nc.length>2*this.uc&&mf(this),!0):!1};
|
||||||
|
var mf=function(a){if(a.uc!=a.nc.length){for(var b=0,c=0;b<a.nc.length;){var d=a.nc[b];_.nf(a.ra,d)&&(a.nc[c++]=d);b++}a.nc.length=c}if(a.uc!=a.nc.length){for(var e={},c=b=0;b<a.nc.length;)d=a.nc[b],_.nf(e,d)||(a.nc[c++]=d,e[d]=1),b++;a.nc.length=c}};_.g=_.lf.prototype;_.g.get=function(a,b){return _.nf(this.ra,a)?this.ra[a]:b};_.g.set=function(a,b){_.nf(this.ra,a)||(this.uc++,this.nc.push(a),this.Fh++);this.ra[a]=b};
|
||||||
|
_.g.addAll=function(a){var b;a instanceof _.lf?(b=a.vf(),a=a.Vd()):(b=_.ed(a),a=_.dd(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};_.g.forEach=function(a,b){for(var c=this.vf(),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 _.lf(this)};_.g.Ej=function(a){mf(this);var b=0,c=this.Fh,d=this,e=new _.kf;e.next=function(){if(c!=d.Fh)throw Error("u");if(b>=d.nc.length)throw _.jf;var e=d.nc[b++];return a?e:d.ra[e]};return e}; _.nf=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
|
||||||
|
|
||||||
|
var eO=function(a){a.ke.os(a.Dg)},fO=function(a){this.Dg=a;this.Cf=0;this.Yv=!1;this.WM=!0;this.Fm=null},gO=function(a){return 5==a.Cf||4==a.Cf};fO.prototype.isEnabled=function(){return this.WM};fO.prototype.Ob=function(a){this.WM=a};
|
||||||
|
var hO=function(a,b,c){this.mA=a||{};this.vF=b||0;this.H3=c||0;a={};b=(0,_.z)(this.tN,this);a.fc=b;b=(0,_.z)(this.oH,this);a.rc=b;b=(0,_.z)(this.CI,this);a.sc=b;b=(0,_.z)(this.Cu,this);a.hc=b;b=(0,_.z)(this.Us,this);a.cc=b;b=(0,_.z)(this.vO,this);a.os=b;b=(0,_.z)(this.uO,this);a.or=b;b=(0,_.z)(this.sO,this);a.oh=b;b=(0,_.z)(this.qO,this);a.oc=b;b=(0,_.z)(this.rO,this);a.oe=b;b=(0,_.z)(this.tO,this);a.oi=b;this.ke=a};_.g=hO.prototype;
|
||||||
|
_.g.oH=function(a,b,c){try{a+=null!=b?"_"+b:"",c.sm(this.ke,a),this.mA[a]=new fO(c)}catch(d){return!1}return!0};_.g.tN=function(a,b){return(a=this.mA[a+(null!=b?"_"+b:"")])?a.Dg:null};_.g.CI=function(a){var b=iO(this,a);if(b&&(2==b.Cf||3==b.Cf)&&b.isEnabled()&&!b.Yv){try{a.sh()}catch(c){}b.Yv=!0}};_.g.Cu=function(a){var b=iO(this,a);if(b&&(2==b.Cf||3==b.Cf||gO(b))&&b.Yv){try{a.hi()}catch(c){}b.Yv=!1}};_.g.Us=function(a){var b=iO(this,a);if(b&&5!=b.Cf){try{this.Cu(a),a.cl()}catch(c){}jO(this,b)}};
|
||||||
|
_.g.vO=function(a){(a=iO(this,a))&&0==a.Cf&&(kO(this,a),a.Cf=1)};var kO=function(a,b){a.vF?(a=(0,window.setTimeout)((0,_.z)(function(){gO(b)||lO(this,b)},a),a.vF),b.Fm=a):lO(a,b)},lO=function(a,b){var c=a.H3-a.vF;0<c&&(a=(0,window.setTimeout)((0,_.z)(function(){gO(b)||(b.Cf=4,this.Us(b.Dg))},a),c),b.Fm=a)},mO=function(a){null!=a.Fm&&((0,window.clearTimeout)(a.Fm),a.Fm=null)};_.g=hO.prototype;_.g.uO=function(a){(a=iO(this,a))&&!gO(a)&&1==a.Cf&&(mO(a),a.Cf=3)};
|
||||||
|
_.g.sO=function(a){(a=iO(this,a))&&!gO(a)&&(a.Yv=!1)};_.g.qO=function(a){var b=iO(this,a);if(b&&!gO(b)){try{this.Cu(a)}catch(c){}jO(this,b)}};_.g.rO=function(a){(a=iO(this,a))&&!gO(a)&&(a.Cf=4,this.Us(a.Dg))};_.g.tO=function(a,b){(a=iO(this,a))&&!gO(a)&&2<=b&&4>=b&&!gO(a)&&(mO(a),a.Cf=2)};var jO=function(a,b){mO(b);b.Cf=5;a=a.mA;for(var c in a)a[c]==b&&delete a[c]},iO=function(a,b){return a.mA[b.n]},nO=function(){hO.call(this)};_.A(nO,hO);var oO=function(a){this.ke=a};_.g=oO.prototype;
|
||||||
|
_.g.oH=function(a,b,c){return this.ke.rc(a,b,c)};_.g.tN=function(a,b){return this.ke.fc(a,b)};_.g.CI=function(a){this.ke.sc(a)};_.g.Cu=function(a){this.ke.hc(a)};_.g.Us=function(a){this.ke.cc(a)};_.g.vO=function(a){this.ke.os(a)};_.g.uO=function(a,b){this.ke.or(a,b)};_.g.sO=function(a){this.ke.oh(a)};_.g.qO=function(a){this.ke.oc(a)};_.g.rO=function(a,b,c,d,e,f){this.ke.oe(a,b,c,d,e,f)};_.g.tO=function(a,b,c,d){this.ke.oi(a,b,c,d)};
|
||||||
|
var pO=function(){return window.___jsl.man},qO=function(a){if(window.___jsl.man)a(window.___jsl.man);else{var b=function(){var b=new nO;window.___jsl.man=b;a(b)};if(window.gbar){var c=function(){if(window.gbar.wg){var c=new oO(window.gbar.wg);window.___jsl.man=c;a(c)}else b()};window.gbar.wg?c():window.gbar.qm(c)}else b()}};
|
||||||
|
var rO={contactid:!0,cdu:!0,cmp:!0,email:!0,hl:!0,n:!0,m:!0,p:!0,src:!0,userid:!0,sp:!0,ytid:!0};_.qd({nm:!0,s:!0,pr:!0,v:!0},rO);var sO=/(?:^|\s)g-(?:hovercard|profile)(?:$|\s)/,tO={loadHovercardDelay:250,loadDelay:150,hoverDelay:500,closeDelay:500},uO=0,vO=function(a){return window.document.body==a?"body":a.__cardid||null},wO=function(a){var b=vO(a);b||(b=a.__cardid=uO++);return b},xO=function(a){var b=a.className||"getAttribute"in a&&a.getAttribute("class");return b&&sO.test(b)||"getAttribute"in a&&a.getAttribute("oid")&&36==_.E("card/p")?!0:"G:HOVERCARD"==a.tagName.toUpperCase()},yO=function(a,b){var c={};_.qd(c,tO,_.E("iframes/card")||
|
||||||
|
{},_.E("card")||{});for(var d=[],e=a;e;e=e.parentNode){var f=vO(e);f&&b[f]&&d.push(b[f])}(0,_.Sc)(d.reverse(),function(a){_.qd(c,a)});b="G:HOVERCARD"==a.tagName.toUpperCase()?"":"data-";d=a.attributes;for(e=0;e<d.length;e++)_.Ic(d[e].name,b)&&(c[d[e].name.substring(b.length)]=d[e].value);"getAttribute"in a&&a.getAttribute("oid")&&36==_.E("card/p")&&(c.ytid=a.getAttribute("oid"));!c.userid&&"A"==a.tagName.toUpperCase()&&a.pathname&&(b=a.pathname.match(/^\/?(\d+)$/),/\.google\.com$/.test(a.hostname)&& b&&(c.userid=b[1]));c.hl||(c.hl=_.E("lang")||_.F.Wc().hl||void 0);c.m=c.entity;c.src=c.source;delete c.entity;delete c.source;return c},zO=function(a,b){b=b[a];_.Ec(b)||(b=tO[a]);return 0>b?0:b};
|
||||||
|
var AO=function(a){this.Qs=a;this.Dg=new _.LJ(this);this.jz=!1;this.HP=0};_.g=AO.prototype;
|
||||||
|
_.g.load=function(a){eO(this.Jc);a=_.St(a,function(a,b){return rO[b]&&null!=a});a.origin=window.location.protocol+"//"+window.location.host;var b=this,c=this.Qs,d={_event:function(a){if(!(a.timestamp<c.OF)){"sgcp_ams"==a.event?(c.fz=!0,c.Ez=!1):c.fz&&"mouseover"==a.event?c.Ez=!0:c.fz&&"mouseout"==a.event?c.Ez=!1:"sgcp_amh"==a.event&&(c.fz=!1,c.Ez||BO(c));if("mouseover"==a.event||"sgcp_ams"==a.event)window.clearTimeout(c.aj),c.aj=null;if(a.cpid){for(var b=window.document.getElementById(a.cpid);b&&
|
||||||
|
"BODY"!=b.parentNode.tagName;)b=b.parentNode;c.PF=b}a.fromCard&&"mouseout"==a.event&&BO(c)}},_ready:(0,_.z)(this.Pd,this),version:function(a){c.Uf(c.Jk,{type:"circles_changed",version:a.v})},loaded:function(a){a.ri==b.HP&&b.A4()},rendered:function(){var a=b.Qs.Yn,c=_.Os(_.Sg((window||_.t||window).document).Bb);b.Im(!0,a.x+c.x,a.y+c.y);a=b.Qs;a.Uf(a.Jk,{type:"show",frame:b.Ha})},renderfailed:function(){b.Im(!1,0,0)},disposed:function(){b.Ha.close()},cardAction:function(a){CO(c,a)}},e=":card";!_.E("iframes/card/url")&&
|
||||||
|
_.E("iframes/hovercard/url")&&(e=":hovercard");a=_.wn(_.Cn(_.Dn(new _.vn({disableMultiLevelParentRelay:!0,hover:!0}),d),_.Q),a).ve("hover").setUrl(e);_.E("card/relayOpenTop")&&(_.xn(a,-1),_.yn(a).Jv("_default"));_.Ln.open(a.value(),(0,_.z)(function(a){this.Ha=a},this))};_.g.Pd=function(){this.jz=!0;this.Jc.Qz({});var a=this.Qs;a.jd&&a.YF(a.jd)};_.g.qr=function(a){this.Jc=a};_.g.d0=function(a){this.Ha.send("getHealthc",void 0,a,_.Q)};_.g.g1=function(a,b){this.Ha.send("getVarc",a,b,_.Q)};
|
||||||
|
_.g.Im=function(a,b,c){this.Ha.updateContainer?this.Ha.updateContainer(a,b,c):this.Ha.wA({updateContainer:{visible:a,x:b,y:c}})};_.g.show=function(){this.Im(!0,0,-1E4);this.Ha.send("render",void 0,void 0,_.Q)};_.g.Bd=function(){this.Ha.send("hide",void 0,void 0,_.Q);this.Im(!1,0,0);var a=this.Qs;a.Uf(a.Jk,{type:"hide"});a.Jk=null;a.KI=null};_.g.close=function(){this.Ha.send("dispose",void 0,void 0,_.Q)};_.g.enable=function(){};_.g.disable=function(){};
|
||||||
|
var DO=function(){this.qQ=0;this.SE=[];this.Pj={};this.RC={};this.yc={};this.OF=this.aj=this.Yf=this.gq=this.KI=this.Jk=this.Lh=this.jd=this.ug=null;this.Yn={x:0,y:0};this.Ez=this.fz=!1;this.PF=null;this.FC=new _.lf;_.Yd("gapi.load")("gapi.iframes.style.slide-menu")},EO=0,FO=function(a,b,c,d){var e=wO(b),e=a.yc[e]||(a.yc[e]={});e[c]||(e[c]=d=(0,_.z)(d,a),b.addEventListener?b.addEventListener(c,d,"focus"==c||"blur"==c):("focus"==c?c="focusin":"blur"==c&&(c="focusout"),b.attachEvent("on"+c,d)))},GO=
|
||||||
|
function(a,b,c){(a=a.yc[wO(b)])&&a[c]&&(b.addEventListener?b.removeEventListener(c,a[c],"focus"==c||"blur"==c):b.detachEvent("focus"==c?"onfocusin":"blur"==c?"onfocusout":"on"+c,a[c]),delete a[c])},HO=function(a,b){var c=a.yc[b.id];if(c)for(var d in c)c.hasOwnProperty(d)&&GO(a,b,d)};_.g=DO.prototype;
|
||||||
|
_.g.watch=function(a,b,c){if(a=a||window.document.body){this.qQ++;var d=wO(a);b&&(this.Pj[d]=b);c&&(this.RC[d]=c);FO(this,a,"mouseover",this.pu);FO(this,a,"mouseout",this.$E);FO(this,a,"mousedown",this.Ln);FO(this,a,"focus",this.pu);FO(this,a,"blur",this.$E);FO(this,window.document.body,"mouseout",this.$E);FO(this,window.document.body,"mousedown",this.Ln)}else window.setTimeout((0,_.z)(this.watch,this),100)};
|
||||||
|
_.g.unwatch=function(a){if(a=a||window.document.body)if(BO(this,0),a!=window.document.body?HO(this,a):GO(this,window.document.body,"mouseover"),a=wO(a),delete this.Pj[a],delete this.RC[a],!(0<--this.qQ)){HO(this,window.document.body);var b=this.ug;this.mF();this.ug=null;window.setTimeout(function(){var a=pO();a&&b&&a.Us(b.Dg)},100)}};_.g.Rd=function(a){this.SE.push(a)};_.g.Ao=function(a){_.Zc(this.SE,a)};
|
||||||
|
_.g.Uf=function(a,b){for(var c=[];a;){var d=vO(a);d&&this.Pj[d]&&c.push(this.Pj[d]);a=a.parentNode}_.$c(c,this.SE);var e=!0;(0,_.Sc)(c,function(a){!1===a(b)&&(e=!1)});return e};
|
||||||
|
_.g.pu=function(a){this.OF=(0,_.Ia)();var b=a.target||a.srcElement;if(b&&"IFRAME"!=b.tagName){for(;b&&!xO(b);)if(b=b.parentNode,!b||1!=b.nodeType)return;if(b)if(this.Jk==b||this.jd==b)this.aj&&(window.clearTimeout(this.aj),this.aj=null);else{this.jd=b;FO(this,b,"mousemove",this.j2);"focus"==a.type||"focusin"==a.type?(a=_.Zt(b),this.Yn.x=a.x,this.Yn.y=a.y+b.offsetHeight):(this.Yn.x=a.clientX,this.Yn.y=a.clientY);this.gq=(0,_.Ia)();a=this.Lh=yO(b,this.RC);var c=zO("hoverDelay",a);this.ug?this.ug.jz&&
|
||||||
|
(window.clearTimeout(this.Yf),this.Yf=window.setTimeout((0,_.z)(this.YF,this,b),c-zO("loadDelay",a))):(window.clearTimeout(this.Yf),this.Yf=window.setTimeout((0,_.z)(this.I4,this),c-zO("loadHovercardDelay",a)))}}};_.g.$E=function(a){this.OF=(0,_.Ia)();if("blur"!=a.type||a.target==this.Jk||a.target==this.jd){if(a=a.relatedTarget||a.toElement){if("IFRAME"==a.tagName)return;if(this.PF)for(;a&&"BODY"!=a.tagName;){if(a==this.PF)return;a=a.parentNode}}BO(this)}};_.g.Ln=function(){BO(this,0)};
|
||||||
|
_.g.j2=function(a){this.Yn.x=a.clientX;this.Yn.y=a.clientY};_.g.I4=function(){this.Yf&&(window.clearTimeout(this.Yf),this.Yf=null);if(this.jd&&(this.Uf(this.jd,{type:"hover",config:this.Lh}),!this.ug)){var a=this.ug=new AO(this);qO((0,_.z)(function(b){b.oH("card",EO++,a.Dg)&&a.load(this.Lh)},this))}};
|
||||||
|
_.g.YF=function(a){this.Yf&&(window.clearTimeout(this.Yf),this.Yf=null);if(this.jd==a){var b=zO("hoverDelay",this.Lh)-zO("loadDelay",this.Lh)-(0,_.Ia)()+this.gq;if(0<b)this.Yf=window.setTimeout((0,_.z)(this.YF,this,a),b);else{this.Uf(a,{type:"hover",config:this.Lh});var b=this.ug,c=this.Lh;a=(0,_.z)(this.jT,this,a);b.jz&&(b.A4=a,c.ri=++b.HP,b.Ha.send("loadData",c,void 0,_.Q))}}};
|
||||||
|
_.g.jT=function(a){if(this.jd===a&&this.ug&&this.ug.jz&&this.gq){var b=zO("hoverDelay",this.Lh)-(0,_.Ia)()+this.gq;0<b?window.setTimeout((0,_.z)(this.jT,this,a),b):(this.mF(),this.Jk=this.jd,this.KI=this.Lh,GO(this,this.jd,"mousemove"),this.gq=this.Lh=this.jd=null,pO().CI(this.ug.Dg))}};var BO=function(a,b){a.jd&&GO(a,a.jd,"mousemove");a.jd=null;a.Lh=null;a.gq=null;a.Yf&&(window.clearTimeout(a.Yf),a.Yf=null);!a.aj&&a.Jk&&(a.aj=window.setTimeout((0,_.z)(a.mF,a),_.Ec(b)?b:zO("closeDelay",a.KI)))};
|
||||||
|
DO.prototype.mF=function(){this.aj&&(window.clearTimeout(this.aj),this.aj=null);this.Jk&&pO().Cu(this.ug.Dg)};var CO=function(a,b){a.Uf(null,b);a.NG&&a.NG.send("cardAction",b,void 0,a.MG)};DO.prototype.SC=function(a,b,c){var d={};d.frame=a;d.filter=b||_.Wn;d.Fd=c||_.cd;this.FC.set(_.Nc(a),d);a.register("cardAction",(0,_.z)(function(a){CO(this,a);d.Fd(a)},this),d.filter)};
|
||||||
|
DO.prototype.UC=function(a){this.MG=a||_.Wn;_.Ln.ys((0,_.z)(function(a){this.NG=a;this.NG.register("cardAction",(0,_.z)(this.lx,this),this.MG)},this),void 0,this.MG)};DO.prototype.lx=function(a){this.FC.isEmpty()||(0,_.Sc)(this.FC.Vd(),function(b){b.frame.send("cardAction",a,void 0,b.filter)});this.ug&&this.ug.Ha.send("cardAction",a,void 0,_.Q)};
|
||||||
|
_.IO=function(){var a={},b=new DO;a.watch=function(a,d,e){b.watch(a,d,e)};a.unwatch=function(a){b.unwatch(a)};a.Rd=function(a){b.Rd(a)};a.Ao=function(a){b.Ao(a)};a.SC=function(a,d,e){b.SC(a,d,e)};a.UC=function(a){b.UC(a)};a.lx=function(a){b.lx(a)};a.wa=function(a,b){b.origin=window.location.protocol+"//"+window.location.host;var c=_.Ln.kj({url:":card",where:window.document.getElementById(a),queryParams:b,messageHandlers:{_ready:function(){c.send("loadData",b,void 0,_.Q)},loaded:function(){c.send("render", void 0,void 0,_.Q)}},messageHandlersFilter:_.Q})};return a}();
|
||||||
|
_.D("gapi.card.watch",_.IO.watch);_.D("gapi.card.unwatch",_.IO.unwatch);_.D("gapi.card.addCallback",_.IO.Rd);_.D("gapi.card.removeCallback",_.IO.Ao);_.D("gapi.card.render",_.IO.wa);_.D("gapi.card.connectChild",_.IO.SC);_.D("gapi.card.connectOpener",_.IO.UC);_.D("gapi.card.broadcast",_.IO.lx);
|
||||||
|
|
||||||
|
_.D("gapi.iframes.create",_.rn);
|
||||||
|
_.fo.prototype.CR=_.r(47,function(a,b){this.register("_g_wasRestyled",a,b)});_.eo.prototype.SS=_.r(46,function(a){this.IA("onRestyleSelfFilter",a)});_.eo.prototype.vS=_.r(45,function(a){this.IA("onCloseSelfFilter",a)});_.fo.prototype.ping=_.r(44,function(a,b){return _.go(this,"_g_ping",b,a)});_.eo.prototype.NN=_.r(43,function(){return this.qb});_.eo.prototype.IA=_.r(42,function(a,b){this.vk[a]=b});_.eo.prototype.kq=_.r(2,function(){return this.Ub});_.fo.prototype.kq=_.r(1,function(){return this.Ub});
|
||||||
|
_.D("gapi.iframes.registerStyle",function(a,b){_.mo[a]=b});_.D("gapi.iframes.registerBeforeOpenStyle",function(a,b){_.jo[a]=b});_.D("gapi.iframes.getStyle",_.lo);_.D("gapi.iframes.getBeforeOpenStyle",function(a){return _.jo[a]});_.D("gapi.iframes.registerIframesApi",_.$n);_.D("gapi.iframes.registerIframesApiHandler",_.ao);_.D("gapi.iframes.getContext",_.co);_.D("gapi.iframes.SAME_ORIGIN_IFRAMES_FILTER",_.Wn);_.D("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER",_.Q);
|
||||||
|
_.D("gapi.iframes.makeWhiteListIframesFilter",_.Xn);_.D("gapi.iframes.Context",_.eo);_.D("gapi.iframes.Context.prototype.isDisposed",_.eo.prototype.kq);_.D("gapi.iframes.Context.prototype.getWindow",_.eo.prototype.Wb);_.D("gapi.iframes.Context.prototype.getFrameName",_.eo.prototype.De);_.D("gapi.iframes.Context.prototype.getGlobalParam",_.eo.prototype.xE);_.D("gapi.iframes.Context.prototype.setGlobalParam",_.eo.prototype.IA);_.D("gapi.iframes.Context.prototype.open",_.eo.prototype.open);
|
||||||
|
_.D("gapi.iframes.Context.prototype.openChild",_.eo.prototype.kj);_.D("gapi.iframes.Context.prototype.getParentIframe",_.eo.prototype.NN);_.D("gapi.iframes.Context.prototype.closeSelf",_.eo.prototype.PC);_.D("gapi.iframes.Context.prototype.restyleSelf",_.eo.prototype.CH);_.D("gapi.iframes.Context.prototype.setCloseSelfFilter",_.eo.prototype.vS);_.D("gapi.iframes.Context.prototype.setRestyleSelfFilter",_.eo.prototype.SS);_.D("gapi.iframes.Iframe",_.fo);
|
||||||
|
_.D("gapi.iframes.Iframe.prototype.isDisposed",_.fo.prototype.kq);_.D("gapi.iframes.Iframe.prototype.getContext",_.fo.prototype.getContext);_.D("gapi.iframes.Iframe.prototype.getFrameName",_.fo.prototype.De);_.D("gapi.iframes.Iframe.prototype.getId",_.fo.prototype.Aa);_.D("gapi.iframes.Iframe.prototype.register",_.fo.prototype.register);_.D("gapi.iframes.Iframe.prototype.unregister",_.fo.prototype.unregister);_.D("gapi.iframes.Iframe.prototype.send",_.fo.prototype.send);
|
||||||
|
_.D("gapi.iframes.Iframe.prototype.applyIframesApi",_.fo.prototype.Cs);_.D("gapi.iframes.Iframe.prototype.getIframeEl",_.fo.prototype.Ya);_.D("gapi.iframes.Iframe.prototype.getSiteEl",_.fo.prototype.Hb);_.D("gapi.iframes.Iframe.prototype.setSiteEl",_.fo.prototype.eg);_.D("gapi.iframes.Iframe.prototype.getWindow",_.fo.prototype.Wb);_.D("gapi.iframes.Iframe.prototype.getOrigin",_.fo.prototype.mb);_.D("gapi.iframes.Iframe.prototype.close",_.fo.prototype.close);
|
||||||
|
_.D("gapi.iframes.Iframe.prototype.restyle",_.fo.prototype.wA);_.D("gapi.iframes.Iframe.prototype.restyleDone",_.fo.prototype.Tq);_.D("gapi.iframes.Iframe.prototype.registerWasRestyled",_.fo.prototype.CR);_.D("gapi.iframes.Iframe.prototype.registerWasClosed",_.fo.prototype.im);_.D("gapi.iframes.Iframe.prototype.getParam",_.fo.prototype.Yt);_.D("gapi.iframes.Iframe.prototype.setParam",_.fo.prototype.Pc);_.D("gapi.iframes.Iframe.prototype.ping",_.fo.prototype.ping);
|
||||||
|
|
||||||
|
_.eo.prototype.GR=_.r(48,function(a,b){a=_.Sa(this.yG,a,[]);if(b)for(var c=0,d=!1;!d&&c<a.length;c++)a[c].Fe===b&&(d=!0,a.splice(c,1));else a.splice(0,a.length)});_.D("gapi.iframes.Context.prototype.addOnConnectHandler",_.eo.prototype.Sw);_.D("gapi.iframes.Context.prototype.removeOnConnectHandler",_.eo.prototype.GR);_.D("gapi.iframes.Context.prototype.addOnOpenerHandler",_.eo.prototype.ys);_.D("gapi.iframes.Context.prototype.connectIframes",_.eo.prototype.TC);
|
||||||
|
|
||||||
|
});
|
||||||
|
// Google Inc.
|
@ -0,0 +1,28 @@
|
|||||||
|
/* JS */ gapi.loaded_1(function(_){var window=this;
|
||||||
|
_.qu=function(a){if(!_.Ba(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};_.ru=function(a){_.$d.call(this);this.Xc=a;this.nc={}};_.A(_.ru,_.$d);var su=[];_.ru.prototype.U=function(a,b,c,d){return this.Wu(a,b,c,d)};_.ru.prototype.Wu=function(a,b,c,d,e){_.Ba(b)||(b&&(su[0]=b.toString()),b=su);for(var f=0;f<b.length;f++){var h=_.P(a,b[f],c||this.handleEvent,d||!1,e||this.Xc||this);if(!h)break;this.nc[h.key]=h}return this};_.ru.prototype.Wl=function(a,b,c,d){return tu(this,a,b,c,d)};
|
||||||
|
var tu=function(a,b,c,d,e,f){if(_.Ba(c))for(var h=0;h<c.length;h++)tu(a,b,c[h],d,e,f);else{b=_.Ee(b,c,d||a.handleEvent,e,f||a.Xc||a);if(!b)return a;a.nc[b.key]=b}return a};_.ru.prototype.yb=function(a,b,c,d,e){if(_.Ba(b))for(var f=0;f<b.length;f++)this.yb(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.Xc||this,c=_.ye(c),d=!!d,b=_.ne(a)?a.Op(b,c,d,e):a?(a=_.Ae(a))?a.Op(b,c,d,e):null:null,b&&(_.Ge(b),delete this.nc[b.key]);return this}; _.ru.prototype.removeAll=function(){_.rd(this.nc,function(a,b){this.nc.hasOwnProperty(b)&&_.Ge(a)},this);this.nc={}};_.ru.prototype.ua=function(){_.ru.R.ua.call(this);this.removeAll()};_.ru.prototype.handleEvent=function(){throw Error("Q");};
|
||||||
|
|
||||||
|
_.zx=function(a,b){_.Ba(b)||(b=[b]);b=(0,_.Uc)(b,function(a){return _.u(a)?a:a.iA+" "+a.duration+"s "+a.timing+" "+a.fn+"s"});_.R(a,"transition",b.join(","))};
|
||||||
|
_.Ax=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(_.J)return _.Od("10.0");var a=_.ah(window.document,"DIV"),b=_.Ed?"-webkit":_.Dd?"-moz":_.J?"-ms":_.zd?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");_.Qs(a,_.kt({style:c}));a=a.firstChild;b=a.style[_.Oc("transition")];return""!=("undefined"!==typeof b?b:a.style[_.pt(a,"transition")]||"")});
|
||||||
|
|
||||||
|
var aF=function(a,b,c,d,e){this.width=a;this.height=b;this.Wo=c;this.Xo=d;this.opacity=e},bF=function(a,b,c,d){return new aF(void 0==b?a.width:b,void 0==c?a.height:c,a.Wo,a.Xo,void 0==d?a.opacity:d)};aF.prototype.equals=function(a){return this.width==a.width&&this.height==a.height&&this.Wo==a.Wo&&this.Xo==a.Xo&&this.opacity==a.opacity}; aF.prototype.interpolate=function(a,b){var c=1-b;return new aF(Math.round(this.width*c+a.width*b),Math.round(this.height*c+a.height*b),Math.round(this.Wo*c+a.Wo*b),Math.round(this.Xo*c+a.Xo*b),this.opacity*c+a.opacity*b)};
|
||||||
|
_.cF=function(a){_.cu.call(this,a);this.Ca=new _.ru(this)};_.A(_.cF,_.eu);
|
||||||
|
_.cF.prototype.create=function(){var a=Number(this.Bl(200,"widgetWidth","width")),b=Number(this.Bl(100,"widgetHeight","height")),c=this.Bl("auto","corner"),d=this.Bl({},"menuCss"),e=this.Bl(!0,"hideOnClick");this.Du=!!this.Bl(!0,"hideOnLeave");this.lJ=!!this.Bl((0,_.Ax)(),"useCss3Transition");this.dY=!!this.Bl(!0,"allowOffset");var f=window.document.createElement("div");this.va=f;var h=this.Fg();h.parentNode.appendChild(f);var k=window.document.createElement("div");this.Vo=k;f.appendChild(k);d.position=
|
||||||
|
"absolute";d.width=a+"px";d.height="0";d.border=d.border||"1px solid #aaa";d.background=d.background||"#fff";d.zIndex=_.iu(this);d.overflow="hidden";d.boxShadow=d.MozBoxShadow=d.webkitBoxShadow=d.boxShadow||"0 2px 2px rgba(0,0,0,0.3)";_.R(f,d);_.R(k,{left:"-1000px",top:"-1000px",position:"absolute",width:a+"px",height:b+"px"});this.k$=f.offsetWidth-a;this.m$=f.offsetHeight;d="auto"==c?["top","start"]:c.split("-");h=_.Ht(h);this.jx="bottom"==d[0];this.xA="right"==d[1]||"left"!=d[1]&&h;this.Bi=dF(this,
|
||||||
|
a,b,"auto"==c);this.GI=_.t.setTimeout((0,_.z)(this.Z8,this),500);this.Ca.U(f,"mouseover",this.DG);this.Ca.Wu(f,"mouseout",this.CG,!1,this);e&&_.t.setTimeout((0,_.z)(function(){this.Vs||this.Ca.U(window.document,"click",this.x5)},this),0)};
|
||||||
|
_.cF.prototype.open=function(){this.create();this.$.eg(this.va);this.$.Rd("resize",(0,_.z)(this.resize,this));this.$.tf("showMenu",(0,_.z)(this.lT,this));var a=this.$.methods;a.setHideOnLeave=(0,_.z)(this.Mv,this);a.displayStateCallback&&(this.GM=a.displayStateCallback,delete a.displayStateCallback);this.$.Jg(this.Vo,{height:"100%"});_.eF(this,this.Bi)};_.cF.prototype.open=_.cF.prototype.open;
|
||||||
|
_.cF.prototype.Pd=function(a){this.Vs||(a=a||{},this.Vo.style.left="0",this.Vo.style.top="0",this.Lk&&(_.eh(this.Lk),this.Lk=null),this.GI&&(_.t.clearTimeout(this.GI),this.GI=null),fF(this,(0,window.parseInt)(a.width,10)||(0,window.parseInt)(this.$.width,10)||this.Bi.width,(0,window.parseInt)(a.height,10)||(0,window.parseInt)(this.$.height,10)||this.Bi.height))};_.cF.prototype.onready=_.cF.prototype.Pd;
|
||||||
|
_.cF.prototype.resize=function(a){this.Vs||fF(this,(0,window.isNaN)(+a.width)?this.Bi.width:+a.width,(0,window.isNaN)(+a.height)?this.Bi.height:+a.height)};_.cF.prototype.close=function(){this.kF?gF(this):(this.NC=!0,hF(this))};_.cF.prototype.close=_.cF.prototype.close;_.cF.prototype.Bl=function(a,b){for(var c,d=1,e=arguments.length;d<e&&(c=this.Ba[arguments[d]],void 0===c);++d);return void 0!==c?c&&"object"==typeof c?(d={},_.nt(d,c),d):c:a};
|
||||||
|
var dF=function(a,b,c,d){var e=a.Fg(),f=_.Xt(e.offsetParent);f.right-=a.k$;f.bottom-=a.m$;if(d){var h=e.offsetLeft;d=h+b<f.right;h=h+e.offsetWidth-b>=f.left;a.xA=a.xA?!d||h:!d&&h;h=e.offsetTop;d=h+c<f.bottom;h=h+e.offsetHeight-c>=f.top;a.jx=a.jx?!d||h:!d&&h}d=a.Xt(a.xA,e.offsetLeft,e.offsetWidth,b,f.left,f.right);a=a.Xt(a.jx,e.offsetTop,e.offsetHeight,c,f.top,f.bottom);return new aF(b,c,d,a,1)};
|
||||||
|
_.cF.prototype.Xt=function(a,b,c,d,e,f){return a?(a=b+c,Math.min(f-a,Math.max(e+d-a,0))):Math.max(e-b,Math.min(f-b-d,0))};var fF=function(a,b,c){a.$.Ya().style.width=b+"px";a.$.Ya().style.height=c+"px";a.Vo.style.width=b+"px";a.Vo.style.height=c+"px";b=a.dY?dF(a,b,c,!1):bF(a.kE,b,c);a.Bi=b;a.Pl||iF(a,b)};_.g=_.cF.prototype;_.g.Mv=function(a){this.Du=!!a};_.g.DG=function(){!this.Pl&&this.Mn&&(_.t.clearTimeout(this.Mn),this.Mn=null)};
|
||||||
|
_.g.CG=function(a){if(!(this.Pl||this.Mn||!this.Du||a.relatedTarget&&_.jh(this.va,a.relatedTarget))){var b=_.Yt(this.va);a=a.clientY>b.top&&a.clientY<b.top+b.height?0:300;this.Mn=_.t.setTimeout((0,_.z)(this.Af,this),a)}};_.g.x5=function(a){_.hu(this.va,a)||this.Af()};_.g.lT=function(a){this.show(!!a||void 0===a)};_.g.show=function(a){a?this.wj():this.Af()};_.g.wj=function(){!this.Vs&&this.kF&&(this.Pl=this.kF=!1,_.eF(this,this.Bi))};
|
||||||
|
_.eF=function(a,b){jF(a,bF(b,void 0,0,0));_.t.setTimeout((0,_.z)(function(){this.Pl||(this.Bi=b,this.lJ&&_.zx(this.va,"width 350ms cubic-bezier(.23, .50, .32, 1),height 350ms cubic-bezier(.23, .50, .32, 1),left 350ms cubic-bezier(.23, .50, .32, 1),top 350ms cubic-bezier(.23, .50, .32, 1),opacity 350ms cubic-bezier(.23, .50, .32, 1)"),iF(this,b),this.ox(!0,!1),this.Uv&&(_.t.clearTimeout(this.Uv),this.NC=!1),this.Uv=_.t.setTimeout((0,_.z)(this.ox,this,!0,!0),350))},a),0)};
|
||||||
|
_.cF.prototype.Af=function(){this.Pl||hF(this)};
|
||||||
|
var hF=function(a){a.Pl||(a.ox(!1,!1),iF(a,bF(a.kE,void 0,0,0)),a.Pl=!0,a.Uv&&_.t.clearTimeout(a.Uv),a.Uv=_.t.setTimeout((0,_.z)(function(){this.kF=!0;this.NC?(gF(this),this.NC=!1):(this.lJ&&_.zx(this.va,""),this.va.visibility="hidden",this.va.left="-1000px",this.va.top="-1000px");this.ox(!1,!0)},a),350))},gF=function(a){a.Vs=!0;_.ae(a.Ca);a.Ca=null;a.Mn&&(_.t.clearTimeout(a.Mn),a.Mn=null);a.lp&&(_.t.clearTimeout(a.lp),a.lp=null);_.eh(a.va);a.va=null;_.eh(a.Fg());a.Vo=null;a.Lk=null};
|
||||||
|
_.cF.prototype.ox=function(a,b){var c=this.GM;c&&_.t.setTimeout(function(){c(a,b)},0)};_.cF.prototype.Z8=function(){this.Lk=window.document.createElement("div");this.Lk.style.width=this.Lk.style.height="100%";this.Lk.style.position="absolute";this.Lk.style.background="url(//ssl.gstatic.com/ui/v1/activityindicator/loading_gs.gif) no-repeat "+(this.Bi.width-19)/2+"px "+(this.Bi.height-19)/2+"px";this.va.appendChild(this.Lk)};
|
||||||
|
var iF=function(a,b){if(!a.Pl)if(a.lJ)jF(a,b);else{var c=(0,_.Ia)()-20+350;a.lp&&_.t.clearTimeout(a.lp);a.mQ(a.kE,b,c)}},jF=function(a,b){var c=a.va,d=a.Fg();c.style.left=a.xA?d.offsetLeft+d.offsetWidth+b.Wo-b.width+"px":d.offsetLeft+b.Wo+"px";c.style.width=b.width+"px";c.style.top=a.jx?d.offsetTop+d.offsetHeight+b.Xo-b.height+"px":d.offsetTop+b.Xo+"px";c.style.height=b.height+"px";_.Et(c,b.opacity);a.kE=b}; _.cF.prototype.mQ=function(a,b,c){this.lp=null;if(!this.Vs&&!a.equals(b)){var d=(0,_.Ia)();d>=c?jF(this,b):(jF(this,a.interpolate(b,1-Math.pow(1-Math.min(1-(c-d)/350,1),3))),this.lp=_.t.setTimeout((0,_.z)(this.mQ,this,a,b,c),20))}};
|
||||||
|
|
||||||
|
_.mo["slide-menu"]=function(a){var b=new _.cF(_.QN(a)),c=new _.nu(b);b.open=function(){};b.create();a.attributes={height:"100%"};a.where=b.Vo;a.onClose=function(){b.close()};a.onRestyle=function(a){if(a){var c=!1;a.hasOwnProperty("showMenu")&&(b.lT(a.showMenu),c=!0);a.hasOwnProperty("setHideOnLeave")&&(b.Mv(a.setHideOnLeave),c=!0);c||b.resize(a)}};a.onCreate=function(a){a.Kd=function(){return this.Yt("openerIframe")};c.$=b.$=a;a.eg(b.va);a.register("_ready",(0,_.z)(b.Pd,b),_.Q);b.GM=function(b,c){!a.Ub&& a.Tq([b,c])};_.eF(b,b.Bi);c.open()}};
|
||||||
|
|
||||||
|
});
|
||||||
|
// Google Inc.
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,40 @@
|
|||||||
|
(function(){var f=this;function g(a){a=a.split(".");for(var b=f,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b}
|
||||||
|
function h(a,b,c){return a.call.apply(a.bind,arguments)}
|
||||||
|
function k(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 l(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?l=h:l=k;return l.apply(null,arguments)}
|
||||||
|
var m=Date.now||function(){return+new Date};
|
||||||
|
function n(a,b){var c=a.split("."),d=f;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d[e]&&d[e]!==Object.prototype[e]?d=d[e]:d=d[e]={}:d[e]=b}
|
||||||
|
;function p(){this.h=this.h;this.m=this.m}
|
||||||
|
p.prototype.h=!1;p.prototype.dispose=function(){this.h||(this.h=!0,this.o())};
|
||||||
|
p.prototype.o=function(){if(this.m)for(;this.m.length;)this.m.shift()()};var q=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};n("yt.config_",q);function u(a){p.call(this);this.a=[];this.a[4]=[];this.a[3]=[];this.a[2]=[];this.a[1]=[];this.a[0]=[];a=a||{};this.f=0;this.G=a.timeout||1;this.c={};this.l=u.a;this.s=this.b=this.j=0;this.u=this.i=!1;this.g=[];this.B=l(this.I,this);this.F=l(this.K,this);this.C=l(this.H,this);this.D=l(this.J,this);this.v=!1;this.A=!!window.requestIdleCallback;(this.w=!!a.useRaf&&!!window.requestAnimationFrame)&&document.addEventListener("visibilitychange",this.B)}
|
||||||
|
(function(){var a=u;function b(){}
|
||||||
|
b.prototype=p.prototype;a.M=p.prototype;a.prototype=new b;a.prototype.constructor=a;a.N=function(a,b,e){for(var c=Array(arguments.length-2),d=2;d<arguments.length;d++)c[d-2]=arguments[d];return p.prototype[b].apply(a,c)}})();
|
||||||
|
u.b=1E3/60;u.c=3E3;u.f=300;u.g=3;u.a=u.b-3;function v(a,b){var c=m();w(b);c=m()-c;a.i||(a.l-=c)}
|
||||||
|
function x(a,b,c,d){++a.s;if(10==c)return v(a,b),a.s;var e=a.s;a.c[e]=b;a.i&&!d?a.g.push({id:e,L:c}):(a.a[c].push(e),a.u||a.i||(0!=a.b&&y(a)!=a.j&&z(a),a.start()));return e}
|
||||||
|
function A(a){a.g.length=0;for(var b=4;0<=b;b--)a.a[b].length=0;a.c={};z(a)}
|
||||||
|
function y(a){for(var b=4;b>=a.f;b--)if(0<a.a[b].length)return 0<b?!document.hidden&&a.w?3:2:1;return 0}
|
||||||
|
function w(a){try{a()}catch(c){a=c;var b=g("yt.logging.errors.log");b&&b(a)}}
|
||||||
|
u.prototype.H=function(a){var b=void 0;a&&(b=a.timeRemaining());this.v=!0;B(this,b);this.v=!1};
|
||||||
|
u.prototype.K=function(){B(this)};
|
||||||
|
u.prototype.J=function(){B(this)};
|
||||||
|
u.prototype.I=function(){this.b&&(z(this),this.start())};
|
||||||
|
function B(a,b){z(a);a.i=!0;for(var c=m()+(b||a.l),d=a.a[4];d.length;){var e=d.shift(),r=a.c[e];delete a.c[e];r&&w(r)}d=a.v?0:1;d=a.f>d?a.f:d;if(!(m()>=c)){do{a:{for(var e=a,r=d,t=3;t>=r;t--)for(var E=e.a[t];E.length;){var F=E.shift(),G=e.c[F];delete e.c[F];if(G){e=G;break a}}e=null}e&&w(e)}while(e&&m()<c)}a.i=!1;c=0;for(d=a.g.length;c<d;c++)e=a.g[c],a.a[e.L].push(e.id);a.l=u.a;a:{for(c=3;0<=c;c--)if(a.a[c].length){c=!0;break a}c=!1}(c||a.g.length)&&a.start();a.g.length=0}
|
||||||
|
u.prototype.start=function(){this.u=!1;if(0==this.b)switch(this.j=y(this),this.j){case 1:var a=this.C;this.b=this.A?window.requestIdleCallback(a,{timeout:3E3}):window.setTimeout(a,300);break;case 2:this.b=window.setTimeout(this.F,this.G);break;case 3:this.b=window.requestAnimationFrame(this.D)}};
|
||||||
|
function z(a){if(a.b){switch(a.j){case 1:var b=a.b;a.A?window.cancelIdleCallback(b):window.clearTimeout(b);break;case 2:window.clearTimeout(a.b);break;case 3:window.cancelAnimationFrame(a.b)}a.b=0}}
|
||||||
|
u.prototype.o=function(){A(this);z(this);this.w&&document.removeEventListener("visibilitychange",this.B);u.M.o.call(this)};function C(){var a=g("yt.scheduler.instance.instance_");if(!a||a.h)a=new u(("scheduler"in q?q.scheduler:void 0)||{}),n("yt.scheduler.instance.instance_",a);return a}
|
||||||
|
function D(){var a=g("yt.scheduler.instance.instance_");a&&(a&&"function"==typeof a.dispose&&a.dispose(),n("yt.scheduler.instance.instance_",null))}
|
||||||
|
function H(){A(C())}
|
||||||
|
var I=g("yt.scheduler.instance.timerIdMap_")||{};function J(a,b,c){if(0==c||void 0===c)return c=void 0===c,-x(C(),a,b,c);var d=window.setTimeout(function(){var c=x(C(),a,b);I[d]=c},c);
|
||||||
|
return d}
|
||||||
|
function K(a){v(C(),a)}
|
||||||
|
function L(a){var b=C();if(0>a)delete b.c[-a];else{var c=I[a];c?(delete b.c[c],delete I[a]):window.clearTimeout(a)}}
|
||||||
|
var M=0,N=0;function O(){return"SCHEDULER_SOFT_STATE_TIMER"in q?q.SCHEDULER_SOFT_STATE_TIMER:800}
|
||||||
|
function P(a){var b=g("ytcsi.tick");b&&b(a)}
|
||||||
|
function Q(){P("jse");R()}
|
||||||
|
function R(){window.clearTimeout(M);C().start()}
|
||||||
|
function S(){var a=C();z(a);a.u=!0;window.clearTimeout(M);M=window.setTimeout(Q,O())}
|
||||||
|
function T(){window.clearTimeout(N);N=window.setTimeout(function(){P("jset");U(0)},O())}
|
||||||
|
function U(a){T();var b=C();b.f=a;b.start()}
|
||||||
|
function V(a){T();var b=C();b.f>a&&(b.f=a,b.start())}
|
||||||
|
function W(){window.clearTimeout(N);var a=C();a.f=0;a.start()}
|
||||||
|
;g("yt.scheduler.initialized")||(n("yt.scheduler.instance.dispose",D),n("yt.scheduler.instance.addJob",J),n("yt.scheduler.instance.addImmediateJob",K),n("yt.scheduler.instance.cancelJob",L),n("yt.scheduler.instance.cancelAllJobs",H),n("yt.scheduler.instance.start",R),n("yt.scheduler.instance.pause",S),n("yt.scheduler.instance.setPriorityThreshold",U),n("yt.scheduler.instance.enablePriorityThreshold",V),n("yt.scheduler.instance.clearPriorityThreshold",W),n("yt.scheduler.initialized",!0));}).call(this);
|
@ -0,0 +1,74 @@
|
|||||||
|
(function(){/*
|
||||||
|
|
||||||
|
SPF
|
||||||
|
(c) 2012-2016 Google Inc.
|
||||||
|
https://ajax.googleapis.com/ajax/libs/spf/2.4.0/LICENSE
|
||||||
|
*/
|
||||||
|
function k(a,b,c){var d=Array.prototype.slice.call(arguments,2);return function(){var c=d.slice();c.push.apply(c,arguments);return a.apply(b,c)}}function aa(a,b){if(a){var c=Array.prototype.slice.call(arguments,1);try{return a.apply(null,c)}catch(d){return d}}}function n(a,b){if(document.createEvent){var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!0,!0,b);return document.dispatchEvent(c)}return!0}
|
||||||
|
var p=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};function ba(){};function q(a,b){if(a.forEach)a.forEach(b,void 0);else for(var c=0,d=a.length;c<d;c++)c in a&&b.call(void 0,a[c],c,a)}function ca(a,b){if(a.every)return a.every(b,void 0);for(var c=0,d=a.length;c<d;c++)if(c in a&&!b.call(void 0,a[c],c,a))return!1;return!0}function da(a,b){if(a.some)return a.some(b,void 0);for(var c=0,d=a.length;c<d;c++)if(c in a&&b.call(void 0,a[c],c,a))return!0;return!1}
|
||||||
|
function ea(a,b){if(a.filter)return a.filter(b,void 0);var c=[];q(a,function(a,e,f){b.call(void 0,a,e,f)&&c.push(a)});return c}function fa(a,b){if(a.map)return a.map(b,void 0);var c=[];c.length=a.length;q(a,function(a,e,f){c[e]=b.call(void 0,a,e,f)});return c}function r(a){return"[object Array]"==Object.prototype.toString.call(a)?a:[a]};function t(a,b){return v[a]=b}var v=window._spf_state||{};window._spf_state=v;function w(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}function ga(a){return"[object String]"==Object.prototype.toString.call(a)}var ha=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s+|\s+$/g,"")};function x(a,b){a=a.split(b);var c=1==a.length;return[a[0],c?"":b,c?"":a.slice(1).join(b)]};function ia(a){a.data&&ga(a.data)&&0==a.data.lastIndexOf("spf:",0)&&ja(a.data.substring(4))}function ja(a){var b=y[a];b&&(delete y[a],b())}function ka(a){window.addEventListener?window.addEventListener("message",a,!1):window.attachEvent&&window.attachEvent("onmessage",a)}function la(a){window.removeEventListener?window.removeEventListener("message",a,!1):window.detachEvent&&window.detachEvent("onmessage",a)}
|
||||||
|
var ma=function(){function a(){b=!1}if(!window.postMessage)return!1;var b=!0;ka(a);window.postMessage("","*");la(a);return b}(),y={};"async-defers"in v||t("async-defers",y);y=v["async-defers"];ma&&("async-listener"in v&&la(v["async-listener"]),ka(ia),t("async-listener",ia));var na={"animation-class":"spf-animate","animation-duration":425,"cache-lifetime":6E5,"cache-max":50,"cache-unified":!1,"link-class":"spf-link","nolink-class":"spf-nolink","navigate-limit":20,"navigate-lifetime":864E5,"reload-identifier":null,"request-timeout":0,"url-identifier":"?spf=__type__"},z={};"config"in v||t("config",z);z=v.config;function oa(a){var b=A();a in b&&delete b[a]}function pa(){var a=A();for(b in a)qa(a[b])||delete a[b];a=A();var b=parseInt(z["cache-max"],10);b=isNaN(b)?Infinity:b;b=Object.keys(a).length-b;if(!(0>=b))for(var c=0;c<b;c++){var d=Infinity,e;for(e in a)if(a[e].count<d){var f=e;d=a[e].count}delete a[f]}}function qa(a){if(!(a&&"data"in a))return!1;var b=a.life,b=isNaN(b)?Infinity:b;a=a.time;return p()-a<b}function ra(a){var b=parseInt(v["cache-counter"],10)||0;b++;t("cache-counter",b);a.count=b}
|
||||||
|
function A(a){return!a&&"cache-storage"in v?v["cache-storage"]:t("cache-storage",a||{})};function sa(a){return a.classList?a.classList:a.className&&a.className.match(/\S+/g)||[]}function ta(a,b){if(b){if(a.classList)return a.classList.contains(b);a=sa(a);return da(a,function(a){return a==b})}return!1}function B(a,b){b&&(a.classList?a.classList.add(b):ta(a,b)||(a.className+=" "+b))}function C(a,b){if(b)if(a.classList)a.classList.remove(b);else{var c=sa(a),c=ea(c,function(a){return a!=b});a.className=c.join(" ")}};function ua(a){var b=document.body;b.dataset?b.dataset.spfName=a:b.setAttribute("data-"+"spfName".replace(/([A-Z])/g,"-$1").toLowerCase(),a)};function va(a,b){b=b||document;return b.querySelectorAll?b.querySelectorAll(a):[]}function wa(a,b,c){for(;a;){if(b(a))return a;if(c&&a==c)break;a=a.parentNode}return null}function xa(a,b,c){b=b||document;var d=b.createElement("iframe");d.id=a||"";d.src='javascript:""';d.style.display="none";c&&(d.onload=k(c,null,d));b.body.appendChild(d);return d};function ya(a,b,c){var d=null,e=window.history.state;if(e){var d={},f;for(f in e)d[f]=e[f]}if(b)for(f in d=d||{},b)d[f]=b[f];za(!0,a,d,c)}function za(a,b,c,d){if(b||c){b=b||window.location.href;c=c||{};var e=p();t("history-timestamp",e);c["spf-timestamp"]=e;if(a)Aa(c,b);else if(a=Ba().contentWindow.history.pushState,"function"==typeof a)a.call(window.history,c,"",b);else throw Error("history.pushState is not a function.");t("history-url",b);d&&(d=v["history-callback"])&&d(b,c)}}
|
||||||
|
function Ca(a){var b=window.location.href;if(v["history-ignore-pop"])t("history-ignore-pop",!1);else if(a.state){a=a.state;var c=a["spf-timestamp"];b==v["history-url"]?(t("history-timestamp",c),Aa(a,b)):(a["spf-back"]=c<parseInt(v["history-timestamp"],10),a["spf-current"]=v["history-url"],t("history-timestamp",c),t("history-url",b),(c=v["history-callback"])&&c(b,a))}}
|
||||||
|
function Aa(a,b){var c=Ba().contentWindow.history.replaceState;if("function"==typeof c)c.call(window.history,a,"",b);else throw Error("history.replaceState is not a function");}function Ba(){var a=document.getElementById("history-iframe");a||(a=xa("history-iframe"));return a};function Da(a,b){a&&b&&(a in E||(E[a]=[]),E[a].push(b))}function Ea(a,b){a in E&&b&&ca(E[a],function(a,d,e){return a==b?(e[d]=null,!1):!0})}function Ga(a){a in E&&q(E[a],function(a,c,d){d[c]=null;a&&a()})}var E={};"ps-s"in v||t("ps-s",E);E=v["ps-s"];function F(a,b,c){var d=G[a];return a&&b?(d||(d=G[a]={items:[],o:0,m:0,A:1}),d.items.push({D:b,B:c||0})):d&&d.items.length||0}function H(a,b){var c=G[a];if(c){var d=!!c.o||!!c.m;0<c.A&&(b||!d)&&Ha(a,b)}}function I(a){(a=G[a])&&a.A--}function J(a,b){var c=G[a];c&&(c.A++,H(a,b))}function Ia(a){var b=G[a];b&&(Ja(b),delete G[a])}function Ha(a,b){var c=G[a];if(c&&(Ja(c),0<c.A&&c.items.length)){var d=c.items[0];d&&(a=k(function(a,b){b();a()},null,k(Ha,null,a,b)),b?(c.items.shift(),a(d.D)):Ka(c,d,a))}}
|
||||||
|
function Ka(a,b,c){b.B?(c=k(c,null,ba),a.m=setTimeout(c,b.B),b.B=0):(a.items.shift(),c=k(c,null,b.D),(b=(b=z["advanced-task-scheduler"])&&b.addTask)?a.o=b(c):a.m=setTimeout(c,0))}function Ja(a){if(a.o){var b=z["advanced-task-scheduler"];(b=b&&b.cancelTask)&&b(a.o);a.o=0}a.m&&(clearTimeout(a.m),a.m=0)}var G={};function K(a){var b=document.createElement("a");b.href=a;b.href=b.href;a={href:b.href,protocol:b.protocol,host:b.host,hostname:b.hostname,port:b.port,pathname:b.pathname,search:b.search,hash:b.hash,username:b.username,password:b.password};a.origin=a.protocol+"//"+a.host;a.pathname&&"/"==a.pathname[0]||(a.pathname="/"+a.pathname);return a}function L(a,b){a=K(a);return b?a.href:x(a.href,"#")[0]}
|
||||||
|
function La(a,b){var c=x(a,"#");a=c[0];q(b,function(b){a=a.replace(new RegExp("([?&])"+b+"(?:=[^&]*)?(?:(?=[&])|$)","g"),function(a,b){return"?"==b?b:""})});w(a,"?")&&(a=a.slice(0,-1));return a+c[1]+c[2]}function Ma(a){var b=z["advanced-persistent-parameters"]||"",c=x(a,"#");a=c[0];var d=-1!=a.indexOf("?")?"&":"?";return a+(b?d+b:"")+c[1]+c[2]};function Na(a,b,c,d){var e="js"==a;b=M(a,b);var f=c||"^"+b,g=N(a,f),l;c&&(l=O[N(a,c)])&&b!=l&&(n(e?"spfjsbeforeunload":"spfcssbeforeunload",{name:c,url:l}),e=l,delete O[N(a,c)],e&&delete P[N(a,e)],delete E[N(a,c)],Da(g,k(Oa,null,a,c,l)));if((e=P[N(a,b)])&&f!=e){delete O[N(a,e)];delete P[N(a,b)];var h=N(a,e);h&&g&&h in E&&(E[g]=(E[g]||[]).concat(E[h]),delete E[h])}P[N(a,b)]=f;O[N(a,f)]=b;Da(g,d);d=k(Pa,null,a);Q[N(a,b,void 0)]?(e&&f!=e&&(a=Qa(a,b))&&a.setAttribute("name",c||""),d()):(a=Ra(a,b,d,void 0,
|
||||||
|
void 0,l))&&c&&a.setAttribute("name",c)}function Sa(a,b){var c=O[N(a,b)];delete O[N(a,b)];c&&delete P[N(a,c)];delete E[N(a,b)];Oa(a,b,c)}function Oa(a,b,c){c&&(n("js"==a?"spfjsunload":"spfcssunload",{name:b,url:c}),Ta(a,c))}function Pa(a){var b=N(a,""),c;for(c in E)0==c.indexOf(b)&&ca(c.substring(b.length).split("|"),k(Ua,null,a))&&Ga(c)}
|
||||||
|
function Ra(a,b,c,d,e,f){function g(){Q[N(a,b,e)]&&(Q[N(a,b,e)]=2);l&&m&&m.parentNode&&h==document&&m.parentNode.removeChild(m);c&&setTimeout(c,0);return null}var l="js"==a;b=M(a,b);Q[N(a,b,e)]=1;var h=d||document,m=h.createElement(l?"script":"link");if(!b)return g();d=R(b);m.className=N(a,d);"onload"in m?m.onerror=m.onload=g:m.onreadystatechange=function(){/^c|loade/.test(m.readyState)&&g()};d=h.getElementsByTagName("head")[0]||h.body;l?(m.async=!0,m.src=b,d.insertBefore(m,d.firstChild)):(m.rel=
|
||||||
|
"stylesheet",m.href=b,(f=f?Qa(a,f,d):null)?d.insertBefore(m,f):d.appendChild(m));return m}function Ta(a,b){b=M(a,b);var c=Qa(a,b,void 0);c&&c.parentNode&&c.parentNode.removeChild(c);delete Q[N(a,b)]}function Qa(a,b,c){b=R(b);return va("."+N(a,b),c)[0]}
|
||||||
|
function Va(a){var b="js"==a,c=[];q(va(b?"script[src]":'link[rel~="stylesheet"]'),function(d){var e=b?d.src:d.href,e=M(a,e);if(!Q[N(a,e,void 0)]){Q[N(a,e,void 0)]=2;var f=R(e);B(d,N(a,f));if(f=d.getAttribute("name"))P[N(a,e)]=f,O[N(a,f)]=e;c.push(d)}})}
|
||||||
|
function Wa(a,b,c){if(b&&(b=M(a,b),c||!Q[N(a,b,void 0)]))if(c&&"img"==a)Xa(b);else{var d=R(b),e=N(a,d),f=N(a,"prefetch"),d=document.getElementById(f);if(!d)d=xa(f,null,function(a){a.title=f;H(f,!0)});else if(!c&&d.contentWindow.document.getElementById(e))return;a=k(Ya,null,d,a,b,e,f);d.title?a():F(f,a)}}
|
||||||
|
function Ya(a,b,c,d,e){var f="js"==b,g="css"==b;a=a.contentWindow.document;var l=a.getElementById(d);l&&l.parentNode.removeChild(l);f?(l=a.createElement("object"),Za?a.createElement("script").src=c:l.data=c,l.id=d,a.body.appendChild(l)):g?(l=Ra(b,c,null,a,e),l.id=d):(l=a.createElement("img"),Za&&(c=c+"#"+p()),l.src=c,l.id=d,a.body.appendChild(l))}function Xa(a){var b=new Image;Za&&(a=a+"#"+p());b.src=a}
|
||||||
|
function $a(a,b,c){for(var d="js"==a,e=O[N(a,c)],f=b.replace(/\s/g,""),f=f||"",g=0,l=0,h=f.length;l<h;++l)g=31*g+f.charCodeAt(l),g%=4294967296;f="hash-"+g;O[N(a,c)]=f;!ab(a,f)&&(b=bb(a,b))&&(Q[N(a,f,void 0)]=2,b&&!d&&(d=R(f),b.className=N(a,d),b.setAttribute("name",c)),(e=e&&e[0])&&Ta(a,e))}
|
||||||
|
function bb(a,b){b=ha(b);if(!b)return null;var c=document.getElementsByTagName("head")[0]||document.body;"js"==a?(a=document.createElement("script"),a.text=b,c.appendChild(a),c.removeChild(a)):(a=document.createElement("style"),c.appendChild(a),"styleSheet"in a?a.styleSheet.cssText=b:a.appendChild(document.createTextNode(b)));return a}
|
||||||
|
function M(a,b){var c="rsrc-p-"+a;if(b){var d=b.indexOf("//");if(0>d){if(0==b.lastIndexOf("hash-",0))return b;c=v[c]||"";if(ga(c))b=c+b;else for(var e in c)b=b.replace(e,c[e]);"img"!=a&&(b=0>b.indexOf("."+a)?b+"."+a:b);b=L(b)}else 0==d&&(b=L(b))}return b}function N(a,b,c){return a+"-"+b+(c?"-"+c:"")}function R(a){return a?String(a).replace(/[^\w]/g,""):""}function ab(a,b){a=Q[N(a,b,void 0)];return""==b||2==a}function Ua(a,b){b=O[N(a,b)];return void 0!=b&&ab(a,b)}var Q={},P={},O={},Za=-1!=navigator.userAgent.indexOf(" Trident/");
|
||||||
|
"rsrc-s"in v||t("rsrc-s",Q);Q=v["rsrc-s"];"rsrc-n"in v||t("rsrc-n",P);P=v["rsrc-n"];"rsrc-u"in v||t("rsrc-u",O);O=v["rsrc-u"];function cb(a){a=r(a);q(a,function(a){Wa("img",a,!0)})};function db(a,b,c){Na("js",a,b,c)}function eb(a){Sa("js",a)}function fb(a,b){Ra("js",a,b)}function gb(a){a=r(a);q(a,function(a){Wa("js",a)})}function hb(a,b,c){a=r(a);a=ea(a,function(a){return!!a});var d=[];q(a,function(a){void 0==O[N("js",a)]&&d.push(a)});var e=!d.length;if(b){var f=ca(a,k(Ua,null,"js"));e&&f?b():(a=N("js",a.sort().join("|")),Da(a,b))}c&&!e&&c(d)}function ib(a,b){a=r(a);q(a,function(a){if(a){var b=S[a]||a,b=M("js",b),c=O[N("js",a)];c&&b!=c&&jb(a)}});hb(a,b,kb)}
|
||||||
|
function kb(a){q(a,function(a){function b(){db(e,a)}var d=T[a],e=S[a]||a;d?ib(d,b):b()})}function jb(a){a=r(a);q(a,function(a){var b=[],d;for(d in T){var e=T[d],e=r(e);q(e,function(c){c==a&&b.push(d)})}q(b,function(a){jb(a)});eb(a)})}function lb(a,b){$a("js",a,b)}function mb(a){bb("js",a)}var T={};"js-d"in v||t("js-d",T);var T=v["js-d"],S={};"js-u"in v||t("js-u",S);S=v["js-u"];function nb(a,b,c){Na("css",a,b,c)}function ob(a,b){Ra("css",a,b)}function pb(a){a=r(a);q(a,function(a){Wa("css",a)})};function qb(a,b,c){if(b){b=[];var d=0;c&&(a+="\r\n");var e=a.indexOf("[\r\n",d);for(-1<e&&(d=e+3);-1<(e=a.indexOf(",\r\n",d));){var f=ha(a.substring(d,e));d=e+3;f&&b.push(JSON.parse(f))}e=a.indexOf("]\r\n",d);-1<e&&(f=ha(a.substring(d,e)),d=e+3,f&&b.push(JSON.parse(f)));f="";a.length>d&&(f=a.substring(d),c&&w(f,"\r\n")&&(f=f.substring(0,f.length-2)));b=rb(b);return{w:b,g:f}}a=JSON.parse(a);b=rb(r(a));return{w:b,g:""}}
|
||||||
|
function U(a,b,c,d){var e=c&&0==c.type.lastIndexOf("navigate",0),f=c&&c.reverse,g=c&&!!c.position,l=c&&c.j,h=b.name||"",m="process "+L(a),D=!z["experimental-process-async"];var u=0;b.timing||(b.timing={});b.title&&(document.title=b.title);e&&b.url&&L(b.url)!=L(window.location.href)&&ya(b.url+window.location.hash);b.head&&(u=k(function(a,b){a=V(a);sb(a);tb(a);I(m);ub(a,function(){b.spfProcessHead=p();J(m,D)})},null,b.head,b.timing),u=F(m,u));b.attr&&(u=k(function(a,b){for(var c in a){var d=document.getElementById(c);
|
||||||
|
if(d){var e=void 0,f=a[c];for(e in f){var g=f[e];"class"==e?d.className=g:"style"==e?d.style.cssText=g:(d.setAttribute(e,g),"value"==e&&(d[e]=g))}}}b.spfProcessAttr=p()},null,b.attr,b.timing),u=F(m,u));var Z=b.body||{},uc=u,Fa;for(Fa in Z)u=k(function(a,b){if(a=document.getElementById(a)){!e||g||l||(t("nav-scroll-position",null),t("nav-scroll-url",null),window.scroll(0,0),l=!0,c&&(c.j=!0));var d=V(b);tb(d);var u=function(){I(m);ub(d,function(){J(m,D)})};b=z["animation-class"];vb&&ta(a,b)?(a=new wb(a,
|
||||||
|
d.html,b,h,!!f),I(m),H(a.key,!0),F(a.key,k(xb,null,a),0),F(a.key,k(yb,null,a),17),F(a.key,k(zb,null,a),a.T),F(a.key,k(function(){u();J(m,D)},null),0),H(a.key)):(b=z["experimental-html-handler"])?(I(m),b(d.html,a,function(){u();J(m,D)})):(a.innerHTML=d.html,u())}},null,Fa,Z[Fa],b.timing),u=F(m,u);Z=u-uc;b.foot?(u=k(function(a,b,c){c&&(b.spfProcessBody=p());a=V(a);tb(a);I(m);ub(a,function(){b.spfProcessFoot=p();J(m,D)})},null,b.foot,b.timing,Z),u=F(m,u)):Z&&(u=k(function(a){a.spfProcessBody=p()},null,
|
||||||
|
b.timing),u=F(m,u));d&&(u=F(m,k(d,null,a,b)));H(m,D)}function Ab(a,b,c,d){c="preprocess "+L(a);if(b.head){var e=k(function(a){a=V(a);sb(a);Bb(a);Cb(a)},null,b.head);F(c,e)}var f=b.body||{},g;for(g in f)f[g]&&(e=k(function(a,b){a=V(b);Bb(a);Cb(a)},null,g,f[g]),F(c,e));b.foot&&(e=k(function(a){a=V(a);Bb(a);Cb(a)},null,b.foot),F(c,e));d&&F(c,k(d,null,a,b));H(c)}
|
||||||
|
function xb(a){B(a.a,a.s);B(a.a,a.H);B(a.a,a.K);B(a.a,a.I);B(a.a,a.J);a.l=document.createElement("div");a.l.className=a.S;var b=a.a,c=a.l;if(c){for(var d;d=b.firstChild;)c.appendChild(d);b.appendChild(c)}a.f=document.createElement("div");a.f.className=a.R;a.f.innerHTML=a.P;a.reverse?(b=a.l,b.parentNode.insertBefore(a.f,b)):(b=a.l,b.parentNode.insertBefore(a.f,b.nextSibling))}function yb(a){C(a.a,a.I);C(a.a,a.J);B(a.a,a.F);B(a.a,a.G)}
|
||||||
|
function zb(a){a.a.removeChild(a.l);var b=a.f,c,d=b.parentNode;if(d&&11!=d.nodeType)if(b.removeNode)b.removeNode(!1);else{for(;c=b.firstChild;)d.insertBefore(c,b);d.removeChild(b)}C(a.a,a.F);C(a.a,a.G);C(a.a,a.H);C(a.a,a.K);C(a.a,a.s)}function rb(a){q(r(a),function(a){if(a){a.head&&(a.head=V(a.head));if(a.body)for(var b in a.body)a.body[b]=V(a.body[b]);a.foot&&(a.foot=V(a.foot))}});return a}
|
||||||
|
function V(a){var b=new Db;if(!a)return b;if(!ga(a))return a.scripts&&q(a.scripts,function(a){b.scripts.push({url:a.url||"",text:a.text||"",name:a.name||"",async:a.async||!1})}),a.styles&&q(a.styles,function(a){b.styles.push({url:a.url||"",text:a.text||"",name:a.name||""})}),a.links&&q(a.links,function(a){"spf-preconnect"==a.rel&&b.links.push({url:a.url||"",rel:a.rel||""})}),b.html=a.html||"",b;a=a.replace(Eb,function(a,d,e,f){if("script"==d){d=(d=e.match(Fb))?d[1]:"";var c=e.match(Gb),c=c?c[1]:"",
|
||||||
|
l=Hb.test(e);e=Ib.exec(e);return(e=!e||-1!=e[1].indexOf("/javascript")||-1!=e[1].indexOf("/x-javascript")||-1!=e[1].indexOf("/ecmascript"))?(b.scripts.push({url:c,text:f,name:d,async:l}),""):a}return"style"==d&&(d=(d=e.match(Fb))?d[1]:"",e=Ib.exec(e),e=!e||-1!=e[1].indexOf("text/css"))?(b.styles.push({url:"",text:f,name:d}),""):a});a=a.replace(Jb,function(a,d){var c=d.match(Kb),c=c?c[1]:"";return"stylesheet"==c?(c=(c=d.match(Fb))?c[1]:"",d=(d=d.match(Lb))?d[1]:"",b.styles.push({url:d,text:"",name:c}),
|
||||||
|
""):"spf-preconnect"==c?(d=(d=d.match(Lb))?d[1]:"",b.links.push({url:d,rel:c}),""):a});b.html=a;return b}function ub(a,b){if(0>=a.scripts.length)b&&b();else{var c=-1,d=function(){c++;if(c<a.scripts.length){var e=a.scripts[c],f=function(){};e.url?f=e.name?k(db,null,e.url,e.name):k(fb,null,e.url):e.text&&(f=e.name?k(lb,null,e.text,e.name):k(mb,null,e.text));e.url&&!e.async?f(d):(f(),d())}else b&&b()};d()}}function Cb(a){0>=a.scripts.length||(a=fa(a.scripts,function(a){return a.url}),gb(a))}
|
||||||
|
function tb(a){0>=a.styles.length||q(a.styles,function(a){a.url?a.name?nb(a.url,a.name):ob(a.url):a.text&&(a.name?$a("css",a.text,a.name):bb("css",a.text))})}function Bb(a){0>=a.styles.length||(a=fa(a.styles,function(a){return a.url}),pb(a))}function sb(a){0>=a.links.length||(a=fa(a.links,function(a){return"spf-preconnect"==a.rel?a.url:""}),cb(a))}
|
||||||
|
function wb(a,b,c,d,e){var f=parseInt(z["animation-duration"],10);this.a=a;this.P=b;this.T=f;this.reverse=e;b=document.body;b=(b.dataset?b.dataset.spfName:b.getAttribute("data-"+"spfName".replace(/([A-Z])/g,"-$1").toLowerCase()))||"";f=parseInt(v.uid,10)||0;f++;this.key=a["spf-key"]||(a["spf-key"]=""+t("uid",f));this.H=b&&c+"-from-"+b;this.K=d&&c+"-to-"+d;this.l=null;this.S=c+"-old";this.f=null;this.R=c+"-new";this.s=c+(e?"-reverse":"-forward");this.I=c+"-start";this.J=this.s+"-start";this.F=c+"-end";
|
||||||
|
this.G=this.s+"-end"}function Db(){this.html="";this.scripts=[];this.styles=[];this.links=[]}
|
||||||
|
var vb=function(){var a=document.createElement("div");return"transition"in a.style?!0:da(["webkit","Moz","Ms","O","Khtml"],function(b){return b+"Transition"in a.style})}(),Jb=/\x3clink([\s\S]*?)\x3e/ig,Eb=/\x3c(script|style)([\s\S]*?)\x3e([\s\S]*?)\x3c\/\1\x3e/ig,Hb=/(?:\s|^)async(?:\s|=|$)/i,Lb=/(?:\s|^)href\s*=\s*["']?([^\s"']+)/i,Fb=/(?:\s|^)name\s*=\s*["']?([^\s"']+)/i,Kb=/(?:\s|^)rel\s*=\s*["']?([^\s"']+)/i,Gb=/(?:\s|^)src\s*=\s*["']?([^\s"']+)/i,Ib=/(?:\s|^)type\s*=\s*["']([^"']+)["']/i;function Mb(a,b,c,d){var e=d||{},f=!1,g=0,l,h=new XMLHttpRequest;h.open(a,b,!0);h.timing={};var m=h.abort;h.abort=function(){clearTimeout(l);h.onreadystatechange=null;m.call(h)};h.onreadystatechange=function(){var a=h.timing;if(2==h.readyState){a.responseStart=a.responseStart||p();if("json"==h.responseType)f=!1;else if(-1<(h.getResponseHeader("Transfer-Encoding")||"").toLowerCase().indexOf("chunked"))f=!0;else{a=h.getResponseHeader("X-Firefox-Spdy");var c=window.chrome&&chrome.loadTimes&&chrome.loadTimes(),
|
||||||
|
c=c&&c.wasFetchedViaSpdy;f=!(!a&&!c)}e.M&&e.M(h)}else 3==h.readyState?f&&e.u&&(a=h.responseText.substring(g),g=h.responseText.length,e.u(h,a)):4==h.readyState&&(a.responseEnd=a.responseEnd||p(),window.performance&&window.performance.getEntriesByName&&(h.resourceTiming=window.performance.getEntriesByName(b).pop()),f&&e.u&&h.responseText.length>g&&(a=h.responseText.substring(g),g=h.responseText.length,e.u(h,a)),clearTimeout(l),e.L&&e.L(h))};"responseType"in h&&"json"==e.responseType&&(h.responseType=
|
||||||
|
"json");e.withCredentials&&(h.withCredentials=e.withCredentials);d="FormData"in window&&c instanceof FormData;a="POST"==a&&!d;if(e.headers)for(var D in e.headers)h.setRequestHeader(D,e.headers[D]),"content-type"==D.toLowerCase()&&(a=!1);a&&h.setRequestHeader("Content-Type","application/x-www-form-urlencoded");0<e.O&&(l=setTimeout(function(){h.abort();e.N&&e.N(h)},e.O));h.timing.fetchStart=p();h.send(c);return h};function Nb(a,b){b=b||{};b.method=((b.method||"GET")+"").toUpperCase();b.type=b.type||"request";var c=a,d=z["url-identifier"]||"";if(d){var d=d.replace("__type__",b.type||""),e=x(c,"#");var f=x(e[0],"?");var c=f[0],g=f[1];f=f[2];var l=e[1],e=e[2];if(0==d.lastIndexOf("?",0))g&&(d=d.replace("?","&")),f+=d;else{if(0==d.lastIndexOf(".",0))if(w(c,"/"))d="index"+d;else{var h=c.lastIndexOf(".");-1<h&&(c=c.substring(0,h))}else w(c,"/")&&0==d.lastIndexOf("/",0)&&(d=d.substring(1));c+=d}c=c+g+f+l+e}d=L(c);
|
||||||
|
c={};c.spfUrl=d;c.startTime=p();c.fetchStart=c.startTime;g=Ob(a,b.current,null,b.type,!1);g=Pb(g,b.current);c.spfPrefetched=!!g&&"prefetch"==g.type;c.spfCached=!!g;if(g){a=k(Qb,null,a,b,c,g.key,g.response);b=window._spf_state=window._spf_state||{};var m=parseInt(b.uid,10)||0;m++;b=b.uid=m;y[b]=a;ma?window.postMessage("spf:"+b,"*"):window.setTimeout(k(ja,null,b),0);return null}g={};if(l=z["request-headers"])for(m in l)f=l[m],g[m]=null==f?"":f;if(b.headers)for(m in b.headers)f=b.headers[m],g[m]=null==
|
||||||
|
f?"":f;null!=b.c&&(g["X-SPF-Referer"]=b.c);null!=b.current&&(g["X-SPF-Previous"]=b.current);if(m=z["advanced-header-identifier"])g["X-SPF-Request"]=m.replace("__type__",b.type),g.Accept="application/json";m=new Rb;f=k(Sb,null,a,b,c,m);a={headers:g,O:z["request-timeout"],M:k(Tb,null,a,m),u:k(Ub,null,a,b,c,m),L:f,N:f};b.withCredentials&&(a.withCredentials=b.withCredentials);z["advanced-response-type-json"]&&(a.responseType="json");return"POST"==b.method?Mb("POST",d,b.C,a):Mb("GET",d,null,a)}
|
||||||
|
function Qb(a,b,c,d,e){var f=!1;c.responseStart=c.responseEnd=p();b.type&&0==b.type.lastIndexOf("navigate",0)&&(c.navigationStart=c.startTime,z["cache-unified"]||(oa(d),f=!0));b.i&&"multipart"==e.type&&q(e.parts,function(d){d.timing||(d.timing={});d.timing.spfCached=!!c.spfCached;d.timing.spfPrefetched=!!c.spfPrefetched;b.i(a,d)});Vb(a,b,c,e,f)}function Tb(a,b,c){a=c.getResponseHeader("X-SPF-Response-Type")||"";b.f=-1!=a.toLowerCase().indexOf("multipart")}
|
||||||
|
function Ub(a,b,c,d,e,f,g){if(d.f){f=d.g+f;try{var l=qb(f,!0,g)}catch(h){e.abort();b.h&&b.h(a,h,e);return}b.i&&q(l.w,function(d){d.timing||(d.timing={});d.timing.spfCached=!!c.spfCached;d.timing.spfPrefetched=!!c.spfPrefetched;b.i(a,d)});d.a=d.a.concat(l.w);d.g=l.g}}
|
||||||
|
function Sb(a,b,c,d,e){if(e.timing)for(var f in e.timing)c[f]=e.timing[f];if(e.resourceTiming)if("load"==b.type)for(var g in e.resourceTiming)c[g]=e.resourceTiming[g];else if(window.performance&&window.performance.timing&&(f=window.performance.timing.navigationStart,f+e.resourceTiming.startTime>=c.startTime))for(var l in e.resourceTiming)g=e.resourceTiming[l],void 0!==g&&(w(l,"Start")||w(l,"End")||"startTime"==l)&&(c[l]=f+Math.round(g));"load"!=b.type&&(c.navigationStart=c.startTime);d.a.length&&
|
||||||
|
(d.g=ha(d.g),d.g&&Ub(a,b,c,d,e,"",!0));if("json"==e.responseType){if(!e.response){b.h&&b.h(a,Error("JSON response parsing failed"),e);return}var h=rb(r(e.response))}else try{h=qb(e.responseText).w}catch(D){b.h&&b.h(a,D,e);return}if(b.i&&1<h.length)for(d=d.a.length;d<h.length;d++)e=h[d],e.timing||(e.timing={}),e.timing.spfCached=!!c.spfCached,e.timing.spfPrefetched=!!c.spfPrefetched,b.i(a,e);if(1<h.length){var m;q(h,function(a){a.cacheType&&(m=a.cacheType)});h={parts:h,type:"multipart"};m&&(h.cacheType=
|
||||||
|
m)}else h=1==h.length?h[0]:{};Vb(a,b,c,h,!0)}function Vb(a,b,c,d,e){if(e&&"POST"!=b.method&&(e=Ob(a,b.current,d.cacheType,b.type,!0))){d.cacheKey=e;var f={response:d,type:b.type||""},g=parseInt(z["cache-lifetime"],10),l=parseInt(z["cache-max"],10);0>=g||0>=l||(l=A(),f={data:f,life:g,time:p(),count:0},ra(f),l[e]=f,setTimeout(pa,1E3))}d.timing=c;b.v&&b.v(a,d)}
|
||||||
|
function Ob(a,b,c,d,e){a=L(a);var f;z["cache-unified"]?f=a:"navigate-back"==d||"navigate-forward"==d?f="history "+a:"navigate"==d?f=(e?"history ":"prefetch ")+a:"prefetch"==d&&(f=e?"prefetch "+a:"");b&&"url"==c?f+=" previous "+b:b&&"path"==c&&(f+=" previous "+K(b).pathname);return f||""}
|
||||||
|
function Pb(a,b){var c=[];b&&(c.push(a+" previous "+b),c.push(a+" previous "+K(b).pathname));c.push(a);var d=null;da(c,function(a){a:{var b=A();if(a in b){b=b[a];if(qa(b)){ra(b);b=b.data;break a}oa(a)}b=void 0}b&&(d={key:a,response:b.response,type:b.type});return!!b});return d}function Rb(){this.f=!1;this.g="";this.a=[]};function Wb(a){return wa(a,function(a){return ta(a,z["link-class"])})}function Xb(a){return wa(a,function(a){return ta(a,z["nolink-class"])})}function Yb(a,b){return wa(a,function(a){return a.href&&"img"!=a.tagName.toLowerCase()},b)}function Zb(a){if(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey||0<a.button)return null;var b=Wb(a.target);return!b||z["nolink-class"]&&Xb(a.target)?null:(a=Yb(a.target,b))?a.href:null}function $b(a){return K(a).origin!=K(window.location.href).origin?!1:!0}
|
||||||
|
function ac(){if(!v["nav-init"])return!1;var a=parseInt(v["nav-counter"],10)||0;a++;var b=parseInt(z["navigate-limit"],10),b=isNaN(b)?Infinity:b;if(a>b)return!1;a=parseInt(v["nav-init-time"],10);a--;a=p()-a;b=parseInt(z["navigate-lifetime"],10);b=isNaN(b)?Infinity:b;return a>b?!1:!0}function bc(a,b){b=b||window.location.href;return-1!=a.indexOf("#")&&(a=L(a),b=L(b),a==b)?!1:!0}
|
||||||
|
function cc(a){if(!a.defaultPrevented){var b=Zb(a);b&&(b=Ma(b),$b(b)&&ac()&&n("spfclick",{url:b,target:a.target})&&(dc(b,{},new ec),a.preventDefault()))}}function fc(a){var b=Zb(a);b&&setTimeout(function(){gc(b)},0)}function hc(){var a=v["nav-scroll-position"]||null;var b=v["nav-scroll-url"]||"";a=a&&b==window.location.href?a:null;ic();a&&window.scroll.apply(null,a)}
|
||||||
|
function jc(a,b){b=new ec({current:b&&b["spf-current"],history:!0,position:b&&b["spf-position"],c:b&&b["spf-referer"],reverse:!(!b||!b["spf-back"])});var c=z["reload-identifier"];c&&(a=La(a,[c]));$b(a)?ac()?n("spfhistory",{url:a,referer:b.c,previous:b.current})&&(b.position&&(t("nav-scroll-position",[window.pageXOffset,window.pageYOffset]),t("nav-scroll-url",window.location.href)),dc(a,{},b)):W(a,"1"):W(a,"9")}
|
||||||
|
function dc(a,b,c){kc();if(bc(a,c.current))if(lc(a,c.c,c.current,b)){t("nav-counter",(parseInt(v["nav-counter"],10)||0)+1);mc(a);var d=L(a),e="preprocess "+L(d);for(f in G)e!=f&&0==f.lastIndexOf("preprocess",0)&&Ia(f);d=nc()[d];t("nav-request",d);t("nav-promote",null);t("nav-promote-time",null);if(d&&4!=d.readyState)d="preprocess "+L(a),e="promote "+L(a),t("nav-promote",a),t("nav-promote-time",p()),Ia(d),H(e,!0),c.history||oc(a,c.c,k(X,null,b));else{d=k(X,null,b);e=k(pc,null,b,c);var f=k(qc,null,
|
||||||
|
b,c);z["advanced-navigate-persist-timing"]||rc();c.type="navigate";c.history&&(c.type+=c.reverse?"-back":"-forward");b=Nb(a,{method:b.method,headers:b.headers,i:e,h:d,v:f,C:b.postData,type:c.type,current:c.current,c:c.c});t("nav-request",b);c.history||oc(a,c.c,d)}}else W(a,"2");else c.history||oc(a,c.c,k(X,null,b)),sc(a,c)}
|
||||||
|
function sc(a,b){if(b.position)ic(),window.scroll.apply(null,b.position),b.j=!0;else if(a=x(a,"#"),a[2]){if(a=document.getElementById(a[2]))ic(),a.scrollIntoView(),b.j=!0}else b.j||(ic(),window.scroll(0,0),b.j=!0)}function oc(a,b,c){try{ya(null,{"spf-position":[window.pageXOffset,window.pageYOffset]}),L(a,!0)!=window.location.href&&za(!1,a,{"spf-referer":b},void 0)}catch(d){kc(),c(a,d)}}function X(a,b,c,d){t("nav-request",null);tc(b,c,a,void 0,d)&&W(b,"10",c)}
|
||||||
|
function pc(a,b,c,d){if(vc(c,d,a))if(d.reload)W(c,"5");else if(d.redirect)wc(a,d.redirect);else try{U(c,d,b,function(){xc(c,d,a)})}catch(e){X(a,c,e)}else W(c,"3")}
|
||||||
|
function qc(a,b,c,d){t("nav-request",null);if(v["nav-promote"]==b.b){var e=d.timing||{};e.navigationStart=v["nav-promote-time"];e.spfPrefetched=!0}var f="multipart"==d.type;if(!f){if(!yc(c,d,a)){W(c,"4");return}if(d.reload){W(c,"5");return}if(d.redirect){wc(a,d.redirect);return}}try{U(c,f?{}:d,b,function(){var e=d.name||"";f&&q(d.parts,function(a){e=a.name||e});ua(e);sc(c,b);zc(c,d,a)})}catch(g){X(a,c,g)}}function wc(a,b){try{b+=window.location.hash,ya(b,null,!0)}catch(c){kc(),X(a,b,c)}}
|
||||||
|
function kc(){var a=v["nav-request"];a&&(a.abort(),t("nav-request",null))}function Y(a,b){if(a){var c=Array.prototype.slice.call(arguments);c[0]=a;c=aa.apply(null,c)}return!1!==c}
|
||||||
|
function W(a,b,c){c=c?c.message:"";kc();mc();var d=b;c&&(d+=" Message: "+c);n("spfreload",{url:a,reason:d});var e=window.location.href;z["experimental-remove-history"]&&e==a&&(t("history-ignore-pop",!0),window.history.back());setTimeout(function(){var c=z["reload-identifier"];if(c){var d={};d[c]=encodeURIComponent(b);var c=a,l=x(c,"#"),c=l[0],h=-1!=c.indexOf("?")?"&":"?",m;for(m in d)c+=h+m,d[m]&&(c+="="+d[m]),h="&";a=c+l[1]+l[2]}window.location.href=a;bc(a,e)||window.location.reload()},0)}
|
||||||
|
function Ac(a,b,c){c.b=c.b||a;if(lc(a,void 0,void 0,b,!0)){var d=k(Bc,null,!1,b,c),e=k(Cc,null,!1,b,c),f=k(Dc,null,!1,b,c);c.type="load";Nb(a,{method:b.method,headers:b.headers,i:e,h:d,v:f,C:b.postData,type:c.type,withCredentials:b.withCredentials})}}function gc(a,b){a=Ma(a);Ec(a,b||{},new ec)}
|
||||||
|
function Ec(a,b,c){c.b=c.b||a;if(lc(a,void 0,void 0,b,!0)){var d=k(Bc,null,!0,b,c),e=k(Cc,null,!0,b,c),f=k(Dc,null,!0,b,c);c.type="prefetch";b=Nb(a,{method:b.method,headers:b.headers,i:e,h:d,v:f,C:b.postData,type:c.type,current:c.current});a=L(a);nc()[a]=b}}function Bc(a,b,c,d,e){a&&Fc(d);a&&v["nav-promote"]==c.b?X(b,d,e):tc(d,e,b,!0)}
|
||||||
|
function Cc(a,b,c,d,e){if(vc(d,e,b,!0)){if(e.reload){if(!a)return;if(v["nav-promote"]==c.b){W(d,"5");return}}if(e.redirect)Gc(a,b,c,e.redirect);else{if(a){var f=k(pc,null,b,c,d,e),g="promote "+L(c.b);F(g,f);if(v["nav-promote"]==c.b){H(g,!0);return}}(a?Ab:U)(d,e,c,function(){xc(d,e,b,!0)})}}}
|
||||||
|
function Dc(a,b,c,d,e){var f="multipart"==e.type;if(!f){if(!yc(d,e,b,!0)){W(d,"4");return}if(e.reload){if(!a)return;if(v["nav-promote"]==c.b){W(d,"5");return}}if(e.redirect){Gc(a,b,c,e.redirect);return}}var g="promote "+L(c.b);if(a){Fc(d);if(v["nav-promote"]==c.b){F(g,k(qc,null,b,c,d,e));H(g,!0);return}Ia(g)}g=a?Ab:U;try{g(d,f?{}:e,c,function(){zc(d,e,b,!0)})}catch(l){Bc(a,b,c,d,l)}}
|
||||||
|
function Gc(a,b,c,d){a=a?Ec:Ac;var e={};q("onError onRequest onPartProcess onPartDone onProcess onDone".split(" "),function(a){e[a]=b[a]});a(d,e,c)}function tc(a,b,c,d,e){a={url:a,err:b,xhr:e};(c=Y((c||{}).onError,a))&&!d&&(c=n("spferror",a));return c}function lc(a,b,c,d,e){a={url:a,referer:b,previous:c};(d=Y((d||{}).onRequest,a))&&!e&&(d=n("spfrequest",a));return d}function vc(a,b,c,d){a={url:a,part:b};(c=Y((c||{}).onPartProcess,a))&&!d&&(c=n("spfpartprocess",a));return c}
|
||||||
|
function xc(a,b,c,d){a={url:a,part:b};Y((c||{}).onPartDone,a)&&!d&&n("spfpartdone",a)}function yc(a,b,c,d){a={url:a,response:b};(c=Y((c||{}).onProcess,a))&&!d&&(c=n("spfprocess",a));return c}function zc(a,b,c,d){a={url:a,response:b};Y((c||{}).onDone,a)&&!d&&n("spfdone",a)}function Fc(a){a=L(a);var b=nc(),c=b[a];c&&c.abort();delete b[a]}function mc(a){var b=nc();a=a&&L(a);for(var c in b)a!=c&&Fc(c)}
|
||||||
|
var rc,Hc=window.performance&&(window.performance.clearResourceTimings||window.performance.webkitClearResourceTimings||window.performance.mozClearResourceTimings||window.performance.msClearResourceTimings||window.performance.oClearResourceTimings);rc=Hc?k(Hc,window.performance):ba;function nc(){return"nav-prefetches"in v?v["nav-prefetches"]:t("nav-prefetches",{})}function ic(){t("nav-scroll-position",null);t("nav-scroll-url",null)}
|
||||||
|
function ec(a){a=a||{};this.current=a.history&&a.current?a.current:window.location.href;this.history=!!a.history;this.b=a.b||"";this.position=a.position||null;this.c=void 0!=a.c?a.c:window.location.href;this.reverse=!!a.reverse;this.j=!!a.j;this.type=a.type||""};function Ic(){Va("js");Va("css");"complete"==document.readyState&&(document.removeEventListener?document.removeEventListener("DOMContentLoaded",Ic,!1):document.detachEvent&&document.detachEvent("onreadystatechange",Ic))}document.addEventListener?document.addEventListener("DOMContentLoaded",Ic,!1):document.attachEvent&&document.attachEvent("onreadystatechange",Ic);Ic();
|
||||||
|
var Jc={init:function(a){var b=!("function"!=typeof window.history.pushState&&!Ba().contentWindow.history.pushState);a=a||{};for(var c in na)z[c]=c in a?a[c]:na[c];for(c in a)c in na||(z[c]=a[c]);if(b){c=tc;if(!v["history-init"]&&window.addEventListener){a=window.location.href;window.addEventListener("popstate",Ca,!1);t("history-init",!0);t("history-callback",jc);t("history-error-callback",c);t("history-listener",Ca);t("history-url",a);t("history-timestamp",p());var d={"spf-referer":document.referrer};
|
||||||
|
try{ya(a,d)}catch(e){c&&c(a,e)}}!v["nav-init"]&&document.addEventListener&&(t("nav-init",!0),t("nav-init-time",p()),t("nav-counter",0),document.addEventListener("click",cc,!1),t("nav-listener",cc),!z["experimental-prefetch-mousedown"]||"ontouchstart"in window||0<window.navigator.maxTouchPoints||0<window.navigator.msMaxTouchPoints||(document.addEventListener("mousedown",fc,!1),t("nav-mousedown-listener",fc)),document.addEventListener("scroll",hc,!1),t("nav-scroll-listener",hc))}return b},dispose:function(){"undefined"!=
|
||||||
|
typeof History&&History.prototype.pushState&&(kc(),v["nav-init"]&&(document.removeEventListener&&(document.removeEventListener("click",v["nav-listener"],!1),document.removeEventListener("mousedown",v["nav-mousedown-listener"],!1),document.removeEventListener("scroll",v["nav-scroll-listener"],!1)),t("nav-listener",null),t("nav-mousedown-listener",null),t("nav-scroll-listener",null),t("nav-scroll-position",null),t("nav-scroll-url",null),t("nav-init",!1),t("nav-init-time",null),t("nav-counter",null)),
|
||||||
|
v["history-init"]&&(window.removeEventListener&&window.removeEventListener("popstate",v["history-listener"],!1),t("history-init",!1),t("history-callback",null),t("history-error-callback",null),t("history-listener",null),t("history-url",null),t("history-timestamp",0)));for(var a in z)delete z[a]},navigate:function(a,b){a&&(a=Ma(a),$b(a)?ac()?dc(a,b||{},new ec):W(a,"1"):W(a,"9"))},load:function(a,b){a=Ma(a);Ac(a,b||{},new ec)},prefetch:gc,process:function(a,b){function c(a,c,d,e){a==c&&b&&b(e)}var d=
|
||||||
|
window.location.href;if("multipart"==a.type){a=a.parts;var e=a.length-1;q(a,function(a,b){U(d,a,null,k(c,null,b,e))})}else U(d,a,null,k(c,null,0,0))}},Kc={cache:{remove:oa,clear:function(){A({})}},script:{load:db,get:fb,ready:hb,done:function(a){O[N("js",a)]="";Pa("js")},require:ib,declare:function(a,b){if(a){for(var c in a)T[c]=a[c];if(b)for(c in b)S[c]=b[c]}},path:function(a){t("rsrc-p-js",a)},unload:eb,ignore:function(a,b){a=r(a);a=N("js",a.sort().join("|"));Ea(a,b)},unrequire:jb,prefetch:gb},
|
||||||
|
style:{load:nb,get:ob,unload:function(a){Sa("css",a)},path:function(a){t("rsrc-p-css",a)},prefetch:pb}},global=this;global.spf=global.spf||{};var Lc=global.spf,Mc;for(Mc in Jc)Lc[Mc]=Jc[Mc];for(var Nc in Kc)for(var Oc in Kc[Nc])Lc[Nc]=Lc[Nc]||{},Lc[Nc][Oc]=Kc[Nc][Oc];n("spfready");}).call(this);
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,564 @@
|
|||||||
|
(function(){var l;function aa(a,b){function c(){}
|
||||||
|
c.prototype=b.prototype;a.A=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 ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ca="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||||
|
function da(a,b){if(b){for(var c=ca,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&&ba(c,d,{configurable:!0,writable:!0,value:f})}}
|
||||||
|
da("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,g=Math.max(0,Math.min(c|0,b.length)),h=0;h<f&&g<e;)if(b[g++]!=a[h++])return!1;return h>=f}});
|
||||||
|
da("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 ea="function"==typeof Object.create?Object.create:function(a){function b(){}
|
||||||
|
b.prototype=a;return new b};
|
||||||
|
da("Reflect.construct",function(a){return a?a:function(a,c,d){void 0===d&&(d=a);d=ea(d.prototype||Object.prototype);return Reflect.apply(a,d,c)||d}});
|
||||||
|
var n=this;function p(a){return void 0!==a}
|
||||||
|
function q(a){return"string"==typeof a}
|
||||||
|
function r(a,b,c){a=a.split(".");c=c||n;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&p(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||n,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d}
|
||||||
|
function u(){}
|
||||||
|
function ha(a){a.na=void 0;a.getInstance=function(){return a.na?a.na:a.na=new a}}
|
||||||
|
function ia(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 ja(a){return"array"==ia(a)}
|
||||||
|
function ka(a){var b=ia(a);return"array"==b||"object"==b&&"number"==typeof a.length}
|
||||||
|
function la(a){return"function"==ia(a)}
|
||||||
|
function ma(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
|
||||||
|
var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)}
|
||||||
|
function qa(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 v(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v=pa:v=qa;return v.apply(null,arguments)}
|
||||||
|
function w(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)}}
|
||||||
|
var x=Date.now||function(){return+new Date};
|
||||||
|
function z(a,b){function c(){}
|
||||||
|
c.prototype=b.prototype;a.A=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ob=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)}}
|
||||||
|
;var ra=document,A=window;function B(a){if(Error.captureStackTrace)Error.captureStackTrace(this,B);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}
|
||||||
|
z(B,Error);B.prototype.name="CustomError";var sa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
|
||||||
|
function ua(a,b){return a<b?-1:a>b?1:0}
|
||||||
|
function va(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b}
|
||||||
|
;var wa=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},C=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)},xa=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,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));
|
||||||
|
return e};
|
||||||
|
function ya(a,b){a:{var c=a.length;for(var d=q(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:q(a)?a.charAt(c):a[c]}
|
||||||
|
function za(a,b){var c=wa(a,b);0<=c&&Array.prototype.splice.call(a,c,1)}
|
||||||
|
function Aa(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 Ba(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ka(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}
|
||||||
|
;function Ca(a,b){this.b=p(a)?a:0;this.f=p(b)?b:0}
|
||||||
|
Ca.prototype.equals=function(a){return a instanceof Ca&&(this==a?!0:this&&a?this.b==a.b&&this.f==a.f:!1)};
|
||||||
|
Ca.prototype.ceil=function(){this.b=Math.ceil(this.b);this.f=Math.ceil(this.f);return this};
|
||||||
|
Ca.prototype.floor=function(){this.b=Math.floor(this.b);this.f=Math.floor(this.f);return this};
|
||||||
|
Ca.prototype.round=function(){this.b=Math.round(this.b);this.f=Math.round(this.f);return this};function Da(a,b){this.width=a;this.height=b}
|
||||||
|
l=Da.prototype;l.aspectRatio=function(){return this.width/this.height};
|
||||||
|
l.isEmpty=function(){return!(this.width*this.height)};
|
||||||
|
l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
||||||
|
l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
||||||
|
l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Ea(a,b){for(var c=ka(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],p(a));c++);return a}
|
||||||
|
function Fa(a){var b=Ga,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}
|
||||||
|
function Ha(){var a=E,b;for(b in a)return!1;return!0}
|
||||||
|
function Ia(a,b){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=!0}
|
||||||
|
function Ja(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
||||||
|
var Ka="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function La(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<Ka.length;f++)c=Ka[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
|
||||||
|
;function Ma(a){Ma[" "](a);return a}
|
||||||
|
Ma[" "]=u;function Na(a,b){var c=Oa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}
|
||||||
|
;function Pa(){var a=Qa;try{var b;if(b=!!a&&null!=a.location.href)a:{try{Ma(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}}
|
||||||
|
;var Ra=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
|
||||||
|
n.addEventListener("test",null,b)}catch(c){}return a}();var Sa=!1,Ta="";function Ua(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&&(Sa=!0,a.description)){Ta=Ua(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){Sa=!0;Ta="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],Sa=!(!a||!a.enabledPlugin))){Ta=Ua(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");Sa=!0;Ta=Ua(b.GetVariable("$version"));
|
||||||
|
return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");Sa=!0;Ta="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),Sa=!0,Ta=Ua(b.GetVariable("$version"))}catch(c){}})();
|
||||||
|
var Va=Sa,Wa=Ta;var F;a:{var Xa=n.navigator;if(Xa){var Ya=Xa.userAgent;if(Ya){F=Ya;break a}}F=""}function H(a){return-1!=F.indexOf(a)}
|
||||||
|
;function Za(){return(H("Chrome")||H("CriOS"))&&!H("Edge")}
|
||||||
|
;function $a(){return H("iPhone")&&!H("iPod")&&!H("iPad")}
|
||||||
|
;var ab=H("Opera"),bb=H("Trident")||H("MSIE"),cb=H("Edge"),db=H("Gecko")&&!(-1!=F.toLowerCase().indexOf("webkit")&&!H("Edge"))&&!(H("Trident")||H("MSIE"))&&!H("Edge"),eb=-1!=F.toLowerCase().indexOf("webkit")&&!H("Edge"),fb=H("Macintosh"),gb=H("Windows"),hb=H("Android"),ib=$a(),jb=H("iPad"),kb=H("iPod");function lb(){var a=n.document;return a?a.documentMode:void 0}
|
||||||
|
var mb;a:{var nb="",ob=function(){var a=F;if(db)return/rv\:([^\);]+)(\)|;)/.exec(a);if(cb)return/Edge\/([\d\.]+)/.exec(a);if(bb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(eb)return/WebKit\/(\S+)/.exec(a);if(ab)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
|
||||||
|
ob&&(nb=ob?ob[1]:"");if(bb){var pb=lb();if(null!=pb&&pb>parseFloat(nb)){mb=String(pb);break a}}mb=nb}var qb=mb,Oa={};
|
||||||
|
function rb(a){return Na(a,function(){for(var b=0,c=sa(String(qb)).split("."),d=sa(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=ua(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||ua(0==g[2].length,0==h[2].length)||ua(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})}
|
||||||
|
var sb;var tb=n.document;sb=tb&&bb?lb()||("CSS1Compat"==tb.compatMode?parseInt(qb,10):5):void 0;(function(){if(gb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(F))?a[1]:"0"}return fb?(a=/10[_.][0-9_.]+/,(a=a.exec(F))?a[0].replace(/_/g,"."):"10"):hb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(F))?a[1]:""):ib||jb||kb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(F))?a[1].replace(/_/g,"."):""):""})();var ub=H("Firefox"),vb=$a()||H("iPod"),wb=H("iPad"),xb=H("Android")&&!(Za()||H("Firefox")||H("Opera")||H("Silk")),yb=Za(),zb=H("Safari")&&!(Za()||H("Coast")||H("Opera")||H("Edge")||H("Silk")||H("Android"))&&!($a()||H("iPad")||H("iPod"));function Ab(a){return(a=a.exec(F))?a[1]:""}
|
||||||
|
(function(){if(ub)return Ab(/Firefox\/([0-9.]+)/);if(bb||cb||ab)return qb;if(yb)return $a()||H("iPad")||H("iPod")?Ab(/CriOS\/([0-9.]+)/):Ab(/Chrome\/([0-9.]+)/);if(zb&&!($a()||H("iPad")||H("iPod")))return Ab(/Version\/([0-9.]+)/);if(vb||wb){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(F);if(a)return a[1]+"."+a[2]}else if(xb)return(a=Ab(/Android\s+([0-9.]+)/))?a:Ab(/Version\/([0-9.]+)/);return""})();!db&&!bb||bb&&9<=Number(sb)||db&&rb("1.9.1");bb&&rb("9");function Bb(){this.b="";this.f=Cb}
|
||||||
|
Bb.prototype.ma=!0;Bb.prototype.la=function(){return this.b};
|
||||||
|
var Cb={};function Db(){this.b="";this.f=Eb}
|
||||||
|
Db.prototype.ma=!0;Db.prototype.la=function(){return this.b};
|
||||||
|
function Fb(a){return a instanceof Db&&a.constructor===Db&&a.f===Eb?a.b:"type_error:SafeUrl"}
|
||||||
|
var Gb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Hb(a){if(a instanceof Db)return a;a=a.ma?a.la():String(a);Gb.test(a)||(a="about:invalid#zClosurez");return Ib(a)}
|
||||||
|
var Eb={};function Ib(a){var b=new Db;b.b=a;return b}
|
||||||
|
Ib("about:blank");function Jb(){this.b=""}
|
||||||
|
Jb.prototype.ma=!0;Jb.prototype.la=function(){return this.b};
|
||||||
|
function Kb(a){var b=new Jb;b.b=a;return b}
|
||||||
|
Kb("<!DOCTYPE html>");Kb("");Kb("<br>");function Lb(a,b){var c=b instanceof Db?b:Hb(b);a.href=Fb(c)}
|
||||||
|
;function Mb(a){var b=document;return q(a)?b.getElementById(a):a}
|
||||||
|
function Nb(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null}
|
||||||
|
function Ob(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a}
|
||||||
|
function Pb(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}
|
||||||
|
;function Qb(a){Rb();var b=new Bb;b.b=a;return b}
|
||||||
|
var Rb=u;function Sb(a){"number"==typeof a&&(a=Math.round(a)+"px");return a}
|
||||||
|
;var Tb=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function I(a){return a.match(Tb)}
|
||||||
|
function Ub(a){return a?decodeURI(a):a}
|
||||||
|
function Vb(a,b,c){if(ja(b))for(var d=0;d<b.length;d++)Vb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}
|
||||||
|
function Wb(a){var b=[],c;for(c in a)Vb(c,a[c],b);return b.join("&")}
|
||||||
|
function Xb(a,b){var c=Wb(b);if(c){var d=a.indexOf("#");0>d&&(d=a.length);var e=a.indexOf("?");if(0>e||e>d){e=d;var f=""}else f=a.substring(e+1,d);d=[a.substr(0,e),f,a.substr(d)];e=d[1];d[1]=c?e?e+"&"+c:c:e;c=d[0]+(d[1]?"?"+d[1]:"")+d[2]}else c=a;return c}
|
||||||
|
;var Yb=!!window.google_async_iframe_id,Qa=Yb&&window.parent||window;function Zb(a,b){var c=$b();this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=this.label+"_"+this.type+"_"+Math.random()}
|
||||||
|
;function ac(a,b){this.events=[];this.f=b||n;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.f||n).top.location.hash;if(d){var e=d.match(/\bdeid=([\d,]+)/);var f=e&&e[1]||"";break a}}catch(g){}f=""}f=f.indexOf&&0<=f.indexOf("1337");this.b=(this.b=null!=c?c:Math.random()<a)||f;c=this.f.performance;this.g=!!(c&&c.mark&&c.clearMarks&&f)}
|
||||||
|
ac.prototype.i=function(a){if(a&&this.g){var b=this.f.performance;b.clearMarks("goog_"+a.uniqueId+"_start");b.clearMarks("goog_"+a.uniqueId+"_end")}};
|
||||||
|
ac.prototype.start=function(a,b){if(!this.b)return null;var c=new Zb(a,b);this.g&&this.f.performance.mark("goog_"+c.uniqueId+"_start");return c};
|
||||||
|
ac.prototype.end=function(a){this.b&&(a.duration=$b()-a.value,this.g&&this.f.performance.mark("goog_"+a.uniqueId+"_end"),this.b&&this.events.push(a))};
|
||||||
|
function $b(){var a=n.performance;return a&&a.now?a.now():x()}
|
||||||
|
;if(Yb&&!Pa()){var bc="."+ra.domain;try{for(;2<bc.split(".").length&&!Pa();)ra.domain=bc=bc.substr(bc.indexOf(".")+1),Qa=window.parent}catch(a){}Pa()||(Qa=window)}var cc=Qa,J=new ac(1,cc);function dc(){cc.google_measure_js_timing||(J.events!=J.f.google_js_reporting_queue&&(J.events.length=0,J.g&&C(J.events,J.i,J)),J.b=!1)}
|
||||||
|
if("complete"==cc.document.readyState)dc();else if(J.b){var ec=function(){dc()};
|
||||||
|
cc.addEventListener?cc.addEventListener("load",ec,Ra?void 0:!1):cc.attachEvent&&cc.attachEvent("onload",ec)};var fc=(new Date).getTime();function gc(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 hc=window,ic=document,jc=hc.location;function kc(){}
|
||||||
|
var lc=/\[native code\]/;function K(a,b,c){return a[b]=a[b]||c}
|
||||||
|
function mc(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 L(){var a;if((a=Object.create)&&lc.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a}
|
||||||
|
var nc=K(hc,"gapi",{});var M;M=K(hc,"___jsl",L());K(M,"I",0);K(M,"hel",10);function oc(){var a=jc.href;if(M.dpo)var b=M.h;else{b=M.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 pc(a){var b=K(M,"PQ",[]);M.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 qc(a){return K(K(M,"H",L()),a,L())}
|
||||||
|
;function rc(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;y=m=0}
|
||||||
|
function b(a){for(var b=g,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],h=e[3],k=e[4],m,D,c=0;80>c;c++)40>c?20>c?(m=h^d&(f^h),D=1518500249):(m=d^f^h,D=1859775393):60>c?(m=d&f|h&(d|f),D=2400959708):(m=d^f^h,D=3395469782),m=((a<<5|a>>>27)&4294967295)+m+k+D+b[c]&4294967295,k=h,h=f,f=(d<<30|d>>>2)&4294967295,d=a,a=m;e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;
|
||||||
|
e[3]=e[3]+h&4294967295;e[4]=e[4]+k&4294967295}
|
||||||
|
function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,g=a.length;e<g;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==m)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,y+=64;for(;d<c;)if(f[m++]=a[d++],y++,64==m)for(m=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,y+=64}
|
||||||
|
function d(){var a=[],d=8*y;56>m?c(h,56-m):c(h,64-(m-56));for(var g=63;56<=g;g--)f[g]=d&255,d>>>=8;b(f);for(g=d=0;5>g;g++)for(var k=24;0<=k;k-=8)a[d++]=e[g]>>k&255;return a}
|
||||||
|
for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var m,y;a();return{reset:a,update:c,digest:d,Ga: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 sc(a,b,c){var d=[],e=[];if(1==(ja(c)?2:1))return e=[b,a],C(d,function(a){e.push(a)}),tc(e.join(" "));
|
||||||
|
var f=[],g=[];C(c,function(a){g.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];C(d,function(a){e.push(a)});
|
||||||
|
a=tc(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")}
|
||||||
|
function tc(a){var b=rc();b.update(a);return b.Ga().toLowerCase()}
|
||||||
|
;function uc(a){this.b=a||{cookie:""}}
|
||||||
|
l=uc.prototype;l.isEnabled=function(){return navigator.cookieEnabled};
|
||||||
|
l.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+'"');p(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(x()+1E3*c)).toUTCString();this.b.cookie=a+"="+b+e+d+c+f};
|
||||||
|
l.get=function(a,b){for(var c=a+"=",d=(this.b.cookie||"").split(";"),e=0,f;e<d.length;e++){f=sa(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
|
||||||
|
l.remove=function(a,b,c){var d=p(this.get(a));this.set(a,"",0,b,c);return d};
|
||||||
|
l.isEmpty=function(){return!this.b.cookie};
|
||||||
|
l.clear=function(){for(var a=(this.b.cookie||"").split(";"),b=[],c=[],d,e,f=0;f<a.length;f++)e=sa(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));for(a=b.length-1;0<=a;a--)this.remove(b[a])};
|
||||||
|
var vc=new uc("undefined"==typeof document?null:document);vc.f=3950;function xc(){var a=[],b=gc(String(n.location.href)),c=n.__OVERRIDE_SID;null==c&&(c=(new uc(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?n.__SAPISID:n.__APISID,null==b&&(b=(new uc(document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(n.location.href);return d&&b&&c?[c,sc(gc(d),b,a||null)].join(" "):null}return null}
|
||||||
|
;var yc=K(M,"perf",L());K(yc,"g",L());var zc=K(yc,"i",L());K(yc,"r",[]);L();L();function Ac(a,b,c){b&&0<b.length&&(b=Bc(b),c&&0<c.length&&(b+="___"+Bc(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=K(zc,"_p",L()),K(b,c,L())[a]=(new Date).getTime(),b=yc.r,"function"===typeof b?b(a,"_p",c):b.push([a,"_p",c]))}
|
||||||
|
function Bc(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/\,/g,"_")}
|
||||||
|
;var Cc=L(),Dc=[];function O(a){throw Error("Bad hint"+(a?": "+a:""));}
|
||||||
|
Dc.push(["jsl",function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b];"object"==typeof c?M[b]=K(M,b,[]).concat(c):K(M,b,c)}if(b=a.u)a=K(M,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);
|
||||||
|
var Ec=/^(\/[a-zA-Z0-9_\-]+)+$/,Fc=[/\/amp\//,/\/amp$/,/^\/amp$/],Gc=/^[a-zA-Z0-9\-_\.,!]+$/,Hc=/^gapi\.loaded_[0-9]+$/,Ic=/^[a-zA-Z0-9,._-]+$/;function Jc(a,b,c,d){var e=a.split(";"),f=e.shift(),g=Cc[f],h=null;g?h=g(e,b,c,d):O("no hint processor for: "+f);h||O("failed to generate load url");b=h;c=b.match(Kc);(d=b.match(Lc))&&1===d.length&&Mc.test(b)&&c&&1===c.length||O("failed sanity: "+a);return h}
|
||||||
|
function Nc(a,b,c,d){function e(a){return encodeURIComponent(a).replace(/%2C/g,",")}
|
||||||
|
a=Oc(a);Hc.test(c)||O("invalid_callback");b=Pc(b);d=d&&d.length?Pc(d):null;return[encodeURIComponent(a.Za).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.ra?"/am="+e(a.ra):"",a.za?"/rs="+e(a.za):"",a.Ca?"/t="+e(a.Ca):"","/cb=",e(c)].join("")}
|
||||||
|
function Oc(a){"/"!==a.charAt(0)&&O("relative path");for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))O("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("="),g=decodeURIComponent(f[0]),h=decodeURIComponent(f[1]);2==f.length&&g&&h&&(a[g]=a[g]||h)}b="/"+c.join("/");Ec.test(b)||O("invalid_prefix");c=0;for(d=Fc.length;c<d;++c)Fc[c].test(b)&&O("invalid_prefix");c=Qc(a,
|
||||||
|
"k",!0);d=Qc(a,"am");e=Qc(a,"rs");a=Qc(a,"t");return{Za:b,version:c,ra:d,za:e,Ca:a}}
|
||||||
|
function Pc(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");Ic.test(e)&&b.push(e)}return b.join(",")}
|
||||||
|
function Qc(a,b,c){a=a[b];!a&&c&&O("missing: "+b);if(a){if(Gc.test(a))return a;O("invalid: "+b)}return null}
|
||||||
|
var Mc=/^https?:\/\/[a-z0-9_.-]+\.google\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,Lc=/\/cb=/g,Kc=/\/\//g;function Rc(){var a=oc();if(!a)throw Error("Bad hint");return a}
|
||||||
|
Cc.m=function(a,b,c,d){(a=a[0])||O("missing_hint");return"https://apis.google.com"+Nc(a,b,c,d)};
|
||||||
|
var Sc=decodeURI("%73cript"),Tc=/^[-+_0-9\/A-Za-z]+={0,2}$/;function Uc(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 Vc(){var a=M.nonce;if(void 0!==a)return a&&a===String(a)&&a.match(Tc)?a:M.nonce=null;var b=K(M,"us",[]);if(!b||!b.length)return M.nonce=null;for(var c=ic.getElementsByTagName(Sc),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 g=0,h=b.length;g<h&&b[g]!==f.src;++g);if(g!==h&&a&&a===String(a)&&a.match(Tc))return M.nonce=a}}return null}
|
||||||
|
function Wc(a){if("loading"!=ic.readyState)Xc(a);else{var b=Vc(),c="";null!==b&&(c=' nonce="'+b+'"');ic.write("<"+Sc+' src="'+encodeURI(a)+'"'+c+"></"+Sc+">")}}
|
||||||
|
function Xc(a){var b=ic.createElement(Sc);b.setAttribute("src",a);a=Vc();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=ic.getElementsByTagName(Sc)[0])?a.parentNode.insertBefore(b,a):(ic.head||ic.body||ic.documentElement).appendChild(b)}
|
||||||
|
function Yc(a,b){var c=b&&b._c;if(c)for(var d=0;d<Dc.length;d++){var e=Dc[d][0],f=Dc[d][1];f&&Object.prototype.hasOwnProperty.call(c,e)&&f(c[e],a,b)}}
|
||||||
|
function Zc(a,b,c){$c(function(){var c=b===oc()?K(nc,"_",L()):L();c=K(qc(b),"_",c);a(c)},c)}
|
||||||
|
function ad(a,b){var c=b||{};"function"==typeof b&&(c={},c.callback=b);Yc(a,c);var d=a?a.split(":"):[],e=c.h||Rc(),f=K(M,"ah",L());if(f["::"]&&d.length){for(var g=[],h=null;h=d.shift();){var k=h.split("."),k=f[h]||f[k[1]&&"ns:"+k[0]||""]||e,m=g.length&&g[g.length-1]||null,y=m;m&&m.hint==k||(y={hint:k,features:[]},g.push(y));y.features.push(h)}var D=g.length;if(1<D){var N=c.callback;N&&(c.callback=function(){0==--D&&N()})}for(;d=g.shift();)bd(d.features,c,d.hint)}else bd(d||[],c,e)}
|
||||||
|
function bd(a,b,c){function d(a,b){if(D)return 0;hc.clearTimeout(y);N.push.apply(N,G);var d=((nc||{}).config||{}).update;d?d(f):f&&K(M,"cu",[]).push(f);if(b){Ac("me0",a,ta);try{Zc(b,c,m)}finally{Ac("me1",a,ta)}}return 1}
|
||||||
|
a=mc(a)||[];var e=b.callback,f=b.config,g=b.timeout,h=b.ontimeout,k=b.onerror,m=void 0;"function"==typeof k&&(m=k);var y=null,D=!1;if(g&&!h||!g&&h)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";var k=K(qc(c),"r",[]).sort(),N=K(qc(c),"L",[]).sort(),ta=[].concat(k);0<g&&(y=hc.setTimeout(function(){D=!0;h()},g));
|
||||||
|
var G=Uc(a,N);if(G.length){var G=Uc(a,k),fa=K(M,"CP",[]),ga=fa.length;fa[ga]=function(a){function b(){var a=fa[ga+1];a&&a()}
|
||||||
|
function c(b){fa[ga]=null;d(G,a)&&pc(function(){e&&e();b()})}
|
||||||
|
if(!a)return 0;Ac("ml1",G,ta);0<ga&&fa[ga-1]?fa[ga]=function(){c(b)}:c(b)};
|
||||||
|
if(G.length){var wc="loaded_"+M.I++;nc[wc]=function(a){fa[ga](a);nc[wc]=null};
|
||||||
|
a=Jc(c,G,"gapi."+wc,k);k.push.apply(k,G);Ac("ml0",G,ta);b.sync||hc.___gapisync?Wc(a):Xc(a)}else fa[ga](kc)}else d(G)&&e&&e()}
|
||||||
|
function $c(a,b){if(M.hee&&0<M.hel)try{return a()}catch(c){b&&b(c),M.hel--,ad("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;}})}else try{return a()}catch(c){throw b&&b(c),c;
|
||||||
|
}}
|
||||||
|
nc.load=function(a,b){return $c(function(){return ad(a,b)})};function cd(a,b,c){this.i=c;this.g=a;this.j=b;this.f=0;this.b=null}
|
||||||
|
cd.prototype.get=function(){if(0<this.f){this.f--;var a=this.b;this.b=a.next;a.next=null}else a=this.g();return a};
|
||||||
|
function dd(a,b){a.j(b);a.f<a.i&&(a.f++,b.next=a.b,a.b=b)}
|
||||||
|
;function ed(a){n.setTimeout(function(){throw a;},0)}
|
||||||
|
var fd;
|
||||||
|
function gd(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("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=v(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&&!H("Trident")&&!H("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(p(c.next)){c=c.next;var a=c.ta;c.ta=null;a()}};
|
||||||
|
return function(a){d.next={ta: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){n.setTimeout(a,0)}}
|
||||||
|
;function hd(){this.f=this.b=null}
|
||||||
|
var jd=new cd(function(){return new id},function(a){a.reset()},100);
|
||||||
|
hd.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.f=null),a.next=null);return a};
|
||||||
|
function id(){this.next=this.scope=this.b=null}
|
||||||
|
id.prototype.set=function(a,b){this.b=a;this.scope=b;this.next=null};
|
||||||
|
id.prototype.reset=function(){this.next=this.scope=this.b=null};function kd(a,b){ld||md();nd||(ld(),nd=!0);var c=od,d=jd.get();d.set(a,b);c.f?c.f.next=d:c.b=d;c.f=d}
|
||||||
|
var ld;function md(){if(-1!=String(n.Promise).indexOf("[native code]")){var a=n.Promise.resolve(void 0);ld=function(){a.then(pd)}}else ld=function(){var a=pd;
|
||||||
|
!la(n.setImmediate)||n.Window&&n.Window.prototype&&!H("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(fd||(fd=gd()),fd(a)):n.setImmediate(a)}}
|
||||||
|
var nd=!1,od=new hd;function pd(){for(var a;a=od.remove();){try{a.b.call(a.scope)}catch(b){ed(b)}dd(jd,a)}nd=!1}
|
||||||
|
;function P(){this.f=this.f;this.H=this.H}
|
||||||
|
P.prototype.f=!1;P.prototype.dispose=function(){this.f||(this.f=!0,this.o())};
|
||||||
|
function qd(a,b){a.f?p(void 0)?b.call(void 0):b():(a.H||(a.H=[]),a.H.push(p(void 0)?v(b,void 0):b))}
|
||||||
|
P.prototype.o=function(){if(this.H)for(;this.H.length;)this.H.shift()()};
|
||||||
|
function rd(a){a&&"function"==typeof a.dispose&&a.dispose()}
|
||||||
|
function sd(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ka(d)?sd.apply(null,d):rd(d)}}
|
||||||
|
;var td="StopIteration"in n?n.StopIteration:{message:"StopIteration",stack:""};function ud(){}
|
||||||
|
ud.prototype.next=function(){throw td;};
|
||||||
|
ud.prototype.da=function(){return this};
|
||||||
|
function vd(a){if(a instanceof ud)return a;if("function"==typeof a.da)return a.da(!1);if(ka(a)){var b=0,c=new ud;c.next=function(){for(;;){if(b>=a.length)throw td;if(b in a)return a[b++];b++}};
|
||||||
|
return c}throw Error("Not implemented");}
|
||||||
|
function wd(a,b){if(ka(a))try{C(a,b,void 0)}catch(c){if(c!==td)throw c;}else{a=vd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==td)throw c;}}}
|
||||||
|
function xd(a){if(ka(a))return Aa(a);a=vd(a);var b=[];wd(a,function(a){b.push(a)});
|
||||||
|
return b}
|
||||||
|
;function yd(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 zd(a){a=String(a);if(yd(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}
|
||||||
|
function Ad(a){var b=[];Bd(new Cd,a,b);return b.join("")}
|
||||||
|
function Cd(){}
|
||||||
|
function Bd(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(ja(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Bd(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Dd(d,c),c.push(":"),Bd(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Dd(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 Ed={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Fd=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function Dd(a,b){b.push('"',a.replace(Fd,function(a){var b=Ed[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Ed[a]=b);return b}),'"')}
|
||||||
|
;function Gd(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}
|
||||||
|
;function Q(a,b){this.b=0;this.w=void 0;this.i=this.f=this.g=null;this.j=this.l=!1;if(a!=u)try{var c=this;a.call(b,function(a){Hd(c,2,a)},function(a){Hd(c,3,a)})}catch(d){Hd(this,3,d)}}
|
||||||
|
function Id(){this.next=this.context=this.f=this.g=this.b=null;this.i=!1}
|
||||||
|
Id.prototype.reset=function(){this.context=this.f=this.g=this.b=null;this.i=!1};
|
||||||
|
var Jd=new cd(function(){return new Id},function(a){a.reset()},100);
|
||||||
|
function Kd(a,b,c){var d=Jd.get();d.g=a;d.f=b;d.context=c;return d}
|
||||||
|
function Ld(a){if(a instanceof Q)return a;var b=new Q(u);Hd(b,2,a);return b}
|
||||||
|
function Md(a){return new Q(function(b,c){c(a)})}
|
||||||
|
Q.prototype.then=function(a,b,c){return Nd(this,la(a)?a:null,la(b)?b:null,c)};
|
||||||
|
Gd(Q);function Od(a,b){return Nd(a,null,b,void 0)}
|
||||||
|
Q.prototype.cancel=function(a){0==this.b&&kd(function(){var b=new Pd(a);Qd(this,b)},this)};
|
||||||
|
function Qd(a,b){if(0==a.b)if(a.g){var c=a.g;if(c.f){for(var d=0,e=null,f=null,g=c.f;g&&(g.i||(d++,g.b==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.b&&1==d?Qd(c,b):(f?(d=f,d.next==c.i&&(c.i=d),d.next=d.next.next):Rd(c),Sd(c,e,3,b)))}a.g=null}else Hd(a,3,b)}
|
||||||
|
function Td(a,b){a.f||2!=a.b&&3!=a.b||Ud(a);a.i?a.i.next=b:a.f=b;a.i=b}
|
||||||
|
function Nd(a,b,c,d){var e=Kd(null,null,null);e.b=new Q(function(a,g){e.g=b?function(c){try{var e=b.call(d,c);a(e)}catch(m){g(m)}}:a;
|
||||||
|
e.f=c?function(b){try{var e=c.call(d,b);!p(e)&&b instanceof Pd?g(b):a(e)}catch(m){g(m)}}:g});
|
||||||
|
e.b.g=a;Td(a,e);return e.b}
|
||||||
|
Q.prototype.C=function(a){this.b=0;Hd(this,2,a)};
|
||||||
|
Q.prototype.D=function(a){this.b=0;Hd(this,3,a)};
|
||||||
|
function Hd(a,b,c){if(0==a.b){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.b=1;a:{var d=c,e=a.C,f=a.D;if(d instanceof Q){Td(d,Kd(e||u,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(ma(d))try{var k=d.then;if(la(k)){Vd(d,k,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.w=c,a.b=b,a.g=null,Ud(a),3!=b||c instanceof Pd||Wd(a,c))}}
|
||||||
|
function Vd(a,b,c,d,e){function f(a){h||(h=!0,d.call(e,a))}
|
||||||
|
function g(a){h||(h=!0,c.call(e,a))}
|
||||||
|
var h=!1;try{b.call(a,g,f)}catch(k){f(k)}}
|
||||||
|
function Ud(a){a.l||(a.l=!0,kd(a.B,a))}
|
||||||
|
function Rd(a){var b=null;a.f&&(b=a.f,a.f=b.next,b.next=null);a.f||(a.i=null);return b}
|
||||||
|
Q.prototype.B=function(){for(var a;a=Rd(this);)Sd(this,a,this.b,this.w);this.l=!1};
|
||||||
|
function Sd(a,b,c,d){if(3==c&&b.f&&!b.i)for(;a&&a.j;a=a.g)a.j=!1;if(b.b)b.b.g=null,Xd(b,c,d);else try{b.i?b.g.call(b.context):Xd(b,c,d)}catch(e){Yd.call(null,e)}dd(Jd,b)}
|
||||||
|
function Xd(a,b,c){2==b?a.g.call(a.context,c):a.f&&a.f.call(a.context,c)}
|
||||||
|
function Wd(a,b){a.j=!0;kd(function(){a.j&&Yd.call(null,b)})}
|
||||||
|
var Yd=ed;function Pd(a){B.call(this,a)}
|
||||||
|
z(Pd,B);Pd.prototype.name="cancel";function R(a){P.call(this);this.l=1;this.i=[];this.j=0;this.b=[];this.g={};this.w=!!a}
|
||||||
|
z(R,P);l=R.prototype;l.subscribe=function(a,b,c){var d=this.g[a];d||(d=this.g[a]=[]);var e=this.l;this.b[e]=a;this.b[e+1]=b;this.b[e+2]=c;this.l=e+3;d.push(e);return e};
|
||||||
|
function Zd(a,b,c,d){if(b=a.g[b]){var e=a.b;(b=ya(b,function(a){return e[a+1]==c&&e[a+2]==d}))&&a.K(b)}}
|
||||||
|
l.K=function(a){var b=this.b[a];if(b){var c=this.g[b];0!=this.j?(this.i.push(a),this.b[a+1]=u):(c&&za(c,a),delete this.b[a],delete this.b[a+1],delete this.b[a+2])}return!!b};
|
||||||
|
l.W=function(a,b){var c=this.g[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.w)for(e=0;e<c.length;e++){var g=c[e];$d(this.b[g+1],this.b[g+2],d)}else{this.j++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.b[g+1].apply(this.b[g+2],d)}finally{if(this.j--,0<this.i.length&&0==this.j)for(;g=this.i.pop();)this.K(g)}}return 0!=e}return!1};
|
||||||
|
function $d(a,b,c){kd(function(){a.apply(b,c)})}
|
||||||
|
l.clear=function(a){if(a){var b=this.g[a];b&&(C(b,this.K,this),delete this.g[a])}else this.b.length=0,this.g={}};
|
||||||
|
l.o=function(){R.A.o.call(this);this.clear();this.i.length=0};function ae(a){this.b=a}
|
||||||
|
ae.prototype.set=function(a,b){p(b)?this.b.set(a,Ad(b)):this.b.remove(a)};
|
||||||
|
ae.prototype.get=function(a){try{var b=this.b.get(a)}catch(c){return}if(null!==b)try{return zd(b)}catch(c){throw"Storage: Invalid value was encountered";}};
|
||||||
|
ae.prototype.remove=function(a){this.b.remove(a)};function be(a){this.b=a}
|
||||||
|
z(be,ae);function ce(a){this.data=a}
|
||||||
|
function de(a){return!p(a)||a instanceof ce?a:new ce(a)}
|
||||||
|
be.prototype.set=function(a,b){be.A.set.call(this,a,de(b))};
|
||||||
|
be.prototype.f=function(a){a=be.A.get.call(this,a);if(!p(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
|
||||||
|
be.prototype.get=function(a){if(a=this.f(a)){if(a=a.data,!p(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};function ee(a){this.b=a}
|
||||||
|
z(ee,be);ee.prototype.set=function(a,b,c){if(b=de(b)){if(c){if(c<x()){ee.prototype.remove.call(this,a);return}b.expiration=c}b.creation=x()}ee.A.set.call(this,a,b)};
|
||||||
|
ee.prototype.f=function(a,b){var c=ee.A.f.call(this,a);if(c){var d;if(d=!b){d=c.creation;var e=c.expiration;d=!!e&&e<x()||!!d&&d>x()}if(d)ee.prototype.remove.call(this,a);else return c}};function fe(a){this.b=a}
|
||||||
|
z(fe,ee);function ge(){}
|
||||||
|
;function he(){}
|
||||||
|
z(he,ge);he.prototype.clear=function(){var a=xd(this.da(!0)),b=this;C(a,function(a){b.remove(a)})};function ie(a){this.b=a}
|
||||||
|
z(ie,he);l=ie.prototype;l.isAvailable=function(){if(!this.b)return!1;try{return this.b.setItem("__sak","1"),this.b.removeItem("__sak"),!0}catch(a){return!1}};
|
||||||
|
l.set=function(a,b){try{this.b.setItem(a,b)}catch(c){if(0==this.b.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
|
||||||
|
l.get=function(a){a=this.b.getItem(a);if(!q(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
|
||||||
|
l.remove=function(a){this.b.removeItem(a)};
|
||||||
|
l.da=function(a){var b=0,c=this.b,d=new ud;d.next=function(){if(b>=c.length)throw td;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};
|
||||||
|
l.clear=function(){this.b.clear()};
|
||||||
|
l.key=function(a){return this.b.key(a)};function je(){var a=null;try{a=window.localStorage||null}catch(b){}this.b=a}
|
||||||
|
z(je,ie);function ke(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.b=a}
|
||||||
|
z(ke,ie);var le=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()},me="Microsoft Internet Explorer"==navigator.appName;
|
||||||
|
function ne(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 oe=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};r("yt.config_",oe,void 0);function S(a){ne(oe,arguments)}
|
||||||
|
function T(a,b){return a in oe?oe[a]:b}
|
||||||
|
;function U(a,b){var c=t("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=T("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),S("ERRORS",c))}
|
||||||
|
function pe(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){U(b)}}:a}
|
||||||
|
;function V(a){return T("EXPERIMENT_FLAGS",{})[a]}
|
||||||
|
;var qe={};function re(a){return qe[a]||(qe[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))}
|
||||||
|
function se(a,b){return a?a.dataset?a.dataset[re(b)]:a.getAttribute("data-"+b):null}
|
||||||
|
function te(a){a&&(a.dataset?a.dataset[re("loaded")]="true":a.setAttribute("data-loaded","true"))}
|
||||||
|
;function W(a,b){la(a)&&(a=pe(a));return window.setTimeout(a,b)}
|
||||||
|
;var ue=t("ytPubsubPubsubInstance")||new R;R.prototype.subscribe=R.prototype.subscribe;R.prototype.unsubscribeByKey=R.prototype.K;R.prototype.publish=R.prototype.W;R.prototype.clear=R.prototype.clear;r("ytPubsubPubsubInstance",ue,void 0);var ve=t("ytPubsubPubsubSubscribedKeys")||{};r("ytPubsubPubsubSubscribedKeys",ve,void 0);var we=t("ytPubsubPubsubTopicToKeys")||{};r("ytPubsubPubsubTopicToKeys",we,void 0);var xe=t("ytPubsubPubsubIsSynchronous")||{};r("ytPubsubPubsubIsSynchronous",xe,void 0);
|
||||||
|
function ye(a,b){var c=ze();if(c){var d=c.subscribe(a,function(){var c=arguments;var f=function(){ve[d]&&b.apply(window,c)};
|
||||||
|
try{xe[a]?f():W(f,0)}catch(g){U(g)}},void 0);
|
||||||
|
ve[d]=!0;we[a]||(we[a]=[]);we[a].push(d);return d}return 0}
|
||||||
|
function ze(){return t("ytPubsubPubsubInstance")}
|
||||||
|
function Ae(a){we[a]&&(a=we[a],C(a,function(a){ve[a]&&delete ve[a]}),a.length=0)}
|
||||||
|
function Be(a){var b=ze();if(b)if(b.clear(a),a)Ae(a);else for(var c in we)Ae(c)}
|
||||||
|
function Ce(a,b){var c=ze();c&&c.publish.apply(c,arguments)}
|
||||||
|
function De(a){var b=ze();b&&("number"==typeof a?a=[a]:q(a)&&(a=[parseInt(a,10)]),C(a,function(a){b.unsubscribeByKey(a);delete ve[a]}))}
|
||||||
|
;var Ee=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,Fe=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;function Ge(a,b){var c=He(a),d=document.getElementById(c),e=d&&se(d,"loaded"),f=d&&!e;if(e)b&&b();else{if(b){var e=ye(c,b),g=""+(b[na]||(b[na]=++oa));Ie[g]=e}f||(d=Je(a,c,function(){se(d,"loaded")||(te(d),Ce(c),W(w(Be,c),0))}))}}
|
||||||
|
function Je(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 Ke(a){a=He(a);var b=document.getElementById(a);b&&(Be(a),b.parentNode.removeChild(b))}
|
||||||
|
function Le(a,b){if(a&&b){var c=""+(b[na]||(b[na]=++oa));(c=Ie[c])&&De(c)}}
|
||||||
|
function He(a){var b=document.createElement("a");Lb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+va(a)}
|
||||||
|
var Ie={};function Me(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(Ee,""),c=c.replace(Fe,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Ge(a,b)}
|
||||||
|
;var Ne=null;function Oe(){var a=T("BG_I",null),b=T("BG_IU",null),c=T("BG_P",void 0);b?Me(b,function(){window.botguard?Pe(c):(Ke(b),U(Error("Unable to load Botguard from "+b),"WARNING"))}):a&&(eval(a),Pe(c))}
|
||||||
|
function Pe(a){Ne=new window.botguard.bg(a);V("botguard_periodic_refresh")?le():V("botguard_always_refresh")}
|
||||||
|
function Qe(){return null!=Ne}
|
||||||
|
function Re(){return Ne?Ne.invoke():null}
|
||||||
|
;x();var Se=p(XMLHttpRequest)?function(){return new XMLHttpRequest}:p(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;
|
||||||
|
function Te(){if(!Se)return null;var a=Se();return"open"in a?a:null}
|
||||||
|
function Ue(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:return!0;default:return!1}}
|
||||||
|
;function Ve(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=decodeURIComponent((e[0]||"").replace(/\+/g," ")),e=decodeURIComponent((e[1]||"").replace(/\+/g," "));f in b?ja(b[f])?Ba(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b}
|
||||||
|
function We(a,b){var c=a.split("#",2);a=c[0];var c=1<c.length?"#"+c[1]:"",d=a.split("?",2);a=d[0];var d=Ve(d[1]||""),e;for(e in b)d[e]=b[e];return Xb(a,d)+c}
|
||||||
|
;var Xe={"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 Ye(a,b){b=void 0===b?{}:b;var c=void 0;c=window.location.href;var d=I(a)[1]||null,e=Ub(I(a)[3]||null);d&&e?(d=c,c=I(a),d=I(d),c=c[3]==d[3]&&c[1]==d[1]&&c[4]==d[4]):c=e?Ub(I(c)[3]||null)==e&&(Number(I(c)[4]||null)||null)==(Number(I(a)[4]||null)||null):!0;for(var f in Xe){if((e=d=T(Xe[f]))&&!(e=c)){var g=a,e=f,h=T("CORS_HEADER_WHITELIST")||{};e=(g=Ub(I(g)[3]||null))?(h=h[g])?0<=wa(h,e):!1:!0}e&&(b[f]=d)}return b}
|
||||||
|
function Ze(a,b){var c=T("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.qb&&(!Ub(I(a)[3]||null)||b.withCredentials||Ub(I(a)[3]||null)==document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.F&&b.F[c])}
|
||||||
|
function $e(a,b){var c=b.format||"JSON";b.La&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var d=T("XSRF_FIELD_NAME",void 0),e=T("XSRF_TOKEN",void 0),f=b.kb;f&&(f[d]&&delete f[d],a=We(a,f||{}));var g=b.postBody||"",f=b.F;Ze(a,b)&&(f||(f={}),f[d]=e);f&&q(g)&&(d=Ve(g),La(d,f),g=b.xa&&"JSON"==b.xa?JSON.stringify(d):Wb(d));var h=!1,k,m=af(a,function(a){if(!h){h=!0;k&&window.clearTimeout(k);var d=Ue(a),e=null;if(d||400<=a.status&&
|
||||||
|
500>a.status)e=bf(c,a,b.pb);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||n;d?b.J&&b.J.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.Qa&&b.Qa.call(f,a,e)}},b.method,g,b.headers,b.responseType,b.withCredentials);
|
||||||
|
b.O&&0<b.timeout&&(k=W(function(){h||(h=!0,m.abort(),window.clearTimeout(k),b.O.call(b.context||n,m))},b.timeout))}
|
||||||
|
function bf(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)?cf(b):null)d={},C(b.getElementsByTagName("*"),function(a){d[a.tagName]=df(a)})}c&&ef(d);
|
||||||
|
return d}
|
||||||
|
function ef(a){if(ma(a))for(var b in a){var c;(c="html_content"==b)||(c=b.length-5,c=0<=c&&b.indexOf("_html",c)==c);if(c){c=b;var d=Kb(a[b]);a[c]=d}else ef(a[b])}}
|
||||||
|
function cf(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null}
|
||||||
|
function df(a){var b="";C(a.childNodes,function(a){b+=a.nodeValue});
|
||||||
|
return b}
|
||||||
|
function ff(a,b){b.method="POST";b.F||(b.F={});$e(a,b)}
|
||||||
|
function af(a,b,c,d,e,f,g){function h(){4==(k&&"readyState"in k?k.readyState:0)&&b&&pe(b)(k)}
|
||||||
|
c=void 0===c?"GET":c;d=void 0===d?"":d;var k=Te();if(!k)return null;"onloadend"in k?k.addEventListener("loadend",h,!1):k.onreadystatechange=h;k.open(c,a,!0);f&&(k.responseType=f);g&&(k.withCredentials=!0);c="POST"==c;if(e=Ye(a,e))for(var m in e)k.setRequestHeader(m,e[m]),"content-type"==m.toLowerCase()&&(c=!1);c&&k.setRequestHeader("Content-Type","application/x-www-form-urlencoded");k.send(d);return k}
|
||||||
|
;var gf={},hf=0;function jf(a,b){a&&(T("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?af(a,b):kf(a,b))}
|
||||||
|
function kf(a,b){var c=new Image,d=""+hf++;gf[d]=c;c.onload=c.onerror=function(){b&&gf[d]&&b();delete gf[d]};
|
||||||
|
c.src=a}
|
||||||
|
;function lf(a,b,c,d,e){b=void 0===b?"ERROR":b;e=void 0===e?!1:e;c={name:c||T("INNERTUBE_CONTEXT_CLIENT_NAME",1),version:d||T("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<=mf)){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 g=!1;try{var h=a.lineNumber||a.line||"Not available"}catch(D){h="Not available",
|
||||||
|
g=!0}try{var k=a.fileName||a.filename||a.sourceURL||n.$googDebugFname||f}catch(D){k="Not available",g=!0}a=!g&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:h,fileName:k,stack:a.stack||"Not available"}}e=e||a.stack;h=a.lineNumber.toString();isNaN(h)||isNaN(d)||(h=h+":"+d);if(!(nf[a.message]||0<=e.indexOf("/YouTubeCenter.js")||0<=e.indexOf("/mytube.js"))){k=a.fileName;h={kb:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,
|
||||||
|
1E3),line:h,level:b},F:{url:T("PAGE_NAME",window.location.href),file:k},method:"POST"};e&&(h.F.stack=e);for(var m in c)h.F["client."+m]=c[m];if(m=T("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var y in m)h.F[y]=m[y];$e("/error_204",h);nf[a.message]=!0;mf++}}}
|
||||||
|
var mf=0,nf={};var of=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};r("yt.msgs_",of,void 0);function pf(a){ne(of,arguments)}
|
||||||
|
;function qf(a,b){var c=5E3;isNaN(c)&&(c=void 0);var d=t("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):W(a,c||0)}
|
||||||
|
;var rf=[],sf=!1;function tf(){function a(){sf=!0;"google_ad_status"in window?S("DCLKSTAT",1):S("DCLKSTAT",2)}
|
||||||
|
Me("//static.doubleclick.net/instream/ad_status.js",a);rf.push(qf(function(){sf||"google_ad_status"in window||(Le("//static.doubleclick.net/instream/ad_status.js",a),S("DCLKSTAT",3))},1))}
|
||||||
|
function uf(){return parseInt(T("DCLKSTAT",0),10)}
|
||||||
|
;var vf=0,wf=t("ytDomDomGetNextId")||function(){return++vf};
|
||||||
|
r("ytDomDomGetNextId",wf,void 0);var xf={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 yf(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.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in xf||(this[b]=a[b]);(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}}
|
||||||
|
yf.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
|
||||||
|
yf.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
|
||||||
|
yf.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Ga=t("ytEventsEventsListeners")||{};r("ytEventsEventsListeners",Ga,void 0);var zf=t("ytEventsEventsCounter")||{count:0};r("ytEventsEventsCounter",zf,void 0);function Af(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 Fa(function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})}
|
||||||
|
function Bf(a,b,c){var d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Af(a,b,c,d);if(e)return e;var e=++zf.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(d){d=new yf(d);if(!Pb(d.relatedTarget,function(b){return b==a}))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new yf(b);
|
||||||
|
b.currentTarget=a;return c.call(a,b)};
|
||||||
|
g=pe(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),a.addEventListener(b,g,d)):a.attachEvent("on"+b,g);Ga[e]=[a,b,c,g,d];return e}
|
||||||
|
function Cf(a){a&&("string"==typeof a&&(a=[a]),C(a,function(a){if(a in Ga){var b=Ga[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 Ga[a]}}))}
|
||||||
|
;function Df(){if(null==t("_lact",window)){var a=parseInt(T("LACT"),10),a=isFinite(a)?x()-Math.max(a,0):-1;r("_lact",a,window);r("_fact",a,window);-1==a&&Ef();Bf(document,"keydown",Ef);Bf(document,"keyup",Ef);Bf(document,"mousedown",Ef);Bf(document,"mouseup",Ef);ye("page-mouse",Ef);ye("page-scroll",Ef);ye("page-resize",Ef)}}
|
||||||
|
function Ef(){null==t("_lact",window)&&(Df(),t("_lact",window));var a=x();r("_lact",a,window);-1==t("_fact",window)&&r("_fact",a,window);Ce("USER_ACTIVE")}
|
||||||
|
function Ff(){var a=t("_lact",window);return null==a?-1:Math.max(x()-a,0)}
|
||||||
|
var Gf=Ef;function Hf(a,b,c,d,e){this.g=a;this.j=b;this.i=c;this.f=d;this.b=e}
|
||||||
|
var If=1;function Jf(a){var b={};void 0!==a.g?b.trackingParams=a.g:(b.veType=a.j,null!=a.i&&(b.veCounter=a.i),null!=a.f&&(b.elementIndex=a.f));void 0!==a.b&&(b.dataElement=Jf(a.b));return b}
|
||||||
|
;var Kf={log_event:"events",log_interaction:"interactions"},Lf=Object.create(null);Lf.log_event="GENERIC_EVENT_LOGGING";Lf.log_interaction="INTERACTION_LOGGING";var Mf={},Nf={},Of=0,E=t("ytLoggingTransportLogPayloadsQueue_")||{};r("ytLoggingTransportLogPayloadsQueue_",E,void 0);var Pf=t("ytLoggingTransportTokensToCttTargetIds_")||{};r("ytLoggingTransportTokensToCttTargetIds_",Pf,void 0);var Qf=t("ytLoggingTransportDispatchedStats_")||{};r("ytLoggingTransportDispatchedStats_",Qf,void 0);
|
||||||
|
var Rf=t("ytLoggingTransportCapturedTime_")||{};r("ytytLoggingTransportCapturedTime_",Rf,void 0);function Sf(a,b){Nf[a.endpoint]=b;if(a.ea){var c=a.ea;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);Pf[a.ea.token]=d;c=Tf(a.endpoint,a.ea.token)}else c=Tf(a.endpoint);c.push(a.wa);d=Number(V("web_logging_max_batch")||0)||20;c.length>=d?Uf():Vf()}
|
||||||
|
function Uf(){window.clearTimeout(Of);if(!Ha()){for(var a in E){var b=Mf[a];if(!b){var c=Nf[a];if(!c)continue;b=new c;Mf[a]=b}var c=void 0,d=a,e=b,f=Kf[d],g=Qf[d]||{};Qf[d]=g;b=Math.round(le());for(c in E[d]){var h=e.f();h[f]=Tf(d,c);g.dispatchedEventCount=g.dispatchedEventCount||0;g.dispatchedEventCount+=h[f].length;h.requestTimeMs=b;var k=Pf[c];if(k)a:{var m=h,y=c;if(k.videoId)var D="VIDEO";else if(k.playlistId)D="PLAYLIST";else break a;m.credentialTransferTokenTargetId=k;m.context=m.context||{};
|
||||||
|
m.context.user=m.context.user||{};m.context.user.credentialTransferTokens=[{token:y,scope:D}]}delete Pf[c];e.g(d,h,{})}c=g;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 E[a]}Ha()||Vf()}}
|
||||||
|
function Vf(){window.clearTimeout(Of);Of=W(Uf,T("LOGGING_BATCH_TIMEOUT",1E4))}
|
||||||
|
function Tf(a,b){b||(b="");E[a]=E[a]||{};E[a][b]=E[a][b]||[];return E[a][b]}
|
||||||
|
;function Wf(a,b,c,d,e){var f={};f.eventTimeMs=Math.round(d||le());f[a]=b;f.context={lastActivityMs:String(Ff())};Sf({endpoint:"log_event",wa:f,ea:e},c)}
|
||||||
|
;function Xf(a,b,c,d){Yf(a,{attachChild:{csn:b,parentVisualElement:Jf(c),visualElements:[Jf(d)]}},void 0)}
|
||||||
|
function Zf(a,b,c){V("interaction_logging_on_gel_web")?c.forEach(function(c){Wf("visualElementShown",{csn:b,ve:Jf(c),eventType:1},a)}):(c=xa(c,function(a){return Jf(a)}),Yf(a,{visibilityUpdate:{csn:b,
|
||||||
|
visualElements:c}}))}
|
||||||
|
function Yf(a,b,c){b.eventTimeMs=Math.round(le());b.lactMs=Ff();c&&(b.clientData=$f(c));Sf({endpoint:"log_interaction",wa:b},a)}
|
||||||
|
function $f(a){var b={};a.analyticsChannelData&&(b.analyticsDatas=xa(a.analyticsChannelData,function(a){return{tabName:a.tabName,cardName:a.cardName,isChannelScreen:a.isChannelScreen,insightId:a.insightId,externalChannelId:a.externalChannelId,externalContentOwnerId:a.externalContentOwnerId}}));
|
||||||
|
return{playbackData:{clientPlaybackNonce:a.clientPlaybackNonce},analyticsChannelData:b,externalLinkData:a.externalLinkData}}
|
||||||
|
;function ag(){if(!bg&&!cg||!window.JSON)return null;try{var a=bg.get("yt-player-two-stage-token")}catch(b){}if(!q(a))try{a=cg.get("yt-player-two-stage-token")}catch(b){}if(!q(a))return null;try{a=JSON.parse(a,void 0)}catch(b){}return a}
|
||||||
|
var cg,dg=new je;cg=dg.isAvailable()?new fe(dg):null;var bg,eg=new ke;bg=eg.isAvailable()?new fe(eg):null;function fg(){var a=T("ROOT_VE_TYPE",void 0);return a?new Hf(void 0,a,void 0):null}
|
||||||
|
function gg(){var a=T("client-screen-nonce",void 0);a||(a=T("EVENT_ID",void 0));return a}
|
||||||
|
;function hg(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=T("EVENT_ID");d&&(b.ei||(b.ei=d));if(b){var d=a,e=T("VALID_SESSION_TEMPDATA_DOMAINS",[]),f=Ub(I(window.location.href)[3]||null);f&&e.push(f);f=Ub(I(d)[3]||null);if(0<=wa(e,f)||!f&&0==d.lastIndexOf("/",0))if(V("autoescape_tempdata_url")&&(e=document.createElement("a"),Lb(e,d),d=e.href),d){var f=I(d),d=f[5],e=f[6],f=f[7],g="";d&&(g+=d);e&&(g+="?"+e);f&&(g+="#"+f);d=g;e=d.indexOf("#");if(d=0>e?d:d.substr(0,e)){if(b.itct||b.ved)b.csn=b.csn||
|
||||||
|
gg();d="ST-"+va(d).toString(36);e=b?Wb(b):"";vc.set(""+d,e,5,"/","youtube.com");b&&(b=b.itct||b.ved,d=t("yt.logging.screen.storeParentElement"),b&&d&&d(new Hf(b)))}}}if(c)return!1;if((window.ytspf||{}).enabled)spf.navigate(a);else{var h=void 0===h?{}:h;var k=void 0===k?"":k;var m=void 0===m?window:m;c=m.location;a=Xb(a,h)+k;a=a instanceof Db?a:Hb(a);c.href=Fb(a)}return!0}
|
||||||
|
;var ig=t("yt.abuse.botguardInitialized")||Qe;r("yt.abuse.botguardInitialized",ig,void 0);var jg=t("yt.abuse.invokeBotguard")||Re;r("yt.abuse.invokeBotguard",jg,void 0);var kg=t("yt.abuse.dclkstatus.checkDclkStatus")||uf;r("yt.abuse.dclkstatus.checkDclkStatus",kg,void 0);var lg=t("yt.player.exports.navigate")||hg;r("yt.player.exports.navigate",lg,void 0);var mg=t("yt.util.activity.init")||Df;r("yt.util.activity.init",mg,void 0);var ng=t("yt.util.activity.getTimeSinceActive")||Ff;
|
||||||
|
r("yt.util.activity.getTimeSinceActive",ng,void 0);var og=t("yt.util.activity.setTimestamp")||Gf;r("yt.util.activity.setTimestamp",og,void 0);function pg(a){a={client:{hl:a.Oa,gl:a.Na,clientName:a.Ma,clientVersion:a.innertubeContextClientVersion}};T("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:T("DELEGATED_SESSION_ID")});return a}
|
||||||
|
function qg(){return{apiaryHost:T("APIARY_HOST",void 0),Ea:T("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:!!T("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:T("GAPI_HINT_PARAMS",void 0),innertubeApiKey:T("INNERTUBE_API_KEY",void 0),innertubeApiVersion:T("INNERTUBE_API_VERSION",void 0),Ma:T("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:T("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Oa:T("INNERTUBE_CONTEXT_HL",void 0),Na:T("INNERTUBE_CONTEXT_GL",void 0),xhrApiaryHost:T("XHR_APIARY_HOST",
|
||||||
|
void 0)||"",Pa:T("INNERTUBE_HOST_OVERRIDE",void 0)||""}}
|
||||||
|
function rg(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b}
|
||||||
|
;function sg(a){this.b=a||qg();tg||(tg=ug(this.b))}
|
||||||
|
function ug(a){return(new Q(function(b){try{var c={gapiHintOverride:a.gapiHintOverride,_c:{jsl:{h:a.gapiHintParams}},callback:b};b=c;b=void 0===b?{}:b;la(b)&&(b={callback:b});b._c&&b._c.jsl&&b._c.jsl.h||La(b,{_c:{jsl:{h:T("GAPI_HINT_PARAMS",void 0)}}});c=b;if(c.gapiHintOverride||T("GAPI_HINT_OVERRIDE")){var d=document.location.href;if(-1!=d.indexOf("?")){var d=(d||"").split("#")[0],e=d.split("?",2);var f=Ve(1<e.length?e[1]:e[0])}else f={};var g=f.gapi_jsh;g&&La(c,{_c:{jsl:{h:g}}})}ad("client",c)}catch(h){U(h)}})).then(function(){})}
|
||||||
|
sg.prototype.i=function(){var a=t("gapi.config.update");a("googleapis.config/auth/useFirstPartyAuth",!0);a("googleapis.config/auth/useFirstPartyAuthV2",!0);var b=this.b.apiaryHost;/^[\s\xa0]*$/.test(null==b?"":String(b))||a("googleapis.config/root",(-1==b.indexOf("://")?"//":"")+b);b=this.b.Ea;/^[\s\xa0]*$/.test(null==b?"":String(b))||a("googleapis.config/root-1p",(-1==b.indexOf("://")?"//":"")+b);b=T("SESSION_INDEX");a("googleapis.config/sessionIndex",b);t("gapi.client.setApiKey")(this.b.innertubeApiKey)};
|
||||||
|
sg.prototype.f=function(){return{context:pg(this.b)}};
|
||||||
|
sg.prototype.g=function(a,b,c){var d,e=!1;0<c.timeout&&(d=W(function(){e||(e=!0,c.O&&c.O())},c.timeout));
|
||||||
|
vg(this,a,b,function(a){if(!e)if(e=!0,d&&window.clearTimeout(d),a)c.J&&c.J(a);else if(c.onError)c.onError()})};
|
||||||
|
function vg(a,b,c,d){var e={path:rg(a.b.innertubeApiVersion,b,c),headers:{"X-Goog-Visitor-Id":T("VISITOR_DATA")},method:"POST",body:Ad(c)},f=v(a.i,a);tg.then(function(){f();t("gapi.client.request")(e).execute(d||u)})}
|
||||||
|
var tg=null;function wg(a){this.b=a||qg()}
|
||||||
|
wg.prototype.f=function(){return{context:pg(this.b)}};
|
||||||
|
wg.prototype.g=function(a,b,c){!T("VISITOR_DATA")&&.01>Math.random()&&U(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var d={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":T("VISITOR_DATA","")},F:b,xa:"JSON",O:c.O,J:function(a,b){c.J&&c.J(b)},
|
||||||
|
onError:function(a,b){if(c.onError)c.onError(b)},
|
||||||
|
timeout:c.timeout,withCredentials:!0},e=xc();e&&(d.headers.Authorization=e,d.headers["X-Goog-AuthUser"]=T("SESSION_INDEX",0));var f=this.b.xhrApiaryHost;f&&!f.startsWith("http")&&(f="//"+f);V("youtubei_for_web")&&(f="");var g=this.b.Pa;g&&(f=g);e&&!f&&(d.headers["x-origin"]=window.location.origin);ff(""+f+rg(this.b.innertubeApiVersion,a,b)+"?alt=json&key="+this.b.innertubeApiKey,d)};function xg(){return V("enable_youtubei_innertube")?wg:sg}
|
||||||
|
;function yg(a){a=a||{};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||Ja(zg);this.assets=a.assets||{};this.attrs=a.attrs||Ja(Ag);this.params=a.params||Ja(Bg);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 zg={enablejsapi:1},Ag={},Bg={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};function Cg(a){a instanceof yg||(a=new yg(a));return a}
|
||||||
|
function Dg(a){var b=new yg,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];b[c]="object"==ia(d)?Ja(d):d}return b}
|
||||||
|
;function Eg(a){P.call(this);this.b=[];this.g=a||this}
|
||||||
|
aa(Eg,P);function Fg(a,b,c,d){d=pe(v(d,a.g));d={target:b,name:c,sa:d};b.addEventListener(c,d.sa,void 0);a.b.push(d)}
|
||||||
|
function Gg(a){for(;a.b.length;){var b=a.b.pop();b.target.removeEventListener(b.name,b.sa)}}
|
||||||
|
Eg.prototype.o=function(){Gg(this);P.prototype.o.call(this)};function Hg(){this.g=this.f=this.b=0;this.i="";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.i=b;b=a;this.b=b[0];this.f=b[1];this.g=b[2];if(0>=this.b){if(me)try{var g=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(y){g=null}else{var h=document.body;var k=document.createElement("object");k.setAttribute("type","application/x-shockwave-flash");g=h.appendChild(k)}if(g&&"GetVariable"in g)try{var m=g.GetVariable("$version")}catch(y){m=""}h&&k&&h.removeChild(k);(g=m||"")?(g=g.split(" ")[1].split(","),g=[parseInt(g[0],10)||0,parseInt(g[1],10)||0,parseInt(g[2],
|
||||||
|
10)||0]):g=[0,0,0];this.b=g[0];this.f=g[1];this.g=g[2]}}
|
||||||
|
ha(Hg);function Ig(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.b>b[0]||a.b==b[0]&&a.f>b[1]||a.b==b[0]&&a.f==b[1]&&a.g>=b[2]}
|
||||||
|
;var Jg=/cssbin\/(?:debug-)?([a-zA-Z0-9_-]+?)(?:-2x|-web|-rtl|-vfl|.css)/;function Kg(a){a=a||"";if(window.spf){var b=a.match(Jg);spf.style.load(a,b?b[1]:"",void 0)}else Lg(a)}
|
||||||
|
function Lg(a){var b=Mg(a),c=document.getElementById(b),d=c&&se(c,"loaded");d||c&&!d||(c=Ng(a,b,function(){se(c,"loaded")||(te(c),Ce(b),W(w(Be,b),0))}))}
|
||||||
|
function Ng(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)};
|
||||||
|
a=Qb(a);d.rel="stylesheet";d.href=a instanceof Bb&&a.constructor===Bb&&a.f===Cb?a.b:"type_error:TrustedResourceUrl";(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d}
|
||||||
|
function Mg(a){var b=document.createElement("a");Lb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"css-"+va(a)}
|
||||||
|
;var X={},Og=(X["api.invalidparam"]=2,X.auth=150,X["drm.auth"]=150,X["heartbeat.net"]=150,X["heartbeat.servererror"]=150,X["heartbeat.stop"]=150,X["html5.unsupportedads"]=5,X["fmt.noneavailable"]=5,X["fmt.decode"]=5,X["fmt.unplayable"]=5,X["html5.missingapi"]=5,X["html5.unsupportedlive"]=5,X["drm.unavailable"]=5,X);var Pg;var Qg=F,Qg=Qg.toLowerCase();if(-1!=Qg.indexOf("android")){var Rg=Qg.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(Rg)Pg=Number(Rg[1]);else{var Sg={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},Tg=[],Ug=0,Vg;for(Vg in Sg)Tg[Ug++]=Vg;var Wg=Qg.match("("+Tg.join("|")+")");Pg=Wg?Sg[Wg[0]]:0}}else Pg=void 0;var Xg=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Yg=['audio/mp4; codecs="mp4a.40.2"'];var Zg=t("ytLoggingLatencyUsageStats_")||{};r("ytLoggingLatencyUsageStats_",Zg,void 0);var $g=0;function ah(a){Zg[a]=Zg[a]||{count:0};var b=Zg[a];b.count++;b.time=le();$g||($g=qf(bh,0));return 10<b.count?(11==b.count&&lf(Error("CSI data exceeded logging limit with key: "+a)),!0):!1}
|
||||||
|
function bh(){var a=le(),b;for(b in Zg)6E4<a-Zg[b].time&&delete Zg[b];$g=0}
|
||||||
|
;function ch(a,b){this.version=a;this.args=b}
|
||||||
|
;function dh(a){this.topic=a}
|
||||||
|
dh.prototype.toString=function(){return this.topic};var eh=t("ytPubsub2Pubsub2Instance")||new R;R.prototype.subscribe=R.prototype.subscribe;R.prototype.unsubscribeByKey=R.prototype.K;R.prototype.publish=R.prototype.W;R.prototype.clear=R.prototype.clear;r("ytPubsub2Pubsub2Instance",eh,void 0);var fh=t("ytPubsub2Pubsub2SubscribedKeys")||{};r("ytPubsub2Pubsub2SubscribedKeys",fh,void 0);var gh=t("ytPubsub2Pubsub2TopicToKeys")||{};r("ytPubsub2Pubsub2TopicToKeys",gh,void 0);var hh=t("ytPubsub2Pubsub2IsAsync")||{};r("ytPubsub2Pubsub2IsAsync",hh,void 0);
|
||||||
|
r("ytPubsub2Pubsub2SkipSubKey",null,void 0);function ih(a,b){var c=t("ytPubsub2Pubsub2Instance");c&&c.publish.call(c,a.toString(),a,b)}
|
||||||
|
;var Y=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};function jh(a,b){ch.call(this,1,arguments)}
|
||||||
|
z(jh,ch);function kh(a,b){ch.call(this,1,arguments)}
|
||||||
|
z(kh,ch);var lh=new dh("aft-recorded"),mh=new dh("timing-sent");var nh=x().toString();var oh={vc:!0},ph={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"},qh="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(" "),
|
||||||
|
rh=["isNavigation","isMonetized","prerollAllowed","isRedSubscriber","isVisible"],sh=!1;
|
||||||
|
function th(a){if("_"!=a[0]){var b=a;Y.mark&&(0==b.lastIndexOf("mark_",0)||(b="mark_"+b),Y.mark(b))}var b=uh(),c=le();b[a]&&(b["_"+a]=b["_"+a]||[b[a]],b["_"+a].push(c));b[a]=c;vh()["tick_"+a]=void 0;le();V("csi_on_gel")?(b=wh(),"_start"==a?ah("baseline_"+b)||Wf("latencyActionBaselined",{clientActionNonce:b},wg,void 0):ah("tick_"+a+"_"+b)||Wf("latencyActionTicked",{tickName:a,clientActionNonce:b},wg,void 0),a=!0):a=!1;if(a=!a)a=!t("yt.timing.pingSent_");if(a&&(b=T("TIMING_ACTION",void 0),a=uh(),t("ytglobal.timingready_")&&
|
||||||
|
b&&a._start&&(b=xh()))){V("tighter_critical_section")&&!sh&&(ih(lh,new jh(Math.round(b-a._start),void 0)),sh=!0);b=!0;c=T("TIMING_WAIT",[]);if(c.length)for(var d=0,e=c.length;d<e;++d)if(!(c[d]in a)){b=!1;break}b&&yh()}}
|
||||||
|
function zh(){var a=Ah().info.yt_lt="hot_bg";vh().info_yt_lt=a;if(V("csi_on_gel"))if("yt_lt"in ph){var b={},c=ph.yt_lt.split(".");0<=wa(rh,c)&&(a=!!a);for(var d=b,e=0;e<c.length-1;e++)d[c[e]]=d[c[e]]||{},d=d[c[e]];b[c[c.length-1]]=a;a=wh();c=Object.keys(b).join("");ah("info_"+c+"_"+a)||(b.clientActionNonce=a,Wf("latencyActionInfo",b,wg))}else 0<=wa(qh,"yt_lt")||U(Error("Unknown label yt_lt logged with GEL CSI."))}
|
||||||
|
function xh(){var a=uh();if(a.aft)return a.aft;for(var b=T("TIMING_AFT_KEYS",["ol"]),c=b.length,d=0;d<c;d++){var e=a[b[d]];if(e)return e}return NaN}
|
||||||
|
function yh(){if(!V("csi_on_gel")){var a=uh(),b=Ah().info,c=a._start,d;for(d in a)if(0==d.lastIndexOf("_",0)&&ja(a[d])){var e=d.slice(1);if(e in oh){var f=xa(a[d],function(a){return Math.round(a-c)});
|
||||||
|
b["all_"+e]=f.join()}delete a[d]}e=!!b.ap;if(f=t("ytglobal.timingReportbuilder_")){if(f=f(a,b,void 0))Bh(f,e),Ch(),Dh(),Eh(!1,void 0),T("TIMING_ACTION")&&S("PREVIOUS_ACTION",T("TIMING_ACTION")),S("TIMING_ACTION","")}else{var g=T("CSI_SERVICE_NAME","youtube");f={v:2,s:g,action:T("TIMING_ACTION",void 0)};var h=b.srt;void 0!==a.srt&&delete b.srt;if(b.h5jse){var k=window.location.protocol+t("ytplayer.config.assets.js");(k=Y.getEntriesByName?Y.getEntriesByName(k)[0]:null)?b.h5jse=Math.round(b.h5jse-k.responseEnd):
|
||||||
|
delete b.h5jse}a.aft=xh();Fh()&&"youtube"==g&&(zh(),g=a.vc,k=a.pbs,delete a.aft,b.aft=Math.round(k-g));for(var m in b)"_"!=m.charAt(0)&&(f[m]=b[m]);a.ps=le();b={};m=[];for(d in a)"_"!=d.charAt(0)&&(g=Math.round(a[d]-c),b[d]=g,m.push(d+"."+g));f.rt=m.join(",");(a=t("ytdebug.logTiming"))&&a(f,b);Bh(f,e,void 0);ih(mh,new kh(b.aft+(h||0),void 0))}}}
|
||||||
|
var Dh=v(Y.clearResourceTimings||Y.webkitClearResourceTimings||Y.mozClearResourceTimings||Y.msClearResourceTimings||Y.oClearResourceTimings||u,Y);
|
||||||
|
function Bh(a,b,c){if(V("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,"")||jf(a,void 0)}catch(f){jf(a,void 0)}else jf(a);Eh(!0,c)}
|
||||||
|
function wh(){var a=Ah().nonce;if(!a){a:{if(window.crypto&&window.crypto.getRandomValues)try{var b=Array(16),c=new Uint8Array(16);window.crypto.getRandomValues(c);for(a=0;a<b.length;a++)b[a]=c[a];var d=b;break a}catch(e){}d=Array(16);for(b=0;16>b;b++){c=x();for(a=0;a<c%23;a++)d[b]=Math.random();d[b]=Math.floor(256*Math.random())}if(nh)for(b=1,c=0;c<nh.length;c++)d[b%16]=d[b%16]^d[(b-1)%16]/4^nh.charCodeAt(c),b++}b=[];for(c=0;c<d.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d[c]&
|
||||||
|
63));a=b.join("");Ah().nonce=a}return a}
|
||||||
|
function uh(){return Ah().tick}
|
||||||
|
function vh(){var a=Ah();"gel"in a||(a.gel={});return a.gel}
|
||||||
|
function Ah(){return t("ytcsi.data_")||Ch()}
|
||||||
|
function Ch(){var a={tick:{},info:{}};r("ytcsi.data_",a,void 0);return a}
|
||||||
|
function Eh(a,b){r("yt.timing."+(b||"")+"pingSent_",a,void 0)}
|
||||||
|
function Fh(){var a=uh(),b=a.pbr,c=a.vc,a=a.pbs;return b&&c&&a&&b<c&&c<a&&1==Ah().info.yt_pvis}
|
||||||
|
;function Gh(a,b){P.call(this);this.B=this.l=a;this.U=b;this.D=!1;this.g={};this.aa=this.T=null;this.V=new R;qd(this,w(rd,this.V));this.j={};this.L=this.ba=this.i=this.ia=this.b=null;this.X=!1;this.M=this.C=this.w=this.R=null;this.ca={};this.Da=["onReady"];this.Y=new Eg(this);qd(this,w(rd,this.Y));this.ga=null;this.pa=NaN;this.Z={};Hh(this);this.G("onDetailedError",v(this.Ta,this));this.G("onTabOrderChange",v(this.Fa,this));this.G("onTabAnnounce",v(this.qa,this));this.G("WATCH_LATER_VIDEO_ADDED",v(this.Ua,
|
||||||
|
this));this.G("WATCH_LATER_VIDEO_REMOVED",v(this.Va,this));ub||(this.G("onMouseWheelCapture",v(this.Ra,this)),this.G("onMouseWheelRelease",v(this.Sa,this)));this.G("onAdAnnounce",v(this.qa,this));this.N=new Eg(this);qd(this,w(rd,this.N));this.ha=!1;this.fa=null}
|
||||||
|
z(Gh,P);var Ih=["drm.unavailable","fmt.noneavailable","html5.missingapi","html5.unsupportedads","html5.unsupportedlive"];l=Gh.prototype;l.oa=function(a,b){this.f||(Jh(this,a),Kh(this,b),this.D&&Lh(this))};
|
||||||
|
function Jh(a,b){a.ia=b;a.b=Dg(b);a.i=a.b.attrs.id||a.i;"video-player"==a.i&&(a.i=a.U,a.b.attrs.id=a.U);a.B.id==a.i&&(a.i+="-player",a.b.attrs.id=a.i);a.b.args.enablejsapi="1";a.b.args.playerapiid=a.U;a.ba||(a.ba=Mh(a,a.b.args.jsapicallback||"onYouTubePlayerReady"));a.b.args.jsapicallback=null;var c=a.b.attrs.width;c&&(a.B.style.width=Sb(Number(c)||c));if(c=a.b.attrs.height)a.B.style.height=Sb(Number(c)||c)}
|
||||||
|
l.Ia=function(){return this.ia};
|
||||||
|
function Lh(a){a.b.loaded||(a.b.loaded=!0,"0"!=a.b.args.autoplay?a.g.loadVideoByPlayerVars(a.b.args):a.g.cueVideoByPlayerVars(a.b.args))}
|
||||||
|
function Nh(a){var b=a.b&&a.b.args&&a.b.args.fflags;if(b&&(0<=b.indexOf("web_player_disable_flash=true")||0<=b.indexOf("web_player_disable_flash_playerproxy=true")))return!1;if(!p(a.b.disable.flash)){var b=a.b.disable;var c=Ig(Hg.getInstance(),a.b.minVersion);b.flash=!c}return!a.b.disable.flash}
|
||||||
|
function Oh(a,b){var c;(c=!b)||(c=5!=(Og[b.errorCode]||5)?!1:(c=a.b&&a.b.args&&a.b.args.fflags)&&0<=c.indexOf("web_player_disable_flash_fallback=true")?!1:-1!=Ih.indexOf(b.errorCode));if(c&&Nh(a)){(c=Ph(a))&&c.stopVideo&&c.stopVideo();var d=a.b;c&&c.getUpdatedConfigurationData&&(c=c.getUpdatedConfigurationData(),d=Cg(c));d.args.autoplay=1;d.args.html5_unavailable="1";Jh(a,d);Kh(a,"flash")}}
|
||||||
|
function Kh(a,b){if(!a.f){if(!b){var c;if(!(c=!a.b.html5&&Nh(a))){if(!p(a.b.disable.html5)){c=!0;void 0!=a.b.args.deviceHasDisplay&&(c=a.b.args.deviceHasDisplay);if(2.2==Pg)var d=!0;else{a:{var e=c;c=t("yt.player.utils.videoElement_");c||(c=document.createElement("VIDEO"),r("yt.player.utils.videoElement_",c,void 0));try{if(c.canPlayType)for(var e=e?Xg:Yg,f=0;f<e.length;f++)if(c.canPlayType(e[f])){d=null;break a}d="fmt.noneavailable"}catch(g){d="html5.missingapi"}}d=!d}d&&(d=Qh(a)||a.b.assets.js);
|
||||||
|
a.b.disable.html5=!d;d||(a.b.args.html5_unavailable="1")}c=!!a.b.disable.html5}b=c?Nh(a)?"flash":"unsupported":"html5"}("flash"==b?a.lb:a.mb).call(a)}}
|
||||||
|
function Qh(a){var b=!0,c=Ph(a);c&&a.b&&(a=a.b,b=se(c,"version")==a.assets.js);return b&&!!t("yt.player.Application.create")}
|
||||||
|
l.mb=function(){if(!this.X){var a=Qh(this);if(a&&"html5"==Rh(this))this.L="html5",this.D||this.P();else if(Sh(this),this.L="html5",a&&this.w)this.l.appendChild(this.w),this.P();else{this.b.loaded=!0;var b=!1;this.R=v(function(){b=!0;var a=this.l,d=Dg(this.b);t("yt.player.Application.create")(a,d);this.P()},this);
|
||||||
|
this.X=!0;a?this.R():(Me(this.b.assets.js,this.R),Kg(this.b.assets.css),Th(this)&&!b&&r("yt.player.Application.create",null,void 0))}}};
|
||||||
|
l.lb=function(){var a=Dg(this.b);if(!this.C){var b=Ph(this);b&&(this.C=document.createElement("SPAN"),this.C.tabIndex=0,Fg(this.Y,this.C,"focus",this.ua),this.M=document.createElement("SPAN"),this.M.tabIndex=0,Fg(this.Y,this.M,"focus",this.ua),b.parentNode&&b.parentNode.insertBefore(this.C,b),b.parentNode&&b.parentNode.insertBefore(this.M,b.nextSibling))}a.attrs.width=a.attrs.width||"100%";a.attrs.height=a.attrs.height||"100%";if("flash"==Rh(this))this.L="flash",this.D||this.P();else{Sh(this);this.L=
|
||||||
|
"flash";this.b.loaded=!0;var b=Hg.getInstance(),c=(-1<b.i.indexOf("Gnash")&&-1==b.i.indexOf("AVM2")||9==b.b&&1==b.f||9==b.b&&0==b.f&&1==b.g?0:9<=b.b)||-1<navigator.userAgent.indexOf("Sony/COM2")&&!Ig(b,9,1,58)?a.url:a.urlV9As2;window!=window.top&&document.referrer&&(a.args.framer=document.referrer.substring(0,128));b=this.l;if(c){var b=q(b)?Mb(b):b,d=Ja(a.attrs);d.tabindex=0;var e=Ja(a.params);e.flashvars=Wb(a.args);if(me){d.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";e.movie=c;var a=document.createElement("object");
|
||||||
|
for(g in d)a.setAttribute(g,d[g]);for(var f in e){var g=document.createElement("param");g.setAttribute("name",f);g.setAttribute("value",e[f]);a.appendChild(g)}}else{d.type="application/x-shockwave-flash";d.src=c;a=document.createElement("embed");a.setAttribute("name",d.id);for(var h in d)a.setAttribute(h,d[h]);for(var k in e)a.setAttribute(k,e[k])}f=document.createElement("div");f.appendChild(a);b.innerHTML=f.innerHTML}this.P()}};
|
||||||
|
l.ua=function(){Ph(this).focus()};
|
||||||
|
function Ph(a){var b=Mb(a.i);!b&&a.B&&a.B.querySelector&&(b=a.B.querySelector("#"+a.i));return b}
|
||||||
|
l.P=function(){if(!this.f){var a=Ph(this),b=!1;try{a&&a.getApiInterface&&a.getApiInterface()&&(b=!0)}catch(f){}if(b)if(this.X=!1,a.isNotServable&&a.isNotServable(this.b.args.video_id))Oh(this);else{Hh(this);this.D=!0;a=Ph(this);a.addEventListener&&(this.T=Uh(this,a,"addEventListener"));a.removeEventListener&&(this.aa=Uh(this,a,"removeEventListener"));for(var b=a.getApiInterface(),b=b.concat(a.getInternalApiInterface()),c=0;c<b.length;c++){var d=b[c];this.g[d]||(this.g[d]=Uh(this,a,d))}for(var e in this.j)this.T(e,
|
||||||
|
this.j[e]);Lh(this);this.ba&&this.ba(this.g);this.V.W("onReady",this.g)}else this.pa=W(v(this.P,this),50)}};
|
||||||
|
function Uh(a,b,c){var d=b[c];return function(){try{return a.ga=null,d.apply(b,arguments)}catch(e){"Bad NPObject as private data!"!=e.message&&"sendAbandonmentPing"!=c&&(e.message+=" ("+c+")",a.ga=e,U(e,"WARNING"))}}}
|
||||||
|
function Hh(a){a.D=!1;if(a.aa)for(var b in a.j)a.aa(b,a.j[b]);for(var c in a.Z)window.clearTimeout(parseInt(c,10));a.Z={};a.T=null;a.aa=null;for(var d in a.g)a.g[d]=null;a.g.addEventListener=v(a.G,a);a.g.removeEventListener=v(a.bb,a);a.g.destroy=v(a.dispose,a);a.g.getLastError=v(a.Ja,a);a.g.getPlayerType=v(a.Ka,a);a.g.getCurrentVideoConfig=v(a.Ia,a);a.g.loadNewVideoConfig=v(a.oa,a);a.g.isReady=v(a.nb,a)}
|
||||||
|
l.nb=function(){return this.D};
|
||||||
|
l.G=function(a,b){if(!this.f){var c=Mh(this,b);if(c){if(!(0<=wa(this.Da,a)||this.j[a])){var d=Vh(this,a);this.T&&this.T(a,d)}this.V.subscribe(a,c);"onReady"==a&&this.D&&W(w(c,this.g),0)}}};
|
||||||
|
l.bb=function(a,b){if(!this.f){var c=Mh(this,b);c&&Zd(this.V,a,c)}};
|
||||||
|
function Mh(a,b){var c=b;if("string"==typeof b){if(a.ca[b])return a.ca[b];c=function(){var a=t(b);a&&a.apply(n,arguments)};
|
||||||
|
a.ca[b]=c}return c?c:null}
|
||||||
|
function Vh(a,b){var c="ytPlayer"+b+a.U;a.j[b]=c;n[c]=function(c){var d=W(function(){if(!a.f){a.V.W(b,c);var e=a.Z,g=String(d);g in e&&delete e[g]}},0);
|
||||||
|
Ia(a.Z,String(d))};
|
||||||
|
return c}
|
||||||
|
l.Fa=function(a){a=a?Ob:Nb;for(var b=a(document.activeElement);b&&(1!=b.nodeType||b==this.C||b==this.M||(b.focus(),b!=document.activeElement));)b=a(b)};
|
||||||
|
l.qa=function(a){Ce("a11y-announce",a)};
|
||||||
|
l.Ta=function(a){Oh(this,a)};
|
||||||
|
l.Ua=function(a){Ce("WATCH_LATER_VIDEO_ADDED",a)};
|
||||||
|
l.Va=function(a){Ce("WATCH_LATER_VIDEO_REMOVED",a)};
|
||||||
|
l.Ra=function(){if(!this.ha){if(yb){var a=document,b=a.scrollingElement?a.scrollingElement:eb||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement,a=a.parentWindow||a.defaultView;this.fa=bb&&rb("10")&&a.pageYOffset!=b.scrollTop?new Ca(b.scrollLeft,b.scrollTop):new Ca(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop);Fg(this.N,window,"scroll",this.Ya);Fg(this.N,this.l,"touchmove",this.Xa)}else Fg(this.N,this.l,"mousewheel",this.va),Fg(this.N,this.l,"wheel",this.va);this.ha=
|
||||||
|
!0}};
|
||||||
|
l.Sa=function(){Gg(this.N);this.ha=!1};
|
||||||
|
l.va=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
|
||||||
|
l.Ya=function(){window.scrollTo(this.fa.b,this.fa.f)};
|
||||||
|
l.Xa=function(a){a.preventDefault()};
|
||||||
|
l.Ka=function(){return this.L||Rh(this)};
|
||||||
|
l.Ja=function(){return this.ga};
|
||||||
|
function Rh(a){return(a=Ph(a))?"div"==a.tagName.toLowerCase()?"html5":"flash":null}
|
||||||
|
function Sh(a){th("dcp");a.cancel();Hh(a);a.L=null;a.b&&(a.b.loaded=!1);var b=Ph(a);"html5"==Rh(a)?Qh(a)||!Th(a)?a.w=b:(b&&b.destroy&&b.destroy(),a.w=null):b&&b.destroy&&b.destroy();for(var b=a.l,c;c=b.firstChild;)b.removeChild(c);Gg(a.Y);a.C=null;a.M=null}
|
||||||
|
l.cancel=function(){this.R&&Le(this.b.assets.js,this.R);window.clearTimeout(this.pa);this.X=!1};
|
||||||
|
l.o=function(){Sh(this);if(this.w&&this.b&&this.w.destroy)try{this.w.destroy()}catch(b){U(b)}this.ca=null;for(var a in this.j)n[this.j[a]]=null;this.ia=this.b=this.g=null;delete this.l;delete this.B;Gh.A.o.call(this)};
|
||||||
|
function Th(a){return a.b&&a.b.args&&a.b.args.fflags?-1!=a.b.args.fflags.indexOf("player_destroy_old_version=true"):!1}
|
||||||
|
;var Wh={},Xh="player_uid_"+(1E9*Math.random()>>>0);function Yh(a){var b="player",b=q(b)?Mb(b):b;a=Cg(a);var c=Xh+"_"+(b[na]||(b[na]=++oa)),d=Wh[c];if(d)return d.oa(a),d.g;d=new Gh(b,c);Wh[c]=d;Ce("player-added",d.g);qd(d,w(Zh,d));W(function(){d.oa(a)},0);
|
||||||
|
return d.g}
|
||||||
|
function Zh(a){Wh[a.U]=null}
|
||||||
|
;function $h(a,b,c){if(ma(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}}
|
||||||
|
function ai(a,b,c){q(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return $h(a)}
|
||||||
|
function bi(a,b,c,d){if(ma(a)&&!ja(a)){b="playlist list listType index startSeconds suggestedQuality".split(" ");c={};for(d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}b={index:b,startSeconds:c,suggestedQuality:d};q(a)&&16==a.length?b.list="PL"+a:b.playlist=a;return b}
|
||||||
|
function ci(a){var b=a.video_id||a.videoId;if(q(b)){var c=ag()||{},d=ag()||{};p(void 0)?d[b]=void 0:delete d[b];var e=x()+3E5,f=cg;if(f&&window.JSON){q(d)||(d=JSON.stringify(d,void 0));try{f.set("yt-player-two-stage-token",d,e)}catch(g){f.remove("yt-player-two-stage-token")}}(b=c[b])&&(a.two_stage_token=b)}}
|
||||||
|
function di(a){return(0==a.search("cue")||0==a.search("load"))&&"loadModule"!=a}
|
||||||
|
;function ei(a){P.call(this);this.g=a;this.g.subscribe("command",this.ya,this);this.i={};this.j=!1}
|
||||||
|
z(ei,P);l=ei.prototype;l.start=function(){this.j||this.f||(this.j=!0,fi(this.g,"RECEIVING"))};
|
||||||
|
l.ya=function(a,b){if(this.j&&!this.f){var c=b||{};switch(a){case "addEventListener":if(q(c.event)&&(c=c.event,!(c in this.i))){var d=v(this.eb,this,c);this.i[c]=d;this.addEventListener(c,d)}break;case "removeEventListener":q(c.event)&&gi(this,c.event);break;default:this.b.isReady()&&this.b[a]&&(c=hi(a,b||{}),c=this.b[a].apply(this.b,c),(c=ii(a,c))&&this.j&&!this.f&&fi(this.g,a,c))}}};
|
||||||
|
l.eb=function(a,b){this.j&&!this.f&&fi(this.g,a,this.ja(a,b))};
|
||||||
|
l.ja=function(a,b){if(null!=b)return{value:b}};
|
||||||
|
function gi(a,b){b in a.i&&(a.removeEventListener(b,a.i[b]),delete a.i[b])}
|
||||||
|
l.o=function(){var a=this.g;a.f||Zd(a.b,"command",this.ya,this);this.g=null;for(var b in this.i)gi(this,b);ei.A.o.call(this)};function ji(a,b){ei.call(this,b);this.b=a;this.start()}
|
||||||
|
z(ji,ei);ji.prototype.addEventListener=function(a,b){this.b.addEventListener(a,b)};
|
||||||
|
ji.prototype.removeEventListener=function(a,b){this.b.removeEventListener(a,b)};
|
||||||
|
function hi(a,b){switch(a){case "loadVideoById":return b=$h(b),ci(b),[b];case "cueVideoById":return b=$h(b),ci(b),[b];case "loadVideoByPlayerVars":return ci(b),[b];case "cueVideoByPlayerVars":return ci(b),[b];case "loadPlaylist":return b=bi(b),ci(b),[b];case "cuePlaylist":return b=bi(b),ci(b),[b];case "seekTo":return[b.seconds,b.allowSeekAhead];case "playVideoAt":return[b.index];case "setVolume":return[b.volume];case "setPlaybackQuality":return[b.suggestedQuality];case "setPlaybackRate":return[b.suggestedRate];
|
||||||
|
case "setLoop":return[b.loopPlaylists];case "setShuffle":return[b.shufflePlaylist];case "getOptions":return[b.module];case "getOption":return[b.module,b.option];case "setOption":return[b.module,b.option,b.value];case "handleGlobalKeyDown":return[b.keyCode,b.shiftKey]}return[]}
|
||||||
|
function ii(a,b){switch(a){case "isMuted":return{muted:b};case "getVolume":return{volume:b};case "getPlaybackRate":return{playbackRate:b};case "getAvailablePlaybackRates":return{availablePlaybackRates:b};case "getVideoLoadedFraction":return{videoLoadedFraction:b};case "getPlayerState":return{playerState:b};case "getCurrentTime":return{currentTime:b};case "getPlaybackQuality":return{playbackQuality:b};case "getAvailableQualityLevels":return{availableQualityLevels:b};case "getDuration":return{duration:b};
|
||||||
|
case "getVideoUrl":return{videoUrl:b};case "getVideoEmbedCode":return{videoEmbedCode:b};case "getPlaylist":return{playlist:b};case "getPlaylistIndex":return{playlistIndex:b};case "getOptions":return{options:b};case "getOption":return{option:b}}}
|
||||||
|
ji.prototype.ja=function(a,b){switch(a){case "onReady":return;case "onStateChange":return{playerState:b};case "onPlaybackQualityChange":return{playbackQuality:b};case "onPlaybackRateChange":return{playbackRate:b};case "onError":return{errorCode:b}}return ji.A.ja.call(this,a,b)};
|
||||||
|
ji.prototype.o=function(){ji.A.o.call(this);delete this.b};function ki(a,b,c,d){P.call(this);this.g=b||null;this.B="*";this.i=c||null;this.sessionId=null;this.channel=d||null;this.D=!!a;this.w=v(this.C,this);window.addEventListener("message",this.w)}
|
||||||
|
aa(ki,P);
|
||||||
|
ki.prototype.C=function(a){if(!("*"!=this.i&&a.origin!=this.i||this.g&&a.source!=this.g)&&q(a.data)){try{var b=zd(a.data)}catch(c){return}if(!(null==b||this.D&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "listening":"null"!=a.origin?this.i=this.B=a.origin:U(Error("MessageEvent origin is null"),"WARNING");this.g=a.source;this.sessionId=b.id;this.b&&(this.b(),this.b=null);break;case "command":this.j&&(this.l&&!(0<=wa(this.l,b.func))||this.j(b.func,
|
||||||
|
b.args))}}};
|
||||||
|
ki.prototype.sendMessage=function(a,b){var c=b||this.g;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=Ad(a);c.postMessage(d,this.B)}catch(e){U(e,"WARNING")}}};
|
||||||
|
ki.prototype.o=function(){window.removeEventListener("message",this.w);P.prototype.o.call(this)};function li(a,b,c){ki.call(this,a,b,c||T("POST_MESSAGE_ORIGIN",void 0)||window.document.location.protocol+"//"+window.document.location.hostname,"widget");this.l=this.b=this.j=null}
|
||||||
|
aa(li,ki);function mi(){var a=!!T("WIDGET_ID_ENFORCE"),a=this.f=new li(a),b=v(this.ab,this);a.j=b;a.l=null;this.f.channel="widget";if(a=T("WIDGET_ID"))this.f.sessionId=a;this.i=[];this.l=!1;this.j={}}
|
||||||
|
l=mi.prototype;l.ab=function(a,b){if("addEventListener"==a&&b){var c=b[0];this.j[c]||"onReady"==c||(this.addEventListener(c,ni(this,c)),this.j[c]=!0)}else this.Ba(a,b)};
|
||||||
|
l.Ba=function(){};
|
||||||
|
function ni(a,b){return v(function(a){this.sendMessage(b,a)},a)}
|
||||||
|
l.addEventListener=function(){};
|
||||||
|
l.Ha=function(){this.l=!0;this.sendMessage("initialDelivery",this.ka());this.sendMessage("onReady");C(this.i,this.Aa,this);this.i=[]};
|
||||||
|
l.ka=function(){return null};
|
||||||
|
function oi(a,b){a.sendMessage("infoDelivery",b)}
|
||||||
|
l.Aa=function(a){this.l?this.f.sendMessage(a):this.i.push(a)};
|
||||||
|
l.sendMessage=function(a,b){this.Aa({event:a,info:void 0==b?null:b})};
|
||||||
|
l.dispose=function(){this.f=null};function pi(a){mi.call(this);this.b=a;this.g=[];this.addEventListener("onReady",v(this.Wa,this));this.addEventListener("onVideoProgress",v(this.ib,this));this.addEventListener("onVolumeChange",v(this.jb,this));this.addEventListener("onApiChange",v(this.cb,this));this.addEventListener("onPlaybackQualityChange",v(this.fb,this));this.addEventListener("onPlaybackRateChange",v(this.gb,this));this.addEventListener("onStateChange",v(this.hb,this))}
|
||||||
|
z(pi,mi);l=pi.prototype;l.Ba=function(a,b){if(this.b[a]){b=b||[];if(0<b.length&&di(a)){var c=b;if(ma(c[0])&&!ja(c[0]))c=c[0];else{var d={};switch(a){case "loadVideoById":case "cueVideoById":d=$h.apply(window,c);break;case "loadVideoByUrl":case "cueVideoByUrl":d=ai.apply(window,c);break;case "loadPlaylist":case "cuePlaylist":d=bi.apply(window,c)}c=d}ci(c);b.length=1;b[0]=c}this.b[a].apply(this.b,b);di(a)&&oi(this,this.ka())}};
|
||||||
|
l.Wa=function(){var a=v(this.Ha,this);this.f.b=a};
|
||||||
|
l.addEventListener=function(a,b){this.g.push({eventType:a,listener:b});this.b.addEventListener(a,b)};
|
||||||
|
l.ka=function(){if(!this.b)return null;var a=this.b.getApiInterface();za(a,"getVideoData");for(var b={apiInterface:a},c=0,d=a.length;c<d;c++){var e=a[c],f=e;if(0==f.search("get")||0==f.search("is")){var f=e,g=0;0==f.search("get")?g=3:0==f.search("is")&&(g=2);f=f.charAt(g).toLowerCase()+f.substr(g+1);try{var h=this.b[e]();b[f]=h}catch(k){}}}b.videoData=this.b.getVideoData();b.currentTimeLastUpdated_=x()/1E3;return b};
|
||||||
|
l.hb=function(a){a={playerState:a,currentTime:this.b.getCurrentTime(),duration:this.b.getDuration(),videoData:this.b.getVideoData(),videoStartBytes:0,videoBytesTotal:this.b.getVideoBytesTotal(),videoLoadedFraction:this.b.getVideoLoadedFraction(),playbackQuality:this.b.getPlaybackQuality(),availableQualityLevels:this.b.getAvailableQualityLevels(),videoUrl:this.b.getVideoUrl(),playlist:this.b.getPlaylist(),playlistIndex:this.b.getPlaylistIndex(),currentTimeLastUpdated_:x()/1E3,playbackRate:this.b.getPlaybackRate(),
|
||||||
|
mediaReferenceTime:this.b.getMediaReferenceTime()};this.b.getProgressState&&(a.progressState=this.b.getProgressState());this.b.getStoryboardFormat&&(a.storyboardFormat=this.b.getStoryboardFormat());oi(this,a)};
|
||||||
|
l.fb=function(a){oi(this,{playbackQuality:a})};
|
||||||
|
l.gb=function(a){oi(this,{playbackRate:a})};
|
||||||
|
l.cb=function(){for(var a=this.b.getOptions(),b={namespaces:a},c=0,d=a.length;c<d;c++){var e=a[c],f=this.b.getOptions(e);b[e]={options:f};for(var g=0,h=f.length;g<h;g++){var k=f[g],m=this.b.getOption(e,k);b[e][k]=m}}this.sendMessage("apiInfoDelivery",b)};
|
||||||
|
l.jb=function(){oi(this,{muted:this.b.isMuted(),volume:this.b.getVolume()})};
|
||||||
|
l.ib=function(a){a={currentTime:a,videoBytesLoaded:this.b.getVideoBytesLoaded(),videoLoadedFraction:this.b.getVideoLoadedFraction(),currentTimeLastUpdated_:x()/1E3,playbackRate:this.b.getPlaybackRate(),mediaReferenceTime:this.b.getMediaReferenceTime()};this.b.getProgressState&&(a.progressState=this.b.getProgressState());oi(this,a)};
|
||||||
|
l.dispose=function(){pi.A.dispose.call(this);for(var a=0;a<this.g.length;a++){var b=this.g[a];this.b.removeEventListener(b.eventType,b.listener)}this.g=[]};function qi(){P.call(this);this.b=new R;qd(this,w(rd,this.b))}
|
||||||
|
z(qi,P);qi.prototype.subscribe=function(a,b,c){return this.f?0:this.b.subscribe(a,b,c)};
|
||||||
|
qi.prototype.K=function(a){return this.f?!1:this.b.K(a)};
|
||||||
|
qi.prototype.l=function(a,b){this.f||this.b.W.apply(this.b,arguments)};function ri(a,b,c){qi.call(this);this.g=a;this.i=b;this.j=c}
|
||||||
|
z(ri,qi);function fi(a,b,c){if(!a.f){var d=a.g;d.f||a.i!=d.b||(a={id:a.j,command:b},c&&(a.data=c),d.b.postMessage(Ad(a),d.i))}}
|
||||||
|
ri.prototype.o=function(){this.i=this.g=null;ri.A.o.call(this)};function si(a,b,c){P.call(this);this.b=a;this.i=c;this.j=Bf(window,"message",v(this.l,this));this.g=new ri(this,a,b);qd(this,w(rd,this.g))}
|
||||||
|
z(si,P);si.prototype.l=function(a){var b;if(b=!this.f)if(b=a.origin==this.i)a:{b=this.b;do{b:{var c=a.source;do{if(c==b){c=!0;break b}if(c==c.parent)break;c=c.parent}while(null!=c);c=!1}if(c){b=!0;break a}b=b.opener}while(null!=b);b=!1}if(b&&(a=a.data,q(a))){try{a=zd(a)}catch(d){return}a.command&&(b=this.g,b.f||b.l("command",a.command,a.data))}};
|
||||||
|
si.prototype.o=function(){Cf(this.j);this.b=null;si.A.o.call(this)};function ti(){var a=Ja(ui);return new Q(function(b,c){a.J=function(a){Ue(a)?b(a):c(new vi("Request failed, status="+a.status,"net.badstatus"))};
|
||||||
|
a.onError=function(){c(new vi("Unknown request error","net.unknown"))};
|
||||||
|
a.O=function(){c(new vi("Request timed out","net.timeout"))};
|
||||||
|
$e("//googleads.g.doubleclick.net/pagead/id",a)})}
|
||||||
|
function vi(a,b){B.call(this,a+", errorCode="+b);this.errorCode=b;this.name="PromiseAjaxError"}
|
||||||
|
aa(vi,B);function wi(a){B.call(this,a.message||a.description||a.name);this.b=a instanceof Pd}
|
||||||
|
aa(wi,B);wi.prototype.name="BiscottiError";function xi(){B.call(this,"Biscotti ID is missing from server")}
|
||||||
|
aa(xi,B);xi.prototype.name="BiscottiMissingError";function yi(a,b){this.f=a;this.b=b}
|
||||||
|
yi.prototype.then=function(a,b,c){try{if(p(this.f))return a?Ld(a.call(c,this.f)):Ld(this.f);if(p(this.b)){if(!b)return Md(this.b);var d=b.call(c,this.b);return!p(d)&&this.b.b?Md(this.b):Ld(d)}throw Error("Invalid Result state");}catch(e){return Md(e)}};
|
||||||
|
Gd(yi);var ui={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},zi=null;function Ai(){var a=T("PLAYER_CONFIG",void 0);if(a&&"1"==a.privembed)return Md(Error("Biscotti ID is not available in private embed mode"));zi||(zi=Od(ti().then(Bi),function(a){return Ci(2,a)}));
|
||||||
|
return zi}
|
||||||
|
function Bi(a){a=a.responseText;if(0!=a.lastIndexOf(")]}'",0))throw new xi;a=JSON.parse(a.substr(4));if((Ea(window,"settings","experiments","flags","html5_serverside_ignore_biscotti_id_on_retry")||T("EXP_HTML5_SERVERSIDE_IGNORE_BISCOTTI_ID_ON_RETRY",!1)||V("html5_serverside_ignore_biscotti_id_on_retry"))&&1<(a.type||1))throw new xi;a=a.id;Di(a);zi=new yi(a);Ei(18E5,2);return a}
|
||||||
|
function Ci(a,b){var c=new wi(b);Di("");zi=new yi(void 0,c);0<a&&Ei(12E4,a-1);throw c;}
|
||||||
|
function Ei(a,b){W(function(){Od(ti().then(Bi,function(a){return Ci(b,a)}),u)},a)}
|
||||||
|
function Di(a){r("yt.ads.biscotti.lastId_",a,void 0)}
|
||||||
|
;function Fi(){}
|
||||||
|
function Gi(a){var b=T("PLAYER_CONFIG",void 0);if(!b||"1"!=b.privembed){a&&!t("yt.ads.biscotti.getId_")&&r("yt.ads.biscotti.getId_",Ai,void 0);try{try{var c=t("yt.ads.biscotti.getId_");var d=c?c():Ai()}catch(e){d=Md(e)}d.then(Hi,Fi);W(Gi,18E5)}catch(e){U(e)}}}
|
||||||
|
var Ii=0;
|
||||||
|
function Hi(a){a:{try{var b=window.top.location.href}catch(G){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}b={dt:fc,flash:Wa||"0",frm:b};b.u_tz=-(new Date).getTimezoneOffset();try{var c=A.history.length}catch(G){c=0}b.u_his=c;b.u_java=!!A.navigator&&"unknown"!==typeof A.navigator.javaEnabled&&!!A.navigator.javaEnabled&&A.navigator.javaEnabled();A.screen&&(b.u_h=A.screen.height,b.u_w=A.screen.width,b.u_ah=A.screen.availHeight,b.u_aw=A.screen.availWidth,b.u_cd=A.screen.colorDepth);A.navigator&&
|
||||||
|
A.navigator.plugins&&(b.u_nplug=A.navigator.plugins.length);A.navigator&&A.navigator.mimeTypes&&(b.u_nmime=A.navigator.mimeTypes.length);b.bid=a;b.ca_type=Va?"flash":"image";if(V("enable_server_side_search_pyv")||V("enable_server_side_mweb_search_pyv")){a=window;try{var d=a.screenX;var e=a.screenY}catch(G){}try{var f=a.outerWidth;var g=a.outerHeight}catch(G){}try{var h=a.innerWidth;var k=a.innerHeight}catch(G){}k=[a.screenLeft,a.screenTop,d,e,a.screen?a.screen.availWidth:void 0,a.screen?a.screen.availTop:
|
||||||
|
void 0,f,g,h,k];h=window.top||A;try{if(h.document&&!h.document.body)var m=new Da(-1,-1);else{var y=(h||window).document,D="CSS1Compat"==y.compatMode?y.documentElement:y.body;m=(new Da(D.clientWidth,D.clientHeight)).round()}var N=m}catch(G){N=new Da(-12245933,-12245933)}m=0;window.SVGElement&&document.createElementNS&&(m|=1);N={bc:m,bih:N.height,biw:N.width,brdim:k.join(),vis:{visible:1,hidden:2,prerender:3,preview:4}[ra.webkitVisibilityState||ra.mozVisibilityState||ra.visibilityState||""]||0,wgl:!!A.WebGLRenderingContext};
|
||||||
|
for(var ta in N)b[ta]=N[ta]}b.bsq=Ii++;ff("//www.youtube.com/ad_data_204",{La:!1,F:b})}
|
||||||
|
;function Ji(){this.b=T("ALT_PREF_COOKIE_NAME","PREF");var a=vc.get(""+this.b,void 0);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])&&(Z[d]=c.toString())}}
|
||||||
|
ha(Ji);var Z=t("yt.prefs.UserPrefs.prefs_")||{};r("yt.prefs.UserPrefs.prefs_",Z,void 0);function Ki(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);}
|
||||||
|
function Li(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);}
|
||||||
|
function Mi(a){a=void 0!==Z[a]?Z[a].toString():null;return null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null}
|
||||||
|
Ji.prototype.get=function(a,b){Li(a);Ki(a);var c=void 0!==Z[a]?Z[a].toString():null;return null!=c?c:b?b:""};
|
||||||
|
Ji.prototype.set=function(a,b){Li(a);Ki(a);if(null==b)throw Error("ExpectedNotNull");Z[a]=b.toString()};
|
||||||
|
Ji.prototype.remove=function(a){Li(a);Ki(a);delete Z[a]};
|
||||||
|
Ji.prototype.clear=function(){Z={}};var Ni=null,Oi=null,Pi=null,Qi={};function Ri(a){Wf(a.payload_name,a.payload,V("enable_youtubei_innertube")?wg:sg,void 0,void 0)}
|
||||||
|
function Si(a){var b=a.id;a=a.ve_type;var c=If++;a=new Hf(void 0,a,c,void 0,void 0);Qi[b]=a;b=gg();c=fg();b&&c&&Xf(xg(),b,c,a)}
|
||||||
|
function Ti(a){var b=a.csn;a=a.root_ve_type;if(b&&a&&(S("client-screen-nonce",b),S("ROOT_VE_TYPE",a),a=fg()))for(var c in Qi){var d=Qi[c];if(d){var e=b,f=a;Xf(xg(),e,f,d)}}}
|
||||||
|
function Ui(a){Qi[a.id]=new Hf(a.tracking_params)}
|
||||||
|
function Vi(a){var b=gg();a=Qi[a.id];if(b&&a){var c=xg();Yf(c,{click:{csn:b,visualElement:Jf(a)}},void 0)}}
|
||||||
|
function Wi(a){a=a.ids;var b=gg();if(b){for(var c=[],d=0;d<a.length;d++){var e=Qi[a[d]];e&&c.push(e)}c.length&&Zf(xg(),b,c)}}
|
||||||
|
function Xi(){var a=Ni;a&&a.startInteractionLogging&&a.startInteractionLogging()}
|
||||||
|
;r("yt.setConfig",S,void 0);r("yt.config.set",S,void 0);r("yt.setMsg",pf,void 0);r("yt.msgs.set",pf,void 0);r("yt.logging.errors.log",lf,void 0);
|
||||||
|
r("writeEmbed",function(){var a=T("PLAYER_CONFIG",void 0);Gi(!0);"gvn"==a.args.ps&&(document.body.style.backgroundColor="transparent");var b=document.referrer,c=T("POST_MESSAGE_ORIGIN");window!=window.top&&b&&b!=document.URL&&(a.args.loaderUrl=b);T("LIGHTWEIGHT_AUTOPLAY")&&(a.args.autoplay="1");a.args.autoplay&&ci(a.args);Ni=a=Yh(a);a.addEventListener("onScreenChanged",Ti);a.addEventListener("onLogClientVeCreated",Si);a.addEventListener("onLogServerVeCreated",Ui);a.addEventListener("onLogToGel",Ri);
|
||||||
|
a.addEventListener("onLogVeClicked",Vi);a.addEventListener("onLogVesShown",Wi);a.addEventListener("onReady",Xi);b=T("POST_MESSAGE_ID","player");T("ENABLE_JS_API")?Pi=new pi(a):T("ENABLE_POST_API")&&q(b)&&q(c)&&(Oi=new si(window.parent,b,c),Pi=new ji(a,Oi.g));T("BG_P")&&(T("BG_I")||T("BG_IU"))&&Oe();tf()},void 0);
|
||||||
|
r("yt.www.watch.ads.restrictioncookie.spr",function(a){jf(a+"mac_204?action_fcts=1");return!0},void 0);
|
||||||
|
var Yi=pe(function(){th("ol");var a=Ji.getInstance(),b=1<window.devicePixelRatio;if(!!((Mi("f"+(Math.floor(119/31)+1))||0)&67108864)!=b){var c="f"+(Math.floor(119/31)+1),d=Mi(c)||0,d=b?d|67108864:d&-67108865;0==d?delete Z[c]:Z[c]=d.toString(16).toString();var a=a.b,b=[],e;for(e in Z)b.push(e+"="+escape(Z[e]));vc.set(""+a,b.join("&"),63072E3,"/","youtube.com")}}),Zi=pe(function(){var a=Ni;
|
||||||
|
a&&a.sendAbandonmentPing&&a.sendAbandonmentPing();T("PL_ATT")&&(Ne=null);for(var a=0,b=rf.length;a<b;a++){var c=rf[a];if(!isNaN(c)){var d=t("yt.scheduler.instance.cancelJob");d?d(c):window.clearTimeout(c)}}rf.length=0;Ke("//static.doubleclick.net/instream/ad_status.js");sf=!1;S("DCLKSTAT",0);sd(Pi,Oi);if(a=Ni)a.removeEventListener("onScreenChanged",Ti),a.removeEventListener("onLogClientVeCreated",Si),a.removeEventListener("onLogServerVeCreated",Ui),a.removeEventListener("onLogToGel",Ri),a.removeEventListener("onLogVeClicked",
|
||||||
|
Vi),a.removeEventListener("onLogVesShown",Wi),a.removeEventListener("onReady",Xi),a.destroy();Qi={}});
|
||||||
|
window.addEventListener?(window.addEventListener("load",Yi),window.addEventListener("unload",Zi)):window.attachEvent&&(window.attachEvent("onload",Yi),window.attachEvent("onunload",Zi));}).call(this);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
.copynotice-viewing-restriction-content,.copynotice-advertising-content,.copynotice-viewing-restriction-title,.copynotice-advertising-title,.copynotice-account-standing-title,.copynotice-account-standing-content{display:block}.copynotice-viewing-restriction-title,.copynotice-account-standing-title,.copynotice-advertising-title{margin-top:2px;text-transform:uppercase}.copynotice-top-section,.copynotice-header-message,.copynotice-header-note,.copynotice-note{padding-bottom:15px}.creator-editor-title,.copynotice-video-pane{padding-left:10px}.copynotice-top-section,.copynotice-video-pane,.copynotice-video-info{min-height:300px}.copynotice-video-pane,.copynotice-viewing-restriction-title,.copynotice-account-standing-title,.copynotice-advertising-title{float:left}.copynotice-viewing-restriction-title{padding-bottom:30px;width:200px}.copynotice-advertising-content,.copynotice-account-standing-content{padding-bottom:30px}.copynotice-viewing-restriction-content,.copynotice-advertising-content,.copynotice-account-standing-content{float:right;width:253px}.copynotice-viewing-restriction-content{padding-bottom:25px}.copynotice-advertising-title,.copynotice-account-standing-title{clear:both;padding-bottom:35px;width:200px}.copynotice-viewing-restriction-title,.copynotice-account-standing-title,.copynotice-advertising-title{font-size:13px;font-weight:500}.copynotice-top-section{color:#333;overflow:auto}.copynotice-video-pane{width:500px}.copynotice-video-info{float:right;width:453px}.copynotice-video-rejected-player{background:linear-gradient(to bottom,#383838 0,#131313 100%);height:292px;width:464px}.copynotice-video-rejected-icon{background:url(//s.ytimg.com/yts/img/meh7-vflGevej7.png);background-size:100px 80px;height:80px;margin:70px 0 0 182px;width:100px}.copynotice-video-rejected-message,.copynotice-video-rejected-apology{color:#fff}.copynotice-video-rejected-message{border-bottom:1px solid #888;margin-left:20px;padding:20px 0 6px;width:424px}.copynotice-video-rejected-apology{padding:6px 0 0 20px}.copynotice-header-message{font-size:18px;font-weight:500;line-height:25px}.copynotice-header-description-container{font-size:13px;line-height:20px;padding-bottom:20px}.copynotice-header-note{clear:left;float:left;line-height:20px}.copynotice-note{float:left;font-weight:500;line-height:20px}.copynotice-claim-info{color:#333;padding:50px 0}.copynotice-claim-details-title{font-size:18px;padding:0 0 20px 10px}.copynotice-claim-details-table tr{border-bottom:1px solid #e2e2e2;height:30px;text-align:left}.copynotice-claim-details-table tr:not(:first-child){height:80px}.copynotice-claim-details-table tr th{padding-left:12px;width:250px}.copynotice-claim-details-table td{padding:10px 12px 10px 10px}.copynotice-claim-table-policy,.copynotice-options{line-height:20px}.copynotice-statuses{line-height:20px;list-style:none}.copynotice-claim-asset-title{font-weight:500}.copynotice-audio-library-link-container{padding:25px 0 0 10px}.copynotice-status{color:#555}.copynotice-claim-details-table-heading{text-transform:uppercase}.copynotice-claim-owners.owner-list-state-collapsed .copynotice-collapsed-owner,.copynotice-claim-owners.owner-list-state-collapsed .copynotice-owner-list-collapse,.copynotice-owner-list-expand{display:none}.copynotice-claim-owners.owner-list-state-collapsed .copynotice-owner-list-expand{display:inline}.copynotice-claim-owners-delegate,.copynotice-claim-owners-email{word-wrap:break-word}.creator-editor-icon-copyright img{height:18px;margin-top:3px;width:17px}.copynotice-info-tooltip,.copynotice-info-target{display:inline-block}.copynotice-info-tooltip{vertical-align:sub}.copynotice-info-target{display:inline-block;opacity:.4;background:no-repeat url(//s.ytimg.com/yts/imgbin/www-hitchhiker-vflNVER5Q.webp) -565px -88px;background-size:auto;width:16px;height:16px}.copynotice-cancel-appeal-title,.copynotice-cancel-appeal-main-message{padding-bottom:20px}.copynotice-cancel-appeal-content{height:230px;padding-top:20px;width:580px}.copynotice-cancel-appeal-title{font-size:16px}.copynotice-cancel-appeal-match-info{line-height:20px;padding-bottom:40px}.copynotice-cancel-appeal-agreement{padding-bottom:100px}.copynotice-cancel-appeal-confirmation{background-color:#f1f1f1;height:30px;margin:-20px;padding:10px 0 15px 20px}.copynotice-cancel-appeal-confirm-button{margin:5px 0 0 226px}.copynotice-delayed-takedown{float:right;width:453px}.copynotice-delayed-takedown-body-bold,.copynotice-delayed_takedown-title{font-weight:500}.copynotice-delayed-takedown-title,.copynotice-delayed-takedown-description,.copynotice-delayed-takedown-body,.copynotice-delayed-takedown-body-bold{padding-bottom:15px}.copynotice-delayed-takedown-description{color:#cc181e}.video-copynotice-deleted-content,.video-copynotice-deleted-nav{width:1003px}.video-copynotice-deleted-nav-tabs{margin-left:-17px}.video-copynotice-deleted-header{padding-top:15px}
|
@ -0,0 +1,641 @@
|
|||||||
|
(function(){var k;function aa(a,b){function c(){}
|
||||||
|
c.prototype=b.prototype;a.D=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 ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ca="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
|
||||||
|
function da(a,b){if(b){for(var c=ca,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&&ba(c,d,{configurable:!0,writable:!0,value:f})}}
|
||||||
|
da("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,g=Math.max(0,Math.min(c|0,b.length)),h=0;h<f&&g<e;)if(b[g++]!=a[h++])return!1;return h>=f}});
|
||||||
|
da("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 ea="function"==typeof Object.create?Object.create:function(a){function b(){}
|
||||||
|
b.prototype=a;return new b};
|
||||||
|
da("Reflect.construct",function(a){return a?a:function(a,c,d){void 0===d&&(d=a);d=ea(d.prototype||Object.prototype);return Reflect.apply(a,d,c)||d}});
|
||||||
|
var n=this;function q(a){return void 0!==a}
|
||||||
|
function t(a){return"string"==typeof a}
|
||||||
|
function u(a,b){for(var c=a.split("."),d=b||n,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d}
|
||||||
|
function fa(){}
|
||||||
|
function ga(a){a.la=void 0;a.B=function(){return a.la?a.la:a.la=new a}}
|
||||||
|
function ha(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 ia(a){return"array"==ha(a)}
|
||||||
|
function ja(a){var b=ha(a);return"array"==b||"object"==b&&"number"==typeof a.length}
|
||||||
|
function ka(a){return"function"==ha(a)}
|
||||||
|
function la(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
|
||||||
|
function ma(a){return a[na]||(a[na]=++oa)}
|
||||||
|
var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)}
|
||||||
|
function qa(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 v(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v=pa:v=qa;return v.apply(null,arguments)}
|
||||||
|
function ra(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)}}
|
||||||
|
var sa=Date.now||function(){return+new Date};
|
||||||
|
function w(a,b){var c=a.split("."),d=n;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&q(b)?d[e]=b:d[e]&&d[e]!==Object.prototype[e]?d=d[e]:d=d[e]={}}
|
||||||
|
function x(a,b){function c(){}
|
||||||
|
c.prototype=b.prototype;a.D=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Hb=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 ta(a,b,c){for(var d in a)b.call(c,a[d],d,a)}
|
||||||
|
function ua(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}
|
||||||
|
function va(a){var b=wa,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}
|
||||||
|
function xa(){var a=ya,b;for(b in a)return!1;return!0}
|
||||||
|
function za(a,b){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=!0}
|
||||||
|
function Aa(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
||||||
|
var Ba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ca(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<Ba.length;f++)c=Ba[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
|
||||||
|
;function Da(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Da);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}
|
||||||
|
x(Da,Error);Da.prototype.name="CustomError";var Ea;var Fa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
|
||||||
|
function Ga(a,b){for(var c=0,d=Fa(String(a)).split("."),e=Fa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",l=e[g]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==h[0].length&&0==l[0].length)break;c=Ha(0==h[1].length?0:parseInt(h[1],10),0==l[1].length?0:parseInt(l[1],10))||Ha(0==h[2].length,0==l[2].length)||Ha(h[2],l[2]);h=h[3];l=l[3]}while(0==c)}return c}
|
||||||
|
function Ha(a,b){return a<b?-1:a>b?1:0}
|
||||||
|
function Ia(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b}
|
||||||
|
function Ja(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}
|
||||||
|
function Ka(a){var b=t(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 La=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(t(a))return t(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},y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=t(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ma=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,g=t(a)?a.split(""):a,h=0;h<d;h++)if(h in g){var l=g[h];
|
||||||
|
b.call(c,l,h,a)&&(e[f++]=l)}return e},Na=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=t(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));
|
||||||
|
return e},Oa=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=t(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
|
||||||
|
return!1};
|
||||||
|
function Pa(a,b){a:{var c=a.length;for(var d=t(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){c=e;break a}c=-1}return 0>c?null:t(a)?a.charAt(c):a[c]}
|
||||||
|
function Qa(a,b){return 0<=La(a,b)}
|
||||||
|
function Ra(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 Sa(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ja(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}
|
||||||
|
function Ta(a,b,c,d){Array.prototype.splice.apply(a,Ua(arguments,1))}
|
||||||
|
function Ua(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
||||||
|
function Va(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(ia(d))for(var e=0;e<d.length;e+=8192)for(var f=Va.apply(null,Ua(d,e,e+8192)),g=0;g<f.length;g++)b.push(f[g]);else b.push(d)}return b}
|
||||||
|
;function Wa(){this.b="";this.f=Xa}
|
||||||
|
Wa.prototype.X=!0;Wa.prototype.W=function(){return this.b};
|
||||||
|
Wa.prototype.toString=function(){return"Const{"+this.b+"}"};
|
||||||
|
var Xa={};function Ya(a){var b=new Wa;b.b=a;return b}
|
||||||
|
Ya("");function Za(){this.b="";this.f=ab}
|
||||||
|
Za.prototype.X=!0;Za.prototype.W=function(){return this.b};
|
||||||
|
function bb(a){return a instanceof Za&&a.constructor===Za&&a.f===ab?a.b:"type_error:TrustedResourceUrl"}
|
||||||
|
var ab={};function cb(a){var b=new Za;b.b=a;return b}
|
||||||
|
;function db(){this.b="";this.f=eb}
|
||||||
|
db.prototype.X=!0;db.prototype.W=function(){return this.b};
|
||||||
|
function fb(a){return a instanceof db&&a.constructor===db&&a.f===eb?a.b:"type_error:SafeUrl"}
|
||||||
|
var gb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function hb(a){if(a instanceof db)return a;a=a.X?a.W():String(a);gb.test(a)||(a="about:invalid#zClosurez");return ib(a)}
|
||||||
|
var eb={};function ib(a){var b=new db;b.b=a;return b}
|
||||||
|
ib("about:blank");var jb;a:{var kb=n.navigator;if(kb){var lb=kb.userAgent;if(lb){jb=lb;break a}}jb=""}function z(a){return-1!=jb.indexOf(a)}
|
||||||
|
;function mb(){return z("Safari")&&!(nb()||z("Coast")||z("Opera")||z("Edge")||z("Silk")||z("Android"))}
|
||||||
|
function nb(){return(z("Chrome")||z("CriOS"))&&!z("Edge")}
|
||||||
|
;function ob(){this.b="";this.f=pb}
|
||||||
|
ob.prototype.X=!0;ob.prototype.W=function(){return this.b};
|
||||||
|
function qb(a){return a instanceof ob&&a.constructor===ob&&a.f===pb?a.b:"type_error:SafeHtml"}
|
||||||
|
var pb={};function rb(a){var b=new ob;b.b=a;return b}
|
||||||
|
rb("<!DOCTYPE html>");rb("");rb("<br>");function sb(a,b){var c=b instanceof db?b:hb(b);a.href=fb(c)}
|
||||||
|
function tb(a,b){a.src=bb(b)}
|
||||||
|
;function ub(){return z("iPhone")&&!z("iPod")&&!z("iPad")}
|
||||||
|
;function vb(a){vb[" "](a);return a}
|
||||||
|
vb[" "]=fa;function wb(a,b){var c=xb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}
|
||||||
|
;var yb=z("Opera"),A=z("Trident")||z("MSIE"),zb=z("Edge"),Ab=zb||A,Bb=z("Gecko")&&!(-1!=jb.toLowerCase().indexOf("webkit")&&!z("Edge"))&&!(z("Trident")||z("MSIE"))&&!z("Edge"),Cb=-1!=jb.toLowerCase().indexOf("webkit")&&!z("Edge");function Db(){var a=n.document;return a?a.documentMode:void 0}
|
||||||
|
var Eb;a:{var Fb="",Gb=function(){var a=jb;if(Bb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(zb)return/Edge\/([\d\.]+)/.exec(a);if(A)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Cb)return/WebKit\/(\S+)/.exec(a);if(yb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
|
||||||
|
Gb&&(Fb=Gb?Gb[1]:"");if(A){var Hb=Db();if(null!=Hb&&Hb>parseFloat(Fb)){Eb=String(Hb);break a}}Eb=Fb}var Ib=Eb,xb={};function Jb(a){return wb(a,function(){return 0<=Ga(Ib,a)})}
|
||||||
|
var Kb;var Lb=n.document;Kb=Lb&&A?Db()||("CSS1Compat"==Lb.compatMode?parseInt(Ib,10):5):void 0;function Mb(a,b,c){this.j=c;this.g=a;this.m=b;this.f=0;this.b=null}
|
||||||
|
Mb.prototype.get=function(){if(0<this.f){this.f--;var a=this.b;this.b=a.next;a.next=null}else a=this.g();return a};
|
||||||
|
function Nb(a,b){a.m(b);a.f<a.j&&(a.f++,b.next=a.b,a.b=b)}
|
||||||
|
;function Ob(a){n.setTimeout(function(){throw a;},0)}
|
||||||
|
var Pb;
|
||||||
|
function Qb(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("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=v(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&&!z("Trident")&&!z("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(q(c.next)){c=c.next;var a=c.ra;c.ra=null;a()}};
|
||||||
|
return function(a){d.next={ra: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){n.setTimeout(a,0)}}
|
||||||
|
;function Rb(){this.f=this.b=null}
|
||||||
|
var Tb=new Mb(function(){return new Sb},function(a){a.reset()},100);
|
||||||
|
Rb.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.f=null),a.next=null);return a};
|
||||||
|
function Sb(){this.next=this.scope=this.b=null}
|
||||||
|
Sb.prototype.set=function(a,b){this.b=a;this.scope=b;this.next=null};
|
||||||
|
Sb.prototype.reset=function(){this.next=this.scope=this.b=null};function Ub(a,b){Vb||Wb();Xb||(Vb(),Xb=!0);var c=Yb,d=Tb.get();d.set(a,b);c.f?c.f.next=d:c.b=d;c.f=d}
|
||||||
|
var Vb;function Wb(){if(-1!=String(n.Promise).indexOf("[native code]")){var a=n.Promise.resolve(void 0);Vb=function(){a.then(Zb)}}else Vb=function(){var a=Zb;
|
||||||
|
!ka(n.setImmediate)||n.Window&&n.Window.prototype&&!z("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(Pb||(Pb=Qb()),Pb(a)):n.setImmediate(a)}}
|
||||||
|
var Xb=!1,Yb=new Rb;function Zb(){for(var a;a=Yb.remove();){try{a.b.call(a.scope)}catch(b){Ob(b)}Nb(Tb,a)}Xb=!1}
|
||||||
|
;function B(a,b){this.b=0;this.u=void 0;this.j=this.f=this.g=null;this.m=this.o=!1;if(a!=fa)try{var c=this;a.call(b,function(a){$b(c,2,a)},function(a){$b(c,3,a)})}catch(d){$b(this,3,d)}}
|
||||||
|
function ac(){this.next=this.context=this.f=this.g=this.b=null;this.j=!1}
|
||||||
|
ac.prototype.reset=function(){this.context=this.f=this.g=this.b=null;this.j=!1};
|
||||||
|
var bc=new Mb(function(){return new ac},function(a){a.reset()},100);
|
||||||
|
function cc(a,b,c){var d=bc.get();d.g=a;d.f=b;d.context=c;return d}
|
||||||
|
function dc(a){if(a instanceof B)return a;var b=new B(fa);$b(b,2,a);return b}
|
||||||
|
B.prototype.then=function(a,b,c){return ec(this,ka(a)?a:null,ka(b)?b:null,c)};
|
||||||
|
B.prototype.then=B.prototype.then;B.prototype.$goog_Thenable=!0;B.prototype.cancel=function(a){0==this.b&&Ub(function(){var b=new fc(a);gc(this,b)},this)};
|
||||||
|
function gc(a,b){if(0==a.b)if(a.g){var c=a.g;if(c.f){for(var d=0,e=null,f=null,g=c.f;g&&(g.j||(d++,g.b==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.b&&1==d?gc(c,b):(f?(d=f,d.next==c.j&&(c.j=d),d.next=d.next.next):hc(c),ic(c,e,3,b)))}a.g=null}else $b(a,3,b)}
|
||||||
|
function jc(a,b){a.f||2!=a.b&&3!=a.b||kc(a);a.j?a.j.next=b:a.f=b;a.j=b}
|
||||||
|
function ec(a,b,c,d){var e=cc(null,null,null);e.b=new B(function(a,g){e.g=b?function(c){try{var e=b.call(d,c);a(e)}catch(m){g(m)}}:a;
|
||||||
|
e.f=c?function(b){try{var e=c.call(d,b);!q(e)&&b instanceof fc?g(b):a(e)}catch(m){g(m)}}:g});
|
||||||
|
e.b.g=a;jc(a,e);return e.b}
|
||||||
|
B.prototype.A=function(a){this.b=0;$b(this,2,a)};
|
||||||
|
B.prototype.F=function(a){this.b=0;$b(this,3,a)};
|
||||||
|
function $b(a,b,c){if(0==a.b){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.b=1;a:{var d=c,e=a.A,f=a.F;if(d instanceof B){jc(d,cc(e||fa,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(la(d))try{var l=d.then;if(ka(l)){lc(d,l,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.u=c,a.b=b,a.g=null,kc(a),3!=b||c instanceof fc||mc(a,c))}}
|
||||||
|
function lc(a,b,c,d,e){function f(a){h||(h=!0,d.call(e,a))}
|
||||||
|
function g(a){h||(h=!0,c.call(e,a))}
|
||||||
|
var h=!1;try{b.call(a,g,f)}catch(l){f(l)}}
|
||||||
|
function kc(a){a.o||(a.o=!0,Ub(a.w,a))}
|
||||||
|
function hc(a){var b=null;a.f&&(b=a.f,a.f=b.next,b.next=null);a.f||(a.j=null);return b}
|
||||||
|
B.prototype.w=function(){for(var a;a=hc(this);)ic(this,a,this.b,this.u);this.o=!1};
|
||||||
|
function ic(a,b,c,d){if(3==c&&b.f&&!b.j)for(;a&&a.m;a=a.g)a.m=!1;if(b.b)b.b.g=null,nc(b,c,d);else try{b.j?b.g.call(b.context):nc(b,c,d)}catch(e){oc.call(null,e)}Nb(bc,b)}
|
||||||
|
function nc(a,b,c){2==b?a.g.call(a.context,c):a.f&&a.f.call(a.context,c)}
|
||||||
|
function mc(a,b){a.m=!0;Ub(function(){a.m&&oc.call(null,b)})}
|
||||||
|
var oc=Ob;function fc(a){Da.call(this,a)}
|
||||||
|
x(fc,Da);fc.prototype.name="cancel";function pc(a){this.b=a;a.then(v(function(){},this))}
|
||||||
|
function qc(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=rc(a,b).then(function(a){return a.apply(null,d)});
|
||||||
|
return new pc(e)}
|
||||||
|
var sc={};function rc(a,b){var c=sc[b];if(c)return c;c=(c=u(b))?dc(c):(new B(function(b,c){var d=document.createElement("script");d.async=!0;tb(d,cb(a instanceof Wa&&a.constructor===Wa&&a.f===Xa?a.b:"type_error:Const"));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=u(b);
|
||||||
|
if(!c)throw Error("Failed to load "+b+" from "+a);return c});
|
||||||
|
return sc[b]=c}
|
||||||
|
function tc(a,b){a.b.then(function(a){var c=a.startHelp;if(!c)throw Error("Method not found: startHelp");return c.apply(a,b)})}
|
||||||
|
;function uc(a){this.b=a}
|
||||||
|
var vc=Ya("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");uc.prototype.f=function(a){tc(this.b,arguments)};function wc(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}
|
||||||
|
;function xc(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;r=m=0}
|
||||||
|
function b(a){for(var b=g,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],h=e[3],l=e[4],m,r,c=0;80>c;c++)40>c?20>c?(m=h^d&(f^h),r=1518500249):(m=d^f^h,r=1859775393):60>c?(m=d&f|h&(d|f),r=2400959708):(m=d^f^h,r=3395469782),m=((a<<5|a>>>27)&4294967295)+m+l+r+b[c]&4294967295,l=h,h=f,f=(d<<30|d>>>2)&4294967295,d=a,a=m;e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;
|
||||||
|
e[3]=e[3]+h&4294967295;e[4]=e[4]+l&4294967295}
|
||||||
|
function c(a,c){if("string"===typeof a){a=unescape(encodeURIComponent(a));for(var d=[],e=0,g=a.length;e<g;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==m)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,r+=64;for(;d<c;)if(f[m++]=a[d++],r++,64==m)for(m=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,r+=64}
|
||||||
|
function d(){var a=[],d=8*r;56>m?c(h,56-m):c(h,64-(m-56));for(var g=63;56<=g;g--)f[g]=d&255,d>>>=8;b(f);for(g=d=0;5>g;g++)for(var l=24;0<=l;l-=8)a[d++]=e[g]>>l&255;return a}
|
||||||
|
for(var e=[],f=[],g=[],h=[128],l=1;64>l;++l)h[l]=0;var m,r;a();return{reset:a,update:c,digest:d,Pa: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 yc(a,b,c){var d=[],e=[];if(1==(ia(c)?2:1))return e=[b,a],y(d,function(a){e.push(a)}),zc(e.join(" "));
|
||||||
|
var f=[],g=[];y(c,function(a){g.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];y(d,function(a){e.push(a)});
|
||||||
|
a=zc(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")}
|
||||||
|
function zc(a){var b=xc();b.update(a);return b.Pa().toLowerCase()}
|
||||||
|
;function Ac(a){this.b=a||{cookie:""}}
|
||||||
|
k=Ac.prototype;k.isEnabled=function(){return navigator.cookieEnabled};
|
||||||
|
k.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+'"');q(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(sa()+1E3*c)).toUTCString();this.b.cookie=a+"="+b+e+d+c+f};
|
||||||
|
k.get=function(a,b){for(var c=a+"=",d=(this.b.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Fa(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
|
||||||
|
k.remove=function(a,b,c){var d=q(this.get(a));this.set(a,"",0,b,c);return d};
|
||||||
|
k.isEmpty=function(){return!this.b.cookie};
|
||||||
|
k.clear=function(){for(var a=(this.b.cookie||"").split(";"),b=[],c=[],d,e,f=0;f<a.length;f++)e=Fa(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));for(a=b.length-1;0<=a;a--)this.remove(b[a])};function Bc(){var a=[],b=wc(String(n.location.href)),c=n.__OVERRIDE_SID;null==c&&(c=(new Ac(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?n.__SAPISID:n.__APISID,null==b&&(b=(new Ac(document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(n.location.href);return d&&b&&c?[c,yc(wc(d),b,a||null)].join(" "):null}return null}
|
||||||
|
;var Cc=z("Firefox"),Dc=ub()||z("iPod"),Ec=z("iPad"),Fc=z("Android")&&!(nb()||z("Firefox")||z("Opera")||z("Silk")),Gc=nb(),Hc=mb()&&!(ub()||z("iPad")||z("iPod"));function Ic(){this.M=this.M;this.F=this.F}
|
||||||
|
Ic.prototype.M=!1;Ic.prototype.H=function(){return this.M};
|
||||||
|
Ic.prototype.dispose=function(){this.M||(this.M=!0,this.P())};
|
||||||
|
function Jc(a,b){a.M?q(void 0)?b.call(void 0):b():(a.F||(a.F=[]),a.F.push(q(void 0)?v(b,void 0):b))}
|
||||||
|
Ic.prototype.P=function(){if(this.F)for(;this.F.length;)this.F.shift()()};
|
||||||
|
function Kc(a){a&&"function"==typeof a.dispose&&a.dispose()}
|
||||||
|
;var Lc=!Bb&&!A||A&&9<=Number(Kb)||Bb&&Jb("1.9.1"),Mc=A&&!Jb("9");function Nc(a){if(a.classList)return a.classList;a=a.className;return t(a)&&a.match(/\S+/g)||[]}
|
||||||
|
function C(a,b){return a.classList?a.classList.contains(b):Qa(Nc(a),b)}
|
||||||
|
function D(a,b){a.classList?a.classList.add(b):C(a,b)||(a.className+=0<a.className.length?" "+b:b)}
|
||||||
|
function Oc(a,b){if(a.classList)y(b,function(b){D(a,b)});
|
||||||
|
else{var c={};y(Nc(a),function(a){c[a]=!0});
|
||||||
|
y(b,function(a){c[a]=!0});
|
||||||
|
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}
|
||||||
|
function E(a,b){a.classList?a.classList.remove(b):C(a,b)&&(a.className=Ma(Nc(a),function(a){return a!=b}).join(" "))}
|
||||||
|
function Pc(a,b){a.classList?y(b,function(b){E(a,b)}):a.className=Ma(Nc(a),function(a){return!Qa(b,a)}).join(" ")}
|
||||||
|
function Qc(a,b,c){c?D(a,b):E(a,b)}
|
||||||
|
function Rc(a,b,c){C(a,b)&&(E(a,b),D(a,c))}
|
||||||
|
function Sc(a,b){var c=!C(a,b);Qc(a,b,c)}
|
||||||
|
;var Tc=!A&&!mb();function Uc(a,b){return Tc&&a.dataset?b in a.dataset?a.dataset[b]:null:a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())}
|
||||||
|
;function F(a,b){this.h=q(a)?a:0;this.i=q(b)?b:0}
|
||||||
|
F.prototype.equals=function(a){return a instanceof F&&(this==a?!0:this&&a?this.h==a.h&&this.i==a.i:!1)};
|
||||||
|
function Vc(a,b){return new F(a.h-b.h,a.i-b.i)}
|
||||||
|
F.prototype.ceil=function(){this.h=Math.ceil(this.h);this.i=Math.ceil(this.i);return this};
|
||||||
|
F.prototype.floor=function(){this.h=Math.floor(this.h);this.i=Math.floor(this.i);return this};
|
||||||
|
F.prototype.round=function(){this.h=Math.round(this.h);this.i=Math.round(this.i);return this};function Wc(a,b){this.width=a;this.height=b}
|
||||||
|
k=Wc.prototype;k.aspectRatio=function(){return this.width/this.height};
|
||||||
|
k.isEmpty=function(){return!(this.width*this.height)};
|
||||||
|
k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
||||||
|
k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
||||||
|
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Xc(a){return a?new Yc(Zc(a)):Ea||(Ea=new Yc)}
|
||||||
|
function H(a){return t(a)?document.getElementById(a):a}
|
||||||
|
function $c(a){var b=document;return t(a)?b.getElementById(a):a}
|
||||||
|
function ad(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):bd(document,"*",a,b)}
|
||||||
|
function K(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else var c=document,d=b||c,c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(""+(a?"."+a:"")):bd(c,"*",a,b)[0]||null;return c||null}
|
||||||
|
function bd(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,g;g=d[f];f++)e==g.nodeName&&(a[b++]=g);a.length=b;return a}return d}d=a.getElementsByTagName(e||"*");if(c){a={};for(f=b=0;g=d[f];f++)e=g.className,"function"==typeof e.split&&Qa(e.split(/\s+/),c)&&(a[b++]=g);a.length=b;return a}return d}
|
||||||
|
function cd(a,b){ta(b,function(b,d){b&&b.X&&(b=b.W());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:dd.hasOwnProperty(d)?a.setAttribute(dd[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
|
||||||
|
var dd={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 ed(a){a=a.document;a=fd(a)?a.documentElement:a.body;return new Wc(a.clientWidth,a.clientHeight)}
|
||||||
|
function gd(a){var b=hd(a);a=id(a);return A&&Jb("10")&&a.pageYOffset!=b.scrollTop?new F(b.scrollLeft,b.scrollTop):new F(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}
|
||||||
|
function hd(a){return a.scrollingElement?a.scrollingElement:!Cb&&fd(a)?a.documentElement:a.body||a.documentElement}
|
||||||
|
function id(a){return a.parentWindow||a.defaultView}
|
||||||
|
function fd(a){return"CSS1Compat"==a.compatMode}
|
||||||
|
function jd(a){for(var b;b=a.firstChild;)a.removeChild(b)}
|
||||||
|
function kd(a){a&&a.parentNode&&a.parentNode.removeChild(a)}
|
||||||
|
function ld(a){return Lc&&void 0!=a.children?a.children:Ma(a.childNodes,function(a){return 1==a.nodeType})}
|
||||||
|
function md(a){if(q(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}
|
||||||
|
function nd(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null}
|
||||||
|
function od(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a}
|
||||||
|
function pd(a){return la(a)&&1==a.nodeType}
|
||||||
|
function qd(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 Zc(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
|
||||||
|
function rd(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 jd(a),a.appendChild(Zc(a).createTextNode(String(b)))}
|
||||||
|
function sd(a,b){var c=[];return td(a,b,c,!0)?c[0]:void 0}
|
||||||
|
function td(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||td(a,b,c,d))return!0;a=a.nextSibling}return!1}
|
||||||
|
var ud={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},vd={IMG:" ",BR:"\n"};function wd(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!xd(a)||yd(a)):xd(a)&&yd(a))&&A){var c;!ka(a.getBoundingClientRect)||A&&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 xd(a){return A&&!Jb("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}
|
||||||
|
function yd(a){a=a.tabIndex;return"number"==typeof a&&0<=a&&32768>a}
|
||||||
|
function zd(a){if(Mc&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ad(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Mc||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
|
||||||
|
function Ad(a,b,c){if(!(a.nodeName in ud))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 vd)b.push(vd[a.nodeName]);else for(a=a.firstChild;a;)Ad(a,b,c),a=a.nextSibling}
|
||||||
|
function Bd(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Cd(a,function(a){return(!e||a.nodeName==e)&&(!c||t(a.className)&&Qa(a.className.split(/\s+/),c))},d)}
|
||||||
|
function L(a,b){return Bd(a,null,b,void 0)}
|
||||||
|
function Cd(a,b,c){for(var d=0;a&&(null==c||d<=c);){if(b(a))return a;a=a.parentNode;d++}return null}
|
||||||
|
function Yc(a){this.b=a||n.document||document}
|
||||||
|
Yc.prototype.getElementsByTagName=function(a,b){return(b||this.b).getElementsByTagName(String(a))};
|
||||||
|
Yc.prototype.createElement=function(a){return this.b.createElement(String(a))};
|
||||||
|
Yc.prototype.appendChild=function(a,b){a.appendChild(b)};
|
||||||
|
Yc.prototype.isElement=pd;var Dd="StopIteration"in n?n.StopIteration:{message:"StopIteration",stack:""};function Ed(){}
|
||||||
|
Ed.prototype.next=function(){throw Dd;};
|
||||||
|
Ed.prototype.fa=function(){return this};
|
||||||
|
function Fd(a){if(a instanceof Ed)return a;if("function"==typeof a.fa)return a.fa(!1);if(ja(a)){var b=0,c=new Ed;c.next=function(){for(;;){if(b>=a.length)throw Dd;if(b in a)return a[b++];b++}};
|
||||||
|
return c}throw Error("Not implemented");}
|
||||||
|
function Gd(a,b){if(ja(a))try{y(a,b,void 0)}catch(c){if(c!==Dd)throw c;}else{a=Fd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Dd)throw c;}}}
|
||||||
|
function Hd(a){if(ja(a))return Ra(a);a=Fd(a);var b=[];Gd(a,function(a){b.push(a)});
|
||||||
|
return b}
|
||||||
|
;function Id(a){Jd();return cb(a)}
|
||||||
|
var Jd=fa;function Kd(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}
|
||||||
|
Kd.prototype.getHeight=function(){return this.bottom-this.top};
|
||||||
|
Kd.prototype.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};
|
||||||
|
Kd.prototype.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};
|
||||||
|
Kd.prototype.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};function Ld(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}
|
||||||
|
Ld.prototype.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};
|
||||||
|
Ld.prototype.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};
|
||||||
|
Ld.prototype.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};function Md(a,b,c){if(t(b))(b=Nd(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Nd(c,d);f&&(c.style[f]=e)}}
|
||||||
|
var Od={};function Nd(a,b){var c=Od[b];if(!c){var d=Ja(b),c=d;void 0===a.style[d]&&(d=(Cb?"Webkit":Bb?"Moz":A?"ms":yb?"O":null)+Ka(d),void 0!==a.style[d]&&(c=d));Od[b]=c}return c}
|
||||||
|
function Pd(a,b){var c=Zc(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}
|
||||||
|
function Qd(a,b){return Pd(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}
|
||||||
|
function Rd(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}A&&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 Sd(a){if(A&&!(8<=Number(Kb)))return a.offsetParent;var b=Zc(a),c=Qd(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=Qd(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 Td(a){for(var b=new Kd(0,Infinity,Infinity,0),c=Xc(a),d=c.b.body,e=c.b.documentElement,f=hd(c.b);a=Sd(a);)if(!(A&&0==a.clientWidth||Cb&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Qd(a,"overflow")){var g=Ud(a),h=new F(a.clientLeft,a.clientTop);g.h+=h.h;g.i+=h.i;b.top=Math.max(b.top,g.i);b.right=Math.min(b.right,g.h+a.clientWidth);b.bottom=Math.min(b.bottom,g.i+a.clientHeight);b.left=Math.max(b.left,g.h)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=
|
||||||
|
ed(id(c.b)||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 Ud(a){var b=Zc(a),c=new F(0,0);var d=b?Zc(b):document;d=!A||9<=Number(Kb)||fd(Xc(d).b)?d.documentElement:d.body;if(a==d)return c;a=Rd(a);b=gd(Xc(b).b);c.h=a.left+b.h;c.i=a.top+b.i;return c}
|
||||||
|
function Vd(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}
|
||||||
|
function Wd(a){var b=Xd;if("none"!=Qd(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 Xd(a){var b=a.offsetWidth,c=a.offsetHeight,d=Cb&&!b&&!c;return q(b)&&!d||!a.getBoundingClientRect?new Wc(b,c):(a=Rd(a),new Wc(a.right-a.left,a.bottom-a.top))}
|
||||||
|
function Yd(a){var b=Ud(a);a=Wd(a);return new Ld(b.h,b.i,a.width,a.height)}
|
||||||
|
function Zd(a){return"rtl"==Qd(a,"direction")}
|
||||||
|
function $d(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 ae(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?$d(a,c):0}
|
||||||
|
var be={thin:2,medium:4,thick:6};function ce(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 be?be[c]:$d(a,c)}
|
||||||
|
;function de(a,b,c,d,e,f,g){var h;if(h=c.offsetParent){var l="HTML"==h.tagName||"BODY"==h.tagName;if(!l||"static"!=Qd(h,"position")){var m=Ud(h);l||(l=(l=Zd(h))&&Bb?-h.scrollLeft:!l||Ab&&Jb("8")||"visible"==Qd(h,"overflowX")?h.scrollLeft:h.scrollWidth-h.clientWidth-h.scrollLeft,m=Vc(m,new F(l,h.scrollTop)))}}h=m||new F;m=Yd(a);if(l=Td(a)){var r=new Ld(l.left,l.top,l.right-l.left,l.bottom-l.top),l=Math.max(m.left,r.left),I=Math.min(m.left+m.width,r.left+r.width);if(l<=I){var T=Math.max(m.top,r.top),
|
||||||
|
r=Math.min(m.top+m.height,r.top+r.height);T<=r&&(m.left=l,m.top=T,m.width=I-l,m.height=r-T)}}l=Xc(a);T=Xc(c);if(l.b!=T.b){var I=l.b.body;var T=id(T.b),r=new F(0,0);var J=(J=Zc(I))?id(J):window;b:{try{vb(J.parent);var G=!0;break b}catch(Ti){}G=!1}if(G){G=I;do{if(J==T)var $a=Ud(G);else $a=Rd(G),$a=new F($a.left,$a.top);r.h+=$a.h;r.i+=$a.i}while(J&&J!=T&&J!=J.parent&&(G=J.frameElement)&&(J=J.parent))}G=Vc(r,Ud(I));!A||9<=Number(Kb)||fd(l.b)||(G=Vc(G,gd(l.b)));m.left+=G.h;m.top+=G.i}a=ee(a,b);b=m.left;
|
||||||
|
a&4?b+=m.width:a&2&&(b+=m.width/2);b=new F(b,m.top+(a&1?m.height:0));b=Vc(b,h);e&&(b.h+=(a&4?-1:1)*e.h,b.i+=(a&1?-1:1)*e.i);var p;g&&(p=Td(c))&&(p.top-=h.i,p.right-=h.h,p.bottom-=h.i,p.left-=h.h);e=b;e=new F(e.h,e.i);b=ee(c,d);d=Wd(c);a=new Wc(d.width,d.height);e=new F(e.h,e.i);a=new Wc(a.width,a.height);h=0;if(f||0!=b)b&4?e.h-=a.width+(f?f.right:0):b&2?e.h-=a.width/2:f&&(e.h+=f.left),b&1?e.i-=a.height+(f?f.bottom:0):f&&(e.i+=f.top);g&&(p?(f=e,b=a,h=0,65==(g&65)&&(f.h<p.left||f.h>=p.right)&&(g&=-2),
|
||||||
|
132==(g&132)&&(f.i<p.top||f.i>=p.bottom)&&(g&=-5),f.h<p.left&&g&1&&(f.h=p.left,h|=1),g&16&&(m=f.h,f.h<p.left&&(f.h=p.left,h|=4),f.h+b.width>p.right&&(b.width=Math.min(p.right-f.h,m+b.width-p.left),b.width=Math.max(b.width,0),h|=4)),f.h+b.width>p.right&&g&1&&(f.h=Math.max(p.right-b.width,p.left),h|=1),g&2&&(h|=(f.h<p.left?16:0)|(f.h+b.width>p.right?32:0)),f.i<p.top&&g&4&&(f.i=p.top,h|=2),g&32&&(m=f.i,f.i<p.top&&(f.i=p.top,h|=8),f.i+b.height>p.bottom&&(b.height=Math.min(p.bottom-f.i,m+b.height-p.top),
|
||||||
|
b.height=Math.max(b.height,0),h|=8)),f.i+b.height>p.bottom&&g&4&&(f.i=Math.max(p.bottom-b.height,p.top),h|=2),g&8&&(h|=(f.i<p.top?64:0)|(f.i+b.height>p.bottom?128:0)),g=h):g=256,h=g);f=new Ld(0,0,0,0);f.left=e.h;f.top=e.i;f.width=a.width;f.height=a.height;g=h;g&496||(e=new F(f.left,f.top),e instanceof F?(p=e.h,e=e.i):(p=e,e=void 0),c.style.left=Vd(p,!1),c.style.top=Vd(e,!1),a=new Wc(f.width,f.height),d==a||d&&a&&d.width==a.width&&d.height==a.height||(f=a,p=fd(Xc(Zc(c)).b),!A||Jb("10")||p&&Jb("8")?
|
||||||
|
(c=c.style,Bb?c.MozBoxSizing="border-box":Cb?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(f.width,0)+"px",c.height=Math.max(f.height,0)+"px"):(d=c.style,p?(A?(b=ae(c,"paddingLeft"),a=ae(c,"paddingRight"),e=ae(c,"paddingTop"),p=ae(c,"paddingBottom"),p=new Kd(e,a,p,b)):(b=Pd(c,"paddingLeft"),a=Pd(c,"paddingRight"),e=Pd(c,"paddingTop"),p=Pd(c,"paddingBottom"),p=new Kd(parseFloat(e),parseFloat(a),parseFloat(p),parseFloat(b))),!A||9<=Number(Kb)?(b=Pd(c,"borderLeftWidth"),a=
|
||||||
|
Pd(c,"borderRightWidth"),e=Pd(c,"borderTopWidth"),c=Pd(c,"borderBottomWidth"),c=new Kd(parseFloat(e),parseFloat(a),parseFloat(c),parseFloat(b))):(b=ce(c,"borderLeft"),a=ce(c,"borderRight"),e=ce(c,"borderTop"),c=ce(c,"borderBottom"),c=new Kd(e,a,c,b)),d.pixelWidth=f.width-c.left-p.left-p.right-c.right,d.pixelHeight=f.height-c.top-p.top-p.bottom-c.bottom):(d.pixelWidth=f.width,d.pixelHeight=f.height))));return g}
|
||||||
|
function ee(a,b){return(b&8&&Zd(a)?b^4:b)&-9}
|
||||||
|
;function M(a){Ic.call(this);this.m=1;this.g=[];this.j=0;this.b=[];this.f={};this.o=!!a}
|
||||||
|
x(M,Ic);k=M.prototype;k.subscribe=function(a,b,c){var d=this.f[a];d||(d=this.f[a]=[]);var e=this.m;this.b[e]=a;this.b[e+1]=b;this.b[e+2]=c;this.m=e+3;d.push(e);return e};
|
||||||
|
function fe(a,b){var c=!1,d=a.subscribe("ROOT_MENU_REMOVED",function(a){c||(c=!0,this.T(d),b.apply(void 0,arguments))},a)}
|
||||||
|
function ge(a,b,c){if(b=a.f[b]){var d=a.b;(b=Pa(b,function(a){return d[a+1]==c&&void 0==d[a+2]}))&&a.T(b)}}
|
||||||
|
k.T=function(a){var b=this.b[a];if(b){var c=this.f[b];if(0!=this.j)this.g.push(a),this.b[a+1]=fa;else{if(c){var d=La(c,a);0<=d&&Array.prototype.splice.call(c,d,1)}delete this.b[a];delete this.b[a+1];delete this.b[a+2]}}return!!b};
|
||||||
|
k.G=function(a,b){var c=this.f[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.o)for(e=0;e<c.length;e++){var g=c[e];he(this.b[g+1],this.b[g+2],d)}else{this.j++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.b[g+1].apply(this.b[g+2],d)}finally{if(this.j--,0<this.g.length&&0==this.j)for(;g=this.g.pop();)this.T(g)}}return 0!=e}return!1};
|
||||||
|
function he(a,b,c){Ub(function(){a.apply(b,c)})}
|
||||||
|
k.clear=function(a){if(a){var b=this.f[a];b&&(y(b,this.T,this),delete this.f[a])}else this.b.length=0,this.f={}};
|
||||||
|
function ie(a,b){if(b){var c=a.f[b];return c?c.length:0}var c=0,d;for(d in a.f)c+=ie(a,d);return c}
|
||||||
|
k.P=function(){M.D.P.call(this);this.clear();this.g.length=0};function je(){}
|
||||||
|
;function ke(){}
|
||||||
|
x(ke,je);ke.prototype.clear=function(){var a=Hd(this.fa(!0)),b=this;y(a,function(a){b.remove(a)})};function le(a){this.b=a}
|
||||||
|
x(le,ke);k=le.prototype;k.isAvailable=function(){if(!this.b)return!1;try{return this.b.setItem("__sak","1"),this.b.removeItem("__sak"),!0}catch(a){return!1}};
|
||||||
|
k.set=function(a,b){try{this.b.setItem(a,b)}catch(c){if(0==this.b.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
|
||||||
|
k.get=function(a){a=this.b.getItem(a);if(!t(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
|
||||||
|
k.remove=function(a){this.b.removeItem(a)};
|
||||||
|
k.fa=function(a){var b=0,c=this.b,d=new Ed;d.next=function(){if(b>=c.length)throw Dd;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!t(d))throw"Storage mechanism: Invalid value was encountered";return d};
|
||||||
|
return d};
|
||||||
|
k.clear=function(){this.b.clear()};
|
||||||
|
k.key=function(a){return this.b.key(a)};function me(){var a=null;try{a=window.localStorage||null}catch(b){}this.b=a}
|
||||||
|
x(me,le);function ne(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.b=a}
|
||||||
|
x(ne,le);var oe=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function pe(a){return a?decodeURI(a):a}
|
||||||
|
function qe(a,b,c){if(ia(b))for(var d=0;d<b.length;d++)qe(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}
|
||||||
|
function re(a){var b=[],c;for(c in a)qe(c,a[c],b);return b.join("&")}
|
||||||
|
function se(a,b){var c=re(b);if(c){var d=a.indexOf("#");0>d&&(d=a.length);var e=a.indexOf("?");if(0>e||e>d){e=d;var f=""}else f=a.substring(e+1,d);d=[a.substr(0,e),f,a.substr(d)];e=d[1];d[1]=c?e?e+"&"+c:c:e;c=d[0]+(d[1]?"?"+d[1]:"")+d[2]}else c=a;return c}
|
||||||
|
;function te(a){return(a=a.exec(jb))?a[1]:""}
|
||||||
|
var ue=function(){if(Cc)return te(/Firefox\/([0-9.]+)/);if(A||zb||yb)return Ib;if(Gc)return ub()||z("iPad")||z("iPod")?te(/CriOS\/([0-9.]+)/):te(/Chrome\/([0-9.]+)/);if(Hc&&!(ub()||z("iPad")||z("iPod")))return te(/Version\/([0-9.]+)/);if(Dc||Ec){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(jb);if(a)return a[1]+"."+a[2]}else if(Fc)return(a=te(/Android\s+([0-9.]+)/))?a:te(/Version\/([0-9.]+)/);return""}();var ve=/^[\w+/]+[=]{0,2}$/;w("userfeedback.api.startFeedback",function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||n,e=d.document,f;a:{if((f=(d||n).document.querySelector("script[nonce]"))&&(f=f.nonce||f.getAttribute("nonce"))&&ve.test(f))break a;f=void 0}f&&(a.nonce=f);if("help"==a.flow){var g=u("document.location.href",d);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(b&&JSON&&JSON.stringify){var h=JSON.stringify(b);(g=1200>=h.length)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];
|
||||||
|
d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d,b);else{var d=c+"/load.js?",l;for(l in a)b=a[l],null!=b&&!la(b)&&(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=e.createElement("script");f&&a.setAttribute("nonce",f);a.src=d;e.body.appendChild(a)}});w("userfeedback.api.isBrowserSupportedForGenie",function(){return we()});
|
||||||
|
function we(){return A?0<=Ga(ue,"8"):Cc?0<=Ga(ue,"15"):Hc?0<=Ga(ue,"5"):Gc||zb}
|
||||||
|
w("userfeedback.api.isBrowserSupportedForHelp",we);var xe=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()},ye="Microsoft Internet Explorer"==navigator.appName;var ze=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};w("yt.config_",ze);function Ae(a){var b=arguments;if(1<b.length)ze[b[0]]=b[1];else{var b=b[0],c;for(c in b)ze[c]=b[c]}}
|
||||||
|
function N(a,b){return a in ze?ze[a]:b}
|
||||||
|
function Be(a){return N(a,void 0)}
|
||||||
|
;function Ce(a,b){var c=u("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=N("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),Ae("ERRORS",c))}
|
||||||
|
function De(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){Ce(b)}}:a}
|
||||||
|
;function O(a,b){ka(a)&&(a=De(a));return window.setTimeout(a,b)}
|
||||||
|
;var Ee=u("ytPubsubPubsubInstance")||new M;M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.T;M.prototype.publish=M.prototype.G;M.prototype.clear=M.prototype.clear;w("ytPubsubPubsubInstance",Ee);var Fe=u("ytPubsubPubsubSubscribedKeys")||{};w("ytPubsubPubsubSubscribedKeys",Fe);var Ge=u("ytPubsubPubsubTopicToKeys")||{};w("ytPubsubPubsubTopicToKeys",Ge);var He=u("ytPubsubPubsubIsSynchronous")||{};w("ytPubsubPubsubIsSynchronous",He);
|
||||||
|
function Ie(a,b,c){var d=Je();if(d){var e=d.subscribe(a,function(){var d=arguments;var g=function(){Fe[e]&&b.apply(c||window,d)};
|
||||||
|
try{He[a]?g():O(g,0)}catch(h){Ce(h)}},c);
|
||||||
|
Fe[e]=!0;Ge[a]||(Ge[a]=[]);Ge[a].push(e);return e}return 0}
|
||||||
|
function Je(){return u("ytPubsubPubsubInstance")}
|
||||||
|
function Ke(a){Ge[a]&&(a=Ge[a],y(a,function(a){Fe[a]&&delete Fe[a]}),a.length=0)}
|
||||||
|
function Le(a){var b=Je();if(b)if(b.clear(a),a)Ke(a);else for(var c in Ge)Ke(c)}
|
||||||
|
function P(a,b){var c=Je();c&&c.publish.apply(c,arguments)}
|
||||||
|
function Me(a,b){He[a]=!0;var c=Je();c&&c.publish.apply(c,arguments);He[a]=!1}
|
||||||
|
function Ne(a){var b=Je();b&&("number"==typeof a?a=[a]:t(a)&&(a=[parseInt(a,10)]),y(a,function(a){b.unsubscribeByKey(a);delete Fe[a]}))}
|
||||||
|
;var Oe={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 Pe(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.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in Oe||(this[b]=a[b]);(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}}
|
||||||
|
Pe.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
|
||||||
|
Pe.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
|
||||||
|
Pe.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Qe=0;function Re(a,b){var c=bd(document,a,null,b);return c.length?c[0]:null}
|
||||||
|
var Se=u("ytDomDomGetNextId")||function(){return++Qe};
|
||||||
|
w("ytDomDomGetNextId",Se);function Te(a){var b=a.__yt_uid_key;b||(b=Se(),a.__yt_uid_key=b);return b}
|
||||||
|
function Ue(a,b){a=H(a);b=H(b);return!!Cd(a,function(a){return a===b},void 0)}
|
||||||
|
function Ve(){Qc(document.body,"hide-players",!1);y(ad("preserve-players"),function(a){E(a,"preserve-players")})}
|
||||||
|
;var wa=u("ytEventsEventsListeners")||{};w("ytEventsEventsListeners",wa);var We=u("ytEventsEventsCounter")||{count:0};w("ytEventsEventsCounter",We);function Xe(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 va(function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})}
|
||||||
|
function Q(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Xe(a,b,c,d);if(e)return e;var e=++We.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var g=f?function(d){d=new Pe(d);if(!Cd(d.relatedTarget,function(b){return b==a}))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new Pe(b);
|
||||||
|
b.currentTarget=a;return c.call(a,b)};
|
||||||
|
g=De(g);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),a.addEventListener(b,g,d)):a.attachEvent("on"+b,g);wa[e]=[a,b,c,g,d];return e}
|
||||||
|
function Ye(a,b,c,d){var e=a||document;return Q(e,b,function(a){var b=Cd(a.target,function(a){return a===e||d(a)});
|
||||||
|
b&&b!==e&&!b.disabled&&(a.currentTarget=b,c.call(b,a))})}
|
||||||
|
function Ze(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}
|
||||||
|
function $e(a,b,c,d){return Ye(a,b,c,function(a){return C(a,d)})}
|
||||||
|
function af(a){if(document.createEvent){var b=document.createEvent("HTMLEvents");b.initEvent("click",!0,!0);a.dispatchEvent(b)}else b=document.createEventObject(),a.fireEvent("onclick",b)}
|
||||||
|
function R(a){a&&("string"==typeof a&&(a=[a]),y(a,function(a){if(a in wa){var b=wa[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 wa[a]}}))}
|
||||||
|
;function bf(){this.f=window;this.b=[]}
|
||||||
|
function cf(a,b,c,d,e){d=v(d,a.f);b=$e(b,c,d,e);a.b.push(b)}
|
||||||
|
function df(a){R(a.b);a.b.length=0}
|
||||||
|
;function ef(a,b){(a=H(a))&&a.style&&(a.style.display=b?"":"none",Qc(a,"hid",!b))}
|
||||||
|
function ff(a){return(a=H(a))?"none"!=a.style.display&&!C(a,"hid"):!1}
|
||||||
|
function gf(a){y(arguments,function(a){!ja(a)||a instanceof Element?ef(a,!0):y(a,function(a){gf(a)})})}
|
||||||
|
function hf(a){y(arguments,function(a){!ja(a)||a instanceof Element?ef(a,!1):y(a,function(a){hf(a)})})}
|
||||||
|
;var jf={};function kf(a){return jf[a]||(jf[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))}
|
||||||
|
function S(a,b){return a?a.dataset?a.dataset[kf(b)]:a.getAttribute("data-"+b):null}
|
||||||
|
function lf(a,b,c){a&&(a.dataset?a.dataset[kf(b)]=String(c):a.setAttribute("data-"+b,c))}
|
||||||
|
;function mf(a,b){this.version=a;this.args=b}
|
||||||
|
;function nf(a){this.topic=a}
|
||||||
|
nf.prototype.toString=function(){return this.topic};function of(){var a=pf,b=5E3;isNaN(b)&&(b=void 0);var c=u("yt.scheduler.instance.addJob");return c?c(a,0,b):void 0===b?(a(),NaN):O(a,b||0)}
|
||||||
|
;var qf=u("ytPubsub2Pubsub2Instance")||new M;M.prototype.subscribe=M.prototype.subscribe;M.prototype.unsubscribeByKey=M.prototype.T;M.prototype.publish=M.prototype.G;M.prototype.clear=M.prototype.clear;w("ytPubsub2Pubsub2Instance",qf);var rf=u("ytPubsub2Pubsub2SubscribedKeys")||{};w("ytPubsub2Pubsub2SubscribedKeys",rf);var sf=u("ytPubsub2Pubsub2TopicToKeys")||{};w("ytPubsub2Pubsub2TopicToKeys",sf);var tf=u("ytPubsub2Pubsub2IsAsync")||{};w("ytPubsub2Pubsub2IsAsync",tf);
|
||||||
|
w("ytPubsub2Pubsub2SkipSubKey",null);function uf(a,b){var c=u("ytPubsub2Pubsub2Instance");c&&c.publish.call(c,a.toString(),a,b)}
|
||||||
|
function vf(a){var b=u("ytPubsub2Pubsub2Instance");b&&("number"==typeof a&&(a=[a]),y(a,function(a){b.unsubscribeByKey(a);delete rf[a]}))}
|
||||||
|
;var wf={},xf="ontouchstart"in document;function yf(a,b,c){switch(a){case "mouseover":case "mouseout":var d=3;break;case "mouseenter":case "mouseleave":d=9}return Cd(c,function(a){return C(a,b)},d)}
|
||||||
|
function U(a){var b,c="mouseover"==a.type&&"mouseenter"in wf||"mouseout"==a.type&&"mouseleave"in wf,d=a.type in wf||c;if("HTML"!=a.target.tagName&&d){if(c){var c="mouseover"==a.type?"mouseenter":"mouseleave",d=wf[c],e;for(e in d.f)(b=yf(c,e,a.target))&&!Cd(a.relatedTarget,function(a){return a==b})&&d.G(e,b,c,a)}if(c=wf[a.type])for(e in c.f)(b=yf(a.type,e,a.target))&&c.G(e,b,a.type,a)}}
|
||||||
|
Q(document,"blur",U,!0);Q(document,"change",U,!0);Q(document,"click",U);Q(document,"focus",U,!0);Q(document,"mouseover",U);Q(document,"mouseout",U);Q(document,"mousedown",U);Q(document,"keydown",U);Q(document,"keyup",U);Q(document,"keypress",U);Q(document,"cut",U);Q(document,"paste",U);xf&&(Q(document,"touchstart",U),Q(document,"touchend",U),Q(document,"touchcancel",U));function V(a){this.m=a;this.u={};this.w=[];this.A=[]}
|
||||||
|
k=V.prototype;k.C=function(a){return L(a,W(this))};
|
||||||
|
function W(a,b){return"yt-uix"+(a.m?"-"+a.m:"")+(b?"-"+b:"")}
|
||||||
|
k.unregister=function(){Ne(this.w);this.w.length=0;vf(this.A);this.A.length=0};
|
||||||
|
k.init=fa;k.dispose=fa;function zf(a,b,c){a.w.push(Ie(b,c,a))}
|
||||||
|
function X(a,b,c,d){d=W(a,d);var e=v(c,a);b in wf||(wf[b]=new M);wf[b].subscribe(d,e);a.u[c]=e}
|
||||||
|
function Y(a,b,c,d){if(b in wf){var e=wf[b];ge(e,W(a,d),a.u[c]);0>=ie(e)&&(e.dispose(),delete wf[b])}delete a.u[c]}
|
||||||
|
k.R=function(a,b,c){var d=this.l(a,b);if(d&&(d=u(d))){var e=Ua(arguments,2);Ta(e,0,0,a);d.apply(null,e)}};
|
||||||
|
k.l=function(a,b){return S(a,b)};function Af(a){return N("EXPERIMENT_FLAGS",{})[a]}
|
||||||
|
;var Bf={log_event:"events",log_interaction:"interactions"},Cf=Object.create(null);Cf.log_event="GENERIC_EVENT_LOGGING";Cf.log_interaction="INTERACTION_LOGGING";var Df={},Ef={},Ff=0,ya=u("ytLoggingTransportLogPayloadsQueue_")||{};w("ytLoggingTransportLogPayloadsQueue_",ya);var Gf=u("ytLoggingTransportTokensToCttTargetIds_")||{};w("ytLoggingTransportTokensToCttTargetIds_",Gf);var Hf=u("ytLoggingTransportDispatchedStats_")||{};w("ytLoggingTransportDispatchedStats_",Hf);
|
||||||
|
var If=u("ytLoggingTransportCapturedTime_")||{};w("ytytLoggingTransportCapturedTime_",If);
|
||||||
|
function Jf(){window.clearTimeout(Ff);if(!xa()){for(var a in ya){var b=Df[a];if(!b){var c=Ef[a];if(!c)continue;b=new c;Df[a]=b}var c=void 0,d=a,e=b,f=Bf[d],g=Hf[d]||{};Hf[d]=g;b=Math.round(xe());for(c in ya[d]){var h=e.b,h={client:{hl:h.bb,gl:h.ab,clientName:h.Za,clientVersion:h.innertubeContextClientVersion}};N("DELEGATED_SESSION_ID")&&(h.user={onBehalfOfUser:N("DELEGATED_SESSION_ID")});h={context:h};h[f]=Kf(d,c);g.dispatchedEventCount=g.dispatchedEventCount||0;g.dispatchedEventCount+=h[f].length;
|
||||||
|
h.requestTimeMs=b;var l=Gf[c];if(l)a:{var m=h,r=c;if(l.videoId)var I="VIDEO";else if(l.playlistId)I="PLAYLIST";else break a;m.credentialTransferTokenTargetId=l;m.context=m.context||{};m.context.user=m.context.user||{};m.context.user.credentialTransferTokens=[{token:r,scope:I}]}delete Gf[c];Lf(e,d,h)}c=g;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 ya[a]}xa()||
|
||||||
|
Mf()}}
|
||||||
|
function Mf(){window.clearTimeout(Ff);Ff=O(Jf,N("LOGGING_BATCH_TIMEOUT",1E4))}
|
||||||
|
function Kf(a,b){b||(b="");ya[a]=ya[a]||{};ya[a][b]=ya[a][b]||[];return ya[a][b]}
|
||||||
|
;function Nf(a,b,c){var d=Of,e={};e.eventTimeMs=Math.round(c||xe());e[a]=b;a=String;b=u("_lact",window);b=null==b?-1:Math.max(sa()-b,0);e.context={lastActivityMs:a(b)};Ef.log_event=d;d=Kf("log_event");d.push(e);e=Number(Af("web_logging_max_batch")||0)||20;d.length>=e?Jf():Mf()}
|
||||||
|
;(new me).isAvailable();(new ne).isAvailable();function Pf(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=decodeURIComponent((e[0]||"").replace(/\+/g," ")),e=decodeURIComponent((e[1]||"").replace(/\+/g," "));f in b?ia(b[f])?Sa(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b}
|
||||||
|
function Qf(a,b){var c=a.split("#",2);a=c[0];var c=1<c.length?"#"+c[1]:"",d=a.split("?",2);a=d[0];var d=Pf(d[1]||""),e;for(e in b)d[e]=b[e];return se(a,d)+c}
|
||||||
|
;function Rf(){V.call(this,"button");this.b=null;this.g=[];this.f={}}
|
||||||
|
x(Rf,V);ga(Rf);k=Rf.prototype;k.register=function(){X(this,"click",this.sa);X(this,"keydown",this.za);X(this,"keypress",this.Aa);zf(this,"page-scroll",this.Wa)};
|
||||||
|
k.unregister=function(){Y(this,"click",this.sa);Y(this,"keydown",this.za);Y(this,"keypress",this.Aa);Sf(this);this.f={};Rf.D.unregister.call(this)};
|
||||||
|
k.sa=function(a){a&&!a.disabled&&(Tf(this,a),this.click(a))};
|
||||||
|
k.za=function(a,b,c){if(!(c.altKey||c.ctrlKey||c.shiftKey)&&(b=Uf(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=sd(b,d);if(e){e=e.tagName.toLowerCase();if("ul"==e)var f=this.jb;else"table"==e&&(f=this.ib);f&&Vf(this,a,b,c,v(f,this))}}};
|
||||||
|
k.Wa=function(){var a=this.f,b=0;for(d in a)b++;if(0!=b)for(var c in a){b=a[c];var d=L(b.activeButtonNode||b.parentNode,W(this));if(void 0==d||void 0==b)break;Wf(this,d,b,!0)}};
|
||||||
|
function Vf(a,b,c,d,e){var f=ff(c),g=9==d.keyCode;if(g||32==d.keyCode||13==d.keyCode)if(d=Xf(a,c))if(a=md(d),"a"==a.tagName.toLowerCase()){var h=void 0===h?{}:h;var l=void 0===l?"":l;var m=void 0===m?window:m;b=m.location;h=se(a.href,h)+l;h=h instanceof db?h:hb(h);b.href=fb(h)}else af(a);else g&&Yf(a,b);else f?27==d.keyCode?(Xf(a,c),Yf(a,b)):e(b,c,d):(h=C(b,W(a,"reverse"))?38:40,d.keyCode==h&&(af(b),d.preventDefault()))}
|
||||||
|
k.Aa=function(a,b,c){c.altKey||c.ctrlKey||c.shiftKey||(a=Uf(this,a),ff(a)&&c.preventDefault())};
|
||||||
|
function Xf(a,b){var c=W(a,"menu-item-highlight"),d=K(c,b);d&&E(d,c);return d}
|
||||||
|
function Zf(a,b,c){D(c,W(a,"menu-item-highlight"));var d=c.getAttribute("id");d||(d=W(a,"item-id-"+ma(c)),c.setAttribute("id",d));b.setAttribute("aria-activedescendant",d)}
|
||||||
|
k.ib=function(a,b,c){var d=Xf(this,b);if(d){var e=Re("table",b);b=bd(document,"td",null,e);d=$f(d,b,bd(document,"td",null,Re("tr",e)).length,c);-1!=d&&(Zf(this,a,b[d]),c.preventDefault())}};
|
||||||
|
k.jb=function(a,b,c){if(40==c.keyCode||38==c.keyCode){var d=Xf(this,b);d&&(b=Ma(bd(document,"li",null,b),ff),Zf(this,a,b[$f(d,b,1,c)]),c.preventDefault())}};
|
||||||
|
function $f(a,b,c,d){var e=b.length;a=La(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 ag(a,b){var c=b.iframeMask;c||(c=document.createElement("iframe"),c.src='javascript:""',c.className=W(a,"menu-mask"),hf(c),b.iframeMask=c);return c}
|
||||||
|
function Wf(a,b,c,d){var e=L(b,W(a,"group")),f=!!a.l(b,"button-menu-ignore-group"),e=e&&!f?e:b,f=9,g=8,h=Yd(b);if(C(b,W(a,"reverse"))){f=8;g=9;h=h.top+"px";try{c.style.maxHeight=h}catch(r){}}C(b,"flip")&&(C(b,W(a,"reverse"))?(f=12,g=13):(f=13,g=12));var l;a.l(b,"button-has-sibling-menu")?l=Sd(e):a.l(b,"button-menu-root-container")&&(l=bg(a,b));A&&!Jb("8")&&(l=null);if(l){var m=Yd(l);m=new Kd(-m.top,m.left,m.top,-m.left)}l=new F(0,1);C(b,W(a,"center-menu"))&&(l.h-=Math.round((Wd(c).width-Wd(b).width)/
|
||||||
|
2));d&&(l.i+=gd(document).i);if(a=ag(a,b))b=Wd(c),a.style.width=b.width+"px",a.style.height=b.height+"px",de(e,f,a,g,l,m,197),d&&Md(a,"position","fixed");de(e,f,c,g,l,m,197)}
|
||||||
|
function bg(a,b){if(a.l(b,"button-menu-root-container")){var c=a.l(b,"button-menu-root-container");return L(b,c)}return document.body}
|
||||||
|
k.La=function(a){if(a){var b=Uf(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.l(a,"button-has-sibling-menu")?c=a.parentNode:c=bg(this,a);c.appendChild(b);b.style.minWidth=a.offsetWidth-2+"px";var d=ag(this,a);d&&c.appendChild(d);(c=!!this.l(a,"button-menu-fixed"))&&(this.f[Te(a).toString()]=b);Wf(this,a,b,c);Me("yt-uix-button-menu-before-show",a,b);gf(b);d&&gf(d);
|
||||||
|
this.R(a,"button-menu-action",!0);D(a,W(this,"active"));b=v(this.Ka,this,a,!1);d=v(this.Ka,this,a,!0);c=v(this.xb,this,a,void 0);this.b&&Uf(this,this.b)==Uf(this,a)||Sf(this);P("yt-uix-button-menu-show",a);R(this.g);this.g=[Q(document,"click",d),Q(document,"contextmenu",b),Q(window,"resize",c)];this.b=a}}};
|
||||||
|
function Yf(a,b){if(b){var c=Uf(a,b);if(c){a.b=null;b.setAttribute("aria-pressed","false");b.setAttribute("aria-expanded","false");b.removeAttribute("aria-activedescendant");hf(c);a.R(b,"button-menu-action",!1);var d=ag(a,b),e=Te(c).toString();delete a.f[e];O(function(){d&&d.parentNode&&(hf(d),d.parentNode.removeChild(d));c.originalParentNode&&(c.parentNode.removeChild(c),c.originalParentNode.appendChild(c),c.originalParentNode=null,c.activeButtonNode=null)},1)}var e=L(b,W(a,"group")),f=[W(a,"active")];
|
||||||
|
e&&f.push(W(a,"group-active"));Pc(b,f);P("yt-uix-button-menu-hide",b);R(a.g);a.g.length=0}}
|
||||||
|
k.xb=function(a,b){var c=Uf(this,a);if(c){b&&(b instanceof ob?c.innerHTML=qb(b):rd(c,b));var d=!!this.l(a,"button-menu-fixed");Wf(this,a,c,d)}};
|
||||||
|
k.Ka=function(a,b,c){c=Ze(c);var d=L(c,W(this));if(d){var d=Uf(this,d),e=Uf(this,a);if(d==e)return}var d=L(c,W(this,"menu")),e=d==Uf(this,a),f=C(c,W(this,"menu-item")),g=C(c,W(this,"menu-close"));if(!d||e&&(f||g))Yf(this,a),d&&b&&this.l(a,"button-menu-indicate-selected")&&((a=K(W(this,"content"),a))&&rd(a,zd(c)),cg(this,d,c))};
|
||||||
|
function cg(a,b,c){var d=W(a,"menu-item-selected");y(ad(d,b),function(a){E(a,d)});
|
||||||
|
D(c.parentNode,d)}
|
||||||
|
function Uf(a,b){if(!b.widgetMenu){var c=a.l(b,"button-menu-id"),c=c&&H(c),d=W(a,"menu");c?Oc(c,[d,W(a,"menu-external")]):c=K(d,b);b.widgetMenu=c}return b.widgetMenu}
|
||||||
|
k.isToggled=function(a){return C(a,W(this,"toggled"))};
|
||||||
|
function Tf(a,b){if(a.l(b,"button-toggle")){var c=L(b,W(a,"group")),d=W(a,"toggled"),e=C(b,d);if(c&&a.l(c,"button-toggle-group")){var f=a.l(c,"button-toggle-group");y(ad(W(a),c),function(a){a!=b||"optional"==f&&e?(E(a,d),a.removeAttribute("aria-pressed")):(D(b,d),a.setAttribute("aria-pressed","true"))})}else e?b.removeAttribute("aria-pressed"):b.setAttribute("aria-pressed","true"),Sc(b,d)}}
|
||||||
|
k.click=function(a){if(Uf(this,a)){var b=Uf(this,a);if(b){var c=L(b.activeButtonNode||b.parentNode,W(this));c&&c!=a?(Yf(this,c),O(v(this.La,this,a),1)):ff(b)?Yf(this,a):this.La(a)}a.focus()}this.R(a,"button-action")};
|
||||||
|
function Sf(a){a.b&&Yf(a,a.b)}
|
||||||
|
;function dg(a){V.call(this,a);this.g=null}
|
||||||
|
x(dg,V);k=dg.prototype;k.C=function(a){var b=V.prototype.C.call(this,a);return b?b:a};
|
||||||
|
k.register=function(){zf(this,"yt-uix-kbd-nav-move-out-done",this.hide)};
|
||||||
|
k.dispose=function(){dg.D.dispose.call(this);eg(this)};
|
||||||
|
k.l=function(a,b){var c=dg.D.l.call(this,a,b);return c?c:(c=dg.D.l.call(this,a,"card-config"))&&(c=u(c))&&c[b]?c[b]:null};
|
||||||
|
k.show=function(a){var b=this.C(a);if(b){D(b,W(this,"active"));var c=fg(this,a,b);if(c){c.cardTargetNode=a;c.cardRootNode=b;gg(this,a,c);var d=W(this,"card-visible"),e=this.l(a,"card-delegate-show")&&this.l(b,"card-action");this.R(b,"card-action",a);this.g=a;hf(c);O(v(function(){e||(gf(c),P("yt-uix-card-show",b,a,c));hg(c);D(c,d);P("yt-uix-kbd-nav-move-in-to",c)},this),10)}}};
|
||||||
|
function fg(a,b,c){var d=c||b,e=W(a,"card");c=ig(a,d);var f=H(W(a,"card")+Te(d));if(f)return a=K(W(a,"card-body"),f),qd(a,c)||(kd(c),a.appendChild(c)),f;f=document.createElement("div");f.id=W(a,"card")+Te(d);f.className=e;(d=a.l(d,"card-class"))&&Oc(f,d.split(/\s+/));d=document.createElement("div");d.className=W(a,"card-border");b=a.l(b,"orientation")||"horizontal";e=document.createElement("div");e.className="yt-uix-card-border-arrow yt-uix-card-border-arrow-"+b;var g=document.createElement("div");
|
||||||
|
g.className=W(a,"card-body");a=document.createElement("div");a.className="yt-uix-card-body-arrow yt-uix-card-body-arrow-"+b;kd(c);g.appendChild(c);d.appendChild(a);d.appendChild(g);f.appendChild(e);f.appendChild(d);document.body.appendChild(f);return f}
|
||||||
|
function gg(a,b,c){var d=a.l(b,"orientation")||"horizontal",e=K(W(a,"anchor"),b)||b,f=a.l(b,"position"),g=!!a.l(b,"force-position"),h=a.l(b,"position-fixed"),d="horizontal"==d,l="bottomright"==f||"bottomleft"==f,m="topright"==f||"bottomright"==f;if(m&&l){var r=13;var I=8}else m&&!l?(r=12,I=9):!m&&l?(r=9,I=12):(r=8,I=13);var T=Zd(document.body),f=Zd(b);T!=f&&(r^=4);if(d){f=b.offsetHeight/2-12;var J=new F(-12,b.offsetHeight+6)}else f=b.offsetWidth/2-6,J=new F(b.offsetWidth+6,-12);var G=Wd(c),f=Math.min(f,
|
||||||
|
(d?G.height:G.width)-24-6);6>f&&(f=6,d?J.i+=12-b.offsetHeight/2:J.h+=12-b.offsetWidth/2);G=null;g||(G=10);b=W(a,"card-flip");a=W(a,"card-reverse");Qc(c,b,m);Qc(c,a,l);G=de(e,r,c,I,J,null,G);!g&&G&&(G&48&&(m=!m,r^=4,I^=4),G&192&&(l=!l,r^=1,I^=1),Qc(c,b,m),Qc(c,a,l),de(e,r,c,I,J));h&&(e=parseInt(c.style.top,10),g=gd(document).i,Md(c,"position","fixed"),Md(c,"top",e-g+"px"));T&&(c.style.right="",e=Yd(c),e.left=e.left||parseInt(c.style.left,10),g=ed(window),c.style.left="",c.style.right=g.width-e.left-
|
||||||
|
e.width+"px");e=K("yt-uix-card-body-arrow",c);g=K("yt-uix-card-border-arrow",c);d=d?l?"top":"bottom":!T&&m||T&&!m?"left":"right";e.setAttribute("style","");g.setAttribute("style","");e.style[d]=f+"px";g.style[d]=f+"px";l=K("yt-uix-card-arrow",c);m=K("yt-uix-card-arrow-background",c);l&&m&&(c="right"==d?Wd(c).width-f-13:f+11,f=c/Math.sqrt(2),l.style.left=c+"px",l.style.marginLeft="1px",m.style.marginLeft=-f+"px",m.style.marginTop=f+"px")}
|
||||||
|
k.hide=function(a){if(a=this.C(a)){var b=H(W(this,"card")+Te(a));b&&(E(a,W(this,"active")),E(b,W(this,"card-visible")),hf(b),this.g=null,b.cardTargetNode=null,b.cardRootNode=null,b.cardMask&&(kd(b.cardMask),b.cardMask=null))}};
|
||||||
|
function eg(a){a.g&&a.hide(a.g)}
|
||||||
|
k.wb=function(a,b){var c=this.C(a);if(c){if(b){var d=ig(this,c);if(!d)return;b instanceof ob?d.innerHTML=qb(b):rd(d,b)}C(c,W(this,"active"))&&(c=fg(this,a,c),gg(this,a,c),gf(c),hg(c))}};
|
||||||
|
k.isActive=function(a){return(a=this.C(a))?C(a,W(this,"active")):!1};
|
||||||
|
function ig(a,b){var c=b.cardContentNode;if(!c){var d=W(a,"content"),e=W(a,"card-content");(c=(c=a.l(b,"card-id"))?H(c):K(d,b))||(c=document.createElement("div"));var f=c;E(f,d);D(f,e);b.cardContentNode=c}return c}
|
||||||
|
function hg(a){var b=a.cardMask;b||(b=document.createElement("iframe"),b.src='javascript:""',Oc(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 jg(){V.call(this,"kbd-nav")}
|
||||||
|
var kg;x(jg,V);ga(jg);k=jg.prototype;k.register=function(){X(this,"keydown",this.xa);zf(this,"yt-uix-kbd-nav-move-in",this.Fa);zf(this,"yt-uix-kbd-nav-move-in-to",this.kb);zf(this,"yt-uix-kbd-move-next",this.Ga);zf(this,"yt-uix-kbd-nav-move-to",this.ga)};
|
||||||
|
k.unregister=function(){Y(this,"keydown",this.xa);R(kg)};
|
||||||
|
k.xa=function(a,b,c){var d=c.keyCode;if(a=L(a,W(this)))switch(d){case 13:case 32:this.Fa(a);break;case 27:c.preventDefault();c.stopImmediatePropagation();a:{for(c=Uc(a,"kbdNavMoveOut");!c;){c=L(a.parentElement,W(this));if(!c)break a;c=Uc(c,"kbdNavMoveOut")}c=H(c);this.ga(c);P("yt-uix-kbd-nav-move-out-done",c)}break;case 40:case 38:if((b=c.target)&&C(a,W(this,"list")))switch(d){case 40:this.Ga(b,a);break;case 38:d=document.activeElement==a,a=lg(a),b=a.indexOf(b),0>b&&!d||(b=d?a.length-1:(a.length+
|
||||||
|
b-1)%a.length,a[b].focus(),mg(this,a[b]))}c.preventDefault()}};
|
||||||
|
k.Fa=function(a){var b=Uc(a,"kbdNavMoveIn"),b=H(b);ng(this,a,b);this.ga(b)};
|
||||||
|
k.kb=function(a){a:{var b=document;try{var c=b&&b.activeElement;break a}catch(d){}c=null}ng(this,c,a);this.ga(a)};
|
||||||
|
k.ga=function(a){if(a)if(wd(a))a.focus();else{var b=sd(a,function(a){return pd(a)?wd(a):!1});
|
||||||
|
b?b.focus():(a.setAttribute("tabindex","-1"),a.focus())}};
|
||||||
|
function ng(a,b,c){b&&c&&(D(c,W(a)),a=b.id,a||(a="kbd-nav-"+Math.floor(1E6*Math.random()+1),b.id=a),b=a,Tc&&c.dataset?c.dataset.kbdNavMoveOut=b:c.setAttribute("data-"+"kbdNavMoveOut".replace(/([A-Z])/g,"-$1").toLowerCase(),b))}
|
||||||
|
k.Ga=function(a,b){var c=document.activeElement==b,d=lg(b),e=d.indexOf(a);0>e&&!c||(c=c?0:(e+1)%d.length,d[c].focus(),mg(this,d[c]))};
|
||||||
|
function mg(a,b){if(b){var c=Bd(b,"LI");c&&(D(c,W(a,"highlight")),kg=Q(b,"blur",v(function(a){E(a,W(this,"highlight"));R(kg)},a,c)))}}
|
||||||
|
function lg(a){if("UL"!=a.tagName.toUpperCase())return[];a=Ma(ld(a),function(a){return"LI"==a.tagName.toUpperCase()});
|
||||||
|
return Ma(Na(a,function(a){return ff(a)?sd(a,function(a){return pd(a)?wd(a):!1}):!1}),function(a){return!!a})}
|
||||||
|
;function og(){V.call(this,"menu");this.f=this.b=null;this.g={};this.o={};this.j=null}
|
||||||
|
x(og,V);ga(og);function pg(a){var b=og.B();if(C(a,W(b)))return a;var c=b.C(a);return c?c:L(a,W(b,"content"))==b.b?b.f:null}
|
||||||
|
k=og.prototype;k.register=function(){X(this,"click",this.wa);X(this,"mouseenter",this.Ua);zf(this,"page-scroll",this.Xa);zf(this,"yt-uix-kbd-nav-move-out-done",function(a){a=this.C(a);qg(this,a)});
|
||||||
|
this.j=new M};
|
||||||
|
k.unregister=function(){Y(this,"click",this.wa);this.f=this.b=null;R(Va(ua(this.g)));this.g={};ta(this.o,function(a){kd(a)},this);
|
||||||
|
this.o={};Kc(this.j);this.j=null;og.D.unregister.call(this)};
|
||||||
|
k.wa=function(a,b,c){a&&(b=rg(this,a),!b.disabled&&Ue(c.target,b)&&sg(this,a))};
|
||||||
|
k.Ua=function(a,b,c){a&&C(a,W(this,"hover"))&&Ue(c.target,rg(this,a))&&sg(this,a,!0)};
|
||||||
|
k.Xa=function(){this.b&&this.f&&tg(this,this.f,this.b)};
|
||||||
|
function tg(a,b,c){var d=ug(a,b);if(d){var e=Wd(c);if(e instanceof Wc){var f=e.height;e=e.width}else throw Error("missing height argument");d.style.width=Vd(e,!0);d.style.height=Vd(f,!0)}c==a.b&&(e=9,f=8,C(b,W(a,"reversed"))&&(e^=1,f^=1),C(b,W(a,"flipped"))&&(e^=4,f^=4),a=new F(0,1),d&&de(b,e,d,f,a,null,197),de(b,e,c,f,a,null,197))}
|
||||||
|
function sg(a,b,c){vg(a,b)&&!c?qg(a,b):(wg(a,b),!a.b||Ue(b,a.b)?a.Ma(b):fe(a.j,v(a.Ma,a,b)))}
|
||||||
|
k.Ma=function(a){if(a){var b=xg(this,a);if(b){Me("yt-uix-menu-before-show",a,b);this.b?Ue(a,this.b)||qg(this,this.f):(this.f=a,this.b=b,C(a,W(this,"sibling-content"))||(kd(b),document.body.appendChild(b)),b.style.minWidth=rg(this,a).offsetWidth-2+"px");var c=ug(this,a);c&&b.parentNode&&b.parentNode.insertBefore(c,b.nextSibling);E(b,W(this,"content-hidden"));tg(this,a,b);Oc(rg(this,a),[W(this,"trigger-selected"),"yt-uix-button-toggled"]);P("yt-uix-menu-show",a);yg(b);zg(this,a);P("yt-uix-kbd-nav-move-in-to",
|
||||||
|
b);var d=v(this.Cb,this,a),e=v(this.gb,this,a),c=ma(a).toString();this.g[c]=[Q(b,"click",e),Q(document,"click",d)];C(a,W(this,"indicate-selected"))&&(d=v(this.hb,this,a),this.g[c].push(Q(b,"click",d)));C(a,W(this,"hover"))&&(a=v(this.Va,this,a),this.g[c].push(Q(document,"mousemove",a)))}}};
|
||||||
|
k.Va=function(a,b){var c=Ze(b);c&&(Ue(c,rg(this,a))||Ag(this,c)||Bg(this,a))};
|
||||||
|
k.Cb=function(a,b){var c=Ze(b);if(c){if(Ag(this,c)){var d=L(c,W(this,"content"));var e=Bd(c,"LI");e&&d&&qd(d,e)&&Me("yt-uix-menu-item-clicked",c);c=L(c,W(this,"close-on-select"));if(!c)return;d=pg(c)}qg(this,d||a)}};
|
||||||
|
function wg(a,b){if(b){var c=L(b,W(a,"content"));c&&y(ad(W(a),c),function(a){!Ue(a,b)&&vg(this,a)&&Bg(this,a)},a)}}
|
||||||
|
function qg(a,b){if(b){var c=[];c.push(b);var d=xg(a,b);d&&(d=ad(W(a),d),d=Ra(d),c=c.concat(d),y(c,function(a){vg(this,a)&&Bg(this,a)},a))}}
|
||||||
|
function Bg(a,b){if(b){var c=xg(a,b);Pc(rg(a,b),[W(a,"trigger-selected"),"yt-uix-button-toggled"]);D(c,W(a,"content-hidden"));var d=xg(a,b);d&&cd(d,{"aria-expanded":"false"});(d=ug(a,b))&&d.parentNode&&kd(d);c&&c==a.b&&(a.f.appendChild(c),a.b=null,a.f=null,a.j&&a.j.G("ROOT_MENU_REMOVED"));P("yt-uix-menu-hide",b);c=ma(b).toString();R(a.g[c]);delete a.g[c]}}
|
||||||
|
k.gb=function(a,b){var c=Ze(b);c&&Cg(this,a,c)};
|
||||||
|
k.hb=function(a,b){var c=Ze(b);if(c){var d=rg(this,a);if(d&&(c=Bd(c,"LI")))if(c=zd(c).trim(),d.hasChildNodes()){var e=Rf.B();(d=K(W(e,"content"),d))&&rd(d,c)}else rd(d,c)}};
|
||||||
|
function zg(a,b){var c=xg(a,b);if(c){y(c.children,function(a){"LI"==a.tagName&&cd(a,{role:"menuitem"})});
|
||||||
|
cd(c,{"aria-expanded":"true"});var d=c.id;d||(d="aria-menu-id-"+ma(c),c.id=d);(c=rg(a,b))&&cd(c,{"aria-controls":d})}}
|
||||||
|
function Cg(a,b,c){var d=xg(a,b);d&&C(b,W(a,"checked"))&&(a=Bd(c,"LI"))&&(a=K("yt-ui-menu-item-checked-hid",a))&&(y(ad("yt-ui-menu-item-checked",d),function(a){Rc(a,"yt-ui-menu-item-checked","yt-ui-menu-item-checked-hid")}),Rc(a,"yt-ui-menu-item-checked-hid","yt-ui-menu-item-checked"))}
|
||||||
|
function vg(a,b){var c=xg(a,b);return c?!C(c,W(a,"content-hidden")):!1}
|
||||||
|
function yg(a){y(bd(document,"UL",null,a),function(a){a.tabIndex=0;var b=jg.B();Oc(a,[W(b),W(b,"list")])})}
|
||||||
|
function xg(a,b){var c=S(b,"menu-content-id");return c&&(c=H(c))?(Oc(c,[W(a,"content"),W(a,"content-external")]),c):b==a.f?a.b:K(W(a,"content"),b)}
|
||||||
|
function ug(a,b){var c=ma(b).toString(),d=a.o[c];if(!d){d=document.createElement("IFRAME");d.src='javascript:""';var e=[W(a,"mask")];y(Nc(b),function(a){e.push(a+"-mask")});
|
||||||
|
Oc(d,e);a.o[c]=d}return d||null}
|
||||||
|
function rg(a,b){return K(W(a,"trigger"),b)}
|
||||||
|
function Ag(a,b){return Ue(b,a.b)||Ue(b,a.f)}
|
||||||
|
;function Dg(){dg.call(this,"clickcard");this.b={};this.f={}}
|
||||||
|
x(Dg,dg);ga(Dg);k=Dg.prototype;k.register=function(){Dg.D.register.call(this);X(this,"click",this.ua,"target");X(this,"click",this.ta,"close")};
|
||||||
|
k.unregister=function(){Dg.D.unregister.call(this);Y(this,"click",this.ua,"target");Y(this,"click",this.ta,"close");for(var a in this.b)R(this.b[a]);this.b={};for(a in this.f)R(this.f[a]);this.f={}};
|
||||||
|
k.ua=function(a,b,c){c.preventDefault();b=Bd(c.target,"button");b&&b.disabled||(a=(b=this.l(a,"card-target"))?$c(b):a,b=this.C(a),this.l(b,"disabled")||(C(b,W(this,"active"))?(this.hide(a),E(b,W(this,"active"))):(this.show(a),D(b,W(this,"active")))))};
|
||||||
|
k.show=function(a){Dg.D.show.call(this,a);var b=this.C(a),c=ma(a).toString();if(!S(b,"click-outside-persists")){if(this.b[c])return;var b=Q(document,"click",v(this.va,this,a)),d=Q(window,"blur",v(this.va,this,a));this.b[c]=[b,d]}a=Q(window,"resize",v(this.wb,this,a,void 0));this.f[c]=a};
|
||||||
|
k.hide=function(a){Dg.D.hide.call(this,a);a=ma(a).toString();var b=this.b[a];b&&(R(b),this.b[a]=null);if(b=this.f[a])R(b),delete this.f[a]};
|
||||||
|
k.va=function(a,b){var c="yt-uix"+(this.m?"-"+this.m:"")+"-card",d=null;b.target&&(d=L(b.target,c)||L(pg(b.target),c));(d=d||L(document.activeElement,c)||L(pg(document.activeElement),c))||this.hide(a)};
|
||||||
|
k.ta=function(a){(a=L(a,W(this,"card")))&&(a=a.cardTargetNode)&&this.hide(a)};function Eg(){dg.call(this,"hovercard")}
|
||||||
|
x(Eg,dg);ga(Eg);k=Eg.prototype;k.register=function(){X(this,"mouseenter",this.Ba,"target");X(this,"mouseleave",this.Da,"target");X(this,"mouseenter",this.Ca,"card");X(this,"mouseleave",this.Ea,"card")};
|
||||||
|
k.unregister=function(){Y(this,"mouseenter",this.Ba,"target");Y(this,"mouseleave",this.Da,"target");Y(this,"mouseenter",this.Ca,"card");Y(this,"mouseleave",this.Ea,"card")};
|
||||||
|
k.Ba=function(a){if(Fg!=a){Fg&&(this.hide(Fg),Fg=null);var b=v(this.show,this,a),c=parseInt(this.l(a,"delay-show"),10),b=O(b,-1<c?c:200);lf(a,"card-timer",b.toString());Fg=a;a.alt&&(lf(a,"card-alt",a.alt),a.alt="");a.title&&(lf(a,"card-title",a.title),a.title="")}};
|
||||||
|
k.Da=function(a){var b=parseInt(this.l(a,"card-timer"),10);window.clearTimeout(b);this.C(a).isCardHidable=!0;b=parseInt(this.l(a,"delay-hide"),10);b=-1<b?b:200;O(v(this.Ya,this,a),b);if(b=this.l(a,"card-alt"))a.alt=b;if(b=this.l(a,"card-title"))a.title=b};
|
||||||
|
k.Ya=function(a){this.C(a).isCardHidable&&(this.hide(a),Fg=null)};
|
||||||
|
k.Ca=function(a){a&&(a.cardRootNode.isCardHidable=!1)};
|
||||||
|
k.Ea=function(a){a&&this.hide(a.cardTargetNode)};
|
||||||
|
var Fg=null;function Gg(a,b,c,d,e,f){this.b=a;this.u=null;this.g=K("yt-dialog-fg",this.b)||this.b;if(a=K("yt-dialog-title",this.g)){var g="yt-dialog-title-"+ma(this.g);a.setAttribute("id",g);this.g.setAttribute("aria-labelledby",g)}this.g.setAttribute("tabindex","-1");this.F=K("yt-dialog-focus-trap",this.b);this.K=!1;this.j=new M;this.w=[];this.w.push($e(this.b,"click",v(this.lb,this),"yt-dialog-dismiss"));this.w.push(Q(this.F,"focus",v(this.Qa,this),!0));Hg(this);this.L=b;this.N=c;this.M=d;this.A=e;this.O=f;
|
||||||
|
this.o=this.m=null}
|
||||||
|
var Ig={LOADING:"loading",Db:"content",Eb:"working"};function Jg(a,b){a.H()||a.j.subscribe("post-all",b)}
|
||||||
|
function Hg(a){a=K("yt-dialog-fg-content",a.b);var b=[];ta(Ig,function(a){b.push("yt-dialog-show-"+a)});
|
||||||
|
Pc(a,b);D(a,"yt-dialog-show-content")}
|
||||||
|
k=Gg.prototype;
|
||||||
|
k.show=function(){if(!this.H()){this.u=document.activeElement;if(!this.M){this.f||(this.f=H("yt-dialog-bg"),this.f||(this.f=document.createElement("div"),this.f.id="yt-dialog-bg",this.f.className="yt-dialog-bg",document.body.appendChild(this.f)));var a=window,b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=ed(a).height,fd(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.f.style.height=c+"px";gf(this.f)}this.ya();c=Kg(this);Lg(c);this.m=Q(document,"keydown",v(this.fb,this));c=this.b;d=Ie("player-added",this.ya,this);lf(c,"player-ready-pubsub-key",d);this.N&&(this.o=Q(document,"click",v(this.ub,this)));gf(this.b);this.g.setAttribute("tabindex","0");Mg(this);this.A||D(document.body,"yt-dialog-active");Sf(Rf.B());eg(Dg.B());eg(Eg.B());P("yt-ui-dialog-show-complete",this)}};
|
||||||
|
function Ng(){return Oa(ad("yt-dialog"),function(a){return ff(a)})}
|
||||||
|
k.ya=function(){if(!this.O){var a=this.b;Qc(document.body,"hide-players",!0);a&&Qc(a,"preserve-players",!0)}};
|
||||||
|
function Kg(a){var b=bd(document,"iframe",null,a.b);y(b,function(a){var b=S(a,"onload");b&&(b=u(b))&&Q(a,"load",b);if(b=S(a,"src"))a.src=b},a);
|
||||||
|
return Ra(b)}
|
||||||
|
function Lg(a){y(document.getElementsByTagName("iframe"),function(b){-1==La(a,b)&&D(b,"iframe-hid")})}
|
||||||
|
function Og(){y(ad("iframe-hid"),function(a){E(a,"iframe-hid")})}
|
||||||
|
k.lb=function(a){a=a.currentTarget;a.disabled||(a=S(a,"action")||"",this.dismiss(a))};
|
||||||
|
k.dismiss=function(a){if(!this.H()){this.j.G("pre-all");this.j.G("pre-"+a);hf(this.b);eg(Dg.B());eg(Eg.B());this.g.setAttribute("tabindex","-1");Ng()||(hf(this.f),this.A||E(document.body,"yt-dialog-active"),Ve(),Og());this.m&&(R(this.m),this.m=null);this.o&&(R(this.o),this.o=null);var b=this.b;if(b){var c=S(b,"player-ready-pubsub-key");c&&(Ne(c),b&&(b.dataset?delete b.dataset[kf("player-ready-pubsub-key")]:b.removeAttribute("data-player-ready-pubsub-key")))}this.j.G("post-all");P("yt-ui-dialog-hide-complete",
|
||||||
|
this);"cancel"==a&&P("yt-ui-dialog-cancelled",this);this.j&&this.j.G("post-"+a);this.u&&this.u.focus()}};
|
||||||
|
k.setTitle=function(a){rd(K("yt-dialog-title",this.b),a)};
|
||||||
|
k.fb=function(a){O(v(function(){this.L||27!=a.keyCode||this.dismiss("cancel")},this),0);
|
||||||
|
9==a.keyCode&&a.shiftKey&&C(document.activeElement,"yt-dialog-fg")&&a.preventDefault()};
|
||||||
|
k.ub=function(a){"yt-dialog-base"==a.target.className&&this.dismiss("cancel")};
|
||||||
|
k.H=function(){return this.K};
|
||||||
|
k.dispose=function(){ff(this.b)&&this.dismiss("dispose");R(this.w);this.w.length=0;O(v(function(){this.u=null},this),0);
|
||||||
|
this.F=this.g=null;this.j.dispose();this.j=null;this.K=!0};
|
||||||
|
k.Qa=function(a){a.stopPropagation();Mg(this)};
|
||||||
|
function Mg(a){O(v(function(){this.g&&this.g.focus()},a),0)}
|
||||||
|
w("yt.ui.Dialog",Gg);function Pg(){V.call(this,"overlay");this.g=this.f=this.j=this.b=null}
|
||||||
|
x(Pg,V);ga(Pg);k=Pg.prototype;k.register=function(){X(this,"click",this.na,"target");X(this,"click",this.hide,"close");Qg(this)};
|
||||||
|
k.unregister=function(){Pg.D.unregister.call(this);Y(this,"click",this.na,"target");Y(this,"click",this.hide,"close");this.g&&(Ne(this.g),this.g=null);this.f&&(R(this.f),this.f=null)};
|
||||||
|
k.na=function(a){if(!this.b||!ff(this.b.b)){var b=this.C(a);a=Rg(b,a);b||(b=a?a.overlayParentNode:null);if(b&&a){var c=!!this.l(b,"disable-shortcuts")||!1,d=!!this.l(b,"disable-outside-click-dismiss")||!1;this.b=new Gg(a,c);this.j=b;var e=K("yt-dialog-fg",a);if(e){var f=this.l(b,"overlay-class")||"",g=this.l(b,"overlay-style")||"default",h=this.l(b,"overlay-shape")||"default",f=f?f.split(" "):[];f.push(W(this,g));f.push(W(this,h));Oc(e,f)}this.b.show();P("yt-uix-kbd-nav-move-to",e||a);Qg(this);c||
|
||||||
|
d||(c=v(function(a){C(a.target,"yt-dialog-base")&&Sg(this)},this),this.f=Q(K("yt-dialog-base",a),"click",c));
|
||||||
|
this.R(b,"overlay-shown");P("yt-uix-overlay-shown",b)}}};
|
||||||
|
function Qg(a){a.g||(a.g=Ie("yt-uix-overlay-hide",Tg));a.b&&Jg(a.b,function(){var a=Pg.B();a.j=null;a.b.dispose();a.b=null})}
|
||||||
|
function Sg(a){if(a.b){var b=a.j;a.b.dismiss("overlayhide");b&&a.R(b,"overlay-hidden");a.j=null;a.f&&(R(a.f),a.f=null);a.b=null}}
|
||||||
|
function Rg(a,b){var c;if(a)if(c=K("yt-dialog",a)){var d=H("body-container");d&&(d.appendChild(c),a.overlayContentNode=c,c.overlayParentNode=a)}else c=a.overlayContentNode;else b&&(c=L(b,"yt-dialog"));return c}
|
||||||
|
k.hide=function(a){a&&a.disabled||P("yt-uix-overlay-hide")};
|
||||||
|
function Tg(){Sg(Pg.B())}
|
||||||
|
k.show=function(a){this.na(a)};function Ug(){this.b=null}
|
||||||
|
Ug.prototype.init=function(){this.b=new bf;var a=K("body-container");cf(this.b,K("copynotice-claim-details-table"),"click",this.g,"copynotice-cancel-appeal");cf(this.b,a,"change",this.f,"copynotice-cancel-appeal-checkbox")};
|
||||||
|
Ug.prototype.g=function(a){a=L(a.currentTarget,"cancel-appeal-content");a=K("copynotice-cancel-appeal-content",a);Pg.B().show(a)};
|
||||||
|
Ug.prototype.f=function(a){a=a.currentTarget;var b=L(a,"yt-dialog-content"),b=K("copynotice-cancel-appeal-confirm-button",b);C(a,"checked")?b.removeAttribute("disabled"):b.setAttribute("disabled","disabled")};
|
||||||
|
Ug.prototype.dispose=function(){this.b&&df(this.b)};function Vg(){this.g=this.f=this.b=0;this.j="";var a=u("window.navigator.plugins"),b=u("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.j=b;b=a;this.b=b[0];this.f=b[1];this.g=b[2];if(0>=this.b){if(ye)try{var g=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(r){g=null}else{var h=document.body;var l=document.createElement("object");l.setAttribute("type","application/x-shockwave-flash");g=h.appendChild(l)}if(g&&"GetVariable"in g)try{var m=g.GetVariable("$version")}catch(r){m=""}h&&l&&h.removeChild(l);(g=m||"")?(g=g.split(" ")[1].split(","),g=[parseInt(g[0],10)||0,parseInt(g[1],10)||0,parseInt(g[2],
|
||||||
|
10)||0]):g=[0,0,0];this.b=g[0];this.f=g[1];this.g=g[2]}}
|
||||||
|
ga(Vg);function Wg(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.b>b[0]||a.b==b[0]&&a.f>b[1]||a.b==b[0]&&a.f==b[1]&&a.g>=b[2]}
|
||||||
|
;function Xg(a){a=a||{};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||Aa(Yg);this.assets=a.assets||{};this.attrs=a.attrs||Aa(Zg);this.params=a.params||Aa($g);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 Yg={enablejsapi:1},Zg={},$g={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};function ah(a){var b=new Xg,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];b[c]="object"==ha(d)?Aa(d):d}return b}
|
||||||
|
;function bh(a){Ic.call(this);this.b=[];this.f=a||this}
|
||||||
|
aa(bh,Ic);function ch(a,b,c,d){d=De(v(d,a.f));d={target:b,name:c,qa:d};b.addEventListener(c,d.qa,void 0);a.b.push(d)}
|
||||||
|
function dh(a){for(;a.b.length;){var b=a.b.pop();b.target.removeEventListener(b.name,b.qa)}}
|
||||||
|
bh.prototype.P=function(){dh(this);Ic.prototype.P.call(this)};w("yt.msgs_",window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{});var eh=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,fh=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;function gh(a,b){var c=hh(a),d=document.getElementById(c),e=d&&S(d,"loaded"),f=d&&!e;if(e)b&&b();else{if(b){var e=Ie(c,b),g=""+ma(b);ih[g]=e}f||(d=jh(a,c,function(){S(d,"loaded")||(lf(d,"loaded","true"),P(c),O(ra(Le,c),0))}))}}
|
||||||
|
function jh(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 hh(a){var b=document.createElement("a");sb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Ia(a)}
|
||||||
|
var ih={};function kh(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(eh,""),c=c.replace(fh,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else gh(a,b)}
|
||||||
|
;var lh=/cssbin\/(?:debug-)?([a-zA-Z0-9_-]+?)(?:-2x|-web|-rtl|-vfl|.css)/;function mh(a){a=a||"";if(window.spf){var b=a.match(lh);spf.style.load(a,b?b[1]:"",void 0)}else nh(a)}
|
||||||
|
function nh(a){var b=oh(a),c=document.getElementById(b),d=c&&S(c,"loaded");d||c&&!d||(c=ph(a,b,function(){S(c,"loaded")||(lf(c,"loaded","true"),P(b),O(ra(Le,b),0))}))}
|
||||||
|
function ph(a,b,c){var d=document.createElement("link");d.id=b;d.onload=function(){c&&setTimeout(c,0)};
|
||||||
|
a=Id(a);d.rel="stylesheet";d.href=bb(a);(document.getElementsByTagName("head")[0]||document.body).appendChild(d);return d}
|
||||||
|
function oh(a){var b=document.createElement("a");sb(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"css-"+Ia(a)}
|
||||||
|
;var Z={},qh=(Z["api.invalidparam"]=2,Z.auth=150,Z["drm.auth"]=150,Z["heartbeat.net"]=150,Z["heartbeat.servererror"]=150,Z["heartbeat.stop"]=150,Z["html5.unsupportedads"]=5,Z["fmt.noneavailable"]=5,Z["fmt.decode"]=5,Z["fmt.unplayable"]=5,Z["html5.missingapi"]=5,Z["html5.unsupportedlive"]=5,Z["drm.unavailable"]=5,Z);var rh;var sh=jb,sh=sh.toLowerCase();if(-1!=sh.indexOf("android")){var th=sh.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(th)rh=Number(th[1]);else{var uh={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},vh=[],wh=0,xh;for(xh in uh)vh[wh++]=xh;var yh=sh.match("("+vh.join("|")+")");rh=yh?uh[yh[0]]:0}}else rh=void 0;var zh=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Ah=['audio/mp4; codecs="mp4a.40.2"'];sa();var Bh=q(XMLHttpRequest)?function(){return new XMLHttpRequest}:q(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;
|
||||||
|
function Ch(){if(!Bh)return null;var a=Bh();return"open"in a?a:null}
|
||||||
|
;var Dh={"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 Eh(a,b){b=void 0===b?{}:b;var c=void 0;c=window.location.href;var d=a.match(oe)[1]||null,e=pe(a.match(oe)[3]||null);d&&e?(d=c,c=a.match(oe),d=d.match(oe),c=c[3]==d[3]&&c[1]==d[1]&&c[4]==d[4]):c=e?pe(c.match(oe)[3]||null)==e&&(Number(c.match(oe)[4]||null)||null)==(Number(a.match(oe)[4]||null)||null):!0;for(var f in Dh){if((e=d=N(Dh[f]))&&!(e=c)){var g=a,e=f,h=N("CORS_HEADER_WHITELIST")||{};e=(g=pe(g.match(oe)[3]||null))?(h=h[g])?Qa(h,e):!1:!0}e&&(b[f]=d)}return b}
|
||||||
|
function Fh(a,b){var c=N("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.Kb&&(!pe(a.match(oe)[3]||null)||b.withCredentials||pe(a.match(oe)[3]||null)==document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.J&&b.J[c])}
|
||||||
|
function Gh(a,b){var c=b.format||"JSON";b.Mb&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var d=N("XSRF_FIELD_NAME",void 0),e=N("XSRF_TOKEN",void 0),f=b.yb;f&&(f[d]&&delete f[d],a=Qf(a,f||{}));var g=b.postBody||"",f=b.J;Fh(a,b)&&(f||(f={}),f[d]=e);f&&t(g)&&(d=Pf(g),Ca(d,f),g=b.Ja&&"JSON"==b.Ja?JSON.stringify(d):re(d));var h=!1,l,m=Hh(a,function(a){if(!h){h=!0;l&&window.clearTimeout(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=Ih(c,a,b.Ib);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||n;d||b.onError&&b.onError.call(f,a,e);b.mb&&b.mb.call(f,a,e)}},b.method,g,b.headers,b.responseType,b.withCredentials);
|
||||||
|
b.ma&&0<b.timeout&&(l=O(function(){h||(h=!0,m.abort(),window.clearTimeout(l),b.ma.call(b.context||n,m))},b.timeout))}
|
||||||
|
function Ih(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)?Jh(b):null)d={},y(b.getElementsByTagName("*"),function(a){d[a.tagName]=Kh(a)})}c&&Lh(d);
|
||||||
|
return d}
|
||||||
|
function Lh(a){if(la(a))for(var b in a){var c;(c="html_content"==b)||(c=b.length-5,c=0<=c&&b.indexOf("_html",c)==c);if(c){c=b;Ya("HTML that is escaped and sanitized server-side and passed through yt.net.ajax");var d=rb(a[b]);a[c]=d}else Lh(a[b])}}
|
||||||
|
function Jh(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null}
|
||||||
|
function Kh(a){var b="";y(a.childNodes,function(a){b+=a.nodeValue});
|
||||||
|
return b}
|
||||||
|
function Mh(a,b){b.method="POST";b.J||(b.J={});Gh(a,b)}
|
||||||
|
function Hh(a,b,c,d,e,f,g){function h(){4==(l&&"readyState"in l?l.readyState:0)&&b&&De(b)(l)}
|
||||||
|
c=void 0===c?"GET":c;d=void 0===d?"":d;var l=Ch();if(!l)return null;"onloadend"in l?l.addEventListener("loadend",h,!1):l.onreadystatechange=h;l.open(c,a,!0);f&&(l.responseType=f);g&&(l.withCredentials=!0);c="POST"==c;if(e=Eh(a,e))for(var m in e)l.setRequestHeader(m,e[m]),"content-type"==m.toLowerCase()&&(c=!1);c&&l.setRequestHeader("Content-Type","application/x-www-form-urlencoded");l.send(d);return l}
|
||||||
|
;var Nh=0,Oh={};function Ph(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b}
|
||||||
|
;function Of(a){a||(a={apiaryHost:Be("APIARY_HOST"),Gb:Be("APIARY_HOST_FIRSTPARTY"),gapiHintOverride:!!N("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:Be("GAPI_HINT_PARAMS"),innertubeApiKey:Be("INNERTUBE_API_KEY"),innertubeApiVersion:Be("INNERTUBE_API_VERSION"),Za:N("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:Be("INNERTUBE_CONTEXT_CLIENT_VERSION"),bb:Be("INNERTUBE_CONTEXT_HL"),ab:Be("INNERTUBE_CONTEXT_GL"),xhrApiaryHost:Be("XHR_APIARY_HOST")||"",cb:Be("INNERTUBE_HOST_OVERRIDE")||
|
||||||
|
""});this.b=a}
|
||||||
|
function Lf(a,b,c){var d={};!N("VISITOR_DATA")&&.01>Math.random()&&Ce(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var e={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":N("VISITOR_DATA","")},J:c,Ja:"JSON",ma:d.ma,Nb:function(){},
|
||||||
|
onError:function(a,b){if(d.onError)d.onError(b)},
|
||||||
|
timeout:d.timeout,withCredentials:!0},f=Bc();f&&(e.headers.Authorization=f,e.headers["X-Goog-AuthUser"]=N("SESSION_INDEX",0));var g=a.b.xhrApiaryHost;g&&!g.startsWith("http")&&(g="//"+g);Af("youtubei_for_web")&&(g="");var h=a.b.cb;h&&(g=h);f&&!g&&(e.headers["x-origin"]=window.location.origin);Mh(""+g+Ph(a.b.innertubeApiVersion,b,c)+"?alt=json&key="+a.b.innertubeApiKey,e)}
|
||||||
|
;var Qh=u("ytLoggingLatencyUsageStats_")||{};w("ytLoggingLatencyUsageStats_",Qh);var Rh=0;
|
||||||
|
function Sh(a){Qh[a]=Qh[a]||{count:0};var b=Qh[a];b.count++;b.time=xe();Rh||(Rh=of());if(10<b.count){if(11==b.count){var b=Error("CSI data exceeded logging limit with key: "+a),c=void 0,d=void 0,c=void 0===c?"ERROR":c,d=void 0===d?!1:d;a={name:N("INNERTUBE_CONTEXT_CLIENT_NAME",1),version:Be("INNERTUBE_CONTEXT_CLIENT_VERSION")};c=void 0===c?"ERROR":c;d=window&&window.yterr||(void 0===d?!1:d)||!1;if(b&&d&&!(5<=Nh)){var d=b.stacktrace,e=b.columnNumber;var f=u("window.location.href");if(t(b))b={message:b,
|
||||||
|
name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var g=!1;try{var h=b.lineNumber||b.line||"Not available"}catch(I){h="Not available",g=!0}try{var l=b.fileName||b.filename||b.sourceURL||n.$googDebugFname||f}catch(I){l="Not available",g=!0}b=!g&&b.lineNumber&&b.fileName&&b.stack&&b.message&&b.name?b:{message:b.message||"Not available",name:b.name||"UnknownError",lineNumber:h,fileName:l,stack:b.stack||"Not available"}}d=d||b.stack;h=b.lineNumber.toString();isNaN(h)||
|
||||||
|
isNaN(e)||(h=h+":"+e);if(!(Oh[b.message]||0<=d.indexOf("/YouTubeCenter.js")||0<=d.indexOf("/mytube.js"))){l=b.fileName;h={yb:{a:"logerror",t:"jserror",type:b.name,msg:b.message.substr(0,1E3),line:h,level:c},J:{url:N("PAGE_NAME",window.location.href),file:l},method:"POST"};d&&(h.J.stack=d);for(var m in a)h.J["client."+m]=a[m];if(m=N("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var r in m)h.J[r]=m[r];Gh("/error_204",h);Oh[b.message]=!0;Nh++}}}return!0}return!1}
|
||||||
|
function pf(){var a=xe(),b;for(b in Qh)6E4<a-Qh[b].time&&delete Qh[b];Rh=0}
|
||||||
|
;var Th={},Uh=0;function Vh(a,b){a&&(N("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?Hh(a,b):Wh(a,b))}
|
||||||
|
function Wh(a,b){var c=new Image,d=""+Uh++;Th[d]=c;c.onload=c.onerror=function(){b&&Th[d]&&b();delete Th[d]};
|
||||||
|
c.src=a}
|
||||||
|
;var Xh=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};function Yh(a,b){mf.call(this,1,arguments)}
|
||||||
|
x(Yh,mf);function Zh(a,b){mf.call(this,1,arguments)}
|
||||||
|
x(Zh,mf);var $h=new nf("aft-recorded"),ai=new nf("timing-sent");var bi=sa().toString();var ci={vc:!0},di={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"},ei="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(" "),
|
||||||
|
fi=["isNavigation","isMonetized","prerollAllowed","isRedSubscriber","isVisible"],gi=!1;function hi(){var a=ii().info.yt_lt="hot_bg";ji().info_yt_lt=a;if(Af("csi_on_gel"))if("yt_lt"in di){var b={},c=di.yt_lt.split(".");Qa(fi,c)&&(a=!!a);for(var d=b,e=0;e<c.length-1;e++)d[c[e]]=d[c[e]]||{},d=d[c[e]];b[c[c.length-1]]=a;a=ki();c=Object.keys(b).join("");Sh("info_"+c+"_"+a)||(b.clientActionNonce=a,Nf("latencyActionInfo",b))}else Qa(ei,"yt_lt")||Ce(Error("Unknown label yt_lt logged with GEL CSI."))}
|
||||||
|
function li(){var a=mi();if(a.aft)return a.aft;for(var b=N("TIMING_AFT_KEYS",["ol"]),c=b.length,d=0;d<c;d++){var e=a[b[d]];if(e)return e}return NaN}
|
||||||
|
function ni(){if(!Af("csi_on_gel")){var a=mi(),b=ii().info,c=a._start,d;for(d in a)if(0==d.lastIndexOf("_",0)&&ia(a[d])){var e=d.slice(1);if(e in ci){var f=Na(a[d],function(a){return Math.round(a-c)});
|
||||||
|
b["all_"+e]=f.join()}delete a[d]}e=!!b.ap;if(f=u("ytglobal.timingReportbuilder_")){if(f=f(a,b,void 0))oi(f,e),pi(),qi(),ri(!1,void 0),N("TIMING_ACTION")&&Ae("PREVIOUS_ACTION",N("TIMING_ACTION")),Ae("TIMING_ACTION","")}else{var g=N("CSI_SERVICE_NAME","youtube");f={v:2,s:g,action:N("TIMING_ACTION",void 0)};var h=b.srt;void 0!==a.srt&&delete b.srt;if(b.h5jse){var l=window.location.protocol+u("ytplayer.config.assets.js");(l=Xh.getEntriesByName?Xh.getEntriesByName(l)[0]:null)?b.h5jse=Math.round(b.h5jse-
|
||||||
|
l.responseEnd):delete b.h5jse}a.aft=li();si()&&"youtube"==g&&(hi(),g=a.vc,l=a.pbs,delete a.aft,b.aft=Math.round(l-g));for(var m in b)"_"!=m.charAt(0)&&(f[m]=b[m]);a.ps=xe();b={};m=[];for(d in a)"_"!=d.charAt(0)&&(g=Math.round(a[d]-c),b[d]=g,m.push(d+"."+g));f.rt=m.join(",");(a=u("ytdebug.logTiming"))&&a(f,b);oi(f,e,void 0);uf(ai,new Zh(b.aft+(h||0),void 0))}}}
|
||||||
|
var qi=v(Xh.clearResourceTimings||Xh.webkitClearResourceTimings||Xh.mozClearResourceTimings||Xh.msClearResourceTimings||Xh.oClearResourceTimings||fa,Xh);
|
||||||
|
function oi(a,b,c){if(Af("debug_csi_data")){var d=u("yt.timing.csiData");d||(d=[],w("yt.timing.csiData",d));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,"")||Vh(a,void 0)}catch(f){Vh(a,void 0)}else Vh(a);ri(!0,c)}
|
||||||
|
function ki(){var a=ii().nonce;if(!a){a:{if(window.crypto&&window.crypto.getRandomValues)try{var b=Array(16),c=new Uint8Array(16);window.crypto.getRandomValues(c);for(a=0;a<b.length;a++)b[a]=c[a];var d=b;break a}catch(e){}d=Array(16);for(b=0;16>b;b++){c=sa();for(a=0;a<c%23;a++)d[b]=Math.random();d[b]=Math.floor(256*Math.random())}if(bi)for(b=1,c=0;c<bi.length;c++)d[b%16]=d[b%16]^d[(b-1)%16]/4^bi.charCodeAt(c),b++}b=[];for(c=0;c<d.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d[c]&
|
||||||
|
63));a=b.join("");ii().nonce=a}return a}
|
||||||
|
function mi(){return ii().tick}
|
||||||
|
function ji(){var a=ii();"gel"in a||(a.gel={});return a.gel}
|
||||||
|
function ii(){return u("ytcsi.data_")||pi()}
|
||||||
|
function pi(){var a={tick:{},info:{}};w("ytcsi.data_",a);return a}
|
||||||
|
function ri(a,b){w("yt.timing."+(b||"")+"pingSent_",a)}
|
||||||
|
function si(){var a=mi(),b=a.pbr,c=a.vc,a=a.pbs;return b&&c&&a&&b<c&&c<a&&1==ii().info.yt_pvis}
|
||||||
|
;function ti(a,b){Ic.call(this);this.u=this.m=a;this.ba=b;this.A=!1;this.f={};this.ca=this.U=null;this.V=new M;Jc(this,ra(Kc,this.V));this.j={};this.K=this.da=this.g=this.ka=this.b=null;this.Y=!1;this.L=this.w=this.o=this.O=null;this.ea={};this.Na=["onReady"];this.Z=new bh(this);Jc(this,ra(Kc,this.Z));this.ia=null;this.oa=NaN;this.aa={};ui(this);this.I("onDetailedError",v(this.pb,this));this.I("onTabOrderChange",v(this.Oa,this));this.I("onTabAnnounce",v(this.pa,this));this.I("WATCH_LATER_VIDEO_ADDED",
|
||||||
|
v(this.qb,this));this.I("WATCH_LATER_VIDEO_REMOVED",v(this.rb,this));Cc||(this.I("onMouseWheelCapture",v(this.nb,this)),this.I("onMouseWheelRelease",v(this.ob,this)));this.I("onAdAnnounce",v(this.pa,this));this.N=new bh(this);Jc(this,ra(Kc,this.N));this.ja=!1;this.ha=null}
|
||||||
|
x(ti,Ic);var vi=["drm.unavailable","fmt.noneavailable","html5.missingapi","html5.unsupportedads","html5.unsupportedlive"];k=ti.prototype;k.Bb=function(a,b){this.H()||(wi(this,a),xi(this,b),this.A&&yi(this))};
|
||||||
|
function wi(a,b){a.ka=b;a.b=ah(b);a.g=a.b.attrs.id||a.g;"video-player"==a.g&&(a.g=a.ba,a.b.attrs.id=a.ba);a.u.id==a.g&&(a.g+="-player",a.b.attrs.id=a.g);a.b.args.enablejsapi="1";a.b.args.playerapiid=a.ba;a.da||(a.da=zi(a,a.b.args.jsapicallback||"onYouTubePlayerReady"));a.b.args.jsapicallback=null;var c=a.b.attrs.width;c&&(a.u.style.width=Vd(Number(c)||c,!0));if(c=a.b.attrs.height)a.u.style.height=Vd(Number(c)||c,!0)}
|
||||||
|
k.Ra=function(){return this.ka};
|
||||||
|
function yi(a){a.b.loaded||(a.b.loaded=!0,"0"!=a.b.args.autoplay?a.f.loadVideoByPlayerVars(a.b.args):a.f.cueVideoByPlayerVars(a.b.args))}
|
||||||
|
function Ai(a){var b=a.b&&a.b.args&&a.b.args.fflags;if(b&&(0<=b.indexOf("web_player_disable_flash=true")||0<=b.indexOf("web_player_disable_flash_playerproxy=true")))return!1;if(!q(a.b.disable.flash)){var b=a.b.disable;var c=Wg(Vg.B(),a.b.minVersion);b.flash=!c}return!a.b.disable.flash}
|
||||||
|
function Bi(a,b){var c;(c=!b)||(c=5!=(qh[b.errorCode]||5)?!1:(c=a.b&&a.b.args&&a.b.args.fflags)&&0<=c.indexOf("web_player_disable_flash_fallback=true")?!1:-1!=vi.indexOf(b.errorCode));if(c&&Ai(a)){(c=Ci(a))&&c.stopVideo&&c.stopVideo();var d=a.b;c&&c.getUpdatedConfigurationData&&(c=c.getUpdatedConfigurationData(),c instanceof Xg||(c=new Xg(c)),d=c);d.args.autoplay=1;d.args.html5_unavailable="1";wi(a,d);xi(a,"flash")}}
|
||||||
|
function xi(a,b){if(!a.H()){if(!b){var c;if(!(c=!a.b.html5&&Ai(a))){if(!q(a.b.disable.html5)){c=!0;void 0!=a.b.args.deviceHasDisplay&&(c=a.b.args.deviceHasDisplay);if(2.2==rh)var d=!0;else{a:{var e=c;c=u("yt.player.utils.videoElement_");c||(c=document.createElement("VIDEO"),w("yt.player.utils.videoElement_",c));try{if(c.canPlayType)for(var e=e?zh:Ah,f=0;f<e.length;f++)if(c.canPlayType(e[f])){d=null;break a}d="fmt.noneavailable"}catch(g){d="html5.missingapi"}}d=!d}d&&(d=Di(a)||a.b.assets.js);a.b.disable.html5=
|
||||||
|
!d;d||(a.b.args.html5_unavailable="1")}c=!!a.b.disable.html5}b=c?Ai(a)?"flash":"unsupported":"html5"}("flash"==b?a.zb:a.Ab).call(a)}}
|
||||||
|
function Di(a){var b=!0,c=Ci(a);c&&a.b&&(a=a.b,b=S(c,"version")==a.assets.js);return b&&!!u("yt.player.Application.create")}
|
||||||
|
k.Ab=function(){if(!this.Y){var a=Di(this);if(a&&"html5"==Ei(this))this.K="html5",this.A||this.S();else if(Fi(this),this.K="html5",a&&this.o)this.m.appendChild(this.o),this.S();else{this.b.loaded=!0;var b=!1;this.O=v(function(){b=!0;var a=this.m,d=ah(this.b);u("yt.player.Application.create")(a,d);this.S()},this);
|
||||||
|
this.Y=!0;a?this.O():(kh(this.b.assets.js,this.O),mh(this.b.assets.css),Gi(this)&&!b&&w("yt.player.Application.create",null))}}};
|
||||||
|
k.zb=function(){var a=ah(this.b);if(!this.w){var b=Ci(this);b&&(this.w=document.createElement("SPAN"),this.w.tabIndex=0,ch(this.Z,this.w,"focus",this.Ha),this.L=document.createElement("SPAN"),this.L.tabIndex=0,ch(this.Z,this.L,"focus",this.Ha),b.parentNode&&b.parentNode.insertBefore(this.w,b),b.parentNode&&b.parentNode.insertBefore(this.L,b.nextSibling))}a.attrs.width=a.attrs.width||"100%";a.attrs.height=a.attrs.height||"100%";if("flash"==Ei(this))this.K="flash",this.A||this.S();else{Fi(this);this.K=
|
||||||
|
"flash";this.b.loaded=!0;var b=Vg.B(),c=(-1<b.j.indexOf("Gnash")&&-1==b.j.indexOf("AVM2")||9==b.b&&1==b.f||9==b.b&&0==b.f&&1==b.g?0:9<=b.b)||-1<navigator.userAgent.indexOf("Sony/COM2")&&!Wg(b,9,1,58)?a.url:a.urlV9As2;window!=window.top&&document.referrer&&(a.args.framer=document.referrer.substring(0,128));b=this.m;if(c){var b=t(b)?$c(b):b,d=Aa(a.attrs);d.tabindex=0;var e=Aa(a.params);e.flashvars=re(a.args);if(ye){d.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";e.movie=c;var a=document.createElement("object");
|
||||||
|
for(g in d)a.setAttribute(g,d[g]);for(var f in e){var g=document.createElement("param");g.setAttribute("name",f);g.setAttribute("value",e[f]);a.appendChild(g)}}else{d.type="application/x-shockwave-flash";d.src=c;a=document.createElement("embed");a.setAttribute("name",d.id);for(var h in d)a.setAttribute(h,d[h]);for(var l in e)a.setAttribute(l,e[l])}f=document.createElement("div");f.appendChild(a);b.innerHTML=f.innerHTML}this.S()}};
|
||||||
|
k.Ha=function(){Ci(this).focus()};
|
||||||
|
function Ci(a){var b=H(a.g);!b&&a.u&&a.u.querySelector&&(b=a.u.querySelector("#"+a.g));return b}
|
||||||
|
k.S=function(){if(!this.H()){var a=Ci(this),b=!1;try{a&&a.getApiInterface&&a.getApiInterface()&&(b=!0)}catch(f){}if(b)if(this.Y=!1,a.isNotServable&&a.isNotServable(this.b.args.video_id))Bi(this);else{ui(this);this.A=!0;a=Ci(this);a.addEventListener&&(this.U=Hi(this,a,"addEventListener"));a.removeEventListener&&(this.ca=Hi(this,a,"removeEventListener"));for(var b=a.getApiInterface(),b=b.concat(a.getInternalApiInterface()),c=0;c<b.length;c++){var d=b[c];this.f[d]||(this.f[d]=Hi(this,a,d))}for(var e in this.j)this.U(e,
|
||||||
|
this.j[e]);yi(this);this.da&&this.da(this.f);this.V.G("onReady",this.f)}else this.oa=O(v(this.S,this),50)}};
|
||||||
|
function Hi(a,b,c){var d=b[c];return function(){try{return a.ia=null,d.apply(b,arguments)}catch(e){"Bad NPObject as private data!"!=e.message&&"sendAbandonmentPing"!=c&&(e.message+=" ("+c+")",a.ia=e,Ce(e,"WARNING"))}}}
|
||||||
|
function ui(a){a.A=!1;if(a.ca)for(var b in a.j)a.ca(b,a.j[b]);for(var c in a.aa)window.clearTimeout(parseInt(c,10));a.aa={};a.U=null;a.ca=null;for(var d in a.f)a.f[d]=null;a.f.addEventListener=v(a.I,a);a.f.removeEventListener=v(a.vb,a);a.f.destroy=v(a.dispose,a);a.f.getLastError=v(a.Sa,a);a.f.getPlayerType=v(a.Ta,a);a.f.getCurrentVideoConfig=v(a.Ra,a);a.f.loadNewVideoConfig=v(a.Bb,a);a.f.isReady=v(a.eb,a)}
|
||||||
|
k.eb=function(){return this.A};
|
||||||
|
k.I=function(a,b){if(!this.H()){var c=zi(this,b);if(c){if(!Qa(this.Na,a)&&!this.j[a]){var d=Ii(this,a);this.U&&this.U(a,d)}this.V.subscribe(a,c);"onReady"==a&&this.A&&O(ra(c,this.f),0)}}};
|
||||||
|
k.vb=function(a,b){if(!this.H()){var c=zi(this,b);c&&ge(this.V,a,c)}};
|
||||||
|
function zi(a,b){var c=b;if("string"==typeof b){if(a.ea[b])return a.ea[b];c=function(){var a=u(b);a&&a.apply(n,arguments)};
|
||||||
|
a.ea[b]=c}return c?c:null}
|
||||||
|
function Ii(a,b){var c="ytPlayer"+b+a.ba;a.j[b]=c;n[c]=function(c){var d=O(function(){if(!a.H()){a.V.G(b,c);var e=a.aa,g=String(d);g in e&&delete e[g]}},0);
|
||||||
|
za(a.aa,String(d))};
|
||||||
|
return c}
|
||||||
|
k.Oa=function(a){a=a?od:nd;for(var b=a(document.activeElement);b&&(1!=b.nodeType||b==this.w||b==this.L||(b.focus(),b!=document.activeElement));)b=a(b)};
|
||||||
|
k.pa=function(a){P("a11y-announce",a)};
|
||||||
|
k.pb=function(a){Bi(this,a)};
|
||||||
|
k.qb=function(a){P("WATCH_LATER_VIDEO_ADDED",a)};
|
||||||
|
k.rb=function(a){P("WATCH_LATER_VIDEO_REMOVED",a)};
|
||||||
|
k.nb=function(){this.ja||(Gc?(this.ha=gd(document),ch(this.N,window,"scroll",this.tb),ch(this.N,this.m,"touchmove",this.sb)):(ch(this.N,this.m,"mousewheel",this.Ia),ch(this.N,this.m,"wheel",this.Ia)),this.ja=!0)};
|
||||||
|
k.ob=function(){dh(this.N);this.ja=!1};
|
||||||
|
k.Ia=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
|
||||||
|
k.tb=function(){window.scrollTo(this.ha.h,this.ha.i)};
|
||||||
|
k.sb=function(a){a.preventDefault()};
|
||||||
|
k.Ta=function(){return this.K||Ei(this)};
|
||||||
|
k.Sa=function(){return this.ia};
|
||||||
|
function Ei(a){return(a=Ci(a))?"div"==a.tagName.toLowerCase()?"html5":"flash":null}
|
||||||
|
function Fi(a){var b="dcp";Xh.mark&&(0==b.lastIndexOf("mark_",0)||(b="mark_"+b),Xh.mark(b));var b=mi(),c=xe();b.dcp&&(b._dcp=b._dcp||[b.dcp],b._dcp.push(c));b.dcp=c;ji().tick_dcp=void 0;xe();Af("csi_on_gel")?(b=ki(),Sh("tick_dcp_"+b)||Nf("latencyActionTicked",{tickName:"dcp",clientActionNonce:b},void 0),b=!0):b=!1;if(!b&&!u("yt.timing.pingSent_")&&(c=N("TIMING_ACTION",void 0),b=mi(),u("ytglobal.timingready_")&&c&&b._start&&(c=li()))){Af("tighter_critical_section")&&!gi&&(uf($h,new Yh(Math.round(c-
|
||||||
|
b._start),void 0)),gi=!0);var c=!0,d=N("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in b)){c=!1;break}c&&ni()}a.cancel();ui(a);a.K=null;a.b&&(a.b.loaded=!1);b=Ci(a);"html5"==Ei(a)?Di(a)||!Gi(a)?a.o=b:(b&&b.destroy&&b.destroy(),a.o=null):b&&b.destroy&&b.destroy();jd(a.m);dh(a.Z);a.w=null;a.L=null}
|
||||||
|
k.cancel=function(){if(this.O){var a=this.O;this.b.assets.js&&a&&(a=""+ma(a),(a=ih[a])&&Ne(a))}window.clearTimeout(this.oa);this.Y=!1};
|
||||||
|
k.P=function(){Fi(this);if(this.o&&this.b&&this.o.destroy)try{this.o.destroy()}catch(b){Ce(b)}this.ea=null;for(var a in this.j)n[this.j[a]]=null;this.ka=this.b=this.f=null;delete this.m;delete this.u;ti.D.P.call(this)};
|
||||||
|
function Gi(a){return a.b&&a.b.args&&a.b.args.fflags?-1!=a.b.args.fflags.indexOf("player_destroy_old_version=true"):!1}
|
||||||
|
;var Ji={},Ki="player_uid_"+(1E9*Math.random()>>>0);var Li={};function Mi(){y(ad("copyright-in-product-help"),function(a){var b=a.dataset.contextId;a.onclick=function(a){a.preventDefault();a=N("FEEDBACK_LOCALE_LANGUAGE");Ca(Li,N("FEEDBACK_LOCALE_EXTRAS",{}));try{var c="player-api";if(c=H(c)){var e=Ki+"_"+ma(c);var f=Ji[e];f||(f=new ti(c,e),Ji[e]=f);var g=f.f}else g=null;g&&g.pauseVideo&&g.pauseVideo();var h=Vg.B();Li.flashVersion=[h.b,h.f,h.g].join(".");g&&(Li.playback_id=g.getVideoData().cpn,g.getLastError&&(Li.api_error=g.getLastError()))}catch(r){}e={helpCenterPath:"/youtube",
|
||||||
|
locale:a,productData:Li};g={context:b,anchor:void 0,enableSendFeedback:!0,defaultHelpArticleId:void 0};f=N("SESSION_INDEX");h=N("FEEDBACK_BUCKET_ID");a={abuseLink:"https://support.google.com/youtube/bin/answer.py?answer=140536",customZIndex:"2000000005"};Af("gfeedback_for_signed_out_users_enabled")&&(a.allowNonLoggedInFeedback=!0);f&&(a.authuser=f+"");h&&(a.bucket=h);Ca(g,a);try{e=e||{};var l={apiKey:e.Fb||e.apiKey,environment:e.Jb||e.environment,helpCenterPath:e.Lb||e.helpCenterPath,locale:e.locale||
|
||||||
|
e.locale||"en".replace(/-/g,"_"),productData:e.Ob||e.productData,receiverUri:e.Pb||e.receiverUri,renderApiUri:e.Qb||e.renderApiUri,theme:e.theme||e.theme,window:e.window||e.window},m=qc(vc,"help.service.Lazy.create","59",l);(new uc(m)).f(g)}catch(r){}}})}
|
||||||
|
;function Ni(){this.b=null}
|
||||||
|
Ni.prototype.init=function(){this.b=new bf;cf(this.b,K("copynotice-claim-details-table"),"click",this.f,"copynotice-owner-list-control");Mi()};
|
||||||
|
Ni.prototype.f=function(a){a=L(a.currentTarget,"copynotice-claim-owners");Sc(a,"owner-list-state-collapsed")};
|
||||||
|
Ni.prototype.dispose=function(){this.b&&df(this.b)};var Oi=null,Pi=null;function Qi(a){var b=parseInt(a.currentTarget.getAttribute("data-match-start"),10);b||(b=0);b=Oi.getAttribute("src")+"&autoplay=1&start="+b;Oi.setAttribute("src",b);a.preventDefault()}
|
||||||
|
;var Ri=new Ni,Si=new Ug;Ie("init",function(){Ri.init();Si.init();Pi=new bf;Oi=md(H("vm-video-player"));cf(Pi,null,"click",Qi,"copynotice-play-match")});
|
||||||
|
Ie("dispose",function(){Ri.dispose();Si.dispose();Pi&&df(Pi)});}).call(this);
|
Loading…
Reference in New Issue