Cancel your memberships - YouTube Help Skip to main content Search
Clear search
Close search
Main menu
16757176040727538189
Search Help Center
true
true
59
");return(new DOMParser).parseFromString(On(a),"text/html").body.children[0]}
function $La(a,b){if(!a)return Hn;var c=document.createElement("div").style;VQ(a).forEach(function(e){var f=Cc&&e in XLa?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Jb(f,"--")||Jb(f,"var")||(e=TLa(a,e),e=ALa(f,e,b),e!=null&&ULa(c,f,e))});
return new Dn(c.cssText||"",Cn)}
function cMa(a){var b=Array.from(QQ(GLa,a,"getElementsByTagName",["STYLE"])),c=RJa(b,function(k){return vc(SLa(k).cssRules)});
c=ZLa(c);for(var e=[],f=0;fla?1:Er?1:p=0)){var f=TLa(b,e);ULa(a.style,e,f)}})}
function VQ(a){kb(a)?a=vc(a):(a=iKa(a),uc(a,"cssText"));return a}
;var eMa=typeof WeakMap!="undefined"&&WeakMap.toString().indexOf("[native code]")!=-1,fMa=0;function WQ(){this.qa=[];this.ma=[];this.o="data-elementweakmap-index-"+fMa++}
WQ.prototype.set=function(a,b){if(QQ(CLa,a,"hasAttribute",[this.o])){var c=parseInt(QQ(DLa,a,"getAttribute",[this.o])||null,10);this.ma[c]=b}else c=this.ma.push(b)-1,RQ(a,this.o,c.toString()),this.qa.push(a);return this};
WQ.prototype.get=function(a){if(QQ(CLa,a,"hasAttribute",[this.o]))return a=parseInt(QQ(DLa,a,"getAttribute",[this.o])||null,10),this.ma[a]};
WQ.prototype.clear=function(){this.qa.forEach(function(a){QQ(FLa,a,"removeAttribute",[this.o])},this);
this.qa=[];this.ma=[]};function gMa(){this.ma=document.implementation.createHTMLDocument("")}
;var hMa={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0};var iMa={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,
NAV:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,VIDEO:!0,WBR:!0};var jMa={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0};
function XQ(a){this.ma=document.implementation.createHTMLDocument("");a=a||new YQ;kMa(a);this.o=zn(a.o);this.va=zn(a.Ha);this.qa=zn(a.Ia);this.Ca=a.Fa;a.Ma.forEach(function(b){if(!Jb(b,"data-"))throw new zb('Only "data-" attributes allowed, got: %s.',[b]);if(Jb(b,"data-sanitizer-"))throw new zb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.o["* "+b.toUpperCase()]=lMa},this);
a.La.forEach(function(b){b=b.toUpperCase();if(!Ob(b,"-")||jMa[b])throw new zb("Only valid custom element tag names allowed, got: %s.",[b]);this.qa[b]=!0},this);
this.Fa=a.oa;this.ua=a.Ca;this.oa=null;this.ya=a.ya}
tb(XQ,gMa);function mMa(a){return function(b,c){return(b=a(Lb(b),c))&&mn(b)!=ln.toString()?mn(b):null}}
function YQ(){this.o={};pc([tLa,uLa],function(a){iKa(a).forEach(function(b){this.o[b]=lMa},this)},this);
this.ma={};this.Ma=[];this.La=[];this.Ha=zn(hMa);this.Ia=zn(iMa);this.Fa=!1;this.va=nMa;this.Ra=this.qa=this.Oa=this.oa=lKa;this.Ca=null;this.ua=this.ya=!1}
function oMa(a){var b=new YQ;b.qa=a;return b}
function pMa(a,b){return function(c,e,f,h){c=a(c,e,f,h);return c==null?null:b(c,e,f,h)}}
function ZQ(a,b,c,e){a[c]&&!b[c]&&(a[c]=pMa(a[c],e))}
YQ.prototype.build=function(){return new XQ(this)};
function kMa(a){if(a.ua)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ZQ(a.o,a.ma,"* USEMAP",qMa);var b=mMa(a.va);["* ACTION","* CITE","* HREF"].forEach(function(e){ZQ(this.o,this.ma,e,b)},a);
var c=mMa(a.oa);["* LONGDESC","* SRC","LINK HREF"].forEach(function(e){ZQ(this.o,this.ma,e,c)},a);
["* FOR","* HEADERS","* NAME"].forEach(function(e){ZQ(this.o,this.ma,e,pb(rMa,this.Oa))},a);
ZQ(a.o,a.ma,"A TARGET",pb(sMa,["_blank","_self"]));ZQ(a.o,a.ma,"* CLASS",pb(tMa,a.qa));ZQ(a.o,a.ma,"* ID",pb(uMa,a.qa));ZQ(a.o,a.ma,"* STYLE",pb(a.Ra,c));a.ua=!0}
function nMa(a){return sn(a)}
function vMa(a,b){a||(a="*");return(a+" "+b).toUpperCase()}
function lMa(a){return Lb(a)}
function sMa(a,b){b=Lb(b);return tc(a,b.toLowerCase())?b:null}
function qMa(a){return(a=Lb(a))&&a.charAt(0)=="#"?a:null}
function rMa(a,b,c){return a(Lb(b),c)}
function tMa(a,b,c){b=b.split(/(?:\s+)/);for(var e=[],f=0;f"+b+""),cMa(b),b=b.innerHTML);b=Qn(b);var c=document.createElement("template");if("content"in c)Wp(c,b),c=c.content;else{var e=document.implementation.createHTMLDocument("x");
c=e.body;Wp(e.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=eMa?new WeakMap:new WQ;e=b.nextNode();){a:{var f=e;switch(TQ(f)){case 3:f=this.createTextNode(f);break a;case 1:if(SQ(f).toUpperCase()=="TEMPLATE")f=null;else{var h=SQ(f).toUpperCase();if(h in this.va||VLa(f)!="http://www.w3.org/1999/xhtml")var k=null;else this.qa[h]?k=this.ma.createElement(h):(k=this.ma.createElement("span"),this.Ca&&RQ(k,"data-sanitizer-original-tag",h.toLowerCase()));
if(k){var l=k,p=QLa(f);if(p!=null)for(var r=0;h=p[r];r++)if(h.specified){var u=f;var x=h;var E=x.name;if(Jb(E,"data-sanitizer-"))x=null;else{var la=SQ(u);x=x.value;var qa={tagName:Lb(la).toLowerCase(),attributeName:Lb(E).toLowerCase()},sa={eN:void 0};qa.attributeName=="style"&&(sa.eN=RLa(u));u=vMa(la,E);u in this.o?(E=this.o[u],x=E(x,qa,sa)):(E=vMa(null,E),E in this.o?(E=this.o[E],x=E(x,qa,sa)):x=null)}x!==null&&RQ(l,h.name,x)}f=k}else f=null}break a;default:f=null}}if(f){if(TQ(f)==1&&c.set(e,f),
e=UQ(e),h=!1,e)k=TQ(e),l=SQ(e).toLowerCase(),p=UQ(e),k!=11||p?l=="body"&&p&&(k=UQ(p))&&!UQ(k)&&(h=!0):h=!0,k=null,h||!e?k=a:TQ(e)==1&&(k=c.get(e)),k.content&&(k=k.content),k.appendChild(f)}else kq(e)}c.clear&&c.clear();QLa(a).length>0&&(b=this.ma.createElement("span"),b.appendChild(a),a=b);a=(new XMLSerializer).serializeToString(a);a=a.slice(a.indexOf(">")+1,a.lastIndexOf(""));return Qn(a)};
XQ.prototype.createTextNode=function(a){var b=a.data;(a=UQ(a))&&SQ(a).toLowerCase()=="style"&&!("STYLE"in this.va)&&"STYLE"in this.qa&&(b=jKa(aMa(b,this.oa,ob(function(c,e){return this.Fa(c,{RV:e})},this))));
return document.createTextNode(b)};var wMa=["data-material-dialog-action","ok"];function $Q(a){var b=a.Pa;var c=a.locale;var e=a.privacyPolicyUrl;var f=a.No===void 0?{}:a.No;var h=a.Vm===void 0?{}:a.Vm;a=a.hn===void 0?{}:a.hn;A.call(this,"Shared.GdprDialog");var k=this;this.data=new Map;this.ma=0;this.watch(b);typeof c!=="string"&&this.watch(c,0);this.o=new mt({content:function(){xMa(k)},
onClose:function(){k.o.Ta();document.body.style.position="";document.body.style.width="";document.body.style.top="";window.scroll(0,k.ma)},
eh:{"z-index":"1001","background-color":"rgba(0,0,0,.3)","pointer-events":"auto"}});this.oa=new nr({text:b.get("gdpr_dialog.ok"),trigger:this.aN.bind(this)});this.privacyPolicyUrl=e;this.Pa=b;this.locale=c;this.No=f;this.Vm=h;this.hn=a}
w($Q,A);n=$Q.prototype;n.aN=function(){this.o.close()};
function aR(a,b,c){a.data.set(b,c);a.Ja()}
n.content=function(){var a=this;this.element("div","class","text","onclick",function(b){var c;(c=a.ua)==null||c.call(a);(c=b.target)&&c.classList.contains("gdpr-dialog-trigger")&&(b.preventDefault(),a.o.open(),a.oa.focus(),a.ma=window.pageYOffset,document.body.style.top=-a.ma+"px",document.body.style.width=document.body.clientWidth+"px",document.body.style.position="fixed")},function(){Uq(a.Pp())})};
n.getLocale=function(){if(typeof this.locale==="string")return this.locale;var a,b;return(b=(a=this.locale.ue)==null?void 0:a.code)!=null?b:z().lang};
function xMa(a){a.element("div","class","container ^gdpr-dialog",function(){a.element("h2","class","title","style",a.No,a.Pa.get("gdpr_dialog.title"));a.element("div","class","content","style",a.Vm,function(){a.element("dl","class","data",function(){for(var b=t(a.data.keys()),c=b.next();!c.done;c=b.next())c=c.value,a.element("dt","style",a.hn,c),a.element("dd","data-key",c,a.data.get(c))})});
a.element.apply(a,["div"].concat(za(wMa),["class","actions",a.oa]))})}
n.Pp=function(){var a=this.Pa.get("gdpr_dialog.trigger_needing_privacy_policy_url");a=a.replace("$0",this.privacyPolicyUrl.replace("$0",this.getLocale()));return this.jd(a)};
n.jd=function(a){return oMa(function(b,c){return(c==null?void 0:c.attributeName)==="class"&&b==="gdpr-dialog-trigger"?b:null}).build().jd(a)};
function yMa(a,b){a.ua=b}
n.translate=function(){};
n.clone=function(){for(var a=new $Q({Pa:this.Pa,locale:this.locale,privacyPolicyUrl:this.privacyPolicyUrl,No:Object.assign({},this.No),Vm:Object.assign({},this.Vm),hn:Object.assign({},this.hn)}),b=t(this.data),c=b.next();!c.done;c=b.next()){var e=t(c.value);c=e.next().value;e=e.next().value;aR(a,c,e)}return a};
false