OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-deps / @holepunchto / keet-store / store / debug / debug.saga.js

1 lines · javascript ref:
(function(_0x970485,_0x174c48){const _0x559cef={_0x2e9c3e:0x165,_0xfb6d5a:0x161,_0x5c03d7:0x172,_0x4a3e86:0x590,_0x3b8a3f:0x581,_0x1495ef:0x57e,_0x310d9f:0x58a,_0x2c1cee:0x573,_0x2b0477:0x57c,_0x4d237e:0x154,_0x236202:0x145,_0x3601cd:0x14f,_0x440537:0x584,_0x20c556:0x594,_0x1b1b51:0x57f,_0x4a73ad:0x597,_0x5584f8:0x15f,_0x142b75:0x15a,_0x3548cd:0x15d,_0x435ec8:0x162,_0x1d242e:0x152,_0x3c8d02:0x15d,_0x36dd87:0x151,_0x57b614:0x148,_0x1743b4:0x141,_0x509ce2:0x131,_0x1747c4:0x558,_0x2f0644:0x549,_0xe65f28:0x139,_0x3164c7:0x153,_0x5ecca0:0x150,_0x98d02b:0x154},_0x5efbd9={_0x5641c7:0x3d0},_0x402173={_0x331c57:0x4b};function _0x3dbd84(_0x3bb888,_0x40dd2d,_0x183714,_0x397255){return _0x378e(_0x183714- -_0x402173._0x331c57,_0x40dd2d);}const _0x1bea86=_0x970485();function _0x4bab86(_0x23d501,_0x40a8b6,_0x5569b9,_0x230d8c){return _0x378e(_0x5569b9-_0x5efbd9._0x5641c7,_0x230d8c);}while(!![]){try{const _0x70e5ad=-parseInt(_0x3dbd84(0x153,_0x559cef._0x2e9c3e,_0x559cef._0xfb6d5a,_0x559cef._0x5c03d7))/(-0x4*-0x61a+-0x2127+0x8c0)*(-parseInt(_0x4bab86(0x57f,_0x559cef._0x4a3e86,_0x559cef._0x3b8a3f,_0x559cef._0x1495ef))/(0x21cf+-0x330+0x1cd*-0x11))+-parseInt(_0x4bab86(0x562,_0x559cef._0x310d9f,_0x559cef._0x2c1cee,_0x559cef._0x2b0477))/(0x2421+-0x7ce+0x12e*-0x18)*(-parseInt(_0x3dbd84(0x15a,_0x559cef._0x4d237e,_0x559cef._0x236202,_0x559cef._0x3601cd))/(0x17a1+0x3a8+-0x1b45))+parseInt(_0x4bab86(_0x559cef._0x440537,_0x559cef._0x20c556,_0x559cef._0x1b1b51,_0x559cef._0x4a73ad))/(-0x3*-0x2ab+0x9a3*0x3+-0x24e5)*(parseInt(_0x3dbd84(_0x559cef._0x5584f8,_0x559cef._0x142b75,0x149,_0x559cef._0x3548cd))/(0x12e9+-0x237e+0x6d*0x27))+parseInt(_0x3dbd84(_0x559cef._0x435ec8,_0x559cef._0x1d242e,_0x559cef._0x3c8d02,_0x559cef._0x36dd87))/(-0x556+-0x211e*0x1+-0x1*-0x267b)+parseInt(_0x3dbd84(0x130,_0x559cef._0x57b614,_0x559cef._0x1743b4,_0x559cef._0x509ce2))/(-0xbc9*0x1+-0x4*-0x645+-0xd43)*(-parseInt(_0x4bab86(0x53f,_0x559cef._0x1747c4,_0x559cef._0x1747c4,_0x559cef._0x2f0644))/(-0x4*0x487+-0x16b+0x1390))+-parseInt(_0x3dbd84(_0x559cef._0xe65f28,_0x559cef._0x3164c7,_0x559cef._0x1d242e,_0x559cef._0x435ec8))/(0x1014+-0xb*-0x385+0x1*-0x36c1)+parseInt(_0x3dbd84(0x174,_0x559cef._0x5ecca0,_0x559cef._0x2e9c3e,_0x559cef._0x98d02b))/(0x1*-0x253a+-0x139c+0x38e1);if(_0x70e5ad===_0x174c48)break;else _0x1bea86['push'](_0x1bea86['shift']());}catch(_0x235c76){_0x1bea86['push'](_0x1bea86['shift']());}}}(_0x241b,0xc4*0x166c+0x846ab*-0x2+0xe6a08));const _0x40d328=(function(){const _0x4145dc={_0x5d9cf7:0x333,_0x207715:0x335,_0x536fdd:0x32c};let _0x54d93b=!![];return function(_0x547fbe,_0x1aac62){const _0x35d7dc={_0x55eb96:0x1a3},_0x31169a=_0x54d93b?function(){function _0x17c2f0(_0x3ba175,_0x3652,_0x33c0f7,_0x3d7fb8){return _0x378e(_0x3652-_0x35d7dc._0x55eb96,_0x3d7fb8);}if(_0x1aac62){const _0x1c3882=_0x1aac62[_0x17c2f0(_0x4145dc._0x5d9cf7,_0x4145dc._0x207715,0x323,_0x4145dc._0x536fdd)](_0x547fbe,arguments);return _0x1aac62=null,_0x1c3882;}}:function(){};return _0x54d93b=![],_0x31169a;};}()),_0x573938=_0x40d328(this,function(){const _0x1e609d={_0x42d791:0x22f,_0x568e9b:0x21b,_0x1d4221:0x203,_0xd150a7:0x230,_0xb05cc9:0x1fb,_0x5b8fa1:0x203,_0x5acca2:0x1f2,_0x57abdf:0x1ed,_0x4ae9f9:0x79,_0x4aa728:0x66,_0x59c108:0x67,_0x2f6f76:0x1e9,_0x45e829:0x1e7,_0x427484:0x220,_0x2b76ec:0x21f,_0x4f8f32:0x213,_0x5f4a75:0x215,_0x351939:0x203},_0x211df2={_0x31ba18:0x6e},_0x511756={_0x429166:0x226};function _0x3d8088(_0x577d34,_0x42dac1,_0x41e6f2,_0x22887c){return _0x378e(_0x577d34- -_0x511756._0x429166,_0x41e6f2);}function _0x33966a(_0x2637bf,_0x4643ff,_0x3fdbad,_0x56083b){return _0x378e(_0x4643ff-_0x211df2._0x31ba18,_0x56083b);}return _0x573938[_0x33966a(_0x1e609d._0x42d791,_0x1e609d._0x568e9b,_0x1e609d._0x1d4221,_0x1e609d._0xd150a7)]()['search'](_0x33966a(_0x1e609d._0xb05cc9,_0x1e609d._0x5b8fa1,_0x1e609d._0x5acca2,_0x1e609d._0x57abdf)+'+$')[_0x3d8088(-_0x1e609d._0x4ae9f9,-_0x1e609d._0x4aa728,-_0x1e609d._0x59c108,-_0x1e609d._0x4aa728)]()[_0x33966a(0x1f2,0x1f4,_0x1e609d._0x2f6f76,_0x1e609d._0x45e829)+'r'](_0x573938)[_0x33966a(0x21e,_0x1e609d._0x427484,_0x1e609d._0x2b76ec,_0x1e609d._0x4f8f32)](_0x33966a(_0x1e609d._0x5f4a75,_0x1e609d._0x351939,0x20b,0x201)+'+$');});_0x573938();import{put,all,call,select,takeLatest}from'redux-saga/effects';import{lockDebug,unlockDebug,toggleDebug,toggleOffline,toggleSuspend,setDebugFlags,fetchDebugFlags,updateDebugFlag,getIsSuspended,getIsDebugUnlocked,getIsOffline,resume,suspend,startAudit,setAuditReport,setAuditError,setStartAudit,upgradePrivateProfile,subscribeProfileVersionCmd,setProfileVersion,setLocalDbCompacting,startLocalDbCompact,setLocalDbCompactSuccess,setLocalDbCompactError}from'./debug.reducer';import{uiAutomationSaga}from'./ui-automation.saga';import{DEBUG_OFFLINE_FLAGS}from'./debug.constants';function _0x241b(){const _0x389ea4=['gFlag','130wVdlcw','1322783IpkWTd','4BPmgde','search','ags','gFlagSaga','upgradePro','corrupt','constructo','startAudit','15564519dVISqx','subscribeR','getDebugFl','rofileVers','8HcSLgp','FlagsSaga','compact','suspend','22412yENcqX','droppedBit','apply','ineSaga','60738FijOap','(((.+)+)+)','upgradeRoo','droppedTre','droppedBlo','version','cks','Saga','oomVersion','11681900hWSfHh','toggleSusp','message','fileSaga','updateDebu','toggleOffl','174XpzvPI','map','compactSag','profileId','subscribeP','11709628tszXBe','resume','fetchDebug','ionSaga','750641edqtcF','toString'];_0x241b=function(){return _0x389ea4;};return _0x241b();}import{getCoreBackend}from'../../backend';import{apiCall}from'../../api/core';import{taskErrorSaga}from'../error';import{unlockStats}from'../stats';import{getMyIdentity}from'../identity';import{apiSubscribeSaga}from'../lib';export function*fetchDebugFlagsSaga(){const _0xc69e9b={_0x5b540e:0x549,_0x24ac40:0x543,_0x3816fc:0x536,_0x96e71f:0x54a,_0xc24fec:0x220,_0x3bdfbd:0x206,_0x442143:0x20c,_0x3046af:0x1f6,_0x33a5c9:0x563,_0x308026:0x569,_0x5d1711:0x1f7,_0x32e36c:0x201,_0xf5be8d:0x1f4},_0x5172b5={_0x49ebf5:0x38e},_0x365376={_0x76bb57:0x3b9};function _0xd9d194(_0x21ce5e,_0x4fe65a,_0x32695b,_0x5e1bf2){return _0x378e(_0x4fe65a-_0x365376._0x76bb57,_0x5e1bf2);}function _0xf631c(_0x56f3dd,_0x415216,_0x145bf8,_0x35030e){return _0x378e(_0x145bf8- -_0x5172b5._0x49ebf5,_0x56f3dd);}try{const _0x95bf89=getCoreBackend(),_0x2dbdde=yield apiCall(_0x95bf89[_0xd9d194(_0xc69e9b._0x5b540e,_0xc69e9b._0x24ac40,_0xc69e9b._0x3816fc,_0xc69e9b._0x96e71f)+_0xf631c(-_0xc69e9b._0xc24fec,-_0xc69e9b._0x3bdfbd,-_0xc69e9b._0x442143,-_0xc69e9b._0x3046af)]);yield put(setDebugFlags(_0x2dbdde));}catch(_0x4d8eba){yield taskErrorSaga(_0xd9d194(0x573,_0xc69e9b._0x33a5c9,0x56d,_0xc69e9b._0x308026)+_0xf631c(-_0xc69e9b._0x5d1711,-_0xc69e9b._0x3046af,-_0xc69e9b._0x32e36c,-_0xc69e9b._0xf5be8d),_0x4d8eba);}}export function*toggleOfflineSaga(){const _0xf06cf7={_0x51fb53:0x501,_0x52d390:0x512,_0x4d0227:0x508,_0x565a7e:0x501,_0x14be97:0x4f1,_0x116b76:0x4eb,_0x3bb008:0x4f2,_0x3d013b:0x504},_0x50cc36={_0x1de241:0xc0},_0x448f78={_0x45f815:0x35f};function _0x1fad11(_0x58457e,_0x1a9ac0,_0x1ecfa4,_0x583a7f){return _0x378e(_0x1ecfa4-_0x448f78._0x45f815,_0x583a7f);}function _0x1d8940(_0xfd331e,_0x38e812,_0x25fc6a,_0x1c0b5d){return _0x378e(_0xfd331e- -_0x50cc36._0x1de241,_0x25fc6a);}try{const _0x4ea1e7=getCoreBackend(),_0xea6b8=yield select(getIsOffline),_0xd7c3bc=DEBUG_OFFLINE_FLAGS;yield all(_0xd7c3bc[_0x1fad11(_0xf06cf7._0x51fb53,_0xf06cf7._0x52d390,0x503,0x4fc)](_0x2930e5=>apiCall(_0x4ea1e7[_0x1fad11(0x516,0x4ea,0x500,0x4f3)+_0x1d8940(0xee,0x105,0xd5,0xde)],_0x2930e5,!_0xea6b8))),yield call(fetchDebugFlagsSaga);}catch(_0x5b8dce){yield taskErrorSaga(_0x1fad11(_0xf06cf7._0x4d0227,0x511,_0xf06cf7._0x565a7e,_0xf06cf7._0x14be97)+_0x1fad11(_0xf06cf7._0x116b76,0x4ef,_0xf06cf7._0x3bb008,_0xf06cf7._0x3d013b),_0x5b8dce);}}function _0x378e(_0x378ebb,_0xfe8886){const _0x21abad=_0x241b();return _0x378e=function(_0x29e10c,_0xcde70b){_0x29e10c=_0x29e10c-(-0x26c0+-0xbec*-0x3+0x47e);let _0x7c0b25=_0x21abad[_0x29e10c];return _0x7c0b25;},_0x378e(_0x378ebb,_0xfe8886);}export function*toggleSuspendSaga(){const _0x3284d5={_0x1cbb60:0x6d,_0xf11837:0x56,_0x225eb3:0x40,_0x56647a:0x2f,_0x2a054c:0x42,_0x32d1e5:0x3c,_0x5be471:0x4b,_0x3358fa:0x21e,_0x3e501d:0x220,_0x49be23:0x20a,_0x3b0a03:0x20e},_0x475c3b={_0x1d7a2d:0x82},_0x43c14c={_0x21413a:0x153};function _0x3a5ed9(_0x5e4d75,_0x2621f1,_0x17fc3a,_0x253747){return _0x378e(_0x17fc3a- -_0x43c14c._0x21413a,_0x2621f1);}function _0x141e6a(_0x56e5ec,_0xc6c8ee,_0x2fe96f,_0x462d46){return _0x378e(_0xc6c8ee-_0x475c3b._0x1d7a2d,_0x462d46);}try{const _0x406c5f=getCoreBackend(),_0x41587e=yield select(getIsSuspended);_0x41587e?(yield put(resume()),yield apiCall(_0x406c5f[_0x3a5ed9(0x6c,_0x3284d5._0x1cbb60,_0x3284d5._0xf11837,_0x3284d5._0x225eb3)])):(yield put(suspend()),yield apiCall(_0x406c5f[_0x3a5ed9(_0x3284d5._0x56647a,_0x3284d5._0x2a054c,_0x3284d5._0x32d1e5,_0x3284d5._0x5be471)]));}catch(_0x4606fa){yield taskErrorSaga(_0x141e6a(_0x3284d5._0x3358fa,_0x3284d5._0x3e501d,_0x3284d5._0x49be23,_0x3284d5._0x3b0a03)+'endSaga',_0x4606fa);}}export function*toggleDebugSaga(){const _0x281c55=yield select(getIsDebugUnlocked);_0x281c55?yield put(lockDebug()):yield put(unlockDebug());}export function*updateDebugFlagSaga({payload:_0x3501b5}){const _0x3ede13={_0xbaabed:0x45,_0x471eeb:0x3b,_0x323d35:0x1f,_0x2decca:0x1b,_0xa45a2b:0x1f,_0x47b8eb:0x2f,_0x554c4e:0x3e,_0x52ca62:0x4a,_0x1a13bc:0x3a,_0x2dfd00:0x3d},_0x38a545={_0x863163:0x27b},_0x949c59={_0x1a4ed1:0x1cd};function _0x26ef33(_0x58a90e,_0x583d28,_0x53c26f,_0x33607e){return _0x378e(_0x58a90e- -_0x949c59._0x1a4ed1,_0x33607e);}function _0x779366(_0x37463c,_0x204bd3,_0x591369,_0x5bfa3c){return _0x378e(_0x5bfa3c- -_0x38a545._0x863163,_0x591369);}try{const {key:_0x30e652,value:_0x22d180}=_0x3501b5,_0x27f5b3=getCoreBackend();yield apiCall(_0x27f5b3[_0x26ef33(-0x2c,-_0x3ede13._0xbaabed,-0x30,-_0x3ede13._0x471eeb)+_0x26ef33(-_0x3ede13._0x323d35,-_0x3ede13._0x2decca,-0x7,-_0x3ede13._0xa45a2b)],_0x30e652,_0x22d180),yield call(fetchDebugFlagsSaga);}catch(_0x36036d){yield taskErrorSaga(_0x26ef33(-0x2c,-_0x3ede13._0x47b8eb,-_0x3ede13._0x554c4e,-_0x3ede13._0xbaabed)+_0x26ef33(-_0x3ede13._0x52ca62,-_0x3ede13._0x1a13bc,-_0x3ede13._0x2dfd00,-0x44),_0x36036d);}}export function*startAuditSaga(){const _0x28b9a7={_0x1f10e4:0x366,_0x5ee91f:0x386,_0x2e2696:0x360,_0xfe64ac:0x36f,_0x54c3cb:0xc3,_0x29b677:0xbc,_0x1b381f:0xba,_0x3f7582:0xcd,_0x50300b:0xd4,_0x181e7f:0xd1,_0x392396:0x366,_0x320471:0x34f,_0x37d4f5:0x363,_0x4808bb:0x366,_0x3e9fcb:0x36a,_0x303755:0x363,_0x4d206b:0x359,_0x19390f:0x35f,_0x478f53:0x352,_0xbc7211:0x365,_0x51b00a:0xc1,_0x1cd400:0xb6},_0x31fbe8={_0x5df206:0x1de},_0x319b36={_0x52d599:0xcd};function _0x142d84(_0x439209,_0x1e4269,_0x4a8e49,_0x4387b7){return _0x378e(_0x4a8e49- -_0x319b36._0x52d599,_0x4387b7);}function _0x2695e9(_0x2e552a,_0x2ec828,_0x14005b,_0x13c875){return _0x378e(_0x13c875-_0x31fbe8._0x5df206,_0x2ec828);}try{const _0x8a04a3=getCoreBackend();yield put(setStartAudit());const _0x426aec=yield apiCall(_0x8a04a3['audit']);let _0x1813c0=0x17c9+-0x1d9d+0x5d4*0x1,_0x506195=0x212f+-0x6d*0x17+-0x1764,_0x49b166=-0xf*0x30+-0x159+0x429;for(const {audit:_0x2e719c}of _0x426aec){(_0x2e719c[_0x2695e9(_0x28b9a7._0x1f10e4,_0x28b9a7._0x5ee91f,_0x28b9a7._0x2e2696,_0x28b9a7._0xfe64ac)+'s']||_0x2e719c[_0x142d84(_0x28b9a7._0x54c3cb,0xd7,0xcb,_0x28b9a7._0x29b677)+_0x142d84(_0x28b9a7._0x29b677,_0x28b9a7._0x1b381f,_0x28b9a7._0x3f7582,0xd6)]||_0x2e719c[_0x142d84(_0x28b9a7._0x50300b,0xe1,0xca,_0x28b9a7._0x181e7f)+'eNodes']||_0x2e719c[_0x2695e9(_0x28b9a7._0x392396,_0x28b9a7._0x320471,0x37a,_0x28b9a7._0x37d4f5)])&&(_0x1813c0+=0x2067+-0x29b*0x1+-0x1dcb,_0x2e719c[_0x2695e9(0x356,_0x28b9a7._0x4808bb,_0x28b9a7._0x3e9fcb,_0x28b9a7._0x303755)]?_0x49b166+=0x2338+-0x1e13+0x149*-0x4:_0x506195+=-0x22*-0x52+0x1*0x1655+0x8*-0x427);}yield put(setAuditReport({'report':_0x426aec,'issues':_0x1813c0,'dropped':_0x506195,'corrupt':_0x49b166}));}catch(_0x2c6d9a){yield put(setAuditError(_0x2c6d9a['message'])),yield taskErrorSaga(_0x2695e9(_0x28b9a7._0x4d206b,_0x28b9a7._0x19390f,_0x28b9a7._0x478f53,_0x28b9a7._0xbc7211)+_0x142d84(_0x28b9a7._0x51b00a,0xc5,0xce,_0x28b9a7._0x1cd400),_0x2c6d9a);}}export function*startLocalDbCompactSaga(){const _0x3405d1={_0x393781:0xcc,_0x4a43b6:0xe0,_0x555d5f:0xbb,_0x3e73f0:0xe9,_0x58045d:0xc7,_0x41b6d7:0xc8,_0xa086bd:0xc0},_0x1f8e5d={_0x48a5ae:0xae},_0xe30c8c={_0x429689:0x271};function _0x24daa2(_0x3052c3,_0x59f788,_0x22886b,_0x397126){return _0x378e(_0x22886b- -_0xe30c8c._0x429689,_0x397126);}function _0x686f34(_0x47751d,_0x12b8ec,_0x5eb0ff,_0x15b967){return _0x378e(_0x5eb0ff- -_0x1f8e5d._0x48a5ae,_0x47751d);}try{const _0x26ad0f=getCoreBackend();yield put(setLocalDbCompacting()),yield apiCall(_0x26ad0f[_0x686f34(_0x3405d1._0x393781,0xf2,_0x3405d1._0x4a43b6,0xde)]),yield put(setLocalDbCompactSuccess());}catch(_0x5ae022){yield put(setLocalDbCompactError(_0x5ae022[_0x24daa2(-_0x3405d1._0x555d5f,-_0x3405d1._0x3e73f0,-0xd2,-_0x3405d1._0x58045d)])),yield taskErrorSaga(_0x24daa2(-_0x3405d1._0x41b6d7,-_0x3405d1._0xa086bd,-0xcc,-0xc6)+'a',_0x5ae022);}}export function*upgradeProfileSaga(){const _0x4f3e51={_0x125c70:0x2c8,_0x64dde5:0x2d7,_0x4517b9:0x2ed,_0xe6ebe2:0x2de,_0x4b1702:0x2d3,_0x7ea628:0x2e1,_0x318955:0x2dd,_0x3fcbfd:0x2cd,_0x4e1939:0x2b4,_0x1c58d3:0x2c2,_0x13cff0:0x2bc},_0x561923={_0xd15f9e:0x12d};function _0x44731f(_0x13ca6c,_0x2b40a5,_0x719669,_0x21ec02){return _0x378e(_0x13ca6c-_0x561923._0xd15f9e,_0x719669);}function _0x5a01a8(_0x2adacd,_0x178124,_0x5b3a15,_0x25096d){return _0x378e(_0x178124-0x141,_0x5b3a15);}try{const _0x1a6d9c=getCoreBackend(),_0x4aae44=yield select(getMyIdentity);if(!_0x4aae44)return;yield call(_0x1a6d9c[_0x5a01a8(_0x4f3e51._0x125c70,_0x4f3e51._0x64dde5,_0x4f3e51._0x4517b9,_0x4f3e51._0xe6ebe2)+'m'],_0x4aae44[_0x44731f(_0x4f3e51._0x4b1702,0x2d2,_0x4f3e51._0x7ea628,_0x4f3e51._0x318955)]);}catch(_0x47a875){yield taskErrorSaga(_0x5a01a8(0x2b5,0x2c5,0x2ae,0x2d0)+_0x44731f(_0x4f3e51._0x3fcbfd,_0x4f3e51._0x4e1939,_0x4f3e51._0x1c58d3,_0x4f3e51._0x13cff0),_0x47a875);}}export function*subscribeProfileVersionSaga({payload:_0x562683}){const _0x46c260={_0x287d2e:0x45a,_0x522019:0x44c,_0x5d87d9:0x444,_0x5c988b:0x46b,_0x5e0abe:0x449,_0x564380:0x45b,_0x1f7029:0x457,_0x43722d:0x461,_0x1f747e:0x452},_0x40852e={_0x49d28c:0x2c1},_0x2d07d0={_0x2cefe6:0x2bb};if(!_0x562683)return;function _0x5bbf0f(_0x527a42,_0x29c81a,_0x3d6ba3,_0x49b4d2){return _0x378e(_0x3d6ba3-_0x2d07d0._0x2cefe6,_0x527a42);}const _0x28b68c=yield select(getMyIdentity);if(!_0x28b68c)return;const _0x335db7=getCoreBackend();function _0x233b63(_0xce848d,_0x10d8ce,_0x401dc8,_0x244433){return _0x378e(_0xce848d-_0x40852e._0x49d28c,_0x401dc8);}yield apiSubscribeSaga([_0x335db7[_0x5bbf0f(_0x46c260._0x287d2e,_0x46c260._0x522019,_0x46c260._0x5d87d9,0x431)+_0x233b63(0x45d,_0x46c260._0x5c988b,_0x46c260._0x5e0abe,_0x46c260._0x564380)],_0x28b68c[_0x5bbf0f(0x464,_0x46c260._0x1f7029,_0x46c260._0x43722d,_0x46c260._0x1f747e)]],_0xfbe708=>put(setProfileVersion(_0xfbe708?.[_0x5bbf0f(0x43d,0x44c,0x454,0x467)]||'')),{'onError':_0x448dcc=>taskErrorSaga(_0x5bbf0f(0x46e,0x45f,0x462,0x458)+_0x233b63(0x44c,0x445,0x43e,0x43a)+_0x5bbf0f(0x450,0x47e,0x466,0x450),_0x448dcc)});}export function*debugMobileSaga(){yield takeLatest(fetchDebugFlags,fetchDebugFlagsSaga),yield takeLatest(updateDebugFlag,updateDebugFlagSaga),yield takeLatest(toggleSuspend,toggleSuspendSaga),yield takeLatest(toggleOffline,toggleOfflineSaga),yield takeLatest(startAudit,startAuditSaga),yield takeLatest(startLocalDbCompact,startLocalDbCompactSaga),yield takeLatest(subscribeProfileVersionCmd,subscribeProfileVersionSaga),yield takeLatest(upgradePrivateProfile,upgradeProfileSaga);}export function*debugSaga(){yield takeLatest(startAudit,startAuditSaga),yield takeLatest(startLocalDbCompact,startLocalDbCompactSaga),yield takeLatest(toggleDebug,toggleDebugSaga),yield takeLatest(toggleSuspend,toggleSuspendSaga),yield takeLatest(toggleOffline,toggleOfflineSaga),yield takeLatest(unlockDebug,uiAutomationSaga),yield takeLatest(subscribeProfileVersionCmd,subscribeProfileVersionSaga),yield takeLatest(upgradePrivateProfile,upgradeProfileSaga),yield takeLatest(updateDebugFlag,updateDebugFlagSaga),yield takeLatest([unlockStats,fetchDebugFlags],fetchDebugFlagsSaga);}