// Module ID: 5297 // Function ID: 5298 // Name: Platforms // Dependencies: [1074, 1921, 575, 5298, 5299, 5300, 5301, 5302, 5303, 5304, 5305, 5306, 5307, 5308, 5309, 1922, 5310, 5311, 5312, 5313, 5314, 5315, 5316, 5317, 5318, 5319, 5320, 5321, 5322, 5323, 5324, 5325, 5326, 5327, 5328, 5329, 5330, 5331, 5332, 5333, 5334, 5335, 5336, 5337, 5338, 5339, 5340, 5341, 5342, 5343, 5344, 5345, 5346, 5347, 5348, 5349, 5350, 5351, 5352, 5353, 5354, 5355, 5356, 5357, 5358, 5359, 5360, 5361, 5362, 5363, 5364, 5365, 5366, 5367, 5368, 5369, 5370, 5371, 5372, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5382, 5383, 5384, 5385, 5386, 5387, 5388, 5389, 5390, 5391, 5392, 5393, 5394, 5395, 5396, 5397, 5398, 5399, 5400, 5401, 5402, 5403, 5404, 5405, 5406, 5407, 5408, 5409, 5410, 5411, 5412, 5413, 5414, 5415, 5416, 5417, 5418, 5419, 12, 1365, 2] // Module 5297 (Platforms) import Constants from "Constants" /* 1074 */; import URLUtilsDefault from "URLUtils" /* 1365 */; import UserApplicationIdentityConstants from "UserApplicationIdentityConstants" /* 1921 */; import socialSDKMigration from "socialSDKMigration" /* 1922 */; import _mod5298 from "module_5298" /* 5298 */; import _mod5299 from "module_5299" /* 5299 */; import _mod5300 from "module_5300" /* 5300 */; import _mod5301 from "module_5301" /* 5301 */; import _mod5302 from "module_5302" /* 5302 */; import _mod5303 from "module_5303" /* 5303 */; import _mod5304 from "module_5304" /* 5304 */; import _mod5305 from "module_5305" /* 5305 */; import _mod5306 from "module_5306" /* 5306 */; import _mod5307 from "module_5307" /* 5307 */; import _mod5308 from "module_5308" /* 5308 */; import _mod5309 from "module_5309" /* 5309 */; import _mod5310 from "module_5310" /* 5310 */; import _mod5311 from "module_5311" /* 5311 */; import _mod5312 from "module_5312" /* 5312 */; import _mod5313 from "module_5313" /* 5313 */; import _mod5314 from "module_5314" /* 5314 */; import _mod5315 from "module_5315" /* 5315 */; import _mod5316 from "module_5316" /* 5316 */; import _mod5317 from "module_5317" /* 5317 */; import _mod5318 from "module_5318" /* 5318 */; import _mod5319 from "module_5319" /* 5319 */; import _mod5320 from "module_5320" /* 5320 */; import _mod5321 from "module_5321" /* 5321 */; import _mod5322 from "module_5322" /* 5322 */; import _mod5323 from "module_5323" /* 5323 */; import _mod5324 from "module_5324" /* 5324 */; import _mod5325 from "module_5325" /* 5325 */; import _mod5326 from "module_5326" /* 5326 */; import _mod5327 from "module_5327" /* 5327 */; import _mod5328 from "module_5328" /* 5328 */; import _mod5329 from "module_5329" /* 5329 */; import _mod5330 from "module_5330" /* 5330 */; import _mod5331 from "module_5331" /* 5331 */; import _mod5332 from "module_5332" /* 5332 */; import _mod5333 from "module_5333" /* 5333 */; import _mod5334 from "module_5334" /* 5334 */; import _mod5335 from "module_5335" /* 5335 */; import _mod5336 from "module_5336" /* 5336 */; import _mod5337 from "module_5337" /* 5337 */; import _mod5338 from "module_5338" /* 5338 */; import _mod5339 from "module_5339" /* 5339 */; import _mod5340 from "module_5340" /* 5340 */; import _mod5341 from "module_5341" /* 5341 */; import _mod5342 from "module_5342" /* 5342 */; import _mod5343 from "module_5343" /* 5343 */; import _mod5344 from "module_5344" /* 5344 */; import _mod5345 from "module_5345" /* 5345 */; import _mod5346 from "module_5346" /* 5346 */; import _mod5347 from "module_5347" /* 5347 */; import _mod5348 from "module_5348" /* 5348 */; import _mod5349 from "module_5349" /* 5349 */; import _mod5350 from "module_5350" /* 5350 */; import _mod5351 from "module_5351" /* 5351 */; import _mod5352 from "module_5352" /* 5352 */; import _mod5353 from "module_5353" /* 5353 */; import _mod5354 from "module_5354" /* 5354 */; import _mod5355 from "module_5355" /* 5355 */; import _mod5356 from "module_5356" /* 5356 */; import _mod5357 from "module_5357" /* 5357 */; import _mod5358 from "module_5358" /* 5358 */; import _mod5359 from "module_5359" /* 5359 */; import _mod5360 from "module_5360" /* 5360 */; import _mod5361 from "module_5361" /* 5361 */; import _mod5362 from "module_5362" /* 5362 */; import _mod5363 from "module_5363" /* 5363 */; import _mod5364 from "module_5364" /* 5364 */; import _mod5365 from "module_5365" /* 5365 */; import _mod5366 from "module_5366" /* 5366 */; import _mod5367 from "module_5367" /* 5367 */; import _mod5368 from "module_5368" /* 5368 */; import _mod5369 from "module_5369" /* 5369 */; import _mod5370 from "module_5370" /* 5370 */; import _mod5371 from "module_5371" /* 5371 */; import _mod5372 from "module_5372" /* 5372 */; import _mod5373 from "module_5373" /* 5373 */; import _mod5374 from "module_5374" /* 5374 */; import _mod5375 from "module_5375" /* 5375 */; import _mod5376 from "module_5376" /* 5376 */; import _mod5377 from "module_5377" /* 5377 */; import _mod5378 from "module_5378" /* 5378 */; import _mod5379 from "module_5379" /* 5379 */; import _mod5380 from "module_5380" /* 5380 */; import _mod5381 from "module_5381" /* 5381 */; import _mod5382 from "module_5382" /* 5382 */; import _mod5383 from "module_5383" /* 5383 */; import _mod5384 from "module_5384" /* 5384 */; import _mod5385 from "module_5385" /* 5385 */; import _mod5386 from "module_5386" /* 5386 */; import _mod5387 from "module_5387" /* 5387 */; import _mod5388 from "module_5388" /* 5388 */; import _mod5389 from "module_5389" /* 5389 */; import _mod5390 from "module_5390" /* 5390 */; import _mod5391 from "module_5391" /* 5391 */; import _mod5392 from "module_5392" /* 5392 */; import _mod5393 from "module_5393" /* 5393 */; import _mod5394 from "module_5394" /* 5394 */; import _mod5395 from "module_5395" /* 5395 */; import _mod5396 from "module_5396" /* 5396 */; import _mod5397 from "module_5397" /* 5397 */; import _mod5398 from "module_5398" /* 5398 */; import _mod5399 from "module_5399" /* 5399 */; import _mod5400 from "module_5400" /* 5400 */; import _mod5401 from "module_5401" /* 5401 */; import _mod5402 from "module_5402" /* 5402 */; import _mod5403 from "module_5403" /* 5403 */; import _mod5404 from "module_5404" /* 5404 */; import _mod5405 from "module_5405" /* 5405 */; import _mod5406 from "module_5406" /* 5406 */; import _mod5407 from "module_5407" /* 5407 */; import _mod5408 from "module_5408" /* 5408 */; import _mod5409 from "module_5409" /* 5409 */; import _mod5410 from "module_5410" /* 5410 */; import _mod5411 from "module_5411" /* 5411 */; import _mod5412 from "module_5412" /* 5412 */; import _mod5413 from "module_5413" /* 5413 */; import _mod5414 from "module_5414" /* 5414 */; import _mod5415 from "module_5415" /* 5415 */; import _mod5416 from "module_5416" /* 5416 */; import _mod5417 from "module_5417" /* 5417 */; import _mod5418 from "module_5418" /* 5418 */; import _mod5419 from "module_5419" /* 5419 */; import shims_mod from "shims" /* 575 */; import apply from "module_12" /* 12 */; import size from "module_2" /* 2 */; const PlatformTypes = Constants.PlatformTypes; const ApplicationIdentityAppIds = UserApplicationIdentityConstants.ApplicationIdentityAppIds; let obj = { type: PlatformTypes.TWITCH, name: "Twitch", color: null, icon: null, enabled: true, getPlatformUserUrl: null, domains: null }; let shims = shims_mod; obj.color = shims.unsafe_getRawColor("PLATFORM_TWITCH"); obj.icon = { lightPNG: _mod5298, darkPNG: _mod5298, whitePNG: _mod5299, lightSVG: _mod5300, darkSVG: _mod5300, whiteSVG: _mod5301 }; obj.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://www.twitch.tv/" + encodeURIComponent(name.name); }; obj.domains = ["twitch.tv", "twitch.com"]; const items = [obj, , , , , , , , , , , , , , , , , , , , , , , , , , , , , ]; const obj3 = { type: PlatformTypes.YOUTUBE, name: "YouTube", color: null, icon: null, enabled: true, getPlatformUserUrl: null, domains: null }; let shims = shims_mod; obj3.color = shims.unsafe_getRawColor("PLATFORM_YOUTUBE"); const obj2 = { lightPNG: _mod5298, darkPNG: _mod5298, whitePNG: _mod5299, lightSVG: _mod5300, darkSVG: _mod5300, whiteSVG: _mod5301 }; obj3.icon = { lightPNG: _mod5302, darkPNG: _mod5302, whitePNG: _mod5303, lightSVG: _mod5304, darkSVG: _mod5304, whiteSVG: _mod5305 }; obj3.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://www.youtube.com/channel/" + encodeURIComponent(id.id); }; obj3.domains = ["youtube.com", "youtu.be"]; items[1] = obj3; const obj5 = { type: PlatformTypes.BATTLENET, name: "Battle.net", color: null, icon: null, enabled: true, migrationData: null }; let shims = shims_mod; obj5.color = shims.unsafe_getRawColor("PLATFORM_BATTLENET"); const obj4 = { lightPNG: _mod5302, darkPNG: _mod5302, whitePNG: _mod5303, lightSVG: _mod5304, darkSVG: _mod5304, whiteSVG: _mod5305 }; obj5.icon = { lightPNG: _mod5306, darkPNG: _mod5306, whitePNG: _mod5307, lightSVG: _mod5308, darkSVG: _mod5308, whiteSVG: _mod5309, blackSVG: _mod5308 }; const obj7 = { replacedBy: ApplicationIdentityAppIds.BATTLENET, getMigrationExperimentEnabled(location) { const battlenetSocialSDKMigrationExperiment = socialSDKMigration.battlenetSocialSDKMigrationExperiment; return battlenetSocialSDKMigrationExperiment.getConfig({ location }).enabled; }, helpCenterLink: "https://discord.com/blog/link-world-of-warcraft-with-discord", deprecationDate: null }; const obj6 = { lightPNG: _mod5306, darkPNG: _mod5306, whitePNG: _mod5307, lightSVG: _mod5308, darkSVG: _mod5308, whiteSVG: _mod5309, blackSVG: _mod5308 }; obj7.deprecationDate = new Date("2026-09-22Z-07:00"); obj5.migrationData = obj7; items[2] = obj5; const obj8 = { type: PlatformTypes.BLUESKY, name: "Bluesky", icon: null, enabled: true, getPlatformUserUrl: null, isFederated: true, hasMetadata: true }; const date = new Date("2026-09-22Z-07:00"); obj8.icon = { lightPNG: _mod5310, darkPNG: _mod5310, whitePNG: _mod5311, lightSVG: _mod5312, darkSVG: _mod5312, whiteSVG: _mod5313 }; obj8.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://bsky.app/profile/" + encodeURIComponent(id.id).replaceAll("%3A", ":"); }; items[3] = obj8; const obj10 = { type: PlatformTypes.BUNGIE, name: "Bungie.net", color: null, icon: null, enabled: true }; let shims = shims_mod; obj10.color = shims.unsafe_getRawColor("PLATFORM_BUNGIE"); const obj9 = { lightPNG: _mod5310, darkPNG: _mod5310, whitePNG: _mod5311, lightSVG: _mod5312, darkSVG: _mod5312, whiteSVG: _mod5313 }; obj10.icon = { lightPNG: _mod5314, darkPNG: _mod5315, whitePNG: _mod5316, lightSVG: _mod5317, darkSVG: _mod5318, whiteSVG: _mod5319 }; items[4] = obj10; const obj12 = { type: PlatformTypes.SKYPE, name: "Skype", color: null, icon: null, enabled: false, getPlatformUserUrl: null }; let shims = shims_mod; obj12.color = shims.unsafe_getRawColor("PLATFORM_SKYPE"); const obj11 = { lightPNG: _mod5314, darkPNG: _mod5315, whitePNG: _mod5316, lightSVG: _mod5317, darkSVG: _mod5318, whiteSVG: _mod5319 }; obj12.icon = { lightPNG: _mod5320, darkPNG: _mod5320, whitePNG: _mod5321, lightSVG: _mod5322, darkSVG: _mod5322, whiteSVG: _mod5323 }; obj12.getPlatformUserUrl = function getPlatformUserUrl(id) { return "skype:" + encodeURIComponent(id.id) + "?userinfo"; }; items[5] = obj12; const obj14 = { type: PlatformTypes.LEAGUE_OF_LEGENDS, name: "League of Legends", color: null, icon: null, enabled: true, migrationData: null }; let shims = shims_mod; obj14.color = shims.unsafe_getRawColor("PLATFORM_LOL"); const obj13 = { lightPNG: _mod5320, darkPNG: _mod5320, whitePNG: _mod5321, lightSVG: _mod5322, darkSVG: _mod5322, whiteSVG: _mod5323 }; obj14.icon = { lightPNG: _mod5324, darkPNG: _mod5324, whitePNG: _mod5325, lightSVG: _mod5326, darkSVG: _mod5326, whiteSVG: _mod5327 }; const obj16 = { replacedBy: ApplicationIdentityAppIds.RIOT_GAMES, getMigrationExperimentEnabled() { return true; }, helpCenterLink: "https://www.riotgames.com/en/riot-games-discord-account-linking", deprecationDate: null }; const obj15 = { lightPNG: _mod5324, darkPNG: _mod5324, whitePNG: _mod5325, lightSVG: _mod5326, darkSVG: _mod5326, whiteSVG: _mod5327 }; obj16.deprecationDate = new Date("2026-07-10Z-07:00"); obj14.migrationData = obj16; items[6] = obj14; const obj17 = { type: PlatformTypes.STEAM, name: "Steam", color: null, icon: null, enabled: true, getPlatformUserUrl: null, hasMetadata: true }; let shims = shims_mod; obj17.color = shims.unsafe_getRawColor("PLATFORM_STEAM"); const date1 = new Date("2026-07-10Z-07:00"); obj17.icon = { lightPNG: _mod5328, darkPNG: _mod5329, whitePNG: _mod5329, lightSVG: _mod5330, darkSVG: _mod5331, whiteSVG: _mod5331 }; obj17.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://steamcommunity.com/profiles/" + encodeURIComponent(id.id); }; items[7] = obj17; const obj19 = { type: PlatformTypes.REDDIT, name: "Reddit", color: null, icon: null, enabled: true, domains: null, getPlatformUserUrl: null, hasMetadata: true }; let shims = shims_mod; obj19.color = shims.unsafe_getRawColor("PLATFORM_REDDIT"); const obj18 = { lightPNG: _mod5328, darkPNG: _mod5329, whitePNG: _mod5329, lightSVG: _mod5330, darkSVG: _mod5331, whiteSVG: _mod5331 }; obj19.icon = { lightPNG: _mod5332, darkPNG: _mod5332, whitePNG: _mod5333, lightSVG: _mod5334, darkSVG: _mod5334, whiteSVG: _mod5335 }; obj19.domains = ["reddit.com"]; obj19.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://www.reddit.com/u/" + encodeURIComponent(name.name); }; items[8] = obj19; const obj21 = { type: PlatformTypes.FACEBOOK, name: "Facebook", color: null, icon: null, domains: null, enabled: true }; let shims = shims_mod; obj21.color = shims.unsafe_getRawColor("PLATFORM_FACEBOOK"); const obj20 = { lightPNG: _mod5332, darkPNG: _mod5332, whitePNG: _mod5333, lightSVG: _mod5334, darkSVG: _mod5334, whiteSVG: _mod5335 }; obj21.icon = { lightPNG: _mod5336, darkPNG: _mod5336, whitePNG: _mod5337, lightSVG: _mod5338, darkSVG: _mod5338, whiteSVG: _mod5339 }; obj21.domains = ["facebook.com"]; items[9] = obj21; const obj23 = { type: PlatformTypes.TWITTER_LEGACY, name: "Twitter", color: null, icon: null, enabled: false, getPlatformUserUrl: null, domains: null, hasMetadata: true }; let shims = shims_mod; obj23.color = shims.unsafe_getRawColor("PLATFORM_TWITTER"); const obj22 = { lightPNG: _mod5336, darkPNG: _mod5336, whitePNG: _mod5337, lightSVG: _mod5338, darkSVG: _mod5338, whiteSVG: _mod5339 }; obj23.icon = { lightPNG: _mod5340, darkPNG: _mod5340, whitePNG: _mod5341, lightSVG: _mod5342, darkSVG: _mod5342, whiteSVG: _mod5343 }; obj23.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://twitter.com/" + encodeURIComponent(name.name); }; obj23.domains = ["twitter.com"]; items[10] = obj23; const obj25 = { type: PlatformTypes.TWITTER, name: "X", color: null, icon: null, enabled: true, getPlatformUserUrl: null, domains: null, hasMetadata: true }; let shims = shims_mod; obj25.color = shims.unsafe_getRawColor("PLATFORM_TWITTER"); const obj24 = { lightPNG: _mod5340, darkPNG: _mod5340, whitePNG: _mod5341, lightSVG: _mod5342, darkSVG: _mod5342, whiteSVG: _mod5343 }; obj25.icon = { lightPNG: _mod5344, darkPNG: _mod5345, whitePNG: _mod5346, lightSVG: _mod5347, darkSVG: _mod5348, whiteSVG: _mod5349 }; obj25.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://x.com/" + encodeURIComponent(name.name); }; obj25.domains = ["x.com"]; items[11] = obj25; const obj27 = { type: PlatformTypes.SPOTIFY, name: "Spotify", color: null, icon: null, enabled: true, getPlatformUserUrl: null }; let shims = shims_mod; obj27.color = shims.unsafe_getRawColor("PLATFORM_SPOTIFY"); const obj26 = { lightPNG: _mod5344, darkPNG: _mod5345, whitePNG: _mod5346, lightSVG: _mod5347, darkSVG: _mod5348, whiteSVG: _mod5349 }; obj27.icon = { lightPNG: _mod5350, darkPNG: _mod5350, whitePNG: _mod5351, lightSVG: _mod5352, darkSVG: _mod5352, whiteSVG: _mod5353 }; obj27.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://open.spotify.com/user/" + encodeURIComponent(id.id); }; items[12] = obj27; const obj29 = { type: PlatformTypes.XBOX, name: "Xbox", color: null, icon: null, enabled: true }; let shims = shims_mod; obj29.color = shims.unsafe_getRawColor("PLATFORM_XBOX"); const obj28 = { lightPNG: _mod5350, darkPNG: _mod5350, whitePNG: _mod5351, lightSVG: _mod5352, darkSVG: _mod5352, whiteSVG: _mod5353 }; obj29.icon = { lightPNG: _mod5354, darkPNG: _mod5355, whitePNG: _mod5355, lightSVG: _mod5356, darkSVG: _mod5357, whiteSVG: _mod5357, customPNG: _mod5358 }; items[13] = obj29; const obj31 = { type: PlatformTypes.SAMSUNG, name: "Samsung Galaxy", color: null, icon: null, enabled: false }; let shims = shims_mod; obj31.color = shims.unsafe_getRawColor("PLATFORM_SAMSUNG"); const obj30 = { lightPNG: _mod5354, darkPNG: _mod5355, whitePNG: _mod5355, lightSVG: _mod5356, darkSVG: _mod5357, whiteSVG: _mod5357, customPNG: _mod5358 }; obj31.icon = { lightPNG: _mod5359, darkPNG: _mod5359, whitePNG: _mod5360, lightSVG: _mod5361, darkSVG: _mod5361, whiteSVG: _mod5362 }; items[14] = obj31; const obj33 = { type: PlatformTypes.GITHUB, name: "GitHub", color: null, icon: null, enabled: true, getPlatformUserUrl: null, domains: null }; let shims = shims_mod; obj33.color = shims.unsafe_getRawColor("PLATFORM_GITHUB"); const obj32 = { lightPNG: _mod5359, darkPNG: _mod5359, whitePNG: _mod5360, lightSVG: _mod5361, darkSVG: _mod5361, whiteSVG: _mod5362 }; obj33.icon = { lightPNG: _mod5363, darkPNG: _mod5364, whitePNG: _mod5364, lightSVG: _mod5365, darkSVG: _mod5366, whiteSVG: _mod5366 }; obj33.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://github.com/" + encodeURIComponent(name.name); }; obj33.domains = ["github.com"]; items[15] = obj33; const obj35 = { type: PlatformTypes.PLAYSTATION, name: "PlayStation Network", color: null, icon: null, enabled: true }; let shims = shims_mod; obj35.color = shims.unsafe_getRawColor("PLATFORM_PLAYSTATION"); const obj34 = { lightPNG: _mod5363, darkPNG: _mod5364, whitePNG: _mod5364, lightSVG: _mod5365, darkSVG: _mod5366, whiteSVG: _mod5366 }; obj35.icon = { lightPNG: _mod5367, darkPNG: _mod5368, whitePNG: _mod5368, lightSVG: _mod5369, darkSVG: _mod5370, whiteSVG: _mod5370 }; items[16] = obj35; const obj37 = { type: PlatformTypes.PLAYSTATION_STAGING, name: "PlayStation Network (Staging)", color: null, icon: null, enabled: false }; let shims = shims_mod; obj37.color = shims.unsafe_getRawColor("PLATFORM_PLAYSTATION"); const obj36 = { lightPNG: _mod5367, darkPNG: _mod5368, whitePNG: _mod5368, lightSVG: _mod5369, darkSVG: _mod5370, whiteSVG: _mod5370 }; obj37.icon = { lightPNG: _mod5368, darkPNG: _mod5367, whitePNG: _mod5367, lightSVG: _mod5370, darkSVG: _mod5369, whiteSVG: _mod5369 }; items[17] = obj37; const obj39 = { type: PlatformTypes.EPIC_GAMES, name: "Epic Games", icon: null, enabled: true }; const obj38 = { lightPNG: _mod5368, darkPNG: _mod5367, whitePNG: _mod5367, lightSVG: _mod5370, darkSVG: _mod5369, whiteSVG: _mod5369 }; obj39.icon = { lightPNG: _mod5371, darkPNG: _mod5372, whitePNG: _mod5372, lightSVG: _mod5373, darkSVG: _mod5374, whiteSVG: _mod5374 }; items[18] = obj39; const obj41 = { type: PlatformTypes.RIOT_GAMES, name: "Riot Games", icon: null, enabled: true, migrationData: null }; const obj40 = { lightPNG: _mod5371, darkPNG: _mod5372, whitePNG: _mod5372, lightSVG: _mod5373, darkSVG: _mod5374, whiteSVG: _mod5374 }; obj41.icon = { lightPNG: _mod5375, darkPNG: _mod5375, whitePNG: _mod5376, lightSVG: _mod5377, darkSVG: _mod5377, whiteSVG: _mod5378, blackSVG: _mod5379 }; const obj43 = { replacedBy: ApplicationIdentityAppIds.RIOT_GAMES, getMigrationExperimentEnabled() { return true; }, helpCenterLink: "https://www.riotgames.com/en/riot-games-discord-account-linking", deprecationDate: null }; const obj42 = { lightPNG: _mod5375, darkPNG: _mod5375, whitePNG: _mod5376, lightSVG: _mod5377, darkSVG: _mod5377, whiteSVG: _mod5378, blackSVG: _mod5379 }; obj43.deprecationDate = new Date("2026-07-10Z-07:00"); obj41.migrationData = obj43; items[19] = obj41; const obj44 = { type: PlatformTypes.ROBLOX, name: "Roblox", icon: null, enabled: true, getPlatformUserUrl: null }; const date2 = new Date("2026-07-10Z-07:00"); obj44.icon = { lightPNG: _mod5380, darkPNG: _mod5381, whitePNG: _mod5382, lightSVG: _mod5383, darkSVG: _mod5384, whiteSVG: _mod5385 }; obj44.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://roblox.com/users/" + encodeURIComponent(id.id) + "/profile"; }; items[20] = obj44; const obj46 = { type: PlatformTypes.PAYPAL, name: "PayPal", icon: null, enabled: true, hasMetadata: true }; const obj45 = { lightPNG: _mod5380, darkPNG: _mod5381, whitePNG: _mod5382, lightSVG: _mod5383, darkSVG: _mod5384, whiteSVG: _mod5385 }; obj46.icon = { lightPNG: _mod5386, darkPNG: _mod5386, whitePNG: _mod5387, lightSVG: _mod5388, darkSVG: _mod5388, whiteSVG: _mod5389 }; items[21] = obj46; const obj48 = { type: PlatformTypes.EBAY, name: "eBay", icon: null, enabled: true, hasMetadata: true, getPlatformUserUrl: null }; const obj47 = { lightPNG: _mod5386, darkPNG: _mod5386, whitePNG: _mod5387, lightSVG: _mod5388, darkSVG: _mod5388, whiteSVG: _mod5389 }; obj48.icon = { lightPNG: _mod5390, darkPNG: _mod5390, whitePNG: _mod5391, lightSVG: _mod5392, darkSVG: _mod5392, whiteSVG: _mod5393 }; obj48.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://www.ebay.com/usr/" + encodeURIComponent(name.name); }; items[22] = obj48; const obj50 = { type: PlatformTypes.TIKTOK, name: "TikTok", icon: null, enabled: false, hasMetadata: true, domains: null, getPlatformUserUrl: null }; const obj49 = { lightPNG: _mod5390, darkPNG: _mod5390, whitePNG: _mod5391, lightSVG: _mod5392, darkSVG: _mod5392, whiteSVG: _mod5393 }; obj50.icon = { lightPNG: _mod5394, darkPNG: _mod5395, whitePNG: _mod5395, lightSVG: _mod5396, darkSVG: _mod5397, whiteSVG: _mod5397 }; obj50.domains = ["tiktok.com"]; obj50.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://www.tiktok.com/@" + encodeURIComponent(name.name); }; items[23] = obj50; const obj52 = { type: PlatformTypes.INSTAGRAM, name: "Instagram", icon: null, enabled: false, domains: null, getPlatformUserUrl: null }; const obj51 = { lightPNG: _mod5394, darkPNG: _mod5395, whitePNG: _mod5395, lightSVG: _mod5396, darkSVG: _mod5397, whiteSVG: _mod5397 }; obj52.icon = { lightPNG: _mod5398, darkPNG: _mod5398, whitePNG: _mod5399, lightSVG: _mod5400, darkSVG: _mod5400, whiteSVG: _mod5401 }; obj52.domains = ["instagram.com"]; obj52.getPlatformUserUrl = function getPlatformUserUrl(name) { return "https://www.instagram.com/" + encodeURIComponent(name.name); }; items[24] = obj52; const obj54 = { type: PlatformTypes.MASTODON, name: "Mastodon", icon: null, enabled: false, getPlatformUserUrl: null, isFederated: true, hasMetadata: true }; const obj53 = { lightPNG: _mod5398, darkPNG: _mod5398, whitePNG: _mod5399, lightSVG: _mod5400, darkSVG: _mod5400, whiteSVG: _mod5401 }; obj54.icon = { lightPNG: _mod5402, darkPNG: _mod5402, whitePNG: _mod5403, lightSVG: _mod5404, darkSVG: _mod5404, whiteSVG: _mod5405 }; obj54.getPlatformUserUrl = function getPlatformUserUrl(id) { return id.id; }; items[25] = obj54; const obj56 = { type: PlatformTypes.CRUNCHYROLL, name: "Crunchyroll", color: null, icon: null, enabled: true }; let shims = shims_mod; obj56.color = shims.unsafe_getRawColor("PLATFORM_CRUNCHYROLL"); const obj55 = { lightPNG: _mod5402, darkPNG: _mod5402, whitePNG: _mod5403, lightSVG: _mod5404, darkSVG: _mod5404, whiteSVG: _mod5405 }; obj56.icon = { lightPNG: _mod5406, darkPNG: _mod5406, whitePNG: _mod5406, lightSVG: _mod5407, darkSVG: _mod5407, whiteSVG: _mod5408 }; items[26] = obj56; const obj58 = { type: PlatformTypes.DOMAIN, name: "Domain", icon: null, getPlatformUserUrl: null, enabled: true }; const obj57 = { lightPNG: _mod5406, darkPNG: _mod5406, whitePNG: _mod5406, lightSVG: _mod5407, darkSVG: _mod5407, whiteSVG: _mod5408 }; obj58.icon = { lightPNG: _mod5409, darkPNG: _mod5410, whitePNG: _mod5410, lightSVG: _mod5411, darkSVG: _mod5412, whiteSVG: _mod5412 }; obj58.getPlatformUserUrl = function getPlatformUserUrl(id) { return "https://" + id.id + "/"; }; items[27] = obj58; const obj60 = { type: PlatformTypes.AMAZON_MUSIC, name: "Amazon Music", icon: null, enabled: true }; const obj59 = { lightPNG: _mod5409, darkPNG: _mod5410, whitePNG: _mod5410, lightSVG: _mod5411, darkSVG: _mod5412, whiteSVG: _mod5412 }; obj60.icon = { lightPNG: _mod5413, darkPNG: _mod5413, whitePNG: _mod5413, lightSVG: _mod5414, darkSVG: _mod5414, whiteSVG: _mod5414 }; items[28] = obj60; const obj62 = { type: PlatformTypes.META_QUEST_OR_HORIZON, name: "Meta Quest", icon: null, enabled: false }; const obj61 = { lightPNG: _mod5413, darkPNG: _mod5413, whitePNG: _mod5413, lightSVG: _mod5414, darkSVG: _mod5414, whiteSVG: _mod5414 }; obj62.icon = { lightPNG: _mod5415, darkPNG: _mod5416, whitePNG: _mod5417, lightSVG: _mod5418, darkSVG: _mod5419, whiteSVG: _mod5419 }; items[29] = obj62; let closure_4 = apply.keyBy(items, "type"); let closure_5 = {}; let item = items.forEach((domains) => { closure_0 = domains; domains = domains.domains; if (domains != null) { const item = domains.forEach((item) => { closure_5[item] = closure_0; }); } }); const result = size.fileFinishedImporting("lib/Platforms.tsx"); export default { get(arg0) { let tmp = closure_4[arg0]; if (tmp == null) { tmp = null; } return tmp; }, getByUrl(url) { const toURLSafeResult = URLUtilsDefault.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(key10009) { hasOwnProperty = Object.prototype.hasOwnProperty; const call = hasOwnProperty.call; return typeof call === "unknown" ? hasOwnProperty(key10009) : call(closure_4, key10009); }, 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(_messages) { return items.find(_messages); } };