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,11 +1,21 @@
/* Metro module 9929; source: modules/notifications/native/NotificationSurveyResponseActionSheet.tsx; dependencies: [31, 27, 661, 33, 4501, 6597, 697, 4080, 6275, 6758, 6806, 9930, 4573, 1244, 6766, 1948, 2] */
import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */
import ActionSheetActionCreators from '../../action_sheet/native/ActionSheetActionCreators.tsx'; /* Metro dependency 4080 */
import TextStyles from '../../rebrand/native/TextStyles.tsx'; /* Metro dependency 6597 */
import Module09930 from '../../../by-id/module-09930.js'; /* Metro dependency 9930 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as BottomSheetNativeModule from '../../../design/components/Sheet/native/BottomSheet.native.tsx'; /* Metro dependency 6275 */
import * as TextWithIOSLinkWorkaroundModule from '../../a11y/native/TextWithIOSLinkWorkaround.tsx'; /* Metro dependency 6766 */
function _fun77731(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77731, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10115:6, offset: 0x01e08f94, size: 410 bytes, params: 8, frame: 25
var object3;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
ReactModule;
let value = ReactNativeModule;
const env0_3 = value.View;
const env0_4 = value.Image;
value = require(661) /* metro dependency 661: Constants */;
@@ -16,48 +26,62 @@ function _fun77731(global, require, importDefault, importAll, module, exports, d
const env0_7 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object3 = {};
const object4 = {};
const textStyles = importDefault(6597) /* metro dependency 6597: TextStyles */;
object = {};
const object2 = {};
const DISPLAY_EXTRABOLD = Fonts.DISPLAY_EXTRABOLD;
let INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
copyDataProperties(object4, textStyles(DISPLAY_EXTRABOLD, INTERACTIVE_TEXT_ACTIVE, 16), undefined);
object4['marginTop'] = 8;
object4['marginBottom'] = 8;
object3.title = object4;
copyDataProperties(object2, TextStyles(DISPLAY_EXTRABOLD, INTERACTIVE_TEXT_ACTIVE, 16), undefined);
object2['marginTop'] = 8;
object2['marginBottom'] = 8;
object.title = object2;
INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
object3.subtitle = {'color': null, 'textAlign': 'center', 'width': 343, color: INTERACTIVE_TEXT_ACTIVE};
object3.view = {'paddingTop': 50, 'paddingBottom': 100, 'alignItems': 'center'};
object3.rating = {'width': 116, 'height': 93};
const env0_8 = Reflect.apply(createStyles, value, [object3]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/notifications/native/NotificationSurveyResponseActionSheet.tsx');
object.subtitle = {'color': null, 'textAlign': 'center', 'width': 343, color: INTERACTIVE_TEXT_ACTIVE};
object.view = {'paddingTop': 50, 'paddingBottom': 100, 'alignItems': 'center'};
object.rating = {'width': 116, 'height': 93};
const env0_8 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/native/NotificationSurveyResponseActionSheet.tsx');
exports.default = NotificationSurveyResponseActionSheet;
function onClose_77732() { // fn#77732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10115:517, offset: 0x01e08208, size: 37 bytes, params: 1, frame: 11
(ActionSheetActionCreators).hideActionSheet();
}
function NotificationSurveyResponseActionSheet({header}) { // fn#77733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10115:664, offset: 0x01e0912e, size: 499 bytes, params: 2, frame: 30
const styles = useStyles();
const BottomSheet = (BottomSheetNativeModule).BottomSheet;
const r5 = header != null && ((BottomSheetTitleHeader) => <BottomSheetTitleHeader title={header} trailing={((ActionSheetCloseButton) => <ActionSheetCloseButton onPress={onClose_77732} />)((require(6806) /* metro dependency 6806: ActionSheetCloseButtonNative */).ActionSheetCloseButton)} />)((require(6758) /* metro dependency 6758: BottomSheetTitleHeaderNative */).BottomSheetTitleHeader);
const items2 = [
<Image style={styles.rating} source={Module09930} />,
];
const Text = (TextModule).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
items2[1] = (
<Text style={styles.title} variant="heading-md/bold">
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['d9+vQ8'])}
</Text>
);
const TextWithIOSLinkWorkaround = (TextWithIOSLinkWorkaroundModule).TextWithIOSLinkWorkaround;
const format = intl.format;
const WxD5QY = (require(1244) /* metro dependency 1244: indexNative */).t.WxD5QY;
const defaultImport = HelpdeskUtils;
const getArticleURL = defaultImport.getArticleURL;
const HIGHLIGHTS_NOTIFICATIONS = HelpdeskArticles.HIGHLIGHTS_NOTIFICATIONS;
items2[2] = (
<TextWithIOSLinkWorkaround style={styles.subtitle} variant="text-md/normal">
{Reflect.apply(format, intl, [WxD5QY, {helpUrl: Reflect.apply(getArticleURL, defaultImport,
[HIGHLIGHTS_NOTIFICATIONS])}])}
</TextWithIOSLinkWorkaround>
);
return (
<BottomSheet>
{r5}
<View style={styles.view}>
{items2}
</View>
</BottomSheet>
);
}
}
function NotificationSurveyResponseActionSheet({header}) { // fn#77733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10115:664, offset: 0x01e0912e, size: 499 bytes, params: 2, frame: 30
const styles = useStyles();
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const r5 = header != null && ((BottomSheetTitleHeader) => <BottomSheetTitleHeader title={header} trailing={((ActionSheetCloseButton) => <ActionSheetCloseButton onPress={onClose} />)((require(6806) /* metro dependency 6806: ActionSheetCloseButtonNative */).ActionSheetCloseButton)} />)((require(6758) /* metro dependency 6758: BottomSheetTitleHeaderNative */).BottomSheetTitleHeader);
const items2 = [<Image style={styles.rating} source={importDefault(9930) /* metro dependency 9930 */} />];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
items2[1] = <Text style={styles.title} variant="heading-md/bold">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['d9+vQ8'])}</Text>;
const TextWithIOSLinkWorkaround = (require(6766) /* metro dependency 6766: TextWithIOSLinkWorkaround */).TextWithIOSLinkWorkaround;
const format = intl.format;
const WxD5QY = (require(1244) /* metro dependency 1244: indexNative */).t.WxD5QY;
const defaultImport = importDefault(1948) /* metro dependency 1948: HelpdeskUtils */;
const getArticleURL = defaultImport.getArticleURL;
const HIGHLIGHTS_NOTIFICATIONS = HelpdeskArticles.HIGHLIGHTS_NOTIFICATIONS;
items2[2] = <TextWithIOSLinkWorkaround style={styles.subtitle} variant="text-md/normal">{Reflect.apply(format, intl,
[WxD5QY, {helpUrl: Reflect.apply(getArticleURL, defaultImport,
[HIGHLIGHTS_NOTIFICATIONS])}])}</TextWithIOSLinkWorkaround>;
return (
<BottomSheet>
{r5}
<View style={styles.view}>
{items2}
</View>
</BottomSheet>
);
}
global.__d(_fun77731, 9929, [31, 27, 661, 33, 4501, 6597, 697, 4080, 6275, 6758, 6806, 9930, 4573, 1244, 6766, 1948,
2]) /* metro module 9929, dependencies: [31, 27, 661, 33, 4501, 6597, 697, 4080, 6275, 6758, 6806, 9930, 4573, 1244, 6766, 1948, 2] */;