Built motion from commit e2ff5cd.|0.0.92
[motion.git] / server / config / ami / index.js
1 var _0xe71b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2F\x74\x72\x75\x6E\x6B","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2E\x2F\x61\x63\x77","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x74\x72\x61\x6E\x73\x66\x65\x72","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x68\x6F\x73\x74","\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x6F\x72\x74","\x69\x6E\x66\x6F","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x63\x6C\x6F\x73\x65","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4C\x4F\x53\x45\x3A\x20\x25\x73","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x45\x52\x52\x4F\x52\x3A\x20\x25\x73","\x6D\x61\x6E\x61\x67\x65\x72\x65\x76\x65\x6E\x74","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x64\x65\x76\x69\x63\x65","\x53\x49\x50\x2F\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x73\x74\x61\x74\x65","\x53\x49\x50\x2F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x6C\x6F\x67\x69\x6E","\x61\x64\x64\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x6D\x6F\x76\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x6A\x6F\x69\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x6C\x65\x61\x76\x65","\x63\x64\x72","\x61\x64\x64","\x68\x61\x6E\x67\x75\x70","\x6D\x6F\x6E\x69\x74\x6F\x72\x73\x74\x61\x72\x74","\x6D\x6F\x6E\x69\x74\x6F\x72\x73\x74\x6F\x70","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x61\x74\x74\x65\x6E\x64\x65\x64","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x76\x61\x72\x73\x65\x74","\x69\x6E\x62\x6F\x75\x6E\x64","\x6D\x69\x78\x6D\x6F\x6E\x69\x74\x6F\x72\x5F\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x2E\x2E\x2F\x66\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0xe71b[0];var Agent=require(_0xe71b[1]);var Action=require(_0xe71b[2]);var Call=require(_0xe71b[3]);var Member=require(_0xe71b[4]);var QueueCaller=require(_0xe71b[5]);var QueueMember=require(_0xe71b[6]);var Recording=require(_0xe71b[7]);var Trunk=require(_0xe71b[8]);var Context=require(_0xe71b[9]);var ACW=require(_0xe71b[10]);var User=require(_0xe71b[11]);var Transfer=require(_0xe71b[12]);var Network=require(_0xe71b[13]);function onDisconnect(_0x5f21xf){}function onConnect(_0x5f21xf){}function getVariable(_0x5f21x12){var _0x5f21x13=Object[_0xe71b[15]](_0x5f21x12[_0xe71b[14]]);_0x5f21x12[_0xe71b[14]]=_0x5f21x13[0];return _0x5f21x12}module[_0xe71b[16]]=function(_0x5f21xf){var _0x5f21x14= new Agent();var _0x5f21x15= new Call();var _0x5f21x16= new Member();var _0x5f21x17= new QueueMember();var _0x5f21x18= new QueueCaller();var _0x5f21x19= new Recording();var _0x5f21x1a= new Trunk(_0x5f21xf);var _0x5f21x1b= new Context(_0x5f21xf);var _0x5f21x1c= new Action(_0x5f21xf);var _0x5f21x1d= new ACW(_0x5f21xf);var _0x5f21x1e= new User();var _0x5f21x1f= new Transfer();var _0x5f21x20= new Network(_0x5f21xf);_0x5f21xf[_0xe71b[24]](_0xe71b[17],function(){console[_0xe71b[22]](_0xe71b[18],_0x5f21xf[_0xe71b[20]][_0xe71b[19]],_0x5f21xf[_0xe71b[20]][_0xe71b[21]]);_0x5f21xf[_0xe71b[20]][_0xe71b[23]]= new Date();onConnect(_0x5f21xf)});_0x5f21xf[_0xe71b[24]](_0xe71b[25],function(){onDisconnect(_0x5f21xf);console[_0xe71b[22]](_0xe71b[26],_0x5f21xf[_0xe71b[20]][_0xe71b[19]],_0x5f21xf[_0xe71b[20]][_0xe71b[21]])});_0x5f21xf[_0xe71b[24]](_0xe71b[27],function(_0x5f21x21){console[_0xe71b[29]](_0xe71b[28],_0x5f21xf[_0xe71b[20]][_0xe71b[19]],_0x5f21xf[_0xe71b[20]][_0xe71b[21]],_0x5f21x21)});_0x5f21xf[_0xe71b[24]](_0xe71b[30],function(_0x5f21x22){console[_0xe71b[29]](_0xe71b[31],_0x5f21xf[_0xe71b[20]][_0xe71b[19]],_0x5f21xf[_0xe71b[20]][_0xe71b[21]],_0x5f21x22)});_0x5f21xf[_0xe71b[24]](_0xe71b[32],function(_0x5f21x23){});_0x5f21xf[_0xe71b[24]](_0xe71b[33],function(_0x5f21x23){if(_0x5f21x23[_0xe71b[34]]===_0xe71b[35]){console[_0xe71b[29]](_0xe71b[36],_0x5f21x23[_0xe71b[37]])};if(_0x5f21x23[_0xe71b[34]][_0xe71b[39]](_0xe71b[38])===0){_0x5f21x1e[_0xe71b[40]](_0x5f21x23)}});_0x5f21xf[_0xe71b[24]](_0xe71b[41],function(_0x5f21x23){if(_0x5f21x23[_0xe71b[42]]===_0xe71b[43]){console[_0xe71b[29]](_0xe71b[41],_0xe71b[44])};_0x5f21x14[_0xe71b[44]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[44],_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[46],function(_0x5f21x23){_0x5f21x1d[_0xe71b[46]](_0x5f21x23);_0x5f21x14[_0xe71b[47]](_0x5f21x23);_0x5f21x18[_0xe71b[47]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[47],_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[48],function(_0x5f21x23){_0x5f21x14[_0xe71b[17]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[17],_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[49],function(_0x5f21x23){_0x5f21x14[_0xe71b[50]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[47],_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[51],function(_0x5f21x23){_0x5f21x14[_0xe71b[52]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[47],_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[53],function(_0x5f21x23){_0x5f21x16[_0xe71b[54]](_0x5f21x23);_0x5f21x17[_0xe71b[55]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[56],function(_0x5f21x23){_0x5f21x16[_0xe71b[57]](_0x5f21x23);_0x5f21x17[_0xe71b[57]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[58],function(_0x5f21x23){_0x5f21x17[_0xe71b[59]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[60],function(_0x5f21x23){_0x5f21x16[_0xe71b[61]](_0x5f21x23);_0x5f21x17[_0xe71b[62]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[63],function(_0x5f21x23){_0x5f21x17[_0xe71b[64]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[65],function(_0x5f21x23){_0x5f21x17[_0xe71b[66]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[67],function(_0x5f21x23){_0x5f21x18[_0xe71b[68]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[69],function(_0x5f21x23){_0x5f21x18[_0xe71b[70]](_0x5f21x23);_0x5f21x1e[_0xe71b[45]](_0xe71b[47],_0x5f21x23);_0x5f21x14[_0xe71b[71]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[72],function(_0x5f21x23){_0x5f21x18[_0xe71b[73]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[74],function(_0x5f21x23){_0x5f21x15[_0xe71b[75]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[76],function(_0x5f21x23){});_0x5f21xf[_0xe71b[24]](_0xe71b[77],function(_0x5f21x23){});_0x5f21xf[_0xe71b[24]](_0xe71b[78],function(_0x5f21x23){_0x5f21x19[_0xe71b[80]](_0x5f21x23,_0xe71b[79])});_0x5f21xf[_0xe71b[24]](_0xe71b[81],function(_0x5f21x23){console[_0xe71b[29]](_0xe71b[81],_0x5f21x23);_0x5f21x23[_0xe71b[82]]=_0xe71b[83];_0x5f21x1f[_0xe71b[84]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[85],function(_0x5f21x23){console[_0xe71b[29]](_0xe71b[85],_0x5f21x23);_0x5f21x23[_0xe71b[82]]=_0xe71b[86];_0x5f21x1f[_0xe71b[87]](_0x5f21x23)});_0x5f21xf[_0xe71b[24]](_0xe71b[88],function(_0x5f21x23){var _0x5f21x12=getVariable(_0x5f21x23);switch(_0x5f21x12[_0xe71b[14]]){case _0xe71b[90]:_0x5f21x19[_0xe71b[80]](_0x5f21x12,_0xe71b[89]);break;case _0xe71b[92]:_0x5f21x18[_0xe71b[91]](_0x5f21x12);break;default:break}});require(_0xe71b[94])[_0xe71b[93]](_0x5f21xf);require(_0xe71b[95])[_0xe71b[93]](_0x5f21xf)}