Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,20 @@
|
||||
/* Metro module 9388; source: modules/connections/FederatedSocialUtils.tsx; dependencies: [661, 2] */
|
||||
function _fun73234(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9574:6, offset: 0x01d63d5d, size: 122 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(661) /* metro dependency 661: Constants */).PlatformTypes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/connections/FederatedSocialUtils.tsx');
|
||||
exports.validateHandle = function(a0, a1) {
|
||||
if (a1 === PlatformTypes.MASTODON) {
|
||||
RegExp('^@?[a-z0-9_]+([.-]+[a-z0-9_]+)*@[^@]+\\.[^.@]{2,}$', 'i').test(a0);
|
||||
}
|
||||
return RegExp('^.+\\.[^.@]{2,}$', '').test(a0);
|
||||
};
|
||||
exports.getExampleHandle = getExampleHandle;
|
||||
}
|
||||
|
||||
function getExampleHandle(a0) { // fn#73236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9574:374, offset: 0x01d63e20, size: 57 bytes, params: 2, frame: 4
|
||||
const MASTODON = PlatformTypes.MASTODON;
|
||||
return a0 === MASTODON ? '@[email protected]' : a0 !== PlatformTypes.BLUESKY ? '[email protected]' : 'example.bsky.social';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user