Live-Video-Chat / main.js
KingNish's picture
Update main.js
c70848b verified
raw
history blame
5.97 kB
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4 1j=Q.R(\'3b\');4 1G=Q.R(\'3c\');4 S=Q.R(\'3d\');4 1H=Q.R(\'3e\');4 1I=Q.R(\'3f\');4 A=Q.R(\'3g\');9 m;9 1k=o;9 1l=0;9 T=\'\';9 F=t;9 u=t;9 U=t;9 K=o;9 19=\'\';9 1m=o;9 1n="";9 V=o;4 2e=3h;4 3i="3j";4 2f="3k://3l.3m.3n/3o/3p/3q";9 l=o;9 W=[];9 1a=[];4 L=h 2g();4 M=h 2g();4 2h=10;9 j=[];b 1o(f){B f.1p().3r().3s(/[^\\w\\s]/g,\'\')}b 1J(G,k,2i,2j){B`${G}-${k}-${1K.1L(2i)}-${2j}`}b 2k(f,k){4 G=1o(f);4 c=1J(G,k,j,S.p);7(M.1M(c)||L.1M(c)){B}1a.1q({f:f.1p(),k:k,c:c});1N()}X b 1N(){1O(1a.d>0&&M.3t<2h){4{f,k,c}=1a.2l();4 Y=h 2m();M.2n(c,Y);1r{4 Z=v 1P(`/2o?1Q=${1R(f)}&2p=${1K.1L(j)}&2q=${S.p}`,{1S:\'1T\',2r:{\'2s\':\'1U/C-1s\',\'1t-2t\':\'2u/2v\'},11:Y.11});7(!Z.12){1b h N(\'1V H 1W 1u 12\');}4 x=v 1v(Z.2w,k,Y.11);7(x){L.2n(c,x)}}1c(a){7(a.2x!==\'1w\'){e.a("N 3u 13:",a)}}1X{M.1Y(c);1N()}}}X b 1v(1x,k,1y){4 14=1x.2y();4 1z=h 2z("2A-8");9 I="";1r{1O(q){4{1A,p}=v 14.2B();7(1A)1Z;7(1y.1d){1b h 2C(\'2D 1d\',\'1w\');}4 1B=1z.2E(p,{1s:q});I+=1B;4 y=I.2F(\'\\n\');1e(9 i=0;i<y.d-1;i++){4 15=y[i];7(15.20(\'2G: \')){4 O=15.2H(6).1p();7(O){4 x=v 21(O,k);B x}}}I=y[y.d-1]}}1c(a){e.a("N 22 3v:",a)}1X{14.2I()}B o}X b 1C(){7(W.d>0){4 2J=W.2l();4 1f=h 3w(2J.1g);r();4 2K=h 3x(23=>{1f.3y=23;1f.2L=23});7(l){l.2M();l.2N=0}l=1f;v 1f.3z();v 2K;1C()}J{r()}}X b 21(2O,k){1r{4 Z=v 1P(`${2f}?3A=${k}&1U=${1R(2O)}`,{1S:\'1T\'});7(!Z.12){1b h N(\'1V H 1W 1u 12\');}4 2P=v Z.3B();4 x=3C.3D(2P);B x}1c(a){e.a("N 3E 3F 13:",a);B o}}X b 2Q(f){e.z("3G 1Q 2R 1h:",f);F=q;r();1l=16.17();V=o;4 G=1o(f);4 c=1J(G,S.p,j,S.p);7(L.1M(c)){4 2S=L.3H(c);W.1q({1g:2S,2T:q});L.1Y(c);1C()}K=h 2m();4 1g=`/2o?1Q=${1R(f)}&2q=${S.p}&2p=${1K.1L(j)}`;1P(1g,{1S:\'1T\',2r:{\'2s\':\'1U/C-1s\',\'1t-2t\':\'2u/2v\'},11:K.11}).3I(H=>{7(!H.12){1b h N(\'1V H 1W 1u 12\');}e.z("3J 13 H 3K");B 1v(H.2w,1G.p,K.11)}).1c(a=>{7(a.2x!==\'1w\'){e.a(a)}F=t;r()})}X b 1v(1x,k,1y){4 14=1x.2y();4 1z=h 2z("2A-8");9 I="";1r{1O(q){4{1A,p}=v 14.2B();7(1A)1Z;7(1y.1d){1b h 2C(\'2D 1d\',\'1w\');}7(u){e.z("24 13 3L 3M H");1D(\'25 3N 26\');1Z}4 1B=1z.2E(p,{1s:q});I+=1B;4 y=I.2F(\'\\n\');1e(9 i=0;i<y.d-1;i++){4 15=y[i];7(15.20(\'2G: \')){4 O=15.2H(6).1p();7(O){7(!V){V=16.17()}19+=O;4 x=v 21(O,k);7(x){W.1q({1g:x,2T:t});7(!l){1C()}}}}}I=y[y.d-1]}}1c(a){e.a("N 22 3O:",a)}1X{F=t;r();14.2I();7(19!==\'\'){27(\'2U\',19);19=\'\'}}}b r(2V=o){1I.D=u?"2W: 2X":"2W: 2Y";1I.1i=u?"18 25-26":"18";7(F&&!l){A.D="1h: 3P...";A.1i="18 3Q"}J 7(l&&!u){A.D=2V||"1h: 2X";A.1i="18 2Z-26"}J 7(u){A.D="1h: 28";A.1i="18 2Z-3R"}J{A.D="1h: 2Y";A.1i="18"}}7(\'30\'22 3S){m=h 30();3T.3U(m,{3V:q,3W:q,3X:\'3Y-3Z\',40:3});m.41=()=>{e.z("1E 29 42");T=\'\';u=q;1m=16.17();r()};m.43=(C)=>{9 E=\'\';1e(9 i=C.44;i<C.2a.d;i++){4 P=C.2a[i][0].P;7(C.2a[i].45){T+=P;e.z("46 P:",T);1D(\'47\');31(T);T=\'\';u=t;r();1l=16.17()}J{E+=P;u=q;1m=16.17();r();7(E.d>1n.d+5){32(1n)}1n=E;2k(E,1G.p);7(F&&33(E)){e.z("24 13 48 2R 34 49:",E);1D(\'34\')}}}};m.2L=(C)=>{e.a(\'1E 29 a:\',C.a);7(U){m.2b()}};m.4a=()=>{u=t;r();7(U){e.z("1E 29 4b");m.2b()}};1j.4c(\'4d\',()=>{7(U){m.4e();U=t;1j.D=\'4f 28\'}J{m.2b();U=q;1j.D=\'4g 28\'}})}J{4h(\'4i 4j 4k 1u 4l 4m 4n 1E 4o.\')}b 27(1F,35){7(j.d>0&&j[j.d-1].1F===\'2U\'&&j[j.d-1].1t===""){j.4p()}j.1q({1F:1F,1t:35});7(j.d>6){j.4q(0,2)}}b 31(P){4 2c=P.4r();7(2c!==\'\'&&!F){1k=2c;2Q(1k);27(\'25\',1k)}}b 33(E){4 36=16.17()-1m;B 36>2e||E.d>5}b 1D(2d=\'4s\'){e.z(`24 13(2d:${2d})...`);7(l){l.2M();l.2N=0;l=o}W.d=0;F=t;7(K){K.37();K=o;e.z("4t 1d")}L.4u();1a.d=0;r()}b 32(f){4 G=1o(f);1e(4[c,Y]4v M){7(c.20(G)){Y.37();M.1Y(c);e.z("4w 4x 4y 1e:",f)}}}b 38(){7(V){4 39=V-1l;1H.D=`3a:${39}4z`}J{1H.D="3a: 4A"}}4B(38,4C);',62,287,'||||const|||if||let|error|function|key|length|console|qry||new||cHist|vc|currAud|sR||null|value|true|updInd||false|uSpk|await||audUrl|lines|log|aInd|return|event|textContent|intrmTrans|reqInProg|nQry|response|buff|else|reqCtrl|pCache|pReqs|Error|txtCnt|transcript|document|getElementById|mSel|cTrans|sRAct|fRspTime|audQ|async|ctrl|rsp||signal|ok|audio|rdr|line|Date|now|indicator|pTrans|pQ|throw|catch|aborted|for|aud|url|AI|className|sBtn|aQry|qryStart|lstUTime|pQry|normQry|trim|push|try|stream|content|not|hndlStrmRsp|AbortError|rspStrm|abtSgnl|dcdr|done|chnk|playNxtAud|intAudPbk|Speech|role|vSel|rTimeDisp|uInd|genKey|JSON|stringify|has|procPQ|while|fetch|query|encodeURIComponent|method|GET|text|Network|was|finally|delete|break|startsWith|genTxtToSpchAud|in|resolve|Interrupting|user|speaking|addToCnvHst|Listening|recognition|results|start|tTrans|reason|U_S_DELAY|TTS_API|Map|MAX_P_REQS|hst|mNm|pFstAud|shift|AbortController|set|stream_audio|history|model|headers|accept|type|application|json|body|name|getReader|TextDecoder|utf|read|DOMException|Request|decode|split|data|substring|releaseLock|audData|audPms|onerror|pause|currentTime|txt|audBlb|sndQryToAI|to|pfAudUrl|isPrefetched|assistant|state|User|Speaking|Idle|ai|webkitSpeechRecognition|procSpchTrans|cnclPReqs|shldIntAudPbk|interim|cnt|timeSinceLast|abort|updLatency|latency|Latency|startStopButton|voiceSelect|modelSelect|responseTime|userIndicator|aiIndicator|500|TTS_VC|Brian|https|api|streamelements|com|kappa|v2|speech|toLowerCase|replace|size|prefetching|handleStreamingResponseForPrefetch|Audio|Promise|onended|play|voice|blob|URL|createObjectURL|generating|TTS|Sending|get|then|Streaming|received|during|streaming|is|handleStreamingResponse|Processing|thinking|listening|window|Object|assign|continuous|interimResults|language|en|US|maxAlternatives|onstart|started|onresult|resultIndex|isFinal|Final|final|due|result|onend|restarted|addEventListener|click|stop|Start|Stop|alert|Your|browser|does|support|the|Web|API|pop|splice|trimStart|unknown|Fetch|clear|of|Prefetch|request|cancelled|ms|0ms|setInterval|200'.split('|'),0,{}))