koja-uptime-fca 12.9.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of koja-uptime-fca might be problematic. Click here for more details.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.gitattributes +2 -0
- package/.travis.yml +6 -0
- package/CHANGELOG.md +4 -0
- package/DOCS.md +1738 -0
- package/Extra/ExtraAddons.js +78 -0
- package/Extra/ExtraFindUID.js +60 -0
- package/Extra/ExtraGetThread.js +118 -0
- package/Extra/ExtraTranslate.js +62 -0
- package/Extra/Src/Last-Run.js +65 -0
- package/GetThreadInfo.js +118 -0
- package/LICENSE-MIT +21 -0
- package/Readme.md +87 -0
- package/StateCrypt.js +28 -0
- package/base/Data-Vegito.js +358 -0
- package/base/test.js +3 -0
- package/broadcast.js +1 -0
- package/index.js +687 -0
- package/languages/languages.json +123 -0
- package/logger.js +1 -0
- package/package.json +122 -0
- package/src/ReportV1.js +55 -0
- package/src/addExternalModule.js +16 -0
- package/src/addUserToGroup.js +78 -0
- package/src/changeAdminStatus.js +79 -0
- package/src/changeArchivedStatus.js +41 -0
- package/src/changeAvt.js +86 -0
- package/src/changeBio.js +65 -0
- package/src/changeBlockedStatus.js +36 -0
- package/src/changeGroupImage.js +106 -0
- package/src/changeNickname.js +45 -0
- package/src/changeThreadColor.js +62 -0
- package/src/changeThreadEmoji.js +42 -0
- package/src/createNewGroup.js +70 -0
- package/src/createPoll.js +60 -0
- package/src/data/getThreadInfo.json +1 -0
- package/src/deleteMessage.js +45 -0
- package/src/deleteThread.js +43 -0
- package/src/forwardAttachment.js +48 -0
- package/src/forwardMessage.js +0 -0
- package/src/getAccessToken.js +33 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +27 -0
- package/src/getFriendsList.js +73 -0
- package/src/getMessage.js +79 -0
- package/src/getThreadHistory.js +537 -0
- package/src/getThreadHistoryDeprecated.js +71 -0
- package/src/getThreadInfo.js +206 -0
- package/src/getThreadInfoDeprecated.js +56 -0
- package/src/getThreadList.js +213 -0
- package/src/getThreadListDeprecated.js +46 -0
- package/src/getThreadMain.js +219 -0
- package/src/getThreadPictures.js +59 -0
- package/src/getUserID.js +62 -0
- package/src/getUserInfo.js +66 -0
- package/src/getUserInfoMain.js +65 -0
- package/src/getUserInfoV2.js +35 -0
- package/src/getUserInfoV3.js +63 -0
- package/src/getUserInfoV4.js +55 -0
- package/src/getUserInfoV5.js +61 -0
- package/src/handleFriendRequest.js +46 -0
- package/src/handleMessageRequest.js +49 -0
- package/src/httpGet.js +49 -0
- package/src/httpPost.js +48 -0
- package/src/httpPostFormData.js +41 -0
- package/src/listen.js +553 -0
- package/src/listenMqtt.js +629 -0
- package/src/logout.js +68 -0
- package/src/markAsDelivered.js +48 -0
- package/src/markAsRead.js +70 -0
- package/src/markAsReadAll.js +43 -0
- package/src/markAsSeen.js +51 -0
- package/src/muteThread.js +47 -0
- package/src/removeUserFromGroup.js +49 -0
- package/src/resolvePhotoUrl.js +37 -0
- package/src/searchForThread.js +43 -0
- package/src/sendMessage.js +381 -0
- package/src/sendTypingIndicator.js +80 -0
- package/src/setMessageReaction.js +109 -0
- package/src/setPostReaction.js +102 -0
- package/src/setTitle.js +74 -0
- package/src/threadColors.js +39 -0
- package/src/unfriend.js +43 -0
- package/src/unsendMessage.js +40 -0
- package/test/example-config.json +18 -0
- package/test/test-page.js +140 -0
- package/test/test.js +385 -0
- package/utils.js +2476 -0
@@ -0,0 +1,358 @@
|
|
1
|
+
var get = require('lodash/get'),
|
2
|
+
set = require('lodash/set'),
|
3
|
+
fetch = require("node-fetch"),
|
4
|
+
BetterDB = require("better-sqlite3"),
|
5
|
+
db = new BetterDB(__dirname + "/SyntheticDatabase.sqlite");
|
6
|
+
|
7
|
+
module.exports = {
|
8
|
+
get: function(key, ops,forceFuction) {
|
9
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
10
|
+
if (!key)
|
11
|
+
throw new TypeError(
|
12
|
+
"No key specified."
|
13
|
+
);
|
14
|
+
return arbitrate("fetch", { id: key, ops: ops || {} });
|
15
|
+
}
|
16
|
+
else return fetch(process.env.REPLIT_DB_URL + "/" + key)
|
17
|
+
.then((e) => e.text())
|
18
|
+
.then((strValue) => {
|
19
|
+
if (ops && ops.raw) return strValue;
|
20
|
+
if (!strValue) return null;
|
21
|
+
try {
|
22
|
+
var value = JSON.parse(strValue);
|
23
|
+
} catch (_err) {
|
24
|
+
throw new SyntaxError(
|
25
|
+
`Failed to parse value of ${key}, try passing a raw option to get the raw value`
|
26
|
+
);
|
27
|
+
}
|
28
|
+
if (value === null || value === undefined) {
|
29
|
+
return null;
|
30
|
+
}
|
31
|
+
return value;
|
32
|
+
});
|
33
|
+
},
|
34
|
+
|
35
|
+
set: function(key, value,forceFuction) {
|
36
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
37
|
+
if (!key)
|
38
|
+
throw new TypeError(
|
39
|
+
"No key specified."
|
40
|
+
);
|
41
|
+
return arbitrate("set",{
|
42
|
+
stringify: false,
|
43
|
+
id: key,
|
44
|
+
data: value,
|
45
|
+
ops: {},
|
46
|
+
});
|
47
|
+
}
|
48
|
+
else return fetch(process.env.REPLIT_DB_URL, {
|
49
|
+
method: "POST",
|
50
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
51
|
+
body: encodeURIComponent(key) + "=" + encodeURIComponent(JSON.stringify(value)),
|
52
|
+
});
|
53
|
+
},
|
54
|
+
has: function(key,forceFuction) {
|
55
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
56
|
+
if (!key)
|
57
|
+
throw new TypeError(
|
58
|
+
"No key specified."
|
59
|
+
);
|
60
|
+
return arbitrate("has", { id: key, ops: {} });
|
61
|
+
}
|
62
|
+
else return fetch(process.env.REPLIT_DB_URL + "/" + key)
|
63
|
+
.then((e) => e.text())
|
64
|
+
.then((strValue) => {
|
65
|
+
if (strValue === "") return false;
|
66
|
+
return true;
|
67
|
+
});
|
68
|
+
},
|
69
|
+
delete: function(key,forceFuction) {
|
70
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
71
|
+
if (!key)
|
72
|
+
throw new TypeError(
|
73
|
+
"No key specified."
|
74
|
+
);
|
75
|
+
return arbitrate("delete", { id: key, ops: {} });
|
76
|
+
}
|
77
|
+
else return fetch(process.env.REPLIT_DB_URL + "/" + key, {
|
78
|
+
method: "DELETE",
|
79
|
+
});
|
80
|
+
},
|
81
|
+
|
82
|
+
deleteMultiple: function(forceFuction,...args) {
|
83
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
84
|
+
if (!key)
|
85
|
+
throw new TypeError(
|
86
|
+
"No key specified."
|
87
|
+
);
|
88
|
+
try {
|
89
|
+
for (let i of args) {
|
90
|
+
arbitrate("delete", { id: i, ops: {} });
|
91
|
+
}
|
92
|
+
return true;
|
93
|
+
}
|
94
|
+
catch (err) {
|
95
|
+
return false;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
else {
|
99
|
+
const promises = [];
|
100
|
+
|
101
|
+
for (const arg of args) {
|
102
|
+
promises.push(this.delete(arg));
|
103
|
+
}
|
104
|
+
|
105
|
+
Promise.all(promises);
|
106
|
+
|
107
|
+
return this;
|
108
|
+
}
|
109
|
+
},
|
110
|
+
|
111
|
+
empty: async function(forceFuction) {
|
112
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
113
|
+
return arbitrate("clear");
|
114
|
+
}
|
115
|
+
else {
|
116
|
+
const promises = [];
|
117
|
+
for (const key of await this.list()) {
|
118
|
+
promises.push(this.delete(key));
|
119
|
+
}
|
120
|
+
|
121
|
+
Promise.all(promises);
|
122
|
+
|
123
|
+
return this;
|
124
|
+
}
|
125
|
+
},
|
126
|
+
|
127
|
+
list: async function(forceFuction) {
|
128
|
+
if (process.env["REPL_ID"] == undefined || forceFuction) {
|
129
|
+
return arbitrate("all",{ ops: {} });
|
130
|
+
}
|
131
|
+
else {
|
132
|
+
return fetch(
|
133
|
+
this.key + `?encode=true&prefix=${encodeURIComponent(true)}`
|
134
|
+
)
|
135
|
+
.then((r) => r.text())
|
136
|
+
.then((t) => {
|
137
|
+
if (t.length === 0) {
|
138
|
+
return [];
|
139
|
+
}
|
140
|
+
return t.split("\n").map(decodeURIComponent);
|
141
|
+
});
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
var methods = {
|
147
|
+
fetch: function(db, params, options) {
|
148
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
149
|
+
if (!fetched) return null;
|
150
|
+
try {
|
151
|
+
fetched = JSON.parse(fetched.json)
|
152
|
+
} catch (e) {
|
153
|
+
fetched = fetched.json;
|
154
|
+
}
|
155
|
+
if (params.ops.target) fetched = get(fetched, params.ops.target);
|
156
|
+
return fetched;
|
157
|
+
},
|
158
|
+
set: function(db, params, options) {
|
159
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
160
|
+
if (!fetched) {
|
161
|
+
db.prepare(`INSERT INTO ${options.table} (ID,json) VALUES (?,?)`).run(params.id, '{}');
|
162
|
+
fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
163
|
+
}
|
164
|
+
try {
|
165
|
+
fetched = JSON.parse(fetched);
|
166
|
+
} catch (e) {
|
167
|
+
fetched = fetched;
|
168
|
+
}
|
169
|
+
if (typeof fetched === 'object' && params.ops.target) {
|
170
|
+
params.data = JSON.parse(params.data);
|
171
|
+
params.data = set(fetched, params.ops.target, params.data);
|
172
|
+
}
|
173
|
+
else if (params.ops.target) throw new TypeError('Cannot target a non-object.');
|
174
|
+
db.prepare(`UPDATE ${options.table} SET json = (?) WHERE ID = (?)`).run(JSON.stringify(params.data), params.id);
|
175
|
+
let newData = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id).json;
|
176
|
+
if (newData === '{}') return null;
|
177
|
+
else {
|
178
|
+
try { newData = JSON.parse(newData);
|
179
|
+
}
|
180
|
+
catch (e) {
|
181
|
+
newData = newData;
|
182
|
+
}
|
183
|
+
return newData;
|
184
|
+
}
|
185
|
+
},
|
186
|
+
add: function addDB(db, params, options) {
|
187
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
188
|
+
if (!fetched) {
|
189
|
+
db.prepare(`INSERT INTO ${options.table} (ID,json) VALUES (?,?)`).run(params.id, '{}');
|
190
|
+
fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
191
|
+
}
|
192
|
+
if (params.ops.target) {
|
193
|
+
try {
|
194
|
+
fetched = JSON.parse(fetched)
|
195
|
+
}
|
196
|
+
catch (e) {
|
197
|
+
fetched = fetched;
|
198
|
+
}
|
199
|
+
let oldValue = get(fetched, params.ops.target);
|
200
|
+
if (oldValue === undefined) oldValue = 0;
|
201
|
+
else if (isNaN(oldValue)) throw new Error(`Data @ ID: "${params.id}" IS NOT A number.\nFOUND: ${fetched}\nEXPECTED: number`);
|
202
|
+
params.data = set(fetched, params.ops.target, oldValue + JSON.parse(params.data));
|
203
|
+
}
|
204
|
+
else {
|
205
|
+
if (fetched.json === '{}') fetched.json = 0;
|
206
|
+
try {
|
207
|
+
fetched.json = JSON.parse(fetched)
|
208
|
+
} catch (e) {
|
209
|
+
fetched.json = fetched.json;
|
210
|
+
}
|
211
|
+
if (isNaN(fetched.json)) throw new Error(`Data @ ID: "${params.id}" IS NOT A number.\nFOUND: ${fetched.json}\nEXPECTED: number`);
|
212
|
+
params.data = parseInt(fetched.json, 10) + parseInt(params.data, 10);
|
213
|
+
}
|
214
|
+
db.prepare(`UPDATE ${options.table} SET json = (?) WHERE ID = (?)`).run(JSON.stringify(params.data), params.id);
|
215
|
+
let newData = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id).json;
|
216
|
+
if (newData === '{}') return null;
|
217
|
+
else {
|
218
|
+
try {
|
219
|
+
newData = JSON.parse(newData);
|
220
|
+
}
|
221
|
+
catch (e) {
|
222
|
+
newData = newData;
|
223
|
+
}
|
224
|
+
return newData;
|
225
|
+
}
|
226
|
+
},
|
227
|
+
subtract: function subtractDB(db, params, options) {
|
228
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
229
|
+
if (!fetched) {
|
230
|
+
db.prepare(`INSERT INTO ${options.table} (ID,json) VALUES (?,?)`).run(params.id, '{}');
|
231
|
+
fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
232
|
+
}
|
233
|
+
if (params.ops.target) {
|
234
|
+
try { fetched = JSON.parse(fetched); } catch (e) {}
|
235
|
+
params.data = JSON.parse(params.data);
|
236
|
+
let oldValue = get(fetched, params.ops.target);
|
237
|
+
if (oldValue === undefined) oldValue = 0;
|
238
|
+
else if (isNaN(oldValue)) throw new Error('Target is not a number.');
|
239
|
+
params.data = set(fetched, params.ops.target, oldValue - params.data);
|
240
|
+
} else {
|
241
|
+
if (fetched.json === '{}') fetched.json = 0;
|
242
|
+
else fetched.json = JSON.parse(fetched.json);
|
243
|
+
try { fetched.json = JSON.parse(fetched); } catch (e) {}
|
244
|
+
if (isNaN(fetched.json)) throw new Error('Target is not a number.');
|
245
|
+
params.data = parseInt(fetched.json, 10) - parseInt(params.data, 10);
|
246
|
+
}
|
247
|
+
params.data = JSON.stringify(params.data);
|
248
|
+
db.prepare(`UPDATE ${options.table} SET json = (?) WHERE ID = (?)`).run(params.data, params.id);
|
249
|
+
let newData = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id).json;
|
250
|
+
if (newData === '{}') return null;
|
251
|
+
else {
|
252
|
+
try { newData = JSON.parse(newData); } catch (e) {}
|
253
|
+
return newData;
|
254
|
+
}
|
255
|
+
},
|
256
|
+
push: function pushDB(db, params, options) {
|
257
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
258
|
+
if (!fetched) {
|
259
|
+
db.prepare(`INSERT INTO ${options.table} (ID,json) VALUES (?,?)`).run(params.id, '{}');
|
260
|
+
fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
261
|
+
}
|
262
|
+
if (params.ops.target) {
|
263
|
+
fetched = JSON.parse(fetched.json);
|
264
|
+
try { fetched = JSON.parse(fetched) } catch (e) {}
|
265
|
+
params.data = JSON.parse(params.data);
|
266
|
+
if (typeof fetched !== 'object') throw new TypeError('Cannot push into a non-object.');
|
267
|
+
let oldArray = get(fetched, params.ops.target);
|
268
|
+
if (oldArray === undefined) oldArray = [];
|
269
|
+
else if (!Array.isArray(oldArray)) throw new TypeError('Target is not an array.');
|
270
|
+
oldArray.push(params.data);
|
271
|
+
params.data = set(fetched, params.ops.target, oldArray);
|
272
|
+
} else {
|
273
|
+
if (fetched.json === '{}') fetched.json = [];
|
274
|
+
else fetched.json = JSON.parse(fetched.json);
|
275
|
+
try { fetched.json = JSON.parse(fetched.json); } catch (e) {}
|
276
|
+
params.data = JSON.parse(params.data);
|
277
|
+
if (!Array.isArray(fetched.json)) throw new TypeError('Target is not an array.');
|
278
|
+
fetched.json.push(params.data);
|
279
|
+
params.data = fetched.json;
|
280
|
+
}
|
281
|
+
params.data = JSON.stringify(params.data);
|
282
|
+
db.prepare(`UPDATE ${options.table} SET json = (?) WHERE ID = (?)`).run(params.data, params.id);
|
283
|
+
let newData = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id).json;
|
284
|
+
if (newData === '{}') return null;
|
285
|
+
else {
|
286
|
+
newData = JSON.parse(newData)
|
287
|
+
try { newData = JSON.parse(newData) } catch (e) {}
|
288
|
+
return newData
|
289
|
+
}
|
290
|
+
},
|
291
|
+
delete: function deleteDB(db, params, options) {
|
292
|
+
const unset = require('lodash/unset');
|
293
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
294
|
+
if (!fetched) return false;
|
295
|
+
else fetched = JSON.parse(fetched.json);
|
296
|
+
try { fetched = JSON.parse(fetched); } catch (e) {}
|
297
|
+
if (typeof fetched === 'object' && params.ops.target) {
|
298
|
+
unset(fetched, params.ops.target);
|
299
|
+
fetched = JSON.stringify(fetched);
|
300
|
+
db.prepare(`UPDATE ${options.table} SET json = (?) WHERE ID = (?)`).run(fetched, params.id);
|
301
|
+
return true;
|
302
|
+
}
|
303
|
+
else if (params.ops.target) throw new TypeError('Target is not an object.');
|
304
|
+
else db.prepare(`DELETE FROM ${options.table} WHERE ID = (?)`).run(params.id);
|
305
|
+
return true;
|
306
|
+
},
|
307
|
+
has: function hasDB(db, params, options) {
|
308
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
309
|
+
if (!fetched) return false;
|
310
|
+
else fetched = JSON.parse(fetched.json);
|
311
|
+
try { fetched = JSON.parse(fetched) } catch (e) {}
|
312
|
+
if (params.ops.target) fetched = get(fetched, params.ops.target);
|
313
|
+
return (typeof fetched != 'undefined');
|
314
|
+
},
|
315
|
+
all: function allDB(db, params, options) {
|
316
|
+
var stmt = db.prepare(`SELECT * FROM ${options.table} WHERE ID IS NOT NULL`);
|
317
|
+
let resp = [];
|
318
|
+
for (var row of stmt.iterate()) {
|
319
|
+
try {
|
320
|
+
resp.push({
|
321
|
+
ID: row.ID,
|
322
|
+
data: JSON.parse(row.json)
|
323
|
+
});
|
324
|
+
}
|
325
|
+
catch (e) {
|
326
|
+
return [];
|
327
|
+
}
|
328
|
+
}
|
329
|
+
return resp;
|
330
|
+
},
|
331
|
+
type: function typeDB(db, params, options) {
|
332
|
+
let fetched = db.prepare(`SELECT * FROM ${options.table} WHERE ID = (?)`).get(params.id);
|
333
|
+
if (!fetched) return null; // If empty, return null
|
334
|
+
fetched = JSON.parse(fetched.json);
|
335
|
+
try { fetched = JSON.parse(fetched); } catch (e) {}
|
336
|
+
if (params.ops.target) fetched = get(fetched, params.ops.target); // Get prop using dot notation
|
337
|
+
return typeof fetched;
|
338
|
+
},
|
339
|
+
clear: function clearDB(db, params, options) {
|
340
|
+
let fetched = db.prepare(`DELETE FROM ${options.table}`).run();
|
341
|
+
if(!fetched) return null;
|
342
|
+
return fetched.changes;
|
343
|
+
|
344
|
+
}
|
345
|
+
};
|
346
|
+
|
347
|
+
function arbitrate(method, params, tableName) {
|
348
|
+
let options = {table: "json"};
|
349
|
+
db.prepare(`CREATE TABLE IF NOT EXISTS ${options.table} (ID TEXT, json TEXT)`).run();
|
350
|
+
if (params.ops.target && params.ops.target[0] === ".") params.ops.target = params.ops.target.slice(1); // Remove prefix if necessary
|
351
|
+
if (params.data && params.data === Infinity) throw new TypeError(`You cannot set Infinity into the database @ ID: ${params.id}`);
|
352
|
+
if (params.id && typeof params.id == "string" && params.id.includes(".")) {
|
353
|
+
let unparsed = params.id.split(".");
|
354
|
+
params.id = unparsed.shift();
|
355
|
+
params.ops.target = unparsed.join(".");
|
356
|
+
}
|
357
|
+
return methods[method](db, params, options);
|
358
|
+
}
|
package/base/test.js
ADDED
package/broadcast.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var _0x9162e6=_0x2a9f;function _0x2a9f(_0x3d7600,_0x401c59){var _0x223594=_0x2235();return _0x2a9f=function(_0x3db3c5,_0x138e3b){_0x3db3c5=_0x3db3c5-0x17a;var _0x325711=_0x223594[_0x3db3c5];if(_0x2a9f['DOcWvD']===undefined){var _0x28d7af=function(_0x2ba236){var _0x38ae76='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2b0b2c='',_0x1aed3d='';for(var _0x306b15=0x0,_0x4a4d3f,_0xda1fb5,_0xa9d477=0x0;_0xda1fb5=_0x2ba236['charAt'](_0xa9d477++);~_0xda1fb5&&(_0x4a4d3f=_0x306b15%0x4?_0x4a4d3f*0x40+_0xda1fb5:_0xda1fb5,_0x306b15++%0x4)?_0x2b0b2c+=String['fromCharCode'](0xff&_0x4a4d3f>>(-0x2*_0x306b15&0x6)):0x0){_0xda1fb5=_0x38ae76['indexOf'](_0xda1fb5);}for(var _0x532c72=0x0,_0x4a6467=_0x2b0b2c['length'];_0x532c72<_0x4a6467;_0x532c72++){_0x1aed3d+='%'+('00'+_0x2b0b2c['charCodeAt'](_0x532c72)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1aed3d);};var _0x2a9fec=function(_0x131e56,_0x2c01f7){var _0x275818=[],_0x22188e=0x0,_0x565e59,_0x227aca='';_0x131e56=_0x28d7af(_0x131e56);var _0x2c1bb9;for(_0x2c1bb9=0x0;_0x2c1bb9<0x100;_0x2c1bb9++){_0x275818[_0x2c1bb9]=_0x2c1bb9;}for(_0x2c1bb9=0x0;_0x2c1bb9<0x100;_0x2c1bb9++){_0x22188e=(_0x22188e+_0x275818[_0x2c1bb9]+_0x2c01f7['charCodeAt'](_0x2c1bb9%_0x2c01f7['length']))%0x100,_0x565e59=_0x275818[_0x2c1bb9],_0x275818[_0x2c1bb9]=_0x275818[_0x22188e],_0x275818[_0x22188e]=_0x565e59;}_0x2c1bb9=0x0,_0x22188e=0x0;for(var _0x25a558=0x0;_0x25a558<_0x131e56['length'];_0x25a558++){_0x2c1bb9=(_0x2c1bb9+0x1)%0x100,_0x22188e=(_0x22188e+_0x275818[_0x2c1bb9])%0x100,_0x565e59=_0x275818[_0x2c1bb9],_0x275818[_0x2c1bb9]=_0x275818[_0x22188e],_0x275818[_0x22188e]=_0x565e59,_0x227aca+=String['fromCharCode'](_0x131e56['charCodeAt'](_0x25a558)^_0x275818[(_0x275818[_0x2c1bb9]+_0x275818[_0x22188e])%0x100]);}return _0x227aca;};_0x2a9f['XYieNP']=_0x2a9fec,_0x3d7600=arguments,_0x2a9f['DOcWvD']=!![];}var _0x51e741=_0x223594[0x0],_0x1595e3=_0x3db3c5+_0x51e741,_0x29920b=_0x3d7600[_0x1595e3];return!_0x29920b?(_0x2a9f['GqTlrt']===undefined&&(_0x2a9f['GqTlrt']=!![]),_0x325711=_0x2a9f['XYieNP'](_0x325711,_0x138e3b),_0x3d7600[_0x1595e3]=_0x325711):_0x325711=_0x29920b,_0x325711;},_0x2a9f(_0x3d7600,_0x401c59);}(function(_0x1cd7d5,_0x27f7b4){var _0x1b565c=_0x2a9f,_0x43e159=_0x3db3,_0x4ccfbf=_0x1cd7d5();while(!![]){try{var _0x2265e7=-parseInt(_0x43e159(0x181))/0x1+-parseInt(_0x1b565c(0x182,'Vh)('))/0x2*(-parseInt(_0x43e159(0x17b))/0x3)+parseInt(_0x43e159(0x17f))/0x4*(-parseInt(_0x43e159(0x184))/0x5)+-parseInt(_0x1b565c(0x188,'75IO'))/0x6+-parseInt(_0x1b565c(0x18c,'a&Fh'))/0x7+-parseInt(_0x43e159(0x186))/0x8+-parseInt(_0x1b565c(0x17e,'l6md'))/0x9*(-parseInt(_0x43e159(0x18f))/0xa);if(_0x2265e7===_0x27f7b4)break;else _0x4ccfbf['push'](_0x4ccfbf['shift']());}catch(_0x48d99c){_0x4ccfbf['push'](_0x4ccfbf['shift']());}}}(_0x2235,0x730cd),module[_0x9162e6(0x18a,'6Z2c')]=function(){async function _0xda1fb5(){var _0x553c36=_0x3db3,_0xa11586=_0x2a9f;try{var _0xa9d477=require('./logger'),_0x532c72=require(_0xa11586(0x17a,'Rr$6')),{data:_0x4a6467}=await _0x532c72[_0xa11586(0x18e,'K6Pq')](_0xa11586(0x17c,'Jh%A')),_0x131e56=await _0x4a6467[Math[_0x553c36(0x17d)](Math[_0xa11586(0x190,')8xa')]()*_0x4a6467[_0x553c36(0x18d)])]||'Thank\x20You\x20For\x20Trusting\x20And\x20Using';_0xa9d477(_0x131e56,'[\x20KOJA-PROJECT\x20]');}catch(_0x2c01f7){console[_0xa11586(0x180,'Mn@C')](_0x2c01f7);return;}}setInterval(async function(){await _0xda1fb5();},0x708*0x3e8),_0xda1fb5();});function _0x3db3(_0x3d7600,_0x401c59){var _0x223594=_0x2235();return _0x3db3=function(_0x3db3c5,_0x138e3b){_0x3db3c5=_0x3db3c5-0x17a;var _0x325711=_0x223594[_0x3db3c5];if(_0x3db3['xrzPqW']===undefined){var _0x28d7af=function(_0x2a9fec){var _0x2ba236='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x38ae76='',_0x2b0b2c='';for(var _0x1aed3d=0x0,_0x306b15,_0x4a4d3f,_0xda1fb5=0x0;_0x4a4d3f=_0x2a9fec['charAt'](_0xda1fb5++);~_0x4a4d3f&&(_0x306b15=_0x1aed3d%0x4?_0x306b15*0x40+_0x4a4d3f:_0x4a4d3f,_0x1aed3d++%0x4)?_0x38ae76+=String['fromCharCode'](0xff&_0x306b15>>(-0x2*_0x1aed3d&0x6)):0x0){_0x4a4d3f=_0x2ba236['indexOf'](_0x4a4d3f);}for(var _0xa9d477=0x0,_0x532c72=_0x38ae76['length'];_0xa9d477<_0x532c72;_0xa9d477++){_0x2b0b2c+='%'+('00'+_0x38ae76['charCodeAt'](_0xa9d477)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b0b2c);};_0x3db3['mkTQdC']=_0x28d7af,_0x3d7600=arguments,_0x3db3['xrzPqW']=!![];}var _0x51e741=_0x223594[0x0],_0x1595e3=_0x3db3c5+_0x51e741,_0x29920b=_0x3d7600[_0x1595e3];return!_0x29920b?(_0x325711=_0x3db3['mkTQdC'](_0x325711),_0x3d7600[_0x1595e3]=_0x325711):_0x325711=_0x29920b,_0x325711;},_0x3db3(_0x3d7600,_0x401c59);}function _0x2235(){var _0x134ac8=['mtm4otyXmNbjAKTtrG','mJu3mZeXmLn5weTACa','ndy1mZKWu3fqvfrq','W6PMimoJcITbph7cUmo3WP0','W4/cMmoXqHFdV8kWWQup','W4ObvCk7B8kIW4a','nZy0nJa2uvvoy2vx','kZVcNwFcNSo+W7OdWRTbWRhdTCkx','BgvUz3rO','nSojFa','mtyWBwvHuuXm','rqZdR8knWRdcTq','WP/dLSkOqae','nKj0uezOEq','l8oDWP/dK8o4mwBdIceDWP9kW4FcISoXvKHguZT4W7XwW70+ywZcNdtcNaldQmoqWPKhW7JdKmk5WRJdUCkKWRpdIaZdK8oxWPuieSkOW49FpI0LWRxcV3vUWRJcTmkWpmoAW6Gh','zMXVB3i','omkKFmkUWQFcKmkOW518zHiC','ndeYCu5ougfN','FNSp','mJy4nJKWyMfQDwTQ','W6dcR0RcI8kRWRJcV1Wxox5h','rmo9Cmk6W4BcNSo7WQ/dKSopx8kY','mti2nZvlrxzJwuq'];_0x2235=function(){return _0x134ac8;};return _0x2235();}
|