37 lines
935 B
TypeScript
37 lines
935 B
TypeScript
// Module ID: 13982
|
|
// Function ID: 106982
|
|
// Name: items
|
|
// Dependencies: [477, 2]
|
|
// Exports: isSourceError
|
|
|
|
// Module 13982 (items)
|
|
const items = [-1000, -1003, -1004, -1008];
|
|
const result = require("set").fileFinishedImporting("modules/quests/native/AdsVideoUtils.tsx");
|
|
|
|
export const isSourceError = function isSourceError(error) {
|
|
if (null != error) {
|
|
const code = error.error.code;
|
|
}
|
|
if (null != error) {
|
|
const errorException = error.error.errorException;
|
|
}
|
|
if (obj.isAndroid()) {
|
|
let tmp7 = null == errorException;
|
|
if (!tmp7) {
|
|
tmp7 = !errorException.includes("Source error");
|
|
}
|
|
let tmp4 = !tmp7;
|
|
} else {
|
|
const tmp3 = !require(477) /* set */.isIOS();
|
|
tmp4 = !tmp3;
|
|
if (!tmp3) {
|
|
let hasItem = null != code;
|
|
if (hasItem) {
|
|
hasItem = items.includes(code);
|
|
}
|
|
tmp4 = hasItem;
|
|
}
|
|
const obj2 = require(477) /* set */;
|
|
}
|
|
return tmp4;
|
|
};
|