This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,19 @@
// Metro module 8665 (f8666).
import { CollectiblesItemType } from "../../_bundle/Module1901";
import { intl, t } from "../../intl/index.native";
import * as _CollectiblesUtils from "../collectibles/CollectiblesUtils";
import { getIsProfileFrameGiftingEnabled } from "../collectibles/experiments/CollectiblesProfileFrameGiftingExperiment";
export function getProductNameAndTypeFromSku({ name, tenantMetadata }) {
const r7 = tenantMetadata == null ? void 0 : tenantMetadata.collectibles?.type;
return CollectiblesItemType.AVATAR_DECORATION === r7 ? intl.formatToPlainString(t.lvBzLi, {
product: name
}) : CollectiblesItemType.PROFILE_EFFECT === r7 ? intl.formatToPlainString(t.eR7moP, {
product: name
}) : CollectiblesItemType.NAMEPLATE === r7 ? intl.formatToPlainString(t.YFOwHj, {
product: name
}) : name;
}
export function isWishlistableCollectiblesProduct(a0) {
const isPremiumCollectiblesProduct = _CollectiblesUtils.isPremiumCollectiblesProduct(a0);
return isPremiumCollectiblesProduct ? !isPremiumCollectiblesProduct : a0.type !== CollectiblesItemType.EXTERNAL_SKU && !(a0.type === CollectiblesItemType.PROFILE_FRAME && !getIsProfileFrameGiftingEnabled("isWishlistableCollectiblesProduct"));
}