101 lines
5.6 KiB
React
101 lines
5.6 KiB
React
/* Metro module 7825; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7822, 7826, 7827, 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-07827-__INTERNAL_VIEW_CONFIG.js'; /* Metro dependency 7827 */
|
|
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 */
|
|
import * as MaskTypeModule from './module-07826-maskType.js'; /* Metro dependency 7826 */
|
|
|
|
function _fun62523(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62523, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:6, offset: 0x01b5fb44, size: 244 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = Module07768;
|
|
value = _fun62527(value);
|
|
value.displayName = 'Mask';
|
|
value.defaultProps = {'x': '0%', 'y': '0%', 'width': '100%', 'height': '100%'};
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_62524() { // fn#62524, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:172, offset: 0x01b5fc38, 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_62524_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun62527(a0) { // fn#62527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:397, offset: 0x01b5fc96, size: 68 bytes, params: 2, frame: 15
|
|
const Mask2 = Mask;
|
|
Inherits(Mask2, a0);
|
|
return CreateClass(Mask2, [{key: 'render', value: value_62529}]);
|
|
function Mask() { // fn#62528, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:409, offset: 0x00c7c82b, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_3(this, Mask);
|
|
const value3 = env1_6(Mask);
|
|
return env1_5(this, _isNativeReflectConstruct_62524() ? global.Reflect.construct(value3, arguments,
|
|
env1_6(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_62529() { // fn#62529, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:643, offset: 0x01b5fcda, size: 342 bytes, params: 1, frame: 24
|
|
const props = this.props;
|
|
const x = props.x;
|
|
const y = props.y;
|
|
const width = props.width;
|
|
const height = props.height;
|
|
const maskUnits = props.maskUnits;
|
|
const maskContentUnits = props.maskContentUnits;
|
|
const children = props.children;
|
|
const style = props.style;
|
|
const object = {x: x, y: y, width: width, height: height};
|
|
const value = undefined;
|
|
object.maskUnits = value === maskUnits ? 0 : (importDefault(7822) /* metro dependency 7822 */)[maskUnits];
|
|
object.maskContentUnits = value === maskContentUnits ? 1 : (importDefault(7822) /* metro dependency 7822 */)[maskContentUnits];
|
|
const maskType2 = (MaskTypeModule).maskType;
|
|
let r1 = (props == null ? value : props.maskType) || (style == null ? value : style.maskType);
|
|
r1 = !r1 ? 'luminance' : r1;
|
|
object.maskType = maskType2[r1];
|
|
const defaultImport = __INTERNAL_VIEW_CONFIG;
|
|
const Object = global.Object;
|
|
return ((Component) => <Component {...Object.assign({ref: ref_62530},
|
|
(Module07759Module).withoutXY(this, props), object,
|
|
{children: children})} />)(defaultImport);
|
|
function value_62529Ref(a0) { // fn#62530, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8003:1013, owner: value_62529.ref, offset: 0x01b51c54, size: 23 bytes, params: 2, frame: 11
|
|
return env0_0.refMethod(a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun62523, 7825, [6, 7, 15, 17, 18, 31, 33, 7822, 7826, 7827, 7759,
|
|
7768]) /* metro module 7825, dependencies: [6, 7, 15, 17, 18, 31, 33, 7822, 7826, 7827, 7759, 7768] */;
|