Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,74 @@
/* Metro module 12244; source: modules/premium/fractional/native/BoostingCountDownPill.tsx; dependencies: [27, 33, 4501, 697, 4080, 12245, 1962, 1244, 4573, 2] */
function _fun93682(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93682, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12430:6, offset: 0x020becfb, size: 426 bytes, params: 8, frame: 23
var object4;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(27) /* metro dependency 27 */;
const env0_3 = value.TouchableOpacity;
const env0_4 = value.View;
value = require(33) /* metro dependency 33 */;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {};
const object5 = {'backgroundColor': null, 'flexDirection': 'row', 'gap': 12, 'padding': 12,
'justifyContent': 'center', 'borderColor': null, 'borderWidth': 1, 'borderRadius': null, 'marginBottom': 12};
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object5.backgroundColor = BACKGROUND_SURFACE_HIGH;
const STATUS_WARNING = (importDefault(697) /* metro dependency 697: native */).colors.STATUS_WARNING;
object5.borderColor = STATUS_WARNING;
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object4.fractionalPremiumBanner = object5;
const object6 = {'flex': 1, 'paddingVertical': 12, 'paddingHorizontal': 27, 'backgroundColor': null,
'borderRadius': null, 'justifyContent': 'center'};
const BACKGROUND_MOD_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_STRONG;
object6.backgroundColor = BACKGROUND_MOD_STRONG;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xxl;
object4.fpDurationPill = object6;
object4.fpDurationText = {'textAlign': 'center', 'color': '#FFEAA0'};
object4.fpUnavailable = {'flex': 1, 'justifyContent': 'center'};
object4.fpUnavailableTextNoCountdown = {textAlign: 'center'};
const env0_7 = Reflect.apply(createStyles, value, [object4]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/fractional/native/BoostingCountDownPill.tsx');
exports.default = BoostingCountDownPill;
}
function handlePress_93683() { // fn#93683, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12430:755, offset: 0x020beea5, size: 136 bytes, params: 1, frame: 20
const defaultImport = importDefault(dependencyMap[4]);
const openLazy = defaultImport.openLazy;
let value = require(dependencyMap[6]);
value = value(dependencyMap[5], dependencyMap.paths);
const object2 = {};
const intl = require(dependencyMap[7]).intl;
object2.aboutText = intl.string(require(dependencyMap[7]).t['07lzz7']);
Reflect.apply(openLazy, defaultImport, [value, 'NitroCreditEducationActionSheet', object2]);
}
function BoostingCountDownPill({fpDurationText, isInReverseTrial, style}) { // fn#93684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12430:1008, offset: 0x020bef2d, size: 389 bytes, params: 2, frame: 27
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const styles = useStyles();
const handlePress_936832 = isInReverseTrial ? undefined : handlePress_93683;
const items2 = [styles.fractionalPremiumBanner, style];
const r8 = !isInReverseTrial && <View style={styles.fpDurationPill}><Text variant="text-sm/bold" style={styles.fpDurationText}>{fpDurationText.toUpperCase()}</Text></View>;
const fpUnavailableTextNoCountdown = isInReverseTrial ? styles.fpUnavailableTextNoCountdown : undefined;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<TouchableOpacity activeOpacity={0.7} onPress={handlePress_936832}>
<View style={items2}>
{r8}
<View style={styles.fpUnavailable}>
<Text
variant="text-md/normal"
color="interactive-text-active"
style={fpUnavailableTextNoCountdown}
>
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['5nrJDO'])}
</Text>
</View>
</View>
</TouchableOpacity>
);
}