Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,618 @@
|
||||
/* Metro module 1720; source: unknown; dependencies: [1721, 1653, 1722, 1621] */
|
||||
function _fun18726(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:6, offset: 0x00e949b6, size: 662 bytes, params: 8, frame: 22
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let closure = function(a0) {
|
||||
return typeof a0 === 'object' && a0 !== null && !global.Array.isArray(a0);
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 12151866759552;
|
||||
closure.__initData = {code: "function pnpm_colorsTs1(value){return typeof value==='object'&&value!==null&&!Array.isArray(value);}"};
|
||||
object = {code: 'function PlatformColor_Pnpm_colorsTs2(...names){const{IS_IOS}=this.__closure;return IS_IOS?{semantic:names}:{resource_paths:names};}'};
|
||||
const value = _fun18728();
|
||||
object = {code: 'function isPlatformColorObject_Pnpm_colorsTs3(value){const{isRecord}=this.__closure;return isRecord(value)&&(Array.isArray(value.semantic)||Array.isArray(value.resource_paths));}'};
|
||||
const env0_5 = _fun18730();
|
||||
object = {code: 'function DynamicColorIOS_Pnpm_colorsTs4(tuple){return{dynamic:{light:tuple.light,dark:tuple.dark,highContrastLight:tuple.highContrastLight,highContrastDark:tuple.highContrastDark}};}'};
|
||||
const value2 = _fun18732();
|
||||
object = {code: "function isDynamicColorObjectIOS_Pnpm_colorsTs5(value){const{isRecord}=this.__closure;return isRecord(value)&&isRecord(value.dynamic)&&'light'in value.dynamic&&'dark'in value.dynamic;}"};
|
||||
const env0_8 = _fun18734();
|
||||
const object2 = {};
|
||||
closure = function(a0) {
|
||||
var JSON = global.JSON;
|
||||
return 'Invalid color value: ' + JSON.stringify(a0);
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 16453254098770;
|
||||
closure.__initData = {code: 'function pnpm_colorsTs6(color){return"Invalid color value: "+JSON.stringify(color);}'};
|
||||
object2.invalidColor = closure;
|
||||
closure = function(a0) {
|
||||
var JSON = global.JSON;
|
||||
return 'Invalid processed color value: ' + JSON.stringify(a0);
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 8662920964153;
|
||||
closure.__initData = {code: 'function pnpm_colorsTs7(color){return"Invalid processed color value: "+JSON.stringify(color);}'};
|
||||
object2.invalidProcessedColor = closure;
|
||||
closure = function() {
|
||||
return 'DynamicColorIOS is not available on this platform.';
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 13235944247491;
|
||||
closure.__initData = {code: "function pnpm_colorsTs8(){return'DynamicColorIOS is not available on this platform.';}"};
|
||||
object2.dynamicNotAvailableOnPlatform = closure;
|
||||
object = {code: "function processColorNumber_Pnpm_colorsTs9(value){const{processColorInitially,IS_ANDROID}=this.__closure;let normalizedColor=processColorInitially(value);if(IS_ANDROID&&typeof normalizedColor=='number'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}"};
|
||||
const value3 = _fun18739();
|
||||
object = {code: 'function unprocessColorNumber_Pnpm_colorsTs10(value){const a=(value>>>24)/255;const r=value<<8>>>24;const g=value<<16>>>24;const b=value<<24>>>24;return"rgba("+r+","+g+","+b+","+a+")";}'};
|
||||
const env0_13 = _fun18741();
|
||||
const env0_14 = ['light', 'dark', 'highContrastLight', 'highContrastDark'];
|
||||
object = {code: 'function processDynamicColorObjectIOS_Pnpm_colorsTs11(value){const{DynamicColorIOSProperties,processColorNumber}=this.__closure;const result={};for(const property of DynamicColorIOSProperties){if(value.dynamic[property]===undefined){continue;}const processed=processColorNumber(value.dynamic[property]);if(processed===null){return null;}result[property]=processed;}return{dynamic:result};}'};
|
||||
const env0_16 = _fun18743();
|
||||
object = {code: 'function unprocessDynamicColorObjectIOS_Pnpm_colorsTs12(value){const{DynamicColorIOSProperties,unprocessColorNumber}=this.__closure;const result={};for(const property of DynamicColorIOSProperties){if(value.dynamic[property]!==undefined){result[property]=unprocessColorNumber(value.dynamic[property]);}}return{dynamic:result};}'};
|
||||
const env0_18 = _fun18745();
|
||||
object = {code: "function processColor_Pnpm_colorsTs13(value,context){const{processColorNumber,ValueProcessorTarget,isPlatformColorObject,isDynamicColorObjectIOS,IS_IOS,ERROR_MESSAGES,processDynamicColorObjectIOS}=this.__closure;let result=processColorNumber(value);if(result){return result;}if(result===0){if((context===null||context===void 0?void 0:context.target)===ValueProcessorTarget.CSS&&value==='transparent'){return false;}return result;}if(isPlatformColorObject(value)){return value;}if(isDynamicColorObjectIOS(value)){if(!IS_IOS){throw new ReanimatedError(ERROR_MESSAGES.dynamicNotAvailableOnPlatform());}result=processDynamicColorObjectIOS(value);}if(result===null){throw new ReanimatedError(ERROR_MESSAGES.invalidColor(value));}return result;}"};
|
||||
const value4 = _fun18747();
|
||||
object = {code: "function unprocessColor_Pnpm_colorsTs14(value){const{unprocessColorNumber,isPlatformColorObject,isDynamicColorObjectIOS,IS_IOS,ERROR_MESSAGES,unprocessDynamicColorObjectIOS}=this.__closure;if(typeof value==='number'){return unprocessColorNumber(value);}if(isPlatformColorObject(value)){return value;}if(isDynamicColorObjectIOS(value)){if(!IS_IOS){throw new ReanimatedError(ERROR_MESSAGES.dynamicNotAvailableOnPlatform());}return unprocessDynamicColorObjectIOS(value);}throw new ReanimatedError(ERROR_MESSAGES.invalidProcessedColor(value));}"};
|
||||
const value5 = _fun18749();
|
||||
object = {code: 'function processColorsInProps_Pnpm_colorsTs15(props){const{ColorProperties,processColor}=this.__closure;for(const key in props){if(!ColorProperties.includes(key)){continue;}const value=props[key];props[key]=Array.isArray(value)?value.map(function(c){return processColor(c);}):processColor(value);}}'};
|
||||
const value6 = _fun18751();
|
||||
object = {code: 'function unprocessColorsInProps_Pnpm_colorsTs16(props){const{ColorProperties,unprocessColor}=this.__closure;for(const key in props){if(!ColorProperties.includes(key)){continue;}const value=props[key];props[key]=Array.isArray(value)?value.map(function(c){return unprocessColor(c);}):unprocessColor(value);}}'};
|
||||
const value7 = _fun18754();
|
||||
exports.PlatformColor = value;
|
||||
exports.DynamicColorIOS = value2;
|
||||
exports.ERROR_MESSAGES = object2;
|
||||
exports.processColorNumber = value3;
|
||||
exports.processColor = value4;
|
||||
exports.unprocessColor = value5;
|
||||
exports.processColorsInProps = value6;
|
||||
exports.unprocessColorsInProps = value7;
|
||||
}
|
||||
|
||||
function _fun18728() { // fn#18728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:515, offset: 0x00e94c7d, size: 78 bytes, params: 1, frame: 14
|
||||
const closure = PlatformColor_18729;
|
||||
const IS_IOS = (require(1721) /* metro dependency 1721 */).IS_IOS;
|
||||
closure.__closure = {IS_IOS: IS_IOS};
|
||||
closure.__workletHash = 12890406291275;
|
||||
closure.__initData = env0_3;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18730() { // fn#18730, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:971, offset: 0x00e94d3e, size: 55 bytes, params: 1, frame: 4
|
||||
const closure = isPlatformColorObject;
|
||||
closure.__closure = {isRecord: pnpm_colorsTs1};
|
||||
closure.__workletHash = 9660595997722;
|
||||
closure.__initData = env0_4;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18732() { // fn#18732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:1375, offset: 0x00e94dbf, size: 46 bytes, params: 1, frame: 2
|
||||
const closure = function(a0) {
|
||||
return {dynamic: {light: a0.light, dark: a0.dark, highContrastLight: a0.highContrastLight,
|
||||
highContrastDark: a0.highContrastDark}};
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 593421129931;
|
||||
closure.__initData = env0_6;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18734() { // fn#18734, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:1808, offset: 0x00e94e27, size: 55 bytes, params: 1, frame: 4
|
||||
const closure = isDynamicColorObjectIOS;
|
||||
closure.__closure = {isRecord: pnpm_colorsTs1};
|
||||
closure.__workletHash = 1181760541767;
|
||||
closure.__initData = env0_7;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18739() { // fn#18739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:3108, offset: 0x00e94f09, size: 101 bytes, params: 1, frame: 15
|
||||
const closure = processColorNumber;
|
||||
const object2 = {};
|
||||
object2.processColorInitially = (require(1653) /* metro dependency 1653 */).processColorInitially;
|
||||
const IS_ANDROID = (require(1721) /* metro dependency 1721 */).IS_ANDROID;
|
||||
object2.IS_ANDROID = IS_ANDROID;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 11813019963227;
|
||||
closure.__initData = env0_10;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18741() { // fn#18741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:3608, offset: 0x00e94fbf, size: 46 bytes, params: 1, frame: 2
|
||||
const closure = function(a0) {
|
||||
var value = a0 << 8;
|
||||
var value2 = a0 << 16;
|
||||
var value3 = a0 << 24;
|
||||
var value4 = a0 >>> 24;
|
||||
value >>>= 24;
|
||||
return 'rgba(' + value + ',' + (value2 >>> 24) + ',' + (value3 >>> 24) + ',' + value4 / 255 + ')';
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 5518391320995;
|
||||
closure.__initData = env0_12;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18743() { // fn#18743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:4263, offset: 0x00e95048, size: 64 bytes, params: 1, frame: 4
|
||||
const closure = processDynamicColorObjectIOS;
|
||||
closure.__closure = {DynamicColorIOSProperties: env0_14, processColorNumber: env0_11};
|
||||
closure.__workletHash = 12385759836493;
|
||||
closure.__initData = env0_15;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18745() { // fn#18745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:4903, offset: 0x00e95105, size: 64 bytes, params: 1, frame: 4
|
||||
const closure = unprocessDynamicColorObjectIOS;
|
||||
closure.__closure = {DynamicColorIOSProperties: env0_14, unprocessColorNumber: env0_13};
|
||||
closure.__workletHash = 3217615757982;
|
||||
closure.__initData = env0_17;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18747() { // fn#18747, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:5927, offset: 0x00e951ac, size: 148 bytes, params: 1, frame: 15
|
||||
const closure = processColor_18748;
|
||||
const object2 = {};
|
||||
object2.processColorNumber = env0_11;
|
||||
const ValueProcessorTarget = (require(1722) /* metro dependency 1722 */).ValueProcessorTarget;
|
||||
object2.ValueProcessorTarget = ValueProcessorTarget;
|
||||
object2.isPlatformColorObject = env0_5;
|
||||
object2.isDynamicColorObjectIOS = env0_8;
|
||||
const IS_IOS = (require(1721) /* metro dependency 1721 */).IS_IOS;
|
||||
object2.IS_IOS = IS_IOS;
|
||||
object2.ERROR_MESSAGES = env0_9;
|
||||
object2.processDynamicColorObjectIOS = env0_16;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 3532980737440;
|
||||
closure.__initData = env0_19;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18749() { // fn#18749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:7116, offset: 0x00e95375, size: 125 bytes, params: 1, frame: 14
|
||||
const closure = unprocessColor;
|
||||
const object2 = {};
|
||||
object2.unprocessColorNumber = env0_13;
|
||||
object2.isPlatformColorObject = env0_5;
|
||||
object2.isDynamicColorObjectIOS = env0_8;
|
||||
const IS_IOS = (require(1721) /* metro dependency 1721 */).IS_IOS;
|
||||
object2.IS_IOS = IS_IOS;
|
||||
object2.ERROR_MESSAGES = env0_9;
|
||||
object2.unprocessDynamicColorObjectIOS = env0_18;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 11221362619601;
|
||||
closure.__initData = env0_21;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18751() { // fn#18751, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:7917, offset: 0x00e954d1, size: 88 bytes, params: 1, frame: 14
|
||||
const closure = processColorsInProps_18752;
|
||||
const ColorProperties = (require(1653) /* metro dependency 1653 */).ColorProperties;
|
||||
closure.__closure = {ColorProperties: ColorProperties, processColor: env0_20};
|
||||
closure.__workletHash = 10982881159897;
|
||||
closure.__initData = env0_23;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun18754() { // fn#18754, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:8544, offset: 0x00e955c4, size: 88 bytes, params: 1, frame: 14
|
||||
const closure = unprocessColorsInProps;
|
||||
const ColorProperties = (require(1653) /* metro dependency 1653 */).ColorProperties;
|
||||
closure.__closure = {ColorProperties: ColorProperties, unprocessColor: env0_22};
|
||||
closure.__workletHash = 1282697128442;
|
||||
closure.__initData = env0_24;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function PlatformColor_18729() { // fn#18729, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:532, offset: 0x00e94ccb, size: 115 bytes, params: 1, frame: 15
|
||||
var r0;
|
||||
var value5;
|
||||
let value = arguments.length;
|
||||
const Array = global.Array;
|
||||
const array = new Array(value);
|
||||
const value4 = 0;
|
||||
if (value4 < value) {
|
||||
for (r0 = value4; true; r0 = value5) {
|
||||
array[r0] = arguments[r0];
|
||||
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
||||
if (!(value5 < value)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
value = environment.__proto__;
|
||||
const IS_IOS = require(dependencyMap[value4]).IS_IOS;
|
||||
const object2 = {};
|
||||
if (IS_IOS) {
|
||||
object2.semantic = array;
|
||||
} else {
|
||||
object2.resource_paths = array;
|
||||
}
|
||||
return object2;
|
||||
}
|
||||
|
||||
function isPlatformColorObject(a0) { // fn#18731, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:988, offset: 0x00e94d75, size: 74 bytes, params: 2, frame: 14
|
||||
const value = environment.__proto__;
|
||||
return pnpm_colorsTs1(a0) && (global.Array.isArray(a0.semantic) || global.Array.isArray(a0.resource_paths));
|
||||
}
|
||||
|
||||
function isDynamicColorObjectIOS(a0) { // fn#18735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:1825, offset: 0x00e94e5e, size: 71 bytes, params: 2, frame: 13
|
||||
const value = environment.__proto__;
|
||||
return pnpm_colorsTs1(a0) && pnpm_colorsTs1(a0.dynamic) && 'light' in a0.dynamic && 'dark' in a0.dynamic;
|
||||
}
|
||||
|
||||
function processColorNumber(a0) { // fn#18740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:3125, offset: 0x00e94f6e, size: 81 bytes, params: 2, frame: 14
|
||||
var r0;
|
||||
let value = environment.__proto__;
|
||||
value = require(1653) /* metro dependency 1653 */;
|
||||
value = value.processColorInitially(a0);
|
||||
const IS_ANDROID = (require(1721) /* metro dependency 1721 */).IS_ANDROID;
|
||||
if (IS_ANDROID && typeof value === 'number') {
|
||||
value |= 0;
|
||||
r0 = value;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function processDynamicColorObjectIOS(a0) { // fn#18744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:4280, offset: 0x00e95088, size: 125 bytes, params: 2, frame: 20
|
||||
var dynamic;
|
||||
var property;
|
||||
var value2;
|
||||
var binding;
|
||||
var value3;
|
||||
var value4;
|
||||
var error;
|
||||
const object2 = {};
|
||||
const iterator = env1_14[Symbol.iterator]();
|
||||
const iterator2 = iterator.next;
|
||||
let r2 = iterator;
|
||||
let item2 = Reflect.apply(iterator2, r2, []);
|
||||
let item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
reducibleJoin2: while (true) {
|
||||
if (item2 === undefined) {
|
||||
return {dynamic: object2};
|
||||
}
|
||||
break reducibleJoin2;
|
||||
}
|
||||
reducibleLoop2: while (true) {
|
||||
try {
|
||||
dynamic = a0.dynamic;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property = dynamic[item];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value2 = property === undefined;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (value2) {
|
||||
r2 = item2;
|
||||
} else {
|
||||
try {
|
||||
binding = env1_11;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
dynamic = a0.dynamic;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property = dynamic[item];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value3 = binding(property);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value4 = value3 === null;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
if (value4) {
|
||||
item2.return();
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
object2[item] = value3;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
r2 = item2;
|
||||
}
|
||||
item2 = Reflect.apply(iterator2, r2, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
if (item2 === undefined) {
|
||||
return {dynamic: object2};
|
||||
}
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
}
|
||||
|
||||
function unprocessDynamicColorObjectIOS(a0) { // fn#18746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:4920, offset: 0x00e95145, size: 103 bytes, params: 2, frame: 19
|
||||
var dynamic;
|
||||
var property;
|
||||
var value2;
|
||||
var binding;
|
||||
var value3;
|
||||
var error;
|
||||
const object2 = {};
|
||||
const iterator = env1_14[Symbol.iterator]();
|
||||
const iterator2 = iterator.next;
|
||||
let r2 = iterator;
|
||||
let item2 = Reflect.apply(iterator2, r2, []);
|
||||
let item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
reducibleJoin2: while (true) {
|
||||
if (item2 === undefined) {
|
||||
return {dynamic: object2};
|
||||
}
|
||||
break reducibleJoin2;
|
||||
}
|
||||
reducibleLoop2: while (true) {
|
||||
try {
|
||||
dynamic = a0.dynamic;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property = dynamic[item];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value2 = property === undefined;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
reducibleJoin1: while (true) {
|
||||
if (value2) {
|
||||
r2 = item2;
|
||||
break reducibleJoin1;
|
||||
}
|
||||
try {
|
||||
binding = env1_13;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
dynamic = a0.dynamic;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
property = dynamic[item];
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
value3 = binding(property);
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
object2[item] = value3;
|
||||
} catch (error) {
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
r2 = item2;
|
||||
break reducibleJoin1;
|
||||
}
|
||||
item2 = Reflect.apply(iterator2, r2, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r2;
|
||||
if (item2 === undefined) {
|
||||
break reducibleLoop2;
|
||||
}
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
return {dynamic: object2};
|
||||
}
|
||||
|
||||
function processColor_18748(a0, a1) { // fn#18748, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:5944, offset: 0x00e95240, size: 309 bytes, params: 3, frame: 17
|
||||
var r2;
|
||||
var r1;
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
const value = environment.__proto__;
|
||||
const value2 = undefined;
|
||||
const value3 = env1_11(a0);
|
||||
if (value3) {
|
||||
return value3;
|
||||
}
|
||||
if (value3 === 0) {
|
||||
r1 = (a1 == null ? value2 : a1.target) !== (require(1722) /* metro dependency 1722 */).ValueProcessorTarget.CSS || a0 !== 'transparent';
|
||||
r1 = r1 && value3;
|
||||
return r1;
|
||||
}
|
||||
if (env1_5(a0)) {
|
||||
return a0;
|
||||
}
|
||||
if (env1_8(a0)) {
|
||||
if ((require(1721) /* metro dependency 1721 */).IS_IOS) {
|
||||
r2 = env1_16(a0);
|
||||
if (r2 === null) {
|
||||
throw new ReanimatedError(env1_9.invalidColor(a0));
|
||||
}
|
||||
return r2;
|
||||
}
|
||||
throw new ReanimatedError(env1_9.dynamicNotAvailableOnPlatform());
|
||||
}
|
||||
r2 = value3;
|
||||
if (r2 === null) {
|
||||
throw new ReanimatedError(env1_9.invalidColor(a0));
|
||||
}
|
||||
return r2;
|
||||
}
|
||||
|
||||
function unprocessColor(a0) { // fn#18750, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:7133, offset: 0x00e953f2, size: 223 bytes, params: 2, frame: 16
|
||||
var value;
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
if (typeof a0 === 'number') {
|
||||
value = environment.__proto__;
|
||||
return env1_13(a0);
|
||||
}
|
||||
value = environment.__proto__;
|
||||
if (env1_5(a0)) {
|
||||
return a0;
|
||||
}
|
||||
if (env1_8(a0)) {
|
||||
if ((require(1721) /* metro dependency 1721 */).IS_IOS) {
|
||||
return env1_18(a0);
|
||||
}
|
||||
value = env1_9.dynamicNotAvailableOnPlatform();
|
||||
throw new ReanimatedError();
|
||||
}
|
||||
value = env1_9.invalidProcessedColor(a0);
|
||||
const value3 = Object.create(ReanimatedError.prototype, {constructor: {value: ReanimatedError}});
|
||||
const reanimatedError = new ReanimatedError();
|
||||
throw reanimatedError instanceof Object ? reanimatedError : value3;
|
||||
}
|
||||
|
||||
function processColorsInProps_18752(a0) { // fn#18752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:7934, offset: 0x00e95529, size: 136 bytes, params: 2, frame: 25
|
||||
var r7;
|
||||
var r13;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var ColorProperties;
|
||||
var includes;
|
||||
var property;
|
||||
var Array;
|
||||
var isArray;
|
||||
var value2;
|
||||
var value3;
|
||||
for (propertyName in a0) {
|
||||
ColorProperties = (require(1653) /* metro dependency 1653 */).ColorProperties;
|
||||
includes = ColorProperties.includes;
|
||||
if (!Reflect.apply(includes, ColorProperties, [propertyName])) {
|
||||
r7 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
property = a0[propertyName];
|
||||
Array = global.Array;
|
||||
isArray = Array.isArray;
|
||||
if (Reflect.apply(isArray, Array, [property])) {
|
||||
value3 = property.map(_fun18753);
|
||||
r13 = value3;
|
||||
} else {
|
||||
value2 = env1_20(property);
|
||||
r13 = value2;
|
||||
}
|
||||
a0[propertyName] = r13;
|
||||
r7 = propertyName2;
|
||||
}
|
||||
}
|
||||
|
||||
function unprocessColorsInProps(a0) { // fn#18755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:8561, offset: 0x00e9561c, size: 136 bytes, params: 2, frame: 25
|
||||
var r7;
|
||||
var r13;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var ColorProperties;
|
||||
var includes;
|
||||
var property;
|
||||
var Array;
|
||||
var isArray;
|
||||
var value2;
|
||||
var value3;
|
||||
for (propertyName in a0) {
|
||||
ColorProperties = (require(1653) /* metro dependency 1653 */).ColorProperties;
|
||||
includes = ColorProperties.includes;
|
||||
if (!Reflect.apply(includes, ColorProperties, [propertyName])) {
|
||||
r7 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
property = a0[propertyName];
|
||||
Array = global.Array;
|
||||
isArray = Array.isArray;
|
||||
if (Reflect.apply(isArray, Array, [property])) {
|
||||
value3 = property.map(_fun18756);
|
||||
r13 = value3;
|
||||
} else {
|
||||
value2 = env1_22(property);
|
||||
r13 = value2;
|
||||
}
|
||||
a0[propertyName] = r13;
|
||||
r7 = propertyName2;
|
||||
}
|
||||
}
|
||||
|
||||
function _fun18753(a0) { // fn#18753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1847:8063, offset: 0x00e955b1, size: 19 bytes, params: 2, frame: 11
|
||||
return env2_20(a0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user