Files
2026-07-28 01:06:53 +03:00

92 lines
4.6 KiB
JavaScript

/* Metro module 127; source: unknown; dependencies: [6, 7, 15, 17, 18, 128, 129] */
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 Module00128 from './module-00128.js'; /* Metro dependency 128 */
import * as Module00129Module from './module-00129.js'; /* Metro dependency 129 */
function _fun2112(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:6, offset: 0x00c79edf, size: 206 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = Module00128;
value = _fun2116(value);
Module00129Module.setPlatformObject(value, {clone: clone});
exports.default = value;
function _isNativeReflectConstruct_2113() { // fn#2113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:148, offset: 0x00c79fad, 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_2113_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun2116(a0) { // fn#2116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:373, offset: 0x00c7a00b, size: 203 bytes, params: 2, frame: 17
const DOMRect2 = DOMRect;
Inherits(DOMRect2, a0);
return CreateClass(DOMRect2, [{key: 'x', get: function() {
return this.__getInternalX();
}, set: function(a0) {
this.__setInternalX(a0);
}}, {key: 'y', get: function() {
return this.__getInternalY();
}, set: function(a0) {
this.__setInternalY(a0);
}}, {key: 'width', get: function() {
return this.__getInternalWidth();
}, set: function(a0) {
this.__setInternalWidth(a0);
}}, {key: 'height', get: function() {
return this.__getInternalHeight();
}, set: function(a0) {
this.__setInternalHeight(a0);
}}], [{key: 'fromRect', value: value_2126}]);
function DOMRect() { // fn#2117, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:385, offset: 0x00c7a0d6, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_0(this, DOMRect);
const value3 = env1_3(DOMRect);
return env1_2(this, _isNativeReflectConstruct_2113() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
function value_2126(a0) { // fn#2126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:1077, offset: 0x00c7a1d7, size: 77 bytes, params: 2, frame: 18
return a0 ? new DOMRect() : new DOMRect();
}
}
function clone({x, y, width, height}) { // fn#2127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:152:1206, offset: 0x00c7a224, size: 52 bytes, params: 2, frame: 17
const binding = env0_5;
const value = Object.create(binding.prototype, {constructor: {value: binding}});
const binding2 = new binding(x, y, width, height);
return binding2 instanceof Object ? binding2 : value;
}
}
global.__d(_fun2112, 127, [6, 7, 15, 17, 18, 128,
129]) /* metro module 127, dependencies: [6, 7, 15, 17, 18, 128, 129] */;