135 lines
5.5 KiB
JavaScript
135 lines
5.5 KiB
JavaScript
/* Metro module 8027; source: unknown; dependencies: [3977] */
|
|
import * as Module03977Module from './module-03977.js'; /* Metro dependency 3977 */
|
|
|
|
function _fun63711(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8205:6, offset: 0x01b8d1ef, size: 782 bytes, params: 8, frame: 25
|
|
const closure = function(a0, a1) {
|
|
var env0_0 = a0;
|
|
var env0_1 = 'Use the transform prop instead.';
|
|
return _fun63713;
|
|
};
|
|
const object = {};
|
|
let value = Module03977Module;
|
|
const arrayOf = value.arrayOf;
|
|
let value2 = value;
|
|
const oneOfType = value2.oneOfType;
|
|
const value3 = value;
|
|
let shape = value3.shape;
|
|
const number = value.number;
|
|
const items2 = [Reflect.apply(shape, value3, [{perspective: number}])];
|
|
const value5 = value;
|
|
shape = value5.shape;
|
|
const string = value.string;
|
|
items2[1] = Reflect.apply(shape, value5, [{rotate: string}]);
|
|
const value6 = value;
|
|
items2[2] = value6.shape({rotateX: string});
|
|
const value7 = value;
|
|
items2[3] = value7.shape({rotateY: string});
|
|
const value8 = value;
|
|
items2[4] = value8.shape({rotateZ: string});
|
|
const value9 = value;
|
|
items2[5] = value9.shape({scale: number});
|
|
const value10 = value;
|
|
items2[6] = value10.shape({scaleX: number});
|
|
const value11 = value;
|
|
items2[7] = value11.shape({scaleY: number});
|
|
const value12 = value;
|
|
items2[8] = value12.shape({translateX: number});
|
|
const value13 = value;
|
|
items2[9] = value13.shape({translateY: number});
|
|
const value14 = value;
|
|
items2[10] = value14.shape({skewX: string});
|
|
const value15 = value;
|
|
items2[11] = value15.shape({skewY: string});
|
|
object.transform = Reflect.apply(arrayOf, value, [Reflect.apply(oneOfType, value2, [items2])]);
|
|
object.transformMatrix = function(a0, a1, a2) {
|
|
var Error;
|
|
var value;
|
|
var value2;
|
|
if (a0[a1]) {
|
|
Error = global.Error;
|
|
value = Object.create(Error.prototype, {constructor: {value: Error}});
|
|
value2 = new Error('The transformMatrix style property is deprecated. Use `transform: [{ matrix: ... }]` instead.');
|
|
return value2 instanceof Object ? value2 : value;
|
|
}
|
|
};
|
|
object.decomposedMatrix = function(a0, a1, a2) {
|
|
var Error;
|
|
var value;
|
|
var value2;
|
|
if (a0[a1]) {
|
|
Error = global.Error;
|
|
value = Object.create(Error.prototype, {constructor: {value: Error}});
|
|
value2 = new Error('The decomposedMatrix style property is deprecated. Use `transform: [...]` instead.');
|
|
return value2 instanceof Object ? value2 : value;
|
|
}
|
|
};
|
|
object.scaleX = closure(number, 'Use the transform prop instead.');
|
|
object.scaleY = closure(number, 'Use the transform prop instead.');
|
|
object.rotation = closure(number, 'Use the transform prop instead.');
|
|
object.translateX = closure(number, 'Use the transform prop instead.');
|
|
object.translateY = closure(number, 'Use the transform prop instead.');
|
|
module.exports = object;
|
|
function deprecatedPropType(a0, a1) { // fn#63712, offset: 0x01b8d4fd, size: 26 bytes, params: 3, frame: 2
|
|
const env0_0 = a0;
|
|
return deprecatedPropTypeValidate;
|
|
function deprecatedPropTypeValidate(a0, a1, a2) { // fn#63713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8205:1359, owner: deprecatedPropType.validate, offset: 0x01b8d517, size: 208 bytes, params: 4, frame: 24
|
|
var r1;
|
|
var console;
|
|
var warn;
|
|
var value;
|
|
var binding;
|
|
var HermesInternal;
|
|
var concat;
|
|
var value4;
|
|
var value7;
|
|
var value8;
|
|
reducibleJoin2: while (true) {
|
|
if (a0[a1] === undefined) {
|
|
break reducibleJoin2;
|
|
}
|
|
console = global.console;
|
|
warn = console.warn;
|
|
value = environment;
|
|
binding = env0_1;
|
|
HermesInternal = global.HermesInternal;
|
|
concat = HermesInternal.concat;
|
|
Reflect.apply(warn, console, ['`' + a1 + '` supplied to `' + a2 + '` has been deprecated. ' + binding]);
|
|
break reducibleJoin2;
|
|
}
|
|
value = arguments.length;
|
|
const Array = global.Array;
|
|
const value2 = 3;
|
|
reducibleJoin4: while (true) {
|
|
if (value > value2) {
|
|
value4 = value - value2;
|
|
r1 = value4;
|
|
break reducibleJoin4;
|
|
}
|
|
r1 = 0;
|
|
break reducibleJoin4;
|
|
}
|
|
const array = new Array();
|
|
if (value2 < value) {
|
|
r1 = value2;
|
|
reducibleLoop5: while (true) {
|
|
value7 = r1 - value2;
|
|
array[value7] = arguments[r1];
|
|
value8 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value8 < value) {
|
|
r1 = value8;
|
|
continue reducibleLoop5;
|
|
}
|
|
break reducibleLoop5;
|
|
}
|
|
}
|
|
binding = env0_0;
|
|
const items2 = [a0, a1, a2];
|
|
return binding.apply(undefined, items2.concat(array));
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63711, 8027, [3977]) /* metro module 8027, dependencies: [3977] */;
|