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,51 +1,56 @@
/* Metro module 10441; source: modules/storefront/native/StorefrontNativeUtils.android.tsx; dependencies: [31, 7298, 566, 5140, 2] */
import IAPStoreAndroid from '../../../stores/native/IAPStore.android.tsx'; /* Metro dependency 5140 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
function _fun80843(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:6, offset: 0x01e8c000, size: 121 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/storefront/native/StorefrontNativeUtils.android.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/storefront/native/StorefrontNativeUtils.android.tsx');
exports.useFormattedSKUPrice = useFormattedSKUPrice_80844;
}
function useFormattedSKUPrice_80844({sku, priceSetAssignmentPurchaseType}) { // fn#80844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:222, offset: 0x01e8c079, size: 209 bytes, params: 2, frame: 19
const r1 = (sku == null || sku.googleSkuIds == null ? undefined : sku.googleSkuIds[priceSetAssignmentPurchaseType]) ?? null;
ReactModule.useEffect(_fun80845, [r1]);
return ReactModule.useMemo(_fun80847,
[(FluxModule).useStateFromStores([IAPStoreAndroid],
_fun80846, [r1])]);
function _fun80845() { // fn#80845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:380, offset: 0x01e8c14a, size: 65 bytes, params: 1, frame: 12
var value2;
var moduleValue;
if (env0_0 != null) {
value2 = environment.__proto__;
moduleValue = require(7298) /* metro dependency 7298: GPlayActionCreators */;
moduleValue.loadInAppSkus([env0_0]);
}
}
function useFormattedSKUPrice_80844({sku, priceSetAssignmentPurchaseType}) { // fn#80844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:222, offset: 0x01e8c079, size: 209 bytes, params: 2, frame: 19
const r1 = (sku == null || sku.googleSkuIds == null ? undefined : sku.googleSkuIds[priceSetAssignmentPurchaseType]) ?? null;
const binding = env0_3;
binding.useEffect(_fun80845, [r1]);
return binding.useMemo(_fun80847,
[(require(566) /* metro dependency 566: flux */).useStateFromStores([importDefault(5140) /* metro dependency 5140: IAPStoreAndroid */],
_fun80846, [r1])]);
}
function _fun80846() { // fn#80846, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:472, offset: 0x01e8c18b, size: 58 bytes, params: 1, frame: 13
const value2 = null;
return value2 != env0_0 ? (importDefault(5140) /* metro dependency 5140: IAPStoreAndroid */).getProduct(env0_0) : value2;
}
function _fun80847() { // fn#80847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:535, offset: 0x01e8c1c5, size: 98 bytes, params: 1, frame: 4
var r0;
var object;
let priceString = env0_1?.priceString;
if (priceString != null) {
object = {'normalPrice': null, 'discountedPrice': null, 'discountPercent': null};
priceString = env0_1.priceString;
object.normalPrice = priceString;
priceString = env0_1.priceString;
object.userPrice = priceString;
r0 = object;
} else {
r0 = {'normalPrice': null, 'discountedPrice': null, 'discountPercent': null, 'userPrice': null};
}
return r0;
}
function _fun80845() { // fn#80845, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:380, offset: 0x01e8c14a, size: 65 bytes, params: 1, frame: 12
var value2;
var moduleValue;
if (env0_0 != null) {
value2 = environment.__proto__;
moduleValue = require(7298) /* metro dependency 7298: GPlayActionCreators */;
moduleValue.loadInAppSkus([env0_0]);
}
}
function _fun80846() { // fn#80846, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:472, offset: 0x01e8c18b, size: 58 bytes, params: 1, frame: 13
const value2 = null;
return value2 != env0_0 ? (importDefault(5140) /* metro dependency 5140: IAPStoreAndroid */).getProduct(env0_0) : value2;
}
function _fun80847() { // fn#80847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10627:535, offset: 0x01e8c1c5, size: 98 bytes, params: 1, frame: 4
var r0;
var object2;
let priceString = env0_1?.priceString;
if (priceString != null) {
object2 = {'normalPrice': null, 'discountedPrice': null, 'discountPercent': null};
priceString = env0_1.priceString;
object2.normalPrice = priceString;
priceString = env0_1.priceString;
object2.userPrice = priceString;
r0 = object2;
} else {
r0 = {'normalPrice': null, 'discountedPrice': null, 'discountPercent': null, 'userPrice': null};
}
return r0;
}
global.__d(_fun80843, 10441, [31, 7298, 566, 5140,
2]) /* metro module 10441, dependencies: [31, 7298, 566, 5140, 2] */;