OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / identity / member / identity-member.saga.js

1 lines · javascript ref:
(function(_0x42f8a0,_0xacaf54){const _0x34acb7={_0x5e3782:0x349,_0x14128b:0x341,_0x39b2a4:0x34d,_0xc3f21d:0x33e,_0x21f52d:0x33c,_0xd6dfab:0x340,_0x4e530f:0x33a,_0x2e1778:0x338,_0x3f1c4b:0x33a,_0x1dee99:0x344,_0xe4eb57:0x344,_0x1fd31:0x33b,_0x5d008c:0x338,_0x3412e5:0x32c,_0x1179d5:0x32d,_0x473377:0x33d,_0x162921:0x339,_0x4171d0:0x337,_0x127416:0x84,_0x284e83:0x7a,_0x1cc26e:0x79,_0x2ba3a7:0x8a,_0x21e625:0x33e,_0x14a2d7:0x32a,_0x586cc4:0x33a,_0x513530:0x338,_0x3cc46a:0x92,_0x4b106d:0x81,_0x390b97:0x74,_0x27de81:0x6c,_0x2caba6:0x6f,_0x3ab67c:0x7d,_0x2b413a:0x7c,_0x30a02c:0x74,_0x1626bf:0x348,_0x55cc15:0x346,_0x3724c6:0x349},_0x14d474={_0x520f2d:0x1bf},_0x113551={_0xbc2bd:0x1fc},_0x4d4c7c=_0x42f8a0();function _0x4280b4(_0x2eace6,_0x41b470,_0x301125,_0x1fc501){return _0x3ebb(_0x2eace6- -_0x113551._0xbc2bd,_0x41b470);}function _0x2ee589(_0x37151f,_0x24996c,_0x228f5b,_0xc5f3a){return _0x3ebb(_0x24996c-_0x14d474._0x520f2d,_0x228f5b);}while(!![]){try{const _0x47c12d=parseInt(_0x2ee589(_0x34acb7._0x5e3782,_0x34acb7._0x14128b,_0x34acb7._0x39b2a4,_0x34acb7._0xc3f21d))/(-0x1ecc+0x153e*-0x1+-0x1159*-0x3)*(-parseInt(_0x2ee589(_0x34acb7._0x21f52d,_0x34acb7._0xd6dfab,_0x34acb7._0x4e530f,_0x34acb7._0x2e1778))/(-0x25d7+0x17fc+0xddd))+parseInt(_0x2ee589(_0x34acb7._0x3f1c4b,_0x34acb7._0x1dee99,_0x34acb7._0xe4eb57,0x340))/(-0x1889+-0x1002+0x288e)*(parseInt(_0x2ee589(_0x34acb7._0x1fd31,_0x34acb7._0x5d008c,_0x34acb7._0x3412e5,_0x34acb7._0x1179d5))/(0xc95*0x3+-0x9*0x391+-0x2d1*0x2))+-parseInt(_0x2ee589(_0x34acb7._0x473377,_0x34acb7._0x162921,_0x34acb7._0x4171d0,_0x34acb7._0xe4eb57))/(-0x1053*0x1+0x1416+0x3be*-0x1)*(-parseInt(_0x4280b4(-_0x34acb7._0x127416,-_0x34acb7._0x284e83,-_0x34acb7._0x1cc26e,-_0x34acb7._0x2ba3a7))/(0x1a60*-0x1+-0x10d*-0x25+-0xc7b))+-parseInt(_0x2ee589(_0x34acb7._0x21e625,0x332,_0x34acb7._0x14a2d7,_0x34acb7._0x3412e5))/(-0x26d7+0x1492+-0x493*-0x4)*(-parseInt(_0x2ee589(0x339,_0x34acb7._0x586cc4,_0x34acb7._0x513530,0x33c))/(-0x1b3d+0x1c8a*-0x1+0x37cf))+-parseInt(_0x4280b4(-0x86,-_0x34acb7._0x3cc46a,-_0x34acb7._0x4b106d,-0x91))/(-0x349+0x244c+-0x20fa)*(parseInt(_0x4280b4(-_0x34acb7._0x390b97,-0x76,-_0x34acb7._0x27de81,-_0x34acb7._0x2caba6))/(-0x1af7+0x10*0xe3+-0xcd1*-0x1))+-parseInt(_0x4280b4(-_0x34acb7._0x3ab67c,-_0x34acb7._0x2b413a,-_0x34acb7._0x127416,-_0x34acb7._0x30a02c))/(-0xe79+0x9f3+0x491*0x1)+-parseInt(_0x2ee589(_0x34acb7._0x1626bf,_0x34acb7._0x55cc15,_0x34acb7._0xd6dfab,_0x34acb7._0x3724c6))/(0x9ee+0x4d1*0x1+-0x35*0x47);if(_0x47c12d===_0xacaf54)break;else _0x4d4c7c['push'](_0x4d4c7c['shift']());}catch(_0x3e0de2){_0x4d4c7c['push'](_0x4d4c7c['shift']());}}}(_0x17c7,-0x323*-0x2a5+-0x3*0x13ad7+0x3cda1));const _0x5e4bd8=(function(){let _0x376e51=!![];return function(_0x517b92,_0x4643b0){const _0x1a43b6=_0x376e51?function(){if(_0x4643b0){const _0x2d0f76=_0x4643b0['apply'](_0x517b92,arguments);return _0x4643b0=null,_0x2d0f76;}}:function(){};return _0x376e51=![],_0x1a43b6;};}()),_0x21843d=_0x5e4bd8(this,function(){const _0xd4cd3f={_0x15a52f:0xa4,_0x159bb9:0xa9,_0x594f15:0xac,_0x3697ba:0x107,_0x15c847:0x101,_0x19bce1:0xfc,_0x5d935e:0xbc,_0x5af15a:0xb1,_0x565208:0xb8,_0x574fe5:0xb3,_0xce9ed3:0xa8,_0xde1eeb:0xad,_0x2708e8:0xae,_0x56bddf:0xa4,_0x4c8198:0xb1,_0x5d6e41:0xad,_0xc4eee1:0xc2},_0xc70ca={_0x2ccc77:0x279};function _0x3d9b83(_0x542dd5,_0x2f9921,_0x29ef02,_0x3fb5cd){return _0x3ebb(_0x3fb5cd- -0x22a,_0x2f9921);}function _0x1d26be(_0x3b813c,_0x12e871,_0x7f2096,_0x248e3d){return _0x3ebb(_0x248e3d- -_0xc70ca._0x2ccc77,_0x7f2096);}return _0x21843d[_0x3d9b83(-_0xd4cd3f._0x15a52f,-_0xd4cd3f._0x159bb9,-0xa2,-_0xd4cd3f._0x594f15)]()[_0x1d26be(-_0xd4cd3f._0x3697ba,-_0xd4cd3f._0x15c847,-0x106,-_0xd4cd3f._0x19bce1)](_0x3d9b83(-_0xd4cd3f._0x594f15,-_0xd4cd3f._0x5d935e,-_0xd4cd3f._0x5af15a,-_0xd4cd3f._0x565208)+'+$')[_0x3d9b83(-_0xd4cd3f._0x574fe5,-_0xd4cd3f._0xce9ed3,-_0xd4cd3f._0xde1eeb,-_0xd4cd3f._0x594f15)]()[_0x3d9b83(-_0xd4cd3f._0x2708e8,-_0xd4cd3f._0x565208,-_0xd4cd3f._0x574fe5,-0xb6)+'r'](_0x21843d)[_0x3d9b83(-0xa8,-_0xd4cd3f._0x56bddf,-_0xd4cd3f._0x4c8198,-_0xd4cd3f._0xde1eeb)](_0x3d9b83(-_0xd4cd3f._0x5d6e41,-0xb9,-_0xd4cd3f._0xc4eee1,-0xb8)+'+$');});function _0x17c7(){const _0x57e066=['unblockMem','(((.+)+)+)','4826087AJMgwv','constructo','ers','394398eaKkzg','ber','1856142FrZPMH','2642372yMlaBR','15AVJYhd','8rIrGKH','berSaga','search','toString','3722499HIYclo','lockedMemb','1111574zqQSyJ','1vwtShN','blockMembe','rSaga','3KbAiJU','subscribeB','2496WApnEo','190PMKPFy'];_0x17c7=function(){return _0x57e066;};return _0x17c7();}_0x21843d();import{put}from'redux-saga/effects';import{apiTakeEvery}from'../../lib';import{getCoreBackend}from'../../../backend';import{apiCall}from'../../../api/core';import{setBlockedMembers}from'./identity-member.reducer';import{taskErrorSaga}from'../../error';function _0x3ebb(_0x1f0b25,_0xc60d10){const _0x1944f2=_0x17c7();return _0x3ebb=function(_0xf8d86d,_0x257c16){_0xf8d86d=_0xf8d86d-(-0xa*-0x1ab+-0x5b*0x1f+-0x1*0x437);let _0x376e51=_0x1944f2[_0xf8d86d];return _0x376e51;},_0x3ebb(_0x1f0b25,_0xc60d10);}export function*blockMemberSaga({payload:{memberId:_0xb75b5d,roomId:_0x3f6971}}){const _0x30de78={_0x2927b7:0x286,_0x7c961e:0x283,_0x34568e:0x278,_0x5d88df:0x35e,_0x198340:0x365,_0x4c19c9:0x361,_0x3d7114:0x284,_0x5d863a:0x27e},_0x176b17={_0x57372f:0x1e5},_0x4de2a0={_0x2365ec:0x100};function _0xc481a3(_0xdb0279,_0xb8eab2,_0x5d842a,_0x5158f3){return _0x3ebb(_0xb8eab2-_0x4de2a0._0x2365ec,_0x5158f3);}function _0x36ca64(_0x42d048,_0x8d001f,_0x5dad48,_0xf4f813){return _0x3ebb(_0x42d048-_0x176b17._0x57372f,_0x5dad48);}try{const _0x36c6c2=getCoreBackend();yield apiCall(_0x36c6c2[_0xc481a3(_0x30de78._0x2927b7,_0x30de78._0x7c961e,_0x30de78._0x34568e,0x286)+'r'],_0x3f6971,_0xb75b5d);}catch(_0x43e91a){yield taskErrorSaga(_0x36ca64(0x368,_0x30de78._0x5d88df,_0x30de78._0x198340,_0x30de78._0x4c19c9)+_0xc481a3(0x283,_0x30de78._0x3d7114,_0x30de78._0x5d863a,0x28d),_0x43e91a);}}export function*unblockMemberSaga({payload:{memberId:_0xf916e8,roomId:_0x2b2f1c}}){const _0x3ef12d={_0x5816a2:0xa1,_0x7c1566:0xab,_0x5b6964:0xbf,_0x3cd207:0xb3,_0x361f26:0xc3,_0x43ada1:0xbd,_0x551872:0xb1,_0x3b4337:0xaf,_0x265840:0x2b5,_0x555e83:0x2b2,_0x4c144c:0x2bb};function _0x224795(_0x38c539,_0x2fe50a,_0x1a8832,_0x37f2c9){return _0x3ebb(_0x37f2c9-0x13f,_0x38c539);}function _0x3e9f5f(_0x31e867,_0x570b60,_0x4ed017,_0x4a7fd9){return _0x3ebb(_0x4a7fd9- -0x234,_0x31e867);}try{const _0x121a7b=getCoreBackend();yield apiCall(_0x121a7b[_0x3e9f5f(-_0x3ef12d._0x5816a2,-0xad,-0xaa,-_0x3ef12d._0x7c1566)+_0x3e9f5f(-_0x3ef12d._0x5b6964,-_0x3ef12d._0x3cd207,-_0x3ef12d._0x361f26,-_0x3ef12d._0x43ada1)],_0x2b2f1c,_0xf916e8);}catch(_0x305ad7){yield taskErrorSaga(_0x3e9f5f(-0xb3,-_0x3ef12d._0x551872,-_0x3ef12d._0x3b4337,-_0x3ef12d._0x7c1566)+_0x224795(0x2c3,_0x3ef12d._0x265840,_0x3ef12d._0x555e83,_0x3ef12d._0x4c144c),_0x305ad7);}}export function initBlockedMembersSubscription(){const _0x29e96f={_0x4c8445:0x4a5,_0x1fb8a7:0x4a4,_0x2683c8:0x4b4,_0x542191:0x4af,_0x2e22b:0x4ba,_0x5948c9:0x4b7,_0xb4aa89:0x4b8,_0x2980ad:0x4ad,_0x105f96:0x4ae},_0x351c13={_0x2e48d2:0x338};function _0x962818(_0x18d7ea,_0x192bac,_0x4ac535,_0x22d365){return _0x3ebb(_0x4ac535-_0x351c13._0x2e48d2,_0x22d365);}function _0x5c9e4b(_0x509685,_0x4b64eb,_0x515a47,_0x7795ad){return _0x3ebb(_0x7795ad-0x329,_0x4b64eb);}return apiTakeEvery([getCoreBackend()[_0x5c9e4b(_0x29e96f._0x4c8445,_0x29e96f._0x1fb8a7,_0x29e96f._0x2683c8,_0x29e96f._0x542191)+_0x962818(0x4b3,_0x29e96f._0x2e22b,0x4b8,0x4b2)+_0x962818(_0x29e96f._0x5948c9,_0x29e96f._0xb4aa89,_0x29e96f._0x2980ad,_0x29e96f._0x105f96)]],_0x3ed8ee=>{const _0x593785={};for(const {memberId:_0x403a5c}of _0x3ed8ee){_0x593785[_0x403a5c]=!![];}return put(setBlockedMembers({'blockedByMemberId':_0x593785}));});}