OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / call-next / call.reducer.js

1 lines · javascript ref:
(function(_0x25506b,_0x4dcf7c){const _0x402283={_0x184f4b:0xbd,_0xe63c32:0xbc,_0x1dfdf2:0xb6,_0x46edfa:0x3f4,_0x827d7d:0x3f3,_0x4ba655:0x3fa,_0x12c029:0x40e,_0x3fc48e:0x40b,_0x4f8af2:0x409,_0x2112ea:0x40c,_0x221b30:0x405,_0x2608dd:0x400,_0x1b0bbd:0x3ff,_0x42bab3:0x406,_0x33b149:0x406,_0x33cd4a:0xbe,_0x394db3:0x405,_0x24555c:0x401,_0x10a3e0:0x3fc,_0x577f57:0x406,_0x16ced6:0x403,_0x68f33b:0x3fc,_0x4377a0:0x3fd,_0x305511:0x3f7},_0x51e491={_0x30bdb0:0x66},_0x41be89={_0x55bd66:0x2d4};function _0x2e1d48(_0x2ca95d,_0xb039c5,_0x583ad9,_0x56d1c5){return _0x231f(_0x56d1c5-_0x41be89._0x55bd66,_0x2ca95d);}const _0x254ded=_0x25506b();function _0x3232f2(_0x175db3,_0x331439,_0x575653,_0x2a2356){return _0x231f(_0x331439- -_0x51e491._0x30bdb0,_0x175db3);}while(!![]){try{const _0x485dd6=parseInt(_0x3232f2(_0x402283._0x184f4b,_0x402283._0xe63c32,_0x402283._0x1dfdf2,_0x402283._0xe63c32))/(-0x222d+-0x1de0+0x400e)+parseInt(_0x2e1d48(_0x402283._0x46edfa,_0x402283._0x827d7d,0x3fd,_0x402283._0x4ba655))/(0xd2d*0x1+0x2592+0x32bd*-0x1)*(parseInt(_0x2e1d48(_0x402283._0x12c029,_0x402283._0x3fc48e,0x410,0x408))/(0x13*-0x14f+-0x19db+-0xd*-0x3e7))+-parseInt(_0x2e1d48(_0x402283._0x4f8af2,0x403,_0x402283._0x2112ea,0x402))/(-0x13ae+0x727+-0x1*-0xc8b)+-parseInt(_0x2e1d48(0x406,_0x402283._0x221b30,_0x402283._0x2608dd,_0x402283._0x1b0bbd))/(0x10d3+0xd0a+-0x1dd8)*(parseInt(_0x2e1d48(_0x402283._0x2112ea,_0x402283._0x42bab3,0x3ff,_0x402283._0x33b149))/(0x377*0x2+-0x1*0x541+-0x3*0x8d))+parseInt(_0x3232f2(_0x402283._0x33cd4a,0xbd,0xc4,0xbc))/(0x16e9+-0x854+-0x2*0x747)*(-parseInt(_0x2e1d48(_0x402283._0x394db3,0x400,_0x402283._0x24555c,_0x402283._0x10a3e0))/(0x1eb4*-0x1+-0x974+-0x2*-0x1418))+parseInt(_0x2e1d48(0x404,_0x402283._0x577f57,0x3fe,_0x402283._0x16ced6))/(-0x1*-0x1dc6+-0x1*0x1a80+0x33d*-0x1)+-parseInt(_0x2e1d48(_0x402283._0x394db3,_0x402283._0x68f33b,0x400,_0x402283._0x4377a0))/(0x1546+-0xb*-0x25c+0xbcc*-0x4)*(-parseInt(_0x2e1d48(_0x402283._0x305511,_0x402283._0x24555c,_0x402283._0x3fc48e,_0x402283._0x24555c))/(0x1*-0x1b6b+0xc99+0xedd));if(_0x485dd6===_0x4dcf7c)break;else _0x254ded['push'](_0x254ded['shift']());}catch(_0x5b3ac9){_0x254ded['push'](_0x254ded['shift']());}}}(_0x1574,0xc*0x3be3+-0x19f10+0x4e3d9));function _0x1574(){const _0x1089b3=['type','codecs','36QltRGZ','(((.+)+)+)','874050RGoRNA','constructo','154417ZdhFnK','2944970CWgwjW','call-next/','close-call','4FjUwTZ','roomId','8WQsyTy','30KJJEEY','toString','355990bChpYI','search','379621lexzVU','774468PhZYAC','5391486jhyWwJ'];_0x1574=function(){return _0x1089b3;};return _0x1574();}function _0x3475ff(_0x4abb46,_0x4a1399,_0x914556,_0x2bfa8f){const _0x53c4ae={_0x4e308b:0x1df};return _0x231f(_0x2bfa8f-_0x53c4ae._0x4e308b,_0x4abb46);}const _0x4c4f48=(function(){let _0x3ce8ed=!![];return function(_0x2e5ad3,_0x2002f0){const _0x300fff=_0x3ce8ed?function(){if(_0x2002f0){const _0x151cb6=_0x2002f0['apply'](_0x2e5ad3,arguments);return _0x2002f0=null,_0x151cb6;}}:function(){};return _0x3ce8ed=![],_0x300fff;};}()),_0x39b4a4=_0x4c4f48(this,function(){const _0x11699b={_0x3f7443:0x3fc,_0x4459ef:0x3f8,_0x108f0e:0x3f7,_0x4665a0:0x94,_0x32366b:0x8e,_0x5dbee8:0x8a,_0xf6aa9a:0x80,_0x59a341:0x8c,_0x5719ec:0x8b,_0xdbd2e2:0x91,_0x1a7a29:0x7f,_0x397169:0x88,_0x352fbd:0x91,_0x2efe80:0x3ec,_0x362888:0x3ea,_0x386607:0x3ee,_0x1199a6:0x400,_0x2c57e8:0x3ff,_0x5026d5:0x3ff,_0x4d0092:0x3f9,_0x518642:0x9b,_0x5c2f52:0x96,_0x15ff20:0x8f},_0x4b1552={_0x1c3969:0x2d3};function _0x59b191(_0x4311e6,_0x2f661b,_0x4a6152,_0xabc9c0){return _0x231f(_0x2f661b-_0x4b1552._0x1c3969,_0xabc9c0);}function _0x4bb62d(_0x3d6172,_0x56bd18,_0x58826f,_0x42ee2c){return _0x231f(_0x58826f- -0xa2,_0x42ee2c);}return _0x39b4a4[_0x59b191(_0x11699b._0x3f7443,0x3fd,_0x11699b._0x4459ef,_0x11699b._0x108f0e)]()[_0x4bb62d(_0x11699b._0x4665a0,_0x11699b._0x32366b,_0x11699b._0x5dbee8,_0x11699b._0xf6aa9a)](_0x4bb62d(_0x11699b._0x59a341,_0x11699b._0x5719ec,_0x11699b._0xdbd2e2,0x94)+'+$')[_0x4bb62d(_0x11699b._0x1a7a29,0x88,_0x11699b._0x397169,_0x11699b._0x352fbd)]()[_0x59b191(_0x11699b._0x2efe80,0x3f4,_0x11699b._0x362888,_0x11699b._0x386607)+'r'](_0x39b4a4)[_0x59b191(_0x11699b._0x1199a6,_0x11699b._0x2c57e8,_0x11699b._0x5026d5,_0x11699b._0x4d0092)](_0x4bb62d(_0x11699b._0x518642,_0x11699b._0x5c2f52,_0x11699b._0x352fbd,_0x11699b._0x15ff20)+'+$');});_0x39b4a4();import{createAction}from'@reduxjs/toolkit';import{CALL_NEXT_STATE_KEY}from'./call.constants';import{CALL_NEXT_INITIAL_STATE}from'./call.state';import{openCallReducer,closeCallReducer}from'./reducers/call-reducers';export const openCall=createAction(_0x3475ff(0x30d,0x2fe,0x306,0x303)+'open-call');export const closeCall=createAction('call-next/'+_0x199c3d(-0x63,-0x5e,-0x6d,-0x6b));export const callNextReducer=(_0x3f6d60=CALL_NEXT_INITIAL_STATE,_0x4f2057)=>{const _0xa6c1eb={_0x49c1c2:0x22d,_0x28d532:0x237,_0x4f3faa:0x22d,_0x8d9b4b:0x234,_0x2ecf3d:0x224,_0x1d6089:0x4c5,_0x3e9101:0x4c6,_0x2fe911:0x4c4},_0x2e71b5={_0x530939:0x9e,_0x2c852d:0x199},_0x4eabe6={_0x5c0b74:0x51d,_0x2c1b31:0x1a2,_0x25b9d7:0x191};function _0x1b58e9(_0x11daad,_0x59dd5f,_0x4393e0,_0x5d32ae){return _0x199c3d(_0x11daad-_0x4eabe6._0x5c0b74,_0x59dd5f-_0x4eabe6._0x2c1b31,_0x4393e0,_0x5d32ae-_0x4eabe6._0x25b9d7);}function _0x363abb(_0x565918,_0x4df079,_0x2a7fe3,_0x2c8195){return _0x199c3d(_0x565918-0x285,_0x4df079-_0x2e71b5._0x530939,_0x2c8195,_0x2c8195-_0x2e71b5._0x2c852d);}switch(_0x4f2057[_0x363abb(_0xa6c1eb._0x49c1c2,0x230,0x22b,_0xa6c1eb._0x28d532)]){case openCall[_0x363abb(_0xa6c1eb._0x4f3faa,0x22c,_0xa6c1eb._0x8d9b4b,_0xa6c1eb._0x2ecf3d)]:return openCallReducer(_0x3f6d60,_0x4f2057);case closeCall[_0x1b58e9(_0xa6c1eb._0x1d6089,0x4ce,_0xa6c1eb._0x3e9101,_0xa6c1eb._0x2fe911)]:return closeCallReducer();default:return _0x3f6d60;}};export const getCallNextState=_0x2c51e6=>_0x2c51e6[CALL_NEXT_STATE_KEY];export const getCallNextRoomId=_0x596cec=>getCallNextState(_0x596cec)[_0x199c3d(-0x61,-0x62,-0x5e,-0x68)];export const getCallNextIsCallOpen=_0x21c696=>getCallNextState(_0x21c696)['isCallOpen'];export const getCallNextCallKey=_0x184866=>getCallNextState(_0x184866)['callKey'];function _0x231f(_0x231fdd,_0x3c50c9){const _0x3dffd3=_0x1574();return _0x231f=function(_0x13842c,_0x5cf6b8){_0x13842c=_0x13842c-(-0x24bd+-0x71e+-0xb3f*-0x4);let _0x248f3f=_0x3dffd3[_0x13842c];return _0x248f3f;},_0x231f(_0x231fdd,_0x3c50c9);}function _0x199c3d(_0x38432a,_0x3debe7,_0x491538,_0xa6d8a0){const _0x24fbbe={_0x4af568:0x188};return _0x231f(_0x38432a- -_0x24fbbe._0x4af568,_0x491538);}export const getCallNextCodecs=_0xe75684=>getCallNextState(_0xe75684)[_0x3475ff(0x318,0x307,0x307,0x310)];