Built motion from commit 264c1c7.|0.0.142
[motion.git] / server / config / agi / index.js
index dbb28e5..77a6d31 100644 (file)
@@ -1 +1 @@
-var _0x6642=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x73\x6D\x73\x20\x6D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];var cp=require(_0x6642[0]);var util=require(_0x6642[1]);var models=require(_0x6642[2]);module[_0x6642[3]]= function(){var _0x40aex4=cp[_0x6642[33]](__dirname+ _0x6642[32])[_0x6642[5]](_0x6642[10],function(_0x40aex7){switch(_0x40aex7[_0x6642[10]]){case _0x6642[15]:return models[_0x6642[16]][_0x6642[15]]({leaveAt:_0x40aex7[_0x6642[13]]},{where:{uniqueid:_0x40aex7[_0x6642[14]]},individualHooks:true})[_0x6642[12]](function(_0x40aex5){console[_0x6642[9]](_0x6642[11],_0x40aex5)});case _0x6642[18]:delete _0x40aex7[_0x6642[10]];return models[_0x6642[16]][_0x6642[18]](_0x40aex7)[_0x6642[12]](function(_0x40aex5){console[_0x6642[9]](_0x6642[17],_0x40aex5)});case _0x6642[25]:delete _0x40aex7[_0x6642[10]];return models[_0x6642[24]][_0x6642[18]](_0x40aex7)[_0x6642[12]](function(_0x40aex5){console[_0x6642[9]](_0x6642[19]+ _0x40aex7[_0x6642[20]]+ _0x6642[21]+ _0x40aex7[_0x6642[22]]+ _0x6642[23],_0x40aex5)});case _0x6642[26]:synchCollection(_0x40aex7,_0x40aex4);break;case _0x6642[29]:delete _0x40aex7[_0x6642[10]];return models[_0x6642[28]][_0x6642[18]](_0x40aex7)[_0x6642[12]](function(_0x40aex5){console[_0x6642[9]](_0x6642[27],_0x40aex5)});case _0x6642[31]:delete _0x40aex7[_0x6642[10]];return models[_0x6642[30]][_0x6642[18]](_0x40aex7)[_0x6642[12]](function(_0x40aex5){console[_0x6642[9]](_0x6642[27],_0x40aex5)});default:}})[_0x6642[5]](_0x6642[6],function(_0x40aex6){console[_0x6642[9]](util[_0x6642[8]](_0x6642[7],_0x40aex6))})[_0x6642[5]](_0x6642[4],function(_0x40aex5){console[_0x6642[4]](_0x40aex5)});process[_0x6642[5]](_0x6642[34],function(_0x40aex6){_0x40aex4[_0x6642[35]]()})};function synchCollection(_0x40aex7,_0x40aex4){var _0x40aex9={};models[_0x40aex7[_0x6642[41]]][_0x6642[40]](function(_0x40aexa){_0x40aex9[_0x40aex7[_0x6642[36]]]= _0x40aexa[_0x40aex7[_0x6642[36]]];_0x40aex4[_0x6642[39]]({message:_0x6642[37],collection:_0x40aex7[_0x6642[38]],condition:_0x40aex9,doc:_0x40aexa})});models[_0x40aex7[_0x6642[41]]][_0x6642[42]](function(_0x40aexa){_0x40aex9[_0x40aex7[_0x6642[36]]]= _0x40aexa[_0x40aex7[_0x6642[36]]];_0x40aex4[_0x6642[39]]({message:_0x6642[37],collection:_0x40aex7[_0x6642[38]],condition:_0x40aex9,doc:_0x40aexa})});models[_0x40aex7[_0x6642[41]]][_0x6642[44]](function(_0x40aexa){_0x40aex9[_0x40aex7[_0x6642[36]]]= _0x40aexa[_0x40aex7[_0x6642[36]]];_0x40aex4[_0x6642[39]]({message:_0x6642[43],collection:_0x40aex7[_0x6642[38]],condition:_0x40aex9})})}
\ No newline at end of file
+var _0xc2f2=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x66\x6F\x72\x63\x65\x53\x79\x6E\x63\x68","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x73\x6D\x73\x20\x6D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x53\x6D\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x41\x47\x49\x20\x65\x72\x72\x6F\x72\x20\x6F\x6E\x20\x72\x65\x70\x6C\x61\x63\x69\x6E\x67\x20","\x20\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x70\x6C\x61\x63\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];var cp=require(_0xc2f2[0]);var util=require(_0xc2f2[1]);var models=require(_0xc2f2[2]);module[_0xc2f2[3]]= function(){var _0x6424x4=cp[_0xc2f2[34]](__dirname+ _0xc2f2[33])[_0xc2f2[5]](_0xc2f2[10],function(_0x6424x7){switch(_0x6424x7[_0xc2f2[10]]){case _0xc2f2[15]:return models[_0xc2f2[16]][_0xc2f2[15]]({leaveAt:_0x6424x7[_0xc2f2[13]]},{where:{uniqueid:_0x6424x7[_0xc2f2[14]]},individualHooks:true})[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[11],_0x6424x5)});case _0xc2f2[18]:delete _0x6424x7[_0xc2f2[10]];return models[_0xc2f2[16]][_0xc2f2[18]](_0x6424x7)[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[17],_0x6424x5)});case _0xc2f2[25]:delete _0x6424x7[_0xc2f2[10]];return models[_0xc2f2[24]][_0xc2f2[18]](_0x6424x7)[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[19]+ _0x6424x7[_0xc2f2[20]]+ _0xc2f2[21]+ _0x6424x7[_0xc2f2[22]]+ _0xc2f2[23],_0x6424x5)});case _0xc2f2[26]:synchCollection(_0x6424x7,_0x6424x4);break;case _0xc2f2[27]:replaceCollection(_0x6424x7,_0x6424x4);break;case _0xc2f2[30]:delete _0x6424x7[_0xc2f2[10]];return models[_0xc2f2[29]][_0xc2f2[18]](_0x6424x7)[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[28],_0x6424x5)});case _0xc2f2[32]:delete _0x6424x7[_0xc2f2[10]];return models[_0xc2f2[31]][_0xc2f2[18]](_0x6424x7)[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[28],_0x6424x5)});default:}})[_0xc2f2[5]](_0xc2f2[6],function(_0x6424x6){console[_0xc2f2[9]](util[_0xc2f2[8]](_0xc2f2[7],_0x6424x6))})[_0xc2f2[5]](_0xc2f2[4],function(_0x6424x5){console[_0xc2f2[4]](_0x6424x5)});process[_0xc2f2[5]](_0xc2f2[35],function(_0x6424x6){_0x6424x4[_0xc2f2[36]]()})};function synchCollection(_0x6424x7,_0x6424x4){var _0x6424x9={};models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[41]](function(_0x6424xa){_0x6424x9[_0x6424x7[_0xc2f2[37]]]= _0x6424xa[_0x6424x7[_0xc2f2[37]]];_0x6424x4[_0xc2f2[40]]({message:_0xc2f2[38],collection:_0x6424x7[_0xc2f2[39]],condition:_0x6424x9,doc:_0x6424xa})});models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[43]](function(_0x6424xa){_0x6424x9[_0x6424x7[_0xc2f2[37]]]= _0x6424xa[_0x6424x7[_0xc2f2[37]]];_0x6424x4[_0xc2f2[40]]({message:_0xc2f2[38],collection:_0x6424x7[_0xc2f2[39]],condition:_0x6424x9,doc:_0x6424xa})});models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[45]](function(_0x6424xa){_0x6424x9[_0x6424x7[_0xc2f2[37]]]= _0x6424xa[_0x6424x7[_0xc2f2[37]]];_0x6424x4[_0xc2f2[40]]({message:_0xc2f2[44],collection:_0x6424x7[_0xc2f2[39]],condition:_0x6424x9})})}function replaceCollection(_0x6424x7,_0x6424x4){var _0x6424x9={};models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[41]](function(_0x6424xa){getCollection(_0x6424x7,_0x6424x4,_0x6424xa)});models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[43]](function(_0x6424xa){getCollection(_0x6424x7,_0x6424x4,_0x6424xa)});models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[45]](function(_0x6424xa){getCollection(_0x6424x7,_0x6424x4,_0x6424xa)})}function getCollection(_0x6424x7,_0x6424x4,_0x6424xa){models[_0x6424x7[_0xc2f2[42]]][_0xc2f2[50]]()[_0xc2f2[49]](function(_0x6424xd){_0x6424x4[_0xc2f2[40]]({message:_0xc2f2[48],collection:_0x6424x7[_0xc2f2[39]],doc:_0x6424xd})})[_0xc2f2[12]](function(_0x6424x5){console[_0xc2f2[9]](_0xc2f2[46],_0x6424x7[_0xc2f2[39]],_0xc2f2[47],_0x6424x5)})}
\ No newline at end of file