// Module ID: 4822 // Function ID: 4823 // Name: parseURL // Dependencies: [32, 1074, 1076, 4823, 4824, 1473, 1930, 1368, 4825, 4830, 12712, 5264, 13597, 1366, 4999, 8707, 7014, 1610, 1364, 9366, 1241, 1254, 13598, 2] // Exports: default // Module 4822 (parseURL) import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */; import _modDef1473 from "module_1473" /* 1473 */; import _modDef1930 from "module_1930" /* 1930 */; import findCodedLinks from "findCodedLinks" /* 4825 */; import LinkUtils from "LinkUtils" /* 4999 */; import GiftCodeUtils from "GiftCodeUtils" /* 5264 */; import urlPartToSettingsEnumDefault from "urlPartToSettingsEnum" /* 13598 */; import _slicedToArray from "module_32" /* 32 */; require = fn; function parseQuery(arg0) { try { const _Object = Object; const _Object2 = Object; const entries = Object.entries(_modDef1473.parse(arg0)); return Object.fromEntries(entries.map((item) => { [tmp, tmp2] = item; const items = [tmp, ]; let first = tmp2; if (Array.isArray(tmp2)) { first = tmp2[0]; } items[1] = first; return items; })); } catch (err) { return {}; } } const Constants = fn(1074); ({ AnalyticEvents: closure_4, GuildSettingsSections: hasOwnProperty, GuildSettingsSubsections: metroRequire, LinkingTypes: closure_7 } = Constants); const CollectiblesShopConstants = fn(1076); ({ CollectibleShopTab: closure_8, CollectiblesMobileShopScreen: closure_9 } = CollectiblesShopConstants); const UPDATE_CONFIG = fn(4823).UPDATE_CONFIG; const PaymentConstants = fn(4824); ({ MobileWebRedirectCheckoutDeepLinkActions: closure_11, MobileWebRedirectCheckoutDeepLinkQueryKeys: closure_12 } = PaymentConstants); const re13 = /feature\/([\w-]+)/; const re14 = /feature\/boost\/([0-9]+)/; const re15 = /users\/(\d+)/; const re16 = /(?:connect|oauth2)\/authorize/; const re17 = /login\/one-time/; const re18 = /promos\.discord\.gg/; const re19 = /mweb-handoff/; const re20 = /connections\/(xbox|playstation|playstation-stg|crunchyroll)\/link/; const re21 = /connections\/([a-z-]+)/; const re22 = /guilds\/(\d+)\/settings(?:\/([a-z-]+)(?:\/([a-z-]+))?)?/; const re23 = /guilds\/settings(?:\/([a-z-]+)(?:\/([a-z-]+))?)?/; const re24 = /activate/; const re25 = /^\/quests\/(\d+)/; const re26 = /^\/quest-preview\/(\d+)/; const re27 = /^\/quest-home/; const re28 = /^\/quest-bar-preview/; const re29 = /subscriptions\/(\d+)/; const size = fn(2); let result = size.fileFinishedImporting("utils/native/parseURL.tsx"); export default function parseURL(arg0) { let flag = arg1; if (arg1 === undefined) { flag = false; } const sanitizeUrlResult = _modDef1930.sanitizeUrl(arg0); if (null == sanitizeUrlResult) { const obj3 = { payload: null }; const obj4 = { type: React5.NONE }; obj3.payload = obj4; return obj3; } else { const parsed = tmp(1368).parse(sanitizeUrlResult); ({ host, pathname, query } = parsed); let str = query; ({ protocol, hostname } = parsed); if (query == null) { str = ""; } const tmp139Result = parseQuery(str); ({ fingerprint, attemptId, installationId, referrer_id, sort, filter } = tmp139Result); ({ username, didRegister, custom_id, link_id } = tmp139Result); const tmpResult = tmp(1368); const findCodedLinkResult = findCodedLinks.findCodedLink(sanitizeUrlResult); if (null != findCodedLinkResult) { const type = findCodedLinkResult.type; if (tmp5(4830).CodedLinkType.INVITE === type) { const obj5 = { fingerprint, attemptId, installationId, didRegister: "true" === didRegister, payload: null }; const obj6 = { type: React5.INVITE, inviteCode: findCodedLinkResult.code, username, deeplinkAttemptId: attemptId }; obj5.payload = obj6; return obj5; } else if (tmp5(4830).CodedLinkType.TEMPLATE === type) { const obj7 = { fingerprint, attemptId, installationId, payload: null }; const obj8 = { type: React5.GUILD_TEMPLATE, guildTemplateCode: findCodedLinkResult.code }; obj7.payload = obj8; return obj7; } else { if (tmp5(4830).CodedLinkType.BUILD_OVERRIDE !== type) { if (tmp5(4830).CodedLinkType.MANUAL_BUILD_OVERRIDE !== type) { if (tmp5(4830).CodedLinkType.EXPERIMENT !== type) { if (tmp5(4830).CodedLinkType.EVENT !== type) { if (tmp5(4830).CodedLinkType.CHANNEL_LINK !== type) { if (tmp5(4830).CodedLinkType.APP_DIRECTORY_PROFILE !== type) { if (tmp5(4830).CodedLinkType.ACTIVITY_BOOKMARK === type) { const obj9 = { fingerprint, attemptId, installationId, payload: null }; const obj10 = { type: React5.ACTIVITY, applicationId: findCodedLinkResult.code, customId: custom_id, referrerId: referrer_id, linkId: link_id, isDeepLink: flag }; obj9.payload = obj10; return obj9; } else if (tmp5(4830).CodedLinkType.EMBEDDED_ACTIVITY_INVITE !== type) { if (tmp5(4830).CodedLinkType.GUILD_PRODUCT !== type) { if (tmp5(4830).CodedLinkType.SERVER_SHOP !== type) { if (tmp5(4830).CodedLinkType.SOCIAL_LAYER_STOREFRONT !== type) { if (tmp5(4830).CodedLinkType.SOCIAL_LAYER_STOREFRONT_APP !== type) { if (tmp5(4830).CodedLinkType.QUESTS_EMBED !== type) { if (tmp5(4830).CodedLinkType.GAME_PROFILE === type) { const obj11 = { fingerprint, attemptId, installationId, payload: null }; const obj12 = { type: React5.GAME_PROFILE, gameId: findCodedLinkResult.code }; obj11.payload = obj12; return obj11; } else if (tmp5(4830).CodedLinkType.APP_DIRECTORY_STOREFRONT !== type) { if (tmp5(4830).CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU !== type) { if (tmp5(4830).CodedLinkType.APP_OAUTH2_LINK !== type) { if (tmp5(4830).CodedLinkType.COLLECTIBLES_SHOP === type) { const tmp5Result = tmp5(12712); const tmp10 = _slicedToArray(findCodedLinkResult.code.split("-"), 2)[1]; if (tmp5Result.isVirtualCurrencyEnabled().enabled) { if (tmp9 === constants2.ORBS) { let FEATURED_PAGE = constants3.ORBS; } const obj13 = { fingerprint, attemptId, installationId, payload: null }; const obj14 = { type: React5.SHOP, screen: FEATURED_PAGE, skuId: null }; let tmp15; if ("" !== tmp10) { tmp15 = tmp10; } obj14.skuId = tmp15; obj13.payload = obj14; return obj13; } FEATURED_PAGE = constants3.FEATURED_PAGE; const tmp8 = _slicedToArray(findCodedLinkResult.code.split("-"), 2); } else if (tmp5(4830).CodedLinkType.GAME_SERVER_SHARE !== type) { if (tmp5(4830).CodedLinkType.GAME_ORGANIZATION_INVITE !== type) { if (tmp5(4830).CodedLinkType.USER_PROFILE !== type) { const _Error2 = Error; const _HermesInternal = HermesInternal; throw Error("Unknown coded link type: " + findCodedLinkResult.type); } } } } } } } } } } } } } } } } } } const obj15 = { fingerprint, attemptId, installationId, payload: null }; const obj16 = { type: React5.BUILD_OVERRIDE, overrideUrl: findCodedLinkResult.code }; obj15.payload = obj16; return obj15; } } const findGiftCodesResult = GiftCodeUtils.findGiftCodes(sanitizeUrlResult); if (findGiftCodesResult.length > 0) { const obj17 = { fingerprint, attemptId, installationId, payload: null }; const obj18 = { type: React5.GIFT_CODE, giftCode: findGiftCodesResult[0] }; obj17.payload = obj18; return obj17; } else { const result = tmp5(13597).findRemoteAuthFingerprint(host, pathname); if (null != result) { if (result.length > 0) { const obj19 = { fingerprint, attemptId, installationId, payload: null }; const obj20 = { type: React5.REMOTE_AUTH, remoteAuthFingerprint: result }; obj19.payload = obj20; return obj19; } } const tmp5Result9 = tmp5(13597); if (!tmpResult6.isDiscordHostname(host)) { if (!tmpResult7.isDiscordProtocol(protocol)) { const tmpResult8 = tmp(1366); } let match; if (host != null) { match = host.match(re18); } if (null != match) { const obj22 = { fingerprint, attemptId, installationId, payload: null }; const obj23 = { type: React5.PROMOTIONS, url: sanitizeUrlResult }; obj22.payload = obj23; let obj26 = obj22; } else { let host1; if (UPDATE_CONFIG != null) { host1 = UPDATE_CONFIG.url.host; } if (host === host1) { const obj24 = { fingerprint, attemptId, installationId, payload: null }; const obj25 = { type: React5.MOBILE_NATIVE_UPDATE, url: sanitizeUrlResult }; obj24.payload = obj25; obj26 = obj24; } else { obj26 = { fingerprint, attemptId, installationId, payload: null }; const obj27 = { type: React5.NONE }; obj26.payload = obj27; } } return obj26; } if (null != pathname) { const tryParseDiceRollLinkResult = tmp5(4999).tryParseDiceRollLink(pathname); if (null != tryParseDiceRollLinkResult) { const obj28 = { fingerprint, attemptId, installationId, payload: null }; const obj29 = { type: React5.ROLL_DICE, guildId: null, channelId: null, diceCount: null, diceSides: null }; ({ guildId: obj94.guildId, channelId: obj94.channelId, diceCount: obj94.diceCount, diceSides: obj94.diceSides } = tryParseDiceRollLinkResult); obj28.payload = obj29; return obj28; } else { const tryParseChannelPathResult = tmp5(4999).tryParseChannelPath(pathname); if (null != tryParseChannelPathResult) { if (query == null) { query = ""; } const obj30 = { fingerprint, attemptId, installationId, payload: null }; if (null != tryParseChannelPathResult.messageId) { let CHANNEL = React5.MESSAGE; } else { CHANNEL = React5.CHANNEL; } const obj31 = { type: CHANNEL, guildId: null, channelId: null, messageId: null, summaryId: null }; ({ guildId: obj92.guildId, channelId: obj92.channelId, messageId: obj92.messageId } = tryParseChannelPathResult); obj31.summaryId = tmp139(query).summaryId; obj30.payload = obj31; return obj30; } else { const match1 = pathname.match(re25); if (null != match1) { if (match1.length > 1) { const obj32 = { fingerprint, attemptId, installationId, payload: null }; const obj33 = { type: React5.QUESTS, questId: match1[1], referrerId: referrer_id, sort, filter }; obj32.payload = obj33; return obj32; } } const match2 = pathname.match(re26); if (null != match2) { if (match2.length > 1) { const obj35 = { fingerprint, attemptId, installationId, payload: null }; const obj36 = { type: React5.QUEST_PREVIEW_TOOL, questId: match2[1] }; obj35.payload = obj36; return obj35; } } if (null != pathname.match(re28)) { let str5 = query; if (query == null) { str5 = ""; } let ad_creative_ids = tmp(1473).parse(str5).ad_creative_ids; if (ad_creative_ids == null) { ad_creative_ids = []; } const items = [ad_creative_ids]; const first = _slicedToArray(items.flat(), 1)[0]; if (null != first) { const obj38 = { fingerprint, attemptId, installationId, payload: null }; const obj39 = { type: React5.QUEST_BAR_PREVIEW, adCreativeId: first }; obj38.payload = obj39; return obj38; } const tmpResult9 = tmp(1473); } if (null != pathname.match(re27)) { let str25 = query; if (query == null) { str25 = ""; } let ad_creative_ids1 = tmp(1473).parse(str25).ad_creative_ids; if (ad_creative_ids1 == null) { ad_creative_ids1 = []; } const items1 = [ad_creative_ids1]; const flatResult = items1.flat(); if (flatResult.length > 0) { const obj40 = { fingerprint, attemptId, installationId, payload: null }; const obj41 = { type: React5.QUEST_HOME_PREVIEW, adCreativeIds: flatResult }; obj40.payload = obj41; let obj42 = obj40; } else { obj42 = { fingerprint, attemptId, installationId, payload: null }; const obj44 = { type: React5.QUESTS, referrerId: referrer_id, sort, filter }; obj42.payload = obj44; } return obj42; } else if (null != pathname.match(re29)) { const obj45 = { fingerprint, attemptId, installationId, payload: null }; const obj46 = { type: React5.SUBSCRIPTION_SETTINGS }; obj45.payload = obj46; return obj45; } else { const match3 = pathname.match(re15); if (null != match3) { if (match3.length > 1) { const obj47 = { fingerprint, attemptId, installationId, payload: null }; const obj48 = { type: React5.USER_PROFILE, userId: match3[1] }; obj47.payload = obj48; return obj47; } } if (null != pathname.match(re16)) { let str6 = query; if (query == null) { str6 = ""; } const result1 = tmp5(8707).parseOAuth2AuthorizeProps(str6); if (null != result1) { const obj49 = { fingerprint, attemptId, installationId, payload: null }; const element = { type: React5.OAUTH2_AUTHORIZE, props: null }; const obj50 = {}; const merged = Object.assign(result1); obj50.wasDeepLink = flag; element.props = obj50; obj49.payload = element; return obj49; } const tmp5Result12 = tmp5(8707); } if (null != pathname.match(re17)) { let str24 = query; if (query == null) { str24 = ""; } let token = tmp139(str24).token; const obj51 = { fingerprint, attemptId, installationId, payload: null }; const obj52 = { type: React5.ONE_TIME_LOGIN, token: null }; if (token == null) { token = null; } obj52.token = token; obj51.payload = obj52; return obj51; } else { const match4 = pathname.match(re14); if (null != match4) { if (match4.length > 1) { const obj53 = { fingerprint, attemptId, installationId, payload: null }; const obj54 = { type: React5.BOOST_MARKETING, guildId: match4[1] }; obj53.payload = obj54; return obj53; } } const match5 = pathname.match(re13); if (null != match5) { if (match5.length > 1) { let tmp28 = null; switch (match5[1]) { case "composeMessage": const obj55 = { type: React5.COMPOSE_MESSAGE }; tmp28 = obj55; while (true) { if (null != tmp28) { let obj56 = { fingerprint, attemptId, installationId, payload: tmp28 }; return obj56; } } break; case "contactSync": const obj57 = { type: React5.CONTACT_SYNC }; tmp28 = obj57; break; case "addFriends": const obj58 = { type: React5.ADD_FRIENDS }; tmp28 = obj58; break; case "friends": let str17 = query; if (query == null) { str17 = ""; } const obj60 = { type: React5.FRIENDS, userId: tmp139(str17).user_id }; tmp28 = obj60; break; case "editProfile": const obj61 = { type: React5.EDIT_PROFILE }; tmp28 = obj61; break; case "voiceChannel": let str16 = query; if (query == null) { str16 = ""; } const obj63 = { type: React5.VOICE_CHANNEL, guildId: null, channelId: null, userId: null, via: null, action: null }; ({ guild_id: obj37.guildId, channel_id: obj37.channelId, user_id: obj37.userId, via: obj37.via, action: obj37.action } = tmp139(str16)); tmp28 = obj63; const tmp139Result7 = tmp139(str16); break; case "sessionManagement": const obj64 = { type: React5.SESSION_MANAGEMENT }; tmp28 = obj64; break; case "messageRequests": const obj65 = { type: React5.MESSAGE_REQUESTS }; tmp28 = obj65; break; case "home": let str15 = query; if (query == null) { str15 = ""; } const obj66 = { type: React5.GUILD_HOME, guildId: null, highlightChannelId: null, highlightMessageId: null }; ({ guild_id: obj34.guildId, highlight_channel_id: obj34.highlightChannelId, highlight_message_id: obj34.highlightMessageId } = tmp139(str15)); tmp28 = obj66; const tmp139Result8 = tmp139(str15); break; case "icymi": const obj68 = { type: React5.ICYMI }; tmp28 = obj68; break; case "connections": let str14 = query; if (query == null) { str14 = ""; } const obj69 = { type: React5.CONNECTIONS, source: tmp139(str14).source }; tmp28 = obj69; break; case "family-center": const obj70 = { type: React5.FAMILY_CENTER, pathname }; tmp28 = obj70; break; case "promo-url": let str13 = query; if (query == null) { str13 = ""; } const promo_url = tmp139(str13).promo_url; tmp28 = null; if (undefined !== promo_url) { const obj71 = { type: React5.FEATURE_PROMO_URL, promoUrl: promo_url }; tmp28 = obj71; } break; case "account-standing": const obj72 = { type: React5.ACCOUNT_STANDING, pathname }; tmp28 = obj72; break; case "mobile-web-redirect-checkout": let result2 = tmp5(7014).isMobileWebRedirectCheckoutEnabled(); if (result2) { result2 = !tmp5(1610).isMetaQuest(); const tmp5Result14 = tmp5(1610); } let str12 = query; if (query == null) { str12 = ""; } const tmp5Result13 = tmp5(7014); let DEFAULT = tmp139(str12)[constants5.DEEP_LINK_ACTION]; tmp28 = null; if (result2) { const obj73 = { type: React5.MOBILE_WEB_REDIRECT_CHECKOUT, deepLinkAction: null, guildId: null }; if (DEFAULT == null) { DEFAULT = constants4.DEFAULT; } obj73.deepLinkAction = DEFAULT; obj73.guildId = tmp49; tmp28 = obj73; } const tmp139Result9 = tmp139(str12); break; case "open-shop": const obj74 = { type: React5.SHOP }; tmp28 = obj74; break; case "authorized-apps": const obj75 = { type: React5.AUTHORIZED_APPS }; tmp28 = obj75; break; case "share": tmp28 = null; if (tmp5Result15.isIOS()) { let str11 = query; if (query == null) { str11 = ""; } function isValidUUID(shareId) { return /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(shareId); } ({ text, channelId, shareId, attachmentManifest } = tmp139(str11)); let items2 = []; if (typeof attachmentManifest === "string") { try { const _JSON = JSON; items2 = JSON.parse(attachmentManifest); } catch (err) { items2 = []; } } const _Array = Array; if (Array.isArray(items2)) { let items3 = items2; } else { items3 = []; } const items4 = []; items2 = items3; items3[Symbol.iterator](); const tmp139Result10 = tmp139(str11); } tmp5Result15 = tmp5(1364); break; case "dave-protocol-verification": let str10 = query; if (query == null) { str10 = ""; } ({ userId, fingerprint: fingerprint2 } = tmp139(str10)); tmp28 = null; if (null != userId) { tmp28 = null; if (null != fingerprint2) { tmp28 = null; if (tmp5Result16.getSecureFramesDeeplinkExperiment({ location: "parseUrl" }).enabled) { const obj76 = { type: React5.DAVE_PROTOCOL_VERIFICATION, userId, fingerprint: fingerprint2 }; tmp28 = obj76; } tmp5Result16 = tmp5(9366); } } const tmp139Result11 = tmp139(str10); break; case "agekey-return": let str9 = query; if (query == null) { str9 = ""; } const obj77 = { type: React5.AGE_VERIFICATION_AGEKEY_RETURN, result: null, ageKeySaved: null, verificationId: null }; ({ result: obj21.result, ageKeySaved: obj21.ageKeySaved, verificationId: obj21.verificationId } = tmp139(str9)); tmp28 = obj77; const tmp139Result12 = tmp139(str9); break; case "gift": const obj78 = { type: React5.GIFT }; tmp28 = obj78; break; case "store": let str8 = query; if (query == null) { str8 = ""; } const obj79 = { type: React5.NITRO_HOME, section: tmp139(str8).section }; tmp28 = obj79; break; case "connected-games": const obj80 = { type: React5.CONNECTED_GAMES }; tmp28 = obj80; break; case "boost-settings": const obj81 = { type: React5.BOOST_SETTINGS }; tmp28 = obj81; break; case "quest-preview-tool": let str7 = query; if (query == null) { str7 = ""; } const obj82 = { type: React5.QUEST_PREVIEW_TOOL, questId: tmp139(str7).quest_id }; tmp28 = obj82; break; case "subscription-settings": const obj83 = { type: React5.SUBSCRIPTION_SETTINGS }; tmp28 = obj83; break; } } } const result3 = LinkUtils.tryParseEventDetailsPath(pathname); if (null != result3) { const obj84 = { fingerprint, attemptId, installationId, payload: null }; const obj85 = { type: React5.GUILD_EVENT_DETAILS, guildEventId: null, guildId: null, recurrenceId: null }; ({ guildEventId: obj67.guildEventId, guildId: obj67.guildId, recurrenceId: obj67.recurrenceId } = result3); obj84.payload = obj85; return obj84; } else if (null != pathname.match(re19)) { const _decodeURIComponent = decodeURIComponent; ({ key, redirect, fingerprint: fingerprint3 } = parseQuery(decodeURIComponent(query))); if (null != key) { if (null != redirect) { const _URL = URL; const _location = location; const _window = window; const _HermesInternal2 = HermesInternal; const uRL = new URL(redirect, "" + location.protocol + window.GLOBAL_ENV.WEBAPP_ENDPOINT); if (null != fingerprint3) { const searchParams = uRL.searchParams; searchParams.append("fingerprint", fingerprint3); } const obj86 = { fingerprint: fingerprint3, attemptId, installationId, payload: null }; const obj87 = { type: React5.MOBILE_WEB_HANDOFF, nonce: key, redirectUrl: uRL, fingerprint: fingerprint3 }; obj86.payload = obj87; return obj86; } } const tmp104 = parseQuery(decodeURIComponent(query)); const obj88 = { reason: "invalid_query_params", fingerprint: null }; const obj62 = AnalyticsUtilsDefault; obj88.fingerprint = tmp67(1254).maybeExtractId(fingerprint3); const obj89 = { fingerprint: fingerprint3 }; obj62.track(constants.MOBILE_WEB_HANDOFF_FAILURE, obj88, obj89); const _Error = Error; const error = new Error("Missing nonce or redirect query params"); throw error; } else { const match6 = pathname.match(re20); if (null != match6) { let str21 = query; if (query == null) { str21 = ""; } const obj90 = { fingerprint, attemptId, installationId, payload: null }; const obj91 = { type: React5.USER_CONNECTIONS_LINK_CALLBACK, provider: match6[1], callbackCode: null, callbackState: null }; ({ code: obj59.callbackCode, state: obj59.callbackState } = parseQuery(decodeURIComponent(str21))); obj90.payload = obj91; return obj90; } else { const match7 = pathname.match(re21); if (null != match7) { const tmp93 = _slicedToArray(match7, 2); const first1 = tmp93[0]; let str20 = query; if (query == null) { str20 = ""; } const obj93 = { fingerprint, attemptId, installationId, payload: null }; const obj95 = { type: React5.USER_CONNECTIONS_CALLBACK, provider: tmp93[1], searchParams: parseQuery(decodeURIComponent(str20)) }; obj93.payload = obj95; return obj93; } else { const match8 = pathname.match(re22); if (null != match8) { const tmp87 = _slicedToArray(match8, 4); const obj96 = { fingerprint, attemptId, installationId, payload: null }; const obj97 = { type: React5.GUILD_SETTINGS, guildId: tmp87[1], settingsSection: urlPartToSettingsEnumDefault(hasOwnProperty, tmp87[2]), settingsSubsection: urlPartToSettingsEnumDefault(timestampProducer, tmp87[3]) }; obj96.payload = obj97; return obj96; } else { const match9 = pathname.match(re23); if (null != match9) { const tmp80 = _slicedToArray(match9, 3); let str19 = query; if (query == null) { str19 = ""; } const obj98 = { fingerprint, attemptId, installationId, payload: null }; const obj99 = { type: React5.GUILD_SETTINGS_PICKER, settingsSection: urlPartToSettingsEnumDefault(hasOwnProperty, tmp80[1]), settingsSubsection: urlPartToSettingsEnumDefault(timestampProducer, tmp80[2]), feature: parseQuery(str19).feature }; obj98.payload = obj99; return obj98; } else if (null != pathname.match(re24)) { let str18 = query; if (query == null) { str18 = ""; } const obj100 = { fingerprint, attemptId, installationId, payload: null }; const obj101 = { type: React5.ACTIVATE_DEVICE, userCode: parseQuery(decodeURIComponent(str18)).user_code }; obj100.payload = obj101; return obj100; } } } } } tmp67 = require; } } } const tmp5Result11 = tmp5(4999); } const tmp5Result10 = tmp5(4999); } tmpResult6 = tmp(1366); } } };