This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,29 +1,32 @@
/* Metro module 10021; source: modules/collectibles/hooks/useDefaultVariantIndex.tsx; dependencies: [5145, 566, 5133, 2] */
import CollectiblesPurchaseStore from '../CollectiblesPurchaseStore.tsx'; /* Metro dependency 5145 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun78276(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10207:6, offset: 0x01e23e8f, size: 114 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const collectiblesPurchaseStore = importDefault(5145) /* metro dependency 5145: CollectiblesPurchaseStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/collectibles/hooks/useDefaultVariantIndex.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/hooks/useDefaultVariantIndex.tsx');
exports.useDefaultVariantIndex = useDefaultVariantIndex;
}
function useDefaultVariantIndex(a0) { // fn#78277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10207:218, offset: 0x01e23f01, size: 158 bytes, params: 2, frame: 17
var r0;
var value;
const env0_0 = (require(566) /* metro dependency 566: flux */).useStateFromStores([CollectiblesPurchaseStore],
function() {
return CollectiblesPurchaseStore.purchases;
});
const value2 = 0;
if (a0 != null) {
value = require(5133) /* metro dependency 5133: CollectiblesProductUtils */;
r0 = value.getIsVariantProduct(a0) ? global.Math.max(value2, a0.variants.findIndex(function(a0) {
return !purchases.has(a0.skuId);
})) : value2;
} else {
r0 = value2;
function useDefaultVariantIndex(a0) { // fn#78277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10207:218, offset: 0x01e23f01, size: 158 bytes, params: 2, frame: 17
var r0;
var value;
const env0_0 = (require(566) /* metro dependency 566: flux */).useStateFromStores([CollectiblesPurchaseStore],
function() {
return CollectiblesPurchaseStore.purchases;
});
const value2 = 0;
if (a0 != null) {
value = require(5133) /* metro dependency 5133: CollectiblesProductUtils */;
r0 = value.getIsVariantProduct(a0) ? global.Math.max(value2, a0.variants.findIndex(function(a0) {
return !purchases.has(a0.skuId);
})) : value2;
} else {
r0 = value2;
}
return r0;
}
return r0;
}
global.__d(_fun78276, 10021, [5145, 566, 5133, 2]) /* metro module 10021, dependencies: [5145, 566, 5133, 2] */;