159 lines
5.7 KiB
TypeScript
159 lines
5.7 KiB
TypeScript
/* Metro module 12134; source: modules/integration_settings/native/useShowUnlinkChannelAlert.tsx; dependencies: [5, 31, 8148, 4496, 1244, 4596, 2] */
|
|
function _fun93165(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93165, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12320:6, offset: 0x020a956e, size: 137 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
|
const env0_4 = importAll(31) /* metro dependency 31 */;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/integration_settings/native/useShowUnlinkChannelAlert.tsx');
|
|
exports.default = useShowUnlinkChannelAlert;
|
|
}
|
|
|
|
function useShowUnlinkChannelAlert(a0, a1, a2) { // fn#93166, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12320:228, offset: 0x020a95f7, size: 107 bytes, params: 4, frame: 18
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const binding = env0_4;
|
|
const useCallback = binding.useCallback;
|
|
let value = env0_3(_fun93168);
|
|
value = Reflect.apply(useCallback, binding, [value, [a0, a2]]);
|
|
return binding.useCallback(_fun93169, [a1, value]);
|
|
}
|
|
|
|
function* _fun93168() { // fn#93168, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12320:293, offset: 0x020a966d, size: 244 bytes, params: 1, frame: 19
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value3;
|
|
var removeLinkedLobby;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var error;
|
|
var binding3;
|
|
var value9;
|
|
var show;
|
|
var object2;
|
|
var intl;
|
|
var string;
|
|
var t;
|
|
var vFzPFj;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
reducibleJoin3: while (true) {
|
|
reduciblePort22: while (true) {
|
|
exceptionLanding21: while (true) {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
break reducibleJoin3;
|
|
}
|
|
binding = env2_1;
|
|
binding3 = env2_2;
|
|
value9 = binding(binding3[3]);
|
|
show = value9.show;
|
|
object2 = {};
|
|
binding = env2_0;
|
|
intl = binding(binding3[4]).intl;
|
|
string = intl.string;
|
|
t = binding(binding3[4]).t;
|
|
vFzPFj = t.vFzPFj;
|
|
object2.title = Reflect.apply(string, intl, [vFzPFj]);
|
|
intl = binding(binding3[4]).intl;
|
|
string = intl.string;
|
|
t = binding(binding3[4]).t;
|
|
object2.body = Reflect.apply(string, intl, [t['6D5WVg']]);
|
|
Reflect.apply(show, value9, [object2]);
|
|
break reduciblePort22;
|
|
}
|
|
return undefined;
|
|
}
|
|
try {
|
|
binding2 = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
property = binding2[2];
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
value3 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
removeLinkedLobby = value3.removeLinkedLobby;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(removeLinkedLobby, value3, [require]);
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
value8 = dependencyMap == null;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
reducibleJoin22: while (true) {
|
|
if (value8) {
|
|
break reducibleJoin22;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
dependencyMap();
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
break reducibleJoin22;
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun93169() { // fn#93169, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12320:505, offset: 0x020a9761, size: 296 bytes, params: 1, frame: 23
|
|
const defaultImport = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
|
|
const show = defaultImport.show;
|
|
const object2 = {};
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const JmUENg = t.JmUENg;
|
|
object2.title = Reflect.apply(string, intl, [JmUENg]);
|
|
object2.body = intl.format(t['6l2osp'], {applicationName: require});
|
|
object2.cancelText = intl.string(t['ETE/oC']);
|
|
object2.confirmText = intl.string(t['cY+Oob']);
|
|
object2.onConfirm = env0_3;
|
|
const Colors = (importDefault(4596) /* metro dependency 4596: Alert */).Colors;
|
|
const RED = Colors.RED;
|
|
object2.confirmColor = RED;
|
|
Reflect.apply(show, defaultImport, [object2]);
|
|
}
|
|
|