Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/* Metro module 6767; source: intl/native/migration.tsx; dependencies: [31, 33, 4501, 697, 3875, 3853, 3855, 1305, 2] */
|
||||
function _fun53300(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53300, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6945:6, offset: 0x01344b26, size: 177 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const closure = IntlLink;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun53303);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('intl/native/migration.tsx');
|
||||
exports.IntlLink = closure;
|
||||
exports.I18nLinkComponent = closure;
|
||||
}
|
||||
|
||||
function I18nLinkComponent({target, children}) { // fn#53301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6945:231, offset: 0x01344bd7, size: 201 bytes, params: 2, frame: 18
|
||||
const binding = env0_3;
|
||||
const useContext = binding.useContext;
|
||||
const AccessibilityPreferencesContext = (require(3875) /* metro dependency 3875: AccessibilityPreferencesContext */).AccessibilityPreferencesContext;
|
||||
const styles = useStyles(Reflect.apply(useContext, binding,
|
||||
[AccessibilityPreferencesContext]).alwaysShowLinkDecorations);
|
||||
const value2 = typeof target;
|
||||
const r6 = value2 === 'string' ? _fun53302 : value2 !== 'object' || target.onClick == null ? target : target.onClick;
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
return (
|
||||
<LegacyText
|
||||
accessible
|
||||
accessibilityRole="link"
|
||||
onPress={r6}
|
||||
style={styles.link}
|
||||
>
|
||||
{children}
|
||||
</LegacyText>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun53303(a0) { // fn#53303, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6945:144, offset: 0x01344ce4, size: 70 bytes, params: 2, frame: 13
|
||||
const TEXT_LINK = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_LINK;
|
||||
return {link: {color: TEXT_LINK, textDecorationLine: a0 ? 'underline' : 'none'}};
|
||||
}
|
||||
|
||||
function _fun53302() { // fn#53302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6945:402, offset: 0x01344ca0, size: 68 bytes, params: 1, frame: 14
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(3853) /* metro dependency 3853: Linking */;
|
||||
const openURL = value.openURL;
|
||||
const defaultImport = importDefault(3855) /* metro dependency 3855 */;
|
||||
return Reflect.apply(openURL, value, [defaultImport.sanitizeUrl(target)]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user