031a453e45f76bff0a2ac7be881a2999e320882c
[motion.git] / server / config / triggers / fax.js
1 var _0x1f1a=["\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x6D\x75\x73\x74\x61\x63\x68\x65","\x6D\x6F\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x54\x72\x69\x67\x67\x65\x72\x20\x46\x61\x78\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x69\x6E\x66\x6F","\x74\x61\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x46\x61\x78\x20\x74\x72\x69\x67\x67\x65\x72\x20\x74\x61\x67\x20\x65\x72\x72\x6F\x72","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x3B","\x73\x70\x6C\x69\x74","\x64\x61\x74\x61\x31","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x75\x70\x64\x61\x74\x65","\x63\x6C\x6F\x73\x65","\x46\x61\x78\x20\x74\x72\x69\x67\x67\x65\x72\x20\x63\x6C\x6F\x73\x65\x20\x65\x72\x72\x6F\x72","\x43\x4C\x4F\x53\x45\x44","\x65\x78\x70\x6F\x72\x74\x73"];const _=require(_0x1f1a[0]);const rp=require(_0x1f1a[1]);const Mustache=require(_0x1f1a[2]);var logger=require(_0x1f1a[4])(_0x1f1a[3]);const Template=require(_0x1f1a[6])[_0x1f1a[5]];const FaxRoom=require(_0x1f1a[6])[_0x1f1a[7]];const MailAccount=require(_0x1f1a[6])[_0x1f1a[8]];const FaxAccount=require(_0x1f1a[6])[_0x1f1a[9]];const FaxMessage=require(_0x1f1a[6])[_0x1f1a[10]];const MailMessage=require(_0x1f1a[6])[_0x1f1a[11]];function Fax(){logger[_0x1f1a[13]](_0x1f1a[12])}Fax[_0x1f1a[15]][_0x1f1a[14]]= function(_0xce8cxc,_0xce8cxd){return FaxRoom[_0x1f1a[24]]({tags:_0xce8cxc[_0x1f1a[22]][_0x1f1a[21]](_0x1f1a[20])},{where:{id:_0xce8cxd[_0x1f1a[23]]}})[_0x1f1a[19]](function(_0xce8cxe){logger[_0x1f1a[18]](_0x1f1a[16],_0xce8cxe[_0x1f1a[17]])})};Fax[_0x1f1a[15]][_0x1f1a[25]]= function(_0xce8cxc,_0xce8cxd){return FaxRoom[_0x1f1a[24]]({status:_0x1f1a[27],disposition:_0xce8cxc[_0x1f1a[22]]|| null},{individualHooks:true,where:{id:_0xce8cxd[_0x1f1a[23]]}})[_0x1f1a[19]](function(_0xce8cxe){logger[_0x1f1a[18]](_0x1f1a[26],_0xce8cxe[_0x1f1a[17]])})};module[_0x1f1a[28]]= Fax