9470b194cbd96f75dbc63de0de15c62c7892ffc1
[motion-next.git] / server / api / chatInteraction / chatInteraction.socket.js
1 const a70_0x4014=['save','emit','update','./chatInteraction.events','remove','chatInteraction:','length'];(function(_0x292369,_0x4014c8){const _0x400907=function(_0x30f8cc){while(--_0x30f8cc){_0x292369['push'](_0x292369['shift']());}};_0x400907(++_0x4014c8);}(a70_0x4014,0xed));const a70_0x4009=function(_0x292369,_0x4014c8){_0x292369=_0x292369-0x0;let _0x400907=a70_0x4014[_0x292369];return _0x400907;};const _0x338fae=a70_0x4009;'use strict';const ChatInteractionEvents=require(_0x338fae('0x4')),events=[_0x338fae('0x1'),_0x338fae('0x5'),_0x338fae('0x3')];function createListener(_0x30f8cc,_0x109429){return function(_0x3416bf){const _0x541277=a70_0x4009;_0x109429[_0x541277('0x2')](_0x30f8cc,_0x3416bf);};}exports['register']=function(_0x1cda5a){const _0x485a60=_0x338fae;for(let _0x359b95=0x0,_0x4f04cf=events[_0x485a60('0x0')];_0x359b95<_0x4f04cf;_0x359b95++){const _0x15a68b=events[_0x359b95],_0x571fc0=createListener(_0x485a60('0x6')+_0x15a68b,_0x1cda5a);ChatInteractionEvents['on'](_0x15a68b,_0x571fc0);}};