function _0x4d7999(_0xc5d815,_0x9ed815,_0x469590,_0x16f0b8){const _0x30891a={_0x7c2fe5:0xe9};return _0x1936(_0x469590-_0x30891a._0x7c2fe5,_0x16f0b8);}(function(_0x31e899,_0x556ba0){const _0xcb071c={_0x2eedc4:0x365,_0x33c26e:0x352,_0x18c391:0x355,_0x354096:0x356,_0x7ea2c4:0x3f,_0x4aa284:0x42,_0x36ff07:0x3a,_0x1a53d9:0x65,_0x12bc4e:0x6b,_0x104d5c:0x356,_0x36fa8b:0x350,_0x305fd5:0x34d,_0x3be409:0x35a,_0x373610:0x57,_0x1780ff:0x58,_0x32183a:0x60,_0x403bb6:0x4e,_0x263859:0x5d,_0x48470a:0x52,_0x3bcb0d:0x64,_0x2d07ee:0x72,_0x211aec:0x49,_0x4ac94b:0x3a,_0x13542d:0x360,_0x105ee6:0x35c,_0x29607b:0x36f},_0x42f429={_0x3e3131:0x17f},_0x584b9a={_0x18bf9c:0x177};function _0x4af999(_0x443c4c,_0x56dd50,_0x1beceb,_0x15ca2f){return _0x1936(_0x56dd50-_0x584b9a._0x18bf9c,_0x15ca2f);}const _0x3b7165=_0x31e899();function _0x4a27ff(_0x4658ab,_0x39d357,_0x35501b,_0x40fb30){return _0x1936(_0x35501b- -_0x42f429._0x3e3131,_0x4658ab);}while(!![]){try{const _0x3f931b=parseInt(_0x4af999(_0xcb071c._0x2eedc4,_0xcb071c._0x33c26e,_0xcb071c._0x18c391,_0xcb071c._0x354096))/(0x267f+-0x1d38+-0x946)+parseInt(_0x4a27ff(_0xcb071c._0x7ea2c4,0x4f,_0xcb071c._0x4aa284,_0xcb071c._0x36ff07))/(0x1*-0xe41+-0x12b2*-0x2+-0x1721)+parseInt(_0x4a27ff(0x55,0x6f,_0xcb071c._0x1a53d9,_0xcb071c._0x12bc4e))/(-0xab2+0x2214+0x1*-0x175f)+parseInt(_0x4af999(_0xcb071c._0x104d5c,0x34f,0x356,0x349))/(0x15ac+-0x192b+0x1*0x383)*(-parseInt(_0x4af999(_0xcb071c._0x33c26e,_0xcb071c._0x36fa8b,_0xcb071c._0x305fd5,_0xcb071c._0x3be409))/(-0x22d2+-0x1a18+0x3cef))+-parseInt(_0x4a27ff(0x55,_0xcb071c._0x373610,_0xcb071c._0x1780ff,_0xcb071c._0x32183a))/(-0x1765*0x1+-0x16d5+-0x140*-0x25)*(parseInt(_0x4a27ff(_0xcb071c._0x403bb6,_0xcb071c._0x263859,_0xcb071c._0x32183a,0x51))/(0x67*0x2f+-0xec*-0x14+-0x2552))+parseInt(_0x4a27ff(0x64,_0xcb071c._0x48470a,_0xcb071c._0x3bcb0d,_0xcb071c._0x2d07ee))/(0x2*0xbba+0x29*0x9+-0x18dd)+-parseInt(_0x4a27ff(0x51,0x4f,_0xcb071c._0x211aec,_0xcb071c._0x4ac94b))/(-0x1aef+-0xd*-0x1cd+0x1*0x38f)*(parseInt(_0x4af999(_0xcb071c._0x13542d,_0xcb071c._0x105ee6,_0xcb071c._0x104d5c,_0xcb071c._0x29607b))/(0x473*-0x2+0x3a6*-0x2+-0x2*-0x81e));if(_0x3f931b===_0x556ba0)break;else _0x3b7165['push'](_0x3b7165['shift']());}catch(_0x405046){_0x3b7165['push'](_0x3b7165['shift']());}}}(_0x170d,0x30605*-0x5+0x1b0ff*0x6+-0x4308d*-0x3));function _0x170d(){const _0x1d6497=['Load','298240wdvJnU','average','FRESH_LOAD','isInteger','21TTkdnt','RESTORE_LA','RESET','length','3262664xVmpSs','1276782dtDsgb','7546810GBGWiz','1949346LprfCB','ING','COUNT','M.Send','(((.+)+)+)','status','bottom','9pqOiYS','ANCHR','LSS','L_AVG','L_MODE','seq','latest','apply','M_SEND','top','M.L','toString','ASKED','count','search','1389558VUqEaX','635296jHYjDW','5cFNvbw'];_0x170d=function(){return _0x1d6497;};return _0x170d();}const _0x583b08=(function(){let _0x7b163a=!![];return function(_0x5cc0bb,_0xd0dc12){const _0x2e1932={_0x1b7cd5:0x582,_0x208231:0x593,_0x2937bd:0x57c,_0x11f4c8:0x58f},_0x2f4f35={_0x5bf979:0x3c0},_0x3999d9=_0x7b163a?function(){function _0x5ac157(_0x207eb6,_0x4daf03,_0x58d22f,_0xdc239){return _0x1936(_0xdc239-_0x2f4f35._0x5bf979,_0x4daf03);}if(_0xd0dc12){const _0xda6ca0=_0xd0dc12[_0x5ac157(_0x2e1932._0x1b7cd5,_0x2e1932._0x208231,_0x2e1932._0x2937bd,_0x2e1932._0x11f4c8)](_0x5cc0bb,arguments);return _0xd0dc12=null,_0xda6ca0;}}:function(){};return _0x7b163a=![],_0x3999d9;};}()),_0x1606eb=_0x583b08(this,function(){const _0x560613={_0x48171e:0xd6,_0x517243:0xe2,_0x494bd5:0xd5,_0x227c5e:0x45f,_0x2c7330:0x45f,_0x35b999:0x45e,_0x5ed4ed:0x469,_0x320d4a:0x455,_0x39bae4:0x44e};function _0x26aaa0(_0x38a01c,_0x26beb4,_0x119341,_0x71b59c){return _0x1936(_0x26beb4-0x28c,_0x71b59c);}function _0x2d698a(_0x2ae455,_0x33d3f2,_0x244a2f,_0x3cec41){return _0x1936(_0x2ae455- -0x100,_0x244a2f);}return _0x1606eb['toString']()[_0x2d698a(_0x560613._0x48171e,_0x560613._0x517243,0xd6,_0x560613._0x494bd5)]('(((.+)+)+)'+'+$')[_0x26aaa0(_0x560613._0x227c5e,_0x560613._0x2c7330,_0x560613._0x35b999,_0x560613._0x5ed4ed)]()['constructo'+'r'](_0x1606eb)['search'](_0x26aaa0(0x460,0x451,_0x560613._0x320d4a,_0x560613._0x39bae4)+'+$');});_0x1606eb();import{createSelector}from'@reduxjs/toolkit';import{ANCHOR_STATUS,VIEW_MODE,CACHE_HIGH,getChatMessageCount,getChatMessageIds,getChatMessageSeqLoaded,getChatMessagesFetchingBottom,getChatMessagesFetchingInitial,getChatMessagesFetchingTop,getChatMessagesFetchTimeAvrg,getChatMessagesFetchTimeCount,getChatMessagesFetchTimeLatest,getChatMessageUnreadCount,getChatListViewMode,getChatMessageAnchor,getChatMessagesInView,getChatLastSeenMessageSeq}from'../chat';function _0x1936(_0x257a42,_0x7fdabd){const _0x41d688=_0x170d();return _0x1936=function(_0x1f89d0,_0x51a087){_0x1f89d0=_0x1f89d0-(-0x5a7*0x4+-0x3c*0x3b+0x2631);let _0x4d539d=_0x41d688[_0x1f89d0];return _0x4d539d;},_0x1936(_0x257a42,_0x7fdabd);}import{getStatsTimeSendMsg}from'./stats.reducer';export const CHAT_STATS_COL={'SL':'SL','IV':'IV','COUNT':_0x4d7999(0x2b6,0x2c0,0x2be,0x2ba),'UC':'UC','LSS':_0x2efc65(0x1c4,0x1ba,0x1be,0x1ad),'ML':_0x4d7999(0x2b6,0x2c1,0x2bb,0x2ab),'L_MODE':'L.Mode','M_SEND':_0x4d7999(0x2b0,0x29d,0x2ad,0x2bc),'ANCHR':'Anchr','LOAD':_0x4d7999(0x2b5,0x2c0,0x2c3,0x2cf),'L_AVG':'L-Avg'};const LIST_MODE_WARN_MAP={[VIEW_MODE[_0x4d7999(0x2cf,0x2ca,0x2ca,0x2be)]]:!![],[VIEW_MODE[_0x2efc65(0x1dc,0x1de,0x1d4,0x1c2)+'ST']]:!![],[VIEW_MODE[_0x4d7999(0x2c0,0x2b7,0x2c6,0x2b4)+_0x2efc65(0x1c3,0x1bc,0x1b6,0x1be)]]:!![]},ANCHOR_STATE_WARN_MAP={[ANCHOR_STATUS[_0x2efc65(0x1da,0x1c2,0x1c8,0x1d1)]]:!![],[ANCHOR_STATUS['LOADED']]:!![]};function _0x2efc65(_0x390ec8,_0x4318b0,_0x11ef14,_0x4c1b4c){return _0x1936(_0x11ef14- -0xc,_0x390ec8);}export const getChatStats=createSelector(getChatMessageSeqLoaded,getChatMessagesInView,getChatMessageCount,getChatMessageUnreadCount,getChatLastSeenMessageSeq,getChatMessageIds,getChatListViewMode,getChatMessageAnchor,getChatMessagesFetchingInitial,getChatMessagesFetchingTop,getChatMessagesFetchingBottom,getChatMessagesFetchTimeLatest,getChatMessagesFetchTimeCount,getChatMessagesFetchTimeAvrg,getStatsTimeSendMsg,(_0x4b5421,_0xd87efa,_0x3c7b6e,_0x54c98b,_0x407665,_0x57f426,_0x3f51c6,_0x1f3659,_0x21c740,_0x211df9,_0x59853e,_0x6f4f4f,_0x1fea44,_0xc7947b,_0x3a1247)=>[{'title':CHAT_STATS_COL['SL'],'descTop':_0x4b5421[_0x2efc65(0x1c4,0x1c6,0x1c5,0x1ca)],'isWarningTop':_0x4b5421[_0x4d7999(0x2ca,0x2b9,0x2ba,0x2b7)]>=_0xd87efa[_0x4d7999(0x2b4,0x2cb,0x2ba,0x2bf)]&&_0x4b5421[_0x2efc65(0x1d3,0x1cf,0x1c5,0x1b8)]!==0x1*0xc5b+-0x449*0x5+0x102*0x9,'descBtm':_0x4b5421[_0x2efc65(0x1b4,0x1cd,0x1bb,0x1c0)],'isWarningBtm':_0x4b5421[_0x4d7999(0x2b6,0x2af,0x2b0,0x2ae)]<_0xd87efa[_0x4d7999(0x2a1,0x2b9,0x2b0,0x2b7)]||_0x4b5421['bottom']===_0xd87efa['bottom']&&_0x3c7b6e-(-0x15*-0x6a+0x104f+-0x1900)>_0x4b5421[_0x4d7999(0x2a7,0x2a1,0x2b0,0x2c0)]},{'title':CHAT_STATS_COL['IV'],'descTop':_0xd87efa[_0x2efc65(0x1bc,0x1b7,0x1c5,0x1c2)],'isWarningTop':_0xd87efa[_0x2efc65(0x1ba,0x1b3,0x1c5,0x1d7)]===-(-0x21a3*0x1+0x6*0x34b+0xde2),'descBtm':_0xd87efa[_0x4d7999(0x2a0,0x2af,0x2b0,0x2b2)],'isWarningBtm':_0xd87efa['bottom']===-(-0x9*0xe5+-0x1cd9+0x24e7)},{'title':CHAT_STATS_COL[_0x4d7999(0x29c,0x2a1,0x2ac,0x29a)],'descTop':_0x3c7b6e},{'title':CHAT_STATS_COL['UC'],'descTop':_0x54c98b},{'title':CHAT_STATS_COL[_0x2efc65(0x1b7,0x1b8,0x1be,0x1b1)],'descTop':_0x407665},{'title':CHAT_STATS_COL['ML'],'descTop':_0x57f426[_0x4d7999(0x2d6,0x2d9,0x2cb,0x2bf)],'isWarningTop':_0x57f426[_0x4d7999(0x2c3,0x2d8,0x2cb,0x2da)]>CACHE_HIGH},{'title':CHAT_STATS_COL[_0x2efc65(0x1ce,0x1ce,0x1c0,0x1c7)],'descTop':_0x3f51c6,'isWarningTop':!!LIST_MODE_WARN_MAP[_0x3f51c6]},{'title':CHAT_STATS_COL[_0x4d7999(0x2c4,0x2aa,0x2b2,0x2be)],'descTop':_0x1f3659?.[_0x4d7999(0x2a6,0x2a5,0x2af,0x2ad)]??'-','isWarningTop':!!ANCHOR_STATE_WARN_MAP[_0x1f3659?.[_0x4d7999(0x2b8,0x2a9,0x2af,0x2ab)]],'descBtm':''+(_0x1f3659?.[_0x2efc65(0x1be,0x1c0,0x1c1,0x1cf)]??'-'),'isWarningBtm':_0x1f3659&&!Number[_0x4d7999(0x2bd,0x2c7,0x2c7,0x2c9)](_0x1f3659?.[_0x2efc65(0x1bc,0x1b5,0x1c1,0x1c3)])},{'title':CHAT_STATS_COL['LOAD'],'descTop':(_0x21c740?'i':'')+'\x20'+(_0x211df9?'t':'')+'\x20'+(_0x59853e?'b':''),'isWarningTop':![],'descBtm':''+(_0x6f4f4f??'-'),'isWarningBtm':Number['isInteger'](_0x6f4f4f)&&_0x6f4f4f>-0x1967+0x19d+-0x4ea*-0x5},{'title':CHAT_STATS_COL[_0x4d7999(0x2bf,0x2a7,0x2b4,0x2bd)],'descTop':_0x1fea44,'isWarningTop':![],'descBtm':_0xc7947b,'isWarningBtm':Number[_0x4d7999(0x2c2,0x2c4,0x2c7,0x2c8)](_0xc7947b)&&_0xc7947b>0x39*0x11+0xed7+-0x11d8},{'title':CHAT_STATS_COL[_0x2efc65(0x1c9,0x1d1,0x1c4,0x1b9)],'descTop':_0x3a1247[_0x2efc65(0x1b4,0x1c0,0x1c2,0x1b6)],'isWarningTop':Number[_0x2efc65(0x1e3,0x1d1,0x1d2,0x1cc)](_0x3a1247[_0x2efc65(0x1d3,0x1d1,0x1c2,0x1c6)])&&_0x3a1247[_0x4d7999(0x2a5,0x2ae,0x2b7,0x2bb)]>-0x16*-0x2e+0x18fa+-0x1afa,'descBtm':_0x3a1247[_0x4d7999(0x2bc,0x2cb,0x2c5,0x2c3)],'isWarningBtm':Number['isInteger'](_0x3a1247[_0x4d7999(0x2bd,0x2c1,0x2c5,0x2bb)])&&_0x3a1247['average']>0x267a+0x24d4+-0x495a}]);