(function(_0x272641,_0x1572b3){const _0x1b5ff4={_0x448ebf:0x321,_0x4c92f2:0x31d,_0x227cc1:0x32c,_0x7971b2:0x315,_0x260a15:0x2d9,_0xf3a966:0x2cb,_0x50377d:0x2c3,_0x1b7fbd:0x31a,_0x5d0c63:0x328,_0x15ba06:0x312,_0x41c761:0x317,_0x348c8c:0x323,_0x1aa330:0x316,_0x43a48d:0x30b,_0x396bcc:0x318,_0x4e6da6:0x31e,_0x1ef5b1:0x30c,_0x2b6dd9:0x31d,_0x4eb1ab:0x2e9,_0x50783f:0x2db,_0x508d5c:0x2dd,_0x44d7b9:0x2d6,_0x4181e9:0x2e1,_0x281121:0x2ea,_0x32ba3d:0x2e1,_0x24e1b2:0x2d4,_0x1869b8:0x2e0,_0x133a3a:0x2e5,_0x239bdb:0x2e4,_0x204c59:0x2ee,_0x26b699:0x31b,_0x415865:0x325,_0x3b72bd:0x32a},_0x12d1cb={_0x4203f7:0x190},_0x155eb5={_0x510107:0x1cd},_0x285752=_0x272641();function _0x1c6094(_0x5b7a56,_0x4eaf7a,_0x532b41,_0x4ed5f2){return _0x1fc3(_0x5b7a56-_0x155eb5._0x510107,_0x4eaf7a);}function _0x3b174d(_0x4b9797,_0x452b5b,_0x27fe18,_0x26e215){return _0x1fc3(_0x452b5b-_0x12d1cb._0x4203f7,_0x26e215);}while(!![]){try{const _0x37a3a0=parseInt(_0x1c6094(_0x1b5ff4._0x448ebf,_0x1b5ff4._0x4c92f2,_0x1b5ff4._0x227cc1,_0x1b5ff4._0x7971b2))/(-0x9*0x153+0x318*-0x7+0x4*0x865)*(-parseInt(_0x3b174d(_0x1b5ff4._0x260a15,_0x1b5ff4._0xf3a966,0x2cc,_0x1b5ff4._0x50377d))/(-0x20df+0x418+-0x1*-0x1cc9))+parseInt(_0x1c6094(_0x1b5ff4._0x1b7fbd,_0x1b5ff4._0x5d0c63,_0x1b5ff4._0x1b7fbd,_0x1b5ff4._0x15ba06))/(-0x2*0x72a+-0x22e7*-0x1+-0x2*0xa48)+-parseInt(_0x1c6094(_0x1b5ff4._0x41c761,0x30c,_0x1b5ff4._0x348c8c,0x31c))/(-0x1*0x881+0x6f1+-0x2*-0xca)*(parseInt(_0x1c6094(_0x1b5ff4._0x1aa330,_0x1b5ff4._0x43a48d,0x315,0x31e))/(-0x1f1d+0x1119+0xe09))+parseInt(_0x1c6094(_0x1b5ff4._0x396bcc,_0x1b5ff4._0x4e6da6,_0x1b5ff4._0x1ef5b1,_0x1b5ff4._0x2b6dd9))/(-0xf*-0x178+0x121f*-0x1+0x3e3*-0x1)*(-parseInt(_0x3b174d(_0x1b5ff4._0x4eb1ab,0x2dc,_0x1b5ff4._0x50783f,0x2e7))/(-0x1*-0x287+0x2*0x5ce+-0x2*0x70e))+-parseInt(_0x3b174d(_0x1b5ff4._0x508d5c,_0x1b5ff4._0x44d7b9,0x2d4,_0x1b5ff4._0x4181e9))/(0x16b6+-0x1686+-0xa*0x4)*(-parseInt(_0x3b174d(_0x1b5ff4._0x281121,_0x1b5ff4._0x32ba3d,_0x1b5ff4._0x24e1b2,_0x1b5ff4._0x50783f))/(0x15ba+-0x4*-0x312+-0x21f9*0x1))+parseInt(_0x3b174d(_0x1b5ff4._0x1869b8,_0x1b5ff4._0x133a3a,_0x1b5ff4._0x239bdb,_0x1b5ff4._0x204c59))/(-0xc22+-0xa*0x36f+-0x2e82*-0x1)+parseInt(_0x1c6094(0x31d,_0x1b5ff4._0x26b699,_0x1b5ff4._0x415865,_0x1b5ff4._0x3b72bd))/(0x2*0x3da+0x13a3+-0x1b4c*0x1);if(_0x37a3a0===_0x1572b3)break;else _0x285752['push'](_0x285752['shift']());}catch(_0x32c6b5){_0x285752['push'](_0x285752['shift']());}}}(_0x28df,0xb7477*0x1+-0x474f5*0x1+-0xe*-0x898));const _0x5108b8=(function(){let _0x30a42c=!![];return function(_0x1efcbd,_0x4f3b4a){const _0xd1749b=_0x30a42c?function(){if(_0x4f3b4a){const _0x18cb4b=_0x4f3b4a['apply'](_0x1efcbd,arguments);return _0x4f3b4a=null,_0x18cb4b;}}:function(){};return _0x30a42c=![],_0xd1749b;};}()),_0x509a68=_0x5108b8(this,function(){const _0x5bf17b={_0x5ce63b:0x1bc,_0xe46f5:0x1bc,_0x467429:0x1b1,_0x3a66d1:0x1c8,_0x3454fa:0x1d5,_0x35d331:0x1c7,_0x379eb3:0x15a,_0x2dc3a4:0x157,_0x42d74e:0x157,_0xa36c25:0x166,_0x2c2c01:0x15e,_0x50b214:0x152,_0x1c4ed6:0x14d,_0x3fa78d:0x14b,_0x3d3d1a:0x1bb,_0x43e912:0x1c2},_0x254f2a={_0x1febd1:0x74};function _0x4ed4ce(_0x418aa7,_0x199c2f,_0x465c2f,_0x351e57){return _0x1fc3(_0x199c2f- -0x2a5,_0x465c2f);}function _0x524889(_0x392cfd,_0x2a4e7b,_0x321bac,_0x557ba5){return _0x1fc3(_0x321bac-_0x254f2a._0x1febd1,_0x2a4e7b);}return _0x509a68[_0x524889(0x1c0,_0x5bf17b._0x5ce63b,_0x5bf17b._0xe46f5,_0x5bf17b._0x467429)]()[_0x524889(_0x5bf17b._0x3a66d1,_0x5bf17b._0x3454fa,_0x5bf17b._0x35d331,0x1c1)](_0x4ed4ce(-_0x5bf17b._0x379eb3,-_0x5bf17b._0x2dc3a4,-_0x5bf17b._0x42d74e,-0x161)+'+$')['toString']()[_0x4ed4ce(-0x15f,-_0x5bf17b._0xa36c25,-_0x5bf17b._0xa36c25,-0x174)+'r'](_0x509a68)[_0x4ed4ce(-_0x5bf17b._0x2c2c01,-_0x5bf17b._0x50b214,-_0x5bf17b._0x1c4ed6,-_0x5bf17b._0x3fa78d)](_0x524889(0x1b8,_0x5bf17b._0x3d3d1a,_0x5bf17b._0x43e912,0x1bb)+'+$');});_0x509a68();import{VIDEO_QUALITY_STANDARD,VIDEO_QUALITY_HIGH}from'../media/media-constraints';function _0x497d18(_0x3ea4c1,_0x44075a,_0x81ab0b,_0x2d9c17){return _0x1fc3(_0x2d9c17- -0x1b7,_0x44075a);}import{CALL_STATE_KEY,CALL_SETTINGS_STATE_KEY}from'./call.constants';import{setCallSettingsReady,setCallSettingsSkipJoinMsg,setMySharedScreen,setMyAudioMuted,setMyVideoMuted,setMyVideoLimits,setMyVideoAllowed,setMyVideoTrackId,setMyVideoQuality,setMyCameraStreamId,removeMyStreams}from'./call-settings.action';import{setAudioDevice,setVideoDevice}from'../media';function _0x21c131(_0xf7ad94,_0x18d731,_0x1a7604,_0x3bc595){const _0x49bc6b={_0x1ac171:0x1ab};return _0x1fc3(_0x1a7604- -_0x49bc6b._0x1ac171,_0x3bc595);}export const CALL_SETTINGS_INITIAL_STATE={'sharedScreen':'','isAudioMuted':!![],'isVideoMuted':!![],'skipJoinMsg':![],'videoLimits':{'meAllowed':![],'allowed':!![],'showInfo':!![],'maxQuality':VIDEO_QUALITY_HIGH},'videoTrackId':'','videoQuality':VIDEO_QUALITY_STANDARD,'cameraStreamId':'','screenStreamId':'','isReady':![]};export const callSettingsReducer=(_0x1392c6=CALL_SETTINGS_INITIAL_STATE,{type:_0x3fa9ae,payload:_0x47028e})=>{const _0x12083c={_0xc968e1:0x271,_0x23ce06:0x26b,_0x41fab6:0x25e,_0x1923d1:0x268,_0xa63c1c:0x7a,_0x46a333:0x7d,_0x29c7ec:0x281,_0x4fdfda:0x289,_0x27d9bf:0x27c,_0x315d0a:0x82,_0xaddc26:0x71,_0x53da6d:0x266,_0x4b2732:0x276,_0x2d81a6:0x272,_0x3851e1:0x274,_0x335d7a:0x273,_0x2d7623:0x285,_0x3e7a8c:0x28b,_0x17338f:0x276,_0x3b44eb:0x270,_0x3ec4e6:0x26f,_0x19e363:0x268,_0x4b5259:0x273,_0x16cfe2:0x276,_0x1f7cb2:0x26c,_0x2c916b:0x263,_0x108ea1:0x26a,_0x593a5f:0x25c,_0x3d5fd6:0x25f,_0x48eb31:0x271,_0x18f2f1:0x262,_0xeea972:0x267,_0x413098:0x269,_0x35873a:0x278,_0x9b71f8:0x6b,_0x1fde48:0x63,_0x335311:0x66,_0x4b5ea:0x269,_0x41c71d:0x26d,_0x3840eb:0x276,_0x368bef:0x65,_0x5eaa49:0x58,_0x484bd3:0x5d,_0x401789:0x6b,_0x342b00:0x6f,_0x3af101:0x60,_0x419434:0x6d,_0x485cc9:0x83,_0x3c81bc:0x6e,_0xd3753d:0x271,_0x1d5c4f:0x285,_0x11b6b2:0x275,_0x3826b0:0x25f,_0x569684:0x26d,_0x572124:0x268,_0x2a7f06:0x284,_0x240e6a:0x27a},_0xe7f729={_0x3eba5f:0x3ba};function _0x42b001(_0x1a7c66,_0x5e9318,_0x1a3371,_0x410d25){return _0x1fc3(_0x1a7c66- -0xd8,_0x5e9318);}function _0x56082d(_0xc1d1e5,_0x21860f,_0x4e7008,_0x17d94d){return _0x1fc3(_0x17d94d- -_0xe7f729._0x3eba5f,_0x4e7008);}switch(_0x3fa9ae){case setCallSettingsSkipJoinMsg[_0x56082d(-0x276,-_0x12083c._0xc968e1,-_0x12083c._0x23ce06,-0x268)]:{return{..._0x1392c6,'skipJoinMsg':!!_0x47028e};}case setCallSettingsReady[_0x56082d(-_0x12083c._0x41fab6,-0x26f,-0x262,-_0x12083c._0x1923d1)]:return{..._0x1392c6,'isReady':_0x47028e};case setMySharedScreen[_0x42b001(_0x12083c._0xa63c1c,0x71,_0x12083c._0x46a333,0x80)]:return{..._0x1392c6,'sharedScreen':_0x47028e['screenId'],'screenStreamId':_0x47028e[_0x56082d(-_0x12083c._0xc968e1,-_0x12083c._0x29c7ec,-_0x12083c._0x4fdfda,-_0x12083c._0x27d9bf)]};case removeMyStreams[_0x42b001(_0x12083c._0xa63c1c,_0x12083c._0x315d0a,_0x12083c._0xaddc26,0x84)]:return{..._0x1392c6,'sharedScreen':'','screenStreamId':'','cameraStreamId':''};case setMyAudioMuted['type']:return{..._0x1392c6,'isAudioMuted':_0x47028e};case setMyVideoMuted[_0x56082d(-_0x12083c._0x53da6d,-_0x12083c._0x4b2732,-_0x12083c._0x2d81a6,-0x268)]:return{..._0x1392c6,'isVideoMuted':_0x47028e,'videoTrackId':'','videoLimits':{..._0x1392c6['videoLimit'+'s'],'meAllowed':![]}};case setMyVideoLimits[_0x56082d(-_0x12083c._0x3851e1,-_0x12083c._0x335d7a,-_0x12083c._0x2d81a6,-_0x12083c._0x1923d1)]:{const {allowed:_0x4c5c2b,showInfo:_0x171f75}=_0x47028e,_0x4d1d62={..._0x1392c6,'videoLimits':{..._0x1392c6[_0x56082d(-_0x12083c._0x2d7623,-0x28b,-_0x12083c._0x3e7a8c,-0x27e)+'s'],'allowed':_0x4c5c2b,'showInfo':_0x171f75}};if(!_0x4c5c2b&&!_0x1392c6['videoLimit'+'s']['meAllowed'])return{..._0x4d1d62,'isVideoMuted':!![],'videoTrackId':''};return _0x4d1d62;}case setMyVideoAllowed[_0x56082d(-_0x12083c._0x17338f,-_0x12083c._0x3b44eb,-_0x12083c._0x3ec4e6,-_0x12083c._0x19e363)]:return{..._0x1392c6,'videoLimits':{..._0x1392c6['videoLimit'+'s'],'meAllowed':!![]}};case setMyVideoTrackId[_0x56082d(-_0x12083c._0x4b5259,-_0x12083c._0x16cfe2,-_0x12083c._0x16cfe2,-_0x12083c._0x19e363)]:return{..._0x1392c6,'videoTrackId':_0x47028e||''};case setMyVideoQuality[_0x56082d(-_0x12083c._0x1f7cb2,-_0x12083c._0x2c916b,-_0x12083c._0x108ea1,-_0x12083c._0x19e363)]:return{..._0x1392c6,'videoQuality':_0x47028e,'videoTrackId':''};case setMyCameraStreamId[_0x56082d(-_0x12083c._0x593a5f,-_0x12083c._0x3d5fd6,-0x273,-_0x12083c._0x1923d1)]:{const {streamId:_0x4f6d3a,setReady:_0x11e64a}=_0x47028e,_0x595e04={..._0x1392c6};return _0x1392c6[_0x56082d(-_0x12083c._0x48eb31,-_0x12083c._0x18f2f1,-_0x12083c._0xeea972,-_0x12083c._0x23ce06)+'amId']!==_0x4f6d3a&&(_0x595e04[_0x56082d(-0x261,-_0x12083c._0x413098,-_0x12083c._0x35873a,-_0x12083c._0x23ce06)+_0x42b001(0x69,_0x12083c._0x9b71f8,_0x12083c._0x1fde48,_0x12083c._0x335311)]=_0x4f6d3a||'',!_0x4f6d3a&&(_0x595e04[_0x56082d(-_0x12083c._0x4b5ea,-_0x12083c._0x41c71d,-0x277,-_0x12083c._0x3840eb)+'Id']='')),_0x11e64a&&(_0x595e04[_0x42b001(_0x12083c._0x368bef,_0x12083c._0x5eaa49,_0x12083c._0x484bd3,0x5b)]=!![]),Object[_0x42b001(_0x12083c._0x401789,_0x12083c._0x342b00,_0x12083c._0x3af101,_0x12083c._0x419434)](_0x595e04)['length']?_0x595e04:_0x1392c6;}case setAudioDevice[_0x42b001(_0x12083c._0xa63c1c,_0x12083c._0x485cc9,_0x12083c._0x3c81bc,0x6f)]:return{..._0x1392c6,'isAudioMuted':_0x47028e?_0x1392c6[_0x56082d(-_0x12083c._0xd3753d,-_0x12083c._0x1d5c4f,-_0x12083c._0x11b6b2,-0x278)+'ed']:!![]};case setVideoDevice[_0x56082d(-_0x12083c._0x3ec4e6,-_0x12083c._0x3826b0,-_0x12083c._0x569684,-_0x12083c._0x572124)]:return{..._0x1392c6,'videoTrackId':'','isVideoMuted':_0x47028e?_0x1392c6[_0x56082d(-_0x12083c._0x35873a,-_0x12083c._0x569684,-_0x12083c._0x2a7f06,-_0x12083c._0x240e6a)+'ed']:!![]};default:return _0x1392c6;}};export const getCallSettingsState=_0x575dd6=>_0x575dd6[CALL_STATE_KEY][CALL_SETTINGS_STATE_KEY];export const getCallSettingsReady=_0x3b3725=>getCallSettingsState(_0x3b3725)[_0x497d18(-0x75,-0x82,-0x81,-0x7a)];export const getCallSettingsSkipJoinMsg=_0x2342a8=>getCallSettingsState(_0x2342a8)[_0x497d18(-0x73,-0x66,-0x7f,-0x72)+'g'];function _0x28df(){const _0x3faa6e=['toString','5ehsxPK','2966176FxLueU','12nqlmtZ','1051911raHSrf','501213vmFNLR','(((.+)+)+)','cameraStre','7296201gsWQaN','677007fvjDkJ','type','search','13nCewJX','2377730Nyszeg','sharedScre','9720ZCyWqX','videoLimit','isReady','streamId','constructo','isVideoMut','amId','isAudioMut','keys','videoTrack','skipJoinMs','56PfvqIU','videoQuali'];_0x28df=function(){return _0x3faa6e;};return _0x28df();}export const getMyAudioMuted=_0x38a080=>getCallSettingsState(_0x38a080)['isAudioMut'+'ed'];export const getMyVideoMuted=_0x49dfd2=>getCallSettingsState(_0x49dfd2)['isVideoMut'+'ed'];export const getMyVideoLimits=_0x4dca24=>getCallSettingsState(_0x4dca24)[_0x21c131(-0x64,-0x6d,-0x6f,-0x7d)+'s'];export const getMyVideoAllowed=_0x9170a5=>getMyVideoLimits(_0x9170a5)['allowed']||!getMyVideoMuted(_0x9170a5);export const getMyVideoQualityLimited=_0x3bbb48=>getMyVideoLimits(_0x3bbb48)['maxQuality']!==VIDEO_QUALITY_HIGH;export const getMyVideoTrackId=_0x2839de=>getCallSettingsState(_0x2839de)[_0x497d18(-0x6f,-0x7c,-0x67,-0x73)+'Id'];function _0x1fc3(_0x1fc302,_0x49e1e8){const _0x2ec1d9=_0x28df();return _0x1fc3=function(_0x385e00,_0x4fcd75){_0x385e00=_0x385e00-(0x209f+0x1b73+-0x4*0xeb6);let _0x3ae4a3=_0x2ec1d9[_0x385e00];return _0x3ae4a3;},_0x1fc3(_0x1fc302,_0x49e1e8);}export const getMyVideoQuality=_0x400be5=>getCallSettingsState(_0x400be5)[_0x21c131(-0x6b,-0x72,-0x64,-0x5d)+'ty'];export const getMySharedScreen=_0x17dbb2=>getCallSettingsState(_0x17dbb2)[_0x497d18(-0x78,-0x71,-0x81,-0x7d)+'en'];export const getMyCameraStreamId=_0x4aa8b6=>getCallSettingsState(_0x4aa8b6)[_0x21c131(-0x52,-0x5f,-0x5c,-0x52)+'amId'];export const getMyScreenStreamId=_0x52e5d3=>getCallSettingsState(_0x52e5d3)['screenStre'+_0x21c131(-0x5e,-0x5f,-0x6a,-0x5e)];