Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/* Metro module 10758; source: modules/soundpacks/Constants.tsx; dependencies: [2] */
|
||||
function _fun82756(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82756, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10944:6, offset: 0x01f00a88, size: 200 bytes, params: 8, frame: 16
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/soundpacks/Constants.tsx');
|
||||
exports.Soundpacks = {CLASSIC: 'classic', RETRO: 'retro', BUBBLE: 'bop', DUCKY: 'ducky', LOFI: 'lofi', ASMR: 'asmr',
|
||||
DISCODO: 'discodo', HALLOWEEN: 'halloween', WINTER_HOLIDAY: 'winter_holiday'};
|
||||
exports.CUSTOM_NOTIFICATION_SOUNDS_DISCODO_STORAGE_KEY = 'custom_notification_sounds_discodo';
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/* Metro module 15731; source: modules/soundpacks/SoundpackActions.tsx; dependencies: [10757, 661, 683, 694, 2] */
|
||||
function _fun120794(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15939:6, offset: 0x02535ca9, size: 136 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const soundpackStore = importDefault(10757) /* metro dependency 10757: SoundpackStore */;
|
||||
const env0_3 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/soundpacks/SoundpackActions.tsx');
|
||||
exports.setSoundpack = setSoundpack;
|
||||
}
|
||||
|
||||
function setSoundpack(a0, a1) { // fn#120795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15939:219, offset: 0x02535d31, size: 126 bytes, params: 3, frame: 19
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const SOUNDPACK_UPDATED = AnalyticEvents.SOUNDPACK_UPDATED;
|
||||
const object2 = {soundpack: a0};
|
||||
object2.previous_soundpack = SoundpackStore.getSoundpack();
|
||||
Reflect.apply(track, defaultImport, [SOUNDPACK_UPDATED, object2]);
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'SET_SOUNDPACK', soundpack: a0,
|
||||
forExperimentId: a1});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
/* Metro module 10757; source: modules/soundpacks/SoundpackStore.tsx; dependencies: [6, 7, 15, 17, 18, 10758, 566, 694, 2] */
|
||||
function _fun82745(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:6, offset: 0x01f007a8, size: 319 bytes, params: 8, frame: 19
|
||||
var object2;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
||||
const Soundpacks = (require(10758) /* metro dependency 10758: Constants */).Soundpacks;
|
||||
object2 = {};
|
||||
const CLASSIC = Soundpacks.CLASSIC;
|
||||
object2.soundpack = CLASSIC;
|
||||
object2.lastSoundpackExperimentId = null;
|
||||
const PersistedStore = (importDefault(566) /* metro dependency 566: flux */).PersistedStore;
|
||||
let value = _fun82749(PersistedStore);
|
||||
value.displayName = 'SoundpackStore';
|
||||
value.persistKey = 'SoundpackStore';
|
||||
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {SET_SOUNDPACK: SET_SOUNDPACK});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/soundpacks/SoundpackStore.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_82746() { // fn#82746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:169, offset: 0x01f008e7, size: 98 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_82746_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun82749(a0) { // fn#82749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:427, offset: 0x01f00949, size: 149 bytes, params: 2, frame: 16
|
||||
const closure = SoundpackStore;
|
||||
env0_4(closure, a0);
|
||||
return env0_1(closure, [{key: 'initialize', value: value_82751}, {key: 'getState', value: value_82752},
|
||||
{key: 'getSoundpack', value: value_82753}, {key: 'getLastSoundpackExperimentId', value: value_82754}]);
|
||||
}
|
||||
|
||||
function SET_SOUNDPACK({soundpack, forExperimentId}) { // fn#82755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:1135, offset: 0x01f00a51, size: 55 bytes, params: 2, frame: 4
|
||||
({soundpack: soundpack}).lastSoundpackExperimentId = forExperimentId !== undefined ? forExperimentId : env0_6.lastSoundpackExperimentId;
|
||||
}
|
||||
|
||||
function value_82751(a0) { // fn#82751, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:727, offset: 0x01f009de, size: 85 bytes, params: 2, frame: 12
|
||||
var value;
|
||||
var value2;
|
||||
if (a0 != null) {
|
||||
value = environment.__proto__;
|
||||
env1_6 = a0;
|
||||
value2 = global.Object.values(Soundpacks);
|
||||
if (!value2.includes(env1_6.soundpack)) {
|
||||
env1_6.soundpack = Soundpacks.CLASSIC;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function value_82753() { // fn#82753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:890, offset: 0x01f00a33, size: 15 bytes, params: 1, frame: 1
|
||||
return env1_6.soundpack;
|
||||
}
|
||||
|
||||
function value_82754() { // fn#82754, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10943:964, offset: 0x01f00a42, size: 15 bytes, params: 1, frame: 1
|
||||
return env1_6.lastSoundpackExperimentId;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
/* Metro module 10759; source: modules/soundpacks/getSoundsForPack.tsx; dependencies: [10758, 2] */
|
||||
function _fun82757(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82757, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10945:6, offset: 0x01f00b50, size: 330 bytes, params: 8, frame: 21
|
||||
var object2;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const Soundpacks = (require(10758) /* metro dependency 10758: Constants */).Soundpacks;
|
||||
object2 = {};
|
||||
const CLASSIC = Soundpacks.CLASSIC;
|
||||
object2[CLASSIC] = {'discodo': 'discodo', 'message1': 'message1', 'deafen': 'deafen', 'undeafen': 'undeafen',
|
||||
'mute': 'mute', 'unmute': 'unmute', 'disconnect': 'disconnect', 'ptt_start': 'ptt_start',
|
||||
'ptt_stop': 'ptt_stop', 'user_join': 'user_join', 'user_leave': 'user_leave', 'user_moved': 'user_moved',
|
||||
'call_calling': 'call_calling', 'call_ringing': 'call_ringing', 'stream_started': 'stream_started',
|
||||
'stream_ended': 'stream_ended', 'stream_user_joined': 'stream_user_joined',
|
||||
'stream_user_left': 'stream_user_left', 'poggermode_enabled': 'poggermode_enabled',
|
||||
'poggermode_applause': 'poggermode_applause', 'poggermode_achievement_unlock': 'poggermode_achievement_unlock',
|
||||
'stage_waiting': 'stage_waiting', 'camera_off': 'camera_off', 'camera_on': 'camera_on'};
|
||||
const RETRO = Soundpacks.RETRO;
|
||||
object2[RETRO] = {message1: 'bit_message1'};
|
||||
const BUBBLE = Soundpacks.BUBBLE;
|
||||
object2[BUBBLE] = {message1: 'bop_message1'};
|
||||
const DUCKY = Soundpacks.DUCKY;
|
||||
object2[DUCKY] = {message1: 'ducky_message1'};
|
||||
const LOFI = Soundpacks.LOFI;
|
||||
object2[LOFI] = {message1: 'lofi_message1'};
|
||||
const ASMR = Soundpacks.ASMR;
|
||||
object2[ASMR] = {message1: 'asmr_message1'};
|
||||
const DISCODO = Soundpacks.DISCODO;
|
||||
object2[DISCODO] = {message1: 'discodo'};
|
||||
const HALLOWEEN = Soundpacks.HALLOWEEN;
|
||||
object2[HALLOWEEN] = {'call_calling': 'halloween_call_calling', 'call_ringing': 'halloween_call_ringing',
|
||||
'message1': 'halloween_message1', 'deafen': 'halloween_deafen', 'undeafen': 'halloween_undeafen',
|
||||
'mute': 'halloween_mute', 'unmute': 'halloween_unmute', 'disconnect': 'halloween_disconnect',
|
||||
'user_join': 'halloween_user_join', 'user_leave': 'halloween_user_leave'};
|
||||
const WINTER_HOLIDAY = Soundpacks.WINTER_HOLIDAY;
|
||||
object2[WINTER_HOLIDAY] = {'call_calling': 'winter_call_calling', 'call_ringing': 'winter_call_ringing',
|
||||
'deafen': 'winter_deafen', 'undeafen': 'winter_undeafen', 'mute': 'winter_mute', 'unmute': 'winter_unmute',
|
||||
'disconnect': 'winter_disconnect', 'user_join': 'winter_user_join', 'user_leave': 'winter_user_leave'};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/soundpacks/getSoundsForPack.tsx');
|
||||
exports.default = getSoundPack;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user