Files
2026-07-28 01:06:53 +03:00

42 lines
3.0 KiB
TypeScript

/* Metro module 8405; source: modules/collectibles/hooks/useCollectiblesData.tsx; dependencies: [57, 5121, 5145, 632, 2] */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import CollectiblesCategoryStore from '../CollectiblesCategoryStore.tsx'; /* Metro dependency 5121 */
import CollectiblesPurchaseStore from '../CollectiblesPurchaseStore.tsx'; /* Metro dependency 5145 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as UseStateFromStoresModule from '../../../external/discord_common/js/packages/flux/useStateFromStores.tsx'; /* Metro dependency 632 */
function _fun66803(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66803, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8590:6, offset: 0x01c0a678, size: 146 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/hooks/useCollectiblesData.tsx');
exports.default = _default_66804;
function _default_66804(a0) { // fn#66804, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8590:135, offset: 0x01c0a70a, size: 148 bytes, params: 2, frame: 19
const env0_0 = a0;
const useStateFromStoresArray = UseStateFromStoresModule.useStateFromStoresArray;
const value3 = Module00057(Reflect.apply(useStateFromStoresArray, UseStateFromStoresModule, [[CollectiblesCategoryStore],
_fun66805]), 2);
object = {category: value3[0], product: value3[1]};
object.purchase = UseStateFromStoresModule.useStateFromStores([CollectiblesPurchaseStore], _fun66806);
return object;
function _fun66805() { // fn#66805, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8590:182, offset: 0x01c0a79e, size: 50 bytes, params: 1, frame: 12
const value = environment.__proto__;
const collectiblesCategoryStoreBinding = CollectiblesCategoryStore;
const getCategoryForProduct = collectiblesCategoryStoreBinding.getCategoryForProduct;
const binding = env0_0;
const getProduct = collectiblesCategoryStoreBinding.getProduct;
return [Reflect.apply(getCategoryForProduct, collectiblesCategoryStoreBinding, [binding]), Reflect.apply(getProduct,
collectiblesCategoryStoreBinding, [binding])];
}
function _fun66806() { // fn#66806, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8590:317, offset: 0x01c0a7d0, size: 27 bytes, params: 1, frame: 11
return CollectiblesPurchaseStore.getPurchase(env0_0);
}
}
}
global.__d(_fun66803, 8405, [57, 5121, 5145, 632,
2]) /* metro module 8405, dependencies: [57, 5121, 5145, 632, 2] */;