OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / app / saga / app-destruct.saga.js

1 lines · javascript ref:
(function(_0x417ad2,_0x149ce2){const _0x45d130={_0x9dac1f:0x502,_0x4a17c6:0x500,_0x207616:0x4f9,_0x1dcd1f:0x38,_0x51bd5c:0x3b,_0x1d6afb:0x34,_0xb5a232:0x3b,_0x346a96:0x2b,_0x54b48e:0x32,_0xa6b52f:0x34,_0x558a79:0x3f,_0x29a635:0x4b,_0x4d144a:0x47,_0x1e0a3a:0x45,_0x454f7b:0x508,_0x2a5d86:0x39,_0x552d85:0x38,_0x2feadf:0x2f,_0x4305fe:0x35,_0x10479a:0x40,_0x50f19b:0x3f,_0x513d90:0x43,_0x7bb98c:0x33,_0x3a113f:0x36,_0xd94ddf:0x4ff,_0x5bbd01:0x4fc,_0x458876:0x50b,_0x289044:0x501,_0x5597c1:0x50c,_0x528161:0x504,_0x2feac7:0x4fb},_0x594170={_0x4a54dd:0x1a8},_0x270ad9={_0x203c24:0x31c};function _0x4945bf(_0x4f0545,_0x15089f,_0x1a43f7,_0x160428){return _0x40d6(_0x4f0545-_0x270ad9._0x203c24,_0x15089f);}const _0x24bc37=_0x417ad2();function _0x536ae2(_0x450ee1,_0x4e23de,_0x572a57,_0x466cee){return _0x40d6(_0x466cee- -_0x594170._0x4a54dd,_0x4e23de);}while(!![]){try{const _0x247b87=parseInt(_0x4945bf(_0x45d130._0x9dac1f,0x501,_0x45d130._0x4a17c6,_0x45d130._0x207616))/(-0x3*-0x9e6+0x8f3+-0x26a4)*(-parseInt(_0x536ae2(_0x45d130._0x1dcd1f,_0x45d130._0x51bd5c,_0x45d130._0x1d6afb,_0x45d130._0xb5a232))/(0x5bf+0x1*0x17f2+-0x1daf))+-parseInt(_0x536ae2(_0x45d130._0x346a96,_0x45d130._0x1d6afb,_0x45d130._0x54b48e,_0x45d130._0xa6b52f))/(0xec8+0x312+-0x11d7)*(-parseInt(_0x536ae2(_0x45d130._0x558a79,_0x45d130._0x29a635,_0x45d130._0x4d144a,_0x45d130._0x1e0a3a))/(-0x62*0x3d+-0x89e+0x1ffc*0x1))+-parseInt(_0x4945bf(_0x45d130._0x4a17c6,0x4fc,0x4fb,_0x45d130._0x454f7b))/(-0x4*0xc5+0x3*-0x50a+-0x1*-0x1237)*(-parseInt(_0x536ae2(_0x45d130._0x2a5d86,_0x45d130._0x552d85,_0x45d130._0x2feadf,_0x45d130._0x4305fe))/(-0x19d7+0xff3+0x9ea))+parseInt(_0x536ae2(_0x45d130._0x29a635,_0x45d130._0x10479a,_0x45d130._0x50f19b,_0x45d130._0x513d90))/(0x5c8+0x1*0x1825+-0x1de6)*(-parseInt(_0x536ae2(_0x45d130._0x7bb98c,_0x45d130._0x3a113f,0x3f,0x36))/(0xd*-0x6f+-0x230a+0x28b5))+parseInt(_0x4945bf(0x4fc,0x4fa,_0x45d130._0xd94ddf,_0x45d130._0x5bbd01))/(-0x6a1+-0x13*-0x29+0x39f)+parseInt(_0x4945bf(_0x45d130._0x458876,_0x45d130._0x289044,_0x45d130._0x5597c1,_0x45d130._0x528161))/(0x4*0x847+0x1ec*0x8+-0x3072)+-parseInt(_0x4945bf(_0x45d130._0x289044,_0x45d130._0xd94ddf,0x509,_0x45d130._0x2feac7))/(-0x1*0x139d+-0x1*0x1aec+-0x16*-0x21e);if(_0x247b87===_0x149ce2)break;else _0x24bc37['push'](_0x24bc37['shift']());}catch(_0x1e3163){_0x24bc37['push'](_0x24bc37['shift']());}}}(_0x3fbb,0x5*-0x838b+-0x2b*0x675b+0x1d30d4));function _0x3fbb(){const _0x509b9e=['7xilcQl','IS_RN_REBO','appDestruc','DESTRUCTIN','true','7PyXtCO','selfDestru','4aFybzN','(((.+)+)+)','1310750vXBaLF','toString','2289738MZfFig','3215076AtPDsb','4699920IyOTEQ','constructo','6989913SonIoD','tSaga','search','118762nhFnCs','5ZzULIQ','6564085UnuSAI'];_0x3fbb=function(){return _0x509b9e;};return _0x3fbb();}const _0x202802=(function(){let _0x1a02e9=!![];return function(_0x1bfdba,_0x377d3a){const _0x5d359a=_0x1a02e9?function(){if(_0x377d3a){const _0x11e272=_0x377d3a['apply'](_0x1bfdba,arguments);return _0x377d3a=null,_0x11e272;}}:function(){};return _0x1a02e9=![],_0x5d359a;};}()),_0x15f076=_0x202802(this,function(){const _0x1ee0c8={_0x46bcd6:0x308,_0x58a459:0x317,_0x5ef51f:0x30f,_0x57beeb:0x300,_0x4cdef4:0x2fb,_0x533208:0x2f3,_0x3d60cf:0x27f,_0x371dcb:0x279,_0x5a6a43:0x27a,_0x327354:0x30a,_0x3e04e2:0x306,_0x47871c:0x303},_0x21b850={_0x22710d:0x121},_0x34f82b={_0x180e08:0xa0};function _0x370788(_0x4aced8,_0x4aae98,_0x100ad9,_0x1cff8e){return _0x40d6(_0x4aae98-_0x34f82b._0x180e08,_0x4aced8);}function _0xf9e023(_0x4c740f,_0x4fc6cc,_0x2964fe,_0x2da06e){return _0x40d6(_0x2da06e-_0x21b850._0x22710d,_0x4fc6cc);}return _0x15f076['toString']()['search'](_0xf9e023(0x307,_0x1ee0c8._0x46bcd6,_0x1ee0c8._0x58a459,_0x1ee0c8._0x5ef51f)+'+$')[_0xf9e023(_0x1ee0c8._0x57beeb,_0x1ee0c8._0x4cdef4,_0x1ee0c8._0x533208,0x2fc)]()[_0x370788(0x27c,_0x1ee0c8._0x3d60cf,_0x1ee0c8._0x371dcb,_0x1ee0c8._0x5a6a43)+'r'](_0x15f076)[_0xf9e023(_0x1ee0c8._0x327354,_0x1ee0c8._0x3e04e2,0x308,_0x1ee0c8._0x47871c)]('(((.+)+)+)'+'+$');});_0x15f076();import{call,getContext,put,select,takeLatest}from'redux-saga/effects';function _0x40d6(_0x299093,_0x2d5394){const _0x19b5e5=_0x3fbb();return _0x40d6=function(_0x5658cb,_0xda82e){_0x5658cb=_0x5658cb-(-0x3f1*0x9+0x214d+0x1*0x407);let _0x10c747=_0x19b5e5[_0x5658cb];return _0x10c747;},_0x40d6(_0x299093,_0x2d5394);}import{getAppStatus,selfDestruct,setAppStatus}from'../app.reducer';import{APP_STATUS,SELF_DESTRUCT_CONFIRMATION}from'../app.constants';import{getPearBackend}from'../../../backend';import{clearLocalStorage,setLocalStorage}from'../../lib/localStorage';import{APP_CONTEXT_KEY,ENV_CONTEXT_KEY,LOCAL_STORAGE_CONTEXT_KEY}from'../../constants';import{taskErrorSaga}from'../../error';export function*appDestructSaga(){const _0x3b1a0d={_0x58541f:0x1c8,_0x35357e:0x1cd,_0x333f9b:0x1c7,_0x1bd746:0x1c4,_0x194f36:0x1cb,_0xd24ecc:0x1c9,_0x389af6:0x1d6,_0x55a078:0x1c8,_0x1bd79e:0x1c6,_0x1f8b56:0x1c9,_0x43e69e:0x1cd,_0x52863a:0x1d0,_0x1dcbab:0x91,_0xaeebea:0x80,_0x1a7d8e:0x84,_0x323398:0x8a,_0x34d14c:0x87,_0x461e76:0x8f},_0x3badb4={_0x17fe09:0x21},_0x3980a1={_0x541dfd:0x270};yield takeLatest(selfDestruct,function*_0x5c022b(){function _0x1de340(_0x572ca3,_0x2d851f,_0x27d018,_0x1ffd31){return _0x40d6(_0x1ffd31- -_0x3980a1._0x541dfd,_0x572ca3);}function _0x2872bc(_0x343c00,_0x2771ff,_0x503435,_0x284e8b){return _0x40d6(_0x343c00- -_0x3badb4._0x17fe09,_0x2771ff);}const _0x3ecacb=yield select(getAppStatus);try{yield put(setAppStatus(APP_STATUS[_0x2872bc(_0x3b1a0d._0x58541f,_0x3b1a0d._0x35357e,_0x3b1a0d._0x333f9b,_0x3b1a0d._0x1bd746)+'G']));const _0x13bdde=getPearBackend();yield call([_0x13bdde,_0x13bdde[_0x2872bc(_0x3b1a0d._0x194f36,_0x3b1a0d._0xd24ecc,_0x3b1a0d._0x389af6,_0x3b1a0d._0x55a078)+'ct']],{'confirm':SELF_DESTRUCT_CONFIRMATION});const {isMobile:_0x59f844}=yield getContext(ENV_CONTEXT_KEY);if(_0x59f844)try{yield clearLocalStorage();try{const {keys:_0x50123f}=yield getContext(LOCAL_STORAGE_CONTEXT_KEY);yield call(setLocalStorage,_0x50123f[_0x2872bc(_0x3b1a0d._0x1bd79e,_0x3b1a0d._0x35357e,0x1bf,0x1bc)+'OT'],_0x2872bc(_0x3b1a0d._0x1f8b56,0x1ce,_0x3b1a0d._0x43e69e,_0x3b1a0d._0x52863a));}catch(_0x2dee38){}const {safeReload:_0xab6452}=yield getContext(APP_CONTEXT_KEY);yield call(_0xab6452);}catch(_0x46cf21){}}catch(_0x45f1c4){yield taskErrorSaga(_0x1de340(-_0x3b1a0d._0x1dcbab,-_0x3b1a0d._0xaeebea,-_0x3b1a0d._0x1a7d8e,-0x88)+_0x1de340(-_0x3b1a0d._0x323398,-_0x3b1a0d._0x34d14c,-_0x3b1a0d._0x461e76,-_0x3b1a0d._0x461e76),_0x45f1c4),yield put(setAppStatus(_0x3ecacb));}});}