82 lines
4.4 KiB
TypeScript
82 lines
4.4 KiB
TypeScript
/* Metro module 10579; source: records/SpotifyApplicationRecord.tsx; dependencies: [6, 7, 15, 17, 18, 4235, 4915, 2] */
|
|
import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import ApplicationRecord from './ApplicationRecord.tsx'; /* Metro dependency 4235 */
|
|
import Platforms from '../lib/Platforms.tsx'; /* Metro dependency 4915 */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 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});
|
|
let value = ApplicationRecord;
|
|
const env0_5 = (Platforms).get('spotify');
|
|
value = _fun81603(value);
|
|
const value4 = new value();
|
|
(FileImportTrackerModule).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 SpotifyApplicationRecord2 = SpotifyApplicationRecord;
|
|
Inherits(SpotifyApplicationRecord2, a0);
|
|
return CreateClass(SpotifyApplicationRecord2, [{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;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun81599, 10579, [6, 7, 15, 17, 18, 4235, 4915,
|
|
2]) /* metro module 10579, dependencies: [6, 7, 15, 17, 18, 4235, 4915, 2] */;
|