// Module ID: 5442 // Function ID: 5443 // Name: Platforms // Dependencies: [1085, 2013, 586, 5443, 5444, 5445, 5446, 5447, 5448, 5449, 5450, 5451, 5452, 5453, 5454, 2014, 5455, 5456, 5457, 5458, 5459, 5460, 5461, 5462, 5463, 5464, 5465, 5466, 5467, 5468, 5469, 5470, 5471, 5472, 5473, 5474, 5475, 5476, 5477, 5478, 5479, 5480, 5481, 5482, 5483, 5484, 5485, 5486, 5487, 5488, 5489, 5490, 5491, 5492, 5493, 5494, 5495, 5496, 5497, 5498, 5499, 5500, 5501, 5502, 5503, 5504, 5505, 5506, 5507, 5508, 5509, 5510, 5511, 5512, 5513, 5514, 5515, 5516, 5517, 5518, 5519, 5520, 5521, 5522, 5523, 5524, 5525, 5526, 5527, 5528, 5529, 5530, 5531, 5532, 5533, 5534, 5535, 5536, 5537, 5538, 5539, 5540, 5541, 5542, 5543, 5544, 5545, 5546, 5547, 5548, 5549, 5550, 5551, 5552, 5553, 5554, 5555, 5556, 5557, 5558, 5559, 5560, 5561, 5562, 5563, 5564, 12, 1371, 2] // Module 5442 (Platforms) import Constants from "Constants" /* 1085 */; import URLUtilsDefault from "URLUtils" /* 1371 */; import UserApplicationIdentityConstants from "UserApplicationIdentityConstants" /* 2013 */; import socialSDKMigration from "socialSDKMigration" /* 2014 */; import AssetRegistry from "AssetRegistry" /* 5443 */; import AssetRegistry2 from "AssetRegistry" /* 5444 */; import AssetRegistry3 from "AssetRegistry" /* 5445 */; import AssetRegistry4 from "AssetRegistry" /* 5446 */; import AssetRegistry5 from "AssetRegistry" /* 5447 */; import AssetRegistry6 from "AssetRegistry" /* 5448 */; import AssetRegistry7 from "AssetRegistry" /* 5449 */; import AssetRegistry8 from "AssetRegistry" /* 5450 */; import AssetRegistry9 from "AssetRegistry" /* 5451 */; import AssetRegistry10 from "AssetRegistry" /* 5452 */; import AssetRegistry11 from "AssetRegistry" /* 5453 */; import AssetRegistry12 from "AssetRegistry" /* 5454 */; import AssetRegistry13 from "AssetRegistry" /* 5455 */; import AssetRegistry14 from "AssetRegistry" /* 5456 */; import AssetRegistry15 from "AssetRegistry" /* 5457 */; import AssetRegistry16 from "AssetRegistry" /* 5458 */; import AssetRegistry17 from "AssetRegistry" /* 5459 */; import AssetRegistry18 from "AssetRegistry" /* 5460 */; import AssetRegistry19 from "AssetRegistry" /* 5461 */; import AssetRegistry20 from "AssetRegistry" /* 5462 */; import AssetRegistry21 from "AssetRegistry" /* 5463 */; import AssetRegistry22 from "AssetRegistry" /* 5464 */; import AssetRegistry23 from "AssetRegistry" /* 5465 */; import AssetRegistry24 from "AssetRegistry" /* 5466 */; import AssetRegistry25 from "AssetRegistry" /* 5467 */; import AssetRegistry26 from "AssetRegistry" /* 5468 */; import AssetRegistry27 from "AssetRegistry" /* 5469 */; import AssetRegistry28 from "AssetRegistry" /* 5470 */; import AssetRegistry29 from "AssetRegistry" /* 5471 */; import AssetRegistry30 from "AssetRegistry" /* 5472 */; import AssetRegistry31 from "AssetRegistry" /* 5473 */; import AssetRegistry32 from "AssetRegistry" /* 5474 */; import AssetRegistry33 from "AssetRegistry" /* 5475 */; import AssetRegistry34 from "AssetRegistry" /* 5476 */; import AssetRegistry35 from "AssetRegistry" /* 5477 */; import AssetRegistry36 from "AssetRegistry" /* 5478 */; import AssetRegistry37 from "AssetRegistry" /* 5479 */; import AssetRegistry38 from "AssetRegistry" /* 5480 */; import AssetRegistry39 from "AssetRegistry" /* 5481 */; import AssetRegistry40 from "AssetRegistry" /* 5482 */; import AssetRegistry41 from "AssetRegistry" /* 5483 */; import AssetRegistry42 from "AssetRegistry" /* 5484 */; import AssetRegistry43 from "AssetRegistry" /* 5485 */; import AssetRegistry44 from "AssetRegistry" /* 5486 */; import AssetRegistry45 from "AssetRegistry" /* 5487 */; import AssetRegistry46 from "AssetRegistry" /* 5488 */; import AssetRegistry47 from "AssetRegistry" /* 5489 */; import AssetRegistry48 from "AssetRegistry" /* 5490 */; import AssetRegistry49 from "AssetRegistry" /* 5491 */; import AssetRegistry50 from "AssetRegistry" /* 5492 */; import AssetRegistry51 from "AssetRegistry" /* 5493 */; import AssetRegistry52 from "AssetRegistry" /* 5494 */; import AssetRegistry53 from "AssetRegistry" /* 5495 */; import AssetRegistry54 from "AssetRegistry" /* 5496 */; import AssetRegistry55 from "AssetRegistry" /* 5497 */; import AssetRegistry56 from "AssetRegistry" /* 5498 */; import AssetRegistry57 from "AssetRegistry" /* 5499 */; import AssetRegistry58 from "AssetRegistry" /* 5500 */; import AssetRegistry59 from "AssetRegistry" /* 5501 */; import AssetRegistry60 from "AssetRegistry" /* 5502 */; import AssetRegistry61 from "AssetRegistry" /* 5503 */; import AssetRegistry62 from "AssetRegistry" /* 5504 */; import AssetRegistry63 from "AssetRegistry" /* 5505 */; import AssetRegistry64 from "AssetRegistry" /* 5506 */; import AssetRegistry65 from "AssetRegistry" /* 5507 */; import AssetRegistry66 from "AssetRegistry" /* 5508 */; import AssetRegistry67 from "AssetRegistry" /* 5509 */; import AssetRegistry68 from "AssetRegistry" /* 5510 */; import AssetRegistry69 from "AssetRegistry" /* 5511 */; import AssetRegistry70 from "AssetRegistry" /* 5512 */; import AssetRegistry71 from "AssetRegistry" /* 5513 */; import AssetRegistry72 from "AssetRegistry" /* 5514 */; import AssetRegistry73 from "AssetRegistry" /* 5515 */; import AssetRegistry74 from "AssetRegistry" /* 5516 */; import AssetRegistry75 from "AssetRegistry" /* 5517 */; import AssetRegistry76 from "AssetRegistry" /* 5518 */; import AssetRegistry77 from "AssetRegistry" /* 5519 */; import AssetRegistry78 from "AssetRegistry" /* 5520 */; import AssetRegistry79 from "AssetRegistry" /* 5521 */; import AssetRegistry80 from "AssetRegistry" /* 5522 */; import AssetRegistry81 from "AssetRegistry" /* 5523 */; import AssetRegistry82 from "AssetRegistry" /* 5524 */; import AssetRegistry83 from "AssetRegistry" /* 5525 */; import AssetRegistry84 from "AssetRegistry" /* 5526 */; import AssetRegistry85 from "AssetRegistry" /* 5527 */; import AssetRegistry86 from "AssetRegistry" /* 5528 */; import AssetRegistry87 from "AssetRegistry" /* 5529 */; import AssetRegistry88 from "AssetRegistry" /* 5530 */; import AssetRegistry89 from "AssetRegistry" /* 5531 */; import AssetRegistry90 from "AssetRegistry" /* 5532 */; import AssetRegistry91 from "AssetRegistry" /* 5533 */; import AssetRegistry92 from "AssetRegistry" /* 5534 */; import AssetRegistry93 from "AssetRegistry" /* 5535 */; import AssetRegistry94 from "AssetRegistry" /* 5536 */; import AssetRegistry95 from "AssetRegistry" /* 5537 */; import AssetRegistry96 from "AssetRegistry" /* 5538 */; import AssetRegistry97 from "AssetRegistry" /* 5539 */; import AssetRegistry98 from "AssetRegistry" /* 5540 */; import AssetRegistry99 from "AssetRegistry" /* 5541 */; import AssetRegistry100 from "AssetRegistry" /* 5542 */; import AssetRegistry101 from "AssetRegistry" /* 5543 */; import AssetRegistry102 from "AssetRegistry" /* 5544 */; import AssetRegistry103 from "AssetRegistry" /* 5545 */; import AssetRegistry104 from "AssetRegistry" /* 5546 */; import AssetRegistry105 from "AssetRegistry" /* 5547 */; import AssetRegistry106 from "AssetRegistry" /* 5548 */; import AssetRegistry107 from "AssetRegistry" /* 5549 */; import AssetRegistry108 from "AssetRegistry" /* 5550 */; import AssetRegistry109 from "AssetRegistry" /* 5551 */; import AssetRegistry110 from "AssetRegistry" /* 5552 */; import AssetRegistry111 from "AssetRegistry" /* 5553 */; import AssetRegistry112 from "AssetRegistry" /* 5554 */; import AssetRegistry113 from "AssetRegistry" /* 5555 */; import AssetRegistry114 from "AssetRegistry" /* 5556 */; import AssetRegistry115 from "AssetRegistry" /* 5557 */; import AssetRegistry116 from "AssetRegistry" /* 5558 */; import AssetRegistry117 from "AssetRegistry" /* 5559 */; import AssetRegistry118 from "AssetRegistry" /* 5560 */; import AssetRegistry119 from "AssetRegistry" /* 5561 */; import AssetRegistry120 from "AssetRegistry" /* 5562 */; import AssetRegistry121 from "AssetRegistry" /* 5563 */; import AssetRegistry122 from "AssetRegistry" /* 5564 */; import shims_mod from "shims" /* 586 */; import module_12 from "module_12" /* 12 */; import size from "module_2" /* 2 */; let domains, hasOwnProperty; let obj16; let obj43; let obj7; let shims; const PlatformTypes = Constants.PlatformTypes; const ApplicationIdentityAppIds = UserApplicationIdentityConstants.ApplicationIdentityAppIds; let obj = { type: PlatformTypes.TWITCH, name: "Twitch", color: shims.unsafe_getRawColor("PLATFORM_TWITCH"), icon: { lightPNG: AssetRegistry, darkPNG: AssetRegistry, whitePNG: AssetRegistry2, lightSVG: AssetRegistry3, darkSVG: AssetRegistry3, whiteSVG: AssetRegistry4 }, enabled: true, getPlatformUserUrl(name) { return "https://www.twitch.tv/" + encodeURIComponent(name.name); }, domains: ["twitch.tv", "twitch.com"] }; shims = shims_mod; const items = [obj, , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]; const obj3 = { type: PlatformTypes.YOUTUBE, name: "YouTube", color: shims.unsafe_getRawColor("PLATFORM_YOUTUBE"), icon: { lightPNG: AssetRegistry5, darkPNG: AssetRegistry5, whitePNG: AssetRegistry6, lightSVG: AssetRegistry7, darkSVG: AssetRegistry7, whiteSVG: AssetRegistry8 }, enabled: true, getPlatformUserUrl(id) { return "https://www.youtube.com/channel/" + encodeURIComponent(id.id); }, domains: ["youtube.com", "youtu.be"] }; ({ lightPNG: AssetRegistry, darkPNG: AssetRegistry, whitePNG: AssetRegistry2, lightSVG: AssetRegistry3, darkSVG: AssetRegistry3, whiteSVG: AssetRegistry4 }); shims = shims_mod; items[1] = obj3; const obj5 = { type: PlatformTypes.BATTLENET, name: "Battle.net", color: shims.unsafe_getRawColor("PLATFORM_BATTLENET"), icon: { lightPNG: AssetRegistry9, darkPNG: AssetRegistry9, whitePNG: AssetRegistry10, lightSVG: AssetRegistry11, darkSVG: AssetRegistry11, whiteSVG: AssetRegistry12, blackSVG: AssetRegistry11 }, enabled: true, migrationData: obj7 }; ({ lightPNG: AssetRegistry5, darkPNG: AssetRegistry5, whitePNG: AssetRegistry6, lightSVG: AssetRegistry7, darkSVG: AssetRegistry7, whiteSVG: AssetRegistry8 }); shims = shims_mod; obj7 = { replacedBy: ApplicationIdentityAppIds.BATTLENET, getMigrationExperimentEnabled(location) { const battlenetSocialSDKMigrationExperiment = socialSDKMigration.battlenetSocialSDKMigrationExperiment; const obj = { location }; return battlenetSocialSDKMigrationExperiment.getConfig(obj).enabled; }, helpCenterLink: "https://discord.com/blog/link-world-of-warcraft-with-discord", deprecationDate: new Date("2026-09-22Z-07:00") }; ({ lightPNG: AssetRegistry9, darkPNG: AssetRegistry9, whitePNG: AssetRegistry10, lightSVG: AssetRegistry11, darkSVG: AssetRegistry11, whiteSVG: AssetRegistry12, blackSVG: AssetRegistry11 }); items[2] = obj5; const obj8 = { type: PlatformTypes.BLUESKY, name: "Bluesky", icon: { lightPNG: AssetRegistry13, darkPNG: AssetRegistry13, whitePNG: AssetRegistry14, lightSVG: AssetRegistry15, darkSVG: AssetRegistry15, whiteSVG: AssetRegistry16 }, enabled: true, getPlatformUserUrl(id) { const encodeURIComponentResult = encodeURIComponent(id.id); return "https://bsky.app/profile/" + encodeURIComponentResult.replaceAll("%3A", ":"); }, isFederated: true, hasMetadata: true }; new Date("2026-09-22Z-07:00"); items[3] = obj8; const obj10 = { type: PlatformTypes.BUNGIE, name: "Bungie.net", color: shims.unsafe_getRawColor("PLATFORM_BUNGIE"), icon: { lightPNG: AssetRegistry17, darkPNG: AssetRegistry18, whitePNG: AssetRegistry19, lightSVG: AssetRegistry20, darkSVG: AssetRegistry21, whiteSVG: AssetRegistry22 }, enabled: true }; ({ lightPNG: AssetRegistry13, darkPNG: AssetRegistry13, whitePNG: AssetRegistry14, lightSVG: AssetRegistry15, darkSVG: AssetRegistry15, whiteSVG: AssetRegistry16 }); shims = shims_mod; items[4] = obj10; const obj12 = { type: PlatformTypes.SKYPE, name: "Skype", color: shims.unsafe_getRawColor("PLATFORM_SKYPE"), icon: { lightPNG: AssetRegistry23, darkPNG: AssetRegistry23, whitePNG: AssetRegistry24, lightSVG: AssetRegistry25, darkSVG: AssetRegistry25, whiteSVG: AssetRegistry26 }, enabled: false, getPlatformUserUrl(id) { return "skype:" + encodeURIComponent(id.id) + "?userinfo"; } }; ({ lightPNG: AssetRegistry17, darkPNG: AssetRegistry18, whitePNG: AssetRegistry19, lightSVG: AssetRegistry20, darkSVG: AssetRegistry21, whiteSVG: AssetRegistry22 }); shims = shims_mod; items[5] = obj12; const obj14 = { type: PlatformTypes.LEAGUE_OF_LEGENDS, name: "League of Legends", color: shims.unsafe_getRawColor("PLATFORM_LOL"), icon: { lightPNG: AssetRegistry27, darkPNG: AssetRegistry27, whitePNG: AssetRegistry28, lightSVG: AssetRegistry29, darkSVG: AssetRegistry29, whiteSVG: AssetRegistry30 }, enabled: true, migrationData: obj16 }; ({ lightPNG: AssetRegistry23, darkPNG: AssetRegistry23, whitePNG: AssetRegistry24, lightSVG: AssetRegistry25, darkSVG: AssetRegistry25, whiteSVG: AssetRegistry26 }); shims = shims_mod; obj16 = { replacedBy: ApplicationIdentityAppIds.RIOT_GAMES, getMigrationExperimentEnabled() { return true; }, helpCenterLink: "https://www.riotgames.com/en/riot-games-discord-account-linking", deprecationDate: new Date("2026-07-10Z-07:00") }; ({ lightPNG: AssetRegistry27, darkPNG: AssetRegistry27, whitePNG: AssetRegistry28, lightSVG: AssetRegistry29, darkSVG: AssetRegistry29, whiteSVG: AssetRegistry30 }); items[6] = obj14; const obj17 = { type: PlatformTypes.STEAM, name: "Steam", color: shims.unsafe_getRawColor("PLATFORM_STEAM"), icon: { lightPNG: AssetRegistry31, darkPNG: AssetRegistry32, whitePNG: AssetRegistry32, lightSVG: AssetRegistry33, darkSVG: AssetRegistry34, whiteSVG: AssetRegistry34 }, enabled: true, getPlatformUserUrl(id) { return "https://steamcommunity.com/profiles/" + encodeURIComponent(id.id); }, hasMetadata: true }; new Date("2026-07-10Z-07:00"); shims = shims_mod; items[7] = obj17; const obj19 = { type: PlatformTypes.REDDIT, name: "Reddit", color: shims.unsafe_getRawColor("PLATFORM_REDDIT"), icon: { lightPNG: AssetRegistry35, darkPNG: AssetRegistry35, whitePNG: AssetRegistry36, lightSVG: AssetRegistry37, darkSVG: AssetRegistry37, whiteSVG: AssetRegistry38 }, enabled: true, domains: ["reddit.com"], getPlatformUserUrl(name) { return "https://www.reddit.com/u/" + encodeURIComponent(name.name); }, hasMetadata: true }; ({ lightPNG: AssetRegistry31, darkPNG: AssetRegistry32, whitePNG: AssetRegistry32, lightSVG: AssetRegistry33, darkSVG: AssetRegistry34, whiteSVG: AssetRegistry34 }); shims = shims_mod; items[8] = obj19; const obj21 = { type: PlatformTypes.FACEBOOK, name: "Facebook", color: shims.unsafe_getRawColor("PLATFORM_FACEBOOK"), icon: { lightPNG: AssetRegistry39, darkPNG: AssetRegistry39, whitePNG: AssetRegistry40, lightSVG: AssetRegistry41, darkSVG: AssetRegistry41, whiteSVG: AssetRegistry42 }, domains: ["facebook.com"], enabled: true }; ({ lightPNG: AssetRegistry35, darkPNG: AssetRegistry35, whitePNG: AssetRegistry36, lightSVG: AssetRegistry37, darkSVG: AssetRegistry37, whiteSVG: AssetRegistry38 }); shims = shims_mod; items[9] = obj21; const obj23 = { type: PlatformTypes.TWITTER_LEGACY, name: "Twitter", color: shims.unsafe_getRawColor("PLATFORM_TWITTER"), icon: { lightPNG: AssetRegistry43, darkPNG: AssetRegistry43, whitePNG: AssetRegistry44, lightSVG: AssetRegistry45, darkSVG: AssetRegistry45, whiteSVG: AssetRegistry46 }, enabled: false, getPlatformUserUrl(name) { return "https://twitter.com/" + encodeURIComponent(name.name); }, domains: ["twitter.com"], hasMetadata: true }; ({ lightPNG: AssetRegistry39, darkPNG: AssetRegistry39, whitePNG: AssetRegistry40, lightSVG: AssetRegistry41, darkSVG: AssetRegistry41, whiteSVG: AssetRegistry42 }); shims = shims_mod; items[10] = obj23; const obj25 = { type: PlatformTypes.TWITTER, name: "X", color: shims.unsafe_getRawColor("PLATFORM_TWITTER"), icon: { lightPNG: AssetRegistry47, darkPNG: AssetRegistry48, whitePNG: AssetRegistry49, lightSVG: AssetRegistry50, darkSVG: AssetRegistry51, whiteSVG: AssetRegistry52 }, enabled: true, getPlatformUserUrl(name) { return "https://x.com/" + encodeURIComponent(name.name); }, domains: ["x.com"], hasMetadata: true }; ({ lightPNG: AssetRegistry43, darkPNG: AssetRegistry43, whitePNG: AssetRegistry44, lightSVG: AssetRegistry45, darkSVG: AssetRegistry45, whiteSVG: AssetRegistry46 }); shims = shims_mod; items[11] = obj25; const obj27 = { type: PlatformTypes.SPOTIFY, name: "Spotify", color: shims.unsafe_getRawColor("PLATFORM_SPOTIFY"), icon: { lightPNG: AssetRegistry53, darkPNG: AssetRegistry53, whitePNG: AssetRegistry54, lightSVG: AssetRegistry55, darkSVG: AssetRegistry55, whiteSVG: AssetRegistry56 }, enabled: true, getPlatformUserUrl(id) { return "https://open.spotify.com/user/" + encodeURIComponent(id.id); } }; ({ lightPNG: AssetRegistry47, darkPNG: AssetRegistry48, whitePNG: AssetRegistry49, lightSVG: AssetRegistry50, darkSVG: AssetRegistry51, whiteSVG: AssetRegistry52 }); shims = shims_mod; items[12] = obj27; const obj29 = { type: PlatformTypes.XBOX, name: "Xbox", color: shims.unsafe_getRawColor("PLATFORM_XBOX"), icon: { lightPNG: AssetRegistry57, darkPNG: AssetRegistry58, whitePNG: AssetRegistry58, lightSVG: AssetRegistry59, darkSVG: AssetRegistry60, whiteSVG: AssetRegistry60, customPNG: AssetRegistry61 }, enabled: true }; ({ lightPNG: AssetRegistry53, darkPNG: AssetRegistry53, whitePNG: AssetRegistry54, lightSVG: AssetRegistry55, darkSVG: AssetRegistry55, whiteSVG: AssetRegistry56 }); shims = shims_mod; items[13] = obj29; const obj31 = { type: PlatformTypes.SAMSUNG, name: "Samsung Galaxy", color: shims.unsafe_getRawColor("PLATFORM_SAMSUNG"), icon: { lightPNG: AssetRegistry62, darkPNG: AssetRegistry62, whitePNG: AssetRegistry63, lightSVG: AssetRegistry64, darkSVG: AssetRegistry64, whiteSVG: AssetRegistry65 }, enabled: false }; ({ lightPNG: AssetRegistry57, darkPNG: AssetRegistry58, whitePNG: AssetRegistry58, lightSVG: AssetRegistry59, darkSVG: AssetRegistry60, whiteSVG: AssetRegistry60, customPNG: AssetRegistry61 }); shims = shims_mod; items[14] = obj31; const obj33 = { type: PlatformTypes.GITHUB, name: "GitHub", color: shims.unsafe_getRawColor("PLATFORM_GITHUB"), icon: { lightPNG: AssetRegistry66, darkPNG: AssetRegistry67, whitePNG: AssetRegistry67, lightSVG: AssetRegistry68, darkSVG: AssetRegistry69, whiteSVG: AssetRegistry69 }, enabled: true, getPlatformUserUrl(name) { return "https://github.com/" + encodeURIComponent(name.name); }, domains: ["github.com"] }; ({ lightPNG: AssetRegistry62, darkPNG: AssetRegistry62, whitePNG: AssetRegistry63, lightSVG: AssetRegistry64, darkSVG: AssetRegistry64, whiteSVG: AssetRegistry65 }); shims = shims_mod; items[15] = obj33; const obj35 = { type: PlatformTypes.PLAYSTATION, name: "PlayStation Network", color: shims.unsafe_getRawColor("PLATFORM_PLAYSTATION"), icon: { lightPNG: AssetRegistry70, darkPNG: AssetRegistry71, whitePNG: AssetRegistry71, lightSVG: AssetRegistry72, darkSVG: AssetRegistry73, whiteSVG: AssetRegistry73 }, enabled: true }; ({ lightPNG: AssetRegistry66, darkPNG: AssetRegistry67, whitePNG: AssetRegistry67, lightSVG: AssetRegistry68, darkSVG: AssetRegistry69, whiteSVG: AssetRegistry69 }); shims = shims_mod; items[16] = obj35; const obj37 = { type: PlatformTypes.PLAYSTATION_STAGING, name: "PlayStation Network (Staging)", color: shims.unsafe_getRawColor("PLATFORM_PLAYSTATION"), icon: { lightPNG: AssetRegistry71, darkPNG: AssetRegistry70, whitePNG: AssetRegistry70, lightSVG: AssetRegistry73, darkSVG: AssetRegistry72, whiteSVG: AssetRegistry72 }, enabled: false }; ({ lightPNG: AssetRegistry70, darkPNG: AssetRegistry71, whitePNG: AssetRegistry71, lightSVG: AssetRegistry72, darkSVG: AssetRegistry73, whiteSVG: AssetRegistry73 }); shims = shims_mod; items[17] = obj37; const obj39 = { type: PlatformTypes.EPIC_GAMES, name: "Epic Games", icon: { lightPNG: AssetRegistry74, darkPNG: AssetRegistry75, whitePNG: AssetRegistry75, lightSVG: AssetRegistry76, darkSVG: AssetRegistry77, whiteSVG: AssetRegistry77 }, enabled: true }; ({ lightPNG: AssetRegistry71, darkPNG: AssetRegistry70, whitePNG: AssetRegistry70, lightSVG: AssetRegistry73, darkSVG: AssetRegistry72, whiteSVG: AssetRegistry72 }); items[18] = obj39; const obj41 = { type: PlatformTypes.RIOT_GAMES, name: "Riot Games", icon: { lightPNG: AssetRegistry78, darkPNG: AssetRegistry78, whitePNG: AssetRegistry79, lightSVG: AssetRegistry80, darkSVG: AssetRegistry80, whiteSVG: AssetRegistry81, blackSVG: AssetRegistry82 }, enabled: true, migrationData: obj43 }; ({ lightPNG: AssetRegistry74, darkPNG: AssetRegistry75, whitePNG: AssetRegistry75, lightSVG: AssetRegistry76, darkSVG: AssetRegistry77, whiteSVG: AssetRegistry77 }); obj43 = { replacedBy: ApplicationIdentityAppIds.RIOT_GAMES, getMigrationExperimentEnabled() { return true; }, helpCenterLink: "https://www.riotgames.com/en/riot-games-discord-account-linking", deprecationDate: new Date("2026-07-10Z-07:00") }; ({ lightPNG: AssetRegistry78, darkPNG: AssetRegistry78, whitePNG: AssetRegistry79, lightSVG: AssetRegistry80, darkSVG: AssetRegistry80, whiteSVG: AssetRegistry81, blackSVG: AssetRegistry82 }); items[19] = obj41; const obj44 = { type: PlatformTypes.ROBLOX, name: "Roblox", icon: { lightPNG: AssetRegistry83, darkPNG: AssetRegistry84, whitePNG: AssetRegistry85, lightSVG: AssetRegistry86, darkSVG: AssetRegistry87, whiteSVG: AssetRegistry88 }, enabled: true, getPlatformUserUrl(id) { return "https://roblox.com/users/" + encodeURIComponent(id.id) + "/profile"; } }; new Date("2026-07-10Z-07:00"); items[20] = obj44; const obj46 = { type: PlatformTypes.PAYPAL, name: "PayPal", icon: { lightPNG: AssetRegistry89, darkPNG: AssetRegistry89, whitePNG: AssetRegistry90, lightSVG: AssetRegistry91, darkSVG: AssetRegistry91, whiteSVG: AssetRegistry92 }, enabled: true, hasMetadata: true }; ({ lightPNG: AssetRegistry83, darkPNG: AssetRegistry84, whitePNG: AssetRegistry85, lightSVG: AssetRegistry86, darkSVG: AssetRegistry87, whiteSVG: AssetRegistry88 }); items[21] = obj46; const obj48 = { type: PlatformTypes.EBAY, name: "eBay", icon: { lightPNG: AssetRegistry93, darkPNG: AssetRegistry93, whitePNG: AssetRegistry94, lightSVG: AssetRegistry95, darkSVG: AssetRegistry95, whiteSVG: AssetRegistry96 }, enabled: true, hasMetadata: true, getPlatformUserUrl(name) { return "https://www.ebay.com/usr/" + encodeURIComponent(name.name); } }; ({ lightPNG: AssetRegistry89, darkPNG: AssetRegistry89, whitePNG: AssetRegistry90, lightSVG: AssetRegistry91, darkSVG: AssetRegistry91, whiteSVG: AssetRegistry92 }); items[22] = obj48; const obj50 = { type: PlatformTypes.TIKTOK, name: "TikTok", icon: { lightPNG: AssetRegistry97, darkPNG: AssetRegistry98, whitePNG: AssetRegistry98, lightSVG: AssetRegistry99, darkSVG: AssetRegistry100, whiteSVG: AssetRegistry100 }, enabled: false, hasMetadata: true, domains: ["tiktok.com"], getPlatformUserUrl(name) { return "https://www.tiktok.com/@" + encodeURIComponent(name.name); } }; ({ lightPNG: AssetRegistry93, darkPNG: AssetRegistry93, whitePNG: AssetRegistry94, lightSVG: AssetRegistry95, darkSVG: AssetRegistry95, whiteSVG: AssetRegistry96 }); items[23] = obj50; const obj52 = { type: PlatformTypes.INSTAGRAM, name: "Instagram", icon: { lightPNG: AssetRegistry101, darkPNG: AssetRegistry101, whitePNG: AssetRegistry102, lightSVG: AssetRegistry103, darkSVG: AssetRegistry103, whiteSVG: AssetRegistry104 }, enabled: false, domains: ["instagram.com"], getPlatformUserUrl(name) { return "https://www.instagram.com/" + encodeURIComponent(name.name); } }; ({ lightPNG: AssetRegistry97, darkPNG: AssetRegistry98, whitePNG: AssetRegistry98, lightSVG: AssetRegistry99, darkSVG: AssetRegistry100, whiteSVG: AssetRegistry100 }); items[24] = obj52; const obj54 = { type: PlatformTypes.MASTODON, name: "Mastodon", icon: { lightPNG: AssetRegistry105, darkPNG: AssetRegistry105, whitePNG: AssetRegistry106, lightSVG: AssetRegistry107, darkSVG: AssetRegistry107, whiteSVG: AssetRegistry108 }, enabled: false, getPlatformUserUrl(id) { return id.id; }, isFederated: true, hasMetadata: true }; ({ lightPNG: AssetRegistry101, darkPNG: AssetRegistry101, whitePNG: AssetRegistry102, lightSVG: AssetRegistry103, darkSVG: AssetRegistry103, whiteSVG: AssetRegistry104 }); items[25] = obj54; const obj56 = { type: PlatformTypes.CRUNCHYROLL, name: "Crunchyroll", color: shims.unsafe_getRawColor("PLATFORM_CRUNCHYROLL"), icon: { lightPNG: AssetRegistry109, darkPNG: AssetRegistry109, whitePNG: AssetRegistry109, lightSVG: AssetRegistry110, darkSVG: AssetRegistry110, whiteSVG: AssetRegistry111 }, enabled: true }; ({ lightPNG: AssetRegistry105, darkPNG: AssetRegistry105, whitePNG: AssetRegistry106, lightSVG: AssetRegistry107, darkSVG: AssetRegistry107, whiteSVG: AssetRegistry108 }); shims = shims_mod; items[26] = obj56; const obj58 = { type: PlatformTypes.DOMAIN, name: "Domain", icon: { lightPNG: AssetRegistry112, darkPNG: AssetRegistry113, whitePNG: AssetRegistry113, lightSVG: AssetRegistry114, darkSVG: AssetRegistry115, whiteSVG: AssetRegistry115 }, getPlatformUserUrl(id) { return "https://" + id.id + "/"; }, enabled: true }; ({ lightPNG: AssetRegistry109, darkPNG: AssetRegistry109, whitePNG: AssetRegistry109, lightSVG: AssetRegistry110, darkSVG: AssetRegistry110, whiteSVG: AssetRegistry111 }); items[27] = obj58; const obj60 = { type: PlatformTypes.AMAZON_MUSIC, name: "Amazon Music", icon: { lightPNG: AssetRegistry116, darkPNG: AssetRegistry116, whitePNG: AssetRegistry116, lightSVG: AssetRegistry117, darkSVG: AssetRegistry117, whiteSVG: AssetRegistry117 }, enabled: true }; ({ lightPNG: AssetRegistry112, darkPNG: AssetRegistry113, whitePNG: AssetRegistry113, lightSVG: AssetRegistry114, darkSVG: AssetRegistry115, whiteSVG: AssetRegistry115 }); items[28] = obj60; const obj62 = { type: PlatformTypes.META_QUEST_OR_HORIZON, name: "Meta Quest", icon: { lightPNG: AssetRegistry118, darkPNG: AssetRegistry119, whitePNG: AssetRegistry120, lightSVG: AssetRegistry121, darkSVG: AssetRegistry122, whiteSVG: AssetRegistry122 }, enabled: false }; ({ lightPNG: AssetRegistry116, darkPNG: AssetRegistry116, whitePNG: AssetRegistry116, lightSVG: AssetRegistry117, darkSVG: AssetRegistry117, whiteSVG: AssetRegistry117 }); items[29] = obj62; ({ lightPNG: AssetRegistry118, darkPNG: AssetRegistry119, whitePNG: AssetRegistry120, lightSVG: AssetRegistry121, darkSVG: AssetRegistry122, whiteSVG: AssetRegistry122 }); let closure_4 = module_12.keyBy(items, "type"); let closure_5 = {}; let item = items.forEach((domains) => { let closure_0 = domains; domains = domains.domains; if (domains != null) { const item = domains.forEach((item) => { closure_5[item] = domains; }); } }); const obj64 = { get(arg0) { let tmp = closure_4[arg0]; if (tmp == null) { tmp = null; } return tmp; }, getByUrl(url) { const obj = URLUtilsDefault; const toURLSafeResult = obj.toURLSafe(url); if (null != toURLSafeResult) { const hostname = toURLSafeResult.hostname; let substr = hostname; if (hostname.startsWith("www.")) { substr = hostname.slice(4); } return closure_5[substr]; } }, isSupported(arg0) { hasOwnProperty = Object.prototype.hasOwnProperty; return hasOwnProperty.call(closure_4, arg0); }, map(arg0) { return items.map(arg0); }, filter(arg0) { const found = items.filter(arg0); const sorted = found.sort((name, name2) => { name = name.name; return name.localeCompare(name2.name); }); return found; }, find(cResult) { return items.find(cResult); } }; const result = size.fileFinishedImporting("lib/Platforms.tsx"); export default obj64;