Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,79 @@
|
||||
/* Metro module 1204; source: unknown; dependencies: [65, 27, 1005, 1010, 825] */
|
||||
function _fun13372(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13372, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1331:6, offset: 0x00de980a, size: 150 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(65) /* metro dependency 65 */;
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).Alert;
|
||||
exports.isModalSupported = isModalSupported;
|
||||
exports.isNativeDriverSupportedForColorAnimations = isNativeDriverSupportedForColorAnimations;
|
||||
exports.isValidEmail = function(a0) {
|
||||
return RegExp('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$', '').test(a0);
|
||||
};
|
||||
exports.base64ToUint8Array = base64ToUint8Array;
|
||||
exports.feedbackAlertDialog = feedbackAlertDialog;
|
||||
}
|
||||
|
||||
function isModalSupported() { // fn#13373, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1331:141, offset: 0x00de98a0, size: 134 bytes, params: 1, frame: 14
|
||||
const value2 = undefined;
|
||||
const ReactNativeLibraries = (require(1005) /* metro dependency 1005 */).ReactNativeLibraries;
|
||||
const ReactNativeVersion = ReactNativeLibraries.ReactNativeVersion;
|
||||
const {major,
|
||||
minor} = (ReactNativeVersion === null || value2 === ReactNativeVersion ? value2 : ReactNativeVersion.version) || ({});
|
||||
let value = require(1010) /* metro dependency 1010 */;
|
||||
value = value.isFabricEnabled();
|
||||
return !(value && major === 0 && minor && minor < 71);
|
||||
}
|
||||
|
||||
function isNativeDriverSupportedForColorAnimations() { // fn#13374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1331:387, offset: 0x00de9926, size: 112 bytes, params: 1, frame: 12
|
||||
const value = undefined;
|
||||
const ReactNativeLibraries = (require(1005) /* metro dependency 1005 */).ReactNativeLibraries;
|
||||
const ReactNativeVersion = ReactNativeLibraries.ReactNativeVersion;
|
||||
let r0 = (ReactNativeVersion === null || value === ReactNativeVersion ? value : ReactNativeVersion.version) || ({});
|
||||
const major = r0.major;
|
||||
const minor = r0.minor;
|
||||
r0 = major && major > 0;
|
||||
r0 = !r0 ? minor && minor >= 69 : r0;
|
||||
r0 = !!r0 && r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
function base64ToUint8Array(a0) { // fn#13376, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1331:718, offset: 0x00de99b3, size: 159 bytes, params: 2, frame: 13
|
||||
var value;
|
||||
var value2;
|
||||
var Uint8Array;
|
||||
var value3;
|
||||
var uint8Array;
|
||||
if (typeof global.atob !== 'function') {
|
||||
throw new global.Error('atob is not available in this environment.');
|
||||
}
|
||||
const moduleValue = require(1010) /* metro dependency 1010 */;
|
||||
if (moduleValue.isWeb()) {
|
||||
value2 = global.atob(a0);
|
||||
Uint8Array = global.Uint8Array;
|
||||
value = env0_2(value2);
|
||||
value = value.map(function(a0) {
|
||||
return a0.charCodeAt(0);
|
||||
});
|
||||
value3 = Object.create(Uint8Array.prototype, {constructor: {value: Uint8Array}});
|
||||
uint8Array = new Uint8Array();
|
||||
return uint8Array instanceof Object ? uint8Array : value3;
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('atob is not available in this environment.');
|
||||
}
|
||||
|
||||
function feedbackAlertDialog(a0, a1) { // fn#13378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1331:964, offset: 0x00de9a64, size: 162 bytes, params: 3, frame: 18
|
||||
const RN_GLOBAL_OBJ = (require(825) /* metro dependency 825 */).RN_GLOBAL_OBJ;
|
||||
const moduleValue = require(1010) /* metro dependency 1010 */;
|
||||
if (moduleValue.isWeb()) {
|
||||
if (RN_GLOBAL_OBJ.alert !== undefined) {
|
||||
RN_GLOBAL_OBJ.alert('' + a0 + '\n' + a1);
|
||||
} else {
|
||||
Alert.alert(a0, a1);
|
||||
}
|
||||
} else {
|
||||
Alert.alert(a0, a1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user