text: 'use strict';var Gz=function(a){J(this,a,0,-1,null,null)};w(Gz,I);var Hz=function(a){J(this,a,0,-1,null,null)};w(Hz,I);var Iz=function(a){J(this,a,0,-1,null,null)};w(Iz,I);var Jz=function(a){J(this,a,0,-1,null,null)};w(Jz,I);
  var Nz=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Hz;C(b,c,Kz);U(a,1,c);break;case 2:c=new Iz;C(b,c,Lz);U(a,2,c);break;case 3:c=new Iz;C(b,c,Lz);U(a,3,c);break;case 4:c=new Jz;C(b,c,Mz);U(a,4,c);break;default:B(b)}return a},Kz=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;default:B(b)}return a},Lz=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);Q(a,1,c);break;case 2:c=tk(b);Q(a,2,c);break;case 3:var d=b.h;
  c=qk(d);var e=qk(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);Q(a,3,c);break;default:B(b)}return a},Mz=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=uk(b);Q(a,3,c);break;case 4:c=uk(b);Q(a,4,c);break;default:B(b)}return a};var Oz=function(a){J(this,a,0,1,null,null)};w(Oz,I);var Pz={},Qz=function(a,b){for(;z(b)&&!x(b);){var c=a,d=b,e=Oz.prototype.getExtension,f=Oz.prototype.G,g=Pz[d.g];if(g){var h=g.tP;if(!g.Hn)throw Error("Deserializing extension whose generated code does not support binary format");if(h.fd){var l=new h.fd;g.Hn.call(d,l,g.fP)}else l=g.Hn.call(d);h.Xw&&!g.IP?(d=e.call(c,h))?d.push(l):f.call(c,h,[l]):f.call(c,h,l)}else B(d)}return a};var Sz=function(a){J(this,a,0,-1,Rz,null)};w(Sz,I);var Tz=function(a){J(this,a,0,-1,null,null)};w(Tz,I);var Uz=function(a){J(this,a,0,-1,null,null)};w(Uz,I);var Vz=function(a){J(this,a,0,-1,null,null)};w(Vz,I);var Wz=function(a){J(this,a,0,-1,null,null)};w(Wz,I);var Xz=function(a){J(this,a,0,-1,null,null)};w(Xz,I);var Zz=function(a){J(this,a,0,-1,Yz,null)};w(Zz,I);var $z=function(a){J(this,a,0,-1,null,null)};w($z,I);var aA=function(a){J(this,a,0,-1,null,null)};w(aA,I);
  var bA=function(a){J(this,a,0,-1,null,null)};w(bA,I);
  var Rz=[14],hA=function(a,b){for(;z(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=E(b);Q(a,4,c);break;case 10:c=F(b);Q(a,10,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=new Vz;C(b,c,cA);U(a,6,c);break;case 7:c=E(b);Q(a,7,c);break;case 8:c=new Tz;C(b,c,dA);U(a,8,c);break;case 9:c=new Zz;C(b,c,eA);U(a,9,c);break;case 11:c=new aA;C(b,c,fA);U(a,11,c);break;case 12:c=new bA;C(b,c,gA);U(a,12,c);break;case 13:c=E(b);Q(a,13,c);
  break;case 14:c=F(b);tl(a,14,c);break;default:B(b)}return a},dA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=uk(b);Q(a,1,c);break;case 2:c=new Uz;C(b,c,iA);U(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=new Wz;C(b,c,jA);U(a,4,c);break;case 5:c=new Xz;C(b,c,kA);U(a,5,c);break;case 6:c=new $z;C(b,c,lA);U(a,6,c);break;case 7:c=new Oz;C(b,c,Qz);U(a,7,c);break;default:B(b)}return a},iA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=uk(b);Q(a,1,c);break;case 2:c=uk(b);Q(a,2,
  c);break;default:B(b)}return a},cA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;default:B(b)}return a},jA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:B(b)}return a},kA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=uk(b);Q(a,2,c);break;case 3:c=F(b);a.setTitle(c);break;case 4:c=F(b);Q(a,4,c);break;default:B(b)}return a};
  Xz.prototype.getTitle=function(){return L(this,3)};Xz.prototype.setTitle=function(a){return Q(this,3,a)};var Yz=[5],eA=function(a,b){for(;z(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=vk(b);Q(a,3,c);break;case 4:c=E(b);Q(a,4,c);break;case 5:c=F(b);tl(a,5,c);break;default:B(b)}return a},lA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(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;default:B(b)}return a};
  $z.prototype.Ja=function(){return N(this,1,0)};var fA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 3:var c=E(b);Q(a,3,c);break;case 4:c=uk(b);Q(a,4,c);break;case 5:c=vk(b);Q(a,5,c);break;default:B(b)}return a};aA.prototype.getCurrentState=function(){return L(this,3)};var gA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;default:B(b)}return a};Sz.prototype.va=function(){return L(this,1)};Sz.prototype.Tc=function(){return L(this,4)};var mA=function(a){J(this,a,0,-1,null,null)};w(mA,I);var nA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;default:B(b)}return a};var oA=function(a){J(this,a,0,-1,null,null)};w(oA,I);var pA=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&Qk(b,2,c);c=L(a,3);null!=c&&Qk(b,3,c);c=L(a,4);null!=c&&Qk(b,4,c)};oA.prototype.tb=function(){return L(this,4)};var qA=function(a){J(this,a,0,-1,null,null)};w(qA,I);var rA=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&G(b,4,c)};var sA=function(a){J(this,a,0,-1,null,null)};w(sA,I);var tA=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&G(b,2,c)};var uA=function(a){J(this,a,0,-1,null,null)};w(uA,I);var vA=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&Pk(b,4,c);c=L(a,5);null!=c&&G(b,5,c);c=L(a,6);null!=c&&G(b,6,c);c=L(a,7);null!=c&&b.g(7,c)};uA.prototype.tb=function(){return L(this,4)};var wA=function(a){J(this,a,0,-1,null,null)};w(wA,I);var xA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:B(b)}return a};wA.prototype.getId=function(){return L(this,1)};var yA=function(a){J(this,a,0,-1,null,null)};w(yA,I);var zA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;case 2:c=pk(b.h,fk);Q(a,2,c);break;default:B(b)}return a};var AA=function(a){J(this,a,0,-1,null,null)};w(AA,I);var BA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new yA;C(b,c,zA);U(a,1,c);break;default:B(b)}return a};var CA=function(a){J(this,a,0,-1,null,null)};w(CA,I);var DA=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=L(a,3);null!=c&&Vk(b,3,c);c=L(a,4);null!=c&&Vk(b,4,c);c=L(a,5);null!=c&&Vk(b,5,c);c=L(a,6);null!=c&&Vk(b,6,c)};CA.prototype.getDevice=function(){return L(this,1)};var EA=function(a,b){return Q(a,1,b)};var FA=function(a){J(this,a,0,-1,null,null)};w(FA,I);var GA=function(a,b){var c=S(a,uA,1);null!=c&&H(b,1,c,vA);c=S(a,qA,2);null!=c&&H(b,2,c,rA);c=S(a,sA,3);null!=c&&H(b,3,c,tA);c=L(a,4);null!=c&&G(b,4,c);c=L(a,5);null!=c&&Uk(b,5,c);c=L(a,6);null!=c&&b.C(6,c);c=S(a,CA,7);null!=c&&H(b,7,c,DA);c=L(a,8);null!=c&&G(b,8,c);c=S(a,oA,9);null!=c&&H(b,9,c,pA)};var HA=function(a){J(this,a,0,-1,null,null)};w(HA,I);var IA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=pk(b.h,fk);Q(a,2,c);break;default:B(b)}return a};var JA=function(a){J(this,a,0,-1,null,null)};w(JA,I);
  var KA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(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=pk(b.h,ik);Q(a,4,c);break;case 10:c=F(b);Q(a,10,c);break;case 11:c=tk(b);Q(a,11,c);break;case 5:c=pk(b.h,fk);Q(a,5,c);break;case 6:c=pk(b.h,fk);Q(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 8:c=F(b);Q(a,8,c);break;case 9:c=new HA;C(b,c,IA);U(a,9,c);break;case 12:c=E(b);Q(a,12,c);break;case 13:c=vk(b);Q(a,13,c);break;default:B(b)}return a};
  JA.prototype.Ja=function(){return L(this,1)};var LA=function(a){J(this,a,0,-1,null,null)};w(LA,I);var MA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 4:c=new AA;C(b,c,BA);U(a,4,c);break;case 3:c=pk(b.h,ik);Q(a,3,c);break;case 5:c=pk(b.h,fk);Q(a,5,c);break;case 6:c=new mA;C(b,c,nA);U(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 8:c=F(b);Q(a,8,c);break;default:B(b)}return a};var OA=function(a){J(this,a,0,-1,NA,null)};w(OA,I);var NA=[6],PA=function(a,b){for(;z(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=E(b);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=F(b);tl(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 8:c=E(b);Q(a,8,c);break;case 9:c=F(b);a.setTitle(c);break;case 10:c=F(b);a.Rh(c);break;case 11:c=E(b);Q(a,11,c);break;default:B(b)}return a};
  OA.prototype.va=function(){return L(this,1)};OA.prototype.getTitle=function(){return L(this,9)};OA.prototype.setTitle=function(a){return Q(this,9,a)};OA.prototype.Rh=function(a){return Q(this,10,a)};var QA={st:0,cs:1,TIMEOUT:2,ERROR:3,IG:4,rC:5,UNKNOWN:6,CE:7,Xr:8,Sr:9,qD:10,IK:11,qN:12,zJ:13,OA:14,qE:15,XF:16,dO:17,YA:18,UF:19,PL:20,bI:21,gD:22,mE:23,CI:24,iM:25,ZL:26,Cs:27,us:28,aO:29,GK:30,lI:31,iC:32,Rr:33,bO:34,Es:35,JO:36,mO:37,EF:38,DF:39,FF:40,tO:41,CJ:42,fE:43,nE:44,qO:45,iB:46,oI:47,iJ:48,mI:49,jJ:50,cJ:51,eJ:52,dJ:53,gJ:54,fJ:55,kM:56,BE:57,LO:58,LG:59,mG:60,jB:61,XA:62,KC:63,tG:64,uF:65,sF:66,gG:67,vF:68,kB:69,UE:70,IB:71,nI:72,QD:73,XL:74,OJ:75,fH:76,cM:77,PJ:78,QJ:79,jC:102,rG:103,
  jO:104,iO:105,kO:106,YM:107,NA:108,jM:109,YF:110,BH:111,qG:112,CH:113,EH:114,DH:115,aJ:116,ZI:117,bM:118,sD:119,aM:120,oD:121,bD:122,oO:123,LC:124,Yr:125,pO:126,mD:127,lD:128};var RA=function(a){J(this,a,0,-1,null,null)};w(RA,I);var SA=function(a,b){for(;z(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:B(b)}return a};RA.prototype.getService=function(){return L(this,1)};RA.prototype.re=function(){return M(this,2)};var TA=function(a){J(this,a,0,-1,null,null)};w(TA,I);var VA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);UA(a,c);break;case 2:c=F(b);Q(a,2,c);break;default:B(b)}return a},UA=function(a,b){return Q(a,1,b)};var XA=function(a){J(this,a,0,-1,WA,null)};w(XA,I);
  var WA=[15,26],YA=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.yl(c);break;case 2:c=E(b);Q(a,2,c);break;case 3:c=new RA;C(b,c,SA);U(a,3,c);break;case 4:c=vk(b);Q(a,4,c);break;case 6:c=uk(b);Q(a,6,c);break;case 7:c=uk(b);Q(a,7,c);break;case 8:c=F(b);Q(a,8,c);break;case 9:c=new wA;C(b,c,xA);U(a,9,c);break;case 10:c=vk(b);Q(a,10,c);break;case 11:c=uk(b);Q(a,11,c);break;case 12:c=uk(b);Q(a,12,c);break;case 13:c=F(b);Q(a,13,c);break;case 14:c=E(b);Q(a,14,c);break;case 15:c=F(b);tl(a,
  15,c);break;case 16:c=vk(b);Q(a,16,c);break;case 24:c=E(b);Q(a,24,c);break;case 17:c=new TA;C(b,c,VA);a.zd(c);break;case 18:c=vk(b);Q(a,18,c);break;case 25:c=E(b);Q(a,25,c);break;case 21:c=E(b);Q(a,21,c);break;case 22:c=E(b);Q(a,22,c);break;case 23:c=E(b);Q(a,23,c);break;case 26:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,26,c[d]);break;case 27:c=F(b);Q(a,27,c);break;case 28:c=F(b);Q(a,28,c);break;case 29:c=F(b);Q(a,29,c);break;case 30:c=F(b);Q(a,30,c);break;case 31:c=vk(b);Q(a,31,c);break;
  case 32:c=vk(b);Q(a,32,c);break;default:B(b)}return a};k=XA.prototype;k.va=function(){return L(this,1)};k.yl=function(a){return Q(this,1,a)};k.ga=function(){return L(this,14)};k.Sc=function(){return S(this,TA,17)};k.zd=function(a){return U(this,17,a)};k.Hk=function(){return M(this,17)};var $A=function(a){J(this,a,0,-1,ZA,null)};w($A,I);var ZA=[4];$A.prototype.setRequestHeader=function(a){return U(this,1,a)};$A.prototype.W=function(){return S(this,Gl,3)};$A.prototype.J=function(a){U(this,3,a)};$A.prototype.aa=function(){this.J(void 0)};var bB=function(a){J(this,a,0,-1,aB,null)};w(bB,I);var cB=function(a){J(this,a,0,-1,null,null)};w(cB,I);var dB=function(a){J(this,a,0,-1,null,null)};w(dB,I);
  var aB=[20,8,19,26],gB=function(a,b){for(;z(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);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=vk(b);Q(a,6,c);break;case 7:c=vk(b);Q(a,7,c);break;case 20:c=new cB;C(b,c,eB);yl(a,20,c,cB);break;case 8:c=F(b);tl(a,8,c);break;case 9:c=vk(b);Q(a,9,c);break;case 10:c=F(b);Q(a,10,c);break;case 11:c=F(b);Q(a,11,c);break;case 12:c=E(b);Q(a,12,c);break;case 13:c=E(b);Q(a,13,c);break;
  case 14:c=E(b);Q(a,14,c);break;case 17:c=E(b);Q(a,17,c);break;case 18:c=vk(b);Q(a,18,c);break;case 19:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,19,c[d]);break;case 21:c=vk(b);Q(a,21,c);break;case 22:c=new Gz;C(b,c,Nz);U(a,22,c);break;case 23:c=uk(b);Q(a,23,c);break;case 24:c=E(b);Q(a,24,c);break;case 25:c=F(b);Q(a,25,c);break;case 26:c=F(b);tl(a,26,c);break;case 27:c=new dB;C(b,c,fB);U(a,27,c);break;default:B(b)}return a},eB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);
  Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;default:B(b)}return a},fB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:B(b)}return a};bB.prototype.va=function(){return L(this,1)};bB.prototype.u=function(a){return Q(this,1,a)};bB.prototype.Y=function(){return L(this,2)};bB.prototype.l=function(a){return Q(this,2,a)};var iB=function(a){J(this,a,0,-1,hB,null)};w(iB,I);var hB=[6];iB.prototype.setRequestHeader=function(a){return U(this,1,a)};iB.prototype.W=function(){return S(this,Gl,5)};iB.prototype.J=function(a){U(this,5,a)};iB.prototype.aa=function(){this.J(void 0)};var jB=function(a){J(this,a,0,-1,null,null)};w(jB,I);k=jB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.va=function(){return L(this,2)};k.W=function(){return S(this,Gl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var kB=function(a){J(this,a,0,-1,null,null)};w(kB,I);k=kB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.va=function(){return L(this,2)};k.W=function(){return S(this,Gl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var lB=function(a){J(this,a,0,-1,null,null)};w(lB,I);lB.prototype.getName=function(){return L(this,1)};var nB=function(a){J(this,a,0,-1,mB,null)};w(nB,I);var mB=[3];k=nB.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.ga=function(){return N(this,6,1)};k.W=function(){return S(this,Gl,8)};k.J=function(a){U(this,8,a)};k.aa=function(){this.J(void 0)};var oB=function(a){J(this,a,0,-1,null,null)};w(oB,I);var pB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=b.h.h();Q(a,1,c);break;case 2:c=b.h.h();Q(a,2,c);break;case 3:c=b.h.h();Q(a,3,c);break;default:B(b)}return a};var qB=function(a){J(this,a,0,-1,null,null)};w(qB,I);var rB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);Q(a,1,c);break;case 2:c=tk(b);Q(a,2,c);break;case 3:c=tk(b);Q(a,3,c);break;default:B(b)}return a};var sB=function(a){J(this,a,0,-1,null,null)};w(sB,I);var tB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;case 2:c=tk(b);Q(a,2,c);break;case 3:c=new qB;C(b,c,rB);U(a,3,c);break;default:B(b)}return a};var vB=function(a){J(this,a,0,-1,uB,null)};w(vB,I);var wB=function(a){J(this,a,0,-1,null,null)};w(wB,I);
  var uB=[8,10],AB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);Q(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=tk(b);Q(a,5,c);break;case 6:c=tk(b);Q(a,6,c);break;case 7:c=tk(b);Q(a,7,c);break;case 8:c=new wB;C(b,c,zB);yl(a,8,c,wB);break;case 9:c=vk(b);Q(a,9,c);break;case 10:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,10,c[d]);break;case 11:c=new sB;C(b,c,tB);U(a,11,c);break;case 12:c=new sB;C(b,c,tB);U(a,12,c);break;default:B(b)}return a},
  zB=function(a,b){for(;z(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:B(b)}return a};wB.prototype.re=function(){return M(this,2)};vB.prototype.getName=function(){return L(this,2)};var xB=function(a,b){Q(a,2,b)};vB.prototype.ga=function(){return L(this,3)};var yB=function(a,b){Q(a,3,b)},BB=function(a,b){xl(a,8,b)};var CB=function(a){J(this,a,0,-1,null,null)};w(CB,I);var DB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(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=tk(b);Q(a,4,c);break;default:B(b)}return a};var EB=function(a){J(this,a,0,-1,null,null)};w(EB,I);var FB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;case 2:c=tk(b);Q(a,2,c);break;case 3:c=E(b);Q(a,3,c);break;default:B(b)}return a};var HB=function(a){J(this,a,0,-1,GB,null)};w(HB,I);var GB=[5],IB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 2:var c=vk(b);Q(a,2,c);break;case 3:c=new qB;C(b,c,rB);U(a,3,c);break;case 5:c=2==b.j?wk(b,b.h.s):[tk(b)];for(var d=0;d<c.length;d++)tl(a,5,c[d]);break;case 6:c=new EB;C(b,c,FB);U(a,6,c);break;default:B(b)}return a};HB.prototype.Tc=function(){return S(this,qB,3)};var JB=function(a){J(this,a,0,-1,null,null)};w(JB,I);var KB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=new HB;C(b,c,IB);U(a,2,c);break;default:B(b)}return a};JB.prototype.ga=function(){return L(this,1)};var LB=function(a){J(this,a,0,-1,null,null)};w(LB,I);var MB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=E(b);Q(a,3,c);break;default:B(b)}return a};LB.prototype.getId=function(){return L(this,1)};LB.prototype.ga=function(){return L(this,3)};var NB=function(a){J(this,a,0,-1,null,null)};w(NB,I);var OB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;case 4:c=tk(b);Q(a,4,c);break;case 5:c=E(b);Q(a,5,c);break;case 6:c=tk(b);Q(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 8:c=tk(b);Q(a,8,c);break;case 9:c=E(b);Q(a,9,c);break;default:B(b)}return a};NB.prototype.Fb=function(){return L(this,4)};NB.prototype.ga=function(){return L(this,9)};var QB=function(a){J(this,a,0,-1,PB,null)};w(QB,I);var RB=function(a){J(this,a,0,-1,null,null)};w(RB,I);
  var PB=[3,6],TB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=new RB;C(b,c,SB);U(a,2,c);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 5:c=F(b);Q(a,5,c);break;case 6:c=new NB;C(b,c,OB);yl(a,6,c,NB);break;case 7:c=E(b);Q(a,7,c);break;default:B(b)}return a},SB=function(a,b){for(;z(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:B(b)}return a};var VB=function(a){J(this,a,0,-1,UB,null)};w(VB,I);var UB=[3,4,5,6],WB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=new QB;C(b,c,TB);U(a,2,c);break;case 3:c=new vB;C(b,c,AB);yl(a,3,c,vB);break;case 4:c=new CB;C(b,c,DB);yl(a,4,c,CB);break;case 5:c=new LB;C(b,c,MB);yl(a,5,c,LB);break;case 6:c=new JB;C(b,c,KB);yl(a,6,c,JB);break;case 7:c=new oB;C(b,c,pB);U(a,7,c);break;case 8:c=F(b);Q(a,8,c);break;default:B(b)}return a};
  VB.prototype.ga=function(){return N(this,1,4)};var XB=function(a){J(this,a,0,-1,null,null)};w(XB,I);var YB=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=E(b);Q(a,2,c);break;case 3:c=tk(b);Q(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;case 6:c=tk(b);Q(a,6,c);break;default:B(b)}return a};XB.prototype.getChannelId=function(){return L(this,1)};XB.prototype.Ff=function(){return L(this,4)};var $B=function(a){J(this,a,0,-1,ZB,null)};w($B,I);var aC=function(a){J(this,a,0,-1,null,null)};w(aC,I);var cC=function(a){J(this,a,0,-1,bC,null)};w(cC,I);var dC=function(a){J(this,a,0,-1,null,null)};w(dC,I);var eC=function(a){J(this,a,0,-1,null,null)};w(eC,I);var fC=function(a){J(this,a,0,-1,null,null)};w(fC,I);var gC=function(a){J(this,a,0,-1,null,null)};w(gC,I);var hC=function(a){J(this,a,0,-1,null,null)};w(hC,I);
  var ZB=[3,4,5,10,16],nC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 3:c=new VB;C(b,c,WB);yl(a,3,c,VB);break;case 4:c=new VB;C(b,c,WB);yl(a,4,c,VB);break;case 5:c=new XB;C(b,c,YB);yl(a,5,c,XB);break;case 7:c=E(b);Q(a,7,c);break;case 9:c=vk(b);Q(a,9,c);break;case 10:c=2==b.j?wk(b,b.h.h):[b.h.h()];for(var d=0;d<c.length;d++)tl(a,10,c[d]);break;case 11:c=E(b);Q(a,11,c);break;case 12:c=b.h.h();Q(a,12,c);break;case 13:c=F(b);Q(a,13,c);break;case 16:c=new aC;C(b,c,iC);
  yl(a,16,c,aC);break;case 14:c=E(b);Q(a,14,c);break;case 15:c=E(b);Q(a,15,c);break;case 17:c=new cC;C(b,c,jC);U(a,17,c);break;case 21:c=E(b);Q(a,21,c);break;case 18:c=new dC;C(b,c,kC);U(a,18,c);break;case 19:c=F(b);Q(a,19,c);break;case 20:c=new eC;C(b,c,lC);U(a,20,c);break;case 22:c=vk(b);Q(a,22,c);break;case 23:c=new gC;C(b,c,mC);U(a,23,c);break;case 24:c=vk(b);Q(a,24,c);break;default:B(b)}return a},iC=function(a,b){for(;z(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:B(b)}return a},bC=[2],jC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,2,c[d]);break;default:B(b)}return a},kC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 3:var c=E(b);Q(a,3,c);break;case 4:c=E(b);Q(a,4,c);break;default:B(b)}return a},lC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 2:var c=E(b);Q(a,2,c);break;case 3:c=new fC;C(b,c,oC);U(a,3,c);break;default:B(b)}return a},oC=function(a,
  b){for(;z(b)&&!x(b);)switch(b.g){case 7:var c=vk(b);Q(a,7,c);break;case 8:c=uk(b);Q(a,8,c);break;case 9:c=uk(b);Q(a,9,c);break;case 10:c=uk(b);Q(a,10,c);break;case 11:c=uk(b);Q(a,11,c);break;case 12:c=uk(b);Q(a,12,c);break;case 13:c=uk(b);Q(a,13,c);break;case 14:c=uk(b);Q(a,14,c);break;case 15:c=uk(b);Q(a,15,c);break;case 16:c=uk(b);Q(a,16,c);break;case 17:c=uk(b);Q(a,17,c);break;case 18:c=uk(b);Q(a,18,c);break;case 19:c=uk(b);Q(a,19,c);break;default:B(b)}return a},mC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=
  new hC;C(b,c,pC);U(a,1,c);break;default:B(b)}return a},pC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;default:B(b)}return a};$B.prototype.u=function(){return L(this,1)};$B.prototype.l=function(a){return Q(this,1,a)};var qC=function(a,b){xl(a,3,b)};$B.prototype.Ei=function(){return S(this,cC,17)};var sC=function(a){J(this,a,0,-1,rC,null)};w(sC,I);var rC=[4];sC.prototype.setRequestHeader=function(a){return U(this,1,a)};sC.prototype.W=function(){return S(this,Gl,3)};sC.prototype.J=function(a){U(this,3,a)};sC.prototype.aa=function(){this.J(void 0)};var tC=function(a,b){return xl(a,4,b)};var uC=function(a){J(this,a,0,-1,null,null)};w(uC,I);uC.prototype.setRequestHeader=function(a){return U(this,1,a)};uC.prototype.W=function(){return S(this,Gl,3)};uC.prototype.J=function(a){U(this,3,a)};uC.prototype.aa=function(){this.J(void 0)};var vC=function(a){J(this,a,0,-1,null,null)};w(vC,I);var wC=function(a){J(this,a,0,-1,null,null)};w(wC,I);var xC=function(a){J(this,a,0,-1,null,null)};w(xC,I);var zC=function(a){J(this,a,0,-1,yC,null)};w(zC,I);var AC=function(a){J(this,a,0,-1,null,null)};w(AC,I);var BC=function(a){J(this,a,0,-1,null,null)};w(BC,I);
  var GC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.zl(c);break;case 2:c=F(b);a.dj(c);break;case 3:c=F(b);a.Al(c);break;case 4:c=E(b);Q(a,4,c);break;case 5:c=new wC;C(b,c,CC);U(a,5,c);break;case 6:c=new xC;C(b,c,DC);U(a,6,c);break;case 7:c=new zC;C(b,c,EC);U(a,7,c);break;case 8:c=new BC;C(b,c,FC);U(a,8,c);break;default:B(b)}return a},CC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;default:B(b)}return a};
  wC.prototype.Jc=function(){return nl(this,1)};
  var DC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:B(b)}return a},yC=[3],EC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=new qB;C(b,c,rB);U(a,2,c);break;case 3:c=new AC;C(b,c,HC);yl(a,3,c,AC);break;default:B(b)}return a},HC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=rk(b.h);Q(a,1,c);break;case 2:c=rk(b.h);Q(a,2,c);break;case 3:c=rk(b.h);Q(a,3,c);break;case 4:c=rk(b.h);Q(a,4,c);break;default:B(b)}return a},
  FC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=rk(b.h);Q(a,2,c);break;default:B(b)}return a};k=vC.prototype;k.va=function(){return L(this,1)};k.zl=function(a){return Q(this,1,a)};k.Y=function(){return L(this,2)};k.dj=function(a){return Q(this,2,a)};k.Da=function(){return L(this,3)};k.Al=function(a){return Q(this,3,a)};k.ga=function(){return L(this,4)};var JC=function(a){J(this,a,0,-1,IC,null)};w(JC,I);var IC=[4];JC.prototype.setRequestHeader=function(a){return U(this,1,a)};JC.prototype.W=function(){return S(this,Gl,3)};JC.prototype.J=function(a){U(this,3,a)};JC.prototype.aa=function(){this.J(void 0)};var KC=function(a){J(this,a,0,-1,null,null)};w(KC,I);k=KC.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.va=function(){return L(this,2)};k.Y=function(){return L(this,3)};k.W=function(){return S(this,Gl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var LC=function(a){J(this,a,0,-1,null,null)};w(LC,I);var NC=function(a){J(this,a,0,-1,MC,null)};w(NC,I);var PC=function(a){J(this,a,0,-1,OC,null)};w(PC,I);var QC=function(a){J(this,a,0,-1,null,null)};w(QC,I);var SC=function(a){J(this,a,0,-1,RC,null)};w(SC,I);var TC=function(a){J(this,a,0,-1,null,null)};w(TC,I);var UC=function(a){J(this,a,0,-1,null,null)};w(UC,I);
  var $C=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);a.fj(c);break;case 2:c=E(b);Q(a,2,c);break;case 3:c=F(b);a.hj(c);break;case 4:c=F(b);a.ij(c);break;case 5:c=F(b);a.gj(c);break;case 6:c=F(b);Q(a,6,c);break;case 7:c=F(b);Q(a,7,c);break;case 8:c=new NC;C(b,c,VC);U(a,8,c);break;case 9:c=new HB;C(b,c,IB);U(a,9,c);break;case 10:c=new QC;C(b,c,WC);U(a,10,c);break;case 11:c=vk(b);Q(a,11,c);break;case 13:c=new SC;C(b,c,XC);U(a,13,c);break;case 14:c=new TC;C(b,c,YC);U(a,14,c);break;case 15:c=
  new UC;C(b,c,ZC);U(a,15,c);break;default:B(b)}return a},MC=[1,2,3],VC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:for(var c=2==b.j?wk(b,b.h.h):[b.h.h()],d=0;d<c.length;d++)tl(a,1,c[d]);break;case 2:c=new PC;C(b,c,aD);yl(a,2,c,PC);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);Q(a,4,c);break;default:B(b)}return a},OC=[2],aD=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;case 2:c=2==b.j?wk(b,b.h.h):[b.h.h()];for(var d=0;d<c.length;d++)tl(a,2,c[d]);break;default:B(b)}return a},
  bD=function(a,b){Q(a,1,b||[])},WC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);Q(a,1,c);break;default:B(b)}return a};QC.prototype.Jc=function(){return nl(this,1)};var RC=[1],XC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:for(var c=2==b.j?xk(b):[E(b)],d=0;d<c.length;d++)tl(a,1,c[d]);break;default:B(b)}return a},YC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);a.setPaused(c);break;default:B(b)}return a};TC.prototype.setPaused=function(a){return Q(this,1,a)};
  var ZC=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);a.setPaused(c);break;default:B(b)}return a};UC.prototype.setPaused=function(a){return Q(this,1,a)};k=LC.prototype;k.my=function(){return L(this,1)};k.fj=function(a){return Q(this,1,a)};k.ga=function(){return L(this,2)};k.ny=function(){return L(this,3)};k.hj=function(a){return Q(this,3,a)};k.ej=function(){return L(this,4)};k.ij=function(a){return Q(this,4,a)};k.va=function(){return L(this,5)};k.gj=function(a){return Q(this,5,a)};
  k.Y=function(){return L(this,6)};k.Da=function(){return L(this,7)};var dD=function(a){J(this,a,0,-1,cD,null)};w(dD,I);var cD=[4];dD.prototype.setRequestHeader=function(a){return U(this,1,a)};dD.prototype.W=function(){return S(this,Gl,3)};dD.prototype.J=function(a){U(this,3,a)};dD.prototype.aa=function(){this.J(void 0)};var eD=function(a,b){return xl(a,4,b)};var fD=function(a){J(this,a,0,-1,null,null)};w(fD,I);fD.prototype.setRequestHeader=function(a){return U(this,1,a)};var gD=function(a,b){return Q(a,2,b)},hD=function(a,b){return Q(a,3,b)};fD.prototype.va=function(){return L(this,4)};var iD=function(a,b){return Q(a,4,b)};fD.prototype.W=function(){return S(this,Gl,5)};fD.prototype.J=function(a){U(this,5,a)};fD.prototype.aa=function(){this.J(void 0)};var jD=function(a){J(this,a,0,-1,null,null)};w(jD,I);var kD=function(a,b){return U(a,3,b)},lD=function(a,b){return U(a,4,b)};var nD=function(a){J(this,a,0,-1,mD,null)};w(nD,I);var mD=[2];nD.prototype.setRequestHeader=function(a){return U(this,1,a)};var oD=function(a,b){xl(a,2,b)};nD.prototype.Ed=function(a){return yl(this,2,a,jD)};nD.prototype.W=function(){return S(this,Gl,3)};nD.prototype.J=function(a){U(this,3,a)};nD.prototype.aa=function(){this.J(void 0)};var qD=function(a){J(this,a,"charp",-1,pD,null)};w(qD,I);var pD=[5];qD.messageId="charp";qD.prototype.getResponseHeader=function(){return S(this,JA,1)};qD.prototype.W=function(){return S(this,Gl,3)};qD.prototype.J=function(a){U(this,3,a)};qD.prototype.aa=function(){this.J(void 0)};var sD=function(a){J(this,a,"chparp",-1,rD,null)};w(sD,I);var rD=[5];sD.messageId="chparp";sD.prototype.getResponseHeader=function(){return S(this,JA,1)};sD.prototype.W=function(){return S(this,Gl,3)};sD.prototype.J=function(a){U(this,3,a)};sD.prototype.aa=function(){this.J(void 0)};var uD=function(a){J(this,a,"chpsrp",-1,tD,null)};w(uD,I);var tD=[2,4];uD.messageId="chpsrp";uD.prototype.getResponseHeader=function(){return S(this,JA,1)};uD.prototype.W=function(){return S(this,Gl,3)};uD.prototype.J=function(a){U(this,3,a)};uD.prototype.aa=function(){this.J(void 0)};var vD=function(a){J(this,a,"chqrp",-1,null,null)};w(vD,I);vD.messageId="chqrp";vD.prototype.getResponseHeader=function(){return S(this,JA,1)};vD.prototype.W=function(){return S(this,Gl,3)};vD.prototype.J=function(a){U(this,3,a)};vD.prototype.aa=function(){this.J(void 0)};var wD=function(a){J(this,a,"chrrp",-1,null,null)};w(wD,I);wD.messageId="chrrp";k=wD.prototype;k.getResponseHeader=function(){return S(this,JA,1)};k.va=function(){return L(this,2)};k.W=function(){return S(this,Gl,5)};k.J=function(a){U(this,5,a)};k.aa=function(){this.J(void 0)};var xD=function(a){J(this,a,0,-1,null,null)};w(xD,I);var yD=function(a){J(this,a,0,-1,null,null)};w(yD,I);var AD=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 7:var c=F(b);Q(a,7,c);break;case 1:c=F(b);Q(a,1,c);break;case 2:c=F(b);Q(a,2,c);break;case 3:c=uk(b);Q(a,3,c);break;case 4:c=uk(b);Q(a,4,c);break;case 5:c=new yD;C(b,c,zD);U(a,5,c);break;case 6:c=E(b);Q(a,6,c);break;default:B(b)}return a},zD=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);Q(a,1,c);break;default:B(b)}return a};
  xD.prototype.va=function(){return L(this,7)};var CD=function(a){J(this,a,"chsearp",-1,BD,null)};w(CD,I);var BD=[4];CD.messageId="chsearp";CD.prototype.getResponseHeader=function(){return S(this,JA,1)};CD.prototype.W=function(){return S(this,Gl,3)};CD.prototype.J=function(a){U(this,3,a)};CD.prototype.aa=function(){this.J(void 0)};var DD=function(a){J(this,a,"chseqrp",-1,null,null)};w(DD,I);DD.messageId="chseqrp";DD.prototype.getResponseHeader=function(){return S(this,JA,1)};DD.prototype.W=function(){return S(this,Gl,3)};DD.prototype.J=function(a){U(this,3,a)};DD.prototype.aa=function(){this.J(void 0)};var FD=function(a){J(this,a,"chsoarp",-1,ED,null)};w(FD,I);var ED=[4];FD.messageId="chsoarp";FD.prototype.getResponseHeader=function(){return S(this,JA,1)};FD.prototype.W=function(){return S(this,Gl,3)};FD.prototype.J=function(a){U(this,3,a)};FD.prototype.aa=function(){this.J(void 0)};var HD=function(a){J(this,a,"chsosrp",-1,GD,null)};w(HD,I);var GD=[2];HD.messageId="chsosrp";HD.prototype.getResponseHeader=function(){return S(this,JA,1)};HD.prototype.W=function(){return S(this,Gl,3)};HD.prototype.J=function(a){U(this,3,a)};HD.prototype.aa=function(){this.J(void 0)};var JD=function(a){J(this,a,"chstarp",-1,ID,null)};w(JD,I);var ID=[4];JD.messageId="chstarp";JD.prototype.getResponseHeader=function(){return S(this,JA,1)};JD.prototype.W=function(){return S(this,Gl,3)};JD.prototype.J=function(a){U(this,3,a)};JD.prototype.aa=function(){this.J(void 0)};var LD=function(a){J(this,a,"chstsrp",-1,KD,null)};w(LD,I);var KD=[2];LD.messageId="chstsrp";LD.prototype.getResponseHeader=function(){return S(this,JA,1)};LD.prototype.W=function(){return S(this,Gl,3)};LD.prototype.J=function(a){U(this,3,a)};LD.prototype.aa=function(){this.J(void 0)};var MD=function(a){J(this,a,0,-1,null,null)};w(MD,I);var OD=function(a){J(this,a,"chbrp",-1,ND,null)};w(OD,I);var ND=[2];OD.messageId="chbrp";k=OD.prototype;k.getResponseHeader=function(){return S(this,JA,1)};k.Ed=function(a){return yl(this,2,a,MD)};k.W=function(){return S(this,Gl,3)};k.J=function(a){U(this,3,a)};k.aa=function(){this.J(void 0)};var QD=function(a){J(this,a,0,-1,PD,null)};w(QD,I);var PD=[4];QD.prototype.setRequestHeader=function(a){return U(this,1,a)};QD.prototype.W=function(){return S(this,Gl,3)};QD.prototype.J=function(a){U(this,3,a)};QD.prototype.aa=function(){this.J(void 0)};var SD=function(a){J(this,a,"chmrp",-1,RD,null)};w(SD,I);var RD=[4];SD.messageId="chmrp";SD.prototype.getResponseHeader=function(){return S(this,JA,1)};SD.prototype.W=function(){return S(this,Gl,3)};SD.prototype.J=function(a){U(this,3,a)};SD.prototype.aa=function(){this.J(void 0)};var UD=function(a){J(this,a,0,-1,TD,null)};w(UD,I);var TD=[4];UD.prototype.setRequestHeader=function(a){return U(this,1,a)};UD.prototype.W=function(){return S(this,Gl,3)};UD.prototype.J=function(a){U(this,3,a)};UD.prototype.aa=function(){this.J(void 0)};var WD=function(a){J(this,a,"chpmrp",-1,VD,null)};w(WD,I);var VD=[4];WD.messageId="chpmrp";WD.prototype.getResponseHeader=function(){return S(this,JA,1)};WD.prototype.W=function(){return S(this,Gl,3)};WD.prototype.J=function(a){U(this,3,a)};WD.prototype.aa=function(){this.J(void 0)};var XD=function(a){J(this,a,0,-1,null,null)};w(XD,I);k=XD.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.va=function(){return L(this,2)};k.Y=function(){return L(this,3)};k.W=function(){return S(this,Gl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var YD=function(a){J(this,a,"chpqrp",-1,null,null)};w(YD,I);YD.messageId="chpqrp";YD.prototype.getResponseHeader=function(){return S(this,JA,1)};YD.prototype.W=function(){return S(this,Gl,3)};YD.prototype.J=function(a){U(this,3,a)};YD.prototype.aa=function(){this.J(void 0)};var ZD=function(a){J(this,a,0,-1,null,null)};w(ZD,I);var $D=function(a,b){for(;z(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:B(b)}return a};ZD.prototype.va=function(){return L(this,1)};ZD.prototype.l=function(a){return Q(this,1,a)};ZD.prototype.Y=function(){return L(this,2)};ZD.prototype.u=function(a){return Q(this,2,a)};var bE=function(a){J(this,a,0,-1,aE,null)};w(bE,I);var aE=[6,7];k=bE.prototype;k.setRequestHeader=function(a){return U(this,1,a)};k.va=function(){return L(this,2)};k.Y=function(){return L(this,3)};k.W=function(){return S(this,Gl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var cE=function(a,b){return xl(a,7,b)};var dE=function(a){J(this,a,"chprrp",-1,null,null)};w(dE,I);dE.messageId="chprrp";dE.prototype.getResponseHeader=function(){return S(this,JA,1)};dE.prototype.W=function(){return S(this,Gl,2)};dE.prototype.J=function(a){U(this,2,a)};dE.prototype.aa=function(){this.J(void 0)};var eE=function(a){J(this,a,0,-1,null,null)};w(eE,I);var fE=function(a,b){for(;z(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:B(b)}return a};eE.prototype.va=function(){return L(this,1)};var gE=function(a){J(this,a,0,-1,null,null)};w(gE,I);var hE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.zp(c);break;case 2:c=F(b);a.Ap(c);break;case 3:c=F(b);a.Bp(c);break;default:B(b)}return a};k=gE.prototype;k.va=function(){return L(this,1)};k.zp=function(a){return Q(this,1,a)};k.Y=function(){return L(this,2)};k.Ap=function(a){return Q(this,2,a)};k.Da=function(){return L(this,3)};k.Bp=function(a){return Q(this,3,a)};var jE=function(a){J(this,a,0,-1,iE,null)};w(jE,I);var kE=function(a){J(this,a,0,-1,null,null)};w(kE,I);var iE=[1],mE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new kE;C(b,c,lE);yl(a,1,c,kE);break;default:B(b)}return a},lE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;default:B(b)}return a};var nE=function(a){J(this,a,0,-1,null,null)};w(nE,I);var oE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;default:B(b)}return a};var pE=function(a){J(this,a,0,-1,null,null)};w(pE,I);var qE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);Q(a,1,c);break;case 2:c=tk(b);Q(a,2,c);break;default:B(b)}return a};var sE=function(a){J(this,a,0,-1,rE,null)};w(sE,I);var rE=[3],tE=function(a,b){for(;z(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);tl(a,3,c);break;case 9:c=uk(b);Q(a,9,c);break;case 4:c=E(b);Q(a,4,c);break;case 5:c=new jE;C(b,c,mE);U(a,5,c);break;case 7:c=new pE;C(b,c,qE);U(a,7,c);break;case 8:c=new nE;C(b,c,oE);U(a,8,c);break;case 6:c=vk(b);Q(a,6,c);break;default:B(b)}return a};sE.prototype.va=function(){return L(this,1)};var vE=function(a){J(this,a,0,-1,uE,null)};w(vE,I);var uE=[4];vE.prototype.setRequestHeader=function(a){return U(this,1,a)};vE.prototype.W=function(){return S(this,Gl,3)};vE.prototype.J=function(a){U(this,3,a)};vE.prototype.aa=function(){this.J(void 0)};var xE=function(a){J(this,a,"chstmrp",-1,wE,null)};w(xE,I);var wE=[4];xE.messageId="chstmrp";xE.prototype.getResponseHeader=function(){return S(this,JA,1)};xE.prototype.W=function(){return S(this,Gl,3)};xE.prototype.J=function(a){U(this,3,a)};xE.prototype.aa=function(){this.J(void 0)};var yE=function(a){J(this,a,0,-1,null,null)};w(yE,I);var zE=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(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,Vb("Invalid byte length!"),c=new Uint8Array(0);else{var e=c.j.subarray(c.g,c.g+d);c.g+=d;c=e}ql(a,2,c,"");break;default:B(b)}return a};var BE=function(a){J(this,a,0,-1,AE,null)};w(BE,I);var AE=[3],CE=function(a){a=new sk(a);for(var b=new BE;z(a)&&!x(a);)switch(a.g){case 1:var c=tk(a);ql(b,1,c,0);break;case 2:c=F(a);R(b,2,c);break;case 3:c=new yE;C(a,c,zE);yl(b,3,c,yE);break;default:B(a)}return b};BE.prototype.getMessage=function(){return N(this,2,"")};var DE=function(a){J(this,a,0,-1,null,null)};w(DE,I);var EE=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=L(a,3);null!=c&&Vk(b,3,c);c=L(a,4);null!=c&&Vk(b,4,c)};DE.prototype.ta=function(){return L(this,2)};var FE=function(a){J(this,a,0,-1,null,null)};w(FE,I);var GE=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&Pk(b,4,c)};var IE=function(a){J(this,a,0,-1,HE,null)};w(IE,I);var HE=[3],JE=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=T(a,FE,3);0<c.length&&$k(b,3,c,GE)};var LE=function(a){J(this,a,0,-1,KE,null)};w(LE,I);var KE=[1],ME=function(a,b){a=T(a,IE,1);0<a.length&&$k(b,1,a,JE)};var NE=function(a){J(this,a,0,-1,null,null)};w(NE,I);var OE=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c)};NE.prototype.xa=function(){return L(this,5)};var PE=function(a){J(this,a,0,-1,null,null)};w(PE,I);var QE=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=S(a,NE,3);null!=c&&H(b,3,c,OE);c=S(a,NE,4);null!=c&&H(b,4,c,OE);c=L(a,5);null!=c&&Vk(b,5,c);c=S(a,NE,6);null!=c&&H(b,6,c,OE)};var RE=function(a){J(this,a,0,-1,null,null)};w(RE,I);var SE=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&Pk(b,5,c);c=L(a,6);null!=c&&Pk(b,6,c);c=L(a,9);null!=c&&Sk(b,9,c);c=L(a,10);null!=c&&Sk(b,10,c)};var UE=function(a){J(this,a,0,-1,TE,null)};w(UE,I);var TE=[2,3],VE=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);0<c.length&&Yk(b,2,c);c=L(a,3);0<c.length&&Yk(b,3,c);c=S(a,NE,4);null!=c&&H(b,4,c,OE);c=S(a,NE,5);null!=c&&H(b,5,c,OE)};UE.prototype.tb=function(){return L(this,1)};var XE=function(a){J(this,a,0,-1,WE,null)};w(XE,I);var WE=[1],YE=function(a,b){var c=L(a,1);0<c.length&&Xk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c);c=L(a,6);null!=c&&b.g(6,c);c=L(a,7);null!=c&&b.g(7,c);c=L(a,8);null!=c&&b.g(8,c);c=L(a,14);null!=c&&b.g(14,c);c=L(a,9);null!=c&&b.g(9,c);c=L(a,10);null!=c&&Pk(b,10,c);c=L(a,11);null!=c&&Pk(b,11,c);c=L(a,12);null!=c&&Pk(b,12,c);c=L(a,13);null!=c&&Pk(b,13,c)};var $E=function(a){J(this,a,0,-1,ZE,null)};w($E,I);var ZE=[2],aF=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);0<c.length&&Xk(b,2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&Pk(b,4,c);c=L(a,5);null!=c&&Pk(b,5,c);c=L(a,6);null!=c&&Pk(b,6,c);c=L(a,7);null!=c&&Pk(b,7,c);c=L(a,8);null!=c&&Pk(b,8,c);c=L(a,9);null!=c&&Pk(b,9,c);c=L(a,10);null!=c&&Pk(b,10,c);c=L(a,11);null!=c&&b.g(11,c)};var cF=function(a){J(this,a,0,-1,bF,null)};w(cF,I);var dF=function(a){J(this,a,0,-1,null,null)};w(dF,I);var bF=[1],fF=function(a,b){a=T(a,dF,1);0<a.length&&$k(b,1,a,eF)},eF=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,3);null!=c&&Vk(b,3,c);c=L(a,4);null!=c&&Vk(b,4,c);c=L(a,5);null!=c&&Pk(b,5,c);c=L(a,6);null!=c&&Pk(b,6,c)};var gF=function(a){J(this,a,0,-1,null,null)};w(gF,I);var hF=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=uk(b);a.setSeconds(c);break;case 2:c=tk(b);ql(a,2,c,0);break;default:B(b)}return a},iF=function(a,b){var c=a.getSeconds();0!==c&&Pk(b,1,c);c=N(a,2,0);0!==c&&b.g(2,c)};gF.prototype.getSeconds=function(){return N(this,1,0)};gF.prototype.setSeconds=function(a){return ql(this,1,a,0)};var jF=function(a){var b=a.getSeconds();a=N(a,2,0);return new Date(1E3*b+a/1E6)};var kF=function(a){J(this,a,0,-1,null,null)};w(kF,I);var lF=function(a,b){var c=a.getSeconds();0!==c&&Pk(b,1,c);c=N(a,2,0);0!==c&&b.g(2,c)};kF.prototype.getSeconds=function(){return N(this,1,0)};kF.prototype.setSeconds=function(a){return ql(this,1,a,0)};var mF=function(a){J(this,a,0,-1,null,null)};w(mF,I);var nF=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c);c=L(a,6);null!=c&&b.g(6,c)};var oF=function(a){J(this,a,0,-1,null,null)};w(oF,I);var pF=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c);c=L(a,6);null!=c&&b.g(6,c);c=L(a,7);null!=c&&b.g(7,c)};var qF=function(a){J(this,a,0,-1,null,null)};w(qF,I);var rF=function(a,b){var c=S(a,kF,1);null!=c&&H(b,1,c,lF);c=S(a,kF,2);null!=c&&H(b,2,c,lF);c=L(a,3);null!=c&&Sk(b,3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c);c=L(a,6);null!=c&&Sk(b,6,c);c=L(a,7);null!=c&&Sk(b,7,c)};var tF=function(a){J(this,a,0,-1,sF,null)};w(tF,I);
  var sF=[20],uF=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Sk(b,2,c);c=L(a,3);null!=c&&Sk(b,3,c);c=L(a,4);null!=c&&Sk(b,4,c);c=L(a,5);null!=c&&Sk(b,5,c);c=L(a,6);null!=c&&Sk(b,6,c);c=S(a,kF,7);null!=c&&H(b,7,c,lF);c=S(a,kF,8);null!=c&&H(b,8,c,lF);c=L(a,9);null!=c&&Pk(b,9,c);c=L(a,10);null!=c&&Pk(b,10,c);c=L(a,25);null!=c&&Tk(b,25,c);c=L(a,26);null!=c&&Tk(b,26,c);c=L(a,11);null!=c&&Tk(b,11,c);c=L(a,12);null!=c&&b.g(12,c);c=S(a,kF,13);null!=c&&H(b,13,c,lF);c=S(a,kF,14);null!=c&&
  H(b,14,c,lF);c=L(a,15);null!=c&&Sk(b,15,c);c=S(a,mF,17);null!=c&&H(b,17,c,nF);c=S(a,qF,18);null!=c&&H(b,18,c,rF);c=S(a,oF,19);null!=c&&H(b,19,c,pF);c=ol(a,20);if(0<c.length&&null!=c)for(var d=0;d<c.length;d++)Sk(b,20,c[d]);c=L(a,21);null!=c&&b.g(21,c);c=L(a,22);null!=c&&Pk(b,22,c);c=L(a,23);null!=c&&b.g(23,c);c=L(a,24);null!=c&&b.g(24,c)};var vF=function(a){J(this,a,0,-1,null,null)};w(vF,I);var wF=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&b.g(3,c)};var xF=function(a){J(this,a,0,-1,null,null)};w(xF,I);var yF=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,4);null!=c&&Vk(b,4,c);c=L(a,5);null!=c&&Vk(b,5,c);c=L(a,6);null!=c&&Vk(b,6,c);c=S(a,kF,7);null!=c&&H(b,7,c,lF)};xF.prototype.getState=function(){return L(this,6)};var zF=function(a){J(this,a,0,-1,null,null)};w(zF,I);var AF=function(a,b){var c=L(a,1);if(null!=c&&null!=c){c=jk(c);Jk(b,1,2);Ak(b.h,c.length);var d=b.h.end();b.l.push(d);b.l.push(c);b.j+=d.length+c.length}c=L(a,2);null!=c&&b.C(2,c)};zF.prototype.jd=function(){return L(this,1)};zF.prototype.Fb=function(){return L(this,2)};var BF=function(a){J(this,a,0,-1,null,null)};w(BF,I);var CF=function(a,b){a=L(a,1);null!=a&&b.g(1,a)};var EF=function(a){J(this,a,0,-1,null,DF)};w(EF,I);var DF=[[6]],FF=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&Pk(b,3,c);c=S(a,BF,6);null!=c&&H(b,6,c,CF)};var HF=function(a){J(this,a,0,-1,GF,null)};w(HF,I);var GF=[1],IF=function(a,b){var c=T(a,EF,1);0<c.length&&$k(b,1,c,FF);c=S(a,zF,2);null!=c&&H(b,2,c,AF);c=S(a,zF,3);null!=c&&H(b,3,c,AF);c=L(a,4);null!=c&&Vk(b,4,c);c=S(a,xF,5);null!=c&&H(b,5,c,yF)};var JF=function(a){J(this,a,0,-1,null,null)};w(JF,I);var KF=function(a,b){var c=L(a,1);null!=c&&b.C(1,c);c=L(a,6);null!=c&&b.g(6,c);c=L(a,2);null!=c&&Rk(b,2,c);a.g||(a.g={});c=3 in a.g?a.g[3]:(c=L(a,3))?a.g[3]=new fl(c):void 0;if(c&&0<gl(c).length){var d=Ik.prototype.C,e=Ik.prototype.g,f=gl(c);f.sort();for(var g=0;g<f.length;g++){var h=c.g[f[g]];b.m.push(Kk(b,3));d.call(b,1,h.key);e.call(b,2,h.value);Lk(b,b.m.pop())}}c=L(a,4);null!=c&&b.g(4,c);c=S(a,kF,5);null!=c&&H(b,5,c,lF)};var NF=function(a){J(this,a,0,-1,LF,MF)};w(NF,I);var LF=[6],MF=[[1,2]],OF=function(a,b){var c=S(a,vF,1);null!=c&&H(b,1,c,wF);c=L(a,2);null!=c&&G(b,2,c);c=S(a,gF,3);null!=c&&H(b,3,c,iF);c=L(a,4);null!=c&&Vk(b,4,c);c=L(a,5);null!=c&&Vk(b,5,c);c=T(a,HF,6);0<c.length&&$k(b,6,c,IF);c=S(a,JF,7);null!=c&&H(b,7,c,KF);c=S(a,tF,8);null!=c&&H(b,8,c,uF)};var QF=function(a){J(this,a,0,-1,PF,null)};w(QF,I);var SF=function(a){J(this,a,0,-1,RF,null)};w(SF,I);var UF=function(a){J(this,a,0,-1,TF,null)};w(UF,I);var VF=function(a){J(this,a,0,-1,null,null)};w(VF,I);var XF=function(a){J(this,a,0,-1,WF,null)};w(XF,I);var YF=function(a){J(this,a,0,-1,null,null)};w(YF,I);var $F=function(a){J(this,a,0,-1,ZF,null)};w($F,I);var aG=function(a){J(this,a,0,-1,null,null)};w(aG,I);var cG=function(a){J(this,a,0,-1,bG,null)};w(cG,I);
  var dG=function(a){J(this,a,0,-1,null,null)};w(dG,I);var eG=function(a){J(this,a,0,-1,null,null)};w(eG,I);var fG=function(a){J(this,a,0,-1,null,null)};w(fG,I);var hG=function(a){J(this,a,0,-1,gG,null)};w(hG,I);var jG=function(a){J(this,a,0,-1,iG,null)};w(jG,I);var kG=function(a){J(this,a,0,-1,null,null)};w(kG,I);var lG=function(a){J(this,a,0,-1,null,null)};w(lG,I);var nG=function(a){J(this,a,0,-1,mG,null)};w(nG,I);var pG=function(a){J(this,a,0,-1,oG,null)};w(pG,I);
  var qG=function(a){J(this,a,0,-1,null,null)};w(qG,I);var rG=function(a){J(this,a,0,-1,null,null)};w(rG,I);var tG=function(a){J(this,a,0,-1,sG,null)};w(tG,I);var uG=function(a){J(this,a,0,-1,null,null)};w(uG,I);
  var PF=[5,52,182],zG=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,133);null!=c&&Pk(b,133,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,105);null!=c&&Vk(b,105,c);c=L(a,107);null!=c&&Pk(b,107,c);c=L(a,104);null!=c&&Pk(b,104,c);c=L(a,4);null!=c&&G(b,4,c);c=L(a,43);null!=c&&G(b,43,c);c=T(a,SF,5);0<c.length&&al(b,5,c,vG);c=L(a,28);null!=c&&Uk(b,28,c);c=L(a,29);null!=c&&b.g(29,c);c=L(a,30);null!=c&&b.g(30,c);c=L(a,112);null!=c&&G(b,112,c);c=L(a,106);null!=c&&b.g(106,c);c=L(a,100);
  null!=c&&G(b,100,c);c=L(a,68);null!=c&&b.g(68,c);c=S(a,rG,69);null!=c&&H(b,69,c,wG);c=L(a,42);null!=c&&Pk(b,42,c);c=T(a,tG,52);0<c.length&&$k(b,52,c,xG);c=S(a,uG,135);null!=c&&H(b,135,c,yG);c=L(a,170);null!=c&&Vk(b,170,c);c=T(a,NF,182);0<c.length&&$k(b,182,c,OF)},RF=[2,13,154,200],vG=function(a,b){var c=L(a,1);null!=c&&b.g(6,c);c=L(a,113);null!=c&&b.g(118,c);c=L(a,118);null!=c&&b.g(123,c);c=L(a,162);null!=c&&Vk(b,167,c);c=L(a,174);null!=c&&Vk(b,179,c);c=S(a,$E,207);null!=c&&H(b,212,c,aF);c=S(a,$E,
  208);null!=c&&H(b,213,c,aF);c=S(a,XE,221);null!=c&&H(b,226,c,YE);c=AG(a);0<c.length&&al(b,7,c,BG);c=CG(a);0<c.length&&al(b,18,c,DG);c=L(a,34);null!=c&&b.g(39,c);c=L(a,92);null!=c&&b.g(97,c);c=L(a,94);null!=c&&b.g(99,c);c=L(a,93);null!=c&&b.g(98,c);c=L(a,35);null!=c&&b.g(40,c);c=L(a,36);null!=c&&b.g(41,c);c=L(a,189);null!=c&&Sk(b,194,c);c=S(a,eG,234);null!=c&&H(b,239,c,EG);c=L(a,54);null!=c&&b.g(59,c);c=L(a,66);null!=c&&Vk(b,71,c);c=L(a,71);null!=c&&Sk(b,76,c);c=L(a,72);null!=c&&b.g(77,c);c=L(a,73);
  null!=c&&b.g(78,c);c=L(a,74);null!=c&&Uk(b,79,c);c=L(a,75);null!=c&&b.g(80,c);c=S(a,hG,129);null!=c&&H(b,134,c,FG);c=L(a,150);null!=c&&Pk(b,155,c);c=L(a,151);null!=c&&Pk(b,156,c);c=T(a,RE,154);0<c.length&&$k(b,159,c,SE);c=S(a,kG,183);null!=c&&H(b,188,c,GG);c=T(a,lG,200);0<c.length&&$k(b,205,c,HG);c=S(a,UE,222);null!=c&&H(b,227,c,VE);c=S(a,nG,231);null!=c&&H(b,236,c,IG);c=S(a,cF,232);null!=c&&H(b,237,c,fF);c=S(a,qG,233);null!=c&&H(b,238,c,JG);c=L(a,235);null!=c&&Uk(b,240,c);c=S(a,LE,236);null!=c&&
  H(b,241,c,ME)},TF=[169,178,153,214,53,136,54,174,176,157,208,158,190,135,141,142,150,226],BG=function(a,b){var c=L(a,1);null!=c&&Vk(b,8,c);c=L(a,169);0<c.length&&Zk(b,176,c);c=L(a,2);null!=c&&b.g(9,c);c=L(a,3);null!=c&&b.g(10,c);c=L(a,4);null!=c&&b.g(11,c);c=L(a,5);null!=c&&b.g(12,c);c=L(a,6);null!=c&&b.g(13,c);c=L(a,178);0<c.length&&bl(b,185,c);c=L(a,7);null!=c&&Pk(b,14,c);c=L(a,8);null!=c&&b.g(15,c);c=L(a,9);null!=c&&Pk(b,16,c);c=L(a,10);null!=c&&b.g(17,c);c=L(a,24);null!=c&&Vk(b,31,c);c=L(a,184);
  null!=c&&Vk(b,191,c);c=L(a,185);null!=c&&b.g(192,c);c=L(a,25);null!=c&&Rk(b,32,c);c=L(a,117);null!=c&&Sk(b,124,c);c=L(a,26);null!=c&&b.g(33,c);c=S(a,NE,140);null!=c&&H(b,147,c,OE);c=L(a,188);null!=c&&Sk(b,195,c);c=S(a,NE,189);null!=c&&H(b,196,c,OE);c=L(a,27);null!=c&&b.g(34,c);c=L(a,151);null!=c&&b.g(158,c);c=L(a,28);null!=c&&b.g(35,c);c=L(a,29);null!=c&&b.g(36,c);c=L(a,30);null!=c&&b.g(37,c);c=L(a,197);null!=c&&b.g(204,c);c=L(a,31);null!=c&&b.g(38,c);c=L(a,50);null!=c&&Sk(b,57,c);c=L(a,87);null!=
  c&&Sk(b,94,c);c=L(a,51);null!=c&&Sk(b,58,c);c=L(a,88);null!=c&&Sk(b,95,c);c=L(a,37);null!=c&&b.g(44,c);c=L(a,38);null!=c&&b.g(45,c);c=L(a,39);null!=c&&b.g(46,c);c=L(a,40);null!=c&&b.g(47,c);c=L(a,41);null!=c&&b.g(48,c);c=L(a,42);null!=c&&b.g(49,c);c=L(a,43);null!=c&&b.g(50,c);c=L(a,124);null!=c&&b.g(131,c);c=L(a,125);null!=c&&b.g(132,c);c=L(a,96);null!=c&&b.g(103,c);c=L(a,80);null!=c&&b.g(87,c);c=L(a,44);null!=c&&G(b,51,c);c=L(a,94);null!=c&&G(b,101,c);c=L(a,143);null!=c&&G(b,150,c);c=L(a,46);null!=
  c&&b.g(53,c);c=L(a,47);null!=c&&b.g(54,c);c=L(a,48);null!=c&&b.g(55,c);c=L(a,49);null!=c&&b.g(56,c);c=L(a,63);null!=c&&Sk(b,70,c);c=L(a,129);null!=c&&Sk(b,136,c);c=L(a,133);null!=c&&Sk(b,140,c);c=L(a,153);0<c.length&&bl(b,160,c);c=L(a,154);null!=c&&b.g(161,c);c=L(a,155);null!=c&&Pk(b,162,c);c=L(a,213);null!=c&&b.g(220,c);c=ol(a,214);0<c.length&&cl(b,221,c);c=KG(a);0<c.length&&Xk(b,60,c);c=LG(a);0<c.length&&$k(b,143,c,MG);c=T(a,XF,54);0<c.length&&al(b,61,c,NG);c=L(a,174);0<c.length&&Zk(b,181,c);c=
  T(a,jG,176);0<c.length&&$k(b,183,c,OG);c=L(a,57);null!=c&&b.g(64,c);c=L(a,58);null!=c&&b.g(65,c);c=L(a,144);null!=c&&b.g(151,c);c=L(a,145);null!=c&&b.g(152,c);c=L(a,114);null!=c&&b.g(121,c);c=L(a,115);null!=c&&b.g(122,c);c=L(a,159);null!=c&&b.g(166,c);c=L(a,113);null!=c&&b.g(120,c);c=L(a,139);null!=c&&b.g(146,c);c=L(a,78);null!=c&&b.g(85,c);c=L(a,79);null!=c&&b.g(86,c);c=L(a,59);null!=c&&Uk(b,66,c);c=L(a,173);null!=c&&Vk(b,180,c);c=L(a,60);null!=c&&Uk(b,67,c);c=L(a,65);null!=c&&b.g(72,c);c=L(a,95);
  null!=c&&b.g(102,c);c=L(a,194);null!=c&&b.g(201,c);c=S(a,YF,196);null!=c&&H(b,203,c,PG);c=L(a,68);null!=c&&Sk(b,75,c);c=L(a,103);null!=c&&Sk(b,110,c);c=L(a,207);null!=c&&Sk(b,214,c);c=L(a,106);null!=c&&Sk(b,113,c);c=L(a,107);null!=c&&Sk(b,114,c);c=L(a,104);null!=c&&Sk(b,111,c);c=L(a,156);null!=c&&Sk(b,163,c);c=ol(a,157);0<c.length&&cl(b,164,c);c=ol(a,208);0<c.length&&cl(b,215,c);c=L(a,158);0<c.length&&bl(b,165,c);c=ol(a,190);0<c.length&&cl(b,197,c);c=L(a,74);null!=c&&b.g(81,c);c=L(a,165);null!=c&&
  Pk(b,172,c);c=L(a,170);null!=c&&Tk(b,177,c);c=L(a,171);null!=c&&Pk(b,178,c);c=L(a,166);null!=c&&Pk(b,173,c);c=L(a,167);null!=c&&Pk(b,174,c);c=L(a,168);null!=c&&Pk(b,175,c);c=L(a,75);null!=c&&b.g(82,c);c=L(a,76);null!=c&&b.g(83,c);c=L(a,77);null!=c&&b.g(84,c);c=L(a,81);null!=c&&b.g(88,c);c=L(a,82);null!=c&&b.g(89,c);c=L(a,83);null!=c&&b.g(90,c);c=L(a,84);null!=c&&b.g(91,c);c=L(a,85);null!=c&&b.g(92,c);c=L(a,86);null!=c&&b.g(93,c);c=L(a,134);null!=c&&b.g(141,c);c=L(a,89);null!=c&&b.g(96,c);c=L(a,112);
  null!=c&&b.g(119,c);c=L(a,118);null!=c&&b.g(125,c);c=L(a,119);null!=c&&b.g(126,c);c=S(a,NE,132);null!=c&&H(b,139,c,OE);c=S(a,NE,120);null!=c&&H(b,127,c,OE);c=S(a,NE,121);null!=c&&H(b,128,c,OE);c=S(a,NE,146);null!=c&&H(b,153,c,OE);c=S(a,NE,122);null!=c&&H(b,129,c,OE);c=S(a,NE,123);null!=c&&H(b,130,c,OE);c=S(a,NE,147);null!=c&&H(b,154,c,OE);c=L(a,138);null!=c&&b.g(145,c);c=S(a,NE,137);null!=c&&H(b,144,c,OE);c=L(a,108);null!=c&&b.g(115,c);c=L(a,109);null!=c&&b.g(116,c);c=L(a,110);null!=c&&b.g(117,c);
  c=L(a,130);null!=c&&Pk(b,137,c);c=L(a,131);null!=c&&Pk(b,138,c);c=L(a,182);null!=c&&b.g(189,c);c=L(a,183);null!=c&&b.g(190,c);c=L(a,191);null!=c&&b.g(198,c);c=L(a,192);null!=c&&b.g(199,c);c=L(a,193);null!=c&&b.g(200,c);c=L(a,135);0<c.length&&Wk(b,142,c);c=L(a,141);0<c.length&&Wk(b,148,c);c=L(a,142);0<c.length&&Wk(b,149,c);c=L(a,150);0<c.length&&Wk(b,157,c);c=S(a,PE,180);null!=c&&H(b,187,c,QE);c=S(a,NE,195);null!=c&&H(b,202,c,OE);c=L(a,221);null!=c&&b.g(228,c);c=L(a,222);null!=c&&Pk(b,229,c);c=L(a,
  223);null!=c&&Pk(b,230,c);c=L(a,224);null!=c&&Pk(b,231,c);c=L(a,225);null!=c&&Pk(b,232,c);c=T(a,$F,226);0<c.length&&$k(b,233,c,QG);c=L(a,227);null!=c&&b.g(234,c);c=S(a,UE,228);null!=c&&H(b,235,c,VE)},MG=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,3);null!=c&&Rk(b,3,c)},WF=[2],NG=function(a,b){var c=L(a,1);null!=c&&G(b,62,c);c=L(a,2);0<c.length&&Xk(b,63,c)},PG=function(a,b){a=L(a,1);null!=a&&b.g(1,a)},ZF=[2],QG=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=T(a,
  aG,2);0<c.length&&$k(b,2,c,RG)},RG=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c)},SG=function(a){return L(a,1)};UF.prototype.u=function(a){return Q(this,178,a||[])};var TG=function(a){return L(a,24)},UG=function(a,b){Q(a,184,b)},VG=function(a){return L(a,25)};UF.prototype.F=function(a){return U(this,140,a)};var KG=function(a){return L(a,53)},LG=function(a){return T(a,VF,136)};UF.prototype.l=function(a){return xl(this,136,a)};var WG=function(a,b){Q(a,173,b)};k=UF.prototype;
  k.Sh=function(a){return Q(this,68,a)};k.vj=function(a){return Q(this,103,a)};k.Iz=function(a){return Q(this,207,a)};k.sj=function(a){return Q(this,106,a)};k.nj=function(a){return Q(this,107,a)};k.tj=function(a){return Q(this,104,a)};k.uj=function(a){return Q(this,156,a)};k.Uz=function(a){return Q(this,157,a||[])};k.Jz=function(a){return Q(this,208,a||[])};k.Mz=function(a){return Q(this,158,a||[])};k.Pz=function(a){return U(this,132,a)};k.Lz=function(a){return U(this,121,a)};
  k.Tz=function(a){return U(this,146,a)};k.Kz=function(a){return U(this,122,a)};k.Qz=function(a){return U(this,147,a)};k.Nz=function(a){return U(this,137,a)};
  var bG=[168,175],DG=function(a,b){var c=L(a,1);null!=c&&b.g(19,c);c=L(a,2);null!=c&&b.g(20,c);c=L(a,3);null!=c&&b.g(21,c);c=L(a,168);0<c.length&&bl(b,186,c);c=L(a,4);null!=c&&Pk(b,22,c);c=L(a,5);null!=c&&b.g(23,c);c=L(a,90);null!=c&&b.g(108,c);c=L(a,91);null!=c&&b.g(109,c);c=L(a,6);null!=c&&Pk(b,24,c);c=L(a,7);null!=c&&b.g(25,c);c=L(a,150);null!=c&&b.g(168,c);c=L(a,151);null!=c&&b.g(169,c);c=L(a,188);null!=c&&Pk(b,206,c);c=L(a,189);null!=c&&Pk(b,207,c);c=L(a,192);null!=c&&Pk(b,210,c);c=L(a,193);null!=
  c&&Pk(b,211,c);c=L(a,190);null!=c&&Sk(b,208,c);c=L(a,191);null!=c&&Sk(b,209,c);c=L(a,153);null!=c&&b.g(171,c);c=S(a,DE,8,1);null!=c&&H(b,26,c,EE);c=S(a,DE,9,1);null!=c&&H(b,27,c,EE);c=L(a,55);null!=c&&b.g(73,c);c=S(a,dG,56);null!=c&&H(b,74,c,XG);c=T(a,jG,175);0<c.length&&$k(b,193,c,OG)},XG=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c)},YG=function(a,b){Q(a,1,b)},ZG=function(a,b){Q(a,2,b)};
  cG.prototype.l=function(a){return Q(this,168,a||[])};
  var EG=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,3);null!=c&&Pk(b,3,c);c=S(a,fG,4);null!=c&&H(b,4,c,$G);c=S(a,fG,5);null!=c&&H(b,5,c,$G);c=S(a,fG,6);null!=c&&H(b,6,c,$G);c=S(a,fG,7);null!=c&&H(b,7,c,$G);c=S(a,fG,8);null!=c&&H(b,8,c,$G);c=S(a,fG,9);null!=c&&H(b,9,c,$G)},$G=function(a,b){var c=L(a,1);null!=c&&Pk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c);c=L(a,3);null!=c&&Pk(b,3,c)},gG=[3],FG=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,
  3);0<c.length&&Wk(b,3,c)},iG=[1],OG=function(a,b){var c=L(a,1);0<c.length&&Zk(b,1,c);c=L(a,2);null!=c&&G(b,2,c)},GG=function(a,b){var c=L(a,1);null!=c&&Uk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c)},HG=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c)},mG=[1,2],IG=function(a,b){var c=T(a,pG,1);0<c.length&&$k(b,1,c,aH);c=L(a,2);0<c.length&&Yk(b,2,c)},oG=[2],aH=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);0<c.length&&Yk(b,2,c)},JG=function(a,b){var c=
  L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&b.g(2,c)},AG=function(a){return T(a,UF,2)},bH=function(a,b){xl(a,2,b)},CG=function(a){return T(a,cG,13)},wG=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c)},sG=[3,4],xG=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);0<c.length&&Xk(b,3,c);c=L(a,4);0<c.length&&Xk(b,4,c)},yG=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c)};var cH=function(a){J(this,a,0,-1,null,null)};w(cH,I);var dH=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Pk(b,2,c)};var eH=function(a){J(this,a,0,-1,null,aaa)};w(eH,I);var fH=function(a){J(this,a,0,-1,null,null)};w(fH,I);var gH=function(a){J(this,a,0,-1,null,null)};w(gH,I);var aaa=[[1,2]],daa=function(a,b){var c=S(a,fH,1);null!=c&&H(b,1,c,baa);c=S(a,gH,2);null!=c&&H(b,2,c,caa)},baa=function(a,b){a=L(a,1);null!=a&&Vk(b,1,a)},caa=function(a,b){a=L(a,1);null!=a&&Vk(b,1,a)};var hH=function(a){J(this,a,0,-1,null,null)};w(hH,I);var iH=function(a){J(this,a,0,-1,null,null)};w(iH,I);var eaa=function(a,b){var c=S(a,iH,1);null!=c&&H(b,1,c,jH);c=S(a,iH,2);null!=c&&H(b,2,c,jH);c=L(a,3);null!=c&&Vk(b,3,c);c=S(a,eH,4);null!=c&&H(b,4,c,daa);c=L(a,5);null!=c&&Uk(b,5,c)},jH=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&G(b,3,c)};var kH=function(a){J(this,a,0,-1,null,null)};w(kH,I);var faa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&Uk(b,3,c);c=L(a,4);null!=c&&G(b,4,c);c=L(a,5);null!=c&&G(b,5,c);c=L(a,6);null!=c&&G(b,6,c);c=L(a,7);null!=c&&Vk(b,7,c)};kH.prototype.va=function(){return L(this,6)};var lH=function(a){J(this,a,0,-1,null,null)};w(lH,I);var gaa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&G(b,4,c);c=L(a,5);null!=c&&G(b,5,c)};var mH=function(a){J(this,a,0,-1,null,null)};w(mH,I);
  var nH=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=S(a,kH,2);null!=c&&H(b,2,c,faa);c=S(a,hH,6);null!=c&&H(b,6,c,eaa);c=L(a,3);null!=c&&G(b,3,c);c=L(a,11);null!=c&&G(b,11,c);c=L(a,4);null!=c&&G(b,4,c);c=L(a,5);null!=c&&b.g(5,c);c=L(a,7);null!=c&&Pk(b,7,c);c=L(a,8);null!=c&&G(b,8,c);c=S(a,cH,12);null!=c&&H(b,12,c,dH);c=L(a,9);null!=c&&Vk(b,9,c);c=L(a,10);null!=c&&Vk(b,10,c);c=L(a,13);null!=c&&Uk(b,13,c);c=S(a,lH,14);null!=c&&H(b,14,c,gaa);c=L(a,15);null!=c&&Uk(b,15,c);c=S(a,LE,16);null!=c&&H(b,
  16,c,ME)};var oH=function(a){J(this,a,0,-1,haa,null)};w(oH,I);var pH=function(a){J(this,a,0,-1,null,null)};w(pH,I);var qH=function(a){J(this,a,0,-1,null,null)};w(qH,I);
  var haa=[5,8,9],kaa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=T(a,pH,5);0<c.length&&al(b,5,c,iaa);c=T(a,qH,8);0<c.length&&$k(b,8,c,jaa);c=L(a,9);0<c.length&&Yk(b,9,c);c=L(a,10);null!=c&&G(b,10,c)},iaa=function(a,b){var c=L(a,1);null!=c&&G(b,6,c);c=L(a,2);null!=c&&G(b,7,c)},jaa=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&G(b,2,c)};var rH=function(a){J(this,a,0,-1,laa,null)};w(rH,I);var sH=function(a){J(this,a,0,-1,maa,null)};w(sH,I);var tH=function(a){J(this,a,0,-1,null,null)};w(tH,I);
  var laa=[1],oaa=function(a,b){var c=T(a,sH,1);0<c.length&&al(b,1,c,naa);c=L(a,15);null!=c&&Vk(b,15,c);c=L(a,16);null!=c&&b.g(16,c);c=L(a,17);null!=c&&b.g(17,c);c=S(a,dG,18);null!=c&&H(b,18,c,XG)},maa=[8,9,10,11,12,13],naa=function(a,b){var c=L(a,1);null!=c&&G(b,2,c);c=L(a,2);null!=c&&G(b,3,c);c=L(a,3);null!=c&&G(b,4,c);c=L(a,4);null!=c&&G(b,5,c);c=L(a,5);null!=c&&G(b,6,c);c=L(a,6);null!=c&&Vk(b,7,c);c=L(a,7);null!=c&&Vk(b,8,c);c=T(a,tH,8);0<c.length&&$k(b,9,c,uH);c=T(a,tH,9);0<c.length&&$k(b,10,c,
  uH);c=T(a,tH,10);0<c.length&&$k(b,11,c,uH);c=T(a,tH,11);0<c.length&&$k(b,12,c,uH);c=T(a,tH,12);0<c.length&&$k(b,13,c,uH);c=T(a,tH,13);0<c.length&&$k(b,14,c,uH)},uH=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c)};var vH=function(a){J(this,a,0,-1,null,null)};w(vH,I);var wH=function(a){J(this,a,0,-1,null,null)};w(wH,I);
  var qaa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c);c=S(a,wH,6);null!=c&&H(b,6,c,paa);c=L(a,7);null!=c&&G(b,7,c)},paa=function(a,b){var c=L(a,1);null!=c&&Uk(b,1,c);c=L(a,51);null!=c&&Uk(b,51,c);c=L(a,4);null!=c&&Uk(b,4,c);c=L(a,61);null!=c&&Vk(b,61,c);c=L(a,7);null!=c&&Uk(b,7,c);c=L(a,109);null!=c&&Uk(b,109,c);c=L(a,14);null!=c&&Uk(b,14,c);c=L(a,15);null!=c&&b.g(15,c);c=L(a,16);null!=c&&b.g(16,
  c);c=L(a,31);null!=c&&b.g(31,c);c=L(a,33);null!=c&&Uk(b,33,c);c=L(a,35);null!=c&&Uk(b,35,c);c=L(a,36);null!=c&&Uk(b,36,c);c=L(a,37);null!=c&&Uk(b,37,c);c=L(a,38);null!=c&&Uk(b,38,c);c=L(a,43);null!=c&&Uk(b,43,c);c=L(a,44);null!=c&&Uk(b,44,c);c=L(a,45);null!=c&&Uk(b,45,c);c=L(a,46);null!=c&&Uk(b,46,c);c=L(a,47);null!=c&&Uk(b,47,c);c=L(a,48);null!=c&&Uk(b,48,c);c=L(a,49);null!=c&&Uk(b,49,c);c=L(a,50);null!=c&&Uk(b,50,c);c=L(a,88);null!=c&&Uk(b,88,c);c=L(a,56);null!=c&&Uk(b,56,c);c=L(a,57);null!=c&&
  b.g(57,c);c=L(a,58);null!=c&&Uk(b,58,c);c=L(a,59);null!=c&&Uk(b,59,c);c=L(a,60);null!=c&&Uk(b,60,c);c=L(a,62);null!=c&&G(b,62,c);c=L(a,63);null!=c&&Uk(b,63,c);c=L(a,64);null!=c&&b.g(64,c);c=L(a,66);null!=c&&Uk(b,66,c);c=L(a,67);null!=c&&Uk(b,67,c);c=L(a,68);null!=c&&Uk(b,68,c);c=L(a,104);null!=c&&b.g(104,c);c=L(a,70);null!=c&&b.g(70,c);c=L(a,110);null!=c&&Uk(b,110,c);c=L(a,71);null!=c&&Uk(b,71,c);c=L(a,72);null!=c&&Uk(b,72,c);c=L(a,74);null!=c&&Uk(b,74,c);c=L(a,75);null!=c&&Sk(b,75,c);c=L(a,76);null!=
  c&&Uk(b,76,c);c=L(a,77);null!=c&&b.g(77,c);c=L(a,78);null!=c&&Uk(b,78,c);c=L(a,79);null!=c&&Uk(b,79,c);c=L(a,80);null!=c&&Uk(b,80,c);c=L(a,81);null!=c&&Uk(b,81,c);c=L(a,82);null!=c&&Uk(b,82,c);c=L(a,84);null!=c&&Uk(b,84,c);c=L(a,85);null!=c&&Uk(b,85,c);c=L(a,86);null!=c&&Uk(b,86,c);c=L(a,87);null!=c&&Uk(b,87,c);c=L(a,99);null!=c&&Uk(b,99,c);c=L(a,89);null!=c&&Uk(b,89,c);c=L(a,112);null!=c&&b.g(112,c);c=L(a,90);null!=c&&b.g(90,c);c=L(a,97);null!=c&&b.g(97,c);c=L(a,91);null!=c&&Uk(b,91,c);c=L(a,92);
  null!=c&&Uk(b,92,c);c=L(a,93);null!=c&&Uk(b,93,c);c=L(a,101);null!=c&&G(b,101,c)};wH.prototype.uk=function(){return O(this,7,!1)};wH.prototype.Dk=function(){return O(this,46,!1)};wH.prototype.mg=function(){return O(this,66,!1)};var xH=function(a){J(this,a,0,-1,null,null)};w(xH,I);var raa=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=L(a,3);null!=c&&G(b,3,c);c=L(a,4);null!=c&&G(b,4,c);c=L(a,5);null!=c&&Pk(b,5,c);c=L(a,6);null!=c&&Pk(b,6,c)},saa=function(a,b){return Q(a,1,b)},taa=function(a,b){return Q(a,3,b)},uaa=function(a,b){return Q(a,4,b)},vaa=function(a,b){return Q(a,5,b)};var yH=function(a){J(this,a,0,-1,null,null)};w(yH,I);var waa=function(a,b){var c=L(a,1);null!=c&&b.g(1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&Pk(b,3,c);c=L(a,4);null!=c&&Pk(b,4,c)};var zH=function(a){J(this,a,0,-1,null,null)};w(zH,I);var xaa=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,6);null!=c&&b.g(6,c);c=L(a,7);null!=c&&b.g(7,c);c=L(a,8);null!=c&&b.g(8,c);c=L(a,9);null!=c&&G(b,9,c);c=L(a,5);null!=c&&Vk(b,5,c)};zH.prototype.getName=function(){return L(this,2)};zH.prototype.getDeviceId=function(){return L(this,6)};var AH=function(a){J(this,a,0,-1,yaa,null)};w(AH,I);var BH=function(a){J(this,a,0,-1,null,null)};w(BH,I);var CH=function(a){J(this,a,0,-1,zaa,null)};w(CH,I);var DH=function(a){J(this,a,0,-1,null,null)};w(DH,I);
  var yaa=[24],Caa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,25);null!=c&&G(b,25,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&G(b,5,c);c=L(a,6);null!=c&&b.g(6,c);c=L(a,7);null!=c&&b.g(7,c);c=L(a,8);null!=c&&G(b,8,c);c=L(a,9);null!=c&&b.g(9,c);c=L(a,10);null!=c&&b.g(10,c);c=L(a,11);null!=c&&G(b,11,c);c=L(a,12);null!=c&&G(b,12,c);c=L(a,13);null!=c&&G(b,13,c);c=L(a,14);null!=c&&G(b,14,c);c=L(a,15);null!=c&&G(b,15,c);c=L(a,16);null!=c&&G(b,
  16,c);c=L(a,17);null!=c&&b.g(17,c);c=L(a,18);null!=c&&b.g(18,c);c=L(a,19);null!=c&&G(b,19,c);c=L(a,26);null!=c&&G(b,26,c);c=L(a,20);null!=c&&G(b,20,c);c=S(a,BH,21);null!=c&&H(b,21,c,Aaa);c=L(a,22);null!=c&&G(b,22,c);c=S(a,CH,23);null!=c&&H(b,23,c,Baa);c=T(a,zH,24);0<c.length&&$k(b,24,c,xaa)},Aaa=function(a,b){var c=L(a,1);null!=c&&Uk(b,1,c);c=L(a,2);null!=c&&b.g(2,c);c=L(a,3);null!=c&&b.g(3,c);c=L(a,4);null!=c&&b.g(4,c);c=L(a,5);null!=c&&b.g(5,c)},zaa=[3],Baa=function(a,b){var c=L(a,1);null!=c&&b.g(1,
  c);c=L(a,2);null!=c&&b.g(2,c);c=T(a,DH,3);0<c.length&&$k(b,3,c,Daa)},Daa=function(a,b){var c=L(a,1);null!=c&&Vk(b,1,c);c=L(a,2);null!=c&&Vk(b,2,c);c=L(a,4);null!=c&&Vk(b,4,c);c=L(a,3);null!=c&&Vk(b,3,c)};var EH=function(a){J(this,a,0,-1,Eaa,null)};w(EH,I);
  var Eaa=[11],Faa=function(a,b){var c=L(a,1);null!=c&&G(b,1,c);c=L(a,2);null!=c&&G(b,2,c);c=L(a,14);null!=c&&G(b,14,c);c=L(a,21);null!=c&&G(b,21,c);c=L(a,24);null!=c&&G(b,24,c);c=L(a,3);null!=c&&G(b,3,c);c=S(a,QF,4);null!=c&&H(b,4,c,zG);c=S(a,oH,5);null!=c&&H(b,5,c,kaa);c=S(a,rH,6);null!=c&&H(b,6,c,oaa);c=S(a,vH,7);null!=c&&H(b,7,c,qaa);c=S(a,AH,8);null!=c&&H(b,8,c,Caa);c=S(a,mH,10);null!=c&&H(b,10,c,nH);c=S(a,mH,25);null!=c&&H(b,25,c,nH);c=S(a,yH,17);null!=c&&H(b,17,c,waa);c=S(a,xH,15);null!=c&&H(b,
  15,c,raa);c=L(a,11);0<c.length&&Zk(b,11,c);c=L(a,12);null!=c&&Uk(b,12,c);c=L(a,9);null!=c&&Vk(b,9,c);c=L(a,13);null!=c&&G(b,13,c);c=L(a,16);null!=c&&G(b,16,c);c=L(a,18);null!=c&&Uk(b,18,c);c=L(a,19);null!=c&&Pk(b,19,c);c=L(a,20);null!=c&&Pk(b,20,c);c=L(a,22);null!=c&&G(b,22,c);c=L(a,23);null!=c&&G(b,23,c)};EH.prototype.va=function(){return L(this,2)};EH.prototype.rb=function(){return L(this,21)};EH.prototype.Y=function(){return L(this,3)};var Gaa=function(a){var b=new EH;return U(b,15,a)};
  EH.prototype.Eb=function(){return L(this,22)};EH.prototype.Ka=function(){return L(this,23)};var FH=function(a){J(this,a,0,-1,null,null)};w(FH,I);k=FH.prototype;k.ky=function(){var a=new Ik;var b=S(this,FA,1);null!=b&&H(a,1,b,GA);b=L(this,2);null!=b&&G(a,2,b);b=S(this,EH,3);null!=b&&H(a,3,b,Faa);b=this.W();null!=b&&H(a,4,b,Ml);return Mk(a)};k.setRequestHeader=function(a){return U(this,1,a)};k.W=function(){return S(this,Gl,4)};k.J=function(a){U(this,4,a)};k.aa=function(){this.J(void 0)};var GH=function(a){J(this,a,"chselrp",-1,null,null)};w(GH,I);var Haa=function(a){a=new sk(a);for(var b=new GH;z(a)&&!x(a);)switch(a.g){case 1:var c=new JA;C(a,c,KA);U(b,1,c);break;case 2:c=new Gl;C(a,c,Kl);b.J(c);break;default:B(a)}return b};GH.messageId="chselrp";GH.prototype.getResponseHeader=function(){return S(this,JA,1)};GH.prototype.W=function(){return S(this,Gl,2)};GH.prototype.J=function(a){U(this,2,a)};GH.prototype.aa=function(){this.J(void 0)};var HH=function(a){J(this,a,0,-1,Iaa,null)};w(HH,I);var Iaa=[4];HH.prototype.setRequestHeader=function(a){return U(this,1,a)};HH.prototype.W=function(){return S(this,Gl,3)};HH.prototype.J=function(a){U(this,3,a)};HH.prototype.aa=function(){this.J(void 0)};var IH=function(a,b){return xl(a,4,b)};var JH=function(a){J(this,a,"chsemrp",-1,Jaa,null)};w(JH,I);var Jaa=[4];JH.messageId="chsemrp";JH.prototype.getResponseHeader=function(){return S(this,JA,1)};JH.prototype.W=function(){return S(this,Gl,3)};JH.prototype.J=function(a){U(this,3,a)};JH.prototype.aa=function(){this.J(void 0)};var KH=function(a){J(this,a,0,-1,Kaa,null)};w(KH,I);var Kaa=[4];KH.prototype.setRequestHeader=function(a){return U(this,1,a)};KH.prototype.W=function(){return S(this,Gl,3)};KH.prototype.J=function(a){U(this,3,a)};KH.prototype.aa=function(){this.J(void 0)};var LH=function(a){J(this,a,"chsomrp",-1,Laa,null)};w(LH,I);var Laa=[4];LH.messageId="chsomrp";LH.prototype.getResponseHeader=function(){return S(this,JA,1)};LH.prototype.W=function(){return S(this,Gl,3)};LH.prototype.J=function(a){U(this,3,a)};LH.prototype.aa=function(){this.J(void 0)};var MH=function(a){J(this,a,0,-1,null,null)};w(MH,I);MH.prototype.setRequestHeader=function(a){return U(this,1,a)};MH.prototype.va=function(){return L(this,2)};MH.prototype.Y=function(){return L(this,3)};MH.prototype.Da=function(){return L(this,4)};var NH=function(a){J(this,a,"chsoqrp",-1,null,null)};w(NH,I);NH.messageId="chsoqrp";NH.prototype.getResponseHeader=function(){return S(this,JA,1)};var OH=function(a){J(this,a,0,-1,Maa,null)};w(OH,I);var Maa=[2,3],Naa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new Sz;C(b,c,hA);yl(a,2,c,Sz);break;case 3:c=new eE;C(b,c,fE);yl(a,3,c,eE);break;case 4:c=new eE;C(b,c,fE);U(a,4,c);break;default:B(b)}return a};k=OH.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,Sz,2)};k.Ac=function(){return T(this,eE,3)};
  k.Gb=function(){return S(this,eE,4)};var PH=function(a){J(this,a,0,-1,null,null)};w(PH,I);var QH=function(a,b){for(;z(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:B(b)}return a};PH.prototype.va=function(){return L(this,1)};var RH=function(a){J(this,a,0,-1,Oaa,null)};w(RH,I);var Oaa=[2,3],Paa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new OA;C(b,c,PA);yl(a,2,c,OA);break;case 3:c=new PH;C(b,c,QH);yl(a,3,c,PH);break;case 4:c=new PH;C(b,c,QH);U(a,4,c);break;default:B(b)}return a};k=RH.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,OA,2)};k.Ac=function(){return T(this,PH,3)};
  k.Gb=function(){return S(this,PH,4)};var SH=function(a){J(this,a,0,-1,null,null)};w(SH,I);var Qaa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=uk(b);Q(a,2,c);break;case 3:c=F(b);Q(a,3,c);break;default:B(b)}return a};SH.prototype.W=function(){return S(this,Gl,1)};SH.prototype.J=function(a){U(this,1,a)};SH.prototype.aa=function(){this.J(void 0)};var TH=function(a){J(this,a,0,-1,Raa,null)};w(TH,I);var Raa=[1],Saa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);tl(a,1,c);break;default:B(b)}return a};var UH=function(a){J(this,a,0,-1,null,null)};w(UH,I);var Taa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new TH;C(b,c,Saa);U(a,1,c);break;default:B(b)}return a};var VH=function(a){J(this,a,0,-1,null,null)};w(VH,I);var WH=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;default:B(b)}return a};VH.prototype.va=function(){return L(this,1)};VH.prototype.l=function(a){return Q(this,1,a)};var XH=function(a){J(this,a,0,-1,Uaa,null)};w(XH,I);var Uaa=[2],Vaa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new xD;C(b,c,AD);yl(a,2,c,xD);break;case 3:c=new VH;C(b,c,WH);U(a,3,c);break;default:B(b)}return a};k=XH.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,xD,2)};k.Gb=function(){return S(this,VH,3)};var YH=function(a){J(this,a,0,-1,Waa,null)};w(YH,I);var Waa=[2,3],Xaa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new bB;C(b,c,gB);yl(a,2,c,bB);break;case 3:c=new ZD;C(b,c,$D);yl(a,3,c,ZD);break;case 4:c=E(b);Q(a,4,c);break;case 5:c=new ZD;C(b,c,$D);U(a,5,c);break;case 6:c=E(b);Q(a,6,c);break;default:B(b)}return a};k=YH.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};
  k.Ab=function(){return T(this,bB,2)};k.Ac=function(){return T(this,ZD,3)};k.Gb=function(){return S(this,ZD,5)};var ZH=function(a){J(this,a,0,-1,Yaa,null)};w(ZH,I);var Yaa=[2],Zaa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new sE;C(b,c,tE);yl(a,2,c,sE);break;default:B(b)}return a};ZH.prototype.W=function(){return S(this,Gl,1)};ZH.prototype.J=function(a){U(this,1,a)};ZH.prototype.aa=function(){this.J(void 0)};ZH.prototype.Ab=function(){return T(this,sE,2)};var $H=function(a){J(this,a,0,-1,$aa,null)};w($H,I);var $aa=[2,3],aba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new XA;C(b,c,YA);yl(a,2,c,XA);break;case 3:c=new VH;C(b,c,WH);yl(a,3,c,VH);break;case 4:c=new VH;C(b,c,WH);U(a,4,c);break;default:B(b)}return a};k=$H.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,XA,2)};k.Ac=function(){return T(this,VH,3)};
  k.Gb=function(){return S(this,VH,4)};var aI=function(a){J(this,a,0,-1,null,null)};w(aI,I);var bI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.u(c);break;default:B(b)}return a};aI.prototype.l=function(){return L(this,1)};aI.prototype.u=function(a){return Q(this,1,a)};var cI=function(a){J(this,a,0,-1,bba,null)};w(cI,I);var bba=[2,3],cba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new $B;C(b,c,nC);yl(a,2,c,$B);break;case 3:c=new aI;C(b,c,bI);yl(a,3,c,aI);break;case 4:c=new aI;C(b,c,bI);U(a,4,c);break;default:B(b)}return a};k=cI.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,$B,2)};k.Ac=function(){return T(this,aI,3)};
  k.Gb=function(){return S(this,aI,4)};var dI=function(a){J(this,a,0,-1,dba,null)};w(dI,I);var dba=[2,3],eba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new vC;C(b,c,GC);yl(a,2,c,vC);break;case 3:c=new gE;C(b,c,hE);yl(a,3,c,gE);break;case 4:c=new gE;C(b,c,hE);U(a,4,c);break;default:B(b)}return a};k=dI.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,vC,2)};k.Ac=function(){return T(this,gE,3)};
  k.Gb=function(){return S(this,gE,4)};var eI=function(a){J(this,a,0,-1,null,null)};w(eI,I);var fI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.Bl(c);break;case 2:c=F(b);a.Cl(c);break;case 3:c=F(b);a.Fp(c);break;case 4:c=E(b);a.Ep(c);break;default:B(b)}return a};k=eI.prototype;k.va=function(){return L(this,1)};k.Bl=function(a){return Q(this,1,a)};k.Dp=function(){return L(this,2)};k.Cl=function(a){return Q(this,2,a)};k.ly=function(){return L(this,3)};k.Fp=function(a){return Q(this,3,a)};
  k.Cp=function(){return L(this,4)};k.Ep=function(a){return Q(this,4,a)};var gI=function(a){J(this,a,0,-1,fba,null)};w(gI,I);var fba=[2,3],gba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new Gl;C(b,c,Kl);a.J(c);break;case 2:c=new LC;C(b,c,$C);yl(a,2,c,LC);break;case 3:c=new eI;C(b,c,fI);yl(a,3,c,eI);break;case 4:c=new eI;C(b,c,fI);U(a,4,c);break;default:B(b)}return a};k=gI.prototype;k.W=function(){return S(this,Gl,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,LC,2)};k.Ac=function(){return T(this,eI,3)};
  k.Gb=function(){return S(this,eI,4)};var hI=function(a){J(this,a,0,-1,null,null)};w(hI,I);var iI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;default:B(b)}return a};var jI=function(a){J(this,a,0,-1,hba,null)};w(jI,I);var hba=[5],kI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=vk(b);rl(a,2,c);break;case 3:c=new hI;C(b,c,iI);U(a,3,c);break;case 4:c=F(b);R(a,4,c);break;case 5:c=F(b);tl(a,5,c);break;case 6:c=vk(b);rl(a,6,c);break;case 7:c=vk(b);rl(a,7,c);break;default:B(b)}return a};jI.prototype.getName=function(){return N(this,1,"")};jI.prototype.getSelf=function(){return O(this,2,!1)};var lI=function(a){J(this,a,0,-1,null,null)};w(lI,I);var nI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=uk(b);mI(a,c);break;default:B(b)}return a},oI=function(a,b){a=a.tb();0!==a&&Pk(b,1,a)};lI.prototype.tb=function(){return N(this,1,0)};var mI=function(a,b){return ql(a,1,b,0)};var pI=function(a){J(this,a,0,-1,iba,null)};w(pI,I);var iba=[2,3],jba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new jI;C(b,c,kI);yl(a,2,c,jI);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a};k=pI.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,jI,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};var qI=function(a){J(this,a,0,-1,kba,null)};w(qI,I);var rI=function(a){J(this,a,0,-1,null,null)};w(rI,I);var sI=function(a){J(this,a,0,-1,null,null)};w(sI,I);var tI=function(a){J(this,a,0,-1,null,null)};w(tI,I);var uI=function(a){J(this,a,0,-1,null,null)};w(uI,I);
  var kba=[4],vI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=new sI;C(b,c,lba);U(a,3,c);break;case 4:c=new tI;C(b,c,mba);yl(a,4,c,tI);break;case 5:c=new gF;C(b,c,hF);U(a,5,c);break;case 6:c=new gF;C(b,c,hF);U(a,6,c);break;default:B(b)}return a},wI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;default:B(b)}return a};rI.prototype.Eb=function(){return N(this,1,"")};
  var lba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new rI;C(b,c,wI);U(a,1,c);break;default:B(b)}return a},mba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=new rI;C(b,c,wI);U(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 6:c=E(b);sl(a,6,c);break;case 7:c=new gF;C(b,c,hF);U(a,7,c);break;case 8:c=new gF;C(b,c,hF);U(a,8,c);break;case 4:c=new uI;C(b,c,nba);U(a,4,c);break;case 5:c=vk(b);rl(a,5,c);break;default:B(b)}return a},nba=function(a,b){for(;z(b)&&
  !x(b);)switch(b.g){case 1:var c=vk(b);rl(a,1,c);break;case 2:c=F(b);R(a,2,c);break;case 3:c=new gF;C(b,c,hF);U(a,3,c);break;default:B(b)}return a};tI.prototype.Ja=function(){return N(this,6,0)};qI.prototype.getName=function(){return N(this,1,"")};qI.prototype.Ja=function(){return N(this,2,0)};var xI=function(a){J(this,a,0,-1,oba,null)};w(xI,I);var oba=[2],pba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new qI;C(b,c,vI);yl(a,2,c,qI);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a};k=xI.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,qI,2)};k.Gb=function(){return N(this,3,"")};var yI=function(a){J(this,a,0,-1,qba,null)};w(yI,I);var zI=function(a){J(this,a,0,-1,null,null)};w(zI,I);var AI=function(a){J(this,a,0,-1,null,null)};w(AI,I);var BI=function(a){J(this,a,0,-1,null,null)};w(BI,I);var CI=function(a){J(this,a,0,-1,null,null)};w(CI,I);var DI=function(a){J(this,a,0,-1,null,null)};w(DI,I);var EI=function(a){J(this,a,0,-1,null,null)};w(EI,I);var FI=function(a){J(this,a,0,-1,null,null)};w(FI,I);
  var qba=[7,13,16,17,18],HI=function(a){a=new sk(a);var b=new yI;return GI(b,a)},GI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=F(b);R(a,2,c);break;case 29:c=F(b);R(a,29,c);break;case 24:c=new zI;C(b,c,rba);U(a,24,c);break;case 3:c=F(b);R(a,3,c);break;case 4:c=E(b);II(a,c);break;case 5:c=vk(b);rl(a,5,c);break;case 28:c=E(b);sl(a,28,c);break;case 7:c=F(b);tl(a,7,c);break;case 22:c=F(b);JI(a,c);break;case 23:c=F(b);R(a,23,c);break;case 8:c=vk(b);rl(a,8,c);break;
  case 9:c=vk(b);rl(a,9,c);break;case 10:c=F(b);R(a,10,c);break;case 11:c=E(b);sl(a,11,c);break;case 12:c=new AI;C(b,c,KI);LI(a,c);break;case 30:c=new AI;C(b,c,KI);U(a,30,c);break;case 27:c=new BI;C(b,c,sba);U(a,27,c);break;case 13:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,13,c[d]);break;case 14:c=new CI;C(b,c,tba);U(a,14,c);break;case 15:c=vk(b);rl(a,15,c);break;case 16:c=new DI;C(b,c,uba);yl(a,16,c,DI);break;case 17:c=new EI;C(b,c,vba);yl(a,17,c,EI);break;case 18:c=2==b.j?xk(b):[E(b)];
  for(d=0;d<c.length;d++)tl(a,18,c[d]);break;case 19:c=F(b);R(a,19,c);break;case 20:c=new FI;C(b,c,wba);U(a,20,c);break;case 21:c=F(b);R(a,21,c);break;case 25:c=E(b);sl(a,25,c);break;case 26:c=vk(b);rl(a,26,c);break;default:B(b)}return a},OI=function(a,b){var c=a.sb();0<c.length&&G(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c);c=N(a,29,"");0<c.length&&G(b,29,c);c=S(a,zI,24);null!=c&&H(b,24,c,xba);c=N(a,3,"");0<c.length&&G(b,3,c);c=MI(a);0!==c&&Vk(b,4,c);(c=O(a,5,!1))&&Uk(b,5,c);c=N(a,28,0);0!==c&&Vk(b,28,
  c);c=L(a,7);0<c.length&&Zk(b,7,c);c=N(a,22,"");0<c.length&&G(b,22,c);c=N(a,23,"");0<c.length&&G(b,23,c);(c=O(a,8,!1))&&Uk(b,8,c);(c=O(a,9,!1))&&Uk(b,9,c);c=N(a,10,"");0<c.length&&G(b,10,c);c=N(a,11,0);0!==c&&Vk(b,11,c);c=S(a,AI,12);null!=c&&H(b,12,c,NI);c=S(a,AI,30);null!=c&&H(b,30,c,NI);c=S(a,BI,27);null!=c&&H(b,27,c,yba);c=L(a,13);0<c.length&&dl(b,13,c);c=S(a,CI,14);null!=c&&H(b,14,c,zba);(c=O(a,15,!1))&&Uk(b,15,c);c=T(a,DI,16);0<c.length&&$k(b,16,c,Aba);c=T(a,EI,17);0<c.length&&$k(b,17,c,Bba);
  c=L(a,18);0<c.length&&dl(b,18,c);c=N(a,19,"");0<c.length&&G(b,19,c);c=S(a,FI,20);null!=c&&H(b,20,c,Cba);c=N(a,21,"");0<c.length&&G(b,21,c);c=N(a,25,0);0!==c&&Vk(b,25,c);(c=O(a,26,!1))&&Uk(b,26,c)},rba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);sl(a,1,c);break;default:B(b)}return a},xba=function(a,b){a=N(a,1,0);0!==a&&Vk(b,1,a)},KI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;default:B(b)}return a},NI=function(a,b){a=N(a,1,"");0<a.length&&G(b,1,a)},
  sba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;default:B(b)}return a},yba=function(a,b){a=N(a,1,"");0<a.length&&G(b,1,a)},tba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=E(b);sl(a,3,c);break;default:B(b)}return a},zba=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c);c=N(a,3,0);0!==c&&Vk(b,3,c)},uba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,
  1,c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=E(b);sl(a,3,c);break;case 4:c=E(b);sl(a,4,c);break;case 5:c=vk(b);rl(a,5,c);break;default:B(b)}return a},Aba=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c);c=N(a,3,0);0!==c&&Vk(b,3,c);c=N(a,4,0);0!==c&&Vk(b,4,c);(c=O(a,5,!1))&&Uk(b,5,c)},vba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;default:B(b)}return a},Bba=function(a,b){var c=N(a,1,"");0<c.length&&G(b,
  1,c);c=N(a,2,0);0!==c&&Vk(b,2,c)},wba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a},Cba=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c);c=N(a,3,"");0<c.length&&G(b,3,c);c=N(a,4,"");0<c.length&&G(b,4,c)};yI.prototype.sb=function(){return N(this,1,"")};yI.prototype.l=function(a){return R(this,1,a)};
  var MI=function(a){return N(a,4,0)},II=function(a,b){return sl(a,4,b)},JI=function(a,b){return R(a,22,b)},LI=function(a,b){U(a,12,b)};var PI=function(a){J(this,a,0,-1,Dba,null)};w(PI,I);var Dba=[2,3],Eba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new yI;C(b,c,GI);yl(a,2,c,yI);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a};k=PI.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,yI,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};var QI=function(a){J(this,a,0,-1,null,null)};w(QI,I);var RI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 4:c=F(b);R(a,4,c);break;case 3:c=vk(b);rl(a,3,c);break;case 2:c=new gF;C(b,c,hF);U(a,2,c);break;default:B(b)}return a},Fba=function(a,b){var c=a.getName();0<c.length&&G(b,1,c);c=a.sb();0<c.length&&G(b,4,c);(c=a.Fi())&&Uk(b,3,c);c=S(a,gF,2);null!=c&&H(b,2,c,iF)};QI.prototype.getName=function(){return N(this,1,"")};QI.prototype.l=function(a){return R(this,1,a)};
  QI.prototype.sb=function(){return N(this,4,"")};QI.prototype.Fi=function(){return O(this,3,!1)};var SI=function(a){J(this,a,0,-1,Gba,null)};w(SI,I);var TI=function(a){J(this,a,0,-1,Hba,null)};w(TI,I);var Gba=[2,3],Jba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new QI;C(b,c,RI);yl(a,2,c,QI);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;case 5:c=new TI;C(b,c,Iba);U(a,5,c);break;default:B(b)}return a},Hba=[1],Iba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new QI;C(b,c,RI);yl(a,1,c,QI);break;default:B(b)}return a};
  k=SI.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,QI,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};k.yo=function(){return M(this,5)};var UI=function(a){J(this,a,0,-1,null,null)};w(UI,I);var VI=function(a){J(this,a,0,-1,null,null)};w(VI,I);var WI=function(a){J(this,a,0,-1,null,null)};w(WI,I);
  var XI=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;case 3:c=uk(b);ql(a,3,c,0);break;case 4:c=new gF;C(b,c,hF);U(a,4,c);break;case 5:c=new VI;C(b,c,Kba);U(a,5,c);break;case 6:c=E(b);sl(a,6,c);break;default:B(b)}return a},Kba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=vk(b);rl(a,2,c);break;case 3:c=new WI;C(b,c,Lba);U(a,3,c);break;default:B(b)}return a},Lba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=
  tk(b);ql(a,1,c,0);break;default:B(b)}return a};var YI=function(a){J(this,a,0,-1,Mba,null)};w(YI,I);var Mba=[2],Nba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new UI;C(b,c,XI);yl(a,2,c,UI);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a};k=YI.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,UI,2)};k.Gb=function(){return N(this,3,"")};var ZI=function(a){J(this,a,0,-1,null,null)};w(ZI,I);var $I=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=vk(b);rl(a,3,c);break;default:B(b)}return a},Oba=function(a,b){var c=a.getName();0<c.length&&G(b,1,c);c=a.Ci();0!==c&&Vk(b,2,c);(c=a.Gi())&&Uk(b,3,c)};ZI.prototype.getName=function(){return N(this,1,"")};ZI.prototype.l=function(a){return R(this,1,a)};ZI.prototype.Ci=function(){return N(this,2,0)};
  ZI.prototype.Gi=function(){return O(this,3,!1)};var aJ=function(a){J(this,a,0,-1,Pba,null)};w(aJ,I);var Pba=[2],Qba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new ZI;C(b,c,$I);yl(a,2,c,ZI);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a};k=aJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,ZI,2)};k.Gb=function(){return N(this,3,"")};var bJ=function(a){J(this,a,0,-1,null,null)};w(bJ,I);var Rba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);ql(a,1,c,0);break;case 2:c=vk(b);rl(a,2,c);break;default:B(b)}return a};var cJ=function(a){J(this,a,0,-1,null,null)};w(cJ,I);var Sba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=new bJ;C(b,c,Rba);U(a,2,c);break;default:B(b)}return a};var dJ=function(a){J(this,a,0,-1,Tba,null)};w(dJ,I);var Tba=[2],Uba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=new cJ;C(b,c,Sba);yl(a,2,c,cJ);break;default:B(b)}return a};var eJ=function(a){J(this,a,0,-1,null,null)};w(eJ,I);var Vba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new dJ;C(b,c,Uba);U(a,1,c);break;default:B(b)}return a};var fJ=function(a){J(this,a,0,-1,Wba,null)};w(fJ,I);var Wba=[4],gJ=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=uk(b);ql(a,2,c,0);break;case 3:c=E(b);sl(a,3,c);break;case 4:c=new eJ;C(b,c,Vba);yl(a,4,c,eJ);break;case 5:c=E(b);sl(a,5,c);break;default:B(b)}return a};fJ.prototype.getName=function(){return N(this,1,"")};fJ.prototype.getState=function(){return N(this,3,0)};var hJ=function(a){J(this,a,0,-1,Xba,null)};w(hJ,I);var Xba=[2,3],Yba=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new fJ;C(b,c,gJ);yl(a,2,c,fJ);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a};k=hJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,fJ,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};var iJ=function(a){J(this,a,0,-1,null,null)};w(iJ,I);var jJ=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=E(b);sl(a,2,c);break;case 3:c=vk(b);rl(a,3,c);break;default:B(b)}return a},Zba=function(a,b){var c=a.getName();0<c.length&&G(b,1,c);c=a.Di();0!==c&&Vk(b,2,c);(c=a.Hi())&&Uk(b,3,c)};iJ.prototype.getName=function(){return N(this,1,"")};iJ.prototype.l=function(a){return R(this,1,a)};iJ.prototype.Di=function(){return N(this,2,0)};
  iJ.prototype.Hi=function(){return O(this,3,!1)};var kJ=function(a){J(this,a,0,-1,$ba,null)};w(kJ,I);var $ba=[2],aca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new iJ;C(b,c,jJ);yl(a,2,c,iJ);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a};k=kJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,iJ,2)};k.Gb=function(){return N(this,3,"")};var lJ=function(a){J(this,a,0,-1,null,null)};w(lJ,I);var bca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);ql(a,1,c,0);break;default:B(b)}return a};var mJ=function(a){J(this,a,0,-1,null,null)};w(mJ,I);var nJ=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=uk(b);ql(a,2,c,0);break;case 3:c=new hI;C(b,c,iI);U(a,3,c);break;case 4:c=F(b);R(a,4,c);break;case 5:c=new gF;C(b,c,hF);U(a,5,c);break;case 6:c=E(b);sl(a,6,c);break;case 7:c=E(b);sl(a,7,c);break;case 8:c=vk(b);rl(a,8,c);break;case 9:c=new lJ;C(b,c,bca);U(a,9,c);break;case 10:c=E(b);sl(a,10,c);break;default:B(b)}return a};
  mJ.prototype.getName=function(){return N(this,1,"")};mJ.prototype.getState=function(){return N(this,6,0)};var oJ=function(a){J(this,a,0,-1,cca,null)};w(oJ,I);var cca=[2,3],dca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new mJ;C(b,c,nJ);yl(a,2,c,mJ);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a};k=oJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,mJ,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};var pJ=function(a){J(this,a,0,-1,null,null)};w(pJ,I);var eca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);a.setTitle(c);break;case 5:c=E(b);sl(a,5,c);break;case 11:c=F(b);R(a,11,c);break;case 13:c=E(b);sl(a,13,c);break;case 14:c=F(b);R(a,14,c);break;case 15:c=F(b);R(a,15,c);break;default:B(b)}return a};pJ.prototype.getTitle=function(){return N(this,2,"")};pJ.prototype.setTitle=function(a){return R(this,2,a)};var qJ=function(a){J(this,a,0,-1,fca,null)};w(qJ,I);var fca=[2,3],gca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new pJ;C(b,c,eca);yl(a,2,c,pJ);break;case 3:c=F(b);tl(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a};k=qJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,pJ,2)};k.Ac=function(){return L(this,3)};k.Gb=function(){return N(this,4,"")};var rJ=function(a){J(this,a,0,-1,null,null)};w(rJ,I);var hca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);a.setTitle(c);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a},sJ=function(a,b){var c=a.getId();0<c.length&&G(b,1,c);c=a.getTitle();0<c.length&&G(b,2,c);c=N(a,3,"");0<c.length&&G(b,3,c)};rJ.prototype.getId=function(){return N(this,1,"")};rJ.prototype.getTitle=function(){return N(this,2,"")};
  rJ.prototype.setTitle=function(a){return R(this,2,a)};var uJ=function(a){J(this,a,0,-1,null,tJ)};w(uJ,I);var tJ=[[1]],ica=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new rJ;C(b,c,hca);wl(a,1,tJ[0],c);break;default:B(b)}return a},jca=function(a,b){a=S(a,rJ,1);null!=a&&H(b,1,a,sJ)};var vJ=function(a){J(this,a,0,-1,kca,null)};w(vJ,I);var wJ=function(a){J(this,a,0,-1,null,null)};w(wJ,I);var xJ=function(a){J(this,a,0,-1,null,null)};w(xJ,I);var yJ=function(a){J(this,a,0,-1,null,null)};w(yJ,I);var zJ=function(a){J(this,a,0,-1,null,null)};w(zJ,I);var AJ=function(a){J(this,a,0,-1,null,null)};w(AJ,I);var BJ=function(a){J(this,a,0,-1,null,null)};w(BJ,I);var CJ=function(a){J(this,a,0,-1,null,null)};w(CJ,I);var DJ=function(a){J(this,a,0,-1,null,null)};w(DJ,I);
  var EJ=function(a){J(this,a,0,-1,lca,null)};w(EJ,I);var FJ=function(a){J(this,a,0,-1,null,null)};w(FJ,I);var GJ=function(a){J(this,a,0,-1,null,null)};w(GJ,I);var HJ=function(a){J(this,a,0,-1,null,null)};w(HJ,I);var IJ=function(a){J(this,a,0,-1,null,null)};w(IJ,I);var JJ=function(a){J(this,a,0,-1,null,null)};w(JJ,I);var KJ=function(a){J(this,a,0,-1,null,null)};w(KJ,I);
  var kca=[5,11,13],MJ=function(a){a=new sk(a);var b=new vJ;return LJ(b,a)},LJ=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);a.l(c);break;case 2:c=F(b);R(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 5:c=new wJ;C(b,c,mca);yl(a,5,c,wJ);break;case 8:c=new xJ;C(b,c,nca);U(a,8,c);break;case 6:c=new EJ;C(b,c,oca);U(a,6,c);break;case 7:c=F(b);R(a,7,c);break;case 9:c=new HJ;C(b,c,pca);U(a,9,c);break;case 10:c=F(b);R(a,10,c);break;case 11:c=2==b.j?xk(b):[E(b)];for(var d=0;d<c.length;d++)tl(a,
  11,c[d]);break;case 13:c=new IJ;C(b,c,qca);yl(a,13,c,IJ);break;case 14:c=new JJ;C(b,c,rca);U(a,14,c);break;case 15:c=new KJ;C(b,c,sca);U(a,15,c);break;default:B(b)}return a},OJ=function(a,b){var c=a.Ka();0<c.length&&G(b,1,c);c=a.Eb();0<c.length&&G(b,2,c);c=N(a,3,"");0<c.length&&G(b,3,c);c=T(a,wJ,5);0<c.length&&$k(b,5,c,tca);c=S(a,xJ,8);null!=c&&H(b,8,c,uca);c=NJ(a);null!=c&&H(b,6,c,vca);c=N(a,7,"");0<c.length&&G(b,7,c);c=S(a,HJ,9);null!=c&&H(b,9,c,wca);c=N(a,10,"");0<c.length&&G(b,10,c);c=L(a,11);
  0<c.length&&dl(b,11,c);c=T(a,IJ,13);0<c.length&&$k(b,13,c,xca);c=S(a,JJ,14);null!=c&&H(b,14,c,yca);c=S(a,KJ,15);null!=c&&H(b,15,c,zca)},mca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 4:c=F(b);R(a,4,c);break;default:B(b)}return a},tca=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c);c=N(a,3,"");0<c.length&&G(b,3,c);c=N(a,4,"");0<c.length&&G(b,4,c)},nca=function(a,b){for(;z(b)&&
  !x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;default:B(b)}return a},uca=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c)},Aca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;default:B(b)}return a},Bca=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c)},Dca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);sl(a,1,c);break;case 2:c=
  F(b);R(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 4:c=new AJ;C(b,c,Cca);U(a,4,c);break;case 5:c=F(b);R(a,5,c);break;case 6:c=E(b);sl(a,6,c);break;default:B(b)}return a},Fca=function(a,b){var c=N(a,1,0);0!==c&&Vk(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c);c=N(a,3,"");0<c.length&&G(b,3,c);c=S(a,AJ,4);null!=c&&H(b,4,c,Eca);c=N(a,5,"");0<c.length&&G(b,5,c);c=N(a,6,0);0!==c&&Vk(b,6,c)},Cca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;default:B(b)}return a},
  Eca=function(a,b){var c=a.getDeviceId();0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c)};AJ.prototype.getDeviceId=function(){return N(this,1,"")};
  var Ica=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);sl(a,1,c);break;case 2:c=F(b);R(a,2,c);break;case 3:c=E(b);sl(a,3,c);break;case 4:c=new CJ;C(b,c,Gca);U(a,4,c);break;case 5:c=F(b);R(a,5,c);break;case 6:c=E(b);sl(a,6,c);break;case 7:c=vk(b);rl(a,7,c);break;case 8:c=new DJ;C(b,c,Hca);U(a,8,c);break;default:B(b)}return a},Lca=function(a,b){var c=a.Ja();0!==c&&Vk(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c);c=N(a,3,0);0!==c&&Vk(b,3,c);c=S(a,CJ,4);null!=c&&H(b,4,c,Jca);c=N(a,5,"");0<c.length&&
  G(b,5,c);c=N(a,6,0);0!==c&&Vk(b,6,c);(c=O(a,7,!1))&&Uk(b,7,c);c=S(a,DJ,8);null!=c&&H(b,8,c,Kca)},Gca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;default:B(b)}return a},Jca=function(a,b){var c=a.getDeviceId();0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c)};CJ.prototype.getDeviceId=function(){return N(this,1,"")};
  var Hca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=uk(b);ql(a,1,c,0);break;default:B(b)}return a},Kca=function(a,b){a=N(a,1,0);0!==a&&Pk(b,1,a)};BJ.prototype.Ja=function(){return N(this,1,0)};
  var lca=[9,12,14],oca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new yJ;C(b,c,Aca);a.zd(c);break;case 2:c=new zJ;C(b,c,Dca);U(a,2,c);break;case 3:c=F(b);R(a,3,c);break;case 4:c=F(b);R(a,4,c);break;case 6:c=tk(b);ql(a,6,c,0);break;case 8:c=F(b);R(a,8,c);break;case 9:c=new BJ;C(b,c,Ica);yl(a,9,c,BJ);break;case 11:c=new FJ;C(b,c,Mca);U(a,11,c);break;case 12:c=new uJ;C(b,c,ica);yl(a,12,c,uJ);break;case 13:c=new GJ;C(b,c,Nca);U(a,13,c);break;case 14:c=F(b);tl(a,14,c);break;default:B(b)}return a},
  vca=function(a,b){var c=a.Sc();null!=c&&H(b,1,c,Bca);c=S(a,zJ,2);null!=c&&H(b,2,c,Fca);c=N(a,3,"");0<c.length&&G(b,3,c);c=N(a,4,"");0<c.length&&G(b,4,c);c=N(a,6,0);0!==c&&b.g(6,c);c=N(a,8,"");0<c.length&&G(b,8,c);c=T(a,BJ,9);0<c.length&&$k(b,9,c,Lca);c=S(a,FJ,11);null!=c&&H(b,11,c,Oca);c=T(a,uJ,12);0<c.length&&$k(b,12,c,jca);c=S(a,GJ,13);null!=c&&H(b,13,c,Pca);c=L(a,14);0<c.length&&Zk(b,14,c)},Mca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);rl(a,1,c);break;case 2:c=vk(b);rl(a,2,
  c);break;case 3:c=vk(b);rl(a,3,c);break;case 4:c=vk(b);rl(a,4,c);break;case 5:c=vk(b);rl(a,5,c);break;case 6:c=vk(b);rl(a,6,c);break;default:B(b)}return a},Oca=function(a,b){var c;(c=O(a,1,!1))&&Uk(b,1,c);(c=O(a,2,!1))&&Uk(b,2,c);(c=O(a,3,!1))&&Uk(b,3,c);(c=O(a,4,!1))&&Uk(b,4,c);(c=O(a,5,!1))&&Uk(b,5,c);(c=O(a,6,!1))&&Uk(b,6,c)},Nca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=vk(b);rl(a,1,c);break;case 2:c=new gF;C(b,c,hF);U(a,2,c);break;case 3:c=new gF;C(b,c,hF);U(a,3,c);break;default:B(b)}return a},
  Pca=function(a,b){var c;(c=O(a,1,!1))&&Uk(b,1,c);c=S(a,gF,2);null!=c&&H(b,2,c,iF);c=S(a,gF,3);null!=c&&H(b,3,c,iF)};EJ.prototype.Sc=function(){return S(this,yJ,1)};EJ.prototype.zd=function(a){return U(this,1,a)};EJ.prototype.Hk=function(){return M(this,1)};var pca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 2:var c=vk(b);a.setEnabled(c);break;default:B(b)}return a},wca=function(a,b){(a=O(a,2,!1))&&Uk(b,2,a)};HJ.prototype.setEnabled=function(a){return rl(this,2,a)};
  var qca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=F(b);R(a,2,c);break;default:B(b)}return a},xca=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c)},rca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=E(b);sl(a,2,c);break;default:B(b)}return a},yca=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=N(a,2,0);0!==c&&Vk(b,2,c)},sca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=
  vk(b);rl(a,1,c);break;case 2:c=vk(b);rl(a,2,c);break;case 3:c=vk(b);rl(a,3,c);break;case 4:c=vk(b);rl(a,4,c);break;default:B(b)}return a},zca=function(a,b){var c;(c=O(a,1,!1))&&Uk(b,1,c);(c=O(a,2,!1))&&Uk(b,2,c);(c=O(a,3,!1))&&Uk(b,3,c);(c=O(a,4,!1))&&Uk(b,4,c)};vJ.prototype.Ka=function(){return N(this,1,"")};vJ.prototype.l=function(a){return R(this,1,a)};vJ.prototype.Eb=function(){return N(this,2,"")};var NJ=function(a){return S(a,EJ,6)};var PJ=function(a){J(this,a,0,-1,Qca,null)};w(PJ,I);var Qca=[2],Rca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new vJ;C(b,c,LJ);yl(a,2,c,vJ);break;case 3:c=F(b);R(a,3,c);break;default:B(b)}return a};k=PJ.prototype;k.W=function(){return S(this,lI,1)};k.J=function(a){U(this,1,a)};k.aa=function(){this.J(void 0)};k.Ab=function(){return T(this,vJ,2)};k.Gb=function(){return N(this,3,"")};var QJ=function(a){J(this,a,0,-1,null,null)};w(QJ,I);
  var Sca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new PI;C(b,c,Eba);U(a,1,c);break;case 2:c=new PJ;C(b,c,Rca);U(a,2,c);break;case 3:c=new qJ;C(b,c,gca);U(a,3,c);break;case 4:c=new YI;C(b,c,Nba);U(a,4,c);break;case 6:c=new aJ;C(b,c,Qba);U(a,6,c);break;case 7:c=new hJ;C(b,c,Yba);U(a,7,c);break;case 8:c=new kJ;C(b,c,aca);U(a,8,c);break;case 9:c=new oJ;C(b,c,dca);U(a,9,c);break;case 10:c=new xI;C(b,c,pba);U(a,10,c);break;case 11:c=new pI;C(b,c,jba);U(a,11,c);break;case 12:c=new SI;C(b,
  c,Jba);U(a,12,c);break;default:B(b)}return a};k=QJ.prototype;k.Cu=function(){return S(this,PI,1)};k.Ev=function(){return S(this,PJ,2)};k.Dv=function(){return S(this,qJ,3)};k.wv=function(){return S(this,YI,4)};k.yv=function(){return S(this,aJ,6)};k.zv=function(){return S(this,hJ,7)};k.Bv=function(){return S(this,kJ,8)};k.Cv=function(){return S(this,oJ,9)};k.yu=function(){return S(this,xI,10)};k.xu=function(){return S(this,pI,11)};k.Iu=function(){return S(this,SI,12)};var RJ=function(a){J(this,a,0,-1,null,null)};w(RJ,I);
  var Tca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new YH;C(b,c,Xaa);U(a,1,c);break;case 2:c=new cI;C(b,c,cba);U(a,2,c);break;case 3:c=new gI;C(b,c,gba);U(a,3,c);break;case 4:c=new SH;C(b,c,Qaa);U(a,4,c);break;case 5:c=new dI;C(b,c,eba);U(a,5,c);break;case 7:c=new OH;C(b,c,Naa);U(a,7,c);break;case 8:c=new $H;C(b,c,aba);U(a,8,c);break;case 9:c=new RH;C(b,c,Paa);U(a,9,c);break;case 10:c=new ZH;C(b,c,Zaa);U(a,10,c);break;case 13:c=new QJ;C(b,c,Sca);U(a,13,c);break;case 14:c=new yE;C(b,
  c,zE);U(a,14,c);break;case 15:c=new XH;C(b,c,Vaa);U(a,15,c);break;default:B(b)}return a};k=RJ.prototype;k.Lu=function(){return S(this,YH,1)};k.rv=function(){return S(this,cI,2)};k.tv=function(){return S(this,gI,3)};k.wu=function(){return S(this,SH,4)};k.sv=function(){return S(this,dI,5)};k.Ju=function(){return S(this,OH,7)};k.Mu=function(){return S(this,$H,8)};k.Au=function(){return S(this,RH,9)};k.Av=function(){return S(this,ZH,10)};k.vv=function(){return S(this,QJ,13)};
  k.Ku=function(){return S(this,XH,15)};var SJ=function(a){J(this,a,0,-1,null,null)};w(SJ,I);var Uca=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new LA;C(b,c,MA);U(a,1,c);break;case 2:c=new RJ;C(b,c,Tca);U(a,2,c);break;case 3:c=new UH;C(b,c,Taa);U(a,3,c);break;default:B(b)}return a};var TJ=function(a){J(this,a,"hcbu",-1,Vca,null)};w(TJ,I);var Vca=[1],Wca=function(a){a=new sk(a);for(var b=new TJ;z(a)&&!x(a);)switch(a.g){case 1:var c=new SJ;C(a,c,Uca);yl(b,1,c,SJ);break;default:B(a)}return b};TJ.messageId="hcbu";var UJ=function(a){J(this,a,0,-1,Xca,null)};w(UJ,I);var Xca=[2,6];var VJ=function(a){J(this,a,0,-1,null,null)};w(VJ,I);k=VJ.prototype;k.va=function(){return L(this,3)};k.Y=function(){return L(this,4)};k.rb=function(){return L(this,10)};k.Eb=function(){return L(this,13)};k.Ka=function(){return L(this,14)};var WJ=function(a){J(this,a,0,-1,null,null)};w(WJ,I);var XJ=function(a){J(this,a,0,-1,Yca,null)};w(XJ,I);var Yca=[3];var YJ=function(a){J(this,a,0,-1,null,null)};w(YJ,I);var ZJ=function(a){J(this,a,0,-1,null,null)};w(ZJ,I);YJ.prototype.vk=function(){return L(this,2)};var $J=function(a){J(this,a,0,-1,null,null)};w($J,I);$J.prototype.getId=function(){return L(this,1)};var aK=function(a,b){return Q(a,1,b)},bK=function(a,b){return Q(a,2,b)};var cK=function(a){J(this,a,0,-1,Zca,null)};w(cK,I);var Zca=[1,2,3],dK=function(a){var b=new cK;return xl(b,2,a)},eK=function(a,b){return Q(a,3,b||[])};var fK=function(a){J(this,a,0,-1,null,null)};w(fK,I);var gK=function(a){J(this,a,0,-1,null,null)};w(gK,I);var X={},$ca=(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[1870]=1,
  X[1871]=1,X[2182]=1,X[2184]=1,X[2183]=1,X[2185]=1,X[2388]=1,X[2192]=1,X[2193]=1,X[2194]=1,X[2386]=1,X[2189]=1,X[2190]=1,X[2187]=1,X[2191]=1,X[2188]=1,X[2385]=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[7210]=4,X[7209]=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[7257]=7,X[7258]=7,X[7161]=6,X[7162]=6,X[7163]=6,X[7253]=7,X[7256]=7,X[7255]=4,X[7254]=7,X[7110]=4,X[7107]=6,X[7108]=6,X[7109]=7,X[7171]=6,X[7177]=4,X[7170]=4,X[7292]=4,X[7293]=4,X[7114]=4,X[7115]=4,X[7116]=4,X[7117]=4,X[7221]=6,X[7026]=1,X[7033]=7,X[7034]=7,X[7029]=6,X[7211]=1,X[7031]=1,
  X[7032]=7,X[7030]=1,X[7080]=7,X[7028]=7,X[7081]=7,X);var hK=function(a){J(this,a,"cl:plu",-1,ada,null)};w(hK,I);var iK=function(a){J(this,a,0,-1,null,null)};w(iK,I);var ada=[1];hK.messageId="cl:plu";var jK=function(a){Pb.call(this);this.message="AppContext is disposed, cannot get "+a.join(", ")+"."};t(jK,Pb);var kK=function(a,b){this.namespace_=a;this.h=b;this.constructor.xn||(this.constructor.xn={});this.constructor.xn[this.toString()]=this};kK.prototype.wa=function(){return this.toString()};kK.prototype.toString=function(){this.g||(this.g="fva:"+this.h);return this.g};var lK=function(a,b){kK.call(this,a,b)};w(lK,kK);/*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var mK=function(a,b){this.g=a;this.h=b};mK.prototype.execute=function(a){this.g&&(this.g.call(this.h||null,a),this.g=this.h=null)};mK.prototype.abort=function(){this.h=this.g=null};var bda=function(a){if(null===a)return"No error type specified";switch(a){case 0:return"Unauthorized";case 1:return"Consecutive load failures";case 2:return"Timed out";case 3:return"Out of date module id";case 4:return"Init error";default:return"Unknown failure type "+a}};var nK=function(a,b){V.call(this);this.j=a;this.Wa=b;this.h=[];this.g=[];this.l=[]};w(nK,V);nK.prototype.getId=function(){return this.Wa};nK.prototype.D=function(a,b){this.h.push(new mK(a,b))};var cda=function(a,b){a.g.push(new mK(b,void 0))};nK.prototype.onError=function(a){for(var b=this.g,c=[],d=0;d<b.length;d++)try{b[d].execute(a)}catch(e){Js(e),c.push(e)}b.length=0;(a=c.length?c:null)&&window.setTimeout(Bd("Module errback failures: "+a),0);this.l.length=0;this.h.length=0};
  nK.prototype.ba=function(){nK.Jb.ba.call(this);Ds(null)};var oK=function(){};oK.prototype.H=function(){return!1};oK.prototype.V=function(){return!1};oK.prototype.D=function(){};var pK=null,qK=null;var rK=function(a,b,c){c=c||[];for(var d=0;d<c.length;d++);this.j=a;this.h=b||null;this.g=[];this.g=this.g.concat(c)};rK.prototype.toString=function(){return this.j};var dda=Symbol("mCJjCd");function sK(a,b){b.displayName=a;b[dda]=a};var eda=new rK("pVbxBc");var fda=function(a){var b={},c={},d=[],e=[],f=function(q){if(!c[q]){var r=q instanceof rK?q.g:[];c[q]=tc(r);Zb(r,function(y){b[y]=b[y]||[];b[y].push(q)});r.length||d.push(q);Zb(r,f)}};for(Zb(a,f);d.length;){var g=d.shift();e.push(g);b[g]&&Zb(b[g],function(q){oc(c[q],g);c[q].length||d.push(q)})}var h={},l=[];Zb(e,function(q){q instanceof rK&&(q=q.h,null==q||h[q]||(h[q]=!0,l.push(q)))});return{services:e,zx:l}};/*
   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 tK=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};tK.prototype.cancel=function(a){if(this.j)this.l instanceof tK&&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 uK(this))}};tK.prototype.H=function(a,b){this.D=!1;vK(this,a,b)};
  var vK=function(a,b,c){a.j=!0;a.l=c;a.C=!b;wK(a)},yK=function(a){if(a.j){if(!a.G)throw new xK(a);a.G=!1}};tK.prototype.callback=function(a){yK(this);vK(this,!0,a)};tK.prototype.g=function(a){yK(this);vK(this,!1,a)};var AK=function(a,b,c){return zK(a,b,null,c)},BK=function(a,b){return zK(a,null,b,void 0)},zK=function(a,b,c,d){a.u.push([b,c,d]);a.j&&wK(a);return a};
  tK.prototype.then=function(a,b,c){var d,e,f=new Zs(function(g,h){d=g;e=h});zK(this,d,function(g){g instanceof uK?f.cancel():e(g)});return f.then(a,b,c)};Vs(tK);var CK=function(a,b){b instanceof tK?AK(a,Xa(b.m,b)):AK(a,function(){return b})};tK.prototype.m=function(a){var b=new tK;zK(this,b.callback,b.g,b);a&&(b.h=this,this.s++);return b};tK.prototype.isError=function(a){return a instanceof Error};
  var DK=function(a){return dc(a.u,function(b){return"function"===typeof b[1]})},wK=function(a){if(a.F&&a.j&&DK(a)){var b=a.F,c=EK[b];c&&(Fa.clearTimeout(c.Wa),delete EK[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(Ws(b)||"function"===typeof Fa.Promise&&b instanceof Fa.Promise)d=!0,a.D=!0}catch(l){b=l,a.C=!0,DK(a)||(c=!0)}}a.l=b;d&&(h=Xa(a.H,
  a,!0),d=Xa(a.H,a,!1),b instanceof tK?(zK(b,h,d),b.N=!0):b.then(h,d));c&&(b=new FK(b),EK[b.Wa]=b,a.F=b.Wa)},gda=function(){var a=new tK;a.callback(new GK(200,""));return a},hda=function(a){var b=new tK;a.then(function(c){b.callback(c)},function(c){b.g(c)});return b},ida=function(a){var b=new tK;b.g(a);return b},xK=function(){Pb.call(this)};w(xK,Pb);xK.prototype.message="Deferred has already fired";xK.prototype.name="AlreadyCalledError";var uK=function(){Pb.call(this)};w(uK,Pb);
  uK.prototype.message="Deferred was canceled";uK.prototype.name="CanceledError";var FK=function(a){this.Wa=Fa.setTimeout(Xa(this.h,this),0);this.g=a};FK.prototype.h=function(){delete EK[this.Wa];throw this.g;};var EK={};var IK=function(a){V.call(this);this.id=jda++;this.V=[];this.h={};this.F={};this.s={};this.g={};this.j={};this.H={};this.m=a?a.m:new jx;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):Za();a=HK(this);this!=a&&(a.u?a.u.push(this):a.u=[this])};w(IK,V);var jda=1,kda=.05>Math.random(),HK=function(a){for(;a.l;)a=a.l;return a},JK=function(a,b){for(;a;){if(a==b)return!0;a=a.l}return!1};
  IK.prototype.get=function(a){var b=KK(this,a);null==b&&this.X&&(b={BOGUS:"Service "+a+" was not registered"});if(null==b)throw new LK(a);return b};
  var MK=function(a,b){return!(!a.h[b]&&!a.s[b])},KK=function(a,b){for(var c=a;c;c=c.l){if(c.C())throw new jK([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},NK=function(a,b,c){return lda(a,[b],c)[b]},lda=function(a,b,c){if(a.C())throw new jK(b);var d=OK(a),e=!c;c={};var f=[],g=[],h={},l={},q=KK(a,eda),r={};b=n(b);for(var y=b.next();!y.done;r={Nb:r.Nb},
  y=b.next())if(r.Nb=y.value,y=KK(a,r.Nb)){var D=new tK;c[r.Nb]=D;y.Xj&&(CK(D,y.Xj()),AK(D,Ya(function(A){return A},y)));D.callback(y)}else a.j[r.Nb]?(y=a.j[r.Nb].m(),AK(y,function(A){return function(){return a.Bk(A.Nb)}}(r)),c[r.Nb]=y):(y=void 0,r.Nb instanceof rK?y=fda([r.Nb]).zx:(D=a.F[r.Nb])&&(y=[D]),!e||y&&y.length?(y&&(q&&r.Nb instanceof rK&&q.hQ()&&(kda&&(D=q.jQ(mda),l[r.Nb]=D),q.RP(r.Nb)),f.push.apply(f,p(y)),h[r.Nb]=Wb(y)),g.push(r.Nb)):(y=new tK,c[r.Nb]=y,y.g(new LK(r.Nb))));if(e){if(f.length){a.D&&
  0<f.filter(function(A){return!PK(d,A)}).length&&a.D.push(new QK);r=n(g);for(e=r.next();!e.done;e=r.next())a.m.O(new RK("a",e.value));f=SK(OK(a),f,void 0);r={};g=n(g);for(e=g.next();!e.done;r={Ze:r.Ze},e=g.next())r.Ze=e.value,e=h[r.Ze],b=f[e],b=b instanceof tK?b.m():hda(b),c[r.Ze]=b,l[r.Ze]&&AK(b,function(A){return function(){q.vP(l[A.Ze])}}(r)),nda(a,b,r.Ze,e)}}else for(f={},g=n(g),e=g.next();!e.done;f={ee:f.ee,Ng:f.Ng},e=g.next())f.ee=e.value,f.Ng=h[f.ee],e=new tK(function(A){return function(K){var P=
  A.ee,ha=a.g&&a.g[P];if(ha){for(var ob=0;ob<ha.length;++ob)if(ha[ob].ma==a&&ha[ob].d==K){pc(ha,ob);break}0==ha.length&&delete a.g[P]}}}(f)),c[f.ee]=e,(r=a.g[f.ee])||(a.g[f.ee]=r=[]),f.Ng&&oda(a,e,f.ee,f.Ng),AK(e,function(A){return function(){return a.Ck(A.ee,A.Ng)}}(f)),r.push({ma:a,d:e});return c},oda=function(a,b,c,d){AK(b,function(){var e=OK(this);this.D&&this.D.push(new QK);return e.load(d)},a);BK(b,Xa(a.to,a,c,d))},nda=function(a,b,c,d){AK(b,function(){this.m.O(new RK("b",c))},a);BK(b,Xa(a.to,
  a,c,d));AK(b,Xa(a.Ck,a,c,d))};k=IK.prototype;k.Ck=function(a,b){var c=KK(this,a);if(null==c){if(this.j[a]){var d=this.j[a].m();AK(d,Xa(this.Ck,this,a,b));return d}if(!b)throw Error("Module undefined but service or factory "+a+" not registered with app contexts.");throw new TK(a,b,"Module loaded but service or factory not registered with app contexts.");}return c.Xj?(d=new tK,CK(d,c.Xj()),d.callback(c),AK(d,Xa(this.Bk,this,a)),d):this.Bk(a)};k.Bk=function(a){this.j[a]&&delete this.j[a];return this.get(a)};
  k.to=function(a,b,c){return c instanceof uK?c:new UK(a,b,c)};k.registerService=function(a,b,c){if(this.C())c||Ds(b);else{this.V.push(a);this.h[a]=[b,!c];c=pda(this,this,a);for(var d=0;d<c.length;d++)c[d].callback(null);delete this.F[a];a instanceof rK&&sK(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]&&Ds(b[0])};
  var VK=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(qda)}for(;c.length;)c.shift().d.callback(null);delete a.g[b]}},qda=function(a,b){if(a.ma!=b.ma){if(JK(a.ma,b.ma))return 1;if(JK(b.ma,a.ma))return-1}return a.index<b.index?-1:a.index==b.index?0:1},pda=function(a,b,c){var d=[],e=a.g[c];e&&($b(e,function(f){JK(f.ma,b)&&(d.push(f.d),oc(e,f))}),0==e.length&&delete a.g[c]);return d},rda=function(a,b){a.g&&ad(a.g,function(c,d,e){$b(c,function(f){f.ma==
  b&&oc(c,f)});0==c.length&&delete e[d]})};IK.prototype.ba=function(){if(HK(this)==this){var a=this.u;if(a)for(;a.length;)a[0].dispose()}else{a=HK(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();rda(this,this);this.g=null;Ds(this.K);this.H=this.K=null;IK.Jb.ba.call(this)};
  var OK=function(a){return a.G?a.G:a.l?OK(a.l):null},sda=function(a){!pK&&qK&&(pK=qK());a.G=pK},LK=function(a){Pb.call(this);this.id=a;this.message='Service for "'+a+'" is not registered'};w(LK,Pb);var UK=function(a,b,c){Pb.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(UK,Pb);
  var TK=function(a,b,c){Pb.call(this);this.message='Configuration error when loading the module "'+b+'" for the service "'+a+'": '+c};w(TK,Pb);var QK=function(){bg()},RK=function(a){W.call(this,a)};w(RK,W);var mda=new lK(new function(){},1);var WK=function(a){this.h=a};WK.prototype.pg=function(){return!0};WK.prototype.dd=function(){};WK.prototype.ed=function(){};WK.prototype.Hd=function(){};var XK=function(){WK.apply(this,arguments)};t(XK,WK);var YK=function(a,b,c,d,e){d=void 0===d?tda: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=kt();this.g=null;this.m=!1;this.G=0;this.H=this.D=void 0;this.Wa=++uda;this.X=c};t(YK,V);YK.prototype.N=function(a){this.h=a;ZK(this);return!0};YK.prototype.u=function(){return this.F.promise};YK.prototype.s=function(){return this.m};var $K=function(a){null==a.g&&(a.g=a.V(),ZK(a));return a.g};k=YK.prototype;k.ol=function(a){this.G=a};k.aj=function(){return this.G};
  k.Th=function(a,b){void 0!==b&&(b=Math.max(a,b));this.D=a;this.H=b};k.Ch=function(){return this.D};k.nl=function(){return this.H};var ZK=function(a){if(a.g&&-1!=a.h){var b=a.g;"function"===typeof b.J?(a=Il(new Gl,a.h),b.J(a)):"function"===typeof b.aa&&b.aa()}};YK.prototype.wo=function(){return this.l};YK.prototype.uo=function(){return $K(this).toString()};YK.prototype.toString=function(){return"[Operation id: "+this.Wa+": "+this.l+", version: "+this.h+"]"};function tda(){return[]}var uda=0,aL=function(){Pb.call(this)};
  t(aL,Pb);aL.prototype.message="Operation has already been executed.";aL.prototype.name="AlreadyExecutedError";var bL=function(){XK.apply(this,arguments)};t(bL,XK);k=bL.prototype;k.dd=function(a){return new YK("hangouts/add",function(){var b=new $A;return xl(b,4,a)},qD,function(b){return T(b,XA,5)})};k.ed=function(a){return new YK("hangouts/modify",function(){var b=new QD;return xl(b,4,a)},SD,function(b){return T(b,XA,4)})};k.Hd=function(){return null};
  k.Gd=function(a){return new YK("hangouts/query",function(){var b=new kB,c=a.va();return Q(b,2,c)},vD,function(b){return[S(b,XA,2)]},{set:function(b,c){return U(b,8,c)},get:function(b){return S(b,vD,8)}})};k.Id=function(a){return this.Gd(a)};var cL=function(){XK.apply(this,arguments)};t(cL,XK);k=cL.prototype;k.dd=function(a){return new YK("hangout_participants/add",function(){var b=new iB;return xl(b,6,a)},sD,function(b){return T(b,bB,5)})};k.ed=function(a){return new YK("hangout_participants/modify",function(){var b=new UD;return xl(b,4,a)},WD,function(b){return T(b,bB,4)})};k.Hd=function(a,b){var c=b&&b.jYdIne||0;return new YK("hangout_participants/remove",function(){var d=cE(new bE,a);return Q(d,5,c)},dE)};
  k.Gd=function(a){return new YK("hangout_participants/query",function(){var b=new XD;var c=a.va();b=Q(b,2,c);c=a.Y();return Q(b,3,c)},YD,function(b){return[S(b,bB,2)]})};k.Id=function(a){return new YK("hangout_participants/search",function(){var b=new jB,c=a.va();return Q(b,2,c)},uD,function(b){return T(b,bB,2)},{set:function(b,c){return U(b,7,c)},get:function(b){return S(b,uD,7)}})};var dL=function(){XK.apply(this,arguments)};t(dL,XK);k=dL.prototype;k.dd=function(a){return new YK("media_sources/add",function(){var b=new JC;return xl(b,4,a)},FD,function(b){return T(b,vC,4)})};k.ed=function(a){return new YK("media_sources/modify",function(){var b=new KH;return xl(b,4,a)},LH,function(b){return T(b,vC,4)})};k.Hd=function(){return null};
  k.Gd=function(a){return new YK("media_sources/query",function(){var b=new MH;var c=a.va();b=Q(b,2,c);c=a.Y();b=Q(b,3,c);c=a.Da();return Q(b,4,c)},NH,function(b){return[S(b,vC,2)]})};k.Id=function(a){return new YK("media_sources/search",function(){var b=new KC,c=a.va();return Q(b,2,c)},HD,function(b){return T(b,vC,2)},{set:function(b,c){return U(b,6,c)},get:function(b){return S(b,HD,6)}})};var eL=function(a){var b=a.Rd,c=a.Sd,d=a.Zd,e=a.ae,f=a.Wd,g=a.Ud,h=a.Vd,l=a.Xd,q=a.Yd,r=a.Qh,y=a.Gx;this.g=a.Td;this.F=b;this.D=c;this.N=d;this.u=b.concat(d);this.X=c.concat(e);this.l=f;this.G=g;this.H=h;this.K=l;this.s=g.concat(l);this.V=h.concat(q);this.m=r||Ad;this.C=y||La};eL.prototype.j=function(a){if(a instanceof this.g)var b=this.F;else if(a instanceof this.l)b=this.G;else return Vb("Passed in object did not match resource or identifier type"),[];return b.map(function(c){return c.call(a)})};
  var fL=function(a,b){if(b instanceof a.g)a=a.N;else if(b instanceof a.l)a=a.K;else return Vb("Passed in object did not match resource or identifier type"),[];return a.map(function(c){return c.call(b)})};eL.prototype.h=function(a){if(a instanceof this.g)var b=this.u;else if(a instanceof this.l)b=this.s;else return Vb("Passed in object did not match resource or identifier type"),[];return b.map(function(c){return c.call(a)})};
  eL.prototype.mb=function(a,b){var c=this.X;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 gL=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},hL=function(a,b){if(b instanceof a.g)a=a.u;else if(b instanceof a.l)a=a.s;else return Vb("Passed in item did not match resource or identifier type"),!1;return a.every(function(c){return null!=c.call(b)})},jL=function(a,b,c){b=iL(a,b,a.h);a=iL(a,c,a.h);return Dc(b,a)},kL=function(a,b){return b instanceof a.g?b:new a.g(JSON.parse(b.wa()))},iL=function(a,b,c){return b instanceof
  Array?b:c.call(a,b)};var lL=function(){return new eL({Td:bB,Rd:[bB.prototype.va],Sd:[bB.prototype.u],Zd:[bB.prototype.Y],ae:[bB.prototype.l],Wd:ZD,Ud:[ZD.prototype.va],Vd:[ZD.prototype.l],Xd:[ZD.prototype.Y],Yd:[ZD.prototype.u]})};var mL=new rK("n73qwf");new rK("MpJwZc");new rK("UUJqVe","UUJqVe");new rK("tdUkaf");new rK("fJuxOc");new rK("ZtVrH");new rK("WSziFf");new rK("ZmXAm");new rK("BWETze");new rK("UBSgGf");new rK("zZa4xc");new rK("o1bZcd");new rK("WwG67d");new rK("z72MOc");new rK("JccZRe");new rK("amY3Td");new rK("ABma3e");new rK("GHAeAc","GHAeAc");new rK("gSshPb");new rK("klpyYe");new rK("OPbIxb");new rK("pg9hFd");new rK("Wt6vjf");new rK("yu4DA");new rK("vk3Wc");new rK("IykvEf");new rK("J5K1Ad");new rK("IW8Usd");new rK("IaqD3e");new rK("byfTOb");new rK("jbDgG");new rK("b8xKu");new rK("d0RAGb");
  new rK("AzG0ke");new rK("J4QWB");new rK("LEikZe");new rK("rJmJrc");new rK("TuDsZ");new rK("hdXIif");new rK("mITR5c");new rK("DFElXb");new rK("NGntwf");new rK("Bgf0ib");new rK("Xpw1of");new rK("v5BQle");new rK("ofuapc");new rK("FENZqe");new rK("tLnxq");new rK("lsjVmc");var nL=function(a,b,c){W.call(this,"c");this.Gc=b;this.mc=a;this.removed=c};t(nL,W);var oL=function(){V.call(this);this.l=new Uu(this);this.j=this.l.signal()};t(oL,V);var pL=function(a){a.l.R(a.j,void 0)};var qL=function(a){J(this,a,0,-1,null,null)};w(qL,I);var rL=function(a,b){this.g=a;this.eventType=b};var sL=function(){jx.call(this)};t(sL,jx);Ma(sL);var tL=function(a){V.call(this);this.pc=a;this.Z={}};w(tL,V);var uL=[];tL.prototype.listen=function(a,b,c,d){return vL(this,a,b,c,d)};
  var vL=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(uL[0]=c.toString()),c=uL);for(var g=0;g<c.length;g++){var h=Ww(b,c[g],d||a.handleEvent,e||!1,f||a.pc||a);if(!h)break;a.Z[h.key]=h}return a},xL=function(a,b,c,d){wL(a,b,c,d,void 0)},wL=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)wL(a,b,c[g],d,e,f);else(b=Vw(b,c,d||a.handleEvent,e,f||a.pc||a))&&(a.Z[b.key]=b)},yL=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)yL(a,b,c[g],d,e,f);else d=d||a.handleEvent,
  e=Pa(e)?!!e.capture:!!e,f=f||a.pc||a,d=Xw(d),e=!!e,c=Kw(b)?Rw(b.V,String(c),d,e,f):b?(b=Zw(b))?Rw(b,c,d,e,f):null:null,c&&(ex(c),delete a.Z[c.key]);return a};tL.prototype.removeAll=function(){ad(this.Z,function(a,b){this.Z.hasOwnProperty(b)&&ex(a)},this);this.Z={}};tL.prototype.ba=function(){tL.Jb.ba.call(this);this.removeAll()};tL.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var AL=function(a,b,c,d,e){e=void 0===e?null:e;jx.call(this);var f=this;this.g=c;this.ya=d;this.l=gL(this.g,b);this.Wa=++vda;this.M=zg("Collection."+this.Wa);this.sa=d.h;this.Ra=e&&e.g;this.uc=e&&e.eventType;this.Hb=d.pg();this.wd=new tL(this);this.T(this.wd);this.data={};this.pc=0;this.pb=[];this.ob={};this.h=-2;this.H=!0;this.D=kt();this.state="ia";this.config=El(a);sL.Qb();this.oa={};this.rc=yd;this.G=new Uu(this);this.Z=this.G.signal();this.onChange=this.G.signal();this.Ga=function(g){f.g.C(g.data);
  return new zL(g.version,g.data,[],"ea")}};t(AL,jx);AL.prototype.toString=function(){return"[Collection #: "+this.Wa+", id: "+this.l+", data version: "+this.h+"]"};var BL=function(a,b){return new zL(b.version,[],a,"ea")},CL=function(a){"ia"==a.state&&(a.state="ga",a.Ra&&a.wd.listen(a.Ra,a.uc,a.Fc))};AL.prototype.start=function(a){a&&DL(this,a);"ia"==this.state&&CL(this);if("ga"!=this.state)return null;this.state="ha";EL(this);Eg(this.M,"Collection started: "+this.toString()+", "+this.m());return null};
  AL.prototype.stop=function(){if("ha"==this.state||"ga"==this.state)this.flush(),this.eb(),this.state="ia",Eg(this.M,"Collection stopped: "+this.toString()+": "+this.m())};var EL=function(a){a.H&&a.D&&(Eg(a.M,"Initial data available: "+a.toString()),a.D.resolve(a.pb),a.D=null)};AL.prototype.eb=function(){this.Ra&&yL(this.wd,this.Ra,this.uc,this.Fc)};var DL=function(a,b){b instanceof a.g.g&&(b=gL(a.g,a.g.j(b)));a.l=FL(b)};
  AL.prototype.mb=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(0==b.length)return this.g.mb(this.g.j(this.l));if(b[0]instanceof this.g.g)return this.g.mb(this.g.h(b[0]));b=Array.prototype.concat.apply(Array.prototype,b);return this.g.mb(this.g.j(this.l),b)};AL.prototype.s=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return this.ob[GL(this,Array.prototype.concat.apply(Array.prototype,b))]||null};var HL=function(a){return"ha"==a.state&&!0};
  AL.prototype.ba=function(){this.flush();this.stop();this.D&&(Dg(this.M,"Never any data: "+this.toString()),this.D.promise.cancel(),this.D=null);jx.prototype.ba.call(this)};AL.prototype.get=function(){return this.pb};var IL=function(a){return a.D?a.D.promise:ct(a.get())};AL.prototype.flush=function(){do{wda(this);var a=this.ca()}while(0<a)};var wda=function(a){ad(a.oa,function(b){for(;b&&1<=b.length&&b[0].g;)b.shift()})};AL.prototype.Ba=function(){return fd(this.data).map(function(a){return a.wa()})};
  AL.prototype.add=function(a,b){GL(this,a);if(JL(this,a)&&this.Hb)return b=KL(this,"ka",a),Ts(this.ca,this),b;a=this.ya.dd([a]);return LL(this,a,b,this.Ga)};var ML=function(a,b,c){GL(a,b);if(JL(a,b)&&a.Hb)return c=KL(a,"la",b),Ts(a.ca,a),c;b=a.ya.ed([b]);return LL(a,b,c,a.Ga)};AL.prototype.remove=function(a,b,c){var d=NL(this,a);return JL(this,a)&&null==c&&this.Hb?(a=KL(this,"ma",d,b),Ts(this.ca,this),a):LL(this,OL(this,[d],b),c,Ya(BL,[d]))};
  var KL=function(a,b,c,d){var e=a.dc(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],"ka"==b){if("ka"==a.type||"la"==a.type)e=a.Db,f.pop()}else if("la"==b&&("ka"==a.type||"la"==a.type)){b=a.resource;d=JSON.parse(b.wa());c=JSON.parse(c.wa());for(f=0;f<c.length;f++)null==c[f]||Bl(d[f],c[f])||(d[f]=c[f]);c=new b.constructor(d);a.resource=c;return a.Db.promise}e=e||kt();f.push(new xda(b,c,e,d));return e.promise};
  AL.prototype.ca=function(){var a=0,b={};ad(this.oa,function(c){if(c&&1<=c.length&&(c=c[0],!c.g)){c.g=!0;if("ma"==c.type&&c.h){var d=[c.resource];PL(this,OL(this,d,c.h),Ya(BL,d),[c.Db],d)}else d=b[c.type]||[],d.push(c),b[c.type]=d;a++}},this);ad(b,function(c,d){if(1<=c.length){var e=[],f=[];c.forEach(function(g){e.push(g.resource);f.push(g.Db)});switch(d){case "ka":PL(this,this.ya.dd(e),this.Ga,f,e);break;case "la":PL(this,this.ya.ed(e),this.Ga,f,e);break;case "ma":PL(this,OL(this,e),Ya(BL,e),f,e);
  break;default:Vb("A request with type "+d+" was put in the queue.")}}},this);return a};var PL=function(a,b,c,d,e){null==b&&d.forEach(function(g){g.reject("Operation not available")});b.ol(N(a.config,7,0));b.Th(N(a.config,8,6E4),N(a.config,13,6E4));var f=e.map(a.dc,a);e=b.u();nt(e,function(){return yda(a,f)});ot(e.then(Xa(a.Ec,a,b,c,d,f)),function(g){QL(a,b,g);d.forEach(function(h){return h.reject(g)})});a.sa.execute(b)};AL.prototype.N=function(){return!0};
  var OL=function(a,b,c){return a.ya.Hd(b.map(a.Fa,a),c)},JL=function(a,b){return b instanceof RL?hL(a.g,a.Fa(b)):hL(a.g,b)},NL=function(a,b){b=gL(a.g,a.g.h(b));return new RL(a.g,b)},SL=function(a,b){var c=a.g;b=a.Fa(b);a=iL(c,a.l,c.j);c=iL(c,b,c.j);return Dc(a,c)},LL=function(a,b,c,d){if(null==b)return dt("Operation not available");var e=kt();zda(a,b,d,e,c);Fg(a.M,"Executing operation: "+b);a.sa.execute(b);return e.promise},zda=function(a,b,c,d,e){e=void 0===e?N(a.config,7,0):e;b.ol(e);e=b.Ch()||N(a.config,
  8,6E4);var f=b.nl()||Math.max(e,N(a.config,13,6E4)||0);b.Th(e,f);ot(b.u().then(Xa(a.Ec,a,b,c,[d],null)),function(g){QL(a,b,g);d.reject(g)})};
  AL.prototype.Ec=function(a,b,c,d,e){var f=this;Eg(this.M,"Operation executed: "+a+", result:"+e);b&&(this.N(e.version)?(a=b(e))?this.K(a):Eg(this.M,"Operation resulted in no update"):HL(this)&&Vb("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 l=d[h];h=e.data.filter(function(q){return f.dc(q).equals(l)});0==h.length&&Cg(f.M,"Result data is empty after filtering for target resource id "+
  l);g.resolve(h)})};
  var QL=function(a,b,c){c instanceof Error?Cg(a.M,"Operation failed:",c):Cg(a.M,"Operation failed: "+Yf(c));new TL(b.wo(),b.uo(),c);c.response&&c.response.getResponseHeader&&(b=c.response.getResponseHeader().Ja(),(c=Ada.get(b))&&UL(a,c,"Collection apiary operation failed with response code "+b+" triggering endcause "+c))},yda=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):Cg(a.M,"A writing request with resource id "+d+" completed but it is not in the request queue.")});
  c&&a.ca()};AL.prototype.Fc=function(a){"ha"!=this.state&&"ga"!=this.state||this.Bb(a)};
  AL.prototype.Bb=function(a){var b=this.ub(a);Eg(this.M,"Received push notification, version: "+b+", checking if any updates apply to this collection "+this.toString());var c=Bda(this,a);a=Cda(this,a);c.length||a.length?(Eg(this.M,"Notification applies to this collection: version: "+b+", add/modify: "+c.length+", remove:"+a.length),this.g.C(c),b=new zL(b,c,a,"da"),Fg(this.M,"Created partial update for notification: "+b),Bg(this.M,og,"Add/modify: ["+b.Pf.join("|")+"], remove: ["+b.Gg.join("|")+"]"),
  this.K(b)):Eg(this.M,"Notification does not apply to this collection, ignoring.")};AL.prototype.ub=function(){return-2};var Bda=function(a,b){var c=[];b.notification.Ab().forEach(function(d){d=kL(a.g,d);hL(a.g,d)?SL(a,NL(a,d))&&c.push(d):d.wa()});return c},Cda=function(a,b){if(!b.notification.Ac)return[];var c=[];b.notification.Ac().forEach(function(d){var e=a.g.m(d);hL(a.g,e)?(d=NL(a,e),SL(a,d)&&c.push(d)):d.wa()});return c};
  AL.prototype.K=function(a){Fg(this.M,"Begin processing update: "+a);a instanceof zL&&(Fg(this.M,"Applying partial update: "+a),VL(this,a));Fg(this.M,"Finish processing update: "+a+": "+this.m())};AL.prototype.m=function(){return"state: "+this.state+", local version: "+this.h+", snapshot size: "+this.pc};
  var VL=function(a,b){Fg(a.M,"Processing partial update: "+b);Bg(a.M,og,"Add/modify: ["+b.Pf.join("|")+"], remove: ["+b.Gg.join("|")+"]");b.Pf.forEach(function(d){hL(a.g,d)?a.data[GL(a,d)]=FL(d):d.wa()});var c=[];b.Gg.forEach(function(d){var e=GL(a,d);a.data[e]?delete a.data[e]:c.push(d)});0<c.length&&Gs(c);WL(a)},WL=function(a){var b={},c={};ad(a.data,function(g,h){this.rc(g)&&(b[h]=g,c[h]=g)},a);var d=[],e=[];ad(a.ob,function(g,h){var l=b[h];l?(delete c[h],Cl(g,l)||e.push(l)):d.push(g)});var f=fd(c);
  a.ob=b;a.pb=fd(b);a.pc=dd(a.data);if(0<e.length||0<f.length||0<d.length)Eg(a.M,"Obtained update of the filtered view : modified: "+e.length+", added: "+f.length+", removed:"+d.length),Bg(a.M,og,"Modified: ["+e.join("|")+"], added: ["+f.join("|")+"], removed: ["+d.join("|")+"]"),a.G.R(a.onChange,{Gc:f,mc:e,removed:d}),a.O(new nL(e,f,d))},Dda=function(a,b){a.rc=b;WL(a)};AL.prototype.dc=function(a){return null==a||a instanceof RL?a:NL(this,a)};
  var GL=function(a,b){var c;Array.isArray(b)?c=b:c=b instanceof RL?fL(a.g,b.g):fL(a.g,b);return Gs(c)},UL=function(a,b,c){"ja"!=a.state&&(a.eb(),a.state="ja",Cg(a.M,"Collection failed: "+a+": "+a.m()+": "+c),a.G.R(a.Z,{Ob:b,reason:c}))};AL.prototype.Fa=function(a){return a.g};var XL=function(a){this.g=a;this.id=++Eda},zL=function(a,b,c,d){XL.call(this,a);this.h=d;this.Pf=b;this.Gg=c};t(zL,XL);
  zL.prototype.toString=function(){return"[Partial update id: "+this.id+", version: "+this.g+", add/modify: "+this.Pf.length+", remove: "+this.Gg.length+", type: "+this.h+"]"};function FL(a){return a instanceof I?El(a):a.clone()}var xda=function(a,b,c,d){this.type=a;this.resource=b;this.Db=c;this.h=void 0===d?null:d;this.g=!1},Ada=(new Map).set(10,67),vda=0,Eda=0,RL=function(a,b){this.h=a;this.g=b};RL.prototype.equals=function(a){return jL(this.h,this.g,a.g)};RL.prototype.toString=function(){return this.g.wa()};
  var TL=function(a,b,c){a=Error.call(this,"operation: "+a+", error = "+Yf(c));this.message=a.message;"stack"in a&&(this.stack=a.stack);this.request=b;this.Af=c};t(TL,Error);var YL=function(){V.call(this)};t(YL,V);YL.prototype.init=function(){};YL.prototype.o=zg("fava.debug.ErrorReporter");new YL;zg("fava.debug.errorContext");var ZL=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(ZL,V);var Fda=function(a,b){a.j=b},aM=function(a,b){a.g.length<a.l?a.g.push(b):$L(b)};ZL.prototype.h=function(){return this.j?this.j():{}};var $L=function(a){if(Pa(a))if("function"===typeof a.dispose)a.dispose();else for(var b in a)delete a[b]};
  ZL.prototype.ba=function(){ZL.Jb.ba.call(this);for(var a=this.g;a.length;)$L(a.pop());delete this.g};var dM=function(){this.g=[];this.h=new Jm;this.G=this.H=this.K=this.s=0;this.j=new Jm;this.m=this.D=0;this.V=1;this.l=new ZL(0,4E3);this.l.h=function(){return new bM};this.F=new ZL(0,50);this.F.h=function(){return new cM};var a=this;this.u=new ZL(0,2E3);Fda(this.u,function(){return a.V++});this.C={}};dM.prototype.o=zg("goog.debug.Trace");var cM=function(){this.Em=this.time=this.count=0};
  cM.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.Em&&a.push(" [VarAlloc = ",this.Em,"]");return a.join("")};var bM=function(){},Gda=function(a,b,c,d){var e=[];-1==c?e.push("    "):e.push(eM(a.eventTime-c));e.push(" ",fM(a.eventTime-b));0==a.eventType?e.push(" Start        "):1==a.eventType?(e.push(" Done "),e.push(eM(a.h-a.startTime)," ms ")):e.push(" Comment      ");e.push(d,a);0<a.g&&e.push("[VarAlloc ",a.g,"] ");return e.join("")};
  bM.prototype.toString=function(){return null==this.type?this.comment:"["+this.type+"] "+this.comment};var Hda={nQ:!0};dM.prototype.Pl=function(){this.C={}};var Ida=function(a){a.C.stop&&Fm(a.h,function(b){this.C.stop(b.id,Hda)},a);a.h.clear()};
  dM.prototype.reset=function(){Ida(this);for(var a=0;a<this.g.length;a++){var b=this.g[a];b.id?Mm(this.h,b.id)||(aM(this.u,b.id),aM(this.l,b)):aM(this.l,b)}this.g.length=0;this.s=Za();this.m=this.D=this.G=this.H=this.K=0;a=this.j.Rb();for(b=0;b<a.length;b++){var c=this.j.get(a[b]);c.count=0;c.time=0;c.Em=0;aM(this.F,c)}this.j.clear()};
  dM.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(" ",Gda(e,this.s,b,c.join("")));b=e.eventTime;a.push("\n");0==e.eventType&&c.push("|  ")}if(0!=this.h.xa()){var f=Za();a.push(" Unstopped timers:\n");Fm(this.h,function(g){a.push("  ",g," (",f-g.startTime," ms, started at ",fM(g.startTime),")\n")})}b=this.j.Rb();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 eM=function(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a},fM=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)};new dM;zg("goog.debug.ErrorReporter");var gM=function(a){this.h=0;this.j=a||100;this.g=[]};k=gM.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=hM(this,a);return this.g[a]};k.set=function(a,b){a=hM(this,a);this.g[a]=b};k.xa=function(){return this.g.length};k.bc=function(){return 0==this.g.length};k.clear=function(){this.h=this.g.length=0};k.La=function(){return iM(this,this.xa())};var iM=function(a,b){var c=a.xa(),d=[];for(b=a.xa()-b;b<c;b++)d.push(a.get(b));return d};
  gM.prototype.Rb=function(){for(var a=[],b=this.xa(),c=0;c<b;c++)a[c]=c;return a};gM.prototype.hg=function(a){for(var b=this.xa(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var hM=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};Za();zg("fava.debug.DebugService");var jM=function(){jx.apply(this,arguments)};t(jM,jx);jM.prototype.kg=function(a,b,c){try{return jx.prototype.kg.call(this,a,b,c)}catch(d){return!1}};var kM=function(){jM.call(this);this.o=zg("realtime.pushnotifications.Dispatcher")};t(kM,jM);kM.prototype.g=function(a){var b=S(a,RJ,2),c;if(b)for(a=0;a<lM.length;a++){if(c=lM[a].nb.call(b)){if("r"==lM[a].eventType)for(b=c,a=0;a<lM.length;a++){if(c=mM[a].nb.call(b)){var d=mM[a].eventType;break}}else d=lM[a].eventType;break}}else(b=S(a,UH,3))&&(c=S(b,TH,1))&&(d="n");c?(Eg(this.o,"Received notification of type "+d),this.O(new nM(d,c))):Dg(this.o,"A batch notification is empty.")};
  var lM=[{nb:RJ.prototype.rv,eventType:"o"},{nb:RJ.prototype.tv,eventType:"q"},{nb:RJ.prototype.Mu,eventType:"k"},{nb:RJ.prototype.Lu,eventType:"l"},{nb:RJ.prototype.sv,eventType:"p"},{nb:RJ.prototype.wu,eventType:"h"},{nb:RJ.prototype.Ju,eventType:"i"},{nb:RJ.prototype.Av,eventType:"E"},{nb:RJ.prototype.Au,eventType:"j"},{nb:RJ.prototype.vv,eventType:"r"},{nb:RJ.prototype.Ku,eventType:"m"}],mM=[{nb:QJ.prototype.Cu,eventType:"u"},{nb:QJ.prototype.wv,eventType:"x"},{nb:QJ.prototype.Dv,eventType:"C"},
  {nb:QJ.prototype.Ev,eventType:"D"},{nb:QJ.prototype.yv,eventType:"z"},{nb:QJ.prototype.zv,eventType:"y"},{nb:QJ.prototype.Bv,eventType:"B"},{nb:QJ.prototype.Cv,eventType:"A"},{nb:QJ.prototype.yu,eventType:"s"},{nb:QJ.prototype.xu,eventType:"t"},{nb:QJ.prototype.Iu,eventType:"v"}],nM=function(a,b){W.call(this,a);this.notification=b};t(nM,W);var oM=function(a,b,c){V.call(this);this.F=null!=c?Xa(a,c):a;this.u=b;this.s=Xa(this.Hv,this);this.h=!1;this.j=0;this.l=this.g=null;this.m=[]};w(oM,V);k=oM.prototype;k.Gv=function(a){this.m=arguments;this.h=!1;this.g?this.l=Za()+this.u:this.g=tx(this.s,this.u)};k.stop=function(){this.g&&(ux(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();oM.Jb.ba.call(this)};
  k.Hv=function(){this.l?(this.g=tx(this.s,this.l-Za()),this.l=null):(this.g=null,this.j?this.h=!0:(this.h=!1,this.F.apply(null,this.m)))};var pM=function(a,b,c,d){this.l=a;this.C=b;this.j=this.g=a;this.m=c||0;this.s=d||2};pM.prototype.h=0;pM.prototype.reset=function(){this.j=this.g=this.l;this.h=0};var qM=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 rM=function(a,b,c,d,e,f,g){g=void 0===g?null:g;AL.call(this,a,b,c,d,e,f);this.M=zg("realtime.collections.SyncableCollection of "+g);this.Wb=d;this.h=-1;this.H=!1;this.ra=null;this.Oa=-1;this.j=[];this.Za=this.Ia=this.lb=this.X=null;this.ia=!1;this.tc=0;this.Aa=null;this.u=new pM(N(this.config,2,1E3),N(this.config,3,6E4));this.Dc=this.G.signal();this.Bd=this.G.signal();this.nc=new oM(this.oc,0,this)};t(rM,AL);
  var Jda=function(a,b,c){a.X=ct().then(function(){a.g.C(c);a.K(new sM(b,c,"ra"));tM(a,!1)});return a.X};rM.prototype.start=function(a,b){var c=this;AL.prototype.start.call(this,a);if("ha"!=this.state)return null;null==this.ra&&(this.ra=this.sa.j.attach(function(){uM(c,"pa",!0)},this));vM(this,!0);if(b)return Eg(this.M,"Initializing collection with data."),Jda(this,b.version,b.data);Eg(this.M,"Starting initial resync.");return uM(this,"ra",!0)};
  rM.prototype.eb=function(){AL.prototype.eb.call(this);null!=this.ra&&(this.sa.j.detach(this.ra),this.ra=null);ux(this.Za);this.Za=null;this.u.reset();ux(this.lb);this.lb=null;ux(this.Ia);this.Aa=this.Ia=null;this.H=!1};rM.prototype.query=function(a,b){a=NL(this,a);a=this.Wb.Gd(this.Fa(a));return LL(this,a,b)};rM.prototype.search=function(a){return LL(this,this.Wb.Id(FL(this.l)),a)};
  var zM=function(a,b){"pa"!=b&&0==a.u.h&&pL(a.sa);Fg(a.M,"Starting sync. Type: "+b);var c="sa"==b||"ta"==b,d=a.Wb.Id(FL(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=LL(a,d,void 0,function(f){vM(a,!0);return e!=f.version?(c&&O(a.config,11,!1),a.g.C(f.data),new sM(f.version,f.data,b)):null});ot(d.then(function(){return tM(a,c)}),function(f){var g=(c?"Poll":"Resync")+" error: "+f;Cg(a.M,g,f instanceof Error?f:Error(g));wM(a,!0);HL(a)?(qM(a.u),xM(a)):yM(a)});a.X=
  d;ot(a.X,La);return d};rM.prototype.N=function(a){return 0<=a};var AM=function(a){return null!=uM(a,"ua",!0)||a.X?a.X:dt("Collection not yet started, so cannot resync.")};rM.prototype.Bb=function(a){var b=this;if(Kda(this,a))AM(this);else if("function"===typeof a.notification.yo&&a.notification.yo()){var c=T(S(a.notification,TI,5),QI,1).map(function(d){return kL(b.g,d)});this.K(new sM(this.ub(a),c,"qa"))}else AL.prototype.Bb.call(this,a)};
  rM.prototype.ub=function(a){var b;"function"===typeof a.notification.W&&a.notification.W()&&(b=a.notification.W().tb());return b};var Kda=function(a,b){var c=!1;(b=b.notification.Gb())&&""!=b&&(c=a.g.m(b),c=NL(a,c),c=SL(a,c));return c},BM=function(a,b,c){if(c.Sw)a.K(new sM(b,c.ii||[],"qa"));else{var d=(c.removed||[]).map(function(e){return NL(a,a.g.m(e))});b=new zL(b,c.ii||[],d,"ea");a.K(b)}};
  rM.prototype.K=function(a){Fg(this.M,"Begin processing update: "+a);var b=a.g==this.Oa;this.Oa=Math.max(this.Oa,a.g);vM(this,!1);if(a instanceof sM)Lda(this,a);else{Mda(this,a.Pf,a.Gg);if(this.N(this.h)&&a.g<=this.h){var c=!1;b&&(c=!0);100<this.h-a.g&&(c=!0);c&&uM(this,"va",!0);Fg(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){Dg(this.M,"Duplicate update received, ignoring it.");return}Fg(this.M,
  "Queuing partial update: "+a);mc(this.j,a,b)}a instanceof sM?this.oc():this.nc.Gv();Fg(this.M,"Finish processing update: "+a+": "+this.m())};
  var Mda=function(a,b,c){a.N(a.h)||(Fg(a.M,"Dispatch early notification: "),a.G.R(a.Dc,{Pf:b,Gg:c}))},uM=function(a,b,c){if(!HL(a)||a.ia)return null;a.u.reset();var d=null;a.ia=!0;c?d=zM(a,b):xM(a);return d},yM=function(a){a.ia&&(Eg(a.M,"Ending resync"),a.ia=!1,a.G.R(a.Bd,void 0))},xM=function(a){var b=a.u.g;Eg(a.M,"Scheduling resync timer, backoff count: "+a.u.h+", backoff: "+b);a.Za=tx(a.pd,b,a)};
  rM.prototype.pd=function(){Eg(this.M,"Resync timer triggered, "+this.m());this.Za=null;HL(this)?zM(this,"va"):yM(this)};
  var tM=function(a,b){Eg(a.M,(b?"Poll":"Resync")+" operation executed, "+a.m());wM(a,!1);if(a.H||!HL(a))yM(a);else{b=!1;var c=N(a.config,5,4);a.u.h>=c?(Eg(a.M,"Hard sync threshold reached ("+c+"), doing a hard resync"),b=!0):a.j.length>N(a.config,4,64)&&(Fg(a.M,"Number of queued updates is larger than the max ("+N(a.config,4,64)+"), clearing the queue"),b=!0);b?(kc(a.j),a.u.reset(),zM(a,"wa")):(qM(a.u),xM(a))}};
  rM.prototype.m=function(){return AL.prototype.m.call(this)+", is synced: "+this.H+", is resyncing: "+this.ia+", queue size: "+this.j.length+", highest observed server version: "+this.Oa+(0<this.j.length?", smallest queued version: "+Wb(this.j).g+", largest queued version: "+this.j[0].g:"")};
  rM.prototype.oc=function(){this.nc.stop();if(0!=this.j.length&&this.N(this.h)){Fg(this.M,"Trying to apply any queued updates, "+this.m());for(var a=0;0<this.j.length&&Wb(this.j).g<=this.h;){var b=this.j.pop();Fg(this.M,"Tossing queued update "+b+" below or equal to local version ("+this.h+")");a++}0<a&&Fg(this.M,"Tossed "+a+" queued old updates below or equal to local version ("+this.h+")");for(a=0;0<this.j.length;)if(b=Wb(this.j),b.g==this.h)this.j.pop(),a++;else if(b.g==this.h+1)this.h=b.g,VL(this,
  b),this.j.pop(),a++;else{Fg(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}Fg(this.M,"Applied "+a+" queued updates")}(this.H=0==this.j.length&&this.N(this.h))?EL(this):uM(this,"va",!1)};rM.prototype.od=function(a){HL(this)&&(Eg(this.M,"Executing poll sync operation"),uM(this,a,!0),vM(this,!0))};
  var vM=function(a,b){if(HL(a)){Eg(a.M,"Scheduling next poll for "+N(a.config,1,3E4)/1E3+" seconds from now");ux(a.lb);a.lb=tx(Ya(a.od,"sa"),N(a.config,1,3E4),a);var c=N(a.config,9,9E4);null==c&&(c=9E4);b&&0<c&&(ux(a.Ia),a.Ia=tx(Ya(a.od,"ta"),c,a))}},wM=function(a,b){if(b)if(null==a.Aa)a.Aa=Date.now(),Dg(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.Aa;var c="Sync operations failing for a period of "+
  b/1E3+" seconds (limit configured to: "+N(a.config,6,3E5)/1E3+" seconds).";Dg(a.M,c);b>=N(a.config,6,3E5)&&UL(a,22,c)}else a.Aa=null},Lda=function(a,b){Fg(a.M,"Processing full update: "+b);Bg(a.M,og,"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 l=GL(a,h);d[l]=!0;l=a.data[l]||null;if(null==l)c.push({local:null,server:h.wa(),mismatch:"local_missing"});else{var q=l==h?null:l instanceof h.constructor?CM(JSON.parse(l.wa()),JSON.parse(h.wa())):
  "_";null!=q&&c.push({local:l.wa(),server:h.wa(),mismatch:q})}});ad(a.data,function(h,l){d[l]||c.push({local:h.wa(),server:null,mismatch:"server_missing"})})}if(0!=c.length)Dg(a.M,"Reapplying update with version that's the same, update: "+b.g+", local: "+a.h+", type: "+b.h);else{Fg(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(hL(a.g,h))return!0;h.wa();return!1}),f=[],g={};b.data.forEach(function(h){g[GL(a,
  h)]=!0});ad(a.data,function(h,l){g[l]||f.push(NL(a,h))});Fg(a.M,"Applying full update as partial and advancing version from "+a.h+" to "+b.g);a.h=b.g;VL(a,new zL(b.g,e,f,"fa"))},CM=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=CM(a[c],b[c]);if(null!=d)return c+(""===d?"":"."+d)}return null},
  sM=function(a,b,c){XL.call(this,a);this.data=b;this.h=c};t(sM,XL);sM.prototype.toString=function(){return"[Full update id: "+this.id+", version: "+this.g+", resource count: "+this.data.length+", sync type: "+this.h+"]"};var DM=function(){WK.apply(this,arguments)};t(DM,WK);DM.prototype.dd=function(a){return new YK("media_sessions/add",function(){return tC(new sC,a)},CD,function(b){return T(b,$B,4)})};DM.prototype.ed=function(a){return new YK("media_sessions/modify",function(){return IH(new HH,a)},JH,function(b){return T(b,$B,4)})};DM.prototype.Hd=function(){return null};var EM=function(){XK.apply(this,arguments)};t(EM,XK);EM.prototype.dd=function(a){return new YK("media_streams/add",function(){return eD(new dD,a)},JD,function(b){return T(b,LC,4)})};EM.prototype.ed=function(a){return new YK("media_streams/modify",function(){var b=new vE;return xl(b,4,a)},xE,function(b){return T(b,LC,4)})};
  EM.prototype.Id=function(a){return new YK("media_streams/search",function(){return gD(hD(iD(new fD,a.va()),a.Dp()),a.Cp())},LD,function(b){return T(b,LC,2)},{set:function(b,c){return lD(b,c)},get:function(b){return S(b,LD,4)}})};var FM=new rK("b2QWee","hl"),GM=new rK("e6ID2c","hl"),HM=new rK("PvLNsc","hl"),IM=new rK("VzLulf","rsr");var JM=function(a){J(this,a,0,-1,Nda,null)};w(JM,I);var KM=function(a){J(this,a,0,-1,null,null)};w(KM,I);var Nda=[3];KM.prototype.getName=function(){return L(this,2)};var LM={ms:["BC","AD"],ls:["Before Christ","Anno Domini"],Bs:"JFMAMJJASOND".split(""),bt:"JFMAMJJASOND".split(""),ys:"January February March April May June July August September October November December".split(" "),at:"January February March April May June July August September October November December".split(" "),Xs:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),dt:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),yt:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
  ft:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Zs:"Sun Mon Tue Wed Thu Fri Sat".split(" "),et:"Sun Mon Tue Wed Thu Fri Sat".split(" "),gI:"SMTWTFS".split(""),ct:"SMTWTFS".split(""),Ys:["Q1","Q2","Q3","Q4"],Is:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Or:["AM","PM"],VD:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],rN:["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}"],Tm:6,NO:[5,6],Um:5},MM=LM;
  MM=LM;var NM=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 OM=function(){},QM=function(a){if("number"==typeof a){var b=new OM;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(":",Le(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=PM(a);b.C=[c,c];b.g={BM:a,ln:a};b.j=[];return b}b=new OM;b.l=a.id;b.h=-a.std_offset;b.C=a.names;b.g=a.names_ext;b.j=a.transitions;return b},PM=
  function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Le(Math.floor(a/60)%100,2),":",Le(a%60,2));return b.join("")},RM=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 TM=function(){this.h=[];this.g=MM;var a="HH:mm:ss";for(Oda&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<SM.length;++c){var d=a.match(SM[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);}},SM=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEahKHcLQdmsvVwzZ]+/],
  UM=function(a){return a.getHours?a.getHours():0};
  TM.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-RM(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(Pda(this,g,a,d,e,b)):c.push(g)}return c.join("")};
  var VM=function(a,b){b=String(b);a=a.g||MM;if(void 0!==a.zt){for(var c=[],d=0;d<b.length;d++){var e=b.charCodeAt(d);c.push(48<=e&&57>=e?String.fromCharCode(a.zt+e-48):b.charAt(d))}b=c.join("")}return b},Oda=!1,WM=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.");},Pda=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.ls[c]:a.g.ms[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==g&&(c%=100),VM(a,Le(c,g));case "Y":return c=(new Date(NM(d.getFullYear(),d.getMonth(),d.getDate(),a.g.Um,a.g.Tm))).getFullYear(),0>c&&(c=-c),2==g&&(c%=100),VM(a,Le(c,g));case "M":a:switch(c=d.getMonth(),g){case 5:g=a.g.Bs[c];break a;case 4:g=a.g.ys[c];break a;case 3:g=a.g.Xs[c];break a;default:g=VM(a,Le(c+1,g))}return g;case "k":return WM(e),VM(a,Le(UM(e)||24,g));case "S":return VM(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,
  g)).substr(2)+(3<g?Le(0,g-3):""));case "E":return c=d.getDay(),4<=g?a.g.yt[c]:a.g.Zs[c];case "a":return WM(e),g=UM(e),a.g.Or[12<=g&&24>g?1:0];case "h":return WM(e),VM(a,Le(UM(e)%12||12,g));case "K":return WM(e),VM(a,Le(UM(e)%12,g));case "H":return WM(e),VM(a,Le(UM(e),g));case "c":a:switch(c=d.getDay(),g){case 5:g=a.g.ct[c];break a;case 4:g=a.g.ft[c];break a;case 3:g=a.g.et[c];break a;default:g=VM(a,Le(c,1))}return g;case "L":a:switch(c=d.getMonth(),g){case 5:g=a.g.bt[c];break a;case 4:g=a.g.at[c];
  break a;case 3:g=a.g.dt[c];break a;default:g=VM(a,Le(c+1,g))}return g;case "Q":return c=Math.floor(d.getMonth()/3),4>g?a.g.Ys[c]:a.g.Is[c];case "d":return VM(a,Le(d.getDate(),g));case "m":return WM(e),VM(a,Le(e.getMinutes(),g));case "s":return WM(e),VM(a,Le(e.getSeconds(),g));case "v":return g=f||QM(c.getTimezoneOffset()),g.l;case "V":return a=f||QM(c.getTimezoneOffset()),2>=g?a.l:0<RM(a,c)?void 0!==a.g.es?a.g.es:a.g.DST_GENERIC_LOCATION:void 0!==a.g.ln?a.g.ln:a.g.STD_GENERIC_LOCATION;case "w":return c=
  NM(e.getFullYear(),e.getMonth(),e.getDate(),a.g.Um,a.g.Tm),VM(a,Le(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,g));case "z":return a=f||QM(c.getTimezoneOffset()),4>g?a.C[0<RM(a,c)?2:0]:a.C[0<RM(a,c)?3:1];case "Z":return b=f||QM(c.getTimezoneOffset()),4>g?(g=-(b.h-RM(b,c)),a=[0>g?"-":"+"],g=Math.abs(g),a.push(Le(Math.floor(g/60)%100,2),Le(g%60,2)),g=a.join("")):g=VM(a,PM(b.h-RM(b,c))),g;default:return""}};var XM=function(a){var b=S(a,fK,1)||new fK;U(a,1,b);return b},Qda=function(a){var b=S(a,CA,5)||new CA;U(a,5,b)},YM=function(a){a=XM(a);var b=S(a,VJ,1)||new VJ;U(a,1,b);return b},ZM=function(a){var b=S(a,ZJ,3)||new ZJ;U(a,3,b);return b};function $M(a,b){b=void 0===b?!1:b;var c=new CA;a=Q(c,2,a);return Q(EA(a,aN(b)),3,1)}function aN(a){return kf?df?2:3:lf?4:mf?5:(void 0===a?0:a)?Zc("Linux")?17:18:1};var Rda=function(a,b,c){this.g=a;this.h=b;this.j=c};var bN=function(a){J(this,a,"hc:cc",-1,Sda,null)};w(bN,I);var cN=function(a){J(this,a,0,-1,null,null)};w(cN,I);var Sda=[14,15];bN.messageId="hc:cc";k=bN.prototype;k.lc=function(){return L(this,6)};k.ng=function(){return nl(this,18)};k.nh=function(){return L(this,20)};k.oh=function(){return L(this,21)};k.qh=function(){return O(this,22,!1)};var dN=function(a){return(a=a.W())&&a.tb()},eN=function(a){a=a.getResponseHeader();return!!a&&1===a.Ja()},Tda=function(a){a=(a=a[0]&&S(a[0],iB,1))&&T(a,bB,6)||[];return 1==a.length?a[0].va():null};var fN=function(a,b,c,d){Pb.call(this);this.status=a;this.l=b;this.h=c;this.response=d};t(fN,Pb);fN.prototype.toString=function(){var a="["+this.status+"/"+this.l;null!=this.h&&(a+="/"+this.h);null!=this.response&&(a+=": ",a=Oa(this.response)?a+Dn(this.response,this.j,this).join("; "):a+this.j(this.response));return a+"]"};
  fN.prototype.j=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=Dn(b,function(c){var d=c.domain+" - "+c.reason;null!=c.debugInfo&&(d+=" = "+Oe(c.debugInfo,"\n",4).slice(0,3).join(" - "));return d}),Bn(b)||(a+=": "+b.join(", ")));return a}return Oa(a)&&0<a.length?String(a):"Unknown"};var gN=function(){this.K={}},Uda=function(a,b){a.K=b||{};return a};var iN=function(){this.K={};this.g=new hN};t(iN,gN);k=iN.prototype;k.toString=function(){return"<# "+this.l+" to "+(this.j||"")+" for "+this.h+">"};k.im=function(a){this.j=a;return this};k.Nl=function(a){this.h=a;return this};k.Yl=function(){return this};k.dm=function(){return this};k.jm=function(){return this};k.cm=function(){return this};k.Rh=function(){return this};k.Cg=function(){};k.km=function(){return this};k.ph=function(){return this.g};k.lr=function(){};k.Bq=function(){};k.cancel=function(){this.Cg("c")};
  var hN=function(){};hN.prototype.am=function(a){this.g=a;return this};hN.prototype.bm=function(){};hN.prototype.callback=function(a){this.g(a)};new rK("iHLLuf");var jN=function(a,b,c,d){this.status=a;this.yd=b;this.g=c;this.response=d};jN.prototype.toString=function(){var a="["+this.status+"/"+this.yd;null!=this.g&&(a+="/"+this.g);null!=this.response&&null!=this.response.Lb&&(a+=": ",a=Oa(this.response.Lb)?a+Dn(this.response.Lb,this.h,this).join("; "):a+this.h(this.response.Lb));return a+"]"};
  jN.prototype.h=function(a){if(a&&(a.error||a.Lb&&a.Lb.error)){var b=a.error||a.Lb.error;a=b.message+" "+b.code;b=b.data||b.errors;null!=b&&(b=Dn(b,function(c){var d=c.domain+" - "+c.reason;null!=c.debugInfo&&(d+=" = "+Oe(c.debugInfo,"\n",4).slice(0,3).join(" - "));return d}),Bn(b)||(a+=": "+b.join(", ")));return a}return Oa(a)&&0<a.length?a+"":JSON.stringify(a)};var lN=function(){this.K={};this.ca=new kN;this.G=new pM(1E3,36E4);this.g=new pM(6E4,6E4);this.X=!1;this.xb=[];this.s=[]};t(lN,gN);var Vda=function(a){var b=Za();a.m=b;return a};lN.prototype.im=function(a){this.F=a;return this};lN.prototype.Nl=function(a){this.C=a;return this};lN.prototype.Yl=function(a){this.ia=a;return this};var mN=function(a){return a.ia||a.C};k=lN.prototype;k.dm=function(a){this.N=a;return this};k.jm=function(a){this.Z=a;return this};k.cm=function(a){this.u=a;return this};
  k.Rh=function(a){this.V=a;return this};k.Cg=function(a){this.l=a};k.km=function(a){this.D=a;return this};k.ph=function(){return this.ca};var Wda=function(a,b){a.h=b};lN.prototype.lr=function(a){this.j=a};lN.prototype.Bq=function(a){this.g=0>=a?null:new pM(a,a)};var Xda=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&&qM(a.G);a.j--;return b+0};lN.prototype.cancel=function(){this.X=!0;this.Cg("c")};
  lN.prototype.toString=function(){return"<Request to "+mN(this)+" with payload "+this.V+">"};var kN=function(){};kN.prototype.am=function(a){this.g=a;return this};kN.prototype.bm=function(a){this.h=a};kN.prototype.callback=function(a){this.g(a)};var nN=function(a,b){jx.call(this);this.j=!1;this.G=kt();this.m=a;this.m.h.promise.then(function(){this.G.resolve(null);this.j=!0;this.O("G")},null,this);this.l=b?[b]:[];this.o=zg("realtime.network.RetryClient");this.H=0;this.D=[];this.h=new Jm;this.g=new Jm};t(nN,jx);nN.prototype.ba=function(){jx.prototype.ba.call(this);var a=this.h.Rb();Zb(a,ux);a=this.g.Rb();Zb(a,ux)};var Yda=function(a,b){Zb(a.D,function(c){c.g(b)},a)};nN.prototype.request=function(a){Zda(this,a)};
  var Zda=function(a,b){if(!a.C()&&!b.X)if(a.j){Wda(b,a.H++);a.l.forEach(function(e){return e.onRequest(b)});try{Eg(a.o,"Sending request, path = "+b.C+", requestNum = "+b.h);b.Cg("p");var c=null!=oN?Om(oN):null;Yda(a,b);var d=a.m.sendRequest(Vda(b),c);d.then(Ya(a.s,b),Ya(a.u,b),a);null!=(b.g?b.g.g:null)&&a.g.set(b.h,tx(Xa(a.K,a,b,d),(b.g?b.g.g:null)||void 0))}catch(e){Cg(a.o,"Failed to enqueue Apiary request: ",e),pN(a,b,new jN("fatal","request_queuing",null,null),0)}}else Dg(a.o,"Apiary Client request while client is not ready")};
  nN.prototype.K=function(a,b){var c=new jN("retry","deadline_exceeded",null,null);b.cancel();pN(this,a,c,0)};
  nN.prototype.s=function(a,b){qN(this,a);if(!this.C()&&"p"==a.l){var c="ok";a.Cg("o");a.ph().callback(b);if("o"!=a.l){var d="response_callback";switch(a.l){case "r":c="retry";break;case "d":c="fatal";break;default:Cg(this.o,"Received an unexpected response state: "+a.l)}}"ok"==c?(Fg(this.o,"Apiary response succeeded."),this.l.forEach(function(e){return e.u(a,b)})):pN(this,a,new jN(c,d,b.Od,b),0)}rN(this,a)};
  var qN=function(a,b){var c=a.h.get(b.h);null!=c&&(a.h.remove(b.h),ux(c))},rN=function(a,b){var c=a.g.get(b.h);null!=c&&(a.g.remove(b.h),ux(c))};
  nN.prototype.u=function(a,b){if(!(b instanceof Ys)){qN(this,a);if(!this.C()&&"p"==a.l){var c=b.yd,d=b.status,e=0;if("network_or_frontend"==b.yd){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.yd=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){}}pN(this,a,b,e)}rN(this,a)}};
  var pN=function(a,b,c,d){if(!a.C()&&("p"==b.l||"r"==b.l)){Eg(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,tx(Xa(a.request,a,b),Math.max(Xda(b),d))),"deadline_exceeded"==c.yd&&b.g&&qM(b.g)):(b.cancel(),b.ph().h(c))}},oN=null;var sN=function(a,b,c,d,e){e=void 0===e?"https://clients6.google.com":e;jx.call(this);var f=this;this.j=a;this.m=b;this.s=c;this.l=d;this.u=e;this.g=a instanceof nN;this.H=new Zs(function(g){f.j.j?g():cx(f.j,f.g?"G":"F",function(){return g()})});this.D=function(){return{}}};t(sN,jx);
  sN.prototype.request=function(a,b,c,d,e,f,g){var h=this;g=void 0===g?!0:g;this.H.then(function(){var l=(h.g?new lN:new iN).im(h.u).Yl(a).Nl("/"+h.m+"/"+h.s+"/"+a).dm(b).jm(c).km(g).Rh(d).cm(Object.assign({},h.D()));(new Zs(function(q,r){l.ph().am(q).bm(r)})).then(e,f);h.j.request(l)})};
  sN.prototype.makeRequest=function(a,b,c,d,e,f,g,h,l){var q=this;l=void 0===l?{}:l;var r=Jc(Me(this.l))?{}:{key:this.l};l=Object.assign({},this.D(),l);var y=Uda((this.g?new lN:new iN).im(this.u).Yl(a).Nl("/"+this.m+"/"+this.s+"/"+a).dm("POST").jm(r).km(!0).Rh(b),g).cm(l);h&&y instanceof lN&&(y.H=h);null!=d&&(null!=f&&y instanceof lN&&f>d?y.g=0>=d?null:new pM(d,f):y.Bq(d));null!=e&&y.lr(e);var D=kt();y.ph().am(function(A){var K=null;try{K=q.G(A,c)}catch(ob){A=q.g?new jN("fatal","response_decoding",
  null,A):new fN("fatal","response_decoding",null,A);D.reject(A);return}var P=0;if(K&&"function"===typeof K.getResponseHeader){var ha=K.getResponseHeader();ha&&"function"===typeof ha.Ja&&(P=ha.Ja())}1==P?D.resolve(K):!q.g||2!=P&&3!=P?(K=11===P,q.g?D.reject(new jN("fatal",K?"not_found":"backend",null,A)):D.reject(new fN("fatal",K?"not_found":"backend",null,A))):y.Cg("r")}).bm(function(A){return D.reject(A)});this.H.then(function(){return q.j.request(y)});return D.promise};
  sN.prototype.G=function(a,b){a=this.g?a.Lb:a;return a instanceof I?a:0<a.length?new b(a):null};var tN=function(a,b,c){a=br(a,encodeURIComponent("$ct"),c);if(null==navigator.sendBeacon||!navigator.sendBeacon(a,b)){c=a;var d="POST",e=b;a=br(a,encodeURIComponent("$httpMethod"),"POST");a=br(a,encodeURIComponent("$req"),b);2048>a.length&&(c=a,d="GET",e=null);try{var f=qx(ox);f.open(d,c,!1);f.send(e)}catch(g){b=zg("realtime.network.Beacon"),Cg(b,"Cannot fallback from sendBeacon",g)}}};var uN=function(a,b,c,d,e,f){sN.call(this,a,b,c,d,e);this.h=f||new ov;this.K=new Uu(this);this.N=this.K.signal()};t(uN,sN);var $da=function(a){var b=new ov;return new uN(a.j,a.m,a.s,a.l,a.u,b)};uN.prototype.makeRequest=function(a,b,c,d,e,f,g,h,l){!0!==h&&vN(this,b);return sN.prototype.makeRequest.call(this,a,b,c,d,e,f,g,h&&h.wa?h:null,l).then(this.X,null,this)};var vN=function(a,b){if(b&&a.h.g&&"function"===typeof b.W&&"function"===typeof b.J){var c=b.W()||new Gl;U(c,3,a.h.g);b.J(c)}};
  uN.prototype.X=function(a){"function"===typeof a.getResponseHeader&&eN(a)&&wN(this,a);return a};var wN=function(a,b){(b=(b="function"===typeof b.W&&b.W()||null)&&S(b,Hl,3))&&qv(a.h,b)};uN.prototype.G=function(a,b){(a=sN.prototype.G.call(this,a,b))&&a instanceof OD&&(b=a.getResponseHeader())&&T(a,MD,2).length&&Q(b,1,1);return a};var aea=new Set,bea=kt();function xN(a){aea.add(a);return new yN(a)}var yN=function(a){this.key=a;this.value=void 0};yN.prototype.isDefined=function(){return void 0!==this.value};
  var AN=function(a,b){if(!a.isDefined())return b;var c=a.value.toLowerCase();return"true"!==c&&"false"!==c?(zN(a,"Expected true/false, but was "+a.value+"."),b):"true"===c},BN=function(a,b){if(!a.isDefined())return b;var c=Number(a.value);return isNaN(c)||""===a.value?(zN(a,"Expected a number, but was "+c+"."),b):c},cea=function(){var a=xN("TkdLEc");return a.isDefined()?a.value:""},zN=function(a,b){CN?CN(a.key,b):(a="Flag "+a.key+": "+b,Vb(a),Js(Error(a)))},CN=null;var EN=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={};ad(d,function(h,l){return DN(g,l,h)});this.h=nd(f);this.l=null;this.l=e?e.clone():null};EN.prototype.getContext=function(){return this.m};EN.prototype.Md=function(){var a={};ad(this.j,function(b,c){b="function"===typeof b?b():b;null!=b&&(a[c]=b)});return a};
  var FN=function(a,b){a=a.j[b.toLowerCase()];return null==a?null:"function"===typeof a?a():a},DN=function(a,b,c){b=b.toLowerCase();null==c?delete a.j[b]:a.j[b]=c};EN.prototype.clone=function(){return new EN(this.m,this.C,this.g,this.j,this.l,this.h)};var GN=function(){};GN.prototype.g=function(a){0<HN()&&!FN(a,"X-Goog-Meeting-ABR")&&DN(a,"X-Goog-Meeting-ABR",IN())};var JN=null;function IN(){return null!=JN?JN:JN="l1uvBpwCoYtw5PmvD5BnBFecuooTgOPMpekPuTPmoHgGmAMfeGxywsyCgX8IKnleAGTQMmWcpwiajV4Vi24xBy3MwUy0eRKwkAfI+bvTd8Jx9qnrLOXEyIDqE121ucEBSgriOQ==".substring(0,dea())}function dea(){var a=HN()-18-1;return Math.max(a,0)}function HN(){return BN(xN("EidZVd"),0)};var KN=function(){};KN.prototype.g=function(a){!FN(a,"X-Goog-Meeting-RtcClient")&&LN&&DN(a,"X-Goog-Meeting-RtcClient",MN())};var LN=!1,NN=null;function MN(){if(NN)return NN;var a=$M(0),b=new Ik;DA(a,b);a=Mk(b);return NN=Gk(a)};var PN=function(a){this.g=new bN(void 0);this.h=eea(a).wx;this.l=new fea;this.j=new kM;null==L(this.g,1)&&Q(this.g,1,32);a=ON(this)||"rmjs";Q(this.g,2,a);a=L(this.g,3)||"Unknown";Q(this.g,3,a);a=L(this.g,4)||"0.0";Q(this.g,4,a);null==N(this.g,5,0)&&Q(this.g,5,0);a=this.lc()||ON(this)+Ne().toUpperCase();Q(this.g,6,a);a=L(this.g,7)||this.lc()+"@fake.com";Q(this.g,7,a);null==ml(this.g,9)&&Q(this.g,9,.01);a=L(this.g,10)||null;Q(this.g,10,a);a=L(this.g,11)||"https://clients2.google.com/cr/report";Q(this.g,
  11,a);a=L(this.g,12)||null;Q(this.g,12,a);a=S(this.g,qL,13)||new qL;U(this.g,13,a);null==nl(this.g,8)&&Q(this.g,8,!1);null==nl(this.g,16)&&Q(this.g,16,!1);a=L(this.g,14)||[];Q(this.g,14,a||[]);a=S(this.g,JM,17)||new JM;U(this.g,17,a);a=this.ng()||null;Q(this.g,18,a)};PN.prototype.register=function(a){a.registerService(QN,this);gea(this,a);return this};
  var gea=function(a,b){NK(b,FM).then(function(c){var d={Ih:function(e){var f=$M(N(a.g,5,0),RN(a));U(e,5,f);var g=XM(e);f=S(g,UJ,9)||new UJ;U(g,9,f);g=ON(a);Q(f,4,g);e=YM(e);f=L(a.g,7);e=Q(e,8,f);f=a.lc();Q(e,1,f)},Jh:function(){}};SN(c,d);Cs(b,function(){oc(c.h,d)})})},hea=function(a){return new Rda(L(a.g,14),nl(a.g,8)||!1,!!nl(a.g,16))},TN=function(a,b){var c=new FA;var d=new uA;var e=L(a.g,1);d=Q(d,1,e);c=U(c,1,d);d=new qA;b=Q(d,4,b);d=a.lc();b=Q(b,1,d);b=U(c,2,b);b=Q(b,4,"en");a=$M(N(a.g,5,0),RN(a));
  return U(b,7,a)},RN=function(a){return L(a.g,7).endsWith("@hangouts-enterprise-devices.gserviceaccount.com")},ON=function(a){return L(a.g,2)};k=PN.prototype;k.lc=function(){return this.g.lc()};k.ng=function(){return this.g.ng()};k.nh=function(){return this.g.nh()};k.oh=function(){return this.g.oh()};k.qh=function(){return this.g.qh()};k.wa=function(){return this.g.wa()};var QN=new rK("CgjDUd"),fea=function(){};
  function eea(a){if(a instanceof uN){var b=a;a=new sN(a.j,a.m,a.s,a.l,a.u);var c=LN,d=0<HN();if(c||d){var e=function(){var f={};c&&(f["X-Goog-Meeting-RtcClient"]=MN());d&&(f["X-Goog-Meeting-ABR"]=IN());return f};b.D=e;a.D=e}}else a instanceof sN?b=$da(a):a=b=a;return{xP:a,wx:b}};var UN=new WeakMap,VN=function(a,b){oL.call(this);this.o=zg("realtime.media.collections.apiary.OperationExecutor");this.h=a;this.s=b;this.g=[]};t(VN,oL);var WN=function(a,b){UN.has(a)||(b=new VN(b,function(){return NK(a,HM).then(function(c){return c.h})}),UN.set(a,b));return UN.get(a)},XN=function(a){return a.s().then(function(b){return TN(a.h,b)})};VN.prototype.execute=function(a,b){if(a.s())throw new aL(a);void 0===b&&a.j?(this.g.push(a),1==this.g.length&&Ts(this.m,this)):YN(this,a,b)};
  VN.prototype.m=function(){for(var a=0;a+5<this.g.length;)ZN(this,this.g.slice(a,a+5)),a+=5;1==this.g.length-a?YN(this,this.g[a]):ZN(this,this.g.slice(a));this.g.length=0};
  var YN=function(a,b,c){c=void 0===c?b.Ch():c;var d=b.l,e=$K(b);XN(a).then(function(f){e.setRequestHeader(f);Eg(a.o,"Making request for operation: "+b+", jid: "+a.h.lc());f=b.aj();var g=Math.max(c,b.nl()||0);ot(a.h.h.makeRequest(d,e,b.X,c,f,g,{isCollectionOperation:!0}).then(function(h){return $N(a,b,h)}),function(h){return aO(a,b,h)})})},$N=function(a,b,c){var d=c.getResponseHeader();if(1==d.Ja())d="function"===typeof c.W&&null!=c.W()?c.W().tb():null,"string"===typeof d&&(d=parseInt(d,10)),d=null==
  d?-1:d,c=b.K(c),c={version:d,data:c},Eg(a.o,"Apiary operation succeeded for "+b+", result: "+c),b.m=!0,b.F.resolve(c);else{var e=Error(L(d,8));e.stack=L(d,2)||"Missing Stack";Cg(a.o,"Apiary operation "+b+" failed with status "+d.Ja(),e);aO(a,b,new fN("fatal","backend",null,c))}},aO=function(a,b,c){b.m=!0;Cg(a.o,"Apiary operation failed for "+b+": "+c);b.F.reject(c)},ZN=function(a,b){var c=new nD;XN(a).then(function(d){c.setRequestHeader(d);oD(c,b.map(function(f){return f.j.set(new jD,$K(f))}));Eg(a.o,
  "Making bulk request for "+b.length+"operations , jid: "+a.h.lc());d=Math.max.apply(null,b.map(function(f){return f.aj()}));var e=b.map(function(f){return f.Ch()}).filter(function(f){return void 0!==f});e=e.length?Math.min.apply(null,e):void 0;ot(a.h.h.makeRequest("hangouts/bulk",c,OD,e,d,void 0,{isCollectionOperation:!0}).then(function(f){return iea(a,b,f)}),function(f){return jea(a,b,f)})})},iea=function(a,b,c){wN(a.h.h,c);var d=T(c,MD,2);b.forEach(function(e,f){(f=e.j.get(d[f]))?(wN(a.h.h,f),$N(a,
  e,f)):aO(a,e,new fN("fatal","backend",null,c))})},jea=function(a,b,c){b.forEach(function(d){return aO(a,d,c)})};var bO=new eL({Td:LC,Rd:[LC.prototype.va,LC.prototype.my,LC.prototype.ny],Sd:[LC.prototype.gj,LC.prototype.fj,LC.prototype.hj],Zd:[LC.prototype.ej],ae:[LC.prototype.ij],Wd:eI,Ud:[eI.prototype.va,eI.prototype.Cp,eI.prototype.Dp],Vd:[eI.prototype.Bl,eI.prototype.Ep,eI.prototype.Cl],Xd:[eI.prototype.ly],Yd:[eI.prototype.Fp],Gx:kea});function kea(a){a.forEach(function(b){if(b=S(b,NC,8))bD(b,L(b,1).map(cO)),T(b,PC,2).forEach(function(c){var d=L(c,2).map(cO);return Q(c,2,d||[])})})}
  var cO=function(a){return a>>>0};function lea(a,b){var c=new eL({Td:$B,Rd:[],Sd:[],Zd:[$B.prototype.u],ae:[$B.prototype.l],Wd:aI,Ud:[],Vd:[],Xd:[aI.prototype.l],Yd:[aI.prototype.u]});a=new DM(WN(a,b));var d=new rL(b.j,"o");return new AL(S(b.g,qL,13),[],c,a,d,b.l)}function dO(a,b,c,d,e,f,g){a=new e(WN(a,b));f=new rL(b.j,f);return new rM(S(b.g,qL,13),c,d,a,f,b.l,g)};var eO=function(a,b,c){return dO(a,b,[c],new eL({Td:XA,Rd:[XA.prototype.va],Sd:[XA.prototype.yl],Zd:[],ae:[],Wd:VH,Ud:[VH.prototype.va],Vd:[VH.prototype.l],Xd:[],Yd:[]}),bL,"k","Hangout")},mea=function(a,b,c){return dO(a,b,[c],new eL({Td:vC,Rd:[vC.prototype.va],Sd:[vC.prototype.zl],Zd:[vC.prototype.Y,vC.prototype.Da],ae:[vC.prototype.dj,vC.prototype.Al],Wd:gE,Ud:[gE.prototype.va],Vd:[gE.prototype.zp],Xd:[gE.prototype.Y,gE.prototype.Da],Yd:[gE.prototype.Ap,gE.prototype.Bp]}),dL,"p","MediaSources")};function fO(a,b,c){var d=eO(a,b,"");return d.add(c).then(function(e){DL(d,e[0]);return d},function(e){Ds(d);throw e;})}function gO(a,b,c,d){function e(h){if(1==h.getResponseHeader().Ja())return h=h.va(),eO(a,b,h);throw new fN("fatal","backend",null,h);}function f(){return ot(nea(a,b,c).then(e),function(h){if(Za()<g)return vx(5E3).then(f);throw h;})}var g=0;void 0!==d&&(c=El(c),Q(c,5,!0),g=Za()+d);return f()}
  function nea(a,b,c){return NK(a,HM).then(function(d){return d.h}).then(function(d){return b.h.makeRequest("hangouts/resolve",El(c).setRequestHeader(TN(b,d)),wD)})};var hO=function(a){this.g=a.g;this.th=a.h};hO.prototype.Re=function(){return tc(this.g)};hO.prototype.toString=function(){return"RIDs(send="+this.th+", rids="+this.Re()+")"};var iO=function(){this.g=[];this.h=!0};iO.prototype.ja=function(){return new hO(this)};var jO=function(a,b){a.g=tc(b);return a};var kO=function(a,b){this.g=a;this.h=tc(b)};kO.prototype.toString=function(){return"SsrcGroup(semantics="+this.g+", ssrcs="+this.h+")"};kO.prototype.Pa=function(){return tc(this.h)};var lO=function(a,b,c,d){this.g=a;this.h=b;this.width=c;this.height=d};lO.prototype.clone=function(){return new lO(this.g,this.h,this.width,this.height)};lO.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};lO.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};
  lO.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};lO.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};lO.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 oO=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;jM.call(this);this.s=a;this.Wa=b;this.g=c;this.l=d;this.m=e;this.u="sc"!==d;this.h=null;mO(this,g);this.j=f;this.D=new Uu(this);this.Wc=Wu(this.D);nO(this)};t(oO,jM);var nO=function(a){a.D.R(a.Wc,{state:a.m,content:a.l})};oO.prototype.toString=function(){return"Source(id="+this.Wa+" type="+this.g+" content="+this.l+" state="+this.m+" participantId="+this.s+")"};oO.prototype.Y=function(){return this.s};
  oO.prototype.getId=function(){return this.Wa};oO.prototype.getContent=function(){return this.l};var pO=function(a,b){a.l!=b&&(a.l=b,a.O("H"),nO(a))};oO.prototype.getState=function(){return this.m};var qO=function(a,b){a.m!=b&&(a.m=b,a.O("J"),nO(a))};oO.prototype.Ef=function(){return this.u};
  var pea=function(a,b){a.u!=b&&(a.u=b,a.O("K"))},mO=function(a,b){var c=null!=a.h&&!jc(a.h),d=null!=b&&!jc(b);d?b=tc(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&&!Dc(a.h,b,oea))a.h=b;return c};oO.prototype.O=function(a){return jM.prototype.O.call(this,a)};var rO=function(a){return new oO(void 0===a.lj?"":a.lj,a.id,a.mediaType,void 0===a.content?"un":a.content,void 0===a.state?"li":a.state,void 0===a.mq?null:a.mq,void 0===a.Hr?null:a.Hr)};var sO=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.Qe=a.m;this.j=a.s;this.V=a.C;this.H=tc(a.h);this.h=a.G;this.C=tc(a.K);this.l=a.g};k=sO.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.Qe+", mediaStreamTrackId="+this.j+", ssrcs="+this.H+", rids="+this.h+", ssrcGroups="+this.C+", adaptationFlags="+this.l+")"};k.ga=function(){return this.u};k.Y=function(){return this.D};k.Da=function(){return this.G};k.Jc=function(){return this.F};k.Ef=function(){return this.m};
  k.Pa=function(){return tc(this.H)};k.matches=function(a){return this.Y()==a.Y()&&this.ga()==a.ga()&&this.Da()==a.Da()&&this.g==a.g};var tO=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.Qe:null;this.s=a?a.j:null;this.C=a?a.V:null;this.h=a?tc(a.H):[];this.G=a?a.h:null;this.K=a?tc(a.C):[];this.g=a?a.l:0};tO.prototype.ja=function(){return new sO(this)};
  var uO=function(a,b){a.u=b;return a},vO=function(a,b){a.D=b;return a},wO=function(a,b){a.H=b;return a},xO=function(a,b){a.V=b;return a},yO=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},zO=function(a,b){a.j=b;return a},AO=function(a,b){a.m=b;return a},BO=function(a,b){a.s=b;return a},CO=function(a,b){a.C=b;return a},DO=function(a,b){a.h=tc(b);return a};tO.prototype.Pa=function(){return tc(this.h)};
  var EO=function(a,b){a.G=b;return a},FO=function(a,b){a.K=tc(b);return a},sea=function(a,b){a.g=b;return a};var GO=function(a){jM.call(this);this.g=a;a.F=this;this.T(a);this.h="nr"};t(GO,jM);k=GO.prototype;k.Ba=function(){return{config:this.cp(),muted:this.Sb(),state:tea(this)}};k.ga=function(){return this.g.g};k.Sb=function(){return"mu"==this.g.getState()};k.Pk=function(){return!1};k.cp=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""};
  GO.prototype.D=function(a){if(a!==this.h){var b=this.Sb();this.h=a;this.O("P");b!==this.Sb()&&this.O("O")}};GO.prototype.eb=function(){};GO.prototype.Aa=function(){};var HO=function(a){this.g=a.g;this.h=a.h;this.j=a.j};HO.prototype.toString=function(){return"BandwidthConstraints(minBandwidthKbps="+(this.h+", maxBandwidthKbps=")+(this.g+", startBandwidthKbps=")+this.j};var IO=function(){this.j=this.h=this.g=-1};IO.prototype.ja=function(){return new HO(this)};var JO=function(a,b,c,d,e,f,g,h,l,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=l;this.D=void 0===q?null:q;this.G=void 0===r?null:r},KO=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};
  JO.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+")")};JO.prototype.ka=function(){return new JO(this.g,this.s,this.h,this.m,this.l,this.C,this.u,this.j,this.F,this.D,this.G)};JO.prototype.Fb=function(){return this.C};JO.prototype.Aj=function(a){var b=this.ka();b.C=a;return b};var MO=function(a){this.l=a.m;this.xe=a.u;this.C=a.s;this.j=a.C;this.h=a.h;this.g=a.g;this.m=a.l;this.we=Object.freeze(LO(a.j))};MO.prototype.toString=function(){return"Codec(name="+this.C+", mediaType="+this.l+", payloadType="+this.xe+", bitrate="+this.j+", clockrate="+this.h+", channels="+this.g+", audioNack="+this.m+", params="+Gs(this.we)+")"};MO.prototype.ga=function(){return this.l};MO.prototype.getName=function(){return this.C};var NO=function(a,b){return 0==Lc(a.getName(),b)};
  MO.prototype.clone=function(){return(new OO(this)).ja()};var OO=function(a){this.m=(a=void 0===a?null:a)&&a.l;this.u=a&&a.xe;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=LO(a?a.we:{})};OO.prototype.ja=function(){return new MO(this)};var PO=function(a){var b=new OO;b.m=a;return b},QO=function(a,b){a.u=b;return a};OO.prototype.Sf=function(a){this.s=a;return this};var RO=function(a,b,c){a.j[b]=c;return a};function LO(a){return Object.assign(Object.create(null),a)};var SO=function(a){this.g=a.j;this.j=a.g;this.l=a.h;this.h=a.l};SO.prototype.toString=function(){return"Crypto(suite="+this.g+", keyParams=<redacted>, sessionParams_="+(null!=this.l?"<redacted>":null)+", tag="+this.h+")"};var TO=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};TO.prototype.ja=function(){return new SO(this)};var UO=function(a,b,c){this.g=a;this.j=b;this.h=c};UO.prototype.toString=function(){return"DataChannelDescriptor(label="+this.h+" id="+this.g+", format="+(this.j+")")};UO.prototype.getChannelId=function(){return this.g};UO.prototype.Ff=function(){return this.h};UO.prototype.equals=function(a){return null==a?!1:this.g==a.g&&this.h==a.h};var VO=function(a,b,c){this.id=a;this.uri=b;this.mediaType=void 0===c?null:c};VO.prototype.toString=function(){return"RtpHeaderExtension(uri="+this.uri+", id="+this.id+", mediaType="+this.mediaType+")"};var WO=function(a){this.l=a.j;this.j=a.h;this.h=a.l;this.g=a.g};WO.prototype.Ba=function(){return{port:this.Fb(),name:this.getName(),messagesize:this.h,numstreams:this.g}};WO.prototype.Fb=function(){return this.l};WO.prototype.getName=function(){return this.j};var XO=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};XO.prototype.ja=function(){return new WO(this)};XO.prototype.Aj=function(a){this.j=a;return this};
  XO.prototype.Sf=function(a){this.h=a;return this};var YO=function(a,b){a.g=b;return a};var ZO=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=ZO.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.Y=function(){return this.s};k.ga=function(){return this.m};
  k.Da=function(){return this.F};k.Tc=function(){return this.g&&this.g.clone()};k.Pa=function(){return this.D};k.matches=function(a){return this.Y()==a.Y()&&$O(this,a)};var $O=function(a,b){return a.ga()==b.ga()&&a.Da()==b.Da()},aP=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};aP.prototype.ja=function(){return new ZO(this)};
  var bP=function(a,b){a.j=b;return a},cP=function(a,b){a.u=b;return a},dP=function(a,b){a.F=b;return a},eP=function(a,b){a.s=b;return a},fP=function(a,b){a.m=b;return a},gP=function(a,b){a.C=b;return a},hP=function(a,b){a.g=new Bf(b.width,b.height);return a},iP=function(a,b){a.h=b;return a},uea=function(a){var b=new Bf(0,0),c=Math.min;null!==a.g&&(b=new Bf(c(a.g.width,b.width),c(a.g.height,b.height)));return hP(a,b)},vea=function(a){a.h=Math.min(a.h||Infinity,0);return a};var jP=function(a,b,c,d){this.h=a;this.m=b;this.D=c;this.Fd=void 0===d?null:d;this.g=null;this.u=[];this.C="";this.He=[];this.F=this.s=!0;this.j=[];this.l=null},mP=function(a,b){return a===b?!0:a&&b?a.h===b.h&&Dc(kP(a),kP(b),function(c,d){return c===d?!0:c&&d?c.l===d.l&&c.xe===d.xe&&c.C===d.C&&c.j===d.j&&c.h===d.h&&c.g===d.g:!1})&&Dc(lP(a),lP(b),function(c,d){return c===d?!0:c&&d?c.uri===d.uri&&c.id===d.id&&c.mediaType===d.mediaType:!1}):!1};
  jP.prototype.Ba=function(){var a=this.g?this.g.Ba():{};return{type:this.h,mediaId:nP(this),bandwidthConstraints:String(this.Cf()),codecs:kP(this),streams:oP(this),sctpSettings:a,rtpHeaderExtensions:lP(this),defaultRequests:this.Me().map(String),send:this.s,receive:this.F,virtualSsrcs:tc(this.j),loudestCsrc:this.l}};jP.prototype.ka=function(){var a=new jP(this.h,this.m,this.D,this.Fd);a.g=this.g;a.u=this.u;a.C=this.C;a.He=this.He;a.s=this.s;a.F=this.F;a.j=this.j;a.l=this.l;return a};
  var kP=function(a){return tc(a.m)},pP=function(a,b){a=a.ka();a.m=b;return a},qP=function(a,b){a=a.ka();a.g=b;return a},lP=function(a){return tc(a.D)},rP=function(a,b){a=a.ka();a.D=b;return a},oP=function(a){return tc(a.u)},sP=function(a,b){a=a.ka();a.u=b;return a},nP=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 Vb("No default media ID for unknown type: "+a.h),""}},tP=function(a,b){a=a.ka();a.C=b;return a};
  jP.prototype.Me=function(){return tc(this.He)};jP.prototype.Jg=function(a){var b=this.ka();b.He=a;return b};jP.prototype.Km=function(a){var b=this.ka();b.Fd=a;return b};jP.prototype.Cf=function(){return this.Fd};
  var uP=function(a,b){a=a.ka();a.s=b;return a},wea=function(a,b){a=a.ka();a.F=b;return a},vP=function(a,b){a=a.ka();a.j=b;return a},xea=function(a,b){a=a.ka();a.l=b;return a},wP=function(a){return 0<a.j.length?a.j.map(function(b){return DO(AO(xO(wO(uO(new tO,"a"),b.toString()),b.toString()),b.toString()),[b]).ja()}):oP(a)},yea=function(a,b,c){var d=new Set(c.map(xP));c=oP(a);rc(c,function(e){return d.has(e.g)});return sP(a,c.concat(b))},Aea=function(a){return zea(a,function(b){return NO(b,"CN")})},
  zea=function(a,b){return pP(a,a.m.filter(Dd(b)))},yP=function(a,b){var c=void 0===c?Ad:c;return Bea(a,function(d){return NO(d,b)},c)},Bea=function(a,b,c){c=void 0===c?Ad:c;b=gc(a.m,b);if(-1==b)return a;var d=kP(a);c=c(d[b]);pc(d,b);nc(d,0,0,c);return pP(a,d)},zP=function(a,b){if(null===b)return a;var c=a.ka(),d=b.Fd?b.Fd.g:null;if(d){null==d&&(d=-1);c=c.ka();var e=new IO;e.g=d;c.Fd=e.ja()}d=kP(b);jc(d)||(c=pP(c,d));(d=b.g)&&(c=qP(c,d));d=lP(b);jc(d)||(c=rP(c,d));d=b.Me();jc(d)||(c=c.Jg(d));a=oP(a);
  b=oP(b);d=xP;a=Fc(a,d);Object.assign(a,Fc(b,d));b=Object.values(a);return sP(c,b)},xP=function(a){return a.g};var AP=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},Cea=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&&Dc(tc(a.l),tc(b.l),function(c,d){return KO(c,d)}):!1};AP.prototype.Ba=function(){return{version:this.tb(),ufrag:this.j,pwd:this.h,fingerprint:this.g,dtlsRole:this.C,candidates:tc(this.l).toString(),mode:this.s}};
  AP.prototype.ka=function(){var a=new AP(this.m,this.j,this.h,this.g,this.l,this.s);a.C=this.C;return a};AP.prototype.tb=function(){return this.m};var BP=function(a,b){a=a.ka();a.C=b;return a};var CP=function(a,b,c,d,e,f,g){var h=this;f=void 0===f?null:f;g=void 0===g?null:g;this.za=void 0===a?null:a;this.qa=void 0===b?null:b;this.Ya=void 0===c?null:c;this.j=void 0===d?null:d;this.l=new Map;((void 0===e?null:e)||[]).forEach(function(l){h.l.set(l.Ff(),l)});this.g=f;this.h=g||[]},EP=function(a,b){var c=a.qa;if(!c)return a;b=kP(c).filter(b);var d=b.map(function(e){return e.xe.toString()});b=b.filter(function(e){return!NO(e,"rtx")||d.includes("apt"in e.we?e.we.apt:null)});return DP(a,pP(c,b))},
  Dea=function(a,b){return a===b?!0:a&&b?mP(a.za,b.za)&&mP(a.qa,b.qa)&&Cea(a.g,b.g)&&Dc(tc(a.h),tc(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};CP.prototype.Ba=function(){return{sessionId:this.j,audio:this.za&&this.za.Ba(),video:this.qa&&this.qa.Ba(),data:this.Ya&&this.Ya.Ba(),pushChannels:FP(this)&&FP(this).toString(),transport:this.g&&this.g.Ba(),cryptos:tc(this.h)}};
  CP.prototype.ka=function(){var a=new CP(this.za,this.qa,this.Ya,this.j,[],this.g,this.h);a.l=new Map(this.l);return a};
  var GP=function(a,b){a=a.ka();a.za=b;return a},DP=function(a,b){a=a.ka();a.qa=b;return a},HP=function(a,b){a=a.ka();a.Ya=b;return a},IP=function(a,b){a=a.ka();a.g=b;return a},FP=function(a){return[].concat(p(a.l.values()))},JP=function(a,b){a=a.ka();a.h=b;return a},LP=function(a,b,c){a=a.ka();a.za=KP(a.za,b,c);a.qa=KP(a.qa,b,c);a.Ya=KP(a.Ya,b,c);return a},KP=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 MP=zg("realtime.media.mesi.MesiProtoConverter"),NP=function(){};NP.prototype.C=function(a){var b=new AC;Q(b,1,a.g);Q(b,2,a.h);Q(b,3,a.width);Q(b,4,a.height);return b};NP.prototype.D=function(a){var b=ml(a,1),c=ml(a,2),d=ml(a,3);a=ml(a,4);return null==b||null==c||null==d||null==a?null:new lO(b,c,d,a)};
  var Gea=function(a,b,c,d,e,f){c=void 0===c?[]:c;e=void 0===e?!1:e;f=void 0===f?null:f;var g=new $B;null!=b.j&&g.l(b.j);Q(g,7,1);c=c.concat(b.za.Me());var h=b.qa;null!=h&&(c=c.concat(h.Me()));h=Eea([b.za,b.qa,b.Ya]);a=Fea(a,h,c,b.g,tc(b.h));Q(a,1,4);qC(g,[a]);b=FP(b).map(function(l){var q=new XB;var r=l.getChannelId();q=Q(q,1,r);q=Q(q,2,l.j);l=l.Ff();return Q(q,4,l)});xl(g,5,b);d&&Q(g,14,1);e&&Q(g,15,2);null!=f&&U(g,17,f);return g},QP=function(a,b){var c=null,d=null,e=null,f=null,g=[],h=b.u(),l=T(b,
  VB,4);if(0<l.length){l=l[0];e=Hea(a,l);c=vP(OP(e,"a"),L(b,10));L(b,12)&&0!==L(b,12)&&(c=xea(c,L(b,12)));d=OP(e,"v");e=OP(e,"d");var q=S(l,QB,2);q&&(f=Iea(a,q));(l=T(l,CB,4))&&(g=PP(l,a.gy,a)||[])}a=T(b,XB,5).map(function(r){return new UO(r.getChannelId(),L(r,2),r.Ff())},a);return new CP(c,d,e,null==h?void 0:h,a,f,g)},OP=function(a,b){var c=kP(a).filter(function(f){return f.ga()==b}),d="d"==b?a.g:null;if(0==c.length&&null==d)return null;var e=lP(a).filter(function(f){return f.mediaType==b});a=a.Me().filter(function(f){return f.ga()==
  b});return qP((new jP(b,c,e)).Jg(a),d)},Fea=function(a,b,c,d,e){var f=new VB,g=RP(b.h)||void 0;Q(f,1,g);g=kP(b).map(a.Rt,a);xl(f,3,g);e=e.map(a.Jn,a);xl(f,4,e);e=lP(b).map(a.St,a);xl(f,5,e);if(null!=d){e=new QB;a:{g=d.tb();switch(g){case "GICE":g=1;break a;case "ICE":g=2;break a}Dg(MP,"Unknown ICE version: "+g);g=void 0}Q(e,1,g);Q(e,4,d.j);Q(e,5,d.h);g=tc(d.l).map(a.h,a);xl(e,6,g);var h=d.g;h&&(g=new RB,h=h.split(" "),Q(g,1,h[0]),Q(g,2,h[1]),U(e,2,g));switch(d.C){case "actpass":var l=3;break;case "passive":l=
  2;break;case "active":l=1}l&&Q(e,7,l);U(f,2,e)}b.g&&(d=b.g.getName(),Q(f,8,d));if(b=b.Cf())d=new oB,-1!=b.h&&Q(d,1,b.h),-1!=b.g&&Q(d,2,b.g),-1!==b.j&&Q(d,3,b.j),U(f,7,d);a=c.map(a.j,a);xl(f,6,a);return f};NP.prototype.j=function(a){var b=new HB;Q(b,2,a.h);var c=new qB;Q(c,1,a.g&&a.g.height);Q(c,2,a.g&&a.g.width);Q(c,3,a.j);U(b,3,c);c=new JB;U(c,2,b);a=RP(a.ga())||void 0;Q(c,1,a);return c};
  var Eea=function(a){for(var b=[],c=[],d=[],e=null,f=null,g=0;g<a.length;g++)null!=a[g]&&(b=b.concat(kP(a[g])),c=c.concat(lP(a[g])),d=d.concat(a[g].Me()),!e&&a[g].g&&(e=a[g].g),!f&&a[g].Cf()&&(f=a[g].Cf()));return qP(rP(pP(a[0],b),c).Jg(d).Km(f),e)},Hea=function(a,b){var c=SP(b.ga());if(null==c)return null;var d=PP(T(b,vB,3),a.ey,a)||[],e=PP(T(b,LB,5),Xa(function(g){var h=L(g,2)||"",l=g.getId(),q=SP(g.ga(),c||void 0);null==h||null==l?(Dg(MP,"Missing RTP header extension id or uri: "+g),g=null):g=new VO(l,
  h,q);return g},a))||[],f=[];T(b,JB,6).forEach(function(g){var h=SP(g.ga());null!=h&&(h=bP(new aP,h),g=TP(h,S(g,HB,2)),f.push(g))},a);a=null;(b=L(b,8))&&(a=YO((new XO).Sf(b).Aj(5E3),256).ja());return qP((new jP(c,d,e)).Jg(f),a)},RP=function(a){switch(a){case "a":return 1;case "v":return 2;case "d":return 3}Dg(MP,"Unknown media type: "+a)},SP=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"}Dg(MP,"Unknown media type: "+a);return b};k=NP.prototype;
  k.Rt=function(a){var b=new vB;yB(b,RP(a.ga()));Q(b,1,a.xe);xB(b,a.getName());BB(b,Object.entries(a.we).map(function(d){var e=n(d);d=e.next().value;e=e.next().value;var f=new wB;Q(f,1,d);Q(f,2,e);return f}));var c=a.j;Q(b,5,null==c?0:c);Q(b,6,a.h);Q(b,7,a.g);Q(b,9,a.m);return b};
  k.ey=function(a){var b=SP(a.ga()),c=L(a,1),d=a.getName();if(null==b||null==c||null==d)return Dg(MP,"Bad codec: "+a),null;var e=QO(PO(b),c).Sf(d);b=L(a,5);null!=b&&(e.C=b);b=L(a,6);null!=b&&(e.h=b);b=L(a,7);null!=b&&(e.g=b);b=nl(a,9);null!=b&&(e.l=b);T(a,wB,8).forEach(function(f){var g=L(f,1)||"";f=L(f,2)||"";RO(e,g,f)});return e.ja()};
  k.Jn=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}Dg(MP,"Unknown crypto suite: "+b);b=null}if(null==b)return Dg(MP,"Unknown crypto suite: "+a.g),null;var c=new CB;Q(c,1,b);Q(c,2,a.j);Q(c,3,a.l||void 0);Q(c,4,a.h);return c};
  k.gy=function(a){a:{var b=L(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}Dg(MP,"Unknown crypto suite: "+b);b=null}if(null==b)return Dg(MP,"Unknown crypto suite: "+L(a,1)),null;var c=L(a,2),d=L(a,3),e=L(a,4);if(null==c||null==e)return Dg(MP,"Bad crypto: "+a),null;a=new TO;a.j=b;a.g=c;a.l=e;d&&(a.h=d);return a.ja()};k.St=function(a){var b=a.id,c=a.uri;a=a.mediaType;var d=new LB;c=Q(d,2,c);b=Q(c,1,b);a=RP(a);return Q(b,3,a)};
  var Iea=function(a,b){a:{var c=L(b,1);switch(c){case 1:c="GICE";break a;case 2:c="ICE";break a}Dg(MP,"Unknown ICE version: "+c);c=null}if(null==c)return null;var d="ICE"===c?"lite":"full",e=L(b,4)||"",f=L(b,5)||"",g=T(b,NB,6);a=PP(g,a.m,a)||[];g=S(b,RB,2);var h;g&&(h=L(g,1)+" "+L(g,2));h=new AP(c,e,f,h,a,d);switch(L(b,7)){case 1:h=BP(h,"active");break;case 2:h=BP(h,"passive");break;case 3:Vb("Received unexpected ACTPASS dtls role.")}return h};
  NP.prototype.h=function(a){var b=new NB;a:{var c=a.g;switch(c){case 1:c=1;break a;case 2:c=2;break a}Dg(MP,"Unknown ICE component: "+c);c=void 0}Q(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}Dg(MP,"Unknown candidate protocol: "+c);c=void 0}Q(b,2,c);Q(b,3,a.l);c=a.Fb();Q(b,4,c);c=Jea(a.h);Q(b,5,c);Q(b,6,a.s);Q(b,7,a.F);Q(b,8,a.j);return b};
  NP.prototype.m=function(a){a:{var b=L(a,1);switch(b){case 1:b=1;break a;case 2:b=2;break a}Dg(MP,"Unknown ICE component: "+b);b=null}var c=L(a,6);null==c&&(c=0);var d=Kea(L(a,5)),e=Lea(L(a,2)),f=L(a,3),g=a.Fb();if(!(b&&d&&e&&f&&g))return Dg(MP,"Missing or unknown candidate parmeters: "+a),null;var h=c.toString(),l=L(a,7)||"";a=L(a,8)||0;return new JO(b,c,d,e,f,g,h,a,l)};
  var Lea=function(a){switch(a){case 1:return"UDP";case 2:return"TCP";case 3:return"SSLTCP"}Dg(MP,"Unknown candidate protocol: "+a);return null},Jea=function(a){switch(a){case "LOCAL":return 1;case "PEER_REFLEX":return 2;case "STUN":return 3;case "RELAY":return 4}Dg(MP,"Unknown candidate type: "+a)},Kea=function(a){switch(a){case 1:return"LOCAL";case 2:return"PEER_REFLEX";case 3:return"STUN";case 4:return"RELAY"}Dg(MP,"Unknown ICE type: "+a);return null},UP=function(a,b,c,d){var e=new LC;e.fj(2);null!=
  b&&e.hj(b);e.gj(c);b=d.Y()||null;Q(e,6,b);b=RP(d.ga());Q(e,2,b);b=d.Da();Q(e,7,b);e.ij(d.g);"v"==d.ga()&&Q(e,11,d.Ef());b=new QC;c=d.Jc();Q(b,1,c);U(e,10,b);b=new TC;b.setPaused(d.s);U(e,14,b);b=new UC;b.setPaused(d.K);U(e,15,b);b=new NC;bD(b,d.Pa());d.h&&(c=d.h.Re(),Q(b,3,c||[]));a=tc(d.C).map(a.l,a);xl(b,2,a);U(e,8,b);return e},Mea=function(a){var b=VP;return PP(a,b.u,b)||[]};
  NP.prototype.u=function(a){var b=SP(a.ga());if(null==b)return Dg(MP,"Unknown stream media type: "+a),null;var c=a.Y(),d=a.Da(),e=a.ej();if(null==c||null==d||null==e)return Dg(MP,"Missing stream parmeters: "+a),null;var f=S(a,QC,10);f=!(!f||!f.Jc());var g=S(a,TC,14);g=!(!g||!nl(g,1));var h=S(a,UC,15);h=!(!h||!nl(h,1));var l=M(a,11)?!!nl(a,11):!0,q=[],r=[],y=[],D=null,A=S(a,NC,8);null!=A&&(q=PP(L(A,1),this.g,this)||[],r=PP(T(A,PC,2),this.s,this)||[],y=L(A,3),D=L(A,4));A=null;0<y.length&&(A=jO(new iO,
  y).ja());var K=BO(AO(EO(FO(DO(zO(rea(qea(yO(CO(xO(wO(vO(uO(new tO,b),c),d),e),D),f),g),h),l),q),r),A),e),e);a=S(a,SC,13);(a&&L(a,1)||[]).forEach(function(P){if(P=Nea.get(P))K.g|=P});return K.ja()};NP.prototype.g=function(a){return a>>>0};var Oea=function(a){return a>>>0};NP.prototype.l=function(a){var b=new PC;b=Q(b,1,a.g);a=a.Pa();return Q(b,2,a||[])};NP.prototype.s=function(a){var b=PP(L(a,2),this.g)||[],c=L(a,1);return null==c?(Dg(MP,"Unknown ssrc group semantics: "+a),null):new kO(c,b)};
  var Pea=function(a){var b=VP;return PP(a,b.F,b)||[]};NP.prototype.F=function(a){var b=SP(a.ga());if(null==b)return Dg(MP,"Unknown stream request media type: "+a),null;var c=a.Y(),d=a.Da();if(null==c||null==d)return Dg(MP,"Missing stream request parmeters: "+a),null;var e=dP(new aP,a.ej());e.l=c;b=eP(bP(e,b),d);c=S(a,NC,8);null!=c&&cP(b,PP(L(c,1),this.g,this)||[]);return TP(b,S(a,HB,9))};
  var TP=function(a,b){if(b&&nl(b,2)){gP(a,!0);var c=L(b,5);c.length&&cP(a,c.map(Oea));if(b=b.Tc())(c=L(b,3))&&iP(a,c),c=L(b,2),b=L(b,1),c&&b&&hP(a,new Bf(c,b))}else gP(a,!1);return a.ja()},PP=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 Dg(MP,"Failed to parse: "+a),null;var g=b.call(c,f);if(null==g)return Dg(MP,"Failed to parse: "+f),null;d.push(g)}return d},Nea=new Map([[1,1],[2,2],[3,4],[4,8]]);var WP=function(a){tL.call(this);this.j=a;this.g=null;this.h=[];this.m=this.s=!1;this.G=new NP;this.u=this.F=null;Qea(this)};t(WP,tL);WP.prototype.ba=function(){this.h=[];this.g=null;tL.prototype.ba.call(this)};var YP=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,XP(a))};WP.prototype.D=function(a){var b=this.g;YP(this);b&&b==this.g&&a.target==b.g&&XP(this)};
  var XP=function(a){a.C()||null===a.u||(a.m?a.s=!0:(a.s=!1,a.m=!0,ht([a.j.fb,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.zl(f);b.dj(g.Y());b.Al(g.getId());f=RP(g.g);Q(b,4,f);f="mu"==g.getState();var h=new wC;U(b,5,h);h=S(b,wC,5);Q(h,1,f);if("a"==g.g)null!=g.j&&(e=new BC,Q(e,2,g.j),g=g.Y(),Q(e,1,g),U(b,8,e));else if("v"==g.g){f=new zC;U(b,7,f);f=S(b,zC,7);a:{h=g.getContent();switch(h){case "ca":h=1;break a;case "sc":h=2;break a}Dg(MP,
  "Unknown media content: "+h);h=void 0}Q(f,1,h);f=g.h&&tc(g.h);null!=f&&(g=S(b,zC,7),e=f.map(e.C,e),xl(g,3,e))}this.F=e=b.dj(c)}else this.F&&(e=this.F,c=S(e,wC,5),Q(c,1,!0));e?d.add(e).then(this.l,this.l,this):this.l()},a.l,a)))},Qea=function(a){nt(a.j.onConnect.then(),function(){a.j.fb.then(function(b){a.u!==b&&(a.u=b,XP(a))})})};WP.prototype.l=function(){this.m=!1;this.s&&XP(this)};var ZP=function(a){a=void 0===a?!1:a;jM.call(this);this.m=a;this.g=new Set;this.h=new Uu(this);this.l=Wu(this.h);this.h.R(this.l,null);this.j=Wu(this.h);this.h.R(this.j,null)};t(ZP,jM);ZP.prototype.add=function(a,b){b=void 0===b?!0:b;if(null!=$P(this,a.g,a.getId(),a.Y()))return!1;this.g.add(a);b&&(a.F=this);this.O(new aQ("R",a));bQ(this,a.g);return!0};ZP.prototype.remove=function(a){return this.g.delete(a)?(a.F==this&&(a.F=null),this.O(new aQ("S",a)),bQ(this,a.g),!0):!1};
  var $P=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.g==b,h=null==c||f.getId()==c,l=null==d||a.m&&""===d||f.Y()==d;!l&&a.m&&""==f.Y()&&(Vb("Should never allow Source matching against empty participantId"),l=!0);if(g&&h&&l)return f}return null},bQ=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.g===b){a.h.R(c,e);return}a.h.R(c,null)}},aQ=function(a,b){W.call(this,a);this.source=b};t(aQ,W);var cQ=function(){jM.apply(this,arguments)};t(cQ,jM);var dQ=function(a,b,c){W.call(this,a);this.ha=b;this.om=c};t(dQ,W);var eQ=function(){cQ.apply(this,arguments)};t(eQ,cQ);var fQ=function(a){W.call(this,"Z");this.kb=a};t(fQ,W);var gQ=function(a){W.call(this,"$");this.sessionId=a};t(gQ,W);var hQ=function(a){W.call(this,"V");this.id=a};t(hQ,W);var iQ=function(a){W.call(this,"W");this.g=a};t(iQ,W);var jQ=function(a,b,c){c=void 0===c?null:c;W.call(this,"ea");this.wn=a;this.lq=b;this.sessionId=c};t(jQ,W);var kQ=function(){W.call(this,"aa")};t(kQ,W);var lQ=function(a,b){W.call(this,"Y");this.g=a;this.sessionId=b};t(lQ,W);
  var mQ=function(a){W.call(this,"X");this.sessionId=a};t(mQ,W);var nQ=function(a,b,c,d){d=void 0===d?1:d;jM.call(this);this.u=a;this.D=b;this.h=c;this.l=d};t(nQ,jM);nQ.prototype.Y=function(){return this.u};nQ.prototype.Da=function(){return this.D};nQ.prototype.getState=function(){return this.l};var oQ=function(a,b){b!=a.l&&(a.l=b,a.O("fa"))};nQ.prototype.getInfo=function(){return this.h};var Rea={VF:"INITIAL",vM:"STARTING",uM:"STARTED",bG:"INPROGRESS",PAUSED:"PAUSED",STOPPED:"STOPPED",FINISHED:"FINISHED"},pQ=function(a,b,c){W.call(this,"ga");this.state=a;this.Ob=b;this.g=c};t(pQ,W);var qQ=function(a){this.h=NK(a,GM,!0)};qQ.prototype.logImpression=function(a,b){this.h.then(function(c){return c.logImpression(a,b)})};qQ.prototype.g=function(a,b){this.h.then(function(c){return c.g(a,b)})};var rQ=Date.now,sQ=performance&&performance.timeOrigin&&performance.now?function(){return Math.floor(performance.timeOrigin+performance.now())}:Date.now,tQ=function(a){this.g=a},Y=function(){return new tQ(rQ!=Date.now?Date.now():sQ())},uQ=function(a,b){return new tQ(a.g+b)},vQ=function(a,b){return a.g-b.g};tQ.prototype.toString=function(){return this.g+"ms"};var wQ=new tQ(-Infinity),xQ=new tQ(Infinity);var yQ=function(a){this.g=new Map;this.h=new Set((void 0===a?null:a)||[])},zQ=function(a,b,c){c=void 0===c?Y().g:c;!a.g.has(b)&&0<c&&a.g.set(b,c)},AQ=function(a){var b=[];a.g.forEach(function(c,d){return b.push(bK(aK(new $J,d),c))});return eK(dK(b),Array.from(a.h))};var BQ={eQ:!0},CQ=function(){throw Error("Do not instantiate directly");};CQ.prototype.On=null;CQ.prototype.getContent=function(){return this.content};CQ.prototype.toString=function(){return this.content};var DQ=function(){CQ.call(this)};w(DQ,CQ);DQ.prototype.Pn=BQ;var Sea=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.On=d);return c}}(DQ),Tea={"\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;"},Uea=function(a){return Tea[a]},Vea=/[\x00\x22\x27\x3c\x3e]/g,Wea=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,
  Xea=/</g;var Yea=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i;var Zea=function(){var a=EQ;a.g=document.createElement("div");document.body.appendChild(a.g);FQ(a)},FQ=function(a){if(a.g&&(a.l||a.C||a.m)){if("realtimeDevtoolsDevtoolsecoBadge".Pn===BQ){var b="realtimeDevtoolsDevtoolsecoBadge".getContent();b=String(b).replace(Wea,"").replace(Xea,"&lt;");b=String(b).replace(Vea,Uea)}else b=Je("realtimeDevtoolsDevtoolsecoBadge");var c=Sea('<div class="'+b+'"><div>ECO MODE</div><div>TESTING ONLY</div></div>');b=Of(Ef(),"DIV");if(Pa(c))if(c instanceof CQ){if(c.Pn!==
  BQ)throw Error("Sanitized content was not of kind HTML.");c=Be(c.toString(),c.On||null)}else Vb("Soy template output is unsafe for use as HTML: "+c),c=Ce("zSoyz");else c=Ce(String(c));c.ud().match(Yea);Ge(b,c);1==b.childNodes.length&&(c=b.firstChild,1==c.nodeType&&(b=c));a.g.appendChild(b)}},EQ=new function(){if(window&&window.location&&window.location.href){var a=(new ir(window.location.href)).h;if(Br(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 Bf(b,c);break a}b=void 0}this.C=b}}Br(a,"max_send_fps")&&(b=Number(a.get("max_send_fps")),isNaN(b)||(this.l=b));Br(a,"present_mute_camera")&&(this.m=!0);Br(a,"disable_webrtc_cpu_based_adaptation")&&(this.h=!0);Br(a,"force_lens_vip")&&(this.j=a.get("force_lens_vip"));Br(a,"periodic_dtls_handovers")&&(this.s=a.get("periodic_dtls_handovers"))}FQ(this)};var GQ=function(){this.o=zg("realtime.diagnostics.DiagnosticDataService");this.j=new Map;this.g=new Map;this.h=new Map},IQ=function(a,b,c){var d=GQ.Qb(),e;for(e in b){var f=HQ(d,e,b[e],c);Cs(a,f)}},HQ=function(a,b,c,d){d=void 0===d?!0:d;a.g.has(b)&&(Dg(a.o,"Already registered a diagnostics data callback for key '"+b+"'."),b=JQ(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()))}};
  GQ.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};GQ.prototype.reset=function(){this.j.clear();this.g.clear();this.h.clear()};var JQ=function(a,b){for(var c=0;a.g.has(b+"("+c+")");)c++;return b+"("+c+")"};Ma(GQ);var KQ=function(a,b){this.g=a;this.values=b;Tb(a.length===b.length+1,"unexpected template strings count")};KQ.prototype.La=function(){return this.values};KQ.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 LQ=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 KQ?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 KQ(d,e)};var MQ=function(){};MQ.prototype.Ed=function(a){var b=zg(a.name),c=a.message.toString();a.context&&(c="["+a.context.toString()+"] "+c);Bg(b,$ea(a.level),c,a.error)};function $ea(a){switch(a){case 0:return mg;case 1:return kg;case 2:return jg;case 3:return ig;default:return mg}};function afa(a){a=a.split(":").filter(function(b){return 0<b.length});if(2===a.length)return{prefix:a[0],level:Number(a[1])}}function bfa(){return cea().split(",").map(afa).filter(function(a){return void 0!==a})}var NQ=function(){this.g=bfa()},cfa=function(a,b){return a.g.some(function(c){return b.name.startsWith(c.prefix)&&b.level>=c.level})};NQ.prototype.Ed=function(a){if(cfa(this,a)){var b=[a.name,a.sessionId,a.context,a.message.toString(),a.error].filter(function(c){return null!=c});Ub(dfa.get(a.level))(b)}};
  var dfa=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 OQ=function(){var a=this;this.h=new Set;this.g=[];setTimeout(function(){a.g=null},5E3)},efa=m(["",""]),QQ=function(a){var b=PQ;if(null!==b.g)b.g.forEach(function(d){return a.Ed(d)});else if(null===b.g){var c={level:2,message:LQ(efa,"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.Ed(c)}b.h.add(a)};OQ.prototype.Ed=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.Ed(a)}catch(d){setTimeout(function(){throw d;},0)}}};var PQ,RQ=function(){PQ||(PQ=new OQ,QQ(new MQ),bea.promise.then(function(){var a=new NQ;0<a.g.length&&QQ(a)}));return PQ};var SQ=function(a,b){b=void 0===b?RQ():b;this.s=a;this.C=b;this.m=this.u=this.h=this.l=this.j=null},TQ=function(a){a.h=null;a.u=null;a.m=null},UQ=function(a,b){a.h=b;return a},VQ=function(a,b){a.m=Zf(b);return a};SQ.prototype.g=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];WQ(this,0,a,c)};SQ.prototype.info=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];WQ(this,1,a,c)};
  SQ.prototype.L=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];WQ(this,2,a,c)};SQ.prototype.pa=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];WQ(this,3,a,c)};
  var ffa=m(["CONTEXT FAILED"]),gfa=m(["An error occurred generating context for log entry"]),WQ=function(a,b,c,d){var e=a.s,f=a.h||a.j,g=a.u||a.l,h=a.m;c=new KQ(c,d);TQ(a);d=Y().g;var l=null;if(f)try{f(function(q,r){for(var y=[],D=1;D<arguments.length;++D)y[D-1]=arguments[D];l=new KQ(q,y)})}catch(q){l=LQ(ffa),hfa(a,d,g,LQ(gfa),q)}a.C.Ed({name:e,level:b,timestamp:d,sessionId:g,message:c,context:l,error:h})},hfa=function(a,b,c,d,e){a.C.Ed({name:a.s,level:2,timestamp:b,sessionId:c,message:d,context:null,
  error:e})},XQ=function(a){var b=new SQ(a.s,a.C);b.j=a.h||a.j;b.l=a.u||a.l;TQ(a);return b};var YQ=function(a,b){this.o=zg("realtime.media.apiary.Client");this.h=a;this.g=b};
  YQ.prototype.makeRequest=function(a,b,c,d,e,f){var g=this,h=void 0===d?{}:d;d=h.vm;h=h.ox;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(l){if(null==l)throw new ZQ("Got empty response.");if(void 0!==l.getResponseHeader){var q=l.getResponseHeader();if(null==q)throw new ZQ("Missing response header.");q=q.Ja();if(1!=q)throw new ZQ("Got bad status in response header.",q);}return l},function(l){Dg(g.o,"Failed to "+a+" "+b+": "+l);throw l;})};
  var $Q=function(a,b,c){return new YQ(a,c)},ZQ=function(a,b){b=void 0===b?0:b;Pb.call(this,a+" (status: "+b+")");this.desc=a;this.status=b;this.name="ClientError"};t(ZQ,Pb);function aR(a){(a=void 0===a?"":a)&&(a+="_");return a+Ne()};var ifa=function(a,b){this.o=zg("realtime.media.a.MediaSessionsLogClient");this.h=ON(a);this.g=$Q(a.h,0,function(){return TN(a,b)})},cR=function(a,b,c){b=bR(a,b,c);return ot(a.g.makeRequest("media_sessions/callperf",b,GH,void 0,{wa:FH.prototype.ky,ti:Haa}),function(d){Dg(a.o,"Failed to upload log data: "+d);throw d;})},bR=function(a,b,c){b=El(b);Q(b,13,a.h);var d=new FH;d.setRequestHeader(a.g.g());c&&Q(d,2,c);U(d,3,b);return d},dR=function(a,b){return new ifa(a,b||aR(ON(a)))};var eR=new rK("boklXe","T6U9J");var fR=new Bf(320,180),gR=new Bf(640,360),hR=new Bf(1280,720);var iR={host:"LOCAL",srflx:"STUN",relay:"RELAY",prflx:"PEER_REFLEX"};var jR=function(a,b){this.g=a;this.h=b};da.Object.defineProperties(jR.prototype,{key:{configurable:!0,enumerable:!0,get:function(){return this.g}},value:{configurable:!0,enumerable:!0,get:function(){return this.h}}});var kR=function(a,b,c,d){this.j=a;this.g=b;this.h=c;this.l=d};da.Object.defineProperties(kR.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 lR=function(a,b){this.l=a;"string"===typeof b?(this.g=b,"m"===a?(a=b.split(" "),this.j=new kR(a[0],a[1],a[2],a.slice(3))):"a"===a&&(a=Oe(b,":",1),b=a[0],this.h=1===a.length?new jR(b,null):new jR(b,a[1]))):b instanceof kR?(this.j=b,this.g=b.j+" "+b.g+" "+b.h+" "+b.l.join(" ")):b instanceof jR&&(this.h=b,this.g=b.h?b.g+":"+b.h:b.g)};lR.prototype.toString=function(){return this.xh+"="+this.value};var mR=function(a){a=Oe(a,"=",1);return new lR(a[0],a[1])};
  da.Object.defineProperties(lR.prototype,{xh:{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 nR=function(a){this.h=a;this.g=new Map;jfa(this)},jfa=function(a){var b=new Map;a.h.forEach(function(c){if("a"===c.xh){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 oR(d,c," ",!1))})};nR.prototype.get=function(a){return this.g.get(a)||new oR(a,[]," ",!0)};
  var oR=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},kfa=function(a,b){return a.h?a:b};oR.prototype.forEach=function(a){pR(this);this.j.forEach(a)};oR.prototype.get=function(a){pR(this);return this.j.get(a)||new oR(a,[],":",!0)};var pR=function(a){if(null===a.j){var b=new Map;a.l.forEach(function(c){c=Oe(c,a.F,1);var d=c[0],e=b.get(d)||[];b.set(d,[].concat(p(e),[c[1]||""]))});a.j=lfa(b);a.C=Array.from(a.j.keys())}};
  da.Object.defineProperties(oR.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(){pR(this);return this.C}}});function lfa(a){var b=new Map;a.forEach(function(c,d){b.set(d,new oR(d,c))});return b};var qR=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},rR=function(a,b){b=new nR(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;mfa(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;nfa(a,b,a.g);a.h=b.get("rid").keys;
  if(c=b.get("simulcast").g)if(d=n(Oe(c.trim()," ",1)),c=d.next().value,d=d.next().value,"send"===c&&d&&(c=n(Oe(d,"=",1)),c.next(),c=c.next().value))a.j=c.split(";");ofa(a,b,a.g);pfa(a,b,a.g);qfa(a,b)}},mfa=function(a,b){b.get("crypto").forEach(function(c,d){var e=n(Oe(c.g," ",2));c=e.next().value;var f=e.next().value;e=e.next().value;var g=new TO;g.l=parseInt(d,10);g.j=c;g.g=f;g.h=e||"";d=g.ja();a.H.push(d)})},nfa=function(a,b,c){b.get("extmap").forEach(function(d,e){d=d.g;e=n(Oe(e,"/",2));var f=e.next().value;
  e.next();a.V.push(new VO(parseInt(f,10),d,c))})},ofa=function(a,b,c){var d=new Map;b.get("fmtp").forEach(function(e,f){var g={};e.g.split(";").forEach(function(h){h=Oe(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=QO(PO(c),f).Sf(h);h.h=e;h.g=g;e=d.get(f)||{};h.j=LO(e);e=h.ja();d.delete(f);a.s.push(e)})},pfa=function(a,b,c){var d=b.get("msid"),
  e=a.N,f=new Set;b.get("ssrc").forEach(function(h,l){l=parseInt(l,10);var q=h.get("cname").g;h=kfa(h.get("msid"),d);f.add(l);if(h.h){h=n(Oe(h.g," ",1));var r=h.next().value,y=h.next().value;h=e.get(r);h||(h=new tO,CO(BO(xO(AO(uO(h,c),r),y),y),a.l),e.set(r,h));q&&wO(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=jO(new iO,q).ja(),EO(h,q));h.h.push(l)}});b=b.get("ssrc-group").m.map(function(h){var l=h.split(" ");h=l[0];l=l.slice(1).map(function(q){return parseInt(q,
  10)});l.forEach(function(q){return f.has(q)});return new kO(h,l)});var g=new Map;b.forEach(function(h){h.Pa().forEach(function(l){return g.set(l,[].concat(p(g.get(l)||[]),[h]))})});e.forEach(function(h){var l=new Set;h.Pa().forEach(function(q){(g.get(q)||[]).forEach(function(r){return l.add(r)})});FO(h,Array.from(l))})},qfa=function(a,b){var c=YO(new XO,1024).Sf("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=YO(c.Aj(f).Sf(e),g),d=!0)});b.get("sctp-port").forEach(function(e,f){c=c.Aj(parseInt(f,10));d=!0});d&&(a.F=c.ja())},sR=function(a,b){var c=b.g||new AP("ICE","","");if(a.m&&a.C){var d=a.m;c=c.ka();c.j=d;d=a.C;c=c.ka();c.h=d}a.u&&(d=a.u,c=c.ka(),c.g=d);a.D&&(c=BP(c,a.D));b=JP(IP(b,c),[].concat(p(tc(b.h)),p(a.H)));if(a.g)switch(c=a.g,a=rfa(a,c),c){case "a":b=GP(b,a);break;case "v":b=DP(b,a);break;case "d":b=HP(b,a)}return b},rfa=function(a,b){var c=Array.from(a.N.values()).map(function(d){return d.ja()});
  b=sP(pP(wea(uP(new jP(b,a.s,a.V),a.K),a.G),a.s),c);a.l&&(b=tP(b,a.l));a.F&&(b=qP(b,a.F));return b};var tR=function(a){this.u=a;this.s=a[0];this.m=this.h=null};
  da.Object.defineProperties(tR.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}},th:{configurable:!0,enumerable:!0,
  get:function(){return"sendrecv"===this.j||"sendonly"===this.j}},Sk:{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 nR(this.C));return this.m}}});var sfa=function(a){this.sessionId=a};var uR=function(a){this.g=a;this.sessionId=a.filter(function(b){return"o"===b.xh}).map(function(b){return(new sfa(b.value.split(" ")[1])).sessionId})[0]};var vR=function(a,b){this.g=a;this.h=b},wR=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.xh+"="+b.value}).join("\r\n")+"\r\n"},xR=function(a){function b(){c?d.push(new tR(e)):c=new uR(e)}var c=null,d=[],e=[];a.split(/\r?\n/).forEach(function(f){Jc(f)||(f=mR(f),"m"===f.xh&&(b(),e=[]),e.push(f))});b();return new vR(c,d)};
  da.Object.defineProperties(vR.prototype,{session:{configurable:!0,enumerable:!0,get:function(){return this.g}},media:{configurable:!0,enumerable:!0,get:function(){return this.h}}});function tfa(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=iR[a[7]],l;a.forEach(function(D,A){"generation"===D&&(l=A+1)});switch(h){case "STUN":case "RELAY":case "PEER_REFLEX":var q=a[9];var r=parseInt(a[11],10)}var y=0;l&&(y=parseInt(a[l],10));return new JO(c,e,h,d,f,g,b,y,"",q,r)}
  function yR(a){var b="string"===typeof a?xR(a):a;a=new CP;var c=new qR(null);rR(c,b.session.g);a=sR(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=zR("a",c,a);a=zR("v",d,a);return a=zR("d",b,a)}function zR(a,b,c){var d=new qR(a);b.forEach(function(e){return rR(d,e.C)});return sR(d,c)};var AR=function(a,b,c){V.call(this);this.g=a;this.l=b||0;this.h=c;this.j=Xa(this.Iv,this)};w(AR,V);k=AR.prototype;k.Wa=0;k.ba=function(){AR.Jb.ba.call(this);this.stop();delete this.g;delete this.h};k.start=function(a){this.stop();this.Wa=tx(this.j,void 0!==a?a:this.l)};k.stop=function(){0!=this.Wa&&ux(this.Wa);this.Wa=0};k.Iv=function(){this.Wa=0;this.g&&this.g.call(this.h)};function ufa(){var a=new eC;Q(a,2,3);var b=new fC;U(a,3,b);return a};var CR=function(a){W.call(this,BR);this.message=a};t(CR,W);var BR=new Dw("ha");var DR=function(){var a=Error.apply(this,arguments);this.message=a.message;"stack"in a&&(this.stack=a.stack)};t(DR,Error);function ER(a){if(1>a.length||!a[0])throw new DR("Received null session proto");return a[0]};var vfa=m(["sessionId=",""]),FR=function(a,b,c){var d=c.fA;c=c.rA;jM.call(this);var e=this;this.o=UQ(new SQ("realtime.media.session.MediaSessionSyncer"),function(f){return f(vfa,e.s)});this.D=a;this.m=b;this.N=d;this.X=c;this.l=new tL(this);this.T(this.l);this.G=new NP;this.s=this.g=null;this.h=-1;this.j=null};t(FR,jM);
  var wfa=m(["starting sync"]),xfa=m(["stopping sync"]),HR=function(a){a.o.info(xfa);GR(a);yL(a.l,a.m,"o",a.u);a.g=null},yfa=m(["resync requested"]),JR=function(a){null!=a.g&&(a.o.info(yfa),GR(a),IR(a))};FR.prototype.ba=function(){HR(this);jM.prototype.ba.call(this)};
  var zfa=m(["sending session query"]),IR=function(a){a.o.info(zfa);var b=null;a.X&&-1!==a.h&&(b=a.h);a.D.query(a.g,b).then(a.K,a.H,a)},Afa=m(["scheduling session query"]),KR=function(a){GR(a);a.o.info(Afa);a.j=tx(function(){a.j=null;IR(a)},a.N)},GR=function(a){null!=a.j&&(ux(a.j),a.j=null)},MR=function(a,b){b=QP(a.G,b);a.O(new LR(b))},Bfa=m(["session query returned version ",", have ",""]);
  FR.prototype.K=function(a){var b=a.session;a=a.version;null!=this.g&&(this.o.info(Bfa,a,this.h),a>this.h&&(this.h=a,MR(this,b)),KR(this))};var Cfa=m(["session query returned error, stopping sync"]),Dfa=m(["ignoring session query error"]);FR.prototype.H=function(a){if(null!=this.g){var b=a instanceof ZQ?a:new ZQ(""+a);switch(b.status){case 4:case 5:case 7:case 11:VQ(this.o,a).pa(Cfa);HR(this);this.O(new NR(b.status,b.desc));break;default:VQ(this.o,a).L(Dfa),KR(this)}}};
  var Efa=m(["not syncing, ignoring session push"]),Ffa=m(["removed by session push"]),Gfa=m(["session push with no version, have ",""]),Hfa=m(["session push provided version ",", have ",""]),Ifa=m(["modified by session push"]),Jfa=m(["resync requested by session push"]);
  FR.prototype.u=function(a){var b=this;if(null!=this.g)if(a=a.notification,a.Ac().some(function(e){return e.l()==b.g}))this.o.info(Ffa),HR(this),this.O(new NR(11,"session removed"));else{var c=a.W();c=c&&c.tb();if(void 0===c)this.o.info(Gfa,this.h);else if(this.o.info(Hfa,c,this.h),!(c<=this.h)){var d=a.Ab().find(function(e){return e.u()==b.g});null!=d&&(this.o.info(Ifa),this.h=c,MR(this,d));M(a,4)&&a.Gb().l()==this.g&&(this.o.info(Jfa),JR(this))}}else this.o.info(Efa)};
  var OR=new Dw("ia"),PR=new Dw("ja"),NR=function(a,b){W.call(this,OR);this.status=a;this.message=b};t(NR,W);var LR=function(a){W.call(this,PR);this.g=a};t(LR,W);var QR=function(a){this.m=a;this.h=this.g=this.j=null};QR.prototype.Eb=function(){return this.g};QR.prototype.Ka=function(){return this.h};QR.prototype.l=function(a){this.m&&Q(a,14,this.m);this.j&&Q(a,16,this.j);this.g&&Q(a,22,this.g);this.h&&Q(a,23,this.h)};QR.prototype.toString=function(){return"{ ParticipantLogId: "+(this.m||"")+", SyntheticId: "+(this.j||"")+", MeetingCode: "+(this.g||"")+", MeetingSpaceId: "+(this.h||"")+" }"};var RR=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};RR.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}};
  RR.prototype.ka=function(){var a=new RR;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 SR=function(){this.Hg=this.zm=this.Am=this.Ve=!0;this.qk=!1;this.nu=null;this.He=[];this.yf=this.Ge=!1;this.ek=null;this.Rf=!0;this.Co=[{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.bA=!0;this.bh=new RR;this.Dr=!0;this.Xl=this.lg=this.mj=this.Wj=this.yn=!1;this.Zt=void 0;this.Xh=!1;this.Bm=this.pA=this.Er=!0;this.Fd=null;this.vh=void 0;this.Vk=1E4;this.Dg=!1;this.Gr=
  !0;this.Ae=this.Ee=null;this.oA=this.Vj=this.Uj=this.nA=!0;this.Si=!1;this.Yj=null;this.Pc=Vf?1:2;this.zj=!1;this.yg=1E3;this.zi=!0;this.zn=!1};
  SR.prototype.Ba=function(){return{useAudio:this.Ve,useVideo:this.Am,useData:this.zm,useVideoRtx:this.Hg,dumpRtpHeaders:this.qk,earlyMediaHangoutId:this.nu,defaultRequests:this.He,debugLogUploadAllowed:this.Ge,debugLogUploadForced:this.yf,clientResource:this.ek,useSimulcast:this.Rf,startMuted:this.bA,useConferenceMode:this.Dr,AudioDscp:this.Ee,VideoDscp:this.Ae,useVirtualAudioSSRCs:this.Gr,allowH264:this.yn,allowVp9:this.Wj,sendVp9:this.mj,forceVp9:this.lg,useAdaptiveLayering_:this.Xh,useWebrtcCpuAdaptation:this.Bm,
  useBackendLoudestSpeaker:this.nA,bandwidthConstraints:this.Fd,jmiIntervalMs:this.vh,jmiUploadIntervalMs:this.Vk,shouldHistogramData:this.Dg,allowOnlyRequestedVideo:this.Vj,isTestCall:this.Si,audioProcessorConfig:this.Yj,audioLevelMode:this.Pc,usePassiveListener:this.zj,passiveModeDelayMillis:this.yg,excludeSelfStreams:this.zi,allowSinglecast:this.zn}};SR.prototype.ka=function(){var a=new SR,b;for(b in this)a[b]=this[b];return a};
  var TR=function(a){a=a.ka();a.Ve=!1;return a},Kfa=function(a){a=a.ka();a.Hg=!1;return a};SR.prototype.Dk=function(){return this.Gr};SR.prototype.ng=function(){return this.qk};var UR=function(a,b){if(a.Ge&&a.yf)return a;a=a.ka();a.Ge=b;return a},VR=function(a){a=a.ka();a.yf=!0;return a};SR.prototype.Me=function(){return this.He};SR.prototype.Jg=function(a){var b=this.ka();b.He=a;return b};SR.prototype.lc=function(){return this.ek};
  var WR=function(a){a=a.ka();a.Er=!1;return a},YR=function(a,b){a=a.ka();a.bh=b;return a};SR.prototype.uk=function(){return this.yn};SR.prototype.mg=function(){return this.Wj};var ZR=function(a,b){a=a.ka();a.Ee=b;return a},$R=function(a,b){a=a.ka();a.Ae=b;return a};k=SR.prototype;k.Km=function(a){var b=this.ka();b.Fd=a;return b};k.Cf=function(){return this.Fd};k.nh=function(){return this.vh};k.oh=function(){return this.Vk};k.qh=function(){return this.Dg};k.Ei=function(){return this.Yj};var aS=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=BN(xN("DmKtxe"),1)};t(aS,V);
  var cS=function(a,b,c){var d=a.l;if(null==d)return dt(Error("Cannot upload LogData without a sessionId."));if(!a.g)return dt(Error("Cannot upload LogData without hangout data."));null!=a.h&&Q(b,1,a.h);bS(a,b);Q(b,2,a.g.fb);Q(b,3,a.g.ha);a.g.be.l(b);Q(b,21,c);return a.s(b,d)},Lfa=function(a,b,c){dS(a,c,b)},Mfa=function(a,b,c,d,e,f){return dS(a,c,e,b,d,f,!0)},dS=function(a,b,c,d,e,f,g){g=void 0===g?!1:g;var h=a.l;if(null==h)return dt(Error("Cannot upload LogData without a sessionId."));if(!a.g)return dt(Error("Cannot upload LogData without hangout data."));
  if(null==c&&null==d)return dt("Nothing to upload");null!=c&&a.j.push(c);if(!g&&a.j.length!=a.u)return ct();c=a.g;g=c.Ut;var l=c.Vt;c=new QF;Q(c,2,(new Date(l)).toString());AN(xN("xKXfOb"),!1)?Q(c,133,l):Q(c,133,g.g);l=-2;g&&(g=vQ(Y(),g),l=Math.round(g/1E3));Q(c,3,l);Q(c,1,h);null!=d&&Q(c,29,d);null!=e&&Q(c,30,e);null==f||Jc(Me(f))||Q(c,100,f);xl(c,5,a.j);a.j=[];d=new EH;U(d,4,c);Q(d,2,a.g.fb);null!=a.g.ha&&(Q(d,3,a.g.ha),Q(d,24,a.g.ha));null!=a.h&&Q(d,1,a.h);bS(a,d);a.g.be.l(d);Q(d,21,b);return a.s(d,
  h)},bS=function(a,b){Q(b,11,a.m.g.slice()||[]);Q(b,12,a.m.h);Q(b,18,a.m.j)};var eS=function(a,b,c){var d=a.g;nQ.call(this,d.Y(),d.getId(),b,c);this.g=a};t(eS,nQ);var fS=function(a,b,c,d,e,f){jM.call(this);this.Z=a;this.H=b;this.D=c;this.K=d;this.G=e;this.X=f;this.N=[];this.j=this.g=this.h=null;this.u=new tL(this);this.T(this.u);this.m=new tL(this);this.T(this.m);this.l=new tL(this);this.T(this.l);this.s=new tL(this);this.T(this.s);this.fg(new jQ([],[]))};t(fS,jM);fS.prototype.Y=function(){return this.Z};
  var gS=function(a,b){a.g===b?!a.g&&a.h&&a.m.listen(a.h,"R",a.fg):(a.g&&yL(a.l,a.g,["J","H","I","K"]),(a.g=b)?(a.l.listen(b,"J",a.yx),a.l.listen(b,["H","I","K"],a.Yx),a.s.listen(a.G,"ea",a.fg)):a.s.removeAll(),a.O("ka"),a.h&&a.m.listen(a.h,null!==b?"S":"R",a.fg))};k=fS.prototype;k.ta=function(){return this.j};k.release=function(a){oc(this.N,a)&&this.O("la")};
  k.fg=function(a){var b=this.K.Gf(this.Y());this.h&&this.h===b||(this.u.removeAll(),this.h&&yL(this.m,this.h,["S","R"]),this.h=b,this.u.listen(this.K,null!==b?"U":"T",this.fg));if(null==this.h)gS(this,null);else{b=Array.from(this.h.g);for(var c=this.g,d=null,e=0;e<b.length&&(this.X!=b[e].g||null!=this.D&&this.D!=b[e].getContent()||null!=this.H&&this.H!=b[e].getId()||(d=b[e],d!=c));e++);gS(this,d)}b=this.g;null!=b?(a=this.G.ta(b,a instanceof jQ?a.sessionId:void 0),this.j!=a&&(this.j=a,this.O("la")),
  a instanceof eS&&gS(this,a.g.g)):null!=this.j&&(this.j=null,this.O("la"))};k.Yx=function(a){this.O(a)};k.yx=function(a){this.fg(a);this.O("ma")};var hS=function(a,b,c,d,e){fS.call(this,a,b,c,d,e,"a")};t(hS,fS);hS.prototype.matches=function(a,b,c){b=void 0===b?null:b;c=void 0===c?null:c;return this.Y()==a&&(this.g&&this.g.getId())==b&&(this.g&&this.g.getContent())==c};var iS=function(a,b){jM.call(this);this.o=new SQ("realtime.media.rendering.ParticipantRenderableManager");this.j=a;this.h=b;this.g=new tL(this);this.T(this.g)};t(iS,jM);var jS=function(a,b,c){V.call(this);var d=this;this.u=a;this.F=b;this.o=new SQ("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(jS,V);
  var Nfa=m(["Connecting Bulk Join Handler for ",""]),Ofa=m(["Disconnecting Bulk Join Handler for ",""]),Pfa=m(["Set sessionId ",""]),Rfa=function(a,b){if(!a.g){a.o.info(Nfa,b);var c=a.u.attach(function(d){return Qfa(a,d)},a);a.s.finally(function(){a.o.info(Ofa,b);a.u.detach(c)})}a.o.info(Pfa,b);a.g=b},Sfa=m(["Ignoring bulk join request for "," since we already are handling one."]),Tfa=m(["Adding session "," to bulk join for ",""]),Ufa=m(["Failed to get down streams!"]),Vfa=m(["Appending "," MediaStreamAdds to bulk join for ",
  ""]),Wfa=m(["Failed to get down streams!"]),Xfa=m(["We bulk joined a different hangoutId! Session had "," and bulk join was for ",""]),Yfa=m(["Bulk join complete. UpStreams: ",". DownStreams: ","."]),Qfa=function(a,b){var c=b.oP,d=b.cP,e,f,g,h,l,q,r;return Da(function(y){switch(y.g){case 1:e=Tda(c);if(!e)return y.return();f=e;if(a.j)return a.o.L(Sfa,f),y.return();a.o.info(Tfa,a.g,f);a.j=!0;g=d(lD(new jD,gD(iD(hD(new fD,a.g),f),1))).then(kS).catch(function(D){VQ(a.o,lS(D)).pa(Ufa)});h=new Promise(function(D){a.o.info(Vfa,
  a.h.length,f);a.h.length?D(Zfa(a,d,f)):D(d(lD(new jD,gD(iD(hD(new fD,a.g),f),2))).then(kS).catch(function(A){VQ(a.o,lS(A)).pa(Wfa)}))});return u(y,a.l,2);case 2:return l=y.h,f!==l?u(y,h,7):u(y,h,5);case 5:return q=y.h,u(y,g,6);case 6:r={yr:q,Vn:y.h};a.o.info(Yfa,mS(r.yr),mS(r.Vn));a.m(r);y.bb(0);break;case 7:a.o.pa(Xfa,l,f),a.m({}),y.g=0}})},$fa=m(["Failed to add streams! Pushing streams back ","."]),Zfa=function(a,b,c){var d=a.h.concat(),e=d.map(function(f){f=UP(a.F,a.g,c,f);Q(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,l;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=S(f,JD,3);if(!h||!eN(h))throw Error("Failed to add streams");l=dN(h);return q.return({version:l,data:T(h,LC,4)||[]})})}).catch(function(f){VQ(a.o,lS(f)).pa($fa,d.length);a.h.unshift.apply(a.h,p(d))})},aga=m(["Set hangout id: ",""]),bga=m(["Bulk never occurred before session finalization."]),cga=function(a){return Da(function(b){a.j||
  (a.o.info(bga),a.j=!0,a.m({}));return b.return(a.s)})},kS=function(a){a=S(a,LD,4);if(!a)throw Error("Missing Search Response");if(!eN(a))throw Error("Early search failed");var b=dN(a);if(null!=b)return{version:b,data:T(a,LC,2)||[]};throw Error("No version found!");},mS=function(a){return a?a.data.length+" items ("+a.version+")":"NONE"},lS=function(a){return a instanceof Error?a:Error(""+a)};var nS=function(){this.g=new Set},oS=function(a,b){a.g.add("function"===typeof b?{Jd:b}:b)};nS.prototype.Jd=function(a){for(var b=n(this.g),c=b.next();!c.done;c=b.next())c.value.Jd(a)};var pS=function(){jx.apply(this,arguments)};t(pS,jx);k=pS.prototype;k.Ba=function(){return{id:this.g,isInProgress:"INPROGRESS"==this.getState(),state:this.getState()}};k.pause=function(){};k.resume=function(){};k.ta=function(){throw Error("getStream not supported on RemoteSession");};k.lo=function(){return dt("Not implemented")};k.Jd=function(){};var qS=new Dw("pa"),rS=new Dw("qa"),sS=function(a,b,c){W.call(this,qS);this.Gc=tc(a);this.mc=tc(b);this.removed=tc(c)};t(sS,W);
  var tS=function(a){W.call(this,rS);this.g=tc(a)};t(tS,W);var uS=function(a){J(this,a,0,-1,null,null)};w(uS,I);var dga=function(a){a=[[1300,L(a,2)],[1301,L(a,3)],[1302,L(a,4)],[1303,L(a,5)],[1304,L(a,6)],[1305,L(a,7)],[1306,L(a,8)],[1307,L(a,9)],[1308,L(a,10)],[1309,L(a,11)],[1310,L(a,12)],[1311,L(a,13)]].map(function(b){var c=n(b);b=c.next().value;c=c.next().value;return bK(aK(new $J,b),c)});return dK(a)};var wS=function(){this.j=!1;this.g=this.h=null;this.media=new UF;vS.set(this.media,this)},vS=new WeakMap;var VP=new NP,ega=m(["sessionId=",""]),yS=function(a,b,c,d){var e=d.ru;d=d.Lc;pS.call(this);var f=this;this.o=zg("realtime.media.session.mesi.RemoteSession");this.m=UQ(new SQ("realtime.media.session.mesi.RemoteSession"),function(g){return g(ega,xS(f))});this.Ra=a;this.oa=b;this.lb=d;this.ya=this.l=this.Fa=this.g=null;this.zi=e;this.ea=new qQ(a);this.j=this.h=null;this.X=kt();this.ia=[];this.sa=new tL(this);this.T(this.sa);this.D=c;this.T(this.D);this.s="INITIAL";this.ra=new Set;this.G=[];this.Aa=
  [];this.K=new Map;this.u=new Map;this.N=new Map;this.ca=new Map;this.Oa=new Map;this.Za=new Map;this.Ga=kt();this.Z=kt();this.Ia=new Set;this.ub=NK(a,FM);this.H=new jS(this.oa.h.N,VP,this.G);this.T(this.H);IQ(this,{mediaSessionStartTime:function(){return(new Date(f.eb)).toString()},mediaUpStreams:function(){return f.h&&f.h.Ba()},mediaDownStreams:function(){return f.j&&f.j.Ba()}})};t(yS,pS);
  var fga=m(["state changed "," -> ",""]),zS=function(a,b,c,d){a.s!=b&&(a.m.info(fga,a.s,b),a.s=b,a.O(new pQ(b,c,d)))};yS.prototype.getState=function(){return this.s};yS.prototype.lo=function(){return this.X.promise.then(function(a){return IL(a)})};
  var hga=function(a,b,c,d){null!=a.h?Cg(a.o,"Local streams collection already initiated"):(a.h=dO(a.Ra,a.oa,[c,2,b],bO,EM,"q","MediaUpStream"),a.T(a.h),a.h.Z.attach(function(e){var f=e.Ob;a.m.pa(AS,e.reason);a.stop(f)},a),a.h.start(void 0,d),a.h.onChange.attach(function(e){return gga(a,e.Gc,e.mc,e.removed)},a))},kga=function(a){null!=a.j?Cg(a.o,"Remote streams collection already initiated"):(a.j=dO(a.Ra,a.oa,["",1,""],bO,EM,"q","MediaDownStream"),a.T(a.j),a.j.Z.attach(function(b){var c=b.Ob;a.m.pa(AS,
  b.reason);a.stop(c)},a),a.j.Dc.attach(function(b){Fg(a.o,"Received early streams push notification with "+b.Pf.length+" modified streams")},a),a.X.resolve(a.j),CL(a.j),a.j.onChange.attach(function(b){var c=b.Gc,d=b.mc;b=b.removed;0<c.length&&BS(a,c);0<d.length&&iga(a,d);0<b.length&&jga(a,b)},a))},lga=m(["Stopping due to down stream search failure: ",""]),nga=function(a,b,c,d){b=FL(a.j.l).Cl(b).Bl(c);ot(a.j.start(b,d),function(e){a.m.pa(lga,e);a.ea.logImpression(3950,{sessionId:a.g||void 0});a.stop(16,
  "Down stream search failure: "+e)});mga(a)},mga=function(a){null==a.ra?Dg(a.o,"Attempting to install collection filters with null participants. setParticipants() must be called prior to this call!"):Dda(a.j,function(b){return a.ra.has(b.Y()||"")})},oga=function(a){if("INITIAL"!=a.s)return!1;kga(a);zS(a,"STARTING");return!0};yS.prototype.start=function(a){var b=this;CS(this,a);zS(this,"STARTED");this.Ga.promise.then(function(){pga(b)});return!0};var qga=m(["Connecting to Hangout: ",""]);
  yS.prototype.ni=function(a,b){this.m.info(qga,a);switch(this.s){case "INITIAL":Dg(this.o,"Connect to hangout called before starting.");return;case "STOPPED":case "FINISHED":Dg(this.o,"Connect to hangout called after end.");return}null!=this.l?Cg(this.o,"Multiple hangouts per RemoteSession not yet supported."):(this.l=a,this.ya=b,this.eb=Y().g,a=this.H,b=this.l,a.o.info(aga,b),a.D(b),this.Ga.resolve())};
  var rga=m(["Finished connecting to Hangout: "," with participantId: "," and participantLogId: ",""]),pga=function(a){var b;Da(function(c){if(1==c.g)return a.m.info(rga,a.l,a.ya,a.lb),u(c,cga(a.H),2);b=c.h;hga(a,a.g,a.l,b.yr);DS(a,a.g,a.l,a.G);kc(a.G);nga(a,a.g,a.l,b.Vn);0<a.Aa.length&&(BS(a,a.Aa),kc(a.Aa));zS(a,"INPROGRESS");a.Z.resolve();ES(a);c.g=0})};yS.prototype.resume=function(){this.u=new Map};var sga=m(["Stopping with endCause: ",""]);
  yS.prototype.stop=function(a,b){this.m.info(sga,a);if("STOPPED"==this.s)return!1;Ds(this.D);null==this.g||"STARTING"!=this.s&&"INPROGRESS"!=this.s||(Ds(this.h),this.h=null,Ds(this.j),this.j=null,this.X.reject(a),this.X=kt());zS(this,"STOPPED",a,b);return!0};
  yS.prototype.Jd=function(a){var b=this;if(a=AG(a)){var c=new Set;a.forEach(function(d){var e=KG(d)[0]>>>0;switch(TG(d)){case 1:if(2===SG(d)){vS.get(d)||b.ea.g(6642);var f=Y(),g=L(d,10)||0,h=b.Oa.get(e)||{wr:0,Po:new tQ(0)},l=0<Math.max(g-h.wr,0);b.Oa.set(e,{wr:g,Po:l?f:h.Po});g=b.ca.get(e);if(null!=g){h=g.settings.width;var q=g.settings.height,r=g.settings.framerate,y=b.o;Q(d,114,h);Q(d,115,q);if(r){Q(d,159,Math.ceil(1E3/r));var D=L(d,65)||0;Q(d,65,30>r?D|65536:D&-65537)}Fg(y,"Set last request width="+
  h+", height="+q+(r?", fps="+r:"")+" for ssrc "+e+" in jmidata.");l=!FS(b,e).Nk||l;h=!!nl(d,59);if(g.Io!=l||g.sh!=h)g.Io=l,g.sh=h,g.Bf&&(g.Bf=f.g);if(q=vS.get(d))b.Za.get(e),g.Bf&&(q.j=l,q.g=f.g-g.Bf,h&&tga(b,q.h,L(d,138)||0))}}break;case 0:c.add(e)}})}};yS.prototype.ob=function(a){this.O(new iQ(a.g))};yS.prototype.pb=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 GS=function(a,b){var c;(c=a.h!=b.h||a.j!=b.j)||(a=a.Tc(),b=b.Tc(),c=null==a&&null==b?!1:null==a||null==b?!0:a.width!=b.width||a.height!=b.height);return c},tga=function(a,b,c){if(0<c&&b&&nl(b,14)){a.ea.logImpression(4577);var d=dga(b);eK(d,[25]);a.ub.then(function(e){HS(e,d)})}},uga=m(["Attempting to add local streams before we have a sessionId."]),vga=function(a,b){switch(a.s){case "INITIAL":case "STARTING":case "STARTED":a.G.push(b);return;case "STOPPED":case "FINISHED":Dg(a.o,"Add local streams called after end.");
  return}var c=a.g,d=a.l;null==c?a.m.pa(uga):null==d?a.G.push(b):DS(a,c,d,[b])},wga=m(["Ignore addLocalStream due to pending add for the same stream ",""]),xga=m(["Stopping due to addLocalStream failure: ",""]),DS=function(a,b,c,d){d.forEach(function(e){var f=UP(VP,b,c,e),g=bO.h(f);if(a.ia.some(function(l){return Dc(g,l)}))a.m.L(wga,e);else{var h=a.h.get().some(function(l){return jL(bO,f,l)});h||"d"==e.ga()||a.ia.push(g);h=h?ML(a.h,f):a.h.add(f);"d"!=e.ga()&&ot(h,function(l){a.m.pa(xga,l);a.ea.logImpression(3951,
  {sessionId:a.g||void 0});a.stop(16,"addLocalStream failure: "+l)})}})},IS=function(a,b){a.Z.promise.then(function(){var c=a.h.mb(b.g),d=RP(b.ga());Q(c,2,d);d=new QC;var e=b.Jc();Q(d,1,e);U(c,10,d);ML(a.h,c)})},yga=function(a,b){"a"==b.ga()&&a.Z.promise.then(function(){var c=a.h.mb(b.g),d=RP(b.ga());Q(c,2,d);d=new QC;Q(d,1,!0);U(c,10,d);ML(a.h,c)})},zga=m(["New session id: ",""]),CS=function(a,b){if(a.g!=b){a.m.info(zga,b||"{unset}");a.g=b;Rfa(a.H,b);a.sa.listen(a.D,PR,a.ob);a.sa.listen(a.D,OR,a.pb);
  var c=a.D;a=xS(a);c.g=b;c.s=void 0===a?b:a;c.o.info(wfa);c.l.listen(c.m,"o",c.u);IR(c)}},xS=function(a){if(null==a.g)return"{unset}";null==a.Fa&&(a.Fa=a.g.substring(0,6)+"{#"+(a.g.length-7)+"}"+a.g.substring(a.g.length-1));return a.Fa},Aga=m(["Attempting to signal screencast started, but no video stream found!"]),Bga=function(a){if(null!=a.h){var b=a.h.get().find(function(d){return 2==d.ga()});if(null==b)a.m.L(Aga);else{b=a.h.mb(b);Q(b,2,2);Q(b,11,!1);var c=new QC;Q(c,1,!1);U(b,10,c);ML(a.h,b)}}},
  Cga=m(["Attempting to signal screencast ended, but no video stream found!"]),JS=function(a){if(null!=a.h){var b=a.h.get().find(function(c){return 2==c.ga()});null==b?a.m.L(Cga):(b=a.h.mb(b),Q(b,2,2),Q(b,11,!0),ML(a.h,b))}};yS.prototype.wf=function(a){var b=this;this.K=new Map;a.forEach(function(c){var d=KS(c.Y(),c.Da());b.K.set(d,c)});ES(this)};
  var Dga=m(["Ignoring changed stream requests because we don't have a sessionId."]),Ega=m(["Ignoring changed stream requests because we don't have a hangoutId."]),ES=function(a){switch(a.s){case "INITIAL":case "STARTING":case "STOPPED":case "FINISHED":return}if(null==a.g)a.m.pa(Dga);else if(null==a.l)a.m.pa(Ega);else{var b=new Map,c=RP("v");a.j.get().forEach(function(e){if(e.ga()==c){var f=KS(e.Y(),e.Da());b.set(f,e)}});var d=[];a.K.forEach(function(e,f){if(b.has(f)){var g=a.u.get(f);if(!g||GS(g,e))a.u.set(f,
  e),d.push(LS(a,b.get(f),e))}else Eg(a.o,"Skipping stream request for "+e.Y()+" (no matching stream was found).")});a.u.forEach(function(e,f){if(!a.K.has(f)){var g=gP(vea(uea(new aP(e))),!1).ja();GS(e,g)&&(a.u.delete(f),(e=b.get(f))?d.push(LS(a,e,g)):Eg(a.o,"Unable to turn off stream request for "+f+" (no matching stream was found)."))}});Fga(a,d)}},Gga=m(["Sending stream request: "," with streamId: ",""]),LS=function(a,b,c){a.Ia.has(c.Y())&&(c=eP(new aP(c),"").ja());var d=c.Tc(),e=c.h;if(!d||0>=d.height||
  0>=d.width||!c.j)e=!1;var f=b.ej(),g=a.g,h=a.l,l=c,q=e;e=new LC;e.ij(f);e.fj(1);e.hj(g);e.gj(h);g=l.Y()||null;Q(e,6,g);g=RP(l.ga());Q(e,2,g);g=l.Da();Q(e,7,g);g=new HB;Q(g,2,q);q=l.Tc();null!=q&&(h=new qB,Q(h,1,q.height),Q(h,2,q.width),Q(h,3,l.j),U(g,3,h));U(e,9,g);a.m.info(Gga,c,f);b=S(b,NC,8);a.ea.logImpression(5149);U(e,8,b);d&&b&&L(b,1)&&(b=L(b,1)[0]>>>0,null!=b&&(f={width:d.width,height:d.height,framerate:c.j||void 0},(c=a.ca.get(b))?c.settings=f:(c={Bf:0,Io:!FS(a,b).Nk,sh:!1,settings:f},a.ca.set(b,
  c)),f=76800<f.width*f.height,!c.Bf&&f?c.Bf=Y().g:f||(c.Bf=0),Fg(a.o,"Building map: last request width/height "+d.width+"/"+d.height+" for ssrc "+b)));return e},Fga=function(a,b){b=n(b);for(var c=b.next();!c.done;c=b.next())ML(a.j,c.value)},MS=function(a,b){var c=!!b.Jc(),d=c||0<(b.l&8);b.Pa().forEach(function(e){e=FS(a,e);e.Nk=d;c!==(null!==e.hp)&&(e.hp=c?Y():null)})},FS=function(a,b){a.N.has(b)||a.N.set(b,{hp:null,Nk:!1});return a.N.get(b)},Hga=function(a,b){b.Pa().forEach(function(c){a.Za.set(c,
  Y())})},KS=function(a,b){return(void 0===a?"":a)+"/"+(void 0===b?"":b)},Iga=m(["Notified of new remote stream: ",""]),BS=function(a,b){NS(a,b,function(c){var d=c;a.zi&&(d=c.filter(function(e){return e.Y()!=a.ya}));ES(a);d.forEach(function(e){a.m.info(Iga,e);MS(a,e);Hga(a,e)});a.O(new sS(d,[],[]))})},Jga=m(["Received modified remote stream: ",""]),iga=function(a,b){NS(a,b,function(c){c.forEach(function(d){a.m.info(Jga,d);MS(a,d)});a.O(new sS([],c,[]))})},Kga=m(["Removing remote stream: ",""]),jga=
  function(a,b){NS(a,b,function(c){c.forEach(function(d){a.m.info(Kga,d);d.Pa().forEach(function(e){a.N.delete(e)});d=KS(d.Y(),d.Da());a.u.delete(d)});a.O(new sS([],[],c))})},NS=function(a,b,c){var d=Lga(a,b);null==d?Dg(a.o,"Failed to parse streamInfos: "+d):0==d.length?Dg(a.o,"Got empty streamInfos: "+b):c(d)},Lga=function(a,b){return Mea(b).map(function(c){if(""==c.Da()){var d=Mga[c.ga()];c=wO(new tO(c),d).ja();a.Ia.add(c.Y())}return c})},Nga=m(["Terminating to handle failover."]),gga=function(a,
  b,c,d){0<b.length&&b.map(function(e){return bO.h(e)}).forEach(function(e){rc(a.ia,function(f){return Dc(e,f)})});0<d.length?0==a.h.get().length&&(a.m.info(Nga),zS(a,"STOPPED",26)):0<c.length&&(b=Pea(c),null==b?Dg(a.o,"Failed to parse stream requests: "+JSON.stringify(c.map(function(e){return e.wa()}))):0==b.length?Dg(a.o,"Got empty stream requests: "+JSON.stringify(c.map(function(e){return e.wa()}))):a.O(new tS(b)))},AS=m(["Stopping due to stream collection failure: ",""]),OS={},Mga=(OS.a="1",OS.v=
  "2",OS.d="3",OS);var PS=function(){jM.call(this);this.oc="INITIAL";this.nc=void 0};t(PS,jM);k=PS.prototype;k.Ba=function(){var a=this.m;return{state:this.getState(),endCause:this.nc,id:this.h.g,isInProgress:"INPROGRESS"==this.getState(),localId:this.rb(),localDescription:this.g.g.localDescription.Ba(),localSession:this.g.Ba(),options:this.j.Ba(),remoteAudioCodecs:tc(this.oa).map(String),remoteSession:this.h.Ba(),remoteSessionDescription:a&&a.Ba()}};k.getState=function(){return this.oc};
  k.Zo=function(){throw Error("Unimplemented");};k.ap=function(){return 0};k.No=function(){return!1};function QS(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 TS=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;if(a===b)return!0;for(var c=RS(a),d=RS(b),e=c?a.length-1:a.length,f=d?b.length-1:b.length,g=0;g<e;g++)if(!SS(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],!SS(a[g],g,b,d,f))return!1;return!0},SS=function(a,b,c,d,e){if(b<e){if(!US(a,c[b]))return!1}else{if(!d)return US(a,null);if(!US(a,c[c.length-1][b]))return!1}return!0},US=function(a,b){return null==a&&null==b?!0:Array.isArray(a)?
  TS(a,b)?!0:!1:"object"==typeof a||"object"==typeof b||a!==b?!1:!0},RS=function(a){return 0==a.length?!1:(a=a[a.length-1])&&"object"===typeof a?!Array.isArray(a):!1};Object.freeze([]);function VS(a){return 0<a.length&&(a=a[a.length-1])&&"object"===typeof a&&!Array.isArray(a)?!0:!1}function WS(a){for(var b in a){var c=a[+b];!Array.isArray(c)||"$jspb_cached_msg_"in c||(a[+b]=c.slice())}}
  var XS=function(a,b,c){this.g=a;this.h=b;this.j=c},YS=function(a,b,c){var d=c?0:-1;b=VS(a)?a.length-1:0<b?Math.max(b,a.length-d):Number.MAX_VALUE;c&&!a[0]&&(a[0]=c);return new XS(a,b,d)},ZS=function(a,b){return Oga(b,function(){return new a(b)})},$S=function(a,b){a=a.g.slice();WS(a);if(VS(a)){var c=Object.assign({},a.pop());WS(c);a.push(c)}return ZS(b,a)};XS.prototype.freeze=function(){var a=this.g;Object.freeze&&Object.freeze(a)};XS.prototype.wa=function(){return JSON.stringify(this.g)};
  XS.prototype.equals=function(a){if(this===a)var b=!0;else b=this.g,a=a.g,b=TS(b,a)?TS(a,b):!1;return b};var aT=function(a,b){var c=b+a.j;return c<a.h?c:b},bT=function(a,b){if(b<a.h)return a.g;(b=a.g[a.h])||(b=a.g[a.h]={});return b},Oga=function(a,b){return a.$jspb_cached_msg_||(a.$jspb_cached_msg_=b(a))},Pga=function(a){var b=aT(a,5);a=bT(a,b)[b];return null!=a?QS(a):0};var Qga=function(){},Rga=function(){};var cT=function(a,b,c){this.Kc=YS(a,b,c)};t(cT,Qga);var Tga=function(){var a=dT;return Xe(Sga,void 0,function(){return ZS(a,[])},function(){return Sa(a)})};cT.prototype.wa=function(){return this.Kc.wa()};cT.prototype.equals=function(a){return this===a?!0:a instanceof this.constructor?this.Kc.equals(a.Kc):!1};cT.prototype.getExtension=function(a){return a.g()(this)};cT.prototype.hasExtension=function(a){var b=a.h();a=this.Kc;b=aT(a,b);return null!=bT(a,b)[b]};
  var eT=function(a,b){a=a.Kc;b=aT(a,b);b=bT(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},fT=function(a){this.message=$S(a.Kc,a.constructor);this.Kc=this.message.Kc};t(fT,Rga);fT.prototype.ja=function(){var a=this.message;a=$S(a.Kc,a.constructor);a.Kc.freeze();return a};fT.prototype.clone=function(){return new this.constructor(this.message)};fT.prototype.getExtension=function(a){return this.message.getExtension(a)};
  fT.prototype.hasExtension=function(a){return this.message.hasExtension(a)};var gT=function(a,b,c){var d=a.Kc;b=aT(d,b);d=bT(d,b);if("boolean"!==typeof c)throw Error("Not a boolean: "+c);d[b]=c?1:0;return a},Sga={};var dT=function(a){this.Kc=YS(a,-1,0)};t(dT,cT);var hT=function(a){fT.call(this,a)};t(hT,fT);var iT=function(a){jx.call(this);this.g=a||window;this.h=Ww(this.g,"resize",this.l,!1,this);this.j=Hf(this.g||window)};w(iT,jx);iT.prototype.ba=function(){iT.Jb.ba.call(this);this.h&&(ex(this.h),this.h=null);this.j=this.g=null};iT.prototype.l=function(){var a=Hf(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 jT=function(a){jx.call(this);this.g=a?If(a.g):window;this.l=1.5<=this.g.devicePixelRatio?2:1;this.j=Xa(this.m,this);this.h=this.g.matchMedia?this.g.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};w(jT,jx);jT.prototype.start=function(){this.h&&this.h.addListener(this.j)};jT.prototype.m=function(){var a=1.5<=this.g.devicePixelRatio?2:1;this.l!=a&&(this.l=a,this.O("ra"))};jT.prototype.ba=function(){this.h&&this.h.removeListener(this.j);jT.Jb.ba.call(this)};var kT=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=Ef(b);this.h=new iT(Jf(b));this.h.F=this.m.m;this.j=new jT(this.g);this.j.start()}};w(kT,V);var Uga=function(a){var b=new kT(a,document);a.registerService(mL,b)};kT.prototype.ba=function(){this.g=this.l=null;this.h&&(this.h.dispose(),this.h=null);Ds(this.j);this.j=null};sK(mL,kT);var lT=new SQ("google3.javascript.realtime.util.gpu_info"),mT=void 0,Vga=m(["Error getting WebGL unmasked renderer name."]);function Wga(a){var b=new qQ(a);if(Se())return b.g(7115),null;b.g(7114);a=nT(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){VQ(lT,e).L(Vga)}return null}var Xga=m(["Error getting WebGL2 context."]);
  function oT(a,b){try{return!!a.getContext("webgl2",{failIfMajorPerformanceCaveat:b})}catch(c){return VQ(lT,c).L(Xga),!1}}function nT(a){return Of(MK(a,mL)?a.get(mL).g:new Df,"CANVAS")};function pT(a){return Yga.includes(a.Fe)?!1:4<=a.Eh||0===a.Eh||a.Qn.has("sse4_1")}function qT(a){var b=Zga;a.Fe.startsWith("Intel")?b=$ga:a.Fe.startsWith("AMD")&&(b=aha);return b.some(function(c){return c.test(a.Fe)})}function rT(a){return pT(a)&&!qT(a)}function bha(a){return""===a.Fe||a.Fo&&cha.some(function(b){return b.test(a.Fe)})?!1:4<=a.Eh&&!qT(a)}function dha(a){return!a.Eo||0===a.Jm||2===a.Jm&&!AN(xN("SCVan"),!1)?3:8>a.Eh&&!eha.some(function(b){return b.test(a.Fe)})?2:1}
  function sT(a){var b=void 0===b?Tga():b;b=new hT(b);var c=pT(a);b=gT(b,1,c);c=rT(a);b=gT(b,2,c);c=pT(a);b=gT(b,3,c);c=bha(a);b=gT(b,4,c);c=dha(a);var d=b.Kc,e=aT(d,5);bT(d,e)[e]=QS(c);a=rT(a);return gT(b,6,a).ja()}function tT(){return sT({Fe:"",Eh:navigator.hardwareConcurrency||0,Qn:new Set,Fo:!1,Eo:!1,Jm:0})}
  var aha=[/^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/],$ga=[/^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/],Zga=[/^.+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/],cha=[/^Intel\(R\) Core\(TM\) i5-10210U CPU @ 1.60GHz/],Yga=
  ["AMD A6-9220C RADEON R5, 5 COMPUTE CORES 2C+3G"],eha=[/^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 uT=function(){jx.call(this);this.fb=this.sa=null;this.H=new Uu(this);this.K=this.H.signal()};t(uT,jx);k=uT.prototype;k.Ba=function(){return{hangoutId:this.fb,isInProgress:"INPROGRESS"==this.getState(),remoteJid:this.sa,sessionId:this.h,state:this.getState()}};k.ta=function(){throw Error("getStream not supported on LocalSession");};k.wf=function(){};k.pl=function(){};k.nq=function(){return!1};k.rm=function(){return!1};k.Dq=function(){};k.jo=function(){return null};k.ep=function(){};k.qo=function(){return null};
  k.vo=function(){return tT()};var vT=function(a,b){W.call(this,"ua");this.g=a;this.j=b};t(vT,W);var wT=function(a){W.call(this,"va");this.g=a};t(wT,W);var xT=function(a){W.call(this,"xa");this.kb=a};t(xT,W);var yT=function(a,b,c){W.call(this,"wa");this.j=a;this.Ob=b;this.g=c};t(yT,W);var zT=function(a,b,c){W.call(this,"ta");this.ha=a;this.label=b;this.payload=c};t(zT,W);var AT=function(a){W.call(this,"Ba");this.uh=a};t(AT,W);var BT=function(a,b){W.call(this,"sa");this.g=a;this.j=b};t(BT,W);var CT=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 fha=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;r=q=0}function b(y){for(var D=g,A=0;64>A;A+=4)D[A/4]=y[A]<<24|y[A+1]<<16|y[A+2]<<8|y[A+3];for(A=16;80>A;A++)y=D[A-3]^D[A-8]^D[A-14]^D[A-16],D[A]=(y<<1|y>>>31)&4294967295;y=e[0];var K=e[1],P=e[2],ha=e[3],ob=e[4];for(A=0;80>A;A++){if(40>A)if(20>A){var wb=ha^K&(P^ha);var Ta=1518500249}else wb=K^P^ha,Ta=1859775393;else 60>A?(wb=K&P|ha&(K|P),Ta=2400959708):(wb=K^P^ha,Ta=3395469782);wb=((y<<5|
  y>>>27)&4294967295)+wb+ob+Ta+D[A]&4294967295;ob=ha;ha=P;P=(K<<30|K>>>2)&4294967295;K=y;y=wb}e[0]=e[0]+y&4294967295;e[1]=e[1]+K&4294967295;e[2]=e[2]+P&4294967295;e[3]=e[3]+ha&4294967295;e[4]=e[4]+ob&4294967295}function c(y,D){if("string"===typeof y){y=unescape(encodeURIComponent(y));for(var A=[],K=0,P=y.length;K<P;++K)A.push(y.charCodeAt(K));y=A}D||(D=y.length);A=0;if(0==q)for(;A+64<D;)b(y.slice(A,A+64)),A+=64,r+=64;for(;A<D;)if(f[q++]=y[A++],r++,64==q)for(q=0,b(f);A+64<D;)b(y.slice(A,A+64)),A+=64,
  r+=64}function d(){var y=[],D=8*r;56>q?c(h,56-q):c(h,64-(q-56));for(var A=63;56<=A;A--)f[A]=D&255,D>>>=8;b(f);for(A=D=0;5>A;A++)for(var K=24;0<=K;K-=8)y[D++]=e[A]>>K&255;return y}for(var e=[],f=[],g=[],h=[128],l=1;64>l;++l)h[l]=0;var q,r;a();return{reset:a,update:c,digest:d,digestString:function(){for(var y=d(),D="",A=0;A<y.length;A++)D+="0123456789ABCDEF".charAt(Math.floor(y[A]/16))+"0123456789ABCDEF".charAt(y[A]%16);return D}}};var gha=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],Zb(d,function(h){e.push(h)}),DT(e.join(" "));var f=[],g=[];Zb(c,function(h){g.push(h.key);f.push(h.value)});c=Math.floor((new Date).getTime()/1E3);e=jc(f)?[c,b,a]:[f.join(":"),c,b,a];Zb(d,function(h){e.push(h)});a=DT(e.join(" "));a=[c,a];jc(g)||a.push(g.join(""));return a.join("_")},DT=function(a){var b=fha();b.update(a);return b.digestString().toLowerCase()};var ET=function(){this.g=document||{cookie:""}};k=ET.prototype;k.isEnabled=function(){return navigator.cookieEnabled};
  k.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.dQ;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.lx}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(Date.now()+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=Kc(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,"",{lx:0,path:b,domain:c});return d};k.Rb=function(){return FT(this).keys};k.La=function(){return FT(this).values};k.bc=function(){return!this.g.cookie};k.xa=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
  k.hg=function(a){for(var b=FT(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};k.clear=function(){for(var a=FT(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};var FT=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Kc(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 hha=function(a){var b=CT(String(Fa.location.href)),c;(c=Fa.__SAPISID||Fa.__APISID||Fa.__OVERRIDE_SID)?c=!0:(c=new ET,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 ET,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,gha(CT(d),c,
  a||null)].join(" "):null}return null};var iha=function(a,b,c){Ax(a.url,function(d){d=d.target;Kx(d)?b(Mx(d)):c(d.Ja())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};var GT=function(a){J(this,a,0,-1,null,null)};w(GT,I);var HT=function(a){J(this,a,0,-1,null,null)};w(HT,I);var IT=function(a){J(this,a,0,30,jha,null)};w(IT,I);var jha=[3,20,27],kha=function(a,b){return Q(a,8,b)};var JT=function(a){J(this,a,0,17,lha,null)};w(JT,I);var lha=[3,5],KT=function(a){var b=Za().toString();return Q(a,4,b)},LT=function(a,b){return xl(a,3,b)},mha=function(a,b){return Q(a,14,b)};var MT=function(a){J(this,a,0,6,nha,null)};w(MT,I);var nha=[5];var NT=function(a){J(this,a,0,-1,null,null)};w(NT,I);var oha=new function(){this.fd=NT;this.Xw=0};var PT=function(a,b,c,d,e,f,g,h,l,q,r){jx.call(this);this.Aa=a;this.ia=b||La;this.l=new JT;this.Fa=d;this.ya=r;this.g=[];this.ra="";this.Oa=Ya(Af,0,1);this.m=e||null;this.D=c||null;this.H=g||!1;this.N=l||null;this.sa=this.X=-1;this.ca=!1;this.o=zg("playlog.clearcut.ClearcutBase");this.Ga=!h;this.u=null;this.K=0;this.Ia=1;this.oa=f||!1;this.Z=!1;!this.oa&&(Vf&&vf(65)||Rf&&vf(45)||Wf&&vf(12)||Qe()&&Te());a=new HT;a=Q(a,1,1);f||(f=new GT,b=document.documentElement.getAttribute("lang"),f=Q(f,5,b),U(a,
  11,f));U(this.l,1,a);Q(this.l,2,this.Aa);this.j=new pM(1E4,3E5,.1);this.h=new rx(this.j.g);this.T(this.h);Ww(this.h,"tick",Cd(OT(this,q)),!1,this);this.G=new rx(6E5);this.T(this.G);Ww(this.G,"tick",Cd(OT(this,q)),!1,this);this.H||this.G.start();this.oa||(Ww(Jf(),"beforeunload",this.s,!1,this),Ww(Jf(),"unload",this.s,!1,this),Ww(document,"pagehide",this.s,!1,this))};w(PT,jx);var OT=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};PT.prototype.ba=function(){this.s();PT.Jb.ba.call(this)};
  var QT=function(a){a.m||(a.m=.01>a.Oa()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.m},RT=function(a,b){a.j=new pM(1>b?1:b,3E5,.1);sx(a.h,a.j.g)};PT.prototype.log=function(a){a=El(a);var b=this.Ia++;Q(a,21,b);L(a,1)||(b=Date.now().toString(),Q(a,1,b));for(M(a,15)||Q(a,15,60*(new Date).getTimezoneOffset());1E3<=this.g.length;)this.g.shift(),++this.K;this.g.push(a);this.O(new ST(a));this.H||this.h.enabled||this.h.start()};
  PT.prototype.flush=function(a,b){var c=this;if(0==this.g.length)a&&a();else if(this.Z)pha(this);else{var d=Za();if(this.sa>d&&this.X<d)Eg(this.o,"Not flushing because server requested delay."),b&&b("throttled");else{var e=mha(LT(KT(El(this.l)),this.g),this.K);d={};var f=this.ia();f&&(d.Authorization=f);var g=QT(this);this.D&&(d["X-Goog-AuthUser"]=this.D,g=br(g,"authuser",this.D));this.N&&(d["X-Goog-PageId"]=this.N,g=br(g,"pageId",this.N));if(f&&this.ra==f)Eg(this.o,"XHR with unauthorized request not retried"),
  b&&b("stale-auth-token");else{Eg(this.o,"Flushing log to clearcut.");this.g=[];this.h.enabled&&this.h.stop();this.K=0;var h=e.wa(),l;this.u&&this.u.Oe(h.length)&&(l=this.u.g(h));var q={url:g,body:h,Pt:1,requestHeaders:d,requestType:"POST",withCredentials:this.Ga,timeoutMillis:0},r=Xa(function(A){this.j.reset();sx(this.h,this.j.g);if(A){try{var K=JSON.parse(A.replace(")]}'\n",""));var P=new MT(K)}catch(ha){Dg(this.o,"Response parse failed: "+ha)}P&&(A=N(P,1,"-1"),A=Number(A),0<A&&(this.X=Za(),this.sa=
  this.X+A),P=P.getExtension(oha))&&(P=N(P,1,-1),-1!=P&&(this.ca||RT(this,P)))}a&&a()},this),y=Xa(function(A){var K=T(e,IT,3);qM(this.j);sx(this.h,this.j.g);401==A&&f&&(this.ra=f);if(500<=A&&600>A||401==A||0==A)this.g=K.concat(this.g),this.H||this.h.enabled||this.h.start();Dg(this.o,"Flush failed. Status code: "+A);b&&b("net-send-failed",A)},this),D=function(){c.ya?c.ya.send(q,r,y):c.Fa(q,r,y)};l?l.then(function(A){q.requestHeaders["Content-Encoding"]="gzip";q.requestHeaders["Content-Type"]="application/binary";
  q.body=A;q.Pt=2;D()},function(){D()}):D()}}}};PT.prototype.s=function(){this.flush()};
  var pha=function(a){Eg(a.o,"Flushing log using sendBeacon.");qha(a,function(b,c){b=br(b,"format","json");b=Jf().navigator.sendBeacon(b,c.wa());a.Z&&!b&&(a.Z=!1);return b})},qha=function(a,b){if(0!=a.g.length){var c=QT(a);for(var d=c.search(dr),e=0,f,g=[];0<=(f=cr(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(fr,"$1");c=$q(c,"auth",a.ia(),"authuser",a.D||"0");for(d=0;10>d&&a.g.length;++d){e=a.g.slice(0,32);f=LT(KT(El(a.l)),e);
  if(!b(c,f))break;a.g=a.g.slice(e.length)}}},ST=function(){this.type="event-logged"};w(ST,W);var TT=function(a,b,c,d,e,f,g){PT.call(this,a,hha,b,iha,c,d,e,void 0,f,g)};t(TT,PT);var UT=function(a){this.F=a;this.j=Date.now();this.g=this.h=this.l=this.C=this.m=this.u=this.s=0};UT.prototype.getStats=function(){var a=new RE;Q(a,1,this.F);Q(a,2,this.s);Q(a,3,this.u);Q(a,4,this.m);Q(a,5,this.C);Q(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)}Q(a,9,c);Q(a,10,d);this.g=this.h=0;this.j=b;return a};var VT=function(){this.g=new Map},rha=function(a){MK(a,IM)||VK(a,IM,function(){return new VT})};VT.prototype.reset=function(){this.g.clear()};var WT=function(a,b){if(a.g.has(b))return a.g.get(b);var c=new UT(b);a.g.set(b,c);return c};sK(IM,VT);var XT=new rK("W0goMc","rrm");function sha(){}var YT=function(){V.call(this);this.u=new Uu(this);this.j=this.u.signal()};t(YT,V);
  var $T=function(a,b,c,d){c=void 0===c?sha:c;d=void 0===d?{pq:5,Nn:40}:d;return new ZT(a,b,c,d)},tha=m(["localSessionId=",""]),ZT=function(a,b,c,d){YT.call(this);var e=this;this.g=new Set;this.D=b;this.o=XQ(UQ(new SQ("realtime.media.session.ConnectionLostMonitor"),function(f){return f(tha,e.D.h)}));this.l=this.h=null;this.m=!1;this.F=new tL(this);this.T(this.F);this.F.listen(this.D,"Ba",function(f){aU(e,"tu",!f.uh)});NK(a,XT).then(function(f){f.l.attach(function(g){aU(e,"rfs",g>d.pq)})});this.s=c;
  this.G=1E3*d.Nn};t(ZT,YT);var uha=m(["Connection lost alarm triggering: ",""]),vha=m(["Connection lost alarm not triggering: ",""]),aU=function(a,b,c){c?a.o.L(uha,b):a.o.info(vha,b);c?a.g.add(b):a.g.delete(b);a.g.size?null==a.h&&(a.h=tx(function(){a.s(6371,{kc:Array.from(a.g).join(",")});a.m=!0;a.u.R(a.j,!0)},a.G),a.l=Y(),a.s(3061,{kc:Array.from(a.g).join(",")})):null!=a.h&&(ux(a.h),a.h=null,a.m&&(a.m=!1,a.u.R(a.j,!1)),b=a.l?Math.round(vQ(Y(),a.l)/1E3):-1,a.s(3062,{Ic:b}),a.l=null)};var wha=function(a,b,c){return $T(a,b,c)};var bU=function(a){jM.call(this);this.g=a;this.l=N(this.g,3,0);this.j=0;this.h=!1};t(bU,jM);
  var xha=function(a,b){b=AG(b);if(null!=b){for(var c=n(b),d=c.next();!d.done;d=c.next())if(d=d.value,0==TG(d)&&2==SG(d)&&(0==L(d,57)||0==L(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,TG(c)){case 2:d=a,0<d.l?--d.l:(L(c,40)||0)<N(d.g,1,6E4)?d.h||(++d.j,d.j>=N(d.g,2,1)&&(d.O(new cU(0)),d.h=!0)):(d.h&&(d.O(new cU(1)),d.h=!1),d.j=0)}}},cU=function(a){W.call(this,"Da");this.id=a};t(cU,W);var dU=function(){this.g=new Map};dU.prototype.register=function(a,b,c){var d=a.messageId;if("string"===typeof d){var e=this.g.get(d);e?(e.xq=e.xq||b,e.Un=e.Un||c):this.g.set(d,{fd:a,xq:b,Un:c})}};dU.prototype.ti=function(a){var b=a[0],c=this.g.get(b);if(c)return new c.fd(a);throw Error("Unknown Message "+b);};var yha={},zha=new dU,eU=function(a,b){W.call(this,"Ea");this.ha=a;this.data=b};t(eU,W);var Aha=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&&yha[d])try{var e=kk(b.substring(c+1));var f=d.ti(e);break a}catch(h){}}try{var g=JSON.parse(b);if(Array.isArray(g)){f=zha.ti(g);break a}}catch(h){}f=null}a.g=f}return a.g};var fU=function(a,b,c){W.call(this,"Fa");this.sessionId=a;this.j=b;this.g=new Map(c)};t(fU,W);var gU=function(a){W.call(this,"Ga");this.Yo=a};t(gU,W);var iU=function(){V.call(this);this.o=new SQ("realtime.media.stats.BackendLoudestReportService");this.s=new tL(this);this.T(this.s);this.h=new hU;this.g=new hU;this.j=new Map;this.l=null;this.m=new Map};t(iU,V);
  var Bha=function(a){MK(a,jU)||a.registerService(jU,new iU)},Cha=function(a,b){a.s.listen(b,"Ga",function(c){null==a.l&&(a.l=c.Yo)})},Dha=function(a,b){a.g.Kb!==b&&(a.g.Kb=b,a.g.g=Za(),kU(a))},Eha=function(a,b){a.h.Kb!==b&&(a.h.Kb=b,a.h.g=Za(),kU(a))},Fha=function(a,b){null!=a.l&&AG(b).forEach(function(c){if(1==SG(c)&&1==TG(c)){var d=[];LG(c).forEach(function(e){var f=L(e,3),g=L(e,2)||0;null!=f&&null!=L(e,1)&&null!=g&&((a.j.get(f)||[]).forEach(function(h){var l=h.Zj-(a.l||0);l>=(L(e,1)||0)&&l<=g&&
  d.push(h.client-h.Zj)}),(!a.m.get(f)||g>a.m.get(f))&&a.m.set(f,g))});Q(c,150,d||[])}})},Gha=m(["Latencies for csrc "," reset before reporting"]),Hha=function(a){null!=a.l?a.j.forEach(function(b,c){var d=a.m.get(c);b.filter(function(e){return!d||e.Zj-(a.l||0)>d});100<b.length&&(a.o.info(Gha,c),b=[])}):a.j.clear()},kU=function(a){if(a.g.Kb&&a.g.Kb===a.h.Kb){if(2147483647>=Math.abs((a.h.g||0)-(a.g.g||0))){var b=a.g.Kb;a.j.has(b)||a.j.set(b,[]);a.j.get(b).push({Zj:a.g.g,client:a.h.g})}a.g.reset();a.h.reset()}},
  hU=function(){this.g=this.Kb=null};hU.prototype.reset=function(){this.g=this.Kb=null};var jU=new rK("kmRoq");var lU=function(){V.call(this);this.o=zg("realtime.media.stats.HighResVideoTracker");this.h={};this.g={}};t(lU,V);var Iha=function(a,b){AG(b).forEach(function(c){if(2==SG(c)&&1==TG(c)&&0<KG(c).length){var d=KG(c)[0];Q(c,135,a.g[d]||[])}})};var nU=function(a){return 0<mU(a.xa())&&!isNaN(L(a,1))&&!isNaN(L(a,2))&&!isNaN(L(a,3))&&!isNaN(L(a,4))},oU=function(a,b){a||(a=new NE);var c=mU(L(a,3));var d=mU(L(a,4));var e=mU(a.xa());if(isNaN(b))d={cl:c,pm:d,n:e};else if(isNaN(c)||isNaN(e)||1>e)d={cl:b,pm: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={cl:c,pm:g,n:e}}e=d.cl;f=d.pm;Q(a,5,d.n);Q(a,3,Math.round(e));Q(a,4,Math.round(f));d=mU(L(a,1));e=mU(L(a,2));isNaN(b)?(Q(a,1,d),Q(a,2,e)):
  isNaN(d)?(Q(a,1,b),Q(a,2,b)):(Q(a,1,Math.min(b,d)),Q(a,2,Math.max(b,e)));return a},Jha=function(a,b){var c=!a||!a.xa()||null==L(a,3),d=!b||!b.xa()||null==L(b,3);if(c&&d)return new NE;if(c)return b;c=a.xa();if(d)return a;var e=b.xa(),f=L(a,3);if(2>c)return oU(b,f);var g=L(b,3);if(2>e)return oU(a,g);d=L(a,2);var h=L(a,1),l=L(a,4),q=L(b,2),r=L(b,1),y=L(b,4),D=g-f;b=c+e;l=Math.sqrt((l*l*(c-1)+y*y*(e-1)+D*D*c*e/b)/(b-1));c=(f*c+g*e)/b;Q(a,5,b);Q(a,1,Math.min(h,r));Q(a,2,Math.max(d,q));Q(a,3,Math.round(c));
  Q(a,4,Math.round(l));return a},mU=function(a){return null!=a?a:NaN};var rU=function(){this.g=null;this.l=new pU(function(){return null},function(a,b){return oU(a,null!=b?b:NaN)});this.C=new pU(function(){return new qU},function(a,b){a.update(b);return a});this.h=new pU(function(){return[]},function(a,b){if(null==b)return a;20<=a.length&&(a.length=0);a.push(b);return a});this.j=new pU(function(){return null},function(a,b){return Jha(a,b)})};rU.prototype.update=function(a){this.g=a;Kha(this)};
  var Kha=function(a){CG(a.g).forEach(function(b){var c=L(b,1),d=L(b,2);b=L(b,3);var e=a.h;sU(e,e.h,c+"-"+d,tU,b)});AG(a.g).forEach(function(b){return Lha(a,b)})},Lha=function(a,b){var c=KG(b)[0];if(c){var d=TG(b);uU(a,c,d,vU,L(b,2));uU(a,c,d,wU,L(b,113));uU(a,c,d,xU,L(b,96));uU(a,c,d,yU,L(b,42));switch(SG(b)){case 1:zU(a,c,d,AU,L(b,26));1==d?(uU(a,c,d,BU,ml(b,107)),uU(a,c,d,CU,ml(b,68)),uU(a,c,d,DU,ml(b,106)),uU(a,c,d,EU,ml(b,104)),uU(a,c,d,FU,ml(b,156)),uU(a,c,d,GU,ml(b,103)),uU(a,c,d,HU,ml(b,207)),
  IU(a,c,d,GU,ml(b,103)),IU(a,c,d,AU,L(b,26)),IU(a,c,d,HU,ml(b,207)),(LG(b)||[]).forEach(function(e){IU(a,c,d,JU,e)})):0==d&&IU(a,c,d,tU,L(b,6));break;case 2:if(1==d){if(zU(a,c,d,KU,L(b,89)),0<(L(b,138)||0)&&(zU(a,c,d,LU,L(b,138)),b=vS.get(b).h))zU(a,c,d,MU,(L(b,12)||0)-(L(b,11)||0)),zU(a,c,d,NU,(L(b,4)||0)-(L(b,3)||0)),zU(a,c,d,OU,(L(b,12)||0)-(L(b,9)||0)),zU(a,c,d,PU,(L(b,6)||0)-(L(b,2)||0))}else 0==d&&(IU(a,c,d,tU,L(b,6)),S(b,UE,228)&&(QU(a.j,c,d,RU,S(S(b,UE,228),NE,4)),QU(a.j,c,d,SU,S(S(b,UE,228),
  NE,5))))}}},zU=function(a,b,c,d,e){QU(a.l,b,c,d,e)},uU=function(a,b,c,d,e){null!=e&&-1!=e&&QU(a.C,b,c,d,e)},IU=function(a,b,c,d,e){QU(a.h,b,c,d,e)},Mha=function(a){if(!a.g)return null;CG(a.g).forEach(function(b){var c=b.l,d=tU,e=L(b,1),f=L(b,2);(d=a.h.h.get(e+"-"+f+"-"+d))&&c.call(b,d)});AG(a.g).forEach(function(b){var c=KG(b)[0],d=TG(b);c&&(TU(a,c,d,AU,b,b.F),TU(a,c,d,LU,b,b.Nz),TU(a,c,d,KU,b,b.Pz),TU(a,c,d,MU,b,b.Kz),TU(a,c,d,NU,b,b.Lz),TU(a,c,d,OU,b,b.Qz),TU(a,c,d,PU,b,b.Tz),UU(a,c,d,BU,b,b.nj),
  UU(a,c,d,CU,b,b.Sh),UU(a,c,d,DU,b,b.sj),UU(a,c,d,EU,b,b.tj),UU(a,c,d,FU,b,b.uj),UU(a,c,d,GU,b,b.vj),UU(a,c,d,HU,b,b.Iz),UU(a,c,d,vU,b,function(e){return Q(b,2,Math.round(e))}),UU(a,c,d,wU,b,function(e){return Q(b,113,Math.round(e))}),UU(a,c,d,xU,b,function(e){return Q(b,96,Math.round(e))}),UU(a,c,d,yU,b,function(e){return Q(b,42,Math.round(e))}),VU(a,c,d,GU,b,b.Uz),VU(a,c,d,AU,b,b.Mz),VU(a,c,d,tU,b,b.u),VU(a,c,d,JU,b,b.l),VU(a,c,d,HU,b,b.Jz),WU(a,c,d,RU,b,function(e,f){return U(e,4,f)}),WU(a,c,d,
  SU,b,function(e,f){return U(e,5,f)}))});return a.g},TU=function(a,b,c,d,e,f){(a=a.l.g.get(b+"-"+c+"-"+d))&&nU(a)&&f.call(e,a)},UU=function(a,b,c,d,e,f){(a=a.C.g.get(b+"-"+c+"-"+d))&&!isNaN(a.g)&&f.call(e,a.g)},VU=function(a,b,c,d,e,f){(a=a.h.g.get(b+"-"+c+"-"+d))&&f.call(e,a)},WU=function(a,b,c,d,e,f){(a=a.j.g.get(b+"-"+c+"-"+d))&&nU(a)&&(M(e,228)||(b=new UE,U(e,228,b)),e=S(e,UE,228),f(e,a))};rU.prototype.reset=function(){this.g=null;this.l.reset();this.C.reset();this.h.reset();this.j.reset()};
  var pU=function(a,b){this.j=a;this.l=b;this.g=new Map;this.h=new Map},QU=function(a,b,c,d,e){sU(a,a.g,b+"-"+c,d,e)},sU=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)};pU.prototype.reset=function(){this.g.clear();this.h.clear()};var XU=function(a){this.Wa=a};XU.prototype.toString=function(){return this.Wa};
  var AU=new XU("XTvm9d"),LU=new XU("TdVfcf"),KU=new XU("eQTbEc"),MU=new XU("a4Yxj"),NU=new XU("nUWCZc"),OU=new XU("Nboi5"),PU=new XU("R5vmJf"),BU=new XU("gzdO6e"),CU=new XU("tXhbTd"),DU=new XU("KQMrwb"),EU=new XU("VV4zEf"),FU=new XU("JFlPof"),GU=new XU("BUnMQ"),HU=new XU("i5kSvf"),JU=new XU("bBLyge"),tU=new XU("Wau6Je"),vU=new XU("YoLTIb"),wU=new XU("A1VqNe"),xU=new XU("F2EIlf"),yU=new XU("DbrXbf"),RU=new XU("F2s1L"),SU=new XU("NJuHOb"),qU=function(){this.g=NaN;this.h=0};
  qU.prototype.update=function(a){this.h++;this.g=1===this.h?a:this.g+(a-this.g)/this.h};var YU=new rK("HETvff","lHoXXe");var $U=function(){V.call(this);var a=this;this.o=zg("realtime.media.stats.SpeakerSwitchReportService");this.s=new Map;this.m=new Map;this.u=new Map;this.h=new tL;this.T(this.h);this.l=function(b){ZU(a,null,b.target)};this.j=new Map;this.g=0};t($U,V);
  var Nha=function(a){MK(a,YU)||VK(a,YU,function(){return new $U})},Oha=function(a,b){var c=new tL;a.T(c);c.listen(b,"Fa",function(){}).listen(b,"Ga",function(d){a.g||(a.g=d.Yo)})},aV=function(a,b){var c=b.Y();b=b?b.getInfo().Pa():[];c&&0<b.length&&a.u.set(c,b[0])},bV=function(a,b){"a"==b.getInfo().ga()&&(a.h.listen(b,"fa",a.l),aV(a,b))},ZU=function(a,b,c){b&&(yL(a.h,b,"fa",a.l),bV(a,c));if("a"==c.getInfo().ga()&&0<c.getInfo().Pa().length){b=c.getInfo().Pa()[0];var d=c.getInfo().Jc(),e=0==c.getState();
  d||e?(a.m.set(b,Za()),a.s.clear()):a.m.delete(b);aV(a,c)}},Pha=function(a,b){if("a"==b.getInfo().ga()){yL(a.h,b,"fa",a.l);var c=b.getInfo().Pa()[0]||null;c&&(a.m.delete(c),a.s.clear());a.u.delete(b.Y())}},Qha=function(a,b){AG(b).forEach(function(c){if(1==SG(c)&&1==TG(c)&&0!=KG(c).length){var d=KG(c)[0],e=[];0!=LG(c).length&&a.g?LG(c).forEach(function(f){var g=L(f,3);null!=g&&null!=L(f,1)&&null!=L(f,2)&&(a.j.get(g)||[]).forEach(function(h){var l=h.Te-a.g;l>=(L(f,1)||0)&&l<=(L(f,2)||0)&&e.push(h.Je-
  h.Te)})}):a.j.has(d)&&a.j.get(d).forEach(function(f){return e.push(f.Je-f.Te)});Q(c,142,e||[])}})};sK(YU,$U);var cV=function(){V.call(this);this.o=zg("realtime.media.stats.VideoFeedTracker");this.h=new Map;this.g=new Map};t(cV,V);var Rha=function(a,b){AG(b).forEach(function(c){if(2==SG(c)&&0<KG(c).length){var d=KG(c)[0];d=a.g.get(d)||[];Q(c,141,d||[])}})};var dV=function(a,b,c){nQ.call(this,b.Y(),b.Da(),b,c);this.j=a;this.g=!1};t(dV,nQ);dV.prototype.s=function(){return this.j};var eV=function(){jM.apply(this,arguments)};t(eV,jM);var fV=function(a){W.call(this,"Ia");this.g=a.slice()};t(fV,W);var gV=function(a,b,c){var d=a.signal();b.attach(function(e){c(e)&&a.R(d,e)});return d},hV=function(a,b,c,d){d=void 0===d?function(e){return e}:d;c.attach(function(e){a.R(b,d(e))},a)},iV=function(a,b,c,d){d=void 0===d?function(e){return e}:d;fv(c,function(e){a.R(b,d(e))},a)};var Sha=m(["localSessionId=",""]),Tha=m(["Creating a new session with options=","."]),lV=function(a,b,c,d,e,f,g){PS.call(this);var h=this;this.o=UQ(new SQ("realtime.media.session.SessionImpl"),function(l){return l(Sha,h.rb())});this.Bi=b;this.j=f;this.g=e;this.T(this.g);this.h=d;this.T(this.h);this.G=c;this.T(this.G);this.li=b.j;this.wi=g;this.o.info(Tha,Gs(f.Ba()));this.ea=NK(a,GM);this.df=NK(a,FM);this.Ai=null;NK(a,IM).then(function(l){h.Ai=l});b=wha(a,e,function(l,q){return jV(h,l,q)});b.j.attach(function(l){l&&
  h.stop(10)});this.T(b);this.ef=!1;this.ob=$T(a,e,void 0,{pq:2,Nn:5});this.ob.j.attach(function(l){h.ef=l});this.T(this.ob);this.Aa=null;this.cf=new Uu(this);this.gf=this.cf.signal();hV(this.cf,this.gf,e.K);this.s=new tL(this);this.T(this.s);this.s.listen(this.g,"ta",this.Xi).listen(this.g,"va",this.sl).listen(this.g,"ua",this.Wl).listen(this.g,BR,this.tl).listen(this.g,"xa",this.Jl).listen(this.g,"wa",this.vl).listen(this.g,"Aa",this.Ml).listen(this.g,"za",this.um).listen(this.g,"ga",this.lf).listen(this.g,
  "sa",this.Ti);this.df.then(function(l){xL(h.s,l,"Ca",function(){h.j.Ge&&kV(h.g)})});this.s.listen(this.h,"ga",this.Qg).listen(this.h,"W",this.Oi).listen(this.h,rS,this.ym);this.s.listen(this.h,qS,this.Pi,!0);this.pb=this.ie=!1;this.oa=[];this.tc=kt();this.Ug=kt();this.ff="";this.u={};this.m=this.Ra=this.sa=this.ra=null;this.pc=[];this.eb=[];this.l=[];this.rc={};this.Za=new gM(20);this.H=this.lb=null;this.Wb=this.Hb=this.ya=Y();this.Wg=this.Fa=this.ke=this.je=!1;this.Vg=kt();this.ia=!1;this.me=wQ;
  this.ub=!1;e=S(this.li.g,cN,19)||new cN;this.dc=void 0;this.Ga=new nS;oS(this.Ga,d);this.Dg=this.j.qh();this.Bb=new rU;this.Bd=new bU(e);this.s.listen(this.Bd,"Da",this.Vi);this.Ia=kt();this.K=[];(d=navigator.getBattery?navigator.getBattery():null)&&d.then&&d.then(function(l){oS(h.Ga,function(q){Q(q,75,Math.round(100*l.level));Q(q,74,!l.charging)})});this.Oa=new lU;this.Fc=new cV;this.D=null;NK(a,YU,!0).then(function(l){return h.D=l});this.ca=null;NK(a,jU,!0).then(function(l){h.ca=l});this.ge="";
  this.Z=new Map;this.Ce=new Map;this.Tg=!1;this.N=this.X=null;this.od=this.bf=0;this.uc=new Set;this.Ec=new Map;this.pd=AN(xN("cCuaRc"),!1)};t(lV,PS);lV.prototype.Zo=function(a){var b=void 0;b=void 0===b?{ordered:!0,maxRetransmits:10}:b;a=mV(this.g.g,a,b);return new nV(a)};lV.prototype.ap=function(){var a=this.ya;return rQ!=Date.now?a.g:a.g+(Date.now()-(rQ!=Date.now?Date.now():sQ()))};lV.prototype.No=function(){return this.Tg};
  lV.prototype.Zi=function(a){var b=this;this.pb=!0;this.eb.forEach(function(c){return oV(b,c)});this.eb=[];return a};
  var Uha=m(["Starting session after already started."]),Vha=m(["Preparation failed because local session failed to create an offer."]),Wha=m(["Preparation failed because because local session failed to prepare."]),Xha=m(["Failed to prepare session because remote session failed to prepare."]),qV=function(a){if("INITIAL"!=a.getState())return a.o.L(Uha),!1;pV(a,"STARTING");if(!a.g.g.localDescription)return a.o.L(Vha),!1;if(!Yha(a.g))return a.o.L(Wha),!1;Zha(a.g,a.j.ng());if(!oga(a.h))return a.o.L(Xha),
  !1;a.Vg.promise.then(function(){});return!0},$ha=m(["Starting with remote description: ",""]),aia=m(["Received remote description without session id."]);
  lV.prototype.start=function(a){this.ie=!0;if("INITIAL"==this.getState()&&!qV(this))return!1;this.Ra=a;this.o.info($ha,Gs(a.Ba()));var b=a.za;null!=b&&(a=GP(a,yP(b,"opus")),this.oa=kP(b),this.O(new kQ(this.oa)));a=rV(this,a);this.m=a=bia(this,a);b=a.j;if(null==b)return this.o.L(aia),jV(this,3948),this.stop(16,"Received remote description without session id."),!1;this.pc.forEach(function(c){a=LP(a,c.wn,c.lq)});kc(this.pc);sV(this,b);this.h.start(b);this.g.start(a);tV(this.g,this.K);pV(this,"STARTED");
  b=uV(a);0<b.length&&vV(this.g.g,b);wV(this);xV(this);this.tc.resolve();this.j.yf&&this.j.Ge&&kV(this.g);return!0};
  var yV=function(a){var b=cia(a.Bi);if(!b)return null;var c=M(b,7)?S(b,vH,7):new vH,d=M(c,6)?S(c,wH,6):new wH;"high"==a.j.Ee&&Q(d,84,!0);"high"==a.j.Ae?Q(d,85,!0):"very-low"==a.j.Ae&&Q(d,86,!0);U(c,6,d);U(b,7,c);return b},dia=m(["Connecting session to hangoutId=","."]),eia=m(["Upload log failed on connectToHangout."]),fia=m(["Uploaded logging data for ","."]),gia=m(["Uploading logging data for "," failed."]),hia=m(["No logging data to upload for ","."]);
  lV.prototype.ni=function(a,b,c){var d=this,e=this.g.h;this.o.info(dia,a);this.ff=b;this.g.fb=a;this.g.connect();c||(c=new QR(this.wi));var f={fb:a,ha:b,be:c,Ut:Y(),Vt:Date.now()};this.h.ni(a,b,c);this.G.g=f;this.tc.promise.then(function(){Re()&&0<Fa.navigator.maxTouchPoints&&jV(d,6589);ot(cS(d.G,yV(d),e),function(g){VQ(d.o,g).L(eia)})});(a=this.g.qo())?ot(a.then(function(g){return cS(d.G,g,e)}).then(function(){d.o.info(fia,e);jV(d,5817)}),function(g){VQ(d.o,g).L(gia,e);jV(d,5818)}):(jV(this,5819),
  this.o.info(hia,e))};var iia=m(["Attempting to pause session."]),jia=m(["Failed to pause session."]);lV.prototype.pause=function(){this.o.info(iia);if("INPROGRESS"!=this.getState())return!1;this.l.forEach(function(a){"d"!=a.getInfo().ga()&&oQ(a,0)});if(!this.g.pause())return this.o.pa(jia),!1;ux(this.H);this.H=null;pV(this,"PAUSED");return!0};var kia=m(["Attempting to resume session."]),lia=m(["Failed to resume session."]);
  lV.prototype.resume=function(){this.o.info(kia);if("PAUSED"!=this.getState())return!1;if(!this.g.resume())return this.o.pa(lia),!1;this.h.resume();this.l.forEach(function(a){"d"!=a.getInfo().ga()&&oQ(a,1)});this.O("ba");pV(this,"INPROGRESS");this.O(new jQ([],[],this.rb()));wV(this);return!0};
  var mia=m(["Ignoring call to stop with endCause: "," and debug information: ",", because it has already stopped."]),nia=m(["Stopping because stop called with endCause: ",".\n        Debug information (if any): ","\n        Stack trace:\n        ",""]);
  lV.prototype.stop=function(a,b){if("STOPPED"==this.getState()||"FINISHED"==this.getState())return this.o.info(mia,a,b),!0;this.o.info(nia,a,b,$f());b&&(this.ge=b);yL(yL(yL(yL(this.s,this.g,"ga",this.lf),this.h,"ga",this.Qg),this.ra,"Ia",this.Rg),this.sa,"Ia",this.Sg);var c;if(c=this.j.Ge)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&&kV(this.g);ux(this.H);this.H=null;this.g.stop(a,b);this.h.stop(a,b);pV(this,"STOPPED",a,b);nt(vx(2E3),this.Ia.resolve,this.Ia);return!0};lV.prototype.ba=function(){this.stop(this.ie?6:72);nt(this.Ia.promise,jM.prototype.ba,this)};
  var oia=m(["Adding stream after end."]),pia=m(["Successfully added capture: ",""]),oV=function(a,b){switch(a.getState()){case "STOPPED":case "FINISHED":return a.o.L(oia),!1}if(!a.pb)return a.eb.push(b),!0;var c=b.g,d=a.u[zV(c)];if(d)return b="sc"!=c.getContent(),AV(d,b),!1;d=qia(a.g,b);if(null==d)return!1;var e=yO(new tO(d),b.Sb()).ja();"v"==c.g&&a.tc.promise.then(function(){var f=iP(hP(dP(cP(fP(bP(eP(new aP,c.getId()),"v"),a.h.g),e.Pa()),e.g),hR),30).ja();BV(a,[f])});vga(a.h,e);"v"==c.g&&a.s.listen(c,
  "H",a.mf);d=ria(b,a.rb(),e);a.u[zV(c)]=d;a.O(new jQ([d.getInfo()],[]));a.s.listen(b,"O",a.kf);a.o.info(pia,Gs(b.Ba()));return!0},sia=m(["Removing stream after end."]);lV.prototype.mf=function(a){a=a.target;if("sc"==a.getContent())a=a.getId()+"ca",AV(this.u[a],!1),Bga(this.h);else if("ca"==a.getContent()){var b=this.u[zV(a)];AV(b,!0);JS(this.h);IS(this.h,this.u[zV(a)].getInfo())}};
  var tia=m(["Now has these "," participant(s): ",""]),CV=function(a,b){a.o.info(tia,b.length,Gs(b));var c=a.h;c.ra=new Set(b);null!=c.j&&WL(c.j);a.g.ep(b.length)},uia=m(["Changed state from "," to ",""]),via=m(["State change due to ",""]),pV=function(a,b,c,d){a.o.info(uia,a.getState(),b);d&&a.o.info(via,d);a.oc!=b&&(a.oc=b,a.nc=c,a.O(new pQ(b,c,d)))},wia=m(["Changing stream requests after end."]),xia=m(["Received stream request for DOWN stream from UI: ",""]);
  lV.prototype.wf=function(a){var b=this;switch(this.getState()){case "STOPPED":case "FINISHED":this.o.L(wia);return}this.j.Si||this.pd||(a=a.filter(function(c){c=new oO(c.Y(),c.Da(),c.ga());return null===DV(b,c)}));a.forEach(function(c){b.o.info(xia,c);var d=b.Oa,e=c.Y(),f=c.Da();c=c.Tc();e+=f;c&&Cf(c)>=Cf(hR)?d.h[e]||(d.h[e]=Za()):delete d.h[e]});null!=this.ra?EV(this.ra,a):FV(this,a)};lV.prototype.Rg=function(a){GV(this,a.g);FV(this,a.g)};
  var FV=function(a,b){jV(a,5150);a.g.wf(b);a.h.wf(b);a.rc={};b.forEach(function(c){if(c.h){var d=c.Y();c=c.Da();a.rc[d+c]=!0}});a.l.forEach(a.Dc,a)};lV.prototype.Dc=function(a){var b=a.Y(),c=a.Da();b=this.rc[b+c]||!1;b!=a.g&&(a.g=b,a.O("Ha"))};
  var GV=function(a,b){b=n(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.Pa();if(null!=d){c=c.C;d=n(d);for(var e=d.next();!e.done;e=d.next())a.Z.set(e.value,c)}}},yia=m(["Stream Requests for UP streams received from remote\n     side: ","."]),zia=m(["Audio Stream Requests for UP streams received unexpectedly from remote\n       side: ","."]),BV=function(a,b){a.o.info(yia,Gs(b.map(function(c){return c.toString()})));Aia(a,Bia(a,b));if(null!==a.sa){if(b.filter(function(c){return"v"==c.ga()}).length){EV(a.sa,
  b);return}a.o.L(zia,Gs(b.map(function(c){return c.toString()})))}HV(a,b)},Cia=m(["Muted unknown capture."]);lV.prototype.kf=function(a){var b=a.target;a=b.Sb();b=b.g;var c=b.g;"a"==c?this.bf++:"v"==c&&this.od++;(b=this.u[zV(b)])?(a=yO(new tO(b.getInfo()),a).ja(),b.h=a,IS(this.h,a)):this.o.L(Cia)};var AV=function(a,b){a&&(b=zO(new tO(a.getInfo()),b).ja(),a.h=b)};lV.prototype.Sg=function(a){HV(this,a.g)};
  var Dia=m(["Sending stream requests for UP streams to local session:\n     ","."]),HV=function(a,b){var c=b.filter(function(e){e=e.u;return!(null!=e&&a.h.g!=e)});if(0!=c.length){GV(a,c);a.K=sc(a.K.filter(function(e){return!c.some(function(f){return $O(e,f)})}),c);var d=a.j.Zt;void 0!=d&&(a.K=a.K.map(function(e){return(e.j||0)>d?iP(new aP(e),d).ja():e}));a.o.info(Dia,Gs(a.K));jV(a,5147);tV(a.g,a.K)}},Bia=function(a,b){if(!Vf||!Sp(59)||!a.j.Xh)return!1;var c=null;b.forEach(function(d){!Jc(d.Da())&&
  d.Tc()&&(null==c||d.Tc().width>c.Tc().width)&&(c=d)});if(null==c)return!1;a=c.Tc();return a.height*a.width<Cf(hR)},Aia=function(a,b){if(a.m&&a.ub!=b)if(a.ub=b)a.Aa=new yQ,zQ(a.Aa,834),a.X=Y(),a.N=null;else{var c=a.Aa;a.Aa=null;a.X=null;a.N=Y();zQ(c,835);a.df.then(function(d){return HS(d,AQ(c))})}};
  lV.prototype.ta=function(a){if(!this.j.Si&&!this.pd){var b=DV(this,a);if(null!=b)return b}b=hc(this.l,function(c){c=c.getInfo();return c.Y()==a.Y()&&c.ga()==a.g&&c.Da()==a.getId()});return null!=b?b:DV(this,a)};lV.prototype.Ba=function(){var a=PS.prototype.Ba.call(this),b=yV(this);Object.assign(a,{sessionOptions:this.j.Ba(),audioOptions:this.j.bh.Ba(),systemInfo:b?b.wa():"Unavailable",sessionEndDebugInfo:this.ge});return a};
  var DV=function(a,b){if(b.Y()!=a.ff&&""!=b.Y())return null;a=Object.values(a.u).filter(function(c){c=c.g.g;return b.getId()==c.getId()&&b.g==c.g});return 1<a.length?a.find(function(c){return"sc"==c.g.g.getContent()}):1==a.length?a[0]:null},zV=function(a){var b=a.getId();a=a.getContent();return b+a};lV.prototype.rb=function(){return this.g.h};var uV=function(a){return(a=a.g)?tc(a.l):[]},Eia=m(["Received local candidates before starting."]),Fia=m(["Received local candidates after stopped."]);
  lV.prototype.sl=function(a){var b=this;switch(this.getState()){case "INITIAL":this.o.L(Eia);return;case "STOPPED":case "FINISHED":this.o.L(Fia);return}a.g.forEach(function(c){2!=c.g&&0>gc(b.Za.La(),function(d){return KO(d,c)})&&b.Za.add(c)});null==this.lb&&(this.lb=tx(function(){b.Ug.promise.then(b.Im,null,b);b.lb=null},500))};var Gia=m(["Sending local ICE candidates over to the other side:\n     ","."]);lV.prototype.Im=function(a){this.o.info(Gia,Gs(this.Za.La()));this.O(new lQ(this.Za.La(),a))};
  var Iia=function(a,b){if(b=AG(b))for(var c=0;c<b.length;c++){var d=b[c];if(null!=d&&2==SG(d)){var e=L(d,65)||0;0==TG(d)&&a.ub&&(e|=4096);var f=VG(d);if(null!=f&&a.Z.has(f))e|=a.Z.get(f);else{f=n(KG(d));for(var g=f.next();!g.done;g=f.next())if(g=g.value,a.Z.has(g)){e|=a.Z.get(g);break}}0==TG(d)&&KG(d).some(function(h){return Hia(a,h).some(function(l){return!!l.getInfo().l})})&&(e|=8192);Q(d,65,e)}}},Jia=function(a,b){b=AG(b);for(var c={},d=0;d<b.length;c={Ye:c.Ye},d++)if(c.Ye=b[d],0==TG(c.Ye)&&2==
  SG(c.Ye)){var e=a.K.find(function(f){return function(g){return"v"==g.ga()&&g.h&&g.Pa().includes(KG(f.Ye)[0])}}(c));e&&(Q(c.Ye,115,e.g&&e.g.height),Q(c.Ye,114,e.g&&e.g.width))}},Lia=function(a,b){(b=AG(b))&&b.forEach(function(c){var d=KG(c)[0];if(1!=TG(c)||M(c,59))0==TG(c)&&(e=IV(a,d).map(function(f){return f.g}).filter(function(f){return"sc"==f.getContent()}),Q(c,59,0<e.length),WG(c,Kia(e)));else{var e=2==SG(c)&&hc(a.l,function(f){return f.getInfo().g==d});e?(e=!e.getInfo().Ef(),Q(c,59,e),e?a.uc.add(d):
  a.uc.delete(d)):a.uc.has(d)&&Q(c,59,!0)}})},Mia=function(a){var b=AG(a);if(b){var c=[],d=[];b=n(b);for(var e=b.next();!e.done;e=b.next())e=e.value,1==TG(e)&&2==SG(e)?(e=VG(e)||KG(e)[0]||0,c.push(e)):d.push(e);b=BN(xN("cPNXuf"),50);c.length>b&&(b=new $E,b=Q(b,1,c.length),c=Q(b,2,c||[]),U(a,207,c),bH(a,d))}},Nia=function(a,b,c){var d=AG(b);d&&bH(b,d.filter(function(e){if(1==TG(e)){var f=VG(e)||KG(e)[0]||0,g=a.Ce.get(f)||{},h=g.packets||0,l=g.Pw||!1;e=L(e,10)||0;h=h==e;l=!l||!h;c&&(g.packets=e,g.Pw=
  h,a.Ce.set(f,g));return l}return!0}))},Oia=function(a,b){var c=a.X&&15E3<vQ(Y(),a.X),d=a.N&&15E3<vQ(Y(),a.N);if(c||d){var e=AG(b).filter(function(f){return f&&2==SG(f)&&0==TG(f)});b=c&&e.some(function(f){return(L(f,57)||0)>=hR.width});e=d&&e.every(function(f){return(L(f,57)||0)<=gR.width});b&&jV(a,4627);e&&jV(a,4875);c&&(a.X=null);d&&(a.N=null)}},Qia=function(a,b){AG(b).forEach(function(c){return Pia(a,c)})},Pia=function(a,b){var c=KG(b)[0];if(0==TG(b)){var d=IV(a,c);0<d.length&&UG(b,d.every(function(e){return e.Sb()})?
  1:2);2==SG(b)?Q(b,185,a.od):1==SG(b)&&Q(b,185,a.bf)}else 1==TG(b)&&2==SG(b)&&(a=hc(a.l,function(e){return"v"==e.getInfo().ga()&&e.getInfo().Pa()[0]==c}))&&UG(b,a.getInfo().Jc()?1:2)},Ria=function(a,b){b=AG(b);b=n(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1==TG(c)&&2==SG(c)){var d=n(KG(c)).next().value;d&&(d=a.Ec.get(d),Q(c,227,d))}a.Ec.clear()};lV.prototype.Vi=function(a){this.O(new hQ(a.id))};
  lV.prototype.Jl=function(a){Qia(this,a.kb);Iia(this,a.kb);Jia(this,a.kb);Iha(this.Oa,a.kb);Rha(this.Fc,a.kb);this.D&&Qha(this.D,a.kb);this.ca&&Fha(this.ca,a.kb);Lia(this,a.kb);Oia(this,a.kb);this.Ga.Jd(a.kb);Ria(this,a.kb);this.dc=a.kb;this.Dg&&this.Bb.update(a.kb);this.Fa||(this.Fa="INPROGRESS"===this.getState());var b=this.Fa&&this.j.oh()<vQ(Y(),this.me);Nia(this,a.kb,b);b&&(Mia(a.kb),this.j.Uj&&this.G.g&&(b=this.Dg&&Mha(this.Bb)||a.kb,Lfa(this.G,b,this.rb())),this.me=Y(),this.dc=void 0,this.Bb.reset(),
  this.Oa.g={},this.Fc.g.clear(),this.D&&this.D.j.clear(),this.ca&&Hha(this.ca),this.Fa="INPROGRESS"===this.getState());xha(this.Bd,a.kb);var c=!1;CG(a.kb).forEach(function(d){c=c||0<L(d,7)});this.Tg=c;this.O(new fQ(a.kb))};var Sia=m(["Logging finished before media stopped!"]),Tia=m(["Finalize log uploads failed."]);
  lV.prototype.vl=function(a){var b=this;Mfa(this.G,a.j,this.rb(),a.Ob,this.dc,a.g).then(function(){"STOPPED"!=b.getState()?b.o.L(Sia):(pV(b,"FINISHED"),b.Ia.resolve())},function(c){VQ(b.o,c).L(Tia)})};lV.prototype.Ml=function(a){var b=this.Oa,c=a.ha,d=a.sourceId,e=a.ssrc,f=c+d;(a=a.Vl)&&Cf(a)>=Cf(hR)&&(a=b.h[f])&&(a=Za()-a,0<=a&&(b.g[e]=b.g[e]||[],b.g[e].push(a),delete b.h[f],Fg(b.o,"participantId: "+c+" sourceId: "+d+" ssrc: "+(e+" latency: "+a))))};
  lV.prototype.um=function(a){var b=a.source?this.ta(a.source):null,c=b?b.getInfo().Pa():[];b=this.Fc;a=a.id;c=0<c.length?c[0]:null;if(b.h.has(a)){var d=Za()-b.h.get(a).Te,e=b.h.get(a).ssrc;0<=d&&2147483647>=d?(b.g.has(e)||b.g.set(e,[]),b.g.get(e).push(d),Fg(b.o,"Logged ssrc: "+e+" duration: "+d)):Eg(b.o,"Ignore invalid main feed ssrc: "+e+" duration: "+d)}else Eg(b.o,"Skip logging duration for id: "+a);c?b.h.set(a,{ssrc:c,Te:Za()}):b.h.delete(a)};var Uia=m(["Latency event: ","."]);
  lV.prototype.tl=function(a){this.o.info(Uia,a.message);"transport writable"==a.message?(this.Wg=!0,this.Vg.resolve(),this.ia||tx(this.hi,2E3,this),this.O(new jQ([],[],this.rb())),xV(this)):"recv first video packet"==a.message?(this.ia=!0,xV(this)):"transport not writable"==a.message&&(a=this.h,JR(a.D),a.h&&AM(a.h),a.j&&AM(a.j))};lV.prototype.hi=function(){this.ia||(this.ia=!0,xV(this))};
  var xV=function(a){"STARTED"==a.getState()&&a.Wg&&a.ia&&(pV(a,"INPROGRESS"),a.O(new jQ([],[],a.rb())))},Via=m(["Unexpected raw collection push!"]),Wia=m(["Received data on the broadcast data channel. Data: ",""]);lV.prototype.Xi=function(a){switch(a.label){case "collections":this.o.pa(Via);break;case "dataSendChannel":this.o.pa(Wia,a.payload);break;default:this.O(new eU(a.ha,a.payload))}};
  var wV=function(a){a.H=tx(a.fi,5E3,a)},Xia=m(["Session started receiving audio."]),Yia=m(["Session stopped receiving audio!"]),Zia=m(["Session started receiving video."]),$ia=m(["Session stopped receiving video!"]);lV.prototype.Wl=function(a){if(null!=this.H){a.g!=this.je&&(a.g?this.o.info(Xia):this.o.L(Yia),this.je=a.g);a.j!=this.ke&&(a.j?this.o.info(Zia):this.o.L($ia),this.ke=a.j);var b=Y();a.g&&(this.Hb=b);a.j&&(this.Wb=b);if(a.g||a.j)ux(this.H),this.H=null,wV(this)}};
  var aja=m(["Session has never received audio."]),bja=m(["Session has not received audio for "," seconds."]),cja=m(["Session has never received video."]),dja=m(["Session has not received video for "," seconds."]);lV.prototype.fi=function(){var a=Y(),b=vQ(a,this.Hb)/1E3;a=vQ(a,this.Wb)/1E3;this.O(new gQ(this.h.g,b,a));this.Hb==this.ya?this.o.info(aja):5E3<b&&this.o.info(bja,b);this.Wb==this.ya?this.o.info(cja):5E3<a&&this.o.info(dja,a);wV(this)};
  var eja=m(["Stopping session because local session stopped with endCause: ","."]),fja=m(["Local session stopped before starting."]),gja=m(["Local session stopped after already stopped."]);lV.prototype.lf=function(a){if("STOPPED"==this.g.getState()){this.o.info(eja,a.Ob);switch(this.getState()){case "INITIAL":this.o.L(fja);pV(this,"STOPPED",a.Ob,a.g);return;case "STOPPED":this.o.L(gja);return}this.stop(a.Ob,a.g)}};
  lV.prototype.Ti=function(a){var b=this,c=new Map;this.l.filter(function(d){return"v"==d.getInfo().ga()&&a.j.has(d.getInfo().Pa()[0])}).forEach(function(d){var e=n(d.getInfo().Pa()).next().value;c.set(d.Y(),{uA:a.j.get(e),Ir:e})});this.l.filter(function(d){return"a"==d.getInfo().ga()&&a.g.has(d.getInfo().Pa()[0])}).forEach(function(d){var e=n(d.getInfo().Pa()).next().value;d=d.Y();c.has(d)&&(c.get(d).Lt=a.g.get(e))});c.forEach(function(d){if(void 0!=d.Ir){var e=d.Lt,f=d.uA;b.Ec.set(d.Ir,e&&f&&void 0!=
  e.captureTimestamp&&void 0!=f.captureTimestamp?e.captureTimestamp-f.captureTimestamp-(e.lk-f.lk):null)}})};var hja=m(["Remote session stopped before starting."]),ija=m(["Remote session stopped after already stopped."]);lV.prototype.Qg=function(a){if("STOPPED"==this.h.getState()){switch(this.getState()){case "INITIAL":this.o.L(hja);return;case "STOPPED":this.o.L(ija);return}this.stop(a.Ob,a.g)}};lV.prototype.Oi=function(a){this.O(a)};
  var jja=m(["Remote description changed before starting."]),kja=m(["Remote description changed after end."]),lja=m(["Received modified remote description: ","."]),mja=m(["Session IDs are now set: LocalSession ID: ",",\n       RemoteSession ID: ",". Note: Session\n       is not yet active."]),sV=function(a,b){null!=b&&null==a.h.g&&(CS(a.h,b),a.G.l=b,a.Ug.resolve(b),a.o.info(mja,a.rb(),xS(a.h)))},nja=m(["Received remote streams before starting."]),oja=m(["Received remote streams after end."]),pja=m(["Queuing stream changes. addedStreams.length=",
  ",\n         removedStreams.length=",""]),qja=m(["Sending stream adds. addedStreams.length=",",\n         removedStreams.length=",""]);
  lV.prototype.Pi=function(a){var b=a.Gc,c=a.mc;a=a.removed;switch(this.getState()){case "INITIAL":this.o.L(nja);return;case "STOPPED":case "FINISHED":this.o.L(oja);return}if(0<b.length||0<a.length)"STARTING"==this.getState()?(this.o.info(pja,b.length,a.length),this.pc.push({wn:b,lq:a})):(this.o.info(qja,b.length,a.length),this.m=LP(this.m,b,a),this.g.update(this.m,a));Zb(a,this.Fm,this);Zb(c,this.Lm,this);Zb(b,this.ei,this);(0<a.length||0<c.length||0<b.length)&&this.O(new jQ(sc(b,c),a))};
  lV.prototype.ei=function(a){a=new dV(this.g.h,a);this.Dc(a);this.l.push(a);this.D&&bV(this.D,a)};var rja=m(["Tried to update non-existent remote stream: ","."]);lV.prototype.Lm=function(a){var b=this.l.findIndex(function(d){return d.getInfo().matches(a)});if(-1==b)this.o.L(rja,a);else{var c=new dV(this.g.h,a);this.Dc(c);this.D&&ZU(this.D,this.l[b],c);this.l[b]=c}};var sja=m(["Tried to remove non-existent remote stream: ","."]);
  lV.prototype.Fm=function(a){var b=gc(this.l,function(d){return d.getInfo().matches(a)});if(-1==b)this.o.L(sja,a);else{var c=this.l[b];pc(this.l,b);this.D&&Pha(this.D,c);oQ(c,0)}};var tja=m(["Received remote stream requests before starting."]),uja=m(["Received remote stream requests after end."]);lV.prototype.ym=function(a){switch(this.getState()){case "INITIAL":this.o.L(tja);return;case "STOPPED":case "FINISHED":this.o.L(uja);return}jV(this,5148);BV(this,a.g)};
  var vja=m(["Setting audio options to\n     ","."]),wja=function(a,b){null!=b&&(a.o.info(vja,Gs(b.Ba())),a.j=YR(a.j,b),a.m=JV(a,a.m),b=a.m,null!=b.za&&KV(a.g,b))},JV=function(a,b){var c=b.za;a=a.j.bh;a.s||(c=Aea(c));var d=kP(c),e=gc(d,function(h){return NO(h,"OPUS")});if(-1!=e){if(!a.u&&1<d.length)pc(d,e);else{var f=a.D&&!(Vf&&!Sp(48));f=RO(RO(RO(new OO(d[e]),"stereo",a.F?"1":"0"),"useinbandfec",a.G?"1":"0"),"usedtx",f?"1":"0");var g=BN(xN("E0Ul7"),-1);-1!=g&&RO(f,"ptime",g.toString());d[e]=f.ja()}c=
  pP(c,d)}a=a.m;null!=a&&(c=yP(c,a));return GP(b,c)},rV=function(a,b){if(!b.qa||0==kP(b.qa).length)return b;a.j.uk()||(b=EP(b,function(f){return!NO(f,"h264")}));a.j.mg()||(b=EP(b,function(f){return!NO(f,"vp9")}));b=DP(b,yP(b.qa,"vp8"));var c=eT(a.g.vo(),4),d=a.j.mj&&c||a.j.lg,e=kP(b.qa).some(function(f){return NO(f,"vp9")});d&&e?b=DP(b,yP(b.qa,"vp9")):a.j.mg()&&(e||jV(a,5772),c||jV(a,5771));gc(kP(b.qa),function(f){return NO(f,"h264")});return b},bia=function(a,b){if(b.za&&nP(b.za)!=nP(a.g.g.localDescription.za)){var c=
  nP(a.g.g.localDescription.za);b=GP(b,tP(b.za,c))}b.qa&&nP(b.qa)!=nP(a.g.g.localDescription.qa)&&(c=nP(a.g.g.localDescription.qa),b=DP(b,tP(b.qa,c)));b.Ya&&nP(b.Ya)!=nP(a.g.g.localDescription.Ya)&&(a=nP(a.g.g.localDescription.Ya),b=HP(b,tP(b.Ya,a)));return b};lV.prototype.toString=function(){return"Session(Id="+this.h.g+" useAudio="+this.j.Ve+" useVideo="+this.j.Am+")"};
  var jV=function(a,b,c){c=void 0===c?{}:c;a.ea.then(function(d){c.sessionId=a.h.g||void 0;d.logImpression(b,c)})},IV=function(a,b){return Object.values(a.u).filter(function(c){return c.getInfo().Pa()[0]===b}).map(function(c){return c.g})},Hia=function(a,b){return Object.values(a.u).filter(function(c){return c.getInfo().Pa()[0]===b})},Kia=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 LV=function(a,b){this.name=a;this.defaultValue=b;this.h=this.g=!1;this.value=b};LV.prototype.get=function(){this.g=!0;return this.value};LV.prototype.set=function(a){this.g?(Vb("ModFlag "+this.name+" cannot be set after get"),Js(Error("ModFlag "+this.name+" cannot be set after get"))):this.h?(Vb("ModFlag "+this.name+" cannot be set twice"),Js(Error("ModFlag "+this.name+" cannot be set twice"))):(this.h=!0,this.value=a)};var xja=Symbol("D8DELc");
  function MV(a){var b=[],c={};c=(c[xja]=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={Kg:d.Kg},e=a.next()){var f=n(e.value);e=f.next().value;f=f.next().value;d.Kg=new LV(e,f);b.push(d.Kg);Object.defineProperty(c,e,{get:function(g){return function(){return g.Kg.get()}}(d),set:function(g){return function(h){g.Kg.set(h)}}(d)})}return c};var yja=MV({qA:!1}),NV=function(a,b){V.call(this);var c=this;this.m=a;b&&b.T(this);this.l=b||new Uu(this);this.h=this.l.signal();yja.qA||(this.g=new rx(a),this.T(this.g),a=new tL,this.T(a),a.listen(this.g,"tick",function(){c.l.R(c.h,void 0)}))};t(NV,V);NV.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))};NV.prototype.stop=function(){this.g?this.g.stop():this.enabled&&(clearInterval(this.j),this.j=void 0)};
  NV.prototype.ba=function(){this.stop();V.prototype.ba.call(this)};da.Object.defineProperties(NV.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.g?this.g.enabled:void 0!==this.j}}});var OV=function(){jM.call(this);var a=this;this.h=Za();this.g=new NV(1E3);this.T(this.g);this.g.h.attach(function(){var b=Za();6E4<b-a.h&&a.O("Ja");a.h=b});this.g.start()};t(OV,jM);Ma(OV);var PV=function(a){V.call(this);var b=this;this.o=new SQ("realtime.media.stats.BandwidthLatencyReporter");this.s=a;this.g=new Map;this.l=kt();this.m=kt();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,kt())});a=Array.from(this.j.values(),function(c){return c.promise});a=it(a);gt([a,this.l.promise,this.m.promise]).then(function(){zja(b)})};
  t(PV,V);var Aja=m(["Latency: "," Id: "," was marked at: ",""]),Bja=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(Aja,b,c,d);25===c&&vx(3E5).then(function(){a.m.resolve()})}}},Cja=m(["",""]),zja=function(a){if(0!==a.g.size){var b=new yQ;a.g.forEach(function(d,e){zQ(b,e,d.g)});var c=AQ(b);a.o.info(Cja,c.wa());a.s.then(function(d){return HS(d,c)});a.h.clear();a.g.clear()}};var Dja={SUCCESS:0,cs:100,bJ:101,lL:102,mL:103,HA:200,RA:221,Sr:201,xB:202,kC:203,XE:204,jF:205,QH:206,RH:207,WH:208,vI:209,Cs:210,JI:211,sI:222,cO:223,MI:212,EJ:213,DJ:214,MJ:215,qL:216,xL:217,oL:255,ZN:218,USER_CANCELED:219,nO:252,AO:220,bE:224,II:225,GI:226,WN:227,kD:228,wF:229,uJ:230,HI:231,hG:232,vG:233,xG:234,KJ:235,wI:236,MA:237,LA:238,aE:239,AI:240,wG:241,uG:261,sH:242,jD:243,ZF:244,vL:245,uL:249,uH:246,rD:247,PD:250,GF:248,Xr:251,nM:253,xI:254,zO:256,Yr:257,nD:258,gO:259,AH:260,HJ:262,hB:300,
  gC:301,MC:302,PC:332,QC:333,RC:334,NC:335,SC:336,VC:337,TC:338,OC:350,nG:303,pG:304,kI:305,rL:306,yG:339,eM:307,ED:308,oM:309,jG:310,dE:311,pL:312,nL:313,oG:314,aG:315,FD:316,tF:317,vC:318,SA:319,FI:320,KI:321,XN:322,fG:323,wH:324,rH:325,TA:326,sL:327,wL:328,tL:329,vH:330,tH:331,oC:340,pC:341,nC:342,CF:343,qJ:344,pJ:345,tM:346,eE:347,sM:348,lO:349,YL:351,KN:352};var QV=function(a,b,c,d,e){jM.call(this);var f=this;this.u=zg("realtime.media.session.SessionManager");this.N=a;this.Ga=b;this.D=this.Ga.j;this.o=new SQ("realtime.media.session.SessionManager");this.s=new tL(this);this.T(this.s);this.Fa=e;this.Ia=this.Aa=this.l=null;this.H="INITIAL";this.X=null;this.ob=new Uu(this);this.pb=this.ob.signal();this.j=new Map;ad(Rea,function(g){f.j.set(g,new Set)});this.eb=kt();this.h=new Set;this.ca=new Map;this.g=null;this.G=new SR;this.Z=new NP;this.Fc=c;this.Hb=d;
  this.m=[];this.ra=null;this.lb=[];IQ(this,{sessionManagerState:function(){return f.getState()},sessions:function(){return Array.from(f.h,function(g){return g.Ba()})}});this.Wb=kt();this.Oa=new Set;this.Ra=this.ia=null;this.ea=new qQ(a);this.sa=NK(a,FM);this.Za=new PV(this.sa.then());this.K=new yQ;this.oa=null;this.Bb=new Uu(this);this.dc=this.Bb.signal();this.ub=new Uu(this);this.rc=Wu(this.ub);this.ya=!1;this.nc=AN(xN("nlZjzc"),!1)};t(QV,jM);QV.prototype.ba=function(){this.h.forEach(Ds);jM.prototype.ba.call(this)};
  QV.prototype.getState=function(){return this.H};
  var Eja=m(["SessionManager changed state from "," to ",""]),RV=function(a,b,c,d){b!=a.H&&(a.o.info(Eja,a.H,b),a.H=b,a.O(new pQ(b,c,d)))},Fja=m(["Failed to create the cloud session."]),Ija=function(a,b,c){if("INITIAL"!=a.getState())return!1;var d=b.mg()&&Vf&&Sp(73)&&!AN(xN("Qb5Zab"),!1)&&!0;b=b.ka();b.Wj=d;d=b.mj&&b.mg()&&!AN(xN("b3GUjf"),!1);b=b.ka();b.mj=d;d=b.lg||AN(xN("r2N8Gc"),!1);b=b.ka();b.lg=d;d=b.Xl||AN(xN("Jd3rO"),!1);b=b.ka();b.Xl=d;d=b.Uj&&!AN(xN("n0TZ4"),!1);b=b.ka();b.Uj=d;d=BN(xN("tvRQLd"),
  -1);b=b.ka();b.zj=0<=d;b.zj&&(b=b.ka(),b.yg=d);b.Ee&&"low"!==b.Ee||b.Ae&&"low"!==b.Ae||!AN(xN("Yp6mEf"),!1)||(b=$R(ZR(b,"high"),"high"));b.lg&&a.ea.logImpression(5455);EQ&&(d=EQ,void 0!==d.h&&(d=!d.h,b=b.ka(),b.Bm=d));a.X=c;c=b;a.o.info(Gja,Gs(c.Ba()));a.G=c;a.g=SV(a);if(null==a.g)return a.o.pa(Fja),a.stop(16,"Failed to create cloud session."),!1;Hja(a,b);RV(a,"STARTING");return!0},Jja=m(["Connecting to hangoutId: ",", with participantId: "," and sessionLogData: ",""]);
  QV.prototype.connect=function(a,b,c){if("STARTING"!=this.getState()&&"INPROGRESS"!=this.getState())return!1;this.l=a;this.Aa=b;this.Ia=c;this.o.info(Jja,a,b,c);this.Wb.resolve(this.l);sc(TV(this),UV(this),VV(this)).forEach(function(d){d.ni(a,b,c)});return!0};
  var Gja=m(["Updating default options to: ",""]),Lja=function(a,b,c){c.lc()?(a=new UO("call/"+c.lc(),Kja,"collections"),b=b.ka(),b.l.set(a.Ff(),a)):Dg(a.u,"Collections' push channel not added. ClientResource not available");return b},XV=function(a){var b=TV(a);if(0<b.length)return b;b=VV(a);return 0<b.length?b:WV(a)},Mja=function(a){var b=[];XV(a).forEach(function(c){uc(b,Object.values(c.u))});return b},YV=function(a){var b=[];XV(a).forEach(function(c){uc(b,c.l)});return b},Nja=function(a){var b=XV(a);
  b=0<b.length&&b.every(function(c){return c.ef});b!=a.ya&&a.Bb.R(a.dc,b);a.ya=b},ZV=function(a,b){a.h.forEach(function(c){c.j.Ge||(c.j=UR(c.j,b),c.j.yf&&kV(c.g))});a.G=UR(a.G,b)},$V=function(a){a.G.yf||(a.h.forEach(function(b){b.j.yf||(b.j=VR(b.j),b.j.Ge&&kV(b.g))}),a.G=VR(a.G))},Oja=m(["Adding capture: ",""]),Qja=function(a,b){a.o.info(Oja,Gs(b.Ba()));var c=aW(a).map(function(d){return oV(d,b)}).every(function(d){return d})||"sc"==b.g.getContent();c?a.m.push(b):Pja(a,b);return c},Pja=function(a,b){aW(a).map(function(c){a:{switch(c.getState()){case "STOPPED":case "FINISHED":c.o.L(sia);
  c=!1;break a}if(c.pb){var d=b.g;"sc"==d.getContent()?JS(c.h):"v"==d.g&&yL(c.s,d,"H",c.mf);yL(c.s,b,"O",c.kf);var e=c.g;switch(e.j){case "STOPPED":e.o.L(Rja)}var f=e.g;f.o.info(Sja,b);var g=bW(b,f.g);f.ya.delete(b);yL(f.l,b,"Q",f.Fc);f.tc&&yL(f.l,b,"O",f.pd);if(f.Ia){var h=f.Ia;b===h.h&&null!==b&&yL(h,b,cW,h.m)}"d"!=b.ga()&&(dW(f,g),eW(f,null,b));b.Aa(e.h);e.s.delete(b);if(e=c.u[zV(d)])delete c.u[zV(d)],c.O(new jQ([],[e.getInfo()])),yga(c.h,e.getInfo());c=!0}else c=oc(c.eb,b)}return c}).every(function(c){return c})&&
  oc(a.m,b)},Tja=function(a,b){a.ra=b&&b.size?new Map(b):null;a.h.forEach(function(c){return c.g.pl(a.ra)})},Uja=function(a,b){a.ia=b;a.O("ea")},Vja=m(["No active session to get stream from to render source: ",""]),Wja=m(["Using stream: "," from "," to render source: ",""]),Xja=m(["Unable to find stream to use to render source: ",""]);
  QV.prototype.ta=function(a,b){var c=this.ia&&this.ia(a);if(c)return c;c=sc(TV(this),VV(this),WV(this));if(null!=b){for(var d,e=n(this.h),f=e.next();!f.done;f=e.next())if(f=f.value,f.rb()==b){d=f;break}d&&c.unshift(d)}if(0==c.length)return this.o.info(Vja,a),null;for(b=0;b<c.length;b++)if(d=c[b],e=d.ta(a),null!=e)return this.o.g(Wja,e.getInfo(),d.rb(),a),e;this.o.L(Xja,a);return null};QV.prototype.wf=function(a){sc(WV(this),VV(this),TV(this)).forEach(function(b){b.wf(a)})};
  var Yja=function(a,b){a.h.forEach(function(c){CV(c,b)});a.lb=b},Zja=m(["Stopping video call because stop called with endCause: ",""]);QV.prototype.stop=function(a,b){this.o.info(Zja,a);if("INITIAL"==this.getState()||"STOPPED"==this.getState()||"FINISHED"==this.getState())return!1;this.Za.l.resolve();RV(this,"STOPPED",a,b);this.h.forEach(function(c){c.stop(a,b)});return!0};
  var $ja=m(["Did not create cloud session."]),aka=m(["Local session initialize failed to create local offer."]),bka=m(["Local session initialize completed."]),cka=m(["Failed to create session."]),dka=m(["Failed to initialize session"]),SV=function(a){var b=EQ&&EQ.j?ct(EQ.j):ct(null),c=a.G,d=eka(a,c);if(null==d)return a.o.L($ja),null;fka(d.g).then(d.Zi,null,d).then(function(e){if(e){a.o.info(bka);e=Lja(a,e,c);c.Ve||(e=GP(e,e.za.Jg([gka])));var f=Gea(a.Z,e,c.Me(),c.oA,c.Si,c.Ei());e=ufa();null!=e&&U(f,
  20,e);Q(f,22,a.nc);EQ&&EQ.s&&Q(f,24,!0);c.Dk()&&d.g.rm()&&(a.ea.logImpression(4355),Q(f,9,!0),Q(f,11,1));zQ(a.K,878);a.sa.then(function(g){return HS(g,AQ(a.K))});ot(b.then(function(g){g&&Q(f,19,g)}).then(function(){return a.X.add(f)}).then(function(g){M(g,17)&&M(g,21)&&a.ub.R(a.rc,N(g.Ei(),1,0)===L(g,21));var h=QP(a.Z,g);null==h?(a.ea.logImpression(3947),d.stop(16,"Error parsing session proto.")):fW(a,d,h);return g}),function(g){g instanceof DR&&a.ea.logImpression(3945);var h="Failed to create session. Error: "+
  g;VQ(a.o,g).L(cka);a.ea.logImpression(3949,{kc:h});h.includes("Malformed RTCIceServer")&&a.ea.logImpression(4264);d.stop("transport_unavailable"==g.yd?108:16,h);throw g;})}else a.o.pa(aka),a.ea.logImpression(3942),d.stop(16,"Local session initialize failed to create local offer.")},function(e){VQ(a.o,e).L(dka);var f="Failed to initialize session. Error: "+(e instanceof Error?"Error { "+Xf(e)+" }":Yf(e));a.ea.logImpression(3943,{sessionId:d.h.g||void 0,kc:f});d.stop(109,f);throw e;});d.g.nq()&&(a.Oa.add(d),
  hka(a));d.ob.j.attach(function(){Nja(a)});return d},kka=function(a,b){var c=a.D.nh();c&&(b=b.ka(),b.vh=c);if(c=a.D.oh()){var d=b.ka();b.vh&&(c=Math.max(b.vh,c));d.Vk=c;b=d}c=a.D.qh();b=b.ka();b.Dg=c;c=ika(a.Ga,a.N,b);c.pl(a.ra);d=b;var e=AN(xN("M3bN6b"),!1);var f=N(S(a.D.g,qL,13),1,3E4);e=new FR(a.X,a.D.j,{fA:f,rA:e});d=new yS(a.N,a.D,e,{ru:d.zi,Lc:a.Fa});e=jka(a,b);return new lV(a.N,a.Ga,e,d,c,b,a.Fa)},jka=function(a,b){var c=dR(a.D,a.Fa);return new aS(function(d,e){return cR(c,d,e)},a.D.lc(),hea(a.D),
  b)},eka=function(a,b){b=kka(a,b);if(null==b)return null;a.h.add(b);a.j.get(b.getState()).add(b);a.ca.set(b.rb(),b.getState());b.ra=a.Hb;b.s.listen(b.ra,"Ia",b.Rg);b.sa=a.Fc;b.s.listen(b.sa,"Ia",b.Sg);CV(b,a.lb);a.oa&&oS(b.Ga,a.oa);hV(a.ob,a.pb,b.gf);a.s.listen(b,["Ea","$","ea","Z"],a.O);a.s.listen(b.g,BR,function(c){return a.O(c)});a.s.listen(b.h,qS,function(c){return a.O(c)});a.s.listen(b,"ga",a.pc);AN(xN("blBVW"),!0)&&a.s.listen(b,"Y",a.Ec);a.s.listen(b,"W",a.oc);a.s.listen(b.g,BR,a.uc);a.s.listen(b,
  "X",a.tc);return b},lka=function(a,b,c){b.start(c);a.m.forEach(function(d){oV(b,d)})},aW=function(a){return sc(Array.from(a.j.get("INITIAL")),WV(a),VV(a),UV(a),TV(a))},UV=function(a){return Array.from(a.j.get("PAUSED"))},TV=function(a){return Array.from(a.j.get("INPROGRESS"))},VV=function(a){return Array.from(a.j.get("STARTED"))},WV=function(a){return Array.from(a.j.get("STARTING"))};QV.prototype.oc=function(a){fW(this,a.h,a.g)};
  var mka=m(["Received remote description for session "," with sufficient data to allow session preparation."]),nka=m(["Received remote description for session "," with sufficient data to allow starting the session."]),fW=function(a,b,c){var d=b.getState(),e=0!=tc(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<tc(e.l).length;e=f&&"INITIAL"==d;f=f&&g&&("INITIAL"==d||"STARTING"==d);d="INITIAL"!=d&&"STARTING"!=d;g=c.j;null!=g&&
  sV(b,g);e&&(a.o.info(mka,xS(b.h)),qV(b));if(f)a.o.info(nka,xS(b.h)),lka(a,b,c);else if(d)a:{switch(b.getState()){case "INITIAL":case "STARTING":b.o.L(jja);break a;case "STOPPED":case "FINISHED":b.o.L(kja);break a}Dea(b.Ra,c)||(b.Ra.g.g!=c.g.g&&b.O(new mQ(c.j)),b.Ra=HP(c,c.Ya),b.o.info(lja,Gs(c.Ba())),a=uV(c),0<a.length&&vV(b.g.g,a),c=JV(b,c),c=rV(b,c),b.m=JP(IP(b.m,c.g),tc(c.h)),a=b.m,(d=a.za)?d=zP(d,c.za):d=c.za,(e=a.qa)?e=zP(e,c.qa):e=c.qa,a=DP(GP(a,d),e),b.m=a,a=b.m.za,null!=a&&(b.oa=kP(a),b.O(new kQ(b.oa))),
  null==a&&null==b.m.qa||b.g.update(b.m,[]))}};QV.prototype.uc=function(a){Bja(this.Za,a.message)};QV.prototype.tc=function(){var a=this.g;gW(this,a,a,7)};
  QV.prototype.Ec=function(a){var b=this;switch(this.getState()){case "INITIAL":Dg(this.u,"Received local candidates before starting.");return;case "STOPPED":case "FINISHED":Dg(this.u,"Received local candidates after end.");return}var c=a.target,d=a.g.map(function(g){g=b.Z.h(g);Q(g,9,void 0);return g});if(!(1>d.length)){var e=new QB;xl(e,6,d);if(d=c.g.g.localDescription.g)if(Q(e,4,d.j),Q(e,5,d.h),d.g){var f=new RB;Q(f,1,d.g.split(" ")[0]);Q(f,2,d.g.split(" ")[1]);U(e,2,f)}d=tc(c.g.g.localDescription.h).map(function(g){return b.Z.Jn(g)});
  c=new VB;Q(c,1,4);U(c,2,e);xl(c,4,d);e=new $B;e.l(a.sessionId);qC(e,[c]);this.X.j(e)}};
  QV.prototype.pc=function(a){var b=a.target,c=this.ca.get(b.rb()),d=b.getState();if(c!=d){this.ca.set(b.rb(),d);this.j.get(c).delete(b);this.j.get(d).add(b);"INPROGRESS"==d&&this.eb.resolve(b);switch(d){case "STARTED":oka(this,b);break;case "INPROGRESS":pka(this,b);break;case "STOPPED":qka(this,b,a.Ob,a.g);break;case "FINISHED":this.j.get(b.getState()).delete(b),this.ca.delete(b.rb()),this.h.delete(b),this.Oa.delete(b),Ds(b),this.h.size==this.j.get("FINISHED").size&&("STOPPED"!=this.H?Dg(this.u,"Session Manager finished before stopping."):
  RV(this,"FINISHED"))}this.O(a)}};
  var oka=function(a,b){null!=a.l&&null!=a.Aa&&null!=a.Ia&&(b.ni(a.l,a.Aa,a.Ia),TV(a).filter(function(c){return c!=b}).forEach(function(c){gW(a,c,b)}))},pka=function(a,b){if("INITIAL"==a.getState()||"STOPPED"==a.getState()||"FINISHED"==a.getState())Cg(a.u,"Should not have new active sessions now.");else{"STARTING"==a.getState()&&RV(a,"INPROGRESS");wja(b,a.G.bh);var c=b.rb();TV(a).filter(function(d){return c!=d.rb()}).forEach(function(d){d.pause()})}},rka=m(["Cloud session "," to cloud handoff failed"]),
  ska=m(["All sessions now stopped."]),qka=function(a,b,c,d){a.m.forEach(function(f){f.Aa(b.rb())});if(26==c)c=a.g,a.g=SV(a),c&&(a.g?gW(a,c,a.g,6):a.o.pa(rka,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(ska),a.stop(c,d)):0==TV(a).length&&UV(a).forEach(function(f){f.resume();gW(a,b,f)})}},gW=function(a,b,c,d){d=void 0===d?6:d;var e=Y().g;c.g.Dq();var f=c.g.jo();if(f){var g=d;f.then(function(){var h=Y().g;7==d&&(zQ(a.K,29,e),zQ(a.K,30,h),
  a.sa.then(function(l){return HS(l,AQ(a.K))}));hW(a,b,c,h-e,g)},function(){hW(a,b,c,null,g)})}},tka=m(["Upload log failed during handoff"]),uka=m(["Cloud to cloud handoff took: "," ms"]),vka=m(["Cloud to cloud DTLS handoff took: "," ms"]),hW=function(a,b,c,d,e){var f=vaa(uaa(taa(Q(saa(new xH,e),2,0),b.h.g),c.h.g),d);f=Gaa(f);ot(cS(b.G,f,b.rb()),function(g){VQ(a.o,g).L(tka)});6==e?(a.o.info(uka,d),a.ea.logImpression(null===d?4653:4652,{sessionId:c.h.g||void 0})):7==e&&(a.o.info(vka,d),a.ea.logImpression(null===
  d?5589:5588,{sessionId:c.h.g||void 0}))},hka=function(a){a.Ra||(a.Ra=OV.Qb(),a.s.listen(a.Ra,"Ja",a.Dc))},wka=m(["SleepWatcher fired. Waiting 3 seconds to determine if media is live."]),xka=m(["SleepWatcher fired but session is still live. Not suspending."]),yka=m(["Suspend triggered by SleepWatcher, effecting "," session(s)."]);
  QV.prototype.Dc=function(){var a=this,b=new Set(this.Oa);0===b.size?Eg(this.u,"SleepWatcher suspend ignored. No effected sessions."):(this.o.info(wka),vx(3E3).then(function(){a.g.No()?(a.o.info(xka),a.ea.logImpression(4588),a.O("ca")):(a.o.L(yka,b.size),a.ea.logImpression(2056),zka(a,b),a.O("da"))}))};
  var zka=function(a,b){var c=a.m.concat().filter(function(d){return"v"===d.ga()});Eg(a.u,"Muting "+c.length+" video capture(s).");c.forEach(function(d){return iW(d)});vx(2E3).then(function(){b.forEach(function(d){switch(a.getState()){case "STOPPED":case "FINISHED":Eg(a.u,"Suspend ignored for finished/stopped session. "+d);return}Eg(a.u,"Ending session due to SleepWatcher trigger. "+d);a.stop(112,"JS was suspended for too long.")})})},Hja=function(a,b){var c=a.g;c&&c.g.rm()&&b.Dk()?NK(a.N,eR).then(function(d){Aka(d);
  a.ea.logImpression(4899)},function(){return a.ea.logImpression(4900)}):a.ea.logImpression(4900)};bP(new aP,"a").ja();var gka=gP(bP(new aP,"a"),!1).ja();iP(hP(bP(new aP,"v"),fR),30).ja();iP(hP(bP(new aP,"v"),hR),30).ja();var Kja=1;var jW=function(a,b,c,d,e){eQ.call(this);var f=this;this.H=new NP;this.h=a;this.G=b;this.D=e;this.g=new Map;this.l=new ZP;this.l.F=this;this.u=new tL(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(jW,eQ);var Bka=function(a,b,c,d,e){return new jW(a,b,c,d,e)};jW.prototype.j=function(a){""==a.Y()&&(a.s=this.h);this.l.add(a)};jW.prototype.Gf=function(a){return a==this.h?this.l:this.g.get(a)||null};
  jW.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 ZP;e.F=b;b.g.set(d,e);b.O(new dQ("T",d,e))}});this.g.forEach(function(d,e){c.has(e)||b.g.delete(e)&&b.O(new dQ("U",e,d))});this.m()};
  jW.prototype.m=function(){var a=this,b=new Set;this.G.get().forEach(function(c){var d=c.Y();if(d&&(d=a.g.get(d))){var e=a.H,f=c.Y();var g=c.Da();var h=SP(c.ga()),l="un";if(null!=S(c,zC,7)){a:{var q=L(S(c,zC,7),1);switch(q){case 1:l="ca";break a;case 2:l="sc";break a}Dg(MP,"Unknown capture type: "+q);l="un"}q=PP(T(S(c,zC,7),AC,3),e.D,e)||void 0}if(null!=S(c,BC,8)){var r=ml(S(c,BC,8),2);r="number"===typeof r?r:void 0}e=S(c,wC,5)&&S(c,wC,5).Jc()?"mu":"li";var y=null;null!=f&&null!=g&&null!=h&&(y=rO({lj:f,
  id:g,mediaType:h,content:l,state:e,mq:r,Hr:q}));if(g=y)(f=$P(d,g.g,g.getId(),g.Y()))?(pO(f,g.getContent()),d=g.j,f.j!=d&&(f.j=d,f.O("I")),qO(f,g.getState()),d=g.h&&tc(g.h),mO(f,d)&&f.O("K")):d.add(g)}b.add(kW(c.Y(),c.Da()))});YV(this.D).forEach(function(c){var d=c.Y(),e=c.Da();if(d!=a.h&&!b.has(d+"/"+e)){c=c.getInfo().ga();var f=a.g.get(d);null==f||$P(f,c,e,d)||f.add(rO({lj:d,id:e,mediaType:c}));b.add(d+"/"+e)}});this.g.forEach(function(c){Array.from(c.g).forEach(function(d){b.has(kW(d.Y(),d.getId()))||
  c.remove(d)})})};var kW=function(a,b){return a+"/"+b};var lW=new rK("y89nuf","Z6rzZb",[eR]),Cka=new rK("zTvcgf","C9jSBe"),Dka=new rK("L6b6Xe","BezZ2c");var Eka={zI:0,lE:1,kE:2,rJ:3,MM:4,LM:5,KM:6,SUCCESS:7},Fka=[4,5,6,7];Object.freeze({Kt:!0,tA:!0});Object.freeze({Kt:!1,tA:!1});var mW=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};
  mW.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+")")};
  mW.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};mW.prototype.getDeviceId=function(){return this.g};var nW=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};nW.prototype.ja=function(){return new mW(this)};(new nW).ja();var oW=function(a){this.id=a.Wa;this.displayName=a.g;this.groupId=a.C;this.g=a.h;this.isSelected=a.l};oW.prototype.toJson=function(){return{id:this.id,displayName:this.displayName,groupId:this.groupId,fullName:this.g,isSelected:this.isSelected}};oW.prototype.toString=function(){return"Device(id="+this.id+", displayName="+this.displayName+", groupId="+this.groupId+", fullName="+this.g+", isSelected="+this.isSelected+")"};var pW=function(){this.Wa=null;this.h=this.C=this.g="";this.l=!1};
  pW.prototype.ja=function(){return new oW(this)};var qW=function(a){var b=new pW;b.Wa=a;return b};pW.prototype.j=function(a){this.C=a;return this};var rW=qW("__absent_device__");rW.g="__absent_device__";var sW=rW.j("__absent_device__");sW.h="__absent_device__";var Gka=sW.ja();var tW=function(){jM.call(this);var a=this;this.h=0;this.s=new Uu(this);this.u=Wu(this.s);this.g=this.m=null;this.j=new tL(this);this.T(this.j);this.l=new tL(this);this.T(this.l);IQ(this,{participantAudioMonitor:function(){return{participantId:a.g&&a.g.Y(),lastVolumeChangedValue:a.h,lastVolumeChangedTime:a.m}}},!1)};t(tW,jM);tW.prototype.ba=function(){Ds(this.g);jM.prototype.ba.call(this)};
  var Hka=function(a,b,c){null!=a.g&&a.g.matches(c,void 0,void 0)||(b=new hS(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.Xx).listen(a.g,"ma",a.nz).listen(a.g,"ka",a.Zx).listen(a.g,"la",a.iq),a.iq(),a.O("Oa"),null!=c&&Ds(c)))};k=tW.prototype;k.Xx=function(a){this.O(a)};k.nz=function(){this.O("Pa")};k.Zx=function(){};k.iq=function(){this.l.removeAll();if(null!=this.g){var a=this.g.ta();null!=a&&this.l.listen(a,"fa",this.jq)}this.jq()};k.jq=function(){this.O("Qa")};
  var uW=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,{Gm:b}))};var vW=hR.clone();vW.width*=.75;vW.height*=.75;var wW=gR.clone();wW.width*=.75;wW.height*=.75;var xW=function(){this.g=[]},Jka=function(a){return fg(yW.g.map(function(b){return Ika(b,a)}))},Ika=function(a,b){b=void 0===b?function(c){return new c}:b;return a.fd?b(a.fd):a.instance},zW=function(){xW.apply(this,arguments)};t(zW,xW);var AW=function(a){this.m=a;this.ma=a.ma},Kka=function(a){return Jka(function(b){return new b(a)})};k=AW.prototype;k.Xo=function(){return null};k.bj=function(){return null};k.Wo=function(){return null};k.Uo=function(){return null};k.Vo=function(){return null};k.Rn=function(){return null};var yW=new zW;var BW=new rK("qb1U6e","ma",[mL,eR,YU]);var CW=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 EW=function(a){jM.call(this);var b=this;this.ma=a;this.j=this.l=null;this.D=NK(a,GM);this.m=NK(a,QN,!0).then(function(c){b.j=c;DW(b,6273);return c},function(c){DW(b,6274);throw c;});this.s=0;this.u=kt();ht([this.m,this.u.promise]);this.h=null;this.g=Kka(this);DW(this,6661)};t(EW,jM);
  var Lka=function(a){MK(a,BW)||VK(a,BW,function(b){return new EW(b)})},Mka=function(a){null==a.h&&(a.h=ht([CW(a.g,function(b){return b.Xo()})||7,a.m]).then(function(b){return b[0]}),a.h.then(function(b){b!=a.s&&"number"===typeof b&&id(Eka,b)&&(a.s=b,a.O("bb"))},function(){return a.h=null}));return a.h},cia=function(a){return CW(a.g,function(b){return b.Wo()})||null},Nka=function(a){a.l||(a.l=CW(a.g,function(b){return b.Rn()}));return a.l},ika=function(a,b,c){var d="c"+Math.round(2147483648*Math.random())+
  Math.round(2147483648*Math.random())+"_NMS";return CW(a.g,function(e){return e.Uo(b,d,c)})},Oka=function(a){return CW(a.g,function(b){return b.Vo()})},DW=function(a,b){a.D.then(function(c){c.logImpression(b)})};sK(BW,EW);var Qka=Pka();
  function Pka(){var a=od({fO:0,rO:1,xC:2,uC:25,yF:13,xF:3,BF:14,aI:4,lB:15,mH:16,lH:5,vE:17,yE:6,rE:7,kL:8,jL:31,xE:9,rB:10,nB:11,oB:12,pB:26,qB:27,sB:28,CO:18,BO:19,QE:20,SE:21,RE:22,TE:23,wC:24,dD:29,cD:30,mJ:100,kJ:101,lJ:102,hM:103,fM:104,gM:105,rM:106,pM:107,qM:108,JM:109,HM:110,IM:111,qC:112,lC:113,mC:114,ZG:200,cH:201,dH:202,aH:203,eH:204,bH:205,fB:300,eB:301,fF:302,eF:303,NL:304,ML:305,YG:306,XG:307,uB:308,tB:309,VJ:310,UJ:311,UI:312,SI:313,TI:314,YH:315,XH:316,SD:317,RD:318,aF:319,ZE:320,
  WL:321,SL:322,VL:323,TL:324,qI:325,pI:326,ZJ:327,YJ:328,LL:329,GL:330,HL:331,IL:332,JL:333,KL:334,EE:335,DE:336,uD:337,tD:338,yD:339,vD:340,PE:341,OE:342,uE:343,tE:344,sE:345,xD:346,wD:347,gB:348,hC:349,fD:350,iE:351,LF:352,yL:353,zL:354,NM:355,hF:356,gF:357,cF:358,bF:359,KF:360,IF:361,HF:362,JF:363,JC:364,HC:365,IC:366,NH:400,MH:401,yO:500,xO:501,vO:502,wO:503,OD:600,MD:601,ND:602,FK:603,DK:604,EK:605,ID:606,GD:607,HD:608,zH:609,xH:610,yH:611,gL:700,iL:701,hL:702,fL:703,QK:704,PK:705,UK:706,TK:707,
  eL:708,VK:709,LK:710,NK:711,MK:712,bL:713,aL:714,ZK:715,YK:716,XK:717,WK:718,SK:719,RK:720,dL:721,cL:722,KK:723,JK:724,qH:801,eG:884,BG:894,FG:802,zG:885,AG:886,EG:803,HG:899,GG:1700,DG:1719,CG:1720,RF:887,TF:888,SF:889,QF:890,dG:804,lF:805,kF:806,IH:807,LH:891,HH:892,KH:893,JH:883,wE:808,zE:809,pH:810,wM:811,yC:812,yM:813,PH:814,xM:815,kH:816,CK:817,GH:818,zD:819,FH:820,eK:821,fK:822,cK:823,dK:824,hK:825,jK:832,iK:833,gK:826,kK:827,mK:863,lK:864,nK:828,oK:829,VH:830,UH:831,KA:834,JA:835,FM:836,DM:837,
  CM:838,GM: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,nJ:859,oJ:860,QA:861,PA:862,SG:873,OG:874,QG:875,PG:895,dB:876,cB:877,jH:878,tC:881,sC:882,VA:896,WA:897,UA:898,KD:1701,LD:1702,JD:1703,XI:1704,YI:1705,WI:1706,VI:1707,PO:1708,OO:1709,GB:1710,yB:1711,zB:1712,AB:1713,BB:1714,DB:1715,CB:1716,FB:1717,EB:1718,MG:1800,wJ:1721,vJ:1722,yJ:1723,
  xJ:1724,VM:900,UM:901,XM:902,WM:903,TM:904,SM:905,jN:1E3,pN:1001,oN:1002,dN:1003,cN:1004,nN:1012,mN:1013,iN:1005,lN:1006,kN:1007,hN:1008,gN:1009,fN:1010,eN:1011,SO:1100,UO:1101,TO:1102,RO:1103,QO:1104,pK:1200,rK:1201,qK:1202,sN:1300,wN:1301,vN:1302,CN:1303,BN:1304,xN:1305,yN:1306,zN:1307,AN:1308,uN:1309,tN:1310,DN:1311,QM:1400,OM:1401,PM:1402,pF:1500,oF:1501,qF:1502,rF:1503,nF:1504,mF:1505,DO:1600,FO:1601,EO:1602,GO:1603});return function(b){return a[b]}};function FW(a){return(a.el?"\ud83d\udc4e":"\ud83d\udc4d")+" "+a.timestamp+" "+Qka(a.id)};var GW=zg("realtime.analytics.markrecord.MarkRecorder"),HW=function(a,b){V.call(this);this.j=a;this.h=new Uu(this);this.g=new Map;this.l=this.h.signal();b&&b.T(this)};t(HW,V);k=HW.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.Dh=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];this.kx.apply(this,[void 0].concat(p(b)))};
  k.kx=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())IW(this,{id:d.value,timestamp:a,el:!1})};k.el=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];this.xx.apply(this,[void 0].concat(p(b)))};k.xx=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())IW(this,{id:d.value,timestamp:a,el:!0})};
  var IW=function(a,b){if(a.C())Cg(GW,FW(b)+" from "+a.j+" when disposed");else{var c=!a.g.has(b.id);Eg(GW,FW(b)+" from "+a.j+" "+(c?"\u2714\ufe0f":"\u2716\ufe0f"));c&&(a.g.set(b.id,b),a.h.R(a.l,b))}};var JW=function(a){J(this,a,0,-1,null,null)};w(JW,I);var KW=function(a,b){this.g=a;this.xr=b;this.h=new SQ("google3.javascript.apps.realtime.media.a.concrete_media_sessions_client")};KW.prototype.add=function(a){var b=this,c=this.xr,d={};c&&(d["X-Goog-Meeting-Identifier"]=Rka(c));c=new sC;c.setRequestHeader(this.g.g());tC(c,[a]);return ot(this.g.makeRequest("media_sessions/add",c,CD,{},null,d).then(function(e){return ER(T(e,$B,4))}),function(e){b.h.pa(LW,"add",e);throw e;})};
  KW.prototype.j=function(a){var b=this,c=new HH;c.setRequestHeader(this.g.g());IH(c,[a]);ot(this.g.makeRequest("media_sessions/modify",c,JH).then(function(d){return T(d,$B,4)}),function(d){b.h.pa(LW,"modify",d);throw d;})};var Ska=m(["The requested resource was not found. ",""]);
  KW.prototype.query=function(a,b){var c=this,d=new uC;d.setRequestHeader(this.g.g());Q(d,2,a);null!==b&&(a=Il(new Gl,b),d.J(a));return ot(ot(this.g.makeRequest("media_sessions/query",d,DD,{vm:3E3,ox:8}).then(function(e){var f=e.W().tb();return{session:S(e,$B,2),version:f}}),function(e){if("fatal"===e.status&&"not_found"===e.yd)throw c.h.pa(Ska,Zf(e)),new ZQ("",11);throw Error(e.toString());}),function(e){c.h.pa(LW,"query",e);throw e;})};
  var LW=m(["remote session rpc failed, operation: ",", error: ",""]),Rka=function(a){var b=new JW;b=sl(b,1,2);a=R(b,2,a);b=new Ik;var c=N(a,1,0);0!==c&&Vk(b,1,c);c=N(a,2,"");0<c.length&&G(b,2,c);a=Mk(b);return Gk(a)};var MW=new rK("uuTheb",ud()?"Z5j79c":"SFhYHb");var NW=new rK("PyB2Cf","zYiFGf"),OW=new rK("eLo6Uc","hioBjc");var PW=new rK("ENyb7");var QW=function(){V.call(this);this.h=new Uu(this);this.Wc=this.h.signal()};t(QW,V);QW.prototype.Y=function(){return null};var RW=function(a){QW.call(this,a);this.g=new tL(this);this.T(this.g)};t(RW,QW);RW.prototype.Y=function(){return QW.prototype.Y.call(this)};var SW=function(){this.g=0;this.h=kt();this.j=null};SW.prototype.then=function(a,b,c){return this.h.promise.then(a,b,c)};var TW=function(a,b){return nt(a.h.promise,b,void 0)};SW.prototype.get=function(){return this.j};var UW=function(a){return 2==a.g};Vs(SW);var VW=function(){this.g=new SW};VW.prototype.resolve=function(a){var b=this;0==this.g.g&&(this.g.h.resolve(a),Ws(a)?(a.then(function(c){return WW(b,c)},function(){return WW(b,null)}),this.g.g=1):WW(this,a))};
  var WW=function(a,b){a.g.g=2;a.g.j=b};VW.prototype.reject=function(a){0==this.g.g&&(this.g.g=2,this.g.h.reject(a))};var YW=function(){V.call(this);var a=this;this.h=[];this.g=new XW(function(b){return Tka(a,b)});this.T(this.g)};t(YW,V);var Tka=function(a,b){return a.h.reduce(function(c,d){d=d.filter;return d(c)},b)},XW=function(a){eV.call(this);this.l=a;this.h=[];this.g=!1};t(XW,eV);var EV=function(a,b){a.h=tc(b);a.g||(a.g=!0,Ts(a.j,a))};XW.prototype.j=function(){this.g=!1;var a=this.l(this.h);this.O(new fV(a))};var ZW=new rK("zlvswc","DWfIKf");var $W=function(a,b){this.g=a;this.query=b};$W.prototype.add=function(a){return this.g.add(a).then(ER)};$W.prototype.j=function(a){ML(this.g,a)};var aX=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},bX=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 gM(this.g);this.h=0};bX.prototype.add=function(a){var b=this.j.add(a);this.l(a)&&(this.h+=1);void 0!=b&&this.l(b)&&--this.h};bX.prototype.C=function(a){return this.m<=a&&a<=this.u};
  var cX=function(a){return a.j.xa()<a.g?!1:a.h/a.g>=a.s},dX=function(a){return a.j.xa()>=a.g},eX=function(a){this.h=new gM(a);this.l=a;this.j=this.g=0};eX.prototype.add=function(a){var b=this.h.add(a),c=this.h.xa();this.g+=a;b&&(this.g-=b);this.j=this.g/c};var Uka=function(a){return a.h.xa()>=a.l};var fX=function(a,b,c,d){V.call(this);var e=this;this.M=c;this.ea=a;this.l=new Map;this.G=new Uu(this);this.g=this.G.signal();this.u=0;this.F=new gM(300);d&&Cs(this,HQ(GQ.Qb(),d.name,function(){return d.cb.concat(Vka(e))}));b.attach(function(f){var g=f.nd,h=f.data;f=f.sequenceNumber;1<f-e.u&&e.reset();h=e.Ta(h,g);null!==h&&(e.Qo(h),e.u=f,e.vb(h),e.jb(h),e.yj(h,g),e.G.R(e.g,h))},this)};t(fX,V);fX.prototype.logImpression=function(a,b){this.ea.logImpression(a,b)};
  var gX=function(a,b,c,d){c!==a.l.get(b)&&a.logImpression(c,d);a.l.set(b,c)},hX=function(a,b,c){gX(a,"O0r3Gd",b,c)},iX=function(a){a.l.delete("O0r3Gd")},jX=function(a,b,c){gX(a,"jOfkMb",b,c)},kX=function(a){a.l.delete("jOfkMb")};k=fX.prototype;k.Qo=function(a){Fg(this.M,JSON.stringify(a))};k.reset=function(){};k.vb=function(){};k.yj=function(a,b){0===this.u%this.og()&&this.F.add({data:a,nd:b})};k.og=function(){return 10};k.jb=function(){};
  var Wka=function(a){var b=Math.min(a.F.xa(),300);return iM(a.F,b)},Vka=function(a){return Wka(a).map(function(b){return[b.nd].concat(p(a.Va(b.data)))})};var lX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.BandwidthEstimateMonitor");fX.call(this,a,b,c,{name:"recentAvailableSendBandwidth",cb:["Time Since Call Start","Required Send Bandwidth (kbps)","Available Send Bandwidth (kbps)"]});this.j=0;this.h=!1;this.m=Y()};t(lX,fX);
  lX.prototype.Ta=function(a,b){var c=L(a[0],124)||0;c=Math.round(c/100)/10;a=L(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<vQ(g,b));return{Ul:c,yi:a,Qi:d,gb:b,ib:f,Ha:e}};lX.prototype.vb=function(a){var b=a.Qi,c=a.ib;(a.Ha||c)&&jX(this,b?3747:3763)};lX.prototype.jb=function(a){var b=a.Qi;a=a.gb;this.h!==b&&(this.h=b,this.m=a)};
  lX.prototype.Va=function(a){return[a.Ul,a.yi]};var mX=function(a,b,c){V.call(this);var d=this;this.g=new Uu(this);this.onChange=this.g.signal();this.l=Wu(this.g);c?this.j=c:(this.j=new lX(a,b),this.T(this.j));this.h=!1;this.j.g.attach(function(e){var f=e.Qi,g=e.Ha,h=f&&!d.h;g=!f&&g&&d.h;e={Ul:e.Ul,yi:e.yi,Qi: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(mX,V);var nX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.de?!0:d.de;d=void 0===d.Cc?10:d.Cc;var e=zg("realtime.media.stats.emitters.monitors.AnqMonitor"),f={name:"anqScores",cb:["Time Since Call Start","Average ANQ Score"]};fX.call(this,a,b,e,c?f:void 0);this.j=new Map;this.h={dg:0,ji:"XhYBrd",nd:0};this.m=new Uu(this);this.s=Wu(this.m);this.D=d};t(nX,fX);
  nX.prototype.Ta=function(a,b){var c=this,d=[];a.forEach(function(e){var f=ml(e,207);if(null!=f&&(d.push(f),e=1===LG(e).length?L(LG(e)[0],3):null,null!==e)){c.j.has(e)||c.j.set(e,{Bh:{active:!1,startTime:0},rh:{active:!1,startTime:0}});f=aX(oX,f);e=c.j.get(e);var g="AGpuT"===f;f="ElqWd"===f||g;g!==e.rh.active&&(e.rh.active=g,e.rh.startTime=b);f!==e.Bh.active&&(e.Bh.active=f,e.Bh.startTime=b)}});Xka(this,b);if(0===d.length)return null;a=Math.max.apply(Math,p(d));this.h.dg=0===this.h.nd?a:.7*a+this.h.dg*
  (1-.7);this.h.nd=b;this.h.ji=aX(oX,this.h.dg);return{dg:this.h.dg,ji:this.h.ji,nd:b}};nX.prototype.Va=function(a){return[a.dg]};nX.prototype.og=function(){return this.D};var Xka=function(a,b){a.j.forEach(function(c,d){c.Bh.active&&60<b-c.Bh.startTime&&a.m.R(a.s,d);c.rh.active&&30<b-c.rh.startTime&&a.m.R(a.s,d)})},pX={},oX=(pX.XhYBrd=[-.1,.2],pX.ElqWd=[.2,.6],pX.AGpuT=[.6,1],pX);var qX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.de?!0:d.de;d=void 0===d.Cc?10:d.Cc;var e=zg("realtime.media.stats.emitters.monitors.RttMonitor"),f={name:"recentRTT",cb:["Time Since Call Start","Connection Round trip time (ms)","Audio Round trip time (ms)","Video Round trip time (ms)"]};fX.call(this,a,b,e,c?f:void 0);this.h=new Map([[1,0],[2,0]]);this.j=d};t(qX,fX);
  qX.prototype.Ta=function(a){var b=this,c=CG(a).find(function(f){return!!(L(f,2)&1)}),d,e;AG(a).forEach(function(f){if(0==TG(f)){var g=SG(f),h=L(f,7);switch(g){case 1:h&&h==b.h.get(g)?d=-1:(d=L(f,6),b.h.set(g,h));break;case 2:h&&h==b.h.get(g)?e=-1:(e=L(f,6),b.h.set(g,h))}}});return{hu:c?L(c,3):-1,Dn:d,vA:e}};qX.prototype.Va=function(a){return[a.hu,a.Dn,a.vA]};qX.prototype.og=function(){return this.j};var rX=function(a,b,c,d){V.call(this);var e=this;this.ea=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.ji){if(200>e.m){f=60<=e.g;e.g+=g;var h=60<=e.g;!f&&h&&e.ea.logImpression(5966)}else 60<=e.g&&e.ea.logImpression(5967),e.g=0;200<e.l?(f=60<=e.j,e.j+=g,h=60<=e.j,!f&&h&&e.ea.logImpression(5971)):(60<=e.j&&e.ea.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.ea.logImpression(5973)):(30<=e.h&&e.ea.logImpression(5974),e.h=0)}else 60<=
  e.g&&e.ea.logImpression(5967),e.g=0,60<=e.j&&e.ea.logImpression(5972),e.j=0,30<=e.h&&e.ea.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.yi},this);this.H=c;this.H.g.attach(function(f){e.l=f.Dn},this);this.F=this.h=this.j=this.g=this.l=this.m=0;this.u=new Uu(this);this.G=Wu(this.u)};t(rX,V);var sX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audioreceived.BitRateMonitor");fX.call(this,a,b,c,{name:"recentMaxAudioRecvBitrate",cb:["Time Since Call Start","Max Audio Recv Bitrate"]});this.j=Y();this.m=xQ;this.D=new Map;this.reset()};t(sX,fX);k=sX.prototype;k.reset=function(){this.s="normal";this.j=Y();this.h=!0;this.m=xQ;iX(this)};
  k.Ta=function(a){var b=this,c=0<a.length,d=a.filter(function(h){var l=VG(h)||KG(h)[0];null===l?h=!1:(l=b.D.get(l)||0,h=(L(h,9)||0)!==l);return h}),e=0,f=null;a=Y();var g=!1;0<d.length&&(d.forEach(function(h){var l=VG(h)||KG(h)[0];null!==l&&(h=L(h,9)||0,b.D.set(l,h))}),d=d.map(function(h){return L(h,96)||0}),e=Math.max.apply(Math,[].concat(p(d),[0])),f=aX(Yka,e));null!==f&&(f===this.s&&(a=this.j),g=1E4<vQ(Y(),a));return{Qc:e,Mo:c,status:f,Xk:a,Ha:g}};
  k.vb=function(a){a.Mo?this.h||hX(this,4619):0<vQ(Y(),this.m)?hX(this,4707):hX(this,4618)};k.jb=function(a){var b=a.Mo,c=a.status;a=a.Xk;null!==c&&(c!==this.s&&(this.s=c,this.j=a),b!==this.h&&(this.m=uQ(Y(),b?Infinity:2E4),this.h=b))};k.Va=function(a){return[a.Qc]};var tX={},Yka=(tX.zero=[-Infinity,0],tX.low=[0,2E3],tX.normal=[2E3,Infinity],tX);var uX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audioreceived.DelayMonitor");fX.call(this,a,b,c,{name:"recentAudioPlayoutDelay",cb:["Time Since Call Start","Max Audio Playout Delay (ms)"]});this.h=!1};t(uX,fX);uX.prototype.Ta=function(a){a=a.filter(function(c){return null!=L(c,26)&&5<L(c,26)}).reduce(function(c,d){return Math.max(c,L(d,39)||0)},-Infinity);a=-Infinity<a?a:null;var b=this.h;return{delay:a,Qk:null===a?b:500<=a,Kr:b}};
  uX.prototype.vb=function(a){var b=a.Qk;a=a.Kr;!a&&b?this.logImpression(4009):a&&!b&&this.logImpression(4010)};uX.prototype.jb=function(a){var b=a.Qk;null!==a.delay&&(this.h=b)};uX.prototype.Va=function(a){return[a.delay]};var vX=function(a,b,c,d){var e=zg("realtime.media.stats.emitters.monitors.audioreceived.EnergyMonitor");fX.call(this,a,b,e,{name:"recentMaxReceivedAudioEnergy",cb:["Time Since Call Start","Max Received Audio Energy"]});var f=this;this.K=d;this.h=Y();this.s=new bX(2E3,.75,Math.round(6E4/c));IQ(this,{energyLowBeforeSendingFeedback:function(){return cX(f.s)},overallRecvLowEnergyPercent:function(){return Math.round(100*f.D/f.H)}});this.m=new Map;this.D=this.H=0;this.reset()};t(vX,fX);
  vX.prototype.reset=function(){this.j="normal";this.h=Y()};
  vX.prototype.Ta=function(a){var b=this,c=a.filter(function(g){var h=VG(g)||KG(g)[0];null===h?g=!1:(h=b.m.get(h)||0,g=(L(g,9)||0)!==h);return g}),d=0,e=null;a=Y();var f=!1;0<c.length&&(c.forEach(function(g){var h=VG(g)||KG(g)[0];null!==h&&(g=L(g,9)||0,b.m.set(h,g))}),d=c.map(function(g){return L(g,26)||0}),d=Math.max.apply(Math,[].concat(p(d),[0])),e=aX(Zka,d));null!==e&&(e===this.j&&(a=this.h),f=vQ(Y(),a),c=$ka.get(e),f=f>c);return{xi:d,status:e,gb:a,Ha:f}};
  vX.prototype.jb=function(a){var b=a.xi,c=a.status;a=a.gb;null!==c&&(c!==this.j&&(this.j=c,this.h=a),this.K()||(this.H++,2E3>b&&this.D++),this.s.add(b))};vX.prototype.Va=function(a){return[a.xi]};var wX={},Zka=(wX.zero=[-Infinity,0],wX.low=[0,2E3],wX.normal=[2E3,Infinity],wX),$ka=new Map([["zero",5E3],["low",15E3],["normal",15E3]]);var xX=function(a,b,c){var d=zg("realtime.media.stats.emitters.monitors.audioreceived.FractionLostMonitor");fX.call(this,a,b,d,{name:"recentMaxAudioRecvFractionLost",cb:["Time Since Call Start","Max Audio Recv Fraction Lost (%)"]});this.V=3E4/c;this.s=new eX(this.V);this.K=6E4/c;this.m=new bX(20,.6,this.K);this.j=this.D=!1;this.h=!0;this.H=new Map};t(xX,fX);
  xX.prototype.Ta=function(a){var b=this;a=a.filter(function(h){var l=VG(h)||KG(h)[0];null===l?h=!1:(l=b.H.get(l)||0,h=(L(h,9)||0)!==l);return h});if(0==a.length)return null;a.forEach(function(h){var l=VG(h)||KG(h)[0]||0;h=L(h,9)||0;b.H.set(l,h)});a=a.reduce(function(h,l){return Math.max(h,L(l,2))},0);this.s.add(a);this.m.add(a);var c=50<a,d=this.D,e=this.j;Uka(this.s)&&(e=20<this.s.j);var f=this.j,g=this.h;dX(this.m)&&(g=cX(this.m));return{fractionLost:a,Lo:c,AA:d,Ko:e,zA:f,An:g,CA:this.h}};
  xX.prototype.vb=function(a){var b=a.Lo,c=a.AA,d=a.Ko,e=a.zA,f=a.An;a=a.CA;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)};xX.prototype.jb=function(a){var b=a.Ko,c=a.An;this.D=a.Lo;this.j=b;this.h=c};xX.prototype.Va=function(a){return[a.fractionLost]};var yX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audioreceived.JitterBufferSizeMonitor");fX.call(this,a,b,c,{name:"recentMaxAudioRecvJitterBufferSize",cb:["Time Since Call Start","Max Audio Recv Jitter Buffer Size (ms)"]});this.h=new Map};t(yX,fX);
  yX.prototype.Ta=function(a){var b=this;a=a.filter(function(c){var d=VG(c)||KG(c)[0];null===d?c=!1:(d=b.h.get(d)||0,c=(L(c,9)||0)!==d);return c});if(0==a.length)return null;a.forEach(function(c){var d=VG(c)||KG(c)[0]||0;c=L(c,9)||0;b.h.set(d,c)});return{Yw:a.reduce(function(c,d){return Math.max(c,L(d,37)||-1)},0)}};yX.prototype.Va=function(a){return[a.Yw]};var zX=function(a,b,c){var d=zg("realtime.media.stats.emitters.monitors.audioreceived.SpeechExpandRateMonitor");fX.call(this,a,b,d,{name:"recentMaxSpeechExpandRate",cb:["Time Since Call Start","Max Speech Expand Rate (%)"]});this.j=new bX(20,.6,5E3/c);this.D=uQ(Y(),6E4);this.m=this.h=0;this.s=new Map};t(zX,fX);
  zX.prototype.Ta=function(a){var b=this;a=a.filter(function(h){var l=VG(h)||KG(h)[0];null===l?h=!1:(l=b.s.get(l)||0,h=(L(h,9)||0)!==l);return h});if(0==a.length)return null;a.forEach(function(h){var l=VG(h)||KG(h)[0];null!==l&&(h=L(h,9)||0,b.s.set(l,h))});a=a.map(function(h){return ml(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<vQ(c,d)&&(d=uQ(c,6E4),e=(this.h+a)/(this.m+1));c=40<a;var f=dX(this.j),
  g=cX(this.j);return{nr:a,Fn:e,Dx:d,Vw:c,Rw:f,Qw:g}};zX.prototype.vb=function(a){var b=this,c=a.Fn,d=a.Rw,e=a.Qw;a.Vw?gX(b,"BcmLRd",4116):gX(b,"BcmLRd",4117);d&&(e?gX(b,"vhhrIe",4432):gX(b,"vhhrIe",4431));null!==c&&(a=function(f){return gX(b,"YK82pb",f)},20<=c?a(4269):10<=c?a(4268):5<=c?a(4267):2<=c?a(4266):a(4265))};zX.prototype.jb=function(a){var b=a.nr,c=a.Dx;null!==a.Fn?(this.m=this.h=0,this.D=c):(this.h+=b,this.m++)};zX.prototype.Va=function(a){return[a.nr]};var AX=function(a,b,c,d){V.call(this);var e=this;this.u=d;this.g=new Uu(this);this.j=!0;this.G=this.g.signal();this.N=Wu(this.g);this.H=this.g.signal();this.V=Wu(this.g);this.K=Wu(this.g);this.l=!0;this.X=this.g.signal();this.Z=Wu(this.g);this.m=new sX(a,b);this.T(this.m);this.m.g.attach(function(f){var g=f.Qc,h=f.status;f=f.Ha;null!==h&&(g={Qc: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 uX(a,b);this.T(this.s);this.s.g.attach(function(f){var g=f.Kr,h=f.Qk;f={si: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 vX(a,b,c,function(){return ala(e)});this.T(this.h);this.h.g.attach(function(f){var g=f.xi,h=f.status;f=f.Ha;null!==h&&(g={xi:g,status:h},e.g.R(e.X,g),f!==e.l&&(f&&e.g.R(e.Z,g),e.l=f))},this);this.D=new xX(a,b,c);this.T(this.D);this.F=new yX(a,b);this.T(this.F);this.ca=new zX(a,b,c);this.T(this.ca)};t(AX,V);var ala=function(a){return a.u().every(function(b){b=b.getInfo();return"a"!==b.ga()||b.Jc()})};var BX=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.de?!0:d.de;d=void 0===d.Cc?10:d.Cc;var e=zg("realtime.media.stats.emitters.monitors.CpuUsageMonitor"),f={name:"recentSystemCpuUsage",cb:["Time Since Call Start","System","Process","Browser","GPU"]};fX.call(this,a,b,e,c?f:void 0);this.s=this.m=0;this.h=this.j=!1;this.D=d};t(BX,fX);k=BX.prototype;
  k.Ta=function(a){var b=L(a,36)||0;if(0<b){var c=Math.round((L(a,35)||0)/b),d=Math.round((L(a,34)||0)/b),e=Math.round((L(a,92)||0)/b);a=Math.round((L(a,94)||0)/b);b=.65*this.m+.35*c;var f=.65*this.s+.35*(d+e+a);return{tm:c,xl:d,ck:e,Fk:a,Xz:b,Yz:f,Mr:this.j,Jr:this.h,Uk:90<=b,Ok:60<=b-f}}return null};k.vb=function(a){var b=a.Uk,c=a.Ok,d=a.Jr;b!==a.Mr&&this.logImpression(b?3746:3762);c!==d&&this.logImpression(c?4628:4629)};
  k.jb=function(a){var b=a.Yz,c=a.Uk,d=a.Ok;this.m=a.Xz;this.s=b;this.j=c;this.h=d};k.Va=function(a){return[a.tm,a.xl,a.ck,a.Fk]};k.og=function(){return this.D};var CX=function(a,b){V.call(this);var c=this;this.g=new Uu(this);this.onChange=this.g.signal();this.l=Wu(this.g);this.j=Wu(this.g);this.h=new BX(a,b,{de:!0});this.T(this.h);this.h.g.attach(function(d){var e=d.Uk,f=d.Ok,g=d.Mr,h=d.Jr;d={tm:d.tm,xl:d.xl,ck:d.ck,Fk:d.Fk,JP:e,GP: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(CX,V);var DX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.LeakyBucketDelayMonitor");fX.call(this,a,b,c,{name:"recentLeakyBucketDelay",cb:["Time Since Call Start","Leaky Bucket Delay (ms)"]});this.h="lcN5Wd";this.j=Y()};t(DX,fX);
  DX.prototype.Ta=function(a,b){if(15>b)return this.j=Y(),null;a=L(a[0],80);if(null===a)return null;b=aX(EX,a);if(null===b){var c=Y();return{wh:a,status:b,gb:c,ib:!1,Ha:!1,zb:!1}}c=EX[this.h][0]<EX[b][0];var d=b!==this.h?Y():this.j,e=2E3<vQ(Y(),d);return{wh:a,status:b,gb:d,ib:c,Ha:e,zb:3E3<a}};DX.prototype.vb=function(a){var b=a.status,c=a.ib,d=a.Ha;a=a.zb;if(d||c)"lcN5Wd"===b?jX(this,4379):"CNusmb"===b&&jX(this,4380);a?hX(this,4381):d&&iX(this)};
  DX.prototype.jb=function(a){var b=a.status;a=a.gb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};DX.prototype.Va=function(a){return[a.wh]};var FX={},EX=(FX.lcN5Wd=[-Infinity,3E3],FX.CNusmb=[3E3,Infinity],FX);var GX=function(a,b){V.call(this);var c=this;this.h=new Uu(this);this.l=Wu(this.h);this.j=new DX(a,b);this.T(this.j);this.g=!1;this.j.g.attach(function(d){var e=d.wh,f=d.zb,g=d.Ha;d=f&&!c.g;g=!f&&g&&c.g;(d||g)&&c.h.R(c.l,{LP:e,Tw:f});d?c.g=!0:g&&(c.g=!1)},this)};t(GX,V);var HX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audioreceived.NeteqCallsMonitor");fX.call(this,a,b,c,{name:"recentNeteqCalls",cb:["Time Since Call Start","Min Neteq Calls (%)"]});this.h=!1;this.j=new Map;this.m=new Map};t(HX,fX);
  HX.prototype.Ta=function(a,b){var c=this;a=a.filter(function(d){var e=VG(d)||KG(d)[0];null===e?d=!1:(e=c.j.get(e)||0,d=(L(d,9)||0)!==e);return d});if(0==a.length)return null;a.forEach(function(d){var e=VG(d)||KG(d)[0]||0;d=L(d,9)||0;c.j.set(e,d)});a=Math.min.apply(Math,[].concat(p(a.map(function(d){var e=KG(d)[0];if(d=L(d,82)){var f=100,g=c.m.get(e);if(g){var h=1E3*(b-g.nd)/10;0!=h&&(g=d-g.Bx,g>h/10&&(f=Math.min(100,Math.round(g/h*100))))}c.m.set(e,{Bx:d,nd:b});e=f}else e=100;return e})),[100]));
  return{Cx:a,Ri:80>=a}};HX.prototype.vb=function(a){a=a.Ri;!a&&this.h?this.logImpression(4127):a&&!this.h&&this.logImpression(4126)};HX.prototype.jb=function(a){a=a.Ri;a!==this.h&&(this.h=a)};HX.prototype.Va=function(a){return[a.Cx]};var IX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audiosent.BitRateMonitor");fX.call(this,a,b,c,{name:"statsAudioSentBitrate",cb:["Time Since Call Start","Audio Sent Bitrate (bps)"]});this.h="lcN5Wd"};t(IX,fX);IX.prototype.Ta=function(a,b){if(5>b)return null;a=Math.min.apply(Math,p(a.map(function(c){return L(c,42)})));if(Infinity===a)return null;b=aX(bla,a);return{Qc:a,status:b}};IX.prototype.jb=function(a){a=a.status;null!==a&&a!==this.h&&(this.h=a)};IX.prototype.Va=function(a){return[a.Qc]};
  var JX={},bla=(JX.MNynB=[-Infinity,500],JX.lcN5Wd=[500,Infinity],JX);var KX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.audiosent.EchoLikelihoodMonitor");fX.call(this,a,b,c,{name:"statsAudioSentEchoLikelihoodRecentMax",cb:["Time Since Call Start","Max Audio Sent Residual Echo Likelihood"]});this.h=!1};t(KX,fX);KX.prototype.Ta=function(a){a=Math.max.apply(Math,p(a.map(function(b){return ml(b,133)||0})));return-Infinity<a?(a=Math.round(1E3*a)/10,{ou:a,Ho:55<=a}):null};
  KX.prototype.vb=function(a){a=a.Ho;var b=this.h;a&&!b?this.logImpression(4472):!a&&b&&this.logImpression(4473)};KX.prototype.jb=function(a){this.h=a.Ho};KX.prototype.Va=function(a){return[a.ou]};var LX=function(a,b,c){var d=zg("realtime.media.stats.emitters.monitors.audiosent.EnergyMonitor");fX.call(this,a,b,d,{name:"statsAudioSentEnergy",cb:["Time Since Call Start","Sent Energy"]});var e=this;this.m=this.s=0;this.h=!1;Cs(this,function(){e.h&&e.logImpression(5197)});IQ(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=cla();this.j=null;fv(c,function(f){e.j=f});this.H=new bX(100,.7,10)};t(LX,fX);
  LX.prototype.Ta=function(a){a=L(a[0],26);if("number"!==typeof a)return null;this.H.add(a);return{Zn:a}};LX.prototype.jb=function(a){a=a.Zn;!this.j||this.j.Sb()||this.j.Pk()||(this.D&&(this.h=a<=this.K?!0:this.D=!1),this.m++,100>a&&this.s++)};var cla=function(){var a=0;Zc("Windows")?a=1:Se()&&(a=2);return a};LX.prototype.Va=function(a){return[a.Zn]};var MX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.BatteryMonitor");fX.call(this,a,b,c,{name:"recentBatteryLevel",cb:["Time Since Call Start","Battery level (%)"]});this.h=0};t(MX,fX);MX.prototype.Ta=function(a){a=Math.round(100*N(a,75,-1));return a===this.h?null:{Gn:a}};MX.prototype.jb=function(a){this.h=a.Gn};MX.prototype.Va=function(a){return[a.Gn]};var NX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.ConnectionMonitor");fX.call(this,a,b,c);var d=this;this.h=this.j=0;Vf&&Sp(61)&&IQ(this,{connection:function(){return dla()}});IQ(this,{networkType:function(){return d.h+": "+ela[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(NX,fX);
  NX.prototype.Ta=function(a){var b=L(a,55);b=this.h=null!=b&&fla.includes(b)?b:0;a=this.j=L(S(a,DE,8,1),4);return{network:b,protocol:a}};NX.prototype.vb=function(a){switch(a.protocol){case 1:jX(this,3778);break;case 2:case 3:jX(this,3777)}};NX.prototype.yj=function(){};
  var dla=function(){var a=Ye(),b={};["type","effectiveType","downlinkMax","downlink","rtt"].forEach(function(c){return b[c]=a.connection[c]||"unknown"});return b},fla=fd({SN:0,NN:1,UN:2,VN:3,LN:4,ON:5,PN:6,QN:7,RN:8,MN:10,TN:11}),OX={},ela=(OX[0]="Unknown",OX[1]="Ethernet",OX[2]="WiFi",OX[3]="Wimax",OX[4]="Bluetooth",OX[5]="Mobile",OX[6]="Mobile 2G",OX[7]="Ethernet",OX[8]="Mobile 3G",OX[10]="Dummy",OX[11]="VPN",OX);var PX=function(a,b,c){c=c.Cc;var d=zg("realtime.media.stats.emitters.monitors.videoreceived.VideoReceivedFpsMonitor");fX.call(this,a,b,d);this.Cc=c};t(PX,fX);PX.prototype.Ta=function(a){var b=[];a=n(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=L(d,29);d=L(d,30);"number"===typeof c&&"number"===typeof d&&b.push({cQ:c,aQ:d})}return 0===b.length?null:{lQ:b}};PX.prototype.Va=function(){return[]};PX.prototype.og=function(){return this.Cc};var QX=function(a,b,c){c=void 0===c?{}:c;c=void 0===c.Cc?10:c.Cc;var d=zg("realtime.media.stats.emitters.monitors.videosent.VideoSentFpsMonitor");fX.call(this,a,b,d);this.h=c};t(QX,fX);QX.prototype.Ta=function(a){a=a.filter(function(b){return"number"===typeof L(b,29)}).map(function(b){return L(b,29)});return 0===a.length?null:{Vc:Math.max.apply(Math,p(a))}};QX.prototype.Va=function(a){return[a.Vc]};QX.prototype.og=function(){return this.h};var RX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.NetworkMonitor");fX.call(this,a,b,c);this.m=new Map;this.j=!1;this.h=Y();this.s=0};t(RX,fX);k=RX.prototype;k.Ta=function(a){var b=this,c=0<a.length;a=a.reduce(function(g,h){var l=VG(h)||KG(h)[0]||0,q=b.m.get(l)||0;h=L(h,10)||0;b.m.set(l,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=vQ(Y(),this.h));return{Rk:c,Lr:d,lp:a,vp:e,ul:f}};k.Qo=function(){};
  k.vb=function(a){var b=a.Rk,c=a.Lr;a=a.ul;!c&&b?this.logImpression(4552):c&&!b&&(1E4<a&&this.logImpression(4582),this.logImpression(4553))};k.jb=function(a){var b=a.vp,c=a.ul;this.j=a.Rk;this.h=b;this.s=c};k.Va=function(a){return[a.lp]};var SX=function(a,b){V.call(this);var c=this;this.g=new Uu(this);this.l=Wu(this.g);this.j=Wu(this.g);this.h=new RX(a,b);this.T(this.h);this.h.g.attach(function(d){var e=d.Rk,f=d.Lr,g=d.vp,h=d.ul;d=d.lp;e&&!f&&c.g.R(c.l,{ix:d,iQ:g});!e&&f&&c.g.R(c.j,{ix:d,nP:h})},this)};t(SX,V);var TX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.BitRateMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvBitrate",cb:["Time Since Call Start","Screenshare Recv Bitrate (kbps)"]});this.m=0;this.h="lcN5Wd";this.j=Y()};t(TX,fX);k=TX.prototype;k.reset=function(){this.m=0;this.h="lcN5Wd";this.j=Y();iX(this);kX(this)};
  k.Ta=function(a,b){if(5>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(h){return L(h,96)})));if(Infinity===a)return null;a=Math.round(a/100)/10;b=.65*this.m+.35*a;var c=aX(UX,b),d=Y(),e=!1,f=!1,g=!1;null!==c&&(e=UX[this.h][0]>UX[c][0],c===this.h&&(d=this.j),f=5E3<vQ(Y(),d),g=200>=b);return{Qc:a,status:c,gb:d,ib:e,Ha:f,zb:g,nm:b}};k.vb=function(a){var b=a.status,c=a.Ha,d=a.zb;if(a.ib||c)"lcN5Wd"===b?jX(this,4376):"MNynB"===b&&jX(this,4377);d?hX(this,4378):c&&iX(this)};
  k.jb=function(a){var b=a.status,c=a.gb;this.m=a.nm;null!==b&&b!==this.h&&(this.h=b,this.j=c)};k.Va=function(a){return[a.Qc]};var VX={},UX=(VX.MNynB=[-Infinity,200],VX.lcN5Wd=[200,Infinity],VX);var WX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.FpsDecodeMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvFpsDecode",cb:["Time Since Call Start","Screenshare Decoded FPS"]});this.h="lcN5Wd";this.j=Y()};t(WX,fX);k=WX.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();kX(this)};
  k.Ta=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(f){return L(f,31)})));if(!(0<=a&&60>=a))return null;b=aX(XX,a);var c=Y(),d=!1,e=!1;null!==b&&(e=XX[this.h][0]>XX[b][0],b===this.h&&(c=this.j),d=5E3<vQ(Y(),c));return{dl:a,status:b,gb:c,ib:e,Ha:d}};k.vb=function(a){var b=a.status,c=a.ib;if(a.Ha||c)"lcN5Wd"===b?jX(this,4343):"x5ghY"===b&&jX(this,4342)};k.jb=function(a){var b=a.status;a=a.gb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Va=function(a){return[a.dl]};
  var YX={},XX=(YX.x5ghY=[-Infinity,0],YX.lcN5Wd=[0,Infinity],YX);var ZX=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.FpsRenderInputMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvFpsRenderInput",cb:["Time Since Call Start","Screenshare Render Input (FPS)"]});this.h="lcN5Wd";this.j=Y()};t(ZX,fX);k=ZX.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();kX(this)};
  k.Ta=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(f){return ml(f,50)})));if(!(0<=a&&60>=a))return null;b=aX($X,a);var c=Y(),d=!1,e=!1;null!==b&&(e=$X[this.h][0]>$X[b][0],b===this.h&&(c=this.j),d=5E3<vQ(Y(),c));return{dl:a,status:b,gb:c,ib:e,Ha:d}};k.vb=function(a){var b=a.status,c=a.ib;if(a.Ha||c)"lcN5Wd"===b?jX(this,4018):"x5ghY"===b&&jX(this,4046)};k.jb=function(a){var b=a.status;a=a.gb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Va=function(a){return[a.dl]};
  var aY={},$X=(aY.x5ghY=[-Infinity,0],aY.lcN5Wd=[0,Infinity],aY);var bY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.FractionLostMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvFractionLost",cb:["Time Since Call Start","Fraction Lost (%)"]});this.h=Y();this.reset()};t(bY,fX);k=bY.prototype;k.reset=function(){this.j="lcN5Wd";this.m=0;this.h=Y();kX(this)};
  k.Ta=function(a,b){if(10>b)return this.h=Y(),null;a=Math.max.apply(Math,p(a.map(function(g){return L(g,2)})));if(!(0<=a&&100>=a))return null;b=.65*this.m+.35*a;var c=aX(cY,b),d=Y(),e=!1,f=!1;null!==c&&(f=cY[this.j][0]<cY[c][0],c===this.j&&(d=this.h),e=8E3<vQ(Y(),d));return{fractionLost:a,mm:b,status:c,gb:d,ib:f,Ha:e}};
  k.vb=function(a){var b=a.status,c=a.ib;if(a.Ha||c)switch(b){case "lcN5Wd":jX(this,4043);break;case "QIiD3":jX(this,4040);break;case "ucYu5c":jX(this,4041);break;case "rBGRnf":jX(this,4042)}};k.jb=function(a){var b=a.status,c=a.gb;a=a.mm;null!==b&&(this.m=a,b!==this.j&&(this.j=b,this.h=c))};k.Va=function(a){return[a.fractionLost]};var dY={},cY=(dY.lcN5Wd=[-1,5],dY.QIiD3=[5,10],dY.ucYu5c=[10,20],dY.rBGRnf=[20,Infinity],dY);var eY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.FrameSpacingMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvFrameSpacing",cb:["Time Since Call Start","Max Frame Spacing (ms)"]});this.m=Y();this.j=new Map;this.reset()};t(eY,fX);eY.prototype.reset=function(){this.h="lcN5Wd";this.s=-1;this.j.clear();this.m=Y();iX(this);kX(this)};
  eY.prototype.Ta=function(a){var b=this;a=a.filter(function(l){l=vS.get(l);return l.j&&!!l.g});if(0===a.length)return null;var c=a.map(function(l){var q=fY(l),r=q.Pb;q=q.ssrc;0>=r&&(r=(r=b.j.get(q))?vQ(Y(),r):Infinity);return{Pb:Math.min(r,vS.get(l).g),ssrc:q}});a.forEach(function(l){l=fY(l);var q=l.ssrc;0<l.Pb&&b.j.set(q,Y())});c=gla?hla(c):ila(c);if(!c)return null;a=c.Pb;c=c.ssrc;var d=aX(gY,a),e=Y(),f=!1,g=!1,h=!1;null!==d&&(h=gY[this.h][0]<gY[d][0],d===this.h&&(e=this.m),f=5E3<vQ(Y(),e),g=5E3<
  a);return{Pb:a,ssrc:c,status:d,gb:e,ib:h,Ha:f,zb:g}};var hla=function(a){a=a.reduce(function(c,d){return c.Pb<d.Pb?d:c},{Pb:-1,ssrc:0});var b=a.Pb;return-1===b?null:{Pb:b,ssrc:a.ssrc}};eY.prototype.yj=function(a,b){a.Pb===this.s&&fX.prototype.yj.call(this,a,b)};var ila=function(a){var b=a.reduce(function(c,d){return c.Pb<d.Pb?d:c},{Pb:-Infinity,ssrc:0});a=b.Pb;b=b.ssrc;return 0<=a&&12E4>=a?{Pb:a,ssrc:b}:null};
  eY.prototype.vb=function(a){var b=a.status,c=a.Ha,d=a.zb,e=a.ssrc;if(a.ib||c)switch(b){case "lcN5Wd":jX(this,4185,{Ic:e});break;case "peRWwb":jX(this,4186,{Ic:e});break;case "kJFEZb":jX(this,4187,{Ic:e});break;case "fcP1q":jX(this,4188,{Ic:e});break;case "ozt2pf":jX(this,4189,{Ic:e})}d?hX(this,4184,{Ic:e}):c&&iX(this)};eY.prototype.jb=function(a){var b=a.Pb,c=a.status;a=a.gb;null!==c&&(this.s=b,c!==this.h&&(this.h=c,this.m=a))};eY.prototype.Va=function(a){return[a.Pb]};
  var fY=function(a){var b=VG(a)||KG(a)[0]||0;return{Pb:L(a,138)||0,ssrc:b}},gla=Vf&&Sp(62),hY={},gY=(hY.lcN5Wd=[-Infinity,300],hY.peRWwb=[300,1500],hY.kJFEZb=[1500,5E3],hY.fcP1q=[5E3,2E4],hY.ozt2pf=[2E4,Infinity],hY);var iY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharereceived.OneWayDelayMonitor");fX.call(this,a,b,c,{name:"recentScreenshareRecvOneWayDelay",cb:["Time Since Call Start","One Way Delay (ms)"]});this.h=Y();this.reset()};t(iY,fX);k=iY.prototype;k.reset=function(){this.j="lcN5Wd";this.m=0;this.h=Y();kX(this)};
  k.Ta=function(a,b){if(10>b)return this.h=Y(),null;a=a.map(function(g){return{delay:L(g,89),kh:vS.get(g).g}}).filter(function(g){var h=g.delay;g=!!g.kh;return"number"===typeof h&&0<h&&9E4>h&&g}).map(function(g){return Math.min(g.delay,g.kh)});a=Math.max.apply(Math,[].concat(p(a),[-1]));if(0>a)return null;b=.65*this.m+.35*a;var c=aX(jY,b),d=Y(),e=!1,f=!1;null!==c&&(e=jY[this.j][0]<jY[c][0],c===this.j&&(d=this.h),f=1E4<vQ(Y(),d));return{ay:a,Zz:b,status:c,gb:d,ib:e,Ha:f}};
  k.vb=function(a){var b=a.status,c=a.Ha;if(a.ib||c)switch(b){case "lcN5Wd":jX(this,4017);break;case "MNZVHe":jX(this,4014);break;case "CUJ8qd":jX(this,4015);break;case "ydPu5e":jX(this,4016)}};k.jb=function(a){var b=a.status,c=a.Zz;a=a.gb;null!==b&&(this.m=c,b!==this.j&&(this.j=b,this.h=a))};k.Va=function(a){return[a.ay]};var kY={},jY=(kY.lcN5Wd=[0,2E3],kY.MNZVHe=[2E3,3E3],kY.CUJ8qd=[3E3,5E3],kY.ydPu5e=[5E3,Infinity],kY);var lY=function(a,b){V.call(this);var c=this;this.j=new Uu(this);this.F=Wu(this.j);this.h=new TX(a,b);this.T(this.h);this.h.g.attach(function(d){var e=d.Qc,f=d.zb,g=d.Ha;d=f&&!c.g;g=!f&&g&&c.g;(d||g)&&c.j.R(c.F,{Qc:e,Ri:f});d?c.g=!0:g&&(c.g=!1)},this);this.g=!1;this.l=new WX(a,b);this.T(this.l);this.m=new ZX(a,b);this.T(this.m);this.u=new bY(a,b);this.T(this.u);this.s=new eY(a,b);this.T(this.s);this.D=new iY(a,b);this.T(this.D)};t(lY,V);var mY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharesent.BitRateMonitor");fX.call(this,a,b,c,{name:"recentScreenshareSentBitrate",cb:["Time Since Call Start","Screenshare Sent Bitrate (kbps)"]});this.m=0;this.h="lcN5Wd";this.j=Y()};t(mY,fX);k=mY.prototype;k.reset=function(){this.m=0;this.h="lcN5Wd";this.j=Y();iX(this);kX(this)};
  k.Ta=function(a){a=a.filter(function(h){return"number"===typeof L(h,29)&&0<L(h,29)&&"number"===typeof L(h,42)}).map(function(h){return L(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=aX(nY,b),d=Y(),e=!1,f=!1,g=!1;null!==c&&(e=nY[this.h][0]>nY[c][0],c===this.h&&(d=this.j),f=5E3<vQ(Y(),d),g=200>=b);return{Qc:a,status:c,gb:d,ib:e,Ha:f,zb:g,nm:b}};
  k.vb=function(a){var b=a.status,c=a.Ha,d=a.zb;if(a.ib||c)"lcN5Wd"===b?jX(this,4373):"MNynB"===b&&jX(this,4374);d&&hX(this,4375)};k.jb=function(a){var b=a.status,c=a.gb;this.m=a.nm;null!==b&&b!==this.h&&(this.h=b,this.j=c)};k.Va=function(a){return[a.Qc]};var oY={},nY=(oY.MNynB=[-Infinity,200],oY.lcN5Wd=[200,Infinity],oY);var pY=function(a,b,c){var d=zg("realtime.media.stats.emitters.monitors.screensharesent.FpsCaptureMonitor");fX.call(this,a,b,d,{name:"recentScreenshareSentFpsCapture",cb:["Time Since Call Start","Sent FPS (Capture)"]});this.m=new bX(0,.6,1E4>c?10:2);this.h="lcN5Wd";this.j=Y()};t(pY,fX);k=pY.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();iX(this);kX(this)};
  k.Ta=function(a,b){if(10>b)return this.j=Y(),null;a=Math.min.apply(Math,p(a.map(function(g){return L(g,29)})));if(0>a||60<a)return null;this.m.add(a);b=aX(qY,a);var c=Y(),d=!1,e=!1,f=!1;null!==b&&(d=qY[this.h][0]>qY[b][0],b===this.h&&(c=this.j),e=5E3<vQ(Y(),c),f=0>=a&&cX(this.m));return{co:a,status:b,gb:c,ib:d,Ha:e,zb:f}};k.vb=function(a){var b=a.status,c=a.Ha,d=a.zb;if(a.ib||c)"lcN5Wd"===b?jX(this,4340):"x5ghY"===b&&jX(this,4339);d?hX(this,4341):c&&iX(this)};
  k.jb=function(a){var b=a.status;a=a.gb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Va=function(a){return[a.co]};var rY={},qY=(rY.x5ghY=[-Infinity,0],rY.lcN5Wd=[0,Infinity],rY);var sY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharesent.FpsEncodeMonitor");fX.call(this,a,b,c,{name:"recentScreenshareSentFpsEncode",cb:["Time Since Call Start","Sent FPS (Encode)"]});this.h="lcN5Wd";this.j=Y()};t(sY,fX);k=sY.prototype;k.reset=function(){this.h="lcN5Wd";this.j=Y();iX(this);kX(this)};
  k.Ta=function(a){a=a.filter(function(g){return"number"===typeof L(g,29)&&0<L(g,29)&&"number"===typeof L(g,30)});a=Math.min.apply(Math,p(a.map(function(g){return L(g,30)})));if(0>a||60<a)return null;var b=aX(tY,a),c=Y(),d=!1,e=!1,f=!1;null!==b&&(d=tY[this.h][0]>tY[b][0],b===this.h&&(c=this.j),e=2E3<vQ(Y(),c),f=0>=a);return{eo:a,status:b,gb:c,ib:d,Ha:e,zb:f}};k.vb=function(a){var b=a.status,c=a.Ha,d=a.zb;if(a.ib||c)"lcN5Wd"===b?jX(this,4329):"x5ghY"===b&&jX(this,4328);d&&hX(this,4330)};
  k.jb=function(a){var b=a.status;a=a.gb;null!==b&&b!==this.h&&(this.h=b,this.j=a)};k.Va=function(a){return[a.eo]};var uY={},tY=(uY.x5ghY=[-Infinity,0],uY.lcN5Wd=[0,Infinity],uY);var vY=function(a,b){var c=zg("realtime.media.stats.emitters.monitors.screensharesent.FractionLostMonitor");fX.call(this,a,b,c,{name:"recentScreenshareSentFractionLost",cb:["Time Since Call Start","Fraction Lost (%)"]});this.h=Y();this.reset()};t(vY,fX);k=vY.prototype;k.reset=function(){this.m=0;this.j="lcN5Wd";this.h=Y();iX(this);kX(this)};
  k.Ta=function(a,b){var c=Y();if(10>b)return this.h=c,null;a=Math.max.apply(Math,p(a.map(function(l){return L(l,2)})));if(0>a||100<a)return null;b=.65*this.m+.35*a;var d=aX(wY,b),e=c,f=!1,g=!1,h=!1;null!==d&&(f=wY[this.j][0]<wY[d][0],d===this.j&&(e=this.h),g=8E3<vQ(c,e),h=20<=b);return{fractionLost:a,status:d,gb:e,ib:f,Ha:g,zb:h,mm:b}};
  k.vb=function(a){var b=a.status,c=a.Ha,d=a.zb;if(a.ib||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&&jX(this,a)}d?hX(this,4237):c&&iX(this)};k.jb=function(a){var b=a.status,c=a.gb;this.m=a.mm;null!==b&&b!==this.j&&(this.j=b,this.h=c)};k.Va=function(a){return[a.fractionLost]};var xY={},wY=(xY.lcN5Wd=[-1,5],xY.QIiD3=[5,10],xY.ucYu5c=[10,20],xY.rBGRnf=[20,Infinity],xY);var yY=function(a,b,c){V.call(this);var d=this;this.g=new Uu(this);this.G=Wu(this.g);this.H=Wu(this.g);this.K=Wu(this.g);this.V=Wu(this.g);this.l=this.j=this.h=this.m=!1;this.F=new mY(a,b);this.T(this.F);this.F.g.attach(function(e){var f=e.Qc,g=e.zb,h=e.Ha;e=g&&!d.m;h=!g&&h&&d.m;(e||h)&&d.g.R(d.G,{Qc:f,Ri:g});e?d.m=!0:h&&(d.m=!1)},this);this.s=new pY(a,b,c);this.T(this.s);this.s.g.attach(function(e){var f=e.co,g=e.zb,h=e.Ha;e=g&&!d.h;h=!g&&h&&d.h;(e||h)&&d.g.R(d.H,{uu:f,BP:!g});e?d.h=!0:h&&(d.h=!1)},
  this);this.u=new sY(a,b);this.T(this.u);this.u.g.attach(function(e){var f=e.eo,g=e.zb,h=e.Ha;e=g&&!d.j;h=!g&&h&&d.j;(e||h)&&d.g.R(d.K,{uu:f,FP:!g});e?d.j=!0:h&&(d.j=!1)},this);this.D=new vY(a,b);this.T(this.D);this.D.g.attach(function(e){var f=e.fractionLost,g=e.zb,h=e.Ha;e=g&&!d.l;h=!g&&h&&d.l;(e||h)&&d.g.R(d.V,{fractionLost:f,Tw:g});e?d.l=!0:h&&(d.l=!1)},this)};t(yY,V);var zY=function(a,b){fX.call(this,a,b,zg("realtime.media.stats.emitters.monitors.videoreceived.DelayMonitor"),{name:"recentVideoDelay",cb:["Time Since Call Start","Max Video Delay (ms)"]});this.h=this.status=0};t(zY,fX);k=zY.prototype;k.reset=function(){this.h=this.status=0;kX(this)};
  k.Ta=function(a,b){if(15>b)return this.h=b,null;a=a.map(function(e){return[e,vS.get(e)]}).filter(function(e){e=n(e);e.next();return!!e.next().value}).map(function(e){var f=n(e);e=f.next().value;f=f.next().value;return{delay:L(e,89),kh:f.g}}).filter(function(e){var f=e.delay;e=!!e.kh;return"number"===typeof f&&0<f&&9E4>f&&e}).map(function(e){return Math.min(e.delay,e.kh)});a=Math.max.apply(Math,[].concat(p(a),[-1]));if(0>a)return null;var c=1E3<a,d=c?1:0;return{si:a,status:d,Xk:d===this.status?this.h:
  b,ib:d>this.status,Ha:10<b-this.h,zb:c}};k.vb=function(a){var b=a.status,c=a.Ha;if(a.ib||c)0===b?jX(this,4012):1===b&&jX(this,4011)};k.jb=function(a){var b=a.status;a=a.Xk;b!==this.status&&(this.status=b,this.h=a)};k.Va=function(a){return[a.si]};var AY=function(a,b){V.call(this);var c=this;this.g=new Uu(this);this.l=this.g.signal();this.s=Wu(this.g);this.m=Wu(this.g);this.h=!1;this.j=new zY(a,b);this.T(this.j);this.j.g.attach(function(d){var e=d.zb,f=d.Ha;d={si:d.si};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(AY,V);var CY=function(a,b,c,d,e){V.call(this);this.g=new BY(b);this.s=new AX(a,this.g.j,1E3,function(){return e()});this.T(this.s);this.F=new KX(a,this.g.l);this.T(this.F);this.D=new LX(a,this.g.l,c);this.T(this.D);this.j=new mX(a,this.g.s);this.T(this.j);this.K=new CX(a,this.g.h);this.T(this.K);this.N=new BX(a,this.g.h,{de:!1,Cc:1});this.T(this.N);this.wh=new GX(a,this.g.s);this.T(this.wh);this.network=new SX(a,this.g.D);this.T(this.network);this.l=new qX(a,this.g.h,{de:!0});this.T(this.l);this.X=new qX(a,
  this.g.h,{de:!1,Cc:1});this.T(this.X);this.oa=new lY(a,this.g.G);this.T(this.oa);this.ra=new yY(a,this.g.H,1E3);this.T(this.ra);this.sa=new AY(a,this.g.u);this.T(this.sa);this.Z=new PX(a,this.g.u,{Cc:1});this.T(this.Z);this.ca=new QX(a,this.g.K,{Cc:1});this.T(this.ca);this.h=new nX(a,this.g.j);this.T(this.h);this.V=new nX(a,this.g.j,{de:!1,Cc:1});this.T(this.V);this.m=new rX(a,this.j,this.l,this.h);this.T(this.m);this.u=new IX(a,this.g.l);this.T(this.u);this.G=new MX(a,this.g.h);this.T(this.G);this.H=
  new NX(a,this.g.F);this.T(this.H);this.ia=new HX(a,this.g.j,1E3);this.T(this.ia)};t(CY,V);
  var BY=function(a){V.call(this);var b=this;this.g=new Uu(this);this.m=0;this.h=this.g.signal();this.D=this.g.signal();this.s=this.g.signal();this.j=this.g.signal();this.G=this.g.signal();this.u=this.g.signal();this.l=this.g.signal();this.H=this.g.signal();this.K=this.g.signal();this.F=this.g.signal();this.N=Y();this.V=0;a.attach(function(c){c=c.kb;var d=Math.round(vQ(Y(),b.N)/100)/10;b.V=d;b.m++;b.g.R(b.h,{data:c,nd:d,sequenceNumber:b.m});d=jla(c);var e=d.Ot,f=d.oz,g=d.qz,h=d.rz,l=d.Ez,q=d.Fz,r=d.Gz;
  DY(b,b.D,d.pz);DY(b,b.s,e);DY(b,b.j,f);DY(b,b.G,g);DY(b,b.u,h);DY(b,b.l,l);DY(b,b.H,q);DY(b,b.K,r);c=kla(c);null!==c&&DY(b,b.F,c)},this)};t(BY,V);
  var DY=function(a,b,c){(!Array.isArray(c)||0<c.length)&&a.g.R(b,{data:c,nd:a.V,sequenceNumber:a.m})},jla=function(a){var b=[],c=[],d=[],e=[],f=[],g=[],h=[],l=[];AG(a).forEach(function(q){switch(TG(q)){case 1:b.push(q);nl(q,59)?e.push(q):2==SG(q)?f.push(q):1==SG(q)&&d.push(q);break;case 0:nl(q,59)?h.push(q):2==SG(q)?l.push(q):1==SG(q)&&g.push(q);break;case 2:c.push(q)}});return{pz:b,Ot:c,oz:d,qz:e,rz:f,Ez:g,Fz:h,Gz:l}},kla=function(a){return CG(a).find(function(b){return 1==(L(b,2)&1)})||null};var EY=function(a){this.h=a};EY.prototype.g=function(a){var b=S(a,LA,1);b&&L(b,3);a=S(a,RJ,2);if(null!=a)for(var c=0;c<lM.length&&(b=lM[c].nb.call(a),null==b);c++);};var FY=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var IY=function(a,b,c){tL.call(this);var d=this;this.M=zg("realtime.media.call.BaseCall");this.ma=a;this.eb=b;this.h=this.eb.j;this.sa=this.ra=this.Fa=this.contentType=null;this.hk.bind(this);this.getInfo=GY(this.fk.bind(this));this.gk.bind(this);this.getSelf=GY(this.Pr.bind(this));this.Dc=new VW;this.onConnect=this.Dc.g;this.nc=void 0;this.Za=kt();this.di=new VW;this.onDisconnect=this.di.g;this.ff=void 0;this.ub=new VW;this.fi=this.ub.g;this.l=new VW;this.fb=this.l.g;this.Ec=new VW;this.ha=this.Ec.g;
  this.Bb=[];this.Lc=c||aR(ON(this.h));this.oa=new HW("F75qrd",this);this.oa.Dh(2);this.g=new Uu(this);this.od=this.g.signal();this.Fm=this.g.signal();this.Wc=this.g.signal();this.Tg=this.g.signal();this.ei=this.g.signal();this.Wg=Wu(this.g);this.li=Wu(this.g);this.Im=Wu(this.g);this.g.R(this.Im,{enabled:!1});this.vl=new CY(new qQ(a),this.ei,this.Wg,this.li,function(){return YV(d.Ca)});this.T(this.vl);this.um=this.g.signal();this.Bd=this.g.signal();NK(a,HM).then(function(e){var f=d.Lc;f!==e.g&&(e.g?
  e.h=ct(f):e.j.resolve(f),e.g=f)});NK(a,FM).then(function(e){var f={Ih:function(g){return d.ie(g)},Jh:function(){}};SN(e,f);Cs(d,function(){return TW(d.onDisconnect,function(){oc(e.h,f)})})});this.be=new HY(this);this.me=new VW;this.Wb=this.me.g;this.pd=new VW;this.Hb=this.pd.g;this.Xi=new YW;this.T(this.Xi);this.gf=new YW;this.T(this.gf);this.Ca=new QV(a,b,this.Xi.g,this.gf.g,this.Lc);this.T(this.Ca);this.hi=new VW;this.Ca.eb.promise.then(function(e){return e.h.lo()}).then(function(){return d.hi.resolve(!0)});
  this.ef=new nS;this.Ca.oa=this.ef;this.X=new Map;Uja(this.Ca,function(e){var f=e.Y(),g=[].concat(p(d.X.keys())).find(function(h){return h.ha.get()==f});return g&&"v"==e.g&&(e=new oO("",e.getId(),e.g,e.getContent(),e.getState(),e.j,e.h&&tc(e.h)),g=g.Ca.ta(e))?g:null});(new VW).resolve(this.Ca);this.lb=0;this.listen(this.Ca,BR,function(e){return d.g.R(d.Tg,{message:e.message})});this.listen(this.Ca,"Z",function(e){return d.g.R(d.ei,{kb:e.kb})});this.listen(this.Ca,"Ea",function(e){return d.g.R(d.um,
  {ha:e.ha,data:e.data,KP:Aha(e)})});this.listen(this.Ca,qS,function(e){return d.g.R(d.Bd,{Gc:e.Gc,mc:e.mc,removed:e.removed})});this.listen(this.Ca,"ga",this.Jl);lla(this);this.Ti=new VW;this.sessionId=this.Ti.g;NK(a,NW).then(function(e){return mla(e,d)});this.dc=!1;this.je=this.Oa=this.Ra=-1;IQ(this,this.mh());nla.forEach(function(e){return e(d)})};t(IY,tL);IY.prototype.zk=function(){return Da(function(a){a.g=0})};
  var ola=function(a){var b;return Da(function(c){if(1==c.g)return a.ra?c.bb(2):u(c,a.zk(),3);2!=c.g&&(b=c.h,a.ra||(a.ra=b(),a.T(a.ra)));return c.return(a.ra)})};IY.prototype.Pr=function(){var a=this,b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,ola(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)}})};IY.prototype.Ak=function(){return Da(function(a){a.g=0})};
  var JY=function(a){var b;return Da(function(c){if(1==c.g)return a.sa?c.bb(2):u(c,a.Ak(),3);2!=c.g&&(b=c.h,a.sa||(a.sa=b(),a.T(a.sa)));return c.return(a.sa)})};IY.prototype.gk=function(){return Da(function(a){a.g=0})};IY.prototype.hk=function(){return Da(function(a){a.g=0})};IY.prototype.fk=function(){return Da(function(a){a.g=0})};
  var GY=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.bb(2);if(!d)return b=a(),c&&c.resolve(void 0),e.bb(2);c||(c=new FY);return u(e,c.promise,2)}return e.return(b)})}};
  IY.prototype.ya=function(a){this.H=a instanceof SR?{jk:a}:Object.assign({},a);var b=new EY(this.h.j);this.Ca.pb.attach(function(c){var d=b.h,e=T(c,SJ,1);Eg(d.o,"handlePushNotification invoked, batch size: "+e.length);e.forEach(d.g,d);c&&(c=T(c,SJ,1),0!=c.length&&1==c.length&&c.forEach(b.g,b))},this);Fg(this.M,"Starting the media session.");this.oa.Dh(16);this.H.jk=pla(this,this.H.jk);Ija(this.Ca,this.H.jk,this.oc(this.H.xr))?this.ub.resolve(null):this.ub.reject("Failed to create session.")};
  IY.prototype.oc=function(a){var b=this,c=$Q(this.h.h,ON(this.h),function(){return TN(b.h,b.Lc)}),d=new KW(c,a);if(a)return d;a=lea(this.ma,this.h);this.T(a);return new $W(a,function(e,f){return d.query(e,f)})};
  var pla=function(a,b){if(b.zm){var c=a.h.lc();b=b.ka();b.ek=c}c=a.h.ng();null!=c&&(b=b.ka(),b.qk=c);a.H.sh&&Wf&&(c=b.ka(),c.Rf=!1,b=c);a.H.mP&&(c=b,b=b.bh.ka(),b.h=!1,b=b.ka(),b.g=!1,b=b.ka(),b.l=!1,b=b.ka(),b.j=!1,b=b.ka(),b.C=!1,b=YR(c,b));Object.assign({},a.H).Ww&&(a=WR(b).ka(),a.pA=!1,a=TR(a).ka(),a.Yj=null,b=a);AN(xN("nJS8jb"),!1)&&(b=WR(b));return b};
  IY.prototype.mh=function(){var a=this,b=null;this.onDisconnect.then(function(c){return b=c});return{callDuration:function(){var c=void 0===a.nc?0:(a.ff||Y().g)-a.nc;c=new Date(c);return Le(c.getUTCHours(),2)+":"+Le(c.getUTCMinutes(),2)+":"+Le(c.getUTCSeconds(),2)},callState:function(){return a.getState()},endCause:function(){return b},hangoutId:function(){return a.fb.get()},pid:function(){return a.ha.get()},plid:function(){return a.Lc},sessionId:function(){return KY(a)}}};
  IY.prototype.ba=function(){Fg(this.M,"Disposing call.");this.disconnect(0);this.X.forEach(function(a){return Ds(a)});tL.prototype.ba.call(this)};IY.prototype.getState=function(){return this.lb};
  var LY=function(a,b){b!=a.lb&&(Eg(a.M,"Call state changed from "+a.lb+" to "+b),a.lb=b,a.g.R(a.Wc,void 0))},KY=function(a){return a.Ca.g&&a.Ca.g.rb()},MY=function(a,b,c){UW(a.ha)||(a.l.resolve(b),a.Ec.resolve(c))},NY=function(a,b,c,d){Eg(a.M,"triggerConnected() called. HangoutId: "+c+" ParticipantId: "+d);MY(a,c,d);var e=a.Sn();a.T(e);a.me.resolve(e);a.listen(e,"I",a.ke);xL(a,e,"I",function(){return a.Bd.attach(function(){return a.ke()},a)});var f=!1;xL(a,e,"I",function(){f=!0});a.Bd.attach(function(){f&&
  a.ke()},a);e=new iS(e,a.Ca);a.pd.resolve(e);a.T(e);a.nc=Y().g;b.resolve();a.Dc.resolve(null);LY(a,2);a.oa.Dh(25);a.Ca.connect(c,d,a.be);Eg(a.M,"Call connected")};IY.prototype.T=function(a){a=tL.prototype.T.bind(this,a);UW(this.onDisconnect)?a():this.onDisconnect.then(a,a)};var OY=function(a,b){a.Bb=tc(b);Yja(a.Ca,a.Bb);a.Wb.then(function(c){c.s(a.Bb)})};
  IY.prototype.disconnect=function(a){if(3==this.getState()||4==this.getState())return Eg(this.M,"disconnect() skipped, already disconnecting."),this.onDisconnect;a=PY.has(a)&&this.Ca.ya?PY.get(a):a;Eg(this.M,"disconnect() called. Endcause: "+a);this.ff=Y().g;var b=2==this.getState();LY(this,3);this.Ca.stop(a);this.Wh(b,a);return this.onDisconnect};
  IY.prototype.Wh=function(a,b){Eg(this.M,"triggerDisconnected(). Endcause: "+b);a=new QY(b);this.l.reject(a);this.Ec.reject(a);this.me.reject(a);this.pd.reject(a);this.Dc.reject(a);this.ub.reject(a);this.hi.reject(a);this.di.resolve(b);LY(this,4)};IY.prototype.cj=function(a){if(3==this.getState()||4==this.getState())return Eg(this.M,"addCapture() failed, because we are disconnecting"),!1;var b=Qja(this.Ca,a);if(b)switch(a.g.g){case "a":this.g.R(this.Wg,a);break;case "v":this.g.R(this.li,a)}return b};
  var qla=function(a){return a.Ca.m.concat().find(function(b){return"a"===b.ga()})||null},lla=function(a){Da(function(b){a.Tg.attach(function(c){"render first video frame"===c.message&&a.oa.Dh(6,809)});b.g=0})};IY.prototype.Jl=function(a){a.target==this.Ca?"STOPPED"==a.state?(Eg(this.M,"Disconnect received from session. Endcause: "+a.Ob),this.disconnect(a.Ob)):"INPROGRESS"==a.state&&(this.oa.Dh(5),this.g.R(this.Fm,void 0)):"STARTING"==a.state&&(a=a.target.h.g,UW(this.sessionId)?this.Zi(a):this.Ti.resolve(a))};
  IY.prototype.Sc=function(){this.Fa||(Object.assign({},this.H).Ww||$e||AN(xN("hnkCOb"),!1)?this.Fa=new QW(this):this.Fa=new RW(this),this.T(this.Fa));return this.Fa};IY.prototype.ke=function(){var a=this;this.dc||(this.dc=!0,Ts(function(){a.dc=!1;var b=a.Wb.get(),c=new Map;a.Bb.forEach(function(d){(d=b.Gf(d))&&Array.from(d.g).forEach(function(e){var f=e.j;f=1*(null===f?1:f);"a"==e.g&&1!==f&&(e=a.Ca.ta(e))&&c.set(e,f)})});Tja(a.Ca,c)}))};
  IY.prototype.ie=function(a){a=YM(a);var b=this.fb.get();null!=b&&Q(a,3,b);b=this.ha.get();null!=b&&Q(a,4,b);b=KY(this);null!=b&&Q(a,10,b);b=this.Ca.g&&this.Ca.g.h.g;null!=b&&Q(a,2,b)};
  var rla=function(a,b){(b=CG(b).find(function(c){return!!(L(c,2)&1)}))?(a.Ra=L(b,5),a.Oa=L(b,7),a.je=L(b,3)):(a.Ra=-1,a.Oa=-1,a.je=-1)},sla=function(a,b){if(b=CG(b).find(function(f){return!!(L(f,2)&1)})){var c=L(b,5),d=L(b,7),e=L(b,3);[].concat(p(a.X.keys())).forEach(function(f){-1!=c&&-1!=f.Ra&&(c+=f.Ra);-1!=d&&-1!=f.Oa&&(d+=f.Oa);-1!=e&&(e=Math.max(e,f.je))});Q(b,150,c);Q(b,151,d);Q(b,153,e)}};IY.prototype.logImpression=function(a){NK(this.ma,FM).then(function(b){return b.logImpression(a)})};
  var TY=function(a,b,c){return a.getState()!=b?(Dg(a.M,"Unexpected state while in "+c+": "+a.getState()+" != "+b),new RY(302,new SY(b,a.getState()))):null},tla=function(a){var b=TN(a.h),c=S(b,qA,2);Q(c,4,a.Lc);U(b,2,c);return b},nla=[],SY=function(){var a=Error.call(this);this.message=a.message;"stack"in a&&(this.stack=a.stack)};t(SY,Error);var QY=function(a){var b=Error.call(this,"DisconnectedError, EndCause = "+a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.Ob=a};t(QY,Error);
  var HY=function(a){QR.call(this,a.Lc);this.C=a};t(HY,QR);HY.prototype.l=function(a){var b=this;QR.prototype.l.call(this,a);var c=0<this.C.X.size?2:1;if(a=S(a,QF,4))Q(a,170,c),(T(a,SF,5)||[]).forEach(function(d){rla(b.C,d);0<b.C.X.size&&sla(b.C,d)})};var RY=function(a,b){var c=Error.call(this,"startupCode: "+a+", error = "+Yf(b));this.message=c.message;"stack"in c&&(this.stack=c.stack);this.cA=a;this.Af=b};t(RY,Error);var PY=new Map([[63,124],[0,123]]);var UY=function(a,b,c){eQ.call(this);this.h=a;this.m=c;this.g=new Map;this.l=new ZP(!0);this.l.F=this;this.u=new tL(this);this.T(this.u);this.u.listen(this.m,["ea","ga"],this.D);b.forEach(this.j,this)};t(UY,eQ);var ula=function(a,b,c){return new UY(a,b,c)};UY.prototype.j=function(a){""==a.Y()&&(a.s=this.h);this.l.add(a)};UY.prototype.Gf=function(a){return""==a||a==this.h?this.l:this.g.get(a)||null};
  UY.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 ZP;e.F=b;b.g.set(d,e);b.O(new dQ("T",d,e))}});this.g.forEach(function(d,e){c.has(e)||(b.g.delete(e),b.O(new dQ("U",e,d)))});this.D()};
  UY.prototype.D=function(){var a=this,b=new Map;this.m.g.l.concat(Mja(this.m)).forEach(function(c){var d=c.Y()||a.h,e=c.Da();e=d+"/"+e;b.has(e)?b.get(e).push(c):(b.set(e,[c]),c=a.Gf(d),null==c&&(c=new ZP,a.g.set(d,c),a.O(new dQ("T",d,c))))});b.forEach(function(c){var d=c.find(function(q){return!q.getInfo().Jc()})||c[0],e=d.getInfo();c=e.ga();var f=d.Da(),g=d.Y()||a.h,h=e.Jc()?"mu":"li",l=a.Gf(g);d=$P(l,c,f,g);null==d?(d=rO({lj:g,id:f,mediaType:c,state:h}),l.add(d)):qO(d,h);e=e.Ef();"v"==c&&pO(d,e?
  "ca":"sc");pea(d,e)});this.g.forEach(function(c){Array.from(c.g).forEach(function(d){b.has(vla(d.Y(),d.getId()))||c.remove(d)})})};var vla=function(a,b){return a+"/"+b};var VY=function(a){J(this,a,0,-1,null,null)};w(VY,I);var wla=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=rk(b.h);ql(a,1,c,0);break;case 2:c=F(b);R(a,2,c);break;default:B(b)}return a};var WY=function(a){J(this,a,0,-1,xla,null)};w(WY,I);var xla=[7],yla=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=uk(b);ql(a,2,c,0);break;case 3:c=tk(b);ql(a,3,c,0);break;case 4:c=vk(b);rl(a,4,c);break;case 5:c=rk(b.h);ql(a,5,c,0);break;case 6:c=F(b);R(a,6,c);break;case 9:c=tk(b);ql(a,9,c,0);break;case 7:c=new VY;C(b,c,wla);yl(a,7,c,VY);break;case 8:c=E(b);sl(a,8,c);break;case 10:c=E(b);sl(a,10,c);break;default:B(b)}return a};
  WY.prototype.getDeviceId=function(){return N(this,1,"")};WY.prototype.tb=function(){return N(this,3,0)};var ZY=function(a){V.call(this);this.h=new Uu(this);XY(a);this.m=a.getDeviceId();N(a,2,0);this.j=a.tb();this.g=O(a,4,!1);pl(a,5);YY(a);this.l=Y();this.onUpdated=this.h.signal()};t(ZY,V);ZY.prototype.update=function(a){var b=a.tb();return b>this.j?(this.j=b,this.g=O(a,4,!1),YY(a),Y(),this.h.R(this.onUpdated,void 0),!0):!1};ZY.prototype.getDeviceId=function(){return this.m};ZY.prototype.isFinal=function(){return this.g};ZY.prototype.getCreationTime=function(){return this.l};
  var XY=function(a){return a.getDeviceId()+"|"+N(a,2,0)},YY=function(a){T(a,VY,7).length?T(a,VY,7).map(function(b){return{text:N(b,2,""),confidence:pl(b,1)}}):N(a,6,"")&&(N(a,6,""),pl(a,5))};var $Y=function(a){J(this,a,0,-1,zla,null)};w($Y,I);var aZ=function(a){J(this,a,0,-1,null,null)};w(aZ,I);var bZ=function(a){J(this,a,0,-1,null,null)};w(bZ,I);var cZ=function(a){J(this,a,0,-1,null,null)};w(cZ,I);var dZ=function(a){J(this,a,0,-1,null,null)};w(dZ,I);var eZ=function(a){J(this,a,0,-1,null,null)};w(eZ,I);var fZ=function(a){J(this,a,0,-1,Ala,null)};w(fZ,I);var zla=[5,7,10],Bla=function(a,b){return Q(a,1,b)},Cla=function(a,b){return Q(a,2,b)};dZ.prototype.getId=function(){return L(this,1)};
  dZ.prototype.getTitle=function(){return L(this,2)};dZ.prototype.setTitle=function(a){return Q(this,2,a)};var Dla=function(a,b){return Q(a,1,b)},Ela=function(a,b){return Q(a,2,b)},Fla=function(a,b){return Q(a,3,b)},Gla=function(a,b){return Q(a,4,b)},Ala=[1],Hla=function(a){var b=new fZ;return Q(b,1,a||[])};k=$Y.prototype;k.uv=function(){return N(this,1,"")};k.ir=function(a){return Q(this,1,a)};k.Iw=function(){return M(this,1)};k.Eb=function(){return N(this,2,"")};k.Np=function(a){return Q(this,2,a)};
  k.sy=function(){return M(this,2)};k.py=function(){return N(this,3,"")};k.Op=function(a){return Q(this,3,a)};k.Jw=function(){return M(this,3)};k.oy=function(){return N(this,4,"")};k.Mp=function(a){return Q(this,4,a)};k.Hw=function(){return M(this,4)};var gZ=function(a,b){return xl(a,5,b)};$Y.prototype.u=function(){return S(this,bZ,6)};$Y.prototype.l=function(a){return U(this,6,a)};$Y.prototype.F=function(){return M(this,6)};var hZ=function(a,b){return Q(a,7,b||[])};k=$Y.prototype;
  k.Hu=function(){return S(this,cZ,8)};k.Oz=function(a){return U(this,8,a)};k.Vv=function(){return M(this,8)};k.Gp=function(){return N(this,9,"")};k.Jp=function(a){return Q(this,9,a)};k.Rv=function(){return M(this,9)};var iZ=function(a,b){xl(a,10,b)};k=$Y.prototype;k.qy=function(){return L(this,11)};k.Pp=function(a){return Q(this,11,a)};k.Lw=function(){return M(this,11)};k.Gi=function(){return nl(this,12)};k.Kp=function(a){return Q(this,12,a)};k.Yv=function(){return M(this,12)};
  k.Hi=function(){return O(this,13,!1)};k.Lp=function(a){return Q(this,13,a)};k.Zv=function(){return M(this,13)};k.Di=function(){return N(this,15,0)};k.Ip=function(a){return Q(this,15,a)};k.Qv=function(){return M(this,15)};k.Ci=function(){return N(this,17,0)};k.Hp=function(a){return Q(this,17,a)};k.Pv=function(){return M(this,17)};k.zu=function(){return S(this,eZ,14)};k.oj=function(a){return U(this,14,a)};k.Sv=function(){return M(this,14)};k.io=function(){return S(this,fZ,16)};
  k.Cq=function(a){return U(this,16,a)};k.Uv=function(){return M(this,16)};var jZ=function(a){this.g=a};jZ.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){Js(f)}return d};function kZ(a,b,c,d){return c.reduce(function(e,f){return f.update(a,b,d)||e},!1)}function lZ(a){return new jZ(a)};var mZ=$Y.prototype,nZ=function(a){V.call(this);var b=this;this.controller=a;this.h=new $Y;this.g=new Uu(this);this.j=Wu(this.g);this.K=Wu(this.g);this.V=Wu(this.g);this.N=Wu(this.g);this.u=Wu(this.g);this.G=Wu(this.g);this.H=Wu(this.g);this.s=Wu(this.g);this.m=Wu(this.g);this.F=Wu(this.g);this.D=Wu(this.g);this.l=[lZ({has:mZ.Iw,get:mZ.uv,set:mZ.ir,signal:this.N}),lZ({has:mZ.sy,get:mZ.Eb,set:mZ.Np,signal:this.V}),lZ({has:mZ.Jw,get:mZ.py,set:mZ.Op}),lZ({has:mZ.Hw,get:mZ.oy,set:mZ.Mp,signal:this.K}),
  lZ({has:mZ.F,get:mZ.u,set:mZ.l}),lZ({has:mZ.Vv,get:mZ.Hu,set:mZ.Oz}),lZ({has:mZ.Rv,get:mZ.Gp,set:mZ.Jp,signal:this.u}),lZ({has:mZ.Lw,get:mZ.qy,set:mZ.Pp}),lZ({has:mZ.Yv,get:mZ.Gi,set:mZ.Kp,signal:this.G}),lZ({has:mZ.Zv,get:mZ.Hi,set:mZ.Lp,signal:this.H}),lZ({has:mZ.Qv,get:mZ.Di,set:mZ.Ip,signal:this.s}),lZ({has:mZ.Pv,get:mZ.Ci,set:mZ.Hp,signal:this.m}),lZ({has:mZ.Sv,get:mZ.zu,set:mZ.oj,signal:this.F}),lZ({has:mZ.Uv,get:mZ.io,set:mZ.Cq,signal:this.D})];this.g.R(this.j,this.h);a.Ib.attach(function(c){var d=
  c.Rj,e=c.wl,f=c.DA,g=new bv(b.g);c=kZ(b.h,c.zg,b.l,g);d&&(c=!0,hZ(b.h,d));e&&(c=!0,gZ(b.h,e));f&&(c=!0,iZ(b.h,f));c&&g.add(b.j,b.h.clone());g.R()})};t(nZ,V);nZ.prototype.ah=function(a,b){return Qu(this,function d(){var e=this;return Ba(d,function(f){return f.return(e.controller.ah(a,b))})})};nZ.prototype.yh=function(){return Qu(this,function b(){var c=this;return Ba(b,function(d){return d.return(c.controller.yh())})})};
  da.Object.defineProperties(nZ.prototype,{features:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!==(b=null===(a=this.h.io())||void 0===a?void 0:L(a,1))&&void 0!==b?b:[]}},Tt:{configurable:!0,enumerable:!0,get:function(){return this.h.Gp()}}});var oZ=function(a){J(this,a,0,-1,null,null)};w(oZ,I);oZ.prototype.Ja=function(){return N(this,2,0)};var pZ=function(a){J(this,a,0,-1,Ila,null)};w(pZ,I);var Ila=[1];var qZ=function(a){V.call(this);this.controller=a;this.g=new Uu(this);this.Fh=Wu(this.g);this.h=Wu(this.g);this.g.R(this.Fh,new pZ);iV(this.g,this.Fh,this.controller.Fh);iV(this.g,this.h,this.Fh,Jla)};t(qZ,V);qZ.prototype.vn=function(a){return this.controller.vn(a)};function Kla(a){return 3===a.Ja()||2===a.Ja()}function Jla(a){return T(a,oZ,1).filter(Kla)};var sZ=function(a,b,c,d){IY.call(this,a,b,d);var e=this;this.Za.resolve(!1);this.F=!1;this.G=new VW;this.j=this.G.g;this.Ga=null;this.N=!1;this.V=new VW;this.hb=this.V.g;this.hb.then(function(f){f.onChange.attach(function(){return rZ(e,f)},e);rZ(e,f)});this.ca=new VW;this.sources=this.ca.g;this.u={};this.ia=this.D=this.s=null;this.m={fb:"",ha:"",cookie:null};this.K=null;NK(a,NW,!1).then(function(f){e.K=f});c&&this.ya(c)};t(sZ,IY);
  var rZ=function(a,b){OY(a,b.get().map(function(d){return d.Y()}));var c=a.ha.get();c&&(b=!!b.get().find(function(d){return d.Y()===c}),a.N&&!b?a.disconnect(21):!a.N&&b&&(a.N=!0))};
  sZ.prototype.Bi=function(){var a=void 0===a?{}:a;var b=TY(this,0,"preJoin");if(b)return dt(b);var c=a.name;a=a.mediaType;if(c){a=this.ma;b=this.h;if(Jc(c))c=[];else{var d=/([^/]*)\/(.*)/.exec(c);c=d?d.slice(1):[c]}d=c;if(0==d.length)c=new XA,a=fO(a,b,c);else if(1==d.length)a=ct(eO(a,b,d[0]));else{c=new nB;if(-1==d[0].indexOf(".")){var e=new RA;e=Q(e,2,d[1]);d=Q(e,1,d[0]);U(c,2,d)}else e=new lB,e=Q(e,1,d[1]),d=Q(e,2,d[0]),U(c,4,d);a=gO(a,b,c,6E5)}}else if(a)b=this.ma,c=this.h,d=new XA,d=Q(d,2,7),a=
  Q(d,14,a),a=fO(b,c,a);else return ct();return this.Ga=a};
  sZ.prototype.connect=function(a,b){return this.fi.then(function(){Eg(this.M,"connect() was called");if(0!=this.getState())return Dg(this.M,"connect() failed. Not in INITIALIZED. State: "+this.getState()),dt(new SY(0,this.getState()));var c=kt();LY(this,1);if("string"===typeof a){Fg(this.M,"Skipping Hangout resolution");var d=eO(this.ma,this.h,a);tZ(this,c,d,b||null)}else a?Lla(this,c,a,b):c.reject(Error("Can only connect without params for secondary calls"));return c.promise},void 0,this)};
  var Mla=function(a){var b,c;return Da(function(d){if(1==d.g)return u(d,a.Ga,2);b=d.h;c=FL(b.l).va()||"";return d.return(Promise.resolve(dO(a.ma,a.h,[c],lL(),cL,"l","HangoutParticipant")))})},Lla=function(a,b,c,d){Fg(a.M,"Resolving Hangout");c.then(function(e){tZ(this,b,e,d||null)},function(e){Dg(this.M,"Hangout resolve failed, reverting to INITIALIZED state");LY(this,0);b.reject(new RY(306,e))},a)},tZ=function(a,b,c,d){var e=FL(c.l).va();Fg(a.M,"connectToHangout(). HangoutId: "+e);1!=a.getState()?
  (Dg(a.M,"connectToHangout() failed, not in CONNECTING state. State: "+a.getState()),b.reject(new RY(302,new SY(1,a.getState()))),Ds(c)):(a.m.fb=e,a.m.ha=d||"",a.D=Vw(Jf(),"beforeunload",a.up,!1,a),a.ia=Vw(Jf(),"unload",a.up,!1,a),a.Aa(e,d,b,c,0))};sZ.prototype.Zi=function(){};
  sZ.prototype.Aa=function(a,b,c,d,e){this.sessionId.then(function(f){var g=dO(this.ma,this.h,[a],lL(),cL,"l","HangoutParticipant");Fg(this.M,"Adding participant");var h=g.mb();Q(h,26,[f]);Jc(b||"")||h.l(b);Nla(this,h,c,d,g,e)},void 0,this)};
  var Nla=function(a,b,c,d,e,f){e.add(b).then(function(g){var h={Jt:g,NP:!1},l=h.Jt[0],q=l.va();g=l.Y();a.m.ha=g;var r=a.getState();if(1!=r){Dg(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 RY(h,new SY(1,a.getState())));h=new bB;h.u(q);h.l(g);e.remove(h).then(a.vi,null,a);Ds(d);Ds(e)}else Eg(a.M,"add participant succeeded"),10==N(l,17,0)?(Eg(a.M,"participant in knocking state"),30>f?(Eg(a.M,"will attempt again after delay"),
  vx(1E3).then(Xa(a.Aa,a,q,g,c,d,f+1))):(Eg(a.M,"max knock attempt, failing join"),a.tp(c,d,e,234))):(Eg(a.M,"success adding and not a knock result"),q=FL(d.l).va(),a.G.resolve(d),a.V.resolve(e),a.T(d),a.T(e),a.Ia=h.sources,NY(a,c,q,g),d.start(void 0,h.zP),e.start(void 0,h.hb))},Xa(a.tp,a,c,d,e))};k=sZ.prototype;
  k.tp=function(a,b,c,d){this.vi();1==this.getState()?(Dg(this.M,"add participant failed, moving back to INITIALIZED state"),LY(this,0)):Dg(this.M,"add participant failed, but call already disconnected");Ds(b);Ds(c);a.reject(new RY(Ola(this,d),d))};k.mh=function(){var a=this;return Object.assign(IY.prototype.mh.call(this),{hangout:function(){return a.j.get()&&a.j.get().Ba()},participants:function(){return a.hb.get()&&a.hb.get().Ba()},mediaSources:function(){return a.sources.get()&&a.sources.get().Ba()}})};
  k.Sn=function(){var a=this,b=mea(this.ma,this.h,this.fb.get());this.T(b);this.ca.resolve(b);b.start(void 0,this.Ia);b.onChange.attach(function(c){return Pla(a,c.mc)},this);return Bka(this.ha.get(),b,this.hb.get(),this.Ca.m.concat().map(function(c){return c.g}),this.Ca)};
  k.Wh=function(a,b){var c=this;this.s=b;this.m.cookie=this.h.h.h.g;var d=ct();if(a&&!this.F){Eg(this.M,"Removing participant on disconnect");d=new bB;d.u(this.fb.get());d.l(this.ha.get());var e={};e=(e.jYdIne=b,e);d=this.hb.get().remove(d,e,2).then(this.vi,null,this)}nt(d,function(){var f=c.h.h.h;f.g=null;pv(f);IY.prototype.Wh.call(c,a,b)});ad(this.u,Ds);kd(this.u);d=new QY(b);this.G.reject(d);this.V.reject(d);this.ca.reject(d);null!=this.j.get()&&this.j.get().stop();null!=this.hb.get()&&this.hb.get().stop();
  null!=this.sources.get()&&this.sources.get().stop()};k.cj=function(a){if(3==this.getState()||4==this.getState())return Eg(this.M,"addCapture() failed, because we are disconnecting"),!1;var b=this.u[a.g.getId()];if(b&&b.h.includes(a))return Dg(this.M,"HangoutCall.addCapture() failed because we already have this capture"),!1;b||(b=new WP(this),this.u[a.g.getId()]=b);b.listen(a.g,["H","I","J","K"],b.D);b.h.push(a);YP(b);return IY.prototype.cj.call(this,a)};
  k.zk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,lW).then(function(c){return function(){return c(a)}}))})};k.Ak=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,Cka).then(function(c){return function(){return c(a)}}))})};k.hk=function(){var a=this,b;return Da(function(c){b=new Uu(a);return c.return(new qZ({Fh:Wu(b),vn:function(){return dt("unsupported")}}))})};
  k.fk=function(){var a=this,b,c,d,e;return Da(function(f){b=new Uu(a);c=function(){return Promise.reject("Unsupported")};d=function(){return Promise.reject("Unsupported")};e=function(){return Promise.reject("Unsupported")};return f.return(new nZ({Ib:Wu(b),ah:c,yh:d,oj:e}))})};k.gk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,Dka).then(function(c){return c(a)}))})};k.vi=function(){null!=this.D&&ex(this.D);null!=this.ia&&ex(this.ia)};
  k.up=function(){this.vi();var a=L(this.h.g,12),b=null!=this.s?this.s:63;if(null!=a){var c=new bE;Q(c,5,b);var d=new ZD;d.l(this.m.fb);Jc(this.m.ha)||d.u(this.m.ha);cE(c,[d]);c.setRequestHeader(tla(this));d=new Gl;U(d,3,this.m.cookie||this.h.h.h.g);c.J(d);c=c.wa();d=(this.K?uZ(this.K,this):[]).map(function(f){return f.wa()});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=br(a,"r",c),a=br(a,
  "l",d),c=qx(ox),c.open("GET",a,!1),c.send(null));this.F=!0}this.disconnect(b)};
  var Ola=function(a,b){var c=null,d=null;try{c=b.response.Lb,d=c[0]}catch(f){}var e;"chparp"===d?(b=new sD(c),(c=b.getResponseHeader())&&(e=10==c.Ja()?Qla[L(b,4)]||209:Rla[c.Ja()])):"number"===typeof b&&(e=b);return void 0!==e?e:63==a.s||3==a.getState()||4==a.getState()?219:302},Pla=function(a,b){var c=a.ha.get(),d=b.filter(function(f){return f.Y()===c}),e=(b=a.Ca.m.concat().find(function(f){return"a"===f.g.g}))&&b.g.getId();if(d=(d=e&&d.find(function(f){return f.Da()===e}))&&S(d,xC,6)&&L(S(d,xC,6),
  1))iW(b),a.g.R(a.od,{zz:d}),a.logImpression(990)},Qla={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},Rla={1:0,2:307,3:303,4:217,5:305,6:307,7:307,8:306,11:217};var wZ=function(a,b,c){eS.call(this,a,c,1);var d=this;this.j=b;this.m=new tL;this.T(this.m);this.m.listen(this.g,"Q",function(){var e=d.g;var f=d.j;e=e.Za?e.ta():bW(e,f);null!=e&&d.O(new vZ(d.j,e))})};t(wZ,eS);wZ.prototype.s=function(){return this.j};var vZ=function(a,b){W.call(this,"cb");this.sessionId=a;this.stream=b};t(vZ,W);function Sla(){var a=Ye();return a&&a.mediaDevices&&a.mediaDevices.enumerateDevices?ct(a.mediaDevices.enumerateDevices()):ct([])}function Tla(a){var b=Ye();return b&&b.mediaDevices&&b.mediaDevices.getUserMedia?ct(b.mediaDevices.getUserMedia(a)):dt("Missing getUserMedia API.")};var xZ=function(a){this.deviceId=a.s;this.j=a.C;this.groupId=a.l;this.l=a.u;this.m=a.m};xZ.prototype.equals=function(a){return a===this?!0:a&&this.deviceId===a.deviceId?Rf?!0:"default"===this.deviceId||"communications"===this.deviceId?this.j===a.j&&this.groupId===a.groupId:!0:!1};xZ.prototype.toString=function(){return"MediaSettings(deviceId="+this.deviceId+",deviceLabel="+this.j+",groupId="+this.groupId+")"};
  xZ.prototype.C=function(a){return void 0===a||a?{deviceId:{exact:this.deviceId}}:{mandatory:{sourceId:this.deviceId},optional:[]}};var yZ=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};yZ.prototype.ja=function(){return new xZ(this)};yZ.prototype.j=function(a){this.l=a;return this};function Ula(a){a=a instanceof Error&&a.name;return"NotAllowedError"===a||"PermissionDeniedError"===a||"PermissionDismissedError"===a}function Vla(a){a=a instanceof Error&&a.name;return"NotReadableError"===a||"TrackStartError"===a}
  function Wla(a){if(!(Re()&&0<=Vc(Te(),10.14)&&a&&a instanceof Error&&a.name))return!1;if(ud())if(0<=Vc(wd(),73)){if("NotAllowedError"==a.name&&"Permission denied by system"==a.message)return!0}else{if("NotReadableError"==a.name)return!0}else if(td()&&"NotFoundError"==a.name)return!0;return!1};var Xla=m(["",""]),AZ=function(a,b,c){GO.call(this,b);var d=this;this.M=XQ(UQ(new SQ("realtime.media.api.webrtc.Capture"),function(e){return e(Xla,d)}));this.Ra=new Uu(this);this.ma=a;this.ub=NK(a,GM);this.j=c;this.l=this.u=this.H=this.ia=null;this.s=new Set;this.N=new Map;this.G=this.Z=!1;this.ob=null;this.ra=this.ya=!1;this.Ga=this.Oa=this.Ia=this.K=null;this.Fa=!1;this.Hb=this.Ra.signal();this.Za=AN(xN("nlZjzc"),!1);this.X=new Set;this.pb=[];this.ca=[];this.oa=new zZ;Yla(this)};t(AZ,GO);
  AZ.prototype.ba=function(){this.stop();BZ(this,null);this.s.clear();this.ob=null;Ds(this.oa);GO.prototype.ba.call(this)};AZ.prototype.toString=function(){return"Capture(source="+this.g+" muted="+this.Z+" paused="+this.G+" deviceState="+this.h+" stream="+(this.l?this.l.id:null)+")"};
  var Zla=m(["Stopping stream with id=",""]),CZ=function(a,b){b&&(a.M.info(Zla,b.id),[].concat(p(b.getAudioTracks()),p(b.getVideoTracks())).forEach(function(c){fx(c);c.stop()}))},$la=m(["Starting media."]),DZ=function(a){a.M.info($la);a.D("re");a.m().then(xd(a))},ama=m(["Updating device state to: ",""]);AZ.prototype.D=function(a){this.M.info(ama,a);var b=this.Sb();GO.prototype.D.call(this,a);"nd"===a&&BZ(this,null);this.Sb()!==b&&(EZ(this),this.Sb()?BZ(this,null):this.m())};
  AZ.prototype.getDeviceId=function(){return this.j.deviceId};AZ.prototype.cp=function(){return this.ob};var bW=function(a,b){return a.l?a.N.get(b)||null:null};AZ.prototype.ta=function(){return this.l};var ria=function(a,b,c){return new wZ(a,b,c)},bma=m(["Registering sessionId=","."]),cma=m(["Called registerSession() twice with the same sessionId='","'"]);
  AZ.prototype.eb=function(a){this.M.info(bma,a);0===this.s.size&&this.resume();if(this.s.has(a))throw this.M.pa(cma,a),Error("Called registerSession() twice with the same sessionId='"+a+"'");this.s.add(a);this.l&&FZ(this,a,this.l)};var dma=m(["Unregistering sessionId=","."]);AZ.prototype.Aa=function(a){this.M.info(dma,a);this.s.delete(a);var b=bW(this,a);CZ(this,b);this.N.delete(a);this.X.delete(a);0>=this.s.size&&this.pause()};var ema=m(["Stopping."]);
  AZ.prototype.stop=function(){if("st"===this.h)return!1;this.M.info(ema);BZ(this,null);this.s.clear();this.D("st");return!0};var iW=function(a){if("st"==a.h)return!1;GZ(a,!0);return!0};AZ.prototype.start=function(){DZ(this)};AZ.prototype.Sb=function(){switch(this.h){case "nd":case "ad":case "fa":return!0;default:return this.Z}};var fma=m(["Setting mute state to mute=","."]),GZ=function(a,b){a.M.info(fma,b);var c=a.Sb();a.Z=b;c!=b&&(b?BZ(a,null):a.m(),EZ(a),a.O("O"))},gma=m(["Pausing."]);
  AZ.prototype.pause=function(){this.G||"st"==this.h||(this.M.info(gma),this.G=!0,BZ(this,null))};var hma=m(["Resuming."]);AZ.prototype.resume=function(){this.G&&"st"!=this.h&&(this.M.info(hma),this.G=!1,this.m())};
  var ima=m(["Update source state from "," to ",""]),EZ=function(a){var b=a.g.getState(),c=a.Sb()?"mu":"li";b!==c&&(a.M.info(ima,b,c),qO(a.g,c))},jma=m(["Skipping update usermedia while device in state=","."]),kma=m(["Skipping update usermedia because capture is paused."]),lma=m(["Skipping update usermedia because capture is muted."]),mma=m(["Skipping update usermedia because settings were unchanged and the track has not failed."]),nma=m(["Attempting to update usermedia with null constraints."]),oma=
  m(["Skipping update usermedia with empty constraints."]),pma=m(["Attempting to update usermedia with id="," settings="," constraints=","."]),qma=m(["During update usermedia with id="," capture settings changed to ","."]),rma=m(["During update usermedia with id="," capture was muted."]),sma=m(["Update usermedia success with id=","."]),tma=m(["Error during update usermedia call with id="," constraints=",": ","."]),uma=m(["Ignore getUserMedia failure with id="," as we are still in the failure delay period."]),
  vma=m(["Unexpected getUserMedia failure with id=",". Delaying transitioning capture to failure."]),wma=m(["getUserMedia still has not succeeded after delay. About to make one final explicit attempt."]),xma=m(["Clearing pending getUserMedia request with id=","."]);
  AZ.prototype.m=function(a,b){var c=this;a=void 0===a?!0:a;b=void 0===b?!1:b;if(this.H)return ot(this.H,La).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(jma,this.h),ct();if(this.G)return this.M.info(kma),ct();if("re"==d&&this.Z)return this.M.info(lma),ct();if(this.l&&this.ia&&this.ia.equals(this.j)&&!this.ya)return this.M.info(mma),ct();if(this.j.l)return this.j.l==this.u?ct():HZ(this,this.j.l);var e=yma(this);if(!e)return this.M.pa(nma),
  dt("Attempting to update usermedia with null constraints.");if(jd(e))return this.M.info(oma),ct();var f=this.j;b&&(BZ(this,null),IZ(this,null));this.ia=f;var g=zma++;this.M.info(pma,g,this.j,Fa.JSON.stringify(e));var h=this.g.g;"a"==h?this.logImpression(4799):"v"==h&&this.logImpression(4796);this.H=Tla(e).then(function(l){c.Ga=null;c.Fa=!1;"a"==h?c.logImpression(4800):"v"==h&&c.logImpression(4797);JZ(c);c.G||!c.j.equals(f)||"st"===c.h?(c.M.info(qma,g,c.j),CZ(c,l)):c.Z?(c.M.info(rma,g),CZ(c,l)):(c.M.info(sma,
  g),HZ(c,l))},function(l){c.M.L(tma,g,Fa.JSON.stringify(e),l);l&&(c.Ga=l,Ama(c,h,l.name));Wla(l)?(JZ(c),c.Fa=!0,"a"==h?c.logImpression(5802):"v"==h&&c.logImpression(5803),c.D("ad")):Ula(l)?(JZ(c),c.D("ad")):Vla(l)&&a?null!==c.K?c.M.L(uma,g):(c.M.L(vma,g),c.ia=null,c.K=setTimeout(function(){c.K=null;c.M.L(wma);c.logImpression(4578);c.m(!1,b)},2E3)):c.D("fa");throw l;});Bma(this,this.H);nt(this.H,function(){c.M.info(xma,g);c.H=null});return this.H};
  var Bma=function(a,b){var c=setTimeout(function(){a.Ra.R(a.Hb,void 0)},5E3);nt(b,function(){clearTimeout(c)})},Cma=m(["Cancelling pending failure timer since getUserMedia eventually succeeded after delay."]),JZ=function(a){null!==a.K&&(clearTimeout(a.K),a.K=null,a.M.info(Cma))},Dma=m(["Return empty user media constraints with null deviceId."]),Ema=m(["Invalid mediaType=","."]),yma=function(a){if(null==a.getDeviceId()||a.getDeviceId()===Gka.id)return a.M.info(Dma),{};var b={audio:!1,video:!1},c=a.g.g;
  switch(c){case "a":b.audio=a.j.C(!Vf);break;case "v":b.video=a.j.C();break;default:return a.M.pa(Ema,c),null}return b},Fma=m(["getUserMedia success for stream=","."]),Gma=m(["No media tracks for stream=","."]),HZ=function(a,b){a.M.info(Fma,b.id);Za();if(0==b.getAudioTracks().length&&0==b.getVideoTracks().length)return a.M.L(Gma,b.id),ct();BZ(a,null);[].concat(p(b.getAudioTracks()),p(b.getVideoTracks())).forEach(function(c){Ww(c,"ended",a.Bb,void 0,a);Ww(c,["mute","unmute"],a.lb,void 0,a)});Hma(a);
  BZ(a,b);a.lb();Ima(a,b);Jma(a,b);return ct()};AZ.prototype.Bb=function(){this.O("L")};var Hma=function(a){!1!==a.ya&&(a.ya=!1,a.O("M"))};AZ.prototype.lb=function(){var a=Kma(this);a!==this.ra&&(this.ra=a,this.O("N"))};var Kma=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})};AZ.prototype.Pk=function(){return this.ra};
  var Lma=function(a,b){var c=b.u;if(a.Za&&c)if(b.h)a.X.has(c)&&a.ta()&&(FZ(a,c,a.ta()),a.X.delete(c),a.O("Q"));else if(b=bW(a,c))CZ(a,b),a.N.delete(c),a.X.add(c)},Mma=m(["Capture's StreamTransformer threw while setting it's input stream."]),BZ=function(a,b){if(b!=a.u){var c=a.u;a.u=b;try{KZ(a.oa,b)}catch(d){throw VQ(a.M,d).pa(Mma),d;}finally{CZ(a,c),a.pb.forEach(function(d){return CZ(a,d)}),a.pb.length=0}}},Nma=m(["Stream changed with new stream=","."]),IZ=function(a,b){b!==a.l&&(a.ca.push.apply(a.ca,
  p([a.l].concat(p(a.N.values())).filter(Boolean))),a.N.clear(),a.X.clear(),b?(Oma(a),a.s.forEach(function(c){FZ(a,c,b)})):LZ(a),a.M.info(Nma,b&&b.id),a.l=b,a.O("Q"))},Pma=m(["UI call to release old streams timed out"]),Oma=function(a){setTimeout(function(){0<a.ca.length&&(a.M.L(Pma),LZ(a))},3E3)},LZ=function(a){a.ca.forEach(function(b){return CZ(a,b)});a.ca.length=0},Yla=function(a){KZ(a.oa,a.u);fv(a.oa.j,function(b){IZ(a,b?b.clone():null)},a)},FZ=function(a,b,c){c=c.clone();a.N.set(b,c)};
  AZ.prototype.logImpression=function(a){this.ub.then(function(b){b.logImpression(a)})};
  var Qma=m(["echoCancellation=",""]),Ima=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.Ia&&(a.Ia=b,a.logImpression(b?4705:4706),a.M.info(Qma,!b)))},Rma=m(["echoCancellationType=none (unknown)"]),Sma=m(["echoCancellationType=",""]),Jma=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(Rma);else{b=Vf&&Sp(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.Oa!=c&&(a.Oa=c,a.logImpression(b.get(c)||5286),a.M.info(Sma,c))}}},Ama=function(a,b,c){"a"==b?(a.logImpression(4801),MZ.has(c)?a.logImpression(MZ.get(c).audio):a.logImpression(4471)):"v"==b&&(a.logImpression(4798),MZ.has(c)?a.logImpression(MZ.get(c).video):
  a.logImpression(4943))},zZ=function(){V.call(this);this.g=new Uu(this);this.j=Wu(this.g);this.h=null};t(zZ,V);
  var KZ=function(a,b){a.h=b;a.g.R(a.j,a.h)},zma=0,MZ=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 NZ=function(a){this.width=a.j;this.height=a.h;this.frameRate=a.g};NZ.prototype.toString=function(){return"VideoShape(width="+this.width+", height="+this.height+", frameRate="+(this.frameRate+")")};NZ.prototype.toJson=function(){return{width:this.width,height:this.height,frameRate:this.frameRate}};NZ.prototype.equals=function(a){return!!a&&this.width==a.width&&this.height==a.height&&this.frameRate==a.frameRate};var OZ=function(){this.g=this.h=this.j=null};OZ.prototype.ja=function(){return new NZ(this)};
  var PZ=function(a,b){a.j=b;return a},QZ=function(a,b){a.h=b;return a},RZ=function(a,b){a.g=b;return a};var SZ=function(a){xZ.call(this,a);this.h=a.h;this.g=a.g};t(SZ,xZ);SZ.prototype.equals=function(a){return xZ.prototype.equals.call(this,a)&&a instanceof SZ?this.h.equals(a.h)&&this.g.equals(a.g):!1};SZ.prototype.toString=function(){return"VideoSettings(base="+xZ.prototype.toString.call(this)+", minVideoShape="+(this.h+", maxVideoShape=")+(this.g+")")};
  SZ.prototype.C=function(){var a=xZ.prototype.C.call(this);Wf?(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 TZ=function(a){yZ.call(this,a);this.h=a?a.h:null;this.g=a?a.g:null};t(TZ,yZ);TZ.prototype.ja=function(){return new SZ(this)};var VZ=function(a){J(this,a,0,-1,null,UZ)};w(VZ,I);var UZ=[[1,2,3]];var WZ=function(a){J(this,a,0,-1,null,null)};w(WZ,I);WZ.prototype.Ka=function(){return L(this,1)};WZ.prototype.u=function(a){return Q(this,1,a)};WZ.prototype.sb=function(){return L(this,2)};WZ.prototype.l=function(a){return Q(this,2,a)};var XZ=function(a){J(this,a,0,-1,null,null)};w(XZ,I);XZ.prototype.Ka=function(){return L(this,1)};XZ.prototype.u=function(a){return Q(this,1,a)};XZ.prototype.l=function(){return L(this,2)};XZ.prototype.F=function(a){return Q(this,2,a)};var YZ=function(a){J(this,a,0,-1,null,null)};w(YZ,I);YZ.prototype.u=function(){return L(this,1)};YZ.prototype.l=function(a){return Q(this,1,a)};var ZZ=function(a){J(this,a,0,-1,null,null)};w(ZZ,I);ZZ.prototype.u=function(){return L(this,1)};ZZ.prototype.l=function(a){return Q(this,1,a)};var $Z=function(a){J(this,a,0,-1,null,null)};w($Z,I);$Z.prototype.Ka=function(){return L(this,1)};$Z.prototype.l=function(a){return Q(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 b_=function(a){tL.call(this);var b=this;this.h=new Uu(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=Wu(this.h);this.l=this.h.signal();this.j.then(function(c){b.listen(c,"c",function(){a_(b,c.s())})})};t(b_,tL);b_.prototype.getId=function(){return this.g?this.g.Ka()||"":""};b_.prototype.Eb=function(){return this.g?this.g.Eb()||"":""};
  b_.prototype.zd=function(a){var b=new yJ;a&&R(b,1,a);var c=new EJ;c.zd(b);return this.j.then(function(d){var e=d.mb();U(e,6,c);return ML(d,e)})};
  var a_=function(a,b){var c=a.g;a.g=b;var d=c&&NJ(c),e=b&&NJ(b),f=new bv(a.h),g=d&&N(d,3,"");e=e&&N(e,3,"");g!==e&&f.add(a.m,{Tt:e});g=d&&T(d,BJ,9)||[];e=(e=a.g&&NJ(a.g))&&T(e,BJ,9)||[];Dc(g,e)||f.add(a.D,{kQ:e});g=d&&S(d,zJ,2);e=(e=a.g&&NJ(a.g))&&S(e,zJ,2);g!==e&&f.add(a.F,{bQ:e});g=d&&N(d,8,"");e=(e=a.g&&NJ(a.g))&&N(e,8,"");g!==e&&f.add(a.s,{TP:e});d=(d=d&&d.Sc())?N(d,1,"")||null:null;g=(g=(g=a.g&&NJ(a.g))&&g.Sc())?N(g,1,"")||null:null;d!==g&&f.add(a.u,{ZP:g});c=c&&S(c,JJ,14);b=b&&S(b,JJ,14);Cl(c,
  b)||f.add(a.l,{hP:b});f.R()};var c_=function(a){J(this,a,0,-1,null,null)};w(c_,I);var Tma=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=E(b);sl(a,1,c);break;default:B(b)}return a};c_.prototype.getState=function(){return N(this,1,0)};var e_=function(a){J(this,a,0,-1,null,d_)};w(e_,I);var d_=[[1,2]];var j_=function(a){tL.call(this);this.j=new Uu(this);this.D=this.j.signal();this.G=this.j.signal();this.u=this.j.signal();this.F=this.j.signal();this.h=new Map;this.m=a;this.l=!1;this.g=null;this.s=new f_(this);this.listen(this.m,"ga",this.sm);g_.gx&&(h_.push(5),i_.add("fr-FR"));g_.Zw&&(h_.push(6),i_.add("de-DE"));g_.hx&&(h_.push(4),i_.add("pt-BR"));g_.bx&&(h_.push(2),i_.add("es-MX"));g_.ax&&(h_.push(3),i_.add("es-ES"))};t(j_,tL);k=j_.prototype;k.ba=function(){k_(this);tL.prototype.ba.call(this)};
  k.Oe=function(){return!$e&&(!Rf||Sp(71))};k.isEnabled=function(){return this.l};k.setEnabled=function(a){this.C()||a===this.isEnabled()||(this.l=a,this.sm(),this.j.R(this.D,a))};k.sm=function(){var a=this.m.g,b=!!a&&Uma.has(a.getState());!this.g||this.l&&b||k_(this);!this.g&&this.l&&b&&(this.g=Vma(this,a))};
  var Vma=function(a,b){var c=b.Zo("captions");c.m.attach(function(d){d=new sk(d.data);for(var e=new e_;z(d)&&!x(d);)switch(d.g){case 1:var f=new WY;C(d,f,yla);wl(e,1,d_[0],f);break;case 2:f=new c_;C(d,f,Tma);wl(e,2,d_[0],f);break;default:B(d)}if(M(e,1))if(d=S(e,WY,1),e=XY(d),f=a.h.get(e))f.update(d);else{d=new ZY(d);for(a.h.set(e,d);0<a.h.size;){f=n(a.h.entries().next().value);e=f.next().value;f=f.next().value;if(!(7E4<vQ(Y(),f.getCreationTime()))&&1E3>=a.h.size)break;a.h.delete(e);Ds(f)}a.j.R(a.u,
  d)}else if(M(e,2))d=S(e,c_,2),2===d.getState()&&(a.setEnabled(!1),a.j.R(a.G,!0)),a.j.R(a.F,d.getState());else throw Error("Received unknown data from MR");},a);nt(c.h.promise,function(){c===a.g&&(a.g=null,a.sm())});return c},k_=function(a){a.g&&(Ds(a.g),a.g=null,a.h.forEach(function(b){return Ds(b)}),a.h.clear())},f_=function(a){this.g=a};f_.prototype.Jd=function(a){if(!this.g.C()){var b=new kG;var c=this.g.isEnabled();b=Q(b,1,c);b=Q(b,2,1);U(a,183,b)}};var Uma=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 h_=[1],i_=new Set(["en-US"]),g_=MV({gx:!1,Zw:!1,hx:!1,ax:!1,bx:!1});var l_=function(a){J(this,a,0,-1,null,null)};w(l_,I);var m_=function(a,b){a=N(a,1,"");0<a.length&&G(b,1,a)};var n_=function(a){J(this,a,0,-1,null,null)};w(n_,I);n_.prototype.l=function(){var a=new Ik;var b=S(this,vJ,1);null!=b&&H(a,1,b,OJ);b=S(this,l_,3);null!=b&&H(a,3,b,m_);b=N(this,4,"");0<b.length&&G(a,4,b);(b=O(this,5,!1))&&Uk(a,5,b);b=N(this,6,"");0<b.length&&G(a,6,b);b=N(this,7,"");0<b.length&&G(a,7,b);return Mk(a)};var o_=function(a){J(this,a,0,-1,null,null)};w(o_,I);var p_=function(a){J(this,a,0,-1,null,null)};w(p_,I);var q_=function(a){J(this,a,0,-1,null,null)};w(q_,I);o_.prototype.l=function(){var a=new Ik;var b=this.Eb();0<b.length&&G(a,1,b);b=N(this,2,"");0<b.length&&G(a,2,b);b=S(this,l_,3);null!=b&&H(a,3,b,m_);b=N(this,4,"");0<b.length&&G(a,4,b);b=S(this,p_,5);null!=b&&H(a,5,b,Wma);(b=O(this,6,!1))&&Uk(a,6,b);b=S(this,q_,7);null!=b&&H(a,7,b,Xma);return Mk(a)};
  var Wma=function(a,b){var c=N(a,1,"");0<c.length&&G(b,1,c);c=a.getToken();0<c.length&&G(b,2,c)};p_.prototype.getToken=function(){return N(this,2,"")};p_.prototype.setToken=function(a){return R(this,2,a)};var Xma=function(a,b){a=N(a,1,"");0<a.length&&G(b,1,a)};o_.prototype.Eb=function(){return N(this,1,"")};var r_=function(a,b,c,d){var e=this;this.h=a;this.j={};ad(b,function(f,g){return e.j[g.toLowerCase()]=f});this.qc=c;this.C=d};r_.prototype.Md=function(){return ld(this.j)};var s_=function(a,b){return a.j[b.toLowerCase()]||null};r_.prototype.vk=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 BE;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 Yma=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.Md(),d||a.qc,a.vk(),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&&DN(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.Gk=function(){return Da(function(a){if(1==a.g)throw Error("Worker not ready; never initialized");throw Error("Worker not ready; initialization failed");})};Ma(w_);var x_=function(a){return w_.Qb().Gk(a)},y_=function(a){w_.Qb();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();DN(a,"Content-Type","application/x-protobuf");DN(a,"X-Goog-Api-Key",A_(d)||null);DN(a,"X-Goog-Encode-Response-If-Executable","base64");var e=B_(d)+("/$rpc/"+a.C+"/"+a.g),f=kt(),g=new wx;g.listen("complete",this.l.bind(this,f,c));cx(g,"ready",g.dispose);C_(d)&&(g.s=Math.max(0,C_(d)));g.G=!0;g.u="arraybuffer";var h=a.l,l=null,q=null;h?(l=(c=b.call(h))?c.length:null,this.g&&c&&y_(c.length)?x_(c).then(function(r){DN(a,"Content-Encoding","gzip");l=r.length;
  g.send(e,"POST",r,a.Md());q="gzip-on"},function(){g.send(e,"POST",b.call(h),a.Md());q="gzip-failed"}):(g.send(e,"POST",c,a.Md()),q="gzip-off")):(g.send(e,"POST",null,a.Md()),q="no-body");a.h.sendPath=q;a.h.bodySize=String(l||0);ot(f.promise,function(r){r instanceof Ys&&g.abort()});return f.promise};
  z_.prototype.l=function(a,b,c){var d={Gh:0};try{var e=c.target,f=e.Ja(),g=Ox(e),h=Nx(e);c=null;h&&(c=new Uint8Array(h),d={Gh:c.length||0});c&&cd(g,function(q,r){return"BASE64"==q.toUpperCase()&&"X-GOOG-SAFETY-ENCODING"==r.toUpperCase()})&&(c=kk(ak(c)));if(Kx(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 l=Zma(f,e.m);try{a.resolve(new t_(l,g,c?CE(c):null,d,Error("string"===typeof e.j?e.j:String(e.j))))}catch(q){a.resolve(new t_(l,
  g,null,d,q,"Failed to decode status"))}}}catch(q){a.resolve(new t_(10005,{},null,d,q,"Failure in XHR result processing"))}};var Zma=function(a,b){return 0!=a?a:6==b?10007:b+3E4};var $ma=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);Zb(H_(this),function(b){return I_(a,b)});Zb(J_(this),function(b){a.j.push(b)});Zb(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},ana=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):$ma},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 bna=function(a){return{g:function(b){return a().then(function(c){DN(b,"Authorization","Bearer "+c);c=B_(b.getContext());var d;if((d=$e||bf)&&!(d=!c)){var e=c.match(Uq);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&&DN(b,"X-Origin",M_())})}}};var cna=function(a,b){if(window.AbortController){var c=new AbortController,d=null;b&&(d=vx(b),d.then(function(){return c.abort()}));ot(a,function(e){e instanceof Ys&&(c.abort(),d&&d.cancel())});return c.signal}},dna=function(a,b){return fetch(a,b)},ena=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();DN(a,"Content-Type","application/x-protobuf");DN(a,"X-Goog-Api-Key",A_(d)||null);DN(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(l){DN(a,"Content-Encoding","gzip");return l},function(){return b.call(g)}):Promise.resolve(f));var h=kt();f.then(function(l){dna(e,{method:"POST",body:l,headers:new Headers(a.Md()),mode:"cors",
  credentials:"include",signal:cna(h.promise,C_(d))}).then(function(q){return fna(c,q)}).then(function(q){return h.resolve(q)},function(q){q instanceof TypeError?h.resolve(new t_(10007,{},null,{Gh:0},q,"Failure in Fetch")):h.resolve(new t_(10005,{},null,{Gh:0},q,"Failure in Fetch"))});a.h.bodySize=String(l.length)});return h.promise};
  var fna=function(a,b){var c=b.status,d=ena(b.headers);return b.arrayBuffer().then(function(e){e=new Uint8Array(e);var f={Gh:e.length};e&&"BASE64"==(b.headers.get("X-Goog-Safety-Encoding")||"").toUpperCase()&&(e=kk(ak(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,CE(e),f)}catch(g){return new t_(c,d,null,f,g,"Failed to decode status")}})};var hna=function(){var a=this;this.g=new gM(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].ri.g,initReq:O_(b),req:O_(d[0].ri),resp:P_(d[0].response),attemptsHistory:gna(d)})}}},ina=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.La().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 ina(Q_(),a,b,c)},S_=function(a){var b=Q_();L_(a,b.h)},Q_=function(){T_||(T_=new hna);return T_},T_=null,U_=function(a){if(a){if(a.wa)return JSON.parse(a.wa());if(Oa(a))return bc(a,function(b){return U_(b)})}return a},O_=function(a){return{name:a.C+"/"+a.g,body:Gs(U_(a.l)),head:a.Md(),meta:a.h}},P_=function(a){var b={code:a.h,body:Gs(U_(a.qc)),head:a.Md()};a instanceof t_&&(b.status=Gs(U_(a.g)),b.ex=a.l,b.msg=a.getMessage());return b},gna=function(a){var b=[];Zb(a,function(c){var d=
  O_(c.ri),e=P_(c.response);b.push({Nf:(new Date(c.Nf)).toString(),Ag:(new Date(c.Ag)).toString(),ri: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 jna=new Set([502,504,500,503]),kna=new Set([0,-1,10007]),lna={validate:function(a,b){return ct(jna.has(b.h)?2:0)}},mna={validate:function(a,b){return ct(kna.has(b.h)?2:0)}};MV({gE:!1});var ona=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(lna);c.j.push(mna);c.j.push(nna);a=new v_;I_(c,a);L_(c,a);S_(c);return c},nna={validate:function(a,b){return ct(400==b.h?2:0)}};var pna=function(a,b,c){var d=this;this.s=new pM(1E3,36E4);this.g=a.getContext();this.j=a;a=C_(this.g);var e=E_(this.g);this.l=0<a?new pM(a,Math.max(a,e)):null;this.G=b;this.D=c;this.h=kt();this.F=0;this.C=this.u=!1;V_(this.h.promise,function(){d.C=!0});this.m=[];W_(this)},W_=function(a){var b=Za();qna(a).then(function(c){a.m.unshift({Nf:b,Ag:Za(),ri:c.request,response:c.response});2==c.Ig&&a.F<F_(a.g)?rna(a):sna(a,c)})},rna=function(a){a.F++;a.l&&(qM(a.l),a.g.h=a.l.g);var b=vx(a.s.g).then(function(){return W_(a)});
  qM(a.s);V_(a.h.promise,function(){return b.cancel()})},sna=function(a,b){a.u||(0==b.Ig?a.h.resolve(b.response):(b.response instanceof u_&&(b.response=Yma(b.response)),a.h.reject(b.response)),a.u=!0,Zb(K_(a.g),function(c){return Ts(function(){return c.onRequest.apply(c,[a.j.clone()].concat(p(a.m)))})}))},qna=function(a){var b=kt().promise;V_(a.h.promise,function(){return b.cancel()});var c=a.j.clone(),d=!1,e={Gh:0},f=[],g=tna(a,b,c),h=g.then(function(r){return d?new t_(20002,{},null):una(a,b,r)}),
  l=ht([g,h]).then(function(r){return d?1:vna(a,b,r[0],r[1])},function(){return 3});f.push(it([g,h,l]).then(function(r){return r[0].Le?r[1].Le?r[2].Le?{request:r[0].value,response:r[1].value,Ig:r[2].value}:{request:r[0].value,response:new t_(10006,r[1].value.Md(),r[1].value.qc,r[1].value.vk(),r[2].reason),Ig:3}:{request:r[0].value,response:new t_(10005,{},null,e,r[1].reason),Ig:3}:{request:c.clone(),response:new t_(10004,{},null,e,r[0].reason),Ig:3}}));if(a.l){var q=vx(a.l.g).then(function(){d=!0;return{request:c.clone(),
  response:new t_(10001,{},null,e,null,"Client timed out"),Ig:2}});V_(b,function(){return q.cancel()});f.push(q)}f=gt(f);nt(f,function(){return b.cancel()});return f},tna=function(a,b,c){if(a.C)return dt(Ru("Cancelled decorating "+a.j.g));var d=bc(H_(a.g),function(e){try{return e.g(c)||ct()}catch(f){return dt(f)}});V_(b,function(){return Zb(d,function(e){return e.cancel()})});return ht(d).then(function(){return c.clone()})},una=function(a,b,c){if(a.C)return dt(Ru("Cancelled sending "+a.j.g));var d=
  G_(a.g).h(c,a.G,a.D);V_(b,function(){return d.cancel()});return d},vna=function(a,b,c,d){if(a.C)return dt(Ru("Cancelled validating "+a.j.g));var e=bc(J_(a.g),function(f){return f.validate(c,d)});V_(b,function(){return Zb(e,function(f){return f.cancel()})});return ht(e).then(function(f){return cc(f,function(g,h){return Math.max(g,h)},d instanceof u_?0:1)})},V_=function(a,b){ot(a,function(c){c instanceof Ys&&b()})};var X_=function(a,b){D_.call(this,void 0===b?null:b);this.H=a};t(X_,D_);X_.prototype.makeRequest=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;b=new EN(this.s(),this.H,a.Xb,c,b,d);return(new pna(b,a.sc,a.jc)).h.promise};X_.prototype.s=function(){return new X_(this.H,D_.prototype.s.call(this))};var wna=new Set(["ResolveMeetingSpace","CreateMeetingSpace"]),xna=function(a){var b=a.apiKey;a=hr(a.yq,"/"+a.apiVersion+"/${path}");b&&(a=br(a,"key",b));return a},yna=function(a,b){a=new D_(a);b=new Y_(b);I_(a,b);L_(a,b);return a},zna=function(a,b,c,d){this.j=a;this.h=b;this.l=c;this.g=d;this.bp=null},Bna=function(a){var b=tv(),c={apiVersion:"v1",apiKey:null,yq:"https://meetings.clients6.google.com"};a=Ana(a,c);var d=new zna(xna(c),b,a,yna(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.bp=g}});return d};function Ana(a,b){b=ona(b.yq,b.apiKey);I_(b,{g:function(c){if(!FN(c,"X-Goog-Meeting-Debugid")){var d=a.g;d&&DN(c,"X-Goog-Meeting-Debugid",d)}}});I_(b,new KN);I_(b,new GN);S_(b);return b}var Y_=function(a){this.h=a};Y_.prototype.g=function(a){null==FN(a,"X-Goog-Meeting-Token")&&!wna.has(a.g)&&DN(a,"X-Goog-Meeting-Token",rv(this.h))};
  Y_.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 Hl;e=Q(f,2,e);d=Q(e,1,d[1]);qv(c,d)}}};var Z_=function(a){J(this,a,0,-1,null,null)};w(Z_,I);Z_.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);return Mk(a)};Z_.prototype.Ka=function(){return N(this,1,"")};var $_=function(a){J(this,a,0,-1,null,null)};w($_,I);var Cna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};$_.prototype.W=function(){return S(this,lI,1)};$_.prototype.J=function(a){U(this,1,a)};$_.prototype.aa=function(){this.J(void 0)};var a0=function(a){J(this,a,0,-1,null,null)};w(a0,I);var Dna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};a0.prototype.W=function(){return S(this,lI,1)};a0.prototype.J=function(a){U(this,1,a)};a0.prototype.aa=function(){this.J(void 0)};var b0=function(a){J(this,a,0,-1,null,null)};w(b0,I);var Ena=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};b0.prototype.W=function(){return S(this,lI,1)};b0.prototype.J=function(a){U(this,1,a)};b0.prototype.aa=function(){this.J(void 0)};var c0=function(a){J(this,a,0,-1,null,null)};w(c0,I);var Fna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};c0.prototype.W=function(){return S(this,lI,1)};c0.prototype.J=function(a){U(this,1,a)};c0.prototype.aa=function(){this.J(void 0)};var d0=function(a){J(this,a,0,-1,null,null)};w(d0,I);var Gna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};d0.prototype.W=function(){return S(this,lI,1)};d0.prototype.J=function(a){U(this,1,a)};d0.prototype.aa=function(){this.J(void 0)};var e0=function(a){J(this,a,0,-1,null,null)};w(e0,I);var Hna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};e0.prototype.W=function(){return S(this,lI,1)};e0.prototype.J=function(a){U(this,1,a)};e0.prototype.aa=function(){this.J(void 0)};var f0=function(a){J(this,a,0,-1,null,null)};w(f0,I);var Ina=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};f0.prototype.W=function(){return S(this,lI,1)};f0.prototype.J=function(a){U(this,1,a)};f0.prototype.aa=function(){this.J(void 0)};var g0=function(a){J(this,a,0,-1,null,null)};w(g0,I);var Jna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};g0.prototype.W=function(){return S(this,lI,1)};g0.prototype.J=function(a){U(this,1,a)};g0.prototype.aa=function(){this.J(void 0)};var h0=function(a){J(this,a,0,-1,null,null)};w(h0,I);var Kna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};h0.prototype.W=function(){return S(this,lI,1)};h0.prototype.J=function(a){U(this,1,a)};h0.prototype.aa=function(){this.J(void 0)};var i0=function(a){J(this,a,0,-1,null,null)};w(i0,I);var Lna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};i0.prototype.W=function(){return S(this,lI,1)};i0.prototype.J=function(a){U(this,1,a)};i0.prototype.aa=function(){this.J(void 0)};var j0=function(a){J(this,a,0,-1,null,null)};w(j0,I);var Mna=function(a,b){a=a.W();null!=a&&H(b,1,a,oI)};j0.prototype.W=function(){return S(this,lI,1)};j0.prototype.J=function(a){U(this,1,a)};j0.prototype.aa=function(){this.J(void 0)};var k0=function(a){J(this,a,0,-1,null,null)};w(k0,I);
  k0.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);b=S(this,j0,2);null!=b&&H(a,2,b,Mna);b=S(this,b0,3);null!=b&&H(a,3,b,Ena);b=S(this,e0,4);null!=b&&H(a,4,b,Hna);b=S(this,g0,5);null!=b&&H(a,5,b,Jna);b=S(this,f0,6);null!=b&&H(a,6,b,Ina);b=S(this,i0,7);null!=b&&H(a,7,b,Lna);b=S(this,h0,8);null!=b&&H(a,8,b,Kna);b=S(this,a0,9);null!=b&&H(a,9,b,Dna);b=S(this,$_,10);null!=b&&H(a,10,b,Cna);b=S(this,c0,11);null!=b&&H(a,11,b,Fna);b=S(this,d0,12);null!=b&&H(a,12,b,Gna);return Mk(a)};
  k0.prototype.Ka=function(){return N(this,1,"")};var l0=function(a){J(this,a,0,-1,Nna,null)};w(l0,I);var Nna=[2],Ona=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new jI;C(b,c,kI);yl(a,2,c,jI);break;default:B(b)}return a};l0.prototype.W=function(){return S(this,lI,1)};l0.prototype.J=function(a){U(this,1,a)};l0.prototype.aa=function(){this.J(void 0)};var m0=function(a){J(this,a,0,-1,null,null)};w(m0,I);var n0=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;default:B(b)}return a};m0.prototype.W=function(){return S(this,lI,1)};m0.prototype.J=function(a){U(this,1,a)};m0.prototype.aa=function(){this.J(void 0)};var p0=function(a){J(this,a,0,-1,null,o0)};w(p0,I);var o0=[[1,2]],Pna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,o0[0],c);break;case 2:c=new l0;C(b,c,Ona);wl(a,2,o0[0],c);break;default:B(b)}return a};var q0=function(a){J(this,a,0,-1,null,null)};w(q0,I);var Qna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new qI;C(b,c,vI);U(a,2,c);break;default:B(b)}return a};q0.prototype.W=function(){return S(this,lI,1)};q0.prototype.J=function(a){U(this,1,a)};q0.prototype.aa=function(){this.J(void 0)};var s0=function(a){J(this,a,0,-1,null,r0)};w(s0,I);var r0=[[1,2]],Rna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,r0[0],c);break;case 2:c=new q0;C(b,c,Qna);wl(a,2,r0[0],c);break;default:B(b)}return a};var u0=function(a){J(this,a,0,-1,null,t0)};w(u0,I);var v0=function(a){J(this,a,0,-1,Sna,null)};w(v0,I);var t0=[[1,2]],Una=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,t0[0],c);break;case 2:c=new v0;C(b,c,Tna);wl(a,2,t0[0],c);break;default:B(b)}return a},Sna=[2],Tna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new yI;C(b,c,GI);yl(a,2,c,yI);break;default:B(b)}return a};v0.prototype.W=function(){return S(this,lI,1)};
  v0.prototype.J=function(a){U(this,1,a)};v0.prototype.aa=function(){this.J(void 0)};var x0=function(a){J(this,a,0,-1,null,w0)};w(x0,I);var y0=function(a){J(this,a,0,-1,Vna,null)};w(y0,I);var w0=[[1,2]],Xna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,w0[0],c);break;case 2:c=new y0;C(b,c,Wna);wl(a,2,w0[0],c);break;default:B(b)}return a},Vna=[2],Wna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new QI;C(b,c,RI);yl(a,2,c,QI);break;default:B(b)}return a};y0.prototype.W=function(){return S(this,lI,1)};
  y0.prototype.J=function(a){U(this,1,a)};y0.prototype.aa=function(){this.J(void 0)};var z0=function(a){J(this,a,0,-1,null,null)};w(z0,I);var Yna=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=F(b);R(a,1,c);break;case 2:c=new hI;C(b,c,iI);U(a,2,c);break;case 3:c=new hI;C(b,c,iI);U(a,3,c);break;case 4:c=E(b);sl(a,4,c);break;case 5:c=E(b);sl(a,5,c);break;case 6:c=E(b);sl(a,6,c);break;case 7:c=new gF;C(b,c,hF);U(a,7,c);break;default:B(b)}return a};z0.prototype.getName=function(){return N(this,1,"")};var B0=function(a){J(this,a,0,-1,null,A0)};w(B0,I);var C0=function(a){J(this,a,0,-1,Zna,null)};w(C0,I);var A0=[[1,2]],aoa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,A0[0],c);break;case 2:c=new C0;C(b,c,$na);wl(a,2,A0[0],c);break;default:B(b)}return a},Zna=[2],$na=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new z0;C(b,c,Yna);yl(a,2,c,z0);break;default:B(b)}return a};
  C0.prototype.W=function(){return S(this,lI,1)};C0.prototype.J=function(a){U(this,1,a)};C0.prototype.aa=function(){this.J(void 0)};var E0=function(a){J(this,a,0,-1,null,D0)};w(E0,I);var F0=function(a){J(this,a,0,-1,boa,null)};w(F0,I);var D0=[[1,2]],doa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,D0[0],c);break;case 2:c=new F0;C(b,c,coa);wl(a,2,D0[0],c);break;default:B(b)}return a},boa=[2],coa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new UI;C(b,c,XI);yl(a,2,c,UI);break;default:B(b)}return a};F0.prototype.W=function(){return S(this,lI,1)};
  F0.prototype.J=function(a){U(this,1,a)};F0.prototype.aa=function(){this.J(void 0)};var H0=function(a){J(this,a,0,-1,null,G0)};w(H0,I);var I0=function(a){J(this,a,0,-1,eoa,null)};w(I0,I);var G0=[[1,2]],goa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,G0[0],c);break;case 2:c=new I0;C(b,c,foa);wl(a,2,G0[0],c);break;default:B(b)}return a},eoa=[2],foa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new ZI;C(b,c,$I);yl(a,2,c,ZI);break;default:B(b)}return a};I0.prototype.W=function(){return S(this,lI,1)};
  I0.prototype.J=function(a){U(this,1,a)};I0.prototype.aa=function(){this.J(void 0)};var K0=function(a){J(this,a,0,-1,null,J0)};w(K0,I);var L0=function(a){J(this,a,0,-1,hoa,null)};w(L0,I);var J0=[[1,2]],joa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,J0[0],c);break;case 2:c=new L0;C(b,c,ioa);wl(a,2,J0[0],c);break;default:B(b)}return a},hoa=[2],ioa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new fJ;C(b,c,gJ);yl(a,2,c,fJ);break;default:B(b)}return a};L0.prototype.W=function(){return S(this,lI,1)};
  L0.prototype.J=function(a){U(this,1,a)};L0.prototype.aa=function(){this.J(void 0)};var N0=function(a){J(this,a,0,-1,null,M0)};w(N0,I);var O0=function(a){J(this,a,0,-1,koa,null)};w(O0,I);var M0=[[1,2]],moa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,M0[0],c);break;case 2:c=new O0;C(b,c,loa);wl(a,2,M0[0],c);break;default:B(b)}return a},koa=[2],loa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new iJ;C(b,c,jJ);yl(a,2,c,iJ);break;default:B(b)}return a};O0.prototype.W=function(){return S(this,lI,1)};
  O0.prototype.J=function(a){U(this,1,a)};O0.prototype.aa=function(){this.J(void 0)};var Q0=function(a){J(this,a,0,-1,null,P0)};w(Q0,I);var R0=function(a){J(this,a,0,-1,noa,null)};w(R0,I);var P0=[[1,2]],poa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,P0[0],c);break;case 2:c=new R0;C(b,c,ooa);wl(a,2,P0[0],c);break;default:B(b)}return a},noa=[2],ooa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new mJ;C(b,c,nJ);yl(a,2,c,mJ);break;default:B(b)}return a};R0.prototype.W=function(){return S(this,lI,1)};
  R0.prototype.J=function(a){U(this,1,a)};R0.prototype.aa=function(){this.J(void 0)};var T0=function(a){J(this,a,0,-1,null,S0)};w(T0,I);var U0=function(a){J(this,a,0,-1,null,null)};w(U0,I);var S0=[[1,2]],roa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new m0;C(b,c,n0);wl(a,1,S0[0],c);break;case 2:c=new U0;C(b,c,qoa);wl(a,2,S0[0],c);break;default:B(b)}return a},qoa=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=new lI;C(b,c,nI);a.J(c);break;case 2:c=new vJ;C(b,c,LJ);U(a,2,c);break;default:B(b)}return a};U0.prototype.W=function(){return S(this,lI,1)};
  U0.prototype.J=function(a){U(this,1,a)};U0.prototype.aa=function(){this.J(void 0)};var V0=function(a){J(this,a,0,-1,null,null)};w(V0,I);V0.prototype.getDevices=function(){return S(this,u0,2)};var W0=function(a){J(this,a,0,-1,soa,null)};w(W0,I);var soa=[1],X0=function(a,b){a=L(a,1);0<a.length&&Zk(b,1,a)};var Y0=function(a){J(this,a,0,-1,null,null)};w(Y0,I);Y0.prototype.l=function(){var a=new Ik;var b=S(this,vJ,1);null!=b&&H(a,1,b,OJ);b=S(this,W0,2);null!=b&&H(a,2,b,X0);return Mk(a)};var Z0=function(a,b){return U(a,1,b)};var toa={Xb:"CreateMeetingSpace",sc:n_.prototype.l,jc:MJ},uoa={Xb:"GetMeetingSpace",sc:Z_.prototype.l,jc:MJ},voa={Xb:"ResolveMeetingSpace",sc:o_.prototype.l,jc:MJ},woa={Xb:"SyncMeetingSpaceCollections",sc:k0.prototype.l,jc:function(a){a=new sk(a);for(var b=new V0;z(a)&&!x(a);)switch(a.g){case 1:var c=new T0;C(a,c,roa);U(b,1,c);break;case 2:c=new u0;C(a,c,Una);U(b,2,c);break;case 3:c=new E0;C(a,c,doa);U(b,3,c);break;case 4:c=new K0;C(a,c,joa);U(b,4,c);break;case 5:c=new H0;C(a,c,goa);U(b,5,c);break;
  case 6:c=new Q0;C(a,c,poa);U(b,6,c);break;case 7:c=new N0;C(a,c,moa);U(b,7,c);break;case 8:c=new s0;C(a,c,Rna);U(b,8,c);break;case 9:c=new p0;C(a,c,Pna);U(b,9,c);break;case 10:c=new x0;C(a,c,Xna);U(b,10,c);break;case 11:c=new B0;C(a,c,aoa);U(b,11,c);break;default:B(a)}return b}},$0={Xb:"UpdateMeetingSpace",sc:Y0.prototype.l,jc:MJ};var a1=function(a,b,c,d,e,f){f=void 0===f?{}:f;b=xoa(b,{sz:d,mu:e,Do:f.Do});return yoa(a,b,c,f).then(function(g){return g.qc})};function yoa(a,b,c,d){var e=void 0===d?{}:d;d=e.tx;e=e.pr;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 X_?a:new X_("google.rtc.meetings.v1.MeetingSpaceService",a.g)).makeRequest(voa,b,f)}
  function xoa(a,b){var c=b.sz,d=b.mu;b=b.Do;var e=new o_;a=R(e,1,a);c&&R(a,4,c);d&&rl(a,6,d);b&&(c=new q_,c=R(c,1,b),U(a,7,c));return a};var b1=function(a){J(this,a,0,-1,null,null)};w(b1,I);b1.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);b=S(this,yI,2);null!=b&&H(a,2,b,OI);(b=O(this,3,!1))&&Uk(a,3,b);return Mk(a)};b1.prototype.Ka=function(){return N(this,1,"")};var c1=function(a){J(this,a,0,-1,null,null)};w(c1,I);c1.prototype.l=function(){var a=new Ik;var b=this.getDeviceId();0<b.length&&G(a,1,b);return Mk(a)};c1.prototype.getDeviceId=function(){return N(this,1,"")};var d1=function(a){J(this,a,0,-1,null,null)};w(d1,I);d1.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);return Mk(a)};d1.prototype.Ka=function(){return N(this,1,"")};var zoa=function(a,b){return R(a,1,b)};var e1=function(a){J(this,a,0,-1,Aoa,null)};w(e1,I);var Aoa=[1];var f1=function(a){J(this,a,0,-1,null,null)};w(f1,I);f1.prototype.l=function(){var a=new Ik;var b=S(this,yI,1);null!=b&&H(a,1,b,OI);return Mk(a)};var Boa={Xb:"CreateMeetingDevice",sc:b1.prototype.l,jc:HI},Coa={Xb:"GetMeetingDevice",sc:c1.prototype.l,jc:HI},Doa={Xb:"ListMeetingDevices",sc:d1.prototype.l,jc:function(a){a=new sk(a);for(var b=new e1;z(a)&&!x(a);)switch(a.g){case 1:var c=new yI;C(a,c,GI);yl(b,1,c,yI);break;default:B(a)}return b}},Eoa={Xb:"UpdateMeetingDevice",sc:f1.prototype.l,jc:HI};var g1=function(a,b,c,d){tL.call(this);var e=this;this.o=zg("realtime.meetings.call.PhoneAudioManager");this.l=a;this.ea=b;this.j=new Uu(this);this.s=this.j.signal();this.h="";this.g=!1;this.m=null;d.attach(function(f){e.m=f},this)};t(g1,tL);var Foa=function(a,b){a.h!=b&&(a.h=b,a.j.R(a.s,b))},Goa=function(a,b){b!==a.g&&(a.g=b,a.l.g=b)};var h1=new rK("wTv9bc","pJeK7d"),i1=new rK("ozVaAf","uxsdib",[eR]),j1=new rK("ajMdH","Z9QyEe"),Hoa=new rK("nOd1zc","ldlvqd"),Ioa=new rK("TwbNfc","GMPq1d");new rK("leCFse","Zp5Lrc");new rK("afkTQc","sNq9ve");var k1=new rK("BCx8kd","AzOTcd");new rK("XoPuT","JgZPVd");var l1=new rK("bzqP5","IUiQg");new rK("mhXqB","eFJGrf");new rK("VhwsTc","inBWGb");var m1=zg("realtime.meetings.call.StreamingSessionUtil"),Joa=function(a,b){return 1==a?b:null},Loa=function(a,b){var c=(b=b&&NJ(b))&&T(b,BJ,9);if(c=c&&(c.filter(function(d){return N(d,3,0)==a})[0]||null))return c;b=Joa(a,b&&S(b,zJ,2));return Koa(b)},n1=function(a){var b=Moa.map(function(c){return Noa(c,a)});return ht(b).then(function(c){c.some(function(d){return d})&&a.s.then(function(d){return AM(d)});return c.every(function(d){return d})})},Noa=function(a,b){var c=b.D;if(!c)return dt(Error("No spaces collection"));
  var d=b.j;if(!d)return dt(Error("No devices collection"));var e=o1(b);if(!e)return dt(Error("No local device"));var f=a.Zg,g=function(D){var A=new DI;R(A,1,D);sl(A,2,a.Yg);sl(A,3,f);return A};c=c.s();var h=(c=Loa(f,c))&&c.Ja(),l=2===h||3===h?N(c,2,""):null,q=!1,r=!1,y=[];(T(e,DI,16)||[]).forEach(function(D){r=r||1===N(D,2,0);q=q||N(D,1,"")===l;y.push(g(N(D,1,"")))});l&&!q&&(r=!0,y.push(g(l)));return r?(e=d.mb(e.sb()),xl(e,16,y),b.logImpression(p1.get(f).rpc),ML(d,e).then(function(){Eg(m1,"ack: Modified device");
  b.logImpression(p1.get(f).qm);return!0},function(D){Eg(m1,"ack: Failed to modify device: "+JSON.stringify(D));b.logImpression(p1.get(f).tk);throw D;})):ct(!1)},Ooa=function(a){n1(a);var b=Ww(a.D,"c",function(){return n1(a)});a.onDisconnect.then(function(){return ex(b)})},Qoa=function(a){Poa(a,function(){return n1(a).then(function(b){if(!b)throw Error("Prerequisite not handled");})});a.onConnect.then(function(){return Ooa(a)})},Moa=[{Zg:1,Yg:3},{Zg:1,Yg:6},{Zg:4,Yg:4},{Zg:3,Yg:3},{Zg:4,Yg:5}],p1=new Map([[1,
  {rpc:3852,qm:3831,tk:3832}],[4,{rpc:5097,qm:5098,tk:5099}],[3,{rpc:3852,qm:3831,tk:3832}]]),Roa=new Map([[0,0],[2,2],[3,3],[1,1]]);function Koa(a){if(!a)return null;var b=new BJ;var c=Roa.get(N(a,1,0));b=sl(b,1,c);c=N(a,2,"");b=R(b,2,c);c=N(a,6,0);b=sl(b,3,c);c=N(a,5,"");b=R(b,5,c);if(a=S(a,AJ,4)){c=new CJ;var d=a.getDeviceId();c=R(c,1,d);a=N(a,2,0);a=sl(c,2,a);U(b,4,a)}return b};var q1=function(a){return(a=Soa.exec(a))?a[1]:null},r1=function(a){if(!a)return{Ub:"",Ld:"",qe:""};a=a.split("/");return 6===a.length?{Ub:"spaces/"+a[1],Ld:"*"===a[3]?"":a[3],qe:a[5]}:{Ub:"spaces/"+a[1],Ld:"*"===a[3]?"":a[3],qe:""}},s1=function(a){var b=a.Ub,c=void 0===a.Ld?"":a.Ld;return(a=void 0===a.qe?"":a.qe)?b+"/devices/"+(c||"*")+"/botguard/"+a:b+"/devices/"+(c||"*")},t1=function(a){a=r1(a);var b=a.Ld;return a.Ub+"/handRaises/"+(b?b:"*")},Soa=/^(spaces\/[a-zA-Z0-9_-]+)\//;function Toa(a){if("string"===typeof a){var b=q1(a);return(new WZ).u(b).l(a)}return a}function Uoa(){return q1(this.sb())}function Voa(a){var b=r1(this.sb());this.l(s1({Ub:a,Ld:b.Ld,qe:b.qe}));return this};var Yoa=function(){return new eL({Td:QI,Rd:[Woa],Sd:[function(){}],Zd:[QI.prototype.getName],ae:[QI.prototype.l],Wd:XZ,Ud:[XZ.prototype.Ka],Vd:[XZ.prototype.u],Xd:[XZ.prototype.l],Yd:[XZ.prototype.F],Qh:Xoa})};function Xoa(a){if("string"===typeof a){var b=q1(a);return(new XZ).u(b).F(a)}return a}function Woa(){return q1(this.getName())};function Zoa(a){return"string"===typeof a?(new YZ).l(a):a};function $oa(a){return"string"===typeof a?(new ZZ).l(a):a};function apa(a){return"string"===typeof a?(new $Z).l(a):a};var u1=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.ca=c;this.F=null;this.ia=d;this.l=e;this.Z=f;this.X=g;this.g=[this];this.h=0;this.D=kt();this.G=!1;this.V=this.H=this.K=void 0;this.Wa=++bpa};t(u1,V);u1.prototype.merge=function(a){return a.j===this.j&&a.m===this.m&&this.l&&a.l&&a.l(v1(this))?(this.g.push(a),!0):!1};u1.prototype.N=function(a){this.h=a;return!0};u1.prototype.u=function(){return this.D.promise};
  u1.prototype.s=function(){return this.G};var cpa=function(a){var b={},c=null,d=new Set;a.g.forEach(function(e){c=c||e.Z;e.X.forEach(function(f){return d.add(f)})});c&&(b["X-Goog-Meeting-Botguardid"]=c);return b},v1=function(a){a.F||(a.F=a.ca(a));return a.F},w1=function(a,b){a.g.forEach(function(c){c.G=!0;b instanceof u_?c.D.resolve(c.ia(b)):c.D.reject(b)})};k=u1.prototype;k.ol=function(a){this.K=a};k.Th=function(a,b){void 0!==b&&(b=Math.max(a,b));this.H=a;this.V=b};
  k.aj=function(){return this.g.reduce(function(a,b){return x1(a,b.K)},void 0)||0};k.Ch=function(){return this.g.reduce(function(a,b){return x1(a,b.H)},void 0)};k.nl=function(){return this.g.reduce(function(a,b){return x1(a,b.V)},void 0)};k.wo=function(){return this.j.Xb};k.uo=function(){return v1(this).wa()};k.toString=function(){return"[Operation id: "+this.Wa+": service: "+this.m+", call: "+this.j.Xb+", version: "+this.h+"]"};
  var y1=function(a){a=parseInt(s_(a,"ETag"),10);return isNaN(a)?-1:a},z1=function(){Pb.call(this);this.message="Operation has already been executed.";this.name="AlreadyExecutedError"};t(z1,Pb);var x1=function(a,b){return void 0==a?b:void 0==b?a:Math.min(a,b)},bpa=0;var A1=new WeakMap,B1=function(a){oL.call(this);this.o=zg("realtime.meetings.collections.oneplatform.OperationExecutor");this.h=NK(a,PW);this.g=new Set};t(B1,oL);B1.prototype.execute=function(a,b){var c=this;if(a.s())throw new z1(a);a.l?[].concat(p(this.g)).find(function(d){return d.merge(a)})?"number"===typeof b&&a.Th(b):(this.g.add(a),1==this.g.size&&pL(this),Ts(function(){c.g.delete(a);C1(c,a,b)})):C1(this,a,b)};
  var C1=function(a,b,c){c=void 0===c?null:c;Eg(a.o,"Making request for operation: "+b);var d="number"===typeof c?c:b.Ch();a.h.then(function(e){e=new X_(b.m,e.g);"number"===typeof d&&(e.h=d);ana(e,b.aj());ot(e.makeRequest(b.j,v1(b),cpa(b),{EP:!0}).then(function(f){w1(b,f)}),function(f){return D1(a,b,f)})},function(e){return D1(a,b,e)})},D1=function(a,b,c){Cg(a.o,"OnePlatform operation failed for "+(b+": "+(Pa(c)?Xf(c):c)));w1(b,c)};var E1=function(a,b,c,d,e){var f=new u1("google.rtc.meetings.v1.MeetingSpaceService",woa,function(g){var h=new k0;h=R(h,1,a);d(h,g.h);return h},function(g){return e(g.qc)||{data:[],version:f.h||0}},function(g){if(g instanceof k0){if(g.Ka()!=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 F1=function(a,b){XK.call(this,a);this.g=b};t(F1,XK);k=F1.prototype;k.pg=function(){return!1};k.dd=function(a){a=a[0].clone();var b=r1(a.sb()),c=b.Ub,d=b.qe;b.Ld&&Vb("A full meetingDeviceId set on addDevice operation: "+a.sb());a.l("");b=new b1;c=R(b,1,c);c=U(c,2,a);d=G1(Boa,c,d);4==N(a,11,0)&&d.Th(1E4);return d};k.ed=function(a){a=a[0].clone();var b=r1(a.sb()),c=b.Ub,d=b.Ld;(b=b.qe)&&a.l(s1({Ub:c,Ld:d}));c=new f1;a=U(c,1,a);return G1(Eoa,a,b)};
  k.Hd=function(){throw Error("Invalid Operation: Meeting Device Remove");};k.Gd=function(a){var b=new c1;a=a.sb();b=R(b,1,a);return G1(Coa,b)};k.Id=function(a){(a=a.Ka())||NK(this.g,GM,!0).then(function(b){return b.logImpression(5268)});return dpa(a)};
  var dpa=function(a){var b=zoa(new d1,a);return new u1("google.rtc.meetings.v1.MeetingDeviceService",Doa,function(){return b},function(c){return{data:T(c.qc,yI,1),version:y1(c)}})},G1=function(a,b,c){return new u1("google.rtc.meetings.v1.MeetingDeviceService",a,function(){return b},function(d){return{data:[d.qc],version:y1(d)}},void 0,(void 0===c?"":c)||null)};var H1=function(a){J(this,a,0,-1,null,null)};w(H1,I);H1.prototype.l=function(){var a=new Ik;var b=N(this,1,"");0<b.length&&G(a,1,b);b=S(this,QI,2);null!=b&&H(a,2,b,Fba);return Mk(a)};var epa=function(a,b){return R(a,1,b)},fpa=function(a,b){return U(a,2,b)};var I1=function(a){J(this,a,0,-1,null,null)};w(I1,I);I1.prototype.l=function(){var a=new Ik;var b=this.getName();0<b.length&&G(a,1,b);return Mk(a)};I1.prototype.getName=function(){return N(this,1,"")};var gpa=function(a,b){return R(a,1,b)};var J1=function(a){J(this,a,0,-1,null,null)};w(J1,I);J1.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);return Mk(a)};J1.prototype.Ka=function(){return N(this,1,"")};var hpa=function(a,b){return R(a,1,b)};var K1=function(a){J(this,a,0,-1,null,null)};w(K1,I);var ipa={Xb:"CreateHandRaise",sc:H1.prototype.l,jc:function(a){a=new sk(a);var b=new QI;return RI(b,a)}},jpa={Xb:"DeleteHandRaise",sc:I1.prototype.l,jc:null},kpa={Xb:"ClearHandRaises",sc:J1.prototype.l,jc:function(a){a=new sk(a);for(var b=new K1;z(a)&&!x(a);)B(a);return b}};var L1=function(a){XK.call(this,a)};t(L1,XK);k=L1.prototype;k.pg=function(){return!1};k.dd=function(a){a=a[0];var b=fpa(epa(new H1,q1(a.getName())),a);return new u1("google.rtc.meetings.v1.MeetingHandRaiseService",ipa,function(){return b},function(c){return{data:[c.qc],version:y1(c)}})};k.ed=function(){throw Error("Invalid Operation: Modify operation is not supported for Hand Raise.");};
  k.Hd=function(a){a=a[0];var b=gpa(new I1,a.l());return new u1("google.rtc.meetings.v1.MeetingHandRaiseService",jpa,function(){return b},function(c){return{data:[],version:y1(c)}})};k.Gd=function(){throw Error("Invalid Operation: Query operation is not supported for Hand Raise.");};
  k.Id=function(a){a=a.Ka();return E1(a,"hand_raises",function(b){return M(b,11)?M(S(b,c0,11),1)?S(b,c0,11).W().tb():-1:null},function(b,c){var d=new c0;-1!=c&&(c=mI(new lI,c),d.J(c));U(b,11,d)},function(b){var c=(b=(b=S(b,x0,10))&&S(b,y0,2))&&b.W().tb()||-1;return b?{data:T(b,QI,2),version:c}:null})};var M1=function(a){J(this,a,0,-1,null,null)};w(M1,I);M1.prototype.l=function(){var a=new Ik;var b=S(this,ZI,1);null!=b&&H(a,1,b,Oba);b=S(this,W0,2);null!=b&&H(a,2,b,X0);return Mk(a)};var lpa=function(a){var b=new M1;return U(b,1,a)};var mpa={Xb:"UpdatePollSeriesMetadata",sc:M1.prototype.l,jc:function(a){a=new sk(a);var b=new ZI;return $I(b,a)}};var N1=function(a,b){XK.call(this,a);this.g=b};t(N1,XK);k=N1.prototype;k.pg=function(){return!1};k.dd=function(){throw Error("Invalid operation. Add operation is not supported for Poll series metadata.");};k.ed=function(a){var b=lpa(a[0]);return new u1("google.rtc.meetings.v1.MeetingPollService",mpa,function(){return b},function(c){return{data:[c.qc],version:y1(c)}})};k.Hd=function(){throw Error("Invalid operation. Remove operation is not supported for Poll series metadata.");};
  k.Gd=function(){throw Error("Invalid operation. Query operation is not supported for Poll series metadata.");};k.Id=function(){return E1(this.g,"poll_series_metadata",function(a){return M(a,6)?M(S(a,f0,6),1)?S(a,f0,6).W().tb():-1:null},function(a,b){var c=new f0;-1!==b&&(b=mI(new lI,b),c.J(b));U(a,6,c)},function(a){var b=(a=(a=S(a,H0,5))&&S(a,I0,2))&&a.W().tb()||-1;return a?{data:T(a,ZI,2),version:b}:null})};var O1=function(a){J(this,a,0,-1,null,null)};w(O1,I);O1.prototype.l=function(){var a=new Ik;var b=S(this,iJ,1);null!=b&&H(a,1,b,Zba);b=S(this,W0,2);null!=b&&H(a,2,b,X0);return Mk(a)};var npa=function(a){var b=new O1;return U(b,1,a)};var opa={Xb:"UpdateQuestionSeriesMetadata",sc:O1.prototype.l,jc:function(a){a=new sk(a);var b=new iJ;return jJ(b,a)}};var P1=function(a,b){XK.call(this,a);this.g=b};t(P1,XK);k=P1.prototype;k.pg=function(){return!1};k.dd=function(){throw Error("Invalid operation. Add operation is not supported for Question series metadata.");};k.ed=function(a){var b=npa(a[0]);return new u1("google.rtc.meetings.v1.MeetingQuestionService",opa,function(){return b},function(c){return{data:[c.qc],version:y1(c)}})};k.Hd=function(){throw Error("Invalid operation. Remove operation is not supported for Question series metadata.");};
  k.Gd=function(){throw Error("Invalid operation. Query operation is not supported for Question series metadata.");};k.Id=function(){return E1(this.g,"question_series_metadata",function(a){return M(a,8)?M(S(a,h0,8),1)?S(a,h0,8).W().tb():-1:null},function(a,b){var c=new h0;-1!==b&&(b=mI(new lI,b),c.J(b));U(a,8,c)},function(a){var b=(a=(a=S(a,N0,7))&&S(a,O0,2))&&a.W().tb()||-1;return a?{data:T(a,iJ,2),version:b}:null})};var Q1=function(a){XK.call(this,a)};t(Q1,XK);k=Q1.prototype;k.pg=function(){return!1};k.dd=function(a){var b=new n_;a=U(b,1,a[0]);return R1(toa,a)};k.ed=function(a){a=Z0(new Y0,a[0]);return R1($0,a)};k.Hd=function(){throw Error("Invalid Operation: Meeting Space Remove");};k.Gd=function(a){var b=new Z_;a=a.Ka();b=R(b,1,a);return R1(uoa,b)};k.Id=function(a){return this.Gd(a)};
  var R1=function(a,b){return new u1("google.rtc.meetings.v1.MeetingSpaceService",a,function(){return b},function(c){return{data:[c.qc],version:y1(c)}})};var ppa=function(a,b,c){return S1(a,b,[c],new eL({Td:vJ,Rd:[vJ.prototype.Ka],Sd:[vJ.prototype.l],Zd:[],ae:[],Wd:$Z,Ud:[$Z.prototype.Ka],Vd:[$Z.prototype.l],Xd:[],Yd:[],Qh:apa}),function(d){return new Q1(d)},"D","MeetingSpaces")},qpa=function(a,b,c){return S1(a,b,[c],new eL({Td:yI,Rd:[Uoa],Sd:[Voa],Zd:[yI.prototype.sb],ae:[yI.prototype.l],Wd:WZ,Ud:[WZ.prototype.Ka],Vd:[WZ.prototype.u],Xd:[WZ.prototype.sb],Yd:[WZ.prototype.l],Qh:Toa}),function(d){return new F1(d,a)},"u","MeetingDevices")},rpa=function(a,
  b,c){return S1(a,b,[""],new eL({Td:ZI,Rd:[],Sd:[],Zd:[ZI.prototype.getName],ae:[ZI.prototype.l],Wd:YZ,Ud:[],Vd:[],Xd:[YZ.prototype.u],Yd:[YZ.prototype.l],Qh:Zoa}),function(d){return new N1(d,c)},"z","MeetingPollSeriesMetadata")},spa=function(a,b,c){return S1(a,b,[""],new eL({Td:iJ,Rd:[],Sd:[],Zd:[iJ.prototype.getName],ae:[iJ.prototype.l],Wd:ZZ,Ud:[],Vd:[],Xd:[ZZ.prototype.u],Yd:[ZZ.prototype.l],Qh:$oa}),function(d){return new P1(d,c)},"B","MeetingQuestionSeriesMetadata")},tpa=function(a,b,c){return S1(a,
  b,[c],Yoa(),function(d){return new L1(d)},"v","MeetingHandRaises")},S1=function(a,b,c,d,e,f,g){if(A1.has(a))a=A1.get(a);else{var h=new B1(a);A1.set(a,h);a=h}e=e(a);f=new rL(b.j,f);return new rM(S(b.g,qL,13),c,d,e,f,b.l,g)};var T1=function(a,b,c,d,e){e=void 0===e?{}:e;IY.call(this,a,b,d);var f=this;this.Wl=this.g.signal();this.o=new SQ("realtime.meetings.call.MeetingCall");this.ea=new qQ(a);this.ge=new Set;this.F=c;this.K=!!e.AP;this.V=ct(NK(a,PW));var g=kt();this.D=null;this.Sg=c=new VW;this.u=c.g;this.u.then(function(h){IL(h).then(function(){return g.resolve()})});this.bf=new b_(this.u);this.cf=kt();this.GA=this.cf.promise;this.j=null;this.uc=new VW;this.s=this.uc.g;this.ia=null;this.N=new VW;this.Ub=this.N.g;this.Ug=
  new VW;this.Rg=this.Ug.g;this.Ml=new VW;this.rc=!1;this.df=new j_(this.Ca);this.T(this.df);oS(this.ef,this.df.s);this.pb=this.g.signal();this.Ai=new g1(Nka(b),this.ea,this.V,this.pb,this.Ub);this.tc=kt();this.mf=this.tc.promise;this.Aa=this.G=this.Oi=null;this.FA=this.g.signal();this.Lm=new VW;this.ob=this.Ia=null;this.Vg=!1;this.Fc=null;NK(a,NW,!1).then(function(h){f.Fc=h});this.wi=new gM(20);this.Ce=this.m=null;this.Ga=new NV(3E4,this.g);this.Ga.h.attach(function(){f.F&&!f.K?f.D.search():f.j.search()});
  this.Pi=function(){return dt("No prerequisite handler")};this.lf=this.ca=null;this.F&&!this.K&&this.Za.resolve(!0);this.Qg=Wu(this.g);this.s.then(function(h){f.listen(h,"c",f.Vi);f.Vi()});EQ&&Zea();this.sl=GY(function(){return upa(f)});this.tl=GY(function(){return vpa(f)})};t(T1,IY);T1.prototype.Eb=function(){return this.ia};
  T1.prototype.mh=function(){var a=this;return Object.assign(IY.prototype.mh.call(this),{joinState:function(){var b=o1(a);return b?MI(b):0},meetingSpace:function(){return a.u.get()&&a.u.get().Ba()},localMeetingDevice:function(){return o1(a)&&o1(a).wa()},meetingDevices:function(){return a.s.get()&&a.s.get().Ba()},recentMeetingOperations:function(){return a.wi.La()},mediaBackendInfo:function(){var b=a.D&&a.D.s();return(b=b&&NJ(b))&&N(b,8,"")}})};var wpa=m(["Removing meeting device on disconnect"]);
  T1.prototype.Wh=function(a,b){var c=this,d=ct(b);this.ob=b;var e=41===b,f=ct();if(0===b||123===b||126===b){var g=U1(this);g&&(g=this.j.mb(g),II(g,7),f=ML(this.j,g).then(function(){c.logImpression(6096)}))}67==b&&this.m&&(d=this.j.search().then(function(h){return(h=h.find(function(l){return l.sb()==c.m}))&&7==MI(h)?43:b},function(){return b}));d.then(function(h){var l=ct();c.ob=h;nt(f,function(){if(!c.Vg&&(a||c.m)){if(!e){c.o.info(wpa);var r=c.ha.get()||c.m;r=c.j.mb(r);II(r,6);l=ML(c.j,r,2)}l=l.then(function(){V1(c);
  c.m=null;c.g.R(c.pb,null)})}c.ca&&c.ca.cancel();nt(l,function(){c.V.then(function(y){c.Ce=rv(y.h);y=c.h.h.h;y.g=null;pv(y);IY.prototype.Wh.call(c,a,h)})})});var q=new QY(h);c.Sg.reject(q);c.uc.reject(q);c.tc.reject(q);c.u.get()&&c.u.get().stop();c.s.get()&&c.s.get().stop()})};var W1=function(a,b){a.ge.add(b);nt(b,function(){a.ge.delete(b)});return b};
  T1.prototype.resolve=function(a,b){var c=this;b=void 0===b?{}:b;var d=b.gP,e=b.yP,f=!!b.bP,g=b.pr;if(this.ia)return dt(X1("Meeting already resolved"));if(this.F&&!d&&!this.K)return dt(X1("Missing required botguard id"));if(!this.F&&d)return dt(X1("Botguard id not allowed when logged in"));if(b=TY(this,0,"resolve"))return dt(b);var h=!f;f=this.V.then(function(l){return a1(l,a,d,void 0,h,{pr:g,tx:e})});this.cf.resolve(W1(this,f).then(function(l){c.ia=l.Eb();c.be.g=c.ia;var q=l.Ka();c.D=ppa(c.ma,c.h,
  q);Q(c.D.config,8,5E3);c.T(c.D);c.j=qpa(c.ma,c.h,q);Q(c.j.config,8,5E3);c.T(c.j);c.F&&!c.K&&c.Ga.start();c.N.resolve(q);c.be.h=q;a_(c.bf,l);return c.bf},function(l){var q="Resolve code "+a;l instanceof jN?q+=", errorType: "+l.yd:l instanceof t_?q+=", error message: "+l.getMessage():"number"===typeof l&&(q+=", rpc status code: "+l);var r=306,y=Y1(l);null!=y&&(q+=", statusCode: "+y,r=xpa.get(y)||r,c.F&&(r=Z1.get(y)||r),q+=", "+$1(l));c.wi.add(q);c.o.pa(ypa,q);if(q=a2(l))q=N(q,2,0),r=zpa.get(q)||r;l=
  new RY(r,l);c.N.reject(l);c.N=new VW;throw l;}));return this.GA};var ypa=m(["",""]);T1.prototype.ya=function(a){var b=this;this.F?this.N.g.then(function(){IY.prototype.ya.call(b,a)}):IY.prototype.ya.call(this,a)};var Apa=m(["prejoin() was called"]);
  T1.prototype.Bi=function(){var a=this;this.o.info(Apa);var b=TY(this,0,"preJoin");return b?dt(b):ct().then(function(){if(a.F&&!a.K)return ct();if(a.G)return a.G.then(function(c){return b2(a,c)});a.G=c2(a,2).then(function(c){if(a.C())return c;b2(a,c);a.g.R(a.Qg,MI(c));a.Za.resolve(5==MI(c));a.Lm.resolve(null);Bpa(a);return c});return a.G})};
  var Bpa=function(a){var b=BN(xN("AYNFib"),0);0<b&&(a.Aa=tx(function(){d2(a,new RY(262));a.g.R(a.FA,void 0);a.logImpression(7167);a.u.get()&&a.u.get().stop();a.s.get()&&a.s.get().stop();a.Aa=null},b,a))},b2=function(a,b){2==MI(b)?(MY(a,a.Rg.get(),a.m),e2(a)):a.Ga.start()},Cpa=m(["Modifying the meeting device as VIEWING"]),Dpa=m(["Unexpected view state: ",""]);
  T1.prototype.view=function(){var a=this;return(this.G||this.Bi()).then(function(){return a.sessionId.then(function(b){var c=TY(a,0,"view");if(c)throw c;a.Ia||(a.o.info(Cpa),c=new yI,c.l(a.m),JI(c,b),II(c,12),a.Ia=ot(ML(a.j,c).then(function(d){d=d[0];f2(a,d);var e=TY(a,0,"view");if(e)throw e;d=MI(d);if(12!=d)throw a.o.pa(Dpa,d),new Pb("Unexpected join state: "+d);return d}),function(d){a.Ia=null;throw d;}));return a.Ia.then(function(d){12==d&&(a.j.stop(),a.Ga.start());return d})})})};var Epa=m(["connect() was called"]);
  T1.prototype.connect=function(a,b){var c=this;a=void 0===a?null:a;b=void 0===b?null:b;if(this.F&&!a&&!this.K)return dt(new RY(302,"Missing name for anonymous user"));ux(this.Aa);this.Aa=null;return this.fi.then(function(){c.o.info(Epa);var d=TY(c,0,"connect");if(d)return dt(d);LY(c,1);c.Ga.stop();return c.G?ht([c.G,c.Ia]).then(function(){return g2(c)}):c2(c,1,a,b).then(function(e){c.Za.resolve(3===MI(e));return h2(c,e,Date.now())})})};var Fpa=m(["Should not update the same session id."]);
  T1.prototype.Zi=function(a){this.sessionId.get()==a?this.o.pa(Fpa):Gpa(this,a)};var Hpa=m(["Modifying the session id: ",""]),Ipa=m(["Failed to update the session id: ",""]),Gpa=function(a,b){a.o.info(Hpa,b);var c=new yI;c.l(a.m);JI(c,b);c=ML(a.j,c).then(function(d){return f2(a,d[0])},function(){a.o.pa(Ipa,b)});W1(a,c)};
  T1.prototype.Vi=function(){var a=this.s.get(),b=a.get(),c=b.filter(this.kf).map(function(e){return e.sb()});OY(this,c);var d=this.ha.get();if(3!==this.getState()&&4!==this.getState()&&(a=d?a.s(d):null))switch(MI(a)){case 7:this.logImpression(3952);a=i2(a)||43;this.disconnect(a);break;case 8:this.disconnect(Jpa(a));break;case 2:case 3:case 5:case 9:case 12:case 13:this.getState();break;case 1:Kpa(this,a);break;default:this.disconnect(34)}if(a=U1(this))d=N(S(a,FI,20),1,""),Foa(this.Ai,d);Goa(this.Ai,
  !!a&&1===MI(a));Eg(this.M,b.length+" raw devices; "+c.length+" joined.")};var U1=function(a){if(a.j)return a.j.get().find(function(b){return a.kf(b)&&!!S(b,FI,20)&&N(S(b,FI,20),4,"")==a.ha.get()})};T1.prototype.kf=function(a){return O(a,5,!1)||10==MI(a)};
  var Lpa=m(["Failed to clear AudioMuteRequest"]),Kpa=function(a,b){var c=S(b,AI,12)&&N(S(b,AI,12),1,"");if(c!=a.lf){var d=c==b.sb();if(a.lf=c){if(!d||!a.rc){var e=qla(a);e&&!e.Sb()&&iW(e)}b=a.j.mb(b);LI(b,new AI);ot(ML(a.j,b),function(){a.o.pa(Lpa)});d?a.rc||(a.g.R(a.Wl,void 0),a.logImpression(4203)):(a.g.R(a.od,{zz:c}),a.logImpression(990))}}},c2=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;return ot(ht([a.N.g,a.sessionId,a.V]).then(function(e){var f=n(e);e=f.next().value;var g=f.next().value,
  h=f.next().value;f=JI(II((new yI).l(s1({Ub:e,qe:d||""})),b),g);g=a.contentType&&j2.get(a.contentType);1==b&&g&&sl(f,25,g);a.F&&!a.K&&R(f,2,c);Mpa(a,h,e);e=W1(a,a.j.add(f));e.then(function(){a.Ug.resolve(h.bp)});return e}).then(function(e){e=e[0];a.m=e.sb();a.g.R(a.pb,a.m);if(a.F){var f=a.m.split("/")[3]||a.Lc;a.be.j=f;a.Ml.resolve(f)}f2(a,e);return e},a.ym,a),function(e){throw X1(e);})},Npa=m(["Device add operation has been cancelled."]),Opa=m(["Device add error: ",""]);
  T1.prototype.ym=function(a){V1(this);Dg(this.M,"add device failed, moving back to INITIALIZED state");LY(this,0);this.G=null;var b=325,c=Y1(a);a instanceof Ys?(b=219,this.o.pa(Npa)):null!=c&&(b=k2(a,b),this.F&&(b=Z1.get(c)||b),this.o.pa(Opa,$1(a)));throw new RY(b,a);};
  var Ppa=m(["Modifying the meeting device as JOINED"]),Qpa=m(["Device modify error: ",""]),g2=function(a){return ot(a.sessionId.then(function(b){a.o.info(Ppa);var c=new yI;c.l(a.m);JI(c,b);(b=a.contentType&&j2.get(a.contentType))&&sl(c,25,b);II(c,1);return ML(a.j,c)}).then(function(b){f2(a,b[0]);return h2(a,b[0],Date.now())},function(b){var c=303;null!=Y1(b)&&(c=k2(b,c),a.o.pa(Qpa,$1(b)));throw new RY(c,b);}),function(b){return d2(a,X1(b))})},Rpa=m(["Checking the join state"]),Spa=m(["Unexpected join state: ",
  ""]),h2=function(a,b,c){var d=TY(a,1,"checkJoinState");if(d)return d2(a,d);a.g.R(a.Qg,MI(b));a.o.info(Rpa);switch(MI(b)){case 1:return Tpa(a);case 13:return a.ca=vx(5E3).then(function(){return l2(a,Date.now()-c)},function(){d2(a,new RY(219))}),a.ca;case 3:if(6E5<=Date.now()-c)return d2(a,new RY(234));a.ca=vx(5E3).then(function(){return l2(a,c)},function(){d2(a,new RY(252))});return a.ca;case 4:return d2(a,new RY(233));case 11:return d2(a,new RY(241));case 9:var e=0,f=function(){return 5>e++?Upa(a).then(function(l){return a.Pi(l)}):
  dt()},g=function(){return d2(a,new RY(325))},h=function(){return f().then(function(){return ot(g2(a),function(){return h()})},g)};return h();default:return a.o.pa(Spa,MI(b)),d2(a,"Unexpected join state: "+MI(b))}},l2=function(a,b){return a.j.search().then(function(c){c=c.find(function(d){return d.sb()==a.m});f2(a,c);return h2(a,c,b)},function(c){var d=303;null!=Y1(c)&&(d=k2(c,d));return d2(a,new RY(d,c))})},Tpa=function(a){e2(a);var b=kt();NY(a,b,a.Rg.get(),a.m);return b.promise},e2=function(a){a.Sg.resolve(a.D);
  a.uc.resolve(a.j);a.D.start();a.j.start()};T1.prototype.Sn=function(){return ula(this.ha.get(),this.Ca.m.concat().map(function(a){return a.g}),this.Ca)};T1.prototype.oc=function(a){return IY.prototype.oc.call(this,a)};
  var d2=function(a,b){Dg(a.M,"connect failed, moving back to DISCONNECTED state");LY(a,4);if(a.m){var c=new yI;c.l(a.m);II(c,6);nt(ML(a.j,c,2),function(){return V1(a)});a.m=null;a.g.R(a.pb,null);a.G=null}return dt(X1(b))},Mpa=function(a,b,c){Vpa(a,function(){V1(a);var d={meetingToken:rv(b.h)||a.Ce};tN(b.j.replace("${path}",c+"/devices:close"),Gs(d),"application/json");a.Vg=!0},function(){return Wpa(a)})};
  T1.prototype.ie=function(a){IY.prototype.ie.call(this,a);a=YM(a);this.ia&&Q(a,13,this.ia);var b=this.N.g.get();b&&Q(a,14,b)};
  var Wpa=function(a){var b=function(){a.Fc&&uZ(a.Fc,a).forEach(function(c){var d=a.h.h,e=hr(d.u,"/"+d.m+"/"+d.s+"/media_sessions/callperf");d.l&&(e=br(e,"key",d.l));vN(d,c);tN(e,c.wa(),"application/json+protobuf")})};a.disconnect(null!=a.ob?a.ob:63).then(b,b)},X1=function(a){return a instanceof RY||a instanceof Ys?a:new RY(302,a)},Y1=function(a){return a instanceof jN?a.g:a instanceof t_?a.h:"number"===typeof a?Xpa.get(a):null},a2=function(a){if(a instanceof t_)a:{if(a.g){a=n(T(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=kk(a):(Vb("Cannot coerce to Uint8Array: "+Na(a)),a=null));a=new sk(a);for(b=new VZ;z(a)&&!x(a);)switch(a.g){case 1:var c=E(a);ul(b,1,UZ[0],c);break;case 2:c=E(a);ul(b,2,UZ[0],c);break;case 3:c=E(a);ul(b,3,UZ[0],c);break;default:B(a)}a=b;break a}}a=null}else a=null;return a},
  Ypa=function(a){var b="",c=a.l;c&&(b+=" exception name: "+c.name,b+=" exception message: "+c.message);a.g&&(b+=" status: "+a.g.wa());a.qc&&(a=a.qc,Array.isArray(a)?(a=a.map(function(d){return d instanceof I?d.wa():Yf(d)}),b+=" response: "+Gs(a)):b=a instanceof I?b+(" response: "+a.wa()):b+(" response: "+Yf(a)));return b},$1=function(a){if(a instanceof jN&&a.response){a=a.response.lz||"";try{var b=JSON.parse(a).body;var c=b?Gs(b):a}catch(d){c=a}}else c=a instanceof t_?Ypa(a):Yf(a);return c},k2=function(a,
  b){var c=a2(a);if(c&&N(c,1,0)&&(c=Zpa.get(N(c,1,0))))return c;a=Y1(a);return null!=a?$pa.get(a)||b:b},Poa=function(a,b){a.Pi=b},f2=function(a,b){b&&(a.Oi=b,a.tc.resolve(!0))},o1=function(a){var b=null;a.j&&a.m&&(b=a.j.s(a.m));return b||a.Oi},aqa=function(a){return a.D.search().then(function(b){return b[0]})},Upa=function(a){var b=aqa(a);a=a.j.start()||IL(a.j);return ht([b,a]).then(function(c){return n(c).next().value})};
  T1.prototype.ba=function(){this.ge.forEach(function(a){a.cancel()});ux(this.Aa);IY.prototype.ba.call(this)};var Jpa=function(a){a=i2(a);return null!=a?a:bqa()},i2=function(a){switch(N(a,28,0)){case 2:return 121;case 3:return 10;case 6:return 125;default:return null}},bqa=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}};
  T1.prototype.zk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,i1).then(function(c){return function(){return c(a)}}))})};var upa=function(a){return Da(function(b){return b.return(NK(a.ma,k1).then(function(c){return c(a)}))})},vpa=function(a){return Da(function(b){return b.return(NK(a.ma,l1).then(function(c){return c(a)}))})};T1.prototype.Ak=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,j1).then(function(c){return function(){return c(a)}}))})};
  T1.prototype.fk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,h1).then(function(c){return c(a)}))})};T1.prototype.hk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,Hoa).then(function(c){return c(a)}))})};T1.prototype.gk=function(){var a=this;return Da(function(b){return b.return(NK(a.ma,Ioa).then(function(c){return c(a)}))})};
  var xpa=new Map([[404,217],[401,300],[400,327],[403,256],[504,328],[10001,328],[10007,249],[-1,329],[0,329]]),zpa=new Map([[1,217],[5,260],[4,254],[3,253]]),Xpa=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]]),Z1=new Map([[403,200]]),$pa=new Map([[400,324],[403,200],[500,307],[429,216],[10001,330],[10007,331],[-1,331],[0,331]]),Zpa=new Map([[1,239],[4,258],[5,257],[6,261]]),m2=new Map,n2=function(){var a=[].concat(p(m2.values()));
  a.forEach(function(b){b=b.iA;return b()});a.forEach(function(b){b=b.Qt;return b()});m2.clear();dx(Jf(),["beforeunload","unload"],n2)},Vpa=function(a,b,c){0==m2.size&&Ww(Jf(),["beforeunload","unload"],n2);m2.set(a,{iA:b,Qt:c})},V1=function(a){m2.delete(a);0==m2.size&&dx(Jf(),["beforeunload","unload"],n2)},j2=new Map([["stqyie",1],["iaamBc",2],["vLwGKe",3],["hQbUN",4]]);var o2=function(a,b,c,d,e){V.call(this);this.o=db("mr.mirror.hangouts.HangoutCallService");this.h=a;this.m=d;this.N=e;this.g=null;this.u=!1;this.D=new pb;this.j=new pb;this.G=!1;this.F=new pb;this.s=this.l=null;this.H=!1;cqa(this,b,c)};t(o2,V);
  var gqa=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){kb(a.o,"Call ready.");a.u=c.ve;if(a.u)c=dqa(a,c);else{var d=c.fb,e=c.Ph;c=a.h.get(QN);if(e)kb(a.o,"Already resolved id: "+e),c=ct(eO(a.h,c,e));else{kb(a.o,"resolving hangout id: "+d);e=a.h;d=d.split("@");var f=new nB;Q(f,5,!0);if(-1!=d[1].indexOf(".")){var g=new lB;Q(g,1,d[0]);Q(g,2,d[1]);U(f,4,g)}else g=new RA,Q(g,1,d[1]),Q(g,2,d[0]),U(f,
  2,g);c=gO(e,c,f)}c=a.g.connect(c)}return c}).then(null,function(c){eqa(a,c);if(c.Af){for(var d="",e=n(Object.entries(Dja)),f=e.next();!f.done;f=e.next()){var g=n(f.value);f=g.next().value;g=g.next().value;if(g==c.cA){d=f+"("+g+")";break}}a.o.error("Call connect error startupCode: "+d);c=c.Af}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 hs(d));a.j.reject(c);p2(a,16)});return a.j.promise.then(function(){return a.g.ha}).then(function(c){q2(a,
  b,c);if(a.u)return r2(a,c);s2(a,c);fqa(a,a.g.j.get())})},hqa=function(a,b){return new Promise(function(c,d){a.g.ha.then(function(e){q2(a,b,e);if(!a.H){if(a.u){r2(a,e).then(c,d);return}s2(a,e)}c()},d)})},iqa=function(a,b){a.g.Ca.m.concat().forEach(function(c){"a"===c.ga()&&(b?iW(c):"st"!=c.h&&GZ(c,!1))})},jqa=function(a){return a.j.promise.then(function(){$V(a.g.Ca)}).catch(function(){if(a.g)$V(a.g.Ca);else throw Error("call was never created");})};o2.prototype.stop=function(){p2(this,0);return this.F.promise};
  o2.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 cqa=function(a,b,c){a.m(new hs("REFRESH_AUTH"));b.then(function(){return c}).then(function(d){kb(a.o,"Creating call for hangout id: "+d.fb+" resolvedId: "+d.Ph);var e=TR(new SR);a.g=kqa(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)})},kqa=function(a,b,c){var d=a.h.get(BW);b.ve?(b=new T1(a.h,d,!1),b.rc=!0,b.contentType="iaamBc",b.ya(c),b.s.then(a.X,null,a),Qoa(b)):(b=new sZ(a.h,d,c),b.hb.then(a.Z,null,a));b.od.attach(function(){a.m(new hs("STATUS_RESPONSE",
  {mute:!0}));a.N(!0)});return b},dqa=function(a,b){var c=a.g;return c.resolve(b.fb).then(function(){return c.connect()})},q2=function(a,b,c){if(0<b.getAudioTracks().length)if(a.l){var d=a.l;d.sa=b;d.m()}else a.l=new t2(a.h,new oO(c,"1","a","sc"),b),DZ(a.l),a.g.cj(a.l);a.s?(a=a.s,a.sa=b,a.m()):(c=new oO(c,"2","v","sc"),mO(c,[new lO(0,0,1,1)])&&c.O("K"),a.s=new t2(a.h,c,b),DZ(a.s),a.g.cj(a.s))},r2=function(a,b){var c=new yJ;R(c,1,b);var d=a.g.u.get();a=new EJ;a.zd(c);var e=d.mb();U(e,6,a);return new Promise(function(f,
  g){ML(d,e).then(f,g)})},s2=function(a,b){var c=new TA;UA(c,b);b=new XA;b.zd(c);b.yl(a.g.fb.get());ML(a.g.j.get(),b)},fqa=function(a,b){b.onChange.attach(function(){a.g.ha.then(function(c){a.H=b.get().some(function(d){return d.Sc()&&L(d.Sc(),1)==c})})},a)};o2.prototype.X=function(a){var b=this;a.onChange.attach(function(c){return lqa(b,c.mc)},this)};var lqa=function(a,b){b.forEach(function(c){c.sb()==a.g.ha.get()&&7==MI(c)&&p2(a,43)})};
  o2.prototype.Z=function(a){var b=this;a.onChange.attach(function(){return mqa(b,a)},this);a.Z.attach(function(c){b.o.error("Failure in collection: "+c.reason);b.j.reject(c.reason);p2(b,c.Ob)},this)};var mqa=function(a,b){kb(a.o,function(){return"Participants updated: "+b.get().filter(function(c){return O(c,18,!1)}).map(function(c){return L(c,4)}).join(", ")});!a.G&&2>b.get().length&&(a.m(new hs("HANGOUT_INACTIVE")),p2(a,61))};
  o2.prototype.K=function(){this.o.info("Call connected");this.m(new hs("SESSION_START_SUCCESS"));this.j.resolve(void 0)};o2.prototype.V=function(a){this.m(new hs("SESSION_END"));var b="",c;for(c in QA)if(QA[c]==a){b=c+"("+a+")";break}this.o.info("Call ended with endcause: "+b);0!=a&&61!=a&&16!=a&&this.m(new hs("SESSION_FAILURE"))};
  var p2=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){kb(a.o,"Call disconnected with endCause: "+c);a.F.resolve(void 0)}):a.F.resolve(void 0))},eqa=function(a,b){b instanceof Error?a.o.error("Connect error",b):Oa(b)?a.o.error(function(){return"Connect error: "+JSON.stringify(b)}):Pa(b)?a.o.error("Connect error: "+JSON.stringify(b)):a.o.error("Connect error: "+b)},t2=function(a,b,c){AZ.call(this,
  a,b,nqa);this.sa=c};t(t2,AZ);t2.prototype.m=function(){var a=this.sa.clone();HZ(this,a);a.getVideoTracks().forEach(function(b){"contentHint"in b&&(b.contentHint="detail")});return ct()};var u2=new TZ,oqa=QZ(PZ(RZ(new OZ,30),320),180).ja();u2.h=oqa;var pqa=QZ(PZ(RZ(new OZ,30),640),360).ja();u2.g=pqa;var nqa=u2.ja();var v2=function(a,b){this.status=void 0===a?99:a;this.value=b};v2.prototype.toString=function(){return"ExtensionResult(status="+this.status+", value="+this.value+")"};var w2=function(a){if(0===a.status)return a.value;throw a;};var qqa=new RegExp(/(?:hangouts\/_|present)/.source+"[/]"+/(?:[^\/]+\.[^\/]+)/.source+"[/]"+/([\w_\-]+)/.source+/[\?\/]?/.source);var x2=new SQ("realtime.hangoutsextension.Extension");function y2(){var a=Jf(),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 z2(){return"https:"==Jf().location.protocol?"nkeimhogjdpnpccoofpliimaahmaaome":"hoblmflfjcnhdllclikeemgdcbbflkhi"}
  function A2(a,b){b=void 0===b?!0:b;var c=kt(),d=y2(),e=a.method;if(d&&d.sendMessage){e=rqa(c,e,b);b=Jf().location;a.origin=b.origin+"/";var f=er(b.href,"tabId");f&&(a.tabId=f);b=er(b.href,"winUrl")||er(b.href,"origin")||b.origin;a.winUrl=b;d.sendMessage(z2(),a,e)}else d?(a='chrome.runtime lacks "sendMessage" method',d=8):(a="chrome.runtime missing",d=5),c.reject(new v2(d,"Method: "+e+"; Type: "+a+"; Explanation: "));return c.promise}var sqa=m(["Sending message: ",""]);
  function B2(a){var b=Gs(a);var c=void 0===c?"#REDACTED#":c;var d=qqa.exec(b);b=d&&d[1]?b.replace(d[1],c):b;x2.info(sqa,b);return A2(a)}var tqa=m(["Opening port named ",""]);function uqa(){var a=y2();if(a&&null!=a.connect){x2.info(tqa,"processCpu");var b=a.connect(z2(),{name:"processCpu"}),c=function(){return b.disconnect()};Ww(Jf(),"unload",c);b.onDisconnect.addListener(function(){dx(window,"unload",c)});return b}return null}var vqa=m(["Received response to ",": ",""]);
  function rqa(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=Gs(d.value),x2.g(vqa,b,f));a.resolve(new v2(0,d.value));return}(d=y2())?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 v2(f,"Method: "+b+"; Type: Hangout Component Extension Error; Explanation: "+(e||"")))}}
  var C2=!1;var wqa=new Map([[1,4030],[2,4031],[4,4610],[5,4664],[8,4962]]);var D2=function(a,b){var c=this;this.ea=a;this.h=b;this.j=null;this.g=function(d){var e=wqa.get(d.status);if(e){var f=d.value;f="string"==typeof f?f:JSON.stringify(f);c.ea.logImpression(e,{kc:f})}e=0==d.status;null!=c.j&&(!c.j&&e?c.ea.logImpression(4783):c.j&&!e&&c.ea.logImpression(4784));c.j=e;return d}},E2=function(a,b){MK(a,MW)||VK(a,MW,function(c){c=new qQ(c);return new D2(c,b(c))})};D2.prototype.Df=function(){return this.h.Df().then(this.g,this.g)};D2.prototype.lh=function(){return this.h.lh()};
  var xqa=function(a){return a.h.kl().then(a.g,a.g)},yqa=function(a,b,c){return a.h.ll(b,c).then(a.g,a.g)},F2=function(a,b){return a.h.fl(b).then(a.g,a.g)},zqa=function(a,b,c){return a.h.ml(b,c).then(a.g,a.g)};var G2=function(a){a.logImpression(4865)};k=G2.prototype;k.Df=function(){return new Zs(function(a){chrome.system.cpu.getInfo(function(b){a(new v2(0,b))})})};
  k.lh=function(){if(!chrome.processes)return null;var a=La,b,c=function(d){Fj(10);if(void 0==b)wj("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(y){chrome.runtime.lastError||(b=y)}))});else{var e=d[b];if(e){var f=0,g=0,h=0,l;for(l in d){var q=d[l];"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=La}}};k.fl=function(){return H2()};k.kl=function(){return H2()};k.ll=function(){return H2()};k.jl=function(){return H2()};k.ml=function(){return H2()};k.il=function(){return H2()};var H2=function(){return dt(new v2(7,"This method is not intended to be implemented."))};var Aqa={TAB:0,Rm:1},I2=function(a){Kb("MediaRouter.Hangouts.Start.Success",a,Aqa)};var J2=function(a,b,c){Xj.call(this,a);var d=this;this.X=b;this.N=c;this.o=db("mr.mirror.hangouts.HangoutSession");this.H=lw(a.id);this.m=new pb;this.C=!1;this.s=this.D=null;this.u=new pb;this.u.promise.catch(function(e){d.o.error("Error in cloud provider",e)});this.F=this.V=null;Bqa(this);this.g=null};t(J2,Xj);
  J2.prototype.start=function(a){var b=this;kb(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 Ab("MediaRouter.Hangouts.Session.Launch");this.g=new o2(this.X,this.N,this.u.promise,this.l.bind(this),this.Z.bind(this));gqa(this.g,this.D).then(function(){kb(b.o,"Call connected");b.l(new hs("SESSION_START_SUCCESS"));b.V.end();b.V=null;b.F=new Gb("MediaRouter.Hangouts.Session.Length");
  b.m.resolve(b)},function(c){b.m.reject(c);b.stop()});return this.m.promise};J2.prototype.sr=function(){return!0};J2.prototype.Ar=function(a){var b=this;return new Promise(function(c,d){b.g?hqa(b.g,a).then(function(){b.D=a;c()},d):d(Error("Mirroring was never started"))})};
  J2.prototype.stop=function(){var a=this;kb(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 Bqa=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;kb(a.o,"received auth ready message");a.u.resolve(b);break;case "MUTE":b.data&&(a.C=!!b.data.mute,
  a.g&&iqa(a.g,a.C));break;case "STATUS_RESPONSE":kb(a.o,"route status response message");b.data&&(a.C=!!b.data.mute);break;case "STATUS_REQUEST":kb(a.o,"route status request message");a.l(new hs("STATUS_RESPONSE",{routeDescription:a.h.description,mute:a.C}));break;default:throw Error("Unknown message type: "+b.type);}}};J2.prototype.l=function(a){kb(this.o,function(){return"sending message to mrp: "+JSON.stringify(a)});this.H.sendMessage(a,Cqa)};J2.prototype.Z=function(a){this.C=a};var Cqa={channelType:"mesi"};var K2=function(a){this.g=a};K2.prototype.onError=function(a,b){401==b.g&&this.g(new hs("REFRESH_AUTH"))};K2.prototype.onRequest=La;K2.prototype.u=La;var Eqa=function(a,b){var c=a.V,d=a.H;c=c&&c instanceof I?d?d.wa.call(c):c.wa():c;var e=null==a.u?{}:a.u;d=null==a.Z?{}:a.Z;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.xb;if(0<g.length){e["MIME-Version"]="1.0";var h="END_OF_PART_"+Ne();e["Content-Type"]='multipart/related; boundary="'+h+'"';c=Dqa(f,c,g,h)}else"application/x-www-form-urlencoded"==
  f&&(c=Zq(d),d.key?d={key:d.key}:d={}),null!=c&&(e["Content-Type"]=f);e["Accept-Language"]=a.qd||"en";null!=b&&ad(b,function(l,q){null==e[q]&&(e[q]=l)});b={method:a.N,path:a.C,params:d,headers:e,body:c};Jc(Me(a.F||""))||(b.root=a.F||"");return b},Dqa=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;Zb(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 L2=function(a,b){b=void 0===b?!1:b;V.call(this);var c=this;this.h=kt();this.g=!1;this.j=b;a.then(function(d){c.m={Hz:d};c.g=!0;c.h.resolve(null)},La);this.o=zg("realtime.network.CorsApiaryTransport")};t(L2,V);
  L2.prototype.sendRequest=function(a,b){var c=this,d=kt();if(!this.g)return Cg(this.o,"Attempted to use Apiary transport for "+mN(a)+" when not ready."),d.reject(new jN("fatal","transport_unavailable",null,null)),d.promise;var e=Eqa(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||!Pa(g)||g instanceof Uint8Array||(g=Gs(g));hd(f,"Authorization")&&(f["X-Goog-AuthUser"]=this.m.Hz);b=ar(e.path,
  e.params);var h=hr(e.root,b),l=function(){return Ax(h,Xa(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:Zj(g);var q=new Uint8Array(b.length);q.set(b);x_(q).then(function(r){f["Content-Encoding"]="gzip";g=r;l()},function(){l()})}else l();return d.promise};
  L2.prototype.s=function(a,b,c,d){d=d.target;var e=Mx(d),f={body:e,headers:Ox(d),status:d.Ja(),statusText:Lx(d)};c={yz:c,by:e&&e.length||0};c={Od:d.Ja(),headers:Ox(d),lz:Gs(f),Lb:null,extraData:c};if(null!=e)try{var g=b.H;if(g){if(Kx(d)){if("base64"==d.getResponseHeader("X-Goog-Safety-Encoding"))var h=kk(e);else a:{try{if(d.g&&"responseBody"in d.g){h=d.g.responseBody;break a}}catch(l){Fg(d.o,"Can not get responseBody: "+l.message)}h=null}c.Lb=g.ti(h)}}else c.Lb=JSON.parse(e)}catch(l){Dg(this.o,"Failed to parse response for "+
  mN(b)+": "+e,l)}4==Jx(d)&&Kx(d)?null==c.Lb?a.reject(new jN("retry","response_decoding",c.Od,c)):null!=c.Lb&&null!=c.Lb.error?(c.Od=c.Lb.error.code,Dg(this.o,mN(b)+" request failed "+c.Lb.error.code+": "+c.Lb.error.message),a.reject(new jN("retry","network_or_frontend",c.Od,c))):(g=zg("realtime.network.ApiaryTransportHelper"),h=c.Lb,(b=(null==b.D?!0:b.D)&&!b.H)&&!Oa(h)||!b&&!Pa(h)?(Dg(g,"Apiary returned bad response type; expected "+(b?"Array":"Object")+", received "+Na(h)),a.reject(new jN("retry",
  "response_format",c.Od,c))):a.resolve(c)):(0>=d.Ja()&&(Dg(this.o,"Request failed: A network error occurred and the "+mN(b)+" request could not be completed"),c.Od=0),a.reject(new jN("retry","network_or_frontend",c.Od||d.m,c)))};var M2=function(a){L2.call(this,ct(0));this.l=a};t(M2,L2);M2.prototype.sendRequest=function(a,b){var c=this;return new Zs(function(d,e){c.l.getAuthToken().then(function(f){null==b&&(b={});b.Authorization="Bearer "+f;d(L2.prototype.sendRequest.call(c,a,b))},e)})};var N2=function(){},Gqa=function(a){for(var b=a.constructor;b&&!b.Ie;)b=b.Jb&&b.Jb.constructor;b.Ie.Tn||(b.Ie.Tn=Fqa(b));return new b.Ie.Tn(a)},Fqa=function(a){var b=a.Ie,c=function(l){c.Jb.constructor.call(this,l);var q=this.Kd.length;this.g=[];for(var r=0;r<q;++r)this.Kd[r].lP||(this.g[r]=new this.Kd[r](l))};w(c,b);for(var d=[];a&&a!==Object;){if(b=a.Ie){b.Kd&&(uc(d,b.Kd),wc(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].iP,h=Hqa(f,e,
  d,g);(g=Iqa(f,e,h,g))&&(c.prototype[f]=g)}}a=O2(a)}c.prototype.Kd=d;return c},O2=function(a){return a===Object?Object:Object.getPrototypeOf?Object.getPrototypeOf(a.prototype).constructor||Object:a.Jb&&a.Jb.constructor||Object},Hqa=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},Iqa=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.Kd[c[0]].prototype[a].apply(this,arguments)}:
  b[a].Xt?e=function(f){a:{var g=Array.prototype.slice.call(arguments,0);for(var h=0;h<c.length;++h){var l=this.g[c[h]];if(l=l?l[a].apply(l,g):this.Kd[c[h]].prototype[a].apply(this,g)){g=l;break a}}g=!1}return g}:b[a].Wt?e=function(f){a:{var g=Array.prototype.slice.call(arguments,0);for(var h=0;h<c.length;++h){var l=this.g[c[h]];l=l?l[a].apply(l,g):this.Kd[c[h]].prototype[a].apply(this,g);if(null!=l){g=l;break a}}g=void 0}return g}:b[a].np?e=function(f){for(var g=Array.prototype.slice.call(arguments,
  0),h=0;h<c.length;++h){var l=this.g[c[h]];l?l[a].apply(l,g):this.Kd[c[h]].prototype[a].apply(this,g)}}:e=function(f){for(var g=Array.prototype.slice.call(arguments,0),h=[],l=0;l<c.length;++l){var q=this.g[c[l]];h.push(q?q[a].apply(q,g):this.Kd[c[l]].prototype[a].apply(this,g))}return h}:d||b[a].Xt||b[a].Wt||b[a].np?e=null:e=Jqa;return e},Jqa=function(){return[]};N2.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 P2=function(){var a=function(){};a.np=!0;return a};var Kqa=function(a){return this.fh.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 Q2={},Lqa="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;Q2.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};Q2.lm=function(a,b){if(a.length===b)return a;if(a.subarray)return a.subarray(0,b);a.length=b;return a};
  var Mqa={eg: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]},bo: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}},Nqa={eg:function(a,b,c,d,e){for(var f=0;f<d;f++)a[e+f]=b[c+f]},bo:function(a){return[].concat.apply([],a)}};
  Q2.Vz=function(){Lqa?(Q2.af=Uint8Array,Q2.he=Uint16Array,Q2.Wr=Int32Array,Q2.assign(Q2,Mqa)):(Q2.af=Array,Q2.he=Array,Q2.Wr=Array,Q2.assign(Q2,Nqa))};Q2.Vz();for(var R2=new Q2.af(256),S2=0;256>S2;S2++)R2[S2]=252<=S2?6:248<=S2?5:240<=S2?4:224<=S2?3:192<=S2?2:1;R2[254]=R2[254]=1;
  var T2=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 Q2.af(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 U2={};U2=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 V2={},W2,X2=[],Y2=0;256>Y2;Y2++){W2=Y2;for(var Z2=0;8>Z2;Z2++)W2=W2&1?3988292384^W2>>>1:W2>>>1;X2[Y2]=W2}V2=function(a,b,c,d){c=d+c;for(a^=-1;d<c;d++)a=a>>>8^X2[(a^b[d])&255];return a^-1};var $2={};$2={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 a3(a){for(var b=a.length;0<=--b;)a[b]=0}var b3=[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],c3=[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],Oqa=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],d3=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],e3=Array(576);a3(e3);var f3=Array(60);a3(f3);var g3=Array(512);a3(g3);var h3=Array(256);a3(h3);var i3=Array(29);a3(i3);var j3=Array(30);a3(j3);
  function k3(a,b,c,d,e){this.qr=a;this.tu=b;this.su=c;this.pu=d;this.sx=e;this.Bo=a&&a.length}var l3,m3,n3;function o3(a,b){this.Wn=a;this.tg=0;this.Ue=b}function p3(a,b){a.wb[a.pending++]=b&255;a.wb[a.pending++]=b>>>8&255}function q3(a,b,c){a.ac>16-c?(a.yc|=b<<a.ac&65535,p3(a,a.yc),a.yc=b>>16-a.ac,a.ac+=c-16):(a.yc|=b<<a.ac&65535,a.ac+=c)}function r3(a,b,c){q3(a,c[2*b],c[2*b+1])}function s3(a,b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(0<--b);return c>>>1}
  function t3(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]=s3(d[e]++,e))}function u3(a){var b;for(b=0;286>b;b++)a.Hc[2*b]=0;for(b=0;30>b;b++)a.zf[2*b]=0;for(b=0;19>b;b++)a.ic[2*b]=0;a.Hc[512]=1;a.ye=a.Eg=0;a.kd=a.matches=0}function v3(a){8<a.ac?p3(a,a.yc):0<a.ac&&(a.wb[a.pending++]=a.yc);a.yc=0;a.ac=0}function w3(a,b,c){v3(a);p3(a,c);p3(a,~c);Q2.eg(a.wb,a.window,b,c,a.pending);a.pending+=c}
  function x3(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 y3(a,b,c){for(var d=a.yb[c],e=c<<1;e<=a.ue;){e<a.ue&&x3(b,a.yb[e+1],a.yb[e],a.depth)&&e++;if(x3(b,d,a.yb[e],a.depth))break;a.yb[c]=a.yb[e];c=e;e<<=1}a.yb[c]=d}
  function z3(a,b,c){var d=0;if(0!==a.kd){do{var e=a.wb[a.eh+2*d]<<8|a.wb[a.eh+2*d+1];var f=a.wb[a.Wk+d];d++;if(0===e)r3(a,f,b);else{var g=h3[f];r3(a,g+256+1,b);var h=b3[g];0!==h&&(f-=i3[g],q3(a,f,h));e--;g=256>e?g3[e]:g3[256+(e>>>7)];r3(a,g,c);h=c3[g];0!==h&&(e-=j3[g],q3(a,e,h))}}while(d<a.kd)}r3(a,256,b)}
  function A3(a,b){var c=b.Wn,d=b.Ue.qr,e=b.Ue.Bo,f=b.Ue.pu,g,h=-1;a.ue=0;a.qg=573;for(g=0;g<f;g++)0!==c[2*g]?(a.yb[++a.ue]=h=g,a.depth[g]=0):c[2*g+1]=0;for(;2>a.ue;){var l=a.yb[++a.ue]=2>h?++h:0;c[2*l]=1;a.depth[l]=0;a.ye--;e&&(a.Eg-=d[2*l+1])}b.tg=h;for(g=a.ue>>1;1<=g;g--)y3(a,c,g);l=f;do g=a.yb[1],a.yb[1]=a.yb[a.ue--],y3(a,c,1),d=a.yb[1],a.yb[--a.qg]=g,a.yb[--a.qg]=d,c[2*l]=c[2*g]+c[2*d],a.depth[l]=(a.depth[g]>=a.depth[d]?a.depth[g]:a.depth[d])+1,c[2*g+1]=c[2*d+1]=l,a.yb[1]=l++,y3(a,c,1);while(2<=
  a.ue);a.yb[--a.qg]=a.yb[1];g=b.Wn;l=b.tg;d=b.Ue.qr;e=b.Ue.Bo;f=b.Ue.tu;var q=b.Ue.su,r=b.Ue.sx,y,D=0;for(y=0;15>=y;y++)a.pe[y]=0;g[2*a.yb[a.qg]+1]=0;for(b=a.qg+1;573>b;b++){var A=a.yb[b];y=g[2*g[2*A+1]+1]+1;y>r&&(y=r,D++);g[2*A+1]=y;if(!(A>l)){a.pe[y]++;var K=0;A>=q&&(K=f[A-q]);var P=g[2*A];a.ye+=P*(y+K);e&&(a.Eg+=P*(d[2*A+1]+K))}}if(0!==D){do{for(y=r-1;0===a.pe[y];)y--;a.pe[y]--;a.pe[y+1]+=2;a.pe[r]--;D-=2}while(0<D);for(y=r;0!==y;y--)for(A=a.pe[y];0!==A;)d=a.yb[--b],d>l||(g[2*d+1]!==y&&(a.ye+=(y-
  g[2*d+1])*g[2*d],g[2*d+1]=y),A--)}t3(c,h,a.pe)}function B3(a,b,c){var d,e=-1,f=b[1],g=0,h=7,l=4;0===f&&(h=138,l=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<l?a.ic[2*q]+=g:0!==q?(q!==e&&a.ic[2*q]++,a.ic[32]++):10>=g?a.ic[34]++:a.ic[36]++,g=0,e=q,0===f?(h=138,l=3):q===f?(h=6,l=3):(h=7,l=4))}}
  function C3(a,b,c){var d,e=-1,f=b[1],g=0,h=7,l=4;0===f&&(h=138,l=3);for(d=0;d<=c;d++){var q=f;f=b[2*(d+1)+1];if(!(++g<h&&q===f)){if(g<l){do r3(a,q,a.ic);while(0!==--g)}else 0!==q?(q!==e&&(r3(a,q,a.ic),g--),r3(a,16,a.ic),q3(a,g-3,2)):10>=g?(r3(a,17,a.ic),q3(a,g-3,3)):(r3(a,18,a.ic),q3(a,g-11,7));g=0;e=q;0===f?(h=138,l=3):q===f?(h=6,l=3):(h=7,l=4)}}}
  function Pqa(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.Hc[2*c])return 0;if(0!==a.Hc[18]||0!==a.Hc[20]||0!==a.Hc[26])return 1;for(c=32;256>c;c++)if(0!==a.Hc[2*c])return 1;return 0}var D3=!1;function E3(a,b,c){a.wb[a.eh+2*a.kd]=b>>>8&255;a.wb[a.eh+2*a.kd+1]=b&255;a.wb[a.Wk+a.kd]=c&255;a.kd++;0===b?a.Hc[2*c]++:(a.matches++,b--,a.Hc[2*(h3[c]+256+1)]++,a.zf[2*(256>b?g3[b]:g3[256+(b>>>7)])]++);return a.kd===a.zh-1};function F3(a,b){a.msg=$2[b];return b}function G3(a){for(var b=a.length;0<=--b;)a[b]=0}function H3(a){var b=a.state,c=b.pending;c>a.Ua&&(c=a.Ua);0!==c&&(Q2.eg(a.Kf,b.wb,b.Hh,c,a.vg),a.vg+=c,b.Hh+=c,a.xm+=c,a.Ua-=c,b.pending-=c,0===b.pending&&(b.Hh=0))}
  function I3(a,b){var c=0<=a.Rc?a.Rc:-1,d=a.da-a.Rc,e=0;if(0<a.level){2===a.Qa.ik&&(a.Qa.ik=Pqa(a));A3(a,a.Wi);A3(a,a.pi);B3(a,a.Hc,a.Wi.tg);B3(a,a.zf,a.pi.tg);A3(a,a.In);for(e=18;3<=e&&0===a.ic[2*d3[e]+1];e--);a.ye+=3*(e+1)+14;var f=a.ye+3+7>>>3;var g=a.Eg+3+7>>>3;g<=f&&(f=g)}else f=g=d+5;if(d+4<=f&&-1!==c)q3(a,b?1:0,3),w3(a,c,d);else if(4===a.ce||g===f)q3(a,2+(b?1:0),3),z3(a,e3,f3);else{q3(a,4+(b?1:0),3);c=a.Wi.tg+1;d=a.pi.tg+1;e+=1;q3(a,c-257,5);q3(a,d-1,5);q3(a,e-4,4);for(f=0;f<e;f++)q3(a,a.ic[2*
  d3[f]+1],3);C3(a,a.Hc,c-1);C3(a,a.zf,d-1);z3(a,a.Hc,a.zf)}u3(a);b&&v3(a);a.Rc=a.da;H3(a.Qa)}function J3(a,b){a.wb[a.pending++]=b}function K3(a,b){a.wb[a.pending++]=b>>>8&255;a.wb[a.pending++]=b&255}
  function L3(a,b){var c=a.So,d=a.da,e=a.Xc,f=a.mp,g=a.da>a.vc-262?a.da-(a.vc-262):0,h=a.window,l=a.We,q=a.Qd,r=a.da+258,y=h[d+e-1],D=h[d+e];a.Xc>=a.xo&&(c>>=2);f>a.na&&(f=a.na);do{var A=b;if(h[A+e]===D&&h[A+e-1]===y&&h[A]===h[d]&&h[++A]===h[d+1]){d+=2;for(A++;h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&h[++d]===h[++A]&&d<r;);A=258-(r-d);d=r-258;if(A>e){a.sg=b;e=A;if(A>=f)break;y=h[d+e-1];D=h[d+e]}}}while((b=q[b&l])>g&&0!==--c);
  return e<=a.na?e:a.na}
  function M3(a){var b=a.vc,c;do{var d=a.Nr-a.na-a.da;if(a.da>=b+(b-262)){Q2.eg(a.window,a.window,b,b,0);a.sg-=b;a.da-=b;a.Rc-=b;var e=c=a.Ni;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Qd[--e],a.Qd[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.Qa.xc)break;e=a.Qa;c=a.window;f=a.da+a.na;var g=e.xc;g>d&&(g=d);0===g?c=0:(e.xc-=g,Q2.eg(c,e.input,e.If,g,f),1===e.state.wrap?e.Na=U2(e.Na,c,g,f):2===e.state.wrap&&(e.Na=V2(e.Na,c,g,f)),e.If+=g,e.Qf+=g,c=g);a.na+=c;if(3<=a.na+a.insert)for(d=a.da-
  a.insert,a.Sa=a.window[d],a.Sa=(a.Sa<<a.te^a.window[d+1])&a.se;a.insert&&!(a.Sa=(a.Sa<<a.te^a.window[d+3-1])&a.se,a.Qd[d&a.We]=a.head[a.Sa],a.head[a.Sa]=d,d++,a.insert--,3>a.na+a.insert););}while(262>a.na&&0!==a.Qa.xc)}
  function N3(a,b){for(var c;;){if(262>a.na){M3(a);if(262>a.na&&0===b)return 1;if(0===a.na)break}c=0;3<=a.na&&(a.Sa=(a.Sa<<a.te^a.window[a.da+3-1])&a.se,c=a.Qd[a.da&a.We]=a.head[a.Sa],a.head[a.Sa]=a.da);0!==c&&a.da-c<=a.vc-262&&(a.Xa=L3(a,c));if(3<=a.Xa)if(c=E3(a,a.da-a.sg,a.Xa-3),a.na-=a.Xa,a.Xa<=a.bl&&3<=a.na){a.Xa--;do a.da++,a.Sa=(a.Sa<<a.te^a.window[a.da+3-1])&a.se,a.Qd[a.da&a.We]=a.head[a.Sa],a.head[a.Sa]=a.da;while(0!==--a.Xa);a.da++}else a.da+=a.Xa,a.Xa=0,a.Sa=a.window[a.da],a.Sa=(a.Sa<<a.te^
  a.window[a.da+1])&a.se;else c=E3(a,0,a.window[a.da]),a.na--,a.da++;if(c&&(I3(a,!1),0===a.Qa.Ua))return 1}a.insert=2>a.da?a.da:2;return 4===b?(I3(a,!0),0===a.Qa.Ua?3:4):a.kd&&(I3(a,!1),0===a.Qa.Ua)?1:2}
  function O3(a,b){for(var c,d;;){if(262>a.na){M3(a);if(262>a.na&&0===b)return 1;if(0===a.na)break}c=0;3<=a.na&&(a.Sa=(a.Sa<<a.te^a.window[a.da+3-1])&a.se,c=a.Qd[a.da&a.We]=a.head[a.Sa],a.head[a.Sa]=a.da);a.Xc=a.Xa;a.yp=a.sg;a.Xa=2;0!==c&&a.Xc<a.bl&&a.da-c<=a.vc-262&&(a.Xa=L3(a,c),5>=a.Xa&&(1===a.ce||3===a.Xa&&4096<a.da-a.sg)&&(a.Xa=2));if(3<=a.Xc&&a.Xa<=a.Xc){d=a.da+a.na-3;c=E3(a,a.da-1-a.yp,a.Xc-3);a.na-=a.Xc-1;a.Xc-=2;do++a.da<=d&&(a.Sa=(a.Sa<<a.te^a.window[a.da+3-1])&a.se,a.Qd[a.da&a.We]=a.head[a.Sa],
  a.head[a.Sa]=a.da);while(0!==--a.Xc);a.Hf=0;a.Xa=2;a.da++;if(c&&(I3(a,!1),0===a.Qa.Ua))return 1}else if(a.Hf){if((c=E3(a,0,a.window[a.da-1]))&&I3(a,!1),a.da++,a.na--,0===a.Qa.Ua)return 1}else a.Hf=1,a.da++,a.na--}a.Hf&&(E3(a,0,a.window[a.da-1]),a.Hf=0);a.insert=2>a.da?a.da:2;return 4===b?(I3(a,!0),0===a.Qa.Ua?3:4):a.kd&&(I3(a,!1),0===a.Qa.Ua)?1:2}
  function Qqa(a,b){for(var c,d,e,f=a.window;;){if(258>=a.na){M3(a);if(258>=a.na&&0===b)return 1;if(0===a.na)break}a.Xa=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.Xa=258-(e-d);a.Xa>a.na&&(a.Xa=a.na)}3<=a.Xa?(c=E3(a,1,a.Xa-3),a.na-=a.Xa,a.da+=a.Xa,a.Xa=0):(c=E3(a,0,a.window[a.da]),a.na--,a.da++);if(c&&(I3(a,!1),0===a.Qa.Ua))return 1}a.insert=0;return 4===
  b?(I3(a,!0),0===a.Qa.Ua?3:4):a.kd&&(I3(a,!1),0===a.Qa.Ua)?1:2}function Rqa(a,b){for(var c;;){if(0===a.na&&(M3(a),0===a.na)){if(0===b)return 1;break}a.Xa=0;c=E3(a,0,a.window[a.da]);a.na--;a.da++;if(c&&(I3(a,!1),0===a.Qa.Ua))return 1}a.insert=0;return 4===b?(I3(a,!0),0===a.Qa.Ua?3:4):a.kd&&(I3(a,!1),0===a.Qa.Ua)?1:2}function P3(a,b,c,d,e){this.Fv=a;this.qx=b;this.Fx=c;this.px=d;this.vu=e}var Q3;
  Q3=[new P3(0,0,0,0,function(a,b){var c=65535;for(c>a.ld-5&&(c=a.ld-5);;){if(1>=a.na){M3(a);if(0===a.na&&0===b)return 1;if(0===a.na)break}a.da+=a.na;a.na=0;var d=a.Rc+c;if(0===a.da||a.da>=d)if(a.na=a.da-d,a.da=d,I3(a,!1),0===a.Qa.Ua)return 1;if(a.da-a.Rc>=a.vc-262&&(I3(a,!1),0===a.Qa.Ua))return 1}a.insert=0;if(4===b)return I3(a,!0),0===a.Qa.Ua?3:4;a.da>a.Rc&&I3(a,!1);return 1}),new P3(4,4,8,4,N3),new P3(4,5,16,8,N3),new P3(4,6,32,32,N3),new P3(4,4,16,16,O3),new P3(8,16,32,32,O3),new P3(8,16,128,128,
  O3),new P3(8,32,128,256,O3),new P3(32,128,258,1024,O3),new P3(32,258,258,4096,O3)];
  function Sqa(){this.Qa=null;this.status=0;this.wb=null;this.wrap=this.pending=this.Hh=this.ld=0;this.Ma=null;this.vd=0;this.method=8;this.rg=-1;this.We=this.Hm=this.vc=0;this.window=null;this.Nr=0;this.head=this.Qd=null;this.mp=this.xo=this.ce=this.level=this.bl=this.So=this.Xc=this.na=this.sg=this.da=this.Hf=this.yp=this.Xa=this.Rc=this.te=this.se=this.Ik=this.Ni=this.Sa=0;this.Hc=new Q2.he(1146);this.zf=new Q2.he(122);this.ic=new Q2.he(78);G3(this.Hc);G3(this.zf);G3(this.ic);this.In=this.pi=this.Wi=
  null;this.pe=new Q2.he(16);this.yb=new Q2.he(573);G3(this.yb);this.qg=this.ue=0;this.depth=new Q2.he(573);G3(this.depth);this.ac=this.yc=this.insert=this.matches=this.Eg=this.ye=this.eh=this.kd=this.zh=this.Wk=0}
  function Tqa(a,b){if(!a||!a.state||5<b||0>b)return a?F3(a,-2):-2;var c=a.state;if(!a.Kf||!a.input&&0!==a.xc||666===c.status&&4!==b)return F3(a,0===a.Ua?-5:-2);c.Qa=a;var d=c.rg;c.rg=b;if(42===c.status)if(2===c.wrap)a.Na=0,J3(c,31),J3(c,139),J3(c,8),c.Ma?(J3(c,(c.Ma.text?1:0)+(c.Ma.Ne?2:0)+(c.Ma.Ke?4:0)+(c.Ma.name?8:0)+(c.Ma.comment?16:0)),J3(c,c.Ma.time&255),J3(c,c.Ma.time>>8&255),J3(c,c.Ma.time>>16&255),J3(c,c.Ma.time>>24&255),J3(c,9===c.level?2:2<=c.ce||2>c.level?4:0),J3(c,c.Ma.os&255),c.Ma.Ke&&
  c.Ma.Ke.length&&(J3(c,c.Ma.Ke.length&255),J3(c,c.Ma.Ke.length>>8&255)),c.Ma.Ne&&(a.Na=V2(a.Na,c.wb,c.pending,0)),c.vd=0,c.status=69):(J3(c,0),J3(c,0),J3(c,0),J3(c,0),J3(c,0),J3(c,9===c.level?2:2<=c.ce||2>c.level?4:0),J3(c,3),c.status=113);else{var e=8+(c.Hm-8<<4)<<8;e|=(2<=c.ce||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.da&&(e|=32);c.status=113;K3(c,e+(31-e%31));0!==c.da&&(K3(c,a.Na>>>16),K3(c,a.Na&65535));a.Na=1}if(69===c.status)if(c.Ma.Ke){for(e=c.pending;c.vd<(c.Ma.Ke.length&65535)&&(c.pending!==
  c.ld||(c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e)),H3(a),e=c.pending,c.pending!==c.ld));)J3(c,c.Ma.Ke[c.vd]&255),c.vd++;c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e));c.vd===c.Ma.Ke.length&&(c.vd=0,c.status=73)}else c.status=73;if(73===c.status)if(c.Ma.name){e=c.pending;do{if(c.pending===c.ld&&(c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e)),H3(a),e=c.pending,c.pending===c.ld)){var f=1;break}f=c.vd<c.Ma.name.length?c.Ma.name.charCodeAt(c.vd++)&255:0;J3(c,f)}while(0!==
  f);c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e));0===f&&(c.vd=0,c.status=91)}else c.status=91;if(91===c.status)if(c.Ma.comment){e=c.pending;do{if(c.pending===c.ld&&(c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e)),H3(a),e=c.pending,c.pending===c.ld)){f=1;break}f=c.vd<c.Ma.comment.length?c.Ma.comment.charCodeAt(c.vd++)&255:0;J3(c,f)}while(0!==f);c.Ma.Ne&&c.pending>e&&(a.Na=V2(a.Na,c.wb,c.pending-e,e));0===f&&(c.status=103)}else c.status=103;103===c.status&&(c.Ma.Ne?(c.pending+2>
  c.ld&&H3(a),c.pending+2<=c.ld&&(J3(c,a.Na&255),J3(c,a.Na>>8&255),a.Na=0,c.status=113)):c.status=113);if(0!==c.pending){if(H3(a),0===a.Ua)return c.rg=-1,0}else if(0===a.xc&&(b<<1)-(4<b?9:0)<=(d<<1)-(4<d?9:0)&&4!==b)return F3(a,-5);if(666===c.status&&0!==a.xc)return F3(a,-5);if(0!==a.xc||0!==c.na||0!==b&&666!==c.status){d=2===c.ce?Rqa(c,b):3===c.ce?Qqa(c,b):Q3[c.level].vu(c,b);if(3===d||4===d)c.status=666;if(1===d||3===d)return 0===a.Ua&&(c.rg=-1),0;if(2===d&&(1===b?(q3(c,2,3),r3(c,256,e3),16===c.ac?
  (p3(c,c.yc),c.yc=0,c.ac=0):8<=c.ac&&(c.wb[c.pending++]=c.yc&255,c.yc>>=8,c.ac-=8)):5!==b&&(q3(c,0,3),w3(c,0,0),3===b&&(G3(c.head),0===c.na&&(c.da=0,c.Rc=0,c.insert=0))),H3(a),0===a.Ua))return c.rg=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(J3(c,a.Na&255),J3(c,a.Na>>8&255),J3(c,a.Na>>16&255),J3(c,a.Na>>24&255),J3(c,a.Qf&255),J3(c,a.Qf>>8&255),J3(c,a.Qf>>16&255),J3(c,a.Qf>>24&255)):(K3(c,a.Na>>>16),K3(c,a.Na&65535));H3(a);0<c.wrap&&(c.wrap=-c.wrap);return 0!==c.pending?0:1};var R3={};R3=function(){this.input=null;this.Qf=this.xc=this.If=0;this.Kf=null;this.xm=this.Ua=this.vg=0;this.msg="";this.state=null;this.ik=2;this.Na=0};var S3=Object.prototype.toString;
  function T3(a){if(!(this instanceof T3))return new T3(a);a=this.options=Q2.assign({level:-1,method:8,eu:16384,Xe:15,vx:8,ce:0,vr:""},a||{});a.raw&&0<a.Xe?a.Xe=-a.Xe:a.Gk&&0<a.Xe&&16>a.Xe&&(a.Xe+=16);this.Af=0;this.msg="";this.ended=!1;this.dh=[];this.Qa=new R3;this.Qa.Ua=0;var b=this.Qa;var c=a.level,d=a.method,e=a.Xe,f=a.vx,g=a.ce;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=F3(b,-2);else{8===e&&(e=9);var l=new Sqa;b.state=l;l.Qa=
  b;l.wrap=h;l.Ma=null;l.Hm=e;l.vc=1<<l.Hm;l.We=l.vc-1;l.Ik=f+7;l.Ni=1<<l.Ik;l.se=l.Ni-1;l.te=~~((l.Ik+3-1)/3);l.window=new Q2.af(2*l.vc);l.head=new Q2.he(l.Ni);l.Qd=new Q2.he(l.vc);l.zh=1<<f+6;l.ld=4*l.zh;l.wb=new Q2.af(l.ld);l.eh=1*l.zh;l.Wk=3*l.zh;l.level=c;l.ce=g;l.method=d;if(b&&b.state){b.Qf=b.xm=0;b.ik=2;c=b.state;c.pending=0;c.Hh=0;0>c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.Na=2===c.wrap?0:1;c.rg=0;if(!D3){d=Array(16);for(f=g=0;28>f;f++)for(i3[f]=g,e=0;e<1<<b3[f];e++)h3[g++]=f;h3[g-
  1]=f;for(f=g=0;16>f;f++)for(j3[f]=g,e=0;e<1<<c3[f];e++)g3[g++]=f;for(g>>=7;30>f;f++)for(j3[f]=g<<7,e=0;e<1<<c3[f]-7;e++)g3[256+g++]=f;for(e=0;15>=e;e++)d[e]=0;for(e=0;143>=e;)e3[2*e+1]=8,e++,d[8]++;for(;255>=e;)e3[2*e+1]=9,e++,d[9]++;for(;279>=e;)e3[2*e+1]=7,e++,d[7]++;for(;287>=e;)e3[2*e+1]=8,e++,d[8]++;t3(e3,287,d);for(e=0;30>e;e++)f3[2*e+1]=5,f3[2*e]=s3(e,5);l3=new k3(e3,b3,257,286,15);m3=new k3(f3,c3,0,30,15);n3=new k3([],Oqa,0,19,7);D3=!0}c.Wi=new o3(c.Hc,l3);c.pi=new o3(c.zf,m3);c.In=new o3(c.ic,
  n3);c.yc=0;c.ac=0;u3(c);c=0}else c=F3(b,-2);0===c&&(b=b.state,b.Nr=2*b.vc,G3(b.head),b.bl=Q3[b.level].qx,b.xo=Q3[b.level].Fv,b.mp=Q3[b.level].Fx,b.So=Q3[b.level].px,b.da=0,b.Rc=0,b.na=0,b.insert=0,b.Xa=b.Xc=2,b.Hf=0,b.Sa=0);b=c}}else b=-2;if(0!==b)throw Error($2[b]);a.Ow&&(b=this.Qa)&&b.state&&2===b.state.wrap&&(b.state.Ma=a.Ow);if(a.gh){var q;"string"===typeof a.gh?q=T2(a.gh):"[object ArrayBuffer]"===S3.call(a.gh)?q=new Uint8Array(a.gh):q=a.gh;a=this.Qa;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.Na=U2(a.Na,f,g,0));q.wrap=0;g>=q.vc&&(0===b&&(G3(q.head),q.da=0,q.Rc=0,q.insert=0),c=new Q2.af(q.vc),Q2.eg(c,f,g-q.vc,q.vc,0),f=c,g=q.vc);c=a.xc;d=a.If;e=a.input;a.xc=g;a.If=0;a.input=f;for(M3(q);3<=q.na;){f=q.da;g=q.na-2;do q.Sa=(q.Sa<<q.te^q.window[f+3-1])&q.se,q.Qd[f&q.We]=q.head[q.Sa],q.head[q.Sa]=f,f++;while(--g);q.da=f;q.na=2;M3(q)}q.da+=q.na;q.Rc=q.da;q.insert=q.na;q.na=0;q.Xa=q.Xc=2;q.Hf=0;a.If=d;a.input=e;a.xc=c;q.wrap=b;b=0}else b=
  -2;if(0!==b)throw Error($2[b]);this.YO=!0}}
  T3.prototype.push=function(a,b){var c=this.Qa,d=this.options.eu;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=T2(a):"[object ArrayBuffer]"===S3.call(a)?c.input=new Uint8Array(a):c.input=a;c.If=0;c.xc=c.input.length;do{0===c.Ua&&(c.Kf=new Q2.af(d),c.vg=0,c.Ua=d);a=Tqa(c,e);if(1!==a&&0!==a)return U3(this,a),this.ended=!0,!1;if(0===c.Ua||0===c.xc&&(4===e||2===e))if("string"===this.options.vr){var f=Q2.lm(c.Kf,c.vg);b=f;f=f.length;if(65537>f&&(b.subarray||!b.subarray))b=
  String.fromCharCode.apply(null,Q2.lm(b,f));else{for(var g="",h=0;h<f;h++)g+=String.fromCharCode(b[h]);b=g}this.dh.push(b)}else b=Q2.lm(c.Kf,c.vg),this.dh.push(b)}while((0<c.xc||0===c.Ua)&&1!==a);if(4===e)return(c=this.Qa)&&c.state?(d=c.state.status,42!==d&&69!==d&&73!==d&&91!==d&&103!==d&&113!==d&&666!==d?a=F3(c,-2):(c.state=null,a=113===d?F3(c,-3):0)):a=-2,U3(this,a),this.ended=!0,0===a;2===e&&(U3(this,0),c.Ua=0);return!0};
  var U3=function(a,b){0===b&&(a.result="string"===a.options.vr?a.dh.join(""):Q2.bo(a.dh));a.dh=[];a.Af=b;a.msg=a.Qa.msg};function Uqa(a){var b={};b=b||{};b.Gk=!0;b=new T3(b);b.push(a,!0);if(b.Af)throw b.msg||$2[b.Af];return b.result};var V3=function(){};V3.prototype.g=function(a){return Promise.resolve(Uqa(Uint8Array.from(Zj(a))))};V3.prototype.Oe=function(){try{return!!Uint8Array.from}catch(a){return!1}};var W3=function(){this.h=new V3};W3.prototype.g=function(a){return y_(4*a.length)?x_(Uint8Array.from(Zj(a))):this.h.g(a)};W3.prototype.Oe=function(a){return"function"===typeof Uint8Array.from&&(y_(a)||this.h.Oe(a))};function X3(){}w(X3,N2);X3.prototype.init=P2();X3.prototype.Ih=P2();X3.prototype.Jh=P2();zg("realtime.util.GlobalJspbRegistry");var Vqa=new Set,Wqa=new Set,Y3=null,Xqa=function(a){if(!Y3){for(var b=n(Vqa),c=b.next();!c.done;c=b.next())a(5959,c.value);b=n(Wqa);for(c=b.next();!c.done;c=b.next())a(5960,c.value)}Y3=a};var Z3=function(a,b,c){jx.call(this);var d=this;this.l=new gM(300);this.s=new gM(300);this.m="";this.h=[];IQ(this,{recentImpressions:function(){return d.l.La()},roboHippoImpressions:function(){return d.s.La()}});this.u=new Set;this.D=Yqa(b,c);this.fh||(this.fh=Gqa(this),this.j||(this.j=Kqa));this.fh.init(a)};t(Z3,jx);
  var Yqa=function(a,b){var c=window.location.pathname,d=window.location.search,e=new TT(50,b||Zqa(c,d));e.u=new W3;e.ca=!0;RT(e,18E4);a&&a.then(function(f){null!=f&&(e.m=f)});return e},$qa=function(a){var b=function(c,d){var e=new Z3(c);Xqa(function(f,g){e.logImpression(f,{kc:g})});c.registerService(d,e);return e};MK(a,FM)||VK(a,FM,function(c){return b(c,GM)});MK(a,GM)||VK(a,GM,function(c){return b(c,FM)})},$3=function(a){var b=new gK;Qda(b);EA(S(b,CA,5),aN());Q(S(b,CA,5),3,1);a.fh.Ih(b);a.h.forEach(function(c){return c.Ih(b)});
  return b};
  Z3.prototype.logImpression=function(a,b){b=void 0===b?{}:b;var c=$3(this);var d=new YJ;d=Q(d,1,a);var e=XM(c);U(e,8,d);if(b.sessionId){var f=YM(c);Q(f,2,b.sessionId)}b.Lc&&(f=YM(c),Q(f,5,b.Lc));b.fb&&(f=YM(c),Q(f,3,b.fb));b.Ic&&(f=ZM(d),Q(f,2,b.Ic));b.kc&&(f=ZM(d),Q(f,1,b.kc));b.Nt&&U(e,16,b.Nt);b.yA&&U(e,18,b.yA);b.xA&&U(e,17,b.xA);b.oq&&(d=ZM(d),U(d,6,b.oq));b.ux&&(d=YM(c),Q(d,16,b.ux));d=$ca[a];1!=d&&(e=Date.now(),e=new Date(e),e=(new TM).format(e),e==this.m?f=a+"@":(f=a+"@"+e,this.m=e),this.l.add(f),
  ara.has(a)&&this.s.add(f));bra.has(a)||a4(this,c,a,b.timestamp);8<=d&&this.O("Ca")};Z3.prototype.g=function(a,b){this.u.has(a)||(this.logImpression(a,b),this.u.add(a))};
  var HS=function(a,b){var c=$3(a),d=XM(c);U(d,14,b);a4(a,c)},a4=function(a,b,c,d){a.fh.Jh(b);a.h.forEach(function(f){return f.Jh(b)});var e=kha(new IT,b.wa());c&&Q(e,11,c);d&&Q(e,1,d.toString());a.D.log(e)},Zqa=function(a,b){a=(a=/\/u\/(\d+)\/?/.exec(a))&&a[1];return(b=/[\?&]authuser=(\d+)/.exec(b))&&b[1]||a||"0"},SN=function(a,b){a.h.includes(b)||a.h.push(b)};X3.Jb||w(X3,N2);Z3.Ie=X3;var b4=Z3;do b4=O2(b4);while(b4!==Object&&!b4.Ie);
  if(b4!==Object&&b4.Ie!==O2(X3))throw Error("delegate base must derive from superclass delegate base");var ara=new Set([4179,4202,4208,4209,4213,4223,4354,4461,4463,4475,4479,4554,4557]),bra=new Set([1871,2188,5147,5538,3853]);var c4=function(){this.g=null;this.j=kt();this.h=this.j.promise},cra=function(a){MK(a,HM)||VK(a,HM,function(b){var c=new c4;NK(b,FM).then(function(d){SN(d,new d4(c))});return c})},d4=function(a){this.g=a};d4.prototype.Ih=function(a){var b=this.g.g;null!=b&&(a=YM(a),Q(a,5,b))};d4.prototype.Jh=function(){};sK(HM,c4);var f4=function(){V.call(this);this.g=new e4};t(f4,V);var e4=function(){this.g=0;for(this.h=new gM(3);3>this.h.xa();)this.h.add(0)};e4.prototype.update=function(a){var b=this.h.add(a),c=this.h.xa();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};e4.prototype.get=function(){return this.g};var i4=function(a){jM.call(this);var b=this;this.G=a;this.m=new Map;this.u=new Map;this.j=[];this.K=new Map;this.X=new Map;this.D=!1;this.g=new g4;this.l=new g4;this.H=new tL;this.T(this.H);this.N=function(c){h4(b,c)};this.h=1;this.o=new SQ("realtime.media.audio.service.AudioVolumeService");this.s=null};t(i4,jM);
  var dra=m(["Register participant ",""]),era=function(a,b){var c=h4(a,new W("",b));a.H.listen(b,["Oa","Qa"],a.N);a.o.info(dra,c)},gra=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).Yi&&(c=a.l,c.j=d,c.l=e))});fra(a)},hra=m(["Use backend loudest info."]),Aka=function(a){a.h|=2;Bha(a.G);NK(a.G,jU).then(function(b){a.s=b});a.o.info(hra)},fra=
  function(a){a.D||(tx(a.Z,0,a),a.D=!0)},ira=m(["Stream updated: id: "," oldSsrc: "," newSsrc: ",""]),h4=function(a,b){b=b.target;var c=jra(b);if(null!=c){a.h&1&&(a.m.has(c)||a.m.set(c,new f4));a.h&2&&a.K.set(c,0);var d=a.u.get(c)||null,e=kra(b);null!=e&&a.u.set(c,e);e!==d&&a.o.g(ira,c,d,e);d=a.j.find(function(f){return f.xg===c});d||(d={xg:c,Ui:Za(),muted:!1,Pe:null},a.j.push(d));d.muted=lra(b)}return c};
  i4.prototype.Z=function(){this.D=!1;mra(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)&&j4(this,this.g)}this.h&2&&j4(this,this.l)};
  var nra=m(["Backend new speaking participant: ",""]),ora=m(["Client new speaking participant: ",""]),j4=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(nra,b.g),a.O(new k4(b.g)),a.s&&c&&Dha(a.s,c)):a.s&&c&&Eha(a.s,c):(a.o.info(ora,b.g),a.O(new k4(b.g)));b.g&&(c=a.j.find(function(d){return d.xg===b.g}),c.Pe=Za(),a.X.set(c.xg,c.Pe))}},jra=function(a){return(a=a.g||null)?a.Y():null},kra=function(a){a=(a=(a=a.g||null)&&a.ta()?a.ta().getInfo():null)?a.Pa():
  [];return 0<a.length?a[0]:null},lra=function(a){return(a=(a=a.g||null)&&a.ta()?a.ta().getInfo():null)?a.Jc():!1},mra=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(l4),b=a.j[0].xg);a.g.h=b}if(a.h&2){var c=a.l.j;0===a.j.length||c||(a.j.sort(l4),a.j.some(function(d){a.u.has(d.xg)&&(c=d.xg);return!!c}));a.l.h=c}},pra=function(a){MK(a,eR)||VK(a,eR,function(b){return new i4(b)})},k4=function(a){W.call(this,"db");this.ha=a};t(k4,W);
  var l4=function(a,b){return a.Pe&&b.Pe?-Ac(a.Pe,b.Pe)||Ac(a.Ui,b.Ui):a.Pe?-1:b.Pe?1:Ac(a.Ui,b.Ui)},g4=function(){this.j=null;this.l=-1;this.g=this.h=null};g4.prototype.reset=function(){this.j=null;this.l=-1;this.h=null};sK(eR,i4);var m4=function(a){J(this,a,0,-1,null,null)};w(m4,I);m4.prototype.Y=function(){return N(this,1,"")};var n4=function(a,b){return Q(a,1,b)};k=m4.prototype;k.xv=function(){return N(this,32,"")};k.rj=function(a){return Q(this,32,a)};k.Mw=function(){return M(this,32)};k.getName=function(){return N(this,29,"")};k.Hl=function(a){return Q(this,29,a)};k.Cy=function(){return M(this,29)};k.vy=function(){return N(this,38,"")};k.Gl=function(a){return Q(this,38,a)};k.Ay=function(){return M(this,38)};
  k.ty=function(){return N(this,2,"")};k.El=function(a){return Q(this,2,a)};k.yy=function(){return M(this,2)};k.uy=function(){return N(this,3,0)};k.Fl=function(a){return Q(this,3,a)};k.zy=function(){return M(this,3)};k.xy=function(){return N(this,28,0)};k.jj=function(a){return Q(this,28,a)};k.Kw=function(){return M(this,28)};k.Ru=function(){return O(this,5,!1)};k.qj=function(a){return Q(this,5,a)};k.cw=function(){return M(this,5)};k.Tu=function(){return O(this,9,!1)};
  k.Iq=function(a){return Q(this,9,a)};k.ew=function(){return M(this,9)};k.wk=function(){return O(this,6,!1)};k.Hq=function(a){return Q(this,6,a)};k.zo=function(){return M(this,6)};k.Nu=function(){return O(this,33,!1)};k.Eq=function(a){return Q(this,33,a)};k.Wv=function(){return M(this,33)};k.Wu=function(){return N(this,40,"")};k.Mq=function(a){return Q(this,40,a)};k.lw=function(){return M(this,40)};k.Uu=function(){return O(this,17,!1)};k.Kq=function(a){return Q(this,17,a)};
  k.jw=function(){return M(this,17)};k.Ou=function(){return O(this,34,!1)};k.Fq=function(a){return Q(this,34,a)};k.Xv=function(){return M(this,34)};k.Qu=function(){return O(this,4,!1)};k.pj=function(a){return Q(this,4,a)};k.bw=function(){return M(this,4)};k.Su=function(){return O(this,7,!1)};k.em=function(a){return Q(this,7,a)};k.dw=function(){return M(this,7)};k.wy=function(){return O(this,12,!1)};k.Kh=function(a){return Q(this,12,a)};k.Ao=function(){return M(this,12)};
  k.no=function(){return O(this,13,!1)};k.Of=function(a){return Q(this,13,a)};k.gw=function(){return M(this,13)};k.mo=function(){return O(this,10,!1)};k.Jq=function(a){return Q(this,10,a)};k.fw=function(){return M(this,10)};k.oo=function(){return O(this,14,!1)};k.fm=function(a){return Q(this,14,a)};k.hw=function(){return M(this,14)};var o4=function(a,b){return Q(a,15,b)};k=m4.prototype;k.po=function(){return O(this,16,!1)};k.gm=function(a){return Q(this,16,a)};k.iw=function(){return M(this,16)};
  k.Dl=function(){return pl(this,35)};k.mr=function(a){return Q(this,35,a)};k.Nw=function(){return M(this,35)};k.Vu=function(){return N(this,36,0)};k.Lq=function(a){return Q(this,36,a)};k.kw=function(){return M(this,36)};k.Pu=function(){return O(this,37,!1)};k.Gq=function(a){return Q(this,37,a)};k.aw=function(){return M(this,37)};k.Rp=function(){return O(this,41,!1)};k.Vp=function(a){return Q(this,41,a)};k.Tp=function(){return M(this,41)};k.Qp=function(){return N(this,42,0)};
  k.Up=function(a){return Q(this,42,a)};k.By=function(){return M(this,42)};k.Bu=function(){return N(this,43,"")};k.Aq=function(a){return Q(this,43,a)};k.Tv=function(){return M(this,43)};k.Sp=function(){return N(this,30,0)};k.Il=function(a){return Q(this,30,a)};k.Dy=function(){return M(this,30)};var r4=function(a,b,c,d,e,f){tL.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 l=h.next().value,q=h.next().value,r=h.next().value;if(!g.C()){b.h.attach(function(D){D=D.ha;p4(g,D,q.Gf(D),l,r)});b.xd.attach(function(D){D=D.ha;var A=g.g.get(D);A&&(Ds(A),g.g.delete(D))},g);h=n(b.getAll());for(var y=h.next();!y.done;y=h.next())y=y.value.ha,p4(g,y,q.Gf(y),l,r);g.listen(q,"T",function(D){var A=D.ha;D=D.om;b.get(A)&&p4(g,A,D,l,r)});g.listen(q,
  "U",function(D){D=D.ha;b.get(D)&&p4(g,D,null,l,r)});g.listen(r,"db",function(D){D=D.ha;g.h!==D&&(q4(g,g.h,!1),g.h=D,q4(g,g.h,!0))})}})};t(r4,tL);var q4=function(a,b,c){b&&a.g.get(b)&&a.j.R(n4(new m4,b).Gq(c))},p4=function(a,b,c,d,e){var f=a.g.get(b);if(f){if(f.om===c)return;Ds(f);a.g.delete(b)}c&&(a.g.set(b,new s4(b,c,a.j,a.l,d,e)),a.h===b&&q4(a,b,!0))};r4.prototype.ba=function(){tL.prototype.ba.call(this);for(var a=n(this.g.values()),b=a.next();!b.done;b=a.next())Ds(b.value);this.g.clear()};
  var s4=function(a,b,c,d,e,f){V.call(this);this.om=b;t4(this,b.l,function(g,h){g=n4(new m4,a).Kq("li"!==g).Fq("en"!==g);switch(h){case "ca":g.Kh(!1);break;case "sc":g.Kh(!0)}c.R(g)});t4(this,b.j,function(g){c.R(n4(new m4,a).Hq("li"!==g).qj("li"===g).Eq("en"!==g))});b=Oka(d);Hka(b,e,a);this.T(b);fv(b.u,function(g){g=g.Gm;c.R(n4(new m4,a).mr(g))},this);era(f,b)};t(s4,V);
  var t4=function(a,b,c){var d,e=void 0;fv(b,function(f){e!==f&&(e&&e.Wc.detach(d),(e=f)?d=fv(e.Wc,function(g){return c(g.state,g.content)},a):c("en","un"))},a)};var u4=m4.prototype,w4=function(a,b,c){V.call(this);var d=this;this.controller=c;this.h=new m4;this.g=new Uu(this);this.F=Wu(this.g);this.Ib=this.g.signal();this.m=Wu(this.g);this.xd=Wu(this.g);this.Oa=Wu(this.g);this.sa=Wu(this.g);this.oa=Wu(this.g);this.ra=Wu(this.g);this.Ia=Wu(this.g);this.ca=Wu(this.g);this.ia=Wu(this.g);this.ya=Wu(this.g);this.Ra=Wu(this.g);this.Aa=Wu(this.g);this.Fa=Wu(this.g);this.H=Wu(this.g);this.G=Wu(this.g);this.X=Wu(this.g);this.Wc=Wu(this.g);this.D=Wu(this.g);this.Ga=
  Wu(this.g);this.u=Wu(this.g);this.Z=[lZ({has:u4.Mw,get:u4.xv,set:u4.rj}),lZ({has:u4.bw,get:u4.Qu,set:u4.pj}),lZ({has:u4.dw,get:u4.Su,set:u4.em}),lZ({has:u4.fw,get:u4.mo,set:u4.Jq}),lZ({has:u4.hw,get:u4.oo,set:u4.fm}),lZ({has:u4.iw,get:u4.po,set:u4.gm}),lZ({has:u4.Cy,get:u4.getName,set:u4.Hl,signal:this.Oa}),lZ({has:u4.Ay,get:u4.vy,set:u4.Gl,signal:this.sa}),lZ({has:u4.yy,get:u4.ty,set:u4.El,signal:this.oa}),lZ({has:u4.zy,get:u4.uy,set:u4.Fl,signal:this.ra}),lZ({has:u4.Kw,get:u4.xy,set:u4.jj,signal:this.Ia}),
  lZ({has:u4.cw,get:u4.Ru,set:u4.qj,signal:this.ca}),lZ({has:u4.zo,get:u4.wk,set:u4.Hq,signal:this.ia}),lZ({has:u4.Wv,get:u4.Nu,set:u4.Eq,signal:this.ya}),lZ({has:u4.lw,get:u4.Wu,set:u4.Mq}),lZ({has:u4.jw,get:u4.Uu,set:u4.Kq,signal:this.Ra}),lZ({has:u4.Xv,get:u4.Ou,set:u4.Fq,signal:this.Aa}),lZ({has:u4.Ao,get:u4.wy,set:u4.Kh,signal:this.Fa}),lZ({has:u4.gw,get:u4.no,set:u4.Of,signal:this.H}),lZ({has:u4.aw,get:u4.Pu,set:u4.Gq,signal:this.G}),lZ({has:u4.Nw,get:u4.Dl,set:u4.mr,signal:this.X}),lZ({has:u4.kw,
  get:u4.Vu,set:u4.Lq}),lZ({has:u4.Dy,get:u4.Sp,set:u4.Il,signal:this.Wc}),lZ({has:u4.ew,get:u4.Tu,set:u4.Iq,signal:this.Ga}),lZ({has:u4.Tp,get:u4.Rp,set:u4.Vp}),lZ({has:u4.By,get:u4.Qp,set:u4.Up}),lZ({has:u4.Tv,get:u4.Bu,set:u4.Aq})];o4(n4(this.h,a.Y()),this.j);v4(this,a);b(function(e){return v4(d,e)})};t(w4,V);w4.prototype.ba=function(){5===this.state&&this.g.R(this.m,void 0);this.g.R(this.xd,void 0);V.prototype.ba.call(this)};
  var v4=function(a,b){var c=5===a.state,d=6===a.state,e=a.h.Tp(),f=a.Nd,g=new bv(a.g),h=kZ(a.h,b,a.Z,g);Q(a.h,8,a.j||a.s);b.zo()&&!b.wk()&&Q(a.h,40,void 0);0<b.Dl()&&a.h.Lq(Date.now());b=5===a.state;c!==b&&g.add(b?a.F:a.m,void 0);f!==a.Nd&&g.add(a.u,a.fo(e));h&&g.add(a.Ib,void 0);c=6===a.state;d!==c&&g.add(a.D,c);g.R();return h};k=w4.prototype;k.fo=function(a){return{Nd:this.Nd,Mi:this.Mi,au:0,Uw:!a}};k.Sl=function(){return this.controller.Sl(this.ha)};k.Tl=function(){return this.controller.Tl(this.ha)};
  k.sk=function(){return this.controller.sk(this.ha)};k.accept=function(){return 6!==this.state?Promise.reject("Not a knocking participant."):this.controller.accept(this.ha)};k.mk=function(){return 6!==this.state?Promise.reject("Not a knocking participant."):this.controller.mk(this.ha)};k.Ah=function(){return this.Nd?this.controller.Ah(this.ha):Promise.reject("Cannot lower a lowered hand.")};k.Ba=function(){return{lastVolume:this.Gm}};
  da.Object.defineProperties(w4.prototype,{zg:{configurable:!0,enumerable:!0,get:function(){return this.h.clone()}},ha:{configurable:!0,enumerable:!0,get:function(){return this.h.Y()}},isLocal:{configurable:!0,enumerable:!0,get:function(){return O(this.h,8,!1)}},V:{configurable:!0,enumerable:!0,get:function(){return this.h.mo()}},j:{configurable:!0,enumerable:!0,get:function(){return!1}},s:{configurable:!0,enumerable:!0,get:function(){return this.h.po()}},name:{configurable:!0,enumerable:!0,get:function(){return this.h.getName()||
  null}},K:{configurable:!0,enumerable:!0,get:function(){return!!this.h.wk()}},N:{configurable:!0,enumerable:!0,get:function(){return this.h.no()}},state:{configurable:!0,enumerable:!0,get:function(){return this.h.Sp()}},Gm:{configurable:!0,enumerable:!0,get:function(){return this.h.Dl()}},Nd:{configurable:!0,enumerable:!0,get:function(){return this.h.Rp()}},Mi:{configurable:!0,enumerable:!0,get:function(){return this.h.Qp()}}});var x4=function(a,b,c,d){w4.call(this,a,b,c,d);this.l=!1};t(x4,w4);
  x4.prototype.fo=function(a){return{Nd:this.Nd,Mi:this.Mi,au:this.Nd||this.l?1:2,Uw:!a}};x4.prototype.Ll=function(){if(this.Nd)return Promise.reject("Cannot raise a raised hand.");this.l=!1;return this.controller.Ll(this.ha)};x4.prototype.Ah=function(){this.l=!0;return w4.prototype.Ah.call(this)};da.Object.defineProperties(x4.prototype,{j:{configurable:!0,enumerable:!0,get:function(){return!0}}});var tra=function(a){var b=this;this.hb=a;this.g=new gM(200);this.h=0;qra(this);IQ(a,{participantCountHistory:function(){return b.g.La()},participantCountMax:function(){return b.h},presenterParticipant:function(){return rra(b)},remoteUserAllMuted:function(){return sra(b)}})},qra=function(a){var b=a.hb;b=n([b.h,b.l,b.Ib,b.m,b.xd]);for(var c=b.next();!c.done;c=b.next())c.value.attach(function(){var d=y4(a.hb).length;var e=a.g;e=0==e.xa()?null:e.get(e.xa()-1);e&&e[1]===d||(a.g.add([Y(),d]),a.h=Math.max(a.h,
  d))})},rra=function(a){return(a=a.hb.getAll().find(function(b){return b.N}))?a.ha:null},sra=function(a){a=ura(a.hb);return!!a.length&&a.every(function(b){return b.K})};var B4=function(a,b,c){V.call(this);var d=this;this.controller=b;this.V=c;this.g=new Uu(this);this.hb=new Map;this.s=this.j=null;this.G=new AR(function(){d.g.R(d.F,d.j)},50);this.D=new AR(function(){d.g.R(d.u,d.s)},200);this.h=this.g.signal();this.l=this.g.signal();this.Ib=this.g.signal();this.m=this.g.signal();this.xd=this.g.signal();this.F=Wu(this.g);this.u=Wu(this.g);this.Wc=this.g.signal();gV(this.g,this.Wc,function(e){return 6===e.state});gV(this.g,this.Wc,function(e){return 2===e.state});this.K=
  this.g.signal();this.H=this.g.signal();gV(this.g,this.h,function(e){return!e.isLocal});gV(this.g,this.l,function(e){return!e.isLocal});gV(this.g,this.Ib,function(e){return!e.isLocal});gV(this.g,this.m,function(e){return!e.isLocal});gV(this.g,this.xd,function(e){return!e.isLocal});this.N=gV(this.g,this.h,function(e){return e.j});this.self=this.N.next();this.self.then(function(){});b.Ib.attach(function(e){z4(d,e)});b.xd.attach(function(e){var f=e.Y(),g=d.hb.get(f);g&&(z4(d,e),A4(d,g.Lf,!1),g.Lf.dispose(),
  d.hb.delete(f))});a.forEach(function(e){z4(d,e)});this.g.R(this.F,null);this.g.R(this.u,null);new tra(this)};t(B4,V);B4.prototype.getAll=function(){return[].concat(p(this.hb.values())).map(function(a){return a.Lf})};var y4=function(a){return a.getAll().filter(function(b){return!b.V&&5===b.state})},ura=function(a){return y4(a).filter(function(b){return!b.isLocal})};B4.prototype.Fi=function(){return y4(this).filter(function(a){return a.Nd})};
  B4.prototype.get=function(a){return(a=this.hb.get(a))?a.Lf:null};B4.prototype.Zk=function(){return this.controller.Zk()};B4.prototype.ba=function(){var a=new bv(this.g);try{for(var b=n(this.hb.values()),c=b.next();!c.done;c=b.next()){var d=c.value.Lf;d.dispose();a.add(this.xd,d)}this.hb.clear()}finally{a.R()}V.prototype.ba.call(this)};
  var z4=function(a,b){var c=b.Y(),d=a.hb.get(c);if(d)d.jA(b);else{var e=null,f=new (O(b,15,!1)?x4:w4)(b,function(g){e=g},a.controller,a.V);iV(a.g,a.l,f.F,function(){return f});iV(a.g,a.m,f.m,function(){return f});hV(a.g,a.Ib,f.Ib,function(){return f});iV(a.g,a.xd,f.xd,function(){return f});iV(a.g,a.Wc,f.Wc,function(){return f});iV(a.g,a.K,f.D,function(g){return{Lf:f,HP:g}});iV(a.g,a.H,f.u,function(g){return Object.assign({Lf:f},g)});fv(f.H,function(g){A4(a,f,g)},a);fv(f.G,function(g){a.s=g?f:null;
  a.D.start()},a);e?(a.hb.set(c,{Lf:f,jA:e}),a.g.R(a.h,f)):(f.dispose(),Vb("No participant callback set for new participant"))}},A4=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 Dra=function(a){var b=new Uu,c=b.signal(),d=b.signal(),e=a.hb.get();e=e?e.get().map(function(y){return C4(y)}):[];var f=new B4(e,{Ib:c,xd:d,Sl:function(y){return vra(a,y)},Tl:function(){return Promise.resolve(!1)},sk:function(y){return wra(a,y)},zd:function(y){return xra(a,y)},accept:function(){return yra()},mk:function(){return zra()},Ll:function(){return Ara()},Ah:function(){return Bra()},Zk:function(){return Cra()}},a.Hb.then());f.T(b);var g=null;a.j.then(function(y){var D=function(K){if(K!=
  g){if(g){var P=f.get(g);P&&(P=P.ha,b.R(c,n4(new m4,P).Of(!1)))}K&&(P=f.get(K))&&(P=P.ha,b.R(c,n4(new m4,P).Of(!0)));g=K}},A=y.get()[0];D(A&&A.Hk()&&L(A.Sc(),1));y.onChange.attach(function(K){var P=K.mc,ha=K.removed;[].concat(p(K.Gc),p(P)).forEach(function(ob){return D(ob.Hk()&&L(ob.Sc(),1)||null)});ha.forEach(function(){return D(null)})})});e=new r4(a.Wb,f,Zu(b,c,function(y){if(y.Ao()){var D=y.Y();if([].concat(p(a.X.keys())).some(function(A){return A.ha.get()===D}))return Q(y.clone(),12,void 0)}return y}),
  a.eb,a.Hb,NK(a.ma,eR));f.T(e);var h,l=function(y){var D=C4(y),A=y.Y();h&&o4(D,A===h);[].concat(p(a.X.keys())).some(function(K){return K.ha.get()===A})&&(D.Kh(!0),D.gm(!0),o4(D,!1),h&&D.rj(h));D.Of(A===g);b.R(c,D)},q=new Map,r=function(y){var D=new Map;y.forEach(function(A){l(A);D.set(A.Y(),A);q.delete(A.Y())});q.forEach(function(A){b.R(d,C4(A))});q=D};(function(){var y,D;return Da(function(A){switch(A.g){case 1:return u(A,Mla(a),2);case 2:y=A.h;case 3:if(0!==a.getState()){A.bb(0);break}return u(A,
  y.search(),5);case 5:D=A.h;if(0!==a.getState())return A.return();r(D);return u(A,vx(4E3),3)}})})();a.ha.then(function(y){h=y;a.hb.then(function(D){IL(D).then(function(A){r(A);f.getAll().forEach(function(K){var P=K.ha;K.s?b.R(c,n4((new m4).rj(h),P)):b.R(c,o4(n4(new m4,P),P==h))})});D.onChange.attach(function(A){var K=A.mc,P=A.removed;A.Gc.forEach(l);K.forEach(function(ha){return b.R(c,C4(ha))});P.forEach(function(ha){return b.R(d,C4(ha))})},f)})});return f},C4=function(a){var b=n4(new m4,a.Y()).jj(3).qj(!0);
  M(a,4)&&b.Hl(L(a,4));M(a,10)&&b.Gl(L(a,10));M(a,5)&&b.El(L(a,5));if(M(a,13)){var c=5==N(a,13,1);b.fm(c);b.Fl(c?1:0)}M(a,17)&&b.Il(Era(a));M(a,3)?b.pj(!1):b.pj(!b.oo());M(a,12)&&b.em(4==L(a,12));return b},Era=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}},vra=function(a,b){var c,d,e;return Da(function(f){switch(f.g){case 1:return!UW(a.onConnect)||UW(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.Y()==b&&1==g.ga()}),u(f,Promise.all(e.map(function(g){g=d.mb(g);var h=new xC;h=Q(h,1,c);g=U(g,6,h);return ML(d,g)})),4);case 4:return f.return(!0)}})},wra=function(a,b){var c,d,e;return Da(function(f){if(1==f.g)return!UW(a.onConnect)||UW(a.onDisconnect)?f.return(Promise.resolve(!1)):u(f,a.hb.then(),2);if(3!=f.g)return c=f.h,d={},u(f,c.remove(c.mb(b),(d.jYdIne=43,d)),3);e=f.h;return f.return(1==
  e.length)})},xra=function(a,b){var c,d;return Da(function(e){if(1==e.g)return!UW(a.onConnect)||UW(a.onDisconnect)?e.return(Promise.resolve(!1)):u(e,a.j,2);if(3!=e.g)return c=e.h,u(e,ML(c,c.mb().zd(UA(new TA,b))),3);d=e.h;return e.return(1==d.length)})},yra=function(){return Da(function(){throw Error("Not supported");})},zra=function(){return Da(function(){throw Error("Not supported");})},Ara=function(){return Da(function(){throw Error("Not supported");})},Bra=function(){return Da(function(){throw Error("Not supported");
  })},Cra=function(){return Da(function(){throw Error("Not supported");})};var D4=function(a){this.o=new SQ("realtime.media.api.webrtc.extension.HangoutExtensionServiceImpl");a.logImpression(4864)};D4.prototype.Df=function(){var a={method:"cpu.getInfo"};C2?a=A2(a,!1):(C2=!0,a=B2(a));return a.then()};D4.prototype.lh=function(){return uqa()};
  var Fra=m(["Extension logging setMetadata succeeded for ",""]),Gra=m(["Extension loggings setMetadata failed for session: ",", error: ",""]),E4=function(a,b,c,d){d=void 0===d?!0:d;var e=B2({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(Fra,b)},function(f){a.o.g(Gra,b,f.value)});return d?ot(e,function(){return E4(a,b,c,!1)}):e};D4.prototype.kl=function(){return F4(this)};
  var Hra=m(["logging.stopAndUpload succeeded with result= ",""]),Ira=m(["logging.stopAndUpload failed with error=",""]),Jra=m(["logging.stop succeeded"]),Kra=m(["logging.stop failed"]);
  D4.prototype.ll=function(a,b){var c=this;return b?B2({method:"logging.stopAndUpload"}).then(function(d){c.o.info(Hra,JSON.stringify(d.value));return d},function(d){c.o.L(Ira,d.value);throw d;}):B2({method:"logging.stop"}).then(function(){c.o.info(Jra);return a?B2({method:"logging.store",logId:a}):B2({method:"logging.discard"})},function(d){VQ(c.o,d).L(Kra)})};var Lra=m(["logging.startRtpDump succeeded"]),Mra=m(["logging.startRtpDump failed."]),Nra=m(["logging.stopRtpDump succeeded"]),Ora=m(["logging.stopRtpDump failed"]);
  D4.prototype.fl=function(a){var b=this;return a?B2({method:"logging.startRtpDump",incoming:!0,outgoing:!0}).then(function(c){b.o.info(Lra);return c},function(c){VQ(b.o,c).L(Mra);throw c;}):B2({method:"logging.stopRtpDump",incoming:!0,outgoing:!0}).then(function(c){b.o.info(Nra);return c},function(c){VQ(b.o,c).L(Ora);throw c;})};var F4=function(a,b){b=void 0===b?!0:b;var c=ct(B2({method:"logging.start"}));return b?ot(c,function(){return F4(a,!1)}):c};
  D4.prototype.ml=function(a,b){return E4(this,a,b).then(function(){return B2({method:"logging.uploadOnRenderClose"})})};D4.prototype.jl=function(a){var b=void 0===b?{BA:1,mx:4268032}:b;var c=Vf&&Sp(74),d={};a=(d.method="logging.startEventLogging",d[c?"sessionId":"peerConnectionId"]=a,d.maxLogSizeBytes=b.mx,d.webAppId=b.BA,d);return B2(a).then()};D4.prototype.il=function(){return B2({method:"getHardwarePlatformInfo"}).then()};var G4=function(a){a.logImpression(4866)};k=G4.prototype;k.Df=function(){return H4(this,"cpu.getInfo")};k.lh=function(){return null};k.fl=function(){return H4(this,"enableRtpHeaderDump")};k.il=function(){return H4(this,"getHardwarePlatformInfo")};k.kl=function(){return H4(this,"logging.start")};k.ll=function(){return H4(this,"logging.stop")};k.ml=function(){return H4(this,"logging.uploadOnRenderClose")};k.jl=function(){return H4(this,"logging.startEventLogging")};
  var H4=function(a,b){return dt(new v2(6,a.constructor.name+":  Method: "+b+"; Type: expected failure; Explanation: Operation ignored, no Hangout Extension expected."))};var I4=function(a){J(this,a,"hc:rc",-1,Pra,null)};w(I4,I);var J4=function(a){J(this,a,0,-1,null,null)};w(J4,I);var Pra=[7];I4.messageId="hc:rc";k=I4.prototype;k.getTime=function(){return L(this,1)};k.setTime=function(a){return Q(this,1,a)};k.va=function(){return L(this,3)};k.lc=function(){return L(this,11)};k.Eb=function(){return L(this,12)};k.Ka=function(){return L(this,13)};var Qra=function(){this.h=-1};var K4=function(){this.h=64;this.g=Array(4);this.C=Array(this.h);this.l=this.j=0;this.reset()};w(K4,Qra);K4.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 L4=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};
  K4.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;)L4(this,a,f),f+=this.h;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.h){L4(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.h){L4(this,d);e=0;break}}this.j=e;this.l+=b};
  K4.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 N4=function(a,b,c,d,e){var f=new I4;Q(f,3,b);b=Za();f.setTime(b);b=M4(L(a.g,7),b);Q(f,2,b);b=ON(a);Q(f,4,b);b=N(a.g,5,0);Q(f,5,b);Q(f,6,c.m);a=a.lc();Q(f,11,a);xl(f,7,d);void 0!==e&&Q(f,8,e);(d=c.j)&&Q(f,10,d);(d=c.Eb())&&Q(f,12,d);(c=c.Ka())&&Q(f,13,c);return f},O4=function(a,b,c){var d=new QF,e=(new Date(L(b,4))).toString();Q(d,2,e);e=L(b,4);Q(d,133,e);e=M(b,3)?L(b,3):L(a,8);Q(d,30,e);Q(d,3,-2);(e=L(b,1))&&Q(d,1,e);e=new EH;U(e,4,d);d=a.va();Q(e,2,d);d=L(c.g,14);Q(e,11,d||[]);b=L(b,2);Q(e,21,
  b);c=nl(c.g,8);Q(e,12,c);c=L(a,6);Q(e,14,c);c=L(a,10);Q(e,16,c);c=a.Eb();Q(e,22,c);a=a.Ka();Q(e,23,a);return e},P4=function(a,b,c){var d=L(c,6),e=c.va();a.then(function(f){f.logImpression(b,{Lc:d,fb:e})})},M4=function(a,b){a+=b;b=new K4;b.update(a,a.length);return String.fromCharCode.apply(String,b.digest())};var Rra=function(a){this.g=a},Sra=function(a,b,c){var d=kt();Q4(a,b,c,new pM(4E3,36E5,.25,4),d.resolve);return d.promise},Q4=function(a,b,c,d,e){var f=dR(b,L(c,6)),g=T(c,J4,7).map(function(h){return cR(f,O4(c,h,b),L(h,1))});g=it(g);P4(a.g,4159,c);g.then(function(h){h.every(function(l){return l.Le})?(e(),P4(a.g,4160,c)):(tx(function(){Q4(a,b,c,d,e)},d.g),qM(d),P4(a.g,4161,c))})};var R4=function(a){J(this,a,"hc:rcs",-1,Tra,null)};w(R4,I);var Tra=[2];R4.messageId="hc:rcs";var Ura=function(){};var S4=function(){};w(S4,Ura);S4.prototype.xa=function(){var a=0;Fm(this.Yb(!0),function(){a++});return a};S4.prototype.clear=function(){var a=Hm(this.Yb(!0)),b=this;Zb(a,function(c){b.remove(c)})};var T4=function(a){this.g=a};w(T4,S4);var U4=function(a){if(!a.g)return!1;try{return a.g.setItem("__sak","1"),a.g.removeItem("__sak"),!0}catch(b){return!1}};k=T4.prototype;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.xa=function(){return this.g.length};k.Yb=function(a){var b=0,c=this.g,d=new Dm;d.next=function(){if(b>=c.length)throw Cm;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 V4=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};w(V4,T4);var X4=function(a,b){var c=this;this.h=a;this.j=b;this.g=new V4;this.o=new SQ("realtime.media.call.PersistentReportingService");a=window.requestIdleCallback;"function"===typeof a?a(function(){W4(c)}):tx(function(){W4(c)})},Vra=function(a){MK(a,OW)||VK(a,OW,function(b){b=NK(b,GM).then();return new X4(new Rra(b),b)})},$4=function(a,b,c,d,e,f){if(!Y4(a,"Could not save RecentCallSummary because storage was unavailable")||0===e.length)return null;b=N4(b,c,d,e,f);d=new R4;U(d,1,b);c=Z4(b);d=d.wa();a.g.set(c,
  d);return b},Wra=function(a,b){if(!Y4(a,"Could not get RecentCalls because storage was unavailable"))return[];for(var c=Za()-6E4,d=[],e=0;e<a.g.xa();){var f=a.g.key(e++);if(null!==f&&Hc(f,"rcsprs_")&&(f=a5(a,f),null!==f&&M(f,1)&&!(S(f,I4,1).getTime()<c))){var g=M4(b,S(f,I4,1).getTime());L(S(f,I4,1),2)===g&&d.push(S(f,I4,1))}}return d},Xra=m(["Failed to create RecentCallSummary."]),a5=function(a,b){if(Y4(a,"Could not load RecentCallSummary because storage was unavailable")&&(b=a.g.get(b),null!==b))try{return new R4(b?
  JSON.parse(b):null)}catch(c){VQ(a.o,c).L(Xra)}return null},Yra=function(a,b,c){Sra(a.h,b,c).then(function(){var d=Z4(c),e=a5(a,d);if(null!==e&&-1===L(e,2).indexOf(1)){var f=L(e,2).concat([1]);Q(e,2,f||[]);e=e.wa();a.g.set(d,e)}})},Zra=m(["",""]),Y4=function(a,b){if(U4(a.g))return!0;a.o.L(Zra,b);return!1},W4=function(a){if(Y4(a,"Could not delete old RecentCallSummaries because storage was unavailable")){for(var b=Za()-3456E5,c=new Map,d="",e=0,f=0;f<a.g.xa();f++){var g=a.g.key(f);if(null!==g&&Hc(g,
  "rcsprs_")){var h=a5(a,g);if(null!==h&&M(h,1)){var l=S(h,I4,1);l.getTime()>e&&(d=g,e=l.getTime());(l.getTime()<b||-1!==L(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&&M(q,1)&&-1===L(q,2).indexOf(1)&&P4(a.j,4162,S(q,I4,1))})}};function Z4(a){return"rcsprs_"+L(a,6)+"_"+a.lc()}sK(OW,X4);var b5=function(){this.g=[];this.h=[]};b5.prototype.enqueue=function(a){this.h.push(a)};var c5=function(a){jc(a.g)&&(a.g=a.h,a.g.reverse(),a.h=[]);return a.g.pop()};k=b5.prototype;k.xa=function(){return this.g.length+this.h.length};k.bc=function(){return jc(this.g)&&jc(this.h)};k.clear=function(){this.g=[];this.h=[]};k.contains=function(a){return ic(this.g,a)||ic(this.h,a)};k.remove=function(a){var b=this.g;var c=Yb(b,a);0<=c?(pc(b,c),b=!0):b=!1;return b||oc(this.h,a)};
  k.La=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 d5=Symbol('is "detached" for our purposes'),e5=function(a){return"object"===typeof a&&null!==a||"function"===typeof a},f5=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 g5(a,b,c){if("function"!==typeof a)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(a,b,c)}
  var i5=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 h5(e,a,d)};case 1:return function(f){return h5(e,a,[f].concat(d))}}}return function(){return Promise.resolve()}},j5=function(a,b){var c=a.start;if(void 0!==c)return g5(c,a,b)};function h5(a,b,c){try{return Promise.resolve(g5(a,b,c))}catch(d){return Promise.reject(d)}}
  var $ra=function(a){var b=a.slice();Object.defineProperty(a,"byteLength",{get:function(){return 0}});a[d5]=!0;return b},k5=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},asa=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 l5=function(a){var b=a.Zc.shift();a.qb-=b.size;0>a.qb&&(a.qb=0);return b.value},m5=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.Zc.push({value:b,size:c});a.qb+=c},n5=function(a){a.Zc=[];a.qb=0};var o5=function(a){a&&a instanceof Rb&&setTimeout(function(){throw a;},0)};var bsa=zg("third_party.whatwgstreams"),p5=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];Fg(bsa,JSON.stringify(b))};var csa=Symbol("[[AbortSteps]]"),dsa=Symbol("[[ErrorSteps]]");function q5(a,b){var c=a.Ea;if("closed"===c||"errored"===c)return Promise.resolve(void 0);if(void 0!==a.Yc)return a.Yc.Bt;var d=!1;"erroring"===c&&(d=!0,b=void 0);c=new Promise(function(e,f){a.Yc={cd:e,bd:f,Ct:b,Dt:d}});a.Yc.Bt=c;!1===d&&r5(a,b);return c}function esa(a){return new Promise(function(b,c){a.Qj.push({cd:b,bd:c})})}function s5(a,b){p5("WritableStreamDealWithRejection(stream, %o)",b);"writable"===a.Ea?r5(a,b):t5(a)}
  function r5(a,b){p5("WritableStreamStartErroring(stream, %o)",b);var c=a.gi;a.Ea="erroring";a.wc=b;var d=a.vf;void 0!==d&&u5(d,b);void 0===a.ag&&void 0===a.Zf?(p5("WritableStreamHasOperationMarkedInFlight() is false"),b=!1):(p5("WritableStreamHasOperationMarkedInFlight() is true"),b=!0);!1===b&&!0===c.uf&&t5(a)}
  function t5(a){p5("WritableStreamFinishErroring()");a.Ea="errored";a.gi[dsa]();for(var b=a.wc,c=n(a.Qj),d=c.next();!d.done;d=c.next())d.value.bd(b);a.Qj=[];if(void 0===a.Yc)v5(a);else{var e=a.Yc;a.Yc=void 0;!0===e.Dt?(e.bd(b),v5(a)):a.gi[csa](e.Ct).then(function(){e.cd();v5(a)},function(f){e.bd(f);v5(a)})}}function w5(a){return void 0===a.Xf&&void 0===a.Zf?!1:!0}
  function v5(a){p5("WritableStreamRejectCloseAndClosedPromiseIfNeeded()");void 0!==a.Xf&&(a.Xf.bd(a.wc),a.Xf=void 0);var b=a.vf;void 0!==b&&(x5(b,a.wc),b.hc.catch(function(){}))}function y5(a,b){var c=a.vf;void 0!==c&&b!==a.Kj&&(!0===b?fsa(c):z5(c));a.Kj=b}
  var D5=function(a){if(!1===(e5(a)?!0:!1))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===(void 0===a.vf?!1:!0))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this.Dd=a;a.vf=this;var b=a.Ea;"writable"===b?(!1===w5(a)&&!0===a.Kj?gsa(this):A5(this),B5(this)):"erroring"===b?(C5(this,a.wc),this.De.catch(function(){}),B5(this)):"closed"===b?(A5(this),this.hc=Promise.resolve(void 0),this.rd=
  this.sd=void 0,this.Yf="resolved"):(a=a.wc,C5(this,a),this.De.catch(function(){}),this.hc=Promise.reject(a),this.rd=this.sd=void 0,this.Yf="rejected",this.hc.catch(function(){}))};D5.prototype.abort=function(a){return!1===(e5(this)?!0:!1)?Promise.reject(E5("abort")):void 0===this.Dd?Promise.reject(F5("abort")):q5(this.Dd,a)};
  D5.prototype.close=function(){if(!1===(e5(this)?!0:!1))return Promise.reject(E5("close"));var a=this.Dd;return void 0===a?Promise.reject(F5("close")):!0===w5(a)?Promise.reject(new TypeError("cannot close an already-closing stream")):G5(this)};D5.prototype.write=function(a){return!1===(e5(this)?!0:!1)?Promise.reject(E5("write")):void 0===this.Dd?Promise.reject(F5("write to")):H5(this,a)};
  function G5(a){var b=a.Dd,c=b.Ea;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.Xf={cd:e,bd:f}});!0===b.Kj&&"writable"===c&&z5(a);hsa(b.gi);return d}function isa(a,b){"pending"===a.Yf?x5(a,b):jsa(a,b);a.hc.catch(function(){})}
  function u5(a,b){p5("WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, %o)",b);"pending"===a.tf?ksa(a,b):lsa(a,b);a.De.catch(function(){})}
  function H5(a,b){var c=a.Dd,d=c.gi;try{var e=d.un(b)}catch(f){"writable"===d.pf.Ea&&r5(d.pf,f),e=1}if(c!==a.Dd)return Promise.reject(F5("write to"));a=c.Ea;if("errored"===a)return Promise.reject(c.wc);if(!0===w5(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.wc);c=esa(c);a:{b={du:b};try{m5(d,b,e)}catch(f){"writable"===d.pf.Ea&&r5(d.pf,f);break a}b=d.pf;!1===w5(b)&&"writable"===b.Ea&&y5(b,0>=
  d.Xg-d.qb);I5(d)}return c}function hsa(a){m5(a,"close",0);I5(a)}function I5(a){p5("WritableStreamDefaultControllerAdvanceQueueIfNeeded()");var b=a.pf;if(!1!==a.uf&&void 0===b.ag){var c=b.Ea;"closed"!==c&&"errored"!==c&&("erroring"===c?t5(b):0!==a.Zc.length&&(b=a.Zc[0].value,"close"===b?msa(a):nsa(a,b.du)))}}
  function msa(a){var b=a.pf;b.Zf=b.Xf;b.Xf=void 0;l5(a);a.XO().then(function(){b.Zf.cd(void 0);b.Zf=void 0;"erroring"===b.Ea&&(b.wc=void 0,void 0!==b.Yc&&(b.Yc.cd(),b.Yc=void 0));b.Ea="closed";var c=b.vf;void 0!==c&&(c.sd(void 0),c.sd=void 0,c.rd=void 0,c.Yf="resolved")},function(c){b.Zf.bd(c);b.Zf=void 0;void 0!==b.Yc&&(b.Yc.bd(c),b.Yc=void 0);s5(b,c)}).catch(o5)}
  function nsa(a,b){var c=a.pf;c.ag=c.Qj.shift();a.aP(b).then(function(){c.ag.cd(void 0);c.ag=void 0;var d=c.Ea;l5(a);!1===w5(c)&&"writable"===d&&y5(c,0>=a.Xg-a.qb);I5(a)},function(d){c.ag.bd(d);c.ag=void 0;s5(c,d)}).catch(o5)}function E5(a){return new TypeError("WritableStreamDefaultWriter.prototype."+a+" can only be used on a WritableStreamDefaultWriter")}function F5(a){return new TypeError("Cannot "+a+" a stream using a released writer")}
  function B5(a){a.hc=new Promise(function(b,c){a.sd=b;a.rd=c;a.Yf="pending"})}function x5(a,b){a.rd(b);a.sd=void 0;a.rd=void 0;a.Yf="rejected"}function jsa(a,b){a.hc=Promise.reject(b);a.Yf="rejected"}function gsa(a){p5("defaultWriterReadyPromiseInitialize()");a.De=new Promise(function(b,c){a.cg=b;a.bg=c});a.tf="pending"}function C5(a,b){p5("defaultWriterReadyPromiseInitializeAsRejected(writer, %o)",b);a.De=Promise.reject(b);a.cg=void 0;a.bg=void 0;a.tf="rejected"}
  function A5(a){p5("defaultWriterReadyPromiseInitializeAsResolved()");a.De=Promise.resolve(void 0);a.cg=void 0;a.bg=void 0;a.tf="fulfilled"}function ksa(a,b){p5("defaultWriterReadyPromiseReject(writer, %o)",b);a.bg(b);a.cg=void 0;a.bg=void 0;a.tf="rejected"}function fsa(a){p5("defaultWriterReadyPromiseReset()");a.De=new Promise(function(b,c){a.cg=b;a.bg=c});a.tf="pending"}function lsa(a,b){p5("defaultWriterReadyPromiseResetToRejected(writer, %o)",b);a.De=Promise.reject(b);a.tf="rejected"}
  function z5(a){p5("defaultWriterReadyPromiseResolve()");a.cg(void 0);a.cg=void 0;a.bg=void 0;a.tf="fulfilled"};var J5=Symbol("[[CancelSteps]]"),K5=Symbol("[[PullSteps]]"),L5=function(a){a=void 0===a?{}:a;var b={},c=b.size;b=b.highWaterMark;this.Ea="readable";this.wc=this.Zb=void 0;this.tn=!1;var d=a.type;if("bytes"===String(d)){void 0===b&&(b=0);b=k5(b);if(void 0!==c)throw new RangeError("The strategy for a byte stream cannot have a size function");osa(this,a,b)}else if(void 0===d)void 0===b&&(b=1),b=k5(b),c=asa(c),psa(this,a,b,c);else throw new RangeError("Invalid type is specified");};
  L5.prototype.cancel=function(a){return!1===(e5(this)?!0:!1)?Promise.reject(M5("cancel")):!0===N5(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):O5(this,a)};
  L5.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===(e5(this)?!0:!1))return Promise.reject(M5("pipeTo"));if(!1===(e5(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===N5(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===(void 0===a.vf?!1:!0))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));
  var g=new P5(this),h=new D5(a),l=!1,q=Promise.resolve();return new Promise(function(r,y){function D(){return!0===l?Promise.resolve():h.De.then(function(){return Q5(g).then(function(Ta){!0!==Ta.done&&(q=H5(h,Ta.value).catch(function(){}))})}).then(D)}function A(){var Ta=q;return q.then(function(){return Ta!==q?A():void 0})}function K(Ta,zc,We){"errored"===Ta.Ea?We(Ta.wc):zc.catch(We).catch(o5)}function P(Ta,zc,We){function gr(){Ta().then(function(){return ob(zc,We)},function(qsa){return ob(!0,qsa)}).catch(o5)}
  !0!==l&&(l=!0,"writable"===a.Ea&&!1===w5(a)?A().then(gr):gr())}function ha(Ta,zc){!0!==l&&(l=!0,"writable"===a.Ea&&!1===w5(a)?A().then(function(){return ob(Ta,zc)}).catch(o5):ob(Ta,zc))}function ob(Ta,zc){var We=h.Dd,gr=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");u5(h,gr);isa(h,gr);We.vf=void 0;h.Dd=void 0;rsa(g);Ta?y(zc):r(void 0)}K(c,g.hc,function(Ta){!1===e?P(function(){return q5(a,Ta)},!0,Ta):ha(!0,Ta)});K(a,h.hc,function(Ta){!1===f?P(function(){return O5(c,
  Ta)},!0,Ta):ha(!0,Ta)});(function(Ta,zc,We){"closed"===Ta.Ea?We():zc.then(We).catch(o5)})(c,g.hc,function(){!1===d?P(function(){var Ta=h.Dd,zc=Ta.Ea;return!0===w5(Ta)||"closed"===zc?Promise.resolve():"errored"===zc?Promise.reject(Ta.wc):G5(h)}):ha()});if(!0===w5(a)||"closed"===a.Ea){var wb=new TypeError("the destination writable stream closed before all data could be piped to it");!1===f?P(function(){return O5(c,wb)},!0,wb):ha(!0,wb)}D().catch(function(Ta){q=Promise.resolve();o5(Ta)})})};
  function N5(a){return void 0===a.Zb?!1:!0}function R5(a){return new Promise(function(b,c){a.Zb.ad.push({cd:b,bd:c})})}function O5(a,b){a.tn=!0;if("closed"===a.Ea)return Promise.resolve(void 0);if("errored"===a.Ea)return Promise.reject(a.wc);S5(a);return a.Pj[J5](b).then(function(){})}function S5(a){a.Ea="closed";a=a.Zb;if(void 0!==a){if(!0===(e5(a)?!0:!1)){for(var b=n(a.ad),c=b.next();!c.done;c=b.next()){var d=c.value.cd;d(f5(void 0,!0))}a.ad=[]}a.sd(void 0);a.sd=void 0;a.rd=void 0}}
  function T5(a,b){a.Ea="errored";a.wc=b;a=a.Zb;if(void 0!==a){if(!0===(e5(a)?!0:!1)){for(var c=n(a.ad),d=c.next();!d.done;d=c.next())d.value.bd(b);a.ad=[]}else{c=n(a.Oj);for(d=c.next();!d.done;d=c.next())d.value.bd(b);a.Oj=[]}U5(a,b);a.hc.catch(function(){})}}function V5(a){a=a.Zb;return void 0===a||!1===(e5(a)?!0:!1)?!1:!0}function W5(a){a=a.Zb;return void 0===a||!1===(e5(a)?!0:!1)?!1:!0}
  var P5=function(a){if(!1===(e5(a)?!0:!1))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===N5(a))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ssa(this,a);this.ad=[]};P5.prototype.cancel=function(a){return!1===(e5(this)?!0:!1)?Promise.reject(X5("cancel")):void 0===this.qf?Promise.reject(Y5("cancel")):O5(this.qf,a)};
  P5.prototype.read=function(){return!1===(e5(this)?!0:!1)?Promise.reject(X5("read")):void 0===this.qf?Promise.reject(Y5("read from")):Q5(this)};function ssa(a,b){a.qf=b;b.Zb=a;"readable"===b.Ea?tsa(a):"closed"===b.Ea?usa(a):(vsa(a,b.wc),a.hc.catch(function(){}))}
  function rsa(a){"readable"===a.qf.Ea?U5(a,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):a.hc=Promise.reject(new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"));a.hc.catch(function(){});a.qf.Zb=void 0;a.qf=void 0}function Q5(a){a=a.qf;a.tn=!0;return"closed"===a.Ea?Promise.resolve(f5(void 0,!0)):"errored"===a.Ea?Promise.reject(a.wc):a.Pj[K5]()}var Z5=function(){throw new TypeError;};
  Z5.prototype.close=function(){if(!1===(e5(this)?!0:!1))throw $5("close");if(!1===a6(this))throw new TypeError("The stream is not in a state that permits close");var a=this.nf;this.ne=!0;0===this.Zc.length&&S5(a)};
  Z5.prototype.enqueue=function(a){if(!1===(e5(this)?!0:!1))throw $5("enqueue");if(!1===a6(this))throw new TypeError("The stream is not in a state that permits enqueue");var b=this.nf;if(!0===N5(b)&&0<b.Zb.ad.length)b.Zb.ad.shift().cd(f5(a,!1));else{try{var c=this.un(a)}catch(d){throw b6(this,d),d;}try{m5(this,a,c)}catch(d){throw b6(this,d),d;}}c6(this)};Z5.prototype.error=function(a){if(!1===(e5(this)?!0:!1))throw $5("error");b6(this,a)};Z5.prototype[J5]=function(a){n5(this);return this.Mj(a)};
  Z5.prototype[K5]=function(){var a=this.nf;if(0<this.Zc.length){var b=l5(this);!0===this.ne&&0===this.Zc.length?S5(a):c6(this);return Promise.resolve(f5(b,!1))}a=R5(a);c6(this);return a};function c6(a){!1!==wsa(a)&&(!0===a.sf?a.rf=!0:(a.sf=!0,a.Nj().then(function(){a.sf=!1;if(!0===a.rf)return a.rf=!1,c6(a)},function(b){b6(a,b)}).catch(o5)))}
  function wsa(a){var b=a.nf;!1===a6(a)||!1===a.uf?a=!1:((b=!0===N5(b)&&0<b.Zb.ad.length)||(b=a.nf.Ea,b=0<("errored"===b?null:"closed"===b?0:a.Xg-a.qb)),a=b?!0:!1);return a}function b6(a,b){var c=a.nf;"readable"===c.Ea&&(n5(a),T5(c,b))}function a6(a){var b=a.nf.Ea;return!1===a.ne&&"readable"===b?!0:!1}
  function xsa(a,b,c,d,e,f,g){b.nf=a;b.Zc=void 0;b.qb=void 0;n5(b);b.uf=!1;b.ne=!1;b.rf=!1;b.sf=!1;b.un=g;b.Xg=f;b.Nj=d;b.Mj=e;a.Pj=b;a=c();Promise.resolve(a).then(function(){b.uf=!0;c6(b)},function(h){b6(b,h)}).catch(o5)}function psa(a,b,c,d){var e=Object.create(Z5.prototype),f=i5(b,"pull",0,[e]),g=i5(b,"cancel",1,[]);xsa(a,e,function(){return j5(b,[e])},f,g,c,d)}var d6=function(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly");};
  d6.prototype.close=function(){if(!1===(e5(this)?!0:!1))throw e6("close");if(!0===this.ne)throw new TypeError("The stream has already been closed; do not close it again!");var a=this.Cd.Ea;if("readable"!==a)throw new TypeError("The stream (in "+a+" state) is not in the readable state and cannot be closed");a=this.Cd;if(0<this.qb)this.ne=!0;else{if(0<this.oe.length&&0<this.oe[0].td)throw a=new TypeError("Insufficient bytes to fill elements in the given buffer"),f6(this,a),a;S5(a)}};
  d6.prototype.enqueue=function(a){if(!1===(e5(this)?!0:!1))throw e6("enqueue");if(!0===this.ne)throw new TypeError("stream is closed or draining");var b=this.Cd.Ea;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===d5 in a.buffer)throw new TypeError("Cannot enqueue a view onto a detached ArrayBuffer");
  b=this.Cd;var c=a.byteOffset,d=a.byteLength;a=$ra(a.buffer);if(!0===W5(b))0===b.Zb.ad.length?g6(this,a,c,d):(a=new Uint8Array(a,c,d),b.Zb.ad.shift().cd(f5(a,!1)));else if(!0===V5(b))for(g6(this,a,c,d);0<this.oe.length&&0!==this.qb;){b=this.oe[0];d=b.Yn;a=Math.min(this.qb,b.byteLength-b.td);c=b.td+a;var e=c-c%d;c=!1;e>b.td-b.td%d&&(a=e-b.td,c=!0);for(d=this.Zc;0<a;){var f=d[0];e=Math.min(a,f.byteLength);var g=b.byteOffset+b.td,h=f.buffer,l=f.byteOffset,q=e;(new Uint8Array(b.buffer)).set(new Uint8Array(h,
  l,q),g);f.byteLength===e?d.shift():(f.byteOffset+=e,f.byteLength-=e);this.qb-=e;f=e;h6(this);b.td+=f;a-=e}!0===c&&(this.oe.shift(),h6(this),a=this.Cd,c=!1,"closed"===a.Ea&&(c=!0),d=new b.fd(b.buffer,b.byteOffset,b.td/b.Yn),"default"===b.mz?(b=d,a.Zb.ad.shift().cd(f5(b,c))):(b=d,a.Zb.Oj.shift().cd(f5(b,c))))}else g6(this,a,c,d)};d6.prototype.error=function(a){if(!1===(e5(this)?!0:!1))throw e6("error");f6(this,a)};d6.prototype[J5]=function(a){0<this.oe.length&&(this.oe[0].td=0);n5(this);return this.Mj(a)};
  d6.prototype[K5]=function(){var a=this.Cd;if(0<this.qb){a=this.Zc.shift();this.qb-=a.byteLength;0===this.qb&&!0===this.ne?S5(this.Cd):i6(this);try{var b=new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}catch(d){return Promise.reject(d)}return Promise.resolve(f5(b,!1))}b=this.At;if(void 0!==b){try{var c=new ArrayBuffer(b)}catch(d){return Promise.reject(d)}this.oe.push({buffer:c,byteOffset:0,byteLength:b,td:0,Yn:1,fd:Uint8Array,mz:"default"})}a=R5(a);i6(this);return a};
  function i6(a){!1!==ysa(a)&&(!0===a.sf?a.rf=!0:(a.sf=!0,a.Nj().then(function(){a.sf=!1;!0===a.rf&&(a.rf=!1,i6(a))},function(b){f6(a,b)}).catch(o5)))}function j6(a){h6(a);a.oe=[]}function g6(a,b,c,d){a.Zc.push({buffer:b,byteOffset:c,byteLength:d});a.qb+=d}function h6(a){void 0!==a.Lj&&(a.Lj.WO=void 0,a.Lj.ZO=void 0,a.Lj=void 0)}
  function ysa(a){var b=a.Cd;"readable"!==b.Ea||!0===a.ne||!1===a.uf?a=!1:((b=!0===W5(b)&&0<b.Zb.ad.length||!0===V5(b)&&0<b.Zb.Oj.length)||(b=a.Cd.Ea,b=0<("errored"===b?null:"closed"===b?0:a.Xg-a.qb)),a=b?!0:!1);return a}function f6(a,b){var c=a.Cd;"readable"===c.Ea&&(j6(a),n5(a),T5(c,b))}
  function zsa(a,b,c,d,e,f,g){b.Cd=a;b.rf=!1;b.sf=!1;j6(b);b.Zc=b.qb=void 0;n5(b);b.ne=!1;b.uf=!1;b.Xg=k5(f);b.Nj=d;b.Mj=e;b.At=g;b.oe=[];a.Pj=b;a=c();Promise.resolve(a).then(function(){b.uf=!0;i6(b)},function(h){f6(b,h)}).catch(o5)}
  function osa(a,b,c){var d=Object.create(d6.prototype),e=i5(b,"pull",0,[d]),f=i5(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");zsa(a,d,function(){return j5(b,[d])},e,f,c,g)}function M5(a){return new TypeError("ReadableStream.prototype."+a+" can only be used on a ReadableStream")}function Y5(a){return new TypeError("Cannot "+a+" a stream using a released reader")}
  function X5(a){return new TypeError("ReadableStreamDefaultReader.prototype."+a+" can only be used on a ReadableStreamDefaultReader")}function tsa(a){a.hc=new Promise(function(b,c){a.sd=b;a.rd=c})}function vsa(a,b){a.hc=Promise.reject(b);a.sd=void 0;a.rd=void 0}function usa(a){a.hc=Promise.resolve(void 0);a.sd=void 0;a.rd=void 0}function U5(a,b){a.rd(b);a.sd=void 0;a.rd=void 0}
  function $5(a){return new TypeError("ReadableStreamDefaultController.prototype."+a+" can only be used on a ReadableStreamDefaultController")}function e6(a){return new TypeError("ReadableByteStreamController.prototype."+a+" can only be used on a ReadableByteStreamController")};var l6=function(a){V.call(this);var b=this;this.F=a;this.s=new b5;this.g=0;this.j=new b5;this.u=Math.floor(a/2);this.l=0;this.m=!0;this.h=null;new L5({start:function(c){b.h=c},pull:function(){k6(b)}});Cs(this,function(){b.h&&b.h.close()})};t(l6,V);l6.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.bc();)c=c5(d),a-=c.size;this.g=a;k6(this)};
  var k6=function(a){if(a.m){var b=a.h;if(b&&null!==b.desiredSize&&!(0>=b.desiredSize)){var c=a.j.bc()?a.s:a.j;if(!c.bc()){c=c5(c);a.g-=c.size;try{b.enqueue(c)}catch(d){throw a.m=!1,d;}}}}};var Asa=new SQ("realtime.media.logging.upload.Uploader"),m6=function(){V.call(this);this.pp=this.Ex=0;this.Tk=!1;kt();this.Mk=!1;this.Ro=0;this.mA=BN(xN("T02pWe"),1E4);this.Br=BN(xN("zZV8c"),100);this.nx=BN(xN("rERgxc"),1E6);this.Cr=new l6(1E3);this.T(this.Cr)};t(m6,V);var Bsa=function(a){try{return void 0===a?"<undefined>":null===a?"<null>":"string"===typeof a?a:"number"===typeof a?a.toString():Pa(a)&&a.toString!=Object.prototype.toString?a+"":JSON.stringify(a)}catch(b){return"<error stringifying value>"}};
  m6.prototype.wj=function(a){this.tr&&(a?this.tr.g(this.mA,this.Br):this.tr.g(0,this.Br))};var Csa=m(["[","] ",""]),Dsa=ia(["","\n  [ERROR=","]"],["","\\n  [ERROR=","]"]);
  m6.prototype.Ed=function(a){if(!(1>a.level||this.Mk&&a.timestamp>=this.Ro))if(this.pp>this.nx)this.ea&&this.ea.g(7076);else{var b=a.message;a.context&&(b=LQ(Csa,a.context,b));a.error&&(b=LQ(Dsa,b,a.error));var c=this.Ex++;a={qP:this.kP,sequenceNumber:c,size:1,DP:this.Mk,UP:b.g,VP:b.La().map(Bsa),OP:a.level,QP:a.timestamp,PP:a.name};this.Cr.add(a);this.pp++}};var Esa=m(["Call has ended"]);m6.prototype.Zl=function(){this.Ro=Y().g+3E4;this.Mk=!0;Asa.info(Esa)};
  var n6=function(a){a.Dm&&(a.Tk?a.Dm.open():a.Dm.close())};m6.prototype.ba=function(){RQ().h.delete(this);RQ().g=[];this.Dm.discard();V.prototype.ba.call(this)};var o6=function(a){jM.call(this);this.o=new SQ("realtime.media.logging.upload.LogUploadService");this.h=!1;new tL(this);this.l=null;NK(a,GM);this.g=new m6;this.T(this.g)};t(o6,jM);o6.prototype.wj=function(a){this.g.wj(a)};var Fsa=m(["Log upload allowed. Starting upload."]),Gsa=m(["Log upload disallowed. Stopping upload."]);o6.prototype.Zl=function(){this.g.Zl()};var Hsa=function(a){MK(a,ZW)||VK(a,ZW,function(b){return new o6(b)})};var p6=function(a){var b=this;this.g=null;this.D=NK(a,QN,!0).then(function(c){return b.g=c});this.h=null;this.V=NK(a,OW).then().then(function(c){return b.h=c});this.u=null;NK(a,BW).then(function(c){b.u=c});this.s=ct(NK(a,ZW));this.F=kt();this.G=this.F.promise;this.C=null;this.j=!1;this.l=new Set;this.m=!1},Isa=function(a){MK(a,NW)||VK(a,NW,function(b){return new p6(b)})},q6=function(a){return Array.from(a.Ca.h).map(function(b){var c=new J4;c=Q(c,1,b.h.g);var d=b.rb();c=Q(c,2,d);c=Q(c,3,b.nc);b=b.ap();
  return Q(c,4,b)})},s6=function(a){a.m||r6(a);return a.C||!1},mla=function(a,b){a.g=a.g||b.h;a.u=a.u||b.eb;a.m||r6(a);ZV(b.Ca,s6(a));Math.random()<=(ml(a.g.g,9)||0)&&$V(b.Ca);a.l.add(b);b.onConnect.then(function(){return Jsa(a,b)});TW(b.onDisconnect,function(){return Ksa(a,b)});t6(a)},Lsa=function(a,b){a.g?b():a.D.then(b)},u6=function(a,b){a.h?b():a.V.then(b)},Jsa=function(a,b){u6(a,function(){var c=b.fb.get()||"";Msa(a,c,L(b.h.g,7)||"");var d=b.be,e=q6(b);$4(a.h,b.h,c,d,e)})},Msa=function(a,b,c){var d=
  void 0===d?!1:d;a.G.then(function(){(s6(a)||d)&&Wra(a.h,c).filter(function(e){return e.va()===b}).forEach(function(e){T(e,J4,7).forEach(function(f){L(f,2);e.va()})})})},Ksa=function(a,b){a.l.delete(b);t6(a);a.s.then(function(c){c.Zl()});u6(a,function(){ht([b.onConnect,b.onDisconnect]).then(function(c){c=n(c);c.next();var d=c.next().value;c=b.h;var e=b.fb.get()||"",f=b.be,g=q6(b),h=a.h;(d=$4(h,c,e,f,g,d))&&Yra(h,c,d)},La)})},t6=function(a){a.s.then(function(b){0<a.l.size?b.wj(!0):b.wj(!1)})},r6=function(a,
  b){Lsa(a,function(){a.m=!0;a.j=null;var c=kt();c.promise.then(Xa(a.K,a),Xa(a.H,a,b));var d=L(a.g.g,10);if(null!=d){null!=b&&(d=br(d,"set",String(b)));var e=qx(ox);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)})};p6.prototype.K=function(a){this.j="true"==a;v6(this)};p6.prototype.H=function(a){this.j=void 0!==a?a:s6(this);v6(this)};
  var v6=function(a){a.F.resolve();null===a.C&&(a.C=a.j,a.s.then(function(b){var c=s6(a);b.h=c;b.h?(b.o.info(Fsa),b=b.g,b.Tk=!0,n6(b)):(b.o.info(Gsa),b=b.g,b.Tk=!1,n6(b))}),a.l.forEach(function(b){ZV(b.Ca,s6(a))}));a.j!=a.C&&r6(a,s6(a))},uZ=function(a,b){var c=Nsa(b);if(null==L(c,4)||null==L(c,5)||null==L(c,6)||0==(T(c,J4,7)||[]).length)return[];var d=a.g,e=dR(d,L(c,6));return T(c,J4,7).map(function(f){var g=O4(c,f,d);return bR(e,g,L(f,1))})},Nsa=function(a){var b=a.h,c=a.fb.get(),d=a.be,e=q6(a);a=
  UW(a.onDisconnect)?a.onDisconnect.get():void 0;return N4(b,c,d,e,a)};sK(NW,p6);var w6=function(a){V.call(this);this.g=a;this.h=new Uu(this);this.onChange=this.h.signal()};t(w6,V);var x6=function(a){w6.call(this,2);var b=this,c=new tL(this);this.T(c);c.listen(a,"eb",function(){b.h.R(b.onChange,b.g)})};t(x6,w6);var y6=function(){w6.call(this,4)};t(y6,w6);var z6=new rK("dm3J4d","nUMwj");var A6=new rK("tVuxC","TH1Apc",[BW,z6]);var B6=function(){w6.call(this,1);this.receive=this.send=void 0};t(B6,w6);var E6=function(a){V.call(this);this.h=new Map;this.g=new Uu(this);this.onChange=this.g.signal();this.j=new B6;C6(a,BW);D6(this,this.j);a=C6(a,z6);D6(this,new x6(a));D6(this,new y6)};t(E6,V);var D6=function(a,b){Tb(!a.h.has(b.g),"Tried to add >1 caps of same type "+b.g);a.h.set(b.g,b);hV(a.g,a.onChange,b.onChange);a.g.R(a.onChange,b.g)},Osa=function(a){MK(a,A6)||VK(a,A6,function(b){return new E6(b)})};
  function C6(a,b){Tb(A6.g.some(function(c){return c.toString()===b.toString()}),"Tried to fetch an undeclared dependency synchronously: "+b.toString());return a.get(b)};var Psa=function(a){this.g=a.then(function(b){return new X_("google.rtc.meetings.v1.MeetingSpaceService",b.g)})},Qsa=function(a,b,c,d){return Qu(a,function f(){var g,h=this,l,q,r,y,D;return Ba(f,function(A){if(1==A.g){g=new W0;l=F6(d,g);var K=(new vJ).l(b);var P=new EJ;P=U(P,11,l);q=U(K,6,P);K=Z0(new Y0,q);r=U(K,2,g);return u(A,h.g,2)}if(3!=A.g)return y=A.h,u(A,y.makeRequest($0,r),3);D=A.h;BM(c,Number(s_(D,"ETag")),{ii:[D.qc]});A.g=0})})},Rsa=function(a,b,c,d){return Qu(a,function f(){var g,h=this,
  l,q,r,y,D,A;return Ba(f,function(K){if(1==K.g){g=new W0;l=F6(d,g);var P=new KJ;if(M(d,1)){var ha=!!nl(d,1);rl(P,1,ha);tl(g,1,"settings.access_lock")}M(d,2)&&(ha=!!nl(d,2),rl(P,3,ha),tl(g,1,"settings.chat_lock"));M(d,3)&&(ha=!!nl(d,3),rl(P,4,ha),tl(g,1,"settings.present_lock"));M(d,4)&&(ha=!!nl(d,4),rl(P,2,ha),tl(g,1,"settings.attendance_report_enabled"));q=P;P=(new vJ).l(b);ha=new EJ;ha=U(ha,11,l);P=U(P,6,ha);r=U(P,15,q);P=Z0(new Y0,r);y=U(P,2,g);return u(K,h.g,2)}if(3!=K.g)return D=K.h,u(K,D.makeRequest($0,
  y),3);A=K.h;BM(c,Number(s_(A,"ETag")),{ii:[A.qc]});K.g=0})})},F6=function(a,b){var c=new FJ;if(M(a,1)){var d=!!nl(a,1);rl(c,1,d);tl(b,1,"call_info.settings.access_lock")}M(a,2)&&(d=!!nl(a,2),rl(c,2,d),tl(b,1,"call_info.settings.chat_lock"));M(a,3)&&(d=!!nl(a,3),rl(c,3,d),tl(b,1,"call_info.settings.present_lock"));M(a,4)&&(a=!!nl(a,4),rl(c,4,a),tl(b,1,"call_info.settings.attendance_report_enabled"));return c};function Ssa(a){var b=hZ(gZ((new $Y).ir(a.Ka()).Np(a.Eb()).Op(N(a,3,"")).Mp(N(a,7,"")),T(a,wJ,5).map(Tsa)),L(a,11).map(Usa)),c=S(a,xJ,8);c&&b.l(Cla(Bla(new bZ,N(c,1,"")),N(c,1,"")));if(a=NJ(a))iZ(b.Jp(N(a,3,"")).Pp(N(a,4,"")),T(a,uJ,12).filter(function(d){return M(d,1)}).map(Vsa)),(a=S(a,FJ,11))&&b.oj(Gla(Fla(Ela(Dla(new eZ,O(a,1,!1)),O(a,2,!1)),O(a,3,!1)),O(a,4,!1)));return b}
  function Tsa(a){var b=new aZ;var c=N(a,1,"");b=Q(b,1,c);c=N(a,2,"");b=Q(b,2,c);c=N(a,3,"");b=Q(b,3,c);a=N(a,4,"");return Q(b,4,a)}function Usa(a){switch(a){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;default:return 0}}function Vsa(a){if(!M(a,1))return new dZ;var b=N(S(a,rJ,1),3,""),c=new dZ,d=S(a,rJ,1).getId();a=Q(c,1,d).setTitle(S(a,rJ,1).getTitle());return Q(a,3,b)}var Wsa=new Map([[1,1],[2,2],[3,3],[0,0]]),Xsa=new Map([[0,0],[1,1],[2,2]]);var G6=function(a){J(this,a,0,-1,null,null)};w(G6,I);G6.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);b=S(this,rJ,3);null!=b&&H(a,3,b,sJ);return Mk(a)};G6.prototype.Ka=function(){return N(this,1,"")};var H6=function(a){J(this,a,0,-1,null,null)};w(H6,I);H6.prototype.l=function(){var a=new Ik;var b=this.Ka();0<b.length&&G(a,1,b);return Mk(a)};H6.prototype.Ka=function(){return N(this,1,"")};var I6=function(a){J(this,a,0,-1,null,null)};w(I6,I);var J6=function(a){J(this,a,0,-1,Ysa,null)};w(J6,I);var Ysa=[1];var Zsa={Xb:"AttachWhiteboard",sc:G6.prototype.l,jc:function(a){a=new sk(a);for(var b=new I6;z(a)&&!x(a);)B(a);return b}},$sa={Xb:"ListShareableParticipants",sc:H6.prototype.l,jc:function(a){a=new sk(a);for(var b=new J6;z(a)&&!x(a);)switch(a.g){case 1:var c=F(a);tl(b,1,c);break;case 2:c=tk(a);ql(b,2,c,0);break;default:B(a)}return b}};var K6=function(a,b){this.g=b;this.h=a.then(function(c){return new X_("google.rtc.meetings.v1.MeetingWhiteboardService",c.g)})};
  K6.prototype.ah=function(a,b,c){return Qu(this,function e(){var f=this,g,h,l,q,r;return Ba(e,function(y){switch(y.g){case 1:f.g.logImpression(6883);var D=new rJ;g=R(D,1,b).setTitle(c);D=new G6;D=R(D,1,a);h=U(D,3,g);sa(y,2);return u(y,f.h,4);case 4:return l=y.h,u(y,l.makeRequest(Zsa,h),5);case 5:return q=y.h,f.g.logImpression(6881),y.return(q);case 2:throw r=ua(y),f.g.logImpression(6882),r;}})})};
  K6.prototype.yh=function(a){return Qu(this,function c(){var d=this,e,f,g,h,l,q,r;return Ba(c,function(y){switch(y.g){case 1:d.g.logImpression(6908);var D=new H6;e=R(D,1,a);return u(y,d.h,2);case 2:return f=y.h,sa(y,3),u(y,f.makeRequest($sa,e),5);case 5:return g=y.h,d.g.logImpression(6906),h=g.qc,l=N(h,2,0),q=L(h,1).length,0<l&&(0===q?d.g.logImpression(7079):l===q?d.g.logImpression(7077):l>q&&d.g.logImpression(7078)),y.return(h);case 3:throw r=ua(y),d.g.logImpression(6907),r;}})})};var ata=function(a){var b=new Uu(a),c=Wu(b),d=new K6(a.V,a.ea),e=new Psa(a.V),f=new nZ({Ib:c,ah:function(l,q){var r;return Da(function(y){return 1==y.g?u(y,a.Ub,2):3!=y.g?(r=y.h,u(y,d.ah(r,l,q),3)):y.return(!0)})},yh:function(){var l,q;return Da(function(r){if(1==r.g)return u(r,a.Ub,2);if(3!=r.g)return l=r.h,u(r,d.yh(l),3);q=r.h;return r.return({pP:L(q,1),mQ:N(q,2,0)})})},oj:function(l,q){var r,y;return Da(function(D){switch(D.g){case 1:return u(D,a.Ub,2);case 2:return r=D.h,u(D,a.u,3);case 3:return y=
  D.h,q?u(D,Rsa(e,r,y,l),5):u(D,Qsa(e,r,y,l),5);case 5:return D.return(!0)}})}});a.u.then(function(l){var q=function(){var r=l.s();r&&(r=Ssa(r),b.R(c,{zg:r,wl:T(r,aZ,5),Rj:L(r,7),DA:T(r,dZ,10)}))};l.onChange.attach(q,a);q()});var g=function(l){var q=Xsa.get(l.Ci());l=(new $Y).Kp(l.Gi()).Hp(q);b.R(c,{zg:l,wl:null,Rj:null})};a.sl().then(function(l){l.onChange.attach(function(q){var r=q.mc;q.Gc.forEach(g);r.forEach(g)},a)});a.mf.then(function(){var l=[];var q=o1(a);q=L(q,18);q.includes(1)&&l.push(1);q.includes(4)&&
  l.push(2);l=(new $Y).Cq(Hla(l));b.R(c,{zg:l})});var h=function(l){l=(new $Y).Ip(Wsa.get(l.Di())).Lp(l.Hi());b.R(c,{zg:l,wl:null,Rj:null})};a.tl().then(function(l){l.onChange.attach(function(q){var r=q.mc;q.Gc.forEach(h);r.forEach(h)},a)});return f};var bta=function(a,b){b=hpa(new J1,b);return(new X_("google.rtc.meetings.v1.MeetingHandRaiseService",a.g)).makeRequest(kpa,b).then(function(c){return parseInt(s_(c,"ETag"),10)})};var cta=zg("realtime.meetings.call.Participants"),nta=function(a){var b=new Uu,c=b.signal(),d=b.signal(),e=dta(a),f=a.s.get(),g=a.ha.get();f=f&&g?f.get().map(function(r){return L6(r,g)}):[];var h=new B4(f,{Ib:c,xd:d,Sl:function(r){return eta(a,r)},Tl:function(r){return fta(a,r)},sk:function(r){return gta(a,r)},zd:function(r){return hta(a,r)},accept:function(r){return ita(a,r)},mk:function(r){return jta(a,r)},Ll:function(r){return kta(e,r)},Ah:function(r){return lta(e,r)},Zk:function(){return mta(a,
  e)}},a.Hb.then());h.T(b);f=new r4(a.Wb,h,Zu(b,c,function(r){return Q(r.clone(),12,void 0)}),a.eb,a.Hb,NK(a.ma,eR));h.T(f);var l=null;a.u.then(function(r){var y=function(A){if(A!=l){if(l){var K=h.get(l);K&&(K=K.ha,b.R(c,n4(new m4,K).Of(!1)))}A&&(K=h.get(A))&&(K=K.ha,b.R(c,n4(new m4,K).Of(!0)));l=A}},D=r.get()[0];D=D&&NJ(D);y(D&&D.Sc()&&N(D.Sc(),1,""));r.onChange.attach(function(A){var K=A.mc,P=A.removed;[].concat(p(A.Gc),p(K)).forEach(function(ha){ha=ha&&NJ(ha);y(ha&&ha.Sc()&&N(ha.Sc(),1,"")||null)});
  P.forEach(function(){return y(null)})})});var q=function(r,y,D){h.get(r)?b.R(c,n4(new m4,r).Vp(y).Up(D)):Eg(cta,"Cannot find raised hand participant: "+r)};Promise.all([a.ha,a.s]).then(function(r){r=n(r);var y=r.next().value;r=r.next().value;var D=function(A){var K=L6(A,y),P=A.sb();K.Of(P===l);b.R(c,K);e.then(function(ha){var ob,wb,Ta;return Da(function(zc){if(1==zc.g)return ob=t1(P),u(zc,IL(ha),2);wb=zc.h;(Ta=wb.find(function(We){return We.getName()===ob}))?q(P,Ta.Fi(),S(Ta,gF,2)?jF(S(Ta,gF,2)).getTime():
  0):q(P,!1,0);zc.g=0})})};r.onChange.attach(function(A){var K=A.mc,P=A.removed;A.Gc.forEach(D);K.forEach(function(ha){return b.R(c,L6(ha,y))});P.forEach(function(ha){return b.R(d,L6(ha,y))})},h);r.get().forEach(D)});e.then(function(r){a.onConnect.then(function(){r.start()});TW(a.onDisconnect,function(){r.dispose()});r.onChange.attach(function(y){var D=y.mc,A=y.removed;[].concat(p(y.Gc),p(D)).forEach(function(K){q(K.sb(),K.Fi(),S(K,gF,2)?jF(S(K,gF,2)).getTime():0)});A.forEach(function(K){q(K.sb(),!1,
  0)})})});return h},dta=function(a){var b,c;return Da(function(d){if(1==d.g)return u(d,a.Ub,2);b=d.h;c=tpa(a.ma,a.h,b);return d.return(c)})},L6=function(a,b){var c=4==N(a,11,0),d=c?ota:pta,e=a.sb(),f=N(a,21,"");c=n4(new m4,e).rj(f).fm(c).Jq(!!S(a,FI,20)&&!!N(S(a,FI,20),4,"")).Fl(qta(N(a,11,0))).jj(3).qj(!0).Mq(S(a,AI,12)&&N(S(a,AI,12),1,"")).Il(rta(a)).pj(O(a,15,!1)).em(O(a,8,!1)).Kh(O(a,26,!1)).Gl(N(a,29,"")).Hl(N(a,2,"")||d).Iq(S(a,CI,14)&&2==N(S(a,CI,14),2,0)).Aq(N(a,19,""));b&&(o4(c,e===b),c.gm(f===
  b));N(a,3,"")&&c.El(N(a,3,""));M(a,14)&&c.jj(sta(N(S(a,CI,14),3,0)));return c},sta=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;default:return 0}},rta=function(a){switch(MI(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}},qta=function(a){switch(a){case 4:return 1;case 7:return 2;default:return 0}},eta=function(a,b){var c,
  d,e,f;return Da(function(g){return 1==g.g?!UW(a.onConnect)||UW(a.onDisconnect)?g.return(!1):u(g,a.ha.then(),2):3!=g.g?(c=g.h,d=new AI,R(d,1,c),e=a.s.get(),f=e.mb(b),LI(f,d),u(g,ML(e,f),3)):g.return(!0)})},fta=function(a,b){var c,d,e,f;return Da(function(g){return 1==g.g?!UW(a.onConnect)||UW(a.onDisconnect)?g.return(!1):u(g,a.ha.then(),2):3!=g.g?(c=g.h,d=new BI,R(d,1,c),e=a.s.get(),f=e.mb(b),U(f,27,d),u(g,ML(e,f),3)):g.return(!0)})},gta=function(a,b){var c,d,e;return Da(function(f){if(1==f.g){if(!UW(a.onConnect)||
  UW(a.onDisconnect))return f.return(Promise.resolve(!1));c=a.s.get();d=c.mb(b);II(d,7);return u(f,ML(c,d),2)}e=f.h;return f.return(1==e.length)})},hta=function(a,b){var c,d,e,f;return Da(function(g){if(1==g.g)return!UW(a.onConnect)||UW(a.onDisconnect)?g.return(Promise.resolve(!1)):u(g,a.u,2);if(3!=g.g){c=g.h;d=new yJ;b&&R(d,1,b);var h=c.mb(),l=(new EJ).zd(d);e=U(h,6,l);return u(g,ML(c,e),3)}f=g.h;return g.return(1==f.length)})},ita=function(a,b){return Da(function(c){return c.return(M6(!0,a,b))})},
  jta=function(a,b){return Da(function(c){return c.return(M6(!1,a,b))})},M6=function(a,b,c){var d,e,f,g;return Da(function(h){if(1==h.g){if(!UW(b.onConnect)||UW(b.onDisconnect))return h.return(Promise.resolve(!1));d=b.s.get();e=d.mb(c);f=a?1:4;II(e,f);return u(h,ML(d,e),2)}g=h.h;return h.return(1==g.length)})},kta=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=t1(b),e=c.mb(d),u(g,c.add(e),3);f=g.h;return g.return(1===f.length)})},lta=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=t1(b),e=c.s(d),u(g,c.remove(e),3);f=g.h;return g.return(1===f.length)})},mta=function(a,b){var c,d,e,f,g;return Da(function(h){if(1==h.g)return u(h,Promise.all([a.V,a.Ub,b]),2);c=h.h;d=n(c);e=d.next().value;f=d.next().value;g=d.next().value;return h.return(bta(e,f).then(function(l){BM(g,l,{ii:[],Sw:!0});return!0}))})},pta=chrome.i18n.getMessage("2551467977781415455"),ota=chrome.i18n.getMessage("5734888811966502047");var tta=function(a){var b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,JY(a),2);case 2:b=e.h;case 3:return b.j?u(e,a.Ub,6):u(e,b.Ib.next(a),3);case 6:return c=e.h,d=rpa(a.ma,a.h,c),a.onConnect.then(function(){return void d.start()}),TW(a.onDisconnect,function(){return void d.dispose()}),d.Z.attach(function(){a.ea.logImpression(6929)},a),e.return(d)}})};var N6=function(a){J(this,a,0,-1,null,null)};w(N6,I);k=N6.prototype;k.Ey=function(){return O(this,1,!1)};k.Wp=function(a){return Q(this,1,a)};k.Oy=function(){return M(this,1)};k.Fy=function(){return O(this,2,!1)};k.Xp=function(a){return Q(this,2,a)};k.Py=function(){return M(this,2)};k.Gy=function(){return O(this,3,!1)};k.Yp=function(a){return Q(this,3,a)};k.Qy=function(){return M(this,3)};k.Iy=function(){return O(this,4,!1)};k.aq=function(a){return Q(this,4,a)};k.Sy=function(){return M(this,4)};
  k.Jy=function(){return O(this,5,!1)};k.bq=function(a){return Q(this,5,a)};k.Ty=function(){return M(this,5)};k.Ky=function(){return O(this,6,!1)};k.cq=function(a){return Q(this,6,a)};k.Uy=function(){return M(this,6)};k.Hy=function(){return O(this,7,!1)};k.Zp=function(a){return Q(this,7,a)};k.Ry=function(){return M(this,7)};k.My=function(){return O(this,9,!1)};k.gq=function(a){return Q(this,9,a)};k.Wy=function(){return M(this,9)};k.Ny=function(){return O(this,10,!1)};
  k.hq=function(a){return Q(this,10,a)};k.Xy=function(){return M(this,10)};k.pv=function(){return O(this,11,!1)};k.gr=function(a){return Q(this,11,a)};k.Fw=function(){return M(this,11)};k.qv=function(){return O(this,12,!1)};k.hr=function(a){return Q(this,12,a)};k.Gw=function(){return M(this,12)};k.Ly=function(){return O(this,13,!1)};k.fq=function(a){return Q(this,13,a)};k.Vy=function(){return M(this,13)};k.Zu=function(){return O(this,14,!1)};k.Rq=function(a){return Q(this,14,a)};
  k.qw=function(){return M(this,14)};k.lv=function(){return O(this,15,!1)};k.cr=function(a){return Q(this,15,a)};k.Bw=function(){return M(this,15)};k.ov=function(){return O(this,16,!1)};k.fr=function(a){return Q(this,16,a)};k.Ew=function(){return M(this,16)};k.kv=function(){return O(this,17,!1)};k.br=function(a){return Q(this,17,a)};k.Aw=function(){return M(this,17)};k.jv=function(){return O(this,18,!1)};k.ar=function(a){return Q(this,18,a)};k.zw=function(){return M(this,18)};
  k.so=function(){return O(this,19,!1)};k.Oq=function(a){return Q(this,19,a)};k.nw=function(){return M(this,19)};k.gv=function(){return O(this,20,!1)};k.Yq=function(a){return Q(this,20,a)};k.xw=function(){return M(this,20)};k.ro=function(){return O(this,21,!1)};k.Nq=function(a){return Q(this,21,a)};k.mw=function(){return M(this,21)};k.Xu=function(){return O(this,22,!1)};k.Pq=function(a){return Q(this,22,a)};k.ow=function(){return M(this,22)};k.ev=function(){return O(this,23,!1)};
  k.Wq=function(a){return Q(this,23,a)};k.vw=function(){return M(this,23)};k.Yu=function(){return O(this,24,!1)};k.Qq=function(a){return Q(this,24,a)};k.pw=function(){return M(this,24)};k.bv=function(){return O(this,25,!1)};k.Tq=function(a){return Q(this,25,a)};k.sw=function(){return M(this,25)};k.fv=function(){return O(this,26,!1)};k.Xq=function(a){return Q(this,26,a)};k.ww=function(){return M(this,26)};k.hv=function(){return O(this,27,!1)};k.Zq=function(a){return Q(this,27,a)};
  k.yw=function(){return M(this,27)};k.dv=function(){return O(this,28,!1)};k.Vq=function(a){return Q(this,28,a)};k.uw=function(){return M(this,28)};k.cv=function(){return O(this,29,!1)};k.Uq=function(a){return Q(this,29,a)};k.tw=function(){return M(this,29)};k.av=function(){return O(this,30,!1)};k.Sq=function(a){return Q(this,30,a)};k.rw=function(){return M(this,30)};k.mv=function(){return O(this,31,!1)};k.dr=function(a){return Q(this,31,a)};k.Cw=function(){return M(this,31)};
  k.nv=function(){return O(this,32,!1)};k.er=function(a){return Q(this,32,a)};k.Dw=function(){return M(this,32)};var Z=N6.prototype,P6=function(a,b){V.call(this);var c=this;this.controller=b;this.g=new N6;this.h=new Uu(this);this.Ib=this.h.signal();this.m=[lZ({has:Z.Oy,get:Z.Ey,set:Z.Wp}),lZ({has:Z.Py,get:Z.Fy,set:Z.Xp}),lZ({has:Z.Qy,get:Z.Gy,set:Z.Yp}),lZ({has:Z.Sy,get:Z.Iy,set:Z.aq}),lZ({has:Z.Ty,get:Z.Jy,set:Z.bq}),lZ({has:Z.Uy,get:Z.Ky,set:Z.cq}),lZ({has:Z.Ry,get:Z.Hy,set:Z.Zp}),lZ({has:Z.Wy,get:Z.My,set:Z.gq}),lZ({has:Z.Xy,get:Z.Ny,set:Z.hq}),lZ({has:Z.Fw,get:Z.pv,set:Z.gr}),lZ({has:Z.Gw,get:Z.qv,set:Z.hr}),
  lZ({has:Z.Vy,get:Z.Ly,set:Z.fq}),lZ({has:Z.qw,get:Z.Zu,set:Z.Rq}),lZ({has:Z.Bw,get:Z.lv,set:Z.cr}),lZ({has:Z.Ew,get:Z.ov,set:Z.fr}),lZ({has:Z.Aw,get:Z.kv,set:Z.br}),lZ({has:Z.zw,get:Z.jv,set:Z.ar}),lZ({has:Z.nw,get:Z.so,set:Z.Oq}),lZ({has:Z.xw,get:Z.gv,set:Z.Yq}),lZ({has:Z.mw,get:Z.ro,set:Z.Nq}),lZ({has:Z.ow,get:Z.Xu,set:Z.Pq}),lZ({has:Z.vw,get:Z.ev,set:Z.Wq}),lZ({has:Z.pw,get:Z.Yu,set:Z.Qq}),lZ({has:Z.sw,get:Z.bv,set:Z.Tq}),lZ({has:Z.ww,get:Z.fv,set:Z.Xq}),lZ({has:Z.yw,get:Z.hv,set:Z.Zq}),lZ({has:Z.uw,
  get:Z.dv,set:Z.Vq}),lZ({has:Z.tw,get:Z.cv,set:Z.Uq}),lZ({has:Z.rw,get:Z.av,set:Z.Sq}),lZ({has:Z.Cw,get:Z.mv,set:Z.dr}),lZ({has:Z.Dw,get:Z.nv,set:Z.er})];a.then(function(d){O6(c,d);b.Ib.attach(function(e){O6(c,e)})})};t(P6,V);var O6=function(a,b){kZ(a.g,b,a.m)&&a.h.R(a.Ib,void 0)};da.Object.defineProperties(P6.prototype,{zg:{configurable:!0,enumerable:!0,get:function(){return this.g.clone()}},l:{configurable:!0,enumerable:!0,get:function(){return this.g.so()}},j:{configurable:!0,enumerable:!0,get:function(){return this.g.ro()}}});var uta=function(a){var b=new Uu,c=b.signal(),d=new FY,e=new P6(d.promise,{Ib:c});e.T(b);a.mf.then(function(){var f,g,h,l;return Da(function(q){if(1==q.g)return f=!1,g=function(r){r&&(r=new Set(L(r,13)),r=(new N6).Wp(!0).Xp(!0).Yp(r.has(3)).aq(r.has(1)).bq(r.has(8)).cq(r.has(9)).Zp(r.has(5)).gq(!0).hq(r.has(2)).gr(r.has(4)).hr(r.has(7)).fq(r.has(10)).Rq(r.has(11)).cr(r.has(12)).fr(r.has(14)).br(r.has(15)).ar(r.has(16)).Oq(r.has(17)).Yq(r.has(18)).Nq(r.has(19)).Pq(r.has(20)).Wq(r.has(21)).Qq(r.has(22)).Tq(r.has(24)).Xq(r.has(25)).Zq(r.has(26)).Vq(r.has(23)).Uq(r.has(28)).Sq(r.has(27)).dr(r.has(29)).er(r.has(30)),
  f?b.R(c,r):(f=!0,d.resolve(r)))},g(o1(a)),u(q,a.ha,2);if(3!=q.g)return h=q.h,u(q,a.s,3);l=q.h;g(l.s(h));l.onChange.attach(function(){g(l.s(h))},e);q.g=0})});return e};var vta=function(a){var b,c,d;return Da(function(e){switch(e.g){case 1:return u(e,JY(a),2);case 2:b=e.h;case 3:return b.l?u(e,a.Ub,6):u(e,b.Ib.next(a),3);case 6:return c=e.h,d=spa(a.ma,a.h,c),a.onConnect.then(function(){return void d.start()}),TW(a.onDisconnect,function(){return void d.dispose()}),d.Z.attach(function(){a.ea.logImpression(6931)},a),e.return(d)}})};var Q6=function(a){V.call(this);var b=this;this.o=new SQ("realtime.network.monitoring.RequestResponseMonitor");this.m=new gM(10);this.F=NK(a,FM);this.s=NK(a,GM);this.g=null;NK(a,IM).then(function(c){b.g=c});this.h=0;this.j=new Uu(this);this.l=this.j.signal();this.s.then(function(c){return c.logImpression(6660)})};t(Q6,V);var wta=function(a){MK(a,XT)||VK(a,XT,function(b){return new Q6(b)})},xta=m("; Request [;] ; ; (deadline=;ms, remainingRetries=;)".split(";"));
  Q6.prototype.onRequest=function(a){this.o.info(xta,mN(a),a.h,a.N,a.C,a.g?a.g.g:null,null!=a.j?a.j:0)};var yta=m([""," Response [","] ",""]);
  Q6.prototype.u=function(a,b){this.o.info(yta,mN(a),a.h,b.Od);var c={Nf:a.m,Ag:Za(),response:b};a.s.unshift(c);c=R6(a);S6(this,"VCichb",c);c=mN(a);var d=a.m,e=Za();T6(this,c,840,d,841,e);c=mN(a);d=U6(a);e=Za();T6(this,c,843,d,844,e);this.g&&(c=(c=b instanceof jN?b.response:b)&&c.extraData)&&(a=mN(a),a=V6[a]?V6[a]:a.includes("media_sessions")?3:a.includes("media_streams")?4:a.includes("hangouts/bulk")?5:9,d=c.yz||0,e=WT(this.g,a),e.s++,e.C+=d,e.h+=d,b=!(b instanceof jN),c=c.by||0,a=WT(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 zta=m("; Error [;] ; ; (httpStatusCode=;)".split(";"));
  Q6.prototype.onError=function(a,b){this.o.pa(zta,mN(a),a.h,b.status,b.yd,b.g);var c={Nf:a.m,Ag:Za(),response:b};a.s.unshift(c);c=mN(a);var d=a.m,e=Za();T6(this,c,840,d,842,e);if("retry"!=b.status||0==(null!=a.j?a.j:0))Ata.has(b.yd),this.m.add({sendTimestamp:a.m,receiveTimestamp:Za(),name:mN(a),req:Bta(a),resp:W6(b),attemptsHistory:Cta(a.s)}),b=R6(a),S6(this,"oZuDyc",b),b=mN(a),a=U6(a),c=Za(),T6(this,b,843,a,845,c),this.h++,this.j.R(this.l,this.h)};
  Q6.prototype.search=function(a,b){b=void 0===b?10:b;b=0>b?10:b;var c=this.m.La().filter(function(d){return 0<=a.indexOf(d.resp.code)});return c.slice(-Math.min(c.length,b))};
  var S6=function(a,b,c){a.s.then(function(d){return d.logImpression(Dta[b],{oq:c})})},T6=function(a,b,c,d,e,f){var g=new yQ([Eta[b]||26]);zQ(g,c,d);zQ(g,e,f);a.F.then(function(h){return HS(h,AQ(g))})},U6=function(a){var b=a.s;return 0<b.length?b[b.length-1].Nf:a.m},Bta=function(a){return{name:(a.F||"")+a.C,body:Gs(X6(a.V)),head:null==a.u?{}:a.u,httpMethod:a.N,remainRetries:null!=a.j?a.j:0}},W6=function(a){var b=a instanceof jN?a.response:a;b={code:b&&b.Od,body:b&&Gs(b.Lb),head:b&&b.headers};a instanceof
  jN&&(b.code=a.g,b.status=a.status,b.errorType=a.yd);return b},Cta=function(a){var b=[];Zb(a,function(c){var d=W6(c.response);b.push({Nf:(new Date(c.Nf)).toString(),Ag:(new Date(c.Ag)).toString(),response:d})});return b},X6=function(a){if(a){if("function"===typeof a.wa)return JSON.parse(a.wa());if(Oa(a))return bc(a,function(b){return X6(b)})}return a},R6=function(a){var b=new XJ,c=a.s;Q(b,1,mN(a));Q(b,2,c.length);var d=[];c.forEach(function(e){e=e.response instanceof jN?e.response.g:e.response.Od;
  var f=new WJ;id(kx,e)?Q(f,1,e):Q(f,2,Fta[e||-1]||1);d.push(f)});xl(b,3,d);return b},Y6={},Dta=(Y6.VCichb=4630,Y6.oZuDyc=4631,Y6),Eta={"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},Z6={},Fta=(Z6[0]=0,Z6[1]=2,Z6[2]=3,Z6[3]=4,Z6[4]=5,Z6[5]=6,Z6[6]=7,Z6[7]=8,Z6[8]=9,Z6[9]=10,Z6),V6={"media_sessions/callperf":1,
  "media_sessions/query":2},Ata=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(" "));sK(XT,Q6);var $6=function(a){jx.call(this);var b=this;this.g=null;this.ea=a;this.h=!1;this.l=null;IQ(this,{shouldConserveBattery:function(){return b.h}})};t($6,jx);$6.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.ea.logImpression(a?2805:2806))};
  var Gta=function(a){MK(a,z6)||VK(a,z6,function(b){var c=new $6(new qQ(b));(b=navigator.getBattery?navigator.getBattery():null)&&b.then&&b.then(function(d){c.g=d;c.j();var e=new tL(c);c.T(e);e.listen(d,["chargingchange","levelchange"],c.j);c.j()});return c})};var Hta=function(a){var b=void 0===b?!1:b;Lka(a);pra(a);Gta(a);Isa(a);a.registerService(lW,Dra);$qa(a);Osa(a);a.registerService(i1,nta);cra(a);Vra(a);a.registerService(k1,tta);a.registerService(j1,uta);a.registerService(l1,vta);wta(a);rha(a);Nha(a);Hsa(a);a.registerService(h1,ata);E2(a,function(c){return ud()&&!b?new D4(c):new G4(c)})};var a7=function(a,b){W.call(this,"gb");this.sessionId=a;this.g=new Map(b)};t(a7,W);var b7=null,c7=0,d7=null;function e7(){var a=b7;a&&"suspended"===a.state&&a.resume()}function Ita(){if(0===c7){var a=window.AudioContext||window.webkitAudioContext;if(!a)return null;b7=new a;d7=new NV(2E3);d7.h.attach(function(){return e7()});e7();d7.start()}c7++;return b7}function Jta(){--c7;0===c7&&(d7.dispose(),d7=null,b7.close(),b7=null)}function f7(a){var b=Ita();if(!b)throw Error("AudioContext not supported by this browser");Cs(a,Jta);return b};var g7=function(a){if("string"===typeof a){var b=Number(a);a=0==b&&Jc(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 h7=function(a){V.call(this);this.g=null;var b=a;Vf&&(b=this.g=a.clone(),b.getAudioTracks().forEach(function(c){return c.enabled=!0}));this.m=b};t(h7,V);h7.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)};h7.prototype.stream=function(){return this.m};var Kta=m(["Acquire Audio Context and modify WebAudio graph"]),i7=function(a){h7.call(this,a);this.o=new SQ("realtime.media.audio.PeakVolumeAnalyser");this.j=f7(this);this.h=this.j.createAnalyser();this.h.fftSize=2048;this.l=this.j.createMediaStreamSource(this.stream());this.l.connect(this.h);this.o.info(Kta)};t(i7,h7);var Lta=m(["Release Audio Context(WebAudio)"]);i7.prototype.ba=function(){this.l.disconnect();this.o.info(Lta);h7.prototype.ba.call(this)};
  var Mta=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 g7(a)};var Nta=m(["",""]),j7=function(a,b,c){jx.call(this);var d=this;this.M=XQ(UQ(new SQ("realtime.media.audio.AudioOutput"),function(e){return e(Nta,d)}));this.u=a;this.j=new tL(this);this.T(this.j);this.volume=0;this.m=b?new i7(a):null;this.T(this.m);this.G=c};t(j7,jx);j7.prototype.toString=function(){return"AudioOutput(stream="+this.u.id+", volume="+this.volume+")"};var Ota=m(["Setting requested volume to ","."]);j7.prototype.fc=function(a){this.M.info(Ota,a);this.volume=a};j7.prototype.ta=function(){return this.u};
  j7.prototype.ba=function(){this.fc(0);jx.prototype.ba.call(this)};var Pta=m(["Rebuilding."]);j7.prototype.s=function(){this.M.info(Pta)};var k7=function(a,b){W.call(this,"playing_error");this.code=a;this.message=b};t(k7,W);var l7=function(a,b,c,d,e){0===b.getAudioTracks().length&&e.logImpression(6549);j7.call(this,b,c,d);this.ea=e;this.l=a;this.h=[];a=BN(xN("AgRW1b"),0);this.H=Math.pow(10,-a/20);this.g=new Map;this.fc(1)};t(l7,j7);l7.prototype.toString=function(){return"HtmlAudioOutput(stream="+this.ta().id+", volume="+this.volume+", elements.length="+this.h.length+")"};var Qta=m(["Lowering volume to ","."]);
  l7.prototype.fc=function(a){j7.prototype.fc.call(this,a);1>this.H&&(a*=this.H,this.M.info(Qta,a));if(this.l){var b=Math.ceil(a)-this.h.length;if(0<b){this.M.info(Rta,b);for(var c=[],d=0;d<b;++d){var e=Of(this.l,"AUDIO");e.srcObject=this.ta();c.push(e);this.j.listen(e,m7,this.D)}Sta(this,c)}else if(0>b)for(b=-b,this.M.info(Tta,b),c=0;c<b;++c)d=this.h.pop(),yL(this.j,d,m7,this.D),d.srcObject=null,this.g.delete(d),this.l.Jv(d);0<a&&(this.h[0].volume=a-(this.h.length-1))}};
  l7.prototype.s=function(){j7.prototype.s.call(this);var a=this.volume;this.fc(0);this.fc(a)};
  var Rta=m(["Adding "," elements."]),Uta=m(["Audio output of the stream : "," threw a play error: ",""]),Vta=m(["Audio element of the stream : "," threw a media play error: ",""]),Wta=m(["Failed to set sink IDs. Error: ",""]),Xta=m(["Setting audio output device is not supported in browser."]),Sta=function(a,b){var c=[];b.forEach(function(d){var e=kt(),f=!1;c.push(e.promise);var g=d.play();g&&g.then(La,function(h){a.M.L(Uta,a.ta().id,h);a.O(new k7(-1,h))});tx(function(){f||a.logImpression(5298)},15E3);
  xL(a.j,d,"playing",function(){f=!0;e.resolve()});xL(a.j,d,"error",function(){a.M.L(Vta,a.ta().id,d.error);a.O(new k7(d.error.code,d.error.message))});a.h.push(d);a.l.appendChild(a.l.g.body,d)});ht(c).then(function(){return a.O("playing")});""!==a.G&&(Vf?ot(Yta(a,b),function(d){a.M.pa(Wta,d);throw d;}):a.M.info(Xta))},Tta=m(["Removing "," elements."]),Zta=m(["Recovery from play error state of audio output of the stream : "," started"]),$ta=m(["Audio output of the stream : "," resolved to play while recovering from error state"]),
  aua=m(["Audio output of the stream : "," threw a play error while recovering}"]),bua=function(a,b){b.srcObject=a.ta();var c=b.play();a.M.info(Zta,a.ta().id);a.logImpression(7177,void 0,a.ta().id);c&&c.then(function(){a.M.info($ta,a.ta().id);xL(a.j,b,"playing",function(){a.O("playing")})},function(d){VQ(a.M,d).L(aua,a.ta().id);a.O(new k7(-1,d))})},cua=m(["Audio element associated with the stream : "," aborted."]),dua=m(["Audio element associated with the stream : "," ended."]),eua=m(["Audio element associated with the stream : ",
  " threw error:",", details:",""]),fua=m(["Audio element associated with the stream : "," failed to recover from error state hence not retrying."]),gua=m(["Audio element associated with the stream : "," started playing."]);
  l7.prototype.D=function(a){var b=a.currentTarget;if("abort"==a.type)this.M.L(cua,this.ta().id),this.logImpression(7107,void 0,this.ta().id);else if("ended"==a.type)this.M.L(dua,this.ta().id),this.logImpression(7108,void 0,this.ta().id);else if("error"==a.type){var c=b.error?b.error:{code:"-1",message:"Unknown error"};this.M.L(eua,this.ta().id,c.code,c.message);this.logImpression(7109,c.code,this.ta().id+": "+c.message);this.g.has(b)&&"error"===this.g.get(b)?(this.M.L(fua,this.ta().id),this.logImpression(7171,
  c.code,this.ta().id+": "+c.message)):bua(this,b)}else"playing"==a.type&&(this.M.info(gua,this.ta().id),this.logImpression(7110,void 0,this.ta().id),this.g.has(b)&&"error"==this.g.get(b)&&this.logImpression(7170,void 0,this.ta().id));this.g.set(b,a.type)};
  var Yta=function(a,b){b=b.map(function(c){return ct().then(function(){var d=Date.now();a.logImpression(5269,void 0,"stream id: "+a.ta().id);return c.setSinkId(a.G).then(function(){a.logImpression(5270,Date.now()-d,"stream id: "+a.ta().id)},function(e){a.logImpression(5124,Date.now()-d,"stream id: "+a.ta().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 ht(b).then(function(){})};l7.prototype.logImpression=function(a,b,c){this.ea.logImpression(a,{Ic:b,kc:c})};var m7=["abort","ended","error","playing"];var o7=function(a,b,c){jx.call(this);var d=this;this.o=new SQ("realtime.media.audio.output.OutputManager");this.h=new tL;this.T(this.h);this.m=a;this.l=b;this.s=c;this.g=new Map;this.j=!1;this.ea=new qQ(this.s);xL(this.h,If(a.g),"click",function(){n7(d)});xL(this.h,If(a.g),"keyup",function(){n7(d)})};t(o7,jx);
  var hua=m(["Creating audio output for stream (id=","), ssrc (","),\n     and output device (id=",")"]),iua=m(["Stream (id=",") with no SSRC added."]),kua=function(a,b,c,d){var e=b.id;a.o.info(hua,e,c,"");b=new l7(a.m,b,d,"",a.ea);a.g.set(e,{Cn:b,ssrc:c});c?(a=a.l,a.g.has(c)||a.g.set(c,[]),a.g.get(c).push(new jua(b))):a.o.L(iua,e);return b},lua=m(["Attempted to remove a non-existing or already removed audio\n       stream (id=",") in output manager."]),mua=m(["Removing audio output for stream (id=",
  "), ssrc (",")."]),nua=m(["Unusual removal of stream (id=",") which had no SSRC."]),p7=function(a,b){if(a.g.has(b)){var c=a.g.get(b),d=c.Cn;c=c.ssrc;a.o.info(mua,b,c);c?oua(a.l,c,d):a.o.L(nua,b);a.g.delete(b);Ds(d)}else a.o.L(lua,b)},pua=m(["Rebuilding audio output (streamId=",") to unblock playback."]),n7=function(a){a.j||(a.j=!0,a.g.forEach(function(b,c){b=b.Cn;a.o.info(pua,c);b.s()}))};var q7=function(){this.g=new Map};q7.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 r7=function(a){this.g=a};r7.prototype.Jd=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(AG(a));for(var c=a.next();!c.done;c=a.next())if(c=c.value,1===SG(c)&&0===TG(c)){var d=Array.from(b);Q(c,153,d||[]);Q(c,154,5);Q(c,155,324163804)}}};var s7=function(a){this.g=0;this.h=new Map([[0,0],[1,4],[2,a?2:1],[3,1073741824],[4,1073741824]])};s7.prototype.Jd=function(a){a=n(AG(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,2===SG(b)&&0===TG(b)){var c=this.h.get(this.g),d=S(b,YF,196)||new YF;c=Q(d,1,c);U(b,196,c)}};var cW=["O","N"],t7=function(a,b){var c=void 0===b?{}:b;b=void 0===c.gA?1100:c.gA;var d=void 0===c.hA?400:c.hA,e=void 0===c.kA?500:c.kA,f=void 0===c.lA?300:c.lA,g=c.Et,h=c.hy;c=void 0===c.ju?50:c.ju;tL.call(this);this.D=a;this.G=b;this.H=d;this.K=e;this.V=f;this.s=g;this.yg=h;this.F=c;this.o=new SQ("realtime.media.api.webrtc.PassiveListener");this.g=!1;this.l=g;this.h=this.j=null};t(t7,tL);t7.prototype.ba=function(){ux(this.j);tL.prototype.ba.call(this)};var qua=m([""," listener mode is enabled."]);
  t7.prototype.m=function(){var a=this,b=this.h.Sb()||this.h.Pk();b!==this.g&&(this.g=b,ux(this.j),this.j=tx(function(){a.o.L(qua,a.g?"Passive":"Active");a.u()},this.g?this.G:this.H))};var rua=m(["Finish transition to\n          "," listener mode."]);t7.prototype.u=function(){var a=Math.min(Math.max(this.l+(this.g?1:-1)*this.F,this.s),this.yg);this.l=a;this.D(a);(this.g?this.l>=this.yg:this.l<=this.s)?(this.j=null,this.o.L(rua,this.g?"passive":"active")):this.j=tx(this.u,this.g?this.K:this.V,this)};var u7={audio:"a",video:"v",data:"d",application:"d"};var v7=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},w7=function(a){if(a.C)return a.C;var b=Math.pow(2,53)*Math.random(),c=[];c.push(new lR("v","0"));c.push(new lR("o","- "+b+" 2 IN IP4 127.0.0.1"));c.push(new lR("s","-"));c.push(new lR("t","0 0"));b=a.j.Fr?sua(a):tua(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(uua(a,a.u,a.s)));c.push(a.g("msid-semantic",
  "WMS","*"));c=new uR(c);a.C=new vR(c,b);return a.C},tua=function(a){return[a.l.za,a.l.qa,a.l.Ya].filter(function(b){return null!=b}).map(function(b,c){var d=wP(b),e=nP(b);a.h&&(e=a.h.media[c].g.get("mid").g);return x7(a,b.h,e,d,[],!0,!0)})},sua=function(a){var b=a.h?a.h.media:[],c=a.j.To||vua(a),d=!!a.j.To,e=!!a.j.To,f=!1,g=[];c.forEach(function(h,l){var q=h.send,r=h.receive,y=h.type,D=h.stream;h=h.mid;var A=[];a.h||"a"!==y||d||(d=r=!0);a.h||"v"!==y||e||(e=r=!0,a.j.Jx&&A.push.apply(A,p(a.j.Jx)));
  "d"!==y||f||(f=r=q=!0);if(b[l]&&b[l].th){var K=b[l];r=!0;K.g.get("rid").forEach(function(P,ha){"send"===P.g&&A.push(ha)})}a.h?b[l]&&b[l].Sk&&(q=!0):q=q||!!D;D=D?[D]:[];h||a.h||(h="mid_"+l);g.push(x7(a,y,h,D,A,q,r))});return g},vua=function(a){var b=wua(a,a.l),c=a.D?a.D.media:[],d=[];c.forEach(function(r){var y=u7[r.mediaType];r=r.g.get("mid").g;d.push({type:y,mid:r,send:!1,receive:!1,stream:null})});var e=xua(c),f=yua(c,a.h);if(a.h){c=a.h;for(var g=0;g<c.media.length;g++){var h=c.media[g],l=h.g.get("mid").g;
  if(g<d.length)d[g].mid=l;else{var q=u7[h.mediaType];d.push({type:q,mid:l,send:!1,receive:!1,stream:null});h.Sk&&(h=f.get(q)||[],f.set(q,[].concat(p(h),[g])))}}}b.forEach(function(r){var y=r.type,D=(r=r.stream)&&(r.j||r.Qe);if(D&&(D=e.get(D),void 0!==D)){d[D].stream=r;return}(D=f.get(y))&&0<D.length?(y=D.shift(),d[y].stream=r):a.h||d.push({type:y,stream:r,mid:null,send:!1,receive:!1})});return d},wua=function(a,b){var c=[];b=[b.za,b.qa,b.Ya];a=Math.max.apply(Math,[a.h?0:1].concat(p(b.map(function(e){return wP(e).length}))));
  for(var d={Uf:0};d.Uf<a;d={Uf:d.Uf},d.Uf++)b.forEach(function(e){return function(f){var g=wP(f)[e.Uf];f=f.h;(g||0===e.Uf)&&c.push({type:f,stream:g})}}(d));return c},zua=function(a,b){a=a.l;switch(b){case "a":return a.za;case "v":return a.qa;case "d":return a.Ya;default:Vb()}},Aua=function(a,b,c){b=[new lR("m",new kR(od(u7)[b],"0","RTP/SAVPF",["0"])),new lR("c","IN IP6 ::"),a.g("inactive")];c&&b.push(a.g("mid",c));return new tR(b)},x7=function(a,b,c,d,e,f,g){var h=zua(a,b),l=a.l.g,q=tc(a.l.h),r=!f&&
  !g;Rf&&r&&(c=null);c&&!a.m.includes(c)&&a.m.push(c);if(r)return Aua(a,b,c);r=[];var y=od(u7)[b],D=kP(h),A=h.g,K="RTP/SAVPF";l&&l.g&&(K=A?"DTLS/SCTP":"UDP/TLS/RTP/SAVPF");var P="DTLS/SCTP"===K?[A.Fb()]:D.map(function(ha){return ha.xe.toString()});r.push(new lR("m",new kR(y,"9",K,P)));y="inactive";f&&g?y="sendrecv":g?y="recvonly":f&&(y="sendonly");r.push.apply(r,p(Bua(a,c,y)));r.push.apply(r,p(Cua(a,l)));r.push.apply(r,p(Dua(a,q)));r.push.apply(r,p(Eua(a,h,g)));r.push.apply(r,p(Fua(a,D,b,Gua(lP(h)))));
  (b=h.Cf())&&r.push.apply(r,p(Hua(b)));0<e.length&&r.push.apply(r,p(y7(a,"recv",e)));r.push.apply(r,p(A?[a.g("sctpmap",A.Fb().toString(),A.getName(),A.g.toString())]:[]));r.push.apply(r,p(Iua(a,d)));return new tR(r)};v7.prototype.g=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return new lR("a",new jR(a,c.join(" ")))};
  var Bua=function(a,b,c){var d=[];d.push(new lR("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=bc(a.j.EA||[],function(e){return this.g("x-google-flag",e)},a);d.push.apply(d,p(a));return d},Cua=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.tb(),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},
  uua=function(a,b,c){if("ICE"==b){if("lite"==c)return[a.g("ice-lite")]}else Vb("google-ice is no longer supported.");return[]},Dua=function(a,b){var c;0<b.length&&(c=b[0]);return null!=c?[a.g("crypto",c.h.toString(),c.g,c.j)]:[]},Eua=function(a,b,c){return lP(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})},Fua=function(a,b,c,d){var e=[];b.forEach(function(f){var g=
  f.xe.toString(),h=f.getName(),l=f.h;if("v"===c||"d"===c)l=9E4;h=h+"/"+l;"a"===c&&1<(f.g||0)&&(h+="/"+f.g);e.push(a.g("rtpmap",g,h));h=f.we;if(void 0!==ed(h)){var q=[];ad(h,function(r,y){y&&r&&q.push(y+"="+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(NO(f,"vp8")||NO(f,"vp9")||NO(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"));NO(f,"opus")&&
  d&&e.push(a.g("rtcp-fb",g,"transport-cc"))});return e},Hua=function(a){var b=[];a=a.g;-1!=a&&b.push(new lR("b","AS:"+a));return b},Iua=function(a,b){var c=[];b.forEach(function(d){if(!Jc(Me(d.Qe))){var e=d.Da(),f=d.Qe,g=d.j?d.j:f;a.j.Fr&&c.push(a.g("msid",f+" "+g));a.G.add(f);var h=tc(d.C).map(function(q){return a.g.apply(a,["ssrc-group",q.g].concat(p(q.Pa())))});c.push.apply(c,p(h));if(d.h&&0<d.h.Re().length){var l=d.h;h=l.th?"send":"recv";l=l.Re().reverse();c.push.apply(c,p(y7(a,h,l)))}d.Pa().forEach(function(q){c.push(a.g("ssrc",
  q.toString(),"cname:"+e));c.push(a.g("ssrc",q.toString(),"msid:"+f+" "+g))})}});return c},y7=function(a,b,c){var d=c.map(function(f){return a.g("rid",f,b)}),e=!Rf||!Sp(68);return 0<d.length?(c=a.g("simulcast",b,(e?"rid=":"")+c.join(";")),[].concat(p(d),[c])):[]};da.Object.defineProperties(v7.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 Gua(a){return(Vf&&Sp(59)||Wf)&&a.some(function(b){return b.uri.includes("http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions")})}function xua(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 yua(a,b){var c=new Map;a.forEach(function(d,e){if(!(d.g.get("msid").h||b&&b.media[e]&&!b.media[e].Sk)){d=u7[d.mediaType];var f=c.get(d)||[];c.set(d,[].concat(p(f),[e]))}});return c};function z7(a,b){var c=void 0===c?{}:c;a=new v7(a,c);a.F=void 0===b?null:b;return w7(a)};var E7=function(a){jx.call(this);var b=this;this.h=Jua(this,a);this.o=new SQ("realtime.media.api.webrtc.PeerConnection");this.g=Kua(this);this.l=new FY;this.j=new Map;this.g.onicecandidate=this.s.bind(this);A7()||(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=Lua(this)};t(E7,jx);
  E7.prototype.ba=function(){Wf?this.g.getSenders().forEach(function(a){return a.track&&a.track.stop()}):this.g.getRemoteStreams().forEach(function(a){return D7(a)});this.close();jx.prototype.ba.call(this)};
  var Lua=function(a){var b,c;return Da(function(d){if(!A7())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.Rf||Wf||Vf)return d.bb(0);c=[{rid:"f"},{rid:"h",scaleResolutionDownBy:2},{rid:"q",scaleResolutionDownBy:4}];return u(d,b.sender.setParameters({encodings:c}),0)})},Mua=m(["Creating new PeerConnection with config= ",", constraints= ",""]),Nua=m(["Creating new PeerConnection with config=",
  ""]),Kua=function(a){var b=a.h.Co;Rf&&0<b.length&&(b[0].urls=b[0].urls.slice(0,2));b={iceServers:b,bundlePolicy:"max-bundle"};var c=RTCPeerConnection||webkitRTCPeerConnection;if(Vf){var d={mandatory:{RtpDataChannels:!1,DtlsSrtpKeyAgreement:!0},optional:[{googHighStartBitrate:!0},{googHighBitrate:!0},{googPayloadPadding:!0},{googSkipEncodingUnusedStreams:!0},{googScreencastMinBitrate:100},{googVeryHighBitrate:!0}]};a.h.Bm?(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.Ee&&null==a.h.Ae||d.optional.push({googDscp:!0});b.sdpSemantics=A7()?"unified-plan":"plan-b";a.o.info(Mua,Gs(b),Gs(d))}else a.o.info(Nua,Gs(b));return new c(b,d)},Oua=m(["Misconfigured DSCP priorities: Video priority > Audio."]),Jua=function(a,b){return"high"!=b.Ee&&"high"==b.Ae?(a.o.pa(Oua),$R(ZR(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();fx(this.g);this.g.onicecandidate=null;this.g.oniceconnectionstatechange=null;this.g.onaddstream=null;this.g.onremovestream=null;this.g.ondatachannel=null};
  var Pua=function(a,b){var c,d;return Da(function(e){if(!A7())return a.g.addStream(b),e.bb(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)})},Qua=function(a,b){if(A7()){var c=b.getTracks()[0];a.g.getTransceivers().find(function(d){return d.sender.track==c}).sender.replaceTrack(null)}else a.g.removeStream(b)},H7=function(a){return a.g.getReceivers?a.g.getReceivers():
  []},Rua=function(a){return a.g.getSenders?a.g.getSenders():[]},Sua=m(["RTCIceCandidate.candidate had no value."]);E7.prototype.s=function(a){if(a=a.candidate)a.candidate?(a=tfa(a.candidate),this.O(new I7(a))):this.o.L(Sua)};
  var Tua=m(["createOffer Failed"]),Uua=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=xR(c.sdp),a.l.resolve(Vf&&Sp(74)?d.session.sessionId:a.g.id),f.return(d);case 3:throw e=ua(f),VQ(a.o,e).pa(Tua),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 Vua=function(a){return Da(function(b){return b.return(new Promise(function(c){return a.g.getStats(c)}))})},Wua=m(["addIceCandidate Failed"]),J7=function(a,b){var c,d;return Da(function(e){if(1==e.g){var f=b.g,g=b.m,h=b.l,l=b.Fb(),q=b.D,r=b.G,y=b.h,D=b.j;f=[b.u,f,g.toLowerCase(),b.s,h,l,"typ",od(iR)[y]];switch(y){case "LOCAL":"TCP"==g&&f.push("tcptyp","active");break;case "STUN":case "RELAY":case "PEER_REFLEX":q&&r&&f.push("raddr",q,"rport",r);break;default:Vb("Unexpected candidate type: "+y)}f.push("generation",
  D);c=new RTCIceCandidate({sdpMLineIndex:0,candidate:"candidate:"+f.join(" ")});sa(e,2);return u(e,a.g.addIceCandidate(c),4)}if(2!=e.g)return ta(e,0);d=ua(e);VQ(a.o,d).L(Wua);e.g=0})},Xua=m(["setLocalDescription took: ","ms"]),Yua=m(["setLocalDescription failed after ","ms"]),Zua=m(["The current signalingState is : ",""]),$ua=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:wR(b)}),d=Y().g,sa(f,2),u(f,a.g.setLocalDescription(c),4);if(2!=f.g)return a.o.info(Xua,Y().g-d),ta(f,0);e=ua(f);VQ(a.o,e).L(Yua,Y().g-d);a.o.L(Zua,a.g.signalingState);a.o.L($ua,c.sdp);f.g=0})},ava=m(["setLocalDescription took: ","ms"]),bva=m(["setRemoteDescription failed after ","ms"]),cva=m(["The current signalingState is : ",""]),dva=ia(["The offending SDP was: \n ",""],["The offending SDP was: \\n ",""]),fva=function(a,b){var c,d,e;return Da(function(f){switch(f.g){case 1:return c=new RTCSessionDescription({type:"answer",
  sdp:wR(b)}),d=Y().g,sa(f,2),u(f,a.g.setRemoteDescription(c),4);case 4:a.o.info(ava,Y().g-d);ta(f,3);break;case 2:throw e=ua(f),VQ(a.o,e).L(bva,Y().g-d),a.o.L(cva,a.g.signalingState),a.o.L(dva,c.sdp),e;case 3:eva(a,b),f.g=0}})},eva=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))})}},A7=function(){return!Vf||Sp("86.0.4240.111")&&!1},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.Rf&&a.zn};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.fa=a;this.g=b;this.ea=c;this.o=new SQ("realtime.media.api.webrtc.PeerNegotiator");this.l=this.xf=null;this.D=0;this.u=this.ze=this.jg=null;this.h=[];this.C=[];this.m=this.s=!1;this.j=[];this.F=!0},gva=m(["Negotiation (id=","): Starting."]),hva=m(["Negotiation (id=","): Successfully completed in ","ms."]),jva=function(a){var b,c,d,e,f,g,h;return Da(function(l){switch(l.g){case 1:b=a.D++;c=a.F;a.F=!1;d=a.u;e=Y().g;a.o.info(gva,b);f=!0;if(!c){l.bb(2);break}f=a.ze;if(!A7()){l.bb(2);
  break}g=HP(DP(GP(d,vP(sP(d.za,[]),[])),vP(sP(d.qa,[]),[])),vP(sP(d.Ya,[]),[]));return u(l,P7(a,b,g),4);case 4:f=!0;case 2:if(!f){l.bb(5);break}return u(l,iva(a,b,d),5);case 5:return u(l,P7(a,b,d),7);case 7:h=Y().g-e,a.o.info(hva,b,h),l.g=0}})},iva=function(a,b,c){var d,e,f,g,h;return Da(function(l){switch(l.g){case 1:d=a.fa;sa(l,2);e=null;f=a.m;a.m=!1;g=A7()||f;if(!g){l.bb(4);break}return u(l,kva(a,c,f),5);case 5:e=l.h;case 4:if(f){var q=yR(e);a.ze=IP(a.localDescription,q.g)}a.ze&&(a.jg=a.ze,a.ze=
  null);e=A7()?Q7(a,e):z7(a.jg,a.xf);R7(a);return u(l,K7(d,e),6);case 6:a.xf=e;ta(l,0);break;case 2:throw h=ua(l),S7(a,"Failed to create or set local offer.",b,h),h;}})},Q7=function(a,b){A7()&&(Wf||Vf)&&a.g.Rf&&(b=lva(b));Vf&&Sp(83)&&AN(xN("KXe7n"),!1)&&(b=mva(a,b));return b},lva=function(a){var b=new M7;a.media.forEach(function(c,d){if("video"==c.mediaType&&c.th&&!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(mR("a=ssrc-group:SIM "+g.join(" ")));var l=c.g.get("ssrc").get(e[0]).m;g.forEach(function(q,r){var y=h[r];0<r&&(f.push(mR("a=ssrc-group:FID "+q+" "+y)),l.forEach(function(D){f.push(mR("a=ssrc:"+q+" "+D))}),l.forEach(function(D){f.push(mR("a=ssrc:"+y+" "+D))}))});a.media[d]=new tR(f)}});return a},nva=m(["Cannot add abs-capture-time RTP header extension, ID has ran out."]),mva=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(Oe(h,"/",2));var l=h.next().value;h.next();d[parseInt(l,10)]=!1;"http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time"===g&&null===c&&(c=l)})});if(null!==c)return b;var e=d.findIndex(function(f){return!0===f});if(-1===e)return a.o.L(nva),b;b.media.forEach(function(f,g){if("video"==f.mediaType||"audio"==f.mediaType)f=Array.from(f.C),f.push(mR("a=extmap:"+e.toString()+" http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time")),
  b.media[g]=new tR(f)});return b},P7=function(a,b,c){var d,e,f,g,h;return Da(function(l){if(1==l.g){sa(l,2);c=ova(a,c);d=a.l;f=(e=a.g.Dr)?["conference"]:[];var q={EA:f,Fr:A7()};q=void 0===q?{}:q;q=new v7(c,q);q.H=a.xf;q.F=void 0===d?null:d;g=w7(q);return u(l,pva(a,g),4)}if(2!=l.g)return ta(l,0);h=ua(l);S7(a,"Failed to create or set remote answer.",b,h);throw h;})},qva=m(["Creating initial offer."]),rva=m(["Initial offer successfully created."]),tva=function(a,b){var c,d;return Da(function(e){if(1==
  e.g)return a.o.info(qva),u(e,T7(a,0,0,!1),2);if(3!=e.g){c=e.h;c=Q7(a,c);a.o.info(rva);d=sva(a,c,b);if(!A7())return a.ze=d,e.bb(3);a.ea.g(6161);a.xf=c;a.jg=d;R7(a);return u(e,K7(a.fa,c),3)}return e.return(d)})},uva=m(["Queueing setting of the initial local description."]),vva=m(["Generating initial local offer SDP."]),wva=m(["Setting initial local offer."]),xva=m(["Initial local offer set successfully."]),yva=function(a){if(A7())return Promise.resolve();a.o.info(uva);return U7(a,function(){var b,c,
  d,e;return Da(function(f){switch(f.g){case 1:b=a.fa;c=a.localDescription;a.ze=null;a.jg=c;a.o.info(vva);if(!A7()){d=z7(c);f.bb(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.xf=e,a.o.info(wva),R7(a),u(f,K7(b,e),4);case 4:a.o.info(xva),f.g=0}})})},zva=function(a,b){a.u=b;return V7(a)},Ava=function(a,b,c){var d=a.localDescription;0<b.length&&(b=sP(d.za,b),d=GP(d,b));0<c.length&&(c=sP(d.qa,c),d=DP(d,c));a.ze=d;return V7(a)},Bva=m(["Queueing negotiation."]),Cva=m(["Skipping negotiation since remote description has been set yet."]),
  V7=function(a){if(a.u)return a.o.info(Bva),U7(a,function(){return jva(a)});a.o.info(Cva);return Promise.resolve()},Dva=function(a,b){var c=a.fa;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))},Eva=m(["Cancelling "," pending negotiation(s)."]);
  O7.prototype.cancel=function(){this.o.info(Eva,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(A7()&&0<a.h.length)return d.return(a.C[0].promise);c=new FY;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.bb(3)}})},Fva=m(["Adding "," pending ICE candidates after setRemoteDescription."]),
  pva=function(a,b){return Da(function(c){if(1==c.g)return R7(a),u(c,fva(a.fa,b),2);a.l=b;0<a.j.length&&(a.o.info(Fva,a.j.length),R7(a),a.j.forEach(function(d){return J7(a.fa,d)}),a.j.length=0);c.g=0})},kva=function(a,b,c){var d,e,f;return Da(function(g){return 1==g.g?(e=d=1,A7()&&(d=wP(b.za).length,e=wP(b.qa).length,f=new Set([].concat(p(wP(b.za)),p(wP(b.qa))).map(function(h){return h.Qe})),a.l.media.forEach(function(h){if("inactive"!==h.j){var l=h.g.get("msid");if(l.h){l=n(l.g.split(" "));var q=l.next().value;
  l.next();f.has(q)||("audio"===h.mediaType?d++:"video"===h.mediaType&&e++)}}})),u(g,T7(a,d,e,c),2)):g.return(g.h)})},Gva=m(["Creating a local offer (isIceRestart=",")."]),T7=function(a,b,c,d){var e,f,g,h,l,q,r,y,D,A,K;return Da(function(P){if(1==P.g){a.o.info(Gva,d);R7(a);e={};if(A7()){f=a.fa.g;g=f.getTransceivers();h=b;l=c;Vf&&!Sp(86)&&0<c&&l++;q=n(g);for(r=q.next();!r.done;r=q.next())y=r.value,y.stopped||"sendrecv"!==y.direction&&"recvonly"!==y.direction||(D=y.receiver.track,"audio"===D.kind?h--:
  "video"===D.kind&&l--);for(A=0;A<h;A++)f.addTransceiver("audio",{direction:"recvonly"});for(K=0;K<l;K++)f.addTransceiver("video",{direction:"recvonly"})}else e.offerToReceiveAudio=!0,e.offerToReceiveVideo=!0;d&&(e.iceRestart=!0);return u(P,Uua(a.fa,e),2)}return P.return(P.h)})},Hva=m(["Creating the initial local description from the offer SDP."]),Iva=m(["RTX is enabled, but offer does not contain RTX codec."]),sva=function(a,b,c){a.o.info(Hva);b=yR(b);var d=a.g.Cf();d&&(b=DP(b,b.qa.Km(d)));c=c(b);
  b=HP(DP(GP(b,uP(sP(b.za,oP(c.za)),!0)),uP(sP(b.qa,oP(c.qa)),!0)),uP(sP(b.Ya,oP(c.Ya)),!0));c=kP(b.qa);c=Jva(c);var e=c.findIndex(function(f){return Ic(f.getName(),"rtx")});a.g.Hg&&-1==e&&a.o.L(Iva);c=Kva(a,c);a.g.Xh&&Vf&&(c=c.map(function(f){return RO(new OO(f),"useadaptivelayering_v2","true").ja()}));L7(a.g)&&(c=c.map(function(f){return RO(new OO(f),"useadaptivelayering","true").ja()}));d&&0<c.length&&Vf&&(e=c[0],d=d.h,-1!=d&&(e=RO(new OO(e),"x-google-min-bitrate",d.toString()).ja()),c[0]=e);b=DP(b,
  pP(b.qa,c));b=Lva(b);a.g.Am||(b=DP(b,null));a.g.zm||(b=HP(b,null));return b},Mva=m(["Altering remote description (",")."]),Nva=m(["No DTLS role specified, defaulting to passive."]),ova=function(a,b){a.o.info(Mva,"answer");var c=a.jg;b=b.Ya.g?HP(b,sP(b.Ya,[])):Ova(b);if(b.g.g){var d=b.g.C;d||(a.o.L(Nva),d="passive");b=IP(b,BP(b.g,d))}d=b.qa&&kP(b.qa)||[];d=0<d.length&&NO(d[0],"vp9");c=oP(c.qa).some(function(e){return!e.Ef()});if(c=d&&c)a.g.Xl||a.g.lg?a=!0:(a.ea.logImpression(5770),a=!1),c=!a;c&&(b=
  DP(b,yP(b.qa,"vp8")));return b},Lva=function(a){if(!(Vf&&Sp(59)||Wf)){var b=a.za,c=a.qa;b=rP(b,lP(b).filter(function(d){return"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"!==d.uri}));c=rP(c,lP(c).filter(function(d){return"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"!==d.uri}));a=GP(a,b);a=DP(a,c)}AN(xN("fpSHtb"),!1)&&(b=a.qa,b=rP(b,lP(b).filter(function(d){return"urn:3gpp:video-orientation"!==d.uri})),a=DP(a,b));return a},Y7=function(a){var b=
  function(c,d){return c.some(function(e){return e.xe==d})};return a.filter(function(c,d,e){return!Ic(c.getName(),"rtx")||b(e,"apt"in c.we?c.we.apt:null)})},Jva=function(a){var b=function(c){return cd(c.we,function(d,e){return Ic(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()&&Ic(c.getName(),"H264")&&(f=f&&b(c))});return f});return Y7(a)},Kva=function(a,b){b=b.filter(function(c){return Ic(c.getName(),"vp8")||Ic(c.getName(),
  "h264-svc")||a.g.Hg&&Ic(c.getName(),"rtx")||a.g.mg()&&Ic(c.getName(),"vp9")||a.g.uk()&&Ic(c.getName(),"h264")});return Y7(b)},Ova=function(a){var b=AO(DO(xO(wO(uO(new tO,"d"),"dataSendChannel"),"dataSendChannel"),[0]),"dataSendChannel").ja(),c=oP(a.Ya);c.push(b);return HP(a,sP(a.Ya,c))},Pva=m(["Rengotiation (id=",") FAILED: ",". Error=",""]),Qva=m(["Last local SDP was: ",""]),Rva=m(["Last remote SDP was: ",""]),Sva=m(["PeerConnection's current local SDP is: ",""]),Tva=m(["PeerConnection's current remote SDP is: ",
  ""]),S7=function(a,b,c,d){a.o.L(Pva,c,b,d);a.xf&&a.o.L(Qva,wR(a.xf));a.l&&a.o.L(Rva,wR(a.l));b=a.fa.g;b.localDescription&&a.o.L(Sva,b.localDescription.sdp);b.remoteDescription&&a.o.L(Tva,b.remoteDescription.sdp)},R7=function(a){if("closed"==a.fa.g.signalingState)throw new W7("Negotiation cancelled due to the state of the peer.");};da.Object.defineProperties(O7.prototype,{localDescription:{configurable:!0,enumerable:!0,get:function(){return this.ze||this.jg}}});
  var W7=function(a){Pb.call(this,a);this.name="NegotiationCancelledError";this.g=!1};t(W7,Pb);var Uva=new Set(["video/vp8"]);var Vva=function(a,b){this.o=new SQ("realtime.media.api.webrtc.SenderConfigurer");this.C=b;this.l=L7(b);this.j=b.Xh&&AN(xN("lSsX3e"),!1);this.u=AN(xN("QfZrt"),!1);this.F=BN(xN("RXfX2d"),8);this.s=this.l||this.j;this.D=b.Hg?2:1;this.g=new Map;this.m=a;this.h=AN(xN("IUTezf"),!1)},Wva=m(["Configuring video sender params, original: ",""]),Xva=m(["Applying video sender params update: ",""]),$va=function(a,b,c,d){var e=d.sh,f=d.encodingInfo;d=d.Ix;var g=b.getParameters(),h=!1,l=function(){h||a.o.info(Wva,
  "encodings="+JSON.stringify(g&&g.encodings,null,2));h=!0};if(g.encodings&&g.encodings.length){if(Vf){var q=a.C.Ae;Sp(72)&&null!=q&&g.encodings[0].networkPriority!=q&&(l(),g.encodings[0].networkPriority=q)}var r=Yva(a,g.encodings,b.track,c,e,f?f.mimeType:null);a.m.g=r.Ii();g.encodings.forEach(function(D,A){A=r.xj(D,A);D.active!==A&&(l(),D.active=A)});if(a.u&&!e&&f){var y=Zva[Number("video/vp9"===f.mimeType)][Number(d>=a.F)][Number(Cf(void 0===f.Vl?hR:f.Vl)<=Cf(gR))];g.encodings.forEach(function(D,
  A){var K=y.ec(D,A),P=y.cc(D,A);A=y.Vc(D,A);if(D.scaleResolutionDownBy!==K||D.maxBitrate!==P||D.maxFramerate!==A)l(),K?D.scaleResolutionDownBy=K:delete D.scaleResolutionDownBy,D.maxBitrate=P,D.maxFramerate=A})}h&&(a.o.info(Xva,"encodings="+JSON.stringify(g&&g.encodings,null,2)),b.setParameters(g))}},Yva=function(a,b,c,d,e,f){return!e&&null!=f&&Uva.has(f)&&3===b.length&&a.g.has(d)?a.g.get(d):e&&Vf&&10>=c.getSettings().frameRate?awa:bwa},Z7=function(a,b,c){var d=b.getParameters(),e=a.C.Ee;if(d.encodings&&
  0<d.encodings.length){var f=d.encodings[0],g=!1;cwa&&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)}},dwa=function(a,b){return a.s?b.getStats().then(function(c){var d=null,e=void 0;c=n(c.values());for(var f=c.next();!f.done;f=c.next())f=f.value,"codec"===f.type&&(d=f.mimeType.toLowerCase()),"media-source"===f.type&&(e=new Bf(f.width,f.height));return{mimeType:d,
  Vl:e}}):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.Mb]=b},a8=function(a,b,c){return b.rid?a.h.get(b.rid):a.g[c]};$7.prototype.ec=function(a,b){return a8(this,a,b).ec};$7.prototype.cc=function(a,b){return a8(this,a,b).cc};$7.prototype.Vc=function(a,b){return a8(this,a,b).Vc};
  var b8=new $7([{rid:"f",Mb:2,ec:void 0,cc:25E5,Vc:24},{rid:"h",Mb:1,ec:void 0,cc:5E5,Vc:24},{rid:"q",Mb:0,ec:void 0,cc:1E5,Vc:24}]),ewa=new $7([{rid:"f",Mb:2,ec:1,cc:25E5,Vc:24},{rid:"h",Mb:1,ec:1280/480,cc:315E3,Vc:24},{rid:"q",Mb:0,ec:1280/240,cc:1E5,Vc:15}]),fwa=new $7([{rid:"f",Mb:2,ec:1,cc:25E5,Vc:24},{rid:"h",Mb:1,ec:640/480,cc:315E3,Vc:24},{rid:"q",Mb:0,ec:640/240,cc:1E5,Vc:15}]),c8=new $7([{rid:"f",Mb:2,ec:void 0,cc:1502E3},{rid:"h",Mb:1,ec:void 0,cc:418E3},{rid:"q",Mb:0,ec:void 0,cc:142E3}]),
  d8=new $7([{rid:"f",Mb:2,ec:1,cc:83E4},{rid:"h",Mb:1,ec:1,cc:27E4},{rid:"q",Mb:0,ec:1280/960,cc:11E4}]),Zva=[[[b8,b8],[ewa,fwa]],[[c8,c8],[d8,d8]]],cwa=Vf&&Sp(72);function e8(a){return a.width+"x"+a.height}var bwa={xj:function(){return!0},Ii:function(){return 2}},awa={xj:function(a,b){return 0===b},Ii:function(){return 3}},f8=function(a){var b=a.Mb;this.h=a.rid;this.g=b};f8.prototype.xj=function(a,b){return a.rid?a.rid===this.h:b===this.g};f8.prototype.Ii=function(){return 1};
  var g8=function(a){var b=a.al;this.h=new Set(a.Re);this.g=b};g8.prototype.xj=function(a,b){return a.rid?this.h.has(String(a.rid)):b<=this.g};g8.prototype.Ii=function(){return 2};var gwa=new Map([[e8(hR),new f8({rid:"f",Mb:2})],[e8(gR),new f8({rid:"h",Mb:1})],[e8(fR),new f8({rid:"q",Mb:0})]]),hwa=new Map([[e8(hR),new g8({Re:["q","h","f"],al:2})],[e8(gR),new g8({Re:["q","h"],al:1})],[e8(fR),new g8({Re:["q"],al:0})]]);var h8=function(){this.X=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},i8=function(a,b){null==a.j&&(a.j=b);var c=Za();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};
  h8.prototype.toJson=function(){var a={};return a.jmiVersion=this.X,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 kwa=function(a,b,c){b&&(hd(a,"googFrameWidthSent")&&(a.googFrameWidthSent=0),hd(a,"googFrameHeightSent")&&(a.googFrameHeightSent=0));b=Number(a.ssrc);if(null!=b){var d=a.googCaptureStartNtpTimeMs;if(null!=d&&0<d){var e=iwa(c,b);null!=e&&(d=d-jwa+1E3*e,a.oneWayDelayMs=Za()-d)}null!=a.bytesReceived&&(d=j8(c,b),null!=d&&(null!=d.Ki&&(a.fpsGraphicsInput=d.Ki),null!=d.Li&&(a.fpsGraphicsOutput=d.Li)));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=k8(c,b),null!=c&&(a.googInterframeDelayMax=c)}},jwa=(new Date(0)).getTime()-(new Date("1900/01/01 00:00 GMT")).getTime();var m8=function(a,b,c){var d=l8;this.C=NK(a,GM).then();this.h=b;this.l=c;this.j=d;this.g=new Set};m8.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),lwa(this),d="m");return d};var lwa=function(a){a.C.then(function(b){b.logImpression(a.h)})};var n8=function(a){return"number"!==typeof a||isNaN(a)?-1:a},mwa=function(a,b,c){c?("number"!==typeof a.aecDivergentFilterFraction||isNaN(a.aecDivergentFilterFraction)||Q(b,117,a.aecDivergentFilterFraction),"number"!==typeof a.audioInputLevel||isNaN(a.audioInputLevel)||Q(b,26,Math.round(a.audioInputLevel)),"number"!==typeof a.googEchoCancellationEchoDelayMedian||isNaN(a.googEchoCancellationEchoDelayMedian)||Q(b,46,Math.round(a.googEchoCancellationEchoDelayMedian)),"number"!==typeof a.googEchoCancellationEchoDelayStdDev||
  isNaN(a.googEchoCancellationEchoDelayStdDev)||Q(b,47,Math.round(a.googEchoCancellationEchoDelayStdDev)),"number"!==typeof a.googEchoCancellationReturnLoss||isNaN(a.googEchoCancellationReturnLoss)||Q(b,48,Math.round(a.googEchoCancellationReturnLoss)),"number"!==typeof a.googEchoCancellationReturnLossEnhancement||isNaN(a.googEchoCancellationReturnLossEnhancement)||Q(b,49,Math.round(a.googEchoCancellationReturnLossEnhancement)),"number"!==typeof a.googEchoCancellationQualityMin||isNaN(a.googEchoCancellationQualityMin)||
  Q(b,63,a.googEchoCancellationQualityMin),"number"!==typeof a.googResidualEchoLikelihood||isNaN(a.googResidualEchoLikelihood)||Q(b,129,a.googResidualEchoLikelihood),"number"!==typeof a.googResidualEchoLikelihoodRecentMax||isNaN(a.googResidualEchoLikelihoodRecentMax)||Q(b,133,a.googResidualEchoLikelihoodRecentMax)):("number"!==typeof a.audioOutputLevel||isNaN(a.audioOutputLevel)||Q(b,26,Math.round(a.audioOutputLevel)),"number"!==typeof a.googJitterBufferMs||isNaN(a.googJitterBufferMs)||Q(b,37,Math.round(a.googJitterBufferMs)),
  "number"!==typeof a.googPreferredJitterBufferMs||isNaN(a.googPreferredJitterBufferMs)||Q(b,38,Math.round(a.googPreferredJitterBufferMs)),"number"!==typeof a.googCurrentDelayMs||isNaN(a.googCurrentDelayMs)||Q(b,39,Math.round(a.googCurrentDelayMs)),"number"!==typeof a.googExpandRate||isNaN(a.googExpandRate)||b.Sh(a.googExpandRate),"number"!==typeof a.googSpeechExpandRate||isNaN(a.googSpeechExpandRate)||b.vj(a.googSpeechExpandRate),"number"!==typeof a.googPreemptiveExpandRate||isNaN(a.googPreemptiveExpandRate)||
  b.sj(a.googPreemptiveExpandRate),"number"!==typeof a.googAccelerateRate||isNaN(a.googAccelerateRate)||b.nj(a.googAccelerateRate),"number"!==typeof a.googSecondaryDecodedRate||isNaN(a.googSecondaryDecodedRate)||b.tj(a.googSecondaryDecodedRate),"number"!==typeof a.googSecondaryDiscardedRate||isNaN(a.googSecondaryDiscardedRate)||b.uj(a.googSecondaryDiscardedRate),"number"!==typeof a.googDecodingCTSG||isNaN(a.googDecodingCTSG)||Q(b,81,Math.round(a.googDecodingCTSG)),"number"!==typeof a.googDecodingCTN||
  isNaN(a.googDecodingCTN)||Q(b,82,Math.round(a.googDecodingCTN)),"number"!==typeof a.googDecodingNormal||isNaN(a.googDecodingNormal)||Q(b,83,Math.round(a.googDecodingNormal)),"number"!==typeof a.googDecodingPLC||isNaN(a.googDecodingPLC)||Q(b,84,Math.round(a.googDecodingPLC)),"number"!==typeof a.googDecodingCNG||isNaN(a.googDecodingCNG)||Q(b,85,Math.round(a.googDecodingCNG)),"number"!==typeof a.googDecodingPLCCNG||isNaN(a.googDecodingPLCCNG)||Q(b,86,Math.round(a.googDecodingPLCCNG)),"number"!==typeof a.googDecodingMuted||
  isNaN(a.googDecodingMuted)||Q(b,134,Math.round(a.googDecodingMuted)))};var nwa={Og:"bytesReceived",Pg:"bytesSent",OF:"id",UG:"localCandidateId",XJ:"readable",tK:"remoteCandidateId",RL:"selected",VO:"writable"},owa={IA:"googActiveConnection",Og:"bytesReceived",Pg:"bytesSent",TG:"googLocalAddress",sK:"googRemoteAddress"},pwa={vB:"bitrateMean",wB:"bitrateStdDev",IE:"framerateMean",JE:"framerateStdDev",Vm:"framesDecoded",Wm:"framesEncoded",ME:"framesReceived",NE:"framesSent",KE:"framesPerSecond",Og:"bytesReceived",Pg:"bytesSent",HE:"fractionLost",AE:"firCount",iG:"isRemote",
  kG:"jitter",sG:"kind",nH:"mediaType",fI:"nackCount",bn:"packetsReceived",Fj:"packetsLost",cn:"packetsSent",BJ:"pliCount",FN:"totalEncodedBytesTarget",GN:"totalPacketSendDelay",HK:"retransmittedBytesSent",TJ:"qualityLimitationResolutionChanges",Gj:"qpSum",uK:"remoteId",VG:"localId",BL:"roundTripTime",kn:"ssrc",JN:"trackId",eD:"codecId",AD:"contentType",SJ:"qualityLimitationReason"},qwa={Og:"bytesReceived",Pg:"bytesSent",Vm:"framesDecoded",Wm:"framesEncoded",qs:"hugeFramesSent",bn:"packetsReceived",
  Fj:"packetsLost",cn:"packetsSent",Gj:"qpSum",kn:"ssrc"};var o8=function(){this.j=new Map;this.h=new Map;this.g=new Map};o8.prototype.clear=function(){this.j.clear();this.h.clear();this.g.clear()};
  var r8=function(a,b,c,d,e){var f=(e=void 0===e?!0:e)?qwa:pwa,g=b[f.kn];return null==g?null:d?p8(a.j,g,function(){return new q8(d)}).update(c,b[f.Pg],b[f.cn],e?b[f.Fj]:0,b[f.Wm],b[f.Gj],b[f.qs]):p8(a.h,g,function(){return new q8(d)}).update(c,b[f.Og],b[f.bn],b[f.Fj],b[f.Vm],b[f.Gj],null)},t8=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?owa:nwa;return p8(a.g,e,function(){return new s8}).update(c,
  b[d.Pg],b[d.Og])},p8=function(a,b,c){var d=a.get(b);null==d&&(d=c(),a.set(b,d));return d},q8=function(a){this.u=a;this.g=-1;this.j=this.l=this.h=this.m=this.s=this.C=0};
  q8.prototype.update=function(a,b,c,d,e,f,g){var h={bitrate:-1,Yk:-1,Kl:-1,Jk:-1};if("number"===typeof a&&"number"===typeof b&&"number"===typeof c&&"number"===typeof d){if(a>this.g){var l=c-this.s,q=Math.max(d-this.m,0);l=this.u?l:l+q;h.Yk=0<l?Math.round(100*q/l):-1;0<=this.g&&(q=a-this.g,l=b-this.C,h.bitrate=0<l?Math.round(8*l/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.Kl=0<a?Math.round((f-this.l)/a):-1,this.h=e,this.l=f);"number"===typeof g&&
  (h.Jk=g-this.j,this.j=g);return h};var s8=function(){this.g=-1;this.h=this.j=0};s8.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={wq:0<e?Math.round(e/d):0,kq:0<f?Math.round(f/d):0}}this.g=a;this.j=b;this.h=c}return d};var twa=function(a,b){this.o=new SQ("realtime.media.api.webrtc.JmiStatsParser");this.H=b;this.s=new o8;this.j=null;this.G=NK(a,GM).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 m8(a,4549,rwa);this.D=new m8(a,4550,swa);this.K=[this.F,this.D]},uwa=m(["Ignore report with stale timestamp "," from "," of ",""]),ywa=function(a,b,c,d,e,f){vwa(a,b,e);var g=new Map;b.forEach(function(h){if("localcandidate"===h.type){var l=h.stat("networkType");Jc(Me(h.id))||
  Jc(Me(l))||g.set(h.id,wwa[l]||0)}});b.forEach(function(h){var l=h.timestamp&&h.timestamp.getTime()||0;if(l&&l==(a.m.get(h.id)||0))a.C.get(h.id)!=l&&(a.C.set(h.id,l),a.o.info(uwa,l,h.id,h.type));else switch(a.m.set(h.id,l),h.type){case "ssrc":xwa(a,u8(h),c,d,e,f);break;case "VideoBwe":h=u8(h);l=new UF;Q(l,1,2);Q(l,24,2);"number"!==typeof h.googAvailableSendBandwidth||isNaN(h.googAvailableSendBandwidth)||Q(l,40,Math.round(h.googAvailableSendBandwidth));"number"!==typeof h.googAvailableReceiveBandwidth||
  isNaN(h.googAvailableReceiveBandwidth)||Q(l,41,Math.round(h.googAvailableReceiveBandwidth));"number"!==typeof h.googTransmitBitrate||isNaN(h.googTransmitBitrate)||Q(l,42,Math.round(h.googTransmitBitrate));"number"!==typeof h.googRetransmitBitrate||isNaN(h.googRetransmitBitrate)||Q(l,43,Math.round(h.googRetransmitBitrate));"number"!==typeof h.googTargetEncBitrate||isNaN(h.googTargetEncBitrate)||Q(l,124,Math.round(h.googTargetEncBitrate));"number"!==typeof h.googActualEncBitrate||isNaN(h.googActualEncBitrate)||
  Q(l,125,Math.round(h.googActualEncBitrate));"number"!==typeof h.googBucketDelay||isNaN(h.googBucketDelay)||Q(l,80,Math.round(h.googBucketDelay));Q(l,2,-1);Q(l,3,-1);Q(l,4,-1);Q(l,5,-1);Q(l,6,-1);Q(l,7,-1);Q(l,8,-1);Q(l,9,-1);Q(l,10,-1);yl(e,2,l,UF);break;case "googCandidatePair":l=u8(h);h=new cG;Q(h,3,Math.round(n8(l.googRtt)));Q(h,4,Math.round(n8(l.bytesSent)));"number"!==typeof l.packetsSent||isNaN(l.packetsSent)||Q(h,90,Math.round(l.packetsSent));"number"!==typeof l.packetsDiscardedOnSend||isNaN(l.packetsDiscardedOnSend)||
  Q(h,91,Math.round(l.packetsDiscardedOnSend));Q(h,6,Math.round(n8(l.bytesReceived)));var q=0;"true"===l.googActiveConnection&&(q|=1);"true"===l.googWritable&&(q|=2);"true"===l.googReadable&&(q|=4);ZG(h,q);q=new DE;var r=new DE;Q(q,1,l.googLocalAddress||"");Q(r,1,l.googRemoteAddress||"");Q(q,2,1);Q(r,2,1);var y={local:1,stun:2,relay:3};Q(q,3,y[l.googLocalCandidateType]||0);Q(r,3,y[l.googRemoteCandidateType]||0);y={udp:1,tcp:2,ssltcp:3}[l.googTransportType]||0;Q(q,4,y);Q(r,4,y);U(h,8,q);U(h,9,r);YG(h,
  q.ta());q=t8(a.s,l,a.h);Q(h,5,q?q.wq:-1);Q(h,7,q?q.kq:-1);l=l.localCandidateId;"string"===typeof l&&!Jc(Me(l))&&g.has(l)&&(l=g.get(l),Q(h,55,l));yl(e,13,h,cG)}});a.g.clear()},zwa=m(["Elapsed time in jmidata decreased from "," to\n      ",""]),vwa=function(a,b,c){b=v8(b);a.j||(a.j=b);b=b?(b.getTime()-a.j.getTime())/1E3:-1;0>b||(b<=a.h&&a.o.L(zwa,a.h,b),Q(c,1,Math.round(b)),a.h=b)},v8=function(a){var b=null;a.forEach(function(c){(c=w8(c.timestamp))&&0<c.getTime()&&(!b||b.getTime()<c.getTime())&&(b=
  c)});return b},Awa=function(a){var b=new Map;a.forEach(function(c){var d=c.stat("ssrc");c=c.stat("audioOutputLevel");Jc(Me(d))||Jc(Me(c))||(d=parseInt(d,10),c=g7(c),b.set(d,c))});return b},Cwa=function(a,b){b.forEach(function(c){if("ssrc"===c.type&&c.names().includes("googExpandRate")){for(var d=new Map,e=n(Bwa),f=e.next();!f.done;f=e.next()){f=f.value;var g=c.stat(f);Jc(Me(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)}})},Dwa=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},Ewa=function(a){return a.reduce(function(b,c){var d=-1;"VideoBwe"===c.type&&(c=c.stat("googAvailableSendBandwidth"),Jc(Me(c))||(d=Math.round(Number(c))));
  return Math.max(b,d)},-1)},xwa=function(a,b,c,d,e,f){kwa(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||Fwa(a,b))if(!f||g||!h||!c||"screen"!==b.googContentType){var l=g?new UF:(new wS).media;Gwa(b,l,h,g);g?Hwa(a,b,l,h):Iwa(b,l,h);var q=VG(l);null!=q&&a.K.forEach(function(r){return r.update(q,l)});Jwa(a,b,l,h);yl(e,2,l,UF)}},Gwa=function(a,b,c,d){Q(b,1,d?1:2);Q(b,24,c?0:1);"number"===
  typeof a.ssrc&&(Q(b,25,a.ssrc),Q(b,53,[a.ssrc]));Q(b,2,Math.round(n8(a.fractionLost)));Q(b,3,Math.round(n8(a.packetsLost)));Q(b,4,Math.round(n8(a.highestSequenceNumber)));Q(b,5,Math.round(n8(a.googJitterReceived)));Q(b,6,Math.round(n8(a.googRtt)));Q(b,7,Math.round(n8(a.bytesSent)));Q(b,8,Math.round(n8(a.packetsSent)));Q(b,9,Math.round(n8(a.bytesReceived)));Q(b,10,Math.round(n8(a.packetsReceived)));c?null!=a.googCodecName&&Q(b,44,a.googCodecName):(null!=a.googCodecName&&Q(b,94,a.googCodecName),"number"!==
  typeof a.oneWayDelayMs||isNaN(a.oneWayDelayMs)||Q(b,89,Math.round(a.oneWayDelayMs)),"number"!==typeof a.oneWayMaxDelayMs||isNaN(a.oneWayMaxDelayMs)||Q(b,112,Math.round(a.oneWayMaxDelayMs)),"number"!==typeof a.oneWayStddevDelayMs||isNaN(a.oneWayStddevDelayMs)||Q(b,118,Math.round(a.oneWayStddevDelayMs)),"number"!==typeof a.oneWayMinDelayMs||isNaN(a.oneWayMinDelayMs)||Q(b,119,Math.round(a.oneWayMinDelayMs)))},x8=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)},Hwa=function(a,b,c,d){mwa(b,c,d);!d&&a.g.has(b.ssrc)&&(a=a.g.get(b.ssrc),x8("googExpandRate",a,function(e){return c.Sh(e)}),x8("googSpeechExpandRate",a,function(e){return c.vj(e)}),x8("googPreemptiveExpandRate",a,function(e){return c.sj(e)}),x8("googAccelerateRate",a,function(e){return c.nj(e)}),x8("googSecondaryDecodedRate",a,function(e){return c.tj(e)}),x8("googSecondaryDiscardedRate",a,function(e){return c.uj(e)}))},Jwa=function(a,b,c,d){b=r8(a.s,b,a.h,d);d?(Q(c,42,b.bitrate),0<b.Jk&&nl(c,
  59)&&Kwa(a,{Ic:b.Jk})):Q(c,96,b.bitrate);Q(c,2,b.Yk);Q(c,113,b.Kl)},Iwa=function(a,b,c){c?("number"!==typeof a.googFirsReceived||isNaN(a.googFirsReceived)||Q(b,27,Math.round(a.googFirsReceived)),"number"!==typeof a.googPlisReceived||isNaN(a.googPlisReceived)||Q(b,151,Math.round(a.googPlisReceived)),"number"!==typeof a.googNacksReceived||isNaN(a.googNacksReceived)||Q(b,28,Math.round(a.googNacksReceived)),"number"!==typeof a.googFrameRateInput||isNaN(a.googFrameRateInput)||Q(b,29,Math.round(a.googFrameRateInput)),
  "number"!==typeof a.googFrameRateSent||isNaN(a.googFrameRateSent)||Q(b,30,Math.round(a.googFrameRateSent)),null!=a.codecImplementationName&&Q(b,143,a.codecImplementationName),"number"!==typeof a.googFrameWidthSent||isNaN(a.googFrameWidthSent)||Q(b,57,Math.round(a.googFrameWidthSent)),"number"!==typeof a.googFrameHeightSent||isNaN(a.googFrameHeightSent)||Q(b,58,Math.round(a.googFrameHeightSent)),"number"!==typeof a.googFrameWidthInput||isNaN(a.googFrameWidthInput)||Q(b,144,Math.round(a.googFrameWidthInput)),
  "number"!==typeof a.googFrameHeightInput||isNaN(a.googFrameHeightInput)||Q(b,145,Math.round(a.googFrameHeightInput)),"number"!==typeof a.googQpSent||isNaN(a.googQpSent)||Q(b,113,Math.round(a.googQpSent)),"number"!==typeof a.qpSum||isNaN(a.qpSum)||Q(b,139,Math.round(a.qpSum)),"number"!==typeof a.googAdaptationChanges||isNaN(a.googAdaptationChanges)||Q(b,95,Math.round(a.googAdaptationChanges)),"number"!==typeof a.qualityLimitationResolutionChanges||isNaN(a.qualityLimitationResolutionChanges)||Q(b,194,
  Math.round(a.qualityLimitationResolutionChanges)),"number"!==typeof a.googAvgEncodeMs||isNaN(a.googAvgEncodeMs)||Q(b,75,Math.round(a.googAvgEncodeMs)),"number"!==typeof a.googEncodeUsagePercent||isNaN(a.googEncodeUsagePercent)||Q(b,76,Math.round(a.googEncodeUsagePercent))):("number"!==typeof a.googFirsSent||isNaN(a.googFirsSent)||Q(b,27,Math.round(a.googFirsSent)),"number"!==typeof a.googPlisSent||isNaN(a.googPlisSent)||Q(b,151,Math.round(a.googPlisSent)),"number"!==typeof a.googNacksSent||isNaN(a.googNacksSent)||
  Q(b,28,Math.round(a.googNacksSent)),"number"!==typeof a.googFrameRateOutput||isNaN(a.googFrameRateOutput)||Q(b,29,Math.round(a.googFrameRateOutput)),"number"!==typeof a.googFrameRateReceived||isNaN(a.googFrameRateReceived)||Q(b,30,Math.round(a.googFrameRateReceived)),"number"!==typeof a.googFrameRateDecoded||isNaN(a.googFrameRateDecoded)||Q(b,31,Math.round(a.googFrameRateDecoded)),"number"!==typeof a.fpsGraphicsInput||isNaN(a.fpsGraphicsInput)||Q(b,50,a.fpsGraphicsInput),"number"!==typeof a.fpsGraphicsOutput||
  isNaN(a.fpsGraphicsOutput)||Q(b,51,a.fpsGraphicsOutput),null!=a.codecImplementationName&&Q(b,143,a.codecImplementationName),"number"!==typeof a.googFrameWidthReceived||isNaN(a.googFrameWidthReceived)||Q(b,57,Math.round(a.googFrameWidthReceived)),"number"!==typeof a.googFrameHeightReceived||isNaN(a.googFrameHeightReceived)||Q(b,58,Math.round(a.googFrameHeightReceived)),"number"!==typeof a.googQpReceived||isNaN(a.googQpReceived)||Q(b,113,Math.round(a.googQpReceived)),"number"!==typeof a.qpSum||isNaN(a.qpSum)||
  Q(b,139,Math.round(a.qpSum)),"number"!==typeof a.googInterframeDelayMax||isNaN(a.googInterframeDelayMax)||Q(b,138,Math.round(a.googInterframeDelayMax)));if(c){var d=a.googContentType;d&&Q(b,59,"screen"===d);d=L(b,65)||0;y8(a.googCpuLimitedResolution)&&(d|=1);y8(a.googBandwidthLimitedResolution)&&(d|=2);Q(b,65,d)}else if(a=a.googTimingFrameInfo){b=vS.get(b);try{a="["+a+"]",d=new uS(a?JSON.parse(a):null),b.h=d}catch(e){}}},Fwa=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},u8=function(a){var b={};a.names().forEach(function(c){var d=a.stat(c);null!=d&&(isNaN(d)||"string"===typeof d&&Jc(d)||(d=Number(d)));b[c]=d});return b},Kwa=function(a,b){a.G.then(function(c){c.logImpression(4804,b)})};function rwa(a){return 0===TG(a)&&!l8(a)&&0<(L(a,29)||0)}function swa(a){return 0===TG(a)&&!l8(a)&&0<(L(a,30)||0)}function l8(a){return!(nl(a,59)&&(L(a,58)||L(a,57)))}function y8(a){return"true"!==a&&"false"!==a?null:"true"===a}
  var wwa={lan:1,vpn:11,wlan:2,wwan:5},Bwa="googExpandRate googSpeechExpandRate googPreemptiveExpandRate googAccelerateRate googSecondaryDecodedRate googSecondaryDiscardedRate".split(" "),w8=function(a){return"number"===typeof a?new Date(a):a};var Lwa=function(a){this.o=new SQ("realtime.media.api.webrtc.RtcStatsParser");this.s=a;this.u=new o8;this.g=this.h=null;this.l=new Map;this.j=new Map;this.m=new Map;this.C=new Map},Mwa=m(["No valid timestamp for the stats: ",""]),Nwa=m(["Ignore report with timestamp prior to initial stats:\n      ",""]),Owa=m(["Ignore report with stale timestamp "," from "," of ",""]),Rwa=function(a,b,c){var d=z8(b);if(d)if(A8(a,d),d=B8(a),0>d)a.o.L(Nwa,C8(b));else{Q(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(Owa,g,f,e.type));else switch(a.m.set(f,g),D8[e.type]||e.type){case "candidate-pair":Pwa(a,e,c,b);break;case "inbound-rtp":case "outbound-rtp":Qwa(a,e,c,b)}}}else a.o.L(Mwa,C8(b))},Twa=function(a,b,c){a=Swa(a,b);c=n(AG(c));for(b=c.next();!b.done;b=c.next())if(b=b.value,M(b,1)&&M(b,24)&&M(b,25)&&1===TG(b)&&a.has(VG(b))){var d=
  a.get(VG(b));switch(SG(b)){case 1:var e=L(d,167)||0;Q(b,167,e);e=ml(d,170)||0;Q(b,170,e);e=L(d,171)||0;Q(b,171,e);e=L(d,168)||0;Q(b,168,e);e=L(d,165)||0;Q(b,165,e);d=L(d,166)||0;Q(b,166,d);break;case 2:d=L(d,130)||0,Q(b,130,d)}}},Swa=function(a,b){for(var c=new Map,d={},e=n(b.values()),f=e.next();!f.done;d={Mg:d.Mg},f=e.next()){var g=f.value;f=g;if("inbound-rtp"===(D8[g.type]||g.type)&&b.get(g.trackId)){var h=g,l=b.get(h.trackId);g=Number(g.ssrc);d.Mg=new UF;switch(f.kind){case "audio":E8(a,h,l,d.Mg,
  f.kind);break;case "video":F8(h.framesDecoded,function(q){return function(r){return Q(q.Mg,130,r)}}(d))}c.set(g,d.Mg)}}return c},A8=function(a,b){null===a.h&&(a.h=b);if(null===a.g||b.getTime()>a.g.getTime())a.g=b},H8=function(a,b,c,d){a=G8(a,b,c,!0);b=a.value;a.re&&d(b)},G8=function(a,b,c,d){d=void 0===d?!1:d;var e=b&&b[c];if("number"!==typeof e)return{value:-1,re:!1};b=b.id+"_"+c;c=!a.l.has(b);var f=a.l.get(b)||{xp:0,wp:0},g=f.xp;f=f.wp;var h=B8(a);(h>f||c)&&a.l.set(b,{xp:e,wp:h});return h>f&&!c?
  {value:d?Math.round((e-g)/(h-f)):e-g,re:!0}:{value:-1,re:!1}},B8=function(a){return a.g&&a.h?(a.g.getTime()-a.h.getTime())/1E3:-1},Pwa=function(a,b,c,d){if(I8(b,d)){var e=yl(c,13,void 0,cG),f=new DE,g=new DE;Q(f,3,0);Q(f,4,0);Q(f,2,1);Q(g,3,0);Q(g,4,0);Q(g,2,1);U(e,8,f);U(e,9,g);Q(e,7,-1);Q(e,5,-1);YG(e,f.ta());ZG(e,0);Q(e,3,-1);Q(e,6,-1);Q(e,4,-1);var h=b.remoteCandidateId||"",l=d.get(b.localCandidateId||"");l&&J8(l,f);(h=d.get(h))&&J8(h,g);U(e,8,f);U(e,9,g);ZG(e,Uwa(b,d));YG(e,f.ta());F8(b.bytesReceived,
  function(q){return Q(e,6,q)});F8(b.bytesSent,function(q){return Q(e,4,q)});F8(b.currentRoundTripTime,function(q){return Q(e,3,Math.round(1E3*q))});F8(b.packetsSent,function(q){return Q(e,90,q)});F8(b.packetsDiscardedOnSend,function(q){return Q(e,91,q)});if(a=t8(a.u,b,B8(a),!1))Q(e,5,a.wq),Q(e,7,a.kq);Vwa(b,c)}},J8=function(a,b){var c=a.ip||a.ipAddress||"",d=a.port||a.portNumber||0;!Jc(c)&&0<d&&(c=c.includes(":")?"["+c+"]:"+d:c+":"+d,Q(b,1,c));Q(b,3,Wwa[a.candidateType||""]||0);Q(b,4,Xwa[a.protocol||
  a.transport||""]||0)},Vwa=function(a,b){var c=K8(b);F8(a.availableOutgoingBitrate,function(d){return Q(c,40,Math.round(d))})},Ywa=function(a,b,c,d){H8(a,b,"bytesSent",function(g){return Q(d,42,g)});H8(a,b,"retransmittedBytesSent",function(g){return Q(d,43,g)});H8(a,b,"totalEncodedBytesTarget",function(g){return Q(d,124,g)});L8([L(d,42),L(d,43)],function(g){var h=n(g);g=h.next().value;h=h.next().value;return Q(d,125,g-h)});var e=G8(a,b,"totalPacketSendDelay");a=G8(a,b,"packetsSent");L8([e.re&&e.value,
  a.re&&a.value],function(g){var h=n(g);g=h.next().value;h=h.next().value;return Q(d,80,Math.round(g/h))});var f=K8(c);F8(L(d,42),function(g){g=(L(f,42)||0)+g;return Q(f,42,g)});F8(L(d,43),function(g){g=(L(f,43)||0)+g;return Q(f,43,g)});F8(L(d,124),function(g){g=(L(f,124)||0)+g;return Q(f,124,g)});F8(L(d,125),function(g){g=(L(f,125)||0)+g;return Q(f,125,g)});F8(L(d,80),function(g){g=(L(f,80)||0)+g;return Q(f,80,g)})},K8=function(a){var b=AG(a).find(function(c){return 2===TG(c)});b||(b=yl(a,2,void 0,
  UF),M8(b),Q(b,1,2),Q(b,24,2));return b},Zwa=m(["Video sender ignored: ",""]),Qwa=function(a,b,c,d){if(!N8(b)){var e=O8(b),f="outbound-rtp"===(D8[b.type]||b.type),g="video"===e;if(g){var h=(new wS).media;Q(h,1,2)}else h=new UF,Q(h,1,"audio"===e?1:0);Vf&&f&&g&&AG(c).some(function(l){return 0===TG(l)&&2===SG(l)})?a.o.L(Zwa,b.id):(g=yl(c,2,h,UF),M8(g),f?$wa(a,b,c,g,d,e):axa(a,b,g,d,e),bxa(a,b,g,e,f))}},P8=function(a,b,c,d){var e=a.ssrc;"string"!==typeof e||Jc(e)||(e=Number(e));"number"===typeof e&&(Q(b,
  25,e),Q(b,53,[e]));(a=a.codecId)&&d.has(a)&&(d=d.get(a).mimeType,d=(a=cxa[d.toLowerCase()])?a:d,c?Q(b,44,d):Q(b,94,d))},E8=function(a,b,c,d,e){"video"===e?(F8(c&&c.frameWidth,function(f){return Q(d,57,f)},-2),F8(c&&c.frameHeight,function(f){return Q(d,58,f)},-2),H8(a,c,"framesReceived",function(f){return Q(d,30,f)})):(F8(c&&c.audioLevel,function(f){return Q(d,26,Math.round(32767*f))}),F8(c&&c.concealedSamples,function(f){return Q(d,167,f)}),F8(c&&c.totalSamplesReceived,function(f){return Q(d,168,
  f)}),dxa(b,c,d));F8(c&&G8(a,c,"jitterBufferDelay").value,function(f){return Q(d,37,Math.round(f))});F8(c&&c.jitterBufferDelay,function(f){return Q(d,170,Math.round(f))});F8(c&&c.jitterBufferEmittedCount,function(f){return Q(d,171,f)});F8(c&&c.jitterBufferFlushes,function(f){return Q(d,165,f)});F8(c&&c.delayedPacketOutageSamples,function(f){return Q(d,166,f)})},gxa=function(a,b,c,d,e){"video"===e?(F8(c&&c.frameWidth,function(f){return Q(d,57,f)},-2),F8(c&&c.frameHeight,function(f){return Q(d,58,f)},
  -2),H8(a,c,"framesSent",function(f){return Q(d,30,f)}),exa(b,c,d)):fxa(b,c,d)},dxa=function(a,b,c){L8([b&&b.concealedSamples,Q8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.Sh(Math.round(d/e))});L8([b&&b.concealedSamples,Q8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.Sh(Math.round(d/e))});L8([b&&b.silentConcealedSamples,b&&b.concealedSamples,Q8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;
  var f=e.next().value;e=e.next().value;return c.vj(Math.round((f-d)/e))});L8([b&&b.insertedSamplesForDeceleration,Q8(b&&b.totalSamplesReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.sj(Math.round(d/e))});L8([b&&b.removedSamplesForAcceleration],function(d){d=n(d).next().value;return c.nj(d)});L8([b&&b.fecPacketsReceived,b&&b.fecPacketsDiscarded,Q8(a.packetsReceived)],function(d){var e=n(d);d=e.next().value;var f=e.next().value;e=e.next().value;return c.tj(Math.round((d-
  f)/e))});L8([b&&b.fecPacketsDiscarded,Q8(b&&a.packetsReceived)],function(d){var e=n(d);d=e.next().value;e=e.next().value;return c.uj(Math.round(d/e))})},exa=function(a,b,c){a=b&&b.mediaSourceId&&a.get(b.mediaSourceId);F8(a&&a.framesPerSecond,function(d){return Q(c,29,Math.round(d))})},fxa=function(a,b,c){a=b&&b.mediaSourceId&&a.get(b.mediaSourceId);F8(a&&a.audioLevel,function(d){return Q(c,26,Math.round(32767*d))})},axa=function(a,b,c,d,e){Q(c,24,1);P8(b,c,!1,d);"video"===e&&(F8(b.firCount,function(f){return Q(c,
  27,f)}),F8(b.pliCount,function(f){return Q(c,151,f)}),F8(b.nackCount,function(f){return Q(c,28,f)}),F8(b.qpSum,function(f){return Q(c,139,f)}));E8(a,b,d.get(b.trackId),c,e);"video"===e&&(F8(b.framesDecoded,function(f){return Q(c,130,f)}),F8(b.bitrateMean,function(f){return Q(c,96,Math.round(f))}));F8(b.jitter,function(f){return Q(c,5,Math.round(1E3*f))});F8(b.packetsReceived,function(f){return Q(c,10,f)});F8(b.packetsLost,function(f){return Q(c,3,f)});F8(b.bytesReceived,function(f){return Q(c,9,f)});
  F8(b.fractionLost,function(f){return Q(c,2,Math.round(100*f))});Q(c,143,b.decoderImplementation||"");hxa(a,b,c);"video"===e&&H8(a,b,"framesDecoded",function(f){return Q(c,31,f)})},$wa=function(a,b,c,d,e,f){Q(d,24,0);P8(b,d,!0,e);"video"===f&&(F8(b.firCount,function(h){return Q(d,27,h)}),F8(b.pliCount,function(h){return Q(d,151,h)}),F8(b.nackCount,function(h){return Q(d,28,h)}),F8(b.qpSum,function(h){return Q(d,139,h)}));gxa(a,e,e.get(b.trackId),d,f);F8(b.packetsSent,function(h){return Q(d,8,h)});
  F8(b.bytesSent,function(h){return Q(d,7,h)});Q(d,143,b.encoderImplementation||"");if(b.qualityLimitationReason){var g=L(d,65)||0;Q(d,65,g|(b.qualityLimitationReason in R8?R8[b.qualityLimitationReason]:1073741824))}F8(b.qualityLimitationResolutionChanges,function(h){return Q(d,194,h)});ixa(b,d,e);"video"===f&&(F8(b.bitrateMean,function(h){return Q(d,42,Math.round(h))}),H8(a,b,"framesEncoded",function(h){return Q(d,197,h)}),Vf||S8(L(d,29))||F8(L(d,197),function(h){return Q(d,29,h)}),F8(b.framesEncoded,
  function(h){return Q(d,130,h)}));Ywa(a,b,c,d)},ixa=function(a,b,c){a=jxa(c,a);c=!Rf||Sp(67);F8(c?a&&a.roundTripTime:void 0,function(d){return Q(b,6,Math.round(1E3*d))});F8(c?a&&a.jitter:void 0,function(d){return Q(b,5,Math.round(1E3*d))});F8(a&&a.packetsLost,function(d){return Q(b,3,d)})},hxa=function(a,b,c){var d=b.fractionLost;"number"===typeof d?Q(c,2,Math.round(100*d)):(d=G8(a,b,"packetsLost"),a=G8(a,b,"packetsReceived"),d.re&&a.re?(b=Math.max(d.value,0),a=b+a.value,Q(c,2,0<a?Math.round(100*b/
  a):0)):Q(c,2,-1))},M8=function(a){Q(a,9,-1);Q(a,7,-1);Q(a,3,-1);Q(a,2,-1);Q(a,5,-1);Q(a,4,-1);Q(a,10,-1);Q(a,8,-1);Q(a,6,-1)},C8=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)},bxa=function(a,b,c,d,e){b=r8(a.u,b,B8(a),e,!1);if(e)M(c,42)||Q(c,42,b.bitrate);else if(S8(L(c,2))||Q(c,2,b.Yk),S8(L(c,96))||Q(c,96,b.bitrate),!S8(L(c,138))&&"video"===d&&(d=VG(c)||KG(c)[0]||0,(e=k8(a.s,d))&&Q(c,138,e),a=j8(a.s,d)))null!=a.Ki&&Q(c,50,
  Math.round(a.Ki)),null!=a.Li&&Q(c,51,Math.round(a.Li));Q(c,113,b.Kl)},Uwa=function(a,b){b=I8(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},z8=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&&!N8(c)){b=c.timestamp;break}return"number"===typeof b?new Date(Math.round(b)):null};function N8(a){a=a?a.isRemote:void 0;return"boolean"===typeof a&&!0===a}
  var D8={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},Wwa={host:1,serverreflexive:2,peerreflexive:2,relayed:3},Xwa={udp:1,tcp:2},R8={bandwidth:2,cpu:1,none:0},cxa={"video/vp8":"VP8","video/vp9":"VP9","video/h264":"H264","audio/opus":"opus"};function S8(a){return null!=a&&-1!==a}function L8(a,b){a.every(function(c){return"number"===typeof c})&&b(a)}function Q8(a){return 0!==a?a:void 0}
  function F8(a,b,c){"number"===typeof a?b(a):void 0!==c&&b(c)}function O8(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 jxa(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 I8(a,b){return(b=b.get(a.transportId))&&b.selectedCandidatePairId?b.selectedCandidatePairId===a.id:!!a.selected};var kxa=function(){var a=Ye();switch(a.connection&&a.connection.type){case "wifi":return 2;case "ethernet":return 1;default:return 0}};var T8=function(){tL.call(this);this.o=new SQ("realtime.media.stats.OutputTracker");this.j=new Map;this.h=new Map;this.g=new Map;vL(this,document,"visibilitychange",this.l,!1,this)};t(T8,tL);
  var V8=function(a){U8.has(a)||U8.set(a,new T8);return U8.get(a)},lxa=m(["recordBeforeAudioStop: No info found for ssrc ",""]),mxa=m(["recordBeforeAudioStop: No matching element found for ssrc ",""]),oua=function(a,b,c){var d=a.g.get(b);d?qc(d,function(e){return e.Kf==c})?jc(d)&&a.g.delete(b):a.o.L(mxa,b):a.o.L(lxa,b)},j8=function(a,b){var c=a.j.get(b);c&&c.forEach(function(e){return W8(a,b,e)});var d=a.h.get(b);if(!d)return null;a.h.delete(b);c=nxa(d);d=oxa(d);return null!=c||null!=d?{Ki:c,Li:d}:
  null},pxa=m(["Non-monotonic frame count: ",""]),qxa=m(["Negative fps! s:"," e:",""]),W8=function(a,b,c){c=c.h();c.end.g<c.start.g?a.o.L(pxa,c.end.g):(a.h.has(b)||a.h.set(b,[]),-1>c.h()&&a.o.L(qxa,c.start,c.end),a.h.get(b).push(c))};T8.prototype.l=function(){var a=this;this.j.forEach(function(b,c){b.forEach(function(d){W8(a,c,d)})})};
  var nxa=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},oxa=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}))});Cc(b);var c=0,d=0,e=-Infinity,f=[];b.forEach(function(g){var h=g.t,l=h-e;0<f.length&&(c+=h-e,d+=L(f[0],29)*l);1==g.c?(lc(f,g.i),yc(f,rxa)):oc(f,g.i);e=h});return 0==c?null:d/c},iwa=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},k8=function(a,b){return(a=a.j.get(b))?cc(a,function(c,d){d=d.j();return null==c?d:null==d?c:Math.max(c,d)},null):null};T8.prototype.ba=function(){this.j.clear();this.g.clear();this.h.clear();tL.prototype.ba.call(this)};var U8=new WeakMap,rxa=function(a,b){var c=b.g-a.g;0==c&&(c=L(b,29)-L(a,29));return c},jua=function(a){this.Kf=a};var X8=function(a,b,c){this.o=new SQ("realtime.media.api.webrtc.StatsManager");this.l=new twa(a,b);this.g=null;this.m=!1;this.G=NK(a,MW);this.h=new h8;this.C=new Lwa(b);this.u=this.F=0;this.s=!1;this.j=c;this.D=[]},Y8=function(a,b){a.D.push(b)};X8.prototype.start=function(){Vf&&sxa(this)};X8.prototype.stop=function(){Vf&&(this.g&&(this.g.disconnect(),this.g=null),this.m=!0)};
  var txa=function(a,b,c){var d=Za();if(!(1E3>d-a.F)){a.F=d;if(a.j)a=Dwa(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"==(D8[e.type]||e.type)&&!N8(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=O8(e),"audio"===e&&(d.audio=!0),"video"===e&&(d.video=!0)))}a=d}c(a.audio,a.video)}},uxa=function(a,b,c){var d=Za();200>d-a.u||(a.u=d,a=a.j?Ewa(b):-1,c(a))},
  yxa=function(a,b,c,d,e){var f=A7();f=void 0===f?!1:f;var g,h,l;return Da(function(q){if(1==q.g)return g=new SF,h=null,b?(h=v8(b),ywa(a.l,b,d,e,g,f)):(h=z8(c),Rwa(a.C,c,g)),Vf?u(q,a.G.then(function(r){return r.Df()}),3):q.bb(2);2!=q.g&&(l=q.h,vxa(a,g,l,h));b&&c&&Twa(a.C,c,g);wxa(g);xxa(g);a.D.forEach(function(r){return r.Jd(g)});return q.return(g)})},sxa=function(a){a.G.then(function(b){a.g||a.m||(a.g=b.lh(),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++}))})},vxa=function(a,b,c,d){var e=a.h.toJson();"number"!==typeof e.tabCpuUsage||isNaN(e.tabCpuUsage)||Q(b,34,Math.round(e.tabCpuUsage));"number"!==typeof e.browserCpuUsage||isNaN(e.browserCpuUsage)||Q(b,92,Math.round(e.browserCpuUsage));"number"!==typeof e.gpuCpuUsage||isNaN(e.gpuCpuUsage)||Q(b,94,Math.round(e.gpuCpuUsage));"number"!==typeof e.pluginCpuUsage||isNaN(e.pluginCpuUsage)||Q(b,93,Math.round(e.pluginCpuUsage));"number"!==
  typeof e.totalCpuUsage||isNaN(e.totalCpuUsage)||Q(b,35,Math.round(e.totalCpuUsage));"number"!==typeof e.numOfProcessors||isNaN(e.numOfProcessors)||Q(b,36,Math.round(e.numOfProcessors));"number"!==typeof e.tabJsMemoryAllocated||isNaN(e.tabJsMemoryAllocated)||Q(b,150,Math.round(e.tabJsMemoryAllocated));"number"!==typeof e.tabJsMemoryUsed||isNaN(e.tabJsMemoryUsed)||Q(b,151,Math.round(e.tabJsMemoryUsed));if(d){i8(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 l=f.next();!l.done;l=f.next())l=l.value.usage,g+=l.user+l.kernel,h+=l.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]&&Q(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)}},xxa=function(a){bH(a,AG(a).filter(function(b){return 0<L(b,10)||1!=TG(b)}))},wxa=function(a){var b=kxa();0!==b&&CG(a).forEach(function(c){Q(c,
  55,b)})};var Z8=function(){this.j=0;this.g=new Map;this.h=new Map},Axa=function(a,b){zxa(a,b);a.g.forEach(function(c,d){var e=b.get(parseInt(d,10));e&&e.Kb==c.Kb?(d=e.timestamp-a.j,c.Te!=d&&(c.Je=d)):(c.Je&&(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={Kb:c.Kb,Te:c.timestamp-a.j,Je:null},a.g.set(d.toString(),e))})},zxa=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)}};Z8.prototype.Jd=function(a){var b=this;AG(a).forEach(function(c){var d=LG(c),e=KG(c);if(!(1>e.length)&&(e=e[0].toString(),""!=e)){var f=b.h.get(e);f&&(f.forEach(function(g){g=$8(g);d.push(g)}),b.h.delete(e));(e=b.g.get(e))&&e.Je&&(f=$8(e),d.push(f),e.Te=e.Je,e.Je=null);0<d.length&&c.l(d)}})};var $8=function(a){var b=new VF;b=Q(b,3,a.Kb);b=Q(b,1,a.Te);return Q(b,2,a.Je)};var Dxa=function(a){var b={fu:!0,timeout:3E4},c=b.document||document,d=Ud(a).toString(),e=Kf(document,"SCRIPT"),f={rq:e,Vh:void 0},g=new tK(Bxa,f),h=null,l=null!=b.timeout?b.timeout:5E3;0<l&&(h=window.setTimeout(function(){a9(e,!0);g.g(new b9(1,"Timeout reached for loading script "+d))},l),f.Vh=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(a9(e,b.fu||!1,h),g.callback(null))};e.onerror=function(){a9(e,!0,h);g.g(new b9(0,"Error while loading script "+
  d))};f=b.attributes||{};qd(f,{type:"text/javascript",charset:"UTF-8"});Gf(e,f);Ie(e,a);Cxa(c).appendChild(e);return g},Cxa=function(a){var b=(a||document).getElementsByTagName("HEAD");return!b||jc(b)?a.documentElement:b[0]},Bxa=function(){if(this&&this.rq){var a=this.rq;a&&"SCRIPT"==a.tagName&&a9(a,!0,this.Vh)}},a9=function(a,b,c){null!=c&&Fa.clearTimeout(c);a.onload=La;a.onerror=La;a.onreadystatechange=La;b&&window.setTimeout(function(){Mf(a)},0)},b9=function(a,b){var c="Jsloader error (code #"+
  a+")";b&&(c+=": "+b);Pb.call(this,c);this.code=a};w(b9,Pb);var Exa=m(["EchoDetector constructor"]),Fxa=m(["Acquire Audio Context and modify WebAudio graph"]),Gxa=m(["EchoDetector module: ",""]),Hxa=m(["EchoDetector module: ",""]),Ixa=m(["onAbort called - WebAssembly failure"]),Jxa=m(["Loaded and initialized in ","ms"]),Kxa=m(["Wasm module initialization failed."]),Lxa=m(["Failed to create echoDetector."]),Mxa=m(["Failed to create echoDetector."]),Nxa=m(["Failed to load glue code."]),c9=function(a){V.call(this);var b=this;this.o=new SQ("realtime.media.audio.EchoDetector");
  this.o.info(Exa);this.ea=a;this.j=f7(this);this.h=null;this.m=new Map;this.u=!1;this.g=this.D=this.F=null;this.G=Yd();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);this.o.info(Fxa);var c=Date.now(),d={print:function(f){return b.o.info(Gxa,f)},printErr:function(f){return b.o.L(Hxa,f)},onAbort:function(){b.o.L(Ixa);b.ea.logImpression(5388,{kc:"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(Oxa,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);Pxa(b);b.u=!0;var h=Date.now()-c;b.o.info(Jxa,h);b.ea.logImpression(5389,{Ic:h})}catch(l){VQ(b.o,l).L(Kxa),b.ea.logImpression(5388,{kc:l.message})}};Dxa(this.G).then(function(){try{window._createWasmEchoDetectorV2(d).then(e,
  function(f){f=Zf(f);VQ(b.o,f).L(Lxa);b.ea.logImpression(5388,{kc:f.message})})}catch(f){VQ(b.o,f).L(Mxa),b.ea.logImpression(5388,{kc:f.message})}},function(f){VQ(b.o,f).L(Nxa);b.ea.logImpression(5387,{kc:f.message})})};t(c9,V);var Qxa=m(["Release Audio Context(WebAudio)"]);
  c9.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.o.info(Qxa);this.u=!1;this.g=this.D=this.F=null;V.prototype.ba.call(this)};
  var Oxa=m(["Initialized - version ",""]),Pxa=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())}},Rxa=m(["addRenderStream completed"]),Sxa=function(a,b){var c=a.j.createMediaStreamSource(b);c.connect(a.l);a.m.set(b,c);a.o.info(Rxa)},Txa=m(["removeRenderStream completed"]),Uxa=m(["setCaptureStream completed"]);var Vxa=m(["",""]),f9=function(a,b,c,d,e,f){jx.call(this);var g=this;this.Bd=new Uu(this);this.ea=a;this.g=b;this.oc=c;Vf||Wf||(d=Kfa(d));this.u=d;a=new s7(d.Xh);this.Aa=new Vva(a,d);this.Hb=BN(xN("nsqoXb"),120);b=null;d.zj&&(b=new t7(function(h){g.Hb=h;d9(g)},{Et:this.Hb,hy:d.yg}),this.T(b));this.Ia=b;this.N=d.Er&&d.Ve?new c9(this.ea):null;this.o=XQ(UQ(new SQ("realtime.media.api.webrtc.PeerController"),function(h){return h(Vxa,g)}));this.mf=new M7;this.l=new tL(this);this.T(this.l);this.fa=null;
  this.Bb=!1;this.X=this.pc=this.D=null;this.G=e(Vf&&!0);Y8(this.G,a);this.N&&Y8(this.G,new r7(this.N));this.Ce=new Z8;Y8(this.G,this.Ce);this.me=new Set;this.dc=this.u.nh()||1E4;this.ra=Za();this.nc=!0;this.sa=1;this.H=new Map;this.s=null;this.Wb=[];this.m=null;this.ca=new Map;this.ub=new Map;this.Dc=new Map;this.Ga=this.Za=this.Ra=null;this.ya=new Set;this.eb=new Set;this.K=this.Z=null;this.Oa=!1;this.Fa=null;this.Ec=!1;this.j=this.ia=this.pb=null;this.bf=new q7;this.oa=null;this.lb=new Map;this.uc=
  new Map;this.h=null;this.ge=wQ;this.ob=this.od=null;f.then(function(h){g.ob=h});this.Pc=this.u.Pc;this.o.info(Wxa,this.Pc);switch(this.Pc){case 1:e9(this,7292);break;case 2:e9(this,7293)}this.tc=AN(xN("JNxaef"),!1);this.cf=AN(xN("QfZrt"),!1);this.df=BN(xN("RXfX2d"),8);this.rc=!1;this.ie=0;this.ke=AN(xN("rt1h9b"),!1)};t(f9,jx);f9.prototype.toString=function(){return"PeerController(localSessionId="+this.g+")"};
  var d9=function(a){if(a.fa)for(var b=n(H7(a.fa)),c=b.next();!c.done;c=b.next())c.value.playoutDelayHint=a.Hb/1E3},g9=function(a,b){for(var c=[],d=0;d<b;d++)c.push(N7(a.mf));return c},h9=function(a,b){var c=g9(a,a.u.Rf?3:1),d=[];1<c.length&&a.u.Rf&&d.push(new kO("SIM",c));if(a.u.Hg)for(var e=g9(a,c.length),f=0;f<e.length;f++)c.push(e[f]),d.push(new kO("FID",[c[f],e[f]]));return FO(DO(xO(wO(uO(new tO,"v"),b),a.g+"/"+b),c),d).ja()},j9=function(a,b){a.me.has(b)||(a.me.add(b),a.O(new i9(a.g,b)))},Xxa=
  m(["Remote stream added with id="," audioTracks="," videoTracks=",""]),Yxa=m(["Ignoring incoming tracks with no matching msid."]),Zxa=m(["Ignoring incoming audio track as audio output is disabled."]),$xa=m(["Participant left before their audio was added"]);
  f9.prototype.ef=function(a){var b=a.stream,c=a.g;a=b.getAudioTracks();var d=b.getVideoTracks();this.o.info(Xxa,c,a.length,d.length);d9(this);d=function(e){return e.Qe==c};oP(this.m.za).some(d)||oP(this.m.qa).some(d)||tc(this.m.za.j).some(function(e){return e.toString()==c})?0<a.length?this.u.Ve?(a=k9(this,this.m,c),e9(this,5038),d=kua(this.oc,b,a,2==this.Pc),this.N&&Sxa(this.N,b),l9(this,c,d),this.H.set(c,d),this.l.listen(d,"playing",this.je),this.l.listen(d,"playing_error",this.kf),a||this.o.L($xa)):
  (this.o.info(Zxa),a.forEach(function(e){return e.stop()})):(this.ca.has(c)||this.ca.set(c,{Db:kt(),ao:!1}),a=this.ca.get(c),a.Db.resolve(b),a.ao=!0):this.o.info(Yxa)};var aya=m(["Remote stream removed with id="," audioTracks="," videoTracks=",""]),bya=m(["Asked to remove stream that was never added."]);
  f9.prototype.gf=function(a){var b=a.stream;a=a.g;var c=b.getAudioTracks(),d=b.getVideoTracks();this.o.info(aya,a,c.length,d.length);this.H.has(a)&&(c=this.H.get(a),yL(this.l,c,"playing",this.je),p7(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(Txa)));this.ca.has(a)&&(b=this.ca.get(a),this.ca.delete(a),b.ao||this.o.L(bya))};f9.prototype.je=function(a){e9(this,4901,a.target.ta().id);j9(this,"play first audio")};
  f9.prototype.kf=function(a){e9(this,4970,a.code+","+a.message)};var cya=m(["Adding capture=",""]),Sja=m(["Removing capture=",""]);f9.prototype.Fc=function(a){a=a.target;var b=bW(a,this.g);b&&m9(this,b,a)};f9.prototype.pd=function(a){a=a.target;if(this.s&&this.s.Da()===a.g.getId()){a=a.Sb();this.s=yO(new tO(this.s),a).ja();var b=n9(this,this.s);b&&Z7(this.Aa,b,!a)}};
  var dya=function(a,b){switch(b){case "a":var c=oP(a.localDescription.za)[0];break;case "v":c=oP(a.localDescription.qa).find(function(d){return"2"==d.Da()});break;case "d":c=oP(a.localDescription.Ya)[0];break;default:Vb("Unknown media type: "+b)}return c},o9=function(a,b){var c=b.g;if(!a.localDescription)return null;if("v"!=c.g)return dya(a,c.g);var d=oP(a.localDescription.qa).find(function(e){return e.Da()==c.getId()});d||(d=h9(a,c.getId()));return sea(zO(new tO(d),c.Ef()),b.j.m).ja()},eya=m(["Got MediaStream without associated tracks."]),
  fya=m(["StreamInfo="," updated."]),eW=function(a,b,c){var d=c.g,e=d.g,f=c.Sb();c=o9(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(eya),null;h=b[0].id}c=yO(BO(AO(new tO(c),g),h),f).ja();"a"==e?a.s=c:(e=oP(a.localDescription.qa).filter(function(l){return l.Da()!==d.getId()}),a.Wb=[].concat(p(e),[c]));a.o.info(fya,c);Ava(a.D,a.s?[a.s]:[],a.Wb).catch(function(l){p9(a,l,"local streams save")});return c},gya=m(["Adding stream with id="," to peer"]),
  r9=function(a,b){Da(function(c){if(1==c.g){if(!b||a.nc||!a.fa)return c.bb(0);a.eb.add(b);a.o.info(gya,b.id);return u(c,Pua(a.fa,b),3)}q9(a);c.g=0})},hya=m(["Removing stream with id="," to peer"]),dW=function(a,b){b&&a.fa&&a.eb.has(b)&&(a.eb.delete(b),a.o.info(hya,b.id),Qua(a.fa,b))},m9=function(a,b,c){if(!a.localDescription)return null;r9(a,b);var d=eW(a,b,c);c=c.g;a.N&&"a"==c.g&&"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(Uxa));return d},iya=function(a){a.u.Ve||H7(a.fa).forEach(function(b){(b=b.track)&&"audio"==b.kind&&b.stop()})},q9=function(a){if(!Vf||Sp(68))if(a.Wb.forEach(function(c){var d=!c.Ef(),e=a.ie,f=n9(a,c);f&&dwa(a.Aa,f).then(function(g){$va(a.Aa,f,c.g,{sh:d,encodingInfo:g,Ix:e})})}),a.s){var b=n9(a,a.s);b&&Z7(a.Aa,b,a.tc?!a.s.Jc():!0)}},n9=function(a,b){return Rua(a.fa).find(function(c){return c.track&&c.track.id==b.j&&"live"==c.track.readyState})||null};
  f9.prototype.stopSession=function(a,b){this.D&&this.D.cancel();Ds(this.fa);this.fa=null;this.X&&(this.X.close(),this.X=null);this.Z&&(this.Z.stop(),this.Oa=!1,this.ra=0,this.O(new s9(a,b)));this.K&&this.K.stop();this.G.stop();this.ca.clear();t9(this,0)};
  var jya=m(["Instantiating new peer"]),kya=m(["send datachannel is open."]),lya=m(["send datachannel is closed."]),mya=m(["send datachannel error: ",""]),nya=m(["Creating the initial local description failed"]),oya=m(["Creating the initial local description succeeded"]),uya=function(a){var b,c;return Da(function(d){switch(d.g){case 1:return a.fa&&Vb("Attempted to recreate a peer connection."),j9(a,"send initiate"),a.o.info(jya),pya(a,a.u.Co),a.fa=new E7(a.u),a.pc=a.fa.g.signalingState,a.D=new O7(a.fa,
  a.u,a.ea),d9(a),a.l.listen(a.fa.g,"signalingstatechange",a.lf),AN(xN("lftkhd"),!1)&&qya(a),a.sa=1,a.l.listen(a.fa,"ib",a.ff),a.fa.g.oniceconnectionstatechange=function(){return rya(a)},a.fa.g.onconnectionstatechange=function(){A7()&&(a.o.info(sya,a.fa.g.connectionState),u9(a))},a.l.listen(a.fa,"jb",a.ef),a.l.listen(a.fa,"kb",a.gf),a.fa.g.ondatachannel=function(e){return tya(a,e.channel)},a.X=G7(a.fa,"dataSendChannel"),a.X.onopen=function(){return a.o.info(kya)},a.X.onclose=function(){return a.o.info(lya)},
  a.X.onerror=function(e){return a.o.L(mya,e.error)},b=function(e){var f=new tO;if(jc(oP(e.za))){var g=g9(a,1);f=DO(uO(f,"a"),g)}else f=new tO(oP(e.za)[0]);g=xO(wO(f,"1"),a.g+"/1").ja();var h=jc(oP(e.qa))?h9(a,"2"):xO(wO(new tO(oP(e.qa)[0]),"2"),a.g+"/2").ja();f=new tO;jc(oP(e.Ya))?(f=DO(uO(f,"d"),g9(a,1)),A7()&&(f=CO(f,nP(e.Ya)))):f=new tO(oP(e.Ya)[0]);f=xO(wO(f,"3"),a.g+"/3");AO(f,"dataSendChannel");e=f.ja();return new CP(sP(new jP("a",[],[]),[g]),sP(new jP("v",[],[]),[h]),sP(new jP("d",[],[]),[e]))},
  sa(d,2),u(d,tva(a.D,b),4);case 4:ta(d,3);break;case 2:return c=ua(d),VQ(a.o,c).pa(nya),d.return(null);case 3:return a.o.info(oya),d.return(a.localDescription)}})},vya=m(["Calling initial setLocalDescription"]),wya=m(["Initial setLocalDescription offer succeeded"]),zya=function(a){var b,c;Da(function(d){switch(d.g){case 1:return j9(a,"recv local description"),a.G.start(),a.Z||(a.Z=new NV(xya(a),a.Bd),a.Z.h.attach(function(){a.Z.enabled&&(a.K&&a.K.enabled||v9(a),a.Oa||(Vf?0:1E3>Za()-a.ra)||yya(a))}),
  a.Z.start()),(b=1!=a.Pc||a.ke)&&!a.K&&(a.K=new NV(w9,a.Bd),a.K.h.attach(function(){if(a.K.enabled){v9(a);if(a.ke){a.uc.clear();for(var e=n(H7(a.fa)),f=e.next();!f.done;f=e.next())f=f.value,"video"==f.track.kind&&"function"===typeof f.getSynchronizationSources&&x9(f.getSynchronizationSources(),a.uc);a.O(new y9(a.g,a.lb,a.uc))}if(2==a.Pc){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=k9(a,a.m,h))&&z9(a,e,h,(g.m?Mta(g.m):null)||0)}A9(a,e);B9(a,e)}else 3==
  a.Pc&&B9(a,a.oa)}}),a.K.start()),a.o.info(vya),sa(d,2),u(d,yva(a.D),4);case 4:ta(d,3);break;case 2:return c=ua(d),p9(a,c,"prepare"),d.return(!1);case 3:return a.o.info(wya),d.return(!0)}})},Aya=m(["Creating DataChannel without a writable transport!"]),mV=function(a,b,c){C9(a)||(e9(a,7102),a.o.L(Aya));return G7(a.fa,b,c)},xya=function(a){var b=1==a.Pc||Rf&&!0;return a.u.Ve&&b?w9:Math.min(1E3,a.dc)},yya=function(a){var b,c,d,e,f,g,h,l,q,r,y,D;Da(function(A){switch(A.g){case 1:return a.Oa=!0,Vf?u(A,
  Vua(a.fa),5):u(A,a.fa.getStats(),4);case 4:b=A.h;A.bb(3);break;case 5:b=A.h.result();case 3:c=b;if(!a.fa)return A.return();a.Oa=!1;Bya(a,c);Cya(a,c);1==a.Pc&&Dya(a,c);a.j&&Axa(a.Ce,a.j);var K=a.G;if(!K.s){if(K.j){var P=K.l;for(var ha=null,ob=n(c),wb=ob.next();!wb.done;wb=ob.next())(wb=w8(wb.value.timestamp))&&0<wb.getTime()&&(!ha||wb.getTime()<ha.getTime())&&(ha=wb);P=P.j=ha}else P=K.C,(ha=z8(c))&&A8(P,ha),P=ha;P&&(K.s=!0,i8(K.h,P))}K=a.G;K.j&&Cwa(K.l,c);d=Za();if(!(d-a.ra>=a.dc)){A.bb(0);break}a.ra=
  0==a.ra?d:a.ra+a.dc;f=e=!1;g=n(a.ya);for(h=g.next();!h.done;h=g.next())l=h.value,"v"!==l.ga()||l.Sb()?"a"===l.ga()&&(f=!0):e=!0;q=Vf?c:null;if(!Vf){r=c;A.bb(7);break}return u(A,a.fa.getStats(),8);case 8:r=A.h;case 7:return y=r,a.fa?u(A,yxa(a.G,q,y,!e,f),9):A.return();case 9:D=A.h,a.O(new D9(D)),A.g=0}})},Dya=function(a,b){b=a.G.j?Awa(b):new Map;var c=new Map;b.forEach(function(d,e){z9(a,c,e,d)});A9(a,c);B9(a,c)},Eya=m(["Could not find SSRC for RTCRtpReceiver."]),v9=function(a){var b=a.j;a.j=null;
  a.ia=null;a.oa=null;a.lb.clear();if(a.m&&0<a.m.za.j.length){a.j=new Map;a.oa=new Map;for(var c=a.m.za.l,d=0,e=n(H7(a.fa)),f=e.next();!f.done;f=e.next())if(f=f.value,"audio"==f.track.kind&&"function"===typeof f.getContributingSources){a.pb||(a.pb=Za(),a.O(new E9(a.pb)));var g=f.getContributingSources();if(0!=g.length)if(f=Fya(f),null==f)a.o.L(Eya);else{x9(g.filter(function(r){return r.source!=c}),a.lb);g.sort(function(r,y){var D=F9(r.timestamp);y=F9(y.timestamp);return D==y&&null!=c?r.source==c?1:
  -1:y-D});var h=null,l=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.ia=l):(null==h&&(h=q),l=q.source)}null!=h&&(l=h.source,a.j.set(f,{Kb:l,timestamp:F9(h.timestamp)}),a.oa.set(l,{volume:g7(Math.min(3E5*(h.audioLevel||0),32768)),Yi:!1}))}}A9(a,a.oa);3==a.Pc&&a.bf.smooth(a.oa)}Gya(a,b)},z9=function(a,b,c,d){a.j&&(c=(c=a.j.get(c))?c.Kb:null);null!==c&&(1==a.Pc&&a.h&&(a=a.h.get(c),null!=a&&
  0!=a&&(d/=a)),b.set(c,{volume:d,Yi:!1}))},A9=function(a,b){a.ia&&(b.has(a.ia)?b.get(a.ia).Yi=!0:b.set(a.ia,{volume:0,Yi:!0}))},Bya=function(a,b){txa(a.G,b,function(c,d){c&&j9(a,"recv first audio packet");d&&j9(a,"recv first video packet");a.O(new G9(c,d))})},Cya=function(a,b){a.Fa&&uxa(a.G,b,function(c){Hya.forEach(function(d,e){c>=e&&(j9(a,d),"bandwidth 3150"==d&&(a.Fa=!1))})})},Iya=m(["Received audio from non-virtual ssrc "," when only virtual ssrcs should be used"]),k9=function(a,b,c){if(!b||!b.za)return null;
  if(0<a.m.za.j.length){if(b=tc(a.m.za.j).find(function(d){return d.toString()==c}))return b;a.o.L(Iya,c);return null}if(a=oP(b.za).find(function(d){return d.g==c}))if(a=a.Pa(),!jc(a))return a[0];return null},vV=function(a,b){b.forEach(function(){j9(a,"recv candidate ")});Dva(a.D,b)},Jya=m(["Transport writable 1st timer timed out."]),Kya=m(["Transport writable 2nd timer timed out."]),Lya=m(["Transport writable timeout failed, aborting."]),Nya=function(a){Mya(a);null==a.Ga&&1==a.sa&&(e9(a,2703),a.Ra=
  tx(function(){1==a.sa&&(a.o.L(Jya),e9(a,2705))},2E4),a.Za=tx(function(){1==a.sa&&(a.o.L(Kya),e9(a,2706))},3E4),a.Ga=tx(function(){if(1==a.sa){a.o.L(Lya);var b=27;e9(a,2707);a.Ec||(e9(a,3736),b=24);a.O(new H9(b,a.g))}},55E3))},t9=function(a,b){null!=a.Ra&&(ux(a.Ra),a.Ra=null);null!=a.Za&&(ux(a.Za),a.Za=null);null!=a.Ga&&(ux(a.Ga),a.Ga=null);a.sa=b},Oya=m(["ICE connection state changed to: ",", signaling state: ",""]),Pya=m(["Initiating ICE restart"]),rya=function(a){var b,c;return Da(function(d){b=
  a.fa.g.iceConnectionState;a.o.info(Oya,b,a.fa.g.signalingState);"disconnected"===b?e9(a,5442):"failed"===b&&e9(a,5441);u9(a);ux(a.od);if(!Qya(a))return d.return();c=Math.max("disconnected"!==b?0:A7()?BN(xN("bHY2We"),0):BN(xN("lIHudd"),0),vQ(a.ge,Y()));a.od=tx(function(){var e;return Da(function(f){if(1==f.g){a.ge=uQ(Y(),5E3);a.o.info(Pya);e9(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);p9(a,e,"ice restart");f.g=0})},c);d.g=0})},sya=m(["Peer connection state changed to: ",
  ""]),u9=function(a){var b=C9(a);a.Bb!==b&&((a.Bb=b)?(t9(a,2),a.Bb=!0,j9(a,"transport writable"),e9(a,2704)):j9(a,"transport not writable"),a.O(new I9(b)))},C9=function(a){var b=a.fa.g.connectionState;a=a.fa.g.iceConnectionState;a="connected"===a||"completed"===a;return A7()&&b?a&&"connected"===b:a},Qya=function(a){a=a.fa.g.iceConnectionState;return Rf?!1:"disconnected"===a||"failed"===a},Rya=m(["Got local ICE candidate: ",""]);
  f9.prototype.ff=function(a){a=a.candidate;this.o.info(Rya,JSON.stringify(a));this.O(new J9(this.g,[a]));a=a.h;j9(this,"send candidate "+a);"STUN"!=a&&(this.Ec=!0)};
  var Mya=function(a){j9(a,"call connect");null==a.Fa&&(a.Fa=!0,vx(3E5).then(function(){a.Fa=!1}))},Sya=function(a,b){var c;return Da(function(d){switch(d.g){case 1:return j9(a,"recv remote description"),a.m=b,a.Dc=new Map(oP(b.Ya).map(function(e){return[e.Qe||e.Da(),e]})),sa(d,2),u(d,zva(a.D,b),4);case 4:ta(d,3);break;case 2:return c=ua(d),p9(a,c,"remote description set"),d.return(!1);case 3:return q9(a),iya(a),d.return(!0)}})},Tya=function(a){a.ya.forEach(function(b){(b=bW(b,a.g))&&dW(a,b)});a.nc=
  !0},K9=function(a){a.nc=!1;a.ya.forEach(function(b){(b=bW(b,a.g))&&r9(a,b)})};f9.prototype.ba=function(){var a=this;Ds(this.Z);Ds(this.K);this.H.forEach(function(b){return p7(a.oc,b.ta().id)});this.H.clear();Ds(this.fa);this.fa=null;this.X&&(this.X.close(),this.X=null);Ds(this.N);this.N=null;jx.prototype.ba.call(this)};
  var Uya=function(a,b){j9(a,"recv view request");var c=a.Aa;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.Tc(),g=c;e=g.l&&e.Pa().length===g.D?gwa:g.j?hwa:null;d&&f&&e&&(f=e.get(e8(f)))&&c.g.set(d,f)}}q9(a)},Vya=m(["receive datachannel "," created."]),Wya=m(["receive datachannel "," is open."]),Xya=m(["receive datachannel "," is closed."]),Yya=m(["receive datachannel "," threw error: ",""]),tya=function(a,b){a.o.info(Vya,b.label);a.ub.set(b.label,
  b);b.onopen=function(){a.o.info(Wya,b.label)};b.onclose=function(){a.o.info(Xya,b.label);a.ub.delete(b.label)};b.onerror=function(c){a.o.L(Yya,b.label,c.error);a.ub.delete(b.label)};b.onmessage=function(c){if(c.data instanceof ArrayBuffer)a.O(new L9(b.label,c.data));else{c=c.data;var d=a.Dc.get(b.label);d=d?d.Y():b.label;a.o.info(Zya,d,b.label,c);null!=c&&a.O(new M9(a.g,d,b.label,c))}}},Zya=m(["dataReceived: participantId="," label="," data=",""]),Gya=function(a,b){a.h&&a.j&&a.j.forEach(function(c,
  d){var e=b&&b.get(d);c=c.Kb;e&&e.Kb==c||(d=a.H.get(d.toString()))&&d.fc(a.h.has(c)?a.h.get(c):1)})},$ya=function(a,b){if(b){var c=!a.h,d=new Map;b.forEach(function(e,f){(f=f.getInfo())&&f.Pa().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 l9(a,f,e)})},l9=function(a,b,c){a.h?(b=k9(a,a.m,b),null!=b&&(a.j&&a.j.has(b)&&(b=a.j.get(b).Kb),c.fc(a.h.has(b)?a.h.get(b):1))):c.fc(1)},qya=function(a){Da(function(b){if(a.C())return b.bb(0);
  N9(a);return u(b,vx(1E3),1)})};f9.prototype.lf=function(a){a.target==this.fa.g&&N9(this)};
  var N9=function(a){a.pc!=a.fa.g.signalingState&&(a.pc=a.fa.g.signalingState,O9(a))},O9=function(a){!a.C()&&a.fa&&"closed"==a.fa.g.signalingState&&(e9(a,2055),a.O(new H9(4,a.g)))},B9=function(a,b){b=b||new Map;a.O(new a7(a.g,b));a.ob&&gra(a.ob,b)},aza=m(["No ICE servers provided."]),bza=m(["Malformed Ice servers: ",""]),pya=function(a,b){0==b.length&&a.o.L(aza);b.some(function(c){return!c.url&&!c.urls})&&(a.o.L(bza,JSON.stringify(b)),e9(a,4264))},cza=m(["Negotiating canceled on ",""]),dza=m(["Negotiating failed on ",
  ""]),p9=function(a,b,c){if(b instanceof W7)VQ(a.o,b).L(cza,c),O9(a);else throw VQ(a.o,b).L(dza,c),a.O(new H9(19,a.g,b+"")),b;},e9=function(a,b,c){a.ea.logImpression(b,{kc:c})},Wxa=m(["AudioLevelMode value is ",""]),Fya=function(a){if(!A7())return parseInt(a.track.id,10);if("function"!==typeof a.getSynchronizationSources)return null;a=a.getSynchronizationSources();return 0<a.length?a[0].source:null};
  da.Object.defineProperties(f9.prototype,{localDescription:{configurable:!0,enumerable:!0,get:function(){return this.D?this.D.localDescription:null}}});var w9=Vf&&!Sp(40)?200:100,Hya=new Map([[5E5,"bandwidth 500"],[1E6,"bandwidth 1000"],[15E5,"bandwidth 1500"],[25E5,"bandwidth 2500"],[315E4,"bandwidth 3150"]]),G9=function(a,b){W.call(this,"rb");this.g=a;this.j=b};t(G9,W);var D9=function(a){W.call(this,"vb");this.kb=a};t(D9,W);var s9=function(a,b){W.call(this,"wb");this.Ob=a;this.g=b};t(s9,W);
  var J9=function(a,b){W.call(this,"tb");this.j=a;this.g=b};t(J9,W);var i9=function(a,b){W.call(this,"sb");this.j=a;this.message=b};t(i9,W);var I9=function(a){W.call(this,"yb");this.uh=a};t(I9,W);var M9=function(a,b,c,d){W.call(this,"ob");this.j=a;this.ha=b;this.label=c;this.payload=d};t(M9,W);var L9=function(a,b){W.call(this,"pb");this.label=a;this.buffer=b};t(L9,W);var H9=function(a,b,c){W.call(this,"qb");this.Ob=a;this.j=b;this.g=c};t(H9,W);var E9=function(a){W.call(this,"mb");this.g=a};t(E9,W);
  var y9=function(a,b,c){W.call(this,"nb");this.j=a;this.g=b;this.C=c};t(y9,W);var F9=function(a){return"number"===typeof a?a:a?a.getTime():0};function x9(a,b){a.forEach(function(c){var d=c.source;if(c.timestamp){var e=F9(c.timestamp);(!b.has(d)||b.get(d).lk<e)&&b.set(d,{captureTimestamp:c.captureTimestamp,lk:e})}})};var Q9=function(){jM.call(this);var a=this;this.o=new SQ("realtime.media.api.webrtc.AudioMonitor");this.j=this.g=null;this.l=new NV(100);this.T(this.l);this.l.h.attach(function(){1E3<Za()-a.m&&P9(a)});this.h=null;this.m=0};t(Q9,jM);Q9.prototype.ba=function(){this.g&&(this.o.info(eza,this.g),this.l.stop(),this.g=null,Ds(this.j),this.j=null);Ds(this.j);jM.prototype.ba.call(this)};
  var fza=m(["Registering peer controller=","."]),gza=function(a,b){a.o.info(fza,b);var c=new tL(a);a.T(c);c.listen(b,"gb",a.s).listen(b,"mb",a.u).listen(b,"wb",function(){return Ds(c)})},eza=m(["Unregistering audio capture=","."]),iza=function(a){if(a.h){var b=a.h;var c;(c=null!==b.g)&&(c=1E3<=vQ(Y(),b.j))&&b.o.info(hza);c&&(b.g=null);b=b.g;if(null!==b)return b}return a.g?a.g.sa():0},P9=function(a,b,c){c=void 0===c?null:c;a.O(new fU(void 0===b?"amsid":b,iza(a),c||new Map))};
  Q9.prototype.s=function(a){this.m=Za();P9(this,a.sessionId,a.g)};Q9.prototype.u=function(a){this.O(new gU(a.g))};var R9=function(a){J(this,a,0,-1,null,null)};w(R9,I);var jza=function(a,b){for(;z(b)&&!x(b);)switch(b.g){case 1:var c=tk(b);ql(a,1,c,0);break;default:B(b)}return a};var S9=function(a){J(this,a,0,-1,null,null)};w(S9,I);var nV=function(a){V.call(this);var b=this;this.j=new Uu(this);this.g=a;this.l=kt();this.h=kt();kza(this);this.s=this.j.signal();this.m=this.j.signal();Cs(this,function(){return b.l.promise.then(function(){return b.g.close()})})};t(nV,V);
  var kza=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}):Vb("Unsupported data type received on RTCDataChannel")}};nV.prototype.send=function(a){this.g.send(a)};nV.prototype.isOpen=function(){return"open"==this.g.readyState};
  nV.prototype.onClose=function(){return this.h.promise};var T9=function(a){tL.call(this);var b=this;this.o=new SQ("realtime.media.api.webrtc.AudioProcessorLevelMonitor");this.g=this.h=null;this.j=wQ;var c=new tL(this);this.T(c);c.listen(a,"yb",function(d){d.uh&&lza(b,a)})};t(T9,tL);T9.prototype.ba=function(){U9(this);tL.prototype.ba.call(this)};
  var U9=function(a){Ds(a.h);a.h=null},mza=m(["Data Channel is opened"]),nza=m(["Data Channel is closed"]),lza=function(a,b){U9(a);var c=new nV(mV(b,"audioprocessor",{ordered:!1,maxRetransmits:0}));c.m.attach(function(d){d=new sk(d.data);for(var e=new S9;z(d)&&!x(d);)switch(d.g){case 1:var f=new R9;C(d,f,jza);U(e,1,f);break;default:B(d)}M(e,1)?(d=N(S(e,R9,1),1,0),0<=d&&5>=d&&(null===a.g&&a.o.info(oza,d),a.j=Y(),a.g=d)):a.o.L(pza)},a);c.l.promise.then(function(){a.o.info(mza)});nt(c.h.promise,function(){c===
  a.h&&(a.o.info(nza),U9(a))});a.h=c},hza=m(["Level is stale. Waiting for new data."]),oza=m(["Got an initial level: ",""]),pza=m(["Got unexpected message from Audio Processor Data Channel"]);var V9=function(){this.g=[]};V9.prototype.push=function(a){this.g.push(a)};V9.prototype.extend=function(a){this.g=[].concat(p(this.g),p(a.g))};V9.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 RZ(QZ(PZ(new OZ,Infinity),Infinity),Infinity).ja()};V9.prototype.Oe=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.Oe)return c.Oe;return!0};
  var qza=function(a,b,c,d,e,f){this.name=W9(a);this.h=W9(b);this.Oe=f;this.g=RZ(QZ(PZ(new OZ,c?c:Infinity),d?d:Infinity),e?e:Infinity).ja()};function W9(a){return a?(a=String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace(/\\\*/g,".*"),new RegExp("^"+a+"$","im")):/1^/};var sza=function(a){if(!X9){var b=tT(),c=ot(NK(a,MW).then(function(d){return d.Df()}).then(w2).then(function(d){var e=d.modelName,f=d.numOfProcessors||Ka("navigator.hardwareConcurrency")||0;d=new Set(d.features);var g=Se(),h=ud()&&0<=Vc(wd(),84);var l=new qQ(a);Se()?(l.g(7117),l=0):(l.g(7116),l=nT(a),l=oT(l,!0)?1:oT(l,!1)?2:0);return sT({Fe:e,Eh:f,Qn:d,Fo:g,Eo:h,Jm:l})}),function(){(new qQ(a)).g(7221,{Ic:1});return b});X9=gt([c,vx(2E3,null)]).then(function(d){return null===d?((new qQ(a)).g(7221,{Ic:2}),
  b):d});X9.then(function(d){var e=new qQ(a),f=rza.get(Pga(d.Kc));e.g(f);e.g(eT(d,1)?7137:7138);e.g(eT(d,2)?7139:7140)})}return X9},X9=null,rza=new Map([[1,7065],[2,7095],[3,7066]]);var Y9=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};w(Y9,T4);var tza=function(){if(hf){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Wc))?a[1]:"0"}return gf?(a=/10[_.][0-9_.]+/,(a=a.exec(Wc))?a[0].replace(/_/g,"."):"10"):kf?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Wc))?a[1]:""):lf||mf||nf?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Wc))?a[1].replace(/_/g,"."):""):""}();var Z9=function(a){this.C=NK(a,MW);this.u=NK(a,GM);this.o=new SQ("realtime.media.api.webrtc.SystemInfo");this.j=new V4;this.l=new Y9;this.g={};this.h={};this.s=a;a=this.m.bind(this);var b=null;if(U4(this.j)){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(uza);if(a=b)this.g=a;vza(this);wza(this)},a$=function(){if(null!=$9)return $9;var a=navigator.plugins,b;for(b in a)if("Chromium PDF Viewer"==a[b].name)return $9=!0;return $9=!1},b$=function(a){return a.g.archName&&
  (Hc(a.g.archName,"aarch")||Hc(a.g.archName,"arm"))?!0:-1!=ef.indexOf("armv7l")||-1!=ef.indexOf("aarch64")},xza=m(["Cannot get cpuFlags from null."]),zza=function(a,b){return null==b?(a.o.L(xza),-1):(a=b.features)?a.reduce(function(c,d){return c|(yza.get(d)||0)},0):b.cpuHasSSE2?2:-1},Aza=m(["Error in getting cpu info from extension."]),vza=function(a){a.C.then(function(b){return b.Df()}).then(w2).then(function(b){a.g=b;U4(a.j)?a.j.set("scp",Gs(b)):a.o.pa(Bza,"scp");b=GQ.Qb();var c={archName:a.g.archName,
  features:a.g.features,modelName:a.g.modelName,numOfProcessors:a.g.numOfProcessors},d="cpuInfo";b.g.has(d)&&(Dg(b.o,"Already registered a diagnostics data callback for key '"+d+"'."),d=JQ(b,d));b.h.set(d,c)},function(b){VQ(a.o,b).pa(Aza)})},Cza=m(["Got getHardwarePlatformInfo: ",""]),Dza=m(["Got getHardwarePlatformInfo from extension: ",""]),Eza=m(["Could not get getHardwarePlatformInfo from extension: ",""]),wza=function(a){c$(a)?a.o.info(Cza,JSON.stringify(a.h)):a.C.then(function(b){return b.h.il()}).then(function(b){c$(a)||
  (d$(a,b.value),e$(a,5548),a.o.info(Dza,JSON.stringify(a.h)))},function(b){c$(a)||(d$(a,null),e$(a,5549,b.value),a.o.info(Eza,b.value))})},Fza=m(["Unable to access session storage."]),Gza=m(["HardwarePlatformInfo corrupt in session storage."]),c$=function(a){var b=null;if(!U4(a.l))return a.o.pa(Fza),!1;var c=a.l.get("hpi");if(!c||"{}"===c)return!1;try{b=JSON.parse(c)}catch(d){return VQ(a.o,d).pa(Gza),!1}a.h=b;return!0},Hza=m(["Error in saving hardwarePlatformInfo to session storage."]),d$=function(a,
  b){a.h=b||{};U4(a.l)?a.l.set("hpi",Gs(a.h)):a.o.pa(Hza)};Z9.prototype.m=function(){return b$(this)?{archName:"armv7l",modelName:"Unknown ARM device",numOfProcessors:2}:{archName:"x86",modelName:"Unknown x86 device",numOfProcessors:4}};var Bza=m(["Error in saving "," to local storage."]),uza=m(["Error in retrieving cpu info from local storage."]),e$=function(a,b,c){a.u.then(function(d){d.g(b,{kc:c})})},yza=new Map([["neon",1],["sse2",2],["ssse3",4],["sse4_1",8],["sse4_2",16],["avx",32]]),$9=null;var f$=function(a,b,c,d,e,f){var g=new FormData;g.append("prod",gf?"Google_Talk_Plugin_Mac":hf?"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(l){a=!1}if(a)return gda();try{var h=new tK;Ax("https://clients2.google.com/cr/report",function(l){l=
  l.target;Kx(l)?h.callback(new GK(l.Ja(),Mx(l))):(l=Error(l.u+" "+l.Ja()+" "+Mx(l)),h.g(l))},"POST",g);return h}catch(l){return ida(l)}},GK=function(a,b){this.h=a;this.g=b};var g$=function(a,b){jx.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(g$,jx);var h$=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))};g$.prototype.open=function(a,b,c){if(!this.H){var d=kt();this.H=d.promise;a=Iza(a,b,!!c);b=Jza(a);b=Kza(this,b);Lza(this,b,a).then(function(e){this.u=e;this.D();d.resolve()},Xa(d.reject,d),this)}return this.H};
  var Mza=function(a){return"undefined"!==typeof TextEncoder?(i$||(i$=new TextEncoder),i$.encode(a)):j$(Zj(a))},j$=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};g$.prototype.write=function(a){Zb(a,function(b){this.m.push(Mza(b))},this);this.D()};g$.prototype.bc=function(){return 0==this.h&&0==this.m.length};
  var k$=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=j$(Zj("...\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&&Zb(a.m,function(l){c.push(l);
  b+=l.length});var g=new Uint8Array(b),h=0;Zb(c,function(l){g.set(l,h);h+=l.length});return g},Iza=function(a,b,c){var d=kt();a.then(function(e){e.getFile(b,c?{}:{create:!0},Xa(d.resolve,d),Xa(d.reject,d))},Xa(d.reject,d));return d.promise},Jza=function(a){var b=kt();a.then(function(c){c.file(Xa(b.resolve,b),Xa(b.reject,b))},Xa(b.reject,b));return b.promise},Kza=function(a,b){var c=kt();b.then(function(d){h$(this);this.h=d.size;if(this.h>this.j.length){var e=kt(),f=new FileReader;f.onload=Xa(function(){this.l.set(new Uint8Array(f.result));
  e.resolve()},this);f.readAsArrayBuffer(d.slice(0,this.l.length));var g=kt(),h=new FileReader;h.onload=Xa(function(){this.g.set(new Uint8Array(h.result));g.resolve()},this);h.readAsArrayBuffer(d.slice(d.size-this.g.length,d.size));c.resolve(it([e.promise,g.promise]))}else{var l=new FileReader;l.onload=Xa(function(){var q=new Uint8Array(l.result);this.j.set(q);this.h>this.l.length&&(this.s=(this.h-this.l.length)%this.g.length);c.resolve()},this);l.readAsArrayBuffer(d)}},Xa(c.reject,c),a);return c.promise},
  Lza=function(a,b,c){var d=kt();ht([b,c]).then(function(e){e[1].createWriter(Xa(function(f){f.seek(f.length);f.onwriteend=Xa(this.D,this);d.resolve(f)},this),Xa(d.reject,d))},Xa(d.reject,d),a);return d.promise};
  g$.prototype.D=function(){this.u&&this.u.readyState!=this.u.WRITING&&0<this.m.length&&(this.u.write(new Blob(this.m)),h$(this),Zb(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 i$=null;var l$=function(){this.g=new V4;this.h=new Fn},n$=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]^=m$[a%m$.length];return"wrplumplu-"+Gk(b)},o$=function(a,b,c){var d=Za()-432E6;b=a.g.get(n$(b));if(null!=b)try{var e=Fs(b);if("cl:plu"==e[0]){var f=new hK(e),g=ac(T(f,iK,1),function(h){var l=L(h,1),q=L(h,3),r=L(h,2);return null!=l&&null!=r&&null!=q?0<l&&q>d&&L(h,2)!=c:!1});xl(f,1,g);return f}}catch(h){Dg(a.o,"Invalid pending JS log upload storage: "+
  b,h)}return new hK};l$.prototype.add=function(a,b,c){Eg(this.o,"Recording pending upload for session "+b+" for "+a);this.h.add(b);var d=o$(this,a,b),e=T(d,iK,1);var f=new iK;f=Q(f,1,5);b=Q(f,2,b);c=Q(b,4,c);b=Za();c=Q(c,3,b);nc(e,void 0,0,c);xl(d,1,e);this.g.set(n$(a),d.wa())};l$.prototype.remove=function(a,b){Eg(this.o,"Removing record for session "+b+" for "+a);b=o$(this,a,b);this.g.set(n$(a),b.wa())};
  var Nza=function(a,b){var c=o$(a,b),d=T(c,iK,1),e=gc(d,function(q){q=L(q,2);return!this.h.contains(q)},a);if(0<=e){var f=d[e],g=L(f,2),h=L(f,4),l=L(f,1);l--;Q(f,1,l);0>=l&&pc(d,e);xl(c,1,d);a.g.set(n$(b),c.wa());Eg(a.o,"Signaling session "+g+" for "+b+" to re-upload");a.h.add(g);return{sessionId:g,Lc:h}}return null};Ma(l$);var m$=[31,37,41,43,47,53,61,67,71,73];l$.prototype.o=zg("realtime.media.logging.legacy.PendingLogUploadManager");var p$=function(){this.m="";this.G=0;this.D=null;this.u=new g$;this.g={};this.C=Oza();ot(this.C,La);this.j=l$.Qb();this.s=this.h=null;this.K=window.requestIdleCallback||null;this.l=!1},q$=function(a,b,c,d){var e=Za();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])}},Pza=function(a,b,c,d){a.j.add(c,b,d);return r$(a,b,c,d)},r$=function(a,b,c,d){var e="hangouts-call-"+
  b+".log",f=a.g[b];if(null!=f)return a.l=!0,BK(AK(f$(k$(f),c,d,!0,e,a.m),Xa(a.H,a,b,c)),Xa(a.F,a,b,c));f=new g$;var g=new tK;f.open(a.C,e,!0).then(function(){if(f.bc())q$(this,this.h,"JS log for "+b+" has no content",9),g.callback(new GK(null,"No log content for session "+b));else{var h=BK(AK(f$(k$(f),c,d,!1,void 0,this.m),Xa(this.H,this,b,c)),Xa(this.F,this,b,c));zK(h,g.callback,g.g,g);this.l=!0}},function(h){this.F(b,c,h);g.g(h)},a);return g},Oza=function(){var a=Fa.requestFileSystem||Fa.webkitRequestFileSystem;
  if(!a)return dt("Filesystem API not accessible");var b=kt();a(window.TEMPORARY,0,function(c){c.root.getDirectory("log_v2",{create:!0},Xa(b.resolve,b),Xa(b.reject,b))},Xa(b.reject,b));return b.promise};p$.prototype.xb=function(a){var b=kt(),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};
  p$.prototype.Z=function(){var a=new Date(Za()-432E6),b=kt();this.C.then(this.xb,null,this).then(function(c){var d={};Zb(c,function(e){d[e.name]=!0});Zb(c,function(e){var f=function(){delete d[e.name];jd(d)&&b.resolve()};e.getMetadata(function(g){g.modificationTime<a?e.remove(f,f):f()},f)})},Xa(b.resolve,b));return b.promise};
  p$.prototype.H=function(a,b,c){200==c.h?(q$(this,this.h,"JS log upload for "+a+" successful: "+c.g),this.j.remove(b,a)):q$(this,this.h,"JS log upload for "+a+" failure "+c.h+": "+c.g,10);this.l=!1};p$.prototype.F=function(a,b,c){q$(this,this.h,"JS log upload for "+a+" failed: "+c,10);this.l=!1};var Qza=function(a,b){return null==a.s?(a.s=new tK,a.N(b,0),a.s):null};p$.prototype.N=function(a,b){tx(Xa(this.ca,this,a,b),13E3)};
  p$.prototype.ca=function(a,b){"function"===typeof this.K?this.K.call(null,Xa(this.V,this,a,b)):this.V(a,b)};p$.prototype.V=function(a,b){var c=Nza(this.j,a);if(null!=c){var d=c.sessionId;c=c.Lc;q$(this,this.h,"Retrying JS log upload for "+d);BK(AK(r$(this,d,a,c),Xa(this.N,this,a,c,b+1)),Xa(this.X,this,a,b))}else this.X(b)};p$.prototype.X=function(a){this.s.callback(a);tx(this.Z,13E3,this)};Ma(p$);var s$=new Set,Rza=[["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]],Tza=function(a){var b=this;this.o=new SQ("realtime.media.api.webrtc.LoggingManager");this.H=NK(a,GM);this.N=NK(a,HM,!0);this.h=p$.Qb();this.h.G=8;this.C=NK(a,MW);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;Ww(sL.Qb(),["d","e","f"],function(){b.h.l&&Sza(b);t$(b)})},Uza=m(["Logging manager initialized with userId: ",""]),Vza=function(a,b){a.o.info(Uza,b);a.u=b;a.h.m="11.0.0.0";if(b){var c=Qza(a.h,b);null!=c&&c.then(function(d){0<
  d&&u$(a,2679)});u$(a,5184,T(o$(a.h.j,b),iK,1).length)}v$(a);ct(7)},Wza=m(["enableRtpHeaderDump called with sessionId="," and enable=",""]),Xza=m(["Ignoring enableRtpHeaderDump call for sessionId="," as header dump already in state with enable=",""]),Yza=m(["Delaying rtp header dump request until native WebRTC logging has started."]),Zza=m(["enableRtpHeaderDump called when native logging is not active or pending"]),$za=m(["RTP header dump succeeded for sessionId="," and enable=",""]),aAa=m(["Error setting RTP header dump for sessionId=",
  " and enable=",". Error=",""]),w$=function(a,b,c){a.o.info(Wza,b,c);a.D==c?a.o.info(Xza,b,c):a.g?a.C.then(function(d){F2(d,c).then(function(){a.o.info($za,b,c);a.D=c},function(e){a.o.L(aAa,b,c,e.value);throw e;})}):a.j?(a.o.info(Yza),a.j.then(function(){return w$(a,b,c)})):a.o.L(Zza)},bAa=m(["Starting logging for sessionId=",""]),cAa=m(["Starting WebRTC event logging for sessionId=",", peerId=",""]),dAa=function(a,b,c){Da(function(d){a.o.info(cAa,b,c);a.G.set(b,c);return u(d,x$(a,b),0)})},eAa=m(["Skipping stopLogging call for sessionId=",
  " as logging is not active for this session."]),fAa=m(["Stopping logging for sessionId=",""]),gAa=m(["Uploading logs for ",""]),hAa=m(["Failed to upload beacause of missing user identifier."]),iAa=m(["################# Save #################"]),jAa=function(a,b){if(s$.has(b)){a.o.info(fAa,b);s$.delete(b);u$(a,3221);var c=a.s.has(b);a.s.delete(b);c?(a.o.info(gAa,b),u$(a,2494),c=y$(a).then(function(e){if(a.u)return a.o.info(iAa),Pza(a.h,b,a.u,e).then(function(){u$(a,2495)},function(){u$(a,2496)});a.o.L(hAa)})):
  c=ct();var d=t$(a);nt(ht([c,d]),function(){var e=p$.Qb(),f=new Date;q$(e,b,"### Stop ["+f.toString()+"] ### "+b);q$(e,b,"Current time is "+f.toUTCString());delete e.g[b]})}else a.o.info(eAa,b)},kAa=m(["Log upload requested for sessionId=",""]),lAa=function(a,b){Da(function(c){a.o.info(kAa,b);a.s.add(b);y$(a).then(function(d){a.u&&a.h.j.add(a.u,b,d)});z$(a);return u(c,x$(a,b),0)})},A$=function(a,b){var c=a.V.get(b);c||(c=kt(),a.V.set(b,c));return c},mAa=m(["Requesting native WebRTC logging"]),nAa=
  m(["Native WebRTC logging started"]),oAa=m(["Native WebRTC logging failed to start"]),v$=function(a){a.g||a.j||(a.o.info(mAa),u$(a,4732),a.j=a.C.then(function(b){return nt(xqa(b).then(function(){a.g=!0;u$(a,4733);a.o.info(nAa);z$(a)},function(c){var d=c.value;u$(a,4734);VQ(a.o,d).L(oAa);throw c;}),function(){a.j=null})}))},x$=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,pAa(a,b,c),0)})},qAa=m(["WebRTC event logging requested for ",
  ", peer id: ",""]),rAa=m(["WebRTC event logging started, logId: ",""]),sAa=m(["WebRTC event logging failed unexpectedly"]),tAa=m(["WebRTC event logging start error: ",""]),uAa=m(["WebRTC event logging failed to start"]),pAa=function(a,b,c){var d,e,f,g,h,l,q,r,y,D,A;return Da(function(K){switch(K.g){case 1:return a.o.info(qAa,b,c),u(K,a.C,2);case 2:return d=K.h,sa(K,3),u(K,d.h.jl(c).then(d.g),5);case 5:e=K.h;f=e.value.logId;A$(a,b).resolve(f);u$(a,5520);a.o.info(rAa,f);ta(K,0);break;case 3:g=ua(K);
  if(!(g instanceof v2))return u$(a,5518),VQ(a.o,g).pa(sAa),K.return();h=g.value;l=n(Rza);for(q=l.next();!q.done;q=l.next())if(r=q.value,y=n(r),D=y.next().value,A=y.next().value,h.includes(D))return u$(a,A),a.o.info(tAa,h),K.return();u$(a,5517);VQ(a.o,g).L(uAa);K.g=0}})},vAa=m(["Ignoring native WebRTC logging stop request due to active session ids= ",""]),wAa=m(["Stopping native WebRTC logging."]),xAa=m(["Request to stop native WebRTC logging succeeded"]),yAa=m(["Request to stop native WebRTC logging failed with error= ",
  ""]),t$=function(a){if(a.m)return a.m;if(a.j)return a.j.then(function(){t$(a)});if(!a.g)return ct();if(0==!s$.size)return a.o.info(vAa,s$.keys()),ct();a.o.info(wAa);a.m=a.C.then(function(b){a.D&&F2(b,!1);return nt(yqa(b,a.l,a.F).then(function(){a.o.info(xAa)},function(c){a.o.L(yAa,c.value);throw c;}),function(){a.g=!1;a.l=null;a.m=null;a.F=!1})});return a.m},zAa=m(["Requesting upload of the native WebRTC logs"]),z$=function(a){if(!a.F&&a.g&&a.l&&a.s.has(a.l)){a.o.info(zAa);a.F=!0;var b=a.l;u$(a,4735);
  y$(a).then(function(c){return AAa(a,b,c)})}},BAa=m(["Native uploadLogOnRenderClose succeeded."]),CAa=m(["Native uploadLogOnRenderClose failed with error=",""]),AAa=function(a,b,c){a.C.then(function(d){zqa(d,b,c).then(function(){u$(a,4736);a.o.info(BAa)},function(e){u$(a,4737);a.o.L(CAa,e.value);throw e;})})},u$=function(a,b,c){a.H.then(function(d){d.logImpression(b,{Ic:c})})},Sza=function(a){a.H.then(function(b){b.g(5183,{kc:void 0})})},y$=function(a){return a.N.then(function(b){return b.h})};var B$=function(a,b,c,d,e){uT.call(this);var f=this;this.o=new SQ("realtime.media.api.webrtc.LocalSession");this.h=a;this.g=b;this.ca=c;this.X=kt();this.m=e;A$(this.m,a).promise.then(function(g){var h=new EH,l=new vH;Q(l,7,g);U(h,7,l);f.X.resolve(h)});this.Z=new tL(this);this.T(this.Z);this.Z.listen(this.g,"ob",this.Px).listen(this.g,"pb",this.Ox).listen(this.g,"qb",this.Qx).listen(this.g,"rb",this.Rx).listen(this.g,"sb",this.Sx).listen(this.g,"tb",this.Tx).listen(this.g,"vb",this.Vx).listen(this.g,
  "wb",this.Ux).listen(this.g,"yb",this.Wx).listen(this.g,"nb",this.Nx);this.j="INITIAL";this.s=new Set;this.D=new Set;this.G=null;this.u=void 0;this.N=this.l=null;this.ia=tT();d.then(function(g){return f.ia=g})};t(B$,uT);var C$=function(a,b,c,d){a.j!=b&&(a.j=b,"number"!==typeof a.u&&"number"===typeof c&&(a.u=c),a.O(new pQ(a.j,a.u,d)))};B$.prototype.qo=function(){return this.X.promise};B$.prototype.vo=function(){return this.ia};B$.prototype.getState=function(){return this.j};
  B$.prototype.jo=function(){return this.l?this.l.promise:null};
  var DAa=m(["Called initialize in a bad state."]),fka=function(a){return"INITIAL"!=a.j?(a.o.L(DAa),dt("Cannot initialize at "+a.j+" state")):ct(uya(a.g))},EAa=m(["Called prepare in a bad state."]),FAa=m(["Prepare called before local offer has been generated."]),Yha=function(a){if("INITIAL"!=a.j)return a.o.L(EAa),!1;if(!a.g.localDescription)return a.o.L(FAa),!1;var b=a.m,c=a.h;b.o.info(bAa,c);s$.add(c);u$(b,3220);var d=p$.Qb();d.h=c;d.g[c]=d.u;d.u=new g$;d.g[c].open(d.C,"hangouts-call-"+c+".log");var e=
  new Date;q$(d,c,"### Start ["+e.toString()+"] ### "+c);q$(d,c,"Current time is "+e.toUTCString());q$(d,c,"Google Talk Plugin Version: "+d.m);q$(d,c,"User agent: "+Wc);b.l||(b.l=c,b.g?z$(b):v$(b));zya(a.g);C$(a,"STARTING");return!0},GAa=m(["Called start in a bad state."]),HAa=m(["Starting with remote session id=",""]);B$.prototype.start=function(a){if("STARTING"!=this.j)return this.o.L(GAa),!1;this.o.info(HAa,a.j);C$(this,"INPROGRESS");KV(this,a);return!0};var IAa=m(["Cannot start WebRTC event logging - peer connection id is not found."]);
  B$.prototype.connect=function(){var a=this;"PAUSED"!=this.getState()&&K9(this.g);Nya(this.g);var b=AN(xN("MKhH1b"),!1);Vf&&Sp(87)&&!b&&this.g.fa.l.promise.then(function(c){c?dAa(a.m,a.h,c):a.o.pa(IAa)})};var JAa=m(["Update called before started."]),KAa=m(["Update called after stopped."]);
  B$.prototype.update=function(a){switch(this.j){case "INITIAL":return this.o.L(JAa),Promise.reject(Error("Update called before started."));case "STOPPED":return this.o.L(KAa),Promise.reject(Error("Update called after stopped."))}return KV(this,a)};B$.prototype.stop=function(a,b){if("STOPPED"==this.j)return!1;C$(this,"STOPPED",a,b);this.g.stopSession(this.u,b);jAa(this.m,this.h);return!0};B$.prototype.pause=function(){if("INPROGRESS"!=this.getState())return!1;Tya(this.g);C$(this,"PAUSED");return!0};
  B$.prototype.resume=function(){if("PAUSED"!=this.getState())return!1;K9(this.g);C$(this,"INPROGRESS");return!0};
  var kV=function(a){lAa(a.m,a.h)},LAa=m(["Add local stream called after ended."]),MAa=m(["Capture "," has already been added."]),NAa=m(["A stream for capture of type: ",", was not created."]),qia=function(a,b){var c=b.g.g;switch(a.j){case "STOPPED":case "FINISHED":return a.o.L(LAa),null}if(a.s.has(b))return a.o.pa(MAa,b),null;b.eb(a.h);var d=a.g;d.o.info(cya,b);d.ya.add(b);d.l.listen(b,"Q",d.Fc);"a"===b.ga()&&d.tc&&d.l.listen(b,"O",d.pd);if(d.Ia){var e=d.Ia;if("a"===b.ga()){var f=e.h;f===e.h&&null!==
  f&&yL(e,f,cW,e.m);e.h=b;e.listen(b,cW,e.m)}}d=(e=bW(b,d.g))?m9(d,e,b):o9(d,b);if(null==d)return a.o.pa(NAa,c),null;a.s.add(b);return d},Rja=m(["Remove local stream called after stopped."]);B$.prototype.wf=function(a){if(this.ca.Vj){var b=new Set;a.filter(function(c){return"v"===c.ga()&&c.h&&c.l}).forEach(function(c){return b.add(c.l)});OAa(this,b)&&(this.D=b,this.G&&KV(this,this.G))}};
  var tV=function(a,b){if("INPROGRESS"==a.j){for(var c={},d=n(a.s),e=d.next();!e.done;c={Zh:c.Zh},e=d.next())if(c.Zh=e.value,e=b.find(function(f){return function(g){return g.ga()==f.Zh.g.g}}(c)))e=fP(new aP(e),a.h).ja(),Lma(c.Zh,e);b=b.filter(function(f){return f.h});Uya(a.g,b)}};B$.prototype.pl=function(a){$ya(this.g,a)};var PAa=m(["enableRtpHeaderDump called with enable= "," for sessionId= ",""]),Zha=function(a,b){a.o.info(PAa,b,a.h);w$(a.m,a.h,b)};k=B$.prototype;k.rm=function(){return!Vf||Sp(59)};
  k.Rx=function(a){this.O(new vT(a.g,a.j))};k.nq=function(){return!0};k.Tx=function(a){a.j==this.h&&this.O(new wT(a.g))};k.Sx=function(a){a.j==this.h&&this.O(new CR(a.message))};k.Vx=function(a){this.O(new xT(a.kb))};k.Ux=function(a){this.O(new yT(0,a.Ob,a.g))};k.Qx=function(a){a.j==this.h&&this.stop(a.Ob,a.g)};k.Wx=function(a){this.l&&a.uh&&(ux(this.N),this.l.resolve(),this.l=null);this.O(new AT(a.uh))};
  k.Px=function(a){this.h==a.j&&("collections"===a.label?this.H.R(this.K,new TJ(JSON.parse(a.payload))):this.O(new zT(a.ha,a.label,a.payload)))};k.Ox=function(a){"collections"===a.label&&this.H.R(this.K,Wca(a.buffer))};k.Nx=function(a){this.h==a.j&&this.O(new BT(a.g,a.C))};k.Dq=function(){null==this.l&&(this.l=kt(),this.N=tx(this.oa,25E3,this))};k.ep=function(a){var b=this.g;if(b.cf){var c=b.rc;b.rc=a>=b.df;b.ie=a;c!==b.rc&&q9(b)}};
  var QAa=m(["Session "," setting remote descriptions: ",""]),KV=function(a,b){if(null!=(b.l.get("collections")||null)){var c=FP(b).map(a.ra,a),d=b.Ya;null==d&&(d=[QO(PO("d"),101).Sf("google-data").ja()],d=new jP("d",d,[]));d=sP(d,oP(d).concat(c));b=HP(b,d)}a.G=b;if(a.ca.Vj&&b.qa){c=[];d=n(oP(b.qa));for(var e=d.next();!e.done;e=d.next())e=e.value,a.D.has(e.g)&&c.push(e);b=DP(b,sP(b.qa,c))}a.o.info(QAa,a.h,Gs(b.Ba()));return Sya(a.g,b)};
  B$.prototype.ra=function(a){var b=a.Ff()||"local_push_channel",c=a.getChannelId()||"";return AO(xO(wO(vO(uO(new tO,"d"),c),b),a.getChannelId()||""),a.Ff()).ja()};var OAa=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};B$.prototype.oa=function(){this.l.reject(Error("Session handoff timed out."));this.l=null};var D$=function(a){tW.call(this);this.T((new tL(this)).listen(a,"Fa",this.D))};t(D$,tW);D$.prototype.D=function(a){if(this.g&&(this.g||null).ta()){var b=(this.g||null).ta();if(b instanceof wZ)uW(this,a.j/5);else if(b.s()==a.sessionId){b=n(b.getInfo().Pa());for(var c=b.next();!c.done;c=b.next())if(c=c.value,a.g.has(c)){uW(this,a.g.get(c).volume/5);return}uW(this,0)}}else uW(this,0)};var E$=function(){V.call(this);this.g=new Map};t(E$,V);var RAa=function(a,b){a.g.set(b.h,b);var c=new tL(a);a.T(c);c.listen(b,"ga",function(d){"FINISHED"==d.state&&(this.g.delete(b.h),Ds(c))})};var F$=chrome.i18n.getMessage("4464119502738861996"),G$=qW("__synthetic_default_speaker_device__");G$.g=F$;G$.h=F$;var H$=G$.j("__synthetic_default_speaker_device__");H$.l=!0;H$.ja();zg("realtime.media.audio.output.DefaultAudioPlayer");var I$=function(a){this.j=a;this.h=this.g=!1;this.o=new SQ("realtime.media.audio.output.DefaultAudioPlayer")};I$.prototype.play=function(a){var b=this;return J$(this,{Xn:function(){return K$(b,a)},loop:!1,Mn:!0})};I$.prototype.loop=function(a){var b=this;return J$(this,{Xn:function(){return K$(b,a)},loop:!0,Mn:!0})};
  var SAa=m(["Playing ",""]),TAa=m(["Autoplay of "," was prevented"]),UAa=m(["Playing status of "," is unknown"]),J$=function(a,b){var c=b.Xn,d=b.loop,e=b.Mn;if(a.g)return ct();var f=c();b=new Zs(function(g,h){f.loop=d;f.onended=function(){e&&(f.src="");g()};f.onerror=h;f.currentTime=0;var l=f.play();l?l.then(function(){a.o.info(SAa,f.src);a.h=!0},function(q){q=Zf(q,"Autoplay was prevented");VQ(a.o,q).L(TAa,f.src);h(q)}):a.o.L(UAa,f.src)});ot(b,function(g){g instanceof Ys&&f.pause()});return b},K$=
  function(a,b){a=Of(a.j,"AUDIO");b=new ir(b.prefix+((a.canPlayType("audio/ogg")?b.XP:void 0)||b.WP||b.oQ));b.zc||(jr(b,"https"),b.zc="www.gstatic.com");a.src=b.toString();return a};var L$=function(a){AW.call(this,a);this.o=new SQ("realtime.media.api.webrtc.Delegate");this.C=new Tza(this.ma);this.g=new Q9;this.s=new V9;a=this.ma.get(mL).g;this.D=V8(this.ma);this.F=new o7(a,this.D,this.ma);this.u=new E$;this.l=0;this.j=this.h=!0;this.ea=new qQ(this.ma)};t(L$,AW);
  L$.prototype.Xo=function(){var a=this;if($e)return null;this.ea.logImpression(6270);var b=this.m.m.then(function(c){Vza(a.C,L(c.g,7));c=S(c.g,JM,17)?T(S(c.g,JM,17),KM,3)||[]:[];a.s=VAa(c);return 7});this.ea.logImpression(4163);NK(this.ma,YU,!0).then(function(c){return Oha(c,a.g)});NK(this.ma,jU,!0).then(function(c){return Cha(c,a.g)});b=[b,WAa(this)];return ht(b).then(function(c){a.ea.logImpression(6271);return XAa(a,c)},function(c){a.ea.logImpression(6272);throw c;})};
  var XAa=function(a,b){(b=b.find(function(c){return 7!=c}))||(b=7);return a.l=b};L$.prototype.bj=function(){return $e?null:Fka.includes(this.l)};var WAa=function(a){return Sla().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||!Jc(Me(b[g].label))):"videoinput"==b[g].kind&&(e++,f=f||!Jc(Me(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})};
  L$.prototype.Wo=function(){if(!$e){var a=new Z9(this.ma),b=new EH,c=new vH;Q(c,1,"11.0.0.0");U(b,7,c);c=new AH;var d="other";hf?d="windows":gf?d=-1!=ef.indexOf("Intel")?Re()&&0<Fa.navigator.maxTouchPoints?"ipados":"mac":"mac-ppc":0<=Wc.indexOf("CrOS")?d="cros":jf&&(d="linux");Q(c,1,d);Q(c,14,tza);d="Other";Ze?d="Opera":$e?d="Internet Explorer":Rf?d="Firefox":Zc("Edg/")?d="Chromium-based Edge":Vf?d=a$()?"Chromium-based":"Chrome":Wf&&(d="Safari");Q(c,15,d);Q(c,16,Rp);a$()&&e$(a,4749);b$(a)?Q(c,5,"ARM"):
  (Q(c,2,6),Q(c,3,14),Q(c,5,"GenuineIntel"),d=zza(a,a.g),Q(c,18,d));Q(c,25,a.g.modelName);Q(c,6,a.g.numOfProcessors);Q(c,19,a.h.model);Q(c,26,a.h.manufacturer);void 0===mT&&(mT=Wga(a.s));if(a=mT)d=yl(c,24,void 0,zH),Q(d,1,6),Q(d,2,a.substring(0,100));U(b,8,c);return b}return null};var YAa=function(a,b,c){b&&(b=new T9(c),a=a.g,a.h=b,a.T(a.h))};
  L$.prototype.Uo=function(a,b,c){if(this.bj()){var d=new f9(this.ea,b,this.F,c,function(e){var f=V8(a);return new X8(a,f,e)},NK(a,eR));gza(this.g,d);YAa(this,c.Ei(),d);b=new B$(b,d,c,sza(this.ma),this.C);b.T(d);RAa(this.u,b);return b}return null};L$.prototype.Vo=function(){return this.bj()?new D$(this.g):null};L$.prototype.Rn=function(){if(this.bj()){var a=this.ma.get(mL).g;return new I$(a)}return null};
  (function(a){var b=yW,c=a.priority,d=~xc(b.g,function(e){return e.priority<c?-1:1});b.g.splice(d,0,a)})({fd:L$,priority:6});var VAa=function(a){var b=new V9;a.forEach(function(c){Jc(Me(L(c,1)))&&Jc(Me(c.getName()))||b.push(new qza(c.getName(),L(c,1),L(c,3),L(c,4),L(c,5),O(c,6,!0)))});return b};var M$=function(){this.l={};this.h=[];this.j=[];this.F=[];this.g=[];this.m=[];this.xb={};this.u={};this.Z=new nK([],"");this.o=zg("goog.module.ModuleManager");this.s=0;this.K=this.X=this.N=!1};w(M$,oK);var N$=function(a,b){Pb.call(this,"Error loading "+a+": "+bda(b))};w(N$,Pb);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.X&&(O$(a,b?"userActive":"userIdle"),a.X=b)},SK=function(a,b,c){var d=[];wc(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 l=new tK;e[g]=l;ZAa(a,g,h,!!c,l);PK(a,g)||b.push(g)}0<b.length&&(jc(a.h)?a.G(b):(a.g.push(b),P$(a)));return e},ZAa=function(a,b,c,d,e){c.D(e.callback,e);cda(c,function(f){e.g(new N$(b,f))});PK(a,b)?d&&(Fg(a.o,"User initiated module already loading: "+
  b),ic(a.m,b)||a.m.push(b),P$(a)):d?(Fg(a.o,"User initiated module load: "+b),ic(a.m,b)||a.m.push(b)):Fg(a.o,"Initiating module load: "+b)};M$.prototype.G=function(a,b,c){b||(this.s=0);a=$Aa(this,a);Fg(this.o,"Loading module(s): "+a);this.h=a;this.j=tc(a);P$(this);jc(a)||(this.F.push.apply(this.F,a),c=Xa(null.MP,null,tc(a),this.l,{rP:this.xb,wP:!!c,onError:Xa(this.ca,this,this.j,a),YP:Xa(this.ia,this)}),(a=5E3*Math.pow(this.s,2))?window.setTimeout(c,a):c())};
  var $Aa=function(a,b){b=ac(b,function(){return!0});for(var c=[],d=0;d<b.length;d++)c=c.concat(Q$(a,b[d]));wc(c);return 1<c.length?(d=c.shift(),Fg(a.o,"Must load "+d+" module before "+b),a.g=bc(c,function(e){return[e]}).concat(a.g),[d]):c},Q$=function(a,b){var c=rd(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();wc(d);return d},PK=function(a,b){if(ic(a.h,b))return!0;for(var c=0;c<a.g.length;c++)if(ic(a.g[c],
  b))return!0;return!1};M$.prototype.load=function(a,b){return SK(this,[a],b)[a]};M$.prototype.ca=function(a,b,c){this.s++;this.j=a;Zb(b,Ya(oc,this.F),this);401==c?(Eg(this.o,"Module loading unauthorized"),R$(this,0),this.g.length=0):410==c?(S$(this,3),T$(this)):3<=this.s?(Eg(this.o,"Aborting after failure to load: "+this.h),S$(this,1),T$(this)):(Eg(this.o,"Retrying after failure to load: "+this.h),this.G(this.j,!0,8001==c))};
  M$.prototype.ia=function(){Eg(this.o,"Aborting after timeout: "+this.h);S$(this,2);T$(this)};
  var S$=function(a,b){1<a.j.length?a.g=bc(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=ac(a.g[e],function(l){var q=Q$(this,l);return dc(c,function(r){return ic(q,r)})},a);uc(d,f)}for(e=0;e<c.length;e++)lc(d,c[e]);for(e=0;e<d.length;e++){for(f=0;f<a.g.length;f++)oc(a.g[f],d[e]);oc(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=ac(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(){Es(fd(this.l),this.Z);this.l={};this.h=[];this.j=[];this.m=[];this.g=[];this.u={};this.K=!0};M$.prototype.C=function(){return this.K};
  qK=function(){return new M$};var U$=function(a){Lj.call(this,a);this.ma=new IK;sda(this.ma);Uga(this.ma);E2(this.ma,function(b){return new G2(b)});Hta(this.ma);this.l=this.F=this.m=this.u=null;this.H=tv()};t(U$,Lj);k=U$.prototype;
  k.jh=function(){var a=new nN(new M2(uv(sv.Qb())),new K2(this.Ax.bind(this)));a=new uN(a,"hangouts",this.ko(),"",.1>Math.random()?"https://preprod-hangouts-googleapis.sandbox.google.com":"https://hangouts.clients6.google.com",this.H);a=new PN(a);Q(a.g,1,39);Q(a.g,5,158);Q(a.g,2,"castouts");Q(a.g,3,"castouts");var b=chrome.runtime.id+chrome.runtime.getManifest().version;Q(a.g,4,b);b=Ne().toUpperCase();Q(a.g,6,"castouts"+b);b=.01;var c=uv(sv.Qb());"google.com"==(c.h?c.h.substr(c.h.indexOf("@")+1):"")&&
  (b=1);Q(a.g,9,b);Q(a.g,10,"https://hangouts.google.com/_/logpref");Q(a.g,11,"https://clients2.google.com/cr/report");a.register(this.ma);this.F=this.ma.get(BW);this.m=Promise.resolve(Mka(this.F));fm(this)};k.ab=function(){throw Error("not implemented");};k.Vb=function(){return[{lastSessionId:this.l}]};k.Tb=function(){var a=cm(this);a&&a.lastSessionId&&(this.l=a.lastSessionId)};
  k.ql=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?jqa(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.ak=function(a){a.g?(a=a.g,a=a.g?KY(a.g):null):a=null;this.l=a;return Promise.resolve()};
  k.oi=function(a,b){a=new J2(b,this.ma,this.m);this.u=a.l.bind(a);return a};k.Oh=function(){I2(0)};k.Lh=function(){I2(1)};k.Mh=function(){Jb("MediaRouter.Hangouts.Session.End")};k.Bg=function(a){Kb("MediaRouter.Hangouts.Start.Failure",a,bj)};k.Nh=function(){Jb("MediaRouter.Hangouts.Stream.End")};k.Ax=function(a){this.u&&this.u(a)};k.ko=function(){return"v1"};var V$=function(){U$.call(this,"hangouts")};t(V$,U$);V$.prototype.ab=function(){return"HangoutsService"};var aBa=new V$;Cj("mr.mirror.hangouts.HangoutsService",aBa);var W$=function(){U$.call(this,"meetings");this.C=null};t(W$,U$);W$.prototype.ab=function(){return"MeetingsService"};W$.prototype.ko=function(){return"v1_meetings"};var X$=function(a){null==a.C&&(a.C=Bna(a.ma.get(HM)),I_(a.C.l,bna(function(){return ct(uv(sv.Qb()).getAuthToken())})));return a.C};W$.prototype.Eb=function(a){return Promise.resolve(a1(X$(this),a.input).then(function(b){return b.Eb()}))};W$.prototype.jh=function(){U$.prototype.jh.call(this);this.ma.registerService(PW,X$(this))};
  var bBa=new W$;Cj("mr.mirror.hangouts.MeetingsService",bBa);
  