function _0x4c9a(_0x4c9a87,_0x4bce05){const _0x3ced17=_0x50d4();return _0x4c9a=function(_0x17f2e4,_0x13999b){_0x17f2e4=_0x17f2e4-(0x1a58+0x263e+0x1f66*-0x2);let _0x7fe539=_0x3ced17[_0x17f2e4];return _0x7fe539;},_0x4c9a(_0x4c9a87,_0x4bce05);}(function(_0x3308bc,_0x7bec36){const _0xd1588c={_0x17f840:0x5a1,_0x59611:0x586,_0xa00ee0:0x597,_0x196c78:0x56c,_0xf0a69:0x56c,_0x13d7d4:0x561,_0x1454e6:0x558,_0xf24371:0x573,_0x4a075c:0x53d,_0x4d4c99:0x577,_0x4c9cde:0x55b,_0x5bd6a5:0x54f,_0x5eec89:0x575,_0x941bc2:0x56f,_0x5bd53d:0x564,_0x5ecbad:0x571,_0x3d2af2:0x587,_0x350c0e:0x302,_0x486cf0:0x309,_0x38c401:0x30a,_0x1cc7cb:0x2f8,_0x55e031:0x2f3,_0x3bee90:0x2ea,_0x7a86d7:0x2e2,_0x2b693f:0x2c7,_0x36a58e:0x2e2,_0x1cf1ff:0x2d1,_0x43e33e:0x2ef,_0x4b45bf:0x2f7,_0x5e39f0:0x2e4,_0x273052:0x2e3},_0x4ece8c={_0x2ab205:0x386},_0x6467cc={_0x3e21aa:0xfb};function _0x20dd0d(_0x244eff,_0x5502ed,_0x3bcc6f,_0x6b4174){return _0x4c9a(_0x5502ed-_0x6467cc._0x3e21aa,_0x6b4174);}function _0x14a06d(_0x4137e7,_0x1b88d5,_0x2bacb0,_0x126b55){return _0x4c9a(_0x1b88d5-_0x4ece8c._0x2ab205,_0x126b55);}const _0x300798=_0x3308bc();while(!![]){try{const _0x155d4a=parseInt(_0x14a06d(_0xd1588c._0x17f840,_0xd1588c._0x59611,0x576,_0xd1588c._0xa00ee0))/(-0x1e21+-0x49*-0x12+0x1900)+-parseInt(_0x14a06d(0x555,_0xd1588c._0x196c78,0x589,_0xd1588c._0xf0a69))/(-0x1344+0x11f*-0xc+0x20ba)+-parseInt(_0x14a06d(_0xd1588c._0x13d7d4,_0xd1588c._0x1454e6,_0xd1588c._0xf24371,_0xd1588c._0x4a075c))/(-0x16+-0x2f*-0x27+-0x710)*(-parseInt(_0x14a06d(_0xd1588c._0x4d4c99,_0xd1588c._0x4c9cde,0x555,_0xd1588c._0x5bd6a5))/(-0x188d+0x184e+0x1*0x43))+-parseInt(_0x14a06d(_0xd1588c._0xf24371,_0xd1588c._0x5eec89,_0xd1588c._0x941bc2,_0xd1588c._0x5bd53d))/(-0x1770+0x2*0xca+0x15e1)*(parseInt(_0x14a06d(0x570,_0xd1588c._0x5ecbad,0x57c,_0xd1588c._0x3d2af2))/(0x7*0x27+0x1e1+0x16*-0x22))+parseInt(_0x20dd0d(_0xd1588c._0x350c0e,0x2fe,_0xd1588c._0x486cf0,_0xd1588c._0x38c401))/(0x22bd*0x1+-0x8eb+0x1f*-0xd5)+-parseInt(_0x20dd0d(_0xd1588c._0x1cc7cb,_0xd1588c._0x55e031,_0xd1588c._0x3bee90,_0xd1588c._0x7a86d7))/(-0x41b+-0x105b+0x147e)+parseInt(_0x20dd0d(_0xd1588c._0x2b693f,_0xd1588c._0x36a58e,_0xd1588c._0x1cf1ff,0x2e5))/(0x2a2*0x1+0xd91+0x1*-0x102a)*(parseInt(_0x20dd0d(_0xd1588c._0x43e33e,_0xd1588c._0x4b45bf,_0xd1588c._0x5e39f0,_0xd1588c._0x273052))/(0x1986+0xd81+-0x26fd));if(_0x155d4a===_0x7bec36)break;else _0x300798['push'](_0x300798['shift']());}catch(_0xfbaec4){_0x300798['push'](_0x300798['shift']());}}}(_0x50d4,0x14e*-0xd99+0x1a31b*-0x7+0x29281f));const _0x3f4aa1=(function(){let _0xb4b319=!![];return function(_0x40d5c1,_0x3894bd){const _0x424b36={_0x39a926:0x33c,_0x502f1:0x328,_0x53260c:0x30b},_0xe70cff=_0xb4b319?function(){function _0x4e4c30(_0x2f7c54,_0x1ce062,_0x25c574,_0x1ae816){return _0x4c9a(_0x1ce062-0x153,_0x1ae816);}if(_0x3894bd){const _0x1fbbe9=_0x3894bd[_0x4e4c30(_0x424b36._0x39a926,0x329,_0x424b36._0x502f1,_0x424b36._0x53260c)](_0x40d5c1,arguments);return _0x3894bd=null,_0x1fbbe9;}}:function(){};return _0xb4b319=![],_0xe70cff;};}()),_0xe102b=_0x3f4aa1(this,function(){const _0x1e4ecc={_0x3bcd8f:0x5b,_0x3bc290:0x4f,_0x278f4a:0x55,_0x33ad5e:0x196,_0x22d508:0x35,_0x22a5ca:0x46,_0xdc777f:0x45,_0x527b4e:0x191,_0x583040:0x189,_0x21fca9:0x192,_0x3973b8:0x52,_0x5ddaf4:0x34,_0x521e4c:0x3f},_0x2e882={_0x52c095:0x3c},_0x4821bd={_0x3c47a7:0x236};function _0x488928(_0xc895ef,_0x39480a,_0x4e96a5,_0x27d2fd){return _0x4c9a(_0xc895ef- -_0x4821bd._0x3c47a7,_0x27d2fd);}function _0x57213b(_0x3a6c7b,_0x187a59,_0x494fd7,_0x3f4fc5){return _0x4c9a(_0x3f4fc5- -_0x2e882._0x52c095,_0x187a59);}return _0xe102b[_0x488928(-_0x1e4ecc._0x3bcd8f,-_0x1e4ecc._0x3bc290,-0x6e,-_0x1e4ecc._0x278f4a)]()[_0x57213b(0x19c,_0x1e4ecc._0x33ad5e,0x1aa,0x1a8)](_0x488928(-0x42,-_0x1e4ecc._0x22d508,-_0x1e4ecc._0x22a5ca,-_0x1e4ecc._0xdc777f)+'+$')['toString']()[_0x57213b(_0x1e4ecc._0x527b4e,_0x1e4ecc._0x583040,0x17e,_0x1e4ecc._0x21fca9)+'r'](_0xe102b)[_0x488928(-_0x1e4ecc._0x3973b8,-_0x1e4ecc._0xdc777f,-_0x1e4ecc._0x5ddaf4,-_0x1e4ecc._0x521e4c)]('(((.+)+)+)'+'+$');});_0xe102b();import{select,put,take,getContext,call,takeLatest,delay}from'redux-saga/effects';import{getAppCurrentRoomId,hasAppCurrentRoomCallMatch}from'../app';function _0x50d4(){const _0x543063=['navigate','canCall','SCREEN_ROO','21285GzHcid','een/room/c','edNotifica','M_CALL','uiCallLeav','(((.+)+)+)','eviewSaga','tput','stopServic','12479232UkPnZK','tion','ngCallNoti','eenOn','37011640BGfetK','M_CALL_PRE','hAudioOutp','allRing','459498DSOUxh','back','sedSaga','1082648TxLsom','getCurrent','uiCallFetc','all','VIEW','call','addCallMis','constructo','getAudioOu','aga','title','21CJGgaM','answeringC','room','474140BMbsGA','apply','answeringI','leaveAndJo','outes','nAppCallRi','toString','eSaga','stopIncomi','getStrings','Service','connectToI','setCurrent','sedEvent','CallMuted','search','ncomingCal','2563724kNfGym','9WSYOWR','setInCall','joinCall','callDisabl','2142bOyYxF'];_0x50d4=function(){return _0x543063;};return _0x50d4();}import{getIsRoomDm,getRoomCanCall,getRoomItemById}from'../room';import{taskErrorSaga}from'../error';import{getCallStatus,callJoinCmd,callLeave,CALL_STATUS,openCallSettings,getMyAudioMuted,getMyVideoMuted,callToggleVideo,callAudioStreamToggle,isCallJoinedMode,ENABLE_MISSED_CALL_EVENT}from'../call';import{uiLeaveAndJoinNewCall,uiShowMicPermissionBottomSheet,uiShowCallOnGoingBottomSheet,uiStartCall,uiCallWebrtcCleared,uiExpoDeviceVibrateSuccess,uiNavigateToRoute,uiShowCallPreview,uiCallMissed,uiCallFetchAudioOutputs}from'./ui.action';import{APP_CONTEXT_KEY,ENV_CONTEXT_KEY}from'../constants';import{userInfoNotification}from'../notification';import{setUIIsCallLoading,setUICallAudioOutputs,setUICallCurrentAudioOutput}from'./ui.reducer';import{requestMicPermissionSaga}from'../media/media-permissions.saga';import{getCoreBackend}from'../../backend';import{apiCall}from'../../api/core';function*startCallSaga(_0x292310){const _0x28c89a={_0x122c6a:0x17e,_0x38b3da:0x189,_0x5181dc:0x17d,_0x3e3690:0x193,_0x51a157:0x18d,_0x6906ee:0x167,_0x5c7b17:0x173,_0x39ea8f:0x19f,_0x285965:0x19c,_0xae7c6e:0x195,_0x5ef65e:0x1a3,_0x5ac8f6:0x1a3,_0x2c773c:0x1a4,_0x5adc7f:0x1b8,_0x314bd8:0x19b,_0x214ed7:0x16d,_0x179720:0x1b6,_0x2b2d87:0x1aa,_0x14014b:0x1b3,_0x224e2f:0x195,_0x542cab:0x169,_0x1b42e4:0x164,_0x514da1:0x16b,_0x551c42:0x18a,_0x2ed436:0x194,_0x7e8d36:0x1a9,_0xa7b79e:0x1a8,_0x30f835:0x18f,_0x544c93:0x1b4,_0xcf6ba2:0x1a3,_0x12a81d:0x18f,_0xf6aa05:0x175,_0x493d0f:0x16f,_0x545a20:0x199,_0x384915:0x1a7,_0xc7c5c7:0x1a5,_0x55d057:0x1a1,_0x1adc79:0x1ae,_0x4d95b8:0x1ad,_0x4293ef:0x1c9,_0x3b6b22:0x1c0,_0x3a0ca7:0x1e6,_0xe77b23:0x1d3,_0x1bb1a9:0x1d2,_0x386871:0x1ca,_0x2f273a:0x1b9,_0x4e0afe:0x1b7,_0x3f1012:0x1ae,_0x56b539:0x1bc,_0x401230:0x1d6,_0x46f9bc:0x1b3,_0x1d5179:0x1ae,_0x3d17c7:0x1b7,_0x15c158:0x18a,_0x298457:0x18c,_0x4c2bf5:0x1a5,_0x238034:0x181,_0x2998a2:0x18e,_0x262038:0x17b,_0x29df97:0x186,_0x572dfc:0x18b,_0x44d098:0x1b1,_0x1c00fe:0x1a6,_0x5040f8:0x1ad,_0x15881a:0x176,_0x368f40:0x18c,_0x4426e1:0x170,_0x1b7bf6:0x1a7,_0x1268ab:0x19e,_0x6541fe:0x1ca,_0x45513b:0x18b,_0x28ba33:0x17b},_0x1059c2={_0x232648:0x55},_0x1cc250={_0x27286b:0x29};function _0x17044a(_0x1ef4c5,_0x5a3193,_0x3c9978,_0x129e16){return _0x4c9a(_0x5a3193- -_0x1cc250._0x27286b,_0x3c9978);}function _0x11ae88(_0x55e000,_0x5c92fb,_0x276132,_0x5ba6b3){return _0x4c9a(_0x5c92fb- -_0x1059c2._0x232648,_0x276132);}try{const {payload:_0x8250a}=_0x292310||{},_0x423601=yield select(getAppCurrentRoomId);if(_0x423601){const {navigationConstants:_0x4d0586,localeManager:_0x7e387b,webRTC:_0x1a8dc4,nativePushModule:_0x1bb512,callBackgroundHandler:_0x5788da}=yield getContext(APP_CONTEXT_KEY),{isIOS:_0x562c01,isAndroid:_0xe2b7c9}=yield getContext(ENV_CONTEXT_KEY),_0x4e29f6=_0x7e387b[_0x11ae88(_0x28c89a._0x122c6a,_0x28c89a._0x38b3da,_0x28c89a._0x5181dc,0x19d)](),_0x4373f8=yield select(getRoomItemById(_0x423601));if(!_0x4373f8[_0x11ae88(_0x28c89a._0x3e3690,0x198,0x17f,_0x28c89a._0x51a157)]){yield put(userInfoNotification({'message':_0x4e29f6[_0x11ae88(_0x28c89a._0x6906ee,0x17f,0x161,_0x28c89a._0x5c7b17)][_0x11ae88(0x19d,0x195,_0x28c89a._0x39ea8f,_0x28c89a._0x285965)+_0x11ae88(_0x28c89a._0xae7c6e,_0x28c89a._0x285965,_0x28c89a._0x5ef65e,_0x28c89a._0x39ea8f)+_0x11ae88(_0x28c89a._0x5ac8f6,_0x28c89a._0x2c773c,_0x28c89a._0x5adc7f,0x190)]}));return;}const _0x363979=yield select(getCallStatus),_0x344fd5=yield select(hasAppCurrentRoomCallMatch);if(_0x363979===CALL_STATUS['JOINED']&&!_0x344fd5){yield put(uiShowCallOnGoingBottomSheet());return;}yield put(setUIIsCallLoading(!![]));const _0x3991aa=yield requestMicPermissionSaga();if(!_0x3991aa){yield put(uiShowMicPermissionBottomSheet());return;}const _0x4728bb=yield select(getMyAudioMuted),_0x51b09b=yield select(getMyVideoMuted);yield put(callJoinCmd()),(!_0x8250a?.[_0x11ae88(_0x28c89a._0x314bd8,_0x28c89a._0x122c6a,0x165,_0x28c89a._0x214ed7)+_0x11ae88(_0x28c89a._0x179720,_0x28c89a._0x2b2d87,_0x28c89a._0x14014b,_0x28c89a._0x224e2f)]||_0xe2b7c9)&&(yield call(_0x1a8dc4['setInCall'],{'enabled':!![],'title':_0x4e29f6[_0x11ae88(_0x28c89a._0x542cab,0x177,_0x28c89a._0x1b42e4,_0x28c89a._0x514da1)]['foreground'+_0x11ae88(_0x28c89a._0x214ed7,_0x28c89a._0x551c42,_0x28c89a._0x285965,_0x28c89a._0x2ed436)],'body':_0x562c01?_0x4373f8[_0x17044a(_0x28c89a._0x7e8d36,_0x28c89a._0xa7b79e,_0x28c89a._0x30f835,0x1a9)]:_0x4e29f6['call']['tapToCall'],'uri':'keet://scr'+_0x11ae88(_0x28c89a._0x544c93,_0x28c89a._0x314bd8,_0x28c89a._0xcf6ba2,_0x28c89a._0x12a81d)+_0x11ae88(0x157,_0x28c89a._0xf6aa05,_0x28c89a._0x214ed7,_0x28c89a._0x493d0f)})),yield call(_0x5788da['startServi'+'ce']),yield put(uiExpoDeviceVibrateSuccess()),yield call(_0x1bb512[_0x11ae88(_0x28c89a._0x545a20,0x188,_0x28c89a._0x30f835,0x18e)+_0x11ae88(_0x28c89a._0x384915,_0x28c89a._0xc7c5c7,_0x28c89a._0x51a157,_0x28c89a._0x55d057)+'ficationSe'+'rvice']),yield put(uiNavigateToRoute({'routeName':_0x4d0586[_0x11ae88(0x1b1,_0x28c89a._0x545a20,_0x28c89a._0x1adc79,_0x28c89a._0x4d95b8)+_0x17044a(_0x28c89a._0x4d95b8,_0x28c89a._0x4293ef,_0x28c89a._0x3b6b22,_0x28c89a._0x3a0ca7)],'params':{'roomId':_0x423601}})),yield call(_0x1a8dc4['setKeepScr'+_0x17044a(_0x28c89a._0xe77b23,_0x28c89a._0x1bb1a9,_0x28c89a._0x386871,_0x28c89a._0x2f273a)],!![]),yield call(_0x1a8dc4[_0x17044a(0x1c8,_0x28c89a._0x4e0afe,_0x28c89a._0x5adc7f,0x1bd)+_0x17044a(_0x28c89a._0x3f1012,_0x28c89a._0x56b539,_0x28c89a._0x401230,0x19e)+'l']),_0x8250a?.[_0x17044a(0x1bf,0x1aa,_0x28c89a._0x46f9bc,_0x28c89a._0x3e3690)+_0x11ae88(0x1bf,_0x28c89a._0x2b2d87,_0x28c89a._0x1d5179,_0x28c89a._0x3d17c7)]&&(!_0x51b09b&&(yield put(callToggleVideo()))),yield delay(-0x199+0x16*-0x17b+-0x1*-0x2807),yield call(_0x1a8dc4[_0x11ae88(_0x28c89a._0x15c158,_0x28c89a._0x298457,_0x28c89a._0x4c2bf5,_0x28c89a._0x238034)+_0x11ae88(0x1a3,_0x28c89a._0x2998a2,_0x28c89a._0x262038,0x19e)],_0x4728bb),(_0x8250a?.[_0x11ae88(_0x28c89a._0x29df97,0x182,_0x28c89a._0x572dfc,0x171)+_0x17044a(_0x28c89a._0x179720,_0x28c89a._0x44d098,_0x28c89a._0x1c00fe,_0x28c89a._0x5040f8)+'ng']||_0x8250a?.[_0x11ae88(0x16b,0x17e,0x176,_0x28c89a._0x15881a)+_0x11ae88(0x1b4,_0x28c89a._0x2b2d87,0x199,0x1a4)])&&(_0xe2b7c9&&_0x4728bb&&(yield put(callAudioStreamToggle())),yield call(_0x1a8dc4[_0x11ae88(_0x28c89a._0x298457,_0x28c89a._0x368f40,0x19f,_0x28c89a._0x4426e1)+_0x17044a(_0x28c89a._0x1b7bf6,0x1ba,_0x28c89a._0x1268ab,_0x28c89a._0x6541fe)],![]));}}catch(_0x43f665){yield taskErrorSaga('startCallS'+_0x11ae88(_0x28c89a._0x45513b,_0x28c89a._0x28ba33,_0x28c89a._0x51a157,_0x28c89a._0xae7c6e),_0x43f665);}finally{yield put(setUIIsCallLoading(![]));}}function*leaveAndJoinNewCallSaga(){const _0x89db74={_0xa6aae3:0x463,_0x19f503:0x45f,_0xdafe:0x473,_0x5ad3bc:0xad,_0x2fbe5f:0xb6,_0x365ec9:0x442,_0x504461:0x458,_0x90b29d:0x449,_0x2763d9:0x42d,_0x28c778:0x94,_0x18c26c:0x91,_0x121cbb:0x8c,_0x489924:0x82,_0x30cdbd:0x8a,_0x428eb2:0x89,_0x143fb2:0x70},_0x495c35={_0x156a0e:0x147},_0x13fea1={_0xfd471d:0x277};function _0x1dc7e6(_0x56053d,_0x5ab01e,_0x22aad7,_0x1d0551){return _0x4c9a(_0x56053d-_0x13fea1._0xfd471d,_0x5ab01e);}function _0x145d21(_0x3516c0,_0x49e0c7,_0x16681f,_0x583689){return _0x4c9a(_0x16681f- -_0x495c35._0x156a0e,_0x49e0c7);}try{const {navigationConstants:_0x863d46,navigationHelpers:_0x22e162}=yield getContext(APP_CONTEXT_KEY);yield put(callLeave()),yield take(uiCallWebrtcCleared),yield delay(-0x167a+0x24de+-0xc70),yield put(openCallSettings()),_0x22e162[_0x1dc7e6(_0x89db74._0xa6aae3,_0x89db74._0x19f503,_0x89db74._0xdafe,0x446)](_0x863d46['SCREEN_ROO'+_0x145d21(_0x89db74._0x5ad3bc,0x9d,_0x89db74._0x2fbe5f,0xb2)+_0x1dc7e6(_0x89db74._0x365ec9,_0x89db74._0x504461,_0x89db74._0x90b29d,_0x89db74._0x2763d9)]);}catch(_0x58d8f1){yield taskErrorSaga(_0x145d21(0x99,_0x89db74._0x28c778,_0x89db74._0x18c26c,_0x89db74._0x121cbb)+'inNewCallS'+_0x145d21(_0x89db74._0x489924,_0x89db74._0x30cdbd,_0x89db74._0x428eb2,_0x89db74._0x143fb2),_0x58d8f1);}}function*uiCallLeaveSaga(){const _0x4210a7={_0x348aaf:0x568,_0x39fed7:0x55d,_0xc9ad7e:0x55e,_0x4418b3:0x1d0,_0x1ddab1:0x1e2,_0xe6457b:0x1e0,_0x44e31d:0x1c1,_0x10efa8:0x1e2,_0x27e9c3:0x54c,_0xca5b9a:0x551,_0x5430a8:0x548,_0x2d3f2d:0x55b,_0x2fd44d:0x55d,_0x18af23:0x54d,_0x58d351:0x561,_0x538c29:0x55f,_0x4e4034:0x569,_0x15d453:0x574,_0x1f6616:0x557,_0x242225:0x574,_0x476821:0x54b,_0x45634d:0x53a,_0x19265e:0x1e6,_0x517de8:0x1f4,_0x2f5233:0x1ea,_0x156185:0x1fc},_0x1f1d95={_0xf0bbb8:0x364};function _0x43cbca(_0x474e28,_0x40a901,_0x243e18,_0x2924a3){return _0x4c9a(_0x40a901- -0x3d0,_0x243e18);}function _0x536c26(_0x528869,_0x544546,_0x47f3c8,_0x19b36d){return _0x4c9a(_0x528869-_0x1f1d95._0xf0bbb8,_0x544546);}try{const {navigationConstants:_0x279524,navigationHelpers:_0x328454,webRTC:_0x4cc90d,callBackgroundHandler:_0x2e0687}=yield getContext(APP_CONTEXT_KEY),_0x125c9b=_0x328454[_0x536c26(_0x4210a7._0x348aaf,_0x4210a7._0x39fed7,_0x4210a7._0xc9ad7e,0x556)+'Route']();_0x125c9b===_0x279524[_0x43cbca(-_0x4210a7._0x4418b3,-_0x4210a7._0x1ddab1,-_0x4210a7._0xe6457b,-0x1d5)+'M_CALL']&&_0x328454[_0x43cbca(-_0x4210a7._0x44e31d,-0x1cf,-_0x4210a7._0x44e31d,-_0x4210a7._0x10efa8)](),yield call(_0x4cc90d[_0x536c26(_0x4210a7._0x27e9c3,_0x4210a7._0xca5b9a,_0x4210a7._0x5430a8,0x548)],{'enabled':![]}),yield call(_0x2e0687[_0x536c26(_0x4210a7._0x2d3f2d,_0x4210a7._0x2fd44d,_0x4210a7._0x18af23,_0x4210a7._0x58d351)+'e']),yield call(_0x4cc90d['setKeepScr'+_0x536c26(_0x4210a7._0x538c29,_0x4210a7._0xc9ad7e,_0x4210a7._0x4e4034,_0x4210a7._0x15d453)],![]),yield put(uiCallWebrtcCleared());}catch(_0xc9f73b){yield taskErrorSaga(_0x536c26(_0x4210a7._0x1f6616,_0x4210a7._0x242225,_0x4210a7._0x476821,_0x4210a7._0x45634d)+_0x43cbca(-_0x4210a7._0x19265e,-_0x4210a7._0x517de8,-_0x4210a7._0x2f5233,-_0x4210a7._0x156185),_0xc9f73b);}}function*showCallPreviewSaga(_0x3eb4cf){const _0x11bc8f={_0x57501b:0x124,_0x434f87:0x168,_0x19cf4e:0x14d,_0x4d4206:0x13c,_0x1a12fa:0x157,_0x18eba1:0xb4,_0x44c9c5:0xb7,_0x3e9388:0x99,_0x1c592c:0xb0,_0x4bcc66:0x11f,_0x4601f1:0x14a,_0x53fd2e:0x134,_0x95f08d:0x13a,_0x592390:0x13b,_0x23179a:0x12d,_0x547bbc:0x11b,_0x3d94d9:0x132,_0x4d01b0:0x8c,_0x49b26b:0xb3,_0xa45659:0x97,_0x5d62d5:0x91,_0x35d099:0x157,_0x213228:0x14c,_0x131fdc:0x13d,_0x535c62:0x11b,_0x4e6395:0x11e,_0x187c69:0x138,_0x50d8b7:0x12e,_0x26077e:0xd2,_0x4cce91:0xa7,_0x57370b:0x154,_0x35e1c0:0x136},_0x312920={_0x45a3ba:0x32b},_0x2a7682={_0x23445c:0x283};function _0x107e8b(_0x1a9afe,_0x415e6d,_0x2dae17,_0x57e08e){return _0x4c9a(_0x2dae17- -_0x2a7682._0x23445c,_0x415e6d);}function _0x2cea08(_0x472597,_0x4fa831,_0x10edae,_0x3540eb){return _0x4c9a(_0x3540eb- -_0x312920._0x45a3ba,_0x472597);}try{const {payload:_0x3ec13b}=_0x3eb4cf||{},_0x485b54=_0x3ec13b?.[_0x2cea08(-_0x11bc8f._0x57501b,-0x152,-0x127,-0x142)],_0x10434d=yield select(getAppCurrentRoomId),_0x398538=yield select(getCallStatus),_0xdd976a=yield select(hasAppCurrentRoomCallMatch),_0x556c62=yield isCallJoinedMode(_0x398538),_0x1c01ee=yield select(getRoomCanCall(_0x10434d)),{navigationConstants:_0x469151,navigationHelpers:_0x12f0be,localeManager:_0x11f915}=yield getContext(APP_CONTEXT_KEY),_0x573dda=_0x11f915[_0x2cea08(-_0x11bc8f._0x434f87,-0x161,-0x14b,-_0x11bc8f._0x19cf4e)]();yield put(uiExpoDeviceVibrateSuccess(_0x10434d));if(_0x556c62&&!_0xdd976a)yield put(uiShowCallOnGoingBottomSheet());else!_0x1c01ee?yield put(userInfoNotification({'message':_0x573dda[_0x2cea08(-0x15a,-0x145,-_0x11bc8f._0x4d4206,-_0x11bc8f._0x1a12fa)][_0x107e8b(-_0x11bc8f._0x18eba1,-_0x11bc8f._0x44c9c5,-_0x11bc8f._0x3e9388,-_0x11bc8f._0x1c592c)+_0x2cea08(-_0x11bc8f._0x4bcc66,-_0x11bc8f._0x4601f1,-_0x11bc8f._0x53fd2e,-_0x11bc8f._0x95f08d)+_0x2cea08(-_0x11bc8f._0x592390,-_0x11bc8f._0x23179a,-_0x11bc8f._0x547bbc,-_0x11bc8f._0x3d94d9)]})):(yield put(openCallSettings()),_0x12f0be[_0x107e8b(-_0x11bc8f._0x4d01b0,-_0x11bc8f._0x49b26b,-_0x11bc8f._0xa45659,-_0x11bc8f._0x5d62d5)](_0x469151[_0x2cea08(-_0x11bc8f._0x35d099,-0x14e,-_0x11bc8f._0x213228,-_0x11bc8f._0x131fdc)+_0x2cea08(-_0x11bc8f._0x535c62,-_0x11bc8f._0x4e6395,-_0x11bc8f._0x187c69,-_0x11bc8f._0x50d8b7)+_0x107e8b(-_0x11bc8f._0x26077e,-_0x11bc8f._0x4cce91,-0xb8,-0xbd)],{'joinCall':_0x485b54}));}catch(_0x2474af){yield taskErrorSaga('showCallPr'+_0x2cea08(-_0x11bc8f._0x57370b,-0x11d,-0x14b,-_0x11bc8f._0x35e1c0),_0x2474af);}}export function*appCallMissedSaga({payload:{roomId:_0x47885c}}){const _0xf4b0b2={_0x1cda92:0x1b8,_0x5f492d:0x19b,_0x5bc1d1:0x1c2,_0x3177f8:0x1ba,_0x5a9cc6:0x1cd,_0x4fa8b5:0x1e5,_0x6a853:0x1ed,_0x2c710b:0x1e8,_0x1522b6:0x1f4,_0xcef165:0x1e7},_0x2214b8={_0x2533c3:0x22},_0x2aa78e={_0x40b2b0:0x15};function _0xd41084(_0x35032b,_0x14b702,_0x32af1a,_0x326e62){return _0x4c9a(_0x35032b- -_0x2aa78e._0x40b2b0,_0x32af1a);}function _0x44ba99(_0x509c8e,_0x562304,_0xd9f7ba,_0x17bbbf){return _0x4c9a(_0x509c8e- -_0x2214b8._0x2533c3,_0x562304);}try{if(!ENABLE_MISSED_CALL_EVENT)return;const _0xd394f1=yield select(getIsRoomDm(_0x47885c));if(!_0xd394f1)return;const _0x47f29b=getCoreBackend();yield apiCall(_0x47f29b[_0xd41084(_0xf4b0b2._0x1cda92,_0xf4b0b2._0x5f492d,_0xf4b0b2._0x5bc1d1,_0xf4b0b2._0x3177f8)+_0xd41084(_0xf4b0b2._0x5a9cc6,0x1d0,0x1d1,_0xf4b0b2._0x4fa8b5)],_0x47885c);}catch(_0x28115d){yield taskErrorSaga('appCallMis'+_0xd41084(_0xf4b0b2._0x6a853,_0xf4b0b2._0x2c710b,_0xf4b0b2._0x1522b6,_0xf4b0b2._0xcef165),_0x28115d);}}function*uiCallFetchAudioOutputsSaga(){const _0x1b4b3f={_0x581769:0x99,_0x36865f:0x78,_0x3712ce:0x7c,_0x1cc3ab:0x7f,_0x180f2f:0xa2,_0x1334a0:0x8b,_0x5930eb:0x86,_0x55017c:0x75,_0x15d399:0x8c,_0xce83eb:0x6e,_0x27c8e7:0x32,_0x57203b:0x5e,_0x16e051:0x50,_0x48c6a3:0x93,_0x2f12c4:0xaa,_0xf44dde:0x75,_0x5474f6:0x7e},_0xece330={_0xb1ffb0:0x16b};function _0x3e3382(_0x54460b,_0x3ffd52,_0x51623e,_0x523328){return _0x4c9a(_0x54460b- -_0xece330._0xb1ffb0,_0x51623e);}function _0x20831f(_0x28c05c,_0x54fa61,_0x1fe3f6,_0x5431d5){return _0x4c9a(_0x5431d5- -0x255,_0x1fe3f6);}try{const {webRTC:_0x279eeb}=yield getContext(APP_CONTEXT_KEY),_0x3bc67e=yield call(_0x279eeb['listAudioR'+_0x20831f(-_0x1b4b3f._0x581769,-_0x1b4b3f._0x581769,-_0x1b4b3f._0x36865f,-_0x1b4b3f._0x3712ce)]);yield put(setUICallAudioOutputs(_0x3bc67e));const _0x37f142=yield call(_0x279eeb[_0x20831f(-_0x1b4b3f._0x1cc3ab,-_0x1b4b3f._0x180f2f,-_0x1b4b3f._0x1334a0,-_0x1b4b3f._0x5930eb)+_0x3e3382(_0x1b4b3f._0x1334a0,_0x1b4b3f._0x55017c,_0x1b4b3f._0x15d399,_0x1b4b3f._0xce83eb)]);yield put(setUICallCurrentAudioOutput(_0x37f142['type']));}catch(_0x255b83){yield taskErrorSaga(_0x20831f(-_0x1b4b3f._0x27c8e7,-_0x1b4b3f._0x57203b,-0x54,-_0x1b4b3f._0x16e051)+_0x3e3382(_0x1b4b3f._0x48c6a3,_0x1b4b3f._0x2f12c4,_0x1b4b3f._0xf44dde,_0x1b4b3f._0x5474f6)+'utsSaga',_0x255b83);}}export function*uiCallSaga(){yield takeLatest(uiStartCall,startCallSaga),yield takeLatest(callLeave,uiCallLeaveSaga),yield takeLatest(uiLeaveAndJoinNewCall,leaveAndJoinNewCallSaga),yield takeLatest(uiShowCallPreview,showCallPreviewSaga),yield takeLatest(uiCallMissed,appCallMissedSaga),yield takeLatest(uiCallFetchAudioOutputs,uiCallFetchAudioOutputsSaga),yield takeLatest(callJoinCmd,uiCallFetchAudioOutputsSaga);}