Files
discord-decomp/sources/records/SpotifyApplicationRecord.tsx
T
2026-07-27 16:20:00 +03:00

75 lines
3.7 KiB
TypeScript

/* Metro module 10579; source: records/SpotifyApplicationRecord.tsx; dependencies: [6, 7, 15, 17, 18, 4235, 4915, 2] */
function _fun81599(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:6, offset: 0x01ed78c1, size: 262 bytes, params: 8, frame: 18
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 */;
let value = importDefault(4235) /* metro dependency 4235: ApplicationRecord */;
const env0_5 = (importDefault(4915) /* metro dependency 4915: Platforms */).get('spotify');
value = _fun81603(value);
const value4 = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('records/SpotifyApplicationRecord.tsx');
exports.default = value;
exports.SPOTIFY_APPLICATION_ID = 'spotify';
exports.SpotifyApplication = value4;
}
function _isNativeReflectConstruct_81600() { // fn#81600, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:158, offset: 0x01ed79c7, 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_81600_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun81603(a0) { // fn#81603, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:386, offset: 0x01ed7a29, size: 99 bytes, params: 2, frame: 16
const closure = SpotifyApplicationRecord;
env0_4(closure, a0);
return env0_1(closure, [{key: 'getIconURL', value: value_81605}, {key: 'getWhiteIconURL', value: value_81606}]);
}
function SpotifyApplicationRecord() { // fn#81604, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:398, offset: 0x01ed7a8c, size: 139 bytes, params: 1, frame: 20
env1_0(this, SpotifyApplicationRecord);
const items2 = [{}];
const value3 = env1_3(SpotifyApplicationRecord);
const value6 = env1_2(this, _isNativeReflectConstruct_81600() ? global.Reflect.construct(value3, items2,
env1_3(this).constructor) : value3.apply(this, items2));
value6.id = 'spotify';
value6.name = env1_5.name;
return value6;
}
function value_81605() { // fn#81605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:762, offset: 0x01ed7b17, size: 20 bytes, params: 1, frame: 1
return env1_5.icon.lightPNG;
}
function value_81606() { // fn#81606, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10765:827, offset: 0x01ed7b2b, size: 20 bytes, params: 1, frame: 1
return env1_5.icon.whitePNG;
}