// Metro module 8523 (f8524). import { SteamReviewScoreDescription } from "../game_detection/GameDetectionTypes"; import { intl, t } from "../../intl/index.native"; export function getSteamReviewScoreDescriptionColor(a0) { if (SteamReviewScoreDescription.NO_USER_REVIEWS === a0) { return "text-subtle"; } if (SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE !== a0 && SteamReviewScoreDescription.VERY_POSITIVE !== a0 && SteamReviewScoreDescription.POSITIVE !== a0 && SteamReviewScoreDescription.MOSTLY_POSITIVE !== a0) { if (SteamReviewScoreDescription.MIXED === a0) { return "steam-review-text-mixed"; } if (SteamReviewScoreDescription.MOSTLY_NEGATIVE !== a0 && SteamReviewScoreDescription.NEGATIVE !== a0 && SteamReviewScoreDescription.VERY_NEGATIVE !== a0 && SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE !== a0) { return "text-subtle"; } return "steam-review-text-negative"; } return "steam-review-text-positive"; } export function getSteamReviewScoreDescriptionIntl(a0) { if (SteamReviewScoreDescription.NO_USER_REVIEWS === a0) { return intl.string(t.CLMt8J); } if (SteamReviewScoreDescription.OVERWHELMINGLY_POSITIVE === a0) { return intl.string(t["75sx1S"]); } if (SteamReviewScoreDescription.VERY_POSITIVE === a0) { return intl.string(t["EkOVg+"]); } if (SteamReviewScoreDescription.POSITIVE === a0) { return intl.string(t.ZUkFtr); } if (SteamReviewScoreDescription.MOSTLY_POSITIVE === a0) { return intl.string(t.M7Z09a); } if (SteamReviewScoreDescription.MIXED === a0) { return intl.string(t.c8yuHR); } if (SteamReviewScoreDescription.MOSTLY_NEGATIVE === a0) { return intl.string(t.H0MSjG); } if (SteamReviewScoreDescription.NEGATIVE === a0) { return intl.string(t.vpLrgz); } if (SteamReviewScoreDescription.VERY_NEGATIVE === a0) { return intl.string(t["5spYuX"]); } if (SteamReviewScoreDescription.OVERWHELMINGLY_NEGATIVE === a0) { return intl.string(t.A8uk5J); } return null; } export function canShowLocalizedSteamReview(a0) { return a0 != null && a0.localizedRating != null && a0.localizedRatingCount != null && a0.ratingCount != null && a0.localizedRatingCount >= 200 && a0.ratingCount >= 2000; }