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,23 @@
// Metro module 8693 (f8694).
import { ItemsSortingHat } from "../hooks/useShopProductItems";
import { isBundleProduct } from "../CollectiblesUtils";
export function isValidCollectiblesBundle(a0) {
const itemsSortingHat = new ItemsSortingHat(a0.items);
const { firstProfileEffect, firstAvatarDecoration, firstNameplate } = itemsSortingHat;
return firstAvatarDecoration != null && firstProfileEffect != null && firstNameplate == null || firstAvatarDecoration != null && firstProfileEffect != null && firstNameplate != null;
}
export function isValidCollectiblesBundleItems(a0) {
const itemsSortingHat = new ItemsSortingHat(a0);
const { firstProfileEffect, firstAvatarDecoration, firstNameplate } = itemsSortingHat;
return firstAvatarDecoration != null && firstProfileEffect != null && firstNameplate == null || firstAvatarDecoration != null && firstProfileEffect != null && firstNameplate != null;
}
export function bundleContainsNameplates(a0) {
let r12 = !!isBundleProduct(a0);
if (r12) {
const itemsSortingHat = new ItemsSortingHat(a0.items);
itemsSortingHat.firstProfileEffect;
itemsSortingHat.firstAvatarDecoration;
r12 = itemsSortingHat.firstNameplate != null;
}
return r12;
}