Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / api / voicePrefix / voicePrefix.events.js
index 00dc6b6..153fb72 100644 (file)
@@ -1 +1 @@
-const a747_0x494c=['events','setMaxListeners','save','exports','remove','addHook','emit','undefined'];(function(_0x160030,_0x494c9f){const _0x30a8f6=function(_0x41eeff){while(--_0x41eeff){_0x160030['push'](_0x160030['shift']());}};_0x30a8f6(++_0x494c9f);}(a747_0x494c,0x65));const a747_0x30a8=function(_0x160030,_0x494c9f){_0x160030=_0x160030-0x0;let _0x30a8f6=a747_0x494c[_0x160030];return _0x30a8f6;};const _0x19b782=a747_0x30a8;'use strict';const EventEmitter=require(_0x19b782('0x3')),VoicePrefix=require('../../mysqldb')['db']['VoicePrefix'],VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[_0x19b782('0x4')](0x0);const events={'afterCreate':_0x19b782('0x5'),'afterUpdate':'update','afterDestroy':_0x19b782('0x7')};function emitEvent(_0x41eeff){return function(_0xc062a5){const _0x4a4b7e=a747_0x30a8;VoicePrefixEvents['emit'](_0x41eeff+':'+_0xc062a5['id'],_0xc062a5),VoicePrefixEvents[_0x4a4b7e('0x1')](_0x41eeff,_0xc062a5);};}for(const e in events){if(typeof events[e]!==_0x19b782('0x2')){const event=events[e];VoicePrefix[_0x19b782('0x0')](e,emitEvent(event));}}module[_0x19b782('0x6')]=VoicePrefixEvents;
\ No newline at end of file
+const a747_0x5b76=['undefined','setMaxListeners','update','addHook','../../mysqldb','remove','VoicePrefix','emit','events','save'];(function(_0x42a8f7,_0x5b769f){const _0x5799f9=function(_0x1782bd){while(--_0x1782bd){_0x42a8f7['push'](_0x42a8f7['shift']());}};_0x5799f9(++_0x5b769f);}(a747_0x5b76,0xf4));const a747_0x5799=function(_0x42a8f7,_0x5b769f){_0x42a8f7=_0x42a8f7-0x0;let _0x5799f9=a747_0x5b76[_0x42a8f7];return _0x5799f9;};const _0x1b7698=a747_0x5799;'use strict';const EventEmitter=require(_0x1b7698('0x4')),VoicePrefix=require(_0x1b7698('0x0'))['db'][_0x1b7698('0x2')],VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[_0x1b7698('0x7')](0x0);const events={'afterCreate':_0x1b7698('0x5'),'afterUpdate':_0x1b7698('0x8'),'afterDestroy':_0x1b7698('0x1')};function emitEvent(_0x1782bd){return function(_0x30142c){const _0x5d4e29=a747_0x5799;VoicePrefixEvents[_0x5d4e29('0x3')](_0x1782bd+':'+_0x30142c['id'],_0x30142c),VoicePrefixEvents[_0x5d4e29('0x3')](_0x1782bd,_0x30142c);};}for(const e in events){if(typeof events[e]!==_0x1b7698('0x6')){const event=events[e];VoicePrefix[_0x1b7698('0x9')](e,emitEvent(event));}}module['exports']=VoicePrefixEvents;
\ No newline at end of file