Built motion from commit ab2cbc7.|0.0.98
[motion.git] / server / config / license / index.js
index 79c5920..ba8c05f 100644 (file)
@@ -1 +1 @@
-var _0x1682=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x75\x74\x69\x6C","\x75\x72\x6C","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x67\x65\x74\x55\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x75\x70\x64\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x1682[0];var config=require(_0x1682[1]);var rp=require(_0x1682[2]);var util=require(_0x1682[3]);var url=require(_0x1682[4]);var CronJob=require(_0x1682[6])[_0x1682[5]];var Settings=require(_0x1682[8])[_0x1682[7]];var license=require(_0x1682[9]);var provisioning=config[_0x1682[10]]+_0x1682[11]+license[_0x1682[12]]()+_0x1682[13];console[_0x1682[14]](provisioning);function licenseManager(){var _0x1bbfxa= new CronJob({cronTime:_0x1682[15],onTick:function(){var _0x1bbfxb;return rp({uri:provisioning,json:true})[_0x1682[22]](function(_0x1bbfxe){_0x1bbfxb=_0x1bbfxe;return Settings[_0x1682[21]]({where:{id:1}})})[_0x1682[20]](function(_0x1bbfxd){return _0x1bbfxd[_0x1682[19]]({license:_0x1bbfxb[_0x1682[18]]})})[_0x1682[17]](function(_0x1bbfxc){console[_0x1682[16]](_0x1bbfxc)})},start:false});_0x1bbfxa[_0x1682[23]]();return {}}module[_0x1682[24]]=licenseManager
\ No newline at end of file
+var _0x753a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x75\x74\x69\x6C","\x75\x72\x6C","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x67\x65\x74\x55\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x75\x70\x64\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x753a[0];var config=require(_0x753a[1]);var rp=require(_0x753a[2]);var util=require(_0x753a[3]);var url=require(_0x753a[4]);var CronJob=require(_0x753a[6])[_0x753a[5]];var Settings=require(_0x753a[8])[_0x753a[7]];var license=require(_0x753a[9]);var provisioning=config[_0x753a[10]]+_0x753a[11]+license[_0x753a[12]]()+_0x753a[13];console[_0x753a[14]](provisioning);function licenseManager(){var _0x307fxa= new CronJob({cronTime:_0x753a[15],onTick:function(){var _0x307fxb;return rp({uri:provisioning,json:true})[_0x753a[22]](function(_0x307fxe){_0x307fxb=_0x307fxe;return Settings[_0x753a[21]]({where:{id:1}})})[_0x753a[20]](function(_0x307fxd){return _0x307fxd[_0x753a[19]]({license:_0x307fxb[_0x753a[18]]})})[_0x753a[17]](function(_0x307fxc){console[_0x753a[16]](_0x307fxc)})},start:false});_0x307fxa[_0x753a[23]]();return {}}module[_0x753a[24]]=licenseManager
\ No newline at end of file