Built motion from commit 4a18b36e645f5fa4a517d36f9783bde259878164. Version 3.0.0...
[motion-next.git] / server / services / email / realtime / index.js
index 41cc567..f94b6e4 100644 (file)
@@ -1 +1 @@
-const a1157_0x559f=['mailAccounts','mergeFromDatabase','length','exports','../model/mailAccount','lodash','mapKeys','merge','undefined','prototype','isUndefined','initMailAccounts'];(function(_0x5d373c,_0x559fc4){const _0x2b1cd2=function(_0x12a758){while(--_0x12a758){_0x5d373c['push'](_0x5d373c['shift']());}};_0x2b1cd2(++_0x559fc4);}(a1157_0x559f,0xad));const a1157_0x2b1c=function(_0x5d373c,_0x559fc4){_0x5d373c=_0x5d373c-0x0;let _0x2b1cd2=a1157_0x559f[_0x5d373c];return _0x2b1cd2;};const _0x237bd2=a1157_0x2b1c;'use strict';const _=require(_0x237bd2('0x0')),MailAccount=require(_0x237bd2('0xb')),Realtime=function(){const _0x5d1e70=_0x237bd2;this[_0x5d1e70('0x7')]={};};function freeIsNotKey(_0x12a758,_0x31d47c,_0x1a91da){const _0x586e3e=_0x237bd2,_0x1a2986=_[_0x586e3e('0x1')](_0x12a758,function(_0x71116e){return _0x71116e[_0x1a91da];});for(const _0x54cbcf in _0x31d47c){typeof _0x31d47c[_0x54cbcf]!==_0x586e3e('0x3')&&(!_0x1a2986[_0x54cbcf]&&delete _0x31d47c[_0x54cbcf]);}}Realtime[_0x237bd2('0x4')][_0x237bd2('0x8')]=function(_0x13008a,_0x3ca01d){for(const _0x352610 in _0x3ca01d){typeof _0x13008a[_0x352610]!=='undefined'&&(_0x13008a[_0x352610]=_0x3ca01d[_0x352610]);}},Realtime[_0x237bd2('0x4')][_0x237bd2('0x6')]=function(){const _0x57e89d=this;return function(_0x335fb0){const _0x382362=a1157_0x2b1c;if(_0x335fb0){freeIsNotKey(_0x335fb0,_0x57e89d[_0x382362('0x7')],'id');for(let _0x5bcab2=0x0,_0x45587c={};_0x5bcab2<_0x335fb0[_0x382362('0x9')];_0x5bcab2+=0x1){_0x45587c=_0x335fb0[_0x5bcab2],_[_0x382362('0x5')](_0x57e89d['mailAccounts'][_0x45587c['id']])?_0x57e89d[_0x382362('0x7')][_0x45587c['id']]=new MailAccount(_0x45587c):_[_0x382362('0x2')](_0x57e89d[_0x382362('0x7')][_0x45587c['id']],_0x45587c);}}return _0x57e89d['mailAccounts'];};},module[_0x237bd2('0xa')]=Realtime;
\ No newline at end of file
+const a1157_0x191a=['mailAccounts','isUndefined','../model/mailAccount','length','mergeFromDatabase','initMailAccounts','prototype','mapKeys','lodash','exports'];(function(_0x52522b,_0x191acd){const _0x52b6f0=function(_0x7999b){while(--_0x7999b){_0x52522b['push'](_0x52522b['shift']());}};_0x52b6f0(++_0x191acd);}(a1157_0x191a,0xf6));const a1157_0x52b6=function(_0x52522b,_0x191acd){_0x52522b=_0x52522b-0x0;let _0x52b6f0=a1157_0x191a[_0x52522b];return _0x52b6f0;};const _0x14498e=a1157_0x52b6;'use strict';const _=require(_0x14498e('0x2')),MailAccount=require(_0x14498e('0x6')),Realtime=function(){this['mailAccounts']={};};function freeIsNotKey(_0x7999b,_0x11038d,_0x46697f){const _0x1a107b=_0x14498e,_0x21bf2f=_[_0x1a107b('0x1')](_0x7999b,function(_0x2ccdc2){return _0x2ccdc2[_0x46697f];});for(const _0x187a9c in _0x11038d){typeof _0x11038d[_0x187a9c]!=='undefined'&&(!_0x21bf2f[_0x187a9c]&&delete _0x11038d[_0x187a9c]);}}Realtime[_0x14498e('0x0')][_0x14498e('0x8')]=function(_0x4e17b5,_0x3ae5cf){for(const _0x2e4a1e in _0x3ae5cf){typeof _0x4e17b5[_0x2e4a1e]!=='undefined'&&(_0x4e17b5[_0x2e4a1e]=_0x3ae5cf[_0x2e4a1e]);}},Realtime[_0x14498e('0x0')][_0x14498e('0x9')]=function(){const _0x4125de=this;return function(_0x40d525){const _0x37ac62=a1157_0x52b6;if(_0x40d525){freeIsNotKey(_0x40d525,_0x4125de['mailAccounts'],'id');for(let _0x4ee83e=0x0,_0x1e366e={};_0x4ee83e<_0x40d525[_0x37ac62('0x7')];_0x4ee83e+=0x1){_0x1e366e=_0x40d525[_0x4ee83e],_[_0x37ac62('0x5')](_0x4125de[_0x37ac62('0x4')][_0x1e366e['id']])?_0x4125de[_0x37ac62('0x4')][_0x1e366e['id']]=new MailAccount(_0x1e366e):_['merge'](_0x4125de[_0x37ac62('0x4')][_0x1e366e['id']],_0x1e366e);}}return _0x4125de[_0x37ac62('0x4')];};},module[_0x14498e('0x3')]=Realtime;
\ No newline at end of file