Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,11 @@
|
||||
/* Metro module 13048; source: modules/game_store/GameStoreAsset.tsx; dependencies: [2] */
|
||||
function _fun99655(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#99655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13238:6, offset: 0x021d0519, size: 87 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_store/GameStoreAsset.tsx');
|
||||
exports.transformStoreAssetFromServer = function(a0) {
|
||||
return {id: a0.id, filename: a0.filename, size: a0.size, width: a0.width, height: a0.height,
|
||||
mimeType: a0.mime_type};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
/* Metro module 7502; source: modules/game_store/TestModeUtils.tsx; dependencies: [7503, 7505, 566, 2] */
|
||||
function _fun60476(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7680:6, offset: 0x017044db, size: 150 bytes, params: 8, frame: 19
|
||||
let env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const developerActivityShelfStore = importDefault(7503) /* metro dependency 7503: DeveloperActivityShelfStore */;
|
||||
const testModeStore = importDefault(7505) /* metro dependency 7505: TestModeStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_store/TestModeUtils.tsx');
|
||||
exports.isTestModeForApplication = isTestModeForApplication;
|
||||
exports.isAnyApplicationInTestMode = isAnyApplicationInTestMode;
|
||||
exports.useIsTestModeForApplication = function(a0) {
|
||||
var env0_0 = a0;
|
||||
return require(dependencyMap[2]).useStateFromStores([TestModeStore, DeveloperActivityShelfStore], _fun60480,
|
||||
[a0]);
|
||||
};
|
||||
}
|
||||
|
||||
function isTestModeForApplication(a0) { // fn#60477, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7680:213, offset: 0x01704571, size: 41 bytes, params: 2, frame: 12
|
||||
return TestModeStore.inTestModeForApplication(a0) || DeveloperActivityShelfStore.inDevModeForApplication(a0);
|
||||
}
|
||||
|
||||
function isAnyApplicationInTestMode() { // fn#60478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7680:347, offset: 0x0170459a, size: 44 bytes, params: 1, frame: 10
|
||||
return TestModeStore.getTestModeApplicationId() != null || DeveloperActivityShelfStore.getIsEnabled();
|
||||
}
|
||||
|
||||
function useIsTestModeForApplication(a0) { // fn#60479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7680:476, offset: 0x017045c6, size: 81 bytes, params: 2, frame: 17
|
||||
const env0_0 = a0;
|
||||
return (require(566) /* metro dependency 566: flux */).useStateFromStores([TestModeStore,
|
||||
DeveloperActivityShelfStore], _fun60480, [a0]);
|
||||
}
|
||||
|
||||
function _fun60480() { // fn#60480, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7680:557, offset: 0x01704617, size: 65 bytes, params: 1, frame: 14
|
||||
return env0_0 != null && (TestModeStore.inTestModeForApplication(env0_0) || DeveloperActivityShelfStore.inDevModeForApplication(env0_0));
|
||||
}
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
/* Metro module 4233; source: modules/game_store/getAnalyticsDataForSKU.tsx; dependencies: [4234, 661, 2] */
|
||||
function _fun34944(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4404:6, offset: 0x01066903, size: 126 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const applicationStore = importDefault(4234) /* metro dependency 4234: ApplicationStore */;
|
||||
const env0_1 = (require(661) /* metro dependency 661: Constants */).SKUFeatureTypes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_store/getAnalyticsDataForSKU.tsx');
|
||||
exports.default = getAnalyticsDataForSKU;
|
||||
}
|
||||
|
||||
function getAnalyticsDataForSKU(a0) { // fn#34945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4404:221, offset: 0x01066981, size: 590 bytes, params: 2, frame: 20
|
||||
var amount;
|
||||
var r10;
|
||||
var r1;
|
||||
var object5;
|
||||
var value10;
|
||||
var object6;
|
||||
const value = a1;
|
||||
const value2 = a2;
|
||||
const r0 = value !== undefined ? value : false;
|
||||
const r5 = !(value2 !== undefined) || value2;
|
||||
const application = ApplicationStore.getApplication(a0.applicationId);
|
||||
const price = a0.getPrice();
|
||||
const value5 = null;
|
||||
const price2 = a0.getPrice(value5, false);
|
||||
const object7 = {};
|
||||
object7.sku_id = a0.id;
|
||||
object7.sku_type = a0.type;
|
||||
object7.application_id = a0.applicationId;
|
||||
const value7 = value5 != application;
|
||||
object7.application_name = value7 ? application.name : value5;
|
||||
object7.store_title = a0.name;
|
||||
let r2 = a0.premium ? 'premium' : 'distribution';
|
||||
object7.distribution_type = r2;
|
||||
if (r5) {
|
||||
object5 = {};
|
||||
amount = value5 != price ? price.amount : value5;
|
||||
object5.price = amount;
|
||||
value10 = value5 != price2;
|
||||
amount = value10 ? price2.amount : value5;
|
||||
object5.regular_price = amount;
|
||||
object5.currency = value5 != price ? price.currency : value5;
|
||||
r2 = object5;
|
||||
r10 = value10;
|
||||
} else {
|
||||
r2 = value5;
|
||||
r10 = value7;
|
||||
}
|
||||
if (r0) {
|
||||
object6 = {};
|
||||
object6.has_single_player = a0.hasFeature(SKUFeatureTypes.SINGLE_PLAYER);
|
||||
object6.has_online_multiplayer = a0.hasFeature(SKUFeatureTypes.ONLINE_MULTIPLAYER);
|
||||
object6.has_local_multiplayer = a0.hasFeature(SKUFeatureTypes.LOCAL_MULTIPLAYER);
|
||||
object6.has_pvp_features = a0.hasFeature(SKUFeatureTypes.PVP);
|
||||
object6.has_local_coop = a0.hasFeature(SKUFeatureTypes.LOCAL_COOP);
|
||||
object6.has_online_coop = a0.hasFeature(SKUFeatureTypes.ONLINE_COOP);
|
||||
object6.has_cross_platform = a0.hasFeature(SKUFeatureTypes.CROSS_PLATFORM);
|
||||
object6.has_rich_presence = a0.hasFeature(SKUFeatureTypes.RICH_PRESENCE);
|
||||
object6.has_game_invites = a0.hasFeature(SKUFeatureTypes.DISCORD_GAME_INVITES);
|
||||
object6.has_spectator_mode = a0.hasFeature(SKUFeatureTypes.SPECTATOR_MODE);
|
||||
object6.has_controller_support = a0.hasFeature(SKUFeatureTypes.CONTROLLER_SUPPORT);
|
||||
object6.has_cloud_saves = a0.hasFeature(SKUFeatureTypes.CLOUD_SAVES);
|
||||
object6.has_secure_networking = a0.hasFeature(SKUFeatureTypes.SECURE_NETWORKING);
|
||||
r1 = object6;
|
||||
} else {
|
||||
r1 = value5;
|
||||
}
|
||||
const object8 = {};
|
||||
copyDataProperties(object8, object7, r10);
|
||||
copyDataProperties(object8, r2, r10);
|
||||
copyDataProperties(object8, r1, r10);
|
||||
return object8;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user