38 lines
2.1 KiB
TypeScript
38 lines
2.1 KiB
TypeScript
/* Metro module 3792; source: utils/BasicPermissionUtils.tsx; dependencies: [6, 7, 483, 2] */
|
|
function _fun28835(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#28835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3919:6, offset: 0x00f8474c, size: 143 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const value = _fun28836();
|
|
value.cache = {};
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/BasicPermissionUtils.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _fun28836() { // fn#28836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3919:118, offset: 0x00f847db, size: 106 bytes, params: 1, frame: 16
|
|
return env0_3(BasicPermissionUtils, null, [{key: 'has', value: function(a0, a1) {
|
|
return !!(a0 & a1);
|
|
}}, {key: 'asBasicFlag', value: value_28839}, {key: 'asBigFlag', value: value_28840}]);
|
|
}
|
|
|
|
function value_28839(a0) { // fn#28839, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3919:280, offset: 0x00f84845, size: 45 bytes, params: 2, frame: 13
|
|
const value = environment.__proto__;
|
|
return (importAll(483) /* metro dependency 483: BigFlagUtils */).asUintN(20, a0);
|
|
}
|
|
|
|
function value_28840(a0) { // fn#28840, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3919:346, offset: 0x00f84872, size: 93 bytes, params: 2, frame: 15
|
|
var value;
|
|
const Object = global.Object;
|
|
const hasOwn = Object.hasOwn;
|
|
let cache = this.cache;
|
|
if (!Reflect.apply(hasOwn, Object, [cache, a0])) {
|
|
cache = this.cache;
|
|
value = environment.__proto__;
|
|
value = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
|
cache[a0] = value.deserialize(a0);
|
|
}
|
|
return this.cache[a0];
|
|
}
|
|
|