Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,67 @@
|
||||
/* Metro module 7083; source: modules/coded_links/ApplicationCodedLink.tsx; dependencies: [4101, 1360, 4126, 7084, 2] */
|
||||
function _fun56519(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#56519, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7261:6, offset: 0x013ca4c0, size: 408 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let Set = global.Set;
|
||||
const CodedLinkType = (require(4101) /* metro dependency 4101: CodedLink */).CodedLinkType;
|
||||
let APP_DIRECTORY_PROFILE = CodedLinkType.APP_DIRECTORY_PROFILE;
|
||||
let ACTIVITY_BOOKMARK = CodedLinkType.ACTIVITY_BOOKMARK;
|
||||
const APP_DIRECTORY_STOREFRONT = CodedLinkType.APP_DIRECTORY_STOREFRONT;
|
||||
const APP_DIRECTORY_STOREFRONT_SKU = CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU;
|
||||
let APP_OAUTH2_LINK = CodedLinkType.APP_OAUTH2_LINK;
|
||||
let set = new Set([APP_DIRECTORY_PROFILE, ACTIVITY_BOOKMARK, APP_DIRECTORY_STOREFRONT, APP_DIRECTORY_STOREFRONT_SKU,
|
||||
APP_OAUTH2_LINK]);
|
||||
Set = global.Set;
|
||||
APP_DIRECTORY_PROFILE = CodedLinkType.APP_DIRECTORY_PROFILE;
|
||||
ACTIVITY_BOOKMARK = CodedLinkType.ACTIVITY_BOOKMARK;
|
||||
APP_OAUTH2_LINK = CodedLinkType.APP_OAUTH2_LINK;
|
||||
set = new Set([APP_DIRECTORY_PROFILE, ACTIVITY_BOOKMARK, APP_OAUTH2_LINK]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/coded_links/ApplicationCodedLink.tsx');
|
||||
exports.APP_LINK_CODED_TYPES = set;
|
||||
exports.isApplicationCodedLink = isApplicationCodedLink;
|
||||
exports.APP_LINK_CODED_TYPES_MOBILE_SUPPORT = set;
|
||||
exports.isApplicationCodedLinkMobileSupported = isApplicationCodedLinkMobileSupported;
|
||||
exports.getApplicationCodedLinkData = getApplicationCodedLinkData;
|
||||
}
|
||||
|
||||
function isApplicationCodedLink(a0) { // fn#56520, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7261:596, offset: 0x013ca658, size: 46 bytes, params: 2, frame: 13
|
||||
return (require(1360) /* metro dependency 1360: GlobalUtils */).isInSet(a0, env0_2);
|
||||
}
|
||||
|
||||
function isApplicationCodedLinkMobileSupported(a0) { // fn#56521, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7261:740, offset: 0x013ca686, size: 46 bytes, params: 2, frame: 13
|
||||
return (require(1360) /* metro dependency 1360: GlobalUtils */).isInSet(a0, env0_3);
|
||||
}
|
||||
|
||||
function getApplicationCodedLinkData(a0, a1, a2) { // fn#56522, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7261:849, offset: 0x013ca6b4, size: 321 bytes, params: 4, frame: 16
|
||||
var object2;
|
||||
var value2;
|
||||
var value;
|
||||
const CodedLinkType = (require(4101) /* metro dependency 4101: CodedLink */).CodedLinkType;
|
||||
const APP_DIRECTORY_PROFILE = CodedLinkType.APP_DIRECTORY_PROFILE;
|
||||
if (APP_DIRECTORY_PROFILE === a0) {
|
||||
return {type: a0, applicationId: a1};
|
||||
}
|
||||
const APP_OAUTH2_LINK = CodedLinkType.APP_OAUTH2_LINK;
|
||||
if (APP_OAUTH2_LINK === a0) {
|
||||
return {type: a0, applicationId: a1};
|
||||
}
|
||||
const APP_DIRECTORY_STOREFRONT = CodedLinkType.APP_DIRECTORY_STOREFRONT;
|
||||
if (APP_DIRECTORY_STOREFRONT === a0) {
|
||||
return {type: a0, applicationId: a1};
|
||||
}
|
||||
const APP_DIRECTORY_STOREFRONT_SKU = CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU;
|
||||
if (APP_DIRECTORY_STOREFRONT_SKU === a0) {
|
||||
value = require(4126) /* metro dependency 4126: storefrontMessageEmbedCodedLink */;
|
||||
value = value.parseStorefrontSkuCodedLink(a1);
|
||||
value2 = null;
|
||||
return value2 == value ? value2 : {type: a0, applicationId: value.applicationId, skuId: value.skuId};
|
||||
}
|
||||
const ACTIVITY_BOOKMARK = CodedLinkType.ACTIVITY_BOOKMARK;
|
||||
if (ACTIVITY_BOOKMARK === a0) {
|
||||
object2 = {type: a0, applicationId: a1};
|
||||
object2.params = (require(7084) /* metro dependency 7084: activityBookmarkUtils */).extractActivityBookmarkParams(a2);
|
||||
return object2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user