);const m=x[0];D.state=6;const l=await r_(ZiY(D.i_,C,y),D.jT.ag,()=>Promise.reject(new vd(10,"BWB:Timeout"))); ky(D,"BWB:Disposed");D.state=7;X=Y4(C,()=>{const W=QQz(D,l,B,m);W.V.promise.then(()=>void D.S()); return W},"i")}catch(x){X?.dispose(); if(!D.Z){const y=LOo(D,x);B.resolve();var V;if(V=D.vU instanceof bL&&D.G<2)a:if(x instanceof vd)V=x.code!==32&&x.code!==20&&x.code!==10;else{if(x instanceof sj)switch(x.code){case 2:case 13:case 14:case 4:break;default:V=!1;break a}V=!0}if(V){const m=setTimeout(()=>void D.S(),(1+Math.random()*.25)*(D.L?6E4:1E3)); D.addOnDisposeCallback(()=>void clearTimeout(m)); return}D.Z=y}C.fO(D.L?13:14);D.V.reject(D.Z);return}finally{C.dispose()}D.state=8;D.G=0;D.L?.dispose();D.L=X;D.V.resolve()}; LOo=function(D,X){if(!(X instanceof vd))if(X instanceof sj){const B=Error(X.toString());B.stack=X.stack;X=new vd(11,"EBH:Error",B)}else X=new vd(12,"BSO:Unknown",X);return D.reportError(X)}; ky=function(D,X){if(D.S7())throw new vd(D.L?20:32,X);}; QQz=function(D,X,B,C){const V=(j3(uk(X,2))??0)*1E3;if(V<=0)throw new vd(31,"TTM:Invalid");if(OA(X,4))return new gI_(D.logger,OA(X,4),V);if(!(j3(uk(X,3))??0))return new EI$(D.logger,Z6(kq(X,1)),V);if(!C)throw new vd(4,"PMD:Undefined");C=C(Z6(kq(X,1)));if(typeof C!=="function")throw new vd(16,"APF:Failed");D.Y=Math.floor((Date.now()+V)/1E3);D=new RF(D.logger,C,j3(uk(X,3))??0,V);D.addOnDisposeCallback(()=>void B.resolve()); return D}; N0=function(D,X,B){try{if(D.S7())throw new vd(21,"BNT:disposed");if(!D.L&&D.Z)throw D.Z;return nIo(D,X,B)??w3X(D,X,B)??T11(D,X,B)}catch(C){if(!X.oi)throw cN(D,C);return SY$(D,B,C)}}; cN=function(D,X){X=X instanceof vd?X:new vd(5,"TVD:error",X);return D.reportError(X)}; nIo=function(D,X,B){return D.L?.td(()=>q0(D,X),B,C=>{if(D.L instanceof RF&&X.yh?.TP)try{D.cache?.L(q0(D,X),C,X.yh.iy,D.Y-120)}catch(V){D.reportError(new vd(24,"ELX:write",V))}})}; w3X=function(D,X,B){if(X.yh?.N0)try{const C=D.cache?.Z(q0(D,X),X.yh.iy);return C?B?Y4(D.logger,()=>g.s5(C,2),"a"):C:void 0}catch(C){D.reportError(new vd(23,"RXO:read",C))}}; T11=function(D,X,B){const C={stack:[],error:void 0,hasError:!1};try{if(!X.Ul)throw new vd(29,"SDF:notready");return Y_(C,new aF(D.logger,0,D.state)).td(()=>q0(D,X),B)}catch(V){C.error=V,C.hasError=!0}finally{Ku(C)}}; SY$=function(D,X,B){const C={stack:[],error:void 0,hasError:!1};try{const V=cN(D,B);return Y_(C,new PMA(D.logger,V)).td(()=>[],X)}catch(V){C.error=V,C.hasError=!0}finally{Ku(C)}}; q0=function(D,X){return X.Bb?X.Bb:X.Q3?Y4(D.logger,()=>X.Bb=Fv(X.Q3),"c"):[]}; Yy=function(){let D=0,X;return B=>{X||(X=new oU);const C=new aF(X,D,1),V=C.td(()=>Fv(B),!0); C.dispose();D++;return V}}; OiY=function(D,X={}){return new t7B(D,X)}; rX$=function(D){D.S.w4("data",X=>{if("1"in X){var B=X["1"];let C;try{C=D.Y(B)}catch(V){IF(D,new sj(13,`Error when deserializing response data; error: ${V}, response: ${B}`))}C&&KQ(D,C)}if("2"in X)for(X=oF(D,X["2"]),B=0;B{eT(D,G9(D));for(let X=0;X{if(D.L.length!==0){var X=D.xhr.Z;X!==0||sU(D.xhr)||(X=6);var B=-1;switch(X){case 0:var C=2;break;case 7:C=10;break;case 8:C=4;break;case 6:B=D.xhr.getStatus();C=W$(B);break;default:C=14}eT(D,G9(D));X=m2X(X)+", error: "+D.xhr.getLastError();B!==-1&&(X+=`, http status code: ${B}`);IF(D,new sj(C,X))}})}; IF=function(D,X){for(let B=0;B{X[C]=B[C]}); return X}; KQ=function(D,X){for(let B=0;B{if(sU(D.xhr)){var C=g.RU(D.xhr);if(X&&D.xhr.getResponseHeader("Content-Type")==="text/plain"){if(!atob)throw Error("Cannot decode Base64 response");C=atob(C)}try{var V=D.Y(C)}catch(y){IF(D,Z4(new sj(13,`Error when deserializing response data; error: ${y}, response: ${C}`),B));return}C=W$(D.xhr.getStatus());eT(D,G9(D));C===0?KQ(D,V):IF(D,Z4(new sj(C,"Xhr succeeded but the status code is not 200"),B))}else{C=g.RU(D.xhr);let y;V=G9(D);if(C){var x= oF(D,C);C=x.code;y=x.details;x=x.metadata}else C=2,y=`Rpc failed due to xhr error. uri: ${String(D.xhr.K)}, error code: ${D.xhr.Z}, error: ${D.xhr.getLastError()}`,x=V;eT(D,V);IF(D,Z4(new sj(C,y,x),B))}})}; QK=function(D,X){X=D.indexOf(X);X>-1&&D.splice(X,1)}; Z4=function(D,X){X.stack&&(D.stack+="\n"+X.stack);return D}; g.LQ=function(D){this.V=D.Pp||null;this.U=D.s9||!1;this.Z=void 0}; go=function(D,X){g.Jv.call(this);this.pv=D;this.S=X;this.G=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.N=new Headers;this.Z=null;this.J="GET";this.Z3="";this.L=!1;this.Y=this.U=this.V=null;this.K=new AbortController}; Ej=function(D){D.U.read().then(D.hf.bind(D)).catch(D.CP.bind(D))}; wo=function(D){D.readyState=4;D.V=null;D.U=null;D.Y=null;nQ(D)}; nQ=function(D){D.onreadystatechange&&D.onreadystatechange.call(D)}; VD9=function(D){if(D.UJ&&typeof D.UJ=="function")return D.UJ();if(typeof Map!=="undefined"&&D instanceof Map||typeof Set!=="undefined"&&D instanceof Set)return Array.from(D.values());if(typeof D==="string")return D.split("");if(g.FV(D)){const X=[],B=D.length;for(let C=0;C>4&15).toString(16)+(D&15).toString(16)}; ro=function(D,X){this.Z=this.L=null;this.U=D||null;this.V=!!X}; Cq=function(D){D.L||(D.L=new Map,D.Z=0,D.U&&VE(D.U,function(X,B){D.add(y_(X),B)}))}; xJ=function(D,X){Cq(D);X=VI(D,X);return D.L.has(X)}; g.yI=function(D,X,B){D.remove(X);B.length>0&&(D.U=null,D.L.set(VI(D,X),g.lh(B)),D.Z=D.Z+B.length)}; VI=function(D,X){X=String(X);D.V&&(X=X.toLowerCase());return X}; mxA=function(D,X){X&&!D.V&&(Cq(D),D.U=null,D.L.forEach(function(B,C){const V=C.toLowerCase();C!=V&&(this.remove(C),g.yI(this,V,B))},D)); D.V=X}; g.mF=function(D){let X="";g.kg(D,function(B,C){X+=C;X+=":";X+=B;X+="\r\n"}); return X}; g.iB=function(D,X,B){if(g.Z2(B))return D;B=g.mF(B);if(typeof D==="string")return $l(D,g.xh(X),B);g.Xa(D,X,B);return D}; g.lB=function(D){g.Sf.call(this);this.Z=D;this.L={}}; $J=function(D,X,B,C,V,x){if(Array.isArray(B))for(let y=0;yV=>C.intercept(V,B),D)}; f6V=function(D,X){return X.reduce((B,C)=>V=>C.intercept(V,B),D)}; uNs=function(D,X,B){const C=X.TU,V=X.getMetadata(),x=bB(D,!0);D=kJ(D,V,x,B+C.getName());B=sJ(x,C.Z,!1);C2b(B,V["X-Goog-Encode-Response-If-Executable"]==="base64");X=C.L(X.v1);x.send(D,"POST",X);return B}; pQA=function(D,X,B,C,V,x={}){const y=X.substring(0,X.length-V.name.length),m=x?.signal;return f6V(l=>new Promise((W,v)=>{if(m?.aborted){const p=new sj(1,"Aborted");p.cause=m.reason;v(p)}else{var f={},u=uNs(D,l,y);u.w4("error",p=>void v(p)); u.w4("metadata",p=>{f=p}); u.w4("data",p=>{W(OiY(p,f))}); m&&m.addEventListener("abort",()=>{u.cancel();const p=new sj(1,"Aborted");p.cause=m.reason;v(p)})}}),D.R1).call(D,V.S(B,C)).then(l=>l.EB)}; SL=function(D,X,B,C,V,x={}){return pQA(D,X,B,C,V,x)}; bB=function(D,X){X=D.L&&!X;return D.La||X?new g.AE(new g.LQ({Pp:D.La,s9:X})):new g.AE}; kJ=function(D,X,B,C){X["Content-Type"]="application/json+protobuf";X["X-User-Agent"]="grpc-web-javascript/0.1";const V=X.Authorization;if(V&&hlz.has(V.split(" ")[0])||D.withCredentials)B.Y=!0;if(D.U9)C=g.iB(C,"$httpHeaders",X);else for(const x of Object.keys(X))B.headers.set(x,X[x]);return C}; sJ=function(D,X,B){let C;B&&(D.isActive(),B=new J__(D),C=new MDA(B));return new A_u({xhr:D,Qb:C},X)}; UJ=function(){this.L=new jkV;this.Z="https://jnn-pa.googleapis.com".replace(/\/+$/,"")}; RC=function(D){return D.L.Fy(HT1)}; zlu=function(D){if(g.CR(g.$h(D)))return!1;if(D.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")>=0)return!0;let X;try{X=new g.vN(D)}catch(B){return g.O$(cW,C=>D.search(C)>0)!=null}return X.S.match(FCX)?!0:g.O$(cW,B=>D.match(B)!=null)!=null}; g.N9=function(D,X){return D.replace(bT$,function(B,C){try{let V=g.L0(X,C);if(V==null||V.toString()==null)return B;V=V.toString();if(V==""||!g.CR(g.$h(V)))return encodeURIComponent(V).replace(/%2C/g,",")}catch(V){}return B})}; sk$=function(D){const X=D.I6;return Qh(D,X,X[wT]|0,kKY,2,1)}; Rlz=function(D){var X;if((X=D[q9])!=null)D=X;else{if(aC!==aC)throw Error();D=D[q9]=UxA(D.L)}return D}; EP=function(D,X,B,C){var V=X^D;if(!((D|1)>>4)){B=(B%C[h[V^6746]]+C[h[V^6746]])%C[h[V^6746]];var x=C[0];C[0]=C[B];C[B]=x;var y=[B]}(D+9&61)=D&&B[h[9]]!=0&&(C=(C%B[h[9]]+B[h[9]])%B[h[9]],B[h[6]](0,1,B[h[6]](C,1,B[0])[0]));if((D|48)==D){x=B[h[V^5606]](h[V^5571],V^5605);const m=B[h[V^5606]](h[V^5571],x+1);x>0&&m>0?(C[h[V^5631]]=B[h[V^5616]](0,m),B=B[h[V^5616]](m+1)):(C[h[V^5631]]=B,B=h[1]);y=[B]}(D^42)>>3==1&&(WN(5,V^771,B),(x=B[h[V^469]][h[V^421]]||null)&&(x=YJ(1,V^6706,x,B)),y=[]);return y}; c_1=function(D){return D[IC]??(D[IC]=new Map(sk$(Rlz(D)).map(X=>[X.getName(),g.P0(X,2)])))}; oC=function(D){if(D.Kt!==void 0){var X=Kq;Kq=!0;try{for(let B=D.Kt;B!==void 0;B=B.Dp2){const C=B.iQU;C.mK||(C.mK=!0,oC(C),C.Ik?.(C))}}finally{Kq=X}}}; q5b=function(D,X){const B=Object.create(NTu);B.value=D;X!==void 0&&(B.pn=X);D=()=>{if(Kq)throw Error("");return B.value}; D[eC]=B;return[D,C=>dd(B,C), C=>{dd(B,C(B.value))}]}; dd=function(D,X){D.pn(D.value,X)||(D.value=X,D.version++,a6$++,oC(D))}; Gd=function(D,X=""){var B={};D=q5b(D,B.equals);B=B.debugName;D[0][eC].debugName=B&&X?`${B}__${X}`:B??X??"[signal]"}; Y51=function(){var D=g.Zv;QI.instance||(QI.instance=new QI(D));return QI.instance}; Lq=function(D,X){return D.V?D.V:D.V=new Promise(async B=>{const C=window.AbortController?new window.AbortController:void 0,V=C?.signal;let x=!1;try{C&&(D.Z=D.Gd.hY(()=>{C.abort()},X||2E4)),await fetch("/generate_204",{method:"HEAD", signal:V}),x=!0}catch{x=!1}finally{D.V=void 0,D.Z&&(D.Gd.um(D.Z),D.Z=0),x!==D.L&&(D.L=x,D.L?D.dispatchEvent("networkstatus-online"):D.dispatchEvent("networkstatus-offline")),B(x)}})}; I61=function(D){D.L===-1&&(D.L=D.data.reduce((X,B,C)=>X+(B?2**C:0),0)); return D.L}; gd=function(D){D.setAttribute("role","link")}; nq=function(D,X){Array.isArray(X)&&(X=X.join(" "));X===""||X==void 0?(EJ||(EJ={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),X=EJ,"label"in X?D.setAttribute("aria-label",X.label):D.removeAttribute("aria-label")):D.setAttribute("aria-label",X)}; wd=function(D){D=D.getAttribute("aria-label");return D==null||D==void 0?"":String(D)}; g.Td=function(D,X,B){g.Sf.call(this);this.L=null;this.V=!1;this.S=D;this.G=B;this.Z=X||window;this.U=(0,g.U$)(this.nM,this)}; SC=function(D){D=D.Z;return D.requestAnimationFrame||D.webkitRequestAnimationFrame||D.mozRequestAnimationFrame||D.oRequestAnimationFrame||D.msRequestAnimationFrame||null}; PW=function(D){D=D.Z;return D.cancelAnimationFrame||D.cancelRequestAnimationFrame||D.webkitCancelRequestAnimationFrame||D.mozCancelRequestAnimationFrame||D.oCancelRequestAnimationFrame||D.msCancelRequestAnimationFrame||null}; g.tM=function(D,X,B){g.Sf.call(this);this.L=D;this.Lh=X||0;this.Z=B;this.U=(0,g.U$)(this.wM,this)}; g.OJ=function(D){D.stop();D.wM()}; rd=function(D){D.Fw=g.tv(()=>{D.Fw=null;D.L&&!D.Z&&(D.L=!1,rd(D))},D.Lh); const X=D.U;D.U=null;D.G.apply(null,X)}; DO=function(D){return typeof D.className=="string"?D.className:D.getAttribute&&D.getAttribute("class")||""}; XD=function(D){return D.classList?D.classList:DO(D).match(/\S+/g)||[]}; g.Bs=function(D,X){typeof D.className=="string"?D.className=X:D.setAttribute&&D.setAttribute("class",X)}; g.CV=function(D,X){return D.classList?D.classList.contains(X):g.XP(XD(D),X)}; g.V7=function(D,X){if(D.classList)D.classList.add(X);else if(!g.CV(D,X)){const B=DO(D);g.Bs(D,B+(B.length>0?" "+X:X))}}; g.xt=function(D,X){if(D.classList)Array.prototype.forEach.call(X,function(C){g.V7(D,C)}); else{var B={};Array.prototype.forEach.call(XD(D),function(C){B[C]=!0}); Array.prototype.forEach.call(X,function(C){B[C]=!0}); X="";for(const C in B)X+=X.length>0?" "+C:C;g.Bs(D,X)}}; g.y7=function(D,X){D.classList?D.classList.remove(X):g.CV(D,X)&&g.Bs(D,Array.prototype.filter.call(XD(D),function(B){return B!=X}).join(" "))}; g.m7=function(D,X){D.classList?Array.prototype.forEach.call(X,function(B){g.y7(D,B)}):g.Bs(D,Array.prototype.filter.call(XD(D),function(B){return!g.XP(X,B)}).join(" "))}; g.q=function(D,X,B){B?g.V7(D,X):g.y7(D,X)}; i_=function(D,X){const B=!g.CV(D,X);g.q(D,X,B)}; g.l_=function(){g.Jv.call(this);this.L=0;this.endTime=this.startTime=null}; KCb=function(D,X){Array.isArray(X)||(X=[X]);X=X.map(function(B){return typeof B==="string"?B:B.property+" "+B.duration+"s "+B.timing+" "+B.delay+"s"}); g.YI(D,"transition",X.join(","))}; $t=function(D,X,B,C,V){g.l_.call(this);this.Z=D;this.G=X;this.S=B;this.V=C;this.Y=Array.isArray(V)?V:[V]}; Ws=function(D,X,B,C){return new $t(D,X,{opacity:B},{opacity:C},{property:"opacity",duration:X,timing:"ease-in",delay:0})}; elA=function(D){D=D.trim();if(D=="")return null;var X=String(D.slice(0,4)).toLowerCase();if(("url("1||D&&D.split(")"),null;if(D.indexOf("(")>0){if(/"|'/.test(D))return null;X=/([\-\w]+)\(/g;let B;for(;B=X.exec(D);)if(!(B[1].toLowerCase()in oBu))return null}return D}; vs=function(D,X){D=g.hz[D];return D&&D.prototype?(X=Object.getOwnPropertyDescriptor(D.prototype,X))&&X.get||null:null}; fV=function(D){const X=g.hz.CSSStyleDeclaration;return X&&X.prototype&&X.prototype[D]||null}; pV=function(D,X,B,C){if(D)return D.apply(X,C);if(g.u_&&document.documentMode<10){if(!X[B].call)throw Error("IE Clobbering detected");}else if(typeof X[B]!="function")throw Error("Clobbering detected");return X[B].apply(X,C)}; LC$=function(D){if(!D)return"";const X=document.createElement("div").style;dxX(D).forEach(function(B){const C=g.Xx&&B in GKu?B:B.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");rW(C,"--")||rW(C,"var")||(B=pV(ZTo,D,D.getPropertyValue?"getPropertyValue":"getAttribute",[B])||"",B=elA(B),B!=null&&pV(Qks,X,X.setProperty?"setProperty":"setAttribute",[C,B]))}); return X.cssText||""}; dxX=function(D){g.FV(D)?D=g.lh(D):(D=g.IX(D),g.yN(D,"cssText"));return D}; g.J4=function(D){var X;let B=X=0,C=!1;D=D.split(gBu);for(let V=0;V.4?-1:1;return(X==0?null:X)==-1?"rtl":"ltr"}; g.Hs=function(D){if(D instanceof MF||D instanceof A4||D instanceof jM)return D;if(typeof D.next=="function")return new MF(()=>D); if(typeof D[Symbol.iterator]=="function")return new MF(()=>D[Symbol.iterator]()); if(typeof D.nz=="function")return new MF(()=>D.nz()); throw Error("Not an iterator or iterable.");}; FD=function(D,X,B,C,V,x,y,m){this.L=D;this.Y=X;this.U=B;this.G=C;this.V=V;this.S=x;this.Z=y;this.K=m}; zh=function(D,X){if(X==0)return D.L;if(X==1)return D.Z;let B=NP(D.L,D.U,X),C=NP(D.U,D.V,X);D=NP(D.V,D.Z,X);B=NP(B,C,X);C=NP(C,D,X);return NP(B,C,X)}; b_=function(D,X){if(X==0)return D.Y;if(X==1)return D.K;let B=NP(D.Y,D.G,X),C=NP(D.G,D.S,X);D=NP(D.S,D.K,X);B=NP(B,C,X);C=NP(C,D,X);return NP(B,C,X)}; kt=function(D,X){let B=(X-D.L)/(D.Z-D.L);if(B<=0)return 0;if(B>=1)return 1;let C=0,V=1,x=0;for(var y=0;y<8;y++){x=zh(D,B);const m=(zh(D,B+1E-6)-x)/1E-6;if(Math.abs(x-X)<1E-6)return B;if(Math.abs(m)<1E-6)break;else x1E-6&&y<8;y++)x=0}; g.cs=function(D){g.Sf.call(this);this.S=1;this.U=[];this.V=0;this.L=[];this.Z={};this.Y=!!D}; S5_=function(D,X,B){g.oW(function(){D.apply(X,B)})}; g.NF=function(D){this.SV=D}; qF=function(D){this.SV=D}; a_=function(D){this.data=D}; Yt=function(D){return D===void 0||D instanceof a_?D:new a_(D)}; I_=function(D){this.SV=D}; g.KV=function(D){const X=D.creation;D=D.expiration;return!!D&&Dg.c1()}; g.o_=function(D){this.SV=D}; P2u=function(){}; eM=function(){}; dq=function(D){this.L=D;this.Z=null}; Gh=function(D){if(D.L==null)throw Error("Storage mechanism: Storage unavailable");D.isAvailable()||HQ(Error("Storage mechanism: Storage unavailable"))}; ZO=function(){let D=null;try{D=g.hz.localStorage||null}catch(X){}dq.call(this,D)}; Q7=function(){let D=null;try{D=g.hz.sessionStorage||null}catch(X){}dq.call(this,D)}; LV=function(D,X){this.Z=D;this.L=X+"::"}; g.gq=function(D){const X=new ZO;return X.isAvailable()?D?new LV(X,D):X:null}; Ec=function(D,X){this.L=D;this.Z=X}; nV=function(){}; wq=function(){let D=Error();D.name="SecurityError";throw D;}; Th=function(){return{get opener(){return null},get closed(){return!0},get location(){wq()},get document(){wq()},postMessage:function(){}, close:function(){}, focus:function(){}}}; Ps=function(D){var X,B,C=D.length,V=0;for(X=0;X>>6:(x<65536?m[B++]=224|x>>>12:(m[B++]=240|x>>>18,m[B++]=128|x>>>12&63),m[B++]=128|x>>> 6&63),m[B++]=128|x&63);return m}; t4=function(D){for(var X=D.length;--X>=0;)D[X]=0}; Oc=function(D,X,B,C,V){this.pZ=D;this.eI=X;this.vk=B;this.nm=C;this.xe=V;this.Jp=D&&D.length}; rq=function(D,X){this.F3=D;this.r0=0;this.TO=X}; D5=function(D,X){D.Hp[D.pending++]=X&255;D.Hp[D.pending++]=X>>>8&255}; X0=function(D,X){const B=new g.pQ(X);(X=B.get("req_id"))&&D.set("req_id",X);g.kg(D.L,(C,V)=>{B["set"](V,null)}); return B}; Br=function(D,X,B){D.Sx>16-B?(D.Kh|=X<>16-D.Sx,D.Sx+=B-16):(D.Kh|=X<>>=1,B<<=1;while(--X>0);return B>>>1}; xQ=function(D,X,B){var C=Array(16),V=0,x;for(x=1;x<=15;x++)C[x]=V=V+B[x-1]<<1;for(B=0;B<=X;B++)V=D[B*2+1],V!==0&&(D[B*2]=VV(C[V]++,V))}; yV=function(D){var X;for(X=0;X<286;X++)D.q1[X*2]=0;for(X=0;X<30;X++)D.pw[X*2]=0;for(X=0;X<19;X++)D.nO[X*2]=0;D.q1[512]=1;D.As=D.NE=0;D.Ge=D.matches=0}; mp=function(D){D.Sx>8?D5(D,D.Kh):D.Sx>0&&(D.Hp[D.pending++]=D.Kh);D.Kh=0;D.Sx=0}; ii=function(D,X,B){mp(D);D5(D,B);D5(D,~B);SM.yQ(D.Hp,D.window,X,B,D.pending);D.pending+=B}; li=function(D,X,B,C){var V=X*2,x=B*2;return D[V]>>7)];CX(D,y,B);m=pX[y];m!==0&&(V-=h5[y],Br(D,V,m))}}while(C>1;y>=1;y--)$Q(D,B,y);l=x;do y=D.XA[1],D.XA[1]=D.XA[D.Wg--],$Q(D,B,1),C=D.XA[1],D.XA[--D.GK]=y,D.XA[--D.GK]=C,B[l*2]=B[y*2]+B[C*2],D.depth[l]=(D.depth[y]>=D.depth[C]?D.depth[y]:D.depth[C])+1,B[y*2+1]=B[C*2+1]=l,D.XA[1]=l++,$Q(D,B,1);while(D.Wg>= 2);D.XA[--D.GK]=D.XA[1];y=X.F3;l=X.r0;C=X.TO.pZ;V=X.TO.Jp;x=X.TO.eI;var W=X.TO.vk,v=X.TO.xe,f,u=0;for(f=0;f<=15;f++)D.zH[f]=0;y[D.XA[D.GK]*2+1]=0;for(X=D.GK+1;X<573;X++){var p=D.XA[X];f=y[y[p*2+1]*2+1]+1;f>v&&(f=v,u++);y[p*2+1]=f;if(!(p>l)){D.zH[f]++;var M=0;p>=W&&(M=x[p-W]);var k=y[p*2];D.As+=k*(f+M);V&&(D.NE+=k*(C[p*2+1]+M))}}if(u!==0){do{for(f=v-1;D.zH[f]===0;)f--;D.zH[f]--;D.zH[f+1]+=2;D.zH[v]--;u-=2}while(u>0);for(f=v;f!==0;f--)for(p=D.zH[f];p!==0;)C=D.XA[--X],C>l||(y[C*2+1]!==f&&(D.As+=(f-y[C* 2+1])*y[C*2],y[C*2+1]=f),p--)}xQ(B,m,D.zH)}; A5=function(D,X,B){var C,V=-1,x=X[1],y=0,m=7,l=4;x===0&&(m=138,l=3);X[(B+1)*2+1]=65535;for(C=0;C<=B;C++){var W=x;x=X[(C+1)*2+1];++y>>=1)if(X&1&&D.q1[B*2]!==0)return 0;if(D.q1[18]!==0||D.q1[20]!==0||D.q1[26]!==0)return 1;for(B=32;B<256;B++)if(D.q1[B*2]!==0)return 1;return 0}; Hr=function(D,X,B){D.Hp[D.eJ+D.Ge*2]=X>>>8&255;D.Hp[D.eJ+D.Ge*2+1]=X&255;D.Hp[D.tq+D.Ge]=B&255;D.Ge++;X===0?D.q1[B*2]++:(D.matches++,X--,D.q1[(Wr[B]+256+1)*2]++,D.pw[(X<256?ui[X]:ui[256+(X>>>7)])*2]++);return D.Ge===D.xI-1}; zG=function(D,X){D.msg=F0[X];return X}; bi=function(D){for(var X=D.length;--X>=0;)D[X]=0}; kQ=function(D){var X=D.state,B=X.pending;B>D.JO&&(B=D.JO);B!==0&&(SM.yQ(D.output,X.Hp,X.Sj,B,D.LT),D.LT+=B,X.Sj+=B,D.fG+=B,D.JO-=B,X.pending-=B,X.pending===0&&(X.Sj=0))}; cr=function(D,X){var B=D.uh>=0?D.uh:-1,C=D.Vm-D.uh,V=0;if(D.level>0){D.tO.CF===2&&(D.tO.CF=tD9(D));MZ(D,D.Uj);MZ(D,D.CR);A5(D,D.q1,D.Uj.r0);A5(D,D.pw,D.CR.r0);MZ(D,D.HH);for(V=18;V>=3&&D.nO[sa[V]*2+1]===0;V--);D.As+=3*(V+1)+5+5+4;var x=D.As+3+7>>>3;var y=D.NE+3+7>>>3;y<=x&&(x=y)}else x=y=C+5;if(C+4<=x&&B!==-1)Br(D,X?1:0,3),ii(D,B,C);else if(D.strategy===4||y===x)Br(D,2+(X?1:0),3),J5(D,Ua,Rs);else{Br(D,4+(X?1:0),3);B=D.Uj.r0+1;C=D.CR.r0+1;V+=1;Br(D,B-257,5);Br(D,C-1,5);Br(D,V-4,4);for(x=0;x>>8&255;D.Hp[D.pending++]=X&255}; as=function(D,X){var B=D.Jc,C=D.Vm,V=D.zn,x=D.bX,y=D.Vm>D.IC-262?D.Vm-(D.IC-262):0,m=D.window,l=D.bJ,W=D.xb,v=D.Vm+258,f=m[C+V-1],u=m[C+V];D.zn>=D.z9&&(B>>=2);x>D.Li&&(x=D.Li);do{var p=X;if(m[p+V]===u&&m[p+V-1]===f&&m[p]===m[C]&&m[++p]===m[C+1]){C+=2;for(p++;m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&m[++C]===m[++p]&&CV){D.mU=X;V=p;if(p>=x)break;f=m[C+V-1];u=m[C+V]}}}while((X=W[X&l])>y&&--B!== 0);return V<=D.Li?V:D.Li}; KX=function(D){var X=D.IC,B;do{var C=D.TF-D.Li-D.Vm;if(D.Vm>=X+(X-262)){SM.yQ(D.window,D.window,X,X,0);D.mU-=X;D.Vm-=X;D.uh-=X;var V=B=D.E_;do{var x=D.head[--V];D.head[V]=x>=X?x-X:0}while(--B);V=B=X;do x=D.xb[--V],D.xb[V]=x>=X?x-X:0;while(--B);C+=X}if(D.tO.gk===0)break;V=D.tO;B=D.window;x=D.Vm+D.Li;var y=V.gk;y>C&&(y=C);y===0?B=0:(V.gk-=y,SM.yQ(B,V.input,V.m5,y,x),V.state.wrap===1?V.bI=YQ(V.bI,B,y,x):V.state.wrap===2&&(V.bI=Is(V.bI,B,y,x)),V.m5+=y,V.Md+=y,B=y);D.Li+=B;if(D.Li+D.wJ>=3)for(C=D.Vm-D.wJ, D.mA=D.window[C],D.mA=(D.mA<=3&&(D.mA=(D.mA<=3)if(B=Hr(D,D.Vm-D.mU,D.qn-3),D.Li-=D.qn,D.qn<=D.Zd&&D.Li>=3){D.qn--;do D.Vm++,D.mA=(D.mA<=3&&(D.mA=(D.mA<4096)&&(D.qn=2));if(D.zn>=3&&D.qn<=D.zn){C=D.Vm+D.Li-3;B=Hr(D,D.Vm-1-D.ib,D.zn-3);D.Li-=D.zn-1;D.zn-=2;do++D.Vm<=C&&(D.mA=(D.mA<=3&&D.Vm>0&&(C=D.Vm-1,B=x[C],B===x[++C]&&B===x[++C]&&B===x[++C])){for(V=D.Vm+258;B===x[++C]&&B===x[++C]&&B===x[++C]&&B===x[++C]&&B===x[++C]&&B===x[++C]&&B===x[++C]&&B===x[++C]&&CD.Li&&(D.qn=D.Li)}D.qn>=3?(B=Hr(D,1,D.qn-3),D.Li-=D.qn,D.Vm+=D.qn,D.qn=0):(B=Hr(D,0,D.window[D.Vm]),D.Li--,D.Vm++);if(B&&(cr(D,!1),D.tO.JO===0))return 1}D.wJ=0;return X=== 4?(cr(D,!0),D.tO.JO===0?3:4):D.Ge&&(cr(D,!1),D.tO.JO===0)?1:2}; r_A=function(D,X){for(var B;;){if(D.Li===0&&(KX(D),D.Li===0)){if(X===0)return 1;break}D.qn=0;B=Hr(D,0,D.window[D.Vm]);D.Li--;D.Vm++;if(B&&(cr(D,!1),D.tO.JO===0))return 1}D.wJ=0;return X===4?(cr(D,!0),D.tO.JO===0?3:4):D.Ge&&(cr(D,!1),D.tO.JO===0)?1:2}; d9=function(D,X,B,C,V){this.Mz=D;this.B3=X;this.TX=B;this.MY=C;this.func=V}; Dj_=function(){this.tO=null;this.status=0;this.Hp=null;this.wrap=this.pending=this.Sj=this.Sd=0;this.cA=null;this.Td=0;this.method=8;this.jw=-1;this.bJ=this.Jr=this.IC=0;this.window=null;this.TF=0;this.head=this.xb=null;this.bX=this.z9=this.strategy=this.level=this.Zd=this.Jc=this.zn=this.Li=this.mU=this.Vm=this.Cw=this.ib=this.qn=this.uh=this.n8=this.Fl=this.k6=this.E_=this.mA=0;this.q1=new SM.Ix(1146);this.pw=new SM.Ix(122);this.nO=new SM.Ix(78);bi(this.q1);bi(this.pw);bi(this.nO);this.HH=this.CR= this.Uj=null;this.zH=new SM.Ix(16);this.XA=new SM.Ix(573);bi(this.XA);this.GK=this.Wg=0;this.depth=new SM.Ix(573);bi(this.depth);this.Sx=this.Kh=this.wJ=this.matches=this.NE=this.As=this.eJ=this.Ge=this.xI=this.tq=0}; X41=function(D,X){if(!D||!D.state||X>5||X<0)return D?zG(D,-2):-2;var B=D.state;if(!D.output||!D.input&&D.gk!==0||B.status===666&&X!==4)return zG(D,D.JO===0?-5:-2);B.tO=D;var C=B.jw;B.jw=X;if(B.status===42)if(B.wrap===2)D.bI=0,NZ(B,31),NZ(B,139),NZ(B,8),B.cA?(NZ(B,(B.cA.text?1:0)+(B.cA.sL?2:0)+(B.cA.extra?4:0)+(B.cA.name?8:0)+(B.cA.comment?16:0)),NZ(B,B.cA.time&255),NZ(B,B.cA.time>>8&255),NZ(B,B.cA.time>>16&255),NZ(B,B.cA.time>>24&255),NZ(B,B.level===9?2:B.strategy>=2||B.level<2?4:0),NZ(B,B.cA.os& 255),B.cA.extra&&B.cA.extra.length&&(NZ(B,B.cA.extra.length&255),NZ(B,B.cA.extra.length>>8&255)),B.cA.sL&&(D.bI=Is(D.bI,B.Hp,B.pending,0)),B.Td=0,B.status=69):(NZ(B,0),NZ(B,0),NZ(B,0),NZ(B,0),NZ(B,0),NZ(B,B.level===9?2:B.strategy>=2||B.level<2?4:0),NZ(B,3),B.status=113);else{var V=8+(B.Jr-8<<4)<<8;V|=(B.strategy>=2||B.level<2?0:B.level<6?1:B.level===6?2:3)<<6;B.Vm!==0&&(V|=32);B.status=113;qZ(B,V+(31-V%31));B.Vm!==0&&(qZ(B,D.bI>>>16),qZ(B,D.bI&65535));D.bI=1}if(B.status===69)if(B.cA.extra){for(V= B.pending;B.Td<(B.cA.extra.length&65535)&&(B.pending!==B.Sd||(B.cA.sL&&B.pending>V&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V)),kQ(D),V=B.pending,B.pending!==B.Sd));)NZ(B,B.cA.extra[B.Td]&255),B.Td++;B.cA.sL&&B.pending>V&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V));B.Td===B.cA.extra.length&&(B.Td=0,B.status=73)}else B.status=73;if(B.status===73)if(B.cA.name){V=B.pending;do{if(B.pending===B.Sd&&(B.cA.sL&&B.pending>V&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V)),kQ(D),V=B.pending,B.pending===B.Sd)){var x=1;break}x=B.TdV&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V));x===0&&(B.Td=0,B.status=91)}else B.status=91;if(B.status===91)if(B.cA.comment){V=B.pending;do{if(B.pending===B.Sd&&(B.cA.sL&&B.pending>V&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V)),kQ(D),V=B.pending,B.pending===B.Sd)){x=1;break}x=B.TdV&&(D.bI=Is(D.bI,B.Hp,B.pending-V,V));x===0&&(B.status=103)}else B.status= 103;B.status===103&&(B.cA.sL?(B.pending+2>B.Sd&&kQ(D),B.pending+2<=B.Sd&&(NZ(B,D.bI&255),NZ(B,D.bI>>8&255),D.bI=0,B.status=113)):B.status=113);if(B.pending!==0){if(kQ(D),D.JO===0)return B.jw=-1,0}else if(D.gk===0&&(X<<1)-(X>4?9:0)<=(C<<1)-(C>4?9:0)&&X!==4)return zG(D,-5);if(B.status===666&&D.gk!==0)return zG(D,-5);if(D.gk!==0||B.Li!==0||X!==0&&B.status!==666){C=B.strategy===2?r_A(B,X):B.strategy===3?OTs(B,X):GG[B.level].func(B,X);if(C===3||C===4)B.status=666;if(C===1||C===3)return D.JO===0&&(B.jw= -1),0;if(C===2&&(X===1?(Br(B,2,3),CX(B,256,Ua),B.Sx===16?(D5(B,B.Kh),B.Kh=0,B.Sx=0):B.Sx>=8&&(B.Hp[B.pending++]=B.Kh&255,B.Kh>>=8,B.Sx-=8)):X!==5&&(Br(B,0,3),ii(B,0,0),X===3&&(bi(B.head),B.Li===0&&(B.Vm=0,B.uh=0,B.wJ=0))),kQ(D),D.JO===0))return B.jw=-1,0}if(X!==4)return 0;if(B.wrap<=0)return 1;B.wrap===2?(NZ(B,D.bI&255),NZ(B,D.bI>>8&255),NZ(B,D.bI>>16&255),NZ(B,D.bI>>24&255),NZ(B,D.Md&255),NZ(B,D.Md>>8&255),NZ(B,D.Md>>16&255),NZ(B,D.Md>>24&255)):(qZ(B,D.bI>>>16),qZ(B,D.bI&65535));kQ(D);B.wrap>0&& (B.wrap=-B.wrap);return B.pending!==0?0:1}; Z5=function(D){if(!(this instanceof Z5))return new Z5(D);D=this.options=SM.assign({level:-1,method:8,chunkSize:16384,yu:15,n$:8,strategy:0,to:""},D||{});D.raw&&D.yu>0?D.yu=-D.yu:D.Bk&&D.yu>0&&D.yu<16&&(D.yu+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.tO=new QV;this.tO.JO=0;var X=this.tO;var B=D.level,C=D.method,V=D.yu,x=D.n$,y=D.strategy;if(X){var m=1;B===-1&&(B=6);V<0?(m=0,V=-V):V>15&&(m=2,V-=16);if(x<1||x>9||C!==8||V<8||V>15||B<0||B>9||y<0||y>4)X=zG(X,-2);else{V===8&&(V=9);var l= new Dj_;X.state=l;l.tO=X;l.wrap=m;l.cA=null;l.Jr=V;l.IC=1<>=7;x<30;x++)for(h5[x]=y<<7,V=0;V<1<=W.IC&&(X===0&&(bi(W.head),W.Vm=0,W.uh=0,W.wJ=0),B=new SM.FG(W.IC),SM.yQ(B,x,y-W.IC,W.IC,0),x=B,y=W.IC);B=D.gk;C=D.m5;V=D.input;D.gk=y;D.m5=0;D.input=x;for(KX(W);W.Li>=3;){x=W.Vm;y=W.Li-2;do W.mA=(W.mA<X:D.length===1?D[0]:D.reduce((X,B)=>(...C)=>X(B(...C)))}; CcV=function(){var D=[];return X=>(B,C)=>{B=X(B,C);let V=()=>{throw Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.");}; const x={getState:B.getState,dispatch:(y,...m)=>V(y,...m)}; C=D.map(y=>y(x)); V=S4(...C)(B.dispatch);return{...B,dispatch:V}}}; V3A=function(D){Object.keys(D).forEach(X=>{const B=D[X];if(typeof B(void 0,{type:Pr})==="undefined")throw Error(`The slice reducer for key "${X}" returned undefined during initialization. `+"If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(typeof B(void 0,{type:`@@redux/PROBE_UNKNOWN_ACTION${t5()}`})==="undefined")throw Error(`The slice reducer for key "${X}" returned undefined when probed with a random type. Don't try to handle '${Pr}' or other actions in "redux/*" `+ "namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.");})}; Oa=function(D,X,B){function C(){if(v)throw Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return m} function V(u){if(typeof u!=="function")throw Error(`Expected the listener to be a function. Instead, received: '${typeof u}'`);if(v)throw Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let p=!0;W===l&&(W=l.slice());W.push(u);return function(){if(p){if(v)throw Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details."); p=!1;W===l&&(W=l.slice());W.splice(W.indexOf(u),1);l=null}}} function x(u){if(typeof u!=="object"||u===null)var p=!1;else{for(p=u;Object.getPrototypeOf(p)!==null;)p=Object.getPrototypeOf(p);p=Object.getPrototypeOf(u)===p}if(!p)throw Error(`Actions must be plain objects. Instead, the actual type was: '${typeof u}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`); if(typeof u.type==="undefined")throw Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(v)throw Error("Reducers may not dispatch actions.");try{v=!0,m=y(m,u)}finally{v=!1}p=l=W;for(let M=0;M1?X[D[0]]=D[1]:D.length===1&&Object.assign(X,D[0])}; g.e=function(D,X){return D in mV?mV[D]:X}; ly=function(D){const X=mV.EXPERIMENT_FLAGS;return X?X[D]:void 0}; ysY=function(D){$i.forEach(X=>X(D))}; g.vB=function(D){return D&&window.yterr?function(){try{return D.apply(this,arguments)}catch(X){g.WB(X)}}:D}; g.WB=function(D){var X=g.MX("yt.logging.errors.log");X?X(D,"ERROR",void 0,void 0,void 0,void 0,void 0):(X=g.e("ERRORS",[]),X.push([D,"ERROR",void 0,void 0,void 0,void 0,void 0]),iy("ERRORS",X));ysY(D)}; uy=function(D,X,B,C,V){var x=g.MX("yt.logging.errors.log");x?x(D,"WARNING",X,B,C,void 0,V):(x=g.e("ERRORS",[]),x.push([D,"WARNING",X,B,C,void 0,V]),iy("ERRORS",x))}; hT=function(D,X){X=D.split(X);const B={};for(let x=0,y=X.length;x{const V=g.xh(C);g.Lu(Array.isArray(B)?B:[B],x=>{x==""?X.push(V):X.push(`${V}=${g.xh(x)}`)})}); return X.join("&")}; MM=function(D){D.charAt(0)==="?"&&(D=D.substring(1));return hT(D,"&")}; AT=function(D){return D.split(",").map(X=>MM(X))}; g.jX=function(D){return D.indexOf("?")!==-1?(D=(D||"").split("#")[0],D=D.split("?",2),MM(D.length>1?D[1]:D[0])):{}}; F4=function(D,X){return HB(D,X||{},!0)}; zF=function(D,X){return HB(D,X||{},!1)}; HB=function(D,X,B){var C=D.split("#",2);D=C[0];C=C.length>1?"#"+C[1]:"";var V=D.split("?",2);D=V[0];V=MM(V[1]||"");for(const x in X)if(B||!g.K0(V,x))V[x]=X[x];return g.lm(D,V)+C}; by=function(D){if(!X)var X=window.location.href;const B=g.td(D)[1]||null,C=g.re(D);B&&C?(D=g.td(D),X=g.td(X),D=D[3]==X[3]&&D[1]==X[1]&&D[4]==X[4]):D=C?g.re(X)===C&&(Number(g.td(X)[4]||null)||null)===(Number(g.td(D)[4]||null)||null):!0;return D}; ze=function(D){D||(D=document.location.href);D=g.td(D)[1]||null;return D!==null&&D==="https"}; sG=function(D){D=ki(D);return D===null?!1:D[0]==="com"&&D[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1}; UG=function(D){D=ki(D);return D===null?!1:D[1]==="google"?!0:D[2]==="google"?D[0]==="au"&&D[1]==="com"?!0:D[0]==="uk"&&D[1]==="co"?!0:!1:!1}; ki=function(D){D=g.re(D);return D!==null?D.split(".").reverse():null}; ps=function(D){return D&&D.match(lXu)?D:y_(D)}; RA=function(D){a:{let B;try{B=D.L.top.location.href}catch(C){D=2;break a}D=B?B===D.Z.location.href?0:1:2}D={dt:$j1,flash:"0",frm:D};try{D.u_tz=-(new Date).getTimezoneOffset();try{var X=M2.history.length}catch(B){X=0}D.u_his=X;D.u_h=M2.screen?.height;D.u_w=M2.screen?.width;D.u_ah=M2.screen?.availHeight;D.u_aw=M2.screen?.availWidth;D.u_cd=M2.screen?.colorDepth}catch(B){}return D}; NM=function(D=xi()){var X=cB,B=Object,C=B.assign,V=RA(X);var x=X.L;let y,m,l,W,v,f,u;try{var p=x.screenX;var M=x.screenY}catch(N){}try{var k=x.outerWidth;y=x.outerHeight}catch(N){}try{m=x.innerWidth,l=x.innerHeight}catch(N){}try{W=x.screenLeft,v=x.screenTop}catch(N){}try{m=x.innerWidth,l=x.innerHeight}catch(N){}try{f=x.screen.availWidth,u=x.screen.availTop}catch(N){}x=[W,v,p,M,f,u,k,y,m,l];p=UN(!1,X.L.top);M=new W31;"SVGElement"in g.hz&&"createElementNS"in g.hz.document&&M.set(0);k=i0s();k["allow-top-navigation-by-user-activation"]&& M.set(1);k["allow-popups-to-escape-sandbox"]&&M.set(2);g.hz.crypto&&g.hz.crypto.subtle&&M.set(3);"TextDecoder"in g.hz&&"TextEncoder"in g.hz&&M.set(4);M=I61(M);X=C.call(B,V,{bc:M,bih:p.height,biw:p.width,brdim:x.join(),vis:D6(X.Z),wgl:!!M2.WebGLRenderingContext});X.ca_type="image";D&&(X.bid=D);return X}; vCB=function(){if(!qM)return null;const D=qM();return"open"in D?D:null}; g.Yi=function(D){switch(aA(D)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}}; aA=function(D){return D&&"status"in D?D.status:-1}; g.IA=function(D,X){typeof D==="function"&&(D=g.vB(D));return window.setTimeout(D,X)}; g.Ks=function(D,X){typeof D==="function"&&(D=g.vB(D));return window.setInterval(D,X)}; g.oA=function(D){window.clearTimeout(D)}; g.eX=function(D){window.clearInterval(D)}; g.GF=function(D){D=df(D);return typeof D==="string"&&D==="false"?!1:!!D}; ZW=function(D,X){D=df(D);return D===void 0&&X!==void 0?X:Number(D||0)}; Qc=function(){return g.e("EXPERIMENTS_TOKEN","")}; df=function(D){return g.e("EXPERIMENT_FLAGS",{})[D]}; Ls=function(){const D=[],X=g.e("EXPERIMENTS_FORCED_FLAGS",{});for(var B of Object.keys(X))D.push({key:B,value:String(X[B])});B=g.e("EXPERIMENT_FLAGS",{});for(const C of Object.keys(B))C.startsWith("force_")&&X[C]===void 0&&D.push({key:C,value:String(B[C])});return D}; gf=function(D,X,B="GET",C="",V,x,y,m=!1,l){const W=vCB();if(!W)return null;const v=()=>{(W&&"readyState"in W?W.readyState:0)===4&&X&&g.vB(X)(W)}; "onloadend"in W?W.addEventListener("loadend",v,!1):W.onreadystatechange=v;g.GF("debug_forward_web_query_parameters")&&(D=fX_(D));W.open(B,D,!0);x&&(W.responseType=x);y&&(W.withCredentials=!0);B=B==="POST"&&(window.FormData===void 0||!(C instanceof FormData));if(V=uyX(D,V))for(const f in V)W.setRequestHeader(f,V[f]),"content-type"===f.toLowerCase()&&(B=!1);B&&W.setRequestHeader("Content-Type","application/x-www-form-urlencoded");l&&"onprogress"in W&&(W.onprogress=()=>{l(W.responseText)}); if(m&&"setAttributionReporting"in XMLHttpRequest.prototype){D={eventSourceEligible:!0,triggerEligible:!1};try{W.setAttributionReporting(D)}catch(f){uy(f)}}W.send(C);return W}; uyX=function(D,X={}){const B=by(D),C=g.e("INNERTUBE_CLIENT_NAME"),V=g.GF("web_ajax_ignore_global_headers_if_set");for(const m in EG){let l=g.e(EG[m]);const W=m==="X-Goog-AuthUser"||m==="X-Goog-PageId";m!=="X-Goog-Visitor-Id"||l||(l=g.e("VISITOR_DATA"));var x;if(!(x=!l)){if(!(x=B||(g.re(D)?!1:!0))){x=D;var y;if(y=g.GF("add_auth_headers_to_remarketing_google_dot_com_ping")&&m==="Authorization"&&(C==="TVHTML5"||C==="TVHTML5_UNPLUGGED"||C==="TVHTML5_SIMPLY")&&UG(x))x=DK(x)||"",x=x.split("/"),x="/"+(x.length> 1?x[1]:""),y=x==="/pagead";x=y?!0:!1}x=!x}x||V&&X[m]!==void 0||C==="TVHTML5_UNPLUGGED"&&W||(X[m]=l)}"X-Goog-EOM-Visitor-Id"in X&&"X-Goog-Visitor-Id"in X&&delete X["X-Goog-Visitor-Id"];if(B||!g.re(D))X["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());if(B||!g.re(D)){let m;try{m=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch{}m&&(X["X-YouTube-Time-Zone"]=m)}document.location.hostname.endsWith("youtubeeducation.com")||!B&&g.re(D)||(X["X-YouTube-Ad-Signals"]=JT(NM()));return X}; wf=function(D,X){X.method="POST";X.postParams||(X.postParams={});return g.ns(D,X)}; p4z=function(D,X){if(window.fetch&&X.format!=="XML"){var B={method:X.method||"GET",credentials:"same-origin"};X.headers&&(B.headers=X.headers);X.priority&&(B.priority=X.priority);D=TF(D,X);var C=SX(D,X);C&&(B.body=C);X.withCredentials&&(B.credentials="include");var V=X.context||g.hz,x=!1,y;fetch(D,B).then(m=>{if(!x){x=!0;y&&g.oA(y);var l=m.ok,W=v=>{v=v||{};l?X.onSuccess&&X.onSuccess.call(V,v,m):X.onError&&X.onError.call(V,v,m);X.onFinish&&X.onFinish.call(V,v,m)}; (X.format||"JSON")==="JSON"&&(l||m.status>=400&&m.status<500)?m.json().then(W,()=>{W(null)}):W(null)}}).catch(()=>{X.onError&&X.onError.call(V,{},{})}); D=X.timeout||0;X.onFetchTimeout&&D>0&&(y=g.IA(()=>{x||(x=!0,g.oA(y),X.onFetchTimeout.call(X.context||g.hz))},D))}else g.ns(D,X)}; g.ns=function(D,X){const B=X.format||"JSON";D=TF(D,X);var C=SX(D,X);let V=!1,x;const y=hL1(D,m=>{if(!V){V=!0;x&&g.oA(x);var l=g.Yi(m),W=null,v=400<=m.status&&m.status<500,f=500<=m.status&&m.status<600;if(l||v||f)W=JsA(D,B,m,X.convertToSafeHtml);l&&(l=M3Y(B,m,W));W=W||{};v=X.context||g.hz;l?X.onSuccess&&X.onSuccess.call(v,m,W):X.onError&&X.onError.call(v,m,W);X.onFinish&&X.onFinish.call(v,m,W)}},X.method,C,X.headers,X.responseType,X.withCredentials,!1,X.onProgress); C=X.timeout||0;if(X.onTimeout&&C>0){const m=X.onTimeout;x=g.IA(()=>{V||(V=!0,y.abort(),g.oA(x),m.call(X.context||g.hz,y))},C)}return y}; TF=function(D,X){X.includeDomain&&(D=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+D);const B=g.e("XSRF_FIELD_NAME");if(X=X.urlParams)X[B]&&delete X[B],D=F4(D,X);return D}; SX=function(D,X){const B=g.e("XSRF_FIELD_NAME"),C=g.e("XSRF_TOKEN");var V=X.postBody||"",x=X.postParams;const y=g.e("XSRF_FIELD_NAME");let m;X.headers&&(m=X.headers["Content-Type"]);X.excludeXsrf||g.re(D)&&!X.withCredentials&&g.re(D)!==document.location.hostname||X.method!=="POST"||m&&m!=="application/x-www-form-urlencoded"||X.postParams&&X.postParams[y]||(x||(x={}),x[B]=C);(g.GF("ajax_parse_query_data_only_when_filled")&&x&&Object.keys(x).length>0||x)&&typeof V==="string"&&(V=MM(V),g.T8(V,x),V=X.postBodyFormat&& X.postBodyFormat==="JSON"?JSON.stringify(V):g.im(V));x=V||x&&!g.Z2(x);!PB&&x&&X.method!=="POST"&&(PB=!0,g.WB(Error("AJAX request with postData should use POST")));return V}; JsA=function(D,X,B,C){let V=null;switch(X){case "JSON":let x;try{x=B.responseText}catch(y){throw C=Error("Error reading responseText"),C.params=D,uy(C),y;}D=B.getResponseHeader("Content-Type")||"";if(x&&D.indexOf("json")>=0){x.substring(0,5)===")]}'\n"&&(x=x.substring(5));try{V=JSON.parse(x)}catch(y){}}break;case "XML":if(D=(D=B.responseXML)?Aso(D):null)V={},g.Lu(D.getElementsByTagName("*"),y=>{V[y.tagName]=j1z(y)})}C&&tT(V); return V}; tT=function(D){if(g.bY(D))for(const X in D)X==="html_content"||De(X,"_html")?D[X]=LR(D[X]):tT(D[X])}; M3Y=function(D,X,B){if(X&&X.status===204)return!0;switch(D){case "JSON":return!!B;case "XML":return Number(B&&B.return_code)===0;case "RAW":return!0;default:return!!B}}; Aso=function(D){return D?(D=("responseXML"in D?D.responseXML:D).getElementsByTagName("root"))&&D.length>0?D[0]:null:null}; j1z=function(D){let X="";g.Lu(D.childNodes,B=>{X+=B.nodeValue}); return X}; fX_=function(D){var X=window.location.search,B=g.re(D);g.GF("debug_handle_relative_url_for_query_forward_killswitch")||!B&&by(D)&&(B=document.location.hostname);var C=DK(D);C=(B=B&&(B.endsWith("youtube.com")||B.endsWith("youtube-nocookie.com")))&&C&&C.startsWith("/api/");if(!B||C)return D;const V=MM(X),x={};g.Lu(Hvb,y=>{V[y]&&(x[y]=V[y])}); return zF(D,x)}; rf=function(D,X){const B=g.Et(X);let C;return(new g.cI((V,x)=>{B.onSuccess=y=>{g.Yi(y)?V(new F3s(y)):x(new OG(`Request failed, status=${aA(y)}`,"net.badstatus",y))}; B.onError=y=>{x(new OG("Unknown request error","net.unknown",y))}; B.onTimeout=y=>{x(new OG("Request timed out","net.timeout",y))}; C=g.ns(D,B)})).JH(V=>{V instanceof n1&&C?.abort(); return IW(V)})}; g.DG=function(D,X,B,C,V=-1,x){const y=l=>new g.cI(W=>{setTimeout(W,l)}),m=(l,W,v)=>l.JH(f=>{if(W<=0||aA(f.xhr)===403)return IW(new OG("Request retried too many times","net.retryexhausted",f.xhr)); const u=Math.pow(2,B-W+1)*v,p=V>0?Math.min(V,u):u;return y(v).then(()=>{x&&x(f,W-1);return m(rf(D,X),W-1,p)})}); return m(rf(D,X),B-1,C)}; zL1=function(D,X=null){D.U=2;D.Z=X}; bvA=function(D,X=null){D.U=1;D.Z=X}; BD=function(D=null){const X=new XG;zL1(X,D);return X}; CE=function(D=null){const X=new XG;bvA(X,D);return X}; g.yo=function(D,X,B,C="youtube.com",V=!1){Vo||xe.set(""+D,X,{yq:B,path:"/",domain:C,secure:V})}; g.m2=function(D,X){if(!Vo)return xe.get(""+D,X)}; g.i7=function(D,X="/",B="youtube.com"){Vo||xe.remove(""+D,X,B)}; l7=function(){if(!xe.isEnabled())return!1;if(!xe.isEmpty())return!0;xe.set("TESTCOOKIESENABLED","1",{yq:60});if(xe.get("TESTCOOKIESENABLED")!=="1")return!1;xe.remove("TESTCOOKIESENABLED");return!0}; g.Z=function(D,X){if(D)return D[X.name]}; $e=function(D){const X=g.e("INNERTUBE_HOST_OVERRIDE");X&&(D=String(X)+String(Bu(D)));return D}; WD=function(D){const X={};g.GF("json_condensed_response")&&(X.prettyPrint="false");return D=zF(D,X)}; vD=function(D,X="POST"){D={method:X,mode:by(D)?"same-origin":"cors",credentials:by(D)?"same-origin":"include"};X={};const B={};for(const C of Object.keys(X))X[C]&&(B[C]=X[C]);Object.keys(B).length>0&&(D.headers=B);return D}; fE=function(D,X={}){return`${"service"}:${D}/${Object.keys(X).sort().map(B=>B+":"+X[B]).join("/")}`}; u7=function(){const D=/Chrome\/(\d+)/.exec(g.il());return D?parseFloat(D[1]):NaN}; pE=function(){var D=/\sCobalt\/(\S+)\s/.exec(g.il());if(!D)return NaN;const X=[];for(const B of D[1].split("."))D=parseInt(B,10),D>=0&&X.push(D);return parseFloat(X.join("."))}; Jl=function(){return g.hl("android")&&g.hl("chrome")&&!(g.hl("trident/")||g.hl("edge/"))&&!g.hl("cobalt")}; g.M6=function(){return g.hl("cobalt")}; Al=function(){return g.hl("cobalt")&&g.hl("appletv")}; j1=function(){return g.hl("(ps3; leanback shell)")||g.hl("ps3")&&g.M6()}; HD=function(){return g.hl("(ps4; leanback shell)")||g.hl("ps4")&&g.M6()}; g.FG=function(){return g.M6()&&(g.hl("ps4 vr")||g.hl("ps4 pro vr"))}; za=function(){const D=/WebKit\/([0-9]+)/.exec(g.il());return!!(D&&parseInt(D[1],10)>=600)}; b7=function(){const D=/WebKit\/([0-9]+)/.exec(g.il());return!!(D&&parseInt(D[1],10)>=602)}; kto=function(){return g.hl("iemobile")||g.hl("windows phone")&&g.hl("edge")}; UQ=function(){return(ke||sQ)&&g.hl("applewebkit")&&!g.hl("version")&&(!g.hl("safari")||g.hl("gsa/"))}; cD=function(){return g.Ro&&g.hl("version/")}; N6=function(){return g.hl("smart-tv")&&g.hl("samsung")}; g.hl=function(D){const X=g.il();return X?X.toLowerCase().indexOf(D)>=0:!1}; q6=function(){return qc()||UQ()||cD()?!0:g.e("EOM_VISITOR_DATA")?!1:!0}; ao=function(D,X){return X===void 0||X===null?D:X==="1"||X===!0||X===1||X==="True"?!0:!1}; Io=function(D,X,B){for(const C in B)if(B[C]==X)return B[C];return D}; KE=function(D,X){return X===void 0||X===null?D:Number(X)}; oo=function(D,X){return X===void 0||X===null?D:X.toString()}; e1=function(D,X){if(X){if(D==="fullwidth")return Infinity;if(D==="fullheight")return 0}return D&&(X=D.match(s1u))&&(D=Number(X[2]),X=Number(X[1]),!isNaN(D)&&!isNaN(X)&&D>0)?X/D:NaN}; dO=function(D){var X=D.docid||D.video_id||D.videoId||D.id;if(X)return X;X=D.raw_player_response;X||(D=D.player_response)&&(X=JSON.parse(D));return X&&X.videoDetails&&X.videoDetails.videoId||null}; Uj$=function(D){return Ga(D,!1)==="EMBEDDED_PLAYER_MODE_PFL"}; g.ZG=function(D){return D==="EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT"||D==="EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"?!0:!1}; Ga=function(D,X=!1){X=X?"EMBEDDED_PLAYER_MODE_DEFAULT":"EMBEDDED_PLAYER_MODE_UNKNOWN";window.location.hostname.includes("youtubeeducation.com")&&(X="EMBEDDED_PLAYER_MODE_PFL");let B=D.raw_embedded_player_response;if(!B&&(D=D.embedded_player_response))try{B=JSON.parse(D)}catch(C){return X}return B?Io(X,B.embeddedPlayerMode,RLu):X}; csu=function(){if(g.GF("disable_biscotti_fetch_entirely_for_all_web_clients"))return Error("Biscotti id fetching has been disabled entirely.");if(!q6())return Error("User has not consented - not fetching biscotti id.");const D=g.e("PLAYER_VARS",{});if(g.L0(D,"privembed",!1)=="1")return Error("Biscotti ID is not available in private embed mode");if(Uj$(D))return Error("Biscotti id fetching has been disabled for pfl.")}; YBX=function(){const D=csu();if(D!==void 0)return IW(D);Qo||(Qo=rf("//googleads.g.doubleclick.net/pagead/id",NN$).then(qBz).JH(X=>aX$(2,X))); return Qo}; qBz=function(D){D=D.xhr.responseText;if(!rW(D,")]}'"))throw new LE;D=JSON.parse(D.substr(4));if((D.type||1)>1)throw new LE;D=D.id;yc(D);Qo=CE(D);IXb(18E5,2);return D}; aX$=function(D,X){X=new K3o(X);yc("");Qo=BD(X);D>0&&IXb(12E4,D-1);throw X;}; IXb=function(D,X){g.IA(function(){rf("//googleads.g.doubleclick.net/pagead/id",NN$).then(qBz,B=>aX$(X,B)).JH(g.Fx)},D)}; oC_=function(){try{const D=g.MX("yt.ads.biscotti.getId_");return D?D():YBX()}catch(D){return IW(D)}}; dju=function(D){D&&(D.dataset?D.dataset[eLV()]="true":s$_(D))}; GtX=function(D){return D?D.dataset?D.dataset[eLV()]:D.getAttribute("data-loaded"):null}; eLV=function(){return ZvV.loaded||(ZvV.loaded="loaded".replace(/\-([a-z])/g,(D,X)=>X.toUpperCase()))}; Q1$=function(){var D=document;if("visibilityState"in D)return D.visibilityState;const X=gO+"VisibilityState";if(X in D)return D[X]}; EQ=function(D,X){let B;So(D,C=>{B=X[C];return!!B}); return B}; nE=function(D){if(D.requestFullscreen)D=D.requestFullscreen(void 0);else if(D.webkitRequestFullscreen)D=D.webkitRequestFullscreen();else if(D.mozRequestFullScreen)D=D.mozRequestFullScreen();else if(D.msRequestFullscreen)D=D.msRequestFullscreen();else if(D.webkitEnterFullscreen)D=D.webkitEnterFullscreen();else return Promise.reject(Error("Fullscreen API unavailable"));return D instanceof Promise?D:Promise.resolve()}; S1=function(D){var X;g.wO()?Ta()==D&&(X=document):X=D;return X&&(D=EQ(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],X))?(X=D.call(X),X instanceof Promise?X:Promise.resolve()):Promise.resolve()}; L3Y=function(D){return g.O$(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],X=>`on${X.toLowerCase()}`in D)}; gCz=function(){var D=document;return g.O$(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],X=>`on${X.toLowerCase()}`in D)}; g.wO=function(){return!!EQ(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)}; Ta=function(D=!1){let X=EQ(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);if(D)for(;X&&X.shadowRoot;)X=X.shadowRoot.fullscreenElement;return X?X:null}; ECY=function(D){if(document.body&&document.documentElement){const X=document.body.scrollTop+document.documentElement.scrollTop;D.L=D.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);D.Z=D.clientY+X}}; nC$=function(D,X,B,C={}){D.addEventListener&&(X!="mouseenter"||"onmouseenter"in document?X!="mouseleave"||"onmouseenter"in document?X=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(X="MozMousePixelScroll"):X="mouseout":X="mouseover");return dW(tl,V=>{const x=typeof V[4]==="boolean"&&V[4]==!!C,y=g.bY(V[4])&&g.bY(C)&&g.gW(V[4],C);return!!V.length&&V[0]==D&&V[1]==X&&V[2]==B&&(x||y)})}; g.OQ=function(D,X,B,C={}){if(!D||!D.addEventListener&&!D.attachEvent)return"";let V=nC$(D,X,B,C);if(V)return V;V=++w4u.count+"";const x=!(X!="mouseenter"&&X!="mouseleave"||!D.addEventListener||"onmouseenter"in document);let y;y=x?m=>{m=new TN$(m);if(!hX(m.relatedTarget,l=>l==D,!0))return m.currentTarget=D,m.type=X,B.call(D,m)}:m=>{m=new TN$(m); m.currentTarget=D;return B.call(D,m)}; y=g.vB(y);D.addEventListener?(X=="mouseenter"&&x?X="mouseover":X=="mouseleave"&&x?X="mouseout":X=="mousewheel"&&"MozBoxSizing"in document.documentElement.style&&(X="MozMousePixelScroll"),SB_()||typeof C==="boolean"?D.addEventListener(X,y,C):D.addEventListener(X,y,!!C.capture)):D.attachEvent(`on${X}`,y);tl[V]=[D,X,B,y,C];return V}; t3$=function(D){return Pcu(D,X=>g.CV(X,"ytp-ad-has-logging-urls"))}; Pcu=function(D,X){const B=document.body||document;return g.OQ(B,"click",C=>{const V=hX(C.target,x=>x===B||X(x),!0); V&&V!==B&&!V.disabled&&(C.currentTarget=V,D.call(V,C))})}; g.rO=function(D){D&&(typeof D=="string"&&(D=[D]),g.Lu(D,X=>{if(X in tl){var B=tl[X];const C=B[0],V=B[1],x=B[3];B=B[4];C.removeEventListener?SB_()||typeof B==="boolean"?C.removeEventListener(V,x,B):C.removeEventListener(V,x,!!B.capture):C.detachEvent&&C.detachEvent(`on${V}`,x);delete tl[X]}}))}; Dg=function(D){for(let X in tl)tl[X][0]==D&&g.rO(X)}; XK=function(D){D=D||window.event;let X;D.composedPath&&typeof D.composedPath==="function"?X=D.composedPath():X=D.path;X&&X.length?D=X[0]:(D=D||window.event,D=D.target||D.srcElement,D.nodeType==3&&(D=D.parentNode));return D}; Bc=function(D){this.Y=D;this.L=null;this.V=0;this.S=null;this.G=0;this.Z=[];for(D=0;D<4;D++)this.Z.push(0);this.U=0;this.J=g.OQ(window,"mousemove",(0,g.U$)(this.N,this));this.K=g.Ks((0,g.U$)(this.Z3,this),25)}; Ck=function(D,X,B,C){for(let V=0;V0?B:0;B=C?Date.now()+C*1E3:0;if((C=C?g.Vs.Wr():g.Vs.wm())&&window.JSON){typeof X!=="string"&&(X=JSON.stringify(X,void 0));try{C.set(D,X,B)}catch(V){C.remove(D)}}}; g.ys=function(D){const X=g.Vs.wm(),B=g.Vs.Wr();if(!X&&!B||!window.JSON)return null;let C;try{C=X.get(D)}catch(V){}if(typeof C!=="string")try{C=B.get(D)}catch(V){}if(typeof C!=="string")return null;try{C=JSON.parse(C,void 0)}catch(V){}return C}; OvA=function(){var D=g.Vs.Wr();if(D&&(D=D.Hy("yt-player-quality")))return D.creation}; g.mh=function(D){try{const X=g.Vs.wm(),B=g.Vs.Wr();X&&X.remove(D);B&&B.remove(D)}catch(X){}}; g.iV=function(){return g.ys("yt-remote-session-screen-id")}; lV=function(){if(!g.hz.matchMedia)return"WEB_DISPLAY_MODE_UNKNOWN";try{return g.hz.matchMedia("(display-mode: standalone)").matches?"WEB_DISPLAY_MODE_STANDALONE":g.hz.matchMedia("(display-mode: minimal-ui)").matches?"WEB_DISPLAY_MODE_MINIMAL_UI":g.hz.matchMedia("(display-mode: fullscreen)").matches?"WEB_DISPLAY_MODE_FULLSCREEN":g.hz.matchMedia("(display-mode: browser)").matches?"WEB_DISPLA