Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,107 @@
|
||||
/* Metro module 9997; source: modules/game_profile/GameProfileReviewUtils.tsx; dependencies: [4269, 1244, 2] */
|
||||
function _fun78149(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:6, offset: 0x01e1d126, size: 122 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_profile/GameProfileReviewUtils.tsx');
|
||||
exports.getSteamReviewScoreDescriptionColor = getSteamReviewScoreDescriptionColor;
|
||||
exports.getSteamReviewScoreDescriptionIntl = getSteamReviewScoreDescriptionIntl;
|
||||
exports.canShowLocalizedSteamReview = function(a0) {
|
||||
var r0;
|
||||
r0 = a0 != null && a0.localizedRating != null && a0.localizedRatingCount != null;
|
||||
r0 = r0 && a0.ratingCount != null && a0.localizedRatingCount >= 200 && a0.ratingCount >= 2000;
|
||||
return r0;
|
||||
};
|
||||
}
|
||||
|
||||
function getSteamReviewScoreDescriptionColor(a0) { // fn#78150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:211, offset: 0x01e1d1a0, size: 398 bytes, params: 2, frame: 14
|
||||
const SteamReviewScoreDescription = (require(4269) /* metro dependency 4269: GameDetectionTypes */).SteamReviewScoreDescription;
|
||||
const NO_USER_REVIEWS = SteamReviewScoreDescription.NO_USER_REVIEWS;
|
||||
if (NO_USER_REVIEWS !== a0) {
|
||||
var OVERWHELMINGLY_POSITIVE = SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE;
|
||||
if (OVERWHELMINGLY_POSITIVE === a0) {
|
||||
return 'steam-review-text-positive';
|
||||
}
|
||||
var VERY_POSITIVE = SteamReviewScoreDescription.VERY_POSITIVE;
|
||||
if (VERY_POSITIVE === a0) {
|
||||
return 'steam-review-text-positive';
|
||||
}
|
||||
var POSITIVE = SteamReviewScoreDescription.POSITIVE;
|
||||
if (POSITIVE === a0) {
|
||||
return 'steam-review-text-positive';
|
||||
}
|
||||
var MOSTLY_POSITIVE = SteamReviewScoreDescription.MOSTLY_POSITIVE;
|
||||
if (MOSTLY_POSITIVE === a0) {
|
||||
return 'steam-review-text-positive';
|
||||
}
|
||||
var MIXED = SteamReviewScoreDescription.MIXED;
|
||||
if (MIXED === a0) {
|
||||
return 'steam-review-text-mixed';
|
||||
}
|
||||
var MOSTLY_NEGATIVE = SteamReviewScoreDescription.MOSTLY_NEGATIVE;
|
||||
if (MOSTLY_NEGATIVE === a0) {
|
||||
return 'steam-review-text-negative';
|
||||
}
|
||||
var NEGATIVE = SteamReviewScoreDescription.NEGATIVE;
|
||||
if (NEGATIVE === a0) {
|
||||
return 'steam-review-text-negative';
|
||||
}
|
||||
var VERY_NEGATIVE = SteamReviewScoreDescription.VERY_NEGATIVE;
|
||||
if (VERY_NEGATIVE === a0) {
|
||||
return 'steam-review-text-negative';
|
||||
}
|
||||
var OVERWHELMINGLY_NEGATIVE = SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE;
|
||||
if (OVERWHELMINGLY_NEGATIVE === a0) {
|
||||
return 'steam-review-text-negative';
|
||||
}
|
||||
}
|
||||
return 'text-subtle';
|
||||
}
|
||||
|
||||
function getSteamReviewScoreDescriptionIntl(a0) { // fn#78151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10183:1016, offset: 0x01e1d32e, size: 958 bytes, params: 2, frame: 15
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
const SteamReviewScoreDescription = (require(4269) /* metro dependency 4269: GameDetectionTypes */).SteamReviewScoreDescription;
|
||||
const NO_USER_REVIEWS = SteamReviewScoreDescription.NO_USER_REVIEWS;
|
||||
if (NO_USER_REVIEWS === a0) {
|
||||
return intl.string(t.CLMt8J);
|
||||
}
|
||||
const OVERWHELMINGLY_POSITIVE = SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE;
|
||||
if (OVERWHELMINGLY_POSITIVE === a0) {
|
||||
return intl.string(t['75sx1S']);
|
||||
}
|
||||
const VERY_POSITIVE = SteamReviewScoreDescription.VERY_POSITIVE;
|
||||
if (VERY_POSITIVE === a0) {
|
||||
return intl.string(t['EkOVg+']);
|
||||
}
|
||||
const POSITIVE = SteamReviewScoreDescription.POSITIVE;
|
||||
if (POSITIVE === a0) {
|
||||
return intl.string(t.ZUkFtr);
|
||||
}
|
||||
const MOSTLY_POSITIVE = SteamReviewScoreDescription.MOSTLY_POSITIVE;
|
||||
if (MOSTLY_POSITIVE === a0) {
|
||||
return intl.string(t.M7Z09a);
|
||||
}
|
||||
const MIXED = SteamReviewScoreDescription.MIXED;
|
||||
if (MIXED === a0) {
|
||||
return intl.string(t.c8yuHR);
|
||||
}
|
||||
const MOSTLY_NEGATIVE = SteamReviewScoreDescription.MOSTLY_NEGATIVE;
|
||||
if (MOSTLY_NEGATIVE === a0) {
|
||||
return intl.string(t.H0MSjG);
|
||||
}
|
||||
const NEGATIVE = SteamReviewScoreDescription.NEGATIVE;
|
||||
if (NEGATIVE === a0) {
|
||||
return intl.string(t.vpLrgz);
|
||||
}
|
||||
const VERY_NEGATIVE = SteamReviewScoreDescription.VERY_NEGATIVE;
|
||||
if (VERY_NEGATIVE === a0) {
|
||||
return intl.string(t['5spYuX']);
|
||||
}
|
||||
const OVERWHELMINGLY_NEGATIVE = SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE;
|
||||
if (OVERWHELMINGLY_NEGATIVE === a0) {
|
||||
return intl.string(t.A8uk5J);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user