@hotmeshio/hotmesh 0.3.20 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -23
- package/build/index.d.ts +3 -1
- package/build/index.js +5 -1
- package/build/modules/key.js +1 -1
- package/build/modules/utils.d.ts +1 -2
- package/build/modules/utils.js +1 -1
- package/build/package.json +1 -1
- package/build/services/activities/activity.js +1 -1
- package/build/services/activities/await.js +1 -1
- package/build/services/activities/cycle.js +1 -1
- package/build/services/activities/hook.js +1 -1
- package/build/services/activities/index.js +1 -1
- package/build/services/activities/interrupt.js +1 -1
- package/build/services/activities/signal.js +1 -1
- package/build/services/activities/trigger.js +1 -1
- package/build/services/activities/worker.js +1 -1
- package/build/services/collator/index.js +1 -1
- package/build/services/compiler/deployer.js +1 -1
- package/build/services/compiler/index.js +1 -1
- package/build/services/compiler/validator.js +1 -1
- package/build/services/connector/factory.js +21 -19
- package/build/services/engine/index.js +1 -1
- package/build/services/exporter/index.js +1 -1
- package/build/services/mapper/index.js +1 -1
- package/build/services/meshcall/index.js +5 -7
- package/build/services/meshdata/index.d.ts +3 -4
- package/build/services/meshdata/index.js +4 -9
- package/build/services/meshflow/client.js +3 -4
- package/build/services/meshflow/exporter.js +1 -1
- package/build/services/meshflow/worker.js +7 -10
- package/build/services/meshos/index.d.ts +2 -2
- package/build/services/meshos/index.js +6 -9
- package/build/services/pipe/functions/array.js +1 -1
- package/build/services/pipe/functions/bitwise.js +1 -1
- package/build/services/pipe/functions/conditional.js +1 -1
- package/build/services/pipe/functions/cron.js +1 -1
- package/build/services/pipe/functions/date.js +1 -1
- package/build/services/pipe/functions/index.js +1 -1
- package/build/services/pipe/functions/json.js +1 -1
- package/build/services/pipe/functions/logical.js +1 -1
- package/build/services/pipe/functions/math.js +1 -1
- package/build/services/pipe/functions/number.js +1 -1
- package/build/services/pipe/functions/object.js +1 -1
- package/build/services/pipe/functions/string.js +1 -1
- package/build/services/pipe/functions/symbol.js +1 -1
- package/build/services/pipe/functions/unary.js +1 -1
- package/build/services/pipe/index.js +1 -1
- package/build/services/quorum/index.js +1 -1
- package/build/services/reporter/index.js +1 -1
- package/build/services/router/index.js +1 -1
- package/build/services/search/providers/postgres/postgres.js +1 -1
- package/build/services/search/providers/redis/ioredis.js +1 -1
- package/build/services/search/providers/redis/redis.js +1 -1
- package/build/services/serializer/index.js +1 -1
- package/build/services/store/providers/postgres/kvsql.js +1 -1
- package/build/services/store/providers/postgres/kvtables.js +1 -1
- package/build/services/store/providers/postgres/kvtransaction.js +1 -1
- package/build/services/store/providers/postgres/kvtypes/hash.js +1 -1
- package/build/services/store/providers/postgres/kvtypes/list.js +1 -1
- package/build/services/store/providers/postgres/kvtypes/string.js +1 -1
- package/build/services/store/providers/postgres/kvtypes/zset.js +1 -1
- package/build/services/store/providers/postgres/postgres.js +1 -1
- package/build/services/store/providers/redis/_base.js +1 -1
- package/build/services/store/providers/redis/ioredis.js +1 -1
- package/build/services/store/providers/redis/redis.js +1 -1
- package/build/services/store/providers/store-initializable.js +1 -1
- package/build/services/stream/providers/nats/nats.js +1 -1
- package/build/services/stream/providers/postgres/postgres.js +1 -1
- package/build/services/stream/providers/redis/ioredis.js +1 -1
- package/build/services/stream/providers/redis/redis.js +1 -1
- package/build/services/stream/providers/stream-initializable.js +1 -1
- package/build/services/sub/providers/nats/nats.js +1 -1
- package/build/services/sub/providers/postgres/postgres.js +1 -1
- package/build/services/sub/providers/redis/ioredis.js +1 -1
- package/build/services/sub/providers/redis/redis.js +1 -1
- package/build/services/task/index.js +1 -1
- package/build/services/telemetry/index.js +1 -1
- package/build/services/worker/index.js +1 -1
- package/build/types/hotmesh.d.ts +3 -17
- package/build/types/manifest.d.ts +2 -10
- package/index.ts +4 -0
- package/package.json +1 -1
- package/types/hotmesh.ts +17 -17
- package/types/manifest.ts +2 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x15e5d7,_0x1f04bd){const _0x59af2d=_0x2d09,_0x40ef9a=_0x15e5d7();while(!![]){try{const _0x1feddd=-parseInt(_0x59af2d(0x8f))/0x1+parseInt(_0x59af2d(0x8d))/0x2+-parseInt(_0x59af2d(0x92))/0x3*(parseInt(_0x59af2d(0x8a))/0x4)+-parseInt(_0x59af2d(0x89))/0x5+-parseInt(_0x59af2d(0x88))/0x6*(parseInt(_0x59af2d(0x90))/0x7)+parseInt(_0x59af2d(0x8b))/0x8*(parseInt(_0x59af2d(0x8c))/0x9)+-parseInt(_0x59af2d(0x8e))/0xa*(-parseInt(_0x59af2d(0x91))/0xb);if(_0x1feddd===_0x1f04bd)break;else _0x40ef9a['push'](_0x40ef9a['shift']());}catch(_0x1eab09){_0x40ef9a['push'](_0x40ef9a['shift']());}}}(_0x7252,0x28feb));function _0x7252(){const _0x14a3b8=['161ZaXQAq','11uUencW','52053AqpyHL','85692VZpOzM','268740dfDVvg','68szbqjc','45496dnJSfO','99sanDla','560962RpqbnI','5161550MCBgGC','14077trxFEU'];_0x7252=function(){return _0x14a3b8;};return _0x7252();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ExporterService']=void 0x0;const key_1=require('../../modules/key'),utils_1=require('../../modules/utils'),serializer_1=require('../serializer');function _0x2d09(_0x408fa5,_0x3bb6cb){const _0x725276=_0x7252();return _0x2d09=function(_0x2d0981,_0xe5450c){_0x2d0981=_0x2d0981-0x88;let _0x297a63=_0x725276[_0x2d0981];return _0x297a63;},_0x2d09(_0x408fa5,_0x3bb6cb);}class ExporterService{constructor(_0x5c1060,_0xbde14b,_0x31ec20){this['appId']=_0x5c1060,this['logger']=_0x31ec20,this['store']=_0xbde14b;}async['export'](_0x57eec2,_0x6de0d0={}){!this['symbols']&&(this['symbols']=this['store']['getAllSymbols'](),this['symbols']=await this['symbols']);const _0x547d80=[],_0x1cb52c=await this['store']['getRaw'](_0x57eec2),_0x341f80=this['inflate'](_0x1cb52c,_0x547d80);return _0x341f80;}['inflateKey'](_0x5b95fc){return _0x5b95fc in this['symbols']?this['symbols'][_0x5b95fc]:_0x5b95fc;}['inflate'](_0x1ae091,_0x55fc1a){const _0x387607={'hooks':{},'main':{'cursor':-0x1,'items':[]}},_0x567f7f={},_0x2ab6de=this['inflateDependencyData'](_0x55fc1a,_0x387607),_0x5a800c=/^([a-zA-Z]{3}),(\d+(?:,\d+)*)/;return Object['entries'](_0x1ae091)['forEach'](([_0x44ed48,_0x59aeb4])=>{const _0x55189e=_0x44ed48['match'](_0x5a800c);if(_0x55189e){const [_0x503de2,_0xf820fb,_0x535493]=_0x55189e,_0x347063=this['inflateKey'](_0xf820fb),_0x26a08e=''+_0x535493['replace'](/,/g,'/'),_0x163df7=serializer_1['SerializerService']['fromString'](_0x59aeb4);_0x567f7f[_0x26a08e+'/'+_0x347063]=_0x163df7;}else _0x44ed48['length']===0x3&&(_0x567f7f[this['inflateKey'](_0x44ed48)]=serializer_1['SerializerService']['fromString'](_0x59aeb4));}),{'dependencies':_0x2ab6de,'process':(0x0,utils_1['restoreHierarchy'])(_0x567f7f),'status':_0x1ae091[':']};}['inflateDependencyData'](_0x15d70c,_0x1ae653){const _0x36438a=/([0-9,]+)-(\d+)$/,_0x4d6500=/-(\d+)$/;return _0x15d70c['map']((_0x423f2d,_0xa1a26a)=>{const [_0x505a35,_0x39d953,_0x247ef,_0x4b8b57,..._0x45b928]=_0x423f2d['split'](key_1['VALSEP']),_0x5cf6e8=_0x45b928['join'](key_1['VALSEP']),_0x3111e7=_0x5cf6e8['match'](_0x36438a);let _0x5c8af5,_0x5f32e9,_0x219996='';if(_0x3111e7){const [_0x38e234,_0x56ef6f,_0x3b462f]=_0x3111e7;_0x219996=_0x56ef6f['split'](',')['join']('/'),_0x5c8af5=_0x219996+'['+_0x3b462f+']',_0x5f32e9='hook';}else{const _0x413d2b=_0x5cf6e8['match'](_0x4d6500);if(_0x413d2b){const [_0xf821ce,_0x491602]=_0x413d2b;_0x5c8af5='['+_0x491602+']',_0x5f32e9='flow';}else _0x5c8af5='/',_0x5f32e9='other';}return{'type':_0x505a35,'topic':_0x39d953,'gid':_0x247ef,'jid':_0x5cf6e8};});}}exports['ExporterService']=ExporterService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function _0x2948(){const _0x131d48=['2780itXyVJ','2298cIIUeY','11HcdALI','491210qYERGk','390431hBLJwP','2936073WBZBsI','5606772tvfAyr','1797YqSwZl','4365NQQAEC','8dGRPxN','2eHfHcv','2089863yecWYl'];_0x2948=function(){return _0x131d48;};return _0x2948();}function _0x7136(_0x2c7e44,_0x6cd41b){const _0x2948a5=_0x2948();return _0x7136=function(_0x7136dc,_0x7aa460){_0x7136dc=_0x7136dc-0x188;let _0x2e76a3=_0x2948a5[_0x7136dc];return _0x2e76a3;},_0x7136(_0x2c7e44,_0x6cd41b);}(function(_0x57a010,_0x1ab197){const _0x220a4b=_0x7136,_0x3fef9b=_0x57a010();while(!![]){try{const _0x56a61e=parseInt(_0x220a4b(0x193))/0x1*(parseInt(_0x220a4b(0x18d))/0x2)+parseInt(_0x220a4b(0x18a))/0x3*(-parseInt(_0x220a4b(0x18f))/0x4)+parseInt(_0x220a4b(0x18b))/0x5*(-parseInt(_0x220a4b(0x190))/0x6)+parseInt(_0x220a4b(0x188))/0x7+-parseInt(_0x220a4b(0x18c))/0x8*(parseInt(_0x220a4b(0x18e))/0x9)+parseInt(_0x220a4b(0x192))/0xa*(-parseInt(_0x220a4b(0x191))/0xb)+parseInt(_0x220a4b(0x189))/0xc;if(_0x56a61e===_0x1ab197)break;else _0x3fef9b['push'](_0x3fef9b['shift']());}catch(_0x3c8d5d){_0x3fef9b['push'](_0x3fef9b['shift']());}}}(_0x2948,0x3bd75));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['MapperService']=void 0x0;const pipe_1=require('../pipe');class MapperService{constructor(_0x402d1a,_0x55ef67){this['rules']=_0x402d1a,this['data']=_0x55ef67;}['mapRules'](){return this['traverseRules'](this['rules']);}['traverseRules'](_0x4b18d4){if(typeof _0x4b18d4==='object'&&'@pipe'in _0x4b18d4)return this['pipe'](_0x4b18d4['@pipe']);if(typeof _0x4b18d4==='object'&&_0x4b18d4!==null){const _0x3c6b34={};for(const _0x40120f in _0x4b18d4){Object['prototype']['hasOwnProperty']['call'](_0x4b18d4,_0x40120f)&&(_0x3c6b34[_0x40120f]=this['traverseRules'](_0x4b18d4[_0x40120f]));}return _0x3c6b34;}else return this['resolve'](_0x4b18d4);}['pipe'](_0x1f49fd){const _0x879437=new pipe_1['Pipe'](_0x1f49fd,this['data']);return _0x879437['process']();}['resolve'](_0x4b2299){const _0x56d0cf=new pipe_1['Pipe']([[_0x4b2299]],this['data']);return _0x56d0cf['process']();}static['evaluate'](_0x32a6bb,_0x275fd4,_0x470dba){if(typeof _0x32a6bb==='boolean')return _0x32a6bb;if(Array['isArray'](_0x32a6bb['code'])&&_0x32a6bb['code']['includes'](_0x470dba||0xc8)||_0x470dba['toString']()===(_0x32a6bb['code']||0xc8)['toString']()){if(!_0x32a6bb['match'])return!![];const _0x4b48ce=_0x32a6bb['gate']==='or';let _0x47d55f=!![],_0x348e8f=![];return _0x32a6bb['match']['forEach'](({expected:_0x456e5f,actual:_0xe58d5c})=>{if(_0x4b48ce&&!_0x348e8f||!_0x4b48ce&&_0x47d55f){const _0x56603b=pipe_1['Pipe']['resolve'](_0xe58d5c,_0x275fd4)===_0x456e5f;if(_0x4b48ce&&_0x56603b)_0x348e8f=!![];else!_0x4b48ce&&!_0x56603b&&(_0x47d55f=![]);}}),_0x4b48ce?_0x348e8f:_0x47d55f;}return![];}}exports['MapperService']=MapperService;
|
|
@@ -80,8 +80,8 @@ class MeshCall {
|
|
|
80
80
|
else {
|
|
81
81
|
const response = [];
|
|
82
82
|
for (const p in connection) {
|
|
83
|
-
if (
|
|
84
|
-
response.push((0, utils_1.hashOptions)(connection[p]));
|
|
83
|
+
if (connection[p].options) {
|
|
84
|
+
response.push((0, utils_1.hashOptions)(connection[p].options));
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
return response.join('');
|
|
@@ -92,16 +92,15 @@ class MeshCall {
|
|
|
92
92
|
const optionsHash = MeshCall.hashOptions(utils_1.polyfill.providerConfig(params));
|
|
93
93
|
const targetTopic = `${optionsHash}.${targetNamespace}.${params.topic}`;
|
|
94
94
|
const connection = utils_1.polyfill.providerConfig(params);
|
|
95
|
-
const conType = 'options' in connection ? 'connection' : 'connections';
|
|
96
95
|
const hotMeshWorker = await hotmesh_1.HotMesh.init({
|
|
97
96
|
guid: params.guid,
|
|
98
97
|
logLevel: params.logLevel ?? enums_1.HMSH_LOGLEVEL,
|
|
99
98
|
appId: params.namespace ?? key_1.HMNS,
|
|
100
|
-
engine: {
|
|
99
|
+
engine: { connection },
|
|
101
100
|
workers: [
|
|
102
101
|
{
|
|
103
102
|
topic: params.topic,
|
|
104
|
-
|
|
103
|
+
connection,
|
|
105
104
|
callback: async function (input) {
|
|
106
105
|
const response = await params.callback.apply(this, input.data.args);
|
|
107
106
|
return {
|
|
@@ -237,13 +236,12 @@ MeshCall.getHotMeshClient = async (namespace, connection, options = {}) => {
|
|
|
237
236
|
await _a.verifyWorkflowActive(hotMeshClient, targetNS);
|
|
238
237
|
return hotMeshClient;
|
|
239
238
|
}
|
|
240
|
-
const conType = 'options' in connection ? 'connection' : 'connections';
|
|
241
239
|
const hotMeshClient = hotmesh_1.HotMesh.init({
|
|
242
240
|
guid: options.guid,
|
|
243
241
|
appId: targetNS,
|
|
244
242
|
logLevel: enums_1.HMSH_LOGLEVEL,
|
|
245
243
|
engine: {
|
|
246
|
-
|
|
244
|
+
connection,
|
|
247
245
|
readonly: options.readonly,
|
|
248
246
|
},
|
|
249
247
|
});
|
|
@@ -9,10 +9,9 @@ import { ProviderConfig } from '../../types';
|
|
|
9
9
|
import { ProviderClass, ProvidersConfig } from '../../types/provider';
|
|
10
10
|
declare class MeshData {
|
|
11
11
|
connectionSignatures: StringStringType;
|
|
12
|
-
connection:
|
|
12
|
+
connection: ProviderConfig | ProvidersConfig;
|
|
13
13
|
instances: Map<string, Promise<HotMesh> | HotMesh>;
|
|
14
14
|
search: WorkflowSearchOptions;
|
|
15
|
-
connections: ProvidersConfig;
|
|
16
15
|
static workflow: {
|
|
17
16
|
sleep: typeof import("../meshflow/workflow").WorkflowService.sleepFor;
|
|
18
17
|
sleepFor: typeof import("../meshflow/workflow").WorkflowService.sleepFor;
|
|
@@ -29,9 +28,9 @@ declare class MeshData {
|
|
|
29
28
|
executeChild: <T_1>(options?: Partial<WorkflowOptions>) => Promise<T_1>;
|
|
30
29
|
startChild: (options?: Partial<WorkflowOptions>) => Promise<string>;
|
|
31
30
|
};
|
|
32
|
-
constructor(providerClass: ProviderClass
|
|
31
|
+
constructor(providerClass: ProviderClass | ProviderConfig | ProvidersConfig, search?: WorkflowSearchOptions);
|
|
33
32
|
validate(entity: string): void;
|
|
34
|
-
getConnection(): Promise<
|
|
33
|
+
getConnection(): Promise<ProviderConfig | ProvidersConfig>;
|
|
35
34
|
getClient(): import("../meshflow/client").ClientService;
|
|
36
35
|
safeKey(key: string): string;
|
|
37
36
|
arrayToHash(input: [number, ...Array<string | string[]>]): StringStringType[];
|
|
@@ -8,9 +8,8 @@ const hotmesh_1 = require("../hotmesh");
|
|
|
8
8
|
const hotmesh_2 = require("../../types/hotmesh");
|
|
9
9
|
const enums_1 = require("../../modules/enums");
|
|
10
10
|
class MeshData {
|
|
11
|
-
constructor(providerClass,
|
|
11
|
+
constructor(providerClass, search) {
|
|
12
12
|
this.connectionSignatures = {};
|
|
13
|
-
this.connection = {};
|
|
14
13
|
this.instances = new Map();
|
|
15
14
|
this.mesh = {
|
|
16
15
|
sub: async (callback, options = {}) => {
|
|
@@ -46,9 +45,7 @@ class MeshData {
|
|
|
46
45
|
await hotMesh.quorum?.unsub(callback);
|
|
47
46
|
},
|
|
48
47
|
};
|
|
49
|
-
this.
|
|
50
|
-
this.connection.class = providerClass;
|
|
51
|
-
this.connection.options = providerOptions;
|
|
48
|
+
this.connection = providerClass;
|
|
52
49
|
if (search) {
|
|
53
50
|
this.search = search;
|
|
54
51
|
}
|
|
@@ -59,8 +56,7 @@ class MeshData {
|
|
|
59
56
|
}
|
|
60
57
|
}
|
|
61
58
|
async getConnection() {
|
|
62
|
-
return
|
|
63
|
-
await meshflow_1.MeshFlow.Connection.connect(utils_1.polyfill.meshDataConfig(this)));
|
|
59
|
+
return this.connection;
|
|
64
60
|
}
|
|
65
61
|
getClient() {
|
|
66
62
|
return new meshflow_1.MeshFlow.Client({
|
|
@@ -132,11 +128,10 @@ class MeshData {
|
|
|
132
128
|
async getHotMesh(namespace = 'meshflow') {
|
|
133
129
|
let hotMesh = await this.instances.get(namespace);
|
|
134
130
|
if (!hotMesh) {
|
|
135
|
-
const connectionType = this.connections ? 'connections' : 'connection';
|
|
136
131
|
hotMesh = hotmesh_1.HotMesh.init({
|
|
137
132
|
appId: namespace,
|
|
138
133
|
engine: {
|
|
139
|
-
|
|
134
|
+
connection: utils_1.polyfill.meshDataConfig(this),
|
|
140
135
|
},
|
|
141
136
|
});
|
|
142
137
|
this.instances.set(namespace, hotMesh);
|
|
@@ -21,12 +21,11 @@ class ClientService {
|
|
|
21
21
|
await this.verifyWorkflowActive(hotMeshClient, targetNS);
|
|
22
22
|
return hotMeshClient;
|
|
23
23
|
}
|
|
24
|
-
const connectionType = 'options' in this.connection ? 'connection' : 'connections';
|
|
25
24
|
const hotMeshClient = hotmesh_1.HotMesh.init({
|
|
26
25
|
appId: targetNS,
|
|
27
26
|
logLevel: enums_1.HMSH_LOGLEVEL,
|
|
28
27
|
engine: {
|
|
29
|
-
|
|
28
|
+
connection: this.connection,
|
|
30
29
|
},
|
|
31
30
|
});
|
|
32
31
|
ClientService.instances.set(connectionNS, hotMeshClient);
|
|
@@ -128,8 +127,8 @@ class ClientService {
|
|
|
128
127
|
else {
|
|
129
128
|
const response = [];
|
|
130
129
|
for (const p in this.connection) {
|
|
131
|
-
if (
|
|
132
|
-
response.push((0, utils_1.hashOptions)(this.connection[p]));
|
|
130
|
+
if (this.connection[p].options) {
|
|
131
|
+
response.push((0, utils_1.hashOptions)(this.connection[p].options));
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
134
|
return response.join('');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x1e4654,_0x4ffe77){const _0x2de618=_0x1de3,_0x3cac38=_0x1e4654();while(!![]){try{const _0x26cbe9=-parseInt(_0x2de618(0x1ee))/0x1*(parseInt(_0x2de618(0x1f5))/0x2)+-parseInt(_0x2de618(0x1f7))/0x3*(parseInt(_0x2de618(0x1ec))/0x4)+parseInt(_0x2de618(0x1f3))/0x5+-parseInt(_0x2de618(0x1f1))/0x6+parseInt(_0x2de618(0x1ed))/0x7*(parseInt(_0x2de618(0x1ef))/0x8)+parseInt(_0x2de618(0x1f4))/0x9*(-parseInt(_0x2de618(0x1f0))/0xa)+parseInt(_0x2de618(0x1f2))/0xb*(parseInt(_0x2de618(0x1f6))/0xc);if(_0x26cbe9===_0x4ffe77)break;else _0x3cac38['push'](_0x3cac38['shift']());}catch(_0x5929b3){_0x3cac38['push'](_0x3cac38['shift']());}}}(_0x3086,0xa4d65));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ExporterService']=void 0x0;const utils_1=require('../../modules/utils'),serializer_1=require('../serializer');function _0x1de3(_0xd57b9c,_0x4fbf48){const _0x3086b2=_0x3086();return _0x1de3=function(_0x1de3ac,_0x4bec97){_0x1de3ac=_0x1de3ac-0x1ec;let _0x315379=_0x3086b2[_0x1de3ac];return _0x315379;},_0x1de3(_0xd57b9c,_0x4fbf48);}function _0x3086(){const _0x51d53a=['12zOsECp','331176HRbhVJ','544335LkHRdf','4QYxYtP','4131407lSsUKS','27802UhKWsm','16VXlKdi','650EMssXf','2652672xeOKUD','143auXhgH','2435605MOQFDd','77643RNjaVb'];_0x3086=function(){return _0x51d53a;};return _0x3086();}class ExporterService{constructor(_0x78463e,_0x4f239d,_0x12a227){this['appId']=_0x78463e,this['logger']=_0x12a227,this['store']=_0x4f239d;}async['export'](_0x3a2403,_0x5f48e6={}){if(!ExporterService['symbols']['has'](this['appId'])){const _0x477133=this['store']['getAllSymbols']();ExporterService['symbols']['set'](this['appId'],await _0x477133);}const _0x21c45d=await this['store']['getRaw'](_0x3a2403),_0x3f1c4e=this['inflate'](_0x21c45d,_0x5f48e6);return _0x3f1c4e;}['inflate'](_0x3ccbc7,_0x3e4b8){const _0x5a64e5=[],_0x3e996f={},_0x5cc8e0={},_0x3bd49d={},_0x20ef71=/^([a-zA-Z]{3}),(\d+(?:,\d+)*)/;return Object['entries'](_0x3ccbc7)['forEach'](([_0x4051e0,_0x2233d4])=>{const _0x4d7135=_0x4051e0['match'](_0x20ef71);if(_0x4d7135)this['inflateTransition'](_0x4d7135,_0x2233d4,_0x3bd49d);else{if(_0x4051e0['startsWith']('_'))_0x5cc8e0[_0x4051e0['substring'](0x1)]=_0x2233d4;else{if(_0x4051e0['startsWith']('-')){const _0x5a29d2=this['keyToObject'](_0x4051e0);_0x5a64e5['push']({..._0x5a29d2,'key':_0x4051e0,'value':this['resolveValue'](_0x2233d4,_0x3e4b8['values'])});}else _0x4051e0['length']===0x3&&(_0x3e996f[this['inflateKey'](_0x4051e0)]=serializer_1['SerializerService']['fromString'](_0x2233d4));}}}),this['filterFields']({'data':(0x0,utils_1['restoreHierarchy'])(_0x5cc8e0),'state':Object['entries']((0x0,utils_1['restoreHierarchy'])(_0x3e996f))[0x0][0x1],'status':parseInt(_0x3ccbc7[':'],0xa),'timeline':this['sortParts'](_0x5a64e5),'transitions':this['sortEntriesByCreated'](_0x3bd49d)},_0x3e4b8['block'],_0x3e4b8['allow']);}['resolveValue'](_0x55b770,_0x9a6ed){const _0x3a0317=serializer_1['SerializerService']['fromString'](_0x55b770);if(_0x9a6ed!==![])return _0x3a0317;return _0x3a0317&&typeof _0x3a0317==='object'&&('data'in _0x3a0317&&(_0x3a0317['data']={}),'$error'in _0x3a0317&&(_0x3a0317['$error']={})),_0x3a0317;}['inflateKey'](_0x1b40d2){const _0x4221fa=ExporterService['symbols']['get'](this['appId']);if(_0x1b40d2 in _0x4221fa){const _0x39fd4f=_0x4221fa[_0x1b40d2],_0x5e9a4d=_0x39fd4f['split']('/');return _0x5e9a4d['join']('/');}return _0x1b40d2;}['filterFields'](_0x54d964,_0x122e42=[],_0x392af8=[]){let _0x53d44b={};return _0x392af8&&_0x392af8['length']>0x0?_0x392af8['forEach'](_0x3bb3cb=>{_0x3bb3cb in _0x54d964&&(_0x53d44b[_0x3bb3cb]=_0x54d964[_0x3bb3cb]);}):_0x53d44b={..._0x54d964},_0x122e42&&_0x122e42['length']>0x0&&_0x122e42['forEach'](_0xc0ac30=>{_0xc0ac30 in _0x53d44b&&delete _0x53d44b[_0xc0ac30];}),_0x53d44b;}['inflateTransition'](_0x194aa1,_0x398231,_0x1d3275){const [_0x225a76,_0x4c3684,_0x48b351]=_0x194aa1,_0x39c035=this['inflateKey'](_0x4c3684),_0x2cd45b=_0x39c035['split']('/'),_0x4f0e5a=_0x2cd45b[0x0],_0x1e2e8c=_0x39c035['endsWith']('/output/metadata/ac'),_0x3890d0=_0x39c035['endsWith']('/output/metadata/au');if(_0x1e2e8c||_0x3890d0){const _0x4c0f20=_0x4f0e5a+','+_0x48b351,_0x47a27b=_0x1d3275[_0x4c0f20];!_0x47a27b?_0x1d3275[_0x4c0f20]={'activity':_0x4f0e5a,'dimensions':_0x48b351,'created':_0x1e2e8c?_0x398231:null,'updated':_0x3890d0?_0x398231:null}:_0x47a27b[_0x1e2e8c?'created':'updated']=_0x398231;}}['sortEntriesByCreated'](_0x211603){const _0x1ad47a=Object['values'](_0x211603);return _0x1ad47a['sort']((_0x2eb5cf,_0x5313d4)=>{return(_0x2eb5cf['created']||_0x2eb5cf['updated'])['localeCompare'](_0x5313d4['created']||_0x5313d4['updated']);}),_0x1ad47a;}['keyToObject'](_0x575027){function _0x3bbe4b(_0x5e79ea){const _0xddcd30=_0x5e79ea['split'](',');if(_0xddcd30['length']>0x1)return _0xddcd30['shift'](),_0xddcd30['join'](',');}const _0x36ea0a=_0x575027['split']('-');return _0x36ea0a['length']===0x4?{'index':parseInt(_0x36ea0a[0x2],0xa),'dimension':_0x3bbe4b(_0x36ea0a[0x1])}:{'index':parseInt(_0x36ea0a[0x2],0xa),'secondary':parseInt(_0x36ea0a[0x3],0xa),'dimension':_0x3bbe4b(_0x36ea0a[0x1])};}['sortParts'](_0x239b0a){return _0x239b0a['sort']((_0x15bad1,_0x2eea2d)=>{const {dimension:_0x3cc1a3,index:_0xd9b270,secondary:_0x57a78c}=_0x15bad1,{dimension:_0x13960f,index:_0x1afa0c,secondary:_0x31ae44}=_0x2eea2d;if(_0x3cc1a3===undefined&&_0x13960f!==undefined)return-0x1;if(_0x3cc1a3!==undefined&&_0x13960f===undefined)return 0x1;if(_0x3cc1a3!==undefined&&_0x13960f!==undefined){if(_0x3cc1a3<_0x13960f)return-0x1;if(_0x3cc1a3>_0x13960f)return 0x1;}if(_0xd9b270<_0x1afa0c)return-0x1;if(_0xd9b270>_0x1afa0c)return 0x1;if(_0x57a78c===undefined&&_0x31ae44!==undefined)return-0x1;if(_0x57a78c!==undefined&&_0x31ae44===undefined)return 0x1;if(_0x57a78c!==undefined&&_0x31ae44!==undefined){if(_0x57a78c<_0x31ae44)return-0x1;if(_0x57a78c>_0x31ae44)return 0x1;}return 0x0;});}}exports['ExporterService']=ExporterService,ExporterService['symbols']=new Map();
|
|
@@ -18,8 +18,8 @@ class WorkerService {
|
|
|
18
18
|
else {
|
|
19
19
|
const response = [];
|
|
20
20
|
for (const p in connection) {
|
|
21
|
-
if (
|
|
22
|
-
response.push((0, utils_1.hashOptions)(connection[p]));
|
|
21
|
+
if (connection[p].options) {
|
|
22
|
+
response.push((0, utils_1.hashOptions)(connection[p].options));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
return response.join('');
|
|
@@ -102,16 +102,15 @@ class WorkerService {
|
|
|
102
102
|
const targetNamespace = config?.namespace ?? factory_1.APP_ID;
|
|
103
103
|
const optionsHash = WorkerService.hashOptions(config?.connection);
|
|
104
104
|
const targetTopic = `${optionsHash}.${targetNamespace}.${activityTopic}`;
|
|
105
|
-
const connectionType = 'options' in providerConfig ? 'connection' : 'connections';
|
|
106
105
|
const hotMeshWorker = await hotmesh_1.HotMesh.init({
|
|
107
106
|
guid: config.guid ? `${config.guid}XA` : undefined,
|
|
108
107
|
logLevel: config.options?.logLevel ?? enums_1.HMSH_LOGLEVEL,
|
|
109
108
|
appId: targetNamespace,
|
|
110
|
-
engine: {
|
|
109
|
+
engine: { connection: providerConfig },
|
|
111
110
|
workers: [
|
|
112
111
|
{
|
|
113
112
|
topic: activityTopic,
|
|
114
|
-
|
|
113
|
+
connection: providerConfig,
|
|
115
114
|
callback: this.wrapActivityFunctions().bind(this),
|
|
116
115
|
},
|
|
117
116
|
],
|
|
@@ -176,16 +175,15 @@ class WorkerService {
|
|
|
176
175
|
const targetNamespace = config?.namespace ?? factory_1.APP_ID;
|
|
177
176
|
const optionsHash = WorkerService.hashOptions(config?.connection);
|
|
178
177
|
const targetTopic = `${optionsHash}.${targetNamespace}.${workflowTopic}`;
|
|
179
|
-
const connectionType = 'options' in providerConfig ? 'connection' : 'connections';
|
|
180
178
|
const hotMeshWorker = await hotmesh_1.HotMesh.init({
|
|
181
179
|
guid: config.guid,
|
|
182
180
|
logLevel: config.options?.logLevel ?? enums_1.HMSH_LOGLEVEL,
|
|
183
181
|
appId: config.namespace ?? factory_1.APP_ID,
|
|
184
|
-
engine: {
|
|
182
|
+
engine: { connection: providerConfig },
|
|
185
183
|
workers: [
|
|
186
184
|
{
|
|
187
185
|
topic: workflowTopic,
|
|
188
|
-
|
|
186
|
+
connection: providerConfig,
|
|
189
187
|
callback: this.wrapWorkflowFunction(workflowFunction, workflowTopic, config).bind(this),
|
|
190
188
|
},
|
|
191
189
|
],
|
|
@@ -380,12 +378,11 @@ WorkerService.getHotMesh = async (workflowTopic, config, options) => {
|
|
|
380
378
|
if (WorkerService.instances.has(targetTopic)) {
|
|
381
379
|
return await WorkerService.instances.get(targetTopic);
|
|
382
380
|
}
|
|
383
|
-
const connectionType = 'options' in config?.connection ? 'connection' : 'connections';
|
|
384
381
|
const hotMeshClient = hotmesh_1.HotMesh.init({
|
|
385
382
|
logLevel: options?.logLevel ?? enums_1.HMSH_LOGLEVEL,
|
|
386
383
|
appId: targetNamespace,
|
|
387
384
|
engine: {
|
|
388
|
-
|
|
385
|
+
connection: { ...config?.connection },
|
|
389
386
|
},
|
|
390
387
|
});
|
|
391
388
|
WorkerService.instances.set(targetTopic, hotMeshClient);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MeshData } from '../meshdata/index';
|
|
2
2
|
import * as Types from '../../types';
|
|
3
|
-
import { ProvidersConfig } from '../../types/provider';
|
|
3
|
+
import { ProviderConfig, ProvidersConfig } from '../../types/provider';
|
|
4
4
|
declare abstract class MeshOS {
|
|
5
5
|
meshData: MeshData;
|
|
6
6
|
connected: boolean;
|
|
@@ -13,7 +13,7 @@ declare abstract class MeshOS {
|
|
|
13
13
|
static profiles: Types.Profiles;
|
|
14
14
|
static classes: Record<string, typeof MeshOS>;
|
|
15
15
|
static logger: Types.ILogger;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(providerConfig: ProviderConfig | ProvidersConfig, namespace: string, namespaceType: string);
|
|
17
17
|
protected abstract getEntity(): string;
|
|
18
18
|
abstract getSearchOptions(): Types.WorkflowSearchOptions;
|
|
19
19
|
protected abstract getTaskQueue(): string;
|
|
@@ -5,18 +5,15 @@ const index_1 = require("../meshdata/index");
|
|
|
5
5
|
const utils_1 = require("../../modules/utils");
|
|
6
6
|
const logger_1 = require("../logger");
|
|
7
7
|
class MeshOS {
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(providerConfig, namespace, namespaceType) {
|
|
9
9
|
this.connected = false;
|
|
10
10
|
this.workflow = {};
|
|
11
11
|
this.namespace = namespace;
|
|
12
12
|
this.namespaceType = namespaceType;
|
|
13
|
-
this.meshData = this.initializeMeshData(
|
|
13
|
+
this.meshData = this.initializeMeshData(providerConfig);
|
|
14
14
|
}
|
|
15
|
-
initializeMeshData(
|
|
16
|
-
|
|
17
|
-
return new index_1.MeshData(providerClass, providerConfig, this.getSearchOptions(), connections);
|
|
18
|
-
}
|
|
19
|
-
return new index_1.MeshData(providerClass, providerConfig, this.getSearchOptions());
|
|
15
|
+
initializeMeshData(providerConfig) {
|
|
16
|
+
return new index_1.MeshData(providerConfig, this.getSearchOptions());
|
|
20
17
|
}
|
|
21
18
|
async defaultTargetFn() {
|
|
22
19
|
return 'OK';
|
|
@@ -195,7 +192,7 @@ class MeshOS {
|
|
|
195
192
|
static async init(p = MeshOS.profiles) {
|
|
196
193
|
for (const key in p) {
|
|
197
194
|
const profile = p[key];
|
|
198
|
-
if (profile.db?.connection
|
|
195
|
+
if (profile.db?.connection) {
|
|
199
196
|
this.logger.info(`meshos-initializing`, {
|
|
200
197
|
db: profile.db.name,
|
|
201
198
|
key,
|
|
@@ -217,7 +214,7 @@ class MeshOS {
|
|
|
217
214
|
entity: entity.name,
|
|
218
215
|
label: entity.label,
|
|
219
216
|
});
|
|
220
|
-
const instance = pinstances[entity.name] = new entity.class(profile.db.connection
|
|
217
|
+
const instance = pinstances[entity.name] = new entity.class(profile.db.connection, ns, namespace.type);
|
|
221
218
|
await instance.init(profile.db.search);
|
|
222
219
|
}
|
|
223
220
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x4f5b36,_0x103902){var _0x26ace2=_0x1fc2,_0x30eba9=_0x4f5b36();while(!![]){try{var _0x3dcbc7=-parseInt(_0x26ace2(0x1cd))/0x1*(-parseInt(_0x26ace2(0x1c9))/0x2)+parseInt(_0x26ace2(0x1d1))/0x3*(-parseInt(_0x26ace2(0x1d0))/0x4)+-parseInt(_0x26ace2(0x1ca))/0x5*(parseInt(_0x26ace2(0x1d3))/0x6)+parseInt(_0x26ace2(0x1ce))/0x7*(parseInt(_0x26ace2(0x1cc))/0x8)+parseInt(_0x26ace2(0x1cf))/0x9*(parseInt(_0x26ace2(0x1d2))/0xa)+parseInt(_0x26ace2(0x1d5))/0xb*(parseInt(_0x26ace2(0x1cb))/0xc)+parseInt(_0x26ace2(0x1d4))/0xd;if(_0x3dcbc7===_0x103902)break;else _0x30eba9['push'](_0x30eba9['shift']());}catch(_0x3b6ea0){_0x30eba9['push'](_0x30eba9['shift']());}}}(_0x466d,0xb10ec));function _0x1fc2(_0x4af95a,_0x5e95e6){var _0x466d79=_0x466d();return _0x1fc2=function(_0x1fc2c0,_0x4db6ce){_0x1fc2c0=_0x1fc2c0-0x1c9;var _0x56f6cd=_0x466d79[_0x1fc2c0];return _0x56f6cd;},_0x1fc2(_0x4af95a,_0x5e95e6);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ArrayHandler']=void 0x0;class ArrayHandler{['get'](_0x1b3f97,_0x1f56ca){return _0x1b3f97?.[_0x1f56ca||0x0];}['length'](_0x515b1e){return _0x515b1e?.['length'];}['concat'](_0x21d03f,_0x4a1374){return _0x21d03f['concat'](_0x4a1374);}['indexOf'](_0x5471c4,_0x26e27a,_0x9c482){return _0x5471c4['indexOf'](_0x26e27a,_0x9c482);}['join'](_0x249bb6,_0x521fc9){return _0x249bb6['join'](_0x521fc9);}['lastIndexOf'](_0x47a15a,_0x428dd4,_0x566303){return _0x47a15a['lastIndexOf'](_0x428dd4,_0x566303);}['pop'](_0x1e1a31){return _0x1e1a31['pop']();}['push'](_0x5abeac,..._0x7251c0){return _0x5abeac['push'](..._0x7251c0),_0x5abeac;}['reverse'](_0x45fc3c){return _0x45fc3c['reverse']();}['shift'](_0x541a18){return _0x541a18['shift']();}['slice'](_0x346c57,_0x44674f,_0x428646){return _0x346c57['slice'](_0x44674f,_0x428646);}['sort'](_0x4ff667,_0x5ae8f4='ASCENDING'){return _0x4ff667['sort']((_0x480d4a,_0x3fce88)=>{if(_0x5ae8f4==='ASCENDING'){if(_0x480d4a===_0x3fce88)return 0x0;if(_0x480d4a===null||_0x480d4a===undefined)return-0x1;if(_0x3fce88===null||_0x3fce88===undefined)return 0x1;if(typeof _0x480d4a==='string'&&typeof _0x3fce88==='string')return _0x480d4a['localeCompare'](_0x3fce88);return _0x480d4a<_0x3fce88?-0x1:0x1;}else{if(_0x480d4a===_0x3fce88)return 0x0;if(_0x480d4a===null||_0x480d4a===undefined)return 0x1;if(_0x3fce88===null||_0x3fce88===undefined)return-0x1;if(typeof _0x480d4a==='string'&&typeof _0x3fce88==='string')return _0x3fce88['localeCompare'](_0x480d4a);return _0x480d4a>_0x3fce88?-0x1:0x1;}});}['splice'](_0x58536f,_0x16bbd1,_0xa4feb6,..._0x55cf0b){return _0x58536f['splice'](_0x16bbd1,_0xa4feb6,..._0x55cf0b);}['unshift'](_0x36b43f,..._0x3f37c9){return _0x36b43f['unshift'](..._0x3f37c9);}}function _0x466d(){var _0x557e31=['10WYkVGV','8595lfoicF','12hkUjmH','32728nYHxhH','122921cLOdzA','602IcOshS','143289IaAxhW','36SNtAcR','317400lOKUzQ','30bfsBeJ','2778QFAAqz','8589529AkdZME','8782378EjzQHD'];_0x466d=function(){return _0x557e31;};return _0x466d();}exports['ArrayHandler']=ArrayHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x524d1a,_0x5f223c){var _0x1176d8=_0x9332,_0x5c6547=_0x524d1a();while(!![]){try{var _0xb0326b=parseInt(_0x1176d8(0xe4))/0x1+-parseInt(_0x1176d8(0xdf))/0x2*(parseInt(_0x1176d8(0xe3))/0x3)+parseInt(_0x1176d8(0xe5))/0x4+-parseInt(_0x1176d8(0xe1))/0x5*(-parseInt(_0x1176d8(0xe2))/0x6)+parseInt(_0x1176d8(0xe6))/0x7+-parseInt(_0x1176d8(0xdd))/0x8*(-parseInt(_0x1176d8(0xe0))/0x9)+-parseInt(_0x1176d8(0xe7))/0xa*(parseInt(_0x1176d8(0xde))/0xb);if(_0xb0326b===_0x5f223c)break;else _0x5c6547['push'](_0x5c6547['shift']());}catch(_0x596386){_0x5c6547['push'](_0x5c6547['shift']());}}}(_0xf115,0xc552e));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['BitwiseHandler']=void 0x0;function _0x9332(_0xfe6a09,_0xfd078b){var _0xf115f0=_0xf115();return _0x9332=function(_0x933241,_0x2263f0){_0x933241=_0x933241-0xdd;var _0xcbabcb=_0xf115f0[_0x933241];return _0xcbabcb;},_0x9332(_0xfe6a09,_0xfd078b);}class BitwiseHandler{['and'](_0x23e991,_0xd0e6db){return _0x23e991&_0xd0e6db;}['or'](_0x416039,_0x4a400a){return _0x416039|_0x4a400a;}['xor'](_0x4a7c70,_0x2ff0dd){return _0x4a7c70^_0x2ff0dd;}['leftShift'](_0x4a89b5,_0x219e8e){return _0x4a89b5<<_0x219e8e;}['rightShift'](_0x246484,_0x37a8d5){return _0x246484>>_0x37a8d5;}['unsignedRightShift'](_0x571d9a,_0x74f5b){return _0x571d9a>>>_0x74f5b;}}function _0xf115(){var _0x5dfad5=['1272642VTJJJY','2035864YCBLQA','1920527pzieVl','5107980jIuAQh','8DInXoO','22HLaEjl','118398FBCSlx','1909485jFJMIK','4320390AjANFL','6OrSuWg','66fMcvYE'];_0xf115=function(){return _0x5dfad5;};return _0xf115();}exports['BitwiseHandler']=BitwiseHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x4c7814,_0x45ad7f){var _0x1bc001=_0x4718,_0x5a480e=_0x4c7814();while(!![]){try{var _0x1c45a1=parseInt(_0x1bc001(0x166))/0x1+parseInt(_0x1bc001(0x164))/0x2+parseInt(_0x1bc001(0x163))/0x3+parseInt(_0x1bc001(0x162))/0x4+-parseInt(_0x1bc001(0x165))/0x5*(-parseInt(_0x1bc001(0x161))/0x6)+-parseInt(_0x1bc001(0x167))/0x7+-parseInt(_0x1bc001(0x160))/0x8;if(_0x1c45a1===_0x45ad7f)break;else _0x5a480e['push'](_0x5a480e['shift']());}catch(_0x25dba4){_0x5a480e['push'](_0x5a480e['shift']());}}}(_0x19f8,0x2d837));function _0x4718(_0x106521,_0x2bb880){var _0x19f8d7=_0x19f8();return _0x4718=function(_0x471815,_0x3269b4){_0x471815=_0x471815-0x160;var _0x2397d8=_0x19f8d7[_0x471815];return _0x2397d8;},_0x4718(_0x106521,_0x2bb880);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ConditionalHandler']=void 0x0;function _0x19f8(){var _0x497800=['1317176RawFwe','779424CypJyE','543428gBPUER','261460tpitGC','251409CQPpgd','1405691XAwiDW','6218248aYmyda','6umnVDu'];_0x19f8=function(){return _0x497800;};return _0x19f8();}class ConditionalHandler{['ternary'](_0x477b49,_0x464132,_0x294e72){return _0x477b49?_0x464132:_0x294e72;}['equality'](_0x25387b,_0x263fd3){return _0x25387b==_0x263fd3;}['strict_equality'](_0x2016c9,_0x3d176c){return _0x2016c9===_0x3d176c;}['inequality'](_0x5461a7,_0x50d26b){return _0x5461a7!=_0x50d26b;}['strict_inequality'](_0x16de0c,_0x1eae3c){return _0x16de0c!==_0x1eae3c;}['greater_than'](_0x418868,_0x30477d){return _0x418868>_0x30477d;}['less_than'](_0x3787b0,_0x20fcb7){return _0x3787b0<_0x20fcb7;}['greater_than_or_equal'](_0x1885cf,_0x4751a8){return _0x1885cf>=_0x4751a8;}['less_than_or_equal'](_0x539159,_0x1868f5){return _0x539159<=_0x1868f5;}['nullish'](_0x13d2f9,_0x5fb8f2){return _0x13d2f9??_0x5fb8f2;}}exports['ConditionalHandler']=ConditionalHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(_0xcecf3c,_0x281b22){const _0x141e55=_0x1378,_0x1add1e=_0xcecf3c();while(!![]){try{const _0x493c2d=-parseInt(_0x141e55(0xdf))/0x1+-parseInt(_0x141e55(0xd9))/0x2*(parseInt(_0x141e55(0xdd))/0x3)+parseInt(_0x141e55(0xd5))/0x4+-parseInt(_0x141e55(0xde))/0x5*(-parseInt(_0x141e55(0xd7))/0x6)+-parseInt(_0x141e55(0xd6))/0x7*(-parseInt(_0x141e55(0xd8))/0x8)+-parseInt(_0x141e55(0xda))/0x9+parseInt(_0x141e55(0xdb))/0xa*(parseInt(_0x141e55(0xdc))/0xb);if(_0x493c2d===_0x281b22)break;else _0x1add1e['push'](_0x1add1e['shift']());}catch(_0x342f72){_0x1add1e['push'](_0x1add1e['shift']());}}}(_0x4bab,0x3c166));function _0x4bab(){const _0x382238=['32YZVUsn','5906WmzHpg','3752028SQViuz','10lSyFgJ','11012771fcTQhY','267wRyOol','113785oldREY','444475ZimWYC','428032FzzBZu','100310dzKnUv','54MMuFMm'];_0x4bab=function(){return _0x382238;};return _0x4bab();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['CronHandler']=void 0x0;const cron_parser_1=require('cron-parser'),enums_1=require('../../../modules/enums'),utils_1=require('../../../modules/utils'),logger_1=require('../../logger');class CronHandler{['nextDelay'](_0x5326d5){try{if(!(0x0,utils_1['isValidCron'])(_0x5326d5))return-0x1;const _0x40ca84=(0x0,cron_parser_1['parseExpression'])(_0x5326d5,{'utc':!![]}),_0x4cc482=_0x40ca84['next']()['toDate'](),_0x3a5a6c=new Date(),_0x46d3ea=(_0x4cc482['getTime']()-_0x3a5a6c['getTime']())/0x3e8;if(_0x46d3ea<=0x0)return-0x1;if(_0x46d3ea<enums_1['HMSH_FIDELITY_SECONDS'])return enums_1['HMSH_FIDELITY_SECONDS'];const _0xf29437=Math['round'](_0x46d3ea);return _0xf29437;}catch(_0x40d9f5){return CronHandler['logger']['error']('Error\x20calculating\x20next\x20cron\x20job\x20execution\x20\x20delay:',{..._0x40d9f5}),-0x1;}}}function _0x1378(_0xafc150,_0x57f77c){const _0x4bab3e=_0x4bab();return _0x1378=function(_0x13780e,_0x18604d){_0x13780e=_0x13780e-0xd5;let _0x52f67b=_0x4bab3e[_0x13780e];return _0x52f67b;},_0x1378(_0xafc150,_0x57f77c);}exports['CronHandler']=CronHandler,CronHandler['logger']=new logger_1['LoggerService']('hotmesh','meshos');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x36d571,_0x23c4f5){const _0x170c27=_0x2aa0,_0x269345=_0x36d571();while(!![]){try{const _0x5212b3=-parseInt(_0x170c27(0x107))/0x1+parseInt(_0x170c27(0x108))/0x2*(parseInt(_0x170c27(0x10f))/0x3)+parseInt(_0x170c27(0x10c))/0x4+-parseInt(_0x170c27(0x105))/0x5*(parseInt(_0x170c27(0x10a))/0x6)+parseInt(_0x170c27(0x106))/0x7+-parseInt(_0x170c27(0x10e))/0x8*(-parseInt(_0x170c27(0x10d))/0x9)+parseInt(_0x170c27(0x109))/0xa*(parseInt(_0x170c27(0x10b))/0xb);if(_0x5212b3===_0x23c4f5)break;else _0x269345['push'](_0x269345['shift']());}catch(_0x42bb37){_0x269345['push'](_0x269345['shift']());}}}(_0x19d1,0xf36ab));function _0x19d1(){const _0xae4c3=['895301GnQlEs','816aLWAva','10BtotKU','12PJIXjc','1455443sNaLFl','4841872jTyTjq','9OcszTZ','6435112TQcCve','7395GPTleq','3444305vbMOix','820176VjvjiR'];_0x19d1=function(){return _0xae4c3;};return _0x19d1();}function _0x2aa0(_0x94c4c8,_0x449855){const _0x19d1ee=_0x19d1();return _0x2aa0=function(_0x2aa0de,_0x1348d0){_0x2aa0de=_0x2aa0de-0x105;let _0x41dd59=_0x19d1ee[_0x2aa0de];return _0x41dd59;},_0x2aa0(_0x94c4c8,_0x449855);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['DateHandler']=void 0x0;const utils_1=require('../../../modules/utils');class DateHandler{static['getDateInstance'](_0x1014a1){const _0x4fd744=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z)?$/;if(typeof _0x1014a1==='string'){if(_0x4fd744['test'](_0x1014a1))return new Date(_0x1014a1);const _0x5937cc=parseInt(_0x1014a1,0xa);if(!isNaN(_0x5937cc))return new Date(_0x5937cc);}else{if(_0x1014a1 instanceof Date)return _0x1014a1;else{if(typeof _0x1014a1==='number')return new Date(_0x1014a1);}}throw new Error('Invalid\x20date\x20format');}['fromISOString'](_0x105a15){return new Date(_0x105a15);}['now'](){return Date['now']();}['parse'](_0x29a759){return Date['parse'](_0x29a759);}['getDate'](_0x18f25f){return DateHandler['getDateInstance'](_0x18f25f)['getDate']();}['getDay'](_0x24210a){return DateHandler['getDateInstance'](_0x24210a)['getDay']();}['getFullYear'](_0x1e44ca){return DateHandler['getDateInstance'](_0x1e44ca)['getFullYear']();}['getHours'](_0x3ea28c){return DateHandler['getDateInstance'](_0x3ea28c)['getHours']();}['getMilliseconds'](_0xa63ead){return DateHandler['getDateInstance'](_0xa63ead)['getMilliseconds']();}['getMinutes'](_0x4ccb16){return DateHandler['getDateInstance'](_0x4ccb16)['getMinutes']();}['getMonth'](_0x3fa4e1){return DateHandler['getDateInstance'](_0x3fa4e1)['getMonth']();}['getSeconds'](_0x577128){return DateHandler['getDateInstance'](_0x577128)['getSeconds']();}['getTime'](_0x534c5d){return DateHandler['getDateInstance'](_0x534c5d)['getTime']();}['getTimezoneOffset'](_0x20b767){return DateHandler['getDateInstance'](_0x20b767)['getTimezoneOffset']();}['getUTCDate'](_0x1c7df6){return DateHandler['getDateInstance'](_0x1c7df6)['getUTCDate']();}['getUTCDay'](_0x1ac4af){return DateHandler['getDateInstance'](_0x1ac4af)['getUTCDay']();}['getUTCFullYear'](_0x5624c5){return DateHandler['getDateInstance'](_0x5624c5)['getUTCFullYear']();}['getUTCHours'](_0x30c232){return DateHandler['getDateInstance'](_0x30c232)['getUTCHours']();}['getUTCMilliseconds'](_0x4171c1){return DateHandler['getDateInstance'](_0x4171c1)['getUTCMilliseconds']();}['getUTCMinutes'](_0x224bd0){return DateHandler['getDateInstance'](_0x224bd0)['getUTCMinutes']();}['getUTCMonth'](_0x1c7494){return DateHandler['getDateInstance'](_0x1c7494)['getUTCMonth']();}['getUTCSeconds'](_0x5f08ce){return DateHandler['getDateInstance'](_0x5f08ce)['getUTCSeconds']();}['setMilliseconds'](_0x5994a8,_0x430bd5){return DateHandler['getDateInstance'](_0x5994a8)['setMilliseconds'](_0x430bd5);}['setMinutes'](_0x5a2629,_0x2a674d,_0x9d0c5f,_0xb1bac7){return DateHandler['getDateInstance'](_0x5a2629)['setMinutes'](_0x2a674d,_0x9d0c5f,_0xb1bac7);}['setMonth'](_0x344fda,_0x2a0b7e,_0x2db745){return DateHandler['getDateInstance'](_0x344fda)['setMonth'](_0x2a0b7e,_0x2db745);}['setSeconds'](_0x171ffd,_0x1b78cc,_0x31535c){return DateHandler['getDateInstance'](_0x171ffd)['setSeconds'](_0x1b78cc,_0x31535c);}['setTime'](_0x46786d,_0x405d0a){return DateHandler['getDateInstance'](_0x46786d)['setTime'](_0x405d0a);}['setUTCDate'](_0x10e0a7,_0x19c9dc){return DateHandler['getDateInstance'](_0x10e0a7)['setUTCDate'](_0x19c9dc);}['setUTCFullYear'](_0x55a20f,_0x279db8,_0xd66f40,_0x390799){return DateHandler['getDateInstance'](_0x55a20f)['setUTCFullYear'](_0x279db8,_0xd66f40,_0x390799);}['setUTCHours'](_0x50f797,_0x33ab20,_0x432f8d,_0x3b410e,_0x6e5453){return DateHandler['getDateInstance'](_0x50f797)['setUTCHours'](_0x33ab20,_0x432f8d,_0x3b410e,_0x6e5453);}['setUTCMilliseconds'](_0x426f4a,_0x41b6ab){return DateHandler['getDateInstance'](_0x426f4a)['setUTCMilliseconds'](_0x41b6ab);}['setUTCMinutes'](_0x5532ac,_0xd07c2a,_0x29eb8c,_0x4f16f2){return DateHandler['getDateInstance'](_0x5532ac)['setUTCMinutes'](_0xd07c2a,_0x29eb8c,_0x4f16f2);}['setUTCMonth'](_0x270eae,_0x1304bc,_0x3fb410){return DateHandler['getDateInstance'](_0x270eae)['setUTCMonth'](_0x1304bc,_0x3fb410);}['setUTCSeconds'](_0x3d50b1,_0x2d3d81,_0xae8741){return DateHandler['getDateInstance'](_0x3d50b1)['setUTCSeconds'](_0x2d3d81,_0xae8741);}['setDate'](_0x3af109,_0x5bf422){return DateHandler['getDateInstance'](_0x3af109)['setDate'](_0x5bf422);}['setFullYear'](_0x5c11fc,_0x3ec24d,_0x58d311,_0x1001d1){return DateHandler['getDateInstance'](_0x5c11fc)['setFullYear'](_0x3ec24d,_0x58d311,_0x1001d1);}['setHours'](_0x4e599a,_0x58dc45,_0x1e3608,_0xef60ea,_0x3b1445){return DateHandler['getDateInstance'](_0x4e599a)['setHours'](_0x58dc45,_0x1e3608,_0xef60ea,_0x3b1445);}['toDateString'](_0x2cc527){return DateHandler['getDateInstance'](_0x2cc527)['toDateString']();}['toISOString'](_0x4857ae){return DateHandler['getDateInstance'](_0x4857ae)['toISOString']();}['toISOXString'](_0x165a70){return(0x0,utils_1['formatISODate'])(_0x165a70?DateHandler['getDateInstance'](_0x165a70):new Date());}['toJSON'](_0x45dff1){return DateHandler['getDateInstance'](_0x45dff1)['toJSON']();}['toLocaleDateString'](_0x1fcaf0,_0x4f02e0,_0x20fe91){return DateHandler['getDateInstance'](_0x1fcaf0)['toLocaleDateString'](_0x4f02e0,_0x20fe91);}['toLocaleString'](_0x1ebd14,_0x160ec4,_0x8d9cf2){return DateHandler['getDateInstance'](_0x1ebd14)['toLocaleString'](_0x160ec4,_0x8d9cf2);}['toLocaleTimeString'](_0x515711,_0x31854a,_0x159f30){return DateHandler['getDateInstance'](_0x515711)['toLocaleTimeString'](_0x31854a,_0x159f30);}['toString'](_0x7e4bd6){return DateHandler['getDateInstance'](_0x7e4bd6)['toString']();}['UTC'](_0x229678,_0x2be004,_0x1cc2a0,_0x2f7c16,_0x595d85,_0x532f31,_0x13dd43){return Date['UTC'](_0x229678,_0x2be004,_0x1cc2a0,_0x2f7c16,_0x595d85,_0x532f31,_0x13dd43);}['valueOf'](_0xa145aa){return DateHandler['getDateInstance'](_0xa145aa)['valueOf']();}}exports['DateHandler']=DateHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(_0x2b6355,_0x62f037){const _0x34b4fa=_0x1d0f,_0x2421ae=_0x2b6355();while(!![]){try{const _0x51cf30=parseInt(_0x34b4fa(0xf4))/0x1*(parseInt(_0x34b4fa(0xee))/0x2)+-parseInt(_0x34b4fa(0xf3))/0x3+-parseInt(_0x34b4fa(0xf2))/0x4+parseInt(_0x34b4fa(0xf1))/0x5+parseInt(_0x34b4fa(0xef))/0x6+-parseInt(_0x34b4fa(0xf6))/0x7*(-parseInt(_0x34b4fa(0xf0))/0x8)+-parseInt(_0x34b4fa(0xf5))/0x9;if(_0x51cf30===_0x62f037)break;else _0x2421ae['push'](_0x2421ae['shift']());}catch(_0x22a64b){_0x2421ae['push'](_0x2421ae['shift']());}}}(_0x4659,0x9a0f7));Object['defineProperty'](exports,'__esModule',{'value':!![]});const array_1=require('./array'),bitwise_1=require('./bitwise'),conditional_1=require('./conditional'),cron_1=require('./cron'),date_1=require('./date'),json_1=require('./json'),logical_1=require('./logical'),math_1=require('./math'),number_1=require('./number'),object_1=require('./object'),string_1=require('./string'),symbol_1=require('./symbol'),unary_1=require('./unary');exports['default']={'array':new array_1['ArrayHandler'](),'bitwise':new bitwise_1['BitwiseHandler'](),'conditional':new conditional_1['ConditionalHandler'](),'cron':new cron_1['CronHandler'](),'date':new date_1['DateHandler'](),'json':new json_1['JsonHandler'](),'logical':new logical_1['LogicalHandler'](),'math':new math_1['MathHandler'](),'number':new number_1['NumberHandler'](),'object':new object_1['ObjectHandler'](),'string':new string_1['StringHandler'](),'symbol':new symbol_1['SymbolHandler'](),'unary':new unary_1['UnaryHandler']()};function _0x1d0f(_0x25172a,_0x55ffb3){const _0x4659ea=_0x4659();return _0x1d0f=function(_0x1d0f02,_0x5a2860){_0x1d0f02=_0x1d0f02-0xee;let _0x3e1025=_0x4659ea[_0x1d0f02];return _0x3e1025;},_0x1d0f(_0x25172a,_0x55ffb3);}function _0x4659(){const _0x4b94d3=['4097260NEVzfH','3713624OSNypr','886380ZAyrzK','79mlAVef','7654662khEmem','196DzDezn','16028ABzFsG','5987166xOPKYW','72856StYJmf'];_0x4659=function(){return _0x4b94d3;};return _0x4659();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x4c6e4f,_0x20d1f3){var _0x5cb9a3=_0x4f76,_0x46e067=_0x4c6e4f();while(!![]){try{var _0x413c13=-parseInt(_0x5cb9a3(0x1d2))/0x1+-parseInt(_0x5cb9a3(0x1d9))/0x2*(parseInt(_0x5cb9a3(0x1d0))/0x3)+parseInt(_0x5cb9a3(0x1d8))/0x4+-parseInt(_0x5cb9a3(0x1cf))/0x5+-parseInt(_0x5cb9a3(0x1d6))/0x6*(-parseInt(_0x5cb9a3(0x1d5))/0x7)+-parseInt(_0x5cb9a3(0x1d3))/0x8*(parseInt(_0x5cb9a3(0x1d4))/0x9)+-parseInt(_0x5cb9a3(0x1d7))/0xa*(-parseInt(_0x5cb9a3(0x1d1))/0xb);if(_0x413c13===_0x20d1f3)break;else _0x46e067['push'](_0x46e067['shift']());}catch(_0x14e9bd){_0x46e067['push'](_0x46e067['shift']());}}}(_0x268c,0xae053));function _0x268c(){var _0x3ddc6a=['13860rDACkh','29086730pFmdle','3342724lfASUf','6xhvSnk','6078525XrYHLX','1210218YYwHOh','11cVbKSw','1400093LxQvaG','537448jYiUUr','9pdcglR','2611gHrLbD'];_0x268c=function(){return _0x3ddc6a;};return _0x268c();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['JsonHandler']=void 0x0;class JsonHandler{['stringify'](_0x56769a,_0x5f341e,_0x2b27d0){return JSON['stringify'](_0x56769a,_0x5f341e,_0x2b27d0);}['parse'](_0x4a93ae,_0x2c63a4){return JSON['parse'](_0x4a93ae,_0x2c63a4);}}function _0x4f76(_0x2ad72f,_0x1e7999){var _0x268c56=_0x268c();return _0x4f76=function(_0x4f76e2,_0x237023){_0x4f76e2=_0x4f76e2-0x1cf;var _0x43ef63=_0x268c56[_0x4f76e2];return _0x43ef63;},_0x4f76(_0x2ad72f,_0x1e7999);}exports['JsonHandler']=JsonHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x3c218f,_0x2705b2){var _0x1fd5ea=_0x49e1,_0x12a991=_0x3c218f();while(!![]){try{var _0x3398e0=-parseInt(_0x1fd5ea(0x8a))/0x1*(-parseInt(_0x1fd5ea(0x82))/0x2)+-parseInt(_0x1fd5ea(0x89))/0x3*(-parseInt(_0x1fd5ea(0x8b))/0x4)+-parseInt(_0x1fd5ea(0x8d))/0x5+parseInt(_0x1fd5ea(0x86))/0x6*(parseInt(_0x1fd5ea(0x87))/0x7)+parseInt(_0x1fd5ea(0x85))/0x8*(parseInt(_0x1fd5ea(0x8c))/0x9)+parseInt(_0x1fd5ea(0x84))/0xa+-parseInt(_0x1fd5ea(0x88))/0xb*(parseInt(_0x1fd5ea(0x83))/0xc);if(_0x3398e0===_0x2705b2)break;else _0x12a991['push'](_0x12a991['shift']());}catch(_0x12b36a){_0x12a991['push'](_0x12a991['shift']());}}}(_0x558c,0x92d0f));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['LogicalHandler']=void 0x0;function _0x558c(){var _0x50a591=['2467580wYUOdW','9VOcUqO','1688165nTOHuN','272894HIGSqQ','12MwdPkv','698750WOZbiI','7011832ErlUDO','102MtSrMT','59577vUvUmN','14462052FxdGQm','3DKpNUH','4pSIhzG'];_0x558c=function(){return _0x50a591;};return _0x558c();}class LogicalHandler{['and'](_0x3b45f8,_0x12073a){return _0x3b45f8&&_0x12073a;}['or'](_0x16ab57,_0x4c6dd5){return _0x16ab57||_0x4c6dd5;}}function _0x49e1(_0x4586f9,_0x3d3a59){var _0x558cee=_0x558c();return _0x49e1=function(_0x49e194,_0x98ccc9){_0x49e194=_0x49e194-0x82;var _0x2209af=_0x558cee[_0x49e194];return _0x2209af;},_0x49e1(_0x4586f9,_0x3d3a59);}exports['LogicalHandler']=LogicalHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(_0x28b163,_0xfb5173){const _0x122fe3=_0x8391,_0x8c1d43=_0x28b163();while(!![]){try{const _0x4cee88=parseInt(_0x122fe3(0xa6))/0x1*(parseInt(_0x122fe3(0xa9))/0x2)+parseInt(_0x122fe3(0xaa))/0x3*(parseInt(_0x122fe3(0xa8))/0x4)+-parseInt(_0x122fe3(0xaf))/0x5*(parseInt(_0x122fe3(0xac))/0x6)+-parseInt(_0x122fe3(0xae))/0x7+parseInt(_0x122fe3(0xad))/0x8*(-parseInt(_0x122fe3(0xa3))/0x9)+-parseInt(_0x122fe3(0xab))/0xa*(parseInt(_0x122fe3(0xa7))/0xb)+parseInt(_0x122fe3(0xa5))/0xc*(parseInt(_0x122fe3(0xa4))/0xd);if(_0x4cee88===_0xfb5173)break;else _0x8c1d43['push'](_0x8c1d43['shift']());}catch(_0x15268a){_0x8c1d43['push'](_0x8c1d43['shift']());}}}(_0x1139,0x5e413));function _0x1139(){const _0x30d910=['912462xQDHtb','3800UYcIRY','1689506LfLojt','10swqRro','10044iLZeoX','533MMeNaH','485880QzRouw','13741LrNlaB','22TMinGM','305468GRupSQ','38kfQYQV','6HgNuWS','3061120kafbmH'];_0x1139=function(){return _0x30d910;};return _0x1139();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['MathHandler']=void 0x0;class MathHandler{['add'](..._0x3824ce){return _0x3824ce['reduce']((_0x55dd18,_0x472f7f)=>{return Array['isArray'](_0x472f7f)?_0x55dd18+this['add'](..._0x472f7f):_0x55dd18+_0x472f7f;},0x0);}['subtract'](..._0x3ca299){if(_0x3ca299['length']===0x0)throw new Error('At\x20least\x20one\x20operand\x20is\x20required.');let _0xb152b=[];_0x3ca299['forEach'](_0x1ceca3=>{Array['isArray'](_0x1ceca3)?_0xb152b=[..._0xb152b,..._0x1ceca3]:_0xb152b['push'](_0x1ceca3);});if(_0xb152b['length']===0x0)throw new Error('At\x20least\x20one\x20operand\x20is\x20required\x20after\x20flattening.');const _0x50b24a=_0xb152b['reduce']((_0x54564a,_0x39df3a,_0x277e2a)=>{return _0x277e2a===0x0?_0x54564a:_0x54564a-_0x39df3a;});return _0x50b24a;}['multiply'](..._0x351a09){if(_0x351a09['length']===0x0)throw new Error('At\x20least\x20one\x20operand\x20is\x20required.');return _0x351a09['reduce']((_0x4f4a85,_0x57db91)=>{return Array['isArray'](_0x57db91)?_0x4f4a85*this['multiply'](..._0x57db91):_0x4f4a85*_0x57db91;},0x1);}['divide'](..._0x455aa5){if(_0x455aa5['length']===0x0)throw new Error('At\x20least\x20one\x20operand\x20is\x20required.');let _0x5e0b83=[];_0x455aa5['forEach'](_0xae9a02=>{Array['isArray'](_0xae9a02)?_0x5e0b83=[..._0x5e0b83,..._0xae9a02]:_0x5e0b83['push'](_0xae9a02);});if(_0x5e0b83['length']===0x0)throw new Error('At\x20least\x20one\x20operand\x20is\x20required\x20after\x20flattening.');const _0x5d2e4e=_0x5e0b83['reduce']((_0xf33bdd,_0x11acca,_0x4d699d)=>{if(_0x11acca===0x0)return NaN;return _0x4d699d===0x0?_0xf33bdd:_0xf33bdd/_0x11acca;});if(isNaN(_0x5d2e4e))return NaN;return _0x5d2e4e;}['abs'](_0x39b38e){return Math['abs'](_0x39b38e);}['acos'](_0x460645){return Math['acos'](_0x460645);}['acosh'](_0x37b4cd){return Math['acosh'](_0x37b4cd);}['asin'](_0x2d4d79){return Math['asin'](_0x2d4d79);}['asinh'](_0x535f2f){return Math['asinh'](_0x535f2f);}['atan'](_0x3c9493){return Math['atan'](_0x3c9493);}['atan2'](_0x125146,_0x1c046d){return Math['atan2'](_0x125146,_0x1c046d);}['atanh'](_0x8dea2a){return Math['atanh'](_0x8dea2a);}['cbrt'](_0x38e377){return Math['cbrt'](_0x38e377);}['ceil'](_0x5c2bfb){return Math['ceil'](_0x5c2bfb);}['clz32'](_0x342228){return Math['clz32'](_0x342228);}['cos'](_0x32783f){return Math['cos'](_0x32783f);}['cosh'](_0x35c645){return Math['cosh'](_0x35c645);}['exp'](_0x18fcf0){return Math['exp'](_0x18fcf0);}['expm1'](_0x13b637){return Math['expm1'](_0x13b637);}['floor'](_0x3ef05e){return Math['floor'](_0x3ef05e);}['fround'](_0x114c19){return Math['fround'](_0x114c19);}['hypot'](..._0x758f8f){return Math['hypot'](..._0x758f8f);}['imul'](_0x341c21,_0x19544d){return Math['imul'](_0x341c21,_0x19544d);}['log'](_0x4a8e9b){return Math['log'](_0x4a8e9b);}['log10'](_0x4150b3){return Math['log10'](_0x4150b3);}['log1p'](_0x1ad933){return Math['log1p'](_0x1ad933);}['log2'](_0x357356){return Math['log2'](_0x357356);}['max'](..._0x1678a8){return Math['max'](..._0x1678a8);}['min'](..._0x16a619){return Math['min'](..._0x16a619);}['pow'](_0x1f4316,_0x2ed78d){return Math['pow'](_0x1f4316,_0x2ed78d);}['random'](){return Math['random']();}['round'](_0x20a9ea){return Math['round'](_0x20a9ea);}['sign'](_0x52eebc){return Math['sign'](_0x52eebc);}['sin'](_0x29d220){return Math['sin'](_0x29d220);}['sinh'](_0xa06169){return Math['sinh'](_0xa06169);}['sqrt'](_0x541efb){return Math['sqrt'](_0x541efb);}['tan'](_0x2b885e){return Math['tan'](_0x2b885e);}['tanh'](_0x22b025){return Math['tanh'](_0x22b025);}['trunc'](_0x49977c){return Math['trunc'](_0x49977c);}}function _0x8391(_0xfe4e17,_0x1d4163){const _0x1139e4=_0x1139();return _0x8391=function(_0x839139,_0xd32100){_0x839139=_0x839139-0xa3;let _0x4489c3=_0x1139e4[_0x839139];return _0x4489c3;},_0x8391(_0xfe4e17,_0x1d4163);}exports['MathHandler']=MathHandler;
|