@vonage/client-sdk 1.1.0-alpha.10 → 1.1.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  function t(t,n,e,r){return new(e||(e=Promise))((function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function s(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(u,s)}a((r=r.apply(t,n||[])).next())}))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function n(t){if(t.__esModule)return t;var n=t.default;if("function"==typeof n){var e=function t(){if(this instanceof t){var e=[null];e.push.apply(e,arguments);var r=Function.bind.apply(n,e);return new r}return n.apply(this,arguments)};e.prototype=n.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}var e,r={},o={},i={get exports(){return o},set exports(t){o=t}};function u(){return e||(e=1,t=i,void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Math.clz32&&(Math.clz32=(n=Math.log,r=Math.LN2,function(t){var e=t>>>0;return 0===e?32:31-(n(e)/r|0)|0})),void 0===String.prototype.startsWith&&Object.defineProperty(String.prototype,"startsWith",{value:function(t,n){return n=n||0,this.lastIndexOf(t,n)===n}}),void 0===Math.imul&&(Math.imul=function(t,n){return(4294901760&t)*(65535&n)+(65535&t)*(0|n)|0}),function(t){var n,e,r,o,i,u,s,a,c,p,l,f,h,_,y,d,v,g,m,b,w,$,j,k,q,C,z,x,S,O,E,R,P,T,A,N,I,B,M,L,F,D,J,U,H,V,K,W,G,X,Y,Z,Q,tt,nt,et,rt,ot,it,ut,st,at,ct=Math.imul,pt=Math.clz32,lt=ArrayBuffer.isView;function ft(){var t=Object.create(null);return t.foo=1,t_(t,"foo"),t}function ht(t){switch(t.length){case 0:return In();case 1:return du(t[0]);default:return vt(t)}}function _t(t){return new Zn(Pt(t))}function yt(t){return new rr(0,gt(t))}function dt(t){return new rr(0,mt(t))}function vt(t){return Iu(Jn(t))}function gt(t){return t.length-1|0}function mt(t){return t.length-1|0}function bt(t,n){if(null==n){var e=0,r=t.length-1|0;if(e<=r)do{var o=e;if(e=e+1|0,null==t[o])return o}while(e<=r)}else{var i=0,u=t.length-1|0;if(i<=u)do{var s=i;if(i=i+1|0,Sp(n,t[s]))return s}while(i<=u)}return-1}function wt(t){switch(t.length){case 0:return qe();case 1:return mu(t[0]);default:return qt(t,Is(_u(t.length)))}}function $t(t,n,e,r,o,i,u){return Ct(t,Ya(),n,e,r,o,i,u).toString()}function jt(t,n,e,r,o,i,u,s,a){return 0!=(1&s)&&(n=", "),0!=(2&s)&&(e=""),0!=(4&s)&&(r=""),0!=(8&s)&&(o=-1),0!=(16&s)&&(i="..."),0!=(32&s)&&(u=null),$t(t,n,e,r,o,i,u)}function kt(t,n){return bt(t,n)>=0}function qt(t,n){for(var e=t,r=0,o=e.length;r<o;){var i=e[r];r=r+1|0,n.a(i)}return n}function Ct(t,n,e,r,o,i,u,s){n.b(r);var a=0,c=t,p=0,l=c.length;t:for(;p<l;){var f=c[p];if(p=p+1|0,(a=a+1|0)>1&&n.b(e),!(i<0||a<=i))break t;hr(n,f,s)}return i>=0&&a>i&&n.b(u),n.b(o),n}function zt(t){if(0===t.length)return In();var n=vt(t);return Rf(n),n}function xt(t){return St(t,Pu())}function St(t,n){for(var e=t,r=0,o=e.length;r<o;){var i=e[r];r=r+1|0,null!=i&&n.a(i)}return n}function Ot(t){var n;switch(t.length){case 0:throw bh("Array is empty.");case 1:n=t[0];break;default:throw ch("Array has more than one element.")}return n}function Et(t,n){var e=t.length,r=n.length,o=Math.min(e,r),i=Au(o),u=0;if(u<o)do{var s,a=u;u=u+1|0,s=Bo(t[a],n[a]),i.a(s)}while(u<o);return i}function Rt(t){return t.length-1|0}function Pt(t){return function(){return ep(t)}}function Tt(t){return Bt(t,ss(_u(Qn(t,12))))}function At(t){for(var n=rp(t.f()),e=0,r=t.g();r.h();){var o=r.i(),i=e;e=i+1|0,n[i]=o}return n}function Nt(t,n,e,r,o,i,u){return Mt(t,Ya(),n,e,r,o,i,u).toString()}function It(t,n,e,r,o,i,u,s,a){return 0!=(1&s)&&(n=", "),0!=(2&s)&&(e=""),0!=(4&s)&&(r=""),0!=(8&s)&&(o=-1),0!=(16&s)&&(i="..."),0!=(32&s)&&(u=null),Nt(t,n,e,r,o,i,u)}function Bt(t,n){for(var e=t.g();e.h();){var r=e.i();n.a(r)}return n}function Mt(t,n,e,r,o,i,u,s){n.b(r);var a=0,c=t.g();t:for(;c.h();){var p=c.i();if((a=a+1|0)>1&&n.b(e),!(i<0||a<=i))break t;hr(n,p,s)}return i>=0&&a>i&&n.b(u),n.b(o),n}function Lt(t,n,e,r,o,i,u,s,a,c){return 0!=(2&a)&&(e=", "),0!=(4&a)&&(r=""),0!=(8&a)&&(o=""),0!=(16&a)&&(i=-1),0!=(32&a)&&(u="..."),0!=(64&a)&&(s=null),Mt(t,n,e,r,o,i,u,s)}function Ft(t){if(Vl(t,Wc)){var n;switch(t.f()){case 0:n=In();break;case 1:n=du(Vl(t,Dc)?t.k(0):t.g().i());break;default:n=Ht(t)}return n}return Gn(Vt(t))}function Dt(t){if(t.j())throw bh("List is empty.");return t.k(Un(t))}function Jt(t){return 1===t.f()?t.k(0):null}function Ut(t){return Kt(t,Pu())}function Ht(t){return Iu(t)}function Vt(t){return Vl(t,Wc)?Ht(t):Bt(t,Pu())}function Kt(t,n){for(var e=t.g();e.h();){var r=e.i();null!=r&&n.a(r)}return n}function Wt(t){if(Vl(t,Dc))return Gt(t);var n=t.g();if(!n.h())throw bh("Collection is empty.");var e=n.i();if(n.h())throw ch("Collection has more than one element.");return e}function Gt(t){var n;switch(t.f()){case 0:throw bh("List is empty.");case 1:n=t.k(0);break;default:throw ch("List has more than one element.")}return n}function Xt(t){return t.j()?null:t.k(t.f()-1|0)}function Yt(t){var n=t.g();if(!n.h())return null;for(var e=n.i();n.h();){var r=n.i();jp(e,r)>0&&(e=r)}return e}function Zt(t){var n=Ac(t).toUpperCase();if(n.length>1){var e;if(Sp(new Bc(t),new Bc(Cc(329))))e=n;else{var r=yp(n,0),o=n.substring(1).toLowerCase();e=Ac(r)+o}return e}return Ac(ec(t))}function Qt(t,n){return n<=ou().s_1?er().r_1:Al(t,n-1|0)}function tn(t,n){return t<n?n:t}function nn(t,n){try{return Ue(n,t)}catch(t){throw t instanceof lh?bh(t.message):t}}function en(t,n){return ur().w(t,n,-1)}function rn(t,n){return t>n?n:t}function on(t,n,e){if(n>e)throw ch("Cannot coerce value to an empty range: maximum "+e+" is less than minimum "+n+".");return t<n?n:t>e?e:t}function un(t,n){return pr(n>0,n),ur().w(t.x_1,t.y_1,t.z_1>0?n:0|-n)}function sn(t){return new fn(t)}function an(t,n){return new we(t,n)}function cn(t){return Gn(pn(t))}function pn(t){return ln(t,Pu())}function ln(t,n){for(var e=t.g();e.h();){var r=e.i();n.a(r)}return n}function fn(t){this.a1_1=t}function hn(t,n){var e=te(n),r=null==e?null:t.f()+e|0,o=Is(_u(null==r?ct(t.f(),2):r));return o.b1(t),ve(o,n),o}function _n(t){var n;switch(vp(t)){case 0:throw bh("Char sequence is empty.");case 1:n=yp(t,0);break;default:throw ch("Char sequence has more than one element.")}return n}function yn(t,n){return n.j()?"":Mr(t,n)}function dn(t,n){if(!(n>=0))throw ch(Ep("Requested character count "+n+" is less than zero."));var e=rn(n,t.length);return t.substring(e)}function vn(t,n){if(!(n>=0))throw ch(Ep("Requested character count "+n+" is less than zero."));return gn(t,tn(t.length-n|0,0))}function gn(t,n){if(!(n>=0))throw ch(Ep("Requested character count "+n+" is less than zero."));var e=rn(n,t.length);return t.substring(0,e)}function mn(){Pp(this,mn)}function bn(t){return function(n){return n===t?"(this Collection)":Qc(n)}}function wn(){}function $n(){n=this}function jn(){return null==n&&new $n,n}function kn(t){this.p1_1=t}function qn(t){this.r1_1=t}function Cn(t,n){return n===t?"(this Map)":Qc(n)}function zn(t,n){var e;t:{for(var r=t.q().g();r.h();){var o=r.i();if(Sp(o.q1(),n)){e=o;break t}}e=null}return e}function xn(){e=this}function Sn(){return null==e&&new xn,e}function On(t){this.w1_1=t,Nn.call(this)}function En(t){return function(n){return t.b2(n)}}function Rn(t){this.c2_1=t,wn.call(this)}function Pn(){Sn(),this.y1_1=null,this.z1_1=null}function Tn(){r=this}function An(){return null==r&&new Tn,r}function Nn(){An(),wn.call(this)}function In(){return Ln()}function Bn(t){return t.length>0?zf(t):In()}function Mn(){o=this,this.l2_1=new Yp(-1478467534,-1720727600)}function Ln(){return null==o&&new Mn,o}function Fn(){i=this}function Dn(){return null==i&&new Fn,i}function Jn(t){return new Vn(t,!1)}function Un(t){return t.f()-1|0}function Hn(t){return 0===t.length?Pu():Iu(new Vn(t,!0))}function Vn(t,n){this.n2_1=t,this.o2_1=n}function Kn(){throw Ah("Index overflow has happened.")}function Wn(t){return xt(t)}function Gn(t){switch(t.f()){case 0:return In();case 1:return du(t.k(0));default:return t}}function Xn(){}function Yn(t,n){this.r2_1=t,this.s2_1=n}function Zn(t){this.u2_1=t}function Qn(t,n){return Vl(t,Wc)?t.f():n}function te(t){return Vl(t,Wc)?t.f():null}function ne(t){this.w2_1=t,this.x2_1=0}function ee(t,n){if(Vl(t,re))return t.y2(n);var e=t.g2(n);if(null==e&&!t.a2(n))throw bh("Key "+n+" is missing in the map.");return null==e||ef(e)?e:Dp()}function re(){}function oe(t){return t.length>0?se(t,zs(_u(t.length))):ie()}function ie(){var t=ce();return Vl(t,Fc)?t:Dp()}function ue(t){if(Vl(t,Wc)){var n;switch(t.f()){case 0:n=ie();break;case 1:n=yu(Vl(t,Dc)?t.k(0):t.g().i());break;default:n=pe(t,zs(_u(t.f())))}return n}return le(pe(t,js()))}function se(t,n){return fe(n,t),n}function ae(){u=this,this.z2_1=new Yp(-888910638,1920087921)}function ce(){return null==u&&new ae,u}function pe(t,n){return he(n,t),n}function le(t){return 0===t.f()?ie():t}function fe(t,n){for(var e=n,r=0,o=e.length;r<o;){var i=e[r];r=r+1|0;var u=i.e3(),s=i.f3();t.l(u,s)}}function he(t,n){for(var e=n.g();e.h();){var r=e.i(),o=r.e3(),i=r.f3();t.l(o,i)}}function _e(t){var n=Yu(_u(t.length));return fe(n,t),n}function ye(t,n){return ee(t,n)}function de(t){if(t.j())throw bh("List is empty.");return t.r3(Un(t))}function ve(t,n){if(Vl(n,Wc))return t.b1(n);for(var e=!1,r=n.g();r.h();){var o=r.i();t.a(o)&&(e=!0)}return e}function ge(){}function me(){}function be(t){this.u3_1=t,this.t3_1=t.v3_1.g()}function we(t,n){this.v3_1=t,this.w3_1=n}function $e(t){return t.length>0?wt(t):qe()}function je(){s=this,this.x3_1=new Yp(1993859828,793161749)}function ke(){return null==s&&new je,s}function qe(){return ke()}function Ce(t){return qt(t,ss(_u(t.length)))}function ze(){}function xe(){a=this}function Se(){return null==a&&new xe,a}function Oe(){}function Ee(){}function Re(){c=this,this.c4_1=new Yp(0,0)}function Pe(){return null==c&&new Re,c}function Te(){return Ie()}function Ae(){if(l)return Zi();l=!0,p=new Ne("COROUTINE_SUSPENDED",0),new Ne("UNDECIDED",1),new Ne("RESUMED",2)}function Ne(t,n){Yc.call(this,t,n)}function Ie(){return Ae(),p}function Be(t,n,e){var r;if(e>0)r=t>=n?n:n-Me(n,t,e)|0;else{if(!(e<0))throw ch("Step is zero.");r=t<=n?n:n+Me(t,n,0|-e)|0}return r}function Me(t,n,e){return Le(Le(t,e)-Le(n,e)|0,e)}function Le(t,n){var e=t%n|0;return e>=0?e:e+n|0}function Fe(){f=this,Je.call(this),this.h4_1=oa()}function De(){return null==f&&new Fe,f}function Je(){De()}function Ue(t,n){if(n.j())throw ch("Cannot get random in empty range: "+n);return n.y_1<ou().t_1?t.j4(n.x_1,n.y_1+1|0):n.x_1>ou().s_1?t.j4(n.x_1-1|0,n.y_1)+1|0:t.s3()}function He(t,n){var e;if(!(n>t))throw ch(Ep(Ke(t,n)));return e}function Ve(t){return 31-pt(t)|0}function Ke(t,n){return"Random range is empty: ["+Ep(t)+", "+Ep(n)+")."}function We(t){return Ye(t,t>>31)}function Ge(t,n){return(t>>>(32-n|0)|0)&(0|-n)>>31}function Xe(t,n,e){return tr.call(e,t,n,0,0,~t,t<<10^(n>>>4|0)),e}function Ye(t,n){return Xe(t,n,Object.create(tr.prototype))}function Ze(){h=this,this.k4_1=new Yp(0,0)}function Qe(){return null==h&&new Ze,h}function tr(t,n,e,r,o,i){if(Qe(),Je.call(this),this.l4_1=t,this.m4_1=n,this.n4_1=e,this.o4_1=r,this.p4_1=o,this.q4_1=i,0==(this.l4_1|this.m4_1|this.n4_1|this.o4_1|this.p4_1))throw ch(Ep("Initial state must have at least one non-zero element."));var u=0;if(u<64)do{u=u+1|0,this.s3()}while(u<64)}function nr(){_=this,this.r_1=new rr(1,0)}function er(){return null==_&&new nr,_}function rr(t,n){er(),sr.call(this,t,n,1)}function or(t,n,e){ge.call(this),this.u4_1=e,this.v4_1=n,this.w4_1=this.u4_1>0?t<=n:t>=n,this.x4_1=this.w4_1?t:this.v4_1}function ir(){y=this}function ur(){return null==y&&new ir,y}function sr(t,n,e){if(ur(),0===e)throw ch("Step must be non-zero.");if(e===ou().s_1)throw ch("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.x_1=t,this.y_1=Be(t,n,e),this.z_1=e}function ar(){}function cr(){}function pr(t,n){if(!t)throw ch("Step must be positive, was: "+Ep(n)+".")}function lr(t,n){return t.y4(n)?ef(n)?n:Dp():null}function fr(){}function hr(t,n,e){null!=e?t.b(e(n)):null==n||uf(n)?t.b(n):n instanceof Bc?t.z4(n.c1_1):t.b(Qc(n))}function _r(t,n,e){if(Sp(new Bc(t),new Bc(n)))return!0;if(!e)return!1;var r=Qa(t),o=Qa(n);return!!Sp(new Bc(r),new Bc(o))||Sp(new Bc(yp(Ac(r).toLowerCase(),0)),new Bc(yp(Ac(o).toLowerCase(),0)))}function yr(t){return Zt(t)}function dr(t){return vr(t,"")}function vr(t,n){for(var e=ro(t),r=Pu(),o=e.g();o.h();){var i=o.i();zr(i)&&r.a(i)}for(var u=r,s=Au(Qn(u,10)),a=u.g();a.h();){var c=a.i();s.a(gr(c))}for(var p=Yt(s),l=null==p?0:p,f=t.length+ct(n.length,e.f())|0,h=mr(n),_=Un(e),y=Pu(),d=0,v=e.g();v.h();){var g=v.i(),m=d;d=m+1|0;var b,w,$=bu(m),j=0!==$&&$!==_||!fc(g)?null==(w=null==(b=dn(g,l))?null:h(b))?g:w:null;null==j||(y.a(j),Zi())}return Lt(y,Ga(f),"\n",null,null,0,null,null,124).toString()}function gr(t){var n;t:{var e=0,r=vp(t)-1|0;if(e<=r)do{var o=e;if(e=e+1|0,!tc(yp(t,o))){n=o;break t}}while(e<=r);n=-1}var i=n;return-1===i?t.length:i}function mr(t){return 0===vp(t)?br:wr(t)}function br(t){return t}function wr(t){return function(n){return t+n}}function $r(t){return jr(t,10)}function jr(t,n){rc(n);var e,r,o,i=t.length;if(0===i)return null;var u=yp(t,0);if(Sc(u,Cc(48))<0){if(1===i)return null;if(e=1,Sp(new Bc(u),new Bc(Cc(45))))r=!0,o=ou().s_1;else{if(!Sp(new Bc(u),new Bc(Cc(43))))return null;r=!1,o=0|-ou().t_1}}else e=0,r=!1,o=0|-ou().t_1;var s=(0|-ou().t_1)/36|0,a=s,c=0,p=e;if(p<i)do{var l=p;p=p+1|0;var f=oc(yp(t,l),n);if(f<0)return null;if(c<a){if(a!==s)return null;if(c<(a=o/n|0))return null}if((c=ct(c,n))<(o+f|0))return null;c=c-f|0}while(p<i);return r?c:0|-c}function kr(t){return Cr(t,10)}function qr(t){throw Bh("Invalid number format: '"+t+"'")}function Cr(t,n){rc(n);var e,r,o,i=t.length;if(0===i)return null;var u=yp(t,0);if(Sc(u,Cc(48))<0){if(1===i)return null;if(e=1,Sp(new Bc(u),new Bc(Cc(45))))r=!0,Xp(),o=new Yp(0,-2147483648);else{if(!Sp(new Bc(u),new Bc(Cc(43))))return null;r=!1,Xp(),o=new Yp(-1,2147483647).c5()}}else e=0,r=!1,Xp(),o=new Yp(-1,2147483647).c5();Xp();var s=new Yp(-1,2147483647).c5().d5(new Yp(36,0)),a=s,c=new Yp(0,0),p=e;if(p<i)do{var l=p;p=p+1|0;var f,h=oc(yp(t,l),n);if(h<0)return null;if(c.e5(a)<0){if(!a.equals(s))return null;if(a=o.d5(Tl(n)),c.e5(a)<0)return null}f=c.f5(Tl(n));var _,y=c=f;if(_=o.g5(Tl(h)),y.e5(_)<0)return null;c=c.h5(Tl(h))}while(p<i);return r?c:c.c5()}function zr(t){return!fc(t)}function xr(t){return Al(0,vp(t)-1|0)}function Sr(t){return vp(t)-1|0}function Or(t,n,e,r){var o;if(r||"string"!=typeof t)o=Lr(t,up([n]),e,r);else{var i=t,u=Ac(n);o=i.indexOf(u,e)}return o}function Er(t,n,e,r,o,i){return 0!=(2&o)&&(e=0),0!=(4&o)&&(r=!1),Or(t,n,e,r)}function Rr(t,n,e,r){return r||"string"!=typeof t?Fr(t,n,e,0,r,!0):t.lastIndexOf(n,e)}function Pr(t,n,e,r,o,i){return 0!=(2&o)&&(e=Sr(t)),0!=(4&o)&&(r=!1),Rr(t,n,e,r)}function Tr(t,n){if(Ur(t,n,!1,2)){var e=vp(n);return t.substring(e)}return t}function Ar(t,n,e){var r,o=Vr(t,n,0,!1,6);if(-1===o)r=e;else{var i=o+n.length|0,u=t.length;r=t.substring(i,u)}return r}function Nr(t,n,e,r,o){return 0!=(2&r)&&(e=t),Ar(t,n,e)}function Ir(t,n,e,r){if(1===n.length){var o=n[0];if(0!==vp(o))return Kr(t,o,e,r)}for(var i=sn(Xr(t,n,0,e,r,2)),u=Au(Qn(i,10)),s=i.g();s.h();){var a;a=Wr(t,s.i()),u.a(a)}return u}function Br(t,n,e,r,o,i){return 0!=(2&o)&&(e=!1),0!=(4&o)&&(r=0),Ir(t,n,e,r)}function Mr(t,n){var e=n.r4(),r=n.s4()+1|0;return t.substring(e,r)}function Lr(t,n,e,r){if(!r&&1===n.length&&"string"==typeof t){var o=t,i=Ac(Ot(n));return o.indexOf(i,e)}var u=tn(e,0),s=Sr(t);if(u<=s)do{var a=u;u=u+1|0;var c,p=yp(t,a);t:{for(var l=n,f=0,h=l.length;f<h;){var _=l[f];if(f=f+1|0,_r(_,p,r)){c=!0;break t}}c=!1}if(c)return a}while(a!==s);return-1}function Fr(t,n,e,r,o,i){var u=i?en(rn(e,Sr(t)),tn(r,0)):Al(tn(e,0),rn(r,vp(t)));if("string"==typeof t&&"string"==typeof n){var s=u.x_1,a=u.y_1,c=u.z_1;if(c>0&&s<=a||c<0&&a<=s)do{var p=s;if(s=s+c|0,dc(n,0,t,p,vp(n),o))return p}while(p!==a)}else{var l=u.x_1,f=u.y_1,h=u.z_1;if(h>0&&l<=f||h<0&&f<=l)do{var _=l;if(l=l+h|0,Yr(n,0,t,_,vp(n),o))return _}while(_!==f)}return-1}function Dr(t,n,e,r,o,i,u,s){return 0!=(16&u)&&(i=!1),Fr(t,n,e,r,o,i)}function Jr(t,n,e){return e||"string"!=typeof t||"string"!=typeof n?Yr(t,0,n,0,vp(n),e):gc(t,n,!1,2)}function Ur(t,n,e,r,o){return 0!=(2&r)&&(e=!1),Jr(t,n,e)}function Hr(t,n,e,r){return r||"string"!=typeof t?Dr(t,n,e,vp(t),r,!1,16):t.indexOf(n,e)}function Vr(t,n,e,r,o,i){return 0!=(2&o)&&(e=0),0!=(4&o)&&(r=!1),Hr(t,n,e,r)}function Kr(t,n,e,r){Zr(r);var o=0,i=Hr(t,n,o,e);if(-1===i||1===r)return du(Ep(t));var u,s=r>0,a=Au(s?rn(r,10):10);t:do{var c;if(c=Ep(gp(t,o,i)),a.a(c),o=i+n.length|0,s&&a.f()===(r-1|0))break t;i=Hr(t,n,o,e)}while(-1!==i);return u=Ep(gp(t,o,vp(t))),a.a(u),a}function Wr(t,n){return Ep(gp(t,n.r4(),n.s4()+1|0))}function Gr(t,n,e,r,o){return Zr(o),new no(t,e,o,so(zf(n),r))}function Xr(t,n,e,r,o,i,u){return 0!=(2&i)&&(e=0),0!=(4&i)&&(r=!1),0!=(8&i)&&(o=0),Gr(t,n,e,r,o)}function Yr(t,n,e,r,o,i){if(r<0||n<0||n>(vp(t)-o|0)||r>(vp(e)-o|0))return!1;var u=0;if(u<o)do{var s=u;if(u=u+1|0,!_r(yp(t,n+s|0),yp(e,r+s|0),i))return!1}while(u<o);return!0}function Zr(t){var n;if(!(t>=0))throw ch(Ep("Limit must be non-negative, but was "+t));return n}function Qr(t){if(t.k5_1<0)t.i5_1=0,t.l5_1=null;else{var n;if(t.n5_1.q5_1>0){var e=t;e.m5_1=e.m5_1+1|0,n=e.m5_1>=t.n5_1.q5_1}else n=!1;if(n||t.k5_1>vp(t.n5_1.o5_1))t.l5_1=Al(t.j5_1,Sr(t.n5_1.o5_1)),t.k5_1=-1;else{var r=t.n5_1.r5_1(t.n5_1.o5_1,t.k5_1);if(null==r)t.l5_1=Al(t.j5_1,Sr(t.n5_1.o5_1)),t.k5_1=-1;else{var o=r,i=o.e3(),u=o.f3();t.l5_1=Qt(t.j5_1,i),t.j5_1=i+u|0,t.k5_1=t.j5_1+(0===u?1:0)|0}}t.i5_1=1}}function to(t){this.n5_1=t,this.i5_1=-1,this.j5_1=on(t.p5_1,0,vp(t.o5_1)),this.k5_1=this.j5_1,this.l5_1=null,this.m5_1=0}function no(t,n,e,r){this.o5_1=t,this.p5_1=n,this.q5_1=e,this.r5_1=r}function eo(t,n,e,r,o){if(!r&&1===n.f()){var i,u=Wt(n);return(i=o?Pr(t,u,e,!1,4):Vr(t,u,e,!1,4))<0?null:Bo(i,u)}var s=o?en(rn(e,Sr(t)),0):Al(tn(e,0),vp(t));if("string"==typeof t){var a=s.x_1,c=s.y_1,p=s.z_1;if(p>0&&a<=c||p<0&&c<=a)do{var l,f=a;a=a+p|0;t:{for(var h=n.g();h.h();){var _=h.i();if(dc(_,0,t,f,_.length,r)){l=_;break t}}l=null}if(null!=l)return Bo(f,l)}while(f!==c)}else{var y=s.x_1,d=s.y_1,v=s.z_1;if(v>0&&y<=d||v<0&&d<=y)do{var g,m=y;y=y+v|0;t:{for(var b=n.g();b.h();){var w=b.i();if(Yr(w,0,t,m,w.length,r)){g=w;break t}}g=null}if(null!=g)return Bo(m,g)}while(m!==d)}return null}function ro(t){return cn(oo(t))}function oo(t){return uo(t,["\r\n","\n","\r"],!1,0,6)}function io(t,n,e,r){return an(Xr(t,n,0,e,r,2),ao(t))}function uo(t,n,e,r,o,i){return 0!=(2&o)&&(e=!1),0!=(4&o)&&(r=0),io(t,n,e,r)}function so(t,n){return function(e,r){var o=eo(e,t,r,n,!1);return null==o?null:Bo(o.c3_1,o.d3_1.length)}}function ao(t){return function(n){return Wr(t,n)}}function co(){return _o(),d}function po(){}function lo(t,n){return _o(),new ho(t.t5_1,n).y5()}function fo(t){this.t5_1=t}function ho(t,n){po.call(this),this.u5_1=rf(t,2)?t:Dp(),this.v5_1=n,this.w5_1=Vl(this,ze)?this:Dp(),this.x5_1=co()}function _o(){var t;v||(v=!0,t=jo(Te()),d=t)}function yo(){}function vo(){if(m)return Zi();m=!0,new go("SYNCHRONIZED",0),g=new go("PUBLICATION",1),new go("NONE",2)}function go(t,n){Yc.call(this,t,n)}function mo(t){this.b6_1=t,this.c6_1=wo()}function bo(){b=this}function wo(){return null==b&&new bo,b}function $o(){return vo(),g}function jo(t){return t}function ko(t){return t}function qo(t){return ko(t)instanceof xo}function Co(t){return ko(t)instanceof xo?ko(t).e6_1:null}function zo(t){return ko(t)instanceof xo?Ep(ko(t)):"Success("+Qc(ko(t))+")"}function xo(t){this.e6_1=t}function So(t){return null==t?0:Op(t)}function Oo(t,n){return n instanceof Eo&&!!Sp(t,n instanceof Eo?n.h6_1:Dp())}function Eo(t){this.h6_1=t}function Ro(t){return new xo(t)}function Po(t){if(ko(t)instanceof xo)throw ko(t).e6_1}function To(t,n,e,r){return 0!=(1&n)&&(t="An operation is not implemented."),No.call(r,t),r}function Ao(t,n,e){var r=To(t,n,e,Object.create(No.prototype));return Pp(r,Ao),r}function No(t){oh(t,this),Pp(this,No)}function Io(t,n){this.c3_1=t,this.d3_1=n}function Bo(t,n){return new Io(t,n)}function Mo(t,n,e){this.k6_1=t,this.l6_1=n,this.m6_1=e}function Lo(t){return t}function Fo(t){return t}function Do(){w=this,this.n6_1=Lo(0),this.o6_1=Lo(-1),this.p6_1=1,this.q6_1=8}function Jo(){return null==w&&new Do,w}function Uo(t,n){return jp(255&Fo(t),255&Fo(n))}function Ho(t,n){return Uo(t.r6_1,n instanceof Go?n.r6_1:Dp())}function Vo(t){return(255&Fo(t)).toString()}function Ko(t){return t}function Wo(t,n){return n instanceof Go&&t===(n instanceof Go?n.r6_1:Dp())}function Go(t){Jo(),this.r6_1=t}function Xo(t){return t}function Yo(t){return t}function Zo(){$=this,this.u6_1=Xo(0),this.v6_1=Xo(-1),this.w6_1=4,this.x6_1=32}function Qo(){return null==$&&new Zo,$}function ti(t,n){return Bi(Yo(t),Yo(n))}function ni(t,n){return ti(t.y6_1,n instanceof ii?n.y6_1:Dp())}function ei(t){return Tl(Yo(t)).z6(new Yp(-1,0)).toString()}function ri(t){return t}function oi(t,n){return n instanceof ii&&t===(n instanceof ii?n.y6_1:Dp())}function ii(t){Qo(),this.y6_1=t}function ui(t){return t}function si(t){return t}function ai(){j=this,this.c7_1=ui(new Yp(0,0)),this.d7_1=ui(new Yp(-1,-1)),this.e7_1=8,this.f7_1=64}function ci(){return null==j&&new ai,j}function pi(t,n){return Li(si(t),si(n))}function li(t,n){return pi(t.g7_1,n instanceof yi?n.g7_1:Dp())}function fi(t){return Di(si(t))}function hi(t){return t.hashCode()}function _i(t,n){if(!(n instanceof yi))return!1;var e=n instanceof yi?n.g7_1:Dp();return!!t.equals(e)}function yi(t){ci(),this.g7_1=t}function di(t){return t}function vi(t){return t}function gi(){k=this,this.i7_1=di(0),this.j7_1=di(-1),this.k7_1=2,this.l7_1=16}function mi(){return null==k&&new gi,k}function bi(t,n){return jp(65535&vi(t),65535&vi(n))}function wi(t,n){return bi(t.m7_1,n instanceof qi?n.m7_1:Dp())}function $i(t){return(65535&vi(t)).toString()}function ji(t){return t}function ki(t,n){return n instanceof qi&&t===(n instanceof qi?n.m7_1:Dp())}function qi(t){mi(),this.m7_1=t}function Ci(t){var n,e=Ei(t);return null==(null==e?null:new ii(e))?qr(t):n=e,n}function zi(t){var n,e=Oi(t);return null==(null==e?null:new yi(e))?qr(t):n=e,n}function xi(t){var n,e=Ri(t);return null==(null==e?null:new Go(e))?qr(t):n=e,n}function Si(t){var n,e=Pi(t);return null==(null==e?null:new qi(e))?qr(t):n=e,n}function Oi(t){return Ti(t,10)}function Ei(t){return Ai(t,10)}function Ri(t){return Ni(t,10)}function Pi(t){return Ii(t,10)}function Ti(t,n){rc(n);var e=t.length;if(0===e)return null;ci();var r,o=ui(new Yp(-1,-1)),i=yp(t,0);if(Sc(i,Cc(48))<0){if(1===e||!Sp(new Bc(i),new Bc(Cc(43))))return null;r=1}else r=0;var u=ui(new Yp(477218588,119304647)),s=u,a=ui(Tl(n)),c=ui(new Yp(0,0)),p=r;if(p<e)do{var l=p;p=p+1|0;var f=oc(yp(t,l),n);if(f<0)return null;var h=s;if(Li(si(c),si(h))>0){if(!Sp(s,u))return null;var _=s=Fi(o,a);if(Li(si(c),si(_))>0)return null}var y,d=c=ui(si(c).f5(si(a))),v=c,g=ui(Tl(Yo(Xo(f))).z6(new Yp(-1,0)));if(y=ui(si(v).g5(si(g))),Li(si(c=y),si(d))<0)return null}while(p<e);return c}function Ai(t,n){rc(n);var e=t.length;if(0===e)return null;Qo();var r,o=Xo(-1),i=yp(t,0);if(Sc(i,Cc(48))<0){if(1===e||!Sp(new Bc(i),new Bc(Cc(43))))return null;r=1}else r=0;var u=Xo(119304647),s=u,a=Xo(n),c=Xo(0),p=r;if(p<e)do{var l=p;p=p+1|0;var f=oc(yp(t,l),n);if(f<0)return null;var h=s;if(Bi(Yo(c),Yo(h))>0){if(s!==u)return null;var _=s=Mi(o,a);if(Bi(Yo(c),Yo(_))>0)return null}var y,d=c=Xo(ct(Yo(c),Yo(a))),v=c,g=Xo(f);if(y=Xo(Yo(v)+Yo(g)|0),Bi(Yo(c=y),Yo(d))<0)return null}while(p<e);return c}function Ni(t,n){var e=Ai(t,n);if(null==(null==e?null:new ii(e)))return null;var r=e;Jo();var o=Xo(255&Fo(Lo(-1)));return Bi(Yo(r),Yo(o))>0?null:Lo(zl(Yo(r)))}function Ii(t,n){var e=Ai(t,n);if(null==(null==e?null:new ii(e)))return null;var r=e;mi();var o=Xo(65535&vi(di(-1)));return Bi(Yo(r),Yo(o))>0?null:di(El(Yo(r)))}function Bi(t,n){return jp(t^ou().s_1,n^ou().s_1)}function Mi(t,n){var e,r=Tl(Yo(t)).z6(new Yp(-1,0));return e=Tl(Yo(n)).z6(new Yp(-1,0)),Xo(r.d5(e).b7())}function Li(t,n){Xp();var e=t.o7(new Yp(0,-2147483648));return Xp(),e.e5(n.o7(new Yp(0,-2147483648)))}function Fi(t,n){var e=si(t),r=si(n);if(r.e5(new Yp(0,0))<0)return ui(new Yp(Li(si(t),si(n))<0?0:1,0));if(e.e5(new Yp(0,0))>=0)return ui(e.d5(r));var o=e.p7(1).d5(r).q7(1),i=ui(e.h5(o.f5(r))),u=ui(r),s=Li(si(i),si(u))>=0?1:0;return ui(o.g5(Tl(s)))}function Di(t){return Ji(t,10)}function Ji(t,n){if(t.e5(new Yp(0,0))>=0)return r_(t,n);var e,r=t.p7(1).d5(Tl(n)).q7(1);e=r.f5(Tl(n));var o=t.h5(e);return o.e5(Tl(n))>=0&&(o=o.h5(Tl(n)),r=r.g5(new Yp(1,0))),r_(r,n)+r_(o,n)}function Ui(){}function Hi(){}function Vi(){}function Ki(){}function Wi(){}function Gi(){}function Xi(){}function Yi(){q=this}function Zi(){return null==q&&new Yi,q}function Qi(){C=this,this.v7_1=-128,this.w7_1=127,this.x7_1=1,this.y7_1=8}function tu(){return null==C&&new Qi,C}function nu(){z=this,this.d8_1=-32768,this.e8_1=32767,this.f8_1=2,this.g8_1=16}function eu(){return null==z&&new nu,z}function ru(){x=this,this.s_1=-2147483648,this.t_1=2147483647,this.u_1=4,this.v_1=32}function ou(){return null==x&&new ru,x}function iu(){S=this,this.h8_1=14e-46,this.i8_1=34028235e31,this.j8_1=1/0,this.k8_1=-1/0,this.l8_1=NaN,this.m8_1=4,this.n8_1=32}function uu(){return null==S&&new iu,S}function su(){O=this,this.r8_1=5e-324,this.s8_1=17976931348623157e292,this.t8_1=1/0,this.u8_1=-1/0,this.v8_1=NaN,this.w8_1=8,this.x8_1=64}function au(){return null==O&&new su,O}function cu(){E=this}function pu(){return null==E&&new cu,E}function lu(){R=this}function fu(){return null==R&&new lu,R}function hu(){}function _u(t){return t}function yu(t){return _e([t])}function du(t){return Hn([t])}function vu(t){return void 0!==t.toArray?t.toArray():gu(t)}function gu(t){for(var n=[],e=t.g();e.h();)n.push(e.i());return n}function mu(t){return Ce([t])}function bu(t){return t<0&&Kn(),t}function wu(){wn.call(this)}function $u(t){this.c9_1=t,this.a9_1=0,this.b9_1=-1}function ju(){wu.call(this),this.d9_1=0}function ku(t){this.h9_1=t}function qu(t){this.i9_1=t}function Cu(t,n){this.j9_1=t,this.k9_1=n}function zu(){Eu.call(this)}function xu(t){this.n9_1=t,Eu.call(this)}function Su(t){this.t9_1=t,wu.call(this)}function Ou(){Pn.call(this),this.r9_1=null,this.s9_1=null}function Eu(){wu.call(this)}function Ru(t){var n;return n=[],Lu.call(t,n),t}function Pu(){return Ru(Object.create(Lu.prototype))}function Tu(t,n){var e;return e=[],Lu.call(n,e),n}function Au(t){return Tu(t,Object.create(Lu.prototype))}function Nu(t,n){var e;return e=vu(t),Lu.call(n,e),n}function Iu(t){return Nu(t,Object.create(Lu.prototype))}function Bu(t,n){return jn().k1(n,t.f()),n}function Mu(t,n){return jn().l1(n,t.f()),n}function Lu(t){ju.call(this),this.d_1=t,this.e_1=!1}function Fu(){P=this}function Du(){return null==P&&new Fu,P}function Ju(){}function Uu(t){this.aa_1=t,zu.call(this)}function Hu(t,n){return Ou.call(n),ts.call(n),n.ga_1=t,n.ha_1=t.ja(),n}function Vu(t){return Hu(new ys(Du()),t),t}function Ku(){return Vu(Object.create(ts.prototype))}function Wu(t,n,e){if(Vu(e),!(t>=0))throw ch(Ep("Negative initial capacity: "+t));if(!(n>=0))throw ch(Ep("Non-positive load factor: "+n));return e}function Gu(t,n){return Wu(t,n,Object.create(ts.prototype))}function Xu(t,n){return Wu(t,0,n),n}function Yu(t){return Xu(t,Object.create(ts.prototype))}function Zu(t,n){return Vu(n),n.v9(t),n}function Qu(t){return Zu(t,Object.create(ts.prototype))}function ts(){this.ia_1=null}function ns(t){return Eu.call(t),cs.call(t),t.la_1=Ku(),t}function es(){return ns(Object.create(cs.prototype))}function rs(t,n){return Eu.call(n),cs.call(n),n.la_1=Yu(t.f()),n.b1(t),n}function os(t){return rs(t,Object.create(cs.prototype))}function is(t,n,e){return Eu.call(e),cs.call(e),e.la_1=Gu(t,n),e}function us(t,n){return is(t,0,n),n}function ss(t){return us(t,Object.create(cs.prototype))}function as(t,n){return Eu.call(n),cs.call(n),n.la_1=t,n}function cs(){}function ps(t){if(null!=t.pa_1&&t.qa_1){var n=t.pa_1.length,e=t;if(e.ra_1=e.ra_1+1|0,e.ra_1<n)return 0}var r=t;if(r.oa_1=r.oa_1+1|0,r.oa_1<t.na_1.length){t.pa_1=t.ta_1.va_1[t.na_1[t.oa_1]];var o=t,i=t.pa_1;return o.qa_1=null!=i&&nf(i),t.ra_1=0,0}return t.pa_1=null,1}function ls(t,n){var e=hs(t,t.ua_1.z9(n));if(null==e)return null;var r=e;if(null!=r&&nf(r))return fs(r,t,n);var o=r;return t.ua_1.y9(o.q1(),n)?o:null}function fs(t,n,e){var r;t:{for(var o=t,i=0,u=o.length;i<u;){var s=o[i];if(i=i+1|0,n.ua_1.y9(s.q1(),e)){r=s;break t}}r=null}return r}function hs(t,n){var e=t.va_1[n];return void 0===e?null:e}function _s(t){this.ta_1=t,this.ma_1=-1,this.na_1=Object.keys(t.va_1),this.oa_1=-1,this.pa_1=null,this.qa_1=!1,this.ra_1=-1,this.sa_1=null}function ys(t){this.ua_1=t,this.va_1=this.xa(),this.wa_1=0}function ds(){}function vs(t){this.ab_1=t,this.ya_1=null,this.za_1=null,this.za_1=this.ab_1.bb_1.n3_1}function gs(t,n,e){this.gb_1=t,Cu.call(this,n,e),this.eb_1=null,this.fb_1=null}function ms(t){this.bb_1=t,zu.call(this)}function bs(t,n){if(null!=t.eb_1||null!=t.fb_1)throw yh(Ep("Check failed."));var e=n.n3_1;if(null==e)n.n3_1=t,t.eb_1=t,t.fb_1=t;else{var r=e.fb_1;if(null==r)throw yh(Ep("Required value was null."));var o=r;t.fb_1=o,t.eb_1=e,e.fb_1=t,o.eb_1=t}}function ws(t,n){t.eb_1===t?n.n3_1=null:(n.n3_1===t&&(n.n3_1=t.eb_1),Mp(t.eb_1).fb_1=t.fb_1,Mp(t.fb_1).eb_1=t.eb_1),t.eb_1=null,t.fb_1=null}function $s(t){return Vu(t),Os.call(t),t.o3_1=Ku(),t}function js(){return $s(Object.create(Os.prototype))}function ks(t,n,e){return Wu(t,n,e),Os.call(e),e.o3_1=Ku(),e}function qs(t,n){return ks(t,n,Object.create(Os.prototype))}function Cs(t,n){return ks(t,0,n),n}function zs(t){return Cs(t,Object.create(Os.prototype))}function xs(t,n){return Vu(n),Os.call(n),n.o3_1=Ku(),n.v9(t),n}function Ss(t){return xs(t,Object.create(Os.prototype))}function Os(){this.n3_1=null,this.p3_1=!1}function Es(t){return as(js(),t),Bs.call(t),t}function Rs(){return Es(Object.create(Bs.prototype))}function Ps(t,n){return as(js(),n),Bs.call(n),n.b1(t),n}function Ts(t){return Ps(t,Object.create(Bs.prototype))}function As(t,n,e){return as(qs(t,n),e),Bs.call(e),e}function Ns(t,n){return As(t,0,n),n}function Is(t){return Ns(t,Object.create(Bs.prototype))}function Bs(){}function Ms(){}function Ls(){return Ks(),T}function Fs(){}function Ds(t){Fs.call(this),this.lb_1=t}function Js(){Us.call(this)}function Us(){Fs.call(this),this.nb_1=""}function Hs(t){Ks(),Ls().kb(t)}function Vs(t){Ks(),Ls().jb(t)}function Ks(){var t;A||(A=!0,t="undefined"!=typeof process&&process.versions&&process.versions.node?new Ds(process.stdout):new Js,T=t)}function Ws(){}function Gs(t){for(var n={},e=t,r=0,o=e.length;r<o;){var i=e[r];r=r+1|0;var u=i.e3(),s=i.f3();n[u]=s}return n}function Xs(t){return!(t==t)}function Ys(t){var n;return au(),t===1/0?n=!0:(au(),n=t===-1/0),n}function Zs(t){return!Ys(t)&&!Xs(t)}function Qs(t){return!ta(t)&&!na(t)}function ta(t){var n;return uu(),t===1/0?n=!0:(uu(),n=t===-1/0),n}function na(t){return!(t==t)}function ea(t){var n,e=t.a5_1;return 0===e?(ou(),n=32+ra(t.b5_1)|0):n=ra(e),n}function ra(t){return ou(),32-pt(~(0|t|-t))|0}function oa(){return We(Math.random()*Math.pow(2,32)|0)}function ia(t){return(t instanceof aa?t:Dp()).qb()}function ua(){}function sa(){}function aa(t){this.pb_1=t}function ca(t,n,e){aa.call(this,t),this.tb_1=n,this.ub_1=e}function pa(){N=this,aa.call(this,Object),this.wb_1="Nothing"}function la(){return null==N&&new pa,N}function fa(){}function ha(t){aa.call(this,t);var n,e=this,r=t.$metadata$;n=null==r?null:r.simpleName,e.yb_1=n}function _a(){}function ya(){}function da(){}function va(t,n,e){return new ga(t,zf(n),e)}function ga(t,n,e){this.cc_1=t,this.dc_1=n,this.ec_1=e}function ma(){return Da(),I}function ba(t){return ef(t)}function wa(t){return of(t)}function $a(t){return null!=t&&"boolean"==typeof t}function ja(t){return null!=t&&"number"==typeof t}function ka(t){return null!=t&&"number"==typeof t}function qa(t){return null!=t&&"number"==typeof t}function Ca(t){return null!=t&&"number"==typeof t}function za(t){return null!=t&&"number"==typeof t}function xa(t){return null!=t&&nf(t)}function Sa(t){return null!=t&&"string"==typeof t}function Oa(t){return t instanceof Error}function Ea(t){return null!=t&&sf(t)}function Ra(t){return null!=t&&pf(t)}function Pa(t){return null!=t&&af(t)}function Ta(t){return null!=t&&cf(t)}function Aa(t){return null!=t&&lf(t)}function Na(t){return null!=t&&hf(t)}function Ia(t){return null!=t&&ff(t)}function Ba(t){return null!=t&&_f(t)}function Ma(t){return function(n){return"function"==typeof n&&n.length===t}}function La(){B=this;var t=Object;this.fc_1=new ca(t,"Any",ba);var n=Number;this.gc_1=new ca(n,"Number",wa),this.hc_1=la();var e=Boolean;this.ic_1=new ca(e,"Boolean",$a);var r=Number;this.jc_1=new ca(r,"Byte",ja);var o=Number;this.kc_1=new ca(o,"Short",ka);var i=Number;this.lc_1=new ca(i,"Int",qa);var u=Number;this.mc_1=new ca(u,"Float",Ca);var s=Number;this.nc_1=new ca(s,"Double",za);var a=Array;this.oc_1=new ca(a,"Array",xa);var c=String;this.pc_1=new ca(c,"String",Sa);var p=Error;this.qc_1=new ca(p,"Throwable",Oa);var l=Array;this.rc_1=new ca(l,"BooleanArray",Ea);var f=Uint16Array;this.sc_1=new ca(f,"CharArray",Ra);var h=Int8Array;this.tc_1=new ca(h,"ByteArray",Pa);var _=Int16Array;this.uc_1=new ca(_,"ShortArray",Ta);var y=Int32Array;this.vc_1=new ca(y,"IntArray",Aa);var d=Array;this.wc_1=new ca(d,"LongArray",Na);var v=Float32Array;this.xc_1=new ca(v,"FloatArray",Ia);var g=Float64Array;this.yc_1=new ca(g,"DoubleArray",Ba)}function Fa(){return null==B&&new La,B}function Da(){var t;M||(M=!0,t=np(Array(0),null),I=t)}function Ja(t){return Array.isArray(t)?Ua(t):Ha(t)}function Ua(t){var n;switch(t.length){case 1:n=Ha(t[0]);break;case 0:n=la();break;default:n=new fa}return n}function Ha(t){if(t===String)return Fa().pc_1;var n,e=t.$metadata$;if(null!=e){var r;if(null==e.$kClass$){var o=new ha(t);e.$kClass$=o,r=o}else r=e.$kClass$;n=r}else n=new ha(t);return n}function Va(t){var n;switch(typeof t){case"string":n=Fa().pc_1;break;case"number":n=Qh(t,0)===t?Fa().lc_1:Fa().nc_1;break;case"boolean":n=Fa().ic_1;break;case"function":var e;e=t,n=Fa().functionClass(e.length);break;default:var r;if(sf(t))r=Fa().rc_1;else if(pf(t))r=Fa().sc_1;else if(af(t))r=Fa().tc_1;else if(cf(t))r=Fa().uc_1;else if(lf(t))r=Fa().vc_1;else if(hf(t))r=Fa().wc_1;else if(ff(t))r=Fa().xc_1;else if(_f(t))r=Fa().yc_1;else if(Vl(t,sa))r=Ja(sa);else if(nf(t))r=Fa().oc_1;else{var o=Object.getPrototypeOf(t).constructor;r=o===Object?Fa().fc_1:o===Error?Fa().qc_1:Ha(o)}n=r}return n}function Ka(){}function Wa(t,n){return Xa(n),n}function Ga(t){return Wa(t,Object.create(Za.prototype))}function Xa(t){return Za.call(t,""),t}function Ya(){return Xa(Object.create(Za.prototype))}function Za(t){this.td_1=void 0!==t?t:""}function Qa(t){var n=Ac(t).toUpperCase();return n.length>1?t:yp(n,0)}function tc(t){return Hf(t)}function nc(t){return Cc(97)<=t&&t<=Cc(122)||!(Sc(t,Cc(128))<0)&&If(t)}function ec(t){return Uf(t)}function rc(t){if(!(2<=t&&t<=36))throw ch("radix "+t+" was not in valid range 2..36");return t}function oc(t,n){var e=Sc(t,Cc(48))>=0&&Sc(t,Cc(57))<=0?Ec(t,Cc(48)):Sc(t,Cc(65))>=0&&Sc(t,Cc(90))<=0?Ec(t,Cc(65))+10|0:Sc(t,Cc(97))>=0&&Sc(t,Cc(122))<=0?Ec(t,Cc(97))+10|0:Sc(t,Cc(128))<0?-1:Sc(t,Cc(65313))>=0&&Sc(t,Cc(65338))<=0?Ec(t,Cc(65313))+10|0:Sc(t,Cc(65345))>=0&&Sc(t,Cc(65370))<=0?Ec(t,Cc(65345))+10|0:Pf(t);return e>=n?-1:e}function ic(t){var n=+t;return(Xs(n)&&!cc(t)||0===n&&fc(t))&&qr(t),n}function uc(t){var n,e=$r(t);return null==e?qr(t):n=e,n}function sc(t){var n,e=kr(t);return null==e?qr(t):n=e,n}function ac(t){var n=+t;return Xs(n)&&!cc(t)||0===n&&fc(t)?null:n}function cc(t){switch(t.toLowerCase()){case"nan":case"+nan":case"-nan":return!0;default:return!1}}function pc(){L=this,this.zd_1=new RegExp("[\\\\^$*+?.()|[\\]{}]","g"),this.ae_1=new RegExp("[\\\\$]","g"),this.be_1=new RegExp("\\$","g")}function lc(){return null==L&&new pc,L}function fc(t){var n;if(0===vp(t))n=!0;else{var e;t:{var r=xr(t);if(Vl(r,Wc)&&r.j())e=!0;else{var o=r.x_1,i=r.y_1;if(o<=i)do{var u=o;if(o=o+1|0,!tc(yp(t,u))){e=!1;break t}}while(u!==i);e=!0}}n=e}return n}function hc(t,n,e){if(null==t)return null==n;if(null==n)return!1;if(!e)return t==n;if(t.length!==n.length)return!1;var r=0,o=t.length;if(r<o)do{var i=r;if(r=r+1|0,!_r(yp(t,i),yp(n,i),e))return!1}while(r<o);return!0}function _c(t,n,e,r){var o=new RegExp(lc().ce(n),r?"ui":"u"),i=lc().de(e);return t.replace(o,i)}function yc(t,n,e,r,o,i){return 0!=(4&o)&&(r=!1),_c(t,n,e,r)}function dc(t,n,e,r,o,i){return Yr(t,n,e,r,o,i)}function vc(t,n,e){return e?dc(t,0,n,0,n.length,e):t.startsWith(n,0)}function gc(t,n,e,r,o){return 0!=(2&r)&&(e=!1),vc(t,n,e)}function mc(t){return(new kc).ke(t)}function bc(t,n){var e;t:{for(var r=t.he_1,o=0,i=r.length;o<i;){var u=r[o];if(o=o+1|0,u===n){e=!0;break t}}e=!1}return e}function wc(t,n,e,r){if(!$c(t,n,e,r))return Zi();for(var o=t.cause;null!=o;){if(!$c(o,n,e,"Caused by: "))return Zi();o=o.cause}}function $c(t,n,e,r){n.ge_1.xd(e).xd(r);var o=t.toString();if(bc(n,t))return n.ge_1.xd("[CIRCULAR REFERENCE, SEE ABOVE: ").xd(o).xd("]\n"),!1;n.he_1.push(t);var i=t.stack,u=null==i||"string"==typeof i?i:Dp();if(null!=u){var s=Vr(u,o,0,!1,6),a=s<0?0:s+o.length|0;if(0===a&&n.ge_1.xd(o).xd("\n"),0===vp(n.ie_1)?(n.ie_1=u,n.je_1=a):u=jc(n,u,a),vp(e)>0){var c;if(0===a)c=0;else{for(var p=0,l=o,f=0,h=l.length;f<h;){var _=yp(l,f);f=f+1|0,Sp(new Bc(_),new Bc(Cc(10)))&&(p=p+1|0)}c=1+p|0}for(var y=c,d=0,v=oo(u).g();v.h();){var g=v.i(),m=d;d=m+1|0,bu(m)>=y&&n.ge_1.xd(e),n.ge_1.xd(g).xd("\n")}}else n.ge_1.xd(u).xd("\n")}else n.ge_1.xd(o).xd("\n");var b=qc(t);if(!b.j())for(var w=e+" ",$=b.g();$.h();)wc($.i(),n,w,"Suppressed: ");return!0}function jc(t,n,e){var r=0,o=0,i=0,u=0,s=t.ie_1.length-t.je_1|0,a=n.length-e|0,c=Math.min(s,a);if(u<c)t:do{var p=u;u=u+1|0;var l=yp(n,Sr(n)-p|0);if(!Sp(new Bc(l),new Bc(yp(t.ie_1,Sr(t.ie_1)-p|0))))break t;Sp(new Bc(l),new Bc(Cc(10)))&&(r=r+1|0,i=o,o=p)}while(u<c);if(r<=1)return n;for(;i>0&&Sp(new Bc(yp(n,Sr(n)-(i-1|0)|0)),new Bc(Cc(32)));)i=i-1|0;return vn(n,i)+"... and "+(r-1|0)+" more common stack frames skipped"}function kc(){var t;this.ge_1=Ya(),t=[],this.he_1=t,this.ie_1="",this.je_1=0}function qc(t){var n=t._suppressed,e=null==n?null:n;return null==e?In():e}function Cc(t){return t}function zc(t){return t}function xc(t){return Cc(65535&vi(t))}function Sc(t,n){return zc(t)-zc(n)|0}function Oc(t,n){return Sc(t.c1_1,n instanceof Bc?n.c1_1:Dp())}function Ec(t,n){return zc(t)-zc(n)|0}function Rc(t){return zc(t)}function Pc(t,n){return n instanceof Bc&&zc(t)===zc(n.c1_1)}function Tc(t){return zc(t)}function Ac(t){return String.fromCharCode(zc(t))}function Nc(){F=this,this.le_1=Cc(0),this.me_1=Cc(65535),this.ne_1=Cc(55296),this.oe_1=Cc(56319),this.pe_1=Cc(56320),this.qe_1=Cc(57343),this.re_1=Cc(55296),this.se_1=Cc(57343),this.te_1=2,this.ue_1=16}function Ic(){return null==F&&new Nc,F}function Bc(t){Ic(),this.c1_1=t}function Mc(){}function Lc(){}function Fc(){}function Dc(){}function Jc(){}function Uc(){}function Hc(){}function Vc(){}function Kc(){}function Wc(){}function Gc(){}function Xc(){}function Yc(t,n){this.d4_1=t,this.e4_1=n}function Zc(t){return t}function Qc(t){var n=null==t?null:Ep(t);return null==n?"null":n}function tp(t,n){var e=null==t?null:Ep(t),r=null==e?"null":e,o=null==n?null:Ep(n);return r+(null==o?"null":o)}function np(t,n){var e=0,r=t.length-1|0;if(e<=r)do{var o=e;e=e+1|0,t[o]=n}while(o!==r);return t}function ep(t){return new sp(t)}function rp(t){var n=np(Array(t),!1);return n.$type$="BooleanArray",n}function op(t){var n=new Uint16Array(t);return n.$type$="CharArray",n}function ip(t){var n=np(Array(t),new Yp(0,0));return n.$type$="LongArray",n}function up(t){var n=new Uint16Array(t);return n.$type$="CharArray",n}function sp(t){this.ye_1=t,this.xe_1=0}function ap(){return _p(),D}function cp(){return _p(),J}function pp(){return _p(),U}function lp(){return _p(),H}function fp(){return _p(),V}function hp(t){return _p(),Qh(t,0)===t?xl(t):(cp()[0]=t,ct(pp()[fp()],31)+pp()[lp()]|0)}function _p(){if(K);else{K=!0,D=new ArrayBuffer(8);var t=new Float64Array(ap());J=t,new Float32Array(ap());var n,e=new Int32Array(ap());U=e,cp()[0]=-1,n=0!==pp()[0]?1:0,H=n,V=1-lp()|0}}function yp(t,n){var e;if(dp(t)){var r,o=t.charCodeAt(n);if(Ic(),o<Rc(Cc(0))?r=!0:(Ic(),r=o>Rc(Cc(65535))),r)throw ch("Invalid Char code: "+o);e=Pl(o)}else e=t.s7(n);return e}function dp(t){return"string"==typeof t}function vp(t){return dp(t)?t.length:t.r7()}function gp(t,n,e){return dp(t)?t.substring(n,e):t.t7(n,e)}function mp(t,n){var e=t,r=n;if(e===r)return!0;if(null==e||null==r||!Ul(r)||e.length!=r.length)return!1;var o=0,i=e.length;if(o<i)do{var u=o;if(o=o+1|0,!Sp(e[u],r[u]))return!1}while(o<i);return!0}function bp(t){var n=t;if(null==n)return 0;var e=1,r=0,o=n.length;if(r<o)do{var i=r;r=r+1|0,e=ct(e,31)+Op(n[i])|0}while(r<o);return e}function wp(t){return jt(t,", ","[","]",0,null,$p,24)}function $p(t){return Ep(t)}function jp(t,n){var e;switch(typeof t){case"number":e="number"==typeof n?kp(t,n):n instanceof Yp?kp(t,n.ze()):qp(t,n);break;case"string":case"boolean":e=qp(t,n);break;default:e=Cp(t,n)}return e}function kp(t,n){var e;if(t<n)e=-1;else if(t>n)e=1;else if(t===n){var r;if(0!==t)r=0;else{var o=1/t;r=o===1/n?0:o<0?-1:1}e=r}else e=t!=t?n!=n?0:1:-1;return e}function qp(t,n){return t<n?-1:t>n?1:0}function Cp(t,n){return t.t6(n)}function zp(t){return xp(t)}function xp(t){if(!Zh("kotlinHashCodeValue$",t)){var n=Qh(4294967296*Math.random(),0),e=new Object;e.value=n,e.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",e)}return t.kotlinHashCodeValue$}function Sp(t,n){return null==t?null==n:null!=n&&("object"==typeof t&&"function"==typeof t.equals?t.equals(n):t!=t?n!=n:"number"==typeof t&&"number"==typeof n?t===n&&(0!==t||1/t==1/n):t===n)}function Op(t){if(null==t)return 0;var n;switch(typeof t){case"object":n="function"==typeof t.hashCode?t.hashCode():xp(t);break;case"function":n=xp(t);break;case"number":n=hp(t);break;case"boolean":n=t?1:0;break;default:n=Rp(String(t))}return n}function Ep(t){return null==t?"null":Ul(t)?"[...]":t.toString()}function Rp(t){var n=0,e=0,r=t.length-1|0;if(e<=r)do{var o=e;e=e+1|0;var i=t.charCodeAt(o);n=ct(n,31)+i|0}while(o!==r);return n}function Pp(t,n){null!=Error.captureStackTrace?Error.captureStackTrace(t,n):t.stack=(new Error).stack}function Tp(t,n){var e,r=new Error;if(Ap(t)){var o;if(Ap(n))o=t;else{var i=null==n?null:n.toString();o=null==i?void 0:i}e=o}else e=null==t?void 0:t;return r.message=e,r.cause=n,r.name="Throwable",r}function Ap(t){return void 0===t}function Np(t,n,e){Error.call(t),Ip(t,n,e)}function Ip(t,n,e){if(!Bp(t,"message")){var r;if(null==n){var o;if(null!==n){var i=null==e?null:e.toString();o=null==i?void 0:i}else o=void 0;r=o}else r=n;t.message=r}Bp(t,"cause")||(t.cause=e),t.name=Object.getPrototypeOf(t).constructor.name}function Bp(t,n){return Object.getPrototypeOf(t).hasOwnProperty(n)}function Mp(t){var n;return null==t?Lp():n=t,n}function Lp(){throw Fh()}function Fp(){throw Uh()}function Dp(){throw Kh()}function Jp(t){throw Xh("lateinit property "+t+" has not been initialized")}function Up(){throw hh()}function Hp(t,n){return new mo(n)}function Vp(t){return new mo(t)}function Kp(t,n){for(var e=t.length,r=n.length,o=0,i=n;o<e&&o<r;){var u=o,s=o;o=s+1|0,i[u]=t[s]}return n}function Wp(t,n,e){var r=t.slice(0,n);void 0!==t.$type$&&(r.$type$=t.$type$);var o=t.length;if(n>o)for(r.length=n;o<n;){var i=o;o=i+1|0,r[i]=e}return r}function Gp(){W=this,this.af_1=new Yp(0,-2147483648),this.bf_1=new Yp(-1,2147483647),this.cf_1=8,this.df_1=64}function Xp(){return null==W&&new Gp,W}function Yp(t,n){Xp(),Xi.call(this),this.a5_1=t,this.b5_1=n}function Zp(){return Cl(),G}function Qp(){return Cl(),X}function tl(){return Cl(),Y}function nl(){return Cl(),Z}function el(){return Cl(),Q}function rl(){return Cl(),tt}function ol(t,n){if(Cl(),hl(t,n))return 0;var e=vl(t),r=vl(n);return e&&!r?-1:!e&&r?1:vl(ul(t,n))?-1:1}function il(t,n){Cl();var e=t.b5_1>>>16|0,r=65535&t.b5_1,o=t.a5_1>>>16|0,i=65535&t.a5_1,u=n.b5_1>>>16|0,s=65535&n.b5_1,a=n.a5_1>>>16|0,c=0,p=0,l=0,f=0;return c=(c=c+((p=(p=p+((l=(l=l+((f=f+(i+(65535&n.a5_1)|0)|0)>>>16|0)|0)+(o+a|0)|0)>>>16|0)|0)+(r+s|0)|0)>>>16|0)|0)+(e+u|0)|0,new Yp((l&=65535)<<16|(f&=65535),(c&=65535)<<16|(p&=65535))}function ul(t,n){return Cl(),il(t,n.c5())}function sl(t,n){if(Cl(),gl(t))return Zp();if(gl(n))return Zp();if(hl(t,el()))return ml(n)?el():Zp();if(hl(n,el()))return ml(t)?el():Zp();if(vl(t))return vl(n)?sl(bl(t),bl(n)):bl(sl(bl(t),n));if(vl(n))return bl(sl(t,bl(n)));if(wl(t,rl())&&wl(n,rl()))return $l(fl(t)*fl(n));var e=t.b5_1>>>16|0,r=65535&t.b5_1,o=t.a5_1>>>16|0,i=65535&t.a5_1,u=n.b5_1>>>16|0,s=65535&n.b5_1,a=n.a5_1>>>16|0,c=65535&n.a5_1,p=0,l=0,f=0,h=0;return f=f+((h=h+ct(i,c)|0)>>>16|0)|0,h&=65535,l=(l=l+((f=f+ct(o,c)|0)>>>16|0)|0)+((f=(f&=65535)+ct(i,a)|0)>>>16|0)|0,f&=65535,p=(p=(p=p+((l=l+ct(r,c)|0)>>>16|0)|0)+((l=(l&=65535)+ct(o,a)|0)>>>16|0)|0)+((l=(l&=65535)+ct(i,s)|0)>>>16|0)|0,l&=65535,p=p+(((ct(e,c)+ct(r,a)|0)+ct(o,s)|0)+ct(i,u)|0)|0,new Yp(f<<16|h,(p&=65535)<<16|l)}function al(t,n){if(Cl(),gl(n))throw Qf("division by zero");if(gl(t))return Zp();if(hl(t,el())){if(hl(n,Qp())||hl(n,tl()))return el();if(hl(n,el()))return Qp();var e=cl(pl(t,1).d5(n),1);return hl(e,Zp())?vl(n)?Qp():tl():il(e,ul(t,sl(n,e)).d5(n))}if(hl(n,el()))return Zp();if(vl(t))return vl(n)?bl(t).d5(bl(n)):bl(bl(t).d5(n));if(vl(n))return bl(t.d5(bl(n)));for(var r=Zp(),o=t;kl(o,n);){for(var i=fl(o)/fl(n),u=Math.max(1,Math.floor(i)),s=Math.ceil(Math.log(u)/Math.LN2),a=s<=48?1:Math.pow(2,s-48),c=$l(u),p=sl(c,n);vl(p)||jl(p,o);)p=sl(c=$l(u-=a),n);gl(c)&&(c=Qp()),r=il(r,c),o=ul(o,p)}return r}function cl(t,n){Cl();var e=63&n;return 0===e?t:e<32?new Yp(t.a5_1<<e,t.b5_1<<e|t.a5_1>>>(32-e|0)|0):new Yp(0,t.a5_1<<(e-32|0))}function pl(t,n){Cl();var e=63&n;return 0===e?t:e<32?new Yp(t.a5_1>>>e|0|t.b5_1<<(32-e|0),t.b5_1>>e):new Yp(t.b5_1>>(e-32|0),t.b5_1>=0?0:-1)}function ll(t,n){Cl();var e=63&n;return 0===e?t:e<32?new Yp(t.a5_1>>>e|0|t.b5_1<<(32-e|0),t.b5_1>>>e|0):new Yp(32===e?t.b5_1:t.b5_1>>>(e-32|0)|0,0)}function fl(t){return Cl(),4294967296*t.b5_1+ql(t)}function hl(t,n){return Cl(),t.b5_1===n.b5_1&&t.a5_1===n.a5_1}function _l(t){return Cl(),t.a5_1^t.b5_1}function yl(t,n){if(Cl(),n<2||36<n)throw Qf("radix out of range: "+n);if(gl(t))return"0";if(vl(t)){if(hl(t,el())){var e=dl(n),r=t.d5(e),o=ul(sl(r,e),t).b7();return yl(r,n)+o.toString(n)}return"-"+yl(bl(t),n)}for(var i=2===n?31:n<=10?9:n<=21?7:n<=35?6:5,u=$l(Math.pow(n,i)),s=t,a="";;){var c=s.d5(u),p=ul(s,sl(c,u)).b7().toString(n);if(gl(s=c))return p+a;for(;p.length<i;)p="0"+p;a=p+a}}function dl(t){return Cl(),new Yp(t,t<0?-1:0)}function vl(t){return Cl(),t.b5_1<0}function gl(t){return Cl(),0===t.b5_1&&0===t.a5_1}function ml(t){return Cl(),1==(1&t.a5_1)}function bl(t){return Cl(),t.c5()}function wl(t,n){return Cl(),ol(t,n)<0}function $l(t){if(Cl(),Xs(t))return Zp();if(t<=-0x8000000000000000)return el();if(t+1>=0x8000000000000000)return nl();if(t<0)return bl($l(-t));var n=4294967296;return new Yp(Qh(t%n,0),Qh(t/n,0))}function jl(t,n){return Cl(),ol(t,n)>0}function kl(t,n){return Cl(),ol(t,n)>=0}function ql(t){return Cl(),t.a5_1>=0?t.a5_1:4294967296+t.a5_1}function Cl(){nt||(nt=!0,G=dl(0),X=dl(1),Y=dl(-1),Z=new Yp(-1,2147483647),Q=new Yp(0,-2147483648),tt=dl(16777216))}function zl(t){return t<<24>>24}function xl(t){return t instanceof Yp?t.b7():Sl(t)}function Sl(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:Qh(t,0)}function Ol(t){return+t}function El(t){return t<<16>>16}function Rl(t){return t instanceof Yp?t:$l(t)}function Pl(t){return xc(di(El(xl(t))))}function Tl(t){return dl(t)}function Al(t,n){return new rr(t,n)}function Nl(){return Fl(),et}function Il(){Fl();var t=void 0;return Dl(t,t,t,t,t,t)}function Bl(t,n,e,r,o){return Fl(),r.get=r,r.set=o,r.callableName=t,Ml(r,Ll(n,o,e))}function Ml(t,n){return Fl(),t.$metadata$=n,t.constructor=t,t}function Ll(t,n,e){Fl();var r=Nl()[t][null==n?0:1];return 0===r.interfaces.length&&(r.interfaces.push(e),null==r.interfacesCache?r.interfacesCache=Wl():Mp(r.interfacesCache).isComplete=!1,Yl(Mp(r.interfacesCache),e)),r}function Fl(){if(rt);else{rt=!0;var t,n=[Il(),Il()],e=[Il(),Il()];t=[Il(),Il()],et=[n,e,t]}}function Dl(t,n,e,r,o,i){return Jl("class",t,n,e,r,o,i)}function Jl(t,n,e,r,o,i,u){return{kind:t,simpleName:n,interfaceId:"interface"===t?-1:void 0,interfaces:e||[],associatedObjectKey:r,associatedObjects:o,suspendArity:i,fastPrototype:u,$kClass$:void 0,interfacesCache:{isComplete:void 0===u&&(void 0===e||0===e.length),implementInterfaceMemo:{}}}}function Ul(t){return!!Hl(t)||lt(t)}function Hl(t){return Array.isArray(t)}function Vl(t,n){var e=t.constructor;return null!=e&&Kl(e,n)}function Kl(t,n){if(t===n)return!0;var e=t.$metadata$;null!=e&&null==e.interfacesCache&&(e.interfacesCache=Wl());var r,o=null==e?null:e.interfacesCache;if(null!=o){o.isComplete||Gl(t);var i=n.$metadata$,u=null==i?null:i.interfaceId;if(null==u)return!1;var s=u;r=!!o.implementInterfaceMemo[s]}else{var a=Xl(t),c=null==a?null:a.constructor;if(null==c)return!1;r=Kl(c,n)}return r}function Wl(){return{isComplete:!1,implementInterfaceMemo:{}}}function Gl(t){var n=t.$metadata$;null!=n&&null==n.interfacesCache&&(n.interfacesCache=Wl());var e=null==n?null:n.interfacesCache;if(null!=e){if(!0===e.isComplete)return e;for(var r=n.interfaces,o=0,i=r.length;o<i;){var u=r[o];o=o+1|0,Yl(e,u),Zl(e,Gl(u))}}var s,a=Xl(t),c=null==a?null:a.constructor,p=null==c?null:Gl(c),l=e;return null==l?s=null:(Zl(l,p),l.isComplete=!0,s=l),null==s?p:s}function Xl(t){var n,e=t.$metadata$;null==e?n=null:(null==e.fastPrototype&&(e.fastPrototype=Ql(t)),n=e.fastPrototype);var r=n;return null==r?Ql(t):r}function Yl(t,n){t.implementInterfaceMemo[tf(n)]=!0}function Zl(t,n){var e=null==n?null:n.implementInterfaceMemo;if(null==e)return Zi();var r=e;Object.assign(t.implementInterfaceMemo,r)}function Ql(t){var n=t.prototype;return null==n?null:Object.getPrototypeOf(n)}function tf(t){var n,e=t.$metadata$,r=e.interfaceId,o=null==r?-1:r;if(Sp(o,-1)){var i=ot;ot=i+1|0;var u=i;e.interfaceId=u,n=u}else n=o;return n}function nf(t){return!!Hl(t)&&!t.$type$}function ef(t){switch(typeof t){case"string":case"number":case"boolean":case"function":return!0;default:return n_(t,Object)}}function rf(t,n){if("function"==typeof t)return t.$arity===n;if("object"==typeof t&&Zh("$metadata$",t.constructor)){var e,r=t.constructor.$metadata$,o=null==r?null:r.suspendArity;if(null!=o){var i=!1,u=ep(o);t:for(;u.h();)if(n===u.i()){i=!0;break t}return i}return null!=(e=null)&&e}return!1}function of(t){return"number"==typeof t||t instanceof Yp}function uf(t){return"string"==typeof t||Vl(t,ia(Ja(Hi)))}function sf(t){return!!Hl(t)&&"BooleanArray"===t.$type$}function af(t){return n_(t,Int8Array)}function cf(t){return n_(t,Int16Array)}function pf(t){return!!n_(t,Uint16Array)&&"CharArray"===t.$type$}function lf(t){return n_(t,Int32Array)}function ff(t){return n_(t,Float32Array)}function hf(t){return!!Hl(t)&&"LongArray"===t.$type$}function _f(t){return n_(t,Float64Array)}function yf(t,n,e,r,o){return Jl("interface",t,n,e,r,o,void 0)}function df(t,n,e,r,o,i){return Jl("object",t,n,e,r,o,i)}function vf(t,n){if(n===Object)return ef(t);if(null==t||null==n||"object"!=typeof t&&"function"!=typeof t)return!1;if("function"==typeof n&&n_(t,n))return!0;var e=gf(n),r=null==e?null:e.constructor;if(null!=r&&Zh("$metadata$",r)&&"object"===r.$metadata$.kind)return t===n;var o=n.$metadata$;return null==o?n_(t,n):"interface"===o.kind&&null!=t.constructor&&Kl(t.constructor,n)}function gf(t){return Object.getPrototypeOf(t)}function mf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));var e=Kp(t,op(n));return e.$type$="CharArray",e}function bf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));return Kp(t,new Float64Array(n))}function wf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));return Kp(t,new Float32Array(n))}function $f(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));var e=Wp(t,n,new Yp(0,0));return e.$type$="LongArray",e}function jf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));return Kp(t,new Int32Array(n))}function kf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));return Kp(t,new Int16Array(n))}function qf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));return Kp(t,new Int8Array(n))}function Cf(t,n){if(!(n>=0))throw ch(Ep("Invalid new array size: "+n+"."));var e=Wp(t,n,!1);return e.$type$="BooleanArray",e}function zf(t){return new Lu(t)}function xf(t,n){return mp(t,n)}function Sf(t){return bp(t)}function Of(t){var n;return null==(n=null==t?null:jt(t,", ","[","]",0,null,null,56))?"null":n}function Ef(t,n,e){for(var r=new Int32Array(e),o=0,i=0,u=0,s=t,a=0,c=s.length;a<c;){var p=yp(s,a);a=a+1|0;var l=n[Rc(p)];if(i|=(31&l)<<u,l<32){var f=o;o=f+1|0,r[f]=i,i=0,u=0}else u=u+5|0}return r}function Rf(t){var n=(t.f()/2|0)-1|0;if(n<0)return Zi();var e=Un(t),r=0;if(r<=n)do{var o=r;r=r+1|0;var i=t.k(o);t.f9(o,t.k(e)),t.f9(e,i),e=e-1|0}while(o!==n)}function Pf(t){var n=Rc(t),e=Tf(Nf().mf_1,n),r=n-Nf().mf_1[e]|0;return r<10?r:-1}function Tf(t,n){for(var e=0,r=t.length-1|0,o=-1,i=0;e<=r;)if(n>(i=t[o=(e+r|0)/2|0]))e=o+1|0;else{if(n===i)return o;r=o-1|0}return o-(n<i?1:0)|0}function Af(){it=this;var t,n=this;t=new Int32Array([48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296]),n.mf_1=t}function Nf(){return null==it&&new Af,it}function If(t){return 1===Bf(t)||Ff(Rc(t))}function Bf(t){var n=Rc(t),e=Tf(Lf().nf_1,n),r=Lf().nf_1[e],o=(r+Lf().of_1[e]|0)-1|0,i=Lf().pf_1[e];if(n>o)return 0;var u=3&i;if(0===u){var s=2,a=r,c=0;if(c<=1)do{if(c=c+1|0,(a=a+(i>>s&127)|0)>n)return 3;if((a=a+(i>>(s=s+7|0)&127)|0)>n)return 0;s=s+7|0}while(c<=1);return 3}if(i<=7)return u;var p=n-r|0;return i>>ct(2,i<=31?p%2|0:p)&3}function Mf(){ut=this;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Int32Array(128),e=0,r=vp(t)-1|0;if(e<=r)do{var o=e;e=e+1|0,n[Rc(yp(t,o))]=o}while(e<=r);var i=Ef("hCgBpCQGYHZH5BRpBPPPPPPRMP5BPPlCPP6BkEPPPPcPXPzBvBrB3BOiDoBHwD+E3DauCnFmBmB2D6E1BlBTiBmBlBP5BhBiBrBvBjBqBnBPRtBiCmCtBlB0BmB5BiB7BmBgEmChBZgCoEoGVpBSfRhBPqKQ2BwBYoFgB4CJuTiEvBuCuDrF5DgEgFlJ1DgFmBQtBsBRGsB+BPiBlD1EIjDPRPPPQPPPPPGQSQS/DxENVNU+B9zCwBwBPPCkDPNnBPqDYY1R8B7FkFgTgwGgwUwmBgKwBuBScmEP/BPPPPPPrBP8B7F1B/ErBqC6B7BiBmBfQsBUwCw/KwqIwLwETPcPjQgJxFgBlBsD",n,222),u=new Int32Array(i.length),s=0,a=i.length-1|0;if(s<=a)do{var c=s;s=s+1|0,u[c]=0===c?i[c]:u[c-1|0]+i[c]|0}while(s<=a);this.nf_1=u;var p="aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL";this.of_1=Ef(p,n,222);var l="GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB";this.pf_1=Ef(l,n,222)}function Lf(){return null==ut&&new Mf,ut}function Ff(t){var n=Tf(Jf().qf_1,t);return n>=0&&t<(Jf().qf_1[n]+Jf().rf_1[n]|0)}function Df(){st=this;var t,n=this;t=new Int32Array([170,186,688,704,736,837,890,7468,7544,7579,8305,8319,8336,8560,9424,11388,42652,42864,43e3,43868]),n.qf_1=t;var e,r=this;e=new Int32Array([1,1,9,2,5,1,1,63,1,37,1,1,13,16,26,2,2,1,2,4]),r.rf_1=e}function Jf(){return null==st&&new Df,st}function Uf(t){var n=Rc(t);return 452<=n&&n<=460||497<=n&&n<=499?Pl(ct(3,(n+1|0)/3|0)):4304<=n&&n<=4346||4349<=n&&n<=4351?t:Qa(t)}function Hf(t){var n;return 9<=(n=Rc(t))&&n<=13||28<=n&&n<=32||160===n||n>4096&&(5760===n||8192<=n&&n<=8202||8232===n||8233===n||8239===n||8287===n||12288===n)}function Vf(t){var n=t.zf_1;null!=n&&n!==t&&Mp(t.z3().b4(Se())).ag(n),t.zf_1=Gf()}function Kf(t){this.sf_1=t,this.tf_1=0,this.uf_1=0,this.vf_1=null,this.wf_1=null,this.xf_1=null;var n=this,e=this.sf_1;n.yf_1=null==e?null:e.z3(),this.zf_1=null}function Wf(){at=this}function Gf(){return null==at&&new Wf,at}function Xf(t){return Np(t,void 0,void 0),rh.call(t),t}function Yf(){var t=Xf(Object.create(rh.prototype));return Pp(t,Yf),t}function Zf(t,n){return Np(n,t,void 0),rh.call(n),n}function Qf(t){var n=Zf(t,Object.create(rh.prototype));return Pp(n,Qf),n}function th(t,n,e){return Np(e,t,n),rh.call(e),e}function nh(t,n){return Np(n,void 0,t),rh.call(n),n}function eh(t){var n=nh(t,Object.create(rh.prototype));return Pp(n,eh),n}function rh(){Pp(this,rh)}function oh(t,n){return Np(n,t,void 0),ih.call(n),n}function ih(){Pp(this,ih)}function uh(t){return $h(t),lh.call(t),t}function sh(){var t=uh(Object.create(lh.prototype));return Pp(t,sh),t}function ah(t,n){return jh(t,n),lh.call(n),n}function ch(t){var n=ah(t,Object.create(lh.prototype));return Pp(n,ch),n}function ph(t,n,e){return kh(t,n,e),lh.call(e),e}function lh(){Pp(this,lh)}function fh(t){return $h(t),dh.call(t),t}function hh(){var t=fh(Object.create(dh.prototype));return Pp(t,hh),t}function _h(t,n){return jh(t,n),dh.call(n),n}function yh(t){var n=_h(t,Object.create(dh.prototype));return Pp(n,yh),n}function dh(){Pp(this,dh)}function vh(t){return $h(t),wh.call(t),t}function gh(){var t=vh(Object.create(wh.prototype));return Pp(t,gh),t}function mh(t,n){return jh(t,n),wh.call(n),n}function bh(t){var n=mh(t,Object.create(wh.prototype));return Pp(n,bh),n}function wh(){Pp(this,wh)}function $h(t){return Xf(t),qh.call(t),t}function jh(t,n){return Zf(t,n),qh.call(n),n}function kh(t,n,e){return th(t,n,e),qh.call(e),e}function qh(){Pp(this,qh)}function Ch(t,n){return jh(t,n),xh.call(n),n}function zh(t){var n=Ch(t,Object.create(xh.prototype));return Pp(n,zh),n}function xh(){Pp(this,xh)}function Sh(t){return $h(t),Ph.call(t),t}function Oh(){var t=Sh(Object.create(Ph.prototype));return Pp(t,Oh),t}function Eh(t,n){return jh(t,n),Ph.call(n),n}function Rh(t){var n=Eh(t,Object.create(Ph.prototype));return Pp(n,Rh),n}function Ph(){Pp(this,Ph)}function Th(t,n){return jh(t,n),Nh.call(n),n}function Ah(t){var n=Th(t,Object.create(Nh.prototype));return Pp(n,Ah),n}function Nh(){Pp(this,Nh)}function Ih(t,n){return ah(t,n),Mh.call(n),n}function Bh(t){var n=Ih(t,Object.create(Mh.prototype));return Pp(n,Bh),n}function Mh(){Pp(this,Mh)}function Lh(t){return $h(t),Dh.call(t),t}function Fh(){var t=Lh(Object.create(Dh.prototype));return Pp(t,Fh),t}function Dh(){Pp(this,Dh)}function Jh(t){return $h(t),Hh.call(t),t}function Uh(){var t=Jh(Object.create(Hh.prototype));return Pp(t,Uh),t}function Hh(){Pp(this,Hh)}function Vh(t){return $h(t),Wh.call(t),t}function Kh(){var t=Vh(Object.create(Wh.prototype));return Pp(t,Kh),t}function Wh(){Pp(this,Wh)}function Gh(t,n){return jh(t,n),Yh.call(n),n}function Xh(t){var n=Gh(t,Object.create(Yh.prototype));return Pp(n,Xh),n}function Yh(){Pp(this,Yh)}function Zh(t,n){return t in n}function Qh(t,n){return t|n}function t_(t,n){delete t[n]}function n_(t,n){return t instanceof n}function e_(t,n){if(t instanceof aa&&n instanceof aa){var e,r=n.qb().$metadata$,o=null==r?null:r.associatedObjectKey;if(null==(e=null==o?null:o))return null;var i=e,u=t.qb().$metadata$,s=null==u?null:u.associatedObjects;if(null==s)return null;var a=s[i];return null==a?null:a()}return null}function r_(t,n){return yl(t,rc(n))}function o_(){}rh.prototype=Object.create(Error.prototype),rh.prototype.constructor=rh,qh.prototype=Object.create(rh.prototype),qh.prototype.constructor=qh,mn.prototype=Object.create(qh.prototype),mn.prototype.constructor=mn,Nn.prototype=Object.create(wn.prototype),Nn.prototype.constructor=Nn,On.prototype=Object.create(Nn.prototype),On.prototype.constructor=On,Rn.prototype=Object.create(wn.prototype),Rn.prototype.constructor=Rn,Ne.prototype=Object.create(Yc.prototype),Ne.prototype.constructor=Ne,Fe.prototype=Object.create(Je.prototype),Fe.prototype.constructor=Fe,tr.prototype=Object.create(Je.prototype),tr.prototype.constructor=tr,rr.prototype=Object.create(sr.prototype),rr.prototype.constructor=rr,or.prototype=Object.create(ge.prototype),or.prototype.constructor=or,ho.prototype=Object.create(po.prototype),ho.prototype.constructor=ho,go.prototype=Object.create(Yc.prototype),go.prototype.constructor=go,ih.prototype=Object.create(Error.prototype),ih.prototype.constructor=ih,No.prototype=Object.create(ih.prototype),No.prototype.constructor=No,wu.prototype=Object.create(wn.prototype),wu.prototype.constructor=wu,ju.prototype=Object.create(wu.prototype),ju.prototype.constructor=ju,Eu.prototype=Object.create(wu.prototype),Eu.prototype.constructor=Eu,zu.prototype=Object.create(Eu.prototype),zu.prototype.constructor=zu,xu.prototype=Object.create(Eu.prototype),xu.prototype.constructor=xu,Su.prototype=Object.create(wu.prototype),Su.prototype.constructor=Su,Ou.prototype=Object.create(Pn.prototype),Ou.prototype.constructor=Ou,Lu.prototype=Object.create(ju.prototype),Lu.prototype.constructor=Lu,Uu.prototype=Object.create(zu.prototype),Uu.prototype.constructor=Uu,ts.prototype=Object.create(Ou.prototype),ts.prototype.constructor=ts,cs.prototype=Object.create(Eu.prototype),cs.prototype.constructor=cs,gs.prototype=Object.create(Cu.prototype),gs.prototype.constructor=gs,ms.prototype=Object.create(zu.prototype),ms.prototype.constructor=ms,Os.prototype=Object.create(ts.prototype),Os.prototype.constructor=Os,Bs.prototype=Object.create(cs.prototype),Bs.prototype.constructor=Bs,Ds.prototype=Object.create(Fs.prototype),Ds.prototype.constructor=Ds,Us.prototype=Object.create(Fs.prototype),Us.prototype.constructor=Us,Js.prototype=Object.create(Us.prototype),Js.prototype.constructor=Js,ca.prototype=Object.create(aa.prototype),ca.prototype.constructor=ca,pa.prototype=Object.create(aa.prototype),pa.prototype.constructor=pa,ha.prototype=Object.create(aa.prototype),ha.prototype.constructor=ha,Yp.prototype=Object.create(Xi.prototype),Yp.prototype.constructor=Yp,lh.prototype=Object.create(qh.prototype),lh.prototype.constructor=lh,dh.prototype=Object.create(qh.prototype),dh.prototype.constructor=dh,wh.prototype=Object.create(qh.prototype),wh.prototype.constructor=wh,xh.prototype=Object.create(qh.prototype),xh.prototype.constructor=xh,Ph.prototype=Object.create(qh.prototype),Ph.prototype.constructor=Ph,Nh.prototype=Object.create(qh.prototype),Nh.prototype.constructor=Nh,Mh.prototype=Object.create(lh.prototype),Mh.prototype.constructor=Mh,Dh.prototype=Object.create(qh.prototype),Dh.prototype.constructor=Dh,Hh.prototype=Object.create(qh.prototype),Hh.prototype.constructor=Hh,Wh.prototype=Object.create(qh.prototype),Wh.prototype.constructor=Wh,Yh.prototype=Object.create(qh.prototype),Yh.prototype.constructor=Yh,Dl(void 0,[Xn]),fn.prototype.g=function(){return this.a1_1.g()},fn.$metadata$=Dl(void 0,[Mc]),mn.$metadata$=Dl("KotlinNothingValueException",void 0,void 0,void 0,void 0,qh.prototype),wn.prototype.i1=function(t){var n;t:if(Vl(this,Wc)&&this.j())n=!1;else{for(var e=this.g();e.h();)if(Sp(e.i(),t)){n=!0;break t}n=!1}return n},wn.prototype.j1=function(t){var n;t:if(Vl(t,Wc)&&t.j())n=!0;else{for(var e=t.g();e.h();){var r=e.i();if(!this.i1(r)){n=!1;break t}}n=!0}return n},wn.prototype.j=function(){return 0===this.f()},wn.prototype.toString=function(){return It(this,", ","[","]",0,null,bn(this),24)},wn.prototype.toArray=function(){return gu(this)},wn.$metadata$=Dl("AbstractCollection",[Wc]),$n.prototype.k1=function(t,n){if(t<0||t>=n)throw zh("index: "+t+", size: "+n)},$n.prototype.l1=function(t,n){if(t<0||t>n)throw zh("index: "+t+", size: "+n)},$n.prototype.m1=function(t,n,e){if(t<0||n>e)throw zh("startIndex: "+t+", endIndex: "+n+", size: "+e);if(t>n)throw ch("startIndex: "+t+" > endIndex: "+n)},$n.prototype.n1=function(t){for(var n=1,e=t.g();e.h();){var r=e.i(),o=ct(31,n),i=null==r?null:Op(r);n=o+(null==i?0:i)|0}return n},$n.prototype.o1=function(t,n){if(t.f()!==n.f())return!1;for(var e=n.g(),r=t.g();r.h();)if(!Sp(r.i(),e.i()))return!1;return!0},$n.$metadata$=df("Companion"),kn.prototype.h=function(){return this.p1_1.h()},kn.prototype.i=function(){return this.p1_1.i().q1()},kn.$metadata$=Dl(void 0,[Ki]),qn.prototype.h=function(){return this.r1_1.h()},qn.prototype.i=function(){return this.r1_1.i().s1()},qn.$metadata$=Dl(void 0,[Ki]),xn.prototype.t1=function(t){var n=t.q1(),e=null==n?null:Op(n),r=null==e?0:e,o=t.s1(),i=null==o?null:Op(o);return r^(null==i?0:i)},xn.prototype.u1=function(t){return Qc(t.q1())+"="+Qc(t.s1())},xn.prototype.v1=function(t,n){return!(null==n||!Vl(n,Lc))&&!!Sp(t.q1(),n.q1())&&Sp(t.s1(),n.s1())},xn.$metadata$=df("Companion"),On.prototype.x1=function(t){return this.w1_1.a2(t)},On.prototype.i1=function(t){return!(null!=t&&!ef(t))&&this.x1(null==t||ef(t)?t:Dp())},On.prototype.g=function(){return new kn(this.w1_1.q().g())},On.prototype.f=function(){return this.w1_1.f()},On.$metadata$=Dl(void 0,void 0,void 0,void 0,void 0,Nn.prototype),Rn.prototype.d2=function(t){return this.c2_1.e2(t)},Rn.prototype.i1=function(t){return!(null!=t&&!ef(t))&&this.d2(null==t||ef(t)?t:Dp())},Rn.prototype.g=function(){return new qn(this.c2_1.q().g())},Rn.prototype.f=function(){return this.c2_1.f()},Rn.$metadata$=Dl(void 0,void 0,void 0,void 0,void 0,wn.prototype),Pn.prototype.a2=function(t){return!(null==zn(this,t))},Pn.prototype.e2=function(t){var n;t:{var e=this.q();if(Vl(e,Wc)&&e.j())n=!1;else{for(var r=e.g();r.h();)if(Sp(r.i().s1(),t)){n=!0;break t}n=!1}}return n},Pn.prototype.f2=function(t){if(null==t||!Vl(t,Lc))return!1;var n=t.q1(),e=t.s1(),r=(Vl(this,Fc)?this:Dp()).g2(n);return!(!Sp(e,r)||null==r&&!(Vl(this,Fc)?this:Dp()).a2(n))},Pn.prototype.equals=function(t){if(t===this)return!0;if(null==t||!Vl(t,Fc))return!1;if(this.f()!==t.f())return!1;var n;t:{var e=t.q();if(Vl(e,Wc)&&e.j())n=!0;else{for(var r=e.g();r.h();){var o=r.i();if(!this.f2(o)){n=!1;break t}}n=!0}}return n},Pn.prototype.g2=function(t){var n=zn(this,t);return null==n?null:n.s1()},Pn.prototype.hashCode=function(){return Op(this.q())},Pn.prototype.j=function(){return 0===this.f()},Pn.prototype.f=function(){return this.q().f()},Pn.prototype.h2=function(){return null==this.y1_1&&(this.y1_1=new On(this)),Mp(this.y1_1)},Pn.prototype.toString=function(){return It(this.q(),", ","{","}",0,null,En(this),24)},Pn.prototype.b2=function(t){return Cn(this,t.q1())+"="+Cn(this,t.s1())},Pn.prototype.i2=function(){return null==this.z1_1&&(this.z1_1=new Rn(this)),Mp(this.z1_1)},Pn.$metadata$=Dl("AbstractMap",[Fc]),Tn.prototype.j2=function(t){for(var n=0,e=t.g();e.h();){var r=e.i(),o=n,i=null==r?null:Op(r);n=o+(null==i?0:i)|0}return n},Tn.prototype.k2=function(t,n){return t.f()===n.f()&&t.j1(n)},Tn.$metadata$=df("Companion"),Nn.prototype.equals=function(t){return t===this||!(null==t||!Vl(t,Hc))&&An().k2(this,t)},Nn.prototype.hashCode=function(){return An().j2(this)},Nn.$metadata$=Dl("AbstractSet",[Hc],void 0,void 0,void 0,wn.prototype),Mn.prototype.equals=function(t){return!(null==t||!Vl(t,Dc))&&t.j()},Mn.prototype.hashCode=function(){return 1},Mn.prototype.toString=function(){return"[]"},Mn.prototype.f=function(){return 0},Mn.prototype.j=function(){return!0},Mn.prototype.m2=function(t){return t.j()},Mn.prototype.j1=function(t){return this.m2(t)},Mn.prototype.k=function(t){throw zh("Empty list doesn't contain element at index "+t+".")},Mn.prototype.g=function(){return Dn()},Mn.$metadata$=df("EmptyList",[Dc,Ws,Ms]),Fn.prototype.h=function(){return!1},Fn.prototype.i=function(){throw gh()},Fn.$metadata$=df("EmptyIterator",[Wi]),Vn.prototype.f=function(){return this.n2_1.length},Vn.prototype.j=function(){return 0===this.n2_1.length},Vn.prototype.p2=function(t){return kt(this.n2_1,t)},Vn.prototype.q2=function(t){var n;t:if(Vl(t,Wc)&&t.j())n=!0;else{for(var e=t.g();e.h();){var r=e.i();if(!this.p2(r)){n=!1;break t}}n=!0}return n},Vn.prototype.j1=function(t){return this.q2(t)},Vn.prototype.g=function(){return ep(this.n2_1)},Vn.$metadata$=Dl("ArrayAsCollection",[Wc]),Xn.$metadata$=yf("Grouping"),Yn.prototype.t2=function(){return this.r2_1},Yn.prototype.s1=function(){return this.s2_1},Yn.prototype.toString=function(){return"IndexedValue(index="+this.r2_1+", value="+this.s2_1+")"},Yn.prototype.hashCode=function(){var t=this.r2_1;return t=ct(t,31)+(null==this.s2_1?0:Op(this.s2_1))|0},Yn.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Yn))return!1;var n=t instanceof Yn?t:Dp();return this.r2_1===n.r2_1&&!!Sp(this.s2_1,n.s2_1)},Yn.$metadata$=Dl("IndexedValue"),Zn.prototype.g=function(){return new ne(this.u2_1())},Zn.$metadata$=Dl("IndexingIterable",[Mc]),Dl(void 0,[Mc]),ne.prototype.h=function(){return this.w2_1.h()},ne.prototype.i=function(){var t=this,n=t.x2_1;return t.x2_1=n+1|0,new Yn(bu(n),this.w2_1.i())},ne.$metadata$=Dl("IndexingIterator",[Ki]),re.$metadata$=yf("MapWithDefault",[Fc]),ae.prototype.equals=function(t){return!(null==t||!Vl(t,Fc))&&t.j()},ae.prototype.hashCode=function(){return 0},ae.prototype.toString=function(){return"{}"},ae.prototype.f=function(){return 0},ae.prototype.j=function(){return!0},ae.prototype.a3=function(t){return!1},ae.prototype.a2=function(t){return!(null!=t&&!ef(t))&&this.a3(null==t||ef(t)?t:Dp())},ae.prototype.b3=function(t){return null},ae.prototype.g2=function(t){return null==t||ef(t)?this.b3(null==t||ef(t)?t:Dp()):null},ae.prototype.q=function(){return ke()},ae.prototype.h2=function(){return ke()},ae.prototype.i2=function(){return Ln()},ae.$metadata$=df("EmptyMap",[Fc,Ws]),ge.prototype.i=function(){return this.s3()},ge.$metadata$=Dl("IntIterator",[Ki]),me.$metadata$=yf("Sequence"),be.prototype.i=function(){return this.u3_1.w3_1(this.t3_1.i())},be.prototype.h=function(){return this.t3_1.h()},be.$metadata$=Dl(void 0,[Ki]),we.prototype.g=function(){return new be(this)},we.$metadata$=Dl("TransformingSequence",[me]),je.prototype.equals=function(t){return!(null==t||!Vl(t,Hc))&&t.j()},je.prototype.hashCode=function(){return 0},je.prototype.toString=function(){return"[]"},je.prototype.f=function(){return 0},je.prototype.j=function(){return!0},je.prototype.y3=function(t){return!1},je.prototype.i1=function(t){return!1},je.prototype.m2=function(t){return t.j()},je.prototype.j1=function(t){return this.m2(t)},je.prototype.g=function(){return Dn()},je.$metadata$=df("EmptySet",[Hc,Ws]),ze.$metadata$=yf("Continuation"),xe.$metadata$=df("Key",[Oe]),Oe.$metadata$=yf("Key"),Ee.$metadata$=yf("CoroutineContext"),Re.prototype.b4=function(t){return null},Re.prototype.hashCode=function(){return 0},Re.prototype.toString=function(){return"EmptyCoroutineContext"},Re.$metadata$=df("EmptyCoroutineContext",[Ee,Ws]),Ne.$metadata$=Dl("CoroutineSingletons",void 0,void 0,void 0,void 0,Yc.prototype),Fe.prototype.i4=function(t){return this.h4_1.i4(t)},Fe.prototype.s3=function(){return this.h4_1.s3()},Fe.prototype.j4=function(t,n){return this.h4_1.j4(t,n)},Fe.$metadata$=df("Default",[Ws],void 0,void 0,void 0,Je.prototype),Je.prototype.s3=function(){return this.i4(32)},Je.prototype.j4=function(t,n){He(t,n);var e=n-t|0;if(e>0||e===ou().s_1){var r;if((e&(0|-e))===e){var o=Ve(e);r=this.i4(o)}else{var i;do{var u=this.s3()>>>1|0;i=u%e|0}while(((u-i|0)+(e-1|0)|0)<0);r=i}return t+r|0}for(;;){var s=this.s3();if(t<=s&&s<n)return s}},Je.$metadata$=Dl("Random"),Ze.$metadata$=df("Companion"),tr.prototype.s3=function(){var t=this.l4_1;t^=t>>>2|0,this.l4_1=this.m4_1,this.m4_1=this.n4_1,this.n4_1=this.o4_1;var n=this.p4_1;this.o4_1=n,t=t^t<<1^n^n<<4,this.p4_1=t;var e=this;return e.q4_1=e.q4_1+362437|0,t+this.q4_1|0},tr.prototype.i4=function(t){return Ge(this.s3(),t)},tr.$metadata$=Dl("XorWowRandom",[Ws],void 0,void 0,void 0,Je.prototype),nr.$metadata$=df("Companion"),rr.prototype.r4=function(){return this.x_1},rr.prototype.s4=function(){return this.y_1},rr.prototype.t4=function(t){return this.x_1<=t&&t<=this.y_1},rr.prototype.j=function(){return this.x_1>this.y_1},rr.prototype.equals=function(t){return t instanceof rr&&(!(!this.j()||!t.j())||this.x_1===t.x_1&&this.y_1===t.y_1)},rr.prototype.hashCode=function(){return this.j()?-1:ct(31,this.x_1)+this.y_1|0},rr.prototype.toString=function(){return this.x_1+".."+this.y_1},rr.$metadata$=Dl("IntRange",[ar,cr],void 0,void 0,void 0,sr.prototype),or.prototype.h=function(){return this.w4_1},or.prototype.s3=function(){var t=this.x4_1;if(t===this.v4_1){if(!this.w4_1)throw gh();this.w4_1=!1}else{var n=this;n.x4_1=n.x4_1+this.u4_1|0}return t},or.$metadata$=Dl("IntProgressionIterator",void 0,void 0,void 0,void 0,ge.prototype),ir.prototype.w=function(t,n,e){return new sr(t,n,e)},ir.$metadata$=df("Companion"),sr.prototype.g=function(){return new or(this.x_1,this.y_1,this.z_1)},sr.prototype.j=function(){return this.z_1>0?this.x_1>this.y_1:this.x_1<this.y_1},sr.prototype.equals=function(t){return t instanceof sr&&(!(!this.j()||!t.j())||this.x_1===t.x_1&&this.y_1===t.y_1&&this.z_1===t.z_1)},sr.prototype.hashCode=function(){return this.j()?-1:ct(31,ct(31,this.x_1)+this.y_1|0)+this.z_1|0},sr.prototype.toString=function(){return this.z_1>0?this.x_1+".."+this.y_1+" step "+this.z_1:this.x_1+" downTo "+this.y_1+" step "+(0|-this.z_1)},sr.$metadata$=Dl("IntProgression",[Mc]),ar.$metadata$=yf("ClosedRange"),cr.$metadata$=yf("OpenEndRange"),fr.$metadata$=yf("KClassifier"),to.prototype.i=function(){if(-1===this.i5_1&&Qr(this),0===this.i5_1)throw gh();var t=this.l5_1,n=t instanceof rr?t:Dp();return this.l5_1=null,this.i5_1=-1,n},to.prototype.h=function(){return-1===this.i5_1&&Qr(this),1===this.i5_1},to.$metadata$=Dl(void 0,[Ki]),no.prototype.g=function(){return new to(this)},no.$metadata$=Dl("DelimitedRangesSequence",[me]),po.$metadata$=Dl("DeepRecursiveScope"),fo.$metadata$=Dl("DeepRecursiveFunction"),ho.prototype.z3=function(){return Pe()},ho.prototype.z5=function(t){this.w5_1=null,this.x5_1=t},ho.prototype.a4=function(t){return this.z5(t)},ho.prototype.s5=function(t,n){var e=n;return this.w5_1=Vl(e,ze)?e:Dp(),this.v5_1=t,Te()},ho.prototype.y5=function(){t:for(;;){var t=this.x5_1,n=this.w5_1;if(null==n){var e=new Eo(t)instanceof Eo?t:Dp();Po(e);var r=ko(e);return null==r||ef(r)?r:Dp()}var o=n;if(Sp(co(),t)){var i;try{var u,s=this.u5_1,a=this.v5_1;i="function"==typeof(u=s)?u(this,a,o):s.a6(this,a,o)}catch(t){if(t instanceof Error){var c;c=jo(Ro(t)),o.a4(c),Zi();continue t}throw t}var p,l=i;l!==Te()&&(p=jo(null==l||ef(l)?l:Dp()),o.a4(p),Zi())}else this.x5_1=co(),o.a4(t)}},ho.$metadata$=Dl("DeepRecursiveScopeImpl",[ze],void 0,void 0,void 0,po.prototype),yo.$metadata$=yf("Lazy"),go.$metadata$=Dl("LazyThreadSafetyMode",void 0,void 0,void 0,void 0,Yc.prototype),mo.prototype.s1=function(){this.c6_1===wo()&&(this.c6_1=Mp(this.b6_1)(),this.b6_1=null);var t=this.c6_1;return null==t||ef(t)?t:Dp()},mo.prototype.d6=function(){return!(this.c6_1===wo())},mo.prototype.toString=function(){return this.d6()?Qc(this.s1()):"Lazy value not initialized yet."},mo.$metadata$=Dl("UnsafeLazyImpl",[yo,Ws]),bo.$metadata$=df("UNINITIALIZED_VALUE"),df("Companion"),xo.prototype.equals=function(t){return t instanceof xo&&Sp(this.e6_1,t.e6_1)},xo.prototype.hashCode=function(){return Op(this.e6_1)},xo.prototype.toString=function(){return"Failure("+this.e6_1+")"},xo.$metadata$=Dl("Failure",[Ws]),Eo.prototype.toString=function(){return zo(this.h6_1)},Eo.prototype.hashCode=function(){return So(this.h6_1)},Eo.prototype.equals=function(t){return Oo(this.h6_1,t)},Eo.$metadata$=Dl("Result",[Ws]),No.$metadata$=Dl("NotImplementedError",void 0,void 0,void 0,void 0,ih.prototype),Io.prototype.i6=function(){return this.c3_1},Io.prototype.j6=function(){return this.d3_1},Io.prototype.toString=function(){return"("+this.c3_1+", "+this.d3_1+")"},Io.prototype.e3=function(){return this.c3_1},Io.prototype.f3=function(){return this.d3_1},Io.prototype.hashCode=function(){var t=null==this.c3_1?0:Op(this.c3_1);return t=ct(t,31)+(null==this.d3_1?0:Op(this.d3_1))|0},Io.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Io))return!1;var n=t instanceof Io?t:Dp();return!!Sp(this.c3_1,n.c3_1)&&!!Sp(this.d3_1,n.d3_1)},Io.$metadata$=Dl("Pair",[Ws]),Mo.prototype.toString=function(){return"("+this.k6_1+", "+this.l6_1+", "+this.m6_1+")"},Mo.prototype.hashCode=function(){var t=null==this.k6_1?0:Op(this.k6_1);return t=ct(t,31)+(null==this.l6_1?0:Op(this.l6_1))|0,t=ct(t,31)+(null==this.m6_1?0:Op(this.m6_1))|0},Mo.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Mo))return!1;var n=t instanceof Mo?t:Dp();return!!Sp(this.k6_1,n.k6_1)&&!!Sp(this.l6_1,n.l6_1)&&!!Sp(this.m6_1,n.m6_1)},Mo.$metadata$=Dl("Triple",[Ws]),Do.$metadata$=df("Companion"),Go.prototype.s6=function(t){return Uo(this.r6_1,t)},Go.prototype.t6=function(t){return Ho(this,t)},Go.prototype.toString=function(){return Vo(this.r6_1)},Go.prototype.hashCode=function(){return Ko(this.r6_1)},Go.prototype.equals=function(t){return Wo(this.r6_1,t)},Go.$metadata$=Dl("UByte",[Vi]),Zo.$metadata$=df("Companion"),ii.prototype.a7=function(t){return ti(this.y6_1,t)},ii.prototype.t6=function(t){return ni(this,t)},ii.prototype.toString=function(){return ei(this.y6_1)},ii.prototype.hashCode=function(){return ri(this.y6_1)},ii.prototype.equals=function(t){return oi(this.y6_1,t)},ii.$metadata$=Dl("UInt",[Vi]),ai.$metadata$=df("Companion"),yi.prototype.h7=function(t){return pi(this.g7_1,t)},yi.prototype.t6=function(t){return li(this,t)},yi.prototype.toString=function(){return fi(this.g7_1)},yi.prototype.hashCode=function(){return hi(this.g7_1)},yi.prototype.equals=function(t){return _i(this.g7_1,t)},yi.$metadata$=Dl("ULong",[Vi]),gi.$metadata$=df("Companion"),qi.prototype.n7=function(t){return bi(this.m7_1,t)},qi.prototype.t6=function(t){return wi(this,t)},qi.prototype.toString=function(){return $i(this.m7_1)},qi.prototype.hashCode=function(){return ji(this.m7_1)},qi.prototype.equals=function(t){return ki(this.m7_1,t)},qi.$metadata$=Dl("UShort",[Vi]),Ui.$metadata$=yf("Annotation"),Hi.$metadata$=yf("CharSequence"),Vi.$metadata$=yf("Comparable"),Ki.$metadata$=yf("Iterator"),Wi.$metadata$=yf("ListIterator",[Ki]),Gi.$metadata$=yf("MutableIterator",[Ki]),Xi.$metadata$=Dl("Number"),Yi.prototype.toString=function(){return"kotlin.Unit"},Yi.$metadata$=df("Unit"),Qi.prototype.z7=function(){return this.v7_1},Qi.prototype.a8=function(){return this.w7_1},Qi.prototype.b8=function(){return this.x7_1},Qi.prototype.c8=function(){return this.y7_1},Qi.$metadata$=df("ByteCompanionObject"),Object.defineProperty(Qi.prototype,"MIN_VALUE",{configurable:!0,get:Qi.prototype.z7}),Object.defineProperty(Qi.prototype,"MAX_VALUE",{configurable:!0,get:Qi.prototype.a8}),Object.defineProperty(Qi.prototype,"SIZE_BYTES",{configurable:!0,get:Qi.prototype.b8}),Object.defineProperty(Qi.prototype,"SIZE_BITS",{configurable:!0,get:Qi.prototype.c8}),nu.prototype.z7=function(){return this.d8_1},nu.prototype.a8=function(){return this.e8_1},nu.prototype.b8=function(){return this.f8_1},nu.prototype.c8=function(){return this.g8_1},nu.$metadata$=df("ShortCompanionObject"),Object.defineProperty(nu.prototype,"MIN_VALUE",{configurable:!0,get:nu.prototype.z7}),Object.defineProperty(nu.prototype,"MAX_VALUE",{configurable:!0,get:nu.prototype.a8}),Object.defineProperty(nu.prototype,"SIZE_BYTES",{configurable:!0,get:nu.prototype.b8}),Object.defineProperty(nu.prototype,"SIZE_BITS",{configurable:!0,get:nu.prototype.c8}),ru.prototype.z7=function(){return this.s_1},ru.prototype.a8=function(){return this.t_1},ru.prototype.b8=function(){return this.u_1},ru.prototype.c8=function(){return this.v_1},ru.$metadata$=df("IntCompanionObject"),Object.defineProperty(ru.prototype,"MIN_VALUE",{configurable:!0,get:ru.prototype.z7}),Object.defineProperty(ru.prototype,"MAX_VALUE",{configurable:!0,get:ru.prototype.a8}),Object.defineProperty(ru.prototype,"SIZE_BYTES",{configurable:!0,get:ru.prototype.b8}),Object.defineProperty(ru.prototype,"SIZE_BITS",{configurable:!0,get:ru.prototype.c8}),iu.prototype.z7=function(){return this.h8_1},iu.prototype.a8=function(){return this.i8_1},iu.prototype.o8=function(){return this.j8_1},iu.prototype.p8=function(){return this.k8_1},iu.prototype.q8=function(){return this.l8_1},iu.prototype.b8=function(){return this.m8_1},iu.prototype.c8=function(){return this.n8_1},iu.$metadata$=df("FloatCompanionObject"),Object.defineProperty(iu.prototype,"MIN_VALUE",{configurable:!0,get:iu.prototype.z7}),Object.defineProperty(iu.prototype,"MAX_VALUE",{configurable:!0,get:iu.prototype.a8}),Object.defineProperty(iu.prototype,"POSITIVE_INFINITY",{configurable:!0,get:iu.prototype.o8}),Object.defineProperty(iu.prototype,"NEGATIVE_INFINITY",{configurable:!0,get:iu.prototype.p8}),Object.defineProperty(iu.prototype,"NaN",{configurable:!0,get:iu.prototype.q8}),Object.defineProperty(iu.prototype,"SIZE_BYTES",{configurable:!0,get:iu.prototype.b8}),Object.defineProperty(iu.prototype,"SIZE_BITS",{configurable:!0,get:iu.prototype.c8}),su.prototype.z7=function(){return this.r8_1},su.prototype.a8=function(){return this.s8_1},su.prototype.o8=function(){return this.t8_1},su.prototype.p8=function(){return this.u8_1},su.prototype.q8=function(){return this.v8_1},su.prototype.b8=function(){return this.w8_1},su.prototype.c8=function(){return this.x8_1},su.$metadata$=df("DoubleCompanionObject"),Object.defineProperty(su.prototype,"MIN_VALUE",{configurable:!0,get:su.prototype.z7}),Object.defineProperty(su.prototype,"MAX_VALUE",{configurable:!0,get:su.prototype.a8}),Object.defineProperty(su.prototype,"POSITIVE_INFINITY",{configurable:!0,get:su.prototype.o8}),Object.defineProperty(su.prototype,"NEGATIVE_INFINITY",{configurable:!0,get:su.prototype.p8}),Object.defineProperty(su.prototype,"NaN",{configurable:!0,get:su.prototype.q8}),Object.defineProperty(su.prototype,"SIZE_BYTES",{configurable:!0,get:su.prototype.b8}),Object.defineProperty(su.prototype,"SIZE_BITS",{configurable:!0,get:su.prototype.c8}),cu.$metadata$=df("StringCompanionObject"),lu.$metadata$=df("BooleanCompanionObject"),hu.$metadata$=yf("Comparator"),wu.prototype.y8=function(t){this.z8();for(var n=this.g();n.h();)if(Sp(n.i(),t))return n.u7(),!0;return!1},wu.prototype.b1=function(t){this.z8();for(var n=!1,e=t.g();e.h();){var r=e.i();this.a(r)&&(n=!0)}return n},wu.prototype.toJSON=function(){return this.toArray()},wu.prototype.z8=function(){},wu.$metadata$=Dl("AbstractMutableCollection",[Gc],void 0,void 0,void 0,wn.prototype),$u.prototype.h=function(){return this.a9_1<this.c9_1.f()},$u.prototype.i=function(){if(!this.h())throw gh();var t=this,n=this,e=n.a9_1;return n.a9_1=e+1|0,t.b9_1=e,this.c9_1.k(this.b9_1)},$u.prototype.u7=function(){if(-1===this.b9_1)throw yh(Ep("Call next() or previous() before removing element from the iterator."));this.c9_1.r3(this.b9_1),this.a9_1=this.b9_1,this.b9_1=-1},$u.$metadata$=Dl("IteratorImpl",[Gi]),ju.prototype.a=function(t){return this.z8(),this.e9(this.f(),t),!0},ju.prototype.g=function(){return new $u(this)},ju.prototype.i1=function(t){return this.g9(t)>=0},ju.prototype.g9=function(t){var n=0,e=Un(this);if(n<=e)do{var r=n;if(n=n+1|0,Sp(this.k(r),t))return r}while(r!==e);return-1},ju.prototype.equals=function(t){return t===this||!(null==t||!Vl(t,Dc))&&jn().o1(this,t)},ju.prototype.hashCode=function(){return jn().n1(this)},ju.$metadata$=Dl("AbstractMutableList",[Jc],void 0,void 0,void 0,wu.prototype),ku.prototype.h=function(){return this.h9_1.h()},ku.prototype.i=function(){return this.h9_1.i().q1()},ku.prototype.u7=function(){return this.h9_1.u7()},ku.$metadata$=Dl(void 0,[Gi]),qu.prototype.h=function(){return this.i9_1.h()},qu.prototype.i=function(){return this.i9_1.i().s1()},qu.prototype.u7=function(){return this.i9_1.u7()},qu.$metadata$=Dl(void 0,[Gi]),Cu.prototype.q1=function(){return this.j9_1},Cu.prototype.s1=function(){return this.k9_1},Cu.prototype.l9=function(t){var n=this.k9_1;return this.k9_1=t,n},Cu.prototype.hashCode=function(){return Sn().t1(this)},Cu.prototype.toString=function(){return Sn().u1(this)},Cu.prototype.equals=function(t){return Sn().v1(this,t)},Cu.$metadata$=Dl("SimpleEntry",[Vc]),zu.prototype.i1=function(t){return this.m9(t)},zu.$metadata$=Dl("AbstractEntrySet",void 0,void 0,void 0,void 0,Eu.prototype),xu.prototype.o9=function(t){throw Rh("Add is not supported on keys")},xu.prototype.a=function(t){return this.o9(null==t||ef(t)?t:Dp())},xu.prototype.x1=function(t){return this.n9_1.a2(t)},xu.prototype.i1=function(t){return!(null!=t&&!ef(t))&&this.x1(null==t||ef(t)?t:Dp())},xu.prototype.g=function(){return new ku(this.n9_1.q().g())},xu.prototype.f=function(){return this.n9_1.f()},xu.prototype.z8=function(){return this.n9_1.z8()},xu.$metadata$=Dl(void 0,void 0,void 0,void 0,void 0,Eu.prototype),Su.prototype.u9=function(t){throw Rh("Add is not supported on values")},Su.prototype.a=function(t){return this.u9(null==t||ef(t)?t:Dp())},Su.prototype.d2=function(t){return this.t9_1.e2(t)},Su.prototype.i1=function(t){return!(null!=t&&!ef(t))&&this.d2(null==t||ef(t)?t:Dp())},Su.prototype.g=function(){return new qu(this.t9_1.q().g())},Su.prototype.f=function(){return this.t9_1.f()},Su.prototype.z8=function(){return this.t9_1.z8()},Su.$metadata$=Dl(void 0,void 0,void 0,void 0,void 0,wu.prototype),Ou.prototype.h2=function(){return null==this.r9_1&&(this.r9_1=new xu(this)),Mp(this.r9_1)},Ou.prototype.v9=function(t){this.z8();for(var n=t.q().g();n.h();){var e=n.i(),r=e.q1(),o=e.s1();this.l(r,o)}},Ou.prototype.i2=function(){return null==this.s9_1&&(this.s9_1=new Su(this)),Mp(this.s9_1)},Ou.prototype.q3=function(t){this.z8();for(var n=this.q().g();n.h();){var e=n.i();if(Sp(t,e.q1())){var r=e.s1();return n.u7(),r}}return null},Ou.prototype.z8=function(){},Ou.$metadata$=Dl("AbstractMutableMap",[Kc],void 0,void 0,void 0,Pn.prototype),Eu.prototype.equals=function(t){return t===this||!(null==t||!Vl(t,Hc))&&An().k2(this,t)},Eu.prototype.hashCode=function(){return An().j2(this)},Eu.$metadata$=Dl("AbstractMutableSet",[Uc],void 0,void 0,void 0,wu.prototype),Lu.prototype.w9=function(t){},Lu.prototype.f=function(){return this.d_1.length},Lu.prototype.k=function(t){var n=this.d_1[Bu(this,t)];return null==n||ef(n)?n:Dp()},Lu.prototype.f9=function(t,n){this.z8(),Bu(this,t);var e=this.d_1[t];this.d_1[t]=n;var r=e;return null==r||ef(r)?r:Dp()},Lu.prototype.a=function(t){this.z8(),this.d_1.push(t);var n=this,e=n.d9_1;return n.d9_1=e+1|0,!0},Lu.prototype.e9=function(t,n){this.z8(),this.d_1.splice(Mu(this,t),0,n);var e=this,r=e.d9_1;e.d9_1=r+1|0},Lu.prototype.b1=function(t){if(this.z8(),t.j())return!1;var n,e=this,r=e,o=e.d_1,i=vu(t);n=o.concat(i),r.d_1=n;var u=this,s=u.d9_1;return u.d9_1=s+1|0,!0},Lu.prototype.r3=function(t){this.z8(),Bu(this,t);var n=this,e=n.d9_1;return n.d9_1=e+1|0,t===Un(this)?this.d_1.pop():this.d_1.splice(t,1)[0]},Lu.prototype.y8=function(t){this.z8();var n=0,e=this.d_1.length-1|0;if(n<=e)do{var r=n;if(n=n+1|0,Sp(this.d_1[r],t)){this.d_1.splice(r,1);var o=this,i=o.d9_1;return o.d9_1=i+1|0,!0}}while(n<=e);return!1},Lu.prototype.g9=function(t){return bt(this.d_1,t)},Lu.prototype.toString=function(){return wp(this.d_1)},Lu.prototype.x9=function(){return[].slice.call(this.d_1)},Lu.prototype.toArray=function(){return this.x9()},Lu.prototype.z8=function(){if(this.e_1)throw Oh()},Lu.$metadata$=Dl("ArrayList",[Jc,Ms],void 0,void 0,void 0,ju.prototype),Fu.prototype.y9=function(t,n){return Sp(t,n)},Fu.prototype.z9=function(t){var n=null==t?null:Op(t);return null==n?0:n},Fu.$metadata$=df("HashCode",[Ju]),Ju.$metadata$=yf("EqualityComparator"),Uu.prototype.ba=function(t){throw Rh("Add is not supported on entries")},Uu.prototype.a=function(t){return this.ba(null!=t&&Vl(t,Vc)?t:Dp())},Uu.prototype.m9=function(t){return this.aa_1.f2(t)},Uu.prototype.g=function(){return this.aa_1.ga_1.g()},Uu.prototype.f=function(){return this.aa_1.f()},Uu.$metadata$=Dl("EntrySet",void 0,void 0,void 0,void 0,zu.prototype),ts.prototype.a2=function(t){return this.ga_1.x1(t)},ts.prototype.e2=function(t){var n;t:{var e=this.ga_1;if(Vl(e,Wc)&&e.j())n=!1;else{for(var r=e.g();r.h();){var o=r.i();if(this.ha_1.y9(o.s1(),t)){n=!0;break t}}n=!1}}return n},ts.prototype.q=function(){return null==this.ia_1&&(this.ia_1=this.ka()),Mp(this.ia_1)},ts.prototype.ka=function(){return new Uu(this)},ts.prototype.g2=function(t){return this.ga_1.g2(t)},ts.prototype.l=function(t,n){return this.ga_1.l(t,n)},ts.prototype.q3=function(t){return this.ga_1.q3(t)},ts.prototype.f=function(){return this.ga_1.f()},ts.$metadata$=Dl("HashMap",[Kc],void 0,void 0,void 0,Ou.prototype),cs.prototype.a=function(t){return null==this.la_1.l(t,this)},cs.prototype.i1=function(t){return this.la_1.a2(t)},cs.prototype.j=function(){return this.la_1.j()},cs.prototype.g=function(){return this.la_1.h2().g()},cs.prototype.f=function(){return this.la_1.f()},cs.$metadata$=Dl("HashSet",[Uc],void 0,void 0,void 0,Eu.prototype),_s.prototype.h=function(){return-1===this.ma_1&&(this.ma_1=ps(this)),0===this.ma_1},_s.prototype.i=function(){if(!this.h())throw gh();var t=this.qa_1?this.pa_1[this.ra_1]:this.pa_1;return this.sa_1=t,this.ma_1=-1,t},_s.prototype.u7=function(){if(null==this.sa_1)throw yh(Ep("Required value was null."));this.ta_1.q3(Mp(this.sa_1).q1()),this.sa_1=null;var t=this,n=t.ra_1;t.ra_1=n-1|0},_s.$metadata$=Dl(void 0,[Gi]),ys.prototype.ja=function(){return this.ua_1},ys.prototype.f=function(){return this.wa_1},ys.prototype.l=function(t,n){var e=this.ua_1.z9(t),r=hs(this,e);if(null==r)this.va_1[e]=new Cu(t,n);else{if(null==r||!nf(r)){var o,i=r;if(this.ua_1.y9(i.q1(),t))return i.l9(n);o=[i,new Cu(t,n)],this.va_1[e]=o;var u=this,s=u.wa_1;return u.wa_1=s+1|0,null}var a=r,c=fs(a,this,t);if(null!=c)return c.l9(n);a.push(new Cu(t,n))}var p=this,l=p.wa_1;return p.wa_1=l+1|0,null},ys.prototype.q3=function(t){var n=this.ua_1.z9(t),e=hs(this,n);if(null==e)return null;var r=e;if(null==r||!nf(r)){var o=r;if(this.ua_1.y9(o.q1(),t)){t_(this.va_1,n);var i=this,u=i.wa_1;return i.wa_1=u-1|0,o.s1()}return null}var s=r,a=0,c=s.length-1|0;if(a<=c)do{var p=a;a=a+1|0;var l=s[p];if(this.ua_1.y9(t,l.q1())){1===s.length?(s.length=0,t_(this.va_1,n)):s.splice(p,1);var f=this,h=f.wa_1;return f.wa_1=h-1|0,l.s1()}}while(a<=c);return null},ys.prototype.x1=function(t){return!(null==ls(this,t))},ys.prototype.g2=function(t){var n=ls(this,t);return null==n?null:n.s1()},ys.prototype.g=function(){return new _s(this)},ys.$metadata$=Dl("InternalHashCodeMap",[ds]),ds.$metadata$=yf("InternalMap",[Xc]),vs.prototype.h=function(){return!(null===this.za_1)},vs.prototype.i=function(){if(!this.h())throw gh();var t=Mp(this.za_1);this.ya_1=t;var n,e=this,r=t.eb_1;return n=r!==this.ab_1.bb_1.n3_1?r:null,e.za_1=n,t},vs.prototype.u7=function(){if(null==this.ya_1)throw yh(Ep("Check failed."));this.ab_1.z8(),ws(Mp(this.ya_1),this.ab_1.bb_1),this.ab_1.bb_1.o3_1.q3(Mp(this.ya_1).q1()),this.ya_1=null},vs.$metadata$=Dl("EntryIterator",[Gi]),gs.prototype.l9=function(t){return this.gb_1.z8(),Cu.prototype.l9.call(this,t)},gs.$metadata$=Dl("ChainEntry",void 0,void 0,void 0,void 0,Cu.prototype),ms.prototype.ba=function(t){throw Rh("Add is not supported on entries")},ms.prototype.a=function(t){return this.ba(null!=t&&Vl(t,Vc)?t:Dp())},ms.prototype.m9=function(t){return this.bb_1.f2(t)},ms.prototype.g=function(){return new vs(this)},ms.prototype.f=function(){return this.bb_1.f()},ms.prototype.z8=function(){return this.bb_1.z8()},ms.$metadata$=Dl("EntrySet",void 0,void 0,void 0,void 0,zu.prototype),Os.prototype.a2=function(t){return this.o3_1.a2(t)},Os.prototype.e2=function(t){var n=this.n3_1;if(null==n)return!1;var e=n;do{if(Sp(e.s1(),t))return!0;e=Mp(e.eb_1)}while(e!==this.n3_1);return!1},Os.prototype.ka=function(){return new ms(this)},Os.prototype.g2=function(t){var n=this.o3_1.g2(t);return null==n?null:n.s1()},Os.prototype.l=function(t,n){this.z8();var e=this.o3_1.g2(t);if(null==e){var r=new gs(this,t,n);return this.o3_1.l(t,r),bs(r,this),null}return e.l9(n)},Os.prototype.q3=function(t){this.z8();var n=this.o3_1.q3(t);return null!=n?(ws(n,this),n.s1()):null},Os.prototype.f=function(){return this.o3_1.f()},Os.prototype.z8=function(){if(this.p3_1)throw Oh()},Os.$metadata$=Dl("LinkedHashMap",[Kc],void 0,void 0,void 0,ts.prototype),Bs.prototype.z8=function(){return this.la_1.z8()},Bs.$metadata$=Dl("LinkedHashSet",[Uc],void 0,void 0,void 0,cs.prototype),Ms.$metadata$=yf("RandomAccess"),Fs.prototype.ib=function(){this.jb("\n")},Fs.prototype.kb=function(t){this.jb(t),this.ib()},Fs.$metadata$=Dl("BaseOutput"),Ds.prototype.jb=function(t){var n=String(t);this.lb_1.write(n)},Ds.$metadata$=Dl("NodeJsOutput",void 0,void 0,void 0,void 0,Fs.prototype),Js.prototype.jb=function(t){var n=String(t),e=n.lastIndexOf("\n",0);if(e>=0){var r,o=this,i=o,u=o.nb_1;r=n.substring(0,e),i.nb_1=u+r,this.ob();var s=e+1|0;n=n.substring(s)}var a=this;a.nb_1=a.nb_1+n},Js.prototype.ob=function(){console.log(this.nb_1),this.nb_1=""},Js.$metadata$=Dl("BufferedOutputToConsoleLog",void 0,void 0,void 0,void 0,Us.prototype),Us.prototype.jb=function(t){var n,e=this,r=e,o=e.nb_1;n=String(t),r.nb_1=o+n},Us.$metadata$=Dl("BufferedOutput",void 0,void 0,void 0,void 0,Fs.prototype),Ws.$metadata$=yf("Serializable"),ua.$metadata$=yf("KCallable"),sa.$metadata$=yf("KClass",[fr]),aa.prototype.qb=function(){return this.pb_1},aa.prototype.equals=function(t){return t instanceof aa&&Sp(this.qb(),t.qb())},aa.prototype.hashCode=function(){var t=this.rb(),n=null==t?null:Rp(t);return null==n?0:n},aa.prototype.toString=function(){return"class "+this.rb()},aa.$metadata$=Dl("KClassImpl",[sa]),ca.prototype.equals=function(t){return t instanceof ca&&!!aa.prototype.equals.call(this,t)&&this.tb_1===t.tb_1},ca.prototype.rb=function(){return this.tb_1},ca.prototype.y4=function(t){return this.ub_1(t)},ca.$metadata$=Dl("PrimitiveKClassImpl",void 0,void 0,void 0,void 0,aa.prototype),pa.prototype.rb=function(){return this.wb_1},pa.prototype.y4=function(t){return!1},pa.prototype.qb=function(){throw Rh("There's no native JS class for Nothing type")},pa.prototype.equals=function(t){return t===this},pa.prototype.hashCode=function(){return 0},pa.$metadata$=df("NothingKClassImpl",void 0,void 0,void 0,void 0,aa.prototype),fa.prototype.rb=function(){throw yh("Unknown simpleName for ErrorKClass")},fa.prototype.y4=function(t){throw yh("Can's check isInstance on ErrorKClass")},fa.prototype.equals=function(t){return t===this},fa.prototype.hashCode=function(){return 0},fa.$metadata$=Dl("ErrorKClass",[sa]),ha.prototype.rb=function(){return this.yb_1},ha.prototype.y4=function(t){return vf(t,this.qb())},ha.$metadata$=Dl("SimpleKClassImpl",void 0,void 0,void 0,void 0,aa.prototype),_a.$metadata$=yf("KProperty1",[ya]),ya.$metadata$=yf("KProperty",[ua]),da.$metadata$=yf("KType"),ga.prototype.zb=function(){return this.cc_1},ga.prototype.ac=function(){return this.dc_1},ga.prototype.bc=function(){return this.ec_1},ga.prototype.equals=function(t){return!!(t instanceof ga&&Sp(this.cc_1,t.cc_1)&&Sp(this.dc_1,t.dc_1))&&this.ec_1===t.ec_1},ga.prototype.hashCode=function(){return ct(ct(Op(this.cc_1),31)+Op(this.dc_1)|0,31)+(0|this.ec_1)|0},ga.prototype.toString=function(){var t=this.cc_1,n=Vl(t,sa)?t:null,e=null==n?Ep(this.cc_1):null!=n.rb()?n.rb():"(non-denotable type)",r=this.dc_1.j()?"":It(this.dc_1,", ","<",">",0,null,null,56),o=this.ec_1?"?":"";return tp(e,r)+o},ga.$metadata$=Dl("KTypeImpl",[da]),La.prototype.zc=function(){return this.fc_1},La.prototype.ad=function(){return this.gc_1},La.prototype.bd=function(){return this.hc_1},La.prototype.cd=function(){return this.ic_1},La.prototype.dd=function(){return this.jc_1},La.prototype.ed=function(){return this.kc_1},La.prototype.fd=function(){return this.lc_1},La.prototype.gd=function(){return this.mc_1},La.prototype.hd=function(){return this.nc_1},La.prototype.id=function(){return this.oc_1},La.prototype.jd=function(){return this.pc_1},La.prototype.kd=function(){return this.qc_1},La.prototype.ld=function(){return this.rc_1},La.prototype.md=function(){return this.sc_1},La.prototype.nd=function(){return this.tc_1},La.prototype.od=function(){return this.uc_1},La.prototype.pd=function(){return this.vc_1},La.prototype.qd=function(){return this.wc_1},La.prototype.rd=function(){return this.xc_1},La.prototype.sd=function(){return this.yc_1},La.prototype.functionClass=function(t){var n,e=ma()[t];if(null==e){var r=new ca(Function,"Function"+t,Ma(t));ma()[t]=r,n=r}else n=e;return n},La.$metadata$=df("PrimitiveClasses"),Object.defineProperty(La.prototype,"anyClass",{configurable:!0,get:La.prototype.zc}),Object.defineProperty(La.prototype,"numberClass",{configurable:!0,get:La.prototype.ad}),Object.defineProperty(La.prototype,"nothingClass",{configurable:!0,get:La.prototype.bd}),Object.defineProperty(La.prototype,"booleanClass",{configurable:!0,get:La.prototype.cd}),Object.defineProperty(La.prototype,"byteClass",{configurable:!0,get:La.prototype.dd}),Object.defineProperty(La.prototype,"shortClass",{configurable:!0,get:La.prototype.ed}),Object.defineProperty(La.prototype,"intClass",{configurable:!0,get:La.prototype.fd}),Object.defineProperty(La.prototype,"floatClass",{configurable:!0,get:La.prototype.gd}),Object.defineProperty(La.prototype,"doubleClass",{configurable:!0,get:La.prototype.hd}),Object.defineProperty(La.prototype,"arrayClass",{configurable:!0,get:La.prototype.id}),Object.defineProperty(La.prototype,"stringClass",{configurable:!0,get:La.prototype.jd}),Object.defineProperty(La.prototype,"throwableClass",{configurable:!0,get:La.prototype.kd}),Object.defineProperty(La.prototype,"booleanArrayClass",{configurable:!0,get:La.prototype.ld}),Object.defineProperty(La.prototype,"charArrayClass",{configurable:!0,get:La.prototype.md}),Object.defineProperty(La.prototype,"byteArrayClass",{configurable:!0,get:La.prototype.nd}),Object.defineProperty(La.prototype,"shortArrayClass",{configurable:!0,get:La.prototype.od}),Object.defineProperty(La.prototype,"intArrayClass",{configurable:!0,get:La.prototype.pd}),Object.defineProperty(La.prototype,"longArrayClass",{configurable:!0,get:La.prototype.qd}),Object.defineProperty(La.prototype,"floatArrayClass",{configurable:!0,get:La.prototype.rd}),Object.defineProperty(La.prototype,"doubleArrayClass",{configurable:!0,get:La.prototype.sd}),Ka.$metadata$=yf("Appendable"),Za.prototype.r7=function(){return this.td_1.length},Za.prototype.s7=function(t){var n=this.td_1;if(!(t>=0&&t<=Sr(n)))throw zh("index: "+t+", length: "+this.r7()+"}");return yp(n,t)},Za.prototype.t7=function(t,n){return this.td_1.substring(t,n)},Za.prototype.z4=function(t){var n=this;return n.td_1=n.td_1+new Bc(t),this},Za.prototype.b=function(t){var n=this;return n.td_1=n.td_1+Qc(t),this},Za.prototype.ud=function(t,n,e){var r=t;return this.vd(null==r?"null":r,n,e)},Za.prototype.wd=function(t){var n=this;return n.td_1=n.td_1+Qc(t),this},Za.prototype.xd=function(t){var n=this,e=n,r=n.td_1,o=t;return e.td_1=r+(null==o?"null":o),this},Za.prototype.yd=function(t){if(t<0)throw ch("Negative new length: "+t+".");if(t<=this.r7()){var n,e=this;n=this.td_1.substring(0,t),e.td_1=n}else{var r=this.r7();if(r<t)do{r=r+1|0;var o=this;o.td_1=o.td_1+new Bc(Cc(0))}while(r<t)}},Za.prototype.toString=function(){return this.td_1},Za.prototype.vd=function(t,n,e){var r=Ep(t);jn().m1(n,e,r.length);var o,i=this,u=i,s=i.td_1;return o=r.substring(n,e),u.td_1=s+o,this},Za.$metadata$=Dl("StringBuilder",[Ka,Hi]),pc.prototype.ce=function(t){var n=this.zd_1;return t.replace(n,"\\$&")},pc.prototype.de=function(t){var n=this.be_1;return t.replace(n,"$$$$")},pc.$metadata$=df("Companion"),Dl("sam$kotlin_Comparator$0",[hu]),kc.prototype.ke=function(t){return wc(t,this,"",""),this.ge_1.toString()},kc.$metadata$=Dl("ExceptionTraceBuilder"),Nc.$metadata$=df("Companion"),Bc.prototype.ve=function(t){return Sc(this.c1_1,t)},Bc.prototype.t6=function(t){return Oc(this,t)},Bc.prototype.equals=function(t){return Pc(this.c1_1,t)},Bc.prototype.hashCode=function(){return Tc(this.c1_1)},Bc.prototype.toString=function(){return Ac(this.c1_1)},Bc.$metadata$=Dl("Char",[Vi]),Mc.$metadata$=yf("Iterable"),Lc.$metadata$=yf("Entry"),Fc.$metadata$=yf("Map"),Dc.$metadata$=yf("List",[Wc]),Jc.$metadata$=yf("MutableList",[Dc,Gc]),Uc.$metadata$=yf("MutableSet",[Hc,Gc]),Hc.$metadata$=yf("Set",[Wc]),Vc.$metadata$=yf("MutableEntry",[Lc]),Kc.$metadata$=yf("MutableMap",[Fc]),Wc.$metadata$=yf("Collection",[Mc]),Gc.$metadata$=yf("MutableCollection",[Wc,Xc]),Xc.$metadata$=yf("MutableIterable",[Mc]),df("Companion"),Yc.prototype.f4=function(){return this.d4_1},Yc.prototype.we=function(){return this.e4_1},Yc.prototype.g4=function(t){return jp(this.e4_1,t.e4_1)},Yc.prototype.t6=function(t){return this.g4(t instanceof Yc?t:Dp())},Yc.prototype.equals=function(t){return this===t},Yc.prototype.hashCode=function(){return zp(this)},Yc.prototype.toString=function(){return this.d4_1},Yc.$metadata$=Dl("Enum",[Vi]),sp.prototype.h=function(){return!(this.xe_1===this.ye_1.length)},sp.prototype.i=function(){if(this.xe_1===this.ye_1.length)throw bh(""+this.xe_1);var t=this,n=t.xe_1;return t.xe_1=n+1|0,this.ye_1[n]},sp.$metadata$=Dl(void 0,[Ki]),Gp.$metadata$=df("Companion"),Yp.prototype.e5=function(t){return ol(this,t)},Yp.prototype.t6=function(t){return this.e5(t instanceof Yp?t:Dp())},Yp.prototype.ef=function(t){return this.g5(Tl(t))},Yp.prototype.g5=function(t){return il(this,t)},Yp.prototype.ff=function(t){return this.h5(Tl(t))},Yp.prototype.h5=function(t){return ul(this,t)},Yp.prototype.gf=function(t){return this.f5(Tl(t))},Yp.prototype.f5=function(t){return sl(this,t)},Yp.prototype.hf=function(t){return this.d5(Tl(t))},Yp.prototype.d5=function(t){return al(this,t)},Yp.prototype.c5=function(){return this.if().g5(new Yp(1,0))},Yp.prototype.q7=function(t){return cl(this,t)},Yp.prototype.p7=function(t){return ll(this,t)},Yp.prototype.z6=function(t){return new Yp(this.a5_1&t.a5_1,this.b5_1&t.b5_1)},Yp.prototype.jf=function(t){return new Yp(this.a5_1|t.a5_1,this.b5_1|t.b5_1)},Yp.prototype.o7=function(t){return new Yp(this.a5_1^t.a5_1,this.b5_1^t.b5_1)},Yp.prototype.if=function(){return new Yp(~this.a5_1,~this.b5_1)},Yp.prototype.kf=function(){return zl(this.a5_1)},Yp.prototype.lf=function(){return El(this.a5_1)},Yp.prototype.b7=function(){return this.a5_1},Yp.prototype.ze=function(){return fl(this)},Yp.prototype.valueOf=function(){return this.ze()},Yp.prototype.equals=function(t){return t instanceof Yp&&hl(this,t)},Yp.prototype.hashCode=function(){return _l(this)},Yp.prototype.toString=function(){return yl(this,10)},Yp.$metadata$=Dl("Long",[Vi],void 0,void 0,void 0,Xi.prototype),Af.$metadata$=df("Digit"),Mf.$metadata$=df("Letter"),Df.$metadata$=df("OtherLowercase"),Kf.prototype.z3=function(){return Mp(this.yf_1)},Kf.prototype.bg=function(t){var n,e=this;if(qo(t))n=null;else{var r=ko(t);n=null==r||ef(r)?r:Dp()}for(var o=n,i=Co(t);;){var u=e;null==i?u.vf_1=o:(u.tf_1=u.uf_1,u.wf_1=i);try{var s=u.cg();if(s===Te())return Zi();o=s,i=null}catch(t){o=null,i=t}Vf(u);var a,c,p=Mp(u.sf_1);if(!(p instanceof Kf))return null!=i?(a=jo(Ro(Mp(i))),p.a4(a),Zi()):(c=jo(o),p.a4(c),Zi()),Zi();e=p,Zi()}},Kf.prototype.a4=function(t){return this.bg(t)},Kf.$metadata$=Dl("CoroutineImpl",[ze]),Wf.prototype.z3=function(){throw yh("This continuation is already complete")},Wf.prototype.bg=function(t){throw yh("This continuation is already complete")},Wf.prototype.a4=function(t){return this.bg(t)},Wf.prototype.toString=function(){return"This continuation is already complete"},Wf.$metadata$=df("CompletedContinuation",[ze]),rh.$metadata$=Dl("Exception",void 0,void 0,void 0,void 0,Error.prototype),ih.$metadata$=Dl("Error",void 0,void 0,void 0,void 0,Error.prototype),lh.$metadata$=Dl("IllegalArgumentException",void 0,void 0,void 0,void 0,qh.prototype),dh.$metadata$=Dl("IllegalStateException",void 0,void 0,void 0,void 0,qh.prototype),wh.$metadata$=Dl("NoSuchElementException",void 0,void 0,void 0,void 0,qh.prototype),qh.$metadata$=Dl("RuntimeException",void 0,void 0,void 0,void 0,rh.prototype),xh.$metadata$=Dl("IndexOutOfBoundsException",void 0,void 0,void 0,void 0,qh.prototype),Ph.$metadata$=Dl("UnsupportedOperationException",void 0,void 0,void 0,void 0,qh.prototype),Nh.$metadata$=Dl("ArithmeticException",void 0,void 0,void 0,void 0,qh.prototype),Mh.$metadata$=Dl("NumberFormatException",void 0,void 0,void 0,void 0,lh.prototype),Dh.$metadata$=Dl("NullPointerException",void 0,void 0,void 0,void 0,qh.prototype),Hh.$metadata$=Dl("NoWhenBranchMatchedException",void 0,void 0,void 0,void 0,qh.prototype),Wh.$metadata$=Dl("ClassCastException",void 0,void 0,void 0,void 0,qh.prototype),Yh.$metadata$=Dl("UninitializedPropertyAccessException",void 0,void 0,void 0,void 0,qh.prototype),yf("Function1"),o_.$metadata$=yf("SuspendFunction2"),ys.prototype.xa=ft,ot=0,t.$_$=t.$_$||{},t.$_$.a=va,t.$_$.b=e_,t.$_$.c=Va,t.$_$.d=Ja,t.$_$.e=$o,t.$_$.f=It,t.$_$.g=Er,t.$_$.h=Pr,t.$_$.i=yc,t.$_$.j=Br,t.$_$.k=Nr,t.$_$.l=Ao,t.$_$.m=Au,t.$_$.n=Pu,t.$_$.o=Iu,t.$_$.p=Yu,t.$_$.q=Ku,t.$_$.r=Qu,t.$_$.s=ss,t.$_$.t=es,t.$_$.u=os,t.$_$.v=zs,t.$_$.w=js,t.$_$.x=Ss,t.$_$.y=Rs,t.$_$.z=Ts,t.$_$.a1=Ga,t.$_$.b1=Ya,t.$_$.c1=eh,t.$_$.d1=Xf,t.$_$.e1=Yf,t.$_$.f1=Qf,t.$_$.g1=th,t.$_$.h1=sh,t.$_$.i1=ah,t.$_$.j1=ch,t.$_$.k1=ph,t.$_$.l1=yh,t.$_$.m1=zh,t.$_$.n1=Cc,t.$_$.o1=Ec,t.$_$.p1=Rc,t.$_$.q1=Ac,t.$_$.r1=Lo,t.$_$.s1=Fo,t.$_$.t1=Vo,t.$_$.u1=Xo,t.$_$.v1=Yo,t.$_$.w1=ei,t.$_$.x1=ui,t.$_$.y1=si,t.$_$.z1=fi,t.$_$.a2=di,t.$_$.b2=vi,t.$_$.c2=$i,t.$_$.d2=fu,t.$_$.e2=tu,t.$_$.f2=au,t.$_$.g2=uu,t.$_$.h2=ou,t.$_$.i2=eu,t.$_$.j2=pu,t.$_$.k2=De,t.$_$.l2=Fa,t.$_$.m2=Ic,t.$_$.n2=Xp,t.$_$.o2=Jo,t.$_$.p2=Qo,t.$_$.q2=ci,t.$_$.r2=mi,t.$_$.s2=Zi,t.$_$.t2=Lu,t.$_$.u2=Wc,t.$_$.v2=Xn,t.$_$.w2=ts,t.$_$.x2=cs,t.$_$.y2=Mc,t.$_$.z2=Ki,t.$_$.a3=Os,t.$_$.b3=Bs,t.$_$.c3=Dc,t.$_$.d3=Lc,t.$_$.e3=Fc,t.$_$.f3=Jc,t.$_$.g3=Kc,t.$_$.h3=Uc,t.$_$.i3=Hc,t.$_$.j3=zf,t.$_$.k3=Qn,t.$_$.l3=xf,t.$_$.m3=Sf,t.$_$.n3=Of,t.$_$.o3=kf,t.$_$.p3=$f,t.$_$.q3=Cf,t.$_$.r3=mf,t.$_$.s3=qf,t.$_$.t3=bf,t.$_$.u3=wf,t.$_$.v3=jf,t.$_$.w3=vu,t.$_$.x3=In,t.$_$.y3=ie,t.$_$.z3=qe,t.$_$.a4=Ut,t.$_$.b4=ye,t.$_$.c4=bt,t.$_$.d4=dt,t.$_$.e4=yt,t.$_$.f4=Rt,t.$_$.g4=Un,t.$_$.h4=Xt,t.$_$.i4=Dt,t.$_$.j4=Wn,t.$_$.k4=du,t.$_$.l4=Bn,t.$_$.m4=_u,t.$_$.n4=yu,t.$_$.o4=oe,t.$_$.p4=hn,t.$_$.q4=de,t.$_$.r4=zt,t.$_$.s4=$e,t.$_$.t4=Jt,t.$_$.u4=At,t.$_$.v4=Tt,t.$_$.w4=Ft,t.$_$.x4=ht,t.$_$.y4=ue,t.$_$.z4=_t,t.$_$.a5=Et,t.$_$.b5=Te,t.$_$.c5=Kf,t.$_$.d5=o_,t.$_$.e5=Hs,t.$_$.f5=Vs,t.$_$.g5=ep,t.$_$.h5=rp,t.$_$.i5=Pp,t.$_$.j5=op,t.$_$.k5=yp,t.$_$.l5=vp,t.$_$.m5=gp,t.$_$.n5=Dl,t.$_$.o5=Sp,t.$_$.p5=Np,t.$_$.q5=np,t.$_$.r5=hp,t.$_$.s5=Bl,t.$_$.t5=Rp,t.$_$.u5=Op,t.$_$.v5=yf,t.$_$.w5=nf,t.$_$.x5=sf,t.$_$.y5=af,t.$_$.z5=pf,t.$_$.a6=_f,t.$_$.b6=ff,t.$_$.c6=lf,t.$_$.d6=Vl,t.$_$.e6=hf,t.$_$.f6=of,t.$_$.g6=ef,t.$_$.h6=cf,t.$_$.i6=ia,t.$_$.j6=Gs,t.$_$.k6=ip,t.$_$.l6=Tp,t.$_$.m6=Al,t.$_$.n6=Pl,t.$_$.o6=Ol,t.$_$.p6=Rl,t.$_$.q6=df,t.$_$.r6=zl,t.$_$.s6=Tl,t.$_$.t6=El,t.$_$.u6=Ep,t.$_$.v6=tn,t.$_$.w6=rn,t.$_$.x6=nn,t.$_$.y6=un,t.$_$.z6=Qt,t.$_$.a7=sa,t.$_$.b7=_a,t.$_$.c7=lr,t.$_$.d7=hc,t.$_$.e7=fc,t.$_$.f7=nc,t.$_$.g7=Tr,t.$_$.h7=_n,t.$_$.i7=yn,t.$_$.j7=yr,t.$_$.k7=ac,t.$_$.l7=ic,t.$_$.m7=$r,t.$_$.n7=uc,t.$_$.o7=kr,t.$_$.p7=sc,t.$_$.q7=xi,t.$_$.r7=Ci,t.$_$.s7=Oi,t.$_$.t7=zi,t.$_$.u7=Si,t.$_$.v7=dr,t.$_$.w7=Ui,t.$_$.x7=Bc,t.$_$.y7=fo,t.$_$.z7=po,t.$_$.a8=Yc,t.$_$.b8=rh,t.$_$.c8=lh,t.$_$.d8=Yp,t.$_$.e8=No,t.$_$.f8=Io,t.$_$.g8=Dp,t.$_$.h8=Up,t.$_$.i8=Mo,t.$_$.j8=Go,t.$_$.k8=ii,t.$_$.l8=yi,t.$_$.m8=qi,t.$_$.n8=Yi,t.$_$.o8=Zc,t.$_$.p8=ea,t.$_$.q8=Mp,t.$_$.r8=lo,t.$_$.s8=Zs,t.$_$.t8=Qs,t.$_$.u8=Hp,t.$_$.v8=Vp,t.$_$.w8=Fp,t.$_$.x8=mc,t.$_$.y8=Jp,t.$_$.z8=Qc,t.$_$.a9=Bo}(t.exports)),o;var t,n,r}var s,a={},c={get exports(){return a},set exports(t){a=t}},p={},l={get exports(){return p},set exports(t){p=t}};function f(){return s||(s=1,function(t,n){var e,r,o,i,u,s,a,c,p,l,f,h,_,y,d=n.$_$.n5,v=n.$_$.q6,g=n.$_$.k4,m=n.$_$.v5,b=n.$_$.h8,w=n.$_$.s2,$=n.$_$.a8,j=n.$_$.x8;function k(){}function q(){return P(),e}function C(){return r}function z(t,n,e,r,o){return 0!=(2&e)&&(n="Kermit"),O.call(o,t,n),o}function x(){o=this,z(R().j1a_1,null,2,null,this)}function S(){return null==o&&new x,o}function O(t,n){S(),this.n1a_1=t,this.o1a_1=n}function E(){i=this,this.j1a_1=W(g(X()))}function R(){return null==i&&new E,i}function P(){u||(u=!0,e=M())}function T(){}function A(){}function N(t){switch(t){case"Verbose":return M();case"Debug":return L();case"Info":return F();case"Warn":return D();case"Error":return J();case"Assert":return U();default:I(),b()}}function I(){if(h)return w();h=!0,s=new B("Verbose",0),a=new B("Debug",1),c=new B("Info",2),p=new B("Warn",3),l=new B("Error",4),f=new B("Assert",5)}function B(t,n){$.call(this,t,n)}function M(){return I(),s}function L(){return I(),a}function F(){return I(),c}function D(){return I(),p}function J(){return I(),l}function U(){return I(),f}function H(){k.call(this)}function V(t){this.y1a_1=q(),this.z1a_1=t}function K(){return G(),_}function W(t){return G(),new V(t)}function G(){y||(y=!0,_=C())}function X(){return new H}x.prototype=Object.create(O.prototype),x.prototype.constructor=x,B.prototype=Object.create($.prototype),B.prototype.constructor=B,H.prototype=Object.create(k.prototype),H.prototype.constructor=H,k.prototype.h1a=function(t){return!0},k.$metadata$=d("LogWriter"),x.prototype.m1a=function(){return K()},x.$metadata$=v("Companion",void 0,void 0,void 0,void 0,O.prototype),O.prototype.p1a=function(){return this.n1a_1},O.prototype.m1a=function(){return this.o1a_1},O.prototype.q1a=function(t){return new O(this.n1a_1,t)},O.prototype.r1a=function(t){this.n1a_1.w1a().g4(F())<=0&&this.v1a(F(),this.m1a(),null,t())},O.prototype.s1a=function(t){this.n1a_1.w1a().g4(D())<=0&&this.v1a(D(),this.m1a(),null,t())},O.prototype.t1a=function(t){this.n1a_1.w1a().g4(J())<=0&&this.v1a(J(),this.m1a(),null,t())},O.prototype.u1a=function(t){this.n1a_1.w1a().g4(J())<=0&&this.v1a(J(),this.m1a(),null,t)},O.prototype.v1a=function(t,n,e,r){for(var o=this.n1a_1.x1a().g();o.h();){var i=o.i();i.h1a(t)&&i.i1a(t,r,n,e)}},O.$metadata$=d("Logger"),E.$metadata$=v("LoggerGlobal"),T.$metadata$=m("LoggerConfig"),A.$metadata$=m("MutableLoggerConfig",[T]),B.$metadata$=d("Severity",void 0,void 0,void 0,void 0,$.prototype),H.prototype.i1a=function(t,n,e,r){var o="["+e+"] "+n;switch(null==r||(o=o+" "+j(r),w()),t.e4_1){case 5:case 4:console.error(o);break;case 3:console.warn(o);break;case 2:console.info(o);break;case 1:case 0:console.log(o)}},H.$metadata$=d("ConsoleWriter",void 0,void 0,void 0,void 0,k.prototype),V.prototype.w1a=function(){return this.y1a_1},V.prototype.x1a=function(){return this.z1a_1},V.$metadata$=d("JsMutableLoggerConfig",[A]),r="Kermit",t.$_$=t.$_$||{},t.$_$.a=T,t.$_$.b=O,t.$_$.c=N,t.$_$.d=L,t.$_$.e=J,t.$_$.f=F,t.$_$.g=D,t.$_$.h=S}(l.exports,u())),p}var h,_={},y={get exports(){return _},set exports(t){_=t}};function d(){return h||(h=1,function(t,n){var e,r,o,i,u,s,a,c,p,l,f,h,_,y,d,v,g,m,b,w,$,j,k,q,C,z,x,S,O,E,R,P,T,A,N,I,B,M,L,F,D,J,U,H,V,K,W,G,X,Y,Z,Q=Math.imul,tt=n.$_$.g8,nt=n.$_$.t5,et=n.$_$.w7,rt=n.$_$.n5,ot=n.$_$.v5,it=n.$_$.c,ut=n.$_$.j2,st=n.$_$.s2,at=n.$_$.x3,ct=n.$_$.e,pt=n.$_$.u8,lt=n.$_$.b7,ft=n.$_$.s5,ht=n.$_$.j3,_t=n.$_$.d3,yt=n.$_$.d6,dt=n.$_$.v2,vt=n.$_$.j1,gt=n.$_$.a5,mt=n.$_$.y4,bt=n.$_$.w,wt=n.$_$.u6,$t=n.$_$.l1,jt=n.$_$.m4,kt=n.$_$.v,qt=n.$_$.e3,Ct=n.$_$.i1,zt=n.$_$.i5,xt=n.$_$.k1,St=n.$_$.c8,Ot=n.$_$.k3,Et=n.$_$.m,Rt=n.$_$.a7,Pt=n.$_$.w3,Tt=n.$_$.i8,At=n.$_$.d,Nt=n.$_$.f8,It=n.$_$.a3,Bt=n.$_$.g3,Mt=n.$_$.w2,Lt=n.$_$.b3,Ft=n.$_$.h3,Dt=n.$_$.i3,Jt=n.$_$.x2,Ut=n.$_$.t2,Ht=n.$_$.f3,Vt=n.$_$.c3,Kt=n.$_$.u2,Wt=n.$_$.o5,Gt=n.$_$.z2,Xt=n.$_$.y2,Yt=n.$_$.e7,Zt=n.$_$.x4,Qt=n.$_$.n,tn=n.$_$.t,nn=n.$_$.v4,en=n.$_$.u4,rn=n.$_$.z4,on=n.$_$.a9,un=n.$_$.v8,sn=n.$_$.l3,an=n.$_$.z6,cn=n.$_$.f,pn=n.$_$.q6,ln=n.$_$.q8,fn=n.$_$.d8,hn=n.$_$.x7,_n=n.$_$.g6,yn=n.$_$.m7,dn=n.$_$.u5,vn=n.$_$.o,gn=n.$_$.w5,mn=n.$_$.g5,bn=n.$_$.x,wn=n.$_$.y6,$n=n.$_$.b4,jn=n.$_$.u,kn=n.$_$.y,qn=n.$_$.z,Cn=n.$_$.q,zn=n.$_$.r,xn=n.$_$.k6,Sn=n.$_$.n2,On=n.$_$.f4,En=n.$_$.p8,Rn=n.$_$.c4,Pn=n.$_$.n3,Tn=n.$_$.q5,An=n.$_$.h2,Nn=n.$_$.v1,In=n.$_$.k8,Bn=n.$_$.u1,Mn=n.$_$.y1,Ln=n.$_$.l8,Fn=n.$_$.x1,Dn=n.$_$.e2,Jn=n.$_$.s1,Un=n.$_$.j8,Hn=n.$_$.r1,Vn=n.$_$.i2,Kn=n.$_$.b2,Wn=n.$_$.m8,Gn=n.$_$.a2,Xn=n.$_$.s,Yn=n.$_$.m3,Zn=n.$_$.h5,Qn=n.$_$.y3,te=n.$_$.m2,ne=n.$_$.z5,ee=n.$_$.j5,re=n.$_$.f2,oe=n.$_$.a6,ie=n.$_$.g2,ue=n.$_$.b6,se=n.$_$.e6,ae=n.$_$.c6,ce=n.$_$.h6,pe=n.$_$.y5,le=n.$_$.d2,fe=n.$_$.x5,he=n.$_$.v6,_e=n.$_$.r3,ye=n.$_$.t3,de=n.$_$.u3,ve=n.$_$.p3,ge=n.$_$.v3,me=n.$_$.o3,be=n.$_$.s3,we=n.$_$.q3,$e=n.$_$.n8,je=n.$_$.v7,ke=n.$_$.d7,qe=n.$_$.l5,Ce=n.$_$.k5,ze=n.$_$.q1,xe=n.$_$.j7,Se=n.$_$.f7,Oe=n.$_$.l2,Ee=n.$_$.o4,Re=n.$_$.i4,Pe=n.$_$.h4,Te=n.$_$.g4,Ae=n.$_$.e4,Ne=n.$_$.m1,Ie=n.$_$.d4,Be=n.$_$.i6,Me=n.$_$.b;function Le(){return!1}function Fe(){return!1}function De(){return at()}function Je(t){return t.hg(this)}function Ue(){return!1}function He(t){return-1}function Ve(t,n,e,r,o,i){return 0!=(8&o)&&(r=null),null==i?this.xj(t,n,e,r):i(t,n,e,r)}function Ke(){}function We(t,n){return this.mj(t)}function Ge(t,n){t.gg(this,n)}function Xe(t,n){if(t.fg().mh())return this.bl(yt(t,rr)?t:tt(),n);null==n?this.fk():(this.el(),this.bl(t,n))}function Ye(t,n){return!0}function Ze(){return Zu()}function Qe(t,n){return this.gy(t,za(n))}function tr(t){this.eg_1=t}function nr(){}function er(){}function rr(){}function or(t,n,e){var r,o=t.ig(n,e);return null==o?Ei(it(e),t.jg()):r=o,r}function ir(t,n,e){var r,o=t.kg(n,e);return null==o?Ri(e,t.jg()):r=o,r}function ur(t){return function(n){var e=Ir(ut()).fg();n.tg("type",e,null,!1,12,null);var r=qo("kotlinx.serialization.Polymorphic<"+t.ug_1.rb()+">",Lo(),[],null,12);return n.tg("value",r,null,!1,12,null),n.ng_1=t.vg_1,st()}}function sr(t){return function(){return yo(qo("kotlinx.serialization.Polymorphic",mi(),[],ur(t),4),t.ug_1)}}function ar(t){Oi.call(this),this.ug_1=t,this.vg_1=at();var n=this,e=ct();n.wg_1=pt(e,sr(this))}function cr(){return ft("descriptor",1,lt,(function(t){return t.fg()}),null)}function pr(t,n,e,r,o,i){return dr.call(i,t,n,e,r),i.yg_1=ht(o),i}function lr(t,n,e,r,o){return pr(t,n,e,r,o,Object.create(dr.prototype))}function fr(t){return function(n){for(var e=t,r=0,o=e.length;r<o;){var i=e[r];r=r+1|0;var u=i.fg(),s=u.ch();n.tg(s,u,null,!1,12,null)}return st()}}function hr(t,n){return function(e){var r=Ir(ut()).fg();e.tg("type",r,null,!1,12,null);var o=qo("kotlinx.serialization.Sealed<"+t.xg_1.rb()+">",Lo(),[],fr(n),4);return e.tg("value",o,null,!1,12,null),e.ng_1=t.yg_1,st()}}function _r(t,n,e){return function(){var r=vi();return qo(t,r,[],hr(n,e),4)}}function yr(t){this.dh_1=t}function dr(t,n,e,r){Oi.call(this),this.xg_1=n,this.yg_1=at();var o=this,i=ct();if(o.zg_1=pt(i,_r(t,this,r)),e.length!==r.length)throw vt("All subclasses of sealed class "+this.xg_1.rb()+" should be marked @Serializable");this.ah_1=mt(gt(e,r));for(var u,s=this,a=new yr(this.ah_1.q()),c=bt(),p=a.o();p.h();){var l=p.i(),f=a.p(l),h=c.g2(f);if(null==h&&c.a2(f),null!=h){var _="Multiple sealed subclasses of '"+this.xg_1+"' have the same serial name '"+f+"': '"+h.q1()+"', '"+l.q1()+"'";throw $t(wt(_))}var y=l;c.l(f,y)}for(var d=c,v=kt(jt(d.f())),g=d.q().g();g.h();){var m,b=g.i(),w=b.q1();m=b.s1().s1(),v.l(w,m)}u=v,s.bh_1=u}function vr(){return ft("descriptor",1,lt,(function(t){return t.fg()}),null)}function gr(){}function mr(){}function br(t,n){return Ct(t,n),jr.call(n),n}function wr(t){var n=br(t,Object.create(jr.prototype));return zt(n,wr),n}function $r(t,n,e){return xt(t,n,e),jr.call(e),e}function jr(){zt(this,jr)}function kr(t,n){return Cr.call(n,"An unknown field for index "+t),n}function qr(t){var n=kr(t,Object.create(Cr.prototype));return zt(n,qr),n}function Cr(t){br(t,this),zt(this,Cr)}function zr(t,n,e){return Sr.call(e,1===t.f()?"Field '"+t.k(0)+"' is required for type with serial name '"+n+"', but it was missing":"Fields "+t+" are required for type with serial name '"+n+"', but they were missing",null),e}function xr(t,n){var e=zr(t,n,Object.create(Sr.prototype));return zt(e,xr),e}function Sr(t,n){$r(t,n,this),zt(this,Sr)}function Or(t,n){var e,r=Er(t,n,!0);return null==r?Ta(Nu(n)):e=r,e}function Er(t,n,e){for(var r=Nu(n),o=n.bc(),i=n.ac(),u=Et(Ot(i,10)),s=i.g();s.h();){var a,c=s.i().jh_1;if(null==c)throw vt(wt("Star projections in type arguments are not allowed, but had "+n));a=c,u.a(a)}var p,l=u;if(l.j()){var f=Rr(r);p=null==f?t.kh(r,null,2,null):f}else p=Pr(t,l,r,e);var h,_=p;return null==(h=null==_?null:null!=_&&yt(_,nr)?_:tt())?null:Tr(h,o)}function Rr(t){var n=Aa(t);return null==n?Zs(t):n}function Pr(t,n,e,r){var o;if(r){for(var i=Et(Ot(n,10)),u=n.g();u.h();){var s=u.i();i.a(Or(t,s))}o=i}else{for(var a=Et(Ot(n,10)),c=n.g();c.h();){var p,l=Ar(t,c.i());if(null==l)return null;p=l,a.a(p)}o=a}var f,h=o,_=e;if(_.equals(At(Kt))||_.equals(At(Vt))||_.equals(At(Ht))||_.equals(At(Ut)))f=new Wi(h.k(0));else if(_.equals(At(Jt)))f=new Zi(h.k(0));else if(_.equals(At(Dt))||_.equals(At(Ft))||_.equals(At(Lt)))f=new Qi(h.k(0));else if(_.equals(At(Mt)))f=new tu(h.k(0),h.k(1));else if(_.equals(At(qt))||_.equals(At(Bt))||_.equals(At(It)))f=new Xi(h.k(0),h.k(1));else if(_.equals(At(_t)))f=ao(h.k(0),h.k(1));else if(_.equals(At(Nt)))f=co(h.k(0),h.k(1));else if(_.equals(At(Tt)))f=po(h.k(0),h.k(1),h.k(2));else{if(Na(e)){var y=n.k(0).zb(),d=lo(null!=y&&yt(y,Rt)?y:tt(),h.k(0));return yt(d,nr)?d:tt()}var v=Ia(e,Pt(h).slice());f=null==v?Nr(t,e,h):v}return f}function Tr(t,n){return n?so(t):yt(t,nr)?t:tt()}function Ar(t,n){return Er(t,n,!1)}function Nr(t,n,e){var r=Rr(n);return null==r?t.lh(n,e):r}function Ir(t){return xs()}function Br(t){return Os()}function Mr(){return rs()}function Lr(t){return Rs()}function Fr(){return is()}function Dr(t){return Ts()}function Jr(){return ss()}function Ur(t){return Ns()}function Hr(){return cs()}function Vr(t){return Bs()}function Kr(){return ls()}function Wr(t){return Ls()}function Gr(){return hs()}function Xr(t){return Ds()}function Yr(){return ys()}function Zr(t){return Us()}function Qr(){return vs()}function to(t){return Vs()}function no(t){return vu()}function eo(t){return mu()}function ro(t){return wu()}function oo(t){return ju()}function io(t,n){return new Xi(t,n)}function uo(t){return new Wi(t)}function so(t){return t.fg().mh()?yt(t,nr)?t:tt():new Cu(t)}function ao(t,n){return new la(t,n)}function co(t,n){return new ha(t,n)}function po(t,n,e){return new va(t,n,e)}function lo(t,n){return new Gi(t,n)}function fo(t,n){var e,r=ho(n);if(null==r)e=null;else{var o=t.kh(r,null,2,null);e=null==o?null:o.fg()}return e}function ho(t){var n=t;return n instanceof _o?t.rh_1:n instanceof qu?ho(t.nh_1):null}function _o(t,n){this.qh_1=t,this.rh_1=n,this.sh_1=this.qh_1.ch()+"<"+this.rh_1.rb()+">"}function yo(t,n){return new _o(t,n)}function vo(){}function go(t){return new wo(t)}function mo(t){return new jo(t)}function bo(t){this.di_1=t,this.ci_1=t.zh()}function wo(t){this.ei_1=t}function $o(t){this.gi_1=t,this.fi_1=t.zh()}function jo(t){this.hi_1=t}function ko(t,n,e,r){if(Yt(t))throw vt(wt("Blank serial names are prohibited"));if(Wt(n,ai()))throw vt(wt("For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead"));var o=new Co(t);return r(o),new Oo(t,n,o.og_1.f(),Zt(e),o)}function qo(t,n,e,r,o,i){return 0!=(8&o)&&(r=To),ko(t,n,e,r)}function Co(t){this.lg_1=t,this.mg_1=!1,this.ng_1=at(),this.og_1=Qt(),this.pg_1=tn(),this.qg_1=Qt(),this.rg_1=Qt(),this.sg_1=Qt()}function zo(t){return No(),t.ui_1.s1()}function xo(t){return function(){return Mu(t,t.ti_1)}}function So(t){return function(n){return t.wh(n)+": "+t.uh(n).ch()}}function Oo(t,n,e,r,o){this.ji_1=t,this.ki_1=n,this.li_1=e,this.mi_1=o.ng_1,this.ni_1=nn(o.og_1);var i,u=this,s=o.og_1;i=Pt(s),u.oi_1=i,this.pi_1=Tu(o.qg_1);var a,c=this,p=o.rg_1;a=Pt(p),c.qi_1=a,this.ri_1=en(o.sg_1);for(var l,f=this,h=rn(this.oi_1),_=Et(Ot(h,10)),y=h.g();y.h();){var d,v=y.i();d=on(v.s2_1,v.r2_1),_.a(d)}l=_,f.si_1=mt(l),this.ti_1=Tu(r),this.ui_1=un(xo(this))}function Eo(t,n){if(Yt(t))throw vt(wt("Blank serial names are prohibited"));return Gs(t,n)}function Ro(t,n,e){if(Yt(t))throw vt(wt("Blank serial names are prohibited"));var r=new Co(t);return e(r),new Oo(t,ai(),r.og_1.f(),Zt(n),r)}function Po(t,n,e,r,o){return 0!=(4&r)&&(e=Ao),Ro(t,n,e)}function To(t){return st()}function Ao(t){return st()}function No(){return ft("_hashCode",1,lt,(function(t){return zo(t)}),null)}function Io(){e=this,Fo.call(this)}function Bo(){return null==e&&new Io,e}function Mo(){r=this,Fo.call(this)}function Lo(){return null==r&&new Mo,r}function Fo(){}function Do(){o=this,ui.call(this)}function Jo(){return null==o&&new Do,o}function Uo(){i=this,ui.call(this)}function Ho(){return null==i&&new Uo,i}function Vo(){u=this,ui.call(this)}function Ko(){return null==u&&new Vo,u}function Wo(){s=this,ui.call(this)}function Go(){return null==s&&new Wo,s}function Xo(){a=this,ui.call(this)}function Yo(){return null==a&&new Xo,a}function Zo(){c=this,ui.call(this)}function Qo(){return null==c&&new Zo,c}function ti(){p=this,ui.call(this)}function ni(){return null==p&&new ti,p}function ei(){l=this,ui.call(this)}function ri(){return null==l&&new ei,l}function oi(){f=this,ui.call(this)}function ii(){return null==f&&new oi,f}function ui(){Fo.call(this)}function si(){h=this,yi.call(this)}function ai(){return null==h&&new si,h}function ci(){_=this,yi.call(this)}function pi(){return null==_&&new ci,_}function li(){y=this,yi.call(this)}function fi(){return null==y&&new li,y}function hi(){d=this,yi.call(this)}function _i(){return null==d&&new hi,d}function yi(){Fo.call(this)}function di(){v=this,bi.call(this)}function vi(){return null==v&&new di,v}function gi(){g=this,bi.call(this)}function mi(){return null==g&&new gi,g}function bi(){Fo.call(this)}function wi(){}function $i(){}function ji(){}function ki(){m=this,this.hl_1=-1,this.il_1=-3}function qi(){return null==m&&new ki,m}function Ci(){}function zi(){}function xi(){}function Si(t,n){var e=n.wj(t.fg(),0),r=ir(t,n,e),o=t.fg();return n.yj(o,1,r,null,8,null)}function Oi(){}function Ei(t,n){var e=t.rb();Ri(null==e?""+t:e,n)}function Ri(t,n){var e="in the scope of '"+n.rb()+"'";throw wr(null==t?"Class discriminator was missing and no default polymorphic serializers were registered "+e:"Class '"+t+"' is not registered for polymorphic serialization "+e+".\nMark the base class as 'sealed' or register the serializer explicitly.")}function Pi(){}function Ti(t){Ai.call(this,t),this.ol_1=t.ch()+"Array"}function Ai(t){this.pl_1=t,this.ql_1=1}function Ni(t){Ai.call(this,t)}function Ii(t){Ai.call(this,t)}function Bi(t,n){Mi.call(this,"kotlin.collections.LinkedHashMap",t,n)}function Mi(t,n,e){this.vl_1=t,this.wl_1=n,this.xl_1=e,this.yl_1=2}function Li(t){Ai.call(this,t)}function Fi(t){Ai.call(this,t)}function Di(t,n){Mi.call(this,"kotlin.collections.HashMap",t,n)}function Ji(t){Hi.call(this,t),this.em_1=new Ti(t.fg())}function Ui(){}function Hi(t){Ki.call(this),this.xm_1=t}function Vi(t,n,e){var r=n.ck(t.fg());return t.jm(e,r),r}function Ki(){}function Wi(t){Hi.call(this,t),this.bn_1=new Ni(t.fg())}function Gi(t,n){Hi.call(this,n),this.kn_1=t,this.ln_1=new Ii(n.fg())}function Xi(t,n){Yi.call(this,t,n),this.vn_1=new Bi(t.fg(),n.fg())}function Yi(t,n){Ki.call(this),this.co_1=t,this.do_1=n}function Zi(t){Hi.call(this,t),this.ho_1=new Li(t.fg())}function Qi(t){Hi.call(this,t),this.qo_1=new Fi(t.fg())}function tu(t,n){Yi.call(this,t,n),this.xo_1=new Di(t.fg(),n.fg())}function nu(){b=this,this.bp_1=xn(0)}function eu(){return null==b&&new nu,b}function ru(t,n){var e=(n-1|0)>>>6|0;Sn();var r=63&n,o=xn(e);return 0!==r&&(o[On(o)]=new fn(-1,-1).q7(n)),o}function ou(t,n){var e=(n>>>6|0)-1|0;Sn();var r=63&n;t.fp_1[e]=t.fp_1[e].jf(new fn(1,0).q7(r))}function iu(t){var n=0,e=t.fp_1.length-1|0;if(n<=e)do{var r=n;n=n+1|0;var o=r+1|0;Sn();for(var i=Q(o,64),u=t.fp_1[r];!u.equals(new fn(-1,-1));){var s=En(u.if());u=u.jf(new fn(1,0).q7(s));var a=i+s|0;if(t.dp_1(t.cp_1,a))return t.fp_1[r]=u,a}t.fp_1[r]=u}while(n<=e);return qi(),-1}function uu(t,n){eu(),this.cp_1=t,this.dp_1=n;var e=this.cp_1.zh();if(Sn(),e<=64){var r,o=this;Sn(),r=64===e?new fn(0,0):new fn(-1,-1).q7(e),o.ep_1=r,this.fp_1=eu().bp_1}else this.ep_1=new fn(0,0),this.fp_1=ru(this,e)}function su(t,n){return function(e){for(var r=t.ip_1,o=0,i=r.length;o<i;){var u=r[o];o=o+1|0;var s=qo(n+"."+u.d4_1,_i(),[],null,12);e.tg(u.d4_1,s,null,!1,12,null)}return st()}}function au(t,n){this.ip_1=n;var e=this,r=Bo();e.jp_1=qo(t,r,[],su(this,t),4)}function cu(t){return fu(),t.xp_1.s1()}function pu(t,n,e){return function(){for(var r=0,o=t,i=Tn(Array(o),null);r<o;){var u,s=r;u=qo(n+"."+e.wh(s),_i(),[],null,12),i[s]=u,r=r+1|0}return i}}function lu(t,n){Lu(t,null,n,2,null,this),this.wp_1=Bo(),this.xp_1=un(pu(n,t,this))}function fu(){return ft("elementDescriptors",1,lt,(function(t){return cu(t)}),null)}function hu(t,n){return new _u(t,new yu(n))}function _u(t,n){Wu.call(this,t,n,1),this.yq_1=!0}function yu(t){this.zq_1=t}function du(){w=this,this.cr_1=hu("kotlin.UInt",Vr(An()))}function vu(){return null==w&&new du,w}function gu(){$=this,this.fr_1=hu("kotlin.ULong",Ur(Sn()))}function mu(){return null==$&&new gu,$}function bu(){j=this,this.ir_1=hu("kotlin.UByte",Xr(Dn()))}function wu(){return null==j&&new bu,j}function $u(){k=this,this.lr_1=hu("kotlin.UShort",Wr(Vn()))}function ju(){return null==k&&new $u,k}function ku(t){return Au(t)}function qu(t){this.nh_1=t,this.oh_1=this.nh_1.ch()+"?",this.ph_1=Au(this.nh_1)}function Cu(t){this.or_1=t,this.pr_1=new qu(this.or_1.fg())}function zu(t,n,e,r){return Eu.call(r,t,n),r.sr_1=ht(e),r}function xu(t,n,e){return zu(t,n,e,Object.create(Eu.prototype))}function Su(t){return function(n){return n.ng_1=t.sr_1,st()}}function Ou(t,n){return function(){var e=_i();return qo(t,e,[],Su(n),4)}}function Eu(t,n){this.rr_1=n,this.sr_1=at();var e=this,r=ct();e.tr_1=pt(r,Ou(t,this))}function Ru(){return ft("descriptor",1,lt,(function(t){return t.fg()}),null)}function Pu(){return Iu(),q}function Tu(t){var n;Iu();var e=null==(n=null==t||t.j()?null:t)?null:Pt(n);return null==e?Pu():e}function Au(t){if(Iu(),yt(t,Pi))return t.vi();var n=Xn(t.zh()),e=0,r=t.zh();if(e<r)do{var o=e;e=e+1|0;var i=t.wh(o);n.a(i)}while(e<r);return n}function Nu(t){Iu();var n=t.zb();if(null==n||!yt(n,Rt))throw $t(wt("Only KClass supported as classifier, got "+n));var e=n;return yt(e,Rt)?e:tt()}function Iu(){C||(C=!0,q=[])}function Bu(t,n,e){var r=Qt(),o=n&~t,i=0;if(i<32)do{var u=i;if(i=i+1|0,0!=(1&o)){var s=e.wh(u);r.a(s)}o=o>>>1|0}while(i<32);throw xr(r,e.ch())}function Mu(t,n){var e=nt(t.ch());e=Q(31,e)+Yn(n)|0;for(var r=go(t),o=1,i=r.g();i.h();){var u,s=i.i(),a=Q(31,o),c=null==(u=s.ch())?null:dn(u);o=a+(null==c?0:c)|0}for(var p=o,l=1,f=r.g();f.h();){var h,_=f.i(),y=Q(31,l),d=null==(h=_.bi())?null:dn(h);l=y+(null==d?0:d)|0}var v=l;return e=Q(31,e)+p|0,e=Q(31,e)+v|0}function Lu(t,n,e,r,o,i){return 0!=(2&r)&&(n=null),Wu.call(i,t,n,e),i}function Fu(t){return Gu(),t.hq_1.s1()}function Du(t){return Yu(),t.jq_1.s1()}function Ju(t){var n=Cn(),e=0,r=t.cq_1.length-1|0;if(e<=r)do{var o=e;e=e+1|0;var i=t.cq_1[o];n.l(i,o)}while(e<=r);return n}function Uu(t){return function(){var n=t.zp_1,e=null==n?null:n.ar();return null==e?Zu():e}}function Hu(t){return function(){var n,e=t.zp_1,r=null==e?null:e.br();if(null==r)n=null;else{for(var o=Et(r.length),i=mn(r);i.h();){var u;u=i.i().fg(),o.a(u)}n=o}return Tu(n)}}function Vu(t){return function(){return Mu(t,t.kq())}}function Ku(t){return function(n){return t.wh(n)+": "+t.uh(n).ch()}}function Wu(t,n,e){this.yp_1=t,this.zp_1=n,this.aq_1=e,this.bq_1=-1;for(var r=this,o=0,i=this.aq_1,u=Tn(Array(i),null);o<i;){var s;s="[UNINITIALIZED]",u[o]=s,o=o+1|0}r.cq_1=u;var a,c=this,p=this.aq_1;a=Tn(Array(p),null),c.dq_1=a,this.eq_1=null,this.fq_1=Zn(this.aq_1),this.gq_1=Qn();var l=this,f=ct();l.hq_1=pt(f,Uu(this));var h=this,_=ct();h.iq_1=pt(_,Hu(this));var y=this,d=ct();y.jq_1=pt(d,Vu(this))}function Gu(){return ft("childSerializers",1,lt,(function(t){return Fu(t)}),null)}function Xu(){return ft("typeParameterDescriptors",1,lt,(function(t){return t.kq()}),null)}function Yu(){return ft("_hashCode",1,lt,(function(t){return Du(t)}),null)}function Zu(){return ns(),z}function Qu(){}function ts(){}function ns(){x||(x=!0,z=[])}function es(){S=this,Ji.call(this,Br(te()))}function rs(){return null==S&&new es,S}function os(){O=this,Ji.call(this,Lr(re()))}function is(){return null==O&&new os,O}function us(){E=this,Ji.call(this,Dr(ie()))}function ss(){return null==E&&new us,E}function as(){R=this,Ji.call(this,Ur(Sn()))}function cs(){return null==R&&new as,R}function ps(){P=this,Ji.call(this,Vr(An()))}function ls(){return null==P&&new ps,P}function fs(){T=this,Ji.call(this,Wr(Vn()))}function hs(){return null==T&&new fs,T}function _s(){A=this,Ji.call(this,Xr(Dn()))}function ys(){return null==A&&new _s,A}function ds(){N=this,Ji.call(this,Zr(le()))}function vs(){return null==N&&new ds,N}function gs(t){Ui.call(this),this.as_1=t,this.bs_1=t.length,this.w9(10)}function ms(t){Ui.call(this),this.js_1=t,this.ks_1=t.length,this.w9(10)}function bs(t){Ui.call(this),this.ss_1=t,this.ts_1=t.length,this.w9(10)}function ws(t){Ui.call(this),this.bt_1=t,this.ct_1=t.length,this.w9(10)}function $s(t){Ui.call(this),this.kt_1=t,this.lt_1=t.length,this.w9(10)}function js(t){Ui.call(this),this.tt_1=t,this.ut_1=t.length,this.w9(10)}function ks(t){Ui.call(this),this.cu_1=t,this.du_1=t.length,this.w9(10)}function qs(t){Ui.call(this),this.lu_1=t,this.mu_1=t.length,this.w9(10)}function Cs(){return Qs(),I}function zs(){B=this,this.pu_1=new Ws("kotlin.String",ii())}function xs(){return null==B&&new zs,B}function Ss(){M=this,this.ru_1=new Ws("kotlin.Char",Ko())}function Os(){return null==M&&new Ss,M}function Es(){L=this,this.uu_1=new Ws("kotlin.Double",ri())}function Rs(){return null==L&&new Es,L}function Ps(){F=this,this.wu_1=new Ws("kotlin.Float",ni())}function Ts(){return null==F&&new Ps,F}function As(){D=this,this.yu_1=new Ws("kotlin.Long",Qo())}function Ns(){return null==D&&new As,D}function Is(){J=this,this.av_1=new Ws("kotlin.Int",Yo())}function Bs(){return null==J&&new Is,J}function Ms(){U=this,this.cv_1=new Ws("kotlin.Short",Go())}function Ls(){return null==U&&new Ms,U}function Fs(){H=this,this.ev_1=new Ws("kotlin.Byte",Ho())}function Ds(){return null==H&&new Fs,H}function Js(){V=this,this.gv_1=new Ws("kotlin.Boolean",Jo())}function Us(){return null==V&&new Js,V}function Hs(){K=this,this.iv_1=new Eu("kotlin.Unit",st())}function Vs(){return null==K&&new Hs,K}function Ks(t){throw $t("Primitive descriptor does not have elements")}function Ws(t,n){this.lv_1=t,this.mv_1=n}function Gs(t,n){return Qs(),Xs(t),new Ws(t,n)}function Xs(t){Qs();for(var n=Cs().h2().g();n.h();){var e=n.i(),r=Ys(ln(e.rb()));if(ke(t,"kotlin."+r,!0)||ke(t,r,!0))throw vt(je("\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name "+t+" there already exist "+Ys(r)+"Serializer.\n Please refer to SerialDescriptor documentation for additional information.\n "))}}function Ys(t){var n;if(Qs(),qe(t)>0){var e,r=Ce(t,0);e=Se(r)?xe(r):ze(r),n=wt(e)+t.substring(1)}else n=t;return n}function Zs(t){Qs();var n=Cs().g2(t);return null==n||yt(n,nr)?n:tt()}function Qs(){W||(W=!0,I=Ee([on(Oe().jd(),Ir(ut())),on(At(hn),Br(te())),on(Oe().md(),Mr()),on(Oe().hd(),Lr(re())),on(Oe().sd(),Fr()),on(Oe().gd(),Dr(ie())),on(Oe().rd(),Jr()),on(At(fn),Ur(Sn())),on(Oe().qd(),Hr()),on(Oe().fd(),Vr(An())),on(Oe().pd(),Kr()),on(Oe().ed(),Wr(Vn())),on(Oe().od(),Gr()),on(Oe().dd(),Xr(Dn())),on(Oe().nd(),Yr()),on(Oe().cd(),Zr(le())),on(Oe().ld(),Qr()),on(At($e),to(st()))]))}function ta(){ra.call(this)}function na(){sa.call(this)}function ea(t,n,e){var r=t.ov(n,e);return t.iw(r),!0}function ra(){var t,n=this;t=Qt(),n.rv_1=t}function oa(t,n,e){t.iw(n);var r=e();return t.nw_1||t.jw(),t.nw_1=!1,r}function ia(t,n,e){return function(){return t.kj(n,e)}}function ua(t,n,e){return function(){return t.xi()?t.kj(n,e):t.yi()}}function sa(){var t,n=this;t=Qt(),n.mw_1=t,this.nw_1=!1}function aa(){return ma(),G}function ca(t,n){this.cx_1=t,this.dx_1=n}function pa(t,n){return function(e){var r=t.fg();e.tg("key",r,null,!1,12,null);var o=n.fg();return e.tg("value",o,null,!1,12,null),st()}}function la(t,n){ga.call(this,t,n);var e=this,r=fi();e.gx_1=qo("kotlin.collections.Map.Entry",r,[],pa(t,n),4)}function fa(t,n){return function(e){var r=t.fg();e.tg("first",r,null,!1,12,null);var o=n.fg();return e.tg("second",o,null,!1,12,null),st()}}function ha(t,n){ga.call(this,t,n),this.rx_1=Po("kotlin.Pair",[],fa(t,n),2)}function _a(t,n){var e=n.yj(t.xx_1,0,t.ux_1,null,8,null),r=n.yj(t.xx_1,1,t.vx_1,null,8,null),o=n.yj(t.xx_1,2,t.wx_1,null,8,null);return n.nj(t.xx_1),new Tt(e,r,o)}function ya(t,n){var e=aa(),r=aa(),o=aa();t:for(;;){var i=n.bk(t.xx_1);if(qi(),-1===i)break t;if(0===i)e=n.yj(t.xx_1,0,t.ux_1,null,8,null);else if(1===i)r=n.yj(t.xx_1,1,t.vx_1,null,8,null);else{if(2!==i)throw wr("Unexpected index "+i);o=n.yj(t.xx_1,2,t.wx_1,null,8,null)}}if(n.nj(t.xx_1),e===aa())throw wr("Element 'first' is missing");if(r===aa())throw wr("Element 'second' is missing");if(o===aa())throw wr("Element 'third' is missing");var u=null==e||_n(e)?e:tt(),s=null==r||_n(r)?r:tt();return new Tt(u,s,null==o||_n(o)?o:tt())}function da(t){return function(n){var e=t.ux_1.fg();n.tg("first",e,null,!1,12,null);var r=t.vx_1.fg();n.tg("second",r,null,!1,12,null);var o=t.wx_1.fg();return n.tg("third",o,null,!1,12,null),st()}}function va(t,n,e){this.ux_1=t,this.vx_1=n,this.wx_1=e,this.xx_1=Po("kotlin.Triple",[],da(this),2)}function ga(t,n){this.mx_1=t,this.nx_1=n}function ma(){X||(X=!0,G=new Object)}function ba(){return Ca(),Y}function wa(){}function $a(t,n,e,r){wa.call(this),this.ay_1=t,this.by_1=n,this.cy_1=e,this.dy_1=r}function ja(){}function ka(){}function qa(){}function Ca(){Z||(Z=!0,Y=new $a(Qn(),Qn(),Qn(),Qn()))}function za(t){return function(n){return t}}function xa(){}function Sa(t){this.ny_1=t}function Oa(t,n){return n.y4(t)}function Ea(t,n){if(!(0<=n&&n<=(t.length-1|0)))throw Ne("Index "+n+" out of bounds "+Ae(t));return t[n]}function Ra(t,n){if(!(0<=n&&n<=(t.length-1|0)))throw Ne("Index "+n+" out of bounds "+Ie(t));return t[n]}function Pa(t,n){return Pt(t)}function Ta(t){throw wr("Serializer for class '"+t.rb()+"' is not found.\nMark the class as @Serializable or provide the serializer explicitly.\nOn Kotlin/JS explicitly declared serializer should be used for interfaces and enums without @Serializable annotation")}function Aa(t){var n,e=Ia(t,[]);if(null==e){var r=Be(t).Companion,o=null==r?null:r.serializer();n=null!=o&&yt(o,nr)?o:null}else n=e;return n}function Na(t){return t.equals(Oe().id())}function Ia(t,n){var e;try{var r,o=Me(t,At(Sa));if(null!=o&&yt(o,nr))r=null!=o&&yt(o,nr)?o:tt();else if(null!=o&&yt(o,ts)){var i=o.ur(n.slice());r=yt(i,nr)?i:tt()}else r=Ba(t)?new ar(t):null;e=r}catch(t){e=null}return e}function Ba(t){var n=Be(t).$metadata$;return"interface"==(null==n?null:n.kind)}ar.prototype=Object.create(Oi.prototype),ar.prototype.constructor=ar,dr.prototype=Object.create(Oi.prototype),dr.prototype.constructor=dr,jr.prototype=Object.create(St.prototype),jr.prototype.constructor=jr,Cr.prototype=Object.create(jr.prototype),Cr.prototype.constructor=Cr,Sr.prototype=Object.create(jr.prototype),Sr.prototype.constructor=Sr,Io.prototype=Object.create(Fo.prototype),Io.prototype.constructor=Io,Mo.prototype=Object.create(Fo.prototype),Mo.prototype.constructor=Mo,ui.prototype=Object.create(Fo.prototype),ui.prototype.constructor=ui,Do.prototype=Object.create(ui.prototype),Do.prototype.constructor=Do,Uo.prototype=Object.create(ui.prototype),Uo.prototype.constructor=Uo,Vo.prototype=Object.create(ui.prototype),Vo.prototype.constructor=Vo,Wo.prototype=Object.create(ui.prototype),Wo.prototype.constructor=Wo,Xo.prototype=Object.create(ui.prototype),Xo.prototype.constructor=Xo,Zo.prototype=Object.create(ui.prototype),Zo.prototype.constructor=Zo,ti.prototype=Object.create(ui.prototype),ti.prototype.constructor=ti,ei.prototype=Object.create(ui.prototype),ei.prototype.constructor=ei,oi.prototype=Object.create(ui.prototype),oi.prototype.constructor=oi,yi.prototype=Object.create(Fo.prototype),yi.prototype.constructor=yi,si.prototype=Object.create(yi.prototype),si.prototype.constructor=si,ci.prototype=Object.create(yi.prototype),ci.prototype.constructor=ci,li.prototype=Object.create(yi.prototype),li.prototype.constructor=li,hi.prototype=Object.create(yi.prototype),hi.prototype.constructor=hi,bi.prototype=Object.create(Fo.prototype),bi.prototype.constructor=bi,di.prototype=Object.create(bi.prototype),di.prototype.constructor=di,gi.prototype=Object.create(bi.prototype),gi.prototype.constructor=gi,Ti.prototype=Object.create(Ai.prototype),Ti.prototype.constructor=Ti,Ni.prototype=Object.create(Ai.prototype),Ni.prototype.constructor=Ni,Ii.prototype=Object.create(Ai.prototype),Ii.prototype.constructor=Ii,Bi.prototype=Object.create(Mi.prototype),Bi.prototype.constructor=Bi,Li.prototype=Object.create(Ai.prototype),Li.prototype.constructor=Li,Fi.prototype=Object.create(Ai.prototype),Fi.prototype.constructor=Fi,Di.prototype=Object.create(Mi.prototype),Di.prototype.constructor=Di,Hi.prototype=Object.create(Ki.prototype),Hi.prototype.constructor=Hi,Ji.prototype=Object.create(Hi.prototype),Ji.prototype.constructor=Ji,Wi.prototype=Object.create(Hi.prototype),Wi.prototype.constructor=Wi,Gi.prototype=Object.create(Hi.prototype),Gi.prototype.constructor=Gi,Yi.prototype=Object.create(Ki.prototype),Yi.prototype.constructor=Yi,Xi.prototype=Object.create(Yi.prototype),Xi.prototype.constructor=Xi,Zi.prototype=Object.create(Hi.prototype),Zi.prototype.constructor=Zi,Qi.prototype=Object.create(Hi.prototype),Qi.prototype.constructor=Qi,tu.prototype=Object.create(Yi.prototype),tu.prototype.constructor=tu,lu.prototype=Object.create(Wu.prototype),lu.prototype.constructor=lu,_u.prototype=Object.create(Wu.prototype),_u.prototype.constructor=_u,es.prototype=Object.create(Ji.prototype),es.prototype.constructor=es,os.prototype=Object.create(Ji.prototype),os.prototype.constructor=os,us.prototype=Object.create(Ji.prototype),us.prototype.constructor=us,as.prototype=Object.create(Ji.prototype),as.prototype.constructor=as,ps.prototype=Object.create(Ji.prototype),ps.prototype.constructor=ps,fs.prototype=Object.create(Ji.prototype),fs.prototype.constructor=fs,_s.prototype=Object.create(Ji.prototype),_s.prototype.constructor=_s,ds.prototype=Object.create(Ji.prototype),ds.prototype.constructor=ds,gs.prototype=Object.create(Ui.prototype),gs.prototype.constructor=gs,ms.prototype=Object.create(Ui.prototype),ms.prototype.constructor=ms,bs.prototype=Object.create(Ui.prototype),bs.prototype.constructor=bs,ws.prototype=Object.create(Ui.prototype),ws.prototype.constructor=ws,$s.prototype=Object.create(Ui.prototype),$s.prototype.constructor=$s,js.prototype=Object.create(Ui.prototype),js.prototype.constructor=js,ks.prototype=Object.create(Ui.prototype),ks.prototype.constructor=ks,qs.prototype=Object.create(Ui.prototype),qs.prototype.constructor=qs,ta.prototype=Object.create(ra.prototype),ta.prototype.constructor=ta,na.prototype=Object.create(sa.prototype),na.prototype.constructor=na,la.prototype=Object.create(ga.prototype),la.prototype.constructor=la,ha.prototype=Object.create(ga.prototype),ha.prototype.constructor=ha,$a.prototype=Object.create(wa.prototype),$a.prototype.constructor=$a,ja.prototype=Object.create(qa.prototype),ja.prototype.constructor=ja,ka.prototype=Object.create(qa.prototype),ka.prototype.constructor=ka,tr.prototype.equals=function(t){if(!(t instanceof tr))return!1;var n=t instanceof tr?t:tt();return!!this.eg_1.equals(n.eg_1)},tr.prototype.hashCode=function(){return Q(nt("with"),127)^this.eg_1.hashCode()},tr.prototype.toString=function(){return"@kotlinx.serialization.Serializable(with="+this.eg_1+")"},tr.$metadata$=rt("Serializable",[et]),nr.$metadata$=ot("KSerializer",[rr,er]),er.$metadata$=ot("DeserializationStrategy"),rr.$metadata$=ot("SerializationStrategy"),ar.prototype.jg=function(){return this.ug_1},ar.prototype.fg=function(){return cr(),this.wg_1.s1()},ar.prototype.toString=function(){return"kotlinx.serialization.PolymorphicSerializer(baseClass: "+this.ug_1+")"},ar.$metadata$=rt("PolymorphicSerializer",void 0,void 0,void 0,void 0,Oi.prototype),yr.prototype.o=function(){return this.dh_1.g()},yr.prototype.eh=function(t){return t.s1().fg().ch()},yr.prototype.p=function(t){return this.eh(null!=t&&yt(t,_t)?t:tt())},yr.$metadata$=rt(void 0,[dt]),dr.prototype.jg=function(){return this.xg_1},dr.prototype.fg=function(){return vr(),this.zg_1.s1()},dr.prototype.kg=function(t,n){var e=this.bh_1,r=(yt(e,qt)?e:tt()).g2(n);return null==r?Oi.prototype.kg.call(this,t,n):r},dr.prototype.ig=function(t,n){var e=this.ah_1.g2(it(n)),r=null==e?Oi.prototype.ig.call(this,t,n):e;return null==r?null:null!=r&&yt(r,rr)?r:tt()},dr.$metadata$=rt("SealedClassSerializer",void 0,void 0,void 0,void 0,Oi.prototype),gr.$metadata$=ot("StringFormat",[mr]),mr.$metadata$=ot("SerialFormat"),jr.$metadata$=rt("SerializationException",void 0,void 0,void 0,void 0,St.prototype),Cr.$metadata$=rt("UnknownFieldException",void 0,void 0,void 0,void 0,jr.prototype),Sr.$metadata$=rt("MissingFieldException",void 0,void 0,void 0,void 0,jr.prototype),_o.prototype.th=function(t){return this.qh_1.th(t)},_o.prototype.uh=function(t){return this.qh_1.uh(t)},_o.prototype.vh=function(t){return this.qh_1.vh(t)},_o.prototype.wh=function(t){return this.qh_1.wh(t)},_o.prototype.xh=function(t){return this.qh_1.xh(t)},_o.prototype.yh=function(){return this.qh_1.yh()},_o.prototype.zh=function(){return this.qh_1.zh()},_o.prototype.ai=function(){return this.qh_1.ai()},_o.prototype.mh=function(){return this.qh_1.mh()},_o.prototype.bi=function(){return this.qh_1.bi()},_o.prototype.ch=function(){return this.sh_1},_o.prototype.equals=function(t){var n=t instanceof _o?t:null;if(null==n)return!1;var e=n;return!!Wt(this.qh_1,e.qh_1)&&e.rh_1.equals(this.rh_1)},_o.prototype.hashCode=function(){var t=this.rh_1.hashCode();return t=Q(31,t)+nt(this.sh_1)|0},_o.prototype.toString=function(){return"ContextDescriptor(kClass: "+this.rh_1+", original: "+this.qh_1+")"},_o.$metadata$=rt("ContextDescriptor",[vo]),vo.$metadata$=ot("SerialDescriptor"),bo.prototype.h=function(){return this.ci_1>0},bo.prototype.i=function(){var t=this.di_1.zh(),n=this,e=n.ci_1;return n.ci_1=e-1|0,this.di_1.uh(t-e|0)},bo.$metadata$=rt(void 0,[Gt]),wo.prototype.g=function(){return new bo(this.ei_1)},wo.$metadata$=rt(void 0,[Xt]),$o.prototype.h=function(){return this.fi_1>0},$o.prototype.i=function(){var t=this.gi_1.zh(),n=this,e=n.fi_1;return n.fi_1=e-1|0,this.gi_1.wh(t-e|0)},$o.$metadata$=rt(void 0,[Gt]),jo.prototype.g=function(){return new $o(this.hi_1)},jo.$metadata$=rt(void 0,[Xt]),Co.prototype.ii=function(t,n,e,r){if(!this.pg_1.a(t))throw vt(wt("Element with name '"+t+"' is already registered"));this.og_1.a(t),this.qg_1.a(n),this.rg_1.a(e),this.sg_1.a(r)},Co.prototype.tg=function(t,n,e,r,o,i){return 0!=(4&o)&&(e=at()),0!=(8&o)&&(r=!1),this.ii(t,n,e,r)},Co.$metadata$=rt("ClassSerialDescriptorBuilder"),Oo.prototype.ch=function(){return this.ji_1},Oo.prototype.bi=function(){return this.ki_1},Oo.prototype.zh=function(){return this.li_1},Oo.prototype.yh=function(){return this.mi_1},Oo.prototype.vi=function(){return this.ni_1},Oo.prototype.wh=function(t){return Ea(this.oi_1,t)},Oo.prototype.vh=function(t){var n,e=this.si_1.g2(t);return null==e?(qi(),n=-3):n=e,n},Oo.prototype.th=function(t){return Ea(this.qi_1,t)},Oo.prototype.uh=function(t){return Ea(this.pi_1,t)},Oo.prototype.xh=function(t){return Ra(this.ri_1,t)},Oo.prototype.equals=function(t){var n;t:if(this!==t)if(t instanceof Oo)if(this.ch()===t.ch()){var e=t;if(sn(this.ti_1,e.ti_1))if(this.zh()===t.zh()){var r=0,o=this.zh();if(r<o)do{var i=r;if(r=r+1|0,this.uh(i).ch()!==t.uh(i).ch()){n=!1;break t}if(!Wt(this.uh(i).bi(),t.uh(i).bi())){n=!1;break t}}while(r<o);n=!0}else n=!1;else n=!1}else n=!1;else n=!1;else n=!0;return n},Oo.prototype.hashCode=function(){return zo(this)},Oo.prototype.toString=function(){var t=an(0,this.li_1),n=this.ji_1+"(";return cn(t,", ",n,")",0,null,So(this),24,null)},Oo.$metadata$=rt("SerialDescriptorImpl",[vo,Pi]),Io.$metadata$=pn("ENUM",void 0,void 0,void 0,void 0,Fo.prototype),Mo.$metadata$=pn("CONTEXTUAL",void 0,void 0,void 0,void 0,Fo.prototype),Fo.prototype.toString=function(){return ln(it(this).rb())},Fo.prototype.hashCode=function(){return nt(this.toString())},Fo.$metadata$=rt("SerialKind"),Do.$metadata$=pn("BOOLEAN",void 0,void 0,void 0,void 0,ui.prototype),Uo.$metadata$=pn("BYTE",void 0,void 0,void 0,void 0,ui.prototype),Vo.$metadata$=pn("CHAR",void 0,void 0,void 0,void 0,ui.prototype),Wo.$metadata$=pn("SHORT",void 0,void 0,void 0,void 0,ui.prototype),Xo.$metadata$=pn("INT",void 0,void 0,void 0,void 0,ui.prototype),Zo.$metadata$=pn("LONG",void 0,void 0,void 0,void 0,ui.prototype),ti.$metadata$=pn("FLOAT",void 0,void 0,void 0,void 0,ui.prototype),ei.$metadata$=pn("DOUBLE",void 0,void 0,void 0,void 0,ui.prototype),oi.$metadata$=pn("STRING",void 0,void 0,void 0,void 0,ui.prototype),ui.$metadata$=rt("PrimitiveKind",void 0,void 0,void 0,void 0,Fo.prototype),si.$metadata$=pn("CLASS",void 0,void 0,void 0,void 0,yi.prototype),ci.$metadata$=pn("LIST",void 0,void 0,void 0,void 0,yi.prototype),li.$metadata$=pn("MAP",void 0,void 0,void 0,void 0,yi.prototype),hi.$metadata$=pn("OBJECT",void 0,void 0,void 0,void 0,yi.prototype),yi.$metadata$=rt("StructureKind",void 0,void 0,void 0,void 0,Fo.prototype),di.$metadata$=pn("SEALED",void 0,void 0,void 0,void 0,bi.prototype),gi.$metadata$=pn("OPEN",void 0,void 0,void 0,void 0,bi.prototype),bi.$metadata$=rt("PolymorphicKind",void 0,void 0,void 0,void 0,Fo.prototype),wi.prototype.wi=function(){throw wr(it(this)+" can't retrieve untyped values")},wi.prototype.xi=function(){return!0},wi.prototype.yi=function(){return null},wi.prototype.zi=function(){var t=this.wi();return"boolean"==typeof t?t:tt()},wi.prototype.aj=function(){var t=this.wi();return"number"==typeof t?t:tt()},wi.prototype.bj=function(){var t=this.wi();return"number"==typeof t?t:tt()},wi.prototype.cj=function(){var t=this.wi();return"number"==typeof t?t:tt()},wi.prototype.dj=function(){var t=this.wi();return t instanceof fn?t:tt()},wi.prototype.ej=function(){var t=this.wi();return"number"==typeof t?t:tt()},wi.prototype.fj=function(){var t=this.wi();return"number"==typeof t?t:tt()},wi.prototype.gj=function(){var t=this.wi();return t instanceof hn?t.c1_1:tt()},wi.prototype.hj=function(){var t=this.wi();return"string"==typeof t?t:tt()},wi.prototype.ij=function(t){var n=this.wi();return"number"==typeof n?n:tt()},wi.prototype.jj=function(t){return this},wi.prototype.kj=function(t,n){return this.lj(t)},wi.prototype.mj=function(t){return this},wi.prototype.nj=function(t){},wi.prototype.oj=function(t,n){return this.zi()},wi.prototype.pj=function(t,n){return this.aj()},wi.prototype.qj=function(t,n){return this.bj()},wi.prototype.rj=function(t,n){return this.cj()},wi.prototype.sj=function(t,n){return this.dj()},wi.prototype.tj=function(t,n){return this.ej()},wi.prototype.uj=function(t,n){return this.fj()},wi.prototype.vj=function(t,n){return this.gj()},wi.prototype.wj=function(t,n){return this.hj()},wi.prototype.xj=function(t,n,e,r){return this.kj(e,r)},wi.prototype.zj=function(t,n,e,r){return e.fg().mh()||this.xi()?this.kj(e,r):this.yi()},wi.$metadata$=rt("AbstractDecoder",[ji,Ci]),$i.prototype.mj=function(t){return this},$i.prototype.nj=function(t){},$i.prototype.dk=function(t,n){return!0},$i.prototype.ek=function(t){throw wr("Non-serializable "+it(t)+" is not supported by "+it(this)+" encoder")},$i.prototype.fk=function(){throw wr("'null' is not supported by default")},$i.prototype.gk=function(t){return this.ek(t)},$i.prototype.hk=function(t){return this.ek(t)},$i.prototype.ik=function(t){return this.ek(t)},$i.prototype.jk=function(t){return this.ek(t)},$i.prototype.kk=function(t){return this.ek(t)},$i.prototype.lk=function(t){return this.ek(t)},$i.prototype.mk=function(t){return this.ek(t)},$i.prototype.nk=function(t){return this.ek(new hn(t))},$i.prototype.ok=function(t){return this.ek(t)},$i.prototype.pk=function(t,n){return this.ek(n)},$i.prototype.qk=function(t){return this},$i.prototype.rk=function(t,n,e){this.dk(t,n)&&this.gk(e)},$i.prototype.sk=function(t,n,e){this.dk(t,n)&&this.hk(e)},$i.prototype.tk=function(t,n,e){this.dk(t,n)&&this.ik(e)},$i.prototype.uk=function(t,n,e){this.dk(t,n)&&this.jk(e)},$i.prototype.vk=function(t,n,e){this.dk(t,n)&&this.kk(e)},$i.prototype.wk=function(t,n,e){this.dk(t,n)&&this.lk(e)},$i.prototype.xk=function(t,n,e){this.dk(t,n)&&this.mk(e)},$i.prototype.yk=function(t,n,e){this.dk(t,n)&&this.nk(e)},$i.prototype.zk=function(t,n,e){this.dk(t,n)&&this.ok(e)},$i.prototype.al=function(t,n,e,r){this.dk(t,n)&&this.bl(e,r)},$i.prototype.cl=function(t,n,e,r){this.dk(t,n)&&this.dl(e,r)},$i.$metadata$=rt("AbstractEncoder",[zi,xi]),ji.$metadata$=ot("Decoder"),ki.prototype.jl=function(){return this.hl_1},ki.$metadata$=pn("Companion"),Ci.$metadata$=ot("CompositeDecoder"),zi.$metadata$=ot("Encoder"),xi.$metadata$=ot("CompositeEncoder"),Oi.prototype.gg=function(t,n){var e=or(this,t,n),r=this.fg(),o=t.mj(r),i=null;try{o.zk(this.fg(),0,e.fg().ch());var u,s=this.fg();u=yt(e,rr)?e:tt(),o.al(s,1,u,n)}catch(t){throw t instanceof Error?(i=t,t):t}finally{null==i&&o.nj(r)}},Oi.prototype.hg=function(t){var n;t:{var e=this.fg(),r=t.mj(e),o=null;try{var i=null,u=null;if(r.ak())return Si(this,r);n:for(;;){var s=r.bk(this.fg());if(qi(),-1===s)break n;if(0===s)i=r.wj(this.fg(),s);else{if(1!==s)throw wr("Invalid index in polymorphic deserialization of "+(null==i?"unknown class":i)+"\n Expected 0, 1 or DECODE_DONE(-1), but found "+s);var a=i;if(null==a)throw vt(wt("Cannot read polymorphic value before its type token"));var c=ir(this,r,i=a),p=this.fg();u=r.yj(p,s,c,null,8,null)}}var l=u;if(null==l)throw vt(wt("Polymorphic value has not been read for class "+i));var f=l;n=_n(f)?f:tt();break t}catch(t){throw t instanceof Error?(o=t,t):t}finally{null==o&&r.nj(e)}}return n},Oi.prototype.kg=function(t,n){return t.hh().kl(this.jg(),n)},Oi.prototype.ig=function(t,n){return t.hh().ll(this.jg(),n)},Oi.$metadata$=rt("AbstractPolymorphicSerializer",[nr]),Pi.$metadata$=ot("CachedNames"),Ti.prototype.ch=function(){return this.ol_1},Ti.$metadata$=rt("PrimitiveArrayDescriptor",void 0,void 0,void 0,void 0,Ai.prototype),Ai.prototype.bi=function(){return pi()},Ai.prototype.zh=function(){return this.ql_1},Ai.prototype.wh=function(t){return t.toString()},Ai.prototype.vh=function(t){var n=yn(t);if(null==n)throw vt(t+" is not a valid list index");return n},Ai.prototype.xh=function(t){var n;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));return!1},Ai.prototype.th=function(t){var n;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));return at()},Ai.prototype.uh=function(t){var n;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));return this.pl_1},Ai.prototype.equals=function(t){return this===t||t instanceof Ai&&!(!Wt(this.pl_1,t.pl_1)||this.ch()!==t.ch())},Ai.prototype.hashCode=function(){return Q(dn(this.pl_1),31)+nt(this.ch())|0},Ai.prototype.toString=function(){return this.ch()+"("+this.pl_1+")"},Ai.$metadata$=rt("ListLikeDescriptor",[vo]),Ni.prototype.ch=function(){return"kotlin.collections.ArrayList"},Ni.$metadata$=rt("ArrayListClassDesc",void 0,void 0,void 0,void 0,Ai.prototype),Ii.prototype.ch=function(){return"kotlin.Array"},Ii.$metadata$=rt("ArrayClassDesc",void 0,void 0,void 0,void 0,Ai.prototype),Bi.$metadata$=rt("LinkedHashMapClassDesc",void 0,void 0,void 0,void 0,Mi.prototype),Mi.prototype.ch=function(){return this.vl_1},Mi.prototype.bi=function(){return fi()},Mi.prototype.zh=function(){return this.yl_1},Mi.prototype.wh=function(t){return t.toString()},Mi.prototype.vh=function(t){var n=yn(t);if(null==n)throw vt(t+" is not a valid map index");return n},Mi.prototype.xh=function(t){var n;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));return!1},Mi.prototype.th=function(t){var n;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));return at()},Mi.prototype.uh=function(t){var n,e;if(!(t>=0))throw n="Illegal index "+t+", "+this.ch()+" expects only non-negative indices",vt(wt(n));switch(t%2|0){case 0:e=this.wl_1;break;case 1:e=this.xl_1;break;default:throw $t("Unreached")}return e},Mi.prototype.equals=function(t){return this===t||t instanceof Mi&&this.ch()===t.ch()&&!!Wt(this.wl_1,t.wl_1)&&!!Wt(this.xl_1,t.xl_1)},Mi.prototype.hashCode=function(){var t=nt(this.ch());return t=Q(31,t)+dn(this.wl_1)|0,t=Q(31,t)+dn(this.xl_1)|0},Mi.prototype.toString=function(){return this.ch()+"("+this.wl_1+", "+this.xl_1+")"},Mi.$metadata$=rt("MapLikeDescriptor",[vo]),Li.prototype.ch=function(){return"kotlin.collections.HashSet"},Li.$metadata$=rt("HashSetClassDesc",void 0,void 0,void 0,void 0,Ai.prototype),Fi.prototype.ch=function(){return"kotlin.collections.LinkedHashSet"},Fi.$metadata$=rt("LinkedHashSetClassDesc",void 0,void 0,void 0,void 0,Ai.prototype),Di.$metadata$=rt("HashMapClassDesc",void 0,void 0,void 0,void 0,Mi.prototype),Ji.prototype.fg=function(){return this.em_1},Ji.prototype.fm=function(t){return t.gm()},Ji.prototype.hm=function(t){return t.im()},Ji.prototype.jm=function(t,n){return t.w9(n)},Ji.prototype.km=function(t){throw $t("This method lead to boxing and must not be used, use writeContents instead")},Ji.prototype.lm=function(t){return this.km(null==t||_n(t)?t:tt())},Ji.prototype.mm=function(t,n,e){throw $t("This method lead to boxing and must not be used, use Builder.append instead")},Ji.prototype.nm=function(){return this.pm(this.om())},Ji.prototype.tm=function(t,n){var e=this.um(n),r=t.fl(this.em_1,e);this.sm(r,n,e),r.nj(this.em_1)},Ji.prototype.gg=function(t,n){return this.tm(t,null==n||_n(n)?n:tt())},Ji.prototype.vm=function(t,n){return this.tm(t,null==n||_n(n)?n:tt())},Ji.prototype.hg=function(t){return this.wm(t,null)},Ji.$metadata$=rt("PrimitiveArraySerializer",void 0,void 0,void 0,void 0,Hi.prototype),Ui.prototype.zm=function(t,n,e){var r;return 0!=(1&n)&&(t=this.gm()+1|0),null==e?(this.w9(t),r=st()):r=e(t),r},Ui.$metadata$=rt("PrimitiveArrayBuilder"),Hi.prototype.vm=function(t,n){var e=this.um(n),r=t.fl(this.fg(),e),o=this.lm(n),i=0;if(i<e)do{var u=i;i=i+1|0,r.al(this.fg(),u,this.xm_1,o.i())}while(i<e);r.nj(this.fg())},Hi.prototype.gg=function(t,n){return this.vm(t,null==n||_n(n)?n:tt())},Hi.prototype.ym=function(t,n,e,r){if(!(r>=0))throw vt(wt("Size must be known in advance when using READ_ALL"));var o=0;if(o<r)do{var i=o;o=o+1|0,this.qm(t,e+i|0,n,!1)}while(o<r)},Hi.prototype.qm=function(t,n,e,r){var o=this.fg();this.mm(e,n,t.yj(o,n,this.xm_1,null,8,null))},Hi.$metadata$=rt("ListLikeSerializer",void 0,void 0,void 0,void 0,Ki.prototype),Ki.prototype.wm=function(t,n){var e=n,r=null==e?null:this.pm(e),o=null==r?this.nm():r,i=this.fm(o),u=t.mj(this.fg());if(u.ak())this.ym(u,o,i,Vi(this,u,o));else t:for(;;){var s=u.bk(this.fg());if(qi(),-1===s)break t;var a=i+s|0;this.rm(u,a,o,!1,8,null)}return u.nj(this.fg()),this.hm(o)},Ki.prototype.hg=function(t){return this.wm(t,null)},Ki.prototype.rm=function(t,n,e,r,o,i){var u;return 0!=(8&o)&&(r=!0),null==i?(this.qm(t,n,e,r),u=st()):u=i(t,n,e,r),u},Ki.$metadata$=rt("AbstractCollectionSerializer",[nr]),Wi.prototype.fg=function(){return this.bn_1},Wi.prototype.cn=function(t){return t.f()},Wi.prototype.um=function(t){return this.cn(null!=t&&yt(t,Vt)?t:tt())},Wi.prototype.dn=function(t){return t.g()},Wi.prototype.lm=function(t){return this.dn(null!=t&&yt(t,Vt)?t:tt())},Wi.prototype.nm=function(){return Qt()},Wi.prototype.en=function(t){return t.f()},Wi.prototype.fm=function(t){return this.en(t instanceof Ut?t:tt())},Wi.prototype.fn=function(t){return t},Wi.prototype.hm=function(t){return this.fn(t instanceof Ut?t:tt())},Wi.prototype.gn=function(t){var n=t instanceof Ut?t:null;return null==n?vn(t):n},Wi.prototype.pm=function(t){return this.gn(null!=t&&yt(t,Vt)?t:tt())},Wi.prototype.hn=function(t,n){return t.w9(n)},Wi.prototype.jm=function(t,n){return this.hn(t instanceof Ut?t:tt(),n)},Wi.prototype.in=function(t,n,e){t.e9(n,e)},Wi.prototype.mm=function(t,n,e){var r=t instanceof Ut?t:tt();return this.in(r,n,null==e||_n(e)?e:tt())},Wi.$metadata$=rt("ArrayListSerializer",void 0,void 0,void 0,void 0,Hi.prototype),Gi.prototype.fg=function(){return this.ln_1},Gi.prototype.mn=function(t){return t.length},Gi.prototype.um=function(t){return this.mn(null!=t&&gn(t)?t:tt())},Gi.prototype.nn=function(t){return mn(t)},Gi.prototype.lm=function(t){return this.nn(null!=t&&gn(t)?t:tt())},Gi.prototype.nm=function(){return Qt()},Gi.prototype.on=function(t){return t.f()},Gi.prototype.fm=function(t){return this.on(t instanceof Ut?t:tt())},Gi.prototype.pn=function(t){return Pa(t,this.kn_1)},Gi.prototype.hm=function(t){return this.pn(t instanceof Ut?t:tt())},Gi.prototype.qn=function(t){return vn(ht(t))},Gi.prototype.pm=function(t){return this.qn(null!=t&&gn(t)?t:tt())},Gi.prototype.rn=function(t,n){return t.w9(n)},Gi.prototype.jm=function(t,n){return this.rn(t instanceof Ut?t:tt(),n)},Gi.prototype.sn=function(t,n,e){t.e9(n,e)},Gi.prototype.mm=function(t,n,e){var r=t instanceof Ut?t:tt();return this.sn(r,n,null==e||_n(e)?e:tt())},Gi.$metadata$=rt("ReferenceArraySerializer",void 0,void 0,void 0,void 0,Hi.prototype),Xi.prototype.fg=function(){return this.vn_1},Xi.prototype.wn=function(t){return t.f()},Xi.prototype.um=function(t){return this.wn(null!=t&&yt(t,qt)?t:tt())},Xi.prototype.xn=function(t){return t.q().g()},Xi.prototype.lm=function(t){return this.xn(null!=t&&yt(t,qt)?t:tt())},Xi.prototype.nm=function(){return bt()},Xi.prototype.yn=function(t){return Q(t.f(),2)},Xi.prototype.fm=function(t){return this.yn(t instanceof It?t:tt())},Xi.prototype.zn=function(t){return t},Xi.prototype.hm=function(t){return this.zn(t instanceof It?t:tt())},Xi.prototype.ao=function(t){var n=t instanceof It?t:null;return null==n?bn(t):n},Xi.prototype.pm=function(t){return this.ao(null!=t&&yt(t,qt)?t:tt())},Xi.prototype.bo=function(t,n){},Xi.prototype.jm=function(t,n){return this.bo(t instanceof It?t:tt(),n)},Xi.$metadata$=rt("LinkedHashMapSerializer",void 0,void 0,void 0,void 0,Yi.prototype),Yi.prototype.eo=function(){return this.co_1},Yi.prototype.fo=function(){return this.do_1},Yi.prototype.ym=function(t,n,e,r){if(!(r>=0))throw vt(wt("Size must be known in advance when using READ_ALL"));var o=wn(an(0,Q(r,2)),2),i=o.x_1,u=o.y_1,s=o.z_1;if(s>0&&i<=u||s<0&&u<=i)do{var a=i;i=i+s|0,this.qm(t,e+a|0,n,!1)}while(a!==u)},Yi.prototype.qm=function(t,n,e,r){var o,i=this.fg(),u=t.yj(i,n,this.co_1,null,8,null);if(r){var s=t.bk(this.fg());if(s!==(n+1|0))throw vt(wt("Value must follow key in a map, index for key: "+n+", returned index for value: "+s));o=s}else o=n+1|0;var a,c=o;if(!e.a2(u)||this.do_1.fg().bi()instanceof ui){var p=this.fg();a=t.yj(p,c,this.do_1,null,8,null)}else a=t.xj(this.fg(),c,this.do_1,$n(e,u));var l=a;e.l(u,l)},Yi.prototype.vm=function(t,n){for(var e=this.um(n),r=t.fl(this.fg(),e),o=0,i=this.lm(n);i.h();){var u=i.i(),s=u.q1(),a=u.s1(),c=this.fg(),p=o;o=p+1|0,r.al(c,p,this.co_1,s);var l=this.fg(),f=o;o=f+1|0,r.al(l,f,this.do_1,a)}r.nj(this.fg())},Yi.prototype.gg=function(t,n){return this.vm(t,null==n||_n(n)?n:tt())},Yi.$metadata$=rt("MapLikeSerializer",void 0,void 0,void 0,void 0,Ki.prototype),Zi.prototype.fg=function(){return this.ho_1},Zi.prototype.io=function(t){return t.f()},Zi.prototype.um=function(t){return this.io(null!=t&&yt(t,Dt)?t:tt())},Zi.prototype.jo=function(t){return t.g()},Zi.prototype.lm=function(t){return this.jo(null!=t&&yt(t,Dt)?t:tt())},Zi.prototype.nm=function(){return tn()},Zi.prototype.ko=function(t){return t.f()},Zi.prototype.fm=function(t){return this.ko(t instanceof Jt?t:tt())},Zi.prototype.lo=function(t){return t},Zi.prototype.hm=function(t){return this.lo(t instanceof Jt?t:tt())},Zi.prototype.mo=function(t){var n=t instanceof Jt?t:null;return null==n?jn(t):n},Zi.prototype.pm=function(t){return this.mo(null!=t&&yt(t,Dt)?t:tt())},Zi.prototype.no=function(t,n){},Zi.prototype.jm=function(t,n){return this.no(t instanceof Jt?t:tt(),n)},Zi.prototype.oo=function(t,n,e){t.a(e)},Zi.prototype.mm=function(t,n,e){var r=t instanceof Jt?t:tt();return this.oo(r,n,null==e||_n(e)?e:tt())},Zi.$metadata$=rt("HashSetSerializer",void 0,void 0,void 0,void 0,Hi.prototype),Qi.prototype.fg=function(){return this.qo_1},Qi.prototype.io=function(t){return t.f()},Qi.prototype.um=function(t){return this.io(null!=t&&yt(t,Dt)?t:tt())},Qi.prototype.jo=function(t){return t.g()},Qi.prototype.lm=function(t){return this.jo(null!=t&&yt(t,Dt)?t:tt())},Qi.prototype.nm=function(){return kn()},Qi.prototype.ro=function(t){return t.f()},Qi.prototype.fm=function(t){return this.ro(t instanceof Lt?t:tt())},Qi.prototype.so=function(t){return t},Qi.prototype.hm=function(t){return this.so(t instanceof Lt?t:tt())},Qi.prototype.mo=function(t){var n=t instanceof Lt?t:null;return null==n?qn(t):n},Qi.prototype.pm=function(t){return this.mo(null!=t&&yt(t,Dt)?t:tt())},Qi.prototype.to=function(t,n){},Qi.prototype.jm=function(t,n){return this.to(t instanceof Lt?t:tt(),n)},Qi.prototype.uo=function(t,n,e){t.a(e)},Qi.prototype.mm=function(t,n,e){var r=t instanceof Lt?t:tt();return this.uo(r,n,null==e||_n(e)?e:tt())},Qi.$metadata$=rt("LinkedHashSetSerializer",void 0,void 0,void 0,void 0,Hi.prototype),tu.prototype.fg=function(){return this.xo_1},tu.prototype.wn=function(t){return t.f()},tu.prototype.um=function(t){return this.wn(null!=t&&yt(t,qt)?t:tt())},tu.prototype.xn=function(t){return t.q().g()},tu.prototype.lm=function(t){return this.xn(null!=t&&yt(t,qt)?t:tt())},tu.prototype.nm=function(){return Cn()},tu.prototype.yo=function(t){return Q(t.f(),2)},tu.prototype.fm=function(t){return this.yo(t instanceof Mt?t:tt())},tu.prototype.zo=function(t){return t},tu.prototype.hm=function(t){return this.zo(t instanceof Mt?t:tt())},tu.prototype.ao=function(t){var n=t instanceof Mt?t:null;return null==n?zn(t):n},tu.prototype.pm=function(t){return this.ao(null!=t&&yt(t,qt)?t:tt())},tu.prototype.ap=function(t,n){},tu.prototype.jm=function(t,n){return this.ap(t instanceof Mt?t:tt(),n)},tu.$metadata$=rt("HashMapSerializer",void 0,void 0,void 0,void 0,Yi.prototype),nu.$metadata$=pn("Companion"),uu.prototype.gp=function(t){Sn(),t<64?this.ep_1=this.ep_1.jf(new fn(1,0).q7(t)):ou(this,t)},uu.prototype.hp=function(){for(var t=this.cp_1.zh();!this.ep_1.equals(new fn(-1,-1));){var n=En(this.ep_1.if());if(this.ep_1=this.ep_1.jf(new fn(1,0).q7(n)),this.dp_1(this.cp_1,n))return n}return Sn(),t>64?iu(this):(qi(),-1)},uu.$metadata$=rt("ElementMarker"),au.prototype.fg=function(){return this.jp_1},au.prototype.gg=function(t,n){var e=Rn(this.ip_1,n);if(-1===e)throw wr(n+" is not a valid enum "+this.jp_1.ch()+", must be one of "+Pn(this.ip_1));t.pk(this.jp_1,e)},au.prototype.hg=function(t){var n=t.ij(this.jp_1);if(!(0<=n&&n<=(this.ip_1.length-1|0)))throw wr(n+" is not among valid "+this.jp_1.ch()+" enum values, values size is "+this.ip_1.length);return this.ip_1[n]},au.prototype.toString=function(){return"kotlinx.serialization.internal.EnumSerializer<"+this.jp_1.ch()+">"},au.$metadata$=rt("EnumSerializer",[nr]),lu.prototype.bi=function(){return this.wp_1},lu.prototype.uh=function(t){return Ea(cu(this),t)},lu.prototype.equals=function(t){return this===t||null!=t&&!(null==t||!yt(t,vo))&&t.bi()===Bo()&&this.ch()===t.ch()&&!!Wt(Au(this),Au(t))},lu.prototype.toString=function(){var t=mo(this),n=this.ch()+"(";return cn(t,", ",n,")",0,null,null,56,null)},lu.prototype.hashCode=function(){for(var t=nt(this.ch()),n=1,e=mo(this).g();e.h();){var r,o=e.i(),i=Q(31,n),u=null==(r=o)?null:dn(r);n=i+(null==u?0:u)|0}var s=n;return t=Q(31,t)+s|0},lu.$metadata$=rt("EnumDescriptor",void 0,void 0,void 0,void 0,Wu.prototype),_u.prototype.ai=function(){return this.yq_1},_u.prototype.hashCode=function(){return Q(Wu.prototype.hashCode.call(this),31)},_u.prototype.equals=function(t){var n;t:if(this!==t)if(t instanceof _u)if(this.ch()===t.ch()){var e=t;if(e.yq_1&&sn(this.kq(),e.kq()))if(this.zh()===t.zh()){var r=0,o=this.zh();if(r<o)do{var i=r;if(r=r+1|0,this.uh(i).ch()!==t.uh(i).ch()){n=!1;break t}if(!Wt(this.uh(i).bi(),t.uh(i).bi())){n=!1;break t}}while(r<o);n=!0}else n=!1;else n=!1}else n=!1;else n=!1;else n=!0;return n},_u.$metadata$=rt("InlineClassDescriptor",void 0,void 0,void 0,void 0,Wu.prototype),yu.prototype.ar=function(){return[this.zq_1]},yu.prototype.fg=function(){throw $t("unsupported")},yu.prototype.gg=function(t,n){throw $t("unsupported")},yu.prototype.hg=function(t){throw $t("unsupported")},yu.$metadata$=rt(void 0,[Qu]),du.prototype.fg=function(){return this.cr_1},du.prototype.dr=function(t,n){var e,r=t.qk(this.cr_1);e=Nn(n),r.jk(e)},du.prototype.gg=function(t,n){return this.dr(t,n instanceof In?n.y6_1:tt())},du.prototype.er=function(t){var n=t.jj(this.cr_1).cj();return Bn(n)},du.prototype.hg=function(t){return new In(this.er(t))},du.$metadata$=pn("UIntSerializer",[nr]),gu.prototype.fg=function(){return this.fr_1},gu.prototype.gr=function(t,n){var e,r=t.qk(this.fr_1);e=Mn(n),r.kk(e)},gu.prototype.gg=function(t,n){return this.gr(t,n instanceof Ln?n.g7_1:tt())},gu.prototype.hr=function(t){var n=t.jj(this.fr_1).dj();return Fn(n)},gu.prototype.hg=function(t){return new Ln(this.hr(t))},gu.$metadata$=pn("ULongSerializer",[nr]),bu.prototype.fg=function(){return this.ir_1},bu.prototype.jr=function(t,n){var e,r=t.qk(this.ir_1);e=Jn(n),r.hk(e)},bu.prototype.gg=function(t,n){return this.jr(t,n instanceof Un?n.r6_1:tt())},bu.prototype.kr=function(t){var n=t.jj(this.ir_1).aj();return Hn(n)},bu.prototype.hg=function(t){return new Un(this.kr(t))},bu.$metadata$=pn("UByteSerializer",[nr]),$u.prototype.fg=function(){return this.lr_1},$u.prototype.mr=function(t,n){var e,r=t.qk(this.lr_1);e=Kn(n),r.ik(e)},$u.prototype.gg=function(t,n){return this.mr(t,n instanceof Wn?n.m7_1:tt())},$u.prototype.nr=function(t){var n=t.jj(this.lr_1).bj();return Gn(n)},$u.prototype.hg=function(t){return new Wn(this.nr(t))},$u.$metadata$=pn("UShortSerializer",[nr]),qu.prototype.th=function(t){return this.nh_1.th(t)},qu.prototype.uh=function(t){return this.nh_1.uh(t)},qu.prototype.vh=function(t){return this.nh_1.vh(t)},qu.prototype.wh=function(t){return this.nh_1.wh(t)},qu.prototype.xh=function(t){return this.nh_1.xh(t)},qu.prototype.yh=function(){return this.nh_1.yh()},qu.prototype.zh=function(){return this.nh_1.zh()},qu.prototype.ai=function(){return this.nh_1.ai()},qu.prototype.bi=function(){return this.nh_1.bi()},qu.prototype.ch=function(){return this.oh_1},qu.prototype.vi=function(){return this.ph_1},qu.prototype.mh=function(){return!0},qu.prototype.equals=function(t){return this===t||t instanceof qu&&!!Wt(this.nh_1,t.nh_1)},qu.prototype.toString=function(){return this.nh_1+"?"},qu.prototype.hashCode=function(){return Q(dn(this.nh_1),31)},qu.$metadata$=rt("SerialDescriptorForNullable",[vo,Pi]),Cu.prototype.fg=function(){return this.pr_1},Cu.prototype.qr=function(t,n){null!=n?(t.el(),t.bl(this.or_1,n)):t.fk()},Cu.prototype.gg=function(t,n){return this.qr(t,null==n||_n(n)?n:tt())},Cu.prototype.hg=function(t){return t.xi()?t.lj(this.or_1):t.yi()},Cu.prototype.equals=function(t){return this===t||!(null==t||!it(this).equals(it(t)))&&(t instanceof Cu||tt(),!!Wt(this.or_1,t.or_1))},Cu.prototype.hashCode=function(){return dn(this.or_1)},Cu.$metadata$=rt("NullableSerializer",[nr]),Eu.prototype.fg=function(){return Ru(),this.tr_1.s1()},Eu.prototype.gg=function(t,n){t.mj(this.fg()).nj(this.fg())},Eu.prototype.hg=function(t){return t.mj(this.fg()).nj(this.fg()),this.rr_1},Eu.$metadata$=rt("ObjectSerializer",[nr]),Wu.prototype.ch=function(){return this.yp_1},Wu.prototype.zh=function(){return this.aq_1},Wu.prototype.bi=function(){return ai()},Wu.prototype.yh=function(){var t=this.eq_1;return null==t?at():t},Wu.prototype.vi=function(){return this.gq_1.h2()},Wu.prototype.kq=function(){return Xu(),this.iq_1.s1()},Wu.prototype.lq=function(t,n){var e=this;e.bq_1=e.bq_1+1|0,this.cq_1[e.bq_1]=t,this.fq_1[this.bq_1]=n,this.dq_1[this.bq_1]=null,this.bq_1===(this.aq_1-1|0)&&(this.gq_1=Ju(this))},Wu.prototype.uh=function(t){return Ea(Fu(this),t).fg()},Wu.prototype.xh=function(t){return Ra(this.fq_1,t)},Wu.prototype.th=function(t){var n=Ea(this.dq_1,t);return null==n?at():n},Wu.prototype.wh=function(t){return Ea(this.cq_1,t)},Wu.prototype.vh=function(t){var n,e=this.gq_1.g2(t);return null==e?(qi(),n=-3):n=e,n},Wu.prototype.equals=function(t){var n;t:if(this!==t)if(t instanceof Wu)if(this.ch()===t.ch()){var e=t;if(sn(this.kq(),e.kq()))if(this.zh()===t.zh()){var r=0,o=this.zh();if(r<o)do{var i=r;if(r=r+1|0,this.uh(i).ch()!==t.uh(i).ch()){n=!1;break t}if(!Wt(this.uh(i).bi(),t.uh(i).bi())){n=!1;break t}}while(r<o);n=!0}else n=!1;else n=!1}else n=!1;else n=!1;else n=!0;return n},Wu.prototype.hashCode=function(){return Du(this)},Wu.prototype.toString=function(){var t=an(0,this.aq_1),n=this.ch()+"(";return cn(t,", ",n,")",0,null,Ku(this),24,null)},Wu.$metadata$=rt("PluginGeneratedSerialDescriptor",[vo,Pi]),Qu.$metadata$=ot("GeneratedSerializer",[nr]),ts.$metadata$=ot("SerializerFactory"),es.prototype.xr=function(t){return t.length},es.prototype.um=function(t){return this.xr(null!=t&&ne(t)?t:tt())},es.prototype.yr=function(t){return new gs(t)},es.prototype.pm=function(t){return this.yr(null!=t&&ne(t)?t:tt())},es.prototype.om=function(){return ee(0)},es.prototype.zr=function(t,n,e,r){e.cs(t.vj(this.em_1,n))},es.prototype.qm=function(t,n,e,r){return this.zr(t,n,e instanceof gs?e:tt(),r)},es.prototype.ds=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.yk(this.em_1,o,n[o])}while(r<e)},es.prototype.sm=function(t,n,e){return this.ds(t,null!=n&&ne(n)?n:tt(),e)},es.$metadata$=pn("CharArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),os.prototype.gs=function(t){return t.length},os.prototype.um=function(t){return this.gs(null!=t&&oe(t)?t:tt())},os.prototype.hs=function(t){return new ms(t)},os.prototype.pm=function(t){return this.hs(null!=t&&oe(t)?t:tt())},os.prototype.om=function(){return new Float64Array(0)},os.prototype.is=function(t,n,e,r){e.ls(t.uj(this.em_1,n))},os.prototype.qm=function(t,n,e,r){return this.is(t,n,e instanceof ms?e:tt(),r)},os.prototype.ms=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.xk(this.em_1,o,n[o])}while(r<e)},os.prototype.sm=function(t,n,e){return this.ms(t,null!=n&&oe(n)?n:tt(),e)},os.$metadata$=pn("DoubleArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),us.prototype.ps=function(t){return t.length},us.prototype.um=function(t){return this.ps(null!=t&&ue(t)?t:tt())},us.prototype.qs=function(t){return new bs(t)},us.prototype.pm=function(t){return this.qs(null!=t&&ue(t)?t:tt())},us.prototype.om=function(){return new Float32Array(0)},us.prototype.rs=function(t,n,e,r){e.us(t.tj(this.em_1,n))},us.prototype.qm=function(t,n,e,r){return this.rs(t,n,e instanceof bs?e:tt(),r)},us.prototype.vs=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.wk(this.em_1,o,n[o])}while(r<e)},us.prototype.sm=function(t,n,e){return this.vs(t,null!=n&&ue(n)?n:tt(),e)},us.$metadata$=pn("FloatArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),as.prototype.ys=function(t){return t.length},as.prototype.um=function(t){return this.ys(null!=t&&se(t)?t:tt())},as.prototype.zs=function(t){return new ws(t)},as.prototype.pm=function(t){return this.zs(null!=t&&se(t)?t:tt())},as.prototype.om=function(){return xn(0)},as.prototype.at=function(t,n,e,r){e.dt(t.sj(this.em_1,n))},as.prototype.qm=function(t,n,e,r){return this.at(t,n,e instanceof ws?e:tt(),r)},as.prototype.et=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.vk(this.em_1,o,n[o])}while(r<e)},as.prototype.sm=function(t,n,e){return this.et(t,null!=n&&se(n)?n:tt(),e)},as.$metadata$=pn("LongArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),ps.prototype.ht=function(t){return t.length},ps.prototype.um=function(t){return this.ht(null!=t&&ae(t)?t:tt())},ps.prototype.it=function(t){return new $s(t)},ps.prototype.pm=function(t){return this.it(null!=t&&ae(t)?t:tt())},ps.prototype.om=function(){return new Int32Array(0)},ps.prototype.jt=function(t,n,e,r){e.mt(t.rj(this.em_1,n))},ps.prototype.qm=function(t,n,e,r){return this.jt(t,n,e instanceof $s?e:tt(),r)},ps.prototype.nt=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.uk(this.em_1,o,n[o])}while(r<e)},ps.prototype.sm=function(t,n,e){return this.nt(t,null!=n&&ae(n)?n:tt(),e)},ps.$metadata$=pn("IntArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),fs.prototype.qt=function(t){return t.length},fs.prototype.um=function(t){return this.qt(null!=t&&ce(t)?t:tt())},fs.prototype.rt=function(t){return new js(t)},fs.prototype.pm=function(t){return this.rt(null!=t&&ce(t)?t:tt())},fs.prototype.om=function(){return new Int16Array(0)},fs.prototype.st=function(t,n,e,r){e.vt(t.qj(this.em_1,n))},fs.prototype.qm=function(t,n,e,r){return this.st(t,n,e instanceof js?e:tt(),r)},fs.prototype.wt=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.tk(this.em_1,o,n[o])}while(r<e)},fs.prototype.sm=function(t,n,e){return this.wt(t,null!=n&&ce(n)?n:tt(),e)},fs.$metadata$=pn("ShortArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),_s.prototype.zt=function(t){return t.length},_s.prototype.um=function(t){return this.zt(null!=t&&pe(t)?t:tt())},_s.prototype.au=function(t){return new ks(t)},_s.prototype.pm=function(t){return this.au(null!=t&&pe(t)?t:tt())},_s.prototype.om=function(){return new Int8Array(0)},_s.prototype.bu=function(t,n,e,r){e.eu(t.pj(this.em_1,n))},_s.prototype.qm=function(t,n,e,r){return this.bu(t,n,e instanceof ks?e:tt(),r)},_s.prototype.fu=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.sk(this.em_1,o,n[o])}while(r<e)},_s.prototype.sm=function(t,n,e){return this.fu(t,null!=n&&pe(n)?n:tt(),e)},_s.$metadata$=pn("ByteArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),ds.prototype.iu=function(t){return t.length},ds.prototype.um=function(t){return this.iu(null!=t&&fe(t)?t:tt())},ds.prototype.ju=function(t){return new qs(t)},ds.prototype.pm=function(t){return this.ju(null!=t&&fe(t)?t:tt())},ds.prototype.om=function(){return Zn(0)},ds.prototype.ku=function(t,n,e,r){e.nu(t.oj(this.em_1,n))},ds.prototype.qm=function(t,n,e,r){return this.ku(t,n,e instanceof qs?e:tt(),r)},ds.prototype.ou=function(t,n,e){var r=0;if(r<e)do{var o=r;r=r+1|0,t.rk(this.em_1,o,n[o])}while(r<e)},ds.prototype.sm=function(t,n,e){return this.ou(t,null!=n&&fe(n)?n:tt(),e)},ds.$metadata$=pn("BooleanArraySerializer",[nr],void 0,void 0,void 0,Ji.prototype),gs.prototype.gm=function(){return this.bs_1},gs.prototype.w9=function(t){this.as_1.length<t&&(this.as_1=_e(this.as_1,he(t,Q(this.as_1.length,2))))},gs.prototype.cs=function(t){this.zm(0,1,null);var n=this.as_1,e=this,r=e.bs_1;e.bs_1=r+1|0,n[r]=t},gs.prototype.im=function(){return _e(this.as_1,this.bs_1)},gs.$metadata$=rt("CharArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),ms.prototype.gm=function(){return this.ks_1},ms.prototype.w9=function(t){this.js_1.length<t&&(this.js_1=ye(this.js_1,he(t,Q(this.js_1.length,2))))},ms.prototype.ls=function(t){this.zm(0,1,null);var n=this.js_1,e=this,r=e.ks_1;e.ks_1=r+1|0,n[r]=t},ms.prototype.im=function(){return ye(this.js_1,this.ks_1)},ms.$metadata$=rt("DoubleArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),bs.prototype.gm=function(){return this.ts_1},bs.prototype.w9=function(t){this.ss_1.length<t&&(this.ss_1=de(this.ss_1,he(t,Q(this.ss_1.length,2))))},bs.prototype.us=function(t){this.zm(0,1,null);var n=this.ss_1,e=this,r=e.ts_1;e.ts_1=r+1|0,n[r]=t},bs.prototype.im=function(){return de(this.ss_1,this.ts_1)},bs.$metadata$=rt("FloatArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),ws.prototype.gm=function(){return this.ct_1},ws.prototype.w9=function(t){this.bt_1.length<t&&(this.bt_1=ve(this.bt_1,he(t,Q(this.bt_1.length,2))))},ws.prototype.dt=function(t){this.zm(0,1,null);var n=this.bt_1,e=this,r=e.ct_1;e.ct_1=r+1|0,n[r]=t},ws.prototype.im=function(){return ve(this.bt_1,this.ct_1)},ws.$metadata$=rt("LongArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),$s.prototype.gm=function(){return this.lt_1},$s.prototype.w9=function(t){this.kt_1.length<t&&(this.kt_1=ge(this.kt_1,he(t,Q(this.kt_1.length,2))))},$s.prototype.mt=function(t){this.zm(0,1,null);var n=this.kt_1,e=this,r=e.lt_1;e.lt_1=r+1|0,n[r]=t},$s.prototype.im=function(){return ge(this.kt_1,this.lt_1)},$s.$metadata$=rt("IntArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),js.prototype.gm=function(){return this.ut_1},js.prototype.w9=function(t){this.tt_1.length<t&&(this.tt_1=me(this.tt_1,he(t,Q(this.tt_1.length,2))))},js.prototype.vt=function(t){this.zm(0,1,null);var n=this.tt_1,e=this,r=e.ut_1;e.ut_1=r+1|0,n[r]=t},js.prototype.im=function(){return me(this.tt_1,this.ut_1)},js.$metadata$=rt("ShortArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),ks.prototype.gm=function(){return this.du_1},ks.prototype.w9=function(t){this.cu_1.length<t&&(this.cu_1=be(this.cu_1,he(t,Q(this.cu_1.length,2))))},ks.prototype.eu=function(t){this.zm(0,1,null);var n=this.cu_1,e=this,r=e.du_1;e.du_1=r+1|0,n[r]=t},ks.prototype.im=function(){return be(this.cu_1,this.du_1)},ks.$metadata$=rt("ByteArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),qs.prototype.gm=function(){return this.mu_1},qs.prototype.w9=function(t){this.lu_1.length<t&&(this.lu_1=we(this.lu_1,he(t,Q(this.lu_1.length,2))))},qs.prototype.nu=function(t){this.zm(0,1,null);var n=this.lu_1,e=this,r=e.mu_1;e.mu_1=r+1|0,n[r]=t},qs.prototype.im=function(){return we(this.lu_1,this.mu_1)},qs.$metadata$=rt("BooleanArrayBuilder",void 0,void 0,void 0,void 0,Ui.prototype),zs.prototype.fg=function(){return this.pu_1},zs.prototype.qu=function(t,n){return t.ok(n)},zs.prototype.gg=function(t,n){return this.qu(t,null!=n&&"string"==typeof n?n:tt())},zs.prototype.hg=function(t){return t.hj()},zs.$metadata$=pn("StringSerializer",[nr]),Ss.prototype.fg=function(){return this.ru_1},Ss.prototype.su=function(t,n){return t.nk(n)},Ss.prototype.gg=function(t,n){return this.su(t,n instanceof hn?n.c1_1:tt())},Ss.prototype.tu=function(t){return t.gj()},Ss.prototype.hg=function(t){return new hn(this.tu(t))},Ss.$metadata$=pn("CharSerializer",[nr]),Es.prototype.fg=function(){return this.uu_1},Es.prototype.vu=function(t,n){return t.mk(n)},Es.prototype.gg=function(t,n){return this.vu(t,null!=n&&"number"==typeof n?n:tt())},Es.prototype.hg=function(t){return t.fj()},Es.$metadata$=pn("DoubleSerializer",[nr]),Ps.prototype.fg=function(){return this.wu_1},Ps.prototype.xu=function(t,n){return t.lk(n)},Ps.prototype.gg=function(t,n){return this.xu(t,null!=n&&"number"==typeof n?n:tt())},Ps.prototype.hg=function(t){return t.ej()},Ps.$metadata$=pn("FloatSerializer",[nr]),As.prototype.fg=function(){return this.yu_1},As.prototype.zu=function(t,n){return t.kk(n)},As.prototype.gg=function(t,n){return this.zu(t,n instanceof fn?n:tt())},As.prototype.hg=function(t){return t.dj()},As.$metadata$=pn("LongSerializer",[nr]),Is.prototype.fg=function(){return this.av_1},Is.prototype.bv=function(t,n){return t.jk(n)},Is.prototype.gg=function(t,n){return this.bv(t,null!=n&&"number"==typeof n?n:tt())},Is.prototype.hg=function(t){return t.cj()},Is.$metadata$=pn("IntSerializer",[nr]),Ms.prototype.fg=function(){return this.cv_1},Ms.prototype.dv=function(t,n){return t.ik(n)},Ms.prototype.gg=function(t,n){return this.dv(t,null!=n&&"number"==typeof n?n:tt())},Ms.prototype.hg=function(t){return t.bj()},Ms.$metadata$=pn("ShortSerializer",[nr]),Fs.prototype.fg=function(){return this.ev_1},Fs.prototype.fv=function(t,n){return t.hk(n)},Fs.prototype.gg=function(t,n){return this.fv(t,null!=n&&"number"==typeof n?n:tt())},Fs.prototype.hg=function(t){return t.aj()},Fs.$metadata$=pn("ByteSerializer",[nr]),Js.prototype.fg=function(){return this.gv_1},Js.prototype.hv=function(t,n){return t.gk(n)},Js.prototype.gg=function(t,n){return this.hv(t,null!=n&&"boolean"==typeof n?n:tt())},Js.prototype.hg=function(t){return t.zi()},Js.$metadata$=pn("BooleanSerializer",[nr]),Hs.prototype.jv=function(t){this.iv_1.hg(t)},Hs.prototype.hg=function(t){return this.jv(t),st()},Hs.prototype.kv=function(t,n){this.iv_1.gg(t,st())},Hs.prototype.gg=function(t,n){return this.kv(t,n instanceof $e?n:tt())},Hs.prototype.fg=function(){return this.iv_1.fg()},Hs.$metadata$=pn("UnitSerializer",[nr]),Ws.prototype.ch=function(){return this.lv_1},Ws.prototype.bi=function(){return this.mv_1},Ws.prototype.zh=function(){return 0},Ws.prototype.wh=function(t){Ks()},Ws.prototype.vh=function(t){Ks()},Ws.prototype.xh=function(t){Ks()},Ws.prototype.uh=function(t){Ks()},Ws.prototype.th=function(t){Ks()},Ws.prototype.toString=function(){return"PrimitiveDescriptor("+this.lv_1+")"},Ws.$metadata$=rt("PrimitiveSerialDescriptor",[vo]),ta.prototype.ov=function(t,n){return this.qv(this.pv(t,n))},ta.prototype.qv=function(t){var n=this.sv();return this.tv(null==n?"":n,t)},ta.prototype.pv=function(t,n){return t.wh(n)},ta.prototype.tv=function(t,n){return 0===qe(t)?n:t+"."+n},ta.$metadata$=rt("NamedValueEncoder",void 0,void 0,void 0,void 0,ra.prototype),na.prototype.ov=function(t,n){return this.qv(this.pv(t,n))},na.prototype.qv=function(t){var n=this.sv();return this.tv(null==n?"":n,t)},na.prototype.pv=function(t,n){return t.wh(n)},na.prototype.tv=function(t,n){return 0===qe(t)?n:t+"."+n},na.$metadata$=rt("NamedValueDecoder",void 0,void 0,void 0,void 0,sa.prototype),ra.prototype.hh=function(){return ba()},ra.prototype.uv=function(t,n){throw wr("Non-serializable "+it(n)+" is not supported by "+it(this)+" encoder")},ra.prototype.vv=function(t){throw wr("null is not supported")},ra.prototype.wv=function(t,n){return this.uv(t,n)},ra.prototype.xv=function(t,n){return this.uv(t,n)},ra.prototype.yv=function(t,n){return this.uv(t,n)},ra.prototype.zv=function(t,n){return this.uv(t,n)},ra.prototype.aw=function(t,n){return this.uv(t,n)},ra.prototype.bw=function(t,n){return this.uv(t,n)},ra.prototype.cw=function(t,n){return this.uv(t,n)},ra.prototype.dw=function(t,n){return this.uv(t,new hn(n))},ra.prototype.ew=function(t,n){return this.uv(t,n)},ra.prototype.fw=function(t,n,e){return this.uv(t,e)},ra.prototype.gw=function(t,n){return this.iw(t),this},ra.prototype.qk=function(t){return this.gw(this.jw(),t)},ra.prototype.el=function(){},ra.prototype.fk=function(){return this.vv(this.jw())},ra.prototype.gk=function(t){return this.cw(this.jw(),t)},ra.prototype.hk=function(t){return this.xv(this.jw(),t)},ra.prototype.ik=function(t){return this.yv(this.jw(),t)},ra.prototype.jk=function(t){return this.wv(this.jw(),t)},ra.prototype.kk=function(t){return this.zv(this.jw(),t)},ra.prototype.lk=function(t){return this.aw(this.jw(),t)},ra.prototype.mk=function(t){return this.bw(this.jw(),t)},ra.prototype.nk=function(t){return this.dw(this.jw(),t)},ra.prototype.ok=function(t){return this.ew(this.jw(),t)},ra.prototype.pk=function(t,n){return this.fw(this.jw(),t,n)},ra.prototype.mj=function(t){return this},ra.prototype.nj=function(t){!this.rv_1.j()&&this.jw(),this.hw(t)},ra.prototype.hw=function(t){},ra.prototype.rk=function(t,n,e){return this.cw(this.ov(t,n),e)},ra.prototype.sk=function(t,n,e){return this.xv(this.ov(t,n),e)},ra.prototype.tk=function(t,n,e){return this.yv(this.ov(t,n),e)},ra.prototype.uk=function(t,n,e){return this.wv(this.ov(t,n),e)},ra.prototype.vk=function(t,n,e){return this.zv(this.ov(t,n),e)},ra.prototype.wk=function(t,n,e){return this.aw(this.ov(t,n),e)},ra.prototype.xk=function(t,n,e){return this.bw(this.ov(t,n),e)},ra.prototype.yk=function(t,n,e){return this.dw(this.ov(t,n),e)},ra.prototype.zk=function(t,n,e){return this.ew(this.ov(t,n),e)},ra.prototype.al=function(t,n,e,r){ea(this,t,n)&&this.bl(e,r)},ra.prototype.cl=function(t,n,e,r){ea(this,t,n)&&this.dl(e,r)},ra.prototype.bx=function(){return Re(this.rv_1)},ra.prototype.sv=function(){return Pe(this.rv_1)},ra.prototype.iw=function(t){this.rv_1.a(t)},ra.prototype.jw=function(){if(this.rv_1.j())throw wr("No tag in stack for requested element");return this.rv_1.r3(Te(this.rv_1))},ra.$metadata$=rt("TaggedEncoder",[zi,xi]),sa.prototype.hh=function(){return ba()},sa.prototype.ow=function(t){throw wr(it(this)+" can't retrieve untyped values")},sa.prototype.pw=function(t){return!0},sa.prototype.qw=function(t){var n=this.ow(t);return"boolean"==typeof n?n:tt()},sa.prototype.rw=function(t){var n=this.ow(t);return"number"==typeof n?n:tt()},sa.prototype.sw=function(t){var n=this.ow(t);return"number"==typeof n?n:tt()},sa.prototype.tw=function(t){var n=this.ow(t);return"number"==typeof n?n:tt()},sa.prototype.uw=function(t){var n=this.ow(t);return n instanceof fn?n:tt()},sa.prototype.vw=function(t){var n=this.ow(t);return"number"==typeof n?n:tt()},sa.prototype.ww=function(t){var n=this.ow(t);return"number"==typeof n?n:tt()},sa.prototype.xw=function(t){var n=this.ow(t);return n instanceof hn?n.c1_1:tt()},sa.prototype.yw=function(t){var n=this.ow(t);return"string"==typeof n?n:tt()},sa.prototype.zw=function(t,n){var e=this.ow(t);return"number"==typeof e?e:tt()},sa.prototype.ax=function(t,n){return this.iw(t),this},sa.prototype.kj=function(t,n){return this.lj(t)},sa.prototype.jj=function(t){return this.ax(this.jw(),t)},sa.prototype.xi=function(){var t=this.sv();if(null==t)return!1;var n=t;return this.pw(n)},sa.prototype.yi=function(){return null},sa.prototype.zi=function(){return this.qw(this.jw())},sa.prototype.aj=function(){return this.rw(this.jw())},sa.prototype.bj=function(){return this.sw(this.jw())},sa.prototype.cj=function(){return this.tw(this.jw())},sa.prototype.dj=function(){return this.uw(this.jw())},sa.prototype.ej=function(){return this.vw(this.jw())},sa.prototype.fj=function(){return this.ww(this.jw())},sa.prototype.gj=function(){return this.xw(this.jw())},sa.prototype.hj=function(){return this.yw(this.jw())},sa.prototype.ij=function(t){return this.zw(this.jw(),t)},sa.prototype.mj=function(t){return this},sa.prototype.nj=function(t){},sa.prototype.oj=function(t,n){return this.qw(this.ov(t,n))},sa.prototype.pj=function(t,n){return this.rw(this.ov(t,n))},sa.prototype.qj=function(t,n){return this.sw(this.ov(t,n))},sa.prototype.rj=function(t,n){return this.tw(this.ov(t,n))},sa.prototype.sj=function(t,n){return this.uw(this.ov(t,n))},sa.prototype.tj=function(t,n){return this.vw(this.ov(t,n))},sa.prototype.uj=function(t,n){return this.ww(this.ov(t,n))},sa.prototype.vj=function(t,n){return this.xw(this.ov(t,n))},sa.prototype.wj=function(t,n){return this.yw(this.ov(t,n))},sa.prototype.xj=function(t,n,e,r){return oa(this,this.ov(t,n),ia(this,e,r))},sa.prototype.zj=function(t,n,e,r){return oa(this,this.ov(t,n),ua(this,e,r))},sa.prototype.sv=function(){return Pe(this.mw_1)},sa.prototype.iw=function(t){this.mw_1.a(t)},sa.prototype.jw=function(){var t=this.mw_1.r3(Te(this.mw_1));return this.nw_1=!0,t},sa.$metadata$=rt("TaggedDecoder",[ji,Ci]),ca.prototype.q1=function(){return this.cx_1},ca.prototype.s1=function(){return this.dx_1},ca.prototype.toString=function(){return"MapEntry(key="+this.cx_1+", value="+this.dx_1+")"},ca.prototype.hashCode=function(){var t=null==this.cx_1?0:dn(this.cx_1);return t=Q(t,31)+(null==this.dx_1?0:dn(this.dx_1))|0},ca.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ca))return!1;var n=t instanceof ca?t:tt();return!!Wt(this.cx_1,n.cx_1)&&!!Wt(this.dx_1,n.dx_1)},ca.$metadata$=rt("MapEntry",[_t]),la.prototype.fg=function(){return this.gx_1},la.prototype.hx=function(t){return t.q1()},la.prototype.ix=function(t){return this.hx(null!=t&&yt(t,_t)?t:tt())},la.prototype.jx=function(t){return t.s1()},la.prototype.kx=function(t){return this.jx(null!=t&&yt(t,_t)?t:tt())},la.prototype.lx=function(t,n){return new ca(t,n)},la.$metadata$=rt("MapEntrySerializer",void 0,void 0,void 0,void 0,ga.prototype),ha.prototype.fg=function(){return this.rx_1},ha.prototype.sx=function(t){return t.c3_1},ha.prototype.ix=function(t){return this.sx(t instanceof Nt?t:tt())},ha.prototype.tx=function(t){return t.d3_1},ha.prototype.kx=function(t){return this.tx(t instanceof Nt?t:tt())},ha.prototype.lx=function(t,n){return on(t,n)},ha.$metadata$=rt("PairSerializer",void 0,void 0,void 0,void 0,ga.prototype),va.prototype.fg=function(){return this.xx_1},va.prototype.yx=function(t,n){var e=t.mj(this.xx_1);e.al(this.xx_1,0,this.ux_1,n.k6_1),e.al(this.xx_1,1,this.vx_1,n.l6_1),e.al(this.xx_1,2,this.wx_1,n.m6_1),e.nj(this.xx_1)},va.prototype.gg=function(t,n){return this.yx(t,n instanceof Tt?n:tt())},va.prototype.hg=function(t){var n=t.mj(this.xx_1);return n.ak()?_a(this,n):ya(this,n)},va.$metadata$=rt("TripleSerializer",[nr]),ga.prototype.ox=function(t,n){var e=t.mj(this.fg());e.al(this.fg(),0,this.mx_1,this.ix(n)),e.al(this.fg(),1,this.nx_1,this.kx(n)),e.nj(this.fg())},ga.prototype.gg=function(t,n){return this.ox(t,null==n||_n(n)?n:tt())},ga.prototype.hg=function(t){var n=t.mj(this.fg());if(n.ak()){var e=this.fg(),r=n.yj(e,0,this.mx_1,null,8,null),o=this.fg(),i=n.yj(o,1,this.nx_1,null,8,null);return this.lx(r,i)}var u=aa(),s=aa();t:for(;;){var a=n.bk(this.fg());if(qi(),-1===a)break t;if(0===a){var c=this.fg();u=n.yj(c,0,this.mx_1,null,8,null)}else{if(1!==a)throw wr("Invalid index: "+a);var p=this.fg();s=n.yj(p,1,this.nx_1,null,8,null)}}if(n.nj(this.fg()),u===aa())throw wr("Element 'key' is missing");if(s===aa())throw wr("Element 'value' is missing");var l=null==u||_n(u)?u:tt();return this.lx(l,null==s||_n(s)?s:tt())},ga.$metadata$=rt("KeyValueSerializer",[nr]),wa.prototype.kh=function(t,n,e,r){return 0!=(2&e)&&(n=at()),null==r?this.lh(t,n):r(t,n)},wa.$metadata$=rt("SerializersModule"),$a.prototype.ll=function(t,n){if(!Oa(n,t))return null;var e=this.by_1.g2(t),r=null==e?null:e.g2(it(n));return null!=r&&yt(r,rr)?r:null},$a.prototype.kl=function(t,n){var e=this.cy_1.g2(t),r=null==e?null:(null!=e&&yt(e,qt)?e:tt()).g2(n),o=null!=r&&yt(r,nr)?r:null;if(null!=o)return o;var i=this.dy_1.g2(t),u=null!=i&&"function"==typeof i?i:null;return null==u?null:u(n)},$a.prototype.lh=function(t,n){var e=this.ay_1.g2(t),r=null==e?null:e.ey(n);return null==r||yt(r,nr)?r:null},$a.prototype.zx=function(t){for(var n=this.ay_1.q().g();n.h();){var e=n.i(),r=e.q1(),o=e.s1(),i=o;if(i instanceof ja){var u=yt(r,Rt)?r:tt(),s=o.hy_1;t.iy(u,yt(s,nr)?s:tt())}else i instanceof ka&&t.gy(r,o.fy_1)}for(var a=this.by_1.q().g();a.h();)for(var c=a.i(),p=c.q1(),l=c.s1().q().g();l.h();){var f,h=l.i(),_=h.q1(),y=h.s1(),d=yt(p,Rt)?p:tt(),v=yt(_,Rt)?_:tt();f=yt(y,nr)?y:tt(),t.jy(d,v,f)}for(var g=this.dy_1.q().g();g.h();){var m=g.i(),b=m.q1(),w=m.s1(),$=yt(b,Rt)?b:tt();t.ky($,"function"==typeof w?w:tt())}},$a.$metadata$=rt("SerialModuleImpl",void 0,void 0,void 0,void 0,wa.prototype),ja.prototype.ly=function(){return this.hy_1},ja.$metadata$=rt("Argless",void 0,void 0,void 0,void 0,qa.prototype),ka.prototype.my=function(){return this.fy_1},ka.$metadata$=rt("WithTypeArguments",void 0,void 0,void 0,void 0,qa.prototype),qa.$metadata$=rt("ContextualProvider"),xa.$metadata$=ot("SerializersModuleCollector"),Sa.prototype.equals=function(t){if(!(t instanceof Sa))return!1;var n=t instanceof Sa?t:tt();return!!this.ny_1.equals(n.ny_1)},Sa.prototype.hashCode=function(){return Q(nt("serializer"),127)^this.ny_1.hashCode()},Sa.prototype.toString=function(){return"@kotlinx.serialization.SerializableWith(serializer="+this.ny_1+")"},Sa.$metadata$=rt("SerializableWith",[et],0),Oo.prototype.mh=Le,Oo.prototype.ai=Fe,wi.prototype.yj=Ve,wi.prototype.lj=Je,wi.prototype.ak=Ue,wi.prototype.ck=He,$i.prototype.el=Ke,$i.prototype.fl=We,$i.prototype.bl=Ge,$i.prototype.dl=Xe,$i.prototype.gl=Ye,Ai.prototype.mh=Le,Ai.prototype.ai=Fe,Ai.prototype.yh=De,Ti.prototype.mh=Le,Ti.prototype.ai=Fe,Ti.prototype.yh=De,Ni.prototype.mh=Le,Ni.prototype.ai=Fe,Ni.prototype.yh=De,Ii.prototype.mh=Le,Ii.prototype.ai=Fe,Ii.prototype.yh=De,Mi.prototype.mh=Le,Mi.prototype.ai=Fe,Mi.prototype.yh=De,Bi.prototype.mh=Le,Bi.prototype.ai=Fe,Bi.prototype.yh=De,Li.prototype.mh=Le,Li.prototype.ai=Fe,Li.prototype.yh=De,Fi.prototype.mh=Le,Fi.prototype.ai=Fe,Fi.prototype.yh=De,Di.prototype.mh=Le,Di.prototype.ai=Fe,Di.prototype.yh=De,Wu.prototype.mh=Le,Wu.prototype.ai=Fe,lu.prototype.mh=Le,lu.prototype.ai=Fe,_u.prototype.mh=Le,yu.prototype.br=Ze,Ws.prototype.mh=Le,Ws.prototype.ai=Fe,Ws.prototype.yh=De,ra.prototype.fl=We,ra.prototype.bl=Ge,ra.prototype.dl=Xe,ra.prototype.gl=Ye,ta.prototype.fl=We,ta.prototype.bl=Ge,ta.prototype.dl=Xe,ta.prototype.gl=Ye,sa.prototype.yj=Ve,sa.prototype.lj=Je,sa.prototype.ak=Ue,sa.prototype.ck=He,na.prototype.lj=Je,na.prototype.yj=Ve,na.prototype.ak=Ue,na.prototype.ck=He,t.$_$=t.$_$||{},t.$_$.a=qo,t.$_$.b=Ve,t.$_$.c=xu,t.$_$.d=lr,t.$_$.e=br,t.$_$.f=wr,t.$_$.g=qr,t.$_$.h=vi,t.$_$.i=ii,t.$_$.j=Lo,t.$_$.k=Bo,t.$_$.l=pi,t.$_$.m=fi,t.$_$.n=qi,t.$_$.o=Us,t.$_$.p=Rs,t.$_$.q=Ts,t.$_$.r=Bs,t.$_$.s=Ns,t.$_$.t=xs,t.$_$.u=Vs,t.$_$.v=uo,t.$_$.w=io,t.$_$.x=so,t.$_$.y=Ir,t.$_$.z=oo,t.$_$.a1=no,t.$_$.b1=ro,t.$_$.c1=eo,t.$_$.d1=bi,t.$_$.e1=ui,t.$_$.f1=Eo,t.$_$.g1=De,t.$_$.h1=Fe,t.$_$.i1=Le,t.$_$.j1=vo,t.$_$.k1=Io,t.$_$.l1=fo,t.$_$.m1=wi,t.$_$.n1=$i,t.$_$.o1=He,t.$_$.p1=Ue,t.$_$.q1=Ci,t.$_$.r1=Ye,t.$_$.s1=xi,t.$_$.t1=Je,t.$_$.u1=ji,t.$_$.v1=We,t.$_$.w1=Ke,t.$_$.x1=Xe,t.$_$.y1=Ge,t.$_$.z1=zi,t.$_$.a2=Oi,t.$_$.b2=Wi,t.$_$.c2=uu,t.$_$.d2=lu,t.$_$.e2=au,t.$_$.f2=Ze,t.$_$.g2=Qu,t.$_$.h2=Xi,t.$_$.i2=na,t.$_$.j2=ta,t.$_$.k2=Wu,t.$_$.l2=Gi,t.$_$.m2=ts,t.$_$.n2=ku,t.$_$.o2=Bu,t.$_$.p2=ba,t.$_$.q2=Qe,t.$_$.r2=xa,t.$_$.s2=er,t.$_$.t2=nr,t.$_$.u2=dr,t.$_$.v2=tr,t.$_$.w2=jr,t.$_$.x2=gr,t.$_$.y2=or,t.$_$.z2=Rr,t.$_$.a3=Or}(y.exports,u())),_}var v,g,m={},b={get exports(){return m},set exports(t){m=t}};function w(){return v||(v=1,function(t,n,e){var r=Math.imul,o=n.$_$.p2,i=e.$_$.q6,u=e.$_$.q5,s=e.$_$.s2,a=n.$_$.x2,c=e.$_$.n5,p=e.$_$.u6,l=e.$_$.j1,f=e.$_$.k5,h=e.$_$.x7,_=e.$_$.n1,y=e.$_$.o5,d=e.$_$.w7,v=n.$_$.f,g=n.$_$.h,m=n.$_$.a,b=e.$_$.c,w=n.$_$.z2,$=e.$_$.g8,j=n.$_$.t2,k=e.$_$.d6,q=n.$_$.u1,C=n.$_$.q1,z=e.$_$.v5,x=e.$_$.b1,S=e.$_$.u5,O=e.$_$.f,E=e.$_$.e3,R=e.$_$.e,P=e.$_$.u8,T=n.$_$.m2,A=e.$_$.t5,N=e.$_$.c3,I=e.$_$.n7,B=e.$_$.p7,M=e.$_$.l7,L=e.$_$.o7,F=e.$_$.k7,D=e.$_$.w,J=e.$_$.j2,U=n.$_$.y,H=n.$_$.w,V=n.$_$.j1,K=n.$_$.v,W=n.$_$.i,G=n.$_$.k,X=n.$_$.f1,Y=e.$_$.s7,Z=e.$_$.q2,Q=n.$_$.c1,tt=e.$_$.y1,nt=e.$_$.l8,et=e.$_$.l1,rt=e.$_$.v8,ot=n.$_$.i1,it=n.$_$.h1,ut=n.$_$.g1,st=e.$_$.b7,at=e.$_$.s5,ct=n.$_$.z1,pt=n.$_$.s1,lt=e.$_$.s6,ft=e.$_$.u1,ht=e.$_$.w1,_t=e.$_$.x1,yt=e.$_$.z1,dt=e.$_$.r1,vt=e.$_$.t1,gt=e.$_$.a2,mt=e.$_$.c2,bt=n.$_$.c2,wt=e.$_$.i5,$t=n.$_$.w2,jt=n.$_$.e,kt=e.$_$.l5,qt=e.$_$.m5,Ct=e.$_$.v6,zt=e.$_$.w6,xt=n.$_$.n,St=e.$_$.n,Ot=e.$_$.t4,Et=e.$_$.g5,Rt=e.$_$.q8,Pt=e.$_$.y3,Tt=e.$_$.b4,At=e.$_$.y7,Nt=e.$_$.r8,It=e.$_$.c5,Bt=e.$_$.z7,Mt=e.$_$.n8,Lt=e.$_$.b5;e.$_$.d5;var Ft,Dt,Jt,Ut,Ht,Vt,Kt,Wt,Gt,Xt,Yt,Zt,Qt,tn,nn,en,rn,on,un,sn,an,cn,pn,ln,fn,hn,_n,yn,dn,vn,gn,mn,bn,wn,$n,jn,kn,qn,Cn,zn,xn,Sn,On,En,Rn,Pn,Tn,An=n.$_$.a2,Nn=e.$_$.g6,In=n.$_$.y2,Bn=e.$_$.d,Mn=n.$_$.s2,Ln=n.$_$.u2,Fn=n.$_$.n2,Dn=n.$_$.k1,Jn=n.$_$.e1,Un=n.$_$.d1,Hn=n.$_$.j,Vn=n.$_$.m,Kn=n.$_$.l,Wn=n.$_$.q2,Gn=n.$_$.r2,Xn=n.$_$.m1,Yn=e.$_$.c8,Zn=e.$_$.t8,Qn=e.$_$.s8,te=n.$_$.p1,ne=n.$_$.o1,ee=n.$_$.b,re=e.$_$.r7,oe=e.$_$.v1,ie=e.$_$.t7,ue=e.$_$.q7,se=e.$_$.s1,ae=e.$_$.u7,ce=e.$_$.b2,pe=n.$_$.t1,le=n.$_$.n1,fe=e.$_$.q1,he=n.$_$.w1,_e=n.$_$.v1,ye=n.$_$.x1,de=e.$_$.p2,ve=n.$_$.a1,ge=e.$_$.o2,me=n.$_$.b1,be=e.$_$.r2,we=n.$_$.z,$e=e.$_$.s4,je=e.$_$.n6,ke=e.$_$.p1,qe=e.$_$.d7,Ce=e.$_$.r6,ze=e.$_$.w8,xe=n.$_$.i2,Se=e.$_$.h1,Oe=e.$_$.e2,Ee=e.$_$.i2,Re=e.$_$.t6,Pe=e.$_$.h7,Te=e.$_$.z3,Ae=e.$_$.p4,Ne=e.$_$.w4,Ie=e.$_$.y8,Be=n.$_$.y1,Me=n.$_$.r1,Le=n.$_$.j2,Fe=e.$_$.a8,De=n.$_$.l1,Je=e.$_$.i4,Ue=e.$_$.q4,He=e.$_$.h,Ve=e.$_$.d8,Ke=e.$_$.o1,We=e.$_$.n2,Ge=e.$_$.j5,Xe=e.$_$.g,Ye=e.$_$.a1,Ze=e.$_$.p;function Qe(){Ft=this,nr.call(this,pr(!1,!1,!1,!1,!1,!1,null,!1,!1,null,!1,!1,4095,null),o())}function tr(){return null==Ft&&new Qe,Ft}function nr(t,n){tr(),this.oy_1=t,this.py_1=n,this.qy_1=new fi}function er(t,n){var e=new or(t);return n(e),new ur(e.im(),e.c10_1)}function rr(t,n,e,r){return 0!=(1&e)&&(t=tr()),er(t,n)}function or(t){this.qz_1=t.oy_1.d10_1,this.rz_1=t.oy_1.i10_1,this.sz_1=t.oy_1.e10_1,this.tz_1=t.oy_1.f10_1,this.uz_1=t.oy_1.g10_1,this.vz_1=t.oy_1.h10_1,this.wz_1=t.oy_1.j10_1,this.xz_1=t.oy_1.k10_1,this.yz_1=t.oy_1.l10_1,this.zz_1=t.oy_1.m10_1,this.a10_1=t.oy_1.n10_1,this.b10_1=t.oy_1.o10_1,this.c10_1=t.hh()}function ir(t){if(y(t.hh(),o()))return s();var n=new pi(t.oy_1.l10_1,t.oy_1.m10_1);t.hh().zx(n)}function ur(t,n){nr.call(this,t,n),ir(this)}function sr(){}function ar(){}function cr(t,n,e,r,o,i,u,s,a,c,p,l,f,h,_){return 0!=(1&f)&&(t=!1),0!=(2&f)&&(n=!1),0!=(4&f)&&(e=!1),0!=(8&f)&&(r=!1),0!=(16&f)&&(o=!1),0!=(32&f)&&(i=!0),0!=(64&f)&&(u=" "),0!=(128&f)&&(s=!1),0!=(256&f)&&(a=!1),0!=(512&f)&&(c="type"),0!=(1024&f)&&(p=!1),0!=(2048&f)&&(l=!0),lr.call(_,t,n,e,r,o,i,u,s,a,c,p,l),_}function pr(t,n,e,r,o,i,u,s,a,c,p,l,f,h){return cr(t,n,e,r,o,i,u,s,a,c,p,l,f,h,Object.create(lr.prototype))}function lr(t,n,e,r,o,i,u,s,a,c,p,l){this.d10_1=t,this.e10_1=n,this.f10_1=e,this.g10_1=r,this.h10_1=o,this.i10_1=i,this.j10_1=u,this.k10_1=s,this.l10_1=a,this.m10_1=c,this.n10_1=p,this.o10_1=l}function fr(t,n,e){var r=n.rb(),o=null==r?""+n:r,i="in the scope of '"+e.rb()+"'";throw v("Class '"+o+"' is not registered for polymorphic serialization "+i+".\nMark the base class as 'sealed' or register the serializer explicitly.")}function hr(t){this.r10_1=t;var n=this,e="JsonContentPolymorphicSerializer<"+this.r10_1.rb()+">",r=g();n.s10_1=m(e,r,[],null,12,null)}function _r(){}function yr(){}function dr(t){var n=t.q1(),e=t.s1(),r=x();return Ri(r,n),r.z4(_(58)),r.wd(e),r.toString()}function vr(t){yr.call(this),this.w10_1=t}function gr(){return so()}function mr(){Dt=this,wr.call(this),this.z10_1="null";var t=this,n=R();t.a11_1=P(n,gr)}function br(){return null==Dt&&new mr,Dt}function wr(){yr.call(this)}function $r(t){return null==t?br():new qr(t,!1)}function jr(t){return null==t?br():new qr(t,!1)}function kr(t){return null==t?br():new qr(t,!0)}function qr(t,n){wr.call(this),this.d11_1=n,this.e11_1=p(t)}function Cr(t){yr.call(this),this.f11_1=t}function zr(t){return Pi(t.b11())}function xr(t){return I(t.b11())}function Sr(t){return B(t.b11())}function Or(t){var n=t.b11();return M(n)}function Er(t){return M(t.b11())}function Rr(t){return t instanceof mr?null:t.b11()}function Pr(t){return L(t.b11())}function Tr(t){return F(t.b11())}function Ar(t){var n,e=t instanceof wr?t:null;return null==e?Nr(t,"JsonPrimitive"):n=e,n}function Nr(t,n){throw l("Element "+b(t)+" is not a "+n)}function Ir(t){var n,e=t instanceof vr?t:null;return null==e?Nr(t,"JsonObject"):n=e,n}function Br(){var t,n=this;t=D(),n.h11_1=t}function Mr(t,n,e){return t.i11(n,kr(e))}function Lr(t,n,e){var r,o=new Br;return e(o),r=o.im(),t.i11(n,r)}function Fr(t){var n=ro(Dr);t.tg("JsonPrimitive",n,null,!1,12,null);var e=ro(Jr);t.tg("JsonNull",e,null,!1,12,null);var r=ro(Ur);t.tg("JsonLiteral",r,null,!1,12,null);var o=ro(Hr);t.tg("JsonObject",o,null,!1,12,null);var i=ro(Vr);return t.tg("JsonArray",i,null,!1,12,null),s()}function Dr(){return io().j11_1}function Jr(){return so().k11_1}function Ur(){return co().l11_1}function Hr(){return Zr().m11_1}function Vr(){return eo().n11_1}function Kr(){Jt=this;var t=this,n=g();t.o11_1=m("kotlinx.serialization.json.JsonElement",n,[],Fr,4,null)}function Wr(){return null==Jt&&new Kr,Jt}function Gr(){Ut=this,this.q11_1=H(U(J()),Wr()).fg(),this.r11_1="kotlinx.serialization.json.JsonObject"}function Xr(){return null==Ut&&new Gr,Ut}function Yr(){Ht=this,this.m11_1=Xr()}function Zr(){return null==Ht&&new Yr,Ht}function Qr(){Vt=this,this.t11_1=K(Wr()).fg(),this.u11_1="kotlinx.serialization.json.JsonArray"}function to(){return null==Vt&&new Qr,Vt}function no(){Kt=this,this.n11_1=to()}function eo(){return null==Kt&&new no,Kt}function ro(t){return new yo(t)}function oo(){Wt=this;var t=this,n=W();t.j11_1=m("kotlinx.serialization.json.JsonPrimitive",n,[],null,12,null)}function io(){return null==Wt&&new oo,Wt}function uo(){Gt=this;var t=this,n=G();t.k11_1=m("kotlinx.serialization.json.JsonNull",n,[],null,12,null)}function so(){return null==Gt&&new uo,Gt}function ao(){Xt=this,this.l11_1=X("kotlinx.serialization.json.JsonLiteral",W())}function co(){return null==Xt&&new ao,Xt}function po(t){ho(t)}function lo(t){var n=k(t,_r)?t:null;if(null==n)throw et("This serializer can be used only with Json format.Expected Decoder to be JsonDecoder, got "+b(t));return n}function fo(t){lo(t)}function ho(t){var n=k(t,go)?t:null;if(null==n)throw et("This serializer can be used only with Json format.Expected Encoder to be JsonEncoder, got "+b(t));return n}function _o(t){return vo(),t.z11_1.s1()}function yo(t){this.z11_1=rt(t)}function vo(){return at("original",1,st,(function(t){return _o(t)}),null)}function go(){}function mo(t){this.a12_1=t,this.b12_1=!0}function bo(t,n){return n.oy_1.h10_1?new $o(t,n):new mo(t)}function wo(t){mo.call(this,t)}function $o(t,n){mo.call(this,t),this.w12_1=n,this.x12_1=0}function jo(t,n,e){return t.z12_1=!n.xh(e)&&n.uh(e).mh(),t.z12_1}function ko(t){var n=function(n,e){return jo(t,n,e)};return n.callableName="readIfAbsent",n}function qo(t){this.y12_1=new bt(t,ko(this)),this.z12_1=!1}function Co(t){No.call(this,t),wt(this,Co)}function zo(t,n){return new Co("Unexpected special floating-point value "+p(t)+". By default, non-finite floating point values are prohibited because they do not conform JSON specification. "+os()+"\nCurrent output: "+Bo(n,0,1))}function xo(t){return new Co("Value of type '"+t.ch()+"' can't be used in JSON as a key in the map. It should have either primitive or enum kind, but its kind is '"+t.bi()+"'.\n"+is())}function So(t,n){var e="Unexpected special floating-point value "+p(n)+". By default, non-finite floating point values are prohibited because they do not conform JSON specification. "+os();t.a13(e,0,2,null)}function Oo(t,n,e){return new Co(Mo(t,n,e))}function Eo(t){No.call(this,t),wt(this,Eo)}function Ro(t,n,e){return To(t,n+"\nJSON input: "+Io(e,t))}function Po(t,n,e){return To(-1,Mo(t,n,e))}function To(t,n){return new Eo(t>=0?"Unexpected JSON token at offset "+t+": "+n:n)}function Ao(t,n){return To(-1,"Encountered unknown key '"+t+"'.\n"+Gu()+"\nCurrent input: "+Bo(n,0,1))}function No(t){jt(t,this),wt(this,No)}function Io(t,n){if(kt(t)<200)return t;if(-1===n){var e=kt(t)-60|0;if(e<=0)return t;var r=kt(t);return"....."+p(qt(t,e,r))}var o=n-30|0,i=n+30|0,u=o<=0?"":".....",s=i>=kt(t)?"":".....",a=Ct(o,0),c=zt(i,kt(t));return u+p(qt(t,a,c))+s}function Bo(t,n,e,r){return 0!=(1&e)&&(n=-1),Io(t,n)}function Mo(t,n,e){return"Unexpected special floating-point value "+p(t)+" with key "+n+". By default, non-finite floating point values are prohibited because they do not conform JSON specification. "+os()+"\nCurrent output: "+Bo(e,0,1)}function Lo(){return Vo(),Yt}function Fo(t,n,e){Vo();var r=t.vh(e);if(xt(),-3!==r)return r;if(!n.oy_1.o10_1)return r;var o,i=ss(n),u=Lo(),s=i.c13(t,u,Ho(t)).g2(e);return null==s?(xt(),o=-3):o=s,o}function Do(t,n,e){Vo();var r=Fo(t,n,e);if(xt(),-3===r)throw v(t.ch()+" does not contain element with name '"+e+"'");return r}function Jo(t){Vo();var n=null,e=0,r=t.zh();if(e<r)do{var o=e;e=e+1|0;for(var i=t.th(o),u=St(),s=i.g();s.h();){var a=s.i();a instanceof ar&&u.a(a)}var c=Ot(u),p=null==c?null:c.d13_1;if(null==p);else for(var l=Et(p);l.h();){var f=l.i();null==n&&(n=cs(t.zh())),Uo(Rt(n),t,f,o)}}while(e<r);var h=n;return null==h?Pt():h}function Uo(t,n,e,r){if((k(t,E)?t:$()).a2(e))throw new No("The suggested name '"+e+"' for property "+n.wh(r)+" is already one of the names for property "+n.wh(Tt(t,e))+" in "+n);t.l(e,r)}function Ho(t){var n=function(){return Jo(t)};return n.callableName="buildAlternativeNamesMap",n}function Vo(){Zt||(Zt=!0,Yt=new li)}function Ko(t){var n=t.e13_1.h13(Ju());t.e13_1.i13()===Lu()&&t.e13_1.a13("Unexpected leading comma",0,2,null);for(var e=D();t.e13_1.j13();){var r=t.f13_1?t.e13_1.l13():t.e13_1.k13();t.e13_1.h13(Du());var o=t.m13();e.l(r,o),(n=t.e13_1.n13())!==Lu()&&n!==Uu()&&t.e13_1.a13("Expected end of the object or comma",0,2,null)}return n===Ju()?t.e13_1.h13(Uu()):n===Lu()&&t.e13_1.a13("Unexpected trailing comma",0,2,null),new vr(e)}function Wo(t,n,e){var r=new ti(n,t,e);return r.vf_1=s(),r.wf_1=null,r.cg()}function Go(t){var n=t.e13_1.n13();t.e13_1.i13()===Lu()&&t.e13_1.a13("Unexpected leading comma",0,2,null);for(var e=St();t.e13_1.j13();){var r=t.m13();if(e.a(r),(n=t.e13_1.n13())!==Lu()){var o,i=t.e13_1,u=n===Vu(),s=i.mz_1;u||(o="Expected end of the array or comma",i.b14(o,s))}}return n===Hu()?t.e13_1.h13(Vu()):n===Lu()&&t.e13_1.a13("Unexpected trailing comma",0,2,null),new Cr(e)}function Xo(t,n){var e=t.f13_1||!n?t.e13_1.l13():t.e13_1.k13();return n||e!==mu()?new qr(e,n):br()}function Yo(t){return Nt(new At(Qo(t,null)),s())}function Zo(t,n){this.k14_1=t,It.call(this,n)}function Qo(t,n){var e=new Zo(t,n),r=function(t,n,r){return e.p14(t,n,r)};return r.$arity=2,r}function ti(t,n,e){It.call(this,e),this.w13_1=t,this.x13_1=n}function ni(t,n){this.e13_1=n,this.f13_1=t.f10_1,this.g13_1=0}function ei(t,n){if(!(n instanceof An)||t.v10().oy_1.l10_1)return n.hg(t);var e=t.t10(),r=n.fg();if(!(e instanceof vr))throw To(-1,"Expected "+Bn(vr)+" as the serialized body of "+r.ch()+", but had "+b(e));var o,i=e,u=ri(n.fg(),t.v10()),s=i.y10(u),a=null==s?null:Ar(s),c=null==a?null:a.b11(),p=n.kg(t,c);null==p?ui(c,i):o=p;var l=o;return Gi(t.v10(),u,i,k(l,Mn)?l:$())}function ri(t,n){for(var e=t.yh().g();e.h();){var r=e.i();if(r instanceof sr)return r.r14_1}return n.oy_1.m10_1}function oi(t,n,e){if(!(t instanceof Ln))return s();if(Fn(n.fg()).i1(e)){var r=t.fg().ch(),o=n.fg().ch();throw et(p("Sealed class '"+o+"' cannot be serialized as base class '"+r+"' because it has property name that conflicts with JSON class discriminator '"+e+"'. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism"))}}function ii(t){if(t instanceof Dn)throw et("Enums cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead");if(t instanceof Jn)throw et("Primitives cannot be serialized polymorphically with 'type' parameter. You can use 'JsonBuilder.useArrayPolymorphism' instead");if(t instanceof Un)throw et("Actual serializer for polymorphic cannot be polymorphic itself")}function ui(t,n){throw Ro(-1,"Polymorphic serializer was not found for "+(null==t?"missing class discriminator ('null')":"class discriminator '"+t+"'"),n.toString())}function si(t,n,e){return oi(t,n,e)}function ai(t,n,e){var r=n.bi();if(r instanceof Un||y(r,Hn()))throw l("Serializer for "+e.rb()+" can't be registered as a subclass for polymorphic serialization because its kind "+r+" is not concrete. To work with multiple hierarchies, register it as a base class.");if(t.s14_1)return s();if(y(r,Kn())||y(r,Vn())||r instanceof Jn||r instanceof Dn)throw l("Serializer for "+e.rb()+" of kind "+r+" cannot be serialized polymorphically with class discriminator.")}function ci(t,n,e){var r=0,o=n.zh();if(r<o)do{var i=r;r=r+1|0;var u=n.wh(i);if(u===t.t14_1)throw l("Polymorphic serializer for "+e+" has property '"+u+"' that conflicts with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism")}while(r<o)}function pi(t,n){this.s14_1=t,this.t14_1=n}function li(){}function fi(){this.b13_1=cs(1)}function hi(t,n){t:for(;;){var e=t.bk(n);if(xt(),-1===e)break t}}function _i(t){t.hz_1.i13()===Lu()&&t.hz_1.a13("Unexpected leading comma",0,2,null)}function yi(t){var n,e=!1,r=!(0==(t.jz_1%2|0));if(r?-1!==t.jz_1&&(e=t.hz_1.x14()):t.hz_1.w14(du()),t.hz_1.j13()){if(r)if(-1===t.jz_1){var o,i=t.hz_1,u=!e,s=i.mz_1;u||(o="Unexpected trailing comma",i.b14(o,s))}else{var a,c=t.hz_1,p=e,l=c.mz_1;p||(a="Expected comma after the key-value pair",c.b14(a,l))}var f=t;f.jz_1=f.jz_1+1|0,n=f.jz_1}else e&&t.hz_1.a13("Expected '}', but had ',' instead",0,2,null),xt(),n=-1;return n}function di(t,n,e){var r;t:{var o=t.fz_1,i=n.uh(e);if(i.mh()||t.hz_1.y14()){if(y(i.bi(),G())){var u=t.hz_1.z14(t.kz_1.f10_1);if(null==u){r=!1;break t}var s=Fo(i,o,u);if(xt(),-3===s){t.hz_1.k13(),r=!0;break t}}r=!1}else r=!0}return r}function vi(t,n){for(var e=t.hz_1.x14();t.hz_1.j13();){e=!1;var r=bi(t);t.hz_1.w14(du());var o,i=Fo(n,t.fz_1,r);if(xt(),-3!==i){if(!t.kz_1.k10_1||!di(t,n,i)){var u=t.lz_1;return null==u||u.gp(i),i}e=t.hz_1.x14(),o=!1}else o=!0;o&&(e=gi(t,r))}e&&t.hz_1.a13("Unexpected trailing comma",0,2,null);var s,a=t.lz_1,c=null==a?null:a.hp();return null==c?(xt(),s=-1):s=c,s}function gi(t,n){return t.kz_1.e10_1?t.hz_1.b15(t.kz_1.f10_1):t.hz_1.a15(n),t.hz_1.x14()}function mi(t){var n,e=t.hz_1.x14();if(t.hz_1.j13()){-1===t.jz_1||e||t.hz_1.a13("Expected end of the array or comma",0,2,null);var r=t;r.jz_1=r.jz_1+1|0,n=r.jz_1}else e&&t.hz_1.a13("Unexpected trailing comma",0,2,null),xt(),n=-1;return n}function bi(t){return t.kz_1.f10_1?t.hz_1.d15():t.hz_1.c15()}function wi(t,n,e,r){Xn.call(this),this.fz_1=t,this.gz_1=n,this.hz_1=e,this.iz_1=this.fz_1.hh(),this.jz_1=-1,this.kz_1=this.fz_1.oy_1,this.lz_1=this.kz_1.i10_1?null:new qo(r)}function $i(t,n){Xn.call(this),this.m15_1=t,this.n15_1=n.hh()}function ji(){return Si(),Qt}function ki(t,n,e,r,o){return zi.call(o,bo(t,n),n,e,r),o}function qi(t,n,e,r){return ki(t,n,e,r,Object.create(zi.prototype))}function Ci(t,n){t.vy_1.e12(),t.ok(Rt(t.cz_1)),t.vy_1.g12(du()),t.vy_1.f12(),t.ok(n.ch())}function zi(t,n,e,r){le.call(this),this.vy_1=t,this.wy_1=n,this.xy_1=e,this.yy_1=r,this.zy_1=this.wy_1.hh(),this.az_1=this.wy_1.oy_1,this.bz_1=!1,this.cz_1=null;var o=this.xy_1.e4_1;null!=this.yy_1&&(null===this.yy_1[o]&&this.yy_1[o]===this||(this.yy_1[o]=this))}function xi(t){return Si(),!!t.ai()&&ji().i1(t)}function Si(){tn||(tn=!0,Qt=$e([ve(de()).fg(),Q(Z()).fg(),me(ge()).fg(),we(be()).fg()]))}function Oi(){return Ti(),nn}function Ei(t){Ti();var n=15&t;return je(n<10?n+48|0:97+(n-10|0)|0)}function Ri(t,n){Ti(),t.z4(Iu());var e=0,r=0,o=kt(n)-1|0;if(r<=o)do{var i=r;r=r+1|0;var u=f(n,i),s=ke(u);s<Oi().length&&null!=Oi()[s]&&(t.ud(n,e,i),t.xd(Oi()[s]),e=i+1|0)}while(r<=o);0!==e?t.ud(n,e,n.length):t.xd(n),t.z4(Iu())}function Pi(t){return Ti(),!!qe(t,"true",!0)||!qe(t,"false",!0)&&null}function Ti(){if(en);else{en=!0;var t=u(Array(93),null),n=0;if(n<=31)do{var e=n;n=n+1|0;var r=Ei(e>>12),o=Ei(e>>8),i=Ei(e>>4),s=Ei(e);t[e]="\\u"+new h(r)+new h(o)+new h(i)+new h(s)}while(n<=31);t[34]='\\"',t[92]="\\\\",t[9]="\\t",t[8]="\\b",t[10]="\\n",t[13]="\\r",t[12]="\\f",nn=t;var a,c,p,l,f,_,y,d=new Int8Array(93),v=0;if(v<=31)do{var g=v;v=v+1|0,d[g]=1}while(v<=31);a=34,d[34]=Ce(a),c=92,d[92]=Ce(c),p=116,d[9]=Ce(p),l=98,d[8]=Ce(l),f=110,d[10]=Ce(f),_=114,d[13]=Ce(_),y=102,d[12]=Ce(y)}}function Ai(t,n,e){var r,o=n;return o instanceof vr?r=Fi(t,n,null,null,12,null):o instanceof Cr?r=new Vi(t,n):o instanceof qr||y(o,br())?r=new Ki(t,n instanceof wr?n:$()):ze(),r.lj(e)}function Ni(t){var n=t.sv(),e=null==n?null:t.t15(n);return null==e?t.s1():e}function Ii(t,n){throw Ro(-1,"Failed to parse '"+n+"'",p(Ni(t)))}function Bi(t,n,e){var r=t instanceof qr?t:null;if(null==r)throw To(-1,"Unexpected 'null' when "+e+" was expected");return r}function Mi(t,n){xe.call(this),this.q15_1=t,this.r15_1=n,this.s15_1=this.v10().oy_1}function Li(t,n,e,r,o,i,u){return 0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Hi.call(u,t,n,e,r),u}function Fi(t,n,e,r,o,i){return Li(t,n,e,r,o,i,Object.create(Hi.prototype))}function Di(t,n,e,r){var o;t:{var i=t.v10(),u=n.uh(e);if(!u.mh()&&t.t15(r)instanceof mr)o=!0;else{if(y(u.bi(),G())){var a=t.t15(r),c=a instanceof wr?a:null,p=null==c?null:Rr(c);if(null==p){o=!1;break t}var l=Fo(u,i,p);if(xt(),-3===l){s(),o=!0;break t}}o=!1}}return o}function Ji(t,n,e){return t.q16_1=!t.v10().oy_1.i10_1&&!n.xh(e)&&n.uh(e).mh(),t.q16_1}function Ui(t){var n=function(){return Jo(t)};return n.callableName="buildAlternativeNamesMap",n}function Hi(t,n,e,r){Mi.call(this,t,n),this.m16_1=n,this.n16_1=e,this.o16_1=r,this.p16_1=0,this.q16_1=!1}function Vi(t,n){Mi.call(this,t,n),this.w16_1=n,this.x16_1=this.w16_1.f(),this.y16_1=-1}function Ki(t,n){Mi.call(this,t,n),this.e17_1=n,this.iw(iu())}function Wi(t,n){Li(t,n,null,null,12,null,this),this.p17_1=n,this.q17_1=Ne(this.p17_1.h2()),this.r17_1=r(this.q17_1.f(),2),this.s17_1=-1}function Gi(t,n,e,r){return new Hi(t,e,n,r.fg()).lj(r)}function Xi(t,n,e){var r,o={_v:null};return new Yi(t,uu(o)).bl(e,n),null==o._v?Ie("result"):r=o._v,r}function Yi(t,n){tu.call(this,t,n);var e,r=this;e=D(),r.d18_1=e}function Zi(t,n){this.u18_1=t,this.v18_1=n,le.call(this),this.t18_1=t.u17_1.hh()}function Qi(t){return function(n){return t.e18(t.bx(),n),s()}}function tu(t,n){Le.call(this),this.u17_1=t,this.v17_1=n,this.w17_1=this.u17_1.oy_1,this.x17_1=null}function nu(t,n){tu.call(this,t,n),this.c19_1=null,this.iw("primitive")}function eu(t,n){tu.call(this,t,n);var e,r=this;e=St(),r.i19_1=e}function ru(t){var n=t.p19_1;if(null!=n)return n;Ie("tag")}function ou(t,n){Yi.call(this,t,n),this.q19_1=!0}function iu(){return rn}function uu(t){return function(n){return t._v=n,s()}}function su(){return[fu(),hu(),_u(),yu()]}function au(){if(cn)return s();cn=!0,on=new cu("OBJ",0,bu(),wu()),un=new cu("LIST",1,$u(),ju()),sn=new cu("MAP",2,bu(),wu()),an=new cu("POLY_OBJ",3,$u(),ju())}function cu(t,n,e,r){Fe.call(this,t,n),this.h15_1=e,this.i15_1=r}function pu(t,n){var e,r=n.bi();if(r instanceof Un)e=yu();else if(y(r,Kn()))e=hu();else if(y(r,Vn())){var o,i=lu(n.uh(0),t.hh()),u=i.bi();if(u instanceof Jn||y(u,G()))o=_u();else{if(!t.oy_1.g10_1)throw xo(i);o=hu()}e=o}else e=fu();return e}function lu(t,n){var e;if(y(t.bi(),Hn())){var r=De(n,t),o=null==r?null:lu(r,n);e=null==o?t:o}else e=t.ai()?t.uh(0):t;return e}function fu(){return au(),on}function hu(){return au(),un}function _u(){return au(),sn}function yu(){return au(),an}function du(){return pn}function vu(){return ln}function gu(){return fn}function mu(){return hn}function bu(){return _n}function wu(){return yn}function $u(){return dn}function ju(){return vn}function ku(t,n,e){return t.r19(n,e),xu(t,e+1|0)}function qu(t,n,e){t.r19(n,e);var r=t.oz_1.toString();return t.oz_1.yd(0),r}function Cu(t){var n=Rt(t.nz_1);return t.nz_1=null,n}function zu(t){return!y(new h(f(t.s19(),t.mz_1-1|0)),new h(_(34)))}function xu(t,n){var e=n;-1===(e=t.t19(e))&&t.a13("Expected escape sequence to continue, got EOF",0,2,null);var r=t.s19(),o=e;e=o+1|0;var i=f(r,o);if(y(new h(i),new h(_(117))))return Su(t,t.s19(),e);var u=Wu(ke(i));if(y(new h(u),new h(_(0)))){var s="Invalid escaped char '"+new h(i)+"'";t.a13(s,0,2,null)}return t.oz_1.z4(u),e}function Su(t,n,e){return(e+4|0)>=kt(n)?(t.mz_1=e,t.u19(),(t.mz_1+4|0)>=kt(n)&&t.a13("Unexpected EOF during unicode escape",0,2,null),Su(t,n,t.mz_1)):(t.oz_1.z4(je((((Ou(t,n,e)<<12)+(Ou(t,n,e+1|0)<<8)|0)+(Ou(t,n,e+2|0)<<4)|0)+Ou(t,n,e+3|0)|0)),e+4|0)}function Ou(t,n,e){var r,o=f(n,e);if(_(48)<=o&&o<=_(57))r=ke(o)-48|0;else if(_(97)<=o&&o<=_(102))r=10+(ke(o)-97|0)|0;else if(_(65)<=o&&o<=_(70))r=10+(ke(o)-65|0)|0;else{var i="Invalid toHexChar char '"+new h(o)+"' in unicode escape";t.a13(i,0,2,null)}return r}function Eu(t,n){var e=t.t19(n);(e>=kt(t.s19())||-1===e)&&t.a13("EOF",0,2,null);var r=t.s19(),o=e;e=o+1|0;var i,u=f(r,o),s=32|ke(u);if(116===s)Ru(t,"rue",e),i=!0;else if(102===s)Ru(t,"alse",e),i=!1;else{var a="Expected valid boolean literal prefix, but had '"+t.l13()+"'";t.a13(a,0,2,null)}return i}function Ru(t,n,e){(kt(t.s19())-e|0)<n.length&&t.a13("Unexpected end of boolean literal",0,2,null);var r=0,o=kt(n)-1|0;if(r<=o)do{var i=r;r=r+1|0;var u=f(n,i),s=f(t.s19(),e+i|0);if(ke(u)!==(32|ke(s))){var a="Expected valid boolean literal prefix, but had '"+t.l13()+"'";t.a13(a,0,2,null)}}while(r<=o);t.mz_1=e+n.length|0}function Pu(){this.mz_1=0,this.nz_1=null,this.oz_1=x()}function Tu(t){return ke(t)<126?rs().c1a_1[ke(t)]:0}function Au(){return gn}function Nu(){return mn}function Iu(){return bn}function Bu(){return wn}function Mu(){return $n}function Lu(){return jn}function Fu(){return kn}function Du(){return qn}function Ju(){return Cn}function Uu(){return zn}function Hu(){return xn}function Vu(){return Sn}function Ku(){return On}function Wu(t){return t<117?rs().b1a_1[t]:_(0)}function Gu(){return En}function Xu(t){var n=0;if(n<=31)do{var e=n;n=n+1|0,Zu(t,e,_(117))}while(n<=31);Zu(t,8,_(98)),Zu(t,9,_(116)),Zu(t,10,_(110)),Zu(t,12,_(102)),Zu(t,13,_(114)),Qu(t,_(47),_(47)),Qu(t,_(34),_(34)),Qu(t,_(92),_(92))}function Yu(t){var n=0;if(n<=32)do{var e=n;n=n+1|0,ts(t,e,127)}while(n<=32);ts(t,9,3),ts(t,10,3),ts(t,13,3),ts(t,32,3),ns(t,_(44),4),ns(t,_(58),5),ns(t,_(123),6),ns(t,_(125),7),ns(t,_(91),8),ns(t,_(93),9),ns(t,_(34),1),ns(t,_(92),2)}function Zu(t,n,e){var r;y(new h(e),new h(_(117)))||(r=ke(e),t.b1a_1[r]=je(n))}function Qu(t,n,e){return Zu(t,ke(n),e)}function ts(t,n,e){t.c1a_1[n]=e}function ns(t,n,e){return ts(t,ke(n),e)}function es(){Rn=this,this.b1a_1=Ge(117),this.c1a_1=new Int8Array(126),Xu(this),Yu(this)}function rs(){return null==Rn&&new es,Rn}function os(){return Pn}function is(){return Tn}function us(t){Pu.call(this),this.g1a_1=t}function ss(t){return t.qy_1}function as(){this.dz_1=Ye(128)}function cs(t){return Ze(t)}Qe.prototype=Object.create(nr.prototype),Qe.prototype.constructor=Qe,ur.prototype=Object.create(nr.prototype),ur.prototype.constructor=ur,vr.prototype=Object.create(yr.prototype),vr.prototype.constructor=vr,wr.prototype=Object.create(yr.prototype),wr.prototype.constructor=wr,mr.prototype=Object.create(wr.prototype),mr.prototype.constructor=mr,qr.prototype=Object.create(wr.prototype),qr.prototype.constructor=qr,Cr.prototype=Object.create(yr.prototype),Cr.prototype.constructor=Cr,wo.prototype=Object.create(mo.prototype),wo.prototype.constructor=wo,$o.prototype=Object.create(mo.prototype),$o.prototype.constructor=$o,No.prototype=Object.create($t.prototype),No.prototype.constructor=No,Co.prototype=Object.create(No.prototype),Co.prototype.constructor=Co,Eo.prototype=Object.create(No.prototype),Eo.prototype.constructor=Eo,Zo.prototype=Object.create(It.prototype),Zo.prototype.constructor=Zo,ti.prototype=Object.create(It.prototype),ti.prototype.constructor=ti,wi.prototype=Object.create(Xn.prototype),wi.prototype.constructor=wi,$i.prototype=Object.create(Xn.prototype),$i.prototype.constructor=$i,zi.prototype=Object.create(le.prototype),zi.prototype.constructor=zi,Mi.prototype=Object.create(xe.prototype),Mi.prototype.constructor=Mi,Hi.prototype=Object.create(Mi.prototype),Hi.prototype.constructor=Hi,Vi.prototype=Object.create(Mi.prototype),Vi.prototype.constructor=Vi,Ki.prototype=Object.create(Mi.prototype),Ki.prototype.constructor=Ki,Wi.prototype=Object.create(Hi.prototype),Wi.prototype.constructor=Wi,tu.prototype=Object.create(Le.prototype),tu.prototype.constructor=tu,Yi.prototype=Object.create(tu.prototype),Yi.prototype.constructor=Yi,Zi.prototype=Object.create(le.prototype),Zi.prototype.constructor=Zi,nu.prototype=Object.create(tu.prototype),nu.prototype.constructor=nu,eu.prototype=Object.create(tu.prototype),eu.prototype.constructor=eu,ou.prototype=Object.create(Yi.prototype),ou.prototype.constructor=ou,cu.prototype=Object.create(Fe.prototype),cu.prototype.constructor=cu,us.prototype=Object.create(Pu.prototype),us.prototype.constructor=us,Qe.$metadata$=i("Default",void 0,void 0,void 0,void 0,nr.prototype),nr.prototype.ry=function(){return this.oy_1},nr.prototype.hh=function(){return this.py_1},nr.prototype.fh=function(t,n){var e=new as;try{var r=fu(),o=su().length;return qi(e,this,r,u(Array(o),null)).bl(t,n),e.toString()}finally{e.ez()}},nr.prototype.gh=function(t,n){var e=new us(n),r=new wi(this,fu(),e,t.fg()).lj(t);return e.pz(),r},nr.prototype.sy=function(t,n){return Xi(this,n,t)},nr.prototype.ty=function(t,n){return Ai(this,n,t)},nr.prototype.uy=function(t){return this.gh(Wr(),t)},nr.$metadata$=c("Json",[a]),or.prototype.p10=function(){return this.wz_1},or.prototype.im=function(){if(this.yz_1&&"type"!==this.zz_1)throw l(p("Class discriminator should not be specified when array polymorphism is specified"));if(this.vz_1){if(" "!==this.wz_1){var t,n;t:{for(var e=this.wz_1,r=0,o=e.length;r<o;){var i=f(e,r);if(r=r+1|0,!(y(new h(i),new h(_(32)))||y(new h(i),new h(_(9)))||y(new h(i),new h(_(13)))||y(new h(i),new h(_(10))))){t=!1;break t}}t=!0}if(!t)throw n="Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had "+this.wz_1,l(p(n))}}else if(" "!==this.wz_1)throw l(p("Indent should not be specified when default printing mode is used"));return new lr(this.qz_1,this.sz_1,this.tz_1,this.uz_1,this.vz_1,this.rz_1,this.wz_1,this.xz_1,this.yz_1,this.zz_1,this.a10_1,this.b10_1)},or.$metadata$=c("JsonBuilder"),ur.$metadata$=c("JsonImpl",void 0,void 0,void 0,void 0,nr.prototype),sr.$metadata$=c("JsonClassDiscriminator",[d]),ar.$metadata$=c("JsonNames",[d]),lr.prototype.q10=function(){return this.f10_1},lr.prototype.p10=function(){return this.j10_1},lr.prototype.toString=function(){return"JsonConfiguration(encodeDefaults="+this.d10_1+", ignoreUnknownKeys="+this.e10_1+", isLenient="+this.f10_1+", allowStructuredMapKeys="+this.g10_1+", prettyPrint="+this.h10_1+", explicitNulls="+this.i10_1+", prettyPrintIndent='"+this.j10_1+"', coerceInputValues="+this.k10_1+", useArrayPolymorphism="+this.l10_1+", classDiscriminator='"+this.m10_1+"', allowSpecialFloatingPointValues="+this.n10_1+")"},lr.$metadata$=c("JsonConfiguration"),hr.prototype.fg=function(){return this.s10_1},hr.prototype.gg=function(t,n){var e,r=t.hh().ll(this.r10_1,n),o=null==r?w(b(n)):r;null==o?fr(this,b(n),this.r10_1):e=o;var i=e;(k(i,j)?i:$()).gg(t,n)},hr.prototype.hg=function(t){var n=lo(t),e=n.t10(),r=this.u10(e),o=k(r,j)?r:$();return n.v10().ty(o,e)},hr.$metadata$=c("JsonContentPolymorphicSerializer",[j]),_r.$metadata$=z("JsonDecoder",[q,C]),i("Companion"),yr.$metadata$=c("JsonElement",void 0,void 0,{0:Wr}),i("Companion"),vr.prototype.x10=function(t){return this.w10_1.a2(t)},vr.prototype.a2=function(t){return null!=t&&"string"==typeof t&&this.x10(null!=t&&"string"==typeof t?t:$())},vr.prototype.y10=function(t){return this.w10_1.g2(t)},vr.prototype.g2=function(t){return null==t||"string"!=typeof t?null:this.y10(null!=t&&"string"==typeof t?t:$())},vr.prototype.j=function(){return this.w10_1.j()},vr.prototype.q=function(){return this.w10_1.q()},vr.prototype.h2=function(){return this.w10_1.h2()},vr.prototype.f=function(){return this.w10_1.f()},vr.prototype.i2=function(){return this.w10_1.i2()},vr.prototype.equals=function(t){return y(this.w10_1,t)},vr.prototype.hashCode=function(){return S(this.w10_1)},vr.prototype.toString=function(){var t=this.w10_1.q();return O(t,",","{","}",0,null,dr,24,null)},vr.$metadata$=c("JsonObject",[E],void 0,{0:Zr},void 0,yr.prototype),mr.prototype.b11=function(){return this.z10_1},mr.prototype.c11=function(){return this.a11_1.s1()},mr.prototype.ur=function(t){return this.c11()},mr.$metadata$=i("JsonNull",[T],void 0,{0:so},void 0,wr.prototype),i("Companion"),wr.prototype.toString=function(){return this.b11()},wr.$metadata$=c("JsonPrimitive",void 0,void 0,{0:io},void 0,yr.prototype),qr.prototype.b11=function(){return this.e11_1},qr.prototype.toString=function(){var t;if(this.d11_1){var n=x();Ri(n,this.e11_1),t=n.toString()}else t=this.e11_1;return t},qr.prototype.equals=function(t){return this===t||!(null==t||!b(this).equals(b(t)))&&(t instanceof qr||$(),this.d11_1===t.d11_1&&this.e11_1===t.e11_1)},qr.prototype.hashCode=function(){var t=0|this.d11_1;return t=r(31,t)+A(this.e11_1)|0},qr.$metadata$=c("JsonLiteral",void 0,void 0,void 0,void 0,wr.prototype),i("Companion"),Cr.prototype.g11=function(t){return this.f11_1.j1(t)},Cr.prototype.j1=function(t){return this.g11(t)},Cr.prototype.k=function(t){return this.f11_1.k(t)},Cr.prototype.j=function(){return this.f11_1.j()},Cr.prototype.g=function(){return this.f11_1.g()},Cr.prototype.f=function(){return this.f11_1.f()},Cr.prototype.equals=function(t){return y(this.f11_1,t)},Cr.prototype.hashCode=function(){return S(this.f11_1)},Cr.prototype.toString=function(){return O(this.f11_1,",","[","]",0,null,null,56,null)},Cr.$metadata$=c("JsonArray",[N],void 0,{0:eo},void 0,yr.prototype),Br.prototype.i11=function(t,n){return this.h11_1.l(t,n)},Br.prototype.im=function(){return new vr(this.h11_1)},Br.$metadata$=c("JsonObjectBuilder"),Kr.prototype.fg=function(){return this.o11_1},Kr.prototype.p11=function(t,n){po(t);var e=n;e instanceof wr?t.bl(io(),n):e instanceof vr?t.bl(Zr(),n):e instanceof Cr&&t.bl(eo(),n)},Kr.prototype.gg=function(t,n){return this.p11(t,n instanceof yr?n:$())},Kr.prototype.hg=function(t){return lo(t).t10()},Kr.$metadata$=i("JsonElementSerializer",[j]),Gr.prototype.th=function(t){return this.q11_1.th(t)},Gr.prototype.uh=function(t){return this.q11_1.uh(t)},Gr.prototype.vh=function(t){return this.q11_1.vh(t)},Gr.prototype.wh=function(t){return this.q11_1.wh(t)},Gr.prototype.xh=function(t){return this.q11_1.xh(t)},Gr.prototype.yh=function(){return this.q11_1.yh()},Gr.prototype.zh=function(){return this.q11_1.zh()},Gr.prototype.ai=function(){return this.q11_1.ai()},Gr.prototype.mh=function(){return this.q11_1.mh()},Gr.prototype.bi=function(){return this.q11_1.bi()},Gr.prototype.ch=function(){return this.r11_1},Gr.$metadata$=i("JsonObjectDescriptor",[V]),Yr.prototype.fg=function(){return this.m11_1},Yr.prototype.s11=function(t,n){po(t),H(U(J()),Wr()).gg(t,n)},Yr.prototype.gg=function(t,n){return this.s11(t,n instanceof vr?n:$())},Yr.prototype.hg=function(t){return fo(t),new vr(H(U(J()),Wr()).hg(t))},Yr.$metadata$=i("JsonObjectSerializer",[j]),Qr.prototype.th=function(t){return this.t11_1.th(t)},Qr.prototype.uh=function(t){return this.t11_1.uh(t)},Qr.prototype.vh=function(t){return this.t11_1.vh(t)},Qr.prototype.wh=function(t){return this.t11_1.wh(t)},Qr.prototype.xh=function(t){return this.t11_1.xh(t)},Qr.prototype.yh=function(){return this.t11_1.yh()},Qr.prototype.zh=function(){return this.t11_1.zh()},Qr.prototype.ai=function(){return this.t11_1.ai()},Qr.prototype.mh=function(){return this.t11_1.mh()},Qr.prototype.bi=function(){return this.t11_1.bi()},Qr.prototype.ch=function(){return this.u11_1},Qr.$metadata$=i("JsonArrayDescriptor",[V]),no.prototype.fg=function(){return this.n11_1},no.prototype.v11=function(t,n){po(t),K(Wr()).gg(t,n)},no.prototype.gg=function(t,n){return this.v11(t,n instanceof Cr?n:$())},no.prototype.hg=function(t){return fo(t),new Cr(K(Wr()).hg(t))},no.$metadata$=i("JsonArraySerializer",[j]),oo.prototype.fg=function(){return this.j11_1},oo.prototype.w11=function(t,n){var e;if(po(t),n instanceof mr)t.bl(so(),br()),e=s();else{var r=co();t.bl(r,n instanceof qr?n:$()),e=s()}return e},oo.prototype.gg=function(t,n){return this.w11(t,n instanceof wr?n:$())},oo.prototype.hg=function(t){var n=lo(t).t10();if(!(n instanceof wr))throw Ro(-1,"Unexpected JSON element, expected JsonPrimitive, had "+b(n),p(n));return n},oo.$metadata$=i("JsonPrimitiveSerializer",[j]),uo.prototype.fg=function(){return this.k11_1},uo.prototype.x11=function(t,n){po(t),t.fk()},uo.prototype.gg=function(t,n){return this.x11(t,n instanceof mr?n:$())},uo.prototype.hg=function(t){if(fo(t),t.xi())throw new Eo("Expected 'null' literal");return t.yi(),br()},uo.$metadata$=i("JsonNullSerializer",[j]),ao.prototype.fg=function(){return this.l11_1},ao.prototype.y11=function(t,n){if(po(t),n.d11_1)return t.ok(n.e11_1);var e=Pr(n);if(null!=e)return t.kk(e);var r=Y(n.e11_1);if(null!=(null==r?null:new nt(r))){var o,i=t.qk(Q(Z()).fg());return o=tt(r),i.kk(o),s()}var u=Tr(n);if(null!=u)return t.mk(u);var a=zr(n);if(null!=a)return t.gk(a);t.ok(n.e11_1)},ao.prototype.gg=function(t,n){return this.y11(t,n instanceof qr?n:$())},ao.prototype.hg=function(t){var n=lo(t).t10();if(!(n instanceof qr))throw Ro(-1,"Unexpected JSON element, expected JsonLiteral, had "+b(n),p(n));return n},ao.$metadata$=i("JsonLiteralSerializer",[j]),yo.prototype.ch=function(){return _o(this).ch()},yo.prototype.bi=function(){return _o(this).bi()},yo.prototype.zh=function(){return _o(this).zh()},yo.prototype.wh=function(t){return _o(this).wh(t)},yo.prototype.vh=function(t){return _o(this).vh(t)},yo.prototype.th=function(t){return _o(this).th(t)},yo.prototype.uh=function(t){return _o(this).uh(t)},yo.prototype.xh=function(t){return _o(this).xh(t)},yo.$metadata$=c(void 0,[V]),go.$metadata$=z("JsonEncoder",[ct,pt]),mo.prototype.c12=function(){this.b12_1=!0},mo.prototype.d12=function(){return s()},mo.prototype.e12=function(){this.b12_1=!1},mo.prototype.f12=function(){return s()},mo.prototype.g12=function(t){return this.a12_1.cs(t)},mo.prototype.h12=function(t){return this.a12_1.i12(t)},mo.prototype.j12=function(t){return this.a12_1.i12(t.toString())},mo.prototype.k12=function(t){return this.a12_1.i12(t.toString())},mo.prototype.l12=function(t){return this.a12_1.dt(lt(t))},mo.prototype.m12=function(t){return this.a12_1.dt(lt(t))},mo.prototype.n12=function(t){return this.a12_1.dt(lt(t))},mo.prototype.o12=function(t){return this.a12_1.dt(t)},mo.prototype.p12=function(t){return this.a12_1.i12(t.toString())},mo.prototype.q12=function(t){return this.a12_1.r12(t)},mo.$metadata$=c("Composer"),wo.prototype.n12=function(t){var n;return n=ft(t),mo.prototype.h12.call(this,ht(n))},wo.prototype.o12=function(t){var n;return n=_t(t),mo.prototype.h12.call(this,yt(n))},wo.prototype.l12=function(t){var n;return n=dt(t),mo.prototype.h12.call(this,vt(n))},wo.prototype.m12=function(t){var n;return n=gt(t),mo.prototype.h12.call(this,mt(n))},wo.$metadata$=c("ComposerForUnsignedNumbers",void 0,void 0,void 0,void 0,mo.prototype),$o.prototype.c12=function(){this.b12_1=!0;var t=this,n=t.x12_1;t.x12_1=n+1|0},$o.prototype.d12=function(){var t=this,n=t.x12_1;t.x12_1=n-1|0},$o.prototype.e12=function(){this.b12_1=!1,this.h12("\n");var t=this.x12_1,n=0;if(n<t)do{n=n+1|0,this.h12(this.w12_1.oy_1.j10_1)}while(n<t)},$o.prototype.f12=function(){this.g12(_(32))},$o.$metadata$=c("ComposerWithPrettyPrint",void 0,void 0,void 0,void 0,mo.prototype),qo.prototype.gp=function(t){this.y12_1.gp(t)},qo.prototype.hp=function(){return this.y12_1.hp()},qo.$metadata$=c("JsonElementMarker"),Co.$metadata$=c("JsonEncodingException",void 0,void 0,void 0,void 0,No.prototype),Eo.$metadata$=c("JsonDecodingException",void 0,void 0,void 0,void 0,No.prototype),No.$metadata$=c("JsonException",void 0,void 0,void 0,void 0,$t.prototype),Zo.prototype.p14=function(t,n,e){var r=this.q14(t,n,e);return r.vf_1=s(),r.wf_1=null,r.cg()},Zo.prototype.a6=function(t,n,e){var r=t instanceof Bt?t:$();return this.p14(r,n instanceof Mt?n:$(),e)},Zo.prototype.cg=function(){var t=this.vf_1;t:for(;;)try{switch(this.tf_1){case 0:if(this.uf_1=3,this.n14_1=this.k14_1.e13_1.i13(),this.n14_1===Bu()){this.o14_1=Xo(this.k14_1,!0),this.tf_1=2;continue t}if(this.n14_1===Ku()){this.o14_1=Xo(this.k14_1,!1),this.tf_1=2;continue t}if(this.n14_1===Ju()){if(this.tf_1=1,(t=Wo(this.l14_1,this.k14_1,this))===Lt())return t;continue t}if(this.n14_1===Hu()){this.o14_1=Go(this.k14_1),this.tf_1=2;continue t}this.k14_1.e13_1.a13("Can't begin reading element, unexpected token",0,2,null);break;case 1:this.o14_1=t,this.tf_1=2;continue t;case 2:return this.o14_1;case 3:throw this.wf_1}}catch(t){if(3===this.uf_1)throw t;this.tf_1=this.uf_1,this.wf_1=t}},Zo.prototype.q14=function(t,n,e){var r=new Zo(this.k14_1,e);return r.l14_1=t,r.m14_1=n,r},Zo.$metadata$=c("JsonTreeReader$readDeepRecursive$slambda",void 0,void 0,void 0,[2],It.prototype),ti.prototype.cg=function(){var t=this.vf_1;t:for(;;)try{switch(this.tf_1){case 0:this.uf_1=4,this.y13_1=this.w13_1.e13_1.h13(Ju()),this.w13_1.e13_1.i13()===Lu()&&this.w13_1.e13_1.a13("Unexpected leading comma",0,2,null),this.z13_1=D(),this.tf_1=1;continue t;case 1:if(!this.w13_1.e13_1.j13()){this.tf_1=3;continue t}if(this.a14_1=this.w13_1.f13_1?this.w13_1.e13_1.l13():this.w13_1.e13_1.k13(),this.w13_1.e13_1.h13(Du()),this.tf_1=2,(t=this.x13_1.s5(s(),this))===Lt())return t;continue t;case 2:var n=t;this.z13_1.l(this.a14_1,n),this.y13_1=this.w13_1.e13_1.n13(),this.y13_1!==Lu()&&this.y13_1!==Uu()&&this.w13_1.e13_1.a13("Expected end of the object or comma",0,2,null),this.tf_1=1;continue t;case 3:return this.y13_1===Ju()?this.w13_1.e13_1.h13(Uu()):this.y13_1===Lu()&&this.w13_1.e13_1.a13("Unexpected trailing comma",0,2,null),new vr(this.z13_1);case 4:throw this.wf_1}}catch(t){if(4===this.uf_1)throw t;this.tf_1=this.uf_1,this.wf_1=t}},ti.$metadata$=c("$readObjectCOROUTINE$0",void 0,void 0,void 0,void 0,It.prototype),ni.prototype.m13=function(){var t,n=this.e13_1.i13();if(n===Bu())t=Xo(this,!0);else if(n===Ku())t=Xo(this,!1);else if(n===Ju()){var e=this;e.g13_1=e.g13_1+1|0;var r=200===e.g13_1?Yo(this):Ko(this),o=this;o.g13_1=o.g13_1-1|0,t=r}else if(n===Hu())t=Go(this);else{var i="Cannot begin reading element, unexpected token: "+n;this.e13_1.a13(i,0,2,null)}return t},ni.$metadata$=c("JsonTreeReader"),pi.prototype.gy=function(t,n){},pi.prototype.jy=function(t,n,e){var r=e.fg();ai(this,r,n),this.s14_1||ci(this,r,n)},pi.prototype.ky=function(t,n){},pi.$metadata$=c("PolymorphismValidator",[Gn]),li.$metadata$=c("Key"),fi.prototype.u14=function(t,n,e){var r,o=this.b13_1,i=o.g2(t);if(null==i){var u=cs(1);o.l(t,u),r=u}else r=i;var s=r,a=n instanceof li?n:$(),c=Nn(e)?e:$();s.l(a,c)},fi.prototype.c13=function(t,n,e){var r=this.v14(t,n);if(null!=r)return r;var o=e();return this.u14(t,n,o),o},fi.prototype.v14=function(t,n){var e=this.b13_1.g2(t),r=null==e?null:e.g2(n instanceof li?n:$());return Nn(r)?r:null},fi.$metadata$=c("DescriptorSchemaCache"),wi.prototype.v10=function(){return this.fz_1},wi.prototype.e15=function(){return this.hz_1},wi.prototype.hh=function(){return this.iz_1},wi.prototype.t10=function(){return new ni(this.fz_1.oy_1,this.hz_1).m13()},wi.prototype.lj=function(t){return ei(this,t)},wi.prototype.mj=function(t){var n,e=pu(this.fz_1,t);switch(this.hz_1.w14(e.h15_1),_i(this),e.e4_1){case 1:case 2:case 3:n=new wi(this.fz_1,e,this.hz_1,t);break;default:n=this.gz_1.equals(e)&&this.fz_1.oy_1.i10_1?this:new wi(this.fz_1,e,this.hz_1,t)}return n},wi.prototype.nj=function(t){this.fz_1.oy_1.e10_1&&0===t.zh()&&hi(this,t),this.hz_1.w14(this.gz_1.i15_1)},wi.prototype.xi=function(){var t=this.lz_1,n=null==t?null:t.z12_1;return(null==n||!n)&&this.hz_1.y14()},wi.prototype.yi=function(){return null},wi.prototype.bk=function(t){switch(this.gz_1.e4_1){case 0:return vi(this,t);case 2:return yi(this);default:return mi(this)}},wi.prototype.zi=function(){return this.kz_1.f10_1?this.hz_1.k15():this.hz_1.j15()},wi.prototype.aj=function(){var t=this.hz_1.l15();if(!t.equals(lt(t.kf()))){var n="Failed to parse byte for input '"+p(t)+"'";this.hz_1.a13(n,0,2,null)}return t.kf()},wi.prototype.bj=function(){var t=this.hz_1.l15();if(!t.equals(lt(t.lf()))){var n="Failed to parse short for input '"+p(t)+"'";this.hz_1.a13(n,0,2,null)}return t.lf()},wi.prototype.cj=function(){var t=this.hz_1.l15();if(!t.equals(lt(t.b7()))){var n="Failed to parse int for input '"+p(t)+"'";this.hz_1.a13(n,0,2,null)}return t.b7()},wi.prototype.dj=function(){return this.hz_1.l15()},wi.prototype.ej=function(){var t;t:{var n=this.hz_1,e=n.l13();try{t=M(e);break t}catch(t){if(!(t instanceof Yn))throw t;var r="Failed to parse type 'float' for input '"+e+"'";n.a13(r,0,2,null)}}var o=t;if(this.fz_1.oy_1.n10_1||Zn(o))return o;So(this.hz_1,o)},wi.prototype.fj=function(){var t;t:{var n=this.hz_1,e=n.l13();try{t=M(e);break t}catch(t){if(!(t instanceof Yn))throw t;var r="Failed to parse type 'double' for input '"+e+"'";n.a13(r,0,2,null)}}var o=t;if(this.fz_1.oy_1.n10_1||Qn(o))return o;So(this.hz_1,o)},wi.prototype.gj=function(){var t=this.hz_1.l13();if(1!==t.length){var n="Expected single char, but got '"+t+"'";this.hz_1.a13(n,0,2,null)}return f(t,0)},wi.prototype.hj=function(){return this.kz_1.f10_1?this.hz_1.d15():this.hz_1.k13()},wi.prototype.jj=function(t){return xi(t)?new $i(this.hz_1,this.fz_1):Xn.prototype.jj.call(this,t)},wi.prototype.ij=function(t){return Do(t,this.fz_1,this.hj())},wi.$metadata$=c("StreamingJsonDecoder",[_r],void 0,void 0,void 0,Xn.prototype),$i.prototype.hh=function(){return this.n15_1},$i.prototype.bk=function(t){throw et("unsupported")},$i.prototype.cj=function(){var t;t:{var n=this.m15_1,e=n.l13();try{var r=re(e);t=oe(r);break t}catch(t){if(!(t instanceof Yn))throw t;var o="Failed to parse type 'UInt' for input '"+e+"'";n.a13(o,0,2,null)}}return t},$i.prototype.dj=function(){var t;t:{var n=this.m15_1,e=n.l13();try{var r=ie(e);t=tt(r);break t}catch(t){if(!(t instanceof Yn))throw t;var o="Failed to parse type 'ULong' for input '"+e+"'";n.a13(o,0,2,null)}}return t},$i.prototype.aj=function(){var t;t:{var n=this.m15_1,e=n.l13();try{var r=ue(e);t=se(r);break t}catch(t){if(!(t instanceof Yn))throw t;var o="Failed to parse type 'UByte' for input '"+e+"'";n.a13(o,0,2,null)}}return t},$i.prototype.bj=function(){var t;t:{var n=this.m15_1,e=n.l13();try{var r=ae(e);t=ce(r);break t}catch(t){if(!(t instanceof Yn))throw t;var o="Failed to parse type 'UShort' for input '"+e+"'";n.a13(o,0,2,null)}}return t},$i.$metadata$=c("JsonDecoderForUnsignedTypes",void 0,void 0,void 0,void 0,Xn.prototype),zi.prototype.v10=function(){return this.wy_1},zi.prototype.hh=function(){return this.zy_1},zi.prototype.gl=function(t,n){return this.az_1.d10_1},zi.prototype.bl=function(t,n){if(t instanceof An&&!this.v10().oy_1.l10_1){var e=t instanceof An?t:$(),r=ri(t.fg(),this.v10()),o=In(e,this,Nn(n)?n:$());si(e,o,r),ii(o.fg().bi()),this.cz_1=r,o.gg(this,n)}else t.gg(this,n),s()},zi.prototype.mj=function(t){var n=pu(this.wy_1,t);if(y(new h(n.h15_1),new h(vu()))||(this.vy_1.g12(n.h15_1),this.vy_1.c12()),null!=this.cz_1&&(Ci(this,t),this.cz_1=null),this.xy_1.equals(n))return this;var e=this.yy_1,r=null==e?null:e[n.e4_1];return null==r?new zi(this.vy_1,this.wy_1,n,this.yy_1):r},zi.prototype.nj=function(t){y(new h(this.xy_1.i15_1),new h(vu()))||(this.vy_1.d12(),this.vy_1.e12(),this.vy_1.g12(this.xy_1.i15_1))},zi.prototype.dk=function(t,n){switch(this.xy_1.e4_1){case 1:this.vy_1.b12_1||this.vy_1.g12(gu()),this.vy_1.e12();break;case 2:if(this.vy_1.b12_1)this.bz_1=!0,this.vy_1.e12();else{var e,r=this;0==(n%2|0)?(this.vy_1.g12(gu()),this.vy_1.e12(),e=!0):(this.vy_1.g12(du()),this.vy_1.f12(),e=!1),r.bz_1=e}break;case 3:0===n&&(this.bz_1=!0),1===n&&(this.vy_1.g12(gu()),this.vy_1.f12(),this.bz_1=!1);break;default:this.vy_1.b12_1||this.vy_1.g12(gu()),this.vy_1.e12(),this.ok(t.wh(n)),this.vy_1.g12(du()),this.vy_1.f12()}return!0},zi.prototype.cl=function(t,n,e,r){(null!=r||this.az_1.i10_1)&&le.prototype.cl.call(this,t,n,e,r)},zi.prototype.qk=function(t){return xi(t)?new zi(new wo(this.vy_1.a12_1),this.wy_1,this.xy_1,null):le.prototype.qk.call(this,t)},zi.prototype.fk=function(){this.vy_1.h12(mu())},zi.prototype.gk=function(t){this.bz_1?this.ok(t.toString()):this.vy_1.p12(t)},zi.prototype.hk=function(t){this.bz_1?this.ok(t.toString()):this.vy_1.l12(t)},zi.prototype.ik=function(t){this.bz_1?this.ok(t.toString()):this.vy_1.m12(t)},zi.prototype.jk=function(t){this.bz_1?this.ok(t.toString()):this.vy_1.n12(t)},zi.prototype.kk=function(t){this.bz_1?this.ok(t.toString()):this.vy_1.o12(t)},zi.prototype.lk=function(t){if(this.bz_1?this.ok(t.toString()):this.vy_1.j12(t),!this.az_1.n10_1&&!Zn(t))throw zo(t,this.vy_1.a12_1.toString())},zi.prototype.mk=function(t){if(this.bz_1?this.ok(t.toString()):this.vy_1.k12(t),!this.az_1.n10_1&&!Qn(t))throw zo(t,this.vy_1.a12_1.toString())},zi.prototype.nk=function(t){this.ok(fe(t))},zi.prototype.ok=function(t){return this.vy_1.q12(t)},zi.prototype.pk=function(t,n){this.ok(t.wh(n))},zi.$metadata$=c("StreamingJsonEncoder",[go],void 0,void 0,void 0,le.prototype),Mi.prototype.v10=function(){return this.q15_1},Mi.prototype.s1=function(){return this.r15_1},Mi.prototype.hh=function(){return this.v10().hh()},Mi.prototype.t10=function(){return Ni(this)},Mi.prototype.lj=function(t){return ei(this,t)},Mi.prototype.tv=function(t,n){return n},Mi.prototype.mj=function(t){var n,e=Ni(this),r=t.bi();if(y(r,Kn())||r instanceof Un){var o=this.v10();if(!(e instanceof Cr))throw To(-1,"Expected "+Bn(Cr)+" as the serialized body of "+t.ch()+", but had "+b(e));n=new Vi(o,e)}else if(y(r,Vn())){var i,u=this.v10(),s=lu(t.uh(0),u.hh()),a=s.bi();if(a instanceof Jn||y(a,G())){var c=this.v10();if(!(e instanceof vr))throw To(-1,"Expected "+Bn(vr)+" as the serialized body of "+t.ch()+", but had "+b(e));i=new Wi(c,e)}else{if(!u.oy_1.g10_1)throw xo(s);var p=this.v10();if(!(e instanceof Cr))throw To(-1,"Expected "+Bn(Cr)+" as the serialized body of "+t.ch()+", but had "+b(e));i=new Vi(p,e)}n=i}else{var l=this.v10();if(!(e instanceof vr))throw To(-1,"Expected "+Bn(vr)+" as the serialized body of "+t.ch()+", but had "+b(e));n=Fi(l,e,null,null,12,null)}return n},Mi.prototype.nj=function(t){},Mi.prototype.xi=function(){return!(Ni(this)instanceof mr)},Mi.prototype.u15=function(t){var n=this.t15(t),e=n instanceof wr?n:null;if(null==e)throw Ro(-1,"Expected JsonPrimitive at "+t+", found "+n,p(Ni(this)));return e},Mi.prototype.v15=function(t,n){return Do(n,this.v10(),this.u15(t).b11())},Mi.prototype.zw=function(t,n){return this.v15(null!=t&&"string"==typeof t?t:$(),n)},Mi.prototype.w15=function(t){return!(this.t15(t)===br())},Mi.prototype.pw=function(t){return this.w15(null!=t&&"string"==typeof t?t:$())},Mi.prototype.x15=function(t){var n,e=this.u15(t);if(!this.v10().oy_1.f10_1&&Bi(e,this,"boolean").d11_1)throw Ro(-1,"Boolean literal for key '"+t+"' should be unquoted.\n"+Fu(),p(Ni(this)));try{var r=zr(e);if(null==r)throw Se();var o,i=r;null==i?Ii(this,"boolean"):o=i,n=o}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"boolean")}return n},Mi.prototype.qw=function(t){return this.x15(null!=t&&"string"==typeof t?t:$())},Mi.prototype.y15=function(t){var n;t:{var e=this.u15(t);try{var r,o=xr(e),i=Oe().v7_1,u=o<=Oe().w7_1&&i<=o?Ce(o):null;null==u?Ii(this,"byte"):r=u,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"byte")}}return n},Mi.prototype.rw=function(t){return this.y15(null!=t&&"string"==typeof t?t:$())},Mi.prototype.z15=function(t){var n;t:{var e=this.u15(t);try{var r,o=xr(e),i=Ee().d8_1,u=o<=Ee().e8_1&&i<=o?Re(o):null;null==u?Ii(this,"short"):r=u,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"short")}}return n},Mi.prototype.sw=function(t){return this.z15(null!=t&&"string"==typeof t?t:$())},Mi.prototype.a16=function(t){var n;t:{var e=this.u15(t);try{var r,o=xr(e);null==o?Ii(this,"int"):r=o,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"int")}}return n},Mi.prototype.tw=function(t){return this.a16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.b16=function(t){var n;t:{var e=this.u15(t);try{var r,o=Sr(e);null==o?Ii(this,"long"):r=o,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"long")}}return n},Mi.prototype.uw=function(t){return this.b16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.c16=function(t){var n;t:{var e=this.u15(t);try{var r,o=Or(e);null==o?Ii(this,"float"):r=o,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"float")}}var i=n;if(this.v10().oy_1.n10_1||Zn(i))return i;throw Po(i,t,p(Ni(this)))},Mi.prototype.vw=function(t){return this.c16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.d16=function(t){var n;t:{var e=this.u15(t);try{var r,o=Er(e);null==o?Ii(this,"double"):r=o,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"double")}}var i=n;if(this.v10().oy_1.n10_1||Qn(i))return i;throw Po(i,t,p(Ni(this)))},Mi.prototype.ww=function(t){return this.d16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.e16=function(t){var n;t:{var e=this.u15(t);try{var r,o=Pe(e.b11());null==(null==o?null:new h(o))?Ii(this,"char"):r=o,n=r;break t}catch(t){if(!(t instanceof Yn))throw t;Ii(this,"char")}}return n},Mi.prototype.xw=function(t){return this.e16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.f16=function(t){var n=this.u15(t);if(!this.v10().oy_1.f10_1&&!Bi(n,this,"string").d11_1)throw Ro(-1,"String literal for key '"+t+"' should be quoted.\n"+Fu(),p(Ni(this)));if(n instanceof mr)throw Ro(-1,"Unexpected 'null' value instead of string literal",p(Ni(this)));return n.b11()},Mi.prototype.yw=function(t){return this.f16(null!=t&&"string"==typeof t?t:$())},Mi.prototype.g16=function(t,n){return xi(n)?new $i(new us(this.u15(t).b11()),this.v10()):xe.prototype.ax.call(this,t,n)},Mi.prototype.ax=function(t,n){return this.g16(null!=t&&"string"==typeof t?t:$(),n)},Mi.$metadata$=c("AbstractJsonTreeDecoder",[_r],void 0,void 0,void 0,xe.prototype),Hi.prototype.s1=function(){return this.m16_1},Hi.prototype.bk=function(t){for(;this.p16_1<t.zh();){var n=this,e=n.p16_1;n.p16_1=e+1|0;var r=this.ov(t,e),o=this.p16_1-1|0;this.q16_1=!1;var i=this.s1();if(((k(i,E)?i:$()).a2(r)||Ji(this,t,o))&&(!this.s15_1.k10_1||!Di(this,t,o,r)))return o}return xt(),-1},Hi.prototype.xi=function(){return!this.q16_1&&Mi.prototype.xi.call(this)},Hi.prototype.pv=function(t,n){var e=t.wh(n);if(!this.s15_1.o10_1)return e;if(this.s1().h2().i1(e))return e;var r,o,i=ss(this.v10()),u=Lo(),s=i.c13(t,u,Ui(t));t:{for(var a=this.s1().h2().g();a.h();){var c=a.i();if(s.g2(c)===n){o=c;break t}}o=null}return null==(r=o)?e:r},Hi.prototype.t15=function(t){return Tt(this.s1(),t)},Hi.prototype.mj=function(t){return t===this.o16_1?this:Mi.prototype.mj.call(this,t)},Hi.prototype.nj=function(t){var n;if(this.s15_1.e10_1||t.bi()instanceof Un)return s();if(this.s15_1.o10_1){var e,r=Fn(t),o=ss(this.v10()).v14(t,Lo()),i=null==o?null:o.h2();e=null==i?Te():i,n=Ae(r,e)}else n=Fn(t);for(var u=n,a=this.s1().h2().g();a.h();){var c=a.i();if(!u.i1(c)&&c!==this.n16_1)throw Ao(c,this.s1().toString())}},Hi.$metadata$=c("JsonTreeDecoder",void 0,void 0,void 0,void 0,Mi.prototype),Vi.prototype.s1=function(){return this.w16_1},Vi.prototype.pv=function(t,n){return n.toString()},Vi.prototype.t15=function(t){return this.w16_1.k(I(t))},Vi.prototype.bk=function(t){for(;this.y16_1<(this.x16_1-1|0);){var n=this,e=n.y16_1;return n.y16_1=e+1|0,this.y16_1}return xt(),-1},Vi.$metadata$=c("JsonTreeListDecoder",void 0,void 0,void 0,void 0,Mi.prototype),Ki.prototype.s1=function(){return this.e17_1},Ki.prototype.bk=function(t){return 0},Ki.prototype.t15=function(t){var n;if(t!==iu())throw n="This input can only handle primitives with '"+iu()+"' tag",l(p(n));return this.e17_1},Ki.$metadata$=c("JsonPrimitiveDecoder",void 0,void 0,void 0,void 0,Mi.prototype),Wi.prototype.s1=function(){return this.p17_1},Wi.prototype.pv=function(t,n){var e=n/2|0;return this.q17_1.k(e)},Wi.prototype.bk=function(t){for(;this.s17_1<(this.r17_1-1|0);){var n=this,e=n.s17_1;return n.s17_1=e+1|0,this.s17_1}return xt(),-1},Wi.prototype.t15=function(t){return 0==(this.s17_1%2|0)?kr(t):Tt(this.p17_1,t)},Wi.prototype.nj=function(t){},Wi.$metadata$=c("JsonTreeMapDecoder",void 0,void 0,void 0,void 0,Hi.prototype),Yi.prototype.e18=function(t,n){this.d18_1.l(t,n)},Yi.prototype.cl=function(t,n,e,r){(null!=r||this.w17_1.i10_1)&&tu.prototype.cl.call(this,t,n,e,r)},Yi.prototype.f18=function(){return new vr(this.d18_1)},Yi.$metadata$=c("JsonTreeEncoder",void 0,void 0,void 0,void 0,tu.prototype),Zi.prototype.hh=function(){return this.t18_1},Zi.prototype.w18=function(t){return this.u18_1.e18(this.v18_1,new qr(t,!1))},Zi.prototype.jk=function(t){var n;return n=ft(t),this.w18(ht(n))},Zi.prototype.kk=function(t){var n;return n=_t(t),this.w18(yt(n))},Zi.prototype.hk=function(t){var n;return n=dt(t),this.w18(vt(n))},Zi.prototype.ik=function(t){var n;return n=gt(t),this.w18(mt(n))},Zi.$metadata$=c(void 0,void 0,void 0,void 0,void 0,le.prototype),tu.prototype.v10=function(){return this.u17_1},tu.prototype.hh=function(){return this.u17_1.hh()},tu.prototype.gl=function(t,n){return this.w17_1.d10_1},tu.prototype.tv=function(t,n){return n},tu.prototype.fk=function(){var t=this.sv();if(null==t)return this.v17_1(br());var n=t;this.g18(n)},tu.prototype.g18=function(t){return this.e18(t,br())},tu.prototype.vv=function(t){return this.g18(null!=t&&"string"==typeof t?t:$())},tu.prototype.h18=function(t,n){return this.e18(t,$r(n))},tu.prototype.wv=function(t,n){return this.h18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.i18=function(t,n){return this.e18(t,$r(n))},tu.prototype.xv=function(t,n){return this.i18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.j18=function(t,n){return this.e18(t,$r(n))},tu.prototype.yv=function(t,n){return this.j18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.k18=function(t,n){return this.e18(t,$r(n))},tu.prototype.zv=function(t,n){return this.k18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.l18=function(t,n){if(this.e18(t,$r(n)),!this.w17_1.n10_1&&!Zn(n))throw Oo(n,t,p(this.f18()))},tu.prototype.aw=function(t,n){return this.l18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.bl=function(t,n){if(null==this.sv()&&(t.fg().bi()instanceof Jn||t.fg().bi()===G())){var e=new nu(this.u17_1,this.v17_1);e.bl(t,n),e.hw(t.fg())}else if(t instanceof An&&!this.v10().oy_1.l10_1){var r=t instanceof An?t:$(),o=ri(t.fg(),this.v10()),i=In(r,this,Nn(n)?n:$());si(r,i,o),ii(i.fg().bi()),this.x17_1=o,i.gg(this,n)}else t.gg(this,n),s()},tu.prototype.m18=function(t,n){if(this.e18(t,$r(n)),!this.w17_1.n10_1&&!Qn(n))throw Oo(n,t,p(this.f18()))},tu.prototype.bw=function(t,n){return this.m18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.n18=function(t,n){return this.e18(t,jr(n))},tu.prototype.cw=function(t,n){return this.n18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.o18=function(t,n){return this.e18(t,kr(fe(n)))},tu.prototype.dw=function(t,n){return this.o18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.p18=function(t,n){return this.e18(t,kr(n))},tu.prototype.ew=function(t,n){return this.p18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.q18=function(t,n,e){return this.e18(t,kr(n.wh(e)))},tu.prototype.fw=function(t,n,e){return this.q18(null!=t&&"string"==typeof t?t:$(),n,e)},tu.prototype.r18=function(t,n){this.e18(t,kr(p(n)))},tu.prototype.uv=function(t,n){return this.r18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.s18=function(t,n){return xi(n)?new Zi(this,t):Le.prototype.gw.call(this,t,n)},tu.prototype.gw=function(t,n){return this.s18(null!=t&&"string"==typeof t?t:$(),n)},tu.prototype.mj=function(t){var n,e=null==this.sv()?this.v17_1:Qi(this),r=t.bi();if(y(r,Kn())||r instanceof Un)n=new eu(this.u17_1,e);else if(y(r,Vn())){var o,i=this.u17_1,u=lu(t.uh(0),i.hh()),s=u.bi();if(s instanceof Jn||y(s,G()))o=new ou(this.u17_1,e);else{if(!i.oy_1.g10_1)throw xo(u);o=new eu(this.u17_1,e)}n=o}else n=new Yi(this.u17_1,e);var a=n;return null!=this.x17_1&&(a.e18(Rt(this.x17_1),kr(t.ch())),this.x17_1=null),a},tu.prototype.hw=function(t){this.v17_1(this.f18())},tu.$metadata$=c("AbstractJsonTreeEncoder",[go],void 0,void 0,void 0,Le.prototype),nu.prototype.e18=function(t,n){if("primitive"!==t)throw l(p("This output can only consume primitives with 'primitive' tag"));if(null!=this.c19_1)throw l(p("Primitive element was already recorded. Does call to .encodeXxx happen more than once?"));this.c19_1=n},nu.prototype.f18=function(){var t=this.c19_1;if(null==t)throw l(p("Primitive element has not been recorded. Is call to .encodeXxx is missing in serializer?"));return t},nu.$metadata$=c("JsonPrimitiveEncoder",void 0,void 0,void 0,void 0,tu.prototype),eu.prototype.pv=function(t,n){return n.toString()},eu.prototype.e18=function(t,n){var e=I(t);this.i19_1.e9(e,n)},eu.prototype.f18=function(){return new Cr(this.i19_1)},eu.$metadata$=c("JsonTreeListEncoder",void 0,void 0,void 0,void 0,tu.prototype),ou.prototype.e18=function(t,n){if(this.q19_1){var e,r=this,o=n;if(o instanceof wr)e=n.b11();else{if(o instanceof vr)throw xo(Zr().m11_1);if(o instanceof Cr)throw xo(eo().n11_1);ze()}r.p19_1=e,this.q19_1=!1}else{var i=this.d18_1,u=ru(this);i.l(u,n),this.q19_1=!0}},ou.prototype.f18=function(){return new vr(this.d18_1)},ou.$metadata$=c("JsonTreeMapEncoder",void 0,void 0,void 0,void 0,Yi.prototype),cu.$metadata$=c("WriteMode",void 0,void 0,void 0,void 0,Fe.prototype),Pu.prototype.u19=function(){},Pu.prototype.v19=function(t){var n=t;return!(y(new h(n),new h(_(125)))||y(new h(n),new h(_(93)))||y(new h(n),new h(_(58)))||y(new h(n),new h(_(44))))},Pu.prototype.pz=function(){if(10!==this.n13()){var t="Expected EOF after parsing, but had "+new h(f(this.s19(),this.mz_1-1|0))+" instead";this.a13(t,0,2,null)}},Pu.prototype.h13=function(t){var n=this.n13();return n!==t&&this.w19(t),n},Pu.prototype.w14=function(t){this.u19();for(var n=this.s19(),e=this.mz_1;-1!==(e=this.t19(e));){var r=e;e=r+1|0;var o=f(n,r);if(!(y(new h(o),new h(_(32)))||y(new h(o),new h(_(10)))||y(new h(o),new h(_(13)))||y(new h(o),new h(_(9))))){if(this.mz_1=e,y(new h(o),new h(t)))return s();this.x19(t)}}this.mz_1=e,this.x19(t)},Pu.prototype.x19=function(t){var n=this;n.mz_1=n.mz_1-1|0,this.mz_1>=0&&y(new h(t),new h(_(34)))&&"null"===this.l13()&&this.b14("Expected string literal but 'null' literal was found.\nUse 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.",this.mz_1-4|0),this.w19(Tu(t))},Pu.prototype.w19=function(t){var n=1===t?"quotation mark '\"'":4===t?"comma ','":5===t?"semicolon ':'":6===t?"start of the object '{'":7===t?"end of the object '}'":8===t?"start of the array '['":9===t?"end of the array ']'":"valid token",e=this.mz_1===kt(this.s19())||this.mz_1<=0?"EOF":fe(f(this.s19(),this.mz_1-1|0));this.b14("Expected "+n+", but had '"+e+"' instead",this.mz_1-1|0)},Pu.prototype.i13=function(){for(var t=this.s19(),n=this.mz_1;-1!==(n=this.t19(n));){var e=f(t,n);if(!(y(new h(e),new h(_(32)))||y(new h(e),new h(_(10)))||y(new h(e),new h(_(13)))||y(new h(e),new h(_(9)))))return this.mz_1=n,Tu(e);n=n+1|0}return this.mz_1=n,10},Pu.prototype.y14=function(){var t=this.y19();t=this.t19(t);var n=kt(this.s19())-t|0;if(n<4||-1===t)return!0;var e=0;if(e<=3)do{var r=e;if(e=e+1|0,!y(new h(f("null",r)),new h(f(this.s19(),t+r|0))))return!0}while(e<=3);return n>4&&0===Tu(f(this.s19(),t+4|0))||(this.mz_1=t+4|0,!1)},Pu.prototype.y19=function(){var t=this.mz_1;t:for(;-1!==(t=this.t19(t));){var n=f(this.s19(),t);if(!(y(new h(n),new h(_(32)))||y(new h(n),new h(_(10)))||y(new h(n),new h(_(13)))||y(new h(n),new h(_(9)))))break t;t=t+1|0}return this.mz_1=t,t},Pu.prototype.z14=function(t){var n,e=this.i13();if(t){if(1!==e&&0!==e)return null;n=this.l13()}else{if(1!==e)return null;n=this.k13()}var r=n;return this.nz_1=r,r},Pu.prototype.z19=function(t,n){var e=this.s19();return p(qt(e,t,n))},Pu.prototype.k13=function(){return null!=this.nz_1?Cu(this):this.c15()},Pu.prototype.consumeString2=function(t,n,e){for(var r=e,o=n,i=f(t,r),u=!1;!y(new h(i),new h(_(34)));)y(new h(i),new h(_(92)))?(u=!0,-1===(r=this.t19(ku(this,o,r)))&&this.b14("EOF",r),o=r):(r=r+1|0)>=kt(t)&&(u=!0,this.r19(o,r),-1===(r=this.t19(r))&&this.b14("EOF",r),o=r),i=f(t,r);var s=u?qu(this,o,r):this.z19(o,r);return this.mz_1=r+1|0,s},Pu.prototype.d15=function(){var t=this.l13();return"null"===t&&zu(this)&&this.a13("Unexpected 'null' value instead of string literal",0,2,null),t},Pu.prototype.l13=function(){if(null!=this.nz_1)return Cu(this);var t=this.y19();(t>=kt(this.s19())||-1===t)&&this.b14("EOF",t);var n=Tu(f(this.s19(),t));if(1===n)return this.k13();if(0!==n){var e="Expected beginning of the string, but got "+new h(f(this.s19(),t));this.a13(e,0,2,null)}for(var r=!1;0===Tu(f(this.s19(),t));)if((t=t+1|0)>=kt(this.s19())){r=!0,this.r19(this.mz_1,t);var o=this.t19(t);if(-1===o)return this.mz_1=t,qu(this,0,0);t=o}var i=r?qu(this,this.mz_1,t):this.z19(this.mz_1,t);return this.mz_1=t,i},Pu.prototype.r19=function(t,n){this.oz_1.ud(this.s19(),t,n)},Pu.prototype.a1a=function(t,n,e){t||this.b14(e(),n)},Pu.prototype.b15=function(t){var n=St(),e=this.i13();if(8!==e&&6!==e)return this.l13(),s();for(;;)if(1!==(e=this.i13())){var r=e;if(8===r||6===r)n.a(e);else if(9===r){if(8!==Je(n))throw Ro(this.mz_1,"found ] instead of }",this.s19());Ue(n)}else if(7===r){if(6!==Je(n))throw Ro(this.mz_1,"found } instead of ]",this.s19());Ue(n)}else 10===r&&this.a13("Unexpected end of input due to malformed JSON during ignoring unknown keys",0,2,null);if(this.n13(),0===n.f())return s()}else t?this.l13():this.c15()},Pu.prototype.toString=function(){return"JsonReader(source='"+this.s19()+"', currentPosition="+this.mz_1+")"},Pu.prototype.a15=function(t){var n=this.z19(0,this.mz_1),e=He(n,t,0,!1,6,null);this.b14("Encountered an unknown key '"+t+"'.\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.",e)},Pu.prototype.b14=function(t,n){throw Ro(n,t,this.s19())},Pu.prototype.a13=function(t,n,e,r){return 0!=(2&e)&&(n=this.mz_1),this.b14(t,n)},Pu.prototype.l15=function(){var t,n=this.y19();((n=this.t19(n))>=kt(this.s19())||-1===n)&&this.a13("EOF",0,2,null),y(new h(f(this.s19(),n)),new h(_(34)))?((n=n+1|0)===kt(this.s19())&&this.a13("EOF",0,2,null),t=!0):t=!1;var e,r=t,o=new Ve(0,0),i=!1,u=n,s=!0;t:for(;s;){var a=f(this.s19(),n);if(y(new h(a),new h(_(45))))n!==u&&this.a13("Unexpected symbol '-' in numeric literal",0,2,null),i=!0,n=n+1|0;else{if(0!==Tu(a))break t;s=!((n=n+1|0)===kt(this.s19()));var c=Ke(a,_(48));if(!(0<=c&&c<=9)){var p="Unexpected symbol '"+new h(a)+"' in numeric literal";this.a13(p,0,2,null)}(o=o.f5(new Ve(10,0)).h5(lt(c))).e5(new Ve(0,0))>0&&this.a13("Numeric value overflow",0,2,null)}}if((u===n||i&&u===(n-1|0))&&this.a13("Expected numeric literal",0,2,null),r&&(s||this.a13("EOF",0,2,null),y(new h(f(this.s19(),n)),new h(_(34)))||this.a13("Expected closing quotation mark",0,2,null),n=n+1|0),this.mz_1=n,i)e=o;else{var l=o;We(),l.equals(new Ve(0,-2147483648))?this.a13("Numeric value overflow",0,2,null):e=o.c5()}return e},Pu.prototype.j15=function(){return Eu(this,this.y19())},Pu.prototype.k15=function(){var t,n=this.y19();n===kt(this.s19())&&this.a13("EOF",0,2,null),y(new h(f(this.s19(),n)),new h(_(34)))?(n=n+1|0,t=!0):t=!1;var e=t,r=Eu(this,n);if(e){this.mz_1===kt(this.s19())&&this.a13("EOF",0,2,null),y(new h(f(this.s19(),this.mz_1)),new h(_(34)))||this.a13("Expected closing quotation mark",0,2,null);var o=this;o.mz_1=o.mz_1+1|0}return r},Pu.$metadata$=c("AbstractJsonLexer"),es.$metadata$=i("CharMappings"),us.prototype.s19=function(){return this.g1a_1},us.prototype.t19=function(t){return t<this.g1a_1.length?t:-1},us.prototype.n13=function(){for(var t=this.g1a_1;-1!==this.mz_1&&this.mz_1<t.length;){var n=this,e=n.mz_1;n.mz_1=e+1|0;var r=Tu(f(t,e));if(r!==Au())return r}return Nu()},us.prototype.x14=function(){var t=this.y19();if(t===this.g1a_1.length||-1===t)return!1;if(y(new h(f(this.g1a_1,t)),new h(_(44)))){var n=this;return n.mz_1=n.mz_1+1|0,!0}return!1},us.prototype.j13=function(){var t=this.mz_1;if(-1===t)return!1;for(;t<this.g1a_1.length;){var n=f(this.g1a_1,t);if(!(y(new h(n),new h(_(32)))||y(new h(n),new h(_(10)))||y(new h(n),new h(_(13)))||y(new h(n),new h(_(9)))))return this.mz_1=t,this.v19(n);t=t+1|0}return this.mz_1=t,!1},us.prototype.y19=function(){var t=this.mz_1;if(-1===t)return t;t:for(;t<this.g1a_1.length;){var n=f(this.g1a_1,t);if(!(y(new h(n),new h(_(32)))||y(new h(n),new h(_(10)))||y(new h(n),new h(_(13)))||y(new h(n),new h(_(9)))))break t;t=t+1|0}return this.mz_1=t,t},us.prototype.w14=function(t){-1===this.mz_1&&this.x19(t);for(var n=this.g1a_1;this.mz_1<n.length;){var e=this,r=e.mz_1;e.mz_1=r+1|0;var o=f(n,r);if(!(y(new h(o),new h(_(32)))||y(new h(o),new h(_(10)))||y(new h(o),new h(_(13)))||y(new h(o),new h(_(9))))){if(y(new h(o),new h(t)))return s();this.x19(t)}}this.x19(t)},us.prototype.c15=function(){this.w14(Iu());var t=this.mz_1,n=_(34),e=Xe(this.g1a_1,n,t,!1,4,null);-1===e&&this.w19(Bu());var r=t;if(r<e)do{var o=r;if(r=r+1|0,y(new h(f(this.g1a_1,o)),new h(Mu())))return this.consumeString2(this.g1a_1,this.mz_1,o)}while(r<e);return this.mz_1=e+1|0,this.g1a_1.substring(t,e)},us.$metadata$=c("StringJsonLexer",void 0,void 0,void 0,void 0,Pu.prototype),as.prototype.dt=function(t){this.dz_1.wd(t)},as.prototype.cs=function(t){this.dz_1.z4(t)},as.prototype.i12=function(t){this.dz_1.xd(t)},as.prototype.r12=function(t){Ri(this.dz_1,t)},as.prototype.toString=function(){return this.dz_1.toString()},as.prototype.ez=function(){},as.$metadata$=c("JsonStringBuilder"),yo.prototype.mh=ot,yo.prototype.ai=it,yo.prototype.yh=ut,pi.prototype.iy=Wn,wi.prototype.ak=te,wi.prototype.ck=ne,wi.prototype.yj=ee,$i.prototype.lj=pe,$i.prototype.yj=ee,$i.prototype.ak=te,$i.prototype.ck=ne,zi.prototype.el=he,zi.prototype.fl=_e,zi.prototype.dl=ye,Mi.prototype.yj=ee,Mi.prototype.ak=te,Mi.prototype.ck=ne,Hi.prototype.yj=ee,Hi.prototype.ak=te,Hi.prototype.ck=ne,Vi.prototype.yj=ee,Vi.prototype.ak=te,Vi.prototype.ck=ne,Ki.prototype.yj=ee,Ki.prototype.ak=te,Ki.prototype.ck=ne,Wi.prototype.yj=ee,Wi.prototype.ak=te,Wi.prototype.ck=ne,tu.prototype.fl=_e,tu.prototype.dl=ye,Yi.prototype.fl=_e,Yi.prototype.dl=ye,Zi.prototype.el=he,Zi.prototype.fl=_e,Zi.prototype.bl=Be,Zi.prototype.dl=ye,Zi.prototype.gl=Me,nu.prototype.fl=_e,nu.prototype.dl=ye,eu.prototype.fl=_e,eu.prototype.dl=ye,ou.prototype.fl=_e,ou.prototype.dl=ye,rn="primitive",pn=_(58),ln=_(0),fn=_(44),hn="null",_n=_(123),yn=_(125),dn=_(91),vn=_(93),gn=3,mn=10,bn=_(34),wn=1,$n=_(92),jn=4,kn="Use 'isLenient = true' in 'Json {}` builder to accept non-compliant JSON.",qn=5,Cn=6,zn=7,xn=8,Sn=9,On=0,En="Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.",Pn="It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'",Tn="Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.",t.$_$=t.$_$||{},t.$_$.a=rr,t.$_$.b=tr,t.$_$.c=br,t.$_$.d=Zr,t.$_$.e=Cr,t.$_$.f=hr,t.$_$.g=yr,t.$_$.h=Br,t.$_$.i=vr,t.$_$.j=kr,t.$_$.k=$r,t.$_$.l=jr,t.$_$.m=Ir,t.$_$.n=Ar,t.$_$.o=Lr,t.$_$.p=Mr}(b.exports,d(),u())),m}function $(){return g||(g=1,function(t,n,e,r,o){var i,u,s,a,c,p,l,f,h,_,y,d,v,g,m,b,w,$,j,k,q,C,z,x,S,O,E,R,P,T,A,N,I,B,M,L,F,D,J,U,H,V,K,W,G,X,Y,Z,Q,tt,nt,et,rt,ot,it,ut,st,at,ct,pt,lt,ft,ht,_t,yt,dt,vt,gt,mt,bt,wt,$t,jt,kt,qt,Ct,zt,xt,St,Ot,Et,Rt,Pt,Tt,At,Nt,It,Bt,Mt,Lt,Ft,Dt,Jt,Ut,Ht,Vt,Kt,Wt,Gt,Xt,Yt,Zt,Qt,tn,nn,en,rn,on,un,sn,an,cn,pn,ln,fn,hn,_n,yn,dn,vn,gn,mn,bn,wn,$n,jn,kn,qn,Cn,zn,xn,Sn,On,En,Rn,Pn,Tn,An,Nn,In,Bn,Mn,Ln,Fn,Dn,Jn,Un,Hn,Vn,Kn,Wn,Gn,Xn,Yn,Zn,Qn,te,ne,ee,re,oe,ie,ue,se,ae,ce,pe,le,fe,he,_e,ye,de,ve,ge,me,be,we,$e,je,ke,qe,Ce,ze,xe,Se,Oe,Ee,Re,Pe,Te,Ae,Ne,Ie,Be,Me,Le,Fe,De,Je,Ue,He,Ve,Ke,We,Ge,Xe,Ye,Ze,Qe,tr,nr,er,rr,or,ir,ur,sr,ar,cr,pr,lr,fr,hr,_r,yr,dr,vr,gr,mr,br,wr,$r,jr,kr,qr,Cr,zr,xr,Sr,Or,Er,Rr,Pr,Tr,Ar,Nr,Ir,Br,Mr,Lr,Fr,Dr,Jr,Ur,Hr,Vr,Kr,Wr,Gr,Xr,Yr,Zr,Qr,to,no,eo,ro,oo,io,uo,so,ao,co,po,lo,fo,ho,_o,yo,vo,go,mo,bo,wo,$o,jo,ko,qo,Co,zo,xo,So,Oo,Eo,Ro,Po,To,Ao,No,Io,Bo,Mo,Lo,Fo,Do,Jo,Uo,Ho,Vo,Ko,Wo,Go,Xo,Yo,Zo,Qo,ti,ni,ei,ri,oi,ii,ui,si=Math.imul,ai=n.$_$.q6,ci=n.$_$.v5,pi=n.$_$.s2,li=n.$_$.g8,fi=n.$_$.d6,hi=n.$_$.e1,_i=n.$_$.n5,yi=n.$_$.j4,di=e.$_$.f,vi=n.$_$.u6,gi=n.$_$.u5,mi=n.$_$.o5,bi=n.$_$.l2,wi=n.$_$.o8,$i=n.$_$.a,ji=r.$_$.a3,ki=r.$_$.t2,qi=n.$_$.d,Ci=n.$_$.t5,zi=r.$_$.k2,xi=r.$_$.t,Si=r.$_$.l2,Oi=r.$_$.g,Ei=r.$_$.f2,Ri=r.$_$.g2,Pi=r.$_$.o2,Ti=r.$_$.s,Ai=r.$_$.x,Ni=r.$_$.r,Ii=n.$_$.z8,Bi=n.$_$.q8,Mi=o.$_$.p,Li=o.$_$.o,Fi=n.$_$.y3,Di=o.$_$.i,Ji=o.$_$.h,Ui=n.$_$.a9,Hi=n.$_$.o4,Vi=n.$_$.g7,Ki=r.$_$.o,Wi=r.$_$.b2,Gi=n.$_$.d1,Xi=n.$_$.i5,Yi=n.$_$.b8,Zi=r.$_$.e2,Qi=r.$_$.m2,tu=o.$_$.d,nu=r.$_$.p,eu=n.$_$.r5,ru=o.$_$.f,ou=n.$_$.e8,iu=r.$_$.h2,uu=n.$_$.a8,su=o.$_$.m,au=o.$_$.n,cu=n.$_$.e3,pu=n.$_$.w8,lu=n.$_$.e,fu=n.$_$.u8,hu=r.$_$.d2,_u=n.$_$.h8,yu=n.$_$.g1,du=r.$_$.d,vu=r.$_$.u,gu=o.$_$.b,mu=n.$_$.k3,bu=n.$_$.m,wu=r.$_$.w2,$u=n.$_$.w,ju=n.$_$.e5,ku=n.$_$.p6,qu=e.$_$.h,Cu=n.$_$.f1,zu=e.$_$.g,xu=n.$_$.g3,Su=r.$_$.c,Ou=r.$_$.q,Eu=r.$_$.i,Ru=r.$_$.f1,Pu=n.$_$.m6,Tu=n.$_$.i7,Au=e.$_$.b,Nu=n.$_$.c,Iu=e.$_$.e,Bu=e.$_$.d,Mu=e.$_$.c,Lu=e.$_$.a,Fu=n.$_$.i,Du=n.$_$.n4,Ju=n.$_$.l5,Uu=n.$_$.f,Hu=o.$_$.a,Vu=n.$_$.o6,Ku=n.$_$.f5,Wu=n.$_$.l,Gu=n.$_$.r4,Xu=n.$_$.a4,Yu=n.$_$.n,Zu=n.$_$.c7,Qu=n.$_$.j1,ts=n.$_$.k,ns=n.$_$.j,es=o.$_$.c,rs=r.$_$.v2,os=o.$_$.g,is=n.$_$.c3,us=n.$_$.w5,ss=o.$_$.j,as=o.$_$.l,cs=o.$_$.k,ps=n.$_$.f6,ls=o.$_$.e,fs=n.$_$.m4,hs=n.$_$.v,_s=n.$_$.f8,ys=n.$_$.n1,ds=n.$_$.x7,vs=n.$_$.l4,gs=n.$_$.k2,ms=n.$_$.x6;function bs(t,n,e,r,o,i,u,s,a,c,p){var l;return 0!=(2&c)&&(n=null),0!=(4&c)&&(e=null),0!=(8&c)&&(r=null),0!=(16&c)&&(o=null),0!=(32&c)&&(i=null),0!=(64&c)&&(u=null),0!=(128&c)&&(s=null),null==p?(this.g1d(t,n,e,r,o,i,u,s,a),l=pi()):l=p(t,n,e,r,o,i,u,s,a),l}function ws(){return null}function $s(t,n){return""}function js(){return Fi()}function ks(t,n,e){}function qs(t,n){}function Cs(t,n,e,r){}function zs(){}function xs(t,n,e){}function Ss(t,n,e){}function Os(t,n,e){}function Es(t){}function Rs(){i=this,this.a1b_1="1.1.0"}function Ps(){return null==i&&new Rs,i}function Ts(){}function As(t,n){return t.s1b_1=new VR(n,t.v1b_1),t}function Ns(){this.q1b_1=null,this.r1b_1=null,this.s1b_1=null,this.t1b_1=null,this.u1b_1=PR(),this.v1b_1=TR(this.u1b_1,"platform"),this.w1b_1=TR(this.u1b_1,"api")}function Is(){}function Bs(t,n,e,r){var o=new mB;o.r1c(Ls(r,t,n,e));for(var i,u=TR(r,"reducer"),s=VN(u,null,2,null),a=AI(u,null,2,null),c=RN(u,null,2,null),p=fN(u,null,2,null),l=yi([s,a,c,p,gN(u,null,2,null)]),f=l.g();f.h();){var h=f.i();if(u.n1a_1.w1a().g4(di())<=0){var _,y=di(),d=u.m1a();_="STATE INIT: "+vi(h.u1c()),u.v1a(y,d,null,_)}}return i=l,o.v1c(i),o}function Ms(t,n,e,r,o,i,u,s,a,c){this.w1c_1=t,this.x1c_1=n,this.y1c_1=e,this.z1c_1=r,this.a1d_1=o,this.b1d_1=i,this.c1d_1=u,this.d1d_1=s,this.e1d_1=a,this.f1d_1=c}function Ls(t,n,e,r){return function(o){var i=TR(t,"middleware");return cB([BP(o,TR(t,"store")),TP(o,t),XA(o,TR(i,"ws")),NA(o,n,TR(i,"socket")),IT(o,e,TR(i,"http")),UA(o,n,TR(i,"ws-emit")),zP(o,TR(i,"callback")),null!=r?oA(o,r,TR(i,"media")):null])}}function Fs(){u=this,this.k1d_1=5e3,this.l1d_1=1e4,this.m1d_1=500,this.n1d_1=1e3,this.o1d_1="local_cancel",this.p1d_1="cancelled",this.q1d_1="ring_timer",this.r1d_1="timeout",this.s1d_1="remote_rejected",this.t1d_1="rejected",this.u1d_1="REMOTE_REJECT",this.v1d_1="call-rejected-by-callee",this.w1d_1="LOCAL_HANGUP",this.x1d_1="Call answered, terminated by FS, [Hangup-Cause=NORMAL_CLEARING]",this.y1d_1=200,this.z1d_1="LOCAL_CANCEL",this.a1e_1="Call cancelled, terminated by FS, [Hangup-Cause=NO_ANSWER]",this.b1e_1=487,this.c1e_1="RING_TIMER",this.d1e_1="Call cancelled before answer, after ring timeout, [Hangup-Cause=NORMAL_CLEARING]",this.e1e_1=487,this.f1e_1="REMOTE_REJECTED",this.g1e_1="Call cancelled, terminated by FS, [Hangup-Cause=CALL_REJECTED]",this.h1e_1=403,this.i1e_1="LOCAL_HANGUP",this.j1e_1="Call answered, terminated by FS, [Hangup-Cause=MEDIA_TIMEOUT]",this.k1e_1=200}function Ds(){return null==u&&new Fs,u}function Js(t,n){this.o1e_1=t,this.p1e_1=n}function Us(t,n){this.q1e_1=t,this.r1e_1=n,this.s1e_1=yT(this.q1e_1,null,2,null),this.t1e_1=GT()}function Hs(){s=this;var t=new zi("com.vonage.clientcore.core.actions.MetricsWsReconnectionTimeReq.MetricsWsReconnectionTimeBody",this,2);t.lq("sessionId",!1),t.lq("metrics",!1),this.z1e_1=t}function Vs(){return null==s&&new Hs,s}function Ks(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Vs().z1e_1),o.b1f_1=n,o.c1f_1=e,o}function Ws(t,n,e,r){return Ks(t,n,e,r,Object.create(ra.prototype))}function Gs(){a=this;var t=new zi("com.vonage.clientcore.core.actions.MetricsWsReconnectionTimeReq.MetricsBody",this,3);t.lq("name",!1),t.lq("time",!1),t.lq("attempt",!1),this.d1f_1=t}function Xs(){return null==a&&new Gs,a}function Ys(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,Xs().d1f_1),i.f1f_1=n,i.g1f_1=e,i.h1f_1=r,i}function Zs(t,n,e,r,o){return Ys(t,n,e,r,o,Object.create(oa.prototype))}function Qs(){c=this;var t=new zi("com.vonage.clientcore.core.actions.MetricsWsReconnectionTimeReq.Body",this,1);t.lq("body",!1),this.i1f_1=t}function ta(){return null==c&&new Qs,c}function na(t,n,e,r){return 1!=(1&t)&&Pi(t,1,ta().i1f_1),r.k1f_1=n,r}function ea(t,n,e){return na(t,n,e,Object.create(ia.prototype))}function ra(t,n){this.b1f_1=t,this.c1f_1=n}function oa(t,n,e){this.f1f_1=t,this.g1f_1=n,this.h1f_1=e}function ia(t){this.k1f_1=t}function ua(t,n,e,r){this.l1f_1=t,this.m1f_1=n,this.n1f_1=e,this.o1f_1=r,this.p1f_1=new TT("v2"),this.q1f_1=KT()}function sa(){p=this;var t=new zi("com.vonage.clientcore.core.actions.MetricsWsReconnectionTime",this,0);this.r1f_1=t}function aa(){return null==p&&new sa,p}function ca(t,n,e){return 0!=(0&t)&&Pi(t,0,aa().r1f_1),e}function pa(t,n){return ca(t,n,Object.create(la.prototype))}function la(){}function fa(t){this.t1f_1=t,this.u1f_1=sT(this.t1f_1,null,2,null),this.v1f_1=VT()}function ha(){l=this;var t=new zi("com.vonage.clientcore.core.actions.GetLeg",this,9);t.lq("id",!1),t.lq("conversation_id",!1),t.lq("status",!1),t.lq("start_time",!1),t.lq("end_time",!1),t.lq("direction",!1),t.lq("type",!1),t.lq("from",!1),t.lq("to",!1),this.w1f_1=t}function _a(){return null==l&&new ha,l}function ya(t,n,e,r,o,i,u,s,a,c,p,l){return 511!=(511&t)&&Pi(t,511,_a().w1f_1),l.y1f_1=n,l.z1f_1=e,l.a1g_1=r,l.b1g_1=o,l.c1g_1=i,l.d1g_1=u,l.e1g_1=s,l.f1g_1=a,l.g1g_1=c,l}function da(t,n,e,r,o,i,u,s,a,c,p){return ya(t,n,e,r,o,i,u,s,a,c,p,Object.create(va.prototype))}function va(t,n,e,r,o,i,u,s,a){this.y1f_1=t,this.z1f_1=n,this.a1g_1=e,this.b1g_1=r,this.c1g_1=o,this.d1g_1=i,this.e1g_1=u,this.f1g_1=s,this.g1g_1=a}function ga(t,n){var e,r,o,i,u,s=t;return s instanceof KO?(e=jE().d4_1.toLowerCase(),Mi(n,"type",e),Mi(n,"user",t.p1g_1)):s instanceof GO?(r=jE().d4_1.toLowerCase(),Mi(n,"type",r)):s instanceof MO?(o=kE().d4_1.toLowerCase(),Mi(n,"type",o),Mi(n,"number",t.n1g_1)):s instanceof pE?(i=kE().d4_1.toLowerCase(),Mi(n,"type",i),Mi(n,"uri",t.l1g_1)):s instanceof rE&&(u=kE().d4_1.toLowerCase(),Mi(n,"type",u),Mi(n,"uri",t.h1g_1)),pi()}function ma(t,n){return function(e){return t(n.s1g_1,e),pi()}}function ba(t,n){return function(e){return t(n.r1g_1,e),pi()}}function wa(t,n){return function(e){return Mi(e,"type",jE().d4_1),Li(e,"to",ma(n,t)),Li(e,"from",ba(n,t)),Mi(e,"id",t.t1g_1),pi()}}function $a(t){return function(n){var e,r,o=t.u1g_1,i=null==o?null:$B(o);return null==i?(r=Fi(),e=new Di(r)):e=i,n.i11("custom_data",e),pi()}}function ja(t,n,e,r){this.r1g_1=t,this.s1g_1=n,this.t1g_1=e,this.u1g_1=r,this.v1g_1=cT(null,1,null),this.w1g_1=KT()}function ka(t,n,e,r,o,i,u){return 0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Ca.call(u,t,n,e,r),u}function qa(t,n,e,r,o,i){return ka(t,n,e,r,o,i,Object.create(Ca.prototype))}function Ca(t,n,e,r){this.a1h_1=t,this.b1h_1=n,this.c1h_1=e,this.d1h_1=r,this.e1h_1=WT(),this.f1h_1=new wT(this.a1h_1,this.b1h_1,"v0.2")}function za(t,n,e,r){return 0!=(1&n)&&(t="app"),Ma.call(r,t),r}function xa(t,n,e){return za(t,n,e,Object.create(Ma.prototype))}function Sa(){f=this;var t=new zi("com.vonage.clientcore.core.actions.MemberJoinRequest.MemberJoinChannel",this,1);t.lq("type",!0),this.g1h_1=t}function Oa(){return null==f&&new Sa,f}function Ea(t,n,e,r){return 0!=(0&t)&&Pi(t,0,Oa().g1h_1),r.i1h_1=0==(1&t)?"app":n,r}function Ra(t,n,e){return Ea(t,n,e,Object.create(Ma.prototype))}function Pa(t,n,e,r,o,i){return 0!=(4&r)&&(e="joined"),La.call(i,t,n,e),i}function Ta(t,n,e,r,o){return Pa(t,n,e,r,o,Object.create(La.prototype))}function Aa(){h=this;var t=new zi("com.vonage.clientcore.core.actions.MemberJoinRequest.Body",this,3);t.lq("originating_session",!1),t.lq("channel",!1),t.lq("state",!0),this.j1h_1=t}function Na(){return null==h&&new Aa,h}function Ia(t,n,e,r,o,i){return 3!=(3&t)&&Pi(t,3,Na().j1h_1),i.k1h_1=n,i.l1h_1=e,i.m1h_1=0==(4&t)?"joined":r,i}function Ba(t,n,e,r,o){return Ia(t,n,e,r,o,Object.create(La.prototype))}function Ma(t){this.i1h_1=t}function La(t,n,e){this.k1h_1=t,this.l1h_1=n,this.m1h_1=e}function Fa(t,n){this.n1h_1=t,this.o1h_1=n,this.p1h_1=GP(this.n1h_1,this.o1h_1,null,4,null),this.q1h_1=GT()}function Da(t){this.t1h_1=t,this.u1h_1=Vi(this.t1h_1,"knocker:"),this.v1h_1=lT(this.u1h_1,null,2,null),this.w1h_1=WT()}function Ja(){_=this;var t=new zi("com.vonage.clientcore.core.actions.LegMuteRequest.LegMuteBody",this,1);t.lq("rtc_id",!1),this.x1h_1=t}function Ua(){return null==_&&new Ja,_}function Ha(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Ua().x1h_1),r.z1h_1=n,r}function Va(t,n,e){return Ha(t,n,e,Object.create(Ya.prototype))}function Ka(){y=this;var t=new zi("com.vonage.clientcore.core.actions.LegMuteRequest.Body",this,5);t.lq("type",!1),t.lq("from",!1),t.lq("to",!1),t.lq("originating_session",!1),t.lq("body",!1),this.a1i_1=t}function Wa(){return null==y&&new Ka,y}function Ga(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,Wa().a1i_1),s.b1i_1=n,s.c1i_1=e,s.d1i_1=r,s.e1i_1=o,s.f1i_1=i,s}function Xa(t,n,e,r,o,i,u){return Ga(t,n,e,r,o,i,u,Object.create(Za.prototype))}function Ya(t){this.z1h_1=t}function Za(t,n,e,r,o){this.b1i_1=t,this.c1i_1=n,this.d1i_1=e,this.e1i_1=r,this.f1i_1=o}function Qa(t,n,e){this.g1i_1=t,this.h1i_1=n,this.i1i_1=e,this.j1i_1=nT(this.g1i_1,null,2,null),this.k1i_1=KT()}function tc(){d=this;var t=new zi("com.vonage.clientcore.core.actions.LegUnmuteRequest.LegUnmuteBody",this,1);t.lq("rtc_id",!1),this.l1i_1=t}function nc(){return null==d&&new tc,d}function ec(t,n,e,r){return 1!=(1&t)&&Pi(t,1,nc().l1i_1),r.n1i_1=n,r}function rc(t,n,e){return ec(t,n,e,Object.create(ac.prototype))}function oc(){v=this;var t=new zi("com.vonage.clientcore.core.actions.LegUnmuteRequest.Body",this,5);t.lq("type",!1),t.lq("from",!1),t.lq("to",!1),t.lq("originating_session",!1),t.lq("body",!1),this.o1i_1=t}function ic(){return null==v&&new oc,v}function uc(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,ic().o1i_1),s.p1i_1=n,s.q1i_1=e,s.r1i_1=r,s.s1i_1=o,s.t1i_1=i,s}function sc(t,n,e,r,o,i,u){return uc(t,n,e,r,o,i,u,Object.create(cc.prototype))}function ac(t){this.n1i_1=t}function cc(t,n,e,r,o){this.p1i_1=t,this.q1i_1=n,this.r1i_1=e,this.s1i_1=r,this.t1i_1=o}function pc(t,n,e){this.u1i_1=t,this.v1i_1=n,this.w1i_1=e,this.x1i_1=nT(this.u1i_1,null,2,null),this.y1i_1=KT()}function lc(){g=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffEnableRequest.LegEarmuffEnableBody",this,1);t.lq("rtc_id",!1),this.z1i_1=t}function fc(){return null==g&&new lc,g}function hc(t,n,e,r){return 1!=(1&t)&&Pi(t,1,fc().z1i_1),r.b1j_1=n,r}function _c(t,n,e){return hc(t,n,e,Object.create(mc.prototype))}function yc(){m=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffEnableRequest.Body",this,5);t.lq("type",!1),t.lq("from",!1),t.lq("to",!1),t.lq("originating_session",!1),t.lq("body",!1),this.c1j_1=t}function dc(){return null==m&&new yc,m}function vc(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,dc().c1j_1),s.d1j_1=n,s.e1j_1=e,s.f1j_1=r,s.g1j_1=o,s.h1j_1=i,s}function gc(t,n,e,r,o,i,u){return vc(t,n,e,r,o,i,u,Object.create(bc.prototype))}function mc(t){this.b1j_1=t}function bc(t,n,e,r,o){this.d1j_1=t,this.e1j_1=n,this.f1j_1=e,this.g1j_1=r,this.h1j_1=o}function wc(t,n,e){this.i1j_1=t,this.j1j_1=n,this.k1j_1=e,this.l1j_1=nT(this.i1j_1,null,2,null),this.m1j_1=KT()}function $c(){b=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffDisableRequest.LegEarmuffDisableBody",this,1);t.lq("rtc_id",!1),this.n1j_1=t}function jc(){return null==b&&new $c,b}function kc(t,n,e,r){return 1!=(1&t)&&Pi(t,1,jc().n1j_1),r.p1j_1=n,r}function qc(t,n,e){return kc(t,n,e,Object.create(Oc.prototype))}function Cc(){w=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffDisableRequest.Body",this,5);t.lq("type",!1),t.lq("from",!1),t.lq("to",!1),t.lq("originating_session",!1),t.lq("body",!1),this.q1j_1=t}function zc(){return null==w&&new Cc,w}function xc(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,zc().q1j_1),s.r1j_1=n,s.s1j_1=e,s.t1j_1=r,s.u1j_1=o,s.v1j_1=i,s}function Sc(t,n,e,r,o,i,u){return xc(t,n,e,r,o,i,u,Object.create(Ec.prototype))}function Oc(t){this.p1j_1=t}function Ec(t,n,e,r,o){this.r1j_1=t,this.s1j_1=n,this.t1j_1=e,this.u1j_1=r,this.v1j_1=o}function Rc(t,n,e){this.w1j_1=t,this.x1j_1=n,this.y1j_1=e,this.z1j_1=nT(this.w1j_1,null,2,null),this.a1k_1=KT()}function Pc(){$=this;var t=new zi("com.vonage.clientcore.core.actions.LegDTMFRequest.LegDTMFBody",this,2);t.lq("digit",!1),t.lq("channel",!1),this.b1k_1=t}function Tc(){return null==$&&new Pc,$}function Ac(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Tc().b1k_1),o.d1k_1=n,o.e1k_1=e,o}function Nc(t,n,e,r){return Ac(t,n,e,r,Object.create(Fc.prototype))}function Ic(){j=this;var t=new zi("com.vonage.clientcore.core.actions.LegDTMFRequest.Body",this,4);t.lq("type",!1),t.lq("from",!1),t.lq("originating_session",!1),t.lq("body",!1),this.f1k_1=t}function Bc(){return null==j&&new Ic,j}function Mc(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,Bc().f1k_1),u.g1k_1=n,u.h1k_1=e,u.i1k_1=r,u.j1k_1=o,u}function Lc(t,n,e,r,o,i){return Mc(t,n,e,r,o,i,Object.create(Dc.prototype))}function Fc(t,n){this.d1k_1=t,this.e1k_1=n}function Dc(t,n,e,r){this.g1k_1=t,this.h1k_1=n,this.i1k_1=e,this.j1k_1=r}function Jc(t,n,e,r){this.k1k_1=t,this.l1k_1=n,this.m1k_1=e,this.n1k_1=r,this.o1k_1=nT(this.k1k_1,null,2,null),this.p1k_1=KT()}function Uc(){k=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayRequest.AudioSayBody",this,6);t.lq("text",!1),t.lq("level",!1),t.lq("loop",!1),t.lq("queue",!1),t.lq("voice_name",!1),t.lq("ssml",!1),this.q1k_1=t}function Hc(){return null==k&&new Uc,k}function Vc(t,n,e,r,o,i,u,s,a){return 63!=(63&t)&&Pi(t,63,Hc().q1k_1),a.s1k_1=n,a.t1k_1=e,a.u1k_1=r,a.v1k_1=o,a.w1k_1=i,a.x1k_1=u,a}function Kc(t,n,e,r,o,i,u,s){return Vc(t,n,e,r,o,i,u,s,Object.create(Zc.prototype))}function Wc(){q=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayRequest.Body",this,4);t.lq("type",!1),t.lq("from",!1),t.lq("originating_session",!1),t.lq("body",!1),this.y1k_1=t}function Gc(){return null==q&&new Wc,q}function Xc(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,Gc().y1k_1),u.z1k_1=n,u.a1l_1=e,u.b1l_1=r,u.c1l_1=o,u}function Yc(t,n,e,r,o,i){return Xc(t,n,e,r,o,i,Object.create(Qc.prototype))}function Zc(t,n,e,r,o,i){this.s1k_1=t,this.t1k_1=n,this.u1k_1=e,this.v1k_1=r,this.w1k_1=o,this.x1k_1=i}function Qc(t,n,e,r){this.z1k_1=t,this.a1l_1=n,this.b1l_1=e,this.c1l_1=r}function tp(t,n,e,r,o,i,u,s){this.d1l_1=t,this.e1l_1=n,this.f1l_1=e,this.g1l_1=r,this.h1l_1=o,this.i1l_1=i,this.j1l_1=u,this.k1l_1=s,this.l1l_1=nT(this.d1l_1,null,2,null),this.m1l_1=KT()}function np(t){this.n1l_1=t,this.o1l_1=QP(this.n1l_1,null,2,null),this.p1l_1=VT()}function ep(){C=this;var t=new zi("com.vonage.clientcore.core.actions.CSError.InvalidParameter",this,2);t.lq("name",!1),t.lq("reason",!1),this.q1l_1=t}function rp(){return null==C&&new ep,C}function op(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,rp().q1l_1),o.s1l_1=n,o.t1l_1=e,o}function ip(t,n,e,r){return op(t,n,e,r,Object.create(up.prototype))}function up(){}function sp(){z=this}function ap(){return null==z&&new sp,z}function cp(){x=this;var t=new zi("com.vonage.clientcore.core.actions.CSError",this,6);t.lq("title",!0),t.lq("type",!0),t.lq("code",!0),t.lq("detail",!0),t.lq("instance",!0),t.lq("invalid_parameters",!0),this.u1l_1=t}function pp(){return null==x&&new cp,x}function lp(t,n,e,r,o,i,u,s,a){return 0!=(0&t)&&Pi(t,0,pp().u1l_1),Gi(a),a.w1l_1=0==(1&t)?"":n,a.x1l_1=0==(2&t)?"":e,a.y1l_1=0==(4&t)?"":r,a.z1l_1=0==(8&t)?"":o,a.a1m_1=0==(16&t)?"":i,a.b1m_1=0==(32&t)?null:u,a}function fp(t,n,e,r,o,i,u,s){var a=lp(t,n,e,r,o,i,u,s,Object.create(hp.prototype));return Xi(a,fp),a}function hp(){}function _p(t){this.c1m_1=t,this.d1m_1=iT(this.c1m_1,null,2,null),this.e1m_1=VT()}function yp(){S=this;var t=new zi("com.vonage.clientcore.core.actions.GetMember.EmbeddedUser",this,1);t.lq("user",!1),this.f1m_1=t}function dp(){return null==S&&new yp,S}function vp(t,n,e,r){return 1!=(1&t)&&Pi(t,1,dp().f1m_1),r.h1m_1=n,r}function gp(t,n,e){return vp(t,n,e,Object.create(mp.prototype))}function mp(){}function bp(){O=this;var t=new zi("com.vonage.clientcore.core.actions.GetMember",this,5);t.lq("id",!1),t.lq("state",!1),t.lq("_embedded",!0),t.lq("channel",!0),t.lq("timestamp",!0),this.j1m_1=t}function wp(){return null==O&&new bp,O}function $p(t,n,e,r,o,i,u,s){return 3!=(3&t)&&Pi(t,3,wp().j1m_1),s.l1m_1=n,s.m1m_1=e,s.n1m_1=0==(4&t)?null:r,s.o1m_1=0==(8&t)?null:o,s.p1m_1=0==(16&t)?null:i,s}function jp(t,n,e,r,o,i,u){return $p(t,n,e,r,o,i,u,Object.create(kp.prototype))}function kp(t,n,e,r,o){this.l1m_1=t,this.m1m_1=n,this.n1m_1=e,this.o1m_1=r,this.p1m_1=o}function qp(){E=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationCreateRequest.Body",this,2);t.lq("name",!1),t.lq("display_name",!1),this.s1m_1=t}function Cp(){return null==E&&new qp,E}function zp(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Cp().s1m_1),o.t1m_1=n,o.u1m_1=e,o}function xp(t,n,e,r){return zp(t,n,e,r,Object.create(Sp.prototype))}function Sp(t,n){this.t1m_1=t,this.u1m_1=n}function Op(t,n){this.v1m_1=t,this.w1m_1=n,this.x1m_1=YP(null,1,null),this.y1m_1=KT()}function Ep(){R=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationCreate",this,4);t.lq("id",!1),t.lq("name",!1),t.lq("state",!1),t.lq("display_name",!0),this.z1m_1=t}function Rp(){return null==R&&new Ep,R}function Pp(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Rp().z1m_1),u.b1n_1=n,u.c1n_1=e,u.d1n_1=r,u.e1n_1=0==(8&t)?null:o,u}function Tp(t,n,e,r,o,i){return Pp(t,n,e,r,o,i,Object.create(Ap.prototype))}function Ap(t,n,e,r){this.b1n_1=t,this.c1n_1=n,this.d1n_1=e,this.e1n_1=r}function Np(t,n,e,r){return 0!=(1&n)&&(t="app"),Zp.call(r,t),r}function Ip(t,n,e){return Np(t,n,e,Object.create(Zp.prototype))}function Bp(){P=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationJoinRequest.MemberJoinChannel",this,1);t.lq("type",!0),this.f1n_1=t}function Mp(){return null==P&&new Bp,P}function Lp(t,n,e,r){return 0!=(0&t)&&Pi(t,0,Mp().f1n_1),r.g1n_1=0==(1&t)?"app":n,r}function Fp(t,n,e){return Lp(t,n,e,Object.create(Zp.prototype))}function Dp(){T=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationJoinRequest.JoinUser",this,2);t.lq("id",!1),t.lq("name",!1),this.h1n_1=t}function Jp(){return null==T&&new Dp,T}function Up(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Jp().h1n_1),o.j1n_1=n,o.k1n_1=e,o}function Hp(t,n,e,r){return Up(t,n,e,r,Object.create(Qp.prototype))}function Vp(t,n,e,r,o,i,u){return 0!=(8&o)&&(r="joined"),tl.call(u,t,n,e,r),u}function Kp(t,n,e,r,o,i){return Vp(t,n,e,r,o,i,Object.create(tl.prototype))}function Wp(){A=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationJoinRequest.Body",this,4);t.lq("originating_session",!1),t.lq("channel",!1),t.lq("user",!1),t.lq("state",!0),this.l1n_1=t}function Gp(){return null==A&&new Wp,A}function Xp(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Gp().l1n_1),u.m1n_1=n,u.n1n_1=e,u.o1n_1=r,u.p1n_1=0==(8&t)?"joined":o,u}function Yp(t,n,e,r,o,i){return Xp(t,n,e,r,o,i,Object.create(tl.prototype))}function Zp(t){this.g1n_1=t}function Qp(t,n){this.j1n_1=t,this.k1n_1=n}function tl(t,n,e,r){this.m1n_1=t,this.n1n_1=n,this.o1n_1=e,this.p1n_1=r}function nl(t,n,e){this.q1n_1=t,this.r1n_1=n,this.s1n_1=e,this.t1n_1=KP(this.q1n_1,null,2,null),this.u1n_1=KT()}function el(){N=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationJoin",this,1);t.lq("id",!1),this.v1n_1=t}function rl(){return null==N&&new el,N}function ol(t,n,e,r){return 1!=(1&t)&&Pi(t,1,rl().v1n_1),r.x1n_1=n,r}function il(t,n,e){return ol(t,n,e,Object.create(ul.prototype))}function ul(t){this.x1n_1=t}function sl(t,n,e,r){return 0!=(1&n)&&(t="app"),El.call(r,t),r}function al(t,n,e){return sl(t,n,e,Object.create(El.prototype))}function cl(){I=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInviteRequest.ConversationInviteTo",this,1);t.lq("type",!0),this.y1n_1=t}function pl(){return null==I&&new cl,I}function ll(t,n,e,r){return 0!=(0&t)&&Pi(t,0,pl().y1n_1),r.a1o_1=0==(1&t)?"app":n,r}function fl(t,n,e){return ll(t,n,e,Object.create(El.prototype))}function hl(t,n,e,r){return 0!=(1&n)&&(t="app"),Rl.call(r,t),r}function _l(t,n,e){return hl(t,n,e,Object.create(Rl.prototype))}function yl(){B=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInviteRequest.ConversationInviteFrom",this,1);t.lq("type",!0),this.b1o_1=t}function dl(){return null==B&&new yl,B}function vl(t,n,e,r){return 0!=(0&t)&&Pi(t,0,dl().b1o_1),r.d1o_1=0==(1&t)?"app":n,r}function gl(t,n,e){return vl(t,n,e,Object.create(Rl.prototype))}function ml(){M=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInviteRequest.ConversationInviteChannel",this,3);t.lq("type",!0),t.lq("from",!1),t.lq("to",!1),this.e1o_1=t}function bl(){return null==M&&new ml,M}function wl(t,n,e,r,o,i){return 6!=(6&t)&&Pi(t,6,bl().e1o_1),i.g1o_1=0==(1&t)?"app":n,i.h1o_1=e,i.i1o_1=r,i}function $l(t,n,e,r,o){return wl(t,n,e,r,o,Object.create(Pl.prototype))}function jl(){L=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInviteRequest.ConversationInviteUser",this,1);t.lq("name",!1),this.j1o_1=t}function kl(){return null==L&&new jl,L}function ql(t,n,e,r){return 1!=(1&t)&&Pi(t,1,kl().j1o_1),r.l1o_1=n,r}function Cl(t,n,e){return ql(t,n,e,Object.create(Tl.prototype))}function zl(){F=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInviteRequest.Body",this,4);t.lq("originating_session",!1),t.lq("state",!1),t.lq("user",!1),t.lq("channel",!1),this.m1o_1=t}function xl(){return null==F&&new zl,F}function Sl(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,xl().m1o_1),u.n1o_1=n,u.o1o_1=e,u.p1o_1=r,u.q1o_1=o,u}function Ol(t,n,e,r,o,i){return Sl(t,n,e,r,o,i,Object.create(Al.prototype))}function El(t){this.a1o_1=t}function Rl(t){this.d1o_1=t}function Pl(t,n,e){this.g1o_1=t,this.h1o_1=n,this.i1o_1=e}function Tl(t){this.l1o_1=t}function Al(t,n,e,r){this.n1o_1=t,this.o1o_1=n,this.p1o_1=e,this.q1o_1=r}function Nl(t,n){this.r1o_1=t,this.s1o_1=n,this.t1o_1=KP(this.r1o_1,null,2,null),this.u1o_1=KT()}function Il(){D=this;var t=new zi("com.vonage.clientcore.core.actions.ConversationInvite",this,1);t.lq("id",!1),this.v1o_1=t}function Bl(){return null==D&&new Il,D}function Ml(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Bl().v1o_1),r.x1o_1=n,r}function Ll(t,n,e){return Ml(t,n,e,Object.create(Fl.prototype))}function Fl(t){this.x1o_1=t}function Dl(t,n){this.y1o_1=t,this.z1o_1=n}function Jl(t){this.a1p_1=t,this.b1p_1=QP(this.a1p_1,null,2,null),this.c1p_1=WT()}function Ul(t){this.d1p_1=t}function Hl(t,n,e,r){this.e1p_1=t,this.f1p_1=n,this.g1p_1=e,this.h1p_1=r,this.i1p_1=JP(this.e1p_1,null,2,null),this.j1p_1=VT()}function Vl(){J=this;var t=new zi("com.vonage.clientcore.core.actions.GetUserConversations.UserConversationsEmbedded",this,1);t.lq("conversations",!1),this.k1p_1=t}function Kl(){return null==J&&new Vl,J}function Wl(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Kl().k1p_1),r.m1p_1=n,r}function Gl(t,n,e){return Wl(t,n,e,Object.create(Xl.prototype))}function Xl(){}function Yl(){U=this;var t=new zi("com.vonage.clientcore.core.actions.GetUserConversations",this,2);t.lq("_embedded",!1),t.lq("_links",!1),this.n1p_1=t}function Zl(){return null==U&&new Yl,U}function Ql(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Zl().n1p_1),o.p1p_1=n,o.q1p_1=e,o}function tf(t,n,e,r){return Ql(t,n,e,r,Object.create(nf.prototype))}function nf(t,n){this.p1p_1=t,this.q1p_1=n}function ef(){H=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversation.EmbeddedMember",this,1);t.lq("member",!1),this.r1p_1=t}function rf(){return null==H&&new ef,H}function of(t,n,e,r){return 1!=(1&t)&&Pi(t,1,rf().r1p_1),r.t1p_1=n,r}function uf(t,n,e){return of(t,n,e,Object.create(sf.prototype))}function sf(){}function af(){V=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversation",this,8);t.lq("id",!1),t.lq("name",!1),t.lq("timestamp",!1),t.lq("display_name",!0),t.lq("state",!0),t.lq("image_url",!0),t.lq("_embedded",!0),t.lq("properties",!0),this.v1p_1=t}function cf(){return null==V&&new af,V}function pf(t,n,e,r,o,i,u,s,a,c,p){return 7!=(7&t)&&Pi(t,7,cf().v1p_1),p.x1p_1=n,p.y1p_1=e,p.z1p_1=r,p.a1q_1=0==(8&t)?null:o,p.b1q_1=0==(16&t)?null:i,p.c1q_1=0==(32&t)?null:u,p.d1q_1=0==(64&t)?null:s,p.e1q_1=0==(128&t)?null:a,p}function lf(t,n,e,r,o,i,u,s,a,c){return pf(t,n,e,r,o,i,u,s,a,c,Object.create(ff.prototype))}function ff(t,n,e,r,o,i,u,s){this.x1p_1=t,this.y1p_1=n,this.z1p_1=e,this.a1q_1=r,this.b1q_1=o,this.c1q_1=i,this.d1q_1=u,this.e1q_1=s}function hf(){K=this;var t=new zi("com.vonage.clientcore.core.actions.PageNavigationLinks.PageNavigationLink",this,1);t.lq("href",!1),this.i1q_1=t}function _f(){return null==K&&new hf,K}function yf(t,n,e,r){return 1!=(1&t)&&Pi(t,1,_f().i1q_1),r.k1q_1=n,r}function df(t,n,e){return yf(t,n,e,Object.create(vf.prototype))}function vf(){}function gf(){W=this;var t=new zi("com.vonage.clientcore.core.actions.PageNavigationLinks",this,2);t.lq("next",!0),t.lq("prev",!0),this.l1q_1=t}function mf(){return null==W&&new gf,W}function bf(t,n,e,r,o){return 0!=(0&t)&&Pi(t,0,mf().l1q_1),o.n1q_1=0==(1&t)?null:n,o.o1q_1=0==(2&t)?null:e,o}function wf(t,n,e,r){return bf(t,n,e,r,Object.create($f.prototype))}function $f(){}function jf(t,n,e,r){this.p1q_1=t,this.q1q_1=n,this.r1q_1=e,this.s1q_1=r,this.t1q_1=KP(this.p1q_1,null,2,null),this.u1q_1=VT()}function kf(){G=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversationMembers.ConversationMembersEmbedded",this,1);t.lq("members",!1),this.v1q_1=t}function qf(){return null==G&&new kf,G}function Cf(t,n,e,r){return 1!=(1&t)&&Pi(t,1,qf().v1q_1),r.x1q_1=n,r}function zf(t,n,e){return Cf(t,n,e,Object.create(xf.prototype))}function xf(){}function Sf(){X=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversationMembers",this,2);t.lq("_embedded",!1),t.lq("_links",!1),this.y1q_1=t}function Of(){return null==X&&new Sf,X}function Ef(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Of().y1q_1),o.a1r_1=n,o.b1r_1=e,o}function Rf(t,n,e,r){return Ef(t,n,e,r,Object.create(Pf.prototype))}function Pf(t,n){this.a1r_1=t,this.b1r_1=n}function Tf(){Y=this;var t=new zi("com.vonage.clientcore.core.actions.GetUser",this,7);t.lq("id",!1),t.lq("name",!1),t.lq("display_name",!0),t.lq("channels",!0),t.lq("timestamp",!0),t.lq("image_url",!0),t.lq("properties",!0),this.c1r_1=t}function Af(){return null==Y&&new Tf,Y}function Nf(t,n,e,r,o,i,u,s,a,c){return 3!=(3&t)&&Pi(t,3,Af().c1r_1),c.e1r_1=n,c.f1r_1=e,c.g1r_1=0==(4&t)?null:r,c.h1r_1=0==(8&t)?null:o,c.i1r_1=0==(16&t)?null:i,c.j1r_1=0==(32&t)?null:u,c.k1r_1=0==(64&t)?null:s,c}function If(t,n,e,r,o,i,u,s,a){return Nf(t,n,e,r,o,i,u,s,a,Object.create(Bf.prototype))}function Bf(t,n,e,r,o,i,u){this.e1r_1=t,this.f1r_1=n,this.g1r_1=e,this.h1r_1=r,this.i1r_1=o,this.j1r_1=i,this.k1r_1=u}function Mf(t,n,e,r){this.n1r_1=t,this.o1r_1=n,this.p1r_1=e,this.q1r_1=r,this.r1r_1=nT(this.n1r_1,null,2,null),this.s1r_1=VT()}function Lf(){Z=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversationEvents.ConversationEventsEmbedded",this,1);t.lq("events",!1),this.t1r_1=t}function Ff(){return null==Z&&new Lf,Z}function Df(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Ff().t1r_1),r.v1r_1=n,r}function Jf(t,n,e){return Df(t,n,e,Object.create(Uf.prototype))}function Uf(){}function Hf(){Q=this;var t=new zi("com.vonage.clientcore.core.actions.GetConversationEvents",this,2);t.lq("_embedded",!1),t.lq("_links",!1),this.w1r_1=t}function Vf(){return null==Q&&new Hf,Q}function Kf(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Vf().w1r_1),o.y1r_1=n,o.z1r_1=e,o}function Wf(t,n,e,r){return Kf(t,n,e,r,Object.create(Gf.prototype))}function Gf(t,n){this.y1r_1=t,this.z1r_1=n}function Xf(t,n){this.a1s_1=t,this.b1s_1=n,this.c1s_1=GP(this.a1s_1,this.b1s_1,null,4,null),this.d1s_1=VT()}function Yf(){}function Zf(){tt=this;var t=new zi("com.vonage.clientcore.core.actions.PostConversationEventRequest.PostedEvent",this,4);t.lq("cid",!1),t.lq("from",!1),t.lq("type",!1),t.lq("body",!1),this.e1s_1=t}function Qf(){return null==tt&&new Zf,tt}function th(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,Qf().e1s_1),u.g1s_1=n,u.h1s_1=e,u.i1s_1=r,u.j1s_1=o,u}function nh(t,n,e,r,o,i){return th(t,n,e,r,o,i,Object.create(eh.prototype))}function eh(t,n,e,r){this.g1s_1=t,this.h1s_1=n,this.i1s_1=e,this.j1s_1=r}function rh(t,n,e,r){this.k1s_1=t,this.l1s_1=n,this.m1s_1=e,this.n1s_1=r,this.o1s_1=nT(this.k1s_1,null,2,null),this.p1s_1=KT()}function oh(){nt=this;var t=new zi("com.vonage.clientcore.core.actions.PostConversationEvent",this,1);t.lq("timestamp",!1),this.t1s_1=t}function ih(){return null==nt&&new oh,nt}function uh(t,n,e,r){return 1!=(1&t)&&Pi(t,1,ih().t1s_1),r.v1s_1=n,r}function sh(t,n,e){return uh(t,n,e,Object.create(ah.prototype))}function ah(t){this.v1s_1=t}function ch(){et=this;var t=new zi("com.vonage.clientcore.core.actions.FromUser",this,5);t.lq("id",!1),t.lq("name",!1),t.lq("display_name",!0),t.lq("image_url",!0),t.lq("custom_data",!0),this.w1s_1=t}function ph(){return null==et&&new ch,et}function lh(t,n,e,r,o,i,u,s){return 3!=(3&t)&&Pi(t,3,ph().w1s_1),s.y1s_1=n,s.z1s_1=e,s.a1t_1=0==(4&t)?null:r,s.b1t_1=0==(8&t)?null:o,s.c1t_1=0==(16&t)?null:i,s}function fh(t,n,e,r,o,i,u){return lh(t,n,e,r,o,i,u,Object.create(hh.prototype))}function hh(){}function _h(){rt=this;var t=new zi("com.vonage.clientcore.core.actions.Embedded",this,2);t.lq("from_member",!1),t.lq("from_user",!1),this.d1t_1=t}function yh(){return null==rt&&new _h,rt}function dh(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,yh().d1t_1),o.f1t_1=n,o.g1t_1=e,o}function vh(t,n,e,r){return dh(t,n,e,r,Object.create(gh.prototype))}function gh(){}function mh(){ot=this;var t=new zi("com.vonage.clientcore.core.actions.Properties",this,1);t.lq("custom_data",!0),this.h1t_1=t}function bh(){return null==ot&&new mh,ot}function wh(t,n,e,r){return 0!=(0&t)&&Pi(t,0,bh().h1t_1),r.m1r_1=0==(1&t)?null:n,r}function $h(t,n,e){return wh(t,n,e,Object.create(jh.prototype))}function jh(){}function kh(t){this.j1t_1=t,this.k1t_1=HP(this.j1t_1,null,2,null),this.l1t_1=VT()}function qh(){}function Ch(){it=this;var t=new zi("com.vonage.clientcore.core.actions.RTCStatsReportRequest.RTCUpdateStatsReport",this,15);t.lq("audioRecvPackets",!1),t.lq("audioRecvPacketsLost",!1),t.lq("audioRecvBytes",!1),t.lq("audioRecvJitter",!1),t.lq("audioSentPackets",!1),t.lq("audioSentBytes",!1),t.lq("audioSentPacketsLost",!1),t.lq("audioRtt",!1),t.lq("audioSentJitter",!1),t.lq("networkMos",!1),t.lq("legId",!1),t.lq("apiKey",!1),t.lq("applicationId",!1),t.lq("conversationId",!1),t.lq("conversationName",!1),this.m1t_1=t}function zh(){return null==it&&new Ch,it}function xh(t,n,e,r,o,i,u,s,a,c,p,l,f,h,_,y,d,v){return 32767!=(32767&t)&&Pi(t,32767,zh().m1t_1),v.o1t_1=n,v.p1t_1=e,v.q1t_1=r,v.r1t_1=o,v.s1t_1=i,v.t1t_1=u,v.u1t_1=s,v.v1t_1=a,v.w1t_1=c,v.x1t_1=p,v.y1t_1=l,v.z1t_1=f,v.a1u_1=h,v.b1u_1=_,v.c1u_1=y,v}function Sh(t,n,e,r,o,i,u,s,a,c,p,l,f,h,_,y,d){return xh(t,n,e,r,o,i,u,s,a,c,p,l,f,h,_,y,d,Object.create(Oh.prototype))}function Oh(t,n,e,r,o,i,u,s,a,c,p,l,f,h,_){this.o1t_1=t,this.p1t_1=n,this.q1t_1=e,this.r1t_1=r,this.s1t_1=o,this.t1t_1=i,this.u1t_1=u,this.v1t_1=s,this.w1t_1=a,this.x1t_1=c,this.y1t_1=p,this.z1t_1=l,this.a1u_1=f,this.b1u_1=h,this.c1u_1=_}function Eh(t){this.d1u_1=t,this.e1u_1=eA(),this.f1u_1=KT()}function Rh(){}function Ph(){ut=this;var t=new zi("com.vonage.clientcore.core.actions.PostLegRequest.PostLegBody",this,1);t.lq("offer",!1),this.g1u_1=t}function Th(){return null==ut&&new Ph,ut}function Ah(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Th().g1u_1),r.i1u_1=n,r}function Nh(t,n,e){return Ah(t,n,e,Object.create(Hh.prototype))}function Ih(){st=this;var t=new zi("com.vonage.clientcore.core.actions.PostLegRequest.PostLegOffer",this,2);t.lq("type",!1),t.lq("sdp",!1),this.j1u_1=t}function Bh(){return null==st&&new Ih,st}function Mh(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Bh().j1u_1),o.l1u_1=n,o.m1u_1=e,o}function Lh(t,n,e,r){return Mh(t,n,e,r,Object.create(Vh.prototype))}function Fh(){at=this;var t=new zi("com.vonage.clientcore.core.actions.PostLegRequest.Body",this,2);t.lq("originating_session",!1),t.lq("body",!1),this.n1u_1=t}function Dh(){return null==at&&new Fh,at}function Jh(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Dh().n1u_1),o.o1u_1=n,o.p1u_1=e,o}function Uh(t,n,e,r){return Jh(t,n,e,r,Object.create(Kh.prototype))}function Hh(t){this.i1u_1=t}function Vh(t,n){this.l1u_1=t,this.m1u_1=n}function Kh(t,n){this.o1u_1=t,this.p1u_1=n}function Wh(t){this.q1u_1=t,this.r1u_1=hT(null,1,null),this.s1u_1=KT()}function Gh(){ct=this;var t=new zi("com.vonage.clientcore.core.actions.PostLeg",this,2);t.lq("rtc_id",!1),t.lq("sdp",!1),this.t1u_1=t}function Xh(){return null==ct&&new Gh,ct}function Yh(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Xh().t1u_1),o.v1u_1=n,o.w1u_1=e,o}function Zh(t,n,e,r){return Yh(t,n,e,r,Object.create(Qh.prototype))}function Qh(t,n){this.v1u_1=t,this.w1u_1=n}function t_(){pt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswerRequest.RtcAnswerBody",this,1);t.lq("answer",!1),this.z1u_1=t}function n_(){return null==pt&&new t_,pt}function e_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,n_().z1u_1),r.b1v_1=n,r}function r_(t,n,e){return e_(t,n,e,Object.create(a_.prototype))}function o_(){lt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswerRequest.Body",this,3);t.lq("originating_session",!1),t.lq("from",!1),t.lq("body",!1),this.c1v_1=t}function i_(){return null==lt&&new o_,lt}function u_(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,i_().c1v_1),i.d1v_1=n,i.e1v_1=e,i.f1v_1=r,i}function s_(t,n,e,r,o){return u_(t,n,e,r,o,Object.create(c_.prototype))}function a_(t){this.b1v_1=t}function c_(t,n,e){this.d1v_1=t,this.e1v_1=n,this.f1v_1=e}function p_(t,n,e,r){this.g1v_1=t,this.h1v_1=n,this.i1v_1=e,this.j1v_1=r,this.k1v_1=vT(this.g1v_1,this.i1v_1,null,4,null),this.l1v_1=KT()}function l_(){ft=this;var t=new zi("com.vonage.clientcore.core.actions.RTCReconnectRequest.RtcReconnectBody",this,1);t.lq("offer",!1),this.m1v_1=t}function f_(){return null==ft&&new l_,ft}function h_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,f_().m1v_1),r.o1v_1=n,r}function __(t,n,e){return h_(t,n,e,Object.create(j_.prototype))}function y_(){ht=this;var t=new zi("com.vonage.clientcore.core.actions.RTCReconnectRequest.RtcReconnectOffer",this,1);t.lq("sdp",!1),this.p1v_1=t}function d_(){return null==ht&&new y_,ht}function v_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,d_().p1v_1),r.r1v_1=n,r}function g_(t,n,e){return v_(t,n,e,Object.create(k_.prototype))}function m_(){_t=this;var t=new zi("com.vonage.clientcore.core.actions.RTCReconnectRequest.Body",this,3);t.lq("originating_session",!1),t.lq("from",!1),t.lq("body",!1),this.s1v_1=t}function b_(){return null==_t&&new m_,_t}function w_(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,b_().s1v_1),i.t1v_1=n,i.u1v_1=e,i.v1v_1=r,i}function $_(t,n,e,r,o){return w_(t,n,e,r,o,Object.create(q_.prototype))}function j_(t){this.o1v_1=t}function k_(t){this.r1v_1=t}function q_(t,n,e){this.t1v_1=t,this.u1v_1=n,this.v1v_1=e}function C_(t,n,e,r){this.w1v_1=t,this.x1v_1=n,this.y1v_1=e,this.z1v_1=r,this.a1w_1=rT(this.w1v_1,this.z1v_1,null,4,null),this.b1w_1=KT()}function z_(){yt=this;var t=new zi("com.vonage.clientcore.core.actions.AppKnocking",this,1);t.lq("id",!1),this.c1w_1=t}function x_(){return null==yt&&new z_,yt}function S_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,x_().c1w_1),r.e1w_1=n,r}function O_(t,n,e){return S_(t,n,e,Object.create(E_.prototype))}function E_(t){this.e1w_1=t}function R_(){dt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCReconnect",this,1);t.lq("id",!1),this.f1w_1=t}function P_(){return null==dt&&new R_,dt}function T_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,P_().f1w_1),r.h1w_1=n,r}function A_(t,n,e){return T_(t,n,e,Object.create(N_.prototype))}function N_(t){this.h1w_1=t}function I_(t){this.i1w_1=t}function B_(){vt=this;var t=new zi("com.vonage.clientcore.core.actions.UpdateSession",this,1);t.lq("session_id",!1),this.j1w_1=t}function M_(){return null==vt&&new B_,vt}function L_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,M_().j1w_1),r.l1w_1=n,r}function F_(t,n,e){return L_(t,n,e,Object.create(D_.prototype))}function D_(t){this.l1w_1=t}function J_(){gt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberJoin",this,1);t.lq("id",!1),this.m1w_1=t}function U_(){return null==gt&&new J_,gt}function H_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,U_().m1w_1),r.o1w_1=n,r}function V_(t,n,e){return H_(t,n,e,Object.create(K_.prototype))}function K_(t){this.o1w_1=t}function W_(){mt=this;var t=new zi("com.vonage.clientcore.core.actions.LegMute",this,1);t.lq("id",!1),this.p1w_1=t}function G_(){return null==mt&&new W_,mt}function X_(t,n,e,r){return 1!=(1&t)&&Pi(t,1,G_().p1w_1),r.r1w_1=n,r}function Y_(t,n,e){return X_(t,n,e,Object.create(Z_.prototype))}function Z_(t){this.r1w_1=t}function Q_(){bt=this;var t=new zi("com.vonage.clientcore.core.actions.LegUnmute",this,1);t.lq("id",!1),this.s1w_1=t}function ty(){return null==bt&&new Q_,bt}function ny(t,n,e,r){return 1!=(1&t)&&Pi(t,1,ty().s1w_1),r.u1w_1=n,r}function ey(t,n,e){return ny(t,n,e,Object.create(ry.prototype))}function ry(t){this.u1w_1=t}function oy(){wt=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffEnable",this,1);t.lq("id",!1),this.v1w_1=t}function iy(){return null==wt&&new oy,wt}function uy(t,n,e,r){return 1!=(1&t)&&Pi(t,1,iy().v1w_1),r.x1w_1=n,r}function sy(t,n,e){return uy(t,n,e,Object.create(ay.prototype))}function ay(t){this.x1w_1=t}function cy(){$t=this;var t=new zi("com.vonage.clientcore.core.actions.LegEarmuffDisable",this,1);t.lq("id",!1),this.y1w_1=t}function py(){return null==$t&&new cy,$t}function ly(t,n,e,r){return 1!=(1&t)&&Pi(t,1,py().y1w_1),r.a1x_1=n,r}function fy(t,n,e){return ly(t,n,e,Object.create(hy.prototype))}function hy(t){this.a1x_1=t}function _y(){jt=this;var t=new zi("com.vonage.clientcore.core.actions.LegDTMF",this,1);t.lq("id",!1),this.b1x_1=t}function yy(){return null==jt&&new _y,jt}function dy(t,n,e,r){return 1!=(1&t)&&Pi(t,1,yy().b1x_1),r.d1x_1=n,r}function vy(t,n,e){return dy(t,n,e,Object.create(gy.prototype))}function gy(t){this.d1x_1=t}function my(){kt=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSay",this,7);t.lq("id",!1),t.lq("type",!1),t.lq("timestamp",!1),t.lq("body",!1),t.lq("from",!0),t.lq("_embedded",!0),t.lq("_links",!0),this.e1x_1=t}function by(){return null==kt&&new my,kt}function wy(t,n,e,r,o,i,u,s,a,c){return 15!=(15&t)&&Pi(t,15,by().e1x_1),c.g1x_1=n,c.h1x_1=e,c.i1x_1=r,c.j1x_1=o,c.k1x_1=0==(16&t)?null:i,c.l1x_1=0==(32&t)?null:u,c.m1x_1=0==(64&t)?null:s,c}function $y(t,n,e,r,o,i,u,s,a){return wy(t,n,e,r,o,i,u,s,a,Object.create(jy.prototype))}function jy(t,n,e,r,o,i,u){this.g1x_1=t,this.h1x_1=n,this.i1x_1=e,this.j1x_1=r,this.k1x_1=o,this.l1x_1=i,this.m1x_1=u}function ky(){qt=this,ru.call(this,qi(Yf))}function qy(){return null==qt&&new ky,qt}function Cy(){Ct=this;var t=new zi("com.vonage.clientcore.core.actions.FromMember",this,3);t.lq("id",!1),t.lq("name",!0),t.lq("display_name",!0),this.p1x_1=t}function zy(){return null==Ct&&new Cy,Ct}function xy(t,n,e,r,o,i){return 1!=(1&t)&&Pi(t,1,zy().p1x_1),i.r1x_1=n,i.s1x_1=0==(2&t)?null:e,i.t1x_1=0==(4&t)?null:r,i}function Sy(t,n,e,r,o){return xy(t,n,e,r,o,Object.create(Oy.prototype))}function Oy(){}function Ey(){zt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCStatsReportResponse",this,0);this.u1x_1=t}function Ry(){return null==zt&&new Ey,zt}function Py(t,n,e){return 0!=(0&t)&&Pi(t,0,Ry().u1x_1),e}function Ty(t,n){return Py(t,n,Object.create(Ay.prototype))}function Ay(){}function Ny(){xt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswerResponse",this,1);t.lq("id",!1),this.w1x_1=t}function Iy(){return null==xt&&new Ny,xt}function By(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Iy().w1x_1),r.y1x_1=n,r}function My(t,n,e){return By(t,n,e,Object.create(Ly.prototype))}function Ly(t){this.y1x_1=t}function Fy(){St=this;var t=new zi("com.vonage.clientcore.core.actions.Links",this,1);t.lq("self",!1),this.z1x_1=t}function Dy(){return null==St&&new Fy,St}function Jy(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Dy().z1x_1),r.b1y_1=n,r}function Uy(t,n,e){return Jy(t,n,e,Object.create(Hy.prototype))}function Hy(){}function Vy(){}function Ky(){if(Tt)return pi();Tt=!0,Ot=new Wy("MEMBER_INVITED",0,"member:invited"),Et=new Wy("MEMBER_JOINED",1,"member:joined"),Rt=new Wy("MEMBER_LEFT",2,"member:left"),Pt=new Wy("MESSAGE",3,"message")}function Wy(t,n,e){uu.call(this,t,n),this.s1s_1=e}function Gy(){At=this,ru.call(this,qi(Vy)),this.f1y_1=Hi([Ui(Ld().s1s_1,rd().c11()),Ui(Fd().s1s_1,yd().c11()),Ui(Dd().s1s_1,zd().c11()),Ui(Jd().s1s_1,Tw().c11())])}function Xy(){return null==At&&new Gy,At}function Yy(){Nt=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberInvitedEvent.Body",this,2);t.lq("user",!1),t.lq("invited_by",!0),this.g1y_1=t}function Zy(){return null==Nt&&new Yy,Nt}function Qy(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,Zy().g1y_1),o.h1y_1=n,o.i1y_1=0==(2&t)?null:e,o}function td(t,n,e,r){return Qy(t,n,e,r,Object.create(nd.prototype))}function nd(){}function ed(){It=this}function rd(){return null==It&&new ed,It}function od(){Bt=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberInvitedEvent",this,6);t.lq("id",!1),t.lq("type",!1),t.lq("timestamp",!1),t.lq("from",!1),t.lq("_embedded",!0),t.lq("body",!1),this.j1y_1=t}function id(){return null==Bt&&new od,Bt}function ud(t,n,e,r,o,i,u,s,a){return 47!=(47&t)&&Pi(t,47,id().j1y_1),a.l1y_1=n,a.m1y_1=e,a.n1y_1=r,a.o1y_1=o,a.p1y_1=0==(16&t)?null:i,a.q1y_1=u,a}function sd(t,n,e,r,o,i,u,s){return ud(t,n,e,r,o,i,u,s,Object.create(ad.prototype))}function ad(){}function cd(){Mt=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberJoinedEvent.Body",this,1);t.lq("user",!1),this.r1y_1=t}function pd(){return null==Mt&&new cd,Mt}function ld(t,n,e,r){return 1!=(1&t)&&Pi(t,1,pd().r1y_1),r.s1y_1=n,r}function fd(t,n,e){return ld(t,n,e,Object.create(hd.prototype))}function hd(){}function _d(){Lt=this}function yd(){return null==Lt&&new _d,Lt}function dd(){Ft=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberJoinedEvent",this,6);t.lq("id",!1),t.lq("type",!1),t.lq("timestamp",!1),t.lq("from",!1),t.lq("_embedded",!0),t.lq("body",!1),this.t1y_1=t}function vd(){return null==Ft&&new dd,Ft}function gd(t,n,e,r,o,i,u,s,a){return 47!=(47&t)&&Pi(t,47,vd().t1y_1),a.v1y_1=n,a.w1y_1=e,a.x1y_1=r,a.y1y_1=o,a.z1y_1=0==(16&t)?null:i,a.a1z_1=u,a}function md(t,n,e,r,o,i,u,s){return gd(t,n,e,r,o,i,u,s,Object.create(bd.prototype))}function bd(){}function wd(){Dt=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberLeftEvent.Body",this,1);t.lq("user",!1),this.b1z_1=t}function $d(){return null==Dt&&new wd,Dt}function jd(t,n,e,r){return 1!=(1&t)&&Pi(t,1,$d().b1z_1),r.c1z_1=n,r}function kd(t,n,e){return jd(t,n,e,Object.create(qd.prototype))}function qd(){}function Cd(){Jt=this}function zd(){return null==Jt&&new Cd,Jt}function xd(){Ut=this;var t=new zi("com.vonage.clientcore.core.actions.CSMemberLeftEvent",this,6);t.lq("id",!1),t.lq("type",!1),t.lq("timestamp",!1),t.lq("from",!1),t.lq("_embedded",!0),t.lq("body",!1),this.d1z_1=t}function Sd(){return null==Ut&&new xd,Ut}function Od(t,n,e,r,o,i,u,s,a){return 47!=(47&t)&&Pi(t,47,Sd().d1z_1),a.f1z_1=n,a.g1z_1=e,a.h1z_1=r,a.i1z_1=o,a.j1z_1=0==(16&t)?null:i,a.k1z_1=u,a}function Ed(t,n,e,r,o,i,u,s){return Od(t,n,e,r,o,i,u,s,Object.create(Rd.prototype))}function Rd(){}function Pd(){Ht=this}function Td(){return null==Ht&&new Pd,Ht}function Ad(){Vt=this;var t=new zi("com.vonage.clientcore.core.actions.CSUnknownConversationEvent",this,6);t.lq("id",!0),t.lq("type",!1),t.lq("timestamp",!1),t.lq("from",!0),t.lq("_embedded",!0),t.lq("body",!0),this.l1z_1=t}function Nd(){return null==Vt&&new Ad,Vt}function Id(t,n,e,r,o,i,u,s,a){return 6!=(6&t)&&Pi(t,6,Nd().l1z_1),a.n1z_1=0==(1&t)?null:n,a.o1z_1=e,a.p1z_1=r,a.q1z_1=0==(8&t)?null:o,a.r1z_1=0==(16&t)?null:i,a.s1z_1=0==(32&t)?null:u,a}function Bd(t,n,e,r,o,i,u,s){return Id(t,n,e,r,o,i,u,s,Object.create(Md.prototype))}function Md(){}function Ld(){return Ky(),Ot}function Fd(){return Ky(),Et}function Dd(){return Ky(),Rt}function Jd(){return Ky(),Pt}function Ud(){Kt=this;var t=new zi("com.vonage.clientcore.core.actions.RTCHangup",this,5);t.lq("channel",!1),t.lq("bandwidth",!1),t.lq("reason",!1),t.lq("quality",!1),t.lq("direction",!1),this.t1z_1=t}function Hd(){return null==Kt&&new Ud,Kt}function Vd(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,Hd().t1z_1),s.v1z_1=n,s.w1z_1=e,s.x1z_1=r,s.y1z_1=o,s.z1z_1=i,s}function Kd(t,n,e,r,o,i,u){return Vd(t,n,e,r,o,i,u,Object.create(Wd.prototype))}function Wd(){}function Gd(){Wt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberInvitedEvent",this,7);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("timestamp",!1),t.lq("from",!1),t.lq("_embedded",!0),t.lq("application_id",!0),this.b20_1=t}function Xd(){return null==Wt&&new Gd,Wt}function Yd(t,n,e,r,o,i,u,s,a,c){return 31!=(31&t)&&Pi(t,31,Xd().b20_1),c.d20_1=n,c.e20_1=e,c.f20_1=r,c.g20_1=o,c.h20_1=i,c.i20_1=0==(32&t)?null:u,c.j20_1=0==(64&t)?null:s,c}function Zd(t,n,e,r,o,i,u,s,a){return Yd(t,n,e,r,o,i,u,s,a,Object.create(Qd.prototype))}function Qd(t,n,e,r,o,i,u){Mj.call(this),this.d20_1=t,this.e20_1=n,this.f20_1=e,this.g20_1=r,this.h20_1=o,this.i20_1=i,this.j20_1=u}function tv(){Gt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberInvited",this,7);t.lq("conversation",!1),t.lq("member_id",!1),t.lq("user",!1),t.lq("media",!1),t.lq("channel",!1),t.lq("invited_by",!0),t.lq("sdp",!0),this.m20_1=t}function nv(){return null==Gt&&new tv,Gt}function ev(t,n,e,r,o,i,u,s,a,c){return 31!=(31&t)&&Pi(t,31,nv().m20_1),c.o20_1=n,c.p20_1=e,c.q20_1=r,c.r20_1=o,c.s20_1=i,c.t20_1=0==(32&t)?null:u,c.u20_1=0==(64&t)?null:s,c}function rv(t,n,e,r,o,i,u,s,a){return ev(t,n,e,r,o,i,u,s,a,Object.create(ov.prototype))}function ov(){}function iv(){Xt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberJoinedEvent",this,6);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!1),t.lq("timestamp",!1),t.lq("application_id",!0),this.v20_1=t}function uv(){return null==Xt&&new iv,Xt}function sv(t,n,e,r,o,i,u,s,a){return 31!=(31&t)&&Pi(t,31,uv().v20_1),a.x20_1=n,a.y20_1=e,a.z20_1=r,a.a21_1=o,a.b21_1=i,a.c21_1=0==(32&t)?null:u,a}function av(t,n,e,r,o,i,u,s){return sv(t,n,e,r,o,i,u,s,Object.create(cv.prototype))}function cv(t,n,e,r,o,i){Mj.call(this),this.x20_1=t,this.y20_1=n,this.z20_1=e,this.a21_1=r,this.b21_1=o,this.c21_1=i}function pv(){Yt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberJoined",this,3);t.lq("member_id",!1),t.lq("user",!1),t.lq("channel",!1),this.d21_1=t}function lv(){return null==Yt&&new pv,Yt}function fv(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,lv().d21_1),i.f21_1=n,i.g21_1=e,i.h21_1=r,i}function hv(t,n,e,r,o){return fv(t,n,e,r,o,Object.create(_v.prototype))}function _v(){}function yv(){Zt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberLeftEvent",this,7);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!1),t.lq("timestamp",!1),t.lq("application_id",!0),t.lq("_embedded",!0),this.j21_1=t}function dv(){return null==Zt&&new yv,Zt}function vv(t,n,e,r,o,i,u,s,a,c){return 31!=(31&t)&&Pi(t,31,dv().j21_1),c.l21_1=n,c.m21_1=e,c.n21_1=r,c.o21_1=o,c.p21_1=i,c.q21_1=0==(32&t)?null:u,c.r21_1=0==(64&t)?null:s,c}function gv(t,n,e,r,o,i,u,s,a){return vv(t,n,e,r,o,i,u,s,a,Object.create(mv.prototype))}function mv(t,n,e,r,o,i,u){Mj.call(this),this.l21_1=t,this.m21_1=n,this.n21_1=e,this.o21_1=r,this.p21_1=o,this.q21_1=i,this.r21_1=u}function bv(){Qt=this;var t=new zi("com.vonage.clientcore.core.actions.MemberLeftBody",this,4);t.lq("member_id",!1),t.lq("user",!1),t.lq("channel",!1),t.lq("reason",!0),this.s21_1=t}function wv(){return null==Qt&&new bv,Qt}function $v(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,wv().s21_1),u.u21_1=n,u.v21_1=e,u.w21_1=r,u.x21_1=0==(8&t)?null:o,u}function jv(t,n,e,r,o,i){return $v(t,n,e,r,o,i,Object.create(kv.prototype))}function kv(){}function qv(){tn=this;var t=new zi("com.vonage.clientcore.core.actions.MessageEvent",this,6);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!1),t.lq("timestamp",!1),t.lq("_embedded",!0),this.y21_1=t}function Cv(){return null==tn&&new qv,tn}function zv(t,n,e,r,o,i,u,s,a){return 31!=(31&t)&&Pi(t,31,Cv().y21_1),a.a22_1=n,a.b22_1=e,a.c22_1=r,a.d22_1=o,a.e22_1=i,a.f22_1=0==(32&t)?null:u,a}function xv(t,n,e,r,o,i,u,s){return zv(t,n,e,r,o,i,u,s,Object.create(Sv.prototype))}function Sv(t,n,e,r,o,i){Mj.call(this),this.a22_1=t,this.b22_1=n,this.c22_1=e,this.d22_1=r,this.e22_1=o,this.f22_1=i}function Ov(){nn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.g22_1=t}function Ev(){return null==nn&&new Ov,nn}function Rv(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Ev().g22_1),u.i22_1=n,u.j22_1=e,u.k22_1=r,u.l22_1=0==(8&t)?null:o,u}function Pv(t,n,e,r,o,i){return Rv(t,n,e,r,o,i,Object.create(Tv.prototype))}function Tv(t,n,e,r){Mj.call(this),this.i22_1=t,this.j22_1=n,this.k22_1=e,this.l22_1=r}function Av(){en=this;var t=new zi("com.vonage.clientcore.core.actions.LegStatusUpdateEvent",this,5);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),t.lq("_embedded",!0),this.m22_1=t}function Nv(){return null==en&&new Av,en}function Iv(t,n,e,r,o,i,u,s){return 7!=(7&t)&&Pi(t,7,Nv().m22_1),s.o22_1=n,s.p22_1=e,s.q22_1=r,s.r22_1=0==(8&t)?null:o,s.s22_1=0==(16&t)?null:i,s}function Bv(t,n,e,r,o,i,u){return Iv(t,n,e,r,o,i,u,Object.create(Mv.prototype))}function Mv(t,n,e,r,o){Mj.call(this),this.o22_1=t,this.p22_1=n,this.q22_1=e,this.r22_1=r,this.s22_1=o}function Lv(){rn=this;var t=new zi("com.vonage.clientcore.core.actions.LegStatusUpdate",this,5);t.lq("direction",!1),t.lq("leg_id",!1),t.lq("status",!1),t.lq("type",!1),t.lq("statusHistory",!1),this.t22_1=t}function Fv(){return null==rn&&new Lv,rn}function Dv(t,n,e,r,o,i,u,s){return 31!=(31&t)&&Pi(t,31,Fv().t22_1),s.v22_1=n,s.w22_1=e,s.x22_1=r,s.y22_1=o,s.z22_1=i,s}function Jv(t,n,e,r,o,i,u){return Dv(t,n,e,r,o,i,u,Object.create(Uv.prototype))}function Uv(){}function Hv(){on=this;var t=new zi("com.vonage.clientcore.core.actions.AudioMuteOnEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.a23_1=t}function Vv(){return null==on&&new Hv,on}function Kv(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Vv().a23_1),u.c23_1=n,u.d23_1=e,u.e23_1=r,u.f23_1=0==(8&t)?null:o,u}function Wv(t,n,e,r,o,i){return Kv(t,n,e,r,o,i,Object.create(Gv.prototype))}function Gv(t,n,e,r){Mj.call(this),this.c23_1=t,this.d23_1=n,this.e23_1=e,this.f23_1=r}function Xv(){un=this;var t=new zi("com.vonage.clientcore.core.actions.AudioMuteBody",this,1);t.lq("rtc_id",!1),this.g23_1=t}function Yv(){return null==un&&new Xv,un}function Zv(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Yv().g23_1),r.i23_1=n,r}function Qv(t,n,e){return Zv(t,n,e,Object.create(tg.prototype))}function tg(){}function ng(){sn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioMuteOffEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.j23_1=t}function eg(){return null==sn&&new ng,sn}function rg(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,eg().j23_1),u.l23_1=n,u.m23_1=e,u.n23_1=r,u.o23_1=0==(8&t)?null:o,u}function og(t,n,e,r,o,i){return rg(t,n,e,r,o,i,Object.create(ig.prototype))}function ig(t,n,e,r){Mj.call(this),this.l23_1=t,this.m23_1=n,this.n23_1=e,this.o23_1=r}function ug(){an=this;var t=new zi("com.vonage.clientcore.core.actions.AudioEarmuffOnEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.p23_1=t}function sg(){return null==an&&new ug,an}function ag(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,sg().p23_1),u.r23_1=n,u.s23_1=e,u.t23_1=r,u.u23_1=0==(8&t)?null:o,u}function cg(t,n,e,r,o,i){return ag(t,n,e,r,o,i,Object.create(pg.prototype))}function pg(t,n,e,r){Mj.call(this),this.r23_1=t,this.s23_1=n,this.t23_1=e,this.u23_1=r}function lg(){cn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioEarmuffBody",this,1);t.lq("rtc_id",!1),this.v23_1=t}function fg(){return null==cn&&new lg,cn}function hg(t,n,e,r){return 1!=(1&t)&&Pi(t,1,fg().v23_1),r.x23_1=n,r}function _g(t,n,e){return hg(t,n,e,Object.create(yg.prototype))}function yg(){}function dg(){pn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioEarmuffOffEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.y23_1=t}function vg(){return null==pn&&new dg,pn}function gg(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,vg().y23_1),u.a24_1=n,u.b24_1=e,u.c24_1=r,u.d24_1=0==(8&t)?null:o,u}function mg(t,n,e,r,o,i){return gg(t,n,e,r,o,i,Object.create(bg.prototype))}function bg(t,n,e,r){Mj.call(this),this.a24_1=t,this.b24_1=n,this.c24_1=e,this.d24_1=r}function wg(){ln=this;var t=new zi("com.vonage.clientcore.core.actions.AudioDTMFEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.e24_1=t}function $g(){return null==ln&&new wg,ln}function jg(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,$g().e24_1),u.g24_1=n,u.h24_1=e,u.i24_1=r,u.j24_1=0==(8&t)?null:o,u}function kg(t,n,e,r,o,i){return jg(t,n,e,r,o,i,Object.create(qg.prototype))}function qg(t,n,e,r){Mj.call(this),this.g24_1=t,this.h24_1=n,this.i24_1=e,this.j24_1=r}function Cg(){fn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioDTMFBody",this,2);t.lq("digit",!1),t.lq("channel",!1),this.k24_1=t}function zg(){return null==fn&&new Cg,fn}function xg(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,zg().k24_1),o.m24_1=n,o.n24_1=e,o}function Sg(t,n,e,r){return xg(t,n,e,r,Object.create(Og.prototype))}function Og(){}function Eg(){hn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCHangupEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.o24_1=t}function Rg(){return null==hn&&new Eg,hn}function Pg(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Rg().o24_1),u.q24_1=n,u.r24_1=e,u.s24_1=r,u.t24_1=0==(8&t)?null:o,u}function Tg(t,n,e,r,o,i){return Pg(t,n,e,r,o,i,Object.create(Ag.prototype))}function Ag(t,n,e,r){Mj.call(this),this.q24_1=t,this.r24_1=n,this.s24_1=e,this.t24_1=r}function Ng(){_n=this;var t=new zi("com.vonage.clientcore.core.actions.RTCTransferEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.u24_1=t}function Ig(){return null==_n&&new Ng,_n}function Bg(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,Ig().u24_1),u.w24_1=n,u.x24_1=e,u.y24_1=r,u.z24_1=0==(8&t)?null:o,u}function Mg(t,n,e,r,o,i){return Bg(t,n,e,r,o,i,Object.create(Lg.prototype))}function Lg(t,n,e,r){Mj.call(this),this.w24_1=t,this.x24_1=n,this.y24_1=e,this.z24_1=r}function Fg(){yn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCTransfer",this,4);t.lq("was_member",!1),t.lq("user_id",!1),t.lq("transferred_from",!1),t.lq("channel",!1),this.a25_1=t}function Dg(){return null==yn&&new Fg,yn}function Jg(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,Dg().a25_1),u.c25_1=n,u.d25_1=e,u.e25_1=r,u.f25_1=o,u}function Ug(t,n,e,r,o,i){return Jg(t,n,e,r,o,i,Object.create(Hg.prototype))}function Hg(){}function Vg(){dn=this;var t=new zi("com.vonage.clientcore.core.actions.PushMemberInvitedEvent",this,5);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!0),t.lq("from",!0),t.lq("conversation_id",!1),this.h25_1=t}function Kg(){return null==dn&&new Vg,dn}function Wg(t,n,e,r,o,i,u,s){return 19!=(19&t)&&Pi(t,19,Kg().h25_1),s.j25_1=n,s.k25_1=e,s.l25_1=0==(4&t)?null:r,s.m25_1=0==(8&t)?null:o,s.n25_1=i,s}function Gg(t,n,e,r,o,i,u){return Wg(t,n,e,r,o,i,u,Object.create(Xg.prototype))}function Xg(t,n,e,r,o){Mj.call(this),this.j25_1=t,this.k25_1=n,this.l25_1=e,this.m25_1=r,this.n25_1=o}function Yg(){vn=this;var t=new zi("com.vonage.clientcore.core.actions.SessionSuccessEvent",this,4);t.lq("body",!1),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.o25_1=t}function Zg(){return null==vn&&new Yg,vn}function Qg(t,n,e,r,o,i,u){return 1!=(1&t)&&Pi(t,1,Zg().o25_1),u.q25_1=n,u.r25_1=0==(2&t)?null:e,u.s25_1=0==(4&t)?null:r,u.t25_1=0==(8&t)?null:o,u}function tm(t,n,e,r,o,i){return Qg(t,n,e,r,o,i,Object.create(nm.prototype))}function nm(t,n,e,r){Mj.call(this),this.q25_1=t,this.r25_1=n,this.s25_1=e,this.t25_1=r}function em(){gn=this;var t=new zi("com.vonage.clientcore.core.actions.MemberMediaEvent",this,5);t.lq("_embedded",!1),t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.u25_1=t}function rm(){return null==gn&&new em,gn}function om(t,n,e,r,o,i,u,s){return 15!=(15&t)&&Pi(t,15,rm().u25_1),s.w25_1=n,s.x25_1=e,s.y25_1=r,s.z25_1=o,s.a26_1=0==(16&t)?null:i,s}function im(t,n,e,r,o,i,u){return om(t,n,e,r,o,i,u,Object.create(um.prototype))}function um(t,n,e,r,o){Mj.call(this),this.w25_1=t,this.x25_1=n,this.y25_1=e,this.z25_1=r,this.a26_1=o}function sm(){mn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswerEvent",this,4);t.lq("body",!1),t.lq("id",!0),t.lq("cid",!1),t.lq("from",!0),this.b26_1=t}function am(){return null==mn&&new sm,mn}function cm(t,n,e,r,o,i,u){return 5!=(5&t)&&Pi(t,5,am().b26_1),u.d26_1=n,u.e26_1=0==(2&t)?null:e,u.f26_1=r,u.g26_1=0==(8&t)?null:o,u}function pm(t,n,e,r,o,i){return cm(t,n,e,r,o,i,Object.create(lm.prototype))}function lm(t,n,e,r){Mj.call(this),this.d26_1=t,this.e26_1=n,this.f26_1=e,this.g26_1=r}function fm(){bn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayDoneEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.h26_1=t}function hm(){return null==bn&&new fm,bn}function _m(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,hm().h26_1),u.j26_1=n,u.k26_1=e,u.l26_1=r,u.m26_1=0==(8&t)?null:o,u}function ym(t,n,e,r,o,i){return _m(t,n,e,r,o,i,Object.create(dm.prototype))}function dm(t,n,e,r){Mj.call(this),this.j26_1=t,this.k26_1=n,this.l26_1=e,this.m26_1=r}function vm(){wn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswer",this,2);t.lq("rtc_id",!1),t.lq("answer",!1),this.n26_1=t}function gm(){return null==wn&&new vm,wn}function mm(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,gm().n26_1),o.p26_1=n,o.q26_1=e,o}function bm(t,n,e,r){return mm(t,n,e,r,Object.create(wm.prototype))}function wm(){}function $m(){$n=this;var t=new zi("com.vonage.clientcore.core.actions.MemberMedia",this,1);t.lq("channel",!1),this.s26_1=t}function jm(){return null==$n&&new $m,$n}function km(t,n,e,r){return 1!=(1&t)&&Pi(t,1,jm().s26_1),r.u26_1=n,r}function qm(t,n,e){return km(t,n,e,Object.create(Cm.prototype))}function Cm(){}function zm(){jn=this;var t=new zi("com.vonage.clientcore.core.actions.SessionSuccess",this,4);t.lq("id",!1),t.lq("user_id",!1),t.lq("name",!1),t.lq("api_key",!1),this.v26_1=t}function xm(){return null==jn&&new zm,jn}function Sm(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,xm().v26_1),u.x26_1=n,u.y26_1=e,u.z26_1=r,u.a27_1=o,u}function Om(t,n,e,r,o,i){return Sm(t,n,e,r,o,i,Object.create(Em.prototype))}function Em(){}function Rm(){kn=this;var t=new zi("com.vonage.clientcore.core.actions.MemberLeftReason",this,2);t.lq("code",!0),t.lq("text",!0),this.d27_1=t}function Pm(){return null==kn&&new Rm,kn}function Tm(t,n,e,r,o){return 0!=(0&t)&&Pi(t,0,Pm().d27_1),o.f27_1=0==(1&t)?null:n,o.g27_1=0==(2&t)?null:e,o}function Am(t,n,e,r){return Tm(t,n,e,r,Object.create(Nm.prototype))}function Nm(){}function Im(){qn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayBody",this,10);t.lq("say_id",!1),t.lq("text",!1),t.lq("level",!1),t.lq("loop",!1),t.lq("language",!0),t.lq("premium",!0),t.lq("queue",!0),t.lq("ssml",!0),t.lq("voice_name",!0),t.lq("style",!0),this.h27_1=t}function Bm(){return null==qn&&new Im,qn}function Mm(t,n,e,r,o,i,u,s,a,c,p,l,f){return 15!=(15&t)&&Pi(t,15,Bm().h27_1),f.i27_1=n,f.j27_1=e,f.k27_1=r,f.l27_1=o,f.m27_1=0==(16&t)?null:i,f.n27_1=0==(32&t)?null:u,f.o27_1=0==(64&t)?null:s,f.p27_1=0==(128&t)?null:a,f.q27_1=0==(256&t)?null:c,f.r27_1=0==(512&t)?null:p,f}function Lm(t,n,e,r,o,i,u,s,a,c,p,l){return Mm(t,n,e,r,o,i,u,s,a,c,p,l,Object.create(Fm.prototype))}function Fm(){}function Dm(){}function Jm(){Cn=this;var t=new zi("com.vonage.clientcore.core.actions.LegStatusHistory",this,2);t.lq("status",!1),t.lq("date",!1),this.s27_1=t}function Um(){return null==Cn&&new Jm,Cn}function Hm(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,Um().s27_1),o.u27_1=n,o.v27_1=e,o}function Vm(t,n,e,r){return Hm(t,n,e,r,Object.create(Km.prototype))}function Km(){}function Wm(){zn=this;var t=new zi("com.vonage.clientcore.core.actions.AudioSayDone",this,1);t.lq("say_id",!1),this.w27_1=t}function Gm(){return null==zn&&new Wm,zn}function Xm(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Gm().w27_1),r.y27_1=n,r}function Ym(t,n,e){return Xm(t,n,e,Object.create(Zm.prototype))}function Zm(){}function Qm(){xn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnswered",this,1);t.lq("channel",!1),this.z27_1=t}function tb(){return null==xn&&new Qm,xn}function nb(t,n,e,r){return 1!=(1&t)&&Pi(t,1,tb().z27_1),r.b28_1=n,r}function eb(t,n,e){return nb(t,n,e,Object.create(rb.prototype))}function rb(){}function ob(){Sn=this;var t=new zi("com.vonage.clientcore.core.actions.RTCAnsweredEvent",this,4);t.lq("body",!1),t.lq("id",!1),t.lq("cid",!1),t.lq("from",!0),this.c28_1=t}function ib(){return null==Sn&&new ob,Sn}function ub(t,n,e,r,o,i,u){return 7!=(7&t)&&Pi(t,7,ib().c28_1),u.e28_1=n,u.f28_1=e,u.g28_1=r,u.h28_1=0==(8&t)?null:o,u}function sb(t,n,e,r,o,i){return ub(t,n,e,r,o,i,Object.create(ab.prototype))}function ab(t,n,e,r){Mj.call(this),this.e28_1=t,this.f28_1=n,this.g28_1=e,this.h28_1=r}function cb(t,n,e,r,o){return 0!=(2&e)&&(n=f$()),kw.call(o,t,n),o}function pb(t,n,e,r){return cb(t,n,e,r,Object.create(kw.prototype))}function lb(){On=this}function fb(){return null==On&&new lb,On}function hb(){En=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.TextBody",this,2);t.lq("text",!1),t.lq("message_type",!0),this.i28_1=t}function _b(){return null==En&&new hb,En}function yb(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,_b().i28_1),o.k28_1=n,o.l28_1=0==(2&t)?f$():e,o}function db(t,n,e,r){return yb(t,n,e,r,Object.create(kw.prototype))}function vb(t,n,e,r,o){return 0!=(2&e)&&(n=h$()),qw.call(o,t,n),o}function gb(t,n,e,r){return vb(t,n,e,r,Object.create(qw.prototype))}function mb(){Rn=this}function bb(){return null==Rn&&new mb,Rn}function wb(){Pn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.ImageBody",this,2);t.lq("image",!1),t.lq("message_type",!0),this.m28_1=t}function $b(){return null==Pn&&new wb,Pn}function jb(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,$b().m28_1),o.o28_1=n,o.p28_1=0==(2&t)?h$():e,o}function kb(t,n,e,r){return jb(t,n,e,r,Object.create(qw.prototype))}function qb(t,n,e,r,o){return 0!=(2&e)&&(n=_$()),Cw.call(o,t,n),o}function Cb(t,n,e,r){return qb(t,n,e,r,Object.create(Cw.prototype))}function zb(){Tn=this}function xb(){return null==Tn&&new zb,Tn}function Sb(){An=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.VideoBody",this,2);t.lq("video",!1),t.lq("message_type",!0),this.q28_1=t}function Ob(){return null==An&&new Sb,An}function Eb(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,Ob().q28_1),o.s28_1=n,o.t28_1=0==(2&t)?_$():e,o}function Rb(t,n,e,r){return Eb(t,n,e,r,Object.create(Cw.prototype))}function Pb(t,n,e,r,o){return 0!=(2&e)&&(n=y$()),zw.call(o,t,n),o}function Tb(t,n,e,r){return Pb(t,n,e,r,Object.create(zw.prototype))}function Ab(){Nn=this}function Nb(){return null==Nn&&new Ab,Nn}function Ib(){In=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.AudioBody",this,2);t.lq("audio",!1),t.lq("message_type",!0),this.u28_1=t}function Bb(){return null==In&&new Ib,In}function Mb(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,Bb().u28_1),o.w28_1=n,o.x28_1=0==(2&t)?y$():e,o}function Lb(t,n,e,r){return Mb(t,n,e,r,Object.create(zw.prototype))}function Fb(t,n,e,r,o){return 0!=(2&e)&&(n=d$()),xw.call(o,t,n),o}function Db(t,n,e,r){return Fb(t,n,e,r,Object.create(xw.prototype))}function Jb(){Bn=this}function Ub(){return null==Bn&&new Jb,Bn}function Hb(){Mn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.FileBody",this,2);t.lq("file",!1),t.lq("message_type",!0),this.y28_1=t}function Vb(){return null==Mn&&new Hb,Mn}function Kb(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,Vb().y28_1),o.a29_1=n,o.b29_1=0==(2&t)?d$():e,o}function Wb(t,n,e,r){return Kb(t,n,e,r,Object.create(xw.prototype))}function Gb(t,n,e,r,o){return 0!=(2&e)&&(n=v$()),Sw.call(o,t,n),o}function Xb(t,n,e,r){return Gb(t,n,e,r,Object.create(Sw.prototype))}function Yb(){Ln=this}function Zb(){return null==Ln&&new Yb,Ln}function Qb(){Fn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.VCardBody",this,2);t.lq("vcard",!1),t.lq("message_type",!0),this.c29_1=t}function tw(){return null==Fn&&new Qb,Fn}function nw(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,tw().c29_1),o.e29_1=n,o.f29_1=0==(2&t)?v$():e,o}function ew(t,n,e,r){return nw(t,n,e,r,Object.create(Sw.prototype))}function rw(t,n,e,r,o){return 0!=(2&e)&&(n=g$()),Ow.call(o,t,n),o}function ow(t,n,e,r){return rw(t,n,e,r,Object.create(Ow.prototype))}function iw(){Dn=this}function uw(){return null==Dn&&new iw,Dn}function sw(){Jn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.CustomBody",this,2);t.lq("custom",!1),t.lq("message_type",!0),this.g29_1=t}function aw(){return null==Jn&&new sw,Jn}function cw(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,aw().g29_1),o.i29_1=n,o.j29_1=0==(2&t)?g$():e,o}function pw(t,n,e,r){return cw(t,n,e,r,Object.create(Ow.prototype))}function lw(){Un=this}function fw(){return null==Un&&new lw,Un}function hw(){Hn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.TemplateBody",this,2);t.lq("template",!1),t.lq("message_type",!0),this.k29_1=t}function _w(){return null==Hn&&new hw,Hn}function yw(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,_w().k29_1),o.m29_1=n,o.n29_1=0==(2&t)?m$():e,o}function dw(t,n,e,r){return yw(t,n,e,r,Object.create(Ew.prototype))}function vw(){Vn=this}function gw(){return null==Vn&&new vw,Vn}function mw(){Kn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent.LocationBody",this,2);t.lq("location",!1),t.lq("message_type",!0),this.o29_1=t}function bw(){return null==Kn&&new mw,Kn}function ww(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,bw().o29_1),o.q29_1=n,o.r29_1=0==(2&t)?b$():e,o}function $w(t,n,e,r){return ww(t,n,e,r,Object.create(Rw.prototype))}function jw(){}function kw(t,n){fb(),this.k28_1=t,this.l28_1=n}function qw(t,n){bb(),this.o28_1=t,this.p28_1=n}function Cw(t,n){xb(),this.s28_1=t,this.t28_1=n}function zw(t,n){Nb(),this.w28_1=t,this.x28_1=n}function xw(t,n){Ub(),this.a29_1=t,this.b29_1=n}function Sw(t,n){Zb(),this.e29_1=t,this.f29_1=n}function Ow(t,n){uw(),this.i29_1=t,this.j29_1=n}function Ew(){}function Rw(){}function Pw(){Wn=this}function Tw(){return null==Wn&&new Pw,Wn}function Aw(){Gn=this;var t=new zi("com.vonage.clientcore.core.actions.CSMessageEvent",this,6);t.lq("id",!1),t.lq("type",!1),t.lq("timestamp",!1),t.lq("from",!1),t.lq("_embedded",!0),t.lq("body",!1),this.s29_1=t}function Nw(){return null==Gn&&new Aw,Gn}function Iw(t,n,e,r,o,i,u,s,a){return 47!=(47&t)&&Pi(t,47,Nw().s29_1),a.u29_1=n,a.v29_1=e,a.w29_1=r,a.x29_1=o,a.y29_1=0==(16&t)?null:i,a.z29_1=u,a}function Bw(t,n,e,r,o,i,u,s){return Iw(t,n,e,r,o,i,u,s,Object.create(Mw.prototype))}function Mw(){}function Lw(){Xn=this;var t=new zi("com.vonage.clientcore.core.actions.UrlObject",this,1);t.lq("url",!1),this.d2a_1=t}function Fw(){return null==Xn&&new Lw,Xn}function Dw(t,n,e,r){return 1!=(1&t)&&Pi(t,1,Fw().d2a_1),r.f2a_1=n,r}function Jw(t,n,e){return Dw(t,n,e,Object.create(Uw.prototype))}function Uw(t){this.f2a_1=t}function Hw(){Yn=this,ru.call(this,qi(jw))}function Vw(){return null==Yn&&new Hw,Yn}function Kw(){return Yw()}function Ww(){se=this;var t=this,n=lu();t.i2a_1=fu(n,Kw)}function Gw(){return t$(),null==se&&new Ww,se}function Xw(){ae=this;var t=new hu("com.vonage.clientcore.core.actions.CSMessageType",9);t.lq("text",!1),t.lq("image",!1),t.lq("video",!1),t.lq("audio",!1),t.lq("file",!1),t.lq("vcard",!1),t.lq("custom",!1),t.lq("template",!1),t.lq("location",!1),this.j2a_1=t}function Yw(){return t$(),null==ae&&new Xw,ae}function Zw(){return[f$(),h$(),_$(),y$(),d$(),v$(),g$(),m$(),b$()]}function Qw(t){switch(t){case"TEXT":return f$();case"IMAGE":return h$();case"VIDEO":return _$();case"AUDIO":return y$();case"FILE":return d$();case"VCARD":return v$();case"CUSTOM":return g$();case"TEMPLATE":return m$();case"LOCATION":return b$();default:t$(),_u()}}function t$(){if(ce)return pi();ce=!0,Zn=new n$("TEXT",0),Qn=new n$("IMAGE",1),te=new n$("VIDEO",2),ne=new n$("AUDIO",3),ee=new n$("FILE",4),re=new n$("VCARD",5),oe=new n$("CUSTOM",6),ie=new n$("TEMPLATE",7),ue=new n$("LOCATION",8),Gw()}function n$(t,n){uu.call(this,t,n)}function e$(){pe=this;var t=new zi("com.vonage.clientcore.core.actions.TemplateObject",this,2);t.lq("name",!1),t.lq("parameters",!1),this.l2a_1=t}function r$(){return null==pe&&new e$,pe}function o$(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,r$().l2a_1),o.n2a_1=n,o.o2a_1=e,o}function i$(t,n,e,r){return o$(t,n,e,r,Object.create(u$.prototype))}function u$(){}function s$(){le=this;var t=new zi("com.vonage.clientcore.core.actions.LocationObject",this,4);t.lq("longitude",!1),t.lq("latitude",!1),t.lq("name",!1),t.lq("address",!1),this.p2a_1=t}function a$(){return null==le&&new s$,le}function c$(t,n,e,r,o,i,u){return 15!=(15&t)&&Pi(t,15,a$().p2a_1),u.r2a_1=n,u.s2a_1=e,u.t2a_1=r,u.u2a_1=o,u}function p$(t,n,e,r,o,i){return c$(t,n,e,r,o,i,Object.create(l$.prototype))}function l$(){}function f$(){return t$(),Zn}function h$(){return t$(),Qn}function _$(){return t$(),te}function y$(){return t$(),ne}function d$(){return t$(),ee}function v$(){return t$(),re}function g$(){return t$(),oe}function m$(){return t$(),ie}function b$(){return t$(),ue}function w$(t,n){this.v2a_1=t,this.w2a_1=n}function $$(t){this.x2a_1=t}function j$(t){this.y2a_1=t}function k$(t){this.z2a_1=t}function q$(t){this.a2b_1=t}function C$(t){this.b2b_1=t}function z$(t,n){this.c2b_1=t,this.d2b_1=n}function x$(t,n){this.e2b_1=t,this.f2b_1=n}function S$(t,n){this.g2b_1=t,this.h2b_1=n}function O$(){}function E$(t,n){this.i2b_1=t,this.j2b_1=n}function R$(){if(ye)return pi();ye=!0,fe=new P$("Disconnected",0),he=new P$("Reconnecting",1),_e=new P$("Connected",2)}function P$(t,n){uu.call(this,t,n)}function T$(){if(be)return pi();be=!0,de=new A$("ServerDisconnected",0),ve=new A$("ClientDisconnected",1),ge=new A$("ClientNetworkError",2),me=new A$("PingTimeout",3)}function A$(t,n){uu.call(this,t,n)}function N$(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:internal-failure"),0!=(2&e)&&(n="An internal error occurred with the session. Please try again shortly."),B$.call(o,t,n),o}function I$(t,n,e,r){var o=N$(t,n,e,r,Object.create(B$.prototype));return Xi(o,I$),o}function B$(t,n){sj.call(this,t,n),this.p2b_1=t,this.q2b_1=n,Xi(this,B$)}function M$(t,n,e,r,o,i,u){return 0!=(4&o)&&(e=null),H$.call(u,t,n,e,r),u}function L$(t,n,e,r,o,i){return M$(t,n,e,r,o,i,Object.create(H$.prototype))}function F$(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=null),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),V$.call(u,t,n,e,r),u}function D$(t,n,e,r,o,i){return F$(t,n,e,r,o,i,Object.create(V$.prototype))}function J$(){we=this,K$.call(this),this.v2b_1=null,this.w2b_1=null,this.x2b_1=null,this.y2b_1=null}function U$(){return null==we&&new J$,we}function H$(t,n,e,r){K$.call(this),this.b2c_1=t,this.c2c_1=n,this.d2c_1=e,this.e2c_1=r}function V$(t,n,e,r){K$.call(this),this.f2c_1=t,this.g2c_1=n,this.h2c_1=e,this.i2c_1=r}function K$(){}function W$(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:no-active-session"),0!=(2&e)&&(n="You do not have an active session. Please establish a valid session and try again."),X$.call(o,t,n),o}function G$(t,n,e,r){var o=W$(t,n,e,r,Object.create(X$.prototype));return Xi(o,G$),o}function X$(t,n){sj.call(this,t,n),this.o2c_1=t,this.p2c_1=n,Xi(this,X$)}function Y$(t,n){this.q2c_1=t,this.r2c_1=n}function Z$(){$e=this}function Q$(){return null==$e&&new Z$,$e}function tj(){je=this}function nj(){return null==je&&new tj,je}function ej(t,n){this.x2c_1=t,this.y2c_1=n}function rj(t,n){this.z2c_1=t,this.a2d_1=n}function oj(t,n){this.b2d_1=t,this.c2d_1=n}function ij(t,n,e,r,o,i){return 0!=(4&r)&&(e=null),uj.call(i,t,n,e),i}function uj(t,n,e){yu(n,e,this),this.s2b_1=t,this.t2b_1=n,this.u2b_1=e,Xi(this,uj)}function sj(t,n){ij(t,n,null,4,null,this),this.i2d_1=t,this.j2d_1=n,Xi(this,sj)}function aj(){}function cj(){}function pj(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:empty-token"),0!=(2&e)&&(n="You provided an empty token. Please provide a valid token."),fj.call(o,t,n),o}function lj(t,n,e,r){var o=pj(t,n,e,r,Object.create(fj.prototype));return Xi(o,lj),o}function fj(t,n){ij(t,n,null,4,null,this),this.n2d_1=t,this.o2d_1=n,Xi(this,fj)}function hj(t,n,e,r,o){return 0!=(1&e)&&(t="system:error:permission"),0!=(2&e)&&(n="Permission denied. Please provide a valid token."),yj.call(o,t,n),o}function _j(t,n,e,r){var o=hj(t,n,e,r,Object.create(yj.prototype));return Xi(o,_j),o}function yj(t,n){sj.call(this,t,n),this.u2d_1=t,this.v2d_1=n,Xi(this,yj)}function dj(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:expired-token"),0!=(2&e)&&(n="You provided an expired token. Please provide a valid token."),gj.call(o,t,n),o}function vj(t,n,e,r){var o=dj(t,n,e,r,Object.create(gj.prototype));return Xi(o,vj),o}function gj(t,n){sj.call(this,t,n),this.b2e_1=t,this.c2e_1=n,Xi(this,gj)}function mj(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:invalid-session"),0!=(2&e)&&(n="The request failed due to an invalid session. Please establish a valid session and try again."),wj.call(o,t,n),o}function bj(t,n,e,r){var o=mj(t,n,e,r,Object.create(wj.prototype));return Xi(o,bj),o}function wj(t,n){sj.call(this,t,n),this.i2e_1=t,this.j2e_1=n,Xi(this,wj)}function $j(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:invalid-token"),0!=(2&e)&&(n="You provided an invalid token. Please provide a valid token."),kj.call(o,t,n),o}function jj(t,n,e,r){var o=$j(t,n,e,r,Object.create(kj.prototype));return Xi(o,jj),o}function kj(t,n){sj.call(this,t,n),this.p2e_1=t,this.q2e_1=n,Xi(this,kj)}function qj(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:max-open-sessions-permitted"),0!=(2&e)&&(n="The maximum amount of open sessions has been established. Please delete them by logging out and try again."),zj.call(o,t,n),o}function Cj(t,n,e,r){var o=qj(t,n,e,r,Object.create(zj.prototype));return Xi(o,Cj),o}function zj(t,n){sj.call(this,t,n),this.w2e_1=t,this.x2e_1=n,Xi(this,zj)}function xj(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:websocket-transport-invalid"),0!=(2&e)&&(n="Session failed due to an invalid websocket transport."),Oj.call(o,t,n),o}function Sj(t,n,e,r){var o=xj(t,n,e,r,Object.create(Oj.prototype));return Xi(o,Sj),o}function Oj(t,n){sj.call(this,t,n),this.d2f_1=t,this.e2f_1=n,Xi(this,Oj)}function Ej(t,n,e,r,o){return 0!=(1&e)&&(t="session:error:timeout"),0!=(2&e)&&(n="Session failed due to a timeout expiration."),Pj.call(o,t,n),o}function Rj(t,n,e,r){var o=Ej(t,n,e,r,Object.create(Pj.prototype));return Xi(o,Rj),o}function Pj(t,n){sj.call(this,t,n),this.k2f_1=t,this.l2f_1=n,Xi(this,Pj)}function Tj(){ke=this}function Aj(){return null==ke&&new Tj,ke}function Nj(){var t,n=qi(Mj),e=[qi(qg),qi(bg),qi(pg),qi(ig),qi(Gv),qi(dm),qi(Tv),qi(Fk),qi(Mv),qi(Qd),qi(cv),qi(mv),qi(um),qi(Sv),qi(Xg),qi(lm),qi(ab),qi(Ag),qi(Lg),qi(bk),qi(hk),qi(zk),qi(Qj),qi(Tk),qi(nm),qi(uk),qi(Vj)];return t=[$g(),vg(),sg(),eg(),Vv(),hm(),Ev(),Bk(),Nv(),Xd(),uv(),dv(),rm(),Cv(),Kg(),am(),ib(),Rg(),Ig(),vk(),pk(),kk(),Xj(),Ek(),Zg(),rk(),Jj()],du("com.vonage.clientcore.core.actions.SocketEvent",n,e,t,[])}function Ij(){qe=this;var t=this,n=lu();t.m2f_1=fu(n,Nj)}function Bj(){return null==qe&&new Ij,qe}function Mj(){Bj()}function Lj(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Vj.call(u,t,n,e,r),u}function Fj(t,n,e,r,o,i){return Lj(t,n,e,r,o,i,Object.create(Vj.prototype))}function Dj(){Ce=this;var t=new zi("com.vonage.clientcore.core.actions.SessionUpdateTokenSuccessEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.n2f_1=t}function Jj(){return null==Ce&&new Dj,Ce}function Uj(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,Jj().n2f_1),u.p2f_1=0==(1&t)?pi():n,u.q2f_1=0==(2&t)?null:e,u.r2f_1=0==(4&t)?null:r,u.s2f_1=0==(8&t)?null:o,u}function Hj(t,n,e,r,o,i){return Uj(t,n,e,r,o,i,Object.create(Vj.prototype))}function Vj(t,n,e,r){Mj.call(this),this.p2f_1=t,this.q2f_1=n,this.r2f_1=e,this.s2f_1=r}function Kj(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Qj.call(u,t,n,e,r),u}function Wj(t,n,e,r,o,i){return Kj(t,n,e,r,o,i,Object.create(Qj.prototype))}function Gj(){ze=this;var t=new zi("com.vonage.clientcore.core.actions.SessionLogoutSuccessEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.t2f_1=t}function Xj(){return null==ze&&new Gj,ze}function Yj(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,Xj().t2f_1),u.v2f_1=0==(1&t)?pi():n,u.w2f_1=0==(2&t)?null:e,u.x2f_1=0==(4&t)?null:r,u.y2f_1=0==(8&t)?null:o,u}function Zj(t,n,e,r,o,i){return Yj(t,n,e,r,o,i,Object.create(Qj.prototype))}function Qj(t,n,e,r){Mj.call(this),this.v2f_1=t,this.w2f_1=n,this.x2f_1=e,this.y2f_1=r}function tk(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),uk.call(u,t,n,e,r),u}function nk(t,n,e,r,o,i){return tk(t,n,e,r,o,i,Object.create(uk.prototype))}function ek(){xe=this;var t=new zi("com.vonage.clientcore.core.actions.SessionTerminatedEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.z2f_1=t}function rk(){return null==xe&&new ek,xe}function ok(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,rk().z2f_1),u.b2g_1=0==(1&t)?pi():n,u.c2g_1=0==(2&t)?null:e,u.d2g_1=0==(4&t)?null:r,u.e2g_1=0==(8&t)?null:o,u}function ik(t,n,e,r,o,i){return ok(t,n,e,r,o,i,Object.create(uk.prototype))}function uk(t,n,e,r){Mj.call(this),this.b2g_1=t,this.c2g_1=n,this.d2g_1=e,this.e2g_1=r}function sk(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),hk.call(u,t,n,e,r),u}function ak(t,n,e,r,o,i){return sk(t,n,e,r,o,i,Object.create(hk.prototype))}function ck(){Se=this;var t=new zi("com.vonage.clientcore.core.actions.SessionInvalidEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.f2g_1=t}function pk(){return null==Se&&new ck,Se}function lk(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,pk().f2g_1),u.h2g_1=0==(1&t)?pi():n,u.i2g_1=0==(2&t)?null:e,u.j2g_1=0==(4&t)?null:r,u.k2g_1=0==(8&t)?null:o,u}function fk(t,n,e,r,o,i){return lk(t,n,e,r,o,i,Object.create(hk.prototype))}function hk(t,n,e,r){Mj.call(this),this.h2g_1=t,this.i2g_1=n,this.j2g_1=e,this.k2g_1=r}function _k(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),bk.call(u,t,n,e,r),u}function yk(t,n,e,r,o,i){return _k(t,n,e,r,o,i,Object.create(bk.prototype))}function dk(){Oe=this;var t=new zi("com.vonage.clientcore.core.actions.SessionExpiredTokenEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.l2g_1=t}function vk(){return null==Oe&&new dk,Oe}function gk(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,vk().l2g_1),u.n2g_1=0==(1&t)?pi():n,u.o2g_1=0==(2&t)?null:e,u.p2g_1=0==(4&t)?null:r,u.q2g_1=0==(8&t)?null:o,u}function mk(t,n,e,r,o,i){return gk(t,n,e,r,o,i,Object.create(bk.prototype))}function bk(t,n,e,r){Mj.call(this),this.n2g_1=t,this.o2g_1=n,this.p2g_1=e,this.q2g_1=r}function wk(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),zk.call(u,t,n,e,r),u}function $k(t,n,e,r,o,i){return wk(t,n,e,r,o,i,Object.create(zk.prototype))}function jk(){Ee=this;var t=new zi("com.vonage.clientcore.core.actions.SessionInvalidTokenEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.r2g_1=t}function kk(){return null==Ee&&new jk,Ee}function qk(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,kk().r2g_1),u.t2g_1=0==(1&t)?pi():n,u.u2g_1=0==(2&t)?null:e,u.v2g_1=0==(4&t)?null:r,u.w2g_1=0==(8&t)?null:o,u}function Ck(t,n,e,r,o,i){return qk(t,n,e,r,o,i,Object.create(zk.prototype))}function zk(t,n,e,r){Mj.call(this),this.t2g_1=t,this.u2g_1=n,this.v2g_1=e,this.w2g_1=r}function xk(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Tk.call(u,t,n,e,r),u}function Sk(t,n,e,r,o,i){return xk(t,n,e,r,o,i,Object.create(Tk.prototype))}function Ok(){Re=this;var t=new zi("com.vonage.clientcore.core.actions.SessionMaxOpenEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.x2g_1=t}function Ek(){return null==Re&&new Ok,Re}function Rk(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,Ek().x2g_1),u.z2g_1=0==(1&t)?pi():n,u.a2h_1=0==(2&t)?null:e,u.b2h_1=0==(4&t)?null:r,u.c2h_1=0==(8&t)?null:o,u}function Pk(t,n,e,r,o,i){return Rk(t,n,e,r,o,i,Object.create(Tk.prototype))}function Tk(t,n,e,r){Mj.call(this),this.z2g_1=t,this.a2h_1=n,this.b2h_1=e,this.c2h_1=r}function Ak(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=pi()),0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),Fk.call(u,t,n,e,r),u}function Nk(t,n,e,r,o,i){return Ak(t,n,e,r,o,i,Object.create(Fk.prototype))}function Ik(){Pe=this;var t=new zi("com.vonage.clientcore.core.actions.AuthorizationErrorEvent",this,4);t.lq("body",!0),t.lq("id",!0),t.lq("cid",!0),t.lq("from",!0),this.d2h_1=t}function Bk(){return null==Pe&&new Ik,Pe}function Mk(t,n,e,r,o,i,u){return 0!=(0&t)&&Pi(t,0,Bk().d2h_1),u.f2h_1=0==(1&t)?pi():n,u.g2h_1=0==(2&t)?null:e,u.h2h_1=0==(4&t)?null:r,u.i2h_1=0==(8&t)?null:o,u}function Lk(t,n,e,r,o,i){return Mk(t,n,e,r,o,i,Object.create(Fk.prototype))}function Fk(t,n,e,r){Mj.call(this),this.f2h_1=t,this.g2h_1=n,this.h2h_1=e,this.i2h_1=r}function Dk(t,n,e,r){this.j2h_1=t,this.k2h_1=n,this.l2h_1=e,this.m2h_1=r}function Jk(t){this.o2h_1=t}function Uk(){return R$(),fe}function Hk(){return R$(),he}function Vk(){return R$(),_e}function Kk(){return T$(),de}function Wk(){return T$(),ve}function Gk(){return T$(),ge}function Xk(){return T$(),me}function Yk(){}function Zk(){}function Qk(t,n,e,r,o,i,u,s){var a,c=null==n?null:pb(n,null,2,null),p=null==c?null==e?null:gb(new Uw(e),null,2,null):c,l=null==p?null==r?null:Cb(new Uw(r),null,2,null):p,f=null==l?null==o?null:Tb(new Uw(o),null,2,null):l,h=null==f?null==i?null:Db(new Uw(i),null,2,null):f,_=null==h?null==u?null:Xb(new Uw(u),null,2,null):h;if(null==_){var y=s;a=null==y?null:ow(su(gu().uy(y)),null,2,null)}else a=_;return a}function tq(t){this.r2h_1=t}function nq(t){return function(n){return n instanceof Ap?t(null,n.b1n_1):(_q(n,t),pi()),pi()}}function eq(t){return function(n){return n instanceof ul?t(null,n.x1n_1):(_q(n,t),pi()),pi()}}function rq(t){return function(n){return n instanceof Fl?t(null,n.x1o_1):(_q(n,t),pi()),pi()}}function oq(t){return function(n){return n instanceof Dl?t(null):(yq(n,t),pi()),pi()}}function iq(t,n,e){return function(r){if(r instanceof kp){var o=qa(n,r.l1m_1,null,null,12,null);t.s2h_1.j1d(new nB(o,uB(null,null,oq(e),3,null))),pi()}else yq(r,e),pi();return pi()}}function uq(t){return function(n){return n instanceof Ul?t(null):(yq(n,t),pi()),pi()}}function sq(t){return function(n){if(n instanceof nf){for(var e=n.p1p_1.m1p_1,r=bu(mu(e,10)),o=e.g();o.h();){var i,u=o.i(),s=u.d1q_1,a=null==s?null:s.t1p_1,c=null==a?null:a.l1m_1,p=u.d1q_1,l=null==p?null:p.t1p_1,f=null==l?null:l.m1m_1;i=fz(u.x1p_1,u.y1p_1,u.z1p_1,c,f,u.a1q_1,u.c1q_1,null,null,384,null),r.a(i)}var h=r,_=n.q1p_1.o1q_1,y=null==_?null:_.k1q_1,d=null==y?null:sx(y),v=n.q1p_1.n1q_1,g=null==v?null:v.k1q_1,m=new $z(h,d,null==g?null:sx(g));t(null,m)}else _q(n,t),pi();return pi()}}function aq(t){return function(n){if(n instanceof Pf){for(var e=n.a1r_1.x1q_1,r=bu(mu(e,10)),o=e.g();o.h();){var i,u=o.i(),s=u.n1m_1,a=null==s?null:s.h1m_1,c=null==a?null:lx(a.e1r_1,a.f1r_1,a.g1r_1,null,null,null,null,120,null);i=Lz(u.l1m_1,u.m1m_1,c,null,null,24,null),r.a(i)}var p=r,l=n.b1r_1.o1q_1,f=null==l?null:l.k1q_1,h=null==f?null:sx(f),_=n.b1r_1.n1q_1,y=null==_?null:_.k1q_1,d=new Kz(p,h,null==y?null:sx(y));t(null,d)}else _q(n,t),pi();return pi()}}function cq(t,n){return function(e){if(e instanceof Gf){for(var r=e.y1r_1.v1r_1,o=bu(mu(r,10)),i=r.g();i.h();){var u;u=i.i().c1y(t),o.a(u)}var s=o,a=e.z1r_1.o1q_1,c=null==a?null:a.k1q_1,p=null==c?null:sx(c),l=e.z1r_1.n1q_1,f=null==l?null:l.k1q_1,h=new zz(s,p,null==f?null:sx(f));n(null,h)}else _q(e,n),pi();return pi()}}function pq(t,n){return function(e){if(e instanceof kp){var r=Bi(e.n1m_1).h1m_1,o=lx(r.e1r_1,r.f1r_1,r.g1r_1,r.h1r_1,r.i1r_1,r.j1r_1,null,64,null);t(null,new Fz(n,e.m1m_1,o,e.o1m_1,e.p1m_1))}else _q(e,t),pi();return pi()}}function lq(t){return function(n){return n instanceof ah?t(null,n.v1s_1):(_q(n,t),pi()),pi()}}function fq(t,n,e,r,o,i,u,s,a,c){return function(p){if(p instanceof kp){var l;try{var f=Qk(t,n,e,r,o,i,u,s);if(null==f)return a(aC(Kq("At least one between text, imageUrl, videoUrl, audioUrl, fileUrl, vCardUrl or customBody must be provided.",null,2,null)),null),pi();l=f}catch(t){if(t instanceof wu)return a(aC(Kq(null,t,1,null)),null),pi();throw t}var h=l,_=new rh(c,p.l1m_1,Jd(),h);t.s2h_1.j1d(new nB(_,uB(null,null,lq(a),3,null))),pi()}else _q(p,a),pi();return pi()}}function hq(t,n){this.s2h_1=t,this.t2h_1=null,n.i1d(new tq(this))}function _q(t,n){n(aC(t instanceof Yi?t:new Gq),null)}function yq(t,n){n(aC(t instanceof Yi?t:new Gq))}function dq(t){Eq(),Te=t}function vq(){return Eq(),Te}function gq(){}function mq(){if(Ne)return pi();Ne=!0,new bq("Verbose",0,"Verbose"),new bq("Debug",1,"Debug"),new bq("Info",2,"Info"),new bq("Warn",3,"Warn"),Ae=new bq("Error",4,"Error"),new bq("Assert",5,"Assert")}function bq(t,n,e){uu.call(this,t,n),this.o2i_1=e}function wq(){if(Le)return pi();Le=!0,Ie=new $q("AP",0,"https://api-ap.vonage.com","https://ws-ap.vonage.com"),Be=new $q("EU",1,"https://api-eu.vonage.com","https://ws-eu.vonage.com"),Me=new $q("US",2,"https://api-us.vonage.com","https://ws-us.vonage.com")}function $q(t,n,e,r){uu.call(this,t,n),this.r2i_1=e,this.s2i_1=r}function jq(){Fe=this,this.t2i_1="/v2/rtc",this.u2i_1=!1,this.v2i_1=zq()}function kq(){return null==Fe&&new jq,Fe}function qq(t,n,e,r,o,i,u,s,a,c){kq(),this.x2i_1=t,this.y2i_1=n,this.z2i_1=e,this.a2j_1=r,this.b2j_1=o,this.c2j_1=i,this.d2j_1=u,this.e2j_1=s,this.f2j_1=a,this.g2j_1=c}function Cq(t){Eq(),dq(t)}function zq(){return mq(),Ae}function xq(){return wq(),Ie}function Sq(){return wq(),Be}function Oq(){return wq(),Me}function Eq(){De||(De=!0,Te=zq())}function Rq(){}function Pq(t){return function(n){var e=n;if(e instanceof Yi)t(aC(n),null);else if(e instanceof ff){var r=n.d1q_1,o=null==r?null:r.t1p_1,i=null==o?null:o.l1m_1,u=n.d1q_1,s=null==u?null:u.t1p_1,a=null==s?null:s.m1m_1,c=n.e1q_1,p=null==c?null:c.m1r_1,l=null==p||p.j()?null:p,f=new hz(n.x1p_1,n.y1p_1,n.z1p_1,i,a,n.a1q_1,n.c1q_1,n.b1q_1,null==l?null:l.toString());t(null,f)}return pi()}}function Tq(t){return function(n){var e=n;if(e instanceof Yi)t(aC(n),null);else if(e instanceof Bf){var r=n.h1r_1,o=null==r||r.j()?null:r,i=n.k1r_1,u=null==i?null:i.m1r_1,s=null==u||u.j()?null:u,a=new _x(n.e1r_1,n.f1r_1,n.g1r_1,o,n.i1r_1,n.j1r_1,null==s?null:s.toString());t(null,a)}return pi()}}function Aq(t){this.s2j_1=t}function Nq(){Xq("voice:error:no_invite_found","No invite found",null,4,null,this),Xi(this,Nq)}function Iq(){Xq("voice:error:invalid_call_action","Invalid call action",null,4,null,this),Xi(this,Iq)}function Bq(t,n,e,r){return 0!=(1&n)&&(t=null),Lq.call(r,t),r}function Mq(t,n,e){var r=Bq(t,n,e,Object.create(Lq.prototype));return Xi(r,Mq),r}function Lq(t){Yq.call(this,"voice:error:inbound_call_failed","Inbound call failed",t),Xi(this,Lq)}function Fq(){Xq("voice:error:no_call_found","No call found",null,4,null,this),Xi(this,Fq)}function Dq(t){Xq("internal:auth:authorization_error",t,null,4,null,this),Xi(this,Dq)}function Jq(){Xq("voice:error:member_not_in_conversation","Member has not joined the conversation",null,4,null,this),Xi(this,Jq)}function Uq(){Xq("voice:error:no_conversation_found","No conversation found",null,4,null,this),Xi(this,Uq)}function Hq(){Xq("voice:error:no_leg_found","No leg found",null,4,null,this),Xi(this,Hq)}function Vq(t,n,e,r,o){return 0!=(1&e)&&(t=null),0!=(2&e)&&(n=null),Wq.call(o,t,n),o}function Kq(t,n,e,r){var o=Vq(t,n,e,r,Object.create(Wq.prototype));return Xi(o,Kq),o}function Wq(t,n){var e=t;Yq.call(this,"internal:error:illegal_argument_exception",null==e?"Incorrect arguments provided to method":e,n),Xi(this,Wq)}function Gq(){Xq("internal:error:unexpected_null_value","Unexpected Null Value",null,4,null,this),Xi(this,Gq)}function Xq(t,n,e,r,o,i){return 0!=(2&r)&&(n=null),0!=(4&r)&&(e=null),Yq.call(i,t,n,e),i}function Yq(t,n,e){yu(n,e,this),this.j2k_1=t,Xi(this,Yq)}function Zq(){Xq("internal:error:serviceNotAvailable","ServiceTempNotAvailable",null,4,null,this),Xi(this,Zq)}function Qq(t){Xq("internal:error:service_no_available","ServiceNotAvailable:"+t,null,4,null,this),Xi(this,Qq)}function tC(t){Yq.call(this,"internal:error:parsing_exception","Error throw whilst parsing data",t),Xi(this,tC)}function nC(t,n,e,r,o,i,u){return 0!=(2&o)&&(n=null),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),iC.call(u,t,n,e,r),u}function eC(t,n,e,r,o,i){var u=nC(t,n,e,r,o,i,Object.create(iC.prototype));return Xi(u,eC),u}function rC(t){return nC(hC(),null,null,null,14,null,t),t}function oC(){var t=rC(Object.create(iC.prototype));return Xi(t,oC),t}function iC(t,n,e,r){yu(e,r,this),this.q2l_1=t,this.r2l_1=n,Xi(this,iC)}function uC(){if(We)return pi();We=!0,Je=new sC("CS_ERROR",0),Ue=new sC("SESSION_ERROR",1),He=new sC("INTERNAL_ERROR",2),Ve=new sC("NETWORK_ERROR",3),Ke=new sC("UNKNOWN_ERROR",4),new sC("HTTP_CLIENT_ERROR",5),new sC("SOCKET_ERROR",6)}function sC(t,n){uu.call(this,t,n)}function aC(t){var n,e=t;if(e instanceof uj){var r=pC(),o=t.r2b(),i=t.g1(),u=t.cause;n=new iC(r,o,i,null==u?t:u)}else if(e instanceof hp){var s,a=cC(),c=t.b1m_1;s=null==c?null:"Invalid Parameters:"+c;var p=t.z1l_1+" - "+s;n=eC(a,t.y1l_1,p,null,8,null)}else if(e instanceof YT)n=eC(fC(),null,t.message,t,2,null);else if(e instanceof Yq)n=t instanceof Zq?new iC(fC(),t.j2k_1,t.message,t):new iC(lC(),t.j2k_1,t.message,t.cause);else{var l=hC(),f=t.message,h=t.cause;n=new iC(l,null,f,null==h?t:h)}return n}function cC(){return uC(),Je}function pC(){return uC(),Ue}function lC(){return uC(),He}function fC(){return uC(),Ve}function hC(){return uC(),Ke}function _C(){}function yC(t,n,e){if(null==n)return pi();var r=n;if(r instanceof Qd){var o=n.d20_1.q20_1.l1r(),i=n.i20_1,u=null==i?null:i.g1t_1;e.q2h(new Sz(n.e20_1,n.g20_1,n.f20_1,n.h20_1,new xz(o,null==u?null:u.l1r())))}else if(r instanceof cv)e.q2h(new Ez(n.y20_1,n.b21_1,n.z20_1,n.a21_1,new Oz(n.x20_1.g21_1.l1r())));else if(r instanceof mv)e.q2h(new Pz(n.m21_1,n.p21_1,n.n21_1,n.o21_1,new Rz(n.l21_1.v21_1.l1r())));else if(r instanceof Sv){var s=n.f22_1,a=null==s?null:s.g1t_1,c=null==a?null:a.l1r(),p=null==c?hx().c2a_1:c,l=n.a22_1;l instanceof kw?e.q2h(new Qz(n.e22_1,n.c22_1,n.d22_1,n.b22_1,new Zz(p,n.a22_1.k28_1))):l instanceof Ow&&e.q2h(new nx(n.e22_1,n.c22_1,n.d22_1,n.b22_1,new tx(p,n.a22_1.i29_1.toString())))}else if(r instanceof Tv)e.x2h();else if(r instanceof Mv){var f=n.s22_1,h=null==f?null:f.g1t_1,_=null==h?null:h.y1s_1;null==_||(e.w2h(n.r1h(),n.o22_1.w22_1,_,n.o22_1.x22_1),pi())}else if(r instanceof Gv)e.y2h(n.e23_1,n.c23_1.i23_1,!0);else if(r instanceof ig)e.y2h(n.n23_1,n.l23_1.i23_1,!1);else if(r instanceof pg)e.z2h(n.t23_1,n.r23_1.x23_1,!0);else if(r instanceof bg)e.z2h(n.c24_1,n.a24_1.x23_1,!1);else if(r instanceof qg)e.a2i(n.i24_1,n.g24_1.n24_1.y2l_1,n.g24_1.m24_1);else if(r instanceof Ag)e.u2h(n.s24_1,n.q24_1.v1z_1.s2l_1,n.q24_1);else if(r instanceof Lg){var y=n.w24_1.f25_1.s2l_1;null==y||(e.v2h(n.y24_1,y),pi())}}function dC(t,n,e){return function(){var r=Bi(t.a2m_1.b2i(qi(mN))),o=r.c2m_1;if(null==o);else{var i=Bi(r.b2m_1.g2(o));yC(t,i.f2m_1,n);var u=i.d2m_1;e.l(o,u),pi()}return pi()}}function vC(t,n){return function(){var e;return e=$u(),new bB(dC(t,n,e))}}function gC(t){this.a2m_1=t}function mC(){}function bC(){}function wC(){}function $C(){}function jC(){}function kC(){Ge=this;var t=new zi("com.vonage.clientcore.core.api.models.MemberChannel",this,3);t.lq("type",!1),t.lq("from",!0),t.lq("to",!0),this.i2m_1=t}function qC(){return null==Ge&&new kC,Ge}function CC(t,n,e,r,o,i){return 1!=(1&t)&&Pi(t,1,qC().i2m_1),i.k2m_1=n,i.l2m_1=0==(2&t)?null:e,i.m2m_1=0==(4&t)?null:r,i}function zC(t,n,e,r,o){return CC(t,n,e,r,o,Object.create(xC.prototype))}function xC(){}function SC(t,n,e,r,o,i,u,s,a,c,p,l,f,h){return 0!=(1&l)&&(t=null),0!=(2&l)&&(n=null),0!=(4&l)&&(e=null),0!=(8&l)&&(r=null),0!=(16&l)&&(o=null),0!=(32&l)&&(i=null),0!=(64&l)&&(u=null),0!=(128&l)&&(s=null),0!=(256&l)&&(a=null),0!=(512&l)&&(c=null),0!=(1024&l)&&(p=null),AC.call(h,t,n,e,r,o,i,u,s,a,c,p),h}function OC(t,n,e,r,o,i,u,s,a,c,p,l,f){return SC(t,n,e,r,o,i,u,s,a,c,p,l,f,Object.create(AC.prototype))}function EC(){Xe=this;var t=new zi("com.vonage.clientcore.core.api.models.UserChannels",this,11);t.lq("app",!0),t.lq("phone",!0),t.lq("pstn",!0),t.lq("sip",!0),t.lq("vbc",!0),t.lq("websocket",!0),t.lq("sms",!0),t.lq("mms",!0),t.lq("whatsapp",!0),t.lq("viber",!0),t.lq("messenger",!0),this.n2m_1=t}function RC(){return null==Xe&&new EC,Xe}function PC(t,n,e,r,o,i,u,s,a,c,p,l,f,h){return 0!=(0&t)&&Pi(t,0,RC().n2m_1),h.h2j_1=0==(1&t)?null:n,h.i2j_1=0==(2&t)?null:e,h.j2j_1=0==(4&t)?null:r,h.k2j_1=0==(8&t)?null:o,h.l2j_1=0==(16&t)?null:i,h.m2j_1=0==(32&t)?null:u,h.n2j_1=0==(64&t)?null:s,h.o2j_1=0==(128&t)?null:a,h.p2j_1=0==(256&t)?null:c,h.q2j_1=0==(512&t)?null:p,h.r2j_1=0==(1024&t)?null:l,h}function TC(t,n,e,r,o,i,u,s,a,c,p,l,f){return PC(t,n,e,r,o,i,u,s,a,c,p,l,f,Object.create(AC.prototype))}function AC(t,n,e,r,o,i,u,s,a,c,p){this.h2j_1=t,this.i2j_1=n,this.j2j_1=e,this.k2j_1=r,this.l2j_1=o,this.m2j_1=i,this.n2j_1=u,this.o2j_1=s,this.p2j_1=a,this.q2j_1=c,this.r2j_1=p}function NC(){Ye=this;var t=new zi("com.vonage.clientcore.core.api.models.Channel",this,2);t.lq("id",!0),t.lq("number",!0),this.p2m_1=t}function IC(){return null==Ye&&new NC,Ye}function BC(t,n,e,r,o){return 0!=(0&t)&&Pi(t,0,IC().p2m_1),o.r2m_1=0==(1&t)?null:n,o.s2m_1=0==(2&t)?null:e,o}function MC(t,n,e,r){return BC(t,n,e,r,Object.create(LC.prototype))}function LC(){}function FC(){return HC()}function DC(){cr=this;var t=this,n=lu();t.t2m_1=fu(n,FC)}function JC(){return KC(),null==cr&&new DC,cr}function UC(){pr=this;var t=new hu("com.vonage.clientcore.core.api.models.ChannelType",11);t.lq("app",!1),t.lq("phone",!1),t.lq("pstn",!1),t.lq("sip",!1),t.lq("vbc",!1),t.lq("websocket",!1),t.lq("sms",!1),t.lq("mms",!1),t.lq("whatsapp",!1),t.lq("viber",!1),t.lq("messenger",!1),this.u2m_1=t}function HC(){return KC(),null==pr&&new UC,pr}function VC(){return[tz(),nz(),ez(),rz(),oz(),iz(),uz(),sz(),az(),cz(),pz()]}function KC(){if(lr)return pi();lr=!0,Ze=new WC("APP",0),Qe=new WC("PHONE",1),tr=new WC("PSTN",2),nr=new WC("SIP",3),er=new WC("VBC",4),rr=new WC("WEBSOCKET",5),or=new WC("SMS",6),ir=new WC("MMS",7),ur=new WC("WHATSAPP",8),sr=new WC("VIBER",9),ar=new WC("MESSENGER",10),JC()}function WC(t,n){uu.call(this,t,n)}function GC(){fr=this;var t=new zi("com.vonage.clientcore.core.api.models.ChannelFromTo",this,3);t.lq("type",!0),t.lq("number",!0),t.lq("user",!0),this.w2m_1=t}function XC(){return null==fr&&new GC,fr}function YC(t,n,e,r,o,i){return 0!=(0&t)&&Pi(t,0,XC().w2m_1),i.y2m_1=0==(1&t)?null:n,i.z2m_1=0==(2&t)?null:e,i.a2n_1=0==(4&t)?null:r,i}function ZC(t,n,e,r,o){return YC(t,n,e,r,o,Object.create(QC.prototype))}function QC(){}function tz(){return KC(),Ze}function nz(){return KC(),Qe}function ez(){return KC(),tr}function rz(){return KC(),nr}function oz(){return KC(),er}function iz(){return KC(),rr}function uz(){return KC(),or}function sz(){return KC(),ir}function az(){return KC(),ur}function cz(){return KC(),sr}function pz(){return KC(),ar}function lz(t,n,e,r,o,i,u,s,a,c,p,l){return 0!=(8&c)&&(r=null),0!=(16&c)&&(o=null),0!=(32&c)&&(i=null),0!=(64&c)&&(u=null),0!=(128&c)&&(s=null),0!=(256&c)&&(a=null),hz.call(l,t,n,e,r,o,i,u,s,a),l}function fz(t,n,e,r,o,i,u,s,a,c,p){return lz(t,n,e,r,o,i,u,s,a,c,p,Object.create(hz.prototype))}function hz(t,n,e,r,o,i,u,s,a){this.b2n_1=t,this.c2n_1=n,this.d2n_1=e,this.e2n_1=r,this.f2n_1=o,this.g2n_1=i,this.h2n_1=u,this.i2n_1=s,this.j2n_1=a}function _z(){hr=this;var t=new zi("com.vonage.clientcore.core.api.models.ConversationTimestamp",this,3);t.lq("created",!0),t.lq("updated",!0),t.lq("destroyed",!0),this.k2n_1=t}function yz(){return null==hr&&new _z,hr}function dz(t,n,e,r,o,i){return 0!=(0&t)&&Pi(t,0,yz().k2n_1),i.m2n_1=0==(1&t)?null:n,i.n2n_1=0==(2&t)?null:e,i.o2n_1=0==(4&t)?null:r,i}function vz(t,n,e,r,o){return dz(t,n,e,r,o,Object.create(gz.prototype))}function gz(){}function mz(){return[jz(),kz(),qz()]}function bz(){if(vr)return pi();vr=!0,_r=new wz("ACTIVE",0),yr=new wz("INACTIVE",1),dr=new wz("DELETED",2)}function wz(t,n){uu.call(this,t,n)}function $z(t,n,e){this.p2n_1=t,this.q2n_1=n,this.r2n_1=e}function jz(){return bz(),_r}function kz(){return bz(),yr}function qz(){return bz(),dr}function Cz(){}function zz(t,n,e){this.s2n_1=t,this.t2n_1=n,this.u2n_1=e}function xz(t,n){this.v2n_1=t,this.w2n_1=n}function Sz(t,n,e,r,o){this.x2n_1=t,this.y2n_1=n,this.z2n_1=e,this.a2o_1=r,this.b2o_1=o}function Oz(t){this.c2o_1=t}function Ez(t,n,e,r,o){this.d2o_1=t,this.e2o_1=n,this.f2o_1=e,this.g2o_1=r,this.h2o_1=o}function Rz(t){this.i2o_1=t}function Pz(t,n,e,r,o){this.j2o_1=t,this.k2o_1=n,this.l2o_1=e,this.m2o_1=r,this.n2o_1=o}function Tz(t,n,e,r,o){this.o2o_1=t,this.p2o_1=n,this.q2o_1=e,this.r2o_1=r,this.s2o_1=o}function Az(t,n,e,r,o,i,u,s,a){this.t2o_1=t,this.u2o_1=n,this.v2o_1=e,this.w2o_1=r,this.x2o_1=o,this.y2o_1=i,this.z2o_1=u,this.a2p_1=s,this.b2p_1=a}function Nz(){return[Wz(),Gz(),Xz(),Yz()]}function Iz(){if($r)return pi();$r=!0,gr=new Bz("INVITED",0),mr=new Bz("JOINED",1),br=new Bz("LEFT",2),wr=new Bz("UNKNOWN",3)}function Bz(t,n){uu.call(this,t,n)}function Mz(t,n,e,r,o,i,u,s){return 0!=(4&i)&&(e=null),0!=(8&i)&&(r=null),0!=(16&i)&&(o=null),Fz.call(s,t,n,e,r,o),s}function Lz(t,n,e,r,o,i,u){return Mz(t,n,e,r,o,i,u,Object.create(Fz.prototype))}function Fz(t,n,e,r,o){this.c2p_1=t,this.d2p_1=n,this.e2p_1=e,this.f2p_1=r,this.g2p_1=o}function Dz(){jr=this;var t=new zi("com.vonage.clientcore.core.api.models.MemberTimestamp",this,3);t.lq("invited",!0),t.lq("joined",!0),t.lq("left",!0),this.h2p_1=t}function Jz(){return null==jr&&new Dz,jr}function Uz(t,n,e,r,o,i){return 0!=(0&t)&&Pi(t,0,Jz().h2p_1),i.j2p_1=0==(1&t)?null:n,i.k2p_1=0==(2&t)?null:e,i.l2p_1=0==(4&t)?null:r,i}function Hz(t,n,e,r,o){return Uz(t,n,e,r,o,Object.create(Vz.prototype))}function Vz(){}function Kz(t,n,e){this.m2p_1=t,this.n2p_1=n,this.o2p_1=e}function Wz(){return Iz(),gr}function Gz(){return Iz(),mr}function Xz(){return Iz(),br}function Yz(){return Iz(),wr}function Zz(t,n){this.p2p_1=t,this.q2p_1=n}function Qz(t,n,e,r,o){this.r2p_1=t,this.s2p_1=n,this.t2p_1=e,this.u2p_1=r,this.v2p_1=o}function tx(t,n){this.w2p_1=t,this.x2p_1=n}function nx(t,n,e,r,o){this.y2p_1=t,this.z2p_1=n,this.a2q_1=e,this.b2q_1=r,this.c2q_1=o}function ex(){}function rx(){}function ox(){if(Cr)return pi();Cr=!0,kr=new ix("ASC",0),qr=new ix("DESC",1)}function ix(t,n){uu.call(this,t,n)}function ux(){}function sx(t){return wB(t,"cursor")}function ax(){return ox(),kr}function cx(){return ox(),qr}function px(t,n,e,r,o,i,u,s,a,c){return 0!=(4&s)&&(e=null),0!=(8&s)&&(r=null),0!=(16&s)&&(o=null),0!=(32&s)&&(i=null),0!=(64&s)&&(u=null),_x.call(c,t,n,e,r,o,i,u),c}function lx(t,n,e,r,o,i,u,s,a){return px(t,n,e,r,o,i,u,s,a,Object.create(_x.prototype))}function fx(){zr=this,this.a2a_1="UNKNOWN_USER_ID",this.b2a_1="UNKNOWN_USER_NAME",this.c2a_1=lx("UNKNOWN_USER_ID","UNKNOWN_USER_NAME",null,null,null,null,null,124,null)}function hx(){return null==zr&&new fx,zr}function _x(t,n,e,r,o,i,u){hx(),this.d2q_1=t,this.e2q_1=n,this.f2q_1=e,this.g2q_1=r,this.h2q_1=o,this.i2q_1=i,this.j2q_1=u}function yx(){xr=this;var t=new zi("com.vonage.clientcore.core.api.models.UserTimestamp",this,3);t.lq("created",!0),t.lq("updated",!0),t.lq("destroyed",!0),this.k2q_1=t}function dx(){return null==xr&&new yx,xr}function vx(t,n,e,r,o,i){return 0!=(0&t)&&Pi(t,0,dx().k2q_1),i.m2q_1=0==(1&t)?null:n,i.n2q_1=0==(2&t)?null:e,i.o2q_1=0==(4&t)?null:r,i}function gx(t,n,e,r,o){return vx(t,n,e,r,o,Object.create(mx.prototype))}function mx(){}function bx(){}function wx(t,n){this.p2q_1=t,this.q2q_1=n}function $x(){}function jx(){if(Rr)return pi();Rr=!0,Sr=new kx("TokenExpired",0),Or=new kx("TransportClosed",1),Er=new kx("PingTimeout",2)}function kx(t,n){uu.call(this,t,n)}function qx(){}function Cx(t,n){var e={_v:null},r=qi(PN);e._v=t.u2q_1.h2m(r,Ax(t,e,n))}function zx(t,n){var e={_v:null},r=qi(PN);e._v=t.u2q_1.h2m(r,Ix(t,e,n))}function xx(t,n){var e={_v:null},r=qi(PN);e._v=t.u2q_1.h2m(r,Mx(t,e,n))}function Sx(t,n,e,r){return function(o){return null!=o?t(G$(null,null,3,null),null):(Cx(n,t),n.u2q_1.j1d(ZI(new Y$(e,r))),pi()),pi()}}function Ox(t,n,e,r){return function(o){return o instanceof Yi?t(o):(n.u2q_1.j1d(ZI(new ej(e,r))),t(null)),pi()}}function Ex(t){return function(n){var e=n;return e instanceof la?(ju("DISPATCHHHING"),t.u2q_1.j1d(ZI(new oj(null,null))),pi()):e instanceof Yi&&(ju("Failed to publish socket reconnection metrics "+Ii(n)),pi()),pi()}}function Rx(t,n){return function(){var e=Bi(t.u2q_1.b2i(qi(PN))),r=n._v;if(!mi(null==r?null:r.z2c_1,e.d2i_1.z2c_1))switch(e.d2i_1.z2c_1.e4_1){case 1:if(e.c2i_1 instanceof EB){var o=t.v2q_1;null==o||o.r2q()}n._v=e.d2i_1,pi();break;case 2:if(e.c2i_1 instanceof EB){var i=t.v2q_1;null==i||i.s2q();var u=e.e2i_1;if(null!=u){var s=ku(MB()).h5(ku(u));if(null!=e.f2i_1){var a=new ua(e.c2i_1.s1().q1m(),s,e.f2i_1,"TIME_TO_RECONNECT_SUCCESS");t.u2q_1.j1d(new nB(a,uB(null,null,Ex(t),3,null)))}}}n._v=e.d2i_1,pi();break;case 0:var c=e.c2i_1.s1().z2b();if(null==c);else{var p=t.v2q_1;null==p||(p.t2q(c),pi())}n._v=e.d2i_1,pi()}return pi()}}function Px(t){return function(){return new bB(Rx(t,{_v:null}))}}function Tx(t,n,e){return function(){var r=Bi(t.u2q_1.b2i(qi(PN))),o=r.c2i_1;if(o instanceof RB){var i=n._v;null==i||i(),r.d2i_1.z2c_1.equals(Vk())&&t.u2q_1.j1d(ZI(nj())),e(o.w2q_1.d3_1,null)}else if(o instanceof EB){var u=n._v;null==u||u(),e(null,o.s1().q1m())}else pi();return pi()}}function Ax(t,n,e){return function(){return new bB(Tx(t,n,e))}}function Nx(t,n,e,r){return function(){var o=Bi(t.u2q_1.b2i(qi(PN)));if(null==o.c2i_1.s1().q1m()&&o.d2i_1.z2c_1.equals(Uk())&&!o.d2i_1.z2c_1.equals(n)){var i=e._v;null==i||i(),r(null)}return pi()}}function Ix(t,n,e){return function(){var r=Bi(t.u2q_1.b2i(qi(PN))).d2i_1.z2c_1;return new bB(Nx(t,r,n,e))}}function Bx(t,n,e){return function(){var r=Bi(t.u2q_1.b2i(qi(PN)));if(mi(r.g2i_1,Wk())){var o=n._v;null==o||o(),e(null)}return pi()}}function Mx(t,n,e){return function(){return new bB(Bx(t,n,e))}}function Lx(t){this.u2q_1=t,this.v2q_1=null;var n=qi(PN);this.u2q_1.h2m(n,Px(this))}function Fx(){return jx(),Sr}function Dx(){return jx(),Or}function Jx(){return jx(),Er}function Ux(){}function Hx(){if(Ir)return pi();Ir=!0,Pr=new Vx("AnsweredElsewhere",0),Tr=new Vx("RejectedElsewhere",1),Ar=new Vx("RemoteCancel",2),Nr=new Vx("RemoteTimeout",3)}function Vx(t,n){uu.call(this,t,n)}function Kx(){if(Jr)return pi();Jr=!0,Br=new Wx("remoteReject",0),Mr=new Wx("remoteHangup",1),Lr=new Wx("remoteNoAnswerTimeout",2),Fr=new Wx("localHangup",3),Dr=new Wx("mediaTimeout",4)}function Wx(t,n){uu.call(this,t,n)}function Gx(t){switch(t){case"ringing":return jO();case"answered":return kO();case"completed":return qO();default:Xx(),_u()}}function Xx(){if(Kr)return pi();Kr=!0,Ur=new Yx("ringing",0),Hr=new Yx("answered",1),Vr=new Yx("completed",2)}function Yx(t,n){uu.call(this,t,n)}function Zx(){}function Qx(t,n){return function(e,r){return e.c2r(r,t,n),pi()}}function tS(t,n){return function(e,r){return e.d2r(r,t,n),pi()}}function nS(t,n){return function(e,r){return e.e2r(r,t,n),pi()}}function eS(t,n){return function(e,r){return e.f2r(r,t.y1z_1,n._v),pi()}}function rS(t,n){return function(e,r){return e.g2r(r,t,Gx(n)),pi()}}function oS(t,n){return function(e,r){return r===t?(e.b2r(r,n),pi()):(e.g2r(r,t,kO()),pi()),pi()}}function iS(t,n,e,r,o,i){return 0!=(4&r)&&(e=qu().q1a("NexmoCore.API.Voice")),QS.call(i,t,n,e),i}function uS(t,n,e,r,o){return iS(t,n,e,r,o,Object.create(QS.prototype))}function sS(t,n,e){var r=aS(t,n);if(null==r)return aC(new Fq);var o,i=r.l2r_1.s1();return i instanceof zI?(e(i.p2r_1,i.q2r_1),o=null):o=aC(new Iq),o}function aS(t,n){return Bi(t.s2r_1.b2i(qi(KN))).w2r_1.g2(n)}function cS(t,n){var e=Bi(t.s2r_1.b2i(qi(KN))).x2r_1.g2(n);return null==e?null:aS(t,e)}function pS(t,n){return Bi(t.s2r_1.b2i(qi(KN))).x2r_1.g2(n)}function lS(t,n){var e=Bi(t.s2r_1.b2i(qi(PN))).c2i_1.s1().i1m();return(null==e?null:e.j2i_1)===n}function fS(t,n,e,r){var o=t.v2r_1;if(null==o);else{var i,u=pS(t,n);if(null==u){var s=e;i=null==s||null==aS(t,s)?null:s}else i=u;var a,c=i;if(null==c){var p=cS(t,n);a=null==p?null:p.k2r_1}else a=c;var l=a;null==l?(t.u2r_1.u1a("Call Id for Conversation Id: "+n+" was not found"),pi()):r(o,l)}}function hS(t,n,e,r,o,i){return 0!=(4&o)&&(e=null),fS(t,n,e,r)}function _S(t,n){(n.m2r_1 instanceof RB||n.m2r_1.s1()instanceof NE)&&t.s2r_1.j1d(ZI(new $$(n.k2r_1)))}function yS(t,n){if(n.l2r_1 instanceof RB){var e=n.l2r_1.s1();(e instanceof qI||e instanceof xI)&&t.s2r_1.j1d(ZI(new $$(n.k2r_1)))}}function dS(t,n,e){var r=new fa(n);t.s2r_1.j1d(new nB(r,uB(null,n,ZS(t,e,n),1,null)))}function vS(t){return function(n){if(n instanceof va){var e=n.y1f_1,r=n.z1f_1,o=n.a1g_1,i=n.b1g_1,u=n.c1g_1,s=n.d1g_1,a=new Az(e,n.e1g_1,s,r,o,i,u,n.f1g_1,n.g1g_1);t(null,a)}else _q(n,t),pi();return pi()}}function gS(t,n,e,r){return function(o){return o instanceof Yi?(t.s2r_1.j1d(ZI(new nO(n.k2r_1,o))),e(aC(o),null)):e(null,r),pi()}}function mS(t,n,e,r){return function(){var o=Bi(t.s2r_1.b2i(qi(KN))).w2r_1.g2(n);if(null==o);else switch(o.o2r_1.e4_1){case 3:var i=e._v;null==i||i();var u=o.j2r_1,s=null==u?null:u.g2("to"),a=null!=s&&"string"==typeof s?s:null,c=new ja(o.i2r_1,new MO(null==a?"":a),n,o.j2r_1);t.s2r_1.j1d(new nB(c,uB(null,o.k2r_1,gS(t,o,r,n),1,null))),pi();break;case 2:case 1:case 0:pi();break;case 5:var p=e._v;null==p||p(),r(aC(Cu("Media Timeout")),null),t.s2r_1.j1d(ZI(new eO(n))),pi();break;case 6:case 4:var l=t.u2r_1;if(l.n1a_1.w1a().g4(zu())<=0){var f,h=zu(),_=l.m1a();f="Unexpected Media Connection Transition during setup",l.v1a(h,_,null,f)}var y=e._v;null==y||y(),t.s2r_1.j1d(ZI(new eO(n))),pi()}return pi()}}function bS(t,n,e,r){return function(){return new bB(mS(t,n,e,r))}}function wS(t,n){return function(e){var r=e;if(null!=r&&"string"==typeof r){var o=e,i={_v:null},u=qi(KN);i._v=t.s2r_1.h2m(u,bS(t,o,i,n)),pi()}else n(r instanceof Yi?aC(e):oC(),null);return pi()}}function $S(t,n,e,r){return function(){var o=Bi(t.s2r_1.b2i(qi(KN))),i=o.w2r_1.g2(n),u=null==i?null:i.m2r_1,s=o.w2r_1.g2(n);if((null==u?null:u.s1())instanceof AE){var a=e._v;null==a||a(),Bi(s).h2r_1&&r(null)}else pi();return pi()}}function jS(t,n,e,r){return function(){return new bB($S(t,n,e,r))}}function kS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function qS(t,n,e,r){return function(){var o=t.s2r_1.b2i(qi(KN)),i=null==o?null:o.w2r_1,u=null==i?null:i.g2(n),s=null==u?null:u.o2r_1;switch(null==s?-1:s.e4_1){case-1:e(aC(new Nq));var a=r._v;null!=a&&a(),pi();break;case 3:var c=r._v;null!=c&&c(),e(null),pi();break;case 5:case 6:var p=r._v;null!=p&&p(),e(aC(Mq(null,1,null))),pi();break;default:pi()}return pi()}}function CS(t,n,e,r){return function(){return new bB(qS(t,n,e,r))}}function zS(t,n){return function(e){var r=e;if(r instanceof Yi)t(aC(new Lq(e)));else if(null!=r&&"string"==typeof r){var o={_v:null},i=qi(KN);o._v=n.s2r_1.h2m(i,CS(n,e,t,o)),pi()}else t(oC());return pi()}}function xS(t,n,e,r){return function(o){if(o instanceof Yi)t(aC(o));else{var i=new oO(e,r.d2s_1,r.c2s_1,r.a2s_1,Bi(r.e2s_1),null);n.s2r_1.j1d(new nB(i,uB(null,null,zS(t,n),3,null))),pi()}return pi()}}function SS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function OS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function ES(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function RS(t,n,e){return function(r,o){t.s2r_1.j1d(ZI(new j$(n)));var i=new Qa(r,n,o);return t.s2r_1.j1d(new nB(i,uB(null,n,ES(e),1,null))),pi()}}function PS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function TS(t,n,e){return function(r,o){t.s2r_1.j1d(ZI(new k$(n)));var i=new pc(r,n,o);return t.s2r_1.j1d(new nB(i,uB(null,n,PS(e),1,null))),pi()}}function AS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function NS(t,n,e){return function(r,o){t.s2r_1.j1d(ZI(new q$(n)));var i=new wc(r,n,o);return t.s2r_1.j1d(new nB(i,uB(null,n,AS(e),1,null))),pi()}}function IS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function BS(t,n,e){return function(r,o){t.s2r_1.j1d(ZI(new C$(n)));var i=new Rc(r,n,o);return t.s2r_1.j1d(new nB(i,uB(null,n,IS(e),1,null))),pi()}}function MS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function LS(t,n,e,r){return function(o,i){t.s2r_1.j1d(ZI(new C$(n)));var u=new Jc(o,n,i,e);return t.s2r_1.j1d(new nB(u,uB(null,n,MS(r),1,null))),pi()}}function FS(t){return function(n){return t(n instanceof Yi?aC(n):null),pi()}}function DS(t,n,e,r,o,i,u,s,a){return function(c,p){var l=new tp(c,p,n,e,r,o,i,u);return t.s2r_1.j1d(new nB(l,uB(null,s,FS(a),1,null))),pi()}}function JS(t){this.j2s_1=t}function US(t,n){return function(){var e=Bi(t.s2r_1.b2i(qi(PN))),r=e.c2i_1.s1().q1m();if(e.d2i_1.z2c_1.equals(Vk()))if(null!=r&&r!=n._v){cN(t.s2r_1,null,null,3);var o,i=t.s2r_1.b2i(qi(NI)),u=null==i?null:i.s2s_1;if(null==u)o=null;else{for(var s=$u(),a=u.q().g();a.h();){var c=a.i(),p=c.s1();mi(p.f2s_1.s1(),kI())&&s.l(c.q1(),c.s1())}o=s}if(null==o);else for(var l=o.q().g();l.h();){var f=l.i(),h=new np(f.s1().d2s_1),_=f.s1().b2s_1;t.s2r_1.j1d(new nB(h,uB(null,_,null,5,null)))}pi()}else pi();else n._v=null,pi();return n._v=e.c2i_1.s1().q1m(),pi()}}function HS(t){return function(){return new bB(US(t,{_v:null}))}}function VS(t,n,e){return function(r){if(r instanceof YT||r instanceof hp||r instanceof Dq){var o=t.s2s_1.g2(n.b2s_1),i=null==o?null:o.f2s_1;null!=i&&mi(i.s1(),kI())&&(e.s2r_1.j1d(ZI(new iO(n.b2s_1))),pi())}else pi();return pi()}}function KS(t,n){return function(){var e,r=Bi(t.s2r_1.b2i(qi(NI)));if(null==r.u2s_1)e=null;else{var o=r.s2s_1,i=r.u2s_1;e=(fi(o,cu)?o:li()).g2(i)}var u=e;if(null==r.u2s_1)pi();else{var s;if(null!=u){var a=r.u2s_1;s=null==(fi(n,cu)?n:li()).g2(a)}else s=!1;if(s){var c=u.b2s_1,p=u.v2s(null,null,null,null,null,null,!1,!1,0,511,null);if(n.l(c,p),Bi(t.s2r_1.b2i(qi(hN))).b2t_1&&u.g2s_1){var l=t.v2r_1;null==l||l.z2q(u.b2s_1,LO(u.a2s_1),u.a2s_1.w2s())}var f=new np(u.d2s_1);t.s2r_1.j1d(new nB(f,uB(null,u.b2s_1,null,5,null)));var h=new w$(new np(u.d2s_1),6e4);t.s2r_1.j1d(new nB(h,uB(null,u.b2s_1,VS(r,u,t),1,null))),pi()}else{var _;if(null!=u&&u.f2s_1.s1()instanceof zI&&null==u.f2s_1.r2s()){var y,d=r.u2s_1,v=null==(y=(fi(n,cu)?n:li()).g2(d))?null:y.f2s_1;_=mi(null==v?null:v.s1(),kI())}else _=!1;if(_){var g=t.v2r_1;null==g||g.a2r(u.b2s_1,_O()),pi()}else{var m;if(null!=u){var b,w,$=r.u2s_1,j=!1===(null==(b=(fi(n,cu)?n:li()).g2($))?null:b.h2s_1),k=r.u2s_1,q=null==(w=(fi(n,cu)?n:li()).g2(k))?null:w.f2s_1;m=!!(j|mi(null==q?null:q.s1(),kI()))}else m=!1;if(m&&u.h2s_1&u.f2s_1.s1()instanceof xI){var C,z,x=r.u2s_1;if(null!=(fi(n,cu)?n:li()).g2(x)){var S,O=r.u2s_1;S=(fi(n,cu)?n:li()).g2(O),z=Bi(S).f2s_1.s1()instanceof zI}else z=!1;if(z)C=null;else if(null!=u.f2s_1.r2s())C=null;else{var E=u.f2s_1.s1(),R=(E instanceof xI?E:li()).q2s_1;Ds(),C="REMOTE_REJECT"===R?yO():487===u.i2s_1?vO():dO()}var P=C;if(null==P);else{var T=t.v2r_1;null==T||(T.a2r(u.b2s_1,P),pi())}pi()}else{var A;if(null==u){var N=r.u2s_1;A=!(null==(fi(n,cu)?n:li()).g2(N))}else A=!1;if(A){var I=r.u2s_1;(fi(n,xu)?n:li()).q3(I),pi()}else pi()}}}}var B=u;if(null==B);else{var M=B.b2s_1,L=B.v2s(null,null,null,null,null,null,!1,!1,0,511,null);n.l(M,L),pi()}return pi()}}function WS(t){return function(){var n;return n=$u(),new bB(KS(t,n))}}function GS(t,n){return function(){var e,r=Bi(t.s2r_1.b2i(qi(KN)));if(null==r.z2r_1)e=null;else{var o=r.w2r_1,i=r.z2r_1;e=(fi(o,cu)?o:li()).g2(i)}var u=e;if(null==r.z2r_1)pi();else{var s;if(null!=u){var a=r.z2r_1;s=null==(fi(n,cu)?n:li()).g2(a)}else s=!1;if(s){var c=u.k2r_1,p=u.e2t(!1,null,null,null,null,null,null,null,255,null);n.l(c,p),pi()}else{var l;if(null!=u){var f=r.z2r_1;l=!(null==(fi(n,cu)?n:li()).g2(f))}else l=!1;if(l){var h,_=r.z2r_1;h=(fi(n,cu)?n:li()).g2(_);var y=Bi(h),d=u.k2r_1,v=u.e2t(!1,null,null,null,null,null,null,null,255,null);n.l(d,v),mi(u.l2r_1,y.l2r_1)||yS(t,u),null==u.n2r_1.f2t_1&&!u.h2r_1||u.n2r_1.equals(y.n2r_1)&&mi(u.m2r_1,y.m2r_1)||(_S(t,u),pi())}else pi()}}return pi()}}function XS(t){return function(){var n;return n=$u(),new bB(GS(t,n))}}function YS(t,n,e,r){return function(o){return o instanceof kp?1===o.m1m_1.e4_1?(t.s2r_1.j1d(ZI(new rO(n,o.l1m_1,e.z1f_1))),pi()):r(aC(new Jq)):(r(aC(new Uq)),t.s2r_1.j1d(ZI(new eO(n))),pi()),pi()}}function ZS(t,n,e){return function(r){if(r instanceof va){var o=new _p(r.z1f_1);t.s2r_1.j1d(new nB(o,uB(null,r.y1f_1,YS(t,e,r,n),1,null))),pi()}else n(aC(new Hq)),t.s2r_1.j1d(ZI(new eO(e))),pi();return pi()}}function QS(t,n,e){this.s2r_1=t,this.t2r_1=n,this.u2r_1=e,this.v2r_1=null,this.t2r_1.i1d(new JS(this));var r=qi(PN);this.s2r_1.h2m(r,HS(this));var o=qi(NI);this.s2r_1.h2m(o,WS(this));var i=qi(KN);this.s2r_1.h2m(i,XS(this))}function tO(t,n){this.j2t_1=t,this.k2t_1=n}function nO(t,n){this.l2t_1=t,this.m2t_1=n}function eO(t){this.n2t_1=t}function rO(t,n,e){this.p2t_1=t,this.q2t_1=n,this.r2t_1=e}function oO(t,n,e,r,o,i){this.t2t_1=t,this.u2t_1=n,this.v2t_1=e,this.w2t_1=r,this.x2t_1=o,this.y2t_1=i}function iO(t){this.b2u_1=t}function uO(){}function sO(t,n){this.c2u_1=t,this.d2u_1=n}function aO(t,n,e,r,o,i,u,s){return 0!=(16&i)&&(o=null),pO.call(s,t,n,e,r,o),s}function cO(t,n,e,r,o,i,u){return aO(t,n,e,r,o,i,u,Object.create(pO.prototype))}function pO(t,n,e,r,o){this.e2u_1=t,this.f2u_1=n,this.g2u_1=e,this.h2u_1=r,this.i2u_1=o}function lO(t){this.l2u_1=t}function fO(t){this.m2u_1=t}function hO(t,n){this.n2u_1=t,this.o2u_1=n}function _O(){return Hx(),Pr}function yO(){return Hx(),Tr}function dO(){return Hx(),Ar}function vO(){return Hx(),Nr}function gO(){return Kx(),Br}function mO(){return Kx(),Mr}function bO(){return Kx(),Lr}function wO(){return Kx(),Fr}function $O(){return Kx(),Dr}function jO(){return Xx(),Ur}function kO(){return Xx(),Hr}function qO(){return Xx(),Vr}function CO(){return[jE(),kE(),qE(),CE()]}function zO(){if(Zr)return pi();Zr=!0,Wr=new xO("app",0),Gr=new xO("phone",1),Xr=new xO("sip",2),Yr=new xO("websocket",3)}function xO(t,n){uu.call(this,t,n)}function SO(){var t,n=qi(RO),e=[qi(KO),qi(GO),qi(MO),qi(rE),qi(pE)],r=UO(),o=XO();return t=[r,Su("com.vonage.clientcore.core.conversation.AppChannelEndpointNoUser",o,[]),NO(),tE(),sE()],du("com.vonage.clientcore.core.conversation.ChannelEndpoint",n,e,t,[])}function OO(){Qr=this;var t=this,n=lu();t.p2u_1=fu(n,SO)}function EO(){return null==Qr&&new OO,Qr}function RO(){EO()}function PO(){to=this}function TO(){return null==to&&new PO,to}function AO(){no=this;var t=new zi("com.vonage.clientcore.core.conversation.PhoneChannelEndpoint",this,2);t.lq("number",!1),t.lq("type",!0),this.q2u_1=t}function NO(){return null==no&&new AO,no}function IO(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,NO().q2u_1),o.n1g_1=n,o.o1g_1=0==(2&t)?kE():e,o}function BO(t,n,e,r){return IO(t,n,e,r,Object.create(MO.prototype))}function MO(t){TO(),RO.call(this),this.n1g_1=t,this.o1g_1=kE()}function LO(t){var n,e=t;if(e instanceof MO)n=t.n1g_1;else if(e instanceof KO)n=t.p1g_1;else if(e instanceof GO)n="";else if(e instanceof rE){var r=t.i1g_1;n=null==r?"":r}else e instanceof pE?n=t.l1g_1:pu();return n}function FO(){eo=this}function DO(){return null==eo&&new FO,eo}function JO(){ro=this;var t=new zi("com.vonage.clientcore.core.conversation.AppChannelEndpoint",this,2);t.lq("user",!1),t.lq("type",!0),this.t2u_1=t}function UO(){return null==ro&&new JO,ro}function HO(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,UO().t2u_1),o.p1g_1=n,o.q1g_1=0==(2&t)?jE():e,o}function VO(t,n,e,r){return HO(t,n,e,r,Object.create(KO.prototype))}function KO(t){DO(),RO.call(this),this.p1g_1=t,this.q1g_1=jE()}function WO(){var t=XO();return Su("com.vonage.clientcore.core.conversation.AppChannelEndpointNoUser",t,[])}function GO(){oo=this,RO.call(this),this.v2u_1=jE();var t=this,n=lu();t.w2u_1=fu(n,WO)}function XO(){return null==oo&&new GO,oo}function YO(){io=this}function ZO(){return null==io&&new YO,io}function QO(){uo=this;var t=new zi("com.vonage.clientcore.core.conversation.SipChannelEndpoint",this,4);t.lq("uri",!1),t.lq("username",!0),t.lq("password",!0),t.lq("type",!0),this.x2u_1=t}function tE(){return null==uo&&new QO,uo}function nE(t,n,e,r,o,i,u){return 1!=(1&t)&&Pi(t,1,tE().x2u_1),u.h1g_1=n,u.i1g_1=0==(2&t)?null:e,u.j1g_1=0==(4&t)?null:r,u.k1g_1=0==(8&t)?qE():o,u}function eE(t,n,e,r,o,i){return nE(t,n,e,r,o,i,Object.create(rE.prototype))}function rE(t,n,e){ZO(),RO.call(this),this.h1g_1=t,this.i1g_1=n,this.j1g_1=e,this.k1g_1=qE()}function oE(){so=this}function iE(){return null==so&&new oE,so}function uE(){ao=this;var t=new zi("com.vonage.clientcore.core.conversation.WebSocketChannelEndpoint",this,2);t.lq("uri",!1),t.lq("type",!0),this.b2v_1=t}function sE(){return null==ao&&new uE,ao}function aE(t,n,e,r,o){return 1!=(1&t)&&Pi(t,1,sE().b2v_1),o.l1g_1=n,o.m1g_1=0==(2&t)?CE():e,o}function cE(t,n,e,r){return aE(t,n,e,r,Object.create(pE.prototype))}function pE(t){iE(),RO.call(this),this.l1g_1=t,this.m1g_1=CE()}function lE(){co=this;var t=new zi("com.vonage.clientcore.core.conversation.DTMFChannel",this,2);t.lq("id",!0),t.lq("type",!0),this.d2v_1=t}function fE(){return null==co&&new lE,co}function hE(t,n,e,r,o){return 0!=(0&t)&&Pi(t,0,fE().d2v_1),o.y2l_1=0==(1&t)?null:n,o.z2l_1=0==(2&t)?jE().d4_1:e,o}function _E(t,n,e,r){return hE(t,n,e,r,Object.create(yE.prototype))}function yE(t,n){this.y2l_1=t,this.z2l_1=n}function dE(){po=this;var t=new zi("com.vonage.clientcore.core.conversation.Channel",this,6);t.lq("id",!0),t.lq("knocking_id",!0),t.lq("type",!1),t.lq("leg_ids",!0),t.lq("from",!0),t.lq("to",!0),this.f2v_1=t}function vE(){return null==po&&new dE,po}function gE(t,n,e,r,o,i,u,s,a){return 4!=(4&t)&&Pi(t,4,vE().f2v_1),a.s2l_1=0==(1&t)?null:n,a.t2l_1=0==(2&t)?null:e,a.u2l_1=r,a.v2l_1=0==(8&t)?null:o,a.w2l_1=0==(16&t)?null:i,a.x2l_1=0==(32&t)?null:u,a}function mE(t,n,e,r,o,i,u,s){return gE(t,n,e,r,o,i,u,s,Object.create(bE.prototype))}function bE(){}function wE(){lo=this,ru.call(this,qi(RO))}function $E(){return null==lo&&new wE,lo}function jE(){return zO(),Wr}function kE(){return zO(),Gr}function qE(){return zO(),Xr}function CE(){return zO(),Yr}function zE(){fo=this;var t=new zi("com.vonage.clientcore.core.conversation.ConversationInfo",this,3);t.lq("conversation_id",!1),t.lq("name",!1),t.lq("display_name",!0),this.j2v_1=t}function xE(){return null==fo&&new zE,fo}function SE(t,n,e,r,o,i){return 3!=(3&t)&&Pi(t,3,xE().j2v_1),i.l2v_1=n,i.m2v_1=e,i.n2v_1=0==(4&t)?null:r,i}function OE(t,n,e,r,o){return SE(t,n,e,r,o,Object.create(EE.prototype))}function EE(){}function RE(){ho=this,IE.call(this),this.o2v_1=null}function PE(){return null==ho&&new RE,ho}function TE(t){IE.call(this),this.p2v_1=t}function AE(t){IE.call(this),this.q2v_1=t}function NE(t,n){IE.call(this),this.r2v_1=t,this.s2v_1=n}function IE(){}function BE(t){LE.call(this),this.t2v_1=t}function ME(t){LE.call(this),this.u2v_1=t}function LE(){}function FE(t,n,e,r,o,i){return 0!=(1&r)&&(t=null),0!=(2&r)&&(n=null),0!=(4&r)&&(e=!1),JE.call(i,t,n,e),i}function DE(t,n,e,r,o){return FE(t,n,e,r,o,Object.create(JE.prototype))}function JE(t,n,e){this.f2t_1=t,this.g2t_1=n,this.h2t_1=e}function UE(){_o=this;var t=new zi("com.vonage.clientcore.core.conversation.UserAudio",this,3);t.lq("enabled",!1),t.lq("earmuffed",!1),t.lq("muted",!1),this.x2v_1=t}function HE(){return null==_o&&new UE,_o}function VE(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,HE().x2v_1),i.z2v_1=n,i.a2w_1=e,i.b2w_1=r,i}function KE(t,n,e,r,o){return VE(t,n,e,r,o,Object.create(WE.prototype))}function WE(){}function GE(){yo=this;var t=new zi("com.vonage.clientcore.core.conversation.InvitedUserMedia",this,1);t.lq("audio_settings",!1),this.c2w_1=t}function XE(){return null==yo&&new GE,yo}function YE(t,n,e,r){return 1!=(1&t)&&Pi(t,1,XE().c2w_1),r.e2w_1=n,r}function ZE(t,n,e){return YE(t,n,e,Object.create(QE.prototype))}function QE(){}function tR(){vo=this;var t=new zi("com.vonage.clientcore.core.conversation.RTCQuality",this,9);t.lq("mos_score",!1),t.lq("quality_percentage",!1),t.lq("jitter_min_var",!1),t.lq("jitter_max_var",!1),t.lq("jitter_loss_rate",!1),t.lq("jitter_burst_rate",!1),t.lq("flaw_total",!1),t.lq("packet_cnt",!1),t.lq("packet_loss_perc",!1),this.f2w_1=t}function nR(){return null==vo&&new tR,vo}function eR(t,n,e,r,o,i,u,s,a,c,p,l){return 511!=(511&t)&&Pi(t,511,nR().f2w_1),l.h2w_1=n,l.i2w_1=e,l.j2w_1=r,l.k2w_1=o,l.l2w_1=i,l.m2w_1=u,l.n2w_1=s,l.o2w_1=a,l.p2w_1=c,l}function rR(t,n,e,r,o,i,u,s,a,c,p){return eR(t,n,e,r,o,i,u,s,a,c,p,Object.create(oR.prototype))}function oR(){}function iR(){return cR()}function uR(){qo=this;var t=this,n=lu();t.q2w_1=fu(n,iR)}function sR(){return lR(),null==qo&&new uR,qo}function aR(){Co=this;var t=new hu("com.vonage.clientcore.core.conversation.CallCompleteReason",7);t.lq("LocalHangup",!1),t.lq("LocalCancel",!1),t.lq("RemoteHangup",!1),t.lq("MaxLength",!1),t.lq("RingTimeout",!1),t.lq("Failed",!1),t.lq("Unknown",!1),this.r2w_1=t}function cR(){return lR(),null==Co&&new aR,Co}function pR(){return[qR(),CR(),zR(),xR(),SR(),OR(),ER()]}function lR(){if(zo)return pi();zo=!0,go=new fR("LocalHangup",0),mo=new fR("LocalCancel",1),bo=new fR("RemoteHangup",2),wo=new fR("MaxLength",3),$o=new fR("RingTimeout",4),jo=new fR("Failed",5),ko=new fR("Unknown",6),sR()}function fR(t,n){uu.call(this,t,n)}function hR(){xo=this;var t=new zi("com.vonage.clientcore.core.conversation.RTCHangupReason",this,3);t.lq("text",!1),t.lq("code",!1),t.lq("sip_code",!1),this.t2w_1=t}function _R(){return null==xo&&new hR,xo}function yR(t,n,e,r,o,i){return 7!=(7&t)&&Pi(t,7,_R().t2w_1),i.k2s_1=n,i.l2s_1=e,i.m2s_1=r,i}function dR(t,n,e,r,o){return yR(t,n,e,r,o,Object.create(vR.prototype))}function vR(){}function gR(){So=this,this.v2w_1=Ru("RTCHangupReason.code",Eu())}function mR(){return null==So&&new gR,So}function bR(){Oo=this;var t=new zi("com.vonage.clientcore.core.conversation.RTCBandwidth",this,2);t.lq("bytes_in",!1),t.lq("bytes_out",!1),this.w2w_1=t}function wR(){return null==Oo&&new bR,Oo}function $R(t,n,e,r,o){return 3!=(3&t)&&Pi(t,3,wR().w2w_1),o.y2w_1=n,o.z2w_1=e,o}function jR(t,n,e,r){return $R(t,n,e,r,Object.create(kR.prototype))}function kR(){}function qR(){return lR(),go}function CR(){return lR(),mo}function zR(){return lR(),bo}function xR(){return lR(),wo}function SR(){return lR(),$o}function OR(){return lR(),jo}function ER(){return lR(),ko}function RR(){return JR(),Eo}function PR(){JR();var t=new LR,n=Tu(IB(),Pu(1,5));return new Au(t,"vonage.core."+n+"."+RR())}function TR(t,n){return JR(),t.q1a(t.m1a()+"."+n)}function AR(t,n,e){return JR(),FR(n,e,t)}function NR(t,n,e){return JR(),DR(n,e,t)}function IR(t,n,e){var r;if(JR(),t.n1a_1.w1a().g4(di())<=0){var o,i=di(),u=t.m1a(),s=Nu(n.a2x_1).rb();o=(null==s?"unknown":s)+" "+n.b2x_1.c2x_1+" "+e(),t.v1a(i,u,null,o),r=pi()}return r}function BR(t,n,e){var r;if(JR(),t.n1a_1.w1a().g4(Iu())<=0){var o,i=Iu(),u=t.m1a(),s=Nu(n.a2x_1).rb();o=(null==s?"unknown":s)+" "+n.b2x_1.c2x_1+" "+e(),t.v1a(i,u,null,o),r=pi()}return r}function MR(t,n,e){var r;if(JR(),t.n1a_1.w1a().g4(Bu())<=0){var o,i=Bu(),u=t.m1a(),s=Nu(n.a2x_1).rb();o=(null==s?"unknown":s)+" "+n.b2x_1.c2x_1+" "+e(),t.v1a(i,u,null,o),r=pi()}return r}function LR(){this.f2x_1=qu().n1a_1.x1a(),this.g2x_1=Mu(vq().l2i())}function FR(t,n,e){return function(r,o){if(r instanceof Yi){if(t.n1a_1.w1a().g4(Iu())<=0){var i,u=Iu(),s=t.m1a(),a=r.message,c=r.cause;i=n+" Callback - Error: "+a+" "+vi(null==c?"":c),t.v1a(u,s,null,i),pi()}}else if(t.n1a_1.w1a().g4(di())<=0){var p,l=di(),f=t.m1a();p=n+" Callback - params: "+r+", "+o,t.v1a(l,f,null,p),pi()}return e(r,o)}}function DR(t,n,e){return function(r){if(r instanceof Yi){if(t.n1a_1.w1a().g4(Iu())<=0){var o,i=Iu(),u=t.m1a(),s=r.message,a=r.cause;o=n+" Callback - Error: "+s+" "+vi(null==a?"":a),t.v1a(i,u,null,o),pi()}}else if(t.n1a_1.w1a().g4(di())<=0){var c,p=di(),l=t.m1a();c=n+" Callback - params: "+r,t.v1a(p,l,null,c),pi()}return e(r)}}function JR(){Ro||(Ro=!0,Eo=Ps().a1b_1)}function UR(t,n){this.h2x_1=t,this.i2x_1=TR(n,"http")}function HR(t,n){this.k2x_1=t,this.l2x_1=TR(n,"socket")}function VR(t,n){this.s2x_1=t,this.t2x_1=TR(n,"media")}function KR(t){var n=function(n,e,r){return t.b1c(n,e,r),pi()};return n.callableName="createSession",n}function WR(t){var n=function(n,e,r){return t.b1c(n,e,r),pi()};return n.callableName="createSession",n}function GR(t){var n=function(n){return t.c1c(n),pi()};return n.callableName="deleteSession",n}function XR(t){var n=function(n){return t.c1c(n),pi()};return n.callableName="deleteSession",n}function YR(t){var n=function(n,e){return t.d1c(n,e),pi()};return n.callableName="refreshSession",n}function ZR(t){var n=function(n,e){return t.d1c(n,e),pi()};return n.callableName="refreshSession",n}function QR(t){var n=function(n){return t.b1b(n),pi()};return n.callableName="setSessionListener",n}function tP(t,n){this.c2y_1=t,this.d2y_1=TR(n,"session")}function nP(t){var n=function(n,e){return t.f1b(n,e),pi()};return n.callableName="reconnectCall",n}function eP(t){var n=function(n,e){return t.f1b(n,e),pi()};return n.callableName="reconnectCall",n}function rP(t){var n=function(n,e){return t.g1b(n,e),pi()};return n.callableName="getLeg",n}function oP(t){var n=function(n,e){return t.g1b(n,e),pi()};return n.callableName="getLeg",n}function iP(t){var n=function(n,e){return t.h1b(n,e),pi()};return n.callableName="rejectCall",n}function uP(t){var n=function(n,e){return t.h1b(n,e),pi()};return n.callableName="rejectCall",n}function sP(t){var n=function(n,e){return t.i1b(n,e),pi()};return n.callableName="answerCall",n}function aP(t){var n=function(n,e){return t.i1b(n,e),pi()};return n.callableName="answerCall",n}function cP(t){var n=function(n,e){return t.k1b(n,e),pi()};return n.callableName="mute",n}function pP(t){var n=function(n,e){return t.k1b(n,e),pi()};return n.callableName="mute",n}function lP(t){var n=function(n,e){return t.l1b(n,e),pi()};return n.callableName="unmute",n}function fP(t){var n=function(n,e){return t.l1b(n,e),pi()};return n.callableName="unmute",n}function hP(t){var n=function(n,e){return t.m1b(n,e),pi()};return n.callableName="enableEarmuff",n}function _P(t){var n=function(n,e){return t.m1b(n,e),pi()};return n.callableName="enableEarmuff",n}function yP(t){var n=function(n,e){return t.n1b(n,e),pi()};return n.callableName="disableEarmuff",n}function dP(t){var n=function(n,e){return t.n1b(n,e),pi()};return n.callableName="disableEarmuff",n}function vP(t){var n=function(n,e,r){return t.o1b(n,e,r),pi()};return n.callableName="sendDTMF",n}function gP(t){var n=function(n,e,r){return t.o1b(n,e,r),pi()};return n.callableName="sendDTMF",n}function mP(t){var n=function(n,e,r,o,i,u,s,a){return t.p1b(n,e,r,o,i,u,s,a),pi()};return n.callableName="say",n}function bP(t){var n=function(n,e,r,o,i,u,s,a){return t.p1b(n,e,r,o,i,u,s,a),pi()};return n.callableName="say",n}function wP(t){var n=function(n){return t.d1b(n),pi()};return n.callableName="setVoiceListener",n}function $P(t,n){this.e2y_1=t,this.f2y_1=TR(n,"voice"),this.g2y_1="serverCall()"}function jP(t){var n=function(){return t.r2q(),pi()};return n.callableName="onReconnecting",n}function kP(t){var n=function(){return t.s2q(),pi()};return n.callableName="onReconnection",n}function qP(t){var n=function(n){return t.t2q(n),pi()};return n.callableName="onSessionError",n}function CP(t,n){this.h2y_1=t,this.i2y_1=TR(n,"session.listener")}function zP(t,n){return RP(n)}function xP(t,n){this.j2y_1=t,this.k2y_1=n}function SP(){return""}function OP(t){return function(){return"Invoking Callback with value:"+Ii(t.a2x_1.k2y_1)}}function EP(t,n){return function(e){return MR(t,e,SP),e.a2x_1 instanceof xP?(MR(t,e,OP(e)),e.a2x_1.j2y_1(e.a2x_1.k2y_1)):pi(),n(e)}}function RP(t){return function(n){return EP(t,n)}}function PP(){}function TP(t,n){return IP(n)}function AP(t){return function(){return"Unhandled Exception:\n "+t}}function NP(t,n){return function(e){var r;try{r=t(e)}catch(o){if(!(o instanceof Yi))throw o;BR(n,e,AP(o)),r=t(ZI(new Js(o,e)))}return r}}function IP(t){return function(n){return NP(n,t)}}function BP(t,n){return FP(n)}function MP(t){return function(){return"NEW ACTION - "+vi(t.a2x_1)+" - "+t.b2x_1}}function LP(t,n){return function(e){return IR(t,e,MP(e)),n(e)}}function FP(t){return function(n){return LP(t,n)}}function DP(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),gT.call(o,t,n),o}function JP(t,n,e,r){return DP(t,n,e,r,Object.create(gT.prototype))}function UP(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),mT.call(o,t,n),o}function HP(t,n,e,r){return UP(t,n,e,r,Object.create(mT.prototype))}function VP(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),bT.call(o,t,n),o}function KP(t,n,e,r){return VP(t,n,e,r,Object.create(bT.prototype))}function WP(t,n,e,r,o,i){return 0!=(4&r)&&(e="v0.3"),wT.call(i,t,n,e),i}function GP(t,n,e,r,o){return WP(t,n,e,r,o,Object.create(wT.prototype))}function XP(t,n,e,r){return 0!=(1&n)&&(t="v0.3"),$T.call(r,t),r}function YP(t,n,e){return XP(t,n,e,Object.create($T.prototype))}function ZP(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),jT.call(o,t,n),o}function QP(t,n,e,r){return ZP(t,n,e,r,Object.create(jT.prototype))}function tT(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),kT.call(o,t,n),o}function nT(t,n,e,r){return tT(t,n,e,r,Object.create(kT.prototype))}function eT(t,n,e,r,o,i){return 0!=(4&r)&&(e="v0.3"),qT.call(i,t,n,e),i}function rT(t,n,e,r,o){return eT(t,n,e,r,o,Object.create(qT.prototype))}function oT(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),CT.call(o,t,n),o}function iT(t,n,e,r){return oT(t,n,e,r,Object.create(CT.prototype))}function uT(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),zT.call(o,t,n),o}function sT(t,n,e,r){return uT(t,n,e,r,Object.create(zT.prototype))}function aT(t,n,e,r){return 0!=(1&n)&&(t="v0.3"),xT.call(r,t),r}function cT(t,n,e){return aT(t,n,e,Object.create(xT.prototype))}function pT(t,n,e,r,o){return 0!=(2&e)&&(n="v0.3"),ST.call(o,t,n),o}function lT(t,n,e,r){return pT(t,n,e,r,Object.create(ST.prototype))}function fT(t,n,e,r){return 0!=(1&n)&&(t="v0.3"),OT.call(r,t),r}function hT(t,n,e){return fT(t,n,e,Object.create(OT.prototype))}function _T(t,n,e,r,o){return 0!=(2&e)&&(n="v0.2"),ET.call(o,t,n),o}function yT(t,n,e,r){return _T(t,n,e,r,Object.create(ET.prototype))}function dT(t,n,e,r,o,i){return 0!=(4&r)&&(e="v0.3"),RT.call(i,t,n,e),i}function vT(t,n,e,r,o){return dT(t,n,e,r,o,Object.create(RT.prototype))}function gT(t,n){PT.call(this),this.p2y_1=t,this.q2y_1=n}function mT(t,n){PT.call(this),this.s2y_1=t,this.t2y_1=n}function bT(t,n){PT.call(this),this.u2y_1=t,this.v2y_1=n}function wT(t,n,e){PT.call(this),this.w2y_1=t,this.x2y_1=n,this.y2y_1=e}function $T(t){PT.call(this),this.z2y_1=t}function jT(t,n){PT.call(this),this.a2z_1=t,this.b2z_1=n}function kT(t,n){PT.call(this),this.c2z_1=t,this.d2z_1=n}function qT(t,n,e){PT.call(this),this.e2z_1=t,this.f2z_1=n,this.g2z_1=e}function CT(t,n){PT.call(this),this.h2z_1=t,this.i2z_1=n}function zT(t,n){PT.call(this),this.j2z_1=t,this.k2z_1=n}function xT(t){PT.call(this),this.l2z_1=t}function ST(t,n){PT.call(this),this.m2z_1=t,this.n2z_1=n}function OT(t){PT.call(this),this.o2z_1=t}function ET(t,n){PT.call(this),this.p2z_1=t,this.q2z_1=n}function RT(t,n,e){PT.call(this),this.r2z_1=t,this.s2z_1=n,this.t2z_1=e}function PT(){}function TT(t){AT.call(this),this.u2z_1=t}function AT(){}function NT(){return JT(),Po}function IT(t,n,e){return JT(),DT(e,t,n)}function BT(t){return JT(),t.sz_1=!0,t.qz_1=!0,t.zz_1="kotlin",pi()}function MT(){return JT(),""}function LT(t,n,e){return function(r,o){if(t.n1a_1.w1a().g4(di())<=0){var i,u=di(),s=t.m1a();i="Callback RESPONSE --\x3e "+o,t.v1a(u,s,null,i),pi()}var a,c=r;if(null==c){var p;if(null==o)p=new Gq;else if(503===o.v2z_1)p=new Zq;else if(o.v2z_1>=500)p=new Qq(o.v2z_1);else if(401===o.v2z_1)p=new Dq(o.w2z_1);else if(o.v2z_1>=400){var l=QT(o);p=null==l?new tC(Cu("CSErrorParsing")):l}else{var f;if(null==o.w2z_1)f=null;else{var h;try{var _=n.a2x_1.x1e(o.w2z_1,NT()),y=n.b2x_1.d2x_1;e.j1d(new nB(_,uB(null,y,null,5,null))),null!=n.b2x_1.e2x_1&&e.j1d(ZI(new xP(Bi(n.b2x_1.e2x_1),_))),h=null}catch(t){if(!(t instanceof Yi))throw t;h=new tC(t)}f=h}p=f}a=p}else a=c;var d=a;if(null!=d){if(t.n1a_1.w1a().g4(Iu())<=0){var v,g=Iu(),m=t.m1a();v="Callback ERROR --\x3e "+d,t.v1a(g,m,null,v)}e.j1d(tB().x2z(d,n)),null!=n.b2x_1.e2x_1&&(e.j1d(ZI(new xP(Bi(n.b2x_1.e2x_1),d))),pi())}return pi()}}function FT(t,n,e,r){return function(o){MR(t,o,MT);var i="";null!=Bi(n.b2i(qi(PN))).c2i_1.s1().q1m()&&(i=Bi(Bi(n.b2i(qi(PN))).c2i_1.s1().q1m()),pi());var u,s=o.a2x_1;if(fi(s,qh)){var a,c=o.a2x_1.u1e();if(c instanceof AT){var p,l=n.b2i(qi(hN)),f=null==l?null:l.x2s_1;a=null==(p=null==f?null:Fu(f,"wss","https",!1,4,null))?"":p}else if(c instanceof PT){var h=n.b2i(qi(hN)),_=null==h?null:h.z2s_1;a=null==_?"":_}else if(c instanceof rA){var y=n.b2i(qi(hN)),d=null==y?null:y.a2t_1;a=null==d?"":d}else a="";var v=a,g=n.b2i(qi(PN)),m=null==g?null:g.h2i_1;o.a2x_1 instanceof Us&&(m=o.a2x_1.r1e_1);var b=o.a2x_1 instanceof Eh?Du(Ui("Content-Type","application/json")):Hi([Ui("Authorization","bearer "+m),Ui("Content-Type","application/json")]),w=LT(t,o,n),$=e(o);try{var j,k=o.a2x_1.v1e(),q=o.a2x_1.y1e();if(null==q)j=null;else{for(var C=$u(),z=q.q().g();z.h();){var x,S=z.i();null==(x=S.s1())||0===Ju(x)||C.l(S.q1(),S.s1())}j=C}var O,E=j;if(null==E)O=null;else{for(var R=bu(E.f()),P=E.q().g();P.h();){var T,A=P.i();T=A.q1()+"="+A.s1(),R.a(T)}O=R}var N=null==O?null:Uu(O,"&",null,null,0,null,null,62,null),I=v+o.a2x_1.u1e().r2y()+(null==N||0===Ju(N)?"":"?"+N),B=o.a2x_1.w1e(NT(),i);if(t.n1a_1.w1a().g4(di())<=0){var M,L=di(),F=t.m1a();M="REQUEST --\x3e "+k+" "+I+"\n headers:"+b+"\n body:"+B,t.v1a(L,F,null,M)}r.j2x(k,I,b,B,w)}catch(e){if(!(e instanceof Yi))throw e;if(t.n1a_1.w1a().g4(Iu())<=0){var D,J=Iu(),U=t.m1a();D="ERROR --\x3e "+e,t.v1a(J,U,null,D)}n.j1d(tB().x2z(e,o))}u=$}else u=e(o);return u}}function DT(t,n,e){return function(r){return FT(t,n,r,e)}}function JT(){To||(To=!0,Po=Hu(null,BT,1,null))}function UT(){if(Mo)return pi();Mo=!0,Ao=new HT("GET",0),No=new HT("POST",1),Io=new HT("DELETE",2),Bo=new HT("PUT",3)}function HT(t,n){uu.call(this,t,n)}function VT(){return UT(),Ao}function KT(){return UT(),No}function WT(){return UT(),Io}function GT(){return UT(),Bo}function XT(){}function YT(t,n){yu(t,n,this),Xi(this,YT)}function ZT(t,n){this.v2z_1=t,this.w2z_1=n}function QT(t){var n;try{var e=t.w2z_1;if(null!=e)return NT().gh(ap().c11(),e);n=null}catch(t){if(t instanceof Yi)return null;throw t}return n}function tA(){}function nA(){Lo=this,rA.call(this)}function eA(){return null==Lo&&new nA,Lo}function rA(){}function oA(t,n,e){var r=dA(e,n,t);return n.u2x(new aA(t)),r}function iA(t,n,e){var r=new np(n);t.j1d(new nB(r,uB(null,null,vA(e,t),3,null)))}function uA(t,n,e,r){var o=t.y2z_1.b2i(qi(PN)),i=null==o?null:o.c2i_1,u=null==i?null:i.s1(),s=null==u?null:u.a2c(),a=null==o?null:o.i2i_1;if(null==s||null==a)return pi();var c=n.z2z_1,p=null==c?null:Vu(c),l=null==p?0:p,f=n.a30_1,h=null==f?null:Vu(f),_=null==h?0:h,y=n.b30_1,d=null==y?null:Vu(y),v=null==d?0:d,g=n.c30_1,m=null==g?null:Vu(g),b=null==m?0:m,w=n.d30_1,$=null==w?null:Vu(w),j=null==$?0:$,k=n.e30_1,q=null==k?null:Vu(k),C=null==q?0:q,z=n.f30_1,x=null==z?null:Vu(z),S=null==x?0:x,O=n.g30_1,E=null==O?null:Vu(O),R=null==E?0:E,P=n.h30_1,T=null==P?null:Vu(P),A=null==T?0:T,N=zB().j30(n),I=null==e?"":e,B=r;t.y2z_1.j1d(ZI(new Eh(new Oh(l,_,v,b,j,C,S,R,A,N,n.i30_1,s,a,I,null==B?"":B))))}function sA(t,n,e,r,o,i){return 0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),uA(t,n,e,r)}function aA(t){this.y2z_1=t}function cA(){return""}function pA(t,n,e,r,o){return function(i){if(i instanceof Yi)t.j1d(ZI(new xP(Bi(n.b2x_1.e2x_1),i))),pi();else{var u=i instanceof Qh?i:li(),s=u.v1u_1,a=u.w1u_1;e(s);var c=new KO(n.a2x_1.j2t_1),p=JN();t.j1d(ZI(cO(s,c,p,n.a2x_1.k2t_1,null,16,null))),t.j1d(ZI(new x$(s,r))),o.x2x(s,a),Ds(),o.b2y(1e3,s);var l=new lO(s);Ds(),t.j1d(ZI(new w$(l,1e4))),null!=n.b2x_1.e2x_1&&(t.j1d(ZI(new xP(Bi(n.b2x_1.e2x_1),s))),pi())}return pi()}}function lA(t,n,e,r){return function(o,i,u){if(o instanceof Yi||null==i)if(null!=t.b2x_1.e2x_1){var s=Bi(t.b2x_1.e2x_1),a=o;n.j1d(ZI(new xP(s,null==a?Cu("No Offer"):a))),pi()}else{var c=null==o?null:o.message;e.u1a(null==c?"No Offer":c),pi()}else{var p=new Wh(i);n.j1d(new nB(p,uB(null,null,pA(n,t,u,i,r),3,null))),pi()}return pi()}}function fA(t,n,e,r){return function(o){if(o instanceof Yi)if(null!=t.b2x_1.e2x_1)n.j1d(ZI(new xP(Bi(t.b2x_1.e2x_1),o))),pi();else{var i=o.message;e.u1a(null==i?"Error on RTCAnswerRequest":i),pi()}else n.j1d(ZI(new pO(t.a2x_1.t2t_1,t.a2x_1.w2t_1,UN(),null,new hO(t.a2x_1.u2t_1,t.a2x_1.v2t_1)))),n.j1d(ZI(new S$(t.a2x_1.t2t_1,r))),null!=t.b2x_1.e2x_1&&(n.j1d(ZI(new xP(Bi(t.b2x_1.e2x_1),t.a2x_1.t2t_1))),pi());return pi()}}function hA(t,n,e,r,o){return function(i,u){if(i instanceof Yi||null==u)t.j1d(ZI(new xP(Bi(n.b2x_1.e2x_1),i))),pi();else{var s=new p_(n.a2x_1.u2t_1,n.a2x_1.v2t_1,n.a2x_1.t2t_1,u);t.j1d(new nB(s,uB(null,null,fA(n,t,r,o),3,null))),Ds(),e.b2y(1e3,n.a2x_1.t2t_1),pi()}return pi()}}function _A(t,n,e,r){return function(o,i,u){if(o instanceof Yi||null==i)if(null!=t.b2x_1.e2x_1){var s=Bi(t.b2x_1.e2x_1),a=o;n.j1d(ZI(new xP(s,null==a?Cu("No Offer"):a))),pi()}else{var c=null==o?null:o.message;e.u1a(null==c?"No Offer":c),pi()}else{u(t.a2x_1.p2t_1);var p=new C_(t.a2x_1.r2t_1,t.a2x_1.q2t_1,i,t.a2x_1.p2t_1);n.j1d(new nB(p,uB(null,t.a2x_1.p2t_1,null,5,null))),Ds(),r.b2y(1e3,t.a2x_1.p2t_1),pi()}return pi()}}function yA(t,n,e,r){return function(o){MR(t,o,cA);var i=n(o),u=o.a2x_1;if(u instanceof tO)e.v2x(lA(o,r,t,e));else if(u instanceof oO){var s=o.a2x_1.x2t_1;e.w2x(hA(r,o,e,t,s),s,o.a2x_1.t2t_1)}else if(u instanceof rO)e.v2x(_A(o,r,t,e));else if(u instanceof Ag){var a=new lO(Bi(o.a2x_1.q24_1.v1z_1.s2l_1));Ds(),r.j1d(ZI(new w$(a,500)))}else u instanceof cv?iA(r,o.a2x_1.z20_1,o.a2x_1.x20_1.h21_1.s2l_1):u instanceof Lg?iA(r,o.a2x_1.y24_1,o.a2x_1.w24_1.f25_1.s2l_1):u instanceof lm?e.x2x(o.a2x_1.d26_1.p26_1,o.a2x_1.d26_1.q26_1):u instanceof eO?e.y2x(o.a2x_1.n2t_1):u instanceof $$?e.y2x(o.a2x_1.x2a_1):u instanceof j$?e.z2x(o.a2x_1.y2a_1):u instanceof k$&&e.a2y(o.a2x_1.z2a_1);return i}}function dA(t,n,e){return function(r){return yA(t,r,n,e)}}function vA(t,n){return function(e){if(e instanceof ff){var r=t;null==r||(n.j1d(ZI(new sO(r,e.y1p_1))),pi()),pi()}return pi()}}function gA(){}function mA(){}function bA(t,n,e,r,o,i,u,s,a,c){this.z2z_1=t,this.a30_1=n,this.b30_1=e,this.c30_1=r,this.d30_1=o,this.e30_1=i,this.f30_1=u,this.g30_1=s,this.h30_1=a,this.i30_1=c}function wA(){if(Wo)return pi();Wo=!0,Fo=new $A("Unknown",0),Do=new $A("New",1),Jo=new $A("Connecting",2),Uo=new $A("Connected",3),Ho=new $A("Disconnected",4),Vo=new $A("Failed",5),Ko=new $A("Closed",6)}function $A(t,n){uu.call(this,t,n)}function jA(){return wA(),Fo}function kA(){return wA(),Do}function qA(){return wA(),Jo}function CA(){return wA(),Uo}function zA(){return wA(),Ho}function xA(){return wA(),Vo}function SA(){return wA(),Ko}function OA(){}function EA(){}function RA(t,n,e,r,o,i,u,s,a,c,p){var l,f,h;return 0!=(1&a)&&(t=""),0!=(2&a)&&(n=!0),0!=(4&a)&&(e="/rtc/"),0!=(8&a)&&(h=["websocket"],pi(),f=h,pi(),l=f,pi(),r=l),0!=(16&a)&&(o=!0),0!=(32&a)&&(i=5),0!=(64&a)&&(u=5),0!=(128&a)&&(s=.75),TA.call(p,t,n,e,r,o,i,u,s),p}function PA(t,n,e,r,o,i,u,s,a,c){return RA(t,n,e,r,o,i,u,s,a,c,Object.create(TA.prototype))}function TA(t,n,e,r,o,i,u,s){this.p30_1=t,this.q30_1=n,this.r30_1=e,this.s30_1=r,this.t30_1=o,this.u30_1=i,this.v30_1=u,this.w30_1=s}function AA(){}function NA(t,n,e){var r=JA(e,t,n);return n.m2x(new IA(t)),r}function IA(t){this.x30_1=t}function BA(){return""}function MA(t){return t.q1()+"="+t.s1()}function LA(t,n){return function(){return t.j1d(ZI(new Jk(n))),pi()}}function FA(t,n,e){return function(){return t.j1d(new nB(n.v2a_1,e.b2x_1)),pi()}}function DA(t,n,e,r){return function(o){MR(t,o,BA);var i=n.b2i(qi(hN));try{var u=o.a2x_1;if(u instanceof Y$){for(var s=null==i?null:i.x2s_1,a=null==i?null:i.y2s_1,c=u.q2c_1,p=u.r2c_1,l=Ui("session_version","0.0.2"),f=Ui("token",c),h=Ui("SDK_version",Ps().a1b_1),_=Ui("acknowledge_events","true"),y=Ui("session_id",p),d=Ui("OS_family",null==i?null:i.c2t_1),v=Hi([l,f,h,_,y,d,Ui("OS_revision",null==i?null:i.d2t_1)]),g=$u(),m=v.q().g();m.h();){var b=m.i();null!=b.s1()&&g.l(b.q1(),b.s1())}var w=g.q(),$=Uu(w,"&",null,null,0,null,MA,30,null);if(""===c)n.j1d(ZI(Aj())),pi();else if(null==s){var j,k=qu();if(k.n1a_1.w1a().g4(di())<=0){var q,C=di(),z=k.m1a();q="SocketConnectionMiddleware host null, login ignored "+s+", "+a,k.v1a(C,z,null,q),j=pi()}j}else if(null==a){var x,S=qu();if(S.n1a_1.w1a().g4(di())<=0){var O,E=di(),R=S.m1a();O="SocketConnectionMiddleware path null, login ignored "+s+", "+a,S.v1a(E,R,null,O),x=pi()}x}else{var P=PA($,!1,null,null,!1,null,null,null,254,null);e.o2x(s,a,P.u30_1,P.v30_1,P.w30_1,c,p,$),Ds(),e.r2x(5e3,LA(n,o)),pi()}}else u instanceof ej?(e.q2x(u.y2c_1),pi()):u instanceof tj?(e.p2x(),n.j1d(ZI(new Dk(Uk(),Wk(),MB(),null))),pi()):u instanceof w$?(e.r2x(u.w2a_1,FA(n,u,o)),pi()):pi()}catch(e){if(!(e instanceof Yi))throw e;if(t.n1a_1.w1a().g4(Iu())<=0){var T,A=Iu(),N=t.m1a();T="ERROR --\x3e "+e,t.v1a(A,N,null,T)}n.j1d(ZI(new Js(e,o))),pi()}return r(o)}}function JA(t,n,e){return function(r){return DA(t,n,e,r)}}function UA(t,n,e){return WA(e,n,t)}function HA(){return""}function VA(t,n){return function(e,r){var o=qu();if(o.n1a_1.w1a().g4(di())<=0){var i,u=di(),s=o.m1a();i="WSActionMiddleWear: RESPONSE\n "+r,o.v1a(u,s,null,i),pi()}if(null!=e){var a=qu();if(a.n1a_1.w1a().g4(di())<=0){var c,p=di(),l=a.m1a();c="WSActionMiddleWear: Error in Request",a.v1a(p,l,null,c)}t.j1d(ZI(new Js(e,n))),pi()}else if(null==r){var f=qu();if(f.n1a_1.w1a().g4(di())<=0){var h,_=di(),y=f.m1a();h="WSActionMiddleWear: Error in response",f.v1a(_,y,null,h)}t.j1d(ZI(new Js(Cu("INVALID RESPONSE"),n))),pi()}return pi()}}function KA(t,n,e,r){return function(o){MR(t,o,HA);var i=o.a2x_1;if(fi(i,cj)){var u=VA(e,o);try{var s=Hi([Ui("tid",o.b2x_1.c2x_1),Ui("body",o.a2x_1.w2c())]);n.n2x(o.a2x_1.t2c(),s,u),pi()}catch(t){if(!(t instanceof Yi))throw t;var a=qu();if(a.n1a_1.w1a().g4(Iu())<=0){var c,p=Iu(),l=a.m1a();c="WSActionMiddleWear: Error in emitting over websocket",a.v1a(p,l,null,c)}e.j1d(ZI(new Js(t,o))),pi()}}else pi();return r(o)}}function WA(t,n,e){return function(r){return KA(t,n,e,r)}}function GA(){return rN(),Go}function XA(t,n){return rN(),eN(n)}function YA(t,n){rN();var e,r=t.j2b_1;if("session:success"===r){var o,i=t.i2b_1,u=n.hh(),s=ji(u,$i(qi(nm),wi([]),!1));o=fi(s,ki)?s:li(),e=n.gh(o,i)}else if("member:media"===r){var a,c=t.i2b_1,p=n.hh(),l=ji(p,$i(qi(um),wi([]),!1));a=fi(l,ki)?l:li(),e=n.gh(a,c)}else if(r===Ld().s1s_1){var f,h=t.i2b_1,_=n.hh(),y=ji(_,$i(qi(Qd),wi([]),!1));f=fi(y,ki)?y:li(),e=n.gh(f,h)}else if(r===Fd().s1s_1){var d,v=t.i2b_1,g=n.hh(),m=ji(g,$i(qi(cv),wi([]),!1));d=fi(m,ki)?m:li(),e=n.gh(d,v)}else if(r===Dd().s1s_1){var b,w=t.i2b_1,$=n.hh(),j=ji($,$i(qi(mv),wi([]),!1));b=fi(j,ki)?j:li(),e=n.gh(b,w)}else if(r===Jd().s1s_1){var k,q=t.i2b_1,C=n.hh(),z=ji(C,$i(qi(Sv),wi([]),!1));k=fi(z,ki)?z:li(),e=n.gh(k,q)}else if("rtc:answer"===r){var x,S=t.i2b_1,O=n.hh(),E=ji(O,$i(qi(lm),wi([]),!1));x=fi(E,ki)?E:li(),e=n.gh(x,S)}else if("rtc:hangup"===r){var R,P=t.i2b_1,T=n.hh(),A=ji(T,$i(qi(Ag),wi([]),!1));R=fi(A,ki)?A:li(),e=n.gh(R,P)}else if("rtc:transfer"===r){var N,I=t.i2b_1,B=n.hh(),M=ji(B,$i(qi(Lg),wi([]),!1));N=fi(M,ki)?M:li(),e=n.gh(N,I)}else if("audio:say"===r){var L,F=t.i2b_1,D=n.hh(),J=ji(D,$i(qi(Tv),wi([]),!1));L=fi(J,ki)?J:li(),e=n.gh(L,F)}else if("audio:say:done"===r){var U,H=t.i2b_1,V=n.hh(),K=ji(V,$i(qi(dm),wi([]),!1));U=fi(K,ki)?K:li(),e=n.gh(U,H)}else if("audio:mute:on"===r){var W,G=t.i2b_1,X=n.hh(),Y=ji(X,$i(qi(Gv),wi([]),!1));W=fi(Y,ki)?Y:li(),e=n.gh(W,G)}else if("audio:mute:off"===r){var Z,Q=t.i2b_1,tt=n.hh(),nt=ji(tt,$i(qi(ig),wi([]),!1));Z=fi(nt,ki)?nt:li(),e=n.gh(Z,Q)}else if("audio:earmuff:on"===r){var et,rt=t.i2b_1,ot=n.hh(),it=ji(ot,$i(qi(pg),wi([]),!1));et=fi(it,ki)?it:li(),e=n.gh(et,rt)}else if("audio:earmuff:off"===r){var ut,st=t.i2b_1,at=n.hh(),ct=ji(at,$i(qi(bg),wi([]),!1));ut=fi(ct,ki)?ct:li(),e=n.gh(ut,st)}else if("audio:dtmf"===r){var pt,lt=t.i2b_1,ft=n.hh(),ht=ji(ft,$i(qi(qg),wi([]),!1));pt=fi(ht,ki)?ht:li(),e=n.gh(pt,lt)}else if("leg:status:update"===r){var _t,yt=t.i2b_1,dt=n.hh(),vt=ji(dt,$i(qi(Mv),wi([]),!1));_t=fi(vt,ki)?vt:li(),e=n.gh(_t,yt)}else e="session:update-token:success"===r?Fj(null,null,null,null,15,null):"session:logged-out"===r?Wj(null,null,null,null,15,null):"session:terminated"===r?nk(null,null,null,null,15,null):"session:invalid"===r||"session:error:invalid"===r?ak(null,null,null,null,15,null):"system:error:expired-token"===r?yk(null,null,null,null,15,null):"system:error:invalid-token"===r||"user:error:invalid-user"===r?$k(null,null,null,null,15,null):"session:error:max-open-sessions"===r?Sk(null,null,null,null,15,null):"system:error:permission"===r?Nk(null,null,null,null,15,null):null;return e}function ZA(t){return rN(),t.sz_1=!0,pi()}function QA(){return rN(),""}function tN(t){return function(){return"SOCKET DECODE - "+t.a2x_1}}function nN(t,n){return function(e){var r;if(MR(t,e,QA),e.a2x_1 instanceof E$){var o;try{o=YA(e.a2x_1,GA())}catch(t){if(!(t instanceof Yi))throw t;var i=qu();if(i.n1a_1.w1a().g4(Iu())<=0){var u,s=Iu(),a=i.m1a();u=""+t,i.v1a(s,a,null,u)}o=null}r=o}else r=null;var c,p=r;if(null==p)c=n(e);else{var l=new nB(p,e.b2x_1.y30(null,null,null,7,null));IR(t,l,tN(l)),c=n(l)}return c}}function eN(t){return function(n){return nN(t,n)}}function rN(){Xo||(Xo=!0,Go=Hu(null,ZA,1,null))}function oN(t,n,e,r){return 0!=(1&n)&&(t=""),uN.call(r,t),r}function iN(t,n,e){return oN(t,n,e,Object.create(uN.prototype))}function uN(t){sN.call(this),this.u2c_1=t}function sN(){}function aN(t,n,e){var r=t.b2i(qi(NI));if(null==r);else{for(var o=r.s2s_1,i=$u(),u=o.q().g();u.h();){var s,a=u.i(),c=n;(null==(s=null==c?null:!(a.s1().b2s_1===c))||s)&&i.l(a.q1(),a.s1())}for(var p=i.q().g();p.h();){var l=p.i();l.s1().h2s_1&&t.j1d(ZI(new fO(l.q1())))}pi()}var f=t.b2i(qi(KN));if(null==f);else{for(var h=f.x2r_1,_=$u(),y=h.q().g();y.h();){var d,v,g,m=y.i(),b=m.q1();d=m.s1(),!(null!=(v=null==n?null:!(d===n))&&!v)&&(null==(g=null==e?null:!(e===b))||g)&&_.l(m.q1(),m.s1())}for(var w=_.i2().g();w.h();){var $=w.i(),j=f.w2r_1.g2($),k=null==j?null:j.m2r_1;(null==k?null:k.s1())instanceof NE&&(t.j1d(ZI(new eO($))),pi())}pi()}}function cN(t,n,e,r,o){return 0!=(1&r)&&(n=null),0!=(2&r)&&(e=null),aN(t,n,e)}function pN(t,n,e,r,o,i){this.z30_1=t,this.a31_1=n,this.b31_1=e,this.c31_1=r,this.d31_1=o,this.e31_1=i}function lN(t,n,e,r,o){return 0!=(2&e)&&(n=yN(null,null,null,null,!1,null,null,127,null)),hN.call(o,t,n),o}function fN(t,n,e,r){return lN(t,n,e,r,Object.create(hN.prototype))}function hN(t,n){lB(t,null,2,null,this),this.n31_1=n}function _N(t,n,e,r,o,i,u,s,a,c){return 0!=(1&s)&&(t=null),0!=(2&s)&&(n=null),0!=(4&s)&&(e=null),0!=(8&s)&&(r="https://hlg.tokbox.com"),0!=(16&s)&&(o=!0),0!=(32&s)&&(i=null),0!=(64&s)&&(u=null),dN.call(c,t,n,e,r,o,i,u),c}function yN(t,n,e,r,o,i,u,s,a){return _N(t,n,e,r,o,i,u,s,a,Object.create(dN.prototype))}function dN(t,n,e,r,o,i,u){this.x2s_1=t,this.y2s_1=n,this.z2s_1=e,this.a2t_1=r,this.b2t_1=o,this.c2t_1=i,this.d2t_1=u}function vN(t,n,e,r,o){return 0!=(2&e)&&(n=wN(null,null,3,null)),mN.call(o,t,n),o}function gN(t,n,e,r){return vN(t,n,e,r,Object.create(mN.prototype))}function mN(t,n){lB(t,null,2,null,this),this.g32_1=n}function bN(t,n,e,r,o){var i;return 0!=(1&e)&&(i=$u(),pi(),t=i),0!=(2&e)&&(n=null),$N.call(o,t,n),o}function wN(t,n,e,r){return bN(t,n,e,r,Object.create($N.prototype))}function $N(t,n){this.b2m_1=t,this.c2m_1=n}function jN(t,n,e,r,o,i,u){return 0!=(1&o)&&(t=0),0!=(2&o)&&(n=0),0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),qN.call(u,t,n,e,r),u}function kN(t,n,e,r,o,i){return jN(t,n,e,r,o,i,Object.create(qN.prototype))}function qN(t,n,e,r){this.d2m_1=t,this.e2m_1=n,this.f2m_1=e,this.g2m_1=r}function CN(){Yo=this,this.n32_1="default"}function zN(){return null==Yo&&new CN,Yo}function xN(){}function SN(t,n,e){var r=t.v32().g2(n);return null==r||e(r),t.m32(n),t}function ON(t,n,e){var r=e(t);return null==r||(t.v32().l(n,r),t.m32(n)),t}function EN(t,n,e,r,o){return 0!=(2&e)&&(n=AN(null,null,null,null,null,null,null,127,null)),PN.call(o,t,n),o}function RN(t,n,e,r){return EN(t,n,e,r,Object.create(PN.prototype))}function PN(t,n){lB(t,null,2,null,this),this.y32_1=n}function TN(t,n,e,r,o,i,u,s,a,c){return 0!=(1&s)&&(t=SB(U$(),null,2,null)),0!=(2&s)&&(n=new rj(Uk(),null)),0!=(4&s)&&(e=null),0!=(8&s)&&(r=null),0!=(16&s)&&(o=null),0!=(32&s)&&(i=null),0!=(64&s)&&(u=null),NN.call(c,t,n,e,r,o,i,u),c}function AN(t,n,e,r,o,i,u,s,a){return TN(t,n,e,r,o,i,u,s,a,Object.create(NN.prototype))}function NN(t,n,e,r,o,i,u){this.c2i_1=t,this.d2i_1=n,this.e2i_1=e,this.f2i_1=r,this.g2i_1=o,this.h2i_1=i,this.i2i_1=u}function IN(t,n){this.j2i_1=t,this.k2i_1=n}function BN(t,n,e,r,o,i,u,s,a,c,p){return 0!=(1&a)&&(t=!1),0!=(4&a)&&(e=null),0!=(16&a)&&(o=SB(kI(),null,2,null)),0!=(32&a)&&(i=SB(PE(),null,2,null)),0!=(64&a)&&(u=DE(null,null,!1,7,null)),0!=(128&a)&&(s=kA()),LN.call(p,t,n,e,r,o,i,u,s),p}function MN(t,n,e,r,o,i,u,s,a,c){return BN(t,n,e,r,o,i,u,s,a,c,Object.create(LN.prototype))}function LN(t,n,e,r,o,i,u,s){this.h2r_1=t,this.i2r_1=n,this.j2r_1=e,this.k2r_1=r,this.l2r_1=o,this.m2r_1=i,this.n2r_1=u,this.o2r_1=s}function FN(){if(ti)return pi();ti=!0,Zo=new DN("outbound",0),Qo=new DN("inbound",1)}function DN(t,n){uu.call(this,t,n)}function JN(){return FN(),Zo}function UN(){return FN(),Qo}function HN(t,n,e,r,o){return 0!=(2&e)&&(n=GN(null,null,null,7,null)),KN.call(o,t,n),o}function VN(t,n,e,r){return HN(t,n,e,r,Object.create(KN.prototype))}function KN(t,n){lB(t,null,2,null,this),this.i34_1=n}function WN(t,n,e,r,o,i){var u,s;return 0!=(1&r)&&(u=$u(),pi(),t=u),0!=(2&r)&&(s=$u(),pi(),n=s),0!=(4&r)&&(e=null),gI.call(i,t,n,e),i}function GN(t,n,e,r,o){return WN(t,n,e,r,o,Object.create(gI.prototype))}function XN(t,n){return function(e){if(t.l21_1.v21_1.e1r_1===n.y2r_1){var r,o=e.l2r_1.s1();if(fi(o,OI)){var i=e.l2r_1.s1();r=(fi(i,OI)?i:li()).r1h()===t.n21_1}else r=!1;if(r){var u=e,s=e.l2r_1,a=t.l21_1.x21_1;u.l2r_1=TB(s,new xI(t.n21_1,t.l21_1.u21_1,"",null==a?null:a.f27_1)),pi()}}return pi()}}function YN(t,n){return function(e){var r,o=t.h2u_1,i=t.e2u_1,u=MN(!1,t.f2u_1,o,i,null,null,null,null,241,null),s=u;switch(t.g2u_1.e4_1){case 1:r=TB(u.m2r_1,new AE(t.e2u_1));break;case 0:r=TB(u.m2r_1,new TE(t.e2u_1));break;default:pu()}s.m2r_1=r;var a=t.i2u_1;if(null==a);else{var c=u,p=u.l2r_1;c.l2r_1=TB(p,bI(a.n2u_1,a.o2u_1,null,4,null));var l=e.x2r_1,f=a.n2u_1;l.l(f,n),pi()}return u}}function ZN(t,n){return function(e){var r=new KO(t.q2t_1),o=SB(bI(t.r2t_1,t.q2t_1,null,4,null),null,2,null),i=MN(!0,r,null,n,o,null,null,null,224,null),u=e.x2r_1,s=t.r2t_1;return u.l(s,n),i}}function QN(t){return function(n){var e=n.l2r_1.s1();if(fi(e,OI)){var r=n.l2r_1.s1();(fi(r,OI)?r:li()).k35(t.d2u_1),pi()}return pi()}}function tI(t,n,e,r){return function(o){var i=o,u=o.l2r_1;i.l2r_1=AB(u,bI(t.n1h_1,t.o1h_1,null,4,null),n);var s=e.x2r_1,a=t.n1h_1;return s.l(a,r),pi()}}function nI(t,n,e,r){return function(o){var i=o,u=bI(t.y24_1,n,null,4,null);i.l2r_1=SB(u,null,2,null),e.x2r_1.q3(t.w24_1.e25_1);var s=e.x2r_1,a=t.y24_1;return s.l(a,r),pi()}}function eI(t){return 1===t.o2r_1.e4_1&&(t.o2r_1=xA()),pi()}function rI(t){return function(n){return n.l2r_1=NB(n.l2r_1,t.m2t_1),pi()}}function oI(t){return function(n){var e=n,r=bI(t.z20_1,t.x20_1.f21_1,null,4,null);return e.l2r_1=SB(r,null,2,null),pi()}}function iI(t){return function(n){return n.l2r_1=AB(n.l2r_1,new qI("placeholder"),t),pi()}}function uI(t){return function(n){return n.l2r_1.s1()instanceof qI&&(n.l2r_1=TB(n.l2r_1,new qI(t.e1w_1)),pi()),pi()}}function sI(t){throw Wu(null,1,null)}function aI(t){return function(n){return n.m2r_1=TB(n.m2r_1,new AE(t.h1w_1)),pi()}}function cI(t,n){return function(e){var r=e,o=e.l2r_1;return r.l2r_1=AB(o,$I(t.a1h_1,t.b1h_1,null,null,12,null),n),pi()}}function pI(t){return function(n){var e=n,r=n.l2r_1;return e.l2r_1=TB(r,$I(t.y1o_1,t.z1o_1,null,null,12,null)),pi()}}function lI(t){return function(n){var e=n,r=new NE(Bi(t.q24_1.v1z_1.s2l_1),t.q24_1.x1z_1);return e.m2r_1=SB(r,null,2,null),pi()}}function fI(t){return function(n){return n.l2r_1=NB(n.l2r_1,t.o1e_1),pi()}}function hI(t){return function(n){var e=n,r=n.n2r_1,o=new BE(t.f2b_1);return e.n2r_1=r.w2v(o,null,!1,6,null),pi()}}function _I(t){return function(n){var e=n,r=n.n2r_1,o=new ME(t.h2b_1);return e.n2r_1=r.w2v(o,null,!1,6,null),pi()}}function yI(t){var n=t,e=t.n2r_1;return n.n2r_1=e.w2v(null,null,!1,3,null),pi()}function dI(t){return function(n){var e=n,r=n.n2r_1,o=new ME(t.d26_1.q26_1);return e.n2r_1=r.w2v(null,o,!1,5,null),pi()}}function vI(t){return function(n){return n.o2r_1=t.d2b_1,pi()}}function gI(t,n,e){this.w2r_1=t,this.x2r_1=n,this.y2r_1=e,this.z2r_1=null}function mI(t,n,e,r,o,i){return 0!=(4&r)&&(e=null),zI.call(i,t,n,e),i}function bI(t,n,e,r,o){return mI(t,n,e,r,o,Object.create(zI.prototype))}function wI(t,n,e,r,o,i,u){return 0!=(4&o)&&(e=null),0!=(8&o)&&(r=null),xI.call(u,t,n,e,r),u}function $I(t,n,e,r,o,i){return wI(t,n,e,r,o,i,Object.create(xI.prototype))}function jI(){ni=this}function kI(){return null==ni&&new jI,ni}function qI(t){this.i2t_1=t}function CI(){}function zI(t,n,e){this.p2r_1=t,this.q2r_1=n,this.r2r_1=e}function xI(t,n,e,r){this.n2s_1=t,this.o2s_1=n,this.p2s_1=e,this.q2s_1=r}function SI(){}function OI(){}function EI(t,n,e,r,o,i,u,s,a,c,p,l){return 0!=(32&c)&&(i=SB(kI(),null,2,null)),0!=(128&c)&&(s=!1),0!=(256&c)&&(a=0),PI.call(l,t,n,e,r,o,i,u,s,a),l}function RI(t,n,e,r,o,i,u,s,a,c,p){return EI(t,n,e,r,o,i,u,s,a,c,p,Object.create(PI.prototype))}function PI(t,n,e,r,o,i,u,s,a){this.a2s_1=t,this.b2s_1=n,this.c2s_1=e,this.d2s_1=r,this.e2s_1=o,this.f2s_1=i,this.g2s_1=u,this.h2s_1=s,this.i2s_1=a}function TI(t,n,e,r,o){return 0!=(2&e)&&(n=BI(null,null,3,null)),NI.call(o,t,n),o}function AI(t,n,e,r){return TI(t,n,e,r,Object.create(NI.prototype))}function NI(t,n){lB(t,null,2,null,this),this.v35_1=n}function II(t,n,e,r,o){var i;return 0!=(1&e)&&(i=$u(),pi(),t=i),0!=(2&e)&&(n=null),GI.call(o,t,n),o}function BI(t,n,e,r){return II(t,n,e,r,Object.create(GI.prototype))}function MI(t){return function(n){var e,r=t.d20_1.r20_1.e2w_1;if(!0===(null==r?null:r.z2v_1)&&t.d20_1.q20_1.e1r_1===n.t2s_1){var o=new BE(Bi(t.d20_1.u20_1));e=RI(Bi(t.d20_1.s20_1.w2l_1),t.d20_1.s20_1.s2l_1,t.d20_1.p20_1,t.d20_1.o20_1.l2v_1,o.t2v_1,null,!0,!1,0,416,null)}else e=null;return e}}function LI(t){return function(n){var e,r=t.j25_1.r20_1.e2w_1;if(!0===(null==r?null:r.z2v_1)){var o=new BE(Bi(t.j25_1.u20_1)),i=Bi(t.j25_1.s20_1.w2l_1),u=n.s2s_1.g2(t.j25_1.s20_1.s2l_1),s=null==u?null:u.g2s_1,a=null!=s&&s;e=RI(i,t.j25_1.s20_1.s2l_1,t.j25_1.p20_1,t.n25_1,o.t2v_1,null,a,!1,0,416,null)}else e=null;return e}}function FI(t,n){return function(e){if(t.x20_1.g21_1.e1r_1===n.t2s_1){var r=e,o=e.f2s_1;r.f2s_1=TB(o,bI(t.z20_1,t.a21_1,null,4,null)),pi()}return pi()}}function DI(t,n){return function(e){var r=e,o=e.f2s_1;return r.f2s_1=AB(o,bI(t.n1h_1,t.o1h_1,null,4,null),n),pi()}}function JI(t,n){return function(e){if(t.l21_1.v21_1.e1r_1===n.t2s_1&&mi(e.f2s_1.s1(),kI())){var r=e,o=e.f2s_1,i=t.l21_1.x21_1;r.f2s_1=TB(o,$I(t.n21_1,t.l21_1.u21_1,null,null==i?null:i.f27_1,4,null)),pi()}return pi()}}function UI(t){return function(n){return n.h2s_1=!0,n.i2s_1=t.q24_1.x1z_1.m2s_1,pi()}}function HI(t,n){return function(e){var r=e,o=e.f2s_1;return r.f2s_1=AB(o,$I(t.a1h_1,t.b1h_1,null,null,12,null),n),pi()}}function VI(t){t.h2s_1=!0;var n=t,e=$I(t.d2s_1,t.c2s_1,"",null,8,null);return n.f2s_1=SB(e,null,2,null),pi()}function KI(t){return function(n){if(n.f2s_1 instanceof OB&&n.f2s_1.r2s()===t.p1e_1.b2x_1.c2x_1&&(n.f2s_1=NB(n.f2s_1,t.o1e_1),pi()),t.p1e_1.a2x_1 instanceof np&&t.o1e_1 instanceof hp&&"conversation:error:not-found"===t.o1e_1.y1l_1&&mi(n.f2s_1.s1(),kI())){var e=n,r=$I(n.d2s_1,n.c2s_1,"",null,8,null);e.f2s_1=SB(r,null,2,null),n.h2s_1=!0,pi()}return pi()}}function WI(t){return function(n){if(mi(t.b1q_1,kz())&&mi(n.f2s_1.s1(),kI())){var e=n,r=$I(n.d2s_1,n.c2s_1,"",null,8,null);e.f2s_1=SB(r,null,2,null),n.h2s_1=!0,pi()}return pi()}}function GI(t,n){this.s2s_1=t,this.t2s_1=n,this.u2s_1=null}function XI(){return aB(),ei}function YI(t,n){return nB.call(n,t,uB(null,null,null,7,null)),n}function ZI(t){return YI(t,Object.create(nB.prototype))}function QI(){ri=this}function tB(){return null==ri&&new QI,ri}function nB(t,n){tB(),this.a2x_1=t,this.b2x_1=n}function eB(){oi=this}function rB(){return null==oi&&new eB,oi}function oB(){}function iB(t,n,e,r,o,i){return 0!=(1&r)&&(t=IB()),0!=(2&r)&&(n=null),0!=(4&r)&&(e=null),sB.call(i,t,n,e),i}function uB(t,n,e,r,o){return iB(t,n,e,r,o,Object.create(sB.prototype))}function sB(t,n,e){this.c2x_1=t,this.d2x_1=n,this.e2x_1=e}function aB(){ii||(ii=!0,ei=ZI(rB()))}function cB(t){return pB(t)}function pB(t){return function(n){for(var e=n,r=Xu(Gu(t)).g();r.h();)e=r.i()(e);return e}}function lB(t,n,e,r,o){var i;return 0!=(2&e)&&(i=Yu(),pi(),n=i),_B.call(o,t,n),o}function fB(t){return function(){var n=Nu(t).rb();return null==n?"reducer":n}}function hB(t){return function(){return"NEW STATE "+Ii(t.u1c())+" - subscribers: "+t.t1c_1.f()}}function _B(t,n){this.s1c_1=t,this.t1c_1=n}function yB(t){return dB}function dB(t){return t}function vB(t,n){return function(){return t.t1c_1.y8(n),pi()}}function gB(t){return function(n){for(var e=t.p1c_1.i2(),r=Yu(),o=e.g();o.h();){var i=o.i(),u=r;i.w31(n)&&u.b1(i.t1c_1),r=u}for(var s=r.g();s.h();)s.i().k36_1();return n}}function mB(){var t,n=this;t=$u(),n.p1c_1=t,this.q1c_1=yB}function bB(t){this.k36_1=t}function wB(t,n){for(var e=ts(t,"?",null,2,null),r=ns(e,["&"],!1,0,6,null).g();r.h();){var o=r.i(),i=ns(o,["="],!1,0,6,null);if(2===i.f()&&i.k(0)===n)return i.k(1)}return null}function $B(t){var n,e=t;if(ps(e))n=cs(t);else if(null!=e&&"boolean"==typeof e)n=as(t);else if(null!=e&&"string"==typeof e)n=ss(t);else if(null!=e&&us(e))n=jB(t);else if(null!=e&&fi(e,is))n=kB(t);else if(null!=e&&fi(e,cu))n=qB(t);else if(e instanceof os)n=t;else if(e instanceof rs){var r,o=gu(),i=t,u=o.hh(),s=ji(u,$i(qi(rs),wi([]),!1));r=fi(s,ki)?s:li(),n=o.sy(r,i)}else n=es();return n}function jB(t){for(var n=bu(t.length),e=t,r=0,o=e.length;r<o;){var i,u=e[r];r=r+1|0,i=$B(u),n.a(i)}return new ls(n)}function kB(t){for(var n=bu(mu(t,10)),e=t.g();e.h();){var r;r=$B(e.i()),n.a(r)}return new ls(n)}function qB(t){for(var n=hs(fs(t.f())),e=t.q().g();e.h();){var r,o=e.i(),i=Ii(o.q1());r=o.s1(),n.l(i,r)}for(var u=n,s=hs(fs(u.f())),a=u.q().g();a.h();){var c,p=a.i(),l=p.q1();c=$B(p.s1()),s.l(l,c)}return new Di(s)}function CB(){ui=this}function zB(){return null==ui&&new CB,ui}function xB(t,n,e,r,o){return 0!=(2&e)&&(n=null),EB.call(o,t,n),o}function SB(t,n,e,r){return xB(t,n,e,r,Object.create(EB.prototype))}function OB(t,n,e){PB.call(this),this.l36_1=t,this.m36_1=n,this.n36_1=e}function EB(t,n){PB.call(this),this.o36_1=t,this.p36_1=n}function RB(t,n,e){PB.call(this),this.w2q_1=t,this.x2q_1=n,this.y2q_1=e}function PB(){}function TB(t,n){return new EB(n,t.r2s())}function AB(t,n,e){return new OB(t.s1(),n,e)}function NB(t,n){var e,r=t;return r instanceof OB?e=new RB(new _s(t.m36_1,n),t.s1(),t.n36_1):r instanceof EB||r instanceof RB?e=t:pu(),e}function IB(){return BB(8)+"-"+BB(4)+"-"+BB(4)+"-"+BB(4)+"-"+BB(12)}function BB(t){var n=vs([new ds(ys(97)),new ds(ys(98)),new ds(ys(99)),new ds(ys(100)),new ds(ys(101)),new ds(ys(102))]),e="",r=1;if(r<=t)do{var o=r;r=r+1|0;var i=Pu(0,15),u=ms(i,gs()),s=u<10?u:n.k(u-10|0);e+=vi(s)}while(o!==t);return e}function MB(){var t=Date.now();return ps(t)?t:li()}hp.prototype=Object.create(Yi.prototype),hp.prototype.constructor=hp,ky.prototype=Object.create(ru.prototype),ky.prototype.constructor=ky,Wy.prototype=Object.create(uu.prototype),Wy.prototype.constructor=Wy,Gy.prototype=Object.create(ru.prototype),Gy.prototype.constructor=Gy,Qd.prototype=Object.create(Mj.prototype),Qd.prototype.constructor=Qd,cv.prototype=Object.create(Mj.prototype),cv.prototype.constructor=cv,mv.prototype=Object.create(Mj.prototype),mv.prototype.constructor=mv,Sv.prototype=Object.create(Mj.prototype),Sv.prototype.constructor=Sv,Tv.prototype=Object.create(Mj.prototype),Tv.prototype.constructor=Tv,Mv.prototype=Object.create(Mj.prototype),Mv.prototype.constructor=Mv,Gv.prototype=Object.create(Mj.prototype),Gv.prototype.constructor=Gv,ig.prototype=Object.create(Mj.prototype),ig.prototype.constructor=ig,pg.prototype=Object.create(Mj.prototype),pg.prototype.constructor=pg,bg.prototype=Object.create(Mj.prototype),bg.prototype.constructor=bg,qg.prototype=Object.create(Mj.prototype),qg.prototype.constructor=qg,Ag.prototype=Object.create(Mj.prototype),Ag.prototype.constructor=Ag,Lg.prototype=Object.create(Mj.prototype),Lg.prototype.constructor=Lg,Xg.prototype=Object.create(Mj.prototype),Xg.prototype.constructor=Xg,nm.prototype=Object.create(Mj.prototype),nm.prototype.constructor=nm,um.prototype=Object.create(Mj.prototype),um.prototype.constructor=um,lm.prototype=Object.create(Mj.prototype),lm.prototype.constructor=lm,dm.prototype=Object.create(Mj.prototype),dm.prototype.constructor=dm,ab.prototype=Object.create(Mj.prototype),ab.prototype.constructor=ab,Hw.prototype=Object.create(ru.prototype),Hw.prototype.constructor=Hw,n$.prototype=Object.create(uu.prototype),n$.prototype.constructor=n$,P$.prototype=Object.create(uu.prototype),P$.prototype.constructor=P$,A$.prototype=Object.create(uu.prototype),A$.prototype.constructor=A$,uj.prototype=Object.create(Yi.prototype),uj.prototype.constructor=uj,sj.prototype=Object.create(uj.prototype),sj.prototype.constructor=sj,B$.prototype=Object.create(sj.prototype),B$.prototype.constructor=B$,J$.prototype=Object.create(K$.prototype),J$.prototype.constructor=J$,H$.prototype=Object.create(K$.prototype),H$.prototype.constructor=H$,V$.prototype=Object.create(K$.prototype),V$.prototype.constructor=V$,X$.prototype=Object.create(sj.prototype),X$.prototype.constructor=X$,fj.prototype=Object.create(uj.prototype),fj.prototype.constructor=fj,yj.prototype=Object.create(sj.prototype),yj.prototype.constructor=yj,gj.prototype=Object.create(sj.prototype),gj.prototype.constructor=gj,wj.prototype=Object.create(sj.prototype),wj.prototype.constructor=wj,kj.prototype=Object.create(sj.prototype),kj.prototype.constructor=kj,zj.prototype=Object.create(sj.prototype),zj.prototype.constructor=zj,Oj.prototype=Object.create(sj.prototype),Oj.prototype.constructor=Oj,Pj.prototype=Object.create(sj.prototype),Pj.prototype.constructor=Pj,Vj.prototype=Object.create(Mj.prototype),Vj.prototype.constructor=Vj,Qj.prototype=Object.create(Mj.prototype),Qj.prototype.constructor=Qj,uk.prototype=Object.create(Mj.prototype),uk.prototype.constructor=uk,hk.prototype=Object.create(Mj.prototype),hk.prototype.constructor=hk,bk.prototype=Object.create(Mj.prototype),bk.prototype.constructor=bk,zk.prototype=Object.create(Mj.prototype),zk.prototype.constructor=zk,Tk.prototype=Object.create(Mj.prototype),Tk.prototype.constructor=Tk,Fk.prototype=Object.create(Mj.prototype),Fk.prototype.constructor=Fk,bq.prototype=Object.create(uu.prototype),bq.prototype.constructor=bq,$q.prototype=Object.create(uu.prototype),$q.prototype.constructor=$q,Yq.prototype=Object.create(Yi.prototype),Yq.prototype.constructor=Yq,Nq.prototype=Object.create(Yq.prototype),Nq.prototype.constructor=Nq,Iq.prototype=Object.create(Yq.prototype),Iq.prototype.constructor=Iq,Lq.prototype=Object.create(Yq.prototype),Lq.prototype.constructor=Lq,Fq.prototype=Object.create(Yq.prototype),Fq.prototype.constructor=Fq,Dq.prototype=Object.create(Yq.prototype),Dq.prototype.constructor=Dq,Jq.prototype=Object.create(Yq.prototype),Jq.prototype.constructor=Jq,Uq.prototype=Object.create(Yq.prototype),Uq.prototype.constructor=Uq,Hq.prototype=Object.create(Yq.prototype),Hq.prototype.constructor=Hq,Wq.prototype=Object.create(Yq.prototype),Wq.prototype.constructor=Wq,Gq.prototype=Object.create(Yq.prototype),Gq.prototype.constructor=Gq,Zq.prototype=Object.create(Yq.prototype),Zq.prototype.constructor=Zq,Qq.prototype=Object.create(Yq.prototype),Qq.prototype.constructor=Qq,tC.prototype=Object.create(Yq.prototype),tC.prototype.constructor=tC,iC.prototype=Object.create(Yi.prototype),iC.prototype.constructor=iC,sC.prototype=Object.create(uu.prototype),sC.prototype.constructor=sC,WC.prototype=Object.create(uu.prototype),WC.prototype.constructor=WC,wz.prototype=Object.create(uu.prototype),wz.prototype.constructor=wz,Bz.prototype=Object.create(uu.prototype),Bz.prototype.constructor=Bz,ix.prototype=Object.create(uu.prototype),ix.prototype.constructor=ix,kx.prototype=Object.create(uu.prototype),kx.prototype.constructor=kx,Vx.prototype=Object.create(uu.prototype),Vx.prototype.constructor=Vx,Wx.prototype=Object.create(uu.prototype),Wx.prototype.constructor=Wx,Yx.prototype=Object.create(uu.prototype),Yx.prototype.constructor=Yx,xO.prototype=Object.create(uu.prototype),xO.prototype.constructor=xO,MO.prototype=Object.create(RO.prototype),MO.prototype.constructor=MO,KO.prototype=Object.create(RO.prototype),KO.prototype.constructor=KO,GO.prototype=Object.create(RO.prototype),GO.prototype.constructor=GO,rE.prototype=Object.create(RO.prototype),rE.prototype.constructor=rE,pE.prototype=Object.create(RO.prototype),pE.prototype.constructor=pE,wE.prototype=Object.create(ru.prototype),wE.prototype.constructor=wE,RE.prototype=Object.create(IE.prototype),RE.prototype.constructor=RE,TE.prototype=Object.create(IE.prototype),TE.prototype.constructor=TE,AE.prototype=Object.create(IE.prototype),AE.prototype.constructor=AE,NE.prototype=Object.create(IE.prototype),NE.prototype.constructor=NE,BE.prototype=Object.create(LE.prototype),BE.prototype.constructor=BE,ME.prototype=Object.create(LE.prototype),ME.prototype.constructor=ME,fR.prototype=Object.create(uu.prototype),fR.prototype.constructor=fR,gT.prototype=Object.create(PT.prototype),gT.prototype.constructor=gT,mT.prototype=Object.create(PT.prototype),mT.prototype.constructor=mT,bT.prototype=Object.create(PT.prototype),bT.prototype.constructor=bT,wT.prototype=Object.create(PT.prototype),wT.prototype.constructor=wT,$T.prototype=Object.create(PT.prototype),$T.prototype.constructor=$T,jT.prototype=Object.create(PT.prototype),jT.prototype.constructor=jT,kT.prototype=Object.create(PT.prototype),kT.prototype.constructor=kT,qT.prototype=Object.create(PT.prototype),qT.prototype.constructor=qT,CT.prototype=Object.create(PT.prototype),CT.prototype.constructor=CT,zT.prototype=Object.create(PT.prototype),zT.prototype.constructor=zT,xT.prototype=Object.create(PT.prototype),xT.prototype.constructor=xT,ST.prototype=Object.create(PT.prototype),ST.prototype.constructor=ST,OT.prototype=Object.create(PT.prototype),OT.prototype.constructor=OT,ET.prototype=Object.create(PT.prototype),ET.prototype.constructor=ET,RT.prototype=Object.create(PT.prototype),RT.prototype.constructor=RT,TT.prototype=Object.create(AT.prototype),TT.prototype.constructor=TT,HT.prototype=Object.create(uu.prototype),HT.prototype.constructor=HT,YT.prototype=Object.create(Yi.prototype),YT.prototype.constructor=YT,nA.prototype=Object.create(rA.prototype),nA.prototype.constructor=nA,$A.prototype=Object.create(uu.prototype),$A.prototype.constructor=$A,uN.prototype=Object.create(sN.prototype),uN.prototype.constructor=uN,hN.prototype=Object.create(_B.prototype),hN.prototype.constructor=hN,mN.prototype=Object.create(_B.prototype),mN.prototype.constructor=mN,PN.prototype=Object.create(_B.prototype),PN.prototype.constructor=PN,DN.prototype=Object.create(uu.prototype),DN.prototype.constructor=DN,KN.prototype=Object.create(_B.prototype),KN.prototype.constructor=KN,NI.prototype=Object.create(_B.prototype),NI.prototype.constructor=NI,OB.prototype=Object.create(PB.prototype),OB.prototype.constructor=OB,EB.prototype=Object.create(PB.prototype),EB.prototype.constructor=EB,RB.prototype=Object.create(PB.prototype),RB.prototype.constructor=RB,Rs.$metadata$=ai("BuildKonfig"),Ts.$metadata$=ci("CoreClientWithMedia",[Is,Zx]),Ns.prototype.x1b=function(t){return this.q1b_1=new UR(t,this.v1b_1),this},Ns.prototype.y1b=function(t){return this.r1b_1=new HR(t,this.v1b_1),this},Ns.prototype.z1b=function(t){As(this,t),pi();var n=this.im();return fi(n,Ts)?n:li()},Ns.prototype.im=function(){var t=this.r1b_1,n=this.q1b_1,e=this.s1b_1;if(null==t||null==n)throw hi();var r=this.t1b_1,o=null==r?Bs(t,n,e,this.u1b_1):r,i=new gC(o),u=new Lx(o),s=uS(o,i,null,4,null),a=new wx(o,u),c=new Aq(o),p=new hq(o,i);return new Ms(n,t,e,o,i,new tP(u,this.w1b_1),new $P(s,this.w1b_1),a,c,p)},Ns.$metadata$=_i("Builder"),Is.$metadata$=ci("CoreClient",[qx,_C,bx,Rq,Zk]),ai("Companion"),Ms.prototype.i1b=function(t,n){this.c1d_1.i1b(t,n)},Ms.prototype.n1b=function(t,n){this.c1d_1.n1b(t,n)},Ms.prototype.m1b=function(t,n){this.c1d_1.m1b(t,n)},Ms.prototype.g1b=function(t,n){this.c1d_1.g1b(t,n)},Ms.prototype.j1b=function(t,n,e,r){this.c1d_1.j1b(t,n,e,r)},Ms.prototype.k1b=function(t,n){this.c1d_1.k1b(t,n)},Ms.prototype.f1b=function(t,n){this.c1d_1.f1b(t,n)},Ms.prototype.h1b=function(t,n){this.c1d_1.h1b(t,n)},Ms.prototype.p1b=function(t,n,e,r,o,i,u,s){this.c1d_1.p1b(t,n,e,r,o,i,u,s)},Ms.prototype.o1b=function(t,n,e){this.c1d_1.o1b(t,n,e)},Ms.prototype.e1b=function(t,n){this.c1d_1.e1b(t,n)},Ms.prototype.d1b=function(t){this.c1d_1.d1b(t)},Ms.prototype.l1b=function(t,n){this.c1d_1.l1b(t,n)},Ms.prototype.c1b=function(t){this.f1d_1.c1b(t)},Ms.prototype.g1c=function(t,n,e){this.f1d_1.g1c(t,n,e)},Ms.prototype.k1c=function(t,n){this.f1d_1.k1c(t,n)},Ms.prototype.n1c=function(t,n,e,r,o){this.f1d_1.n1c(t,n,e,r,o)},Ms.prototype.o1c=function(t,n,e){this.f1d_1.o1c(t,n,e)},Ms.prototype.m1c=function(t,n,e,r,o){this.f1d_1.m1c(t,n,e,r,o)},Ms.prototype.l1c=function(t,n,e,r){this.f1d_1.l1c(t,n,e,r)},Ms.prototype.i1c=function(t,n,e){this.f1d_1.i1c(t,n,e)},Ms.prototype.h1c=function(t,n){this.f1d_1.h1c(t,n)},Ms.prototype.j1c=function(t,n){this.f1d_1.j1c(t,n)},Ms.prototype.g1d=function(t,n,e,r,o,i,u,s,a){this.f1d_1.g1d(t,n,e,r,o,i,u,s,a)},Ms.prototype.b1c=function(t,n,e){this.b1d_1.b1c(t,n,e)},Ms.prototype.c1c=function(t){this.b1d_1.c1c(t)},Ms.prototype.d1c=function(t,n){this.b1d_1.d1c(t,n)},Ms.prototype.b1b=function(t){this.b1d_1.b1b(t)},Ms.prototype.i1d=function(t){this.a1d_1.i1d(t)},Ms.prototype.e1c=function(t,n){this.e1d_1.e1c(t,n)},Ms.prototype.f1c=function(t,n){this.e1d_1.f1c(t,n)},Ms.prototype.a1c=function(t){this.z1c_1.j1d(ZI(t))},Ms.$metadata$=_i("CoreClientImpl",[Is,Ts,Zx,Zk,qx,_C,bx,Rq]),Fs.prototype.l1e=function(){return this.l1d_1},Fs.prototype.m1e=function(){return this.m1d_1},Fs.prototype.n1e=function(){return this.n1d_1},Fs.$metadata$=ai("StaticConfig"),Js.prototype.toString=function(){return"ErrorReport(error="+this.o1e_1+", src="+this.p1e_1+")"},Js.prototype.hashCode=function(){var t=gi(this.o1e_1);return t=si(t,31)+gi(this.p1e_1)|0},Js.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Js))return!1;var n=t instanceof Js?t:li();return!!mi(this.o1e_1,n.o1e_1)&&!!mi(this.p1e_1,n.p1e_1)},Js.$metadata$=_i("ErrorReport",[oB]),Us.prototype.u1e=function(){return this.s1e_1},Us.prototype.v1e=function(){return this.t1e_1},Us.prototype.w1e=function(t,n){var e,r=t.hh(),o=ji(r,$i(bi().jd(),wi([]),!1));return e=fi(o,ki)?o:li(),t.fh(e,"")},Us.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(D_),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Us.prototype.toString=function(){return"UpdateSessionRequest(sessionId="+this.q1e_1+", token="+this.r1e_1+")"},Us.prototype.hashCode=function(){var t=Ci(this.q1e_1);return t=si(t,31)+Ci(this.r1e_1)|0},Us.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Us))return!1;var n=t instanceof Us?t:li();return this.q1e_1===n.q1e_1&&this.r1e_1===n.r1e_1},Us.$metadata$=_i("UpdateSessionRequest",[qh]),ai("Companion"),Hs.prototype.fg=function(){return this.z1e_1},Hs.prototype.ar=function(){return[xi(),new Si(qi(oa),Xs())]},Hs.prototype.hg=function(t){var n=this.z1e_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,new Si(qi(oa),Xs()),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,new Si(qi(oa),Xs()),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Ws(o,i,u,null)},Hs.prototype.a1f=function(t,n){var e=this.z1e_1,r=t.mj(e);r.zk(e,0,n.b1f_1),r.al(e,1,new Si(qi(oa),Xs()),n.c1f_1),r.nj(e)},Hs.prototype.gg=function(t,n){return this.a1f(t,n instanceof ra?n:li())},Hs.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Gs.prototype.fg=function(){return this.d1f_1},Gs.prototype.ar=function(){return[xi(),Ai(Ti()),Ai(Ni())]},Gs.prototype.hg=function(t){var n=this.d1f_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.zj(n,1,Ti(),u),o|=2,s=a.zj(n,2,Ni(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.zj(n,1,Ti(),u),o|=2;break;case 2:s=a.zj(n,2,Ni(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),Zs(o,i,u,s,null)},Gs.prototype.e1f=function(t,n){var e=this.d1f_1,r=t.mj(e);r.zk(e,0,n.f1f_1),r.cl(e,1,Ti(),n.g1f_1),r.cl(e,2,Ni(),n.h1f_1),r.nj(e)},Gs.prototype.gg=function(t,n){return this.e1f(t,n instanceof oa?n:li())},Gs.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Qs.prototype.fg=function(){return this.i1f_1},Qs.prototype.ar=function(){return[Vs()]},Qs.prototype.hg=function(t){var n=this.i1f_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,Vs(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,Vs(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),ea(o,i,null)},Qs.prototype.j1f=function(t,n){var e=this.i1f_1,r=t.mj(e);r.al(e,0,Vs(),n.k1f_1),r.nj(e)},Qs.prototype.gg=function(t,n){return this.j1f(t,n instanceof ia?n:li())},Qs.$metadata$=ai("$serializer",[Ri]),ra.prototype.toString=function(){return"MetricsWsReconnectionTimeBody(sessionId="+this.b1f_1+", metrics="+vi(this.c1f_1)+")"},ra.prototype.hashCode=function(){var t=Ci(this.b1f_1);return t=si(t,31)+gi(this.c1f_1)|0},ra.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ra))return!1;var n=t instanceof ra?t:li();return this.b1f_1===n.b1f_1&&!!mi(this.c1f_1,n.c1f_1)},ra.$metadata$=_i("MetricsWsReconnectionTimeBody",void 0,void 0,{0:Vs}),oa.prototype.toString=function(){return"MetricsBody(name="+this.f1f_1+", time="+Ii(this.g1f_1)+", attempt="+this.h1f_1+")"},oa.prototype.hashCode=function(){var t=Ci(this.f1f_1);return t=si(t,31)+(null==this.g1f_1?0:this.g1f_1.hashCode())|0,t=si(t,31)+(null==this.h1f_1?0:this.h1f_1)|0},oa.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof oa))return!1;var n=t instanceof oa?t:li();return this.f1f_1===n.f1f_1&&!!mi(this.g1f_1,n.g1f_1)&&this.h1f_1==n.h1f_1},oa.$metadata$=_i("MetricsBody",void 0,void 0,{0:Xs}),ia.$metadata$=_i("Body",void 0,void 0,{0:ta}),ua.prototype.u1e=function(){return this.p1f_1},ua.prototype.v1e=function(){return this.q1f_1},ua.prototype.w1e=function(t,n){var e,r=new ia(new ra(Bi(this.l1f_1),[new oa(this.o1f_1,this.m1f_1,this.n1f_1)])),o=t.hh(),i=ji(o,$i(qi(ia),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},ua.prototype.x1e=function(t,n){return new la},ua.$metadata$=_i("MetricsWsReconnectionTimeReq",[qh]),ai("Companion"),sa.prototype.fg=function(){return this.r1f_1},sa.prototype.ar=function(){return[]},sa.prototype.hg=function(t){var n=this.r1f_1,e=!0,r=0,o=0,i=t.mj(n);if(i.ak());else for(;e;){if(-1!==(r=i.bk(n)))throw Oi(r);e=!1}return i.nj(n),pa(o,null)},sa.prototype.s1f=function(t,n){var e=this.r1f_1;t.mj(e).nj(e)},sa.prototype.gg=function(t,n){return this.s1f(t,n instanceof la?n:li())},sa.$metadata$=ai("$serializer",[Ri]),la.$metadata$=_i("MetricsWsReconnectionTime",[Rh],void 0,{0:aa}),fa.prototype.u1e=function(){return this.u1f_1},fa.prototype.v1e=function(){return this.v1f_1},fa.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(va),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},fa.prototype.toString=function(){return"GetLegRequest(legId="+this.t1f_1+")"},fa.prototype.hashCode=function(){return Ci(this.t1f_1)},fa.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof fa))return!1;var n=t instanceof fa?t:li();return this.t1f_1===n.t1f_1},fa.$metadata$=_i("GetLegRequest",[qh]),ai("Companion"),ha.prototype.fg=function(){return this.w1f_1},ha.prototype.ar=function(){return[xi(),xi(),xi(),xi(),xi(),xi(),xi(),XC(),XC()]},ha.prototype.hg=function(t){var n=this.w1f_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=null,f=null,h=null,_=t.mj(n);if(_.ak())i=_.wj(n,0),o|=1,u=_.wj(n,1),o|=2,s=_.wj(n,2),o|=4,a=_.wj(n,3),o|=8,c=_.wj(n,4),o|=16,p=_.wj(n,5),o|=32,l=_.wj(n,6),o|=64,f=_.xj(n,7,XC(),f),o|=128,h=_.xj(n,8,XC(),h),o|=256;else for(;e;)switch(r=_.bk(n)){case-1:e=!1;break;case 0:i=_.wj(n,0),o|=1;break;case 1:u=_.wj(n,1),o|=2;break;case 2:s=_.wj(n,2),o|=4;break;case 3:a=_.wj(n,3),o|=8;break;case 4:c=_.wj(n,4),o|=16;break;case 5:p=_.wj(n,5),o|=32;break;case 6:l=_.wj(n,6),o|=64;break;case 7:f=_.xj(n,7,XC(),f),o|=128;break;case 8:h=_.xj(n,8,XC(),h),o|=256;break;default:throw Oi(r)}return _.nj(n),da(o,i,u,s,a,c,p,l,f,h,null)},ha.prototype.x1f=function(t,n){var e=this.w1f_1,r=t.mj(e);r.zk(e,0,n.y1f_1),r.zk(e,1,n.z1f_1),r.zk(e,2,n.a1g_1),r.zk(e,3,n.b1g_1),r.zk(e,4,n.c1g_1),r.zk(e,5,n.d1g_1),r.zk(e,6,n.e1g_1),r.al(e,7,XC(),n.f1g_1),r.al(e,8,XC(),n.g1g_1),r.nj(e)},ha.prototype.gg=function(t,n){return this.x1f(t,n instanceof va?n:li())},ha.$metadata$=ai("$serializer",[Ri]),va.prototype.toString=function(){return"GetLeg(id="+this.y1f_1+", conversation_id="+this.z1f_1+", status="+this.a1g_1+", start_time="+this.b1g_1+", end_time="+this.c1g_1+", direction="+this.d1g_1+", type="+this.e1g_1+", from="+this.f1g_1+", to="+this.g1g_1+")"},va.prototype.hashCode=function(){var t=Ci(this.y1f_1);return t=si(t,31)+Ci(this.z1f_1)|0,t=si(t,31)+Ci(this.a1g_1)|0,t=si(t,31)+Ci(this.b1g_1)|0,t=si(t,31)+Ci(this.c1g_1)|0,t=si(t,31)+Ci(this.d1g_1)|0,t=si(t,31)+Ci(this.e1g_1)|0,t=si(t,31)+this.f1g_1.hashCode()|0,t=si(t,31)+this.g1g_1.hashCode()|0},va.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof va))return!1;var n=t instanceof va?t:li();return this.y1f_1===n.y1f_1&&this.z1f_1===n.z1f_1&&this.a1g_1===n.a1g_1&&this.b1g_1===n.b1g_1&&this.c1g_1===n.c1g_1&&this.d1g_1===n.d1g_1&&this.e1g_1===n.e1g_1&&!!this.f1g_1.equals(n.f1g_1)&&!!this.g1g_1.equals(n.g1g_1)},va.$metadata$=_i("GetLeg",[Rh],void 0,{0:_a}),ja.prototype.x1g=function(){return this.r1g_1},ja.prototype.y1g=function(){return this.s1g_1},ja.prototype.z1g=function(){return this.t1g_1},ja.prototype.z3=function(){return this.u1g_1},ja.prototype.u1e=function(){return this.v1g_1},ja.prototype.v1e=function(){return this.w1g_1},ja.prototype.w1e=function(t,n){var e=ga,r=new Ji;return Mi(r,"originating_session",n),Li(r,"channel",wa(this,e)),Li(r,"properties",$a(this)),r.im().toString()},ja.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(E_),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},ja.prototype.toString=function(){return"AppKnockingRequest(from="+this.r1g_1+", to="+this.s1g_1+", legId="+this.t1g_1+", context="+this.u1g_1+")"},ja.prototype.hashCode=function(){var t=gi(this.r1g_1);return t=si(t,31)+gi(this.s1g_1)|0,t=si(t,31)+(null==this.t1g_1?0:Ci(this.t1g_1))|0,t=si(t,31)+(null==this.u1g_1?0:gi(this.u1g_1))|0},ja.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ja))return!1;var n=t instanceof ja?t:li();return!!mi(this.r1g_1,n.r1g_1)&&!!mi(this.s1g_1,n.s1g_1)&&this.t1g_1==n.t1g_1&&!!mi(this.u1g_1,n.u1g_1)},ja.$metadata$=_i("AppKnockingRequest",[qh]),Ca.prototype.v1e=function(){return this.e1h_1},Ca.prototype.u1e=function(){return this.f1h_1},Ca.prototype.y1e=function(){var t;if(null!=this.c1h_1||null!=this.d1h_1){var n=this.d1h_1,e=Ui("reason_code",null==n?"":n),r=this.c1h_1;t=Hi([e,Ui("reason_text",null==r?"":r)])}else t=null;return t},Ca.prototype.w1e=function(t,n){return""},Ca.prototype.x1e=function(t,n){return new Dl(this.a1h_1,this.b1h_1)},Ca.prototype.toString=function(){return"MemberKickRequest(cid="+this.a1h_1+", mid="+this.b1h_1+", reasonText="+this.c1h_1+", reasonCode="+this.d1h_1+")"},Ca.prototype.hashCode=function(){var t=Ci(this.a1h_1);return t=si(t,31)+Ci(this.b1h_1)|0,t=si(t,31)+(null==this.c1h_1?0:Ci(this.c1h_1))|0,t=si(t,31)+(null==this.d1h_1?0:Ci(this.d1h_1))|0},Ca.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ca))return!1;var n=t instanceof Ca?t:li();return this.a1h_1===n.a1h_1&&this.b1h_1===n.b1h_1&&this.c1h_1==n.c1h_1&&this.d1h_1==n.d1h_1},Ca.$metadata$=_i("MemberKickRequest",[qh]),ai("Companion"),Sa.prototype.fg=function(){return this.g1h_1},Sa.prototype.ar=function(){return[xi()]},Sa.prototype.hg=function(t){var n=this.g1h_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Ra(o,i,null)},Sa.prototype.h1h=function(t,n){var e=this.g1h_1,r=t.mj(e);(r.gl(e,0)||"app"!==n.i1h_1)&&r.zk(e,0,n.i1h_1),r.nj(e)},Sa.prototype.gg=function(t,n){return this.h1h(t,n instanceof Ma?n:li())},Sa.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Aa.prototype.fg=function(){return this.j1h_1},Aa.prototype.ar=function(){return[xi(),Oa(),xi()]},Aa.prototype.hg=function(t){var n=this.j1h_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.xj(n,1,Oa(),u),o|=2,s=a.wj(n,2),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.xj(n,1,Oa(),u),o|=2;break;case 2:s=a.wj(n,2),o|=4;break;default:throw Oi(r)}return a.nj(n),Ba(o,i,u,s,null)},Aa.prototype.j1f=function(t,n){var e=this.j1h_1,r=t.mj(e);r.zk(e,0,n.k1h_1),r.al(e,1,Oa(),n.l1h_1),(r.gl(e,2)||"joined"!==n.m1h_1)&&r.zk(e,2,n.m1h_1),r.nj(e)},Aa.prototype.gg=function(t,n){return this.j1f(t,n instanceof La?n:li())},Aa.$metadata$=ai("$serializer",[Ri]),Ma.prototype.toString=function(){return"MemberJoinChannel(type="+this.i1h_1+")"},Ma.prototype.hashCode=function(){return Ci(this.i1h_1)},Ma.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ma))return!1;var n=t instanceof Ma?t:li();return this.i1h_1===n.i1h_1},Ma.$metadata$=_i("MemberJoinChannel",void 0,void 0,{0:Oa}),La.$metadata$=_i("Body",void 0,void 0,{0:Na}),Fa.prototype.r1h=function(){return this.n1h_1},Fa.prototype.s1h=function(){return this.o1h_1},Fa.prototype.u1e=function(){return this.p1h_1},Fa.prototype.v1e=function(){return this.q1h_1},Fa.prototype.w1e=function(t,n){var e,r=Ta(n,xa(null,1,null),null,4,null),o=t.hh(),i=ji(o,$i(qi(La),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Fa.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(K_),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Fa.prototype.toString=function(){return"MemberJoinRequest(cid="+this.n1h_1+", mid="+this.o1h_1+")"},Fa.prototype.hashCode=function(){var t=Ci(this.n1h_1);return t=si(t,31)+Ci(this.o1h_1)|0},Fa.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fa))return!1;var n=t instanceof Fa?t:li();return this.n1h_1===n.n1h_1&&this.o1h_1===n.o1h_1},Fa.$metadata$=_i("MemberJoinRequest",[qh]),Da.prototype.u1e=function(){return this.v1h_1},Da.prototype.v1e=function(){return this.w1h_1},Da.prototype.w1e=function(t,n){return""},Da.prototype.x1e=function(t,n){return new I_(this.t1h_1)},Da.prototype.toString=function(){return"DeleteKnockerRequest(knockingId="+this.t1h_1+")"},Da.prototype.hashCode=function(){return Ci(this.t1h_1)},Da.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Da))return!1;var n=t instanceof Da?t:li();return this.t1h_1===n.t1h_1},Da.$metadata$=_i("DeleteKnockerRequest",[qh]),ai("Companion"),Ja.prototype.fg=function(){return this.x1h_1},Ja.prototype.ar=function(){return[xi()]},Ja.prototype.hg=function(t){var n=this.x1h_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Va(o,i,null)},Ja.prototype.y1h=function(t,n){var e=this.x1h_1,r=t.mj(e);r.zk(e,0,n.z1h_1),r.nj(e)},Ja.prototype.gg=function(t,n){return this.y1h(t,n instanceof Ya?n:li())},Ja.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Ka.prototype.fg=function(){return this.a1i_1},Ka.prototype.ar=function(){return[xi(),xi(),xi(),xi(),Ua()]},Ka.prototype.hg=function(t){var n=this.a1i_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.wj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.xj(n,4,Ua(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.wj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.xj(n,4,Ua(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),Xa(o,i,u,s,a,c,null)},Ka.prototype.j1f=function(t,n){var e=this.a1i_1,r=t.mj(e);r.zk(e,0,n.b1i_1),r.zk(e,1,n.c1i_1),r.zk(e,2,n.d1i_1),r.zk(e,3,n.e1i_1),r.al(e,4,Ua(),n.f1i_1),r.nj(e)},Ka.prototype.gg=function(t,n){return this.j1f(t,n instanceof Za?n:li())},Ka.$metadata$=ai("$serializer",[Ri]),Ya.prototype.toString=function(){return"LegMuteBody(rtc_id="+this.z1h_1+")"},Ya.prototype.hashCode=function(){return Ci(this.z1h_1)},Ya.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ya))return!1;var n=t instanceof Ya?t:li();return this.z1h_1===n.z1h_1},Ya.$metadata$=_i("LegMuteBody",void 0,void 0,{0:Ua}),Za.$metadata$=_i("Body",void 0,void 0,{0:Wa}),Qa.prototype.u1e=function(){return this.j1i_1},Qa.prototype.v1e=function(){return this.k1i_1},Qa.prototype.w1e=function(t,n){var e,r=new Za("audio:mute:on",this.i1i_1,this.i1i_1,n,new Ya(this.h1i_1)),o=t.hh(),i=ji(o,$i(qi(Za),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Qa.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Z_),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Qa.prototype.toString=function(){return"LegMuteRequest(conversationId="+this.g1i_1+", legId="+this.h1i_1+", memberId="+this.i1i_1+")"},Qa.prototype.hashCode=function(){var t=Ci(this.g1i_1);return t=si(t,31)+Ci(this.h1i_1)|0,t=si(t,31)+Ci(this.i1i_1)|0},Qa.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qa))return!1;var n=t instanceof Qa?t:li();return this.g1i_1===n.g1i_1&&this.h1i_1===n.h1i_1&&this.i1i_1===n.i1i_1},Qa.$metadata$=_i("LegMuteRequest",[qh]),ai("Companion"),tc.prototype.fg=function(){return this.l1i_1},tc.prototype.ar=function(){return[xi()]},tc.prototype.hg=function(t){var n=this.l1i_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),rc(o,i,null)},tc.prototype.m1i=function(t,n){var e=this.l1i_1,r=t.mj(e);r.zk(e,0,n.n1i_1),r.nj(e)},tc.prototype.gg=function(t,n){return this.m1i(t,n instanceof ac?n:li())},tc.$metadata$=ai("$serializer",[Ri]),ai("Companion"),oc.prototype.fg=function(){return this.o1i_1},oc.prototype.ar=function(){return[xi(),xi(),xi(),xi(),nc()]},oc.prototype.hg=function(t){var n=this.o1i_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.wj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.xj(n,4,nc(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.wj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.xj(n,4,nc(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),sc(o,i,u,s,a,c,null)},oc.prototype.j1f=function(t,n){var e=this.o1i_1,r=t.mj(e);r.zk(e,0,n.p1i_1),r.zk(e,1,n.q1i_1),r.zk(e,2,n.r1i_1),r.zk(e,3,n.s1i_1),r.al(e,4,nc(),n.t1i_1),r.nj(e)},oc.prototype.gg=function(t,n){return this.j1f(t,n instanceof cc?n:li())},oc.$metadata$=ai("$serializer",[Ri]),ac.prototype.toString=function(){return"LegUnmuteBody(rtc_id="+this.n1i_1+")"},ac.prototype.hashCode=function(){return Ci(this.n1i_1)},ac.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ac))return!1;var n=t instanceof ac?t:li();return this.n1i_1===n.n1i_1},ac.$metadata$=_i("LegUnmuteBody",void 0,void 0,{0:nc}),cc.$metadata$=_i("Body",void 0,void 0,{0:ic}),pc.prototype.u1e=function(){return this.x1i_1},pc.prototype.v1e=function(){return this.y1i_1},pc.prototype.w1e=function(t,n){var e,r=new cc("audio:mute:off",this.w1i_1,this.w1i_1,n,new ac(this.v1i_1)),o=t.hh(),i=ji(o,$i(qi(cc),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},pc.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(ry),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},pc.prototype.toString=function(){return"LegUnmuteRequest(conversationId="+this.u1i_1+", legId="+this.v1i_1+", memberId="+this.w1i_1+")"},pc.prototype.hashCode=function(){var t=Ci(this.u1i_1);return t=si(t,31)+Ci(this.v1i_1)|0,t=si(t,31)+Ci(this.w1i_1)|0},pc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof pc))return!1;var n=t instanceof pc?t:li();return this.u1i_1===n.u1i_1&&this.v1i_1===n.v1i_1&&this.w1i_1===n.w1i_1},pc.$metadata$=_i("LegUnmuteRequest",[qh]),ai("Companion"),lc.prototype.fg=function(){return this.z1i_1},lc.prototype.ar=function(){return[xi()]},lc.prototype.hg=function(t){var n=this.z1i_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),_c(o,i,null)},lc.prototype.a1j=function(t,n){var e=this.z1i_1,r=t.mj(e);r.zk(e,0,n.b1j_1),r.nj(e)},lc.prototype.gg=function(t,n){return this.a1j(t,n instanceof mc?n:li())},lc.$metadata$=ai("$serializer",[Ri]),ai("Companion"),yc.prototype.fg=function(){return this.c1j_1},yc.prototype.ar=function(){return[xi(),xi(),xi(),xi(),fc()]},yc.prototype.hg=function(t){var n=this.c1j_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.wj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.xj(n,4,fc(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.wj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.xj(n,4,fc(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),gc(o,i,u,s,a,c,null)},yc.prototype.j1f=function(t,n){var e=this.c1j_1,r=t.mj(e);r.zk(e,0,n.d1j_1),r.zk(e,1,n.e1j_1),r.zk(e,2,n.f1j_1),r.zk(e,3,n.g1j_1),r.al(e,4,fc(),n.h1j_1),r.nj(e)},yc.prototype.gg=function(t,n){return this.j1f(t,n instanceof bc?n:li())},yc.$metadata$=ai("$serializer",[Ri]),mc.prototype.toString=function(){return"LegEarmuffEnableBody(rtc_id="+this.b1j_1+")"},mc.prototype.hashCode=function(){return Ci(this.b1j_1)},mc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof mc))return!1;var n=t instanceof mc?t:li();return this.b1j_1===n.b1j_1},mc.$metadata$=_i("LegEarmuffEnableBody",void 0,void 0,{0:fc}),bc.$metadata$=_i("Body",void 0,void 0,{0:dc}),wc.prototype.u1e=function(){return this.l1j_1},wc.prototype.v1e=function(){return this.m1j_1},wc.prototype.w1e=function(t,n){var e,r=new bc("audio:earmuff:on",this.k1j_1,this.k1j_1,n,new mc(this.j1j_1)),o=t.hh(),i=ji(o,$i(qi(bc),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},wc.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(ay),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},wc.prototype.toString=function(){return"LegEarmuffEnableRequest(conversationId="+this.i1j_1+", legId="+this.j1j_1+", memberId="+this.k1j_1+")"},wc.prototype.hashCode=function(){var t=Ci(this.i1j_1);return t=si(t,31)+Ci(this.j1j_1)|0,t=si(t,31)+Ci(this.k1j_1)|0},wc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof wc))return!1;var n=t instanceof wc?t:li();return this.i1j_1===n.i1j_1&&this.j1j_1===n.j1j_1&&this.k1j_1===n.k1j_1},wc.$metadata$=_i("LegEarmuffEnableRequest",[qh]),ai("Companion"),$c.prototype.fg=function(){return this.n1j_1},$c.prototype.ar=function(){return[xi()]},$c.prototype.hg=function(t){var n=this.n1j_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),qc(o,i,null)},$c.prototype.o1j=function(t,n){var e=this.n1j_1,r=t.mj(e);r.zk(e,0,n.p1j_1),r.nj(e)},$c.prototype.gg=function(t,n){return this.o1j(t,n instanceof Oc?n:li())},$c.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Cc.prototype.fg=function(){return this.q1j_1},Cc.prototype.ar=function(){return[xi(),xi(),xi(),xi(),jc()]},Cc.prototype.hg=function(t){var n=this.q1j_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.wj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.xj(n,4,jc(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.wj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.xj(n,4,jc(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),Sc(o,i,u,s,a,c,null)},Cc.prototype.j1f=function(t,n){var e=this.q1j_1,r=t.mj(e);r.zk(e,0,n.r1j_1),r.zk(e,1,n.s1j_1),r.zk(e,2,n.t1j_1),r.zk(e,3,n.u1j_1),r.al(e,4,jc(),n.v1j_1),r.nj(e)},Cc.prototype.gg=function(t,n){return this.j1f(t,n instanceof Ec?n:li())},Cc.$metadata$=ai("$serializer",[Ri]),Oc.prototype.toString=function(){return"LegEarmuffDisableBody(rtc_id="+this.p1j_1+")"},Oc.prototype.hashCode=function(){return Ci(this.p1j_1)},Oc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Oc))return!1;var n=t instanceof Oc?t:li();return this.p1j_1===n.p1j_1},Oc.$metadata$=_i("LegEarmuffDisableBody",void 0,void 0,{0:jc}),Ec.$metadata$=_i("Body",void 0,void 0,{0:zc}),Rc.prototype.u1e=function(){return this.z1j_1},Rc.prototype.v1e=function(){return this.a1k_1},Rc.prototype.w1e=function(t,n){var e,r=new Ec("audio:earmuff:off",this.y1j_1,this.y1j_1,n,new Oc(this.x1j_1)),o=t.hh(),i=ji(o,$i(qi(Ec),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Rc.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(hy),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Rc.prototype.toString=function(){return"LegEarmuffDisableRequest(conversationId="+this.w1j_1+", legId="+this.x1j_1+", memberId="+this.y1j_1+")"},Rc.prototype.hashCode=function(){var t=Ci(this.w1j_1);return t=si(t,31)+Ci(this.x1j_1)|0,t=si(t,31)+Ci(this.y1j_1)|0},Rc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Rc))return!1;var n=t instanceof Rc?t:li();return this.w1j_1===n.w1j_1&&this.x1j_1===n.x1j_1&&this.y1j_1===n.y1j_1},Rc.$metadata$=_i("LegEarmuffDisableRequest",[qh]),ai("Companion"),Pc.prototype.fg=function(){return this.b1k_1},Pc.prototype.ar=function(){return[xi(),fE()]},Pc.prototype.hg=function(t){var n=this.b1k_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,fE(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,fE(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Nc(o,i,u,null)},Pc.prototype.c1k=function(t,n){var e=this.b1k_1,r=t.mj(e);r.zk(e,0,n.d1k_1),r.al(e,1,fE(),n.e1k_1),r.nj(e)},Pc.prototype.gg=function(t,n){return this.c1k(t,n instanceof Fc?n:li())},Pc.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Ic.prototype.fg=function(){return this.f1k_1},Ic.prototype.ar=function(){return[xi(),xi(),xi(),Tc()]},Ic.prototype.hg=function(t){var n=this.f1k_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.xj(n,3,Tc(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.xj(n,3,Tc(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Lc(o,i,u,s,a,null)},Ic.prototype.j1f=function(t,n){var e=this.f1k_1,r=t.mj(e);r.zk(e,0,n.g1k_1),r.zk(e,1,n.h1k_1),r.zk(e,2,n.i1k_1),r.al(e,3,Tc(),n.j1k_1),r.nj(e)},Ic.prototype.gg=function(t,n){return this.j1f(t,n instanceof Dc?n:li())},Ic.$metadata$=ai("$serializer",[Ri]),Fc.prototype.toString=function(){return"LegDTMFBody(digit="+this.d1k_1+", channel="+this.e1k_1+")"},Fc.prototype.hashCode=function(){var t=Ci(this.d1k_1);return t=si(t,31)+this.e1k_1.hashCode()|0},Fc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fc))return!1;var n=t instanceof Fc?t:li();return this.d1k_1===n.d1k_1&&!!this.e1k_1.equals(n.e1k_1)},Fc.$metadata$=_i("LegDTMFBody",void 0,void 0,{0:Tc}),Dc.$metadata$=_i("Body",void 0,void 0,{0:Bc}),Jc.prototype.u1e=function(){return this.o1k_1},Jc.prototype.v1e=function(){return this.p1k_1},Jc.prototype.w1e=function(t,n){var e,r=new Dc("audio:dtmf",this.m1k_1,n,new Fc(this.n1k_1,new yE(this.l1k_1,jE().d4_1))),o=t.hh(),i=ji(o,$i(qi(Dc),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Jc.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(gy),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Jc.prototype.toString=function(){return"LegDTMFRequest(conversationId="+this.k1k_1+", legId="+this.l1k_1+", memberId="+this.m1k_1+", digits="+this.n1k_1+")"},Jc.prototype.hashCode=function(){var t=Ci(this.k1k_1);return t=si(t,31)+Ci(this.l1k_1)|0,t=si(t,31)+Ci(this.m1k_1)|0,t=si(t,31)+Ci(this.n1k_1)|0},Jc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Jc))return!1;var n=t instanceof Jc?t:li();return this.k1k_1===n.k1k_1&&this.l1k_1===n.l1k_1&&this.m1k_1===n.m1k_1&&this.n1k_1===n.n1k_1},Jc.$metadata$=_i("LegDTMFRequest",[qh]),ai("Companion"),Uc.prototype.fg=function(){return this.q1k_1},Uc.prototype.ar=function(){return[xi(),Ni(),Ni(),Ki(),xi(),Ki()]},Uc.prototype.hg=function(t){var n=this.q1k_1,e=!0,r=0,o=0,i=null,u=0,s=0,a=!1,c=null,p=!1,l=t.mj(n);if(l.ak())i=l.wj(n,0),o|=1,u=l.rj(n,1),o|=2,s=l.rj(n,2),o|=4,a=l.oj(n,3),o|=8,c=l.wj(n,4),o|=16,p=l.oj(n,5),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.wj(n,0),o|=1;break;case 1:u=l.rj(n,1),o|=2;break;case 2:s=l.rj(n,2),o|=4;break;case 3:a=l.oj(n,3),o|=8;break;case 4:c=l.wj(n,4),o|=16;break;case 5:p=l.oj(n,5),o|=32;break;default:throw Oi(r)}return l.nj(n),Kc(o,i,u,s,a,c,p,null)},Uc.prototype.r1k=function(t,n){var e=this.q1k_1,r=t.mj(e);r.zk(e,0,n.s1k_1),r.uk(e,1,n.t1k_1),r.uk(e,2,n.u1k_1),r.rk(e,3,n.v1k_1),r.zk(e,4,n.w1k_1),r.rk(e,5,n.x1k_1),r.nj(e)},Uc.prototype.gg=function(t,n){return this.r1k(t,n instanceof Zc?n:li())},Uc.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Wc.prototype.fg=function(){return this.y1k_1},Wc.prototype.ar=function(){return[xi(),xi(),xi(),Hc()]},Wc.prototype.hg=function(t){var n=this.y1k_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.xj(n,3,Hc(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.xj(n,3,Hc(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Yc(o,i,u,s,a,null)},Wc.prototype.j1f=function(t,n){var e=this.y1k_1,r=t.mj(e);r.zk(e,0,n.z1k_1),r.zk(e,1,n.a1l_1),r.zk(e,2,n.b1l_1),r.al(e,3,Hc(),n.c1l_1),r.nj(e)},Wc.prototype.gg=function(t,n){return this.j1f(t,n instanceof Qc?n:li())},Wc.$metadata$=ai("$serializer",[Ri]),Zc.prototype.toString=function(){return"AudioSayBody(text="+this.s1k_1+", level="+this.t1k_1+", loop="+this.u1k_1+", queue="+this.v1k_1+", voice_name="+this.w1k_1+", ssml="+this.x1k_1+")"},Zc.prototype.hashCode=function(){var t=Ci(this.s1k_1);return t=si(t,31)+this.t1k_1|0,t=si(t,31)+this.u1k_1|0,t=si(t,31)+(0|this.v1k_1)|0,t=si(t,31)+Ci(this.w1k_1)|0,t=si(t,31)+(0|this.x1k_1)|0},Zc.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zc))return!1;var n=t instanceof Zc?t:li();return this.s1k_1===n.s1k_1&&this.t1k_1===n.t1k_1&&this.u1k_1===n.u1k_1&&this.v1k_1===n.v1k_1&&this.w1k_1===n.w1k_1&&this.x1k_1===n.x1k_1},Zc.$metadata$=_i("AudioSayBody",void 0,void 0,{0:Hc}),Qc.$metadata$=_i("Body",void 0,void 0,{0:Gc}),tp.prototype.u1e=function(){return this.l1l_1},tp.prototype.v1e=function(){return this.m1l_1},tp.prototype.w1e=function(t,n){var e,r=new Qc("audio:say",this.e1l_1,n,new Zc(this.f1l_1,this.g1l_1,this.h1l_1,this.i1l_1,this.j1l_1,this.k1l_1)),o=t.hh(),i=ji(o,$i(qi(Qc),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},tp.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(jy),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},tp.prototype.toString=function(){return"AudioSayRequest(cid="+this.d1l_1+", mid="+this.e1l_1+", text="+this.f1l_1+", level="+this.g1l_1+", loop="+this.h1l_1+", queue="+this.i1l_1+", voiceName="+this.j1l_1+", ssml="+this.k1l_1+")"},tp.prototype.hashCode=function(){var t=Ci(this.d1l_1);return t=si(t,31)+Ci(this.e1l_1)|0,t=si(t,31)+Ci(this.f1l_1)|0,t=si(t,31)+this.g1l_1|0,t=si(t,31)+this.h1l_1|0,t=si(t,31)+(0|this.i1l_1)|0,t=si(t,31)+Ci(this.j1l_1)|0,t=si(t,31)+(0|this.k1l_1)|0},tp.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof tp))return!1;var n=t instanceof tp?t:li();return this.d1l_1===n.d1l_1&&this.e1l_1===n.e1l_1&&this.f1l_1===n.f1l_1&&this.g1l_1===n.g1l_1&&this.h1l_1===n.h1l_1&&this.i1l_1===n.i1l_1&&this.j1l_1===n.j1l_1&&this.k1l_1===n.k1l_1},tp.$metadata$=_i("AudioSayRequest",[qh]),np.prototype.u1e=function(){return this.o1l_1},np.prototype.v1e=function(){return this.p1l_1},np.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(ff),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},np.prototype.toString=function(){return"GetConversationRequest(cid="+this.n1l_1+")"},np.prototype.hashCode=function(){return Ci(this.n1l_1)},np.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof np))return!1;var n=t instanceof np?t:li();return this.n1l_1===n.n1l_1},np.$metadata$=_i("GetConversationRequest",[qh]),ep.prototype.fg=function(){return this.q1l_1},ep.prototype.ar=function(){return[xi(),xi()]},ep.prototype.hg=function(t){var n=this.q1l_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),ip(o,i,u,null)},ep.prototype.r1l=function(t,n){var e=this.q1l_1,r=t.mj(e);r.zk(e,0,n.s1l_1),r.zk(e,1,n.t1l_1),r.nj(e)},ep.prototype.gg=function(t,n){return this.r1l(t,n instanceof up?n:li())},ep.$metadata$=ai("$serializer",[Ri]),up.prototype.toString=function(){return"InvalidParameter(name="+this.s1l_1+", reason="+this.t1l_1+")"},up.prototype.hashCode=function(){var t=Ci(this.s1l_1);return t=si(t,31)+Ci(this.t1l_1)|0},up.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof up))return!1;var n=t instanceof up?t:li();return this.s1l_1===n.s1l_1&&this.t1l_1===n.t1l_1},up.$metadata$=_i("InvalidParameter",void 0,void 0,{0:rp}),sp.prototype.c11=function(){return pp()},sp.$metadata$=ai("Companion"),cp.prototype.fg=function(){return this.u1l_1},cp.prototype.ar=function(){return[xi(),xi(),xi(),xi(),xi(),Ai(new Wi(rp()))]},cp.prototype.hg=function(t){var n=this.u1l_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.wj(n,0),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.wj(n,4),o|=16,p=l.zj(n,5,new Wi(rp()),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.wj(n,0),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.wj(n,4),o|=16;break;case 5:p=l.zj(n,5,new Wi(rp()),p),o|=32;break;default:throw Oi(r)}return l.nj(n),fp(o,i,u,s,a,c,p,null)},cp.prototype.v1l=function(t,n){var e=this.u1l_1,r=t.mj(e);(r.gl(e,0)||""!==n.w1l_1)&&r.zk(e,0,n.w1l_1),(r.gl(e,1)||""!==n.x1l_1)&&r.zk(e,1,n.x1l_1),(r.gl(e,2)||""!==n.y1l_1)&&r.zk(e,2,n.y1l_1),(r.gl(e,3)||""!==n.z1l_1)&&r.zk(e,3,n.z1l_1),(r.gl(e,4)||""!==n.a1m_1)&&r.zk(e,4,n.a1m_1),(r.gl(e,5)||null!=n.b1m_1)&&r.cl(e,5,new Wi(rp()),n.b1m_1),r.nj(e)},cp.prototype.gg=function(t,n){return this.v1l(t,n instanceof hp?n:li())},cp.$metadata$=ai("$serializer",[Ri]),hp.prototype.g1=function(){return this.z1l_1+" "+this.b1m_1},hp.prototype.toString=function(){return"CSError(title="+this.w1l_1+", type="+this.x1l_1+", code="+this.y1l_1+", detail="+this.z1l_1+", instance="+this.a1m_1+", invalid_parameters="+this.b1m_1+")"},hp.prototype.hashCode=function(){var t=Ci(this.w1l_1);return t=si(t,31)+Ci(this.x1l_1)|0,t=si(t,31)+Ci(this.y1l_1)|0,t=si(t,31)+Ci(this.z1l_1)|0,t=si(t,31)+Ci(this.a1m_1)|0,t=si(t,31)+(null==this.b1m_1?0:gi(this.b1m_1))|0},hp.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hp))return!1;var n=t instanceof hp?t:li();return this.w1l_1===n.w1l_1&&this.x1l_1===n.x1l_1&&this.y1l_1===n.y1l_1&&this.z1l_1===n.z1l_1&&this.a1m_1===n.a1m_1&&!!mi(this.b1m_1,n.b1m_1)},hp.$metadata$=_i("CSError",void 0,void 0,{0:pp},void 0,Yi.prototype),Object.defineProperty(hp.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),_p.prototype.u1e=function(){return this.d1m_1},_p.prototype.v1e=function(){return this.e1m_1},_p.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(kp),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},_p.prototype.toString=function(){return"GetMyMemberRequest(cid="+this.c1m_1+")"},_p.prototype.hashCode=function(){return Ci(this.c1m_1)},_p.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof _p))return!1;var n=t instanceof _p?t:li();return this.c1m_1===n.c1m_1},_p.$metadata$=_i("GetMyMemberRequest",[qh]),yp.prototype.fg=function(){return this.f1m_1},yp.prototype.ar=function(){return[Af()]},yp.prototype.hg=function(t){var n=this.f1m_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,Af(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,Af(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),gp(o,i,null)},yp.prototype.g1m=function(t,n){var e=this.f1m_1,r=t.mj(e);r.al(e,0,Af(),n.h1m_1),r.nj(e)},yp.prototype.gg=function(t,n){return this.g1m(t,n instanceof mp?n:li())},yp.$metadata$=ai("$serializer",[Ri]),mp.prototype.i1m=function(){return this.h1m_1},mp.prototype.toString=function(){return"EmbeddedUser(user="+this.h1m_1+")"},mp.prototype.hashCode=function(){return gi(this.h1m_1)},mp.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof mp))return!1;var n=t instanceof mp?t:li();return!!mi(this.h1m_1,n.h1m_1)},mp.$metadata$=_i("EmbeddedUser",void 0,void 0,{0:dp}),ai("Companion"),bp.prototype.fg=function(){return this.j1m_1},bp.prototype.ar=function(){return[xi(),new Zi("com.vonage.clientcore.core.api.models.MemberState",Nz()),Ai(dp()),Ai(qC()),Ai(Jz())]},bp.prototype.hg=function(t){var n=this.j1m_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.xj(n,1,new Zi("com.vonage.clientcore.core.api.models.MemberState",Nz()),u),o|=2,s=p.zj(n,2,dp(),s),o|=4,a=p.zj(n,3,qC(),a),o|=8,c=p.zj(n,4,Jz(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.xj(n,1,new Zi("com.vonage.clientcore.core.api.models.MemberState",Nz()),u),o|=2;break;case 2:s=p.zj(n,2,dp(),s),o|=4;break;case 3:a=p.zj(n,3,qC(),a),o|=8;break;case 4:c=p.zj(n,4,Jz(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),jp(o,i,u,s,a,c,null)},bp.prototype.k1m=function(t,n){var e=this.j1m_1,r=t.mj(e);r.zk(e,0,n.l1m_1),r.al(e,1,new Zi("com.vonage.clientcore.core.api.models.MemberState",Nz()),n.m1m_1),(r.gl(e,2)||null!=n.n1m_1)&&r.cl(e,2,dp(),n.n1m_1),(r.gl(e,3)||null!=n.o1m_1)&&r.cl(e,3,qC(),n.o1m_1),(r.gl(e,4)||null!=n.p1m_1)&&r.cl(e,4,Jz(),n.p1m_1),r.nj(e)},bp.prototype.gg=function(t,n){return this.k1m(t,n instanceof kp?n:li())},bp.$metadata$=ai("$serializer",[Ri]),kp.prototype.q1m=function(){return this.l1m_1},kp.prototype.u1c=function(){return this.m1m_1},kp.prototype.r1m=function(){return this.n1m_1},kp.$metadata$=_i("GetMember",[Rh],void 0,{0:wp}),ai("Companion"),qp.prototype.fg=function(){return this.s1m_1},qp.prototype.ar=function(){return[Ai(xi()),Ai(xi())]},qp.prototype.hg=function(t){var n=this.s1m_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.zj(n,0,xi(),i),o|=1,u=s.zj(n,1,xi(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.zj(n,0,xi(),i),o|=1;break;case 1:u=s.zj(n,1,xi(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),xp(o,i,u,null)},qp.prototype.j1f=function(t,n){var e=this.s1m_1,r=t.mj(e);r.cl(e,0,xi(),n.t1m_1),r.cl(e,1,xi(),n.u1m_1),r.nj(e)},qp.prototype.gg=function(t,n){return this.j1f(t,n instanceof Sp?n:li())},qp.$metadata$=ai("$serializer",[Ri]),Sp.$metadata$=_i("Body",void 0,void 0,{0:Cp}),Op.prototype.u1e=function(){return this.x1m_1},Op.prototype.v1e=function(){return this.y1m_1},Op.prototype.w1e=function(t,n){var e,r=new Sp(this.v1m_1,this.w1m_1),o=t.hh(),i=ji(o,$i(qi(Sp),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Op.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Ap),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Op.prototype.toString=function(){return"ConversationCreateRequest(name="+this.v1m_1+", displayName="+this.w1m_1+")"},Op.prototype.hashCode=function(){var t=null==this.v1m_1?0:Ci(this.v1m_1);return t=si(t,31)+(null==this.w1m_1?0:Ci(this.w1m_1))|0},Op.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Op))return!1;var n=t instanceof Op?t:li();return this.v1m_1==n.v1m_1&&this.w1m_1==n.w1m_1},Op.$metadata$=_i("ConversationCreateRequest",[qh]),ai("Companion"),Ep.prototype.fg=function(){return this.z1m_1},Ep.prototype.ar=function(){return[xi(),xi(),xi(),Ai(xi())]},Ep.prototype.hg=function(t){var n=this.z1m_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Tp(o,i,u,s,a,null)},Ep.prototype.a1n=function(t,n){var e=this.z1m_1,r=t.mj(e);r.zk(e,0,n.b1n_1),r.zk(e,1,n.c1n_1),r.zk(e,2,n.d1n_1),(r.gl(e,3)||null!=n.e1n_1)&&r.cl(e,3,xi(),n.e1n_1),r.nj(e)},Ep.prototype.gg=function(t,n){return this.a1n(t,n instanceof Ap?n:li())},Ep.$metadata$=ai("$serializer",[Ri]),Ap.prototype.toString=function(){return"ConversationCreate(id="+this.b1n_1+", name="+this.c1n_1+", state="+this.d1n_1+", display_name="+this.e1n_1+")"},Ap.prototype.hashCode=function(){var t=Ci(this.b1n_1);return t=si(t,31)+Ci(this.c1n_1)|0,t=si(t,31)+Ci(this.d1n_1)|0,t=si(t,31)+(null==this.e1n_1?0:Ci(this.e1n_1))|0},Ap.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ap))return!1;var n=t instanceof Ap?t:li();return this.b1n_1===n.b1n_1&&this.c1n_1===n.c1n_1&&this.d1n_1===n.d1n_1&&this.e1n_1==n.e1n_1},Ap.$metadata$=_i("ConversationCreate",[Rh],void 0,{0:Rp}),ai("Companion"),Bp.prototype.fg=function(){return this.f1n_1},Bp.prototype.ar=function(){return[xi()]},Bp.prototype.hg=function(t){var n=this.f1n_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Fp(o,i,null)},Bp.prototype.h1h=function(t,n){var e=this.f1n_1,r=t.mj(e);(r.gl(e,0)||"app"!==n.g1n_1)&&r.zk(e,0,n.g1n_1),r.nj(e)},Bp.prototype.gg=function(t,n){return this.h1h(t,n instanceof Zp?n:li())},Bp.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Dp.prototype.fg=function(){return this.h1n_1},Dp.prototype.ar=function(){return[xi(),xi()]},Dp.prototype.hg=function(t){var n=this.h1n_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),Hp(o,i,u,null)},Dp.prototype.i1n=function(t,n){var e=this.h1n_1,r=t.mj(e);r.zk(e,0,n.j1n_1),r.zk(e,1,n.k1n_1),r.nj(e)},Dp.prototype.gg=function(t,n){return this.i1n(t,n instanceof Qp?n:li())},Dp.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Wp.prototype.fg=function(){return this.l1n_1},Wp.prototype.ar=function(){return[xi(),Mp(),Jp(),xi()]},Wp.prototype.hg=function(t){var n=this.l1n_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.xj(n,1,Mp(),u),o|=2,s=c.xj(n,2,Jp(),s),o|=4,a=c.wj(n,3),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.xj(n,1,Mp(),u),o|=2;break;case 2:s=c.xj(n,2,Jp(),s),o|=4;break;case 3:a=c.wj(n,3),o|=8;break;default:throw Oi(r)}return c.nj(n),Yp(o,i,u,s,a,null)},Wp.prototype.j1f=function(t,n){var e=this.l1n_1,r=t.mj(e);r.zk(e,0,n.m1n_1),r.al(e,1,Mp(),n.n1n_1),r.al(e,2,Jp(),n.o1n_1),(r.gl(e,3)||"joined"!==n.p1n_1)&&r.zk(e,3,n.p1n_1),r.nj(e)},Wp.prototype.gg=function(t,n){return this.j1f(t,n instanceof tl?n:li())},Wp.$metadata$=ai("$serializer",[Ri]),Zp.prototype.toString=function(){return"MemberJoinChannel(type="+this.g1n_1+")"},Zp.prototype.hashCode=function(){return Ci(this.g1n_1)},Zp.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zp))return!1;var n=t instanceof Zp?t:li();return this.g1n_1===n.g1n_1},Zp.$metadata$=_i("MemberJoinChannel",void 0,void 0,{0:Mp}),Qp.prototype.toString=function(){return"JoinUser(id="+this.j1n_1+", name="+this.k1n_1+")"},Qp.prototype.hashCode=function(){var t=Ci(this.j1n_1);return t=si(t,31)+Ci(this.k1n_1)|0},Qp.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qp))return!1;var n=t instanceof Qp?t:li();return this.j1n_1===n.j1n_1&&this.k1n_1===n.k1n_1},Qp.$metadata$=_i("JoinUser",void 0,void 0,{0:Jp}),tl.$metadata$=_i("Body",void 0,void 0,{0:Gp}),nl.prototype.u1e=function(){return this.t1n_1},nl.prototype.v1e=function(){return this.u1n_1},nl.prototype.w1e=function(t,n){var e,r=Kp(n,Ip(null,1,null),new Qp(this.r1n_1,this.s1n_1),null,8,null),o=t.hh(),i=ji(o,$i(qi(tl),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},nl.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(ul),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},nl.prototype.toString=function(){return"ConversationJoinRequest(cid="+this.q1n_1+", userId="+this.r1n_1+", username="+this.s1n_1+")"},nl.prototype.hashCode=function(){var t=Ci(this.q1n_1);return t=si(t,31)+Ci(this.r1n_1)|0,t=si(t,31)+Ci(this.s1n_1)|0},nl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof nl))return!1;var n=t instanceof nl?t:li();return this.q1n_1===n.q1n_1&&this.r1n_1===n.r1n_1&&this.s1n_1===n.s1n_1},nl.$metadata$=_i("ConversationJoinRequest",[qh]),ai("Companion"),el.prototype.fg=function(){return this.v1n_1},el.prototype.ar=function(){return[xi()]},el.prototype.hg=function(t){var n=this.v1n_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),il(o,i,null)},el.prototype.w1n=function(t,n){var e=this.v1n_1,r=t.mj(e);r.zk(e,0,n.x1n_1),r.nj(e)},el.prototype.gg=function(t,n){return this.w1n(t,n instanceof ul?n:li())},el.$metadata$=ai("$serializer",[Ri]),ul.prototype.toString=function(){return"ConversationJoin(id="+this.x1n_1+")"},ul.prototype.hashCode=function(){return Ci(this.x1n_1)},ul.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ul))return!1;var n=t instanceof ul?t:li();return this.x1n_1===n.x1n_1},ul.$metadata$=_i("ConversationJoin",[Rh],void 0,{0:rl}),ai("Companion"),cl.prototype.fg=function(){return this.y1n_1},cl.prototype.ar=function(){return[xi()]},cl.prototype.hg=function(t){var n=this.y1n_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),fl(o,i,null)},cl.prototype.z1n=function(t,n){var e=this.y1n_1,r=t.mj(e);(r.gl(e,0)||"app"!==n.a1o_1)&&r.zk(e,0,n.a1o_1),r.nj(e)},cl.prototype.gg=function(t,n){return this.z1n(t,n instanceof El?n:li())},cl.$metadata$=ai("$serializer",[Ri]),ai("Companion"),yl.prototype.fg=function(){return this.b1o_1},yl.prototype.ar=function(){return[xi()]},yl.prototype.hg=function(t){var n=this.b1o_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),gl(o,i,null)},yl.prototype.c1o=function(t,n){var e=this.b1o_1,r=t.mj(e);(r.gl(e,0)||"app"!==n.d1o_1)&&r.zk(e,0,n.d1o_1),r.nj(e)},yl.prototype.gg=function(t,n){return this.c1o(t,n instanceof Rl?n:li())},yl.$metadata$=ai("$serializer",[Ri]),ai("Companion"),ml.prototype.fg=function(){return this.e1o_1},ml.prototype.ar=function(){return[xi(),dl(),pl()]},ml.prototype.hg=function(t){var n=this.e1o_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.xj(n,1,dl(),u),o|=2,s=a.xj(n,2,pl(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.xj(n,1,dl(),u),o|=2;break;case 2:s=a.xj(n,2,pl(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),$l(o,i,u,s,null)},ml.prototype.f1o=function(t,n){var e=this.e1o_1,r=t.mj(e);(r.gl(e,0)||"app"!==n.g1o_1)&&r.zk(e,0,n.g1o_1),r.al(e,1,dl(),n.h1o_1),r.al(e,2,pl(),n.i1o_1),r.nj(e)},ml.prototype.gg=function(t,n){return this.f1o(t,n instanceof Pl?n:li())},ml.$metadata$=ai("$serializer",[Ri]),ai("Companion"),jl.prototype.fg=function(){return this.j1o_1},jl.prototype.ar=function(){return[xi()]},jl.prototype.hg=function(t){var n=this.j1o_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Cl(o,i,null)},jl.prototype.k1o=function(t,n){var e=this.j1o_1,r=t.mj(e);r.zk(e,0,n.l1o_1),r.nj(e)},jl.prototype.gg=function(t,n){return this.k1o(t,n instanceof Tl?n:li())},jl.$metadata$=ai("$serializer",[Ri]),ai("Companion"),zl.prototype.fg=function(){return this.m1o_1},zl.prototype.ar=function(){return[xi(),xi(),kl(),bl()]},zl.prototype.hg=function(t){var n=this.m1o_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.xj(n,2,kl(),s),o|=4,a=c.xj(n,3,bl(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.xj(n,2,kl(),s),o|=4;break;case 3:a=c.xj(n,3,bl(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Ol(o,i,u,s,a,null)},zl.prototype.j1f=function(t,n){var e=this.m1o_1,r=t.mj(e);r.zk(e,0,n.n1o_1),r.zk(e,1,n.o1o_1),r.al(e,2,kl(),n.p1o_1),r.al(e,3,bl(),n.q1o_1),r.nj(e)},zl.prototype.gg=function(t,n){return this.j1f(t,n instanceof Al?n:li())},zl.$metadata$=ai("$serializer",[Ri]),El.prototype.toString=function(){return"ConversationInviteTo(type="+this.a1o_1+")"},El.prototype.hashCode=function(){return Ci(this.a1o_1)},El.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof El))return!1;var n=t instanceof El?t:li();return this.a1o_1===n.a1o_1},El.$metadata$=_i("ConversationInviteTo",void 0,void 0,{0:pl}),Rl.prototype.toString=function(){return"ConversationInviteFrom(type="+this.d1o_1+")"},Rl.prototype.hashCode=function(){return Ci(this.d1o_1)},Rl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Rl))return!1;var n=t instanceof Rl?t:li();return this.d1o_1===n.d1o_1},Rl.$metadata$=_i("ConversationInviteFrom",void 0,void 0,{0:dl}),Pl.prototype.toString=function(){return"ConversationInviteChannel(type="+this.g1o_1+", from="+this.h1o_1+", to="+this.i1o_1+")"},Pl.prototype.hashCode=function(){var t=Ci(this.g1o_1);return t=si(t,31)+this.h1o_1.hashCode()|0,t=si(t,31)+this.i1o_1.hashCode()|0},Pl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Pl))return!1;var n=t instanceof Pl?t:li();return this.g1o_1===n.g1o_1&&!!this.h1o_1.equals(n.h1o_1)&&!!this.i1o_1.equals(n.i1o_1)},Pl.$metadata$=_i("ConversationInviteChannel",void 0,void 0,{0:bl}),Tl.prototype.toString=function(){return"ConversationInviteUser(name="+this.l1o_1+")"},Tl.prototype.hashCode=function(){return Ci(this.l1o_1)},Tl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Tl))return!1;var n=t instanceof Tl?t:li();return this.l1o_1===n.l1o_1},Tl.$metadata$=_i("ConversationInviteUser",void 0,void 0,{0:kl}),Al.$metadata$=_i("Body",void 0,void 0,{0:xl}),Nl.prototype.u1e=function(){return this.t1o_1},Nl.prototype.v1e=function(){return this.u1o_1},Nl.prototype.w1e=function(t,n){var e,r=new Al(n,"invited",new Tl(this.s1o_1),new Pl("app",_l(null,1,null),al(null,1,null))),o=t.hh(),i=ji(o,$i(qi(Al),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Nl.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Fl),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Nl.prototype.toString=function(){return"ConversationInviteRequest(cid="+this.r1o_1+", username="+this.s1o_1+")"},Nl.prototype.hashCode=function(){var t=Ci(this.r1o_1);return t=si(t,31)+Ci(this.s1o_1)|0},Nl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Nl))return!1;var n=t instanceof Nl?t:li();return this.r1o_1===n.r1o_1&&this.s1o_1===n.s1o_1},Nl.$metadata$=_i("ConversationInviteRequest",[qh]),ai("Companion"),Il.prototype.fg=function(){return this.v1o_1},Il.prototype.ar=function(){return[xi()]},Il.prototype.hg=function(t){var n=this.v1o_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Ll(o,i,null)},Il.prototype.w1o=function(t,n){var e=this.v1o_1,r=t.mj(e);r.zk(e,0,n.x1o_1),r.nj(e)},Il.prototype.gg=function(t,n){return this.w1o(t,n instanceof Fl?n:li())},Il.$metadata$=ai("$serializer",[Ri]),Fl.prototype.toString=function(){return"ConversationInvite(id="+this.x1o_1+")"},Fl.prototype.hashCode=function(){return Ci(this.x1o_1)},Fl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fl))return!1;var n=t instanceof Fl?t:li();return this.x1o_1===n.x1o_1},Fl.$metadata$=_i("ConversationInvite",[Rh],void 0,{0:Bl}),Dl.$metadata$=_i("MemberLeft",[Rh]),Jl.prototype.u1e=function(){return this.b1p_1},Jl.prototype.v1e=function(){return this.c1p_1},Jl.prototype.w1e=function(t,n){return""},Jl.prototype.x1e=function(t,n){return new Ul(this.a1p_1)},Jl.prototype.toString=function(){return"ConversationDeleteRequest(cid="+this.a1p_1+")"},Jl.prototype.hashCode=function(){return Ci(this.a1p_1)},Jl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Jl))return!1;var n=t instanceof Jl?t:li();return this.a1p_1===n.a1p_1},Jl.$metadata$=_i("ConversationDeleteRequest",[qh]),Ul.prototype.toString=function(){return"ConversationDelete(cid="+this.d1p_1+")"},Ul.prototype.hashCode=function(){return Ci(this.d1p_1)},Ul.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ul))return!1;var n=t instanceof Ul?t:li();return this.d1p_1===n.d1p_1},Ul.$metadata$=_i("ConversationDelete",[Rh]),Hl.prototype.u1e=function(){return this.i1p_1},Hl.prototype.v1e=function(){return this.j1p_1},Hl.prototype.y1e=function(){var t=this.f1p_1,n=Ui("order",null==t?null:t.d4_1),e=this.g1p_1;return Hi([n,Ui("page_size",null==e?null:e.toString()),Ui("cursor",this.h1p_1)])},Hl.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(nf),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Hl.prototype.toString=function(){return"GetUserConversationsRequest(uid="+this.e1p_1+", order="+this.f1p_1+", pageSize="+this.g1p_1+", cursor="+this.h1p_1+")"},Hl.prototype.hashCode=function(){var t=Ci(this.e1p_1);return t=si(t,31)+(null==this.f1p_1?0:this.f1p_1.hashCode())|0,t=si(t,31)+(null==this.g1p_1?0:this.g1p_1)|0,t=si(t,31)+(null==this.h1p_1?0:Ci(this.h1p_1))|0},Hl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Hl))return!1;var n=t instanceof Hl?t:li();return this.e1p_1===n.e1p_1&&!!mi(this.f1p_1,n.f1p_1)&&this.g1p_1==n.g1p_1&&this.h1p_1==n.h1p_1},Hl.$metadata$=_i("GetUserConversationsRequest",[qh]),Vl.prototype.fg=function(){return this.k1p_1},Vl.prototype.ar=function(){return[new Wi(cf())]},Vl.prototype.hg=function(t){var n=this.k1p_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,new Wi(cf()),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,new Wi(cf()),i),o|=1;break;default:throw Oi(r)}return u.nj(n),Gl(o,i,null)},Vl.prototype.l1p=function(t,n){var e=this.k1p_1,r=t.mj(e);r.al(e,0,new Wi(cf()),n.m1p_1),r.nj(e)},Vl.prototype.gg=function(t,n){return this.l1p(t,n instanceof Xl?n:li())},Vl.$metadata$=ai("$serializer",[Ri]),Xl.prototype.toString=function(){return"UserConversationsEmbedded(conversations="+this.m1p_1+")"},Xl.prototype.hashCode=function(){return gi(this.m1p_1)},Xl.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Xl))return!1;var n=t instanceof Xl?t:li();return!!mi(this.m1p_1,n.m1p_1)},Xl.$metadata$=_i("UserConversationsEmbedded",void 0,void 0,{0:Kl}),ai("Companion"),Yl.prototype.fg=function(){return this.n1p_1},Yl.prototype.ar=function(){return[Kl(),mf()]},Yl.prototype.hg=function(t){var n=this.n1p_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Kl(),i),o|=1,u=s.xj(n,1,mf(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Kl(),i),o|=1;break;case 1:u=s.xj(n,1,mf(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),tf(o,i,u,null)},Yl.prototype.o1p=function(t,n){var e=this.n1p_1,r=t.mj(e);r.al(e,0,Kl(),n.p1p_1),r.al(e,1,mf(),n.q1p_1),r.nj(e)},Yl.prototype.gg=function(t,n){return this.o1p(t,n instanceof nf?n:li())},Yl.$metadata$=ai("$serializer",[Ri]),nf.$metadata$=_i("GetUserConversations",[Rh],void 0,{0:Zl}),ef.prototype.fg=function(){return this.r1p_1},ef.prototype.ar=function(){return[wp()]},ef.prototype.hg=function(t){var n=this.r1p_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,wp(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,wp(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),uf(o,i,null)},ef.prototype.s1p=function(t,n){var e=this.r1p_1,r=t.mj(e);r.al(e,0,wp(),n.t1p_1),r.nj(e)},ef.prototype.gg=function(t,n){return this.s1p(t,n instanceof sf?n:li())},ef.$metadata$=ai("$serializer",[Ri]),sf.prototype.u1p=function(){return this.t1p_1},sf.prototype.toString=function(){return"EmbeddedMember(member="+this.t1p_1+")"},sf.prototype.hashCode=function(){return gi(this.t1p_1)},sf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof sf))return!1;var n=t instanceof sf?t:li();return!!mi(this.t1p_1,n.t1p_1)},sf.$metadata$=_i("EmbeddedMember",void 0,void 0,{0:rf}),ai("Companion"),af.prototype.fg=function(){return this.v1p_1},af.prototype.ar=function(){return[xi(),xi(),yz(),Ai(xi()),Ai(new Zi("com.vonage.clientcore.core.api.models.ConversationState",mz())),Ai(xi()),Ai(rf()),Ai(bh())]},af.prototype.hg=function(t){var n=this.v1p_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=null,f=null,h=t.mj(n);if(h.ak())i=h.wj(n,0),o|=1,u=h.wj(n,1),o|=2,s=h.xj(n,2,yz(),s),o|=4,a=h.zj(n,3,xi(),a),o|=8,c=h.zj(n,4,new Zi("com.vonage.clientcore.core.api.models.ConversationState",mz()),c),o|=16,p=h.zj(n,5,xi(),p),o|=32,l=h.zj(n,6,rf(),l),o|=64,f=h.zj(n,7,bh(),f),o|=128;else for(;e;)switch(r=h.bk(n)){case-1:e=!1;break;case 0:i=h.wj(n,0),o|=1;break;case 1:u=h.wj(n,1),o|=2;break;case 2:s=h.xj(n,2,yz(),s),o|=4;break;case 3:a=h.zj(n,3,xi(),a),o|=8;break;case 4:c=h.zj(n,4,new Zi("com.vonage.clientcore.core.api.models.ConversationState",mz()),c),o|=16;break;case 5:p=h.zj(n,5,xi(),p),o|=32;break;case 6:l=h.zj(n,6,rf(),l),o|=64;break;case 7:f=h.zj(n,7,bh(),f),o|=128;break;default:throw Oi(r)}return h.nj(n),lf(o,i,u,s,a,c,p,l,f,null)},af.prototype.w1p=function(t,n){var e=this.v1p_1,r=t.mj(e);r.zk(e,0,n.x1p_1),r.zk(e,1,n.y1p_1),r.al(e,2,yz(),n.z1p_1),(r.gl(e,3)||null!=n.a1q_1)&&r.cl(e,3,xi(),n.a1q_1),(r.gl(e,4)||null!=n.b1q_1)&&r.cl(e,4,new Zi("com.vonage.clientcore.core.api.models.ConversationState",mz()),n.b1q_1),(r.gl(e,5)||null!=n.c1q_1)&&r.cl(e,5,xi(),n.c1q_1),(r.gl(e,6)||null!=n.d1q_1)&&r.cl(e,6,rf(),n.d1q_1),(r.gl(e,7)||null!=n.e1q_1)&&r.cl(e,7,bh(),n.e1q_1),r.nj(e)},af.prototype.gg=function(t,n){return this.w1p(t,n instanceof ff?n:li())},af.$metadata$=ai("$serializer",[Ri]),ff.prototype.q1m=function(){return this.x1p_1},ff.prototype.f4=function(){return this.y1p_1},ff.prototype.f1q=function(){return this.z1p_1},ff.prototype.g1q=function(){return this.a1q_1},ff.prototype.h1q=function(){return this.c1q_1},ff.prototype.r1m=function(){return this.d1q_1},ff.$metadata$=_i("GetConversation",[Rh],void 0,{0:cf}),hf.prototype.fg=function(){return this.i1q_1},hf.prototype.ar=function(){return[xi()]},hf.prototype.hg=function(t){var n=this.i1q_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),df(o,i,null)},hf.prototype.j1q=function(t,n){var e=this.i1q_1,r=t.mj(e);r.zk(e,0,n.k1q_1),r.nj(e)},hf.prototype.gg=function(t,n){return this.j1q(t,n instanceof vf?n:li())},hf.$metadata$=ai("$serializer",[Ri]),vf.prototype.toString=function(){return"PageNavigationLink(href="+this.k1q_1+")"},vf.prototype.hashCode=function(){return Ci(this.k1q_1)},vf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof vf))return!1;var n=t instanceof vf?t:li();return this.k1q_1===n.k1q_1},vf.$metadata$=_i("PageNavigationLink",void 0,void 0,{0:_f}),gf.prototype.fg=function(){return this.l1q_1},gf.prototype.ar=function(){return[Ai(_f()),Ai(_f())]},gf.prototype.hg=function(t){var n=this.l1q_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.zj(n,0,_f(),i),o|=1,u=s.zj(n,1,_f(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.zj(n,0,_f(),i),o|=1;break;case 1:u=s.zj(n,1,_f(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),wf(o,i,u,null)},gf.prototype.m1q=function(t,n){var e=this.l1q_1,r=t.mj(e);(r.gl(e,0)||null!=n.n1q_1)&&r.cl(e,0,_f(),n.n1q_1),(r.gl(e,1)||null!=n.o1q_1)&&r.cl(e,1,_f(),n.o1q_1),r.nj(e)},gf.prototype.gg=function(t,n){return this.m1q(t,n instanceof $f?n:li())},gf.$metadata$=ai("$serializer",[Ri]),$f.prototype.toString=function(){return"PageNavigationLinks(next="+this.n1q_1+", prev="+this.o1q_1+")"},$f.prototype.hashCode=function(){var t=null==this.n1q_1?0:this.n1q_1.hashCode();return t=si(t,31)+(null==this.o1q_1?0:this.o1q_1.hashCode())|0},$f.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof $f))return!1;var n=t instanceof $f?t:li();return!!mi(this.n1q_1,n.n1q_1)&&!!mi(this.o1q_1,n.o1q_1)},$f.$metadata$=_i("PageNavigationLinks",void 0,void 0,{0:mf}),jf.prototype.u1e=function(){return this.t1q_1},jf.prototype.v1e=function(){return this.u1q_1},jf.prototype.y1e=function(){var t=this.q1q_1,n=Ui("order",null==t?null:t.d4_1),e=this.r1q_1;return Hi([n,Ui("page_size",null==e?null:e.toString()),Ui("cursor",this.s1q_1)])},jf.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Pf),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},jf.prototype.toString=function(){return"GetConversationMembersRequest(cid="+this.p1q_1+", order="+this.q1q_1+", pageSize="+this.r1q_1+", cursor="+this.s1q_1+")"},jf.prototype.hashCode=function(){var t=Ci(this.p1q_1);return t=si(t,31)+(null==this.q1q_1?0:this.q1q_1.hashCode())|0,t=si(t,31)+(null==this.r1q_1?0:this.r1q_1)|0,t=si(t,31)+(null==this.s1q_1?0:Ci(this.s1q_1))|0},jf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof jf))return!1;var n=t instanceof jf?t:li();return this.p1q_1===n.p1q_1&&!!mi(this.q1q_1,n.q1q_1)&&this.r1q_1==n.r1q_1&&this.s1q_1==n.s1q_1},jf.$metadata$=_i("GetConversationMembersRequest",[qh]),kf.prototype.fg=function(){return this.v1q_1},kf.prototype.ar=function(){return[new Wi(wp())]},kf.prototype.hg=function(t){var n=this.v1q_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,new Wi(wp()),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,new Wi(wp()),i),o|=1;break;default:throw Oi(r)}return u.nj(n),zf(o,i,null)},kf.prototype.w1q=function(t,n){var e=this.v1q_1,r=t.mj(e);r.al(e,0,new Wi(wp()),n.x1q_1),r.nj(e)},kf.prototype.gg=function(t,n){return this.w1q(t,n instanceof xf?n:li())},kf.$metadata$=ai("$serializer",[Ri]),xf.prototype.toString=function(){return"ConversationMembersEmbedded(members="+this.x1q_1+")"},xf.prototype.hashCode=function(){return gi(this.x1q_1)},xf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xf))return!1;var n=t instanceof xf?t:li();return!!mi(this.x1q_1,n.x1q_1)},xf.$metadata$=_i("ConversationMembersEmbedded",void 0,void 0,{0:qf}),ai("Companion"),Sf.prototype.fg=function(){return this.y1q_1},Sf.prototype.ar=function(){return[qf(),mf()]},Sf.prototype.hg=function(t){var n=this.y1q_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,qf(),i),o|=1,u=s.xj(n,1,mf(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,qf(),i),o|=1;break;case 1:u=s.xj(n,1,mf(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Rf(o,i,u,null)},Sf.prototype.z1q=function(t,n){var e=this.y1q_1,r=t.mj(e);r.al(e,0,qf(),n.a1r_1),r.al(e,1,mf(),n.b1r_1),r.nj(e)},Sf.prototype.gg=function(t,n){return this.z1q(t,n instanceof Pf?n:li())},Sf.$metadata$=ai("$serializer",[Ri]),Pf.$metadata$=_i("GetConversationMembers",[Rh],void 0,{0:Of}),ai("Companion"),Tf.prototype.fg=function(){return this.c1r_1},Tf.prototype.ar=function(){return[xi(),xi(),Ai(xi()),Ai(RC()),Ai(dx()),Ai(xi()),Ai(bh())]},Tf.prototype.hg=function(t){var n=this.c1r_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=null,f=t.mj(n);if(f.ak())i=f.wj(n,0),o|=1,u=f.wj(n,1),o|=2,s=f.zj(n,2,xi(),s),o|=4,a=f.zj(n,3,RC(),a),o|=8,c=f.zj(n,4,dx(),c),o|=16,p=f.zj(n,5,xi(),p),o|=32,l=f.zj(n,6,bh(),l),o|=64;else for(;e;)switch(r=f.bk(n)){case-1:e=!1;break;case 0:i=f.wj(n,0),o|=1;break;case 1:u=f.wj(n,1),o|=2;break;case 2:s=f.zj(n,2,xi(),s),o|=4;break;case 3:a=f.zj(n,3,RC(),a),o|=8;break;case 4:c=f.zj(n,4,dx(),c),o|=16;break;case 5:p=f.zj(n,5,xi(),p),o|=32;break;case 6:l=f.zj(n,6,bh(),l),o|=64;break;default:throw Oi(r)}return f.nj(n),If(o,i,u,s,a,c,p,l,null)},Tf.prototype.d1r=function(t,n){var e=this.c1r_1,r=t.mj(e);r.zk(e,0,n.e1r_1),r.zk(e,1,n.f1r_1),(r.gl(e,2)||null!=n.g1r_1)&&r.cl(e,2,xi(),n.g1r_1),(r.gl(e,3)||null!=n.h1r_1)&&r.cl(e,3,RC(),n.h1r_1),(r.gl(e,4)||null!=n.i1r_1)&&r.cl(e,4,dx(),n.i1r_1),(r.gl(e,5)||null!=n.j1r_1)&&r.cl(e,5,xi(),n.j1r_1),(r.gl(e,6)||null!=n.k1r_1)&&r.cl(e,6,bh(),n.k1r_1),r.nj(e)},Tf.prototype.gg=function(t,n){return this.d1r(t,n instanceof Bf?n:li())},Tf.$metadata$=ai("$serializer",[Ri]),Bf.prototype.q1m=function(){return this.e1r_1},Bf.prototype.f4=function(){return this.f1r_1},Bf.prototype.g1q=function(){return this.g1r_1},Bf.prototype.l1r=function(){var t=this.k1r_1,n=null==t?null:t.m1r_1,e=null==n||n.j()?null:n;return new _x(this.e1r_1,this.f1r_1,this.g1r_1,this.h1r_1,this.i1r_1,this.j1r_1,null==e?null:e.toString())},Bf.$metadata$=_i("GetUser",[Rh],void 0,{0:Af}),Mf.prototype.u1e=function(){return this.r1r_1},Mf.prototype.v1e=function(){return this.s1r_1},Mf.prototype.y1e=function(){var t=this.o1r_1,n=Ui("order",null==t?null:t.d4_1),e=this.p1r_1;return Hi([n,Ui("page_size",null==e?null:e.toString()),Ui("cursor",this.q1r_1)])},Mf.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Gf),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Mf.prototype.toString=function(){return"GetConversationEventsRequest(cid="+this.n1r_1+", order="+this.o1r_1+", pageSize="+this.p1r_1+", cursor="+this.q1r_1+")"},Mf.prototype.hashCode=function(){var t=Ci(this.n1r_1);return t=si(t,31)+(null==this.o1r_1?0:this.o1r_1.hashCode())|0,t=si(t,31)+(null==this.p1r_1?0:this.p1r_1)|0,t=si(t,31)+(null==this.q1r_1?0:Ci(this.q1r_1))|0},Mf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Mf))return!1;var n=t instanceof Mf?t:li();return this.n1r_1===n.n1r_1&&!!mi(this.o1r_1,n.o1r_1)&&this.p1r_1==n.p1r_1&&this.q1r_1==n.q1r_1},Mf.$metadata$=_i("GetConversationEventsRequest",[qh]),Lf.prototype.fg=function(){return this.t1r_1},Lf.prototype.ar=function(){return[new Wi(Xy())]},Lf.prototype.hg=function(t){var n=this.t1r_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,new Wi(Xy()),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,new Wi(Xy()),i),o|=1;break;default:throw Oi(r)}return u.nj(n),Jf(o,i,null)},Lf.prototype.u1r=function(t,n){var e=this.t1r_1,r=t.mj(e);r.al(e,0,new Wi(Xy()),n.v1r_1),r.nj(e)},Lf.prototype.gg=function(t,n){return this.u1r(t,n instanceof Uf?n:li())},Lf.$metadata$=ai("$serializer",[Ri]),Uf.prototype.toString=function(){return"ConversationEventsEmbedded(events="+this.v1r_1+")"},Uf.prototype.hashCode=function(){return gi(this.v1r_1)},Uf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Uf))return!1;var n=t instanceof Uf?t:li();return!!mi(this.v1r_1,n.v1r_1)},Uf.$metadata$=_i("ConversationEventsEmbedded",void 0,void 0,{0:Ff}),ai("Companion"),Hf.prototype.fg=function(){return this.w1r_1},Hf.prototype.ar=function(){return[Ff(),mf()]},Hf.prototype.hg=function(t){var n=this.w1r_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Ff(),i),o|=1,u=s.xj(n,1,mf(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Ff(),i),o|=1;break;case 1:u=s.xj(n,1,mf(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Wf(o,i,u,null)},Hf.prototype.x1r=function(t,n){var e=this.w1r_1,r=t.mj(e);r.al(e,0,Ff(),n.y1r_1),r.al(e,1,mf(),n.z1r_1),r.nj(e)},Hf.prototype.gg=function(t,n){return this.x1r(t,n instanceof Gf?n:li())},Hf.$metadata$=ai("$serializer",[Ri]),Gf.$metadata$=_i("GetConversationEvents",[Rh],void 0,{0:Vf}),Xf.prototype.u1e=function(){return this.c1s_1},Xf.prototype.v1e=function(){return this.d1s_1},Xf.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(kp),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Xf.prototype.toString=function(){return"GetConversationMemberRequest(cid="+this.a1s_1+", mid="+this.b1s_1+")"},Xf.prototype.hashCode=function(){var t=Ci(this.a1s_1);return t=si(t,31)+Ci(this.b1s_1)|0},Xf.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Xf))return!1;var n=t instanceof Xf?t:li();return this.a1s_1===n.a1s_1&&this.b1s_1===n.b1s_1},Xf.$metadata$=_i("GetConversationMemberRequest",[qh]),ai("Companion",[Qi]),Yf.$metadata$=ci("PostConversationEventRequestBody",void 0,void 0,{0:qy}),ai("Companion"),Zf.prototype.fg=function(){return this.e1s_1},Zf.prototype.ar=function(){return[xi(),xi(),xi(),qy()]},Zf.prototype.hg=function(t){var n=this.e1s_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.xj(n,3,qy(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.xj(n,3,qy(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),nh(o,i,u,s,a,null)},Zf.prototype.f1s=function(t,n){var e=this.e1s_1,r=t.mj(e);r.zk(e,0,n.g1s_1),r.zk(e,1,n.h1s_1),r.zk(e,2,n.i1s_1),r.al(e,3,qy(),n.j1s_1),r.nj(e)},Zf.prototype.gg=function(t,n){return this.f1s(t,n instanceof eh?n:li())},Zf.$metadata$=ai("$serializer",[Ri]),eh.prototype.toString=function(){return"PostedEvent(cid="+this.g1s_1+", from="+this.h1s_1+", type="+this.i1s_1+", body="+this.j1s_1+")"},eh.prototype.hashCode=function(){var t=Ci(this.g1s_1);return t=si(t,31)+Ci(this.h1s_1)|0,t=si(t,31)+Ci(this.i1s_1)|0,t=si(t,31)+gi(this.j1s_1)|0},eh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof eh))return!1;var n=t instanceof eh?t:li();return this.g1s_1===n.g1s_1&&this.h1s_1===n.h1s_1&&this.i1s_1===n.i1s_1&&!!mi(this.j1s_1,n.j1s_1)},eh.$metadata$=_i("PostedEvent",void 0,void 0,{0:Qf}),rh.prototype.u1e=function(){return this.o1s_1},rh.prototype.v1e=function(){return this.p1s_1},rh.prototype.w1e=function(t,n){var e,r=new eh(this.k1s_1,this.l1s_1,this.m1s_1.s1s_1,this.n1s_1),o=t.hh(),i=ji(o,$i(qi(eh),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},rh.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(ah),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},rh.prototype.toString=function(){return"PostConversationEventRequest(cid="+this.k1s_1+", from="+this.l1s_1+", type="+this.m1s_1+", body="+this.n1s_1+")"},rh.prototype.hashCode=function(){var t=Ci(this.k1s_1);return t=si(t,31)+Ci(this.l1s_1)|0,t=si(t,31)+this.m1s_1.hashCode()|0,t=si(t,31)+gi(this.n1s_1)|0},rh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rh))return!1;var n=t instanceof rh?t:li();return this.k1s_1===n.k1s_1&&this.l1s_1===n.l1s_1&&!!this.m1s_1.equals(n.m1s_1)&&!!mi(this.n1s_1,n.n1s_1)},rh.$metadata$=_i("PostConversationEventRequest",[qh]),ai("Companion"),oh.prototype.fg=function(){return this.t1s_1},oh.prototype.ar=function(){return[xi()]},oh.prototype.hg=function(t){var n=this.t1s_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),sh(o,i,null)},oh.prototype.u1s=function(t,n){var e=this.t1s_1,r=t.mj(e);r.zk(e,0,n.v1s_1),r.nj(e)},oh.prototype.gg=function(t,n){return this.u1s(t,n instanceof ah?n:li())},oh.$metadata$=ai("$serializer",[Ri]),ah.prototype.toString=function(){return"PostConversationEvent(timestamp="+this.v1s_1+")"},ah.prototype.hashCode=function(){return Ci(this.v1s_1)},ah.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ah))return!1;var n=t instanceof ah?t:li();return this.v1s_1===n.v1s_1},ah.$metadata$=_i("PostConversationEvent",[Rh],void 0,{0:ih}),ch.prototype.fg=function(){return this.w1s_1},ch.prototype.ar=function(){return[xi(),xi(),Ai(xi()),Ai(xi()),Ai(tu())]},ch.prototype.hg=function(t){var n=this.w1s_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.zj(n,2,xi(),s),o|=4,a=p.zj(n,3,xi(),a),o|=8,c=p.zj(n,4,tu(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.zj(n,2,xi(),s),o|=4;break;case 3:a=p.zj(n,3,xi(),a),o|=8;break;case 4:c=p.zj(n,4,tu(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),fh(o,i,u,s,a,c,null)},ch.prototype.x1s=function(t,n){var e=this.w1s_1,r=t.mj(e);r.zk(e,0,n.y1s_1),r.zk(e,1,n.z1s_1),(r.gl(e,2)||null!=n.a1t_1)&&r.cl(e,2,xi(),n.a1t_1),(r.gl(e,3)||null!=n.b1t_1)&&r.cl(e,3,xi(),n.b1t_1),(r.gl(e,4)||null!=n.c1t_1)&&r.cl(e,4,tu(),n.c1t_1),r.nj(e)},ch.prototype.gg=function(t,n){return this.x1s(t,n instanceof hh?n:li())},ch.$metadata$=ai("$serializer",[Ri]),hh.prototype.l1r=function(){var t=this.c1t_1,n=null==t||t.j()?null:t;return lx(this.y1s_1,this.z1s_1,this.a1t_1,null,null,this.b1t_1,null==n?null:n.toString(),24,null)},hh.$metadata$=_i("FromUser",void 0,void 0,{0:ph}),_h.prototype.fg=function(){return this.d1t_1},_h.prototype.ar=function(){return[zy(),ph()]},_h.prototype.hg=function(t){var n=this.d1t_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,zy(),i),o|=1,u=s.xj(n,1,ph(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,zy(),i),o|=1;break;case 1:u=s.xj(n,1,ph(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),vh(o,i,u,null)},_h.prototype.e1t=function(t,n){var e=this.d1t_1,r=t.mj(e);r.al(e,0,zy(),n.f1t_1),r.al(e,1,ph(),n.g1t_1),r.nj(e)},_h.prototype.gg=function(t,n){return this.e1t(t,n instanceof gh?n:li())},_h.$metadata$=ai("$serializer",[Ri]),gh.prototype.toString=function(){return"Embedded(from_member="+this.f1t_1+", from_user="+this.g1t_1+")"},gh.prototype.hashCode=function(){var t=gi(this.f1t_1);return t=si(t,31)+gi(this.g1t_1)|0},gh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gh))return!1;var n=t instanceof gh?t:li();return!!mi(this.f1t_1,n.f1t_1)&&!!mi(this.g1t_1,n.g1t_1)},gh.$metadata$=_i("Embedded",void 0,void 0,{0:yh}),mh.prototype.fg=function(){return this.h1t_1},mh.prototype.ar=function(){return[Ai(tu())]},mh.prototype.hg=function(t){var n=this.h1t_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.zj(n,0,tu(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.zj(n,0,tu(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),$h(o,i,null)},mh.prototype.i1t=function(t,n){var e=this.h1t_1,r=t.mj(e);(r.gl(e,0)||null!=n.m1r_1)&&r.cl(e,0,tu(),n.m1r_1),r.nj(e)},mh.prototype.gg=function(t,n){return this.i1t(t,n instanceof jh?n:li())},mh.$metadata$=ai("$serializer",[Ri]),jh.prototype.toString=function(){return"Properties(custom_data="+this.m1r_1+")"},jh.prototype.hashCode=function(){return null==this.m1r_1?0:this.m1r_1.hashCode()},jh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof jh))return!1;var n=t instanceof jh?t:li();return!!mi(this.m1r_1,n.m1r_1)},jh.$metadata$=_i("Properties",void 0,void 0,{0:bh}),kh.prototype.u1e=function(){return this.k1t_1},kh.prototype.v1e=function(){return this.l1t_1},kh.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Bf),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},kh.prototype.toString=function(){return"GetUserRequest(userIdOrName="+this.j1t_1+")"},kh.prototype.hashCode=function(){return Ci(this.j1t_1)},kh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kh))return!1;var n=t instanceof kh?t:li();return this.j1t_1===n.j1t_1},kh.$metadata$=_i("GetUserRequest",[qh]),qh.$metadata$=ci("ApiRequest",[oB]),ai("Companion"),Ch.prototype.fg=function(){return this.m1t_1},Ch.prototype.ar=function(){return[nu(),nu(),nu(),nu(),nu(),nu(),nu(),Ai(nu()),nu(),nu(),xi(),xi(),xi(),xi(),xi()]},Ch.prototype.hg=function(t){var n=this.m1t_1,e=!0,r=0,o=0,i=0,u=0,s=0,a=0,c=0,p=0,l=0,f=null,h=0,_=0,y=null,d=null,v=null,g=null,m=null,b=t.mj(n);if(b.ak())i=b.uj(n,0),o|=1,u=b.uj(n,1),o|=2,s=b.uj(n,2),o|=4,a=b.uj(n,3),o|=8,c=b.uj(n,4),o|=16,p=b.uj(n,5),o|=32,l=b.uj(n,6),o|=64,f=b.zj(n,7,nu(),f),o|=128,h=b.uj(n,8),o|=256,_=b.uj(n,9),o|=512,y=b.wj(n,10),o|=1024,d=b.wj(n,11),o|=2048,v=b.wj(n,12),o|=4096,g=b.wj(n,13),o|=8192,m=b.wj(n,14),o|=16384;else for(;e;)switch(r=b.bk(n)){case-1:e=!1;break;case 0:i=b.uj(n,0),o|=1;break;case 1:u=b.uj(n,1),o|=2;break;case 2:s=b.uj(n,2),o|=4;break;case 3:a=b.uj(n,3),o|=8;break;case 4:c=b.uj(n,4),o|=16;break;case 5:p=b.uj(n,5),o|=32;break;case 6:l=b.uj(n,6),o|=64;break;case 7:f=b.zj(n,7,nu(),f),o|=128;break;case 8:h=b.uj(n,8),o|=256;break;case 9:_=b.uj(n,9),o|=512;break;case 10:y=b.wj(n,10),o|=1024;break;case 11:d=b.wj(n,11),o|=2048;break;case 12:v=b.wj(n,12),o|=4096;break;case 13:g=b.wj(n,13),o|=8192;break;case 14:m=b.wj(n,14),o|=16384;break;default:throw Oi(r)}return b.nj(n),Sh(o,i,u,s,a,c,p,l,f,h,_,y,d,v,g,m,null)},Ch.prototype.n1t=function(t,n){var e=this.m1t_1,r=t.mj(e);r.xk(e,0,n.o1t_1),r.xk(e,1,n.p1t_1),r.xk(e,2,n.q1t_1),r.xk(e,3,n.r1t_1),r.xk(e,4,n.s1t_1),r.xk(e,5,n.t1t_1),r.xk(e,6,n.u1t_1),r.cl(e,7,nu(),n.v1t_1),r.xk(e,8,n.w1t_1),r.xk(e,9,n.x1t_1),r.zk(e,10,n.y1t_1),r.zk(e,11,n.z1t_1),r.zk(e,12,n.a1u_1),r.zk(e,13,n.b1u_1),r.zk(e,14,n.c1u_1),r.nj(e)},Ch.prototype.gg=function(t,n){return this.n1t(t,n instanceof Oh?n:li())},Ch.$metadata$=ai("$serializer",[Ri]),Oh.prototype.toString=function(){return"RTCUpdateStatsReport(audioRecvPackets="+this.o1t_1+", audioRecvPacketsLost="+this.p1t_1+", audioRecvBytes="+this.q1t_1+", audioRecvJitter="+this.r1t_1+", audioSentPackets="+this.s1t_1+", audioSentBytes="+this.t1t_1+", audioSentPacketsLost="+this.u1t_1+", audioRtt="+this.v1t_1+", audioSentJitter="+this.w1t_1+", networkMos="+this.x1t_1+", legId="+this.y1t_1+", apiKey="+this.z1t_1+", applicationId="+this.a1u_1+", conversationId="+this.b1u_1+", conversationName="+this.c1u_1+")"},Oh.prototype.hashCode=function(){var t=eu(this.o1t_1);return t=si(t,31)+eu(this.p1t_1)|0,t=si(t,31)+eu(this.q1t_1)|0,t=si(t,31)+eu(this.r1t_1)|0,t=si(t,31)+eu(this.s1t_1)|0,t=si(t,31)+eu(this.t1t_1)|0,t=si(t,31)+eu(this.u1t_1)|0,t=si(t,31)+(null==this.v1t_1?0:eu(this.v1t_1))|0,t=si(t,31)+eu(this.w1t_1)|0,t=si(t,31)+eu(this.x1t_1)|0,t=si(t,31)+Ci(this.y1t_1)|0,t=si(t,31)+Ci(this.z1t_1)|0,t=si(t,31)+Ci(this.a1u_1)|0,t=si(t,31)+Ci(this.b1u_1)|0,t=si(t,31)+Ci(this.c1u_1)|0},Oh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Oh))return!1;var n=t instanceof Oh?t:li();return!!(mi(this.o1t_1,n.o1t_1)&&mi(this.p1t_1,n.p1t_1)&&mi(this.q1t_1,n.q1t_1)&&mi(this.r1t_1,n.r1t_1)&&mi(this.s1t_1,n.s1t_1)&&mi(this.t1t_1,n.t1t_1)&&mi(this.u1t_1,n.u1t_1)&&mi(this.v1t_1,n.v1t_1)&&mi(this.w1t_1,n.w1t_1)&&mi(this.x1t_1,n.x1t_1)&&this.y1t_1===n.y1t_1&&this.z1t_1===n.z1t_1&&this.a1u_1===n.a1u_1&&this.b1u_1===n.b1u_1&&this.c1u_1===n.c1u_1)},Oh.$metadata$=_i("RTCUpdateStatsReport",void 0,void 0,{0:zh}),Eh.prototype.u1e=function(){return this.e1u_1},Eh.prototype.v1e=function(){return this.f1u_1},Eh.prototype.w1e=function(t,n){var e,r=this.d1u_1,o=t.hh(),i=ji(o,$i(qi(Oh),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Eh.prototype.x1e=function(t,n){return new Ay},Eh.$metadata$=_i("RTCStatsReportRequest",[qh]),Rh.$metadata$=ci("ApiResponse",[oB]),ai("Companion"),Ph.prototype.fg=function(){return this.g1u_1},Ph.prototype.ar=function(){return[Bh()]},Ph.prototype.hg=function(t){var n=this.g1u_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,Bh(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,Bh(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),Nh(o,i,null)},Ph.prototype.h1u=function(t,n){var e=this.g1u_1,r=t.mj(e);r.al(e,0,Bh(),n.i1u_1),r.nj(e)},Ph.prototype.gg=function(t,n){return this.h1u(t,n instanceof Hh?n:li())},Ph.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Ih.prototype.fg=function(){return this.j1u_1},Ih.prototype.ar=function(){return[xi(),xi()]},Ih.prototype.hg=function(t){var n=this.j1u_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),Lh(o,i,u,null)},Ih.prototype.k1u=function(t,n){var e=this.j1u_1,r=t.mj(e);r.zk(e,0,n.l1u_1),r.zk(e,1,n.m1u_1),r.nj(e)},Ih.prototype.gg=function(t,n){return this.k1u(t,n instanceof Vh?n:li())},Ih.$metadata$=ai("$serializer",[Ri]),ai("Companion"),Fh.prototype.fg=function(){return this.n1u_1},Fh.prototype.ar=function(){return[xi(),Th()]},Fh.prototype.hg=function(t){var n=this.n1u_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,Th(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,Th(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Uh(o,i,u,null)},Fh.prototype.j1f=function(t,n){var e=this.n1u_1,r=t.mj(e);r.zk(e,0,n.o1u_1),r.al(e,1,Th(),n.p1u_1),r.nj(e)},Fh.prototype.gg=function(t,n){return this.j1f(t,n instanceof Kh?n:li())},Fh.$metadata$=ai("$serializer",[Ri]),Hh.prototype.toString=function(){return"PostLegBody(offer="+this.i1u_1+")"},Hh.prototype.hashCode=function(){return this.i1u_1.hashCode()},Hh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Hh))return!1;var n=t instanceof Hh?t:li();return!!this.i1u_1.equals(n.i1u_1)},Hh.$metadata$=_i("PostLegBody",void 0,void 0,{0:Th}),Vh.prototype.toString=function(){return"PostLegOffer(type="+this.l1u_1+", sdp="+this.m1u_1+")"},Vh.prototype.hashCode=function(){var t=Ci(this.l1u_1);return t=si(t,31)+Ci(this.m1u_1)|0},Vh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Vh))return!1;var n=t instanceof Vh?t:li();return this.l1u_1===n.l1u_1&&this.m1u_1===n.m1u_1},Vh.$metadata$=_i("PostLegOffer",void 0,void 0,{0:Bh}),Kh.$metadata$=_i("Body",void 0,void 0,{0:Dh}),Wh.prototype.u1e=function(){return this.r1u_1},Wh.prototype.v1e=function(){return this.s1u_1},Wh.prototype.w1e=function(t,n){var e,r=new Kh(n,new Hh(new Vh("offer",this.q1u_1))),o=t.hh(),i=ji(o,$i(qi(Kh),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},Wh.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Qh),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},Wh.prototype.toString=function(){return"PostLegRequest(sdp="+this.q1u_1+")"},Wh.prototype.hashCode=function(){return Ci(this.q1u_1)},Wh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Wh))return!1;var n=t instanceof Wh?t:li();return this.q1u_1===n.q1u_1},Wh.$metadata$=_i("PostLegRequest",[qh]),ai("Companion"),Gh.prototype.fg=function(){return this.t1u_1},Gh.prototype.ar=function(){return[xi(),xi()]},Gh.prototype.hg=function(t){var n=this.t1u_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),Zh(o,i,u,null)},Gh.prototype.u1u=function(t,n){var e=this.t1u_1,r=t.mj(e);r.zk(e,0,n.v1u_1),r.zk(e,1,n.w1u_1),r.nj(e)},Gh.prototype.gg=function(t,n){return this.u1u(t,n instanceof Qh?n:li())},Gh.$metadata$=ai("$serializer",[Ri]),Qh.prototype.x1u=function(){return this.v1u_1},Qh.prototype.y1u=function(){return this.w1u_1},Qh.prototype.toString=function(){return"PostLeg(rtc_id="+this.v1u_1+", sdp="+this.w1u_1+")"},Qh.prototype.hashCode=function(){var t=Ci(this.v1u_1);return t=si(t,31)+Ci(this.w1u_1)|0},Qh.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qh))return!1;var n=t instanceof Qh?t:li();return this.v1u_1===n.v1u_1&&this.w1u_1===n.w1u_1},Qh.$metadata$=_i("PostLeg",[Rh],void 0,{0:Xh}),ai("Companion"),t_.prototype.fg=function(){return this.z1u_1},t_.prototype.ar=function(){return[xi()]},t_.prototype.hg=function(t){var n=this.z1u_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),r_(o,i,null)},t_.prototype.a1v=function(t,n){var e=this.z1u_1,r=t.mj(e);r.zk(e,0,n.b1v_1),r.nj(e)},t_.prototype.gg=function(t,n){return this.a1v(t,n instanceof a_?n:li())},t_.$metadata$=ai("$serializer",[Ri]),ai("Companion"),o_.prototype.fg=function(){return this.c1v_1},o_.prototype.ar=function(){return[xi(),xi(),n_()]},o_.prototype.hg=function(t){var n=this.c1v_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.wj(n,1),o|=2,s=a.xj(n,2,n_(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.wj(n,1),o|=2;break;case 2:s=a.xj(n,2,n_(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),s_(o,i,u,s,null)},o_.prototype.j1f=function(t,n){var e=this.c1v_1,r=t.mj(e);r.zk(e,0,n.d1v_1),r.zk(e,1,n.e1v_1),r.al(e,2,n_(),n.f1v_1),r.nj(e)},o_.prototype.gg=function(t,n){return this.j1f(t,n instanceof c_?n:li())},o_.$metadata$=ai("$serializer",[Ri]),a_.prototype.toString=function(){return"RtcAnswerBody(answer="+this.b1v_1+")"},a_.prototype.hashCode=function(){return Ci(this.b1v_1)},a_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof a_))return!1;var n=t instanceof a_?t:li();return this.b1v_1===n.b1v_1},a_.$metadata$=_i("RtcAnswerBody",void 0,void 0,{0:n_}),c_.$metadata$=_i("Body",void 0,void 0,{0:i_}),p_.prototype.u1e=function(){return this.k1v_1},p_.prototype.v1e=function(){return this.l1v_1},p_.prototype.w1e=function(t,n){var e,r=new c_(n,this.h1v_1,new a_(this.j1v_1)),o=t.hh(),i=ji(o,$i(qi(c_),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},p_.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(Ly),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},p_.prototype.toString=function(){return"RTCAnswerRequest(cid="+this.g1v_1+", mid="+this.h1v_1+", rtc_id="+this.i1v_1+", sdp="+this.j1v_1+")"},p_.prototype.hashCode=function(){var t=Ci(this.g1v_1);return t=si(t,31)+Ci(this.h1v_1)|0,t=si(t,31)+Ci(this.i1v_1)|0,t=si(t,31)+Ci(this.j1v_1)|0},p_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof p_))return!1;var n=t instanceof p_?t:li();return this.g1v_1===n.g1v_1&&this.h1v_1===n.h1v_1&&this.i1v_1===n.i1v_1&&this.j1v_1===n.j1v_1},p_.$metadata$=_i("RTCAnswerRequest",[qh]),ai("Companion"),l_.prototype.fg=function(){return this.m1v_1},l_.prototype.ar=function(){return[d_()]},l_.prototype.hg=function(t){var n=this.m1v_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,d_(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,d_(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),__(o,i,null)},l_.prototype.n1v=function(t,n){var e=this.m1v_1,r=t.mj(e);r.al(e,0,d_(),n.o1v_1),r.nj(e)},l_.prototype.gg=function(t,n){return this.n1v(t,n instanceof j_?n:li())},l_.$metadata$=ai("$serializer",[Ri]),ai("Companion"),y_.prototype.fg=function(){return this.p1v_1},y_.prototype.ar=function(){return[xi()]},y_.prototype.hg=function(t){var n=this.p1v_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),g_(o,i,null)},y_.prototype.q1v=function(t,n){var e=this.p1v_1,r=t.mj(e);r.zk(e,0,n.r1v_1),r.nj(e)},y_.prototype.gg=function(t,n){return this.q1v(t,n instanceof k_?n:li())},y_.$metadata$=ai("$serializer",[Ri]),ai("Companion"),m_.prototype.fg=function(){return this.s1v_1},m_.prototype.ar=function(){return[xi(),xi(),f_()]},m_.prototype.hg=function(t){var n=this.s1v_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.wj(n,1),o|=2,s=a.xj(n,2,f_(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.wj(n,1),o|=2;break;case 2:s=a.xj(n,2,f_(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),$_(o,i,u,s,null)},m_.prototype.j1f=function(t,n){var e=this.s1v_1,r=t.mj(e);r.zk(e,0,n.t1v_1),r.zk(e,1,n.u1v_1),r.al(e,2,f_(),n.v1v_1),r.nj(e)},m_.prototype.gg=function(t,n){return this.j1f(t,n instanceof q_?n:li())},m_.$metadata$=ai("$serializer",[Ri]),j_.prototype.toString=function(){return"RtcReconnectBody(offer="+this.o1v_1+")"},j_.prototype.hashCode=function(){return this.o1v_1.hashCode()},j_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof j_))return!1;var n=t instanceof j_?t:li();return!!this.o1v_1.equals(n.o1v_1)},j_.$metadata$=_i("RtcReconnectBody",void 0,void 0,{0:f_}),k_.prototype.toString=function(){return"RtcReconnectOffer(sdp="+this.r1v_1+")"},k_.prototype.hashCode=function(){return Ci(this.r1v_1)},k_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof k_))return!1;var n=t instanceof k_?t:li();return this.r1v_1===n.r1v_1},k_.$metadata$=_i("RtcReconnectOffer",void 0,void 0,{0:d_}),q_.$metadata$=_i("Body",void 0,void 0,{0:b_}),C_.prototype.u1e=function(){return this.a1w_1},C_.prototype.v1e=function(){return this.b1w_1},C_.prototype.w1e=function(t,n){var e,r=new q_(n,this.x1v_1,new j_(new k_(this.y1v_1))),o=t.hh(),i=ji(o,$i(qi(q_),wi([]),!1));return e=fi(i,ki)?i:li(),t.fh(e,r)},C_.prototype.x1e=function(t,n){var e,r=n.hh(),o=ji(r,$i(qi(N_),wi([]),!1));return e=fi(o,ki)?o:li(),n.gh(e,t)},C_.prototype.toString=function(){return"RTCReconnectRequest(cid="+this.w1v_1+", mid="+this.x1v_1+", sdp="+this.y1v_1+", reconnectRtcId="+this.z1v_1+")"},C_.prototype.hashCode=function(){var t=Ci(this.w1v_1);return t=si(t,31)+Ci(this.x1v_1)|0,t=si(t,31)+Ci(this.y1v_1)|0,t=si(t,31)+Ci(this.z1v_1)|0},C_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof C_))return!1;var n=t instanceof C_?t:li();return this.w1v_1===n.w1v_1&&this.x1v_1===n.x1v_1&&this.y1v_1===n.y1v_1&&this.z1v_1===n.z1v_1},C_.$metadata$=_i("RTCReconnectRequest",[qh]),ai("Companion"),z_.prototype.fg=function(){return this.c1w_1},z_.prototype.ar=function(){return[xi()]},z_.prototype.hg=function(t){var n=this.c1w_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),O_(o,i,null)},z_.prototype.d1w=function(t,n){var e=this.c1w_1,r=t.mj(e);r.zk(e,0,n.e1w_1),r.nj(e)},z_.prototype.gg=function(t,n){return this.d1w(t,n instanceof E_?n:li())},z_.$metadata$=ai("$serializer",[Ri]),E_.$metadata$=_i("AppKnocking",[Rh],void 0,{0:x_}),ai("Companion"),R_.prototype.fg=function(){return this.f1w_1},R_.prototype.ar=function(){return[xi()]},R_.prototype.hg=function(t){var n=this.f1w_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),A_(o,i,null)},R_.prototype.g1w=function(t,n){var e=this.f1w_1,r=t.mj(e);r.zk(e,0,n.h1w_1),r.nj(e)},R_.prototype.gg=function(t,n){return this.g1w(t,n instanceof N_?n:li())},R_.$metadata$=ai("$serializer",[Ri]),N_.prototype.toString=function(){return"RTCReconnect(id="+this.h1w_1+")"},N_.prototype.hashCode=function(){return Ci(this.h1w_1)},N_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof N_))return!1;var n=t instanceof N_?t:li();return this.h1w_1===n.h1w_1},N_.$metadata$=_i("RTCReconnect",[Rh],void 0,{0:P_}),I_.$metadata$=_i("DeletedKnocker",[Rh]),ai("Companion"),B_.prototype.fg=function(){return this.j1w_1},B_.prototype.ar=function(){return[xi()]},B_.prototype.hg=function(t){var n=this.j1w_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),F_(o,i,null)},B_.prototype.k1w=function(t,n){var e=this.j1w_1,r=t.mj(e);r.zk(e,0,n.l1w_1),r.nj(e)},B_.prototype.gg=function(t,n){return this.k1w(t,n instanceof D_?n:li())},B_.$metadata$=ai("$serializer",[Ri]),D_.prototype.toString=function(){return"UpdateSession(session_id="+this.l1w_1+")"},D_.prototype.hashCode=function(){return Ci(this.l1w_1)},D_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof D_))return!1;var n=t instanceof D_?t:li();return this.l1w_1===n.l1w_1},D_.$metadata$=_i("UpdateSession",[Rh],void 0,{0:M_}),ai("Companion"),J_.prototype.fg=function(){return this.m1w_1},J_.prototype.ar=function(){return[xi()]},J_.prototype.hg=function(t){var n=this.m1w_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),V_(o,i,null)},J_.prototype.n1w=function(t,n){var e=this.m1w_1,r=t.mj(e);r.zk(e,0,n.o1w_1),r.nj(e)},J_.prototype.gg=function(t,n){return this.n1w(t,n instanceof K_?n:li())},J_.$metadata$=ai("$serializer",[Ri]),K_.prototype.toString=function(){return"MemberJoin(id="+this.o1w_1+")"},K_.prototype.hashCode=function(){return Ci(this.o1w_1)},K_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof K_))return!1;var n=t instanceof K_?t:li();return this.o1w_1===n.o1w_1},K_.$metadata$=_i("MemberJoin",[Rh],void 0,{0:U_}),ai("Companion"),W_.prototype.fg=function(){return this.p1w_1},W_.prototype.ar=function(){return[Ni()]},W_.prototype.hg=function(t){var n=this.p1w_1,e=!0,r=0,o=0,i=0,u=t.mj(n);if(u.ak())i=u.rj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.rj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Y_(o,i,null)},W_.prototype.q1w=function(t,n){var e=this.p1w_1,r=t.mj(e);r.uk(e,0,n.r1w_1),r.nj(e)},W_.prototype.gg=function(t,n){return this.q1w(t,n instanceof Z_?n:li())},W_.$metadata$=ai("$serializer",[Ri]),Z_.prototype.toString=function(){return"LegMute(id="+this.r1w_1+")"},Z_.prototype.hashCode=function(){return this.r1w_1},Z_.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Z_))return!1;var n=t instanceof Z_?t:li();return this.r1w_1===n.r1w_1},Z_.$metadata$=_i("LegMute",[Rh],void 0,{0:G_}),ai("Companion"),Q_.prototype.fg=function(){return this.s1w_1},Q_.prototype.ar=function(){return[Ni()]},Q_.prototype.hg=function(t){var n=this.s1w_1,e=!0,r=0,o=0,i=0,u=t.mj(n);if(u.ak())i=u.rj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.rj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),ey(o,i,null)},Q_.prototype.t1w=function(t,n){var e=this.s1w_1,r=t.mj(e);r.uk(e,0,n.u1w_1),r.nj(e)},Q_.prototype.gg=function(t,n){return this.t1w(t,n instanceof ry?n:li())},Q_.$metadata$=ai("$serializer",[Ri]),ry.prototype.toString=function(){return"LegUnmute(id="+this.u1w_1+")"},ry.prototype.hashCode=function(){return this.u1w_1},ry.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ry))return!1;var n=t instanceof ry?t:li();return this.u1w_1===n.u1w_1},ry.$metadata$=_i("LegUnmute",[Rh],void 0,{0:ty}),ai("Companion"),oy.prototype.fg=function(){return this.v1w_1},oy.prototype.ar=function(){return[Ni()]},oy.prototype.hg=function(t){var n=this.v1w_1,e=!0,r=0,o=0,i=0,u=t.mj(n);if(u.ak())i=u.rj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.rj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),sy(o,i,null)},oy.prototype.w1w=function(t,n){var e=this.v1w_1,r=t.mj(e);r.uk(e,0,n.x1w_1),r.nj(e)},oy.prototype.gg=function(t,n){return this.w1w(t,n instanceof ay?n:li())},oy.$metadata$=ai("$serializer",[Ri]),ay.prototype.toString=function(){return"LegEarmuffEnable(id="+this.x1w_1+")"},ay.prototype.hashCode=function(){return this.x1w_1},ay.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ay))return!1;var n=t instanceof ay?t:li();return this.x1w_1===n.x1w_1},ay.$metadata$=_i("LegEarmuffEnable",[Rh],void 0,{0:iy}),ai("Companion"),cy.prototype.fg=function(){return this.y1w_1},cy.prototype.ar=function(){return[Ni()]},cy.prototype.hg=function(t){var n=this.y1w_1,e=!0,r=0,o=0,i=0,u=t.mj(n);if(u.ak())i=u.rj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.rj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),fy(o,i,null)},cy.prototype.z1w=function(t,n){var e=this.y1w_1,r=t.mj(e);r.uk(e,0,n.a1x_1),r.nj(e)},cy.prototype.gg=function(t,n){return this.z1w(t,n instanceof hy?n:li())},cy.$metadata$=ai("$serializer",[Ri]),hy.prototype.toString=function(){return"LegEarmuffDisable(id="+this.a1x_1+")"},hy.prototype.hashCode=function(){return this.a1x_1},hy.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hy))return!1;var n=t instanceof hy?t:li();return this.a1x_1===n.a1x_1},hy.$metadata$=_i("LegEarmuffDisable",[Rh],void 0,{0:py}),ai("Companion"),_y.prototype.fg=function(){return this.b1x_1},_y.prototype.ar=function(){return[Ni()]},_y.prototype.hg=function(t){var n=this.b1x_1,e=!0,r=0,o=0,i=0,u=t.mj(n);if(u.ak())i=u.rj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.rj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),vy(o,i,null)},_y.prototype.c1x=function(t,n){var e=this.b1x_1,r=t.mj(e);r.uk(e,0,n.d1x_1),r.nj(e)},_y.prototype.gg=function(t,n){return this.c1x(t,n instanceof gy?n:li())},_y.$metadata$=ai("$serializer",[Ri]),gy.prototype.toString=function(){return"LegDTMF(id="+this.d1x_1+")"},gy.prototype.hashCode=function(){return this.d1x_1},gy.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gy))return!1;var n=t instanceof gy?t:li();return this.d1x_1===n.d1x_1},gy.$metadata$=_i("LegDTMF",[Rh],void 0,{0:yy}),ai("Companion"),my.prototype.fg=function(){return this.e1x_1},my.prototype.ar=function(){return[Ni(),xi(),xi(),Bm(),Ai(xi()),Ai(yh()),Ai(Dy())]},my.prototype.hg=function(t){var n=this.e1x_1,e=!0,r=0,o=0,i=0,u=null,s=null,a=null,c=null,p=null,l=null,f=t.mj(n);if(f.ak())i=f.rj(n,0),o|=1,u=f.wj(n,1),o|=2,s=f.wj(n,2),o|=4,a=f.xj(n,3,Bm(),a),o|=8,c=f.zj(n,4,xi(),c),o|=16,p=f.zj(n,5,yh(),p),o|=32,l=f.zj(n,6,Dy(),l),o|=64;else for(;e;)switch(r=f.bk(n)){case-1:e=!1;break;case 0:i=f.rj(n,0),o|=1;break;case 1:u=f.wj(n,1),o|=2;break;case 2:s=f.wj(n,2),o|=4;break;case 3:a=f.xj(n,3,Bm(),a),o|=8;break;case 4:c=f.zj(n,4,xi(),c),o|=16;break;case 5:p=f.zj(n,5,yh(),p),o|=32;break;case 6:l=f.zj(n,6,Dy(),l),o|=64;break;default:throw Oi(r)}return f.nj(n),$y(o,i,u,s,a,c,p,l,null)},my.prototype.f1x=function(t,n){var e=this.e1x_1,r=t.mj(e);r.uk(e,0,n.g1x_1),r.zk(e,1,n.h1x_1),r.zk(e,2,n.i1x_1),r.al(e,3,Bm(),n.j1x_1),(r.gl(e,4)||null!=n.k1x_1)&&r.cl(e,4,xi(),n.k1x_1),(r.gl(e,5)||null!=n.l1x_1)&&r.cl(e,5,yh(),n.l1x_1),(r.gl(e,6)||null!=n.m1x_1)&&r.cl(e,6,Dy(),n.m1x_1),r.nj(e)},my.prototype.gg=function(t,n){return this.f1x(t,n instanceof jy?n:li())},my.$metadata$=ai("$serializer",[Ri]),jy.prototype.toString=function(){return"AudioSay(id="+this.g1x_1+", type="+this.h1x_1+", timestamp="+this.i1x_1+", body="+this.j1x_1+", from="+this.k1x_1+", _embedded="+this.l1x_1+", _links="+this.m1x_1+")"},jy.prototype.hashCode=function(){var t=this.g1x_1;return t=si(t,31)+Ci(this.h1x_1)|0,t=si(t,31)+Ci(this.i1x_1)|0,t=si(t,31)+this.j1x_1.hashCode()|0,t=si(t,31)+(null==this.k1x_1?0:Ci(this.k1x_1))|0,t=si(t,31)+(null==this.l1x_1?0:this.l1x_1.hashCode())|0,t=si(t,31)+(null==this.m1x_1?0:this.m1x_1.hashCode())|0},jy.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof jy))return!1;var n=t instanceof jy?t:li();return this.g1x_1===n.g1x_1&&this.h1x_1===n.h1x_1&&this.i1x_1===n.i1x_1&&!!this.j1x_1.equals(n.j1x_1)&&this.k1x_1==n.k1x_1&&!!mi(this.l1x_1,n.l1x_1)&&!!mi(this.m1x_1,n.m1x_1)},jy.$metadata$=_i("AudioSay",[Rh],void 0,{0:by}),ky.prototype.u10=function(t){throw new ou("This polymorphic interface is not serializable.")},ky.$metadata$=ai("EmptySerializer",void 0,void 0,void 0,void 0,ru.prototype),Cy.prototype.fg=function(){return this.p1x_1},Cy.prototype.ar=function(){return[xi(),Ai(xi()),Ai(xi())]},Cy.prototype.hg=function(t){var n=this.p1x_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.zj(n,1,xi(),u),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.zj(n,1,xi(),u),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),Sy(o,i,u,s,null)},Cy.prototype.q1x=function(t,n){var e=this.p1x_1,r=t.mj(e);r.zk(e,0,n.r1x_1),(r.gl(e,1)||null!=n.s1x_1)&&r.cl(e,1,xi(),n.s1x_1),(r.gl(e,2)||null!=n.t1x_1)&&r.cl(e,2,xi(),n.t1x_1),r.nj(e)},Cy.prototype.gg=function(t,n){return this.q1x(t,n instanceof Oy?n:li())},Cy.$metadata$=ai("$serializer",[Ri]),Oy.$metadata$=_i("FromMember",void 0,void 0,{0:zy}),ai("Companion"),Ey.prototype.fg=function(){return this.u1x_1},Ey.prototype.ar=function(){return[]},Ey.prototype.hg=function(t){var n=this.u1x_1,e=!0,r=0,o=0,i=t.mj(n);if(i.ak());else for(;e;){if(-1!==(r=i.bk(n)))throw Oi(r);e=!1}return i.nj(n),Ty(o,null)},Ey.prototype.v1x=function(t,n){var e=this.u1x_1;t.mj(e).nj(e)},Ey.prototype.gg=function(t,n){return this.v1x(t,n instanceof Ay?n:li())},Ey.$metadata$=ai("$serializer",[Ri]),Ay.$metadata$=_i("RTCStatsReportResponse",[Rh],void 0,{0:Ry}),ai("Companion"),Ny.prototype.fg=function(){return this.w1x_1},Ny.prototype.ar=function(){return[xi()]},Ny.prototype.hg=function(t){var n=this.w1x_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),My(o,i,null)},Ny.prototype.x1x=function(t,n){var e=this.w1x_1,r=t.mj(e);r.zk(e,0,n.y1x_1),r.nj(e)},Ny.prototype.gg=function(t,n){return this.x1x(t,n instanceof Ly?n:li())},Ny.$metadata$=ai("$serializer",[Ri]),Ly.prototype.toString=function(){return"RTCAnswerResponse(id="+this.y1x_1+")"},Ly.prototype.hashCode=function(){return Ci(this.y1x_1)},Ly.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ly))return!1;var n=t instanceof Ly?t:li();return this.y1x_1===n.y1x_1},Ly.$metadata$=_i("RTCAnswerResponse",[Rh],void 0,{0:Iy}),Fy.prototype.fg=function(){return this.z1x_1},Fy.prototype.ar=function(){return[new iu(xi(),xi())]},Fy.prototype.hg=function(t){var n=this.z1x_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,new iu(xi(),xi()),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,new iu(xi(),xi()),i),o|=1;break;default:throw Oi(r)}return u.nj(n),Uy(o,i,null)},Fy.prototype.a1y=function(t,n){var e=this.z1x_1,r=t.mj(e);r.al(e,0,new iu(xi(),xi()),n.b1y_1),r.nj(e)},Fy.prototype.gg=function(t,n){return this.a1y(t,n instanceof Hy?n:li())},Fy.$metadata$=ai("$serializer",[Ri]),Hy.prototype.toString=function(){return"Links(self="+this.b1y_1+")"},Hy.prototype.hashCode=function(){return gi(this.b1y_1)},Hy.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Hy))return!1;var n=t instanceof Hy?t:li();return!!mi(this.b1y_1,n.b1y_1)},Hy.$metadata$=_i("Links",void 0,void 0,{0:Dy}),ai("Companion",[Qi]),Vy.$metadata$=ci("CSConversationEvent",void 0,void 0,{0:Xy}),Wy.$metadata$=_i("CSConversationEventType",void 0,void 0,void 0,void 0,uu.prototype),Gy.prototype.u10=function(t){var n=su(t).y10("type"),e=null==n?null:au(n),r=null==e?null:e.b11(),o=this.f1y_1,i=(fi(o,cu)?o:li()).g2(r);return null==i?Td().c11():i},Gy.$metadata$=ai("CSConversationEventSerializer",void 0,void 0,void 0,void 0,ru.prototype),Yy.prototype.fg=function(){return this.g1y_1},Yy.prototype.ar=function(){return[Af(),Ai(xi())]},Yy.prototype.hg=function(t){var n=this.g1y_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Af(),i),o|=1,u=s.zj(n,1,xi(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Af(),i),o|=1;break;case 1:u=s.zj(n,1,xi(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),td(o,i,u,null)},Yy.prototype.j1f=function(t,n){var e=this.g1y_1,r=t.mj(e);r.al(e,0,Af(),n.h1y_1),(r.gl(e,1)||null!=n.i1y_1)&&r.cl(e,1,xi(),n.i1y_1),r.nj(e)},Yy.prototype.gg=function(t,n){return this.j1f(t,n instanceof nd?n:li())},Yy.$metadata$=ai("$serializer",[Ri]),nd.prototype.toString=function(){return"Body(user="+this.h1y_1+", invited_by="+this.i1y_1+")"},nd.prototype.hashCode=function(){var t=gi(this.h1y_1);return t=si(t,31)+(null==this.i1y_1?0:Ci(this.i1y_1))|0},nd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof nd))return!1;var n=t instanceof nd?t:li();return!!mi(this.h1y_1,n.h1y_1)&&this.i1y_1==n.i1y_1},nd.$metadata$=_i("Body",void 0,void 0,{0:Zy}),ed.prototype.c11=function(){return id()},ed.$metadata$=ai("Companion"),od.prototype.fg=function(){return this.j1y_1},od.prototype.ar=function(){return[Ni(),xi(),xi(),xi(),Ai(yh()),Zy()]},od.prototype.hg=function(t){var n=this.j1y_1,e=!0,r=0,o=0,i=0,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.rj(n,0),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.zj(n,4,yh(),c),o|=16,p=l.xj(n,5,Zy(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.rj(n,0),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.zj(n,4,yh(),c),o|=16;break;case 5:p=l.xj(n,5,Zy(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),sd(o,i,u,s,a,c,p,null)},od.prototype.k1y=function(t,n){var e=this.j1y_1,r=t.mj(e);r.uk(e,0,n.l1y_1),r.zk(e,1,n.m1y_1),r.zk(e,2,n.n1y_1),r.zk(e,3,n.o1y_1),(r.gl(e,4)||null!=n.p1y_1)&&r.cl(e,4,yh(),n.p1y_1),r.al(e,5,Zy(),n.q1y_1),r.nj(e)},od.prototype.gg=function(t,n){return this.k1y(t,n instanceof ad?n:li())},od.$metadata$=ai("$serializer",[Ri]),ad.prototype.c1y=function(t){var n=this.q1y_1.h1y_1.l1r(),e=this.p1y_1,r=null==e?null:e.g1t_1;return new Sz(this.l1y_1,this.n1y_1,t,this.o1y_1,new xz(n,null==r?null:r.l1r()))},ad.prototype.toString=function(){return"CSMemberInvitedEvent(id="+this.l1y_1+", type="+this.m1y_1+", timestamp="+this.n1y_1+", from="+this.o1y_1+", _embedded="+this.p1y_1+", body="+this.q1y_1+")"},ad.prototype.hashCode=function(){var t=this.l1y_1;return t=si(t,31)+Ci(this.m1y_1)|0,t=si(t,31)+Ci(this.n1y_1)|0,t=si(t,31)+Ci(this.o1y_1)|0,t=si(t,31)+(null==this.p1y_1?0:this.p1y_1.hashCode())|0,t=si(t,31)+this.q1y_1.hashCode()|0},ad.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ad))return!1;var n=t instanceof ad?t:li();return this.l1y_1===n.l1y_1&&this.m1y_1===n.m1y_1&&this.n1y_1===n.n1y_1&&this.o1y_1===n.o1y_1&&!!mi(this.p1y_1,n.p1y_1)&&!!this.q1y_1.equals(n.q1y_1)},ad.$metadata$=_i("CSMemberInvitedEvent",[Vy],void 0,{0:id}),cd.prototype.fg=function(){return this.r1y_1},cd.prototype.ar=function(){return[Af()]},cd.prototype.hg=function(t){var n=this.r1y_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,Af(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,Af(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),fd(o,i,null)},cd.prototype.j1f=function(t,n){var e=this.r1y_1,r=t.mj(e);r.al(e,0,Af(),n.s1y_1),r.nj(e)},cd.prototype.gg=function(t,n){return this.j1f(t,n instanceof hd?n:li())},cd.$metadata$=ai("$serializer",[Ri]),hd.prototype.toString=function(){return"Body(user="+this.s1y_1+")"},hd.prototype.hashCode=function(){return gi(this.s1y_1)},hd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hd))return!1;var n=t instanceof hd?t:li();return!!mi(this.s1y_1,n.s1y_1)},hd.$metadata$=_i("Body",void 0,void 0,{0:pd}),_d.prototype.c11=function(){return vd()},_d.$metadata$=ai("Companion"),dd.prototype.fg=function(){return this.t1y_1},dd.prototype.ar=function(){return[Ni(),xi(),xi(),xi(),Ai(yh()),pd()]},dd.prototype.hg=function(t){var n=this.t1y_1,e=!0,r=0,o=0,i=0,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.rj(n,0),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.zj(n,4,yh(),c),o|=16,p=l.xj(n,5,pd(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.rj(n,0),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.zj(n,4,yh(),c),o|=16;break;case 5:p=l.xj(n,5,pd(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),md(o,i,u,s,a,c,p,null)},dd.prototype.u1y=function(t,n){var e=this.t1y_1,r=t.mj(e);r.uk(e,0,n.v1y_1),r.zk(e,1,n.w1y_1),r.zk(e,2,n.x1y_1),r.zk(e,3,n.y1y_1),(r.gl(e,4)||null!=n.z1y_1)&&r.cl(e,4,yh(),n.z1y_1),r.al(e,5,pd(),n.a1z_1),r.nj(e)},dd.prototype.gg=function(t,n){return this.u1y(t,n instanceof bd?n:li())},dd.$metadata$=ai("$serializer",[Ri]),bd.prototype.c1y=function(t){return new Ez(this.v1y_1,this.x1y_1,t,this.y1y_1,new Oz(this.a1z_1.s1y_1.l1r()))},bd.prototype.toString=function(){return"CSMemberJoinedEvent(id="+this.v1y_1+", type="+this.w1y_1+", timestamp="+this.x1y_1+", from="+this.y1y_1+", _embedded="+this.z1y_1+", body="+this.a1z_1+")"},bd.prototype.hashCode=function(){var t=this.v1y_1;return t=si(t,31)+Ci(this.w1y_1)|0,t=si(t,31)+Ci(this.x1y_1)|0,t=si(t,31)+Ci(this.y1y_1)|0,t=si(t,31)+(null==this.z1y_1?0:this.z1y_1.hashCode())|0,t=si(t,31)+this.a1z_1.hashCode()|0},bd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bd))return!1;var n=t instanceof bd?t:li();return this.v1y_1===n.v1y_1&&this.w1y_1===n.w1y_1&&this.x1y_1===n.x1y_1&&this.y1y_1===n.y1y_1&&!!mi(this.z1y_1,n.z1y_1)&&!!this.a1z_1.equals(n.a1z_1)},bd.$metadata$=_i("CSMemberJoinedEvent",[Vy],void 0,{0:vd}),wd.prototype.fg=function(){return this.b1z_1},wd.prototype.ar=function(){return[Af()]},wd.prototype.hg=function(t){var n=this.b1z_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,Af(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,Af(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),kd(o,i,null)},wd.prototype.j1f=function(t,n){var e=this.b1z_1,r=t.mj(e);r.al(e,0,Af(),n.c1z_1),r.nj(e)},wd.prototype.gg=function(t,n){return this.j1f(t,n instanceof qd?n:li())},wd.$metadata$=ai("$serializer",[Ri]),qd.prototype.toString=function(){return"Body(user="+this.c1z_1+")"},qd.prototype.hashCode=function(){return gi(this.c1z_1)},qd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qd))return!1;var n=t instanceof qd?t:li();return!!mi(this.c1z_1,n.c1z_1)},qd.$metadata$=_i("Body",void 0,void 0,{0:$d}),Cd.prototype.c11=function(){return Sd()},Cd.$metadata$=ai("Companion"),xd.prototype.fg=function(){return this.d1z_1},xd.prototype.ar=function(){return[Ni(),xi(),xi(),xi(),Ai(yh()),$d()]},xd.prototype.hg=function(t){var n=this.d1z_1,e=!0,r=0,o=0,i=0,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.rj(n,0),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.zj(n,4,yh(),c),o|=16,p=l.xj(n,5,$d(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.rj(n,0),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.zj(n,4,yh(),c),o|=16;break;case 5:p=l.xj(n,5,$d(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),Ed(o,i,u,s,a,c,p,null)},xd.prototype.e1z=function(t,n){var e=this.d1z_1,r=t.mj(e);r.uk(e,0,n.f1z_1),r.zk(e,1,n.g1z_1),r.zk(e,2,n.h1z_1),r.zk(e,3,n.i1z_1),(r.gl(e,4)||null!=n.j1z_1)&&r.cl(e,4,yh(),n.j1z_1),r.al(e,5,$d(),n.k1z_1),r.nj(e)},xd.prototype.gg=function(t,n){return this.e1z(t,n instanceof Rd?n:li())},xd.$metadata$=ai("$serializer",[Ri]),Rd.prototype.c1y=function(t){return new Pz(this.f1z_1,this.h1z_1,t,this.i1z_1,new Rz(this.k1z_1.c1z_1.l1r()))},Rd.prototype.toString=function(){return"CSMemberLeftEvent(id="+this.f1z_1+", type="+this.g1z_1+", timestamp="+this.h1z_1+", from="+this.i1z_1+", _embedded="+this.j1z_1+", body="+this.k1z_1+")"},Rd.prototype.hashCode=function(){var t=this.f1z_1;return t=si(t,31)+Ci(this.g1z_1)|0,t=si(t,31)+Ci(this.h1z_1)|0,t=si(t,31)+Ci(this.i1z_1)|0,t=si(t,31)+(null==this.j1z_1?0:this.j1z_1.hashCode())|0,t=si(t,31)+this.k1z_1.hashCode()|0},Rd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Rd))return!1;var n=t instanceof Rd?t:li();return this.f1z_1===n.f1z_1&&this.g1z_1===n.g1z_1&&this.h1z_1===n.h1z_1&&this.i1z_1===n.i1z_1&&!!mi(this.j1z_1,n.j1z_1)&&!!this.k1z_1.equals(n.k1z_1)},Rd.$metadata$=_i("CSMemberLeftEvent",[Vy],void 0,{0:Sd}),Pd.prototype.c11=function(){return Nd()},Pd.$metadata$=ai("Companion"),Ad.prototype.fg=function(){return this.l1z_1},Ad.prototype.ar=function(){return[Ai(Ni()),xi(),xi(),Ai(xi()),Ai(yh()),Ai(tu())]},Ad.prototype.hg=function(t){var n=this.l1z_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.zj(n,0,Ni(),i),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.zj(n,3,xi(),a),o|=8,c=l.zj(n,4,yh(),c),o|=16,p=l.zj(n,5,tu(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.zj(n,0,Ni(),i),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.zj(n,3,xi(),a),o|=8;break;case 4:c=l.zj(n,4,yh(),c),o|=16;break;case 5:p=l.zj(n,5,tu(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),Bd(o,i,u,s,a,c,p,null)},Ad.prototype.m1z=function(t,n){var e=this.l1z_1,r=t.mj(e);(r.gl(e,0)||null!=n.n1z_1)&&r.cl(e,0,Ni(),n.n1z_1),r.zk(e,1,n.o1z_1),r.zk(e,2,n.p1z_1),(r.gl(e,3)||null!=n.q1z_1)&&r.cl(e,3,xi(),n.q1z_1),(r.gl(e,4)||null!=n.r1z_1)&&r.cl(e,4,yh(),n.r1z_1),(r.gl(e,5)||null!=n.s1z_1)&&r.cl(e,5,tu(),n.s1z_1),r.nj(e)},Ad.prototype.gg=function(t,n){return this.m1z(t,n instanceof Md?n:li())},Ad.$metadata$=ai("$serializer",[Ri]),Md.prototype.c1y=function(t){return new Tz(this.o1z_1,this.n1z_1,this.p1z_1,t,this.q1z_1)},Md.prototype.toString=function(){return"CSUnknownConversationEvent(id="+this.n1z_1+", type="+this.o1z_1+", timestamp="+this.p1z_1+", from="+this.q1z_1+", _embedded="+this.r1z_1+", body="+this.s1z_1+")"},Md.prototype.hashCode=function(){var t=null==this.n1z_1?0:this.n1z_1;return t=si(t,31)+Ci(this.o1z_1)|0,t=si(t,31)+Ci(this.p1z_1)|0,t=si(t,31)+(null==this.q1z_1?0:Ci(this.q1z_1))|0,t=si(t,31)+(null==this.r1z_1?0:this.r1z_1.hashCode())|0,t=si(t,31)+(null==this.s1z_1?0:this.s1z_1.hashCode())|0},Md.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Md))return!1;var n=t instanceof Md?t:li();return this.n1z_1==n.n1z_1&&this.o1z_1===n.o1z_1&&this.p1z_1===n.p1z_1&&this.q1z_1==n.q1z_1&&!!mi(this.r1z_1,n.r1z_1)&&!!mi(this.s1z_1,n.s1z_1)},Md.$metadata$=_i("CSUnknownConversationEvent",[Vy],void 0,{0:Nd}),Ud.prototype.fg=function(){return this.t1z_1},Ud.prototype.ar=function(){return[vE(),wR(),_R(),nR(),xi()]},Ud.prototype.hg=function(t){var n=this.t1z_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.xj(n,0,vE(),i),o|=1,u=p.xj(n,1,wR(),u),o|=2,s=p.xj(n,2,_R(),s),o|=4,a=p.xj(n,3,nR(),a),o|=8,c=p.wj(n,4),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.xj(n,0,vE(),i),o|=1;break;case 1:u=p.xj(n,1,wR(),u),o|=2;break;case 2:s=p.xj(n,2,_R(),s),o|=4;break;case 3:a=p.xj(n,3,nR(),a),o|=8;break;case 4:c=p.wj(n,4),o|=16;break;default:throw Oi(r)}return p.nj(n),Kd(o,i,u,s,a,c,null)},Ud.prototype.u1z=function(t,n){var e=this.t1z_1,r=t.mj(e);r.al(e,0,vE(),n.v1z_1),r.al(e,1,wR(),n.w1z_1),r.al(e,2,_R(),n.x1z_1),r.al(e,3,nR(),n.y1z_1),r.zk(e,4,n.z1z_1),r.nj(e)},Ud.prototype.gg=function(t,n){return this.u1z(t,n instanceof Wd?n:li())},Ud.$metadata$=ai("$serializer",[Ri]),Wd.prototype.a20=function(){return this.v1z_1},Wd.prototype.toString=function(){return"RTCHangup(channel="+this.v1z_1+", bandwidth="+this.w1z_1+", reason="+this.x1z_1+", quality="+this.y1z_1+", direction="+this.z1z_1+")"},Wd.prototype.hashCode=function(){var t=this.v1z_1.hashCode();return t=si(t,31)+this.w1z_1.hashCode()|0,t=si(t,31)+this.x1z_1.hashCode()|0,t=si(t,31)+this.y1z_1.hashCode()|0,t=si(t,31)+Ci(this.z1z_1)|0},Wd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Wd))return!1;var n=t instanceof Wd?t:li();return!!(this.v1z_1.equals(n.v1z_1)&&this.w1z_1.equals(n.w1z_1)&&this.x1z_1.equals(n.x1z_1)&&this.y1z_1.equals(n.y1z_1)&&this.z1z_1===n.z1z_1)},Wd.$metadata$=_i("RTCHangup",[Dm],void 0,{0:Hd}),ai("Companion"),Gd.prototype.fg=function(){return this.b20_1},Gd.prototype.ar=function(){return[nv(),Ni(),xi(),xi(),xi(),Ai(yh()),Ai(xi())]},Gd.prototype.hg=function(t){var n=this.b20_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=null,p=null,l=null,f=t.mj(n);if(f.ak())i=f.xj(n,0,nv(),i),o|=1,u=f.rj(n,1),o|=2,s=f.wj(n,2),o|=4,a=f.wj(n,3),o|=8,c=f.wj(n,4),o|=16,p=f.zj(n,5,yh(),p),o|=32,l=f.zj(n,6,xi(),l),o|=64;else for(;e;)switch(r=f.bk(n)){case-1:e=!1;break;case 0:i=f.xj(n,0,nv(),i),o|=1;break;case 1:u=f.rj(n,1),o|=2;break;case 2:s=f.wj(n,2),o|=4;break;case 3:a=f.wj(n,3),o|=8;break;case 4:c=f.wj(n,4),o|=16;break;case 5:p=f.zj(n,5,yh(),p),o|=32;break;case 6:l=f.zj(n,6,xi(),l),o|=64;break;default:throw Oi(r)}return f.nj(n),Zd(o,i,u,s,a,c,p,l,null)},Gd.prototype.c20=function(t,n){var e=this.b20_1,r=t.mj(e);r.al(e,0,nv(),n.d20_1),r.uk(e,1,n.e20_1),r.zk(e,2,n.f20_1),r.zk(e,3,n.g20_1),r.zk(e,4,n.h20_1),(r.gl(e,5)||null!=n.i20_1)&&r.cl(e,5,yh(),n.i20_1),(r.gl(e,6)||null!=n.j20_1)&&r.cl(e,6,xi(),n.j20_1),r.nj(e)},Gd.prototype.gg=function(t,n){return this.c20(t,n instanceof Qd?n:li())},Gd.$metadata$=ai("$serializer",[Ri]),Qd.prototype.k20=function(){return this.d20_1},Qd.prototype.q1m=function(){return this.e20_1},Qd.prototype.r1h=function(){return this.f20_1},Qd.prototype.l20=function(){return this.j20_1},Qd.prototype.toString=function(){return"MemberInvitedEvent(body="+this.d20_1+", id="+this.e20_1+", cid="+this.f20_1+", timestamp="+this.g20_1+", from="+this.h20_1+", _embedded="+this.i20_1+", application_id="+this.j20_1+")"},Qd.prototype.hashCode=function(){var t=this.d20_1.hashCode();return t=si(t,31)+this.e20_1|0,t=si(t,31)+Ci(this.f20_1)|0,t=si(t,31)+Ci(this.g20_1)|0,t=si(t,31)+Ci(this.h20_1)|0,t=si(t,31)+(null==this.i20_1?0:this.i20_1.hashCode())|0,t=si(t,31)+(null==this.j20_1?0:Ci(this.j20_1))|0},Qd.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qd))return!1;var n=t instanceof Qd?t:li();return!!this.d20_1.equals(n.d20_1)&&this.e20_1===n.e20_1&&this.f20_1===n.f20_1&&this.g20_1===n.g20_1&&this.h20_1===n.h20_1&&!!mi(this.i20_1,n.i20_1)&&this.j20_1==n.j20_1},Qd.$metadata$=_i("MemberInvitedEvent",void 0,void 0,{0:Xd},void 0,Mj.prototype),tv.prototype.fg=function(){return this.m20_1},tv.prototype.ar=function(){return[xE(),xi(),Af(),XE(),vE(),Ai(xi()),Ai(xi())]},tv.prototype.hg=function(t){var n=this.m20_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=null,f=t.mj(n);if(f.ak())i=f.xj(n,0,xE(),i),o|=1,u=f.wj(n,1),o|=2,s=f.xj(n,2,Af(),s),o|=4,a=f.xj(n,3,XE(),a),o|=8,c=f.xj(n,4,vE(),c),o|=16,p=f.zj(n,5,xi(),p),o|=32,l=f.zj(n,6,xi(),l),o|=64;else for(;e;)switch(r=f.bk(n)){case-1:e=!1;break;case 0:i=f.xj(n,0,xE(),i),o|=1;break;case 1:u=f.wj(n,1),o|=2;break;case 2:s=f.xj(n,2,Af(),s),o|=4;break;case 3:a=f.xj(n,3,XE(),a),o|=8;break;case 4:c=f.xj(n,4,vE(),c),o|=16;break;case 5:p=f.zj(n,5,xi(),p),o|=32;break;case 6:l=f.zj(n,6,xi(),l),o|=64;break;default:throw Oi(r)}return f.nj(n),rv(o,i,u,s,a,c,p,l,null)},tv.prototype.n20=function(t,n){var e=this.m20_1,r=t.mj(e);r.al(e,0,xE(),n.o20_1),r.zk(e,1,n.p20_1),r.al(e,2,Af(),n.q20_1),r.al(e,3,XE(),n.r20_1),r.al(e,4,vE(),n.s20_1),(r.gl(e,5)||null!=n.t20_1)&&r.cl(e,5,xi(),n.t20_1),(r.gl(e,6)||null!=n.u20_1)&&r.cl(e,6,xi(),n.u20_1),r.nj(e)},tv.prototype.gg=function(t,n){return this.n20(t,n instanceof ov?n:li())},tv.$metadata$=ai("$serializer",[Ri]),ov.prototype.i1m=function(){return this.q20_1},ov.prototype.toString=function(){return"MemberInvited(conversation="+this.o20_1+", member_id="+this.p20_1+", user="+this.q20_1+", media="+this.r20_1+", channel="+this.s20_1+", invited_by="+this.t20_1+", sdp="+this.u20_1+")"},ov.prototype.hashCode=function(){var t=this.o20_1.hashCode();return t=si(t,31)+Ci(this.p20_1)|0,t=si(t,31)+gi(this.q20_1)|0,t=si(t,31)+this.r20_1.hashCode()|0,t=si(t,31)+this.s20_1.hashCode()|0,t=si(t,31)+(null==this.t20_1?0:Ci(this.t20_1))|0,t=si(t,31)+(null==this.u20_1?0:Ci(this.u20_1))|0},ov.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ov))return!1;var n=t instanceof ov?t:li();return!!(this.o20_1.equals(n.o20_1)&&this.p20_1===n.p20_1&&mi(this.q20_1,n.q20_1)&&this.r20_1.equals(n.r20_1)&&this.s20_1.equals(n.s20_1)&&this.t20_1==n.t20_1&&this.u20_1==n.u20_1)},ov.$metadata$=_i("MemberInvited",[Dm],void 0,{0:nv}),ai("Companion"),iv.prototype.fg=function(){return this.v20_1},iv.prototype.ar=function(){return[lv(),Ni(),xi(),xi(),xi(),Ai(xi())]},iv.prototype.hg=function(t){var n=this.v20_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.xj(n,0,lv(),i),o|=1,u=l.rj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.wj(n,4),o|=16,p=l.zj(n,5,xi(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.xj(n,0,lv(),i),o|=1;break;case 1:u=l.rj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.wj(n,4),o|=16;break;case 5:p=l.zj(n,5,xi(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),av(o,i,u,s,a,c,p,null)},iv.prototype.w20=function(t,n){var e=this.v20_1,r=t.mj(e);r.al(e,0,lv(),n.x20_1),r.uk(e,1,n.y20_1),r.zk(e,2,n.z20_1),r.zk(e,3,n.a21_1),r.zk(e,4,n.b21_1),(r.gl(e,5)||null!=n.c21_1)&&r.cl(e,5,xi(),n.c21_1),r.nj(e)},iv.prototype.gg=function(t,n){return this.w20(t,n instanceof cv?n:li())},iv.$metadata$=ai("$serializer",[Ri]),cv.prototype.k20=function(){return this.x20_1},cv.prototype.q1m=function(){return this.y20_1},cv.prototype.r1h=function(){return this.z20_1},cv.prototype.l20=function(){return this.c21_1},cv.prototype.toString=function(){return"MemberJoinedEvent(body="+this.x20_1+", id="+this.y20_1+", cid="+this.z20_1+", from="+this.a21_1+", timestamp="+this.b21_1+", application_id="+this.c21_1+")"},cv.prototype.hashCode=function(){var t=this.x20_1.hashCode();return t=si(t,31)+this.y20_1|0,t=si(t,31)+Ci(this.z20_1)|0,t=si(t,31)+Ci(this.a21_1)|0,t=si(t,31)+Ci(this.b21_1)|0,t=si(t,31)+(null==this.c21_1?0:Ci(this.c21_1))|0},cv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof cv))return!1;var n=t instanceof cv?t:li();return!!this.x20_1.equals(n.x20_1)&&this.y20_1===n.y20_1&&this.z20_1===n.z20_1&&this.a21_1===n.a21_1&&this.b21_1===n.b21_1&&this.c21_1==n.c21_1},cv.$metadata$=_i("MemberJoinedEvent",void 0,void 0,{0:uv},void 0,Mj.prototype),pv.prototype.fg=function(){return this.d21_1},pv.prototype.ar=function(){return[xi(),Af(),vE()]},pv.prototype.hg=function(t){var n=this.d21_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.xj(n,1,Af(),u),o|=2,s=a.xj(n,2,vE(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.xj(n,1,Af(),u),o|=2;break;case 2:s=a.xj(n,2,vE(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),hv(o,i,u,s,null)},pv.prototype.e21=function(t,n){var e=this.d21_1,r=t.mj(e);r.zk(e,0,n.f21_1),r.al(e,1,Af(),n.g21_1),r.al(e,2,vE(),n.h21_1),r.nj(e)},pv.prototype.gg=function(t,n){return this.e21(t,n instanceof _v?n:li())},pv.$metadata$=ai("$serializer",[Ri]),_v.prototype.i21=function(){return this.f21_1},_v.prototype.i1m=function(){return this.g21_1},_v.prototype.a20=function(){return this.h21_1},_v.prototype.toString=function(){return"MemberJoined(member_id="+this.f21_1+", user="+this.g21_1+", channel="+this.h21_1+")"},_v.prototype.hashCode=function(){var t=Ci(this.f21_1);return t=si(t,31)+gi(this.g21_1)|0,t=si(t,31)+this.h21_1.hashCode()|0},_v.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof _v))return!1;var n=t instanceof _v?t:li();return this.f21_1===n.f21_1&&!!mi(this.g21_1,n.g21_1)&&!!this.h21_1.equals(n.h21_1)},_v.$metadata$=_i("MemberJoined",[Dm],void 0,{0:lv}),ai("Companion"),yv.prototype.fg=function(){return this.j21_1},yv.prototype.ar=function(){return[wv(),Ni(),xi(),xi(),xi(),Ai(xi()),Ai(yh())]},yv.prototype.hg=function(t){var n=this.j21_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=null,p=null,l=null,f=t.mj(n);if(f.ak())i=f.xj(n,0,wv(),i),o|=1,u=f.rj(n,1),o|=2,s=f.wj(n,2),o|=4,a=f.wj(n,3),o|=8,c=f.wj(n,4),o|=16,p=f.zj(n,5,xi(),p),o|=32,l=f.zj(n,6,yh(),l),o|=64;else for(;e;)switch(r=f.bk(n)){case-1:e=!1;break;case 0:i=f.xj(n,0,wv(),i),o|=1;break;case 1:u=f.rj(n,1),o|=2;break;case 2:s=f.wj(n,2),o|=4;break;case 3:a=f.wj(n,3),o|=8;break;case 4:c=f.wj(n,4),o|=16;break;case 5:p=f.zj(n,5,xi(),p),o|=32;break;case 6:l=f.zj(n,6,yh(),l),o|=64;break;default:throw Oi(r)}return f.nj(n),gv(o,i,u,s,a,c,p,l,null)},yv.prototype.k21=function(t,n){var e=this.j21_1,r=t.mj(e);r.al(e,0,wv(),n.l21_1),r.uk(e,1,n.m21_1),r.zk(e,2,n.n21_1),r.zk(e,3,n.o21_1),r.zk(e,4,n.p21_1),(r.gl(e,5)||null!=n.q21_1)&&r.cl(e,5,xi(),n.q21_1),(r.gl(e,6)||null!=n.r21_1)&&r.cl(e,6,yh(),n.r21_1),r.nj(e)},yv.prototype.gg=function(t,n){return this.k21(t,n instanceof mv?n:li())},yv.$metadata$=ai("$serializer",[Ri]),mv.prototype.q1m=function(){return this.m21_1},mv.prototype.r1h=function(){return this.n21_1},mv.prototype.toString=function(){return"MemberLeftEvent(body="+this.l21_1+", id="+this.m21_1+", cid="+this.n21_1+", from="+this.o21_1+", timestamp="+this.p21_1+", application_id="+this.q21_1+", _embedded="+this.r21_1+")"},mv.prototype.hashCode=function(){var t=this.l21_1.hashCode();return t=si(t,31)+this.m21_1|0,t=si(t,31)+Ci(this.n21_1)|0,t=si(t,31)+Ci(this.o21_1)|0,t=si(t,31)+Ci(this.p21_1)|0,t=si(t,31)+(null==this.q21_1?0:Ci(this.q21_1))|0,t=si(t,31)+(null==this.r21_1?0:this.r21_1.hashCode())|0},mv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof mv))return!1;var n=t instanceof mv?t:li();return!!this.l21_1.equals(n.l21_1)&&this.m21_1===n.m21_1&&this.n21_1===n.n21_1&&this.o21_1===n.o21_1&&this.p21_1===n.p21_1&&this.q21_1==n.q21_1&&!!mi(this.r21_1,n.r21_1)},mv.$metadata$=_i("MemberLeftEvent",void 0,void 0,{0:dv},void 0,Mj.prototype),bv.prototype.fg=function(){return this.s21_1},bv.prototype.ar=function(){return[xi(),Af(),vE(),Ai(Pm())]},bv.prototype.hg=function(t){var n=this.s21_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.xj(n,1,Af(),u),o|=2,s=c.xj(n,2,vE(),s),o|=4,a=c.zj(n,3,Pm(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.xj(n,1,Af(),u),o|=2;break;case 2:s=c.xj(n,2,vE(),s),o|=4;break;case 3:a=c.zj(n,3,Pm(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),jv(o,i,u,s,a,null)},bv.prototype.t21=function(t,n){var e=this.s21_1,r=t.mj(e);r.zk(e,0,n.u21_1),r.al(e,1,Af(),n.v21_1),r.al(e,2,vE(),n.w21_1),(r.gl(e,3)||null!=n.x21_1)&&r.cl(e,3,Pm(),n.x21_1),r.nj(e)},bv.prototype.gg=function(t,n){return this.t21(t,n instanceof kv?n:li())},bv.$metadata$=ai("$serializer",[Ri]),kv.prototype.toString=function(){return"MemberLeftBody(member_id="+this.u21_1+", user="+this.v21_1+", channel="+this.w21_1+", reason="+this.x21_1+")"},kv.prototype.hashCode=function(){var t=Ci(this.u21_1);return t=si(t,31)+gi(this.v21_1)|0,t=si(t,31)+this.w21_1.hashCode()|0,t=si(t,31)+(null==this.x21_1?0:this.x21_1.hashCode())|0},kv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kv))return!1;var n=t instanceof kv?t:li();return this.u21_1===n.u21_1&&!!mi(this.v21_1,n.v21_1)&&!!this.w21_1.equals(n.w21_1)&&!!mi(this.x21_1,n.x21_1)},kv.$metadata$=_i("MemberLeftBody",[Dm],void 0,{0:wv}),ai("Companion"),qv.prototype.fg=function(){return this.y21_1},qv.prototype.ar=function(){return[Vw(),Ni(),xi(),xi(),xi(),Ai(yh())]},qv.prototype.hg=function(t){var n=this.y21_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.xj(n,0,Vw(),i),o|=1,u=l.rj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.wj(n,4),o|=16,p=l.zj(n,5,yh(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.xj(n,0,Vw(),i),o|=1;break;case 1:u=l.rj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.wj(n,4),o|=16;break;case 5:p=l.zj(n,5,yh(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),xv(o,i,u,s,a,c,p,null)},qv.prototype.z21=function(t,n){var e=this.y21_1,r=t.mj(e);r.al(e,0,Vw(),n.a22_1),r.uk(e,1,n.b22_1),r.zk(e,2,n.c22_1),r.zk(e,3,n.d22_1),r.zk(e,4,n.e22_1),(r.gl(e,5)||null!=n.f22_1)&&r.cl(e,5,yh(),n.f22_1),r.nj(e)},qv.prototype.gg=function(t,n){return this.z21(t,n instanceof Sv?n:li())},qv.$metadata$=ai("$serializer",[Ri]),Sv.prototype.q1m=function(){return this.b22_1},Sv.prototype.r1h=function(){return this.c22_1},Sv.prototype.toString=function(){return"MessageEvent(body="+this.a22_1+", id="+this.b22_1+", cid="+this.c22_1+", from="+this.d22_1+", timestamp="+this.e22_1+", _embedded="+this.f22_1+")"},Sv.prototype.hashCode=function(){var t=gi(this.a22_1);return t=si(t,31)+this.b22_1|0,t=si(t,31)+Ci(this.c22_1)|0,t=si(t,31)+Ci(this.d22_1)|0,t=si(t,31)+Ci(this.e22_1)|0,t=si(t,31)+(null==this.f22_1?0:this.f22_1.hashCode())|0},Sv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Sv))return!1;var n=t instanceof Sv?t:li();return!!mi(this.a22_1,n.a22_1)&&this.b22_1===n.b22_1&&this.c22_1===n.c22_1&&this.d22_1===n.d22_1&&this.e22_1===n.e22_1&&!!mi(this.f22_1,n.f22_1)},Sv.$metadata$=_i("MessageEvent",void 0,void 0,{0:Cv},void 0,Mj.prototype),ai("Companion"),Ov.prototype.fg=function(){return this.g22_1},Ov.prototype.ar=function(){return[Bm(),Ni(),xi(),Ai(xi())]},Ov.prototype.hg=function(t){var n=this.g22_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Bm(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Bm(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Pv(o,i,u,s,a,null)},Ov.prototype.h22=function(t,n){var e=this.g22_1,r=t.mj(e);r.al(e,0,Bm(),n.i22_1),r.uk(e,1,n.j22_1),r.zk(e,2,n.k22_1),(r.gl(e,3)||null!=n.l22_1)&&r.cl(e,3,xi(),n.l22_1),r.nj(e)},Ov.prototype.gg=function(t,n){return this.h22(t,n instanceof Tv?n:li())},Ov.$metadata$=ai("$serializer",[Ri]),Tv.prototype.q1m=function(){return this.j22_1},Tv.prototype.r1h=function(){return this.k22_1},Tv.prototype.toString=function(){return"AudioSayEvent(body="+this.i22_1+", id="+this.j22_1+", cid="+this.k22_1+", from="+this.l22_1+")"},Tv.prototype.hashCode=function(){var t=this.i22_1.hashCode();return t=si(t,31)+this.j22_1|0,t=si(t,31)+Ci(this.k22_1)|0,t=si(t,31)+(null==this.l22_1?0:Ci(this.l22_1))|0},Tv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Tv))return!1;var n=t instanceof Tv?t:li();return!!this.i22_1.equals(n.i22_1)&&this.j22_1===n.j22_1&&this.k22_1===n.k22_1&&this.l22_1==n.l22_1},Tv.$metadata$=_i("AudioSayEvent",void 0,void 0,{0:Ev},void 0,Mj.prototype),ai("Companion"),Av.prototype.fg=function(){return this.m22_1},Av.prototype.ar=function(){return[Fv(),Ai(Ni()),Ai(xi()),Ai(xi()),Ai(yh())]},Av.prototype.hg=function(t){var n=this.m22_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.xj(n,0,Fv(),i),o|=1,u=p.zj(n,1,Ni(),u),o|=2,s=p.zj(n,2,xi(),s),o|=4,a=p.zj(n,3,xi(),a),o|=8,c=p.zj(n,4,yh(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.xj(n,0,Fv(),i),o|=1;break;case 1:u=p.zj(n,1,Ni(),u),o|=2;break;case 2:s=p.zj(n,2,xi(),s),o|=4;break;case 3:a=p.zj(n,3,xi(),a),o|=8;break;case 4:c=p.zj(n,4,yh(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),Bv(o,i,u,s,a,c,null)},Av.prototype.n22=function(t,n){var e=this.m22_1,r=t.mj(e);r.al(e,0,Fv(),n.o22_1),r.cl(e,1,Ni(),n.p22_1),r.cl(e,2,xi(),n.q22_1),(r.gl(e,3)||null!=n.r22_1)&&r.cl(e,3,xi(),n.r22_1),(r.gl(e,4)||null!=n.s22_1)&&r.cl(e,4,yh(),n.s22_1),r.nj(e)},Av.prototype.gg=function(t,n){return this.n22(t,n instanceof Mv?n:li())},Av.$metadata$=ai("$serializer",[Ri]),Mv.prototype.q1m=function(){return this.p22_1},Mv.prototype.r1h=function(){return this.q22_1},Mv.$metadata$=_i("LegStatusUpdateEvent",void 0,void 0,{0:Nv},void 0,Mj.prototype),Lv.prototype.fg=function(){return this.t22_1},Lv.prototype.ar=function(){return[xi(),xi(),xi(),xi(),new Wi(Um())]},Lv.prototype.hg=function(t){var n=this.t22_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.wj(n,0),o|=1,u=p.wj(n,1),o|=2,s=p.wj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.xj(n,4,new Wi(Um()),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.wj(n,0),o|=1;break;case 1:u=p.wj(n,1),o|=2;break;case 2:s=p.wj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.xj(n,4,new Wi(Um()),c),o|=16;break;default:throw Oi(r)}return p.nj(n),Jv(o,i,u,s,a,c,null)},Lv.prototype.u22=function(t,n){var e=this.t22_1,r=t.mj(e);r.zk(e,0,n.v22_1),r.zk(e,1,n.w22_1),r.zk(e,2,n.x22_1),r.zk(e,3,n.y22_1),r.al(e,4,new Wi(Um()),n.z22_1),r.nj(e)},Lv.prototype.gg=function(t,n){return this.u22(t,n instanceof Uv?n:li())},Lv.$metadata$=ai("$serializer",[Ri]),Uv.prototype.toString=function(){return"LegStatusUpdate(direction="+this.v22_1+", leg_id="+this.w22_1+", status="+this.x22_1+", type="+this.y22_1+", statusHistory="+this.z22_1+")"},Uv.prototype.hashCode=function(){var t=Ci(this.v22_1);return t=si(t,31)+Ci(this.w22_1)|0,t=si(t,31)+Ci(this.x22_1)|0,t=si(t,31)+Ci(this.y22_1)|0,t=si(t,31)+gi(this.z22_1)|0},Uv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Uv))return!1;var n=t instanceof Uv?t:li();return this.v22_1===n.v22_1&&this.w22_1===n.w22_1&&this.x22_1===n.x22_1&&this.y22_1===n.y22_1&&!!mi(this.z22_1,n.z22_1)},Uv.$metadata$=_i("LegStatusUpdate",[Dm],void 0,{0:Fv}),ai("Companion"),Hv.prototype.fg=function(){return this.a23_1},Hv.prototype.ar=function(){return[Yv(),Ni(),xi(),Ai(xi())]},Hv.prototype.hg=function(t){var n=this.a23_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Yv(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Yv(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Wv(o,i,u,s,a,null)},Hv.prototype.b23=function(t,n){var e=this.a23_1,r=t.mj(e);r.al(e,0,Yv(),n.c23_1),r.uk(e,1,n.d23_1),r.zk(e,2,n.e23_1),(r.gl(e,3)||null!=n.f23_1)&&r.cl(e,3,xi(),n.f23_1),r.nj(e)},Hv.prototype.gg=function(t,n){return this.b23(t,n instanceof Gv?n:li())},Hv.$metadata$=ai("$serializer",[Ri]),Gv.prototype.q1m=function(){return this.d23_1},Gv.prototype.r1h=function(){return this.e23_1},Gv.prototype.toString=function(){return"AudioMuteOnEvent(body="+this.c23_1+", id="+this.d23_1+", cid="+this.e23_1+", from="+this.f23_1+")"},Gv.prototype.hashCode=function(){var t=this.c23_1.hashCode();return t=si(t,31)+this.d23_1|0,t=si(t,31)+Ci(this.e23_1)|0,t=si(t,31)+(null==this.f23_1?0:Ci(this.f23_1))|0},Gv.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Gv))return!1;var n=t instanceof Gv?t:li();return!!this.c23_1.equals(n.c23_1)&&this.d23_1===n.d23_1&&this.e23_1===n.e23_1&&this.f23_1==n.f23_1},Gv.$metadata$=_i("AudioMuteOnEvent",void 0,void 0,{0:Vv},void 0,Mj.prototype),Xv.prototype.fg=function(){return this.g23_1},Xv.prototype.ar=function(){return[xi()]},Xv.prototype.hg=function(t){var n=this.g23_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Qv(o,i,null)},Xv.prototype.h23=function(t,n){var e=this.g23_1,r=t.mj(e);r.zk(e,0,n.i23_1),r.nj(e)},Xv.prototype.gg=function(t,n){return this.h23(t,n instanceof tg?n:li())},Xv.$metadata$=ai("$serializer",[Ri]),tg.prototype.toString=function(){return"AudioMuteBody(rtc_id="+this.i23_1+")"},tg.prototype.hashCode=function(){return Ci(this.i23_1)},tg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof tg))return!1;var n=t instanceof tg?t:li();return this.i23_1===n.i23_1},tg.$metadata$=_i("AudioMuteBody",[Dm],void 0,{0:Yv}),ai("Companion"),ng.prototype.fg=function(){return this.j23_1},ng.prototype.ar=function(){return[Yv(),Ni(),xi(),Ai(xi())]},ng.prototype.hg=function(t){var n=this.j23_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Yv(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Yv(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),og(o,i,u,s,a,null)},ng.prototype.k23=function(t,n){var e=this.j23_1,r=t.mj(e);r.al(e,0,Yv(),n.l23_1),r.uk(e,1,n.m23_1),r.zk(e,2,n.n23_1),(r.gl(e,3)||null!=n.o23_1)&&r.cl(e,3,xi(),n.o23_1),r.nj(e)},ng.prototype.gg=function(t,n){return this.k23(t,n instanceof ig?n:li())},ng.$metadata$=ai("$serializer",[Ri]),ig.prototype.q1m=function(){return this.m23_1},ig.prototype.r1h=function(){return this.n23_1},ig.prototype.toString=function(){return"AudioMuteOffEvent(body="+this.l23_1+", id="+this.m23_1+", cid="+this.n23_1+", from="+this.o23_1+")"},ig.prototype.hashCode=function(){var t=this.l23_1.hashCode();return t=si(t,31)+this.m23_1|0,t=si(t,31)+Ci(this.n23_1)|0,t=si(t,31)+(null==this.o23_1?0:Ci(this.o23_1))|0},ig.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ig))return!1;var n=t instanceof ig?t:li();return!!this.l23_1.equals(n.l23_1)&&this.m23_1===n.m23_1&&this.n23_1===n.n23_1&&this.o23_1==n.o23_1},ig.$metadata$=_i("AudioMuteOffEvent",void 0,void 0,{0:eg},void 0,Mj.prototype),ai("Companion"),ug.prototype.fg=function(){return this.p23_1},ug.prototype.ar=function(){return[fg(),Ni(),xi(),Ai(xi())]},ug.prototype.hg=function(t){var n=this.p23_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,fg(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,fg(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),cg(o,i,u,s,a,null)},ug.prototype.q23=function(t,n){var e=this.p23_1,r=t.mj(e);r.al(e,0,fg(),n.r23_1),r.uk(e,1,n.s23_1),r.zk(e,2,n.t23_1),(r.gl(e,3)||null!=n.u23_1)&&r.cl(e,3,xi(),n.u23_1),r.nj(e)},ug.prototype.gg=function(t,n){return this.q23(t,n instanceof pg?n:li())},ug.$metadata$=ai("$serializer",[Ri]),pg.prototype.q1m=function(){return this.s23_1},pg.prototype.r1h=function(){return this.t23_1},pg.prototype.toString=function(){return"AudioEarmuffOnEvent(body="+this.r23_1+", id="+this.s23_1+", cid="+this.t23_1+", from="+this.u23_1+")"},pg.prototype.hashCode=function(){var t=this.r23_1.hashCode();return t=si(t,31)+this.s23_1|0,t=si(t,31)+Ci(this.t23_1)|0,t=si(t,31)+(null==this.u23_1?0:Ci(this.u23_1))|0},pg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof pg))return!1;var n=t instanceof pg?t:li();return!!this.r23_1.equals(n.r23_1)&&this.s23_1===n.s23_1&&this.t23_1===n.t23_1&&this.u23_1==n.u23_1},pg.$metadata$=_i("AudioEarmuffOnEvent",void 0,void 0,{0:sg},void 0,Mj.prototype),lg.prototype.fg=function(){return this.v23_1},lg.prototype.ar=function(){return[xi()]},lg.prototype.hg=function(t){var n=this.v23_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),_g(o,i,null)},lg.prototype.w23=function(t,n){var e=this.v23_1,r=t.mj(e);r.zk(e,0,n.x23_1),r.nj(e)},lg.prototype.gg=function(t,n){return this.w23(t,n instanceof yg?n:li())},lg.$metadata$=ai("$serializer",[Ri]),yg.prototype.toString=function(){return"AudioEarmuffBody(rtc_id="+this.x23_1+")"},yg.prototype.hashCode=function(){return Ci(this.x23_1)},yg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof yg))return!1;var n=t instanceof yg?t:li();return this.x23_1===n.x23_1},yg.$metadata$=_i("AudioEarmuffBody",[Dm],void 0,{0:fg}),ai("Companion"),dg.prototype.fg=function(){return this.y23_1},dg.prototype.ar=function(){return[fg(),Ni(),xi(),Ai(xi())]},dg.prototype.hg=function(t){var n=this.y23_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,fg(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,fg(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),mg(o,i,u,s,a,null)},dg.prototype.z23=function(t,n){var e=this.y23_1,r=t.mj(e);r.al(e,0,fg(),n.a24_1),r.uk(e,1,n.b24_1),r.zk(e,2,n.c24_1),(r.gl(e,3)||null!=n.d24_1)&&r.cl(e,3,xi(),n.d24_1),r.nj(e)},dg.prototype.gg=function(t,n){return this.z23(t,n instanceof bg?n:li())},dg.$metadata$=ai("$serializer",[Ri]),bg.prototype.q1m=function(){return this.b24_1},bg.prototype.r1h=function(){return this.c24_1},bg.prototype.toString=function(){return"AudioEarmuffOffEvent(body="+this.a24_1+", id="+this.b24_1+", cid="+this.c24_1+", from="+this.d24_1+")"},bg.prototype.hashCode=function(){var t=this.a24_1.hashCode();return t=si(t,31)+this.b24_1|0,t=si(t,31)+Ci(this.c24_1)|0,t=si(t,31)+(null==this.d24_1?0:Ci(this.d24_1))|0},bg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bg))return!1;var n=t instanceof bg?t:li();return!!this.a24_1.equals(n.a24_1)&&this.b24_1===n.b24_1&&this.c24_1===n.c24_1&&this.d24_1==n.d24_1},bg.$metadata$=_i("AudioEarmuffOffEvent",void 0,void 0,{0:vg},void 0,Mj.prototype),ai("Companion"),wg.prototype.fg=function(){return this.e24_1},wg.prototype.ar=function(){return[zg(),Ni(),xi(),Ai(xi())]},wg.prototype.hg=function(t){var n=this.e24_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,zg(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,zg(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),kg(o,i,u,s,a,null)},wg.prototype.f24=function(t,n){var e=this.e24_1,r=t.mj(e);r.al(e,0,zg(),n.g24_1),r.uk(e,1,n.h24_1),r.zk(e,2,n.i24_1),(r.gl(e,3)||null!=n.j24_1)&&r.cl(e,3,xi(),n.j24_1),r.nj(e)},wg.prototype.gg=function(t,n){return this.f24(t,n instanceof qg?n:li())},wg.$metadata$=ai("$serializer",[Ri]),qg.prototype.q1m=function(){return this.h24_1},qg.prototype.r1h=function(){return this.i24_1},qg.prototype.toString=function(){return"AudioDTMFEvent(body="+this.g24_1+", id="+this.h24_1+", cid="+this.i24_1+", from="+this.j24_1+")"},qg.prototype.hashCode=function(){var t=this.g24_1.hashCode();return t=si(t,31)+this.h24_1|0,t=si(t,31)+Ci(this.i24_1)|0,t=si(t,31)+(null==this.j24_1?0:Ci(this.j24_1))|0},qg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qg))return!1;var n=t instanceof qg?t:li();return!!this.g24_1.equals(n.g24_1)&&this.h24_1===n.h24_1&&this.i24_1===n.i24_1&&this.j24_1==n.j24_1},qg.$metadata$=_i("AudioDTMFEvent",void 0,void 0,{0:$g},void 0,Mj.prototype),Cg.prototype.fg=function(){return this.k24_1},Cg.prototype.ar=function(){return[xi(),fE()]},Cg.prototype.hg=function(t){var n=this.k24_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,fE(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,fE(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Sg(o,i,u,null)},Cg.prototype.l24=function(t,n){var e=this.k24_1,r=t.mj(e);r.zk(e,0,n.m24_1),r.al(e,1,fE(),n.n24_1),r.nj(e)},Cg.prototype.gg=function(t,n){return this.l24(t,n instanceof Og?n:li())},Cg.$metadata$=ai("$serializer",[Ri]),Og.prototype.toString=function(){return"AudioDTMFBody(digit="+this.m24_1+", channel="+this.n24_1+")"},Og.prototype.hashCode=function(){var t=Ci(this.m24_1);return t=si(t,31)+this.n24_1.hashCode()|0},Og.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Og))return!1;var n=t instanceof Og?t:li();return this.m24_1===n.m24_1&&!!this.n24_1.equals(n.n24_1)},Og.$metadata$=_i("AudioDTMFBody",[Dm],void 0,{0:zg}),ai("Companion"),Eg.prototype.fg=function(){return this.o24_1},Eg.prototype.ar=function(){return[Hd(),Ni(),xi(),Ai(xi())]},Eg.prototype.hg=function(t){var n=this.o24_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Hd(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Hd(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Tg(o,i,u,s,a,null)},Eg.prototype.p24=function(t,n){var e=this.o24_1,r=t.mj(e);r.al(e,0,Hd(),n.q24_1),r.uk(e,1,n.r24_1),r.zk(e,2,n.s24_1),(r.gl(e,3)||null!=n.t24_1)&&r.cl(e,3,xi(),n.t24_1),r.nj(e)},Eg.prototype.gg=function(t,n){return this.p24(t,n instanceof Ag?n:li())},Eg.$metadata$=ai("$serializer",[Ri]),Ag.prototype.k20=function(){return this.q24_1},Ag.prototype.q1m=function(){return this.r24_1},Ag.prototype.r1h=function(){return this.s24_1},Ag.prototype.toString=function(){return"RTCHangupEvent(body="+this.q24_1+", id="+this.r24_1+", cid="+this.s24_1+", from="+this.t24_1+")"},Ag.prototype.hashCode=function(){var t=this.q24_1.hashCode();return t=si(t,31)+this.r24_1|0,t=si(t,31)+Ci(this.s24_1)|0,t=si(t,31)+(null==this.t24_1?0:Ci(this.t24_1))|0},Ag.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ag))return!1;var n=t instanceof Ag?t:li();return!!this.q24_1.equals(n.q24_1)&&this.r24_1===n.r24_1&&this.s24_1===n.s24_1&&this.t24_1==n.t24_1},Ag.$metadata$=_i("RTCHangupEvent",void 0,void 0,{0:Rg},void 0,Mj.prototype),ai("Companion"),Ng.prototype.fg=function(){return this.u24_1},Ng.prototype.ar=function(){return[Dg(),Ni(),xi(),Ai(xi())]},Ng.prototype.hg=function(t){var n=this.u24_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Dg(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Dg(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Mg(o,i,u,s,a,null)},Ng.prototype.v24=function(t,n){var e=this.u24_1,r=t.mj(e);r.al(e,0,Dg(),n.w24_1),r.uk(e,1,n.x24_1),r.zk(e,2,n.y24_1),(r.gl(e,3)||null!=n.z24_1)&&r.cl(e,3,xi(),n.z24_1),r.nj(e)},Ng.prototype.gg=function(t,n){return this.v24(t,n instanceof Lg?n:li())},Ng.$metadata$=ai("$serializer",[Ri]),Lg.prototype.k20=function(){return this.w24_1},Lg.prototype.q1m=function(){return this.x24_1},Lg.prototype.r1h=function(){return this.y24_1},Lg.prototype.x1g=function(){return this.z24_1},Lg.prototype.toString=function(){return"RTCTransferEvent(body="+this.w24_1+", id="+this.x24_1+", cid="+this.y24_1+", from="+this.z24_1+")"},Lg.prototype.hashCode=function(){var t=this.w24_1.hashCode();return t=si(t,31)+this.x24_1|0,t=si(t,31)+Ci(this.y24_1)|0,t=si(t,31)+(null==this.z24_1?0:Ci(this.z24_1))|0},Lg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Lg))return!1;var n=t instanceof Lg?t:li();return!!this.w24_1.equals(n.w24_1)&&this.x24_1===n.x24_1&&this.y24_1===n.y24_1&&this.z24_1==n.z24_1},Lg.$metadata$=_i("RTCTransferEvent",void 0,void 0,{0:Ig},void 0,Mj.prototype),Fg.prototype.fg=function(){return this.a25_1},Fg.prototype.ar=function(){return[xi(),xi(),xi(),vE()]},Fg.prototype.hg=function(t){var n=this.a25_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.xj(n,3,vE(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.xj(n,3,vE(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Ug(o,i,u,s,a,null)},Fg.prototype.b25=function(t,n){var e=this.a25_1,r=t.mj(e);r.zk(e,0,n.c25_1),r.zk(e,1,n.d25_1),r.zk(e,2,n.e25_1),r.al(e,3,vE(),n.f25_1),r.nj(e)},Fg.prototype.gg=function(t,n){return this.b25(t,n instanceof Hg?n:li())},Fg.$metadata$=ai("$serializer",[Ri]),Hg.prototype.g25=function(){return this.e25_1},Hg.prototype.a20=function(){return this.f25_1},Hg.prototype.toString=function(){return"RTCTransfer(was_member="+this.c25_1+", user_id="+this.d25_1+", transferred_from="+this.e25_1+", channel="+this.f25_1+")"},Hg.prototype.hashCode=function(){var t=Ci(this.c25_1);return t=si(t,31)+Ci(this.d25_1)|0,t=si(t,31)+Ci(this.e25_1)|0,t=si(t,31)+this.f25_1.hashCode()|0},Hg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Hg))return!1;var n=t instanceof Hg?t:li();return this.c25_1===n.c25_1&&this.d25_1===n.d25_1&&this.e25_1===n.e25_1&&!!this.f25_1.equals(n.f25_1)},Hg.$metadata$=_i("RTCTransfer",[Dm],void 0,{0:Dg}),ai("Companion"),Vg.prototype.fg=function(){return this.h25_1},Vg.prototype.ar=function(){return[nv(),Ni(),Ai(xi()),Ai(xi()),xi()]},Vg.prototype.hg=function(t){var n=this.h25_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=null,p=t.mj(n);if(p.ak())i=p.xj(n,0,nv(),i),o|=1,u=p.rj(n,1),o|=2,s=p.zj(n,2,xi(),s),o|=4,a=p.zj(n,3,xi(),a),o|=8,c=p.wj(n,4),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.xj(n,0,nv(),i),o|=1;break;case 1:u=p.rj(n,1),o|=2;break;case 2:s=p.zj(n,2,xi(),s),o|=4;break;case 3:a=p.zj(n,3,xi(),a),o|=8;break;case 4:c=p.wj(n,4),o|=16;break;default:throw Oi(r)}return p.nj(n),Gg(o,i,u,s,a,c,null)},Vg.prototype.i25=function(t,n){var e=this.h25_1,r=t.mj(e);r.al(e,0,nv(),n.j25_1),r.uk(e,1,n.k25_1),(r.gl(e,2)||null!=n.l25_1)&&r.cl(e,2,xi(),n.l25_1),(r.gl(e,3)||null!=n.m25_1)&&r.cl(e,3,xi(),n.m25_1),r.zk(e,4,n.n25_1),r.nj(e)},Vg.prototype.gg=function(t,n){return this.i25(t,n instanceof Xg?n:li())},Vg.$metadata$=ai("$serializer",[Ri]),Xg.prototype.q1m=function(){return this.k25_1},Xg.prototype.r1h=function(){return this.l25_1},Xg.prototype.toString=function(){return"PushMemberInvitedEvent(body="+this.j25_1+", id="+this.k25_1+", cid="+this.l25_1+", from="+this.m25_1+", conversation_id="+this.n25_1+")"},Xg.prototype.hashCode=function(){var t=this.j25_1.hashCode();return t=si(t,31)+this.k25_1|0,t=si(t,31)+(null==this.l25_1?0:Ci(this.l25_1))|0,t=si(t,31)+(null==this.m25_1?0:Ci(this.m25_1))|0,t=si(t,31)+Ci(this.n25_1)|0},Xg.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Xg))return!1;var n=t instanceof Xg?t:li();return!!this.j25_1.equals(n.j25_1)&&this.k25_1===n.k25_1&&this.l25_1==n.l25_1&&this.m25_1==n.m25_1&&this.n25_1===n.n25_1},Xg.$metadata$=_i("PushMemberInvitedEvent",void 0,void 0,{0:Kg},void 0,Mj.prototype),ai("Companion"),Yg.prototype.fg=function(){return this.o25_1},Yg.prototype.ar=function(){return[xm(),Ai(Ni()),Ai(xi()),Ai(xi())]},Yg.prototype.hg=function(t){var n=this.o25_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,xm(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,xm(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),tm(o,i,u,s,a,null)},Yg.prototype.p25=function(t,n){var e=this.o25_1,r=t.mj(e);r.al(e,0,xm(),n.q25_1),(r.gl(e,1)||null!=n.r25_1)&&r.cl(e,1,Ni(),n.r25_1),(r.gl(e,2)||null!=n.s25_1)&&r.cl(e,2,xi(),n.s25_1),(r.gl(e,3)||null!=n.t25_1)&&r.cl(e,3,xi(),n.t25_1),r.nj(e)},Yg.prototype.gg=function(t,n){return this.p25(t,n instanceof nm?n:li())},Yg.$metadata$=ai("$serializer",[Ri]),nm.prototype.k20=function(){return this.q25_1},nm.prototype.q1m=function(){return this.r25_1},nm.prototype.r1h=function(){return this.s25_1},nm.prototype.toString=function(){return"SessionSuccessEvent(body="+this.q25_1+", id="+this.r25_1+", cid="+this.s25_1+", from="+this.t25_1+")"},nm.prototype.hashCode=function(){var t=this.q25_1.hashCode();return t=si(t,31)+(null==this.r25_1?0:this.r25_1)|0,t=si(t,31)+(null==this.s25_1?0:Ci(this.s25_1))|0,t=si(t,31)+(null==this.t25_1?0:Ci(this.t25_1))|0},nm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof nm))return!1;var n=t instanceof nm?t:li();return!!this.q25_1.equals(n.q25_1)&&this.r25_1==n.r25_1&&this.s25_1==n.s25_1&&this.t25_1==n.t25_1},nm.$metadata$=_i("SessionSuccessEvent",void 0,void 0,{0:Zg},void 0,Mj.prototype),ai("Companion"),em.prototype.fg=function(){return this.u25_1},em.prototype.ar=function(){return[Ai(yh()),jm(),Ni(),xi(),Ai(xi())]},em.prototype.hg=function(t){var n=this.u25_1,e=!0,r=0,o=0,i=null,u=null,s=0,a=null,c=null,p=t.mj(n);if(p.ak())i=p.zj(n,0,yh(),i),o|=1,u=p.xj(n,1,jm(),u),o|=2,s=p.rj(n,2),o|=4,a=p.wj(n,3),o|=8,c=p.zj(n,4,xi(),c),o|=16;else for(;e;)switch(r=p.bk(n)){case-1:e=!1;break;case 0:i=p.zj(n,0,yh(),i),o|=1;break;case 1:u=p.xj(n,1,jm(),u),o|=2;break;case 2:s=p.rj(n,2),o|=4;break;case 3:a=p.wj(n,3),o|=8;break;case 4:c=p.zj(n,4,xi(),c),o|=16;break;default:throw Oi(r)}return p.nj(n),im(o,i,u,s,a,c,null)},em.prototype.v25=function(t,n){var e=this.u25_1,r=t.mj(e);r.cl(e,0,yh(),n.w25_1),r.al(e,1,jm(),n.x25_1),r.uk(e,2,n.y25_1),r.zk(e,3,n.z25_1),(r.gl(e,4)||null!=n.a26_1)&&r.cl(e,4,xi(),n.a26_1),r.nj(e)},em.prototype.gg=function(t,n){return this.v25(t,n instanceof um?n:li())},em.$metadata$=ai("$serializer",[Ri]),um.prototype.q1m=function(){return this.y25_1},um.prototype.r1h=function(){return this.z25_1},um.prototype.x1g=function(){return this.a26_1},um.prototype.toString=function(){return"MemberMediaEvent(_embedded="+this.w25_1+", body="+this.x25_1+", id="+this.y25_1+", cid="+this.z25_1+", from="+this.a26_1+")"},um.prototype.hashCode=function(){var t=null==this.w25_1?0:this.w25_1.hashCode();return t=si(t,31)+this.x25_1.hashCode()|0,t=si(t,31)+this.y25_1|0,t=si(t,31)+Ci(this.z25_1)|0,t=si(t,31)+(null==this.a26_1?0:Ci(this.a26_1))|0},um.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof um))return!1;var n=t instanceof um?t:li();return!!mi(this.w25_1,n.w25_1)&&!!this.x25_1.equals(n.x25_1)&&this.y25_1===n.y25_1&&this.z25_1===n.z25_1&&this.a26_1==n.a26_1},um.$metadata$=_i("MemberMediaEvent",void 0,void 0,{0:rm},void 0,Mj.prototype),ai("Companion"),sm.prototype.fg=function(){return this.b26_1},sm.prototype.ar=function(){return[gm(),Ai(Ni()),xi(),Ai(xi())]},sm.prototype.hg=function(t){var n=this.b26_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,gm(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,gm(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),pm(o,i,u,s,a,null)},sm.prototype.c26=function(t,n){var e=this.b26_1,r=t.mj(e);r.al(e,0,gm(),n.d26_1),(r.gl(e,1)||null!=n.e26_1)&&r.cl(e,1,Ni(),n.e26_1),r.zk(e,2,n.f26_1),(r.gl(e,3)||null!=n.g26_1)&&r.cl(e,3,xi(),n.g26_1),r.nj(e)},sm.prototype.gg=function(t,n){return this.c26(t,n instanceof lm?n:li())},sm.$metadata$=ai("$serializer",[Ri]),lm.prototype.k20=function(){return this.d26_1},lm.prototype.q1m=function(){return this.e26_1},lm.prototype.r1h=function(){return this.f26_1},lm.prototype.toString=function(){return"RTCAnswerEvent(body="+this.d26_1+", id="+this.e26_1+", cid="+this.f26_1+", from="+this.g26_1+")"},lm.prototype.hashCode=function(){var t=this.d26_1.hashCode();return t=si(t,31)+(null==this.e26_1?0:this.e26_1)|0,t=si(t,31)+Ci(this.f26_1)|0,t=si(t,31)+(null==this.g26_1?0:Ci(this.g26_1))|0},lm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof lm))return!1;var n=t instanceof lm?t:li();return!!this.d26_1.equals(n.d26_1)&&this.e26_1==n.e26_1&&this.f26_1===n.f26_1&&this.g26_1==n.g26_1},lm.$metadata$=_i("RTCAnswerEvent",void 0,void 0,{0:am},void 0,Mj.prototype),ai("Companion"),fm.prototype.fg=function(){return this.h26_1},fm.prototype.ar=function(){return[Gm(),Ni(),xi(),Ai(xi())]},fm.prototype.hg=function(t){var n=this.h26_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,Gm(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,Gm(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),ym(o,i,u,s,a,null)},fm.prototype.i26=function(t,n){var e=this.h26_1,r=t.mj(e);r.al(e,0,Gm(),n.j26_1),r.uk(e,1,n.k26_1),r.zk(e,2,n.l26_1),(r.gl(e,3)||null!=n.m26_1)&&r.cl(e,3,xi(),n.m26_1),r.nj(e)},fm.prototype.gg=function(t,n){return this.i26(t,n instanceof dm?n:li())},fm.$metadata$=ai("$serializer",[Ri]),dm.prototype.q1m=function(){return this.k26_1},dm.prototype.r1h=function(){return this.l26_1},dm.prototype.toString=function(){return"AudioSayDoneEvent(body="+this.j26_1+", id="+this.k26_1+", cid="+this.l26_1+", from="+this.m26_1+")"},dm.prototype.hashCode=function(){var t=this.j26_1.hashCode();return t=si(t,31)+this.k26_1|0,t=si(t,31)+Ci(this.l26_1)|0,t=si(t,31)+(null==this.m26_1?0:Ci(this.m26_1))|0},dm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof dm))return!1;var n=t instanceof dm?t:li();return!!this.j26_1.equals(n.j26_1)&&this.k26_1===n.k26_1&&this.l26_1===n.l26_1&&this.m26_1==n.m26_1},dm.$metadata$=_i("AudioSayDoneEvent",void 0,void 0,{0:hm},void 0,Mj.prototype),vm.prototype.fg=function(){return this.n26_1},vm.prototype.ar=function(){return[xi(),xi()]},vm.prototype.hg=function(t){var n=this.n26_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),bm(o,i,u,null)},vm.prototype.o26=function(t,n){var e=this.n26_1,r=t.mj(e);r.zk(e,0,n.p26_1),r.zk(e,1,n.q26_1),r.nj(e)},vm.prototype.gg=function(t,n){return this.o26(t,n instanceof wm?n:li())},vm.$metadata$=ai("$serializer",[Ri]),wm.prototype.x1u=function(){return this.p26_1},wm.prototype.r26=function(){return this.q26_1},wm.prototype.toString=function(){return"RTCAnswer(rtc_id="+this.p26_1+", answer="+this.q26_1+")"},wm.prototype.hashCode=function(){var t=Ci(this.p26_1);return t=si(t,31)+Ci(this.q26_1)|0},wm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof wm))return!1;var n=t instanceof wm?t:li();return this.p26_1===n.p26_1&&this.q26_1===n.q26_1},wm.$metadata$=_i("RTCAnswer",[Dm],void 0,{0:gm}),$m.prototype.fg=function(){return this.s26_1},$m.prototype.ar=function(){return[vE()]},$m.prototype.hg=function(t){var n=this.s26_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,vE(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,vE(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),qm(o,i,null)},$m.prototype.t26=function(t,n){var e=this.s26_1,r=t.mj(e);r.al(e,0,vE(),n.u26_1),r.nj(e)},$m.prototype.gg=function(t,n){return this.t26(t,n instanceof Cm?n:li())},$m.$metadata$=ai("$serializer",[Ri]),Cm.prototype.toString=function(){return"MemberMedia(channel="+this.u26_1+")"},Cm.prototype.hashCode=function(){return this.u26_1.hashCode()},Cm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Cm))return!1;var n=t instanceof Cm?t:li();return!!this.u26_1.equals(n.u26_1)},Cm.$metadata$=_i("MemberMedia",[Dm],void 0,{0:jm}),zm.prototype.fg=function(){return this.v26_1},zm.prototype.ar=function(){return[xi(),xi(),xi(),xi()]},zm.prototype.hg=function(t){var n=this.v26_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.wj(n,3),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.wj(n,3),o|=8;break;default:throw Oi(r)}return c.nj(n),Om(o,i,u,s,a,null)},zm.prototype.w26=function(t,n){var e=this.v26_1,r=t.mj(e);r.zk(e,0,n.x26_1),r.zk(e,1,n.y26_1),r.zk(e,2,n.z26_1),r.zk(e,3,n.a27_1),r.nj(e)},zm.prototype.gg=function(t,n){return this.w26(t,n instanceof Em?n:li())},zm.$metadata$=ai("$serializer",[Ri]),Em.prototype.q1m=function(){return this.x26_1},Em.prototype.b27=function(){return this.y26_1},Em.prototype.f4=function(){return this.z26_1},Em.prototype.c27=function(){return this.a27_1},Em.prototype.toString=function(){return"SessionSuccess(id="+this.x26_1+", user_id="+this.y26_1+", name="+this.z26_1+", api_key="+this.a27_1+")"},Em.prototype.hashCode=function(){var t=Ci(this.x26_1);return t=si(t,31)+Ci(this.y26_1)|0,t=si(t,31)+Ci(this.z26_1)|0,t=si(t,31)+Ci(this.a27_1)|0},Em.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Em))return!1;var n=t instanceof Em?t:li();return this.x26_1===n.x26_1&&this.y26_1===n.y26_1&&this.z26_1===n.z26_1&&this.a27_1===n.a27_1},Em.$metadata$=_i("SessionSuccess",[Dm],void 0,{0:xm}),Rm.prototype.fg=function(){return this.d27_1},Rm.prototype.ar=function(){return[Ai(xi()),Ai(xi())]},Rm.prototype.hg=function(t){var n=this.d27_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.zj(n,0,xi(),i),o|=1,u=s.zj(n,1,xi(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.zj(n,0,xi(),i),o|=1;break;case 1:u=s.zj(n,1,xi(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Am(o,i,u,null)},Rm.prototype.e27=function(t,n){var e=this.d27_1,r=t.mj(e);(r.gl(e,0)||null!=n.f27_1)&&r.cl(e,0,xi(),n.f27_1),(r.gl(e,1)||null!=n.g27_1)&&r.cl(e,1,xi(),n.g27_1),r.nj(e)},Rm.prototype.gg=function(t,n){return this.e27(t,n instanceof Nm?n:li())},Rm.$metadata$=ai("$serializer",[Ri]),Nm.prototype.toString=function(){return"MemberLeftReason(code="+this.f27_1+", text="+this.g27_1+")"},Nm.prototype.hashCode=function(){var t=null==this.f27_1?0:Ci(this.f27_1);return t=si(t,31)+(null==this.g27_1?0:Ci(this.g27_1))|0},Nm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Nm))return!1;var n=t instanceof Nm?t:li();return this.f27_1==n.f27_1&&this.g27_1==n.g27_1},Nm.$metadata$=_i("MemberLeftReason",void 0,void 0,{0:Pm}),Im.prototype.fg=function(){return this.h27_1},Im.prototype.ar=function(){return[xi(),xi(),Ni(),Ni(),Ai(xi()),Ai(Ki()),Ai(Ki()),Ai(Ki()),Ai(xi()),Ai(Ni())]},Im.prototype.hg=function(t){var n=this.h27_1,e=!0,r=0,o=0,i=null,u=null,s=0,a=0,c=null,p=null,l=null,f=null,h=null,_=null,y=t.mj(n);if(y.ak())i=y.wj(n,0),o|=1,u=y.wj(n,1),o|=2,s=y.rj(n,2),o|=4,a=y.rj(n,3),o|=8,c=y.zj(n,4,xi(),c),o|=16,p=y.zj(n,5,Ki(),p),o|=32,l=y.zj(n,6,Ki(),l),o|=64,f=y.zj(n,7,Ki(),f),o|=128,h=y.zj(n,8,xi(),h),o|=256,_=y.zj(n,9,Ni(),_),o|=512;else for(;e;)switch(r=y.bk(n)){case-1:e=!1;break;case 0:i=y.wj(n,0),o|=1;break;case 1:u=y.wj(n,1),o|=2;break;case 2:s=y.rj(n,2),o|=4;break;case 3:a=y.rj(n,3),o|=8;break;case 4:c=y.zj(n,4,xi(),c),o|=16;break;case 5:p=y.zj(n,5,Ki(),p),o|=32;break;case 6:l=y.zj(n,6,Ki(),l),o|=64;break;case 7:f=y.zj(n,7,Ki(),f),o|=128;break;case 8:h=y.zj(n,8,xi(),h),o|=256;break;case 9:_=y.zj(n,9,Ni(),_),o|=512;break;default:throw Oi(r)}return y.nj(n),Lm(o,i,u,s,a,c,p,l,f,h,_,null)},Im.prototype.r1k=function(t,n){var e=this.h27_1,r=t.mj(e);r.zk(e,0,n.i27_1),r.zk(e,1,n.j27_1),r.uk(e,2,n.k27_1),r.uk(e,3,n.l27_1),(r.gl(e,4)||null!=n.m27_1)&&r.cl(e,4,xi(),n.m27_1),(r.gl(e,5)||null!=n.n27_1)&&r.cl(e,5,Ki(),n.n27_1),(r.gl(e,6)||null!=n.o27_1)&&r.cl(e,6,Ki(),n.o27_1),(r.gl(e,7)||null!=n.p27_1)&&r.cl(e,7,Ki(),n.p27_1),(r.gl(e,8)||null!=n.q27_1)&&r.cl(e,8,xi(),n.q27_1),(r.gl(e,9)||null!=n.r27_1)&&r.cl(e,9,Ni(),n.r27_1),r.nj(e)},Im.prototype.gg=function(t,n){return this.r1k(t,n instanceof Fm?n:li())},Im.$metadata$=ai("$serializer",[Ri]),Fm.prototype.toString=function(){return"AudioSayBody(say_id="+this.i27_1+", text="+this.j27_1+", level="+this.k27_1+", loop="+this.l27_1+", language="+this.m27_1+", premium="+this.n27_1+", queue="+this.o27_1+", ssml="+this.p27_1+", voice_name="+this.q27_1+", style="+this.r27_1+")"},Fm.prototype.hashCode=function(){var t=Ci(this.i27_1);return t=si(t,31)+Ci(this.j27_1)|0,t=si(t,31)+this.k27_1|0,t=si(t,31)+this.l27_1|0,t=si(t,31)+(null==this.m27_1?0:Ci(this.m27_1))|0,t=si(t,31)+(null==this.n27_1?0:0|this.n27_1)|0,t=si(t,31)+(null==this.o27_1?0:0|this.o27_1)|0,t=si(t,31)+(null==this.p27_1?0:0|this.p27_1)|0,t=si(t,31)+(null==this.q27_1?0:Ci(this.q27_1))|0,t=si(t,31)+(null==this.r27_1?0:this.r27_1)|0},Fm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fm))return!1;var n=t instanceof Fm?t:li();return this.i27_1===n.i27_1&&this.j27_1===n.j27_1&&this.k27_1===n.k27_1&&this.l27_1===n.l27_1&&this.m27_1==n.m27_1&&this.n27_1==n.n27_1&&this.o27_1==n.o27_1&&this.p27_1==n.p27_1&&this.q27_1==n.q27_1&&this.r27_1==n.r27_1},Fm.$metadata$=_i("AudioSayBody",[Dm],void 0,{0:Bm}),Dm.$metadata$=ci("CSEvent"),Jm.prototype.fg=function(){return this.s27_1},Jm.prototype.ar=function(){return[xi(),xi()]},Jm.prototype.hg=function(t){var n=this.s27_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),Vm(o,i,u,null)},Jm.prototype.t27=function(t,n){var e=this.s27_1,r=t.mj(e);r.zk(e,0,n.u27_1),r.zk(e,1,n.v27_1),r.nj(e)},Jm.prototype.gg=function(t,n){return this.t27(t,n instanceof Km?n:li())},Jm.$metadata$=ai("$serializer",[Ri]),Km.prototype.toString=function(){return"LegStatusHistory(status="+this.u27_1+", date="+this.v27_1+")"},Km.prototype.hashCode=function(){var t=Ci(this.u27_1);return t=si(t,31)+Ci(this.v27_1)|0},Km.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Km))return!1;var n=t instanceof Km?t:li();return this.u27_1===n.u27_1&&this.v27_1===n.v27_1},Km.$metadata$=_i("LegStatusHistory",[Dm],void 0,{0:Um}),Wm.prototype.fg=function(){return this.w27_1},Wm.prototype.ar=function(){return[xi()]},Wm.prototype.hg=function(t){var n=this.w27_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Ym(o,i,null)},Wm.prototype.x27=function(t,n){var e=this.w27_1,r=t.mj(e);r.zk(e,0,n.y27_1),r.nj(e)},Wm.prototype.gg=function(t,n){return this.x27(t,n instanceof Zm?n:li())},Wm.$metadata$=ai("$serializer",[Ri]),Zm.prototype.toString=function(){return"AudioSayDone(say_id="+this.y27_1+")"},Zm.prototype.hashCode=function(){return Ci(this.y27_1)},Zm.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zm))return!1;var n=t instanceof Zm?t:li();return this.y27_1===n.y27_1},Zm.$metadata$=_i("AudioSayDone",[Dm],void 0,{0:Gm}),Qm.prototype.fg=function(){return this.z27_1},Qm.prototype.ar=function(){return[vE()]},Qm.prototype.hg=function(t){var n=this.z27_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.xj(n,0,vE(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.xj(n,0,vE(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),eb(o,i,null)},Qm.prototype.a28=function(t,n){var e=this.z27_1,r=t.mj(e);r.al(e,0,vE(),n.b28_1),r.nj(e)},Qm.prototype.gg=function(t,n){return this.a28(t,n instanceof rb?n:li())},Qm.$metadata$=ai("$serializer",[Ri]),rb.prototype.toString=function(){return"RTCAnswered(channel="+this.b28_1+")"},rb.prototype.hashCode=function(){return this.b28_1.hashCode()},rb.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rb))return!1;var n=t instanceof rb?t:li();return!!this.b28_1.equals(n.b28_1)},rb.$metadata$=_i("RTCAnswered",[Dm],void 0,{0:tb}),ai("Companion"),ob.prototype.fg=function(){return this.c28_1},ob.prototype.ar=function(){return[tb(),Ni(),xi(),Ai(xi())]},ob.prototype.hg=function(t){var n=this.c28_1,e=!0,r=0,o=0,i=null,u=0,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,tb(),i),o|=1,u=c.rj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,tb(),i),o|=1;break;case 1:u=c.rj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),sb(o,i,u,s,a,null)},ob.prototype.d28=function(t,n){var e=this.c28_1,r=t.mj(e);r.al(e,0,tb(),n.e28_1),r.uk(e,1,n.f28_1),r.zk(e,2,n.g28_1),(r.gl(e,3)||null!=n.h28_1)&&r.cl(e,3,xi(),n.h28_1),r.nj(e)},ob.prototype.gg=function(t,n){return this.d28(t,n instanceof ab?n:li())},ob.$metadata$=ai("$serializer",[Ri]),ab.prototype.q1m=function(){return this.f28_1},ab.prototype.r1h=function(){return this.g28_1},ab.prototype.toString=function(){return"RTCAnsweredEvent(body="+this.e28_1+", id="+this.f28_1+", cid="+this.g28_1+", from="+this.h28_1+")"},ab.prototype.hashCode=function(){var t=this.e28_1.hashCode();return t=si(t,31)+this.f28_1|0,t=si(t,31)+Ci(this.g28_1)|0,t=si(t,31)+(null==this.h28_1?0:Ci(this.h28_1))|0},ab.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ab))return!1;var n=t instanceof ab?t:li();return!!this.e28_1.equals(n.e28_1)&&this.f28_1===n.f28_1&&this.g28_1===n.g28_1&&this.h28_1==n.h28_1},ab.$metadata$=_i("RTCAnsweredEvent",void 0,void 0,{0:ib},void 0,Mj.prototype),ai("Companion",[Qi]),lb.prototype.c11=function(){return _b()},lb.$metadata$=ai("Companion"),hb.prototype.fg=function(){return this.i28_1},hb.prototype.ar=function(){return[xi(),Yw()]},hb.prototype.hg=function(t){var n=this.i28_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),db(o,i,u,null)},hb.prototype.j28=function(t,n){var e=this.i28_1,r=t.mj(e);r.zk(e,0,n.k28_1),!r.gl(e,1)&&n.l28_1.equals(f$())||r.al(e,1,Yw(),n.l28_1),r.nj(e)},hb.prototype.gg=function(t,n){return this.j28(t,n instanceof kw?n:li())},hb.$metadata$=ai("$serializer",[Ri]),mb.prototype.c11=function(){return $b()},mb.$metadata$=ai("Companion"),wb.prototype.fg=function(){return this.m28_1},wb.prototype.ar=function(){return[Fw(),Yw()]},wb.prototype.hg=function(t){var n=this.m28_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Fw(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Fw(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),kb(o,i,u,null)},wb.prototype.n28=function(t,n){var e=this.m28_1,r=t.mj(e);r.al(e,0,Fw(),n.o28_1),!r.gl(e,1)&&n.p28_1.equals(h$())||r.al(e,1,Yw(),n.p28_1),r.nj(e)},wb.prototype.gg=function(t,n){return this.n28(t,n instanceof qw?n:li())},wb.$metadata$=ai("$serializer",[Ri]),zb.prototype.c11=function(){return Ob()},zb.$metadata$=ai("Companion"),Sb.prototype.fg=function(){return this.q28_1},Sb.prototype.ar=function(){return[Fw(),Yw()]},Sb.prototype.hg=function(t){var n=this.q28_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Fw(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Fw(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Rb(o,i,u,null)},Sb.prototype.r28=function(t,n){var e=this.q28_1,r=t.mj(e);r.al(e,0,Fw(),n.s28_1),!r.gl(e,1)&&n.t28_1.equals(_$())||r.al(e,1,Yw(),n.t28_1),r.nj(e)},Sb.prototype.gg=function(t,n){return this.r28(t,n instanceof Cw?n:li())},Sb.$metadata$=ai("$serializer",[Ri]),Ab.prototype.c11=function(){return Bb()},Ab.$metadata$=ai("Companion"),Ib.prototype.fg=function(){return this.u28_1},Ib.prototype.ar=function(){return[Fw(),Yw()]},Ib.prototype.hg=function(t){var n=this.u28_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Fw(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Fw(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Lb(o,i,u,null)},Ib.prototype.v28=function(t,n){var e=this.u28_1,r=t.mj(e);r.al(e,0,Fw(),n.w28_1),!r.gl(e,1)&&n.x28_1.equals(y$())||r.al(e,1,Yw(),n.x28_1),r.nj(e)},Ib.prototype.gg=function(t,n){return this.v28(t,n instanceof zw?n:li())},Ib.$metadata$=ai("$serializer",[Ri]),Jb.prototype.c11=function(){return Vb()},Jb.$metadata$=ai("Companion"),Hb.prototype.fg=function(){return this.y28_1},Hb.prototype.ar=function(){return[Fw(),Yw()]},Hb.prototype.hg=function(t){var n=this.y28_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Fw(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Fw(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),Wb(o,i,u,null)},Hb.prototype.z28=function(t,n){var e=this.y28_1,r=t.mj(e);r.al(e,0,Fw(),n.a29_1),!r.gl(e,1)&&n.b29_1.equals(d$())||r.al(e,1,Yw(),n.b29_1),r.nj(e)},Hb.prototype.gg=function(t,n){return this.z28(t,n instanceof xw?n:li())},Hb.$metadata$=ai("$serializer",[Ri]),Yb.prototype.c11=function(){return tw()},Yb.$metadata$=ai("Companion"),Qb.prototype.fg=function(){return this.c29_1},Qb.prototype.ar=function(){return[Fw(),Yw()]},Qb.prototype.hg=function(t){var n=this.c29_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,Fw(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,Fw(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),ew(o,i,u,null)},Qb.prototype.d29=function(t,n){var e=this.c29_1,r=t.mj(e);r.al(e,0,Fw(),n.e29_1),!r.gl(e,1)&&n.f29_1.equals(v$())||r.al(e,1,Yw(),n.f29_1),r.nj(e)},Qb.prototype.gg=function(t,n){return this.d29(t,n instanceof Sw?n:li())},Qb.$metadata$=ai("$serializer",[Ri]),iw.prototype.c11=function(){return aw()},iw.$metadata$=ai("Companion"),sw.prototype.fg=function(){return this.g29_1},sw.prototype.ar=function(){return[tu(),Yw()]},sw.prototype.hg=function(t){var n=this.g29_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,tu(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,tu(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),pw(o,i,u,null)},sw.prototype.h29=function(t,n){var e=this.g29_1,r=t.mj(e);r.al(e,0,tu(),n.i29_1),!r.gl(e,1)&&n.j29_1.equals(g$())||r.al(e,1,Yw(),n.j29_1),r.nj(e)},sw.prototype.gg=function(t,n){return this.h29(t,n instanceof Ow?n:li())},sw.$metadata$=ai("$serializer",[Ri]),lw.prototype.c11=function(){return _w()},lw.$metadata$=ai("Companion"),hw.prototype.fg=function(){return this.k29_1},hw.prototype.ar=function(){return[r$(),Yw()]},hw.prototype.hg=function(t){var n=this.k29_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,r$(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,r$(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),dw(o,i,u,null)},hw.prototype.l29=function(t,n){var e=this.k29_1,r=t.mj(e);r.al(e,0,r$(),n.m29_1),!r.gl(e,1)&&n.n29_1.equals(m$())||r.al(e,1,Yw(),n.n29_1),r.nj(e)},hw.prototype.gg=function(t,n){return this.l29(t,n instanceof Ew?n:li())},hw.$metadata$=ai("$serializer",[Ri]),vw.prototype.c11=function(){return bw()},vw.$metadata$=ai("Companion"),mw.prototype.fg=function(){return this.o29_1},mw.prototype.ar=function(){return[a$(),Yw()]},mw.prototype.hg=function(t){var n=this.o29_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.xj(n,0,a$(),i),o|=1,u=s.xj(n,1,Yw(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.xj(n,0,a$(),i),o|=1;break;case 1:u=s.xj(n,1,Yw(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),$w(o,i,u,null)},mw.prototype.p29=function(t,n){var e=this.o29_1,r=t.mj(e);r.al(e,0,a$(),n.q29_1),!r.gl(e,1)&&n.r29_1.equals(b$())||r.al(e,1,Yw(),n.r29_1),r.nj(e)},mw.prototype.gg=function(t,n){return this.p29(t,n instanceof Rw?n:li())},mw.$metadata$=ai("$serializer",[Ri]),jw.$metadata$=ci("Body",[Yf],void 0,{0:Vw}),kw.prototype.toString=function(){return"TextBody(text="+this.k28_1+", message_type="+this.l28_1+")"},kw.prototype.hashCode=function(){var t=Ci(this.k28_1);return t=si(t,31)+this.l28_1.hashCode()|0},kw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kw))return!1;var n=t instanceof kw?t:li();return this.k28_1===n.k28_1&&!!this.l28_1.equals(n.l28_1)},kw.$metadata$=_i("TextBody",[jw],void 0,{0:_b}),qw.prototype.toString=function(){return"ImageBody(image="+this.o28_1+", message_type="+this.p28_1+")"},qw.prototype.hashCode=function(){var t=this.o28_1.hashCode();return t=si(t,31)+this.p28_1.hashCode()|0},qw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qw))return!1;var n=t instanceof qw?t:li();return!!this.o28_1.equals(n.o28_1)&&!!this.p28_1.equals(n.p28_1)},qw.$metadata$=_i("ImageBody",[jw],void 0,{0:$b}),Cw.prototype.toString=function(){return"VideoBody(video="+this.s28_1+", message_type="+this.t28_1+")"},Cw.prototype.hashCode=function(){var t=this.s28_1.hashCode();return t=si(t,31)+this.t28_1.hashCode()|0},Cw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Cw))return!1;var n=t instanceof Cw?t:li();return!!this.s28_1.equals(n.s28_1)&&!!this.t28_1.equals(n.t28_1)},Cw.$metadata$=_i("VideoBody",[jw],void 0,{0:Ob}),zw.prototype.toString=function(){return"AudioBody(audio="+this.w28_1+", message_type="+this.x28_1+")"},zw.prototype.hashCode=function(){var t=this.w28_1.hashCode();return t=si(t,31)+this.x28_1.hashCode()|0},zw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zw))return!1;var n=t instanceof zw?t:li();return!!this.w28_1.equals(n.w28_1)&&!!this.x28_1.equals(n.x28_1)},zw.$metadata$=_i("AudioBody",[jw],void 0,{0:Bb}),xw.prototype.toString=function(){return"FileBody(file="+this.a29_1+", message_type="+this.b29_1+")"},xw.prototype.hashCode=function(){var t=this.a29_1.hashCode();return t=si(t,31)+this.b29_1.hashCode()|0},xw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xw))return!1;var n=t instanceof xw?t:li();return!!this.a29_1.equals(n.a29_1)&&!!this.b29_1.equals(n.b29_1)},xw.$metadata$=_i("FileBody",[jw],void 0,{0:Vb}),Sw.prototype.toString=function(){return"VCardBody(vcard="+this.e29_1+", message_type="+this.f29_1+")"},Sw.prototype.hashCode=function(){var t=this.e29_1.hashCode();return t=si(t,31)+this.f29_1.hashCode()|0},Sw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Sw))return!1;var n=t instanceof Sw?t:li();return!!this.e29_1.equals(n.e29_1)&&!!this.f29_1.equals(n.f29_1)},Sw.$metadata$=_i("VCardBody",[jw],void 0,{0:tw}),Ow.prototype.toString=function(){return"CustomBody(custom="+this.i29_1+", message_type="+this.j29_1+")"},Ow.prototype.hashCode=function(){var t=this.i29_1.hashCode();return t=si(t,31)+this.j29_1.hashCode()|0},Ow.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ow))return!1;var n=t instanceof Ow?t:li();return!!this.i29_1.equals(n.i29_1)&&!!this.j29_1.equals(n.j29_1)},Ow.$metadata$=_i("CustomBody",[jw],void 0,{0:aw}),Ew.prototype.toString=function(){return"TemplateBody(template="+this.m29_1+", message_type="+this.n29_1+")"},Ew.prototype.hashCode=function(){var t=this.m29_1.hashCode();return t=si(t,31)+this.n29_1.hashCode()|0},Ew.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ew))return!1;var n=t instanceof Ew?t:li();return!!this.m29_1.equals(n.m29_1)&&!!this.n29_1.equals(n.n29_1)},Ew.$metadata$=_i("TemplateBody",[jw],void 0,{0:_w}),Rw.prototype.toString=function(){return"LocationBody(location="+this.q29_1+", message_type="+this.r29_1+")"},Rw.prototype.hashCode=function(){var t=this.q29_1.hashCode();return t=si(t,31)+this.r29_1.hashCode()|0},Rw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Rw))return!1;var n=t instanceof Rw?t:li();return!!this.q29_1.equals(n.q29_1)&&!!this.r29_1.equals(n.r29_1)},Rw.$metadata$=_i("LocationBody",[jw],void 0,{0:bw}),Pw.prototype.c11=function(){return Nw()},Pw.$metadata$=ai("Companion"),Aw.prototype.fg=function(){return this.s29_1},Aw.prototype.ar=function(){return[Ni(),xi(),xi(),xi(),Ai(yh()),Vw()]},Aw.prototype.hg=function(t){var n=this.s29_1,e=!0,r=0,o=0,i=0,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.rj(n,0),o|=1,u=l.wj(n,1),o|=2,s=l.wj(n,2),o|=4,a=l.wj(n,3),o|=8,c=l.zj(n,4,yh(),c),o|=16,p=l.xj(n,5,Vw(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.rj(n,0),o|=1;break;case 1:u=l.wj(n,1),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.wj(n,3),o|=8;break;case 4:c=l.zj(n,4,yh(),c),o|=16;break;case 5:p=l.xj(n,5,Vw(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),Bw(o,i,u,s,a,c,p,null)},Aw.prototype.t29=function(t,n){var e=this.s29_1,r=t.mj(e);r.uk(e,0,n.u29_1),r.zk(e,1,n.v29_1),r.zk(e,2,n.w29_1),r.zk(e,3,n.x29_1),(r.gl(e,4)||null!=n.y29_1)&&r.cl(e,4,yh(),n.y29_1),r.al(e,5,Vw(),n.z29_1),r.nj(e)},Aw.prototype.gg=function(t,n){return this.t29(t,n instanceof Mw?n:li())},Aw.$metadata$=ai("$serializer",[Ri]),Mw.prototype.c1y=function(t){var n=this.y29_1,e=null==n?null:n.g1t_1,r=null==e?null:e.l1r(),o=null==r?hx().c2a_1:r,i=this.z29_1;return i instanceof kw?new Qz(this.w29_1,t,this.x29_1,this.u29_1,new Zz(o,this.z29_1.k28_1)):i instanceof Ow?new nx(this.w29_1,t,this.x29_1,this.u29_1,new tx(o,this.z29_1.i29_1.toString())):new Tz(this.v29_1,this.u29_1,this.w29_1,t,this.x29_1)},Mw.prototype.toString=function(){return"CSMessageEvent(id="+this.u29_1+", type="+this.v29_1+", timestamp="+this.w29_1+", from="+this.x29_1+", _embedded="+this.y29_1+", body="+this.z29_1+")"},Mw.prototype.hashCode=function(){var t=this.u29_1;return t=si(t,31)+Ci(this.v29_1)|0,t=si(t,31)+Ci(this.w29_1)|0,t=si(t,31)+Ci(this.x29_1)|0,t=si(t,31)+(null==this.y29_1?0:this.y29_1.hashCode())|0,t=si(t,31)+gi(this.z29_1)|0},Mw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Mw))return!1;var n=t instanceof Mw?t:li();return this.u29_1===n.u29_1&&this.v29_1===n.v29_1&&this.w29_1===n.w29_1&&this.x29_1===n.x29_1&&!!mi(this.y29_1,n.y29_1)&&!!mi(this.z29_1,n.z29_1)},Mw.$metadata$=_i("CSMessageEvent",[Vy],void 0,{0:Nw}),ai("Companion"),Lw.prototype.fg=function(){return this.d2a_1},Lw.prototype.ar=function(){return[xi()]},Lw.prototype.hg=function(t){var n=this.d2a_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.wj(n,0),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.wj(n,0),o|=1;break;default:throw Oi(r)}return u.nj(n),Jw(o,i,null)},Lw.prototype.e2a=function(t,n){var e=this.d2a_1,r=t.mj(e);r.zk(e,0,n.f2a_1),r.nj(e)},Lw.prototype.gg=function(t,n){return this.e2a(t,n instanceof Uw?n:li())},Lw.$metadata$=ai("$serializer",[Ri]),Uw.prototype.toString=function(){return"UrlObject(url="+this.f2a_1+")"},Uw.prototype.hashCode=function(){return Ci(this.f2a_1)},Uw.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Uw))return!1;var n=t instanceof Uw?t:li();return this.f2a_1===n.f2a_1},Uw.$metadata$=_i("UrlObject",void 0,void 0,{0:Fw}),Hw.prototype.u10=function(t){var n;switch(Qw(au(Bi(su(t).y10("message_type"))).b11().toUpperCase()).e4_1){case 0:n=fb().c11();break;case 1:n=bb().c11();break;case 2:n=xb().c11();break;case 3:n=Nb().c11();break;case 4:n=Ub().c11();break;case 5:n=Zb().c11();break;case 6:n=uw().c11();break;case 7:n=fw().c11();break;case 8:n=gw().c11();break;default:pu()}return n},Hw.$metadata$=ai("CSMessageEventBodySerializer",void 0,void 0,void 0,void 0,ru.prototype),Ww.prototype.c11=function(){return this.i2a_1.s1()},Ww.prototype.ur=function(t){return this.c11()},Ww.$metadata$=ai("Companion",[Qi]),Xw.prototype.fg=function(){return this.j2a_1},Xw.prototype.ar=function(){return[]},Xw.prototype.hg=function(t){return Zw()[t.ij(this.j2a_1)]},Xw.prototype.k2a=function(t,n){t.pk(this.j2a_1,n.e4_1)},Xw.prototype.gg=function(t,n){return this.k2a(t,n instanceof n$?n:li())},Xw.$metadata$=ai("$serializer",[Ri]),n$.$metadata$=_i("CSMessageType",void 0,void 0,{0:Yw},void 0,uu.prototype),e$.prototype.fg=function(){return this.l2a_1},e$.prototype.ar=function(){return[xi(),new Wi(xi())]},e$.prototype.hg=function(t){var n=this.l2a_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,new Wi(xi()),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,new Wi(xi()),u),o|=2;break;default:throw Oi(r)}return s.nj(n),i$(o,i,u,null)},e$.prototype.m2a=function(t,n){var e=this.l2a_1,r=t.mj(e);r.zk(e,0,n.n2a_1),r.al(e,1,new Wi(xi()),n.o2a_1),r.nj(e)},e$.prototype.gg=function(t,n){return this.m2a(t,n instanceof u$?n:li())},e$.$metadata$=ai("$serializer",[Ri]),u$.prototype.toString=function(){return"TemplateObject(name="+this.n2a_1+", parameters="+this.o2a_1+")"},u$.prototype.hashCode=function(){var t=Ci(this.n2a_1);return t=si(t,31)+gi(this.o2a_1)|0},u$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof u$))return!1;var n=t instanceof u$?t:li();return this.n2a_1===n.n2a_1&&!!mi(this.o2a_1,n.o2a_1)},u$.$metadata$=_i("TemplateObject",void 0,void 0,{0:r$}),s$.prototype.fg=function(){return this.p2a_1},s$.prototype.ar=function(){return[xi(),xi(),xi(),xi()]},s$.prototype.hg=function(t){var n=this.p2a_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.wj(n,1),o|=2,s=c.wj(n,2),o|=4,a=c.wj(n,3),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.wj(n,1),o|=2;break;case 2:s=c.wj(n,2),o|=4;break;case 3:a=c.wj(n,3),o|=8;break;default:throw Oi(r)}return c.nj(n),p$(o,i,u,s,a,null)},s$.prototype.q2a=function(t,n){var e=this.p2a_1,r=t.mj(e);r.zk(e,0,n.r2a_1),r.zk(e,1,n.s2a_1),r.zk(e,2,n.t2a_1),r.zk(e,3,n.u2a_1),r.nj(e)},s$.prototype.gg=function(t,n){return this.q2a(t,n instanceof l$?n:li())},s$.$metadata$=ai("$serializer",[Ri]),l$.prototype.toString=function(){return"LocationObject(longitude="+this.r2a_1+", latitude="+this.s2a_1+", name="+this.t2a_1+", address="+this.u2a_1+")"},l$.prototype.hashCode=function(){var t=Ci(this.r2a_1);return t=si(t,31)+Ci(this.s2a_1)|0,t=si(t,31)+Ci(this.t2a_1)|0,t=si(t,31)+Ci(this.u2a_1)|0},l$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof l$))return!1;var n=t instanceof l$?t:li();return this.r2a_1===n.r2a_1&&this.s2a_1===n.s2a_1&&this.t2a_1===n.t2a_1&&this.u2a_1===n.u2a_1},l$.$metadata$=_i("LocationObject",void 0,void 0,{0:a$}),w$.prototype.toString=function(){return"TimeoutAction(callbackAction="+this.v2a_1+", delay="+this.w2a_1+")"},w$.prototype.hashCode=function(){var t=gi(this.v2a_1);return t=si(t,31)+this.w2a_1|0},w$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof w$))return!1;var n=t instanceof w$?t:li();return!!mi(this.v2a_1,n.v2a_1)&&this.w2a_1===n.w2a_1},w$.$metadata$=_i("TimeoutAction",[oB]),$$.prototype.q1m=function(){return this.x2a_1},$$.prototype.toString=function(){return"MediaDisable(id="+this.x2a_1+")"},$$.prototype.hashCode=function(){return Ci(this.x2a_1)},$$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof $$))return!1;var n=t instanceof $$?t:li();return this.x2a_1===n.x2a_1},$$.$metadata$=_i("MediaDisable",[O$]),j$.prototype.q1m=function(){return this.y2a_1},j$.prototype.toString=function(){return"Mute(id="+this.y2a_1+")"},j$.prototype.hashCode=function(){return Ci(this.y2a_1)},j$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof j$))return!1;var n=t instanceof j$?t:li();return this.y2a_1===n.y2a_1},j$.$metadata$=_i("Mute",[O$]),k$.prototype.q1m=function(){return this.z2a_1},k$.prototype.toString=function(){return"Unmute(id="+this.z2a_1+")"},k$.prototype.hashCode=function(){return Ci(this.z2a_1)},k$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof k$))return!1;var n=t instanceof k$?t:li();return this.z2a_1===n.z2a_1},k$.$metadata$=_i("Unmute",[O$]),q$.prototype.q1m=function(){return this.a2b_1},q$.prototype.toString=function(){return"EnableEarmuff(id="+this.a2b_1+")"},q$.prototype.hashCode=function(){return Ci(this.a2b_1)},q$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof q$))return!1;var n=t instanceof q$?t:li();return this.a2b_1===n.a2b_1},q$.$metadata$=_i("EnableEarmuff",[O$]),C$.prototype.q1m=function(){return this.b2b_1},C$.prototype.toString=function(){return"DisableEarmuff(id="+this.b2b_1+")"},C$.prototype.hashCode=function(){return Ci(this.b2b_1)},C$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof C$))return!1;var n=t instanceof C$?t:li();return this.b2b_1===n.b2b_1},C$.$metadata$=_i("DisableEarmuff",[O$]),z$.prototype.q1m=function(){return this.c2b_1},z$.prototype.toString=function(){return"MediaConnectionStatusUpdate(id="+this.c2b_1+", status="+this.d2b_1+")"},z$.prototype.hashCode=function(){var t=Ci(this.c2b_1);return t=si(t,31)+this.d2b_1.hashCode()|0},z$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof z$))return!1;var n=t instanceof z$?t:li();return this.c2b_1===n.c2b_1&&!!this.d2b_1.equals(n.d2b_1)},z$.$metadata$=_i("MediaConnectionStatusUpdate",[O$]),x$.prototype.q1m=function(){return this.e2b_1},x$.prototype.toString=function(){return"MediaOffer(id="+this.e2b_1+", sdp="+this.f2b_1+")"},x$.prototype.hashCode=function(){var t=Ci(this.e2b_1);return t=si(t,31)+Ci(this.f2b_1)|0},x$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof x$))return!1;var n=t instanceof x$?t:li();return this.e2b_1===n.e2b_1&&this.f2b_1===n.f2b_1},x$.$metadata$=_i("MediaOffer",[O$]),S$.prototype.q1m=function(){return this.g2b_1},S$.prototype.toString=function(){return"MediaAnswer(id="+this.g2b_1+", sdp="+this.h2b_1+")"},S$.prototype.hashCode=function(){var t=Ci(this.g2b_1);return t=si(t,31)+Ci(this.h2b_1)|0},S$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof S$))return!1;var n=t instanceof S$?t:li();return this.g2b_1===n.g2b_1&&this.h2b_1===n.h2b_1},S$.$metadata$=_i("MediaAnswer",[O$]),O$.$metadata$=ci("MediaEvent",[oB]),E$.prototype.toString=function(){return"UnknownSocketEvent(body="+this.i2b_1+", type="+this.j2b_1+")"},E$.prototype.hashCode=function(){var t=Ci(this.i2b_1);return t=si(t,31)+Ci(this.j2b_1)|0},E$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof E$))return!1;var n=t instanceof E$?t:li();return this.i2b_1===n.i2b_1&&this.j2b_1===n.j2b_1},E$.$metadata$=_i("UnknownSocketEvent",[oB]),P$.$metadata$=_i("SocketConnectionStatus",void 0,void 0,void 0,void 0,uu.prototype),A$.$metadata$=_i("SocketConnectionFailedReason",void 0,void 0,void 0,void 0,uu.prototype),B$.prototype.r2b=function(){return this.p2b_1},B$.prototype.g1=function(){return this.q2b_1},B$.prototype.toString=function(){return"SessionFailedInternalError(code="+this.p2b_1+", message="+this.q2b_1+")"},B$.prototype.hashCode=function(){var t=Ci(this.p2b_1);return t=si(t,31)+Ci(this.q2b_1)|0},B$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof B$))return!1;var n=t instanceof B$?t:li();return this.p2b_1===n.p2b_1&&this.q2b_1===n.q2b_1},B$.$metadata$=_i("SessionFailedInternalError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(B$.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),J$.prototype.q1m=function(){return this.v2b_1},J$.prototype.i1m=function(){return this.w2b_1},J$.prototype.z2b=function(){return this.x2b_1},J$.prototype.a2c=function(){return this.y2b_1},J$.$metadata$=ai("None",void 0,void 0,void 0,void 0,K$.prototype),H$.prototype.q1m=function(){return this.b2c_1},H$.prototype.i1m=function(){return this.c2c_1},H$.prototype.z2b=function(){return this.d2c_1},H$.prototype.a2c=function(){return this.e2c_1},H$.prototype.toString=function(){return"Active(id="+this.b2c_1+", user="+this.c2c_1+", reason="+this.d2c_1+", apiKey="+this.e2c_1+")"},H$.prototype.hashCode=function(){var t=Ci(this.b2c_1);return t=si(t,31)+this.c2c_1.hashCode()|0,t=si(t,31)+(null==this.d2c_1?0:this.d2c_1.hashCode())|0,t=si(t,31)+Ci(this.e2c_1)|0},H$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof H$))return!1;var n=t instanceof H$?t:li();return this.b2c_1===n.b2c_1&&!!this.c2c_1.equals(n.c2c_1)&&!!mi(this.d2c_1,n.d2c_1)&&this.e2c_1===n.e2c_1},H$.$metadata$=_i("Active",void 0,void 0,void 0,void 0,K$.prototype),V$.prototype.q1m=function(){return this.f2c_1},V$.prototype.i1m=function(){return this.g2c_1},V$.prototype.z2b=function(){return this.h2c_1},V$.prototype.a2c=function(){return this.i2c_1},V$.prototype.toString=function(){return"Inactive(id="+this.f2c_1+", user="+this.g2c_1+", reason="+this.h2c_1+", apiKey="+this.i2c_1+")"},V$.prototype.hashCode=function(){var t=null==this.f2c_1?0:Ci(this.f2c_1);return t=si(t,31)+(null==this.g2c_1?0:this.g2c_1.hashCode())|0,t=si(t,31)+(null==this.h2c_1?0:this.h2c_1.hashCode())|0,t=si(t,31)+(null==this.i2c_1?0:Ci(this.i2c_1))|0},V$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof V$))return!1;var n=t instanceof V$?t:li();return this.f2c_1==n.f2c_1&&!!mi(this.g2c_1,n.g2c_1)&&!!mi(this.h2c_1,n.h2c_1)&&this.i2c_1==n.i2c_1},V$.$metadata$=_i("Inactive",void 0,void 0,void 0,void 0,K$.prototype),K$.$metadata$=_i("SessionStatus"),X$.prototype.r2b=function(){return this.o2c_1},X$.prototype.g1=function(){return this.p2c_1},X$.prototype.toString=function(){return"SessionNoActiveSessionError(code="+this.o2c_1+", message="+this.p2c_1+")"},X$.prototype.hashCode=function(){var t=Ci(this.o2c_1);return t=si(t,31)+Ci(this.p2c_1)|0},X$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof X$))return!1;var n=t instanceof X$?t:li();return this.o2c_1===n.o2c_1&&this.p2c_1===n.p2c_1},X$.$metadata$=_i("SessionNoActiveSessionError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(X$.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Y$.prototype.s2c=function(){return this.q2c_1},Y$.prototype.toString=function(){return"SocketConnect(token="+this.q2c_1+", sessionId="+this.r2c_1+")"},Y$.prototype.hashCode=function(){var t=Ci(this.q2c_1);return t=si(t,31)+(null==this.r2c_1?0:Ci(this.r2c_1))|0},Y$.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Y$))return!1;var n=t instanceof Y$?t:li();return this.q2c_1===n.q2c_1&&this.r2c_1==n.r2c_1},Y$.$metadata$=_i("SocketConnect",[aj]),Z$.prototype.t2c=function(){return iN(null,1,null).v2c()},Z$.$metadata$=ai("DeleteSession",[cj]),tj.$metadata$=ai("SocketDisconnect",[aj]),ej.prototype.s2c=function(){return this.y2c_1},ej.prototype.toString=function(){return"SocketSetSession(sessionId="+this.x2c_1+", token="+this.y2c_1+")"},ej.prototype.hashCode=function(){var t=Ci(this.x2c_1);return t=si(t,31)+Ci(this.y2c_1)|0},ej.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ej))return!1;var n=t instanceof ej?t:li();return this.x2c_1===n.x2c_1&&this.y2c_1===n.y2c_1},ej.$metadata$=_i("SocketSetSession",[aj]),rj.prototype.u1c=function(){return this.z2c_1},rj.prototype.toString=function(){return"SocketConnectionStatusWrapper(state="+this.z2c_1+", timestamp="+Ii(this.a2d_1)+")"},rj.prototype.hashCode=function(){var t=this.z2c_1.hashCode();return t=si(t,31)+(null==this.a2d_1?0:gi(this.a2d_1))|0},rj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rj))return!1;var n=t instanceof rj?t:li();return!!this.z2c_1.equals(n.z2c_1)&&!!mi(this.a2d_1,n.a2d_1)},rj.$metadata$=_i("SocketConnectionStatusWrapper",[oB]),oj.prototype.d2d=function(){return this.b2d_1},oj.prototype.e2d=function(){return this.c2d_1},oj.prototype.toString=function(){return"MetricsSuccessfullySent(retryNumber="+this.b2d_1+", timeOfFirstRetry="+this.c2d_1+")"},oj.prototype.hashCode=function(){var t=null==this.b2d_1?0:this.b2d_1;return t=si(t,31)+(null==this.c2d_1?0:this.c2d_1)|0},oj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof oj))return!1;var n=t instanceof oj?t:li();return this.b2d_1==n.b2d_1&&this.c2d_1==n.c2d_1},oj.$metadata$=_i("MetricsSuccessfullySent",[oB]),uj.prototype.r2b=function(){return this.s2b_1},uj.prototype.g1=function(){return this.t2b_1},uj.prototype.h1=function(){return this.u2b_1},uj.$metadata$=_i("SessionError",void 0,void 0,void 0,void 0,Yi.prototype),Object.defineProperty(uj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Object.defineProperty(uj.prototype,"cause",{configurable:!0,get:function(){return this.h1()}}),sj.prototype.r2b=function(){return this.i2d_1},sj.prototype.g1=function(){return this.j2d_1},sj.$metadata$=_i("SessionConnectError",void 0,void 0,void 0,void 0,uj.prototype),Object.defineProperty(sj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),aj.$metadata$=ci("SocketActions",[oB]),cj.$metadata$=ci("SocketEmitAction",[oB]),fj.prototype.r2b=function(){return this.n2d_1},fj.prototype.g1=function(){return this.o2d_1},fj.prototype.toString=function(){return"SessionEmptyTokenError(code="+this.n2d_1+", message="+this.o2d_1+")"},fj.prototype.hashCode=function(){var t=Ci(this.n2d_1);return t=si(t,31)+Ci(this.o2d_1)|0},fj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof fj))return!1;var n=t instanceof fj?t:li();return this.n2d_1===n.n2d_1&&this.o2d_1===n.o2d_1},fj.$metadata$=_i("SessionEmptyTokenError",void 0,void 0,void 0,void 0,uj.prototype),Object.defineProperty(fj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),yj.prototype.r2b=function(){return this.u2d_1},yj.prototype.g1=function(){return this.v2d_1},yj.prototype.toString=function(){return"AuthorizationError(code="+this.u2d_1+", message="+this.v2d_1+")"},yj.prototype.hashCode=function(){var t=Ci(this.u2d_1);return t=si(t,31)+Ci(this.v2d_1)|0},yj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof yj))return!1;var n=t instanceof yj?t:li();return this.u2d_1===n.u2d_1&&this.v2d_1===n.v2d_1},yj.$metadata$=_i("AuthorizationError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(yj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),gj.prototype.r2b=function(){return this.b2e_1},gj.prototype.g1=function(){return this.c2e_1},gj.prototype.toString=function(){return"SessionExpiredTokenError(code="+this.b2e_1+", message="+this.c2e_1+")"},gj.prototype.hashCode=function(){var t=Ci(this.b2e_1);return t=si(t,31)+Ci(this.c2e_1)|0},gj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gj))return!1;var n=t instanceof gj?t:li();return this.b2e_1===n.b2e_1&&this.c2e_1===n.c2e_1},gj.$metadata$=_i("SessionExpiredTokenError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(gj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),wj.prototype.r2b=function(){return this.i2e_1},wj.prototype.g1=function(){return this.j2e_1},wj.prototype.toString=function(){return"SessionInvalidError(code="+this.i2e_1+", message="+this.j2e_1+")"},wj.prototype.hashCode=function(){var t=Ci(this.i2e_1);return t=si(t,31)+Ci(this.j2e_1)|0},wj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof wj))return!1;var n=t instanceof wj?t:li();return this.i2e_1===n.i2e_1&&this.j2e_1===n.j2e_1},wj.$metadata$=_i("SessionInvalidError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(wj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),kj.prototype.r2b=function(){return this.p2e_1},kj.prototype.g1=function(){return this.q2e_1},kj.prototype.toString=function(){return"SessionInvalidTokenError(code="+this.p2e_1+", message="+this.q2e_1+")"},kj.prototype.hashCode=function(){var t=Ci(this.p2e_1);return t=si(t,31)+Ci(this.q2e_1)|0},kj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kj))return!1;var n=t instanceof kj?t:li();return this.p2e_1===n.p2e_1&&this.q2e_1===n.q2e_1},kj.$metadata$=_i("SessionInvalidTokenError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(kj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),zj.prototype.r2b=function(){return this.w2e_1},zj.prototype.g1=function(){return this.x2e_1},zj.prototype.toString=function(){return"SessionMaxOpenSessions(code="+this.w2e_1+", message="+this.x2e_1+")"},zj.prototype.hashCode=function(){var t=Ci(this.w2e_1);return t=si(t,31)+Ci(this.x2e_1)|0},zj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zj))return!1;var n=t instanceof zj?t:li();return this.w2e_1===n.w2e_1&&this.x2e_1===n.x2e_1},zj.$metadata$=_i("SessionMaxOpenSessions",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(zj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Oj.prototype.r2b=function(){return this.d2f_1},Oj.prototype.g1=function(){return this.e2f_1},Oj.prototype.toString=function(){return"SessionSocketTransportError(code="+this.d2f_1+", message="+this.e2f_1+")"},Oj.prototype.hashCode=function(){var t=Ci(this.d2f_1);return t=si(t,31)+Ci(this.e2f_1)|0},Oj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Oj))return!1;var n=t instanceof Oj?t:li();return this.d2f_1===n.d2f_1&&this.e2f_1===n.e2f_1},Oj.$metadata$=_i("SessionSocketTransportError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(Oj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Pj.prototype.r2b=function(){return this.k2f_1},Pj.prototype.g1=function(){return this.l2f_1},Pj.prototype.toString=function(){return"SessionTimeoutError(code="+this.k2f_1+", message="+this.l2f_1+")"},Pj.prototype.hashCode=function(){var t=Ci(this.k2f_1);return t=si(t,31)+Ci(this.l2f_1)|0},Pj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Pj))return!1;var n=t instanceof Pj?t:li();return this.k2f_1===n.k2f_1&&this.l2f_1===n.l2f_1},Pj.$metadata$=_i("SessionTimeoutError",void 0,void 0,void 0,void 0,sj.prototype),Object.defineProperty(Pj.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Tj.$metadata$=ai("SocketConnectEmptyTokenError",[aj]),Ij.prototype.c11=function(){return this.m2f_1.s1()},Ij.prototype.ur=function(t){return this.c11()},Ij.$metadata$=ai("Companion",[Qi]),Mj.$metadata$=_i("SocketEvent",[oB],void 0,{0:Bj}),ai("Companion"),Dj.prototype.fg=function(){return this.n2f_1},Dj.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},Dj.prototype.hg=function(t){var n=this.n2f_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Hj(o,i,u,s,a,null)},Dj.prototype.o2f=function(t,n){var e=this.n2f_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.q2f_1)&&r.cl(e,1,Ni(),n.q2f_1),(r.gl(e,2)||null!=n.r2f_1)&&r.cl(e,2,xi(),n.r2f_1),(r.gl(e,3)||null!=n.s2f_1)&&r.cl(e,3,xi(),n.s2f_1),r.nj(e)},Dj.prototype.gg=function(t,n){return this.o2f(t,n instanceof Vj?n:li())},Dj.$metadata$=ai("$serializer",[Ri]),Vj.prototype.q1m=function(){return this.q2f_1},Vj.prototype.r1h=function(){return this.r2f_1},Vj.prototype.toString=function(){return"SessionUpdateTokenSuccessEvent(body="+pi()+", id="+this.q2f_1+", cid="+this.r2f_1+", from="+this.s2f_1+")"},Vj.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.q2f_1?0:this.q2f_1)|0,t=si(t,31)+(null==this.r2f_1?0:Ci(this.r2f_1))|0,t=si(t,31)+(null==this.s2f_1?0:Ci(this.s2f_1))|0},Vj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Vj))return!1;var n=t instanceof Vj?t:li();return!!mi(pi(),pi())&&this.q2f_1==n.q2f_1&&this.r2f_1==n.r2f_1&&this.s2f_1==n.s2f_1},Vj.$metadata$=_i("SessionUpdateTokenSuccessEvent",void 0,void 0,{0:Jj},void 0,Mj.prototype),ai("Companion"),Gj.prototype.fg=function(){return this.t2f_1},Gj.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},Gj.prototype.hg=function(t){var n=this.t2f_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Zj(o,i,u,s,a,null)},Gj.prototype.u2f=function(t,n){var e=this.t2f_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.w2f_1)&&r.cl(e,1,Ni(),n.w2f_1),(r.gl(e,2)||null!=n.x2f_1)&&r.cl(e,2,xi(),n.x2f_1),(r.gl(e,3)||null!=n.y2f_1)&&r.cl(e,3,xi(),n.y2f_1),r.nj(e)},Gj.prototype.gg=function(t,n){return this.u2f(t,n instanceof Qj?n:li())},Gj.$metadata$=ai("$serializer",[Ri]),Qj.prototype.q1m=function(){return this.w2f_1},Qj.prototype.r1h=function(){return this.x2f_1},Qj.prototype.toString=function(){return"SessionLogoutSuccessEvent(body="+pi()+", id="+this.w2f_1+", cid="+this.x2f_1+", from="+this.y2f_1+")"},Qj.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.w2f_1?0:this.w2f_1)|0,t=si(t,31)+(null==this.x2f_1?0:Ci(this.x2f_1))|0,t=si(t,31)+(null==this.y2f_1?0:Ci(this.y2f_1))|0},Qj.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qj))return!1;var n=t instanceof Qj?t:li();return!!mi(pi(),pi())&&this.w2f_1==n.w2f_1&&this.x2f_1==n.x2f_1&&this.y2f_1==n.y2f_1},Qj.$metadata$=_i("SessionLogoutSuccessEvent",void 0,void 0,{0:Xj},void 0,Mj.prototype),ai("Companion"),ek.prototype.fg=function(){return this.z2f_1},ek.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},ek.prototype.hg=function(t){var n=this.z2f_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),ik(o,i,u,s,a,null)},ek.prototype.a2g=function(t,n){var e=this.z2f_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.c2g_1)&&r.cl(e,1,Ni(),n.c2g_1),(r.gl(e,2)||null!=n.d2g_1)&&r.cl(e,2,xi(),n.d2g_1),(r.gl(e,3)||null!=n.e2g_1)&&r.cl(e,3,xi(),n.e2g_1),r.nj(e)},ek.prototype.gg=function(t,n){return this.a2g(t,n instanceof uk?n:li())},ek.$metadata$=ai("$serializer",[Ri]),uk.prototype.q1m=function(){return this.c2g_1},uk.prototype.r1h=function(){return this.d2g_1},uk.prototype.toString=function(){return"SessionTerminatedEvent(body="+pi()+", id="+this.c2g_1+", cid="+this.d2g_1+", from="+this.e2g_1+")"},uk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.c2g_1?0:this.c2g_1)|0,t=si(t,31)+(null==this.d2g_1?0:Ci(this.d2g_1))|0,t=si(t,31)+(null==this.e2g_1?0:Ci(this.e2g_1))|0},uk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof uk))return!1;var n=t instanceof uk?t:li();return!!mi(pi(),pi())&&this.c2g_1==n.c2g_1&&this.d2g_1==n.d2g_1&&this.e2g_1==n.e2g_1},uk.$metadata$=_i("SessionTerminatedEvent",void 0,void 0,{0:rk},void 0,Mj.prototype),ai("Companion"),ck.prototype.fg=function(){return this.f2g_1},ck.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},ck.prototype.hg=function(t){var n=this.f2g_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),fk(o,i,u,s,a,null)},ck.prototype.g2g=function(t,n){var e=this.f2g_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.i2g_1)&&r.cl(e,1,Ni(),n.i2g_1),(r.gl(e,2)||null!=n.j2g_1)&&r.cl(e,2,xi(),n.j2g_1),(r.gl(e,3)||null!=n.k2g_1)&&r.cl(e,3,xi(),n.k2g_1),r.nj(e)},ck.prototype.gg=function(t,n){return this.g2g(t,n instanceof hk?n:li())},ck.$metadata$=ai("$serializer",[Ri]),hk.prototype.q1m=function(){return this.i2g_1},hk.prototype.r1h=function(){return this.j2g_1},hk.prototype.toString=function(){return"SessionInvalidEvent(body="+pi()+", id="+this.i2g_1+", cid="+this.j2g_1+", from="+this.k2g_1+")"},hk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.i2g_1?0:this.i2g_1)|0,t=si(t,31)+(null==this.j2g_1?0:Ci(this.j2g_1))|0,t=si(t,31)+(null==this.k2g_1?0:Ci(this.k2g_1))|0},hk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hk))return!1;var n=t instanceof hk?t:li();return!!mi(pi(),pi())&&this.i2g_1==n.i2g_1&&this.j2g_1==n.j2g_1&&this.k2g_1==n.k2g_1},hk.$metadata$=_i("SessionInvalidEvent",void 0,void 0,{0:pk},void 0,Mj.prototype),ai("Companion"),dk.prototype.fg=function(){return this.l2g_1},dk.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},dk.prototype.hg=function(t){var n=this.l2g_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),mk(o,i,u,s,a,null)},dk.prototype.m2g=function(t,n){var e=this.l2g_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.o2g_1)&&r.cl(e,1,Ni(),n.o2g_1),(r.gl(e,2)||null!=n.p2g_1)&&r.cl(e,2,xi(),n.p2g_1),(r.gl(e,3)||null!=n.q2g_1)&&r.cl(e,3,xi(),n.q2g_1),r.nj(e)},dk.prototype.gg=function(t,n){return this.m2g(t,n instanceof bk?n:li())},dk.$metadata$=ai("$serializer",[Ri]),bk.prototype.q1m=function(){return this.o2g_1},bk.prototype.r1h=function(){return this.p2g_1},bk.prototype.toString=function(){return"SessionExpiredTokenEvent(body="+pi()+", id="+this.o2g_1+", cid="+this.p2g_1+", from="+this.q2g_1+")"},bk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.o2g_1?0:this.o2g_1)|0,t=si(t,31)+(null==this.p2g_1?0:Ci(this.p2g_1))|0,t=si(t,31)+(null==this.q2g_1?0:Ci(this.q2g_1))|0},bk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bk))return!1;var n=t instanceof bk?t:li();return!!mi(pi(),pi())&&this.o2g_1==n.o2g_1&&this.p2g_1==n.p2g_1&&this.q2g_1==n.q2g_1},bk.$metadata$=_i("SessionExpiredTokenEvent",void 0,void 0,{0:vk},void 0,Mj.prototype),ai("Companion"),jk.prototype.fg=function(){return this.r2g_1},jk.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},jk.prototype.hg=function(t){var n=this.r2g_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Ck(o,i,u,s,a,null)},jk.prototype.s2g=function(t,n){var e=this.r2g_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.u2g_1)&&r.cl(e,1,Ni(),n.u2g_1),(r.gl(e,2)||null!=n.v2g_1)&&r.cl(e,2,xi(),n.v2g_1),(r.gl(e,3)||null!=n.w2g_1)&&r.cl(e,3,xi(),n.w2g_1),r.nj(e)},jk.prototype.gg=function(t,n){return this.s2g(t,n instanceof zk?n:li())},jk.$metadata$=ai("$serializer",[Ri]),zk.prototype.q1m=function(){return this.u2g_1},zk.prototype.r1h=function(){return this.v2g_1},zk.prototype.toString=function(){return"SessionInvalidTokenEvent(body="+pi()+", id="+this.u2g_1+", cid="+this.v2g_1+", from="+this.w2g_1+")"},zk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.u2g_1?0:this.u2g_1)|0,t=si(t,31)+(null==this.v2g_1?0:Ci(this.v2g_1))|0,t=si(t,31)+(null==this.w2g_1?0:Ci(this.w2g_1))|0},zk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zk))return!1;var n=t instanceof zk?t:li();return!!mi(pi(),pi())&&this.u2g_1==n.u2g_1&&this.v2g_1==n.v2g_1&&this.w2g_1==n.w2g_1},zk.$metadata$=_i("SessionInvalidTokenEvent",void 0,void 0,{0:kk},void 0,Mj.prototype),ai("Companion"),Ok.prototype.fg=function(){return this.x2g_1},Ok.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},Ok.prototype.hg=function(t){var n=this.x2g_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Pk(o,i,u,s,a,null)},Ok.prototype.y2g=function(t,n){var e=this.x2g_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.a2h_1)&&r.cl(e,1,Ni(),n.a2h_1),(r.gl(e,2)||null!=n.b2h_1)&&r.cl(e,2,xi(),n.b2h_1),(r.gl(e,3)||null!=n.c2h_1)&&r.cl(e,3,xi(),n.c2h_1),r.nj(e)},Ok.prototype.gg=function(t,n){return this.y2g(t,n instanceof Tk?n:li())},Ok.$metadata$=ai("$serializer",[Ri]),Tk.prototype.q1m=function(){return this.a2h_1},Tk.prototype.r1h=function(){return this.b2h_1},Tk.prototype.toString=function(){return"SessionMaxOpenEvent(body="+pi()+", id="+this.a2h_1+", cid="+this.b2h_1+", from="+this.c2h_1+")"},Tk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.a2h_1?0:this.a2h_1)|0,t=si(t,31)+(null==this.b2h_1?0:Ci(this.b2h_1))|0,t=si(t,31)+(null==this.c2h_1?0:Ci(this.c2h_1))|0},Tk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Tk))return!1;var n=t instanceof Tk?t:li();return!!mi(pi(),pi())&&this.a2h_1==n.a2h_1&&this.b2h_1==n.b2h_1&&this.c2h_1==n.c2h_1},Tk.$metadata$=_i("SessionMaxOpenEvent",void 0,void 0,{0:Ek},void 0,Mj.prototype),ai("Companion"),Ik.prototype.fg=function(){return this.d2h_1},Ik.prototype.ar=function(){return[vu(),Ai(Ni()),Ai(xi()),Ai(xi())]},Ik.prototype.hg=function(t){var n=this.d2h_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.xj(n,0,vu(),i),o|=1,u=c.zj(n,1,Ni(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.zj(n,3,xi(),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.xj(n,0,vu(),i),o|=1;break;case 1:u=c.zj(n,1,Ni(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.zj(n,3,xi(),a),o|=8;break;default:throw Oi(r)}return c.nj(n),Lk(o,i,u,s,a,null)},Ik.prototype.e2h=function(t,n){var e=this.d2h_1,r=t.mj(e);if(r.gl(e,0)||!mi(pi(),pi())){var o=vu();r.al(e,0,o,pi())}(r.gl(e,1)||null!=n.g2h_1)&&r.cl(e,1,Ni(),n.g2h_1),(r.gl(e,2)||null!=n.h2h_1)&&r.cl(e,2,xi(),n.h2h_1),(r.gl(e,3)||null!=n.i2h_1)&&r.cl(e,3,xi(),n.i2h_1),r.nj(e)},Ik.prototype.gg=function(t,n){return this.e2h(t,n instanceof Fk?n:li())},Ik.$metadata$=ai("$serializer",[Ri]),Fk.prototype.q1m=function(){return this.g2h_1},Fk.prototype.r1h=function(){return this.h2h_1},Fk.prototype.toString=function(){return"AuthorizationErrorEvent(body="+pi()+", id="+this.g2h_1+", cid="+this.h2h_1+", from="+this.i2h_1+")"},Fk.prototype.hashCode=function(){var t=gi(pi());return t=si(t,31)+(null==this.g2h_1?0:this.g2h_1)|0,t=si(t,31)+(null==this.h2h_1?0:Ci(this.h2h_1))|0,t=si(t,31)+(null==this.i2h_1?0:Ci(this.i2h_1))|0},Fk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fk))return!1;var n=t instanceof Fk?t:li();return!!mi(pi(),pi())&&this.g2h_1==n.g2h_1&&this.h2h_1==n.h2h_1&&this.i2h_1==n.i2h_1},Fk.$metadata$=_i("AuthorizationErrorEvent",void 0,void 0,{0:Bk},void 0,Mj.prototype),Dk.prototype.n2h=function(){return this.j2h_1},Dk.prototype.z2b=function(){return this.k2h_1},Dk.prototype.f1q=function(){return this.l2h_1},Dk.prototype.d2d=function(){return this.m2h_1},Dk.prototype.toString=function(){return"SocketStatus(status="+this.j2h_1+", reason="+this.k2h_1+", timestamp="+Ii(this.l2h_1)+", retryNumber="+this.m2h_1+")"},Dk.prototype.hashCode=function(){var t=this.j2h_1.hashCode();return t=si(t,31)+(null==this.k2h_1?0:this.k2h_1.hashCode())|0,t=si(t,31)+(null==this.l2h_1?0:gi(this.l2h_1))|0,t=si(t,31)+(null==this.m2h_1?0:this.m2h_1)|0},Dk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Dk))return!1;var n=t instanceof Dk?t:li();return!!this.j2h_1.equals(n.j2h_1)&&!!mi(this.k2h_1,n.k2h_1)&&!!mi(this.l2h_1,n.l2h_1)&&this.m2h_1==n.m2h_1},Dk.$metadata$=_i("SocketStatus",[oB]),Jk.prototype.p2h=function(){return this.o2h_1},Jk.prototype.toString=function(){return"SessionTimerEvent(originalAction="+this.o2h_1+")"},Jk.prototype.hashCode=function(){return gi(this.o2h_1)},Jk.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Jk))return!1;var n=t instanceof Jk?t:li();return!!mi(this.o2h_1,n.o2h_1)},Jk.$metadata$=_i("SessionTimerEvent",[oB]),Yk.$metadata$=ci("ChatClientListener"),Zk.$metadata$=ci("ChatAPI"),tq.prototype.q2h=function(t){var n=this.r2h_1.t2h_1;null==n||n.q2h(t)},tq.$metadata$=_i(void 0,[mC]),hq.prototype.c1b=function(t){this.t2h_1=t},hq.prototype.g1c=function(t,n,e){var r;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?r=!0:(e(aC(G$(null,null,3,null)),null),r=null),null==r)return pi();var o=new Op(t,n);this.s2h_1.j1d(new nB(o,uB(null,null,nq(e),3,null)))},hq.prototype.h1c=function(t,n){var e,r=Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1();r instanceof H$?e=r.c2c_1:(n(aC(G$(null,null,3,null)),null),e=null);var o=e;if(null==o)return pi();var i=o,u=new nl(t,i.j2i_1,i.k2i_1);this.s2h_1.j1d(new nB(u,uB(null,null,eq(n),3,null)))},hq.prototype.i1c=function(t,n,e){var r;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?r=!0:(e(aC(G$(null,null,3,null)),null),r=null),null==r)return pi();var o=new Nl(t,n);this.s2h_1.j1d(new nB(o,uB(null,null,rq(e),3,null)))},hq.prototype.j1c=function(t,n){var e;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?e=!0:(n(aC(G$(null,null,3,null))),e=null),null==e)return pi();var r=new _p(t);this.s2h_1.j1d(new nB(r,uB(null,null,iq(this,t,n),3,null)))},hq.prototype.k1c=function(t,n){var e;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?e=!0:(n(aC(G$(null,null,3,null))),e=null),null==e)return pi();var r=new Jl(t);this.s2h_1.j1d(new nB(r,uB(null,null,uq(n),3,null)))},hq.prototype.l1c=function(t,n,e,r){var o,i=Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1();i instanceof H$?o=i.c2c_1:(r(aC(G$(null,null,3,null)),null),o=null);var u=o;if(null==u)return pi();var s=new Hl(u.j2i_1,t,n,e);this.s2h_1.j1d(new nB(s,uB(null,null,sq(r),3,null)))},hq.prototype.m1c=function(t,n,e,r,o){var i;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?i=!0:(o(aC(G$(null,null,3,null)),null),i=null),null==i)return pi();var u=new jf(t,n,e,r);this.s2h_1.j1d(new nB(u,uB(null,null,aq(o),3,null)))},hq.prototype.n1c=function(t,n,e,r,o){var i;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?i=!0:(o(aC(G$(null,null,3,null)),null),i=null),null==i)return pi();var u=new Mf(t,n,e,r);this.s2h_1.j1d(new nB(u,uB(null,null,cq(t,o),3,null)))},hq.prototype.o1c=function(t,n,e){var r;if(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?r=!0:(e(aC(G$(null,null,3,null)),null),r=null),null==r)return pi();var o=new Xf(t,n);this.s2h_1.j1d(new nB(o,uB(null,null,pq(e,n),3,null)))},hq.prototype.g1d=function(t,n,e,r,o,i,u,s,a){if(!(Bi(this.s2h_1.b2i(qi(PN))).c2i_1.s1()instanceof H$))return a(aC(G$(null,null,3,null)),null),pi();var c=new _p(t);this.s2h_1.j1d(new nB(c,uB(null,null,fq(this,n,e,r,o,i,u,s,a,t),3,null)))},hq.$metadata$=_i("ChatAPIImpl",[Zk]),gq.$metadata$=ci("ILoggingLevel"),bq.prototype.l2i=function(){return this.o2i_1},bq.$metadata$=_i("LoggingLevel",[gq],void 0,void 0,void 0,uu.prototype),$q.$metadata$=_i("ClientConfigRegion",void 0,void 0,void 0,void 0,uu.prototype),jq.prototype.w2i=function(t,n,e,r){return new qq(t.r2i_1,t.s2i_1,"/v2/rtc",!1,this.v2i_1,r,n,e,5e3,!0)},jq.$metadata$=ai("Companion"),qq.prototype.toString=function(){return"ClientConfig(apiUrl="+this.x2i_1+", websocketUrl="+this.y2i_1+", websocketPath="+this.z2i_1+", autoMediaReoffer="+this.a2j_1+", loggingLevel="+this.b2j_1+", enableWebsocketInvites="+this.c2j_1+", osFamily="+this.d2j_1+", osRevision="+this.e2j_1+", statsInterval="+vi(this.f2j_1)+", shouldRegisterStats="+this.g2j_1+")"},qq.prototype.hashCode=function(){var t=Ci(this.x2i_1);return t=si(t,31)+Ci(this.y2i_1)|0,t=si(t,31)+Ci(this.z2i_1)|0,t=si(t,31)+(0|this.a2j_1)|0,t=si(t,31)+this.b2j_1.hashCode()|0,t=si(t,31)+(0|this.c2j_1)|0,t=si(t,31)+Ci(this.d2j_1)|0,t=si(t,31)+Ci(this.e2j_1)|0,t=si(t,31)+gi(this.f2j_1)|0,t=si(t,31)+(0|this.g2j_1)|0},qq.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qq))return!1;var n=t instanceof qq?t:li();return this.x2i_1===n.x2i_1&&this.y2i_1===n.y2i_1&&this.z2i_1===n.z2i_1&&this.a2j_1===n.a2j_1&&!!this.b2j_1.equals(n.b2j_1)&&this.c2j_1===n.c2j_1&&this.d2j_1===n.d2j_1&&this.e2j_1===n.e2j_1&&!!mi(this.f2j_1,n.f2j_1)&&this.g2j_1===n.g2j_1},qq.$metadata$=_i("ClientConfig"),Rq.$metadata$=ci("ConversationAPI"),Aq.prototype.e1c=function(t,n){var e=new np(t);this.s2j_1.j1d(new nB(e,uB(null,null,Pq(n),3,null)))},Aq.prototype.f1c=function(t,n){var e=new kh(t);this.s2j_1.j1d(new nB(e,uB(null,null,Tq(n),3,null)))},Aq.$metadata$=_i("ConversationAPIImpl",[Rq]),ai("CSErrorCodes"),Nq.$metadata$=_i("NoInviteFound",void 0,void 0,void 0,void 0,Yq.prototype),Iq.$metadata$=_i("InvalidCallAction",void 0,void 0,void 0,void 0,Yq.prototype),Lq.$metadata$=_i("InboundCallFailed",void 0,void 0,void 0,void 0,Yq.prototype),Fq.$metadata$=_i("NoCallFound",void 0,void 0,void 0,void 0,Yq.prototype),Dq.$metadata$=_i("AuthorizationError",void 0,void 0,void 0,void 0,Yq.prototype),Jq.$metadata$=_i("MemberNotInConversation",void 0,void 0,void 0,void 0,Yq.prototype),Uq.$metadata$=_i("NoConversationFound",void 0,void 0,void 0,void 0,Yq.prototype),Hq.$metadata$=_i("NoLegFound",void 0,void 0,void 0,void 0,Yq.prototype),Wq.$metadata$=_i("IllegalArgumentException",void 0,void 0,void 0,void 0,Yq.prototype),Gq.$metadata$=_i("UnexpectedNullValue",void 0,void 0,void 0,void 0,Yq.prototype),Yq.$metadata$=_i("InternalError",void 0,void 0,void 0,void 0,Yi.prototype),Zq.$metadata$=_i("ServiceTempNotAvailable",void 0,void 0,void 0,void 0,Yq.prototype),Qq.$metadata$=_i("ServiceNotAvailable",void 0,void 0,void 0,void 0,Yq.prototype),tC.$metadata$=_i("ParsingException",void 0,void 0,void 0,void 0,Yq.prototype),ai("SessionErrorCodes"),ai("SessionErrorMessages"),iC.prototype.toString=function(){return"VonageError(type="+this.q2l_1+", code="+this.r2l_1+", message="+this.message+", cause="+this.cause+")"},iC.$metadata$=_i("VonageError",void 0,void 0,void 0,void 0,Yi.prototype),sC.$metadata$=_i("VonageErrorType",void 0,void 0,void 0,void 0,uu.prototype),_C.$metadata$=ci("EventAPI"),gC.prototype.i1d=function(t){var n=qi(mN);this.a2m_1.h2m(n,vC(this,t))},gC.$metadata$=_i("EventAPIImpl",[_C]),mC.$metadata$=ci("EventListener",[bC,wC,$C,jC]),bC.$metadata$=ci("SessionEventListener"),wC.$metadata$=ci("RTCEventListener"),$C.$metadata$=ci("AudioEventListener"),jC.$metadata$=ci("ConversationEventListener"),kC.prototype.fg=function(){return this.i2m_1},kC.prototype.ar=function(){return[HC(),Ai(IC()),Ai(IC())]},kC.prototype.hg=function(t){var n=this.i2m_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.xj(n,0,HC(),i),o|=1,u=a.zj(n,1,IC(),u),o|=2,s=a.zj(n,2,IC(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.xj(n,0,HC(),i),o|=1;break;case 1:u=a.zj(n,1,IC(),u),o|=2;break;case 2:s=a.zj(n,2,IC(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),zC(o,i,u,s,null)},kC.prototype.j2m=function(t,n){var e=this.i2m_1,r=t.mj(e);r.al(e,0,HC(),n.k2m_1),(r.gl(e,1)||null!=n.l2m_1)&&r.cl(e,1,IC(),n.l2m_1),(r.gl(e,2)||null!=n.m2m_1)&&r.cl(e,2,IC(),n.m2m_1),r.nj(e)},kC.prototype.gg=function(t,n){return this.j2m(t,n instanceof xC?n:li())},kC.$metadata$=ai("$serializer",[Ri]),xC.prototype.toString=function(){return"MemberChannel(type="+this.k2m_1+", from="+this.l2m_1+", to="+this.m2m_1+")"},xC.prototype.hashCode=function(){var t=this.k2m_1.hashCode();return t=si(t,31)+(null==this.l2m_1?0:this.l2m_1.hashCode())|0,t=si(t,31)+(null==this.m2m_1?0:this.m2m_1.hashCode())|0},xC.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xC))return!1;var n=t instanceof xC?t:li();return!!this.k2m_1.equals(n.k2m_1)&&!!mi(this.l2m_1,n.l2m_1)&&!!mi(this.m2m_1,n.m2m_1)},xC.$metadata$=_i("MemberChannel",void 0,void 0,{0:qC}),ai("Companion"),EC.prototype.fg=function(){return this.n2m_1},EC.prototype.ar=function(){return[Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC())),Ai(new Wi(IC()))]},EC.prototype.hg=function(t){var n=this.n2m_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=null,f=null,h=null,_=null,y=null,d=t.mj(n);if(d.ak())i=d.zj(n,0,new Wi(IC()),i),o|=1,u=d.zj(n,1,new Wi(IC()),u),o|=2,s=d.zj(n,2,new Wi(IC()),s),o|=4,a=d.zj(n,3,new Wi(IC()),a),o|=8,c=d.zj(n,4,new Wi(IC()),c),o|=16,p=d.zj(n,5,new Wi(IC()),p),o|=32,l=d.zj(n,6,new Wi(IC()),l),o|=64,f=d.zj(n,7,new Wi(IC()),f),o|=128,h=d.zj(n,8,new Wi(IC()),h),o|=256,_=d.zj(n,9,new Wi(IC()),_),o|=512,y=d.zj(n,10,new Wi(IC()),y),o|=1024;else for(;e;)switch(r=d.bk(n)){case-1:e=!1;break;case 0:i=d.zj(n,0,new Wi(IC()),i),o|=1;break;case 1:u=d.zj(n,1,new Wi(IC()),u),o|=2;break;case 2:s=d.zj(n,2,new Wi(IC()),s),o|=4;break;case 3:a=d.zj(n,3,new Wi(IC()),a),o|=8;break;case 4:c=d.zj(n,4,new Wi(IC()),c),o|=16;break;case 5:p=d.zj(n,5,new Wi(IC()),p),o|=32;break;case 6:l=d.zj(n,6,new Wi(IC()),l),o|=64;break;case 7:f=d.zj(n,7,new Wi(IC()),f),o|=128;break;case 8:h=d.zj(n,8,new Wi(IC()),h),o|=256;break;case 9:_=d.zj(n,9,new Wi(IC()),_),o|=512;break;case 10:y=d.zj(n,10,new Wi(IC()),y),o|=1024;break;default:throw Oi(r)}return d.nj(n),TC(o,i,u,s,a,c,p,l,f,h,_,y,null)},EC.prototype.o2m=function(t,n){var e=this.n2m_1,r=t.mj(e);(r.gl(e,0)||null!=n.h2j_1)&&r.cl(e,0,new Wi(IC()),n.h2j_1),(r.gl(e,1)||null!=n.i2j_1)&&r.cl(e,1,new Wi(IC()),n.i2j_1),(r.gl(e,2)||null!=n.j2j_1)&&r.cl(e,2,new Wi(IC()),n.j2j_1),(r.gl(e,3)||null!=n.k2j_1)&&r.cl(e,3,new Wi(IC()),n.k2j_1),(r.gl(e,4)||null!=n.l2j_1)&&r.cl(e,4,new Wi(IC()),n.l2j_1),(r.gl(e,5)||null!=n.m2j_1)&&r.cl(e,5,new Wi(IC()),n.m2j_1),(r.gl(e,6)||null!=n.n2j_1)&&r.cl(e,6,new Wi(IC()),n.n2j_1),(r.gl(e,7)||null!=n.o2j_1)&&r.cl(e,7,new Wi(IC()),n.o2j_1),(r.gl(e,8)||null!=n.p2j_1)&&r.cl(e,8,new Wi(IC()),n.p2j_1),(r.gl(e,9)||null!=n.q2j_1)&&r.cl(e,9,new Wi(IC()),n.q2j_1),(r.gl(e,10)||null!=n.r2j_1)&&r.cl(e,10,new Wi(IC()),n.r2j_1),r.nj(e)},EC.prototype.gg=function(t,n){return this.o2m(t,n instanceof AC?n:li())},EC.$metadata$=ai("$serializer",[Ri]),AC.prototype.j=function(){return this.equals(OC(null,null,null,null,null,null,null,null,null,null,null,2047,null))},AC.prototype.toString=function(){return"UserChannels(app="+this.h2j_1+", phone="+this.i2j_1+", pstn="+this.j2j_1+", sip="+this.k2j_1+", vbc="+this.l2j_1+", websocket="+this.m2j_1+", sms="+this.n2j_1+", mms="+this.o2j_1+", whatsapp="+this.p2j_1+", viber="+this.q2j_1+", messenger="+this.r2j_1+")"},AC.prototype.hashCode=function(){var t=null==this.h2j_1?0:gi(this.h2j_1);return t=si(t,31)+(null==this.i2j_1?0:gi(this.i2j_1))|0,t=si(t,31)+(null==this.j2j_1?0:gi(this.j2j_1))|0,t=si(t,31)+(null==this.k2j_1?0:gi(this.k2j_1))|0,t=si(t,31)+(null==this.l2j_1?0:gi(this.l2j_1))|0,t=si(t,31)+(null==this.m2j_1?0:gi(this.m2j_1))|0,t=si(t,31)+(null==this.n2j_1?0:gi(this.n2j_1))|0,t=si(t,31)+(null==this.o2j_1?0:gi(this.o2j_1))|0,t=si(t,31)+(null==this.p2j_1?0:gi(this.p2j_1))|0,t=si(t,31)+(null==this.q2j_1?0:gi(this.q2j_1))|0,t=si(t,31)+(null==this.r2j_1?0:gi(this.r2j_1))|0},AC.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof AC))return!1;var n=t instanceof AC?t:li();return!!(mi(this.h2j_1,n.h2j_1)&&mi(this.i2j_1,n.i2j_1)&&mi(this.j2j_1,n.j2j_1)&&mi(this.k2j_1,n.k2j_1)&&mi(this.l2j_1,n.l2j_1)&&mi(this.m2j_1,n.m2j_1)&&mi(this.n2j_1,n.n2j_1)&&mi(this.o2j_1,n.o2j_1)&&mi(this.p2j_1,n.p2j_1)&&mi(this.q2j_1,n.q2j_1)&&mi(this.r2j_1,n.r2j_1))},AC.$metadata$=_i("UserChannels",void 0,void 0,{0:RC}),NC.prototype.fg=function(){return this.p2m_1},NC.prototype.ar=function(){return[Ai(xi()),Ai(xi())]},NC.prototype.hg=function(t){var n=this.p2m_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.zj(n,0,xi(),i),o|=1,u=s.zj(n,1,xi(),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.zj(n,0,xi(),i),o|=1;break;case 1:u=s.zj(n,1,xi(),u),o|=2;break;default:throw Oi(r)}return s.nj(n),MC(o,i,u,null)},NC.prototype.q2m=function(t,n){var e=this.p2m_1,r=t.mj(e);(r.gl(e,0)||null!=n.r2m_1)&&r.cl(e,0,xi(),n.r2m_1),(r.gl(e,1)||null!=n.s2m_1)&&r.cl(e,1,xi(),n.s2m_1),r.nj(e)},NC.prototype.gg=function(t,n){return this.q2m(t,n instanceof LC?n:li())},NC.$metadata$=ai("$serializer",[Ri]),LC.prototype.toString=function(){return"Channel(id="+this.r2m_1+", number="+this.s2m_1+")"},LC.prototype.hashCode=function(){var t=null==this.r2m_1?0:Ci(this.r2m_1);return t=si(t,31)+(null==this.s2m_1?0:Ci(this.s2m_1))|0},LC.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof LC))return!1;var n=t instanceof LC?t:li();return this.r2m_1==n.r2m_1&&this.s2m_1==n.s2m_1},LC.$metadata$=_i("Channel",void 0,void 0,{0:IC}),DC.prototype.c11=function(){return this.t2m_1.s1()},DC.prototype.ur=function(t){return this.c11()},DC.$metadata$=ai("Companion",[Qi]),UC.prototype.fg=function(){return this.u2m_1},UC.prototype.ar=function(){return[]},UC.prototype.hg=function(t){return VC()[t.ij(this.u2m_1)]},UC.prototype.v2m=function(t,n){t.pk(this.u2m_1,n.e4_1)},UC.prototype.gg=function(t,n){return this.v2m(t,n instanceof WC?n:li())},UC.$metadata$=ai("$serializer",[Ri]),WC.$metadata$=_i("ChannelType",void 0,void 0,{0:HC},void 0,uu.prototype),GC.prototype.fg=function(){return this.w2m_1},GC.prototype.ar=function(){return[Ai(xi()),Ai(xi()),Ai(xi())]},GC.prototype.hg=function(t){var n=this.w2m_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.zj(n,0,xi(),i),o|=1,u=a.zj(n,1,xi(),u),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.zj(n,0,xi(),i),o|=1;break;case 1:u=a.zj(n,1,xi(),u),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),ZC(o,i,u,s,null)},GC.prototype.x2m=function(t,n){var e=this.w2m_1,r=t.mj(e);(r.gl(e,0)||null!=n.y2m_1)&&r.cl(e,0,xi(),n.y2m_1),(r.gl(e,1)||null!=n.z2m_1)&&r.cl(e,1,xi(),n.z2m_1),(r.gl(e,2)||null!=n.a2n_1)&&r.cl(e,2,xi(),n.a2n_1),r.nj(e)},GC.prototype.gg=function(t,n){return this.x2m(t,n instanceof QC?n:li())},GC.$metadata$=ai("$serializer",[Ri]),QC.prototype.toString=function(){return"ChannelFromTo(type="+this.y2m_1+", number="+this.z2m_1+", user="+this.a2n_1+")"},QC.prototype.hashCode=function(){var t=null==this.y2m_1?0:Ci(this.y2m_1);return t=si(t,31)+(null==this.z2m_1?0:Ci(this.z2m_1))|0,t=si(t,31)+(null==this.a2n_1?0:Ci(this.a2n_1))|0},QC.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof QC))return!1;var n=t instanceof QC?t:li();return this.y2m_1==n.y2m_1&&this.z2m_1==n.z2m_1&&this.a2n_1==n.a2n_1},QC.$metadata$=_i("ChannelFromTo",void 0,void 0,{0:XC}),hz.prototype.toString=function(){return"Conversation(id="+this.b2n_1+", name="+this.c2n_1+", timestamp="+this.d2n_1+", memberId="+this.e2n_1+", memberState="+this.f2n_1+", displayName="+this.g2n_1+", imageUrl="+this.h2n_1+", state="+this.i2n_1+", customData="+this.j2n_1+")"},hz.prototype.hashCode=function(){var t=Ci(this.b2n_1);return t=si(t,31)+Ci(this.c2n_1)|0,t=si(t,31)+this.d2n_1.hashCode()|0,t=si(t,31)+(null==this.e2n_1?0:Ci(this.e2n_1))|0,t=si(t,31)+(null==this.f2n_1?0:this.f2n_1.hashCode())|0,t=si(t,31)+(null==this.g2n_1?0:Ci(this.g2n_1))|0,t=si(t,31)+(null==this.h2n_1?0:Ci(this.h2n_1))|0,t=si(t,31)+(null==this.i2n_1?0:this.i2n_1.hashCode())|0,t=si(t,31)+(null==this.j2n_1?0:Ci(this.j2n_1))|0},hz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hz))return!1;var n=t instanceof hz?t:li();return this.b2n_1===n.b2n_1&&this.c2n_1===n.c2n_1&&!!this.d2n_1.equals(n.d2n_1)&&this.e2n_1==n.e2n_1&&!!mi(this.f2n_1,n.f2n_1)&&this.g2n_1==n.g2n_1&&this.h2n_1==n.h2n_1&&!!mi(this.i2n_1,n.i2n_1)&&this.j2n_1==n.j2n_1},hz.$metadata$=_i("Conversation"),_z.prototype.fg=function(){return this.k2n_1},_z.prototype.ar=function(){return[Ai(xi()),Ai(xi()),Ai(xi())]},_z.prototype.hg=function(t){var n=this.k2n_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.zj(n,0,xi(),i),o|=1,u=a.zj(n,1,xi(),u),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.zj(n,0,xi(),i),o|=1;break;case 1:u=a.zj(n,1,xi(),u),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),vz(o,i,u,s,null)},_z.prototype.l2n=function(t,n){var e=this.k2n_1,r=t.mj(e);(r.gl(e,0)||null!=n.m2n_1)&&r.cl(e,0,xi(),n.m2n_1),(r.gl(e,1)||null!=n.n2n_1)&&r.cl(e,1,xi(),n.n2n_1),(r.gl(e,2)||null!=n.o2n_1)&&r.cl(e,2,xi(),n.o2n_1),r.nj(e)},_z.prototype.gg=function(t,n){return this.l2n(t,n instanceof gz?n:li())},_z.$metadata$=ai("$serializer",[Ri]),gz.prototype.toString=function(){return"ConversationTimestamp(created="+this.m2n_1+", updated="+this.n2n_1+", destroyed="+this.o2n_1+")"},gz.prototype.hashCode=function(){var t=null==this.m2n_1?0:Ci(this.m2n_1);return t=si(t,31)+(null==this.n2n_1?0:Ci(this.n2n_1))|0,t=si(t,31)+(null==this.o2n_1?0:Ci(this.o2n_1))|0},gz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gz))return!1;var n=t instanceof gz?t:li();return this.m2n_1==n.m2n_1&&this.n2n_1==n.n2n_1&&this.o2n_1==n.o2n_1},gz.$metadata$=_i("ConversationTimestamp",void 0,void 0,{0:yz}),wz.$metadata$=_i("ConversationState",void 0,void 0,void 0,void 0,uu.prototype),$z.prototype.toString=function(){return"ConversationsPage(conversations="+this.p2n_1+", previousCursor="+this.q2n_1+", nextCursor="+this.r2n_1+")"},$z.prototype.hashCode=function(){var t=gi(this.p2n_1);return t=si(t,31)+(null==this.q2n_1?0:Ci(this.q2n_1))|0,t=si(t,31)+(null==this.r2n_1?0:Ci(this.r2n_1))|0},$z.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof $z))return!1;var n=t instanceof $z?t:li();return!!mi(this.p2n_1,n.p2n_1)&&this.q2n_1==n.q2n_1&&this.r2n_1==n.r2n_1},$z.$metadata$=_i("ConversationsPage",[ux]),Cz.$metadata$=ci("ConversationEvent"),zz.prototype.toString=function(){return"EventsPage(events="+this.s2n_1+", previousCursor="+this.t2n_1+", nextCursor="+this.u2n_1+")"},zz.prototype.hashCode=function(){var t=gi(this.s2n_1);return t=si(t,31)+(null==this.t2n_1?0:Ci(this.t2n_1))|0,t=si(t,31)+(null==this.u2n_1?0:Ci(this.u2n_1))|0},zz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zz))return!1;var n=t instanceof zz?t:li();return!!mi(this.s2n_1,n.s2n_1)&&this.t2n_1==n.t2n_1&&this.u2n_1==n.u2n_1},zz.$metadata$=_i("EventsPage",[ux]),xz.prototype.toString=function(){return"Body(invitee="+this.v2n_1+", inviter="+this.w2n_1+")"},xz.prototype.hashCode=function(){var t=this.v2n_1.hashCode();return t=si(t,31)+(null==this.w2n_1?0:this.w2n_1.hashCode())|0},xz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xz))return!1;var n=t instanceof xz?t:li();return!!this.v2n_1.equals(n.v2n_1)&&!!mi(this.w2n_1,n.w2n_1)},xz.$metadata$=_i("Body"),Sz.prototype.toString=function(){return"MemberInvitedConversationEvent(id="+this.x2n_1+", timestamp="+this.y2n_1+", conversationId="+this.z2n_1+", from="+this.a2o_1+", body="+this.b2o_1+")"},Sz.prototype.hashCode=function(){var t=this.x2n_1;return t=si(t,31)+Ci(this.y2n_1)|0,t=si(t,31)+Ci(this.z2n_1)|0,t=si(t,31)+Ci(this.a2o_1)|0,t=si(t,31)+this.b2o_1.hashCode()|0},Sz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Sz))return!1;var n=t instanceof Sz?t:li();return this.x2n_1===n.x2n_1&&this.y2n_1===n.y2n_1&&this.z2n_1===n.z2n_1&&this.a2o_1===n.a2o_1&&!!this.b2o_1.equals(n.b2o_1)},Sz.$metadata$=_i("MemberInvitedConversationEvent",[Cz]),Oz.prototype.toString=function(){return"Body(user="+this.c2o_1+")"},Oz.prototype.hashCode=function(){return this.c2o_1.hashCode()},Oz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Oz))return!1;var n=t instanceof Oz?t:li();return!!this.c2o_1.equals(n.c2o_1)},Oz.$metadata$=_i("Body"),Ez.prototype.toString=function(){return"MemberJoinedConversationEvent(id="+this.d2o_1+", timestamp="+this.e2o_1+", conversationId="+this.f2o_1+", from="+this.g2o_1+", body="+this.h2o_1+")"},Ez.prototype.hashCode=function(){var t=this.d2o_1;return t=si(t,31)+Ci(this.e2o_1)|0,t=si(t,31)+Ci(this.f2o_1)|0,t=si(t,31)+Ci(this.g2o_1)|0,t=si(t,31)+this.h2o_1.hashCode()|0},Ez.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Ez))return!1;var n=t instanceof Ez?t:li();return this.d2o_1===n.d2o_1&&this.e2o_1===n.e2o_1&&this.f2o_1===n.f2o_1&&this.g2o_1===n.g2o_1&&!!this.h2o_1.equals(n.h2o_1)},Ez.$metadata$=_i("MemberJoinedConversationEvent",[Cz]),Rz.prototype.toString=function(){return"Body(user="+this.i2o_1+")"},Rz.prototype.hashCode=function(){return this.i2o_1.hashCode()},Rz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Rz))return!1;var n=t instanceof Rz?t:li();return!!this.i2o_1.equals(n.i2o_1)},Rz.$metadata$=_i("Body"),Pz.prototype.toString=function(){return"MemberLeftConversationEvent(id="+this.j2o_1+", timestamp="+this.k2o_1+", conversationId="+this.l2o_1+", from="+this.m2o_1+", body="+this.n2o_1+")"},Pz.prototype.hashCode=function(){var t=this.j2o_1;return t=si(t,31)+Ci(this.k2o_1)|0,t=si(t,31)+Ci(this.l2o_1)|0,t=si(t,31)+Ci(this.m2o_1)|0,t=si(t,31)+this.n2o_1.hashCode()|0},Pz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Pz))return!1;var n=t instanceof Pz?t:li();return this.j2o_1===n.j2o_1&&this.k2o_1===n.k2o_1&&this.l2o_1===n.l2o_1&&this.m2o_1===n.m2o_1&&!!this.n2o_1.equals(n.n2o_1)},Pz.$metadata$=_i("MemberLeftConversationEvent",[Cz]),Tz.prototype.toString=function(){return"UnknownConversationEvent(type="+this.o2o_1+", id="+this.p2o_1+", timestamp="+this.q2o_1+", conversationId="+this.r2o_1+", from="+this.s2o_1+")"},Tz.prototype.hashCode=function(){var t=Ci(this.o2o_1);return t=si(t,31)+(null==this.p2o_1?0:this.p2o_1)|0,t=si(t,31)+Ci(this.q2o_1)|0,t=si(t,31)+Ci(this.r2o_1)|0,t=si(t,31)+(null==this.s2o_1?0:Ci(this.s2o_1))|0},Tz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Tz))return!1;var n=t instanceof Tz?t:li();return this.o2o_1===n.o2o_1&&this.p2o_1==n.p2o_1&&this.q2o_1===n.q2o_1&&this.r2o_1===n.r2o_1&&this.s2o_1==n.s2o_1},Tz.$metadata$=_i("UnknownConversationEvent",[Cz]),Az.prototype.toString=function(){return"Leg(id="+this.t2o_1+", type="+this.u2o_1+", direction="+this.v2o_1+", conversationId="+this.w2o_1+", status="+this.x2o_1+", startTime="+this.y2o_1+", endTime="+this.z2o_1+", from="+this.a2p_1+", to="+this.b2p_1+")"},Az.prototype.hashCode=function(){var t=Ci(this.t2o_1);return t=si(t,31)+Ci(this.u2o_1)|0,t=si(t,31)+Ci(this.v2o_1)|0,t=si(t,31)+Ci(this.w2o_1)|0,t=si(t,31)+Ci(this.x2o_1)|0,t=si(t,31)+Ci(this.y2o_1)|0,t=si(t,31)+Ci(this.z2o_1)|0,t=si(t,31)+this.a2p_1.hashCode()|0,t=si(t,31)+this.b2p_1.hashCode()|0},Az.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Az))return!1;var n=t instanceof Az?t:li();return this.t2o_1===n.t2o_1&&this.u2o_1===n.u2o_1&&this.v2o_1===n.v2o_1&&this.w2o_1===n.w2o_1&&this.x2o_1===n.x2o_1&&this.y2o_1===n.y2o_1&&this.z2o_1===n.z2o_1&&!!this.a2p_1.equals(n.a2p_1)&&!!this.b2p_1.equals(n.b2p_1)},Az.$metadata$=_i("Leg"),Bz.$metadata$=_i("MemberState",void 0,void 0,void 0,void 0,uu.prototype),Fz.prototype.toString=function(){return"Member(id="+this.c2p_1+", state="+this.d2p_1+", user="+this.e2p_1+", channel="+this.f2p_1+", timestamp="+this.g2p_1+")"},Fz.prototype.hashCode=function(){var t=Ci(this.c2p_1);return t=si(t,31)+this.d2p_1.hashCode()|0,t=si(t,31)+(null==this.e2p_1?0:this.e2p_1.hashCode())|0,t=si(t,31)+(null==this.f2p_1?0:this.f2p_1.hashCode())|0,t=si(t,31)+(null==this.g2p_1?0:this.g2p_1.hashCode())|0},Fz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Fz))return!1;var n=t instanceof Fz?t:li();return!!(this.c2p_1===n.c2p_1&&this.d2p_1.equals(n.d2p_1)&&mi(this.e2p_1,n.e2p_1)&&mi(this.f2p_1,n.f2p_1)&&mi(this.g2p_1,n.g2p_1))},Fz.$metadata$=_i("Member"),Dz.prototype.fg=function(){return this.h2p_1},Dz.prototype.ar=function(){return[Ai(xi()),Ai(xi()),Ai(xi())]},Dz.prototype.hg=function(t){var n=this.h2p_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.zj(n,0,xi(),i),o|=1,u=a.zj(n,1,xi(),u),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.zj(n,0,xi(),i),o|=1;break;case 1:u=a.zj(n,1,xi(),u),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),Hz(o,i,u,s,null)},Dz.prototype.i2p=function(t,n){var e=this.h2p_1,r=t.mj(e);(r.gl(e,0)||null!=n.j2p_1)&&r.cl(e,0,xi(),n.j2p_1),(r.gl(e,1)||null!=n.k2p_1)&&r.cl(e,1,xi(),n.k2p_1),(r.gl(e,2)||null!=n.l2p_1)&&r.cl(e,2,xi(),n.l2p_1),r.nj(e)},Dz.prototype.gg=function(t,n){return this.i2p(t,n instanceof Vz?n:li())},Dz.$metadata$=ai("$serializer",[Ri]),Vz.prototype.toString=function(){return"MemberTimestamp(invited="+this.j2p_1+", joined="+this.k2p_1+", left="+this.l2p_1+")"},Vz.prototype.hashCode=function(){var t=null==this.j2p_1?0:Ci(this.j2p_1);return t=si(t,31)+(null==this.k2p_1?0:Ci(this.k2p_1))|0,t=si(t,31)+(null==this.l2p_1?0:Ci(this.l2p_1))|0},Vz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Vz))return!1;var n=t instanceof Vz?t:li();return this.j2p_1==n.j2p_1&&this.k2p_1==n.k2p_1&&this.l2p_1==n.l2p_1},Vz.$metadata$=_i("MemberTimestamp",void 0,void 0,{0:Jz}),Kz.prototype.toString=function(){return"MembersPage(members="+this.m2p_1+", previousCursor="+this.n2p_1+", nextCursor="+this.o2p_1+")"},Kz.prototype.hashCode=function(){var t=gi(this.m2p_1);return t=si(t,31)+(null==this.n2p_1?0:Ci(this.n2p_1))|0,t=si(t,31)+(null==this.o2p_1?0:Ci(this.o2p_1))|0},Kz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Kz))return!1;var n=t instanceof Kz?t:li();return!!mi(this.m2p_1,n.m2p_1)&&this.n2p_1==n.n2p_1&&this.o2p_1==n.o2p_1},Kz.$metadata$=_i("MembersPage",[ux]),Zz.prototype.toString=function(){return"Body(sender="+this.p2p_1+", text="+this.q2p_1+")"},Zz.prototype.hashCode=function(){var t=this.p2p_1.hashCode();return t=si(t,31)+Ci(this.q2p_1)|0},Zz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Zz))return!1;var n=t instanceof Zz?t:li();return!!this.p2p_1.equals(n.p2p_1)&&this.q2p_1===n.q2p_1},Zz.$metadata$=_i("Body",[ex]),Qz.prototype.toString=function(){return"TextMessageEvent(timestamp="+this.r2p_1+", conversationId="+this.s2p_1+", from="+this.t2p_1+", id="+this.u2p_1+", body="+this.v2p_1+")"},Qz.prototype.hashCode=function(){var t=Ci(this.r2p_1);return t=si(t,31)+Ci(this.s2p_1)|0,t=si(t,31)+Ci(this.t2p_1)|0,t=si(t,31)+this.u2p_1|0,t=si(t,31)+this.v2p_1.hashCode()|0},Qz.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Qz))return!1;var n=t instanceof Qz?t:li();return this.r2p_1===n.r2p_1&&this.s2p_1===n.s2p_1&&this.t2p_1===n.t2p_1&&this.u2p_1===n.u2p_1&&!!this.v2p_1.equals(n.v2p_1)},Qz.$metadata$=_i("TextMessageEvent",[rx]),tx.prototype.toString=function(){return"Body(sender="+this.w2p_1+", customData="+this.x2p_1+")"},tx.prototype.hashCode=function(){var t=this.w2p_1.hashCode();return t=si(t,31)+Ci(this.x2p_1)|0},tx.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof tx))return!1;var n=t instanceof tx?t:li();return!!this.w2p_1.equals(n.w2p_1)&&this.x2p_1===n.x2p_1},tx.$metadata$=_i("Body",[ex]),nx.prototype.toString=function(){return"CustomMessageEvent(timestamp="+this.y2p_1+", conversationId="+this.z2p_1+", from="+this.a2q_1+", id="+this.b2q_1+", body="+this.c2q_1+")"},nx.prototype.hashCode=function(){var t=Ci(this.y2p_1);return t=si(t,31)+Ci(this.z2p_1)|0,t=si(t,31)+Ci(this.a2q_1)|0,t=si(t,31)+this.b2q_1|0,t=si(t,31)+this.c2q_1.hashCode()|0},nx.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof nx))return!1;var n=t instanceof nx?t:li();return this.y2p_1===n.y2p_1&&this.z2p_1===n.z2p_1&&this.a2q_1===n.a2q_1&&this.b2q_1===n.b2q_1&&!!this.c2q_1.equals(n.c2q_1)},nx.$metadata$=_i("CustomMessageEvent",[rx]),ex.$metadata$=ci("Body"),rx.$metadata$=ci("MessageEvent",[Cz]),ix.$metadata$=_i("PresentingOrder",void 0,void 0,void 0,void 0,uu.prototype),ux.$metadata$=ci("Page"),fx.$metadata$=ai("Companion"),_x.prototype.toString=function(){return"User(id="+this.d2q_1+", name="+this.e2q_1+", displayName="+this.f2q_1+", channels="+this.g2q_1+", timestamp="+this.h2q_1+", imageUrl="+this.i2q_1+", customData="+this.j2q_1+")"},_x.prototype.hashCode=function(){var t=Ci(this.d2q_1);return t=si(t,31)+Ci(this.e2q_1)|0,t=si(t,31)+(null==this.f2q_1?0:Ci(this.f2q_1))|0,t=si(t,31)+(null==this.g2q_1?0:this.g2q_1.hashCode())|0,t=si(t,31)+(null==this.h2q_1?0:this.h2q_1.hashCode())|0,t=si(t,31)+(null==this.i2q_1?0:Ci(this.i2q_1))|0,t=si(t,31)+(null==this.j2q_1?0:Ci(this.j2q_1))|0},_x.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof _x))return!1;var n=t instanceof _x?t:li();return this.d2q_1===n.d2q_1&&this.e2q_1===n.e2q_1&&this.f2q_1==n.f2q_1&&!!mi(this.g2q_1,n.g2q_1)&&!!mi(this.h2q_1,n.h2q_1)&&this.i2q_1==n.i2q_1&&this.j2q_1==n.j2q_1},_x.$metadata$=_i("User"),yx.prototype.fg=function(){return this.k2q_1},yx.prototype.ar=function(){return[Ai(xi()),Ai(xi()),Ai(xi())]},yx.prototype.hg=function(t){var n=this.k2q_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.zj(n,0,xi(),i),o|=1,u=a.zj(n,1,xi(),u),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.zj(n,0,xi(),i),o|=1;break;case 1:u=a.zj(n,1,xi(),u),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),gx(o,i,u,s,null)},yx.prototype.l2q=function(t,n){var e=this.k2q_1,r=t.mj(e);(r.gl(e,0)||null!=n.m2q_1)&&r.cl(e,0,xi(),n.m2q_1),(r.gl(e,1)||null!=n.n2q_1)&&r.cl(e,1,xi(),n.n2q_1),(r.gl(e,2)||null!=n.o2q_1)&&r.cl(e,2,xi(),n.o2q_1),r.nj(e)},yx.prototype.gg=function(t,n){return this.l2q(t,n instanceof mx?n:li())},yx.$metadata$=ai("$serializer",[Ri]),mx.prototype.toString=function(){return"UserTimestamp(created="+this.m2q_1+", updated="+this.n2q_1+", destroyed="+this.o2q_1+")"},mx.prototype.hashCode=function(){var t=null==this.m2q_1?0:Ci(this.m2q_1);return t=si(t,31)+(null==this.n2q_1?0:Ci(this.n2q_1))|0,t=si(t,31)+(null==this.o2q_1?0:Ci(this.o2q_1))|0},mx.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof mx))return!1;var n=t instanceof mx?t:li();return this.m2q_1==n.m2q_1&&this.n2q_1==n.n2q_1&&this.o2q_1==n.o2q_1},mx.$metadata$=_i("UserTimestamp",void 0,void 0,{0:dx}),bx.$metadata$=ci("PushAPI"),wx.$metadata$=_i("PushAPIImpl",[bx]),$x.$metadata$=ci("SessionListener"),kx.$metadata$=_i("SessionErrorReason",void 0,void 0,void 0,void 0,uu.prototype),qx.$metadata$=ci("SessionAPI"),Lx.prototype.b1c=function(t,n,e){var r=this.u2q_1.b2i(qi(PN));if(null==r)return e(I$(null,null,3,null),null);null!=r.c2i_1.s1().q1m()?(xx(this,Sx(e,this,t,n)),this.u2q_1.j1d(ZI(Q$())),this.u2q_1.j1d(ZI(nj()))):(Cx(this,e),this.u2q_1.j1d(ZI(new Y$(t,n))))},Lx.prototype.c1c=function(t){var n=this.u2q_1.b2i(qi(PN));return null==n?t(I$(null,null,3,null)):null==n.c2i_1.s1().q1m()?t(G$(null,null,3,null)):(zx(this,t),this.u2q_1.j1d(ZI(Q$())),void this.u2q_1.j1d(ZI(nj())))},Lx.prototype.d1c=function(t,n){var e=this.u2q_1.b2i(qi(PN));if(null==e)return n(I$(null,null,3,null));var r=e;if(null==r.c2i_1.s1().q1m())return n(G$(null,null,3,null));var o=Bi(r.c2i_1.s1().q1m()),i=new Us(o,t);this.u2q_1.j1d(new nB(i,uB(null,null,Ox(n,this,o,t),3,null)))},Lx.prototype.b1b=function(t){this.v2q_1=t},Lx.$metadata$=_i("SessionAPIImpl",[qx]),Ux.$metadata$=ci("VoiceClientListener"),Vx.$metadata$=_i("VoiceInviteCancelReason",void 0,void 0,void 0,void 0,uu.prototype),Wx.$metadata$=_i("HangupReason",void 0,void 0,void 0,void 0,uu.prototype),Yx.$metadata$=_i("LegStatus",void 0,void 0,void 0,void 0,uu.prototype),Zx.$metadata$=ci("VoiceAPI"),JS.prototype.y2h=function(t,n,e){hS(this.j2s_1,t,null,Qx(n,e),4)},JS.prototype.z2h=function(t,n,e){hS(this.j2s_1,t,null,tS(n,e),4)},JS.prototype.a2i=function(t,n,e){var r=null==n?"":n;hS(this.j2s_1,t,null,nS(r,e),4)},JS.prototype.u2h=function(t,n,e){var r=n,o=null==r?null:aS(this.j2s_1,r),i=e.x1z_1.l2s_1.e4_1,u={_v:0===i?wO():2===i?mO():1===i||4===i?$O():wO()};if(null!=o){if(null===o.l2r_1.r2s()){var s;if(o.l2r_1 instanceof EB&&o.l2r_1.s1()instanceof xI){var a,c=o.l2r_1.s1(),p=(c instanceof xI?c:li()).q2s_1;Ds(),"remote_rejected"===p?a=gO():(Ds(),"local_cancel"===p?a=bO():(Ds(),a="ring_timer"===p?bO():mO())),s=a}else s=mO();u._v=s}hS(this.j2s_1,t,null,eS(e,u),4)}aN(this.j2s_1.s2r_1,n,t)},JS.prototype.w2h=function(t,n,e,r){null==t||lS(this.j2s_1,e)||fS(this.j2s_1,t,n,rS(n,r))},JS.prototype.v2h=function(t,n){hS(this.j2s_1,t,null,oS(n,t),4)},JS.$metadata$=_i(void 0,[mC]),QS.prototype.d1b=function(t){this.v2r_1=t},QS.prototype.g1b=function(t,n){var e;if(Bi(this.s2r_1.b2i(qi(PN))).c2i_1.s1()instanceof H$?e="":(n(aC(G$(null,null,3,null)),null),e=null),null==e)return pi();var r=new fa(t);this.s2r_1.j1d(new nB(r,uB(null,null,vS(n),3,null)))},QS.prototype.e1b=function(t,n){var e,r=Bi(this.s2r_1.b2i(qi(PN))).c2i_1.s1();r instanceof H$?e=r.c2c_1.k2i_1:(n(aC(G$(null,null,3,null)),null),e=null);var o=e;if(null==o)return pi();var i=new tO(o,t);this.s2r_1.j1d(new nB(i,uB(null,null,wS(this,n),3,null)))},QS.prototype.f1b=function(t,n){var e={_v:null},r=qi(KN);e._v=this.s2r_1.h2m(r,jS(this,t,e,n));var o=this.s2r_1.b2i(qi(PN)),i=null==o?null:o.c2i_1;if((null==i?null:i.s1())instanceof H$){var u=Bi(this.s2r_1.b2i(qi(KN))).w2r_1.g2(t),s=null==u?null:u.l2r_1,a=null==s?null:s.s1(),c=a instanceof zI?a:null;null==u||null==c?dS(this,t,n):this.s2r_1.j1d(ZI(new rO(t,c.q2r_1,c.p2r_1)))}else n(aC(G$(null,null,3,null)))},QS.prototype.h1b=function(t,n){var e=Bi(this.s2r_1.b2i(qi(NI))).s2s_1.g2(t);if(null==e)return n(aC(new Nq)),pi();if(e.f2s_1 instanceof OB||e.f2s_1.s1()instanceof zI||e.f2s_1.s1()instanceof xI)return n(aC(new Iq)),pi();Ds(),Ds();var r=new Ca(e.d2s_1,e.c2s_1,"call-rejected-by-callee","REMOTE_REJECT");this.s2r_1.j1d(new nB(r,uB(null,t,kS(n),1,null)))},QS.prototype.i1b=function(t,n){var e=Bi(this.s2r_1.b2i(qi(NI))).s2s_1.g2(t);if(null==e)return n(aC(new Nq)),pi();if(e.f2s_1 instanceof OB||e.f2s_1.s1()instanceof zI||e.f2s_1.s1()instanceof xI)return n(aC(new Iq)),pi();var r=new Fa(e.d2s_1,e.c2s_1);this.s2r_1.j1d(new nB(r,uB(null,t,xS(n,this,t,e),1,null)))},QS.prototype.j1b=function(t,n,e,r){var o=Bi(this.s2r_1.b2i(qi(KN))).w2r_1.g2(t);if(null==o)return r(aC(new Fq)),pi();this.s2r_1.j1d(ZI(new $$(t)));var i=o.l2r_1.s1();if(i instanceof zI){var u=new Ca(i.p2r_1,i.q2r_1,n,e);this.s2r_1.j1d(new nB(u,uB(null,t,SS(r),1,null)))}else if(i instanceof qI){var s=new Da(i.i2t_1);this.s2r_1.j1d(new nB(s,uB(null,t,OS(r),1,null)))}else r(aC(new Iq))},QS.prototype.k1b=function(t,n){var e=sS(this,t,RS(this,t,n));null==e||n(e)},QS.prototype.l1b=function(t,n){var e=sS(this,t,TS(this,t,n));null==e||n(e)},QS.prototype.m1b=function(t,n){var e=sS(this,t,NS(this,t,n));null==e||n(e)},QS.prototype.n1b=function(t,n){var e=sS(this,t,BS(this,t,n));null==e||n(e)},QS.prototype.o1b=function(t,n,e){var r=sS(this,t,LS(this,t,n,e));null==r||e(r)},QS.prototype.p1b=function(t,n,e,r,o,i,u,s){var a=sS(this,t,DS(this,n,e,r,o,i,u,t,s));null==a||s(a)},QS.$metadata$=_i("VoiceAPIImpl",[Zx]),tO.prototype.i1m=function(){return this.j2t_1},tO.prototype.z3=function(){return this.k2t_1},tO.prototype.toString=function(){return"SetupOutboundCall(user="+this.j2t_1+", context="+this.k2t_1+")"},tO.prototype.hashCode=function(){var t=Ci(this.j2t_1);return t=si(t,31)+(null==this.k2t_1?0:gi(this.k2t_1))|0},tO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof tO))return!1;var n=t instanceof tO?t:li();return this.j2t_1===n.j2t_1&&!!mi(this.k2t_1,n.k2t_1)},tO.$metadata$=_i("SetupOutboundCall",[uO]),nO.prototype.toString=function(){return"CallKnockingRequestFailure(callId="+this.l2t_1+", exception="+this.m2t_1+")"},nO.prototype.hashCode=function(){var t=Ci(this.l2t_1);return t=si(t,31)+gi(this.m2t_1)|0},nO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof nO))return!1;var n=t instanceof nO?t:li();return this.l2t_1===n.l2t_1&&!!mi(this.m2t_1,n.m2t_1)},nO.$metadata$=_i("CallKnockingRequestFailure",[uO]),eO.prototype.o2t=function(){return this.n2t_1},eO.prototype.toString=function(){return"CallCleanup(callId="+this.n2t_1+")"},eO.prototype.hashCode=function(){return Ci(this.n2t_1)},eO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof eO))return!1;var n=t instanceof eO?t:li();return this.n2t_1===n.n2t_1},eO.$metadata$=_i("CallCleanup",[uO]),rO.prototype.o2t=function(){return this.p2t_1},rO.prototype.x1g=function(){return this.q2t_1},rO.prototype.s2t=function(){return this.r2t_1},rO.prototype.toString=function(){return"CallReconnect(callId="+this.p2t_1+", from="+this.q2t_1+", conversationId="+this.r2t_1+")"},rO.prototype.hashCode=function(){var t=Ci(this.p2t_1);return t=si(t,31)+Ci(this.q2t_1)|0,t=si(t,31)+Ci(this.r2t_1)|0},rO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rO))return!1;var n=t instanceof rO?t:li();return this.p2t_1===n.p2t_1&&this.q2t_1===n.q2t_1&&this.r2t_1===n.r2t_1},rO.$metadata$=_i("CallReconnect",[uO]),oO.prototype.z2t=function(){return this.t2t_1},oO.prototype.s2t=function(){return this.u2t_1},oO.prototype.a2u=function(){return this.v2t_1},oO.prototype.x1g=function(){return this.w2t_1},oO.prototype.y1u=function(){return this.x2t_1},oO.prototype.toString=function(){return"SetupInboundCall(rtcId="+this.t2t_1+", conversationId="+this.u2t_1+", memberId="+this.v2t_1+", from="+this.w2t_1+", sdp="+this.x2t_1+", context="+this.y2t_1+")"},oO.prototype.hashCode=function(){var t=Ci(this.t2t_1);return t=si(t,31)+Ci(this.u2t_1)|0,t=si(t,31)+Ci(this.v2t_1)|0,t=si(t,31)+gi(this.w2t_1)|0,t=si(t,31)+Ci(this.x2t_1)|0,t=si(t,31)+(null==this.y2t_1?0:gi(this.y2t_1))|0},oO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof oO))return!1;var n=t instanceof oO?t:li();return this.t2t_1===n.t2t_1&&this.u2t_1===n.u2t_1&&this.v2t_1===n.v2t_1&&!!mi(this.w2t_1,n.w2t_1)&&this.x2t_1===n.x2t_1&&!!mi(this.y2t_1,n.y2t_1)},oO.$metadata$=_i("SetupInboundCall",[uO]),iO.prototype.toString=function(){return"InviteReconcile(callId="+this.b2u_1+")"},iO.prototype.hashCode=function(){return Ci(this.b2u_1)},iO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof iO))return!1;var n=t instanceof iO?t:li();return this.b2u_1===n.b2u_1},iO.$metadata$=_i("InviteReconcile",[uO]),uO.$metadata$=ci("CallEvent",[oB]),sO.prototype.f4=function(){return this.d2u_1},sO.prototype.toString=function(){return"CallConversationUpdate(rtcId="+this.c2u_1+", name="+this.d2u_1+")"},sO.prototype.hashCode=function(){var t=Ci(this.c2u_1);return t=si(t,31)+Ci(this.d2u_1)|0},sO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof sO))return!1;var n=t instanceof sO?t:li();return this.c2u_1===n.c2u_1&&this.d2u_1===n.d2u_1},sO.$metadata$=_i("CallConversationUpdate",[uO]),pO.prototype.z1g=function(){return this.e2u_1},pO.prototype.j2u=function(){return this.g2u_1},pO.prototype.k2u=function(){return this.i2u_1},pO.prototype.toString=function(){return"CallCreate(legId="+this.e2u_1+", from="+this.f2u_1+", direction="+this.g2u_1+", context="+this.h2u_1+", memberJoinInfo="+this.i2u_1+")"},pO.prototype.hashCode=function(){var t=Ci(this.e2u_1);return t=si(t,31)+gi(this.f2u_1)|0,t=si(t,31)+this.g2u_1.hashCode()|0,t=si(t,31)+(null==this.h2u_1?0:gi(this.h2u_1))|0,t=si(t,31)+(null==this.i2u_1?0:this.i2u_1.hashCode())|0},pO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof pO))return!1;var n=t instanceof pO?t:li();return!!(this.e2u_1===n.e2u_1&&mi(this.f2u_1,n.f2u_1)&&this.g2u_1.equals(n.g2u_1)&&mi(this.h2u_1,n.h2u_1)&&mi(this.i2u_1,n.i2u_1))},pO.$metadata$=_i("CallCreate",[uO]),lO.prototype.toString=function(){return"CallMemberMediaTimeout(callId="+this.l2u_1+")"},lO.prototype.hashCode=function(){return Ci(this.l2u_1)},lO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof lO))return!1;var n=t instanceof lO?t:li();return this.l2u_1===n.l2u_1},lO.$metadata$=_i("CallMemberMediaTimeout",[uO]),fO.prototype.toString=function(){return"InviteCleanup(callId="+this.m2u_1+")"},fO.prototype.hashCode=function(){return Ci(this.m2u_1)},fO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof fO))return!1;var n=t instanceof fO?t:li();return this.m2u_1===n.m2u_1},fO.$metadata$=_i("InviteCleanup",[uO]),hO.prototype.s2t=function(){return this.n2u_1},hO.prototype.a2u=function(){return this.o2u_1},hO.prototype.toString=function(){return"MemberJoinInfo(conversationId="+this.n2u_1+", memberId="+this.o2u_1+")"},hO.prototype.hashCode=function(){var t=Ci(this.n2u_1);return t=si(t,31)+Ci(this.o2u_1)|0},hO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof hO))return!1;var n=t instanceof hO?t:li();return this.n2u_1===n.n2u_1&&this.o2u_1===n.o2u_1},hO.$metadata$=_i("MemberJoinInfo"),xO.$metadata$=_i("VoiceChannelType",void 0,void 0,void 0,void 0,uu.prototype),OO.prototype.c11=function(){return this.p2u_1.s1()},OO.prototype.ur=function(t){return this.c11()},OO.$metadata$=ai("Companion",[Qi]),RO.$metadata$=_i("ChannelEndpoint",void 0,void 0,{0:EO}),PO.prototype.c11=function(){return NO()},PO.$metadata$=ai("Companion"),AO.prototype.fg=function(){return this.q2u_1},AO.prototype.ar=function(){return[xi(),new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO())]},AO.prototype.hg=function(t){var n=this.q2u_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;break;default:throw Oi(r)}return s.nj(n),BO(o,i,u,null)},AO.prototype.r2u=function(t,n){var e=this.q2u_1,r=t.mj(e);r.zk(e,0,n.n1g_1),!r.gl(e,1)&&n.o1g_1.equals(kE())||r.al(e,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),n.o1g_1),r.nj(e)},AO.prototype.gg=function(t,n){return this.r2u(t,n instanceof MO?n:li())},AO.$metadata$=ai("$serializer",[Ri]),MO.prototype.s2u=function(){return this.n1g_1},MO.prototype.w2s=function(){return this.o1g_1},MO.prototype.toString=function(){return"PhoneChannelEndpoint(number="+this.n1g_1+")"},MO.prototype.hashCode=function(){return Ci(this.n1g_1)},MO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof MO))return!1;var n=t instanceof MO?t:li();return this.n1g_1===n.n1g_1},MO.$metadata$=_i("PhoneChannelEndpoint",void 0,void 0,{0:NO},void 0,RO.prototype),FO.prototype.c11=function(){return UO()},FO.$metadata$=ai("Companion"),JO.prototype.fg=function(){return this.t2u_1},JO.prototype.ar=function(){return[xi(),new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO())]},JO.prototype.hg=function(t){var n=this.t2u_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;break;default:throw Oi(r)}return s.nj(n),VO(o,i,u,null)},JO.prototype.u2u=function(t,n){var e=this.t2u_1,r=t.mj(e);r.zk(e,0,n.p1g_1),!r.gl(e,1)&&n.q1g_1.equals(jE())||r.al(e,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),n.q1g_1),r.nj(e)},JO.prototype.gg=function(t,n){return this.u2u(t,n instanceof KO?n:li())},JO.$metadata$=ai("$serializer",[Ri]),KO.prototype.i1m=function(){return this.p1g_1},KO.prototype.w2s=function(){return this.q1g_1},KO.prototype.toString=function(){return"AppChannelEndpoint(user="+this.p1g_1+")"},KO.prototype.hashCode=function(){return Ci(this.p1g_1)},KO.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof KO))return!1;var n=t instanceof KO?t:li();return this.p1g_1===n.p1g_1},KO.$metadata$=_i("AppChannelEndpoint",void 0,void 0,{0:UO},void 0,RO.prototype),GO.prototype.w2s=function(){return this.v2u_1},GO.prototype.c11=function(){return this.w2u_1.s1()},GO.prototype.ur=function(t){return this.c11()},GO.$metadata$=ai("AppChannelEndpointNoUser",[Qi],void 0,{0:XO},void 0,RO.prototype),YO.prototype.c11=function(){return tE()},YO.$metadata$=ai("Companion"),QO.prototype.fg=function(){return this.x2u_1},QO.prototype.ar=function(){return[xi(),Ai(xi()),Ai(xi()),new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO())]},QO.prototype.hg=function(t){var n=this.x2u_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=t.mj(n);if(c.ak())i=c.wj(n,0),o|=1,u=c.zj(n,1,xi(),u),o|=2,s=c.zj(n,2,xi(),s),o|=4,a=c.xj(n,3,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),a),o|=8;else for(;e;)switch(r=c.bk(n)){case-1:e=!1;break;case 0:i=c.wj(n,0),o|=1;break;case 1:u=c.zj(n,1,xi(),u),o|=2;break;case 2:s=c.zj(n,2,xi(),s),o|=4;break;case 3:a=c.xj(n,3,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),a),o|=8;break;default:throw Oi(r)}return c.nj(n),eE(o,i,u,s,a,null)},QO.prototype.y2u=function(t,n){var e=this.x2u_1,r=t.mj(e);r.zk(e,0,n.h1g_1),(r.gl(e,1)||null!=n.i1g_1)&&r.cl(e,1,xi(),n.i1g_1),(r.gl(e,2)||null!=n.j1g_1)&&r.cl(e,2,xi(),n.j1g_1),!r.gl(e,3)&&n.k1g_1.equals(qE())||r.al(e,3,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),n.k1g_1),r.nj(e)},QO.prototype.gg=function(t,n){return this.y2u(t,n instanceof rE?n:li())},QO.$metadata$=ai("$serializer",[Ri]),rE.prototype.z2u=function(){return this.h1g_1},rE.prototype.a2v=function(){return this.i1g_1},rE.prototype.w2s=function(){return this.k1g_1},rE.prototype.toString=function(){return"SipChannelEndpoint(uri="+this.h1g_1+", username="+this.i1g_1+", password="+this.j1g_1+")"},rE.prototype.hashCode=function(){var t=Ci(this.h1g_1);return t=si(t,31)+(null==this.i1g_1?0:Ci(this.i1g_1))|0,t=si(t,31)+(null==this.j1g_1?0:Ci(this.j1g_1))|0},rE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof rE))return!1;var n=t instanceof rE?t:li();return this.h1g_1===n.h1g_1&&this.i1g_1==n.i1g_1&&this.j1g_1==n.j1g_1},rE.$metadata$=_i("SipChannelEndpoint",void 0,void 0,{0:tE},void 0,RO.prototype),oE.prototype.c11=function(){return sE()},oE.$metadata$=ai("Companion"),uE.prototype.fg=function(){return this.b2v_1},uE.prototype.ar=function(){return[xi(),new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO())]},uE.prototype.hg=function(t){var n=this.b2v_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.wj(n,0),o|=1,u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.wj(n,0),o|=1;break;case 1:u=s.xj(n,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),u),o|=2;break;default:throw Oi(r)}return s.nj(n),cE(o,i,u,null)},uE.prototype.c2v=function(t,n){var e=this.b2v_1,r=t.mj(e);r.zk(e,0,n.l1g_1),!r.gl(e,1)&&n.m1g_1.equals(CE())||r.al(e,1,new Zi("com.vonage.clientcore.core.conversation.VoiceChannelType",CO()),n.m1g_1),r.nj(e)},uE.prototype.gg=function(t,n){return this.c2v(t,n instanceof pE?n:li())},uE.$metadata$=ai("$serializer",[Ri]),pE.prototype.z2u=function(){return this.l1g_1},pE.prototype.w2s=function(){return this.m1g_1},pE.prototype.toString=function(){return"WebSocketChannelEndpoint(uri="+this.l1g_1+")"},pE.prototype.hashCode=function(){return Ci(this.l1g_1)},pE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof pE))return!1;var n=t instanceof pE?t:li();return this.l1g_1===n.l1g_1},pE.$metadata$=_i("WebSocketChannelEndpoint",void 0,void 0,{0:sE},void 0,RO.prototype),ai("Companion"),lE.prototype.fg=function(){return this.d2v_1},lE.prototype.ar=function(){return[Ai(xi()),xi()]},lE.prototype.hg=function(t){var n=this.d2v_1,e=!0,r=0,o=0,i=null,u=null,s=t.mj(n);if(s.ak())i=s.zj(n,0,xi(),i),o|=1,u=s.wj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.zj(n,0,xi(),i),o|=1;break;case 1:u=s.wj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),_E(o,i,u,null)},lE.prototype.e2v=function(t,n){var e=this.d2v_1,r=t.mj(e);(r.gl(e,0)||null!=n.y2l_1)&&r.cl(e,0,xi(),n.y2l_1),(r.gl(e,1)||n.z2l_1!==jE().d4_1)&&r.zk(e,1,n.z2l_1),r.nj(e)},lE.prototype.gg=function(t,n){return this.e2v(t,n instanceof yE?n:li())},lE.$metadata$=ai("$serializer",[Ri]),yE.prototype.toString=function(){return"DTMFChannel(id="+this.y2l_1+", type="+this.z2l_1+")"},yE.prototype.hashCode=function(){var t=null==this.y2l_1?0:Ci(this.y2l_1);return t=si(t,31)+Ci(this.z2l_1)|0},yE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof yE))return!1;var n=t instanceof yE?t:li();return this.y2l_1==n.y2l_1&&this.z2l_1===n.z2l_1},yE.$metadata$=_i("DTMFChannel",void 0,void 0,{0:fE}),dE.prototype.fg=function(){return this.f2v_1},dE.prototype.ar=function(){return[Ai(xi()),Ai(xi()),xi(),Ai(new Wi(xi())),Ai($E()),Ai($E())]},dE.prototype.hg=function(t){var n=this.f2v_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=null,c=null,p=null,l=t.mj(n);if(l.ak())i=l.zj(n,0,xi(),i),o|=1,u=l.zj(n,1,xi(),u),o|=2,s=l.wj(n,2),o|=4,a=l.zj(n,3,new Wi(xi()),a),o|=8,c=l.zj(n,4,$E(),c),o|=16,p=l.zj(n,5,$E(),p),o|=32;else for(;e;)switch(r=l.bk(n)){case-1:e=!1;break;case 0:i=l.zj(n,0,xi(),i),o|=1;break;case 1:u=l.zj(n,1,xi(),u),o|=2;break;case 2:s=l.wj(n,2),o|=4;break;case 3:a=l.zj(n,3,new Wi(xi()),a),o|=8;break;case 4:c=l.zj(n,4,$E(),c),o|=16;break;case 5:p=l.zj(n,5,$E(),p),o|=32;break;default:throw Oi(r)}return l.nj(n),mE(o,i,u,s,a,c,p,null)},dE.prototype.g2v=function(t,n){var e=this.f2v_1,r=t.mj(e);(r.gl(e,0)||null!=n.s2l_1)&&r.cl(e,0,xi(),n.s2l_1),(r.gl(e,1)||null!=n.t2l_1)&&r.cl(e,1,xi(),n.t2l_1),r.zk(e,2,n.u2l_1),(r.gl(e,3)||null!=n.v2l_1)&&r.cl(e,3,new Wi(xi()),n.v2l_1),(r.gl(e,4)||null!=n.w2l_1)&&r.cl(e,4,$E(),n.w2l_1),(r.gl(e,5)||null!=n.x2l_1)&&r.cl(e,5,$E(),n.x2l_1),r.nj(e)},dE.prototype.gg=function(t,n){return this.g2v(t,n instanceof bE?n:li())},dE.$metadata$=ai("$serializer",[Ri]),bE.prototype.q1m=function(){return this.s2l_1},bE.prototype.toString=function(){return"Channel(id="+this.s2l_1+", knocking_id="+this.t2l_1+", type="+this.u2l_1+", leg_ids="+this.v2l_1+", from="+this.w2l_1+", to="+this.x2l_1+")"},bE.prototype.hashCode=function(){var t=null==this.s2l_1?0:Ci(this.s2l_1);return t=si(t,31)+(null==this.t2l_1?0:Ci(this.t2l_1))|0,t=si(t,31)+Ci(this.u2l_1)|0,t=si(t,31)+(null==this.v2l_1?0:gi(this.v2l_1))|0,t=si(t,31)+(null==this.w2l_1?0:gi(this.w2l_1))|0,t=si(t,31)+(null==this.x2l_1?0:gi(this.x2l_1))|0},bE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bE))return!1;var n=t instanceof bE?t:li();return this.s2l_1==n.s2l_1&&this.t2l_1==n.t2l_1&&this.u2l_1===n.u2l_1&&!!mi(this.v2l_1,n.v2l_1)&&!!mi(this.w2l_1,n.w2l_1)&&!!mi(this.x2l_1,n.x2l_1)},bE.$metadata$=_i("Channel",void 0,void 0,{0:vE}),wE.prototype.u10=function(t){var n,e=su(t).y10("type"),r=null==e?null:au(e);switch(null==r?null:r.b11()){case"app":var o;null!=su(t).y10("user")?o=DO().c11():(DO().c11(),o=XO().c11()),n=o;break;case"phone":n=TO().c11();break;case"sip":n=ZO().c11();break;case"websocket":n=iE().c11();break;default:n=EO().c11()}return n},wE.$metadata$=ai("ChannelEndpointSerializer",void 0,void 0,void 0,void 0,ru.prototype),zE.prototype.fg=function(){return this.j2v_1},zE.prototype.ar=function(){return[xi(),xi(),Ai(xi())]},zE.prototype.hg=function(t){var n=this.j2v_1,e=!0,r=0,o=0,i=null,u=null,s=null,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.wj(n,1),o|=2,s=a.zj(n,2,xi(),s),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.wj(n,1),o|=2;break;case 2:s=a.zj(n,2,xi(),s),o|=4;break;default:throw Oi(r)}return a.nj(n),OE(o,i,u,s,null)},zE.prototype.k2v=function(t,n){var e=this.j2v_1,r=t.mj(e);r.zk(e,0,n.l2v_1),r.zk(e,1,n.m2v_1),(r.gl(e,2)||null!=n.n2v_1)&&r.cl(e,2,xi(),n.n2v_1),r.nj(e)},zE.prototype.gg=function(t,n){return this.k2v(t,n instanceof EE?n:li())},zE.$metadata$=ai("$serializer",[Ri]),EE.prototype.toString=function(){return"ConversationInfo(conversation_id="+this.l2v_1+", name="+this.m2v_1+", display_name="+this.n2v_1+")"},EE.prototype.hashCode=function(){var t=Ci(this.l2v_1);return t=si(t,31)+Ci(this.m2v_1)|0,t=si(t,31)+(null==this.n2v_1?0:Ci(this.n2v_1))|0},EE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof EE))return!1;var n=t instanceof EE?t:li();return this.l2v_1===n.l2v_1&&this.m2v_1===n.m2v_1&&this.n2v_1==n.n2v_1},EE.$metadata$=_i("ConversationInfo",void 0,void 0,{0:xE}),RE.$metadata$=ai("None",void 0,void 0,void 0,void 0,IE.prototype),TE.prototype.toString=function(){return"Prewarm(id="+this.p2v_1+")"},TE.prototype.hashCode=function(){return Ci(this.p2v_1)},TE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof TE))return!1;var n=t instanceof TE?t:li();return this.p2v_1===n.p2v_1},TE.$metadata$=_i("Prewarm",void 0,void 0,void 0,void 0,IE.prototype),AE.prototype.toString=function(){return"Started(id="+this.q2v_1+")"},AE.prototype.hashCode=function(){return Ci(this.q2v_1)},AE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof AE))return!1;var n=t instanceof AE?t:li();return this.q2v_1===n.q2v_1},AE.$metadata$=_i("Started",void 0,void 0,void 0,void 0,IE.prototype),NE.prototype.toString=function(){return"Completed(id="+this.r2v_1+", hangupReason="+this.s2v_1+")"},NE.prototype.hashCode=function(){var t=Ci(this.r2v_1);return t=si(t,31)+this.s2v_1.hashCode()|0},NE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof NE))return!1;var n=t instanceof NE?t:li();return this.r2v_1===n.r2v_1&&!!this.s2v_1.equals(n.s2v_1)},NE.$metadata$=_i("Completed",void 0,void 0,void 0,void 0,IE.prototype),IE.$metadata$=_i("LegState"),BE.$metadata$=_i("Offer",void 0,void 0,void 0,void 0,LE.prototype),ME.$metadata$=_i("Answer",void 0,void 0,void 0,void 0,LE.prototype),LE.$metadata$=_i("MediaDescription"),JE.prototype.v2v=function(t,n,e){return new JE(t,n,e)},JE.prototype.w2v=function(t,n,e,r,o){return 0!=(1&r)&&(t=this.f2t_1),0!=(2&r)&&(n=this.g2t_1),0!=(4&r)&&(e=this.h2t_1),this.v2v(t,n,e)},JE.prototype.toString=function(){return"MediaTransport(localDescription="+this.f2t_1+", remoteDescription="+this.g2t_1+", connected="+this.h2t_1+")"},JE.prototype.hashCode=function(){var t=null==this.f2t_1?0:gi(this.f2t_1);return t=si(t,31)+(null==this.g2t_1?0:gi(this.g2t_1))|0,t=si(t,31)+(0|this.h2t_1)|0},JE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof JE))return!1;var n=t instanceof JE?t:li();return!!mi(this.f2t_1,n.f2t_1)&&!!mi(this.g2t_1,n.g2t_1)&&this.h2t_1===n.h2t_1},JE.$metadata$=_i("MediaTransport"),UE.prototype.fg=function(){return this.x2v_1},UE.prototype.ar=function(){return[Ki(),Ki(),Ki()]},UE.prototype.hg=function(t){var n=this.x2v_1,e=!0,r=0,o=0,i=!1,u=!1,s=!1,a=t.mj(n);if(a.ak())i=a.oj(n,0),o|=1,u=a.oj(n,1),o|=2,s=a.oj(n,2),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.oj(n,0),o|=1;break;case 1:u=a.oj(n,1),o|=2;break;case 2:s=a.oj(n,2),o|=4;break;default:throw Oi(r)}return a.nj(n),KE(o,i,u,s,null)},UE.prototype.y2v=function(t,n){var e=this.x2v_1,r=t.mj(e);r.rk(e,0,n.z2v_1),r.rk(e,1,n.a2w_1),r.rk(e,2,n.b2w_1),r.nj(e)},UE.prototype.gg=function(t,n){return this.y2v(t,n instanceof WE?n:li())},UE.$metadata$=ai("$serializer",[Ri]),WE.prototype.toString=function(){return"UserAudio(enabled="+this.z2v_1+", earmuffed="+this.a2w_1+", muted="+this.b2w_1+")"},WE.prototype.hashCode=function(){var t=0|this.z2v_1;return t=si(t,31)+(0|this.a2w_1)|0,t=si(t,31)+(0|this.b2w_1)|0},WE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof WE))return!1;var n=t instanceof WE?t:li();return this.z2v_1===n.z2v_1&&this.a2w_1===n.a2w_1&&this.b2w_1===n.b2w_1},WE.$metadata$=_i("UserAudio",void 0,void 0,{0:HE}),GE.prototype.fg=function(){return this.c2w_1},GE.prototype.ar=function(){return[Ai(HE())]},GE.prototype.hg=function(t){var n=this.c2w_1,e=!0,r=0,o=0,i=null,u=t.mj(n);if(u.ak())i=u.zj(n,0,HE(),i),o|=1;else for(;e;)switch(r=u.bk(n)){case-1:e=!1;break;case 0:i=u.zj(n,0,HE(),i),o|=1;break;default:throw Oi(r)}return u.nj(n),ZE(o,i,null)},GE.prototype.d2w=function(t,n){var e=this.c2w_1,r=t.mj(e);r.cl(e,0,HE(),n.e2w_1),r.nj(e)},GE.prototype.gg=function(t,n){return this.d2w(t,n instanceof QE?n:li())},GE.$metadata$=ai("$serializer",[Ri]),QE.prototype.toString=function(){return"InvitedUserMedia(audio_settings="+this.e2w_1+")"},QE.prototype.hashCode=function(){return null==this.e2w_1?0:this.e2w_1.hashCode()},QE.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof QE))return!1;var n=t instanceof QE?t:li();return!!mi(this.e2w_1,n.e2w_1)},QE.$metadata$=_i("InvitedUserMedia",void 0,void 0,{0:XE}),tR.prototype.fg=function(){return this.f2w_1},tR.prototype.ar=function(){return[Ou(),Ou(),Ou(),Ou(),Ou(),Ou(),Ni(),Ni(),Ou()]},tR.prototype.hg=function(t){var n=this.f2w_1,e=!0,r=0,o=0,i=0,u=0,s=0,a=0,c=0,p=0,l=0,f=0,h=0,_=t.mj(n);if(_.ak())i=_.tj(n,0),o|=1,u=_.tj(n,1),o|=2,s=_.tj(n,2),o|=4,a=_.tj(n,3),o|=8,c=_.tj(n,4),o|=16,p=_.tj(n,5),o|=32,l=_.rj(n,6),o|=64,f=_.rj(n,7),o|=128,h=_.tj(n,8),o|=256;else for(;e;)switch(r=_.bk(n)){case-1:e=!1;break;case 0:i=_.tj(n,0),o|=1;break;case 1:u=_.tj(n,1),o|=2;break;case 2:s=_.tj(n,2),o|=4;break;case 3:a=_.tj(n,3),o|=8;break;case 4:c=_.tj(n,4),o|=16;break;case 5:p=_.tj(n,5),o|=32;break;case 6:l=_.rj(n,6),o|=64;break;case 7:f=_.rj(n,7),o|=128;break;case 8:h=_.tj(n,8),o|=256;break;default:throw Oi(r)}return _.nj(n),rR(o,i,u,s,a,c,p,l,f,h,null)},tR.prototype.g2w=function(t,n){var e=this.f2w_1,r=t.mj(e);r.wk(e,0,n.h2w_1),r.wk(e,1,n.i2w_1),r.wk(e,2,n.j2w_1),r.wk(e,3,n.k2w_1),r.wk(e,4,n.l2w_1),r.wk(e,5,n.m2w_1),r.uk(e,6,n.n2w_1),r.uk(e,7,n.o2w_1),r.wk(e,8,n.p2w_1),r.nj(e)},tR.prototype.gg=function(t,n){return this.g2w(t,n instanceof oR?n:li())},tR.$metadata$=ai("$serializer",[Ri]),oR.prototype.toString=function(){return"RTCQuality(mos_score="+this.h2w_1+", quality_percentage="+this.i2w_1+", jitter_min_var="+this.j2w_1+", jitter_max_var="+this.k2w_1+", jitter_loss_rate="+this.l2w_1+", jitter_burst_rate="+this.m2w_1+", flaw_total="+this.n2w_1+", packet_cnt="+this.o2w_1+", packet_loss_perc="+this.p2w_1+")"},oR.prototype.hashCode=function(){var t=eu(this.h2w_1);return t=si(t,31)+eu(this.i2w_1)|0,t=si(t,31)+eu(this.j2w_1)|0,t=si(t,31)+eu(this.k2w_1)|0,t=si(t,31)+eu(this.l2w_1)|0,t=si(t,31)+eu(this.m2w_1)|0,t=si(t,31)+this.n2w_1|0,t=si(t,31)+this.o2w_1|0,t=si(t,31)+eu(this.p2w_1)|0},oR.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof oR))return!1;var n=t instanceof oR?t:li();return!!(mi(this.h2w_1,n.h2w_1)&&mi(this.i2w_1,n.i2w_1)&&mi(this.j2w_1,n.j2w_1)&&mi(this.k2w_1,n.k2w_1)&&mi(this.l2w_1,n.l2w_1)&&mi(this.m2w_1,n.m2w_1)&&this.n2w_1===n.n2w_1&&this.o2w_1===n.o2w_1&&mi(this.p2w_1,n.p2w_1))},oR.$metadata$=_i("RTCQuality",void 0,void 0,{0:nR}),uR.prototype.c11=function(){return this.q2w_1.s1()},uR.prototype.ur=function(t){return this.c11()},uR.$metadata$=ai("Companion",[Qi]),aR.prototype.fg=function(){return this.r2w_1},aR.prototype.ar=function(){return[]},aR.prototype.hg=function(t){return pR()[t.ij(this.r2w_1)]},aR.prototype.s2w=function(t,n){t.pk(this.r2w_1,n.e4_1)},aR.prototype.gg=function(t,n){return this.s2w(t,n instanceof fR?n:li())},aR.$metadata$=ai("$serializer",[Ri]),fR.$metadata$=_i("CallCompleteReason",void 0,void 0,{0:cR},void 0,uu.prototype),hR.prototype.fg=function(){return this.t2w_1},hR.prototype.ar=function(){return[xi(),mR(),Ni()]},hR.prototype.hg=function(t){var n=this.t2w_1,e=!0,r=0,o=0,i=null,u=null,s=0,a=t.mj(n);if(a.ak())i=a.wj(n,0),o|=1,u=a.xj(n,1,mR(),u),o|=2,s=a.rj(n,2),o|=4;else for(;e;)switch(r=a.bk(n)){case-1:e=!1;break;case 0:i=a.wj(n,0),o|=1;break;case 1:u=a.xj(n,1,mR(),u),o|=2;break;case 2:s=a.rj(n,2),o|=4;break;default:throw Oi(r)}return a.nj(n),dR(o,i,u,s,null)},hR.prototype.u2w=function(t,n){var e=this.t2w_1,r=t.mj(e);r.zk(e,0,n.k2s_1),r.al(e,1,mR(),n.l2s_1),r.uk(e,2,n.m2s_1),r.nj(e)},hR.prototype.gg=function(t,n){return this.u2w(t,n instanceof vR?n:li())},hR.$metadata$=ai("$serializer",[Ri]),vR.prototype.toString=function(){return"RTCHangupReason(text="+this.k2s_1+", code="+this.l2s_1+", sip_code="+this.m2s_1+")"},vR.prototype.hashCode=function(){var t=Ci(this.k2s_1);return t=si(t,31)+this.l2s_1.hashCode()|0,t=si(t,31)+this.m2s_1|0},vR.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof vR))return!1;var n=t instanceof vR?t:li();return this.k2s_1===n.k2s_1&&!!this.l2s_1.equals(n.l2s_1)&&this.m2s_1===n.m2s_1},vR.$metadata$=_i("RTCHangupReason",void 0,void 0,{0:_R}),gR.prototype.fg=function(){return this.v2w_1},gR.prototype.hg=function(t){switch(t.hj()){case"LOCAL_HANGUP":return qR();case"REMOTE_HANGUP":case"REMOTE_NO_ANSWER":case"REMOTE_REJECTED":case"REMOTE_BUSY":case"REMOTE_CANCEL":case"REMOTE_NOT_FOUND":case"REMOTE_FAILURE":return zR();case"LOCAL_CANCEL":return CR();case"LENGTH_TIMER":return xR();case"RING_TIMER":return SR();default:return ER()}},gR.prototype.s2w=function(t,n){t.ok(n.d4_1)},gR.prototype.gg=function(t,n){return this.s2w(t,n instanceof fR?n:li())},gR.$metadata$=ai("CallCompleteReasonSerialiser",[ki]),bR.prototype.fg=function(){return this.w2w_1},bR.prototype.ar=function(){return[Ni(),Ni()]},bR.prototype.hg=function(t){var n=this.w2w_1,e=!0,r=0,o=0,i=0,u=0,s=t.mj(n);if(s.ak())i=s.rj(n,0),o|=1,u=s.rj(n,1),o|=2;else for(;e;)switch(r=s.bk(n)){case-1:e=!1;break;case 0:i=s.rj(n,0),o|=1;break;case 1:u=s.rj(n,1),o|=2;break;default:throw Oi(r)}return s.nj(n),jR(o,i,u,null)},bR.prototype.x2w=function(t,n){var e=this.w2w_1,r=t.mj(e);r.uk(e,0,n.y2w_1),r.uk(e,1,n.z2w_1),r.nj(e)},bR.prototype.gg=function(t,n){return this.x2w(t,n instanceof kR?n:li())},bR.$metadata$=ai("$serializer",[Ri]),kR.prototype.toString=function(){return"RTCBandwidth(bytes_in="+this.y2w_1+", bytes_out="+this.z2w_1+")"},kR.prototype.hashCode=function(){var t=this.y2w_1;return t=si(t,31)+this.z2w_1|0},kR.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kR))return!1;var n=t instanceof kR?t:li();return this.y2w_1===n.y2w_1&&this.z2w_1===n.z2w_1},kR.$metadata$=_i("RTCBandwidth",void 0,void 0,{0:wR}),LR.prototype.x1a=function(){return this.f2x_1},LR.prototype.w1a=function(){return this.g2x_1},LR.$metadata$=_i(void 0,[Lu]),UR.prototype.j2x=function(t,n,e,r,o){var i=this.i2x_1;if(i.n1a_1.w1a().g4(di())<=0){var u,s=di(),a=i.m1a();u="request() "+t+" "+n+"\nheaders:"+e+"\nbody:"+r,i.v1a(s,a,null,u)}this.h2x_1.j2x(t,n,e,r,o)},UR.$metadata$=_i("HTTPClientLogger",[XT]),HR.prototype.m2x=function(t){this.k2x_1.m2x(t)},HR.prototype.n2x=function(t,n,e){var r=this.l2x_1;if(r.n1a_1.w1a().g4(di())<=0){var o,i=di(),u=r.m1a();o="emit() "+t+" "+n,r.v1a(i,u,null,o)}this.k2x_1.n2x(t,n,e)},HR.prototype.o2x=function(t,n,e,r,o,i,u,s){var a=this.l2x_1;if(a.n1a_1.w1a().g4(di())<=0){var c,p=di(),l=a.m1a();c="connect() session_id:"+u+" host: "+t+" path: "+n+" reconnectionAttempts: "+vi(e)+" reconnectionDelay: "+vi(r)+" randomizationFactor: "+vi(o)+" ",a.v1a(p,l,null,c)}this.k2x_1.o2x(t,n,e,r,o,i,u,s)},HR.prototype.p2x=function(){var t=this.l2x_1;if(t.n1a_1.w1a().g4(di())<=0){var n,e=di(),r=t.m1a();n="disconnect()",t.v1a(e,r,null,n)}this.k2x_1.p2x()},HR.prototype.q2x=function(t){var n=this.l2x_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e="setConnectParamsSocketConfig() token: <token>",n.v1a(r,o,null,e)}this.k2x_1.q2x(t)},HR.prototype.r2x=function(t,n){var e=this.l2x_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r="startVerifyResponseTimer() "+vi(t),e.v1a(o,i,null,r)}this.k2x_1.r2x(t,n)},HR.$metadata$=_i("SocketClientLogger",[OA]),VR.prototype.u2x=function(t){this.s2x_1.u2x(t)},VR.prototype.v2x=function(t){var n=this.t2x_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e="enableMedia()",n.v1a(r,o,null,e)}this.s2x_1.v2x(t)},VR.prototype.w2x=function(t,n,e){var r=this.t2x_1;if(r.n1a_1.w1a().g4(di())<=0){var o,i=di(),u=r.m1a();o="enableMedia() "+n,r.v1a(i,u,null,o)}this.s2x_1.w2x(t,n,e)},VR.prototype.x2x=function(t,n){var e=this.t2x_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r="processAnswer() "+t,e.v1a(o,i,null,r)}this.s2x_1.x2x(t,n)},VR.prototype.y2x=function(t){var n=this.t2x_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e="disableMedia() "+t,n.v1a(r,o,null,e)}this.s2x_1.y2x(t)},VR.prototype.z2x=function(t){var n=this.t2x_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e="mute() "+t,n.v1a(r,o,null,e)}this.s2x_1.z2x(t)},VR.prototype.a2y=function(t){var n=this.t2x_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e="unmute() "+t,n.v1a(r,o,null,e)}this.s2x_1.a2y(t)},VR.prototype.b2y=function(t,n){var e=this.t2x_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r="enableRtcStatsCollection() "+n,e.v1a(o,i,null,r)}this.s2x_1.b2y(t,n)},VR.$metadata$=_i("MediaClientLogger",[gA]),tP.prototype.b1c=function(t,n,e){var r=this.d2y_1;if(r.n1a_1.w1a().g4(di())<=0){var o,i=di(),u=r.m1a();o=KR(this).callableName+"() params: <token>, "+n,r.v1a(i,u,null,o)}this.c2y_1.b1c(t,n,AR(e,this.d2y_1,WR(this).callableName))},tP.prototype.c1c=function(t){var n=this.d2y_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e=GR(this).callableName+"()",n.v1a(r,o,null,e)}this.c2y_1.c1c(NR(t,this.d2y_1,XR(this).callableName))},tP.prototype.d1c=function(t,n){var e=this.d2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=YR(this).callableName+"() params: <token>",e.v1a(o,i,null,r)}this.c2y_1.d1c(t,NR(n,this.d2y_1,ZR(this).callableName))},tP.prototype.b1b=function(t){var n=this.d2y_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e=QR(this).callableName+"() params: "+t,n.v1a(r,o,null,e)}this.c2y_1.b1b(new CP(t,this.d2y_1))},tP.$metadata$=_i("SessionAPILogger",[qx]),$P.prototype.e1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=this.g2y_1+" params: "+t,e.v1a(o,i,null,r)}this.e2y_1.e1b(t,AR(n,this.f2y_1,this.g2y_1))},$P.prototype.f1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=nP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.f1b(t,NR(n,this.f2y_1,eP(this).callableName))},$P.prototype.g1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=rP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.g1b(t,AR(n,this.f2y_1,oP(this).callableName))},$P.prototype.h1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=iP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.h1b(t,NR(n,this.f2y_1,uP(this).callableName))},$P.prototype.i1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=sP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.i1b(t,NR(n,this.f2y_1,aP(this).callableName))},$P.prototype.j1b=function(t,n,e,r){var o=this.f2y_1;if(o.n1a_1.w1a().g4(di())<=0){var i,u=di(),s=o.m1a();i="hangupCall() params: "+t+", "+n+", "+e,o.v1a(u,s,null,i)}this.e2y_1.j1b(t,n,e,NR(r,this.f2y_1,"hangupCall"))},$P.prototype.k1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=cP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.k1b(t,NR(n,this.f2y_1,pP(this).callableName))},$P.prototype.l1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=lP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.l1b(t,NR(n,this.f2y_1,fP(this).callableName))},$P.prototype.m1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=hP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.m1b(t,NR(n,this.f2y_1,_P(this).callableName))},$P.prototype.n1b=function(t,n){var e=this.f2y_1;if(e.n1a_1.w1a().g4(di())<=0){var r,o=di(),i=e.m1a();r=yP(this).callableName+"() params: "+t,e.v1a(o,i,null,r)}this.e2y_1.n1b(t,NR(n,this.f2y_1,dP(this).callableName))},$P.prototype.o1b=function(t,n,e){var r=this.f2y_1;if(r.n1a_1.w1a().g4(di())<=0){var o,i=di(),u=r.m1a();o=vP(this).callableName+"() params: "+t+", "+n,r.v1a(i,u,null,o)}this.e2y_1.o1b(t,n,NR(e,this.f2y_1,gP(this).callableName))},$P.prototype.p1b=function(t,n,e,r,o,i,u,s){var a=this.f2y_1;if(a.n1a_1.w1a().g4(di())<=0){var c,p=di(),l=a.m1a();c=mP(this).callableName+"() params: "+t+", "+n+", "+e+", "+r+", "+o+", "+i+", "+u,a.v1a(p,l,null,c)}this.e2y_1.p1b(t,n,e,r,o,i,u,NR(s,this.f2y_1,bP(this).callableName))},$P.prototype.d1b=function(t){var n=this.f2y_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e=wP(this).callableName+"() params: "+t,n.v1a(r,o,null,e)}this.e2y_1.d1b(t)},$P.$metadata$=_i("VoiceAPILogger",[Zx]),CP.prototype.r2q=function(){var t=this.i2y_1;if(t.n1a_1.w1a().g4(di())<=0){var n,e=di(),r=t.m1a();n=jP(this).callableName+"()",t.v1a(e,r,null,n)}this.h2y_1.r2q()},CP.prototype.s2q=function(){var t=this.i2y_1;if(t.n1a_1.w1a().g4(di())<=0){var n,e=di(),r=t.m1a();n=kP(this).callableName+"()",t.v1a(e,r,null,n)}this.h2y_1.s2q()},CP.prototype.t2q=function(t){var n=this.i2y_1;if(n.n1a_1.w1a().g4(di())<=0){var e,r=di(),o=n.m1a();e=qP(this).callableName+"() params: "+t.d4_1,n.v1a(r,o,null,e)}this.h2y_1.t2q(t)},CP.$metadata$=_i("SessionAPIListenerLogger",[$x]),xP.prototype.toString=function(){return"CallbackAction(fn="+this.j2y_1+", value="+Ii(this.k2y_1)+")"},xP.prototype.hashCode=function(){var t=gi(this.j2y_1);return t=si(t,31)+(null==this.k2y_1?0:gi(this.k2y_1))|0},xP.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xP))return!1;var n=t instanceof xP?t:li();return!!mi(this.j2y_1,n.j2y_1)&&!!mi(this.k2y_1,n.k2y_1)},xP.$metadata$=_i("CallbackAction",[oB]),PP.prototype.o2y=function(){return this.l2y_1},PP.prototype.r1h=function(){return this.m2y_1},PP.prototype.q1m=function(){return this.n2y_1},PP.$metadata$=_i("BufferedSocketEvent",[oB]),gT.prototype.r2y=function(){return"/"+this.q2y_1+"/users/"+this.p2y_1+"/conversations"},gT.prototype.toString=function(){return"UserConversations(uid="+this.p2y_1+", version="+this.q2y_1+")"},gT.prototype.hashCode=function(){var t=Ci(this.p2y_1);return t=si(t,31)+Ci(this.q2y_1)|0},gT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gT))return!1;var n=t instanceof gT?t:li();return this.p2y_1===n.p2y_1&&this.q2y_1===n.q2y_1},gT.$metadata$=_i("UserConversations",void 0,void 0,void 0,void 0,PT.prototype),mT.prototype.r2y=function(){return"/"+this.t2y_1+"/users/"+this.s2y_1},mT.prototype.toString=function(){return"User(userIdOrName="+this.s2y_1+", version="+this.t2y_1+")"},mT.prototype.hashCode=function(){var t=Ci(this.s2y_1);return t=si(t,31)+Ci(this.t2y_1)|0},mT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof mT))return!1;var n=t instanceof mT?t:li();return this.s2y_1===n.s2y_1&&this.t2y_1===n.t2y_1},mT.$metadata$=_i("User",void 0,void 0,void 0,void 0,PT.prototype),bT.prototype.r2y=function(){return"/"+this.v2y_1+"/conversations/"+this.u2y_1+"/members"},bT.prototype.toString=function(){return"ConversationMembers(cid="+this.u2y_1+", version="+this.v2y_1+")"},bT.prototype.hashCode=function(){var t=Ci(this.u2y_1);return t=si(t,31)+Ci(this.v2y_1)|0},bT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bT))return!1;var n=t instanceof bT?t:li();return this.u2y_1===n.u2y_1&&this.v2y_1===n.v2y_1},bT.$metadata$=_i("ConversationMembers",void 0,void 0,void 0,void 0,PT.prototype),wT.prototype.r2y=function(){return"/"+this.y2y_1+"/conversations/"+this.w2y_1+"/members/"+this.x2y_1},wT.prototype.toString=function(){return"ConversationMember(cid="+this.w2y_1+", mid="+this.x2y_1+", version="+this.y2y_1+")"},wT.prototype.hashCode=function(){var t=Ci(this.w2y_1);return t=si(t,31)+Ci(this.x2y_1)|0,t=si(t,31)+Ci(this.y2y_1)|0},wT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof wT))return!1;var n=t instanceof wT?t:li();return this.w2y_1===n.w2y_1&&this.x2y_1===n.x2y_1&&this.y2y_1===n.y2y_1},wT.$metadata$=_i("ConversationMember",void 0,void 0,void 0,void 0,PT.prototype),$T.prototype.r2y=function(){return"/"+this.z2y_1+"/conversations"},$T.prototype.toString=function(){return"Conversations(version="+this.z2y_1+")"},$T.prototype.hashCode=function(){return Ci(this.z2y_1)},$T.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof $T))return!1;var n=t instanceof $T?t:li();return this.z2y_1===n.z2y_1},$T.$metadata$=_i("Conversations",void 0,void 0,void 0,void 0,PT.prototype),jT.prototype.r2y=function(){return"/"+this.b2z_1+"/conversations/"+this.a2z_1},jT.prototype.toString=function(){return"Conversation(cid="+this.a2z_1+", version="+this.b2z_1+")"},jT.prototype.hashCode=function(){var t=Ci(this.a2z_1);return t=si(t,31)+Ci(this.b2z_1)|0},jT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof jT))return!1;var n=t instanceof jT?t:li();return this.a2z_1===n.a2z_1&&this.b2z_1===n.b2z_1},jT.$metadata$=_i("Conversation",void 0,void 0,void 0,void 0,PT.prototype),kT.prototype.r2y=function(){return"/"+this.d2z_1+"/conversations/"+this.c2z_1+"/events"},kT.prototype.toString=function(){return"ConversationEvents(cid="+this.c2z_1+", version="+this.d2z_1+")"},kT.prototype.hashCode=function(){var t=Ci(this.c2z_1);return t=si(t,31)+Ci(this.d2z_1)|0},kT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof kT))return!1;var n=t instanceof kT?t:li();return this.c2z_1===n.c2z_1&&this.d2z_1===n.d2z_1},kT.$metadata$=_i("ConversationEvents",void 0,void 0,void 0,void 0,PT.prototype),qT.prototype.r2y=function(){return"/"+this.g2z_1+"/conversations/"+this.e2z_1+"/rtc/"+this.f2z_1+"/offer"},qT.prototype.toString=function(){return"RtcReconnect(cid="+this.e2z_1+", reconnectRtcId="+this.f2z_1+", version="+this.g2z_1+")"},qT.prototype.hashCode=function(){var t=Ci(this.e2z_1);return t=si(t,31)+Ci(this.f2z_1)|0,t=si(t,31)+Ci(this.g2z_1)|0},qT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qT))return!1;var n=t instanceof qT?t:li();return this.e2z_1===n.e2z_1&&this.f2z_1===n.f2z_1&&this.g2z_1===n.g2z_1},qT.$metadata$=_i("RtcReconnect",void 0,void 0,void 0,void 0,PT.prototype),CT.prototype.r2y=function(){return"/"+this.i2z_1+"/conversations/"+this.h2z_1+"/members/me"},CT.prototype.toString=function(){return"ConversationMemberMe(cid="+this.h2z_1+", version="+this.i2z_1+")"},CT.prototype.hashCode=function(){var t=Ci(this.h2z_1);return t=si(t,31)+Ci(this.i2z_1)|0},CT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof CT))return!1;var n=t instanceof CT?t:li();return this.h2z_1===n.h2z_1&&this.i2z_1===n.i2z_1},CT.$metadata$=_i("ConversationMemberMe",void 0,void 0,void 0,void 0,PT.prototype),zT.prototype.r2y=function(){return"/"+this.k2z_1+"/legs/"+this.j2z_1},zT.prototype.toString=function(){return"Leg(legId="+this.j2z_1+", version="+this.k2z_1+")"},zT.prototype.hashCode=function(){var t=Ci(this.j2z_1);return t=si(t,31)+Ci(this.k2z_1)|0},zT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zT))return!1;var n=t instanceof zT?t:li();return this.j2z_1===n.j2z_1&&this.k2z_1===n.k2z_1},zT.$metadata$=_i("Leg",void 0,void 0,void 0,void 0,PT.prototype),xT.prototype.r2y=function(){return"/"+this.l2z_1+"/knocking"},xT.prototype.toString=function(){return"Knockers(version="+this.l2z_1+")"},xT.prototype.hashCode=function(){return Ci(this.l2z_1)},xT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xT))return!1;var n=t instanceof xT?t:li();return this.l2z_1===n.l2z_1},xT.$metadata$=_i("Knockers",void 0,void 0,void 0,void 0,PT.prototype),ST.prototype.r2y=function(){return"/"+this.n2z_1+"/knocking/"+this.m2z_1},ST.prototype.toString=function(){return"Knocker(knockingId="+this.m2z_1+", version="+this.n2z_1+")"},ST.prototype.hashCode=function(){var t=Ci(this.m2z_1);return t=si(t,31)+Ci(this.n2z_1)|0},ST.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ST))return!1;var n=t instanceof ST?t:li();return this.m2z_1===n.m2z_1&&this.n2z_1===n.n2z_1},ST.$metadata$=_i("Knocker",void 0,void 0,void 0,void 0,PT.prototype),OT.prototype.r2y=function(){return"/"+this.o2z_1+"/legs"},OT.prototype.toString=function(){return"Legs(version="+this.o2z_1+")"},OT.prototype.hashCode=function(){return Ci(this.o2z_1)},OT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof OT))return!1;var n=t instanceof OT?t:li();return this.o2z_1===n.o2z_1},OT.$metadata$=_i("Legs",void 0,void 0,void 0,void 0,PT.prototype),ET.prototype.r2y=function(){return"/"+this.q2z_1+"/sessions/"+this.p2z_1},ET.prototype.toString=function(){return"Sessions(sessionId="+this.p2z_1+", version="+this.q2z_1+")"},ET.prototype.hashCode=function(){var t=Ci(this.p2z_1);return t=si(t,31)+Ci(this.q2z_1)|0},ET.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ET))return!1;var n=t instanceof ET?t:li();return this.p2z_1===n.p2z_1&&this.q2z_1===n.q2z_1},ET.$metadata$=_i("Sessions",void 0,void 0,void 0,void 0,PT.prototype),RT.prototype.r2y=function(){return"/"+this.t2z_1+"/conversations/"+this.r2z_1+"/rtc/"+this.s2z_1+"/answer"},RT.prototype.toString=function(){return"RTCAnswer(cid="+this.r2z_1+", rtc_id="+this.s2z_1+", version="+this.t2z_1+")"},RT.prototype.hashCode=function(){var t=Ci(this.r2z_1);return t=si(t,31)+Ci(this.s2z_1)|0,t=si(t,31)+Ci(this.t2z_1)|0},RT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof RT))return!1;var n=t instanceof RT?t:li();return this.r2z_1===n.r2z_1&&this.s2z_1===n.s2z_1&&this.t2z_1===n.t2z_1},RT.$metadata$=_i("RTCAnswer",void 0,void 0,void 0,void 0,PT.prototype),PT.$metadata$=_i("CSEndPoints",[tA]),TT.prototype.r2y=function(){return"/"+this.u2z_1+"/rtc/metrics"},TT.prototype.toString=function(){return"Metrics(version="+this.u2z_1+")"},TT.prototype.hashCode=function(){return Ci(this.u2z_1)},TT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof TT))return!1;var n=t instanceof TT?t:li();return this.u2z_1===n.u2z_1},TT.$metadata$=_i("Metrics",void 0,void 0,void 0,void 0,AT.prototype),AT.$metadata$=_i("CapiEndpoints",[tA]),HT.$metadata$=_i("HTTPMethod",void 0,void 0,void 0,void 0,uu.prototype),XT.$metadata$=ci("HTTPClient"),YT.$metadata$=_i("HTTPClientError",void 0,void 0,void 0,void 0,Yi.prototype),ZT.prototype.k20=function(){return this.w2z_1},ZT.prototype.toString=function(){return"HTTPClientResponse(statusCode="+this.v2z_1+", body="+this.w2z_1+")"},ZT.prototype.hashCode=function(){var t=this.v2z_1;return t=si(t,31)+(null==this.w2z_1?0:Ci(this.w2z_1))|0},ZT.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof ZT))return!1;var n=t instanceof ZT?t:li();return this.v2z_1===n.v2z_1&&this.w2z_1==n.w2z_1},ZT.$metadata$=_i("HTTPClientResponse"),tA.$metadata$=ci("HttpEndpoints"),nA.prototype.r2y=function(){return"/prod/logging/nexmo_client_js_stats"},nA.$metadata$=ai("RTCStats",void 0,void 0,void 0,void 0,rA.prototype),rA.$metadata$=_i("RtcStatsEndpoints",[tA]),aA.prototype.k30=function(t){var n=Bi(this.y2z_1.b2i(qi(KN))).w2r_1.g2(t.i30_1),e=null==n?null:n.l2r_1,r=null==e?null:e.s1();r instanceof zI||r instanceof CI?uA(this,t,(null!=r&&fi(r,OI)?r:li()).r1h(),r.l30()):sA(this,t,null,null,12)},aA.prototype.m30=function(t,n){this.y2z_1.j1d(ZI(new z$(t,n)))},aA.$metadata$=_i(void 0,[mA]),gA.$metadata$=ci("MediaClient"),mA.$metadata$=ci("MediaClientDelegate"),bA.prototype.toString=function(){return"RTCStats(audioRecvPackets="+Ii(this.z2z_1)+", audioRecvPacketsLost="+Ii(this.a30_1)+", audioRecvBytes="+Ii(this.b30_1)+", audioRecvJitter="+Ii(this.c30_1)+", audioSentPackets="+Ii(this.d30_1)+", audioSentBytes="+Ii(this.e30_1)+", audioSentPacketsLost="+Ii(this.f30_1)+", audioRtt="+Ii(this.g30_1)+", audioSentJitter="+Ii(this.h30_1)+", legId="+this.i30_1+")"},bA.prototype.hashCode=function(){var t=null==this.z2z_1?0:gi(this.z2z_1);return t=si(t,31)+(null==this.a30_1?0:gi(this.a30_1))|0,t=si(t,31)+(null==this.b30_1?0:gi(this.b30_1))|0,t=si(t,31)+(null==this.c30_1?0:gi(this.c30_1))|0,t=si(t,31)+(null==this.d30_1?0:gi(this.d30_1))|0,t=si(t,31)+(null==this.e30_1?0:gi(this.e30_1))|0,t=si(t,31)+(null==this.f30_1?0:gi(this.f30_1))|0,t=si(t,31)+(null==this.g30_1?0:gi(this.g30_1))|0,t=si(t,31)+(null==this.h30_1?0:gi(this.h30_1))|0,t=si(t,31)+Ci(this.i30_1)|0},bA.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof bA))return!1;var n=t instanceof bA?t:li();return!!(mi(this.z2z_1,n.z2z_1)&&mi(this.a30_1,n.a30_1)&&mi(this.b30_1,n.b30_1)&&mi(this.c30_1,n.c30_1)&&mi(this.d30_1,n.d30_1)&&mi(this.e30_1,n.e30_1)&&mi(this.f30_1,n.f30_1)&&mi(this.g30_1,n.g30_1)&&mi(this.h30_1,n.h30_1)&&this.i30_1===n.i30_1)},bA.$metadata$=_i("RTCStats"),$A.$metadata$=_i("MediaConnectionStatus",void 0,void 0,void 0,void 0,uu.prototype),OA.$metadata$=ci("SocketClient"),EA.$metadata$=ci("SocketClientDelegate"),TA.prototype.toString=function(){return"SocketConfig(query="+this.p30_1+", forceNew="+this.q30_1+", path="+this.r30_1+", transports="+vi(this.s30_1)+", reconnection="+this.t30_1+", reconnectionAttempts="+vi(this.u30_1)+", reconnectionDelay="+vi(this.v30_1)+", randomizationFactor="+vi(this.w30_1)+")"},TA.prototype.hashCode=function(){var t=Ci(this.p30_1);return t=si(t,31)+(0|this.q30_1)|0,t=si(t,31)+Ci(this.r30_1)|0,t=si(t,31)+gi(this.s30_1)|0,t=si(t,31)+(0|this.t30_1)|0,t=si(t,31)+gi(this.u30_1)|0,t=si(t,31)+gi(this.v30_1)|0,t=si(t,31)+gi(this.w30_1)|0},TA.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof TA))return!1;var n=t instanceof TA?t:li();return!!(this.p30_1===n.p30_1&&this.q30_1===n.q30_1&&this.r30_1===n.r30_1&&mi(this.s30_1,n.s30_1)&&this.t30_1===n.t30_1&&mi(this.u30_1,n.u30_1)&&mi(this.v30_1,n.v30_1)&&mi(this.w30_1,n.w30_1))},TA.$metadata$=_i("SocketConfig",[AA]),AA.$metadata$=ci("ISocketConfig"),IA.prototype.n30=function(t){this.x30_1.j1d(ZI(t))},IA.prototype.o30=function(t,n,e,r){this.x30_1.j1d(ZI(new Dk(t,n,e,r)))},IA.$metadata$=_i(void 0,[EA]),uN.prototype.v2c=function(){return"session:logout"},uN.prototype.toString=function(){return"Logout(version="+this.u2c_1+")"},uN.prototype.hashCode=function(){return Ci(this.u2c_1)},uN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof uN))return!1;var n=t instanceof uN?t:li();return this.u2c_1===n.u2c_1},uN.$metadata$=_i("Logout",void 0,void 0,void 0,void 0,sN.prototype),sN.$metadata$=_i("WSEndPoints"),pN.prototype.f31=function(){return this.z30_1},pN.prototype.g31=function(){return this.a31_1},pN.prototype.h31=function(){return this.b31_1},pN.prototype.i31=function(){return this.c31_1},pN.prototype.j31=function(){return this.d31_1},pN.prototype.k31=function(){return this.e31_1},pN.prototype.toString=function(){return"SetConfig(wsHost="+this.z30_1+", wsPath="+this.a31_1+", httpHost="+this.b31_1+", enableWsInvites="+this.c31_1+", osFamily="+this.d31_1+", osRevision="+this.e31_1+")"},pN.prototype.hashCode=function(){var t=Ci(this.z30_1);return t=si(t,31)+Ci(this.a31_1)|0,t=si(t,31)+Ci(this.b31_1)|0,t=si(t,31)+(0|this.c31_1)|0,t=si(t,31)+Ci(this.d31_1)|0,t=si(t,31)+Ci(this.e31_1)|0},pN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof pN))return!1;var n=t instanceof pN?t:li();return this.z30_1===n.z30_1&&this.a31_1===n.a31_1&&this.b31_1===n.b31_1&&this.c31_1===n.c31_1&&this.d31_1===n.d31_1&&this.e31_1===n.e31_1},pN.$metadata$=_i("SetConfig",[oB]),hN.prototype.o31=function(t){this.n31_1=t},hN.prototype.p31=function(t){return this.o31(t instanceof dN?t:li())},hN.prototype.u1c=function(){return this.n31_1},hN.prototype.q31=function(){return this.n31_1.r31(null,null,null,null,!1,null,null,127,null)},hN.prototype.s31=function(t,n){return t.a2x_1 instanceof pN?n.t31(t.a2x_1):null},hN.prototype.u31=function(t,n){return this.s31(t,n instanceof dN?n:li())},hN.$metadata$=_i("ConfigReducer",void 0,void 0,void 0,void 0,_B.prototype),dN.prototype.x31=function(t){this.x2s_1=t},dN.prototype.y31=function(t){this.y2s_1=t},dN.prototype.z31=function(t){this.z2s_1=t},dN.prototype.a32=function(t){this.b2t_1=t},dN.prototype.i31=function(){return this.b2t_1},dN.prototype.b32=function(t){this.c2t_1=t},dN.prototype.c32=function(t){this.d2t_1=t},dN.prototype.t31=function(t){return this.z2s_1=t.b31_1,this.x2s_1=t.z30_1,this.y2s_1=t.a31_1,this.b2t_1=t.c31_1,this.c2t_1=t.d31_1,this.d2t_1=t.e31_1,this},dN.prototype.d32=function(t,n,e,r,o,i,u){return new dN(t,n,e,r,o,i,u)},dN.prototype.r31=function(t,n,e,r,o,i,u,s,a){return 0!=(1&s)&&(t=this.x2s_1),0!=(2&s)&&(n=this.y2s_1),0!=(4&s)&&(e=this.z2s_1),0!=(8&s)&&(r=this.a2t_1),0!=(16&s)&&(o=this.b2t_1),0!=(32&s)&&(i=this.c2t_1),0!=(64&s)&&(u=this.d2t_1),this.d32(t,n,e,r,o,i,u)},dN.prototype.toString=function(){return"ConfigState(wsHost="+this.x2s_1+", wsPath="+this.y2s_1+", httpHost="+this.z2s_1+", rtcStatsHost="+this.a2t_1+", enableWsInvites="+this.b2t_1+", osFamily="+this.c2t_1+", osRevision="+this.d2t_1+")"},dN.prototype.hashCode=function(){var t=null==this.x2s_1?0:Ci(this.x2s_1);return t=si(t,31)+(null==this.y2s_1?0:Ci(this.y2s_1))|0,t=si(t,31)+(null==this.z2s_1?0:Ci(this.z2s_1))|0,t=si(t,31)+(null==this.a2t_1?0:Ci(this.a2t_1))|0,t=si(t,31)+(0|this.b2t_1)|0,t=si(t,31)+(null==this.c2t_1?0:Ci(this.c2t_1))|0,t=si(t,31)+(null==this.d2t_1?0:Ci(this.d2t_1))|0},dN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof dN))return!1;var n=t instanceof dN?t:li();return this.x2s_1==n.x2s_1&&this.y2s_1==n.y2s_1&&this.z2s_1==n.z2s_1&&this.a2t_1==n.a2t_1&&this.b2t_1===n.b2t_1&&this.c2t_1==n.c2t_1&&this.d2t_1==n.d2t_1},dN.$metadata$=_i("ConfigState"),mN.prototype.h32=function(t){this.g32_1=t},mN.prototype.p31=function(t){return this.h32(t instanceof $N?t:li())},mN.prototype.u1c=function(){return this.g32_1},mN.prototype.q31=function(){return this.g32_1},mN.prototype.i32=function(t,n){var e=t.a2x_1;return e instanceof Mj?n.k32(t.a2x_1):e instanceof PP?n.j32(t.a2x_1):null},mN.prototype.u31=function(t,n){return this.i32(t,n instanceof $N?n:li())},mN.$metadata$=_i("EventReducer",void 0,void 0,void 0,void 0,_B.prototype),$N.prototype.l32=function(){return this.b2m_1},$N.prototype.m32=function(t){this.c2m_1=t},$N.prototype.k32=function(t){var n,e=this.b2m_1,r=t.r1h(),o=null==r?zN().n32_1:r,i=e.g2(o);if(null==i){var u=kN(0,0,null,null,15,null);e.l(o,u),n=u}else n=i;var s=n;s.f2m_1=t;var a=this,c=t.r1h();a.c2m_1=null==c?zN().n32_1:c;var p=t.q1m();if((null==p?-1:p)>s.d2m_1){var l=s,f=t.q1m();l.d2m_1=null==f?s.d2m_1:f}return s.d2m_1>s.e2m_1&&(s.e2m_1=s.d2m_1),this},$N.prototype.j32=function(t){var n,e=this.b2m_1,r=t.m2y_1,o=e.g2(r);if(null==o){var i=kN(0,0,null,null,15,null);e.l(r,i),n=i}else n=o;var u=n;return t.n2y_1>u.e2m_1&&(u.e2m_1=t.n2y_1,u.g2m_1=t.l2y_1,this.c2m_1=t.m2y_1),this},$N.prototype.toString=function(){return"EventState(buffers="+this.b2m_1+", lastModified="+this.c2m_1+")"},$N.prototype.hashCode=function(){var t=gi(this.b2m_1);return t=si(t,31)+(null==this.c2m_1?0:Ci(this.c2m_1))|0},$N.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof $N))return!1;var n=t instanceof $N?t:li();return!!mi(this.b2m_1,n.b2m_1)&&this.c2m_1==n.c2m_1},$N.$metadata$=_i("EventState"),qN.prototype.o32=function(t){this.d2m_1=t},qN.prototype.p32=function(){return this.d2m_1},qN.prototype.q32=function(t){this.e2m_1=t},qN.prototype.r32=function(){return this.e2m_1},qN.prototype.s32=function(t){this.f2m_1=t},qN.prototype.t32=function(t){this.g2m_1=t},qN.prototype.toString=function(){return"EventBuffer(localCounter="+this.d2m_1+", remoteCounter="+this.e2m_1+", localHead="+this.f2m_1+", remoteHead="+this.g2m_1+")"},qN.prototype.hashCode=function(){var t=this.d2m_1;return t=si(t,31)+this.e2m_1|0,t=si(t,31)+(null==this.f2m_1?0:gi(this.f2m_1))|0,t=si(t,31)+(null==this.g2m_1?0:gi(this.g2m_1))|0},qN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qN))return!1;var n=t instanceof qN?t:li();return this.d2m_1===n.d2m_1&&this.e2m_1===n.e2m_1&&!!mi(this.f2m_1,n.f2m_1)&&!!mi(this.g2m_1,n.g2m_1)},qN.$metadata$=_i("EventBuffer"),CN.prototype.u32=function(){return this.n32_1},CN.$metadata$=ai("EventBufferName"),xN.$metadata$=ci("IResourceMapReducer"),PN.prototype.z32=function(t){this.y32_1=t},PN.prototype.p31=function(t){return this.z32(t instanceof NN?t:li())},PN.prototype.u1c=function(){return this.y32_1},PN.prototype.q31=function(){return this.y32_1.a33(null,null,null,null,null,null,null,127,null)},PN.prototype.b33=function(t,n){var e=t.a2x_1;return e instanceof Dk?n.q33(t.a2x_1):e instanceof Y$?n.p33(t.a2x_1,t.b2x_1.c2x_1):e instanceof Tj?n.o33(t.a2x_1,t.b2x_1.c2x_1):e instanceof nm?n.n33(t.a2x_1):e instanceof Z$?n.m33(t.a2x_1):e instanceof ej?n.l33(t.a2x_1):e instanceof Jk?n.k33(t.a2x_1):e instanceof zk?n.j33(t.a2x_1):e instanceof hk?n.i33(t.a2x_1):e instanceof bk?n.h33(t.a2x_1):e instanceof Tk?n.g33(t.a2x_1):e instanceof Fk?n.f33(t.a2x_1):e instanceof Qd?n.e33(t.a2x_1):e instanceof cv?n.d33(t.a2x_1):e instanceof oj?n.c33(t.a2x_1):null},PN.prototype.u31=function(t,n){return this.b33(t,n instanceof NN?n:li())},PN.$metadata$=_i("SessionReducer",void 0,void 0,void 0,void 0,_B.prototype),NN.prototype.r33=function(t){this.c2i_1=t},NN.prototype.s33=function(){return this.c2i_1},NN.prototype.t33=function(t){this.d2i_1=t},NN.prototype.u33=function(){return this.d2i_1},NN.prototype.v33=function(t){this.e2i_1=t},NN.prototype.e2d=function(){return this.e2i_1},NN.prototype.w33=function(t){this.f2i_1=t},NN.prototype.x33=function(t){this.g2i_1=t},NN.prototype.y33=function(t){this.h2i_1=t},NN.prototype.z33=function(t){this.i2i_1=t},NN.prototype.p33=function(t,n){return this.c2i_1=AB(this.c2i_1,new H$("",new IN("",""),null,""),n),this.h2i_1=t.q2c_1,this},NN.prototype.o33=function(t,n){this.c2i_1=AB(this.c2i_1,U$(),n);var e=this,r=this.c2i_1;return e.c2i_1=NB(r,lj(null,null,3,null)),this},NN.prototype.c33=function(t){return this.e2i_1=t.c2d_1,this.f2i_1=t.b2d_1,this},NN.prototype.q33=function(t){if(t.j2h_1.equals(Uk())){var n=this.c2i_1;if(n instanceof OB){var e=this,r=this.c2i_1;e.c2i_1=NB(r,Sj(null,null,3,null))}else if(n instanceof EB){var o=this.c2i_1.s1().q1m();if(!0===(null==o?null:mi(o,""))||null==this.c2i_1.s1().q1m())t.j2h_1.equals(Uk())&&mi(t.k2h_1,Wk())&&(this.g2i_1=Wk());else{if(this.d2i_1.z2c_1.equals(Hk())){var i=this,u=D$(null,null,Dx(),null,8,null);i.c2i_1=SB(u,null,2,null)}if(this.d2i_1.z2c_1.equals(Vk())){var s=t.k2h_1;switch(null==s?-1:s.e4_1){case 0:var a=this,c=D$(null,null,Fx(),null,8,null);a.c2i_1=SB(c,null,2,null);break;case 3:var p=this,l=D$(null,null,Jx(),null,8,null);p.c2i_1=SB(l,null,2,null);break;default:Ku("")}}}}else Ku("")}else t.j2h_1.equals(Hk())&&(this.d2i_1=new rj(Hk(),MB()),this.f2i_1=t.m2h_1,null==this.e2i_1&&(this.e2i_1=t.l2h_1));return this.d2i_1=new rj(t.j2h_1,MB()),this},NN.prototype.n33=function(t){this.g2i_1=null;var n=this,e=this.c2i_1,r=new IN(t.q25_1.y26_1,t.q25_1.z26_1);return n.c2i_1=TB(e,L$(t.q25_1.x26_1,r,null,t.q25_1.a27_1,4,null)),this},NN.prototype.k33=function(t){if(this.c2i_1 instanceof OB&&this.c2i_1.r2s()===t.o2h_1.b2x_1.c2x_1){var n=this,e=this.c2i_1;n.c2i_1=NB(e,Rj(null,null,3,null))}return this},NN.prototype.i33=function(t){var n=this,e=this.c2i_1;return n.c2i_1=NB(e,bj(null,null,3,null)),this},NN.prototype.j33=function(t){var n=this,e=this.c2i_1;return n.c2i_1=NB(e,jj(null,null,3,null)),this},NN.prototype.f33=function(t){var n=this,e=this.c2i_1;return n.c2i_1=NB(e,_j(null,null,3,null)),this},NN.prototype.h33=function(t){var n=this,e=this.c2i_1;return n.c2i_1=NB(e,vj(null,null,3,null)),this},NN.prototype.g33=function(t){var n=this,e=this.c2i_1;return n.c2i_1=NB(e,Cj(null,null,3,null)),this},NN.prototype.m33=function(t){this.h2i_1=null;var n=this,e=U$();return n.c2i_1=SB(e,null,2,null),this},NN.prototype.l33=function(t){return this.h2i_1=t.y2c_1,this},NN.prototype.e33=function(t){return this.i2i_1=t.j20_1,this},NN.prototype.d33=function(t){return this.i2i_1=t.c21_1,this},NN.prototype.a34=function(t,n,e,r,o,i,u){return new NN(t,n,e,r,o,i,u)},NN.prototype.a33=function(t,n,e,r,o,i,u,s,a){return 0!=(1&s)&&(t=this.c2i_1),0!=(2&s)&&(n=this.d2i_1),0!=(4&s)&&(e=this.e2i_1),0!=(8&s)&&(r=this.f2i_1),0!=(16&s)&&(o=this.g2i_1),0!=(32&s)&&(i=this.h2i_1),0!=(64&s)&&(u=this.i2i_1),this.a34(t,n,e,r,o,i,u)},NN.prototype.toString=function(){return"SessionState(sessionStatus="+this.c2i_1+", connectionStatus="+this.d2i_1+", timeOfFirstRetry="+Ii(this.e2i_1)+", retryNumber="+this.f2i_1+", reason="+this.g2i_1+", token="+this.h2i_1+", applicationId="+this.i2i_1+")"},NN.prototype.hashCode=function(){var t=gi(this.c2i_1);return t=si(t,31)+this.d2i_1.hashCode()|0,t=si(t,31)+(null==this.e2i_1?0:gi(this.e2i_1))|0,t=si(t,31)+(null==this.f2i_1?0:this.f2i_1)|0,t=si(t,31)+(null==this.g2i_1?0:this.g2i_1.hashCode())|0,t=si(t,31)+(null==this.h2i_1?0:Ci(this.h2i_1))|0,t=si(t,31)+(null==this.i2i_1?0:Ci(this.i2i_1))|0},NN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof NN))return!1;var n=t instanceof NN?t:li();return!!(mi(this.c2i_1,n.c2i_1)&&this.d2i_1.equals(n.d2i_1)&&mi(this.e2i_1,n.e2i_1)&&this.f2i_1==n.f2i_1&&mi(this.g2i_1,n.g2i_1)&&this.h2i_1==n.h2i_1&&this.i2i_1==n.i2i_1)},NN.$metadata$=_i("SessionState"),IN.prototype.toString=function(){return"SessionUser(id="+this.j2i_1+", name="+this.k2i_1+")"},IN.prototype.hashCode=function(){var t=Ci(this.j2i_1);return t=si(t,31)+Ci(this.k2i_1)|0},IN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof IN))return!1;var n=t instanceof IN?t:li();return this.j2i_1===n.j2i_1&&this.k2i_1===n.k2i_1},IN.$metadata$=_i("SessionUser"),LN.prototype.b34=function(t){this.l2r_1=t},LN.prototype.c34=function(){return this.l2r_1},LN.prototype.d34=function(t){this.m2r_1=t},LN.prototype.e34=function(){return this.m2r_1},LN.prototype.f34=function(t,n,e,r,o,i,u,s){return new LN(t,n,e,r,o,i,u,s)},LN.prototype.e2t=function(t,n,e,r,o,i,u,s,a,c){return 0!=(1&a)&&(t=this.h2r_1),0!=(2&a)&&(n=this.i2r_1),0!=(4&a)&&(e=this.j2r_1),0!=(8&a)&&(r=this.k2r_1),0!=(16&a)&&(o=this.l2r_1),0!=(32&a)&&(i=this.m2r_1),0!=(64&a)&&(u=this.n2r_1),0!=(128&a)&&(s=this.o2r_1),this.f34(t,n,e,r,o,i,u,s)},LN.prototype.toString=function(){return"Call(isReconnect="+this.h2r_1+", from="+this.i2r_1+", customData="+this.j2r_1+", id="+this.k2r_1+", memberState="+this.l2r_1+", legState="+this.m2r_1+", localMedia="+this.n2r_1+", mediaState="+this.o2r_1+")"},LN.prototype.hashCode=function(){var t=0|this.h2r_1;return t=si(t,31)+gi(this.i2r_1)|0,t=si(t,31)+(null==this.j2r_1?0:gi(this.j2r_1))|0,t=si(t,31)+Ci(this.k2r_1)|0,t=si(t,31)+gi(this.l2r_1)|0,t=si(t,31)+gi(this.m2r_1)|0,t=si(t,31)+this.n2r_1.hashCode()|0,t=si(t,31)+this.o2r_1.hashCode()|0},LN.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof LN))return!1;var n=t instanceof LN?t:li();return!!(this.h2r_1===n.h2r_1&&mi(this.i2r_1,n.i2r_1)&&mi(this.j2r_1,n.j2r_1)&&this.k2r_1===n.k2r_1&&mi(this.l2r_1,n.l2r_1)&&mi(this.m2r_1,n.m2r_1)&&this.n2r_1.equals(n.n2r_1)&&this.o2r_1.equals(n.o2r_1))},LN.$metadata$=_i("Call"),DN.$metadata$=_i("CallDirection",void 0,void 0,void 0,void 0,uu.prototype),KN.prototype.j34=function(t){this.i34_1=t},KN.prototype.p31=function(t){return this.j34(t instanceof gI?t:li())},KN.prototype.u1c=function(){return this.i34_1},KN.prototype.q31=function(){return this.i34_1},KN.prototype.k34=function(t,n){var e,r=t.a2x_1;if(r instanceof Js){var o=t.b2x_1.d2x_1;e=n.j35(t.a2x_1,null==o?"":o)}else if(r instanceof nm)e=n.n33(t.a2x_1);else if(fi(r,O$)){var i=t.a2x_1.q1m(),u=t.a2x_1;e=u instanceof x$?n.i35(t.a2x_1,i):u instanceof S$?n.h35(t.a2x_1,i):u instanceof $$?n.g35(t.a2x_1,i):u instanceof z$?n.f35(t.a2x_1,i):null}else if(fi(r,uO)){var s=t.a2x_1;e=s instanceof lO?n.e35(t.a2x_1,t.a2x_1.l2u_1):s instanceof nO?n.d35(t.a2x_1,t.a2x_1.l2t_1):s instanceof pO?n.c35(t.a2x_1,t.a2x_1.e2u_1):s instanceof rO?n.b35(t.a2x_1,t.a2x_1.p2t_1):s instanceof eO?n.a35(t.a2x_1,t.a2x_1.n2t_1):s instanceof sO?n.z34(t.a2x_1,t.a2x_1.c2u_1):null}else if(r instanceof Mj){var a,c=t.a2x_1;if(c instanceof Qd){var p=t.a2x_1.d20_1.s20_1.s2l_1;a=null==p?null:n.y34(t.a2x_1,p)}else if(c instanceof um){var l=t.a2x_1.x25_1.u26_1.s2l_1;a=null==l?null:n.x34(t.a2x_1,l)}else if(c instanceof mv){var f=t.a2x_1.l21_1.w21_1.s2l_1;a=null==f?null:n.w34(t.a2x_1,f)}else if(c instanceof cv){var h=t.a2x_1.x20_1.h21_1.s2l_1;a=null==h?null:n.v34(t.a2x_1,h)}else if(c instanceof lm){var _=t.a2x_1.d26_1.p26_1;a=n.u34(t.a2x_1,_)}else if(c instanceof Ag){var y=t.a2x_1.q24_1.v1z_1.s2l_1;a=null==y?null:n.t34(t.a2x_1,y)}else if(c instanceof Lg){var d=t.a2x_1.w24_1.f25_1.s2l_1;a=null==d?null:n.s34(t.a2x_1,d)}else a=null;e=a}else if(fi(r,qh)){var v=t.b2x_1.d2x_1,g=null==v?"":v,m=t.a2x_1;e=m instanceof ja?n.r34(t.a2x_1,g,t.b2x_1.c2x_1):m instanceof Ca?n.q34(t.a2x_1,g,t.b2x_1.c2x_1):m instanceof Fa?n.p34(t.a2x_1,g,t.b2x_1.c2x_1):null}else if(fi(r,Rh)){var b=t.b2x_1.d2x_1,w=null==b?"":b,$=t.a2x_1;e=$ instanceof E_?n.o34(t.a2x_1,w):$ instanceof N_?n.n34(t.a2x_1,w):$ instanceof I_?n.m34(t.a2x_1,w):$ instanceof Dl?n.l34(t.a2x_1,w):null}else e=null;return e},KN.prototype.u31=function(t,n){return this.k34(t,n instanceof gI?n:li())},KN.$metadata$=_i("CallReducer",void 0,void 0,void 0,void 0,_B.prototype),gI.prototype.l35=function(){return this.w2r_1},gI.prototype.m35=function(){return this.x2r_1},gI.prototype.n35=function(t){this.y2r_1=t},gI.prototype.o35=function(){return this.y2r_1},gI.prototype.v32=function(){return this.w2r_1},gI.prototype.m32=function(t){this.z2r_1=t},gI.prototype.p35=function(){return this.z2r_1},gI.prototype.toString=function(){for(var t="CallState(currentUserId="+this.y2r_1+",lastModified="+this.z2r_1+",conversationIdToCallId="+this.x2r_1+",",n=this.w2r_1,e=bu(n.f()),r=n.q().g();r.h();){var o,i=r.i();o=i.q1()+":"+i.s1()+"\n",e.a(o)}return t+"\ncallInfo:"+e+")"},gI.prototype.n33=function(t){return this.y2r_1=t.q25_1.y26_1,this.z2r_1=null,this},gI.prototype.w34=function(t,n){return SN(this,n,XN(t,this))},gI.prototype.c35=function(t,n){return ON(this,n,YN(t,n))},gI.prototype.b35=function(t,n){return ON(this,n,ZN(t,n))},gI.prototype.a35=function(t,n){for(var e=this.x2r_1,r=$u(),o=e.q().g();o.h();){var i=o.i();i.s1()===n&&r.l(i.q1(),i.s1())}for(var u=r.q().g();u.h();){var s=u.i();this.x2r_1.q3(s.q1())}return this.w2r_1.q3(n),this},gI.prototype.z34=function(t,n){return SN(this,n,QN(t)),this},gI.prototype.p34=function(t,n,e){return SN(this,n,tI(t,e,this,n)),this},gI.prototype.s34=function(t,n){var e=t.z24_1;return null==e||(SN(this,n,nI(t,e,this,n)),pi()),this},gI.prototype.e35=function(t,n){return SN(this,n,eI)},gI.prototype.d35=function(t,n){return SN(this,n,rI(t))},gI.prototype.x34=function(t,n){if(t.a26_1==this.y2r_1){var e=this.x2r_1,r=t.z25_1;e.l(r,n)}return this},gI.prototype.v34=function(t,n){if(t.x20_1.g21_1.e1r_1===this.y2r_1){var e=this.x2r_1,r=t.z20_1;e.l(r,n)}return SN(this,n,oI(t)),this},gI.prototype.y34=function(t,n){if(t.d20_1.q20_1.e1r_1===this.y2r_1){var e=this.x2r_1,r=t.f20_1;e.l(r,n)}return this},gI.prototype.r34=function(t,n,e){return SN(this,n,iI(e))},gI.prototype.o34=function(t,n){return SN(this,n,uI(t))},gI.prototype.m34=function(t,n){return SN(this,n,sI)},gI.prototype.n34=function(t,n){return SN(this,n,aI(t))},gI.prototype.q34=function(t,n,e){return SN(this,n,cI(t,e))},gI.prototype.l34=function(t,n){return SN(this,n,pI(t))},gI.prototype.t34=function(t,n){return SN(this,n,lI(t))},gI.prototype.j35=function(t,n){return SN(this,n,fI(t))},gI.prototype.i35=function(t,n){return SN(this,n,hI(t))},gI.prototype.h35=function(t,n){return SN(this,n,_I(t))},gI.prototype.g35=function(t,n){return SN(this,n,yI)},gI.prototype.u34=function(t,n){return SN(this,n,dI(t))},gI.prototype.f35=function(t,n){return SN(this,n,vI(t))},gI.prototype.hashCode=function(){var t=gi(this.w2r_1);return t=si(t,31)+gi(this.x2r_1)|0,t=si(t,31)+(null==this.y2r_1?0:Ci(this.y2r_1))|0},gI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof gI))return!1;var n=t instanceof gI?t:li();return!!mi(this.w2r_1,n.w2r_1)&&!!mi(this.x2r_1,n.x2r_1)&&this.y2r_1==n.y2r_1},gI.$metadata$=_i("CallState",[xN]),jI.$metadata$=ai("None",[SI]),qI.prototype.toString=function(){return"Knocking(id="+this.i2t_1+")"},qI.prototype.hashCode=function(){return Ci(this.i2t_1)},qI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof qI))return!1;var n=t instanceof qI?t:li();return this.i2t_1===n.i2t_1},qI.$metadata$=_i("Knocking",[SI]),CI.$metadata$=_i("Invited",[OI]),zI.prototype.r1h=function(){return this.p2r_1},zI.prototype.k35=function(t){this.r2r_1=t},zI.prototype.l30=function(){return this.r2r_1},zI.prototype.toString=function(){return"Joined(cid="+this.p2r_1+", mid="+this.q2r_1+", conversationName="+this.r2r_1+")"},zI.prototype.hashCode=function(){var t=Ci(this.p2r_1);return t=si(t,31)+Ci(this.q2r_1)|0,t=si(t,31)+(null==this.r2r_1?0:Ci(this.r2r_1))|0},zI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof zI))return!1;var n=t instanceof zI?t:li();return this.p2r_1===n.p2r_1&&this.q2r_1===n.q2r_1&&this.r2r_1==n.r2r_1},zI.$metadata$=_i("Joined",[OI]),xI.prototype.r1h=function(){return this.n2s_1},xI.prototype.k35=function(t){this.p2s_1=t},xI.prototype.l30=function(){return this.p2s_1},xI.prototype.toString=function(){return"Left(cid="+this.n2s_1+", mid="+this.o2s_1+", conversationName="+this.p2s_1+", reasonCode="+this.q2s_1+")"},xI.prototype.hashCode=function(){var t=Ci(this.n2s_1);return t=si(t,31)+Ci(this.o2s_1)|0,t=si(t,31)+(null==this.p2s_1?0:Ci(this.p2s_1))|0,t=si(t,31)+(null==this.q2s_1?0:Ci(this.q2s_1))|0},xI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof xI))return!1;var n=t instanceof xI?t:li();return this.n2s_1===n.n2s_1&&this.o2s_1===n.o2s_1&&this.p2s_1==n.p2s_1&&this.q2s_1==n.q2s_1},xI.$metadata$=_i("Left",[OI]),SI.$metadata$=ci("CoreMemberState"),OI.$metadata$=ci("CoreMemberStateWithCid",[SI]),PI.prototype.x1g=function(){return this.a2s_1},PI.prototype.z2t=function(){return this.b2s_1},PI.prototype.s2t=function(){return this.d2s_1},PI.prototype.c34=function(){return this.f2s_1},PI.prototype.q35=function(){return this.g2s_1},PI.prototype.r35=function(){return this.h2s_1},PI.prototype.s35=function(t,n,e,r,o,i,u,s,a){return new PI(t,n,e,r,o,i,u,s,a)},PI.prototype.v2s=function(t,n,e,r,o,i,u,s,a,c,p){return 0!=(1&c)&&(t=this.a2s_1),0!=(2&c)&&(n=this.b2s_1),0!=(4&c)&&(e=this.c2s_1),0!=(8&c)&&(r=this.d2s_1),0!=(16&c)&&(o=this.e2s_1),0!=(32&c)&&(i=this.f2s_1),0!=(64&c)&&(u=this.g2s_1),0!=(128&c)&&(s=this.h2s_1),0!=(256&c)&&(a=this.i2s_1),this.s35(t,n,e,r,o,i,u,s,a)},PI.prototype.toString=function(){return"Invite(from="+this.a2s_1+", rtcId="+this.b2s_1+", memberId="+this.c2s_1+", conversationId="+this.d2s_1+", offer="+this.e2s_1+", memberState="+this.f2s_1+", isSocketInvite="+this.g2s_1+", hangupReceived="+this.h2s_1+", FS_SIP_Code="+this.i2s_1+")"},PI.prototype.hashCode=function(){var t=gi(this.a2s_1);return t=si(t,31)+Ci(this.b2s_1)|0,t=si(t,31)+Ci(this.c2s_1)|0,t=si(t,31)+Ci(this.d2s_1)|0,t=si(t,31)+(null==this.e2s_1?0:Ci(this.e2s_1))|0,t=si(t,31)+gi(this.f2s_1)|0,t=si(t,31)+(0|this.g2s_1)|0,t=si(t,31)+(0|this.h2s_1)|0,t=si(t,31)+this.i2s_1|0},PI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof PI))return!1;var n=t instanceof PI?t:li();return!!mi(this.a2s_1,n.a2s_1)&&this.b2s_1===n.b2s_1&&this.c2s_1===n.c2s_1&&this.d2s_1===n.d2s_1&&this.e2s_1==n.e2s_1&&!!mi(this.f2s_1,n.f2s_1)&&this.g2s_1===n.g2s_1&&this.h2s_1===n.h2s_1&&this.i2s_1===n.i2s_1},PI.$metadata$=_i("Invite"),NI.prototype.w35=function(t){this.v35_1=t},NI.prototype.p31=function(t){return this.w35(t instanceof GI?t:li())},NI.prototype.u1c=function(){return this.v35_1},NI.prototype.q31=function(){return this.v35_1.x35(null,null,3,null)},NI.prototype.y35=function(t,n){var e,r=t.a2x_1;if(r instanceof Js){var o=t.b2x_1.d2x_1;e=n.j35(t.a2x_1,null==o?"":o)}else if(r instanceof nm)e=n.n33(t.a2x_1);else if(r instanceof Qd)e=null!=t.a2x_1.d20_1.s20_1.s2l_1?n.e33(t.a2x_1):null;else if(r instanceof Xg)e=null!=t.a2x_1.j25_1.s20_1.s2l_1?n.c36(t.a2x_1):null;else if(r instanceof cv)e=null!=t.a2x_1.x20_1.h21_1.s2l_1?n.d33(t.a2x_1):null;else if(r instanceof mv){var i=t.a2x_1.l21_1.w21_1.s2l_1;e=null==i?null:n.w34(t.a2x_1,i)}else if(r instanceof Ag){var u=t.a2x_1.q24_1.v1z_1.s2l_1;e=null==u?null:n.t34(t.a2x_1,u)}else if(r instanceof fO)n.b36(t.a2x_1,t.a2x_1.m2u_1),e=null;else if(r instanceof iO)e=n.a36(t.a2x_1,t.a2x_1.b2u_1);else if(fi(r,qh)){var s=t.b2x_1.d2x_1,a=null==s?"":s,c=t.a2x_1;e=c instanceof Ca?n.q34(t.a2x_1,a,t.b2x_1.c2x_1):c instanceof Fa?n.p34(t.a2x_1,a,t.b2x_1.c2x_1):null}else if(fi(r,Rh)){var p=t.b2x_1.d2x_1,l=null==p?"":p;e=t.a2x_1 instanceof ff?n.z35(t.a2x_1,l):null}else e=null;return e},NI.prototype.u31=function(t,n){return this.y35(t,n instanceof GI?n:li())},NI.$metadata$=_i("InviteReducer",void 0,void 0,void 0,void 0,_B.prototype),GI.prototype.d36=function(){return this.s2s_1},GI.prototype.n35=function(t){this.t2s_1=t},GI.prototype.v32=function(){return this.s2s_1},GI.prototype.m32=function(t){this.u2s_1=t},GI.prototype.p35=function(){return this.u2s_1},GI.prototype.n33=function(t){return this.t2s_1=t.q25_1.y26_1,this.u2s_1=null,this},GI.prototype.e33=function(t){return ON(this,Bi(t.d20_1.s20_1.s2l_1),MI(t))},GI.prototype.c36=function(t){return ON(this,Bi(t.j25_1.s20_1.s2l_1),LI(t))},GI.prototype.d33=function(t){return SN(this,Bi(t.x20_1.h21_1.s2l_1),FI(t,this))},GI.prototype.p34=function(t,n,e){return SN(this,n,DI(t,e))},GI.prototype.w34=function(t,n){return SN(this,n,JI(t,this))},GI.prototype.t34=function(t,n){return SN(this,n,UI(t))},GI.prototype.q34=function(t,n,e){return SN(this,n,HI(t,e))},GI.prototype.a36=function(t,n){return SN(this,n,VI)},GI.prototype.b36=function(t,n){return this.s2s_1.q3(n),this},GI.prototype.j35=function(t,n){return SN(this,n,KI(t))},GI.prototype.z35=function(t,n){return SN(this,n,WI(t))},GI.prototype.e36=function(t,n){return new GI(t,n)},GI.prototype.x35=function(t,n,e,r){return 0!=(1&e)&&(t=this.s2s_1),0!=(2&e)&&(n=this.t2s_1),this.e36(t,n)},GI.prototype.toString=function(){return"InviteState(invites="+this.s2s_1+", currentUserId="+this.t2s_1+")"},GI.prototype.hashCode=function(){var t=gi(this.s2s_1);return t=si(t,31)+(null==this.t2s_1?0:Ci(this.t2s_1))|0},GI.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof GI))return!1;var n=t instanceof GI?t:li();return!!mi(this.s2s_1,n.s2s_1)&&this.t2s_1==n.t2s_1},GI.$metadata$=_i("InviteState",[xN]),QI.prototype.x2z=function(t,n){return new nB(new Js(t,n),n.b2x_1.y30(null,null,null,7,null))},QI.$metadata$=ai("Companion"),nB.prototype.k20=function(){return this.a2x_1},nB.prototype.f36=function(){return this.b2x_1},nB.$metadata$=_i("Action"),eB.$metadata$=ai("UnitActionable",[oB]),oB.$metadata$=ci("Actionable"),sB.prototype.g36=function(){return this.c2x_1},sB.prototype.h36=function(){return this.d2x_1},sB.prototype.i36=function(){return this.e2x_1},sB.prototype.j36=function(t,n,e){return new sB(t,n,e)},sB.prototype.y30=function(t,n,e,r,o){return 0!=(1&r)&&(t=this.c2x_1),0!=(2&r)&&(n=this.d2x_1),0!=(4&r)&&(e=this.e2x_1),this.j36(t,n,e)},sB.prototype.toString=function(){return"ActionMeta(uuid="+this.c2x_1+", entityId="+this.d2x_1+", callback="+this.e2x_1+")"},sB.prototype.hashCode=function(){var t=Ci(this.c2x_1);return t=si(t,31)+(null==this.d2x_1?0:Ci(this.d2x_1))|0,t=si(t,31)+(null==this.e2x_1?0:gi(this.e2x_1))|0},sB.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof sB))return!1;var n=t instanceof sB?t:li();return this.c2x_1===n.c2x_1&&this.d2x_1==n.d2x_1&&!!mi(this.e2x_1,n.e2x_1)},sB.$metadata$=_i("ActionMeta"),_B.prototype.v31=function(){return this.t1c_1},_B.prototype.w31=function(t){var n=this.s1c_1;if(null==n||MR(n,t,fB(this)),mi(t,XI()))return!1;var e=this.q31(),r=this.u31(t,e),o=null!=r&&(e===r||mi(e,r)),i=r;if(this.p31(null==i?this.u1c():i),o){var u=this.s1c_1;null==u||IR(u,t,hB(this))}return o},_B.$metadata$=_i("Reducer"),mB.prototype.r1c=function(t){this.q1c_1=t(this)},mB.prototype.v1c=function(t){for(var n,e=this,r=$u(),o=t.g();o.h();){var i=o.i(),u=r,s=Nu(i);u.l(s,i),r=u}n=r,e.p1c_1=n},mB.prototype.h2m=function(t,n){var e=Zu(t,this.p1c_1.g2(t));if(null==e)throw Qu(t.rb()+" NOT registered to store");var r=e,o=n();return r.t1c_1.a(o),vB(r,o)},mB.prototype.j1d=function(t){(0,this.q1c_1)(gB(this))(t)},mB.prototype.b2i=function(t){var n=Zu(t,this.p1c_1.g2(t));return null==n?null:n.u1c()},mB.$metadata$=_i("Store"),bB.prototype.i36=function(){return this.k36_1},bB.$metadata$=_i("StoredSubscription"),CB.prototype.j30=function(t){var n,e,r=t.c30_1,o=null==r?null:Vu(r),i=null==o?0:o,u=t.z2z_1,s=null==u?null:Vu(u),a=null==s?0:s,c=t.a30_1,p=null==c?null:Vu(c),l=null==p?0:p,f=0;return a+l>0&&(f=l/(a+l)*100),e=(n=100+2*i+10)<160?93.2-n/40:93.2-(n-120)/10,(e-=2.5*f)<1&&(e=1),1+.035*e+7e-6*e*(e-60)*(100-e)},CB.$metadata$=ai("Companion"),OB.prototype.s1=function(){return this.l36_1},OB.prototype.r2s=function(){return this.n36_1},OB.prototype.toString=function(){return"Pending(value="+this.l36_1+", future="+this.m36_1+", requestId="+this.n36_1+")"},OB.prototype.hashCode=function(){var t=null==this.l36_1?0:gi(this.l36_1);return t=si(t,31)+(null==this.m36_1?0:gi(this.m36_1))|0,t=si(t,31)+Ci(this.n36_1)|0},OB.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof OB))return!1;var n=t instanceof OB?t:li();return!!mi(this.l36_1,n.l36_1)&&!!mi(this.m36_1,n.m36_1)&&this.n36_1===n.n36_1},OB.$metadata$=_i("Pending",void 0,void 0,void 0,void 0,PB.prototype),EB.prototype.s1=function(){return this.o36_1},EB.prototype.r2s=function(){return this.p36_1},EB.prototype.toString=function(){return"Resolved(value="+this.o36_1+", requestId="+this.p36_1+")"},EB.prototype.hashCode=function(){var t=null==this.o36_1?0:gi(this.o36_1);return t=si(t,31)+(null==this.p36_1?0:Ci(this.p36_1))|0},EB.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof EB))return!1;var n=t instanceof EB?t:li();return!!mi(this.o36_1,n.o36_1)&&this.p36_1==n.p36_1},EB.$metadata$=_i("Resolved",void 0,void 0,void 0,void 0,PB.prototype),RB.prototype.s1=function(){return this.x2q_1},RB.prototype.r2s=function(){return this.y2q_1},RB.prototype.toString=function(){return"Failed(error="+this.w2q_1+", value="+this.x2q_1+", requestId="+this.y2q_1+")"},RB.prototype.hashCode=function(){var t=this.w2q_1.hashCode();return t=si(t,31)+(null==this.x2q_1?0:gi(this.x2q_1))|0,t=si(t,31)+(null==this.y2q_1?0:Ci(this.y2q_1))|0},RB.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof RB))return!1;var n=t instanceof RB?t:li();return!!this.w2q_1.equals(n.w2q_1)&&!!mi(this.x2q_1,n.x2q_1)&&this.y2q_1==n.y2q_1},RB.$metadata$=_i("Failed",void 0,void 0,void 0,void 0,PB.prototype),PB.$metadata$=_i("StateTransition"),Ms.prototype.h1d=bs,Us.prototype.y1e=ws,Hs.prototype.br=Ei,Gs.prototype.br=Ei,Qs.prototype.br=Ei,ua.prototype.y1e=ws,sa.prototype.br=Ei,fa.prototype.y1e=ws,fa.prototype.w1e=$s,ha.prototype.br=Ei,ja.prototype.y1e=ws,Sa.prototype.br=Ei,Aa.prototype.br=Ei,Fa.prototype.y1e=ws,Da.prototype.y1e=ws,Ja.prototype.br=Ei,Ka.prototype.br=Ei,Qa.prototype.y1e=ws,tc.prototype.br=Ei,oc.prototype.br=Ei,pc.prototype.y1e=ws,lc.prototype.br=Ei,yc.prototype.br=Ei,wc.prototype.y1e=ws,$c.prototype.br=Ei,Cc.prototype.br=Ei,Rc.prototype.y1e=ws,Pc.prototype.br=Ei,Ic.prototype.br=Ei,Jc.prototype.y1e=ws,Uc.prototype.br=Ei,Wc.prototype.br=Ei,tp.prototype.y1e=ws,np.prototype.y1e=ws,np.prototype.w1e=$s,ep.prototype.br=Ei,cp.prototype.br=Ei,_p.prototype.y1e=ws,_p.prototype.w1e=$s,yp.prototype.br=Ei,bp.prototype.br=Ei,qp.prototype.br=Ei,Op.prototype.y1e=ws,Ep.prototype.br=Ei,Bp.prototype.br=Ei,Dp.prototype.br=Ei,Wp.prototype.br=Ei,nl.prototype.y1e=ws,el.prototype.br=Ei,cl.prototype.br=Ei,yl.prototype.br=Ei,ml.prototype.br=Ei,jl.prototype.br=Ei,zl.prototype.br=Ei,Nl.prototype.y1e=ws,Il.prototype.br=Ei,Jl.prototype.y1e=ws,Hl.prototype.w1e=$s,Vl.prototype.br=Ei,Yl.prototype.br=Ei,ef.prototype.br=Ei,af.prototype.br=Ei,hf.prototype.br=Ei,gf.prototype.br=Ei,jf.prototype.w1e=$s,kf.prototype.br=Ei,Sf.prototype.br=Ei,Tf.prototype.br=Ei,Mf.prototype.w1e=$s,Lf.prototype.br=Ei,Hf.prototype.br=Ei,Xf.prototype.y1e=ws,Xf.prototype.w1e=$s,Zf.prototype.br=Ei,rh.prototype.y1e=ws,oh.prototype.br=Ei,ch.prototype.br=Ei,_h.prototype.br=Ei,mh.prototype.br=Ei,kh.prototype.y1e=ws,kh.prototype.w1e=$s,Ch.prototype.br=Ei,Eh.prototype.y1e=ws,Ph.prototype.br=Ei,Ih.prototype.br=Ei,Fh.prototype.br=Ei,Wh.prototype.y1e=ws,Gh.prototype.br=Ei,t_.prototype.br=Ei,o_.prototype.br=Ei,p_.prototype.y1e=ws,l_.prototype.br=Ei,y_.prototype.br=Ei,m_.prototype.br=Ei,C_.prototype.y1e=ws,z_.prototype.br=Ei,R_.prototype.br=Ei,B_.prototype.br=Ei,J_.prototype.br=Ei,W_.prototype.br=Ei,Q_.prototype.br=Ei,oy.prototype.br=Ei,cy.prototype.br=Ei,_y.prototype.br=Ei,my.prototype.br=Ei,Cy.prototype.br=Ei,Ey.prototype.br=Ei,Ny.prototype.br=Ei,Fy.prototype.br=Ei,Yy.prototype.br=Ei,od.prototype.br=Ei,cd.prototype.br=Ei,dd.prototype.br=Ei,wd.prototype.br=Ei,xd.prototype.br=Ei,Ad.prototype.br=Ei,Ud.prototype.br=Ei,Gd.prototype.br=Ei,tv.prototype.br=Ei,iv.prototype.br=Ei,pv.prototype.br=Ei,yv.prototype.br=Ei,bv.prototype.br=Ei,qv.prototype.br=Ei,Ov.prototype.br=Ei,Av.prototype.br=Ei,Lv.prototype.br=Ei,Hv.prototype.br=Ei,Xv.prototype.br=Ei,ng.prototype.br=Ei,ug.prototype.br=Ei,lg.prototype.br=Ei,dg.prototype.br=Ei,wg.prototype.br=Ei,Cg.prototype.br=Ei,Eg.prototype.br=Ei,Ng.prototype.br=Ei,Fg.prototype.br=Ei,Vg.prototype.br=Ei,Yg.prototype.br=Ei,em.prototype.br=Ei,sm.prototype.br=Ei,fm.prototype.br=Ei,vm.prototype.br=Ei,$m.prototype.br=Ei,zm.prototype.br=Ei,Rm.prototype.br=Ei,Im.prototype.br=Ei,Jm.prototype.br=Ei,Wm.prototype.br=Ei,Qm.prototype.br=Ei,ob.prototype.br=Ei,hb.prototype.br=Ei,wb.prototype.br=Ei,Sb.prototype.br=Ei,Ib.prototype.br=Ei,Hb.prototype.br=Ei,Qb.prototype.br=Ei,sw.prototype.br=Ei,hw.prototype.br=Ei,mw.prototype.br=Ei,Aw.prototype.br=Ei,Lw.prototype.br=Ei,Xw.prototype.br=Ei,e$.prototype.br=Ei,s$.prototype.br=Ei,Z$.prototype.w2c=js,Dj.prototype.br=Ei,Gj.prototype.br=Ei,ek.prototype.br=Ei,ck.prototype.br=Ei,dk.prototype.br=Ei,jk.prototype.br=Ei,Ok.prototype.br=Ei,Ik.prototype.br=Ei,tq.prototype.u2h=ks,tq.prototype.v2h=qs,tq.prototype.w2h=Cs,tq.prototype.x2h=zs,tq.prototype.y2h=xs,tq.prototype.z2h=Ss,tq.prototype.a2i=Os,hq.prototype.h1d=bs,kC.prototype.br=Ei,EC.prototype.br=Ei,NC.prototype.br=Ei,UC.prototype.br=Ei,GC.prototype.br=Ei,_z.prototype.br=Ei,Dz.prototype.br=Ei,yx.prototype.br=Ei,JS.prototype.x2h=zs,JS.prototype.q2h=Es,AO.prototype.br=Ei,JO.prototype.br=Ei,QO.prototype.br=Ei,uE.prototype.br=Ei,lE.prototype.br=Ei,dE.prototype.br=Ei,zE.prototype.br=Ei,UE.prototype.br=Ei,GE.prototype.br=Ei,tR.prototype.br=Ei,aR.prototype.br=Ei,hR.prototype.br=Ei,bR.prototype.br=Ei,t.$_$=t.$_$||{},t.$_$.a=E$,t.$_$.b=iC,t.$_$.c=nx,t.$_$.d=Sz,t.$_$.e=Ez,t.$_$.f=Pz,t.$_$.g=Qz,t.$_$.h=Tz,t.$_$.i=Yk,t.$_$.j=gq,t.$_$.k=$x,t.$_$.l=Ux,t.$_$.m=Cq,t.$_$.n=YT,t.$_$.o=ZT,t.$_$.p=XT,t.$_$.q=gA,t.$_$.r=bA,t.$_$.s=OA,t.$_$.t=pN,t.$_$.u=Ns,t.$_$.v=Wk,t.$_$.w=Gk,t.$_$.x=Xk,t.$_$.y=Kk,t.$_$.z=Vk,t.$_$.a1=Uk,t.$_$.b1=Hk,t.$_$.c1=ax,t.$_$.d1=cx,t.$_$.e1=xq,t.$_$.f1=Sq,t.$_$.g1=Oq,t.$_$.h1=Jx,t.$_$.i1=Fx,t.$_$.j1=Dx,t.$_$.k1=SA,t.$_$.l1=CA,t.$_$.m1=qA,t.$_$.n1=zA,t.$_$.o1=xA,t.$_$.p1=kA,t.$_$.q1=jA,t.$_$.r1=kq}(c.exports,u(),f(),d(),w())),a}function j(t,n){return function(){return t.apply(n,arguments)}}!function(t,n,e){var r,o,i,u,s,a,c,p,l,f,h,_,y,d,v,g,m,b,w,$,j,k,q,C,z,x,S,O,E,R,P,T,A,N,I,B,M,L,F,D,J,U,H,V,K,W,G,X,Y,Z,Q,tt,nt,et,rt,ot,it,ut,st,at,ct,pt,lt,ft,ht,_t,yt,dt,vt,gt,mt,bt,wt=Math.imul,$t=n.$_$.s2,jt=e.$_$.k,kt=n.$_$.n5,qt=e.$_$.l,Ct=e.$_$.i,zt=e.$_$.u,xt=n.$_$.k3,St=n.$_$.m,Ot=n.$_$.w3,Et=n.$_$.v5,Rt=n.$_$.w8,Pt=e.$_$.h,Tt=e.$_$.c,At=e.$_$.g,Nt=e.$_$.f,It=e.$_$.e,Bt=e.$_$.d,Mt=n.$_$.h8,Lt=e.$_$.c1,Ft=e.$_$.d1,Dt=n.$_$.a8,Jt=n.$_$.q6,Ut=n.$_$.p5,Ht=n.$_$.i5,Vt=e.$_$.b,Kt=n.$_$.l6,Wt=e.$_$.e1,Gt=e.$_$.f1,Xt=e.$_$.g1,Yt=e.$_$.r1,Zt=e.$_$.j,Qt=e.$_$.i1,tn=e.$_$.j1,nn=e.$_$.h1,en=e.$_$.m,rn=e.$_$.t,on=n.$_$.o5,un=n.$_$.g8,sn=n.$_$.y3,an=n.$_$.t5,cn=n.$_$.b8,pn=e.$_$.n,ln=n.$_$.u5,fn=n.$_$.z8,hn=e.$_$.o,_n=e.$_$.p,yn=n.$_$.c1,dn=e.$_$.s,vn=e.$_$.a,gn=e.$_$.z,mn=e.$_$.b1,bn=e.$_$.a1,wn=e.$_$.y,$n=e.$_$.v,jn=e.$_$.w,kn=e.$_$.x,qn=e.$_$.q,Cn=e.$_$.r,zn=e.$_$.p1,xn=e.$_$.m1,Sn=e.$_$.l1,On=e.$_$.n1,En=e.$_$.k1,Rn=e.$_$.o1,Pn=e.$_$.q1,Tn=n.$_$.a9,An=n.$_$.y4,Nn=n.$_$.w,In=n.$_$.e3,Bn=n.$_$.d6,Mn=n.$_$.f8,Ln=n.$_$.j6;function Fn(t){this.core.a1c(new rn(t.b3f_1,t.c3f_1,t.a3f_1,t.e3f_1,t.z3e_1.d2j_1,t.z3e_1.e2j_1))}function Dn(t,n){return new Promise(Po(this,t,n))}function Jn(){return new Promise(Ao(this))}function Un(t){return new Promise(Io(this,t))}function Hn(t){return new Promise(Mo(this,t))}function Vn(t){return new Promise(Fo(this,t))}function Kn(t,n){return new Promise(Kr(this,t,n))}function Wn(t){return new Promise(Gr(this,t))}function Gn(t,n){return new Promise(Yr(this,t,n))}function Xn(t){return new Promise(Qr(this,t))}function Yn(t){return new Promise(no(this,t))}function Zn(t,n,e){return new Promise(ro(this,t,n,e))}function Qn(t,n,e,r){return new Promise(io(this,t,n,e,r))}function te(t,n,e,r){return new Promise(so(this,t,n,e,r))}function ne(t,n){return new Promise(co(this,t,n))}function ee(t,n){return new Promise(lo(this,t,n))}function re(t,n){return new Promise(ho(this,t,n))}function oe(t){return this.media.getPeerConnection(t)}function ie(t){var n,e=Jo(t),r=null==e?null:qu(e);return n=null==r?sn():r,new Promise(yi(this,n))}function ue(t){return new Promise(vi(this,t))}function se(t){return new Promise(mi(this,t))}function ae(t){return new Promise(wi(this,t))}function ce(t){return new Promise(ji(this,t))}function pe(t,n,e){return new Promise(qi(this,t,n,e))}function le(t,n){return new Promise(zi(this,t,n))}function fe(t){return new Promise(Si(this,t))}function he(t){return new Promise(Ei(this,t))}function _e(t){return new Promise(Pi(this,t))}function ye(t){return new Promise(Ai(this,t))}function de(t,n){return new Promise(Ii(this,t,n))}function ve(t){this.q36_1=t}function ge(t){this.u36_1=t}function me(t){this.v36_1=t}function be(t,n,e){this.r36_1=e,this.s36_1=(new zt).x1b(cu(t)).y1b(lu(n)).z1b(fu(this.r36_1)),this.t36_1=null,this.s36_1.b1b(new ve(this)),this.s36_1.d1b(new ge(this)),this.s36_1.c1b(new me(this))}function we(t){for(var n,e=this,r=t.s2n_1,o=St(xt(r,10)),i=r.g();i.h();){var u;u=Oe(i.i()),o.a(u)}n=Ot(o),e.a37_1=n,this.b37_1=t.t2n_1,this.c37_1=t.u2n_1}function $e(){}function je(t){this.g37_1=new nr(t.v2n_1);var n,e=this,r=t.w2n_1;n=null==r?null:new nr(r),e.h37_1=n}function ke(t){this.k37_1=t.x2n_1,this.l37_1=t.y2n_1,this.m37_1=t.z2n_1,this.n37_1=t.a2o_1,this.o37_1=new je(t.b2o_1)}function qe(t){this.p37_1=new nr(t.c2o_1)}function Ce(t){this.q37_1=t.d2o_1,this.r37_1=t.e2o_1,this.s37_1=t.f2o_1,this.t37_1=t.g2o_1,this.u37_1=new qe(t.h2o_1)}function ze(t){this.v37_1=new nr(t.i2o_1)}function xe(t){this.w37_1=t.j2o_1,this.x37_1=t.k2o_1,this.y37_1=t.l2o_1,this.z37_1=t.m2o_1,this.a38_1=new ze(t.n2o_1)}function Se(t){this.b38_1=t.o2o_1,this.c38_1=t.p2o_1,this.d38_1=t.q2o_1,this.e38_1=t.r2o_1,this.f38_1=t.s2o_1}function Oe(t){var n,e=t;return e instanceof Bt?n=new ke(t):e instanceof It?n=new Ce(t):e instanceof Nt?n=new xe(t):e instanceof At?n=new Te(t):e instanceof Tt?n=new Ne(t):e instanceof Pt?n=new Se(t):Rt(),n}function Ee(){}function Re(){}function Pe(t){this.h38_1=new nr(t.p2p_1),this.i38_1=t.q2p_1}function Te(t){this.k38_1=t.u2p_1,this.l38_1=t.r2p_1,this.m38_1=t.s2p_1,this.n38_1=t.t2p_1,this.o38_1=new Pe(t.v2p_1)}function Ae(t){this.p38_1=new nr(t.w2p_1),this.q38_1=t.x2p_1}function Ne(t){this.s38_1=t.b2q_1,this.t38_1=t.y2p_1,this.u38_1=t.z2p_1,this.v38_1=t.a2q_1,this.w38_1=new Ae(t.c2q_1)}function Ie(){return[fr(),hr()]}function Be(t){switch(t){case"ASC":return fr();case"DESC":return hr();default:Me(),Mt()}}function Me(){if(i)return $t();i=!0,r=new Le("ASC",0,Lt()),o=new Le("DESC",1,Ft())}function Le(t,n,e){Dt.call(this,t,n),this.z38_1=e}function Fe(t){this.b39_1=t.b2n_1,this.c39_1=t.c2n_1,this.d39_1=new Ve(t.d2n_1),this.e39_1=t.e2n_1;var n,e=this,r=t.f2n_1;n=null==r?null:Xe(r.d4_1),e.f39_1=n,this.g39_1=t.g2n_1,this.h39_1=t.h2n_1;var o,i=this,u=t.i2n_1;o=null==u?null:Je(u.d4_1),i.i39_1=o,this.j39_1=t.j2n_1}function De(){return[_r(),yr(),dr()]}function Je(t){switch(t){case"ACTIVE":return _r();case"INACTIVE":return yr();case"DELETED":return dr();default:Ue(),Mt()}}function Ue(){if(c)return $t();c=!0,u=new He("ACTIVE",0),s=new He("INACTIVE",1),a=new He("DELETED",2)}function He(t,n){Dt.call(this,t,n)}function Ve(t){this.o39_1=t.m2n_1,this.p39_1=t.n2n_1,this.q39_1=t.o2n_1}function Ke(t){for(var n,e=this,r=t.p2n_1,o=St(xt(r,10)),i=r.g();i.h();){var u;u=new Fe(i.i()),o.a(u)}n=Ot(o),e.u39_1=n,this.v39_1=t.q2n_1,this.w39_1=t.r2n_1}function We(t){this.y39_1=t.c2p_1,this.z39_1=Xe(t.d2p_1.d4_1);var n,e=this,r=t.e2p_1;n=null==r?null:new nr(r),e.a3a_1=n;var o,i=this,u=t.f2p_1;o=null==u?null:new or(u),i.b3a_1=o;var s,a=this,c=t.g2p_1;s=null==c?null:new Qe(c),a.c3a_1=s}function Ge(){return[vr(),gr(),mr(),br()]}function Xe(t){switch(t){case"INVITED":return vr();case"JOINED":return gr();case"LEFT":return mr();case"UNKNOWN":return br();default:Ye(),Mt()}}function Ye(){if(_)return $t();_=!0,p=new Ze("INVITED",0),l=new Ze("JOINED",1),f=new Ze("LEFT",2),h=new Ze("UNKNOWN",3)}function Ze(t,n){Dt.call(this,t,n)}function Qe(t){this.f3a_1=t.j2p_1,this.g3a_1=t.k2p_1,this.h3a_1=t.l2p_1}function tr(t){for(var n,e=this,r=t.m2p_1,o=St(xt(r,10)),i=r.g();i.h();){var u;u=new We(i.i()),o.a(u)}n=Ot(o),e.l3a_1=n,this.m3a_1=t.n2p_1,this.n3a_1=t.o2p_1}function nr(t){this.p3a_1=t.d2q_1,this.q3a_1=t.e2q_1,this.r3a_1=t.f2q_1;var n,e=this,r=t.g2q_1;n=null==r?null:new rr(r),e.s3a_1=n;var o,i=this,u=t.h2q_1;o=null==u?null:new er(u),i.t3a_1=o,this.u3a_1=t.i2q_1,this.v3a_1=t.j2q_1}function er(t){this.x3a_1=t.m2q_1,this.y3a_1=t.n2q_1,this.z3a_1=t.o2q_1}function rr(t){var n,e,r=this,o=t.h2j_1;if(null==o)n=null;else{for(var i=St(xt(o,10)),u=o.g();u.h();){var s;s=new ir(u.i()),i.a(s)}n=i}e=null==n?null:Ot(n),r.a3b_1=e;var a,c,p=this,l=t.i2j_1;if(null==l)a=null;else{for(var f=St(xt(l,10)),h=l.g();h.h();){var _;_=new ir(h.i()),f.a(_)}a=f}c=null==a?null:Ot(a),p.b3b_1=c;var y,d,v=this,g=t.j2j_1;if(null==g)y=null;else{for(var m=St(xt(g,10)),b=g.g();b.h();){var w;w=new ir(b.i()),m.a(w)}y=m}d=null==y?null:Ot(y),v.c3b_1=d;var $,j,k=this,q=t.k2j_1;if(null==q)$=null;else{for(var C=St(xt(q,10)),z=q.g();z.h();){var x;x=new ir(z.i()),C.a(x)}$=C}j=null==$?null:Ot($),k.d3b_1=j;var S,O,E=this,R=t.l2j_1;if(null==R)S=null;else{for(var P=St(xt(R,10)),T=R.g();T.h();){var A;A=new ir(T.i()),P.a(A)}S=P}O=null==S?null:Ot(S),E.e3b_1=O;var N,I,B=this,M=t.m2j_1;if(null==M)N=null;else{for(var L=St(xt(M,10)),F=M.g();F.h();){var D;D=new ir(F.i()),L.a(D)}N=L}I=null==N?null:Ot(N),B.f3b_1=I;var J,U,H=this,V=t.n2j_1;if(null==V)J=null;else{for(var K=St(xt(V,10)),W=V.g();W.h();){var G;G=new ir(W.i()),K.a(G)}J=K}U=null==J?null:Ot(J),H.g3b_1=U;var X,Y,Z=this,Q=t.o2j_1;if(null==Q)X=null;else{for(var tt=St(xt(Q,10)),nt=Q.g();nt.h();){var et;et=new ir(nt.i()),tt.a(et)}X=tt}Y=null==X?null:Ot(X),Z.h3b_1=Y;var rt,ot,it=this,ut=t.p2j_1;if(null==ut)rt=null;else{for(var st=St(xt(ut,10)),at=ut.g();at.h();){var ct;ct=new ir(at.i()),st.a(ct)}rt=st}ot=null==rt?null:Ot(rt),it.i3b_1=ot;var pt,lt,ft=this,ht=t.q2j_1;if(null==ht)pt=null;else{for(var _t=St(xt(ht,10)),yt=ht.g();yt.h();){var dt;dt=new ir(yt.i()),_t.a(dt)}pt=_t}lt=null==pt?null:Ot(pt),ft.j3b_1=lt;var vt,gt,mt=this,bt=t.r2j_1;if(null==bt)vt=null;else{for(var wt=St(xt(bt,10)),$t=bt.g();$t.h();){var jt;jt=new ir($t.i()),wt.a(jt)}vt=wt}gt=null==vt?null:Ot(vt),mt.k3b_1=gt}function or(t){this.w3b_1=cr(t.k2m_1.d4_1);var n,e=this,r=t.l2m_1;n=null==r?null:new ir(r),e.x3b_1=n;var o,i=this,u=t.m2m_1;o=null==u?null:new ir(u),i.y3b_1=o}function ir(t){this.z3b_1=t.r2m_1,this.a3c_1=t.s2m_1}function ur(t){this.b3c_1=t.y2m_1,this.c3c_1=t.a2n_1,this.d3c_1=t.z2m_1}function sr(t){this.e3c_1=t.t2o_1,this.f3c_1=t.u2o_1,this.g3c_1=t.v2o_1,this.h3c_1=t.w2o_1,this.i3c_1=t.x2o_1,this.j3c_1=t.y2o_1,this.k3c_1=t.z2o_1,this.l3c_1=new ur(t.a2p_1),this.m3c_1=new ur(t.b2p_1)}function ar(){return[wr(),$r(),jr(),kr(),qr(),Cr(),zr(),xr(),Sr(),Or(),Er()]}function cr(t){switch(t){case"APP":return wr();case"PHONE":return $r();case"PSTN":return jr();case"SIP":return kr();case"VBC":return qr();case"WEBSOCKET":return Cr();case"SMS":return zr();case"MMS":return xr();case"WHATSAPP":return Sr();case"VIBER":return Or();case"MESSENGER":return Er();default:pr(),Mt()}}function pr(){if(C)return $t();C=!0,y=new lr("APP",0),d=new lr("PHONE",1),v=new lr("PSTN",2),g=new lr("SIP",3),m=new lr("VBC",4),b=new lr("WEBSOCKET",5),w=new lr("SMS",6),$=new lr("MMS",7),j=new lr("WHATSAPP",8),k=new lr("VIBER",9),q=new lr("MESSENGER",10)}function lr(t,n){Dt.call(this,t,n)}function fr(){return Me(),r}function hr(){return Me(),o}function _r(){return Ue(),u}function yr(){return Ue(),s}function dr(){return Ue(),a}function vr(){return Ye(),p}function gr(){return Ye(),l}function mr(){return Ye(),f}function br(){return Ye(),h}function wr(){return pr(),y}function $r(){return pr(),d}function jr(){return pr(),v}function kr(){return pr(),g}function qr(){return pr(),m}function Cr(){return pr(),b}function zr(){return pr(),w}function xr(){return pr(),$}function Sr(){return pr(),j}function Or(){return pr(),k}function Er(){return pr(),q}function Rr(){z=this,this.r3c_1="conversation:error:duplicate-name",this.s3c_1="conversation:error:member-already-joined",this.t3c_1="conversation:error:member-already-invited",this.u3c_1="conversation:error:not-found",this.v3c_1="conversation:error:member-not-found",this.w3c_1="user:error:not-found",this.x3c_1="paginator-builder:error:invalid-cursor",this.y3c_1="http:error:validation-fail",this.z3c_1="conversation:error:maximum-number-of-members"}function Pr(){return null==z&&new Rr,z}function Tr(){x=this,this.j3d_1="session:error:empty-token",this.k3d_1="session:error:server-forced-disconnect",this.l3d_1="session:error:timeout",this.m3d_1="session:error:internal-failure",this.n3d_1="session:error:no-active-session",this.o3d_1="session:error:already-active-session",this.p3d_1="session:error:invalid-token",this.q3d_1="session:error:expired-token",this.r3d_1="user:error:invalid-user",this.s3d_1="system:error:permission",this.t3d_1="session:error:invalid-session",this.u3d_1="session:error:max-open-sessions-permitted",this.v3d_1="session:error:websocket-transport-invalid",this.w3d_1="session:disconnect:client-disconnect",this.x3d_1="session:disconnect:ping-timeout",this.y3d_1="session:disconnect:websocket-transport-closed"}function Ar(){return null==x&&new Tr,x}function Nr(t){Ut(this,t.message,void 0),this.p3e_1=Br(t.q2l_1.d4_1),this.q3e_1=t.r2l_1,this.r3e_1=t.cause,Ht(this,Nr)}function Ir(){return[Fr(),Dr(),Jr(),Ur(),Hr()]}function Br(t){switch(t){case"CS_ERROR":return Fr();case"HTTP_CLIENT_ERROR":return Dr();case"SESSION_ERROR":return Jr();case"INTERNAL_ERROR":return Ur();case"UNKNOWN_ERROR":return Hr();default:Mr(),Mt()}}function Mr(){if(T)return $t();T=!0,S=new Lr("CS_ERROR",0),O=new Lr("HTTP_CLIENT_ERROR",1),E=new Lr("SESSION_ERROR",2),R=new Lr("INTERNAL_ERROR",3),P=new Lr("UNKNOWN_ERROR",4)}function Lr(t,n){Dt.call(this,t,n)}function Fr(){return Mr(),S}function Dr(){return Mr(),O}function Jr(){return Mr(),E}function Ur(){return Mr(),R}function Hr(){return Mr(),P}function Vr(t,n){return function(e,r){var o;null==r?o=null:(t(r),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function Kr(t,n,e){return function(r,o){return t.core.g1c(n,e,Vr(r,o)),$t()}}function Wr(t,n){return function(e,r){var o;null==r?o=null:(t(r),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function Gr(t,n){return function(e,r){return t.core.h1c(n,Wr(e,r)),$t()}}function Xr(t,n){return function(e,r){var o;null==r?o=null:(t(r),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function Yr(t,n,e){return function(r,o){return t.core.i1c(n,e,Xr(r,o)),$t()}}function Zr(t,n){return function(e){var r,o=e instanceof Vt?e:null;null==o?r=null:(t(new Nr(o)),r=$t());var i,u,s=r;return null==s?(null==e?u=null:(t(e),u=$t()),i=u):i=s,null==i?n(null):$t(),$t()}}function Qr(t,n){return function(e,r){return t.core.j1c(n,Zr(r,e)),$t()}}function to(t,n){return function(e){var r,o=e instanceof Vt?e:null;null==o?r=null:(t(new Nr(o)),r=$t());var i,u,s=r;return null==s?(null==e?u=null:(t(e),u=$t()),i=u):i=s,null==i?n(null):$t(),$t()}}function no(t,n){return function(e,r){return t.core.k1c(n,to(r,e)),$t()}}function eo(t,n){return function(e,r){var o;null==r?o=null:(t(new Ke(r)),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function ro(t,n,e,r){return function(o,i){var u=t.core,s=null==n?null:n.z38_1;return u.l1c(s,e,r,eo(o,i)),$t()}}function oo(t,n){return function(e,r){var o;null==r?o=null:(t(new tr(r)),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function io(t,n,e,r,o){return function(i,u){var s=t.core,a=null==e?null:e.z38_1;return s.m1c(n,a,r,o,oo(i,u)),$t()}}function uo(t,n){return function(e,r){var o;null==r?o=null:(t(new we(r)),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function so(t,n,e,r,o){return function(i,u){var s=t.core,a=null==e?null:e.z38_1;return s.n1c(n,a,r,o,uo(i,u)),$t()}}function ao(t,n){return function(e,r){var o;null==r?o=null:(t(new We(r)),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function co(t,n,e){return function(r,o){return t.core.o1c(n,e,ao(r,o)),$t()}}function po(t,n){return function(e,r){var o;null==r?o=null:(t(r),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function lo(t,n,e){return function(r,o){return t.core.h1d(n,e,null,null,null,null,null,null,po(r,o),252,null),$t()}}function fo(t,n){return function(e,r){var o;null==r?o=null:(t(r),o=$t());var i,u=o;if(null==u){var s,a=e instanceof Vt?e:null;null==a?s=null:(n(new Nr(a)),s=$t()),i=s}else i=u;if(null==i){var c=e;n(null==c?Kt(void 0,void 0):c)}else $t();return $t()}}function ho(t,n,e){return function(r,o){return t.core.h1d(n,null,null,null,null,null,null,e,fo(r,o),126,null),$t()}}function _o(){}function yo(){return[Uo(),Ho(),Vo()]}function vo(t){switch(t){case"AP":return Uo();case"EU":return Ho();case"US":return Vo();default:go(),Mt()}}function go(){if(B)return $t();B=!0,A=new mo("AP",0,Wt()),N=new mo("EU",1,Gt()),I=new mo("US",2,Xt())}function mo(t,n,e){Dt.call(this,t,n),this.x3e_1=e}function bo(t){this.z3e_1=Yt().w2i(t.x3e_1,"js","Generic JS Navigator",!0),this.a3f_1=this.z3e_1.x2i_1,this.b3f_1=this.z3e_1.y2i_1,this.c3f_1=this.z3e_1.z2i_1,this.d3f_1=this.z3e_1.a2j_1,this.e3f_1=this.z3e_1.c2j_1}function wo(){return[Ko(),Wo(),Go(),Xo(),Yo(),Zo()]}function $o(t){switch(t){case"Verbose":return Ko();case"Debug":return Wo();case"Info":return Go();case"Warn":return Xo();case"Error":return Yo();case"Assert":return Zo();default:jo(),Mt()}}function jo(){if(H)return $t();H=!0,M=new ko("Verbose",0,"Verbose"),L=new ko("Debug",1,"Debug"),F=new ko("Info",2,"Info"),D=new ko("Warn",3,"Warn"),J=new ko("Error",4,"Error"),U=new ko("Assert",5,"Assert")}function ko(t,n,e){Dt.call(this,t,n),this.s3f_1=e}function qo(){G=this}function Co(){return So(),null==G&&new qo,G}function zo(){return[Qo(),ti(),ni()]}function xo(t){switch(t){case"EXPIRED_TOKEN":return Qo();case"TRANSPORT_CLOSED":return ti();case"PING_TIMEOUT":return ni();default:So(),Mt()}}function So(){if(X)return $t();X=!0,V=new Oo("EXPIRED_TOKEN",0,Qt()),K=new Oo("TRANSPORT_CLOSED",1,tn()),W=new Oo("PING_TIMEOUT",2,nn()),Co()}function Oo(t,n,e){Dt.call(this,t,n),this.v3f_1=e}function Eo(t){en(t)}function Ro(t,n){return function(e,r){return null!=e?t(e):null!=r?n(r):t(Kt("",void 0)),$t()}}function Po(t,n,e){return function(r,o){return t.core.b1c(n,e,Ro(o,r)),$t()}}function To(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Ao(t){return function(n,e){return t.core.c1c(To(e,n)),$t()}}function No(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Io(t,n){return function(e,r){return t.core.d1c(n,No(r,e)),$t()}}function Bo(t,n){return function(e,r){var o;if(null==r?o=null:(t(new Fe(r)),o=$t()),null==o){var i=e;n(null==i?Kt(void 0,void 0):i)}else $t();return $t()}}function Mo(t,n){return function(e,r){return t.core.e1c(n,Bo(e,r)),$t()}}function Lo(t,n){return function(e,r){var o;if(null==r?o=null:(t(new nr(r)),o=$t()),null==o){var i=e;n(null==i?Kt(void 0,void 0):i)}else $t();return $t()}}function Fo(t,n){return function(e,r){return t.core.f1c(n,Lo(e,r)),$t()}}function Do(){}function Jo(t){return null==t||on(t,void 0)?null:t}function Uo(){return go(),A}function Ho(){return go(),N}function Vo(){return go(),I}function Ko(){return jo(),M}function Wo(){return jo(),L}function Go(){return jo(),F}function Xo(){return jo(),D}function Yo(){return jo(),J}function Zo(){return jo(),U}function Qo(){return So(),V}function ti(){return So(),K}function ni(){return So(),W}function ei(){tt=this}function ri(){return ui(),null==tt&&new ei,tt}function oi(){return[Li(),Fi(),Di()]}function ii(t){switch(t){case"RINGING":return Li();case"ANSWERED":return Fi();case"COMPLETED":return Di();default:ui(),Mt()}}function ui(){if(nt)return $t();nt=!0,Y=new si("RINGING",0),Z=new si("ANSWERED",1),Q=new si("COMPLETED",2),ri()}function si(t,n){Dt.call(this,t,n)}function ai(){st=this}function ci(){return fi(),null==st&&new ai,st}function pi(){return[Ji(),Ui(),Hi(),Vi(),Ki()]}function li(t){switch(t){case"REMOTE_HANGUP":return Ji();case"REMOTE_REJECT":return Ui();case"REMOTE_NO_ANSWER_TIMEOUT":return Hi();case"LOCAL_HANGUP":return Vi();case"MEDIA_TIMEOUT":return Ki();default:fi(),Mt()}}function fi(){if(at)return $t();at=!0,et=new hi("REMOTE_HANGUP",0),rt=new hi("REMOTE_REJECT",1),ot=new hi("REMOTE_NO_ANSWER_TIMEOUT",2),it=new hi("LOCAL_HANGUP",3),ut=new hi("MEDIA_TIMEOUT",4),ci()}function hi(t,n){Dt.call(this,t,n)}function _i(t,n){return function(e,r){if(null!=r)t(r);else{var o=e;n(null==o?Kt("",void 0):o)}return $t()}}function yi(t,n){return function(e,r){return t.core.e1b(n,_i(e,r)),$t()}}function di(t,n){return function(e){return null!=e?t(e instanceof Error?e:un()):n(null),$t()}}function vi(t,n){return function(e,r){return t.core.f1b(n,di(r,e)),$t()}}function gi(t,n){return function(e,r){if(null!=r)t(new sr(r));else{var o=e;n(null==o?Kt("",void 0):o)}return $t()}}function mi(t,n){return function(e,r){return t.core.g1b(n,gi(e,r)),$t()}}function bi(t,n){return function(e){return null!=e?t(e instanceof Error?e:un()):n(null),$t()}}function wi(t,n){return function(e,r){return t.core.i1b(n,bi(r,e)),$t()}}function $i(t,n){return function(e){return null!=e?t(e instanceof Error?e:un()):n(null),$t()}}function ji(t,n){return function(e,r){return t.core.h1b(n,$i(r,e)),$t()}}function ki(t,n){return function(e){return null==e?t(null):n(e instanceof Error?e:un()),$t()}}function qi(t,n,e,r){return function(o,i){return t.core.j1b(n,e,r,ki(o,i)),$t()}}function Ci(t,n){return function(e){return null!=e?t(e instanceof Error?e:un()):n(null),$t()}}function zi(t,n,e){return function(r,o){var i=t.core,u=e.text,s=Jo(e.level),a=null==s?1:s,c=Jo(e.loop),p=null==c?1:c,l=Jo(e.queue),f=null==l||l,h=Jo(e.voiceName),_=null==h?"amy":h,y=Jo(e.ssml),d=null==y||y;return i.p1b(n,u,a,p,f,_,d,Ci(o,r)),$t()}}function xi(t,n){return function(e){return null!=e?t(e instanceof Error?e:un()):n(null),$t()}}function Si(t,n){return function(e,r){return t.core.k1b(n,xi(r,e)),$t()}}function Oi(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Ei(t,n){return function(e,r){return t.core.l1b(n,Oi(r,e)),$t()}}function Ri(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Pi(t,n){return function(e,r){return t.core.m1b(n,Ri(r,e)),$t()}}function Ti(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Ai(t,n){return function(e,r){return t.core.n1b(n,Ti(r,e)),$t()}}function Ni(t,n){return function(e){return null!=e?t(e):n(null),$t()}}function Ii(t,n,e){return function(r,o){return t.core.o1b(n,e,Ni(o,r)),$t()}}function Bi(){}function Mi(t,n){this.a3g_1=t,this.b3g_1=n}function Li(){return ui(),Y}function Fi(){return ui(),Z}function Di(){return ui(),Q}function Ji(){return fi(),et}function Ui(){return fi(),rt}function Hi(){return fi(),ot}function Vi(){return fi(),it}function Ki(){return fi(),ut}function Wi(t,n){var e=void 0===t?null:t,r=void 0===n?null:n;Ut(this,void 0,void 0),this.e3g_1=e,this.f3g_1=r,Ht(this,Wi)}function Gi(t,n){var e=void 0===n?null:n;this.j3g_1=t,this.k3g_1=e}function Xi(){return ct}function Yi(){return pt}function Zi(){return lt}function Qi(){return ft}function tu(){return ht}function nu(){return _t}function eu(){return yt}function ru(){return[bu(),wu(),$u(),ju()]}function ou(t){switch(t){case"RemoteCancel":return bu();case"AnsweredElsewhere":return wu();case"RejectedElsewhere":return $u();case"RemoteTimeout":return ju();default:iu(),Mt()}}function iu(){if(bt)return $t();bt=!0,dt=new uu("RemoteCancel",0,"RemoteCancel"),vt=new uu("AnsweredElsewhere",1,"AnsweredElsewhere"),gt=new uu("RejectedElsewhere",2,"RejectedElsewhere"),mt=new uu("RemoteTimeout",3,"RemoteTimeout")}function uu(t,n,e){Dt.call(this,t,n),this.q3g_1=e}function su(t){this.r3g_1=t,this.s3g_1=this.r3g_1.h2w_1,this.t3g_1=this.r3g_1.i2w_1,this.u3g_1=this.r3g_1.j2w_1,this.v3g_1=this.r3g_1.k2w_1,this.w3g_1=this.r3g_1.l2w_1,this.x3g_1=this.r3g_1.m2w_1,this.y3g_1=this.r3g_1.n2w_1,this.z3g_1=this.r3g_1.o2w_1,this.a3h_1=this.r3g_1.p2w_1}function au(t,n,e,r,o,i,u,s,a,c){this.m3h_1=t,this.n3h_1=n,this.o3h_1=e,this.p3h_1=r,this.q3h_1=o,this.r3h_1=i,this.s3h_1=u,this.t3h_1=s,this.u3h_1=a,this.v3h_1=c}function cu(t){return new _u(t)}function pu(t){return"RejectedElsewhere"===t?$u():"AnsweredElsewhere"===t?wu():"RemoteTimeout"===t?ju():bu()}function lu(t){var n=new du(t);return t.delegate=new vu(n),n}function fu(t){var n=new gu(t);return t.delegate=new mu(n),n}function hu(t){return function(n,e){var r;return null==n?(r=null==e?null:new hn(e.j3g_1,e.k3g_1),t(null,r)):t(n.coreError,null),$t()}}function _u(t){this.h3i_1=t}function yu(t){return function(n,e){var r;return r=null==n?null:yn(n),t(r,e),$t()}}function du(t){this.j3i_1=t,this.i3i_1=null}function vu(t){this.l3i_1=t}function gu(t){this.n3i_1=t,this.m3i_1=null}function mu(t){this.p3i_1=t}function bu(){return iu(),dt}function wu(){return iu(),vt}function $u(){return iu(),gt}function ju(){return iu(),mt}function ku(t){for(var n=Object.entries,e=(null!=n&&"function"==typeof n?n:un())(t),r=St(e.length),o=e,i=0,u=o.length;i<u;){var s,a=o[i];i=i+1|0;var c=a[0];s=Tn(null!=c&&"string"==typeof c?c:un(),a[1]),r.a(s)}return r}function qu(t){return An(ku(t))}function Cu(t,n){for(var e,r=Nn(),o=n.q().g();o.h();){var i=o.i(),u=i.q1(),s=i.s1();if(null!=u&&"string"==typeof u){var a=u;r.l(a,s)}}for(var c=r,p=St(c.f()),l=c.q().g();l.h();){var f,h,_=l.i(),y=_.q1(),d=_.s1();if(null!=d&&"string"==typeof d||null!=d&&"boolean"==typeof d||null!=d&&"number"==typeof d)h=_.s1();else if(null!=d&&Bn(d,In)){var v;try{var g=JSON,m=_.s1();v=Cu(g,null!=m&&Bn(m,In)?m:un())}catch(t){if(!(t instanceof cn))throw t;v=null}h=v}else h=null;f=new Mn(y,h),p.a(f)}return e=Ot(p),Ln(e.slice())}function zu(t){(n=t.vonage||(t.vonage={})).CombinedClientJS=be,(n=t.vonage||(t.vonage={})).EventsPageJS=we,n.MemberInvitedEventJS=ke,n.MemberInvitedEventJS.Body=je,n.MemberJoinedEventJS=Ce,n.MemberJoinedEventJS.Body=qe,n.MemberLeftEventJS=xe,n.MemberLeftEventJS.Body=ze,n.UnknownEventJS=Se,(n=t.vonage||(t.vonage={})).TextMessageEventJS=Te,n.TextMessageEventJS.Body=Pe,n.CustomMessageEventJS=Ne,n.CustomMessageEventJS.Body=Ae,(n=t.vonage||(t.vonage={})).PresentingOrderJS=Le,n.PresentingOrderJS.values=Ie,n.PresentingOrderJS.valueOf=Be,Object.defineProperty(n.PresentingOrderJS,"ASC",{configurable:!0,get:fr}),Object.defineProperty(n.PresentingOrderJS,"DESC",{configurable:!0,get:hr}),n.ConversationJS=Fe,n.ConversationStateJS=He,n.ConversationStateJS.values=De,n.ConversationStateJS.valueOf=Je,Object.defineProperty(n.ConversationStateJS,"ACTIVE",{configurable:!0,get:_r}),Object.defineProperty(n.ConversationStateJS,"INACTIVE",{configurable:!0,get:yr}),Object.defineProperty(n.ConversationStateJS,"DELETED",{configurable:!0,get:dr}),n.ConversationTimestampJS=Ve,n.ConversationsPageJS=Ke,n.MemberJS=We,n.MemberStateJS=Ze,n.MemberStateJS.values=Ge,n.MemberStateJS.valueOf=Xe,Object.defineProperty(n.MemberStateJS,"INVITED",{configurable:!0,get:vr}),Object.defineProperty(n.MemberStateJS,"JOINED",{configurable:!0,get:gr}),Object.defineProperty(n.MemberStateJS,"LEFT",{configurable:!0,get:mr}),Object.defineProperty(n.MemberStateJS,"UNKNOWN",{configurable:!0,get:br}),n.MemberTimestampJS=Qe,n.MembersPageJS=tr,n.UserJS=nr,n.UserTimestampJS=er,n.UserChannelsJS=rr,n.MemberChannelJS=or,n.ChannelJS=ir,n.LegChannelJS=ur,n.LegJS=sr,n.ChannelTypeJS=lr,n.ChannelTypeJS.values=ar,n.ChannelTypeJS.valueOf=cr,Object.defineProperty(n.ChannelTypeJS,"APP",{configurable:!0,get:wr}),Object.defineProperty(n.ChannelTypeJS,"PHONE",{configurable:!0,get:$r}),Object.defineProperty(n.ChannelTypeJS,"PSTN",{configurable:!0,get:jr}),Object.defineProperty(n.ChannelTypeJS,"SIP",{configurable:!0,get:kr}),Object.defineProperty(n.ChannelTypeJS,"VBC",{configurable:!0,get:qr}),Object.defineProperty(n.ChannelTypeJS,"WEBSOCKET",{configurable:!0,get:Cr}),Object.defineProperty(n.ChannelTypeJS,"SMS",{configurable:!0,get:zr}),Object.defineProperty(n.ChannelTypeJS,"MMS",{configurable:!0,get:xr}),Object.defineProperty(n.ChannelTypeJS,"WHATSAPP",{configurable:!0,get:Sr}),Object.defineProperty(n.ChannelTypeJS,"VIBER",{configurable:!0,get:Or}),Object.defineProperty(n.ChannelTypeJS,"MESSENGER",{configurable:!0,get:Er});var n=t.vonage||(t.vonage={});Object.defineProperty(n,"CSErrorCodesJS",{configurable:!0,get:Pr}),Object.defineProperty(n,"SessionErrorCodesJS",{configurable:!0,get:Ar}),(n=t.vonage||(t.vonage={})).VonageErrorJS=Nr,n.VonageErrorTypeJS=Lr,n.VonageErrorTypeJS.values=Ir,n.VonageErrorTypeJS.valueOf=Br,Object.defineProperty(n.VonageErrorTypeJS,"CS_ERROR",{configurable:!0,get:Fr}),Object.defineProperty(n.VonageErrorTypeJS,"HTTP_CLIENT_ERROR",{configurable:!0,get:Dr}),Object.defineProperty(n.VonageErrorTypeJS,"SESSION_ERROR",{configurable:!0,get:Jr}),Object.defineProperty(n.VonageErrorTypeJS,"INTERNAL_ERROR",{configurable:!0,get:Ur}),Object.defineProperty(n.VonageErrorTypeJS,"UNKNOWN_ERROR",{configurable:!0,get:Hr}),n=t.vonage||(t.vonage={}),(n=t.vonage||(t.vonage={})).CoreClientConfigRegionJS=mo,n.CoreClientConfigRegionJS.values=yo,n.CoreClientConfigRegionJS.valueOf=vo,Object.defineProperty(n.CoreClientConfigRegionJS,"AP",{configurable:!0,get:Uo}),Object.defineProperty(n.CoreClientConfigRegionJS,"EU",{configurable:!0,get:Ho}),Object.defineProperty(n.CoreClientConfigRegionJS,"US",{configurable:!0,get:Vo}),n.CoreClientConfigJS=bo,n.LoggingLevelJS=ko,n.LoggingLevelJS.values=wo,n.LoggingLevelJS.valueOf=$o,Object.defineProperty(n.LoggingLevelJS,"Verbose",{configurable:!0,get:Ko}),Object.defineProperty(n.LoggingLevelJS,"Debug",{configurable:!0,get:Wo}),Object.defineProperty(n.LoggingLevelJS,"Info",{configurable:!0,get:Go}),Object.defineProperty(n.LoggingLevelJS,"Warn",{configurable:!0,get:Xo}),Object.defineProperty(n.LoggingLevelJS,"Error",{configurable:!0,get:Yo}),Object.defineProperty(n.LoggingLevelJS,"Assert",{configurable:!0,get:Zo}),n.SessionErrorReasonJS=Oo,n.SessionErrorReasonJS.values=zo,n.SessionErrorReasonJS.valueOf=xo,Object.defineProperty(n.SessionErrorReasonJS,"EXPIRED_TOKEN",{configurable:!0,get:Qo}),Object.defineProperty(n.SessionErrorReasonJS,"TRANSPORT_CLOSED",{configurable:!0,get:ti}),Object.defineProperty(n.SessionErrorReasonJS,"PING_TIMEOUT",{configurable:!0,get:ni}),Object.defineProperty(n.SessionErrorReasonJS,"Companion",{configurable:!0,get:Co}),n.setDefaultLoggingLevel=Eo,(n=t.vonage||(t.vonage={})).LegStatusJS=si,n.LegStatusJS.values=oi,n.LegStatusJS.valueOf=ii,Object.defineProperty(n.LegStatusJS,"RINGING",{configurable:!0,get:Li}),Object.defineProperty(n.LegStatusJS,"ANSWERED",{configurable:!0,get:Fi}),Object.defineProperty(n.LegStatusJS,"COMPLETED",{configurable:!0,get:Di}),Object.defineProperty(n.LegStatusJS,"Companion",{configurable:!0,get:ri}),n.HangupReasonJS=hi,n.HangupReasonJS.values=pi,n.HangupReasonJS.valueOf=li,Object.defineProperty(n.HangupReasonJS,"REMOTE_HANGUP",{configurable:!0,get:Ji}),Object.defineProperty(n.HangupReasonJS,"REMOTE_REJECT",{configurable:!0,get:Ui}),Object.defineProperty(n.HangupReasonJS,"REMOTE_NO_ANSWER_TIMEOUT",{configurable:!0,get:Hi}),Object.defineProperty(n.HangupReasonJS,"LOCAL_HANGUP",{configurable:!0,get:Vi}),Object.defineProperty(n.HangupReasonJS,"MEDIA_TIMEOUT",{configurable:!0,get:Ki}),Object.defineProperty(n.HangupReasonJS,"Companion",{configurable:!0,get:ci}),n.VoiceInviteFromInfoJS=Mi,(n=t.vonage||(t.vonage={})).HttpClientErrorJS=Wi,n.HttpClientResponseJS=Gi,Object.defineProperty(n,"SOCKET_CONNECTED",{configurable:!0,get:Xi}),Object.defineProperty(n,"SOCKET_RECONNECTING",{configurable:!0,get:Yi}),Object.defineProperty(n,"SOCKET_DISCONNECTED",{configurable:!0,get:Zi}),Object.defineProperty(n,"REASON_SERVER_DISCONNECTED",{configurable:!0,get:Qi}),Object.defineProperty(n,"REASON_CLIENT_DISCONNECTED",{configurable:!0,get:tu}),Object.defineProperty(n,"REASON_CLIENT_NETWORK_ERROR",{configurable:!0,get:nu}),Object.defineProperty(n,"REASON_PING_TIMEOUT",{configurable:!0,get:eu}),n.CancelReasonJS=uu,n.CancelReasonJS.values=ru,n.CancelReasonJS.valueOf=ou,Object.defineProperty(n.CancelReasonJS,"RemoteCancel",{configurable:!0,get:bu}),Object.defineProperty(n.CancelReasonJS,"AnsweredElsewhere",{configurable:!0,get:wu}),Object.defineProperty(n.CancelReasonJS,"RejectedElsewhere",{configurable:!0,get:$u}),Object.defineProperty(n.CancelReasonJS,"RemoteTimeout",{configurable:!0,get:ju}),n.RTCQualityJS=su,n.RTCStatsJS=au}Le.prototype=Object.create(Dt.prototype),Le.prototype.constructor=Le,He.prototype=Object.create(Dt.prototype),He.prototype.constructor=He,Ze.prototype=Object.create(Dt.prototype),Ze.prototype.constructor=Ze,lr.prototype=Object.create(Dt.prototype),lr.prototype.constructor=lr,Nr.prototype=Object.create(Error.prototype),Nr.prototype.constructor=Nr,Lr.prototype=Object.create(Dt.prototype),Lr.prototype.constructor=Lr,mo.prototype=Object.create(Dt.prototype),mo.prototype.constructor=mo,ko.prototype=Object.create(Dt.prototype),ko.prototype.constructor=ko,Oo.prototype=Object.create(Dt.prototype),Oo.prototype.constructor=Oo,si.prototype=Object.create(Dt.prototype),si.prototype.constructor=si,hi.prototype=Object.create(Dt.prototype),hi.prototype.constructor=hi,Wi.prototype=Object.create(Error.prototype),Wi.prototype.constructor=Wi,uu.prototype=Object.create(Dt.prototype),uu.prototype.constructor=uu,ve.prototype.r2q=function(){var t=this.q36_1.t36_1;null==t||t.reconnecting()},ve.prototype.s2q=function(){var t=this.q36_1.t36_1;null==t||t.reconnection()},ve.prototype.t2q=function(t){var n=Co().getSessionErrorReason(t);if(null==n);else{var e=this.q36_1.t36_1;null==e||(e.sessionError(n),$t())}},ve.$metadata$=kt(void 0,[jt]),ge.prototype.z2q=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.callInvite(t,n,e.d4_1)},ge.prototype.a2r=function(t,n){var e=this.u36_1.t36_1;null==e||e.callInviteCancel(t,pu(n.toString()))},ge.prototype.b2r=function(t,n){var e=this.u36_1.t36_1;null==e||e.callTransfer(t,n)},ge.prototype.c2r=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.mute(t,n,e)},ge.prototype.d2r=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.earmuff(t,n,e)},ge.prototype.e2r=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.dtmf(t,n,e)},ge.prototype.f2r=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.callHangup(t,new su(n),ci().getReason(e))},ge.prototype.g2r=function(t,n,e){var r=this.u36_1.t36_1;null==r||r.legStatusUpdate(t,n,ri().getStatus(e))},ge.$metadata$=kt(void 0,[qt]),me.prototype.q2h=function(t){var n=this.v36_1.t36_1;null==n||n.conversationEvent(Oe(t))},me.$metadata$=kt(void 0,[Ct]),be.prototype.w36=function(){return this.r36_1},be.prototype.x36=function(){return this.s36_1},be.prototype.y36=function(t){this.t36_1=t},be.prototype.z36=function(){return this.t36_1},be.$metadata$=kt("CombinedClientJS",[_o,Bi]),Object.defineProperty(be.prototype,"media",{configurable:!0,get:function(){return this.w36()}}),Object.defineProperty(be.prototype,"core",{configurable:!0,get:function(){return this.x36()}}),Object.defineProperty(be.prototype,"emitter",{configurable:!0,get:be.prototype.z36,set:be.prototype.y36}),we.prototype.d37=function(){return this.a37_1},we.prototype.e37=function(){return this.b37_1},we.prototype.f37=function(){return this.c37_1},we.$metadata$=kt("EventsPageJS"),Object.defineProperty(we.prototype,"events",{configurable:!0,get:we.prototype.d37}),Object.defineProperty(we.prototype,"previousCursor",{configurable:!0,get:we.prototype.e37}),Object.defineProperty(we.prototype,"nextCursor",{configurable:!0,get:we.prototype.f37}),$e.$metadata$=Et("ConversationEventJS"),je.prototype.i37=function(){return this.g37_1},je.prototype.j37=function(){return this.h37_1},je.$metadata$=kt("Body"),Object.defineProperty(je.prototype,"invitee",{configurable:!0,get:je.prototype.i37}),Object.defineProperty(je.prototype,"inviter",{configurable:!0,get:je.prototype.j37}),ke.prototype.q1m=function(){return this.k37_1},ke.prototype.f1q=function(){return this.l37_1},ke.prototype.s2t=function(){return this.m37_1},ke.prototype.x1g=function(){return this.n37_1},ke.prototype.k20=function(){return this.o37_1},ke.$metadata$=kt("MemberInvitedEventJS",[$e]),Object.defineProperty(ke.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(ke.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(ke.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(ke.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Object.defineProperty(ke.prototype,"body",{configurable:!0,get:ke.prototype.k20}),qe.prototype.i1m=function(){return this.p37_1},qe.$metadata$=kt("Body"),Object.defineProperty(qe.prototype,"user",{configurable:!0,get:qe.prototype.i1m}),Ce.prototype.q1m=function(){return this.q37_1},Ce.prototype.f1q=function(){return this.r37_1},Ce.prototype.s2t=function(){return this.s37_1},Ce.prototype.x1g=function(){return this.t37_1},Ce.prototype.k20=function(){return this.u37_1},Ce.$metadata$=kt("MemberJoinedEventJS",[$e]),Object.defineProperty(Ce.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(Ce.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(Ce.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(Ce.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Object.defineProperty(Ce.prototype,"body",{configurable:!0,get:Ce.prototype.k20}),ze.prototype.i1m=function(){return this.v37_1},ze.$metadata$=kt("Body"),Object.defineProperty(ze.prototype,"user",{configurable:!0,get:ze.prototype.i1m}),xe.prototype.q1m=function(){return this.w37_1},xe.prototype.f1q=function(){return this.x37_1},xe.prototype.s2t=function(){return this.y37_1},xe.prototype.x1g=function(){return this.z37_1},xe.prototype.k20=function(){return this.a38_1},xe.$metadata$=kt("MemberLeftEventJS",[$e]),Object.defineProperty(xe.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(xe.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(xe.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(xe.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Object.defineProperty(xe.prototype,"body",{configurable:!0,get:xe.prototype.k20}),Se.prototype.w2s=function(){return this.b38_1},Se.prototype.q1m=function(){return this.c38_1},Se.prototype.f1q=function(){return this.d38_1},Se.prototype.s2t=function(){return this.e38_1},Se.prototype.x1g=function(){return this.f38_1},Se.$metadata$=kt("UnknownEventJS",[$e]),Object.defineProperty(Se.prototype,"type",{configurable:!0,get:Se.prototype.w2s}),Object.defineProperty(Se.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(Se.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(Se.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(Se.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Ee.$metadata$=Et("MessageEventJS",[$e]),Re.$metadata$=Et("MessageEventBodyJS"),Pe.prototype.g38=function(){return this.h38_1},Pe.prototype.j38=function(){return this.i38_1},Pe.$metadata$=kt("Body",[Re]),Object.defineProperty(Pe.prototype,"sender",{configurable:!0,get:function(){return this.g38()}}),Object.defineProperty(Pe.prototype,"text",{configurable:!0,get:Pe.prototype.j38}),Te.prototype.q1m=function(){return this.k38_1},Te.prototype.f1q=function(){return this.l38_1},Te.prototype.s2t=function(){return this.m38_1},Te.prototype.x1g=function(){return this.n38_1},Te.prototype.k20=function(){return this.o38_1},Te.$metadata$=kt("TextMessageEventJS",[Ee]),Object.defineProperty(Te.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(Te.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(Te.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(Te.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Object.defineProperty(Te.prototype,"body",{configurable:!0,get:function(){return this.k20()}}),Ae.prototype.g38=function(){return this.p38_1},Ae.prototype.r38=function(){return this.q38_1},Ae.$metadata$=kt("Body",[Re]),Object.defineProperty(Ae.prototype,"sender",{configurable:!0,get:function(){return this.g38()}}),Object.defineProperty(Ae.prototype,"customData",{configurable:!0,get:Ae.prototype.r38}),Ne.prototype.q1m=function(){return this.s38_1},Ne.prototype.f1q=function(){return this.t38_1},Ne.prototype.s2t=function(){return this.u38_1},Ne.prototype.x1g=function(){return this.v38_1},Ne.prototype.k20=function(){return this.w38_1},Ne.$metadata$=kt("CustomMessageEventJS",[Ee]),Object.defineProperty(Ne.prototype,"id",{configurable:!0,get:function(){return this.q1m()}}),Object.defineProperty(Ne.prototype,"timestamp",{configurable:!0,get:function(){return this.f1q()}}),Object.defineProperty(Ne.prototype,"conversationId",{configurable:!0,get:function(){return this.s2t()}}),Object.defineProperty(Ne.prototype,"from",{configurable:!0,get:function(){return this.x1g()}}),Object.defineProperty(Ne.prototype,"body",{configurable:!0,get:function(){return this.k20()}}),Le.prototype.a39=function(){return this.z38_1},Le.$metadata$=kt("PresentingOrderJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(Le.prototype,"corePresentingOrder",{configurable:!0,get:Le.prototype.a39}),Object.defineProperty(Le.prototype,"name",{configurable:!0,get:Le.prototype.f4}),Object.defineProperty(Le.prototype,"ordinal",{configurable:!0,get:Le.prototype.we}),Fe.prototype.q1m=function(){return this.b39_1},Fe.prototype.f4=function(){return this.c39_1},Fe.prototype.f1q=function(){return this.d39_1},Fe.prototype.a2u=function(){return this.e39_1},Fe.prototype.c34=function(){return this.f39_1},Fe.prototype.k39=function(){return this.g39_1},Fe.prototype.l39=function(){return this.h39_1},Fe.prototype.u1c=function(){return this.i39_1},Fe.prototype.r38=function(){return this.j39_1},Fe.$metadata$=kt("ConversationJS"),Object.defineProperty(Fe.prototype,"id",{configurable:!0,get:Fe.prototype.q1m}),Object.defineProperty(Fe.prototype,"name",{configurable:!0,get:Fe.prototype.f4}),Object.defineProperty(Fe.prototype,"timestamp",{configurable:!0,get:Fe.prototype.f1q}),Object.defineProperty(Fe.prototype,"memberId",{configurable:!0,get:Fe.prototype.a2u}),Object.defineProperty(Fe.prototype,"memberState",{configurable:!0,get:Fe.prototype.c34}),Object.defineProperty(Fe.prototype,"displayName",{configurable:!0,get:Fe.prototype.k39}),Object.defineProperty(Fe.prototype,"imageUrl",{configurable:!0,get:Fe.prototype.l39}),Object.defineProperty(Fe.prototype,"state",{configurable:!0,get:Fe.prototype.u1c}),Object.defineProperty(Fe.prototype,"customData",{configurable:!0,get:Fe.prototype.r38}),He.$metadata$=kt("ConversationStateJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(He.prototype,"name",{configurable:!0,get:He.prototype.f4}),Object.defineProperty(He.prototype,"ordinal",{configurable:!0,get:He.prototype.we}),Ve.prototype.r39=function(){return this.o39_1},Ve.prototype.s39=function(){return this.p39_1},Ve.prototype.t39=function(){return this.q39_1},Ve.$metadata$=kt("ConversationTimestampJS"),Object.defineProperty(Ve.prototype,"created",{configurable:!0,get:Ve.prototype.r39}),Object.defineProperty(Ve.prototype,"updated",{configurable:!0,get:Ve.prototype.s39}),Object.defineProperty(Ve.prototype,"destroyed",{configurable:!0,get:Ve.prototype.t39}),Ke.prototype.x39=function(){return this.u39_1},Ke.prototype.e37=function(){return this.v39_1},Ke.prototype.f37=function(){return this.w39_1},Ke.$metadata$=kt("ConversationsPageJS"),Object.defineProperty(Ke.prototype,"conversations",{configurable:!0,get:Ke.prototype.x39}),Object.defineProperty(Ke.prototype,"previousCursor",{configurable:!0,get:Ke.prototype.e37}),Object.defineProperty(Ke.prototype,"nextCursor",{configurable:!0,get:Ke.prototype.f37}),We.prototype.q1m=function(){return this.y39_1},We.prototype.u1c=function(){return this.z39_1},We.prototype.i1m=function(){return this.a3a_1},We.prototype.a20=function(){return this.b3a_1},We.prototype.f1q=function(){return this.c3a_1},We.$metadata$=kt("MemberJS"),Object.defineProperty(We.prototype,"id",{configurable:!0,get:We.prototype.q1m}),Object.defineProperty(We.prototype,"state",{configurable:!0,get:We.prototype.u1c}),Object.defineProperty(We.prototype,"user",{configurable:!0,get:We.prototype.i1m}),Object.defineProperty(We.prototype,"channel",{configurable:!0,get:We.prototype.a20}),Object.defineProperty(We.prototype,"timestamp",{configurable:!0,get:We.prototype.f1q}),Ze.$metadata$=kt("MemberStateJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(Ze.prototype,"name",{configurable:!0,get:Ze.prototype.f4}),Object.defineProperty(Ze.prototype,"ordinal",{configurable:!0,get:Ze.prototype.we}),Qe.prototype.i3a=function(){return this.f3a_1},Qe.prototype.j3a=function(){return this.g3a_1},Qe.prototype.k3a=function(){return this.h3a_1},Qe.$metadata$=kt("MemberTimestampJS"),Object.defineProperty(Qe.prototype,"invited",{configurable:!0,get:Qe.prototype.i3a}),Object.defineProperty(Qe.prototype,"joined",{configurable:!0,get:Qe.prototype.j3a}),Object.defineProperty(Qe.prototype,"left",{configurable:!0,get:Qe.prototype.k3a}),tr.prototype.o3a=function(){return this.l3a_1},tr.prototype.e37=function(){return this.m3a_1},tr.prototype.f37=function(){return this.n3a_1},tr.$metadata$=kt("MembersPageJS"),Object.defineProperty(tr.prototype,"members",{configurable:!0,get:tr.prototype.o3a}),Object.defineProperty(tr.prototype,"previousCursor",{configurable:!0,get:tr.prototype.e37}),Object.defineProperty(tr.prototype,"nextCursor",{configurable:!0,get:tr.prototype.f37}),nr.prototype.q1m=function(){return this.p3a_1},nr.prototype.f4=function(){return this.q3a_1},nr.prototype.k39=function(){return this.r3a_1},nr.prototype.w3a=function(){return this.s3a_1},nr.prototype.f1q=function(){return this.t3a_1},nr.prototype.l39=function(){return this.u3a_1},nr.prototype.r38=function(){return this.v3a_1},nr.$metadata$=kt("UserJS"),Object.defineProperty(nr.prototype,"id",{configurable:!0,get:nr.prototype.q1m}),Object.defineProperty(nr.prototype,"name",{configurable:!0,get:nr.prototype.f4}),Object.defineProperty(nr.prototype,"displayName",{configurable:!0,get:nr.prototype.k39}),Object.defineProperty(nr.prototype,"channels",{configurable:!0,get:nr.prototype.w3a}),Object.defineProperty(nr.prototype,"timestamp",{configurable:!0,get:nr.prototype.f1q}),Object.defineProperty(nr.prototype,"imageUrl",{configurable:!0,get:nr.prototype.l39}),Object.defineProperty(nr.prototype,"customData",{configurable:!0,get:nr.prototype.r38}),er.prototype.r39=function(){return this.x3a_1},er.prototype.s39=function(){return this.y3a_1},er.prototype.t39=function(){return this.z3a_1},er.$metadata$=kt("UserTimestampJS"),Object.defineProperty(er.prototype,"created",{configurable:!0,get:er.prototype.r39}),Object.defineProperty(er.prototype,"updated",{configurable:!0,get:er.prototype.s39}),Object.defineProperty(er.prototype,"destroyed",{configurable:!0,get:er.prototype.t39}),rr.prototype.l3b=function(){return this.a3b_1},rr.prototype.m3b=function(){return this.b3b_1},rr.prototype.n3b=function(){return this.c3b_1},rr.prototype.o3b=function(){return this.d3b_1},rr.prototype.p3b=function(){return this.e3b_1},rr.prototype.q3b=function(){return this.f3b_1},rr.prototype.r3b=function(){return this.g3b_1},rr.prototype.s3b=function(){return this.h3b_1},rr.prototype.t3b=function(){return this.i3b_1},rr.prototype.u3b=function(){return this.j3b_1},rr.prototype.v3b=function(){return this.k3b_1},rr.$metadata$=kt("UserChannelsJS"),Object.defineProperty(rr.prototype,"app",{configurable:!0,get:rr.prototype.l3b}),Object.defineProperty(rr.prototype,"phone",{configurable:!0,get:rr.prototype.m3b}),Object.defineProperty(rr.prototype,"pstn",{configurable:!0,get:rr.prototype.n3b}),Object.defineProperty(rr.prototype,"sip",{configurable:!0,get:rr.prototype.o3b}),Object.defineProperty(rr.prototype,"vbc",{configurable:!0,get:rr.prototype.p3b}),Object.defineProperty(rr.prototype,"websocket",{configurable:!0,get:rr.prototype.q3b}),Object.defineProperty(rr.prototype,"sms",{configurable:!0,get:rr.prototype.r3b}),Object.defineProperty(rr.prototype,"mms",{configurable:!0,get:rr.prototype.s3b}),Object.defineProperty(rr.prototype,"whatsapp",{configurable:!0,get:rr.prototype.t3b}),Object.defineProperty(rr.prototype,"viber",{configurable:!0,get:rr.prototype.u3b}),Object.defineProperty(rr.prototype,"messenger",{configurable:!0,get:rr.prototype.v3b}),or.prototype.w2s=function(){return this.w3b_1},or.prototype.x1g=function(){return this.x3b_1},or.prototype.y1g=function(){return this.y3b_1},or.$metadata$=kt("MemberChannelJS"),Object.defineProperty(or.prototype,"type",{configurable:!0,get:or.prototype.w2s}),Object.defineProperty(or.prototype,"from",{configurable:!0,get:or.prototype.x1g}),Object.defineProperty(or.prototype,"to",{configurable:!0,get:or.prototype.y1g}),ir.prototype.q1m=function(){return this.z3b_1},ir.prototype.s2u=function(){return this.a3c_1},ir.$metadata$=kt("ChannelJS"),Object.defineProperty(ir.prototype,"id",{configurable:!0,get:ir.prototype.q1m}),Object.defineProperty(ir.prototype,"number",{configurable:!0,get:ir.prototype.s2u}),ur.prototype.w2s=function(){return this.b3c_1},ur.prototype.i1m=function(){return this.c3c_1},ur.prototype.s2u=function(){return this.d3c_1},ur.$metadata$=kt("LegChannelJS"),Object.defineProperty(ur.prototype,"type",{configurable:!0,get:ur.prototype.w2s}),Object.defineProperty(ur.prototype,"user",{configurable:!0,get:ur.prototype.i1m}),Object.defineProperty(ur.prototype,"number",{configurable:!0,get:ur.prototype.s2u}),sr.prototype.q1m=function(){return this.e3c_1},sr.prototype.w2s=function(){return this.f3c_1},sr.prototype.j2u=function(){return this.g3c_1},sr.prototype.s2t=function(){return this.h3c_1},sr.prototype.n2h=function(){return this.i3c_1},sr.prototype.n3c=function(){return this.j3c_1},sr.prototype.o3c=function(){return this.k3c_1},sr.prototype.x1g=function(){return this.l3c_1},sr.prototype.y1g=function(){return this.m3c_1},sr.$metadata$=kt("LegJS"),Object.defineProperty(sr.prototype,"id",{configurable:!0,get:sr.prototype.q1m}),Object.defineProperty(sr.prototype,"type",{configurable:!0,get:sr.prototype.w2s}),Object.defineProperty(sr.prototype,"direction",{configurable:!0,get:sr.prototype.j2u}),Object.defineProperty(sr.prototype,"conversationId",{configurable:!0,get:sr.prototype.s2t}),Object.defineProperty(sr.prototype,"status",{configurable:!0,get:sr.prototype.n2h}),Object.defineProperty(sr.prototype,"startTime",{configurable:!0,get:sr.prototype.n3c}),Object.defineProperty(sr.prototype,"endTime",{configurable:!0,get:sr.prototype.o3c}),Object.defineProperty(sr.prototype,"from",{configurable:!0,get:sr.prototype.x1g}),Object.defineProperty(sr.prototype,"to",{configurable:!0,get:sr.prototype.y1g}),lr.$metadata$=kt("ChannelTypeJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(lr.prototype,"name",{configurable:!0,get:lr.prototype.f4}),Object.defineProperty(lr.prototype,"ordinal",{configurable:!0,get:lr.prototype.we}),Rr.prototype.a3d=function(){return this.r3c_1},Rr.prototype.b3d=function(){return this.s3c_1},Rr.prototype.c3d=function(){return this.t3c_1},Rr.prototype.d3d=function(){return this.u3c_1},Rr.prototype.e3d=function(){return this.v3c_1},Rr.prototype.f3d=function(){return this.w3c_1},Rr.prototype.g3d=function(){return this.x3c_1},Rr.prototype.h3d=function(){return this.y3c_1},Rr.prototype.i3d=function(){return this.z3c_1},Rr.$metadata$=Jt("CSErrorCodesJS"),Object.defineProperty(Rr.prototype,"CONVERSATION_DUPLICATE_NAME",{configurable:!0,get:Rr.prototype.a3d}),Object.defineProperty(Rr.prototype,"MEMBER_ALREADY_JOINED",{configurable:!0,get:Rr.prototype.b3d}),Object.defineProperty(Rr.prototype,"MEMBER_ALREADY_INVITED",{configurable:!0,get:Rr.prototype.c3d}),Object.defineProperty(Rr.prototype,"CONVERSATION_NOT_FOUND",{configurable:!0,get:Rr.prototype.d3d}),Object.defineProperty(Rr.prototype,"MEMBER_NOT_FOUND",{configurable:!0,get:Rr.prototype.e3d}),Object.defineProperty(Rr.prototype,"USER_NOT_FOUND",{configurable:!0,get:Rr.prototype.f3d}),Object.defineProperty(Rr.prototype,"INVALID_CURSOR",{configurable:!0,get:Rr.prototype.g3d}),Object.defineProperty(Rr.prototype,"VALIDATION_FAIL",{configurable:!0,get:Rr.prototype.h3d}),Object.defineProperty(Rr.prototype,"CONVERSATION_MAX_NUMBER_OF_MEMBERS",{configurable:!0,get:Rr.prototype.i3d}),Tr.prototype.z3d=function(){return this.j3d_1},Tr.prototype.a3e=function(){return this.k3d_1},Tr.prototype.b3e=function(){return this.l3d_1},Tr.prototype.c3e=function(){return this.m3d_1},Tr.prototype.d3e=function(){return this.n3d_1},Tr.prototype.e3e=function(){return this.o3d_1},Tr.prototype.f3e=function(){return this.p3d_1},Tr.prototype.g3e=function(){return this.q3d_1},Tr.prototype.h3e=function(){return this.r3d_1},Tr.prototype.i3e=function(){return this.s3d_1},Tr.prototype.j3e=function(){return this.t3d_1},Tr.prototype.k3e=function(){return this.u3d_1},Tr.prototype.l3e=function(){return this.v3d_1},Tr.prototype.m3e=function(){return this.w3d_1},Tr.prototype.n3e=function(){return this.x3d_1},Tr.prototype.o3e=function(){return this.y3d_1},Tr.$metadata$=Jt("SessionErrorCodesJS"),Object.defineProperty(Tr.prototype,"EMPTY_TOKEN",{configurable:!0,get:Tr.prototype.z3d}),Object.defineProperty(Tr.prototype,"FORCED_DISCONNECT",{configurable:!0,get:Tr.prototype.a3e}),Object.defineProperty(Tr.prototype,"TIMEOUT",{configurable:!0,get:Tr.prototype.b3e}),Object.defineProperty(Tr.prototype,"INTERNAL_FAILURE",{configurable:!0,get:Tr.prototype.c3e}),Object.defineProperty(Tr.prototype,"NO_ACTIVE_SESSION",{configurable:!0,get:Tr.prototype.d3e}),Object.defineProperty(Tr.prototype,"ALREADY_ACTIVE_SESSION",{configurable:!0,get:Tr.prototype.e3e}),Object.defineProperty(Tr.prototype,"INVALID_TOKEN",{configurable:!0,get:Tr.prototype.f3e}),Object.defineProperty(Tr.prototype,"EXPIRED_TOKEN",{configurable:!0,get:Tr.prototype.g3e}),Object.defineProperty(Tr.prototype,"INVALID_USER",{configurable:!0,get:Tr.prototype.h3e}),Object.defineProperty(Tr.prototype,"AUTHORIZATION_ERROR",{configurable:!0,get:Tr.prototype.i3e}),Object.defineProperty(Tr.prototype,"INVALID_SESSION",{configurable:!0,get:Tr.prototype.j3e}),Object.defineProperty(Tr.prototype,"MAX_OPEN_SESSIONS",{configurable:!0,get:Tr.prototype.k3e}),Object.defineProperty(Tr.prototype,"INVALID_SOCKET_TRANSPORT",{configurable:!0,get:Tr.prototype.l3e}),Object.defineProperty(Tr.prototype,"CLIENT_DISCONNECT",{configurable:!0,get:Tr.prototype.m3e}),Object.defineProperty(Tr.prototype,"PING_TIMEOUT_DISCONNECT",{configurable:!0,get:Tr.prototype.n3e}),Object.defineProperty(Tr.prototype,"TRANSPORT_CLOSED_DISCONNECT",{configurable:!0,get:Tr.prototype.o3e}),Nr.prototype.w2s=function(){return this.p3e_1},Nr.prototype.r2b=function(){return this.q3e_1},Nr.prototype.s3e=function(){return this.r3e_1},Nr.$metadata$=kt("VonageErrorJS",void 0,void 0,void 0,void 0,Error.prototype),Object.defineProperty(Nr.prototype,"type",{configurable:!0,get:Nr.prototype.w2s}),Object.defineProperty(Nr.prototype,"code",{configurable:!0,get:Nr.prototype.r2b}),Object.defineProperty(Nr.prototype,"kmpCause",{configurable:!0,get:Nr.prototype.s3e}),Lr.$metadata$=kt("VonageErrorTypeJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(Lr.prototype,"name",{configurable:!0,get:Lr.prototype.f4}),Object.defineProperty(Lr.prototype,"ordinal",{configurable:!0,get:Lr.prototype.we}),_o.$metadata$=Et("IChatClientJS",[Do]),mo.prototype.y3e=function(){return this.x3e_1},mo.$metadata$=kt("CoreClientConfigRegionJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(mo.prototype,"coreRegion",{configurable:!0,get:mo.prototype.y3e}),Object.defineProperty(mo.prototype,"name",{configurable:!0,get:mo.prototype.f4}),Object.defineProperty(mo.prototype,"ordinal",{configurable:!0,get:mo.prototype.we}),bo.prototype.f3f=function(){return this.z3e_1},bo.prototype.g3f=function(t){this.a3f_1=t},bo.prototype.h3f=function(){return this.a3f_1},bo.prototype.i3f=function(t){this.b3f_1=t},bo.prototype.j3f=function(){return this.b3f_1},bo.prototype.k3f=function(t){this.c3f_1=t},bo.prototype.l3f=function(){return this.c3f_1},bo.prototype.m3f=function(t){this.d3f_1=t},bo.prototype.n3f=function(){return this.d3f_1},bo.prototype.o3f=function(t){this.e3f_1=t},bo.prototype.p3f=function(){return this.e3f_1},bo.$metadata$=kt("CoreClientConfigJS"),Object.defineProperty(bo.prototype,"apiUrl",{configurable:!0,get:bo.prototype.h3f,set:bo.prototype.g3f}),Object.defineProperty(bo.prototype,"websocketUrl",{configurable:!0,get:bo.prototype.j3f,set:bo.prototype.i3f}),Object.defineProperty(bo.prototype,"websocketPath",{configurable:!0,get:bo.prototype.l3f,set:bo.prototype.k3f}),Object.defineProperty(bo.prototype,"autoMediaReoffer",{configurable:!0,get:bo.prototype.n3f,set:bo.prototype.m3f}),Object.defineProperty(bo.prototype,"enableWebsocketInvites",{configurable:!0,get:bo.prototype.p3f,set:bo.prototype.o3f}),ko.prototype.l2i=function(){return this.s3f_1},ko.$metadata$=kt("LoggingLevelJS",[Zt],void 0,void 0,void 0,Dt.prototype),Object.defineProperty(ko.prototype,"name",{configurable:!0,get:ko.prototype.f4}),Object.defineProperty(ko.prototype,"ordinal",{configurable:!0,get:ko.prototype.we}),qo.prototype.getSessionErrorReason=function(t){var n;t:{for(var e=zo(),r=0,o=e.length;r<o;){var i=e[r];if(r=r+1|0,i.v3f_1.equals(t)){n=i;break t}}n=null}return n},qo.$metadata$=Jt("Companion"),Oo.prototype.z2b=function(){return this.v3f_1},Oo.$metadata$=kt("SessionErrorReasonJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(Oo.prototype,"reason",{configurable:!0,get:Oo.prototype.z2b}),Object.defineProperty(Oo.prototype,"name",{configurable:!0,get:Oo.prototype.f4}),Object.defineProperty(Oo.prototype,"ordinal",{configurable:!0,get:Oo.prototype.we}),Do.$metadata$=Et("ICoreClientJS"),ei.prototype.getStatus=function(t){var n;switch(t.e4_1){case 0:n=Li();break;case 1:n=Fi();break;case 2:n=Di();break;default:Rt()}return n},ei.$metadata$=Jt("Companion"),si.$metadata$=kt("LegStatusJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(si.prototype,"name",{configurable:!0,get:si.prototype.f4}),Object.defineProperty(si.prototype,"ordinal",{configurable:!0,get:si.prototype.we}),ai.prototype.getReason=function(t){var n;switch(t.e4_1){case 1:n=Ji();break;case 0:n=Ui();break;case 2:n=Hi();break;case 3:n=Vi();break;case 4:n=Ki();break;default:Rt()}return n},ai.$metadata$=Jt("Companion"),hi.$metadata$=kt("HangupReasonJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(hi.prototype,"name",{configurable:!0,get:hi.prototype.f4}),Object.defineProperty(hi.prototype,"ordinal",{configurable:!0,get:hi.prototype.we}),Bi.$metadata$=Et("IVoiceClientJS",[Do]),Mi.prototype.q1m=function(){return this.a3g_1},Mi.prototype.w2s=function(){return this.b3g_1},Mi.prototype.component1=function(){return this.a3g_1},Mi.prototype.component2=function(){return this.b3g_1},Mi.prototype.copy=function(t,n){return this.c3g(void 0===t?this.a3g_1:t,void 0===n?this.b3g_1:n)},Mi.prototype.c3g=function(t,n){return new Mi(t,n)},Mi.prototype.d3g=function(t,n,e,r){return 0!=(1&e)&&(t=this.a3g_1),0!=(2&e)&&(n=this.b3g_1),this.c3g(t,n)},Mi.prototype.toString=function(){return"VoiceInviteFromInfoJS(id="+this.a3g_1+", type="+this.b3g_1+")"},Mi.prototype.hashCode=function(){var t=null==this.a3g_1?0:an(this.a3g_1);return t=wt(t,31)+an(this.b3g_1)|0},Mi.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Mi))return!1;var n=t instanceof Mi?t:un();return this.a3g_1==n.a3g_1&&this.b3g_1===n.b3g_1},Mi.$metadata$=kt("VoiceInviteFromInfoJS"),Object.defineProperty(Mi.prototype,"id",{configurable:!0,get:Mi.prototype.q1m}),Object.defineProperty(Mi.prototype,"type",{configurable:!0,get:Mi.prototype.w2s}),Wi.prototype.g1=function(){return this.e3g_1},Wi.prototype.h1=function(){return this.f3g_1},Wi.prototype.g3g=function(){var t=this.e3g_1,n=null==t?"":t,e=this.f3g_1;return new pn(n,e instanceof cn?e:null)},Wi.prototype.component1=function(){return this.e3g_1},Wi.prototype.component2=function(){return this.f3g_1},Wi.prototype.copy=function(t,n){return this.h3g(void 0===t?this.e3g_1:t,void 0===n?this.f3g_1:n)},Wi.prototype.h3g=function(t,n){return new Wi(t,n)},Wi.prototype.i3g=function(t,n,e,r){return 0!=(1&e)&&(t=this.e3g_1),0!=(2&e)&&(n=this.f3g_1),this.h3g(t,n)},Wi.prototype.toString=function(){return"HttpClientErrorJS(message="+this.e3g_1+", cause="+this.f3g_1+")"},Wi.prototype.hashCode=function(){var t=null==this.e3g_1?0:an(this.e3g_1);return t=wt(t,31)+(null==this.f3g_1?0:ln(this.f3g_1))|0},Wi.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Wi))return!1;var n=t instanceof Wi?t:un();return this.e3g_1==n.e3g_1&&!!on(this.f3g_1,n.f3g_1)},Wi.$metadata$=kt("HttpClientErrorJS",void 0,void 0,void 0,void 0,Error.prototype),Object.defineProperty(Wi.prototype,"message",{configurable:!0,get:function(){return this.g1()}}),Object.defineProperty(Wi.prototype,"cause",{configurable:!0,get:function(){return this.h1()}}),Object.defineProperty(Wi.prototype,"coreError",{configurable:!0,get:Wi.prototype.g3g}),Gi.prototype.l3g=function(){return this.j3g_1},Gi.prototype.k20=function(){return this.k3g_1},Gi.prototype.component1=function(){return this.j3g_1},Gi.prototype.component2=function(){return this.k3g_1},Gi.prototype.copy=function(t,n){return this.m3g(void 0===t?this.j3g_1:t,void 0===n?this.k3g_1:n)},Gi.prototype.m3g=function(t,n){return new Gi(t,n)},Gi.prototype.n3g=function(t,n,e,r){return 0!=(1&e)&&(t=this.j3g_1),0!=(2&e)&&(n=this.k3g_1),this.m3g(t,n)},Gi.prototype.toString=function(){return"HttpClientResponseJS(statusCode="+this.j3g_1+", body="+this.k3g_1+")"},Gi.prototype.hashCode=function(){var t=this.j3g_1;return t=wt(t,31)+(null==this.k3g_1?0:an(this.k3g_1))|0},Gi.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof Gi))return!1;var n=t instanceof Gi?t:un();return this.j3g_1===n.j3g_1&&this.k3g_1==n.k3g_1},Gi.$metadata$=kt("HttpClientResponseJS"),Object.defineProperty(Gi.prototype,"statusCode",{configurable:!0,get:Gi.prototype.l3g}),Object.defineProperty(Gi.prototype,"body",{configurable:!0,get:Gi.prototype.k20}),uu.prototype.z2b=function(){return this.q3g_1},uu.$metadata$=kt("CancelReasonJS",void 0,void 0,void 0,void 0,Dt.prototype),Object.defineProperty(uu.prototype,"reason",{configurable:!0,get:uu.prototype.z2b}),Object.defineProperty(uu.prototype,"name",{configurable:!0,get:uu.prototype.f4}),Object.defineProperty(uu.prototype,"ordinal",{configurable:!0,get:uu.prototype.we}),su.prototype.b3h=function(){return this.s3g_1},su.prototype.c3h=function(){return this.t3g_1},su.prototype.d3h=function(){return this.u3g_1},su.prototype.e3h=function(){return this.v3g_1},su.prototype.f3h=function(){return this.w3g_1},su.prototype.g3h=function(){return this.x3g_1},su.prototype.h3h=function(){return this.y3g_1},su.prototype.i3h=function(){return this.z3g_1},su.prototype.j3h=function(){return this.a3h_1},su.prototype.copy=function(t){return this.k3h(void 0===t?this.r3g_1:t)},su.prototype.k3h=function(t){return new su(t)},su.prototype.l3h=function(t,n,e){return 0!=(1&n)&&(t=this.r3g_1),this.k3h(t)},su.prototype.toString=function(){return"RTCQualityJS(callQuality="+this.r3g_1+")"},su.prototype.hashCode=function(){return this.r3g_1.hashCode()},su.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof su))return!1;var n=t instanceof su?t:un();return!!this.r3g_1.equals(n.r3g_1)},su.$metadata$=kt("RTCQualityJS"),Object.defineProperty(su.prototype,"mos_score",{configurable:!0,get:su.prototype.b3h}),Object.defineProperty(su.prototype,"quality_percentage",{configurable:!0,get:su.prototype.c3h}),Object.defineProperty(su.prototype,"jitter_min_var",{configurable:!0,get:su.prototype.d3h}),Object.defineProperty(su.prototype,"jitter_max_var",{configurable:!0,get:su.prototype.e3h}),Object.defineProperty(su.prototype,"jitter_loss_rate",{configurable:!0,get:su.prototype.f3h}),Object.defineProperty(su.prototype,"jitter_burst_rate",{configurable:!0,get:su.prototype.g3h}),Object.defineProperty(su.prototype,"flaw_total",{configurable:!0,get:su.prototype.h3h}),Object.defineProperty(su.prototype,"packet_cnt",{configurable:!0,get:su.prototype.i3h}),Object.defineProperty(su.prototype,"packet_loss_perc",{configurable:!0,get:su.prototype.j3h}),au.prototype.w3h=function(){return this.m3h_1},au.prototype.x3h=function(){return this.n3h_1},au.prototype.y3h=function(){return this.o3h_1},au.prototype.z3h=function(){return this.p3h_1},au.prototype.a3i=function(){return this.q3h_1},au.prototype.b3i=function(){return this.r3h_1},au.prototype.c3i=function(){return this.s3h_1},au.prototype.d3i=function(){return this.t3h_1},au.prototype.e3i=function(){return this.u3h_1},au.prototype.z1g=function(){return this.v3h_1},au.prototype.component1=function(){return this.m3h_1},au.prototype.component2=function(){return this.n3h_1},au.prototype.component3=function(){return this.o3h_1},au.prototype.component4=function(){return this.p3h_1},au.prototype.component5=function(){return this.q3h_1},au.prototype.component6=function(){return this.r3h_1},au.prototype.component7=function(){return this.s3h_1},au.prototype.component8=function(){return this.t3h_1},au.prototype.component9=function(){return this.u3h_1},au.prototype.component10=function(){return this.v3h_1},au.prototype.copy=function(t,n,e,r,o,i,u,s,a,c){return this.f3i(void 0===t?this.m3h_1:t,void 0===n?this.n3h_1:n,void 0===e?this.o3h_1:e,void 0===r?this.p3h_1:r,void 0===o?this.q3h_1:o,void 0===i?this.r3h_1:i,void 0===u?this.s3h_1:u,void 0===s?this.t3h_1:s,void 0===a?this.u3h_1:a,void 0===c?this.v3h_1:c)},au.prototype.f3i=function(t,n,e,r,o,i,u,s,a,c){return new au(t,n,e,r,o,i,u,s,a,c)},au.prototype.g3i=function(t,n,e,r,o,i,u,s,a,c,p,l){return 0!=(1&p)&&(t=this.m3h_1),0!=(2&p)&&(n=this.n3h_1),0!=(4&p)&&(e=this.o3h_1),0!=(8&p)&&(r=this.p3h_1),0!=(16&p)&&(o=this.q3h_1),0!=(32&p)&&(i=this.r3h_1),0!=(64&p)&&(u=this.s3h_1),0!=(128&p)&&(s=this.t3h_1),0!=(256&p)&&(a=this.u3h_1),0!=(512&p)&&(c=this.v3h_1),this.f3i(t,n,e,r,o,i,u,s,a,c)},au.prototype.toString=function(){return"RTCStatsJS(audioRecvPackets="+fn(this.m3h_1)+", audioRecvPacketsLost="+fn(this.n3h_1)+", audioRecvBytes="+fn(this.o3h_1)+", audioRecvJitter="+fn(this.p3h_1)+", audioSentPackets="+fn(this.q3h_1)+", audioSentBytes="+fn(this.r3h_1)+", audioSentPacketsLost="+fn(this.s3h_1)+", audioRtt="+fn(this.t3h_1)+", audioSentJitter="+fn(this.u3h_1)+", legId="+this.v3h_1+")"},au.prototype.hashCode=function(){var t=null==this.m3h_1?0:ln(this.m3h_1);return t=wt(t,31)+(null==this.n3h_1?0:ln(this.n3h_1))|0,t=wt(t,31)+(null==this.o3h_1?0:ln(this.o3h_1))|0,t=wt(t,31)+(null==this.p3h_1?0:ln(this.p3h_1))|0,t=wt(t,31)+(null==this.q3h_1?0:ln(this.q3h_1))|0,t=wt(t,31)+(null==this.r3h_1?0:ln(this.r3h_1))|0,t=wt(t,31)+(null==this.s3h_1?0:ln(this.s3h_1))|0,t=wt(t,31)+(null==this.t3h_1?0:ln(this.t3h_1))|0,t=wt(t,31)+(null==this.u3h_1?0:ln(this.u3h_1))|0,t=wt(t,31)+an(this.v3h_1)|0},au.prototype.equals=function(t){if(this===t)return!0;if(!(t instanceof au))return!1;var n=t instanceof au?t:un();return!!(on(this.m3h_1,n.m3h_1)&&on(this.n3h_1,n.n3h_1)&&on(this.o3h_1,n.o3h_1)&&on(this.p3h_1,n.p3h_1)&&on(this.q3h_1,n.q3h_1)&&on(this.r3h_1,n.r3h_1)&&on(this.s3h_1,n.s3h_1)&&on(this.t3h_1,n.t3h_1)&&on(this.u3h_1,n.u3h_1)&&this.v3h_1===n.v3h_1)},au.$metadata$=kt("RTCStatsJS"),Object.defineProperty(au.prototype,"audioRecvPackets",{configurable:!0,get:au.prototype.w3h}),Object.defineProperty(au.prototype,"audioRecvPacketsLost",{configurable:!0,get:au.prototype.x3h}),Object.defineProperty(au.prototype,"audioRecvBytes",{configurable:!0,get:au.prototype.y3h}),Object.defineProperty(au.prototype,"audioRecvJitter",{configurable:!0,get:au.prototype.z3h}),Object.defineProperty(au.prototype,"audioSentPackets",{configurable:!0,get:au.prototype.a3i}),Object.defineProperty(au.prototype,"audioSentBytes",{configurable:!0,get:au.prototype.b3i}),Object.defineProperty(au.prototype,"audioSentPacketsLost",{configurable:!0,get:au.prototype.c3i}),Object.defineProperty(au.prototype,"audioRtt",{configurable:!0,get:au.prototype.d3i}),Object.defineProperty(au.prototype,"audioSentJitter",{configurable:!0,get:au.prototype.e3i}),Object.defineProperty(au.prototype,"legId",{configurable:!0,get:au.prototype.z1g}),_u.prototype.j2x=function(t,n,e,r,o){var i=t.toString(),u=Cu(JSON,e);this.h3i_1.request(i,n,u,r,hu(o))},_u.$metadata$=kt(void 0,[_n]),du.prototype.m2x=function(t){this.i3i_1=t},du.prototype.k3i=function(){return this.i3i_1},du.prototype.n2x=function(t,n,e){var r=null==n?null:Cu(JSON,n);this.j3i_1.emit(t,r,yu(e))},du.prototype.o2x=function(t,n,e,r,o,i,u,s){this.j3i_1.connect(t,n,e,r,o,s)},du.prototype.p2x=function(){this.j3i_1.disconnect()},du.prototype.q2x=function(t){this.j3i_1.setConnectParamsSocketConfig(t)},du.prototype.r2x=function(t,n){this.j3i_1.startVerifyResponseTimer(t,n)},du.$metadata$=kt(void 0,[dn]),vu.prototype.didReceiveNewSocketEvent=function(t,n){var e=this.l3i_1.i3i_1;null==e||e.n30(new vn(n,t))},vu.prototype.didReceiveNewSocketConnectionStatusEvent=function(t,n,e,r){var o;switch(t){case"NXMCORE_SOCKET_CONNECTED":o=gn();break;case"NXMCORE_SOCKET_RECONNECTING":o=mn();break;case"NXMCORE_SOCKET_DISCONNECTED":o=bn();break;default:o=null}if(null==o);else switch(n){case"NXMCORE_REASON_SERVER_DISCONNECTED":var i=this.l3i_1.i3i_1;null==i||(i.o30(o,wn(),e,r),$t());break;case"NXMCORE_REASON_CLIENT_DISCONNECTED":var u=this.l3i_1.i3i_1;null==u||(u.o30(o,$n(),e,r),$t());break;case"NXMCORE_CLIENT_NETWORK_ERROR":var s=this.l3i_1.i3i_1;null==s||(s.o30(o,jn(),e,r),$t());break;case"NXMCORE_REASON_PING_TIMEOUT":var a=this.l3i_1.i3i_1;null==a||(a.o30(o,kn(),e,r),$t());break;default:var c=this.l3i_1.i3i_1;null==c||(c.o30(o,null,e,r),$t())}},vu.$metadata$=kt(),gu.prototype.u2x=function(t){this.m3i_1=t},gu.prototype.v2x=function(t){this.n3i_1.enableMediaOutbound(t)},gu.prototype.o3i=function(t,n,e){this.n3i_1.enableMediaInbound(t,n,e)},gu.prototype.w2x=function(t,n,e){return this.o3i(t,n,e)},gu.prototype.x2x=function(t,n){this.n3i_1.processAnswer(t,n)},gu.prototype.y2x=function(t){this.n3i_1.disableMedia(t)},gu.prototype.z2x=function(t){this.n3i_1.mute(t)},gu.prototype.a2y=function(t){this.n3i_1.unmute(t)},gu.prototype.b2y=function(t,n){this.n3i_1.enableRtcStatsCollection(t,n)},gu.$metadata$=kt(void 0,[qn]),mu.prototype.onRtcStats=function(t){var n=new Cn(t.m3h_1,t.n3h_1,t.o3h_1,t.p3h_1,t.q3h_1,t.r3h_1,t.s3h_1,t.t3h_1,t.u3h_1,t.v3h_1),e=this.p3i_1.m3i_1;null==e||e.k30(n)},mu.prototype.onConnectionChange=function(t,n){switch(n){case"new":case"checking":var e=this.p3i_1.m3i_1;null==e||e.m30(t,zn());break;case"connecting":var r=this.p3i_1.m3i_1;null==r||r.m30(t,xn());break;case"connected":var o=this.p3i_1.m3i_1;null==o||o.m30(t,Sn());break;case"disconnected":var i=this.p3i_1.m3i_1;null==i||i.m30(t,On());break;case"closed":var u=this.p3i_1.m3i_1;null==u||u.m30(t,En());break;case"failed":var s=this.p3i_1.m3i_1;null==s||s.m30(t,Rn());break;default:var a=this.p3i_1.m3i_1;null==a||a.m30(t,Pn())}},mu.$metadata$=kt(),be.prototype.createConversation=Kn,be.prototype.joinConversation=Wn,be.prototype.inviteToConversation=Gn,be.prototype.leaveConversation=Xn,be.prototype.deleteConversation=Yn,be.prototype.getConversations=Zn,be.prototype.getConversationMembers=Qn,be.prototype.getConversationEvents=te,be.prototype.getConversationMember=ne,be.prototype.sendTextMessage=ee,be.prototype.sendCustomMessage=re,be.prototype.setConfig=Fn,be.prototype.createSession=Dn,be.prototype.deleteSession=Jn,be.prototype.refreshSession=Un,be.prototype.getConversation=Hn,be.prototype.getUser=Vn,be.prototype.getPeerConnection=oe,be.prototype.serverCall=ie,be.prototype.reconnectCall=ue,be.prototype.getLeg=se,be.prototype.answerCall=ae,be.prototype.rejectCall=ce,be.prototype.hangupWithReason=pe,be.prototype.say=le,be.prototype.mute=fe,be.prototype.unmute=he,be.prototype.enableEarmuff=_e,be.prototype.disableEarmuff=ye,be.prototype.sendDTMF=de,ct="NXMCORE_SOCKET_CONNECTED",pt="NXMCORE_SOCKET_RECONNECTING",lt="NXMCORE_SOCKET_DISCONNECTED",ft="NXMCORE_REASON_SERVER_DISCONNECTED",ht="NXMCORE_REASON_CLIENT_DISCONNECTED",_t="NXMCORE_CLIENT_NETWORK_ERROR",yt="NXMCORE_REASON_PING_TIMEOUT",zu(t)}({get exports(){return r},set exports(t){r=t}}.exports,u(),$());const{toString:k}=Object.prototype,{getPrototypeOf:q}=Object,C=(z=Object.create(null),t=>{const n=k.call(t);return z[n]||(z[n]=n.slice(8,-1).toLowerCase())});var z;const x=t=>(t=t.toLowerCase(),n=>C(n)===t),S=t=>n=>typeof n===t,{isArray:O}=Array,E=S("undefined");const R=x("ArrayBuffer");const P=S("string"),T=S("function"),A=S("number"),N=t=>null!==t&&"object"==typeof t,I=t=>{if("object"!==C(t))return!1;const n=q(t);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in t||Symbol.iterator in t)},B=x("Date"),M=x("File"),L=x("Blob"),F=x("FileList"),D=x("URLSearchParams");function J(t,n,{allOwnKeys:e=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),O(t))for(r=0,o=t.length;r<o;r++)n.call(null,t[r],r,t);else{const o=e?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let u;for(r=0;r<i;r++)u=o[r],n.call(null,t[u],u,t)}}function U(t,n){n=n.toLowerCase();const e=Object.keys(t);let r,o=e.length;for(;o-- >0;)if(r=e[o],n===r.toLowerCase())return r;return null}const H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,V=t=>!E(t)&&t!==H;const K=(W="undefined"!=typeof Uint8Array&&q(Uint8Array),t=>W&&t instanceof W);var W;const G=x("HTMLFormElement"),X=(({hasOwnProperty:t})=>(n,e)=>t.call(n,e))(Object.prototype),Y=x("RegExp"),Z=(t,n)=>{const e=Object.getOwnPropertyDescriptors(t),r={};J(e,((e,o)=>{!1!==n(e,o,t)&&(r[o]=e)})),Object.defineProperties(t,r)};var Q={isArray:O,isArrayBuffer:R,isBuffer:function(t){return null!==t&&!E(t)&&null!==t.constructor&&!E(t.constructor)&&T(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{const n="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||k.call(t)===n||T(t.toString)&&t.toString()===n)},isArrayBufferView:function(t){let n;return n="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&R(t.buffer),n},isString:P,isNumber:A,isBoolean:t=>!0===t||!1===t,isObject:N,isPlainObject:I,isUndefined:E,isDate:B,isFile:M,isBlob:L,isRegExp:Y,isFunction:T,isStream:t=>N(t)&&T(t.pipe),isURLSearchParams:D,isTypedArray:K,isFileList:F,forEach:J,merge:function t(){const{caseless:n}=V(this)&&this||{},e={},r=(r,o)=>{const i=n&&U(e,o)||o;I(e[i])&&I(r)?e[i]=t(e[i],r):I(r)?e[i]=t({},r):O(r)?e[i]=r.slice():e[i]=r};for(let t=0,n=arguments.length;t<n;t++)arguments[t]&&J(arguments[t],r);return e},extend:(t,n,e,{allOwnKeys:r}={})=>(J(n,((n,r)=>{e&&T(n)?t[r]=j(n,e):t[r]=n}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,n,e,r)=>{t.prototype=Object.create(n.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),e&&Object.assign(t.prototype,e)},toFlatObject:(t,n,e,r)=>{let o,i,u;const s={};if(n=n||{},null==t)return n;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)u=o[i],r&&!r(u,t,n)||s[u]||(n[u]=t[u],s[u]=!0);t=!1!==e&&q(t)}while(t&&(!e||e(t,n))&&t!==Object.prototype);return n},kindOf:C,kindOfTest:x,endsWith:(t,n,e)=>{t=String(t),(void 0===e||e>t.length)&&(e=t.length),e-=n.length;const r=t.indexOf(n,e);return-1!==r&&r===e},toArray:t=>{if(!t)return null;if(O(t))return t;let n=t.length;if(!A(n))return null;const e=new Array(n);for(;n-- >0;)e[n]=t[n];return e},forEachEntry:(t,n)=>{const e=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=e.next())&&!r.done;){const e=r.value;n.call(t,e[0],e[1])}},matchAll:(t,n)=>{let e;const r=[];for(;null!==(e=t.exec(n));)r.push(e);return r},isHTMLForm:G,hasOwnProperty:X,hasOwnProp:X,reduceDescriptors:Z,freezeMethods:t=>{Z(t,((n,e)=>{if(T(t)&&-1!==["arguments","caller","callee"].indexOf(e))return!1;const r=t[e];T(r)&&(n.enumerable=!1,"writable"in n?n.writable=!1:n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")}))}))},toObjectSet:(t,n)=>{const e={},r=t=>{t.forEach((t=>{e[t]=!0}))};return O(t)?r(t):r(String(t).split(n)),e},toCamelCase:t=>t.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(t,n,e){return n.toUpperCase()+e})),noop:()=>{},toFiniteNumber:(t,n)=>(t=+t,Number.isFinite(t)?t:n),findKey:U,global:H,isContextDefined:V,toJSONObject:t=>{const n=new Array(10),e=(t,r)=>{if(N(t)){if(n.indexOf(t)>=0)return;if(!("toJSON"in t)){n[r]=t;const o=O(t)?[]:{};return J(t,((t,n)=>{const i=e(t,r+1);!E(i)&&(o[n]=i)})),n[r]=void 0,o}}return t};return e(t,0)}};function tt(t,n,e,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",n&&(this.code=n),e&&(this.config=e),r&&(this.request=r),o&&(this.response=o)}Q.inherits(tt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const nt=tt.prototype,et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{et[t]={value:t}})),Object.defineProperties(tt,et),Object.defineProperty(nt,"isAxiosError",{value:!0}),tt.from=(t,n,e,r,o,i)=>{const u=Object.create(nt);return Q.toFlatObject(t,u,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),tt.call(u,t.message,n,e,r,o),u.cause=t,u.name=t.name,i&&Object.assign(u,i),u};var rt="object"==typeof self?self.FormData:window.FormData;function ot(t){return Q.isPlainObject(t)||Q.isArray(t)}function it(t){return Q.endsWith(t,"[]")?t.slice(0,-2):t}function ut(t,n,e){return t?t.concat(n).map((function(t,n){return t=it(t),!e&&n?"["+t+"]":t})).join(e?".":""):n}const st=Q.toFlatObject(Q,{},null,(function(t){return/^is[A-Z]/.test(t)}));function at(t,n,e){if(!Q.isObject(t))throw new TypeError("target must be an object");n=n||new(rt||FormData);const r=(e=Q.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,n){return!Q.isUndefined(n[t])}))).metaTokens,o=e.visitor||p,i=e.dots,u=e.indexes,s=(e.Blob||"undefined"!=typeof Blob&&Blob)&&((a=n)&&Q.isFunction(a.append)&&"FormData"===a[Symbol.toStringTag]&&a[Symbol.iterator]);var a;if(!Q.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(Q.isDate(t))return t.toISOString();if(!s&&Q.isBlob(t))throw new tt("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(t)||Q.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function p(t,e,o){let s=t;if(t&&!o&&"object"==typeof t)if(Q.endsWith(e,"{}"))e=r?e:e.slice(0,-2),t=JSON.stringify(t);else if(Q.isArray(t)&&function(t){return Q.isArray(t)&&!t.some(ot)}(t)||Q.isFileList(t)||Q.endsWith(e,"[]")&&(s=Q.toArray(t)))return e=it(e),s.forEach((function(t,r){!Q.isUndefined(t)&&null!==t&&n.append(!0===u?ut([e],r,i):null===u?e:e+"[]",c(t))})),!1;return!!ot(t)||(n.append(ut(o,e,i),c(t)),!1)}const l=[],f=Object.assign(st,{defaultVisitor:p,convertValue:c,isVisitable:ot});if(!Q.isObject(t))throw new TypeError("data must be an object");return function t(e,r){if(!Q.isUndefined(e)){if(-1!==l.indexOf(e))throw Error("Circular reference detected in "+r.join("."));l.push(e),Q.forEach(e,(function(e,i){!0===(!(Q.isUndefined(e)||null===e)&&o.call(n,e,Q.isString(i)?i.trim():i,r,f))&&t(e,r?r.concat(i):[i])})),l.pop()}}(t),n}function ct(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return n[t]}))}function pt(t,n){this._pairs=[],t&&at(t,this,n)}const lt=pt.prototype;function ft(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ht(t,n,e){if(!n)return t;const r=e&&e.encode||ft,o=e&&e.serialize;let i;if(i=o?o(n,e):Q.isURLSearchParams(n)?n.toString():new pt(n,e).toString(r),i){const n=t.indexOf("#");-1!==n&&(t=t.slice(0,n)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}lt.append=function(t,n){this._pairs.push([t,n])},lt.toString=function(t){const n=t?function(n){return t.call(this,n,ct)}:ct;return this._pairs.map((function(t){return n(t[0])+"="+n(t[1])}),"").join("&")};var _t=class{constructor(){this.handlers=[]}use(t,n,e){return this.handlers.push({fulfilled:t,rejected:n,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Q.forEach(this.handlers,(function(n){null!==n&&t(n)}))}},yt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dt="undefined"!=typeof URLSearchParams?URLSearchParams:pt,vt=FormData;const gt=(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var bt={isBrowser:!0,classes:{URLSearchParams:dt,FormData:vt,Blob:Blob},isStandardBrowserEnv:gt,isStandardBrowserWebWorkerEnv:mt,protocols:["http","https","file","blob","url","data"]};function wt(t){function n(t,e,r,o){let i=t[o++];const u=Number.isFinite(+i),s=o>=t.length;if(i=!i&&Q.isArray(r)?r.length:i,s)return Q.hasOwnProp(r,i)?r[i]=[r[i],e]:r[i]=e,!u;r[i]&&Q.isObject(r[i])||(r[i]=[]);return n(t,e,r[i],o)&&Q.isArray(r[i])&&(r[i]=function(t){const n={},e=Object.keys(t);let r;const o=e.length;let i;for(r=0;r<o;r++)i=e[r],n[i]=t[i];return n}(r[i])),!u}if(Q.isFormData(t)&&Q.isFunction(t.entries)){const e={};return Q.forEachEntry(t,((t,r)=>{n(function(t){return Q.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,e,0)})),e}return null}const $t={"Content-Type":void 0};const jt={transitional:yt,adapter:["xhr","http"],transformRequest:[function(t,n){const e=n.getContentType()||"",r=e.indexOf("application/json")>-1,o=Q.isObject(t);o&&Q.isHTMLForm(t)&&(t=new FormData(t));if(Q.isFormData(t))return r&&r?JSON.stringify(wt(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(e.indexOf("application/x-www-form-urlencoded")>-1)return function(t,n){return at(t,new bt.classes.URLSearchParams,Object.assign({visitor:function(t,n,e,r){return bt.isNode&&Q.isBuffer(t)?(this.append(n,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},n))}(t,this.formSerializer).toString();if((i=Q.isFileList(t))||e.indexOf("multipart/form-data")>-1){const n=this.env&&this.env.FormData;return at(i?{"files[]":t}:t,n&&new n,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),function(t,n,e){if(Q.isString(t))try{return(n||JSON.parse)(t),Q.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(e||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const n=this.transitional||jt.transitional,e=n&&n.forcedJSONParsing,r="json"===this.responseType;if(t&&Q.isString(t)&&(e&&!this.responseType||r)){const e=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(e){if("SyntaxError"===t.name)throw tt.from(t,tt.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Q.forEach(["delete","get","head"],(function(t){jt.headers[t]={}})),Q.forEach(["post","put","patch"],(function(t){jt.headers[t]=Q.merge($t)}));var kt=jt;const qt=Q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Ct=Symbol("internals");function zt(t){return t&&String(t).trim().toLowerCase()}function xt(t){return!1===t||null==t?t:Q.isArray(t)?t.map(xt):String(t)}function St(t,n,e,r){return Q.isFunction(r)?r.call(this,n,e):Q.isString(n)?Q.isString(r)?-1!==n.indexOf(r):Q.isRegExp(r)?r.test(n):void 0:void 0}class Ot{constructor(t){t&&this.set(t)}set(t,n,e){const r=this;function o(t,n,e){const o=zt(n);if(!o)throw new Error("header name must be a non-empty string");const i=Q.findKey(r,o);(!i||void 0===r[i]||!0===e||void 0===e&&!1!==r[i])&&(r[i||n]=xt(t))}const i=(t,n)=>Q.forEach(t,((t,e)=>o(t,e,n)));return Q.isPlainObject(t)||t instanceof this.constructor?i(t,n):Q.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z]+$/.test(t.trim())?i((t=>{const n={};let e,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),e=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!e||n[e]&&qt[e]||("set-cookie"===e?n[e]?n[e].push(r):n[e]=[r]:n[e]=n[e]?n[e]+", "+r:r)})),n})(t),n):null!=t&&o(n,t,e),this}get(t,n){if(t=zt(t)){const e=Q.findKey(this,t);if(e){const t=this[e];if(!n)return t;if(!0===n)return function(t){const n=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=e.exec(t);)n[r[1]]=r[2];return n}(t);if(Q.isFunction(n))return n.call(this,t,e);if(Q.isRegExp(n))return n.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zt(t)){const e=Q.findKey(this,t);return!(!e||n&&!St(0,this[e],e,n))}return!1}delete(t,n){const e=this;let r=!1;function o(t){if(t=zt(t)){const o=Q.findKey(e,t);!o||n&&!St(0,e[o],o,n)||(delete e[o],r=!0)}}return Q.isArray(t)?t.forEach(o):o(t),r}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(t){const n=this,e={};return Q.forEach(this,((r,o)=>{const i=Q.findKey(e,o);if(i)return n[i]=xt(r),void delete n[o];const u=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,n,e)=>n.toUpperCase()+e))}(o):String(o).trim();u!==o&&delete n[o],n[u]=xt(r),e[u]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,((e,r)=>{null!=e&&!1!==e&&(n[r]=t&&Q.isArray(e)?e.join(", "):e)})),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,n])=>t+": "+n)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const e=new this(t);return n.forEach((t=>e.set(t))),e}static accessor(t){const n=(this[Ct]=this[Ct]={accessors:{}}).accessors,e=this.prototype;function r(t){const r=zt(t);n[r]||(!function(t,n){const e=Q.toCamelCase(" "+n);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+e,{value:function(t,e,o){return this[r].call(this,n,t,e,o)},configurable:!0})}))}(e,t),n[r]=!0)}return Q.isArray(t)?t.forEach(r):r(t),this}}Ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),Q.freezeMethods(Ot.prototype),Q.freezeMethods(Ot);var Et=Ot;function Rt(t,n){const e=this||kt,r=n||e,o=Et.from(r.headers);let i=r.data;return Q.forEach(t,(function(t){i=t.call(e,i,o.normalize(),n?n.status:void 0)})),o.normalize(),i}function Pt(t){return!(!t||!t.__CANCEL__)}function Tt(t,n,e){tt.call(this,null==t?"canceled":t,tt.ERR_CANCELED,n,e),this.name="CanceledError"}Q.inherits(Tt,tt,{__CANCEL__:!0});var At=bt.isStandardBrowserEnv?{write:function(t,n,e,r,o,i){const u=[];u.push(t+"="+encodeURIComponent(n)),Q.isNumber(e)&&u.push("expires="+new Date(e).toGMTString()),Q.isString(r)&&u.push("path="+r),Q.isString(o)&&u.push("domain="+o),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){const n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Nt(t,n){return t&&!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(n)?function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}(t,n):n}var It=bt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let e;function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){const n=Q.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};function Bt(t,n){let e=0;const r=function(t,n){t=t||10;const e=new Array(t),r=new Array(t);let o,i=0,u=0;return n=void 0!==n?n:1e3,function(s){const a=Date.now(),c=r[u];o||(o=a),e[i]=s,r[i]=a;let p=u,l=0;for(;p!==i;)l+=e[p++],p%=t;if(i=(i+1)%t,i===u&&(u=(u+1)%t),a-o<n)return;const f=c&&a-c;return f?Math.round(1e3*l/f):void 0}}(50,250);return o=>{const i=o.loaded,u=o.lengthComputable?o.total:void 0,s=i-e,a=r(s);e=i;const c={loaded:i,total:u,progress:u?i/u:void 0,bytes:s,rate:a||void 0,estimated:a&&u&&i<=u?(u-i)/a:void 0,event:o};c[n?"download":"upload"]=!0,t(c)}}var Mt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(n,e){let r=t.data;const o=Et.from(t.headers).normalize(),i=t.responseType;let u;function s(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}Q.isFormData(r)&&(bt.isStandardBrowserEnv||bt.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let a=new XMLHttpRequest;if(t.auth){const n=t.auth.username||"",e=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(n+":"+e))}const c=Nt(t.baseURL,t.url);function p(){if(!a)return;const r=Et.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders());!function(t,n,e){const r=e.config.validateStatus;e.status&&r&&!r(e.status)?n(new tt("Request failed with status code "+e.status,[tt.ERR_BAD_REQUEST,tt.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e)):t(e)}((function(t){n(t),s()}),(function(t){e(t),s()}),{data:i&&"text"!==i&&"json"!==i?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:t,request:a}),a=null}if(a.open(t.method.toUpperCase(),ht(c,t.params,t.paramsSerializer),!0),a.timeout=t.timeout,"onloadend"in a?a.onloadend=p:a.onreadystatechange=function(){a&&4===a.readyState&&(0!==a.status||a.responseURL&&0===a.responseURL.indexOf("file:"))&&setTimeout(p)},a.onabort=function(){a&&(e(new tt("Request aborted",tt.ECONNABORTED,t,a)),a=null)},a.onerror=function(){e(new tt("Network Error",tt.ERR_NETWORK,t,a)),a=null},a.ontimeout=function(){let n=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||yt;t.timeoutErrorMessage&&(n=t.timeoutErrorMessage),e(new tt(n,r.clarifyTimeoutError?tt.ETIMEDOUT:tt.ECONNABORTED,t,a)),a=null},bt.isStandardBrowserEnv){const n=(t.withCredentials||It(c))&&t.xsrfCookieName&&At.read(t.xsrfCookieName);n&&o.set(t.xsrfHeaderName,n)}void 0===r&&o.setContentType(null),"setRequestHeader"in a&&Q.forEach(o.toJSON(),(function(t,n){a.setRequestHeader(n,t)})),Q.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),i&&"json"!==i&&(a.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&a.addEventListener("progress",Bt(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",Bt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(u=n=>{a&&(e(!n||n.type?new Tt(null,t,a):n),a.abort(),a=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u)));const l=function(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}(c);l&&-1===bt.protocols.indexOf(l)?e(new tt("Unsupported protocol "+l+":",tt.ERR_BAD_REQUEST,t)):a.send(r||null)}))};const Lt={http:null,xhr:Mt};Q.forEach(Lt,((t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch(t){}Object.defineProperty(t,"adapterName",{value:n})}}));var Ft=t=>{t=Q.isArray(t)?t:[t];const{length:n}=t;let e,r;for(let o=0;o<n&&(e=t[o],!(r=Q.isString(e)?Lt[e.toLowerCase()]:e));o++);if(!r){if(!1===r)throw new tt(`Adapter ${e} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(Q.hasOwnProp(Lt,e)?`Adapter '${e}' is not available in the build`:`Unknown adapter '${e}'`)}if(!Q.isFunction(r))throw new TypeError("adapter is not a function");return r};function Dt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Tt(null,t)}function Jt(t){Dt(t),t.headers=Et.from(t.headers),t.data=Rt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ft(t.adapter||kt.adapter)(t).then((function(n){return Dt(t),n.data=Rt.call(t,t.transformResponse,n),n.headers=Et.from(n.headers),n}),(function(n){return Pt(n)||(Dt(t),n&&n.response&&(n.response.data=Rt.call(t,t.transformResponse,n.response),n.response.headers=Et.from(n.response.headers))),Promise.reject(n)}))}const Ut=t=>t instanceof Et?t.toJSON():t;function Ht(t,n){n=n||{};const e={};function r(t,n,e){return Q.isPlainObject(t)&&Q.isPlainObject(n)?Q.merge.call({caseless:e},t,n):Q.isPlainObject(n)?Q.merge({},n):Q.isArray(n)?n.slice():n}function o(t,n,e){return Q.isUndefined(n)?Q.isUndefined(t)?void 0:r(void 0,t,e):r(t,n,e)}function i(t,n){if(!Q.isUndefined(n))return r(void 0,n)}function u(t,n){return Q.isUndefined(n)?Q.isUndefined(t)?void 0:r(void 0,t):r(void 0,n)}function s(e,o,i){return i in n?r(e,o):i in t?r(void 0,e):void 0}const a={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:s,headers:(t,n)=>o(Ut(t),Ut(n),!0)};return Q.forEach(Object.keys(t).concat(Object.keys(n)),(function(r){const i=a[r]||o,u=i(t[r],n[r],r);Q.isUndefined(u)&&i!==s||(e[r]=u)})),e}const Vt="1.2.2",Kt={};["object","boolean","number","function","string","symbol"].forEach(((t,n)=>{Kt[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}}));const Wt={};Kt.transitional=function(t,n,e){function r(t,n){return"[Axios v1.2.2] Transitional option '"+t+"'"+n+(e?". "+e:"")}return(e,o,i)=>{if(!1===t)throw new tt(r(o," has been removed"+(n?" in "+n:"")),tt.ERR_DEPRECATED);return n&&!Wt[o]&&(Wt[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),!t||t(e,o,i)}};var Gt={assertOptions:function(t,n,e){if("object"!=typeof t)throw new tt("options must be an object",tt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],u=n[i];if(u){const n=t[i],e=void 0===n||u(n,i,t);if(!0!==e)throw new tt("option "+i+" must be "+e,tt.ERR_BAD_OPTION_VALUE)}else if(!0!==e)throw new tt("Unknown option "+i,tt.ERR_BAD_OPTION)}},validators:Kt};const Xt=Gt.validators;class Yt{constructor(t){this.defaults=t,this.interceptors={request:new _t,response:new _t}}request(t,n){"string"==typeof t?(n=n||{}).url=t:n=t||{},n=Ht(this.defaults,n);const{transitional:e,paramsSerializer:r,headers:o}=n;let i;void 0!==e&&Gt.assertOptions(e,{silentJSONParsing:Xt.transitional(Xt.boolean),forcedJSONParsing:Xt.transitional(Xt.boolean),clarifyTimeoutError:Xt.transitional(Xt.boolean)},!1),void 0!==r&&Gt.assertOptions(r,{encode:Xt.function,serialize:Xt.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase(),i=o&&Q.merge(o.common,o[n.method]),i&&Q.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),n.headers=Et.concat(i,o);const u=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(n)||(s=s&&t.synchronous,u.unshift(t.fulfilled,t.rejected))}));const a=[];let c;this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)}));let p,l=0;if(!s){const t=[Jt.bind(this),void 0];for(t.unshift.apply(t,u),t.push.apply(t,a),p=t.length,c=Promise.resolve(n);l<p;)c=c.then(t[l++],t[l++]);return c}p=u.length;let f=n;for(l=0;l<p;){const t=u[l++],n=u[l++];try{f=t(f)}catch(t){n.call(this,t);break}}try{c=Jt.call(this,f)}catch(t){return Promise.reject(t)}for(l=0,p=a.length;l<p;)c=c.then(a[l++],a[l++]);return c}getUri(t){return ht(Nt((t=Ht(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}Q.forEach(["delete","get","head","options"],(function(t){Yt.prototype[t]=function(n,e){return this.request(Ht(e||{},{method:t,url:n,data:(e||{}).data}))}})),Q.forEach(["post","put","patch"],(function(t){function n(n){return function(e,r,o){return this.request(Ht(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:e,data:r}))}}Yt.prototype[t]=n(),Yt.prototype[t+"Form"]=n(!0)}));var Zt=Yt;class Qt{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let n;this.promise=new Promise((function(t){n=t}));const e=this;this.promise.then((t=>{if(!e._listeners)return;let n=e._listeners.length;for(;n-- >0;)e._listeners[n](t);e._listeners=null})),this.promise.then=t=>{let n;const r=new Promise((t=>{e.subscribe(t),n=t})).then(t);return r.cancel=function(){e.unsubscribe(n)},r},t((function(t,r,o){e.reason||(e.reason=new Tt(t,r,o),n(e.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);-1!==n&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qt((function(n){t=n})),cancel:t}}}var tn=Qt;const nn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(nn).forEach((([t,n])=>{nn[n]=t}));var en=nn;const rn=function t(n){const e=new Zt(n),r=j(Zt.prototype.request,e);return Q.extend(r,Zt.prototype,e,{allOwnKeys:!0}),Q.extend(r,e,null,{allOwnKeys:!0}),r.create=function(e){return t(Ht(n,e))},r}(kt);rn.Axios=Zt,rn.CanceledError=Tt,rn.CancelToken=tn,rn.isCancel=Pt,rn.VERSION=Vt,rn.toFormData=at,rn.AxiosError=tt,rn.Cancel=rn.CanceledError,rn.all=function(t){return Promise.all(t)},rn.spread=function(t){return function(n){return t.apply(null,n)}},rn.isAxiosError=function(t){return Q.isObject(t)&&!0===t.isAxiosError},rn.mergeConfig=Ht,rn.AxiosHeaders=Et,rn.formToJSON=t=>wt(Q.isHTMLForm(t)?new FormData(t):t),rn.HttpStatusCode=en,rn.default=rn;var on=rn;class un{stringToVerb(t){return"get"===t.toLowerCase()?"GET":"post"===t.toLowerCase()?"POST":"patch"===t.toLowerCase()?"PATCH":"put"===t.toLowerCase()?"PUT":"options"===t.toLowerCase()?"OPTIONS":"delete"===t.toLowerCase()?"DELETE":"GET"}request(n,e,o,i,u){return t(this,void 0,void 0,(function*(){const t=this.stringToVerb(n),s=null!==i&&i.length>0?JSON.parse(i):"",a={url:e,method:t,headers:o,data:s,validateStatus:()=>!0};try{const t=yield on(a),n=new r.vonage.HttpClientResponseJS(t.status,JSON.stringify(t.data));console.log("[JS response]: ",n),u(null,n)}catch(t){const n=new r.vonage.HttpClientErrorJS(t instanceof Error?t.message:"Unknown Error",t instanceof Error?t:null);u(n,null)}}))}}var sn={},an={},cn={get exports(){return an},set exports(t){an=t}}.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(t){return t.encoding?"rtpmap:%d %s/%s/%s":t.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(t){return null!=t.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%s trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(t){return null!=t.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))?(?: (urn:ietf:params:rtp-hdrext:encrypt))? (\S*)(?: (\S*))?/,names:["value","direction","encrypt-uri","uri","config"],format:function(t){return"extmap:%d"+(t.direction?"/%s":"%v")+(t["encrypt-uri"]?" %s":"%v")+" %s"+(t.config?" %s":"")}},{name:"extmapAllowMixed",reg:/^(extmap-allow-mixed)/},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(t){return null!=t.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"connectionType",reg:/^connection:(new|existing)/,format:"connection:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*(?:\.\d*)*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*(?:\.\d*)*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(t){var n="candidate:%s %d %s %d %s %d typ %s";return n+=null!=t.raddr?" raddr %s rport %d":"%v%v",n+=null!=t.tcptype?" tcptype %s":"%v",null!=t.generation&&(n+=" generation %d"),n+=null!=t["network-id"]?" network-id %d":"%v",n+=null!=t["network-cost"]?" network-cost %d":"%v"}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(t){var n="ssrc:%d";return null!=t.attribute&&(n+=" %s",null!=t.value&&(n+=":%s")),n}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(t){return null!=t.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(t){return t.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(t){return"imageattr:%s %s %s"+(t.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(t){return"simulcast:%s %s"+(t.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{name:"sourceFilter",reg:/^source-filter: *(excl|incl) (\S*) (IP4|IP6|\*) (\S*) (.*)/,names:["filterMode","netType","addressTypes","destAddress","srcList"],format:"source-filter: %s %s %s %s %s"},{name:"bundleOnly",reg:/^(bundle-only)/},{name:"label",reg:/^label:(.+)/,format:"label:%s"},{name:"sctpPort",reg:/^sctp-port:(\d+)$/,format:"sctp-port:%s"},{name:"maxMessageSize",reg:/^max-message-size:(\d+)$/,format:"max-message-size:%s"},{push:"tsRefClocks",reg:/^ts-refclk:([^\s=]*)(?:=(\S*))?/,names:["clksrc","clksrcExt"],format:function(t){return"ts-refclk:%s"+(null!=t.clksrcExt?"=%s":"")}},{name:"mediaClk",reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:["id","mediaClockName","mediaClockValue","rateNumerator","rateDenominator"],format:function(t){var n="mediaclk:";return n+=null!=t.id?"id=%s %s":"%v%s",n+=null!=t.mediaClockValue?"=%s":"",n+=null!=t.rateNumerator?" rate=%s":"",n+=null!=t.rateDenominator?"/%s":""}},{name:"keywords",reg:/^keywds:(.+)$/,format:"keywds:%s"},{name:"content",reg:/^content:(.+)/,format:"content:%s"},{name:"bfcpFloorCtrl",reg:/^floorctrl:(c-only|s-only|c-s)/,format:"floorctrl:%s"},{name:"bfcpConfId",reg:/^confid:(\d+)/,format:"confid:%s"},{name:"bfcpUserId",reg:/^userid:(\d+)/,format:"userid:%s"},{name:"bfcpFloorId",reg:/^floorid:(.+) (?:m-stream|mstrm):(.+)/,names:["id","mStream"],format:"floorid:%s mstrm:%s"},{push:"invalid",names:["value"]}]};Object.keys(cn).forEach((function(t){cn[t].forEach((function(t){t.reg||(t.reg=/(.*)/),t.format||(t.format="%s")}))})),function(t){var n=function(t){return String(Number(t))===t?Number(t):t},e=function(t,e,r){var o=t.name&&t.names;t.push&&!e[t.push]?e[t.push]=[]:o&&!e[t.name]&&(e[t.name]={});var i=t.push?{}:o?e[t.name]:e;!function(t,e,r,o){if(o&&!r)e[o]=n(t[1]);else for(var i=0;i<r.length;i+=1)null!=t[i+1]&&(e[r[i]]=n(t[i+1]))}(r.match(t.reg),i,t.names,t.name),t.push&&e[t.push].push(i)},r=an,o=RegExp.prototype.test.bind(/^([a-z])=(.*)/);t.parse=function(t){var n={},i=[],u=n;return t.split(/(\r\n|\r|\n)/).filter(o).forEach((function(t){var n=t[0],o=t.slice(2);"m"===n&&(i.push({rtp:[],fmtp:[]}),u=i[i.length-1]);for(var s=0;s<(r[n]||[]).length;s+=1){var a=r[n][s];if(a.reg.test(o))return e(a,u,o)}})),n.media=i,n};var i=function(t,e){var r=e.split(/=(.+)/,2);return 2===r.length?t[r[0]]=n(r[1]):1===r.length&&e.length>1&&(t[r[0]]=void 0),t};t.parseParams=function(t){return t.split(/;\s?/).reduce(i,{})},t.parseFmtpConfig=t.parseParams,t.parsePayloads=function(t){return t.toString().split(" ").map(Number)},t.parseRemoteCandidates=function(t){for(var e=[],r=t.split(" ").map(n),o=0;o<r.length;o+=3)e.push({component:r[o],ip:r[o+1],port:r[o+2]});return e},t.parseImageAttributes=function(t){return t.split(" ").map((function(t){return t.substring(1,t.length-1).split(",").reduce(i,{})}))},t.parseSimulcastStreamList=function(t){return t.split(";").map((function(t){return t.split(",").map((function(t){var e,r=!1;return"~"!==t[0]?e=n(t):(e=n(t.substring(1,t.length)),r=!0),{scid:e,paused:r}}))}))}}(sn);var pn=an,ln=/%[sdv%]/g,fn=function(t){var n=1,e=arguments,r=e.length;return t.replace(ln,(function(t){if(n>=r)return t;var o=e[n];switch(n+=1,t){case"%%":return"%";case"%s":return String(o);case"%d":return Number(o);case"%v":return""}}))},hn=function(t,n,e){var r=[t+"="+(n.format instanceof Function?n.format(n.push?e:e[n.name]):n.format)];if(n.names)for(var o=0;o<n.names.length;o+=1){var i=n.names[o];n.name?r.push(e[n.name][i]):r.push(e[n.names[o]])}else r.push(e[n.name]);return fn.apply(null,r)},_n=["v","o","s","i","u","e","p","c","b","t","r","z","a"],yn=["i","c","b","a"],dn=sn,vn=function(t,n){n=n||{},null==t.version&&(t.version=0),null==t.name&&(t.name=" "),t.media.forEach((function(t){null==t.payloads&&(t.payloads="")}));var e=n.outerOrder||_n,r=n.innerOrder||yn,o=[];return e.forEach((function(n){pn[n].forEach((function(e){e.name in t&&null!=t[e.name]?o.push(hn(n,e,t)):e.push in t&&null!=t[e.push]&&t[e.push].forEach((function(t){o.push(hn(n,e,t))}))}))})),t.media.forEach((function(t){o.push(hn("m",pn.m[0],t)),r.forEach((function(n){pn[n].forEach((function(e){e.name in t&&null!=t[e.name]?o.push(hn(n,e,t)):e.push in t&&null!=t[e.push]&&t[e.push].forEach((function(t){o.push(hn(n,e,t))}))}))}))})),o.join("\r\n")+"\r\n"},gn=dn.parse;const mn=n=>t(void 0,void 0,void 0,(function*(){let t=!1;return new Promise((e=>{n.onicecandidate=n=>{n.candidate&&!t&&(t=!0,e())}}))}));function bn(t){const n=[{foundation:"1176891032",component:1,transport:"udp",priority:2122260223,ip:"0.0.0.0",port:9,type:"host",generation:0,"network-id":1,"network-cost":50}];if(t instanceof RTCPeerConnection&&t.localDescription instanceof RTCSessionDescription){const e=gn(t.localDescription.sdp);return e.media[0].candidates=n,vn(e)}throw Error("(PC || localDescription) == Undefined")}var wn={iterateReports:function(t,n){if("function"==typeof t[Symbol.iterator])for(const e of t){n(Array.isArray(e)?e[1]:e)}else for(const e in t)if(t.hasOwnProperty(e)){n(t[e])}}};const $n={"outbound-rtp":{packetsSent:"audioSentPackets",bytesSent:"audioSentBytes"},"inbound-rtp":{packetsReceived:"audioRecvPackets",packetsLost:"audioRecvPacketsLost",bytesReceived:"audioRecvBytes",jitter:"audioRecvJitter"},"remote-inbound-rtp":{packetsLost:"audioSentPacketsLost",roundTripTime:"audioRtt",jitter:"audioSentJitter"}},jn={"remote-candidate":function(t){return kn(t)},"inbound-rtp":function(t){return kn(t)},"outbound-rtp":function(t){return kn(t)},"remote-inbound-rtp":function(t){return kn(t)}},kn=t=>{const{type:n}=t,e=$n[n],r={};for(let n in e)if(n in t){let o;o="function"==typeof e[n]?e[n](t):e[n],r[o]=t[n]}else r[e[n]]=null;return r};var qn={rules:$n,parsers:jn};const{iterateReports:Cn}=wn;var zn=function(t){let n,e,r,o=0,i=0,u=0,s=0;return Cn(t,(t=>{"inbound-rtp"===t.type&&(o=t.jitter,u=t.packetsLost,i=t.packetsReceived)})),i+u>0&&(s=u/(i+u)*100),n=100+2*o+10,e=n<160?93.2-n/40:93.2-(n-120)/10,e-=2.5*s,e<1&&(e=1),r=1+.035*e+7e-6*e*(e-60)*(100-e),parseFloat(r).toFixed(6)};const{iterateReports:xn}=wn,{parsers:Sn}=qn,On=zn;var En=function(t){const n={};return xn(t,(t=>{if(t.type in Sn){const e=Sn[t.type](t);Object.assign(n,e)}})),n.networkMos=parseFloat(On(t)),n},Rn=r.vonage.RTCStatsJS;class Pn{constructor(){this.pcs=new Map,this.audio=void 0}enableRtcStatsCollection(t,n){this.intervalId=setInterval((()=>{const t=this.pcs.get(n);"connected"==(null==t?void 0:t.connectionState)?null==t||t.getStats().then((t=>{var e;const r=En(t);null===(e=this.delegate)||void 0===e||e.onRtcStats(new Rn(r.audioRecvPackets,r.audioRecvPacketsLost,r.audioRecvBytes,r.audioRecvJitter,r.audioSentPackets,r.audioSentBytes,r.audioSentPacketsLost,r.audioRtt,r.audioSentJitter,n))})):clearTimeout(this.intervalId)}),t)}enableMediaInbound(n,e,r){return t(this,void 0,void 0,(function*(){let o,i;try{const u=yield this.getNewPC();u.onconnectionstatechange=()=>{var t;null===(t=this.delegate)||void 0===t||t.onConnectionChange(r,u.connectionState)},this.pcs.set(r,u),o=yield((n,e)=>t(void 0,void 0,void 0,(function*(){yield n.setRemoteDescription(new RTCSessionDescription({type:"offer",sdp:e}));const t=yield n.createAnswer();return n.setLocalDescription(t),yield mn(n),bn(n)})))(u,e)}catch(t){i=t}finally{n(i,o)}}))}enableMediaOutbound(n){return t(this,void 0,void 0,(function*(){let e,r,o;try{r=yield this.getNewPC(),o=yield(i=r,t(void 0,void 0,void 0,(function*(){const t=yield i.createOffer();return i.setLocalDescription(t),yield mn(i),bn(i)})))}catch(t){e=t}finally{n(e,o,(t=>{this.pcs.set(t,r),r.onconnectionstatechange=()=>{var n;null===(n=this.delegate)||void 0===n||n.onConnectionChange(t,r.connectionState)}}))}var i}))}getNewPC(){return t(this,void 0,void 0,(function*(){const n=yield t(void 0,void 0,void 0,(function*(){const t=yield navigator.mediaDevices.getUserMedia({video:!1,audio:!0}),n=new RTCPeerConnection({iceTransportPolicy:"all",bundlePolicy:"balanced",rtcpMuxPolicy:"require",iceCandidatePoolSize:0});return t.getTracks().forEach((e=>{n.addTrack(e,t)})),n}));return n.ontrack=t=>{const n=t.streams[0];if(n){const t=new Audio;t.srcObject=n,t.autoplay=!0,this.audio=t,this.stream=n}},n}))}mute(n){return t(this,void 0,void 0,(function*(){this.setMediaTracksEnabled(n,!1)}))}unmute(n){return t(this,void 0,void 0,(function*(){this.setMediaTracksEnabled(n,!0)}))}getPeerConnection(t){return this.pcs.get(t)}processAnswer(t,n){const e=new RTCSessionDescription({type:"answer",sdp:n}),r=this.pcs.get(t);r&&r.setRemoteDescription(e)}disableMedia(t){const n=this.pcs.get(t);n&&(n.close(),this.pcs.delete(t),n.getSenders().forEach((t=>{var n;null===(n=t.track)||void 0===n||n.stop()})),n.getReceivers().forEach((t=>{var n;null===(n=t.track)||void 0===n||n.stop()})))}setMediaTracksEnabled(t,n){const e=this.pcs.get(t),r=null==e?void 0:e.getTransceivers(),o=null==r?void 0:r.map((t=>t.sender.track));null==o||o.forEach((t=>{t&&(t.enabled=n)}))}}var Tn={},An={get exports(){return Tn},set exports(t){Tn=t}},Nn=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,In=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],Bn=function(t){var n=t,e=t.indexOf("["),r=t.indexOf("]");-1!=e&&-1!=r&&(t=t.substring(0,e)+t.substring(e,r).replace(/:/g,";")+t.substring(r,t.length));for(var o,i,u=Nn.exec(t||""),s={},a=14;a--;)s[In[a]]=u[a]||"";return-1!=e&&-1!=r&&(s.source=n,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=function(t,n){var e=/\/{2,9}/g,r=n.replace(e,"/").split("/");"/"!=n.substr(0,1)&&0!==n.length||r.splice(0,1);"/"==n.substr(n.length-1,1)&&r.splice(r.length-1,1);return r}(0,s.path),s.queryKey=(o=s.query,i={},o.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(t,n,e){n&&(i[n]=e)})),i),s};var Mn={},Ln={get exports(){return Mn},set exports(t){Mn=t}},Fn={},Dn={get exports(){return Fn},set exports(t){Fn=t}},Jn=1e3,Un=6e4,Hn=60*Un,Vn=24*Hn,Kn=365.25*Vn,Wn=function(t,n){n=n||{};var e=typeof t;if("string"===e&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!n)return;var e=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return e*Kn;case"days":case"day":case"d":return e*Vn;case"hours":case"hour":case"hrs":case"hr":case"h":return e*Hn;case"minutes":case"minute":case"mins":case"min":case"m":return e*Un;case"seconds":case"second":case"secs":case"sec":case"s":return e*Jn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}(t);if("number"===e&&!1===isNaN(t))return n.long?function(t){return Gn(t,Vn,"day")||Gn(t,Hn,"hour")||Gn(t,Un,"minute")||Gn(t,Jn,"second")||t+" ms"}(t):function(t){if(t>=Vn)return Math.round(t/Vn)+"d";if(t>=Hn)return Math.round(t/Hn)+"h";if(t>=Un)return Math.round(t/Un)+"m";if(t>=Jn)return Math.round(t/Jn)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Gn(t,n,e){if(!(t<n))return t<1.5*n?Math.floor(t/n)+" "+e:Math.ceil(t/n)+" "+e+"s"}!function(t,n){function e(t){var e;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(e||r);t.diff=i,t.prev=e,t.curr=r,e=r;for(var u=new Array(arguments.length),s=0;s<u.length;s++)u[s]=arguments[s];u[0]=n.coerce(u[0]),"string"!=typeof u[0]&&u.unshift("%O");var a=0;u[0]=u[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;a++;var o=n.formatters[r];if("function"==typeof o){var i=u[a];e=o.call(t,i),u.splice(a,1),a--}return e})),n.formatArgs.call(t,u);var c=o.log||n.log||console.log.bind(console);c.apply(t,u)}}return o.namespace=t,o.enabled=n.enabled(t),o.useColors=n.useColors(),o.color=function(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(t),o.destroy=r,"function"==typeof n.init&&n.init(o),n.instances.push(o),o}function r(){var t=n.instances.indexOf(this);return-1!==t&&(n.instances.splice(t,1),!0)}(n=Dn.exports=e.debug=e.default=e).coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){n.enable("")},n.enable=function(t){var e;n.save(t),n.names=[],n.skips=[];var r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(e=0;e<o;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")));for(e=0;e<n.instances.length;e++){var i=n.instances[e];i.enabled=n.enabled(i.namespace)}},n.enabled=function(t){if("*"===t[t.length-1])return!0;var e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=Wn,n.instances=[],n.names=[],n.skips=[],n.formatters={}}(0,Fn),function(t,n){function e(){var t;try{t=n.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(n=Ln.exports=Fn).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),!e)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)},n.save=function(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}},n.load=e,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(e())}(0,Mn);var Xn=Bn,Yn=Mn("socket.io-client:url"),Zn=function(t,n){var e=t;n=n||"undefined"!=typeof location&&location,null==t&&(t=n.protocol+"//"+n.host);"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?n.protocol+t:n.host+t),/^(https?|wss?):\/\//.test(t)||(Yn("protocol-less url %s",t),t=void 0!==n?n.protocol+"//"+t:"https://"+t),Yn("parse %s",t),e=Xn(t));e.port||(/^(http|ws)$/.test(e.protocol)?e.port="80":/^(http|ws)s$/.test(e.protocol)&&(e.port="443"));e.path=e.path||"/";var r=-1!==e.host.indexOf(":")?"["+e.host+"]":e.host;return e.id=e.protocol+"://"+r+":"+e.port,e.href=e.protocol+"://"+r+(n&&n.port===e.port?"":":"+e.port),e};var Qn={},te={},ne={get exports(){return te},set exports(t){te=t}},ee={},re={get exports(){return ee},set exports(t){ee=t}},oe=1e3,ie=6e4,ue=60*ie,se=24*ue,ae=365.25*se,ce=function(t,n){n=n||{};var e=typeof t;if("string"===e&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!n)return;var e=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return e*ae;case"days":case"day":case"d":return e*se;case"hours":case"hour":case"hrs":case"hr":case"h":return e*ue;case"minutes":case"minute":case"mins":case"min":case"m":return e*ie;case"seconds":case"second":case"secs":case"sec":case"s":return e*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}(t);if("number"===e&&!1===isNaN(t))return n.long?function(t){return pe(t,se,"day")||pe(t,ue,"hour")||pe(t,ie,"minute")||pe(t,oe,"second")||t+" ms"}(t):function(t){if(t>=se)return Math.round(t/se)+"d";if(t>=ue)return Math.round(t/ue)+"h";if(t>=ie)return Math.round(t/ie)+"m";if(t>=oe)return Math.round(t/oe)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function pe(t,n,e){if(!(t<n))return t<1.5*n?Math.floor(t/n)+" "+e:Math.ceil(t/n)+" "+e+"s"}!function(t,n){function e(t){var e;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(e||r);t.diff=i,t.prev=e,t.curr=r,e=r;for(var u=new Array(arguments.length),s=0;s<u.length;s++)u[s]=arguments[s];u[0]=n.coerce(u[0]),"string"!=typeof u[0]&&u.unshift("%O");var a=0;u[0]=u[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;a++;var o=n.formatters[r];if("function"==typeof o){var i=u[a];e=o.call(t,i),u.splice(a,1),a--}return e})),n.formatArgs.call(t,u);var c=o.log||n.log||console.log.bind(console);c.apply(t,u)}}return o.namespace=t,o.enabled=n.enabled(t),o.useColors=n.useColors(),o.color=function(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(t),o.destroy=r,"function"==typeof n.init&&n.init(o),n.instances.push(o),o}function r(){var t=n.instances.indexOf(this);return-1!==t&&(n.instances.splice(t,1),!0)}(n=re.exports=e.debug=e.default=e).coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){n.enable("")},n.enable=function(t){var e;n.save(t),n.names=[],n.skips=[];var r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(e=0;e<o;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")));for(e=0;e<n.instances.length;e++){var i=n.instances[e];i.enabled=n.enabled(i.namespace)}},n.enabled=function(t){if("*"===t[t.length-1])return!0;var e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=ce,n.instances=[],n.names=[],n.skips=[],n.formatters={}}(0,ee),function(t,n){function e(){var t;try{t=n.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(n=ne.exports=ee).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),!e)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)},n.save=function(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}},n.load=e,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(e())}(0,te);var le={},fe={get exports(){return le},set exports(t){le=t}};!function(t){function n(t){if(t)return function(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}(t)}fe.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(n),this},n.prototype.once=function(t,n){function e(){this.off(t,e),n.apply(this,arguments)}return e.fn=n,this.on(t,e),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,n){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var e,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<r.length;o++)if((e=r[o])===n||e.fn===n){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},n.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var n=new Array(arguments.length-1),e=this._callbacks["$"+t],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(e){r=0;for(var o=(e=e.slice(0)).length;r<o;++r)e[r].apply(this,n)}return this},n.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},n.prototype.hasListeners=function(t){return!!this.listeners(t).length}}();var he={},_e={}.toString,ye=Array.isArray||function(t){return"[object Array]"==_e.call(t)},de=function(t){return ve&&Buffer.isBuffer(t)||ge&&(t instanceof ArrayBuffer||function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}(t))},ve="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,ge="function"==typeof ArrayBuffer;var me=ye,be=de,we=Object.prototype.toString,$e="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===we.call(Blob),je="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===we.call(File);function ke(t,n){if(!t)return t;if(be(t)){var e={_placeholder:!0,num:n.length};return n.push(t),e}if(me(t)){for(var r=new Array(t.length),o=0;o<t.length;o++)r[o]=ke(t[o],n);return r}if("object"==typeof t&&!(t instanceof Date)){r={};for(var i in t)r[i]=ke(t[i],n);return r}return t}function qe(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw new Error("illegal attachments")}if(me(t))for(var e=0;e<t.length;e++)t[e]=qe(t[e],n);else if("object"==typeof t)for(var r in t)t[r]=qe(t[r],n);return t}he.deconstructPacket=function(t){var n=[],e=t.data,r=t;return r.data=ke(e,n),r.attachments=n.length,{packet:r,buffers:n}},he.reconstructPacket=function(t,n){return t.data=qe(t.data,n),t.attachments=void 0,t},he.removeBlobs=function(t,n){var e=0,r=t;!function t(o,i,u){if(!o)return o;if($e&&o instanceof Blob||je&&o instanceof File){e++;var s=new FileReader;s.onload=function(){u?u[i]=this.result:r=this.result,--e||n(r)},s.readAsArrayBuffer(o)}else if(me(o))for(var a=0;a<o.length;a++)t(o[a],a,o);else if("object"==typeof o&&!be(o))for(var c in o)t(o[c],c,o)}(r),e||n(r)},function(t){var n=te("socket.io-parser"),e=le,r=he,o=ye,i=de;function u(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=u,t.Decoder=c;var s=t.ERROR+'"encode error"';function a(e){var r=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(r+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(r+=e.nsp+","),null!=e.id&&(r+=e.id),null!=e.data){var o=function(t){try{return JSON.stringify(t)}catch(t){return!1}}(e.data);if(!1===o)return s;r+=o}return n("encoded %j as %s",e,r),r}function c(){this.reconstructor=null}function p(t){this.reconPack=t,this.buffers=[]}function l(n){return{type:t.ERROR,data:"parser error: "+n}}u.prototype.encode=function(e,o){(n("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(t,n){function e(t){var e=r.deconstructPacket(t),o=a(e.packet),i=e.buffers;i.unshift(o),n(i)}r.removeBlobs(t,e)}(e,o):o([a(e)])},e(c.prototype),c.prototype.add=function(e){var r;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=function(e){var r=0,i={type:Number(e.charAt(0))};if(null==t.types[i.type])return l("unknown packet type "+i.type);if(t.BINARY_EVENT===i.type||t.BINARY_ACK===i.type){for(var u=r+1;"-"!==e.charAt(++r)&&r!=e.length;);var s=e.substring(u,r);if(s!=Number(s)||"-"!==e.charAt(r))throw new Error("Illegal attachments");i.attachments=Number(s)}if("/"===e.charAt(r+1)){for(u=r+1;++r;){if(","===(c=e.charAt(r)))break;if(r===e.length)break}i.nsp=e.substring(u,r)}else i.nsp="/";var a=e.charAt(r+1);if(""!==a&&Number(a)==a){for(u=r+1;++r;){var c;if(null==(c=e.charAt(r))||Number(c)!=c){--r;break}if(r===e.length)break}i.id=Number(e.substring(u,r+1))}if(e.charAt(++r)){var p=function(t){try{return JSON.parse(t)}catch(t){return!1}}(e.substr(r));if(!(!1!==p&&(i.type===t.ERROR||o(p))))return l("invalid payload");i.data=p}return n("decoded %s as %j",e,i),i}(e),t.BINARY_EVENT===r.type||t.BINARY_ACK===r.type?(this.reconstructor=new p(r),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",r)):this.emit("decoded",r)}else{if(!i(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(r=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",r))}},c.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var n=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}}(Qn);var Ce={},ze={get exports(){return Ce},set exports(t){Ce=t}},xe={},Se={},Oe={get exports(){return Se},set exports(t){Se=t}};try{Oe.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){Oe.exports=!1}var Ee,Re,Pe="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),Te=Se,Ae=Pe,Ne=function(t){var n=t.xdomain,e=t.xscheme,r=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!n||Te))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!e&&r)return new XDomainRequest}catch(t){}if(!n)try{return new(Ae[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}},Ie={},Be={get exports(){return Ie},set exports(t){Ie=t}},Me={},Le=Object.keys||function(t){var n=[],e=Object.prototype.hasOwnProperty;for(var r in t)e.call(t,r)&&n.push(r);return n};function Fe(){if(Re)return Ee;Re=1;var t=ye,n=Object.prototype.toString,e="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===n.call(Blob),r="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===n.call(File);return Ee=function n(o){if(!o||"object"!=typeof o)return!1;if(t(o)){for(var i=0,u=o.length;i<u;i++)if(n(o[i]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(o)||"function"==typeof ArrayBuffer&&o instanceof ArrayBuffer||e&&o instanceof Blob||r&&o instanceof File)return!0;if(o.toJSON&&"function"==typeof o.toJSON&&1===arguments.length)return n(o.toJSON(),!0);for(var s in o)if(Object.prototype.hasOwnProperty.call(o,s)&&n(o[s]))return!0;return!1},Ee}var De=function(t,n,e){var r=t.byteLength;if(n=n||0,e=e||r,t.slice)return t.slice(n,e);if(n<0&&(n+=r),e<0&&(e+=r),e>r&&(e=r),n>=r||n>=e||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(e-n),u=n,s=0;u<e;u++,s++)i[s]=o[u];return i.buffer},Je=function(t,n,e){var r=!1;return e=e||Ue,o.count=t,0===t?n():o;function o(t,i){if(o.count<=0)throw new Error("after called too many times");--o.count,t?(r=!0,n(t),n=e):0!==o.count||r||n(null,i)}};function Ue(){}
2
- /*! https://mths.be/utf8js v2.1.2 by @mathias */var He,Ve,Ke,We=String.fromCharCode;function Ge(t){for(var n,e,r=[],o=0,i=t.length;o<i;)(n=t.charCodeAt(o++))>=55296&&n<=56319&&o<i?56320==(64512&(e=t.charCodeAt(o++)))?r.push(((1023&n)<<10)+(1023&e)+65536):(r.push(n),o--):r.push(n);return r}function Xe(t,n){if(t>=55296&&t<=57343){if(n)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function Ye(t,n){return We(t>>n&63|128)}function Ze(t,n){if(0==(4294967168&t))return We(t);var e="";return 0==(4294965248&t)?e=We(t>>6&31|192):0==(4294901760&t)?(Xe(t,n)||(t=65533),e=We(t>>12&15|224),e+=Ye(t,6)):0==(4292870144&t)&&(e=We(t>>18&7|240),e+=Ye(t,12),e+=Ye(t,6)),e+=We(63&t|128)}function Qe(){if(Ke>=Ve)throw Error("Invalid byte index");var t=255&He[Ke];if(Ke++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function tr(t){var n,e;if(Ke>Ve)throw Error("Invalid byte index");if(Ke==Ve)return!1;if(n=255&He[Ke],Ke++,0==(128&n))return n;if(192==(224&n)){if((e=(31&n)<<6|Qe())>=128)return e;throw Error("Invalid continuation byte")}if(224==(240&n)){if((e=(15&n)<<12|Qe()<<6|Qe())>=2048)return Xe(e,t)?e:65533;throw Error("Invalid continuation byte")}if(240==(248&n)&&(e=(7&n)<<18|Qe()<<12|Qe()<<6|Qe())>=65536&&e<=1114111)return e;throw Error("Invalid UTF-8 detected")}var nr,er,rr,or,ir,ur={version:"2.1.2",encode:function(t,n){for(var e=!1!==(n=n||{}).strict,r=Ge(t),o=r.length,i=-1,u="";++i<o;)u+=Ze(r[i],e);return u},decode:function(t,n){var e=!1!==(n=n||{}).strict;He=Ge(t),Ve=He.length,Ke=0;for(var r,o=[];!1!==(r=tr(e));)o.push(r);return function(t){for(var n,e=t.length,r=-1,o="";++r<e;)(n=t[r])>65535&&(o+=We((n-=65536)>>>10&1023|55296),n=56320|1023&n),o+=We(n);return o}(o)}},sr={};function ar(){if(rr)return er;rr=1;var t=void 0!==t?t:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),e=n&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),r=t&&t.prototype.append&&t.prototype.getBlob;function o(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var n=t.buffer;if(t.byteLength!==n.byteLength){var e=new Uint8Array(t.byteLength);e.set(new Uint8Array(n,t.byteOffset,t.byteLength)),n=e.buffer}return n}return t}))}function i(n,e){e=e||{};var r=new t;return o(n).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function u(t,n){return new Blob(o(t),n||{})}return"undefined"!=typeof Blob&&(i.prototype=Blob.prototype,u.prototype=Blob.prototype),er=n?e?Blob:u:r?i:void 0}function cr(){if(ir)return or;ir=1;var t=Me;function n(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}return or=n,le(n.prototype),n.prototype.onError=function(t,n){var e=new Error(t);return e.type="TransportError",e.description=n,this.emit("error",e),this},n.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},n.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},n.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},n.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},n.prototype.onData=function(n){var e=t.decodePacket(n,this.socket.binaryType);this.onPacket(e)},n.prototype.onPacket=function(t){this.emit("packet",t)},n.prototype.onClose=function(){this.readyState="closed",this.emit("close")},or}!function(t){var n,e,r=Le,o=Fe(),i=De,u=Je,s=ur;"undefined"!=typeof ArrayBuffer&&(nr||(nr=1,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sr.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;n<o;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},sr.decode=function(t){var n,r,o,i,u,s=.75*t.length,a=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var p=new ArrayBuffer(s),l=new Uint8Array(p);for(n=0;n<a;n+=4)r=e.indexOf(t[n]),o=e.indexOf(t[n+1]),i=e.indexOf(t[n+2]),u=e.indexOf(t[n+3]),l[c++]=r<<2|o>>4,l[c++]=(15&o)<<4|i>>2,l[c++]=(3&i)<<6|63&u;return p}),n=sr);var a="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),c="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),p=a||c;t.protocol=3;var l=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=r(l),h={type:"error",data:"parser error"},_=ar();function y(t,n,e){for(var r=new Array(t.length),o=u(t.length,e),i=function(t,e,o){n(e,(function(n,e){r[t]=e,o(n,r)}))},s=0;s<t.length;s++)i(s,t[s],o)}t.encodePacket=function(n,e,r,o){"function"==typeof e&&(o=e,e=!1),"function"==typeof r&&(o=r,r=null);var i=void 0===n.data?void 0:n.data.buffer||n.data;if("undefined"!=typeof ArrayBuffer&&i instanceof ArrayBuffer)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);var o=n.data,i=new Uint8Array(o),u=new Uint8Array(1+o.byteLength);u[0]=l[n.type];for(var s=0;s<i.length;s++)u[s+1]=i[s];return r(u.buffer)}(n,e,o);if(void 0!==_&&i instanceof _)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);if(p)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);var o=new FileReader;return o.onload=function(){t.encodePacket({type:n.type,data:o.result},e,!0,r)},o.readAsArrayBuffer(n.data)}(n,e,r);var o=new Uint8Array(1);o[0]=l[n.type];var i=new _([o.buffer,n.data]);return r(i)}(n,e,o);if(i&&i.base64)return function(n,e){var r="b"+t.packets[n.type]+n.data.data;return e(r)}(n,o);var u=l[n.type];return void 0!==n.data&&(u+=r?s.encode(String(n.data),{strict:!1}):String(n.data)),o(""+u)},t.encodeBase64Packet=function(n,e){var r,o="b"+t.packets[n.type];if(void 0!==_&&n.data instanceof _){var i=new FileReader;return i.onload=function(){var t=i.result.split(",")[1];e(o+t)},i.readAsDataURL(n.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(n.data))}catch(t){for(var u=new Uint8Array(n.data),s=new Array(u.length),a=0;a<u.length;a++)s[a]=u[a];r=String.fromCharCode.apply(null,s)}return o+=btoa(r),e(o)},t.decodePacket=function(n,e,r){if(void 0===n)return h;if("string"==typeof n){if("b"===n.charAt(0))return t.decodeBase64Packet(n.substr(1),e);if(r&&!1===(n=function(t){try{t=s.decode(t,{strict:!1})}catch(t){return!1}return t}(n)))return h;var o=n.charAt(0);return Number(o)==o&&f[o]?n.length>1?{type:f[o],data:n.substring(1)}:{type:f[o]}:h}o=new Uint8Array(n)[0];var u=i(n,1);return _&&"blob"===e&&(u=new _([u])),{type:f[o],data:u}},t.decodeBase64Packet=function(t,e){var r=f[t.charAt(0)];if(!n)return{type:r,data:{base64:!0,data:t.substr(1)}};var o=n.decode(t.substr(1));return"blob"===e&&_&&(o=new _([o])),{type:r,data:o}},t.encodePayload=function(n,e,r){"function"==typeof e&&(r=e,e=null);var i=o(n);if(e&&i)return _&&!p?t.encodePayloadAsBlob(n,r):t.encodePayloadAsArrayBuffer(n,r);if(!n.length)return r("0:");y(n,(function(n,r){t.encodePacket(n,!!i&&e,!1,(function(t){r(null,function(t){return t.length+":"+t}(t))}))}),(function(t,n){return r(n.join(""))}))},t.decodePayload=function(n,e,r){if("string"!=typeof n)return t.decodePayloadAsBinary(n,e,r);var o;if("function"==typeof e&&(r=e,e=null),""===n)return r(h,0,1);for(var i,u,s="",a=0,c=n.length;a<c;a++){var p=n.charAt(a);if(":"===p){if(""===s||s!=(i=Number(s)))return r(h,0,1);if(s!=(u=n.substr(a+1,i)).length)return r(h,0,1);if(u.length){if(o=t.decodePacket(u,e,!1),h.type===o.type&&h.data===o.data)return r(h,0,1);if(!1===r(o,a+i,c))return}a+=i,s=""}else s+=p}return""!==s?r(h,0,1):void 0},t.encodePayloadAsArrayBuffer=function(n,e){if(!n.length)return e(new ArrayBuffer(0));y(n,(function(n,e){t.encodePacket(n,!0,!0,(function(t){return e(null,t)}))}),(function(t,n){var r=n.reduce((function(t,n){var e;return t+(e="string"==typeof n?n.length:n.byteLength).toString().length+e+2}),0),o=new Uint8Array(r),i=0;return n.forEach((function(t){var n="string"==typeof t,e=t;if(n){for(var r=new Uint8Array(t.length),u=0;u<t.length;u++)r[u]=t.charCodeAt(u);e=r.buffer}o[i++]=n?0:1;var s=e.byteLength.toString();for(u=0;u<s.length;u++)o[i++]=parseInt(s[u]);o[i++]=255;for(r=new Uint8Array(e),u=0;u<r.length;u++)o[i++]=r[u]})),e(o.buffer)}))},t.encodePayloadAsBlob=function(n,e){y(n,(function(n,e){t.encodePacket(n,!0,!0,(function(t){var n=new Uint8Array(1);if(n[0]=1,"string"==typeof t){for(var r=new Uint8Array(t.length),o=0;o<t.length;o++)r[o]=t.charCodeAt(o);t=r.buffer,n[0]=0}var i=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),u=new Uint8Array(i.length+1);for(o=0;o<i.length;o++)u[o]=parseInt(i[o]);if(u[i.length]=255,_){var s=new _([n.buffer,u.buffer,t]);e(null,s)}}))}),(function(t,n){return e(new _(n))}))},t.decodePayloadAsBinary=function(n,e,r){"function"==typeof e&&(r=e,e=null);for(var o=n,u=[];o.byteLength>0;){for(var s=new Uint8Array(o),a=0===s[0],c="",p=1;255!==s[p];p++){if(c.length>310)return r(h,0,1);c+=s[p]}o=i(o,2+c.length),c=parseInt(c);var l=i(o,0,c);if(a)try{l=String.fromCharCode.apply(null,new Uint8Array(l))}catch(t){var f=new Uint8Array(l);l="";for(p=0;p<f.length;p++)l+=String.fromCharCode(f[p])}u.push(l),o=i(o,c)}var _=u.length;u.forEach((function(n,o){r(t.decodePacket(n,e,!0),o,_)}))}}(Me);var pr,lr={};function fr(){return pr||(pr=1,lr.encode=function(t){var n="";for(var e in t)t.hasOwnProperty(e)&&(n.length&&(n+="&"),n+=encodeURIComponent(e)+"="+encodeURIComponent(t[e]));return n},lr.decode=function(t){for(var n={},e=t.split("&"),r=0,o=e.length;r<o;r++){var i=e[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}),lr}var hr,_r=function(t,n){var e=function(){};e.prototype=n.prototype,t.prototype=new e,t.prototype.constructor=t},yr="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),dr={},vr=0,gr=0;function mr(t){var n="";do{n=yr[t%64]+n,t=Math.floor(t/64)}while(t>0);return n}function br(){var t=mr(+new Date);return t!==hr?(vr=0,hr=t):t+"."+mr(vr++)}for(;gr<64;gr++)dr[yr[gr]]=gr;br.encode=mr,br.decode=function(t){var n=0;for(gr=0;gr<t.length;gr++)n=64*n+dr[t.charAt(gr)];return n};var wr=br,$r={},jr={get exports(){return $r},set exports(t){$r=t}},kr={},qr={get exports(){return kr},set exports(t){kr=t}},Cr=1e3,zr=60*Cr,xr=60*zr,Sr=24*xr,Or=365.25*Sr,Er=function(t,n){n=n||{};var e=typeof t;if("string"===e&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!n)return;var e=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return e*Or;case"days":case"day":case"d":return e*Sr;case"hours":case"hour":case"hrs":case"hr":case"h":return e*xr;case"minutes":case"minute":case"mins":case"min":case"m":return e*zr;case"seconds":case"second":case"secs":case"sec":case"s":return e*Cr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}(t);if("number"===e&&!1===isNaN(t))return n.long?function(t){return Rr(t,Sr,"day")||Rr(t,xr,"hour")||Rr(t,zr,"minute")||Rr(t,Cr,"second")||t+" ms"}(t):function(t){if(t>=Sr)return Math.round(t/Sr)+"d";if(t>=xr)return Math.round(t/xr)+"h";if(t>=zr)return Math.round(t/zr)+"m";if(t>=Cr)return Math.round(t/Cr)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Rr(t,n,e){if(!(t<n))return t<1.5*n?Math.floor(t/n)+" "+e:Math.ceil(t/n)+" "+e+"s"}!function(t,n){function e(t){var e;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(e||r);t.diff=i,t.prev=e,t.curr=r,e=r;for(var u=new Array(arguments.length),s=0;s<u.length;s++)u[s]=arguments[s];u[0]=n.coerce(u[0]),"string"!=typeof u[0]&&u.unshift("%O");var a=0;u[0]=u[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;a++;var o=n.formatters[r];if("function"==typeof o){var i=u[a];e=o.call(t,i),u.splice(a,1),a--}return e})),n.formatArgs.call(t,u);var c=o.log||n.log||console.log.bind(console);c.apply(t,u)}}return o.namespace=t,o.enabled=n.enabled(t),o.useColors=n.useColors(),o.color=function(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(t),o.destroy=r,"function"==typeof n.init&&n.init(o),n.instances.push(o),o}function r(){var t=n.instances.indexOf(this);return-1!==t&&(n.instances.splice(t,1),!0)}(n=qr.exports=e.debug=e.default=e).coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){n.enable("")},n.enable=function(t){var e;n.save(t),n.names=[],n.skips=[];var r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(e=0;e<o;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")));for(e=0;e<n.instances.length;e++){var i=n.instances[e];i.enabled=n.enabled(i.namespace)}},n.enabled=function(t){if("*"===t[t.length-1])return!0;var e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=Er,n.instances=[],n.names=[],n.skips=[],n.formatters={}}(0,kr),function(t,n){function e(){var t;try{t=n.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(n=jr.exports=kr).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),!e)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)},n.save=function(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}},n.load=e,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(e())}(0,$r);var Pr=cr(),Tr=fr(),Ar=Me,Nr=_r,Ir=wr,Br=$r("engine.io-client:polling"),Mr=Fr,Lr=null!=new Ne({xdomain:!1}).responseType;function Fr(t){var n=t&&t.forceBase64;Lr&&!n||(this.supportsBinary=!1),Pr.call(this,t)}Nr(Fr,Pr),Fr.prototype.name="polling",Fr.prototype.doOpen=function(){this.poll()},Fr.prototype.pause=function(t){var n=this;function e(){Br("paused"),n.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(Br("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){Br("pre-pause polling complete"),--r||e()}))),this.writable||(Br("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){Br("pre-pause writing complete"),--r||e()})))}else e()},Fr.prototype.poll=function(){Br("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},Fr.prototype.onData=function(t){var n=this;Br("polling got data %s",t);Ar.decodePayload(t,this.socket.binaryType,(function(t,e,r){if("opening"===n.readyState&&"open"===t.type&&n.onOpen(),"close"===t.type)return n.onClose(),!1;n.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():Br('ignoring poll - transport state "%s"',this.readyState))},Fr.prototype.doClose=function(){var t=this;function n(){Br("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(Br("transport open - closing"),n()):(Br("transport not open - deferring close"),this.once("open",n))},Fr.prototype.write=function(t){var n=this;this.writable=!1;var e=function(){n.writable=!0,n.emit("drain")};Ar.encodePayload(t,this.supportsBinary,(function(t){n.doWrite(t,e)}))},Fr.prototype.uri=function(){var t=this.query||{},n=this.secure?"https":"http",e="";return!1!==this.timestampRequests&&(t[this.timestampParam]=Ir()),this.supportsBinary||t.sid||(t.b64=1),t=Tr.encode(t),this.port&&("https"===n&&443!==Number(this.port)||"http"===n&&80!==Number(this.port))&&(e=":"+this.port),t.length&&(t="?"+t),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+e+this.path+t};var Dr=Ne,Jr=Mr,Ur=le,Hr=_r,Vr=$r("engine.io-client:polling-xhr"),Kr=Pe;function Wr(){}function Gr(t){if(Jr.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!=typeof location){var n="https:"===location.protocol,e=location.port;e||(e=n?443:80),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||e!==t.port,this.xs=t.secure!==n}}function Xr(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(Be.exports=Gr,Ie.Request=Xr,Hr(Gr,Jr),Gr.prototype.supportsBinary=!0,Gr.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new Xr(t)},Gr.prototype.doWrite=function(t,n){var e="string"!=typeof t&&void 0!==t,r=this.request({method:"POST",data:t,isBinary:e}),o=this;r.on("success",n),r.on("error",(function(t){o.onError("xhr post error",t)})),this.sendXhr=r},Gr.prototype.doPoll=function(){Vr("xhr poll");var t=this.request(),n=this;t.on("data",(function(t){n.onData(t)})),t.on("error",(function(t){n.onError("xhr poll error",t)})),this.pollXhr=t},Ur(Xr.prototype),Xr.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new Dr(t),e=this;try{Vr("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.extraHeaders[r])}catch(t){}if("POST"===this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{n.setRequestHeader("Accept","*/*")}catch(t){}"withCredentials"in n&&(n.withCredentials=this.withCredentials),this.requestTimeout&&(n.timeout=this.requestTimeout),this.hasXDR()?(n.onload=function(){e.onLoad()},n.onerror=function(){e.onError(n.responseText)}):n.onreadystatechange=function(){if(2===n.readyState)try{var t=n.getResponseHeader("Content-Type");(e.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(n.responseType="arraybuffer")}catch(t){}4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():setTimeout((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},Vr("xhr data %s",this.data),n.send(this.data)}catch(t){return void setTimeout((function(){e.onError(t)}),0)}"undefined"!=typeof document&&(this.index=Xr.requestsCount++,Xr.requests[this.index]=this)},Xr.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},Xr.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},Xr.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},Xr.prototype.cleanup=function(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=Wr:this.xhr.onreadystatechange=Wr,t)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete Xr.requests[this.index],this.xhr=null}},Xr.prototype.onLoad=function(){var t;try{var n;try{n=this.xhr.getResponseHeader("Content-Type")}catch(t){}t=("application/octet-stream"===n||"application/octet-stream; charset=UTF-8"===n)&&this.xhr.response||this.xhr.responseText}catch(t){this.onError(t)}null!=t&&this.onData(t)},Xr.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},Xr.prototype.abort=function(){this.cleanup()},Xr.requestsCount=0,Xr.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",Yr);else if("function"==typeof addEventListener){addEventListener("onpagehide"in Kr?"pagehide":"unload",Yr,!1)}function Yr(){for(var t in Xr.requests)Xr.requests.hasOwnProperty(t)&&Xr.requests[t].abort()}var Zr,Qr=Mr,to=Pe,no=io,eo=/\n/g,ro=/\\n/g;function oo(){}function io(t){Qr.call(this,t),this.query=this.query||{},Zr||(Zr=to.___eio=to.___eio||[]),this.index=Zr.length;var n=this;Zr.push((function(t){n.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=oo)}),!1)}_r(io,Qr),io.prototype.supportsBinary=!1,io.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),Qr.prototype.doClose.call(this)},io.prototype.doPoll=function(){var t=this,n=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),n.async=!0,n.src=this.uri(),n.onerror=function(n){t.onError("jsonp poll error",n)};var e=document.getElementsByTagName("script")[0];e?e.parentNode.insertBefore(n,e):(document.head||document.body).appendChild(n),this.script=n,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},io.prototype.doWrite=function(t,n){var e=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),u=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=u,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function s(){a(),n()}function a(){if(e.iframe)try{e.form.removeChild(e.iframe)}catch(t){e.onError("jsonp polling iframe removal error",t)}try{var t='<iframe src="javascript:0" name="'+e.iframeId+'">';r=document.createElement(t)}catch(t){(r=document.createElement("iframe")).name=e.iframeId,r.src="javascript:0"}r.id=e.iframeId,e.form.appendChild(r),e.iframe=r}this.form.action=this.uri(),a(),t=t.replace(ro,"\\\n"),this.area.value=t.replace(eo,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===e.iframe.readyState&&s()}:this.iframe.onload=s};var uo,so,ao=n(Object.freeze({__proto__:null,default:{}})),co=cr(),po=Me,lo=fr(),fo=_r,ho=wr,_o=$r("engine.io-client:websocket");if("undefined"!=typeof WebSocket?uo=WebSocket:"undefined"!=typeof self&&(uo=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{so=ao}catch(t){}var yo=uo||so,vo=go;function go(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=uo&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(yo=so),co.call(this,t)}fo(go,co),go.prototype.name="websocket",go.prototype.supportsBinary=!0,go.prototype.doOpen=function(){if(this.check()){var t=this.uri(),n=this.protocols,e={};this.isReactNative||(e.agent=this.agent,e.perMessageDeflate=this.perMessageDeflate,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(e.headers=this.extraHeaders),this.localAddress&&(e.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?n?new yo(t,n):new yo(t):new yo(t,n,e)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},go.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(n){t.onData(n.data)},this.ws.onerror=function(n){t.onError("websocket error",n)}},go.prototype.write=function(t){var n=this;this.writable=!1;for(var e=t.length,r=0,o=e;r<o;r++)!function(t){po.encodePacket(t,n.supportsBinary,(function(r){if(!n.usingBrowserWebSocket){var o={};if(t.options&&(o.compress=t.options.compress),n.perMessageDeflate)("string"==typeof r?Buffer.byteLength(r):r.length)<n.perMessageDeflate.threshold&&(o.compress=!1)}try{n.usingBrowserWebSocket?n.ws.send(r):n.ws.send(r,o)}catch(t){_o("websocket closed before onclose event")}--e||i()}))}(t[r]);function i(){n.emit("flush"),setTimeout((function(){n.writable=!0,n.emit("drain")}),0)}},go.prototype.onClose=function(){co.prototype.onClose.call(this)},go.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},go.prototype.uri=function(){var t=this.query||{},n=this.secure?"wss":"ws",e="";return this.port&&("wss"===n&&443!==Number(this.port)||"ws"===n&&80!==Number(this.port))&&(e=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=ho()),this.supportsBinary||(t.b64=1),(t=lo.encode(t)).length&&(t="?"+t),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+e+this.path+t},go.prototype.check=function(){return!(!yo||"__initialize"in yo&&this.name===go.prototype.name)};var mo=Ne,bo=Ie,wo=no,$o=vo;xe.polling=function(t){var n=!1,e=!1,r=!1!==t.jsonp;if("undefined"!=typeof location){var o="https:"===location.protocol,i=location.port;i||(i=o?443:80),n=t.hostname!==location.hostname||i!==t.port,e=t.secure!==o}if(t.xdomain=n,t.xscheme=e,"open"in new mo(t)&&!t.forceJSONP)return new bo(t);if(!r)throw new Error("JSONP disabled");return new wo(t)},xe.websocket=$o;var jo,ko=[].indexOf,qo=function(t,n){if(ko)return t.indexOf(n);for(var e=0;e<t.length;++e)if(t[e]===n)return e;return-1},Co=xe,zo=le,xo=$r("engine.io-client:socket"),So=qo,Oo=Me,Eo=Bn,Ro=fr(),Po=To;function To(t,n){if(!(this instanceof To))return new To(t,n);n=n||{},t&&"object"==typeof t&&(n=t,t=null),t?(t=Eo(t),n.hostname=t.host,n.secure="https"===t.protocol||"wss"===t.protocol,n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=Eo(n.host).host),this.secure=null!=n.secure?n.secure:"undefined"!=typeof location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=n.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=Ro.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.withCredentials=!1!==n.withCredentials,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.transportOptions=n.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate&&(n.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||void 0,this.key=n.key||void 0,this.passphrase=n.passphrase||void 0,this.cert=n.cert||void 0,this.ca=n.ca||void 0,this.ciphers=n.ciphers||void 0,this.rejectUnauthorized=void 0===n.rejectUnauthorized||n.rejectUnauthorized,this.forceNode=!!n.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}To.priorWebsocketSuccess=!1,zo(To.prototype),To.protocol=Oo.protocol,To.Socket=To,To.Transport=cr(),To.transports=xe,To.parser=Me,To.prototype.createTransport=function(t){xo('creating transport "%s"',t);var n=function(t){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}(this.query);n.EIO=Oo.protocol,n.transport=t;var e=this.transportOptions[t]||{};return this.id&&(n.sid=this.id),new Co[t]({query:n,socket:this,agent:e.agent||this.agent,hostname:e.hostname||this.hostname,port:e.port||this.port,secure:e.secure||this.secure,path:e.path||this.path,forceJSONP:e.forceJSONP||this.forceJSONP,jsonp:e.jsonp||this.jsonp,forceBase64:e.forceBase64||this.forceBase64,enablesXDR:e.enablesXDR||this.enablesXDR,withCredentials:e.withCredentials||this.withCredentials,timestampRequests:e.timestampRequests||this.timestampRequests,timestampParam:e.timestampParam||this.timestampParam,policyPort:e.policyPort||this.policyPort,pfx:e.pfx||this.pfx,key:e.key||this.key,passphrase:e.passphrase||this.passphrase,cert:e.cert||this.cert,ca:e.ca||this.ca,ciphers:e.ciphers||this.ciphers,rejectUnauthorized:e.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:e.perMessageDeflate||this.perMessageDeflate,extraHeaders:e.extraHeaders||this.extraHeaders,forceNode:e.forceNode||this.forceNode,localAddress:e.localAddress||this.localAddress,requestTimeout:e.requestTimeout||this.requestTimeout,protocols:e.protocols||void 0,isReactNative:this.isReactNative})},To.prototype.open=function(){var t;if(this.rememberUpgrade&&To.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var n=this;return void setTimeout((function(){n.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},To.prototype.setTransport=function(t){xo("setting transport %s",t.name);var n=this;this.transport&&(xo("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){n.onDrain()})).on("packet",(function(t){n.onPacket(t)})).on("error",(function(t){n.onError(t)})).on("close",(function(){n.onClose("transport close")}))},To.prototype.probe=function(t){xo('probing transport "%s"',t);var n=this.createTransport(t,{probe:1}),e=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;e=e||o}e||(xo('probe transport "%s" opened',t),n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(o){if(!e)if("pong"===o.type&&"probe"===o.data){if(xo('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",n),!n)return;To.priorWebsocketSuccess="websocket"===n.name,xo('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){e||"closed"!==r.readyState&&(xo("changing transport and sending upgrade packet"),p(),r.setTransport(n),n.send([{type:"upgrade"}]),r.emit("upgrade",n),n=null,r.upgrading=!1,r.flush())}))}else{xo('probe transport "%s" failed',t);var i=new Error("probe error");i.transport=n.name,r.emit("upgradeError",i)}})))}function i(){e||(e=!0,p(),n.close(),n=null)}function u(e){var o=new Error("probe error: "+e);o.transport=n.name,i(),xo('probe transport "%s" failed because of error: %s',t,e),r.emit("upgradeError",o)}function s(){u("transport closed")}function a(){u("socket closed")}function c(t){n&&t.name!==n.name&&(xo('"%s" works - aborting "%s"',t.name,n.name),i())}function p(){n.removeListener("open",o),n.removeListener("error",u),n.removeListener("close",s),r.removeListener("close",a),r.removeListener("upgrading",c)}To.priorWebsocketSuccess=!1,n.once("open",o),n.once("error",u),n.once("close",s),this.once("close",a),this.once("upgrading",c),n.open()},To.prototype.onOpen=function(){if(xo("socket open"),this.readyState="open",To.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){xo("starting upgrade probes");for(var t=0,n=this.upgrades.length;t<n;t++)this.probe(this.upgrades[t])}},To.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(xo('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emit("data",t.data),this.emit("message",t.data)}else xo('packet received with socket readyState "%s"',this.readyState)},To.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},To.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var n=this;n.pingTimeoutTimer=setTimeout((function(){"closed"!==n.readyState&&n.onClose("ping timeout")}),t||n.pingInterval+n.pingTimeout)},To.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){xo("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},To.prototype.ping=function(){var t=this;this.sendPacket("ping",(function(){t.emit("ping")}))},To.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},To.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(xo("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},To.prototype.write=To.prototype.send=function(t,n,e){return this.sendPacket("message",t,n,e),this},To.prototype.sendPacket=function(t,n,e,r){if("function"==typeof n&&(r=n,n=void 0),"function"==typeof e&&(r=e,e=null),"closing"!==this.readyState&&"closed"!==this.readyState){(e=e||{}).compress=!1!==e.compress;var o={type:t,data:n,options:e};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},To.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():n()})):this.upgrading?r():n()}function n(){t.onClose("forced close"),xo("socket closing - telling transport to close"),t.transport.close()}function e(){t.removeListener("upgrade",e),t.removeListener("upgradeError",e),n()}function r(){t.once("upgrade",e),t.once("upgradeError",e)}return this},To.prototype.onError=function(t){xo("socket error %j",t),To.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},To.prototype.onClose=function(t,n){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){xo('socket close with reason: "%s"',t);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,n),this.writeBuffer=[],this.prevBufferLen=0}},To.prototype.filterUpgrades=function(t){for(var n=[],e=0,r=t.length;e<r;e++)~So(this.transports,t[e])&&n.push(t[e]);return n},(jo=ze).exports=Po,jo.exports.parser=Me;var Ao,No,Io={},Bo={get exports(){return Io},set exports(t){Io=t}};var Mo=function(t,n,e){return t.on(n,e),{destroy:function(){t.removeListener(n,e)}}};var Lo,Fo=[].slice,Do=function(t,n){if("string"==typeof n&&(n=t[n]),"function"!=typeof n)throw new Error("bind() requires a function");var e=Fo.call(arguments,2);return function(){return n.apply(t,e.concat(Fo.call(arguments)))}};function Jo(){return Lo||(Lo=1,function(t,n){var e=Qn,r=le,o=(No||(No=1,Ao=function(t,n){for(var e=[],r=(n=n||0)||0;r<t.length;r++)e[r-n]=t[r];return e}),Ao),i=Mo,u=Do,s=Mn("socket.io-client:socket"),a=fr(),c=Fe();t.exports=f;var p={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},l=r.prototype.emit;function f(t,n,e){this.io=t,this.nsp=n,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},e&&e.query&&(this.query=e.query),this.io.autoConnect&&this.open()}r(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[i(t,"open",u(this,"onopen")),i(t,"packet",u(this,"onpacket")),i(t,"close",u(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},f.prototype.send=function(){var t=o(arguments);return t.unshift("message"),this.emit.apply(this,t),this},f.prototype.emit=function(t){if(p.hasOwnProperty(t))return l.apply(this,arguments),this;var n=o(arguments),r={type:(void 0!==this.flags.binary?this.flags.binary:c(n))?e.BINARY_EVENT:e.EVENT,data:n,options:{}};return r.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof n[n.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=n.pop(),r.id=this.ids++),this.connected?this.packet(r):this.sendBuffer.push(r),this.flags={},this},f.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},f.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?a.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:e.CONNECT,query:t})}else this.packet({type:e.CONNECT})},f.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},f.prototype.onpacket=function(t){var n=t.nsp===this.nsp,r=t.type===e.ERROR&&"/"===t.nsp;if(n||r)switch(t.type){case e.CONNECT:this.onconnect();break;case e.EVENT:case e.BINARY_EVENT:this.onevent(t);break;case e.ACK:case e.BINARY_ACK:this.onack(t);break;case e.DISCONNECT:this.ondisconnect();break;case e.ERROR:this.emit("error",t.data)}},f.prototype.onevent=function(t){var n=t.data||[];s("emitting event %j",n),null!=t.id&&(s("attaching ack callback to event"),n.push(this.ack(t.id))),this.connected?l.apply(this,n):this.receiveBuffer.push(n)},f.prototype.ack=function(t){var n=this,r=!1;return function(){if(!r){r=!0;var i=o(arguments);s("sending ack %j",i),n.packet({type:c(i)?e.BINARY_ACK:e.ACK,id:t,data:i})}}},f.prototype.onack=function(t){var n=this.acks[t.id];"function"==typeof n?(s("calling ack %s with %j",t.id,t.data),n.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},f.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)l.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:e.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(t){return this.flags.compress=t,this},f.prototype.binary=function(t){return this.flags.binary=t,this}}(Bo)),Io}var Uo=Ho;function Ho(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ho.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),e=Math.floor(n*this.jitter*t);t=0==(1&Math.floor(10*n))?t-e:t+e}return 0|Math.min(t,this.max)},Ho.prototype.reset=function(){this.attempts=0},Ho.prototype.setMin=function(t){this.ms=t},Ho.prototype.setMax=function(t){this.max=t},Ho.prototype.setJitter=function(t){this.jitter=t};var Vo=Ce,Ko=Jo(),Wo=le,Go=Qn,Xo=Mo,Yo=Do,Zo=Mn("socket.io-client:manager"),Qo=qo,ti=Uo,ni=Object.prototype.hasOwnProperty,ei=ri;function ri(t,n){if(!(this instanceof ri))return new ri(t,n);t&&"object"==typeof t&&(n=t,t=void 0),(n=n||{}).path=n.path||"/socket.io",this.nsps={},this.subs=[],this.opts=n,this.reconnection(!1!==n.reconnection),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor(n.randomizationFactor||.5),this.backoff=new ti({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==n.timeout?2e4:n.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var e=n.parser||Go;this.encoder=new e.Encoder,this.decoder=new e.Decoder,this.autoConnect=!1!==n.autoConnect,this.autoConnect&&this.open()}ri.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)ni.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},ri.prototype.updateSocketIds=function(){for(var t in this.nsps)ni.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},ri.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},Wo(ri.prototype),ri.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},ri.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},ri.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},ri.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},ri.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},ri.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},ri.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},ri.prototype.open=ri.prototype.connect=function(t,n){if(Zo("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;Zo("opening %s",this.uri),this.engine=Vo(this.uri,this.opts);var e=this.engine,r=this;this.readyState="opening",this.skipReconnect=!1;var o=Xo(e,"open",(function(){r.onopen(),t&&t()})),i=Xo(e,"error",(function(n){if(Zo("connect_error"),r.cleanup(),r.readyState="closed",r.emitAll("connect_error",n),t){var e=new Error("Connection error");e.data=n,t(e)}else r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;Zo("connect attempt will timeout after %d",u),0===u&&o.destroy();var s=setTimeout((function(){Zo("connect attempt timed out after %d",u),o.destroy(),e.close(),e.emit("error","timeout"),r.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(s)}})}return this.subs.push(o),this.subs.push(i),this},ri.prototype.onopen=function(){Zo("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(Xo(t,"data",Yo(this,"ondata"))),this.subs.push(Xo(t,"ping",Yo(this,"onping"))),this.subs.push(Xo(t,"pong",Yo(this,"onpong"))),this.subs.push(Xo(t,"error",Yo(this,"onerror"))),this.subs.push(Xo(t,"close",Yo(this,"onclose"))),this.subs.push(Xo(this.decoder,"decoded",Yo(this,"ondecoded")))},ri.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},ri.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},ri.prototype.ondata=function(t){this.decoder.add(t)},ri.prototype.ondecoded=function(t){this.emit("packet",t)},ri.prototype.onerror=function(t){Zo("error",t),this.emitAll("error",t)},ri.prototype.socket=function(t,n){var e=this.nsps[t];if(!e){e=new Ko(this,t,n),this.nsps[t]=e;var r=this;e.on("connecting",o),e.on("connect",(function(){e.id=r.generateId(t)})),this.autoConnect&&o()}function o(){~Qo(r.connecting,e)||r.connecting.push(e)}return e},ri.prototype.destroy=function(t){var n=Qo(this.connecting,t);~n&&this.connecting.splice(n,1),this.connecting.length||this.close()},ri.prototype.packet=function(t){Zo("writing packet %j",t);var n=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),n.encoding?n.packetBuffer.push(t):(n.encoding=!0,this.encoder.encode(t,(function(e){for(var r=0;r<e.length;r++)n.engine.write(e[r],t.options);n.encoding=!1,n.processPacketQueue()})))},ri.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},ri.prototype.cleanup=function(){Zo("cleanup");for(var t=this.subs.length,n=0;n<t;n++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},ri.prototype.close=ri.prototype.disconnect=function(){Zo("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},ri.prototype.onclose=function(t){Zo("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},ri.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)Zo("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var n=this.backoff.duration();Zo("will wait %dms before reconnect attempt",n),this.reconnecting=!0;var e=setTimeout((function(){t.skipReconnect||(Zo("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(Zo("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",n.data)):(Zo("reconnect success"),t.onreconnect())})))}),n);this.subs.push({destroy:function(){clearTimeout(e)}})}},ri.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)},function(t,n){var e=Zn,r=Qn,o=ei,i=Mn("socket.io-client");t.exports=n=s;var u=n.managers={};function s(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,s=e(t),a=s.source,c=s.id,p=s.path,l=u[c]&&p in u[c].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||l?(i("ignoring socket cache for %s",a),r=o(a,n)):(u[c]||(i("new io instance for %s",a),u[c]=o(a,n)),r=u[c]),s.query&&!n.query&&(n.query=s.query),r.socket(s.path,n)}n.protocol=r.protocol,n.connect=s,n.Manager=ei,n.Socket=Jo()}(An,Tn);class oi{emit(t,n,e){var r;null===(r=this.socket)||void 0===r||r.emit(t,n),e(null,"")}connect(t,n,e,o,i,u){const s={transports:["websocket"],autoConnect:!0,reconnection:!0,forceNew:!0,path:n,reconnectionAttempts:e,reconnectionDelay:1e3*o,randomizationFactor:i,query:u};this.socket=Tn.connect(t,s),this.socket.on("connect",(()=>{var t;null===(t=this.delegate)||void 0===t||t.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_CONNECTED,null,Date.now(),null)})),this.socket.on("reconnect_attempt",(t=>{var n;null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_RECONNECTING,null,Date.now(),t)})),this.socket.on("reconnect_failed",(()=>{var t;null===(t=this.delegate)||void 0===t||t.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_CLIENT_NETWORK_ERROR,Date.now(),null)})),this.socket.on("disconnect",(t=>{var n,e;console.log({reason:t}),"io client disconnect"===t?null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_CLIENT_DISCONNECTED,Date.now(),null):"io server disconnect"===t&&(null===(e=this.delegate)||void 0===e||e.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_SERVER_DISCONNECTED,Date.now(),null))})),this.socket.io.on("packet",(t=>{var n;if(2!==t.type)return;if("echo"===t.data[0])return;const[e,r]=t.data,o=t.data[2];o&&o instanceof Function&&o(),"string"==typeof e&&r instanceof Object&&(null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketEvent(e,JSON.stringify(r)))}))}disconnect(){var t;null===(t=this.socket)||void 0===t||t.disconnect()}startVerifyResponseTimer(t,n){setTimeout((()=>{n()}),t)}setConnectParamsSocketConfig(t){this.socket&&(this.socket.io.opts.query={token:t})}}const ii=r.vonage.CoreClientConfigRegionJS;class ui extends r.vonage.CoreClientConfigJS{constructor(t=ii.US){super(t)}}const si=r.vonage.LoggingLevelJS,ai=r.vonage.setDefaultLoggingLevel,ci=r.vonage.ConversationStateJS,pi=r.vonage.MemberStateJS,li=r.vonage.ChannelTypeJS,fi=r.vonage.PresentingOrderJS,hi=r.vonage.MemberInvitedEventJS,_i=r.vonage.MemberJoinedEventJS,yi=r.vonage.MemberLeftEventJS,di=r.vonage.UnknownEventJS,vi=r.vonage.TextMessageEventJS,gi=r.vonage.CustomMessageEventJS,mi=r.vonage.VonageErrorJS,bi=r.vonage.VonageErrorTypeJS,wi=r.vonage.CSErrorCodesJS,$i=r.vonage.SessionErrorCodesJS,ji=r.vonage.CancelReasonJS,ki=r.vonage.HangupReasonJS,qi=r.vonage.SessionErrorReasonJS,Ci=r.vonage.LegStatusJS,zi=ai;class xi extends r.vonage.CombinedClientJS{constructor(){super(new un,new oi,new Pn),this.callbacks=new Map;const t=this;this.emitter=new Proxy(Object(),{get(n,e){const r=t.callbacks.get(e)||[];return(...t)=>{r.forEach((n=>{try{n(...t)}catch(t){console.error(t)}}))}}})}on(t,n){const e=Symbol(t),r=this.callbacks.get(t)||new Map;return r.set(e,n),this.callbacks.set(t,r),e}off(t,n){const e=this.callbacks.get(t);return!!e&&e.delete(n)}clearCallbacks(t){const n=this.callbacks.get(t);n&&n.clear()}createSession(n,e){const r=Object.create(null,{createSession:{get:()=>super.createSession}});return t(this,void 0,void 0,(function*(){return r.createSession.call(this,n,e||null)}))}serverCall(n){const e=Object.create(null,{serverCall:{get:()=>super.serverCall}});return t(this,void 0,void 0,(function*(){return e.serverCall.call(this,n||null)}))}hangup(n,e,r){const o=Object.create(null,{hangupWithReason:{get:()=>super.hangupWithReason}});return t(this,void 0,void 0,(function*(){return o.hangupWithReason.call(this,n,e||null,r||null)}))}say(n,e){const r=Object.create(null,{say:{get:()=>super.say}});return t(this,void 0,void 0,(function*(){return r.say.call(this,n,Object.assign(Object.assign({},{voiceName:null,loop:null,level:null,ssml:null,queue:null}),"string"==typeof e?{text:e}:e))}))}getConversations(n,e,r){const o=Object.create(null,{getConversations:{get:()=>super.getConversations}});return t(this,void 0,void 0,(function*(){return yield o.getConversations.call(this,n||null,e||null,r||null)}))}getConversationEvents(n,e,r,o){const i=Object.create(null,{getConversationEvents:{get:()=>super.getConversationEvents}});return t(this,void 0,void 0,(function*(){return yield i.getConversationEvents.call(this,n,e||null,r||null,o||null)}))}getConversationMembers(n,e,r,o){const i=Object.create(null,{getConversationMembers:{get:()=>super.getConversationMembers}});return t(this,void 0,void 0,(function*(){return yield i.getConversationMembers.call(this,n,e||null,r||null,o||null)}))}createConversation(n,e){const r=Object.create(null,{createConversation:{get:()=>super.createConversation}});return t(this,void 0,void 0,(function*(){return yield r.createConversation.call(this,n||null,e||null)}))}getConversation(n){const e=Object.create(null,{getConversation:{get:()=>super.getConversation}});return t(this,void 0,void 0,(function*(){return yield e.getConversation.call(this,n)}))}leaveConversation(n){const e=Object.create(null,{leaveConversation:{get:()=>super.leaveConversation}});return t(this,void 0,void 0,(function*(){yield e.leaveConversation.call(this,n)}))}joinConversation(n){const e=Object.create(null,{joinConversation:{get:()=>super.joinConversation}});return t(this,void 0,void 0,(function*(){return yield e.joinConversation.call(this,n)}))}deleteConversation(n){const e=Object.create(null,{deleteConversation:{get:()=>super.deleteConversation}});return t(this,void 0,void 0,(function*(){yield e.deleteConversation.call(this,n)}))}inviteToConversation(n,e){const r=Object.create(null,{inviteToConversation:{get:()=>super.inviteToConversation}});return t(this,void 0,void 0,(function*(){return yield r.inviteToConversation.call(this,n,e)}))}sendTextMessage(n,e){const r=Object.create(null,{sendTextMessage:{get:()=>super.sendTextMessage}});return t(this,void 0,void 0,(function*(){return yield r.sendTextMessage.call(this,n,e)}))}sendCustomMessage(n,e){const r=Object.create(null,{sendCustomMessage:{get:()=>super.sendCustomMessage}});return t(this,void 0,void 0,(function*(){return"string"==typeof e?yield r.sendCustomMessage.call(this,n,e):yield r.sendCustomMessage.call(this,n,JSON.stringify(e))}))}getConversationMember(n,e){const r=Object.create(null,{getConversationMember:{get:()=>super.getConversationMember}});return t(this,void 0,void 0,(function*(){return yield r.getConversationMember.call(this,n,e)}))}}export{wi as CSErrorCodes,ji as CancelReason,li as ChannelType,ui as ClientConfig,ii as ConfigRegion,ci as ConversationState,gi as CustomMessageEvent,ki as HangupReason,Ci as LegStatus,si as LoggingLevel,hi as MemberInvitedEvent,_i as MemberJoinedEvent,yi as MemberLeftEvent,pi as MemberState,fi as PresentingOrder,$i as SessionErrorCodes,qi as SessionErrorReason,vi as TextMessageEvent,di as UnknownEvent,xi as VonageClient,mi as VonageError,bi as VonageErrorType,xi as default,zi as setVonageClientLoggingLevel};
2
+ /*! https://mths.be/utf8js v2.1.2 by @mathias */var He,Ve,Ke,We=String.fromCharCode;function Ge(t){for(var n,e,r=[],o=0,i=t.length;o<i;)(n=t.charCodeAt(o++))>=55296&&n<=56319&&o<i?56320==(64512&(e=t.charCodeAt(o++)))?r.push(((1023&n)<<10)+(1023&e)+65536):(r.push(n),o--):r.push(n);return r}function Xe(t,n){if(t>=55296&&t<=57343){if(n)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function Ye(t,n){return We(t>>n&63|128)}function Ze(t,n){if(0==(4294967168&t))return We(t);var e="";return 0==(4294965248&t)?e=We(t>>6&31|192):0==(4294901760&t)?(Xe(t,n)||(t=65533),e=We(t>>12&15|224),e+=Ye(t,6)):0==(4292870144&t)&&(e=We(t>>18&7|240),e+=Ye(t,12),e+=Ye(t,6)),e+=We(63&t|128)}function Qe(){if(Ke>=Ve)throw Error("Invalid byte index");var t=255&He[Ke];if(Ke++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function tr(t){var n,e;if(Ke>Ve)throw Error("Invalid byte index");if(Ke==Ve)return!1;if(n=255&He[Ke],Ke++,0==(128&n))return n;if(192==(224&n)){if((e=(31&n)<<6|Qe())>=128)return e;throw Error("Invalid continuation byte")}if(224==(240&n)){if((e=(15&n)<<12|Qe()<<6|Qe())>=2048)return Xe(e,t)?e:65533;throw Error("Invalid continuation byte")}if(240==(248&n)&&(e=(7&n)<<18|Qe()<<12|Qe()<<6|Qe())>=65536&&e<=1114111)return e;throw Error("Invalid UTF-8 detected")}var nr,er,rr,or,ir,ur={version:"2.1.2",encode:function(t,n){for(var e=!1!==(n=n||{}).strict,r=Ge(t),o=r.length,i=-1,u="";++i<o;)u+=Ze(r[i],e);return u},decode:function(t,n){var e=!1!==(n=n||{}).strict;He=Ge(t),Ve=He.length,Ke=0;for(var r,o=[];!1!==(r=tr(e));)o.push(r);return function(t){for(var n,e=t.length,r=-1,o="";++r<e;)(n=t[r])>65535&&(o+=We((n-=65536)>>>10&1023|55296),n=56320|1023&n),o+=We(n);return o}(o)}},sr={};function ar(){if(rr)return er;rr=1;var t=void 0!==t?t:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),e=n&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),r=t&&t.prototype.append&&t.prototype.getBlob;function o(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var n=t.buffer;if(t.byteLength!==n.byteLength){var e=new Uint8Array(t.byteLength);e.set(new Uint8Array(n,t.byteOffset,t.byteLength)),n=e.buffer}return n}return t}))}function i(n,e){e=e||{};var r=new t;return o(n).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function u(t,n){return new Blob(o(t),n||{})}return"undefined"!=typeof Blob&&(i.prototype=Blob.prototype,u.prototype=Blob.prototype),er=n?e?Blob:u:r?i:void 0}function cr(){if(ir)return or;ir=1;var t=Me;function n(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}return or=n,le(n.prototype),n.prototype.onError=function(t,n){var e=new Error(t);return e.type="TransportError",e.description=n,this.emit("error",e),this},n.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},n.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},n.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},n.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},n.prototype.onData=function(n){var e=t.decodePacket(n,this.socket.binaryType);this.onPacket(e)},n.prototype.onPacket=function(t){this.emit("packet",t)},n.prototype.onClose=function(){this.readyState="closed",this.emit("close")},or}!function(t){var n,e,r=Le,o=Fe(),i=De,u=Je,s=ur;"undefined"!=typeof ArrayBuffer&&(nr||(nr=1,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sr.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;n<o;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},sr.decode=function(t){var n,r,o,i,u,s=.75*t.length,a=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var p=new ArrayBuffer(s),l=new Uint8Array(p);for(n=0;n<a;n+=4)r=e.indexOf(t[n]),o=e.indexOf(t[n+1]),i=e.indexOf(t[n+2]),u=e.indexOf(t[n+3]),l[c++]=r<<2|o>>4,l[c++]=(15&o)<<4|i>>2,l[c++]=(3&i)<<6|63&u;return p}),n=sr);var a="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),c="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),p=a||c;t.protocol=3;var l=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=r(l),h={type:"error",data:"parser error"},_=ar();function y(t,n,e){for(var r=new Array(t.length),o=u(t.length,e),i=function(t,e,o){n(e,(function(n,e){r[t]=e,o(n,r)}))},s=0;s<t.length;s++)i(s,t[s],o)}t.encodePacket=function(n,e,r,o){"function"==typeof e&&(o=e,e=!1),"function"==typeof r&&(o=r,r=null);var i=void 0===n.data?void 0:n.data.buffer||n.data;if("undefined"!=typeof ArrayBuffer&&i instanceof ArrayBuffer)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);var o=n.data,i=new Uint8Array(o),u=new Uint8Array(1+o.byteLength);u[0]=l[n.type];for(var s=0;s<i.length;s++)u[s+1]=i[s];return r(u.buffer)}(n,e,o);if(void 0!==_&&i instanceof _)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);if(p)return function(n,e,r){if(!e)return t.encodeBase64Packet(n,r);var o=new FileReader;return o.onload=function(){t.encodePacket({type:n.type,data:o.result},e,!0,r)},o.readAsArrayBuffer(n.data)}(n,e,r);var o=new Uint8Array(1);o[0]=l[n.type];var i=new _([o.buffer,n.data]);return r(i)}(n,e,o);if(i&&i.base64)return function(n,e){var r="b"+t.packets[n.type]+n.data.data;return e(r)}(n,o);var u=l[n.type];return void 0!==n.data&&(u+=r?s.encode(String(n.data),{strict:!1}):String(n.data)),o(""+u)},t.encodeBase64Packet=function(n,e){var r,o="b"+t.packets[n.type];if(void 0!==_&&n.data instanceof _){var i=new FileReader;return i.onload=function(){var t=i.result.split(",")[1];e(o+t)},i.readAsDataURL(n.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(n.data))}catch(t){for(var u=new Uint8Array(n.data),s=new Array(u.length),a=0;a<u.length;a++)s[a]=u[a];r=String.fromCharCode.apply(null,s)}return o+=btoa(r),e(o)},t.decodePacket=function(n,e,r){if(void 0===n)return h;if("string"==typeof n){if("b"===n.charAt(0))return t.decodeBase64Packet(n.substr(1),e);if(r&&!1===(n=function(t){try{t=s.decode(t,{strict:!1})}catch(t){return!1}return t}(n)))return h;var o=n.charAt(0);return Number(o)==o&&f[o]?n.length>1?{type:f[o],data:n.substring(1)}:{type:f[o]}:h}o=new Uint8Array(n)[0];var u=i(n,1);return _&&"blob"===e&&(u=new _([u])),{type:f[o],data:u}},t.decodeBase64Packet=function(t,e){var r=f[t.charAt(0)];if(!n)return{type:r,data:{base64:!0,data:t.substr(1)}};var o=n.decode(t.substr(1));return"blob"===e&&_&&(o=new _([o])),{type:r,data:o}},t.encodePayload=function(n,e,r){"function"==typeof e&&(r=e,e=null);var i=o(n);if(e&&i)return _&&!p?t.encodePayloadAsBlob(n,r):t.encodePayloadAsArrayBuffer(n,r);if(!n.length)return r("0:");y(n,(function(n,r){t.encodePacket(n,!!i&&e,!1,(function(t){r(null,function(t){return t.length+":"+t}(t))}))}),(function(t,n){return r(n.join(""))}))},t.decodePayload=function(n,e,r){if("string"!=typeof n)return t.decodePayloadAsBinary(n,e,r);var o;if("function"==typeof e&&(r=e,e=null),""===n)return r(h,0,1);for(var i,u,s="",a=0,c=n.length;a<c;a++){var p=n.charAt(a);if(":"===p){if(""===s||s!=(i=Number(s)))return r(h,0,1);if(s!=(u=n.substr(a+1,i)).length)return r(h,0,1);if(u.length){if(o=t.decodePacket(u,e,!1),h.type===o.type&&h.data===o.data)return r(h,0,1);if(!1===r(o,a+i,c))return}a+=i,s=""}else s+=p}return""!==s?r(h,0,1):void 0},t.encodePayloadAsArrayBuffer=function(n,e){if(!n.length)return e(new ArrayBuffer(0));y(n,(function(n,e){t.encodePacket(n,!0,!0,(function(t){return e(null,t)}))}),(function(t,n){var r=n.reduce((function(t,n){var e;return t+(e="string"==typeof n?n.length:n.byteLength).toString().length+e+2}),0),o=new Uint8Array(r),i=0;return n.forEach((function(t){var n="string"==typeof t,e=t;if(n){for(var r=new Uint8Array(t.length),u=0;u<t.length;u++)r[u]=t.charCodeAt(u);e=r.buffer}o[i++]=n?0:1;var s=e.byteLength.toString();for(u=0;u<s.length;u++)o[i++]=parseInt(s[u]);o[i++]=255;for(r=new Uint8Array(e),u=0;u<r.length;u++)o[i++]=r[u]})),e(o.buffer)}))},t.encodePayloadAsBlob=function(n,e){y(n,(function(n,e){t.encodePacket(n,!0,!0,(function(t){var n=new Uint8Array(1);if(n[0]=1,"string"==typeof t){for(var r=new Uint8Array(t.length),o=0;o<t.length;o++)r[o]=t.charCodeAt(o);t=r.buffer,n[0]=0}var i=(t instanceof ArrayBuffer?t.byteLength:t.size).toString(),u=new Uint8Array(i.length+1);for(o=0;o<i.length;o++)u[o]=parseInt(i[o]);if(u[i.length]=255,_){var s=new _([n.buffer,u.buffer,t]);e(null,s)}}))}),(function(t,n){return e(new _(n))}))},t.decodePayloadAsBinary=function(n,e,r){"function"==typeof e&&(r=e,e=null);for(var o=n,u=[];o.byteLength>0;){for(var s=new Uint8Array(o),a=0===s[0],c="",p=1;255!==s[p];p++){if(c.length>310)return r(h,0,1);c+=s[p]}o=i(o,2+c.length),c=parseInt(c);var l=i(o,0,c);if(a)try{l=String.fromCharCode.apply(null,new Uint8Array(l))}catch(t){var f=new Uint8Array(l);l="";for(p=0;p<f.length;p++)l+=String.fromCharCode(f[p])}u.push(l),o=i(o,c)}var _=u.length;u.forEach((function(n,o){r(t.decodePacket(n,e,!0),o,_)}))}}(Me);var pr,lr={};function fr(){return pr||(pr=1,lr.encode=function(t){var n="";for(var e in t)t.hasOwnProperty(e)&&(n.length&&(n+="&"),n+=encodeURIComponent(e)+"="+encodeURIComponent(t[e]));return n},lr.decode=function(t){for(var n={},e=t.split("&"),r=0,o=e.length;r<o;r++){var i=e[r].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}),lr}var hr,_r=function(t,n){var e=function(){};e.prototype=n.prototype,t.prototype=new e,t.prototype.constructor=t},yr="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),dr={},vr=0,gr=0;function mr(t){var n="";do{n=yr[t%64]+n,t=Math.floor(t/64)}while(t>0);return n}function br(){var t=mr(+new Date);return t!==hr?(vr=0,hr=t):t+"."+mr(vr++)}for(;gr<64;gr++)dr[yr[gr]]=gr;br.encode=mr,br.decode=function(t){var n=0;for(gr=0;gr<t.length;gr++)n=64*n+dr[t.charAt(gr)];return n};var wr=br,$r={},jr={get exports(){return $r},set exports(t){$r=t}},kr={},qr={get exports(){return kr},set exports(t){kr=t}},Cr=1e3,zr=60*Cr,xr=60*zr,Sr=24*xr,Or=365.25*Sr,Er=function(t,n){n=n||{};var e=typeof t;if("string"===e&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!n)return;var e=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return e*Or;case"days":case"day":case"d":return e*Sr;case"hours":case"hour":case"hrs":case"hr":case"h":return e*xr;case"minutes":case"minute":case"mins":case"min":case"m":return e*zr;case"seconds":case"second":case"secs":case"sec":case"s":return e*Cr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}(t);if("number"===e&&!1===isNaN(t))return n.long?function(t){return Rr(t,Sr,"day")||Rr(t,xr,"hour")||Rr(t,zr,"minute")||Rr(t,Cr,"second")||t+" ms"}(t):function(t){if(t>=Sr)return Math.round(t/Sr)+"d";if(t>=xr)return Math.round(t/xr)+"h";if(t>=zr)return Math.round(t/zr)+"m";if(t>=Cr)return Math.round(t/Cr)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Rr(t,n,e){if(!(t<n))return t<1.5*n?Math.floor(t/n)+" "+e:Math.ceil(t/n)+" "+e+"s"}!function(t,n){function e(t){var e;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(e||r);t.diff=i,t.prev=e,t.curr=r,e=r;for(var u=new Array(arguments.length),s=0;s<u.length;s++)u[s]=arguments[s];u[0]=n.coerce(u[0]),"string"!=typeof u[0]&&u.unshift("%O");var a=0;u[0]=u[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;a++;var o=n.formatters[r];if("function"==typeof o){var i=u[a];e=o.call(t,i),u.splice(a,1),a--}return e})),n.formatArgs.call(t,u);var c=o.log||n.log||console.log.bind(console);c.apply(t,u)}}return o.namespace=t,o.enabled=n.enabled(t),o.useColors=n.useColors(),o.color=function(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(t),o.destroy=r,"function"==typeof n.init&&n.init(o),n.instances.push(o),o}function r(){var t=n.instances.indexOf(this);return-1!==t&&(n.instances.splice(t,1),!0)}(n=qr.exports=e.debug=e.default=e).coerce=function(t){return t instanceof Error?t.stack||t.message:t},n.disable=function(){n.enable("")},n.enable=function(t){var e;n.save(t),n.names=[],n.skips=[];var r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(e=0;e<o;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")));for(e=0;e<n.instances.length;e++){var i=n.instances[e];i.enabled=n.enabled(i.namespace)}},n.enabled=function(t){if("*"===t[t.length-1])return!0;var e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=Er,n.instances=[],n.names=[],n.skips=[],n.formatters={}}(0,kr),function(t,n){function e(){var t;try{t=n.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}(n=jr.exports=kr).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),!e)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)},n.save=function(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}},n.load=e,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(e())}(0,$r);var Pr=cr(),Tr=fr(),Ar=Me,Nr=_r,Ir=wr,Br=$r("engine.io-client:polling"),Mr=Fr,Lr=null!=new Ne({xdomain:!1}).responseType;function Fr(t){var n=t&&t.forceBase64;Lr&&!n||(this.supportsBinary=!1),Pr.call(this,t)}Nr(Fr,Pr),Fr.prototype.name="polling",Fr.prototype.doOpen=function(){this.poll()},Fr.prototype.pause=function(t){var n=this;function e(){Br("paused"),n.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(Br("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){Br("pre-pause polling complete"),--r||e()}))),this.writable||(Br("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){Br("pre-pause writing complete"),--r||e()})))}else e()},Fr.prototype.poll=function(){Br("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},Fr.prototype.onData=function(t){var n=this;Br("polling got data %s",t);Ar.decodePayload(t,this.socket.binaryType,(function(t,e,r){if("opening"===n.readyState&&"open"===t.type&&n.onOpen(),"close"===t.type)return n.onClose(),!1;n.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():Br('ignoring poll - transport state "%s"',this.readyState))},Fr.prototype.doClose=function(){var t=this;function n(){Br("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(Br("transport open - closing"),n()):(Br("transport not open - deferring close"),this.once("open",n))},Fr.prototype.write=function(t){var n=this;this.writable=!1;var e=function(){n.writable=!0,n.emit("drain")};Ar.encodePayload(t,this.supportsBinary,(function(t){n.doWrite(t,e)}))},Fr.prototype.uri=function(){var t=this.query||{},n=this.secure?"https":"http",e="";return!1!==this.timestampRequests&&(t[this.timestampParam]=Ir()),this.supportsBinary||t.sid||(t.b64=1),t=Tr.encode(t),this.port&&("https"===n&&443!==Number(this.port)||"http"===n&&80!==Number(this.port))&&(e=":"+this.port),t.length&&(t="?"+t),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+e+this.path+t};var Dr=Ne,Jr=Mr,Ur=le,Hr=_r,Vr=$r("engine.io-client:polling-xhr"),Kr=Pe;function Wr(){}function Gr(t){if(Jr.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!=typeof location){var n="https:"===location.protocol,e=location.port;e||(e=n?443:80),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||e!==t.port,this.xs=t.secure!==n}}function Xr(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(Be.exports=Gr,Ie.Request=Xr,Hr(Gr,Jr),Gr.prototype.supportsBinary=!0,Gr.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new Xr(t)},Gr.prototype.doWrite=function(t,n){var e="string"!=typeof t&&void 0!==t,r=this.request({method:"POST",data:t,isBinary:e}),o=this;r.on("success",n),r.on("error",(function(t){o.onError("xhr post error",t)})),this.sendXhr=r},Gr.prototype.doPoll=function(){Vr("xhr poll");var t=this.request(),n=this;t.on("data",(function(t){n.onData(t)})),t.on("error",(function(t){n.onError("xhr poll error",t)})),this.pollXhr=t},Ur(Xr.prototype),Xr.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new Dr(t),e=this;try{Vr("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.extraHeaders[r])}catch(t){}if("POST"===this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{n.setRequestHeader("Accept","*/*")}catch(t){}"withCredentials"in n&&(n.withCredentials=this.withCredentials),this.requestTimeout&&(n.timeout=this.requestTimeout),this.hasXDR()?(n.onload=function(){e.onLoad()},n.onerror=function(){e.onError(n.responseText)}):n.onreadystatechange=function(){if(2===n.readyState)try{var t=n.getResponseHeader("Content-Type");(e.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(n.responseType="arraybuffer")}catch(t){}4===n.readyState&&(200===n.status||1223===n.status?e.onLoad():setTimeout((function(){e.onError("number"==typeof n.status?n.status:0)}),0))},Vr("xhr data %s",this.data),n.send(this.data)}catch(t){return void setTimeout((function(){e.onError(t)}),0)}"undefined"!=typeof document&&(this.index=Xr.requestsCount++,Xr.requests[this.index]=this)},Xr.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},Xr.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},Xr.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},Xr.prototype.cleanup=function(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=Wr:this.xhr.onreadystatechange=Wr,t)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete Xr.requests[this.index],this.xhr=null}},Xr.prototype.onLoad=function(){var t;try{var n;try{n=this.xhr.getResponseHeader("Content-Type")}catch(t){}t=("application/octet-stream"===n||"application/octet-stream; charset=UTF-8"===n)&&this.xhr.response||this.xhr.responseText}catch(t){this.onError(t)}null!=t&&this.onData(t)},Xr.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},Xr.prototype.abort=function(){this.cleanup()},Xr.requestsCount=0,Xr.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",Yr);else if("function"==typeof addEventListener){addEventListener("onpagehide"in Kr?"pagehide":"unload",Yr,!1)}function Yr(){for(var t in Xr.requests)Xr.requests.hasOwnProperty(t)&&Xr.requests[t].abort()}var Zr,Qr=Mr,to=Pe,no=io,eo=/\n/g,ro=/\\n/g;function oo(){}function io(t){Qr.call(this,t),this.query=this.query||{},Zr||(Zr=to.___eio=to.___eio||[]),this.index=Zr.length;var n=this;Zr.push((function(t){n.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=oo)}),!1)}_r(io,Qr),io.prototype.supportsBinary=!1,io.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),Qr.prototype.doClose.call(this)},io.prototype.doPoll=function(){var t=this,n=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),n.async=!0,n.src=this.uri(),n.onerror=function(n){t.onError("jsonp poll error",n)};var e=document.getElementsByTagName("script")[0];e?e.parentNode.insertBefore(n,e):(document.head||document.body).appendChild(n),this.script=n,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},io.prototype.doWrite=function(t,n){var e=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),u=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=u,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function s(){a(),n()}function a(){if(e.iframe)try{e.form.removeChild(e.iframe)}catch(t){e.onError("jsonp polling iframe removal error",t)}try{var t='<iframe src="javascript:0" name="'+e.iframeId+'">';r=document.createElement(t)}catch(t){(r=document.createElement("iframe")).name=e.iframeId,r.src="javascript:0"}r.id=e.iframeId,e.form.appendChild(r),e.iframe=r}this.form.action=this.uri(),a(),t=t.replace(ro,"\\\n"),this.area.value=t.replace(eo,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===e.iframe.readyState&&s()}:this.iframe.onload=s};var uo,so,ao=n(Object.freeze({__proto__:null,default:{}})),co=cr(),po=Me,lo=fr(),fo=_r,ho=wr,_o=$r("engine.io-client:websocket");if("undefined"!=typeof WebSocket?uo=WebSocket:"undefined"!=typeof self&&(uo=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{so=ao}catch(t){}var yo=uo||so,vo=go;function go(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=uo&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(yo=so),co.call(this,t)}fo(go,co),go.prototype.name="websocket",go.prototype.supportsBinary=!0,go.prototype.doOpen=function(){if(this.check()){var t=this.uri(),n=this.protocols,e={};this.isReactNative||(e.agent=this.agent,e.perMessageDeflate=this.perMessageDeflate,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(e.headers=this.extraHeaders),this.localAddress&&(e.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?n?new yo(t,n):new yo(t):new yo(t,n,e)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},go.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(n){t.onData(n.data)},this.ws.onerror=function(n){t.onError("websocket error",n)}},go.prototype.write=function(t){var n=this;this.writable=!1;for(var e=t.length,r=0,o=e;r<o;r++)!function(t){po.encodePacket(t,n.supportsBinary,(function(r){if(!n.usingBrowserWebSocket){var o={};if(t.options&&(o.compress=t.options.compress),n.perMessageDeflate)("string"==typeof r?Buffer.byteLength(r):r.length)<n.perMessageDeflate.threshold&&(o.compress=!1)}try{n.usingBrowserWebSocket?n.ws.send(r):n.ws.send(r,o)}catch(t){_o("websocket closed before onclose event")}--e||i()}))}(t[r]);function i(){n.emit("flush"),setTimeout((function(){n.writable=!0,n.emit("drain")}),0)}},go.prototype.onClose=function(){co.prototype.onClose.call(this)},go.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},go.prototype.uri=function(){var t=this.query||{},n=this.secure?"wss":"ws",e="";return this.port&&("wss"===n&&443!==Number(this.port)||"ws"===n&&80!==Number(this.port))&&(e=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=ho()),this.supportsBinary||(t.b64=1),(t=lo.encode(t)).length&&(t="?"+t),n+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+e+this.path+t},go.prototype.check=function(){return!(!yo||"__initialize"in yo&&this.name===go.prototype.name)};var mo=Ne,bo=Ie,wo=no,$o=vo;xe.polling=function(t){var n=!1,e=!1,r=!1!==t.jsonp;if("undefined"!=typeof location){var o="https:"===location.protocol,i=location.port;i||(i=o?443:80),n=t.hostname!==location.hostname||i!==t.port,e=t.secure!==o}if(t.xdomain=n,t.xscheme=e,"open"in new mo(t)&&!t.forceJSONP)return new bo(t);if(!r)throw new Error("JSONP disabled");return new wo(t)},xe.websocket=$o;var jo,ko=[].indexOf,qo=function(t,n){if(ko)return t.indexOf(n);for(var e=0;e<t.length;++e)if(t[e]===n)return e;return-1},Co=xe,zo=le,xo=$r("engine.io-client:socket"),So=qo,Oo=Me,Eo=Bn,Ro=fr(),Po=To;function To(t,n){if(!(this instanceof To))return new To(t,n);n=n||{},t&&"object"==typeof t&&(n=t,t=null),t?(t=Eo(t),n.hostname=t.host,n.secure="https"===t.protocol||"wss"===t.protocol,n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=Eo(n.host).host),this.secure=null!=n.secure?n.secure:"undefined"!=typeof location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=n.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=Ro.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.withCredentials=!1!==n.withCredentials,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.transportOptions=n.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate&&(n.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||void 0,this.key=n.key||void 0,this.passphrase=n.passphrase||void 0,this.cert=n.cert||void 0,this.ca=n.ca||void 0,this.ciphers=n.ciphers||void 0,this.rejectUnauthorized=void 0===n.rejectUnauthorized||n.rejectUnauthorized,this.forceNode=!!n.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}To.priorWebsocketSuccess=!1,zo(To.prototype),To.protocol=Oo.protocol,To.Socket=To,To.Transport=cr(),To.transports=xe,To.parser=Me,To.prototype.createTransport=function(t){xo('creating transport "%s"',t);var n=function(t){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}(this.query);n.EIO=Oo.protocol,n.transport=t;var e=this.transportOptions[t]||{};return this.id&&(n.sid=this.id),new Co[t]({query:n,socket:this,agent:e.agent||this.agent,hostname:e.hostname||this.hostname,port:e.port||this.port,secure:e.secure||this.secure,path:e.path||this.path,forceJSONP:e.forceJSONP||this.forceJSONP,jsonp:e.jsonp||this.jsonp,forceBase64:e.forceBase64||this.forceBase64,enablesXDR:e.enablesXDR||this.enablesXDR,withCredentials:e.withCredentials||this.withCredentials,timestampRequests:e.timestampRequests||this.timestampRequests,timestampParam:e.timestampParam||this.timestampParam,policyPort:e.policyPort||this.policyPort,pfx:e.pfx||this.pfx,key:e.key||this.key,passphrase:e.passphrase||this.passphrase,cert:e.cert||this.cert,ca:e.ca||this.ca,ciphers:e.ciphers||this.ciphers,rejectUnauthorized:e.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:e.perMessageDeflate||this.perMessageDeflate,extraHeaders:e.extraHeaders||this.extraHeaders,forceNode:e.forceNode||this.forceNode,localAddress:e.localAddress||this.localAddress,requestTimeout:e.requestTimeout||this.requestTimeout,protocols:e.protocols||void 0,isReactNative:this.isReactNative})},To.prototype.open=function(){var t;if(this.rememberUpgrade&&To.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var n=this;return void setTimeout((function(){n.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},To.prototype.setTransport=function(t){xo("setting transport %s",t.name);var n=this;this.transport&&(xo("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){n.onDrain()})).on("packet",(function(t){n.onPacket(t)})).on("error",(function(t){n.onError(t)})).on("close",(function(){n.onClose("transport close")}))},To.prototype.probe=function(t){xo('probing transport "%s"',t);var n=this.createTransport(t,{probe:1}),e=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;e=e||o}e||(xo('probe transport "%s" opened',t),n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(o){if(!e)if("pong"===o.type&&"probe"===o.data){if(xo('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",n),!n)return;To.priorWebsocketSuccess="websocket"===n.name,xo('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){e||"closed"!==r.readyState&&(xo("changing transport and sending upgrade packet"),p(),r.setTransport(n),n.send([{type:"upgrade"}]),r.emit("upgrade",n),n=null,r.upgrading=!1,r.flush())}))}else{xo('probe transport "%s" failed',t);var i=new Error("probe error");i.transport=n.name,r.emit("upgradeError",i)}})))}function i(){e||(e=!0,p(),n.close(),n=null)}function u(e){var o=new Error("probe error: "+e);o.transport=n.name,i(),xo('probe transport "%s" failed because of error: %s',t,e),r.emit("upgradeError",o)}function s(){u("transport closed")}function a(){u("socket closed")}function c(t){n&&t.name!==n.name&&(xo('"%s" works - aborting "%s"',t.name,n.name),i())}function p(){n.removeListener("open",o),n.removeListener("error",u),n.removeListener("close",s),r.removeListener("close",a),r.removeListener("upgrading",c)}To.priorWebsocketSuccess=!1,n.once("open",o),n.once("error",u),n.once("close",s),this.once("close",a),this.once("upgrading",c),n.open()},To.prototype.onOpen=function(){if(xo("socket open"),this.readyState="open",To.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){xo("starting upgrade probes");for(var t=0,n=this.upgrades.length;t<n;t++)this.probe(this.upgrades[t])}},To.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(xo('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emit("data",t.data),this.emit("message",t.data)}else xo('packet received with socket readyState "%s"',this.readyState)},To.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},To.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var n=this;n.pingTimeoutTimer=setTimeout((function(){"closed"!==n.readyState&&n.onClose("ping timeout")}),t||n.pingInterval+n.pingTimeout)},To.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout((function(){xo("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)}),t.pingInterval)},To.prototype.ping=function(){var t=this;this.sendPacket("ping",(function(){t.emit("ping")}))},To.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},To.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(xo("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},To.prototype.write=To.prototype.send=function(t,n,e){return this.sendPacket("message",t,n,e),this},To.prototype.sendPacket=function(t,n,e,r){if("function"==typeof n&&(r=n,n=void 0),"function"==typeof e&&(r=e,e=null),"closing"!==this.readyState&&"closed"!==this.readyState){(e=e||{}).compress=!1!==e.compress;var o={type:t,data:n,options:e};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},To.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var t=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():n()})):this.upgrading?r():n()}function n(){t.onClose("forced close"),xo("socket closing - telling transport to close"),t.transport.close()}function e(){t.removeListener("upgrade",e),t.removeListener("upgradeError",e),n()}function r(){t.once("upgrade",e),t.once("upgradeError",e)}return this},To.prototype.onError=function(t){xo("socket error %j",t),To.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},To.prototype.onClose=function(t,n){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){xo('socket close with reason: "%s"',t);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,n),this.writeBuffer=[],this.prevBufferLen=0}},To.prototype.filterUpgrades=function(t){for(var n=[],e=0,r=t.length;e<r;e++)~So(this.transports,t[e])&&n.push(t[e]);return n},(jo=ze).exports=Po,jo.exports.parser=Me;var Ao,No,Io={},Bo={get exports(){return Io},set exports(t){Io=t}};var Mo=function(t,n,e){return t.on(n,e),{destroy:function(){t.removeListener(n,e)}}};var Lo,Fo=[].slice,Do=function(t,n){if("string"==typeof n&&(n=t[n]),"function"!=typeof n)throw new Error("bind() requires a function");var e=Fo.call(arguments,2);return function(){return n.apply(t,e.concat(Fo.call(arguments)))}};function Jo(){return Lo||(Lo=1,function(t,n){var e=Qn,r=le,o=(No||(No=1,Ao=function(t,n){for(var e=[],r=(n=n||0)||0;r<t.length;r++)e[r-n]=t[r];return e}),Ao),i=Mo,u=Do,s=Mn("socket.io-client:socket"),a=fr(),c=Fe();t.exports=f;var p={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},l=r.prototype.emit;function f(t,n,e){this.io=t,this.nsp=n,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},e&&e.query&&(this.query=e.query),this.io.autoConnect&&this.open()}r(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[i(t,"open",u(this,"onopen")),i(t,"packet",u(this,"onpacket")),i(t,"close",u(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},f.prototype.send=function(){var t=o(arguments);return t.unshift("message"),this.emit.apply(this,t),this},f.prototype.emit=function(t){if(p.hasOwnProperty(t))return l.apply(this,arguments),this;var n=o(arguments),r={type:(void 0!==this.flags.binary?this.flags.binary:c(n))?e.BINARY_EVENT:e.EVENT,data:n,options:{}};return r.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof n[n.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=n.pop(),r.id=this.ids++),this.connected?this.packet(r):this.sendBuffer.push(r),this.flags={},this},f.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},f.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?a.encode(this.query):this.query;s("sending connect packet with query %s",t),this.packet({type:e.CONNECT,query:t})}else this.packet({type:e.CONNECT})},f.prototype.onclose=function(t){s("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},f.prototype.onpacket=function(t){var n=t.nsp===this.nsp,r=t.type===e.ERROR&&"/"===t.nsp;if(n||r)switch(t.type){case e.CONNECT:this.onconnect();break;case e.EVENT:case e.BINARY_EVENT:this.onevent(t);break;case e.ACK:case e.BINARY_ACK:this.onack(t);break;case e.DISCONNECT:this.ondisconnect();break;case e.ERROR:this.emit("error",t.data)}},f.prototype.onevent=function(t){var n=t.data||[];s("emitting event %j",n),null!=t.id&&(s("attaching ack callback to event"),n.push(this.ack(t.id))),this.connected?l.apply(this,n):this.receiveBuffer.push(n)},f.prototype.ack=function(t){var n=this,r=!1;return function(){if(!r){r=!0;var i=o(arguments);s("sending ack %j",i),n.packet({type:c(i)?e.BINARY_ACK:e.ACK,id:t,data:i})}}},f.prototype.onack=function(t){var n=this.acks[t.id];"function"==typeof n?(s("calling ack %s with %j",t.id,t.data),n.apply(this,t.data),delete this.acks[t.id]):s("bad ack %s",t.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},f.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)l.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:e.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(t){return this.flags.compress=t,this},f.prototype.binary=function(t){return this.flags.binary=t,this}}(Bo)),Io}var Uo=Ho;function Ho(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ho.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),e=Math.floor(n*this.jitter*t);t=0==(1&Math.floor(10*n))?t-e:t+e}return 0|Math.min(t,this.max)},Ho.prototype.reset=function(){this.attempts=0},Ho.prototype.setMin=function(t){this.ms=t},Ho.prototype.setMax=function(t){this.max=t},Ho.prototype.setJitter=function(t){this.jitter=t};var Vo=Ce,Ko=Jo(),Wo=le,Go=Qn,Xo=Mo,Yo=Do,Zo=Mn("socket.io-client:manager"),Qo=qo,ti=Uo,ni=Object.prototype.hasOwnProperty,ei=ri;function ri(t,n){if(!(this instanceof ri))return new ri(t,n);t&&"object"==typeof t&&(n=t,t=void 0),(n=n||{}).path=n.path||"/socket.io",this.nsps={},this.subs=[],this.opts=n,this.reconnection(!1!==n.reconnection),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor(n.randomizationFactor||.5),this.backoff=new ti({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==n.timeout?2e4:n.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var e=n.parser||Go;this.encoder=new e.Encoder,this.decoder=new e.Decoder,this.autoConnect=!1!==n.autoConnect,this.autoConnect&&this.open()}ri.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)ni.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},ri.prototype.updateSocketIds=function(){for(var t in this.nsps)ni.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},ri.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},Wo(ri.prototype),ri.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},ri.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},ri.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},ri.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},ri.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},ri.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},ri.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},ri.prototype.open=ri.prototype.connect=function(t,n){if(Zo("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;Zo("opening %s",this.uri),this.engine=Vo(this.uri,this.opts);var e=this.engine,r=this;this.readyState="opening",this.skipReconnect=!1;var o=Xo(e,"open",(function(){r.onopen(),t&&t()})),i=Xo(e,"error",(function(n){if(Zo("connect_error"),r.cleanup(),r.readyState="closed",r.emitAll("connect_error",n),t){var e=new Error("Connection error");e.data=n,t(e)}else r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;Zo("connect attempt will timeout after %d",u),0===u&&o.destroy();var s=setTimeout((function(){Zo("connect attempt timed out after %d",u),o.destroy(),e.close(),e.emit("error","timeout"),r.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(s)}})}return this.subs.push(o),this.subs.push(i),this},ri.prototype.onopen=function(){Zo("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(Xo(t,"data",Yo(this,"ondata"))),this.subs.push(Xo(t,"ping",Yo(this,"onping"))),this.subs.push(Xo(t,"pong",Yo(this,"onpong"))),this.subs.push(Xo(t,"error",Yo(this,"onerror"))),this.subs.push(Xo(t,"close",Yo(this,"onclose"))),this.subs.push(Xo(this.decoder,"decoded",Yo(this,"ondecoded")))},ri.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},ri.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},ri.prototype.ondata=function(t){this.decoder.add(t)},ri.prototype.ondecoded=function(t){this.emit("packet",t)},ri.prototype.onerror=function(t){Zo("error",t),this.emitAll("error",t)},ri.prototype.socket=function(t,n){var e=this.nsps[t];if(!e){e=new Ko(this,t,n),this.nsps[t]=e;var r=this;e.on("connecting",o),e.on("connect",(function(){e.id=r.generateId(t)})),this.autoConnect&&o()}function o(){~Qo(r.connecting,e)||r.connecting.push(e)}return e},ri.prototype.destroy=function(t){var n=Qo(this.connecting,t);~n&&this.connecting.splice(n,1),this.connecting.length||this.close()},ri.prototype.packet=function(t){Zo("writing packet %j",t);var n=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),n.encoding?n.packetBuffer.push(t):(n.encoding=!0,this.encoder.encode(t,(function(e){for(var r=0;r<e.length;r++)n.engine.write(e[r],t.options);n.encoding=!1,n.processPacketQueue()})))},ri.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},ri.prototype.cleanup=function(){Zo("cleanup");for(var t=this.subs.length,n=0;n<t;n++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},ri.prototype.close=ri.prototype.disconnect=function(){Zo("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},ri.prototype.onclose=function(t){Zo("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},ri.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)Zo("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var n=this.backoff.duration();Zo("will wait %dms before reconnect attempt",n),this.reconnecting=!0;var e=setTimeout((function(){t.skipReconnect||(Zo("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(Zo("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",n.data)):(Zo("reconnect success"),t.onreconnect())})))}),n);this.subs.push({destroy:function(){clearTimeout(e)}})}},ri.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)},function(t,n){var e=Zn,r=Qn,o=ei,i=Mn("socket.io-client");t.exports=n=s;var u=n.managers={};function s(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,s=e(t),a=s.source,c=s.id,p=s.path,l=u[c]&&p in u[c].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||l?(i("ignoring socket cache for %s",a),r=o(a,n)):(u[c]||(i("new io instance for %s",a),u[c]=o(a,n)),r=u[c]),s.query&&!n.query&&(n.query=s.query),r.socket(s.path,n)}n.protocol=r.protocol,n.connect=s,n.Manager=ei,n.Socket=Jo()}(An,Tn);class oi{emit(t,n,e){var r;null===(r=this.socket)||void 0===r||r.emit(t,n),e(null,"")}connect(t,n,e,o,i,u){const s={transports:["websocket"],autoConnect:!0,reconnection:!0,forceNew:!0,path:n,reconnectionAttempts:e,reconnectionDelay:1e3*o,randomizationFactor:i,query:u};this.socket=Tn.connect(t,s),this.socket.on("connect",(()=>{var t;null===(t=this.delegate)||void 0===t||t.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_CONNECTED,null,Date.now(),null)})),this.socket.on("reconnect_attempt",(t=>{var n;null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_RECONNECTING,null,Date.now(),t)})),this.socket.on("reconnect_failed",(()=>{var t;null===(t=this.delegate)||void 0===t||t.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_CLIENT_NETWORK_ERROR,Date.now(),null)})),this.socket.on("disconnect",(t=>{var n,e;console.log({reason:t}),"io client disconnect"===t?null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_CLIENT_DISCONNECTED,Date.now(),null):"io server disconnect"===t&&(null===(e=this.delegate)||void 0===e||e.didReceiveNewSocketConnectionStatusEvent(r.vonage.SOCKET_DISCONNECTED,r.vonage.REASON_SERVER_DISCONNECTED,Date.now(),null))})),this.socket.io.on("packet",(t=>{var n;if(2!==t.type)return;if("echo"===t.data[0])return;const[e,r]=t.data,o=t.data[2];o&&o instanceof Function&&o(),"string"==typeof e&&r instanceof Object&&(null===(n=this.delegate)||void 0===n||n.didReceiveNewSocketEvent(e,JSON.stringify(r)))}))}disconnect(){var t;null===(t=this.socket)||void 0===t||t.disconnect()}startVerifyResponseTimer(t,n){setTimeout((()=>{n()}),t)}setConnectParamsSocketConfig(t){this.socket&&(this.socket.io.opts.query={token:t})}}const ii=r.vonage.CoreClientConfigRegionJS;class ui extends r.vonage.CoreClientConfigJS{constructor(t=ii.US){super(t)}}const si=r.vonage.LoggingLevelJS,ai=r.vonage.setDefaultLoggingLevel,ci=r.vonage.ConversationStateJS,pi=r.vonage.MemberStateJS,li=r.vonage.ChannelTypeJS,fi=r.vonage.PresentingOrderJS,hi=r.vonage.MemberInvitedEventJS,_i=r.vonage.MemberJoinedEventJS,yi=r.vonage.MemberLeftEventJS,di=r.vonage.UnknownEventJS,vi=r.vonage.TextMessageEventJS,gi=r.vonage.CustomMessageEventJS,mi=r.vonage.VonageErrorJS,bi=r.vonage.VonageErrorTypeJS,wi=r.vonage.CSErrorCodesJS,$i=r.vonage.SessionErrorCodesJS,ji=r.vonage.CancelReasonJS,ki=r.vonage.HangupReasonJS,qi=r.vonage.SessionErrorReasonJS,Ci=r.vonage.LegStatusJS,zi=ai;class xi extends r.vonage.CombinedClientJS{get core(){return super.core}get media(){return super.media}get emitter(){return super.emitter}set emitter(t){super.emitter=t}hangupWithReason(t,n,e){return super.hangupWithReason(t,n,e)}constructor(){super(new un,new oi,new Pn),this.callbacks=new Map,this.__doNotUseIt=super.__doNotUseIt;const t=this;this.emitter=new Proxy(Object(),{get(n,e){const r=t.callbacks.get(e)||[];return(...t)=>{r.forEach((n=>{try{n(...t)}catch(t){console.error(t)}}))}}})}on(t,n){const e=Symbol(t),r=this.callbacks.get(t)||new Map;return r.set(e,n),this.callbacks.set(t,r),e}off(t,n){const e=this.callbacks.get(t);return!!e&&e.delete(n)}clearCallbacks(t){const n=this.callbacks.get(t);n&&n.clear()}createSession(n,e){const r=Object.create(null,{createSession:{get:()=>super.createSession}});return t(this,void 0,void 0,(function*(){return r.createSession.call(this,n,e||null)}))}getPeerConnection(t){return super.getPeerConnection(t)}getLeg(t){return super.getLeg(t)}serverCall(n){const e=Object.create(null,{serverCall:{get:()=>super.serverCall}});return t(this,void 0,void 0,(function*(){return e.serverCall.call(this,n||null)}))}hangup(n,e,r){const o=Object.create(null,{hangupWithReason:{get:()=>super.hangupWithReason}});return t(this,void 0,void 0,(function*(){return o.hangupWithReason.call(this,n,e||null,r||null)}))}say(n,e){const r=Object.create(null,{say:{get:()=>super.say}});return t(this,void 0,void 0,(function*(){return r.say.call(this,n,Object.assign(Object.assign({},{voiceName:null,loop:null,level:null,ssml:null,queue:null}),"string"==typeof e?{text:e}:e))}))}getConversations(n,e,r){const o=Object.create(null,{getConversations:{get:()=>super.getConversations}});return t(this,void 0,void 0,(function*(){return yield o.getConversations.call(this,n||null,e||null,r||null)}))}getConversationEvents(n,e,r,o){const i=Object.create(null,{getConversationEvents:{get:()=>super.getConversationEvents}});return t(this,void 0,void 0,(function*(){return yield i.getConversationEvents.call(this,n,e||null,r||null,o||null)}))}getConversationMembers(n,e,r,o){const i=Object.create(null,{getConversationMembers:{get:()=>super.getConversationMembers}});return t(this,void 0,void 0,(function*(){return yield i.getConversationMembers.call(this,n,e||null,r||null,o||null)}))}createConversation(n,e){const r=Object.create(null,{createConversation:{get:()=>super.createConversation}});return t(this,void 0,void 0,(function*(){return yield r.createConversation.call(this,n||null,e||null)}))}getConversation(n){const e=Object.create(null,{getConversation:{get:()=>super.getConversation}});return t(this,void 0,void 0,(function*(){return yield e.getConversation.call(this,n)}))}leaveConversation(n){const e=Object.create(null,{leaveConversation:{get:()=>super.leaveConversation}});return t(this,void 0,void 0,(function*(){yield e.leaveConversation.call(this,n)}))}joinConversation(n){const e=Object.create(null,{joinConversation:{get:()=>super.joinConversation}});return t(this,void 0,void 0,(function*(){return yield e.joinConversation.call(this,n)}))}deleteConversation(n){const e=Object.create(null,{deleteConversation:{get:()=>super.deleteConversation}});return t(this,void 0,void 0,(function*(){yield e.deleteConversation.call(this,n)}))}inviteToConversation(n,e){const r=Object.create(null,{inviteToConversation:{get:()=>super.inviteToConversation}});return t(this,void 0,void 0,(function*(){return yield r.inviteToConversation.call(this,n,e)}))}sendTextMessage(n,e){const r=Object.create(null,{sendTextMessage:{get:()=>super.sendTextMessage}});return t(this,void 0,void 0,(function*(){return yield r.sendTextMessage.call(this,n,e)}))}sendCustomMessage(n,e){const r=Object.create(null,{sendCustomMessage:{get:()=>super.sendCustomMessage}});return t(this,void 0,void 0,(function*(){return"string"==typeof e?yield r.sendCustomMessage.call(this,n,e):yield r.sendCustomMessage.call(this,n,JSON.stringify(e))}))}getConversationMember(n,e){const r=Object.create(null,{getConversationMember:{get:()=>super.getConversationMember}});return t(this,void 0,void 0,(function*(){return yield r.getConversationMember.call(this,n,e)}))}}export{wi as CSErrorCodes,ji as CancelReason,li as ChannelType,ui as ClientConfig,ii as ConfigRegion,ci as ConversationState,gi as CustomMessageEvent,ki as HangupReason,Ci as LegStatus,si as LoggingLevel,hi as MemberInvitedEvent,_i as MemberJoinedEvent,yi as MemberLeftEvent,pi as MemberState,fi as PresentingOrder,$i as SessionErrorCodes,qi as SessionErrorReason,vi as TextMessageEvent,di as UnknownEvent,xi as VonageClient,mi as VonageError,bi as VonageErrorType,xi as default,zi as setVonageClientLoggingLevel};