104 lines
5.3 KiB
React
104 lines
5.3 KiB
React
/* Metro module 7848; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7760, 7849, 7759, 7768] */
|
|
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Module07768 from './module-07768.js'; /* Metro dependency 7768 */
|
|
import __INTERNAL_VIEW_CONFIG from './module-07849-__INTERNAL_VIEW_CONFIG.js'; /* Metro dependency 7849 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as Module07759Module from './module-07759.js'; /* Metro dependency 7759 */
|
|
|
|
function _fun62640(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62640, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:6, offset: 0x01b626a9, size: 240 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = Module07768;
|
|
value = _fun62644(value);
|
|
value.displayName = 'Use';
|
|
value.defaultProps = {'x': 0, 'y': 0, 'width': 0, 'height': 0};
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_62641() { // fn#62641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:172, offset: 0x01b62799, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_62641_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun62644(a0) { // fn#62644, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:397, offset: 0x01b627f7, size: 68 bytes, params: 2, frame: 15
|
|
const Use2 = Use;
|
|
Inherits(Use2, a0);
|
|
return CreateClass(Use2, [{key: 'render', value: value_62646}]);
|
|
function Use() { // fn#62645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:409, offset: 0x00c7c82b, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_3(this, Use);
|
|
const value3 = env1_6(Use);
|
|
return env1_5(this, _isNativeReflectConstruct_62641() ? global.Reflect.construct(value3, arguments,
|
|
env1_6(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_62646() { // fn#62646, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:638, offset: 0x01b6283b, size: 304 bytes, params: 1, frame: 26
|
|
const props = this.props;
|
|
const children = props.children;
|
|
const x = props.x;
|
|
const y = props.y;
|
|
const width = props.width;
|
|
const height = props.height;
|
|
const xlinkHref = props.xlinkHref;
|
|
const href = props.href;
|
|
const value = undefined;
|
|
const r13 = value !== href ? href : xlinkHref;
|
|
const r8 = r13 && r13.match((require(7760) /* metro dependency 7760 */).idPattern);
|
|
const r7 = r8 && r8[1];
|
|
if (!r7) {
|
|
global.console.warn('Invalid `href` prop for `Use` element, expected a href like "#id", but got: "' + r13 + '"');
|
|
}
|
|
const object = {};
|
|
object.href = r7 ?? value;
|
|
object.x = x;
|
|
object.y = y;
|
|
object.width = width;
|
|
object.height = height;
|
|
const defaultImport = __INTERNAL_VIEW_CONFIG;
|
|
const Object = global.Object;
|
|
return ((Component) => <Component {...Object.assign({ref: ref_62647},
|
|
(Module07759Module).withoutXY(this, props), object,
|
|
{children: children})} />)(defaultImport);
|
|
function value_62646Ref(a0) { // fn#62647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8026:1002, owner: value_62646.ref, offset: 0x01b51c54, size: 23 bytes, params: 2, frame: 11
|
|
return env0_0.refMethod(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun62640, 7848, [6, 7, 15, 17, 18, 31, 33, 7760, 7849, 7759,
|
|
7768]) /* metro module 7848, dependencies: [6, 7, 15, 17, 18, 31, 33, 7760, 7849, 7759, 7768] */;
|