Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / api / userProfile / userProfile.socket.js
1 const a671_0x543c=['length','save','userProfile:','update','register','remove','emit','./userProfile.events'];(function(_0x51ffed,_0x543c1b){const _0x1d0898=function(_0x88c956){while(--_0x88c956){_0x51ffed['push'](_0x51ffed['shift']());}};_0x1d0898(++_0x543c1b);}(a671_0x543c,0x1d4));const a671_0x1d08=function(_0x51ffed,_0x543c1b){_0x51ffed=_0x51ffed-0x0;let _0x1d0898=a671_0x543c[_0x51ffed];return _0x1d0898;};const _0x322422=a671_0x1d08;'use strict';const UserProfileEvents=require(_0x322422('0x3')),events=[_0x322422('0x5'),_0x322422('0x1'),_0x322422('0x7')];function createListener(_0x88c956,_0x160141){return function(_0x28b0c8){const _0xd88f45=a671_0x1d08;_0x160141[_0xd88f45('0x2')](_0x88c956,_0x28b0c8);};}exports[_0x322422('0x0')]=function(_0x4aed58){const _0x26fc1e=_0x322422;for(let _0x160fae=0x0,_0x3ca7fd=events[_0x26fc1e('0x4')];_0x160fae<_0x3ca7fd;_0x160fae++){const _0x1728fd=events[_0x160fae],_0x44dcc2=createListener(_0x26fc1e('0x6')+_0x1728fd,_0x4aed58);UserProfileEvents['on'](_0x1728fd,_0x44dcc2);}};