'use strict';var fA=function(a){L(this,a,0,-1,null,null)};w(fA,J);var gA=function(a){L(this,a,0,-1,null,null)};w(gA,J);var hA=function(a){L(this,a,0,-1,null,null)};w(hA,J);var iA=function(a){L(this,a,0,-1,null,null)};w(iA,J);
var mA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new gA;B(b,c,jA);U(a,1,c);break;case 2:c=new hA;B(b,c,kA);U(a,2,c);break;case 3:c=new hA;B(b,c,kA);U(a,3,c);break;case 4:c=new iA;B(b,c,lA);U(a,4,c);break;default:A(b)}return a},jA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;default:A(b)}return a},kA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);P(a,1,c);break;case 2:c=Kk(b);P(a,2,c);break;case 3:var d=b.h;
c=Hk(d);var e=Hk(d);d=2*(e>>31)+1;var f=e>>>20&2047;c=4294967296*(e&1048575)+c;c=2047==f?c?NaN:Infinity*d:0==f?d*Math.pow(2,-1074)*c:d*Math.pow(2,f-1075)*(c+4503599627370496);P(a,3,c);break;default:A(b)}return a},lA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=Lk(b);P(a,3,c);break;case 4:c=Lk(b);P(a,4,c);break;default:A(b)}return a};var nA=function(a){L(this,a,0,1,null,null)};w(nA,J);var oA={},pA=function(a,b){for(;y(b)&&!x(b);){var c=a,d=b,e=nA.prototype.getExtension,f=nA.prototype.G,g=oA[d.g];if(g){var h=g.sP;if(!g.On)throw Error("Deserializing extension whose generated code does not support binary format");if(h.ed){var m=new h.ed;g.On.call(d,m,g.eP)}else m=g.On.call(d);h.hx&&!g.FP?(d=e.call(c,h))?d.push(m):f.call(c,h,[m]):f.call(c,h,m)}else A(d)}return a};var rA=function(a){L(this,a,0,-1,qA,null)};w(rA,J);var sA=function(a){L(this,a,0,-1,null,null)};w(sA,J);var tA=function(a){L(this,a,0,-1,null,null)};w(tA,J);var uA=function(a){L(this,a,0,-1,null,null)};w(uA,J);var vA=function(a){L(this,a,0,-1,null,null)};w(vA,J);var wA=function(a){L(this,a,0,-1,null,null)};w(wA,J);var yA=function(a){L(this,a,0,-1,xA,null)};w(yA,J);var zA=function(a){L(this,a,0,-1,null,null)};w(zA,J);var AA=function(a){L(this,a,0,-1,null,null)};w(AA,J);
var BA=function(a){L(this,a,0,-1,null,null)};w(BA,J);
var qA=[14],HA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=E(b);P(a,4,c);break;case 10:c=F(b);P(a,10,c);break;case 5:c=F(b);P(a,5,c);break;case 6:c=new uA;B(b,c,CA);U(a,6,c);break;case 7:c=E(b);P(a,7,c);break;case 8:c=new sA;B(b,c,DA);U(a,8,c);break;case 9:c=new yA;B(b,c,EA);U(a,9,c);break;case 11:c=new AA;B(b,c,FA);U(a,11,c);break;case 12:c=new BA;B(b,c,GA);U(a,12,c);break;case 13:c=E(b);P(a,13,c);
break;case 14:c=F(b);Jl(a,14,c);break;default:A(b)}return a},DA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Lk(b);P(a,1,c);break;case 2:c=new tA;B(b,c,IA);U(a,2,c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=new vA;B(b,c,JA);U(a,4,c);break;case 5:c=new wA;B(b,c,KA);U(a,5,c);break;case 6:c=new zA;B(b,c,LA);U(a,6,c);break;case 7:c=new nA;B(b,c,pA);U(a,7,c);break;default:A(b)}return a},IA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Lk(b);P(a,1,c);break;case 2:c=Lk(b);P(a,2,
c);break;default:A(b)}return a},CA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;default:A(b)}return a},JA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;default:A(b)}return a},KA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=Lk(b);P(a,2,c);break;case 3:c=F(b);a.setTitle(c);break;case 4:c=F(b);P(a,4,c);break;default:A(b)}return a};
wA.prototype.getTitle=function(){return M(this,3)};wA.prototype.setTitle=function(a){return P(this,3,a)};var xA=[5],EA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=Mk(b);P(a,3,c);break;case 4:c=E(b);P(a,4,c);break;case 5:c=F(b);Jl(a,5,c);break;default:A(b)}return a},LA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;default:A(b)}return a};
zA.prototype.Ha=function(){return N(this,1,0)};var FA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 3:var c=E(b);P(a,3,c);break;case 4:c=Lk(b);P(a,4,c);break;case 5:c=Mk(b);P(a,5,c);break;default:A(b)}return a};AA.prototype.getCurrentState=function(){return M(this,3)};var GA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;default:A(b)}return a};rA.prototype.ta=function(){return M(this,1)};rA.prototype.Sc=function(){return M(this,4)};var MA=function(a){L(this,a,0,-1,null,null)};w(MA,J);var NA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;default:A(b)}return a};var OA=function(a){L(this,a,0,-1,null,null)};w(OA,J);var PA=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&gl(b,2,c);c=M(a,3);null!=c&&gl(b,3,c);c=M(a,4);null!=c&&gl(b,4,c)};OA.prototype.vb=function(){return M(this,4)};var QA=function(a){L(this,a,0,-1,null,null)};w(QA,J);var RA=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&H(b,3,c);c=M(a,4);null!=c&&H(b,4,c)};var SA=function(a){L(this,a,0,-1,null,null)};w(SA,J);var TA=function(a,b){var c=M(a,1);null!=c&&fl(b,1,c);c=M(a,2);null!=c&&H(b,2,c)};var UA=function(a){L(this,a,0,-1,null,null)};w(UA,J);var VA=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=M(a,3);null!=c&&H(b,3,c);c=M(a,4);null!=c&&fl(b,4,c);c=M(a,5);null!=c&&H(b,5,c);c=M(a,6);null!=c&&H(b,6,c);c=M(a,7);null!=c&&b.g(7,c)};UA.prototype.vb=function(){return M(this,4)};var WA=function(a){L(this,a,0,-1,null,null)};w(WA,J);var XA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;default:A(b)}return a};WA.prototype.getId=function(){return M(this,1)};var YA=function(a){L(this,a,0,-1,null,null)};w(YA,J);var ZA=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;case 2:c=Gk(b.h,wk);P(a,2,c);break;default:A(b)}return a};var $A=function(a){L(this,a,0,-1,null,null)};w($A,J);var aB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new YA;B(b,c,ZA);U(a,1,c);break;default:A(b)}return a};var bB=function(a){L(this,a,0,-1,null,null)};w(bB,J);var cB=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=M(a,3);null!=c&&G(b,3,c);c=M(a,4);null!=c&&G(b,4,c);c=M(a,5);null!=c&&G(b,5,c);c=M(a,6);null!=c&&G(b,6,c)};bB.prototype.getDevice=function(){return M(this,1)};var dB=function(a,b){return P(a,1,b)};var eB=function(a){L(this,a,0,-1,null,null)};w(eB,J);var fB=function(a,b){var c=R(a,UA,1);null!=c&&I(b,1,c,VA);c=R(a,QA,2);null!=c&&I(b,2,c,RA);c=R(a,SA,3);null!=c&&I(b,3,c,TA);c=M(a,4);null!=c&&H(b,4,c);c=M(a,5);null!=c&&kl(b,5,c);c=M(a,6);null!=c&&b.C(6,c);c=R(a,bB,7);null!=c&&I(b,7,c,cB);c=M(a,8);null!=c&&H(b,8,c);c=R(a,OA,9);null!=c&&I(b,9,c,PA)};var gB=function(a){L(this,a,0,-1,null,null)};w(gB,J);var hB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=Gk(b.h,wk);P(a,2,c);break;default:A(b)}return a};var iB=function(a){L(this,a,0,-1,null,null)};w(iB,J);
var jB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=Gk(b.h,zk);P(a,4,c);break;case 10:c=F(b);P(a,10,c);break;case 11:c=Kk(b);P(a,11,c);break;case 5:c=Gk(b.h,wk);P(a,5,c);break;case 6:c=Gk(b.h,wk);P(a,6,c);break;case 7:c=F(b);P(a,7,c);break;case 8:c=F(b);P(a,8,c);break;case 9:c=new gB;B(b,c,hB);U(a,9,c);break;case 12:c=E(b);P(a,12,c);break;case 13:c=Mk(b);P(a,13,c);break;default:A(b)}return a};
iB.prototype.Ha=function(){return M(this,1)};var kB=function(a){L(this,a,0,-1,null,null)};w(kB,J);var lB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 4:c=new $A;B(b,c,aB);U(a,4,c);break;case 3:c=Gk(b.h,zk);P(a,3,c);break;case 5:c=Gk(b.h,wk);P(a,5,c);break;case 6:c=new MA;B(b,c,NA);U(a,6,c);break;case 7:c=F(b);P(a,7,c);break;case 8:c=F(b);P(a,8,c);break;default:A(b)}return a};var nB=function(a){L(this,a,0,-1,mB,null)};w(nB,J);var mB=[6],oB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=E(b);P(a,3,c);break;case 4:c=F(b);P(a,4,c);break;case 5:c=F(b);P(a,5,c);break;case 6:c=F(b);Jl(a,6,c);break;case 7:c=F(b);P(a,7,c);break;case 8:c=E(b);P(a,8,c);break;case 9:c=F(b);a.setTitle(c);break;case 10:c=F(b);a.di(c);break;case 11:c=E(b);P(a,11,c);break;default:A(b)}return a};
nB.prototype.ta=function(){return M(this,1)};nB.prototype.getTitle=function(){return M(this,9)};nB.prototype.setTitle=function(a){return P(this,9,a)};nB.prototype.di=function(a){return P(this,10,a)};var pB={yt:0,ls:1,TIMEOUT:2,ERROR:3,KG:4,rC:5,UNKNOWN:6,DE:7,fs:8,Zr:9,qD:10,GK:11,pN:12,xJ:13,OA:14,rE:15,ZF:16,cO:17,YA:18,WF:19,ML:20,dI:21,gD:22,nE:23,EI:24,gM:25,XL:26,Js:27,Bs:28,ZN:29,EK:30,nI:31,iC:32,Yr:33,aO:34,Ls:35,HO:36,lO:37,GF:38,FF:39,HF:40,sO:41,AJ:42,gE:43,oE:44,pO:45,iB:46,qI:47,kJ:48,oI:49,lJ:50,eJ:51,gJ:52,fJ:53,iJ:54,hJ:55,iM:56,CE:57,KO:58,NG:59,oG:60,jB:61,XA:62,KC:63,vG:64,vF:65,tF:66,iG:67,wF:68,kB:69,VE:70,IB:71,pI:72,QD:73,VL:74,MJ:75,hH:76,aM:77,NJ:78,OJ:79,jC:102,tG:103,
iO:104,hO:105,jO:106,XM:107,NA:108,hM:109,aG:110,DH:111,sG:112,EH:113,GH:114,FH:115,cJ:116,bJ:117,ZL:118,sD:119,YL:120,oD:121,bD:122,nO:123,LC:124,gs:125,oO:126,mD:127,lD:128};var qB=function(a){L(this,a,0,-1,null,null)};w(qB,J);var rB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};qB.prototype.getService=function(){return M(this,1)};qB.prototype.ue=function(){return null!=M(this,2)};var sB=function(a){L(this,a,0,-1,null,null)};w(sB,J);var uB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);tB(a,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a},tB=function(a,b){return P(a,1,b)};var wB=function(a){L(this,a,0,-1,vB,null)};w(wB,J);
var vB=[15,26],xB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.Hl(c);break;case 2:c=E(b);P(a,2,c);break;case 3:c=new qB;B(b,c,rB);U(a,3,c);break;case 4:c=Mk(b);P(a,4,c);break;case 6:c=Lk(b);P(a,6,c);break;case 7:c=Lk(b);P(a,7,c);break;case 8:c=F(b);P(a,8,c);break;case 9:c=new WA;B(b,c,XA);U(a,9,c);break;case 10:c=Mk(b);P(a,10,c);break;case 11:c=Lk(b);P(a,11,c);break;case 12:c=Lk(b);P(a,12,c);break;case 13:c=F(b);P(a,13,c);break;case 14:c=E(b);P(a,14,c);break;case 15:c=F(b);Jl(a,
15,c);break;case 16:c=Mk(b);P(a,16,c);break;case 24:c=E(b);P(a,24,c);break;case 17:c=new sB;B(b,c,uB);a.Dd(c);break;case 18:c=Mk(b);P(a,18,c);break;case 25:c=E(b);P(a,25,c);break;case 21:c=E(b);P(a,21,c);break;case 22:c=E(b);P(a,22,c);break;case 23:c=E(b);P(a,23,c);break;case 26:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,26,c[d]);break;case 27:c=F(b);P(a,27,c);break;case 28:c=F(b);P(a,28,c);break;case 29:c=F(b);P(a,29,c);break;case 30:c=F(b);P(a,30,c);break;case 31:c=Mk(b);P(a,31,c);break;
case 32:c=Mk(b);P(a,32,c);break;default:A(b)}return a};k=wB.prototype;k.ta=function(){return M(this,1)};k.Hl=function(a){return P(this,1,a)};k.ga=function(){return M(this,14)};k.Rc=function(){return R(this,sB,17)};k.Dd=function(a){return U(this,17,a)};k.Qk=function(){return null!=M(this,17)};var zB=function(a){L(this,a,0,-1,yB,null)};w(zB,J);var yB=[4];zB.prototype.setRequestHeader=function(a){return U(this,1,a)};zB.prototype.X=function(){return R(this,Wl,3)};zB.prototype.J=function(a){U(this,3,a)};zB.prototype.aa=function(){this.J(void 0)};var BB=function(a){L(this,a,0,-1,AB,null)};w(BB,J);var CB=function(a){L(this,a,0,-1,null,null)};w(CB,J);var DB=function(a){L(this,a,0,-1,null,null)};w(DB,J);
var AB=[20,8,19,26],GB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.u(c);break;case 2:c=F(b);a.l(c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=F(b);P(a,4,c);break;case 5:c=F(b);P(a,5,c);break;case 6:c=Mk(b);P(a,6,c);break;case 7:c=Mk(b);P(a,7,c);break;case 20:c=new CB;B(b,c,EB);Ol(a,20,c,CB);break;case 8:c=F(b);Jl(a,8,c);break;case 9:c=Mk(b);P(a,9,c);break;case 10:c=F(b);P(a,10,c);break;case 11:c=F(b);P(a,11,c);break;case 12:c=E(b);P(a,12,c);break;case 13:c=E(b);P(a,13,c);break;
case 14:c=E(b);P(a,14,c);break;case 17:c=E(b);P(a,17,c);break;case 18:c=Mk(b);P(a,18,c);break;case 19:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,19,c[d]);break;case 21:c=Mk(b);P(a,21,c);break;case 22:c=new fA;B(b,c,mA);U(a,22,c);break;case 23:c=Lk(b);P(a,23,c);break;case 24:c=E(b);P(a,24,c);break;case 25:c=F(b);P(a,25,c);break;case 26:c=F(b);Jl(a,26,c);break;case 27:c=new DB;B(b,c,FB);U(a,27,c);break;default:A(b)}return a},EB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);
P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;default:A(b)}return a},FB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;default:A(b)}return a};BB.prototype.ta=function(){return M(this,1)};BB.prototype.u=function(a){return P(this,1,a)};BB.prototype.Z=function(){return M(this,2)};BB.prototype.l=function(a){return P(this,2,a)};var IB=function(a){L(this,a,0,-1,HB,null)};w(IB,J);var HB=[6];IB.prototype.setRequestHeader=function(a){return U(this,1,a)};IB.prototype.X=function(){return R(this,Wl,5)};IB.prototype.J=function(a){U(this,5,a)};IB.prototype.aa=function(){this.J(void 0)};var JB=function(a){L(this,a,0,-1,null,null)};w(JB,J);k=JB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ta=function(){return M(this,2)};k.X=function(){return R(this,Wl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var KB=function(a){L(this,a,0,-1,null,null)};w(KB,J);k=KB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ta=function(){return M(this,2)};k.X=function(){return R(this,Wl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var LB=function(a){L(this,a,0,-1,null,null)};w(LB,J);LB.prototype.getName=function(){return M(this,1)};var NB=function(a){L(this,a,0,-1,MB,null)};w(NB,J);var MB=[3];k=NB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ga=function(){return N(this,6,1)};k.X=function(){return R(this,Wl,8)};k.J=function(a){U(this,8,a)};k.aa=function(){this.J(void 0)};var OB=function(a){L(this,a,0,-1,null,null)};w(OB,J);var PB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=b.h.h();P(a,1,c);break;case 2:c=b.h.h();P(a,2,c);break;case 3:c=b.h.h();P(a,3,c);break;default:A(b)}return a};var QB=function(a){L(this,a,0,-1,null,null)};w(QB,J);var RB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);P(a,1,c);break;case 2:c=Kk(b);P(a,2,c);break;case 3:c=Kk(b);P(a,3,c);break;default:A(b)}return a};var SB=function(a){L(this,a,0,-1,null,null)};w(SB,J);var TB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;case 2:c=Kk(b);P(a,2,c);break;case 3:c=new QB;B(b,c,RB);U(a,3,c);break;default:A(b)}return a};var VB=function(a){L(this,a,0,-1,UB,null)};w(VB,J);var WB=function(a){L(this,a,0,-1,null,null)};w(WB,J);
var UB=[8,10],$B=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);P(a,1,c);break;case 2:c=F(b);XB(a,c);break;case 3:c=E(b);YB(a,c);break;case 5:c=Kk(b);P(a,5,c);break;case 6:c=Kk(b);P(a,6,c);break;case 7:c=Kk(b);P(a,7,c);break;case 8:c=new WB;B(b,c,ZB);Ol(a,8,c,WB);break;case 9:c=Mk(b);P(a,9,c);break;case 10:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,10,c[d]);break;case 11:c=new SB;B(b,c,TB);U(a,11,c);break;case 12:c=new SB;B(b,c,TB);U(a,12,c);break;default:A(b)}return a},
ZB=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};WB.prototype.ue=function(){return null!=M(this,2)};VB.prototype.getName=function(){return M(this,2)};var XB=function(a,b){P(a,2,b)};VB.prototype.ga=function(){return M(this,3)};var YB=function(a,b){P(a,3,b)},aC=function(a,b){Nl(a,8,b)};var bC=function(a){L(this,a,0,-1,null,null)};w(bC,J);var cC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=Kk(b);P(a,4,c);break;default:A(b)}return a};var dC=function(a){L(this,a,0,-1,null,null)};w(dC,J);var eC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;case 2:c=Kk(b);P(a,2,c);break;case 3:c=E(b);P(a,3,c);break;default:A(b)}return a};var gC=function(a){L(this,a,0,-1,fC,null)};w(gC,J);var fC=[5],hC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 2:var c=Mk(b);P(a,2,c);break;case 3:c=new QB;B(b,c,RB);U(a,3,c);break;case 5:c=2==b.j?Nk(b,b.h.s):[Kk(b)];for(var d=0;d<c.length;d++)Jl(a,5,c[d]);break;case 6:c=new dC;B(b,c,eC);U(a,6,c);break;default:A(b)}return a};gC.prototype.Sc=function(){return R(this,QB,3)};var iC=function(a){L(this,a,0,-1,null,null)};w(iC,J);var jC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=new gC;B(b,c,hC);U(a,2,c);break;default:A(b)}return a};iC.prototype.ga=function(){return M(this,1)};var kC=function(a){L(this,a,0,-1,null,null)};w(kC,J);var lC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=E(b);P(a,3,c);break;default:A(b)}return a};kC.prototype.getId=function(){return M(this,1)};kC.prototype.ga=function(){return M(this,3)};var mC=function(a){L(this,a,0,-1,null,null)};w(mC,J);var nC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;case 4:c=Kk(b);P(a,4,c);break;case 5:c=E(b);P(a,5,c);break;case 6:c=Kk(b);P(a,6,c);break;case 7:c=F(b);P(a,7,c);break;case 8:c=Kk(b);P(a,8,c);break;case 9:c=E(b);P(a,9,c);break;default:A(b)}return a};mC.prototype.Hb=function(){return M(this,4)};mC.prototype.ga=function(){return M(this,9)};var pC=function(a){L(this,a,0,-1,oC,null)};w(pC,J);var qC=function(a){L(this,a,0,-1,null,null)};w(qC,J);
var oC=[3,6],sC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=new qC;B(b,c,rC);U(a,2,c);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);P(a,4,c);break;case 5:c=F(b);P(a,5,c);break;case 6:c=new mC;B(b,c,nC);Ol(a,6,c,mC);break;case 7:c=E(b);P(a,7,c);break;default:A(b)}return a},rC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};var uC=function(a){L(this,a,0,-1,tC,null)};w(uC,J);var tC=[3,4,5,6],vC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=new pC;B(b,c,sC);U(a,2,c);break;case 3:c=new VB;B(b,c,$B);Ol(a,3,c,VB);break;case 4:c=new bC;B(b,c,cC);Ol(a,4,c,bC);break;case 5:c=new kC;B(b,c,lC);Ol(a,5,c,kC);break;case 6:c=new iC;B(b,c,jC);Ol(a,6,c,iC);break;case 7:c=new OB;B(b,c,PB);U(a,7,c);break;case 8:c=F(b);P(a,8,c);break;default:A(b)}return a};
uC.prototype.ga=function(){return N(this,1,4)};var wC=function(a){L(this,a,0,-1,null,null)};w(wC,J);var xC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=E(b);P(a,2,c);break;case 3:c=Kk(b);P(a,3,c);break;case 4:c=F(b);P(a,4,c);break;case 5:c=E(b);P(a,5,c);break;case 6:c=Kk(b);P(a,6,c);break;default:A(b)}return a};wC.prototype.getChannelId=function(){return M(this,1)};wC.prototype.Jf=function(){return M(this,4)};var zC=function(a){L(this,a,0,-1,yC,null)};w(zC,J);var AC=function(a){L(this,a,0,-1,null,null)};w(AC,J);var CC=function(a){L(this,a,0,-1,BC,null)};w(CC,J);var DC=function(a){L(this,a,0,-1,null,null)};w(DC,J);var EC=function(a){L(this,a,0,-1,null,null)};w(EC,J);var FC=function(a){L(this,a,0,-1,null,null)};w(FC,J);var GC=function(a){L(this,a,0,-1,null,null)};w(GC,J);var HC=function(a){L(this,a,0,-1,null,null)};w(HC,J);
var yC=[3,4,5,10,16],NC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 3:c=new uC;B(b,c,vC);Ol(a,3,c,uC);break;case 4:c=new uC;B(b,c,vC);Ol(a,4,c,uC);break;case 5:c=new wC;B(b,c,xC);Ol(a,5,c,wC);break;case 7:c=E(b);P(a,7,c);break;case 9:c=Mk(b);P(a,9,c);break;case 10:c=2==b.j?Nk(b,b.h.h):[b.h.h()];for(var d=0;d<c.length;d++)Jl(a,10,c[d]);break;case 11:c=E(b);P(a,11,c);break;case 12:c=b.h.h();P(a,12,c);break;case 13:c=F(b);P(a,13,c);break;case 16:c=new AC;B(b,c,IC);
Ol(a,16,c,AC);break;case 14:c=E(b);P(a,14,c);break;case 15:c=E(b);P(a,15,c);break;case 17:c=new CC;B(b,c,JC);U(a,17,c);break;case 21:c=E(b);P(a,21,c);break;case 18:c=new DC;B(b,c,KC);U(a,18,c);break;case 19:c=F(b);P(a,19,c);break;case 20:c=new EC;B(b,c,LC);U(a,20,c);break;case 22:c=Mk(b);P(a,22,c);break;case 23:c=new GC;B(b,c,MC);U(a,23,c);break;case 24:c=Mk(b);P(a,24,c);break;default:A(b)}return a},IC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,
2,c);break;default:A(b)}return a},BC=[2],JC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,2,c[d]);break;default:A(b)}return a},KC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=E(b);P(a,3,c);break;case 4:c=E(b);P(a,4,c);break;default:A(b)}return a},LC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 2:var c=E(b);P(a,2,c);break;case 3:c=new FC;
B(b,c,OC);U(a,3,c);break;default:A(b)}return a},OC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 7:var c=Mk(b);P(a,7,c);break;case 8:c=Lk(b);P(a,8,c);break;case 9:c=Lk(b);P(a,9,c);break;case 10:c=Lk(b);P(a,10,c);break;case 11:c=Lk(b);P(a,11,c);break;case 12:c=Lk(b);P(a,12,c);break;case 13:c=Lk(b);P(a,13,c);break;case 14:c=Lk(b);P(a,14,c);break;case 15:c=Lk(b);P(a,15,c);break;case 16:c=Lk(b);P(a,16,c);break;case 17:c=Lk(b);P(a,17,c);break;case 18:c=Lk(b);P(a,18,c);break;case 19:c=Lk(b);P(a,19,c);
break;default:A(b)}return a},MC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new HC;B(b,c,PC);U(a,1,c);break;default:A(b)}return a},PC=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;default:A(b)}return a};zC.prototype.u=function(){return M(this,1)};zC.prototype.l=function(a){return P(this,1,a)};var QC=function(a,b){Nl(a,3,b)};zC.prototype.Qi=function(){return R(this,CC,17)};var SC=function(a){L(this,a,0,-1,RC,null)};w(SC,J);var RC=[4];SC.prototype.setRequestHeader=function(a){return U(this,1,a)};SC.prototype.X=function(){return R(this,Wl,3)};SC.prototype.J=function(a){U(this,3,a)};SC.prototype.aa=function(){this.J(void 0)};var TC=function(a,b){return Nl(a,4,b)};var UC=function(a){L(this,a,0,-1,null,null)};w(UC,J);UC.prototype.setRequestHeader=function(a){return U(this,1,a)};UC.prototype.X=function(){return R(this,Wl,3)};UC.prototype.J=function(a){U(this,3,a)};UC.prototype.aa=function(){this.J(void 0)};var VC=function(a){L(this,a,0,-1,null,null)};w(VC,J);var WC=function(a){L(this,a,0,-1,null,null)};w(WC,J);var XC=function(a){L(this,a,0,-1,null,null)};w(XC,J);var ZC=function(a){L(this,a,0,-1,YC,null)};w(ZC,J);var $C=function(a){L(this,a,0,-1,null,null)};w($C,J);var aD=function(a){L(this,a,0,-1,null,null)};w(aD,J);
var fD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.Il(c);break;case 2:c=F(b);a.oj(c);break;case 3:c=F(b);a.Jl(c);break;case 4:c=E(b);P(a,4,c);break;case 5:c=new WC;B(b,c,bD);U(a,5,c);break;case 6:c=new XC;B(b,c,cD);U(a,6,c);break;case 7:c=new ZC;B(b,c,dD);U(a,7,c);break;case 8:c=new aD;B(b,c,eD);U(a,8,c);break;default:A(b)}return a},bD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};
WC.prototype.Hc=function(){return Dl(this,1)};
var cD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;default:A(b)}return a},YC=[3],dD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=new QB;B(b,c,RB);U(a,2,c);break;case 3:c=new $C;B(b,c,gD);Ol(a,3,c,$C);break;default:A(b)}return a},gD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Ik(b.h);P(a,1,c);break;case 2:c=Ik(b.h);P(a,2,c);break;case 3:c=Ik(b.h);P(a,3,c);break;case 4:c=Ik(b.h);P(a,4,c);break;default:A(b)}return a},
eD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=Ik(b.h);P(a,2,c);break;default:A(b)}return a};k=VC.prototype;k.ta=function(){return M(this,1)};k.Il=function(a){return P(this,1,a)};k.Z=function(){return M(this,2)};k.oj=function(a){return P(this,2,a)};k.Ea=function(){return M(this,3)};k.Jl=function(a){return P(this,3,a)};k.ga=function(){return M(this,4)};var iD=function(a){L(this,a,0,-1,hD,null)};w(iD,J);var hD=[4];iD.prototype.setRequestHeader=function(a){return U(this,1,a)};iD.prototype.X=function(){return R(this,Wl,3)};iD.prototype.J=function(a){U(this,3,a)};iD.prototype.aa=function(){this.J(void 0)};var jD=function(a){L(this,a,0,-1,null,null)};w(jD,J);k=jD.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ta=function(){return M(this,2)};k.Z=function(){return M(this,3)};k.X=function(){return R(this,Wl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var kD=function(a){L(this,a,0,-1,null,null)};w(kD,J);var mD=function(a){L(this,a,0,-1,lD,null)};w(mD,J);var oD=function(a){L(this,a,0,-1,nD,null)};w(oD,J);var pD=function(a){L(this,a,0,-1,null,null)};w(pD,J);var rD=function(a){L(this,a,0,-1,qD,null)};w(rD,J);var sD=function(a){L(this,a,0,-1,null,null)};w(sD,J);var tD=function(a){L(this,a,0,-1,null,null)};w(tD,J);
var zD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);a.rj(c);break;case 2:c=E(b);P(a,2,c);break;case 3:c=F(b);a.tj(c);break;case 4:c=F(b);a.uj(c);break;case 5:c=F(b);a.sj(c);break;case 6:c=F(b);P(a,6,c);break;case 7:c=F(b);P(a,7,c);break;case 8:c=new mD;B(b,c,uD);U(a,8,c);break;case 9:c=new gC;B(b,c,hC);U(a,9,c);break;case 10:c=new pD;B(b,c,vD);U(a,10,c);break;case 11:c=Mk(b);P(a,11,c);break;case 13:c=new rD;B(b,c,wD);U(a,13,c);break;case 14:c=new sD;B(b,c,xD);U(a,14,c);break;case 15:c=
new tD;B(b,c,yD);U(a,15,c);break;default:A(b)}return a},lD=[1,2,3],uD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:for(var c=2==b.j?Nk(b,b.h.h):[b.h.h()],d=0;d<c.length;d++)Jl(a,1,c[d]);break;case 2:c=new oD;B(b,c,AD);Ol(a,2,c,oD);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);P(a,4,c);break;default:A(b)}return a},nD=[2],AD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=2==b.j?Nk(b,b.h.h):[b.h.h()];for(var d=0;d<c.length;d++)Jl(a,2,c[d]);break;default:A(b)}return a},
BD=function(a,b){P(a,1,b||[])},vD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);P(a,1,c);break;default:A(b)}return a};pD.prototype.Hc=function(){return Dl(this,1)};var qD=[1],wD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:for(var c=2==b.j?Ok(b):[E(b)],d=0;d<c.length;d++)Jl(a,1,c[d]);break;default:A(b)}return a},xD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);a.setPaused(c);break;default:A(b)}return a};sD.prototype.setPaused=function(a){return P(this,1,a)};
var yD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);a.setPaused(c);break;default:A(b)}return a};tD.prototype.setPaused=function(a){return P(this,1,a)};k=kD.prototype;k.my=function(){return M(this,1)};k.rj=function(a){return P(this,1,a)};k.ga=function(){return M(this,2)};k.ny=function(){return M(this,3)};k.tj=function(a){return P(this,3,a)};k.qj=function(){return M(this,4)};k.uj=function(a){return P(this,4,a)};k.ta=function(){return M(this,5)};k.sj=function(a){return P(this,5,a)};
k.Z=function(){return M(this,6)};k.Ea=function(){return M(this,7)};var DD=function(a){L(this,a,0,-1,CD,null)};w(DD,J);var CD=[4];DD.prototype.setRequestHeader=function(a){return U(this,1,a)};DD.prototype.X=function(){return R(this,Wl,3)};DD.prototype.J=function(a){U(this,3,a)};DD.prototype.aa=function(){this.J(void 0)};var ED=function(a,b){return Nl(a,4,b)};var FD=function(a){L(this,a,0,-1,null,null)};w(FD,J);FD.prototype.setRequestHeader=function(a){return U(this,1,a)};var GD=function(a,b){return P(a,2,b)},HD=function(a,b){return P(a,3,b)};FD.prototype.ta=function(){return M(this,4)};var ID=function(a,b){return P(a,4,b)};FD.prototype.X=function(){return R(this,Wl,5)};FD.prototype.J=function(a){U(this,5,a)};FD.prototype.aa=function(){this.J(void 0)};var JD=function(a){L(this,a,0,-1,null,null)};w(JD,J);var KD=function(a,b){return U(a,3,b)},LD=function(a,b){return U(a,4,b)};var ND=function(a){L(this,a,0,-1,MD,null)};w(ND,J);var MD=[2];ND.prototype.setRequestHeader=function(a){return U(this,1,a)};var OD=function(a,b){Nl(a,2,b)};ND.prototype.Jd=function(a){return Ol(this,2,a,JD)};ND.prototype.X=function(){return R(this,Wl,3)};ND.prototype.J=function(a){U(this,3,a)};ND.prototype.aa=function(){this.J(void 0)};var QD=function(a){L(this,a,"charp",-1,PD,null)};w(QD,J);var PD=[5];QD.messageId="charp";QD.prototype.getResponseHeader=function(){return R(this,iB,1)};QD.prototype.X=function(){return R(this,Wl,3)};QD.prototype.J=function(a){U(this,3,a)};QD.prototype.aa=function(){this.J(void 0)};var SD=function(a){L(this,a,"chparp",-1,RD,null)};w(SD,J);var RD=[5];SD.messageId="chparp";SD.prototype.getResponseHeader=function(){return R(this,iB,1)};SD.prototype.X=function(){return R(this,Wl,3)};SD.prototype.J=function(a){U(this,3,a)};SD.prototype.aa=function(){this.J(void 0)};var UD=function(a){L(this,a,"chpsrp",-1,TD,null)};w(UD,J);var TD=[2,4];UD.messageId="chpsrp";UD.prototype.getResponseHeader=function(){return R(this,iB,1)};UD.prototype.X=function(){return R(this,Wl,3)};UD.prototype.J=function(a){U(this,3,a)};UD.prototype.aa=function(){this.J(void 0)};var VD=function(a){L(this,a,"chqrp",-1,null,null)};w(VD,J);VD.messageId="chqrp";VD.prototype.getResponseHeader=function(){return R(this,iB,1)};VD.prototype.X=function(){return R(this,Wl,3)};VD.prototype.J=function(a){U(this,3,a)};VD.prototype.aa=function(){this.J(void 0)};var WD=function(a){L(this,a,"chrrp",-1,null,null)};w(WD,J);WD.messageId="chrrp";k=WD.prototype;k.getResponseHeader=function(){return R(this,iB,1)};k.ta=function(){return M(this,2)};k.X=function(){return R(this,Wl,5)};k.J=function(a){U(this,5,a)};k.aa=function(){this.J(void 0)};var XD=function(a){L(this,a,0,-1,null,null)};w(XD,J);var YD=function(a){L(this,a,0,-1,null,null)};w(YD,J);var $D=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 7:var c=F(b);P(a,7,c);break;case 1:c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=Lk(b);P(a,3,c);break;case 4:c=Lk(b);P(a,4,c);break;case 5:c=new YD;B(b,c,ZD);U(a,5,c);break;case 6:c=E(b);P(a,6,c);break;default:A(b)}return a},ZD=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;default:A(b)}return a};
XD.prototype.ta=function(){return M(this,7)};var bE=function(a){L(this,a,"chsearp",-1,aE,null)};w(bE,J);var aE=[4];bE.messageId="chsearp";bE.prototype.getResponseHeader=function(){return R(this,iB,1)};bE.prototype.X=function(){return R(this,Wl,3)};bE.prototype.J=function(a){U(this,3,a)};bE.prototype.aa=function(){this.J(void 0)};var cE=function(a){L(this,a,"chseqrp",-1,null,null)};w(cE,J);cE.messageId="chseqrp";cE.prototype.getResponseHeader=function(){return R(this,iB,1)};cE.prototype.X=function(){return R(this,Wl,3)};cE.prototype.J=function(a){U(this,3,a)};cE.prototype.aa=function(){this.J(void 0)};var eE=function(a){L(this,a,"chsoarp",-1,dE,null)};w(eE,J);var dE=[4];eE.messageId="chsoarp";eE.prototype.getResponseHeader=function(){return R(this,iB,1)};eE.prototype.X=function(){return R(this,Wl,3)};eE.prototype.J=function(a){U(this,3,a)};eE.prototype.aa=function(){this.J(void 0)};var gE=function(a){L(this,a,"chsosrp",-1,fE,null)};w(gE,J);var fE=[2];gE.messageId="chsosrp";gE.prototype.getResponseHeader=function(){return R(this,iB,1)};gE.prototype.X=function(){return R(this,Wl,3)};gE.prototype.J=function(a){U(this,3,a)};gE.prototype.aa=function(){this.J(void 0)};var iE=function(a){L(this,a,"chstarp",-1,hE,null)};w(iE,J);var hE=[4];iE.messageId="chstarp";iE.prototype.getResponseHeader=function(){return R(this,iB,1)};iE.prototype.X=function(){return R(this,Wl,3)};iE.prototype.J=function(a){U(this,3,a)};iE.prototype.aa=function(){this.J(void 0)};var kE=function(a){L(this,a,"chstsrp",-1,jE,null)};w(kE,J);var jE=[2];kE.messageId="chstsrp";kE.prototype.getResponseHeader=function(){return R(this,iB,1)};kE.prototype.X=function(){return R(this,Wl,3)};kE.prototype.J=function(a){U(this,3,a)};kE.prototype.aa=function(){this.J(void 0)};var lE=function(a){L(this,a,0,-1,null,null)};w(lE,J);var nE=function(a){L(this,a,"chbrp",-1,mE,null)};w(nE,J);var mE=[2];nE.messageId="chbrp";k=nE.prototype;k.getResponseHeader=function(){return R(this,iB,1)};k.Jd=function(a){return Ol(this,2,a,lE)};k.X=function(){return R(this,Wl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var pE=function(a){L(this,a,0,-1,oE,null)};w(pE,J);var oE=[4];pE.prototype.setRequestHeader=function(a){return U(this,1,a)};pE.prototype.X=function(){return R(this,Wl,3)};pE.prototype.J=function(a){U(this,3,a)};pE.prototype.aa=function(){this.J(void 0)};var rE=function(a){L(this,a,"chmrp",-1,qE,null)};w(rE,J);var qE=[4];rE.messageId="chmrp";rE.prototype.getResponseHeader=function(){return R(this,iB,1)};rE.prototype.X=function(){return R(this,Wl,3)};rE.prototype.J=function(a){U(this,3,a)};rE.prototype.aa=function(){this.J(void 0)};var tE=function(a){L(this,a,0,-1,sE,null)};w(tE,J);var sE=[4];tE.prototype.setRequestHeader=function(a){return U(this,1,a)};tE.prototype.X=function(){return R(this,Wl,3)};tE.prototype.J=function(a){U(this,3,a)};tE.prototype.aa=function(){this.J(void 0)};var vE=function(a){L(this,a,"chpmrp",-1,uE,null)};w(vE,J);var uE=[4];vE.messageId="chpmrp";vE.prototype.getResponseHeader=function(){return R(this,iB,1)};vE.prototype.X=function(){return R(this,Wl,3)};vE.prototype.J=function(a){U(this,3,a)};vE.prototype.aa=function(){this.J(void 0)};var wE=function(a){L(this,a,0,-1,null,null)};w(wE,J);k=wE.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ta=function(){return M(this,2)};k.Z=function(){return M(this,3)};k.X=function(){return R(this,Wl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var xE=function(a){L(this,a,"chpqrp",-1,null,null)};w(xE,J);xE.messageId="chpqrp";xE.prototype.getResponseHeader=function(){return R(this,iB,1)};xE.prototype.X=function(){return R(this,Wl,3)};xE.prototype.J=function(a){U(this,3,a)};xE.prototype.aa=function(){this.J(void 0)};var yE=function(a){L(this,a,0,-1,null,null)};w(yE,J);var zE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=F(b);a.u(c);break;default:A(b)}return a};yE.prototype.ta=function(){return M(this,1)};yE.prototype.l=function(a){return P(this,1,a)};yE.prototype.Z=function(){return M(this,2)};yE.prototype.u=function(a){return P(this,2,a)};var BE=function(a){L(this,a,0,-1,AE,null)};w(BE,J);var AE=[6,7];k=BE.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ta=function(){return M(this,2)};k.Z=function(){return M(this,3)};k.X=function(){return R(this,Wl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var CE=function(a,b){return Nl(a,7,b)};var DE=function(a){L(this,a,"chprrp",-1,null,null)};w(DE,J);DE.messageId="chprrp";DE.prototype.getResponseHeader=function(){return R(this,iB,1)};DE.prototype.X=function(){return R(this,Wl,2)};DE.prototype.J=function(a){U(this,2,a)};DE.prototype.aa=function(){this.J(void 0)};var EE=function(a){L(this,a,0,-1,null,null)};w(EE,J);var FE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};EE.prototype.ta=function(){return M(this,1)};var GE=function(a){L(this,a,0,-1,null,null)};w(GE,J);var HE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.Jp(c);break;case 2:c=F(b);a.Kp(c);break;case 3:c=F(b);a.Lp(c);break;default:A(b)}return a};k=GE.prototype;k.ta=function(){return M(this,1)};k.Jp=function(a){return P(this,1,a)};k.Z=function(){return M(this,2)};k.Kp=function(a){return P(this,2,a)};k.Ea=function(){return M(this,3)};k.Lp=function(a){return P(this,3,a)};var JE=function(a){L(this,a,0,-1,IE,null)};w(JE,J);var KE=function(a){L(this,a,0,-1,null,null)};w(KE,J);var IE=[1],ME=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new KE;B(b,c,LE);Ol(a,1,c,KE);break;default:A(b)}return a},LE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;default:A(b)}return a};var NE=function(a){L(this,a,0,-1,null,null)};w(NE,J);var OE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;default:A(b)}return a};var PE=function(a){L(this,a,0,-1,null,null)};w(PE,J);var QE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);P(a,1,c);break;case 2:c=Kk(b);P(a,2,c);break;default:A(b)}return a};var SE=function(a){L(this,a,0,-1,RE,null)};w(SE,J);var RE=[3],TE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;case 3:c=F(b);Jl(a,3,c);break;case 9:c=Lk(b);P(a,9,c);break;case 4:c=E(b);P(a,4,c);break;case 5:c=new JE;B(b,c,ME);U(a,5,c);break;case 7:c=new PE;B(b,c,QE);U(a,7,c);break;case 8:c=new NE;B(b,c,OE);U(a,8,c);break;case 6:c=Mk(b);P(a,6,c);break;default:A(b)}return a};SE.prototype.ta=function(){return M(this,1)};var VE=function(a){L(this,a,0,-1,UE,null)};w(VE,J);var UE=[4];VE.prototype.setRequestHeader=function(a){return U(this,1,a)};VE.prototype.X=function(){return R(this,Wl,3)};VE.prototype.J=function(a){U(this,3,a)};VE.prototype.aa=function(){this.J(void 0)};var XE=function(a){L(this,a,"chstmrp",-1,WE,null)};w(XE,J);var WE=[4];XE.messageId="chstmrp";XE.prototype.getResponseHeader=function(){return R(this,iB,1)};XE.prototype.X=function(){return R(this,Wl,3)};XE.prototype.J=function(a){U(this,3,a)};XE.prototype.aa=function(){this.J(void 0)};var YE=function(a){L(this,a,0,-1,null,null)};w(YE,J);var ZE=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=b;var d=c.h.h();c=c.h;if(0>d||c.g+d>c.j.length)c.m=!0,Mb("Invalid byte length!"),c=new Uint8Array(0);else{var e=c.j.subarray(c.g,c.g+d);c.g+=d;c=e}Gl(a,2,c,"");break;default:A(b)}return a};var aF=function(a){L(this,a,0,-1,$E,null)};w(aF,J);var $E=[3],bF=function(a){a=new Jk(a);for(var b=new aF;y(a)&&!x(a);)switch(a.g){case 1:var c=Kk(a);Gl(b,1,c,0);break;case 2:c=F(a);Q(b,2,c);break;case 3:c=new YE;B(a,c,ZE);Ol(b,3,c,YE);break;default:A(a)}return b};aF.prototype.getMessage=function(){return N(this,2,"")};var cF=function(a){L(this,a,0,-1,null,null)};w(cF,J);var dF=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=M(a,3);null!=c&&G(b,3,c);c=M(a,4);null!=c&&G(b,4,c)};cF.prototype.za=function(){return M(this,2)};var eF=function(a){L(this,a,0,-1,null,null)};w(eF,J);var fF=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c)};eF.prototype.wa=function(){return M(this,5)};var gF=function(a){L(this,a,0,-1,null,null)};w(gF,J);var hF=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=R(a,eF,3);null!=c&&I(b,3,c,fF);c=R(a,eF,4);null!=c&&I(b,4,c,fF);c=M(a,5);null!=c&&G(b,5,c);c=R(a,eF,6);null!=c&&I(b,6,c,fF)};var iF=function(a){L(this,a,0,-1,null,null)};w(iF,J);var jF=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&fl(b,5,c);c=M(a,6);null!=c&&fl(b,6,c);c=M(a,9);null!=c&&il(b,9,c);c=M(a,10);null!=c&&il(b,10,c)};var lF=function(a){L(this,a,0,-1,kF,null)};w(lF,J);var kF=[2,3],mF=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);0<c.length&&nl(b,2,c);c=M(a,3);0<c.length&&nl(b,3,c);c=R(a,eF,4);null!=c&&I(b,4,c,fF);c=R(a,eF,5);null!=c&&I(b,5,c,fF)};lF.prototype.vb=function(){return M(this,1)};var oF=function(a){L(this,a,0,-1,nF,null)};w(oF,J);var nF=[1],pF=function(a,b){var c=M(a,1);0<c.length&&ml(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c);c=M(a,6);null!=c&&b.g(6,c);c=M(a,7);null!=c&&b.g(7,c);c=M(a,8);null!=c&&b.g(8,c);c=M(a,14);null!=c&&b.g(14,c);c=M(a,9);null!=c&&b.g(9,c);c=M(a,10);null!=c&&fl(b,10,c);c=M(a,11);null!=c&&fl(b,11,c);c=M(a,12);null!=c&&fl(b,12,c);c=M(a,13);null!=c&&fl(b,13,c)};var rF=function(a){L(this,a,0,-1,qF,null)};w(rF,J);var qF=[2],sF=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);0<c.length&&ml(b,2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&fl(b,4,c);c=M(a,5);null!=c&&fl(b,5,c);c=M(a,6);null!=c&&fl(b,6,c);c=M(a,7);null!=c&&fl(b,7,c);c=M(a,8);null!=c&&fl(b,8,c);c=M(a,9);null!=c&&fl(b,9,c);c=M(a,10);null!=c&&fl(b,10,c);c=M(a,11);null!=c&&b.g(11,c)};var uF=function(a){L(this,a,0,-1,tF,null)};w(uF,J);var vF=function(a){L(this,a,0,-1,null,null)};w(vF,J);var tF=[1],xF=function(a,b){a=S(a,vF,1);0<a.length&&pl(b,1,a,wF)},wF=function(a,b){var c=M(a,1);null!=c&&fl(b,1,c);c=M(a,2);null!=c&&fl(b,2,c);c=M(a,3);null!=c&&G(b,3,c);c=M(a,4);null!=c&&G(b,4,c);c=M(a,5);null!=c&&fl(b,5,c);c=M(a,6);null!=c&&fl(b,6,c)};var yF=function(a){L(this,a,0,-1,null,null)};w(yF,J);var zF=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Lk(b);a.setSeconds(c);break;case 2:c=Kk(b);Gl(a,2,c,0);break;default:A(b)}return a},AF=function(a,b){var c=a.getSeconds();0!==c&&fl(b,1,c);c=N(a,2,0);0!==c&&b.g(2,c)};yF.prototype.getSeconds=function(){return N(this,1,0)};yF.prototype.setSeconds=function(a){return Gl(this,1,a,0)};var BF=function(a){var b=a.getSeconds();a=N(a,2,0);return new Date(1E3*b+a/1E6)};var CF=function(a){L(this,a,0,-1,null,null)};w(CF,J);var DF=function(a,b){var c=a.getSeconds();0!==c&&fl(b,1,c);c=N(a,2,0);0!==c&&b.g(2,c)};CF.prototype.getSeconds=function(){return N(this,1,0)};CF.prototype.setSeconds=function(a){return Gl(this,1,a,0)};var EF=function(a){L(this,a,0,-1,null,null)};w(EF,J);var FF=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c);c=M(a,6);null!=c&&b.g(6,c)};var GF=function(a){L(this,a,0,-1,null,null)};w(GF,J);var HF=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c);c=M(a,6);null!=c&&b.g(6,c);c=M(a,7);null!=c&&b.g(7,c)};var IF=function(a){L(this,a,0,-1,null,null)};w(IF,J);var JF=function(a,b){var c=R(a,CF,1);null!=c&&I(b,1,c,DF);c=R(a,CF,2);null!=c&&I(b,2,c,DF);c=M(a,3);null!=c&&il(b,3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c);c=M(a,6);null!=c&&il(b,6,c);c=M(a,7);null!=c&&il(b,7,c)};var LF=function(a){L(this,a,0,-1,KF,null)};w(LF,J);
var KF=[20],MF=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&il(b,2,c);c=M(a,3);null!=c&&il(b,3,c);c=M(a,4);null!=c&&il(b,4,c);c=M(a,5);null!=c&&il(b,5,c);c=M(a,6);null!=c&&il(b,6,c);c=R(a,CF,7);null!=c&&I(b,7,c,DF);c=R(a,CF,8);null!=c&&I(b,8,c,DF);c=M(a,9);null!=c&&fl(b,9,c);c=M(a,10);null!=c&&fl(b,10,c);c=M(a,25);null!=c&&jl(b,25,c);c=M(a,26);null!=c&&jl(b,26,c);c=M(a,11);null!=c&&jl(b,11,c);c=M(a,12);null!=c&&b.g(12,c);c=R(a,CF,13);null!=c&&I(b,13,c,DF);c=R(a,CF,14);null!=c&&I(b,
14,c,DF);c=M(a,15);null!=c&&il(b,15,c);c=R(a,EF,17);null!=c&&I(b,17,c,FF);c=R(a,IF,18);null!=c&&I(b,18,c,JF);c=R(a,GF,19);null!=c&&I(b,19,c,HF);c=El(a,20);if(0<c.length&&null!=c)for(var d=0;d<c.length;d++)il(b,20,c[d]);c=M(a,21);null!=c&&b.g(21,c);c=M(a,22);null!=c&&fl(b,22,c);c=M(a,23);null!=c&&b.g(23,c);c=M(a,24);null!=c&&b.g(24,c)};var NF=function(a){L(this,a,0,-1,null,null)};w(NF,J);var OF=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&b.g(3,c)};var PF=function(a){L(this,a,0,-1,null,null)};w(PF,J);var QF=function(a,b){var c=M(a,1);null!=c&&fl(b,1,c);c=M(a,2);null!=c&&fl(b,2,c);c=M(a,4);null!=c&&G(b,4,c);c=M(a,5);null!=c&&G(b,5,c);c=M(a,6);null!=c&&G(b,6,c);c=R(a,CF,7);null!=c&&I(b,7,c,DF)};PF.prototype.getState=function(){return M(this,6)};var RF=function(a){L(this,a,0,-1,null,null)};w(RF,J);var SF=function(a,b){var c=M(a,1);if(null!=c&&null!=c){c=Ak(c);$k(b,1,2);Rk(b.h,c.length);var d=b.h.end();b.l.push(d);b.l.push(c);b.j+=d.length+c.length}c=M(a,2);null!=c&&b.C(2,c)};RF.prototype.hd=function(){return M(this,1)};RF.prototype.Hb=function(){return M(this,2)};var TF=function(a){L(this,a,0,-1,null,null)};w(TF,J);var UF=function(a,b){a=M(a,1);null!=a&&b.g(1,a)};var WF=function(a){L(this,a,0,-1,null,VF)};w(WF,J);var VF=[[6]],XF=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&fl(b,3,c);c=R(a,TF,6);null!=c&&I(b,6,c,UF)};var ZF=function(a){L(this,a,0,-1,YF,null)};w(ZF,J);var YF=[1],$F=function(a,b){var c=S(a,WF,1);0<c.length&&pl(b,1,c,XF);c=R(a,RF,2);null!=c&&I(b,2,c,SF);c=R(a,RF,3);null!=c&&I(b,3,c,SF);c=M(a,4);null!=c&&G(b,4,c);c=R(a,PF,5);null!=c&&I(b,5,c,QF)};var aG=function(a){L(this,a,0,-1,null,null)};w(aG,J);var bG=function(a,b){var c=M(a,1);null!=c&&b.C(1,c);c=M(a,6);null!=c&&b.g(6,c);c=M(a,2);null!=c&&hl(b,2,c);a.g||(a.g={});c=3 in a.g?a.g[3]:(c=M(a,3))?a.g[3]=new vl(c):void 0;if(c&&0<wl(c).length){var d=Zk.prototype.C,e=Zk.prototype.g,f=wl(c);f.sort();for(var g=0;g<f.length;g++){var h=c.g[f[g]];b.m.push(al(b,3));d.call(b,1,h.key);e.call(b,2,h.value);bl(b,b.m.pop())}}c=M(a,4);null!=c&&b.g(4,c);c=R(a,CF,5);null!=c&&I(b,5,c,DF)};var eG=function(a){L(this,a,0,-1,cG,dG)};w(eG,J);var cG=[6],dG=[[1,2]],fG=function(a,b){var c=R(a,NF,1);null!=c&&I(b,1,c,OF);c=M(a,2);null!=c&&H(b,2,c);c=R(a,yF,3);null!=c&&I(b,3,c,AF);c=M(a,4);null!=c&&G(b,4,c);c=M(a,5);null!=c&&G(b,5,c);c=S(a,ZF,6);0<c.length&&pl(b,6,c,$F);c=R(a,aG,7);null!=c&&I(b,7,c,bG);c=R(a,LF,8);null!=c&&I(b,8,c,MF)};var hG=function(a){L(this,a,0,-1,gG,null)};w(hG,J);var jG=function(a){L(this,a,0,-1,iG,null)};w(jG,J);var lG=function(a){L(this,a,0,-1,kG,null)};w(lG,J);var mG=function(a){L(this,a,0,-1,null,null)};w(mG,J);var oG=function(a){L(this,a,0,-1,nG,null)};w(oG,J);var pG=function(a){L(this,a,0,-1,null,null)};w(pG,J);var rG=function(a){L(this,a,0,-1,qG,null)};w(rG,J);var sG=function(a){L(this,a,0,-1,null,null)};w(sG,J);var tG=function(a){L(this,a,0,-1,aaa,null)};w(tG,J);
var uG=function(a){L(this,a,0,-1,null,null)};w(uG,J);var vG=function(a){L(this,a,0,-1,baa,null)};w(vG,J);var wG=function(a){L(this,a,0,-1,caa,null)};w(wG,J);var xG=function(a){L(this,a,0,-1,null,null)};w(xG,J);var yG=function(a){L(this,a,0,-1,null,null)};w(yG,J);var zG=function(a){L(this,a,0,-1,daa,null)};w(zG,J);var AG=function(a){L(this,a,0,-1,eaa,null)};w(AG,J);var BG=function(a){L(this,a,0,-1,null,null)};w(BG,J);var CG=function(a){L(this,a,0,-1,faa,null)};w(CG,J);
var DG=function(a){L(this,a,0,-1,null,null)};w(DG,J);
var gG=[5,52,182],kaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,133);null!=c&&fl(b,133,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,105);null!=c&&G(b,105,c);c=M(a,107);null!=c&&fl(b,107,c);c=M(a,104);null!=c&&fl(b,104,c);c=M(a,4);null!=c&&H(b,4,c);c=M(a,43);null!=c&&H(b,43,c);c=S(a,jG,5);0<c.length&&ql(b,5,c,gaa);c=M(a,28);null!=c&&kl(b,28,c);c=M(a,29);null!=c&&b.g(29,c);c=M(a,30);null!=c&&b.g(30,c);c=M(a,112);null!=c&&H(b,112,c);c=M(a,106);null!=c&&b.g(106,c);c=M(a,100);
null!=c&&H(b,100,c);c=M(a,68);null!=c&&b.g(68,c);c=R(a,BG,69);null!=c&&I(b,69,c,haa);c=M(a,42);null!=c&&fl(b,42,c);c=S(a,CG,52);0<c.length&&pl(b,52,c,iaa);c=R(a,DG,135);null!=c&&I(b,135,c,jaa);c=M(a,170);null!=c&&G(b,170,c);c=S(a,eG,182);0<c.length&&pl(b,182,c,fG)},iG=[2,13,154,200],gaa=function(a,b){var c=M(a,1);null!=c&&b.g(6,c);c=M(a,113);null!=c&&b.g(118,c);c=M(a,118);null!=c&&b.g(123,c);c=M(a,162);null!=c&&G(b,167,c);c=M(a,174);null!=c&&G(b,179,c);c=R(a,rF,207);null!=c&&I(b,212,c,sF);c=R(a,rF,
208);null!=c&&I(b,213,c,sF);c=R(a,oF,221);null!=c&&I(b,226,c,pF);c=EG(a);0<c.length&&ql(b,7,c,laa);c=FG(a);0<c.length&&ql(b,18,c,maa);c=M(a,34);null!=c&&b.g(39,c);c=M(a,92);null!=c&&b.g(97,c);c=M(a,94);null!=c&&b.g(99,c);c=M(a,93);null!=c&&b.g(98,c);c=M(a,35);null!=c&&b.g(40,c);c=M(a,36);null!=c&&b.g(41,c);c=M(a,189);null!=c&&il(b,194,c);c=M(a,54);null!=c&&b.g(59,c);c=M(a,66);null!=c&&G(b,71,c);c=M(a,71);null!=c&&il(b,76,c);c=M(a,72);null!=c&&b.g(77,c);c=M(a,73);null!=c&&b.g(78,c);c=M(a,74);null!=
c&&kl(b,79,c);c=M(a,75);null!=c&&b.g(80,c);c=R(a,vG,129);null!=c&&I(b,134,c,naa);c=M(a,150);null!=c&&fl(b,155,c);c=M(a,151);null!=c&&fl(b,156,c);c=S(a,iF,154);0<c.length&&pl(b,159,c,jF);c=R(a,xG,183);null!=c&&I(b,188,c,oaa);c=S(a,yG,200);0<c.length&&pl(b,205,c,paa);c=R(a,lF,222);null!=c&&I(b,227,c,mF);c=R(a,zG,231);null!=c&&I(b,236,c,qaa);c=R(a,uF,232);null!=c&&I(b,237,c,xF)},kG=[169,178,153,214,53,136,54,174,176,157,208,158,190,135,141,142,150,226],laa=function(a,b){var c=M(a,1);null!=c&&G(b,8,c);
c=M(a,169);0<c.length&&ol(b,176,c);c=M(a,2);null!=c&&b.g(9,c);c=M(a,3);null!=c&&b.g(10,c);c=M(a,4);null!=c&&b.g(11,c);c=M(a,5);null!=c&&b.g(12,c);c=M(a,6);null!=c&&b.g(13,c);c=M(a,178);0<c.length&&rl(b,185,c);c=M(a,7);null!=c&&fl(b,14,c);c=M(a,8);null!=c&&b.g(15,c);c=M(a,9);null!=c&&fl(b,16,c);c=M(a,10);null!=c&&b.g(17,c);c=M(a,24);null!=c&&G(b,31,c);c=M(a,184);null!=c&&G(b,191,c);c=M(a,185);null!=c&&b.g(192,c);c=M(a,25);null!=c&&hl(b,32,c);c=M(a,117);null!=c&&il(b,124,c);c=M(a,26);null!=c&&b.g(33,
c);c=R(a,eF,140);null!=c&&I(b,147,c,fF);c=M(a,188);null!=c&&il(b,195,c);c=R(a,eF,189);null!=c&&I(b,196,c,fF);c=M(a,27);null!=c&&b.g(34,c);c=M(a,151);null!=c&&b.g(158,c);c=M(a,28);null!=c&&b.g(35,c);c=M(a,29);null!=c&&b.g(36,c);c=M(a,30);null!=c&&b.g(37,c);c=M(a,197);null!=c&&b.g(204,c);c=M(a,31);null!=c&&b.g(38,c);c=M(a,50);null!=c&&il(b,57,c);c=M(a,87);null!=c&&il(b,94,c);c=M(a,51);null!=c&&il(b,58,c);c=M(a,88);null!=c&&il(b,95,c);c=M(a,37);null!=c&&b.g(44,c);c=M(a,38);null!=c&&b.g(45,c);c=M(a,39);
null!=c&&b.g(46,c);c=M(a,40);null!=c&&b.g(47,c);c=M(a,41);null!=c&&b.g(48,c);c=M(a,42);null!=c&&b.g(49,c);c=M(a,43);null!=c&&b.g(50,c);c=M(a,124);null!=c&&b.g(131,c);c=M(a,125);null!=c&&b.g(132,c);c=M(a,96);null!=c&&b.g(103,c);c=M(a,80);null!=c&&b.g(87,c);c=M(a,44);null!=c&&H(b,51,c);c=M(a,94);null!=c&&H(b,101,c);c=M(a,143);null!=c&&H(b,150,c);c=M(a,46);null!=c&&b.g(53,c);c=M(a,47);null!=c&&b.g(54,c);c=M(a,48);null!=c&&b.g(55,c);c=M(a,49);null!=c&&b.g(56,c);c=M(a,63);null!=c&&il(b,70,c);c=M(a,129);
null!=c&&il(b,136,c);c=M(a,133);null!=c&&il(b,140,c);c=M(a,153);0<c.length&&rl(b,160,c);c=M(a,154);null!=c&&b.g(161,c);c=M(a,155);null!=c&&fl(b,162,c);c=M(a,213);null!=c&&b.g(220,c);c=El(a,214);0<c.length&&sl(b,221,c);c=GG(a);0<c.length&&ml(b,60,c);c=HG(a);0<c.length&&pl(b,143,c,raa);c=S(a,oG,54);0<c.length&&ql(b,61,c,saa);c=M(a,174);0<c.length&&ol(b,181,c);c=S(a,wG,176);0<c.length&&pl(b,183,c,IG);c=M(a,57);null!=c&&b.g(64,c);c=M(a,58);null!=c&&b.g(65,c);c=M(a,144);null!=c&&b.g(151,c);c=M(a,145);
null!=c&&b.g(152,c);c=M(a,114);null!=c&&b.g(121,c);c=M(a,115);null!=c&&b.g(122,c);c=M(a,159);null!=c&&b.g(166,c);c=M(a,113);null!=c&&b.g(120,c);c=M(a,139);null!=c&&b.g(146,c);c=M(a,78);null!=c&&b.g(85,c);c=M(a,79);null!=c&&b.g(86,c);c=M(a,59);null!=c&&kl(b,66,c);c=M(a,173);null!=c&&G(b,180,c);c=M(a,60);null!=c&&kl(b,67,c);c=M(a,65);null!=c&&b.g(72,c);c=M(a,95);null!=c&&b.g(102,c);c=M(a,194);null!=c&&b.g(201,c);c=R(a,pG,196);null!=c&&I(b,203,c,taa);c=M(a,68);null!=c&&il(b,75,c);c=M(a,103);null!=c&&
il(b,110,c);c=M(a,207);null!=c&&il(b,214,c);c=M(a,106);null!=c&&il(b,113,c);c=M(a,107);null!=c&&il(b,114,c);c=M(a,104);null!=c&&il(b,111,c);c=M(a,156);null!=c&&il(b,163,c);c=El(a,157);0<c.length&&sl(b,164,c);c=El(a,208);0<c.length&&sl(b,215,c);c=M(a,158);0<c.length&&rl(b,165,c);c=El(a,190);0<c.length&&sl(b,197,c);c=M(a,74);null!=c&&b.g(81,c);c=M(a,165);null!=c&&fl(b,172,c);c=M(a,170);null!=c&&jl(b,177,c);c=M(a,171);null!=c&&fl(b,178,c);c=M(a,166);null!=c&&fl(b,173,c);c=M(a,167);null!=c&&fl(b,174,
c);c=M(a,168);null!=c&&fl(b,175,c);c=M(a,75);null!=c&&b.g(82,c);c=M(a,76);null!=c&&b.g(83,c);c=M(a,77);null!=c&&b.g(84,c);c=M(a,81);null!=c&&b.g(88,c);c=M(a,82);null!=c&&b.g(89,c);c=M(a,83);null!=c&&b.g(90,c);c=M(a,84);null!=c&&b.g(91,c);c=M(a,85);null!=c&&b.g(92,c);c=M(a,86);null!=c&&b.g(93,c);c=M(a,134);null!=c&&b.g(141,c);c=M(a,89);null!=c&&b.g(96,c);c=M(a,112);null!=c&&b.g(119,c);c=M(a,118);null!=c&&b.g(125,c);c=M(a,119);null!=c&&b.g(126,c);c=R(a,eF,132);null!=c&&I(b,139,c,fF);c=R(a,eF,120);null!=
c&&I(b,127,c,fF);c=R(a,eF,121);null!=c&&I(b,128,c,fF);c=R(a,eF,146);null!=c&&I(b,153,c,fF);c=R(a,eF,122);null!=c&&I(b,129,c,fF);c=R(a,eF,123);null!=c&&I(b,130,c,fF);c=R(a,eF,147);null!=c&&I(b,154,c,fF);c=M(a,138);null!=c&&b.g(145,c);c=R(a,eF,137);null!=c&&I(b,144,c,fF);c=M(a,108);null!=c&&b.g(115,c);c=M(a,109);null!=c&&b.g(116,c);c=M(a,110);null!=c&&b.g(117,c);c=M(a,130);null!=c&&fl(b,137,c);c=M(a,131);null!=c&&fl(b,138,c);c=M(a,182);null!=c&&b.g(189,c);c=M(a,183);null!=c&&b.g(190,c);c=M(a,191);null!=
c&&b.g(198,c);c=M(a,192);null!=c&&b.g(199,c);c=M(a,193);null!=c&&b.g(200,c);c=M(a,135);0<c.length&&ll(b,142,c);c=M(a,141);0<c.length&&ll(b,148,c);c=M(a,142);0<c.length&&ll(b,149,c);c=M(a,150);0<c.length&&ll(b,157,c);c=R(a,gF,180);null!=c&&I(b,187,c,hF);c=R(a,eF,195);null!=c&&I(b,202,c,fF);c=M(a,221);null!=c&&b.g(228,c);c=M(a,222);null!=c&&fl(b,229,c);c=M(a,223);null!=c&&fl(b,230,c);c=M(a,224);null!=c&&fl(b,231,c);c=M(a,225);null!=c&&fl(b,232,c);c=S(a,rG,226);0<c.length&&pl(b,233,c,uaa);c=M(a,227);
null!=c&&b.g(234,c);c=R(a,lF,228);null!=c&&I(b,235,c,mF)},raa=function(a,b){var c=M(a,1);null!=c&&fl(b,1,c);c=M(a,2);null!=c&&fl(b,2,c);c=M(a,3);null!=c&&hl(b,3,c)},nG=[2],saa=function(a,b){var c=M(a,1);null!=c&&H(b,62,c);c=M(a,2);0<c.length&&ml(b,63,c)},taa=function(a,b){a=M(a,1);null!=a&&b.g(1,a)},qG=[2],uaa=function(a,b){var c=M(a,1);null!=c&&fl(b,1,c);c=S(a,sG,2);0<c.length&&pl(b,2,c,vaa)},vaa=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c)},JG=function(a){return M(a,1)};
lG.prototype.u=function(a){return P(this,178,a||[])};var KG=function(a){return M(a,24)},LG=function(a,b){P(a,184,b)},MG=function(a){return M(a,25)};lG.prototype.F=function(a){return U(this,140,a)};var GG=function(a){return M(a,53)},HG=function(a){return S(a,mG,136)};lG.prototype.l=function(a){return Nl(this,136,a)};var waa=function(a,b){P(a,173,b)};k=lG.prototype;k.ei=function(a){return P(this,68,a)};k.Hj=function(a){return P(this,103,a)};k.Hz=function(a){return P(this,207,a)};
k.Ej=function(a){return P(this,106,a)};k.zj=function(a){return P(this,107,a)};k.Fj=function(a){return P(this,104,a)};k.Gj=function(a){return P(this,156,a)};k.Tz=function(a){return P(this,157,a||[])};k.Iz=function(a){return P(this,208,a||[])};k.Lz=function(a){return P(this,158,a||[])};k.Oz=function(a){return U(this,132,a)};k.Kz=function(a){return U(this,121,a)};k.Sz=function(a){return U(this,146,a)};k.Jz=function(a){return U(this,122,a)};k.Pz=function(a){return U(this,147,a)};
k.Mz=function(a){return U(this,137,a)};
var aaa=[168,175],maa=function(a,b){var c=M(a,1);null!=c&&b.g(19,c);c=M(a,2);null!=c&&b.g(20,c);c=M(a,3);null!=c&&b.g(21,c);c=M(a,168);0<c.length&&rl(b,186,c);c=M(a,4);null!=c&&fl(b,22,c);c=M(a,5);null!=c&&b.g(23,c);c=M(a,90);null!=c&&b.g(108,c);c=M(a,91);null!=c&&b.g(109,c);c=M(a,6);null!=c&&fl(b,24,c);c=M(a,7);null!=c&&b.g(25,c);c=M(a,150);null!=c&&b.g(168,c);c=M(a,151);null!=c&&b.g(169,c);c=M(a,188);null!=c&&fl(b,206,c);c=M(a,189);null!=c&&fl(b,207,c);c=M(a,192);null!=c&&fl(b,210,c);c=M(a,193);
null!=c&&fl(b,211,c);c=M(a,190);null!=c&&il(b,208,c);c=M(a,191);null!=c&&il(b,209,c);c=M(a,153);null!=c&&b.g(171,c);c=R(a,cF,8,1);null!=c&&I(b,26,c,dF);c=R(a,cF,9,1);null!=c&&I(b,27,c,dF);c=M(a,55);null!=c&&b.g(73,c);c=R(a,uG,56);null!=c&&I(b,74,c,NG);c=S(a,wG,175);0<c.length&&pl(b,193,c,IG)},NG=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c)},OG=function(a,b){P(a,1,b)},PG=function(a,b){P(a,2,b)};
tG.prototype.l=function(a){return P(this,168,a||[])};
var baa=[3],naa=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);0<c.length&&ll(b,3,c)},caa=[1],IG=function(a,b){var c=M(a,1);0<c.length&&ol(b,1,c);c=M(a,2);null!=c&&H(b,2,c)},oaa=function(a,b){var c=M(a,1);null!=c&&kl(b,1,c);c=M(a,2);null!=c&&G(b,2,c)},paa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c)},daa=[1,2],qaa=function(a,b){var c=S(a,AG,1);0<c.length&&pl(b,1,c,xaa);c=M(a,2);0<c.length&&nl(b,2,c)},eaa=[2],xaa=
function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);0<c.length&&nl(b,2,c)},EG=function(a){return S(a,lG,2)},QG=function(a,b){Nl(a,2,b)},FG=function(a){return S(a,tG,13)},haa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&fl(b,2,c)},faa=[3,4],iaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);0<c.length&&ml(b,3,c);c=M(a,4);0<c.length&&ml(b,4,c)},jaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&G(b,2,c)};var RG=function(a){L(this,a,0,-1,null,null)};w(RG,J);var yaa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&fl(b,2,c)};var SG=function(a){L(this,a,0,-1,null,zaa)};w(SG,J);var TG=function(a){L(this,a,0,-1,null,null)};w(TG,J);var UG=function(a){L(this,a,0,-1,null,null)};w(UG,J);var zaa=[[1,2]],Caa=function(a,b){var c=R(a,TG,1);null!=c&&I(b,1,c,Aaa);c=R(a,UG,2);null!=c&&I(b,2,c,Baa)},Aaa=function(a,b){a=M(a,1);null!=a&&G(b,1,a)},Baa=function(a,b){a=M(a,1);null!=a&&G(b,1,a)};var VG=function(a){L(this,a,0,-1,null,null)};w(VG,J);var WG=function(a){L(this,a,0,-1,null,null)};w(WG,J);var Daa=function(a,b){var c=R(a,WG,1);null!=c&&I(b,1,c,XG);c=R(a,WG,2);null!=c&&I(b,2,c,XG);c=M(a,3);null!=c&&G(b,3,c);c=R(a,SG,4);null!=c&&I(b,4,c,Caa);c=M(a,5);null!=c&&kl(b,5,c)},XG=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&H(b,3,c)};var YG=function(a){L(this,a,0,-1,null,null)};w(YG,J);var Eaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&kl(b,3,c);c=M(a,4);null!=c&&H(b,4,c);c=M(a,5);null!=c&&H(b,5,c);c=M(a,6);null!=c&&H(b,6,c);c=M(a,7);null!=c&&G(b,7,c)};YG.prototype.ta=function(){return M(this,6)};var ZG=function(a){L(this,a,0,-1,null,null)};w(ZG,J);var Faa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&H(b,3,c);c=M(a,4);null!=c&&H(b,4,c);c=M(a,5);null!=c&&H(b,5,c)};var $G=function(a){L(this,a,0,-1,null,null)};w($G,J);
var Gaa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=R(a,YG,2);null!=c&&I(b,2,c,Eaa);c=R(a,VG,6);null!=c&&I(b,6,c,Daa);c=M(a,3);null!=c&&H(b,3,c);c=M(a,11);null!=c&&H(b,11,c);c=M(a,4);null!=c&&H(b,4,c);c=M(a,5);null!=c&&b.g(5,c);c=M(a,7);null!=c&&fl(b,7,c);c=M(a,8);null!=c&&H(b,8,c);c=R(a,RG,12);null!=c&&I(b,12,c,yaa);c=M(a,9);null!=c&&G(b,9,c);c=M(a,10);null!=c&&G(b,10,c);c=M(a,13);null!=c&&kl(b,13,c);c=R(a,ZG,14);null!=c&&I(b,14,c,Faa);c=M(a,15);null!=c&&kl(b,15,c)};var aH=function(a){L(this,a,0,-1,Haa,null)};w(aH,J);var bH=function(a){L(this,a,0,-1,null,null)};w(bH,J);var cH=function(a){L(this,a,0,-1,null,null)};w(cH,J);
var Haa=[5,8,9],Kaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=S(a,bH,5);0<c.length&&ql(b,5,c,Iaa);c=S(a,cH,8);0<c.length&&pl(b,8,c,Jaa);c=M(a,9);0<c.length&&nl(b,9,c);c=M(a,10);null!=c&&H(b,10,c)},Iaa=function(a,b){var c=M(a,1);null!=c&&H(b,6,c);c=M(a,2);null!=c&&H(b,7,c)},Jaa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&H(b,2,c)};var dH=function(a){L(this,a,0,-1,Laa,null)};w(dH,J);var eH=function(a){L(this,a,0,-1,Maa,null)};w(eH,J);var fH=function(a){L(this,a,0,-1,null,null)};w(fH,J);
var Laa=[1],Oaa=function(a,b){var c=S(a,eH,1);0<c.length&&ql(b,1,c,Naa);c=M(a,15);null!=c&&G(b,15,c);c=M(a,16);null!=c&&b.g(16,c);c=M(a,17);null!=c&&b.g(17,c);c=R(a,uG,18);null!=c&&I(b,18,c,NG)},Maa=[8,9,10,11,12,13],Naa=function(a,b){var c=M(a,1);null!=c&&H(b,2,c);c=M(a,2);null!=c&&H(b,3,c);c=M(a,3);null!=c&&H(b,4,c);c=M(a,4);null!=c&&H(b,5,c);c=M(a,5);null!=c&&H(b,6,c);c=M(a,6);null!=c&&G(b,7,c);c=M(a,7);null!=c&&G(b,8,c);c=S(a,fH,8);0<c.length&&pl(b,9,c,gH);c=S(a,fH,9);0<c.length&&pl(b,10,c,gH);
c=S(a,fH,10);0<c.length&&pl(b,11,c,gH);c=S(a,fH,11);0<c.length&&pl(b,12,c,gH);c=S(a,fH,12);0<c.length&&pl(b,13,c,gH);c=S(a,fH,13);0<c.length&&pl(b,14,c,gH)},gH=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c)};var hH=function(a){L(this,a,0,-1,null,null)};w(hH,J);var iH=function(a){L(this,a,0,-1,null,null)};w(iH,J);
var Qaa=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&H(b,3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c);c=R(a,iH,6);null!=c&&I(b,6,c,Paa);c=M(a,7);null!=c&&H(b,7,c)},Paa=function(a,b){var c=M(a,1);null!=c&&kl(b,1,c);c=M(a,51);null!=c&&kl(b,51,c);c=M(a,4);null!=c&&kl(b,4,c);c=M(a,61);null!=c&&G(b,61,c);c=M(a,7);null!=c&&kl(b,7,c);c=M(a,109);null!=c&&kl(b,109,c);c=M(a,14);null!=c&&kl(b,14,c);c=M(a,15);null!=c&&b.g(15,c);c=M(a,16);null!=c&&b.g(16,
c);c=M(a,31);null!=c&&b.g(31,c);c=M(a,33);null!=c&&kl(b,33,c);c=M(a,35);null!=c&&kl(b,35,c);c=M(a,36);null!=c&&kl(b,36,c);c=M(a,37);null!=c&&kl(b,37,c);c=M(a,38);null!=c&&kl(b,38,c);c=M(a,43);null!=c&&kl(b,43,c);c=M(a,44);null!=c&&kl(b,44,c);c=M(a,45);null!=c&&kl(b,45,c);c=M(a,46);null!=c&&kl(b,46,c);c=M(a,47);null!=c&&kl(b,47,c);c=M(a,48);null!=c&&kl(b,48,c);c=M(a,49);null!=c&&kl(b,49,c);c=M(a,50);null!=c&&kl(b,50,c);c=M(a,88);null!=c&&kl(b,88,c);c=M(a,56);null!=c&&kl(b,56,c);c=M(a,57);null!=c&&
b.g(57,c);c=M(a,58);null!=c&&kl(b,58,c);c=M(a,59);null!=c&&kl(b,59,c);c=M(a,60);null!=c&&kl(b,60,c);c=M(a,62);null!=c&&H(b,62,c);c=M(a,63);null!=c&&kl(b,63,c);c=M(a,64);null!=c&&b.g(64,c);c=M(a,66);null!=c&&kl(b,66,c);c=M(a,67);null!=c&&kl(b,67,c);c=M(a,68);null!=c&&kl(b,68,c);c=M(a,104);null!=c&&b.g(104,c);c=M(a,70);null!=c&&b.g(70,c);c=M(a,110);null!=c&&kl(b,110,c);c=M(a,71);null!=c&&kl(b,71,c);c=M(a,72);null!=c&&kl(b,72,c);c=M(a,74);null!=c&&kl(b,74,c);c=M(a,75);null!=c&&il(b,75,c);c=M(a,76);null!=
c&&kl(b,76,c);c=M(a,77);null!=c&&b.g(77,c);c=M(a,78);null!=c&&kl(b,78,c);c=M(a,79);null!=c&&kl(b,79,c);c=M(a,80);null!=c&&kl(b,80,c);c=M(a,81);null!=c&&kl(b,81,c);c=M(a,82);null!=c&&kl(b,82,c);c=M(a,84);null!=c&&kl(b,84,c);c=M(a,85);null!=c&&kl(b,85,c);c=M(a,86);null!=c&&kl(b,86,c);c=M(a,87);null!=c&&kl(b,87,c);c=M(a,99);null!=c&&kl(b,99,c);c=M(a,89);null!=c&&kl(b,89,c);c=M(a,112);null!=c&&b.g(112,c);c=M(a,90);null!=c&&b.g(90,c);c=M(a,97);null!=c&&b.g(97,c);c=M(a,91);null!=c&&kl(b,91,c);c=M(a,92);
null!=c&&kl(b,92,c);c=M(a,93);null!=c&&kl(b,93,c);c=M(a,101);null!=c&&H(b,101,c)};iH.prototype.Fk=function(){return O(this,7,!1)};iH.prototype.Mk=function(){return O(this,46,!1)};iH.prototype.tg=function(){return O(this,66,!1)};var jH=function(a){L(this,a,0,-1,null,null)};w(jH,J);var Raa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=M(a,3);null!=c&&H(b,3,c);c=M(a,4);null!=c&&H(b,4,c);c=M(a,5);null!=c&&fl(b,5,c);c=M(a,6);null!=c&&fl(b,6,c)},Saa=function(a,b){return P(a,1,b)},Taa=function(a,b){return P(a,3,b)},Uaa=function(a,b){return P(a,4,b)},Vaa=function(a,b){return P(a,5,b)};var kH=function(a){L(this,a,0,-1,null,null)};w(kH,J);var Waa=function(a,b){var c=M(a,1);null!=c&&b.g(1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&fl(b,3,c);c=M(a,4);null!=c&&fl(b,4,c)};var lH=function(a){L(this,a,0,-1,null,null)};w(lH,J);var Xaa=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,6);null!=c&&b.g(6,c);c=M(a,7);null!=c&&b.g(7,c);c=M(a,8);null!=c&&b.g(8,c);c=M(a,9);null!=c&&H(b,9,c);c=M(a,5);null!=c&&G(b,5,c)};lH.prototype.getName=function(){return M(this,2)};lH.prototype.getDeviceId=function(){return M(this,6)};var mH=function(a){L(this,a,0,-1,Yaa,null)};w(mH,J);var nH=function(a){L(this,a,0,-1,null,null)};w(nH,J);var oH=function(a){L(this,a,0,-1,Zaa,null)};w(oH,J);var pH=function(a){L(this,a,0,-1,null,null)};w(pH,J);
var Yaa=[24],bba=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,25);null!=c&&H(b,25,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&H(b,5,c);c=M(a,6);null!=c&&b.g(6,c);c=M(a,7);null!=c&&b.g(7,c);c=M(a,8);null!=c&&H(b,8,c);c=M(a,9);null!=c&&b.g(9,c);c=M(a,10);null!=c&&b.g(10,c);c=M(a,11);null!=c&&H(b,11,c);c=M(a,12);null!=c&&H(b,12,c);c=M(a,13);null!=c&&H(b,13,c);c=M(a,14);null!=c&&H(b,14,c);c=M(a,15);null!=c&&H(b,15,c);c=M(a,16);null!=c&&H(b,
16,c);c=M(a,17);null!=c&&b.g(17,c);c=M(a,18);null!=c&&b.g(18,c);c=M(a,19);null!=c&&H(b,19,c);c=M(a,26);null!=c&&H(b,26,c);c=M(a,20);null!=c&&H(b,20,c);c=R(a,nH,21);null!=c&&I(b,21,c,$aa);c=M(a,22);null!=c&&H(b,22,c);c=R(a,oH,23);null!=c&&I(b,23,c,aba);c=S(a,lH,24);0<c.length&&pl(b,24,c,Xaa)},$aa=function(a,b){var c=M(a,1);null!=c&&kl(b,1,c);c=M(a,2);null!=c&&b.g(2,c);c=M(a,3);null!=c&&b.g(3,c);c=M(a,4);null!=c&&b.g(4,c);c=M(a,5);null!=c&&b.g(5,c)},Zaa=[3],aba=function(a,b){var c=M(a,1);null!=c&&b.g(1,
c);c=M(a,2);null!=c&&b.g(2,c);c=S(a,pH,3);0<c.length&&pl(b,3,c,cba)},cba=function(a,b){var c=M(a,1);null!=c&&G(b,1,c);c=M(a,2);null!=c&&G(b,2,c);c=M(a,4);null!=c&&G(b,4,c);c=M(a,3);null!=c&&G(b,3,c)};var qH=function(a){L(this,a,0,-1,dba,null)};w(qH,J);
var dba=[11],eba=function(a,b){var c=M(a,1);null!=c&&H(b,1,c);c=M(a,2);null!=c&&H(b,2,c);c=M(a,14);null!=c&&H(b,14,c);c=M(a,21);null!=c&&H(b,21,c);c=M(a,24);null!=c&&H(b,24,c);c=M(a,3);null!=c&&H(b,3,c);c=R(a,hG,4);null!=c&&I(b,4,c,kaa);c=R(a,aH,5);null!=c&&I(b,5,c,Kaa);c=R(a,dH,6);null!=c&&I(b,6,c,Oaa);c=R(a,hH,7);null!=c&&I(b,7,c,Qaa);c=R(a,mH,8);null!=c&&I(b,8,c,bba);c=R(a,$G,10);null!=c&&I(b,10,c,Gaa);c=R(a,kH,17);null!=c&&I(b,17,c,Waa);c=R(a,jH,15);null!=c&&I(b,15,c,Raa);c=M(a,11);0<c.length&&
ol(b,11,c);c=M(a,12);null!=c&&kl(b,12,c);c=M(a,9);null!=c&&G(b,9,c);c=M(a,13);null!=c&&H(b,13,c);c=M(a,16);null!=c&&H(b,16,c);c=M(a,18);null!=c&&kl(b,18,c);c=M(a,19);null!=c&&fl(b,19,c);c=M(a,20);null!=c&&fl(b,20,c);c=M(a,22);null!=c&&H(b,22,c);c=M(a,23);null!=c&&H(b,23,c)};qH.prototype.ta=function(){return M(this,2)};qH.prototype.tb=function(){return M(this,21)};qH.prototype.Z=function(){return M(this,3)};var fba=function(a){var b=new qH;return U(b,15,a)};
qH.prototype.Gb=function(){return M(this,22)};qH.prototype.Ia=function(){return M(this,23)};var rH=function(a){L(this,a,0,-1,null,null)};w(rH,J);k=rH.prototype;k.ly=function(){var a=new Zk;var b=R(this,eB,1);null!=b&&I(a,1,b,fB);b=M(this,2);null!=b&&H(a,2,b);b=R(this,qH,3);null!=b&&I(a,3,b,eba);b=this.X();null!=b&&I(a,4,b,bm);return cl(a)};k.setRequestHeader=function(a){return U(this,1,a)};k.X=function(){return R(this,Wl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var sH=function(a){L(this,a,"chselrp",-1,null,null)};w(sH,J);var gba=function(a){a=new Jk(a);for(var b=new sH;y(a)&&!x(a);)switch(a.g){case 1:var c=new iB;B(a,c,jB);U(b,1,c);break;case 2:c=new Wl;B(a,c,$l);b.J(c);break;default:A(a)}return b};sH.messageId="chselrp";sH.prototype.getResponseHeader=function(){return R(this,iB,1)};sH.prototype.X=function(){return R(this,Wl,2)};sH.prototype.J=function(a){U(this,2,a)};sH.prototype.aa=function(){this.J(void 0)};var tH=function(a){L(this,a,0,-1,hba,null)};w(tH,J);var hba=[4];tH.prototype.setRequestHeader=function(a){return U(this,1,a)};tH.prototype.X=function(){return R(this,Wl,3)};tH.prototype.J=function(a){U(this,3,a)};tH.prototype.aa=function(){this.J(void 0)};var uH=function(a,b){return Nl(a,4,b)};var vH=function(a){L(this,a,"chsemrp",-1,iba,null)};w(vH,J);var iba=[4];vH.messageId="chsemrp";vH.prototype.getResponseHeader=function(){return R(this,iB,1)};vH.prototype.X=function(){return R(this,Wl,3)};vH.prototype.J=function(a){U(this,3,a)};vH.prototype.aa=function(){this.J(void 0)};var wH=function(a){L(this,a,0,-1,jba,null)};w(wH,J);var jba=[4];wH.prototype.setRequestHeader=function(a){return U(this,1,a)};wH.prototype.X=function(){return R(this,Wl,3)};wH.prototype.J=function(a){U(this,3,a)};wH.prototype.aa=function(){this.J(void 0)};var xH=function(a){L(this,a,"chsomrp",-1,kba,null)};w(xH,J);var kba=[4];xH.messageId="chsomrp";xH.prototype.getResponseHeader=function(){return R(this,iB,1)};xH.prototype.X=function(){return R(this,Wl,3)};xH.prototype.J=function(a){U(this,3,a)};xH.prototype.aa=function(){this.J(void 0)};var yH=function(a){L(this,a,0,-1,null,null)};w(yH,J);yH.prototype.setRequestHeader=function(a){return U(this,1,a)};yH.prototype.ta=function(){return M(this,2)};yH.prototype.Z=function(){return M(this,3)};yH.prototype.Ea=function(){return M(this,4)};var zH=function(a){L(this,a,"chsoqrp",-1,null,null)};w(zH,J);zH.messageId="chsoqrp";zH.prototype.getResponseHeader=function(){return R(this,iB,1)};var AH=function(a){L(this,a,0,-1,null,null)};w(AH,J);AH.prototype.setRequestHeader=function(a){return U(this,1,a)};AH.prototype.ta=function(){return M(this,5)};var BH=function(a){L(this,a,"chstqrp",-1,null,null)};w(BH,J);BH.messageId="chstqrp";BH.prototype.getResponseHeader=function(){return R(this,iB,1)};BH.prototype.za=function(){return R(this,kD,2)};var CH=function(a){L(this,a,0,-1,lba,null)};w(CH,J);var lba=[7];CH.prototype.setRequestHeader=function(a){return U(this,1,a)};var mba=function(a,b){return P(a,3,b)};CH.prototype.ta=function(){return M(this,5)};CH.prototype.X=function(){return R(this,Wl,6)};CH.prototype.J=function(a){U(this,6,a)};CH.prototype.aa=function(){this.J(void 0)};var nba=function(a,b){return P(a,7,b||[])};var DH=function(a){L(this,a,"chstrrp",-1,null,null)};w(DH,J);DH.messageId="chstrrp";DH.prototype.getResponseHeader=function(){return R(this,iB,1)};DH.prototype.X=function(){return R(this,Wl,2)};DH.prototype.J=function(a){U(this,2,a)};DH.prototype.aa=function(){this.J(void 0)};var EH=function(a){L(this,a,0,-1,oba,null)};w(EH,J);var oba=[2,3],pba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new rA;B(b,c,HA);Ol(a,2,c,rA);break;case 3:c=new EE;B(b,c,FE);Ol(a,3,c,EE);break;case 4:c=new EE;B(b,c,FE);U(a,4,c);break;default:A(b)}return a};k=EH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,rA,2)};k.zc=function(){return S(this,EE,3)};
k.Ib=function(){return R(this,EE,4)};var FH=function(a){L(this,a,0,-1,null,null)};w(FH,J);var GH=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);P(a,1,c);break;case 2:c=F(b);P(a,2,c);break;default:A(b)}return a};FH.prototype.ta=function(){return M(this,1)};var HH=function(a){L(this,a,0,-1,qba,null)};w(HH,J);var qba=[2,3],rba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new nB;B(b,c,oB);Ol(a,2,c,nB);break;case 3:c=new FH;B(b,c,GH);Ol(a,3,c,FH);break;case 4:c=new FH;B(b,c,GH);U(a,4,c);break;default:A(b)}return a};k=HH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,nB,2)};k.zc=function(){return S(this,FH,3)};
k.Ib=function(){return R(this,FH,4)};var IH=function(a){L(this,a,0,-1,null,null)};w(IH,J);var sba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=Lk(b);P(a,2,c);break;case 3:c=F(b);P(a,3,c);break;default:A(b)}return a};IH.prototype.X=function(){return R(this,Wl,1)};IH.prototype.J=function(a){U(this,1,a)};IH.prototype.aa=function(){this.J(void 0)};var JH=function(a){L(this,a,0,-1,tba,null)};w(JH,J);var tba=[1],uba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Jl(a,1,c);break;default:A(b)}return a};var KH=function(a){L(this,a,0,-1,null,null)};w(KH,J);var vba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new JH;B(b,c,uba);U(a,1,c);break;default:A(b)}return a};var LH=function(a){L(this,a,0,-1,null,null)};w(LH,J);var MH=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;default:A(b)}return a};LH.prototype.ta=function(){return M(this,1)};LH.prototype.l=function(a){return P(this,1,a)};var NH=function(a){L(this,a,0,-1,wba,null)};w(NH,J);var wba=[2],xba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new XD;B(b,c,$D);Ol(a,2,c,XD);break;case 3:c=new LH;B(b,c,MH);U(a,3,c);break;default:A(b)}return a};k=NH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,XD,2)};k.Ib=function(){return R(this,LH,3)};var OH=function(a){L(this,a,0,-1,yba,null)};w(OH,J);var yba=[2,3],zba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new BB;B(b,c,GB);Ol(a,2,c,BB);break;case 3:c=new yE;B(b,c,zE);Ol(a,3,c,yE);break;case 4:c=E(b);P(a,4,c);break;case 5:c=new yE;B(b,c,zE);U(a,5,c);break;case 6:c=E(b);P(a,6,c);break;default:A(b)}return a};k=OH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};
k.Db=function(){return S(this,BB,2)};k.zc=function(){return S(this,yE,3)};k.Ib=function(){return R(this,yE,5)};var PH=function(a){L(this,a,0,-1,Aba,null)};w(PH,J);var Aba=[2],Bba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new SE;B(b,c,TE);Ol(a,2,c,SE);break;default:A(b)}return a};PH.prototype.X=function(){return R(this,Wl,1)};PH.prototype.J=function(a){U(this,1,a)};PH.prototype.aa=function(){this.J(void 0)};PH.prototype.Db=function(){return S(this,SE,2)};var QH=function(a){L(this,a,0,-1,Cba,null)};w(QH,J);var Cba=[2,3],Dba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new wB;B(b,c,xB);Ol(a,2,c,wB);break;case 3:c=new LH;B(b,c,MH);Ol(a,3,c,LH);break;case 4:c=new LH;B(b,c,MH);U(a,4,c);break;default:A(b)}return a};k=QH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,wB,2)};k.zc=function(){return S(this,LH,3)};
k.Ib=function(){return R(this,LH,4)};var RH=function(a){L(this,a,0,-1,null,null)};w(RH,J);var SH=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.u(c);break;default:A(b)}return a};RH.prototype.l=function(){return M(this,1)};RH.prototype.u=function(a){return P(this,1,a)};var TH=function(a){L(this,a,0,-1,Eba,null)};w(TH,J);var Eba=[2,3],Fba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new zC;B(b,c,NC);Ol(a,2,c,zC);break;case 3:c=new RH;B(b,c,SH);Ol(a,3,c,RH);break;case 4:c=new RH;B(b,c,SH);U(a,4,c);break;default:A(b)}return a};k=TH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,zC,2)};k.zc=function(){return S(this,RH,3)};
k.Ib=function(){return R(this,RH,4)};var UH=function(a){L(this,a,0,-1,Gba,null)};w(UH,J);var Gba=[2,3],Hba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new VC;B(b,c,fD);Ol(a,2,c,VC);break;case 3:c=new GE;B(b,c,HE);Ol(a,3,c,GE);break;case 4:c=new GE;B(b,c,HE);U(a,4,c);break;default:A(b)}return a};k=UH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,VC,2)};k.zc=function(){return S(this,GE,3)};
k.Ib=function(){return R(this,GE,4)};var VH=function(a){L(this,a,0,-1,null,null)};w(VH,J);var WH=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.Ml(c);break;case 2:c=F(b);a.Nl(c);break;case 3:c=F(b);a.Np(c);break;case 4:c=E(b);a.Mp(c);break;default:A(b)}return a};k=VH.prototype;k.ta=function(){return M(this,1)};k.Ml=function(a){return P(this,1,a)};k.pj=function(){return M(this,2)};k.Nl=function(a){return P(this,2,a)};k.Ll=function(){return M(this,3)};k.Np=function(a){return P(this,3,a)};
k.Kl=function(){return M(this,4)};k.Mp=function(a){return P(this,4,a)};var XH=function(a){L(this,a,0,-1,Iba,null)};w(XH,J);var Iba=[2,3],Jba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new Wl;B(b,c,$l);a.J(c);break;case 2:c=new kD;B(b,c,zD);Ol(a,2,c,kD);break;case 3:c=new VH;B(b,c,WH);Ol(a,3,c,VH);break;case 4:c=new VH;B(b,c,WH);U(a,4,c);break;default:A(b)}return a};k=XH.prototype;k.X=function(){return R(this,Wl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,kD,2)};k.zc=function(){return S(this,VH,3)};
k.Ib=function(){return R(this,VH,4)};var YH=function(a){L(this,a,0,-1,null,null)};w(YH,J);var ZH=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;default:A(b)}return a};var $H=function(a){L(this,a,0,-1,Kba,null)};w($H,J);var Kba=[5],aI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=Mk(b);Hl(a,2,c);break;case 3:c=new YH;B(b,c,ZH);U(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=F(b);Jl(a,5,c);break;case 6:c=Mk(b);Hl(a,6,c);break;case 7:c=Mk(b);Hl(a,7,c);break;default:A(b)}return a};$H.prototype.getName=function(){return N(this,1,"")};$H.prototype.getSelf=function(){return O(this,2,!1)};var bI=function(a){L(this,a,0,-1,null,null)};w(bI,J);var dI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Lk(b);cI(a,c);break;default:A(b)}return a},eI=function(a,b){a=a.vb();0!==a&&fl(b,1,a)};bI.prototype.vb=function(){return N(this,1,0)};var cI=function(a,b){return Gl(a,1,b,0)};var fI=function(a){L(this,a,0,-1,Lba,null)};w(fI,J);var Lba=[2,3],Mba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new $H;B(b,c,aI);Ol(a,2,c,$H);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a};k=fI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,$H,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};var gI=function(a){L(this,a,0,-1,Nba,null)};w(gI,J);var hI=function(a){L(this,a,0,-1,null,null)};w(hI,J);var iI=function(a){L(this,a,0,-1,null,null)};w(iI,J);var jI=function(a){L(this,a,0,-1,null,null)};w(jI,J);var kI=function(a){L(this,a,0,-1,null,null)};w(kI,J);
var Nba=[4],lI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;case 3:c=new iI;B(b,c,Oba);U(a,3,c);break;case 4:c=new jI;B(b,c,Pba);Ol(a,4,c,jI);break;case 5:c=new yF;B(b,c,zF);U(a,5,c);break;case 6:c=new yF;B(b,c,zF);U(a,6,c);break;default:A(b)}return a},mI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:A(b)}return a};hI.prototype.Gb=function(){return N(this,1,"")};
var Oba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new hI;B(b,c,mI);U(a,1,c);break;default:A(b)}return a},Pba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=new hI;B(b,c,mI);U(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 6:c=E(b);Il(a,6,c);break;case 7:c=new yF;B(b,c,zF);U(a,7,c);break;case 8:c=new yF;B(b,c,zF);U(a,8,c);break;case 4:c=new kI;B(b,c,Qba);U(a,4,c);break;case 5:c=Mk(b);Hl(a,5,c);break;default:A(b)}return a},Qba=function(a,b){for(;y(b)&&
!x(b);)switch(b.g){case 1:var c=Mk(b);Hl(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=new yF;B(b,c,zF);U(a,3,c);break;default:A(b)}return a};jI.prototype.Ha=function(){return N(this,6,0)};gI.prototype.getName=function(){return N(this,1,"")};gI.prototype.Ha=function(){return N(this,2,0)};var nI=function(a){L(this,a,0,-1,Rba,null)};w(nI,J);var Rba=[2],Sba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new gI;B(b,c,lI);Ol(a,2,c,gI);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a};k=nI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,gI,2)};k.Ib=function(){return N(this,3,"")};var oI=function(a){L(this,a,0,-1,Tba,null)};w(oI,J);var pI=function(a){L(this,a,0,-1,null,null)};w(pI,J);var qI=function(a){L(this,a,0,-1,null,null)};w(qI,J);var rI=function(a){L(this,a,0,-1,null,null)};w(rI,J);var sI=function(a){L(this,a,0,-1,null,null)};w(sI,J);var tI=function(a){L(this,a,0,-1,null,null)};w(tI,J);var uI=function(a){L(this,a,0,-1,null,null)};w(uI,J);var vI=function(a){L(this,a,0,-1,null,null)};w(vI,J);
var Tba=[7,13,16,17,18],xI=function(a){a=new Jk(a);var b=new oI;return wI(b,a)},wI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=F(b);Q(a,2,c);break;case 29:c=F(b);Q(a,29,c);break;case 24:c=new pI;B(b,c,Uba);U(a,24,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=E(b);yI(a,c);break;case 5:c=Mk(b);Hl(a,5,c);break;case 28:c=E(b);Il(a,28,c);break;case 7:c=F(b);Jl(a,7,c);break;case 22:c=F(b);zI(a,c);break;case 23:c=F(b);Q(a,23,c);break;case 8:c=Mk(b);Hl(a,8,c);break;
case 9:c=Mk(b);Hl(a,9,c);break;case 10:c=F(b);Q(a,10,c);break;case 11:c=E(b);Il(a,11,c);break;case 12:c=new qI;B(b,c,AI);BI(a,c);break;case 30:c=new qI;B(b,c,AI);U(a,30,c);break;case 27:c=new rI;B(b,c,Vba);U(a,27,c);break;case 13:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,13,c[d]);break;case 14:c=new sI;B(b,c,Wba);U(a,14,c);break;case 15:c=Mk(b);Hl(a,15,c);break;case 16:c=new tI;B(b,c,Xba);Ol(a,16,c,tI);break;case 17:c=new uI;B(b,c,Yba);Ol(a,17,c,uI);break;case 18:c=2==b.j?Ok(b):[E(b)];
for(d=0;d<c.length;d++)Jl(a,18,c[d]);break;case 19:c=F(b);Q(a,19,c);break;case 20:c=new vI;B(b,c,Zba);U(a,20,c);break;case 21:c=F(b);Q(a,21,c);break;case 25:c=E(b);Il(a,25,c);break;case 26:c=Mk(b);Hl(a,26,c);break;default:A(b)}return a},EI=function(a,b){var c=a.ub();0<c.length&&H(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c);c=N(a,29,"");0<c.length&&H(b,29,c);c=R(a,pI,24);null!=c&&I(b,24,c,$ba);c=N(a,3,"");0<c.length&&H(b,3,c);c=CI(a);0!==c&&G(b,4,c);(c=O(a,5,!1))&&kl(b,5,c);c=N(a,28,0);0!==c&&G(b,28,c);
c=M(a,7);0<c.length&&ol(b,7,c);c=N(a,22,"");0<c.length&&H(b,22,c);c=N(a,23,"");0<c.length&&H(b,23,c);(c=O(a,8,!1))&&kl(b,8,c);(c=O(a,9,!1))&&kl(b,9,c);c=N(a,10,"");0<c.length&&H(b,10,c);c=N(a,11,0);0!==c&&G(b,11,c);c=R(a,qI,12);null!=c&&I(b,12,c,DI);c=R(a,qI,30);null!=c&&I(b,30,c,DI);c=R(a,rI,27);null!=c&&I(b,27,c,aca);c=M(a,13);0<c.length&&tl(b,13,c);c=R(a,sI,14);null!=c&&I(b,14,c,bca);(c=O(a,15,!1))&&kl(b,15,c);c=S(a,tI,16);0<c.length&&pl(b,16,c,cca);c=S(a,uI,17);0<c.length&&pl(b,17,c,dca);c=M(a,
18);0<c.length&&tl(b,18,c);c=N(a,19,"");0<c.length&&H(b,19,c);c=R(a,vI,20);null!=c&&I(b,20,c,eca);c=N(a,21,"");0<c.length&&H(b,21,c);c=N(a,25,0);0!==c&&G(b,25,c);(c=O(a,26,!1))&&kl(b,26,c)},Uba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Il(a,1,c);break;default:A(b)}return a},$ba=function(a,b){a=N(a,1,0);0!==a&&G(b,1,a)},AI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:A(b)}return a},DI=function(a,b){a=N(a,1,"");0<a.length&&H(b,1,a)},Vba=function(a,
b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:A(b)}return a},aca=function(a,b){a=N(a,1,"");0<a.length&&H(b,1,a)},Wba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;case 3:c=E(b);Il(a,3,c);break;default:A(b)}return a},bca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c);c=N(a,3,0);0!==c&&G(b,3,c)},Xba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=
E(b);Il(a,2,c);break;case 3:c=E(b);Il(a,3,c);break;case 4:c=E(b);Il(a,4,c);break;case 5:c=Mk(b);Hl(a,5,c);break;default:A(b)}return a},cca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c);c=N(a,3,0);0!==c&&G(b,3,c);c=N(a,4,0);0!==c&&G(b,4,c);(c=O(a,5,!1))&&kl(b,5,c)},Yba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;default:A(b)}return a},dca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,0);0!==
c&&G(b,2,c)},Zba=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a},eca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c);c=N(a,3,"");0<c.length&&H(b,3,c);c=N(a,4,"");0<c.length&&H(b,4,c)};oI.prototype.ub=function(){return N(this,1,"")};oI.prototype.l=function(a){return Q(this,1,a)};
var CI=function(a){return N(a,4,0)},yI=function(a,b){return Il(a,4,b)},zI=function(a,b){return Q(a,22,b)},BI=function(a,b){U(a,12,b)};var FI=function(a){L(this,a,0,-1,fca,null)};w(FI,J);var fca=[2,3],gca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new oI;B(b,c,wI);Ol(a,2,c,oI);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a};k=FI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,oI,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};var GI=function(a){L(this,a,0,-1,null,null)};w(GI,J);var HI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 4:c=F(b);Q(a,4,c);break;case 3:c=Mk(b);Hl(a,3,c);break;case 2:c=new yF;B(b,c,zF);U(a,2,c);break;default:A(b)}return a},hca=function(a,b){var c=a.getName();0<c.length&&H(b,1,c);c=a.ub();0<c.length&&H(b,4,c);(c=a.Ri())&&kl(b,3,c);c=R(a,yF,2);null!=c&&I(b,2,c,AF)};GI.prototype.getName=function(){return N(this,1,"")};GI.prototype.l=function(a){return Q(this,1,a)};
GI.prototype.ub=function(){return N(this,4,"")};GI.prototype.Ri=function(){return O(this,3,!1)};var II=function(a){L(this,a,0,-1,ica,null)};w(II,J);var JI=function(a){L(this,a,0,-1,jca,null)};w(JI,J);var ica=[2,3],lca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new GI;B(b,c,HI);Ol(a,2,c,GI);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=new JI;B(b,c,kca);U(a,5,c);break;default:A(b)}return a},jca=[1],kca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new GI;B(b,c,HI);Ol(a,1,c,GI);break;default:A(b)}return a};
k=II.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,GI,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};k.Ko=function(){return null!=M(this,5)};var KI=function(a){L(this,a,0,-1,null,null)};w(KI,J);var LI=function(a){L(this,a,0,-1,null,null)};w(LI,J);var MI=function(a){L(this,a,0,-1,null,null)};w(MI,J);
var NI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=Lk(b);Gl(a,3,c,0);break;case 4:c=new yF;B(b,c,zF);U(a,4,c);break;case 5:c=new LI;B(b,c,mca);U(a,5,c);break;case 6:c=E(b);Il(a,6,c);break;default:A(b)}return a},mca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=Mk(b);Hl(a,2,c);break;case 3:c=new MI;B(b,c,nca);U(a,3,c);break;default:A(b)}return a},nca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=
Kk(b);Gl(a,1,c,0);break;default:A(b)}return a};var OI=function(a){L(this,a,0,-1,oca,null)};w(OI,J);var oca=[2],pca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new KI;B(b,c,NI);Ol(a,2,c,KI);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a};k=OI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,KI,2)};k.Ib=function(){return N(this,3,"")};var PI=function(a){L(this,a,0,-1,null,null)};w(PI,J);var QI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=E(b);Il(a,2,c);break;case 3:c=Mk(b);Hl(a,3,c);break;default:A(b)}return a},qca=function(a,b){var c=a.getName();0<c.length&&H(b,1,c);c=a.Oi();0!==c&&G(b,2,c);(c=a.Si())&&kl(b,3,c)};PI.prototype.getName=function(){return N(this,1,"")};PI.prototype.l=function(a){return Q(this,1,a)};PI.prototype.Oi=function(){return N(this,2,0)};
PI.prototype.Si=function(){return O(this,3,!1)};var RI=function(a){L(this,a,0,-1,rca,null)};w(RI,J);var rca=[2],sca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new PI;B(b,c,QI);Ol(a,2,c,PI);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a};k=RI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,PI,2)};k.Ib=function(){return N(this,3,"")};var SI=function(a){L(this,a,0,-1,null,null)};w(SI,J);var tca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);Gl(a,1,c,0);break;case 2:c=Mk(b);Hl(a,2,c);break;default:A(b)}return a};var TI=function(a){L(this,a,0,-1,null,null)};w(TI,J);var uca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=new SI;B(b,c,tca);U(a,2,c);break;default:A(b)}return a};var UI=function(a){L(this,a,0,-1,vca,null)};w(UI,J);var vca=[2],wca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=new TI;B(b,c,uca);Ol(a,2,c,TI);break;default:A(b)}return a};var VI=function(a){L(this,a,0,-1,null,null)};w(VI,J);var xca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new UI;B(b,c,wca);U(a,1,c);break;default:A(b)}return a};var WI=function(a){L(this,a,0,-1,yca,null)};w(WI,J);var yca=[4],XI=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=Lk(b);Gl(a,2,c,0);break;case 3:c=E(b);Il(a,3,c);break;case 4:c=new VI;B(b,c,xca);Ol(a,4,c,VI);break;case 5:c=E(b);Il(a,5,c);break;default:A(b)}return a};WI.prototype.getName=function(){return N(this,1,"")};WI.prototype.getState=function(){return N(this,3,0)};var YI=function(a){L(this,a,0,-1,zca,null)};w(YI,J);var zca=[2,3],Aca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new WI;B(b,c,XI);Ol(a,2,c,WI);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a};k=YI.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,WI,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};var ZI=function(a){L(this,a,0,-1,null,null)};w(ZI,J);var $I=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=E(b);Il(a,2,c);break;case 3:c=Mk(b);Hl(a,3,c);break;default:A(b)}return a},Bca=function(a,b){var c=a.getName();0<c.length&&H(b,1,c);c=a.Pi();0!==c&&G(b,2,c);(c=a.Ti())&&kl(b,3,c)};ZI.prototype.getName=function(){return N(this,1,"")};ZI.prototype.l=function(a){return Q(this,1,a)};ZI.prototype.Pi=function(){return N(this,2,0)};
ZI.prototype.Ti=function(){return O(this,3,!1)};var aJ=function(a){L(this,a,0,-1,Cca,null)};w(aJ,J);var Cca=[2],Dca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new ZI;B(b,c,$I);Ol(a,2,c,ZI);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a};k=aJ.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,ZI,2)};k.Ib=function(){return N(this,3,"")};var bJ=function(a){L(this,a,0,-1,null,null)};w(bJ,J);var Eca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);Gl(a,1,c,0);break;default:A(b)}return a};var cJ=function(a){L(this,a,0,-1,null,null)};w(cJ,J);var dJ=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=Lk(b);Gl(a,2,c,0);break;case 3:c=new YH;B(b,c,ZH);U(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=new yF;B(b,c,zF);U(a,5,c);break;case 6:c=E(b);Il(a,6,c);break;case 7:c=E(b);Il(a,7,c);break;case 8:c=Mk(b);Hl(a,8,c);break;case 9:c=new bJ;B(b,c,Eca);U(a,9,c);break;case 10:c=E(b);Il(a,10,c);break;default:A(b)}return a};
cJ.prototype.getName=function(){return N(this,1,"")};cJ.prototype.getState=function(){return N(this,6,0)};var eJ=function(a){L(this,a,0,-1,Fca,null)};w(eJ,J);var Fca=[2,3],Gca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new cJ;B(b,c,dJ);Ol(a,2,c,cJ);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a};k=eJ.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,cJ,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};var fJ=function(a){L(this,a,0,-1,null,null)};w(fJ,J);var Hca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);a.setTitle(c);break;case 5:c=E(b);Il(a,5,c);break;case 11:c=F(b);Q(a,11,c);break;case 13:c=E(b);Il(a,13,c);break;case 14:c=F(b);Q(a,14,c);break;case 15:c=F(b);Q(a,15,c);break;default:A(b)}return a};fJ.prototype.getTitle=function(){return N(this,2,"")};fJ.prototype.setTitle=function(a){return Q(this,2,a)};var gJ=function(a){L(this,a,0,-1,Ica,null)};w(gJ,J);var Ica=[2,3],Jca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new fJ;B(b,c,Hca);Ol(a,2,c,fJ);break;case 3:c=F(b);Jl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a};k=gJ.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,fJ,2)};k.zc=function(){return M(this,3)};k.Ib=function(){return N(this,4,"")};var hJ=function(a){L(this,a,0,-1,null,null)};w(hJ,J);var Kca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);a.setTitle(c);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a},iJ=function(a,b){var c=a.getId();0<c.length&&H(b,1,c);c=a.getTitle();0<c.length&&H(b,2,c);c=N(a,3,"");0<c.length&&H(b,3,c)};hJ.prototype.getId=function(){return N(this,1,"")};hJ.prototype.getTitle=function(){return N(this,2,"")};
hJ.prototype.setTitle=function(a){return Q(this,2,a)};var kJ=function(a){L(this,a,0,-1,null,jJ)};w(kJ,J);var jJ=[[1]],Lca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new hJ;B(b,c,Kca);Ml(a,1,jJ[0],c);break;default:A(b)}return a},Mca=function(a,b){a=R(a,hJ,1);null!=a&&I(b,1,a,iJ)};var lJ=function(a){L(this,a,0,-1,Nca,null)};w(lJ,J);var mJ=function(a){L(this,a,0,-1,null,null)};w(mJ,J);var nJ=function(a){L(this,a,0,-1,null,null)};w(nJ,J);var oJ=function(a){L(this,a,0,-1,null,null)};w(oJ,J);var pJ=function(a){L(this,a,0,-1,null,null)};w(pJ,J);var qJ=function(a){L(this,a,0,-1,null,null)};w(qJ,J);var rJ=function(a){L(this,a,0,-1,null,null)};w(rJ,J);var sJ=function(a){L(this,a,0,-1,null,null)};w(sJ,J);var tJ=function(a){L(this,a,0,-1,null,null)};w(tJ,J);
var uJ=function(a){L(this,a,0,-1,Oca,null)};w(uJ,J);var vJ=function(a){L(this,a,0,-1,null,null)};w(vJ,J);var wJ=function(a){L(this,a,0,-1,null,null)};w(wJ,J);var xJ=function(a){L(this,a,0,-1,null,null)};w(xJ,J);var yJ=function(a){L(this,a,0,-1,null,null)};w(yJ,J);var zJ=function(a){L(this,a,0,-1,null,null)};w(zJ,J);var AJ=function(a){L(this,a,0,-1,null,null)};w(AJ,J);
var Nca=[5,11,13],CJ=function(a){a=new Jk(a);var b=new lJ;return BJ(b,a)},BJ=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 5:c=new mJ;B(b,c,Pca);Ol(a,5,c,mJ);break;case 8:c=new nJ;B(b,c,Qca);U(a,8,c);break;case 6:c=new uJ;B(b,c,Rca);U(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 9:c=new xJ;B(b,c,Sca);U(a,9,c);break;case 10:c=F(b);Q(a,10,c);break;case 11:c=2==b.j?Ok(b):[E(b)];for(var d=0;d<c.length;d++)Jl(a,
11,c[d]);break;case 13:c=new yJ;B(b,c,Tca);Ol(a,13,c,yJ);break;case 14:c=new zJ;B(b,c,Uca);U(a,14,c);break;case 15:c=new AJ;B(b,c,Vca);U(a,15,c);break;default:A(b)}return a},EJ=function(a,b){var c=a.Ia();0<c.length&&H(b,1,c);c=a.Gb();0<c.length&&H(b,2,c);c=N(a,3,"");0<c.length&&H(b,3,c);c=S(a,mJ,5);0<c.length&&pl(b,5,c,Wca);c=R(a,nJ,8);null!=c&&I(b,8,c,Xca);c=DJ(a);null!=c&&I(b,6,c,Yca);c=N(a,7,"");0<c.length&&H(b,7,c);c=R(a,xJ,9);null!=c&&I(b,9,c,Zca);c=N(a,10,"");0<c.length&&H(b,10,c);c=M(a,11);
0<c.length&&tl(b,11,c);c=S(a,yJ,13);0<c.length&&pl(b,13,c,$ca);c=R(a,zJ,14);null!=c&&I(b,14,c,ada);c=R(a,AJ,15);null!=c&&I(b,15,c,bda)},Pca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:A(b)}return a},Wca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c);c=N(a,3,"");0<c.length&&H(b,3,c);c=N(a,4,"");0<c.length&&H(b,4,c)},Qca=function(a,b){for(;y(b)&&
!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;default:A(b)}return a},Xca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c)},cda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;default:A(b)}return a},dda=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c)},fda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Il(a,1,c);break;case 2:c=
F(b);Q(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=new qJ;B(b,c,eda);U(a,4,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=E(b);Il(a,6,c);break;default:A(b)}return a},hda=function(a,b){var c=N(a,1,0);0!==c&&G(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c);c=N(a,3,"");0<c.length&&H(b,3,c);c=R(a,qJ,4);null!=c&&I(b,4,c,gda);c=N(a,5,"");0<c.length&&H(b,5,c);c=N(a,6,0);0!==c&&G(b,6,c)},eda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;default:A(b)}return a},
gda=function(a,b){var c=a.getDeviceId();0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c)};qJ.prototype.getDeviceId=function(){return N(this,1,"")};
var kda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Il(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=E(b);Il(a,3,c);break;case 4:c=new sJ;B(b,c,ida);U(a,4,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=E(b);Il(a,6,c);break;case 7:c=Mk(b);Hl(a,7,c);break;case 8:c=new tJ;B(b,c,jda);U(a,8,c);break;default:A(b)}return a},nda=function(a,b){var c=a.Ha();0!==c&&G(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c);c=N(a,3,0);0!==c&&G(b,3,c);c=R(a,sJ,4);null!=c&&I(b,4,c,lda);c=N(a,5,"");0<c.length&&
H(b,5,c);c=N(a,6,0);0!==c&&G(b,6,c);(c=O(a,7,!1))&&kl(b,7,c);c=R(a,tJ,8);null!=c&&I(b,8,c,mda)},ida=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;default:A(b)}return a},lda=function(a,b){var c=a.getDeviceId();0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c)};sJ.prototype.getDeviceId=function(){return N(this,1,"")};
var jda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Lk(b);Gl(a,1,c,0);break;case 2:c=new yF;B(b,c,zF);U(a,2,c);break;default:A(b)}return a},mda=function(a,b){var c=N(a,1,0);0!==c&&fl(b,1,c);c=R(a,yF,2);null!=c&&I(b,2,c,AF)};rJ.prototype.Ha=function(){return N(this,1,0)};
var Oca=[9,12],Rca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new oJ;B(b,c,cda);a.Dd(c);break;case 2:c=new pJ;B(b,c,fda);U(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 6:c=Kk(b);Gl(a,6,c,0);break;case 8:c=F(b);Q(a,8,c);break;case 9:c=new rJ;B(b,c,kda);Ol(a,9,c,rJ);break;case 11:c=new vJ;B(b,c,oda);U(a,11,c);break;case 12:c=new kJ;B(b,c,Lca);Ol(a,12,c,kJ);break;case 13:c=new wJ;B(b,c,pda);U(a,13,c);break;default:A(b)}return a},Yca=function(a,b){var c=a.Rc();
null!=c&&I(b,1,c,dda);c=R(a,pJ,2);null!=c&&I(b,2,c,hda);c=N(a,3,"");0<c.length&&H(b,3,c);c=N(a,4,"");0<c.length&&H(b,4,c);c=N(a,6,0);0!==c&&b.g(6,c);c=N(a,8,"");0<c.length&&H(b,8,c);c=S(a,rJ,9);0<c.length&&pl(b,9,c,nda);c=R(a,vJ,11);null!=c&&I(b,11,c,qda);c=S(a,kJ,12);0<c.length&&pl(b,12,c,Mca);c=R(a,wJ,13);null!=c&&I(b,13,c,rda)},oda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);Hl(a,1,c);break;case 2:c=Mk(b);Hl(a,2,c);break;case 3:c=Mk(b);Hl(a,3,c);break;case 4:c=Mk(b);Hl(a,4,c);
break;default:A(b)}return a},qda=function(a,b){var c;(c=a.sg())&&kl(b,1,c);(c=a.vg())&&kl(b,2,c);(c=a.xg())&&kl(b,3,c);(c=a.ug())&&kl(b,4,c)};vJ.prototype.sg=function(){return O(this,1,!1)};vJ.prototype.vg=function(){return O(this,2,!1)};vJ.prototype.xg=function(){return O(this,3,!1)};vJ.prototype.ug=function(){return O(this,4,!1)};
var pda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Mk(b);Hl(a,1,c);break;case 2:c=new yF;B(b,c,zF);U(a,2,c);break;case 3:c=new yF;B(b,c,zF);U(a,3,c);break;default:A(b)}return a},rda=function(a,b){var c;(c=O(a,1,!1))&&kl(b,1,c);c=R(a,yF,2);null!=c&&I(b,2,c,AF);c=R(a,yF,3);null!=c&&I(b,3,c,AF)};uJ.prototype.Rc=function(){return R(this,oJ,1)};uJ.prototype.Dd=function(a){return U(this,1,a)};uJ.prototype.Qk=function(){return null!=M(this,1)};
var Sca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 2:var c=Mk(b);a.setEnabled(c);break;default:A(b)}return a},Zca=function(a,b){(a=O(a,2,!1))&&kl(b,2,a)};xJ.prototype.setEnabled=function(a){return Hl(this,2,a)};
var Tca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;default:A(b)}return a},$ca=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c)},Uca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Il(a,2,c);break;default:A(b)}return a},ada=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=N(a,2,0);0!==c&&G(b,2,c)},Vca=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=
Mk(b);Hl(a,1,c);break;case 2:c=Mk(b);Hl(a,2,c);break;case 3:c=Mk(b);Hl(a,3,c);break;case 4:c=Mk(b);Hl(a,4,c);break;default:A(b)}return a},bda=function(a,b){var c;(c=a.sg())&&kl(b,1,c);(c=a.ug())&&kl(b,2,c);(c=a.vg())&&kl(b,3,c);(c=a.xg())&&kl(b,4,c)};AJ.prototype.sg=function(){return O(this,1,!1)};AJ.prototype.ug=function(){return O(this,2,!1)};AJ.prototype.vg=function(){return O(this,3,!1)};AJ.prototype.xg=function(){return O(this,4,!1)};lJ.prototype.Ia=function(){return N(this,1,"")};
lJ.prototype.l=function(a){return Q(this,1,a)};lJ.prototype.Gb=function(){return N(this,2,"")};var DJ=function(a){return R(a,uJ,6)};var FJ=function(a){L(this,a,0,-1,sda,null)};w(FJ,J);var sda=[2],tda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new lJ;B(b,c,BJ);Ol(a,2,c,lJ);break;case 3:c=F(b);Q(a,3,c);break;default:A(b)}return a};k=FJ.prototype;k.X=function(){return R(this,bI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Db=function(){return S(this,lJ,2)};k.Ib=function(){return N(this,3,"")};var GJ=function(a){L(this,a,0,-1,null,null)};w(GJ,J);
var uda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new FI;B(b,c,gca);U(a,1,c);break;case 2:c=new FJ;B(b,c,tda);U(a,2,c);break;case 3:c=new gJ;B(b,c,Jca);U(a,3,c);break;case 4:c=new OI;B(b,c,pca);U(a,4,c);break;case 6:c=new RI;B(b,c,sca);U(a,6,c);break;case 7:c=new YI;B(b,c,Aca);U(a,7,c);break;case 8:c=new aJ;B(b,c,Dca);U(a,8,c);break;case 9:c=new eJ;B(b,c,Gca);U(a,9,c);break;case 10:c=new nI;B(b,c,Sba);U(a,10,c);break;case 11:c=new fI;B(b,c,Mba);U(a,11,c);break;case 12:c=new II;B(b,
c,lca);U(a,12,c);break;default:A(b)}return a};k=GJ.prototype;k.Hu=function(){return R(this,FI,1)};k.Jv=function(){return R(this,FJ,2)};k.Iv=function(){return R(this,gJ,3)};k.Bv=function(){return R(this,OI,4)};k.Dv=function(){return R(this,RI,6)};k.Ev=function(){return R(this,YI,7)};k.Gv=function(){return R(this,aJ,8)};k.Hv=function(){return R(this,eJ,9)};k.Du=function(){return R(this,nI,10)};k.Cu=function(){return R(this,fI,11)};k.Nu=function(){return R(this,II,12)};var HJ=function(a){L(this,a,0,-1,null,null)};w(HJ,J);
var vda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new OH;B(b,c,zba);U(a,1,c);break;case 2:c=new TH;B(b,c,Fba);U(a,2,c);break;case 3:c=new XH;B(b,c,Jba);U(a,3,c);break;case 4:c=new IH;B(b,c,sba);U(a,4,c);break;case 5:c=new UH;B(b,c,Hba);U(a,5,c);break;case 7:c=new EH;B(b,c,pba);U(a,7,c);break;case 8:c=new QH;B(b,c,Dba);U(a,8,c);break;case 9:c=new HH;B(b,c,rba);U(a,9,c);break;case 10:c=new PH;B(b,c,Bba);U(a,10,c);break;case 13:c=new GJ;B(b,c,uda);U(a,13,c);break;case 14:c=new YE;B(b,
c,ZE);U(a,14,c);break;case 15:c=new NH;B(b,c,xba);U(a,15,c);break;default:A(b)}return a};k=HJ.prototype;k.Qu=function(){return R(this,OH,1)};k.wv=function(){return R(this,TH,2)};k.yv=function(){return R(this,XH,3)};k.Bu=function(){return R(this,IH,4)};k.xv=function(){return R(this,UH,5)};k.Ou=function(){return R(this,EH,7)};k.Ru=function(){return R(this,QH,8)};k.Fu=function(){return R(this,HH,9)};k.Fv=function(){return R(this,PH,10)};k.Av=function(){return R(this,GJ,13)};
k.Pu=function(){return R(this,NH,15)};var IJ=function(a){L(this,a,0,-1,null,null)};w(IJ,J);var wda=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new kB;B(b,c,lB);U(a,1,c);break;case 2:c=new HJ;B(b,c,vda);U(a,2,c);break;case 3:c=new KH;B(b,c,vba);U(a,3,c);break;default:A(b)}return a};var JJ=function(a){L(this,a,"hcbu",-1,xda,null)};w(JJ,J);var xda=[1],yda=function(a){a=new Jk(a);for(var b=new JJ;y(a)&&!x(a);)switch(a.g){case 1:var c=new IJ;B(a,c,wda);Ol(b,1,c,IJ);break;default:A(a)}return b};JJ.messageId="hcbu";var KJ=function(a){L(this,a,0,-1,zda,null)};w(KJ,J);var zda=[2,6];var LJ=function(a){L(this,a,0,-1,null,null)};w(LJ,J);k=LJ.prototype;k.ta=function(){return M(this,3)};k.Z=function(){return M(this,4)};k.tb=function(){return M(this,10)};k.Gb=function(){return M(this,13)};k.Ia=function(){return M(this,14)};var MJ=function(a){L(this,a,0,-1,null,null)};w(MJ,J);var NJ=function(a){L(this,a,0,-1,Ada,null)};w(NJ,J);var Ada=[3];var OJ=function(a){L(this,a,0,-1,null,null)};w(OJ,J);var PJ=function(a){L(this,a,0,-1,null,null)};w(PJ,J);OJ.prototype.Gk=function(){return M(this,2)};var QJ=function(a){L(this,a,0,-1,null,null)};w(QJ,J);QJ.prototype.getId=function(){return M(this,1)};var RJ=function(a,b){return P(a,1,b)},SJ=function(a,b){return P(a,2,b)};var TJ=function(a){L(this,a,0,-1,Bda,null)};w(TJ,J);var Bda=[1,2,3],UJ=function(a){var b=new TJ;return Nl(b,2,a)},VJ=function(a,b){return P(a,3,b||[])};var WJ=function(a){L(this,a,0,-1,null,null)};w(WJ,J);var XJ=function(a){L(this,a,0,-1,null,null)};w(XJ,J);var X={},Cda=(X[264]=4,X[275]=4,X[1579]=4,X[2360]=4,X[2359]=3,X[1781]=1,X[1169]=1,X[1167]=7,X[2053]=1,X[2054]=1,X[1168]=1,X[2052]=2,X[1177]=1,X[1199]=7,X[2245]=2,X[1175]=1,X[1176]=7,X[1172]=1,X[1173]=1,X[1174]=1,X[1184]=1,X[1183]=1,X[1182]=1,X[1181]=1,X[1180]=1,X[1179]=1,X[1178]=1,X[1827]=1,X[1171]=1,X[1170]=1,X[1387]=6,X[649]=6,X[640]=6,X[584]=6,X[2173]=4,X[1591]=6,X[574]=7,X[597]=3,X[2175]=3,X[1495]=4,X[588]=6,X[575]=4,X[587]=6,X[572]=7,X[598]=6,X[1580]=3,X[2754]=6,X[1260]=3,X[1584]=3,X[1871]=1,
X[2190]=1,X[2187]=1,X[2191]=1,X[2188]=1,X[2186]=1,X[288]=6,X[2962]=3,X[2840]=6,X[1080]=4,X[1081]=6,X[2055]=7,X[2056]=7,X[2494]=4,X[2496]=7,X[2679]=4,X[2495]=4,X[1518]=3,X[1079]=4,X[2686]=6,X[1528]=4,X[1595]=6,X[1541]=4,X[1520]=4,X[1519]=6,X[2687]=7,X[2788]=3,X[2789]=4,X[2970]=3,X[2971]=3,X[2972]=3,X[2796]=3,X[2797]=3,X[2960]=3,X[2794]=3,X[990]=4,X[1227]=6,X[2704]=4,X[2705]=6,X[2706]=6,X[2707]=7,X[2703]=4,X[783]=4,X[784]=4,X[782]=4,X[2805]=6,X[2806]=4,X[4708]=6,X[4711]=6,X[4749]=6,X[4163]=4,X[4578]=
6,X[4730]=6,X[2124]=6,X[2123]=6,X[2126]=6,X[2125]=6,X[4408]=6,X[4410]=6,X[3839]=6,X[4631]=6,X[4630]=1,X[41]=6,X[4411]=4,X[4589]=1,X[3341]=1,X[3342]=1,X[4664]=7,X[4609]=7,X[4030]=7,X[4782]=7,X[4031]=7,X[4610]=7,X[4286]=3,X[3906]=7,X[3908]=7,X[3682]=7,X[3907]=7,X[4263]=3,X[4417]=7,X[3948]=7,X[3950]=7,X[4419]=7,X[3939]=7,X[3941]=7,X[3940]=7,X[3942]=7,X[3949]=7,X[3945]=7,X[3947]=7,X[3946]=7,X[3943]=7,X[3944]=7,X[4418]=7,X[3951]=7,X[4633]=6,X[4632]=1,X[4590]=1,X[4592]=6,X[4591]=1,X[3854]=1,X[3853]=1,X[3855]=
1,X[3856]=1,X[3857]=1,X[315]=6,X[3215]=6,X[4161]=6,X[4588]=6,X[3220]=4,X[3221]=4,X[4080]=6,X[3053]=4,X[3055]=6,X[3054]=4,X[4355]=4,X[4384]=6,X[4387]=6,X[3799]=2,X[4599]=7,X[4335]=4,X[4336]=4,X[4183]=4,X[4242]=7,X[4579]=6,X[4580]=3,X[3918]=6,X[3916]=3,X[4212]=4,X[3917]=3,X[4680]=4,X[4359]=3,X[4358]=7,X[4204]=6,X[4205]=4,X[4516]=6,X[4682]=7,X[4759]=4,X[4760]=7,X[4761]=4,X[4292]=4,X[4293]=7,X[4294]=4,X[4289]=4,X[4290]=7,X[4291]=4,X[4628]=6,X[4629]=4,X[3746]=6,X[3762]=4,X[4472]=6,X[4350]=6,X[4351]=3,
X[4348]=6,X[4349]=3,X[4433]=6,X[4434]=3,X[4352]=6,X[4353]=3,X[4223]=3,X[4224]=3,X[4225]=3,X[4301]=1,X[4304]=1,X[4305]=1,X[4302]=1,X[4303]=1,X[4306]=1,X[4265]=1,X[4268]=1,X[4266]=1,X[4269]=1,X[4267]=1,X[3679]=7,X[3680]=3,X[3134]=3,X[3135]=3,X[3735]=3,X[3734]=3,X[4611]=4,X[4360]=3,X[3834]=4,X[3833]=6,X[4354]=7,X[4460]=6,X[4478]=6,X[4477]=6,X[4476]=6,X[4481]=6,X[4480]=6,X[4461]=6,X[4462]=6,X[4463]=7,X[4464]=6,X[4475]=6,X[4465]=6,X[4479]=7,X[4466]=6,X[4471]=6,X[4208]=6,X[4526]=6,X[4209]=4,X[4201]=6,X[4139]=
6,X[4167]=6,X[3958]=3,X[4005]=3,X[3956]=6,X[4211]=7,X[4210]=4,X[4236]=6,X[4179]=7,X[4788]=6,X[4435]=6,X[4202]=4,X[3911]=6,X[4216]=6,X[4235]=3,X[4126]=6,X[4127]=3,X[4213]=6,X[4214]=6,X[4215]=6,X[4164]=6,X[4558]=6,X[4555]=6,X[4604]=6,X[4165]=3,X[4559]=6,X[4556]=6,X[4605]=6,X[4557]=6,X[4554]=6,X[4603]=6,X[3763]=3,X[3651]=7,X[4513]=6,X[4681]=4,X[3748]=6,X[4118]=6,X[4119]=3,X[4116]=6,X[4117]=3,X[4431]=6,X[4432]=3,X[4120]=6,X[4121]=3,X[4381]=6,X[4379]=4,X[4734]=6,X[4737]=6,X[3511]=6,X[3510]=6,X[4128]=6,
X[3061]=7,X[3062]=4,X[3359]=6,X[4787]=6,X[3526]=7,X[4663]=7,X[3915]=7,X[3914]=7,X[3525]=7,X[4207]=2,X[4206]=7,X[3952]=7,X[3439]=7,X[3798]=4,X[3438]=4,X[3832]=7,X[3852]=4,X[3848]=7,X[3825]=6,X[3782]=4,X[3672]=6,X[3677]=7,X[3829]=6,X[4333]=6,X[4009]=6,X[4010]=4,X[3480]=6,X[4309]=6,X[4308]=6,X[4307]=6,X[3463]=5,X[3466]=5,X[3462]=5,X[3464]=5,X[3465]=5,X[3460]=5,X[3459]=5,X[3461]=5,X[3775]=6,X[3458]=7,X[4088]=6,X[4087]=6,X[4086]=6,X[3632]=3,X[3631]=3,X[4314]=6,X[3633]=4,X[3733]=6,X[3611]=3,X[3612]=6,X[3610]=
3,X[3613]=7,X[3619]=7,X[3549]=3,X[3550]=6,X[3808]=6,X[3809]=6,X[3803]=7,X[3804]=7,X[3802]=1,X[3800]=1,X[3812]=1,X[3960]=6,X[3801]=1,X[3810]=7,X[3811]=6,X[3961]=1,X[3927]=6,X[4102]=1,X[3806]=7,X[3807]=7,X[3805]=1,X[4137]=6,X[3725]=3,X[4103]=1,X[4101]=1,X[4849]=6,X[4094]=6,X[4096]=6,X[4100]=6,X[4098]=6,X[4568]=6,X[4399]=6,X[4400]=6,X[3473]=6,X[3470]=6,X[3496]=6,X[4011]=6,X[4012]=4,X[4688]=6,X[3688]=6,X[4547]=8,X[4013]=7,X[4619]=3,X[4553]=3,X[4582]=6,X[4618]=6,X[4552]=6,X[326]=6,X[3476]=3,X[4022]=3,
X[3475]=3,X[3625]=3,X[4021]=3,X[4020]=3,X[3474]=3,X[3626]=3,X[3553]=3,X[3693]=3,X[3692]=3,X[3628]=3,X[3629]=3,X[3930]=3,X[3690]=3,X[3932]=3,X[3931]=3,X[3691]=3,X[4499]=3,X[4501]=7,X[4500]=4,X[4487]=3,X[4502]=4,X[4509]=6,X[4485]=3,X[4484]=3,X[4489]=3,X[4491]=3,X[4490]=3,X[4488]=3,X[4492]=1,X[4495]=7,X[4496]=7,X[4494]=1,X[4493]=3,X[4498]=7,X[4497]=3,X[4731]=3,X[4486]=3,X[3929]=8,X[4019]=3,X[3928]=3,X[4537]=6,X[4026]=3,X[4538]=6,X[4542]=6,X[4025]=3,X[4023]=3,X[4545]=8,X[4549]=4,X[4551]=4,X[4550]=4,X[4027]=
3,X[4029]=3,X[4028]=3,X[4548]=8,X[4540]=8,X[4378]=6,X[4376]=4,X[4344]=6,X[4343]=3,X[4342]=6,X[4241]=6,X[4018]=3,X[4046]=6,X[4240]=6,X[4043]=3,X[4186]=1,X[4184]=6,X[4185]=1,X[4577]=1,X[4536]=4,X[4541]=4,X[4544]=8,X[4543]=4,X[4375]=8,X[4373]=3,X[4238]=6,X[4039]=3,X[4331]=8,X[4345]=7,X[4341]=8,X[4340]=3,X[4339]=6,X[4330]=8,X[4329]=3,X[4328]=6,X[4239]=8,X[4045]=3,X[4044]=6,X[4237]=6,X[4035]=3,X[4539]=8,X[4546]=8,X[4024]=3,X[3736]=7,X[3777]=6,X[3778]=4,X[5036]=3,X[5033]=3,X[5035]=3,X[5034]=3,X[5037]=3,
X[5032]=3,X[6650]=5,X[6649]=5,X[6647]=7,X[6484]=7,X[6651]=5,X[6814]=7,X[6485]=5,X[6483]=5,X[6648]=4,X[6482]=4,X[5538]=1,X[5540]=7,X[5539]=1,X[4962]=7,X[6554]=4,X[6556]=6,X[6778]=6,X[6557]=4,X[6711]=4,X[6555]=6,X[6831]=6,X[6828]=6,X[6177]=7,X[6176]=4,X[6175]=4,X[4899]=4,X[5437]=4,X[5466]=4,X[5436]=4,X[5438]=6,X[5439]=7,X[5277]=6,X[5514]=1,X[5515]=1,X[5403]=4,X[5268]=7,X[6111]=3,X[6112]=3,X[6113]=3,X[6010]=4,X[6011]=4,X[6107]=7,X[5964]=4,X[5965]=7,X[5963]=4,X[5867]=6,X[5722]=4,X[6032]=4,X[5404]=4,X[6216]=
6,X[6215]=4,X[6451]=1,X[6452]=1,X[6752]=1,X[6790]=1,X[4824]=6,X[4936]=6,X[4947]=6,X[4946]=6,X[4945]=6,X[4950]=6,X[4949]=6,X[4937]=6,X[4938]=6,X[4939]=6,X[4940]=6,X[4944]=6,X[4941]=6,X[4948]=7,X[4942]=6,X[4943]=6,X[6601]=6,X[6602]=6,X[4983]=4,X[4981]=4,X[4982]=4,X[5669]=6,X[5668]=6,X[5672]=6,X[5667]=6,X[5671]=6,X[5666]=6,X[5674]=6,X[5670]=6,X[5027]=6,X[5023]=6,X[5026]=6,X[4995]=6,X[4986]=4,X[4984]=4,X[4985]=4,X[6131]=6,X[6130]=6,X[6127]=6,X[5025]=6,X[5022]=6,X[5024]=6,X[4994]=6,X[4975]=1,X[4976]=4,
X[4924]=3,X[5122]=4,X[5123]=4,X[5120]=4,X[5121]=4,X[5197]=4,X[5220]=6,X[5226]=6,X[4971]=4,X[5296]=6,X[5297]=6,X[4803]=6,X[5224]=6,X[5225]=6,X[5223]=6,X[5118]=4,X[5119]=4,X[5116]=4,X[5117]=4,X[4978]=4,X[4977]=4,X[5144]=4,X[5142]=4,X[5143]=4,X[6389]=7,X[5442]=6,X[5441]=6,X[5440]=6,X[5818]=7,X[5382]=8,X[5383]=1,X[5639]=4,X[5638]=4,X[5640]=4,X[5626]=4,X[5721]=4,X[6121]=4,X[6371]=7,X[5099]=7,X[5097]=4,X[5111]=6,X[5059]=4,X[5102]=7,X[5105]=6,X[5108]=7,X[5190]=7,X[5138]=3,X[5139]=3,X[5028]=3,X[5029]=3,X[5031]=
3,X[5030]=3,X[5378]=4,X[5374]=3,X[5376]=7,X[5377]=7,X[5375]=4,X[6055]=4,X[6057]=7,X[6056]=4,X[5137]=3,X[5870]=3,X[5869]=7,X[5872]=7,X[5868]=7,X[5871]=4,X[6815]=4,X[4810]=7,X[4809]=7,X[4806]=7,X[4805]=7,X[4808]=7,X[4807]=7,X[5002]=3,X[5004]=3,X[5003]=3,X[5001]=3,X[5E3]=3,X[5005]=3,X[5006]=3,X[5009]=3,X[5007]=3,X[5008]=3,X[4847]=4,X[4848]=4,X[6549]=7,X[6719]=7,X[6720]=7,X[6839]=4,X[5149]=1,X[5150]=1,X[5147]=1,X[5148]=1,X[6266]=3,X[6323]=6,X[4802]=6,X[6063]=6,X[6320]=6,X[4867]=4,X[6465]=4,X[6464]=4,
X[6463]=4,X[6461]=7,X[6462]=7,X[6466]=3,X[6468]=7,X[6467]=4,X[6836]=7,X[6833]=7,X[7009]=7,X[4798]=6,X[4796]=4,X[5803]=6,X[4797]=3,X[4801]=6,X[4799]=4,X[5802]=6,X[4800]=3,X[6126]=6,X[5517]=6,X[5518]=7,X[5298]=6,X[4952]=6,X[4815]=6,X[4813]=4,X[4821]=6,X[4819]=4,X[4820]=3,X[4814]=3,X[4818]=6,X[4816]=4,X[4817]=3,X[4970]=6,X[5038]=4,X[5402]=4,X[5401]=4,X[5400]=4,X[5269]=4,X[5270]=4,X[5124]=6,X[5156]=6,X[5157]=6,X[5158]=6,X[5155]=6,X[4901]=4,X[6123]=6,X[4869]=6,X[4868]=6,X[6161]=4,X[5040]=4,X[5039]=4,X[7155]=
4,X[7153]=4,X[7154]=4,X[7152]=4,X[7102]=6,X[7025]=6,X[7181]=6,X[7180]=6,X[7161]=6,X[7162]=6,X[7163]=6,X[7110]=4,X[7107]=6,X[7108]=6,X[7109]=7,X[7171]=6,X[7177]=4,X[7170]=4,X[7114]=4,X[7115]=4,X[7116]=4,X[7117]=4,X[7026]=1,X[7033]=7,X[7034]=7,X[7029]=6,X[7031]=1,X[7032]=7,X[7030]=1,X[7080]=7,X[7028]=7,X[7081]=7,X);var YJ=function(a){L(this,a,"cl:plu",-1,Dda,null)};w(YJ,J);var ZJ=function(a){L(this,a,0,-1,null,null)};w(ZJ,J);var Dda=[1];YJ.messageId="cl:plu";var $J=function(a,b){this.namespace_=a;this.h=b;this.constructor.En||(this.constructor.En={});this.constructor.En[this.toString()]=this};$J.prototype.va=function(){return this.toString()};$J.prototype.toString=function(){this.g||(this.g="fva:"+this.h);return this.g};var aK=function(a,b){$J.call(this,a,b)};w(aK,$J);var bK=function(a,b,c){if(c)for(var d=0;d<c.length;d++);this.j=a;this.h=b||null;this.g=c||[]};bK.prototype.toString=function(){return this.j};var Eda=Symbol("mCJjCd");function cK(a,b){b.displayName=a;b[Eda]=a};var Fda=new bK("pVbxBc");var Gda=function(a){var b={},c={},d=[],e=[],f=function(q){if(!c[q]){var r=q instanceof bK?q.g:[];c[q]=kc(r);Qb(r,function(z){b[z]=b[z]||[];b[z].push(q)});r.length||d.push(q);Qb(r,f)}};for(Qb(a,f);d.length;){var g=d.shift();e.push(g);b[g]&&Qb(b[g],function(q){fc(c[q],g);c[q].length||d.push(q)})}var h={},m=[];Qb(e,function(q){q instanceof bK&&(q=q.h,null==q||h[q]||(h[q]=!0,m.push(q)))});return{services:e,Ax:m}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var dK=function(a,b){this.u=[];this.V=a;this.K=b||null;this.C=this.j=!1;this.l=void 0;this.G=this.N=this.D=!1;this.F=0;this.h=null;this.s=0};dK.prototype.cancel=function(a){if(this.j)this.l instanceof dK&&this.l.cancel();else{if(this.h){var b=this.h;delete this.h;a?b.cancel(a):(b.s--,0>=b.s&&b.cancel())}this.V?this.V.call(this.K,this):this.G=!0;this.j||this.g(new eK(this))}};dK.prototype.H=function(a,b){this.D=!1;fK(this,a,b)};
var fK=function(a,b,c){a.j=!0;a.l=c;a.C=!b;gK(a)},iK=function(a){if(a.j){if(!a.G)throw new hK(a);a.G=!1}};dK.prototype.callback=function(a){iK(this);fK(this,!0,a)};dK.prototype.g=function(a){iK(this);fK(this,!1,a)};var kK=function(a,b,c){return jK(a,b,null,c)},lK=function(a,b){return jK(a,null,b,void 0)},jK=function(a,b,c,d){a.u.push([b,c,d]);a.j&&gK(a);return a};
dK.prototype.then=function(a,b,c){var d,e,f=new nt(function(g,h){d=g;e=h});jK(this,d,function(g){g instanceof eK?f.cancel():e(g)});return f.then(a,b,c)};jt(dK);var mK=function(a,b){b instanceof dK?kK(a,Ya(b.m,b)):kK(a,function(){return b})};dK.prototype.m=function(a){var b=new dK;jK(this,b.callback,b.g,b);a&&(b.h=this,this.s++);return b};dK.prototype.isError=function(a){return a instanceof Error};
var nK=function(a){return Vb(a.u,function(b){return"function"===typeof b[1]})},gK=function(a){if(a.F&&a.j&&nK(a)){var b=a.F,c=oK[b];c&&(Fa.clearTimeout(c.Va),delete oK[b]);a.F=0}a.h&&(a.h.s--,delete a.h);b=a.l;for(var d=c=!1;a.u.length&&!a.D;){var e=a.u.shift(),f=e[0],g=e[1];e=e[2];if(f=a.C?g:f)try{var h=f.call(e||a.K,b);void 0!==h&&(a.C=a.C&&(h==b||a.isError(h)),a.l=b=h);if(kt(b)||"function"===typeof Fa.Promise&&b instanceof Fa.Promise)d=!0,a.D=!0}catch(m){b=m,a.C=!0,nK(a)||(c=!0)}}a.l=b;d&&(h=Ya(a.H,
a,!0),d=Ya(a.H,a,!1),b instanceof dK?(jK(b,h,d),b.N=!0):b.then(h,d));c&&(b=new pK(b),oK[b.Va]=b,a.F=b.Va)},Hda=function(){var a=new dK;a.callback(new qK(200,""));return a},Ida=function(a){var b=new dK;a.then(function(c){b.callback(c)},function(c){b.g(c)});return b},Jda=function(a){var b=new dK;b.g(a);return b},hK=function(){Gb.call(this)};w(hK,Gb);hK.prototype.message="Deferred has already fired";hK.prototype.name="AlreadyCalledError";var eK=function(){Gb.call(this)};w(eK,Gb);
eK.prototype.message="Deferred was canceled";eK.prototype.name="CanceledError";var pK=function(a){this.Va=Fa.setTimeout(Ya(this.h,this),0);this.g=a};pK.prototype.h=function(){delete oK[this.Va];throw this.g;};var oK={};var sK=function(a){V.call(this);this.id=Kda++;this.V=[];this.h={};this.F={};this.s={};this.g={};this.j={};this.H={};this.m=a?a.m:new Lv;this.N=!a;this.l=null;a?(this.l=a,this.s=a.s,this.g=a.g,this.F=a.F,this.j=a.j):$a();a=rK(this);this!=a&&(a.u?a.u.push(this):a.u=[this])};w(sK,V);var Kda=1,Lda=.05>Math.random(),rK=function(a){for(;a.l;)a=a.l;return a},tK=function(a,b){for(;a;){if(a==b)return!0;a=a.l}return!1};
sK.prototype.get=function(a){var b=uK(this,a);null==b&&this.W&&(b={BOGUS:"Service "+a+" was not registered"});if(null==b)throw new vK(a);return b};
var wK=function(a,b){return!(!a.h[b]&&!a.s[b])},uK=function(a,b){for(var c=a;c;c=c.l){if(c.C())throw Error("AppContext is disposed, can not get "+b+".");if(c.h[b])return c.h[b][0];if(c.H[b])break}if(c=a.s[b]){c=c(a);if(null==c)throw Error("Factory method for service "+b+" returned null or undefined.");a.registerService(b,c);return c}return null},xK=function(a,b,c){return Mda(a,[b],c)[b]},Mda=function(a,b,c){var d=yK(a),e=!c;c={};var f=[],g=[],h={},m={},q=uK(a,Fda),r={};b=n(b);for(var z=b.next();!z.done;r=
{Qb:r.Qb},z=b.next())if(r.Qb=z.value,z=uK(a,r.Qb)){var D=new dK;c[r.Qb]=D;z.lk&&(mK(D,z.lk()),kK(D,Za(function(C){return C},z)));D.callback(z)}else a.j[r.Qb]?(z=a.j[r.Qb].m(),kK(z,function(C){return function(){return a.Kk(C.Qb)}}(r)),c[r.Qb]=z):(z=void 0,r.Qb instanceof bK?z=Gda([r.Qb]).Ax:(D=a.F[r.Qb])&&(z=[D]),!e||z&&z.length?(z&&(q&&r.Qb instanceof bK&&q.dQ()&&(Lda&&(D=q.fQ(Nda),m[r.Qb]=D),q.OP(r.Qb)),f.push.apply(f,p(z)),h[r.Qb]=Nb(z)),g.push(r.Qb)):(z=new dK,c[r.Qb]=z,z.g(new vK(r.Qb))));if(e){if(f.length){a.D&&
0<f.filter(function(C){return!zK(d,C)}).length&&a.D.push(new AK);r=n(g);for(e=r.next();!e.done;e=r.next())a.m.O(new BK("a",e.value));f=CK(yK(a),f,void 0);r={};g=n(g);for(e=g.next();!e.done;r={df:r.df},e=g.next())r.df=e.value,e=h[r.df],b=f[e],b=b instanceof dK?b.m():Ida(b),c[r.df]=b,m[r.df]&&kK(b,function(C){return function(){q.uP(m[C.df])}}(r)),Oda(a,b,r.df,e)}}else for(f={},g=n(g),e=g.next();!e.done;f={je:f.je,Xg:f.Xg},e=g.next())f.je=e.value,f.Xg=h[f.je],e=new dK(function(C){return function(K){var T=
C.je,da=a.g&&a.g[T];if(da){for(var Ka=0;Ka<da.length;++Ka)if(da[Ka].ka==a&&da[Ka].d==K){gc(da,Ka);break}0==da.length&&delete a.g[T]}}}(f)),c[f.je]=e,(r=a.g[f.je])||(a.g[f.je]=r=[]),f.Xg&&Pda(a,e,f.je,f.Xg),kK(e,function(C){return function(){return a.Lk(C.je,C.Xg)}}(f)),r.push({ka:a,d:e});return c},Pda=function(a,b,c,d){kK(b,function(){var e=yK(this);this.D&&this.D.push(new AK);return e.load(d)},a);lK(b,Ya(a.Do,a,c,d))},Oda=function(a,b,c,d){kK(b,function(){this.m.O(new BK("b",c))},a);lK(b,Ya(a.Do,
a,c,d));kK(b,Ya(a.Lk,a,c,d))};k=sK.prototype;k.Lk=function(a,b){var c=uK(this,a);if(null==c){if(this.j[a]){var d=this.j[a].m();kK(d,Ya(this.Lk,this,a,b));return d}if(!b)throw Error("Module undefined but service or factory "+a+" not registered with app contexts.");throw new DK(a,b,"Module loaded but service or factory not registered with app contexts.");}return c.lk?(d=new dK,mK(d,c.lk()),d.callback(c),kK(d,Ya(this.Kk,this,a)),d):this.Kk(a)};k.Kk=function(a){this.j[a]&&delete this.j[a];return this.get(a)};
k.Do=function(a,b,c){return c instanceof eK?c:new EK(a,b,c)};k.registerService=function(a,b,c){if(this.C())c||Ss(b);else{this.V.push(a);this.h[a]=[b,!c];c=Qda(this,this,a);for(var d=0;d<c.length;d++)c[d].callback(null);delete this.F[a];a instanceof bK&&cK(a,b.constructor);return b}};k.unregisterService=function(a){if(!this.h[a])throw Error('Service for "'+a+'" is not registered');var b=this.h[a];delete this.h[a];b[1]&&Ss(b[0])};
var FK=function(a,b,c){a.s[b]=c;if(c=a.g[b]){if(1<c.length){for(var d=0;d<c.length;++d)c[d].index=d;c.sort(Rda)}for(;c.length;)c.shift().d.callback(null);delete a.g[b]}},Rda=function(a,b){if(a.ka!=b.ka){if(tK(a.ka,b.ka))return 1;if(tK(b.ka,a.ka))return-1}return a.index<b.index?-1:a.index==b.index?0:1},Qda=function(a,b,c){var d=[],e=a.g[c];e&&(Rb(e,function(f){tK(f.ka,b)&&(d.push(f.d),fc(e,f))}),0==e.length&&delete a.g[c]);return d},Sda=function(a,b){a.g&&Fc(a.g,function(c,d,e){Rb(c,function(f){f.ka==
b&&fc(c,f)});0==c.length&&delete e[d]})};sK.prototype.ba=function(){if(rK(this)==this){var a=this.u;if(a)for(;a.length;)a[0].dispose()}else{a=rK(this).u;for(var b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(var c in this.h)a=this.h[c],a[1]&&a[0].dispose&&a[0].dispose();this.h=null;this.N&&this.m.dispose();Sda(this,this);this.g=null;Ss(this.K);this.H=this.K=null;sK.Kb.ba.call(this)};
var yK=function(a){return a.G?a.G:a.l?yK(a.l):null},Tda=function(a){!GK&&HK&&(GK=HK());a.G=GK},vK=function(a){Gb.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'};w(vK,Gb);var EK=function(a,b,c){Gb.call(this);this.cause=c;this.message='Module "'+b+'" failed to load when requesting the service "'+a+'" [cause: '+c+"]";this.stack=c.stack+"\nWRAPPED BY:\n"+this.stack};w(EK,Gb);
var DK=function(a,b,c){Gb.call(this);this.message='Configuration error when loading the module "'+b+'" for the service "'+a+'": '+c};w(DK,Gb);var AK=function(){Pf()},BK=function(a){W.call(this,a)};w(BK,W);var Nda=new aK(new function(){},1);var IK=function(a,b,c,d,e){d=void 0===d?Uda:d;e=void 0===e?null:e;V.call(this);this.l=a;this.V=b;this.K=d;this.j=e;this.h=-1;this.F=zt();this.g=null;this.m=!1;this.G=0;this.H=this.D=void 0;this.Va=++Vda;this.W=c};t(IK,V);IK.prototype.N=function(a){this.h=a;JK(this);return!0};IK.prototype.u=function(){return this.F.promise};IK.prototype.s=function(){return this.m};var KK=function(a){null==a.g&&(a.g=a.V(),JK(a));return a.g};k=IK.prototype;k.xl=function(a){this.G=a};k.lj=function(){return this.G};
k.fi=function(a,b){void 0!==b&&(b=Math.max(a,b));this.D=a;this.H=b};k.Oh=function(){return this.D};k.wl=function(){return this.H};var JK=function(a){if(a.g&&-1!=a.h){var b=a.g;"function"===typeof b.J?(a=Yl(new Wl,a.h),b.J(a)):"function"===typeof b.aa&&b.aa()}};IK.prototype.Io=function(){return this.l};IK.prototype.Go=function(){return KK(this).toString()};IK.prototype.toString=function(){return"[Operation id: "+this.Va+": "+this.l+", version: "+this.h+"]"};function Uda(){return[]}var Vda=0,LK=function(){Gb.call(this)};
t(LK,Gb);LK.prototype.message="Operation has already been executed.";LK.prototype.name="AlreadyExecutedError";var MK=function(a){this.h=a};MK.prototype.yg=function(){return!0};MK.prototype.cd=function(){};MK.prototype.dd=function(){};MK.prototype.xd=function(){};var NK=function(){MK.apply(this,arguments)};t(NK,MK);var OK=function(){NK.apply(this,arguments)};t(OK,NK);k=OK.prototype;k.cd=function(a){return new IK("hangouts/add",function(){var b=new zB;return Nl(b,4,a)},QD,function(b){return S(b,wB,5)})};k.dd=function(a){return new IK("hangouts/modify",function(){var b=new pE;return Nl(b,4,a)},rE,function(b){return S(b,wB,4)})};k.xd=function(){return null};
k.wd=function(a){return new IK("hangouts/query",function(){var b=new KB,c=a.ta();return P(b,2,c)},VD,function(b){return[R(b,wB,2)]},{set:function(b,c){return U(b,8,c)},get:function(b){return R(b,VD,8)}})};k.Ld=function(a){return this.wd(a)};var PK=function(){NK.apply(this,arguments)};t(PK,NK);k=PK.prototype;k.cd=function(a){return new IK("hangout_participants/add",function(){var b=new IB;return Nl(b,6,a)},SD,function(b){return S(b,BB,5)})};k.dd=function(a){return new IK("hangout_participants/modify",function(){var b=new tE;return Nl(b,4,a)},vE,function(b){return S(b,BB,4)})};k.xd=function(a,b){var c=b&&b.jYdIne||0;return new IK("hangout_participants/remove",function(){var d=CE(new BE,a);return P(d,5,c)},DE)};
k.wd=function(a){return new IK("hangout_participants/query",function(){var b=new wE;var c=a.ta();b=P(b,2,c);c=a.Z();return P(b,3,c)},xE,function(b){return[R(b,BB,2)]})};k.Ld=function(a){return new IK("hangout_participants/search",function(){var b=new JB,c=a.ta();return P(b,2,c)},UD,function(b){return S(b,BB,2)},{set:function(b,c){return U(b,7,c)},get:function(b){return R(b,UD,7)}})};var QK=function(){NK.apply(this,arguments)};t(QK,NK);k=QK.prototype;k.cd=function(a){return new IK("media_sources/add",function(){var b=new iD;return Nl(b,4,a)},eE,function(b){return S(b,VC,4)})};k.dd=function(a){return new IK("media_sources/modify",function(){var b=new wH;return Nl(b,4,a)},xH,function(b){return S(b,VC,4)})};k.xd=function(){return null};
k.wd=function(a){return new IK("media_sources/query",function(){var b=new yH;var c=a.ta();b=P(b,2,c);c=a.Z();b=P(b,3,c);c=a.Ea();return P(b,4,c)},zH,function(b){return[R(b,VC,2)]})};k.Ld=function(a){return new IK("media_sources/search",function(){var b=new jD,c=a.ta();return P(b,2,c)},gE,function(b){return S(b,VC,2)},{set:function(b,c){return U(b,6,c)},get:function(b){return R(b,gE,6)}})};var RK=function(a){var b=a.Vd,c=a.Wd,d=a.de,e=a.ee,f=a.ae,g=a.Yd,h=a.Zd,m=a.be,q=a.ce,r=a.ci,z=a.Hx;this.g=a.Xd;this.F=b;this.D=c;this.N=d;this.u=b.concat(d);this.W=c.concat(e);this.l=f;this.G=g;this.H=h;this.K=m;this.s=g.concat(m);this.V=h.concat(q);this.m=r||Bc;this.C=z||Ma};RK.prototype.j=function(a){if(a instanceof this.g)var b=this.F;else if(a instanceof this.l)b=this.G;else return Mb("Passed in object did not match resource or identifier type"),[];return b.map(function(c){return c.call(a)})};
var SK=function(a,b){if(b instanceof a.g)a=a.N;else if(b instanceof a.l)a=a.K;else return Mb("Passed in object did not match resource or identifier type"),[];return a.map(function(c){return c.call(b)})};RK.prototype.h=function(a){if(a instanceof this.g)var b=this.u;else if(a instanceof this.l)b=this.s;else return Mb("Passed in object did not match resource or identifier type"),[];return b.map(function(c){return c.call(a)})};
RK.prototype.ob=function(a,b){var c=this.W;a.length!=c.length&&(b?a=a.concat(b):c=this.D);var d=new this.g;a.forEach(function(e,f){c[f].call(d,e)});return d};
var TK=function(a,b){var c=a.V;b.length!=c.length&&(c=a.H);var d=new a.l;b.forEach(function(e,f){c[f].call(d,e)});return d},UK=function(a,b){if(b instanceof a.g)a=a.u;else if(b instanceof a.l)a=a.s;else return Mb("Passed in item did not match resource or identifier type"),!1;return a.every(function(c){return null!=c.call(b)})},WK=function(a,b,c){b=VK(a,b,a.h);a=VK(a,c,a.h);return tc(b,a)},XK=function(a,b){return b instanceof a.g?b:new a.g(JSON.parse(b.va()))},VK=function(a,b,c){return b instanceof
Array?b:c.call(a,b)};var YK=function(){return new RK({Xd:BB,Vd:[BB.prototype.ta],Wd:[BB.prototype.u],de:[BB.prototype.Z],ee:[BB.prototype.l],ae:yE,Yd:[yE.prototype.ta],Zd:[yE.prototype.l],be:[yE.prototype.Z],ce:[yE.prototype.u]})};var ZK=new bK("b2QWee","hl"),$K=new bK("e6ID2c","hl"),aL=new bK("PvLNsc","hl"),bL=new bK("VzLulf","rsr");var cL=function(a){this.h=xK(a,$K,!0)};cL.prototype.logImpression=function(a,b){this.h.then(function(c){return c.logImpression(a,b)})};cL.prototype.g=function(a,b){this.h.then(function(c){return c.g(a,b)})};var dL=1,Wda=1,eL=function(a){V.call(this);this.h=new Set;(this.g=a)&&a.T(this)};t(eL,V);eL.prototype.signal=function(){return fL(this,!1)};var gL=function(a){return fL(a,!0)};eL.prototype.R=function(a,b){return hL({signal:iL(this,a),data:b})};
var jL=function(a,b,c){c=void 0===c?function(e){return e}:c;var d=iL(a,b);return{R:function(e){return a.R(d,c(e))}}},fL=function(a,b){b=new kL(b);a.h.add(b);a.T(b);return b},iL=function(a,b){b.s||(b.s=Xda(a,b)+"-"+Wda++);return b},Xda=function(a,b){return a.g?(a=Object.entries(a.g).find(function(c){c=n(c);c.next();return c.next().value==b}))&&a[0]||"ANONYMOUS":"OWNERLESS"},lL=function(a){this.h=a;this.g=[]};lL.prototype.add=function(a,b){this.g.push({signal:iL(this.h,a),data:b})};
lL.prototype.R=function(){var a=hL.apply(null,p(this.g));this.g.length=0;return a};var kL=function(a){V.call(this);this.g=new Map;this.h=new Set;this.l=a;this.j=!1};t(kL,V);kL.prototype.attach=function(a,b){var c=this,d=dL++;mL(function(){return nL(c,d,a,b)});return d};
var oL=function(a,b,c){var d="function"===typeof c,e=dL++,f=d?c:b;var g=d?g:c;mL(function(){a.j?(b(a.m),nL(a,e,f,g)):d?nL(a,e,Yda(b,f),g):nL(a,e,f,g)});return e},nL=function(a,b,c,d){if(!a.C())if(d){if(!d.C()){var e=function(){return mL(function(){a.g.delete(b);var f=pL.get(d);f&&fc(f,e)})};a.g.set(b,{slot:c,zk:e});qL(d,e)}}else a.g.set(b,{slot:c,zk:function(){return a.g.delete(b)}})};kL.prototype.detach=function(a){var b=this;mL(function(){var c=b.g.get(a);c&&c.zk()})};
kL.prototype.value=function(a){return rL(this,!0,a)};kL.prototype.next=function(a){return rL(this,!1,a)};var rL=function(a,b,c){var d=zt();mL(function(){if(a.C())d.reject(new mt("Signal initially disposed"));else if(c&&c.C())d.reject(new mt("Owner initially disposed"));else if(b&&a.l&&a.j)d.resolve(a.m);else if(a.h.add(d),Ct(d.promise,function(){a.h.delete(d)}),c){var e=function(){d.reject(new mt("Owner asynchronously disposed"))};Ct(d.promise,function(){var f=pL.get(c);f&&fc(f,e)});qL(c,e)}});return d.promise};
kL.prototype.ba=function(){var a=this;V.prototype.ba.call(this);mL(function(){a.g.forEach(function(b){b=b.zk;return b()});a.g.clear();a.h.forEach(function(b){return b.reject(new mt("Signal asynchronously disposed"))});a.h.clear()})};
var hL=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return 0==b.length?Promise.resolve():1==b.length?(b=b[0],sL(b.signal,b.data)):Promise.all(b.map(function(d){return sL(d.signal,d.data)}))},sL=function(a,b){return new Promise(function(c){mL(function(){a.g.forEach(function(d){d=d.slot;try{d(b)}catch(e){Ys(e)}});a.h.forEach(function(d){return d.resolve(b)});a.h.clear();a.l&&(a.m=b,a.j=!0);c()})})},tL=[],uL=!1,mL=function(a){tL.push(a);Zda()},Zda=function(){var a,b;Da(function(c){switch(c.g){case 1:if(uL){c.cb(0);
break}sa(c,3,4);uL=!0;a=vL(0);case 6:if(!(a<tL.length)){c.cb(4);break}return u(c,Promise.resolve(),8);case 8:a=vL(a);c.cb(6);break;case 4:c.F=[c.j];c.m=0;c.l=0;tL.length=0;uL=!1;va(c);break;case 3:b=ua(c),Ys(b),c.cb(4)}})},vL=function(a){for(var b=a+100;a<b&&a<tL.length;)try{tL[a++]()}catch(c){Ys(c)}return a},pL=new WeakMap,qL=function(a,b){if(a.C())b();else{var c=pL.get(a);if(c)c.push(b);else{var d=[b];pL.set(a,d);Rs(a,function(){[].concat(p(d)).forEach(function(e){return e()});pL.delete(a)})}}},
Yda=function(a,b){var c=!0;return function(d){c?(c=!1,a(d)):b(d)}};var wL=function(){V.call(this);this.l=new eL(this);this.j=this.l.signal()};t(wL,V);var xL=function(a){a.l.R(a.j,void 0)};var yL=function(a){L(this,a,0,-1,null,null)};w(yL,J);var zL=function(a){L(this,a,0,-1,$da,null)};w(zL,J);var AL=function(a){L(this,a,0,-1,null,null)};w(AL,J);var $da=[3];AL.prototype.getName=function(){return M(this,2)};/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var BL={us:["BC","AD"],ts:["Before Christ","Anno Domini"],Is:"JFMAMJJASOND".split(""),it:"JFMAMJJASOND".split(""),Fs:"January February March April May June July August September October November December".split(" "),ht:"January February March April May June July August September October November December".split(" "),et:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),kt:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Et:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
mt:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),gt:"Sun Mon Tue Wed Thu Fri Sat".split(" "),lt:"Sun Mon Tue Wed Thu Fri Sat".split(" "),iI:"SMTWTFS".split(""),jt:"SMTWTFS".split(""),ft:["Q1","Q2","Q3","Q4"],Ps:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Wr:["AM","PM"],VD:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],qN:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],WD:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],an:6,MO:[5,6],bn:5},CL=BL;
CL=BL;var DL=function(a,b,c,d,e){a=new Date(a,b,c);e=e||0;return a.valueOf()+864E5*(((void 0!==d?d:3)-e+7)%7-((a.getDay()+6)%7-e+7)%7)};var EL=function(){},GL=function(a){if("number"==typeof a){var b=new EL;b.h=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Ce(c,2));c=d.join("")}b.l=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=FL(a);b.C=[c,c];b.g={zM:a,tn:a};b.j=[];return b}b=new EL;b.l=a.id;b.h=-a.std_offset;b.C=a.names;b.g=a.names_ext;b.j=a.transitions;return b},FL=
function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ce(Math.floor(a/60)%100,2),":",Ce(a%60,2));return b.join("")},HL=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.j.length&&b>=a.j[c];)c+=2;return 0==c?0:a.j[c-1]};var JL=function(){this.h=[];this.g=CL;var a="HH:mm:ss";for(aea&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<IL.length;++c){var d=a.match(IL[c]);if(d){var e=d[0];a=a.substring(e.length);0==c&&("''"==e?e="'":(e=e.substring(1,"'"==d[1]?e.length-1:e.length),e=e.replace(/''/g,"'")));this.h.push({text:e,type:c});break}}if(b===a)throw Error("Malformed pattern part: "+a);}},IL=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEahKHcLQdmsvVwzZ]+/],
KL=function(a){return a.getHours?a.getHours():0};
JL.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-(b.h-HL(b,a))):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=6E4*(d.getTimezoneOffset()-a.getTimezoneOffset()),d=new Date(d.getTime()+e),c+=0<c?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var f=0;f<this.h.length;++f){var g=this.h[f].text;1==this.h[f].type?c.push(bea(this,g,a,d,e,b)):c.push(g)}return c.join("")};
var LL=function(a,b){b=String(b);a=a.g||CL;if(void 0!==a.Ft){for(var c=[],d=0;d<b.length;d++){var e=b.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(a.Ft+e-48):b.charAt(d))}b=c.join("")}return b},aea=!1,ML=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");},bea=function(a,b,c,d,e,f){var g=b.length;switch(b.charAt(0)){case "G":return c=0<d.getFullYear()?
1:0,4<=g?a.g.ts[c]:a.g.us[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==g&&(c%=100),LL(a,Ce(c,g));case "Y":return c=(new Date(DL(d.getFullYear(),d.getMonth(),d.getDate(),a.g.bn,a.g.an))).getFullYear(),0>c&&(c=-c),2==g&&(c%=100),LL(a,Ce(c,g));case "M":a:switch(c=d.getMonth(),g){case 5:g=a.g.Is[c];break a;case 4:g=a.g.Fs[c];break a;case 3:g=a.g.et[c];break a;default:g=LL(a,Ce(c+1,g))}return g;case "k":return ML(e),LL(a,Ce(KL(e)||24,g));case "S":return LL(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,
g)).substr(2)+(3<g?Ce(0,g-3):""));case "E":return c=d.getDay(),4<=g?a.g.Et[c]:a.g.gt[c];case "a":return ML(e),g=KL(e),a.g.Wr[12<=g&&24>g?1:0];case "h":return ML(e),LL(a,Ce(KL(e)%12||12,g));case "K":return ML(e),LL(a,Ce(KL(e)%12,g));case "H":return ML(e),LL(a,Ce(KL(e),g));case "c":a:switch(c=d.getDay(),g){case 5:g=a.g.jt[c];break a;case 4:g=a.g.mt[c];break a;case 3:g=a.g.lt[c];break a;default:g=LL(a,Ce(c,1))}return g;case "L":a:switch(c=d.getMonth(),g){case 5:g=a.g.it[c];break a;case 4:g=a.g.ht[c];
break a;case 3:g=a.g.kt[c];break a;default:g=LL(a,Ce(c+1,g))}return g;case "Q":return c=Math.floor(d.getMonth()/3),4>g?a.g.ft[c]:a.g.Ps[c];case "d":return LL(a,Ce(d.getDate(),g));case "m":return ML(e),LL(a,Ce(e.getMinutes(),g));case "s":return ML(e),LL(a,Ce(e.getSeconds(),g));case "v":return g=f||GL(c.getTimezoneOffset()),g.l;case "V":return a=f||GL(c.getTimezoneOffset()),2>=g?a.l:0<HL(a,c)?void 0!==a.g.ns?a.g.ns:a.g.DST_GENERIC_LOCATION:void 0!==a.g.tn?a.g.tn:a.g.STD_GENERIC_LOCATION;case "w":return c=
DL(e.getFullYear(),e.getMonth(),e.getDate(),a.g.bn,a.g.an),LL(a,Ce(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,g));case "z":return a=f||GL(c.getTimezoneOffset()),4>g?a.C[0<HL(a,c)?2:0]:a.C[0<HL(a,c)?3:1];case "Z":return b=f||GL(c.getTimezoneOffset()),4>g?(g=-(b.h-HL(b,c)),a=[0>g?"-":"+"],g=Math.abs(g),a.push(Ce(Math.floor(g/60)%100,2),Ce(g%60,2)),g=a.join("")):g=LL(a,FL(b.h-HL(b,c))),g;default:return""}};var NL=function(a){var b=R(a,WJ,1)||new WJ;U(a,1,b);return b},cea=function(a){var b=R(a,bB,5)||new bB;U(a,5,b)},OL=function(a){a=NL(a);var b=R(a,LJ,1)||new LJ;U(a,1,b);return b},PL=function(a){var b=R(a,PJ,3)||new PJ;U(a,3,b);return b};function QL(a,b){b=void 0===b?!1:b;var c=new bB;a=P(c,2,a);return P(dB(a,RL(b)),3,1)}function RL(a){return $e?Te?2:3:af?4:bf?5:(void 0===a?0:a)?ie("Linux")?17:18:1};var SL=new bK("n73qwf");var dea=function(a,b,c){this.g=a;this.h=b;this.j=c};var TL=function(a){L(this,a,"hc:cc",-1,eea,null)};w(TL,J);var UL=function(a){L(this,a,0,-1,null,null)};w(UL,J);var eea=[14,15];TL.messageId="hc:cc";k=TL.prototype;k.dc=function(){return M(this,6)};k.wg=function(){return Dl(this,18)};k.xh=function(){return M(this,20)};k.yh=function(){return M(this,21)};k.Ah=function(){return O(this,22,!1)};var VL=function(a,b,c,d){Gb.call(this);this.status=a;this.j=b;this.g=c;this.response=d};t(VL,Gb);VL.prototype.toString=function(){var a="["+this.status+"/"+this.j;null!=this.g&&(a+="/"+this.g);null!=this.response&&(a+=": ",a=Qa(this.response)?a+Tn(this.response,this.h,this).join("; "):a+this.h(this.response));return a+"]"};
VL.prototype.h=function(a){if(null!=a&&null!=a.error){var b=a.error;a=b.message+" "+b.code;b=b.data||b.errors;null!=b&&(b=Tn(b,function(c){var d=c.domain+" - "+c.reason;null!=c.debugInfo&&(d+=" = "+Fe(c.debugInfo,"\n",4).slice(0,3).join(" - "));return d}),Rn(b)||(a+=": "+b.join(", ")));return a}return Qa(a)&&0<a.length?String(a):"Unknown"};var WL=function(){this.K={}},fea=function(a,b){a.K=b||{};return a};var XL=function(a,b,c,d){this.l=a;this.C=b;this.j=this.g=a;this.m=c||0;this.s=d||2};XL.prototype.h=0;XL.prototype.reset=function(){this.j=this.g=this.l;this.h=0};var YL=function(a){a.j=Math.min(a.C,a.j*a.s);a.g=Math.min(a.C,a.j+(a.m?Math.round(a.m*(Math.random()-.5)*2*a.j):0));a.h++};var $L=function(){this.K={};this.g=new ZL};t($L,WL);k=$L.prototype;k.toString=function(){return"<# "+this.l+" to "+(this.j||"")+" for "+this.h+">"};k.sm=function(a){this.j=a;return this};k.Yl=function(a){this.h=a;return this};k.im=function(){return this};k.nm=function(){return this};k.tm=function(){return this};k.mm=function(){return this};k.di=function(){return this};k.Lg=function(){};k.um=function(){return this};k.zh=function(){return this.g};k.vr=function(){};k.Kq=function(){};k.cancel=function(){this.Lg("c")};
var ZL=function(){};ZL.prototype.km=function(a){this.g=a;return this};ZL.prototype.lm=function(){};ZL.prototype.callback=function(a){this.g(a)};var aM=function(a,b,c,d){this.status=a;this.Cd=b;this.g=c;this.response=d};aM.prototype.toString=function(){var a="["+this.status+"/"+this.Cd;null!=this.g&&(a+="/"+this.g);null!=this.response&&null!=this.response.Mb&&(a+=": ",a=Qa(this.response.Mb)?a+Tn(this.response.Mb,this.h,this).join("; "):a+this.h(this.response.Mb));return a+"]"};
aM.prototype.h=function(a){if(a&&(a.error||a.Mb&&a.Mb.error)){var b=a.error||a.Mb.error;a=b.message+" "+b.code;b=b.data||b.errors;null!=b&&(b=Tn(b,function(c){var d=c.domain+" - "+c.reason;null!=c.debugInfo&&(d+=" = "+Fe(c.debugInfo,"\n",4).slice(0,3).join(" - "));return d}),Rn(b)||(a+=": "+b.join(", ")));return a}return Qa(a)&&0<a.length?a+"":JSON.stringify(a)};var cM=function(){this.K={};this.ea=new bM;this.G=new XL(1E3,36E4);this.g=new XL(6E4,6E4);this.W=!1;this.Ab=[];this.s=[]};t(cM,WL);var gea=function(a){var b=$a();a.m=b;return a};cM.prototype.sm=function(a){this.F=a;return this};cM.prototype.Yl=function(a){this.C=a;return this};cM.prototype.im=function(a){this.ja=a;return this};var dM=function(a){return a.ja||a.C};k=cM.prototype;k.nm=function(a){this.N=a;return this};k.tm=function(a){this.Y=a;return this};k.mm=function(a){this.u=a;return this};
k.di=function(a){this.V=a;return this};k.Lg=function(a){this.l=a};k.um=function(a){this.D=a;return this};k.zh=function(){return this.ea};var hea=function(a,b){a.h=b};cM.prototype.vr=function(a){this.j=a};cM.prototype.Kq=function(a){this.g=0>=a?null:new XL(a,a)};var iea=function(a){var b=a.G?a.G.g:0;b=Math.min(b,24E4);b=Math.round(.5*b)+Math.floor(Math.random()*b);a.G&&YL(a.G);a.j--;return b+0};cM.prototype.cancel=function(){this.W=!0;this.Lg("c")};
cM.prototype.toString=function(){return"<Request to "+dM(this)+" with payload "+this.V+">"};var bM=function(){};bM.prototype.km=function(a){this.g=a;return this};bM.prototype.lm=function(a){this.h=a};bM.prototype.callback=function(a){this.g(a)};var eM=function(a,b){Lv.call(this);this.j=!1;this.G=zt();this.m=a;this.m.h.promise.then(function(){this.G.resolve(null);this.j=!0;this.O("d")},null,this);this.l=b?[b]:[];this.o=jg("realtime.network.RetryClient");this.H=0;this.D=[];this.h=new Zm;this.g=new Zm};t(eM,Lv);eM.prototype.ba=function(){Lv.prototype.ba.call(this);var a=this.h.Ub();Qb(a,Pv);a=this.g.Ub();Qb(a,Pv)};var jea=function(a,b){Qb(a.D,function(c){c.g(b)},a)};eM.prototype.request=function(a){kea(this,a)};
var kea=function(a,b){if(!a.C()&&!b.W)if(a.j){hea(b,a.H++);a.l.forEach(function(e){return e.onRequest(b)});try{og(a.o,"Sending request, path = "+b.C+", requestNum = "+b.h);b.Lg("p");var c=null!=fM?dn(fM):null;jea(a,b);var d=a.m.sendRequest(gea(b),c);d.then(Za(a.s,b),Za(a.u,b),a);null!=(b.g?b.g.g:null)&&a.g.set(b.h,Ov(Ya(a.K,a,b,d),(b.g?b.g.g:null)||void 0))}catch(e){lg(a.o,"Failed to enqueue Apiary request: ",e),gM(a,b,new aM("fatal","request_queuing",null,null),0)}}else mg(a.o,"Apiary Client request while client is not ready")};
eM.prototype.K=function(a,b){var c=new aM("retry","deadline_exceeded",null,null);b.cancel();gM(this,a,c,0)};
eM.prototype.s=function(a,b){hM(this,a);if(!this.C()&&"p"==a.l){var c="ok";a.Lg("o");a.zh().callback(b);if("o"!=a.l){var d="response_callback";switch(a.l){case "r":c="retry";break;case "d":c="fatal";break;default:lg(this.o,"Received an unexpected response state: "+a.l)}}"ok"==c?(pg(this.o,"Apiary response succeeded."),this.l.forEach(function(e){return e.u(a,b)})):gM(this,a,new aM(c,d,b.Rd,b),0)}iM(this,a)};
var hM=function(a,b){var c=a.h.get(b.h);null!=c&&(a.h.remove(b.h),Pv(c))},iM=function(a,b){var c=a.g.get(b.h);null!=c&&(a.g.remove(b.h),Pv(c))};
eM.prototype.u=function(a,b){if(!(b instanceof mt)){hM(this,a);if(!this.C()&&"p"==a.l){var c=b.Cd,d=b.status,e=0;if("network_or_frontend"==b.Cd){switch(b.g){case -1:case 0:case 6:c="transport_unavailable";d="retry";break;case 8:c="deadline_exceeded";d="retry";break;case 400:c="bad_request";d="fatal";break;case 401:c="unauthorized";d="fatal";break;case 402:c="payment_required";d="fatal";break;case 403:c="forbidden";d="fatal";break;case 102:c="processing";break;case 500:c="internal_server_error";break;
case 503:c="service_unavailable"}b.status=d;b.Cd=c;if(null!=b.response.headers&&null!=b.response.headers["Retry-After"])try{e=1E3*parseInt(b.response.headers["Retry-After"],10),e=Math.min(Math.max(e,0),72E5)}catch(f){}}gM(this,a,b,e)}iM(this,a)}};
var gM=function(a,b,c,d){if(!a.C()&&("p"==b.l||"r"==b.l)){og(a.o,"Request failed: "+b.h+" to "+(b.F||"")+" for path "+b.C);a.l.forEach(function(f){return f.onError(b,c)});var e=null!=b.j?b.j:0;"retry"==c.status&&0<e?(a.h.set(b.h,Ov(Ya(a.request,a,b),Math.max(iea(b),d))),"deadline_exceeded"==c.Cd&&b.g&&YL(b.g)):(b.cancel(),b.zh().h(c))}},fM=null;var jM=function(a,b,c,d,e){e=void 0===e?"https://clients6.google.com":e;Lv.call(this);var f=this;this.j=a;this.m=b;this.s=c;this.l=d;this.u=e;this.g=a instanceof eM;this.H=new nt(function(g){f.j.j?g():Ev(f.j,f.g?"d":"c",function(){return g()})});this.D=function(){return{}}};t(jM,Lv);
jM.prototype.request=function(a,b,c,d,e,f,g){var h=this;g=void 0===g?!0:g;this.H.then(function(){var m=(h.g?new cM:new $L).sm(h.u).im(a).Yl("/"+h.m+"/"+h.s+"/"+a).nm(b).tm(c).um(g).di(d).mm(Object.assign({},h.D()));(new nt(function(q,r){m.zh().km(q).lm(r)})).then(e,f);h.j.request(m)})};
jM.prototype.makeRequest=function(a,b,c,d,e,f,g,h,m){var q=this;m=void 0===m?{}:m;var r=td(De(this.l))?{}:{key:this.l};m=Object.assign({},this.D(),m);var z=fea((this.g?new cM:new $L).sm(this.u).im(a).Yl("/"+this.m+"/"+this.s+"/"+a).nm("POST").tm(r).um(!0).di(b),g).mm(m);h&&z instanceof cM&&(z.H=h);null!=d&&(null!=f&&z instanceof cM&&f>d?z.g=0>=d?null:new XL(d,f):z.Kq(d));null!=e&&z.vr(e);var D=zt();z.zh().km(function(C){var K=null;try{K=q.G(C,c)}catch(Ka){C=q.g?new aM("fatal","response_decoding",
null,C):new VL("fatal","response_decoding",null,C);D.reject(C);return}var T=0;if(K&&"function"===typeof K.getResponseHeader){var da=K.getResponseHeader();da&&"function"===typeof da.Ha&&(T=da.Ha())}1==T?D.resolve(K):!q.g||2!=T&&3!=T?(K=11===T,q.g?D.reject(new aM("fatal",K?"not_found":"backend",null,C)):D.reject(new VL("fatal",K?"not_found":"backend",null,C))):z.Lg("r")}).lm(function(C){return D.reject(C)});this.H.then(function(){return q.j.request(z)});return D.promise};
jM.prototype.G=function(a,b){a=this.g?a.Mb:a;return a instanceof J?a:0<a.length?new b(a):null};var kM=function(a,b,c){a=or(a,encodeURIComponent("$ct"),c);if(null==navigator.sendBeacon||!navigator.sendBeacon(a,b)){c=a;var d="POST",e=b;a=or(a,encodeURIComponent("$httpMethod"),"POST");a=or(a,encodeURIComponent("$req"),b);2048>a.length&&(c=a,d="GET",e=null);try{var f=bw($v);f.open(d,c,!1);f.send(e)}catch(g){b=jg("realtime.network.Beacon"),lg(b,"Cannot fallback from sendBeacon",g)}}};var lM=function(a){return(a=a.X())&&a.vb()},mM=function(a){a=a.getResponseHeader();return!!a&&1===a.Ha()},lea=function(a){a=(a=a[0]&&R(a[0],IB,1))&&S(a,BB,6)||[];return 1==a.length?a[0].ta():null};var nM=function(a,b,c,d,e,f){jM.call(this,a,b,c,d,e);this.h=f||new dx;this.K=new eL(this);this.N=this.K.signal()};t(nM,jM);var oM=function(a,b,c,d,e,f){return new nM(a,b,c,d,e,f)};nM.prototype.makeRequest=function(a,b,c,d,e,f,g,h,m){!0!==h&&pM(this,b);return jM.prototype.makeRequest.call(this,a,b,c,d,e,f,g,h&&h.va?h:null,m).then(this.W,null,this)};var pM=function(a,b){if(b&&a.h.g&&"function"===typeof b.X&&"function"===typeof b.J){var c=b.X()||new Wl;U(c,3,a.h.g);b.J(c)}};
nM.prototype.W=function(a){"function"===typeof a.getResponseHeader&&mM(a)&&qM(this,a);return a};var qM=function(a,b){(b=(b="function"===typeof b.X&&b.X()||null)&&R(b,Xl,3))&&ex(a.h,b)};nM.prototype.G=function(a,b){(a=jM.prototype.G.call(this,a,b))&&a instanceof nE&&(b=a.getResponseHeader())&&S(a,lE,2).length&&P(b,1,1);return a};var sM=function(a,b,c,d,e,f){var g=this;f=void 0===f?{}:f;this.m=a;this.C=b;this.g=c;this.j={};Fc(d,function(h,m){return rM(g,m,h)});this.h=Rc(f);this.l=null;this.l=e?e.clone():null};sM.prototype.getContext=function(){return this.m};sM.prototype.Pd=function(){var a={};Fc(this.j,function(b,c){b="function"===typeof b?b():b;null!=b&&(a[c]=b)});return a};
var tM=function(a,b){a=a.j[b.toLowerCase()]||null;return"function"===typeof a?a():a},rM=function(a,b,c){b=b.toLowerCase();null==c?delete a.j[b]:a.j[b]=c};sM.prototype.clone=function(){return new sM(this.m,this.C,this.g,this.j,this.l,this.h)};var uM=function(){};uM.prototype.g=function(a){!tM(a,"X-Goog-Meeting-RtcClient")&&vM&&rM(a,"X-Goog-Meeting-RtcClient",wM())};var vM=!1,xM=null;function wM(){if(xM)return xM;var a=QL(0),b=new Zk;cB(a,b);a=cl(b);return xM=Xk(a)};var yM=function(){V.call(this)};t(yM,V);yM.prototype.init=function(){};yM.prototype.o=jg("fava.debug.ErrorReporter");new yM;jg("fava.debug.errorContext");var zM=function(a,b){V.call(this);this.j=null;this.l=b;this.g=[];if(a>this.l)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(b=0;b<a;b++)this.g.push(this.h())};w(zM,V);var mea=function(a,b){a.j=b},BM=function(a,b){a.g.length<a.l?a.g.push(b):AM(b)};zM.prototype.h=function(){return this.j?this.j():{}};var AM=function(a){if(Ra(a))if("function"===typeof a.dispose)a.dispose();else for(var b in a)delete a[b]};
zM.prototype.ba=function(){zM.Kb.ba.call(this);for(var a=this.g;a.length;)AM(a.pop());delete this.g};var EM=function(){this.g=[];this.h=new Zm;this.G=this.H=this.K=this.s=0;this.j=new Zm;this.m=this.D=0;this.V=1;this.l=new zM(0,4E3);this.l.h=function(){return new CM};this.F=new zM(0,50);this.F.h=function(){return new DM};var a=this;this.u=new zM(0,2E3);mea(this.u,function(){return a.V++});this.C={}};EM.prototype.o=jg("goog.debug.Trace");var DM=function(){this.Nm=this.time=this.count=0};
DM.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.Nm&&a.push(" [VarAlloc = ",this.Nm,"]");return a.join("")};var CM=function(){},nea=function(a,b,c,d){var e=[];-1==c?e.push("    "):e.push(FM(a.eventTime-c));e.push(" ",GM(a.eventTime-b));0==a.eventType?e.push(" Start        "):1==a.eventType?(e.push(" Done "),e.push(FM(a.h-a.startTime)," ms ")):e.push(" Comment      ");e.push(d,a);0<a.g&&e.push("[VarAlloc ",a.g,"] ");return e.join("")};
CM.prototype.toString=function(){return null==this.type?this.comment:"["+this.type+"] "+this.comment};var oea={iQ:!0};EM.prototype.am=function(){this.C={}};var pea=function(a){a.C.stop&&Vm(a.h,function(b){this.C.stop(b.id,oea)},a);a.h.clear()};
EM.prototype.reset=function(){pea(this);for(var a=0;a<this.g.length;a++){var b=this.g[a];b.id?bn(this.h,b.id)||(BM(this.u,b.id),BM(this.l,b)):BM(this.l,b)}this.g.length=0;this.s=$a();this.m=this.D=this.G=this.H=this.K=0;a=this.j.Ub();for(b=0;b<a.length;b++){var c=this.j.get(a[b]);c.count=0;c.time=0;c.Nm=0;BM(this.F,c)}this.j.clear()};
EM.prototype.toString=function(){for(var a=[],b=-1,c=[],d=0;d<this.g.length;d++){var e=this.g[d];1==e.eventType&&c.pop();a.push(" ",nea(e,this.s,b,c.join("")));b=e.eventTime;a.push("\n");0==e.eventType&&c.push("|  ")}if(0!=this.h.wa()){var f=$a();a.push(" Unstopped timers:\n");Vm(this.h,function(g){a.push("  ",g," (",f-g.startTime," ms, started at ",GM(g.startTime),")\n")})}b=this.j.Ub();for(d=0;d<b.length;d++)c=this.j.get(b[d]),1<c.count&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",
this.D,"\n","Total comments created ",this.m,"\n","Overhead start: ",this.K," ms\n","Overhead end: ",this.H," ms\n","Overhead comment: ",this.G," ms\n");return a.join("")};var FM=function(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a},GM=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)};new EM;jg("goog.debug.ErrorReporter");var HM=function(a){this.h=0;this.j=a||100;this.g=[]};k=HM.prototype;k.add=function(a){var b=this.g[this.h];this.g[this.h]=a;this.h=(this.h+1)%this.j;return b};k.get=function(a){a=IM(this,a);return this.g[a]};k.set=function(a,b){a=IM(this,a);this.g[a]=b};k.wa=function(){return this.g.length};k.ec=function(){return 0==this.g.length};k.clear=function(){this.h=this.g.length=0};k.Ja=function(){return JM(this,this.wa())};var JM=function(a,b){var c=a.wa(),d=[];for(b=a.wa()-b;b<c;b++)d.push(a.get(b));return d};
HM.prototype.Ub=function(){for(var a=[],b=this.wa(),c=0;c<b;c++)a[c]=c;return a};HM.prototype.ng=function(a){for(var b=this.wa(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var IM=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return a.g.length<a.j?b:(a.h+Number(b))%a.j};$a();jg("fava.debug.DebugService");var KM=function(){Lv.apply(this,arguments)};t(KM,Lv);KM.prototype.qg=function(a,b,c){try{return Lv.prototype.qg.call(this,a,b,c)}catch(d){return!1}};var LM=function(){KM.call(this);this.o=jg("realtime.pushnotifications.Dispatcher")};t(LM,KM);LM.prototype.g=function(a){var b=R(a,HJ,2),c;if(b)for(a=0;a<MM.length;a++){if(c=MM[a].pb.call(b)){if("p"==MM[a].eventType)for(b=c,a=0;a<MM.length;a++){if(c=NM[a].pb.call(b)){var d=NM[a].eventType;break}}else d=MM[a].eventType;break}}else(b=R(a,KH,3))&&(c=R(b,JH,1))&&(d="l");c?(og(this.o,"Received notification of type "+d),this.O(new OM(d,c))):mg(this.o,"A batch notification is empty.")};
var MM=[{pb:HJ.prototype.wv,eventType:"m"},{pb:HJ.prototype.yv,eventType:"o"},{pb:HJ.prototype.Ru,eventType:"i"},{pb:HJ.prototype.Qu,eventType:"j"},{pb:HJ.prototype.xv,eventType:"n"},{pb:HJ.prototype.Bu,eventType:"f"},{pb:HJ.prototype.Ou,eventType:"g"},{pb:HJ.prototype.Fv,eventType:"C"},{pb:HJ.prototype.Fu,eventType:"h"},{pb:HJ.prototype.Av,eventType:"p"},{pb:HJ.prototype.Pu,eventType:"k"}],NM=[{pb:GJ.prototype.Hu,eventType:"s"},{pb:GJ.prototype.Bv,eventType:"v"},{pb:GJ.prototype.Iv,eventType:"A"},
{pb:GJ.prototype.Jv,eventType:"B"},{pb:GJ.prototype.Dv,eventType:"x"},{pb:GJ.prototype.Ev,eventType:"w"},{pb:GJ.prototype.Gv,eventType:"z"},{pb:GJ.prototype.Hv,eventType:"y"},{pb:GJ.prototype.Du,eventType:"q"},{pb:GJ.prototype.Cu,eventType:"r"},{pb:GJ.prototype.Nu,eventType:"t"}],OM=function(a,b){W.call(this,a);this.notification=b};t(OM,W);var QM=function(a){this.g=new TL(void 0);this.h=qea(a).xx;this.l=new rea;this.j=new LM;null==M(this.g,1)&&P(this.g,1,32);a=PM(this)||"rmjs";P(this.g,2,a);a=M(this.g,3)||"Unknown";P(this.g,3,a);a=M(this.g,4)||"0.0";P(this.g,4,a);null==N(this.g,5,0)&&P(this.g,5,0);a=this.dc()||PM(this)+Ee().toUpperCase();P(this.g,6,a);a=M(this.g,7)||this.dc()+"@fake.com";P(this.g,7,a);null==Cl(this.g,9)&&P(this.g,9,.01);a=M(this.g,10)||null;P(this.g,10,a);a=M(this.g,11)||"https://clients2.google.com/cr/report";P(this.g,
11,a);a=M(this.g,12)||null;P(this.g,12,a);a=R(this.g,yL,13)||new yL;U(this.g,13,a);null==Dl(this.g,8)&&P(this.g,8,!1);null==Dl(this.g,16)&&P(this.g,16,!1);a=M(this.g,14)||[];P(this.g,14,a||[]);a=R(this.g,zL,17)||new zL;U(this.g,17,a);a=this.wg()||null;P(this.g,18,a)};QM.prototype.register=function(a){a.registerService(RM,this);sea(this,a);return this};
var sea=function(a,b){xK(b,ZK).then(function(c){var d={Uh:function(e){var f=QL(N(a.g,5,0),SM(a));U(e,5,f);var g=NL(e);f=R(g,KJ,9)||new KJ;U(g,9,f);g=PM(a);P(f,4,g);e=OL(e);f=M(a.g,7);e=P(e,8,f);f=a.dc();P(e,1,f)},Vh:function(){}};TM(c,d);Rs(b,function(){fc(c.h,d)})})},tea=function(a){return new dea(M(a.g,14),Dl(a.g,8)||!1,!!Dl(a.g,16))},UM=function(a){var b=new eB;var c=new UA;var d=M(a.g,1);c=P(c,1,d);b=U(b,1,c);c=new QA;d=a.dc();c=P(c,1,d);b=U(b,2,c);b=P(b,4,"en");a=QL(N(a.g,5,0),SM(a));return U(b,
7,a)},SM=function(a){return M(a.g,7).endsWith("@hangouts-enterprise-devices.gserviceaccount.com")},PM=function(a){return M(a.g,2)};k=QM.prototype;k.dc=function(){return this.g.dc()};k.wg=function(){return this.g.wg()};k.xh=function(){return this.g.xh()};k.yh=function(){return this.g.yh()};k.Ah=function(){return this.g.Ah()};k.va=function(){return this.g.va()};var RM=new bK("CgjDUd"),rea=function(){};
function qea(a){if(a instanceof nM){var b=a;a=new jM(a.j,a.m,a.s,a.l,a.u);if(vM){var c=function(){var d={};d["X-Goog-Meeting-RtcClient"]=wM();return d};b.D=c;a.D=c}}else a instanceof jM?b=oM(a.j,a.m,a.s,a.l,a.u,new dx):a=b=a;return{wP:a,xx:b}};function VM(a,b){a=UM(a);var c=R(a,QA,2);P(c,4,b);return a};var WM=new WeakMap,XM=function(a,b){wL.call(this);this.o=jg("realtime.collections.apiary.OperationExecutor");this.h=a;this.s=b;this.g=[]};t(XM,wL);var YM=function(a,b){WM.has(a)||(b=new XM(b,function(){return xK(a,aL).then(function(c){return c.h})}),WM.set(a,b));return WM.get(a)},ZM=function(a){return a.s().then(function(b){return VM(a.h,b)})};XM.prototype.execute=function(a,b){if(a.s())throw new LK(a);void 0===b&&a.j?(this.g.push(a),1==this.g.length&&ht(this.m,this)):$M(this,a,b)};
XM.prototype.m=function(){for(var a=0;a+5<this.g.length;)aN(this,this.g.slice(a,a+5)),a+=5;1==this.g.length-a?$M(this,this.g[a]):aN(this,this.g.slice(a));this.g.length=0};
var $M=function(a,b,c){c=void 0===c?b.Oh():c;var d=b.l,e=KK(b);ZM(a).then(function(f){e.setRequestHeader(f);og(a.o,"Making request for operation: "+b+", jid: "+a.h.dc());f=b.lj();var g=Math.max(c,b.wl()||0);Dt(a.h.h.makeRequest(d,e,b.W,c,f,g,{isCollectionOperation:!0}).then(function(h){return bN(a,b,h)}),function(h){return cN(a,b,h)})})},bN=function(a,b,c){var d=c.getResponseHeader();if(1==d.Ha())d="function"===typeof c.X&&null!=c.X()?c.X().vb():null,"string"===typeof d&&(d=parseInt(d,10)),d=null==
d?-1:d,c=b.K(c),c={version:d,data:c},og(a.o,"Apiary operation succeeded for "+b+", result: "+c),b.m=!0,b.F.resolve(c);else{var e=Error(M(d,8));e.stack=M(d,2)||"Missing Stack";lg(a.o,"Apiary operation "+b+" failed with status "+d.Ha(),e);cN(a,b,new VL("fatal","backend",null,c))}},cN=function(a,b,c){b.m=!0;lg(a.o,"Apiary operation failed for "+b+": "+c);b.F.reject(c)},aN=function(a,b){var c=new ND;ZM(a).then(function(d){c.setRequestHeader(d);OD(c,b.map(function(f){return f.j.set(new JD,KK(f))}));og(a.o,
"Making bulk request for "+b.length+"operations , jid: "+a.h.dc());d=Math.max.apply(null,b.map(function(f){return f.lj()}));var e=b.map(function(f){return f.Oh()}).filter(function(f){return void 0!==f});e=e.length?Math.min.apply(null,e):void 0;Dt(a.h.h.makeRequest("hangouts/bulk",c,nE,e,d,void 0,{isCollectionOperation:!0}).then(function(f){return uea(a,b,f)}),function(f){return vea(a,b,f)})})},uea=function(a,b,c){qM(a.h.h,c);var d=S(c,lE,2);b.forEach(function(e,f){(f=e.j.get(d[f]))?(qM(a.h.h,f),bN(a,
e,f)):cN(a,e,new VL("fatal","backend",null,c))})},vea=function(a,b,c){b.forEach(function(d){return cN(a,d,c)})};var dN=function(a,b,c){W.call(this,"D");this.Fc=b;this.nc=a;this.removed=c};t(dN,W);var eN=function(a,b){this.g=a;this.eventType=b};var fN=function(){Lv.call(this)};t(fN,Lv);Na(fN);var gN=function(a){V.call(this);this.pc=a;this.N={}};w(gN,V);var hN=[];gN.prototype.listen=function(a,b,c,d){return iN(this,a,b,c,d)};
var iN=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(hN[0]=c.toString()),c=hN);for(var g=0;g<c.length;g++){var h=xv(b,c[g],d||a.handleEvent,e||!1,f||a.pc||a);if(!h)break;a.N[h.key]=h}return a},kN=function(a,b,c,d){jN(a,b,c,d,void 0)},jN=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)jN(a,b,c[g],d,e,f);else(b=wv(b,c,d||a.handleEvent,e,f||a.pc||a))&&(a.N[b.key]=b)},lN=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)lN(a,b,c[g],d,e,f);else d=d||a.handleEvent,
e=Ra(e)?!!e.capture:!!e,f=f||a.pc||a,d=yv(d),e=!!e,c=lv(b)?sv(b.V,String(c),d,e,f):b?(b=Av(b))?sv(b,c,d,e,f):null:null,c&&(Gv(c),delete a.N[c.key]);return a};gN.prototype.removeAll=function(){Fc(this.N,function(a,b){this.N.hasOwnProperty(b)&&Gv(a)},this);this.N={}};gN.prototype.ba=function(){gN.Kb.ba.call(this);this.removeAll()};gN.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var nN=function(a,b,c,d,e){e=void 0===e?null:e;Lv.call(this);var f=this;this.g=c;this.Aa=d;this.l=TK(this.g,b);this.Va=++wea;this.M=jg("Collection."+this.Va);this.qa=d.h;this.Na=e&&e.g;this.Bc=e&&e.eventType;this.Jb=d.yg();this.Ad=new gN(this);this.T(this.Ad);this.data={};this.qc=0;this.rb=[];this.qb={};this.h=-2;this.H=!0;this.D=zt();this.state="ha";this.config=Ul(a);fN.Tb();this.oa={};this.rc=yc;this.G=new eL(this);this.Y=this.G.signal();this.onChange=this.G.signal();this.Ma=function(g){f.g.C(g.data);
return new mN(g.version,g.data,[],"da")}};t(nN,Lv);nN.prototype.toString=function(){return"[Collection #: "+this.Va+", id: "+this.l+", data version: "+this.h+"]"};var oN=function(a,b){return new mN(b.version,[],a,"da")},pN=function(a){"ha"==a.state&&(a.state="fa",a.Na&&a.Ad.listen(a.Na,a.Bc,a.Ec))};nN.prototype.start=function(a){a&&qN(this,a);"ha"==this.state&&pN(this);if("fa"!=this.state)return null;this.state="ga";rN(this);og(this.M,"Collection started: "+this.toString()+", "+this.m());return null};
nN.prototype.stop=function(){if("ga"==this.state||"fa"==this.state)this.flush(),this.hb(),this.state="ha",og(this.M,"Collection stopped: "+this.toString()+": "+this.m())};var rN=function(a){a.H&&a.D&&(og(a.M,"Initial data available: "+a.toString()),a.D.resolve(a.rb),a.D=null)};nN.prototype.hb=function(){this.Na&&lN(this.Ad,this.Na,this.Bc,this.Ec)};var qN=function(a,b){b instanceof a.g.g&&(b=TK(a.g,a.g.j(b)));a.l=sN(b)};
nN.prototype.ob=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(0==b.length)return this.g.ob(this.g.j(this.l));if(b[0]instanceof this.g.g)return this.g.ob(this.g.h(b[0]));b=Array.prototype.concat.apply(Array.prototype,b);return this.g.ob(this.g.j(this.l),b)};nN.prototype.s=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return this.qb[tN(this,Array.prototype.concat.apply(Array.prototype,b))]||null};var uN=function(a){return"ga"==a.state&&!0};
nN.prototype.ba=function(){this.flush();this.stop();this.D&&(mg(this.M,"Never any data: "+this.toString()),this.D.promise.cancel(),this.D=null);Lv.prototype.ba.call(this)};nN.prototype.get=function(){return this.rb};var vN=function(a){return a.D?a.D.promise:rt(a.get())};nN.prototype.flush=function(){do{xea(this);var a=this.ea()}while(0<a)};var xea=function(a){Fc(a.oa,function(b){for(;b&&1<=b.length&&b[0].g;)b.shift()})};nN.prototype.Ba=function(){return Kc(this.data).map(function(a){return a.va()})};
nN.prototype.add=function(a,b){tN(this,a);if(wN(this,a)&&this.Jb)return b=xN(this,"ja",a),ht(this.ea,this),b;a=this.Aa.cd([a]);return yN(this,a,b,this.Ma)};var zN=function(a,b,c){tN(a,b);if(wN(a,b)&&a.Jb)return c=xN(a,"ka",b),ht(a.ea,a),c;b=a.Aa.dd([b]);return yN(a,b,c,a.Ma)};nN.prototype.remove=function(a,b,c){var d=AN(this,a);return wN(this,a)&&null==c&&this.Jb?(a=xN(this,"la",d,b),ht(this.ea,this),a):yN(this,BN(this,[d],b),c,Za(oN,[d]))};
var xN=function(a,b,c,d){var e=a.hc(c).toString(),f=a.oa[e]||[];a.oa[e]=f;e=null;a=f.length;if(1<=a&&!f[a-1].g)if(a=f[a-1],"ja"==b){if("ja"==a.type||"ka"==a.type)e=a.Fb,f.pop()}else if("ka"==b&&("ja"==a.type||"ka"==a.type)){b=a.resource;d=JSON.parse(b.va());c=JSON.parse(c.va());for(f=0;f<c.length;f++)null==c[f]||Rl(d[f],c[f])||(d[f]=c[f]);c=new b.constructor(d);a.resource=c;return a.Fb.promise}e=e||zt();f.push(new yea(b,c,e,d));return e.promise};
nN.prototype.ea=function(){var a=0,b={};Fc(this.oa,function(c){if(c&&1<=c.length&&(c=c[0],!c.g)){c.g=!0;if("la"==c.type&&c.h){var d=[c.resource];CN(this,BN(this,d,c.h),Za(oN,d),[c.Fb],d)}else d=b[c.type]||[],d.push(c),b[c.type]=d;a++}},this);Fc(b,function(c,d){if(1<=c.length){var e=[],f=[];c.forEach(function(g){e.push(g.resource);f.push(g.Fb)});switch(d){case "ja":CN(this,this.Aa.cd(e),this.Ma,f,e);break;case "ka":CN(this,this.Aa.dd(e),this.Ma,f,e);break;case "la":CN(this,BN(this,e),Za(oN,e),f,e);
break;default:Mb("A request with type "+d+" was put in the queue.")}}},this);return a};var CN=function(a,b,c,d,e){null==b&&d.forEach(function(g){g.reject("Operation not available")});b.xl(N(a.config,7,0));b.fi(N(a.config,8,6E4),N(a.config,13,6E4));var f=e.map(a.hc,a);e=b.u();Ct(e,function(){return zea(a,f)});Dt(e.then(Ya(a.Dc,a,b,c,d,f)),function(g){DN(a,b,g);d.forEach(function(h){return h.reject(g)})});a.qa.execute(b)};nN.prototype.N=function(){return!0};
var BN=function(a,b,c){return a.Aa.xd(b.map(a.Ca,a),c)},wN=function(a,b){return b instanceof EN?UK(a.g,a.Ca(b)):UK(a.g,b)},AN=function(a,b){b=TK(a.g,a.g.h(b));return new EN(a.g,b)},FN=function(a,b){var c=a.g;b=a.Ca(b);a=VK(c,a.l,c.j);c=VK(c,b,c.j);return tc(a,c)},yN=function(a,b,c,d){if(null==b)return st("Operation not available");var e=zt();Aea(a,b,d,e,c);pg(a.M,"Executing operation: "+b);a.qa.execute(b);return e.promise},Aea=function(a,b,c,d,e){e=void 0===e?N(a.config,7,0):e;b.xl(e);e=b.Oh()||N(a.config,
8,6E4);var f=b.wl()||Math.max(e,N(a.config,13,6E4)||0);b.fi(e,f);Dt(b.u().then(Ya(a.Dc,a,b,c,[d],null)),function(g){DN(a,b,g);d.reject(g)})};
nN.prototype.Dc=function(a,b,c,d,e){var f=this;og(this.M,"Operation executed: "+a+", result:"+e);b&&(this.N(e.version)?(a=b(e))?this.K(a):og(this.M,"Operation resulted in no update"):uN(this)&&Mb("Result of an operation must have a valid version number, if the collection is active."));!d||null==e.data||1>=e.data.length?c[0].resolve(e.data):c.forEach(function(g,h){var m=d[h];h=e.data.filter(function(q){return f.hc(q).equals(m)});0==h.length&&lg(f.M,"Result data is empty after filtering for target resource id "+
m);g.resolve(h)})};
var DN=function(a,b,c){c instanceof Error?lg(a.M,"Operation failed:",c):lg(a.M,"Operation failed: "+Lf(c));new GN(b.Io(),b.Go(),c);c.response&&c.response.getResponseHeader&&(b=c.response.getResponseHeader().Ha(),(c=Bea.get(b))&&HN(a,c,"Collection apiary operation failed with response code "+b+" triggering endcause "+c))},zea=function(a,b){var c=!1;b.forEach(function(d){var e=a.oa[d.toString()];e&&1<=e.length?(e.shift(),c=c||1<=e.length):lg(a.M,"A writing request with resource id "+d+" completed but it is not in the request queue.")});
c&&a.ea()};nN.prototype.Ec=function(a){"ga"!=this.state&&"fa"!=this.state||this.Eb(a)};
nN.prototype.Eb=function(a){var b=this.wb(a);og(this.M,"Received push notification, version: "+b+", checking if any updates apply to this collection "+this.toString());var c=Cea(this,a);a=Dea(this,a);c.length||a.length?(og(this.M,"Notification applies to this collection: version: "+b+", add/modify: "+c.length+", remove:"+a.length),this.g.C(c),b=new mN(b,c,a,"ca"),pg(this.M,"Created partial update for notification: "+b),kg(this.M,cg,"Add/modify: ["+b.Vf.join("|")+"], remove: ["+b.Qg.join("|")+"]"),
this.K(b)):og(this.M,"Notification does not apply to this collection, ignoring.")};nN.prototype.wb=function(){return-2};var Cea=function(a,b){var c=[];b.notification.Db().forEach(function(d){d=XK(a.g,d);UK(a.g,d)?FN(a,AN(a,d))&&c.push(d):d.va()});return c},Dea=function(a,b){if(!b.notification.zc)return[];var c=[];b.notification.zc().forEach(function(d){var e=a.g.m(d);UK(a.g,e)?(d=AN(a,e),FN(a,d)&&c.push(d)):d.va()});return c};
nN.prototype.K=function(a){pg(this.M,"Begin processing update: "+a);a instanceof mN&&(pg(this.M,"Applying partial update: "+a),IN(this,a));pg(this.M,"Finish processing update: "+a+": "+this.m())};nN.prototype.m=function(){return"state: "+this.state+", local version: "+this.h+", snapshot size: "+this.qc};
var IN=function(a,b){pg(a.M,"Processing partial update: "+b);kg(a.M,cg,"Add/modify: ["+b.Vf.join("|")+"], remove: ["+b.Qg.join("|")+"]");b.Vf.forEach(function(d){UK(a.g,d)?a.data[tN(a,d)]=sN(d):d.va()});var c=[];b.Qg.forEach(function(d){var e=tN(a,d);a.data[e]?delete a.data[e]:c.push(d)});0<c.length&&Vs(c);JN(a)},JN=function(a){var b={},c={};Fc(a.data,function(g,h){this.rc(g)&&(b[h]=g,c[h]=g)},a);var d=[],e=[];Fc(a.qb,function(g,h){var m=b[h];m?(delete c[h],Sl(g,m)||e.push(m)):d.push(g)});var f=Kc(c);
a.qb=b;a.rb=Kc(b);a.qc=Ic(a.data);if(0<e.length||0<f.length||0<d.length)og(a.M,"Obtained update of the filtered view : modified: "+e.length+", added: "+f.length+", removed:"+d.length),kg(a.M,cg,"Modified: ["+e.join("|")+"], added: ["+f.join("|")+"], removed: ["+d.join("|")+"]"),a.G.R(a.onChange,{Fc:f,nc:e,removed:d}),a.O(new dN(e,f,d))},Eea=function(a,b){a.rc=b;JN(a)};nN.prototype.hc=function(a){return null==a||a instanceof EN?a:AN(this,a)};
var tN=function(a,b){var c;Array.isArray(b)?c=b:c=b instanceof EN?SK(a.g,b.g):SK(a.g,b);return Vs(c)},HN=function(a,b,c){"ia"!=a.state&&(a.hb(),a.state="ia",lg(a.M,"Collection failed: "+a+": "+a.m()+": "+c),a.G.R(a.Y,{Rb:b,reason:c}))};nN.prototype.Ca=function(a){return a.g};var KN=function(a){this.g=a;this.id=++Fea},mN=function(a,b,c,d){KN.call(this,a);this.h=d;this.Vf=b;this.Qg=c};t(mN,KN);
mN.prototype.toString=function(){return"[Partial update id: "+this.id+", version: "+this.g+", add/modify: "+this.Vf.length+", remove: "+this.Qg.length+", type: "+this.h+"]"};function sN(a){return a instanceof J?Ul(a):a.clone()}var yea=function(a,b,c,d){this.type=a;this.resource=b;this.Fb=c;this.h=void 0===d?null:d;this.g=!1},Bea=(new Map).set(10,67),wea=0,Fea=0,EN=function(a,b){this.h=a;this.g=b};EN.prototype.equals=function(a){return WK(this.h,this.g,a.g)};EN.prototype.toString=function(){return this.g.va()};
var GN=function(a,b,c){a=Error.call(this,"operation: "+a+", error = "+Lf(c));this.message=a.message;"stack"in a&&(this.stack=a.stack);this.request=b;this.Ef=c};t(GN,Error);var LN=function(a,b,c){V.call(this);this.F=null!=c?Ya(a,c):a;this.u=b;this.s=Ya(this.Mv,this);this.h=!1;this.j=0;this.l=this.g=null;this.m=[]};w(LN,V);k=LN.prototype;k.Lv=function(a){this.m=arguments;this.h=!1;this.g?this.l=$a()+this.u:this.g=Ov(this.s,this.u)};k.stop=function(){this.g&&(Pv(this.g),this.g=null);this.l=null;this.h=!1;this.m=[]};k.pause=function(){++this.j};k.resume=function(){this.j&&(--this.j,!this.j&&this.h&&(this.h=!1,this.F.apply(null,this.m)))};k.ba=function(){this.stop();LN.Kb.ba.call(this)};
k.Mv=function(){this.l?(this.g=Ov(this.s,this.l-$a()),this.l=null):(this.g=null,this.j?this.h=!0:(this.h=!1,this.F.apply(null,this.m)))};var MN=function(a,b,c,d,e,f,g,h){h=void 0===h?null:h;nN.call(this,b,c,d,e,f,g);this.M=jg("realtime.collections.SyncableCollection of "+h);this.fa=a;this.Gd=h;this.fc=e;this.h=-1;this.H=!1;this.sa=null;this.Pa=-1;this.j=[];this.bb=this.Oa=this.gb=this.W=null;this.ja=!1;this.tc=0;this.xa=null;this.u=new XL(N(this.config,2,1E3),N(this.config,3,6E4));this.Cc=this.G.signal();this.pd=this.G.signal();this.oc=new LN(this.pc,0,this)};t(MN,nN);
var Gea=function(a,b,c){a.W=rt().then(function(){a.g.C(c);a.K(new NN(b,c,"qa"));ON(a,!1)});return a.W};MN.prototype.start=function(a,b){var c=this;nN.prototype.start.call(this,a);if("ga"!=this.state)return null;null==this.sa&&(this.sa=this.qa.j.attach(function(){PN(c,"oa",!0)},this));QN(this,!0);if(b)return og(this.M,"Initializing collection with data."),Gea(this,b.version,b.data);og(this.M,"Starting initial resync.");return PN(this,"qa",!0)};
MN.prototype.hb=function(){nN.prototype.hb.call(this);null!=this.sa&&(this.qa.j.detach(this.sa),this.sa=null);Pv(this.bb);this.bb=null;this.u.reset();Pv(this.gb);this.gb=null;Pv(this.Oa);this.xa=this.Oa=null;this.H=!1};MN.prototype.query=function(a,b){a=AN(this,a);a=this.fc.wd(this.Ca(a));return yN(this,a,b)};MN.prototype.search=function(a){return yN(this,this.fc.Ld(sN(this.l)),a)};
var UN=function(a,b){"oa"!=b&&0==a.u.h&&xL(a.qa);pg(a.M,"Starting sync. Type: "+b);var c="ra"==b||"sa"==b,d=a.fc.Ld(sN(a.l)),e=-2;O(a.config,11,!1)&&(9E4>Date.now()-a.tc&&d.N(a.h)?e=a.h:a.tc=Date.now());d=yN(a,d,void 0,function(f){QN(a,!0);return e!=f.version?(c&&O(a.config,11,!1)&&a.fa.logImpression(7150),a.g.C(f.data),new NN(f.version,f.data,b)):null});Dt(d.then(function(){return ON(a,c)}),function(f){var g=(c?"Poll":"Resync")+" error: "+f;lg(a.M,g,f instanceof Error?f:Error(g));RN(a,!0);uN(a)?
(YL(a.u),SN(a)):TN(a)});a.W=d;Dt(a.W,Ma);return d};MN.prototype.N=function(a){return 0<=a};var VN=function(a){return null!=PN(a,"ta",!0)||a.W?a.W:st("Collection not yet started, so cannot resync.")};MN.prototype.Eb=function(a){var b=this;if(Hea(this,a))VN(this);else if("function"===typeof a.notification.Ko&&a.notification.Ko()){var c=S(R(a.notification,JI,5),GI,1).map(function(d){return XK(b.g,d)});this.K(new NN(this.wb(a),c,"pa"))}else nN.prototype.Eb.call(this,a)};
MN.prototype.wb=function(a){var b;"function"===typeof a.notification.X&&a.notification.X()&&(b=a.notification.X().vb());return b};var Hea=function(a,b){var c=!1;(b=b.notification.Ib())&&""!=b&&(c=a.g.m(b),c=AN(a,c),c=FN(a,c));return c},WN=function(a,b,c){if(c.Xw)a.K(new NN(b,c.hk||[],"pa"));else{var d=(c.removed||[]).map(function(e){return AN(a,a.g.m(e))});b=new mN(b,c.hk||[],d,"da");a.K(b)}};
MN.prototype.K=function(a){pg(this.M,"Begin processing update: "+a);var b=a.g==this.Pa;this.Pa=Math.max(this.Pa,a.g);QN(this,!1);if(a instanceof NN)Iea(this,a);else{Jea(this,a.Vf,a.Qg);if(this.N(this.h)&&a.g<=this.h){var c=!1;b&&(c=!0);100<this.h-a.g&&(c=!0);c&&PN(this,"ua",!0);pg(this.M,"Ignoring update "+a+" below or equal to local version ("+this.h+")");return}b=this.j.find(function(d){return d.g<=a.g});if(null!=b&&a.g==b.g){mg(this.M,"Duplicate update received, ignoring it.");return}pg(this.M,
"Queuing partial update: "+a);dc(this.j,a,b)}a instanceof NN?this.pc():this.oc.Lv();pg(this.M,"Finish processing update: "+a+": "+this.m())};
var Jea=function(a,b,c){a.N(a.h)||(pg(a.M,"Dispatch early notification: "),a.G.R(a.Cc,{Vf:b,Qg:c}))},PN=function(a,b,c){if(!uN(a)||a.ja)return null;a.u.reset();var d=null;a.ja=!0;c?d=UN(a,b):SN(a);return d},TN=function(a){a.ja&&(og(a.M,"Ending resync"),a.ja=!1,a.G.R(a.pd,void 0))},SN=function(a){var b=a.u.g;og(a.M,"Scheduling resync timer, backoff count: "+a.u.h+", backoff: "+b);a.bb=Ov(a.qd,b,a)};
MN.prototype.qd=function(){og(this.M,"Resync timer triggered, "+this.m());this.bb=null;uN(this)?UN(this,"ua"):TN(this)};
var ON=function(a,b){og(a.M,(b?"Poll":"Resync")+" operation executed, "+a.m());RN(a,!1);if(a.H||!uN(a))TN(a);else{b=!1;var c=N(a.config,5,4);a.u.h>=c?(og(a.M,"Hard sync threshold reached ("+c+"), doing a hard resync"),b=!0):a.j.length>N(a.config,4,64)&&(pg(a.M,"Number of queued updates is larger than the max ("+N(a.config,4,64)+"), clearing the queue"),b=!0);b?(bc(a.j),a.u.reset(),UN(a,"va")):(YL(a.u),SN(a))}};
MN.prototype.m=function(){return nN.prototype.m.call(this)+", is synced: "+this.H+", is resyncing: "+this.ja+", queue size: "+this.j.length+", highest observed server version: "+this.Pa+(0<this.j.length?", smallest queued version: "+Nb(this.j).g+", largest queued version: "+this.j[0].g:"")};
MN.prototype.pc=function(){this.oc.stop();if(0!=this.j.length&&this.N(this.h)){pg(this.M,"Trying to apply any queued updates, "+this.m());for(var a=0;0<this.j.length&&Nb(this.j).g<=this.h;){var b=this.j.pop();pg(this.M,"Tossing queued update "+b+" below or equal to local version ("+this.h+")");a++}0<a&&pg(this.M,"Tossed "+a+" queued old updates below or equal to local version ("+this.h+")");for(a=0;0<this.j.length;)if(b=Nb(this.j),b.g==this.h)this.j.pop(),a++;else if(b.g==this.h+1)this.h=b.g,IN(this,
b),this.j.pop(),a++;else{pg(this.M,"Unable to incrementally apply next queued update,  lowest queue update version: "+b.g+", local version:"+this.h+", remaining queue length: "+this.j.length);break}pg(this.M,"Applied "+a+" queued updates")}(this.H=0==this.j.length&&this.N(this.h))?rN(this):PN(this,"ua",!1)};MN.prototype.od=function(a){uN(this)&&(og(this.M,"Executing poll sync operation"),PN(this,a,!0),QN(this,!0))};
var QN=function(a,b){if(uN(a)){og(a.M,"Scheduling next poll for "+N(a.config,1,3E4)/1E3+" seconds from now");Pv(a.gb);a.gb=Ov(Za(a.od,"ra"),N(a.config,1,3E4),a);var c=N(a.config,9,9E4);null==c&&(c=9E4);b&&0<c&&(Pv(a.Oa),a.Oa=Ov(Za(a.od,"sa"),c,a))}},RN=function(a,b){if(b)if(null==a.xa)a.xa=Date.now(),mg(a.M,"Sync operation failed, we will continue retrying for up to "+N(a.config,6,3E5)/1E3+" seconds before shutting down...");else{b=Date.now()-a.xa;var c="Sync operations failing for a period of "+
b/1E3+" seconds (limit configured to: "+N(a.config,6,3E5)/1E3+" seconds).";mg(a.M,c);b>=N(a.config,6,3E5)&&HN(a,22,c)}else a.xa=null},Iea=function(a,b){pg(a.M,"Processing full update: "+b);kg(a.M,cg,"Snapshot: ["+b.data.join("|")+"]");if(a.h>=b.g&&100>a.h-b.g){var c=[];if(a.h==b.g){var d={};b.data.forEach(function(h){var m=tN(a,h);d[m]=!0;m=a.data[m]||null;if(null==m)c.push({local:null,server:h.va(),mismatch:"local_missing"});else{var q=m==h?null:m instanceof h.constructor?XN(JSON.parse(m.va()),JSON.parse(h.va())):
"_";null!=q&&c.push({local:m.va(),server:h.va(),mismatch:q})}});Fc(a.data,function(h,m){d[m]||c.push({local:h.va(),server:null,mismatch:"server_missing"})})}if(0!=c.length)mg(a.M,"Reapplying update with version that's the same, update: "+b.g+", local: "+a.h+", type: "+b.h),a.fa.logImpression(1827,{cc:a.Gd+":"+c[0].mismatch});else{pg(a.M,"Ignoring update with version not newer than local version, update: "+b.g+", local: "+a.h+", type: "+b.h);return}}var e=b.data.filter(function(h){if(UK(a.g,h))return!0;
h.va();return!1}),f=[],g={};b.data.forEach(function(h){g[tN(a,h)]=!0});Fc(a.data,function(h,m){g[m]||f.push(AN(a,h))});pg(a.M,"Applying full update as partial and advancing version from "+a.h+" to "+b.g);a.h=b.g;IN(a,new mN(b.g,e,f,"ea"))},XN=function(a,b){if(Array.isArray(a)&&0===a.length||!1===a||0===a||""===a)a=null;if(Array.isArray(b)&&0===b.length||!1===b||0===b||""===b)b=null;if(a==b)return null;if(!Array.isArray(a)||!Array.isArray(b))return"";for(var c=0;c<Math.max(a.length,b.length);c++){var d=
XN(a[c],b[c]);if(null!=d)return c+(""===d?"":"."+d)}return null},NN=function(a,b,c){KN.call(this,a);this.data=b;this.h=c};t(NN,KN);NN.prototype.toString=function(){return"[Full update id: "+this.id+", version: "+this.g+", resource count: "+this.data.length+", sync type: "+this.h+"]"};var YN=function(){MK.apply(this,arguments)};t(YN,MK);YN.prototype.cd=function(a){return new IK("media_sessions/add",function(){return TC(new SC,a)},bE,function(b){return S(b,zC,4)})};YN.prototype.dd=function(a){return new IK("media_sessions/modify",function(){return uH(new tH,a)},vH,function(b){return S(b,zC,4)})};YN.prototype.xd=function(){return null};var ZN=function(){NK.apply(this,arguments)};t(ZN,NK);k=ZN.prototype;k.cd=function(a){return new IK("media_streams/add",function(){return ED(new DD,a)},iE,function(b){return S(b,kD,4)})};k.dd=function(a){return new IK("media_streams/modify",function(){var b=new VE;return Nl(b,4,a)},XE,function(b){return S(b,kD,4)})};
k.xd=function(a){if(!a.length)throw Error("Cannot create MediaStreamRemoveRequest with no stream identifiers.");return new IK("media_streams/remove",function(){return nba(P(mba(new CH,a[0].pj()),2,2),a.map(function(b){return b.Ll()}))},DH)};k.wd=function(a){return new IK("media_streams/query",function(){var b=new AH;var c=a.ta();b=P(b,5,c);c=a.Kl();b=P(b,2,c);c=a.pj();b=P(b,3,c);c=a.Ll();return P(b,4,c)},BH,function(b){return[b.za()]})};
k.Ld=function(a){return new IK("media_streams/search",function(){return GD(HD(ID(new FD,a.ta()),a.pj()),a.Kl())},kE,function(b){return S(b,kD,2)},{set:function(b,c){return LD(b,c)},get:function(b){return R(b,kE,4)}})};var $N=new RK({Xd:kD,Vd:[kD.prototype.ta,kD.prototype.my,kD.prototype.ny],Wd:[kD.prototype.sj,kD.prototype.rj,kD.prototype.tj],de:[kD.prototype.qj],ee:[kD.prototype.uj],ae:VH,Yd:[VH.prototype.ta,VH.prototype.Kl,VH.prototype.pj],Zd:[VH.prototype.Ml,VH.prototype.Mp,VH.prototype.Nl],be:[VH.prototype.Ll],ce:[VH.prototype.Np],Hx:Kea});function Kea(a){a.forEach(function(b){if(b=R(b,mD,8))BD(b,M(b,1).map(aO)),S(b,oD,2).forEach(function(c){var d=M(c,2).map(aO);return P(c,2,d||[])})})}
var aO=function(a){return a>>>0};function Lea(a,b){var c=new RK({Xd:zC,Vd:[],Wd:[],de:[zC.prototype.u],ee:[zC.prototype.l],ae:RH,Yd:[],Zd:[],be:[RH.prototype.l],ce:[RH.prototype.u]});a=new YN(YM(a,b));var d=new eN(b.j,"m");return new nN(R(b.g,yL,13),[],c,a,d,b.l)}function bO(a,b,c,d,e,f,g){e=new e(YM(a,b));f=new eN(b.j,f);return new MN(new cL(a),R(b.g,yL,13),c,d,e,f,b.l,g)};var cO=function(a,b,c){return bO(a,b,[c],new RK({Xd:wB,Vd:[wB.prototype.ta],Wd:[wB.prototype.Hl],de:[],ee:[],ae:LH,Yd:[LH.prototype.ta],Zd:[LH.prototype.l],be:[],ce:[]}),OK,"i","Hangout")},Mea=function(a,b,c){return bO(a,b,[c],new RK({Xd:VC,Vd:[VC.prototype.ta],Wd:[VC.prototype.Il],de:[VC.prototype.Z,VC.prototype.Ea],ee:[VC.prototype.oj,VC.prototype.Jl],ae:GE,Yd:[GE.prototype.ta],Zd:[GE.prototype.Jp],be:[GE.prototype.Z,GE.prototype.Ea],ce:[GE.prototype.Kp,GE.prototype.Lp]}),QK,"n","MediaSources")};function dO(a,b,c){var d=cO(a,b,"");return d.add(c).then(function(e){qN(d,e[0]);return d},function(e){Ss(d);throw e;})}function eO(a,b,c,d){function e(h){if(1==h.getResponseHeader().Ha())return h=h.ta(),cO(a,b,h);throw new VL("fatal","backend",null,h);}function f(){return Dt(Nea(a,b,c).then(e),function(h){if($a()<g)return Qv(5E3).then(f);throw h;})}var g=0;void 0!==d&&(c=Ul(c),P(c,5,!0),g=$a()+d);return f()}
function Nea(a,b,c){return xK(a,aL).then(function(d){return d.h}).then(function(d){return b.h.makeRequest("hangouts/resolve",Ul(c).setRequestHeader(VM(b,d)),WD)})};var fO=function(a,b){var c=void 0;return new (c||(c=Promise))(function(d,e){function f(m){try{h(b.next(m))}catch(q){e(q)}}function g(m){try{h(b["throw"](m))}catch(q){e(q)}}function h(m){m.done?d(m.value):(new c(function(q){q(m.value)})).then(f,g)}h((b=b.apply(a,void 0)).next())})};var gO=function(a){this.g=a.g;this.Eh=a.h};gO.prototype.Ve=function(){return kc(this.g)};gO.prototype.toString=function(){return"RIDs(send="+this.Eh+", rids="+this.Ve()+")"};var hO=function(){this.g=[];this.h=!0};hO.prototype.ia=function(){return new gO(this)};var iO=function(a,b){a.g=kc(b);return a};var jO=function(a,b){this.g=a;this.h=kc(b)};jO.prototype.toString=function(){return"SsrcGroup(semantics="+this.g+", ssrcs="+this.h+")"};jO.prototype.Qa=function(){return kc(this.h)};var kO=function(a,b,c,d){this.g=a;this.h=b;this.width=c;this.height=d};kO.prototype.clone=function(){return new kO(this.g,this.h,this.width,this.height)};kO.prototype.toString=function(){return"("+this.g+", "+this.h+" - "+this.width+"w x "+this.height+"h)"};var Oea=function(a,b){return a==b?!0:a&&b?a.g==b.g&&a.width==b.width&&a.h==b.h&&a.height==b.height:!1};kO.prototype.contains=function(a){return this.g<=a.g&&this.g+this.width>=a.g+a.width&&this.h<=a.h&&this.h+this.height>=a.h+a.height};
kO.prototype.ceil=function(){this.g=Math.ceil(this.g);this.h=Math.ceil(this.h);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};kO.prototype.floor=function(){this.g=Math.floor(this.g);this.h=Math.floor(this.h);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};kO.prototype.round=function(){this.g=Math.round(this.g);this.h=Math.round(this.h);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var nO=function(a,b,c,d,e,f,g){d=void 0===d?"un":d;e=void 0===e?"li":e;f=void 0===f?null:f;g=void 0===g?null:g;KM.call(this);this.j=a;this.Va=b;this.Ra=c;this.g=d;this.h=e;this.l="sc"!==d;this.ie=null;lO(this,g);this.Qf=f;this.m=new eL(this);this.Uc=gL(this.m);mO(this)};t(nO,KM);var mO=function(a){a.m.R(a.Uc,{state:a.h,content:a.g})};nO.prototype.toString=function(){return"Source(id="+this.Va+" type="+this.Ra+" content="+this.g+" state="+this.h+" participantId="+this.j+")"};nO.prototype.Z=function(){return this.j};
nO.prototype.getId=function(){return this.Va};nO.prototype.getContent=function(){return this.g};var oO=function(a,b){a.g!=b&&(a.g=b,a.O("H"),mO(a))};nO.prototype.getState=function(){return this.h};var pO=function(a,b){a.h!=b&&(a.h=b,a.O("J"),mO(a))};nO.prototype.If=function(){return this.l};
var Pea=function(a,b){a.l!=b&&(a.l=b,a.O("K"))},lO=function(a,b){var c=null!=a.ie&&!ac(a.ie),d=null!=b&&!ac(b);d?b=kc(b).sort(function(e,f){return e.g-f.g||e.h-f.h||e.width-f.width||e.height-f.height}):b=null;if(c=d!=c||d&&!tc(a.ie,b,Oea))a.ie=b;return c};nO.prototype.O=function(a){return KM.prototype.O.call(this,a)};var qO=function(a){return new nO(void 0===a.xj?"":a.xj,a.id,a.mediaType,void 0===a.content?"un":a.content,void 0===a.state?"li":a.state,void 0===a.vq?null:a.vq,void 0===a.Pr?null:a.Pr)};var rO=function(a){this.u=a.u;this.D=a.D;this.G=a.H;this.g=a.V;this.F=a.F;this.s=a.l;this.K=a.N;this.m=a.j;this.Ue=a.m;this.j=a.s;this.V=a.C;this.H=kc(a.h);this.h=a.G;this.C=kc(a.K);this.l=a.g};k=rO.prototype;
k.toString=function(){return"Stream(participantId="+this.D+", mediaType="+this.u+", sourceId="+this.G+", streamId="+this.g+", muted="+this.F+", downlinkPaused="+this.s+", uplinkPaused="+this.K+", croppable="+this.m+", mediaStreamId="+this.Ue+", mediaStreamTrackId="+this.j+", ssrcs="+this.H+", rids="+this.h+", ssrcGroups="+this.C+", adaptationFlags="+this.l+")"};k.ga=function(){return this.u};k.Z=function(){return this.D};k.Ea=function(){return this.G};k.Hc=function(){return this.F};k.If=function(){return this.m};
k.Qa=function(){return kc(this.H)};k.matches=function(a){return this.Z()==a.Z()&&this.ga()==a.ga()&&this.Ea()==a.Ea()&&this.g==a.g};var sO=function(a){this.u=(a=void 0===a?null:a)?a.u:null;this.D=a?a.D:"";this.H=a?a.G:null;this.V=a?a.g:null;this.F=a?a.F:!1;this.l=a?a.s:!1;this.N=a?a.K:!1;this.j=a?a.m:!0;this.m=a?a.Ue:null;this.s=a?a.j:null;this.C=a?a.V:null;this.h=a?kc(a.H):[];this.G=a?a.h:null;this.K=a?kc(a.C):[];this.g=a?a.l:0};sO.prototype.ia=function(){return new rO(this)};
var tO=function(a,b){a.u=b;return a},uO=function(a,b){a.D=b;return a},vO=function(a,b){a.H=b;return a},wO=function(a,b){a.V=b;return a},xO=function(a,b){a.F=b;return a},Qea=function(a,b){a.l=b;return a},Rea=function(a,b){a.N=b;return a},yO=function(a,b){a.j=b;return a},zO=function(a,b){a.m=b;return a},AO=function(a,b){a.s=b;return a},BO=function(a,b){a.C=b;return a},CO=function(a,b){a.h=kc(b);return a};sO.prototype.Qa=function(){return kc(this.h)};
var DO=function(a,b){a.G=b;return a},EO=function(a,b){a.K=kc(b);return a},Sea=function(a,b){a.g=b;return a};var FO=function(a){KM.call(this);this.g=a;a.F=this;this.T(a);this.h="nr"};t(FO,KM);k=FO.prototype;k.Ba=function(){return{config:this.op(),muted:this.Vb(),state:Tea(this)}};k.ga=function(){return this.g.Ra};k.Vb=function(){return"mu"==this.g.getState()};k.Yk=function(){return!1};k.op=function(){return null};
var Tea=function(a){switch(a.h){case "re":return chrome.i18n.getMessage("6950033741572394811");case "nr":return chrome.i18n.getMessage("8757444822404164848");case "nd":return chrome.i18n.getMessage("4782049665629043191");case "ad":return chrome.i18n.getMessage("2100823569845184829");case "fa":return chrome.i18n.getMessage("99290588561553105");case "st":return chrome.i18n.getMessage("7017840133230118615")}return""};
FO.prototype.D=function(a){if(a!==this.h){var b=this.Vb();this.h=a;this.O("P");b!==this.Vb()&&this.O("O")}};FO.prototype.hb=function(){};FO.prototype.xa=function(){};var GO=function(a){this.g=a.g;this.h=a.h;this.j=a.j};GO.prototype.toString=function(){return"BandwidthConstraints(minBandwidthKbps="+(this.h+", maxBandwidthKbps=")+(this.g+", startBandwidthKbps=")+this.j};var HO=function(){this.j=this.h=this.g=-1};HO.prototype.ia=function(){return new GO(this)};var IO=function(a,b,c,d,e,f,g,h,m,q,r){this.g=a;this.s=b;this.h=c;this.m=d;this.l=e;this.C=f;this.u=g;this.j=h;this.F=m;this.D=void 0===q?null:q;this.G=void 0===r?null:r},JO=function(a,b){return a==b?!0:a&&b?a.g===b.g&&a.s===b.s&&a.h===b.h&&a.m===b.m&&a.l===b.l&&a.C===b.C&&a.u===b.u&&a.j===b.j&&a.F===b.F&&a.D===b.D&&a.G===b.G:!1};
IO.prototype.toString=function(){return"Candidate(component="+this.g+", priority="+this.s+", type="+(this.h+", protocol="+this.m+", ip="+this.l+", port=")+(this.C+", foundation="+this.u+", generation=")+(this.j+", network="+this.F+", relatedIp=")+(this.D+", relatedPort="+this.G+")")};IO.prototype.la=function(){return new IO(this.g,this.s,this.h,this.m,this.l,this.C,this.u,this.j,this.F,this.D,this.G)};IO.prototype.Hb=function(){return this.C};IO.prototype.Nj=function(a){var b=this.la();b.C=a;return b};var LO=function(a){this.l=a.m;this.Ae=a.u;this.C=a.s;this.j=a.C;this.h=a.h;this.g=a.g;this.m=a.l;this.ze=Object.freeze(KO(a.j))};LO.prototype.toString=function(){return"Codec(name="+this.C+", mediaType="+this.l+", payloadType="+this.Ae+", bitrate="+this.j+", clockrate="+this.h+", channels="+this.g+", audioNack="+this.m+", params="+Vs(this.ze)+")"};LO.prototype.ga=function(){return this.l};LO.prototype.getName=function(){return this.C};var MO=function(a,b){return 0==vd(a.getName(),b)};
LO.prototype.clone=function(){return(new NO(this)).ia()};var NO=function(a){this.m=(a=void 0===a?null:a)&&a.l;this.u=a&&a.Ae;this.s=a&&a.C;this.C=a&&a.j;this.h=a&&a.h;this.g=a&&a.g;this.l=a&&a.m;this.j=KO(a?a.ze:{})};NO.prototype.ia=function(){return new LO(this)};var OO=function(a){var b=new NO;b.m=a;return b},PO=function(a,b){a.u=b;return a};NO.prototype.Yf=function(a){this.s=a;return this};var QO=function(a,b,c){a.j[b]=c;return a};function KO(a){return Object.assign(Object.create(null),a)};var RO=function(a){this.g=a.j;this.j=a.g;this.l=a.h;this.h=a.l};RO.prototype.toString=function(){return"Crypto(suite="+this.g+", keyParams=<redacted>, sessionParams_="+(null!=this.l?"<redacted>":null)+", tag="+this.h+")"};var SO=function(){var a;this.j=(a=void 0===a?null:a)?a.g:null;this.g=a?a.j:null;this.h=a?a.l:null;this.l=a?a.h:null};SO.prototype.ia=function(){return new RO(this)};var TO=function(a,b,c){this.g=a;this.j=b;this.h=c};TO.prototype.toString=function(){return"DataChannelDescriptor(label="+this.h+" id="+this.g+", format="+(this.j+")")};TO.prototype.getChannelId=function(){return this.g};TO.prototype.Jf=function(){return this.h};TO.prototype.equals=function(a){return null==a?!1:this.g==a.g&&this.h==a.h};var UO=function(a,b,c){this.id=a;this.uri=b;this.mediaType=void 0===c?null:c};UO.prototype.toString=function(){return"RtpHeaderExtension(uri="+this.uri+", id="+this.id+", mediaType="+this.mediaType+")"};var VO=function(a){this.l=a.j;this.j=a.h;this.h=a.l;this.g=a.g};VO.prototype.Ba=function(){return{port:this.Hb(),name:this.getName(),messagesize:this.h,numstreams:this.g}};VO.prototype.Hb=function(){return this.l};VO.prototype.getName=function(){return this.j};var WO=function(){var a;this.j=(a=void 0===a?null:a)?a.l:null;this.h=a?a.j:null;this.l=a?a.h:null;this.g=a?a.g:null};WO.prototype.ia=function(){return new VO(this)};WO.prototype.Nj=function(a){this.j=a;return this};
WO.prototype.Yf=function(a){this.h=a;return this};var XO=function(a,b){a.g=b;return a};var YO=function(a){this.s=a.l;this.F=a.s;this.m=a.j;this.g=a.g&&a.g.clone();this.j=a.h;this.h=a.C;this.u=a.m;this.C=a.D;this.D=a.u.slice();this.l=a.F};k=YO.prototype;k.toString=function(){return"StreamRequest(participantId: "+this.s+", sourceId: "+this.F+", mediaType: "+this.m+", resolution: "+(this.g&&this.g.width+"x"+this.g.height)+", frameRate: "+this.j+", adaptationReason: "+this.C+", send: "+this.h+", ssrcs: "+this.D+", streamId: "+this.l+")"};k.Z=function(){return this.s};k.ga=function(){return this.m};
k.Ea=function(){return this.F};k.Sc=function(){return this.g&&this.g.clone()};k.Qa=function(){return this.D};k.matches=function(a){return this.Z()==a.Z()&&ZO(this,a)};var ZO=function(a,b){return a.ga()==b.ga()&&a.Ea()==b.Ea()},$O=function(a){this.l=(a=void 0===a?null:a)?a.s:"";this.s=a?a.F:"";this.j=a&&a.m;this.g=a&&a.g&&a.g.clone();this.h=a&&a.j;this.C=null===a?!0:a.h;this.m=a&&a.u;this.D=a&&a.C||0;this.u=a&&a.D||[];this.F=a&&a.l||null};$O.prototype.ia=function(){return new YO(this)};
var aP=function(a,b){a.j=b;return a},bP=function(a,b){a.u=b;return a},cP=function(a,b){a.F=b;return a},dP=function(a,b){a.s=b;return a},eP=function(a,b){a.m=b;return a},fP=function(a,b){a.C=b;return a},gP=function(a,b){a.g=new rg(b.width,b.height);return a},hP=function(a,b){a.h=b;return a},Uea=function(a){var b=new rg(0,0),c=Math.min;null!==a.g&&(b=new rg(c(a.g.width,b.width),c(a.g.height,b.height)));return gP(a,b)},Vea=function(a){a.h=Math.min(a.h||Infinity,0);return a};var iP=function(a,b,c,d){this.h=a;this.m=b;this.D=c;this.Kd=void 0===d?null:d;this.g=null;this.u=[];this.C="";this.Le=[];this.F=this.s=!0;this.j=[];this.l=null},lP=function(a,b){return a===b?!0:a&&b?a.h===b.h&&tc(jP(a),jP(b),function(c,d){return c===d?!0:c&&d?c.l===d.l&&c.Ae===d.Ae&&c.C===d.C&&c.j===d.j&&c.h===d.h&&c.g===d.g:!1})&&tc(kP(a),kP(b),function(c,d){return c===d?!0:c&&d?c.uri===d.uri&&c.id===d.id&&c.mediaType===d.mediaType:!1}):!1};
iP.prototype.Ba=function(){var a=this.g?this.g.Ba():{};return{type:this.h,mediaId:mP(this),bandwidthConstraints:String(this.Gf()),codecs:jP(this),streams:nP(this),sctpSettings:a,rtpHeaderExtensions:kP(this),defaultRequests:this.Qe().map(String),send:this.s,receive:this.F,virtualSsrcs:kc(this.j),loudestCsrc:this.l}};iP.prototype.la=function(){var a=new iP(this.h,this.m,this.D,this.Kd);a.g=this.g;a.u=this.u;a.C=this.C;a.Le=this.Le;a.s=this.s;a.F=this.F;a.j=this.j;a.l=this.l;return a};
var jP=function(a){return kc(a.m)},oP=function(a,b){a=a.la();a.m=b;return a},pP=function(a,b){a=a.la();a.g=b;return a},kP=function(a){return kc(a.D)},qP=function(a,b){a=a.la();a.D=b;return a},nP=function(a){return kc(a.u)},rP=function(a,b){a=a.la();a.u=b;return a},mP=function(a){if(a.C)return a.C;switch(a.h){case "a":return"audio";case "v":return"video";case "d":return"data";default:return Mb("No default media ID for unknown type: "+a.h),""}},sP=function(a,b){a=a.la();a.C=b;return a};
iP.prototype.Qe=function(){return kc(this.Le)};iP.prototype.Tg=function(a){var b=this.la();b.Le=a;return b};iP.prototype.Sm=function(a){var b=this.la();b.Kd=a;return b};iP.prototype.Gf=function(){return this.Kd};
var tP=function(a,b){a=a.la();a.s=b;return a},Wea=function(a,b){a=a.la();a.F=b;return a},uP=function(a,b){a=a.la();a.j=b;return a},Xea=function(a,b){a=a.la();a.l=b;return a},vP=function(a){return 0<a.j.length?a.j.map(function(b){return CO(zO(wO(vO(tO(new sO,"a"),b.toString()),b.toString()),b.toString()),[b]).ia()}):nP(a)},Yea=function(a,b,c){var d=new Set(c.map(wP));c=nP(a);ic(c,function(e){return d.has(e.g)});return rP(a,c.concat(b))},$ea=function(a){return Zea(a,function(b){return MO(b,"CN")})},
Zea=function(a,b){return oP(a,a.m.filter(Ec(b)))},xP=function(a,b){var c=void 0===c?Bc:c;return afa(a,function(d){return MO(d,b)},c)},afa=function(a,b,c){c=void 0===c?Bc:c;b=Yb(a.m,b);if(-1==b)return a;var d=jP(a);c=c(d[b]);gc(d,b);ec(d,0,0,c);return oP(a,d)},yP=function(a,b){if(null===b)return a;var c=a.la(),d=b.Kd?b.Kd.g:null;if(d){null==d&&(d=-1);c=c.la();var e=new HO;e.g=d;c.Kd=e.ia()}d=jP(b);ac(d)||(c=oP(c,d));(d=b.g)&&(c=pP(c,d));d=kP(b);ac(d)||(c=qP(c,d));d=b.Qe();ac(d)||(c=c.Tg(d));a=nP(a);
b=nP(b);d=wP;a=vc(a,d);Object.assign(a,vc(b,d));b=Object.values(a);return rP(c,b)},wP=function(a){return a.g};var zP=function(a,b,c,d,e,f){e=void 0===e?[]:e;this.m=a;this.j=b;this.h=c;this.g=void 0===d?null:d;this.C=null;this.l=e;this.s=void 0===f?"full":f},bfa=function(a,b){return a===b?!0:a&&b?a.m===b.m&&a.j===b.j&&a.h===b.h&&a.g===b.g&&tc(kc(a.l),kc(b.l),function(c,d){return JO(c,d)}):!1};zP.prototype.Ba=function(){return{version:this.vb(),ufrag:this.j,pwd:this.h,fingerprint:this.g,dtlsRole:this.C,candidates:kc(this.l).toString(),mode:this.s}};
zP.prototype.la=function(){var a=new zP(this.m,this.j,this.h,this.g,this.l,this.s);a.C=this.C;return a};zP.prototype.vb=function(){return this.m};var AP=function(a,b){a=a.la();a.C=b;return a};var BP=function(a,b,c,d,e,f,g){var h=this;f=void 0===f?null:f;g=void 0===g?null:g;this.ya=void 0===a?null:a;this.ra=void 0===b?null:b;this.ab=void 0===c?null:c;this.j=void 0===d?null:d;this.l=new Map;((void 0===e?null:e)||[]).forEach(function(m){h.l.set(m.Jf(),m)});this.g=f;this.h=g||[]},DP=function(a,b){var c=a.ra;if(!c)return a;b=jP(c).filter(b);var d=b.map(function(e){return e.Ae.toString()});b=b.filter(function(e){return!MO(e,"rtx")||d.includes("apt"in e.ze?e.ze.apt:null)});return CP(a,oP(c,b))},
cfa=function(a,b){return a===b?!0:a&&b?lP(a.ya,b.ya)&&lP(a.ra,b.ra)&&bfa(a.g,b.g)&&tc(kc(a.h),kc(b.h),function(c,d){return c===d?!0:c&&d?c.g===d.g&&c.j===d.j&&c.l===d.l&&c.h===d.h:!1}):!1};BP.prototype.Ba=function(){return{sessionId:this.j,audio:this.ya&&this.ya.Ba(),video:this.ra&&this.ra.Ba(),data:this.ab&&this.ab.Ba(),pushChannels:EP(this)&&EP(this).toString(),transport:this.g&&this.g.Ba(),cryptos:kc(this.h)}};
BP.prototype.la=function(){var a=new BP(this.ya,this.ra,this.ab,this.j,[],this.g,this.h);a.l=new Map(this.l);return a};
var FP=function(a,b){a=a.la();a.ya=b;return a},CP=function(a,b){a=a.la();a.ra=b;return a},GP=function(a,b){a=a.la();a.ab=b;return a},HP=function(a,b){a=a.la();a.g=b;return a},EP=function(a){return[].concat(p(a.l.values()))},IP=function(a,b){a=a.la();a.h=b;return a},KP=function(a,b,c){a=a.la();a.ya=JP(a.ya,b,c);a.ra=JP(a.ra,b,c);a.ab=JP(a.ab,b,c);return a},JP=function(a,b,c){if(!a)return null;b=b.filter(function(d){return d.ga()==a.h});c=c.filter(function(d){return d.ga()==a.h});return Yea(a,b,c)};var LP=jg("realtime.media.mesi.MesiProtoConverter"),MP=function(){};MP.prototype.C=function(a){var b=new $C;P(b,1,a.g);P(b,2,a.h);P(b,3,a.width);P(b,4,a.height);return b};MP.prototype.D=function(a){var b=Cl(a,1),c=Cl(a,2),d=Cl(a,3);a=Cl(a,4);return null==b||null==c||null==d||null==a?null:new kO(b,c,d,a)};
var ffa=function(a,b,c,d,e,f,g){c=void 0===c?[]:c;f=void 0===f?!1:f;g=void 0===g?null:g;d=new zC;null!=b.j&&d.l(b.j);P(d,7,1);c=c.concat(b.ya.Qe());var h=b.ra;null!=h&&(c=c.concat(h.Qe()));h=dfa([b.ya,b.ra,b.ab]);a=efa(a,h,c,b.g,kc(b.h));P(a,1,4);QC(d,[a]);b=EP(b).map(function(m){var q=new wC,r=m.getChannelId();P(q,1,r);P(q,2,m.j);m=m.Jf();P(q,4,m);switch(m){case "collections":P(q,5,1)}return q});Nl(d,5,b);e&&P(d,14,1);f&&P(d,15,2);null!=g&&U(d,17,g);return d},PP=function(a,b){var c=null,d=null,e=
null,f=null,g=[],h=b.u(),m=S(b,uC,4);if(0<m.length){m=m[0];e=gfa(a,m);c=uP(NP(e,"a"),M(b,10));M(b,12)&&0!==M(b,12)&&(c=Xea(c,M(b,12)));d=NP(e,"v");e=NP(e,"d");var q=R(m,pC,2);q&&(f=hfa(a,q));(m=S(m,bC,4))&&(g=OP(m,a.hy,a)||[])}a=S(b,wC,5).map(function(r){return new TO(r.getChannelId(),M(r,2),r.Jf())},a);return new BP(c,d,e,null==h?void 0:h,a,f,g)},NP=function(a,b){var c=jP(a).filter(function(f){return f.ga()==b}),d="d"==b?a.g:null;if(0==c.length&&null==d)return null;var e=kP(a).filter(function(f){return f.mediaType==
b});a=a.Qe().filter(function(f){return f.ga()==b});return pP((new iP(b,c,e)).Tg(a),d)},efa=function(a,b,c,d,e){var f=new uC,g=QP(b.h)||void 0;P(f,1,g);g=jP(b).map(a.Xt,a);Nl(f,3,g);e=e.map(a.Qn,a);Nl(f,4,e);e=kP(b).map(a.Yt,a);Nl(f,5,e);if(null!=d){e=new pC;a:{g=d.vb();switch(g){case "GICE":g=1;break a;case "ICE":g=2;break a}mg(LP,"Unknown ICE version: "+g);g=void 0}P(e,1,g);P(e,4,d.j);P(e,5,d.h);g=kc(d.l).map(a.h,a);Nl(e,6,g);var h=d.g;h&&(g=new qC,h=h.split(" "),P(g,1,h[0]),P(g,2,h[1]),U(e,2,g));
switch(d.C){case "actpass":var m=3;break;case "passive":m=2;break;case "active":m=1}m&&P(e,7,m);U(f,2,e)}b.g&&(d=b.g.getName(),P(f,8,d));if(b=b.Gf())d=new OB,-1!=b.h&&P(d,1,b.h),-1!=b.g&&P(d,2,b.g),-1!==b.j&&P(d,3,b.j),U(f,7,d);a=c.map(a.j,a);Nl(f,6,a);return f};MP.prototype.j=function(a){var b=new gC;P(b,2,a.h);var c=new QB;P(c,1,a.g&&a.g.height);P(c,2,a.g&&a.g.width);P(c,3,a.j);U(b,3,c);c=new iC;U(c,2,b);a=QP(a.ga())||void 0;P(c,1,a);return c};
var dfa=function(a){for(var b=[],c=[],d=[],e=null,f=null,g=0;g<a.length;g++)null!=a[g]&&(b=b.concat(jP(a[g])),c=c.concat(kP(a[g])),d=d.concat(a[g].Qe()),!e&&a[g].g&&(e=a[g].g),!f&&a[g].Gf()&&(f=a[g].Gf()));return pP(qP(oP(a[0],b),c).Tg(d).Sm(f),e)},gfa=function(a,b){var c=RP(b.ga());if(null==c)return null;var d=OP(S(b,VB,3),a.gy,a)||[],e=OP(S(b,kC,5),Ya(function(g){var h=M(g,2)||"",m=g.getId(),q=RP(g.ga(),c||void 0);null==h||null==m?(mg(LP,"Missing RTP header extension id or uri: "+g),g=null):g=new UO(m,
h,q);return g},a))||[],f=[];S(b,iC,6).forEach(function(g){var h=RP(g.ga());null!=h&&(h=aP(new $O,h),g=SP(h,R(g,gC,2)),f.push(g))},a);a=null;(b=M(b,8))&&(a=XO((new WO).Yf(b).Nj(5E3),256).ia());return pP((new iP(c,d,e)).Tg(f),a)},QP=function(a){switch(a){case "a":return 1;case "v":return 2;case "d":return 3}mg(LP,"Unknown media type: "+a)},RP=function(a,b){b=void 0===b?null:b;switch(a){case 1:return"a";case 2:return"v";case 3:return"d";case 4:return"a"}mg(LP,"Unknown media type: "+a);return b};k=MP.prototype;
k.Xt=function(a){var b=new VB;YB(b,QP(a.ga()));P(b,1,a.Ae);XB(b,a.getName());aC(b,Object.entries(a.ze).map(function(d){var e=n(d);d=e.next().value;e=e.next().value;var f=new WB;P(f,1,d);P(f,2,e);return f}));var c=a.j;P(b,5,null==c?0:c);P(b,6,a.h);P(b,7,a.g);P(b,9,a.m);return b};
k.gy=function(a){var b=RP(a.ga()),c=M(a,1),d=a.getName();if(null==b||null==c||null==d)return mg(LP,"Bad codec: "+a),null;var e=PO(OO(b),c).Yf(d);b=M(a,5);null!=b&&(e.C=b);b=M(a,6);null!=b&&(e.h=b);b=M(a,7);null!=b&&(e.g=b);b=Dl(a,9);null!=b&&(e.l=b);S(a,WB,8).forEach(function(f){var g=M(f,1)||"";f=M(f,2)||"";QO(e,g,f)});return e.ia()};
k.Qn=function(a){a:{var b=a.g;switch(b){case "AES_CM_128_HMAC_SHA1_32":b=2;break a;case "AES_CM_128_HMAC_SHA1_80":b=1;break a}mg(LP,"Unknown crypto suite: "+b);b=null}if(null==b)return mg(LP,"Unknown crypto suite: "+a.g),null;var c=new bC;P(c,1,b);P(c,2,a.j);P(c,3,a.l||void 0);P(c,4,a.h);return c};
k.hy=function(a){a:{var b=M(a,1);switch(b){case 2:b="AES_CM_128_HMAC_SHA1_32";break a;case 1:b="AES_CM_128_HMAC_SHA1_80";break a}mg(LP,"Unknown crypto suite: "+b);b=null}if(null==b)return mg(LP,"Unknown crypto suite: "+M(a,1)),null;var c=M(a,2),d=M(a,3),e=M(a,4);if(null==c||null==e)return mg(LP,"Bad crypto: "+a),null;a=new SO;a.j=b;a.g=c;a.l=e;d&&(a.h=d);return a.ia()};k.Yt=function(a){var b=a.id,c=a.uri;a=a.mediaType;var d=new kC;c=P(d,2,c);b=P(c,1,b);a=QP(a);return P(b,3,a)};
var hfa=function(a,b){a:{var c=M(b,1);switch(c){case 1:c="GICE";break a;case 2:c="ICE";break a}mg(LP,"Unknown ICE version: "+c);c=null}if(null==c)return null;var d="ICE"===c?"lite":"full",e=M(b,4)||"",f=M(b,5)||"",g=S(b,mC,6);a=OP(g,a.m,a)||[];g=R(b,qC,2);var h;g&&(h=M(g,1)+" "+M(g,2));h=new zP(c,e,f,h,a,d);switch(M(b,7)){case 1:h=AP(h,"active");break;case 2:h=AP(h,"passive");break;case 3:Mb("Received unexpected ACTPASS dtls role.")}return h};
MP.prototype.h=function(a){var b=new mC;a:{var c=a.g;switch(c){case 1:c=1;break a;case 2:c=2;break a}mg(LP,"Unknown ICE component: "+c);c=void 0}P(b,1,c);a:{c=a.m;switch(c){case "UDP":c=1;break a;case "TCP":c=2;break a;case "SSLTCP":c=3;break a}mg(LP,"Unknown candidate protocol: "+c);c=void 0}P(b,2,c);P(b,3,a.l);c=a.Hb();P(b,4,c);c=ifa(a.h);P(b,5,c);P(b,6,a.s);P(b,7,a.F);P(b,8,a.j);return b};
MP.prototype.m=function(a){a:{var b=M(a,1);switch(b){case 1:b=1;break a;case 2:b=2;break a}mg(LP,"Unknown ICE component: "+b);b=null}var c=M(a,6);null==c&&(c=0);var d=jfa(M(a,5)),e=kfa(M(a,2)),f=M(a,3),g=a.Hb();if(!(b&&d&&e&&f&&g))return mg(LP,"Missing or unknown candidate parmeters: "+a),null;var h=c.toString(),m=M(a,7)||"";a=M(a,8)||0;return new IO(b,c,d,e,f,g,h,a,m)};
var kfa=function(a){switch(a){case 1:return"UDP";case 2:return"TCP";case 3:return"SSLTCP"}mg(LP,"Unknown candidate protocol: "+a);return null},ifa=function(a){switch(a){case "LOCAL":return 1;case "PEER_REFLEX":return 2;case "STUN":return 3;case "RELAY":return 4}mg(LP,"Unknown candidate type: "+a)},jfa=function(a){switch(a){case 1:return"LOCAL";case 2:return"PEER_REFLEX";case 3:return"STUN";case 4:return"RELAY"}mg(LP,"Unknown ICE type: "+a);return null},TP=function(a,b,c,d){var e=new kD;e.rj(2);null!=
b&&e.tj(b);e.sj(c);b=d.Z()||null;P(e,6,b);b=QP(d.ga());P(e,2,b);b=d.Ea();P(e,7,b);e.uj(d.g);"v"==d.ga()&&P(e,11,d.If());b=new pD;c=d.Hc();P(b,1,c);U(e,10,b);b=new sD;b.setPaused(d.s);U(e,14,b);b=new tD;b.setPaused(d.K);U(e,15,b);b=new mD;BD(b,d.Qa());d.h&&(c=d.h.Ve(),P(b,3,c||[]));a=kc(d.C).map(a.l,a);Nl(b,2,a);U(e,8,b);return e},lfa=function(a){var b=UP;return OP(a,b.u,b)||[]};
MP.prototype.u=function(a){var b=RP(a.ga());if(null==b)return mg(LP,"Unknown stream media type: "+a),null;var c=a.Z(),d=a.Ea(),e=a.qj();if(null==c||null==d||null==e)return mg(LP,"Missing stream parmeters: "+a),null;var f=R(a,pD,10);f=!(!f||!f.Hc());var g=R(a,sD,14);g=!(!g||!Dl(g,1));var h=R(a,tD,15);h=!(!h||!Dl(h,1));var m=null!=M(a,11)?!!Dl(a,11):!0,q=[],r=[],z=[],D=null,C=R(a,mD,8);null!=C&&(q=OP(M(C,1),this.g,this)||[],r=OP(S(C,oD,2),this.s,this)||[],z=M(C,3),D=M(C,4));C=null;0<z.length&&(C=iO(new hO,
z).ia());var K=AO(zO(DO(EO(CO(yO(Rea(Qea(xO(BO(wO(vO(uO(tO(new sO,b),c),d),e),D),f),g),h),m),q),r),C),e),e);a=R(a,rD,13);(a&&M(a,1)||[]).forEach(function(T){if(T=mfa.get(T))K.g|=T});return K.ia()};MP.prototype.g=function(a){return a>>>0};var nfa=function(a){return a>>>0};MP.prototype.l=function(a){var b=new oD;b=P(b,1,a.g);a=a.Qa();return P(b,2,a||[])};MP.prototype.s=function(a){var b=OP(M(a,2),this.g)||[],c=M(a,1);return null==c?(mg(LP,"Unknown ssrc group semantics: "+a),null):new jO(c,b)};
var ofa=function(a){var b=UP;return OP(a,b.F,b)||[]};MP.prototype.F=function(a){var b=RP(a.ga());if(null==b)return mg(LP,"Unknown stream request media type: "+a),null;var c=a.Z(),d=a.Ea();if(null==c||null==d)return mg(LP,"Missing stream request parmeters: "+a),null;var e=cP(new $O,a.qj());e.l=c;b=dP(aP(e,b),d);c=R(a,mD,8);null!=c&&bP(b,OP(M(c,1),this.g,this)||[]);return SP(b,R(a,gC,9))};
var SP=function(a,b){if(b&&Dl(b,2)){fP(a,!0);var c=M(b,5);c.length&&bP(a,c.map(nfa));if(b=b.Sc())(c=M(b,3))&&hP(a,c),c=M(b,2),b=M(b,1),c&&b&&gP(a,new rg(c,b))}else fP(a,!1);return a.ia()},OP=function(a,b,c){if(null==a||!Array.isArray(a))return null;for(var d=[],e=0;e<a.length;e++){var f=a[e];if(null==f)return mg(LP,"Failed to parse: "+a),null;var g=b.call(c,f);if(null==g)return mg(LP,"Failed to parse: "+f),null;d.push(g)}return d},mfa=new Map([[1,1],[2,2],[3,4],[4,8]]);var VP=function(a){gN.call(this);this.j=a;this.g=null;this.h=[];this.m=this.s=!1;this.G=new MP;this.u=this.F=null;pfa(this)};t(VP,gN);VP.prototype.ba=function(){this.h=[];this.g=null;gN.prototype.ba.call(this)};var XP=function(a){var b=a.g,c=a.h[a.h.length-1]||null;a.h.forEach(function(d){"sc"==d.g.getContent()&&(c=d)});b!=c&&(a.g=c,WP(a))};VP.prototype.D=function(a){var b=this.g;XP(this);b&&b==this.g&&a.target==b.g&&WP(this)};
var WP=function(a){a.C()||null===a.u||(a.m?a.s=!0:(a.s=!1,a.m=!0,wt([a.j.ib,a.j.ha,a.j.sources]).then(function(b){var c=b[1],d=b[2];if(null!=this.g){var e=this.G;var f=b[0],g=this.g.g;b=new VC;b.Il(f);b.oj(g.Z());b.Jl(g.getId());f=QP(g.Ra);P(b,4,f);f="mu"==g.getState();var h=new WC;U(b,5,h);h=R(b,WC,5);P(h,1,f);if("a"==g.Ra)null!=g.Qf&&(e=new aD,P(e,2,g.Qf),g=g.Z(),P(e,1,g),U(b,8,e));else if("v"==g.Ra){f=new ZC;U(b,7,f);f=R(b,ZC,7);a:{h=g.getContent();switch(h){case "ca":h=1;break a;case "sc":h=2;
break a}mg(LP,"Unknown media content: "+h);h=void 0}P(f,1,h);f=g.ie&&kc(g.ie);null!=f&&(g=R(b,ZC,7),e=f.map(e.C,e),Nl(g,3,e))}this.F=e=b.oj(c)}else this.F&&(e=this.F,c=R(e,WC,5),P(c,1,!0));e?d.add(e).then(this.l,this.l,this):this.l()},a.l,a)))},pfa=function(a){Ct(a.j.onConnect.then(),function(){a.j.ib.then(function(b){a.u!==b&&(a.u=b,WP(a))})})};VP.prototype.l=function(){this.m=!1;this.s&&WP(this)};var YP=function(a){a=void 0===a?!1:a;KM.call(this);this.m=a;this.g=new Set;this.h=new eL(this);this.l=gL(this.h);this.h.R(this.l,null);this.j=gL(this.h);this.h.R(this.j,null)};t(YP,KM);YP.prototype.add=function(a,b){b=void 0===b?!0:b;if(null!=ZP(this,a.Ra,a.getId(),a.Z()))return!1;this.g.add(a);b&&(a.F=this);this.O(new $P("R",a));aQ(this,a.Ra);return!0};YP.prototype.remove=function(a){return this.g.delete(a)?(a.F==this&&(a.F=null),this.O(new $P("S",a)),aQ(this,a.Ra),!0):!1};
var ZP=function(a,b,c,d){for(var e=n(a.g),f=e.next();!f.done;f=e.next()){f=f.value;var g=f.Ra==b,h=null==c||f.getId()==c,m=null==d||a.m&&""===d||f.Z()==d;!m&&a.m&&""==f.Z()&&(Mb("Should never allow Source matching against empty participantId"),m=!0);if(g&&h&&m)return f}return null},aQ=function(a,b){var c="v"===b?a.l:"a"===b?a.j:null;if(c){for(var d=n(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.Ra===b){a.h.R(c,e);return}a.h.R(c,null)}},$P=function(a,b){W.call(this,a);this.source=b};t($P,W);var bQ=function(){KM.apply(this,arguments)};t(bQ,KM);var cQ=function(a,b,c){W.call(this,a);this.ha=b;this.ym=c};t(cQ,W);var dQ=function(){bQ.apply(this,arguments)};t(dQ,bQ);var eQ=function(a){W.call(this,"Z");this.mb=a};t(eQ,W);var fQ=function(a){W.call(this,"$");this.sessionId=a};t(fQ,W);var gQ=function(a){W.call(this,"V");this.id=a};t(gQ,W);var hQ=function(a){W.call(this,"W");this.sessionDescription=a};t(hQ,W);var iQ=function(a,b,c){c=void 0===c?null:c;W.call(this,"ea");this.Dn=a;this.uq=b;this.sessionId=c};t(iQ,W);var jQ=function(){W.call(this,"aa")};t(jQ,W);var kQ=function(a,b){W.call(this,"Y");this.g=a;this.sessionId=b};t(kQ,W);
var lQ=function(a){W.call(this,"X");this.sessionId=a};t(lQ,W);var mQ=function(a,b,c,d){d=void 0===d?1:d;KM.call(this);this.u=a;this.D=b;this.h=c;this.l=d};t(mQ,KM);mQ.prototype.Z=function(){return this.u};mQ.prototype.Ea=function(){return this.D};mQ.prototype.getState=function(){return this.l};var nQ=function(a,b){b!=a.l&&(a.l=b,a.O("fa"))};mQ.prototype.getInfo=function(){return this.h};var qfa={XF:"INITIAL",tM:"STARTING",sM:"STARTED",dG:"INPROGRESS",PAUSED:"PAUSED",STOPPED:"STOPPED",FINISHED:"FINISHED"},oQ=function(a,b,c){W.call(this,"ga");this.state=a;this.Rb=b;this.g=c};t(oQ,W);var pQ=Date.now,qQ=performance&&performance.timeOrigin&&performance.now?function(){return Math.floor(performance.timeOrigin+performance.now())}:Date.now,rQ=function(a){this.g=a},Y=function(){return new rQ(pQ!=Date.now?Date.now():qQ())},sQ=function(a,b){return new rQ(a.g+b)},tQ=function(a,b){return a.g-b.g};rQ.prototype.toString=function(){return this.g+"ms"};var uQ=new rQ(-Infinity),vQ=new rQ(Infinity);var wQ=function(a){this.g=new Map;this.h=new Set((void 0===a?null:a)||[])},xQ=function(a,b,c){c=void 0===c?Y().g:c;!a.g.has(b)&&0<c&&a.g.set(b,c)},yQ=function(a){var b=[];a.g.forEach(function(c,d){return b.push(SJ(RJ(new QJ,d),c))});return VJ(UJ(b),Array.from(a.h))};var rfa=new Set,sfa=zt();function zQ(a){rfa.add(a);return new AQ(a)}var AQ=function(a){this.key=a;this.value=void 0};AQ.prototype.isDefined=function(){return void 0!==this.value};
var CQ=function(a){if(!a.isDefined())return!1;var b=a.value.toLowerCase();return"true"!==b&&"false"!==b?(BQ(a,"Expected true/false, but was "+a.value+"."),!1):"true"===b},DQ=function(a,b){if(!a.isDefined())return b;var c=Number(a.value);return isNaN(c)||""===a.value?(BQ(a,"Expected a number, but was "+c+"."),b):c},tfa=function(){var a=zQ("TkdLEc");return a.isDefined()?a.value:""},BQ=function(a,b){EQ?EQ(a.key,b):(a="Flag "+a.key+": "+b,Mb(a),Ys(Error(a)))},EQ=null;var FQ={aQ:!0},GQ=function(){throw Error("Do not instantiate directly");};GQ.prototype.Vn=null;GQ.prototype.getContent=function(){return this.content};GQ.prototype.toString=function(){return this.content};var HQ=function(){GQ.call(this)};w(HQ,GQ);HQ.prototype.Wn=FQ;var ufa=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.Vn=d);return c}}(HQ),vfa={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},wfa=function(a){return vfa[a]},xfa=/[\x00\x22\x27\x3c\x3e]/g,yfa=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,
zfa=/</g;var Afa=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i;var Bfa=function(){var a=IQ;a.g=document.createElement("div");document.body.appendChild(a.g);JQ(a)},JQ=function(a){if(a.g&&(a.l||a.C||a.m)){if("realtimeDevtoolsDevtoolsecoBadge".Wn===FQ){var b="realtimeDevtoolsDevtoolsecoBadge".getContent();b=String(b).replace(yfa,"").replace(zfa,"&lt;");b=String(b).replace(xfa,wfa)}else b=Ae("realtimeDevtoolsDevtoolsecoBadge");var c=ufa('<div class="'+b+'"><div>ECO MODE</div><div>TESTING ONLY</div></div>');b=Dg(tg(),"DIV");if(Ra(c))if(c instanceof GQ){if(c.Wn!==
FQ)throw Error("Sanitized content was not of kind HTML.");c=se(c.toString(),c.Vn||null)}else Mb("Soy template output is unsafe for use as HTML: "+c),c=te("zSoyz");else c=te(String(c));c.yd().match(Afa);xe(b,c);1==b.childNodes.length&&(c=b.firstChild,1==c.nodeType&&(b=c));a.g.appendChild(b)}},IQ=new function(){if(window&&window.location&&window.location.href){var a=(new ur(window.location.href)).h;if(Mr(a,"max_send_resolution")){var b=a.get("max_send_resolution");if(b){a:{var c=b.split("x");if(2===
c.length&&(b=Number(c[0]),c=Number(c[1]),!isNaN(b)&&!isNaN(c))){b=new rg(b,c);break a}b=void 0}this.C=b}}Mr(a,"max_send_fps")&&(b=Number(a.get("max_send_fps")),isNaN(b)||(this.l=b));Mr(a,"present_mute_camera")&&(this.m=!0);Mr(a,"disable_webrtc_cpu_based_adaptation")&&(this.h=!0);Mr(a,"force_lens_vip")&&(this.j=a.get("force_lens_vip"));Mr(a,"periodic_dtls_handovers")&&(this.s=a.get("periodic_dtls_handovers"))}JQ(this)};var KQ=function(){this.o=jg("realtime.diagnostics.DiagnosticDataService");this.j=new Map;this.g=new Map;this.h=new Map},MQ=function(a,b,c){var d=KQ.Tb(),e;for(e in b){var f=LQ(d,e,b[e],c);Rs(a,f)}},LQ=function(a,b,c,d){d=void 0===d?!0:d;a.g.has(b)&&(mg(a.o,"Already registered a diagnostics data callback for key '"+b+"'."),b=NQ(a,b));a.h.delete(b);a.g.set(b,c);return function(){a.g.get(b)==c&&(a.g.delete(b),d&&a.h.set(b,c()))}};
KQ.prototype.Ba=function(){var a={};this.h.forEach(function(b,c){return a[c]=b});this.g.forEach(function(b,c){return a[c]=b()});return a};KQ.prototype.reset=function(){this.j.clear();this.g.clear();this.h.clear()};var NQ=function(a,b){for(var c=0;a.g.has(b+"("+c+")");)c++;return b+"("+c+")"};Na(KQ);var OQ=function(a,b){this.g=a;this.values=b;Kb(a.length===b.length+1,"unexpected template strings count")};OQ.prototype.Ja=function(){return this.values};OQ.prototype.toString=function(){for(var a=this.g,b=this.values,c="",d=0;d<a.length;d++)c+=a[d],d<b.length&&(c+=b[d]);return c};
var PQ=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];d=[];for(var e=[],f=0;f<a.length;f++)if(0<d.length?d[d.length-1]+=a[f]:d.push(a[f]),!(f>=c.length)){var g=c[f];g instanceof OQ?0<g.g.length&&(d[d.length-1]+=g.g[0],d.push.apply(d,p(g.g.slice(1))),e.push.apply(e,p(g.values))):(e.push(g),d.push(""))}return new OQ(d,e)};var QQ=function(){};QQ.prototype.Jd=function(a){var b=jg(a.name),c=a.message.toString();a.context&&(c="["+a.context.toString()+"] "+c);kg(b,Cfa(a.level),c,a.error)};function Cfa(a){switch(a){case 0:return bg;case 1:return $f;case 2:return Zf;case 3:return Yf;default:return bg}};function Dfa(a){a=a.split(":").filter(function(b){return 0<b.length});if(2===a.length)return{prefix:a[0],level:Number(a[1])}}function Efa(){return tfa().split(",").map(Dfa).filter(function(a){return void 0!==a})}var RQ=function(){this.g=Efa()},Ffa=function(a,b){return a.g.some(function(c){return b.name.startsWith(c.prefix)&&b.level>=c.level})};RQ.prototype.Jd=function(a){if(Ffa(this,a)){var b=[a.name,a.sessionId,a.context,a.message.toString(),a.error].filter(function(c){return null!=c});Lb(Gfa.get(a.level))(b)}};
var Gfa=new Map([[0,function(a){console.debug.apply(console,p(a))}],[1,function(a){console.info.apply(console,p(a))}],[2,function(a){console.warn.apply(console,p(a))}],[3,function(a){console.error.apply(console,p(a))}]]);var SQ=function(){var a=this;this.h=new Set;this.g=[];setTimeout(function(){a.g=null},5E3)},Hfa=l(["",""]),UQ=function(a){var b=TQ;if(null!==b.g)b.g.forEach(function(d){return a.Jd(d)});else if(null===b.g){var c={level:2,message:PQ(Hfa,"A backend has been registered, but all catch-up entries have already been cleared. In order for a backend to receive catch-up entries, it must be registered within 5 seconds of the LogManager's creation."),name:"realtime.logging.internal.LogManager",context:null,error:null,
json:null,sessionId:null,timestamp:Date.now()};a.Jd(c)}b.h.add(a)};SQ.prototype.Jd=function(a){null!==this.g&&this.g.push(a);for(var b=n(this.h),c=b.next();!c.done;c=b.next()){c=c.value;try{c.Jd(a)}catch(d){setTimeout(function(){throw d;},0)}}};var TQ,VQ=function(){TQ||(TQ=new SQ,UQ(new QQ),sfa.promise.then(function(){var a=new RQ;0<a.g.length&&UQ(a)}));return TQ};var WQ=function(a,b){b=void 0===b?VQ():b;this.s=a;this.C=b;this.m=this.u=this.h=this.l=this.j=null},XQ=function(a){a.h=null;a.u=null;a.m=null},YQ=function(a,b){a.h=b;return a},ZQ=function(a,b){a.m=Mf(b);return a};WQ.prototype.g=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];$Q(this,0,a,c)};WQ.prototype.info=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];$Q(this,1,a,c)};
WQ.prototype.L=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];$Q(this,2,a,c)};WQ.prototype.pa=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];$Q(this,3,a,c)};
var Ifa=l(["CONTEXT FAILED"]),Jfa=l(["An error occurred generating context for log entry"]),$Q=function(a,b,c,d){var e=a.s,f=a.h||a.j,g=a.u||a.l,h=a.m;c=new OQ(c,d);XQ(a);d=Y().g;var m=null;if(f)try{f(function(q,r){for(var z=[],D=1;D<arguments.length;++D)z[D-1]=arguments[D];m=new OQ(q,z)})}catch(q){m=PQ(Ifa),Kfa(a,d,g,PQ(Jfa),q)}a.C.Jd({name:e,level:b,timestamp:d,sessionId:g,message:c,context:m,error:h})},Kfa=function(a,b,c,d,e){a.C.Jd({name:a.s,level:2,timestamp:b,sessionId:c,message:d,context:null,
error:e})},aR=function(a){var b=new WQ(a.s,a.C);b.j=a.h||a.j;b.l=a.u||a.l;XQ(a);return b};var bR=function(a,b){this.o=jg("realtime.media.apiary.Client");this.h=a;this.g=b};
bR.prototype.makeRequest=function(a,b,c,d,e,f){var g=this,h=void 0===d?{}:d;d=h.Uf;h=h.qx;f=void 0===f?{}:f;return this.h.makeRequest(a,b,c,d,h,void 0,void 0,void 0===e?null:e,f).then(function(m){if(null==m)throw new cR("Got empty response.");if(void 0!==m.getResponseHeader){var q=m.getResponseHeader();if(null==q)throw new cR("Missing response header.");q=q.Ha();if(1!=q)throw new cR("Got bad status in response header.",q);}return m},function(m){mg(g.o,"Failed to "+a+" "+b+": "+m);throw m;})};
var dR=function(a,b,c){return new bR(a,c)},cR=function(a,b){b=void 0===b?0:b;Gb.call(this,a+" (status: "+b+")");this.desc=a;this.status=b;this.name="ClientError"};t(cR,Gb);function eR(a){(a=void 0===a?"":a)&&(a+="_");return a+Ee()};var Lfa=function(a,b){this.o=jg("realtime.media.a.MediaSessionsLogClient");this.h=PM(a);this.g=dR(a.h,0,function(){return VM(a,b)})},gR=function(a,b,c){b=fR(a,b,c);return Dt(a.g.makeRequest("media_sessions/callperf",b,sH,void 0,{va:rH.prototype.ly,Fi:gba}),function(d){mg(a.o,"Failed to upload log data: "+d);throw d;})},fR=function(a,b,c){b=Ul(b);P(b,13,a.h);var d=new rH;d.setRequestHeader(a.g.g());c&&P(d,2,c);U(d,3,b);return d},hR=function(a,b){return new Lfa(a,b||eR(PM(a)))};var iR=new bK("boklXe","T6U9J");var jR=new rg(320,180),kR=new rg(640,360),lR=new rg(1280,720);var mR={host:"LOCAL",srflx:"STUN",relay:"RELAY",prflx:"PEER_REFLEX"};var nR=function(a,b){this.g=a;this.h=b};ea.Object.defineProperties(nR.prototype,{key:{configurable:!0,enumerable:!0,get:function(){return this.g}},value:{configurable:!0,enumerable:!0,get:function(){return this.h}}});var oR=function(a,b,c,d){this.j=a;this.g=b;this.h=c;this.l=d};ea.Object.defineProperties(oR.prototype,{type:{configurable:!0,enumerable:!0,get:function(){return this.j}},port:{configurable:!0,enumerable:!0,get:function(){return this.g}},protocol:{configurable:!0,enumerable:!0,get:function(){return this.h}}});var pR=function(a,b){this.l=a;"string"===typeof b?(this.g=b,"m"===a?(a=b.split(" "),this.j=new oR(a[0],a[1],a[2],a.slice(3))):"a"===a&&(a=Fe(b,":",1),b=a[0],this.h=1===a.length?new nR(b,null):new nR(b,a[1]))):b instanceof oR?(this.j=b,this.g=b.j+" "+b.g+" "+b.h+" "+b.l.join(" ")):b instanceof nR&&(this.h=b,this.g=b.h?b.g+":"+b.h:b.g)};pR.prototype.toString=function(){return this.Jh+"="+this.value};var qR=function(a){a=Fe(a,"=",1);return new pR(a[0],a[1])};
ea.Object.defineProperties(pR.prototype,{Jh:{configurable:!0,enumerable:!0,get:function(){return this.l}},value:{configurable:!0,enumerable:!0,get:function(){return this.g}},C:{configurable:!0,enumerable:!0,get:function(){return this.h}},m:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var rR=function(a){this.h=a;this.g=new Map;Mfa(this)},Mfa=function(a){var b=new Map;a.h.forEach(function(c){if("a"===c.Jh){c=c.C;var d=c.key,e=b.get(d);e||(e=[],b.set(d,e));c.value?e.push(c.value):e.push("")}});b.forEach(function(c,d){a.g.set(d,new sR(d,c," ",!1))})};rR.prototype.get=function(a){return this.g.get(a)||new sR(a,[]," ",!0)};
var sR=function(a,b,c,d){d=void 0===d?!1:d;this.u=a;this.l=b;this.F=void 0===c?":":c;this.j=(this.s=d)?new Map:null;this.C=d?[]:null},Nfa=function(a,b){return a.h?a:b};sR.prototype.forEach=function(a){tR(this);this.j.forEach(a)};sR.prototype.get=function(a){tR(this);return this.j.get(a)||new sR(a,[],":",!0)};var tR=function(a){if(null===a.j){var b=new Map;a.l.forEach(function(c){c=Fe(c,a.F,1);var d=c[0],e=b.get(d)||[];b.set(d,[].concat(p(e),[c[1]||""]))});a.j=Ofa(b);a.C=Array.from(a.j.keys())}};
ea.Object.defineProperties(sR.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return this.l}},g:{configurable:!0,enumerable:!0,get:function(){return this.s||0===this.l.length?null:this.l[0]}},h:{configurable:!0,enumerable:!0,get:function(){return!this.s}},key:{configurable:!0,enumerable:!0,get:function(){return this.u}},keys:{configurable:!0,enumerable:!0,get:function(){tR(this);return this.C}}});function Ofa(a){var b=new Map;a.forEach(function(c,d){b.set(d,new sR(d,c))});return b};var uR=function(a){this.g=a;this.C=this.m=this.l=null;this.G=this.K=!1;this.H=[];this.D=this.u=null;this.V=[];this.s=[];this.N=new Map;this.j=this.h=this.F=null},vR=function(a,b){b=new rR(b);var c=b.get("ice-ufrag").g;null!=c&&(a.m=c);c=b.get("ice-pwd").g;null!=c&&(a.C=c);c=b.get("fingerprint").g;null!=c&&(a.u=c);if(c=b.get("setup").g)a.D=c;Pfa(a,b);if(a.g){c=b.get("sendonly").h;var d=b.get("recvonly").h,e=b.get("sendrecv").h;if(c||e)a.K=!0;if(d||e)a.G=!0;a.l=b.get("mid").g;Qfa(a,b,a.g);a.h=b.get("rid").keys;
if(c=b.get("simulcast").g)if(d=n(Fe(c.trim()," ",1)),c=d.next().value,d=d.next().value,"send"===c&&d&&(c=n(Fe(d,"=",1)),c.next(),c=c.next().value))a.j=c.split(";");Rfa(a,b,a.g);Sfa(a,b,a.g);Tfa(a,b)}},Pfa=function(a,b){b.get("crypto").forEach(function(c,d){var e=n(Fe(c.g," ",2));c=e.next().value;var f=e.next().value;e=e.next().value;var g=new SO;g.l=parseInt(d,10);g.j=c;g.g=f;g.h=e||"";d=g.ia();a.H.push(d)})},Qfa=function(a,b,c){b.get("extmap").forEach(function(d,e){d=d.g;e=n(Fe(e,"/",2));var f=e.next().value;
e.next();a.V.push(new UO(parseInt(f,10),d,c))})},Rfa=function(a,b,c){var d=new Map;b.get("fmtp").forEach(function(e,f){var g={};e.g.split(";").forEach(function(h){h=Fe(h,"=",1);2===h.length&&(g[h[0]]=h[1])});d.set(parseInt(f,10),g)});b.get("rtpmap").forEach(function(e,f){f=parseInt(f,10);var g=e.g.split("/"),h=g[0];e=parseInt(g[1],10);g=2<g.length?parseInt(g[2],10):1;h=PO(OO(c),f).Yf(h);h.h=e;h.g=g;e=d.get(f)||{};h.j=KO(e);e=h.ia();d.delete(f);a.s.push(e)})},Sfa=function(a,b,c){var d=b.get("msid"),
e=a.N,f=new Set;b.get("ssrc").forEach(function(h,m){m=parseInt(m,10);var q=h.get("cname").g;h=Nfa(h.get("msid"),d);f.add(m);if(h.h){h=n(Fe(h.g," ",1));var r=h.next().value,z=h.next().value;h=e.get(r);h||(h=new sO,BO(AO(wO(zO(tO(h,c),r),z),z),a.l),e.set(r,h));q&&vO(h,q);a.h&&0<a.h.length&&(q=[],a.j&&0<a.j.length?(a.j.forEach(function(D){return a.h.includes(D)}),q=a.j.reverse()):q=a.h,q=iO(new hO,q).ia(),DO(h,q));h.h.push(m)}});b=b.get("ssrc-group").m.map(function(h){var m=h.split(" ");h=m[0];m=m.slice(1).map(function(q){return parseInt(q,
10)});m.forEach(function(q){return f.has(q)});return new jO(h,m)});var g=new Map;b.forEach(function(h){h.Qa().forEach(function(m){return g.set(m,[].concat(p(g.get(m)||[]),[h]))})});e.forEach(function(h){var m=new Set;h.Qa().forEach(function(q){(g.get(q)||[]).forEach(function(r){return m.add(r)})});EO(h,Array.from(m))})},Tfa=function(a,b){var c=XO(new WO,1024).Yf("webrtc-datachannel"),d=!1;b.get("sctpmap").forEach(function(e,f){f=parseInt(f,10);var g=n(e.g.split(" "));e=g.next().value;g=g.next().value;
0!==f&&"rejected"!==e&&(g=parseInt(g,10),c=XO(c.Nj(f).Yf(e),g),d=!0)});b.get("sctp-port").forEach(function(e,f){c=c.Nj(parseInt(f,10));d=!0});d&&(a.F=c.ia())},wR=function(a,b){var c=b.g||new zP("ICE","","");if(a.m&&a.C){var d=a.m;c=c.la();c.j=d;d=a.C;c=c.la();c.h=d}a.u&&(d=a.u,c=c.la(),c.g=d);a.D&&(c=AP(c,a.D));b=IP(HP(b,c),[].concat(p(kc(b.h)),p(a.H)));if(a.g)switch(c=a.g,a=Ufa(a,c),c){case "a":b=FP(b,a);break;case "v":b=CP(b,a);break;case "d":b=GP(b,a)}return b},Ufa=function(a,b){var c=Array.from(a.N.values()).map(function(d){return d.ia()});
b=rP(oP(Wea(tP(new iP(b,a.s,a.V),a.K),a.G),a.s),c);a.l&&(b=sP(b,a.l));a.F&&(b=pP(b,a.F));return b};var xR=function(a){this.u=a;this.s=a[0];this.m=this.h=null};
ea.Object.defineProperties(xR.prototype,{C:{configurable:!0,enumerable:!0,get:function(){return this.u}},l:{configurable:!0,enumerable:!0,get:function(){return this.s.m}},mediaType:{configurable:!0,enumerable:!0,get:function(){return this.l.type}},j:{configurable:!0,enumerable:!0,get:function(){if(!this.h){var a=this.g;a.get("sendonly").h?this.h="sendonly":a.get("recvonly").h?this.h="recvonly":a.get("inactive").h?this.h="inactive":this.h="sendrecv"}return this.h}},Eh:{configurable:!0,enumerable:!0,
get:function(){return"sendrecv"===this.j||"sendonly"===this.j}},bl:{configurable:!0,enumerable:!0,get:function(){return"sendrecv"===this.j||"recvonly"===this.j}},g:{configurable:!0,enumerable:!0,get:function(){this.m||(this.m=new rR(this.C));return this.m}}});var Vfa=function(a){this.sessionId=a};var yR=function(a){this.g=a;this.sessionId=a.filter(function(b){return"o"===b.Jh}).map(function(b){return(new Vfa(b.value.split(" ")[1])).sessionId})[0]};var zR=function(a,b){this.g=a;this.h=b},AR=function(a){return a.g.g.concat.apply(a.g.g,p(a.h.map(function(b){return b.C}))).map(function(b){return b.Jh+"="+b.value}).join("\r\n")+"\r\n"},BR=function(a){function b(){c?d.push(new xR(e)):c=new yR(e)}var c=null,d=[],e=[];a.split(/\r?\n/).forEach(function(f){td(f)||(f=qR(f),"m"===f.Jh&&(b(),e=[]),e.push(f))});b();return new zR(c,d)};
ea.Object.defineProperties(zR.prototype,{session:{configurable:!0,enumerable:!0,get:function(){return this.g}},media:{configurable:!0,enumerable:!0,get:function(){return this.h}}});function Wfa(a){a=a.trim().split(" ");var b=a[0].split(":")[1],c=parseInt(a[1],10),d=a[2].toUpperCase(),e=parseInt(a[3],10),f=a[4],g=parseInt(a[5],10),h=mR[a[7]],m;a.forEach(function(D,C){"generation"===D&&(m=C+1)});switch(h){case "STUN":case "RELAY":case "PEER_REFLEX":var q=a[9];var r=parseInt(a[11],10)}var z=0;m&&(z=parseInt(a[m],10));return new IO(c,e,h,d,f,g,b,z,"",q,r)}
function CR(a){var b="string"===typeof a?BR(a):a;a=new BP;var c=new uR(null);vR(c,b.session.g);a=wR(c,a);c=b.media.filter(function(e){return"audio"===e.l.type});var d=b.media.filter(function(e){return"video"===e.l.type});b=b.media.filter(function(e){return"data"===e.l.type||"application"===e.l.type});a=DR("a",c,a);a=DR("v",d,a);return a=DR("d",b,a)}function DR(a,b,c){var d=new uR(a);b.forEach(function(e){return vR(d,e.C)});return wR(d,c)};var ER=function(a,b,c){V.call(this);this.g=a;this.l=b||0;this.h=c;this.j=Ya(this.Nv,this)};w(ER,V);k=ER.prototype;k.Va=0;k.ba=function(){ER.Kb.ba.call(this);this.stop();delete this.g;delete this.h};k.start=function(a){this.stop();this.Va=Ov(this.j,void 0!==a?a:this.l)};k.stop=function(){0!=this.Va&&Pv(this.Va);this.Va=0};k.Nv=function(){this.Va=0;this.g&&this.g.call(this.h)};function Xfa(){var a=new EC;P(a,2,3);var b=new FC;U(a,3,b);return a};var GR=function(a){W.call(this,FR);this.message=a};t(GR,W);var FR=new ev("ha");var HR=function(){var a=Error.apply(this,arguments);this.message=a.message;"stack"in a&&(this.stack=a.stack)};t(HR,Error);function IR(a){if(1>a.length||!a[0])throw new HR("Received null session proto");return a[0]};var Yfa=l(["sessionId=",""]),JR=function(a,b,c){var d=c.eA;c=c.pA;KM.call(this);var e=this;this.o=YQ(new WQ("realtime.media.session.MediaSessionSyncer"),function(f){return f(Yfa,e.s)});this.D=a;this.m=b;this.N=d;this.W=c;this.l=new gN(this);this.T(this.l);this.G=new MP;this.s=this.g=null;this.h=-1;this.j=null};t(JR,KM);
var Zfa=l(["starting sync"]),$fa=l(["stopping sync"]),LR=function(a){a.o.info($fa);KR(a);lN(a.l,a.m,"m",a.u);a.g=null},aga=l(["resync requested"]),NR=function(a){null!=a.g&&(a.o.info(aga),KR(a),MR(a))};JR.prototype.ba=function(){LR(this);KM.prototype.ba.call(this)};
var bga=l(["sending session query"]),MR=function(a){a.o.info(bga);var b=null;a.W&&-1!==a.h&&(b=a.h);a.D.query(a.g,b).then(a.K,a.H,a)},cga=l(["scheduling session query"]),OR=function(a){KR(a);a.o.info(cga);a.j=Ov(function(){a.j=null;MR(a)},a.N)},KR=function(a){null!=a.j&&(Pv(a.j),a.j=null)},QR=function(a,b){b=PP(a.G,b);a.O(new PR(b))},dga=l(["session query returned version ",", have ",""]);
JR.prototype.K=function(a){var b=a.session;a=a.version;null!=this.g&&(this.o.info(dga,a,this.h),a>this.h&&(this.h=a,QR(this,b)),OR(this))};var ega=l(["session query returned error, stopping sync"]),fga=l(["ignoring session query error"]);JR.prototype.H=function(a){if(null!=this.g){var b=a instanceof cR?a:new cR(""+a);switch(b.status){case 4:case 5:case 7:case 11:ZQ(this.o,a).pa(ega);LR(this);this.O(new RR(b.status,b.desc));break;default:ZQ(this.o,a).L(fga),OR(this)}}};
var gga=l(["not syncing, ignoring session push"]),hga=l(["removed by session push"]),iga=l(["session push with no version, have ",""]),jga=l(["session push provided version ",", have ",""]),kga=l(["modified by session push"]),lga=l(["resync requested by session push"]);
JR.prototype.u=function(a){var b=this;if(null!=this.g)if(a=a.notification,a.zc().some(function(e){return e.l()==b.g}))this.o.info(hga),LR(this),this.O(new RR(11,"session removed"));else{var c=a.X();c=c&&c.vb();if(void 0===c)this.o.info(iga,this.h);else if(this.o.info(jga,c,this.h),!(c<=this.h)){var d=a.Db().find(function(e){return e.u()==b.g});null!=d&&(this.o.info(kga),this.h=c,QR(this,d));null!=M(a,4)&&a.Ib().l()==this.g&&(this.o.info(lga),NR(this))}}else this.o.info(gga)};
var SR=new ev("ia"),TR=new ev("ja"),RR=function(a,b){W.call(this,SR);this.status=a;this.message=b};t(RR,W);var PR=function(a){W.call(this,TR);this.sessionDescription=a};t(PR,W);var UR=function(a){this.m=a;this.h=this.g=this.j=null};UR.prototype.Gb=function(){return this.g};UR.prototype.Ia=function(){return this.h};UR.prototype.l=function(a){this.m&&P(a,14,this.m);this.j&&P(a,16,this.j);this.g&&P(a,22,this.g);this.h&&P(a,23,this.h)};UR.prototype.toString=function(){return"{ ParticipantLogId: "+(this.m||"")+", SyntheticId: "+(this.j||"")+", MeetingCode: "+(this.g||"")+", MeetingSpaceId: "+(this.h||"")+" }"};var VR=function(){this.m=null;this.F=!1;this.j=this.l=this.g=this.h=this.s=!0;this.H=!1;this.u=this.D=this.G=this.C=!0};VR.prototype.Ba=function(){return{autoGainControl:this.g,echoCancellation:this.h,highPassFilter:this.j,inbandFec:this.G,dtx:this.D,noiseSuppression:this.l,preferredSendCodec:this.m,sendComfortNoise:this.s,sendOpus:this.u,sendStereo:this.F,stereoSwapping:this.H,transientSuppression:this.C}};
VR.prototype.la=function(){var a=new VR;a.m=this.m;a.F=this.F;a.s=this.s;a.h=this.h;a.g=this.g;a.l=this.l;a.j=this.j;a.H=this.H;a.C=this.C;a.G=this.G;a.D=this.D;a.u=this.u;return a};var WR=function(){this.Rg=this.Jm=this.Km=this.Ze=!0;this.Bk=!1;this.su=null;this.Le=[];this.Cf=this.Ke=!1;this.tk=null;this.Xf=!0;this.Oo=[{urls:["stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302","stun:stun3.l.google.com:19302","stun:stun4.l.google.com:19302"]}];this.aA=!0;this.mh=new VR;this.Lr=!0;this.hm=this.rg=this.yj=this.kk=this.Fn=!1;this.fu=void 0;this.ji=!1;this.Lm=this.Mr=!0;this.Kd=null;this.Gh=void 0;this.el=1E4;this.Mg=!1;this.Or=!0;this.De=
this.Ie=null;this.nA=this.jk=this.ik=this.mA=!0;this.ej=!1;this.lh=120;this.mk=null;this.ud=0;this.Lj=!1;this.Hg=1E3;this.Li=!0;this.Gn=!1};
WR.prototype.Ba=function(){return{useAudio:this.Ze,useVideo:this.Km,useData:this.Jm,useVideoRtx:this.Rg,dumpRtpHeaders:this.Bk,earlyMediaHangoutId:this.su,defaultRequests:this.Le,debugLogUploadAllowed:this.Ke,debugLogUploadForced:this.Cf,clientResource:this.tk,useSimulcast:this.Xf,startMuted:this.aA,useConferenceMode:this.Lr,AudioDscp:this.Ie,VideoDscp:this.De,useVirtualAudioSSRCs:this.Or,allowH264:this.Fn,allowVp9:this.kk,sendVp9:this.yj,forceVp9:this.rg,useAdaptiveLayering_:this.ji,useWebrtcCpuAdaptation:this.Lm,
useBackendLoudestSpeaker:this.mA,bandwidthConstraints:this.Kd,jmiIntervalMs:this.Gh,jmiUploadIntervalMs:this.el,shouldHistogramData:this.Mg,allowOnlyRequestedVideo:this.jk,isTestCall:this.ej,audioJitterBufferMinDelayMs:this.lh,audioProcessorConfig:this.mk,audioLevelMode:this.ud,usePassiveListener:this.Lj,passiveModeDelayMillis:this.Hg,excludeSelfStreams:this.Li,allowSinglecast:this.Gn}};WR.prototype.la=function(){var a=new WR,b;for(b in this)a[b]=this[b];return a};
var YR=function(a){a=a.la();a.Ze=!1;return a},mga=function(a){a=a.la();a.Rg=!1;return a};WR.prototype.Mk=function(){return this.Or};WR.prototype.wg=function(){return this.Bk};var ZR=function(a,b){if(a.Ke&&a.Cf)return a;a=a.la();a.Ke=b;return a},$R=function(a){a=a.la();a.Cf=!0;return a};WR.prototype.Qe=function(){return this.Le};WR.prototype.Tg=function(a){var b=this.la();b.Le=a;return b};WR.prototype.dc=function(){return this.tk};
var aS=function(a){a=a.la();a.Mr=!1;return a},bS=function(a,b){a=a.la();a.mh=b;return a};WR.prototype.Fk=function(){return this.Fn};WR.prototype.tg=function(){return this.kk};var cS=function(a,b){a=a.la();a.Ie=b;return a},dS=function(a,b){a=a.la();a.De=b;return a};k=WR.prototype;k.Sm=function(a){var b=this.la();b.Kd=a;return b};k.Gf=function(){return this.Kd};k.xh=function(){return this.Gh};k.yh=function(){return this.el};k.Ah=function(){return this.Mg};k.Qi=function(){return this.mk};var eS=function(a,b,c){V.call(this);this.s=a;this.h=b;this.m=c;this.g=this.l=null;this.j=[];this.u=DQ(zQ("DmKtxe"),1)};t(eS,V);
var gS=function(a,b,c){var d=a.l;if(null==d)return st(Error("Cannot upload LogData without a sessionId."));if(!a.g)return st(Error("Cannot upload LogData without hangout data."));null!=a.h&&P(b,1,a.h);fS(a,b);P(b,2,a.g.ib);P(b,3,a.g.ha);a.g.fe.l(b);P(b,21,c);return a.s(b,d)},nga=function(a,b,c){hS(a,c,b)},oga=function(a,b,c,d,e,f){return hS(a,c,e,b,d,f,!0)},hS=function(a,b,c,d,e,f,g){g=void 0===g?!1:g;var h=a.l;if(null==h)return st(Error("Cannot upload LogData without a sessionId."));if(!a.g)return st(Error("Cannot upload LogData without hangout data."));
if(null==c&&null==d)return st("Nothing to upload");null!=c&&a.j.push(c);if(!g&&a.j.length!=a.u)return rt();c=a.g;g=c.au;var m=c.bu;c=new hG;P(c,2,(new Date(m)).toString());CQ(zQ("xKXfOb"))?P(c,133,m):P(c,133,g.g);m=-2;g&&(g=tQ(Y(),g),m=Math.round(g/1E3));P(c,3,m);P(c,1,h);null!=d&&P(c,29,d);null!=e&&P(c,30,e);null==f||td(De(f))||P(c,100,f);Nl(c,5,a.j);a.j=[];d=new qH;U(d,4,c);P(d,2,a.g.ib);null!=a.g.ha&&(P(d,3,a.g.ha),P(d,24,a.g.ha));null!=a.h&&P(d,1,a.h);fS(a,d);a.g.fe.l(d);P(d,21,b);return a.s(d,
h)},fS=function(a,b){P(b,11,a.m.g.slice()||[]);P(b,12,a.m.h);P(b,18,a.m.j)};var iS=function(a,b,c){var d=a.g;mQ.call(this,d.Z(),d.getId(),b,c);this.g=a};t(iS,mQ);var jS=function(a,b,c,d,e,f){KM.call(this);this.Y=a;this.H=b;this.D=c;this.K=d;this.G=e;this.W=f;this.N=[];this.j=this.g=this.h=null;this.u=new gN(this);this.T(this.u);this.m=new gN(this);this.T(this.m);this.l=new gN(this);this.T(this.l);this.s=new gN(this);this.T(this.s);this.lg(new iQ([],[]))};t(jS,KM);jS.prototype.Z=function(){return this.Y};
var kS=function(a,b){a.g===b?!a.g&&a.h&&a.m.listen(a.h,"R",a.lg):(a.g&&lN(a.l,a.g,["J","H","I","K"]),(a.g=b)?(a.l.listen(b,"J",a.zx),a.l.listen(b,["H","I","K"],a.Zx),a.s.listen(a.G,"ea",a.lg)):a.s.removeAll(),a.O("ka"),a.h&&a.m.listen(a.h,null!==b?"S":"R",a.lg))};k=jS.prototype;k.za=function(){return this.j};k.release=function(a){fc(this.N,a)&&this.O("la")};
k.lg=function(a){var b=this.K.Kf(this.Z());this.h&&this.h===b||(this.u.removeAll(),this.h&&lN(this.m,this.h,["S","R"]),this.h=b,this.u.listen(this.K,null!==b?"U":"T",this.lg));if(null==this.h)kS(this,null);else{b=Array.from(this.h.g);for(var c=this.g,d=null,e=0;e<b.length&&(this.W!=b[e].Ra||null!=this.D&&this.D!=b[e].getContent()||null!=this.H&&this.H!=b[e].getId()||(d=b[e],d!=c));e++);kS(this,d)}b=this.g;null!=b?(a=this.G.za(b,a instanceof iQ?a.sessionId:void 0),this.j!=a&&(this.j=a,this.O("la")),
a instanceof iS&&kS(this,a.g.g)):null!=this.j&&(this.j=null,this.O("la"))};k.Zx=function(a){this.O(a)};k.zx=function(a){this.lg(a);this.O("ma")};var lS=function(a,b,c,d,e){jS.call(this,a,b,c,d,e,"a")};t(lS,jS);lS.prototype.matches=function(a,b,c){b=void 0===b?null:b;c=void 0===c?null:c;return this.Z()==a&&(this.g&&this.g.getId())==b&&(this.g&&this.g.getContent())==c};var mS=function(a,b){KM.call(this);this.o=new WQ("realtime.media.rendering.ParticipantRenderableManager");this.j=a;this.h=b;this.g=new gN(this);this.T(this.g)};t(mS,KM);var nS=function(a,b,c){V.call(this);var d=this;this.u=a;this.F=b;this.o=new WQ("realtime.media.api.a.BulkJoinProcessor");this.h=c;this.g=null;this.l=new Promise(function(e){return d.D=e});this.s=new Promise(function(e){d.m=e});this.j=!1};t(nS,V);
var pga=l(["Connecting Bulk Join Handler for ",""]),qga=l(["Disconnecting Bulk Join Handler for ",""]),rga=l(["Set sessionId ",""]),tga=function(a,b){if(!a.g){a.o.info(pga,b);var c=a.u.attach(function(d){return sga(a,d)},a);a.s.finally(function(){a.o.info(qga,b);a.u.detach(c)})}a.o.info(rga,b);a.g=b},uga=l(["Ignoring bulk join request for "," since we already are handling one."]),vga=l(["Adding session "," to bulk join for ",""]),wga=l(["Failed to get down streams!"]),xga=l(["Appending "," MediaStreamAdds to bulk join for ",
""]),yga=l(["Failed to get down streams!"]),zga=l(["We bulk joined a different hangoutId! Session had "," and bulk join was for ",""]),Aga=l(["Bulk join complete. UpStreams: ",". DownStreams: ","."]),sga=function(a,b){var c=b.nP,d=b.bP,e,f,g,h,m,q,r;return Da(function(z){switch(z.g){case 1:e=lea(c);if(!e)return z.return();f=e;if(a.j)return a.o.L(uga,f),z.return();a.o.info(vga,a.g,f);a.j=!0;g=d(LD(new JD,GD(ID(HD(new FD,a.g),f),1))).then(oS).catch(function(D){ZQ(a.o,pS(D)).pa(wga)});h=new Promise(function(D){a.o.info(xga,
a.h.length,f);a.h.length?D(Bga(a,d,f)):D(d(LD(new JD,GD(ID(HD(new FD,a.g),f),2))).then(oS).catch(function(C){ZQ(a.o,pS(C)).pa(yga)}))});return u(z,a.l,2);case 2:return m=z.h,f!==m?u(z,h,7):u(z,h,5);case 5:return q=z.h,u(z,g,6);case 6:r={Gr:q,ho:z.h};a.o.info(Aga,qS(r.Gr),qS(r.ho));a.m(r);z.cb(0);break;case 7:a.o.pa(zga,m,f),a.m({}),z.g=0}})},Cga=l(["Failed to add streams! Pushing streams back ","."]),Bga=function(a,b,c){var d=a.h.concat(),e=d.map(function(f){f=TP(a.F,a.g,c,f);P(f,6,void 0);return f});
a.h.length=0;return b(KD(new JD,ED(new DD,e))).then(function(f){var g,h,m;return Da(function(q){if(1==q.g)return u(q,a.l,2);g=q.h;if(c!==g)throw Error("Added streams from another hangout");h=R(f,iE,3);if(!h||!mM(h))throw Error("Failed to add streams");m=lM(h);return q.return({version:m,data:S(h,kD,4)||[]})})}).catch(function(f){ZQ(a.o,pS(f)).pa(Cga,d.length);a.h.unshift.apply(a.h,p(d))})},Dga=l(["Set hangout id: ",""]),Ega=l(["Bulk never occurred before session finalization."]),Fga=function(a){return Da(function(b){a.j||
(a.o.info(Ega),a.j=!0,a.m({}));return b.return(a.s)})},oS=function(a){a=R(a,kE,4);if(!a)throw Error("Missing Search Response");if(!mM(a))throw Error("Early search failed");var b=lM(a);if(null!=b)return{version:b,data:S(a,kD,2)||[]};throw Error("No version found!");},qS=function(a){return a?a.data.length+" items ("+a.version+")":"NONE"},pS=function(a){return a instanceof Error?a:Error(""+a)};var rS=function(){this.g=new Set},sS=function(a,b){a.g.add("function"===typeof b?{Md:b}:b)};rS.prototype.Md=function(a){for(var b=n(this.g),c=b.next();!c.done;c=b.next())c.value.Md(a)};var tS=function(){Lv.apply(this,arguments)};t(tS,Lv);k=tS.prototype;k.Ba=function(){return{id:this.g,isInProgress:"INPROGRESS"==this.getState(),state:this.getState()}};k.pause=function(){};k.resume=function(){};k.za=function(){throw Error("getStream not supported on RemoteSession");};k.vo=function(){return st("Not implemented")};k.Md=function(){};var uS=new ev("pa"),vS=new ev("qa"),wS=function(a,b,c){W.call(this,uS);this.Fc=kc(a);this.nc=kc(b);this.removed=kc(c)};t(wS,W);
var xS=function(a){W.call(this,vS);this.g=kc(a)};t(xS,W);var yS=function(a){L(this,a,0,-1,null,null)};w(yS,J);var Gga=function(a){a=[[1300,M(a,2)],[1301,M(a,3)],[1302,M(a,4)],[1303,M(a,5)],[1304,M(a,6)],[1305,M(a,7)],[1306,M(a,8)],[1307,M(a,9)],[1308,M(a,10)],[1309,M(a,11)],[1310,M(a,12)],[1311,M(a,13)]].map(function(b){var c=n(b);b=c.next().value;c=c.next().value;return SJ(RJ(new QJ,b),c)});return UJ(a)};var AS=function(){this.h=!1;this.Hh=this.g=null;this.media=new lG;zS.set(this.media,this)},zS=new WeakMap;var UP=new MP,Hga=l(["sessionId=",""]),CS=function(a,b,c,d){var e=d.wu;d=d.Kc;tS.call(this);var f=this;this.o=jg("realtime.media.session.mesi.RemoteSession");this.m=YQ(new WQ("realtime.media.session.mesi.RemoteSession"),function(g){return g(Hga,BS(f))});this.Na=a;this.oa=b;this.gb=d;this.Aa=this.l=this.Ca=this.g=null;this.Li=e;this.fa=new cL(a);this.j=this.h=null;this.W=zt();this.ja=[];this.qa=new gN(this);this.T(this.qa);this.D=c;this.T(this.D);this.s="INITIAL";this.sa=new Set;this.G=[];this.xa=
[];this.K=new Map;this.u=new Map;this.N=new Map;this.ea=new Map;this.Pa=new Map;this.bb=new Map;this.Ma=zt();this.Y=zt();this.Oa=new Set;this.wb=xK(a,ZK);this.H=new nS(this.oa.h.N,UP,this.G);this.T(this.H);MQ(this,{mediaSessionStartTime:function(){return(new Date(f.hb)).toString()},mediaUpStreams:function(){return f.h&&f.h.Ba()},mediaDownStreams:function(){return f.j&&f.j.Ba()}})};t(CS,tS);
var Iga=l(["state changed "," -> ",""]),DS=function(a,b,c,d){a.s!=b&&(a.m.info(Iga,a.s,b),a.s=b,a.O(new oQ(b,c,d)))};CS.prototype.getState=function(){return this.s};CS.prototype.vo=function(){return this.W.promise.then(function(a){return vN(a)})};
var Kga=function(a,b,c,d){null!=a.h?lg(a.o,"Local streams collection already initiated"):(a.h=bO(a.Na,a.oa,[c,2,b],$N,ZN,"o","MediaUpStream"),a.T(a.h),a.h.Y.attach(function(e){var f=e.Rb;a.m.pa(ES,e.reason);a.stop(f)},a),a.h.start(void 0,d),a.h.onChange.attach(function(e){return Jga(a,e.Fc,e.nc,e.removed)},a))},Nga=function(a){null!=a.j?lg(a.o,"Remote streams collection already initiated"):(a.j=bO(a.Na,a.oa,["",1,""],$N,ZN,"o","MediaDownStream"),a.T(a.j),a.j.Y.attach(function(b){var c=b.Rb;a.m.pa(ES,
b.reason);a.stop(c)},a),a.j.Cc.attach(function(b){pg(a.o,"Received early streams push notification with "+b.Vf.length+" modified streams")},a),a.W.resolve(a.j),pN(a.j),a.j.onChange.attach(function(b){var c=b.Fc,d=b.nc;b=b.removed;0<c.length&&FS(a,c);0<d.length&&Lga(a,d);0<b.length&&Mga(a,b)},a))},Oga=l(["Stopping due to down stream search failure: ",""]),Qga=function(a,b,c,d){b=sN(a.j.l).Nl(b).Ml(c);Dt(a.j.start(b,d),function(e){a.m.pa(Oga,e);a.fa.logImpression(3950,{sessionId:a.g||void 0});a.stop(16,
"Down stream search failure: "+e)});Pga(a)},Pga=function(a){null==a.sa?mg(a.o,"Attempting to install collection filters with null participants. setParticipants() must be called prior to this call!"):Eea(a.j,function(b){return a.sa.has(b.Z()||"")})},Rga=function(a){if("INITIAL"!=a.s)return!1;Nga(a);DS(a,"STARTING");return!0};CS.prototype.start=function(a){var b=this;GS(this,a);DS(this,"STARTED");this.Ma.promise.then(function(){Sga(b)});return!0};var Tga=l(["Connecting to Hangout: ",""]);
CS.prototype.Ai=function(a,b){this.m.info(Tga,a);switch(this.s){case "INITIAL":mg(this.o,"Connect to hangout called before starting.");return;case "STOPPED":case "FINISHED":mg(this.o,"Connect to hangout called after end.");return}null!=this.l?lg(this.o,"Multiple hangouts per RemoteSession not yet supported."):(this.l=a,this.Aa=b,this.hb=Y().g,a=this.H,b=this.l,a.o.info(Dga,b),a.D(b),this.Ma.resolve())};
var Uga=l(["Finished connecting to Hangout: "," with participantId: "," and participantLogId: ",""]),Sga=function(a){var b;Da(function(c){if(1==c.g)return a.m.info(Uga,a.l,a.Aa,a.gb),u(c,Fga(a.H),2);b=c.h;Kga(a,a.g,a.l,b.Gr);HS(a,a.g,a.l,a.G);bc(a.G);Qga(a,a.g,a.l,b.ho);0<a.xa.length&&(FS(a,a.xa),bc(a.xa));DS(a,"INPROGRESS");a.Y.resolve();IS(a);c.g=0})};CS.prototype.resume=function(){this.u=new Map};var Vga=l(["Stopping with endCause: ",""]);
CS.prototype.stop=function(a,b){this.m.info(Vga,a);if("STOPPED"==this.s)return!1;Ss(this.D);null==this.g||"STARTING"!=this.s&&"INPROGRESS"!=this.s||(Ss(this.h),this.h=null,Ss(this.j),this.j=null,this.W.reject(a),this.W=zt());DS(this,"STOPPED",a,b);return!0};
CS.prototype.Md=function(a){var b=this;if(a=EG(a)){var c=new Set;a.forEach(function(d){var e=GG(d)[0]>>>0;switch(KG(d)){case 1:if(2===JG(d)){zS.get(d)||b.fa.g(6642);var f=Y(),g=M(d,10)||0,h=b.Pa.get(e)||{Fr:0,Zo:new rQ(0)},m=0<Math.max(g-h.Fr,0);b.Pa.set(e,{Fr:g,Zo:m?f:h.Zo});g=b.ea.get(e);if(null!=g){h=g.settings.width;var q=g.settings.height,r=g.settings.framerate,z=b.o;P(d,114,h);P(d,115,q);if(r){P(d,159,Math.ceil(1E3/r));var D=M(d,65)||0;P(d,65,30>r?D|65536:D&-65537)}pg(z,"Set last request width="+
h+", height="+q+(r?", fps="+r:"")+" for ssrc "+e+" in jmidata.");m=!JS(b,e).Wk||m;h=!!Dl(d,59);if(g.So!=m||g.Dh!=h)g.So=m,g.Dh=h,g.Ff&&(g.Ff=f.g);if(q=zS.get(d))b.bb.get(e),g.Ff&&(q.h=m,q.Hh=f.g-g.Ff,h&&Wga(b,q.g,M(d,138)||0))}}break;case 0:c.add(e)}})}};CS.prototype.qb=function(a){this.O(new hQ(a.sessionDescription))};CS.prototype.rb=function(a){switch(a.status){case 11:var b=25;break;default:b=15}this.stop(b,"ClientResponseStatus: "+a.status+" with desc: "+a.message)};
var KS=function(a,b){var c;(c=a.h!=b.h||a.j!=b.j)||(a=a.Sc(),b=b.Sc(),c=null==a&&null==b?!1:null==a||null==b?!0:a.width!=b.width||a.height!=b.height);return c},Wga=function(a,b,c){if(0<c&&b&&Dl(b,14)){a.fa.logImpression(4577);var d=Gga(b);VJ(d,[25]);a.wb.then(function(e){LS(e,d)})}},Xga=l(["Attempting to add local streams before we have a sessionId."]),Yga=function(a,b){switch(a.s){case "INITIAL":case "STARTING":case "STARTED":a.G.push(b);return;case "STOPPED":case "FINISHED":mg(a.o,"Add local streams called after end.");
return}var c=a.g,d=a.l;null==c?a.m.pa(Xga):null==d?a.G.push(b):HS(a,c,d,[b])},Zga=l(["Ignore addLocalStream due to pending add for the same stream ",""]),$ga=l(["Stopping due to addLocalStream failure: ",""]),HS=function(a,b,c,d){d.forEach(function(e){var f=TP(UP,b,c,e),g=$N.h(f);if(a.ja.some(function(m){return tc(g,m)}))a.m.L(Zga,e);else{var h=a.h.get().some(function(m){return WK($N,f,m)});h||"d"==e.ga()||a.ja.push(g);h=h?zN(a.h,f):a.h.add(f);"d"!=e.ga()&&Dt(h,function(m){a.m.pa($ga,m);a.fa.logImpression(3951,
{sessionId:a.g||void 0});a.stop(16,"addLocalStream failure: "+m)})}})},MS=function(a,b){a.Y.promise.then(function(){var c=a.h.ob(b.g),d=QP(b.ga());P(c,2,d);d=new pD;var e=b.Hc();P(d,1,e);U(c,10,d);zN(a.h,c)})},aha=function(a,b){"a"==b.ga()&&a.Y.promise.then(function(){var c=a.h.ob(b.g),d=QP(b.ga());P(c,2,d);d=new pD;P(d,1,!0);U(c,10,d);zN(a.h,c)})},bha=l(["New session id: ",""]),GS=function(a,b){if(a.g!=b){a.m.info(bha,b||"{unset}");a.g=b;tga(a.H,b);a.qa.listen(a.D,TR,a.qb);a.qa.listen(a.D,SR,a.rb);
var c=a.D;a=BS(a);c.g=b;c.s=void 0===a?b:a;c.o.info(Zfa);c.l.listen(c.m,"m",c.u);MR(c)}},BS=function(a){if(null==a.g)return"{unset}";null==a.Ca&&(a.Ca=a.g.substring(0,6)+"{#"+(a.g.length-7)+"}"+a.g.substring(a.g.length-1));return a.Ca},cha=l(["Attempting to signal screencast started, but no video stream found!"]),dha=function(a){if(null!=a.h){var b=a.h.get().find(function(d){return 2==d.ga()});if(null==b)a.m.L(cha);else{b=a.h.ob(b);P(b,2,2);P(b,11,!1);var c=new pD;P(c,1,!1);U(b,10,c);zN(a.h,b)}}},
eha=l(["Attempting to signal screencast ended, but no video stream found!"]),NS=function(a){if(null!=a.h){var b=a.h.get().find(function(c){return 2==c.ga()});null==b?a.m.L(eha):(b=a.h.ob(b),P(b,2,2),P(b,11,!0),zN(a.h,b))}};CS.prototype.Af=function(a){var b=this;this.K=new Map;a.forEach(function(c){var d=OS(c.Z(),c.Ea());b.K.set(d,c)});IS(this)};
var fha=l(["Ignoring changed stream requests because we don't have a sessionId."]),gha=l(["Ignoring changed stream requests because we don't have a hangoutId."]),IS=function(a){switch(a.s){case "INITIAL":case "STARTING":case "STOPPED":case "FINISHED":return}if(null==a.g)a.m.pa(fha);else if(null==a.l)a.m.pa(gha);else{var b=new Map,c=QP("v");a.j.get().forEach(function(e){if(e.ga()==c){var f=OS(e.Z(),e.Ea());b.set(f,e)}});var d=[];a.K.forEach(function(e,f){if(b.has(f)){var g=a.u.get(f);if(!g||KS(g,e))a.u.set(f,
e),d.push(PS(a,b.get(f),e))}else og(a.o,"Skipping stream request for "+e.Z()+" (no matching stream was found).")});a.u.forEach(function(e,f){if(!a.K.has(f)){var g=fP(Vea(Uea(new $O(e))),!1).ia();KS(e,g)&&(a.u.delete(f),(e=b.get(f))?d.push(PS(a,e,g)):og(a.o,"Unable to turn off stream request for "+f+" (no matching stream was found)."))}});hha(a,d)}},iha=l(["Sending stream request: "," with streamId: ",""]),PS=function(a,b,c){a.Oa.has(c.Z())&&(c=dP(new $O(c),"").ia());var d=c.Sc(),e=c.h;if(!d||0>=d.height||
0>=d.width||!c.j)e=!1;var f=b.qj(),g=a.g,h=a.l,m=c,q=e;e=new kD;e.uj(f);e.rj(1);e.tj(g);e.sj(h);g=m.Z()||null;P(e,6,g);g=QP(m.ga());P(e,2,g);g=m.Ea();P(e,7,g);g=new gC;P(g,2,q);q=m.Sc();null!=q&&(h=new QB,P(h,1,q.height),P(h,2,q.width),P(h,3,m.j),U(g,3,h));U(e,9,g);a.m.info(iha,c,f);b=R(b,mD,8);a.fa.logImpression(5149);U(e,8,b);d&&b&&M(b,1)&&(b=M(b,1)[0]>>>0,null!=b&&(f={width:d.width,height:d.height,framerate:c.j||void 0},(c=a.ea.get(b))?c.settings=f:(c={Ff:0,So:!JS(a,b).Wk,Dh:!1,settings:f},a.ea.set(b,
c)),f=76800<f.width*f.height,!c.Ff&&f?c.Ff=Y().g:f||(c.Ff=0),pg(a.o,"Building map: last request width/height "+d.width+"/"+d.height+" for ssrc "+b)));return e},hha=function(a,b){b=n(b);for(var c=b.next();!c.done;c=b.next())zN(a.j,c.value)},QS=function(a,b){var c=!!b.Hc(),d=c||0<(b.l&8);b.Qa().forEach(function(e){e=JS(a,e);e.Wk=d;c!==(null!==e.sp)&&(e.sp=c?Y():null)})},JS=function(a,b){a.N.has(b)||a.N.set(b,{sp:null,Wk:!1});return a.N.get(b)},jha=function(a,b){b.Qa().forEach(function(c){a.bb.set(c,
Y())})},OS=function(a,b){return(void 0===a?"":a)+"/"+(void 0===b?"":b)},kha=l(["Notified of new remote stream: ",""]),FS=function(a,b){RS(a,b,function(c){var d=c;a.Li&&(d=c.filter(function(e){return e.Z()!=a.Aa}));IS(a);d.forEach(function(e){a.m.info(kha,e);QS(a,e);jha(a,e)});a.O(new wS(d,[],[]))})},lha=l(["Received modified remote stream: ",""]),Lga=function(a,b){RS(a,b,function(c){c.forEach(function(d){a.m.info(lha,d);QS(a,d)});a.O(new wS([],c,[]))})},mha=l(["Removing remote stream: ",""]),Mga=
function(a,b){RS(a,b,function(c){c.forEach(function(d){a.m.info(mha,d);d.Qa().forEach(function(e){a.N.delete(e)});d=OS(d.Z(),d.Ea());a.u.delete(d)});a.O(new wS([],[],c))})},RS=function(a,b,c){var d=nha(a,b);null==d?mg(a.o,"Failed to parse streamInfos: "+d):0==d.length?mg(a.o,"Got empty streamInfos: "+b):c(d)},nha=function(a,b){return lfa(b).map(function(c){if(""==c.Ea()){var d=oha[c.ga()];c=vO(new sO(c),d).ia();a.Oa.add(c.Z())}return c})},pha=l(["Terminating to handle failover."]),Jga=function(a,
b,c,d){0<b.length&&b.map(function(e){return $N.h(e)}).forEach(function(e){ic(a.ja,function(f){return tc(e,f)})});0<d.length?0==a.h.get().length&&(a.m.info(pha),DS(a,"STOPPED",26)):0<c.length&&(b=ofa(c),null==b?mg(a.o,"Failed to parse stream requests: "+JSON.stringify(c.map(function(e){return e.va()}))):0==b.length?mg(a.o,"Got empty stream requests: "+JSON.stringify(c.map(function(e){return e.va()}))):a.O(new xS(b)))},ES=l(["Stopping due to stream collection failure: ",""]),SS={},oha=(SS.a="1",SS.v=
"2",SS.d="3",SS);var TS=function(){KM.call(this);this.pc="INITIAL";this.oc=void 0};t(TS,KM);k=TS.prototype;k.Ba=function(){var a=this.m;return{state:this.getState(),endCause:this.oc,id:this.h.g,isInProgress:"INPROGRESS"==this.getState(),localId:this.tb(),localDescription:this.g.g.localDescription.Ba(),localSession:this.g.Ba(),options:this.j.Ba(),remoteAudioCodecs:kc(this.oa).map(String),remoteSession:this.h.Ba(),remoteSessionDescription:a&&a.Ba()}};k.getState=function(){return this.pc};
k.lp=function(){throw Error("Unimplemented");};k.mp=function(){return 0};k.Xo=function(){return!1};function US(a){if("number"!==typeof a)throw Error("Not a number: "+a);if((a|0)===a)return a|0;throw Error("Not a 32 bit integer: "+a);};var XS=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;if(a===b)return!0;for(var c=VS(a),d=VS(b),e=c?a.length-1:a.length,f=d?b.length-1:b.length,g=0;g<e;g++)if(!WS(a[g],g,b,d,f))return!1;if(c)for(a=a[a.length-1],c=Object.keys(a),e=0;e<c.length;e++)if(g=+c[e],!WS(a[g],g,b,d,f))return!1;return!0},WS=function(a,b,c,d,e){if(b<e){if(!YS(a,c[b]))return!1}else{if(!d)return YS(a,null);if(!YS(a,c[c.length-1][b]))return!1}return!0},YS=function(a,b){return null==a&&null==b?!0:Array.isArray(a)?
XS(a,b)?!0:!1:"object"==typeof a||"object"==typeof b||a!==b?!1:!0},VS=function(a){return 0==a.length?!1:(a=a[a.length-1])&&"object"===typeof a?!Array.isArray(a):!1};function ZS(a){return 0<a.length&&(a=a[a.length-1])&&"object"===typeof a&&!Array.isArray(a)?!0:!1}function $S(a){for(var b in a){var c=a[+b];!Array.isArray(c)||"$jspb_cached_msg_"in c||(a[+b]=c.slice())}}
var aT=function(a,b,c){this.g=a;this.h=b;this.j=c},bT=function(a,b,c){var d=c?0:-1;b=ZS(a)?a.length-1:0<b?Math.max(b,a.length-d):Number.MAX_VALUE;c&&!a[0]&&(a[0]=c);return new aT(a,b,d)},cT=function(a,b){return b.$jspb_cached_msg_||(b.$jspb_cached_msg_=new a(b))},dT=function(a,b){a=a.g.slice();$S(a);if(ZS(a)){var c=Object.assign({},a.pop());$S(c);a.push(c)}return cT(b,a)};aT.prototype.freeze=function(){var a=this.g;Object.freeze&&Object.freeze(a)};aT.prototype.va=function(){return JSON.stringify(this.g)};
aT.prototype.equals=function(a){if(this===a)var b=!0;else b=this.g,a=a.g,b=XS(b,a)?XS(a,b):!1;return b};var eT=function(a,b){var c=b+a.j;return c<a.h?c:b},fT=function(a,b){if(b<a.h)return a.g;(b=a.g[a.h])||(b=a.g[a.h]={});return b},qha=function(a){var b=eT(a,5);a=fT(a,b)[b];return null!=a?US(a):0};var rha=function(){},sha=function(){};var gT=function(a,b,c){this.Ic=bT(a,b,c)};t(gT,rha);var uha=function(){var a=hT;return Me(tha,void 0,function(){return cT(a,[])},function(){return Ua(a)})};gT.prototype.va=function(){return this.Ic.va()};gT.prototype.equals=function(a){return this===a?!0:a instanceof this.constructor?this.Ic.equals(a.Ic):!1};gT.prototype.getExtension=function(a){return a.g()(this)};gT.prototype.hasExtension=function(a){var b=a.h();a=this.Ic;b=eT(a,b);return null!=fT(a,b)[b]};
var iT=function(a,b){a=a.Ic;b=eT(a,b);b=fT(a,b)[b];if(null!=b){b:{a=typeof b;if("number"===a){if(1===b||0===b)break b}else if("boolean"===a)break b;throw Error("Not a boolean, 0 or 1: "+b);}b=!!b}else b=!1;return b},jT=function(a){this.message=dT(a.Ic,a.constructor);this.Ic=this.message.Ic};t(jT,sha);jT.prototype.ia=function(){var a=this.message;a=dT(a.Ic,a.constructor);a.Ic.freeze();return a};jT.prototype.clone=function(){return new this.constructor(this.message)};jT.prototype.getExtension=function(a){return this.message.getExtension(a)};
jT.prototype.hasExtension=function(a){return this.message.hasExtension(a)};var kT=function(a,b,c){var d=a.Ic;b=eT(d,b);d=fT(d,b);if("boolean"!==typeof c)throw Error("Not a boolean: "+c);d[b]=c?1:0;return a},tha={};var hT=function(a){this.Ic=bT(a,-1,0)};t(hT,gT);var lT=function(a){jT.call(this,a)};t(lT,jT);var mT=function(a){Lv.call(this);this.g=a||window;this.h=xv(this.g,"resize",this.l,!1,this);this.j=wg(this.g||window)};w(mT,Lv);mT.prototype.ba=function(){mT.Kb.ba.call(this);this.h&&(Gv(this.h),this.h=null);this.j=this.g=null};mT.prototype.l=function(){var a=wg(this.g||window),b=this.j;a==b||a&&b&&a.width==b.width&&a.height==b.height||(this.j=a,this.O("resize"))};var nT=function(a){Lv.call(this);this.g=a?xg(a.g):window;this.l=1.5<=this.g.devicePixelRatio?2:1;this.j=Ya(this.m,this);this.h=this.g.matchMedia?this.g.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};w(nT,Lv);nT.prototype.start=function(){this.h&&this.h.addListener(this.j)};nT.prototype.m=function(){var a=1.5<=this.g.devicePixelRatio?2:1;this.l!=a&&(this.l=a,this.O("ra"))};nT.prototype.ba=function(){this.h&&this.h.removeListener(this.j);nT.Kb.ba.call(this)};var oT=function(a,b){V.call(this);this.m=a;if(b){if(this.l)throw Error("[fava.component.DomServices] Owner document already initialized");this.l=b;this.g=tg(b);this.h=new mT(yg(b));this.h.F=this.m.m;this.j=new nT(this.g);this.j.start()}};w(oT,V);var vha=function(a){var b=new oT(a,document);a.registerService(SL,b)};oT.prototype.ba=function(){this.g=this.l=null;this.h&&(this.h.dispose(),this.h=null);Ss(this.j);this.j=null};var pT=new WQ("google3.javascript.realtime.util.gpu_info"),qT=void 0,wha=l(["Error getting WebGL unmasked renderer name."]);function xha(a){var b=new cL(a);if(Je())return b.g(7115),null;b.g(7114);a=rT(a);try{var c=a.getContext("webgl");if(!c)return null;var d=c.getExtension("WEBGL_debug_renderer_info");return d?c.getParameter(d.UNMASKED_RENDERER_WEBGL)||null:null}catch(e){ZQ(pT,e).L(wha)}return null}var yha=l(["Error getting WebGL2 context."]);
function sT(a,b){try{return!!a.getContext("webgl2",{failIfMajorPerformanceCaveat:b})}catch(c){return ZQ(pT,c).L(yha),!1}}function rT(a){return Dg(wK(a,SL)?a.get(SL).g:new sg,"CANVAS")};function tT(a){return zha.includes(a.Je)?!1:4<=a.Qh||0===a.Qh||a.Xn.has("sse4_1")}function uT(a){var b=Aha;a.Je.startsWith("Intel")?b=CQ(zQ("h4p0Kb"))?Bha:Cha:a.Je.startsWith("AMD")&&(b=Dha);return b.some(function(c){return c.test(a.Je)})}function Eha(a){return""===a.Je||a.Po&&Fha.some(function(b){return b.test(a.Je)})?!1:4<=a.Qh&&!uT(a)}function Gha(a){return 0===a.Rm||2===a.Rm&&!CQ(zQ("SCVan"))?3:CQ(zQ("fPfhs"))&&8>a.Qh&&!Hha.some(function(b){return b.test(a.Je)})?2:1}
function vT(a){var b=void 0===b?uha():b;b=new lT(b);var c=tT(a);b=kT(b,1,c);c=tT(a)&&!uT(a);b=kT(b,2,c);c=tT(a);b=kT(b,3,c);c=Eha(a);b=kT(b,4,c);a=Gha(a);c=b.Ic;var d=eT(c,5);fT(c,d)[d]=US(a);return b.ia()}function wT(){return vT({Je:"",Qh:navigator.hardwareConcurrency||0,Xn:new Set,Po:!1,Rm:0})}
var Dha=[/^AMD A(4|6|8|10|12)/,/^AMD Athlon\(tm\) 5[0-9]{3} APU/,/^AMD Athlon\(tm\) X4/,/^AMD E2-/,/^AMD FX-[0-9]{4}.*R(ADEON|adeon)/,/^AMD FX\(tm\)-4[0-9]{3} Quad-Core Processor/,/^AMD GX-/,/^AMD Opteron/,/^AMD PRO A(4|6|8|10|12)/,/^AMD Phenom\(tm\) 9/,/^AMD Processor model unknown/,/^AMD RX?-/,/^AMD Sempron/],Cha=[/^Intel\(R\) (Pentium|Celeron)\(R\).*[NJ][0-9]{4} /,/^Intel\(R\) Atom\(TM\)/,/^Intel\(R\) Core\(TM\) ([im][357]|M)-[0-9]*Y[0-9]*/,/^Intel\(R\) Core\(TM\) i3-[23][0-9]{3}M/,/^Intel\(R\) Core\(TM\) i3-[3-7][0-9]+U/,
/^Intel\(R\) Core\(TM\) i[357] CPU +[MUQLX] [0-9]{3} /,/^Intel\(R\) Core\(TM\) i[57]-2[0-9]{3}M/,/^Intel\(R\) Core\(TM\) i[57]-[3-5][0-9]+U/,/^Intel\(R\) Core\(TM\)2/,/^Intel\(R\) Pentium\(R\) CPU [34][0-9]{3}[UY]/,/^Intel\(R\) Processor 5Y/],Bha=[/^Intel\(R\) (Pentium|Celeron)\(R\).*[NJ][0-9]{4} /,/^Intel\(R\) Atom\(TM\)/,/^Intel\(R\) Core\(TM\) ([im][357]|M)-[0-9]*Y[0-9]*/,/^Intel\(R\) Core\(TM\) i3-[23][0-9]{3}M/,/^Intel\(R\) Core\(TM\) i3-[3-7][0-9]+U/,/^Intel\(R\) Core\(TM\) i[357] CPU +[MUQLX] [0-9]{3} /,
/^Intel\(R\) Core\(TM\) i[57]-2[0-9]{3}M/,/^Intel\(R\) Core\(TM\) i[57]-[3-5][0-9]+U/,/^Intel\(R\) Core\(TM\) i[57]-[6-7][0-9]{2}0U/,/^Intel\(R\) Core\(TM\)2/,/^Intel\(R\) Pentium\(R\) CPU [34][0-9]{3}[UY]/,/^Intel\(R\) Processor 5Y/],Aha=[/^.+AMD Opteron/,/^Genuine Intel\(R\) CPU[ 0]+@/,/^HP Hexa-Core 2\.0GHz/,/^Quad-Core Processor \(up to 1.4GHz\)/,/^Rockchip \(Device Tree\)/,/^SAMSUNG EXYNOS/,/^Snapdragon/,/^Unknown x86 device/],Fha=[/^Intel\(R\) Core\(TM\) i5-10210U CPU @ 1.60GHz/],zha=["AMD A6-9220C RADEON R5, 5 COMPUTE CORES 2C+3G"],
Hha=[/^AMD Ryzen (5 3600 6|7 2700X Eight|7 3700X 8)-Core/,/^Intel\(R\) Core\(TM\) i3-(10110|6100|8100|8130)(T|U)/,/^Intel\(R\) Core\(TM\) i5-10(2|3)10U/,/^Intel\(R\) Core\(TM\) i5-103(5G1|8NG7)/,/^Intel\(R\) Core\(TM\) i5-(3210M|4570)/,/^Intel\(R\) Core\(TM\) i5-(6287U|6500)/,/^Intel\(R\) Core\(TM\) i5-72[68]7U/,/^Intel\(R\) Core\(TM\) i5-7(300HQ|360U|500)/,/^Intel\(R\) Core\(TM\) i5-8(200Y|257U|259U|265U|279U|350U|400|500)/,/^Intel\(R\) Core\(TM\) i5-9(500|600K)/,/^Intel\(R\) Core\(TM\) i7-10(510U|68NG7)/,
/^Intel\(R\) Core\(TM\) i7-3(635QM|770)/,/^Intel\(R\) Core\(TM\) i7-4(600U|750HQ|770HQ|790|4790K)/,/^Intel\(R\) Core\(TM\) i7-(4870|4960|4980|6700|6820|6920|7700|7820|7920)HQ/,/^Intel\(R\) Core\(TM\) i7-5500U/,/^Intel\(R\) Core\(TM\) i7-[67]700K?/,/^Intel\(R\) Core\(TM\) i7-8(550|559|565|569)U/,/^Intel\(R\) Core\(TM\) i7-8700[BK]?/,/^Intel\(R\) Core\(TM\) i7-(875|885|975|985)0H/,/^Intel\(R\) Core\(TM\) i9-(8950HK|9880H|9900K|9980HK)/,/^Intel\(R\) Core\(TM\) m(3-6Y30|3-8100Y|5-6Y57)/,/^Intel\(R\) Pentium\(R\) CPU 4405Y/,
/^Intel\(R\) Xeon\(R\) CPU E3-1535M v5/,/^Intel\(R\) Xeon\(R\) CPU E5-16(5|6)0 v4/,/^Intel\(R\) Xeon\(R\) CPU E5-(1650|1680|2697) v2/,/^Intel\(R\) Xeon\(R\) W-21(35|40B|91B)/];var xT=function(){Lv.call(this);this.ib=this.qa=null;this.H=new eL(this);this.K=this.H.signal()};t(xT,Lv);k=xT.prototype;k.Ba=function(){return{hangoutId:this.ib,isInProgress:"INPROGRESS"==this.getState(),remoteJid:this.qa,sessionId:this.h,state:this.getState()}};k.za=function(){throw Error("getStream not supported on LocalSession");};k.Af=function(){};k.yl=function(){};k.wq=function(){return!1};k.Bm=function(){return!1};k.Mq=function(){};k.to=function(){return null};k.pp=function(){};k.Ao=function(){return null};
k.Ho=function(){return wT()};var yT=function(a,b){W.call(this,"ua");this.g=a;this.j=b};t(yT,W);var zT=function(a){W.call(this,"va");this.g=a};t(zT,W);var AT=function(a){W.call(this,"xa");this.mb=a};t(AT,W);var BT=function(a,b,c){W.call(this,"wa");this.j=a;this.Rb=b;this.g=c};t(BT,W);var CT=function(a,b,c){W.call(this,"ta");this.ha=a;this.label=b;this.payload=c};t(CT,W);var DT=function(a){W.call(this,"Ba");this.Fh=a};t(DT,W);var ET=function(a,b){W.call(this,"sa");this.g=a;this.j=b};t(ET,W);var FT=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&&"moz-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"chrome-untrusted"!==a&&"chrome"!==a&&"app"!==a&&"devtools"!==a)throw Error("Invalid URI scheme in origin: "+
a);c="";var 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};var Iha=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;r=q=0}function b(z){for(var D=g,C=0;64>C;C+=4)D[C/4]=z[C]<<24|z[C+1]<<16|z[C+2]<<8|z[C+3];for(C=16;80>C;C++)z=D[C-3]^D[C-8]^D[C-14]^D[C-16],D[C]=(z<<1|z>>>31)&4294967295;z=e[0];var K=e[1],T=e[2],da=e[3],Ka=e[4];for(C=0;80>C;C++){if(40>C)if(20>C){var fb=da^K&(T^da);var Oa=1518500249}else fb=K^T^da,Oa=1859775393;else 60>C?(fb=K&T|da&(K|T),Oa=2400959708):(fb=K^T^da,Oa=3395469782);fb=((z<<5|
z>>>27)&4294967295)+fb+Ka+Oa+D[C]&4294967295;Ka=da;da=T;T=(K<<30|K>>>2)&4294967295;K=z;z=fb}e[0]=e[0]+z&4294967295;e[1]=e[1]+K&4294967295;e[2]=e[2]+T&4294967295;e[3]=e[3]+da&4294967295;e[4]=e[4]+Ka&4294967295}function c(z,D){if("string"===typeof z){z=unescape(encodeURIComponent(z));for(var C=[],K=0,T=z.length;K<T;++K)C.push(z.charCodeAt(K));z=C}D||(D=z.length);C=0;if(0==q)for(;C+64<D;)b(z.slice(C,C+64)),C+=64,r+=64;for(;C<D;)if(f[q++]=z[C++],r++,64==q)for(q=0,b(f);C+64<D;)b(z.slice(C,C+64)),C+=64,
r+=64}function d(){var z=[],D=8*r;56>q?c(h,56-q):c(h,64-(q-56));for(var C=63;56<=C;C--)f[C]=D&255,D>>>=8;b(f);for(C=D=0;5>C;C++)for(var K=24;0<=K;K-=8)z[D++]=e[C]>>K&255;return z}for(var e=[],f=[],g=[],h=[128],m=1;64>m;++m)h[m]=0;var q,r;a();return{reset:a,update:c,digest:d,digestString:function(){for(var z=d(),D="",C=0;C<z.length;C++)D+="0123456789ABCDEF".charAt(Math.floor(z[C]/16))+"0123456789ABCDEF".charAt(z[C]%16);return D}}};var Jha=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],Qb(d,function(h){e.push(h)}),GT(e.join(" "));var f=[],g=[];Qb(c,function(h){g.push(h.key);f.push(h.value)});c=Math.floor((new Date).getTime()/1E3);e=ac(f)?[c,b,a]:[f.join(":"),c,b,a];Qb(d,function(h){e.push(h)});a=GT(e.join(" "));a=[c,a];ac(g)||a.push(g.join(""));return a.join("_")},GT=function(a){var b=Iha();b.update(a);return b.digestString().toLowerCase()};var HT=function(){this.g=document||{cookie:""}};k=HT.prototype;k.isEnabled=function(){return navigator.cookieEnabled};
k.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.ZP;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.nx}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===h&&(h=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";h=0>h?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date($a()+1E3*h)).toUTCString();this.g.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+e:
"")};k.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=ud(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=void 0!==this.get(a);this.set(a,"",{nx:0,path:b,domain:c});return d};k.Ub=function(){return IT(this).keys};k.Ja=function(){return IT(this).values};k.ec=function(){return!this.g.cookie};k.wa=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
k.ng=function(a){for(var b=IT(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};k.clear=function(){for(var a=IT(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};var IT=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=ud(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var Kha=function(a){var b=FT(String(Fa.location.href)),c;(c=Fa.__SAPISID||Fa.__APISID||Fa.__OVERRIDE_SID)?c=!0:(c=new HT,c=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID"),c=!!c);if(c&&(c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?Fa.__SAPISID:Fa.__APISID,c||(c=new HT,c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID")),c)){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(Fa.location.href);return d&&c&&b?[b,Jha(FT(d),c,
a||null)].join(" "):null}return null};var Lha=function(a,b,c){gw(a.url,function(d){d=d.target;qw(d)?b(sw(d)):c(d.Ha())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};var JT=function(a){L(this,a,0,-1,null,null)};w(JT,J);var KT=function(a){L(this,a,0,-1,null,null)};w(KT,J);var LT=function(a){L(this,a,0,30,Mha,null)};w(LT,J);var Mha=[3,20,27],Nha=function(a,b){return P(a,8,b)};var MT=function(a){L(this,a,0,17,Oha,null)};w(MT,J);var Oha=[3,5],NT=function(a){var b=$a().toString();return P(a,4,b)},OT=function(a,b){return Nl(a,3,b)},Pha=function(a,b){return P(a,14,b)};var PT=function(a){L(this,a,0,6,Qha,null)};w(PT,J);var Qha=[5];var QT=function(a){L(this,a,0,-1,null,null)};w(QT,J);var Rha=new function(){this.ed=QT;this.hx=0};var ST=function(a,b,c,d,e,f,g,h,m,q,r){Lv.call(this);this.xa=a;this.ja=b||Ma;this.l=new MT;this.Ca=d;this.qa=r;this.g=[];this.oa="";this.Pa=Za(xf,0,1);this.m=e||null;this.D=c||null;this.H=g||!1;this.N=m||null;this.sa=this.W=-1;this.ea=!1;this.o=jg("playlog.clearcut.ClearcutBase");this.Ma=!h;this.u=null;this.K=0;this.Oa=1;this.Aa=f||!1;this.Y=!1;a=new KT;a=P(a,1,1);f||(f=new JT,b=document.documentElement.getAttribute("lang"),f=P(f,5,b),U(a,11,f));U(this.l,1,a);P(this.l,2,this.xa);this.j=new XL(1E4,
3E5,.1);this.h=new Mv(this.j.g);this.T(this.h);xv(this.h,"tick",Dc(RT(this,q)),!1,this);this.G=new Mv(6E5);this.T(this.G);xv(this.G,"tick",Dc(RT(this,q)),!1,this);this.H||this.G.start();this.Aa||(xv(yg(),"beforeunload",this.s,!1,this),xv(yg(),"unload",this.s,!1,this),xv(document,"pagehide",this.s,!1,this))};w(ST,Lv);var RT=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};ST.prototype.ba=function(){this.s();ST.Kb.ba.call(this)};
var TT=function(a){a.m||(a.m=.01>a.Pa()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.m},UT=function(a,b){a.j=new XL(1>b?1:b,3E5,.1);Nv(a.h,a.j.g)};ST.prototype.log=function(a){a=Ul(a);var b=this.Oa++;P(a,21,b);M(a,1)||(b=Date.now().toString(),P(a,1,b));for(null==M(a,15)&&P(a,15,60*(new Date).getTimezoneOffset());1E3<=this.g.length;)this.g.shift(),++this.K;this.g.push(a);this.O(new VT(a));this.H||this.h.enabled||this.h.start()};
ST.prototype.flush=function(a,b){var c=this;if(0==this.g.length)a&&a();else if(this.Y)Sha(this);else{var d=$a();if(this.sa>d&&this.W<d)og(this.o,"Not flushing because server requested delay."),b&&b("throttled");else{var e=Pha(OT(NT(Ul(this.l)),this.g),this.K);d={};var f=this.ja();f&&(d.Authorization=f);var g=TT(this);this.D&&(d["X-Goog-AuthUser"]=this.D,g=or(g,"authuser",this.D));this.N&&(d["X-Goog-PageId"]=this.N,g=or(g,"pageId",this.N));if(f&&this.oa==f)og(this.o,"XHR with unauthorized request not retried"),
b&&b("stale-auth-token");else{og(this.o,"Flushing log to clearcut.");this.g=[];this.h.enabled&&this.h.stop();this.K=0;var h=e.va(),m;this.u&&this.u.Se(h.length)&&(m=this.u.g(h));var q={url:g,body:h,Vt:1,requestHeaders:d,requestType:"POST",withCredentials:this.Ma,timeoutMillis:0},r=Ya(function(C){this.j.reset();Nv(this.h,this.j.g);if(C){try{var K=JSON.parse(C.replace(")]}'\n",""));var T=new PT(K)}catch(da){mg(this.o,"Response parse failed: "+da)}T&&(C=N(T,1,"-1"),C=Number(C),0<C&&(this.W=$a(),this.sa=
this.W+C),T=T.getExtension(Rha))&&(T=N(T,1,-1),-1!=T&&(this.ea||UT(this,T)))}a&&a()},this),z=Ya(function(C){var K=S(e,LT,3);YL(this.j);Nv(this.h,this.j.g);401==C&&f&&(this.oa=f);if(500<=C&&600>C||401==C||0==C)this.g=K.concat(this.g),this.H||this.h.enabled||this.h.start();mg(this.o,"Flush failed. Status code: "+C);b&&b("net-send-failed",C)},this),D=function(){c.qa?c.qa.send(q,r,z):c.Ca(q,r,z)};m?m.then(function(C){q.requestHeaders["Content-Encoding"]="gzip";q.requestHeaders["Content-Type"]="application/binary";
q.body=C;q.Vt=2;D()},function(){D()}):D()}}}};ST.prototype.s=function(){this.flush()};
var Sha=function(a){og(a.o,"Flushing log using sendBeacon.");Tha(a,function(b,c){b=or(b,"format","json");b=yg().navigator.sendBeacon(b,c.va());a.Y&&!b&&(a.Y=!1);return b})},Tha=function(a,b){if(0!=a.g.length){var c=TT(a);for(var d=c.search(qr),e=0,f,g=[];0<=(f=pr(c,e,"format",d));)g.push(c.substring(e,f)),e=Math.min(c.indexOf("&",f)+1||d,d);g.push(c.substr(e));c=g.join("").replace(sr,"$1");c=lr(c,"auth",a.ja(),"authuser",a.D||"0");for(d=0;10>d&&a.g.length;++d){e=a.g.slice(0,32);f=OT(NT(Ul(a.l)),e);
if(!b(c,f))break;a.g=a.g.slice(e.length)}}},VT=function(){this.type="event-logged"};w(VT,W);var WT=function(a,b,c,d,e,f,g){ST.call(this,a,Kha,b,Lha,c,d,e,void 0,f,g)};t(WT,ST);var XT=function(a){this.F=a;this.j=Date.now();this.g=this.h=this.l=this.C=this.m=this.u=this.s=0};XT.prototype.getStats=function(){var a=new iF;P(a,1,this.F);P(a,2,this.s);P(a,3,this.u);P(a,4,this.m);P(a,5,this.C);P(a,6,this.l);var b=Date.now(),c=-1,d=-1;if(-1!=this.j){var e=(b-this.j)/1E3;0<e&&(c=this.h/e,d=this.g/e)}P(a,9,c);P(a,10,d);this.g=this.h=0;this.j=b;return a};var YT=function(){this.g=new Map},Uha=function(a){wK(a,bL)||FK(a,bL,function(){return new YT})};YT.prototype.reset=function(){this.g.clear()};var ZT=function(a,b){if(a.g.has(b))return a.g.get(b);var c=new XT(b);a.g.set(b,c);return c};cK(bL,YT);var $T=new bK("W0goMc","rrm");function Vha(){}var aU=function(){V.call(this);this.u=new eL(this);this.j=this.u.signal()};t(aU,V);
var cU=function(a,b,c,d){c=void 0===c?Vha:c;d=void 0===d?{yq:5,Un:40}:d;return new bU(a,b,c,d)},Wha=l(["localSessionId=",""]),bU=function(a,b,c,d){aU.call(this);var e=this;this.g=new Set;this.D=b;this.o=aR(YQ(new WQ("realtime.media.session.ConnectionLostMonitor"),function(f){return f(Wha,e.D.h)}));this.l=this.h=null;this.m=!1;this.F=new gN(this);this.T(this.F);this.F.listen(this.D,"Ba",function(f){dU(e,"tu",!f.Fh)});xK(a,$T).then(function(f){f.l.attach(function(g){dU(e,"rfs",g>d.yq)})});this.s=c;
this.G=1E3*d.Un};t(bU,aU);var Xha=l(["Connection lost alarm triggering: ",""]),Yha=l(["Connection lost alarm not triggering: ",""]),dU=function(a,b,c){c?a.o.L(Xha,b):a.o.info(Yha,b);c?a.g.add(b):a.g.delete(b);a.g.size?null==a.h&&(a.h=Ov(function(){a.s(6371,{cc:Array.from(a.g).join(",")});a.m=!0;a.u.R(a.j,!0)},a.G),a.l=Y(),a.s(3061,{cc:Array.from(a.g).join(",")})):null!=a.h&&(Pv(a.h),a.h=null,a.m&&(a.m=!1,a.u.R(a.j,!1)),b=a.l?Math.round(tQ(Y(),a.l)/1E3):-1,a.s(3062,{gd:b}),a.l=null)};var Zha=function(a,b,c){return cU(a,b,c)};var eU=function(a){KM.call(this);this.g=a;this.l=N(this.g,3,0);this.j=0;this.h=!1};t(eU,KM);
var $ha=function(a,b){b=EG(b);if(null!=b){for(var c=n(b),d=c.next();!d.done;d=c.next())if(d=d.value,0==KG(d)&&2==JG(d)&&(0==M(d,57)||0==M(d,58))){a.l=N(a.g,3,0);return}b=n(b);for(d=b.next();!d.done;d=b.next())switch(c=d.value,KG(c)){case 2:d=a,0<d.l?--d.l:(M(c,40)||0)<N(d.g,1,6E4)?d.h||(++d.j,d.j>=N(d.g,2,1)&&(d.O(new fU(0)),d.h=!0)):(d.h&&(d.O(new fU(1)),d.h=!1),d.j=0)}}},fU=function(a){W.call(this,"Da");this.id=a};t(fU,W);var gU=function(){this.g=new Map};gU.prototype.register=function(a,b,c){var d=a.messageId;if("string"===typeof d){var e=this.g.get(d);e?(e.Gq=e.Gq||b,e.fo=e.fo||c):this.g.set(d,{ed:a,Gq:b,fo:c})}};gU.prototype.Fi=function(a){var b=a[0],c=this.g.get(b);if(c)return new c.ed(a);throw Error("Unknown Message "+b);};var aia={},bia=new gU,hU=function(a,b){W.call(this,"Ea");this.ha=a;this.data=b};t(hU,W);var cia=function(a){if(!a.g){a:{var b=a.data,c=b?b.indexOf(","):-1;if(-1!=c){var d=b.substring(0,c);if(d=d&&aia[d])try{var e=Bk(b.substring(c+1));var f=d.Fi(e);break a}catch(h){}}try{var g=JSON.parse(b);if(Array.isArray(g)){f=bia.Fi(g);break a}}catch(h){}f=null}a.g=f}return a.g};var iU=function(a,b,c){W.call(this,"Fa");this.sessionId=a;this.j=b;this.g=new Map(c)};t(iU,W);var jU=function(a){W.call(this,"Ga");this.kp=a};t(jU,W);var lU=function(){V.call(this);this.o=new WQ("realtime.media.stats.BackendLoudestReportService");this.s=new gN(this);this.T(this.s);this.h=new kU;this.g=new kU;this.j=new Map;this.l=null;this.m=new Map};t(lU,V);
var dia=function(a){wK(a,mU)||a.registerService(mU,new lU)},eia=function(a,b){a.s.listen(b,"Ga",function(c){null==a.l&&(a.l=c.kp)})},fia=function(a,b){a.g.Lb!==b&&(a.g.Lb=b,a.g.g=$a(),nU(a))},gia=function(a,b){a.h.Lb!==b&&(a.h.Lb=b,a.h.g=$a(),nU(a))},hia=function(a,b){null!=a.l&&EG(b).forEach(function(c){if(1==JG(c)&&1==KG(c)){var d=[];HG(c).forEach(function(e){var f=M(e,3),g=M(e,2)||0;null!=f&&null!=M(e,1)&&null!=g&&((a.j.get(f)||[]).forEach(function(h){var m=h.nk-(a.l||0);m>=(M(e,1)||0)&&m<=g&&
d.push(h.client-h.nk)}),(!a.m.get(f)||g>a.m.get(f))&&a.m.set(f,g))});P(c,150,d||[])}})},iia=l(["Latencies for csrc "," reset before reporting"]),jia=function(a){null!=a.l?a.j.forEach(function(b,c){var d=a.m.get(c);b.filter(function(e){return!d||e.nk-(a.l||0)>d});100<b.length&&(a.o.info(iia,c),b=[])}):a.j.clear()},nU=function(a){if(a.g.Lb&&a.g.Lb===a.h.Lb){if(2147483647>=Math.abs((a.h.g||0)-(a.g.g||0))){var b=a.g.Lb;a.j.has(b)||a.j.set(b,[]);a.j.get(b).push({nk:a.g.g,client:a.h.g})}a.g.reset();a.h.reset()}},
kU=function(){this.g=this.Lb=null};kU.prototype.reset=function(){this.g=this.Lb=null};var mU=new bK("kmRoq");var oU=function(){V.call(this);this.o=jg("realtime.media.stats.HighResVideoTracker");this.h={};this.g={}};t(oU,V);var kia=function(a,b){EG(b).forEach(function(c){if(2==JG(c)&&1==KG(c)&&0<GG(c).length){var d=GG(c)[0];P(c,135,a.g[d]||[])}})};var qU=function(a){return 0<pU(a.wa())&&!isNaN(M(a,1))&&!isNaN(M(a,2))&&!isNaN(M(a,3))&&!isNaN(M(a,4))},rU=function(a,b){a||(a=new eF);var c=pU(M(a,3));var d=pU(M(a,4));var e=pU(a.wa());if(isNaN(b))d={nl:c,zm:d,n:e};else if(isNaN(c)||isNaN(e)||1>e)d={nl:b,zm:NaN,n:1};else{e+=1;var f=b-c;c+=f/e;var g=NaN;1<e&&(g=Math.sqrt(((isNaN(d)?0:d*d)*(e-2)+f*(b-c))/(e-1)));d={nl:c,zm:g,n:e}}e=d.nl;f=d.zm;P(a,5,d.n);P(a,3,Math.round(e));P(a,4,Math.round(f));d=pU(M(a,1));e=pU(M(a,2));isNaN(b)?(P(a,1,d),P(a,2,e)):
isNaN(d)?(P(a,1,b),P(a,2,b)):(P(a,1,Math.min(b,d)),P(a,2,Math.max(b,e)));return a},lia=function(a,b){var c=!a||!a.wa()||null==M(a,3),d=!b||!b.wa()||null==M(b,3);if(c&&d)return new eF;if(c)return b;c=a.wa();if(d)return a;var e=b.wa(),f=M(a,3);if(2>c)return rU(b,f);var g=M(b,3);if(2>e)return rU(a,g);d=M(a,2);var h=M(a,1),m=M(a,4),q=M(b,2),r=M(b,1),z=M(b,4),D=g-f;b=c+e;m=Math.sqrt((m*m*(c-1)+z*z*(e-1)+D*D*c*e/b)/(b-1));c=(f*c+g*e)/b;P(a,5,b);P(a,1,Math.min(h,r));P(a,2,Math.max(d,q));P(a,3,Math.round(c));
P(a,4,Math.round(m));return a},pU=function(a){return null!=a?a:NaN};var uU=function(){this.g=null;this.l=new sU(function(){return null},function(a,b){return rU(a,null!=b?b:NaN)});this.C=new sU(function(){return new tU},function(a,b){a.update(b);return a});this.h=new sU(function(){return[]},function(a,b){if(null==b)return a;20<=a.length&&(a.length=0);a.push(b);return a});this.j=new sU(function(){return null},function(a,b){return lia(a,b)})};uU.prototype.update=function(a){this.g=a;mia(this)};
var mia=function(a){FG(a.g).forEach(function(b){var c=M(b,1),d=M(b,2);b=M(b,3);var e=a.h;vU(e,e.h,c+"-"+d,wU,b)});EG(a.g).forEach(function(b){return nia(a,b)})},nia=function(a,b){var c=GG(b)[0];if(c){var d=KG(b);xU(a,c,d,yU,M(b,2));xU(a,c,d,zU,M(b,113));xU(a,c,d,AU,M(b,96));xU(a,c,d,BU,M(b,42));switch(JG(b)){case 1:CU(a,c,d,DU,M(b,26));1==d?(xU(a,c,d,EU,Cl(b,107)),xU(a,c,d,FU,Cl(b,68)),xU(a,c,d,GU,Cl(b,106)),xU(a,c,d,HU,Cl(b,104)),xU(a,c,d,IU,Cl(b,156)),xU(a,c,d,JU,Cl(b,103)),xU(a,c,d,KU,Cl(b,207)),
LU(a,c,d,JU,Cl(b,103)),LU(a,c,d,DU,M(b,26)),LU(a,c,d,KU,Cl(b,207)),(HG(b)||[]).forEach(function(e){LU(a,c,d,MU,e)})):0==d&&LU(a,c,d,wU,M(b,6));break;case 2:if(1==d){if(CU(a,c,d,NU,M(b,89)),0<(M(b,138)||0)&&(CU(a,c,d,OU,M(b,138)),b=zS.get(b).g))CU(a,c,d,PU,(M(b,12)||0)-(M(b,11)||0)),CU(a,c,d,QU,(M(b,4)||0)-(M(b,3)||0)),CU(a,c,d,RU,(M(b,12)||0)-(M(b,9)||0)),CU(a,c,d,SU,(M(b,6)||0)-(M(b,2)||0))}else 0==d&&(LU(a,c,d,wU,M(b,6)),R(b,lF,228)&&(TU(a.j,c,d,UU,R(R(b,lF,228),eF,4)),TU(a.j,c,d,VU,R(R(b,lF,228),
eF,5))))}}},CU=function(a,b,c,d,e){TU(a.l,b,c,d,e)},xU=function(a,b,c,d,e){null!=e&&-1!=e&&TU(a.C,b,c,d,e)},LU=function(a,b,c,d,e){TU(a.h,b,c,d,e)},oia=function(a){if(!a.g)return null;FG(a.g).forEach(function(b){var c=b.l,d=wU,e=M(b,1),f=M(b,2);(d=a.h.h.get(e+"-"+f+"-"+d))&&c.call(b,d)});EG(a.g).forEach(function(b){var c=GG(b)[0],d=KG(b);c&&(WU(a,c,d,DU,b,b.F),WU(a,c,d,OU,b,b.Mz),WU(a,c,d,NU,b,b.Oz),WU(a,c,d,PU,b,b.Jz),WU(a,c,d,QU,b,b.Kz),WU(a,c,d,RU,b,b.Pz),WU(a,c,d,SU,b,b.Sz),XU(a,c,d,EU,b,b.zj),
XU(a,c,d,FU,b,b.ei),XU(a,c,d,GU,b,b.Ej),XU(a,c,d,HU,b,b.Fj),XU(a,c,d,IU,b,b.Gj),XU(a,c,d,JU,b,b.Hj),XU(a,c,d,KU,b,b.Hz),XU(a,c,d,yU,b,function(e){return P(b,2,Math.round(e))}),XU(a,c,d,zU,b,function(e){return P(b,113,Math.round(e))}),XU(a,c,d,AU,b,function(e){return P(b,96,Math.round(e))}),XU(a,c,d,BU,b,function(e){return P(b,42,Math.round(e))}),YU(a,c,d,JU,b,b.Tz),YU(a,c,d,DU,b,b.Lz),YU(a,c,d,wU,b,b.u),YU(a,c,d,MU,b,b.l),YU(a,c,d,KU,b,b.Iz),ZU(a,c,d,UU,b,function(e,f){return U(e,4,f)}),ZU(a,c,d,
VU,b,function(e,f){return U(e,5,f)}))});return a.g},WU=function(a,b,c,d,e,f){(a=a.l.g.get(b+"-"+c+"-"+d))&&qU(a)&&f.call(e,a)},XU=function(a,b,c,d,e,f){(a=a.C.g.get(b+"-"+c+"-"+d))&&!isNaN(a.g)&&f.call(e,a.g)},YU=function(a,b,c,d,e,f){(a=a.h.g.get(b+"-"+c+"-"+d))&&f.call(e,a)},ZU=function(a,b,c,d,e,f){(a=a.j.g.get(b+"-"+c+"-"+d))&&qU(a)&&(null==M(e,228)&&(b=new lF,U(e,228,b)),e=R(e,lF,228),f(e,a))};uU.prototype.reset=function(){this.g=null;this.l.reset();this.C.reset();this.h.reset();this.j.reset()};
var sU=function(a,b){this.j=a;this.l=b;this.g=new Map;this.h=new Map},TU=function(a,b,c,d,e){vU(a,a.g,b+"-"+c,d,e)},vU=function(a,b,c,d,e){c=c+"-"+d;d=b.has(c)?b.get(c):a.j();a=a.l(d,e);b.set(c,a)};sU.prototype.reset=function(){this.g.clear();this.h.clear()};var $U=function(a){this.Va=a};$U.prototype.toString=function(){return this.Va};
var DU=new $U("XTvm9d"),OU=new $U("TdVfcf"),NU=new $U("eQTbEc"),PU=new $U("a4Yxj"),QU=new $U("nUWCZc"),RU=new $U("Nboi5"),SU=new $U("R5vmJf"),EU=new $U("gzdO6e"),FU=new $U("tXhbTd"),GU=new $U("KQMrwb"),HU=new $U("VV4zEf"),IU=new $U("JFlPof"),JU=new $U("BUnMQ"),KU=new $U("i5kSvf"),MU=new $U("bBLyge"),wU=new $U("Wau6Je"),yU=new $U("YoLTIb"),zU=new $U("A1VqNe"),AU=new $U("F2EIlf"),BU=new $U("DbrXbf"),UU=new $U("F2s1L"),VU=new $U("NJuHOb"),tU=function(){this.g=NaN;this.h=0};
tU.prototype.update=function(a){this.h++;this.g=1===this.h?a:this.g+(a-this.g)/this.h};var aV=new bK("HETvff","lHoXXe");var cV=function(){V.call(this);var a=this;this.o=jg("realtime.media.stats.SpeakerSwitchReportService");this.s=new Map;this.m=new Map;this.u=new Map;this.h=new gN;this.T(this.h);this.l=function(b){bV(a,null,b.target)};this.j=new Map;this.g=0};t(cV,V);
var pia=function(a){wK(a,aV)||FK(a,aV,function(){return new cV})},qia=function(a,b){var c=new gN;a.T(c);c.listen(b,"Fa",function(){}).listen(b,"Ga",function(d){a.g||(a.g=d.kp)})},dV=function(a,b){var c=b.Z();b=b?b.getInfo().Qa():[];c&&0<b.length&&a.u.set(c,b[0])},eV=function(a,b){"a"==b.getInfo().ga()&&(a.h.listen(b,"fa",a.l),dV(a,b))},bV=function(a,b,c){b&&(lN(a.h,b,"fa",a.l),eV(a,c));if("a"==c.getInfo().ga()&&0<c.getInfo().Qa().length){b=c.getInfo().Qa()[0];var d=c.getInfo().Hc(),e=0==c.getState();
d||e?(a.m.set(b,$a()),a.s.clear()):a.m.delete(b);dV(a,c)}},ria=function(a,b){if("a"==b.getInfo().ga()){lN(a.h,b,"fa",a.l);var c=b.getInfo().Qa()[0]||null;c&&(a.m.delete(c),a.s.clear());a.u.delete(b.Z())}},sia=function(a,b){EG(b).forEach(function(c){if(1==JG(c)&&1==KG(c)&&0!=GG(c).length){var d=GG(c)[0],e=[];0!=HG(c).length&&a.g?HG(c).forEach(function(f){var g=M(f,3);null!=g&&null!=M(f,1)&&null!=M(f,2)&&(a.j.get(g)||[]).forEach(function(h){var m=h.Xe-a.g;m>=(M(f,1)||0)&&m<=(M(f,2)||0)&&e.push(h.Ne-
h.Xe)})}):a.j.has(d)&&a.j.get(d).forEach(function(f){return e.push(f.Ne-f.Xe)});P(c,142,e||[])}})};cK(aV,cV);var fV=function(){V.call(this);this.o=jg("realtime.media.stats.VideoFeedTracker");this.h=new Map;this.g=new Map};t(fV,V);var tia=function(a,b){EG(b).forEach(function(c){if(2==JG(c)&&0<GG(c).length){var d=GG(c)[0];d=a.g.get(d)||[];P(c,141,d||[])}})};var gV=function(a,b,c){mQ.call(this,b.Z(),b.Ea(),b,c);this.j=a;this.g=!1};t(gV,mQ);gV.prototype.s=function(){return this.j};var hV=function(){KM.apply(this,arguments)};t(hV,KM);var iV=function(a){W.call(this,"Ia");this.g=a.slice()};t(iV,W);var jV=function(a,b,c){var d=a.signal();b.attach(function(e){c(e)&&a.R(d,e)});return d},kV=function(a,b,c,d){d=void 0===d?function(e){return e}:d;c.attach(function(e){a.R(b,d(e))},a)},lV=function(a,b,c,d){d=void 0===d?function(e){return e}:d;oL(c,function(e){a.R(b,d(e))},a)};var uia=l(["localSessionId=",""]),via=l(["Creating a new session with options=","."]),oV=function(a,b,c,d,e,f,g){TS.call(this);var h=this;this.o=YQ(new WQ("realtime.media.session.SessionImpl"),function(m){return m(uia,h.tb())});this.Ii=b;this.j=f;this.g=e;this.T(this.g);this.h=d;this.T(this.h);this.H=c;this.T(this.H);this.vi=g;this.o.info(via,Vs(f.Ba()));this.fa=xK(a,$K);this.gf=xK(a,ZK);this.yi=null;xK(a,bL).then(function(m){h.yi=m});c=Zha(a,e,function(m,q){return mV(h,m,q)});c.j.attach(function(m){m&&
h.stop(10)});this.T(c);this.hf=!1;this.qb=cU(a,e,void 0,{yq:2,Un:5});this.qb.j.attach(function(m){h.hf=m});this.T(this.qb);this.xa=null;this.ff=new eL(this);this.kf=this.ff.signal();kV(this.ff,this.kf,e.K);this.s=new gN(this);this.T(this.s);this.s.listen(this.g,"ta",this.hj).listen(this.g,"va",this.Mi).listen(this.g,"ua",this.Ul).listen(this.g,FR,this.ml).listen(this.g,"xa",this.Cl).listen(this.g,"wa",this.Bl).listen(this.g,"Aa",this.El).listen(this.g,"za",this.Xl).listen(this.g,"ga",this.pf).listen(this.g,
"sa",this.bj);this.gf.then(function(m){kN(h.s,m,"Ca",function(){h.j.Ke&&nV(h.g)})});this.s.listen(this.h,"ga",this.rf).listen(this.h,"W",this.Ni).listen(this.h,vS,this.gm);this.s.listen(this.h,uS,this.aj,!0);this.rb=this.qd=!1;this.oa=[];this.tc=zt();this.eh=zt();this.jf="";this.u={};this.m=this.Na=this.qa=this.sa=null;this.qc=[];this.hb=[];this.l=[];this.rc={};this.bb=new HM(20);this.G=this.gb=null;this.fc=this.Jb=this.Aa=Y();this.ne=this.me=!1;this.Ca=!0;this.gh=!1;this.fh=zt();this.ja=!1;this.oe=
uQ;this.wb=!1;b=(b=b.j)&&R(b.g,UL,19)||new UL;this.hc=void 0;this.Ma=new rS;sS(this.Ma,d);this.Mg=this.j.Ah();this.Eb=new uU;this.Gd=new eU(b);this.s.listen(this.Gd,"Da",this.fj);this.Oa=zt();this.K=[];(d=navigator.getBattery?navigator.getBattery():null)&&d.then&&d.then(function(m){sS(h.Ma,function(q){P(q,75,Math.round(100*m.level));P(q,74,!m.charging)})});this.Pa=new oU;this.Ec=new fV;this.D=null;xK(a,aV,!0).then(function(m){return h.D=m});this.ea=null;xK(a,mU,!0).then(function(m){h.ea=m});this.pd=
"";this.Y=new Map;this.Fe=new Map;this.dh=!1;this.N=this.W=null;this.od=this.Ge=0;this.Bc=new Set;this.Dc=new Map};t(oV,TS);oV.prototype.lp=function(a){var b=void 0;b=void 0===b?{ordered:!0,maxRetransmits:10}:b;a=pV(this.g.g,a,b);return new qV(a)};oV.prototype.mp=function(){var a=this.Aa;return pQ!=Date.now?a.g:a.g+(Date.now()-(pQ!=Date.now?Date.now():qQ()))};oV.prototype.Xo=function(){return this.dh};
oV.prototype.jj=function(a){var b=this;this.rb=!0;this.hb.forEach(function(c){return rV(b,c)});this.hb=[];return a};
var wia=l(["Starting session after already started."]),xia=l(["Preparation failed because local session failed to create an offer."]),yia=l(["Preparation failed because because local session failed to prepare."]),zia=l(["Failed to prepare session because remote session failed to prepare."]),tV=function(a){if("INITIAL"!=a.getState())return a.o.L(wia),!1;sV(a,"STARTING");if(!a.g.g.localDescription)return a.o.L(xia),!1;if(!Aia(a.g))return a.o.L(yia),!1;Bia(a.g,a.j.wg());if(!Rga(a.h))return a.o.L(zia),
!1;a.fh.promise.then(function(){});return!0},Cia=l(["Starting with remote description: ",""]),Dia=l(["Received remote description without session id."]);
oV.prototype.start=function(a){this.qd=!0;if("INITIAL"==this.getState()&&!tV(this))return!1;this.Na=a;this.o.info(Cia,Vs(a.Ba()));var b=a.ya;null!=b&&(a=FP(a,xP(b,"opus")),this.oa=jP(b),this.O(new jQ(this.oa)));a=uV(this,a);this.m=a=Eia(this,a);b=a.j;if(null==b)return this.o.L(Dia),mV(this,3948),this.stop(16,"Received remote description without session id."),!1;this.qc.forEach(function(c){a=KP(a,c.Dn,c.uq)});bc(this.qc);vV(this,b);this.h.start(b);this.g.start(a);wV(this.g,this.K);sV(this,"STARTED");
b=xV(a);0<b.length&&yV(this.g.g,b);zV(this);AV(this);this.tc.resolve();this.j.Cf&&this.j.Ke&&nV(this.g);return!0};
var BV=function(a){var b=Fia(a.Ii);if(!b)return null;var c=null!=M(b,7)?R(b,hH,7):new hH,d=null!=M(c,6)?R(c,iH,6):new iH;"high"==a.j.Ie&&P(d,84,!0);"high"==a.j.De?P(d,85,!0):"very-low"==a.j.De&&P(d,86,!0);U(c,6,d);U(b,7,c);return b},Gia=l(["Connecting session to hangoutId=","."]),Hia=l(["Upload log failed on connectToHangout."]),Iia=l(["Uploaded logging data for ","."]),Jia=l(["Uploading logging data for "," failed."]),Kia=l(["No logging data to upload for ","."]);
oV.prototype.Ai=function(a,b,c){var d=this,e=this.g.h;this.o.info(Gia,a);this.jf=b;this.g.ib=a;this.g.connect();c||(c=new UR(this.vi));var f={ib:a,ha:b,fe:c,au:Y(),bu:Date.now()};this.h.Ai(a,b,c);this.H.g=f;this.tc.promise.then(function(){Ie()&&0<Fa.navigator.maxTouchPoints&&mV(d,6589);Dt(gS(d.H,BV(d),e),function(g){ZQ(d.o,g).L(Hia)})});(a=this.g.Ao())?Dt(a.then(function(g){return gS(d.H,g,e)}).then(function(){d.o.info(Iia,e);mV(d,5817)}),function(g){ZQ(d.o,g).L(Jia,e);mV(d,5818)}):(mV(this,5819),
this.o.info(Kia,e))};var Lia=l(["Attempting to pause session."]),Mia=l(["Failed to pause session."]);oV.prototype.pause=function(){this.o.info(Lia);if("INPROGRESS"!=this.getState())return!1;this.l.forEach(function(a){"d"!=a.getInfo().ga()&&nQ(a,0)});if(!this.g.pause())return this.o.pa(Mia),!1;Pv(this.G);this.G=null;sV(this,"PAUSED");return!0};var Nia=l(["Attempting to resume session."]),Oia=l(["Failed to resume session."]);
oV.prototype.resume=function(){this.o.info(Nia);if("PAUSED"!=this.getState())return!1;if(!this.g.resume())return this.o.pa(Oia),!1;this.h.resume();this.l.forEach(function(a){"d"!=a.getInfo().ga()&&nQ(a,1)});this.O("ba");sV(this,"INPROGRESS");this.O(new iQ([],[],this.tb()));zV(this);return!0};
var Pia=l(["Ignoring call to stop with endCause: "," and debug information: ",", because it has already stopped."]),Qia=l(["Stopping because stop called with endCause: ",".\n        Debug information (if any): ","\n        Stack trace:\n        ",""]);
oV.prototype.stop=function(a,b){if("STOPPED"==this.getState()||"FINISHED"==this.getState())return this.o.info(Pia,a,b),!0;this.o.info(Qia,a,b,Nf());b&&(this.pd=b);lN(lN(lN(lN(this.s,this.g,"ga",this.pf),this.h,"ga",this.rf),this.sa,"Ia",this.ah),this.qa,"Ia",this.bh);var c;if(c=this.j.Ke)a:switch(a){case 3:case 8:case 111:case 113:case 114:case 115:case 10:case 102:case 13:case 58:case 19:case 15:case 16:case 17:case 23:case 26:case 120:case 28:case 29:case 32:case 33:case 34:case 109:case 108:case 110:case 119:c=
!0;break a;default:c=!1}c&&nV(this.g);Pv(this.G);this.G=null;this.g.stop(a,b);this.h.stop(a,b);sV(this,"STOPPED",a,b);Ct(Qv(2E3),this.Oa.resolve,this.Oa);return!0};oV.prototype.ba=function(){this.stop(this.qd?6:72);Ct(this.Oa.promise,KM.prototype.ba,this)};
var Ria=l(["Adding stream after end."]),Sia=l(["Successfully added capture: ",""]),rV=function(a,b){switch(a.getState()){case "STOPPED":case "FINISHED":return a.o.L(Ria),!1}if(!a.rb)return a.hb.push(b),!0;var c=b.g,d=a.u[CV(c)];if(d)return b="sc"!=c.getContent(),DV(d,b),!1;d=Tia(a.g,b);if(null==d)return!1;var e=xO(new sO(d),b.Vb()).ia();"v"==c.Ra&&a.tc.promise.then(function(){var f=hP(gP(cP(bP(eP(aP(dP(new $O,c.getId()),"v"),a.h.g),e.Qa()),e.g),lR),30).ia();EV(a,[f])});Yga(a.h,e);"v"==c.Ra&&a.s.listen(c,
"H",a.qf);d=Uia(b,a.tb(),e);a.u[CV(c)]=d;a.O(new iQ([d.getInfo()],[]));a.s.listen(b,"O",a.lf);a.o.info(Sia,Vs(b.Ba()));return!0},Via=l(["Removing stream after end."]);oV.prototype.qf=function(a){a=a.target;if("sc"==a.getContent())a=a.getId()+"ca",DV(this.u[a],!1),dha(this.h);else if("ca"==a.getContent()){var b=this.u[CV(a)];DV(b,!0);NS(this.h);MS(this.h,this.u[CV(a)].getInfo())}};
var Wia=l(["Now has these "," participant(s): ",""]),FV=function(a,b){a.o.info(Wia,b.length,Vs(b));var c=a.h;c.sa=new Set(b);null!=c.j&&JN(c.j);a.g.pp(b.length)},Xia=l(["Changed state from "," to ",""]),Yia=l(["State change due to ",""]),sV=function(a,b,c,d){a.o.info(Xia,a.getState(),b);d&&a.o.info(Yia,d);a.pc!=b&&(a.pc=b,a.oc=c,a.O(new oQ(b,c,d)))},Zia=l(["Changing stream requests after end."]),$ia=l(["Received stream request for DOWN stream from UI: ",""]);
oV.prototype.Af=function(a){var b=this;switch(this.getState()){case "STOPPED":case "FINISHED":this.o.L(Zia);return}this.j.ej||(a=a.filter(function(c){c=new nO(c.Z(),c.Ea(),c.ga());return null===GV(b,c)}));a.forEach(function(c){b.o.info($ia,c);var d=b.Pa,e=c.Z(),f=c.Ea();c=c.Sc();e+=f;c&&c.width*c.height>=lR.width*lR.height?d.h[e]||(d.h[e]=$a()):delete d.h[e]});null!=this.sa?HV(this.sa,a):IV(this,a)};oV.prototype.ah=function(a){JV(this,a.g);IV(this,a.g)};
var IV=function(a,b){mV(a,5150);a.g.Af(b);a.h.Af(b);a.rc={};b.forEach(function(c){if(c.h){var d=c.Z();c=c.Ea();a.rc[d+c]=!0}});a.l.forEach(a.Cc,a)};oV.prototype.Cc=function(a){var b=a.Z(),c=a.Ea();b=this.rc[b+c]||!1;b!=a.g&&(a.g=b,a.O("Ha"))};
var JV=function(a,b){b=n(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.Qa();if(null!=d){c=c.C;d=n(d);for(var e=d.next();!e.done;e=d.next())a.Y.set(e.value,c)}}},aja=l(["Stream Requests for UP streams received from remote\n     side: ","."]),bja=l(["Audio Stream Requests for UP streams received unexpectedly from remote\n       side: ","."]),EV=function(a,b){a.o.info(aja,Vs(b.map(function(c){return c.toString()})));cja(a,dja(a,b));if(null!==a.qa){if(b.filter(function(c){return"v"==c.ga()}).length){HV(a.qa,
b);return}a.o.L(bja,Vs(b.map(function(c){return c.toString()})))}KV(a,b)},eja=l(["Muted unknown capture."]);oV.prototype.lf=function(a){var b=a.target;a=b.Vb();b=b.g;var c=b.Ra;"a"==c?this.Ge++:"v"==c&&this.od++;(b=this.u[CV(b)])?(a=xO(new sO(b.getInfo()),a).ia(),b.h=a,MS(this.h,a)):this.o.L(eja)};var DV=function(a,b){a&&(b=yO(new sO(a.getInfo()),b).ia(),a.h=b)};oV.prototype.bh=function(a){KV(this,a.g)};
var fja=l(["Sending stream requests for UP streams to local session:\n     ","."]),KV=function(a,b){var c=b.filter(function(e){e=e.u;return!(null!=e&&a.h.g!=e)});if(0!=c.length){JV(a,c);a.K=jc(a.K.filter(function(e){return!c.some(function(f){return ZO(e,f)})}),c);var d=a.j.fu;void 0!=d&&(a.K=a.K.map(function(e){return(e.j||0)>d?hP(new $O(e),d).ia():e}));a.o.info(fja,Vs(a.K));mV(a,5147);wV(a.g,a.K)}},dja=function(a,b){if(!tf||!hq(59)||!a.j.ji)return!1;var c=null;b.forEach(function(d){!td(d.Ea())&&
d.Sc()&&(null==c||d.Sc().width>c.Sc().width)&&(c=d)});if(null==c)return!1;a=c.Sc();return a.height*a.width<lR.width*lR.height},cja=function(a,b){if(a.m&&a.wb!=b)if(a.wb=b)a.xa=new wQ,xQ(a.xa,834),a.W=Y(),a.N=null;else{var c=a.xa;a.xa=null;a.W=null;a.N=Y();xQ(c,835);a.gf.then(function(d){return LS(d,yQ(c))})}};oV.prototype.za=function(a){if(!this.j.ej){var b=GV(this,a);if(null!=b)return b}return Zb(this.l,function(c){c=c.getInfo();return c.Z()==a.Z()&&c.ga()==a.Ra&&c.Ea()==a.getId()})};
oV.prototype.Ba=function(){var a=TS.prototype.Ba.call(this),b=BV(this);Object.assign(a,{sessionOptions:this.j.Ba(),audioOptions:this.j.mh.Ba(),systemInfo:b?b.va():"Unavailable",sessionEndDebugInfo:this.pd});return a};
var GV=function(a,b){if(b.Z()!=a.jf&&""!=b.Z())return null;a=Object.values(a.u).filter(function(c){c=c.g.g;return b.getId()==c.getId()&&b.Ra==c.Ra});return 1<a.length?a.find(function(c){return"sc"==c.g.g.getContent()}):1==a.length?a[0]:null},CV=function(a){var b=a.getId();a=a.getContent();return b+a};oV.prototype.tb=function(){return this.g.h};var xV=function(a){return(a=a.g)?kc(a.l):[]},gja=l(["Received local candidates before starting."]),hja=l(["Received local candidates after stopped."]);
oV.prototype.Mi=function(a){var b=this;switch(this.getState()){case "INITIAL":this.o.L(gja);return;case "STOPPED":case "FINISHED":this.o.L(hja);return}a.g.forEach(function(c){2!=c.g&&0>Yb(b.bb.Ja(),function(d){return JO(d,c)})&&b.bb.add(c)});null==this.gb&&(this.gb=Ov(function(){b.eh.promise.then(b.Hm,null,b);b.gb=null},500))};var ija=l(["Sending local ICE candidates over to the other side:\n     ","."]);oV.prototype.Hm=function(a){this.o.info(ija,Vs(this.bb.Ja()));this.O(new kQ(this.bb.Ja(),a))};
var kja=function(a,b){if(b=EG(b))for(var c=0;c<b.length;c++){var d=b[c];if(null!=d&&2==JG(d)){var e=M(d,65)||0;0==KG(d)&&a.wb&&(e|=4096);var f=MG(d);if(null!=f&&a.Y.has(f))e|=a.Y.get(f);else{f=n(GG(d));for(var g=f.next();!g.done;g=f.next())if(g=g.value,a.Y.has(g)){e|=a.Y.get(g);break}}0==KG(d)&&GG(d).some(function(h){return jja(a,h).some(function(m){return!!m.getInfo().l})})&&(e|=8192);P(d,65,e)}}},lja=function(a,b){b=EG(b);for(var c={},d=0;d<b.length;c={cf:c.cf},d++)if(c.cf=b[d],0==KG(c.cf)&&2==
JG(c.cf)){var e=a.K.find(function(f){return function(g){return"v"==g.ga()&&g.h&&g.Qa().includes(GG(f.cf)[0])}}(c));e&&(P(c.cf,115,e.g&&e.g.height),P(c.cf,114,e.g&&e.g.width))}},nja=function(a,b){(b=EG(b))&&b.forEach(function(c){var d=GG(c)[0];if(1==KG(c)&&null==M(c,59)){var e=2==JG(c)&&Zb(a.l,function(f){return f.getInfo().g==d});e?(e=!e.getInfo().If(),P(c,59,e),e?a.Bc.add(d):a.Bc.delete(d)):a.Bc.has(d)&&P(c,59,!0)}else 0==KG(c)&&(e=LV(a,d).map(function(f){return f.g}).filter(function(f){return"sc"==
f.getContent()}),P(c,59,0<e.length),waa(c,mja(e)))})},oja=function(a){var b=EG(a);if(b){var c=[],d=[];b=n(b);for(var e=b.next();!e.done;e=b.next())e=e.value,1==KG(e)&&2==JG(e)?(e=MG(e)||GG(e)[0]||0,c.push(e)):d.push(e);b=DQ(zQ("cPNXuf"),50);c.length>b&&(b=new rF,b=P(b,1,c.length),c=P(b,2,c||[]),U(a,207,c),QG(a,d))}},pja=function(a,b,c){var d=EG(b);d&&QG(b,d.filter(function(e){if(1==KG(e)){var f=MG(e)||GG(e)[0]||0,g=a.Fe.get(f)||{},h=g.packets||0,m=g.Uw||!1;e=M(e,10)||0;h=h==e;m=!m||!h;c&&(g.packets=
e,g.Uw=h,a.Fe.set(f,g));return m}return!0}))},qja=function(a,b){var c=a.W&&15E3<tQ(Y(),a.W),d=a.N&&15E3<tQ(Y(),a.N);if(c||d){var e=EG(b).filter(function(f){return f&&2==JG(f)&&0==KG(f)});b=c&&e.some(function(f){return(M(f,57)||0)>=lR.width});e=d&&e.every(function(f){return(M(f,57)||0)<=kR.width});b&&mV(a,4627);e&&mV(a,4875);c&&(a.W=null);d&&(a.N=null)}},sja=function(a,b){EG(b).forEach(function(c){return rja(a,c)})},rja=function(a,b){var c=GG(b)[0];if(0==KG(b)){var d=LV(a,c);0<d.length&&LG(b,d.every(function(e){return e.Vb()})?
1:2);2==JG(b)?P(b,185,a.od):1==JG(b)&&P(b,185,a.Ge)}else 1==KG(b)&&2==JG(b)&&(a=Zb(a.l,function(e){return"v"==e.getInfo().ga()&&e.getInfo().Qa()[0]==c}))&&LG(b,a.getInfo().Hc()?1:2)},tja=function(a,b){b=EG(b);b=n(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1==KG(c)&&2==JG(c)){var d=n(GG(c)).next().value;d&&(d=a.Dc.get(d),P(c,227,d))}a.Dc.clear()};oV.prototype.fj=function(a){this.O(new gQ(a.id))};
oV.prototype.Cl=function(a){sja(this,a.mb);kja(this,a.mb);lja(this,a.mb);kia(this.Pa,a.mb);tia(this.Ec,a.mb);this.D&&sia(this.D,a.mb);this.ea&&hia(this.ea,a.mb);nja(this,a.mb);qja(this,a.mb);this.Ma.Md(a.mb);tja(this,a.mb);this.hc=a.mb;this.Mg&&this.Eb.update(a.mb);this.Ca||(this.Ca="PAUSED"!=this.getState());var b=this.Ca&&this.j.yh()<tQ(Y(),this.oe);pja(this,a.mb,b);b&&(oja(a.mb),this.j.ik&&(b=this.Mg&&oia(this.Eb)||a.mb,nga(this.H,b,this.tb())),this.oe=Y(),this.hc=void 0,this.Eb.reset(),this.Pa.g=
{},this.Ec.g.clear(),this.D&&this.D.j.clear(),this.ea&&jia(this.ea),this.Ca="PAUSED"!=this.getState());$ha(this.Gd,a.mb);var c=!1;FG(a.mb).forEach(function(d){c=c||0<M(d,7)});this.dh=c;this.O(new eQ(a.mb))};var uja=l(["Logging finished before media stopped!"]),vja=l(["Finalize log uploads failed."]);oV.prototype.Bl=function(a){var b=this;oga(this.H,a.j,this.tb(),a.Rb,this.hc,a.g).then(function(){"STOPPED"!=b.getState()?b.o.L(uja):(sV(b,"FINISHED"),b.Oa.resolve())},function(c){ZQ(b.o,c).L(vja)})};
oV.prototype.El=function(a){var b=this.Pa,c=a.ha,d=a.sourceId,e=a.ssrc,f=c+d;(a=a.g)&&a.width*a.height>=lR.width*lR.height&&(a=b.h[f])&&(a=$a()-a,0<=a&&(b.g[e]=b.g[e]||[],b.g[e].push(a),delete b.h[f],pg(b.o,"participantId: "+c+" sourceId: "+d+" ssrc: "+(e+" latency: "+a))))};
oV.prototype.Xl=function(a){var b=a.source?this.za(a.source):null,c=b?b.getInfo().Qa():[];b=this.Ec;a=a.id;c=0<c.length?c[0]:null;if(b.h.has(a)){var d=$a()-b.h.get(a).Xe,e=b.h.get(a).ssrc;0<=d&&2147483647>=d?(b.g.has(e)||b.g.set(e,[]),b.g.get(e).push(d),pg(b.o,"Logged ssrc: "+e+" duration: "+d)):og(b.o,"Ignore invalid main feed ssrc: "+e+" duration: "+d)}else og(b.o,"Skip logging duration for id: "+a);c?b.h.set(a,{ssrc:c,Xe:$a()}):b.h.delete(a)};var wja=l(["Latency event: ","."]);
oV.prototype.ml=function(a){this.o.info(wja,a.message);"transport writable"==a.message?(this.gh=!0,this.fh.resolve(),this.ja||Ov(this.ti,2E3,this),this.O(new iQ([],[],this.tb())),AV(this)):"recv first video packet"==a.message?(this.ja=!0,AV(this)):"transport not writable"==a.message&&(a=this.h,NR(a.D),a.h&&VN(a.h),a.j&&VN(a.j))};oV.prototype.ti=function(){this.ja||(this.ja=!0,AV(this))};
var AV=function(a){"STARTED"==a.getState()&&a.gh&&a.ja&&(sV(a,"INPROGRESS"),a.O(new iQ([],[],a.tb())))},xja=l(["Unexpected raw collection push!"]),yja=l(["Received data on the broadcast data channel. Data: ",""]);oV.prototype.hj=function(a){switch(a.label){case "collections":this.o.pa(xja);break;case "dataSendChannel":this.o.pa(yja,a.payload);break;default:this.O(new hU(a.ha,a.payload))}};
var zV=function(a){a.G=Ov(a.si,5E3,a)},zja=l(["Session started receiving audio."]),Aja=l(["Session stopped receiving audio!"]),Bja=l(["Session started receiving video."]),Cja=l(["Session stopped receiving video!"]);oV.prototype.Ul=function(a){if(null!=this.G){a.g!=this.me&&(a.g?this.o.info(zja):this.o.L(Aja),this.me=a.g);a.j!=this.ne&&(a.j?this.o.info(Bja):this.o.L(Cja),this.ne=a.j);var b=Y();a.g&&(this.Jb=b);a.j&&(this.fc=b);if(a.g||a.j)Pv(this.G),this.G=null,zV(this)}};
var Dja=l(["Session has never received audio."]),Eja=l(["Session has not received audio for "," seconds."]),Fja=l(["Session has never received video."]),Gja=l(["Session has not received video for "," seconds."]);oV.prototype.si=function(){var a=Y(),b=tQ(a,this.Jb)/1E3;a=tQ(a,this.fc)/1E3;this.O(new fQ(this.h.g,b,a));this.Jb==this.Aa?this.o.info(Dja):5E3<b&&this.o.info(Eja,b);this.fc==this.Aa?this.o.info(Fja):5E3<a&&this.o.info(Gja,a);zV(this)};
var Hja=l(["Stopping session because local session stopped with endCause: ","."]),Ija=l(["Local session stopped before starting."]),Jja=l(["Local session stopped after already stopped."]);oV.prototype.pf=function(a){if("STOPPED"==this.g.getState()){this.o.info(Hja,a.Rb);switch(this.getState()){case "INITIAL":this.o.L(Ija);sV(this,"STOPPED",a.Rb,a.g);return;case "STOPPED":this.o.L(Jja);return}this.stop(a.Rb,a.g)}};
oV.prototype.bj=function(a){var b=this,c=new Map;this.l.filter(function(d){return"v"==d.getInfo().ga()&&a.j.has(d.getInfo().Qa()[0])}).forEach(function(d){var e=n(d.getInfo().Qa()).next().value;c.set(d.Z(),{sA:a.j.get(e),Qr:e})});this.l.filter(function(d){return"a"==d.getInfo().ga()&&a.g.has(d.getInfo().Qa()[0])}).forEach(function(d){var e=n(d.getInfo().Qa()).next().value;d=d.Z();c.has(d)&&(c.get(d).Rt=a.g.get(e))});c.forEach(function(d){if(void 0!=d.Qr){var e=d.Rt,f=d.sA;b.Dc.set(d.Qr,e&&f&&void 0!=
e.captureTimestamp&&void 0!=f.captureTimestamp?e.captureTimestamp-f.captureTimestamp-(e.xk-f.xk):null)}})};var Kja=l(["Remote session stopped before starting."]),Lja=l(["Remote session stopped after already stopped."]);oV.prototype.rf=function(a){if("STOPPED"==this.h.getState()){switch(this.getState()){case "INITIAL":this.o.L(Kja);return;case "STOPPED":this.o.L(Lja);return}this.stop(a.Rb,a.g)}};oV.prototype.Ni=function(a){this.O(a)};
var Mja=l(["Remote description changed before starting."]),Nja=l(["Remote description changed after end."]),Oja=l(["Received modified remote description: ","."]),Pja=l(["Session IDs are now set: LocalSession ID: ",",\n       RemoteSession ID: ",". Note: Session\n       is not yet active."]),vV=function(a,b){null!=b&&null==a.h.g&&(GS(a.h,b),a.H.l=b,a.eh.resolve(b),a.o.info(Pja,a.tb(),BS(a.h)))},Qja=l(["Received remote streams before starting."]),Rja=l(["Received remote streams after end."]),Sja=l(["Queuing stream changes. addedStreams.length=",
",\n         removedStreams.length=",""]),Tja=l(["Sending stream adds. addedStreams.length=",",\n         removedStreams.length=",""]);
oV.prototype.aj=function(a){var b=a.Fc,c=a.nc;a=a.removed;switch(this.getState()){case "INITIAL":this.o.L(Qja);return;case "STOPPED":case "FINISHED":this.o.L(Rja);return}if(0<b.length||0<a.length)"STARTING"==this.getState()?(this.o.info(Sja,b.length,a.length),this.qc.push({Dn:b,uq:a})):(this.o.info(Tja,b.length,a.length),this.m=KP(this.m,b,a),this.g.update(this.m,a));Qb(a,this.Em,this);Qb(c,this.Om,this);Qb(b,this.ri,this);(0<a.length||0<c.length||0<b.length)&&this.O(new iQ(jc(b,c),a))};
oV.prototype.ri=function(a){a=new gV(this.g.h,a);this.Cc(a);this.l.push(a);this.D&&eV(this.D,a)};var Uja=l(["Tried to update non-existent remote stream: ","."]);oV.prototype.Om=function(a){var b=this.l.findIndex(function(d){return d.getInfo().matches(a)});if(-1==b)this.o.L(Uja,a);else{var c=new gV(this.g.h,a);this.Cc(c);this.D&&bV(this.D,this.l[b],c);this.l[b]=c}};var Vja=l(["Tried to remove non-existent remote stream: ","."]);
oV.prototype.Em=function(a){var b=Yb(this.l,function(d){return d.getInfo().matches(a)});if(-1==b)this.o.L(Vja,a);else{var c=this.l[b];gc(this.l,b);this.D&&ria(this.D,c);nQ(c,0)}};var Wja=l(["Received remote stream requests before starting."]),Xja=l(["Received remote stream requests after end."]);oV.prototype.gm=function(a){switch(this.getState()){case "INITIAL":this.o.L(Wja);return;case "STOPPED":case "FINISHED":this.o.L(Xja);return}mV(this,5148);EV(this,a.g)};
var Yja=l(["Setting audio options to\n     ","."]),Zja=function(a,b){null!=b&&(a.o.info(Yja,Vs(b.Ba())),a.j=bS(a.j,b),a.m=MV(a,a.m),b=a.m,null!=b.ya&&NV(a.g,b))},MV=function(a,b){var c=b.ya;a=a.j.mh;a.s||(c=$ea(c));var d=jP(c),e=Yb(d,function(h){return MO(h,"OPUS")});if(-1!=e){if(!a.u&&1<d.length)gc(d,e);else{var f=a.D&&!(tf&&!hq(48));f=QO(QO(QO(new NO(d[e]),"stereo",a.F?"1":"0"),"useinbandfec",a.G?"1":"0"),"usedtx",f?"1":"0");var g=DQ(zQ("E0Ul7"),-1);-1!=g&&QO(f,"ptime",g.toString());d[e]=f.ia()}c=
oP(c,d)}a=a.m;null!=a&&(c=xP(c,a));return FP(b,c)},uV=function(a,b){if(!b.ra||0==jP(b.ra).length)return b;a.j.Fk()||(b=DP(b,function(f){return!MO(f,"h264")}));a.j.tg()||(b=DP(b,function(f){return!MO(f,"vp9")}));b=CP(b,xP(b.ra,"vp8"));var c=iT(a.g.Ho(),4),d=a.j.yj&&c||a.j.rg,e=jP(b.ra).some(function(f){return MO(f,"vp9")});d&&e?b=CP(b,xP(b.ra,"vp9")):a.j.tg()&&(e||mV(a,5772),c||mV(a,5771));Yb(jP(b.ra),function(f){return MO(f,"h264")});return b},Eia=function(a,b){if(b.ya&&mP(b.ya)!=mP(a.g.g.localDescription.ya)){var c=
mP(a.g.g.localDescription.ya);b=FP(b,sP(b.ya,c))}b.ra&&mP(b.ra)!=mP(a.g.g.localDescription.ra)&&(c=mP(a.g.g.localDescription.ra),b=CP(b,sP(b.ra,c)));b.ab&&mP(b.ab)!=mP(a.g.g.localDescription.ab)&&(a=mP(a.g.g.localDescription.ab),b=GP(b,sP(b.ab,a)));return b};oV.prototype.toString=function(){return"Session(Id="+this.h.g+" useAudio="+this.j.Ze+" useVideo="+this.j.Km+")"};
var mV=function(a,b,c){c=void 0===c?{}:c;a.fa.then(function(d){c.sessionId=a.h.g||void 0;d.logImpression(b,c)})},LV=function(a,b){return Object.values(a.u).filter(function(c){return c.getInfo().Qa()[0]===b}).map(function(c){return c.g})},jja=function(a,b){return Object.values(a.u).filter(function(c){return c.getInfo().Qa()[0]===b})},mja=function(a){switch(a.find(function(){return!1})&&0){case 1:return 2;case 2:return 3;case 3:return 4;case 4:return 5;default:return 0}};var OV=function(a,b){this.name=a;this.defaultValue=b;this.h=this.g=!1;this.value=b};OV.prototype.get=function(){this.g=!0;return this.value};OV.prototype.set=function(a){this.g?(Mb("ModFlag "+this.name+" cannot be set after get"),Ys(Error("ModFlag "+this.name+" cannot be set after get"))):this.h?(Mb("ModFlag "+this.name+" cannot be set twice"),Ys(Error("ModFlag "+this.name+" cannot be set twice"))):(this.h=!0,this.value=a)};var $ja=Symbol("D8DELc");
function PV(a){var b=[],c={};c=(c[$ja]=function(){for(var g=n(b),h=g.next();!h.done;h=g.next())h=h.value,h.h=!1,h.g=!1,h.value=h.defaultValue},c);var d={};a=n(Object.entries(a));for(var e=a.next();!e.done;d={Ug:d.Ug},e=a.next()){var f=n(e.value);e=f.next().value;f=f.next().value;d.Ug=new OV(e,f);b.push(d.Ug);Object.defineProperty(c,e,{get:function(g){return function(){return g.Ug.get()}}(d),set:function(g){return function(h){g.Ug.set(h)}}(d)})}return c};var aka=PV({oA:!1}),QV=function(a,b){V.call(this);var c=this;this.m=a;b&&b.T(this);this.l=b||new eL(this);this.h=this.l.signal();aka.oA||(this.g=new Mv(a),this.T(this.g),a=new gN,this.T(a),a.listen(this.g,"tick",function(){c.l.R(c.h,void 0)}))};t(QV,V);QV.prototype.start=function(){var a=this;this.g?this.g.start():this.enabled||(this.j=setInterval(function(){a.l.R(a.h,void 0)},this.m))};QV.prototype.stop=function(){this.g?this.g.stop():this.enabled&&(clearInterval(this.j),this.j=void 0)};
QV.prototype.ba=function(){this.stop();V.prototype.ba.call(this)};ea.Object.defineProperties(QV.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.g?this.g.enabled:void 0!==this.j}}});var RV=function(){KM.call(this);var a=this;this.h=$a();this.g=new QV(1E3);this.T(this.g);this.g.h.attach(function(){var b=$a();6E4<b-a.h&&a.O("Ja");a.h=b});this.g.start()};t(RV,KM);Na(RV);var SV=function(a){V.call(this);var b=this;this.o=new WQ("realtime.media.stats.BandwidthLatencyReporter");this.s=a;this.g=new Map;this.l=zt();this.m=zt();this.h=new Map([["call connect",25],["bandwidth 500",10],["bandwidth 1000",11],["bandwidth 1500",12],["bandwidth 2500",26],["bandwidth 3150",27],["bandwidth HD",28]]);this.j=new Map;this.h.forEach(function(c){b.j.set(c,zt())});a=Array.from(this.j.values(),function(c){return c.promise});a=xt(a);vt([a,this.l.promise,this.m.promise]).then(function(){bka(b)})};
t(SV,V);var cka=l(["Latency: "," Id: "," was marked at: ",""]),dka=function(a,b){if(a.h.has(b)){var c=a.h.get(b);if(!a.g.has(c)&&(25===c||a.g.has(25))){var d=Y();a.g.set(c,d);a.j.get(c).resolve();a.o.info(cka,b,c,d);25===c&&Qv(3E5).then(function(){a.m.resolve()})}}},eka=l(["",""]),bka=function(a){if(0!==a.g.size){var b=new wQ;a.g.forEach(function(d,e){xQ(b,e,d.g)});var c=yQ(b);a.o.info(eka,c.va());a.s.then(function(d){return LS(d,c)});a.h.clear();a.g.clear()}};var fka={SUCCESS:0,ls:100,dJ:101,jL:102,kL:103,HA:200,RA:221,Zr:201,xB:202,kC:203,YE:204,kF:205,SH:206,UH:207,YH:208,xI:209,Js:210,MI:211,uI:222,bO:223,OI:212,CJ:213,BJ:214,KJ:215,oL:216,vL:217,mL:255,YN:218,USER_CANCELED:219,mO:252,zO:220,cE:224,KI:225,II:226,VN:227,kD:228,yF:229,wJ:230,JI:231,jG:232,xG:233,zG:234,IJ:235,yI:236,MA:237,LA:238,bE:239,CI:240,yG:241,wG:261,uH:242,jD:243,bG:244,tL:245,sL:249,wH:246,rD:247,PD:250,IF:248,fs:251,lM:253,zI:254,yO:256,gs:257,nD:258,fO:259,CH:260,FJ:262,hB:300,
gC:301,MC:302,PC:332,QC:333,RC:334,NC:335,SC:336,VC:337,TC:338,OC:350,pG:303,rG:304,mI:305,pL:306,AG:339,cM:307,ED:308,mM:309,lG:310,eE:311,nL:312,lL:313,qG:314,cG:315,FD:316,uF:317,vC:318,SA:319,HI:320,NI:321,WN:322,hG:323,yH:324,tH:325,TA:326,qL:327,uL:328,rL:329,xH:330,vH:331,oC:340,pC:341,nC:342,EF:343,sJ:344,rJ:345,rM:346,fE:347,qM:348,kO:349,WL:351,JN:352};var TV=function(a,b,c,d,e){KM.call(this);var f=this;this.u=jg("realtime.media.session.SessionManager");this.N=a;this.Ma=b;this.D=this.Ma.j;this.o=new WQ("realtime.media.session.SessionManager");this.s=new gN(this);this.T(this.s);this.Ca=e;this.Oa=this.xa=this.l=null;this.H="INITIAL";this.W=null;this.qb=new eL(this);this.rb=this.qb.signal();this.j=new Map;Fc(qfa,function(g){f.j.set(g,new Set)});this.hb=zt();this.h=new Set;this.ea=new Map;this.g=null;this.G=new WR;this.Y=new MP;this.Ec=c;this.Jb=d;
this.m=[];this.sa=null;this.gb=[];MQ(this,{sessionManagerState:function(){return f.getState()},sessions:function(){return Array.from(f.h,function(g){return g.Ba()})}});this.fc=zt();this.Pa=new Set;this.Na=this.ja=null;this.fa=new cL(a);this.qa=xK(a,ZK);this.bb=new SV(this.qa.then());this.K=new wQ;this.oa=null;this.Eb=new eL(this);this.hc=this.Eb.signal();this.wb=new eL(this);this.tc=gL(this.wb);this.Aa=!1;this.oc=CQ(zQ("nlZjzc"))};t(TV,KM);TV.prototype.ba=function(){this.h.forEach(Ss);KM.prototype.ba.call(this)};
TV.prototype.getState=function(){return this.H};
var gka=l(["SessionManager changed state from "," to ",""]),UV=function(a,b,c,d){b!=a.H&&(a.o.info(gka,a.H,b),a.H=b,a.O(new oQ(b,c,d)))},hka=l(["Failed to create the cloud session."]),kka=function(a,b,c){if("INITIAL"!=a.getState())return!1;var d=b.tg()&&tf&&hq(73)&&!CQ(zQ("Qb5Zab"))&&!0;b=b.la();b.kk=d;d=b.yj&&b.tg()&&!CQ(zQ("b3GUjf"));b=b.la();b.yj=d;d=b.rg||CQ(zQ("r2N8Gc"));b=b.la();b.rg=d;d=b.hm||CQ(zQ("Jd3rO"));b=b.la();b.hm=d;d=b.ik&&!CQ(zQ("n0TZ4"));b=b.la();b.ik=d;d=tf&&hq(75)?b.lh:0;b=b.la();
b.lh=d;d=DQ(zQ("tvRQLd"),-1);b=b.la();b.Lj=0<=d;b.Lj&&(b=b.la(),b.Hg=d);b.Ie&&"low"!==b.Ie||b.De&&"low"!==b.De||!CQ(zQ("Yp6mEf"))||(b=dS(cS(b,"high"),"high"));b.rg&&a.fa.logImpression(5455);IQ&&(d=IQ,void 0!==d.h&&(d=!d.h,b=b.la(),b.Lm=d));a.W=c;c=b;a.o.info(ika,Vs(c.Ba()));a.G=c;a.g=VV(a);if(null==a.g)return a.o.pa(hka),a.stop(16,"Failed to create cloud session."),!1;jka(a,b);UV(a,"STARTING");return!0},lka=l(["Connecting to hangoutId: ",", with participantId: "," and sessionLogData: ",""]);
TV.prototype.connect=function(a,b,c){if("STARTING"!=this.getState()&&"INPROGRESS"!=this.getState())return!1;this.l=a;this.xa=b;this.Oa=c;this.o.info(lka,a,b,c);this.fc.resolve(this.l);jc(WV(this),XV(this),YV(this)).forEach(function(d){d.Ai(a,b,c)});return!0};
var ika=l(["Updating default options to: ",""]),nka=function(a,b,c){c.dc()?(a=new TO("call/"+c.dc(),mka,"collections"),b=b.la(),b.l.set(a.Jf(),a)):mg(a.u,"Collections' push channel not added. ClientResource not available");return b},$V=function(a){var b=WV(a);if(0<b.length)return b;b=YV(a);return 0<b.length?b:ZV(a)},oka=function(a){var b=[];$V(a).forEach(function(c){lc(b,Object.values(c.u))});return b},aW=function(a){var b=[];$V(a).forEach(function(c){lc(b,c.l)});return b},pka=function(a){var b=$V(a);
b=0<b.length&&b.every(function(c){return c.hf});b!=a.Aa&&a.Eb.R(a.hc,b);a.Aa=b},bW=function(a,b){a.h.forEach(function(c){c.j.Ke||(c.j=ZR(c.j,b),c.j.Cf&&nV(c.g))});a.G=ZR(a.G,b)},cW=function(a){a.G.Cf||(a.h.forEach(function(b){b.j.Cf||(b.j=$R(b.j),b.j.Ke&&nV(b.g))}),a.G=$R(a.G))},qka=l(["Adding capture: ",""]),ska=function(a,b){a.o.info(qka,Vs(b.Ba()));var c=dW(a).map(function(d){return rV(d,b)}).every(function(d){return d})||"sc"==b.g.getContent();c?a.m.push(b):rka(a,b);return c},rka=function(a,b){dW(a).map(function(c){a:{switch(c.getState()){case "STOPPED":case "FINISHED":c.o.L(Via);
c=!1;break a}if(c.rb){var d=b.g;"sc"==d.getContent()?NS(c.h):"v"==d.Ra&&lN(c.s,d,"H",c.qf);lN(c.s,b,"O",c.lf);var e=c.g;switch(e.j){case "STOPPED":e.o.L(tka)}var f=e.g;f.o.info(uka,b);var g=eW(b,f.g);f.Aa.delete(b);lN(f.l,b,"Q",f.Dc);f.rc&&lN(f.l,b,"O",f.pd);if(f.Oa){var h=f.Oa;b===h.h&&null!==b&&lN(h,b,fW,h.m)}"d"!=b.ga()&&(gW(f,g),hW(f,null,b));b.xa(e.h);e.s.delete(b);if(e=c.u[CV(d)])delete c.u[CV(d)],c.O(new iQ([],[e.getInfo()])),aha(c.h,e.getInfo());c=!0}else c=fc(c.hb,b)}return c}).every(function(c){return c})&&
fc(a.m,b)},vka=function(a,b){a.sa=b&&b.size?new Map(b):null;a.h.forEach(function(c){return c.g.yl(a.sa)})},wka=function(a,b){a.ja=b;a.O("ea")},xka=l(["No active session to get stream from to render source: ",""]),yka=l(["Using stream: "," from "," to render source: ",""]),zka=l(["Unable to find stream to use to render source: ",""]);
TV.prototype.za=function(a,b){var c=this.ja&&this.ja(a);if(c)return c;c=jc(WV(this),YV(this),ZV(this));if(null!=b){for(var d,e=n(this.h),f=e.next();!f.done;f=e.next())if(f=f.value,f.tb()==b){d=f;break}d&&c.unshift(d)}if(0==c.length)return this.o.info(xka,a),null;for(b=0;b<c.length;b++)if(d=c[b],e=d.za(a),null!=e)return this.o.g(yka,e.getInfo(),d.tb(),a),e;this.o.L(zka,a);return null};TV.prototype.Af=function(a){jc(ZV(this),YV(this),WV(this)).forEach(function(b){b.Af(a)})};
var Aka=function(a,b){a.h.forEach(function(c){FV(c,b)});a.gb=b},Bka=l(["Stopping video call because stop called with endCause: ",""]);TV.prototype.stop=function(a,b){this.o.info(Bka,a);if("INITIAL"==this.getState()||"STOPPED"==this.getState()||"FINISHED"==this.getState())return!1;this.bb.l.resolve();UV(this,"STOPPED",a,b);this.h.forEach(function(c){c.stop(a,b)});return!0};
var Cka=l(["Did not create cloud session."]),Dka=l(["Local session initialize failed to create local offer."]),Eka=l(["Local session initialize completed."]),Fka=l(["Failed to create session."]),Gka=l(["Failed to initialize session"]),VV=function(a){var b=IQ&&IQ.j?rt(IQ.j):rt(null),c=a.G,d=Hka(a,c);if(null==d)return a.o.L(Cka),null;Ika(d.g).then(d.jj,null,d).then(function(e){if(e){a.o.info(Eka);e=nka(a,e,c);c.Ze||(e=FP(e,e.ya.Tg([Jka])));var f=ffa(a.Y,e,c.Qe(),c.dc(),c.nA,c.ej,c.Qi());e=Xfa();null!=
e&&U(f,20,e);P(f,22,a.oc);IQ&&IQ.s&&P(f,24,!0);c.Mk()&&d.g.Bm()&&(a.fa.logImpression(4355),P(f,9,!0),P(f,11,1));xQ(a.K,878);a.qa.then(function(g){return LS(g,yQ(a.K))});Dt(b.then(function(g){g&&P(f,19,g)}).then(function(){return a.W.add(f)}).then(function(g){null!=M(g,17)&&null!=M(g,21)&&a.wb.R(a.tc,N(g.Qi(),1,0)===M(g,21));var h=PP(a.Y,g);null==h?(a.fa.logImpression(3947),d.stop(16,"Error parsing session proto.")):iW(a,d,h);return g}),function(g){g instanceof HR&&a.fa.logImpression(3945);var h="Failed to create session. Error: "+
g;ZQ(a.o,g).L(Fka);a.fa.logImpression(3949,{cc:h});h.includes("Malformed RTCIceServer")&&a.fa.logImpression(4264);d.stop("transport_unavailable"==g.Cd?108:16,h);throw g;})}else a.o.pa(Dka),a.fa.logImpression(3942),d.stop(16,"Local session initialize failed to create local offer.")},function(e){ZQ(a.o,e).L(Gka);var f="Failed to initialize session. Error: "+(e instanceof Error?"Error { "+Kf(e)+" }":Lf(e));a.fa.logImpression(3943,{sessionId:d.h.g||void 0,cc:f});d.stop(109,f);throw e;});d.g.wq()&&(a.Pa.add(d),
Kka(a));d.qb.j.attach(function(){pka(a)});return d},Nka=function(a,b){var c=a.D.xh();c&&(b=b.la(),b.Gh=c);if(c=a.D.yh()){var d=b.la();b.Gh&&(c=Math.max(b.Gh,c));d.el=c;b=d}c=a.D.Ah();b=b.la();b.Mg=c;c=Lka(a.Ma,a.N,b);c.yl(a.sa);d=b;var e=CQ(zQ("M3bN6b"));var f=N(R(a.D.g,yL,13),1,3E4);e=new JR(a.W,a.D.j,{eA:f,pA:e});d=new CS(a.N,a.D,e,{wu:d.Li,Kc:a.Ca});e=Mka(a,b);return new oV(a.N,a.Ma,e,d,c,b,a.Ca)},Mka=function(a,b){var c=hR(a.D,a.Ca);return new eS(function(d,e){return gR(c,d,e)},a.D.dc(),tea(a.D),
b)},Hka=function(a,b){b=Nka(a,b);if(null==b)return null;a.h.add(b);a.j.get(b.getState()).add(b);a.ea.set(b.tb(),b.getState());b.sa=a.Jb;b.s.listen(b.sa,"Ia",b.ah);b.qa=a.Ec;b.s.listen(b.qa,"Ia",b.bh);FV(b,a.gb);a.oa&&sS(b.Ma,a.oa);kV(a.qb,a.rb,b.kf);a.s.listen(b,["Ea","$","ea","Z"],a.O);a.s.listen(b.g,FR,function(c){return a.O(c)});a.s.listen(b.h,uS,function(c){return a.O(c)});a.s.listen(b,"ga",a.rc);a.s.listen(b,"Y",a.pc);a.s.listen(b,"W",a.qc);a.s.listen(b.g,FR,a.Cc);a.s.listen(b,"X",a.Bc);return b},
Oka=function(a,b,c){b.start(c);a.m.forEach(function(d){rV(b,d)})},dW=function(a){return jc(Array.from(a.j.get("INITIAL")),ZV(a),YV(a),XV(a),WV(a))},XV=function(a){return Array.from(a.j.get("PAUSED"))},WV=function(a){return Array.from(a.j.get("INPROGRESS"))},YV=function(a){return Array.from(a.j.get("STARTED"))},ZV=function(a){return Array.from(a.j.get("STARTING"))};TV.prototype.qc=function(a){iW(this,a.h,a.sessionDescription)};
var Pka=l(["Received remote description for session "," with sufficient data to allow session preparation."]),Qka=l(["Received remote description for session "," with sufficient data to allow starting the session."]),iW=function(a,b,c){var d=b.getState(),e=0!=kc(c.h).length;var f=!1;var g=c.g;g&&null!=g.g&&(f=2==g.g.split(" ").length);f=e!=f;e=c.g;g=null!=e&&null!=e.j&&null!=e.h&&0<kc(e.l).length;e=f&&"INITIAL"==d;f=f&&g&&("INITIAL"==d||"STARTING"==d);d="INITIAL"!=d&&"STARTING"!=d;g=c.j;null!=g&&
vV(b,g);e&&(a.o.info(Pka,BS(b.h)),tV(b));if(f)a.o.info(Qka,BS(b.h)),Oka(a,b,c);else if(d)a:{switch(b.getState()){case "INITIAL":case "STARTING":b.o.L(Mja);break a;case "STOPPED":case "FINISHED":b.o.L(Nja);break a}cfa(b.Na,c)||(b.Na.g.g!=c.g.g&&b.O(new lQ(c.j)),b.Na=GP(c,c.ab),b.o.info(Oja,Vs(c.Ba())),a=xV(c),0<a.length&&yV(b.g.g,a),c=MV(b,c),c=uV(b,c),b.m=IP(HP(b.m,c.g),kc(c.h)),a=b.m,(d=a.ya)?d=yP(d,c.ya):d=c.ya,(e=a.ra)?e=yP(e,c.ra):e=c.ra,a=CP(FP(a,d),e),b.m=a,a=b.m.ya,null!=a&&(b.oa=jP(a),b.O(new jQ(b.oa))),
null==a&&null==b.m.ra||b.g.update(b.m,[]))}};TV.prototype.Cc=function(a){dka(this.bb,a.message)};TV.prototype.Bc=function(){var a=this.g;jW(this,a,a,7)};
TV.prototype.pc=function(a){var b=this;switch(this.getState()){case "INITIAL":mg(this.u,"Received local candidates before starting.");return;case "STOPPED":case "FINISHED":mg(this.u,"Received local candidates after end.");return}var c=a.target,d=a.g.map(function(g){g=b.Y.h(g);P(g,9,void 0);return g});if(!(1>d.length)){var e=new pC;Nl(e,6,d);if(d=c.g.g.localDescription.g)if(P(e,4,d.j),P(e,5,d.h),d.g){var f=new qC;P(f,1,d.g.split(" ")[0]);P(f,2,d.g.split(" ")[1]);U(e,2,f)}d=kc(c.g.g.localDescription.h).map(function(g){return b.Y.Qn(g)});
c=new uC;P(c,1,4);U(c,2,e);Nl(c,4,d);e=new zC;e.l(a.sessionId);QC(e,[c]);this.W.j(e)}};
TV.prototype.rc=function(a){var b=a.target,c=this.ea.get(b.tb()),d=b.getState();if(c!=d){this.ea.set(b.tb(),d);this.j.get(c).delete(b);this.j.get(d).add(b);"INPROGRESS"==d&&this.hb.resolve(b);switch(d){case "STARTED":Rka(this,b);break;case "INPROGRESS":Ska(this,b);break;case "STOPPED":Tka(this,b,a.Rb,a.g);break;case "FINISHED":this.j.get(b.getState()).delete(b),this.ea.delete(b.tb()),this.h.delete(b),this.Pa.delete(b),Ss(b),this.h.size==this.j.get("FINISHED").size&&("STOPPED"!=this.H?mg(this.u,"Session Manager finished before stopping."):
UV(this,"FINISHED"))}this.O(a)}};
var Rka=function(a,b){null!=a.l&&null!=a.xa&&null!=a.Oa&&(b.Ai(a.l,a.xa,a.Oa),WV(a).filter(function(c){return c!=b}).forEach(function(c){jW(a,c,b)}))},Ska=function(a,b){if("INITIAL"==a.getState()||"STOPPED"==a.getState()||"FINISHED"==a.getState())lg(a.u,"Should not have new active sessions now.");else{"STARTING"==a.getState()&&UV(a,"INPROGRESS");Zja(b,a.G.mh);var c=b.tb();WV(a).filter(function(d){return c!=d.tb()}).forEach(function(d){d.pause()})}},Uka=l(["Cloud session "," to cloud handoff failed"]),
Vka=l(["All sessions now stopped."]),Tka=function(a,b,c,d){a.m.forEach(function(f){f.xa(b.tb())});if(26==c)c=a.g,a.g=VV(a),c&&(a.g?jW(a,c,a.g,6):a.o.pa(Uka,c.h.g));else{var e=a.j.get("STOPPED").size+a.j.get("FINISHED").size;a.h.size===e?"STOPPED"!==a.H&&(a.o.info(Vka),a.stop(c,d)):0==WV(a).length&&XV(a).forEach(function(f){f.resume();jW(a,b,f)})}},jW=function(a,b,c,d){d=void 0===d?6:d;var e=Y().g;c.g.Mq();var f=c.g.to();if(f){var g=d;f.then(function(){var h=Y().g;7==d&&(xQ(a.K,29,e),xQ(a.K,30,h),
a.qa.then(function(m){return LS(m,yQ(a.K))}));kW(a,b,c,h-e,g)},function(){kW(a,b,c,null,g)})}},Wka=l(["Upload log failed during handoff"]),Xka=l(["Cloud to cloud handoff took: "," ms"]),Yka=l(["Cloud to cloud DTLS handoff took: "," ms"]),kW=function(a,b,c,d,e){var f=Vaa(Uaa(Taa(P(Saa(new jH,e),2,0),b.h.g),c.h.g),d);f=fba(f);Dt(gS(b.H,f,b.tb()),function(g){ZQ(a.o,g).L(Wka)});6==e?(a.o.info(Xka,d),a.fa.logImpression(null===d?4653:4652,{sessionId:c.h.g||void 0})):7==e&&(a.o.info(Yka,d),a.fa.logImpression(null===
d?5589:5588,{sessionId:c.h.g||void 0}))},Kka=function(a){a.Na||(a.Na=RV.Tb(),a.s.listen(a.Na,"Ja",a.Dc))},Zka=l(["SleepWatcher fired. Waiting 3 seconds to determine if media is live."]),$ka=l(["SleepWatcher fired but session is still live. Not suspending."]),ala=l(["Suspend triggered by SleepWatcher, effecting "," session(s)."]);
TV.prototype.Dc=function(){var a=this,b=new Set(this.Pa);0===b.size?og(this.u,"SleepWatcher suspend ignored. No effected sessions."):(this.o.info(Zka),Qv(3E3).then(function(){a.g.Xo()?(a.o.info($ka),a.fa.logImpression(4588),a.O("ca")):(a.o.L(ala,b.size),a.fa.logImpression(2056),bla(a,b),a.O("da"))}))};
var bla=function(a,b){var c=a.m.concat().filter(function(d){return"v"===d.ga()});og(a.u,"Muting "+c.length+" video capture(s).");c.forEach(function(d){return lW(d)});Qv(2E3).then(function(){b.forEach(function(d){switch(a.getState()){case "STOPPED":case "FINISHED":og(a.u,"Suspend ignored for finished/stopped session. "+d);return}og(a.u,"Ending session due to SleepWatcher trigger. "+d);a.stop(112,"JS was suspended for too long.")})})},jka=function(a,b){var c=a.g;c&&c.g.Bm()&&b.Mk()?xK(a.N,iR).then(function(d){cla(d);
a.fa.logImpression(4899)},function(){return a.fa.logImpression(4900)}):a.fa.logImpression(4900)};aP(new $O,"a").ia();var Jka=fP(aP(new $O,"a"),!1).ia();hP(gP(aP(new $O,"v"),jR),30).ia();hP(gP(aP(new $O,"v"),lR),30).ia();var mka=1;var mW=function(a,b,c,d,e){dQ.call(this);var f=this;this.H=new MP;this.h=a;this.G=b;this.D=e;this.g=new Map;this.l=new YP;this.l.F=this;this.u=new gN(this);this.T(this.u);this.G.onChange.attach(function(){return f.m()},this);this.u.listen(this.D,["ea","ga"],this.m);d.forEach(this.j,this)};t(mW,dQ);var dla=function(a,b,c,d,e){return new mW(a,b,c,d,e)};mW.prototype.j=function(a){""==a.Z()&&(a.j=this.h);this.l.add(a)};mW.prototype.Kf=function(a){return a==this.h?this.l:this.g.get(a)||null};
mW.prototype.s=function(a){var b=this,c=new Set;a.forEach(function(d){if(d!=b.h&&(c.add(d),!b.g.has(d))){var e=new YP;e.F=b;b.g.set(d,e);b.O(new cQ("T",d,e))}});this.g.forEach(function(d,e){c.has(e)||b.g.delete(e)&&b.O(new cQ("U",e,d))});this.m()};
mW.prototype.m=function(){var a=this,b=new Set;this.G.get().forEach(function(c){var d=c.Z();if(d&&(d=a.g.get(d))){var e=a.H,f=c.Z();var g=c.Ea();var h=RP(c.ga()),m="un";if(null!=R(c,ZC,7)){a:{var q=M(R(c,ZC,7),1);switch(q){case 1:m="ca";break a;case 2:m="sc";break a}mg(LP,"Unknown capture type: "+q);m="un"}q=OP(S(R(c,ZC,7),$C,3),e.D,e)||void 0}if(null!=R(c,aD,8)){var r=Cl(R(c,aD,8),2);r="number"===typeof r?r:void 0}var z=R(c,WC,5)&&R(c,WC,5).Hc()?"mu":"li";e=null;null!=f&&null!=g&&null!=h&&(e=qO({xj:f,
id:g,mediaType:h,content:m,state:z,vq:r,Pr:q}));null!=R(c,WC,5)&&(f=R(c,WC,5),M(f,2));null!=R(c,XC,6)&&M(R(c,XC,6),1);if(g=e)(f=ZP(d,g.Ra,g.getId(),g.Z()))?(oO(f,g.getContent()),d=g.Qf,f.Qf!=d&&(f.Qf=d,f.O("I")),pO(f,g.getState()),d=g.ie&&kc(g.ie),lO(f,d)&&f.O("K")):d.add(g)}b.add(nW(c.Z(),c.Ea()))});aW(this.D).forEach(function(c){var d=c.Z(),e=c.Ea();if(d!=a.h&&!b.has(d+"/"+e)){c=c.getInfo().ga();var f=a.g.get(d);null==f||ZP(f,c,e,d)||f.add(qO({xj:d,id:e,mediaType:c}));b.add(d+"/"+e)}});this.g.forEach(function(c){Array.from(c.g).forEach(function(d){b.has(nW(d.Z(),
d.getId()))||c.remove(d)})})};var nW=function(a,b){return a+"/"+b};var oW=new bK("y89nuf","Z6rzZb",[iR]),ela=new bK("zTvcgf","C9jSBe"),fla=new bK("L6b6Xe","BezZ2c");var gla={BI:0,mE:1,lE:2,tJ:3,LM:4,KM:5,JM:6,SUCCESS:7},hla=[4,5,6,7];Object.freeze({Qt:!0,rA:!0});Object.freeze({Qt:!1,rA:!1});var pW=function(a){this.C=a.C;this.D=a.D;this.u=a.u;this.m=a.m;this.s=a.s;this.H=a.K;this.F=a.F;this.G=a.H;this.K=a.V;this.h=a.h;this.l=a.l;this.g=a.g;this.j=a.j;this.V=a.G};
pW.prototype.toString=function(){return"AudioConfig(deviceId="+this.g+", updateDeviceId="+(this.l+", useAecDelayCorrection=")+(this.C+", useInternalAgc=")+(this.D+", useDucking=")+(this.u+", useAec=")+(this.m+", useAgc=")+(this.s+", useNoiseSuppression=")+(this.H+", useHighpassFilter=")+(this.F+", useMirroring=")+(this.G+", useTransisentSuppression=")+(this.K+", disableWhitelistAec=")+(this.h+")treatAsScreencast=")+(this.j+")")};
pW.prototype.equals=function(a){return this===a?!0:null===a?!1:this.C===a.C&&this.D===a.D&&this.u===a.u&&this.m===a.m&&this.s===a.s&&this.H===a.H&&this.F===a.F&&this.G===a.G&&this.K===a.K&&this.h===a.h&&this.l===a.l&&this.g===a.g&&this.j===a.j&&this.V==a.V};pW.prototype.getDeviceId=function(){return this.g};var qW=function(){this.j=!1;this.D=this.C=!0;this.u=!1;this.l=this.h=this.V=this.H=this.F=this.K=this.s=this.m=!0;this.G=this.g=null};qW.prototype.ia=function(){return new pW(this)};(new qW).ia();var rW=function(a){this.id=a.Va;this.displayName=a.g;this.groupId=a.C;this.g=a.h;this.isSelected=a.l};rW.prototype.toJson=function(){return{id:this.id,displayName:this.displayName,groupId:this.groupId,fullName:this.g,isSelected:this.isSelected}};rW.prototype.toString=function(){return"Device(id="+this.id+", displayName="+this.displayName+", groupId="+this.groupId+", fullName="+this.g+", isSelected="+this.isSelected+")"};var sW=function(){this.Va=null;this.h=this.C=this.g="";this.l=!1};
sW.prototype.ia=function(){return new rW(this)};var tW=function(a){var b=new sW;b.Va=a;return b};sW.prototype.j=function(a){this.C=a;return this};var uW=tW("__absent_device__");uW.g="__absent_device__";var vW=uW.j("__absent_device__");vW.h="__absent_device__";var ila=vW.ia();var wW=function(){KM.call(this);var a=this;this.h=0;this.s=new eL(this);this.u=gL(this.s);this.g=this.m=null;this.j=new gN(this);this.T(this.j);this.l=new gN(this);this.T(this.l);MQ(this,{participantAudioMonitor:function(){return{participantId:a.g&&a.g.Z(),lastVolumeChangedValue:a.h,lastVolumeChangedTime:a.m}}},!1)};t(wW,KM);wW.prototype.ba=function(){Ss(this.g);KM.prototype.ba.call(this)};
var jla=function(a,b,c){null!=a.g&&a.g.matches(c,void 0,void 0)||(b=new lS(c,null,null,b.j,b.h),a.g!=b&&(c=a.g,a.g=b,a.j.removeAll(),null!=a.g&&a.j.listen(a.g,"I",a.Yx).listen(a.g,"ma",a.nz).listen(a.g,"ka",a.ay).listen(a.g,"la",a.rq),a.rq(),a.O("Oa"),null!=c&&Ss(c)))};k=wW.prototype;k.Yx=function(a){this.O(a)};k.nz=function(){this.O("Pa")};k.ay=function(){};k.rq=function(){this.l.removeAll();if(null!=this.g){var a=this.g.za();null!=a&&this.l.listen(a,"fa",this.sq)}this.sq()};k.sq=function(){this.O("Qa")};
var xW=function(a,b){a.O("Sa");b=Math.floor(5*b)/5;a.h!=b&&(a.h=b,a.m=Y().g,a.O("Ra"),a.s.R(a.u,{Pm:b}))};var yW=lR.clone();yW.width*=.75;yW.height*=.75;var zW=kR.clone();zW.width*=.75;zW.height*=.75;var AW=function(){this.g=[]},lla=function(a){return Tf(BW.g.map(function(b){return kla(b,a)}))},kla=function(a,b){b=void 0===b?function(c){return new c}:b;return a.ed?b(a.ed):a.instance},CW=function(){AW.apply(this,arguments)};t(CW,AW);var DW=function(a){this.m=a;this.ka=a.ka},mla=function(a){return lla(function(b){return new b(a)})};k=DW.prototype;k.jp=function(){return null};k.mj=function(){return null};k.hp=function(){return null};k.fp=function(){return null};k.gp=function(){return null};k.Yn=function(){return null};var BW=new CW;var EW=new bK("qb1U6e","ma",[SL,iR,aV]);var FW=function(a,b){if(0!==a.length){a=n(a);for(var c=a.next();!c.done;c=a.next())if(c=b(c.value),null!=c)return c}};var HW=function(a){KM.call(this);var b=this;this.ka=a;this.j=this.l=null;this.D=xK(a,$K);this.m=xK(a,RM,!0).then(function(c){b.j=c;GW(b,6273);return c},function(c){GW(b,6274);throw c;});this.s=0;this.u=zt();wt([this.m,this.u.promise]);this.h=null;this.g=mla(this);GW(this,6661)};t(HW,KM);
var nla=function(a){wK(a,EW)||FK(a,EW,function(b){return new HW(b)})},ola=function(a){null==a.h&&(a.h=wt([FW(a.g,function(b){return b.jp()})||7,a.m]).then(function(b){return b[0]}),a.h.then(function(b){b!=a.s&&"number"===typeof b&&Nc(gla,b)&&(a.s=b,a.O("bb"))},function(){return a.h=null}));return a.h},Fia=function(a){return FW(a.g,function(b){return b.hp()})||null},pla=function(a){a.l||(a.l=FW(a.g,function(b){return b.Yn()}));return a.l},Lka=function(a,b,c){var d="c"+Math.round(2147483648*Math.random())+
Math.round(2147483648*Math.random())+"_NMS";return FW(a.g,function(e){return e.fp(b,d,c)})},qla=function(a){return FW(a.g,function(b){return b.gp()})},GW=function(a,b){a.D.then(function(c){c.logImpression(b)})};cK(EW,HW);var sla=rla();
function rla(){var a=Sc({eO:0,qO:1,xC:2,uC:25,AF:13,zF:3,DF:14,cI:4,lB:15,oH:16,nH:5,wE:17,zE:6,sE:7,iL:8,hL:31,yE:9,rB:10,nB:11,oB:12,pB:26,qB:27,sB:28,BO:18,AO:19,RE:20,TE:21,SE:22,UE:23,wC:24,dD:29,cD:30,oJ:100,mJ:101,nJ:102,fM:103,dM:104,eM:105,pM:106,nM:107,oM:108,IM:109,GM:110,HM:111,qC:112,lC:113,mC:114,bH:200,eH:201,fH:202,cH:203,gH:204,dH:205,fB:300,eB:301,gF:302,fF:303,LL:304,KL:305,aH:306,ZG:307,uB:308,tB:309,TJ:310,SJ:311,WI:312,UI:313,VI:314,aI:315,ZH:316,SD:317,RD:318,bF:319,aF:320,
TL:321,QL:322,SL:323,RL:324,sI:325,rI:326,XJ:327,WJ:328,JL:329,EL:330,FL:331,GL:332,HL:333,IL:334,FE:335,EE:336,uD:337,tD:338,yD:339,vD:340,QE:341,PE:342,vE:343,uE:344,tE:345,xD:346,wD:347,gB:348,hC:349,fD:350,jE:351,NF:352,wL:353,xL:354,MM:355,iF:356,hF:357,dF:358,cF:359,MF:360,KF:361,JF:362,LF:363,JC:364,HC:365,IC:366,PH:400,OH:401,xO:500,wO:501,uO:502,vO:503,OD:600,MD:601,ND:602,DK:603,BK:604,CK:605,ID:606,GD:607,HD:608,BH:609,zH:610,AH:611,eL:700,gL:701,fL:702,dL:703,NK:704,MK:705,SK:706,RK:707,
cL:708,TK:709,JK:710,LK:711,KK:712,ZK:713,YK:714,XK:715,WK:716,VK:717,UK:718,QK:719,PK:720,bL:721,aL:722,IK:723,HK:724,sH:801,gG:884,DG:894,HG:802,BG:885,CG:886,GG:803,JG:899,IG:1700,FG:1719,EG:1720,TF:887,VF:888,UF:889,SF:890,fG:804,mF:805,lF:806,KH:807,NH:891,JH:892,MH:893,LH:883,xE:808,AE:809,rH:810,uM:811,yC:812,wM:813,RH:814,vM:815,mH:816,AK:817,IH:818,zD:819,HH:820,cK:821,dK:822,aK:823,bK:824,fK:825,hK:832,gK:833,eK:826,iK:827,kK:863,jK:864,lK:828,mK:829,XH:830,WH:831,KA:834,JA:835,DM:836,BM:837,
AM:838,FM:839,ZC:840,aD:841,UC:842,YC:843,XC:844,WC:845,OB:846,NB:847,VB:848,JB:849,LB:865,KB:866,MB:850,RB:851,TB:867,SB:868,UB:852,XB:853,WB:854,YB:855,fC:856,cC:869,bC:870,eC:879,dC:880,ZB:871,aC:872,QB:857,PB:858,pJ:859,qJ:860,QA:861,PA:862,UG:873,QG:874,TG:875,SG:895,dB:876,cB:877,lH:878,tC:881,sC:882,VA:896,WA:897,UA:898,KD:1701,LD:1702,JD:1703,ZI:1704,aJ:1705,YI:1706,XI:1707,OO:1708,NO:1709,GB:1710,yB:1711,zB:1712,AB:1713,BB:1714,DB:1715,CB:1716,FB:1717,EB:1718,OG:1800,UM:900,TM:901,WM:902,
VM:903,SM:904,RM:905,iN:1E3,oN:1001,nN:1002,cN:1003,bN:1004,mN:1012,lN:1013,hN:1005,kN:1006,jN:1007,gN:1008,fN:1009,eN:1010,dN:1011,RO:1100,TO:1101,SO:1102,QO:1103,PO:1104,nK:1200,pK:1201,oK:1202,rN:1300,vN:1301,uN:1302,BN:1303,AN:1304,wN:1305,xN:1306,yN:1307,zN:1308,tN:1309,sN:1310,CN:1311,PM:1400,NM:1401,OM:1402,qF:1500,pF:1501,rF:1502,sF:1503,oF:1504,nF:1505,CO:1600,EO:1601,DO:1602,FO:1603});return function(b){return a[b]}};function IW(a){return(a.pl?"\ud83d\udc4e":"\ud83d\udc4d")+" "+a.timestamp+" "+sla(a.id)};var JW=jg("realtime.analytics.markrecord.MarkRecorder"),KW=function(a,b){V.call(this);this.j=a;this.h=new eL(this);this.g=new Map;this.l=this.h.signal();b&&b.T(this)};t(KW,V);k=KW.prototype;k.attach=function(a,b){for(var c=n([].concat(p(this.g.values()))),d=c.next();!d.done;d=c.next())a(d.value);this.l.attach(a,b)};k.Ph=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];this.mx.apply(this,[void 0].concat(p(b)))};
k.mx=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];a=void 0===a?Y():a;c=n(c);for(d=c.next();!d.done;d=c.next())LW(this,{id:d.value,timestamp:a,pl:!1})};k.pl=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];this.yx.apply(this,[void 0].concat(p(b)))};k.yx=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];a=void 0===a?Y():a;c=n(c);for(d=c.next();!d.done;d=c.next())LW(this,{id:d.value,timestamp:a,pl:!0})};
var LW=function(a,b){if(a.C())lg(JW,IW(b)+" from "+a.j+" when disposed");else{var c=!a.g.has(b.id);og(JW,IW(b)+" from "+a.j+" "+(c?"\u2714\ufe0f":"\u2716\ufe0f"));c&&(a.g.set(b.id,b),a.h.R(a.l,b))}};var MW=function(a){L(this,a,0,-1,null,null)};w(MW,J);var NW=function(a,b){this.g=a;this.Im=b;this.h=new WQ("google3.javascript.apps.realtime.media.a.concrete_media_sessions_client")};NW.prototype.add=function(a){var b=this,c=this.Im,d={};c&&(d["X-Goog-Meeting-Identifier"]=tla(c));c=new SC;c.setRequestHeader(this.g.g());TC(c,[a]);return Dt(this.g.makeRequest("media_sessions/add",c,bE,{},null,d).then(function(e){return IR(S(e,zC,4))}),function(e){b.h.pa(OW,"add",e);throw e;})};
NW.prototype.j=function(a){var b=this,c=new tH;c.setRequestHeader(this.g.g());uH(c,[a]);Dt(this.g.makeRequest("media_sessions/modify",c,vH).then(function(d){return S(d,zC,4)}),function(d){b.h.pa(OW,"modify",d);throw d;})};var ula=l(["The requested resource was not found. ",""]);
NW.prototype.query=function(a,b){var c=this,d=new UC;d.setRequestHeader(this.g.g());P(d,2,a);null!==b&&(a=Yl(new Wl,b),d.J(a));return Dt(Dt(this.g.makeRequest("media_sessions/query",d,cE,{Uf:3E3,qx:8}).then(function(e){var f=e.X().vb();return{session:R(e,zC,2),version:f}}),function(e){if("fatal"===e.status&&"not_found"===e.Cd)throw c.h.pa(ula,Mf(e)),new cR("",11);throw Error(e.toString());}),function(e){c.h.pa(OW,"query",e);throw e;})};
var OW=l(["remote session rpc failed, operation: ",", error: ",""]),tla=function(a){var b=new MW;b=Il(b,1,2);a=Q(b,2,a);b=new Zk;var c=N(a,1,0);0!==c&&G(b,1,c);c=N(a,2,"");0<c.length&&H(b,2,c);a=cl(b);return Xk(a)};var PW=new bK("uuTheb",me()?"Z5j79c":"SFhYHb");var QW=new bK("PyB2Cf","zYiFGf"),RW=new bK("eLo6Uc","hioBjc");var SW=new bK("ENyb7");var TW=function(){V.call(this);this.h=new eL(this);this.Uc=this.h.signal()};t(TW,V);TW.prototype.Z=function(){return null};var UW=function(a){TW.call(this,a);this.g=new gN(this);this.T(this.g)};t(UW,TW);UW.prototype.Z=function(){return TW.prototype.Z.call(this)};var VW=function(){this.g=0;this.h=zt();this.j=null};VW.prototype.then=function(a,b,c){return this.h.promise.then(a,b,c)};var WW=function(a,b){return Ct(a.h.promise,b,void 0)};VW.prototype.get=function(){return this.j};var XW=function(a){return 2==a.g};jt(VW);var YW=function(){this.g=new VW};YW.prototype.resolve=function(a){var b=this;0==this.g.g&&(this.g.h.resolve(a),kt(a)?(a.then(function(c){return ZW(b,c)},function(){return ZW(b,null)}),this.g.g=1):ZW(this,a))};
var ZW=function(a,b){a.g.g=2;a.g.j=b};YW.prototype.reject=function(a){0==this.g.g&&(this.g.g=2,this.g.h.reject(a))};var aX=function(){V.call(this);var a=this;this.h=[];this.g=new $W(function(b){return vla(a,b)});this.T(this.g)};t(aX,V);var vla=function(a,b){return a.h.reduce(function(c,d){d=d.filter;return d(c)},b)},$W=function(a){hV.call(this);this.l=a;this.h=[];this.g=!1};t($W,hV);var HV=function(a,b){a.h=kc(b);a.g||(a.g=!0,ht(a.j,a))};$W.prototype.j=function(){this.g=!1;var a=this.l(this.h);this.O(new iV(a))};var bX=new bK("zlvswc","DWfIKf");var cX=function(a,b){this.g=a;this.query=b};cX.prototype.add=function(a){return this.g.add(a).then(IR)};cX.prototype.j=function(a){zN(this.g,a)};var dX=function(a,b){for(var c in a){var d=n(a[c]),e=d.next().value;d=d.next().value;if(e<b&&b<=d)return c}return null},eX=function(a,b,c){this.m=Math.min(0,a);this.u=Math.max(0,a);this.l=this.C;this.s=void 0===b?1:b;this.g=void 0===c?2:c;this.j=new HM(this.g);this.h=0};eX.prototype.add=function(a){var b=this.j.add(a);this.l(a)&&(this.h+=1);void 0!=b&&this.l(b)&&--this.h};eX.prototype.C=function(a){return this.m<=a&&a<=this.u};
var fX=function(a){return a.j.wa()<a.g?!1:a.h/a.g>=a.s},gX=function(a){return a.j.wa()>=a.g},hX=function(a){this.h=new HM(a);this.l=a;this.j=this.g=0};hX.prototype.add=function(a){var b=this.h.add(a),c=this.h.wa();this.g+=a;b&&(this.g-=b);this.j=this.g/c};var wla=function(a){return a.h.wa()>=a.l};var iX=function(a,b,c,d){V.call(this);var e=this;this.M=c;this.fa=a;this.l=new Map;this.G=new eL(this);this.g=this.G.signal();this.u=0;this.F=new HM(300);d&&Rs(this,LQ(KQ.Tb(),d.name,function(){return d.fb.concat(xla(e))}));b.attach(function(f){var g=f.nd,h=f.data;f=f.sequenceNumber;1<f-e.u&&e.reset();h=e.Wa(h,g);null!==h&&(e.ap(h),e.u=f,e.xb(h),e.lb(h),e.Kj(h,g),e.G.R(e.g,h))},this)};t(iX,V);iX.prototype.logImpression=function(a,b){this.fa.logImpression(a,b)};
var jX=function(a,b,c,d){c!==a.l.get(b)&&a.logImpression(c,d);a.l.set(b,c)},kX=function(a,b,c){jX(a,"O0r3Gd",b,c)},lX=function(a){a.l.delete("O0r3Gd")},mX=function(a,b,c){jX(a,"jOfkMb",b,c)},nX=function(a){a.l.delete("jOfkMb")};k=iX.prototype;k.ap=function(a){pg(this.M,JSON.stringify(a))};k.reset=function(){};k.xb=function(){};k.Kj=function(a,b){0===this.u%this.Bh()&&this.F.add({data:a,nd:b})};k.Bh=function(){return 10};k.lb=function(){};
var yla=function(a){var b=Math.min(a.F.wa(),300);return JM(a.F,b)},xla=function(a){return yla(a).map(function(b){return[b.nd].concat(p(a.Xa(b.data)))})};var oX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.BandwidthEstimateMonitor");iX.call(this,a,b,c,{name:"recentAvailableSendBandwidth",fb:["Time Since Call Start","Required Send Bandwidth (kbps)","Available Send Bandwidth (kbps)"]});this.j=0;this.h=!1;this.m=Y()};t(oX,iX);
oX.prototype.Wa=function(a,b){var c=M(a[0],124)||0;c=Math.round(c/100)/10;a=M(a[0],40)||0;a=Math.round(a/100)/10;if(0>=c||0>=a)return null;this.j=this.j?.65*this.j+.35*a:a;var d=!1,e=!1,f=!1,g=Y();15>b?b=this.m=g:(d=this.j<c,f=!this.h&&d,b=this.h!==d?g:this.m,e=2E3<tQ(g,b));return{fm:c,Ki:a,cj:d,eb:b,kb:f,Ga:e}};oX.prototype.xb=function(a){var b=a.cj,c=a.kb;(a.Ga||c)&&mX(this,b?3747:3763)};oX.prototype.lb=function(a){var b=a.cj;a=a.eb;this.h!==b&&(this.h=b,this.m=a)};
oX.prototype.Xa=function(a){return[a.fm,a.Ki]};var pX=function(a,b,c){V.call(this);var d=this;this.g=new eL(this);this.onChange=this.g.signal();this.l=gL(this.g);c?this.j=c:(this.j=new oX(a,b),this.T(this.j));this.h=!1;this.j.g.attach(function(e){var f=e.cj,g=e.Ga,h=f&&!d.h;g=!f&&g&&d.h;e={fm:e.fm,Ki:e.Ki,cj:f};d.g.R(d.onChange,e);(h||g)&&d.g.R(d.l,e);h?d.h=!0:g&&(d.h=!1)},this)};t(pX,V);var qX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.he?!0:d.he;d=void 0===d.Ed?10:d.Ed;var e=jg("realtime.media.stats.emitters.monitors.AnqMonitor"),f={name:"anqScores",fb:["Time Since Call Start","Average ANQ Score"]};iX.call(this,a,b,e,c?f:void 0);this.j=new Map;this.h={jg:0,wi:"XhYBrd",nd:0};this.m=new eL(this);this.s=gL(this.m);this.D=d};t(qX,iX);
qX.prototype.Wa=function(a,b){var c=this,d=[];a.forEach(function(e){var f=Cl(e,207);if(null!=f&&(d.push(f),e=1===HG(e).length?M(HG(e)[0],3):null,null!==e)){c.j.has(e)||c.j.set(e,{Nh:{active:!1,startTime:0},Ch:{active:!1,startTime:0}});f=dX(rX,f);e=c.j.get(e);var g="AGpuT"===f;f="ElqWd"===f||g;g!==e.Ch.active&&(e.Ch.active=g,e.Ch.startTime=b);f!==e.Nh.active&&(e.Nh.active=f,e.Nh.startTime=b)}});zla(this,b);if(0===d.length)return null;a=Math.max.apply(Math,p(d));this.h.jg=0===this.h.nd?a:.7*a+this.h.jg*
(1-.7);this.h.nd=b;this.h.wi=dX(rX,this.h.jg);return{jg:this.h.jg,wi:this.h.wi,nd:b}};qX.prototype.Xa=function(a){return[a.jg]};qX.prototype.Bh=function(){return this.D};var zla=function(a,b){a.j.forEach(function(c,d){c.Nh.active&&60<b-c.Nh.startTime&&a.m.R(a.s,d);c.Ch.active&&30<b-c.Ch.startTime&&a.m.R(a.s,d)})},sX={},rX=(sX.XhYBrd=[-.1,.2],sX.ElqWd=[.2,.6],sX.AGpuT=[.6,1],sX);var tX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.he?!0:d.he;d=void 0===d.Ed?10:d.Ed;var e=jg("realtime.media.stats.emitters.monitors.RttMonitor"),f={name:"recentRTT",fb:["Time Since Call Start","Connection Round trip time (ms)","Audio Round trip time (ms)","Video Round trip time (ms)"]};iX.call(this,a,b,e,c?f:void 0);this.h=new Map([[1,0],[2,0]]);this.j=d};t(tX,iX);
tX.prototype.Wa=function(a){var b=this,c=FG(a).find(function(f){return!!(M(f,2)&1)}),d,e;EG(a).forEach(function(f){if(0==KG(f)){var g=JG(f),h=M(f,7);switch(g){case 1:h&&h==b.h.get(g)?d=-1:(d=M(f,6),b.h.set(g,h));break;case 2:h&&h==b.h.get(g)?e=-1:(e=M(f,6),b.h.set(g,h))}}});return{nu:c?M(c,3):-1,Kn:d,tA:e}};tX.prototype.Xa=function(a){return[a.nu,a.Kn,a.tA]};tX.prototype.Bh=function(){return this.j};var uX=function(a,b,c,d){V.call(this);var e=this;this.fa=a;this.s=d;this.s.g.attach(function(f){var g=Math.round(f.nd-e.F);e.F=f.nd;if("AGpuT"===f.wi){if(200>e.m){f=60<=e.g;e.g+=g;var h=60<=e.g;!f&&h&&e.fa.logImpression(5966)}else 60<=e.g&&e.fa.logImpression(5967),e.g=0;200<e.l?(f=60<=e.j,e.j+=g,h=60<=e.j,!f&&h&&e.fa.logImpression(5971)):(60<=e.j&&e.fa.logImpression(5972),e.j=0);200>e.m&&200<e.l?(f=30<=e.h,e.h+=g,g=30<=e.h,!f&&g&&e.fa.logImpression(5973)):(30<=e.h&&e.fa.logImpression(5974),e.h=0)}else 60<=
e.g&&e.fa.logImpression(5967),e.g=0,60<=e.j&&e.fa.logImpression(5972),e.j=0,30<=e.h&&e.fa.logImpression(5974),e.h=0},this);this.s.s.attach(function(f){e.u.R(e.G,f)},this);this.D=b;this.D.onChange.attach(function(f){e.m=f.Ki},this);this.H=c;this.H.g.attach(function(f){e.l=f.Kn},this);this.F=this.h=this.j=this.g=this.l=this.m=0;this.u=new eL(this);this.G=gL(this.u)};t(uX,V);var vX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audioreceived.BitRateMonitor");iX.call(this,a,b,c,{name:"recentMaxAudioRecvBitrate",fb:["Time Since Call Start","Max Audio Recv Bitrate"]});this.j=Y();this.m=vQ;this.D=new Map;this.reset()};t(vX,iX);k=vX.prototype;k.reset=function(){this.s="lcN5Wd";this.j=Y();this.h=!0;this.m=vQ;lX(this)};
k.Wa=function(a){var b=this,c=0<a.length,d=a.filter(function(h){var m=MG(h)||GG(h)[0];null===m?h=!1:(m=b.D.get(m)||0,h=(M(h,9)||0)!==m);return h}),e=0,f=null;a=Y();var g=!1;0<d.length&&(d.forEach(function(h){var m=MG(h)||GG(h)[0];null!==m&&(h=M(h,9)||0,b.D.set(m,h))}),d=d.map(function(h){return M(h,96)||0}),e=Math.max.apply(Math,[].concat(p(d),[0])),f=dX(Ala,e));null!==f&&(f===this.s&&(a=this.j),g=1E4<tQ(Y(),a));return{Pc:e,Wo:c,status:f,kx:a,Ga:g}};
k.xb=function(a){a.Wo?this.h||kX(this,4619):0<tQ(Y(),this.m)?kX(this,4707):kX(this,4618)};k.lb=function(a){var b=a.Wo,c=a.status;a=a.kx;null!==c&&(c!==this.s&&(this.s=c,this.j=a),b!==this.h&&(this.m=sQ(Y(),b?Infinity:2E4),this.h=b))};k.Xa=function(a){return[a.Pc]};var wX={},Ala=(wX.x5ghY=[-Infinity,0],wX.MNynB=[0,2E3],wX.lcN5Wd=[2E3,Infinity],wX);var xX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audioreceived.DelayMonitor");iX.call(this,a,b,c,{name:"recentAudioPlayoutDelay",fb:["Time Since Call Start","Max Audio Playout Delay (ms)"]});this.h=!1};t(xX,iX);xX.prototype.Wa=function(a){a=a.filter(function(c){return null!=M(c,26)&&5<M(c,26)}).reduce(function(c,d){return Math.max(c,M(d,39)||0)},-Infinity);a=-Infinity<a?a:null;var b=this.h;return{delay:a,Zk:null===a?b:500<=a,Sr:b}};
xX.prototype.xb=function(a){var b=a.Zk;a=a.Sr;!a&&b?this.logImpression(4009):a&&!b&&this.logImpression(4010)};xX.prototype.lb=function(a){var b=a.Zk;null!==a.delay&&(this.h=b)};xX.prototype.Xa=function(a){return[a.delay]};var yX=function(a,b,c,d){var e=jg("realtime.media.stats.emitters.monitors.audioreceived.EnergyMonitor");iX.call(this,a,b,e,{name:"recentMaxReceivedAudioEnergy",fb:["Time Since Call Start","Max Received Audio Energy"]});var f=this;this.K=d;this.h=Y();this.s=new eX(2E3,.75,Math.round(6E4/c));MQ(this,{energyLowBeforeSendingFeedback:function(){return fX(f.s)},overallRecvLowEnergyPercent:function(){return Math.round(100*f.D/f.H)}});this.m=new Map;this.D=this.H=0;this.reset()};t(yX,iX);
yX.prototype.reset=function(){this.j="lcN5Wd";this.h=Y()};
yX.prototype.Wa=function(a){var b=this,c=a.filter(function(g){var h=MG(g)||GG(g)[0];null===h?g=!1:(h=b.m.get(h)||0,g=(M(g,9)||0)!==h);return g}),d=0,e=null;a=Y();var f=!1;0<c.length&&(c.forEach(function(g){var h=MG(g)||GG(g)[0];null!==h&&(g=M(g,9)||0,b.m.set(h,g))}),d=c.map(function(g){return M(g,26)||0}),d=Math.max.apply(Math,[].concat(p(d),[0])),e=dX(Bla,d));null!==e&&(e===this.j&&(a=this.h),f=tQ(Y(),a),c=Cla.get(e),f=f>c);return{Ji:d,status:e,eb:a,Ga:f}};
yX.prototype.lb=function(a){var b=a.Ji,c=a.status;a=a.eb;null!==c&&(c!==this.j&&(this.j=c,this.h=a),this.K()||(this.H++,2E3>b&&this.D++),this.s.add(b))};yX.prototype.Xa=function(a){return[a.Ji]};var zX={},Bla=(zX.x5ghY=[-Infinity,0],zX.MNynB=[0,2E3],zX.lcN5Wd=[2E3,Infinity],zX),Cla=new Map([["x5ghY",5E3],["MNynB",15E3],["lcN5Wd",15E3]]);var AX=function(a,b,c){var d=jg("realtime.media.stats.emitters.monitors.audioreceived.FractionLostMonitor");iX.call(this,a,b,d,{name:"recentMaxAudioRecvFractionLost",fb:["Time Since Call Start","Max Audio Recv Fraction Lost (%)"]});this.V=3E4/c;this.s=new hX(this.V);this.K=6E4/c;this.m=new eX(20,.6,this.K);this.j=this.D=!1;this.h=!0;this.H=new Map};t(AX,iX);
AX.prototype.Wa=function(a){var b=this;a=a.filter(function(h){var m=MG(h)||GG(h)[0];null===m?h=!1:(m=b.H.get(m)||0,h=(M(h,9)||0)!==m);return h});if(0==a.length)return null;a.forEach(function(h){var m=MG(h)||GG(h)[0]||0;h=M(h,9)||0;b.H.set(m,h)});a=a.reduce(function(h,m){return Math.max(h,M(m,2))},0);this.s.add(a);this.m.add(a);var c=50<a,d=this.D,e=this.j;wla(this.s)&&(e=20<this.s.j);var f=this.j,g=this.h;gX(this.m)&&(g=fX(this.m));return{fractionLost:a,Vo:c,yA:d,Uo:e,xA:f,Hn:g,BA:this.h}};
AX.prototype.xb=function(a){var b=a.Vo,c=a.yA,d=a.Uo,e=a.xA,f=a.Hn;a=a.BA;b&&!c?this.logImpression(4348):!b&&c&&this.logImpression(4349);d&&!e?this.logImpression(4350):!d&&e&&this.logImpression(4351);f&&!a?this.logImpression(4434):!f&&a&&this.logImpression(4433)};AX.prototype.lb=function(a){var b=a.Uo,c=a.Hn;this.D=a.Vo;this.j=b;this.h=c};AX.prototype.Xa=function(a){return[a.fractionLost]};var BX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audioreceived.JitterBufferSizeMonitor");iX.call(this,a,b,c,{name:"recentMaxAudioRecvJitterBufferSize",fb:["Time Since Call Start","Max Audio Recv Jitter Buffer Size (ms)"]});this.h=new Map};t(BX,iX);
BX.prototype.Wa=function(a){var b=this;a=a.filter(function(c){var d=MG(c)||GG(c)[0];null===d?c=!1:(d=b.h.get(d)||0,c=(M(c,9)||0)!==d);return c});if(0==a.length)return null;a.forEach(function(c){var d=MG(c)||GG(c)[0]||0;c=M(c,9)||0;b.h.set(d,c)});return{ix:a.reduce(function(c,d){return Math.max(c,M(d,37)||-1)},0)}};BX.prototype.Xa=function(a){return[a.ix]};var CX=function(a,b,c){var d=jg("realtime.media.stats.emitters.monitors.audioreceived.SpeechExpandRateMonitor");iX.call(this,a,b,d,{name:"recentMaxSpeechExpandRate",fb:["Time Since Call Start","Max Speech Expand Rate (%)"]});this.j=new eX(20,.6,5E3/c);this.D=sQ(Y(),6E4);this.m=this.h=0;this.s=new Map};t(CX,iX);
CX.prototype.Wa=function(a){var b=this;a=a.filter(function(h){var m=MG(h)||GG(h)[0];null===m?h=!1:(m=b.s.get(m)||0,h=(M(h,9)||0)!==m);return h});if(0==a.length)return null;a.forEach(function(h){var m=MG(h)||GG(h)[0];null!==m&&(h=M(h,9)||0,b.s.set(m,h))});a=a.map(function(h){return Cl(h,103)}).filter(function(h){return null!=h});a=Math.round(100*Math.max.apply(Math,[].concat(p(a),[0])));this.j.add(a);var c=Y(),d=this.D,e=null;0<tQ(c,d)&&(d=sQ(c,6E4),e=(this.h+a)/(this.m+1));c=40<a;var f=gX(this.j),
g=fX(this.j);return{xr:a,Mn:e,Ex:d,ax:c,Ww:f,Vw:g}};CX.prototype.xb=function(a){var b=this,c=a.Mn,d=a.Ww,e=a.Vw;a.ax?jX(b,"BcmLRd",4116):jX(b,"BcmLRd",4117);d&&(e?jX(b,"vhhrIe",4432):jX(b,"vhhrIe",4431));null!==c&&(a=function(f){return jX(b,"YK82pb",f)},20<=c?a(4269):10<=c?a(4268):5<=c?a(4267):2<=c?a(4266):a(4265))};CX.prototype.lb=function(a){var b=a.xr,c=a.Ex;null!==a.Mn?(this.m=this.h=0,this.D=c):(this.h+=b,this.m++)};CX.prototype.Xa=function(a){return[a.xr]};var DX=function(a,b,c,d){V.call(this);var e=this;this.u=d;this.g=new eL(this);this.j=!0;this.G=this.g.signal();this.N=gL(this.g);this.H=this.g.signal();this.V=gL(this.g);this.K=gL(this.g);this.l=!0;this.W=this.g.signal();this.Y=gL(this.g);this.m=new vX(a,b);this.T(this.m);this.m.g.attach(function(f){var g=f.Pc,h=f.status;f=f.Ga;null!==h&&(g={Pc:g,status:h},e.g.R(e.G,g),f!==e.j&&(f&&e.g.R(e.N,g),e.j=f))},this);this.s=new xX(a,b);this.T(this.s);this.s.g.attach(function(f){var g=f.Sr,h=f.Zk;f={Ei:f.delay};
e.g.R(e.H,f);!g&&h?e.g.R(e.V,f):g&&!h&&e.g.R(e.K,f)},this);this.h=new yX(a,b,c,function(){return Dla(e)});this.T(this.h);this.h.g.attach(function(f){var g=f.Ji,h=f.status;f=f.Ga;null!==h&&(g={Ji:g,status:h},e.g.R(e.W,g),f!==e.l&&(f&&e.g.R(e.Y,g),e.l=f))},this);this.D=new AX(a,b,c);this.T(this.D);this.F=new BX(a,b);this.T(this.F);this.ea=new CX(a,b,c);this.T(this.ea)};t(DX,V);var Dla=function(a){return a.u().every(function(b){b=b.getInfo();return"a"!==b.ga()||b.Hc()})};var EX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.he?!0:d.he;d=void 0===d.Ed?10:d.Ed;var e=jg("realtime.media.stats.emitters.monitors.CpuUsageMonitor"),f={name:"recentSystemCpuUsage",fb:["Time Since Call Start","System","Process","Browser","GPU"]};iX.call(this,a,b,e,c?f:void 0);this.s=this.m=0;this.h=this.j=!1;this.D=d};t(EX,iX);k=EX.prototype;
k.Wa=function(a){var b=M(a,36)||0;if(0<b){var c=Math.round((M(a,35)||0)/b),d=Math.round((M(a,34)||0)/b),e=Math.round((M(a,92)||0)/b);a=Math.round((M(a,94)||0)/b);b=.65*this.m+.35*c;var f=.65*this.s+.35*(d+e+a);return{Dm:c,Gl:d,rk:e,Ok:a,Wz:b,Xz:f,Ur:this.j,Rr:this.h,dl:90<=b,Xk:60<=b-f}}return null};k.xb=function(a){var b=a.dl,c=a.Xk,d=a.Rr;b!==a.Ur&&this.logImpression(b?3746:3762);c!==d&&this.logImpression(c?4628:4629)};
k.lb=function(a){var b=a.Xz,c=a.dl,d=a.Xk;this.m=a.Wz;this.s=b;this.j=c;this.h=d};k.Xa=function(a){return[a.Dm,a.Gl,a.rk,a.Ok]};k.Bh=function(){return this.D};var FX=function(a,b){V.call(this);var c=this;this.g=new eL(this);this.onChange=this.g.signal();this.l=gL(this.g);this.j=gL(this.g);this.h=new EX(a,b,{he:!0});this.T(this.h);this.h.g.attach(function(d){var e=d.dl,f=d.Xk,g=d.Ur,h=d.Rr;d={Dm:d.Dm,Gl:d.Gl,rk:d.rk,Ok:d.Ok,GP:e,DP:f};c.g.R(c.onChange,d);e!==g&&c.g.R(c.l,d);f!==h&&c.g.R(c.j,d)},this)};t(FX,V);var GX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.LeakyBucketDelayMonitor");iX.call(this,a,b,c,{name:"recentLeakyBucketDelay",fb:["Time Since Call Start","Leaky Bucket Delay (ms)"]});this.h="lcN5Wd";this.j=Y()};t(GX,iX);
GX.prototype.Wa=function(a,b){if(15>b)return this.j=Y(),null;a=M(a[0],80);if(null===a)return null;b=dX(HX,a);if(null===b){var c=Y();return{Ih:a,status:b,eb:c,kb:!1,Ga:!1,Cb:!1}}c=HX[this.h][0]<HX[b][0];var d=b!==this.h?Y():this.j,e=2E3<tQ(Y(),d);return{Ih:a,status:b,eb:d,kb:c,Ga:e,Cb:3E3<a}};GX.prototype.xb=function(a){var b=a.status,c=a.kb,d=a.Ga;a=a.Cb;if(d||c)"lcN5Wd"===b?mX(this,4379):"CNusmb"===b&&mX(this,4380);a?kX(this,4381):d&&lX(this)};
GX.prototype.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};GX.prototype.Xa=function(a){return[a.Ih]};var IX={},HX=(IX.lcN5Wd=[-Infinity,3E3],IX.CNusmb=[3E3,Infinity],IX);var JX=function(a,b){V.call(this);var c=this;this.h=new eL(this);this.l=gL(this.h);this.j=new GX(a,b);this.T(this.j);this.g=!1;this.j.g.attach(function(d){var e=d.Ih,f=d.Cb,g=d.Ga;d=f&&!c.g;g=!f&&g&&c.g;(d||g)&&c.h.R(c.l,{IP:e,Yw:f});d?c.g=!0:g&&(c.g=!1)},this)};t(JX,V);var KX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audioreceived.NeteqCallsMonitor");iX.call(this,a,b,c,{name:"recentNeteqCalls",fb:["Time Since Call Start","Min Neteq Calls (%)"]});this.h=!1;this.j=new Map;this.m=new Map};t(KX,iX);
KX.prototype.Wa=function(a,b){var c=this;a=a.filter(function(d){var e=MG(d)||GG(d)[0];null===e?d=!1:(e=c.j.get(e)||0,d=(M(d,9)||0)!==e);return d});if(0==a.length)return null;a.forEach(function(d){var e=MG(d)||GG(d)[0]||0;d=M(d,9)||0;c.j.set(e,d)});a=Math.min.apply(Math,[].concat(p(a.map(function(d){var e=GG(d)[0];if(d=M(d,82)){var f=100,g=c.m.get(e);if(g){var h=1E3*(b-g.nd)/10;0!=h&&(g=d-g.Cx,g>h/10&&(f=Math.min(100,Math.round(g/h*100))))}c.m.set(e,{Cx:d,nd:b});e=f}else e=100;return e})),[100]));
return{Dx:a,dj:80>=a}};KX.prototype.xb=function(a){a=a.dj;!a&&this.h?this.logImpression(4127):a&&!this.h&&this.logImpression(4126)};KX.prototype.lb=function(a){a=a.dj;a!==this.h&&(this.h=a)};KX.prototype.Xa=function(a){return[a.Dx]};var LX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audiosent.BitRateMonitor");iX.call(this,a,b,c,{name:"statsAudioSentBitrate",fb:["Time Since Call Start","Audio Sent Bitrate (bps)"]});this.h="lcN5Wd"};t(LX,iX);LX.prototype.Wa=function(a,b){if(5>b)return null;a=Math.min.apply(Math,p(a.map(function(c){return M(c,42)})));if(Infinity===a)return null;b=dX(Ela,a);return{Pc:a,status:b}};LX.prototype.lb=function(a){a=a.status;null!==a&&a!==this.h&&(this.h=a)};LX.prototype.Xa=function(a){return[a.Pc]};
var MX={},Ela=(MX.MNynB=[-Infinity,500],MX.lcN5Wd=[500,Infinity],MX);var NX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.audiosent.EchoLikelihoodMonitor");iX.call(this,a,b,c,{name:"statsAudioSentEchoLikelihoodRecentMax",fb:["Time Since Call Start","Max Audio Sent Residual Echo Likelihood"]});this.h=!1};t(NX,iX);NX.prototype.Wa=function(a){a=Math.max.apply(Math,p(a.map(function(b){return Cl(b,133)||0})));return-Infinity<a?(a=Math.round(1E3*a)/10,{tu:a,Ro:55<=a}):null};
NX.prototype.xb=function(a){a=a.Ro;var b=this.h;a&&!b?this.logImpression(4472):!a&&b&&this.logImpression(4473)};NX.prototype.lb=function(a){this.h=a.Ro};NX.prototype.Xa=function(a){return[a.tu]};var OX=function(a,b,c){var d=jg("realtime.media.stats.emitters.monitors.audiosent.EnergyMonitor");iX.call(this,a,b,d,{name:"statsAudioSentEnergy",fb:["Time Since Call Start","Sent Energy"]});var e=this;this.m=this.s=0;this.h=!1;Rs(this,function(){e.h&&e.logImpression(5197)});MQ(this,{overallSentEnergyLow:function(){return!!e.m&&80<e.s/e.m*100&&5<=e.m},sentEnergyConsistentlyZero:function(){return e.h}});this.D=!0;this.K=Fla();this.j=null;oL(c,function(f){e.j=f});this.H=new eX(100,.7,10)};t(OX,iX);
OX.prototype.Wa=function(a){a=M(a[0],26);if("number"!==typeof a)return null;this.H.add(a);return{lo:a}};OX.prototype.lb=function(a){a=a.lo;!this.j||this.j.Vb()||this.j.Yk()||(this.D&&(this.h=a<=this.K?!0:this.D=!1),this.m++,100>a&&this.s++)};var Fla=function(){var a=0;ie("Windows")?a=1:Je()&&(a=2);return a};OX.prototype.Xa=function(a){return[a.lo]};var PX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.BatteryMonitor");iX.call(this,a,b,c,{name:"recentBatteryLevel",fb:["Time Since Call Start","Battery level (%)"]});this.h=0};t(PX,iX);PX.prototype.Wa=function(a){a=Math.round(100*N(a,75,-1));return a===this.h?null:{Nn:a}};PX.prototype.lb=function(a){this.h=a.Nn};PX.prototype.Xa=function(a){return[a.Nn]};var QX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.ConnectionMonitor");iX.call(this,a,b,c);var d=this;this.h=this.j=0;tf&&hq(61)&&MQ(this,{connection:function(){return Gla()}});MQ(this,{networkType:function(){return d.h+": "+Hla[d.h]},transportProtocol:function(){a:switch(d.j){case 1:var e="UDP";break a;case 2:case 3:e="TCP";break a;default:e="Unknown"}return e}})};t(QX,iX);
QX.prototype.Wa=function(a){var b=M(a,55);b=this.h=null!=b&&Ila.includes(b)?b:0;a=this.j=M(R(a,cF,8,1),4);return{network:b,protocol:a}};QX.prototype.xb=function(a){switch(a.protocol){case 1:mX(this,3778);break;case 2:case 3:mX(this,3777)}};QX.prototype.Kj=function(){};
var Gla=function(){var a=Ne(),b={};["type","effectiveType","downlinkMax","downlink","rtt"].forEach(function(c){return b[c]=a.connection[c]||"unknown"});return b},Ila=Kc({RN:0,MN:1,TN:2,UN:3,KN:4,NN:5,ON:6,PN:7,QN:8,LN:10,SN:11}),RX={},Hla=(RX[0]="Unknown",RX[1]="Ethernet",RX[2]="WiFi",RX[3]="Wimax",RX[4]="Bluetooth",RX[5]="Mobile",RX[6]="Mobile 2G",RX[7]="Ethernet",RX[8]="Mobile 3G",RX[10]="Dummy",RX[11]="VPN",RX);var SX=function(a,b,c){c=void 0===c?{}:c;c=void 0===c.Ed?10:c.Ed;var d=jg("realtime.media.stats.emitters.monitors.videosent.VideoSentFpsMonitor");iX.call(this,a,b,d);this.h=c};t(SX,iX);SX.prototype.Wa=function(a){a=a.filter(function(b){return"number"===typeof M(b,29)}).map(function(b){return M(b,29)});return 0===a.length?null:{Td:Math.max.apply(Math,p(a))}};SX.prototype.Xa=function(a){return[a.Td]};SX.prototype.Bh=function(){return this.h};var TX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.NetworkMonitor");iX.call(this,a,b,c);this.m=new Map;this.j=!1;this.h=Y();this.s=0};t(TX,iX);k=TX.prototype;k.Wa=function(a){var b=this,c=0<a.length;a=a.reduce(function(g,h){var m=MG(h)||GG(h)[0]||0,q=b.m.get(m)||0;h=M(h,10)||0;b.m.set(m,h);return g+Math.max(h-q,0)},0);c=c&&!a;var d=this.j,e=this.h,f=this.s;!d&&c?e=Y():d&&!c&&(f=tQ(Y(),this.h));return{al:c,Tr:d,vp:a,Fp:e,Dl:f}};k.ap=function(){};
k.xb=function(a){var b=a.al,c=a.Tr;a=a.Dl;!c&&b?this.logImpression(4552):c&&!b&&(1E4<a&&this.logImpression(4582),this.logImpression(4553))};k.lb=function(a){var b=a.Fp,c=a.Dl;this.j=a.al;this.h=b;this.s=c};k.Xa=function(a){return[a.vp]};var UX=function(a,b){V.call(this);var c=this;this.g=new eL(this);this.l=gL(this.g);this.j=gL(this.g);this.h=new TX(a,b);this.T(this.h);this.h.g.attach(function(d){var e=d.al,f=d.Tr,g=d.Fp,h=d.Dl;d=d.vp;e&&!f&&c.g.R(c.l,{jx:d,eQ:g});!e&&f&&c.g.R(c.j,{jx:d,mP:h})},this)};t(UX,V);var VX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.BitRateMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvBitrate",fb:["Time Since Call Start","Screenshare Recv Bitrate (kbps)"]});this.m=0;this.h="lcN5Wd";this.j=Y()};t(VX,iX);k=VX.prototype;k.reset=function(){this.m=0;this.h="lcN5Wd";this.j=Y();lX(this);nX(this)};
k.Wa=function(a,b){if(5>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(h){return M(h,96)})));if(Infinity===a)return null;a=Math.round(a/100)/10;b=.65*this.m+.35*a;var c=dX(WX,b),d=Y(),e=!1,f=!1,g=!1;null!==c&&(e=WX[this.h][0]>WX[c][0],c===this.h&&(d=this.j),f=5E3<tQ(Y(),d),g=200>=b);return{Pc:a,status:c,eb:d,kb:e,Ga:f,Cb:g,xm:b}};k.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb;if(a.kb||c)"lcN5Wd"===b?mX(this,4376):"MNynB"===b&&mX(this,4377);d?kX(this,4378):c&&lX(this)};
k.lb=function(a){var b=a.status,c=a.eb;this.m=a.xm;null!==b&&b!==this.h&&(this.h=b,this.j=c)};k.Xa=function(a){return[a.Pc]};var XX={},WX=(XX.MNynB=[-Infinity,200],XX.lcN5Wd=[200,Infinity],XX);var YX=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.FpsDecodeMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvFpsDecode",fb:["Time Since Call Start","Screenshare Decoded FPS"]});this.h="lcN5Wd";this.j=Y()};t(YX,iX);k=YX.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();nX(this)};
k.Wa=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(f){return M(f,31)})));if(!(0<=a&&60>=a))return null;b=dX(ZX,a);var c=Y(),d=!1,e=!1;null!==b&&(e=ZX[this.h][0]>ZX[b][0],b===this.h&&(c=this.j),d=5E3<tQ(Y(),c));return{ol:a,status:b,eb:c,kb:e,Ga:d}};k.xb=function(a){var b=a.status,c=a.kb;if(a.Ga||c)"lcN5Wd"===b?mX(this,4343):"x5ghY"===b&&mX(this,4342)};k.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Xa=function(a){return[a.ol]};
var $X={},ZX=($X.x5ghY=[-Infinity,0],$X.lcN5Wd=[0,Infinity],$X);var aY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.FpsRenderInputMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvFpsRenderInput",fb:["Time Since Call Start","Screenshare Render Input (FPS)"]});this.h="lcN5Wd";this.j=Y()};t(aY,iX);k=aY.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();nX(this)};
k.Wa=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(f){return Cl(f,50)})));if(!(0<=a&&60>=a))return null;b=dX(bY,a);var c=Y(),d=!1,e=!1;null!==b&&(e=bY[this.h][0]>bY[b][0],b===this.h&&(c=this.j),d=5E3<tQ(Y(),c));return{ol:a,status:b,eb:c,kb:e,Ga:d}};k.xb=function(a){var b=a.status,c=a.kb;if(a.Ga||c)"lcN5Wd"===b?mX(this,4018):"x5ghY"===b&&mX(this,4046)};k.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Xa=function(a){return[a.ol]};
var cY={},bY=(cY.x5ghY=[-Infinity,0],cY.lcN5Wd=[0,Infinity],cY);var dY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.FractionLostMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvFractionLost",fb:["Time Since Call Start","Fraction Lost (%)"]});this.h=Y();this.reset()};t(dY,iX);k=dY.prototype;k.reset=function(){this.j="lcN5Wd";this.m=0;this.h=Y();nX(this)};
k.Wa=function(a,b){if(10>b)return this.h=Y(),null;a=Math.max.apply(Math,p(a.map(function(g){return M(g,2)})));if(!(0<=a&&100>=a))return null;b=.65*this.m+.35*a;var c=dX(eY,b),d=Y(),e=!1,f=!1;null!==c&&(f=eY[this.j][0]<eY[c][0],c===this.j&&(d=this.h),e=8E3<tQ(Y(),d));return{fractionLost:a,wm:b,status:c,eb:d,kb:f,Ga:e}};
k.xb=function(a){var b=a.status,c=a.kb;if(a.Ga||c)switch(b){case "lcN5Wd":mX(this,4043);break;case "QIiD3":mX(this,4040);break;case "ucYu5c":mX(this,4041);break;case "rBGRnf":mX(this,4042)}};k.lb=function(a){var b=a.status,c=a.eb;a=a.wm;null!==b&&(this.m=a,b!==this.j&&(this.j=b,this.h=c))};k.Xa=function(a){return[a.fractionLost]};var fY={},eY=(fY.lcN5Wd=[-1,5],fY.QIiD3=[5,10],fY.ucYu5c=[10,20],fY.rBGRnf=[20,Infinity],fY);var gY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.FrameSpacingMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvFrameSpacing",fb:["Time Since Call Start","Max Frame Spacing (ms)"]});this.m=Y();this.j=new Map;this.reset()};t(gY,iX);gY.prototype.reset=function(){this.h="lcN5Wd";this.s=-1;this.j.clear();this.m=Y();lX(this);nX(this)};
gY.prototype.Wa=function(a){var b=this;a=a.filter(function(m){m=zS.get(m);return m.h&&!!m.Hh});if(0===a.length)return null;var c=a.map(function(m){var q=hY(m),r=q.Sb;q=q.ssrc;0>=r&&(r=(r=b.j.get(q))?tQ(Y(),r):Infinity);return{Sb:Math.min(r,zS.get(m).Hh),ssrc:q}});a.forEach(function(m){m=hY(m);var q=m.ssrc;0<m.Sb&&b.j.set(q,Y())});c=Jla?Kla(c):Lla(c);if(!c)return null;a=c.Sb;c=c.ssrc;var d=dX(iY,a),e=Y(),f=!1,g=!1,h=!1;null!==d&&(h=iY[this.h][0]<iY[d][0],d===this.h&&(e=this.m),f=5E3<tQ(Y(),e),g=5E3<
a);return{Sb:a,ssrc:c,status:d,eb:e,kb:h,Ga:f,Cb:g}};var Kla=function(a){a=a.reduce(function(c,d){return c.Sb<d.Sb?d:c},{Sb:-1,ssrc:0});var b=a.Sb;return-1===b?null:{Sb:b,ssrc:a.ssrc}};gY.prototype.Kj=function(a,b){a.Sb===this.s&&iX.prototype.Kj.call(this,a,b)};var Lla=function(a){var b=a.reduce(function(c,d){return c.Sb<d.Sb?d:c},{Sb:-Infinity,ssrc:0});a=b.Sb;b=b.ssrc;return 0<=a&&12E4>=a?{Sb:a,ssrc:b}:null};
gY.prototype.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb,e=a.ssrc;if(a.kb||c)switch(b){case "lcN5Wd":mX(this,4185,{gd:e});break;case "peRWwb":mX(this,4186,{gd:e});break;case "kJFEZb":mX(this,4187,{gd:e});break;case "fcP1q":mX(this,4188,{gd:e});break;case "ozt2pf":mX(this,4189,{gd:e})}d?kX(this,4184,{gd:e}):c&&lX(this)};gY.prototype.lb=function(a){var b=a.Sb,c=a.status;a=a.eb;null!==c&&(this.s=b,c!==this.h&&(this.h=c,this.m=a))};gY.prototype.Xa=function(a){return[a.Sb]};
var hY=function(a){var b=MG(a)||GG(a)[0]||0;return{Sb:M(a,138)||0,ssrc:b}},Jla=tf&&hq(62),jY={},iY=(jY.lcN5Wd=[-Infinity,300],jY.peRWwb=[300,1500],jY.kJFEZb=[1500,5E3],jY.fcP1q=[5E3,2E4],jY.ozt2pf=[2E4,Infinity],jY);var kY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharereceived.OneWayDelayMonitor");iX.call(this,a,b,c,{name:"recentScreenshareRecvOneWayDelay",fb:["Time Since Call Start","One Way Delay (ms)"]});this.h=Y();this.reset()};t(kY,iX);k=kY.prototype;k.reset=function(){this.j="lcN5Wd";this.m=0;this.h=Y();nX(this)};
k.Wa=function(a,b){if(10>b)return this.h=Y(),null;a=a.map(function(g){return{delay:M(g,89),uh:zS.get(g).Hh}}).filter(function(g){var h=g.delay;g=!!g.uh;return"number"===typeof h&&0<h&&9E4>h&&g}).map(function(g){return Math.min(g.delay,g.uh)});a=Math.max.apply(Math,[].concat(p(a),[-1]));if(0>a)return null;b=.65*this.m+.35*a;var c=dX(lY,b),d=Y(),e=!1,f=!1;null!==c&&(e=lY[this.j][0]<lY[c][0],c===this.j&&(d=this.h),f=1E4<tQ(Y(),d));return{by:a,Yz:b,status:c,eb:d,kb:e,Ga:f}};
k.xb=function(a){var b=a.status,c=a.Ga;if(a.kb||c)switch(b){case "lcN5Wd":mX(this,4017);break;case "MNZVHe":mX(this,4014);break;case "CUJ8qd":mX(this,4015);break;case "ydPu5e":mX(this,4016)}};k.lb=function(a){var b=a.status,c=a.Yz;a=a.eb;null!==b&&(this.m=c,b!==this.j&&(this.j=b,this.h=a))};k.Xa=function(a){return[a.by]};var mY={},lY=(mY.lcN5Wd=[0,2E3],mY.MNZVHe=[2E3,3E3],mY.CUJ8qd=[3E3,5E3],mY.ydPu5e=[5E3,Infinity],mY);var nY=function(a,b){V.call(this);var c=this;this.j=new eL(this);this.F=gL(this.j);this.h=new VX(a,b);this.T(this.h);this.h.g.attach(function(d){var e=d.Pc,f=d.Cb,g=d.Ga;d=f&&!c.g;g=!f&&g&&c.g;(d||g)&&c.j.R(c.F,{Pc:e,dj:f});d?c.g=!0:g&&(c.g=!1)},this);this.g=!1;this.l=new YX(a,b);this.T(this.l);this.m=new aY(a,b);this.T(this.m);this.u=new dY(a,b);this.T(this.u);this.s=new gY(a,b);this.T(this.s);this.D=new kY(a,b);this.T(this.D)};t(nY,V);var oY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharesent.BitRateMonitor");iX.call(this,a,b,c,{name:"recentScreenshareSentBitrate",fb:["Time Since Call Start","Screenshare Sent Bitrate (kbps)"]});this.m=0;this.h="lcN5Wd";this.j=Y()};t(oY,iX);k=oY.prototype;k.reset=function(){this.m=0;this.h="lcN5Wd";this.j=Y();lX(this);nX(this)};
k.Wa=function(a){a=a.filter(function(h){return"number"===typeof M(h,29)&&0<M(h,29)&&"number"===typeof M(h,42)}).map(function(h){return M(h,42)});a=Math.min.apply(Math,p(a));if(Infinity===a)return null;a=Math.round(a/100)/10;var b=.65*this.m+.35*a,c=dX(pY,b),d=Y(),e=!1,f=!1,g=!1;null!==c&&(e=pY[this.h][0]>pY[c][0],c===this.h&&(d=this.j),f=5E3<tQ(Y(),d),g=200>=b);return{Pc:a,status:c,eb:d,kb:e,Ga:f,Cb:g,xm:b}};
k.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb;if(a.kb||c)"lcN5Wd"===b?mX(this,4373):"MNynB"===b&&mX(this,4374);d&&kX(this,4375)};k.lb=function(a){var b=a.status,c=a.eb;this.m=a.xm;null!==b&&b!==this.h&&(this.h=b,this.j=c)};k.Xa=function(a){return[a.Pc]};var qY={},pY=(qY.MNynB=[-Infinity,200],qY.lcN5Wd=[200,Infinity],qY);var rY=function(a,b,c){var d=jg("realtime.media.stats.emitters.monitors.screensharesent.FpsCaptureMonitor");iX.call(this,a,b,d,{name:"recentScreenshareSentFpsCapture",fb:["Time Since Call Start","Sent FPS (Capture)"]});this.m=new eX(0,.6,1E4>c?10:2);this.h="lcN5Wd";this.j=Y()};t(rY,iX);k=rY.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();lX(this);nX(this)};
k.Wa=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(g){return M(g,29)})));if(0>a||60<a)return null;this.m.add(a);b=dX(sY,a);var c=Y(),d=!1,e=!1,f=!1;null!==b&&(d=sY[this.h][0]>sY[b][0],b===this.h&&(c=this.j),e=5E3<tQ(Y(),c),f=0>=a&&fX(this.m));return{oo:a,status:b,eb:c,kb:d,Ga:e,Cb:f}};k.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb;if(a.kb||c)"lcN5Wd"===b?mX(this,4340):"x5ghY"===b&&mX(this,4339);d?kX(this,4341):c&&lX(this)};
k.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Xa=function(a){return[a.oo]};var tY={},sY=(tY.x5ghY=[-Infinity,0],tY.lcN5Wd=[0,Infinity],tY);var uY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharesent.FpsEncodeMonitor");iX.call(this,a,b,c,{name:"recentScreenshareSentFpsEncode",fb:["Time Since Call Start","Sent FPS (Encode)"]});this.h="lcN5Wd";this.j=Y()};t(uY,iX);k=uY.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();lX(this);nX(this)};
k.Wa=function(a){a=a.filter(function(g){return"number"===typeof M(g,29)&&0<M(g,29)&&"number"===typeof M(g,30)});a=Math.min.apply(Math,p(a.map(function(g){return M(g,30)})));if(0>a||60<a)return null;var b=dX(vY,a),c=Y(),d=!1,e=!1,f=!1;null!==b&&(d=vY[this.h][0]>vY[b][0],b===this.h&&(c=this.j),e=2E3<tQ(Y(),c),f=0>=a);return{po:a,status:b,eb:c,kb:d,Ga:e,Cb:f}};k.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb;if(a.kb||c)"lcN5Wd"===b?mX(this,4329):"x5ghY"===b&&mX(this,4328);d&&kX(this,4330)};
k.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Xa=function(a){return[a.po]};var wY={},vY=(wY.x5ghY=[-Infinity,0],wY.lcN5Wd=[0,Infinity],wY);var xY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.screensharesent.FractionLostMonitor");iX.call(this,a,b,c,{name:"recentScreenshareSentFractionLost",fb:["Time Since Call Start","Fraction Lost (%)"]});this.h=Y();this.reset()};t(xY,iX);k=xY.prototype;k.reset=function(){this.m=0;this.j="lcN5Wd";this.h=Y();lX(this);nX(this)};
k.Wa=function(a,b){var c=Y();if(10>b)return this.h=c,null;a=Math.max.apply(Math,p(a.map(function(m){return M(m,2)})));if(0>a||100<a)return null;b=.65*this.m+.35*a;var d=dX(yY,b),e=c,f=!1,g=!1,h=!1;null!==d&&(f=yY[this.j][0]<yY[d][0],d===this.j&&(e=this.h),g=8E3<tQ(c,e),h=20<=b);return{fractionLost:a,status:d,eb:e,kb:f,Ga:g,Cb:h,wm:b}};
k.xb=function(a){var b=a.status,c=a.Ga,d=a.Cb;if(a.kb||c){a=void 0;switch(b){case "lcN5Wd":a=4035;break;case "QIiD3":a=4032;break;case "ucYu5c":a=4033;break;case "rBGRnf":a=4034}a&&mX(this,a)}d?kX(this,4237):c&&lX(this)};k.lb=function(a){var b=a.status,c=a.eb;this.m=a.wm;null!==b&&b!==this.j&&(this.j=b,this.h=c)};k.Xa=function(a){return[a.fractionLost]};var zY={},yY=(zY.lcN5Wd=[-1,5],zY.QIiD3=[5,10],zY.ucYu5c=[10,20],zY.rBGRnf=[20,Infinity],zY);var AY=function(a,b,c){V.call(this);var d=this;this.g=new eL(this);this.G=gL(this.g);this.H=gL(this.g);this.K=gL(this.g);this.V=gL(this.g);this.l=this.j=this.h=this.m=!1;this.F=new oY(a,b);this.T(this.F);this.F.g.attach(function(e){var f=e.Pc,g=e.Cb,h=e.Ga;e=g&&!d.m;h=!g&&h&&d.m;(e||h)&&d.g.R(d.G,{Pc:f,dj:g});e?d.m=!0:h&&(d.m=!1)},this);this.s=new rY(a,b,c);this.T(this.s);this.s.g.attach(function(e){var f=e.oo,g=e.Cb,h=e.Ga;e=g&&!d.h;h=!g&&h&&d.h;(e||h)&&d.g.R(d.H,{zu:f,yP:!g});e?d.h=!0:h&&(d.h=!1)},
this);this.u=new uY(a,b);this.T(this.u);this.u.g.attach(function(e){var f=e.po,g=e.Cb,h=e.Ga;e=g&&!d.j;h=!g&&h&&d.j;(e||h)&&d.g.R(d.K,{zu:f,CP:!g});e?d.j=!0:h&&(d.j=!1)},this);this.D=new xY(a,b);this.T(this.D);this.D.g.attach(function(e){var f=e.fractionLost,g=e.Cb,h=e.Ga;e=g&&!d.l;h=!g&&h&&d.l;(e||h)&&d.g.R(d.V,{fractionLost:f,Yw:g});e?d.l=!0:h&&(d.l=!1)},this)};t(AY,V);var BY=function(a,b){var c=jg("realtime.media.stats.emitters.monitors.videoreceived.DelayMonitor");iX.call(this,a,b,c,{name:"recentVideoDelay",fb:["Time Since Call Start","Max Video Delay (ms)"]});this.h=Y();this.reset()};t(BY,iX);k=BY.prototype;k.reset=function(){this.j="lcN5Wd";this.h=Y();nX(this)};
k.Wa=function(a,b){var c=Y();if(15>b)return this.h=c,null;a=a.map(function(h){return[h,zS.get(h)]}).filter(function(h){h=n(h);h.next();return!!h.next().value}).map(function(h){var m=n(h);h=m.next().value;m=m.next().value;return{delay:M(h,89),uh:m.Hh}}).filter(function(h){var m=h.delay;h=!!h.uh;return"number"===typeof m&&0<m&&9E4>m&&h}).map(function(h){return Math.min(h.delay,h.uh)});a=Math.max.apply(Math,[].concat(p(a),[-1]));if(0>a)return null;b=dX(CY,a);var d=c,e=!1,f=!1,g=!1;null!==b&&(e=CY[this.j][0]<
CY[b][0],b===this.j&&(d=this.h),f=1E4<tQ(c,d),g=1E3<a);return{Ei:a,status:b,eb:d,kb:e,Ga:f,Cb:g}};k.xb=function(a){var b=a.status,c=a.Ga;if(a.kb||c)"lcN5Wd"===b?mX(this,4012):"CNusmb"===b&&mX(this,4011)};k.lb=function(a){var b=a.status;a=a.eb;null!==b&&b!==this.j&&(this.j=b,this.h=a)};k.Xa=function(a){return[a.Ei]};var DY={},CY=(DY.lcN5Wd=[-Infinity,1E3],DY.CNusmb=[1E3,Infinity],DY);var EY=function(a,b){V.call(this);var c=this;this.g=new eL(this);this.l=this.g.signal();this.s=gL(this.g);this.m=gL(this.g);this.h=!1;this.j=new BY(a,b);this.T(this.j);this.j.g.attach(function(d){var e=d.Cb,f=d.Ga;d={Ei:d.Ei};c.g.R(c.l,d);e&&!c.h?(c.g.R(c.s,d),c.h=!0):!e&&f&&c.h&&(c.g.R(c.m,d),c.h=!1)},this)};t(EY,V);var GY=function(a,b,c,d,e){V.call(this);this.g=new FY(b);this.s=new DX(a,this.g.j,1E3,function(){return e()});this.T(this.s);this.F=new NX(a,this.g.l);this.T(this.F);this.D=new OX(a,this.g.l,c);this.T(this.D);this.j=new pX(a,this.g.s);this.T(this.j);this.K=new FX(a,this.g.h);this.T(this.K);this.N=new EX(a,this.g.h,{he:!1,Ed:1});this.T(this.N);this.Ih=new JX(a,this.g.s);this.T(this.Ih);this.network=new UX(a,this.g.F);this.T(this.network);this.l=new tX(a,this.g.h,{he:!0});this.T(this.l);this.W=new tX(a,
this.g.h,{he:!1,Ed:1});this.T(this.W);this.ja=new nY(a,this.g.D);this.T(this.ja);this.oa=new AY(a,this.g.H,1E3);this.T(this.oa);this.sa=new EY(a,this.g.G);this.T(this.sa);this.Y=new SX(a,this.g.K,{Ed:1});this.T(this.Y);this.h=new qX(a,this.g.j);this.T(this.h);this.V=new qX(a,this.g.j,{he:!1,Ed:1});this.T(this.V);this.m=new uX(a,this.j,this.l,this.h);this.T(this.m);this.u=new LX(a,this.g.l);this.T(this.u);this.G=new PX(a,this.g.h);this.T(this.G);this.H=new QX(a,this.g.u);this.T(this.H);this.ea=new KX(a,
this.g.j,1E3);this.T(this.ea)};t(GY,V);
var FY=function(a){V.call(this);var b=this;this.g=new eL(this);this.m=0;this.h=this.g.signal();this.F=this.g.signal();this.s=this.g.signal();this.j=this.g.signal();this.D=this.g.signal();this.G=this.g.signal();this.l=this.g.signal();this.H=this.g.signal();this.K=this.g.signal();this.u=this.g.signal();this.N=Y();this.V=0;a.attach(function(c){c=c.mb;var d=Math.round(tQ(Y(),b.N)/100)/10;b.V=d;b.m++;b.g.R(b.h,{data:c,nd:d,sequenceNumber:b.m});d=Mla(c);var e=d.Ut,f=d.oz,g=d.qz,h=d.rz,m=d.Dz,q=d.Ez,r=d.Fz;
HY(b,b.F,d.pz);HY(b,b.s,e);HY(b,b.j,f);HY(b,b.D,g);HY(b,b.G,h);HY(b,b.l,m);HY(b,b.H,q);HY(b,b.K,r);c=Nla(c);null!==c&&HY(b,b.u,c)},this)};t(FY,V);
var HY=function(a,b,c){(!Array.isArray(c)||0<c.length)&&a.g.R(b,{data:c,nd:a.V,sequenceNumber:a.m})},Mla=function(a){var b=[],c=[],d=[],e=[],f=[],g=[],h=[],m=[];EG(a).forEach(function(q){switch(KG(q)){case 1:b.push(q);Dl(q,59)?e.push(q):2==JG(q)?f.push(q):1==JG(q)&&d.push(q);break;case 0:Dl(q,59)?h.push(q):2==JG(q)?m.push(q):1==JG(q)&&g.push(q);break;case 2:c.push(q)}});return{pz:b,Ut:c,oz:d,qz:e,rz:f,Dz:g,Ez:h,Fz:m}},Nla=function(a){return FG(a).find(function(b){return 1==(M(b,2)&1)})||null};var IY=function(a){this.h=a};IY.prototype.g=function(a){var b=R(a,kB,1);b&&M(b,3);a=R(a,HJ,2);if(null!=a)for(var c=0;c<MM.length&&(b=MM[c].pb.call(a),null==b);c++);};function JY(){var a,b;return{promise:new Promise(function(c,d){a=c;b=d}),resolve:a,reject:b}};var MY=function(a,b,c){gN.call(this);var d=this;this.M=jg("realtime.media.call.BaseCall");this.ka=a;this.bb=b;this.h=this.bb.j;this.oa=this.ja=this.Aa=this.contentType=null;this.co.bind(this);this.getInfo=KY(this.Zn.bind(this));this.ao.bind(this);this.getSelf=KY(this.GA.bind(this));this.Bc=new YW;this.onConnect=this.Bc.g;this.hc=void 0;this.Pa=zt();this.pi=new YW;this.onDisconnect=this.pi.g;this.jf=void 0;this.rb=new YW;this.si=this.rb.g;this.l=new YW;this.ib=this.l.g;this.Cc=new YW;this.ha=this.Cc.g;
this.wb=[];this.Kc=c||eR(PM(this.h));this.ea=new KW("F75qrd",this);this.ea.Ph(2);this.g=new eL(this);this.Ec=this.g.signal();this.Hm=this.g.signal();this.Uc=this.g.signal();this.dh=this.g.signal();this.ri=this.g.signal();this.gh=gL(this.g);this.vi=gL(this.g);this.Om=gL(this.g);this.g.R(this.Om,{enabled:!1});this.Cl=new GY(new cL(a),this.ri,this.gh,this.vi,function(){return aW(d.Da)});this.T(this.Cl);this.gm=this.g.signal();this.od=this.g.signal();xK(a,aL).then(function(e){var f=d.Kc;f!==e.g&&(e.g?
e.h=rt(f):e.j.resolve(f),e.g=f)});xK(a,ZK).then(function(e){var f={Uh:function(g){return d.qd(g)},Vh:function(){}};TM(e,f);Rs(d,function(){return WW(d.onDisconnect,function(){fc(e.h,f)})})});this.fe=new LY(this);this.oe=new YW;this.Jb=this.oe.g;this.Gd=new YW;this.Eb=this.Gd.g;this.hj=new aX;this.T(this.hj);this.kf=new aX;this.T(this.kf);this.Da=new TV(a,b,this.hj.g,this.kf.g,this.Kc);this.T(this.Da);this.ti=new YW;this.Da.hb.promise.then(function(e){return e.h.vo()}).then(function(){return d.ti.resolve(!0)});
this.hf=new rS;this.Da.oa=this.hf;this.V=new Map;wka(this.Da,function(e){var f=e.Z(),g=[].concat(p(d.V.keys())).find(function(h){return h.ha.get()==f});return g&&"v"==e.Ra&&(e=new nO("",e.getId(),e.Ra,e.getContent(),e.getState(),e.Qf,e.ie&&kc(e.ie)),g=g.Da.za(e))?g:null});(new YW).resolve(this.Da);this.hb=0;this.listen(this.Da,FR,function(e){return d.g.R(d.dh,{message:e.message})});this.listen(this.Da,"Z",function(e){return d.g.R(d.ri,{mb:e.mb})});this.listen(this.Da,"Ea",function(e){return d.g.R(d.gm,
{ha:e.ha,data:e.data,HP:cia(e)})});this.listen(this.Da,uS,function(e){return d.g.R(d.od,{Fc:e.Fc,nc:e.nc,removed:e.removed})});this.listen(this.Da,"ga",this.El);Ola(this);this.bj=new YW;this.sessionId=this.bj.g;xK(a,QW).then(function(e){return Pla(e,d)});this.fc=!1;this.me=this.Ma=this.Oa=-1;MQ(this,this.wh());Qla.forEach(function(e){return e(d)})};t(MY,gN);var Rla=function(a){var b;return Da(function(c){if(1==c.g)return a.ja?c.cb(2):u(c,a.Eo(),3);2!=c.g&&(b=c.h,a.ja||(a.ja=b(),a.T(a.ja)));return c.return(a.ja)})};
MY.prototype.GA=function(){var a=this,b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,Rla(a),2);case 2:return b=e.h,u(e,a.ha,3);case 3:c=e.h;case 4:return(d=b.get(c))?e.return(d):u(e,b.h.next(a),4)}})};
var NY=function(a){var b;return Da(function(c){if(1==c.g)return a.oa?c.cb(2):u(c,a.Fo(),3);2!=c.g&&(b=c.h,a.oa||(a.oa=b(),a.T(a.oa)));return c.return(a.oa)})},KY=function(a){var b,c;return function(d){d=void 0===d?!1:d;return Da(function(e){if(1==e.g){if(b)return e.cb(2);if(!d)return b=a(),c&&c.resolve(void 0),e.cb(2);c||(c=JY());return u(e,c.promise,2)}return e.return(b)})}};
MY.prototype.sa=function(a){this.G=a instanceof WR?{vk:a}:Object.assign({},a);var b=new IY(this.h.j);this.Da.rb.attach(function(c){var d=b.h,e=S(c,IJ,1);og(d.o,"handlePushNotification invoked, batch size: "+e.length);e.forEach(d.g,d);c&&(c=S(c,IJ,1),0!=c.length&&1==c.length&&c.forEach(b.g,b))},this);pg(this.M,"Starting the media session.");this.ea.Ph(16);this.G.vk=Sla(this,this.G.vk);kka(this.Da,this.G.vk,this.oc())?this.rb.resolve(null):this.rb.reject("Failed to create session.")};
MY.prototype.oc=function(){var a=this,b=dR(this.h.h,PM(this.h),function(){return VM(a.h,a.Kc)}),c=new NW(b,this.G.Im);if(this.G.Im)return c;b=Lea(this.ka,this.h);this.T(b);return new cX(b,function(d,e){return c.query(d,e)})};
var Sla=function(a,b){if(b.Jm){var c=a.h.dc();b=b.la();b.tk=c}c=a.h.wg();null!=c&&(b=b.la(),b.Bk=c);a.G.Dh&&uf&&(c=b.la(),c.Xf=!1,b=c);a.G.lP&&(c=b,b=b.mh.la(),b.h=!1,b=b.la(),b.g=!1,b=b.la(),b.l=!1,b=b.la(),b.j=!1,b=b.la(),b.C=!1,b=bS(c,b));Object.assign({},a.G).gx&&(a=YR(aS(b)).la(),a.mk=null,b=a);CQ(zQ("nJS8jb"))&&(b=aS(b));return b};
MY.prototype.wh=function(){var a=this,b=null;this.onDisconnect.then(function(c){return b=c});return{callDuration:function(){var c=void 0===a.hc?0:(a.jf||Y().g)-a.hc;c=new Date(c);return Ce(c.getUTCHours(),2)+":"+Ce(c.getUTCMinutes(),2)+":"+Ce(c.getUTCSeconds(),2)},callState:function(){return a.getState()},endCause:function(){return b},hangoutId:function(){return a.ib.get()},pid:function(){return a.ha.get()},plid:function(){return a.Kc},sessionId:function(){return OY(a)}}};
MY.prototype.ba=function(){pg(this.M,"Disposing call.");this.disconnect(0);this.V.forEach(function(a){return Ss(a)});gN.prototype.ba.call(this)};MY.prototype.getState=function(){return this.hb};
var PY=function(a,b){b!=a.hb&&(og(a.M,"Call state changed from "+a.hb+" to "+b),a.hb=b,a.g.R(a.Uc,void 0))},OY=function(a){return a.Da.g&&a.Da.g.tb()},QY=function(a,b,c){XW(a.ha)||(a.l.resolve(b),a.Cc.resolve(c))},RY=function(a,b,c,d){og(a.M,"triggerConnected() called. HangoutId: "+c+" ParticipantId: "+d);QY(a,c,d);var e=a.bo();a.T(e);a.oe.resolve(e);a.listen(e,"I",a.ne);kN(a,e,"I",function(){return a.od.attach(function(){return a.ne()},a)});var f=!1;kN(a,e,"I",function(){f=!0});a.od.attach(function(){f&&
a.ne()},a);e=new mS(e,a.Da);a.Gd.resolve(e);a.T(e);a.hc=Y().g;b.resolve();a.Bc.resolve(null);PY(a,2);a.ea.Ph(25);a.Da.connect(c,d,a.fe);og(a.M,"Call connected")};MY.prototype.T=function(a){a=gN.prototype.T.bind(this,a);XW(this.onDisconnect)?a():this.onDisconnect.then(a,a)};var SY=function(a,b){a.wb=kc(b);Aka(a.Da,a.wb);a.Jb.then(function(c){c.s(a.wb)})};
MY.prototype.disconnect=function(a){if(3==this.getState()||4==this.getState())return og(this.M,"disconnect() skipped, already disconnecting."),this.onDisconnect;a=TY.has(a)&&this.Da.Aa?TY.get(a):a;og(this.M,"disconnect() called. Endcause: "+a);this.jf=Y().g;var b=2==this.getState();PY(this,3);this.Da.stop(a);this.ii(b,a);return this.onDisconnect};
MY.prototype.ii=function(a,b){og(this.M,"triggerDisconnected(). Endcause: "+b);a=new UY(b);this.l.reject(a);this.Cc.reject(a);this.oe.reject(a);this.Gd.reject(a);this.Bc.reject(a);this.rb.reject(a);this.ti.reject(a);this.pi.resolve(b);PY(this,4)};MY.prototype.nj=function(a){if(3==this.getState()||4==this.getState())return og(this.M,"addCapture() failed, because we are disconnecting"),!1;var b=ska(this.Da,a);if(b)switch(a.g.Ra){case "a":this.g.R(this.gh,a);break;case "v":this.g.R(this.vi,a)}return b};
var Tla=function(a){return a.Da.m.concat().find(function(b){return"a"===b.ga()})||null},Ola=function(a){Da(function(b){a.dh.attach(function(c){"render first video frame"===c.message&&a.ea.Ph(6,809)});b.g=0})};MY.prototype.El=function(a){a.target==this.Da?"STOPPED"==a.state?(og(this.M,"Disconnect received from session. Endcause: "+a.Rb),this.disconnect(a.Rb)):"INPROGRESS"==a.state&&(this.ea.Ph(5),this.g.R(this.Hm,void 0)):"STARTING"==a.state&&(a=a.target.h.g,XW(this.sessionId)?this.jj(a):this.bj.resolve(a))};
MY.prototype.Rc=function(){this.Aa||(Object.assign({},this.G).gx||Pe||CQ(zQ("hnkCOb"))?this.Aa=new TW(this):this.Aa=new UW(this),this.T(this.Aa));return this.Aa};MY.prototype.ne=function(){var a=this;this.fc||(this.fc=!0,ht(function(){a.fc=!1;var b=a.Jb.get(),c=new Map;a.wb.forEach(function(d){(d=b.Kf(d))&&Array.from(d.g).forEach(function(e){var f=e.Qf;f=1*(null===f?1:f);"a"==e.Ra&&1!==f&&(e=a.Da.za(e))&&c.set(e,f)})});vka(a.Da,c)}))};
MY.prototype.qd=function(a){a=OL(a);var b=this.ib.get();null!=b&&P(a,3,b);b=this.ha.get();null!=b&&P(a,4,b);b=OY(this);null!=b&&P(a,10,b);b=this.Da.g&&this.Da.g.h.g;null!=b&&P(a,2,b)};
var Ula=function(a,b){(b=FG(b).find(function(c){return!!(M(c,2)&1)}))?(a.Oa=M(b,5),a.Ma=M(b,7),a.me=M(b,3)):(a.Oa=-1,a.Ma=-1,a.me=-1)},Vla=function(a,b){if(b=FG(b).find(function(f){return!!(M(f,2)&1)})){var c=M(b,5),d=M(b,7),e=M(b,3);[].concat(p(a.V.keys())).forEach(function(f){-1!=c&&-1!=f.Oa&&(c+=f.Oa);-1!=d&&-1!=f.Ma&&(d+=f.Ma);-1!=e&&(e=Math.max(e,f.me))});P(b,150,c);P(b,151,d);P(b,153,e)}};MY.prototype.logImpression=function(a){xK(this.ka,ZK).then(function(b){return b.logImpression(a)})};
var XY=function(a,b,c){return a.getState()!=b?(mg(a.M,"Unexpected state while in "+c+": "+a.getState()+" != "+b),new VY(302,new WY(b,a.getState()))):null},Wla=function(a){var b=UM(a.h),c=R(b,QA,2);P(c,4,a.Kc);U(b,2,c);return b},Qla=[],WY=function(){var a=Error.call(this);this.message=a.message;"stack"in a&&(this.stack=a.stack)};t(WY,Error);var UY=function(a){var b=Error.call(this,"DisconnectedError, EndCause = "+a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.Rb=a};t(UY,Error);
var LY=function(a){UR.call(this,a.Kc);this.C=a};t(LY,UR);LY.prototype.l=function(a){var b=this;UR.prototype.l.call(this,a);var c=0<this.C.V.size?2:1;if(a=R(a,hG,4))P(a,170,c),(S(a,jG,5)||[]).forEach(function(d){Ula(b.C,d);0<b.C.V.size&&Vla(b.C,d)})};var VY=function(a,b){var c=Error.call(this,"startupCode: "+a+", error = "+Lf(b));this.message=c.message;"stack"in c&&(this.stack=c.stack);this.bA=a;this.Ef=b};t(VY,Error);var TY=new Map([[63,124],[0,123]]);var YY=function(a,b,c){dQ.call(this);this.h=a;this.m=c;this.g=new Map;this.l=new YP(!0);this.l.F=this;this.u=new gN(this);this.T(this.u);this.u.listen(this.m,["ea","ga"],this.D);b.forEach(this.j,this)};t(YY,dQ);var Xla=function(a,b,c){return new YY(a,b,c)};YY.prototype.j=function(a){""==a.Z()&&(a.j=this.h);this.l.add(a)};YY.prototype.Kf=function(a){return""==a||a==this.h?this.l:this.g.get(a)||null};
YY.prototype.s=function(a){var b=this,c=new Set;a.forEach(function(d){if(d!=b.h&&(c.add(d),!b.g.has(d))){var e=new YP;e.F=b;b.g.set(d,e);b.O(new cQ("T",d,e))}});this.g.forEach(function(d,e){c.has(e)||(b.g.delete(e),b.O(new cQ("U",e,d)))});this.D()};
YY.prototype.D=function(){var a=this,b=new Map;this.m.g.l.concat(oka(this.m)).forEach(function(c){var d=c.Z()||a.h,e=c.Ea();e=d+"/"+e;b.has(e)?b.get(e).push(c):(b.set(e,[c]),c=a.Kf(d),null==c&&(c=new YP,a.g.set(d,c),a.O(new cQ("T",d,c))))});b.forEach(function(c){var d=c.find(function(q){return!q.getInfo().Hc()})||c[0],e=d.getInfo();c=e.ga();var f=d.Ea(),g=d.Z()||a.h,h=e.Hc()?"mu":"li",m=a.Kf(g);d=ZP(m,c,f,g);null==d?(d=qO({xj:g,id:f,mediaType:c,state:h}),m.add(d)):pO(d,h);e=e.If();"v"==c&&oO(d,e?
"ca":"sc");Pea(d,e)});this.g.forEach(function(c){Array.from(c.g).forEach(function(d){b.has(Yla(d.Z(),d.getId()))||c.remove(d)})})};var Yla=function(a,b){return a+"/"+b};var ZY=function(a){L(this,a,0,-1,null,null)};w(ZY,J);var Zla=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Ik(b.h);Gl(a,1,c,0);break;case 2:c=F(b);Q(a,2,c);break;default:A(b)}return a};var $Y=function(a){L(this,a,0,-1,$la,null)};w($Y,J);var $la=[7],ama=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=Lk(b);Gl(a,2,c,0);break;case 3:c=Kk(b);Gl(a,3,c,0);break;case 4:c=Mk(b);Hl(a,4,c);break;case 5:c=Ik(b.h);Gl(a,5,c,0);break;case 6:c=F(b);Q(a,6,c);break;case 7:c=new ZY;B(b,c,Zla);Ol(a,7,c,ZY);break;case 8:c=E(b);Il(a,8,c);break;default:A(b)}return a};$Y.prototype.getDeviceId=function(){return N(this,1,"")};
$Y.prototype.vb=function(){return N(this,3,0)};var cZ=function(a){V.call(this);this.h=new eL(this);aZ(a);this.m=a.getDeviceId();N(a,2,0);this.j=a.vb();this.g=O(a,4,!1);Fl(a,5);bZ(a);this.l=Y();this.onUpdated=this.h.signal()};t(cZ,V);cZ.prototype.update=function(a){var b=a.vb();return b>this.j?(this.j=b,this.g=O(a,4,!1),bZ(a),Y(),this.h.R(this.onUpdated,void 0),!0):!1};cZ.prototype.getDeviceId=function(){return this.m};cZ.prototype.isFinal=function(){return this.g};cZ.prototype.getCreationTime=function(){return this.l};
var aZ=function(a){return a.getDeviceId()+"|"+N(a,2,0)},bZ=function(a){S(a,ZY,7).length?S(a,ZY,7).map(function(b){return{text:N(b,2,""),confidence:Fl(b,1)}}):N(a,6,"")&&(N(a,6,""),Fl(a,5))};var dZ=function(a){L(this,a,0,-1,bma,null)};w(dZ,J);var eZ=function(a){L(this,a,0,-1,null,null)};w(eZ,J);var fZ=function(a){L(this,a,0,-1,null,null)};w(fZ,J);var gZ=function(a){L(this,a,0,-1,null,null)};w(gZ,J);var hZ=function(a){L(this,a,0,-1,null,null)};w(hZ,J);var iZ=function(a){L(this,a,0,-1,null,null)};w(iZ,J);var jZ=function(a){L(this,a,0,-1,cma,null)};w(jZ,J);var bma=[5,7,10],dma=function(a,b){return P(a,1,b)},ema=function(a,b){return P(a,2,b)};hZ.prototype.getId=function(){return M(this,1)};
hZ.prototype.getTitle=function(){return M(this,2)};hZ.prototype.setTitle=function(a){return P(this,2,a)};iZ.prototype.sg=function(){return Dl(this,1)};var fma=function(a,b){return P(a,1,b)};iZ.prototype.vg=function(){return Dl(this,2)};var gma=function(a,b){return P(a,2,b)};iZ.prototype.xg=function(){return Dl(this,3)};var hma=function(a,b){return P(a,3,b)};iZ.prototype.ug=function(){return Dl(this,4)};var ima=function(a,b){return P(a,4,b)},cma=[1],jma=function(a){var b=new jZ;return P(b,1,a||[])};
k=dZ.prototype;k.zv=function(){return N(this,1,"")};k.sr=function(a){return P(this,1,a)};k.Nw=function(){return null!=M(this,1)};k.Gb=function(){return N(this,2,"")};k.Vp=function(a){return P(this,2,a)};k.sy=function(){return null!=M(this,2)};k.py=function(){return N(this,3,"")};k.Wp=function(a){return P(this,3,a)};k.Ow=function(){return null!=M(this,3)};k.oy=function(){return N(this,4,"")};k.Up=function(a){return P(this,4,a)};k.Mw=function(){return null!=M(this,4)};
var kZ=function(a,b){return Nl(a,5,b)};dZ.prototype.u=function(){return R(this,fZ,6)};dZ.prototype.l=function(a){return U(this,6,a)};dZ.prototype.F=function(){return null!=M(this,6)};var lZ=function(a,b){return P(a,7,b||[])};k=dZ.prototype;k.Mu=function(){return R(this,gZ,8)};k.Nz=function(a){return U(this,8,a)};k.aw=function(){return null!=M(this,8)};k.Op=function(){return N(this,9,"")};k.Rp=function(a){return P(this,9,a)};k.Wv=function(){return null!=M(this,9)};var mZ=function(a,b){Nl(a,10,b)};
k=dZ.prototype;k.qy=function(){return M(this,11)};k.Xp=function(a){return P(this,11,a)};k.Qw=function(){return null!=M(this,11)};k.Si=function(){return Dl(this,12)};k.Sp=function(a){return P(this,12,a)};k.dw=function(){return null!=M(this,12)};k.Ti=function(){return O(this,13,!1)};k.Tp=function(a){return P(this,13,a)};k.ew=function(){return null!=M(this,13)};k.Pi=function(){return N(this,15,0)};k.Qp=function(a){return P(this,15,a)};k.Vv=function(){return null!=M(this,15)};
k.Oi=function(){return N(this,17,0)};k.Pp=function(a){return P(this,17,a)};k.Uv=function(){return null!=M(this,17)};k.Eu=function(){return R(this,iZ,14)};k.Aj=function(a){return U(this,14,a)};k.Xv=function(){return null!=M(this,14)};k.so=function(){return R(this,jZ,16)};k.Lq=function(a){return U(this,16,a)};k.Zv=function(){return null!=M(this,16)};var nZ=function(a){this.g=a};nZ.prototype.update=function(a,b,c){var d=!1;try{if(this.g.has.call(b)){var e=this.g.get.call(b);e!==this.g.get.call(a)?(this.g.set.call(a,e),d=!0,c&&this.g.signal&&c.add(this.g.signal,e)):this.g.has.call(a)||this.g.set.call(a,e)}}catch(f){Ys(f)}return d};function oZ(a,b,c,d){return c.reduce(function(e,f){return f.update(a,b,d)||e},!1)}function pZ(a){return new nZ(a)};var qZ=dZ.prototype,rZ=function(a){V.call(this);var b=this;this.controller=a;this.h=new dZ;this.g=new eL(this);this.j=gL(this.g);this.K=gL(this.g);this.V=gL(this.g);this.N=gL(this.g);this.u=gL(this.g);this.G=gL(this.g);this.H=gL(this.g);this.s=gL(this.g);this.m=gL(this.g);this.F=gL(this.g);this.D=gL(this.g);this.l=[pZ({has:qZ.Nw,get:qZ.zv,set:qZ.sr,signal:this.N}),pZ({has:qZ.sy,get:qZ.Gb,set:qZ.Vp,signal:this.V}),pZ({has:qZ.Ow,get:qZ.py,set:qZ.Wp}),pZ({has:qZ.Mw,get:qZ.oy,set:qZ.Up,signal:this.K}),
pZ({has:qZ.F,get:qZ.u,set:qZ.l}),pZ({has:qZ.aw,get:qZ.Mu,set:qZ.Nz}),pZ({has:qZ.Wv,get:qZ.Op,set:qZ.Rp,signal:this.u}),pZ({has:qZ.Qw,get:qZ.qy,set:qZ.Xp}),pZ({has:qZ.dw,get:qZ.Si,set:qZ.Sp,signal:this.G}),pZ({has:qZ.ew,get:qZ.Ti,set:qZ.Tp,signal:this.H}),pZ({has:qZ.Vv,get:qZ.Pi,set:qZ.Qp,signal:this.s}),pZ({has:qZ.Uv,get:qZ.Oi,set:qZ.Pp,signal:this.m}),pZ({has:qZ.Xv,get:qZ.Eu,set:qZ.Aj,signal:this.F}),pZ({has:qZ.Zv,get:qZ.so,set:qZ.Lq,signal:this.D})];this.g.R(this.j,this.h);a.Xb.attach(function(c){var d=
c.ek,e=c.Fl,f=c.CA,g=new lL(b.g);c=oZ(b.h,c.Ig,b.l,g);d&&(c=!0,lZ(b.h,d));e&&(c=!0,kZ(b.h,e));f&&(c=!0,mZ(b.h,f));c&&g.add(b.j,b.h.clone());g.R()})};t(rZ,V);rZ.prototype.kh=function(a,b){return fO(this,function d(){var e=this;return Ba(d,function(f){return f.return(e.controller.kh(a,b))})})};rZ.prototype.Kh=function(){return fO(this,function b(){var c=this;return Ba(b,function(d){return d.return(c.controller.Kh())})})};
ea.Object.defineProperties(rZ.prototype,{features:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!==(b=null===(a=this.h.so())||void 0===a?void 0:M(a,1))&&void 0!==b?b:[]}},Zt:{configurable:!0,enumerable:!0,get:function(){return this.h.Op()}}});var sZ=function(a){L(this,a,0,-1,null,null)};w(sZ,J);sZ.prototype.Ha=function(){return N(this,2,0)};var tZ=function(a){L(this,a,0,-1,kma,null)};w(tZ,J);var kma=[1];var uZ=function(a){V.call(this);this.controller=a;this.g=new eL(this);this.Rh=gL(this.g);this.h=gL(this.g);this.g.R(this.Rh,new tZ);lV(this.g,this.Rh,this.controller.Rh);lV(this.g,this.h,this.Rh,lma)};t(uZ,V);uZ.prototype.Cn=function(a){return this.controller.Cn(a)};function mma(a){return 3===a.Ha()||2===a.Ha()}function lma(a){return S(a,sZ,1).filter(mma)};var wZ=function(a,b,c,d){MY.call(this,a,b,d);var e=this;this.Pa.resolve(!1);this.F=!1;this.H=new YW;this.j=this.H.g;this.Na=null;this.Y=!1;this.W=new YW;this.jb=this.W.g;this.jb.then(function(f){f.onChange.attach(function(){return vZ(e,f)},e);vZ(e,f)});this.qa=new YW;this.sources=this.qa.g;this.u={};this.xa=this.D=this.s=null;this.m={ib:"",ha:"",cookie:null};this.K=null;xK(a,QW,!1).then(function(f){e.K=f});c&&this.sa(c)};t(wZ,MY);
var vZ=function(a,b){SY(a,b.get().map(function(d){return d.Z()}));var c=a.ha.get();c&&(b=!!b.get().find(function(d){return d.Z()===c}),a.Y&&!b?a.disconnect(21):!a.Y&&b&&(a.Y=!0))};
wZ.prototype.Mi=function(){var a=void 0===a?{}:a;var b=XY(this,0,"preJoin");if(b)return st(b);var c=a.name;a=a.mediaType;if(c){a=this.ka;b=this.h;if(td(c))c=[];else{var d=/([^/]*)\/(.*)/.exec(c);c=d?d.slice(1):[c]}d=c;if(0==d.length)c=new wB,a=dO(a,b,c);else if(1==d.length)a=rt(cO(a,b,d[0]));else{c=new NB;if(-1==d[0].indexOf(".")){var e=new qB;e=P(e,2,d[1]);d=P(e,1,d[0]);U(c,2,d)}else e=new LB,e=P(e,1,d[1]),d=P(e,2,d[0]),U(c,4,d);a=eO(a,b,c,6E5)}}else if(a)b=this.ka,c=this.h,d=new wB,d=P(d,2,7),a=
P(d,14,a),a=dO(b,c,a);else return rt();return this.Na=a};
wZ.prototype.connect=function(a,b){return this.si.then(function(){og(this.M,"connect() was called");if(0!=this.getState())return mg(this.M,"connect() failed. Not in INITIALIZED. State: "+this.getState()),st(new WY(0,this.getState()));var c=zt();PY(this,1);if("string"===typeof a){pg(this.M,"Skipping Hangout resolution");var d=cO(this.ka,this.h,a);xZ(this,c,d,b||null)}else a?nma(this,c,a,b):c.reject(Error("Can only connect without params for secondary calls"));return c.promise},void 0,this)};
var oma=function(a){var b,c;return Da(function(d){if(1==d.g)return u(d,a.Na,2);b=d.h;c=sN(b.l).ta()||"";return d.return(Promise.resolve(bO(a.ka,a.h,[c],YK(),PK,"j","HangoutParticipant")))})},nma=function(a,b,c,d){pg(a.M,"Resolving Hangout");c.then(function(e){xZ(this,b,e,d||null)},function(e){mg(this.M,"Hangout resolve failed, reverting to INITIALIZED state");PY(this,0);b.reject(new VY(306,e))},a)},xZ=function(a,b,c,d){var e=sN(c.l).ta();pg(a.M,"connectToHangout(). HangoutId: "+e);1!=a.getState()?
(mg(a.M,"connectToHangout() failed, not in CONNECTING state. State: "+a.getState()),b.reject(new VY(302,new WY(1,a.getState()))),Ss(c)):(a.m.ib=e,a.m.ha=d||"",a.D=wv(yg(),"beforeunload",a.Ep,!1,a),a.xa=wv(yg(),"unload",a.Ep,!1,a),a.Ca(e,d,b,c,0))};wZ.prototype.jj=function(){};
wZ.prototype.Ca=function(a,b,c,d,e){this.sessionId.then(function(f){var g=bO(this.ka,this.h,[a],YK(),PK,"j","HangoutParticipant");pg(this.M,"Adding participant");var h=g.ob();P(h,26,[f]);td(b||"")||h.l(b);pma(this,h,c,d,g,e)},void 0,this)};
var pma=function(a,b,c,d,e,f){e.add(b).then(function(g){var h={Pt:g,KP:!1},m=h.Pt[0],q=m.ta();g=m.Z();a.m.ha=g;var r=a.getState();if(1!=r){mg(a.M,"add participant succeeded, but we are no longer CONNECTING. State: "+a.getState());h=302;if(63==a.s||3==r||4==r)h=219;c.reject(new VY(h,new WY(1,a.getState())));h=new BB;h.u(q);h.l(g);e.remove(h).then(a.Hi,null,a);Ss(d);Ss(e)}else og(a.M,"add participant succeeded"),10==N(m,17,0)?(og(a.M,"participant in knocking state"),30>f?(og(a.M,"will attempt again after delay"),
Qv(1E3).then(Ya(a.Ca,a,q,g,c,d,f+1))):(og(a.M,"max knock attempt, failing join"),a.Dp(c,d,e,234))):(og(a.M,"success adding and not a knock result"),q=sN(d.l).ta(),a.H.resolve(d),a.W.resolve(e),a.T(d),a.T(e),a.gb=h.sources,RY(a,c,q,g),d.start(void 0,h.xP),e.start(void 0,h.jb))},Ya(a.Dp,a,c,d,e))};k=wZ.prototype;
k.Dp=function(a,b,c,d){this.Hi();1==this.getState()?(mg(this.M,"add participant failed, moving back to INITIALIZED state"),PY(this,0)):mg(this.M,"add participant failed, but call already disconnected");Ss(b);Ss(c);a.reject(new VY(qma(this,d),d))};k.wh=function(){var a=this;return Object.assign(MY.prototype.wh.call(this),{hangout:function(){return a.j.get()&&a.j.get().Ba()},participants:function(){return a.jb.get()&&a.jb.get().Ba()},mediaSources:function(){return a.sources.get()&&a.sources.get().Ba()}})};
k.bo=function(){var a=this,b=Mea(this.ka,this.h,this.ib.get());this.T(b);this.qa.resolve(b);b.start(void 0,this.gb);b.onChange.attach(function(c){return rma(a,c.nc)},this);return dla(this.ha.get(),b,this.jb.get(),this.Da.m.concat().map(function(c){return c.g}),this.Da)};
k.ii=function(a,b){var c=this;this.s=b;this.m.cookie=this.h.h.h.g;var d=rt();if(a&&!this.F){og(this.M,"Removing participant on disconnect");d=new BB;d.u(this.ib.get());d.l(this.ha.get());var e={};e=(e.jYdIne=b,e);d=this.jb.get().remove(d,e,2).then(this.Hi,null,this)}Ct(d,function(){c.h.h.h.g=null;MY.prototype.ii.call(c,a,b)});Fc(this.u,Ss);Pc(this.u);d=new UY(b);this.H.reject(d);this.W.reject(d);this.qa.reject(d);null!=this.j.get()&&this.j.get().stop();null!=this.jb.get()&&this.jb.get().stop();null!=
this.sources.get()&&this.sources.get().stop()};k.nj=function(a){if(3==this.getState()||4==this.getState())return og(this.M,"addCapture() failed, because we are disconnecting"),!1;var b=this.u[a.g.getId()];if(b&&b.h.includes(a))return mg(this.M,"HangoutCall.addCapture() failed because we already have this capture"),!1;b||(b=new VP(this),this.u[a.g.getId()]=b);b.listen(a.g,["H","I","J","K"],b.D);b.h.push(a);XP(b);return MY.prototype.nj.call(this,a)};
k.Eo=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,oW).then(function(c){return function(){return c(a)}}))})};k.Fo=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,ela).then(function(c){return function(){return c(a)}}))})};k.co=function(){var a=this,b;return Da(function(c){b=new eL(a);return c.return(new uZ({Rh:gL(b),Cn:function(){return st("unsupported")}}))})};
k.Zn=function(){var a=this,b,c,d,e;return Da(function(f){b=new eL(a);c=function(){return Promise.reject("Unsupported")};d=function(){return Promise.reject("Unsupported")};e=function(){return Promise.reject("Unsupported")};return f.return(new rZ({Xb:gL(b),kh:c,Kh:d,Aj:e}))})};k.ao=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,fla).then(function(c){return c(a)}))})};k.Hi=function(){null!=this.D&&Gv(this.D);null!=this.xa&&Gv(this.xa)};
k.Ep=function(){this.Hi();var a=M(this.h.g,12),b=null!=this.s?this.s:63;if(null!=a){var c=new BE;P(c,5,b);var d=new yE;d.l(this.m.ib);td(this.m.ha)||d.u(this.m.ha);CE(c,[d]);c.setRequestHeader(Wla(this));d=new Wl;U(d,3,this.m.cookie||this.h.h.h.g);c.J(d);c=c.va();d=(this.K?yZ(this.K,this):[]).map(function(f){return f.va()});if(null!=navigator.sendBeacon){var e=new URLSearchParams;e.append("r",c);d.forEach(function(f){e.append("l",f)});this.F=navigator.sendBeacon(a,e)}this.F||(a=or(a,"r",c),a=or(a,
"l",d),c=bw($v),c.open("GET",a,!1),c.send(null));this.F=!0}this.disconnect(b)};
var qma=function(a,b){var c=null,d=null;try{c=b.response.Mb,d=c[0]}catch(f){}var e;"chparp"===d?(b=new SD(c),(c=b.getResponseHeader())&&(e=10==c.Ha()?sma[M(b,4)]||209:tma[c.Ha()])):"number"===typeof b&&(e=b);return void 0!==e?e:63==a.s||3==a.getState()||4==a.getState()?219:302},rma=function(a,b){var c=a.ha.get(),d=b.filter(function(f){return f.Z()===c}),e=(b=a.Da.m.concat().find(function(f){return"a"===f.g.Ra}))&&b.g.getId();if(d=(d=e&&d.find(function(f){return f.Ea()===e}))&&R(d,XC,6)&&M(R(d,XC,
6),1))lW(b),a.g.R(a.Ec,{yz:d}),a.logImpression(990)},sma={1:200,2:201,3:202,4:206,5:207,6:209,7:216,11:223,17:235,12:236,13:237,14:238,15:239,16:240},tma={1:0,2:307,3:303,4:217,5:305,6:307,7:307,8:306,11:217};var AZ=function(a,b,c){iS.call(this,a,c,1);var d=this;this.j=b;this.m=new gN;this.T(this.m);this.m.listen(this.g,"Q",function(){var e=d.g;var f=d.j;e=e.bb?e.za():eW(e,f);null!=e&&d.O(new zZ(d.j,e))})};t(AZ,iS);AZ.prototype.s=function(){return this.j};var zZ=function(a,b){W.call(this,"cb");this.sessionId=a;this.stream=b};t(zZ,W);function uma(){var a=Ne();return a&&a.mediaDevices&&a.mediaDevices.enumerateDevices?rt(a.mediaDevices.enumerateDevices()):rt([])}function vma(a){var b=Ne();return b&&b.mediaDevices&&b.mediaDevices.getUserMedia?rt(b.mediaDevices.getUserMedia(a)):st("Missing getUserMedia API.")};var BZ=function(a){this.deviceId=a.s;this.j=a.C;this.groupId=a.l;this.l=a.u;this.m=a.m};BZ.prototype.equals=function(a){return a===this?!0:a&&this.deviceId===a.deviceId?pf?!0:"default"===this.deviceId||"communications"===this.deviceId?this.j===a.j&&this.groupId===a.groupId:!0:!1};BZ.prototype.toString=function(){return"MediaSettings(deviceId="+this.deviceId+",deviceLabel="+this.j+",groupId="+this.groupId+")"};
BZ.prototype.C=function(a){return void 0===a||a?{deviceId:{exact:this.deviceId}}:{mandatory:{sourceId:this.deviceId},optional:[]}};var CZ=function(a){this.s=a?a.deviceId:null;this.C=a?a.j:null;this.l=a?a.groupId:null;this.u=a?a.l:null;this.m=a?a.m:0};CZ.prototype.ia=function(){return new BZ(this)};CZ.prototype.j=function(a){this.l=a;return this};function wma(a){a=a instanceof Error&&a.name;return"NotAllowedError"===a||"PermissionDeniedError"===a||"PermissionDismissedError"===a}function xma(a){a=a instanceof Error&&a.name;return"NotReadableError"===a||"TrackStartError"===a}
function yma(a){var b;if(b=Ie()){b=fe;var c="";ie("Windows")?(c=/Windows (?:NT|Phone) ([0-9.]+)/,c=(b=c.exec(b))?b[1]:"0.0"):He()?(c=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,c=(b=c.exec(b))&&b[1].replace(/_/g,".")):Ie()?(c=/Mac OS X ([0-9_.]+)/,c=(b=c.exec(b))?b[1].replace(/_/g,"."):"10"):-1!=fe.toLowerCase().indexOf("kaios")?(c=/(?:KaiOS)\/(\S+)/i,c=(b=c.exec(b))&&b[1]):ie("Android")?(c=/Android\s+([^\);]+)(\)|;)/,c=(b=c.exec(b))&&b[1]):Je()&&(c=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,c=(b=c.exec(b))&&
b[1]);b=0<=Fd(c||"",10.14)}if(!(b&&a&&a instanceof Error&&a.name))return!1;if(me())if(0<=Fd(oe(),73)){if("NotAllowedError"==a.name&&"Permission denied by system"==a.message)return!0}else{if("NotReadableError"==a.name)return!0}else if(le()&&"NotFoundError"==a.name)return!0;return!1};var zma=l(["",""]),EZ=function(a,b,c){FO.call(this,b);var d=this;this.M=aR(YQ(new WQ("realtime.media.api.webrtc.Capture"),function(e){return e(zma,d)}));this.Na=new eL(this);this.ka=a;this.wb=xK(a,$K);this.j=c;this.l=this.u=this.H=this.ja=null;this.s=new Set;this.N=new Map;this.G=this.Y=!1;this.qb=null;this.sa=this.Aa=!1;this.Ma=this.Pa=this.Oa=this.K=null;this.Ca=!1;this.Jb=this.Na.signal();this.bb=CQ(zQ("nlZjzc"));this.W=new Set;this.rb=[];this.ea=[];this.oa=new DZ;Ama(this)};t(EZ,FO);
EZ.prototype.ba=function(){this.stop();FZ(this,null);this.s.clear();this.qb=null;Ss(this.oa);FO.prototype.ba.call(this)};EZ.prototype.toString=function(){return"Capture(source="+this.g+" muted="+this.Y+" paused="+this.G+" deviceState="+this.h+" stream="+(this.l?this.l.id:null)+")"};
var Bma=l(["Stopping stream with id=",""]),GZ=function(a,b){b&&(a.M.info(Bma,b.id),[].concat(p(b.getAudioTracks()),p(b.getVideoTracks())).forEach(function(c){Hv(c);c.stop()}))},Cma=l(["Starting media."]),HZ=function(a){a.M.info(Cma);a.D("re");a.m().then(xc(a))},Dma=l(["Updating device state to: ",""]);EZ.prototype.D=function(a){this.M.info(Dma,a);var b=this.Vb();FO.prototype.D.call(this,a);"nd"===a&&FZ(this,null);this.Vb()!==b&&(IZ(this),this.Vb()?FZ(this,null):this.m())};
EZ.prototype.getDeviceId=function(){return this.j.deviceId};EZ.prototype.op=function(){return this.qb};var eW=function(a,b){return a.l?a.N.get(b)||null:null};EZ.prototype.za=function(){return this.l};var Uia=function(a,b,c){return new AZ(a,b,c)},Ema=l(["Registering sessionId=","."]),Fma=l(["Called registerSession() twice with the same sessionId='","'"]);
EZ.prototype.hb=function(a){this.M.info(Ema,a);0===this.s.size&&this.resume();if(this.s.has(a))throw this.M.pa(Fma,a),Error("Called registerSession() twice with the same sessionId='"+a+"'");this.s.add(a);this.l&&JZ(this,a,this.l)};var Gma=l(["Unregistering sessionId=","."]);EZ.prototype.xa=function(a){this.M.info(Gma,a);this.s.delete(a);var b=eW(this,a);GZ(this,b);this.N.delete(a);this.W.delete(a);0>=this.s.size&&this.pause()};var Hma=l(["Stopping."]);
EZ.prototype.stop=function(){if("st"===this.h)return!1;this.M.info(Hma);FZ(this,null);this.s.clear();this.D("st");return!0};var lW=function(a){if("st"==a.h)return!1;KZ(a,!0);return!0};EZ.prototype.start=function(){HZ(this)};EZ.prototype.Vb=function(){switch(this.h){case "nd":case "ad":case "fa":return!0;default:return this.Y}};var Ima=l(["Setting mute state to mute=","."]),KZ=function(a,b){a.M.info(Ima,b);var c=a.Vb();a.Y=b;c!=b&&(b?FZ(a,null):a.m(),IZ(a),a.O("O"))},Jma=l(["Pausing."]);
EZ.prototype.pause=function(){this.G||"st"==this.h||(this.M.info(Jma),this.G=!0,FZ(this,null))};var Kma=l(["Resuming."]);EZ.prototype.resume=function(){this.G&&"st"!=this.h&&(this.M.info(Kma),this.G=!1,this.m())};
var Lma=l(["Update source state from "," to ",""]),IZ=function(a){var b=a.g.getState(),c=a.Vb()?"mu":"li";b!==c&&(a.M.info(Lma,b,c),pO(a.g,c))},Mma=l(["Skipping update usermedia while device in state=","."]),Nma=l(["Skipping update usermedia because capture is paused."]),Oma=l(["Skipping update usermedia because capture is muted."]),Pma=l(["Skipping update usermedia because settings were unchanged and the track has not failed."]),Qma=l(["Attempting to update usermedia with null constraints."]),Rma=
l(["Skipping update usermedia with empty constraints."]),Sma=l(["Attempting to update usermedia with id="," settings="," constraints=","."]),Tma=l(["During update usermedia with id="," capture settings changed to ","."]),Uma=l(["During update usermedia with id="," capture was muted."]),Vma=l(["Update usermedia success with id=","."]),Wma=l(["Error during update usermedia call with id="," constraints=",": ","."]),Xma=l(["Ignore getUserMedia failure with id="," as we are still in the failure delay period."]),
Yma=l(["Unexpected getUserMedia failure with id=",". Delaying transitioning capture to failure."]),Zma=l(["getUserMedia still has not succeeded after delay. About to make one final explicit attempt."]),$ma=l(["Clearing pending getUserMedia request with id=","."]);
EZ.prototype.m=function(a,b){var c=this;a=void 0===a?!0:a;b=void 0===b?!1:b;if(this.H)return Dt(this.H,Ma).then(function(){return c.m(a,b)});var d=this.h;"fa"!=this.h&&"ad"!=this.h||this.D("re");if("re"!=this.h)return this.M.info(Mma,this.h),rt();if(this.G)return this.M.info(Nma),rt();if("re"==d&&this.Y)return this.M.info(Oma),rt();if(this.l&&this.ja&&this.ja.equals(this.j)&&!this.Aa)return this.M.info(Pma),rt();if(this.j.l)return this.j.l==this.u?rt():LZ(this,this.j.l);var e=ana(this);if(!e)return this.M.pa(Qma),
st("Attempting to update usermedia with null constraints.");if(Oc(e))return this.M.info(Rma),rt();var f=this.j;b&&(FZ(this,null),MZ(this,null));this.ja=f;var g=bna++;this.M.info(Sma,g,this.j,Fa.JSON.stringify(e));var h=this.g.Ra;"a"==h?this.logImpression(4799):"v"==h&&this.logImpression(4796);this.H=vma(e).then(function(m){c.Ma=null;c.Ca=!1;"a"==h?c.logImpression(4800):"v"==h&&c.logImpression(4797);NZ(c);c.G||!c.j.equals(f)||"st"===c.h?(c.M.info(Tma,g,c.j),GZ(c,m)):c.Y?(c.M.info(Uma,g),GZ(c,m)):(c.M.info(Vma,
g),LZ(c,m))},function(m){c.M.L(Wma,g,Fa.JSON.stringify(e),m);m&&(c.Ma=m,cna(c,h,m.name));yma(m)?(NZ(c),c.Ca=!0,"a"==h?c.logImpression(5802):"v"==h&&c.logImpression(5803),c.D("ad")):wma(m)?(NZ(c),c.D("ad")):xma(m)&&a?null!==c.K?c.M.L(Xma,g):(c.M.L(Yma,g),c.ja=null,c.K=setTimeout(function(){c.K=null;c.M.L(Zma);c.logImpression(4578);c.m(!1,b)},2E3)):c.D("fa");throw m;});dna(this,this.H);Ct(this.H,function(){c.M.info($ma,g);c.H=null});return this.H};
var dna=function(a,b){var c=setTimeout(function(){a.Na.R(a.Jb,void 0)},5E3);Ct(b,function(){clearTimeout(c)})},ena=l(["Cancelling pending failure timer since getUserMedia eventually succeeded after delay."]),NZ=function(a){null!==a.K&&(clearTimeout(a.K),a.K=null,a.M.info(ena))},fna=l(["Return empty user media constraints with null deviceId."]),gna=l(["Invalid mediaType=","."]),ana=function(a){if(null==a.getDeviceId()||a.getDeviceId()===ila.id)return a.M.info(fna),{};var b={audio:!1,video:!1},c=a.g.Ra;
switch(c){case "a":b.audio=a.j.C(!tf);break;case "v":b.video=a.j.C();break;default:return a.M.pa(gna,c),null}return b},hna=l(["getUserMedia success for stream=","."]),ina=l(["No media tracks for stream=","."]),LZ=function(a,b){a.M.info(hna,b.id);$a();if(0==b.getAudioTracks().length&&0==b.getVideoTracks().length)return a.M.L(ina,b.id),rt();FZ(a,null);[].concat(p(b.getAudioTracks()),p(b.getVideoTracks())).forEach(function(c){xv(c,"ended",a.Eb,void 0,a);xv(c,["mute","unmute"],a.gb,void 0,a)});jna(a);
FZ(a,b);a.gb();kna(a,b);lna(a,b);return rt()};EZ.prototype.Eb=function(){this.O("L")};var jna=function(a){!1!==a.Aa&&(a.Aa=!1,a.O("M"))};EZ.prototype.gb=function(){var a=mna(this);a!==this.sa&&(this.sa=a,this.O("N"))};var mna=function(a){if(!a.u)return!1;a=[].concat(p(a.u.getAudioTracks()),p(a.u.getVideoTracks()));return 0!=a.length&&a.every(function(b){return b.muted})};EZ.prototype.Yk=function(){return this.sa};
var nna=function(a,b){var c=b.u;if(a.bb&&c)if(b.h)a.W.has(c)&&a.za()&&(JZ(a,c,a.za()),a.W.delete(c),a.O("Q"));else if(b=eW(a,c))GZ(a,b),a.N.delete(c),a.W.add(c)},ona=l(["Capture's StreamTransformer threw while setting it's input stream."]),FZ=function(a,b){if(b!=a.u){var c=a.u;a.u=b;try{OZ(a.oa,b)}catch(d){throw ZQ(a.M,d).pa(ona),d;}finally{GZ(a,c),a.rb.forEach(function(d){return GZ(a,d)}),a.rb.length=0}}},pna=l(["Stream changed with new stream=","."]),MZ=function(a,b){b!==a.l&&(a.ea.push.apply(a.ea,
p([a.l].concat(p(a.N.values())).filter(Boolean))),a.N.clear(),a.W.clear(),b?(qna(a),a.s.forEach(function(c){JZ(a,c,b)})):PZ(a),a.M.info(pna,b&&b.id),a.l=b,a.O("Q"))},rna=l(["UI call to release old streams timed out"]),qna=function(a){setTimeout(function(){0<a.ea.length&&(a.M.L(rna),PZ(a))},3E3)},PZ=function(a){a.ea.forEach(function(b){return GZ(a,b)});a.ea.length=0},Ama=function(a){OZ(a.oa,a.u);oL(a.oa.j,function(b){MZ(a,b?b.clone():null)},a)},JZ=function(a,b,c){c=c.clone();a.N.set(b,c)};
EZ.prototype.logImpression=function(a){this.wb.then(function(b){b.logImpression(a)})};
var sna=l(["echoCancellation=",""]),kna=function(a,b){b=b.getAudioTracks().map(function(c){return c.getSettings().echoCancellation}).filter(function(c){return"boolean"===typeof c});0!==b.length&&(b=b.some(function(c){return!c}),b!==a.Oa&&(a.Oa=b,a.logImpression(b?4705:4706),a.M.info(sna,!b)))},tna=l(["echoCancellationType=none (unknown)"]),una=l(["echoCancellationType=",""]),lna=function(a,b){b=b.getAudioTracks();if(0!==b.length){var c=b.map(function(e){return e.getSettings().echoCancellationType}).filter(function(e){return e});
if(0===c.length)a.logImpression(5286),a.M.info(tna);else{b=tf&&hq(74)?new Map([["browser",5289],["system",5288]]):new Map([["browser",5287],["aec3",5289],["system",5288]]);var d=Array.from(b.keys());c=c.sort(function(e,f){return d.indexOf(f)-d.indexOf(e)})[0];a.Pa!=c&&(a.Pa=c,a.logImpression(b.get(c)||5286),a.M.info(una,c))}}},cna=function(a,b,c){"a"==b?(a.logImpression(4801),QZ.has(c)?a.logImpression(QZ.get(c).audio):a.logImpression(4471)):"v"==b&&(a.logImpression(4798),QZ.has(c)?a.logImpression(QZ.get(c).video):
a.logImpression(4943))},DZ=function(){V.call(this);this.g=new eL(this);this.j=gL(this.g);this.h=null};t(DZ,V);
var OZ=function(a,b){a.h=b;a.g.R(a.j,a.h)},bna=0,QZ=new Map([["AbortError",{audio:4460,video:4936}],["NotAllowedError",{audio:4461,video:4937}],["NotFoundError",{audio:4462,video:4938}],["NotReadableError",{audio:4463,video:4939}],["OverconstrainedError",{audio:4464,video:4940}],["SecurityError",{audio:4465,video:4941}],["TypeError",{audio:4466,video:4942}],["PermissionDeniedError",{audio:4475,video:4944}],["InvalidStateError",{audio:4476,video:4945}],["DevicesNotFoundError",{audio:4477,video:4946}],
["ConstraintNotSatisfiedError",{audio:4478,video:4947}],["TrackStartError",{audio:4479,video:4948}],["MediaDeviceFailedDueToShutdown",{audio:4480,video:4949}],["MediaDeviceKillSwitchOn",{audio:4481,video:4950}]]);var RZ=function(a){this.width=a.j;this.height=a.h;this.frameRate=a.g};RZ.prototype.toString=function(){return"VideoShape(width="+this.width+", height="+this.height+", frameRate="+(this.frameRate+")")};RZ.prototype.toJson=function(){return{width:this.width,height:this.height,frameRate:this.frameRate}};RZ.prototype.equals=function(a){return!!a&&this.width==a.width&&this.height==a.height&&this.frameRate==a.frameRate};var SZ=function(){this.g=this.h=this.j=null};SZ.prototype.ia=function(){return new RZ(this)};
var TZ=function(a,b){a.j=b;return a},UZ=function(a,b){a.h=b;return a},VZ=function(a,b){a.g=b;return a};var WZ=function(a){BZ.call(this,a);this.h=a.h;this.g=a.g};t(WZ,BZ);WZ.prototype.equals=function(a){return BZ.prototype.equals.call(this,a)&&a instanceof WZ?this.h.equals(a.h)&&this.g.equals(a.g):!1};WZ.prototype.toString=function(){return"VideoSettings(base="+BZ.prototype.toString.call(this)+", minVideoShape="+(this.h+", maxVideoShape=")+(this.g+")")};
WZ.prototype.C=function(){var a=BZ.prototype.C.call(this);uf?(a.aspectRatio=16/9,a.height=this.g.height,a.width=this.g.width,a.frameRate=this.g.frameRate):a.advanced=[{frameRate:{min:this.h.frameRate}},{height:{min:this.h.height}},{width:{min:this.h.width}},{frameRate:{max:this.g.frameRate}},{width:{max:this.g.width}},{height:{max:this.g.height}},{aspectRatio:{exact:16/9}}];return a};var XZ=function(a){CZ.call(this,a);this.h=a?a.h:null;this.g=a?a.g:null};t(XZ,CZ);XZ.prototype.ia=function(){return new WZ(this)};var ZZ=function(a){L(this,a,0,-1,null,YZ)};w(ZZ,J);var YZ=[[1,2]];var $Z=function(a){L(this,a,0,-1,null,null)};w($Z,J);$Z.prototype.Ia=function(){return M(this,1)};$Z.prototype.u=function(a){return P(this,1,a)};$Z.prototype.ub=function(){return M(this,2)};$Z.prototype.l=function(a){return P(this,2,a)};var a_=function(a){L(this,a,0,-1,null,null)};w(a_,J);a_.prototype.Ia=function(){return M(this,1)};a_.prototype.u=function(a){return P(this,1,a)};a_.prototype.l=function(){return M(this,2)};a_.prototype.F=function(a){return P(this,2,a)};var b_=function(a){L(this,a,0,-1,null,null)};w(b_,J);b_.prototype.u=function(){return M(this,1)};b_.prototype.l=function(a){return P(this,1,a)};var c_=function(a){L(this,a,0,-1,null,null)};w(c_,J);c_.prototype.u=function(){return M(this,1)};c_.prototype.l=function(a){return P(this,1,a)};var d_=function(a){L(this,a,0,-1,null,null)};w(d_,J);d_.prototype.Ia=function(){return M(this,1)};d_.prototype.l=function(a){return P(this,1,a)};/*

 Copyright (C) 2010 The Libphonenumber Authors.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
var f_=function(a){gN.call(this);var b=this;this.h=new eL(this);this.j=a;this.m=this.h.signal();this.D=this.h.signal();this.F=this.h.signal();this.s=this.h.signal();this.u=gL(this.h);this.l=this.h.signal();this.j.then(function(c){b.listen(c,"D",function(){e_(b,c.s())})})};t(f_,gN);f_.prototype.getId=function(){return this.g?this.g.Ia()||"":""};f_.prototype.Gb=function(){return this.g?this.g.Gb()||"":""};
f_.prototype.Dd=function(a){var b=new oJ;a&&Q(b,1,a);var c=new uJ;c.Dd(b);return this.j.then(function(d){var e=d.ob();U(e,6,c);return zN(d,e)})};
var e_=function(a,b){var c=a.g;a.g=b;var d=c&&DJ(c),e=b&&DJ(b),f=new lL(a.h),g=d&&N(d,3,"");e=e&&N(e,3,"");g!==e&&f.add(a.m,{Zt:e});g=d&&S(d,rJ,9)||[];e=(e=a.g&&DJ(a.g))&&S(e,rJ,9)||[];tc(g,e)||f.add(a.D,{gQ:e});g=d&&R(d,pJ,2);e=(e=a.g&&DJ(a.g))&&R(e,pJ,2);g!==e&&f.add(a.F,{YP:e});g=d&&N(d,8,"");e=(e=a.g&&DJ(a.g))&&N(e,8,"");g!==e&&f.add(a.s,{QP:e});d=(d=d&&d.Rc())?N(d,1,"")||null:null;g=(g=(g=a.g&&DJ(a.g))&&g.Rc())?N(g,1,"")||null:null;d!==g&&f.add(a.u,{XP:g});c=c&&R(c,zJ,14);b=b&&R(b,zJ,14);Sl(c,
b)||f.add(a.l,{gP:b});f.R()};var g_=function(a){L(this,a,0,-1,null,null)};w(g_,J);var vna=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Il(a,1,c);break;default:A(b)}return a};g_.prototype.getState=function(){return N(this,1,0)};var i_=function(a){L(this,a,0,-1,null,h_)};w(i_,J);var h_=[[1,2]];var k_=function(a){gN.call(this);this.h=new eL(this);this.D=this.h.signal();this.G=this.h.signal();this.u=this.h.signal();this.F=this.h.signal();this.j=new Map;this.m=a;this.l=!1;this.g=null;this.s=new j_(this);this.listen(this.m,"ga",this.Cm)};t(k_,gN);k=k_.prototype;k.ba=function(){l_(this);gN.prototype.ba.call(this)};k.Se=function(){return!Pe&&(!pf||hq(71))};k.isEnabled=function(){return this.l};k.setEnabled=function(a){this.C()||a===this.isEnabled()||(this.l=a,this.Cm(),this.h.R(this.D,a))};
k.Cm=function(){var a=this.m.g,b=!!a&&wna.has(a.getState());!this.g||this.l&&b||l_(this);!this.g&&this.l&&b&&(this.g=xna(this,a))};
var xna=function(a,b){var c=b.lp("captions");c.m.attach(function(d){d=new Jk(d.data);for(var e=new i_;y(d)&&!x(d);)switch(d.g){case 1:var f=new $Y;B(d,f,ama);Ml(e,1,h_[0],f);break;case 2:f=new g_;B(d,f,vna);Ml(e,2,h_[0],f);break;default:A(d)}if(null!=M(e,1))if(d=R(e,$Y,1),e=aZ(d),f=a.j.get(e))f.update(d);else{d=new cZ(d);for(a.j.set(e,d);100<a.j.size;)f=n(a.j.entries().next().value),e=f.next().value,f=f.next().value,a.j.delete(e),Ss(f);a.h.R(a.u,d)}else if(null!=M(e,2))d=R(e,g_,2),2===d.getState()&&
(a.setEnabled(!1),a.h.R(a.G,!0)),a.h.R(a.F,d.getState());else throw Error("Received unknown data from MR");},a);Ct(c.h.promise,function(){c===a.g&&(a.g=null,a.Cm())});return c},l_=function(a){a.g&&(Ss(a.g),a.g=null,a.j.forEach(function(b){return Ss(b)}),a.j.clear())},j_=function(a){this.g=a};j_.prototype.Md=function(a){if(!this.g.C()){var b=new xG;var c=this.g.isEnabled();b=P(b,1,c);b=P(b,2,1);U(a,183,b)}};var wna=new Set(["STARTED","INPROGRESS","PAUSED"]);chrome.i18n.getMessage("1357613175217093000");
chrome.i18n.getMessage("6059827222498628373");chrome.i18n.getMessage("6535001742079940477");chrome.i18n.getMessage("6432014673129909780");chrome.i18n.getMessage("9022968151411721531");chrome.i18n.getMessage("8698028074857852031");var m_=function(a){L(this,a,0,-1,null,null)};w(m_,J);m_.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);b=R(this,oI,2);null!=b&&I(a,2,b,EI);(b=O(this,3,!1))&&kl(a,3,b);return cl(a)};m_.prototype.Ia=function(){return N(this,1,"")};var n_=function(a){L(this,a,0,-1,null,null)};w(n_,J);n_.prototype.l=function(){var a=new Zk;var b=this.getDeviceId();0<b.length&&H(a,1,b);return cl(a)};n_.prototype.getDeviceId=function(){return N(this,1,"")};var o_=function(a){L(this,a,0,-1,null,null)};w(o_,J);o_.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);return cl(a)};o_.prototype.Ia=function(){return N(this,1,"")};var yna=function(a,b){return Q(a,1,b)};var p_=function(a){L(this,a,0,-1,zna,null)};w(p_,J);var zna=[1];var q_=function(a){L(this,a,0,-1,null,null)};w(q_,J);q_.prototype.l=function(){var a=new Zk;var b=R(this,oI,1);null!=b&&I(a,1,b,EI);return cl(a)};var Ana={Yb:"CreateMeetingDevice",sc:m_.prototype.l,lc:xI},Bna={Yb:"GetMeetingDevice",sc:n_.prototype.l,lc:xI},Cna={Yb:"ListMeetingDevices",sc:o_.prototype.l,lc:function(a){a=new Jk(a);for(var b=new p_;y(a)&&!x(a);)switch(a.g){case 1:var c=new oI;B(a,c,wI);Ol(b,1,c,oI);break;default:A(a)}return b}},Dna={Yb:"UpdateMeetingDevice",sc:q_.prototype.l,lc:xI};var r_=function(a,b,c,d){var e=this;this.h=a;this.j={};Fc(b,function(f,g){return e.j[g.toLowerCase()]=f});this.Ac=c;this.C=d};r_.prototype.Pd=function(){return Qc(this.j)};var s_=function(a,b){return a.j[b.toLowerCase()]||null};r_.prototype.Gk=function(){return this.C};var t_=function(a,b,c,d,e,f){d=void 0===d?{}:d;e=void 0===e?null:e;f=void 0===f?null:f;var g=c instanceof aF;r_.call(this,a,b,g?null:c,d);this.g=g?c:null;this.m=f;this.l=e};t(t_,r_);t_.prototype.getMessage=function(){return this.m};var Ena=function(a){var b=null,c="validation failed";b=void 0===b?null:b;c=void 0===c?null:c;var d=a instanceof t_?a.g:null;return new t_(a.h,a.Pd(),d||a.Ac,a.Gk(),b,c)};var u_=function(a,b,c,d){d=void 0===d?{}:d;r_.call(this,a,b,c,d)};t(u_,r_);var v_=function(){this.h=void 0};v_.prototype.g=function(a){this.h&&rM(a,"X-Compass-Routing-Destination",this.h)};v_.prototype.onRequest=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];(c=s_(c[0].response,"X-Compass-Routing-Destination"))&&c!==this.h&&(this.h=c)};var w_=function(){};w_.prototype.Pk=function(){return Da(function(a){if(1==a.g)throw Error("Worker not ready; never initialized");throw Error("Worker not ready; initialization failed");})};Na(w_);var x_=function(a){return w_.Tb().Pk(a)},y_=function(a){w_.Tb();return 1024<=a&&!1};var z_=function(){this.g=!1};z_.prototype.j=function(a){this.g=a;return this};
z_.prototype.h=function(a,b,c){var d=a.getContext();rM(a,"Content-Type","application/x-protobuf");rM(a,"X-Goog-Api-Key",A_(d)||null);rM(a,"X-Goog-Encode-Response-If-Executable","base64");var e=B_(d)+("/$rpc/"+a.C+"/"+a.g),f=zt(),g=new cw;g.listen("complete",this.l.bind(this,f,c));Ev(g,"ready",g.dispose);C_(d)&&(g.s=Math.max(0,C_(d)));g.G=!0;g.u="arraybuffer";var h=a.l,m=null,q=null;h?(m=(c=b.call(h))?c.length:null,this.g&&c&&y_(c.length)?x_(c).then(function(r){rM(a,"Content-Encoding","gzip");m=r.length;
g.send(e,"POST",r,a.Pd());q="gzip-on"},function(){g.send(e,"POST",b.call(h),a.Pd());q="gzip-failed"}):(g.send(e,"POST",c,a.Pd()),q="gzip-off")):(g.send(e,"POST",null,a.Pd()),q="no-body");a.h.sendPath=q;a.h.bodySize=String(m||0);Dt(f.promise,function(r){r instanceof mt&&g.abort()});return f.promise};
z_.prototype.l=function(a,b,c){var d={Sh:0};try{var e=c.target,f=e.Ha(),g=vw(e),h=uw(e);c=null;h&&(c=new Uint8Array(h),d={Sh:c.length||0});c&&Hc(g,function(q,r){return"BASE64"==q.toUpperCase()&&"X-GOOG-SAFETY-ENCODING"==r.toUpperCase()})&&(c=Bk(rk(c)));if(qw(e))try{a.resolve(new u_(f,g,b?b(c):null,d))}catch(q){a.resolve(new t_(10002,g,null,d,q,"Failed to decode response"))}else{var m=Fna(f,e.m);try{a.resolve(new t_(m,g,c?bF(c):null,d,Error("string"===typeof e.j?e.j:String(e.j))))}catch(q){a.resolve(new t_(m,
g,null,d,q,"Failed to decode status"))}}}catch(q){a.resolve(new t_(10005,{},null,d,q,"Failure in XHR result processing"))}};var Fna=function(a,b){return 0!=a?a:6==b?10007:b+3E4};var Gna=new z_,D_=function(a){this.g=void 0===a?null:a;this.m=this.l=this.G=this.h=this.C=this.F=null;this.D=[];this.j=[];this.u=[]};D_.prototype.s=function(){var a=new D_;a.setApiKey(A_(this));a.C=B_(this);a.h=C_(this);a.G=E_(this);a.l=F_(this);a.m=G_(this);Qb(H_(this),function(b){return I_(a,b)});Qb(J_(this),function(b){a.j.push(b)});Qb(K_(this),function(b){return L_(a,b)});return a};var B_=function(a){return null!=a.C?a.C:a.g?B_(a.g):""};D_.prototype.setApiKey=function(a){this.F=a};
var A_=function(a){return null!=a.F?a.F:a.g?A_(a.g):""},C_=function(a){return null!=a.h?a.h:a.g?C_(a.g):6E4},E_=function(a){return null!=a.G?a.G:a.g?E_(a.g):3E5},Hna=function(a,b){a.l=b},F_=function(a){return null!=a.l?a.l:a.g?F_(a.g):0},G_=function(a){return a.m?a.m:a.g?G_(a.g):Gna},I_=function(a,b){a.D.push(b)},H_=function(a){return a.g?a.D.concat(H_(a.g)):a.D.concat()},J_=function(a){return a.g?a.j.concat(J_(a.g)):a.j.concat()},L_=function(a,b){a.u.push(b)},K_=function(a){return a.g?a.u.concat(K_(a.g)):
a.u.concat()};var M_=function(){var a=Fa.location;return a.origin||a.protocol+"//"+a.hostname+(a.port?":"+a.port:"")};var Ina=function(a){return{g:function(b){return a().then(function(c){rM(b,"Authorization","Bearer "+c);c=B_(b.getContext());var d;if((d=Pe||Re)&&!(d=!c)){var e=c.match(er);c=e[1];d=e[3];e=e[4];var f="";c&&(f+=c+":");d&&(f=f+"//"+d,e&&(f+=":"+e));d=f===M_()}d&&rM(b,"X-Origin",M_())})}}};var Jna=function(a,b){if(window.AbortController){var c=new AbortController,d=null;b&&(d=Qv(b),d.then(function(){return c.abort()}));Dt(a,function(e){e instanceof mt&&(c.abort(),d&&d.cancel())});return c.signal}},Kna=function(a,b){return fetch(a,b)},Lna=function(a){var b={};a=n(a.entries());for(var c=a.next();!c.done;c=a.next())c=c.value,b[c[0].toLowerCase()]=c[1];return b};var N_=function(){this.g=!1};N_.prototype.j=function(a){this.g=a;return this};
N_.prototype.h=function(a,b,c){var d=a.getContext();rM(a,"Content-Type","application/x-protobuf");rM(a,"X-Goog-Api-Key",A_(d)||null);rM(a,"X-Goog-Encode-Response-If-Executable","base64");var e=B_(d)+("/$rpc/"+a.C+"/"+a.g),f=Promise.resolve(),g=a.l;g&&(f=b.call(g),f=this.g&&f&&y_(f.length)?x_(f).then(function(m){rM(a,"Content-Encoding","gzip");return m},function(){return b.call(g)}):Promise.resolve(f));var h=zt();f.then(function(m){Kna(e,{method:"POST",body:m,headers:new Headers(a.Pd()),mode:"cors",
credentials:"include",signal:Jna(h.promise,C_(d))}).then(function(q){return Mna(c,q)}).then(function(q){return h.resolve(q)},function(q){q instanceof TypeError?h.resolve(new t_(10007,{},null,{Sh:0},q,"Failure in Fetch")):h.resolve(new t_(10005,{},null,{Sh:0},q,"Failure in Fetch"))});a.h.bodySize=String(m.length)});return h.promise};
var Mna=function(a,b){var c=b.status,d=Lna(b.headers);return b.arrayBuffer().then(function(e){e=new Uint8Array(e);var f={Sh:e.length};e&&"BASE64"==(b.headers.get("X-Goog-Safety-Encoding")||"").toUpperCase()&&(e=Bk(rk(e)));if(b.ok)try{return new u_(c,d,a?a(e):null,f)}catch(g){return new t_(10002,d,null,f,g,"Failed to decode response")}else try{return new t_(c,d,bF(e),f)}catch(g){return new t_(c,d,null,f,g,"Failed to decode status")}})};var Ona=function(){var a=this;this.g=new HM(100);this.h={onRequest:function(b,c){for(var d=[],e=1;e<arguments.length;++e)d[e-1]=arguments[e];a.g.add({name:d[0].Di.g,initReq:O_(b),req:O_(d[0].Di),resp:P_(d[0].response),attemptsHistory:Nna(d)})}}},Pna=function(a,b,c,d){b=void 0===b?"":b;c=void 0===c?100:c;d=void 0===d?!1:d;b=b.toLowerCase();a=a.g.Ja().filter(function(e){return-1!=e.name.toLowerCase().indexOf(b)&&(!d||400<=e.resp.code)});return a.slice(-Math.min(a.length,c))},R_=function(a,b){var c=
void 0===c?!1:c;return Pna(Q_(),a,b,c)},S_=function(a){var b=Q_();L_(a,b.h)},Q_=function(){T_||(T_=new Ona);return T_},T_=null,U_=function(a){if(a){if(a.va)return JSON.parse(a.va());if(Qa(a))return Tb(a,function(b){return U_(b)})}return a},O_=function(a){return{name:a.C+"/"+a.g,body:Vs(U_(a.l)),head:a.Pd(),meta:a.h}},P_=function(a){var b={code:a.h,body:Vs(U_(a.Ac)),head:a.Pd()};a instanceof t_&&(b.status=Vs(U_(a.g)),b.ex=a.l,b.msg=a.getMessage());return b},Nna=function(a){var b=[];Qb(a,function(c){var d=
O_(c.Di),e=P_(c.response);b.push({Sf:(new Date(c.Sf)).toString(),Jg:(new Date(c.Jg)).toString(),Di:d,response:e})});return b};v("grpc_lookup",function(a){return R_(a,1)[0]});v("grpc_dump",function(a,b){return R_(a,b)});var Qna=new Set([502,504,500,503]),Rna=new Set([0,-1,10007]),Sna={validate:function(a,b){return rt(Qna.has(b.h)?2:0)}},Tna={validate:function(a,b){return rt(Rna.has(b.h)?2:0)}};PV({hE:!1});var Vna=function(a,b){var c=new D_;c.setApiKey(b);c.C=a;c.l=2;c.h=2E4;c.m=("function"===typeof window.fetch?new N_:new z_).j(!0);c.j.push(Sna);c.j.push(Tna);c.j.push(Una);a=new v_;I_(c,a);L_(c,a);S_(c);return c},Una={validate:function(a,b){return rt(400==b.h?2:0)}};var V_=function(){};V_.prototype.g=function(a){if(0<DQ(zQ("EidZVd"),0)&&!tM(a,"X-Goog-Meeting-ABR")){var b=null!=W_?W_:W_="l1uvBpwCoYtw5PmvD5BnBFecuooTgOPMpekPuTPmoHgGmAMfeGxywsyCgX8IKnleAGTQMmWcpwiajV4Vi24xBy3MwUy0eRKwkAfI+bvTd8Jx9qnrLOXEyIDqE121ucEBSgriOQ==".substring(0,Wna());rM(a,"X-Goog-Meeting-ABR",b)}};var W_=null;function Wna(){var a=DQ(zQ("EidZVd"),0)-18-1;return Math.max(a,0)};var Xna=function(a,b,c){var d=this;this.s=new XL(1E3,36E4);this.g=a.getContext();this.j=a;a=C_(this.g);var e=E_(this.g);this.l=0<a?new XL(a,Math.max(a,e)):null;this.G=b;this.D=c;this.h=zt();this.F=0;this.C=this.u=!1;X_(this.h.promise,function(){d.C=!0});this.m=[];Y_(this)},Y_=function(a){var b=$a();Yna(a).then(function(c){a.m.unshift({Sf:b,Jg:$a(),Di:c.request,response:c.response});2==c.Sg&&a.F<F_(a.g)?Zna(a):$na(a,c)})},Zna=function(a){a.F++;a.l&&(YL(a.l),a.g.h=a.l.g);var b=Qv(a.s.g).then(function(){return Y_(a)});
YL(a.s);X_(a.h.promise,function(){return b.cancel()})},$na=function(a,b){a.u||(0==b.Sg?a.h.resolve(b.response):(b.response instanceof u_&&(b.response=Ena(b.response)),a.h.reject(b.response)),a.u=!0,Qb(K_(a.g),function(c){return ht(function(){return c.onRequest.apply(c,[a.j.clone()].concat(p(a.m)))})}))},Yna=function(a){var b=zt().promise;X_(a.h.promise,function(){return b.cancel()});var c=a.j.clone(),d=!1,e={Sh:0},f=[],g=aoa(a,b,c),h=g.then(function(r){return d?new t_(20002,{},null):boa(a,b,r)}),
m=wt([g,h]).then(function(r){return d?1:coa(a,b,r[0],r[1])},function(){return 3});f.push(xt([g,h,m]).then(function(r){return r[0].Pe?r[1].Pe?r[2].Pe?{request:r[0].value,response:r[1].value,Sg:r[2].value}:{request:r[0].value,response:new t_(10006,r[1].value.Pd(),r[1].value.Ac,r[1].value.Gk(),r[2].reason),Sg:3}:{request:r[0].value,response:new t_(10005,{},null,e,r[1].reason),Sg:3}:{request:c.clone(),response:new t_(10004,{},null,e,r[0].reason),Sg:3}}));if(a.l){var q=Qv(a.l.g).then(function(){d=!0;return{request:c.clone(),
response:new t_(10001,{},null,e,null,"Client timed out"),Sg:2}});X_(b,function(){return q.cancel()});f.push(q)}f=vt(f);Ct(f,function(){return b.cancel()});return f},aoa=function(a,b,c){if(a.C)return st(new mt("Cancelled decorating "+a.j.g));var d=Tb(H_(a.g),function(e){try{return e.g(c)||rt()}catch(f){return st(f)}});X_(b,function(){return Qb(d,function(e){return e.cancel()})});return wt(d).then(function(){return c.clone()})},boa=function(a,b,c){if(a.C)return st(new mt("Cancelled sending "+a.j.g));
var d=G_(a.g).h(c,a.G,a.D);X_(b,function(){return d.cancel()});return d},coa=function(a,b,c,d){if(a.C)return st(new mt("Cancelled validating "+a.j.g));var e=Tb(J_(a.g),function(f){return f.validate(c,d)});X_(b,function(){return Qb(e,function(f){return f.cancel()})});return wt(e).then(function(f){return Ub(f,function(g,h){return Math.max(g,h)},d instanceof u_?0:1)})},X_=function(a,b){Dt(a,function(c){c instanceof mt&&b()})};var Z_=function(a,b){D_.call(this,void 0===b?null:b);this.H=a};t(Z_,D_);Z_.prototype.makeRequest=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;b=new sM(this.s(),this.H,a.Yb,c,b,d);return(new Xna(b,a.sc,a.lc)).h.promise};Z_.prototype.s=function(){return new Z_(this.H,D_.prototype.s.call(this))};var doa=["ResolveMeetingSpace","CreateMeetingSpace"],eoa=function(a){var b=a.apiKey;a=tr(a.Hq,"/"+a.apiVersion+"/${path}");b&&(a=or(a,"key",b));return a},foa=function(a,b){a=new D_(a);b=new $_(b);I_(a,b);L_(a,b);return a},goa=function(a,b,c,d){this.j=a;this.h=b;this.l=c;this.g=d;this.np=null},ioa=function(a){var b=hx(),c={apiVersion:"v1",apiKey:null,Hq:"https://meetings.clients6.google.com"};a=hoa(a,c);var d=new goa(eoa(c),b,a,foa(a,b));L_(a,{onRequest:function(e,f){for(var g=[],h=1;h<arguments.length;++h)g[h-
1]=arguments[h];if(g=s_(g[0].response,"X-Goog-Meeting-Debugid"))d.np=g}});return d};function hoa(a,b){b=Vna(b.Hq,b.apiKey);I_(b,{g:function(c){if(!tM(c,"X-Goog-Meeting-Debugid")){var d=a.g;d&&rM(c,"X-Goog-Meeting-Debugid",d)}}});I_(b,new uM);I_(b,new V_);S_(b);return b}var $_=function(a){this.h=a};$_.prototype.g=function(a){null!=tM(a,"X-Goog-Meeting-Token")||$b(doa,a.g)||rM(a,"X-Goog-Meeting-Token",fx(this.h))};
$_.prototype.onRequest=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if((c=s_(c[0].response,"X-Goog-Meeting-Token"))&&c){d=c.split(";");var e=Number(d[0]);if(!isNaN(e)){c=this.h;var f=new Xl;e=P(f,2,e);d=P(e,1,d[1]);ex(c,d)}}};var a0=function(a){L(this,a,0,-1,null,null)};w(a0,J);var b0=function(a,b){a=N(a,1,"");0<a.length&&H(b,1,a)};var c0=function(a){L(this,a,0,-1,null,null)};w(c0,J);c0.prototype.l=function(){var a=new Zk;var b=R(this,lJ,1);null!=b&&I(a,1,b,EJ);b=R(this,a0,3);null!=b&&I(a,3,b,b0);b=N(this,4,"");0<b.length&&H(a,4,b);(b=O(this,5,!1))&&kl(a,5,b);b=N(this,6,"");0<b.length&&H(a,6,b);b=N(this,7,"");0<b.length&&H(a,7,b);return cl(a)};var d0=function(a){L(this,a,0,-1,null,null)};w(d0,J);d0.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);return cl(a)};d0.prototype.Ia=function(){return N(this,1,"")};var e0=function(a){L(this,a,0,-1,null,null)};w(e0,J);var f0=function(a){L(this,a,0,-1,null,null)};w(f0,J);var g0=function(a){L(this,a,0,-1,null,null)};w(g0,J);e0.prototype.l=function(){var a=new Zk;var b=this.Gb();0<b.length&&H(a,1,b);b=N(this,2,"");0<b.length&&H(a,2,b);b=R(this,a0,3);null!=b&&I(a,3,b,b0);b=N(this,4,"");0<b.length&&H(a,4,b);b=R(this,f0,5);null!=b&&I(a,5,b,joa);(b=O(this,6,!1))&&kl(a,6,b);b=R(this,g0,7);null!=b&&I(a,7,b,koa);return cl(a)};
var joa=function(a,b){var c=N(a,1,"");0<c.length&&H(b,1,c);c=a.getToken();0<c.length&&H(b,2,c)};f0.prototype.getToken=function(){return N(this,2,"")};f0.prototype.setToken=function(a){return Q(this,2,a)};var koa=function(a,b){a=N(a,1,"");0<a.length&&H(b,1,a)};e0.prototype.Gb=function(){return N(this,1,"")};var h0=function(a){L(this,a,0,-1,null,null)};w(h0,J);var loa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};h0.prototype.X=function(){return R(this,bI,1)};h0.prototype.J=function(a){U(this,1,a)};h0.prototype.aa=function(){this.J(void 0)};var i0=function(a){L(this,a,0,-1,null,null)};w(i0,J);var moa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};i0.prototype.X=function(){return R(this,bI,1)};i0.prototype.J=function(a){U(this,1,a)};i0.prototype.aa=function(){this.J(void 0)};var j0=function(a){L(this,a,0,-1,null,null)};w(j0,J);var noa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};j0.prototype.X=function(){return R(this,bI,1)};j0.prototype.J=function(a){U(this,1,a)};j0.prototype.aa=function(){this.J(void 0)};var k0=function(a){L(this,a,0,-1,null,null)};w(k0,J);var ooa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};k0.prototype.X=function(){return R(this,bI,1)};k0.prototype.J=function(a){U(this,1,a)};k0.prototype.aa=function(){this.J(void 0)};var l0=function(a){L(this,a,0,-1,null,null)};w(l0,J);var poa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};l0.prototype.X=function(){return R(this,bI,1)};l0.prototype.J=function(a){U(this,1,a)};l0.prototype.aa=function(){this.J(void 0)};var m0=function(a){L(this,a,0,-1,null,null)};w(m0,J);var qoa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};m0.prototype.X=function(){return R(this,bI,1)};m0.prototype.J=function(a){U(this,1,a)};m0.prototype.aa=function(){this.J(void 0)};var n0=function(a){L(this,a,0,-1,null,null)};w(n0,J);var roa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};n0.prototype.X=function(){return R(this,bI,1)};n0.prototype.J=function(a){U(this,1,a)};n0.prototype.aa=function(){this.J(void 0)};var o0=function(a){L(this,a,0,-1,null,null)};w(o0,J);var soa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};o0.prototype.X=function(){return R(this,bI,1)};o0.prototype.J=function(a){U(this,1,a)};o0.prototype.aa=function(){this.J(void 0)};var p0=function(a){L(this,a,0,-1,null,null)};w(p0,J);var toa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};p0.prototype.X=function(){return R(this,bI,1)};p0.prototype.J=function(a){U(this,1,a)};p0.prototype.aa=function(){this.J(void 0)};var q0=function(a){L(this,a,0,-1,null,null)};w(q0,J);var uoa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};q0.prototype.X=function(){return R(this,bI,1)};q0.prototype.J=function(a){U(this,1,a)};q0.prototype.aa=function(){this.J(void 0)};var r0=function(a){L(this,a,0,-1,null,null)};w(r0,J);var voa=function(a,b){a=a.X();null!=a&&I(b,1,a,eI)};r0.prototype.X=function(){return R(this,bI,1)};r0.prototype.J=function(a){U(this,1,a)};r0.prototype.aa=function(){this.J(void 0)};var s0=function(a){L(this,a,0,-1,null,null)};w(s0,J);
s0.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);b=R(this,r0,2);null!=b&&I(a,2,b,voa);b=R(this,j0,3);null!=b&&I(a,3,b,noa);b=R(this,m0,4);null!=b&&I(a,4,b,qoa);b=R(this,o0,5);null!=b&&I(a,5,b,soa);b=R(this,n0,6);null!=b&&I(a,6,b,roa);b=R(this,q0,7);null!=b&&I(a,7,b,uoa);b=R(this,p0,8);null!=b&&I(a,8,b,toa);b=R(this,i0,9);null!=b&&I(a,9,b,moa);b=R(this,h0,10);null!=b&&I(a,10,b,loa);b=R(this,k0,11);null!=b&&I(a,11,b,ooa);b=R(this,l0,12);null!=b&&I(a,12,b,poa);return cl(a)};
s0.prototype.Ia=function(){return N(this,1,"")};var t0=function(a){L(this,a,0,-1,woa,null)};w(t0,J);var woa=[2],xoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new $H;B(b,c,aI);Ol(a,2,c,$H);break;default:A(b)}return a};t0.prototype.X=function(){return R(this,bI,1)};t0.prototype.J=function(a){U(this,1,a)};t0.prototype.aa=function(){this.J(void 0)};var u0=function(a){L(this,a,0,-1,null,null)};w(u0,J);var v0=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;default:A(b)}return a};u0.prototype.X=function(){return R(this,bI,1)};u0.prototype.J=function(a){U(this,1,a)};u0.prototype.aa=function(){this.J(void 0)};var x0=function(a){L(this,a,0,-1,null,w0)};w(x0,J);var w0=[[1,2]],yoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,w0[0],c);break;case 2:c=new t0;B(b,c,xoa);Ml(a,2,w0[0],c);break;default:A(b)}return a};var y0=function(a){L(this,a,0,-1,null,null)};w(y0,J);var zoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new gI;B(b,c,lI);U(a,2,c);break;default:A(b)}return a};y0.prototype.X=function(){return R(this,bI,1)};y0.prototype.J=function(a){U(this,1,a)};y0.prototype.aa=function(){this.J(void 0)};var A0=function(a){L(this,a,0,-1,null,z0)};w(A0,J);var z0=[[1,2]],Aoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,z0[0],c);break;case 2:c=new y0;B(b,c,zoa);Ml(a,2,z0[0],c);break;default:A(b)}return a};var C0=function(a){L(this,a,0,-1,null,B0)};w(C0,J);var D0=function(a){L(this,a,0,-1,Boa,null)};w(D0,J);var B0=[[1,2]],Doa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,B0[0],c);break;case 2:c=new D0;B(b,c,Coa);Ml(a,2,B0[0],c);break;default:A(b)}return a},Boa=[2],Coa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new oI;B(b,c,wI);Ol(a,2,c,oI);break;default:A(b)}return a};D0.prototype.X=function(){return R(this,bI,1)};
D0.prototype.J=function(a){U(this,1,a)};D0.prototype.aa=function(){this.J(void 0)};var F0=function(a){L(this,a,0,-1,null,E0)};w(F0,J);var G0=function(a){L(this,a,0,-1,Eoa,null)};w(G0,J);var E0=[[1,2]],Goa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,E0[0],c);break;case 2:c=new G0;B(b,c,Foa);Ml(a,2,E0[0],c);break;default:A(b)}return a},Eoa=[2],Foa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new GI;B(b,c,HI);Ol(a,2,c,GI);break;default:A(b)}return a};G0.prototype.X=function(){return R(this,bI,1)};
G0.prototype.J=function(a){U(this,1,a)};G0.prototype.aa=function(){this.J(void 0)};var H0=function(a){L(this,a,0,-1,null,null)};w(H0,J);var Hoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=new YH;B(b,c,ZH);U(a,2,c);break;case 3:c=new YH;B(b,c,ZH);U(a,3,c);break;case 4:c=E(b);Il(a,4,c);break;case 5:c=E(b);Il(a,5,c);break;case 6:c=E(b);Il(a,6,c);break;case 7:c=new yF;B(b,c,zF);U(a,7,c);break;default:A(b)}return a};H0.prototype.getName=function(){return N(this,1,"")};var J0=function(a){L(this,a,0,-1,null,I0)};w(J0,J);var K0=function(a){L(this,a,0,-1,Ioa,null)};w(K0,J);var I0=[[1,2]],Koa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,I0[0],c);break;case 2:c=new K0;B(b,c,Joa);Ml(a,2,I0[0],c);break;default:A(b)}return a},Ioa=[2],Joa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new H0;B(b,c,Hoa);Ol(a,2,c,H0);break;default:A(b)}return a};
K0.prototype.X=function(){return R(this,bI,1)};K0.prototype.J=function(a){U(this,1,a)};K0.prototype.aa=function(){this.J(void 0)};var M0=function(a){L(this,a,0,-1,null,L0)};w(M0,J);var N0=function(a){L(this,a,0,-1,Loa,null)};w(N0,J);var L0=[[1,2]],Noa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,L0[0],c);break;case 2:c=new N0;B(b,c,Moa);Ml(a,2,L0[0],c);break;default:A(b)}return a},Loa=[2],Moa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new KI;B(b,c,NI);Ol(a,2,c,KI);break;default:A(b)}return a};N0.prototype.X=function(){return R(this,bI,1)};
N0.prototype.J=function(a){U(this,1,a)};N0.prototype.aa=function(){this.J(void 0)};var P0=function(a){L(this,a,0,-1,null,O0)};w(P0,J);var Q0=function(a){L(this,a,0,-1,Ooa,null)};w(Q0,J);var O0=[[1,2]],Qoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,O0[0],c);break;case 2:c=new Q0;B(b,c,Poa);Ml(a,2,O0[0],c);break;default:A(b)}return a},Ooa=[2],Poa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new PI;B(b,c,QI);Ol(a,2,c,PI);break;default:A(b)}return a};Q0.prototype.X=function(){return R(this,bI,1)};
Q0.prototype.J=function(a){U(this,1,a)};Q0.prototype.aa=function(){this.J(void 0)};var S0=function(a){L(this,a,0,-1,null,R0)};w(S0,J);var T0=function(a){L(this,a,0,-1,Roa,null)};w(T0,J);var R0=[[1,2]],Toa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,R0[0],c);break;case 2:c=new T0;B(b,c,Soa);Ml(a,2,R0[0],c);break;default:A(b)}return a},Roa=[2],Soa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new WI;B(b,c,XI);Ol(a,2,c,WI);break;default:A(b)}return a};T0.prototype.X=function(){return R(this,bI,1)};
T0.prototype.J=function(a){U(this,1,a)};T0.prototype.aa=function(){this.J(void 0)};var V0=function(a){L(this,a,0,-1,null,U0)};w(V0,J);var W0=function(a){L(this,a,0,-1,Uoa,null)};w(W0,J);var U0=[[1,2]],Woa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,U0[0],c);break;case 2:c=new W0;B(b,c,Voa);Ml(a,2,U0[0],c);break;default:A(b)}return a},Uoa=[2],Voa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new ZI;B(b,c,$I);Ol(a,2,c,ZI);break;default:A(b)}return a};W0.prototype.X=function(){return R(this,bI,1)};
W0.prototype.J=function(a){U(this,1,a)};W0.prototype.aa=function(){this.J(void 0)};var Y0=function(a){L(this,a,0,-1,null,X0)};w(Y0,J);var Z0=function(a){L(this,a,0,-1,Xoa,null)};w(Z0,J);var X0=[[1,2]],Zoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,X0[0],c);break;case 2:c=new Z0;B(b,c,Yoa);Ml(a,2,X0[0],c);break;default:A(b)}return a},Xoa=[2],Yoa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new cJ;B(b,c,dJ);Ol(a,2,c,cJ);break;default:A(b)}return a};Z0.prototype.X=function(){return R(this,bI,1)};
Z0.prototype.J=function(a){U(this,1,a)};Z0.prototype.aa=function(){this.J(void 0)};var a1=function(a){L(this,a,0,-1,null,$0)};w(a1,J);var b1=function(a){L(this,a,0,-1,null,null)};w(b1,J);var $0=[[1,2]],apa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new u0;B(b,c,v0);Ml(a,1,$0[0],c);break;case 2:c=new b1;B(b,c,$oa);Ml(a,2,$0[0],c);break;default:A(b)}return a},$oa=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=new bI;B(b,c,dI);a.J(c);break;case 2:c=new lJ;B(b,c,BJ);U(a,2,c);break;default:A(b)}return a};b1.prototype.X=function(){return R(this,bI,1)};
b1.prototype.J=function(a){U(this,1,a)};b1.prototype.aa=function(){this.J(void 0)};var c1=function(a){L(this,a,0,-1,null,null)};w(c1,J);c1.prototype.getDevices=function(){return R(this,C0,2)};var d1=function(a){L(this,a,0,-1,bpa,null)};w(d1,J);var bpa=[1],e1=function(a,b){a=M(a,1);0<a.length&&ol(b,1,a)};var f1=function(a){L(this,a,0,-1,null,null)};w(f1,J);f1.prototype.l=function(){var a=new Zk;var b=R(this,lJ,1);null!=b&&I(a,1,b,EJ);b=R(this,d1,2);null!=b&&I(a,2,b,e1);return cl(a)};var cpa={Yb:"CreateMeetingSpace",sc:c0.prototype.l,lc:CJ},dpa={Yb:"GetMeetingSpace",sc:d0.prototype.l,lc:CJ},epa={Yb:"ResolveMeetingSpace",sc:e0.prototype.l,lc:CJ},fpa={Yb:"SyncMeetingSpaceCollections",sc:s0.prototype.l,lc:function(a){a=new Jk(a);for(var b=new c1;y(a)&&!x(a);)switch(a.g){case 1:var c=new a1;B(a,c,apa);U(b,1,c);break;case 2:c=new C0;B(a,c,Doa);U(b,2,c);break;case 3:c=new M0;B(a,c,Noa);U(b,3,c);break;case 4:c=new S0;B(a,c,Toa);U(b,4,c);break;case 5:c=new P0;B(a,c,Qoa);U(b,5,c);break;
case 6:c=new Y0;B(a,c,Zoa);U(b,6,c);break;case 7:c=new V0;B(a,c,Woa);U(b,7,c);break;case 8:c=new A0;B(a,c,Aoa);U(b,8,c);break;case 9:c=new x0;B(a,c,yoa);U(b,9,c);break;case 10:c=new F0;B(a,c,Goa);U(b,10,c);break;case 11:c=new J0;B(a,c,Koa);U(b,11,c);break;default:A(a)}return b}},g1={Yb:"UpdateMeetingSpace",sc:f1.prototype.l,lc:CJ};var h1=function(a,b,c){gN.call(this);var d=this;this.o=jg("realtime.meetings.call.PhoneAudioManager");xK(a,SW);xK(a,$K);this.m=b;this.j=new eL(this);this.s=this.j.signal();this.h="";this.g=!1;this.l=null;c.attach(function(e){d.l=e},this)};t(h1,gN);var gpa=function(a,b){a.h!=b&&(a.h=b,a.j.R(a.s,b))},hpa=function(a,b){b!==a.g&&(a.g=b,pla(a.m).g=b)};var i1=new bK("wTv9bc","pJeK7d"),j1=new bK("ozVaAf","uxsdib",[iR]),k1=new bK("ajMdH","Z9QyEe"),ipa=new bK("nOd1zc","ldlvqd"),jpa=new bK("TwbNfc","GMPq1d"),l1=new bK("BCx8kd","AzOTcd"),m1=new bK("bzqP5","IUiQg");var n1=jg("realtime.meetings.call.StreamingSessionUtil"),kpa=function(a,b){return 1==a?b:null},mpa=function(a,b){var c=(b=b&&DJ(b))&&S(b,rJ,9);if(c=c&&(c.filter(function(d){return N(d,3,0)==a})[0]||null))return c;b=kpa(a,b&&R(b,pJ,2));return lpa(b)},o1=function(a){var b=npa.map(function(c){return opa(c,a)});return wt(b).then(function(c){c.some(function(d){return d})&&a.s.then(function(d){return VN(d)});return c.every(function(d){return d})})},opa=function(a,b){var c=b.D;if(!c)return st(Error("No spaces collection"));
var d=b.j;if(!d)return st(Error("No devices collection"));var e=p1(b);if(!e)return st(Error("No local device"));var f=a.jh,g=function(D){var C=new tI;Q(C,1,D);Il(C,2,a.ih);Il(C,3,f);return C};c=c.s();var h=(c=mpa(f,c))&&c.Ha(),m=2===h||3===h?N(c,2,""):null,q=!1,r=!1,z=[];(S(e,tI,16)||[]).forEach(function(D){r=r||1===N(D,2,0);q=q||N(D,1,"")===m;z.push(g(N(D,1,"")))});m&&!q&&(r=!0,z.push(g(m)));return r?(e=d.ob(e.ub()),Nl(e,16,z),b.logImpression(q1.get(f).rpc),zN(d,e).then(function(){og(n1,"ack: Modified device");
b.logImpression(q1.get(f).Am);return!0},function(D){og(n1,"ack: Failed to modify device: "+JSON.stringify(D));b.logImpression(q1.get(f).Ek);throw D;})):rt(!1)},ppa=function(a){o1(a);var b=xv(a.D,"D",function(){return o1(a)});a.onDisconnect.then(function(){return Gv(b)})},rpa=function(a){qpa(a,function(){return o1(a).then(function(b){if(!b)throw Error("Prerequisite not handled");})});a.onConnect.then(function(){return ppa(a)})},npa=[{jh:1,ih:3},{jh:1,ih:6},{jh:4,ih:4},{jh:3,ih:3},{jh:4,ih:5}],q1=new Map([[1,
{rpc:3852,Am:3831,Ek:3832}],[4,{rpc:5097,Am:5098,Ek:5099}],[3,{rpc:3852,Am:3831,Ek:3832}]]),spa=new Map([[0,0],[2,2],[3,3],[1,1]]);function lpa(a){if(!a)return null;var b=new rJ;var c=spa.get(N(a,1,0));b=Il(b,1,c);c=N(a,2,"");b=Q(b,2,c);c=N(a,6,0);b=Il(b,3,c);c=N(a,5,"");b=Q(b,5,c);if(a=R(a,qJ,4)){c=new sJ;var d=a.getDeviceId();c=Q(c,1,d);a=N(a,2,0);a=Il(c,2,a);U(b,4,a)}return b};var r1=function(a){return(a=tpa.exec(a))?a[1]:null},s1=function(a){if(!a)return{Wb:"",Od:"",te:""};a=a.split("/");return 6===a.length?{Wb:"spaces/"+a[1],Od:"*"===a[3]?"":a[3],te:a[5]}:{Wb:"spaces/"+a[1],Od:"*"===a[3]?"":a[3],te:""}},t1=function(a){var b=a.Wb,c=void 0===a.Od?"":a.Od;return(a=void 0===a.te?"":a.te)?b+"/devices/"+(c||"*")+"/botguard/"+a:b+"/devices/"+(c||"*")},u1=function(a){a=s1(a);var b=a.Od;return a.Wb+"/handRaises/"+(b?b:"*")},tpa=/^(spaces\/[a-zA-Z0-9_-]+)\//;function upa(a){if("string"===typeof a){var b=r1(a);return(new $Z).u(b).l(a)}return a}function vpa(){return r1(this.ub())}function wpa(a){var b=s1(this.ub());this.l(t1({Wb:a,Od:b.Od,te:b.te}));return this};var zpa=function(){return new RK({Xd:GI,Vd:[xpa],Wd:[function(){}],de:[GI.prototype.getName],ee:[GI.prototype.l],ae:a_,Yd:[a_.prototype.Ia],Zd:[a_.prototype.u],be:[a_.prototype.l],ce:[a_.prototype.F],ci:ypa})};function ypa(a){if("string"===typeof a){var b=r1(a);return(new a_).u(b).F(a)}return a}function xpa(){return r1(this.getName())};function Apa(a){return"string"===typeof a?(new b_).l(a):a};function Bpa(a){return"string"===typeof a?(new c_).l(a):a};function Cpa(a){return"string"===typeof a?(new d_).l(a):a};var v1=function(a,b,c,d,e,f,g){e=void 0===e?null:e;f=void 0===f?null:f;g=void 0===g?[]:g;V.call(this);this.m=a;this.j=b;this.ea=c;this.F=null;this.ja=d;this.l=e;this.Y=f;this.W=g;this.g=[this];this.h=0;this.D=zt();this.G=!1;this.V=this.H=this.K=void 0;this.Va=++Dpa};t(v1,V);v1.prototype.merge=function(a){return a.j===this.j&&a.m===this.m&&this.l&&a.l&&a.l(w1(this))?(this.g.push(a),!0):!1};v1.prototype.N=function(a){this.h=a;return!0};v1.prototype.u=function(){return this.D.promise};
v1.prototype.s=function(){return this.G};var Epa=function(a){var b={},c=null,d=new Set;a.g.forEach(function(e){c=c||e.Y;e.W.forEach(function(f){return d.add(f)})});c&&(b["X-Goog-Meeting-Botguardid"]=c);return b},w1=function(a){a.F||(a.F=a.ea(a));return a.F},x1=function(a,b){a.g.forEach(function(c){c.G=!0;b instanceof u_?c.D.resolve(c.ja(b)):c.D.reject(b)})};k=v1.prototype;k.xl=function(a){this.K=a};k.fi=function(a,b){void 0!==b&&(b=Math.max(a,b));this.H=a;this.V=b};
k.lj=function(){return this.g.reduce(function(a,b){return y1(a,b.K)},void 0)||0};k.Oh=function(){return this.g.reduce(function(a,b){return y1(a,b.H)},void 0)};k.wl=function(){return this.g.reduce(function(a,b){return y1(a,b.V)},void 0)};k.Io=function(){return this.j.Yb};k.Go=function(){return w1(this).va()};k.toString=function(){return"[Operation id: "+this.Va+": service: "+this.m+", call: "+this.j.Yb+", version: "+this.h+"]"};
var z1=function(a){a=parseInt(s_(a,"ETag"),10);return isNaN(a)?-1:a},A1=function(){Gb.call(this);this.message="Operation has already been executed.";this.name="AlreadyExecutedError"};t(A1,Gb);var y1=function(a,b){return void 0==a?b:void 0==b?a:Math.min(a,b)},Dpa=0;var B1=new WeakMap,C1=function(a){wL.call(this);this.o=jg("realtime.meetings.collections.oneplatform.OperationExecutor");this.h=xK(a,SW);this.g=new Set};t(C1,wL);C1.prototype.execute=function(a,b){var c=this;if(a.s())throw new A1(a);a.l?[].concat(p(this.g)).find(function(d){return d.merge(a)})?"number"===typeof b&&a.fi(b):(this.g.add(a),1==this.g.size&&xL(this),ht(function(){c.g.delete(a);D1(c,a,b)})):D1(this,a,b)};
var D1=function(a,b,c){c=void 0===c?null:c;og(a.o,"Making request for operation: "+b);var d="number"===typeof c?c:b.Oh();a.h.then(function(e){e=new Z_(b.m,e.g);"number"===typeof d&&(e.h=d);Hna(e,b.lj());Dt(e.makeRequest(b.j,w1(b),Epa(b),{BP:!0}).then(function(f){x1(b,f)}),function(f){return E1(a,b,f)})},function(e){return E1(a,b,e)})},E1=function(a,b,c){lg(a.o,"OnePlatform operation failed for "+(b+": "+(Ra(c)?Kf(c):c)));x1(b,c)};var F1=function(a,b,c,d,e){var f=new v1("google.rtc.meetings.v1.MeetingSpaceService",fpa,function(g){var h=new s0;h=Q(h,1,a);d(h,g.h);return h},function(g){return e(g.Ac)||{data:[],version:f.h||0}},function(g){if(g instanceof s0){if(g.Ia()!=a)return!1;var h=c(g);if(h===f.h)return!0;if(null==h)return d(g,f.h),!0}return!1},void 0,[b]);return f};var G1=function(a,b){NK.call(this,a);this.g=b};t(G1,NK);k=G1.prototype;k.yg=function(){return!1};k.cd=function(a){a=a[0].clone();var b=s1(a.ub()),c=b.Wb,d=b.te;b.Od&&Mb("A full meetingDeviceId set on addDevice operation: "+a.ub());a.l("");b=new m_;c=Q(b,1,c);c=U(c,2,a);d=H1(Ana,c,d);4==N(a,11,0)&&d.fi(1E4);return d};k.dd=function(a){a=a[0].clone();var b=s1(a.ub()),c=b.Wb,d=b.Od;(b=b.te)&&a.l(t1({Wb:c,Od:d}));c=new q_;a=U(c,1,a);return H1(Dna,a,b)};
k.xd=function(){throw Error("Invalid Operation: Meeting Device Remove");};k.wd=function(a){var b=new n_;a=a.ub();b=Q(b,1,a);return H1(Bna,b)};k.Ld=function(a){(a=a.Ia())||xK(this.g,$K,!0).then(function(b){return b.logImpression(5268)});return Fpa(a)};
var Fpa=function(a){var b=yna(new o_,a);return new v1("google.rtc.meetings.v1.MeetingDeviceService",Cna,function(){return b},function(c){return{data:S(c.Ac,oI,1),version:z1(c)}})},H1=function(a,b,c){return new v1("google.rtc.meetings.v1.MeetingDeviceService",a,function(){return b},function(d){return{data:[d.Ac],version:z1(d)}},void 0,(void 0===c?"":c)||null)};var I1=function(a){L(this,a,0,-1,null,null)};w(I1,J);I1.prototype.l=function(){var a=new Zk;var b=N(this,1,"");0<b.length&&H(a,1,b);b=R(this,GI,2);null!=b&&I(a,2,b,hca);return cl(a)};var Gpa=function(a,b){return Q(a,1,b)},Hpa=function(a,b){return U(a,2,b)};var J1=function(a){L(this,a,0,-1,null,null)};w(J1,J);J1.prototype.l=function(){var a=new Zk;var b=this.getName();0<b.length&&H(a,1,b);return cl(a)};J1.prototype.getName=function(){return N(this,1,"")};var Ipa=function(a,b){return Q(a,1,b)};var K1=function(a){L(this,a,0,-1,null,null)};w(K1,J);K1.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);return cl(a)};K1.prototype.Ia=function(){return N(this,1,"")};var Jpa=function(a,b){return Q(a,1,b)};var L1=function(a){L(this,a,0,-1,null,null)};w(L1,J);var Kpa={Yb:"CreateHandRaise",sc:I1.prototype.l,lc:function(a){a=new Jk(a);var b=new GI;return HI(b,a)}},Lpa={Yb:"DeleteHandRaise",sc:J1.prototype.l,lc:null},Mpa={Yb:"ClearHandRaises",sc:K1.prototype.l,lc:function(a){a=new Jk(a);for(var b=new L1;y(a)&&!x(a);)A(a);return b}};var M1=function(a){NK.call(this,a)};t(M1,NK);k=M1.prototype;k.yg=function(){return!1};k.cd=function(a){a=a[0];var b=Hpa(Gpa(new I1,r1(a.getName())),a);return new v1("google.rtc.meetings.v1.MeetingHandRaiseService",Kpa,function(){return b},function(c){return{data:[c.Ac],version:z1(c)}})};k.dd=function(){throw Error("Invalid Operation: Modify operation is not supported for Hand Raise.");};
k.xd=function(a){a=a[0];var b=Ipa(new J1,a.l());return new v1("google.rtc.meetings.v1.MeetingHandRaiseService",Lpa,function(){return b},function(c){return{data:[],version:z1(c)}})};k.wd=function(){throw Error("Invalid Operation: Query operation is not supported for Hand Raise.");};
k.Ld=function(a){a=a.Ia();return F1(a,"hand_raises",function(b){return null!=M(b,11)?null!=M(R(b,k0,11),1)?R(b,k0,11).X().vb():-1:null},function(b,c){var d=new k0;-1!=c&&(c=cI(new bI,c),d.J(c));U(b,11,d)},function(b){var c=(b=(b=R(b,F0,10))&&R(b,G0,2))&&b.X().vb()||-1;return b?{data:S(b,GI,2),version:c}:null})};var N1=function(a){L(this,a,0,-1,null,null)};w(N1,J);N1.prototype.l=function(){var a=new Zk;var b=R(this,PI,1);null!=b&&I(a,1,b,qca);b=R(this,d1,2);null!=b&&I(a,2,b,e1);return cl(a)};var Npa=function(a){var b=new N1;return U(b,1,a)};var Opa={Yb:"UpdatePollSeriesMetadata",sc:N1.prototype.l,lc:function(a){a=new Jk(a);var b=new PI;return QI(b,a)}};var O1=function(a,b){NK.call(this,a);this.g=b};t(O1,NK);k=O1.prototype;k.yg=function(){return!1};k.cd=function(){throw Error("Invalid operation. Add operation is not supported for Poll series metadata.");};k.dd=function(a){var b=Npa(a[0]);return new v1("google.rtc.meetings.v1.MeetingPollService",Opa,function(){return b},function(c){return{data:[c.Ac],version:z1(c)}})};k.xd=function(){throw Error("Invalid operation. Remove operation is not supported for Poll series metadata.");};
k.wd=function(){throw Error("Invalid operation. Query operation is not supported for Poll series metadata.");};k.Ld=function(){return F1(this.g,"poll_series_metadata",function(a){return null!=M(a,6)?null!=M(R(a,n0,6),1)?R(a,n0,6).X().vb():-1:null},function(a,b){var c=new n0;-1!==b&&(b=cI(new bI,b),c.J(b));U(a,6,c)},function(a){var b=(a=(a=R(a,P0,5))&&R(a,Q0,2))&&a.X().vb()||-1;return a?{data:S(a,PI,2),version:b}:null})};var P1=function(a){L(this,a,0,-1,null,null)};w(P1,J);P1.prototype.l=function(){var a=new Zk;var b=R(this,ZI,1);null!=b&&I(a,1,b,Bca);b=R(this,d1,2);null!=b&&I(a,2,b,e1);return cl(a)};var Ppa=function(a){var b=new P1;return U(b,1,a)};var Qpa={Yb:"UpdateQuestionSeriesMetadata",sc:P1.prototype.l,lc:function(a){a=new Jk(a);var b=new ZI;return $I(b,a)}};var Q1=function(a,b){NK.call(this,a);this.g=b};t(Q1,NK);k=Q1.prototype;k.yg=function(){return!1};k.cd=function(){throw Error("Invalid operation. Add operation is not supported for Question series metadata.");};k.dd=function(a){var b=Ppa(a[0]);return new v1("google.rtc.meetings.v1.MeetingQuestionService",Qpa,function(){return b},function(c){return{data:[c.Ac],version:z1(c)}})};k.xd=function(){throw Error("Invalid operation. Remove operation is not supported for Question series metadata.");};
k.wd=function(){throw Error("Invalid operation. Query operation is not supported for Question series metadata.");};k.Ld=function(){return F1(this.g,"question_series_metadata",function(a){return null!=M(a,8)?null!=M(R(a,p0,8),1)?R(a,p0,8).X().vb():-1:null},function(a,b){var c=new p0;-1!==b&&(b=cI(new bI,b),c.J(b));U(a,8,c)},function(a){var b=(a=(a=R(a,V0,7))&&R(a,W0,2))&&a.X().vb()||-1;return a?{data:S(a,ZI,2),version:b}:null})};var R1=function(a){NK.call(this,a)};t(R1,NK);k=R1.prototype;k.yg=function(){return!1};k.cd=function(a){var b=new c0;a=U(b,1,a[0]);return S1(cpa,a)};k.dd=function(a){var b=new f1;a=U(b,1,a[0]);return S1(g1,a)};k.xd=function(){throw Error("Invalid Operation: Meeting Space Remove");};k.wd=function(a){var b=new d0;a=a.Ia();b=Q(b,1,a);return S1(dpa,b)};k.Ld=function(a){return this.wd(a)};
var S1=function(a,b){return new v1("google.rtc.meetings.v1.MeetingSpaceService",a,function(){return b},function(c){return{data:[c.Ac],version:z1(c)}})};var Rpa=function(a,b,c){return T1(a,b,[c],new RK({Xd:lJ,Vd:[lJ.prototype.Ia],Wd:[lJ.prototype.l],de:[],ee:[],ae:d_,Yd:[d_.prototype.Ia],Zd:[d_.prototype.l],be:[],ce:[],ci:Cpa}),function(d){return new R1(d)},"B","MeetingSpaces")},Spa=function(a,b,c){return T1(a,b,[c],new RK({Xd:oI,Vd:[vpa],Wd:[wpa],de:[oI.prototype.ub],ee:[oI.prototype.l],ae:$Z,Yd:[$Z.prototype.Ia],Zd:[$Z.prototype.u],be:[$Z.prototype.ub],ce:[$Z.prototype.l],ci:upa}),function(d){return new G1(d,a)},"s","MeetingDevices")},Tpa=function(a,
b,c){return T1(a,b,[""],new RK({Xd:PI,Vd:[],Wd:[],de:[PI.prototype.getName],ee:[PI.prototype.l],ae:b_,Yd:[],Zd:[],be:[b_.prototype.u],ce:[b_.prototype.l],ci:Apa}),function(d){return new O1(d,c)},"x","MeetingPollSeriesMetadata")},Upa=function(a,b,c){return T1(a,b,[""],new RK({Xd:ZI,Vd:[],Wd:[],de:[ZI.prototype.getName],ee:[ZI.prototype.l],ae:c_,Yd:[],Zd:[],be:[c_.prototype.u],ce:[c_.prototype.l],ci:Bpa}),function(d){return new Q1(d,c)},"z","MeetingQuestionSeriesMetadata")},Vpa=function(a,b,c){return T1(a,
b,[c],zpa(),function(d){return new M1(d)},"t","MeetingHandRaises")},T1=function(a,b,c,d,e,f,g){if(B1.has(a))var h=B1.get(a);else h=new C1(a),B1.set(a,h);e=e(h);f=new eN(b.j,f);return new MN(new cL(a),R(b.g,yL,13),c,d,e,f,b.l,g)};var Wpa=function(a,b,c,d,e){e=void 0===e?{}:e;return xK(a,SW).then(function(f){return U1(f,b,c,void 0,d,e)})},U1=function(a,b,c,d,e,f){f=void 0===f?{}:f;b=Xpa(b,d,e);return Ypa(a,b,c,f).then(function(g){return g.Ac})};function Ypa(a,b,c,d){var e=void 0===d?{}:d;d=e.RP;e=e.yr;var f={};c&&(f["X-Goog-Meeting-Botguardid"]=c);d&&(f["X-Goog-Meeting-Token"]=d);e&&(f["X-Goog-Meeting-StartSource"]=e);return(a instanceof Z_?a:new Z_("google.rtc.meetings.v1.MeetingSpaceService",a.g)).makeRequest(epa,b,f)}
function Xpa(a,b,c){var d=new e0;a=Q(d,1,a);b&&Q(a,4,b);c&&Hl(a,6,c);return a};var V1=function(a,b,c,d){MY.call(this,a,b,d);var e=this;this.Xl=this.g.signal();this.o=new WQ("realtime.meetings.call.MeetingCall");this.pd=new Set;this.u=c;this.Na=rt(xK(a,SW));var f=zt();this.D=null;this.bh=c=new YW;this.F=c.g;this.F.then(function(g){vN(g).then(function(){return f.resolve()})});this.Ge=new f_(this.F);this.ff=zt();this.FA=this.ff.promise;this.j=null;this.tc=new YW;this.s=this.tc.g;this.Y=null;this.K=new YW;this.Wb=this.K.g;this.eh=new YW;this.ah=this.eh.g;this.Ul=new YW;this.qc=
!1;this.gf=new k_(this.Da);this.T(this.gf);sS(this.hf,this.gf.s);this.qb=this.g.signal();this.Ii=new h1(a,b,this.qb,this.Wb);this.rc=zt();this.qf=this.rc.promise;this.qa=this.H=this.Ni=null;this.EA=this.g.signal();this.zA=new YW;this.gb=this.Ca=null;this.fh=!1;this.Dc=null;xK(a,QW,!1).then(function(g){e.Dc=g});this.yi=new HM(20);this.Fe=this.m=null;this.xa=new QV(3E4,this.g);this.xa.h.attach(function(){e.u?e.D.search():e.j.search()});this.aj=function(){return st("No prerequisite handler")};this.pf=
this.W=null;this.u&&this.Pa.resolve(!0);this.rf=gL(this.g);this.s.then(function(g){e.listen(g,"D",e.fj);e.fj()});IQ&&Bfa();this.fa=new cL(a);this.ml=KY(function(){return Zpa(e)});this.Bl=KY(function(){return $pa(e)})};t(V1,MY);V1.prototype.Gb=function(){return this.Y};
V1.prototype.wh=function(){var a=this;return Object.assign(MY.prototype.wh.call(this),{joinState:function(){var b=p1(a);return b?CI(b):0},meetingSpace:function(){return a.F.get()&&a.F.get().Ba()},localMeetingDevice:function(){return p1(a)&&p1(a).va()},meetingDevices:function(){return a.s.get()&&a.s.get().Ba()},recentMeetingOperations:function(){return a.yi.Ja()},mediaBackendInfo:function(){var b=a.D&&a.D.s();return(b=b&&DJ(b))&&N(b,8,"")}})};var aqa=l(["Removing meeting device on disconnect"]);
V1.prototype.ii=function(a,b){var c=this,d=rt(b);this.gb=b;var e=41===b,f=rt();if(0==b||123==b){var g=W1(this);g&&(g=this.j.ob(g),yI(g,7),f=zN(this.j,g).then(function(){c.logImpression(6096)}))}67==b&&this.m&&(d=this.j.search().then(function(h){return(h=h.find(function(m){return m.ub()==c.m}))&&7==CI(h)?43:b},function(){return b}));d.then(function(h){var m=rt();c.gb=h;Ct(f,function(){if(!c.fh&&(a||c.m)){if(!e){c.o.info(aqa);var r=c.ha.get()||c.m;r=c.j.ob(r);yI(r,6);m=zN(c.j,r,2)}m=m.then(function(){X1(c);
c.m=null;c.g.R(c.qb,null)})}c.W&&c.W.cancel();Ct(m,function(){c.Na.then(function(z){c.Fe=fx(z.h);c.h.h.h.g=null;MY.prototype.ii.call(c,a,h)})})});var q=new UY(h);c.bh.reject(q);c.tc.reject(q);c.rc.reject(q);c.F.get()&&c.F.get().stop();c.s.get()&&c.s.get().stop()})};var Y1=function(a,b){a.pd.add(b);Ct(b,function(){a.pd.delete(b)});return b};
V1.prototype.resolve=function(a,b){var c=this;b=void 0===b?{}:b;var d=b.fP,e=!!b.aP;b=b.yr;if(this.Y)return st(Z1("Meeting already resolved"));if(this.u&&!d)return st(Z1("Missing required botguard id"));if(!this.u&&d)return st(Z1("Botguard id not allowed when logged in"));var f=XY(this,0,"resolve");if(f)return st(f);d=Wpa(this.ka,a,d,!e,{yr:b});this.ff.resolve(Y1(this,d).then(function(g){c.Y=g.Gb();c.fe.g=c.Y;var h=g.Ia();c.D=Rpa(c.ka,c.h,h);P(c.D.config,8,5E3);c.T(c.D);c.j=Spa(c.ka,c.h,h);P(c.j.config,
8,5E3);c.T(c.j);c.u&&c.xa.start();c.K.resolve(h);c.fe.h=h;e_(c.Ge,g);return c.Ge},function(g){var h="Resolve code "+a;g instanceof aM?h+=", errorType: "+g.Cd:g instanceof t_?h+=", error message: "+g.getMessage():"number"===typeof g&&(h+=", rpc status code: "+g);var m=306,q=$1(g);null!=q&&(h+=", statusCode: "+q,m=bqa.get(q)||m,c.u&&(m=a2.get(q)||m),h+=", "+b2(g));c.yi.add(h);c.o.pa(cqa,h);if(h=c2(g))h=N(h,2,0),m=dqa.get(h)||m;g=new VY(m,g);c.K.reject(g);c.K=new YW;throw g;}));return this.FA};
var cqa=l(["",""]);V1.prototype.sa=function(a){var b=this;this.u?this.K.g.then(function(){MY.prototype.sa.call(b,a)}):MY.prototype.sa.call(this,a)};var eqa=l(["prejoin() was called"]);
V1.prototype.Mi=function(){var a=this;this.o.info(eqa);var b=XY(this,0,"preJoin");return b?st(b):rt().then(function(){if(a.u)return rt();if(a.H)return a.H.then(function(c){return d2(a,c)});a.H=e2(a,2).then(function(c){if(a.C())return c;d2(a,c);a.g.R(a.rf,CI(c));a.Pa.resolve(5==CI(c));a.zA.resolve(null);fqa(a);return c});return a.H})};
var fqa=function(a){var b=DQ(zQ("AYNFib"),0);0<b&&(a.qa=Ov(function(){f2(a,new VY(262));a.g.R(a.EA,void 0);a.logImpression(7167);a.F.get()&&a.F.get().stop();a.s.get()&&a.s.get().stop();a.qa=null},b,a))},d2=function(a,b){2==CI(b)?(QY(a,a.ah.get(),a.m),g2(a)):a.xa.start()},gqa=l(["Modifying the meeting device as VIEWING"]),hqa=l(["Unexpected view state: ",""]);
V1.prototype.view=function(){var a=this;return(this.H||this.Mi()).then(function(){return a.sessionId.then(function(b){var c=XY(a,0,"view");if(c)throw c;a.Ca||(a.o.info(gqa),c=new oI,c.l(a.m),zI(c,b),yI(c,12),a.Ca=Dt(zN(a.j,c).then(function(d){d=d[0];h2(a,d);var e=XY(a,0,"view");if(e)throw e;d=CI(d);if(12!=d)throw a.o.pa(hqa,d),new Gb("Unexpected join state: "+d);return d}),function(d){a.Ca=null;throw d;}));return a.Ca.then(function(d){12==d&&(a.j.stop(),a.xa.start());return d})})})};var iqa=l(["connect() was called"]);
V1.prototype.connect=function(a,b){var c=this;a=void 0===a?null:a;b=void 0===b?null:b;if(this.u&&!a)return st(new VY(302,"Missing name for anonymous user"));if(this.u&&!b)return st(new VY(302,"Missing botguard id for anonymous user"));Pv(this.qa);this.qa=null;return this.si.then(function(){c.o.info(iqa);var d=XY(c,0,"connect");if(d)return st(d);PY(c,1);c.xa.stop();return c.H?wt([c.H,c.Ca]).then(function(){return i2(c)}):e2(c,1,a,b).then(function(e){c.Pa.resolve(3===CI(e));return j2(c,e,Date.now())})})};
var jqa=l(["Should not update the same session id."]);V1.prototype.jj=function(a){this.sessionId.get()==a?this.o.pa(jqa):kqa(this,a)};var lqa=l(["Modifying the session id: ",""]),mqa=l(["Failed to update the session id: ",""]),kqa=function(a,b){a.o.info(lqa,b);var c=new oI;c.l(a.m);zI(c,b);c=zN(a.j,c).then(function(d){return h2(a,d[0])},function(){a.o.pa(mqa,b)});Y1(a,c)};
V1.prototype.fj=function(){var a=this.s.get(),b=a.get(),c=b.filter(this.lf).map(function(e){return e.ub()});SY(this,c);var d=this.ha.get();if(3!==this.getState()&&4!==this.getState()&&(a=d?a.s(d):null))switch(CI(a)){case 7:this.logImpression(3952);a=k2(a)||43;this.disconnect(a);break;case 8:this.disconnect(nqa(a));break;case 2:case 3:case 5:case 9:case 12:case 13:this.getState();break;case 1:oqa(this,a);break;default:this.disconnect(34)}if(a=W1(this))d=N(R(a,vI,20),1,""),gpa(this.Ii,d);hpa(this.Ii,
!!a&&1===CI(a));og(this.M,b.length+" raw devices; "+c.length+" joined.")};var W1=function(a){if(a.j)return a.j.get().find(function(b){return a.lf(b)&&!!R(b,vI,20)&&N(R(b,vI,20),4,"")==a.ha.get()})};V1.prototype.lf=function(a){return O(a,5,!1)||10==CI(a)};
var pqa=l(["Failed to clear AudioMuteRequest"]),oqa=function(a,b){var c=R(b,qI,12)&&N(R(b,qI,12),1,"");if(c!=a.pf){var d=c==b.ub();if(a.pf=c){if(!d||!a.qc){var e=Tla(a);e&&!e.Vb()&&lW(e)}b=a.j.ob(b);BI(b,new qI);Dt(zN(a.j,b),function(){a.o.pa(pqa)});d?a.qc||(a.g.R(a.Xl,void 0),a.logImpression(4203)):(a.g.R(a.Ec,{yz:c}),a.logImpression(990))}}},e2=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;return Dt(wt([a.K.g,a.sessionId,a.Na]).then(function(e){var f=n(e);e=f.next().value;var g=f.next().value,
h=f.next().value;f=zI(yI((new oI).l(t1({Wb:e,te:d||""})),b),g);g=a.contentType&&l2.get(a.contentType);1==b&&g&&Il(f,25,g);a.u&&Q(f,2,c);qqa(a,h,e);e=Y1(a,a.j.add(f));e.then(function(){a.eh.resolve(h.np)});return e}).then(function(e){e=e[0];a.m=e.ub();a.g.R(a.qb,a.m);if(a.u){var f=a.m.split("/")[3]||a.Kc;a.fe.j=f;a.Ul.resolve(f)}h2(a,e);return e},a.Em,a),function(e){throw Z1(e);})},rqa=l(["Device add operation has been cancelled."]),sqa=l(["Device add error: ",""]);
V1.prototype.Em=function(a){X1(this);mg(this.M,"add device failed, moving back to INITIALIZED state");PY(this,0);this.H=null;var b=325,c=$1(a);a instanceof mt?(b=219,this.o.pa(rqa)):null!=c&&(b=m2(a,b),this.u&&(b=a2.get(c)||b),this.o.pa(sqa,b2(a)));throw new VY(b,a);};
var tqa=l(["Modifying the meeting device as JOINED"]),uqa=l(["Device modify error: ",""]),i2=function(a){return Dt(a.sessionId.then(function(b){a.o.info(tqa);var c=new oI;c.l(a.m);zI(c,b);(b=a.contentType&&l2.get(a.contentType))&&Il(c,25,b);yI(c,1);return zN(a.j,c)}).then(function(b){h2(a,b[0]);return j2(a,b[0],Date.now())},function(b){var c=303;null!=$1(b)&&(c=m2(b,c),a.o.pa(uqa,b2(b)));throw new VY(c,b);}),function(b){return f2(a,Z1(b))})},vqa=l(["Checking the join state"]),wqa=l(["Unexpected join state: ",
""]),j2=function(a,b,c){var d=XY(a,1,"checkJoinState");if(d)return f2(a,d);a.g.R(a.rf,CI(b));a.o.info(vqa);switch(CI(b)){case 1:return xqa(a);case 13:return a.W=Qv(5E3).then(function(){return n2(a,Date.now()-c)},function(){f2(a,new VY(219))}),a.W;case 3:if(6E5<=Date.now()-c)return f2(a,new VY(234));a.W=Qv(5E3).then(function(){return n2(a,c)},function(){f2(a,new VY(252))});return a.W;case 4:return f2(a,new VY(233));case 11:return f2(a,new VY(241));case 9:var e=0,f=function(){return 5>e++?yqa(a).then(function(m){return a.aj(m)}):
st()},g=function(){return f2(a,new VY(325))},h=function(){return f().then(function(){return Dt(i2(a),function(){return h()})},g)};return h();default:return a.o.pa(wqa,CI(b)),f2(a,"Unexpected join state: "+CI(b))}},n2=function(a,b){return a.j.search().then(function(c){c=c.find(function(d){return d.ub()==a.m});h2(a,c);return j2(a,c,b)},function(c){var d=303;null!=$1(c)&&(d=m2(c,d));return f2(a,new VY(d,c))})},xqa=function(a){g2(a);var b=zt();RY(a,b,a.ah.get(),a.m);return b.promise},g2=function(a){a.bh.resolve(a.D);
a.tc.resolve(a.j);a.D.start();a.j.start()};V1.prototype.bo=function(){return Xla(this.ha.get(),this.Da.m.concat().map(function(a){return a.g}),this.Da)};V1.prototype.oc=function(){return MY.prototype.oc.call(this)};
var f2=function(a,b){mg(a.M,"connect failed, moving back to DISCONNECTED state");PY(a,4);if(a.m){var c=new oI;c.l(a.m);yI(c,6);Ct(zN(a.j,c,2),function(){return X1(a)});a.m=null;a.g.R(a.qb,null);a.H=null}return st(Z1(b))},qqa=function(a,b,c){zqa(a,function(){X1(a);var d={meetingToken:fx(b.h)||a.Fe};kM(b.j.replace("${path}",c+"/devices:close"),Vs(d),"application/json");a.fh=!0},function(){return Aqa(a)})};
V1.prototype.qd=function(a){MY.prototype.qd.call(this,a);a=OL(a);this.Y&&P(a,13,this.Y);var b=this.K.g.get();b&&P(a,14,b)};
var Aqa=function(a){var b=function(){a.Dc&&yZ(a.Dc,a).forEach(function(c){var d=a.h.h,e=tr(d.u,"/"+d.m+"/"+d.s+"/media_sessions/callperf");d.l&&(e=or(e,"key",d.l));pM(d,c);kM(e,c.va(),"application/json+protobuf")})};a.disconnect(null!=a.gb?a.gb:63).then(b,b)},Z1=function(a){return a instanceof VY||a instanceof mt?a:new VY(302,a)},$1=function(a){return a instanceof aM?a.g:a instanceof t_?a.h:"number"===typeof a?Bqa.get(a):null},c2=function(a){if(a instanceof t_)a:{if(a.g){a=n(S(a.g,YE,3));for(var b=
a.next();!b.done;b=a.next())if(b=b.value,"google.rtc.meetings.v1.ErrorDetails"==N(b,1,"")||"type.googleapis.com/google.rtc.meetings.v1.ErrorDetails"==N(b,1,"")){a=N(b,2,"");null==a||a instanceof Uint8Array||("string"===typeof a?a=Bk(a):(Mb("Cannot coerce to Uint8Array: "+Pa(a)),a=null));a=new Jk(a);for(b=new ZZ;y(a)&&!x(a);)switch(a.g){case 1:var c=E(a);Kl(b,1,YZ[0],c);break;case 2:c=E(a);Kl(b,2,YZ[0],c);break;default:A(a)}a=b;break a}}a=null}else a=null;return a},Cqa=function(a){var b="",c=a.l;c&&
(b+=" exception name: "+c.name,b+=" exception message: "+c.message);a.g&&(b+=" status: "+a.g.va());a.Ac&&(a=a.Ac,Array.isArray(a)?(a=a.map(function(d){return d instanceof J?d.va():Lf(d)}),b+=" response: "+Vs(a)):b=a instanceof J?b+(" response: "+a.va()):b+(" response: "+Lf(a)));return b},b2=function(a){if(a instanceof aM&&a.response){a=a.response.lz||"";try{var b=JSON.parse(a).body;var c=b?Vs(b):a}catch(d){c=a}}else c=a instanceof t_?Cqa(a):Lf(a);return c},m2=function(a,b){var c=c2(a);if(c&&N(c,1,
0)&&(c=Dqa.get(N(c,1,0))))return c;a=$1(a);return null!=a?Eqa.get(a)||b:b},qpa=function(a,b){a.aj=b},h2=function(a,b){b&&(a.Ni=b,a.rc.resolve(!0))},p1=function(a){var b=null;a.j&&a.m&&(b=a.j.s(a.m));return b||a.Ni},Fqa=function(a){return a.D.search().then(function(b){return b[0]})},yqa=function(a){var b=Fqa(a);a=a.j.start()||vN(a.j);return wt([b,a]).then(function(c){return n(c).next().value})};V1.prototype.ba=function(){this.pd.forEach(function(a){a.cancel()});Pv(this.qa);MY.prototype.ba.call(this)};
var nqa=function(a){a=k2(a);return null!=a?a:Gqa()},k2=function(a){switch(N(a,28,0)){case 2:return 121;case 3:return 10;case 6:return 125;default:return null}},Gqa=function(){var a=R_("ListMeetingDevices",1)[0]||R_("UpdateMeetingDevice",1)[0];switch(a&&a.resp.code){case 400:return 114;case 401:return 113;case 403:return 115;default:return 111}};V1.prototype.Eo=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,j1).then(function(c){return function(){return c(a)}}))})};
var Zpa=function(a){return Da(function(b){return b.return(xK(a.ka,l1).then(function(c){return c(a)}))})},$pa=function(a){return Da(function(b){return b.return(xK(a.ka,m1).then(function(c){return c(a)}))})};V1.prototype.Fo=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,k1).then(function(c){return function(){return c(a)}}))})};V1.prototype.Zn=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,i1).then(function(c){return c(a)}))})};
V1.prototype.co=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,ipa).then(function(c){return c(a)}))})};V1.prototype.ao=function(){var a=this;return Da(function(b){return b.return(xK(a.ka,jpa).then(function(c){return c(a)}))})};
var bqa=new Map([[404,217],[401,300],[400,327],[403,256],[504,328],[10001,328],[10007,249],[-1,329],[0,329]]),dqa=new Map([[1,217],[5,260],[4,254],[3,253]]),Bqa=new Map([[0,200],[2,500],[3,400],[4,504],[5,404],[7,403],[16,401],[8,429],[9,400],[13,500],[11,400],[6,409],[10,409],[14,503],[12,501]]),a2=new Map([[403,200]]),Eqa=new Map([[400,324],[403,200],[500,307],[429,216],[10001,330],[10007,331],[-1,331],[0,331]]),Dqa=new Map([[1,239],[4,258],[5,257],[6,261]]),o2=new Map,p2=function(){var a=[].concat(p(o2.values()));
a.forEach(function(b){b=b.hA;return b()});a.forEach(function(b){b=b.Wt;return b()});o2.clear();Fv(yg(),["beforeunload","unload"],p2)},zqa=function(a,b,c){0==o2.size&&xv(yg(),["beforeunload","unload"],p2);o2.set(a,{hA:b,Wt:c})},X1=function(a){o2.delete(a);0==o2.size&&Fv(yg(),["beforeunload","unload"],p2)},l2=new Map([["stqyie",1],["iaamBc",2],["vLwGKe",3],["hQbUN",4]]);var q2=function(a,b,c,d,e){V.call(this);this.o=eb("mr.mirror.hangouts.HangoutCallService");this.h=a;this.m=d;this.N=e;this.g=null;this.u=!1;this.D=new Fb;this.j=new Fb;this.G=!1;this.F=new Fb;this.s=this.l=null;this.H=!1;Hqa(this,b,c)};t(q2,V);
var Lqa=function(a,b){a.o.info("Connecting to hangout");setTimeout(function(){a.j.reject(Error("Timed out before connecting"))},3E4);a.D.promise.then(function(c){mb(a.o,"Call ready.");a.u=c.ye;if(a.u)c=Iqa(a,c);else{var d=c.ib,e=c.bi;c=a.h.get(RM);if(e)mb(a.o,"Already resolved id: "+e),c=rt(cO(a.h,c,e));else{mb(a.o,"resolving hangout id: "+d);e=a.h;d=d.split("@");var f=new NB;P(f,5,!0);if(-1!=d[1].indexOf(".")){var g=new LB;P(g,1,d[0]);P(g,2,d[1]);U(f,4,g)}else g=new qB,P(g,1,d[1]),P(g,2,d[0]),U(f,
2,g);c=eO(e,c,f)}c=a.g.connect(c)}return c}).then(null,function(c){Jqa(a,c);if(c.Ef){for(var d="",e=n(Object.entries(fka)),f=e.next();!f.done;f=e.next()){var g=n(f.value);f=g.next().value;g=g.next().value;if(g==c.bA){d=f+"("+g+")";break}}a.o.error("Call connect error startupCode: "+d);c=c.Ef}d="SESSION_FAILURE";c.response&&Array.isArray(c.response)&&0<c.response.length&&"chrrp"==(new WD(c.response)).D&&(d="HANGOUT_INVALID");a.m(new Zj(d));a.j.reject(c);r2(a,16)});return a.j.promise.then(function(){return a.g.ha}).then(function(c){s2(a,
b,c);if(a.u)return t2(a,c);u2(a,c);Kqa(a,a.g.j.get())})},Mqa=function(a,b){return new Promise(function(c,d){a.g.ha.then(function(e){s2(a,b,e);if(!a.H){if(a.u){t2(a,e).then(c,d);return}u2(a,e)}c()},d)})},Nqa=function(a,b){a.g.Da.m.concat().forEach(function(c){"a"===c.ga()&&(b?lW(c):"st"!=c.h&&KZ(c,!1))})},Oqa=function(a){return a.j.promise.then(function(){cW(a.g.Da)}).catch(function(){if(a.g)cW(a.g.Da);else throw Error("call was never created");})};q2.prototype.stop=function(){r2(this,0);return this.F.promise};
q2.prototype.ba=function(){var a=this;this.l&&this.l.dispose();this.s&&this.s.dispose();this.D.reject(Error("Disposed"));this.j.reject(Error("Disposed"));setTimeout(function(){a.F.reject(Error("Timed out before stopping"))},1E4);this.g&&this.g.dispose();V.prototype.ba.call(this)};
var Hqa=function(a,b,c){a.m(new Zj("REFRESH_AUTH"));b.then(function(){return c}).then(function(d){mb(a.o,"Creating call for hangout id: "+d.ib+" resolvedId: "+d.bi);var e=YR(new WR);a.g=Pqa(a,d,e);a.g.onConnect.then(a.K,null,a);a.g.onDisconnect.then(a.V,function(f){a.o.L("Error on disconnect: "+f)},a);a.D.resolve(d)})},Pqa=function(a,b,c){var d=a.h.get(EW);b.ye?(b=new V1(a.h,d,!1),b.qc=!0,b.contentType="iaamBc",b.sa(c),b.s.then(a.W,null,a),rpa(b)):(b=new wZ(a.h,d,c),b.jb.then(a.Y,null,a));b.Ec.attach(function(){a.m(new Zj("STATUS_RESPONSE",
{mute:!0}));a.N(!0)});return b},Iqa=function(a,b){var c=a.g;return c.resolve(b.ib).then(function(){return c.connect()})},s2=function(a,b,c){if(0<b.getAudioTracks().length)if(a.l){var d=a.l;d.qa=b;d.m()}else a.l=new v2(a.h,new nO(c,"1","a","sc"),b),HZ(a.l),a.g.nj(a.l);a.s?(a=a.s,a.qa=b,a.m()):(c=new nO(c,"2","v","sc"),lO(c,[new kO(0,0,1,1)])&&c.O("K"),a.s=new v2(a.h,c,b),HZ(a.s),a.g.nj(a.s))},t2=function(a,b){var c=new oJ;Q(c,1,b);var d=a.g.F.get();a=new uJ;a.Dd(c);var e=d.ob();U(e,6,a);return new Promise(function(f,
g){zN(d,e).then(f,g)})},u2=function(a,b){var c=new sB;tB(c,b);b=new wB;b.Dd(c);b.Hl(a.g.ib.get());zN(a.g.j.get(),b)},Kqa=function(a,b){b.onChange.attach(function(){a.g.ha.then(function(c){a.H=b.get().some(function(d){return d.Rc()&&M(d.Rc(),1)==c})})},a)};q2.prototype.W=function(a){var b=this;a.onChange.attach(function(c){return Qqa(b,c.nc)},this)};var Qqa=function(a,b){b.forEach(function(c){c.ub()==a.g.ha.get()&&7==CI(c)&&r2(a,43)})};
q2.prototype.Y=function(a){var b=this;a.onChange.attach(function(){return Rqa(b,a)},this);a.Y.attach(function(c){b.o.error("Failure in collection: "+c.reason);b.j.reject(c.reason);r2(b,c.Rb)},this)};var Rqa=function(a,b){mb(a.o,function(){return"Participants updated: "+b.get().filter(function(c){return O(c,18,!1)}).map(function(c){return M(c,4)}).join(", ")});!a.G&&2>b.get().length&&(a.m(new Zj("HANGOUT_INACTIVE")),r2(a,61))};
q2.prototype.K=function(){this.o.info("Call connected");this.m(new Zj("SESSION_START_SUCCESS"));this.j.resolve(void 0)};q2.prototype.V=function(a){this.m(new Zj("SESSION_END"));var b="",c;for(c in pB)if(pB[c]==a){b=c+"("+a+")";break}this.o.info("Call ended with endcause: "+b);0!=a&&61!=a&&16!=a&&this.m(new Zj("SESSION_FAILURE"))};
var r2=function(a,b){a.o.info("Stopping call with end Cause: "+b);a.G?a.o.info("Ignore stop, already stopping."):(a.G=!0,a.g?a.g.disconnect(b).then(function(c){mb(a.o,"Call disconnected with endCause: "+c);a.F.resolve(void 0)}):a.F.resolve(void 0))},Jqa=function(a,b){b instanceof Error?a.o.error("Connect error",b):Qa(b)?a.o.error(function(){return"Connect error: "+JSON.stringify(b)}):Ra(b)?a.o.error("Connect error: "+JSON.stringify(b)):a.o.error("Connect error: "+b)},v2=function(a,b,c){EZ.call(this,
a,b,Sqa);this.qa=c};t(v2,EZ);v2.prototype.m=function(){var a=this.qa.clone();LZ(this,a);a.getVideoTracks().forEach(function(b){"contentHint"in b&&(b.contentHint="detail")});return rt()};var w2=new XZ,Tqa=UZ(TZ(VZ(new SZ,30),320),180).ia();w2.h=Tqa;var Uqa=UZ(TZ(VZ(new SZ,30),640),360).ia();w2.g=Uqa;var Sqa=w2.ia();var x2=function(a,b){this.status=void 0===a?99:a;this.value=b};x2.prototype.toString=function(){return"ExtensionResult(status="+this.status+", value="+this.value+")"};var y2=function(a){if(0===a.status)return a.value;throw a;};var Vqa=new RegExp(/(?:hangouts\/_|present)/.source+"[/]"+/(?:[^\/]+\.[^\/]+)/.source+"[/]"+/([\w_\-]+)/.source+/[\?\/]?/.source);var z2=new WQ("realtime.hangoutsextension.Extension");function A2(){var a=yg(),b=a,c=b.chrome&&b.chrome.runtime;try{do{try{b.location.origin==a.location.origin&&(c=b.chrome&&b.chrome.runtime||c)}catch(d){}if(b==b.parent)break;b=b.parent}while(null!=b)}catch(d){}return c}function B2(){return"https:"==yg().location.protocol?"nkeimhogjdpnpccoofpliimaahmaaome":"hoblmflfjcnhdllclikeemgdcbbflkhi"}
function C2(a,b){b=void 0===b?!0:b;var c=zt(),d=A2(),e=a.method;if(d&&d.sendMessage){e=Wqa(c,e,b);b=yg().location;a.origin=b.origin+"/";var f=rr(b.href,"tabId");f&&(a.tabId=f);b=rr(b.href,"winUrl")||rr(b.href,"origin")||b.origin;a.winUrl=b;d.sendMessage(B2(),a,e)}else d?(a='chrome.runtime lacks "sendMessage" method',d=8):(a="chrome.runtime missing",d=5),c.reject(new x2(d,"Method: "+e+"; Type: "+a+"; Explanation: "));return c.promise}var Xqa=l(["Sending message: ",""]);
function D2(a){var b=Vs(a);var c=void 0===c?"#REDACTED#":c;var d=Vqa.exec(b);b=d&&d[1]?b.replace(d[1],c):b;z2.info(Xqa,b);return C2(a)}var Yqa=l(["Opening port named ",""]);function Zqa(){var a=A2();if(a&&null!=a.connect){z2.info(Yqa,"processCpu");var b=a.connect(B2(),{name:"processCpu"}),c=function(){return b.disconnect()};xv(yg(),"unload",c);b.onDisconnect.addListener(function(){Fv(window,"unload",c)});return b}return null}var $qa=l(["Received response to ",": ",""]);
function Wqa(a,b,c){return function(d){var e="No response from extension.",f=2;if(null!=d)if(f=1,e=d.error,null!=e)e="Extension reported: "+e.name+" - "+e.message+".";else{c&&(f=Vs(d.value),z2.g($qa,b,f));a.resolve(new x2(0,d.value));return}(d=A2())?null!=d.lastError&&(e+=" chrome.runtime.lastError.message: "+d.lastError.message):(f=5,e+=" No chrome.runtime to get chrome.runtime.lastError.message.");a.reject(new x2(f,"Method: "+b+"; Type: Hangout Component Extension Error; Explanation: "+(e||"")))}}
var E2=!1;var ara=new Map([[1,4030],[2,4031],[4,4610],[5,4664],[8,4962]]);var F2=function(a){var b=this;this.g=a;this.j=null;this.h=function(c){var d=ara.get(c.status);if(d){var e=c.value;e="string"==typeof e?e:JSON.stringify(e);b.g.logImpression(d,{cc:e})}d=0==c.status;null!=b.j&&(!b.j&&d?b.g.logImpression(4783):b.j&&!d&&b.g.logImpression(4784));b.j=d;return c}},G2=function(a,b){wK(a,PW)||FK(a,PW,function(c){return new F2(b(c))})};F2.prototype.Hf=function(){return this.g.Hf().then(this.h,this.h)};F2.prototype.vh=function(){return this.g.vh()};
var bra=function(a){return a.g.tl().then(a.h,a.h)},cra=function(a,b,c){return a.g.ul(b,c).then(a.h,a.h)},H2=function(a,b){return a.g.ql(b).then(a.h,a.h)},dra=function(a,b,c){return a.g.vl(b,c).then(a.h,a.h)},I2=function(a){this.g=xK(a,$K)};I2.prototype.logImpression=function(a,b){this.g.then(function(c){c.logImpression(a,b)})};var J2=function(a){I2.call(this,a);this.logImpression(4865)};t(J2,I2);k=J2.prototype;k.Hf=function(){return new nt(function(a){chrome.system.cpu.getInfo(function(b){a(new x2(0,b))})})};
k.vh=function(){if(!chrome.processes)return null;var a=Ma,b,c=function(d){Bj(10);if(void 0==b)sj("mr.mirror.hangouts.HangoutsService").then(function(r){if(r=r.g)r=r.h.mediaSource,-1!=r.indexOf(":tab:")&&(r=r.split(":"),chrome.processes.getProcessIdForTab(parseInt(r[r.length-1],10),function(z){chrome.runtime.lastError||(b=z)}))});else{var e=d[b];if(e){var f=0,g=0,h=0,m;for(m in d){var q=d[m];"browser"==q.type?g=q.cpu:"gpu"==q.type?h=q.cpu:"extension"==q.type&&q.title==chrome.runtime.getManifest().name&&
(f=q.cpu)}a({tabCpuUsage:e.cpu,browserCpuUsage:g,gpuCpuUsage:h,pluginCpuUsage:f})}}};return{onMessage:{addListener:function(d){a=d;chrome.processes.onUpdated.addListener(c)}},disconnect:function(){chrome.processes.onUpdated.removeListener(c);a=Ma}}};k.ql=function(){return K2()};k.tl=function(){return K2()};k.ul=function(){return K2()};k.sl=function(){return K2()};k.vl=function(){return K2()};k.rl=function(){return K2()};var K2=function(){return st(new x2(7,"This method is not intended to be implemented."))};var era={TAB:0,Ym:1},L2=function(a){Ab("MediaRouter.Hangouts.Start.Success",a,era)};var M2=function(a,b,c){Tj.call(this,a);var d=this;this.W=b;this.N=c;this.o=eb("mr.mirror.hangouts.HangoutSession");this.H=nx(a.id);this.m=new Fb;this.C=!1;this.s=this.D=null;this.u=new Fb;this.u.promise.catch(function(e){d.o.error("Error in cloud provider",e)});this.F=this.V=null;fra(this);this.g=null};t(M2,Tj);
M2.prototype.start=function(a){var b=this;mb(this.o,"Starting new hangouts mirror session.");this.D=a;if(this.g)return Promise.reject(Error("Mirroring already started"));if(this.s)return Promise.reject(Error("Session permanently stopped"));this.V=new qb("MediaRouter.Hangouts.Session.Launch");this.g=new q2(this.W,this.N,this.u.promise,this.l.bind(this),this.Y.bind(this));Lqa(this.g,this.D).then(function(){mb(b.o,"Call connected");b.l(new Zj("SESSION_START_SUCCESS"));b.V.end();b.V=null;b.F=new wb("MediaRouter.Hangouts.Session.Length");
b.m.resolve(b)},function(c){b.m.reject(c);b.stop()});return this.m.promise};M2.prototype.Br=function(){return!0};M2.prototype.Ir=function(a){var b=this;return new Promise(function(c,d){b.g?Mqa(b.g,a).then(function(){b.D=a;c()},d):d(Error("Mirroring was never started"))})};
M2.prototype.stop=function(){var a=this;mb(this.o,"Stopping hangouts mirror session.");this.m.reject(Error("Session stop requested."));this.F&&(this.F.end(),this.F=null);if(!this.g)return Promise.resolve();if(this.s)return this.s;this.m.reject(Error("Stopped"));this.u.reject(Error("Stopped"));var b=function(){try{a.H.dispose()}catch(c){a.o.error("Error while disposing message port",c)}try{a.g.dispose()}catch(c){a.o.error("Error while disposing call service",c)}};return this.s=new Promise(function(c,
d){setTimeout(function(){b();d(Error("Timed out before stopping"))},1E4);a.g.stop().then(function(){b();c()}).catch(function(e){b();d(e)})})};
var fra=function(a){a.H.onMessage=function(b){if("string"===typeof b){b=JSON.parse(b);var c=b.clientId;if(c){"client_connect"==b.type?a.l({message:{sessionId:"castouts"},clientId:c,type:"new_session"}):"v2_message"==b.type&&"STOP"==b.message.type&&a.l({message:"castouts",clientId:c,type:"remove_session"});return}}if(!b.type)throw Error("Message has no type.");switch(b.type){case "AUTH_READY":b=b.data;mb(a.o,"received auth ready message");a.u.resolve(b);break;case "MUTE":b.data&&(a.C=!!b.data.mute,
a.g&&Nqa(a.g,a.C));break;case "STATUS_RESPONSE":mb(a.o,"route status response message");b.data&&(a.C=!!b.data.mute);break;case "STATUS_REQUEST":mb(a.o,"route status request message");a.l(new Zj("STATUS_RESPONSE",{routeDescription:a.h.description,mute:a.C}));break;default:throw Error("Unknown message type: "+b.type);}}};M2.prototype.l=function(a){mb(this.o,function(){return"sending message to mrp: "+JSON.stringify(a)});this.H.sendMessage(a,gra)};M2.prototype.Y=function(a){this.C=a};var gra={channelType:"mesi"};var N2=function(a){this.g=a};N2.prototype.onError=function(a,b){401==b.g&&this.g(new Zj("REFRESH_AUTH"))};N2.prototype.onRequest=Ma;N2.prototype.u=Ma;var ira=function(a,b){var c=a.V,d=a.H;c=c&&c instanceof J?d?d.va.call(c):c.va():c;var e=null==a.u?{}:a.u;d=null==a.Y?{}:a.Y;var f=null==a.oa?"application/json":a.oa;if(null==a.D||a.D)a.H?(d.alt="proto",f="application/x-protobuf",e["X-Goog-Encode-Response-If-Executable"]="base64"):(d.alt="protojson",f="application/json+protobuf");var g=a.Ab;if(0<g.length){e["MIME-Version"]="1.0";var h="END_OF_PART_"+Ee();e["Content-Type"]='multipart/related; boundary="'+h+'"';c=hra(f,c,g,h)}else"application/x-www-form-urlencoded"==
f&&(c=kr(d),d.key?d={key:d.key}:d={}),null!=c&&(e["Content-Type"]=f);e["Accept-Language"]=a.rd||"en";null!=b&&Fc(b,function(m,q){null==e[q]&&(e[q]=m)});b={method:a.N,path:a.C,params:d,headers:e,body:c};td(De(a.F||""))||(b.root=a.F||"");return b},hra=function(a,b,c,d){var e="\r\n\r\n--"+d+"\r\n";d="\r\n\r\n--"+d+"--\r\n";var f=e+"Content-Type: "+a+"\r\n\r\n"+b;Qb(c,function(g){f+=e+"Content-Type: "+g.type+"\r\nContent-transfer-encoding: "+g.g+"\r\n\r\n"+g.data+"\r\n\r\n"});return f+=d};var O2=function(a,b){b=void 0===b?!1:b;V.call(this);var c=this;this.h=zt();this.g=!1;this.j=b;a.then(function(d){c.m={Gz:d};c.g=!0;c.h.resolve(null)},Ma);this.o=jg("realtime.network.CorsApiaryTransport")};t(O2,V);
O2.prototype.sendRequest=function(a,b){var c=this,d=zt();if(!this.g)return lg(this.o,"Attempted to use Apiary transport for "+dM(a)+" when not ready."),d.reject(new aM("fatal","transport_unavailable",null,null)),d.promise;var e=ira(a,b),f=e.headers;b=f["Content-Type"];var g=e.body;g&&!b&&(b="application/json",f["Content-Type"]=b);"application/json"!=b||e.params.alt||(e.params.alt="json");!g||!Ra(g)||g instanceof Uint8Array||(g=Vs(g));Mc(f,"Authorization")&&(f["X-Goog-AuthUser"]=this.m.Gz);b=nr(e.path,
e.params);var h=tr(e.root,b),m=function(){return gw(h,Ya(c.s,c,d,a,g&&g.length||0),e.method,g,f,(a.g?a.g.g:null)||0,!0)};if(this.j&&Uint8Array&&g&&y_(g.length)){b=g instanceof Uint8Array?g:qk(g);var q=new Uint8Array(b.length);q.set(b);x_(q).then(function(r){f["Content-Encoding"]="gzip";g=r;m()},function(){m()})}else m();return d.promise};
O2.prototype.s=function(a,b,c,d){d=d.target;var e=sw(d),f={body:e,headers:vw(d),status:d.Ha(),statusText:rw(d)};c={xz:c,ey:e&&e.length||0};c={Rd:d.Ha(),headers:vw(d),lz:Vs(f),Mb:null,extraData:c};if(null!=e)try{var g=b.H;if(g){if(qw(d)){if("base64"==d.getResponseHeader("X-Goog-Safety-Encoding"))var h=Bk(e);else a:{try{if(d.g&&"responseBody"in d.g){h=d.g.responseBody;break a}}catch(m){pg(d.o,"Can not get responseBody: "+m.message)}h=null}c.Mb=g.Fi(h)}}else c.Mb=JSON.parse(e)}catch(m){mg(this.o,"Failed to parse response for "+
dM(b)+": "+e,m)}4==pw(d)&&qw(d)?null==c.Mb?a.reject(new aM("retry","response_decoding",c.Rd,c)):null!=c.Mb&&null!=c.Mb.error?(c.Rd=c.Mb.error.code,mg(this.o,dM(b)+" request failed "+c.Mb.error.code+": "+c.Mb.error.message),a.reject(new aM("retry","network_or_frontend",c.Rd,c))):(g=jg("realtime.network.ApiaryTransportHelper"),h=c.Mb,(b=(null==b.D?!0:b.D)&&!b.H)&&!Qa(h)||!b&&!Ra(h)?(mg(g,"Apiary returned bad response type; expected "+(b?"Array":"Object")+", received "+Pa(h)),a.reject(new aM("retry",
"response_format",c.Rd,c))):a.resolve(c)):(0>=d.Ha()&&(mg(this.o,"Request failed: A network error occurred and the "+dM(b)+" request could not be completed"),c.Rd=0),a.reject(new aM("retry","network_or_frontend",c.Rd||d.m,c)))};var P2=function(a){O2.call(this,rt(0));this.l=a};t(P2,O2);P2.prototype.sendRequest=function(a,b){var c=this;return new nt(function(d,e){c.l.getAuthToken().then(function(f){null==b&&(b={});b.Authorization="Bearer "+f;d(O2.prototype.sendRequest.call(c,a,b))},e)})};var Q2=function(){},kra=function(a){for(var b=a.constructor;b&&!b.Me;)b=b.Kb&&b.Kb.constructor;b.Me.eo||(b.Me.eo=jra(b));return new b.Me.eo(a)},jra=function(a){var b=a.Me,c=function(m){c.Kb.constructor.call(this,m);var q=this.Nd.length;this.g=[];for(var r=0;r<q;++r)this.Nd[r].kP||(this.g[r]=new this.Nd[r](m))};w(c,b);for(var d=[];a&&a!==Object;){if(b=a.Me){b.Nd&&(lc(d,b.Nd),nc(d));var e=b.prototype,f;for(f in e)if(e.hasOwnProperty(f)&&"function"===typeof e[f]&&e[f]!==b){var g=!!e[f].hP,h=lra(f,e,
d,g);(g=mra(f,e,h,g))&&(c.prototype[f]=g)}}a=R2(a)}c.prototype.Nd=d;return c},R2=function(a){return a===Object?Object:Object.getPrototypeOf?Object.getPrototypeOf(a.prototype).constructor||Object:a.Kb&&a.Kb.constructor||Object},lra=function(a,b,c,d){for(var e=[],f=0;f<c.length&&(c[f].prototype[a]===b[a]||(e.push(f),!d));++f);return e},mra=function(a,b,c,d){var e;c.length?d?e=function(f){var g=this.g[c[0]];return g?g[a].apply(this.g[c[0]],arguments):this.Nd[c[0]].prototype[a].apply(this,arguments)}:
b[a].du?e=function(f){a:{var g=Array.prototype.slice.call(arguments,0);for(var h=0;h<c.length;++h){var m=this.g[c[h]];if(m=m?m[a].apply(m,g):this.Nd[c[h]].prototype[a].apply(this,g)){g=m;break a}}g=!1}return g}:b[a].cu?e=function(f){a:{var g=Array.prototype.slice.call(arguments,0);for(var h=0;h<c.length;++h){var m=this.g[c[h]];m=m?m[a].apply(m,g):this.Nd[c[h]].prototype[a].apply(this,g);if(null!=m){g=m;break a}}g=void 0}return g}:b[a].xp?e=function(f){for(var g=Array.prototype.slice.call(arguments,
0),h=0;h<c.length;++h){var m=this.g[c[h]];m?m[a].apply(m,g):this.Nd[c[h]].prototype[a].apply(this,g)}}:e=function(f){for(var g=Array.prototype.slice.call(arguments,0),h=[],m=0;m<c.length;++m){var q=this.g[c[m]];h.push(q?q[a].apply(q,g):this.Nd[c[m]].prototype[a].apply(this,g))}return h}:d||b[a].du||b[a].cu||b[a].xp?e=null:e=nra;return e},nra=function(){return[]};Q2.prototype.j=function(a){if(this.g)for(var b=0;b<this.g.length;++b)if(this.g[b]instanceof a)return this.g[b];return null};
var S2=function(){var a=function(){};a.xp=!0;return a};var ora=function(a){return this.ph.j(a)};/*

 (The MIT License)

 Copyright (C) 2014 by Vitaly Puzrin

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

 -----------------------------------------------------------------------------
 Ported from zlib, which is under the following license
 https://github.com/madler/zlib/blob/master/zlib.h

 zlib.h -- interface of the 'zlib' general purpose compression library
   version 1.2.8, April 28th, 2013
   Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
   This software is provided 'as-is', without any express or implied
   warranty.  In no event will the authors be held liable for any damages
   arising from the use of this software.
   Permission is granted to anyone to use this software for any purpose,
   including commercial applications, and to alter it and redistribute it
   freely, subject to the following restrictions:
   1. The origin of this software must not be misrepresented; you must not
      claim that you wrote the original software. If you use this software
      in a product, an acknowledgment in the product documentation would be
      appreciated but is not required.
   2. Altered source versions must be plainly marked as such, and must not be
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   Jean-loup Gailly        Mark Adler
   jloup@gzip.org          madler@alumni.caltech.edu
   The data format used by the zlib library is described by RFCs (Request for
   Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
   (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
*/
var T2={},pra="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;T2.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!==typeof c)throw new TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a};T2.vm=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a};
var qra={kg:function(a,b,c,d,e){if(b.subarray&&a.subarray)a.set(b.subarray(c,c+d),e);else for(var f=0;f<d;f++)a[e+f]=b[c+f]},no:function(a){var b,c;var d=c=0;for(b=a.length;d<b;d++)c+=a[d].length;var e=new Uint8Array(c);d=c=0;for(b=a.length;d<b;d++){var f=a[d];e.set(f,c);c+=f.length}return e}},rra={kg:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},no:function(a){return[].concat.apply([],a)}};
T2.Uz=function(){pra?(T2.ef=Uint8Array,T2.le=Uint16Array,T2.es=Int32Array,T2.assign(T2,qra)):(T2.ef=Array,T2.le=Array,T2.es=Array,T2.assign(T2,rra))};T2.Uz();for(var U2=new T2.ef(256),V2=0;256>V2;V2++)U2[V2]=252<=V2?6:248<=V2?5:240<=V2?4:224<=V2?3:192<=V2?2:1;U2[254]=U2[254]=1;
var W2=function(a){var b,c,d=a.length,e=0;for(b=0;b<d;b++){var f=a.charCodeAt(b);if(55296===(f&64512)&&b+1<d){var g=a.charCodeAt(b+1);56320===(g&64512)&&(f=65536+(f-55296<<10)+(g-56320),b++)}e+=128>f?1:2048>f?2:65536>f?3:4}var h=new T2.ef(e);for(b=c=0;c<e;b++)f=a.charCodeAt(b),55296===(f&64512)&&b+1<d&&(g=a.charCodeAt(b+1),56320===(g&64512)&&(f=65536+(f-55296<<10)+(g-56320),b++)),128>f?h[c++]=f:(2048>f?h[c++]=192|f>>>6:(65536>f?h[c++]=224|f>>>12:(h[c++]=240|f>>>18,h[c++]=128|f>>>12&63),h[c++]=128|
f>>>6&63),h[c++]=128|f&63);return h};var X2={};X2=function(a,b,c,d){var e=a&65535|0;a=a>>>16&65535|0;for(var f;0!==c;){f=2E3<c?2E3:c;c-=f;do e=e+b[d++]|0,a=a+e|0;while(--f);e%=65521;a%=65521}return e|a<<16|0};for(var Y2={},Z2,$2=[],a3=0;256>a3;a3++){Z2=a3;for(var b3=0;8>b3;b3++)Z2=Z2&1?3988292384^Z2>>>1:Z2>>>1;$2[a3]=Z2}Y2=function(a,b,c,d){c=d+c;for(a^=-1;d<c;d++)a=a>>>8^$2[(a^b[d])&255];return a^-1};var c3={};c3={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function d3(a){for(var b=a.length;0<=--b;)a[b]=0}var e3=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],f3=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],sra=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],g3=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h3=Array(576);d3(h3);var i3=Array(60);d3(i3);var j3=Array(512);d3(j3);var k3=Array(256);d3(k3);var l3=Array(29);d3(l3);var m3=Array(30);d3(m3);
function n3(a,b,c,d,e){this.zr=a;this.yu=b;this.xu=c;this.uu=d;this.ux=e;this.No=a&&a.length}var o3,p3,q3;function r3(a,b){this.io=a;this.Cg=0;this.Ye=b}function s3(a,b){a.zb[a.pending++]=b&255;a.zb[a.pending++]=b>>>8&255}function t3(a,b,c){a.bc>16-c?(a.xc|=b<<a.bc&65535,s3(a,a.xc),a.xc=b>>16-a.bc,a.bc+=c-16):(a.xc|=b<<a.bc&65535,a.bc+=c)}function u3(a,b,c){t3(a,c[2*b],c[2*b+1])}function v3(a,b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(0<--b);return c>>>1}
function w3(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=v3(d[e]++,e))}function x3(a){var b;for(b=0;286>b;b++)a.Gc[2*b]=0;for(b=0;30>b;b++)a.Df[2*b]=0;for(b=0;19>b;b++)a.kc[2*b]=0;a.Gc[512]=1;a.Be=a.Ng=0;a.jd=a.matches=0}function y3(a){8<a.bc?s3(a,a.xc):0<a.bc&&(a.zb[a.pending++]=a.xc);a.xc=0;a.bc=0}function z3(a,b,c){y3(a);s3(a,c);s3(a,~c);T2.kg(a.zb,a.window,b,c,a.pending);a.pending+=c}
function A3(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}function B3(a,b,c){for(var d=a.Bb[c],e=c<<1;e<=a.xe;){e<a.xe&&A3(b,a.Bb[e+1],a.Bb[e],a.depth)&&e++;if(A3(b,d,a.Bb[e],a.depth))break;a.Bb[c]=a.Bb[e];c=e;e<<=1}a.Bb[c]=d}
function C3(a,b,c){var d=0;if(0!==a.jd){do{var e=a.zb[a.oh+2*d]<<8|a.zb[a.oh+2*d+1];var f=a.zb[a.fl+d];d++;if(0===e)u3(a,f,b);else{var g=k3[f];u3(a,g+256+1,b);var h=e3[g];0!==h&&(f-=l3[g],t3(a,f,h));e--;g=256>e?j3[e]:j3[256+(e>>>7)];u3(a,g,c);h=f3[g];0!==h&&(e-=m3[g],t3(a,e,h))}}while(d<a.jd)}u3(a,256,b)}
function D3(a,b){var c=b.io,d=b.Ye.zr,e=b.Ye.No,f=b.Ye.uu,g,h=-1;a.xe=0;a.zg=573;for(g=0;g<f;g++)0!==c[2*g]?(a.Bb[++a.xe]=h=g,a.depth[g]=0):c[2*g+1]=0;for(;2>a.xe;){var m=a.Bb[++a.xe]=2>h?++h:0;c[2*m]=1;a.depth[m]=0;a.Be--;e&&(a.Ng-=d[2*m+1])}b.Cg=h;for(g=a.xe>>1;1<=g;g--)B3(a,c,g);m=f;do g=a.Bb[1],a.Bb[1]=a.Bb[a.xe--],B3(a,c,1),d=a.Bb[1],a.Bb[--a.zg]=g,a.Bb[--a.zg]=d,c[2*m]=c[2*g]+c[2*d],a.depth[m]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[2*g+1]=c[2*d+1]=m,a.Bb[1]=m++,B3(a,c,1);while(2<=
a.xe);a.Bb[--a.zg]=a.Bb[1];g=b.io;m=b.Cg;d=b.Ye.zr;e=b.Ye.No;f=b.Ye.yu;var q=b.Ye.xu,r=b.Ye.ux,z,D=0;for(z=0;15>=z;z++)a.se[z]=0;g[2*a.Bb[a.zg]+1]=0;for(b=a.zg+1;573>b;b++){var C=a.Bb[b];z=g[2*g[2*C+1]+1]+1;z>r&&(z=r,D++);g[2*C+1]=z;if(!(C>m)){a.se[z]++;var K=0;C>=q&&(K=f[C-q]);var T=g[2*C];a.Be+=T*(z+K);e&&(a.Ng+=T*(d[2*C+1]+K))}}if(0!==D){do{for(z=r-1;0===a.se[z];)z--;a.se[z]--;a.se[z+1]+=2;a.se[r]--;D-=2}while(0<D);for(z=r;0!==z;z--)for(C=a.se[z];0!==C;)d=a.Bb[--b],d>m||(g[2*d+1]!==z&&(a.Be+=(z-
g[2*d+1])*g[2*d],g[2*d+1]=z),C--)}w3(c,h,a.se)}function E3(a,b,c){var d,e=-1,f=b[1],g=0,h=7,m=4;0===f&&(h=138,m=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var q=f;f=b[2*(d+1)+1];++g<h&&q===f||(g<m?a.kc[2*q]+=g:0!==q?(q!==e&&a.kc[2*q]++,a.kc[32]++):10>=g?a.kc[34]++:a.kc[36]++,g=0,e=q,0===f?(h=138,m=3):q===f?(h=6,m=3):(h=7,m=4))}}
function F3(a,b,c){var d,e=-1,f=b[1],g=0,h=7,m=4;0===f&&(h=138,m=3);for(d=0;d<=c;d++){var q=f;f=b[2*(d+1)+1];if(!(++g<h&&q===f)){if(g<m){do u3(a,q,a.kc);while(0!==--g)}else 0!==q?(q!==e&&(u3(a,q,a.kc),g--),u3(a,16,a.kc),t3(a,g-3,2)):10>=g?(u3(a,17,a.kc),t3(a,g-3,3)):(u3(a,18,a.kc),t3(a,g-11,7));g=0;e=q;0===f?(h=138,m=3):q===f?(h=6,m=3):(h=7,m=4)}}}
function tra(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.Gc[2*c])return 0;if(0!==a.Gc[18]||0!==a.Gc[20]||0!==a.Gc[26])return 1;for(c=32;256>c;c++)if(0!==a.Gc[2*c])return 1;return 0}var G3=!1;function H3(a,b,c){a.zb[a.oh+2*a.jd]=b>>>8&255;a.zb[a.oh+2*a.jd+1]=b&255;a.zb[a.fl+a.jd]=c&255;a.jd++;0===b?a.Gc[2*c]++:(a.matches++,b--,a.Gc[2*(k3[c]+256+1)]++,a.Df[2*(256>b?j3[b]:j3[256+(b>>>7)])]++);return a.jd===a.Lh-1};function I3(a,b){a.msg=c3[b];return b}function J3(a){for(var b=a.length;0<=--b;)a[b]=0}function K3(a){var b=a.state,c=b.pending;c>a.Ua&&(c=a.Ua);0!==c&&(T2.kg(a.Of,b.zb,b.Th,c,a.Eg),a.Eg+=c,b.Th+=c,a.Gm+=c,a.Ua-=c,b.pending-=c,0===b.pending&&(b.Th=0))}
function L3(a,b){var c=0<=a.Qc?a.Qc:-1,d=a.da-a.Qc,e=0;if(0<a.level){2===a.Sa.uk&&(a.Sa.uk=tra(a));D3(a,a.ij);D3(a,a.Ci);E3(a,a.Gc,a.ij.Cg);E3(a,a.Df,a.Ci.Cg);D3(a,a.Pn);for(e=18;3<=e&&0===a.kc[2*g3[e]+1];e--);a.Be+=3*(e+1)+14;var f=a.Be+3+7>>>3;var g=a.Ng+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)t3(a,b?1:0,3),z3(a,c,d);else if(4===a.ge||g===f)t3(a,2+(b?1:0),3),C3(a,h3,i3);else{t3(a,4+(b?1:0),3);c=a.ij.Cg+1;d=a.Ci.Cg+1;e+=1;t3(a,c-257,5);t3(a,d-1,5);t3(a,e-4,4);for(f=0;f<e;f++)t3(a,a.kc[2*
g3[f]+1],3);F3(a,a.Gc,c-1);F3(a,a.Df,d-1);C3(a,a.Gc,a.Df)}x3(a);b&&y3(a);a.Qc=a.da;K3(a.Sa)}function M3(a,b){a.zb[a.pending++]=b}function N3(a,b){a.zb[a.pending++]=b>>>8&255;a.zb[a.pending++]=b&255}
function O3(a,b){var c=a.cp,d=a.da,e=a.Vc,f=a.wp,g=a.da>a.uc-262?a.da-(a.uc-262):0,h=a.window,m=a.af,q=a.Ud,r=a.da+258,z=h[d+e-1],D=h[d+e];a.Vc>=a.Jo&&(c>>=2);f>a.na&&(f=a.na);do{var C=b;if(h[C+e]===D&&h[C+e-1]===z&&h[C]===h[d]&&h[++C]===h[d+1]){d+=2;for(C++;h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&h[++d]===h[++C]&&d<r;);C=258-(r-d);d=r-258;if(C>e){a.Bg=b;e=C;if(C>=f)break;z=h[d+e-1];D=h[d+e]}}}while((b=q[b&m])>g&&0!==--c);
return e<=a.na?e:a.na}
function P3(a){var b=a.uc,c;do{var d=a.Vr-a.na-a.da;if(a.da>=b+(b-262)){T2.kg(a.window,a.window,b,b,0);a.Bg-=b;a.da-=b;a.Qc-=b;var e=c=a.Zi;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Ud[--e],a.Ud[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.Sa.wc)break;e=a.Sa;c=a.window;f=a.da+a.na;var g=e.wc;g>d&&(g=d);0===g?c=0:(e.wc-=g,T2.kg(c,e.input,e.Mf,g,f),1===e.state.wrap?e.La=X2(e.La,c,g,f):2===e.state.wrap&&(e.La=Y2(e.La,c,g,f)),e.Mf+=g,e.Wf+=g,c=g);a.na+=c;if(3<=a.na+a.insert)for(d=a.da-
a.insert,a.Ta=a.window[d],a.Ta=(a.Ta<<a.we^a.window[d+1])&a.ve;a.insert&&!(a.Ta=(a.Ta<<a.we^a.window[d+3-1])&a.ve,a.Ud[d&a.af]=a.head[a.Ta],a.head[a.Ta]=d,d++,a.insert--,3>a.na+a.insert););}while(262>a.na&&0!==a.Sa.wc)}
function Q3(a,b){for(var c;;){if(262>a.na){P3(a);if(262>a.na&&0===b)return 1;if(0===a.na)break}c=0;3<=a.na&&(a.Ta=(a.Ta<<a.we^a.window[a.da+3-1])&a.ve,c=a.Ud[a.da&a.af]=a.head[a.Ta],a.head[a.Ta]=a.da);0!==c&&a.da-c<=a.uc-262&&(a.Za=O3(a,c));if(3<=a.Za)if(c=H3(a,a.da-a.Bg,a.Za-3),a.na-=a.Za,a.Za<=a.ll&&3<=a.na){a.Za--;do a.da++,a.Ta=(a.Ta<<a.we^a.window[a.da+3-1])&a.ve,a.Ud[a.da&a.af]=a.head[a.Ta],a.head[a.Ta]=a.da;while(0!==--a.Za);a.da++}else a.da+=a.Za,a.Za=0,a.Ta=a.window[a.da],a.Ta=(a.Ta<<a.we^
a.window[a.da+1])&a.ve;else c=H3(a,0,a.window[a.da]),a.na--,a.da++;if(c&&(L3(a,!1),0===a.Sa.Ua))return 1}a.insert=2>a.da?a.da:2;return 4===b?(L3(a,!0),0===a.Sa.Ua?3:4):a.jd&&(L3(a,!1),0===a.Sa.Ua)?1:2}
function R3(a,b){for(var c,d;;){if(262>a.na){P3(a);if(262>a.na&&0===b)return 1;if(0===a.na)break}c=0;3<=a.na&&(a.Ta=(a.Ta<<a.we^a.window[a.da+3-1])&a.ve,c=a.Ud[a.da&a.af]=a.head[a.Ta],a.head[a.Ta]=a.da);a.Vc=a.Za;a.Ip=a.Bg;a.Za=2;0!==c&&a.Vc<a.ll&&a.da-c<=a.uc-262&&(a.Za=O3(a,c),5>=a.Za&&(1===a.ge||3===a.Za&&4096<a.da-a.Bg)&&(a.Za=2));if(3<=a.Vc&&a.Za<=a.Vc){d=a.da+a.na-3;c=H3(a,a.da-1-a.Ip,a.Vc-3);a.na-=a.Vc-1;a.Vc-=2;do++a.da<=d&&(a.Ta=(a.Ta<<a.we^a.window[a.da+3-1])&a.ve,a.Ud[a.da&a.af]=a.head[a.Ta],
a.head[a.Ta]=a.da);while(0!==--a.Vc);a.Lf=0;a.Za=2;a.da++;if(c&&(L3(a,!1),0===a.Sa.Ua))return 1}else if(a.Lf){if((c=H3(a,0,a.window[a.da-1]))&&L3(a,!1),a.da++,a.na--,0===a.Sa.Ua)return 1}else a.Lf=1,a.da++,a.na--}a.Lf&&(H3(a,0,a.window[a.da-1]),a.Lf=0);a.insert=2>a.da?a.da:2;return 4===b?(L3(a,!0),0===a.Sa.Ua?3:4):a.jd&&(L3(a,!1),0===a.Sa.Ua)?1:2}
function ura(a,b){for(var c,d,e,f=a.window;;){if(258>=a.na){P3(a);if(258>=a.na&&0===b)return 1;if(0===a.na)break}a.Za=0;if(3<=a.na&&0<a.da&&(d=a.da-1,c=f[d],c===f[++d]&&c===f[++d]&&c===f[++d])){for(e=a.da+258;c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&c===f[++d]&&d<e;);a.Za=258-(e-d);a.Za>a.na&&(a.Za=a.na)}3<=a.Za?(c=H3(a,1,a.Za-3),a.na-=a.Za,a.da+=a.Za,a.Za=0):(c=H3(a,0,a.window[a.da]),a.na--,a.da++);if(c&&(L3(a,!1),0===a.Sa.Ua))return 1}a.insert=0;return 4===
b?(L3(a,!0),0===a.Sa.Ua?3:4):a.jd&&(L3(a,!1),0===a.Sa.Ua)?1:2}function vra(a,b){for(var c;;){if(0===a.na&&(P3(a),0===a.na)){if(0===b)return 1;break}a.Za=0;c=H3(a,0,a.window[a.da]);a.na--;a.da++;if(c&&(L3(a,!1),0===a.Sa.Ua))return 1}a.insert=0;return 4===b?(L3(a,!0),0===a.Sa.Ua?3:4):a.jd&&(L3(a,!1),0===a.Sa.Ua)?1:2}function S3(a,b,c,d,e){this.Kv=a;this.tx=b;this.Gx=c;this.sx=d;this.Au=e}var T3;
T3=[new S3(0,0,0,0,function(a,b){var c=65535;for(c>a.ld-5&&(c=a.ld-5);;){if(1>=a.na){P3(a);if(0===a.na&&0===b)return 1;if(0===a.na)break}a.da+=a.na;a.na=0;var d=a.Qc+c;if(0===a.da||a.da>=d)if(a.na=a.da-d,a.da=d,L3(a,!1),0===a.Sa.Ua)return 1;if(a.da-a.Qc>=a.uc-262&&(L3(a,!1),0===a.Sa.Ua))return 1}a.insert=0;if(4===b)return L3(a,!0),0===a.Sa.Ua?3:4;a.da>a.Qc&&L3(a,!1);return 1}),new S3(4,4,8,4,Q3),new S3(4,5,16,8,Q3),new S3(4,6,32,32,Q3),new S3(4,4,16,16,R3),new S3(8,16,32,32,R3),new S3(8,16,128,128,
R3),new S3(8,32,128,256,R3),new S3(32,128,258,1024,R3),new S3(32,258,258,4096,R3)];
function wra(){this.Sa=null;this.status=0;this.zb=null;this.wrap=this.pending=this.Th=this.ld=0;this.Ka=null;this.zd=0;this.method=8;this.Ag=-1;this.af=this.Qm=this.uc=0;this.window=null;this.Vr=0;this.head=this.Ud=null;this.wp=this.Jo=this.ge=this.level=this.ll=this.cp=this.Vc=this.na=this.Bg=this.da=this.Lf=this.Ip=this.Za=this.Qc=this.we=this.ve=this.Rk=this.Zi=this.Ta=0;this.Gc=new T2.le(1146);this.Df=new T2.le(122);this.kc=new T2.le(78);J3(this.Gc);J3(this.Df);J3(this.kc);this.Pn=this.Ci=this.ij=
null;this.se=new T2.le(16);this.Bb=new T2.le(573);J3(this.Bb);this.zg=this.xe=0;this.depth=new T2.le(573);J3(this.depth);this.bc=this.xc=this.insert=this.matches=this.Ng=this.Be=this.oh=this.jd=this.Lh=this.fl=0}
function xra(a,b){if(!a||!a.state||5<b||0>b)return a?I3(a,-2):-2;var c=a.state;if(!a.Of||!a.input&&0!==a.wc||666===c.status&&4!==b)return I3(a,0===a.Ua?-5:-2);c.Sa=a;var d=c.Ag;c.Ag=b;if(42===c.status)if(2===c.wrap)a.La=0,M3(c,31),M3(c,139),M3(c,8),c.Ka?(M3(c,(c.Ka.text?1:0)+(c.Ka.Re?2:0)+(c.Ka.Oe?4:0)+(c.Ka.name?8:0)+(c.Ka.comment?16:0)),M3(c,c.Ka.time&255),M3(c,c.Ka.time>>8&255),M3(c,c.Ka.time>>16&255),M3(c,c.Ka.time>>24&255),M3(c,9===c.level?2:2<=c.ge||2>c.level?4:0),M3(c,c.Ka.os&255),c.Ka.Oe&&
c.Ka.Oe.length&&(M3(c,c.Ka.Oe.length&255),M3(c,c.Ka.Oe.length>>8&255)),c.Ka.Re&&(a.La=Y2(a.La,c.zb,c.pending,0)),c.zd=0,c.status=69):(M3(c,0),M3(c,0),M3(c,0),M3(c,0),M3(c,0),M3(c,9===c.level?2:2<=c.ge||2>c.level?4:0),M3(c,3),c.status=113);else{var e=8+(c.Qm-8<<4)<<8;e|=(2<=c.ge||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.da&&(e|=32);c.status=113;N3(c,e+(31-e%31));0!==c.da&&(N3(c,a.La>>>16),N3(c,a.La&65535));a.La=1}if(69===c.status)if(c.Ka.Oe){for(e=c.pending;c.zd<(c.Ka.Oe.length&65535)&&(c.pending!==
c.ld||(c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e)),K3(a),e=c.pending,c.pending!==c.ld));)M3(c,c.Ka.Oe[c.zd]&255),c.zd++;c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e));c.zd===c.Ka.Oe.length&&(c.zd=0,c.status=73)}else c.status=73;if(73===c.status)if(c.Ka.name){e=c.pending;do{if(c.pending===c.ld&&(c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e)),K3(a),e=c.pending,c.pending===c.ld)){var f=1;break}f=c.zd<c.Ka.name.length?c.Ka.name.charCodeAt(c.zd++)&255:0;M3(c,f)}while(0!==
f);c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e));0===f&&(c.zd=0,c.status=91)}else c.status=91;if(91===c.status)if(c.Ka.comment){e=c.pending;do{if(c.pending===c.ld&&(c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e)),K3(a),e=c.pending,c.pending===c.ld)){f=1;break}f=c.zd<c.Ka.comment.length?c.Ka.comment.charCodeAt(c.zd++)&255:0;M3(c,f)}while(0!==f);c.Ka.Re&&c.pending>e&&(a.La=Y2(a.La,c.zb,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.Ka.Re?(c.pending+2>
c.ld&&K3(a),c.pending+2<=c.ld&&(M3(c,a.La&255),M3(c,a.La>>8&255),a.La=0,c.status=113)):c.status=113);if(0!==c.pending){if(K3(a),0===a.Ua)return c.Ag=-1,0}else if(0===a.wc&&(b<<1)-(4<b?9:0)<=(d<<1)-(4<d?9:0)&&4!==b)return I3(a,-5);if(666===c.status&&0!==a.wc)return I3(a,-5);if(0!==a.wc||0!==c.na||0!==b&&666!==c.status){d=2===c.ge?vra(c,b):3===c.ge?ura(c,b):T3[c.level].Au(c,b);if(3===d||4===d)c.status=666;if(1===d||3===d)return 0===a.Ua&&(c.Ag=-1),0;if(2===d&&(1===b?(t3(c,2,3),u3(c,256,h3),16===c.bc?
(s3(c,c.xc),c.xc=0,c.bc=0):8<=c.bc&&(c.zb[c.pending++]=c.xc&255,c.xc>>=8,c.bc-=8)):5!==b&&(t3(c,0,3),z3(c,0,0),3===b&&(J3(c.head),0===c.na&&(c.da=0,c.Qc=0,c.insert=0))),K3(a),0===a.Ua))return c.Ag=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(M3(c,a.La&255),M3(c,a.La>>8&255),M3(c,a.La>>16&255),M3(c,a.La>>24&255),M3(c,a.Wf&255),M3(c,a.Wf>>8&255),M3(c,a.Wf>>16&255),M3(c,a.Wf>>24&255)):(N3(c,a.La>>>16),N3(c,a.La&65535));K3(a);0<c.wrap&&(c.wrap=-c.wrap);return 0!==c.pending?0:1};var U3={};U3=function(){this.input=null;this.Wf=this.wc=this.Mf=0;this.Of=null;this.Gm=this.Ua=this.Eg=0;this.msg="";this.state=null;this.uk=2;this.La=0};var V3=Object.prototype.toString;
function W3(a){if(!(this instanceof W3))return new W3(a);a=this.options=T2.assign({level:-1,method:8,ku:16384,bf:15,wx:8,ge:0,Er:""},a||{});a.raw&&0<a.bf?a.bf=-a.bf:a.Pk&&0<a.bf&&16>a.bf&&(a.bf+=16);this.Ef=0;this.msg="";this.ended=!1;this.nh=[];this.Sa=new U3;this.Sa.Ua=0;var b=this.Sa;var c=a.level,d=a.method,e=a.bf,f=a.wx,g=a.ge;if(b){var h=1;-1===c&&(c=6);0>e?(h=0,e=-e):15<e&&(h=2,e-=16);if(1>f||9<f||8!==d||8>e||15<e||0>c||9<c||0>g||4<g)b=I3(b,-2);else{8===e&&(e=9);var m=new wra;b.state=m;m.Sa=
b;m.wrap=h;m.Ka=null;m.Qm=e;m.uc=1<<m.Qm;m.af=m.uc-1;m.Rk=f+7;m.Zi=1<<m.Rk;m.ve=m.Zi-1;m.we=~~((m.Rk+3-1)/3);m.window=new T2.ef(2*m.uc);m.head=new T2.le(m.Zi);m.Ud=new T2.le(m.uc);m.Lh=1<<f+6;m.ld=4*m.Lh;m.zb=new T2.ef(m.ld);m.oh=1*m.Lh;m.fl=3*m.Lh;m.level=c;m.ge=g;m.method=d;if(b&&b.state){b.Wf=b.Gm=0;b.uk=2;c=b.state;c.pending=0;c.Th=0;0>c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.La=2===c.wrap?0:1;c.Ag=0;if(!G3){d=Array(16);for(f=g=0;28>f;f++)for(l3[f]=g,e=0;e<1<<e3[f];e++)k3[g++]=f;k3[g-
1]=f;for(f=g=0;16>f;f++)for(m3[f]=g,e=0;e<1<<f3[f];e++)j3[g++]=f;for(g>>=7;30>f;f++)for(m3[f]=g<<7,e=0;e<1<<f3[f]-7;e++)j3[256+g++]=f;for(e=0;15>=e;e++)d[e]=0;for(e=0;143>=e;)h3[2*e+1]=8,e++,d[8]++;for(;255>=e;)h3[2*e+1]=9,e++,d[9]++;for(;279>=e;)h3[2*e+1]=7,e++,d[7]++;for(;287>=e;)h3[2*e+1]=8,e++,d[8]++;w3(h3,287,d);for(e=0;30>e;e++)i3[2*e+1]=5,i3[2*e]=v3(e,5);o3=new n3(h3,e3,257,286,15);p3=new n3(i3,f3,0,30,15);q3=new n3([],sra,0,19,7);G3=!0}c.ij=new r3(c.Gc,o3);c.Ci=new r3(c.Df,p3);c.Pn=new r3(c.kc,
q3);c.xc=0;c.bc=0;x3(c);c=0}else c=I3(b,-2);0===c&&(b=b.state,b.Vr=2*b.uc,J3(b.head),b.ll=T3[b.level].tx,b.Jo=T3[b.level].Kv,b.wp=T3[b.level].Gx,b.cp=T3[b.level].sx,b.da=0,b.Qc=0,b.na=0,b.insert=0,b.Za=b.Vc=2,b.Lf=0,b.Ta=0);b=c}}else b=-2;if(0!==b)throw Error(c3[b]);a.Tw&&(b=this.Sa)&&b.state&&2===b.state.wrap&&(b.state.Ka=a.Tw);if(a.qh){var q;"string"===typeof a.qh?q=W2(a.qh):"[object ArrayBuffer]"===V3.call(a.qh)?q=new Uint8Array(a.qh):q=a.qh;a=this.Sa;f=q;g=f.length;if(a&&a.state)if(q=a.state,
b=q.wrap,2===b||1===b&&42!==q.status||q.na)b=-2;else{1===b&&(a.La=X2(a.La,f,g,0));q.wrap=0;g>=q.uc&&(0===b&&(J3(q.head),q.da=0,q.Qc=0,q.insert=0),c=new T2.ef(q.uc),T2.kg(c,f,g-q.uc,q.uc,0),f=c,g=q.uc);c=a.wc;d=a.Mf;e=a.input;a.wc=g;a.Mf=0;a.input=f;for(P3(q);3<=q.na;){f=q.da;g=q.na-2;do q.Ta=(q.Ta<<q.we^q.window[f+3-1])&q.ve,q.Ud[f&q.af]=q.head[q.Ta],q.head[q.Ta]=f,f++;while(--g);q.da=f;q.na=2;P3(q)}q.da+=q.na;q.Qc=q.da;q.insert=q.na;q.na=0;q.Za=q.Vc=2;q.Lf=0;a.Mf=d;a.input=e;a.wc=c;q.wrap=b;b=0}else b=
-2;if(0!==b)throw Error(c3[b]);this.XO=!0}}
W3.prototype.push=function(a,b){var c=this.Sa,d=this.options.ku;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=W2(a):"[object ArrayBuffer]"===V3.call(a)?c.input=new Uint8Array(a):c.input=a;c.Mf=0;c.wc=c.input.length;do{0===c.Ua&&(c.Of=new T2.ef(d),c.Eg=0,c.Ua=d);a=xra(c,e);if(1!==a&&0!==a)return X3(this,a),this.ended=!0,!1;if(0===c.Ua||0===c.wc&&(4===e||2===e))if("string"===this.options.Er){var f=T2.vm(c.Of,c.Eg);b=f;f=f.length;if(65537>f&&(b.subarray||!b.subarray))b=
String.fromCharCode.apply(null,T2.vm(b,f));else{for(var g="",h=0;h<f;h++)g+=String.fromCharCode(b[h]);b=g}this.nh.push(b)}else b=T2.vm(c.Of,c.Eg),this.nh.push(b)}while((0<c.wc||0===c.Ua)&&1!==a);if(4===e)return(c=this.Sa)&&c.state?(d=c.state.status,42!==d&&69!==d&&73!==d&&91!==d&&103!==d&&113!==d&&666!==d?a=I3(c,-2):(c.state=null,a=113===d?I3(c,-3):0)):a=-2,X3(this,a),this.ended=!0,0===a;2===e&&(X3(this,0),c.Ua=0);return!0};
var X3=function(a,b){0===b&&(a.result="string"===a.options.Er?a.nh.join(""):T2.no(a.nh));a.nh=[];a.Ef=b;a.msg=a.Sa.msg};function yra(a){var b={};b=b||{};b.Pk=!0;b=new W3(b);b.push(a,!0);if(b.Ef)throw b.msg||c3[b.Ef];return b.result};var Y3=function(){};Y3.prototype.g=function(a){return Promise.resolve(yra(Uint8Array.from(qk(a))))};Y3.prototype.Se=function(){try{return!!Uint8Array.from}catch(a){return!1}};var Z3=function(){this.h=new Y3};Z3.prototype.g=function(a){return y_(4*a.length)?x_(Uint8Array.from(qk(a))):this.h.g(a)};Z3.prototype.Se=function(a){return"function"===typeof Uint8Array.from&&(y_(a)||this.h.Se(a))};function $3(){}w($3,Q2);$3.prototype.init=S2();$3.prototype.Uh=S2();$3.prototype.Vh=S2();jg("realtime.util.GlobalJspbRegistry");var zra=new Set,Ara=new Set,a4=null,Bra=function(a){if(!a4){for(var b=n(zra),c=b.next();!c.done;c=b.next())a(5959,c.value);b=n(Ara);for(c=b.next();!c.done;c=b.next())a(5960,c.value)}a4=a};var b4=function(a,b,c){Lv.call(this);var d=this;this.l=new HM(300);this.s=new HM(300);this.m="";this.h=[];MQ(this,{recentImpressions:function(){return d.l.Ja()},roboHippoImpressions:function(){return d.s.Ja()}});this.u=new Set;this.D=Cra(b,c);this.ph||(this.ph=kra(this),this.j||(this.j=ora));this.ph.init(a)};t(b4,Lv);
var Cra=function(a,b){var c=window.location.pathname,d=window.location.search,e=new WT(50,b||Dra(c,d));e.u=new Z3;e.ea=!0;UT(e,18E4);a&&a.then(function(f){null!=f&&(e.m=f)});return e},Era=function(a){var b=function(c,d){var e=new b4(c);Bra(function(f,g){e.logImpression(f,{cc:g})});c.registerService(d,e);return e};wK(a,ZK)||FK(a,ZK,function(c){return b(c,$K)});wK(a,$K)||FK(a,$K,function(c){return b(c,ZK)})},c4=function(a){var b=new XJ;cea(b);dB(R(b,bB,5),RL());P(R(b,bB,5),3,1);a.ph.Uh(b);a.h.forEach(function(c){return c.Uh(b)});
return b};
b4.prototype.logImpression=function(a,b){b=void 0===b?{}:b;var c=c4(this);var d=new OJ;d=P(d,1,a);var e=NL(c);U(e,8,d);if(b.sessionId){var f=OL(c);P(f,2,b.sessionId)}b.Kc&&(f=OL(c),P(f,5,b.Kc));b.ib&&(f=OL(c),P(f,3,b.ib));b.gd&&(f=PL(d),P(f,2,b.gd));b.cc&&(f=PL(d),P(f,1,b.cc));b.Tt&&U(e,16,b.Tt);b.wA&&U(e,18,b.wA);b.vA&&U(e,17,b.vA);b.xq&&(d=PL(d),U(d,6,b.xq));b.vx&&(d=OL(c),P(d,16,b.vx));d=Cda[a];1!=d&&(e=Date.now(),e=new Date(e),e=(new JL).format(e),e==this.m?f=a+"@":(f=a+"@"+e,this.m=e),this.l.add(f),
Fra.has(a)&&this.s.add(f));Gra.has(a)||d4(this,c,a,b.timestamp);8<=d&&this.O("Ca")};b4.prototype.g=function(a,b){this.u.has(a)||(this.logImpression(a,b),this.u.add(a))};
var LS=function(a,b){var c=c4(a),d=NL(c);U(d,14,b);d4(a,c)},d4=function(a,b,c,d){a.ph.Vh(b);a.h.forEach(function(f){return f.Vh(b)});var e=Nha(new LT,b.va());c&&P(e,11,c);d&&P(e,1,d.toString());a.D.log(e)},Dra=function(a,b){a=(a=/\/u\/(\d+)\/?/.exec(a))&&a[1];return(b=/[\?&]authuser=(\d+)/.exec(b))&&b[1]||a||"0"},TM=function(a,b){a.h.includes(b)||a.h.push(b)};$3.Kb||w($3,Q2);b4.Me=$3;var e4=b4;do e4=R2(e4);while(e4!==Object&&!e4.Me);
if(e4!==Object&&e4.Me!==R2($3))throw Error("delegate base must derive from superclass delegate base");var Fra=new Set([4179,4202,4208,4209,4213,4223,4354,4461,4463,4475,4479,4554,4557]),Gra=new Set([1871,2188,5147,5538,3853]);var f4=function(){this.g=null;this.j=zt();this.h=this.j.promise},Hra=function(a){wK(a,aL)||FK(a,aL,function(b){var c=new f4;xK(b,ZK).then(function(d){TM(d,new g4(c))});return c})},g4=function(a){this.g=a};g4.prototype.Uh=function(a){var b=this.g.g;null!=b&&(a=OL(a),P(a,5,b))};g4.prototype.Vh=function(){};cK(aL,f4);var i4=function(){V.call(this);this.g=new h4};t(i4,V);var h4=function(){this.g=0;for(this.h=new HM(3);3>this.h.wa();)this.h.add(0)};h4.prototype.update=function(a){var b=this.h.add(a),c=this.h.wa();void 0!=b?(this.g+=(a-b)/c,this.g=0<=this.g?this.g:0):this.g=(this.g*(c-1)+a)/c;return this.g};h4.prototype.get=function(){return this.g};var l4=function(a){KM.call(this);var b=this;this.G=a;this.m=new Map;this.u=new Map;this.j=[];this.K=new Map;this.W=new Map;this.D=!1;this.g=new j4;this.l=new j4;this.H=new gN;this.T(this.H);this.N=function(c){k4(b,c)};this.h=1;this.o=new WQ("realtime.media.audio.service.AudioVolumeService");this.s=null};t(l4,KM);
var Ira=l(["Register participant ",""]),Jra=function(a,b){var c=k4(a,new W("",b));a.H.listen(b,["Oa","Qa"],a.N);a.o.info(Ira,c)},Lra=function(a,b){a.g.reset();a.l.reset();a.u.forEach(function(c,d){var e=b.has(c)?b.get(c).volume:0;if(a.h&1){var f=a.m.get(d).g.update(e);if(a.g.l<f){var g=a.g;g.j=d;g.l=f}}a.h&2&&(a.K.set(d,e),b.has(c)&&b.get(c).kj&&(c=a.l,c.j=d,c.l=e))});Kra(a)},Mra=l(["Use backend loudest info."]),cla=function(a){a.h|=2;dia(a.G);xK(a.G,mU).then(function(b){a.s=b});a.o.info(Mra)},Kra=
function(a){a.D||(Ov(a.Y,0,a),a.D=!0)},Nra=l(["Stream updated: id: "," oldSsrc: "," newSsrc: ",""]),k4=function(a,b){b=b.target;var c=Ora(b);if(null!=c){a.h&1&&(a.m.has(c)||a.m.set(c,new i4));a.h&2&&a.K.set(c,0);var d=a.u.get(c)||null,e=Pra(b);null!=e&&a.u.set(c,e);e!==d&&a.o.g(Nra,c,d,e);d=a.j.find(function(f){return f.Gg===c});d||(d={Gg:c,gj:$a(),muted:!1,Te:null},a.j.push(d));d.muted=Qra(b)}return c};
l4.prototype.Y=function(){this.D=!1;Rra(this);if(this.h&1){var a=this.g.g;a=a&&this.m.has(a)?this.m.get(a).g.get():null;(null==a||null===this.g.h||this.g.h!==this.g.j||.6<=this.g.l-a)&&m4(this,this.g)}this.h&2&&m4(this,this.l)};
var Sra=l(["Backend new speaking participant: ",""]),Tra=l(["Client new speaking participant: ",""]),m4=function(a,b){if(b.g!==b.h){b.g=b.h;var c=b.g?a.u.get(b.g)||null:null;a.h&2?b===a.l?(a.o.info(Sra,b.g),a.O(new n4(b.g)),a.s&&c&&fia(a.s,c)):a.s&&c&&gia(a.s,c):(a.o.info(Tra,b.g),a.O(new n4(b.g)));b.g&&(c=a.j.find(function(d){return d.Gg===b.g}),c.Te=$a(),a.W.set(c.Gg,c.Te))}},Ora=function(a){return(a=a.g||null)?a.Z():null},Pra=function(a){a=(a=(a=a.g||null)&&a.za()?a.za().getInfo():null)?a.Qa():
[];return 0<a.length?a[0]:null},Qra=function(a){return(a=(a=a.g||null)&&a.za()?a.za().getInfo():null)?a.Hc():!1},Rra=function(a){if(a.h&1){var b=a.g.j;0!==a.j.length&&a.j.every(function(d){return d.muted})&&(a.j.sort(o4),b=a.j[0].Gg);a.g.h=b}if(a.h&2){var c=a.l.j;0===a.j.length||c||(a.j.sort(o4),a.j.some(function(d){a.u.has(d.Gg)&&(c=d.Gg);return!!c}));a.l.h=c}},Ura=function(a){wK(a,iR)||FK(a,iR,function(b){return new l4(b)})},n4=function(a){W.call(this,"db");this.ha=a};t(n4,W);
var o4=function(a,b){return a.Te&&b.Te?-qc(a.Te,b.Te)||qc(a.gj,b.gj):a.Te?-1:b.Te?1:qc(a.gj,b.gj)},j4=function(){this.j=null;this.l=-1;this.g=this.h=null};j4.prototype.reset=function(){this.j=null;this.l=-1;this.h=null};cK(iR,l4);var p4=function(a){L(this,a,0,-1,null,null)};w(p4,J);p4.prototype.Z=function(){return N(this,1,"")};var q4=function(a,b){return P(a,1,b)};k=p4.prototype;k.Cv=function(){return N(this,32,"")};k.Dj=function(a){return P(this,32,a)};k.Rw=function(){return null!=M(this,32)};k.getName=function(){return N(this,29,"")};k.Sl=function(a){return P(this,29,a)};k.Cy=function(){return null!=M(this,29)};k.vy=function(){return N(this,38,"")};k.Rl=function(a){return P(this,38,a)};
k.Ay=function(){return null!=M(this,38)};k.ty=function(){return N(this,2,"")};k.Pl=function(a){return P(this,2,a)};k.yy=function(){return null!=M(this,2)};k.uy=function(){return N(this,3,0)};k.Ql=function(a){return P(this,3,a)};k.zy=function(){return null!=M(this,3)};k.xy=function(){return N(this,28,0)};k.vj=function(a){return P(this,28,a)};k.Pw=function(){return null!=M(this,28)};k.Wu=function(){return O(this,5,!1)};k.Cj=function(a){return P(this,5,a)};k.hw=function(){return null!=M(this,5)};
k.Yu=function(){return O(this,9,!1)};k.Rq=function(a){return P(this,9,a)};k.jw=function(){return null!=M(this,9)};k.Hk=function(){return O(this,6,!1)};k.Qq=function(a){return P(this,6,a)};k.Lo=function(){return null!=M(this,6)};k.Su=function(){return O(this,33,!1)};k.Nq=function(a){return P(this,33,a)};k.bw=function(){return null!=M(this,33)};k.bv=function(){return N(this,40,"")};k.Vq=function(a){return P(this,40,a)};k.qw=function(){return null!=M(this,40)};k.Zu=function(){return O(this,17,!1)};
k.Tq=function(a){return P(this,17,a)};k.ow=function(){return null!=M(this,17)};k.Tu=function(){return O(this,34,!1)};k.Oq=function(a){return P(this,34,a)};k.cw=function(){return null!=M(this,34)};k.Vu=function(){return O(this,4,!1)};k.Bj=function(a){return P(this,4,a)};k.gw=function(){return null!=M(this,4)};k.Xu=function(){return O(this,7,!1)};k.om=function(a){return P(this,7,a)};k.iw=function(){return null!=M(this,7)};k.wy=function(){return O(this,12,!1)};k.Wh=function(a){return P(this,12,a)};
k.Mo=function(){return null!=M(this,12)};k.xo=function(){return O(this,13,!1)};k.Tf=function(a){return P(this,13,a)};k.lw=function(){return null!=M(this,13)};k.wo=function(){return O(this,10,!1)};k.Sq=function(a){return P(this,10,a)};k.kw=function(){return null!=M(this,10)};k.yo=function(){return O(this,14,!1)};k.pm=function(a){return P(this,14,a)};k.mw=function(){return null!=M(this,14)};var r4=function(a,b){return P(a,15,b)};k=p4.prototype;k.zo=function(){return O(this,16,!1)};
k.qm=function(a){return P(this,16,a)};k.nw=function(){return null!=M(this,16)};k.Ol=function(){return Fl(this,35)};k.wr=function(a){return P(this,35,a)};k.Sw=function(){return null!=M(this,35)};k.av=function(){return N(this,36,0)};k.Uq=function(a){return P(this,36,a)};k.pw=function(){return null!=M(this,36)};k.Uu=function(){return O(this,37,!1)};k.Pq=function(a){return P(this,37,a)};k.fw=function(){return null!=M(this,37)};k.Zp=function(){return O(this,41,!1)};k.fq=function(a){return P(this,41,a)};
k.bq=function(){return null!=M(this,41)};k.Yp=function(){return N(this,42,0)};k.cq=function(a){return P(this,42,a)};k.By=function(){return null!=M(this,42)};k.Gu=function(){return N(this,43,"")};k.Jq=function(a){return P(this,43,a)};k.Yv=function(){return null!=M(this,43)};k.aq=function(){return N(this,30,0)};k.Tl=function(a){return P(this,30,a)};k.Dy=function(){return null!=M(this,30)};var u4=function(a,b,c,d,e,f){gN.call(this);var g=this;this.j=c;this.g=new Map;this.h=null;this.l=d;Promise.all([e,a,f]).then(function(h){h=n(h);var m=h.next().value,q=h.next().value,r=h.next().value;if(!g.C()){b.h.attach(function(D){D=D.ha;s4(g,D,q.Kf(D),m,r)});b.Bd.attach(function(D){D=D.ha;var C=g.g.get(D);C&&(Ss(C),g.g.delete(D))},g);h=n(b.getAll());for(var z=h.next();!z.done;z=h.next())z=z.value.ha,s4(g,z,q.Kf(z),m,r);g.listen(q,"T",function(D){var C=D.ha;D=D.ym;b.get(C)&&s4(g,C,D,m,r)});g.listen(q,
"U",function(D){D=D.ha;b.get(D)&&s4(g,D,null,m,r)});g.listen(r,"db",function(D){D=D.ha;g.h!==D&&(t4(g,g.h,!1),g.h=D,t4(g,g.h,!0))})}})};t(u4,gN);var t4=function(a,b,c){b&&a.g.get(b)&&a.j.R(q4(new p4,b).Pq(c))},s4=function(a,b,c,d,e){var f=a.g.get(b);if(f){if(f.ym===c)return;Ss(f);a.g.delete(b)}c&&(a.g.set(b,new v4(b,c,a.j,a.l,d,e)),a.h===b&&t4(a,b,!0))};u4.prototype.ba=function(){gN.prototype.ba.call(this);for(var a=n(this.g.values()),b=a.next();!b.done;b=a.next())Ss(b.value);this.g.clear()};
var v4=function(a,b,c,d,e,f){V.call(this);this.ym=b;w4(this,b.l,function(g,h){g=q4(new p4,a).Tq("li"!==g).Oq("en"!==g);switch(h){case "ca":g.Wh(!1);break;case "sc":g.Wh(!0)}c.R(g)});w4(this,b.j,function(g){c.R(q4(new p4,a).Qq("li"!==g).Cj("li"===g).Nq("en"!==g))});b=qla(d);jla(b,e,a);this.T(b);oL(b.u,function(g){g=g.Pm;c.R(q4(new p4,a).wr(g))},this);Jra(f,b)};t(v4,V);
var w4=function(a,b,c){var d,e=void 0;oL(b,function(f){e!==f&&(e&&e.Uc.detach(d),(e=f)?d=oL(e.Uc,function(g){return c(g.state,g.content)},a):c("en","un"))},a)};var x4=p4.prototype,z4=function(a,b,c){V.call(this);var d=this;this.controller=c;this.h=new p4;this.g=new eL(this);this.F=gL(this.g);this.Xb=this.g.signal();this.m=gL(this.g);this.Bd=gL(this.g);this.Pa=gL(this.g);this.qa=gL(this.g);this.oa=gL(this.g);this.sa=gL(this.g);this.Oa=gL(this.g);this.ea=gL(this.g);this.ja=gL(this.g);this.Aa=gL(this.g);this.Na=gL(this.g);this.xa=gL(this.g);this.Ca=gL(this.g);this.H=gL(this.g);this.G=gL(this.g);this.W=gL(this.g);this.Uc=gL(this.g);this.D=gL(this.g);this.Ma=
gL(this.g);this.u=gL(this.g);this.Y=[pZ({has:x4.Rw,get:x4.Cv,set:x4.Dj}),pZ({has:x4.gw,get:x4.Vu,set:x4.Bj}),pZ({has:x4.iw,get:x4.Xu,set:x4.om}),pZ({has:x4.kw,get:x4.wo,set:x4.Sq}),pZ({has:x4.mw,get:x4.yo,set:x4.pm}),pZ({has:x4.nw,get:x4.zo,set:x4.qm}),pZ({has:x4.Cy,get:x4.getName,set:x4.Sl,signal:this.Pa}),pZ({has:x4.Ay,get:x4.vy,set:x4.Rl,signal:this.qa}),pZ({has:x4.yy,get:x4.ty,set:x4.Pl,signal:this.oa}),pZ({has:x4.zy,get:x4.uy,set:x4.Ql,signal:this.sa}),pZ({has:x4.Pw,get:x4.xy,set:x4.vj,signal:this.Oa}),
pZ({has:x4.hw,get:x4.Wu,set:x4.Cj,signal:this.ea}),pZ({has:x4.Lo,get:x4.Hk,set:x4.Qq,signal:this.ja}),pZ({has:x4.bw,get:x4.Su,set:x4.Nq,signal:this.Aa}),pZ({has:x4.qw,get:x4.bv,set:x4.Vq}),pZ({has:x4.ow,get:x4.Zu,set:x4.Tq,signal:this.Na}),pZ({has:x4.cw,get:x4.Tu,set:x4.Oq,signal:this.xa}),pZ({has:x4.Mo,get:x4.wy,set:x4.Wh,signal:this.Ca}),pZ({has:x4.lw,get:x4.xo,set:x4.Tf,signal:this.H}),pZ({has:x4.fw,get:x4.Uu,set:x4.Pq,signal:this.G}),pZ({has:x4.Sw,get:x4.Ol,set:x4.wr,signal:this.W}),pZ({has:x4.pw,
get:x4.av,set:x4.Uq}),pZ({has:x4.Dy,get:x4.aq,set:x4.Tl,signal:this.Uc}),pZ({has:x4.jw,get:x4.Yu,set:x4.Rq,signal:this.Ma}),pZ({has:x4.bq,get:x4.Zp,set:x4.fq}),pZ({has:x4.By,get:x4.Yp,set:x4.cq}),pZ({has:x4.Yv,get:x4.Gu,set:x4.Jq})];r4(q4(this.h,a.Z()),this.j);y4(this,a);b(function(e){return y4(d,e)})};t(z4,V);z4.prototype.ba=function(){5===this.state&&this.g.R(this.m,void 0);this.g.R(this.Bd,void 0);V.prototype.ba.call(this)};
var y4=function(a,b){var c=5===a.state,d=6===a.state,e=a.h.bq(),f=a.Qd,g=new lL(a.g),h=oZ(a.h,b,a.Y,g);P(a.h,8,a.j||a.s);b.Lo()&&!b.Hk()&&P(a.h,40,void 0);0<b.Ol()&&a.h.Uq(Date.now());b=5===a.state;c!==b&&g.add(b?a.F:a.m,void 0);f!==a.Qd&&g.add(a.u,a.qo(e));h&&g.add(a.Xb,void 0);c=6===a.state;d!==c&&g.add(a.D,c);g.R();return h};k=z4.prototype;k.qo=function(a){return{Qd:this.Qd,Yi:this.Yi,gu:0,Zw:!a}};k.dm=function(){return this.controller.dm(this.ha)};k.em=function(){return this.controller.em(this.ha)};
k.Dk=function(){return this.controller.Dk(this.ha)};k.accept=function(){return 6!==this.state?Promise.reject("Not a knocking participant."):this.controller.accept(this.ha)};k.yk=function(){return 6!==this.state?Promise.reject("Not a knocking participant."):this.controller.yk(this.ha)};k.Mh=function(){return this.Qd?this.controller.Mh(this.ha):Promise.reject("Cannot lower a lowered hand.")};k.Ba=function(){return{lastVolume:this.Pm}};
ea.Object.defineProperties(z4.prototype,{Ig:{configurable:!0,enumerable:!0,get:function(){return this.h.clone()}},ha:{configurable:!0,enumerable:!0,get:function(){return this.h.Z()}},isLocal:{configurable:!0,enumerable:!0,get:function(){return O(this.h,8,!1)}},V:{configurable:!0,enumerable:!0,get:function(){return this.h.wo()}},j:{configurable:!0,enumerable:!0,get:function(){return!1}},s:{configurable:!0,enumerable:!0,get:function(){return this.h.zo()}},name:{configurable:!0,enumerable:!0,get:function(){return this.h.getName()||
null}},K:{configurable:!0,enumerable:!0,get:function(){return!!this.h.Hk()}},N:{configurable:!0,enumerable:!0,get:function(){return this.h.xo()}},state:{configurable:!0,enumerable:!0,get:function(){return this.h.aq()}},Pm:{configurable:!0,enumerable:!0,get:function(){return this.h.Ol()}},Qd:{configurable:!0,enumerable:!0,get:function(){return this.h.Zp()}},Yi:{configurable:!0,enumerable:!0,get:function(){return this.h.Yp()}}});var A4=function(a,b,c,d){z4.call(this,a,b,c,d);this.l=!1};t(A4,z4);
A4.prototype.qo=function(a){return{Qd:this.Qd,Yi:this.Yi,gu:this.Qd||this.l?1:2,Zw:!a}};A4.prototype.Wl=function(){if(this.Qd)return Promise.reject("Cannot raise a raised hand.");this.l=!1;return this.controller.Wl(this.ha)};A4.prototype.Mh=function(){this.l=!0;return z4.prototype.Mh.call(this)};ea.Object.defineProperties(A4.prototype,{j:{configurable:!0,enumerable:!0,get:function(){return!0}}});var Yra=function(a){var b=this;this.jb=a;this.g=new HM(200);this.h=0;Vra(this);MQ(a,{participantCountHistory:function(){return b.g.Ja()},participantCountMax:function(){return b.h},presenterParticipant:function(){return Wra(b)},remoteUserAllMuted:function(){return Xra(b)}})},Vra=function(a){var b=a.jb;b=n([b.h,b.l,b.Xb,b.m,b.Bd]);for(var c=b.next();!c.done;c=b.next())c.value.attach(function(){var d=B4(a.jb).length;var e=a.g;e=0==e.wa()?null:e.get(e.wa()-1);e&&e[1]===d||(a.g.add([Y(),d]),a.h=Math.max(a.h,
d))})},Wra=function(a){return(a=a.jb.getAll().find(function(b){return b.N}))?a.ha:null},Xra=function(a){a=Zra(a.jb);return!!a.length&&a.every(function(b){return b.K})};var E4=function(a,b,c){V.call(this);var d=this;this.controller=b;this.V=c;this.g=new eL(this);this.jb=new Map;this.s=this.j=null;this.G=new ER(function(){d.g.R(d.F,d.j)},50);this.D=new ER(function(){d.g.R(d.u,d.s)},200);this.h=this.g.signal();this.l=this.g.signal();this.Xb=this.g.signal();this.m=this.g.signal();this.Bd=this.g.signal();this.F=gL(this.g);this.u=gL(this.g);this.Uc=this.g.signal();jV(this.g,this.Uc,function(e){return 6===e.state});jV(this.g,this.Uc,function(e){return 2===e.state});this.K=
this.g.signal();this.H=this.g.signal();jV(this.g,this.h,function(e){return!e.isLocal});jV(this.g,this.l,function(e){return!e.isLocal});jV(this.g,this.Xb,function(e){return!e.isLocal});jV(this.g,this.m,function(e){return!e.isLocal});jV(this.g,this.Bd,function(e){return!e.isLocal});this.N=jV(this.g,this.h,function(e){return e.j});this.self=this.N.next();this.self.then(function(){});b.Xb.attach(function(e){C4(d,e)});b.Bd.attach(function(e){var f=e.Z(),g=d.jb.get(f);g&&(C4(d,e),D4(d,g.Pf,!1),g.Pf.dispose(),
d.jb.delete(f))});a.forEach(function(e){C4(d,e)});this.g.R(this.F,null);this.g.R(this.u,null);new Yra(this)};t(E4,V);E4.prototype.getAll=function(){return[].concat(p(this.jb.values())).map(function(a){return a.Pf})};var B4=function(a){return a.getAll().filter(function(b){return!b.V&&5===b.state})},Zra=function(a){return B4(a).filter(function(b){return!b.isLocal})};E4.prototype.Ri=function(){return B4(this).filter(function(a){return a.Qd})};
E4.prototype.get=function(a){return(a=this.jb.get(a))?a.Pf:null};E4.prototype.jl=function(){return this.controller.jl()};E4.prototype.ba=function(){var a=new lL(this.g);try{for(var b=n(this.jb.values()),c=b.next();!c.done;c=b.next()){var d=c.value.Pf;d.dispose();a.add(this.Bd,d)}this.jb.clear()}finally{a.R()}V.prototype.ba.call(this)};
var C4=function(a,b){var c=b.Z(),d=a.jb.get(c);if(d)d.iA(b);else{var e=null,f=new (O(b,15,!1)?A4:z4)(b,function(g){e=g},a.controller,a.V);lV(a.g,a.l,f.F,function(){return f});lV(a.g,a.m,f.m,function(){return f});kV(a.g,a.Xb,f.Xb,function(){return f});lV(a.g,a.Bd,f.Bd,function(){return f});lV(a.g,a.Uc,f.Uc,function(){return f});lV(a.g,a.K,f.D,function(g){return{Pf:f,EP:g}});lV(a.g,a.H,f.u,function(g){return Object.assign({Pf:f},g)});oL(f.H,function(g){D4(a,f,g)},a);oL(f.G,function(g){a.s=g?f:null;
a.D.start()},a);e?(a.jb.set(c,{Pf:f,iA:e}),a.g.R(a.h,f)):(f.dispose(),Mb("No participant callback set for new participant"))}},D4=function(a,b,c){if(c){if(a.j===b)return;a.j=b}else{if(a.j!==b)return;a.j=null}a.G.start()};var hsa=function(a){var b=new eL,c=b.signal(),d=b.signal(),e=a.jb.get();e=e?e.get().map(function(z){return F4(z)}):[];var f=new E4(e,{Xb:c,Bd:d,dm:function(z){return $ra(a,z)},em:function(){return Promise.resolve(!1)},Dk:function(z){return asa(a,z)},Dd:function(z){return bsa(a,z)},accept:function(){return csa()},yk:function(){return dsa()},Wl:function(){return esa()},Mh:function(){return fsa()},jl:function(){return gsa()}},a.Eb.then());f.T(b);var g=null;a.j.then(function(z){var D=function(K){if(K!=
g){if(g){var T=f.get(g);T&&(T=T.ha,b.R(c,q4(new p4,T).Tf(!1)))}K&&(T=f.get(K))&&(T=T.ha,b.R(c,q4(new p4,T).Tf(!0)));g=K}},C=z.get()[0];D(C&&C.Qk()&&M(C.Rc(),1));z.onChange.attach(function(K){var T=K.nc,da=K.removed;[].concat(p(K.Fc),p(T)).forEach(function(Ka){return D(Ka.Qk()&&M(Ka.Rc(),1)||null)});da.forEach(function(){return D(null)})})});e=new u4(a.Jb,f,jL(b,c,function(z){if(z.Mo()){var D=z.Z();if([].concat(p(a.V.keys())).some(function(C){return C.ha.get()===D}))return P(z.clone(),12,void 0)}return z}),
a.bb,a.Eb,xK(a.ka,iR));f.T(e);var h,m=function(z){var D=F4(z),C=z.Z();h&&r4(D,C===h);[].concat(p(a.V.keys())).some(function(K){return K.ha.get()===C})&&(D.Wh(!0),D.qm(!0),r4(D,!1),h&&D.Dj(h));D.Tf(C===g);b.R(c,D)},q=new Map,r=function(z){var D=new Map;z.forEach(function(C){m(C);D.set(C.Z(),C);q.delete(C.Z())});q.forEach(function(C){b.R(d,F4(C))});q=D};(function(){var z,D;return Da(function(C){switch(C.g){case 1:return u(C,oma(a),2);case 2:z=C.h;case 3:if(0!==a.getState()){C.cb(0);break}return u(C,
z.search(),5);case 5:D=C.h;if(0!==a.getState())return C.return();r(D);return u(C,Qv(4E3),3)}})})();a.ha.then(function(z){h=z;a.jb.then(function(D){vN(D).then(function(C){r(C);f.getAll().forEach(function(K){var T=K.ha;K.s?b.R(c,q4((new p4).Dj(h),T)):b.R(c,r4(q4(new p4,T),T==h))})});D.onChange.attach(function(C){var K=C.nc,T=C.removed;C.Fc.forEach(m);K.forEach(function(da){return b.R(c,F4(da))});T.forEach(function(da){return b.R(d,F4(da))})},f)})});return f},F4=function(a){var b=q4(new p4,a.Z()).vj(3).Cj(!0);
null!=M(a,4)&&b.Sl(M(a,4));null!=M(a,10)&&b.Rl(M(a,10));null!=M(a,5)&&b.Pl(M(a,5));if(null!=M(a,13)){var c=5==N(a,13,1);b.pm(c);b.Ql(c?1:0)}null!=M(a,17)&&b.Tl(isa(a));null!=M(a,3)?b.Bj(!1):b.Bj(!b.yo());null!=M(a,12)&&b.om(4==M(a,12));return b},isa=function(a){switch(N(a,17,0)){case 1:return 5;case 10:return 6;case 11:return 2;case 12:return 1;case 2:case 20:case 21:case 22:return 9;default:return O(a,18,!1)?5:0}},$ra=function(a,b){var c,d,e;return Da(function(f){switch(f.g){case 1:return!XW(a.onConnect)||
XW(a.onDisconnect)?f.return(!1):u(f,a.ha.then(),2);case 2:return c=f.h,u(f,a.sources.then(),3);case 3:return d=f.h,e=d.get().filter(function(g){return g.Z()==b&&1==g.ga()}),u(f,Promise.all(e.map(function(g){g=d.ob(g);var h=new XC;h=P(h,1,c);g=U(g,6,h);return zN(d,g)})),4);case 4:return f.return(!0)}})},asa=function(a,b){var c,d,e;return Da(function(f){if(1==f.g)return!XW(a.onConnect)||XW(a.onDisconnect)?f.return(Promise.resolve(!1)):u(f,a.jb.then(),2);if(3!=f.g)return c=f.h,d={},u(f,c.remove(c.ob(b),
(d.jYdIne=43,d)),3);e=f.h;return f.return(1==e.length)})},bsa=function(a,b){var c,d;return Da(function(e){if(1==e.g)return!XW(a.onConnect)||XW(a.onDisconnect)?e.return(Promise.resolve(!1)):u(e,a.j,2);if(3!=e.g)return c=e.h,u(e,zN(c,c.ob().Dd(tB(new sB,b))),3);d=e.h;return e.return(1==d.length)})},csa=function(){return Da(function(){throw Error("Not supported");})},dsa=function(){return Da(function(){throw Error("Not supported");})},esa=function(){return Da(function(){throw Error("Not supported");
})},fsa=function(){return Da(function(){throw Error("Not supported");})},gsa=function(){return Da(function(){throw Error("Not supported");})};var G4=function(a){I2.call(this,a);this.o=new WQ("realtime.media.api.webrtc.extension.HangoutExtensionServiceImpl");this.logImpression(4864)};t(G4,I2);var jsa=function(a){G2(a,function(b){return new G4(b)})};G4.prototype.Hf=function(){var a={method:"cpu.getInfo"};E2?a=C2(a,!1):(E2=!0,a=D2(a));return a.then()};G4.prototype.vh=function(){return Zqa()};
var ksa=l(["Extension logging setMetadata succeeded for ",""]),lsa=l(["Extension loggings setMetadata failed for session: ",", error: ",""]),H4=function(a,b,c,d){d=void 0===d?!0:d;var e=D2({method:"logging.setMetadata",metaData:[{key:"client",value:"Hangouts"},{key:"sessionId",value:b},{key:"participantLogId",value:c},{key:"url",value:window.location.href}]}).then(function(){a.o.g(ksa,b)},function(f){a.o.g(lsa,b,f.value)});return d?Dt(e,function(){return H4(a,b,c,!1)}):e};G4.prototype.tl=function(){return I4(this)};
var msa=l(["logging.stopAndUpload succeeded with result= ",""]),nsa=l(["logging.stopAndUpload failed with error=",""]),osa=l(["logging.stop succeeded"]),psa=l(["logging.stop failed"]);
G4.prototype.ul=function(a,b){var c=this;return b?D2({method:"logging.stopAndUpload"}).then(function(d){c.o.info(msa,JSON.stringify(d.value));return d},function(d){c.o.L(nsa,d.value);throw d;}):D2({method:"logging.stop"}).then(function(){c.o.info(osa);return a?D2({method:"logging.store",logId:a}):D2({method:"logging.discard"})},function(d){ZQ(c.o,d).L(psa)})};var qsa=l(["logging.startRtpDump succeeded"]),rsa=l(["logging.startRtpDump failed."]),ssa=l(["logging.stopRtpDump succeeded"]),tsa=l(["logging.stopRtpDump failed"]);
G4.prototype.ql=function(a){var b=this;return a?D2({method:"logging.startRtpDump",incoming:!0,outgoing:!0}).then(function(c){b.o.info(qsa);return c},function(c){ZQ(b.o,c).L(rsa);throw c;}):D2({method:"logging.stopRtpDump",incoming:!0,outgoing:!0}).then(function(c){b.o.info(ssa);return c},function(c){ZQ(b.o,c).L(tsa);throw c;})};var I4=function(a,b){b=void 0===b?!0:b;var c=rt(D2({method:"logging.start"}));return b?Dt(c,function(){return I4(a,!1)}):c};
G4.prototype.vl=function(a,b){return H4(this,a,b).then(function(){return D2({method:"logging.uploadOnRenderClose"})})};G4.prototype.sl=function(a){var b=void 0===b?{AA:1,ox:4268032}:b;var c=tf&&hq(74),d={};a=(d.method="logging.startEventLogging",d[c?"sessionId":"peerConnectionId"]=a,d.maxLogSizeBytes=b.ox,d.webAppId=b.AA,d);return D2(a).then()};G4.prototype.rl=function(){return D2({method:"getHardwarePlatformInfo"}).then()};var J4=function(a){I2.call(this,a);this.logImpression(4866)};t(J4,I2);var usa=function(a){G2(a,function(b){return new J4(b)})};k=J4.prototype;k.Hf=function(){return K4(this,"cpu.getInfo")};k.vh=function(){return null};k.ql=function(){return K4(this,"enableRtpHeaderDump")};k.rl=function(){return K4(this,"getHardwarePlatformInfo")};k.tl=function(){return K4(this,"logging.start")};k.ul=function(){return K4(this,"logging.stop")};k.vl=function(){return K4(this,"logging.uploadOnRenderClose")};
k.sl=function(){return K4(this,"logging.startEventLogging")};var K4=function(a,b){return st(new x2(6,a.constructor.name+":  Method: "+b+"; Type: expected failure; Explanation: Operation ignored, no Hangout Extension expected."))};var L4=function(a){L(this,a,"hc:rc",-1,vsa,null)};w(L4,J);var M4=function(a){L(this,a,0,-1,null,null)};w(M4,J);var vsa=[7];L4.messageId="hc:rc";k=L4.prototype;k.getTime=function(){return M(this,1)};k.setTime=function(a){return P(this,1,a)};k.ta=function(){return M(this,3)};k.dc=function(){return M(this,11)};k.Gb=function(){return M(this,12)};k.Ia=function(){return M(this,13)};var wsa=function(){this.h=-1};var N4=function(){this.h=64;this.g=Array(4);this.C=Array(this.h);this.l=this.j=0;this.reset()};w(N4,wsa);N4.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.l=this.j=0};
var O4=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
N4.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.h,d=this.C,e=this.j,f=0;f<b;){if(0==e)for(;f<=c;)O4(this,a,f),f+=this.h;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.h){O4(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.h){O4(this,d);e=0;break}}this.j=e;this.l+=b};
N4.prototype.digest=function(){var a=Array((56>this.j?this.h:2*this.h)-this.j);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.l;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};var Q4=function(a,b,c,d,e){var f=new L4;P(f,3,b);b=$a();f.setTime(b);b=P4(M(a.g,7),b);P(f,2,b);b=PM(a);P(f,4,b);b=N(a.g,5,0);P(f,5,b);P(f,6,c.m);a=a.dc();P(f,11,a);Nl(f,7,d);void 0!==e&&P(f,8,e);(d=c.j)&&P(f,10,d);(d=c.Gb())&&P(f,12,d);(c=c.Ia())&&P(f,13,c);return f},R4=function(a,b,c){var d=new hG,e=(new Date(M(b,4))).toString();P(d,2,e);e=M(b,4);P(d,133,e);e=null!=M(b,3)?M(b,3):M(a,8);P(d,30,e);P(d,3,-2);(e=M(b,1))&&P(d,1,e);e=new qH;U(e,4,d);d=a.ta();P(e,2,d);d=M(c.g,14);P(e,11,d||[]);b=M(b,2);
P(e,21,b);c=Dl(c.g,8);P(e,12,c);c=M(a,6);P(e,14,c);c=M(a,10);P(e,16,c);c=a.Gb();P(e,22,c);a=a.Ia();P(e,23,a);return e},S4=function(a,b,c){var d=M(c,6),e=c.ta();a.then(function(f){f.logImpression(b,{Kc:d,ib:e})})},P4=function(a,b){a+=b;b=new N4;b.update(a,a.length);return String.fromCharCode.apply(String,b.digest())};var xsa=function(a){this.g=a},ysa=function(a,b,c){var d=zt();T4(a,b,c,new XL(4E3,36E5,.25,4),d.resolve);return d.promise},T4=function(a,b,c,d,e){var f=hR(b,M(c,6)),g=S(c,M4,7).map(function(h){return gR(f,R4(c,h,b),M(h,1))});g=xt(g);S4(a.g,4159,c);g.then(function(h){h.every(function(m){return m.Pe})?(e(),S4(a.g,4160,c)):(Ov(function(){T4(a,b,c,d,e)},d.g),YL(d),S4(a.g,4161,c))})};var U4=function(a){L(this,a,"hc:rcs",-1,zsa,null)};w(U4,J);var zsa=[2];U4.messageId="hc:rcs";var Asa=function(){};var V4=function(){};w(V4,Asa);V4.prototype.wa=function(){var a=0;Vm(this.Zb(!0),function(){a++});return a};V4.prototype.clear=function(){var a=Xm(this.Zb(!0)),b=this;Qb(a,function(c){b.remove(c)})};var W4=function(a){this.g=a};w(W4,V4);k=W4.prototype;k.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};k.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};k.get=function(a){a=this.g.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};k.remove=function(a){this.g.removeItem(a)};
k.wa=function(){return this.g.length};k.Zb=function(a){var b=0,c=this.g,d=new Tm;d.next=function(){if(b>=c.length)throw Sm;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};return d};k.clear=function(){this.g.clear()};k.key=function(a){return this.g.key(a)};var X4=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};w(X4,W4);var Z4=function(a,b){var c=this;this.h=a;this.j=b;this.g=new X4;this.o=new WQ("realtime.media.call.PersistentReportingService");a=window.requestIdleCallback;"function"===typeof a?a(function(){Y4(c)}):Ov(function(){Y4(c)})},Bsa=function(a){wK(a,RW)||FK(a,RW,function(b){b=xK(b,$K).then();return new Z4(new xsa(b),b)})},b5=function(a,b,c,d,e,f){if(!$4(a,"Could not save RecentCallSummary because storage was unavailable")||0===e.length)return null;b=Q4(b,c,d,e,f);d=new U4;U(d,1,b);c=a5(b);d=d.va();a.g.set(c,
d);return b},Csa=function(a,b){if(!$4(a,"Could not get RecentCalls because storage was unavailable"))return[];for(var c=$a()-6E4,d=[],e=0;e<a.g.wa();){var f=a.g.key(e++);if(null!==f&&rd(f,"rcsprs_")&&(f=c5(a,f),null!==f&&null!=M(f,1)&&!(R(f,L4,1).getTime()<c))){var g=P4(b,R(f,L4,1).getTime());M(R(f,L4,1),2)===g&&d.push(R(f,L4,1))}}return d},Dsa=l(["Failed to create RecentCallSummary."]),c5=function(a,b){if($4(a,"Could not load RecentCallSummary because storage was unavailable")&&(b=a.g.get(b),null!==
b))try{return new U4(b?JSON.parse(b):null)}catch(c){ZQ(a.o,c).L(Dsa)}return null},Esa=function(a,b,c){ysa(a.h,b,c).then(function(){var d=a5(c),e=c5(a,d);if(null!==e&&-1===M(e,2).indexOf(1)){var f=M(e,2).concat([1]);P(e,2,f||[]);e=e.va();a.g.set(d,e)}})},Fsa=l(["",""]),$4=function(a,b){if(a.g.isAvailable())return!0;a.o.L(Fsa,b);return!1},Y4=function(a){if($4(a,"Could not delete old RecentCallSummaries because storage was unavailable")){for(var b=$a()-3456E5,c=new Map,d="",e=0,f=0;f<a.g.wa();f++){var g=
a.g.key(f);if(null!==g&&rd(g,"rcsprs_")){var h=c5(a,g);if(null!==h&&null!=M(h,1)){var m=R(h,L4,1);m.getTime()>e&&(d=g,e=m.getTime());(m.getTime()<b||-1!==M(h,2).indexOf(1))&&c.set(g,h)}else c.set(g,h)}}c.delete(d);c.forEach(function(q,r){a.g.remove(r);q&&null!=M(q,1)&&-1===M(q,2).indexOf(1)&&S4(a.j,4162,R(q,L4,1))})}};function a5(a){return"rcsprs_"+M(a,6)+"_"+a.dc()}cK(RW,Z4);var d5=function(){this.g=[];this.h=[]};d5.prototype.enqueue=function(a){this.h.push(a)};var e5=function(a){ac(a.g)&&(a.g=a.h,a.g.reverse(),a.h=[]);return a.g.pop()};k=d5.prototype;k.wa=function(){return this.g.length+this.h.length};k.ec=function(){return ac(this.g)&&ac(this.h)};k.clear=function(){this.g=[];this.h=[]};k.contains=function(a){return $b(this.g,a)||$b(this.h,a)};k.remove=function(a){var b=this.g;var c=Pb(b,a);0<=c?(gc(b,c),b=!0):b=!1;return b||fc(this.h,a)};
k.Ja=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.h.length;for(b=0;b<c;++b)a.push(this.h[b]);return a};/*

 ## MIT

 Copyright (c) 2013?2015 Streams Standard Reference Implementation Authors

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.



 ## CC0

 To the extent possible under law, the authors have dedicated all copyright and
 related and neighboring rights to this software to the public domain worldwide.
 This software is distributed without any warranty.

 You should have received a copy of the CC0 Public Domain Dedication along with
 this software. If not, see https://creativecommons.org/publicdomain/zero/1.0/.

 Creative Commons Legal Code

 CC0 1.0 Universal

     CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
     LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
     ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
     INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
     REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
     PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
     THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
     HEREUNDER.

 Statement of Purpose

 The laws of most jurisdictions throughout the world automatically confer
 exclusive Copyright and Related Rights (defined below) upon the creator
 and subsequent owner(s) (each and all, an "owner") of an original work of
 authorship and/or a database (each, a "Work").

 Certain owners wish to permanently relinquish those rights to a Work for
 the purpose of contributing to a commons of creative, cultural and
 scientific works ("Commons") that the public can reliably and without fear
 of later claims of infringement build upon, modify, incorporate in other
 works, reuse and redistribute as freely as possible in any form whatsoever
 and for any purposes, including without limitation commercial purposes.
 These owners may contribute to the Commons to promote the ideal of a free
 culture and the further production of creative, cultural and scientific
 works, or to gain reputation or greater distribution for their Work in
 part through the use and efforts of others.

 For these and/or other purposes and motivations, and without any
 expectation of additional consideration or compensation, the person
 associating CC0 with a Work (the "Affirmer"), to the extent that he or she
 is an owner of Copyright and Related Rights in the Work, voluntarily
 elects to apply CC0 to the Work and publicly distribute the Work under its
 terms, with knowledge of his or her Copyright and Related Rights in the
 Work and the meaning and intended legal effect of CC0 on those rights.

 1. Copyright and Related Rights. A Work made available under CC0 may be
 protected by copyright and related or neighboring rights ("Copyright and
 Related Rights"). Copyright and Related Rights include, but are not
 limited to, the following:

   i. the right to reproduce, adapt, distribute, perform, display,
      communicate, and translate a Work;
  ii. moral rights retained by the original author(s) and/or performer(s);
 iii. publicity and privacy rights pertaining to a person's image or
      likeness depicted in a Work;
  iv. rights protecting against unfair competition in regards to a Work,
      subject to the limitations in paragraph 4(a), below;
   v. rights protecting the extraction, dissemination, use and reuse of data
      in a Work;
  vi. database rights (such as those arising under Directive 96/9/EC of the
      European Parliament and of the Council of 11 March 1996 on the legal
      protection of databases, and under any national implementation
      thereof, including any amended or successor version of such
      directive); and
 vii. other similar, equivalent or corresponding rights throughout the
      world based on applicable law or treaty, and any national
      implementations thereof.

 2. Waiver. To the greatest extent permitted by, but not in contravention
 of, applicable law, Affirmer hereby overtly, fully, permanently,
 irrevocably and unconditionally waives, abandons, and surrenders all of
 Affirmer's Copyright and Related Rights and associated claims and causes
 of action, whether now known or unknown (including existing as well as
 future claims and causes of action), in the Work (i) in all territories
 worldwide, (ii) for the maximum duration provided by applicable law or
 treaty (including future time extensions), (iii) in any current or future
 medium and for any number of copies, and (iv) for any purpose whatsoever,
 including without limitation commercial, advertising or promotional
 purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
 member of the public at large and to the detriment of Affirmer's heirs and
 successors, fully intending that such Waiver shall not be subject to
 revocation, rescission, cancellation, termination, or any other legal or
 equitable action to disrupt the quiet enjoyment of the Work by the public
 as contemplated by Affirmer's express Statement of Purpose.

 3. Public License Fallback. Should any part of the Waiver for any reason
 be judged legally invalid or ineffective under applicable law, then the
 Waiver shall be preserved to the maximum extent permitted taking into
 account Affirmer's express Statement of Purpose. In addition, to the
 extent the Waiver is so judged Affirmer hereby grants to each affected
 person a royalty-free, non transferable, non sublicensable, non exclusive,
 irrevocable and unconditional license to exercise Affirmer's Copyright and
 Related Rights in the Work (i) in all territories worldwide, (ii) for the
 maximum duration provided by applicable law or treaty (including future
 time extensions), (iii) in any current or future medium and for any number
 of copies, and (iv) for any purpose whatsoever, including without
 limitation commercial, advertising or promotional purposes (the
 "License"). The License shall be deemed effective as of the date CC0 was
 applied by Affirmer to the Work. Should any part of the License for any
 reason be judged legally invalid or ineffective under applicable law, such
 partial invalidity or ineffectiveness shall not invalidate the remainder
 of the License, and in such case Affirmer hereby affirms that he or she
 will not (i) exercise any of his or her remaining Copyright and Related
 Rights in the Work or (ii) assert any associated claims and causes of
 action with respect to the Work, in either case contrary to Affirmer's
 express Statement of Purpose.

 4. Limitations and Disclaimers.

  a. No trademark or patent rights held by Affirmer are waived, abandoned,
     surrendered, licensed or otherwise affected by this document.
  b. Affirmer offers the Work as-is and makes no representations or
     warranties of any kind concerning the Work, express, implied,
     statutory or otherwise, including without limitation warranties of
     title, merchantability, fitness for a particular purpose, non
     infringement, or the absence of latent or other defects, accuracy, or
     the present or absence of errors, whether or not discoverable, all to
     the greatest extent permissible under applicable law.
  c. Affirmer disclaims responsibility for clearing rights of other persons
     that may apply to the Work or any use thereof, including without
     limitation any person's Copyright and Related Rights in the Work.
     Further, Affirmer disclaims responsibility for obtaining any necessary
     consents, permissions or other rights required for any use of the
     Work.
  d. Affirmer understands and acknowledges that Creative Commons is not a
     party to this document and has no duty or obligation with respect to
     this CC0 or use of the Work.
*/
var f5=Symbol('is "detached" for our purposes'),g5=function(a){return"object"===typeof a&&null!==a||"function"===typeof a},h5=function(a,b){var c={};Object.defineProperty(c,"value",{value:a,enumerable:!0,writable:!0,configurable:!0});Object.defineProperty(c,"done",{value:b,enumerable:!0,writable:!0,configurable:!0});return c};function i5(a,b,c){if("function"!==typeof a)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(a,b,c)}
var k5=function(a,b,c,d){var e=a[b];if(void 0!==e){if("function"!==typeof e)throw new TypeError(e+" is not a method");switch(c){case 0:return function(){return j5(e,a,d)};case 1:return function(f){return j5(e,a,[f].concat(d))}}}return function(){return Promise.resolve()}},l5=function(a,b){var c=a.start;if(void 0!==c)return i5(c,a,b)};function j5(a,b,c){try{return Promise.resolve(i5(a,b,c))}catch(d){return Promise.reject(d)}}
var Gsa=function(a){var b=a.slice();Object.defineProperty(a,"byteLength",{get:function(){return 0}});a[f5]=!0;return b},m5=function(a){a=Number(a);if(Number.isNaN(a)||0>a)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return a},Hsa=function(a){if(void 0===a)return function(){return 1};if("function"!==typeof a)throw new TypeError("size property of a queuing strategy must be a function");return function(b){return a(b)}};var n5=function(a){var b=a.Xc.shift();a.sb-=b.size;0>a.sb&&(a.sb=0);return b.value},o5=function(a,b,c){var d=c=Number(c);if(!1===("number"!==typeof d||Number.isNaN(d)||0>d?!1:!0)||Infinity===d)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");a.Xc.push({value:b,size:c});a.sb+=c},p5=function(a){a.Xc=[];a.sb=0};var q5=function(a){a&&a instanceof Ib&&setTimeout(function(){throw a;},0)};var Isa=jg("third_party.whatwgstreams"),r5=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];pg(Isa,JSON.stringify(b))};var Jsa=Symbol("[[AbortSteps]]"),Ksa=Symbol("[[ErrorSteps]]");function s5(a,b){var c=a.Fa;if("closed"===c||"errored"===c)return Promise.resolve(void 0);if(void 0!==a.Wc)return a.Wc.Ht;var d=!1;"erroring"===c&&(d=!0,b=void 0);c=new Promise(function(e,f){a.Wc={ad:e,Zc:f,It:b,Jt:d}});a.Wc.Ht=c;!1===d&&t5(a,b);return c}function Lsa(a){return new Promise(function(b,c){a.dk.push({ad:b,Zc:c})})}function u5(a,b){r5("WritableStreamDealWithRejection(stream, %o)",b);"writable"===a.Fa?t5(a,b):v5(a)}
function t5(a,b){r5("WritableStreamStartErroring(stream, %o)",b);var c=a.ui;a.Fa="erroring";a.vc=b;var d=a.zf;void 0!==d&&w5(d,b);void 0===a.gg&&void 0===a.fg?(r5("WritableStreamHasOperationMarkedInFlight() is false"),b=!1):(r5("WritableStreamHasOperationMarkedInFlight() is true"),b=!0);!1===b&&!0===c.yf&&v5(a)}
function v5(a){r5("WritableStreamFinishErroring()");a.Fa="errored";a.ui[Ksa]();for(var b=a.vc,c=n(a.dk),d=c.next();!d.done;d=c.next())d.value.Zc(b);a.dk=[];if(void 0===a.Wc)x5(a);else{var e=a.Wc;a.Wc=void 0;!0===e.Jt?(e.Zc(b),x5(a)):a.ui[Jsa](e.It).then(function(){e.ad();x5(a)},function(f){e.Zc(f);x5(a)})}}function y5(a){return void 0===a.dg&&void 0===a.fg?!1:!0}
function x5(a){r5("WritableStreamRejectCloseAndClosedPromiseIfNeeded()");void 0!==a.dg&&(a.dg.Zc(a.vc),a.dg=void 0);var b=a.zf;void 0!==b&&(z5(b,a.vc),b.jc.catch(function(){}))}function A5(a,b){var c=a.zf;void 0!==c&&b!==a.Xj&&(!0===b?Msa(c):B5(c));a.Xj=b}
var F5=function(a){if(!1===(g5(a)?!0:!1))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===(void 0===a.zf?!1:!0))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this.Id=a;a.zf=this;var b=a.Fa;"writable"===b?(!1===y5(a)&&!0===a.Xj?Nsa(this):C5(this),D5(this)):"erroring"===b?(E5(this,a.vc),this.He.catch(function(){}),D5(this)):"closed"===b?(C5(this),this.jc=Promise.resolve(void 0),this.sd=
this.td=void 0,this.eg="resolved"):(a=a.vc,E5(this,a),this.He.catch(function(){}),this.jc=Promise.reject(a),this.sd=this.td=void 0,this.eg="rejected",this.jc.catch(function(){}))};F5.prototype.abort=function(a){return!1===(g5(this)?!0:!1)?Promise.reject(G5("abort")):void 0===this.Id?Promise.reject(H5("abort")):s5(this.Id,a)};
F5.prototype.close=function(){if(!1===(g5(this)?!0:!1))return Promise.reject(G5("close"));var a=this.Id;return void 0===a?Promise.reject(H5("close")):!0===y5(a)?Promise.reject(new TypeError("cannot close an already-closing stream")):I5(this)};F5.prototype.write=function(a){return!1===(g5(this)?!0:!1)?Promise.reject(G5("write")):void 0===this.Id?Promise.reject(H5("write to")):J5(this,a)};
function I5(a){var b=a.Id,c=b.Fa;if("closed"===c||"errored"===c)return Promise.reject(new TypeError("The stream (in "+c+" state) is not in the writable state and cannot be closed"));var d=new Promise(function(e,f){b.dg={ad:e,Zc:f}});!0===b.Xj&&"writable"===c&&B5(a);Osa(b.ui);return d}function Psa(a,b){"pending"===a.eg?z5(a,b):Qsa(a,b);a.jc.catch(function(){})}
function w5(a,b){r5("WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, %o)",b);"pending"===a.xf?Rsa(a,b):Ssa(a,b);a.He.catch(function(){})}
function J5(a,b){var c=a.Id,d=c.ui;try{var e=d.Bn(b)}catch(f){"writable"===d.tf.Fa&&t5(d.tf,f),e=1}if(c!==a.Id)return Promise.reject(H5("write to"));a=c.Fa;if("errored"===a)return Promise.reject(c.vc);if(!0===y5(c)||"closed"===a)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(c.vc);c=Lsa(c);a:{b={ju:b};try{o5(d,b,e)}catch(f){"writable"===d.tf.Fa&&t5(d.tf,f);break a}b=d.tf;!1===y5(b)&&"writable"===b.Fa&&A5(b,0>=
d.hh-d.sb);K5(d)}return c}function Osa(a){o5(a,"close",0);K5(a)}function K5(a){r5("WritableStreamDefaultControllerAdvanceQueueIfNeeded()");var b=a.tf;if(!1!==a.yf&&void 0===b.gg){var c=b.Fa;"closed"!==c&&"errored"!==c&&("erroring"===c?v5(b):0!==a.Xc.length&&(b=a.Xc[0].value,"close"===b?Tsa(a):Usa(a,b.ju)))}}
function Tsa(a){var b=a.tf;b.fg=b.dg;b.dg=void 0;n5(a);a.WO().then(function(){b.fg.ad(void 0);b.fg=void 0;"erroring"===b.Fa&&(b.vc=void 0,void 0!==b.Wc&&(b.Wc.ad(),b.Wc=void 0));b.Fa="closed";var c=b.zf;void 0!==c&&(c.td(void 0),c.td=void 0,c.sd=void 0,c.eg="resolved")},function(c){b.fg.Zc(c);b.fg=void 0;void 0!==b.Wc&&(b.Wc.Zc(c),b.Wc=void 0);u5(b,c)}).catch(q5)}
function Usa(a,b){var c=a.tf;c.gg=c.dk.shift();a.ZO(b).then(function(){c.gg.ad(void 0);c.gg=void 0;var d=c.Fa;n5(a);!1===y5(c)&&"writable"===d&&A5(c,0>=a.hh-a.sb);K5(a)},function(d){c.gg.Zc(d);c.gg=void 0;u5(c,d)}).catch(q5)}function G5(a){return new TypeError("WritableStreamDefaultWriter.prototype."+a+" can only be used on a WritableStreamDefaultWriter")}function H5(a){return new TypeError("Cannot "+a+" a stream using a released writer")}
function D5(a){a.jc=new Promise(function(b,c){a.td=b;a.sd=c;a.eg="pending"})}function z5(a,b){a.sd(b);a.td=void 0;a.sd=void 0;a.eg="rejected"}function Qsa(a,b){a.jc=Promise.reject(b);a.eg="rejected"}function Nsa(a){r5("defaultWriterReadyPromiseInitialize()");a.He=new Promise(function(b,c){a.ig=b;a.hg=c});a.xf="pending"}function E5(a,b){r5("defaultWriterReadyPromiseInitializeAsRejected(writer, %o)",b);a.He=Promise.reject(b);a.ig=void 0;a.hg=void 0;a.xf="rejected"}
function C5(a){r5("defaultWriterReadyPromiseInitializeAsResolved()");a.He=Promise.resolve(void 0);a.ig=void 0;a.hg=void 0;a.xf="fulfilled"}function Rsa(a,b){r5("defaultWriterReadyPromiseReject(writer, %o)",b);a.hg(b);a.ig=void 0;a.hg=void 0;a.xf="rejected"}function Msa(a){r5("defaultWriterReadyPromiseReset()");a.He=new Promise(function(b,c){a.ig=b;a.hg=c});a.xf="pending"}function Ssa(a,b){r5("defaultWriterReadyPromiseResetToRejected(writer, %o)",b);a.He=Promise.reject(b);a.xf="rejected"}
function B5(a){r5("defaultWriterReadyPromiseResolve()");a.ig(void 0);a.ig=void 0;a.hg=void 0;a.xf="fulfilled"};var L5=Symbol("[[CancelSteps]]"),M5=Symbol("[[PullSteps]]"),N5=function(a){a=void 0===a?{}:a;var b={},c=b.size;b=b.highWaterMark;this.Fa="readable";this.vc=this.ac=void 0;this.An=!1;var d=a.type;if("bytes"===String(d)){void 0===b&&(b=0);b=m5(b);if(void 0!==c)throw new RangeError("The strategy for a byte stream cannot have a size function");Vsa(this,a,b)}else if(void 0===d)void 0===b&&(b=1),b=m5(b),c=Hsa(c),Wsa(this,a,b,c);else throw new RangeError("Invalid type is specified");};
N5.prototype.cancel=function(a){return!1===(g5(this)?!0:!1)?Promise.reject(O5("cancel")):!0===P5(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):Q5(this,a)};
N5.prototype.pipeTo=function(a,b){var c=this;b=void 0===b?{}:b;var d=b.preventClose,e=b.preventAbort,f=b.preventCancel;if(!1===(g5(this)?!0:!1))return Promise.reject(O5("pipeTo"));if(!1===(g5(a)?!0:!1))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));d=!!d;e=!!e;f=!!f;if(!0===P5(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===(void 0===a.zf?!1:!0))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));
var g=new R5(this),h=new F5(a),m=!1,q=Promise.resolve();return new Promise(function(r,z){function D(){return!0===m?Promise.resolve():h.He.then(function(){return S5(g).then(function(Oa){!0!==Oa.done&&(q=J5(h,Oa.value).catch(function(){}))})}).then(D)}function C(){var Oa=q;return q.then(function(){return Oa!==q?C():void 0})}function K(Oa,Ac,Ue){"errored"===Oa.Fa?Ue(Oa.vc):Ac.catch(Ue).catch(q5)}function T(Oa,Ac,Ue){function fr(){Oa().then(function(){return Ka(Ac,Ue)},function(Xsa){return Ka(!0,Xsa)}).catch(q5)}
!0!==m&&(m=!0,"writable"===a.Fa&&!1===y5(a)?C().then(fr):fr())}function da(Oa,Ac){!0!==m&&(m=!0,"writable"===a.Fa&&!1===y5(a)?C().then(function(){return Ka(Oa,Ac)}).catch(q5):Ka(Oa,Ac))}function Ka(Oa,Ac){var Ue=h.Id,fr=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");w5(h,fr);Psa(h,fr);Ue.zf=void 0;h.Id=void 0;Ysa(g);Oa?z(Ac):r(void 0)}K(c,g.jc,function(Oa){!1===e?T(function(){return s5(a,Oa)},!0,Oa):da(!0,Oa)});K(a,h.jc,function(Oa){!1===f?T(function(){return Q5(c,
Oa)},!0,Oa):da(!0,Oa)});(function(Oa,Ac,Ue){"closed"===Oa.Fa?Ue():Ac.then(Ue).catch(q5)})(c,g.jc,function(){!1===d?T(function(){var Oa=h.Id,Ac=Oa.Fa;return!0===y5(Oa)||"closed"===Ac?Promise.resolve():"errored"===Ac?Promise.reject(Oa.vc):I5(h)}):da()});if(!0===y5(a)||"closed"===a.Fa){var fb=new TypeError("the destination writable stream closed before all data could be piped to it");!1===f?T(function(){return Q5(c,fb)},!0,fb):da(!0,fb)}D().catch(function(Oa){q=Promise.resolve();q5(Oa)})})};
function P5(a){return void 0===a.ac?!1:!0}function T5(a){return new Promise(function(b,c){a.ac.Yc.push({ad:b,Zc:c})})}function Q5(a,b){a.An=!0;if("closed"===a.Fa)return Promise.resolve(void 0);if("errored"===a.Fa)return Promise.reject(a.vc);U5(a);return a.ck[L5](b).then(function(){})}function U5(a){a.Fa="closed";a=a.ac;if(void 0!==a){if(!0===(g5(a)?!0:!1)){for(var b=n(a.Yc),c=b.next();!c.done;c=b.next()){var d=c.value.ad;d(h5(void 0,!0))}a.Yc=[]}a.td(void 0);a.td=void 0;a.sd=void 0}}
function V5(a,b){a.Fa="errored";a.vc=b;a=a.ac;if(void 0!==a){if(!0===(g5(a)?!0:!1)){for(var c=n(a.Yc),d=c.next();!d.done;d=c.next())d.value.Zc(b);a.Yc=[]}else{c=n(a.bk);for(d=c.next();!d.done;d=c.next())d.value.Zc(b);a.bk=[]}W5(a,b);a.jc.catch(function(){})}}function X5(a){a=a.ac;return void 0===a||!1===(g5(a)?!0:!1)?!1:!0}function Y5(a){a=a.ac;return void 0===a||!1===(g5(a)?!0:!1)?!1:!0}
var R5=function(a){if(!1===(g5(a)?!0:!1))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===P5(a))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Zsa(this,a);this.Yc=[]};R5.prototype.cancel=function(a){return!1===(g5(this)?!0:!1)?Promise.reject(Z5("cancel")):void 0===this.uf?Promise.reject($5("cancel")):Q5(this.uf,a)};
R5.prototype.read=function(){return!1===(g5(this)?!0:!1)?Promise.reject(Z5("read")):void 0===this.uf?Promise.reject($5("read from")):S5(this)};function Zsa(a,b){a.uf=b;b.ac=a;"readable"===b.Fa?$sa(a):"closed"===b.Fa?ata(a):(bta(a,b.vc),a.jc.catch(function(){}))}
function Ysa(a){"readable"===a.uf.Fa?W5(a,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):a.jc=Promise.reject(new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"));a.jc.catch(function(){});a.uf.ac=void 0;a.uf=void 0}function S5(a){a=a.uf;a.An=!0;return"closed"===a.Fa?Promise.resolve(h5(void 0,!0)):"errored"===a.Fa?Promise.reject(a.vc):a.ck[M5]()}var a6=function(){throw new TypeError;};
a6.prototype.close=function(){if(!1===(g5(this)?!0:!1))throw b6("close");if(!1===c6(this))throw new TypeError("The stream is not in a state that permits close");var a=this.sf;this.qe=!0;0===this.Xc.length&&U5(a)};
a6.prototype.enqueue=function(a){if(!1===(g5(this)?!0:!1))throw b6("enqueue");if(!1===c6(this))throw new TypeError("The stream is not in a state that permits enqueue");var b=this.sf;if(!0===P5(b)&&0<b.ac.Yc.length)b.ac.Yc.shift().ad(h5(a,!1));else{try{var c=this.Bn(a)}catch(d){throw d6(this,d),d;}try{o5(this,a,c)}catch(d){throw d6(this,d),d;}}e6(this)};a6.prototype.error=function(a){if(!1===(g5(this)?!0:!1))throw b6("error");d6(this,a)};a6.prototype[L5]=function(a){p5(this);return this.Zj(a)};
a6.prototype[M5]=function(){var a=this.sf;if(0<this.Xc.length){var b=n5(this);!0===this.qe&&0===this.Xc.length?U5(a):e6(this);return Promise.resolve(h5(b,!1))}a=T5(a);e6(this);return a};function e6(a){!1!==cta(a)&&(!0===a.wf?a.vf=!0:(a.wf=!0,a.ak().then(function(){a.wf=!1;if(!0===a.vf)return a.vf=!1,e6(a)},function(b){d6(a,b)}).catch(q5)))}
function cta(a){var b=a.sf;!1===c6(a)||!1===a.yf?a=!1:((b=!0===P5(b)&&0<b.ac.Yc.length)||(b=a.sf.Fa,b=0<("errored"===b?null:"closed"===b?0:a.hh-a.sb)),a=b?!0:!1);return a}function d6(a,b){var c=a.sf;"readable"===c.Fa&&(p5(a),V5(c,b))}function c6(a){var b=a.sf.Fa;return!1===a.qe&&"readable"===b?!0:!1}
function dta(a,b,c,d,e,f,g){b.sf=a;b.Xc=void 0;b.sb=void 0;p5(b);b.yf=!1;b.qe=!1;b.vf=!1;b.wf=!1;b.Bn=g;b.hh=f;b.ak=d;b.Zj=e;a.ck=b;a=c();Promise.resolve(a).then(function(){b.yf=!0;e6(b)},function(h){d6(b,h)}).catch(q5)}function Wsa(a,b,c,d){var e=Object.create(a6.prototype),f=k5(b,"pull",0,[e]),g=k5(b,"cancel",1,[]);dta(a,e,function(){return l5(b,[e])},f,g,c,d)}var f6=function(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly");};
f6.prototype.close=function(){if(!1===(g5(this)?!0:!1))throw g6("close");if(!0===this.qe)throw new TypeError("The stream has already been closed; do not close it again!");var a=this.Hd.Fa;if("readable"!==a)throw new TypeError("The stream (in "+a+" state) is not in the readable state and cannot be closed");a=this.Hd;if(0<this.sb)this.qe=!0;else{if(0<this.re.length&&0<this.re[0].vd)throw a=new TypeError("Insufficient bytes to fill elements in the given buffer"),h6(this,a),a;U5(a)}};
f6.prototype.enqueue=function(a){if(!1===(g5(this)?!0:!1))throw g6("enqueue");if(!0===this.qe)throw new TypeError("stream is closed or draining");var b=this.Hd.Fa;if("readable"!==b)throw new TypeError("The stream (in "+b+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(a))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");if(!0===f5 in a.buffer)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");
b=this.Hd;var c=a.byteOffset,d=a.byteLength;a=Gsa(a.buffer);if(!0===Y5(b))0===b.ac.Yc.length?i6(this,a,c,d):(a=new Uint8Array(a,c,d),b.ac.Yc.shift().ad(h5(a,!1)));else if(!0===X5(b))for(i6(this,a,c,d);0<this.re.length&&0!==this.sb;){b=this.re[0];d=b.ko;a=Math.min(this.sb,b.byteLength-b.vd);c=b.vd+a;var e=c-c%d;c=!1;e>b.vd-b.vd%d&&(a=e-b.vd,c=!0);for(d=this.Xc;0<a;){var f=d[0];e=Math.min(a,f.byteLength);var g=b.byteOffset+b.vd,h=f.buffer,m=f.byteOffset,q=e;(new Uint8Array(b.buffer)).set(new Uint8Array(h,
m,q),g);f.byteLength===e?d.shift():(f.byteOffset+=e,f.byteLength-=e);this.sb-=e;f=e;j6(this);b.vd+=f;a-=e}!0===c&&(this.re.shift(),j6(this),a=this.Hd,c=!1,"closed"===a.Fa&&(c=!0),d=new b.ed(b.buffer,b.byteOffset,b.vd/b.ko),"default"===b.mz?(b=d,a.ac.Yc.shift().ad(h5(b,c))):(b=d,a.ac.bk.shift().ad(h5(b,c))))}else i6(this,a,c,d)};f6.prototype.error=function(a){if(!1===(g5(this)?!0:!1))throw g6("error");h6(this,a)};f6.prototype[L5]=function(a){0<this.re.length&&(this.re[0].vd=0);p5(this);return this.Zj(a)};
f6.prototype[M5]=function(){var a=this.Hd;if(0<this.sb){a=this.Xc.shift();this.sb-=a.byteLength;0===this.sb&&!0===this.qe?U5(this.Hd):k6(this);try{var b=new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}catch(d){return Promise.reject(d)}return Promise.resolve(h5(b,!1))}b=this.Gt;if(void 0!==b){try{var c=new ArrayBuffer(b)}catch(d){return Promise.reject(d)}this.re.push({buffer:c,byteOffset:0,byteLength:b,vd:0,ko:1,ed:Uint8Array,mz:"default"})}a=T5(a);k6(this);return a};
function k6(a){!1!==eta(a)&&(!0===a.wf?a.vf=!0:(a.wf=!0,a.ak().then(function(){a.wf=!1;!0===a.vf&&(a.vf=!1,k6(a))},function(b){h6(a,b)}).catch(q5)))}function l6(a){j6(a);a.re=[]}function i6(a,b,c,d){a.Xc.push({buffer:b,byteOffset:c,byteLength:d});a.sb+=d}function j6(a){void 0!==a.Yj&&(a.Yj.VO=void 0,a.Yj.YO=void 0,a.Yj=void 0)}
function eta(a){var b=a.Hd;"readable"!==b.Fa||!0===a.qe||!1===a.yf?a=!1:((b=!0===Y5(b)&&0<b.ac.Yc.length||!0===X5(b)&&0<b.ac.bk.length)||(b=a.Hd.Fa,b=0<("errored"===b?null:"closed"===b?0:a.hh-a.sb)),a=b?!0:!1);return a}function h6(a,b){var c=a.Hd;"readable"===c.Fa&&(l6(a),p5(a),V5(c,b))}
function fta(a,b,c,d,e,f,g){b.Hd=a;b.vf=!1;b.wf=!1;l6(b);b.Xc=b.sb=void 0;p5(b);b.qe=!1;b.yf=!1;b.hh=m5(f);b.ak=d;b.Zj=e;b.Gt=g;b.re=[];a.ck=b;a=c();Promise.resolve(a).then(function(){b.yf=!0;k6(b)},function(h){h6(b,h)}).catch(q5)}
function Vsa(a,b,c){var d=Object.create(f6.prototype),e=k5(b,"pull",0,[d]),f=k5(b,"cancel",1,[]),g=b.autoAllocateChunkSize;if(void 0!==g&&(!1===Number.isInteger(g)||0>=g))throw new RangeError("autoAllocateChunkSize must be a positive integer");fta(a,d,function(){return l5(b,[d])},e,f,c,g)}function O5(a){return new TypeError("ReadableStream.prototype."+a+" can only be used on a ReadableStream")}function $5(a){return new TypeError("Cannot "+a+" a stream using a released reader")}
function Z5(a){return new TypeError("ReadableStreamDefaultReader.prototype."+a+" can only be used on a ReadableStreamDefaultReader")}function $sa(a){a.jc=new Promise(function(b,c){a.td=b;a.sd=c})}function bta(a,b){a.jc=Promise.reject(b);a.td=void 0;a.sd=void 0}function ata(a){a.jc=Promise.resolve(void 0);a.td=void 0;a.sd=void 0}function W5(a,b){a.sd(b);a.td=void 0;a.sd=void 0}
function b6(a){return new TypeError("ReadableStreamDefaultController.prototype."+a+" can only be used on a ReadableStreamDefaultController")}function g6(a){return new TypeError("ReadableByteStreamController.prototype."+a+" can only be used on a ReadableByteStreamController")};var n6=function(a){V.call(this);var b=this;this.F=a;this.s=new d5;this.g=0;this.j=new d5;this.u=Math.floor(a/2);this.l=0;this.m=!0;this.h=null;new N5({start:function(c){b.h=c},pull:function(){m6(b)}});Rs(this,function(){b.h&&b.h.close()})};t(n6,V);n6.prototype.add=function(a){var b=a.size,c=this.l<this.u;c&&(this.l+=b);var d=c?this.j:this.s;d.enqueue(a);a=this.g+b;if(!c)for(;a>this.F&&!d.ec();)c=e5(d),a-=c.size;this.g=a;m6(this)};
var m6=function(a){if(a.m){var b=a.h;if(b&&null!==b.desiredSize&&!(0>=b.desiredSize)){var c=a.j.ec()?a.s:a.j;if(!c.ec()){c=e5(c);a.g-=c.size;try{b.enqueue(c)}catch(d){throw a.m=!1,d;}}}}};var gta=new WQ("realtime.media.logging.upload.Uploader"),o6=function(){V.call(this);this.zp=this.Fx=0;this.cl=!1;zt();this.Vk=!1;this.bp=0;this.lA=DQ(zQ("T02pWe"),1E4);this.Jr=DQ(zQ("zZV8c"),100);this.px=DQ(zQ("rERgxc"),1E6);this.Kr=new n6(1E3);this.T(this.Kr)};t(o6,V);var hta=function(a){try{return void 0===a?"<undefined>":null===a?"<null>":"string"===typeof a?a:"number"===typeof a?a.toString():Ra(a)&&a.toString!=Object.prototype.toString?a+"":JSON.stringify(a)}catch(b){return"<error stringifying value>"}};
o6.prototype.Ij=function(a){this.Cr&&(a?this.Cr.g(this.lA,this.Jr):this.Cr.g(0,this.Jr))};var ita=l(["[","] ",""]),jta=ia(["","\n  [ERROR=","]"],["","\\n  [ERROR=","]"]);
o6.prototype.Jd=function(a){if(!(1>a.level||this.Vk&&a.timestamp>=this.bp))if(this.zp>this.px)this.fa&&this.fa.g(7076);else{var b=a.message;a.context&&(b=PQ(ita,a.context,b));a.error&&(b=PQ(jta,b,a.error));var c=this.Fx++;a={pP:this.jP,sequenceNumber:c,size:1,AP:this.Vk,SP:b.g,TP:b.Ja().map(hta),LP:a.level,NP:a.timestamp,MP:a.name};this.Kr.add(a);this.zp++}};var kta=l(["Call has ended"]);o6.prototype.jm=function(){this.bp=Y().g+3E4;this.Vk=!0;gta.info(kta)};
var p6=function(a){a.Mm&&(a.cl?a.Mm.open():a.Mm.close())};o6.prototype.ba=function(){VQ().h.delete(this);VQ().g=[];this.Mm.discard();V.prototype.ba.call(this)};var q6=function(a){KM.call(this);this.o=new WQ("realtime.media.logging.upload.LogUploadService");this.h=!1;new gN(this);this.l=null;xK(a,$K);this.g=new o6;this.T(this.g)};t(q6,KM);q6.prototype.Ij=function(a){this.g.Ij(a)};var lta=l(["Log upload allowed. Starting upload."]),mta=l(["Log upload disallowed. Stopping upload."]);q6.prototype.jm=function(){this.g.jm()};var nta=function(a){wK(a,bX)||FK(a,bX,function(b){return new q6(b)})};var r6=function(a){var b=this;this.g=null;this.D=xK(a,RM,!0).then(function(c){return b.g=c});this.h=null;this.V=xK(a,RW).then().then(function(c){return b.h=c});this.u=null;xK(a,EW).then(function(c){b.u=c});this.s=rt(xK(a,bX));this.F=zt();this.G=this.F.promise;this.C=null;this.j=!1;this.l=new Set;this.m=!1},ota=function(a){wK(a,QW)||FK(a,QW,function(b){return new r6(b)})},s6=function(a){return Array.from(a.Da.h).map(function(b){var c=new M4;c=P(c,1,b.h.g);var d=b.tb();c=P(c,2,d);c=P(c,3,b.oc);b=b.mp();
return P(c,4,b)})},u6=function(a){a.m||t6(a);return a.C||!1},Pla=function(a,b){a.g=a.g||b.h;a.u=a.u||b.bb;a.m||t6(a);bW(b.Da,u6(a));Math.random()<=(Cl(a.g.g,9)||0)&&cW(b.Da);a.l.add(b);b.onConnect.then(function(){return pta(a,b)});WW(b.onDisconnect,function(){return qta(a,b)});v6(a)},rta=function(a,b){a.g?b():a.D.then(b)},w6=function(a,b){a.h?b():a.V.then(b)},pta=function(a,b){w6(a,function(){var c=b.ib.get()||"";sta(a,c,M(b.h.g,7)||"");var d=b.fe,e=s6(b);b5(a.h,b.h,c,d,e)})},sta=function(a,b,c){var d=
void 0===d?!1:d;a.G.then(function(){(u6(a)||d)&&Csa(a.h,c).filter(function(e){return e.ta()===b}).forEach(function(e){S(e,M4,7).forEach(function(f){M(f,2);e.ta()})})})},qta=function(a,b){a.l.delete(b);v6(a);a.s.then(function(c){c.jm()});w6(a,function(){wt([b.onConnect,b.onDisconnect]).then(function(c){c=n(c);c.next();var d=c.next().value;c=b.h;var e=b.ib.get()||"",f=b.fe,g=s6(b),h=a.h;(d=b5(h,c,e,f,g,d))&&Esa(h,c,d)},Ma)})},v6=function(a){a.s.then(function(b){0<a.l.size?b.Ij(!0):b.Ij(!1)})},t6=function(a,
b){rta(a,function(){a.m=!0;a.j=null;var c=zt();c.promise.then(Ya(a.K,a),Ya(a.H,a,b));var d=M(a.g.g,10);if(null!=d){null!=b&&(d=or(d,"set",String(b)));var e=bw($v);e.open("GET",d,!0);e.onreadystatechange=function(){4==e.readyState&&(200==e.status?c.resolve(e.responseText):c.reject(null))};e.send(null)}else c.reject(null)})};r6.prototype.K=function(a){this.j="true"==a;x6(this)};r6.prototype.H=function(a){this.j=void 0!==a?a:u6(this);x6(this)};
var x6=function(a){a.F.resolve();null===a.C&&(a.C=a.j,a.s.then(function(b){var c=u6(a);b.h=c;b.h?(b.o.info(lta),b=b.g,b.cl=!0,p6(b)):(b.o.info(mta),b=b.g,b.cl=!1,p6(b))}),a.l.forEach(function(b){bW(b.Da,u6(a))}));a.j!=a.C&&t6(a,u6(a))},yZ=function(a,b){var c=tta(b);if(null==M(c,4)||null==M(c,5)||null==M(c,6)||0==(S(c,M4,7)||[]).length)return[];var d=a.g,e=hR(d,M(c,6));return S(c,M4,7).map(function(f){var g=R4(c,f,d);return fR(e,g,M(f,1))})},tta=function(a){var b=a.h,c=a.ib.get(),d=a.fe,e=s6(a);a=
XW(a.onDisconnect)?a.onDisconnect.get():void 0;return Q4(b,c,d,e,a)};cK(QW,r6);var y6=function(a){V.call(this);this.g=a;this.h=new eL(this);this.onChange=this.h.signal()};t(y6,V);var z6=function(a){y6.call(this,2);var b=this,c=new gN(this);this.T(c);c.listen(a,"eb",function(){b.h.R(b.onChange,b.g)})};t(z6,y6);var A6=function(){y6.call(this,4)};t(A6,y6);var B6=new bK("dm3J4d","nUMwj");var C6=new bK("tVuxC","TH1Apc",[EW,B6]);var D6=function(){y6.call(this,1);this.receive=this.send=void 0};t(D6,y6);var G6=function(a){V.call(this);this.h=new Map;this.g=new eL(this);this.onChange=this.g.signal();this.j=new D6;E6(a,EW);F6(this,this.j);a=E6(a,B6);F6(this,new z6(a));F6(this,new A6)};t(G6,V);var F6=function(a,b){Kb(!a.h.has(b.g),"Tried to add >1 caps of same type "+b.g);a.h.set(b.g,b);kV(a.g,a.onChange,b.onChange);a.g.R(a.onChange,b.g)},uta=function(a){wK(a,C6)||FK(a,C6,function(b){return new G6(b)})};
function E6(a,b){Kb(C6.g.some(function(c){return c.toString()===b.toString()}),"Tried to fetch an undeclared dependency synchronously: "+b.toString());return a.get(b)};function vta(a){var b=lZ(kZ((new dZ).sr(a.Ia()).Vp(a.Gb()).Wp(N(a,3,"")).Up(N(a,7,"")),S(a,mJ,5).map(wta)),M(a,11).map(xta)),c=R(a,nJ,8);c&&b.l(ema(dma(new fZ,N(c,1,"")),N(c,1,"")));if(a=DJ(a))mZ(b.Rp(N(a,3,"")).Xp(N(a,4,"")),S(a,kJ,12).filter(function(d){return null!=M(d,1)}).map(yta)),(a=R(a,vJ,11))&&b.Aj(ima(hma(gma(fma(new iZ,a.sg()),a.vg()),a.xg()),a.ug()));return b}
function wta(a){var b=new eZ;var c=N(a,1,"");b=P(b,1,c);c=N(a,2,"");b=P(b,2,c);c=N(a,3,"");b=P(b,3,c);a=N(a,4,"");return P(b,4,a)}function xta(a){switch(a){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 0}}function yta(a){if(null==M(a,1))return new hZ;var b=N(R(a,hJ,1),3,""),c=zta.exec(b);c=c&&2<=c.length?c[1]:"";var d=new hZ;a=P(d,1,c).setTitle(R(a,hJ,1).getTitle());return P(a,3,b)}var Ata=new Map([[1,1],[2,2],[3,3],[0,0]]),Bta=new Map([[0,0],[1,1],[2,2]]),zta=/\/d\/(.[^\/?]*)/;var H6=function(a){L(this,a,0,-1,null,null)};w(H6,J);H6.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);b=R(this,hJ,3);null!=b&&I(a,3,b,iJ);return cl(a)};H6.prototype.Ia=function(){return N(this,1,"")};var I6=function(a){L(this,a,0,-1,null,null)};w(I6,J);I6.prototype.l=function(){var a=new Zk;var b=this.Ia();0<b.length&&H(a,1,b);return cl(a)};I6.prototype.Ia=function(){return N(this,1,"")};var J6=function(a){L(this,a,0,-1,null,null)};w(J6,J);var K6=function(a){L(this,a,0,-1,Cta,null)};w(K6,J);var Cta=[1];var Dta={Yb:"AttachWhiteboard",sc:H6.prototype.l,lc:function(a){a=new Jk(a);for(var b=new J6;y(a)&&!x(a);)A(a);return b}},Eta={Yb:"ListShareableParticipants",sc:I6.prototype.l,lc:function(a){a=new Jk(a);for(var b=new K6;y(a)&&!x(a);)switch(a.g){case 1:var c=F(a);Jl(b,1,c);break;case 2:c=Kk(a);Gl(b,2,c,0);break;default:A(a)}return b}};var L6=function(a,b){this.g=b;this.h=xK(a,SW)};L6.prototype.kh=function(a,b,c){return fO(this,function e(){var f=this,g,h,m,q,r;return Ba(e,function(z){switch(z.g){case 1:f.g.logImpression(6883);var D=new hJ;g=Q(D,1,b).setTitle(c);D=new H6;D=Q(D,1,a);h=U(D,3,g);sa(z,2);return u(z,M6(f),4);case 4:return m=z.h,u(z,m.makeRequest(Dta,h),5);case 5:return q=z.h,f.g.logImpression(6881),z.return(q);case 2:throw r=ua(z),f.g.logImpression(6882),r;}})})};
L6.prototype.Kh=function(a){return fO(this,function c(){var d=this,e,f,g,h,m,q,r;return Ba(c,function(z){switch(z.g){case 1:d.g.logImpression(6908);var D=new I6;e=Q(D,1,a);return u(z,M6(d),2);case 2:return f=z.h,sa(z,3),u(z,f.makeRequest(Eta,e),5);case 5:return g=z.h,d.g.logImpression(6906),h=g.Ac,m=N(h,2,0),q=M(h,1).length,0<m&&(0===q?d.g.logImpression(7079):m===q?d.g.logImpression(7077):m>q&&d.g.logImpression(7078)),z.return(h);case 3:throw r=ua(z),d.g.logImpression(6907),r;}})})};
var M6=function(a){return fO(a,function c(){var d=this,e;return Ba(c,function(f){if(1==f.g)return u(f,d.h,2);e=f.h;return f.return(new Z_("google.rtc.meetings.v1.MeetingWhiteboardService",e.g))})})};var Fta=function(a){var b=new eL(a),c=gL(b),d=new L6(a.ka,a.fa),e=new rZ({Xb:c,kh:function(h,m){var q;return Da(function(r){return 1==r.g?u(r,a.Wb,2):3!=r.g?(q=r.h,u(r,d.kh(q,h,m),3)):r.return(!0)})},Kh:function(){var h,m;return Da(function(q){if(1==q.g)return u(q,a.Wb,2);if(3!=q.g)return h=q.h,u(q,d.Kh(h),3);m=q.h;return q.return({oP:M(m,1),hQ:N(m,2,0)})})},Aj:function(h){var m,q,r,z,D,C,K,T;return Da(function(da){switch(da.g){case 1:return u(da,a.Wb,2);case 2:m=da.h;q=new vJ;r=new d1;if(null!=M(h,
1)){var Ka=h.sg();Hl(q,1,Ka);Jl(r,1,"call_info.settings.access_lock")}null!=M(h,2)&&(Ka=h.vg(),Hl(q,2,Ka),Jl(r,1,"call_info.settings.chat_lock"));null!=M(h,3)&&(Ka=h.xg(),Hl(q,3,Ka),Jl(r,1,"call_info.settings.present_lock"));null!=M(h,4)&&(Ka=h.ug(),Hl(q,4,Ka),Jl(r,1,"call_info.settings.attendance_report_enabled"));Ka=(new lJ).l(m);var fb=new uJ;fb=U(fb,11,q);z=U(Ka,6,fb);Ka=new f1;Ka=U(Ka,1,z);D=U(Ka,2,r);return u(da,a.Na,3);case 3:return C=da.h,u(da,(new Z_("google.rtc.meetings.v1.MeetingSpaceService",
C.g)).makeRequest(g1,D),4);case 4:return K=da.h,u(da,a.F,5);case 5:return T=da.h,WN(T,parseInt(s_(K,"ETag"),10),{hk:[K.Ac]}),da.return(!0)}})}});a.F.then(function(h){var m=function(){var q=h.s();q&&(q=vta(q),b.R(c,{Ig:q,Fl:S(q,eZ,5),ek:M(q,7),CA:S(q,hZ,10)}))};h.onChange.attach(m,a);m()});var f=function(h){var m=Bta.get(h.Oi());h=(new dZ).Sp(h.Si()).Pp(m);b.R(c,{Ig:h,Fl:null,ek:null})};a.ml().then(function(h){h.onChange.attach(function(m){var q=m.nc;m.Fc.forEach(f);q.forEach(f)},a)});a.qf.then(function(){var h=
[];var m=p1(a);m=M(m,18);m.includes(1)&&h.push(1);m.includes(4)&&h.push(2);h=(new dZ).Lq(jma(h));b.R(c,{Ig:h})});var g=function(h){h=(new dZ).Qp(Ata.get(h.Pi())).Tp(h.Ti());b.R(c,{Ig:h,Fl:null,ek:null})};a.Bl().then(function(h){h.onChange.attach(function(m){var q=m.nc;m.Fc.forEach(g);q.forEach(g)},a)});return e};var Gta=function(a,b){b=Jpa(new K1,b);return(new Z_("google.rtc.meetings.v1.MeetingHandRaiseService",a.g)).makeRequest(Mpa,b).then(function(c){return parseInt(s_(c,"ETag"),10)})};var Hta=jg("realtime.meetings.call.Participants"),Sta=function(a){var b=new eL,c=b.signal(),d=b.signal(),e=Ita(a),f=a.s.get(),g=a.ha.get();f=f&&g?f.get().map(function(r){return N6(r,g)}):[];var h=new E4(f,{Xb:c,Bd:d,dm:function(r){return Jta(a,r)},em:function(r){return Kta(a,r)},Dk:function(r){return Lta(a,r)},Dd:function(r){return Mta(a,r)},accept:function(r){return Nta(a,r)},yk:function(r){return Ota(a,r)},Wl:function(r){return Pta(e,r)},Mh:function(r){return Qta(e,r)},jl:function(){return Rta(a,
e)}},a.Eb.then());h.T(b);f=new u4(a.Jb,h,jL(b,c,function(r){return P(r.clone(),12,void 0)}),a.bb,a.Eb,xK(a.ka,iR));h.T(f);var m=null;a.F.then(function(r){var z=function(C){if(C!=m){if(m){var K=h.get(m);K&&(K=K.ha,b.R(c,q4(new p4,K).Tf(!1)))}C&&(K=h.get(C))&&(K=K.ha,b.R(c,q4(new p4,K).Tf(!0)));m=C}},D=r.get()[0];D=D&&DJ(D);z(D&&D.Rc()&&N(D.Rc(),1,""));r.onChange.attach(function(C){var K=C.nc,T=C.removed;[].concat(p(C.Fc),p(K)).forEach(function(da){da=da&&DJ(da);z(da&&da.Rc()&&N(da.Rc(),1,"")||null)});
T.forEach(function(){return z(null)})})});var q=function(r,z,D){h.get(r)?b.R(c,q4(new p4,r).fq(z).cq(D)):og(Hta,"Cannot find raised hand participant: "+r)};Promise.all([a.ha,a.s]).then(function(r){r=n(r);var z=r.next().value;r=r.next().value;var D=function(C){var K=N6(C,z),T=C.ub();K.Tf(T===m);b.R(c,K);e.then(function(da){var Ka,fb,Oa;return Da(function(Ac){if(1==Ac.g)return Ka=u1(T),u(Ac,vN(da),2);fb=Ac.h;(Oa=fb.find(function(Ue){return Ue.getName()===Ka}))?q(T,Oa.Ri(),R(Oa,yF,2)?BF(R(Oa,yF,2)).getTime():
0):q(T,!1,0);Ac.g=0})})};r.onChange.attach(function(C){var K=C.nc,T=C.removed;C.Fc.forEach(D);K.forEach(function(da){return b.R(c,N6(da,z))});T.forEach(function(da){return b.R(d,N6(da,z))})},h);r.get().forEach(D)});e.then(function(r){a.onConnect.then(function(){r.start()});WW(a.onDisconnect,function(){r.dispose()});r.onChange.attach(function(z){var D=z.nc,C=z.removed;[].concat(p(z.Fc),p(D)).forEach(function(K){q(K.ub(),K.Ri(),R(K,yF,2)?BF(R(K,yF,2)).getTime():0)});C.forEach(function(K){q(K.ub(),!1,
0)})})});return h},Ita=function(a){var b,c;return Da(function(d){if(1==d.g)return u(d,a.Wb,2);b=d.h;c=Vpa(a.ka,a.h,b);return d.return(c)})},N6=function(a,b){var c=4==N(a,11,0),d=c?Tta:Uta,e=a.ub(),f=N(a,21,"");c=q4(new p4,e).Dj(f).pm(c).Sq(!!R(a,vI,20)&&!!N(R(a,vI,20),4,"")).Ql(Vta(N(a,11,0))).vj(3).Cj(!0).Vq(R(a,qI,12)&&N(R(a,qI,12),1,"")).Tl(Wta(a)).Bj(O(a,15,!1)).om(O(a,8,!1)).Wh(O(a,26,!1)).Rl(N(a,29,"")).Sl(N(a,2,"")||d).Rq(R(a,sI,14)&&2==N(R(a,sI,14),2,0)).Jq(N(a,19,""));b&&(r4(c,e===b),c.qm(f===
b));N(a,3,"")&&c.Pl(N(a,3,""));null!=M(a,14)&&c.vj(Xta(N(R(a,sI,14),3,0)));return c},Xta=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;default:return 0}},Wta=function(a){switch(CI(a)){case 1:return 5;case 2:return 10;case 3:return 6;case 4:case 11:return 2;case 9:return 8;case 10:return 9;case 6:return 7;case 7:return 3;case 8:return 4;case 13:return 11;default:return O(a,5,!1)?5:0}},Vta=function(a){switch(a){case 4:return 1;case 7:return 2;default:return 0}},Jta=function(a,
b){var c,d,e,f;return Da(function(g){return 1==g.g?!XW(a.onConnect)||XW(a.onDisconnect)?g.return(!1):u(g,a.ha.then(),2):3!=g.g?(c=g.h,d=new qI,Q(d,1,c),e=a.s.get(),f=e.ob(b),BI(f,d),u(g,zN(e,f),3)):g.return(!0)})},Kta=function(a,b){var c,d,e,f;return Da(function(g){return 1==g.g?!XW(a.onConnect)||XW(a.onDisconnect)?g.return(!1):u(g,a.ha.then(),2):3!=g.g?(c=g.h,d=new rI,Q(d,1,c),e=a.s.get(),f=e.ob(b),U(f,27,d),u(g,zN(e,f),3)):g.return(!0)})},Lta=function(a,b){var c,d,e;return Da(function(f){if(1==
f.g){if(!XW(a.onConnect)||XW(a.onDisconnect))return f.return(Promise.resolve(!1));c=a.s.get();d=c.ob(b);yI(d,7);return u(f,zN(c,d),2)}e=f.h;return f.return(1==e.length)})},Mta=function(a,b){var c,d,e,f;return Da(function(g){if(1==g.g)return!XW(a.onConnect)||XW(a.onDisconnect)?g.return(Promise.resolve(!1)):u(g,a.F,2);if(3!=g.g){c=g.h;d=new oJ;b&&Q(d,1,b);var h=c.ob(),m=(new uJ).Dd(d);e=U(h,6,m);return u(g,zN(c,e),3)}f=g.h;return g.return(1==f.length)})},Nta=function(a,b){return Da(function(c){return c.return(O6(!0,
a,b))})},Ota=function(a,b){return Da(function(c){return c.return(O6(!1,a,b))})},O6=function(a,b,c){var d,e,f,g;return Da(function(h){if(1==h.g){if(!XW(b.onConnect)||XW(b.onDisconnect))return h.return(Promise.resolve(!1));d=b.s.get();e=d.ob(c);f=a?1:4;yI(e,f);return u(h,zN(d,e),2)}g=h.h;return h.return(1==g.length)})},Pta=function(a,b){var c,d,e,f;return Da(function(g){if(1==g.g)return u(g,a,2);if(3!=g.g)return c=g.h,d=u1(b),e=c.ob(d),u(g,c.add(e),3);f=g.h;return g.return(1===f.length)})},Qta=function(a,
b){var c,d,e,f;return Da(function(g){if(1==g.g)return u(g,a,2);if(3!=g.g)return c=g.h,d=u1(b),e=c.s(d),u(g,c.remove(e),3);f=g.h;return g.return(1===f.length)})},Rta=function(a,b){var c,d,e,f,g;return Da(function(h){if(1==h.g)return u(h,Promise.all([a.Na,a.Wb,b]),2);c=h.h;d=n(c);e=d.next().value;f=d.next().value;g=d.next().value;return h.return(Gta(e,f).then(function(m){WN(g,m,{hk:[],Xw:!0});return!0}))})},Uta=chrome.i18n.getMessage("2551467977781415455"),Tta=chrome.i18n.getMessage("5734888811966502047");var Yta=function(a){var b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,NY(a),2);case 2:b=e.h;case 3:return b.j?u(e,a.Wb,6):u(e,b.Xb.next(a),3);case 6:return c=e.h,d=Tpa(a.ka,a.h,c),a.onConnect.then(function(){return void d.start()}),WW(a.onDisconnect,function(){return void d.dispose()}),d.Y.attach(function(){a.fa.logImpression(6929)},a),e.return(d)}})};var P6=function(a){L(this,a,0,-1,null,null)};w(P6,J);k=P6.prototype;k.Ey=function(){return O(this,1,!1)};k.gq=function(a){return P(this,1,a)};k.Oy=function(){return null!=M(this,1)};k.Fy=function(){return O(this,2,!1)};k.hq=function(a){return P(this,2,a)};k.Py=function(){return null!=M(this,2)};k.Gy=function(){return O(this,3,!1)};k.iq=function(a){return P(this,3,a)};k.Qy=function(){return null!=M(this,3)};k.Iy=function(){return O(this,4,!1)};k.kq=function(a){return P(this,4,a)};
k.Sy=function(){return null!=M(this,4)};k.Jy=function(){return O(this,5,!1)};k.lq=function(a){return P(this,5,a)};k.Ty=function(){return null!=M(this,5)};k.Ky=function(){return O(this,6,!1)};k.mq=function(a){return P(this,6,a)};k.Uy=function(){return null!=M(this,6)};k.Hy=function(){return O(this,7,!1)};k.jq=function(a){return P(this,7,a)};k.Ry=function(){return null!=M(this,7)};k.My=function(){return O(this,9,!1)};k.oq=function(a){return P(this,9,a)};k.Wy=function(){return null!=M(this,9)};
k.Ny=function(){return O(this,10,!1)};k.pq=function(a){return P(this,10,a)};k.Xy=function(){return null!=M(this,10)};k.uv=function(){return O(this,11,!1)};k.qr=function(a){return P(this,11,a)};k.Kw=function(){return null!=M(this,11)};k.vv=function(){return O(this,12,!1)};k.rr=function(a){return P(this,12,a)};k.Lw=function(){return null!=M(this,12)};k.Ly=function(){return O(this,13,!1)};k.nq=function(a){return P(this,13,a)};k.Vy=function(){return null!=M(this,13)};
k.ev=function(){return O(this,14,!1)};k.ar=function(a){return P(this,14,a)};k.vw=function(){return null!=M(this,14)};k.qv=function(){return O(this,15,!1)};k.lr=function(a){return P(this,15,a)};k.Gw=function(){return null!=M(this,15)};k.tv=function(){return O(this,16,!1)};k.pr=function(a){return P(this,16,a)};k.Jw=function(){return null!=M(this,16)};k.pv=function(){return O(this,17,!1)};k.kr=function(a){return P(this,17,a)};k.Fw=function(){return null!=M(this,17)};
k.ov=function(){return O(this,18,!1)};k.jr=function(a){return P(this,18,a)};k.Ew=function(){return null!=M(this,18)};k.Co=function(){return O(this,19,!1)};k.Xq=function(a){return P(this,19,a)};k.sw=function(){return null!=M(this,19)};k.mv=function(){return O(this,20,!1)};k.hr=function(a){return P(this,20,a)};k.Cw=function(){return null!=M(this,20)};k.Bo=function(){return O(this,21,!1)};k.Wq=function(a){return P(this,21,a)};k.rw=function(){return null!=M(this,21)};
k.cv=function(){return O(this,22,!1)};k.Yq=function(a){return P(this,22,a)};k.tw=function(){return null!=M(this,22)};k.kv=function(){return O(this,23,!1)};k.fr=function(a){return P(this,23,a)};k.Aw=function(){return null!=M(this,23)};k.dv=function(){return O(this,24,!1)};k.Zq=function(a){return P(this,24,a)};k.uw=function(){return null!=M(this,24)};k.gv=function(){return O(this,25,!1)};k.cr=function(a){return P(this,25,a)};k.xw=function(){return null!=M(this,25)};
k.lv=function(){return O(this,26,!1)};k.gr=function(a){return P(this,26,a)};k.Bw=function(){return null!=M(this,26)};k.nv=function(){return O(this,27,!1)};k.ir=function(a){return P(this,27,a)};k.Dw=function(){return null!=M(this,27)};k.jv=function(){return O(this,28,!1)};k.er=function(a){return P(this,28,a)};k.zw=function(){return null!=M(this,28)};k.hv=function(){return O(this,29,!1)};k.dr=function(a){return P(this,29,a)};k.yw=function(){return null!=M(this,29)};
k.fv=function(){return O(this,30,!1)};k.br=function(a){return P(this,30,a)};k.ww=function(){return null!=M(this,30)};k.rv=function(){return O(this,31,!1)};k.mr=function(a){return P(this,31,a)};k.Hw=function(){return null!=M(this,31)};k.sv=function(){return O(this,32,!1)};k.nr=function(a){return P(this,32,a)};k.Iw=function(){return null!=M(this,32)};var Z=P6.prototype,R6=function(a,b){V.call(this);var c=this;this.controller=b;this.g=new P6;this.h=new eL(this);this.Xb=this.h.signal();this.m=[pZ({has:Z.Oy,get:Z.Ey,set:Z.gq}),pZ({has:Z.Py,get:Z.Fy,set:Z.hq}),pZ({has:Z.Qy,get:Z.Gy,set:Z.iq}),pZ({has:Z.Sy,get:Z.Iy,set:Z.kq}),pZ({has:Z.Ty,get:Z.Jy,set:Z.lq}),pZ({has:Z.Uy,get:Z.Ky,set:Z.mq}),pZ({has:Z.Ry,get:Z.Hy,set:Z.jq}),pZ({has:Z.Wy,get:Z.My,set:Z.oq}),pZ({has:Z.Xy,get:Z.Ny,set:Z.pq}),pZ({has:Z.Kw,get:Z.uv,set:Z.qr}),pZ({has:Z.Lw,get:Z.vv,set:Z.rr}),
pZ({has:Z.Vy,get:Z.Ly,set:Z.nq}),pZ({has:Z.vw,get:Z.ev,set:Z.ar}),pZ({has:Z.Gw,get:Z.qv,set:Z.lr}),pZ({has:Z.Jw,get:Z.tv,set:Z.pr}),pZ({has:Z.Fw,get:Z.pv,set:Z.kr}),pZ({has:Z.Ew,get:Z.ov,set:Z.jr}),pZ({has:Z.sw,get:Z.Co,set:Z.Xq}),pZ({has:Z.Cw,get:Z.mv,set:Z.hr}),pZ({has:Z.rw,get:Z.Bo,set:Z.Wq}),pZ({has:Z.tw,get:Z.cv,set:Z.Yq}),pZ({has:Z.Aw,get:Z.kv,set:Z.fr}),pZ({has:Z.uw,get:Z.dv,set:Z.Zq}),pZ({has:Z.xw,get:Z.gv,set:Z.cr}),pZ({has:Z.Bw,get:Z.lv,set:Z.gr}),pZ({has:Z.Dw,get:Z.nv,set:Z.ir}),pZ({has:Z.zw,
get:Z.jv,set:Z.er}),pZ({has:Z.yw,get:Z.hv,set:Z.dr}),pZ({has:Z.ww,get:Z.fv,set:Z.br}),pZ({has:Z.Hw,get:Z.rv,set:Z.mr}),pZ({has:Z.Iw,get:Z.sv,set:Z.nr})];a.then(function(d){Q6(c,d);b.Xb.attach(function(e){Q6(c,e)})})};t(R6,V);var Q6=function(a,b){oZ(a.g,b,a.m)&&a.h.R(a.Xb,void 0)};ea.Object.defineProperties(R6.prototype,{Ig:{configurable:!0,enumerable:!0,get:function(){return this.g.clone()}},l:{configurable:!0,enumerable:!0,get:function(){return this.g.Co()}},j:{configurable:!0,enumerable:!0,get:function(){return this.g.Bo()}}});var Zta=function(a){var b=new eL,c=b.signal(),d=JY(),e=new R6(d.promise,{Xb:c});e.T(b);a.qf.then(function(){var f,g,h,m;return Da(function(q){if(1==q.g)return f=!1,g=function(r){r&&(r=new Set(M(r,13)),r=(new P6).gq(!0).hq(!0).iq(r.has(3)).kq(r.has(1)).lq(r.has(8)).mq(r.has(9)).jq(r.has(5)).oq(!0).pq(r.has(2)).qr(r.has(4)).rr(r.has(7)).nq(r.has(10)).ar(r.has(11)).lr(r.has(12)).pr(r.has(14)).kr(r.has(15)).jr(r.has(16)).Xq(r.has(17)).hr(r.has(18)).Wq(r.has(19)).Yq(r.has(20)).fr(r.has(21)).Zq(r.has(22)).cr(r.has(24)).gr(r.has(25)).ir(r.has(26)).er(r.has(23)).dr(r.has(28)).br(r.has(27)).mr(r.has(29)).nr(r.has(30)),
f?b.R(c,r):(f=!0,d.resolve(r)))},g(p1(a)),u(q,a.ha,2);if(3!=q.g)return h=q.h,u(q,a.s,3);m=q.h;g(m.s(h));m.onChange.attach(function(){g(m.s(h))},e);q.g=0})});return e};var $ta=function(a){var b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,NY(a),2);case 2:b=e.h;case 3:return b.l?u(e,a.Wb,6):u(e,b.Xb.next(a),3);case 6:return c=e.h,d=Upa(a.ka,a.h,c),a.onConnect.then(function(){return void d.start()}),WW(a.onDisconnect,function(){return void d.dispose()}),d.Y.attach(function(){a.fa.logImpression(6931)},a),e.return(d)}})};var S6=function(a){V.call(this);var b=this;this.o=new WQ("realtime.network.monitoring.RequestResponseMonitor");this.m=new HM(10);this.F=xK(a,ZK);this.s=xK(a,$K);this.g=null;xK(a,bL).then(function(c){b.g=c});this.h=0;this.j=new eL(this);this.l=this.j.signal();this.s.then(function(c){return c.logImpression(6660)})};t(S6,V);var aua=function(a){wK(a,$T)||FK(a,$T,function(b){return new S6(b)})},bua=l("; Request [;] ; ; (deadline=;ms, remainingRetries=;)".split(";"));
S6.prototype.onRequest=function(a){this.o.info(bua,dM(a),a.h,a.N,a.C,a.g?a.g.g:null,null!=a.j?a.j:0)};var cua=l([""," Response [","] ",""]);
S6.prototype.u=function(a,b){this.o.info(cua,dM(a),a.h,b.Rd);var c={Sf:a.m,Jg:$a(),response:b};a.s.unshift(c);c=T6(a);U6(this,"VCichb",c);c=dM(a);var d=a.m,e=$a();V6(this,c,840,d,841,e);c=dM(a);d=W6(a);e=$a();V6(this,c,843,d,844,e);this.g&&(c=(c=b instanceof aM?b.response:b)&&c.extraData)&&(a=dM(a),a=X6[a]?X6[a]:a.includes("media_sessions")?3:a.includes("media_streams")?4:a.includes("hangouts/bulk")?5:9,d=c.xz||0,e=ZT(this.g,a),e.s++,e.C+=d,e.h+=d,b=!(b instanceof aM),c=c.ey||0,a=ZT(this.g,a),b?a.u++:
a.m++,a.l+=c,a.g+=c);this.h&&(this.h=0,this.j.R(this.l,0))};var dua=l("; Error [;] ; ; (httpStatusCode=;)".split(";"));
S6.prototype.onError=function(a,b){this.o.pa(dua,dM(a),a.h,b.status,b.Cd,b.g);var c={Sf:a.m,Jg:$a(),response:b};a.s.unshift(c);c=dM(a);var d=a.m,e=$a();V6(this,c,840,d,842,e);if("retry"!=b.status||0==(null!=a.j?a.j:0))eua.has(b.Cd),this.m.add({sendTimestamp:a.m,receiveTimestamp:$a(),name:dM(a),req:fua(a),resp:Y6(b),attemptsHistory:gua(a.s)}),b=T6(a),U6(this,"oZuDyc",b),b=dM(a),a=W6(a),c=$a(),V6(this,b,843,a,845,c),this.h++,this.j.R(this.l,this.h)};
S6.prototype.search=function(a,b){b=void 0===b?10:b;b=0>b?10:b;var c=this.m.Ja().filter(function(d){return 0<=a.indexOf(d.resp.code)});return c.slice(-Math.min(c.length,b))};
var U6=function(a,b,c){a.s.then(function(d){return d.logImpression(hua[b],{xq:c})})},V6=function(a,b,c,d,e,f){var g=new wQ([iua[b]||26]);xQ(g,c,d);xQ(g,e,f);a.F.then(function(h){return LS(h,yQ(g))})},W6=function(a){var b=a.s;return 0<b.length?b[b.length-1].Sf:a.m},fua=function(a){return{name:(a.F||"")+a.C,body:Vs(Z6(a.V)),head:null==a.u?{}:a.u,httpMethod:a.N,remainRetries:null!=a.j?a.j:0}},Y6=function(a){var b=a instanceof aM?a.response:a;b={code:b&&b.Rd,body:b&&Vs(b.Mb),head:b&&b.headers};a instanceof
aM&&(b.code=a.g,b.status=a.status,b.errorType=a.Cd);return b},gua=function(a){var b=[];Qb(a,function(c){var d=Y6(c.response);b.push({Sf:(new Date(c.Sf)).toString(),Jg:(new Date(c.Jg)).toString(),response:d})});return b},Z6=function(a){if(a){if("function"===typeof a.va)return JSON.parse(a.va());if(Qa(a))return Tb(a,function(b){return Z6(b)})}return a},T6=function(a){var b=new NJ,c=a.s;P(b,1,dM(a));P(b,2,c.length);var d=[];c.forEach(function(e){e=e.response instanceof aM?e.response.g:e.response.Rd;
var f=new MJ;Nc(Yu,e)?P(f,1,e):P(f,2,jua[e||-1]||1);d.push(f)});Nl(b,3,d);return b},$6={},hua=($6.VCichb=4630,$6.oZuDyc=4631,$6),iua={"hangouts/bulk":27,"hangouts/ping":28,"media_sessions/add":29,"media_sessions/query":30,"media_sessions/modify":31,"media_sessions/log":32,"media_sessions/callperf":33,"media_streams/search":34,"media_streams/add":35,"media_streams/modify":36},a7={},jua=(a7[0]=0,a7[1]=2,a7[2]=3,a7[3]=4,a7[4]=5,a7[5]=6,a7[6]=7,a7[7]=8,a7[8]=9,a7[9]=10,a7),X6={"media_sessions/callperf":1,
"media_sessions/query":2},eua=new Set("backend bad_request network_or_frontend request_queuing response_callback response_decoding response_format processing internal_server_error service_unavailable not_found".split(" "));cK($T,S6);var b7=function(a){Lv.call(this);var b=this;this.g=null;this.fa=a;this.h=!1;this.l=null;MQ(this,{shouldConserveBattery:function(){return b.h}})};t(b7,Lv);b7.prototype.j=function(){this.l!==this.g.charging&&(this.l=this.g.charging,this.O("fb"));var a=!this.g.charging&&.1>this.g.level;this.h!=a&&(this.h=a,this.O("eb"),this.fa.logImpression(a?2805:2806))};
var kua=function(a){wK(a,B6)||FK(a,B6,function(b){var c=new b7(new cL(b));(b=navigator.getBattery?navigator.getBattery():null)&&b.then&&b.then(function(d){c.g=d;c.j();var e=new gN(c);c.T(e);e.listen(d,["chargingchange","levelchange"],c.j);c.j()});return c})};var lua=function(a){var b=void 0===b?!1:b;nla(a);Ura(a);kua(a);ota(a);a.registerService(oW,hsa);Era(a);uta(a);a.registerService(j1,Sta);Hra(a);Bsa(a);a.registerService(l1,Yta);a.registerService(k1,Zta);a.registerService(m1,$ta);aua(a);Uha(a);pia(a);nta(a);a.registerService(i1,Fta);me()&&!b?jsa(a):usa(a)};var c7=function(a,b){W.call(this,"gb");this.sessionId=a;this.g=new Map(b)};t(c7,W);var d7=null,e7=0,f7=null;function g7(){var a=d7;a&&"suspended"===a.state&&a.resume()}function mua(){if(0===e7){var a=window.AudioContext||window.webkitAudioContext;if(!a)return null;d7=new a;f7=new QV(2E3);f7.h.attach(function(){return g7()});g7();f7.start()}e7++;return d7}function nua(){--e7;0===e7&&(f7.dispose(),f7=null,d7.close(),d7=null)}function h7(a){var b=mua();if(!b)throw Error("AudioContext not supported by this browser");Rs(a,nua);return b};var i7=function(a){if("string"===typeof a){var b=Number(a);a=0==b&&td(a)?NaN:b}return 1E3>a?a/2E3:2E3>a?(a-1E3)/2E3+.5:3E3>a?(a-2E3)/2E3+1:4E3>a?(a-3E3)/2E3+1.5:6E3>a?(a-4E3)/4E3+2:1E4>a?(a-6E3)/8E3+2.5:15E3>a?(a-1E4)/1E4+3:19E3>a?(a-15E3)/8E3+3.5:22E3>a?(a-19E3)/6E3+4:32767>=a?(a-22E3)/21534+4.5:5};var j7=function(a){V.call(this);this.g=null;var b=a;tf&&(b=this.g=a.clone(),b.getAudioTracks().forEach(function(c){return c.enabled=!0}));this.m=b};t(j7,V);j7.prototype.ba=function(){this.g&&([].concat(p(this.g.getAudioTracks()),p(this.g.getVideoTracks())).forEach(function(a){a.stop()}),this.g=null);V.prototype.ba.call(this)};j7.prototype.stream=function(){return this.m};var k7=function(a){j7.call(this,a);this.j=h7(this);this.h=this.j.createAnalyser();this.h.fftSize=2048;this.l=this.j.createMediaStreamSource(this.stream());this.l.connect(this.h)};t(k7,j7);k7.prototype.ba=function(){this.l.disconnect();j7.prototype.ba.call(this)};var oua=function(a){var b=new Uint8Array(a.h.fftSize);a.h.getByteTimeDomainData(b);a=256*b.reduce(function(c,d){return Math.max(c,Math.abs(d-128))},0);return i7(a)};var pua=l(["",""]),l7=function(a,b,c){Lv.call(this);var d=this;this.M=aR(YQ(new WQ("realtime.media.audio.AudioOutput"),function(e){return e(pua,d)}));this.u=a;this.l=new gN(this);this.T(this.l);this.volume=0;this.m=b?new k7(a):null;this.T(this.m);this.D=c};t(l7,Lv);l7.prototype.toString=function(){return"AudioOutput(stream="+this.u.id+", volume="+this.volume+")"};var qua=l(["Setting requested volume to ","."]);l7.prototype.ic=function(a){this.M.info(qua,a);this.volume=a};l7.prototype.za=function(){return this.u};
l7.prototype.ba=function(){this.ic(0);Lv.prototype.ba.call(this)};var rua=l(["Rebuilding."]);l7.prototype.s=function(){this.M.info(rua)};var m7=function(a,b){W.call(this,"playing_error");this.code=a;this.message=b};t(m7,W);var n7=function(a,b,c,d,e){0===b.getAudioTracks().length&&e.logImpression(6549);l7.call(this,b,c,d);this.fa=e;this.j=a;this.h=[];a=DQ(zQ("AgRW1b"),0);this.G=Math.pow(10,-a/20);this.ic(1)};t(n7,l7);n7.prototype.toString=function(){return"HtmlAudioOutput(stream="+this.za().id+", volume="+this.volume+", elements.length="+this.h.length+")"};var sua=l(["Lowering volume to ","."]);
n7.prototype.ic=function(a){l7.prototype.ic.call(this,a);1>this.G&&(a*=this.G,this.M.info(sua,a));if(this.j){var b=Math.ceil(a)-this.h.length;if(0<b){this.M.info(tua,b);for(var c=[],d=0;d<b;++d){var e=Dg(this.j,"AUDIO");e.srcObject=this.za();c.push(e);this.l.listen(e,"playing",this.g).listen(e,"ended",this.g).listen(e,"error",this.g).listen(e,"abort",this.g)}uua(this,c)}else if(0>b)for(b=-b,this.M.info(vua,b),c=0;c<b;++c)d=this.h.pop(),lN(lN(lN(lN(this.l,d,"playing",this.g),d,"ended",this.g),d,"error",
this.g),d,"abort",this.g),d.srcObject=null,this.j.Ov(d);0<a&&(this.h[0].volume=a-(this.h.length-1))}};n7.prototype.s=function(){l7.prototype.s.call(this);var a=this.volume;this.ic(0);this.ic(a)};
var tua=l(["Adding "," elements."]),wua=l(["Audio output of the stream : "," threw a play error: ",""]),xua=l(["Audio element of the stream : "," threw a media play error: ",""]),yua=l(["Failed to set sink IDs. Error: ",""]),zua=l(["Setting audio output device is not supported in browser."]),uua=function(a,b){var c=[];b.forEach(function(d){var e=zt(),f=!1;c.push(e.promise);var g=d.play();g&&g.then(Ma,function(h){a.M.L(wua,a.za().id,h);a.O(new m7(-1,h))});Ov(function(){f||a.logImpression(5298)},15E3);
kN(a.l,d,"playing",function(){f=!0;e.resolve()});kN(a.l,d,"error",function(){a.M.L(xua,a.za().id,d.error);a.O(new m7(d.error.code,d.error.message))});a.h.push(d);a.j.appendChild(a.j.g.body,d)});wt(c).then(function(){return a.O("playing")});""!==a.D&&(tf?Dt(Aua(a,b),function(d){a.M.pa(yua,d);throw d;}):a.M.info(zua))},vua=l(["Removing "," elements."]),Bua=l(["Audio element associated with the stream : "," aborted."]),Cua=l(["Audio element associated with the stream : "," ended."]),Dua=l(["Audio element associated with the stream : ",
" threw error:",", details:",""]),Eua=l(["Audio element associated with the stream : "," started playing."]);
n7.prototype.g=function(a){"abort"==a.type?(this.M.L(Bua,this.za().id),this.logImpression(7107,void 0,this.za().id)):"ended"==a.type?(this.M.L(Cua,this.za().id),this.logImpression(7108,void 0,this.za().id)):"error"==a.type?(a=a.currentTarget,a=a.error?a.error:{code:"-1",message:"Unknown error"},this.M.L(Dua,this.za().id,a.code,a.message),this.logImpression(7109,a.code,this.za().id+": "+a.message)):"playing"==a.type&&(this.M.info(Eua,this.za().id),this.logImpression(7110,void 0,this.za().id))};
var Aua=function(a,b){b=b.map(function(c){return rt().then(function(){var d=Date.now();a.logImpression(5269,void 0,"stream id: "+a.za().id);return c.setSinkId(a.D).then(function(){a.logImpression(5270,Date.now()-d,"stream id: "+a.za().id)},function(e){a.logImpression(5124,Date.now()-d,"stream id: "+a.za().id+" "+e);e&&("TypeError"===e.name?a.logImpression(5155,void 0,""+e):"AbortError"===e.name?a.logImpression(5156,void 0,""+e):"NotFoundError"===e.name?a.logImpression(5157,void 0,""+e):"SecurityError"===
e.name&&a.logImpression(5158,void 0,""+e));throw e;})})});return wt(b).then(function(){})};n7.prototype.logImpression=function(a,b,c){this.fa.logImpression(a,{gd:b,cc:c})};var p7=function(a,b,c){Lv.call(this);var d=this;this.o=new WQ("realtime.media.audio.output.OutputManager");this.h=new gN;this.T(this.h);this.m=a;this.l=b;this.s=c;this.g=new Map;this.j=!1;this.fa=new cL(this.s);kN(this.h,xg(a.g),"click",function(){o7(d)});kN(this.h,xg(a.g),"keyup",function(){o7(d)})};t(p7,Lv);
var Fua=l(["Creating audio output for stream (id=","), ssrc (","),\n     and output device (id=",")"]),Gua=l(["Stream (id=",") with no SSRC added."]),Iua=function(a,b,c,d){var e=b.id;a.o.info(Fua,e,c,"");b=new n7(a.m,b,d,"",a.fa);a.g.set(e,{Jn:b,ssrc:c});c?(a=a.l,a.g.has(c)||a.g.set(c,[]),a.g.get(c).push(new Hua(b))):a.o.L(Gua,e);return b},Jua=l(["Attempted to remove a non-existing or already removed audio\n       stream (id=",") in output manager."]),Kua=l(["Removing audio output for stream (id=",
"), ssrc (",")."]),Lua=l(["Unusual removal of stream (id=",") which had no SSRC."]),q7=function(a,b){if(a.g.has(b)){var c=a.g.get(b),d=c.Jn;c=c.ssrc;a.o.info(Kua,b,c);c?Mua(a.l,c,d):a.o.L(Lua,b);a.g.delete(b);Ss(d)}else a.o.L(Jua,b)},Nua=l(["Rebuilding audio output (streamId=",") to unblock playback."]),o7=function(a){a.j||(a.j=!0,a.g.forEach(function(b,c){b=b.Jn;a.o.info(Nua,c);b.s()}))};var r7=function(){this.g=new Map};r7.prototype.smooth=function(a){for(var b=this,c=n(this.g.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)||this.g.delete(d);a.forEach(function(e,f){var g=b.g.get(f);void 0!==g&&(e.volume=.75*e.volume+.25*g);b.g.set(f,e.volume)})};var s7=function(a){this.g=a};s7.prototype.Md=function(a){var b=this.g;if(b=b.u?Array.from(new Int32Array(b.g.HEAP32.buffer,b.g._GetEchoHistogram(),b.g._GetEchoHistogramSize())):null){a=n(EG(a));for(var c=a.next();!c.done;c=a.next())if(c=c.value,1===JG(c)&&0===KG(c)){var d=Array.from(b);P(c,153,d||[]);P(c,154,5);P(c,155,324163804)}}};var t7=function(a){this.g=0;this.h=new Map([[0,0],[1,4],[2,a?2:1],[3,1073741824],[4,1073741824]])};t7.prototype.Md=function(a){a=n(EG(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,2===JG(b)&&0===KG(b)){var c=this.h.get(this.g),d=R(b,pG,196)||new pG;c=P(d,1,c);U(b,196,c)}};var fW=["O","N"],u7=function(a,b){var c=void 0===b?{}:b;b=void 0===c.fA?1100:c.fA;var d=void 0===c.gA?400:c.gA,e=void 0===c.jA?500:c.jA,f=void 0===c.kA?300:c.kA,g=c.Kt,h=c.iy;c=void 0===c.pu?50:c.pu;gN.call(this);this.D=a;this.G=b;this.H=d;this.K=e;this.V=f;this.s=g;this.Hg=h;this.F=c;this.o=new WQ("realtime.media.api.webrtc.PassiveListener");this.g=!1;this.l=g;this.h=this.j=null};t(u7,gN);u7.prototype.ba=function(){Pv(this.j);gN.prototype.ba.call(this)};var Oua=l([""," listener mode is enabled."]);
u7.prototype.m=function(){var a=this,b=this.h.Vb()||this.h.Yk();b!==this.g&&(this.g=b,Pv(this.j),this.j=Ov(function(){a.o.L(Oua,a.g?"Passive":"Active");a.u()},this.g?this.G:this.H))};var Pua=l(["Finish transition to\n          "," listener mode."]);u7.prototype.u=function(){var a=Math.min(Math.max(this.l+(this.g?1:-1)*this.F,this.s),this.Hg);this.l=a;this.D(a);(this.g?this.l>=this.Hg:this.l<=this.s)?(this.j=null,this.o.L(Pua,this.g?"passive":"active")):this.j=Ov(this.u,this.g?this.K:this.V,this)};var v7={audio:"a",video:"v",data:"d",application:"d"};var w7=function(a,b){b=void 0===b?{}:b;this.l=a;this.j=b;this.m=[];this.G=new Set;this.u="ICE";this.s="full";this.C=null},x7=function(a){if(a.C)return a.C;var b=Math.pow(2,53)*Math.random(),c=[];c.push(new pR("v","0"));c.push(new pR("o","- "+b+" 2 IN IP4 127.0.0.1"));c.push(new pR("s","-"));c.push(new pR("t","0 0"));b=a.j.Nr?Qua(a):Rua(a);0<a.m.length&&c.push(a.g.apply(a,["group","BUNDLE"].concat(p(a.m))));c.push(a.g("ice-options","trickle"));c.push.apply(c,p(Sua(a,a.u,a.s)));c.push(a.g("msid-semantic",
"WMS","*"));c=new yR(c);a.C=new zR(c,b);return a.C},Rua=function(a){return[a.l.ya,a.l.ra,a.l.ab].filter(function(b){return null!=b}).map(function(b,c){var d=vP(b),e=mP(b);a.h&&(e=a.h.media[c].g.get("mid").g);return y7(a,b.h,e,d,[],!0,!0)})},Qua=function(a){var b=a.h?a.h.media:[],c=a.j.ep||Tua(a),d=!!a.j.ep,e=!!a.j.ep,f=!1,g=[];c.forEach(function(h,m){var q=h.send,r=h.receive,z=h.type,D=h.stream;h=h.mid;var C=[];a.h||"a"!==z||d||(d=r=!0);a.h||"v"!==z||e||(e=r=!0,a.j.Kx&&C.push.apply(C,p(a.j.Kx)));
"d"!==z||f||(f=r=q=!0);if(b[m]&&b[m].Eh){var K=b[m];r=!0;K.g.get("rid").forEach(function(T,da){"send"===T.g&&C.push(da)})}a.h?b[m]&&b[m].bl&&(q=!0):q=q||!!D;D=D?[D]:[];h||a.h||(h="mid_"+m);g.push(y7(a,z,h,D,C,q,r))});return g},Tua=function(a){var b=Uua(a,a.l),c=a.D?a.D.media:[],d=[];c.forEach(function(r){var z=v7[r.mediaType];r=r.g.get("mid").g;d.push({type:z,mid:r,send:!1,receive:!1,stream:null})});var e=Vua(c),f=Wua(c,a.h);if(a.h){c=a.h;for(var g=0;g<c.media.length;g++){var h=c.media[g],m=h.g.get("mid").g;
if(g<d.length)d[g].mid=m;else{var q=v7[h.mediaType];d.push({type:q,mid:m,send:!1,receive:!1,stream:null});h.bl&&(h=f.get(q)||[],f.set(q,[].concat(p(h),[g])))}}}b.forEach(function(r){var z=r.type,D=(r=r.stream)&&(r.j||r.Ue);if(D&&(D=e.get(D),void 0!==D)){d[D].stream=r;return}(D=f.get(z))&&0<D.length?(z=D.shift(),d[z].stream=r):a.h||d.push({type:z,stream:r,mid:null,send:!1,receive:!1})});return d},Uua=function(a,b){var c=[];b=[b.ya,b.ra,b.ab];a=Math.max.apply(Math,[a.h?0:1].concat(p(b.map(function(e){return vP(e).length}))));
for(var d={ag:0};d.ag<a;d={ag:d.ag},d.ag++)b.forEach(function(e){return function(f){var g=vP(f)[e.ag];f=f.h;(g||0===e.ag)&&c.push({type:f,stream:g})}}(d));return c},Xua=function(a,b){a=a.l;switch(b){case "a":return a.ya;case "v":return a.ra;case "d":return a.ab;default:Mb()}},Yua=function(a,b,c){b=[new pR("m",new oR(Sc(v7)[b],"0","RTP/SAVPF",["0"])),new pR("c","IN IP6 ::"),a.g("inactive")];c&&b.push(a.g("mid",c));return new xR(b)},y7=function(a,b,c,d,e,f,g){var h=Xua(a,b),m=a.l.g,q=kc(a.l.h),r=!f&&
!g;pf&&r&&(c=null);c&&!a.m.includes(c)&&a.m.push(c);if(r)return Yua(a,b,c);r=[];var z=Sc(v7)[b],D=jP(h),C=h.g,K="RTP/SAVPF";m&&m.g&&(K=C?"DTLS/SCTP":"UDP/TLS/RTP/SAVPF");var T="DTLS/SCTP"===K?[C.Hb()]:D.map(function(da){return da.Ae.toString()});r.push(new pR("m",new oR(z,"9",K,T)));z="inactive";f&&g?z="sendrecv":g?z="recvonly":f&&(z="sendonly");r.push.apply(r,p(Zua(a,c,z)));r.push.apply(r,p($ua(a,m)));r.push.apply(r,p(ava(a,q)));r.push.apply(r,p(bva(a,h,g)));r.push.apply(r,p(cva(a,D,b,dva(kP(h)))));
(b=h.Gf())&&r.push.apply(r,p(eva(b)));0<e.length&&r.push.apply(r,p(z7(a,"recv",e)));r.push.apply(r,p(C?[a.g("sctpmap",C.Hb().toString(),C.getName(),C.g.toString())]:[]));r.push.apply(r,p(fva(a,d)));return new xR(r)};w7.prototype.g=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return new pR("a",new nR(a,c.join(" ")))};
var Zua=function(a,b,c){var d=[];d.push(new pR("c","IN IP6 ::"));d.push(a.g("rtcp","9","IN IP6 ::"));d.push(a.g("rtcp-mux"));b&&d.push(a.g("mid",b));d.push(a.g(c));a=Tb(a.j.DA||[],function(e){return this.g("x-google-flag",e)},a);d.push.apply(d,p(a));return d},$ua=function(a,b){var c=b&&b.h||"123456789012345678901234",d=[];d.push(a.g("ice-ufrag",b&&b.j||"1234567890123456"),a.g("ice-pwd",c));b&&(a.u=b.vb(),a.s=b.s);b&&b.g&&(d.push(a.g("fingerprint",b.g)),d.push(a.g("setup",a.h?b.C:"actpass")));return d},
Sua=function(a,b,c){if("ICE"==b){if("lite"==c)return[a.g("ice-lite")]}else Mb("google-ice is no longer supported.");return[]},ava=function(a,b){var c;0<b.length&&(c=b[0]);return null!=c?[a.g("crypto",c.h.toString(),c.g,c.j)]:[]},bva=function(a,b,c){return kP(b).map(function(d){var e=d.id.toString();if(d.uri.includes("rtp-stream-id"))if(!a.h||c)e+="/recvonly";else return null;return a.g("extmap",e,d.uri)}).filter(function(d){return null!=d})},cva=function(a,b,c,d){var e=[];b.forEach(function(f){var g=
f.Ae.toString(),h=f.getName(),m=f.h;if("v"===c||"d"===c)m=9E4;h=h+"/"+m;"a"===c&&1<(f.g||0)&&(h+="/"+f.g);e.push(a.g("rtpmap",g,h));h=f.ze;if(void 0!==Jc(h)){var q=[];Fc(h,function(r,z){z&&r&&q.push(z+"="+r)});h="";0<q.length&&(h=q.join("; "));e.push(a.g("fmtp",g,h))}"a"===c&&!a.h&&f.m&&e.push(a.g("rtcp-fb",g,"nack"));if(MO(f,"vp8")||MO(f,"vp9")||MO(f,"h264"))e.push(a.g("rtcp-fb",g,"ccm fir"),a.g("rtcp-fb",g,"nack"),a.g("rtcp-fb",g,"goog-remb")),d&&e.push(a.g("rtcp-fb",g,"transport-cc"));MO(f,"opus")&&
d&&e.push(a.g("rtcp-fb",g,"transport-cc"))});return e},eva=function(a){var b=[];a=a.g;-1!=a&&b.push(new pR("b","AS:"+a));return b},fva=function(a,b){var c=[];b.forEach(function(d){if(!td(De(d.Ue))){var e=d.Ea(),f=d.Ue,g=d.j?d.j:f;a.j.Nr&&c.push(a.g("msid",f+" "+g));a.G.add(f);var h=kc(d.C).map(function(q){return a.g.apply(a,["ssrc-group",q.g].concat(p(q.Qa())))});c.push.apply(c,p(h));if(d.h&&0<d.h.Ve().length){var m=d.h;h=m.Eh?"send":"recv";m=m.Ve().reverse();c.push.apply(c,p(z7(a,h,m)))}d.Qa().forEach(function(q){c.push(a.g("ssrc",
q.toString(),"cname:"+e));c.push(a.g("ssrc",q.toString(),"msid:"+f+" "+g))})}});return c},z7=function(a,b,c){var d=c.map(function(f){return a.g("rid",f,b)}),e=!pf||!hq(68);return 0<d.length?(c=a.g("simulcast",b,(e?"rid=":"")+c.join(";")),[].concat(p(d),[c])):[]};ea.Object.defineProperties(w7.prototype,{F:{configurable:!0,enumerable:!0,set:function(a){this.D=a;this.C=null}},H:{configurable:!0,enumerable:!0,set:function(a){this.h=a;this.C=null}}});
function dva(a){return(tf&&hq(59)||uf&&CQ(zQ("AepsRe")))&&a.some(function(b){return b.uri.includes("http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions")})}function Vua(a){var b=new Map;a.forEach(function(c,d){c=c.g.get("msid");c.h&&(c=n(c.g.split(" ")),c.next(),c=c.next().value,b.set(c,d))});return b}
function Wua(a,b){var c=new Map;a.forEach(function(d,e){if(!(d.g.get("msid").h||b&&b.media[e]&&!b.media[e].bl)){d=v7[d.mediaType];var f=c.get(d)||[];c.set(d,[].concat(p(f),[e]))}});return c};function A7(a,b){var c=void 0===c?{}:c;a=new w7(a,c);a.F=void 0===b?null:b;return x7(a)}
function gva(a){var b=a.g,c=a.m,d=a.l,e=a.Hb(),f=a.D,g=a.G,h=a.h,m=a.j;a=[a.u,b,c.toLowerCase(),a.s,d,e,"typ",Sc(mR)[h]];switch(h){case "LOCAL":"TCP"==c&&a.push("tcptyp","active");break;case "STUN":case "RELAY":case "PEER_REFLEX":f&&g&&a.push("raddr",f,"rport",g);break;default:Mb("Unexpected candidate type: "+h)}a.push("generation",m);return new RTCIceCandidate({sdpMLineIndex:0,candidate:"candidate:"+a.join(" ")})};var E7=function(a){Lv.call(this);var b=this;this.h=hva(this,a);this.o=new WQ("realtime.media.api.webrtc.PeerConnection");this.g=iva(this);this.l=zt();this.j=new Map;this.g.onicecandidate=this.s.bind(this);tf&&(this.g.onaddstream=function(c){(c=c.stream)&&b.O(new B7(c,c.id))},this.g.onremovestream=function(c){if(c=c.stream)b.O(new C7(c,c.id)),D7(c)});this.m=jva(this)};t(E7,Lv);
E7.prototype.ba=function(){uf?this.g.getSenders().forEach(function(a){return a.track&&a.track.stop()}):this.g.getRemoteStreams().forEach(function(a){return D7(a)});this.close();Lv.prototype.ba.call(this)};
var jva=function(a){var b,c;return Da(function(d){if(tf)return d.return();a.g.addTransceiver("audio",{direction:"sendonly",streams:[new MediaStream]});b=a.g.addTransceiver("video",{direction:"sendonly",streams:[new MediaStream]});if(!a.h.Xf||uf||tf)return d.cb(0);c=[{rid:"f"},{rid:"h",scaleResolutionDownBy:2},{rid:"q",scaleResolutionDownBy:4}];return u(d,b.sender.setParameters({encodings:c}),0)})},kva=l(["Creating new PeerConnection with config= ",", constraints= ",""]),lva=l(["Creating new PeerConnection with config=",
""]),iva=function(a){var b=a.h.Oo;pf&&0<b.length&&(b[0].urls=b[0].urls.slice(0,2));b={iceServers:b,bundlePolicy:"max-bundle"};var c=RTCPeerConnection||webkitRTCPeerConnection;if(tf){var d={mandatory:{RtpDataChannels:!1,DtlsSrtpKeyAgreement:!0},optional:[{googHighStartBitrate:!0},{googHighBitrate:!0},{googPayloadPadding:!0},{googSkipEncodingUnusedStreams:!0},{googScreencastMinBitrate:100},{googVeryHighBitrate:!0}]};a.h.Lm?(d.optional.push({googCpuOveruseDetection:!0}),d.optional.push({googCpuOveruseEncodeUsage:!0}),
d.optional.push({googCpuUnderuseThreshold:55}),d.optional.push({googCpuOveruseThreshold:85})):d.optional.push({googCpuOveruseDetection:!1});null==a.h.Ie&&null==a.h.De||d.optional.push({googDscp:!0});b.sdpSemantics=tf?"plan-b":"unified-plan";a.o.info(kva,Vs(b),Vs(d))}else a.o.info(lva,Vs(b));return new c(b,d)},mva=l(["Misconfigured DSCP priorities: Video priority > Audio."]),hva=function(a,b){return"high"!=b.Ie&&"high"==b.De?(a.o.pa(mva),dS(cS(b,null),null)):b},G7=function(a,b,c){c||(c={});null==c.id&&
(F7+=2,c.id=F7);return a.g.createDataChannel(b,c)};E7.prototype.close=function(){"closed"!=this.g.signalingState&&this.g.close();Hv(this.g);this.g.onicecandidate=null;this.g.oniceconnectionstatechange=null;this.g.onaddstream=null;this.g.onremovestream=null;this.g.ondatachannel=null};
var nva=function(a,b){var c,d;return Da(function(e){if(tf)return a.g.addStream(b),e.cb(0);c=b.getTracks()[0];d=a.g.getTransceivers().find(function(f){return("sendonly"==f.direction||"sendrecv"==f.direction)&&f.receiver.track.kind==c.kind});return u(e,d.sender.replaceTrack(c),0)})},ova=function(a,b){if(tf)a.g.removeStream(b);else{var c=b.getTracks()[0];a.g.getTransceivers().find(function(d){return d.sender.track==c}).sender.replaceTrack(null)}},H7=function(a){return a.g.getReceivers?a.g.getReceivers():
[]},pva=function(a){return a.g.getSenders?a.g.getSenders():[]},qva=l(["RTCIceCandidate.candidate had no value."]);E7.prototype.s=function(a){if(a=a.candidate)a.candidate?(a=Wfa(a.candidate),this.O(new I7(a))):this.o.L(qva)};
var rva=l(["createOffer Failed"]),sva=function(a,b){var c,d,e;return Da(function(f){switch(f.g){case 1:return u(f,a.m,2);case 2:return sa(f,3),u(f,a.g.createOffer(b),5);case 5:return c=f.h,d=BR(c.sdp),a.l.resolve(tf&&hq(74)?d.session.sessionId:a.g.id),f.return(d);case 3:throw e=ua(f),ZQ(a.o,e).pa(rva),e;}})};E7.prototype.getStats=function(){var a=this;return Da(function(b){return 1==b.g?u(b,a.g.getStats(),2):b.return(b.h)})};
var tva=function(a){return Da(function(b){return b.return(new Promise(function(c){return a.g.getStats(c)}))})},uva=l(["addIceCandidate Failed: ",""]),J7=function(a,b){b=gva(b);b=rt(a.g.addIceCandidate(b));Dt(b,function(c){a.o.L(uva,c)});return b},vva=l(["setLocalDescription took: ","ms"]),wva=l(["setLocalDescription failed after ","ms"]),xva=l(["The current signalingState is : ",""]),yva=ia(["The offending SDP was: \n ",""],["The offending SDP was: \\n ",""]),K7=function(a,b){var c,d,e;return Da(function(f){if(1==
f.g)return c=new RTCSessionDescription({type:"offer",sdp:AR(b)}),d=Y().g,sa(f,2),u(f,a.g.setLocalDescription(c),4);if(2!=f.g)return a.o.info(vva,Y().g-d),ta(f,0);e=ua(f);ZQ(a.o,e).L(wva,Y().g-d);a.o.L(xva,a.g.signalingState);a.o.L(yva,c.sdp);f.g=0})},zva=l(["setLocalDescription took: ","ms"]),Ava=l(["setRemoteDescription failed after ","ms"]),Bva=l(["The current signalingState is : ",""]),Cva=ia(["The offending SDP was: \n ",""],["The offending SDP was: \\n ",""]),Eva=function(a,b){var c,d,e;return Da(function(f){switch(f.g){case 1:return c=
new RTCSessionDescription({type:"answer",sdp:AR(b)}),d=Y().g,sa(f,2),u(f,a.g.setRemoteDescription(c),4);case 4:a.o.info(zva,Y().g-d);ta(f,3);break;case 2:throw e=ua(f),ZQ(a.o,e).L(Ava,Y().g-d),a.o.L(Bva,a.g.signalingState),a.o.L(Cva,c.sdp),e;case 3:Dva(a,b),f.g=0}})},Dva=function(a,b){if(a.g.getTransceivers){var c=new Map;b.media.forEach(function(e){var f=e.g.get("mid").g;f&&(e=e.g.get("msid"),e.h&&(e=n(e.g.split(" ")).next().value,c.set(f,e)))});var d=new Map(a.j);a.g.getTransceivers().forEach(function(e){var f=
e.mid;e=e.receiver.track;e.enabled&&f&&(f=c.get(f))&&(a.j.has(f)?d.delete(f):(e=new MediaStream([e]),a.j.set(f,e),a.O(new B7(e,f))))});d.forEach(function(e,f){a.j.delete(f);a.O(new C7(e,f))})}},I7=function(a){W.call(this,"ib");this.candidate=a};t(I7,W);var B7=function(a,b){W.call(this,"jb");this.stream=a;this.g=b};t(B7,W);var C7=function(a,b){W.call(this,"kb");this.stream=a;this.g=b};t(C7,W);
var D7=function(a){return[].concat(p(a.getAudioTracks()),p(a.getVideoTracks())).forEach(function(b){return b.stop()})},F7=0;function L7(a){return a.Xf&&a.Gn};var M7=function(){this.h=new Set;var a=Math.max(void 0===a?2:a,2);var b=Math.min(void 0===b?4294967295:b,4294967295);a>b&&(a=2,b=4294967295);this.g=a;this.j=b},N7=function(a){for(var b=a.j-a.g+1,c=Math.floor(a.g+b*Math.random()),d=0;a.h.has(c);)if(c<a.j?++c:c=a.g,++d>=b)return null;a.h.add(c);return c};var O7=function(a,b,c){this.ca=a;this.g=b;this.fa=c;this.o=new WQ("realtime.media.api.webrtc.PeerNegotiator");this.l=this.Bf=null;this.D=0;this.u=this.Ce=this.pg=null;this.h=[];this.C=[];this.m=this.s=!1;this.j=[];this.F=!0},Fva=l(["Negotiation (id=","): Starting."]),Gva=l(["Negotiation (id=","): Successfully completed in ","ms."]),Iva=function(a){var b,c,d,e,f,g,h;return Da(function(m){switch(m.g){case 1:b=a.D++;c=a.F;a.F=!1;d=a.u;e=Y().g;a.o.info(Fva,b);f=!0;if(!c){m.cb(2);break}f=a.Ce;if(tf){m.cb(2);
break}g=GP(CP(FP(d,uP(rP(d.ya,[]),[])),uP(rP(d.ra,[]),[])),uP(rP(d.ab,[]),[]));return u(m,P7(a,b,g),4);case 4:f=!0;case 2:if(!f){m.cb(5);break}return u(m,Hva(a,b,d),5);case 5:return u(m,P7(a,b,d),7);case 7:h=Y().g-e,a.o.info(Gva,b,h),m.g=0}})},Hva=function(a,b,c){var d,e,f,g,h;return Da(function(m){switch(m.g){case 1:d=a.ca;sa(m,2);e=null;f=a.m;a.m=!1;g=!tf||f;if(!g){m.cb(4);break}return u(m,Jva(a,c,f),5);case 5:e=m.h;case 4:if(f){var q=CR(e);a.Ce=HP(a.localDescription,q.g)}a.Ce&&(a.pg=a.Ce,a.Ce=
null);e=tf?A7(a.pg,a.Bf):Q7(a,e);R7(a);return u(m,K7(d,e),6);case 6:a.Bf=e;ta(m,0);break;case 2:throw h=ua(m),S7(a,"Failed to create or set local offer.",b,h),h;}})},Q7=function(a,b){!tf&&(uf||tf)&&a.g.Xf&&(b=Kva(b));tf&&hq(83)&&CQ(zQ("KXe7n"))&&(b=Lva(a,b));return b},Kva=function(a){var b=new M7;a.media.forEach(function(c,d){if("video"==c.mediaType&&c.Eh&&!c.g.get("ssrc-group").get("SIM").h){var e=c.g.get("ssrc-group").get("FID").g.split(" "),f=Array.from(c.C),g=[e[0],N7(b),N7(b)],h=[e[1],N7(b),
N7(b)];f.push(qR("a=ssrc-group:SIM "+g.join(" ")));var m=c.g.get("ssrc").get(e[0]).m;g.forEach(function(q,r){var z=h[r];0<r&&(f.push(qR("a=ssrc-group:FID "+q+" "+z)),m.forEach(function(D){f.push(qR("a=ssrc:"+q+" "+D))}),m.forEach(function(D){f.push(qR("a=ssrc:"+z+" "+D))}))});a.media[d]=new xR(f)}});return a},Mva=l(["Cannot add abs-capture-time RTP header extension, ID has ran out."]),Lva=function(a,b){var c=null,d=Array(15).fill(!0);d[0]=!1;b.media.forEach(function(f){"video"!=f.mediaType&&"audio"!=
f.mediaType||f.g.get("extmap").forEach(function(g,h){g=g.g;h=n(Fe(h,"/",2));var m=h.next().value;h.next();d[parseInt(m,10)]=!1;"http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time"===g&&null===c&&(c=m)})});if(null!==c)return b;var e=d.findIndex(function(f){return!0===f});if(-1===e)return a.o.L(Mva),b;b.media.forEach(function(f,g){if("video"==f.mediaType||"audio"==f.mediaType)f=Array.from(f.C),f.push(qR("a=extmap:"+e.toString()+" http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time")),
b.media[g]=new xR(f)});return b},P7=function(a,b,c){var d,e,f,g,h;return Da(function(m){if(1==m.g){sa(m,2);c=Nva(a,c);d=a.l;f=(e=a.g.Lr)?["conference"]:[];var q={DA:f,Nr:!tf||!1};q=void 0===q?{}:q;q=new w7(c,q);q.H=a.Bf;q.F=void 0===d?null:d;g=x7(q);return u(m,Ova(a,g),4)}if(2!=m.g)return ta(m,0);h=ua(m);S7(a,"Failed to create or set remote answer.",b,h);throw h;})},Pva=l(["Creating initial offer."]),Qva=l(["Initial offer successfully created."]),Sva=function(a,b){var c,d;return Da(function(e){if(1==
e.g)return a.o.info(Pva),u(e,T7(a,0,0,!1),2);if(3!=e.g){c=e.h;c=Q7(a,c);a.o.info(Qva);d=Rva(a,c,b);if(tf)return a.Ce=d,e.cb(3);a.fa.g(6161);a.Bf=c;a.pg=d;R7(a);return u(e,K7(a.ca,c),3)}return e.return(d)})},Tva=l(["Queueing setting of the initial local description."]),Uva=l(["Generating initial local offer SDP."]),Vva=l(["Setting initial local offer."]),Wva=l(["Initial local offer set successfully."]),Xva=function(a){if(!tf)return Promise.resolve();a.o.info(Tva);return U7(a,function(){var b,c,d,e;
return Da(function(f){switch(f.g){case 1:b=a.ca;c=a.localDescription;a.Ce=null;a.pg=c;a.o.info(Uva);if(tf){d=A7(c);f.cb(2);break}return u(f,T7(a,0,0,!1),3);case 3:d=f.h;case 2:return e=d,e=Q7(a,e),a.Bf=e,a.o.info(Vva),R7(a),u(f,K7(b,e),4);case 4:a.o.info(Wva),f.g=0}})})},Yva=function(a,b){a.u=b;return V7(a)},Zva=function(a,b,c){var d=a.localDescription;0<b.length&&(b=rP(d.ya,b),d=FP(d,b));0<c.length&&(c=rP(d.ra,c),d=CP(d,c));a.Ce=d;return V7(a)},$va=l(["Queueing negotiation."]),awa=l(["Skipping negotiation since remote description has been set yet."]),
V7=function(a){if(a.u)return a.o.info($va),U7(a,function(){return Iva(a)});a.o.info(awa);return Promise.resolve()},bwa=function(a,b){var c=a.ca;c.g.remoteDescription&&c.g.remoteDescription.sdp?(R7(a),b.forEach(function(d){return J7(c,d)})):a.j.push.apply(a.j,p(b))},cwa=l(["Cancelling "," pending negotiation(s)."]);
O7.prototype.cancel=function(){this.o.info(cwa,this.h.length);this.C.forEach(function(a){return a.reject(new W7("Negotiations cancelled due to cancel() call."))});this.h.length=0;this.C.length=0};
var U7=function(a,b){var c;return Da(function(d){if(!tf&&0<a.h.length)return d.return(a.C[0].promise);c=zt();a.h.push(b);a.C.push(c);X7(a);return u(d,c.promise,0)})},X7=function(a){var b,c,d;Da(function(e){switch(e.g){case 1:if(0===a.h.length||a.s)return e.return();b=a.h.shift();c=a.C.shift();a.s=!0;sa(e,2,3);return u(e,b(),5);case 5:c.resolve();case 3:e.F=[e.j];e.m=0;e.l=0;a.s=!1;X7(a);va(e);break;case 2:d=ua(e),c.reject(d),e.cb(3)}})},dwa=l(["Adding "," pending ICE candidates after setRemoteDescription."]),
Ova=function(a,b){return Da(function(c){if(1==c.g)return R7(a),u(c,Eva(a.ca,b),2);a.l=b;0<a.j.length&&(a.o.info(dwa,a.j.length),R7(a),a.j.forEach(function(d){return J7(a.ca,d)}),a.j.length=0);c.g=0})},Jva=function(a,b,c){var d,e,f;return Da(function(g){return 1==g.g?(e=d=1,tf||(d=vP(b.ya).length,e=vP(b.ra).length,f=new Set([].concat(p(vP(b.ya)),p(vP(b.ra))).map(function(h){return h.Ue})),a.l.media.forEach(function(h){if("inactive"!==h.j){var m=h.g.get("msid");if(m.h){m=n(m.g.split(" "));var q=m.next().value;
m.next();f.has(q)||("audio"===h.mediaType?d++:"video"===h.mediaType&&e++)}}})),u(g,T7(a,d,e,c),2)):g.return(g.h)})},ewa=l(["Creating a local offer (isIceRestart=",")."]),T7=function(a,b,c,d){var e,f,g,h,m,q,r,z,D,C,K;return Da(function(T){if(1==T.g){a.o.info(ewa,d);R7(a);e={};if(tf)e.offerToReceiveAudio=!0,e.offerToReceiveVideo=!0;else{f=a.ca.g;g=f.getTransceivers();h=b;m=c;tf&&!hq(86)&&0<c&&m++;q=n(g);for(r=q.next();!r.done;r=q.next())z=r.value,z.stopped||"sendrecv"!==z.direction&&"recvonly"!==z.direction||
(D=z.receiver.track,"audio"===D.kind?h--:"video"===D.kind&&m--);for(C=0;C<h;C++)f.addTransceiver("audio",{direction:"recvonly"});for(K=0;K<m;K++)f.addTransceiver("video",{direction:"recvonly"})}d&&(e.iceRestart=!0);return u(T,sva(a.ca,e),2)}return T.return(T.h)})},fwa=l(["Creating the initial local description from the offer SDP."]),gwa=l(["RTX is enabled, but offer does not contain RTX codec."]),Rva=function(a,b,c){a.o.info(fwa);b=CR(b);var d=a.g.Gf();d&&(b=CP(b,b.ra.Sm(d)));c=c(b);b=GP(CP(FP(b,
tP(rP(b.ya,nP(c.ya)),!0)),tP(rP(b.ra,nP(c.ra)),!0)),tP(rP(b.ab,nP(c.ab)),!0));c=jP(b.ra);c=hwa(c);var e=c.findIndex(function(f){return sd(f.getName(),"rtx")});a.g.Rg&&-1==e&&a.o.L(gwa);c=iwa(a,c);a.g.ji&&tf&&(c=c.map(function(f){return QO(new NO(f),"useadaptivelayering_v2","true").ia()}));L7(a.g)&&(c=c.map(function(f){return QO(new NO(f),"useadaptivelayering","true").ia()}));d&&0<c.length&&tf&&(e=c[0],d=d.h,-1!=d&&(e=QO(new NO(e),"x-google-min-bitrate",d.toString()).ia()),c[0]=e);b=CP(b,oP(b.ra,c));
b=jwa(b);a.g.Km||(b=CP(b,null));a.g.Jm||(b=GP(b,null));return b},kwa=l(["Altering remote description (",")."]),lwa=l(["No DTLS role specified, defaulting to passive."]),Nva=function(a,b){a.o.info(kwa,"answer");var c=a.pg;b=b.ab.g?GP(b,rP(b.ab,[])):mwa(b);if(b.g.g){var d=b.g.C;d||(a.o.L(lwa),d="passive");b=HP(b,AP(b.g,d))}d=b.ra&&jP(b.ra)||[];d=0<d.length&&MO(d[0],"vp9");c=nP(c.ra).some(function(e){return!e.If()});if(c=d&&c)a.g.hm||a.g.rg?a=!0:(a.fa.logImpression(5770),a=!1),c=!a;c&&(b=CP(b,xP(b.ra,
"vp8")));return b},jwa=function(a){if(!(tf&&hq(59)||uf&&CQ(zQ("AepsRe")))){var b=a.ya,c=a.ra;b=qP(b,kP(b).filter(function(d){return"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"!==d.uri}));c=qP(c,kP(c).filter(function(d){return"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"!==d.uri}));a=FP(a,b);a=CP(a,c)}CQ(zQ("fpSHtb"))&&(b=a.ra,b=qP(b,kP(b).filter(function(d){return"urn:3gpp:video-orientation"!==d.uri})),a=CP(a,b));return a},Y7=function(a){var b=
function(c,d){return c.some(function(e){return e.Ae==d})};return a.filter(function(c,d,e){return!sd(c.getName(),"rtx")||b(e,"apt"in c.ze?c.ze.apt:null)})},hwa=function(a){var b=function(c){return Hc(c.ze,function(d,e){return sd(e,"packetization-mode")&&"1"===d})};a=a.filter(function(c,d,e){var f=!0;e.forEach(function(g,h){h!=d&&g.getName()==c.getName()&&sd(c.getName(),"H264")&&(f=f&&b(c))});return f});return Y7(a)},iwa=function(a,b){b=b.filter(function(c){return sd(c.getName(),"vp8")||sd(c.getName(),
"h264-svc")||a.g.Rg&&sd(c.getName(),"rtx")||a.g.tg()&&sd(c.getName(),"vp9")||a.g.Fk()&&sd(c.getName(),"h264")});return Y7(b)},mwa=function(a){var b=zO(CO(wO(vO(tO(new sO,"d"),"dataSendChannel"),"dataSendChannel"),[0]),"dataSendChannel").ia(),c=nP(a.ab);c.push(b);return GP(a,rP(a.ab,c))},nwa=l(["Rengotiation (id=",") FAILED: ",". Error=",""]),owa=l(["Last local SDP was: ",""]),pwa=l(["Last remote SDP was: ",""]),qwa=l(["PeerConnection's current local SDP is: ",""]),rwa=l(["PeerConnection's current remote SDP is: ",
""]),S7=function(a,b,c,d){a.o.L(nwa,c,b,d);a.Bf&&a.o.L(owa,AR(a.Bf));a.l&&a.o.L(pwa,AR(a.l));b=a.ca.g;b.localDescription&&a.o.L(qwa,b.localDescription.sdp);b.remoteDescription&&a.o.L(rwa,b.remoteDescription.sdp)},R7=function(a){if("closed"==a.ca.g.signalingState)throw new W7("Negotiation cancelled due to the state of the peer.");};ea.Object.defineProperties(O7.prototype,{localDescription:{configurable:!0,enumerable:!0,get:function(){return this.Ce||this.pg}}});
var W7=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="NegotiationCancelledError"};t(W7,Error);var swa=new Set(["video/vp8"]);var twa=function(a,b){this.o=new WQ("realtime.media.api.webrtc.SenderConfigurer");this.C=b;this.l=L7(b);this.j=b.ji&&CQ(zQ("lSsX3e"));this.u=CQ(zQ("QfZrt"));this.F=DQ(zQ("RXfX2d"),8);this.s=this.l||this.j;this.D=b.Rg?2:1;this.g=new Map;this.m=a;this.h=CQ(zQ("IUTezf"))},uwa=l(["Configuring video sender params, original: ",""]),vwa=l(["Applying video sender params update: ",""]),ywa=function(a,b,c,d){var e=d.Dh,f=d.mimeType;d=d.Jx;var g=b.getParameters(),h=!1,m=function(){h||a.o.info(uwa,"encodings="+
JSON.stringify(g&&g.encodings,null,2));h=!0};if(g.encodings&&g.encodings.length){if(tf){var q=a.C.De;hq(72)&&null!=q&&g.encodings[0].networkPriority!=q&&(m(),g.encodings[0].networkPriority=q)}var r=wwa(a,g.encodings,b.track,c,e,f);a.m.g=r.Ui();g.encodings.forEach(function(D,C){C=r.Jj(D,C);D.active!==C&&(m(),D.active=C)});if(a.u&&!e){var z=xwa(a,d,f);g.encodings.forEach(function(D,C){var K=z.Lc(D,C),T=z.Jc(D,C);C=z.Td(D,C);if(D.scaleResolutionDownBy!==K||D.maxBitrate!==T||D.maxFramerate!==C)m(),D.scaleResolutionDownBy=
K,D.maxBitrate=T,D.maxFramerate=C})}h&&(a.o.info(vwa,"encodings="+JSON.stringify(g&&g.encodings,null,2)),b.setParameters(g))}},wwa=function(a,b,c,d,e,f){return!e&&null!=f&&swa.has(f)&&3===b.length&&a.g.has(d)?a.g.get(d):e&&tf&&10>=c.getSettings().frameRate?zwa:Awa},xwa=function(a,b,c){c="video/vp9"===c;return b>=a.F?c?Bwa:Cwa:c?Dwa:Ewa},Z7=function(a,b,c){var d=b.getParameters(),e=a.C.Ie;if(d.encodings&&0<d.encodings.length){var f=d.encodings[0],g=!1;Fwa&&null!=e&&f.networkPriority!=e&&(f.networkPriority=
e,g=!0);void 0!==f.adaptivePtime&&f.adaptivePtime!==a.h&&(f.adaptivePtime=a.h,g=!0);f.active!==c&&(f.active=c,g=!0);g&&b.setParameters(d)}},Gwa=function(a,b){return a.s?b.getStats().then(function(c){c=n(c.values());for(var d=c.next();!d.done;d=c.next())if(d=d.value,"codec"===d.type)return d.mimeType.toLowerCase();return null}):Promise.resolve(null)},$7=function(a){this.h=new Map;this.g=Array(3);a=n(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.h.set(b.rid,b),this.g[b.mc]=b},a8=function(a,
b,c){return b.rid?a.h.get(b.rid):a.g[c]};$7.prototype.Lc=function(a,b){return a8(this,a,b).Lc};$7.prototype.Jc=function(a,b){return a8(this,a,b).Jc};$7.prototype.Td=function(a,b){return a8(this,a,b).Td};
var Ewa=new $7([{rid:"f",mc:2,Lc:1,Jc:25E5,Td:24},{rid:"h",mc:1,Lc:2,Jc:5E5,Td:24},{rid:"q",mc:0,Lc:4,Jc:1E5,Td:24}]),Dwa=new $7([{rid:"f",mc:2,Lc:1,Jc:1502E3},{rid:"h",mc:1,Lc:1,Jc:418E3},{rid:"q",mc:0,Lc:1,Jc:142E3}]),Cwa=new $7([{rid:"f",mc:2,Lc:1,Jc:25E5,Td:24},{rid:"h",mc:1,Lc:1280/480,Jc:315E3,Td:24},{rid:"q",mc:0,Lc:1280/240,Jc:1E5,Td:15}]),Bwa=new $7([{rid:"f",mc:2,Lc:1,Jc:83E4},{rid:"h",mc:1,Lc:1,Jc:27E4},{rid:"q",mc:0,Lc:1280/960,Jc:11E4}]),Fwa=tf&&hq(72);
function b8(a){return a.width+"x"+a.height}var Awa={Jj:function(){return!0},Ui:function(){return 2}},zwa={Jj:function(a,b){return 0===b},Ui:function(){return 3}},c8=function(a){var b=a.mc;this.h=a.rid;this.g=b};c8.prototype.Jj=function(a,b){return a.rid?a.rid===this.h:b===this.g};c8.prototype.Ui=function(){return 1};var d8=function(a){var b=a.kl;this.h=new Set(a.Ve);this.g=b};d8.prototype.Jj=function(a,b){return a.rid?this.h.has(String(a.rid)):b<=this.g};d8.prototype.Ui=function(){return 2};
var Hwa=new Map([[b8(lR),new c8({rid:"f",mc:2})],[b8(kR),new c8({rid:"h",mc:1})],[b8(jR),new c8({rid:"q",mc:0})]]),Iwa=new Map([[b8(lR),new d8({Ve:["q","h","f"],kl:2})],[b8(kR),new d8({Ve:["q","h"],kl:1})],[b8(jR),new d8({Ve:["q"],kl:0})]]);var e8=function(){this.W=3;this.h=this.j=null;this.G=this.l=this.V=this.D=this.H=0;this.K=1;this.g=this.u=this.s=this.m=this.C=this.F=this.N=0},f8=function(a,b){null==a.j&&(a.j=b);var c=$a();null!=a.h&&a.D+b.getTime()<a.h.getTime()&&(a.D=a.h.getTime()+(c-a.H)-b.getTime());a.h=new Date(b.getTime()+a.D);a.H=c};
e8.prototype.toJson=function(){var a={};return a.jmiVersion=this.W,a.numOfProcessors=this.K,a.totalCpuUsage=this.N,a.tabCpuUsage=this.g?this.F/this.g:null,a.browserCpuUsage=this.g?this.C/this.g:null,a.gpuCpuUsage=this.g?this.m/this.g:null,a.tabJsMemoryAllocated=this.g?this.s/this.g:null,a.tabJsMemoryUsed=this.g?this.u/this.g:null,a};var Lwa=function(a,b,c){b&&(Mc(a,"googFrameWidthSent")&&(a.googFrameWidthSent=0),Mc(a,"googFrameHeightSent")&&(a.googFrameHeightSent=0));b=Number(a.ssrc);if(null!=b){var d=a.googCaptureStartNtpTimeMs;if(null!=d&&0<d){var e=Jwa(c,b);null!=e&&(d=d-Kwa+1E3*e,a.oneWayDelayMs=$a()-d)}null!=a.bytesReceived&&(d=g8(c,b),null!=d&&(null!=d.Wi&&(a.fpsGraphicsInput=d.Wi),null!=d.Xi&&(a.fpsGraphicsOutput=d.Xi)));d=0;e=a.googCpuLimitedResolution;var f=a.googBandwidthLimitedResolution,g=a.googViewLimitedResolution;
if(null!=e||null!=f||null!=g)"true"==e&&(d|=1),"true"==f&&(d|=2),"true"==g&&(d|=4),a.googAdaptationReason=d;if("number"!==typeof a.googInterframeDelayMax||isNaN(a.googInterframeDelayMax))c=h8(c,b),null!=c&&(a.googInterframeDelayMax=c)}},Kwa=(new Date(0)).getTime()-(new Date("1900/01/01 00:00 GMT")).getTime();var j8=function(a,b,c){var d=i8;this.C=xK(a,$K).then();this.h=b;this.l=c;this.j=d;this.g=new Set};j8.prototype.update=function(a,b){var c=this.j(b);b=this.l(b);var d="un";this.g.has(a)?c?(this.g.delete(a),d="r"):d="m":b&&(this.g.add(a),Mwa(this),d="m");return d};var Mwa=function(a){a.C.then(function(b){b.logImpression(a.h)})};var k8=function(a){return"number"!==typeof a||isNaN(a)?-1:a},Nwa=function(a,b,c){c?("number"!==typeof a.aecDivergentFilterFraction||isNaN(a.aecDivergentFilterFraction)||P(b,117,a.aecDivergentFilterFraction),"number"!==typeof a.audioInputLevel||isNaN(a.audioInputLevel)||P(b,26,Math.round(a.audioInputLevel)),"number"!==typeof a.googEchoCancellationEchoDelayMedian||isNaN(a.googEchoCancellationEchoDelayMedian)||P(b,46,Math.round(a.googEchoCancellationEchoDelayMedian)),"number"!==typeof a.googEchoCancellationEchoDelayStdDev||
isNaN(a.googEchoCancellationEchoDelayStdDev)||P(b,47,Math.round(a.googEchoCancellationEchoDelayStdDev)),"number"!==typeof a.googEchoCancellationReturnLoss||isNaN(a.googEchoCancellationReturnLoss)||P(b,48,Math.round(a.googEchoCancellationReturnLoss)),"number"!==typeof a.googEchoCancellationReturnLossEnhancement||isNaN(a.googEchoCancellationReturnLossEnhancement)||P(b,49,Math.round(a.googEchoCancellationReturnLossEnhancement)),"number"!==typeof a.googEchoCancellationQualityMin||isNaN(a.googEchoCancellationQualityMin)||
P(b,63,a.googEchoCancellationQualityMin),"number"!==typeof a.googResidualEchoLikelihood||isNaN(a.googResidualEchoLikelihood)||P(b,129,a.googResidualEchoLikelihood),"number"!==typeof a.googResidualEchoLikelihoodRecentMax||isNaN(a.googResidualEchoLikelihoodRecentMax)||P(b,133,a.googResidualEchoLikelihoodRecentMax)):("number"!==typeof a.audioOutputLevel||isNaN(a.audioOutputLevel)||P(b,26,Math.round(a.audioOutputLevel)),"number"!==typeof a.googJitterBufferMs||isNaN(a.googJitterBufferMs)||P(b,37,Math.round(a.googJitterBufferMs)),
"number"!==typeof a.googPreferredJitterBufferMs||isNaN(a.googPreferredJitterBufferMs)||P(b,38,Math.round(a.googPreferredJitterBufferMs)),"number"!==typeof a.googCurrentDelayMs||isNaN(a.googCurrentDelayMs)||P(b,39,Math.round(a.googCurrentDelayMs)),"number"!==typeof a.googExpandRate||isNaN(a.googExpandRate)||b.ei(a.googExpandRate),"number"!==typeof a.googSpeechExpandRate||isNaN(a.googSpeechExpandRate)||b.Hj(a.googSpeechExpandRate),"number"!==typeof a.googPreemptiveExpandRate||isNaN(a.googPreemptiveExpandRate)||
b.Ej(a.googPreemptiveExpandRate),"number"!==typeof a.googAccelerateRate||isNaN(a.googAccelerateRate)||b.zj(a.googAccelerateRate),"number"!==typeof a.googSecondaryDecodedRate||isNaN(a.googSecondaryDecodedRate)||b.Fj(a.googSecondaryDecodedRate),"number"!==typeof a.googSecondaryDiscardedRate||isNaN(a.googSecondaryDiscardedRate)||b.Gj(a.googSecondaryDiscardedRate),"number"!==typeof a.googDecodingCTSG||isNaN(a.googDecodingCTSG)||P(b,81,Math.round(a.googDecodingCTSG)),"number"!==typeof a.googDecodingCTN||
isNaN(a.googDecodingCTN)||P(b,82,Math.round(a.googDecodingCTN)),"number"!==typeof a.googDecodingNormal||isNaN(a.googDecodingNormal)||P(b,83,Math.round(a.googDecodingNormal)),"number"!==typeof a.googDecodingPLC||isNaN(a.googDecodingPLC)||P(b,84,Math.round(a.googDecodingPLC)),"number"!==typeof a.googDecodingCNG||isNaN(a.googDecodingCNG)||P(b,85,Math.round(a.googDecodingCNG)),"number"!==typeof a.googDecodingPLCCNG||isNaN(a.googDecodingPLCCNG)||P(b,86,Math.round(a.googDecodingPLCCNG)),"number"!==typeof a.googDecodingMuted||
isNaN(a.googDecodingMuted)||P(b,134,Math.round(a.googDecodingMuted)))};var Owa={Yg:"bytesReceived",Zg:"bytesSent",QF:"id",WG:"localCandidateId",VJ:"readable",rK:"remoteCandidateId",PL:"selected",UO:"writable"},Pwa={IA:"googActiveConnection",Yg:"bytesReceived",Zg:"bytesSent",VG:"googLocalAddress",qK:"googRemoteAddress"},Qwa={vB:"bitrateMean",wB:"bitrateStdDev",JE:"framerateMean",KE:"framerateStdDev",cn:"framesDecoded",dn:"framesEncoded",NE:"framesReceived",OE:"framesSent",ME:"framesPerSecond",Yg:"bytesReceived",Zg:"bytesSent",IE:"fractionLost",BE:"firCount",kG:"isRemote",
mG:"jitter",uG:"kind",pH:"mediaType",hI:"nackCount",jn:"packetsReceived",Sj:"packetsLost",kn:"packetsSent",zJ:"pliCount",EN:"totalEncodedBytesTarget",FN:"totalPacketSendDelay",FK:"retransmittedBytesSent",RJ:"qualityLimitationResolutionChanges",Tj:"qpSum",sK:"remoteId",XG:"localId",zL:"roundTripTime",sn:"ssrc",IN:"trackId",eD:"codecId",AD:"contentType",QJ:"qualityLimitationReason"},Rwa={Yg:"bytesReceived",Zg:"bytesSent",cn:"framesDecoded",dn:"framesEncoded",xs:"hugeFramesSent",jn:"packetsReceived",
Sj:"packetsLost",kn:"packetsSent",Tj:"qpSum",sn:"ssrc"};var l8=function(){this.j=new Map;this.h=new Map;this.g=new Map};l8.prototype.clear=function(){this.j.clear();this.h.clear();this.g.clear()};
var o8=function(a,b,c,d,e){var f=(e=void 0===e?!0:e)?Rwa:Qwa,g=b[f.sn];return null==g?null:d?m8(a.j,g,function(){return new n8(d)}).update(c,b[f.Zg],b[f.kn],e?b[f.Sj]:0,b[f.dn],b[f.Tj],b[f.xs]):m8(a.h,g,function(){return new n8(d)}).update(c,b[f.Yg],b[f.jn],b[f.Sj],b[f.cn],b[f.Tj],null)},q8=function(a,b,c,d){d=void 0===d?!0:d;var e=b?d?"false"==b.googActiveConnection?null:b.googLocalAddress+b.googRemoteAddress:"false"==b.selected?null:b.id:null;if(!e)return null;d=d?Pwa:Owa;return m8(a.g,e,function(){return new p8}).update(c,
b[d.Zg],b[d.Yg])},m8=function(a,b,c){var d=a.get(b);null==d&&(d=c(),a.set(b,d));return d},n8=function(a){this.u=a;this.g=-1;this.j=this.l=this.h=this.m=this.s=this.C=0};
n8.prototype.update=function(a,b,c,d,e,f,g){var h={bitrate:-1,il:-1,Vl:-1,Sk:-1};if("number"===typeof a&&"number"===typeof b&&"number"===typeof c&&"number"===typeof d){if(a>this.g){var m=c-this.s,q=Math.max(d-this.m,0);m=this.u?m:m+q;h.il=0<m?Math.round(100*q/m):-1;0<=this.g&&(q=a-this.g,m=b-this.C,h.bitrate=0<m?Math.round(8*m/q):0)}this.g=a;this.C=b;this.s=c;this.m=d}"number"===typeof e&&"number"===typeof f&&(a=e-this.h,h.Vl=0<a?Math.round((f-this.l)/a):-1,this.h=e,this.l=f);"number"===typeof g&&
(h.Sk=g-this.j,this.j=g);return h};var p8=function(){this.g=-1;this.h=this.j=0};p8.prototype.update=function(a,b,c){var d=null;if("number"===typeof a&&"number"===typeof b&&"number"===typeof c){if(0<=this.g&&a>this.g){d=a-this.g;var e=b-this.j,f=c-this.h;d={Fq:0<e?Math.round(e/d):0,tq:0<f?Math.round(f/d):0}}this.g=a;this.j=b;this.h=c}return d};var Uwa=function(a,b){this.o=new WQ("realtime.media.api.webrtc.JmiStatsParser");this.H=b;this.s=new l8;this.j=null;this.G=xK(a,$K).then();this.h=-1;this.l=new Map;this.u=new Map;this.m=new Map;this.C=new Map;this.g=new Map;this.F=new j8(a,4549,Swa);this.D=new j8(a,4550,Twa);this.K=[this.F,this.D]},Vwa=l(["Ignore report with stale timestamp "," from "," of ",""]),Zwa=function(a,b,c,d,e,f){Wwa(a,b,e);var g=new Map;b.forEach(function(h){if("localcandidate"===h.type){var m=h.stat("networkType");td(De(h.id))||
td(De(m))||g.set(h.id,Xwa[m]||0)}});b.forEach(function(h){var m=h.timestamp&&h.timestamp.getTime()||0;if(m&&m==(a.m.get(h.id)||0))a.C.get(h.id)!=m&&(a.C.set(h.id,m),a.o.info(Vwa,m,h.id,h.type));else switch(a.m.set(h.id,m),h.type){case "ssrc":Ywa(a,r8(h),c,d,e,f);break;case "VideoBwe":h=r8(h);m=new lG;P(m,1,2);P(m,24,2);"number"!==typeof h.googAvailableSendBandwidth||isNaN(h.googAvailableSendBandwidth)||P(m,40,Math.round(h.googAvailableSendBandwidth));"number"!==typeof h.googAvailableReceiveBandwidth||
isNaN(h.googAvailableReceiveBandwidth)||P(m,41,Math.round(h.googAvailableReceiveBandwidth));"number"!==typeof h.googTransmitBitrate||isNaN(h.googTransmitBitrate)||P(m,42,Math.round(h.googTransmitBitrate));"number"!==typeof h.googRetransmitBitrate||isNaN(h.googRetransmitBitrate)||P(m,43,Math.round(h.googRetransmitBitrate));"number"!==typeof h.googTargetEncBitrate||isNaN(h.googTargetEncBitrate)||P(m,124,Math.round(h.googTargetEncBitrate));"number"!==typeof h.googActualEncBitrate||isNaN(h.googActualEncBitrate)||
P(m,125,Math.round(h.googActualEncBitrate));"number"!==typeof h.googBucketDelay||isNaN(h.googBucketDelay)||P(m,80,Math.round(h.googBucketDelay));P(m,2,-1);P(m,3,-1);P(m,4,-1);P(m,5,-1);P(m,6,-1);P(m,7,-1);P(m,8,-1);P(m,9,-1);P(m,10,-1);Ol(e,2,m,lG);break;case "googCandidatePair":m=r8(h);h=new tG;P(h,3,Math.round(k8(m.googRtt)));P(h,4,Math.round(k8(m.bytesSent)));"number"!==typeof m.packetsSent||isNaN(m.packetsSent)||P(h,90,Math.round(m.packetsSent));"number"!==typeof m.packetsDiscardedOnSend||isNaN(m.packetsDiscardedOnSend)||
P(h,91,Math.round(m.packetsDiscardedOnSend));P(h,6,Math.round(k8(m.bytesReceived)));var q=0;"true"===m.googActiveConnection&&(q|=1);"true"===m.googWritable&&(q|=2);"true"===m.googReadable&&(q|=4);PG(h,q);q=new cF;var r=new cF;P(q,1,m.googLocalAddress||"");P(r,1,m.googRemoteAddress||"");P(q,2,1);P(r,2,1);var z={local:1,stun:2,relay:3};P(q,3,z[m.googLocalCandidateType]||0);P(r,3,z[m.googRemoteCandidateType]||0);z={udp:1,tcp:2,ssltcp:3}[m.googTransportType]||0;P(q,4,z);P(r,4,z);U(h,8,q);U(h,9,r);OG(h,
q.za());q=q8(a.s,m,a.h);P(h,5,q?q.Fq:-1);P(h,7,q?q.tq:-1);m=m.localCandidateId;"string"===typeof m&&!td(De(m))&&g.has(m)&&(m=g.get(m),P(h,55,m));Ol(e,13,h,tG)}});a.g.clear()},$wa=l(["Elapsed time in jmidata decreased from "," to\n      ",""]),Wwa=function(a,b,c){b=s8(b);a.j||(a.j=b);b=b?(b.getTime()-a.j.getTime())/1E3:-1;0>b||(b<=a.h&&a.o.L($wa,a.h,b),P(c,1,Math.round(b)),a.h=b)},s8=function(a){var b=null;a.forEach(function(c){(c=t8(c.timestamp))&&0<c.getTime()&&(!b||b.getTime()<c.getTime())&&(b=
c)});return b},axa=function(a){var b=new Map;a.forEach(function(c){var d=c.stat("ssrc");c=c.stat("audioOutputLevel");td(De(d))||td(De(c))||(d=parseInt(d,10),c=i7(c),b.set(d,c))});return b},cxa=function(a,b){b.forEach(function(c){if("ssrc"===c.type&&c.names().includes("googExpandRate")){for(var d=new Map,e=n(bxa),f=e.next();!f.done;f=e.next()){f=f.value;var g=c.stat(f);td(De(g))||(g=Number(g),isNaN(g)||d.set(f,g))}c=parseInt(c.stat("ssrc"),10);a.g.has(c)||a.g.set(c,[]);a.g.get(c).push(d)}})},dxa=function(a,
b){var c={audio:!1,video:!1};b.forEach(function(d){if("ssrc"===d.type){var e=d.names();if(e.includes("packetsReceived")){var f=Number(d.stat("ssrc"));a.l.has(f)||a.l.set(f,0);d=Number(d.stat("packetsReceived"));0>=d-a.l.get(f)||(a.l.set(f,d),e.includes("audioOutputLevel")?c.audio=!0:e.includes("googFrameRateReceived")&&(c.video=!0))}}});return c},exa=function(a){return a.reduce(function(b,c){var d=-1;"VideoBwe"===c.type&&(c=c.stat("googAvailableSendBandwidth"),td(De(c))||(d=Math.round(Number(c))));
return Math.max(b,d)},-1)},Ywa=function(a,b,c,d,e,f){Lwa(b,c,a.H);var g=!1;g="mediaType"in b?"audio"===b.mediaType:"audioInputLevel"in b||"audioOutputLevel"in b||"googExpandRate"in b;var h="bytesSent"in b;if(!(f&&g&&h)||d||fxa(a,b))if(!f||g||!h||!c||"screen"!==b.googContentType){var m=g?new lG:(new AS).media;gxa(b,m,h,g);g?hxa(a,b,m,h):ixa(b,m,h);var q=MG(m);null!=q&&a.K.forEach(function(r){return r.update(q,m)});jxa(a,b,m,h);Ol(e,2,m,lG)}},gxa=function(a,b,c,d){P(b,1,d?1:2);P(b,24,c?0:1);"number"===
typeof a.ssrc&&(P(b,25,a.ssrc),P(b,53,[a.ssrc]));P(b,2,Math.round(k8(a.fractionLost)));P(b,3,Math.round(k8(a.packetsLost)));P(b,4,Math.round(k8(a.highestSequenceNumber)));P(b,5,Math.round(k8(a.googJitterReceived)));P(b,6,Math.round(k8(a.googRtt)));P(b,7,Math.round(k8(a.bytesSent)));P(b,8,Math.round(k8(a.packetsSent)));P(b,9,Math.round(k8(a.bytesReceived)));P(b,10,Math.round(k8(a.packetsReceived)));c?null!=a.googCodecName&&P(b,44,a.googCodecName):(null!=a.googCodecName&&P(b,94,a.googCodecName),"number"!==
typeof a.oneWayDelayMs||isNaN(a.oneWayDelayMs)||P(b,89,Math.round(a.oneWayDelayMs)),"number"!==typeof a.oneWayMaxDelayMs||isNaN(a.oneWayMaxDelayMs)||P(b,112,Math.round(a.oneWayMaxDelayMs)),"number"!==typeof a.oneWayStddevDelayMs||isNaN(a.oneWayStddevDelayMs)||P(b,118,Math.round(a.oneWayStddevDelayMs)),"number"!==typeof a.oneWayMinDelayMs||isNaN(a.oneWayMinDelayMs)||P(b,119,Math.round(a.oneWayMinDelayMs)))},u8=function(a,b,c){var d=0,e=0;b.forEach(function(f){f.has(a)&&(e+=f.get(a),d+=1)});0<d&&c(e/
d)},hxa=function(a,b,c,d){Nwa(b,c,d);!d&&a.g.has(b.ssrc)&&(a=a.g.get(b.ssrc),u8("googExpandRate",a,function(e){return c.ei(e)}),u8("googSpeechExpandRate",a,function(e){return c.Hj(e)}),u8("googPreemptiveExpandRate",a,function(e){return c.Ej(e)}),u8("googAccelerateRate",a,function(e){return c.zj(e)}),u8("googSecondaryDecodedRate",a,function(e){return c.Fj(e)}),u8("googSecondaryDiscardedRate",a,function(e){return c.Gj(e)}))},jxa=function(a,b,c,d){b=o8(a.s,b,a.h,d);d?(P(c,42,b.bitrate),0<b.Sk&&Dl(c,
59)&&kxa(a,{gd:b.Sk})):P(c,96,b.bitrate);P(c,2,b.il);P(c,113,b.Vl)},ixa=function(a,b,c){c?("number"!==typeof a.googFirsReceived||isNaN(a.googFirsReceived)||P(b,27,Math.round(a.googFirsReceived)),"number"!==typeof a.googPlisReceived||isNaN(a.googPlisReceived)||P(b,151,Math.round(a.googPlisReceived)),"number"!==typeof a.googNacksReceived||isNaN(a.googNacksReceived)||P(b,28,Math.round(a.googNacksReceived)),"number"!==typeof a.googFrameRateInput||isNaN(a.googFrameRateInput)||P(b,29,Math.round(a.googFrameRateInput)),
"number"!==typeof a.googFrameRateSent||isNaN(a.googFrameRateSent)||P(b,30,Math.round(a.googFrameRateSent)),null!=a.codecImplementationName&&P(b,143,a.codecImplementationName),"number"!==typeof a.googFrameWidthSent||isNaN(a.googFrameWidthSent)||P(b,57,Math.round(a.googFrameWidthSent)),"number"!==typeof a.googFrameHeightSent||isNaN(a.googFrameHeightSent)||P(b,58,Math.round(a.googFrameHeightSent)),"number"!==typeof a.googFrameWidthInput||isNaN(a.googFrameWidthInput)||P(b,144,Math.round(a.googFrameWidthInput)),
"number"!==typeof a.googFrameHeightInput||isNaN(a.googFrameHeightInput)||P(b,145,Math.round(a.googFrameHeightInput)),"number"!==typeof a.googQpSent||isNaN(a.googQpSent)||P(b,113,Math.round(a.googQpSent)),"number"!==typeof a.qpSum||isNaN(a.qpSum)||P(b,139,Math.round(a.qpSum)),"number"!==typeof a.googAdaptationChanges||isNaN(a.googAdaptationChanges)||P(b,95,Math.round(a.googAdaptationChanges)),"number"!==typeof a.qualityLimitationResolutionChanges||isNaN(a.qualityLimitationResolutionChanges)||P(b,194,
Math.round(a.qualityLimitationResolutionChanges)),"number"!==typeof a.googAvgEncodeMs||isNaN(a.googAvgEncodeMs)||P(b,75,Math.round(a.googAvgEncodeMs)),"number"!==typeof a.googEncodeUsagePercent||isNaN(a.googEncodeUsagePercent)||P(b,76,Math.round(a.googEncodeUsagePercent))):("number"!==typeof a.googFirsSent||isNaN(a.googFirsSent)||P(b,27,Math.round(a.googFirsSent)),"number"!==typeof a.googPlisSent||isNaN(a.googPlisSent)||P(b,151,Math.round(a.googPlisSent)),"number"!==typeof a.googNacksSent||isNaN(a.googNacksSent)||
P(b,28,Math.round(a.googNacksSent)),"number"!==typeof a.googFrameRateOutput||isNaN(a.googFrameRateOutput)||P(b,29,Math.round(a.googFrameRateOutput)),"number"!==typeof a.googFrameRateReceived||isNaN(a.googFrameRateReceived)||P(b,30,Math.round(a.googFrameRateReceived)),"number"!==typeof a.googFrameRateDecoded||isNaN(a.googFrameRateDecoded)||P(b,31,Math.round(a.googFrameRateDecoded)),"number"!==typeof a.fpsGraphicsInput||isNaN(a.fpsGraphicsInput)||P(b,50,a.fpsGraphicsInput),"number"!==typeof a.fpsGraphicsOutput||
isNaN(a.fpsGraphicsOutput)||P(b,51,a.fpsGraphicsOutput),null!=a.codecImplementationName&&P(b,143,a.codecImplementationName),"number"!==typeof a.googFrameWidthReceived||isNaN(a.googFrameWidthReceived)||P(b,57,Math.round(a.googFrameWidthReceived)),"number"!==typeof a.googFrameHeightReceived||isNaN(a.googFrameHeightReceived)||P(b,58,Math.round(a.googFrameHeightReceived)),"number"!==typeof a.googQpReceived||isNaN(a.googQpReceived)||P(b,113,Math.round(a.googQpReceived)),"number"!==typeof a.qpSum||isNaN(a.qpSum)||
P(b,139,Math.round(a.qpSum)),"number"!==typeof a.googInterframeDelayMax||isNaN(a.googInterframeDelayMax)||P(b,138,Math.round(a.googInterframeDelayMax)));if(c){var d=a.googContentType;d&&P(b,59,"screen"===d);d=M(b,65)||0;v8(a.googCpuLimitedResolution)&&(d|=1);v8(a.googBandwidthLimitedResolution)&&(d|=2);P(b,65,d)}else if(a=a.googTimingFrameInfo){b=zS.get(b);try{a="["+a+"]",d=new yS(a?JSON.parse(a):null),b.g=d}catch(e){}}},fxa=function(a,b){var c=Number(b.bytesSent);b=Number(b.ssrc);var d=a.u.get(b)||
0;a.u.set(b,c);return c>d},r8=function(a){var b={};a.names().forEach(function(c){var d=a.stat(c);null!=d&&(isNaN(d)||"string"===typeof d&&td(d)||(d=Number(d)));b[c]=d});return b},kxa=function(a,b){a.G.then(function(c){c.logImpression(4804,b)})};function Swa(a){return 0===KG(a)&&!i8(a)&&0<(M(a,29)||0)}function Twa(a){return 0===KG(a)&&!i8(a)&&0<(M(a,30)||0)}function i8(a){return!(Dl(a,59)&&(M(a,58)||M(a,57)))}function v8(a){return"true"!==a&&"false"!==a?null:"true"===a}
var Xwa={lan:1,vpn:11,wlan:2,wwan:5},bxa="googExpandRate googSpeechExpandRate googPreemptiveExpandRate googAccelerateRate googSecondaryDecodedRate googSecondaryDiscardedRate".split(" "),t8=function(a){return"number"===typeof a?new Date(a):a};var lxa=function(a){this.o=new WQ("realtime.media.api.webrtc.RtcStatsParser");this.s=a;this.u=new l8;this.g=this.h=null;this.l=new Map;this.j=new Map;this.m=new Map;this.C=new Map},mxa=l(["No valid timestamp for the stats: ",""]),nxa=l(["Ignore report with timestamp prior to initial stats:\n      ",""]),oxa=l(["Ignore report with stale timestamp "," from "," of ",""]),rxa=function(a,b,c){var d=w8(b);if(d)if(x8(a,d),d=y8(a),0>d)a.o.L(nxa,z8(b));else{P(c,1,Math.round(d));d=n(b);for(var e=d.next();!e.done;e=
d.next()){e=n(e.value);var f=e.next().value;e=e.next().value;f=e.id||f;var g=e.timestamp;g="number"===typeof g?g:g?g.getTime():0;if(g&&g==(a.m.get(f)||0))a.C.get(f)!=g&&(a.C.set(f,g),a.o.info(oxa,g,f,e.type));else switch(a.m.set(f,g),A8[e.type]||e.type){case "candidate-pair":pxa(a,e,c,b);break;case "inbound-rtp":case "outbound-rtp":qxa(a,e,c,b)}}}else a.o.L(mxa,z8(b))},txa=function(a,b,c){a=sxa(a,b);c=n(EG(c));for(b=c.next();!b.done;b=c.next())if(b=b.value,null!=M(b,1)&&null!=M(b,24)&&null!=M(b,25)&&
1===KG(b)&&a.has(MG(b))){var d=a.get(MG(b));switch(JG(b)){case 1:var e=M(d,167)||0;P(b,167,e);e=Cl(d,170)||0;P(b,170,e);e=M(d,171)||0;P(b,171,e);e=M(d,168)||0;P(b,168,e);e=M(d,165)||0;P(b,165,e);d=M(d,166)||0;P(b,166,d);break;case 2:d=M(d,130)||0,P(b,130,d)}}},sxa=function(a,b){for(var c=new Map,d={},e=n(b.values()),f=e.next();!f.done;d={Wg:d.Wg},f=e.next()){var g=f.value;f=g;if("inbound-rtp"===(A8[g.type]||g.type)&&b.get(g.trackId)){var h=g,m=b.get(h.trackId);g=Number(g.ssrc);d.Wg=new lG;switch(f.kind){case "audio":B8(a,
h,m,d.Wg,f.kind);break;case "video":C8(h.framesDecoded,function(q){return function(r){return P(q.Wg,130,r)}}(d))}c.set(g,d.Wg)}}return c},x8=function(a,b){null===a.h&&(a.h=b);if(null===a.g||b.getTime()>a.g.getTime())a.g=b},E8=function(a,b,c,d){a=D8(a,b,c,!0);b=a.value;a.ue&&d(b)},D8=function(a,b,c,d){d=void 0===d?!1:d;var e=b&&b[c];if("number"!==typeof e)return{value:-1,ue:!1};b=b.id+"_"+c;c=!a.l.has(b);var f=a.l.get(b)||{Hp:0,Gp:0},g=f.Hp;f=f.Gp;var h=y8(a);(h>f||c)&&a.l.set(b,{Hp:e,Gp:h});return h>
f&&!c?{value:d?Math.round((e-g)/(h-f)):e-g,ue:!0}:{value:-1,ue:!1}},y8=function(a){return a.g&&a.h?(a.g.getTime()-a.h.getTime())/1E3:-1},pxa=function(a,b,c,d){if(F8(b,d)){var e=Ol(c,13,void 0,tG),f=new cF,g=new cF;P(f,3,0);P(f,4,0);P(f,2,1);P(g,3,0);P(g,4,0);P(g,2,1);U(e,8,f);U(e,9,g);P(e,7,-1);P(e,5,-1);OG(e,f.za());PG(e,0);P(e,3,-1);P(e,6,-1);P(e,4,-1);var h=b.remoteCandidateId||"",m=d.get(b.localCandidateId||"");m&&G8(m,f);(h=d.get(h))&&G8(h,g);U(e,8,f);U(e,9,g);PG(e,uxa(b,d));OG(e,f.za());C8(b.bytesReceived,
function(q){return P(e,6,q)});C8(b.bytesSent,function(q){return P(e,4,q)});C8(b.currentRoundTripTime,function(q){return P(e,3,Math.round(1E3*q))});C8(b.packetsSent,function(q){return P(e,90,q)});C8(b.packetsDiscardedOnSend,function(q){return P(e,91,q)});if(a=q8(a.u,b,y8(a),!1))P(e,5,a.Fq),P(e,7,a.tq);vxa(b,c)}},G8=function(a,b){var c=a.ip||a.ipAddress||"",d=a.port||a.portNumber||0;!td(c)&&0<d&&(c=c.includes(":")?"["+c+"]:"+d:c+":"+d,P(b,1,c));P(b,3,wxa[a.candidateType||""]||0);P(b,4,xxa[a.protocol||
a.transport||""]||0)},vxa=function(a,b){var c=H8(b);C8(a.availableOutgoingBitrate,function(d){return P(c,40,Math.round(d))})},yxa=function(a,b,c,d){E8(a,b,"bytesSent",function(g){return P(d,42,g)});E8(a,b,"retransmittedBytesSent",function(g){return P(d,43,g)});E8(a,b,"totalEncodedBytesTarget",function(g){return P(d,124,g)});I8([M(d,42),M(d,43)],function(g){var h=n(g);g=h.next().value;h=h.next().value;return P(d,125,g-h)});var e=D8(a,b,"totalPacketSendDelay");a=D8(a,b,"packetsSent");I8([e.ue&&e.value,
a.ue&&a.value],function(g){var h=n(g);g=h.next().value;h=h.next().value;return P(d,80,Math.round(g/h))});var f=H8(c);C8(M(d,42),function(g){g=(M(f,42)||0)+g;return P(f,42,g)});C8(M(d,43),function(g){g=(M(f,43)||0)+g;return P(f,43,g)});C8(M(d,124),function(g){g=(M(f,124)||0)+g;return P(f,124,g)});C8(M(d,125),function(g){g=(M(f,125)||0)+g;return P(f,125,g)});C8(M(d,80),function(g){g=(M(f,80)||0)+g;return P(f,80,g)})},H8=function(a){var b=EG(a).find(function(c){return 2===KG(c)});b||(b=Ol(a,2,void 0,
lG),J8(b),P(b,1,2),P(b,24,2));return b},zxa=l(["Video sender ignored: ",""]),qxa=function(a,b,c,d){if(!K8(b)){var e=L8(b),f="outbound-rtp"===(A8[b.type]||b.type),g="video"===e;if(g){var h=(new AS).media;P(h,1,2)}else h=new lG,P(h,1,"audio"===e?1:0);tf&&f&&g&&EG(c).some(function(m){return 0===KG(m)&&2===JG(m)})?a.o.L(zxa,b.id):(g=Ol(c,2,h,lG),J8(g),f?Axa(a,b,c,g,d,e):Bxa(a,b,g,d,e),Cxa(a,b,g,e,f))}},M8=function(a,b,c,d){var e=a.ssrc;"string"!==typeof e||td(e)||(e=Number(e));"number"===typeof e&&(P(b,
25,e),P(b,53,[e]));(a=a.codecId)&&d.has(a)&&(d=d.get(a).mimeType,d=(a=Dxa[d.toLowerCase()])?a:d,c?P(b,44,d):P(b,94,d))},B8=function(a,b,c,d,e){"video"===e?(C8(c&&c.frameWidth,function(f){return P(d,57,f)},-2),C8(c&&c.frameHeight,function(f){return P(d,58,f)},-2),E8(a,c,"framesReceived",function(f){return P(d,30,f)})):(C8(c&&c.audioLevel,function(f){return P(d,26,Math.round(32767*f))}),C8(c&&c.concealedSamples,function(f){return P(d,167,f)}),C8(c&&c.totalSamplesReceived,function(f){return P(d,168,
f)}),Exa(b,c,d));C8(c&&D8(a,c,"jitterBufferDelay").value,function(f){return P(d,37,Math.round(f))});C8(c&&c.jitterBufferDelay,function(f){return P(d,170,Math.round(f))});C8(c&&c.jitterBufferEmittedCount,function(f){return P(d,171,f)});C8(c&&c.jitterBufferFlushes,function(f){return P(d,165,f)});C8(c&&c.delayedPacketOutageSamples,function(f){return P(d,166,f)})},Hxa=function(a,b,c,d,e){"video"===e?(C8(c&&c.frameWidth,function(f){return P(d,57,f)},-2),C8(c&&c.frameHeight,function(f){return P(d,58,f)},
-2),E8(a,c,"framesSent",function(f){return P(d,30,f)}),Fxa(b,c,d)):Gxa(b,c,d)},Exa=function(a,b,c){I8([b&&b.concealedSamples,N8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.ei(Math.round(d/e))});I8([b&&b.concealedSamples,N8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.ei(Math.round(d/e))});I8([b&&b.silentConcealedSamples,b&&b.concealedSamples,N8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;
var f=e.next().value;e=e.next().value;return c.Hj(Math.round((f-d)/e))});I8([b&&b.insertedSamplesForDeceleration,N8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.Ej(Math.round(d/e))});I8([b&&b.removedSamplesForAcceleration],function(d){d=n(d).next().value;return c.zj(d)});I8([b&&b.fecPacketsReceived,b&&b.fecPacketsDiscarded,N8(a.packetsReceived)],function(d){var e=n(d);d=e.next().value;var f=e.next().value;e=e.next().value;return c.Fj(Math.round((d-
f)/e))});I8([b&&b.fecPacketsDiscarded,N8(b&&a.packetsReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.Gj(Math.round(d/e))})},Fxa=function(a,b,c){a=b&&b.mediaSourceId&&a.get(b.mediaSourceId);C8(a&&a.framesPerSecond,function(d){return P(c,29,Math.round(d))})},Gxa=function(a,b,c){a=b&&b.mediaSourceId&&a.get(b.mediaSourceId);C8(a&&a.audioLevel,function(d){return P(c,26,Math.round(32767*d))})},Bxa=function(a,b,c,d,e){P(c,24,1);M8(b,c,!1,d);"video"===e&&(C8(b.firCount,function(f){return P(c,
27,f)}),C8(b.pliCount,function(f){return P(c,151,f)}),C8(b.nackCount,function(f){return P(c,28,f)}),C8(b.qpSum,function(f){return P(c,139,f)}));B8(a,b,d.get(b.trackId),c,e);"video"===e&&(C8(b.framesDecoded,function(f){return P(c,130,f)}),C8(b.bitrateMean,function(f){return P(c,96,Math.round(f))}));C8(b.jitter,function(f){return P(c,5,Math.round(1E3*f))});C8(b.packetsReceived,function(f){return P(c,10,f)});C8(b.packetsLost,function(f){return P(c,3,f)});C8(b.bytesReceived,function(f){return P(c,9,f)});
C8(b.fractionLost,function(f){return P(c,2,Math.round(100*f))});P(c,143,b.decoderImplementation||"");Ixa(a,b,c);"video"===e&&E8(a,b,"framesDecoded",function(f){return P(c,31,f)})},Axa=function(a,b,c,d,e,f){P(d,24,0);M8(b,d,!0,e);"video"===f&&(C8(b.firCount,function(h){return P(d,27,h)}),C8(b.pliCount,function(h){return P(d,151,h)}),C8(b.nackCount,function(h){return P(d,28,h)}),C8(b.qpSum,function(h){return P(d,139,h)}));Hxa(a,e,e.get(b.trackId),d,f);C8(b.packetsSent,function(h){return P(d,8,h)});
C8(b.bytesSent,function(h){return P(d,7,h)});P(d,143,b.encoderImplementation||"");if(b.qualityLimitationReason){var g=M(d,65)||0;P(d,65,g|(b.qualityLimitationReason in O8?O8[b.qualityLimitationReason]:1073741824))}C8(b.qualityLimitationResolutionChanges,function(h){return P(d,194,h)});Jxa(b,d,e);"video"===f&&(C8(b.bitrateMean,function(h){return P(d,42,Math.round(h))}),E8(a,b,"framesEncoded",function(h){return P(d,197,h)}),tf||P8(M(d,29))||C8(M(d,197),function(h){return P(d,29,h)}),C8(b.framesEncoded,
function(h){return P(d,130,h)}));yxa(a,b,c,d)},Jxa=function(a,b,c){a=Kxa(c,a);c=!pf||hq(67);C8(c?a&&a.roundTripTime:void 0,function(d){return P(b,6,Math.round(1E3*d))});C8(c?a&&a.jitter:void 0,function(d){return P(b,5,Math.round(1E3*d))});C8(a&&a.packetsLost,function(d){return P(b,3,d)})},Ixa=function(a,b,c){var d=b.fractionLost;"number"===typeof d?P(c,2,Math.round(100*d)):(d=D8(a,b,"packetsLost"),a=D8(a,b,"packetsReceived"),d.ue&&a.ue?(b=Math.max(d.value,0),a=b+a.value,P(c,2,0<a?Math.round(100*b/
a):0)):P(c,2,-1))},J8=function(a){P(a,9,-1);P(a,7,-1);P(a,3,-1);P(a,2,-1);P(a,5,-1);P(a,4,-1);P(a,10,-1);P(a,8,-1);P(a,6,-1)},z8=function(a){for(var b={},c=n(a.keys()),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.get(d);return Fa.JSON.stringify(b)},Cxa=function(a,b,c,d,e){b=o8(a.u,b,y8(a),e,!1);if(e)null!=M(c,42)||P(c,42,b.bitrate);else if(P8(M(c,2))||P(c,2,b.il),P8(M(c,96))||P(c,96,b.bitrate),!P8(M(c,138))&&"video"===d&&(d=MG(c)||GG(c)[0]||0,(e=h8(a.s,d))&&P(c,138,e),a=g8(a.s,d)))null!=a.Wi&&P(c,
50,Math.round(a.Wi)),null!=a.Xi&&P(c,51,Math.round(a.Xi));P(c,113,b.Vl)},uxa=function(a,b){b=F8(a,b);var c=void 0!==a.writable?a.writable:b;a=void 0!==a.writable?a.writable:b;var d=0;b&&(d|=1);!0===c&&(d|=2);!0===a&&(d|=4);return d},w8=function(a){var b=null;a=n(a.values());for(var c=a.next();!c.done;c=a.next())if(c=c.value,!c.localId&&!K8(c)){b=c.timestamp;break}return"number"===typeof b?new Date(Math.round(b)):null};function K8(a){a=a?a.isRemote:void 0;return"boolean"===typeof a&&!0===a}
var A8={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},wxa={host:1,serverreflexive:2,peerreflexive:2,relayed:3},xxa={udp:1,tcp:2},O8={bandwidth:2,cpu:1,none:0},Dxa={"video/vp8":"VP8","video/vp9":"VP9","video/h264":"H264","audio/opus":"opus"};function P8(a){return null!=a&&-1!==a}function I8(a,b){a.every(function(c){return"number"===typeof c})&&b(a)}function N8(a){return 0!==a?a:void 0}
function C8(a,b,c){"number"===typeof a?b(a):void 0!==c&&b(c)}function L8(a){var b=["mediaType","kind"],c="";c=void 0===c?-1:c;if(a){b=n(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,typeof a[d]===typeof c)return a[d]}return c}function Kxa(a,b){var c=b.remoteId;if(c=c&&a.get(c))return c;a=n(a.values());for(c=a.next();!c.done;c=a.next())if(c=c.value,c.localId===b.id)return c}
function F8(a,b){return(b=b.get(a.transportId))&&b.selectedCandidatePairId?b.selectedCandidatePairId===a.id:!!a.selected};var Lxa=function(){var a=Ne();switch(a.connection&&a.connection.type){case "wifi":return 2;case "ethernet":return 1;default:return 0}};var Q8=function(){gN.call(this);this.o=new WQ("realtime.media.stats.OutputTracker");this.j=new Map;this.h=new Map;this.g=new Map;iN(this,document,"visibilitychange",this.l,!1,this)};t(Q8,gN);
var S8=function(a){R8.has(a)||R8.set(a,new Q8);return R8.get(a)},Mxa=l(["recordBeforeAudioStop: No info found for ssrc ",""]),Nxa=l(["recordBeforeAudioStop: No matching element found for ssrc ",""]),Mua=function(a,b,c){var d=a.g.get(b);d?hc(d,function(e){return e.Of==c})?ac(d)&&a.g.delete(b):a.o.L(Nxa,b):a.o.L(Mxa,b)},g8=function(a,b){var c=a.j.get(b);c&&c.forEach(function(e){return T8(a,b,e)});var d=a.h.get(b);if(!d)return null;a.h.delete(b);c=Oxa(d);d=Pxa(d);return null!=c||null!=d?{Wi:c,Xi:d}:
null},Qxa=l(["Non-monotonic frame count: ",""]),Rxa=l(["Negative fps! s:"," e:",""]),T8=function(a,b,c){c=c.h();c.end.g<c.start.g?a.o.L(Qxa,c.end.g):(a.h.has(b)||a.h.set(b,[]),-1>c.h()&&a.o.L(Rxa,c.start,c.end),a.h.get(b).push(c))};Q8.prototype.l=function(){var a=this;this.j.forEach(function(b,c){b.forEach(function(d){T8(a,c,d)})})};
var Oxa=function(a){var b=0,c=0;a.forEach(function(d){b+=d.end.g-d.start.g;c+=d.end.timestamp-d.start.timestamp});return 0==c?null:b/c},Pxa=function(a){var b=[];a.forEach(function(g){g.j||(b.push({t:g.start.timestamp,c:1,i:g}),b.push({t:g.end.timestamp,c:-1,i:g}))});sc(b);var c=0,d=0,e=-Infinity,f=[];b.forEach(function(g){var h=g.t,m=h-e;0<f.length&&(c+=h-e,d+=M(f[0],29)*m);1==g.c?(cc(f,g.i),pc(f,Sxa)):fc(f,g.i);e=h});return 0==c?null:d/c},Jwa=function(a,b){a=a.j.get(b)||a.g.get(b);if(!a)return null;
var c=0,d=!1;a.forEach(function(e){e=e.g();null!=e&&(c=Math.max(e,c),d=!0)});return d?c:null},h8=function(a,b){return(a=a.j.get(b))?Ub(a,function(c,d){d=d.j();return null==c?d:null==d?c:Math.max(c,d)},null):null};Q8.prototype.ba=function(){this.j.clear();this.g.clear();this.h.clear();gN.prototype.ba.call(this)};var R8=new WeakMap,Sxa=function(a,b){var c=b.g-a.g;0==c&&(c=M(b,29)-M(a,29));return c},Hua=function(a){this.Of=a};var U8=function(a,b,c){this.o=new WQ("realtime.media.api.webrtc.StatsManager");this.l=new Uwa(a,b);this.g=null;this.m=!1;this.G=xK(a,PW);this.h=new e8;this.C=new lxa(b);this.u=this.F=0;this.s=!1;this.j=c;this.D=[]},V8=function(a,b){a.D.push(b)};U8.prototype.start=function(){tf&&Txa(this)};U8.prototype.stop=function(){tf&&(this.g&&(this.g.disconnect(),this.g=null),this.m=!0)};
var Uxa=function(a,b,c){var d=$a();if(!(1E3>d-a.F)){a.F=d;if(a.j)a=dxa(a.l,b);else{a=a.C;d={audio:!1,video:!1};b=n(b.values());for(var e=b.next();!e.done;e=b.next())if(e=e.value,"inbound-rtp"==(A8[e.type]||e.type)&&!K8(e)){var f=Number(e.ssrc),g=e.packetsReceived;f&&"number"===typeof g&&(a.j.has(f)||a.j.set(f,0),0>=g-a.j.get(f)||(a.j.set(f,g),e=L8(e),"audio"===e&&(d.audio=!0),"video"===e&&(d.video=!0)))}a=d}c(a.audio,a.video)}},Vxa=function(a,b,c){var d=$a();200>d-a.u||(a.u=d,a=a.j?exa(b):-1,c(a))},
Zxa=function(a,b,c,d,e){var f=!tf||!1;f=void 0===f?!1:f;var g,h,m;return Da(function(q){if(1==q.g)return g=new jG,h=null,b?(h=s8(b),Zwa(a.l,b,d,e,g,f)):(h=w8(c),rxa(a.C,c,g)),tf?u(q,a.G.then(function(r){return r.Hf()}),3):q.cb(2);2!=q.g&&(m=q.h,Wxa(a,g,m,h));b&&c&&txa(a.C,c,g);Xxa(g);Yxa(g);a.D.forEach(function(r){return r.Md(g)});return q.return(g)})},Txa=function(a){a.G.then(function(b){a.g||a.m||(a.g=b.vh(),a.g&&a.g.onMessage.addListener(function(c){var d=a.h;d.F+=c.tabCpuUsage;d.C+=c.browserCpuUsage;
d.m+=c.gpuCpuUsage;d.s+=c.tabJsMemoryAllocated;d.u+=c.tabJsMemoryUsed;d.g++}))})},Wxa=function(a,b,c,d){var e=a.h.toJson();"number"!==typeof e.tabCpuUsage||isNaN(e.tabCpuUsage)||P(b,34,Math.round(e.tabCpuUsage));"number"!==typeof e.browserCpuUsage||isNaN(e.browserCpuUsage)||P(b,92,Math.round(e.browserCpuUsage));"number"!==typeof e.gpuCpuUsage||isNaN(e.gpuCpuUsage)||P(b,94,Math.round(e.gpuCpuUsage));"number"!==typeof e.pluginCpuUsage||isNaN(e.pluginCpuUsage)||P(b,93,Math.round(e.pluginCpuUsage));"number"!==
typeof e.totalCpuUsage||isNaN(e.totalCpuUsage)||P(b,35,Math.round(e.totalCpuUsage));"number"!==typeof e.numOfProcessors||isNaN(e.numOfProcessors)||P(b,36,Math.round(e.numOfProcessors));"number"!==typeof e.tabJsMemoryAllocated||isNaN(e.tabJsMemoryAllocated)||P(b,150,Math.round(e.tabJsMemoryAllocated));"number"!==typeof e.tabJsMemoryUsed||isNaN(e.tabJsMemoryUsed)||P(b,151,Math.round(e.tabJsMemoryUsed));if(d){f8(a.h,d);d=a.h;var f=c.value;if(e=f&&f.numOfProcessors){var g=0,h=0;if(f=f.processors){f=n(f);
for(var m=f.next();!m.done;m=f.next())m=m.value.usage,g+=m.user+m.kernel,h+=m.total}else g=d.G,h=d.l;f=h==d.l?d.V:100*e*(g-d.G)/(h-d.l);d.G=g;d.l=h;d.V=f;d.N=f;d.K=e}c.value&&c.value.temperatures&&c.value.temperatures[0]&&P(b,189,c.value.temperatures[0]);b=a.h;0>(null!=b.h&&null!=b.j?(b.h.getTime()-b.j.getTime())/1E3:-1)||(a=a.h,a.F=0,a.C=0,a.m=0,a.s=0,a.u=0,a.g=0)}},Yxa=function(a){QG(a,EG(a).filter(function(b){return 0<M(b,10)||1!=KG(b)}))},Xxa=function(a){var b=Lxa();0!==b&&FG(a).forEach(function(c){P(c,
55,b)})};var W8=function(){this.j=0;this.g=new Map;this.h=new Map},aya=function(a,b){$xa(a,b);a.g.forEach(function(c,d){var e=b.get(parseInt(d,10));e&&e.Lb==c.Lb?(d=e.timestamp-a.j,c.Xe!=d&&(c.Ne=d)):(c.Ne&&(e=a.h.get(d)||[],e.push(c),a.h.set(d,e)),a.g.delete(d))});b.forEach(function(c,d){var e=a.g.get(d.toString());void 0==e&&(e={Lb:c.Lb,Xe:c.timestamp-a.j,Ne:null},a.g.set(d.toString(),e))})},$xa=function(a,b){if(0===a.j){var c=Number.MAX_VALUE;b.forEach(function(d){d=d.timestamp;d<c&&(c=d)});c!==Number.MAX_VALUE&&
(a.j=c)}};W8.prototype.Md=function(a){var b=this;EG(a).forEach(function(c){var d=HG(c),e=GG(c);if(!(1>e.length)&&(e=e[0].toString(),""!=e)){var f=b.h.get(e);f&&(f.forEach(function(g){g=X8(g);d.push(g)}),b.h.delete(e));(e=b.g.get(e))&&e.Ne&&(f=X8(e),d.push(f),e.Xe=e.Ne,e.Ne=null);0<d.length&&c.l(d)}})};var X8=function(a){var b=new mG;b=P(b,3,a.Lb);b=P(b,1,a.Xe);return P(b,2,a.Ne)};var dya=function(a){var b={lu:!0,timeout:3E4},c=b.document||document,d=ld(a).toString(),e=zg(document,"SCRIPT"),f={Aq:e,hi:void 0},g=new dK(bya,f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){Y8(e,!0);g.g(new Z8(1,"Timeout reached for loading script "+d))},m),f.hi=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Y8(e,b.lu||!1,h),g.callback(null))};e.onerror=function(){Y8(e,!0,h);g.g(new Z8(0,"Error while loading script "+
d))};f=b.attributes||{};Uc(f,{type:"text/javascript",charset:"UTF-8"});vg(e,f);ze(e,a);cya(c).appendChild(e);return g},cya=function(a){var b=(a||document).getElementsByTagName("HEAD");return!b||ac(b)?a.documentElement:b[0]},bya=function(){if(this&&this.Aq){var a=this.Aq;a&&"SCRIPT"==a.tagName&&Y8(a,!0,this.hi)}},Y8=function(a,b,c){null!=c&&Fa.clearTimeout(c);a.onload=Ma;a.onerror=Ma;a.onreadystatechange=Ma;b&&window.setTimeout(function(){Bg(a)},0)},Z8=function(a,b){var c="Jsloader error (code #"+
a+")";b&&(c+=": "+b);Gb.call(this,c);this.code=a};w(Z8,Gb);var eya=l(["EchoDetector constructor"]),fya=l(["EchoDetector module: ",""]),gya=l(["EchoDetector module: ",""]),hya=l(["onAbort called - WebAssembly failure"]),iya=l(["Loaded and initialized in ","ms"]),jya=l(["Wasm module initialization failed."]),kya=l(["Failed to create echoDetector."]),lya=l(["Failed to create echoDetector."]),mya=l(["Failed to load glue code."]),$8=function(a){V.call(this);var b=this;this.o=new WQ("realtime.media.audio.EchoDetector");this.o.info(eya);this.fa=a;this.j=h7(this);
this.h=null;this.m=new Map;this.u=!1;this.g=this.D=this.F=null;this.G=qd();this.l=this.j.createScriptProcessor(2048,1,1);this.s=this.j.createScriptProcessor(2048,1,1);a=this.j.createMediaStreamDestination();this.l.connect(a);this.s.connect(a);var c=Date.now(),d={print:function(f){return b.o.info(fya,f)},printErr:function(f){return b.o.L(gya,f)},onAbort:function(){b.o.L(hya);b.fa.logImpression(5388,{cc:"onAbort"})}},e=function(f){b.g=f;try{var g=b.g._GetVersion();if(5!=g)throw Error("Version mismatch - expected 5, got "+
g);b.g._Initialize(2048,b.j.sampleRate,1,2048,b.j.sampleRate,1);b.o.info(nya,g);b.F=new Float32Array(b.g.HEAP32.buffer,b.g._GetCaptureAudioBuffer(),2048);b.D=new Float32Array(b.g.HEAP32.buffer,b.g._GetRenderAudioBuffer(),2048);oya(b);b.u=!0;var h=Date.now()-c;b.o.info(iya,h);b.fa.logImpression(5389,{gd:h})}catch(m){ZQ(b.o,m).L(jya),b.fa.logImpression(5388,{cc:m.message})}};dya(this.G).then(function(){try{window._createWasmEchoDetectorV2(d).then(e,function(f){f=Mf(f);ZQ(b.o,f).L(kya);b.fa.logImpression(5388,
{cc:f.message})})}catch(f){ZQ(b.o,f).L(lya),b.fa.logImpression(5388,{cc:f.message})}},function(f){ZQ(b.o,f).L(mya);b.fa.logImpression(5387,{cc:f.message})})};t($8,V);$8.prototype.ba=function(){var a=this;this.m.forEach(function(b){b.disconnect(a.l)});this.m.clear();null!=this.h&&(this.h.disconnect(),this.h=null);this.l.disconnect();this.l.onaudioprocess=null;this.s.disconnect();this.s.onaudioprocess=null;this.u=!1;this.g=this.D=this.F=null;V.prototype.ba.call(this)};
var nya=l(["Initialized - version ",""]),oya=function(a){a.s.onaudioprocess=function(b){a.u&&null!=a.h&&(a.F.set(b.inputBuffer.getChannelData(0)),a.g._AnalyzeCaptureAudio())};a.l.onaudioprocess=function(b){a.u&&0<a.m.size&&(a.D.set(b.inputBuffer.getChannelData(0)),a.g._AnalyzeRenderAudio())}},pya=l(["addRenderStream completed"]),qya=function(a,b){var c=a.j.createMediaStreamSource(b);c.connect(a.l);a.m.set(b,c);a.o.info(pya)},rya=l(["removeRenderStream completed"]),sya=l(["setCaptureStream completed"]);var tya=l(["",""]),b9=function(a,b,c,d,e,f){Lv.call(this);var g=this;this.Gd=new eL(this);this.fa=a;this.g=b;this.oc=c;tf||uf||(d=mga(d));this.u=d;a=new t7(d.ji);this.xa=new twa(a,d);b=null;d.Lj&&(b=new u7(function(h){g.od=h;a9(g)},{Kt:d.lh,iy:d.Hg}),this.T(b));this.Oa=b;this.N=d.Mr&&d.Ze?new $8(this.fa):null;this.od=d.lh;this.o=aR(YQ(new WQ("realtime.media.api.webrtc.PeerController"),function(h){return h(tya,g)}));this.rf=new M7;this.l=new gN(this);this.T(this.l);this.ca=null;this.Eb=!1;this.W=this.pc=
this.D=null;this.G=e(tf&&!0);V8(this.G,a);this.N&&V8(this.G,new s7(this.N));this.Ge=new W8;V8(this.G,this.Ge);this.Fe=new Set;this.fc=this.u.xh()||1E4;this.sa=$a();this.hc=!0;this.qa=1;this.H=new Map;this.s=null;this.Jb=[];this.m=null;this.ea=new Map;this.wb=new Map;this.Bc=new Map;this.Ma=this.bb=this.Na=null;this.Aa=new Set;this.hb=new Set;this.K=this.Y=null;this.Pa=!1;this.Ca=null;this.Cc=!1;this.j=this.ja=this.rb=null;this.ff=new r7;this.oa=null;this.gb=new Map;this.tc=new Map;this.h=null;this.qd=
uQ;this.qb=this.Ec=null;f.then(function(h){g.qb=h});d=this.u.ud;0==d&&(d=tf?1:2);this.ud=d;this.rc=CQ(zQ("JNxaef"));this.gf=CQ(zQ("QfZrt"));this.hf=DQ(zQ("RXfX2d"),8);this.qc=!1;this.me=0;this.oe=CQ(zQ("rt1h9b"))};t(b9,Lv);b9.prototype.toString=function(){return"PeerController(sessionId="+this.g+")"};
var a9=function(a){if(a.ca)for(var b=n(H7(a.ca)),c=b.next();!c.done;c=b.next())c.value.playoutDelayHint=a.od/1E3},c9=function(a,b){for(var c=[],d=0;d<b;d++)c.push(N7(a.rf));return c},d9=function(a,b){var c=c9(a,a.u.Xf?3:1),d=[];1<c.length&&a.u.Xf&&d.push(new jO("SIM",c));if(a.u.Rg)for(var e=c9(a,c.length),f=0;f<e.length;f++)c.push(e[f]),d.push(new jO("FID",[c[f],e[f]]));return EO(CO(wO(vO(tO(new sO,"v"),b),a.g+"/"+b),c),d).ia()},f9=function(a,b){a.Fe.has(b)||(a.Fe.add(b),a.O(new e9(a.g,b)))},uya=
l(["Remote stream added with id="," audioTracks="," videoTracks=",""]),vya=l(["Ignoring incoming tracks with no matching msid."]),wya=l(["Ignoring incoming audio track as audio output is disabled."]),xya=l(["Participant left before their audio was added"]);
b9.prototype.jf=function(a){var b=a.stream,c=a.g;a=b.getAudioTracks();var d=b.getVideoTracks();this.o.info(uya,c,a.length,d.length);a9(this);d=function(e){return e.Ue==c};nP(this.m.ya).some(d)||nP(this.m.ra).some(d)||kc(this.m.ya.j).some(function(e){return e.toString()==c})?0<a.length?this.u.Ze?(a=g9(this,this.m,c),h9(this,5038),d=Iua(this.oc,b,a,2==this.ud),this.N&&qya(this.N,b),i9(this,c,d),this.H.set(c,d),this.l.listen(d,"playing",this.ne),this.l.listen(d,"playing_error",this.pf),a||this.o.L(xya)):
(this.o.info(wya),a.forEach(function(e){return e.stop()})):(this.ea.has(c)||this.ea.set(c,{Fb:zt(),mo:!1}),a=this.ea.get(c),a.Fb.resolve(b),a.mo=!0):this.o.info(vya)};var yya=l(["Remote stream removed with id="," audioTracks="," videoTracks=",""]),zya=l(["Asked to remove stream that was never added."]);
b9.prototype.lf=function(a){var b=a.stream;a=a.g;var c=b.getAudioTracks(),d=b.getVideoTracks();this.o.info(yya,a,c.length,d.length);this.H.has(a)&&(c=this.H.get(a),lN(this.l,c,"playing",this.ne),q7(this.oc,b.id),this.H.delete(a));this.N&&(c=this.N,c.m.has(b)&&(c.m.get(b).disconnect(c.l),c.m.delete(b),c.o.info(rya)));this.ea.has(a)&&(b=this.ea.get(a),this.ea.delete(a),b.mo||this.o.L(zya))};b9.prototype.ne=function(a){h9(this,4901,a.target.za().id);f9(this,"play first audio")};
b9.prototype.pf=function(a){h9(this,4970,a.code+","+a.message)};var Aya=l(["Adding capture=",""]),uka=l(["Removing capture=",""]);b9.prototype.Dc=function(a){a=a.target;var b=eW(a,this.g);b&&j9(this,b,a)};b9.prototype.pd=function(a){a=a.target;if(this.s&&this.s.Ea()===a.g.getId()){a=a.Vb();this.s=xO(new sO(this.s),a).ia();var b=k9(this,this.s);b&&Z7(this.xa,b,!a)}};
var Bya=function(a,b){switch(b){case "a":var c=nP(a.localDescription.ya)[0];break;case "v":c=nP(a.localDescription.ra).find(function(d){return"2"==d.Ea()});break;case "d":c=nP(a.localDescription.ab)[0];break;default:Mb("Unknown media type: "+b)}return c},l9=function(a,b){var c=b.g;if(!a.localDescription)return null;if("v"!=c.Ra)return Bya(a,c.Ra);var d=nP(a.localDescription.ra).find(function(e){return e.Ea()==c.getId()});d||(d=d9(a,c.getId()));return Sea(yO(new sO(d),c.If()),b.j.m).ia()},Cya=l(["Got MediaStream without associated tracks."]),
Dya=l(["StreamInfo="," updated."]),hW=function(a,b,c){var d=c.g,e=d.Ra,f=c.Vb();c=l9(a,c);var g=null,h=null;if(b){g=b.id;b="a"==e?b.getAudioTracks():b.getVideoTracks();if(0==b.length)return a.o.pa(Cya),null;h=b[0].id}c=xO(AO(zO(new sO(c),g),h),f).ia();"a"==e?a.s=c:(e=nP(a.localDescription.ra).filter(function(m){return m.Ea()!==d.getId()}),a.Jb=[].concat(p(e),[c]));a.o.info(Dya,c);Zva(a.D,a.s?[a.s]:[],a.Jb).catch(function(m){m9(a,m,"local streams save")});return c},Eya=l(["Adding stream with id=",
" to peer"]),o9=function(a,b){Da(function(c){if(1==c.g){if(!b||a.hc||!a.ca)return c.cb(0);a.hb.add(b);a.o.info(Eya,b.id);return u(c,nva(a.ca,b),3)}n9(a);c.g=0})},Fya=l(["Removing stream with id="," to peer"]),gW=function(a,b){b&&a.ca&&a.hb.has(b)&&(a.hb.delete(b),a.o.info(Fya,b.id),ova(a.ca,b))},j9=function(a,b,c){if(!a.localDescription)return null;o9(a,b);var d=hW(a,b,c);c=c.g;a.N&&"a"==c.Ra&&"sc"!=c.getContent()&&(a=a.N,null!=a.h&&(a.h.disconnect(),a.h=null),a.h=a.j.createMediaStreamSource(b),a.h.connect(a.s),
a.o.info(sya));return d},Gya=function(a){a.u.Ze||H7(a.ca).forEach(function(b){(b=b.track)&&"audio"==b.kind&&b.stop()})},n9=function(a){if(!tf||hq(68))if(a.Jb.forEach(function(c){var d=!c.If(),e=a.me,f=k9(a,c);f&&Gwa(a.xa,f).then(function(g){ywa(a.xa,f,c.g,{Dh:d,mimeType:g,Jx:e})})}),a.s){var b=k9(a,a.s);b&&Z7(a.xa,b,a.rc?!a.s.Hc():!0)}},k9=function(a,b){return pva(a.ca).find(function(c){return c.track&&c.track.id==b.j&&"live"==c.track.readyState})||null};
b9.prototype.stopSession=function(a,b){this.D&&this.D.cancel();Ss(this.ca);this.ca=null;this.W&&(this.W.close(),this.W=null);this.Y&&(this.Y.stop(),this.Pa=!1,this.sa=0,this.O(new p9(a,b)));this.K&&this.K.stop();this.G.stop();this.ea.clear();q9(this,0)};
var Hya=l(["Instantiating new peer"]),Iya=l(["send datachannel is open."]),Jya=l(["send datachannel is closed."]),Kya=l(["send datachannel error: ",""]),Lya=l(["Creating the initial local description failed"]),Mya=l(["Creating the initial local description succeeded"]),Sya=function(a){var b,c;return Da(function(d){switch(d.g){case 1:return a.ca&&Mb("Attempted to recreate a peer connection."),f9(a,"send initiate"),a.o.info(Hya),Nya(a,a.u.Oo),a.ca=new E7(a.u),a.pc=a.ca.g.signalingState,a.D=new O7(a.ca,
a.u,a.fa),a9(a),a.l.listen(a.ca.g,"signalingstatechange",a.qf),CQ(zQ("lftkhd"))&&Oya(a),a.qa=1,a.l.listen(a.ca,"ib",a.kf),a.ca.g.oniceconnectionstatechange=function(){return Pya(a)},a.ca.g.onconnectionstatechange=function(){tf||(a.o.info(Qya,a.ca.g.connectionState),r9(a))},a.l.listen(a.ca,"jb",a.jf),a.l.listen(a.ca,"kb",a.lf),a.ca.g.ondatachannel=function(e){return Rya(a,e.channel)},a.W=G7(a.ca,"dataSendChannel"),a.W.onopen=function(){return a.o.info(Iya)},a.W.onclose=function(){return a.o.info(Jya)},
a.W.onerror=function(e){return a.o.L(Kya,e.error)},b=function(e){var f=new sO;if(ac(nP(e.ya))){var g=c9(a,1);f=CO(tO(f,"a"),g)}else f=new sO(nP(e.ya)[0]);g=wO(vO(f,"1"),a.g+"/1").ia();var h=ac(nP(e.ra))?d9(a,"2"):wO(vO(new sO(nP(e.ra)[0]),"2"),a.g+"/2").ia();f=new sO;ac(nP(e.ab))?(f=CO(tO(f,"d"),c9(a,1)),!tf&&(f=BO(f,mP(e.ab)))):f=new sO(nP(e.ab)[0]);f=wO(vO(f,"3"),a.g+"/3");zO(f,"dataSendChannel");e=f.ia();return new BP(rP(new iP("a",[],[]),[g]),rP(new iP("v",[],[]),[h]),rP(new iP("d",[],[]),[e]))},
sa(d,2),u(d,Sva(a.D,b),4);case 4:ta(d,3);break;case 2:return c=ua(d),ZQ(a.o,c).pa(Lya),d.return(null);case 3:return a.o.info(Mya),d.return(a.localDescription)}})},Tya=l(["Calling initial setLocalDescription"]),Uya=l(["Initial setLocalDescription offer succeeded"]),Xya=function(a){var b,c;Da(function(d){switch(d.g){case 1:return f9(a,"recv local description"),a.G.start(),a.Y||(a.Y=new QV(Vya(a),a.Gd),a.Y.h.attach(function(){a.Y.enabled&&(a.K&&a.K.enabled||s9(a),a.Pa||(tf?0:1E3>$a()-a.sa)||Wya(a))}),
a.Y.start()),(b=1!=a.ud||a.oe)&&!a.K&&(a.K=new QV(t9,a.Gd),a.K.h.attach(function(){if(a.K.enabled){s9(a);if(a.oe){a.tc.clear();for(var e=n(H7(a.ca)),f=e.next();!f.done;f=e.next())f=f.value,"video"==f.track.kind&&"function"===typeof f.getSynchronizationSources&&u9(f.getSynchronizationSources(),a.tc);a.O(new v9(a.g,a.gb,a.tc))}if(2==a.ud){e=new Map;f=n(a.H.keys());for(var g=f.next();!g.done;g=f.next()){var h=g.value;g=a.H.get(h);(h=g9(a,a.m,h))&&w9(a,e,h,(g.m?oua(g.m):null)||0)}x9(a,e);y9(a,e)}else 3==
a.ud&&y9(a,a.oa)}}),a.K.start()),a.o.info(Tya),sa(d,2),u(d,Xva(a.D),4);case 4:ta(d,3);break;case 2:return c=ua(d),m9(a,c,"prepare"),d.return(!1);case 3:return a.o.info(Uya),d.return(!0)}})},Yya=l(["Creating DataChannel without a writable transport!"]),pV=function(a,b,c){z9(a)||(h9(a,7102),a.o.L(Yya));return G7(a.ca,b,c)},Vya=function(a){var b=1==a.ud||pf&&!0;return a.u.Ze&&b?t9:Math.min(1E3,a.fc)},Wya=function(a){var b,c,d,e,f,g,h,m,q,r,z,D;Da(function(C){switch(C.g){case 1:return a.Pa=!0,tf?u(C,
tva(a.ca),5):u(C,a.ca.getStats(),4);case 4:b=C.h;C.cb(3);break;case 5:b=C.h.result();case 3:c=b;if(!a.ca)return C.return();a.Pa=!1;Zya(a,c);$ya(a,c);1==a.ud&&aza(a,c);a.j&&aya(a.Ge,a.j);var K=a.G;if(!K.s){if(K.j){var T=K.l;for(var da=null,Ka=n(c),fb=Ka.next();!fb.done;fb=Ka.next())(fb=t8(fb.value.timestamp))&&0<fb.getTime()&&(!da||fb.getTime()<da.getTime())&&(da=fb);T=T.j=da}else T=K.C,(da=w8(c))&&x8(T,da),T=da;T&&(K.s=!0,f8(K.h,T))}K=a.G;K.j&&cxa(K.l,c);d=$a();if(!(d-a.sa>=a.fc)){C.cb(0);break}a.sa=
0==a.sa?d:a.sa+a.fc;f=e=!1;g=n(a.Aa);for(h=g.next();!h.done;h=g.next())m=h.value,"v"!==m.ga()||m.Vb()?"a"===m.ga()&&(f=!0):e=!0;q=tf?c:null;if(!tf){r=c;C.cb(7);break}return u(C,a.ca.getStats(),8);case 8:r=C.h;case 7:return z=r,a.ca?u(C,Zxa(a.G,q,z,!e,f),9):C.return();case 9:D=C.h,a.O(new A9(D)),C.g=0}})},aza=function(a,b){b=a.G.j?axa(b):new Map;var c=new Map;b.forEach(function(d,e){w9(a,c,e,d)});x9(a,c);y9(a,c)},bza=l(["Could not find SSRC for RTCRtpReceiver."]),s9=function(a){var b=a.j;a.j=null;
a.ja=null;a.oa=null;a.gb.clear();if(a.m&&0<a.m.ya.j.length){a.j=new Map;a.oa=new Map;for(var c=a.m.ya.l,d=0,e=n(H7(a.ca)),f=e.next();!f.done;f=e.next())if(f=f.value,"audio"==f.track.kind&&"function"===typeof f.getContributingSources){a.rb||(a.rb=$a(),a.O(new B9(a.rb)));var g=f.getContributingSources();if(0!=g.length)if(f=cza(f),null==f)a.o.L(bza);else{u9(g.filter(function(r){return r.source!=c}),a.gb);g.sort(function(r,z){var D=C9(r.timestamp);z=C9(z.timestamp);return D==z&&null!=c?r.source==c?1:
-1:z-D});var h=null,m=null;g=n(g);for(var q=g.next();!q.done;q=g.next()){q=q.value;if(null!=h&&(null==c||q.timestamp<=d))break;null!=c&&q.source==c?q.timestamp>d&&(d=q.timestamp,a.ja=m):(null==h&&(h=q),m=q.source)}null!=h&&(m=h.source,a.j.set(f,{Lb:m,timestamp:C9(h.timestamp)}),a.oa.set(m,{volume:i7(Math.min(3E5*(h.audioLevel||0),32768)),kj:!1}))}}x9(a,a.oa);3==a.ud&&a.ff.smooth(a.oa)}dza(a,b)},w9=function(a,b,c,d){a.j&&(c=(c=a.j.get(c))?c.Lb:null);null!==c&&(1==a.ud&&a.h&&(a=a.h.get(c),null!=a&&
0!=a&&(d/=a)),b.set(c,{volume:d,kj:!1}))},x9=function(a,b){a.ja&&(b.has(a.ja)?b.get(a.ja).kj=!0:b.set(a.ja,{volume:0,kj:!0}))},Zya=function(a,b){Uxa(a.G,b,function(c,d){c&&f9(a,"recv first audio packet");d&&f9(a,"recv first video packet");a.O(new D9(c,d))})},$ya=function(a,b){a.Ca&&Vxa(a.G,b,function(c){eza.forEach(function(d,e){c>=e&&(f9(a,d),"bandwidth 3150"==d&&(a.Ca=!1))})})},fza=l(["Received audio from non-virtual ssrc "," when only virtual ssrcs should be used"]),g9=function(a,b,c){if(!b||!b.ya)return null;
if(0<a.m.ya.j.length){if(b=kc(a.m.ya.j).find(function(d){return d.toString()==c}))return b;a.o.L(fza,c);return null}if(a=nP(b.ya).find(function(d){return d.g==c}))if(a=a.Qa(),!ac(a))return a[0];return null},yV=function(a,b){b.forEach(function(){f9(a,"recv candidate ")});bwa(a.D,b)},gza=l(["Transport writable 1st timer timed out."]),hza=l(["Transport writable 2nd timer timed out."]),iza=l(["Transport writable timeout failed, aborting."]),kza=function(a){jza(a);null==a.Ma&&1==a.qa&&(h9(a,2703),a.Na=
Ov(function(){1==a.qa&&(a.o.L(gza),h9(a,2705))},2E4),a.bb=Ov(function(){1==a.qa&&(a.o.L(hza),h9(a,2706))},3E4),a.Ma=Ov(function(){if(1==a.qa){a.o.L(iza);var b=27;h9(a,2707);a.Cc||(h9(a,3736),b=24);a.O(new E9(b,a.g))}},55E3))},q9=function(a,b){null!=a.Na&&(Pv(a.Na),a.Na=null);null!=a.bb&&(Pv(a.bb),a.bb=null);null!=a.Ma&&(Pv(a.Ma),a.Ma=null);a.qa=b},lza=l(["ICE connection state changed to: ",", signaling state: ",""]),mza=l(["Initiating ICE restart"]),Pya=function(a){var b,c;return Da(function(d){b=
a.ca.g.iceConnectionState;a.o.info(lza,b,a.ca.g.signalingState);"disconnected"===b?h9(a,5442):"failed"===b&&h9(a,5441);r9(a);Pv(a.Ec);if(!nza(a))return d.return();c=Math.max("disconnected"!==b?0:tf?DQ(zQ("lIHudd"),0):DQ(zQ("bHY2We"),0),tQ(a.qd,Y()));a.Ec=Ov(function(){var e;return Da(function(f){if(1==f.g){a.qd=sQ(Y(),5E3);a.o.info(mza);h9(a,5440);sa(f,2);var g=a.D;g.m=!0;g=V7(g);return u(f,g,4)}if(2!=f.g)return ta(f,0);e=ua(f);m9(a,e,"ice restart");f.g=0})},c);d.g=0})},Qya=l(["Peer connection state changed to: ",
""]),r9=function(a){var b=z9(a);a.Eb!==b&&((a.Eb=b)?(q9(a,2),a.Eb=!0,f9(a,"transport writable"),h9(a,2704)):f9(a,"transport not writable"),a.O(new F9(b)))},z9=function(a){var b=a.ca.g.connectionState;a=a.ca.g.iceConnectionState;a="connected"===a||"completed"===a;return!tf&&b?a&&"connected"===b:a},nza=function(a){a=a.ca.g.iceConnectionState;return pf?!1:"disconnected"===a||"failed"===a},oza=l(["Got local ICE candidate: ",""]);
b9.prototype.kf=function(a){a=a.candidate;this.o.info(oza,JSON.stringify(a));this.O(new G9(this.g,[a]));a=a.h;f9(this,"send candidate "+a);"STUN"!=a&&(this.Cc=!0)};
var jza=function(a){f9(a,"call connect");null==a.Ca&&(a.Ca=!0,Qv(3E5).then(function(){a.Ca=!1}))},pza=function(a,b){var c;return Da(function(d){switch(d.g){case 1:return f9(a,"recv remote description"),a.m=b,a.Bc=new Map(nP(b.ab).map(function(e){return[e.Ue||e.Ea(),e]})),sa(d,2),u(d,Yva(a.D,b),4);case 4:ta(d,3);break;case 2:return c=ua(d),m9(a,c,"remote description set"),d.return(!1);case 3:return n9(a),Gya(a),d.return(!0)}})},qza=function(a){a.Aa.forEach(function(b){(b=eW(b,a.g))&&gW(a,b)});a.hc=
!0},H9=function(a){a.hc=!1;a.Aa.forEach(function(b){(b=eW(b,a.g))&&o9(a,b)})};b9.prototype.ba=function(){var a=this;Ss(this.Y);Ss(this.K);this.H.forEach(function(b){return q7(a.oc,b.za().id)});this.H.clear();Ss(this.ca);this.ca=null;this.W&&(this.W.close(),this.W=null);Ss(this.N);this.N=null;Lv.prototype.ba.call(this)};
var rza=function(a,b){f9(a,"recv view request");var c=a.xa;c.g.clear();b=n(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if("v"===e.ga()){d=e.l;var f=e.Sc(),g=c;e=g.l&&e.Qa().length===g.D?Hwa:g.j?Iwa:null;d&&f&&e&&(f=e.get(b8(f)))&&c.g.set(d,f)}}n9(a)},sza=l(["receive datachannel "," created."]),tza=l(["receive datachannel "," is open."]),uza=l(["receive datachannel "," is closed."]),vza=l(["receive datachannel "," threw error: ",""]),Rya=function(a,b){a.o.info(sza,b.label);a.wb.set(b.label,
b);b.onopen=function(){a.o.info(tza,b.label)};b.onclose=function(){a.o.info(uza,b.label);a.wb.delete(b.label)};b.onerror=function(c){a.o.L(vza,b.label,c.error);a.wb.delete(b.label)};b.onmessage=function(c){if(c.data instanceof ArrayBuffer)a.O(new I9(b.label,c.data));else{c=c.data;var d=a.Bc.get(b.label);d=d?d.Z():b.label;a.o.info(wza,d,b.label,c);null!=c&&a.O(new J9(a.g,d,b.label,c))}}},wza=l(["dataReceived: participantId="," label="," data=",""]),dza=function(a,b){a.h&&a.j&&a.j.forEach(function(c,
d){var e=b&&b.get(d);c=c.Lb;e&&e.Lb==c||(d=a.H.get(d.toString()))&&d.ic(a.h.has(c)?a.h.get(c):1)})},xza=function(a,b){if(b){var c=!a.h,d=new Map;b.forEach(function(e,f){(f=f.getInfo())&&f.Qa().forEach(function(g){d.set(g,e);c=c||e!==a.h.get(g)})});if(!c&&a.h.size==d.size)return;a.h=d}else{if(!a.h)return;a.h=null}a.H.forEach(function(e,f){return i9(a,f,e)})},i9=function(a,b,c){a.h?(b=g9(a,a.m,b),null!=b&&(a.j&&a.j.has(b)&&(b=a.j.get(b).Lb),c.ic(a.h.has(b)?a.h.get(b):1))):c.ic(1)},Oya=function(a){Da(function(b){if(a.C())return b.cb(0);
K9(a);return u(b,Qv(1E3),1)})};b9.prototype.qf=function(a){a.target==this.ca.g&&K9(this)};
var K9=function(a){a.pc!=a.ca.g.signalingState&&(a.pc=a.ca.g.signalingState,L9(a))},L9=function(a){!a.C()&&a.ca&&"closed"==a.ca.g.signalingState&&(h9(a,2055),a.O(new E9(4,a.g)))},y9=function(a,b){b=b||new Map;a.O(new c7(a.g,b));a.qb&&Lra(a.qb,b)},yza=l(["No ICE servers provided."]),zza=l(["Malformed Ice servers: ",""]),Nya=function(a,b){0==b.length&&a.o.L(yza);b.some(function(c){return!c.url&&!c.urls})&&(a.o.L(zza,JSON.stringify(b)),h9(a,4264))},Aza=l(["Negotiating canceled on ",""]),Bza=l(["Negotiating failed on ",
""]),m9=function(a,b,c){if(b instanceof W7)ZQ(a.o,b).L(Aza,c),L9(a);else throw ZQ(a.o,b).L(Bza,c),a.O(new E9(19,a.g,b+"")),b;},h9=function(a,b,c){a.fa.logImpression(b,{sessionId:a.g,cc:c})},cza=function(a){if(tf)return parseInt(a.track.id,10);if("function"!==typeof a.getSynchronizationSources)return null;a=a.getSynchronizationSources();return 0<a.length?a[0].source:null};
ea.Object.defineProperties(b9.prototype,{localDescription:{configurable:!0,enumerable:!0,get:function(){return this.D?this.D.localDescription:null}}});var t9=tf&&!hq(40)?200:100,eza=new Map([[5E5,"bandwidth 500"],[1E6,"bandwidth 1000"],[15E5,"bandwidth 1500"],[25E5,"bandwidth 2500"],[315E4,"bandwidth 3150"]]),D9=function(a,b){W.call(this,"rb");this.g=a;this.j=b};t(D9,W);var A9=function(a){W.call(this,"vb");this.mb=a};t(A9,W);var p9=function(a,b){W.call(this,"wb");this.Rb=a;this.g=b};t(p9,W);
var G9=function(a,b){W.call(this,"tb");this.sessionId=a;this.g=b};t(G9,W);var e9=function(a,b){W.call(this,"sb");this.sessionId=a;this.message=b};t(e9,W);var F9=function(a){W.call(this,"yb");this.Fh=a};t(F9,W);var J9=function(a,b,c,d){W.call(this,"ob");this.sessionId=a;this.ha=b;this.label=c;this.payload=d};t(J9,W);var I9=function(a,b){W.call(this,"pb");this.label=a;this.buffer=b};t(I9,W);var E9=function(a,b,c){W.call(this,"qb");this.Rb=a;this.sessionId=b;this.g=c};t(E9,W);
var B9=function(a){W.call(this,"mb");this.g=a};t(B9,W);var v9=function(a,b,c){W.call(this,"nb");this.sessionId=a;this.g=b;this.j=c};t(v9,W);var C9=function(a){return"number"===typeof a?a:a?a.getTime():0};function u9(a,b){a.forEach(function(c){var d=c.source;if(c.timestamp){var e=C9(c.timestamp);(!b.has(d)||b.get(d).xk<e)&&b.set(d,{captureTimestamp:c.captureTimestamp,xk:e})}})};var N9=function(){KM.call(this);var a=this;this.o=new WQ("realtime.media.api.webrtc.AudioMonitor");this.j=this.g=null;this.l=new QV(100);this.T(this.l);this.l.h.attach(function(){1E3<$a()-a.m&&M9(a)});this.h=null;this.m=0};t(N9,KM);N9.prototype.ba=function(){this.g&&(this.o.info(Cza,this.g),this.l.stop(),this.g=null,Ss(this.j),this.j=null);Ss(this.j);KM.prototype.ba.call(this)};
var Dza=l(["Registering peer controller=","."]),Eza=function(a,b){a.o.info(Dza,b);var c=new gN(a);a.T(c);c.listen(b,"gb",a.s).listen(b,"mb",a.u).listen(b,"wb",function(){return Ss(c)})},Cza=l(["Unregistering audio capture=","."]),Gza=function(a){if(a.h){var b=a.h;var c;(c=null!==b.g)&&(c=1E3<=tQ(Y(),b.j))&&b.o.info(Fza);c&&(b.g=null);b=b.g;if(null!==b)return b}return a.g?a.g.qa():0},M9=function(a,b,c){c=void 0===c?null:c;a.O(new iU(void 0===b?"amsid":b,Gza(a),c||new Map))};
N9.prototype.s=function(a){this.m=$a();M9(this,a.sessionId,a.g)};N9.prototype.u=function(a){this.O(new jU(a.g))};var O9=function(a){L(this,a,0,-1,null,null)};w(O9,J);var Hza=function(a,b){for(;y(b)&&!x(b);)switch(b.g){case 1:var c=Kk(b);Gl(a,1,c,0);break;default:A(b)}return a};var P9=function(a){L(this,a,0,-1,null,null)};w(P9,J);var qV=function(a){V.call(this);var b=this;this.j=new eL(this);this.g=a;this.l=zt();this.h=zt();Iza(this);this.s=this.j.signal();this.m=this.j.signal();Rs(this,function(){return b.l.promise.then(function(){return b.g.close()})})};t(qV,V);
var Iza=function(a){a.g.binaryType="arraybuffer";a.g.onerror=function(b){a.l.reject(b);a.h.reject(b)};a.g.onopen=function(){a.l.resolve()};a.g.onclose=function(){a.h.resolve()};a.g.onmessage=function(b){b=b.data;b instanceof ArrayBuffer?a.j.R(a.m,{data:new Uint8Array(b)}):"string"===typeof b?a.j.R(a.s,{data:b}):Mb("Unsupported data type received on RTCDataChannel")}};qV.prototype.send=function(a){this.g.send(a)};qV.prototype.isOpen=function(){return"open"==this.g.readyState};
qV.prototype.onClose=function(){return this.h.promise};var Q9=function(a){gN.call(this);var b=this;this.o=new WQ("realtime.media.api.webrtc.AudioProcessorLevelMonitor");this.g=this.h=null;this.j=uQ;var c=new gN(this);this.T(c);c.listen(a,"yb",function(d){d.Fh&&Jza(b,a)})};t(Q9,gN);Q9.prototype.ba=function(){R9(this);gN.prototype.ba.call(this)};
var R9=function(a){Ss(a.h);a.h=null},Kza=l(["Data Channel is opened"]),Lza=l(["Data Channel is closed"]),Jza=function(a,b){R9(a);var c=new qV(pV(b,"audioprocessor",{ordered:!1,maxRetransmits:0}));c.m.attach(function(d){d=new Jk(d.data);for(var e=new P9;y(d)&&!x(d);)switch(d.g){case 1:var f=new O9;B(d,f,Hza);U(e,1,f);break;default:A(d)}null!=M(e,1)?(d=N(R(e,O9,1),1,0),0<=d&&5>=d&&(null===a.g&&a.o.info(Mza,d),a.j=Y(),a.g=d)):a.o.L(Nza)},a);c.l.promise.then(function(){a.o.info(Kza)});Ct(c.h.promise,
function(){c===a.h&&(a.o.info(Lza),R9(a))});a.h=c},Fza=l(["Level is stale. Waiting for new data."]),Mza=l(["Got an initial level: ",""]),Nza=l(["Got unexpected message from Audio Processor Data Channel"]);var S9=function(){this.g=[]};S9.prototype.push=function(a){this.g.push(a)};S9.prototype.extend=function(a){this.g=[].concat(p(this.g),p(a.g))};S9.prototype.search=function(a,b){for(var c=n(this.g),d=c.next();!d.done;d=c.next())if(d=d.value,d.name.test(a)||d.h.test(b))return d.g;return VZ(UZ(TZ(new SZ,Infinity),Infinity),Infinity).ia()};S9.prototype.Se=function(a){for(var b=n(this.g),c=b.next();!c.done;c=b.next())if(c=c.value,c.name.test(a)&&null!=c.Se)return c.Se;return!0};
var Oza=function(a,b,c,d,e,f){this.name=T9(a);this.h=T9(b);this.Se=f;this.g=VZ(UZ(TZ(new SZ,c?c:Infinity),d?d:Infinity),e?e:Infinity).ia()};function T9(a){return a?(a=String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace(/\\\*/g,".*"),new RegExp("^"+a+"$","im")):/1^/};var Qza=function(a){if(!U9){var b=wT(),c=Dt(xK(a,PW).then(function(d){return d.Hf()}).then(y2).then(function(d){var e=d.modelName,f=d.numOfProcessors||La("navigator.hardwareConcurrency")||0;d=new Set(d.features);var g=Je();var h=new cL(a);Je()?(h.g(7117),h=0):(h.g(7116),h=rT(a),h=sT(h,!0)?1:sT(h,!1)?2:0);return vT({Je:e,Qh:f,Xn:d,Po:g,Rm:h})}),function(){return b});U9=vt([c,Qv(2E3,b)]);U9.then(function(d){var e=new cL(a),f=Pza.get(qha(d.Ic));e.g(f);e.g(iT(d,1)?7137:7138);e.g(iT(d,2)?7139:7140)})}return U9},
U9=null,Pza=new Map([[1,7065],[2,7095],[3,7066]]);var V9=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};w(V9,W4);var Rza=function(){if(Ye){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(fe))?a[1]:"0"}return Xe?(a=/10[_.][0-9_.]+/,(a=a.exec(fe))?a[0].replace(/_/g,"."):"10"):$e?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(fe))?a[1]:""):af||bf||cf?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(fe))?a[1].replace(/_/g,"."):""):""}();var W9=function(a){this.C=xK(a,PW);this.u=xK(a,$K);this.o=new WQ("realtime.media.api.webrtc.SystemInfo");this.j=new X4;this.l=new V9;this.g={};this.h={};this.s=a;a=this.m.bind(this);var b=null;if(this.j.isAvailable()){var c=this.j.get("scp"),d=null!=c;try{b=JSON.parse(c)}catch(e){d=!1}!d&&a&&(b=a())}else this.o.pa(Sza);if(a=b)this.g=a;Tza(this);Uza(this)},Y9=function(){if(null!=X9)return X9;var a=navigator.plugins,b;for(b in a)if("Chromium PDF Viewer"==a[b].name)return X9=!0;return X9=!1},Z9=function(a){return a.g.archName&&
(rd(a.g.archName,"aarch")||rd(a.g.archName,"arm"))?!0:-1!=Ve.indexOf("armv7l")||-1!=Ve.indexOf("aarch64")},Vza=l(["Cannot get cpuFlags from null."]),Xza=function(a,b){return null==b?(a.o.L(Vza),-1):(a=b.features)?a.reduce(function(c,d){return c|(Wza.get(d)||0)},0):b.cpuHasSSE2?2:-1},Yza=l(["Error in getting cpu info from extension."]),Tza=function(a){a.C.then(function(b){return b.Hf()}).then(y2).then(function(b){a.g=b;a.j.isAvailable()?a.j.set("scp",Vs(b)):a.o.pa(Zza,"scp");b=KQ.Tb();var c={archName:a.g.archName,
features:a.g.features,modelName:a.g.modelName,numOfProcessors:a.g.numOfProcessors},d="cpuInfo";b.g.has(d)&&(mg(b.o,"Already registered a diagnostics data callback for key '"+d+"'."),d=NQ(b,d));b.h.set(d,c)},function(b){ZQ(a.o,b).pa(Yza)})},$za=l(["Got getHardwarePlatformInfo: ",""]),aAa=l(["Got getHardwarePlatformInfo from extension: ",""]),bAa=l(["Could not get getHardwarePlatformInfo from extension: ",""]),Uza=function(a){$9(a)?a.o.info($za,JSON.stringify(a.h)):a.C.then(function(b){return b.g.rl()}).then(function(b){$9(a)||
(a$(a,b.value),b$(a,5548),a.o.info(aAa,JSON.stringify(a.h)))},function(b){$9(a)||(a$(a,null),b$(a,5549,b.value),a.o.info(bAa,b.value))})},cAa=l(["Unable to access session storage."]),dAa=l(["HardwarePlatformInfo corrupt in session storage."]),$9=function(a){var b=null;if(!a.l.isAvailable())return a.o.pa(cAa),!1;var c=a.l.get("hpi");if(!c||"{}"===c)return!1;try{b=JSON.parse(c)}catch(d){return ZQ(a.o,d).pa(dAa),!1}a.h=b;return!0},eAa=l(["Error in saving hardwarePlatformInfo to session storage."]),a$=
function(a,b){a.h=b||{};a.l.isAvailable()?a.l.set("hpi",Vs(a.h)):a.o.pa(eAa)};W9.prototype.m=function(){return Z9(this)?{archName:"armv7l",modelName:"Unknown ARM device",numOfProcessors:2}:{archName:"x86",modelName:"Unknown x86 device",numOfProcessors:4}};
var Zza=l(["Error in saving "," to local storage."]),Sza=l(["Error in retrieving cpu info from local storage."]),b$=function(a,b,c){a.u.then(function(d){d.g(b,{cc:c})})},Wza=new Map([["neon",1],["sse2",2],["ssse3",4],["sse4_1",8],["sse4_2",16],["avx",32]]),X9=null;var c$=function(a,b,c,d,e,f){var g=new FormData;g.append("prod",Xe?"Google_Talk_Plugin_Mac":Ye?"Google_Talk_Plugin":"Google_Talk_Plugin_Linux");g.append("ver",(f?f:"unknown")+"-calls");g.append("email",b);g.append("type","log");g.append("log",new Blob([a]),e);c&&g.append("participant_log_id",c);if(a=d)try{a=!!navigator.sendBeacon&&navigator.sendBeacon("https://clients2.google.com/cr/report",g)}catch(m){a=!1}if(a)return Hda();try{var h=new dK;gw("https://clients2.google.com/cr/report",function(m){m=
m.target;qw(m)?h.callback(new qK(m.Ha(),sw(m))):(m=Error(m.u+" "+m.Ha()+" "+sw(m)),h.g(m))},"POST",g);return h}catch(m){return Jda(m)}},qK=function(a,b){this.h=a;this.g=b};var d$=function(a,b){Lv.call(this);this.G=a||4194304;this.K=b||10485760;this.g=this.l=this.j=this.u=this.H=null;this.h=this.s=0;this.m=[]};t(d$,Lv);var e$=function(a){a.j||(a.j=new Uint8Array(a.G+a.K),a.l=a.j.subarray(0,a.G),a.g=a.j.subarray(a.G))};d$.prototype.open=function(a,b,c){if(!this.H){var d=zt();this.H=d.promise;a=fAa(a,b,!!c);b=gAa(a);b=hAa(this,b);iAa(this,b,a).then(function(e){this.u=e;this.D();d.resolve()},Ya(d.reject,d),this)}return this.H};
var jAa=function(a){return"undefined"!==typeof TextEncoder?(f$||(f$=new TextEncoder),f$.encode(a)):g$(qk(a))},g$=function(a){if("function"===typeof Uint8Array.from)return Uint8Array.from(a);a=Object(a);if(!a.length)return new Uint8Array(0);for(var b=new Uint8Array(a.length),c=0;c<b.length;c++)b[c]=a[c];return b};d$.prototype.write=function(a){Qb(a,function(b){this.m.push(jAa(b))},this);this.D()};d$.prototype.ec=function(){return 0==this.h&&0==this.m.length};
var h$=function(a){var b=0,c=[];if(a.j&&a.h>a.j.length){for(var d=a.l.length;d&&127<a.l[d-1];)d--;for(var e=a.g.length,f=a.s;e&&127<a.g[f];)f++,e--,f==a.g.length&&(f=0);c.push(a.l.subarray(0,d));b+=d;d=g$(qk("...\r\n\r\n##### LOG TRUNCATED - REMOVED "+(a.h-d-e)+" BYTES#####\r\n\r\n..."));c.push(d);b+=d.length;f+e<=a.g.length?c.push(a.g.subarray(f,f+e)):(c.push(a.g.subarray(f)),c.push(a.g.subarray(0,e-(a.g.length-f))));b+=e}else a.j&&a.h&&(b+=a.h,c.push(a.j.subarray(0,a.h)));a.m.length&&Qb(a.m,function(m){c.push(m);
b+=m.length});var g=new Uint8Array(b),h=0;Qb(c,function(m){g.set(m,h);h+=m.length});return g},fAa=function(a,b,c){var d=zt();a.then(function(e){e.getFile(b,c?{}:{create:!0},Ya(d.resolve,d),Ya(d.reject,d))},Ya(d.reject,d));return d.promise},gAa=function(a){var b=zt();a.then(function(c){c.file(Ya(b.resolve,b),Ya(b.reject,b))},Ya(b.reject,b));return b.promise},hAa=function(a,b){var c=zt();b.then(function(d){e$(this);this.h=d.size;if(this.h>this.j.length){var e=zt(),f=new FileReader;f.onload=Ya(function(){this.l.set(new Uint8Array(f.result));
e.resolve()},this);f.readAsArrayBuffer(d.slice(0,this.l.length));var g=zt(),h=new FileReader;h.onload=Ya(function(){this.g.set(new Uint8Array(h.result));g.resolve()},this);h.readAsArrayBuffer(d.slice(d.size-this.g.length,d.size));c.resolve(xt([e.promise,g.promise]))}else{var m=new FileReader;m.onload=Ya(function(){var q=new Uint8Array(m.result);this.j.set(q);this.h>this.l.length&&(this.s=(this.h-this.l.length)%this.g.length);c.resolve()},this);m.readAsArrayBuffer(d)}},Ya(c.reject,c),a);return c.promise},
iAa=function(a,b,c){var d=zt();wt([b,c]).then(function(e){e[1].createWriter(Ya(function(f){f.seek(f.length);f.onwriteend=Ya(this.D,this);d.resolve(f)},this),Ya(d.reject,d))},Ya(d.reject,d),a);return d.promise};
d$.prototype.D=function(){this.u&&this.u.readyState!=this.u.WRITING&&0<this.m.length&&(this.u.write(new Blob(this.m)),e$(this),Qb(this.m,function(a){var b=this.h;this.h+=a.length;if(b<this.j.length){var c=a.subarray(0,Math.min(this.j.length-b,a.length));this.j.set(c,b);a=a.subarray(c.length)}for(b=this.g.length-this.s;a.length;)c=a.subarray(0,Math.min(b,a.length)),this.g.set(c,this.s),a=a.subarray(c.length),this.s=c.length==b?0:this.s+c.length,b=this.g.length},this),this.m.length=0)};var f$=null;var i$=function(){this.g=new X4;this.h=new Vn},k$=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}for(a=0;a<b.length;a++)b[a]^=j$[a%j$.length];return"wrplumplu-"+Xk(b)},l$=function(a,b,c){var d=$a()-432E6;b=a.g.get(k$(b));if(null!=b)try{var e=Us(b);if("cl:plu"==e[0]){var f=new YJ(e),g=Sb(S(f,ZJ,1),function(h){var m=M(h,1),q=M(h,3),r=M(h,2);return null!=m&&null!=r&&null!=q?0<m&&q>d&&M(h,2)!=c:!1});Nl(f,1,g);return f}}catch(h){mg(a.o,"Invalid pending JS log upload storage: "+
b,h)}return new YJ};i$.prototype.add=function(a,b,c){og(this.o,"Recording pending upload for session "+b+" for "+a);this.h.add(b);var d=l$(this,a,b),e=S(d,ZJ,1);var f=new ZJ;f=P(f,1,5);b=P(f,2,b);c=P(b,4,c);b=$a();c=P(c,3,b);ec(e,void 0,0,c);Nl(d,1,e);this.g.set(k$(a),d.va())};i$.prototype.remove=function(a,b){og(this.o,"Removing record for session "+b+" for "+a);b=l$(this,a,b);this.g.set(k$(a),b.va())};
var kAa=function(a,b){var c=l$(a,b),d=S(c,ZJ,1),e=Yb(d,function(q){q=M(q,2);return!this.h.contains(q)},a);if(0<=e){var f=d[e],g=M(f,2),h=M(f,4),m=M(f,1);m--;P(f,1,m);0>=m&&gc(d,e);Nl(c,1,d);a.g.set(k$(b),c.va());og(a.o,"Signaling session "+g+" for "+b+" to re-upload");a.h.add(g);return{sessionId:g,Kc:h}}return null};Na(i$);var j$=[31,37,41,43,47,53,61,67,71,73];i$.prototype.o=jg("realtime.media.logging.legacy.PendingLogUploadManager");var m$=function(){this.m="";this.G=0;this.D=null;this.u=new d$;this.g={};this.C=lAa();Dt(this.C,Ma);this.j=i$.Tb();this.s=this.h=null;this.K=window.requestIdleCallback||null;this.l=!1},n$=function(a,b,c,d){var e=$a();null==a.D&&(a.D=e);d=null!=d?d:8;if(!(d<a.G))if(c="["+((e-a.D)/1E3).toFixed(3)+"s]"+d+" "+c+"\n",null!=b)a=a.g[b],null!=a&&a.write([c]);else{for(b in a.g)a.g[b].write([c]);null==b&&a.u.write([c])}},mAa=function(a,b,c,d){a.j.add(c,b,d);return o$(a,b,c,d)},o$=function(a,b,c,d){var e="hangouts-call-"+
b+".log",f=a.g[b];if(null!=f)return a.l=!0,lK(kK(c$(h$(f),c,d,!0,e,a.m),Ya(a.H,a,b,c)),Ya(a.F,a,b,c));f=new d$;var g=new dK;f.open(a.C,e,!0).then(function(){if(f.ec())n$(this,this.h,"JS log for "+b+" has no content",9),g.callback(new qK(null,"No log content for session "+b));else{var h=lK(kK(c$(h$(f),c,d,!1,void 0,this.m),Ya(this.H,this,b,c)),Ya(this.F,this,b,c));jK(h,g.callback,g.g,g);this.l=!0}},function(h){this.F(b,c,h);g.g(h)},a);return g},lAa=function(){var a=Fa.requestFileSystem||Fa.webkitRequestFileSystem;
if(!a)return st("Filesystem API not accessible");var b=zt();a(window.TEMPORARY,0,function(c){c.root.getDirectory("log_v2",{create:!0},Ya(b.resolve,b),Ya(b.reject,b))},Ya(b.reject,b));return b.promise};m$.prototype.Ab=function(a){var b=zt(),c=a.createReader(),d=[],e=0,f=function(){c.readEntries(function(g){g.length?(e++,d=d.concat(g),100<e?b.resolve(d):f()):b.resolve(d)},function(g){b.reject(g)})};f();return b.promise};
m$.prototype.Y=function(){var a=new Date($a()-432E6),b=zt();this.C.then(this.Ab,null,this).then(function(c){var d={};Qb(c,function(e){d[e.name]=!0});Qb(c,function(e){var f=function(){delete d[e.name];Oc(d)&&b.resolve()};e.getMetadata(function(g){g.modificationTime<a?e.remove(f,f):f()},f)})},Ya(b.resolve,b));return b.promise};
m$.prototype.H=function(a,b,c){200==c.h?(n$(this,this.h,"JS log upload for "+a+" successful: "+c.g),this.j.remove(b,a)):n$(this,this.h,"JS log upload for "+a+" failure "+c.h+": "+c.g,10);this.l=!1};m$.prototype.F=function(a,b,c){n$(this,this.h,"JS log upload for "+a+" failed: "+c,10);this.l=!1};var nAa=function(a,b){return null==a.s?(a.s=new dK,a.N(b,0),a.s):null};m$.prototype.N=function(a,b){Ov(Ya(this.ea,this,a,b),13E3)};
m$.prototype.ea=function(a,b){"function"===typeof this.K?this.K.call(null,Ya(this.V,this,a,b)):this.V(a,b)};m$.prototype.V=function(a,b){var c=kAa(this.j,a);if(null!=c){var d=c.sessionId;c=c.Kc;n$(this,this.h,"Retrying JS log upload for "+d);lK(kK(o$(this,d,a,c),Ya(this.N,this,a,c,b+1)),Ya(this.W,this,a,b))}else this.W(b)};m$.prototype.W=function(a){this.s.callback(a);Ov(this.Y,13E3,this)};Na(m$);var p$=new Set,oAa=[["Feature disabled.",5519],["Unlimited size disallowed.",5886],["Max size too small.",5887],["Excessively large max log size.",5888],["Excessively large output period (ms).",5889],["Illegal web-app ID.",5890],["Unknown or inactive peer connection.",5891],["Already logging.",5892],["Unspecified error.",5893],["RPH already dead.",5903],["Could not create file.",5904],["Used history file path.",5905],["Used log file path.",5906],["Disabled for browser context.",5907],["No additional active logs allowed.",
5908]],qAa=function(a){var b=this;this.o=new WQ("realtime.media.api.webrtc.LoggingManager");this.H=xK(a,$K);this.N=xK(a,aL,!0);this.h=m$.Tb();this.h.G=8;this.C=xK(a,PW);this.u=null;this.K=new Set;this.V=new Map;this.G=new Map;this.s=new Set;this.g=!1;this.l=this.m=this.j=null;this.D=this.F=!1;xv(fN.Tb(),["E","F","G"],function(){b.h.l&&pAa(b);q$(b)})},rAa=l(["Logging manager initialized with userId: ",""]),sAa=function(a,b){a.o.info(rAa,b);a.u=b;a.h.m="11.0.0.0";if(b){var c=nAa(a.h,b);null!=c&&c.then(function(d){0<
d&&r$(a,2679)});r$(a,5184,S(l$(a.h.j,b),ZJ,1).length)}s$(a);rt(7)},tAa=l(["enableRtpHeaderDump called with sessionId="," and enable=",""]),uAa=l(["Ignoring enableRtpHeaderDump call for sessionId="," as header dump already in state with enable=",""]),vAa=l(["Delaying rtp header dump request until native WebRTC logging has started."]),wAa=l(["enableRtpHeaderDump called when native logging is not active or pending"]),xAa=l(["RTP header dump succeeded for sessionId="," and enable=",""]),yAa=l(["Error setting RTP header dump for sessionId=",
" and enable=",". Error=",""]),t$=function(a,b,c){a.o.info(tAa,b,c);a.D==c?a.o.info(uAa,b,c):a.g?a.C.then(function(d){H2(d,c).then(function(){a.o.info(xAa,b,c);a.D=c},function(e){a.o.L(yAa,b,c,e.value);throw e;})}):a.j?(a.o.info(vAa),a.j.then(function(){return t$(a,b,c)})):a.o.L(wAa)},zAa=l(["Starting logging for sessionId=",""]),AAa=l(["Starting WebRTC event logging for sessionId=",", peerId=",""]),BAa=function(a,b,c){Da(function(d){a.o.info(AAa,b,c);a.G.set(b,c);return u(d,u$(a,b),0)})},CAa=l(["Skipping stopLogging call for sessionId=",
" as logging is not active for this session."]),DAa=l(["Stopping logging for sessionId=",""]),EAa=l(["Uploading logs for ",""]),FAa=l(["Failed to upload beacause of missing user identifier."]),GAa=l(["################# Save #################"]),HAa=function(a,b){if(p$.has(b)){a.o.info(DAa,b);p$.delete(b);r$(a,3221);var c=a.s.has(b);a.s.delete(b);c?(a.o.info(EAa,b),r$(a,2494),c=v$(a).then(function(e){if(a.u)return a.o.info(GAa),mAa(a.h,b,a.u,e).then(function(){r$(a,2495)},function(){r$(a,2496)});a.o.L(FAa)})):
c=rt();var d=q$(a);Ct(wt([c,d]),function(){var e=m$.Tb(),f=new Date;n$(e,b,"### Stop ["+f.toString()+"] ### "+b);n$(e,b,"Current time is "+f.toUTCString());delete e.g[b]})}else a.o.info(CAa,b)},IAa=l(["Log upload requested for sessionId=",""]),JAa=function(a,b){Da(function(c){a.o.info(IAa,b);a.s.add(b);v$(a).then(function(d){a.u&&a.h.j.add(a.u,b,d)});w$(a);return u(c,u$(a,b),0)})},x$=function(a,b){var c=a.V.get(b);c||(c=zt(),a.V.set(b,c));return c},KAa=l(["Requesting native WebRTC logging"]),LAa=
l(["Native WebRTC logging started"]),MAa=l(["Native WebRTC logging failed to start"]),s$=function(a){a.g||a.j||(a.o.info(KAa),r$(a,4732),a.j=a.C.then(function(b){return Ct(bra(b).then(function(){a.g=!0;r$(a,4733);a.o.info(LAa);w$(a)},function(c){var d=c.value;r$(a,4734);ZQ(a.o,d).L(MAa);throw c;}),function(){a.j=null})}))},u$=function(a,b){var c;return Da(function(d){if(!a.s.has(b))return d.return();c=a.G.get(b);if(!c||a.K.has(b))return d.return();a.K.add(b);return u(d,NAa(a,b,c),0)})},OAa=l(["WebRTC event logging requested for ",
", peer id: ",""]),PAa=l(["WebRTC event logging started, logId: ",""]),QAa=l(["WebRTC event logging failed unexpectedly"]),RAa=l(["WebRTC event logging start error: ",""]),SAa=l(["WebRTC event logging failed to start"]),NAa=function(a,b,c){var d,e,f,g,h,m,q,r,z,D,C;return Da(function(K){switch(K.g){case 1:return a.o.info(OAa,b,c),u(K,a.C,2);case 2:return d=K.h,sa(K,3),u(K,d.g.sl(c).then(d.h),5);case 5:e=K.h;f=e.value.logId;x$(a,b).resolve(f);r$(a,5520);a.o.info(PAa,f);ta(K,0);break;case 3:g=ua(K);
if(!(g instanceof x2))return r$(a,5518),ZQ(a.o,g).pa(QAa),K.return();h=g.value;m=n(oAa);for(q=m.next();!q.done;q=m.next())if(r=q.value,z=n(r),D=z.next().value,C=z.next().value,h.includes(D))return r$(a,C),a.o.info(RAa,h),K.return();r$(a,5517);ZQ(a.o,g).L(SAa);K.g=0}})},TAa=l(["Ignoring native WebRTC logging stop request due to active session ids= ",""]),UAa=l(["Stopping native WebRTC logging."]),VAa=l(["Request to stop native WebRTC logging succeeded"]),WAa=l(["Request to stop native WebRTC logging failed with error= ",
""]),q$=function(a){if(a.m)return a.m;if(a.j)return a.j.then(function(){q$(a)});if(!a.g)return rt();if(0==!p$.size)return a.o.info(TAa,p$.keys()),rt();a.o.info(UAa);a.m=a.C.then(function(b){a.D&&H2(b,!1);return Ct(cra(b,a.l,a.F).then(function(){a.o.info(VAa)},function(c){a.o.L(WAa,c.value);throw c;}),function(){a.g=!1;a.l=null;a.m=null;a.F=!1})});return a.m},XAa=l(["Requesting upload of the native WebRTC logs"]),w$=function(a){if(!a.F&&a.g&&a.l&&a.s.has(a.l)){a.o.info(XAa);a.F=!0;var b=a.l;r$(a,4735);
v$(a).then(function(c){return YAa(a,b,c)})}},ZAa=l(["Native uploadLogOnRenderClose succeeded."]),$Aa=l(["Native uploadLogOnRenderClose failed with error=",""]),YAa=function(a,b,c){a.C.then(function(d){dra(d,b,c).then(function(){r$(a,4736);a.o.info(ZAa)},function(e){r$(a,4737);a.o.L($Aa,e.value);throw e;})})},r$=function(a,b,c){a.H.then(function(d){d.logImpression(b,{gd:c})})},pAa=function(a){a.H.then(function(b){b.g(5183,{cc:void 0})})},v$=function(a){return a.N.then(function(b){return b.h})};var y$=function(a,b,c,d,e){xT.call(this);var f=this;this.o=new WQ("realtime.media.api.webrtc.LocalSession");this.h=a;this.g=b;this.ea=c;this.W=zt();this.m=e;x$(this.m,a).promise.then(function(g){var h=new qH,m=new hH;P(m,7,g);U(h,7,m);f.W.resolve(h)});this.Y=new gN(this);this.T(this.Y);this.Y.listen(this.g,"ob",this.Qx).listen(this.g,"pb",this.Px).listen(this.g,"qb",this.Rx).listen(this.g,"rb",this.Sx).listen(this.g,"sb",this.Tx).listen(this.g,"tb",this.Ux).listen(this.g,"vb",this.Wx).listen(this.g,
"wb",this.Vx).listen(this.g,"yb",this.Xx).listen(this.g,"nb",this.Ox);this.j="INITIAL";this.s=new Set;this.D=new Set;this.G=null;this.u=void 0;this.N=this.l=null;this.ja=wT();d.then(function(g){return f.ja=g})};t(y$,xT);var z$=function(a,b,c,d){a.j!=b&&(a.j=b,"number"!==typeof a.u&&"number"===typeof c&&(a.u=c),a.O(new oQ(a.j,a.u,d)))};y$.prototype.Ao=function(){return this.W.promise};y$.prototype.Ho=function(){return this.ja};y$.prototype.getState=function(){return this.j};
y$.prototype.to=function(){return this.l?this.l.promise:null};
var aBa=l(["Called initialize in a bad state."]),Ika=function(a){return"INITIAL"!=a.j?(a.o.L(aBa),st("Cannot initialize at "+a.j+" state")):rt(Sya(a.g))},bBa=l(["Called prepare in a bad state."]),cBa=l(["Prepare called before local offer has been generated."]),Aia=function(a){if("INITIAL"!=a.j)return a.o.L(bBa),!1;if(!a.g.localDescription)return a.o.L(cBa),!1;var b=a.m,c=a.h;b.o.info(zAa,c);p$.add(c);r$(b,3220);var d=m$.Tb();d.h=c;d.g[c]=d.u;d.u=new d$;d.g[c].open(d.C,"hangouts-call-"+c+".log");var e=
new Date;n$(d,c,"### Start ["+e.toString()+"] ### "+c);n$(d,c,"Current time is "+e.toUTCString());n$(d,c,"Google Talk Plugin Version: "+d.m);n$(d,c,"User agent: "+fe);b.l||(b.l=c,b.g?w$(b):s$(b));Xya(a.g);z$(a,"STARTING");return!0},dBa=l(["Called start in a bad state."]),eBa=l(["Starting with remote session id=",""]);y$.prototype.start=function(a){if("STARTING"!=this.j)return this.o.L(dBa),!1;this.o.info(eBa,a.j);z$(this,"INPROGRESS");NV(this,a);return!0};var fBa=l(["Cannot start WebRTC event logging - peer connection id is not found."]);
y$.prototype.connect=function(){var a=this;"PAUSED"!=this.getState()&&H9(this.g);kza(this.g);var b=CQ(zQ("MKhH1b"));tf&&hq(72)&&!b&&this.g.ca.l.promise.then(function(c){c?BAa(a.m,a.h,c):a.o.pa(fBa)})};var gBa=l(["Update called before started."]),hBa=l(["Update called after stopped."]);
y$.prototype.update=function(a){switch(this.j){case "INITIAL":return this.o.L(gBa),Promise.reject(Error("Update called before started."));case "STOPPED":return this.o.L(hBa),Promise.reject(Error("Update called after stopped."))}return NV(this,a)};y$.prototype.stop=function(a,b){if("STOPPED"==this.j)return!1;z$(this,"STOPPED",a,b);this.g.stopSession(this.u,b);HAa(this.m,this.h);return!0};y$.prototype.pause=function(){if("INPROGRESS"!=this.getState())return!1;qza(this.g);z$(this,"PAUSED");return!0};
y$.prototype.resume=function(){if("PAUSED"!=this.getState())return!1;H9(this.g);z$(this,"INPROGRESS");return!0};
var nV=function(a){JAa(a.m,a.h)},iBa=l(["Add local stream called after ended."]),jBa=l(["Capture "," has already been added."]),kBa=l(["A stream for capture of type: ",", was not created."]),Tia=function(a,b){var c=b.g.Ra;switch(a.j){case "STOPPED":case "FINISHED":return a.o.L(iBa),null}if(a.s.has(b))return a.o.pa(jBa,b),null;b.hb(a.h);var d=a.g;d.o.info(Aya,b);d.Aa.add(b);d.l.listen(b,"Q",d.Dc);"a"===b.ga()&&d.rc&&d.l.listen(b,"O",d.pd);if(d.Oa){var e=d.Oa;if("a"===b.ga()){var f=e.h;f===e.h&&null!==
f&&lN(e,f,fW,e.m);e.h=b;e.listen(b,fW,e.m)}}d=(e=eW(b,d.g))?j9(d,e,b):l9(d,b);if(null==d)return a.o.pa(kBa,c),null;a.s.add(b);return d},tka=l(["Remove local stream called after stopped."]);y$.prototype.Af=function(a){if(this.ea.jk){var b=new Set;a.filter(function(c){return"v"===c.ga()&&c.h&&c.l}).forEach(function(c){return b.add(c.l)});lBa(this,b)&&(this.D=b,this.G&&NV(this,this.G))}};
var wV=function(a,b){if("INPROGRESS"==a.j){for(var c={},d=n(a.s),e=d.next();!e.done;c={li:c.li},e=d.next())if(c.li=e.value,e=b.find(function(f){return function(g){return g.ga()==f.li.g.Ra}}(c)))e=eP(new $O(e),a.h).ia(),nna(c.li,e);b=b.filter(function(f){return f.h});rza(a.g,b)}};y$.prototype.yl=function(a){xza(this.g,a)};var mBa=l(["enableRtpHeaderDump called with enable= "," for sessionId= ",""]),Bia=function(a,b){a.o.info(mBa,b,a.h);t$(a.m,a.h,b)};k=y$.prototype;k.Bm=function(){return!tf||hq(59)};
k.Sx=function(a){this.O(new yT(a.g,a.j))};k.wq=function(){return!0};k.Ux=function(a){a.sessionId==this.h&&this.O(new zT(a.g))};k.Tx=function(a){a.sessionId==this.h&&this.O(new GR(a.message))};k.Wx=function(a){this.O(new AT(a.mb))};k.Vx=function(a){this.O(new BT(0,a.Rb,a.g))};k.Rx=function(a){a.sessionId==this.h&&this.stop(a.Rb,a.g)};k.Xx=function(a){this.l&&a.Fh&&(Pv(this.N),this.l.resolve(),this.l=null);this.O(new DT(a.Fh))};
k.Qx=function(a){this.h==a.sessionId&&("collections"===a.label?this.H.R(this.K,new JJ(JSON.parse(a.payload))):this.O(new CT(a.ha,a.label,a.payload)))};k.Px=function(a){"collections"===a.label&&this.H.R(this.K,yda(a.buffer))};k.Ox=function(a){this.h==a.sessionId&&this.O(new ET(a.g,a.j))};k.Mq=function(){null==this.l&&(this.l=zt(),this.N=Ov(this.oa,25E3,this))};k.pp=function(a){var b=this.g;if(b.gf){var c=b.qc;b.qc=a>=b.hf;b.me=a;c!==b.qc&&n9(b)}};
var nBa=l(["Session "," setting remote descriptions: ",""]),NV=function(a,b){if(null!=(b.l.get("collections")||null)){var c=EP(b).map(a.sa,a),d=b.ab;null==d&&(d=[PO(OO("d"),101).Yf("google-data").ia()],d=new iP("d",d,[]));d=rP(d,nP(d).concat(c));b=GP(b,d)}a.G=b;if(a.ea.jk&&b.ra){c=[];d=n(nP(b.ra));for(var e=d.next();!e.done;e=d.next())e=e.value,a.D.has(e.g)&&c.push(e);b=CP(b,rP(b.ra,c))}a.o.info(nBa,a.h,Vs(b.Ba()));return pza(a.g,b)};
y$.prototype.sa=function(a){var b=a.Jf()||"local_push_channel",c=a.getChannelId()||"";return zO(wO(vO(uO(tO(new sO,"d"),c),b),a.getChannelId()||""),a.Jf()).ia()};var lBa=function(a,b){if(a.D.size!==b.size)return!0;a=n(a.D.values());for(var c=a.next();!c.done;c=a.next())if(!b.has(c.value))return!0;return!1};y$.prototype.oa=function(){this.l.reject(Error("Session handoff timed out."));this.l=null};var A$=function(a){wW.call(this);this.T((new gN(this)).listen(a,"Fa",this.D))};t(A$,wW);A$.prototype.D=function(a){if(this.g&&(this.g||null).za()){var b=(this.g||null).za();if(b instanceof AZ)xW(this,a.j/5);else if(b.s()==a.sessionId){b=n(b.getInfo().Qa());for(var c=b.next();!c.done;c=b.next())if(c=c.value,a.g.has(c)){xW(this,a.g.get(c).volume/5);return}xW(this,0)}}else xW(this,0)};var B$=function(){V.call(this);this.g=new Map};t(B$,V);var oBa=function(a,b){a.g.set(b.h,b);var c=new gN(a);a.T(c);c.listen(b,"ga",function(d){"FINISHED"==d.state&&(this.g.delete(b.h),Ss(c))})};var C$=chrome.i18n.getMessage("4464119502738861996"),D$=tW("__synthetic_default_speaker_device__");D$.g=C$;D$.h=C$;var E$=D$.j("__synthetic_default_speaker_device__");E$.l=!0;E$.ia();jg("realtime.media.audio.output.DefaultAudioPlayer");var F$=function(a){this.j=a;this.h=this.g=!1;this.o=new WQ("realtime.media.audio.output.DefaultAudioPlayer")};F$.prototype.play=function(a){var b=this;return G$(this,{jo:function(){return H$(b,a)},loop:!1,Tn:!0})};F$.prototype.loop=function(a){var b=this;return G$(this,{jo:function(){return H$(b,a)},loop:!0,Tn:!0})};
var pBa=l(["Playing ",""]),qBa=l(["Autoplay of "," was prevented"]),rBa=l(["Playing status of "," is unknown"]),G$=function(a,b){var c=b.jo,d=b.loop,e=b.Tn;if(a.g)return rt();var f=c();b=new nt(function(g,h){f.loop=d;f.onended=function(){e&&(f.src="");g()};f.onerror=h;f.currentTime=0;var m=f.play();m?m.then(function(){a.o.info(pBa,f.src);a.h=!0},function(q){q=Mf(q,"Autoplay was prevented");ZQ(a.o,q).L(qBa,f.src);h(q)}):a.o.L(rBa,f.src)});Dt(b,function(g){g instanceof mt&&f.pause()});return b},H$=
function(a,b){a=Dg(a.j,"AUDIO");b=new ur(b.prefix+((a.canPlayType("audio/ogg")?b.VP:void 0)||b.UP||b.jQ));b.yc||(vr(b,"https"),b.yc="www.gstatic.com");a.src=b.toString();return a};var I$=function(a){DW.call(this,a);this.o=new WQ("realtime.media.api.webrtc.Delegate");this.C=new qAa(this.ka);this.g=new N9;this.s=new S9;a=this.ka.get(SL).g;this.D=S8(this.ka);this.F=new p7(a,this.D,this.ka);this.u=new B$;this.l=0;this.j=this.h=!0;this.fa=new cL(this.ka)};t(I$,DW);
I$.prototype.jp=function(){var a=this;if(Pe)return null;this.fa.logImpression(6270);var b=this.m.m.then(function(c){sAa(a.C,M(c.g,7));c=R(c.g,zL,17)?S(R(c.g,zL,17),AL,3)||[]:[];a.s=sBa(c);return 7});this.fa.logImpression(4163);xK(this.ka,aV,!0).then(function(c){return qia(c,a.g)});xK(this.ka,mU,!0).then(function(c){return eia(c,a.g)});b=[b,tBa(this)];return wt(b).then(function(c){a.fa.logImpression(6271);return uBa(a,c)},function(c){a.fa.logImpression(6272);throw c;})};
var uBa=function(a,b){(b=b.find(function(c){return 7!=c}))||(b=7);return a.l=b};I$.prototype.mj=function(){return Pe?null:hla.includes(this.l)};var tBa=function(a){return uma().then(function(b){for(var c=0,d=!1,e=0,f=!1,g=0;g<b.length;g++)"audioinput"==b[g].kind?(c++,d=d||!td(De(b[g].label))):"videoinput"==b[g].kind&&(e++,f=f||!td(De(b[g].label)));a.h=0<c;a.j=0<e;d=d||!a.h;f=f||!a.j;if(d||f){if(!d)return 5;if(!f)return 4}else return 6;return 7})};
I$.prototype.hp=function(){if(!Pe){var a=new W9(this.ka),b=new qH,c=new hH;P(c,1,"11.0.0.0");U(b,7,c);c=new mH;var d="other";Ye?d="windows":Xe?d=-1!=Ve.indexOf("Intel")?Ie()&&0<Fa.navigator.maxTouchPoints?"ipados":"mac":"mac-ppc":0<=fe.indexOf("CrOS")?d="cros":Ze&&(d="linux");P(c,1,d);P(c,14,Rza);d="Other";Oe?d="Opera":Pe?d="Internet Explorer":pf?d="Firefox":ie("Edg/")?d="Chromium-based Edge":tf?d=Y9()?"Chromium-based":"Chrome":uf&&(d="Safari");P(c,15,d);P(c,16,gq);Y9()&&b$(a,4749);Z9(a)?P(c,5,"ARM"):
(P(c,2,6),P(c,3,14),P(c,5,"GenuineIntel"),d=Xza(a,a.g),P(c,18,d));P(c,25,a.g.modelName);P(c,6,a.g.numOfProcessors);P(c,19,a.h.model);P(c,26,a.h.manufacturer);void 0===qT&&(qT=xha(a.s));if(a=qT)d=Ol(c,24,void 0,lH),P(d,1,6),P(d,2,a.substring(0,100));U(b,8,c);return b}return null};var vBa=function(a,b,c){b&&(b=new Q9(c),a=a.g,a.h=b,a.T(a.h))};
I$.prototype.fp=function(a,b,c){if(this.mj()){var d=new b9(this.fa,b,this.F,c,function(e){var f=S8(a);return new U8(a,f,e)},xK(a,iR));Eza(this.g,d);vBa(this,c.Qi(),d);b=new y$(b,d,c,Qza(this.ka),this.C);b.T(d);oBa(this.u,b);return b}return null};I$.prototype.gp=function(){return this.mj()?new A$(this.g):null};I$.prototype.Yn=function(){if(this.mj()){var a=this.ka.get(SL).g;return new F$(a)}return null};
(function(a){var b=BW,c=a.priority,d=~oc(b.g,function(e){return e.priority<c?-1:1});b.g.splice(d,0,a)})({ed:I$,priority:6});var sBa=function(a){var b=new S9;a.forEach(function(c){td(De(M(c,1)))&&td(De(c.getName()))||b.push(new Oza(c.getName(),M(c,1),M(c,3),M(c,4),M(c,5),O(c,6,!0)))});return b};var J$=function(a,b){this.g=a;this.h=b};J$.prototype.execute=function(a){this.g&&(this.g.call(this.h||null,a),this.g=this.h=null)};J$.prototype.abort=function(){this.h=this.g=null};var K$=function(a,b){V.call(this);this.j=a;this.Va=b;this.h=[];this.g=[];this.l=[]};w(K$,V);K$.prototype.getId=function(){return this.Va};K$.prototype.D=function(a,b){this.h.push(new J$(a,b))};var wBa=function(a,b){a.g.push(new J$(b,void 0))};K$.prototype.onError=function(a){for(var b=this.g,c=[],d=0;d<b.length;d++)try{b[d].execute(a)}catch(e){Ys(e),c.push(e)}b.length=0;(a=c.length?c:null)&&window.setTimeout(Cc("Module errback failures: "+a),0);this.l.length=0;this.h.length=0};
K$.prototype.ba=function(){K$.Kb.ba.call(this);Ss(null)};var L$=function(){};L$.prototype.H=function(){return!1};L$.prototype.V=function(){return!1};L$.prototype.D=function(){};var GK=null,HK=null;var M$=function(){this.l={};this.h=[];this.j=[];this.F=[];this.g=[];this.m=[];this.Ab={};this.u={};this.Y=new K$([],"");this.o=jg("goog.module.ModuleManager");this.s=0;this.K=this.W=this.N=!1};w(M$,L$);var N$=function(){Gb.call(this)};w(N$,Gb);M$.prototype.H=function(){return 0<this.h.length};M$.prototype.V=function(){return 0<this.m.length};
var P$=function(a){var b=a.H();b!=a.N&&(O$(a,b?"active":"idle"),a.N=b);b=a.V();b!=a.W&&(O$(a,b?"userActive":"userIdle"),a.W=b)},CK=function(a,b,c){var d=[];nc(b,d);b=[];for(var e={},f=0;f<d.length;f++){var g=d[f],h=a.l[g];if(!h)throw Error("Unknown module: "+g);var m=new dK;e[g]=m;xBa(a,g,h,!!c,m);zK(a,g)||b.push(g)}0<b.length&&(ac(a.h)?a.G(b):(a.g.push(b),P$(a)));return e},xBa=function(a,b,c,d,e){c.D(e.callback,e);wBa(c,function(f){e.g(new N$(f))});zK(a,b)?d&&(pg(a.o,"User initiated module already loading: "+
b),$b(a.m,b)||a.m.push(b),P$(a)):d?(pg(a.o,"User initiated module load: "+b),$b(a.m,b)||a.m.push(b)):pg(a.o,"Initiating module load: "+b)};M$.prototype.G=function(a,b,c){b||(this.s=0);a=yBa(this,a);pg(this.o,"Loading module(s): "+a);this.h=a;this.j=kc(a);P$(this);ac(a)||(this.F.push.apply(this.F,a),c=Ya(null.JP,null,kc(a),this.l,{qP:this.Ab,vP:!!c,onError:Ya(this.ea,this,this.j,a),WP:Ya(this.ja,this)}),(a=5E3*Math.pow(this.s,2))?window.setTimeout(c,a):c())};
var yBa=function(a,b){b=Sb(b,function(){return!0});for(var c=[],d=0;d<b.length;d++)c=c.concat(Q$(a,b[d]));nc(c);return 1<c.length?(d=c.shift(),pg(a.o,"Must load "+d+" module before "+b),a.g=Tb(c,function(e){return[e]}).concat(a.g),[d]):c},Q$=function(a,b){var c=Vc(a.F),d=[];c[b]||d.push(b);b=[b];for(var e=0;e<b.length;e++)for(var f=a.l[b[e]].j,g=f.length-1;0<=g;g--){var h=f[g];c[h]||(d.push(h),b.push(h))}d.reverse();nc(d);return d},zK=function(a,b){if($b(a.h,b))return!0;for(var c=0;c<a.g.length;c++)if($b(a.g[c],
b))return!0;return!1};M$.prototype.load=function(a,b){return CK(this,[a],b)[a]};M$.prototype.ea=function(a,b,c){this.s++;this.j=a;Qb(b,Za(fc,this.F),this);401==c?(og(this.o,"Module loading unauthorized"),R$(this,0),this.g.length=0):410==c?(S$(this,3),T$(this)):3<=this.s?(og(this.o,"Aborting after failure to load: "+this.h),S$(this,1),T$(this)):(og(this.o,"Retrying after failure to load: "+this.h),this.G(this.j,!0,8001==c))};
M$.prototype.ja=function(){og(this.o,"Aborting after timeout: "+this.h);S$(this,2);T$(this)};
var S$=function(a,b){1<a.j.length?a.g=Tb(a.j,function(c){return[c]}).concat(a.g):R$(a,b)},R$=function(a,b){var c=a.j;a.h.length=0;for(var d=[],e=0;e<a.g.length;e++){var f=Sb(a.g[e],function(m){var q=Q$(this,m);return Vb(c,function(r){return $b(q,r)})},a);lc(d,f)}for(e=0;e<c.length;e++)cc(d,c[e]);for(e=0;e<d.length;e++){for(f=0;f<a.g.length;f++)fc(a.g[f],d[e]);fc(a.m,d[e])}var g=a.u.error;if(g)for(e=0;e<g.length;e++){var h=g[e];for(f=0;f<d.length;f++)h("error",d[f],b)}for(e=0;e<c.length;e++)if(a.l[c[e]])a.l[c[e]].onError(b);
a.j.length=0;P$(a)},T$=function(a){for(;a.g.length;){var b=Sb(a.g.shift(),function(){return!0},a);if(0<b.length){a.G(b);return}}P$(a)};M$.prototype.D=function(a,b){Array.isArray(a)||(a=[a]);for(var c=0;c<a.length;c++){var d=a[c],e=b,f=this.u;f[d]||(f[d]=[]);f[d].push(e)}};var O$=function(a,b){a=a.u[b];for(var c=0;a&&c<a.length;c++)a[c](b)};M$.prototype.dispose=function(){Ts(Kc(this.l),this.Y);this.l={};this.h=[];this.j=[];this.m=[];this.g=[];this.u={};this.K=!0};M$.prototype.C=function(){return this.K};
HK=function(){return new M$};var U$=function(a){Hj.call(this,a);this.ka=new sK;Tda(this.ka);vha(this.ka);G2(this.ka,function(b){return new J2(b)});lua(this.ka);this.l=this.F=this.m=this.u=null;this.H=hx()};t(U$,Hj);k=U$.prototype;
k.th=function(){var a=new eM(new P2(ix(gx.Tb())),new N2(this.Bx.bind(this)));a=oM(a,"hangouts",this.uo(),"",.1>Math.random()?"https://preprod-hangouts-googleapis.sandbox.google.com":"https://hangouts.clients6.google.com",this.H);a=new QM(a);P(a.g,1,39);P(a.g,5,158);P(a.g,2,"castouts");P(a.g,3,"castouts");var b=chrome.runtime.id+chrome.runtime.getManifest().version;P(a.g,4,b);b=Ee().toUpperCase();P(a.g,6,"castouts"+b);b=.01;var c=ix(gx.Tb());"google.com"==(c.h?c.h.substr(c.h.indexOf("@")+1):"")&&(b=
1);P(a.g,9,b);P(a.g,10,"https://hangouts.google.com/_/logpref");P(a.g,11,"https://clients2.google.com/cr/report");a.register(this.ka);this.F=this.ka.get(EW);this.m=Promise.resolve(ola(this.F));vm(this)};k.Ya=function(){throw Error("not implemented");};k.Ob=function(){return[{lastSessionId:this.l}]};k.Nb=function(){var a=sm(this);a&&a.lastSessionId&&(this.l=a.lastSessionId)};
k.zl=function(){var a=this;return this.l||this.g?new Promise(function(b,c){setTimeout(c,5E3);var d=function(){a.m.then(function(){a.l?(a.l=null,b()):c(Error("No session to upload"))})},e=a.g;e?(e.g?Oqa(e.g):Promise.reject(Error("no call in the session"))).then(function(){b()},d):a.l?d():c(Error("No session to upload"))}):Promise.reject(Error("No session to upload"))};k.pk=function(a){a.g?(a=a.g,a=a.g?OY(a.g):null):a=null;this.l=a;return Promise.resolve()};
k.Bi=function(a,b){a=new M2(b,this.ka,this.m);this.u=a.l.bind(a);return a};k.ai=function(){L2(0)};k.Xh=function(){L2(1)};k.Yh=function(){zb("MediaRouter.Hangouts.Session.End")};k.Kg=function(a){Ab("MediaRouter.Hangouts.Start.Failure",a,Yi)};k.Zh=function(){zb("MediaRouter.Hangouts.Stream.End")};k.Bx=function(a){this.u&&this.u(a)};k.uo=function(){return"v1"};var V$=function(){U$.call(this,"hangouts")};t(V$,U$);V$.prototype.Ya=function(){return"HangoutsService"};var zBa=new V$;yj("mr.mirror.hangouts.HangoutsService",zBa);var W$=function(){U$.call(this,"meetings");this.C=null};t(W$,U$);W$.prototype.Ya=function(){return"MeetingsService"};W$.prototype.uo=function(){return"v1_meetings"};var X$=function(a){null==a.C&&(a.C=ioa(a.ka.get(aL)),I_(a.C.l,Ina(function(){return rt(ix(gx.Tb()).getAuthToken())})));return a.C};W$.prototype.Gb=function(a){return Promise.resolve(U1(X$(this),a.input).then(function(b){return b.Gb()}))};W$.prototype.th=function(){U$.prototype.th.call(this);this.ka.registerService(SW,X$(this))};
var ABa=new W$;yj("mr.mirror.hangouts.MeetingsService",ABa);
