X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fami%2Fami.events.js;h=4dce49cfe3e7ac9dee4021e8eeaebf715316aa97;hb=97c47c49573e694bdf76035301977f819b8da83b;hp=6423f7f9afa893facfdbfd1cc4f3e72f197ac06e;hpb=fb434e8f732916f107aaf5756a70862f4cb4f7ea;p=motion.git diff --git a/server/api/ami/ami.events.js b/server/api/ami/ami.events.js index 6423f7f..4dce49c 100644 --- a/server/api/ami/ami.events.js +++ b/server/api/ami/ami.events.js @@ -1 +1 @@ -var _0x3c88=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x3c88[0];const EventEmitter=require(_0x3c88[1]);const Ami=require(_0x3c88[3])[_0x3c88[2]];var AmiEvents= new EventEmitter();AmiEvents[_0x3c88[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x3c88[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x3c88[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x3c88[6]};for(var e in events){var event=events[e];Ami[_0x3c88[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xdb19x8,_0xdb19x9,_0xdb19xa){AmiEvents[_0x3c88[10]](event+ _0x3c88[8]+ _0xdb19x8[_0x3c88[9]],_0xdb19x8);AmiEvents[_0x3c88[10]](event,_0xdb19x8);_0xdb19xa(null)}}module[_0x3c88[11]]= AmiEvents \ No newline at end of file +var _0x63e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x63e1[0];const EventEmitter=require(_0x63e1[1]);const Ami=require(_0x63e1[3])[_0x63e1[2]];var AmiEvents= new EventEmitter();AmiEvents[_0x63e1[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x63e1[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x63e1[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x63e1[6]};for(var e in events){var event=events[e];Ami[_0x63e1[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xcb7ex8,_0xcb7ex9,_0xcb7exa){AmiEvents[_0x63e1[10]](event+ _0x63e1[8]+ _0xcb7ex8[_0x63e1[9]],_0xcb7ex8);AmiEvents[_0x63e1[10]](event,_0xcb7ex8);_0xcb7exa(null)}}module[_0x63e1[11]]= AmiEvents \ No newline at end of file