diff --git a/info/endpoints.json b/info/endpoints.json index 38d1ff3..a1c6749 100644 --- a/info/endpoints.json +++ b/info/endpoints.json @@ -1,13 +1,13 @@ { - "i18n/ar": "cf5b9cd", - "i18n/ar-x-fm": "c23fbda", - "i18n/bg": "e86f9aa", - "i18n/bn": "ad83940", - "i18n/ca": "2cf3966", - "i18n/cs": "83fcdaf", - "i18n/da": "6412fdb", - "i18n/de": "22adfe3", - "i18n/el": "d298faa", + "i18n/ar": "f40247c", + "i18n/ar-x-fm": "dd38f69", + "i18n/bg": "5974e23", + "i18n/bn": "eafa87d", + "i18n/ca": "7a8f83f", + "i18n/cs": "83f18b1", + "i18n/da": "25387bf", + "i18n/de": "fc8b385", + "i18n/el": "714aafd", "i18n/emoji-ar": "d480da3", "i18n/emoji-ar-x-fm": "b32f90c", "i18n/emoji-bg": "5f2c4fe", @@ -61,175 +61,175 @@ "i18n/emoji-yo": "dfb1357", "i18n/emoji-zh": "638d0b6", "i18n/emoji-zh-Hant": "acd7c04", - "i18n/en": "c35cf36", - "i18n/en-GB": "ae31230", - "i18n/en-ss": "bec37e1", - "i18n/en-xx": "c7d1387", - "i18n/es": "9e6b378", - "i18n/eu": "1f8f4ea", - "i18n/fa": "09dd650", - "i18n/fi": "08e407e", - "i18n/fil": "5cd1794", - "i18n/fr": "d4727ed", - "i18n/ga": "dd51a61", - "i18n/gl": "2a5a12a", - "i18n/gu": "77f6ebc", - "i18n/ha": "7f48a3c", - "i18n/he": "1a77c47", - "i18n/hi": "1bcf079", - "i18n/hr": "0de55a6", - "i18n/hu": "dfb58a1", - "i18n/id": "d7956c9", - "i18n/ig": "e01f6af", - "i18n/index-node": "1ef2b72", - "i18n/it": "d74b13f", - "i18n/ja": "412e9b0", - "i18n/kn": "fbab3b0", - "i18n/ko": "720d437", - "i18n/mr": "131ec10", - "i18n/ms": "5e1369b", - "i18n/nb": "ec973f0", - "i18n/nl": "bccc7b1", - "i18n/pl": "6951a0b", - "i18n/pt": "c8810d6", - "i18n/ro": "2e6e0a0", - "i18n/ru": "743b3ba", - "i18n/sk": "cb5ef32", - "i18n/sr": "f17c25d", - "i18n/sv": "ab0e38e", - "i18n/ta": "a126027", - "i18n/th": "5fe0611", - "i18n/tr": "b2ff854", - "i18n/uk": "cf3aff1", - "i18n/ur": "74cdccf", - "i18n/vi": "79ba8a1", - "i18n/yo": "2d3131e", - "i18n/zh": "8392b3b", - "i18n/zh-Hant": "8b114f2", + "i18n/en": "03c516f", + "i18n/en-GB": "03e844a", + "i18n/en-ss": "b7403a4", + "i18n/en-xx": "145d7a3", + "i18n/es": "780f7e2", + "i18n/eu": "4f6d7b4", + "i18n/fa": "d448049", + "i18n/fi": "4062b4c", + "i18n/fil": "94b763f", + "i18n/fr": "5251327", + "i18n/ga": "27343e3", + "i18n/gl": "70f8634", + "i18n/gu": "728a0c6", + "i18n/ha": "90a5e7c", + "i18n/he": "af85ce9", + "i18n/hi": "9a0489a", + "i18n/hr": "a44f899", + "i18n/hu": "f0d37a4", + "i18n/id": "79ce578", + "i18n/ig": "6fabd08", + "i18n/index-node": "5ea896b", + "i18n/it": "242ca12", + "i18n/ja": "f01ff82", + "i18n/kn": "c1634a4", + "i18n/ko": "a41927f", + "i18n/mr": "a38bca5", + "i18n/ms": "29b9646", + "i18n/nb": "faa572c", + "i18n/nl": "9f93991", + "i18n/pl": "448d3e9", + "i18n/pt": "cc78547", + "i18n/ro": "0c9c8b7", + "i18n/ru": "e931974", + "i18n/sk": "af4a591", + "i18n/sr": "dc82a9d", + "i18n/sv": "2429856", + "i18n/ta": "f6e6535", + "i18n/th": "329d5b8", + "i18n/tr": "b9c9158", + "i18n/uk": "e932bad", + "i18n/ur": "c604f3e", + "i18n/vi": "2ac8a37", + "i18n/yo": "c825e59", + "i18n/zh": "c5899b8", + "i18n/zh-Hant": "b2359b7", "bundle.NetworkInstrument": "74afdc8", "shared~loader.AudioDock~loader.DashMenu~loader.SideNav~loader.Typeahead~loader.DMDrawer~bundle.Account~bundle": "5186603", - "shared~loader.AudioDock~loader.DMDrawer~bundle.AudioSpacePeek~bundle.AudioSpaceAnalytics~bundle.AudioSpaceRep": "fa83d97", + "shared~loader.AudioDock~loader.DMDrawer~bundle.AudioSpacePeek~bundle.AudioSpaceAnalytics~bundle.AudioSpaceRep": "33b8e64", "shared~loader.AudioDock~loader.AppModules~loader.DMDrawer~bundle.AboutThisAd~bundle.NotMyAccount~bundle.Multi": "175e521", "shared~loader.AudioDock~loader.DashMenu~loader.SideNav~loader.Typeahead~loader.AppModules~loader.DMDrawer~bun": "bc07420", "shared~loader.AudioDock~loader.SideNav~loader.Typeahead~loader.DMDrawer~bundle.MultiAccount~bundle.AudioSpace": "e09b14a", - "shared~loader.AudioDock~bundle.AudioSpacePeek~bundle.AudioSpaceAnalytics~bundle.AudioSpaceReport~bundle.Birdw": "0497bb7", + "shared~loader.AudioDock~bundle.AudioSpacePeek~bundle.AudioSpaceAnalytics~bundle.AudioSpaceReport~bundle.Birdw": "af58723", "shared~loader.AudioDock~loader.DMDrawer~bundle.AudioSpaceDetail~bundle.AudioSpacePeek~bundle.AudioSpaceDiscov": "d3dc717", "loader.AudioDock": "540b19e", "loader.richScribeAction": "ed012b2", "shared~loader.DashMenu~loader.DMDrawer~bundle.Articles~bundle.AudioSpacePeek~bundle.AudioSpaceAnalytics~bundl": "29388e7", "shared~loader.DashMenu~bundle.Account~bundle.Communities~bundle.ComposeMedia~ondemand.SettingsInternals~ondem": "12bdf3f", "shared~loader.DashMenu~bundle.Account~ondemand.SettingsRevamp~ondemand.SettingsMonetization~bundle.TweetCoinD": "0dd97ae", - "shared~loader.DashMenu~bundle.Account~bundle.LoggedOutHome~bundle.Search~bundle.TwitterBlue": "594a8a7", - "shared~loader.DashMenu~loader.SideNav~bundle.MultiAccount": "c901e10", - "shared~loader.DashMenu~bundle.Account": "a7f3d94", - "loader.DashMenu": "7c62dec", - "shared~loader.directMessagesData~loader.Typeahead~loader.DMDrawer~bundle.Communities~bundle.Compose~bundle.Ri": "f00c015", - "shared~loader.directMessagesData~loader.DMDrawer~ondemand.SettingsInternals~bundle.DirectMessages~bundle.DMRi": "a988b52", + "shared~loader.DashMenu~bundle.Account~bundle.LoggedOutHome~bundle.Search~bundle.TwitterBlue": "c00f848", + "shared~loader.DashMenu~loader.SideNav~bundle.MultiAccount": "3e93a5e", + "shared~loader.DashMenu~bundle.Account": "8a1ec1b", + "loader.DashMenu": "80986ee", + "shared~loader.directMessagesData~loader.Typeahead~loader.DMDrawer~bundle.Communities~bundle.Compose~bundle.Ri": "cc6179a", + "shared~loader.directMessagesData~loader.DMDrawer~ondemand.SettingsInternals~bundle.DirectMessages~bundle.DMRi": "6c0bf58", "shared~loader.Typeahead~loader.DMDrawer~bundle.MultiAccount~bundle.Articles~bundle.AudioSpaceDetail~bundle.Au": "3a0ccd1", - "shared~loader.Typeahead~loader.AppModules~loader.DMDrawer~bundle.Articles~bundle.AudioSpaceDetail~bundle.Audi": "bc4cc56", + "shared~loader.Typeahead~loader.AppModules~loader.DMDrawer~bundle.Articles~bundle.AudioSpaceDetail~bundle.Audi": "e736d71", "shared~loader.DMDrawer~bundle.Articles~bundle.AudioSpaceDetail~bundle.AudioSpaceDiscovery~bundle.AudioSpaceba": "dc4fa6d", - "shared~bundle.Articles~bundle.AudioSpaceDetail~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.B": "e0753eb", + "shared~bundle.Articles~bundle.AudioSpaceDetail~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.B": "6e59c9b", "shared~loader.DMDrawer~bundle.Articles~bundle.AudioSpacePeek~bundle.Birdwatch~~bundle.Communities~bundle.Comp": "edbade6", - "shared~bundle.AudioSpaceDetail~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.Birdwatch~bundle.": "8d1dc7f", - "shared~bundle.Birdwatch~bundle.Compose~bundle.RichTextCompose~bundle.Settings~bundle.Display~bundle.Ocf~bundl": "634a1e3", + "shared~bundle.AudioSpaceDetail~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.Birdwatch~bundle.": "27e8031", + "shared~bundle.Birdwatch~bundle.Compose~bundle.RichTextCompose~bundle.Settings~bundle.Display~bundle.Ocf~bundl": "c38de6b", "shared~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.Birdwatch~bundle.Bookmarks~bundle.Communi": "024d488", "shared~loader.DMDrawer~bundle.Articles~bundle.AudioSpaceDiscovery~bundle.Birdwatch~bundle.Communities~ondeman": "5d18951", - "shared~loader.DMDrawer~bundle.Bookmarks~bundle.Communities~bundle.DirectMessages~bundle.Explore~bundle.LiveEv": "9ec8f47", + "shared~loader.DMDrawer~bundle.Bookmarks~bundle.Communities~bundle.DirectMessages~bundle.Explore~bundle.LiveEv": "5224924", "shared~bundle.DirectMessages~loader.PushNotificationsPrompt~loader.MessageHandler~loader.promptHandler~bundle": "f359cc3", "shared~bundle.Notifications~ondemand.LeaveThisConversation": "5459af3", - "bundle.Notifications": "d42843a", + "bundle.Notifications": "f91c2f2", "loader.NewTweetsPill": "0a9e8af", "shared~loader.SideNav~loader.Typeahead~loader.DMDrawer~bundle.MultiAccount~bundle.AudioSpacePeek~bundle.Birdw": "a87c4a4", "shared~loader.SideNav~loader.DMDrawer~bundle.Communities~bundle.Compose~bundle.RichTextCompose~bundle.Delegat": "a510b95", "shared~loader.SideNav~bundle.Communities~bundle.ProfessionalHome~bundle.LoggedOutHome~bundle.Search~bundle.Co": "f1daa9b", - "shared~loader.SideNav~bundle.Communities~ondemand.SettingsMonetization": "ea16a08", - "loader.SideNav": "e93fbc5", - "shared~loader.Typeahead~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.Communities~bundle.Comp": "4c835c1", + "shared~loader.SideNav~bundle.Communities~ondemand.SettingsMonetization": "bb77607", + "loader.SideNav": "f9f82ee", + "shared~loader.Typeahead~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.Communities~bundle.Comp": "226d549", "shared~loader.Typeahead~loader.DMDrawer~bundle.MultiAccount~bundle.AudioSpaceDiscovery~bundle.Birdwatch~bundl": "7d73aef", "shared~loader.Typeahead~loader.DMDrawer~bundle.MultiAccount~bundle.Birdwatch~bundle.Communities~bundle.Compos": "05c10ec", "shared~loader.Typeahead~loader.DMDrawer~bundle.AudioSpaceDiscovery~bundle.Communities~bundle.Compose~bundle.R": "7920884", "shared~loader.Typeahead~loader.DMDrawer~bundle.Communities~bundle.Delegate~bundle.DirectMessages~bundle.DMRic": "5048cc5", - "shared~loader.Typeahead~bundle.Communities~bundle.Delegate~bundle.Ocf~bundle.LoggedOutHome~bundle.Search~onde": "f7d6a59", + "shared~loader.Typeahead~bundle.Communities~bundle.Delegate~bundle.Ocf~bundle.LoggedOutHome~bundle.Search~onde": "460ca39", "shared~loader.Typeahead~ondemand.SettingsInternals~bundle.LoggedOutHome~bundle.Search~loader.EventSummaryHand": "cb5e9b9", - "shared~loader.Typeahead~loader.AppModules~bundle.AudioSpaceDiscovery~bundle.LoggedOutHome~bundle.Search": "d3342f1", + "shared~loader.Typeahead~loader.AppModules~bundle.AudioSpaceDiscovery~bundle.LoggedOutHome~bundle.Search": "88ef7e0", "shared~loader.Typeahead~bundle.Ocf~ondemand.Verified~loader.topicHandler": "33dc1a6", - "shared~loader.Typeahead~bundle.LoggedOutHome~bundle.Search": "14cf878", + "shared~loader.Typeahead~bundle.LoggedOutHome~bundle.Search": "f7078a4", "loader.Typeahead": "b399f5a", "shared~loader.AppModules~bundle.Compose~bundle.RichTextCompose~ondemand.SettingsInternals~bundle.PlainTextCom": "f669f89", "shared~loader.AppModules~bundle.LoggedOutHome~bundle.Search~bundle.Settings~ondemand.SettingsRevamp": "d75bc62", - "shared~loader.AppModules~bundle.LoggedOutHome~bundle.Search": "d542327", - "shared~loader.AppModules~bundle.Ocf": "9704bcd", - "loader.AppModules": "837155e", + "shared~loader.AppModules~bundle.LoggedOutHome~bundle.Search": "7678064", + "shared~loader.AppModules~bundle.Ocf": "d960f6e", + "loader.AppModules": "251060e", "shared~ondemand.Dropdown~bundle.Communities~bundle.ReaderMode~ondemand.Verified~loader.WideLayout": "904cb78", "ondemand.Dropdown": "c1ce90b", "ondemand.BranchSdk": "f8286b1", - "shared~loader.DMDrawer~bundle.AboutThisAd~bundle.NotMyAccount~bundle.MultiAccount~bundle.Articles~bundle.Audi": "b97ace5", - "shared~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.Compose~~ondemand.SettingsInternals~onde": "ae1d711", + "shared~loader.DMDrawer~bundle.AboutThisAd~bundle.NotMyAccount~bundle.MultiAccount~bundle.Articles~bundle.Audi": "aa5803f", + "shared~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.Compose~~ondemand.SettingsInternals~onde": "92982df", "shared~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.BookmarkFolders~bundle.Communities~bundl": "04c9084", "shared~loader.DMDrawer~bundle.Birdwatch~bundle.BookmarkFolders~bundle.Communities~bundle.Compose~bundle.RichT": "08138e6", - "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DMRichTextCompose~b": "fc9a458", + "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DMRichTextCompose~b": "3dd5be3", "shared~loader.DMDrawer~bundle.Communities~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.": "6d51565", "shared~loader.DMDrawer~bundle.Communities~bundle.Delegate~ondemand.SettingsRevamp~ondemand.SensitiveMediaSett": "48d76cb", - "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DMRichTextCompose~l": "ce5f057", - "shared~loader.DMDrawer~bundle.Birdwatch~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DM": "f9e6dbd", + "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DMRichTextCompose~l": "01d37fb", + "shared~loader.DMDrawer~bundle.Birdwatch~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.DM": "663299d", "shared~loader.DMDrawer~bundle.AudioSpacePeek~bundle.Compose~~bundle.DMRichTextCompose~bundle.DirectMessages~b": "b2915bf", "shared~loader.DMDrawer~bundle.Articles~bundle.DirectMessages~bundle.DMRichTextCompose~bundle.LiveEvent~bundle": "9e862ea", - "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DMRichTextCompose~bundle.DirectMessages~b": "3dbf0d7", + "shared~loader.DMDrawer~bundle.Compose~bundle.RichTextCompose~bundle.DMRichTextCompose~bundle.DirectMessages~b": "001785a", "shared~loader.DMDrawer~bundle.DMRichTextCompose~bundle.DirectMessages~bundle.TweetMediaDetail~bundle.UserAvat": "3c249d3", "shared~loader.DMDrawer~bundle.Articles~bundle.Compose~bundle.RichTextCompose~bundle.DirectMessages~bundle.Use": "0aec3a8", "shared~loader.DMDrawer~bundle.Communities~ondemand.SettingsMonetization~bundle.DirectMessages~bundle.Settings": "27ad4b5", "shared~loader.DMDrawer~bundle.DMRichTextCompose~bundle.DirectMessages~bundle.UserFollowLists~bundle.UserProfi": "b868f8b", "shared~loader.DMDrawer~bundle.DirectMessages~bundle.LiveEvent~bundle.UserProfile~loader.TimelineRenderer": "72a0797", "shared~loader.DMDrawer~bundle.DMRichTextCompose~bundle.DirectMessages~bundle.UserProfile": "8a0e404", - "shared~loader.DMDrawer~bundle.DMRichTextCompose~bundle.DirectMessages": "e035028", + "shared~loader.DMDrawer~bundle.DMRichTextCompose~bundle.DirectMessages": "9f11947", "shared~loader.DMDrawer~bundle.DirectMessages~bundle.DMRichTextCompose": "e0499fc", "shared~loader.DMDrawer~bundle.DirectMessages~bundle.TwitterArticles": "fa5820d", - "shared~loader.DMDrawer~bundle.DirectMessages": "7265d22", - "loader.DMDrawer": "3d94508", + "shared~loader.DMDrawer~bundle.DirectMessages": "8d4d46c", + "loader.DMDrawer": "44cf9df", "endpoints.AaProxy": "8577b5b", "endpoints.Account": "cd57e96", - "endpoints.AccountTaxonomy": "5749a4f", + "endpoints.AccountTaxonomy": "30ffd58", "endpoints.AccountVerification": "8eac276", "endpoints.Ads": "c4fc22e", "endpoints.ArticleDomains": "10b9862", - "endpoints.AudioSpaces": "cf4e362", + "endpoints.AudioSpaces": "a4ff8ec", "endpoints.AudioSpacesPresence": "700cd61", "endpoints.BadgeCount": "bb77295", - "endpoints.Birdwatch": "68d959e", + "endpoints.Birdwatch": "4297249", "endpoints.BizProfiles": "cd13353", "endpoints.BonusFollows": "255992d", - "endpoints.Bookmarks": "da80f3c", + "endpoints.Bookmarks": "80d0bcf", "endpoints.BounceOcfFlow": "3a4f94e", "endpoints.Branch": "1e28b37", "endpoints.Broadcasts": "0956aa1", "endpoints.ClientEducationFlags": "988c3d2", - "endpoints.Collections": "e04ba5f", + "endpoints.Collections": "b65f49f", "endpoints.Commerce": "f197191", - "endpoints.Communities": "98b17fd", - "endpoints.CommunitiesTools": "dae1c29", + "endpoints.Communities": "95964d5", + "endpoints.CommunitiesTools": "9030dbc", "endpoints.Contacts": "1131c5a", - "endpoints.Conversation": "426e8dc", + "endpoints.Conversation": "6c55132", "endpoints.Devices": "422f010", - "endpoints.DirectMessages": "29928a4", - "endpoints.DirectMessagesGraphQL": "7c30b90", + "endpoints.DirectMessages": "1680c60", + "endpoints.DirectMessagesGraphQL": "03f2ad1", "endpoints.DismissRitoSuggestedAction": "b1d06b6", "endpoints.Drafts": "c212798", "endpoints.EmailNotificationSettings": "8c7c057", - "endpoints.Explore": "82e7aa2", + "endpoints.Explore": "16f0494", "endpoints.FeatureSwitch": "1373e1e", "endpoints.Friendships": "8d85162", "endpoints.GifSearch": "d5998b3", "endpoints.GraphQLErrors": "ef2e58e", - "endpoints.Graphql": "bd7af39", + "endpoints.Graphql": "bd2b96e", "endpoints.Guest": "4193f5a", - "endpoints.Home": "0cf99fc", + "endpoints.Home": "216bdeb", "endpoints.Jot": "5281b88", "endpoints.KeyRegistry": "971d037", - "endpoints.LegacyAndUnifiedCards": "99aad96", - "endpoints.Lists": "fdcd75c", - "endpoints.LiveEvent": "6f32e13", + "endpoints.LegacyAndUnifiedCards": "4e86581", + "endpoints.Lists": "690a8f6", + "endpoints.LiveEvent": "ba7c9b5", "endpoints.LivePipeline": "24e2d3f", - "endpoints.LoggedOutNotifications": "1e14da1", + "endpoints.LoggedOutNotifications": "6449871", "endpoints.Media": "f2d6c3f", "endpoints.Moments": "2298842", "endpoints.MuteKeywordSettings": "8b3eee2", @@ -240,14 +240,14 @@ "endpoints.PinnedReplies": "37a1eb9", "endpoints.Places": "1cc954c", "endpoints.Prerolls": "7cbb2ce", - "endpoints.ProfileTimelines": "cd0f4ed", + "endpoints.ProfileTimelines": "ece4cc8", "endpoints.PromotedContent": "5193e53", "endpoints.QuickPromote": "3df2c4e", "endpoints.Recommendations": "41e405e", "endpoints.ReportFlow": "c6789fe", - "endpoints.RitoActionedTweets": "e929130", - "endpoints.RitoFlaggedAccounts": "ca6d8a9", - "endpoints.RitoFlaggedTweets": "6b946c1", + "endpoints.RitoActionedTweets": "ff8a169", + "endpoints.RitoFlaggedAccounts": "cef8072", + "endpoints.RitoFlaggedTweets": "925b70f", "endpoints.RitoSuggestedActions": "f7ee5e0", "endpoints.RitoSuggestedActionsFacePile": "84fb7e9", "endpoints.SafeSearch": "ce1a9f9", @@ -258,35 +258,36 @@ "endpoints.Subscription": "7498d00", "endpoints.SubscriptionPayments": "d63d718", "endpoints.SubscriptionProductFeatures": "8b532a8", - "endpoints.TopArticles": "e46f928", - "endpoints.Topics": "6e0c924", + "endpoints.TopArticles": "b6e0f40", + "endpoints.Topics": "fd520dc", "endpoints.TrustedFriends": "badf353", - "endpoints.TweetActivity": "c99da42", - "endpoints.TweetStats": "e8e61f4", - "endpoints.Tweets": "cd45397", + "endpoints.TweetActivity": "82fc30e", + "endpoints.TweetStats": "f6bdc3f", + "endpoints.Tweets": "737c65a", "endpoints.TweetsApi-BatchModeType": "12f9cec", "endpoints.TweetsApi-postDefaults": "820b1e8", - "endpoints.TweetsApi-sendTweet": "0b76089", - "endpoints.TwitterArticles": "83cb990", - "endpoints.Typeahead": "46dddb1", - "endpoints.URT": "5e7b89c", + "endpoints.TweetsApi-sendTweet": "bdfdfa2", + "endpoints.TwitterArticles": "42dd7f0", + "endpoints.Typeahead": "be2cf80", + "endpoints.URT": "cb89c2f", "endpoints.UserData": "4a13bf3", "endpoints.Users": "f665436", - "endpoints.UsersGraphQL": "e3a2a3e", + "endpoints.UsersGraphQL": "48a0016", "endpoints.Validity": "82b4706", - "api": "d46908c", + "api": "495f768", + "ondemand.DirectMessagesCrypto": "7ed74f6", "shared~bundle.AboutThisAd~bundle.NotMyAccount~bundle.MultiAccount~bundle.Articles~bundle.AudioSpacePeek~bundl": "c26d1cd", "shared~bundle.AboutThisAd~bundle.NotMyAccount~bundle.MultiAccount~bundle.AudioSpacePeek~bundle.Birdwatch~bund": "c835575", "bundle.AboutThisAd": "791a4aa", "bundle.NotMyAccount": "58e81f3", "bundle.Account": "378e955", "shared~bundle.MultiAccount~bundle.Birdwatch~bundle.BookmarkFolders~bundle.Communities~ondemand.ComposeSchedul": "6a1719e", - "shared~bundle.MultiAccount~bundle.Login~bundle.SmsLogin~ondemand.IntentPrompt": "8a312b1", - "shared~bundle.MultiAccount~bundle.Login~ondemand.IntentPrompt": "d182ea0", - "bundle.MultiAccount": "ae71670", + "shared~bundle.MultiAccount~bundle.Login~bundle.SmsLogin~ondemand.IntentPrompt": "2e037dc", + "shared~bundle.MultiAccount~bundle.Login~ondemand.IntentPrompt": "89b8a98", + "bundle.MultiAccount": "030dcd9", "shared~bundle.Articles~bundle.Communities~bundle.Delegate~ondemand.SettingsInternals~ondemand.SettingsRevamp~": "9c2b392", "shared~bundle.Articles~loader.ArticleHandler": "18cce39", - "bundle.Articles": "54b7746", + "bundle.Articles": "367c608", "shared~bundle.AudioSpaceDetail~bundle.AudioSpacePeek": "4cf49f9", "bundle.AudioSpaceDetail": "26a420e", "shared~bundle.AudioSpacePeek~bundle.Birdwatch~bundle.Communities~bundle.Compose~bundle.RichTextCompose~ondema": "d4de536", @@ -295,14 +296,14 @@ "shared~bundle.AudioSpacePeek~bundle.Communities~bundle.CommunitySSR~loader.CommunityHandler": "8d74ae1", "shared~bundle.AudioSpacePeek~bundle.Communities~loader.CommunityHandler": "f807555", "shared~bundle.AudioSpacePeek~loader.AudioContextSpaceClip": "8fc6f63", - "bundle.AudioSpacePeek": "f7a78ad", + "bundle.AudioSpacePeek": "b03d841", "shared~bundle.AudioSpaceDiscovery~bundle.AudioSpacebarScreen~bundle.Birdwatch~bundle.LiveEvent~bundle.Explore": "d76c0bc", "bundle.AudioSpaceDiscovery": "c96503d", "shared~bundle.AudioSpaceAnalytics~bundle.ProfessionalHome~bundle.ConversationWithRelay": "f7ab5bd", "bundle.AudioSpaceAnalytics": "4e72b8c", "bundle.AudioSpaceReport": "3b9219d", "shared~bundle.AudioSpacebarScreen~loader.AudioSpacebar~loader.SidebarSpacebar": "d26a1ff", - "bundle.AudioSpacebarScreen": "9af8a9b", + "bundle.AudioSpacebarScreen": "ffe5ac9", "shared~bundle.Birdwatch~bundle.Communities~bundle.Compose~bundle.ComposeMedia~ondemand.SettingsInternals~onde": "cfed265", "shared~bundle.Birdwatch~bundle.Communities~bundle.Compose~ondemand.ComposeScheduling~bundle.ComposeMedia~bund": "60a13c2", "shared~bundle.Birdwatch~bundle.Communities~bundle.AccountVerification~ondemand.SettingsRevamp~ondemand.Settin": "3094b8d", @@ -314,19 +315,19 @@ "shared~bundle.Birdwatch~bundle.Explore~bundle.GenericTimeline~bundle.Ocf~bundle.Topics": "3a4219d", "shared~bundle.Birdwatch~bundle.Ocf~bundle.SettingsProfessionalProfileCommunitiesSpotlight~bundle.Conversation": "0149258", "shared~bundle.Birdwatch~loader.inlineTombstoneHandler~loader.tweetHandler~loader.immersiveTweetHandler": "42b3440", - "shared~bundle.Birdwatch~loader.inlineTombstoneHandler~loader.tweetHandler": "93df92e", - "shared~bundle.Birdwatch~bundle.Explore~bundle.Topics": "0f05e77", + "shared~bundle.Birdwatch~loader.inlineTombstoneHandler~loader.tweetHandler": "0604204", + "shared~bundle.Birdwatch~bundle.Explore~bundle.Topics": "1a2bbdb", "shared~bundle.Birdwatch~bundle.ProfessionalHome~icons/IconPromoteMode-js": "ab75e0b", - "bundle.Birdwatch": "8908f05", + "bundle.Birdwatch": "401712d", "shared~bundle.BookmarkFolders~bundle.Communities~bundle.TwitterArticles~bundle.Settings": "f08143b", - "bundle.BookmarkFolders": "b8a6bad", - "bundle.Bookmarks": "75cb90a", + "bundle.BookmarkFolders": "a834028", + "bundle.Bookmarks": "a0b4a47", "src_app_screens_BrandedLikesPreview_index_js-modules_horizon-web_src_exports_Reaction_tempAss-ae55df": "1c69082", "shared~bundle.LiveEvent~ondemand.EditPinned~loader.EventSummaryHandler~loader.MomentSummaryHandler~loader.new": "d19751c", "shared~bundle.LiveEvent~bundle.Report~loader.EventSummaryHandler~loader.MomentSummaryHandler": "042bcad", "shared~bundle.LiveEvent~ondemand.InlinePlayer~loader.AudioOnlyVideoPlayer": "f8ffdcf", "shared~bundle.LiveEvent~loader.newsPreviewHandler": "3553016", - "bundle.LiveEvent": "e09e30a", + "bundle.LiveEvent": "9d6131f", "bundle.Collection": "f59ec92", "shared~bundle.Communities~bundle.ComposeMedia~bundle.SettingsProfile~bundle.Ocf~bundle.TwitterArticles~bundle": "be8e989", "shared~bundle.Communities~bundle.ComposeMedia~ondemand.SettingsInternals~ondemand.SettingsRevamp~bundle.Setti": "5a9a80c", @@ -334,197 +335,198 @@ "shared~bundle.Communities~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.SettingsProfessionalProfi": "e06bb81", "shared~bundle.Communities~bundle.ReportCenter~bundle.SafetyCenter~bundle.UserProfile": "40b36e9", "shared~bundle.Communities~bundle.Settings~bundle.Display": "0ab2127", + "shared~bundle.Communities~ondemand.SettingsMonetization": "0e9a330", "shared~bundle.Communities~ondemand.SettingsRevamp": "3af10a6", - "shared~bundle.Communities~ondemand.SettingsMonetization": "276010c", - "bundle.Communities": "6d087f7", + "bundle.Communities": "7cbdee5", "bundle.CommunitySSR": "1a33782", "shared~ondemand.ComposeScheduling~bundle.Compose~bundle.RichTextCompose~bundle.SettingsInternals~ondemand.Set": "40e357e", "shared~bundle.Compose~bundle.RichTextCompose~bundle.DMRichTextCompose~bundle.TwitterArticles~ondemand.RichTex": "9222f0a", "shared~bundle.Compose~bundle.RichTextCompose~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows~bund": "bde9331", "shared~bundle.Compose~bundle.RichTextCompose~bundle.TrustedFriendsRedirect~bundle.UserLists~bundle.PlainTextC": "23942b0", "shared~bundle.Compose~bundle.RichTextCompose~bundle.Ocf~bundle.PlainTextCompose": "ffdb81b", - "shared~bundle.Compose~bundle.RichTextCompose~bundle.TwitterArticles~bundle.PlainTextCompose": "8c7cb6b", + "shared~bundle.Compose~bundle.RichTextCompose~bundle.TwitterArticles~bundle.PlainTextCompose": "8bf505a", "shared~bundle.Compose~bundle.RichTextCompose~loader.TweetCurationActionMenu~bundle.PlainTextCompose": "3dea13b", "shared~ondemand.ComposeScheduling~bundle.Compose~bundle.RichTextCompose~bundle.PlainTextCompose": "baf03cf", - "shared~bundle.Compose~bundle.RichTextCompose~bundle.PlainTextCompose": "c0e5a20", + "shared~bundle.Compose~bundle.RichTextCompose~bundle.PlainTextCompose": "69e661b", "shared~bundle.Compose~bundle.Place~icons/IconFoursquareNoMargin-js": "4844330", "shared~ondemand.ComposeScheduling~bundle.Compose~bundle.RichTextCompose": "02b7825", - "shared~bundle.Compose~bundle.RichTextCompose": "68ae054", + "shared~bundle.Compose~bundle.RichTextCompose": "c7d937a", "bundle.Compose": "0e27666", "shared~bundle.ComposeMedia~bundle.TwitterArticles~ondemand.InlinePlayer~loaders.video.VideoPlayerDefaultUI~lo": "72769e2", "shared~bundle.ComposeMedia~bundle.TwitterArticles~ondemand.InlinePlayer~loaders.video.PlayerBase~loader.Audio": "cefdba5", "shared~bundle.ComposeMedia~bundle.TwitterArticles~loaders.video.PlayerBase~loader.MediaPreviewVideoPlayer~loa": "863e2ae", "shared~bundle.ComposeMedia~ondemand.SettingsRevamp~bundle.SettingsInternals~bundle.AdvancedSearch~bundle.Twit": "ab51091", - "shared~bundle.ComposeMedia~bundle.TwitterArticles": "d180a61", - "bundle.ComposeMedia": "f131883", + "shared~bundle.ComposeMedia~bundle.TwitterArticles": "aaa069b", + "bundle.ComposeMedia": "9a3c59c", "shared~ondemand.ComposeScheduling~bundle.Ocf~bundle.AdvancedSearch~ondemand.EditBirthdate": "6e03d49", "shared~ondemand.ComposeScheduling~bundle.SettingsProfessionalProfileLocationSpotlight": "0ea67e9", - "ondemand.ComposeScheduling": "5bb9683", - "shared~bundle.RichTextCompose~bundle.DMRichTextCompose~bundle.TwitterArticles~ondemand.RichText": "966158e", - "bundle.RichTextCompose": "8e45745", - "bundle.ConnectTab": "4824e18", + "ondemand.ComposeScheduling": "118680c", + "shared~bundle.RichTextCompose~bundle.DMRichTextCompose~bundle.TwitterArticles~ondemand.RichText": "b12077b", + "bundle.RichTextCompose": "4947043", + "bundle.ConnectTab": "e105f64", "src_app_components_SidebarLayout_SidebarContext_js-src_app_modules_action-helpers_block-or-un-8b98fe": "78e8aa4", "shared~bundle.Delegate~ondemand.SettingsInternals~ondemand.SettingsRevamp~bundle.AccountAutomation~bundle.Set": "b767f4f", "shared~ondemand.SettingsRevamp~ondemand.SettingsInternals~bundle.Delegate~bundle.AdvancedSearch": "6775428", - "shared~bundle.Delegate~ondemand.SettingsMonetization~bundle.TweetCoinDetails~ondemand.Verified": "7fc651f", - "shared~bundle.Delegate~bundle.UserLists": "c4bef7e", - "bundle.Delegate": "908160b", + "shared~bundle.Delegate~ondemand.SettingsMonetization~bundle.TweetCoinDetails~ondemand.Verified": "78a06a5", + "shared~bundle.Delegate~bundle.UserLists": "282d2ce", + "bundle.Delegate": "dfa45af", "shared~bundle.AccountVerification~bundle.BadgeViolationsNotification~bundle.SettingsRevamp": "22f6e80", - "bundle.AccountVerification": "1632cca", + "bundle.AccountVerification": "023e8ed", "shared~ondemand.SettingsInternals~bundle.Place~bundle.Search~bundle.QuoteTweetActivity": "5e9c739", "shared~ondemand.SettingsInternals~bundle.Explore~bundle.Trends~loader.ExploreSidebar": "4aa5a0d", - "shared~ondemand.SensitiveMediaSettings~ondemand.SettingsRevamp~ondemand.SettingsInternals~bundle.SettingsTran": "cd5757c", - "shared~ondemand.SettingsInternals~bundle.SettingsRevamp~bundle.SettingsTransparency": "eded57c", + "shared~ondemand.SensitiveMediaSettings~ondemand.SettingsRevamp~ondemand.SettingsInternals~bundle.SettingsTran": "b1b9449", + "shared~ondemand.SettingsInternals~bundle.SettingsRevamp~bundle.SettingsTransparency": "2c18fb1", "shared~ondemand.SettingsInternals~loader.TweetCurationActionMenu~icons/IconIllustrationSafetyMute-js": "a572a6c", "shared~ondemand.SettingsRevamp~ondemand.SettingsInternals": "f9d2539", "shared~ondemand.SettingsInternals~ondemand.SettingsSuperFollows": "6d32d7b", "shared~ondemand.SettingsInternals~bundle.OAuth": "0bef443", "shared~ondemand.SettingsInternals~bundle.Ocf": "613cf1b", "shared~ondemand.SettingsInternals~bundle.Settings": "65f574f", - "ondemand.SettingsInternals": "24bf71b", + "ondemand.SettingsInternals": "fb734e4", "shared~ondemand.SettingsRevamp~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows~ondemand.SettingsA": "cfdecca", "shared~ondemand.SettingsRevamp~bundle.SettingsInternals~bundle.SettingsProfessionalProfileLocationSpotlight~b": "e91e554", "shared~ondemand.SettingsRevamp~ondemand.SettingsMonetization~bundle.ConversationWithRelay": "5ef15ff", "shared~ondemand.SettingsRevamp~bundle.TwitterBlue~icons/IconTwitterBlueExtended-js": "8fa502c", - "shared~ondemand.SettingsRevamp~ondemand.SettingsMonetization": "e9ef8e7", - "shared~ondemand.SettingsRevamp~bundle.TwitterBlue": "f7fd9cc", + "shared~ondemand.SettingsRevamp~ondemand.Verified": "aaf4568", + "shared~ondemand.SettingsRevamp~ondemand.SettingsMonetization": "03c8269", + "shared~ondemand.SettingsRevamp~bundle.TwitterBlue": "899de77", "shared~ondemand.SettingsRevamp~bundle.SafetyModeModal": "ec58dd7", - "ondemand.SettingsRevamp": "0b6e4e9", - "shared~bundle.AccountAutomation~bundle.SettingsRevamp": "870696b", + "ondemand.SettingsRevamp": "8c47382", + "shared~bundle.AccountAutomation~bundle.SettingsRevamp": "fddadc9", "bundle.AccountAutomation": "93bb07c", "shared~bundle.Settings~bundle.Display~bundle.Ocf": "d1ce8fb", - "shared~bundle.Settings~bundle.Display": "0f8d30a", - "bundle.Settings": "bcbb765", + "shared~bundle.Settings~bundle.Display": "5822434", + "bundle.Settings": "92bc10d", "bundle.SettingsInternals": "fa3d1ca", "shared~bundle.SettingsProfile~bundle.DirectMessages~bundle.Ocf~bundle.TwitterArticles~bundle.UserLists~loader": "e071f08", - "shared~bundle.SettingsProfile~bundle.Ocf": "fcff481", + "shared~bundle.SettingsProfile~bundle.Ocf": "6c8e2d7", "shared~bundle.SettingsProfile~bundle.UserProfile": "0bc4ca5", - "bundle.SettingsProfile": "4b6e26b", + "bundle.SettingsProfile": "f6c55be", "ondemand.SensitiveMediaSettings": "5b72689", "shared~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows~bundle.SuperFollowsManage~bundle.SuperFoll": "b3d0d29", "shared~ondemand.SettingsMonetization~bundle.TweetCoinDetails~bundle.UserProfile~ondemand.Verified": "7c1e982", - "shared~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows~bundle.SuperFollowsSubscribe": "9ca2080", - "shared~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows": "a214736", - "ondemand.SettingsMonetization": "bab1c82", - "shared~ondemand.SettingsSuperFollows~bundle.Ocf": "4eaee06", + "shared~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows~bundle.SuperFollowsSubscribe": "51d5c51", + "shared~ondemand.SettingsMonetization~ondemand.SettingsSuperFollows": "2336a1e", + "ondemand.SettingsMonetization": "e9e3b02", + "shared~ondemand.SettingsSuperFollows~bundle.Ocf~bundle.TwitterBlue": "e5665e5", "shared~ondemand.SettingsSuperFollows~ondemand.Verified": "8f1df03", - "ondemand.SettingsSuperFollows": "694d154", - "ondemand.SettingsAwards": "c7cf64e", - "shared~bundle.DirectMessages~bundle.TweetMediaDetail~bundle.UserAvatar~bundle.UserNft": "c8f12d3", + "ondemand.SettingsSuperFollows": "479172c", + "ondemand.SettingsAwards": "1dbb8d0", + "shared~bundle.DirectMessages~bundle.TweetMediaDetail~bundle.UserAvatar~bundle.UserNft": "7e1a81b", "shared~bundle.DirectMessages~loader.PushNotificationsPrompt~loader.MessageHandler": "988ca67", - "shared~bundle.DMRichTextCompose~bundle.DirectMessages": "ca9ba22", - "bundle.DirectMessages": "6840df9", - "bundle.DMRichTextCompose": "e2c576e", + "shared~bundle.DMRichTextCompose~bundle.DirectMessages": "0d357aa", + "bundle.DirectMessages": "e366ee7", + "bundle.DMRichTextCompose": "d709775", "bundle.Display": "bcd615c", - "bundle.Explore": "e2ca507", + "bundle.Explore": "0f311eb", "bundle.GenericTimeline": "c817572", "shared~bundle.GifSearch~bundle.TwitterArticles": "a57ea06", - "bundle.GifSearch": "d581ffa", - "bundle.GraduatedAccess": "d887a1d", - "bundle.KeyboardShortcuts": "51cfccb", + "bundle.GifSearch": "d1dcc2f", + "bundle.GraduatedAccess": "06cb63f", + "bundle.KeyboardShortcuts": "2dddd37", "shared~bundle.HomeTimeline~bundle.UserLists": "cb49f9b", - "bundle.HomeTimeline": "02f5215", + "bundle.HomeTimeline": "0669e06", "shared~bundle.Login~bundle.Ocf": "70b5931", "bundle.Login": "882ad03", "bundle.SmsLogin": "db54fa0", - "bundle.Logout": "12c594c", + "bundle.Logout": "497f6fd", "bundle.NewsLanding": "95fac22", "bundle.BadgeViolationsNotification": "fce555c", "bundle.Twitterversary": "d884b48", "bundle.NotificationDetail": "5ceb63a", "bundle.OAuth": "6232ba0", - "shared~bundle.Ocf~bundle.LoggedOutHome~bundle.Search~loader.TimelineRenderer~loader.SignupModule": "73d9a98", + "shared~bundle.Ocf~bundle.LoggedOutHome~bundle.Search~loader.TimelineRenderer~loader.SignupModule": "651bf28", "shared~bundle.Ocf~ondemand.EditBirthdate": "6e1acd7", - "bundle.Ocf": "94bfd01", - "shared~bundle.Place~bundle.Search~bundle.QuoteTweetActivity": "2fa0e6e", + "bundle.Ocf": "3ab46bd", + "shared~bundle.Place~bundle.Search~bundle.QuoteTweetActivity": "14d856a", "bundle.Place": "c880782", - "bundle.SettingsProfessionalProfile": "99ff0ef", - "shared~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.SettingsProfessionalProfileLocationSpotlight": "de0b0a5", + "bundle.SettingsProfessionalProfile": "78c911a", + "shared~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.SettingsProfessionalProfileLocationSpotlight": "072ced7", "shared~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.SettingsProfessionalProfileCommunitiesSpotli": "d3a9684", - "shared~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.UserProfile": "eabe744", - "bundle.SettingsProfessionalProfileProfileSpotlight": "8916c87", + "shared~bundle.SettingsProfessionalProfileProfileSpotlight~bundle.UserProfile": "f3683ea", + "bundle.SettingsProfessionalProfileProfileSpotlight": "79b210c", "shared~bundle.SettingsProfessionalProfileLocationSpotlight~bundle.SettingsProfessionalProfileMobileAppSpotlig": "5d5487a", - "bundle.SettingsProfessionalProfileLocationSpotlight": "8080037", + "bundle.SettingsProfessionalProfileLocationSpotlight": "6aeaca5", "bundle.SettingsProfessionalProfileMobileAppSpotlight": "c781299", "bundle.SettingsProfessionalProfileCommunitiesSpotlight": "eea72c1", "shared~bundle.ProfessionalHome~bundle.ConversationWithRelay": "ba18853", - "bundle.ProfessionalHome": "2aa1502", + "bundle.ProfessionalHome": "f393546", "shared~bundle.ReaderMode~bundle.Conversation~bundle.TweetMediaDetail~bundle.ImmersiveMediaViewer": "cc1e6fd", - "bundle.ReaderMode": "4cfabcc", - "bundle.Report": "fb07b10", - "shared~bundle.ReportCenter~bundle.SafetyCenter": "b194602", - "bundle.ReportCenter": "d201f2b", - "bundle.SafetyCenter": "0a380c8", - "shared~bundle.LoggedOutHome~bundle.Search": "5c3f47f", + "bundle.ReaderMode": "0bd00d3", + "bundle.Report": "4aeedc0", + "shared~bundle.ReportCenter~bundle.SafetyCenter": "e649f18", + "bundle.ReportCenter": "691c33a", + "bundle.SafetyCenter": "fb88569", + "shared~bundle.LoggedOutHome~bundle.Search": "8530693", "bundle.LoggedOutHome": "e9200ab", - "bundle.SafetyModeModal": "175301b", - "bundle.Search": "c411acc", + "bundle.SafetyModeModal": "47a87c6", + "bundle.Search": "34b21ca", "bundle.AdvancedSearch": "99526e7", "shared~bundle.Topics~bundle.UserLists~bundle.UserMoments~bundle.UserFollowLists~bundle.UserProfile~ondemand.H": "bef428a", - "bundle.Topics": "b76c039", + "bundle.Topics": "c160cbb", "bundle.ExploreTopics": "b1c8f97", - "bundle.Trends": "61a73ce", + "bundle.Trends": "10acfed", "shared~bundle.TrustedFriendsManagement~bundle.UserLists": "c552f01", "bundle.TrustedFriendsManagement": "13a9aba", "bundle.TrustedFriendsRedirect": "89b59f9", "shared~bundle.Conversation~bundle.TweetMediaDetail~bundle.ImmersiveMediaViewer~loader.inlineTombstoneHandler~": "3816b9e", - "shared~bundle.Conversation~bundle.TweetMediaDetail~bundle.ImmersiveMediaViewer": "13b66d2", + "shared~bundle.Conversation~bundle.TweetMediaDetail~bundle.ImmersiveMediaViewer": "e17bcdf", "shared~bundle.Conversation~bundle.TwitterBlue~bundle.TwitterCoinsManagement": "669f2ab", "shared~bundle.ConversationWithRelay~bundle.Conversation": "c925748", - "shared~bundle.Conversation~bundle.UserProfile": "d7db6e2", - "bundle.Conversation": "13ef136", - "bundle.ConversationWithRelay": "3749a75", + "shared~bundle.Conversation~bundle.UserProfile": "2380d15", + "bundle.Conversation": "ccd6398", + "bundle.ConversationWithRelay": "d4620dc", "bundle.TweetMediaTags": "a50e2b9", "bundle.ConversationParticipants": "7d20c5c", "shared~bundle.TweetMediaDetail~bundle.ImmersiveMediaViewer": "de7e67c", "bundle.TweetMediaDetail": "6433efb", - "bundle.ImmersiveMediaViewer": "08f2f04", + "bundle.ImmersiveMediaViewer": "2346384", "bundle.TweetEditHistory": "6e730b8", "bundle.QuoteTweetActivity": "55b101e", "bundle.TweetActivity": "423f560", - "bundle.TweetCoinDetails": "c9d9100", + "bundle.TweetCoinDetails": "7ffeb5f", "shared~bundle.TwitterArticles~loader.TweetCurationActionMenu~bundle.UserProfile": "ba407fd", - "shared~bundle.TwitterArticles~bundle.UserProfile": "4aec9be", - "bundle.TwitterArticles": "082b31a", + "shared~bundle.TwitterArticles~bundle.UserProfile": "b7fcaf2", + "bundle.TwitterArticles": "4d6beda", "bundle.TwitterBluePaymentFailureFix": "3b16967", - "bundle.TwitterBlue": "8eb7207", + "bundle.TwitterBlue": "510f950", "bundle.Moment": "fd95102", "shared~bundle.TwitterCoinsManagement~bundle.SuperFollowsSubscribe": "c606203", - "bundle.TwitterCoinsManagement": "4b9397d", + "bundle.TwitterCoinsManagement": "3148a03", "shared~bundle.UserLists~ondemand.EditPinned~loader.ListHandler~ondemand.HoverCard": "b426c84", - "shared~bundle.UserLists~ondemand.HoverCard": "2fa3fd9", - "bundle.UserLists": "111eef3", + "shared~bundle.UserLists~ondemand.HoverCard": "af50cc4", + "bundle.UserLists": "d8fbd2f", "shared~ondemand.EditPinned~loader.EventSummaryHandler~loader.ScoreEventSummaryHandler~loader.TileHandler~load": "ff28dd3", "shared~ondemand.EditPinned~loader.EventSummaryHandler~loader.TileHandler~loader.ListHandler": "72a63f6", "shared~ondemand.EditPinned~loader.EventSummaryHandler~loader.ListHandler": "9e3e060", - "shared~ondemand.EditPinned~loader.ListHandler": "30ae116", - "ondemand.EditPinned": "5da3ad2", + "shared~ondemand.EditPinned~loader.ListHandler": "212fa90", + "ondemand.EditPinned": "8cd56d3", "bundle.UserMoments": "23e9d15", - "bundle.UserAvatar": "8fcd838", - "bundle.UserNft": "b6cb329", + "bundle.UserAvatar": "90d5a64", + "bundle.UserNft": "79b4939", "bundle.UserRedirect": "1c4036b", - "bundle.SuperFollowsManage": "6e4c648", + "bundle.SuperFollowsManage": "f119a3d", "bundle.FollowerRequests": "6e076d4", "bundle.ProfileRedirect": "fad1af4", - "bundle.SuperFollowsSubscribe": "8284903", - "bundle.UserFollowLists": "e23ca8f", + "bundle.SuperFollowsSubscribe": "964f459", + "bundle.UserFollowLists": "fb922e8", "shared~bundle.UserProfile~loader.IconLabelHandler": "542f217", - "bundle.UserProfile": "837bfbc", - "ondemand.Verified": "e630385", + "bundle.UserProfile": "efb6773", + "ondemand.Verified": "918f714", "ondemand.StaticAssets": "25c8be5", "loader.LoggedOutNotifications": "0f883d7", "shared~ondemand.EmojiPickerData~ondemand.ParticipantReaction~ondemand.EmojiPicker": "4fb3587", - "shared~ondemand.HoverCard~loader.topicLandingHeaderHandler": "a27023e", - "ondemand.HoverCard": "a725ef8", + "shared~ondemand.HoverCard~loader.topicLandingHeaderHandler": "f9a1436", + "ondemand.HoverCard": "2810918", "loader.HoverCard": "3b174d1", "shared~ondemand.ParticipantReaction~ondemand.EmojiPicker": "9e63d60", "ondemand.ParticipantReaction": "8f8d920", "loader.AudioContextVoiceMedia": "b7fd9ab", "shared~loader.AudioContextSpaceClip~ondemand.InlinePlayer": "ffd4889", "loader.AudioContextSpaceClip": "b47c4ef", - "loader.AudioContextSpaceMedia": "64a6569", + "loader.AudioContextSpaceMedia": "382cd86", "shared~ondemand.InlinePlayer~loader.AudioOnlyVideoPlayer~loader.immersiveTweetHandler": "633ec2b", - "ondemand.InlinePlayer": "6ecaef8", + "ondemand.InlinePlayer": "8bc98b9", "ondemand.video.PlayerHls1.2": "2fbf667", "loaders.video.PlayerHls1.1": "7c9203b", "shared~loaders.video.VideoPlayerDefaultUI~loaders.video.VideoPlayerHashtagHighlightUI~loaders.video.VideoPlay": "eb48835", @@ -537,21 +539,20 @@ "loaders.video.VideoPlayerDefaultUI": "234850f", "loaders.video.VideoPlayerHashtagHighlightUI": "928a17f", "loaders.video.VideoPlayerMiniUI": "11f51ee", - "loader.AudioOnlyVideoPlayer": "fcce340", + "loader.AudioOnlyVideoPlayer": "230b4b8", "shared~loader.WideLayout~loader.ProfileClusterFollow": "ec206b8", "loader.WideLayout": "d5c1d9b", - "ondemand.ecies": "71a92e5", - "loader.AbsolutePower": "99ddbb8", + "loader.AbsolutePower": "7ce471f", "ondemand.LottieWeb": "2a17e33", "loader.Confetti": "88a587a", - "loader.TimelineRenderer": "092762b", + "loader.TimelineRenderer": "c19d839", "loader.DividerHandler": "dfa38c7", "loader.TombstonedEntryHandler": "d11b585", "loader.ArticleHandler": "3d04042", "loader.collectionHeaderHandler": "084a1e3", "loader.CommunityHandler": "2ba8893", "shared~loader.EventSummaryHandler~loader.TrendHandler": "e76d8fa", - "loader.EventSummaryHandler": "f6a7b54", + "loader.EventSummaryHandler": "9e9c809", "loader.InlinePromptHandler": "7cd78d4", "loader.TransparentLabelHandler": "dd16d6f", "loader.LabelHandler": "23fd528", @@ -560,50 +561,50 @@ "loader.newsArticleHandler": "452b806", "loader.newsPreviewHandler": "8ef9a90", "shared~loader.NotificationHandler~icons/IconNotificationsMilestone-js": "a8e6aee", - "loader.NotificationHandler": "f2beca5", + "loader.NotificationHandler": "34251c4", "loader.ScoreEventSummaryHandler": "95ee7fb", "loader.TimelineCardHandler": "ca4d229", - "shared~loader.topicHandler~loader.TopicFollowPromptHandler": "d31b72e", - "loader.topicHandler": "f102dc8", + "shared~loader.topicHandler~loader.TopicFollowPromptHandler": "351e0d0", + "loader.topicHandler": "d80217c", "loader.TopicFollowPromptHandler": "074471a", "loader.topicLandingHeaderHandler": "c2997ae", "loader.TrendHandler": "c20a4a2", "loader.VerticalGridItemHandler": "9f454ae", "loader.MessageHandler": "81acd2a", - "loader.PagedCarouselItemHandler": "e291a9e", + "loader.PagedCarouselItemHandler": "90788bf", "loader.RelatedSearchHandler": "33a870e", "loader.selfThreadTweetComposerHandler": "fefe865", "loader.spellingHandler": "5fc84ae", - "loader.ThreadHeaderHandler": "25594c9", + "loader.ThreadHeaderHandler": "dbae075", "loader.TileHandler": "a5719ab", "shared~loader.GapHandler~loader.ConversationGapHandler": "1010839", "shared~loader.GapHandler~loader.newsEntriesGapHandler": "ce1d157", "loader.GapHandler": "1c0aec3", "loader.IconLabelHandler": "2c6c3a6", - "loader.ListHandler": "60e8154", + "loader.ListHandler": "c752e59", "loader.newsEntriesGapHandler": "88dee41", "loader.promptHandler": "23d01be", - "loader.CarouselTimelineHandler": "a48059a", - "loader.ConversationGapHandler": "4843acb", + "loader.CarouselTimelineHandler": "a42d5df", + "loader.ConversationGapHandler": "905051d", "loader.FooterLoader": "7141905", "loader.ModuleHeader": "70e6b56", "loader.ImpressionPlaceholderHandler": "1f3cf28", "loader.ShowMoreHandler": "faa2d29", "loader.VerticalGridListHandler": "80e0423", "loader.VerticalGridRowHandler": "2664e52", - "shared~loader.inlineTombstoneHandler~loader.tweetHandler": "13d416a", + "shared~loader.inlineTombstoneHandler~loader.tweetHandler": "9733a90", "loader.inlineTombstoneHandler": "9230fe8", "loader.tweetUnavailableTombstoneHandler": "31b433d", "loader.disconnectedRepliesTombstoneHandler": "1cacf50", - "loader.tweetHandler": "1062735", + "loader.tweetHandler": "a2adf0a", "loader.unsupportedHandler": "4412257", "loader.UserHandler": "c7b8ea6", - "shared~loader.AudioSpacebar~loader.SidebarSpacebar": "761855a", - "loader.AudioSpacebar": "3ab7f63", + "shared~loader.AudioSpacebar~loader.SidebarSpacebar": "bc7203d", + "loader.AudioSpacebar": "1bae2f7", "loader.SidebarSpacebar": "a9bd80b", - "loader.ExploreSidebar": "542cd29", - "loader.SignupModule": "35e62f8", - "ondemand.RichText": "34a3e7a", + "loader.ExploreSidebar": "f02591e", + "loader.SignupModule": "7a482aa", + "ondemand.RichText": "dcd1ab9", "loader.HWCard": "44e0e6b", "loader.PushNotificationsPrompt": "177cade", "ondemand.EmojiPicker": "01ef209", @@ -613,11 +614,11 @@ "ondemand.AudioSpacebar.Mocks": "2a289a4", "ondemand.inertPolyfill": "2df6945", "loader.PreviewActions": "129cfc0", - "ondemand.IntentPrompt": "18bedbf", - "loader.TweetCurationActionMenu": "66d04ff", + "ondemand.IntentPrompt": "d1f1ef4", + "loader.TweetCurationActionMenu": "03564f3", "loader.PivotLabelHandler": "cf2ecb3", "loaders.video.VideoPlayerEventsUI": "a448872", - "loader.MediaPickerWithPreview": "4acd72a", + "loader.MediaPickerWithPreview": "1d3822f", "ondemand.countries-ar": "6e283ff", "ondemand.countries-bg": "206e67c", "ondemand.countries-bn": "ada13be", @@ -666,15 +667,15 @@ "ondemand.countries-yo": "914c44a", "ondemand.countries-zh-Hant": "6b750c1", "ondemand.countries-zh": "c1bd765", - "bundle.SettingsRevamp": "9990f79", + "bundle.SettingsRevamp": "977651c", "ondemand.NotFound": "c10e94d", - "bundle.SettingsTransparency": "c97a5e7", + "bundle.SettingsTransparency": "634b5b1", "bundle.Download": "778c5c9", "ondemand.EditBirthdate": "f7606c2", "ondemand.framerateTracking": "cc5badf", "ondemand.qrcode": "670462c", "bundle.TimezoneSelector.timezones": "b15730e", - "loader.immersiveTweetHandler": "8527cb5", + "loader.immersiveTweetHandler": "f587e8f", "loader.ProfileClusterFollow": "638afb4", "ondemand.Balloons": "aff0522", "icons/IconAccessibilityAlt-js": "f3fe3ce", @@ -1022,10 +1023,10 @@ "icons/IconYelpRating40NoMargin-js": "5978214", "icons/IconYelpRating45NoMargin-js": "46a6faa", "icons/IconYelpRating50NoMargin-js": "7e162e6", - "ondemand.ProfileSidebar": "3353f4b", + "ondemand.ProfileSidebar": "80c24bd", "loaders.video.VideoPlayerPrerollUI": "e4fa932", "ondemand.CarouselScroller": "54bad0c", - "bundle.PlainTextCompose": "e220c88", + "bundle.PlainTextCompose": "c06a566", "ondemand.DownvoteEducation": "da2ee8d", "ondemand.LeaveThisConversation": "b2d4560", "ondemand.CommunityTweetPinning": "a47ed01" diff --git a/info/endpoints/endpoints.AccountTaxonomy.30ffd58a.js b/info/endpoints/endpoints.AccountTaxonomy.30ffd58a.js new file mode 100644 index 0000000..0afc338 --- /dev/null +++ b/info/endpoints/endpoints.AccountTaxonomy.30ffd58a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.AccountTaxonomy","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91939:e=>{e.exports={queryId:"_ckHEj05gan2VfNHG6thBA",operationName:"DisableUserAccountLabel",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},95378:e=>{e.exports={queryId:"rD5gLxVmMvtdtYU1UHWlFQ",operationName:"UserAccountLabel",operationType:"query",metadata:{featureSwitches:[]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},95901:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>b,isDisableUserAccountLabelFail:()=>p,isFetchFail:()=>d});var n=_(72599),i=_(17360),a=_(91939),r=_.n(a),o=_(95378),l=_.n(o),s=_(97534);const d=(e,t)=>{var _;return(null==t||null==(_=t.user)?void 0:_.result)||(0,n.ZP)("GQL AccountTaxonomy: Failed to load User Account Label",{extra:(0,s.errorBreadcrumb)(e)}),(0,i.jB)(e)},p=(e,t)=>((null==t?void 0:t.disable_user_account_label)||(0,n.ZP)("GQL AccountTaxonomy: Failed to load Disable User Account Status",{extra:(0,s.errorBreadcrumb)(e)}),(0,i.jB)(e)),b=({apiClient:e,featureSwitches:t})=>({fetchUserAccountLabel:({userId:t})=>e.graphQL(l(),{rest_id:t},d),disableUserAccountLabel:()=>e.graphQL(r(),{},p)})},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>j,errorBreadcrumb:()=>z,isFatalGenericTimelineError:()=>H,isFatalModeratedTimelineError:()=>R,isFatalTeamsResponseError:()=>C,isFatalUserScopedFollowTimelineError:()=>E,isFatalViewerScopedFollowTimelineError:()=>N,parseUserScopedTimeline:()=>U,parseViewerScopedTimeline:()=>Z});var n=_(58955),i=_(79363),a=_(72599),r=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),m=_(15157),v=_.n(m),h=_(63922),g=_.n(h),f=_(41025),y=_.n(f),q=_(70395),x=_.n(q),T=_(84559),k=_.n(T),A=_(53846),I=_.n(A),B=_(44328),F=_.n(B),Q=_(51583),S=_.n(Q),G=_(22227),L=_.n(G),P=_(82249);const U=e=>{var t;let _=P.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||P.cY);return _},z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},Z=e=>{let t=P.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||P.cY);return t},C=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),E=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Follow timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},N=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:z(e)}),!n&&(0,o.jB)(e)},M=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Muting timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},R=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,a.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},H=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:z(e)}),!n&&(0,o.jB)(e)};function Y(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===r.kH.Imported?v():e===r.kH.AutoBlock?w():c(),({count:r,cursor:s})=>t.graphQL(n,{count:r,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,a.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||P.cY))}const j=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:Y(r.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:Y(r.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:Y(r.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(U),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(U),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(U),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(S(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},N).then(Z),fetchViewerTeams:()=>e.graphQLFullResponse(L(),{...(0,l.S)(t)},C).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const a=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!a.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(I(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},R).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||P.cY}return P.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(F(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},M).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||P.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(k(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},H).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||P.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>a});var n=_(60917),i=_.n(n);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>r,Z:()=>o});var n=_(6899),i=_(46395),a=_(90650);const r=new n.fK.Entity("teams",{user:a.Z},{idAttribute:({user:e})=>e[a.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(r)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),a=_(57659),r=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,r.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=a.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AccountTaxonomy.30ffd58a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.AccountTaxonomy.5749a4fa.js b/info/endpoints/endpoints.AccountTaxonomy.5749a4fa.js deleted file mode 100644 index 9f07b9c..0000000 --- a/info/endpoints/endpoints.AccountTaxonomy.5749a4fa.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.AccountTaxonomy","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91939:e=>{e.exports={queryId:"_ckHEj05gan2VfNHG6thBA",operationName:"DisableUserAccountLabel",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},95378:e=>{e.exports={queryId:"rD5gLxVmMvtdtYU1UHWlFQ",operationName:"UserAccountLabel",operationType:"query",metadata:{featureSwitches:[]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},95901:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>b,isDisableUserAccountLabelFail:()=>p,isFetchFail:()=>d});var n=_(72599),i=_(17360),r=_(91939),a=_.n(r),o=_(95378),l=_.n(o),s=_(97534);const d=(e,t)=>{var _;return(null==t||null==(_=t.user)?void 0:_.result)||(0,n.ZP)("GQL AccountTaxonomy: Failed to load User Account Label",{extra:(0,s.errorBreadcrumb)(e)}),(0,i.jB)(e)},p=(e,t)=>((null==t?void 0:t.disable_user_account_label)||(0,n.ZP)("GQL AccountTaxonomy: Failed to load Disable User Account Status",{extra:(0,s.errorBreadcrumb)(e)}),(0,i.jB)(e)),b=({apiClient:e,featureSwitches:t})=>({fetchUserAccountLabel:({userId:t})=>e.graphQL(l(),{rest_id:t},d),disableUserAccountLabel:()=>e.graphQL(a(),{},p)})},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>K,errorBreadcrumb:()=>z,isFatalGenericTimelineError:()=>H,isFatalModeratedTimelineError:()=>Y,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>N,isFatalViewerScopedFollowTimelineError:()=>C,parseUserScopedTimeline:()=>Z,parseViewerScopedTimeline:()=>P});var n=_(58955),i=_(79363),r=_(72599),a=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),v=_(15157),m=_.n(v),h=_(63922),f=_.n(h),g=_(41025),y=_.n(g),q=_(70395),x=_.n(q),T=_(84559),k=_.n(T),A=_(53846),B=_.n(A),I=_(44328),L=_.n(I),F=_(51583),Q=_.n(F),S=_(22227),G=_.n(S),U=_(82249);const Z=e=>{var t;let _=U.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||U.cY);return _},z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},P=e=>{let t=U.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||U.cY);return t},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),N=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},C=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:z(e)}),!n&&(0,o.jB)(e)},j=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},Y=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},H=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:z(e)}),!n&&(0,o.jB)(e)};function M(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>t.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||U.cY))}const K=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:M(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:M(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:M(a.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},N).then(Z),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},N).then(Z),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},N).then(Z),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(P),fetchViewerTeams:()=>e.graphQLFullResponse(G(),{...(0,l.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const r=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(B(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},Y).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||U.cY}return U.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(L(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},j).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||U.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(k(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},H).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||U.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var n=_(60917),i=_.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>a,Z:()=>o});var n=_(6899),i=_(46395),r=_(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(a)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),r=_(57659),a=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=r.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AccountTaxonomy.5749a4fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.AudioSpaces.a4ff8eca.js b/info/endpoints/endpoints.AudioSpaces.a4ff8eca.js new file mode 100644 index 0000000..b0dcf00 --- /dev/null +++ b/info/endpoints/endpoints.AudioSpaces.a4ff8eca.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.AudioSpaces"],{64332:e=>{e.exports={queryId:"I-a0aEU_NFrl-zpeR0GeSg",operationName:"AudioSpaceById",operationType:"query",metadata:{featureSwitches:["spaces_2022_h2_clipping","spaces_2022_h2_spaces_communities","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84924:e=>{e.exports={queryId:"NTq79TuSz6fHj8lQaferJw",operationName:"AudioSpaceSearch",operationType:"query",metadata:{featureSwitches:[]}}},24135:e=>{e.exports={queryId:"Sxn4YOlaAwEKjnjWV0h7Mw",operationName:"SubscribeToScheduledSpace",operationType:"mutation",metadata:{featureSwitches:[]}}},93957:e=>{e.exports={queryId:"Zevhh76Msw574ZSs2NQHGQ",operationName:"UnsubscribeFromScheduledSpace",operationType:"mutation",metadata:{featureSwitches:[]}}},27260:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});r(71372),r(6886);var s=r(72599),i=r(83175),n=(r(36728),r(14983)),a=r.n(n),o=r(59124),l=r(90968),u=r(36002),_=r(38269),c=r(26178),d=r(12006);function p(e){var t,r,s,i;a()(e,"audioSpace is required");const{metadata:n,participants:l,sharings:d,...p}=e;a()(n,"metadata is required");const{rest_id:b,state:f}=n;a()(b,"rest_id is required"),a()(f,"state is required");const y=function(e){if(e&&e.result&&"Community"===e.result.__typename){const{__typename:t,rest_id:r,...s}=e.result,{custom_theme:i,default_theme:n,name:a}=s,l=o.Z.getCommunityTheme(i||n),u=o.Z.getCommunityBackgroundColor(l),c=(0,_.Wb)(s),d=(0,_.TB)(s),p=c||d;return{rest_id:r,color:u,name:a,image_url:null==p?void 0:p.url}}}(n.community_results),v=function(e,t){const r=null==e?void 0:e.total,s=h(null==e?void 0:e.admins,t),i=h(null==e?void 0:e.speakers,t),n=h(null==e?void 0:e.listeners,t);return{total:r,admins:s,speakers:i,listeners:n}}(l,y),w=function(e){if(!e)return[];return e.items.map((e=>{var t;const r=m(null==(t=e.user_results)?void 0:t.result),s=e.shared_item;if("AudioSpaceSharedTweet"===s.__typename){var i,n;if("Tweet"===(null==(i=s.tweet_results)||null==(n=i.result)?void 0:n.__typename)){var a;const{__typename:t,...i}=(null==(a=s.tweet_results)?void 0:a.result)||{},n=(0,c.y9)(i);if(n){const{cards:t,tweets:s,users:i}=n.entities,a=(0,u.F)(s,t,i,n.result);if(a)return{id:e.sharing_id,user:r,tweet:a}}}return null}return null})).filter(Boolean)}(d),g=m(null==(t=n.creator_results)?void 0:t.result),S=null==g?void 0:g.screen_name,q=null==g||null==(r=g.profile_image_extensions_media_color)?void 0:r.palette,{cohosts:T,host:I}=function(e,t){let r;const s=[];t?e.admins.forEach((e=>{e.twitter_screen_name===t?r=e:s.push(e)})):r=e.admins[0];return{host:r,cohosts:s}}(v,S);return a()(I,"host is required"),{...p,...n,rest_id:b,state:f,host:I,hostPalette:q,cohosts:T,participants:v,sharings:w,ended_at:n.ended_at?parseInt(n.ended_at,10):void 0,total_live_listeners:null!=(s=n.total_live_listeners)?s:0,total_replay_watched:null!=(i=n.total_replay_watched)?i:0,community:y}}function h(e,t){return e?e.map((({user_results:e,...r})=>{const s={...r,user_id:null==e?void 0:e.rest_id,community:void 0,has_nft_avatar:void 0,is_blue_verified:void 0,verified_type:void 0,highlightedLabel:void 0};if(t){const e=t.color,i=Boolean(r.community_role&&r.community_role!==l.WW.NonMember);s.community={color:e,isMember:i}}var i,n;null!=e&&e.result&&"User"===e.result.__typename&&(s.is_blue_verified=e.result.is_blue_verified,s.has_nft_avatar=e.result.has_nft_avatar,s.is_blue_verified=e.result.is_blue_verified,s.verified_type=null==(i=e.result.legacy)?void 0:i.verified_type,s.highlightedLabel=(0,d.H)(null==(n=e.result.identity_profile_labels_highlighted_label)?void 0:n.label));return s})):[]}function m(e){if(e&&"User"===e.__typename){const{__typename:t,...r}=e,s=(0,c.Hy)(r);if(s)return s.entities.users[s.result]}return null}var b=r(64332),f=r.n(b),y=r(84924),v=r.n(y),w=r(24135),g=r.n(w),S=r(93957),q=r.n(S),T=r(67560);const I=({apiClient:e,featureSwitches:t})=>({spacebar:()=>e.getUnversioned("/fleets/v1/fleetline",{only_spaces:!0},{}),byId(r,s={}){const n="byId",a=s.isMetatagsQuery||!1;return e.graphQL(f(),{id:r,isMetatagsQuery:a,...(0,i.d)(t),withReplays:t.isTrue("voice_rooms_replay_consumption")},B(n,r,(()=>!0))).catch((e=>{if(!function(e){if(!e)return!1;const[t]=e.errors||[];return(null==t?void 0:t.code)===T.Z.DuplicateRequest}(e))throw e})).then((e=>{if(e)try{return p(null==e?void 0:e.audioSpace)}catch(e){throw new Error(L(n,e.message))}}))},subscribeToScheduledSpaceById(t){const r="subscribeToScheduledSpaceById";return e.graphQL(g(),{id:t},B(r,t)).catch(x(r)).then(A(r))},unsubscribeFromScheduledSpaceById(t){const r="unsubscribeFromScheduledSpaceById";return e.graphQL(q(),{id:t},B(r,t)).catch(x(r)).then(A(r))},search(t,r){const s="spacesSearch";return e.graphQL(v(),{query:t,filter:r},B(s,t)).catch(x(s)).then((e=>{var t,r;return null!=e&&null!=(t=e.search_by_raw_query)&&t.audio_spaces_grouped_by_section?function(e){if(!Array.isArray(e.sections))return{sections:[]};const t={sections:[]};return e.sections.forEach((e=>{const{destination:r,name:s}=e;if(Array.isArray(e.items)){const i=[];e.items.forEach((e=>{var t;null!=e&&null!=(t=e.space)&&t.rest_id&&i.push(e.space.rest_id)})),s&&r&&t.sections.push({name:s,destination:r,items:i})}})),t}(null==e||null==(r=e.search_by_raw_query)?void 0:r.audio_spaces_grouped_by_section):{sections:[]}}))}}),L=(e,t)=>`GQL: AudioSpaces.${e} [${t}]`;function x(e){return t=>{if(t)throw new Error(L(e,t.message))}}function A(e){return t=>{if(t)return t;throw new Error(L(e,"404"))}}const Q=(e,t)=>!1;function B(e,t,r=Q){return function(i,n){let a=!1;if(i.length){const[r]=i,{code:n,message:o,path:l}=r;let u;const _=E.find((({matches:e})=>e(o)));if(null!=_&&_.message)u=L(e,_.message);else if(Array.isArray(l)){const t=l.map(C).join(".");u=L(e,t)}else u=L(e,o||"isFatalError");(0,s.ZP)(u,{extra:{code:n,id:t,message:o,path:l}}),a=!0}return!r(i,n)&&a}}function C(e){return"number"==typeof e?"#":e}const E=["Overcapacity: Unspecified","Timeout: Unspecified"].map((e=>({matches:t=>t&&e.toLowerCase()===t.toLowerCase(),message:e})))},83175:(e,t,r)=>{"use strict";r.d(t,{S:()=>a,d:()=>n});var s=r(60917),i=r.n(s);const n=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},12006:(e,t,r)=>{"use strict";r.d(t,{H:()=>i});var s=r(3760);function i(e){if(!e)return;const{badge:t,description:r,url:i,userLabelDisplayType:n,userLabelType:a}=e;return{badge:t,description:r,userLabelType:a,userLabelDisplayType:n,url:i&&(0,s.Z)(i)}}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AudioSpaces.a4ff8eca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.AudioSpaces.cf4e362a.js b/info/endpoints/endpoints.AudioSpaces.cf4e362a.js deleted file mode 100644 index 0552e94..0000000 --- a/info/endpoints/endpoints.AudioSpaces.cf4e362a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.AudioSpaces"],{64332:e=>{e.exports={queryId:"dfyYkBvyJfeBPETcOA7b-g",operationName:"AudioSpaceById",operationType:"query",metadata:{featureSwitches:["spaces_2022_h2_clipping","spaces_2022_h2_spaces_communities","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84924:e=>{e.exports={queryId:"NTq79TuSz6fHj8lQaferJw",operationName:"AudioSpaceSearch",operationType:"query",metadata:{featureSwitches:[]}}},24135:e=>{e.exports={queryId:"Sxn4YOlaAwEKjnjWV0h7Mw",operationName:"SubscribeToScheduledSpace",operationType:"mutation",metadata:{featureSwitches:[]}}},93957:e=>{e.exports={queryId:"Zevhh76Msw574ZSs2NQHGQ",operationName:"UnsubscribeFromScheduledSpace",operationType:"mutation",metadata:{featureSwitches:[]}}},27260:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>A});r(71372),r(6886);var s=r(72599),i=r(83175),n=(r(36728),r(14983)),a=r.n(n),o=r(59124),l=r(90968),u=r(36002),_=r(38269),c=r(26178),d=r(12006);function p(e){var t,r,s,i;a()(e,"audioSpace is required");const{metadata:n,participants:l,sharings:d,...p}=e;a()(n,"metadata is required");const{rest_id:b,state:f}=n;a()(b,"rest_id is required"),a()(f,"state is required");const v=function(e){if(e&&e.result&&"Community"===e.result.__typename){const{__typename:t,rest_id:r,...s}=e.result,{custom_theme:i,default_theme:n,name:a}=s,l=o.Z.getCommunityTheme(i||n),u=o.Z.getCommunityBackgroundColor(l),c=(0,_.Wb)(s),d=(0,_.TB)(s),p=c||d;return{rest_id:r,color:u,name:a,image_url:null==p?void 0:p.url}}}(n.community_results),y=function(e,t){const r=null==e?void 0:e.total,s=h(null==e?void 0:e.admins,t),i=h(null==e?void 0:e.speakers,t),n=h(null==e?void 0:e.listeners,t);return{total:r,admins:s,speakers:i,listeners:n}}(l,v),w=function(e){if(!e)return[];return e.items.map((e=>{var t;const r=m(null==(t=e.user_results)?void 0:t.result),s=e.shared_item;if("AudioSpaceSharedTweet"===s.__typename){var i,n;if("Tweet"===(null==(i=s.tweet_results)||null==(n=i.result)?void 0:n.__typename)){var a;const{__typename:t,...i}=(null==(a=s.tweet_results)?void 0:a.result)||{},n=(0,c.y9)(i);if(n){const{cards:t,tweets:s,users:i}=n.entities,a=(0,u.F)(s,t,i,n.result);if(a)return{id:e.sharing_id,user:r,tweet:a}}}return null}return null})).filter(Boolean)}(d),g=m(null==(t=n.creator_results)?void 0:t.result),S=null==g?void 0:g.screen_name,T=null==g||null==(r=g.profile_image_extensions_media_color)?void 0:r.palette,{cohosts:q,host:A}=function(e,t){let r;const s=[];t?e.admins.forEach((e=>{e.twitter_screen_name===t?r=e:s.push(e)})):r=e.admins[0];return{host:r,cohosts:s}}(y,S);return a()(A,"host is required"),{...p,...n,rest_id:b,state:f,host:A,hostPalette:T,cohosts:q,participants:y,sharings:w,ended_at:n.ended_at?parseInt(n.ended_at,10):void 0,total_live_listeners:null!=(s=n.total_live_listeners)?s:0,total_replay_watched:null!=(i=n.total_replay_watched)?i:0,community:v}}function h(e,t){return e?e.map((({user_results:e,...r})=>{const s={...r,user_id:null==e?void 0:e.rest_id,community:void 0,has_nft_avatar:void 0,is_blue_verified:void 0,verified_type:void 0,highlightedLabel:void 0};if(t){const e=t.color,i=Boolean(r.community_role&&r.community_role!==l.WW.NonMember);s.community={color:e,isMember:i}}var i,n;null!=e&&e.result&&"User"===e.result.__typename&&(s.is_blue_verified=e.result.is_blue_verified,s.has_nft_avatar=e.result.has_nft_avatar,s.is_blue_verified=e.result.is_blue_verified,s.verified_type=null==(i=e.result.legacy)?void 0:i.verified_type,s.highlightedLabel=(0,d.H)(null==(n=e.result.identity_profile_labels_highlighted_label)?void 0:n.label));return s})):[]}function m(e){if(e&&"User"===e.__typename){const{__typename:t,...r}=e,s=(0,c.Hy)(r);if(s)return s.entities.users[s.result]}return null}var b=r(64332),f=r.n(b),v=r(84924),y=r.n(v),w=r(24135),g=r.n(w),S=r(93957),T=r.n(S),q=r(67560);const A=({apiClient:e,featureSwitches:t})=>({spacebar:()=>e.getUnversioned("/fleets/v1/fleetline",{only_spaces:!0},{}),byId(r,s={}){const n="byId",a=s.isMetatagsQuery||!1;return e.graphQL(f(),{id:r,isMetatagsQuery:a,...(0,i.d)(t),withReplays:t.isTrue("voice_rooms_replay_consumption")},Q(n,r,(()=>!0))).catch((e=>{if(!function(e){if(!e)return!1;const[t]=e.errors||[];return(null==t?void 0:t.code)===q.Z.DuplicateRequest}(e))throw e})).then((e=>{if(e)try{return p(null==e?void 0:e.audioSpace)}catch(e){throw new Error(L(n,e.message))}}))},subscribeToScheduledSpaceById(t){const r="subscribeToScheduledSpaceById";return e.graphQL(g(),{id:t},Q(r,t)).catch(x(r)).then(I(r))},unsubscribeFromScheduledSpaceById(t){const r="unsubscribeFromScheduledSpaceById";return e.graphQL(T(),{id:t},Q(r,t)).catch(x(r)).then(I(r))},search(t,r){const s="spacesSearch";return e.graphQL(y(),{query:t,filter:r},Q(s,t)).catch(x(s)).then((e=>{var t,r;return null!=e&&null!=(t=e.search_by_raw_query)&&t.audio_spaces_grouped_by_section?function(e){if(!Array.isArray(e.sections))return{sections:[]};const t={sections:[]};return e.sections.forEach((e=>{const{destination:r,name:s}=e;if(Array.isArray(e.items)){const i=[];e.items.forEach((e=>{var t;null!=e&&null!=(t=e.space)&&t.rest_id&&i.push(e.space.rest_id)})),s&&r&&t.sections.push({name:s,destination:r,items:i})}})),t}(null==e||null==(r=e.search_by_raw_query)?void 0:r.audio_spaces_grouped_by_section):{sections:[]}}))}}),L=(e,t)=>`GQL: AudioSpaces.${e} [${t}]`;function x(e){return t=>{if(t)throw new Error(L(e,t.message))}}function I(e){return t=>{if(t)return t;throw new Error(L(e,"404"))}}const B=(e,t)=>!1;function Q(e,t,r=B){return function(i,n){let a=!1;if(i.length){const[r]=i,{code:n,message:o,path:l}=r;let u;const _=C.find((({matches:e})=>e(o)));if(null!=_&&_.message)u=L(e,_.message);else if(Array.isArray(l)){const t=l.map(k).join(".");u=L(e,t)}else u=L(e,o||"isFatalError");(0,s.ZP)(u,{extra:{code:n,id:t,message:o,path:l}}),a=!0}return!r(i,n)&&a}}function k(e){return"number"==typeof e?"#":e}const C=["Overcapacity: Unspecified","Timeout: Unspecified"].map((e=>({matches:t=>t&&e.toLowerCase()===t.toLowerCase(),message:e})))},83175:(e,t,r)=>{"use strict";r.d(t,{S:()=>a,d:()=>n});var s=r(60917),i=r.n(s);const n=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},12006:(e,t,r)=>{"use strict";r.d(t,{H:()=>i});var s=r(3760);function i(e){if(!e)return;const{badge:t,description:r,url:i,userLabelDisplayType:n,userLabelType:a}=e;return{badge:t,description:r,userLabelType:a,userLabelDisplayType:n,url:i&&(0,s.Z)(i)}}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.AudioSpaces.cf4e362a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Birdwatch.4297249a.js b/info/endpoints/endpoints.Birdwatch.4297249a.js new file mode 100644 index 0000000..5c5996c --- /dev/null +++ b/info/endpoints/endpoints.Birdwatch.4297249a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Birdwatch"],{72609:e=>{e.exports={queryId:"3ss48WFwGokBH_gj8t_8aQ",operationName:"BirdwatchAliasSelect",operationType:"mutation",metadata:{featureSwitches:[]}}},74147:e=>{e.exports={queryId:"65b3OeRrj10wkV4sRZW1TQ",operationName:"BirdwatchFetchContributorNotesSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},42987:e=>{e.exports={queryId:"TKdL0YFsX4DMOpMKeneLvA",operationName:"BirdwatchCreateAppeal",operationType:"mutation",metadata:{featureSwitches:[]}}},4095:e=>{e.exports={queryId:"uEbQ9JIKx303YJinMOYP4Q",operationName:"BirdwatchCreateNote",operationType:"mutation",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},24256:e=>{e.exports={queryId:"bD3AEK9BMCSpRods_ng2fA",operationName:"BirdwatchCreateRating",operationType:"mutation",metadata:{featureSwitches:[]}}},31964:e=>{e.exports={queryId:"IKS_qrShkDyor6Ri1ahd9g",operationName:"BirdwatchDeleteNote",operationType:"mutation",metadata:{featureSwitches:[]}}},36858:e=>{e.exports={queryId:"OpvCOyOoQClUND66zDzrnA",operationName:"BirdwatchDeleteRating",operationType:"mutation",metadata:{featureSwitches:[]}}},97571:e=>{e.exports={queryId:"FLgLReVIssXjB_ui3wcrRQ",operationName:"BirdwatchEditNotificationSettings",operationType:"mutation",metadata:{featureSwitches:[]}}},18545:e=>{e.exports={queryId:"szoXMke8AZOErso908iglw",operationName:"BirdwatchFetchAliasSelfSelectOptions",operationType:"query",metadata:{featureSwitches:[]}}},92661:e=>{e.exports={queryId:"LUEdtkcpBlGktUtms4BvwA",operationName:"BirdwatchFetchAliasSelfSelectStatus",operationType:"query",metadata:{featureSwitches:[]}}},68783:e=>{e.exports={queryId:"pMbW6Y4LuS5MzlSOEqERJQ",operationName:"BirdwatchFetchAuthenticatedUserProfile",operationType:"query",metadata:{featureSwitches:[]}}},52751:e=>{e.exports={queryId:"btgGtchypc3D491MJ7XXWA",operationName:"BirdwatchFetchBirdwatchProfile",operationType:"query",metadata:{featureSwitches:[]}}},46880:e=>{e.exports={queryId:"sRwauX_gbNhqkOooWXKwAA",operationName:"BirdwatchFetchGlobalTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},10957:e=>{e.exports={queryId:"GFay_vg65_zQsQ-PTzBg1g",operationName:"BirdwatchFetchNotes",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},38389:e=>{e.exports={queryId:"EeBIx2v5a-_Th56kQxM7NQ",operationName:"BirdwatchFetchOneNote",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},78111:e=>{e.exports={queryId:"9bDdJ6AL26RLkcUShEcF-A",operationName:"BirdwatchFetchPublicData",operationType:"query",metadata:{featureSwitches:[]}}},85949:e=>{e.exports={queryId:"cED9wJy8Nd1kZCCYuIq9zQ",operationName:"BirdwatchProfileAcknowledgeEarnOut",operationType:"mutation",metadata:{featureSwitches:[]}}},10695:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>te,isFatalBirdwatchGlobalTimelineError:()=>H});var i=a(6899),r=a(69114),n=a(72599),_=a(17360),o=a(83175),s=a(46395),l=a(28962),d=a(30669),c=a(85364);const p=(e,t,a)=>{if(null==t||!t.data_v1)return null;const i=t.data_v1.summary,{tweet_results:r,...n}=t;return{...n,data_v1:{...n.data_v1,summary:i&&(0,l.Z)(e,i)},tombstone:t.tombstone&&(0,l.Z)(e,t.tombstone),tweet:null==r?void 0:r.result,tweetId:a}},u=new i.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.tweet_id,processStrategy:e=>{const t=(0,d.$)(),a={};if(e.misleading_birdwatch_notes){const i=e.misleading_birdwatch_notes.notes.map((e=>p(t,e)));a.misleading_ids=i.filter(Boolean)}if(e.not_misleading_birdwatch_notes){const i=e.not_misleading_birdwatch_notes.notes.map((e=>p(t,e)));a.not_misleading_ids=i.filter(Boolean)}return e.self_birdwatch_note&&(a.ownNoteId=e.self_birdwatch_note.rest_id),a}}),h=new i.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.alias,processStrategy:e=>{const t=(0,d.$)(),{notes_slice:a,...i}=e;return a&&(i.notes=a.notes.map((e=>p(t,e))).filter(Boolean)),i}}),b=new i.fK.Entity("birdwatchContributorNotes",{},{idAttribute:"rest_id",processStrategy:(e,t,a)=>{var i,r;const{tweet_results:n,..._}=e,o={..._},l=(0,d.$)(),c=null!=n&&null!=(i=n.result)&&i.tweet?null==n||null==(r=n.result)?void 0:r.tweet:null==n?void 0:n.result,u=p(l,o,c)||{};return(0,s.Z)(u,t,a)}});b.define({tweetId:c.Z});const w=new i.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.rest_id,processStrategy:e=>p((0,d.$)(),e)});var v=a(72609),f=a.n(v),m=a(74147),g=a.n(m),y=a(42987),S=a.n(y),q=a(4095),B=a.n(q),N=a(24256),x=a.n(N),Q=a(31964),L=a.n(Q),T=a(36858),A=a.n(T),I=a(97571),F=a.n(I),k=a(18545),E=a.n(k),C=a(92661),R=a.n(C),O=a(68783),D=a.n(O),P=a(52751),z=a.n(P),G=a(46880),K=a.n(G),M=a(10957),Z=a.n(M),U=a(38389),X=a.n(U),j=a(78111),J=a.n(j),W=a(85949),Y=a.n(W),$=a(82249);const V={result:[],entities:{},slice_info:{}},H=(e,t)=>{var a,i;const r=null==t||null==(a=t.viewer)||null==(i=a.birdwatch_home_page)?void 0:i.body;return r||(0,n.ZP)("GQL URT: Failed to render Birdwatch Global timeline"),!r&&(0,_.jB)(e)},ee=(e,t)=>e.graphQL(E(),{}).then((a=>{const{options:i,retry_in_millis:n}=a.authenticated_user_birdwatch_alias_self_select_options||{};return n&&t<5?(0,r.Z)(n).then((()=>ee(e,t+1))):i})),te=({apiClient:e,featureSwitches:t})=>({acknowledgeEarnOut:()=>e.graphQL(Y(),{}),createAppeal:t=>e.graphQL(S(),{note_id:t.note_id}),createNote:a=>e.graphQL(B(),{tweet_id:a.tweet_id,is_media_note:a.is_media_note,data_v1:a.data,...(0,o.S)(t)}).then((e=>{var t,a,r;if("BirdwatchError"===(null==(t=e.birdwatchnote_create_v2)?void 0:t.type))return{error:"BirdwatchError",reason:null==(a=e.birdwatchnote_create_v2)?void 0:a.reason,error_code:null==(r=e.birdwatchnote_create_v2)?void 0:r.error_code};const n={...e.birdwatchnote_create_v2};return n&&(0,i.Fv)(n,w)})),createRating(a){const{data:i,note_id:r,tweet_id:n}=a,_=t.isTrue("responsive_web_birdwatch_ratings_v2_enabled")?{note_id:r,tweet_id:n,data_v2:i}:{note_id:r,data_v1:i};return e.graphQL(x(),_).then((e=>{var t,a;return"BirdwatchError"===(null==(t=e.birdwatchnote_rate_v3)?void 0:t.type)?{error:"BirdwatchError",error_code:null==(a=e.birdwatchnote_rate_v3)?void 0:a.error_code}:{...e.birdwatchnote_rate_v3}}))},deleteNote:t=>e.graphQL(L(),{note_id:t.note_id}),deleteRating:t=>e.graphQL(A(),{note_id:t.note_id}),editNotificationSettings:t=>e.graphQL(F(),{settings:t.settings}),fetchOneNote:a=>e.graphQL(X(),{note_id:a.note_id,...(0,o.S)(t)}).then((e=>{const t={...e.birdwatch_note_by_rest_id};return t&&(0,i.Fv)(t,w)})),fetchNotes(a){const{tweet_id:r}=a;return e.graphQL(Z(),{tweet_id:r,...(0,o.S)(t)}).then((e=>{const t=e.tweet_result_by_rest_id.result,a={...null!=t&&t.tweet?t.tweet:t,tweet_id:r};return a&&(0,i.Fv)(a,u)}))},fetchBirdwatchProfile:t=>e.graphQL(z(),{alias:t.alias}).then((e=>{const t={...e.birdwatch_profile_by_alias};return t&&(0,i.Fv)(t,h)})),fetchBirdwatchContributorNotesSlice:a=>a?e.graphQL(g(),{count:10,...a,...(0,o.S)(t)},(0,_.kj)((e=>{var t;return!(null!=e&&null!=(t=e.birdwatch_profile_by_alias)&&t.notes_slice)}),"GQL Birdwatch: Failed to fetch Contributor Notes Slice")).then((e=>{var t;const a=null==e||null==(t=e.birdwatch_profile_by_alias)?void 0:t.notes_slice;if(a){const{entities:e,result:t}=(0,i.Fv)(a.notes,[b]);return{result:t,entities:e,slice_info:a.slice_info}}return V})):Promise.resolve(V),fetchBirdwatchContributorDeletedNotesSlice:a=>a?e.graphQL(g(),{count:10,...a,...(0,o.S)(t)},(0,_.kj)((e=>{var t;return!(null!=e&&null!=(t=e.birdwatch_profile_by_alias)&&t.deleted_notes_slice)}),"GQL Birdwatch: Failed to fetch Contributor Notes Slice")).then((e=>{var t;const a=null==e||null==(t=e.birdwatch_profile_by_alias)?void 0:t.deleted_notes_slice;if(a){const{entities:e,result:t}=(0,i.Fv)(a.notes,[b]);return{result:t,entities:e,slice_info:a.slice_info}}return V})):Promise.resolve(V),fetchAuthenticatedUserProfile:()=>e.graphQL(D(),{}).then((e=>e.authenticated_user_birdwatch_profile)),fetchAliasSelfSelectStatus:()=>e.graphQL(R(),{}).then((e=>e.authenticated_user_birdwatch_alias_self_select_status)),fetchAliasSelfSelectOptions:()=>ee(e,0),selectAlias:t=>e.graphQL(f(),{alias:t.alias}),fetchPublicData:()=>e.graphQL(J(),{}).then((e=>({...e.birdwatch_latest_public_data_file_bundle}))),fetchGlobalTimeline:()=>e.graphQL(K(),{...(0,o.d)(t)},H).then((e=>{var t;const a=null==e||null==(t=e.viewer)?void 0:t.birdwatch_home_page;return null!=a&&a.body?a:$.ln}))})},83175:(e,t,a)=>{"use strict";a.d(t,{S:()=>_,d:()=>n});var i=a(60917),r=a.n(i);const n=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{..._(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},_=e=>r()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Birdwatch.4297249a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Birdwatch.68d959ea.js b/info/endpoints/endpoints.Birdwatch.68d959ea.js deleted file mode 100644 index 376cbea..0000000 --- a/info/endpoints/endpoints.Birdwatch.68d959ea.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Birdwatch"],{72609:e=>{e.exports={queryId:"3ss48WFwGokBH_gj8t_8aQ",operationName:"BirdwatchAliasSelect",operationType:"mutation",metadata:{featureSwitches:[]}}},74147:e=>{e.exports={queryId:"88OmI0lxLM2MrNsVEdGVYg",operationName:"BirdwatchFetchContributorNotesSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},42987:e=>{e.exports={queryId:"TKdL0YFsX4DMOpMKeneLvA",operationName:"BirdwatchCreateAppeal",operationType:"mutation",metadata:{featureSwitches:[]}}},4095:e=>{e.exports={queryId:"0NTp75x6x6U1TLiUnYeHAA",operationName:"BirdwatchCreateNote",operationType:"mutation",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},24256:e=>{e.exports={queryId:"xWLuzZoATvfEIEGxnsLt7w",operationName:"BirdwatchCreateRating",operationType:"mutation",metadata:{featureSwitches:[]}}},31964:e=>{e.exports={queryId:"IKS_qrShkDyor6Ri1ahd9g",operationName:"BirdwatchDeleteNote",operationType:"mutation",metadata:{featureSwitches:[]}}},36858:e=>{e.exports={queryId:"OpvCOyOoQClUND66zDzrnA",operationName:"BirdwatchDeleteRating",operationType:"mutation",metadata:{featureSwitches:[]}}},97571:e=>{e.exports={queryId:"FLgLReVIssXjB_ui3wcrRQ",operationName:"BirdwatchEditNotificationSettings",operationType:"mutation",metadata:{featureSwitches:[]}}},18545:e=>{e.exports={queryId:"szoXMke8AZOErso908iglw",operationName:"BirdwatchFetchAliasSelfSelectOptions",operationType:"query",metadata:{featureSwitches:[]}}},92661:e=>{e.exports={queryId:"LUEdtkcpBlGktUtms4BvwA",operationName:"BirdwatchFetchAliasSelfSelectStatus",operationType:"query",metadata:{featureSwitches:[]}}},68783:e=>{e.exports={queryId:"pMbW6Y4LuS5MzlSOEqERJQ",operationName:"BirdwatchFetchAuthenticatedUserProfile",operationType:"query",metadata:{featureSwitches:[]}}},52751:e=>{e.exports={queryId:"btgGtchypc3D491MJ7XXWA",operationName:"BirdwatchFetchBirdwatchProfile",operationType:"query",metadata:{featureSwitches:[]}}},46880:e=>{e.exports={queryId:"9qMnIpGc_7Cl7lO-kUICOw",operationName:"BirdwatchFetchGlobalTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},10957:e=>{e.exports={queryId:"YwWrVFjt-JFzAIoORhb7iQ",operationName:"BirdwatchFetchNotes",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},38389:e=>{e.exports={queryId:"KEMqX7AZZ_4aB9yYSNQk8g",operationName:"BirdwatchFetchOneNote",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled"]}}},78111:e=>{e.exports={queryId:"9bDdJ6AL26RLkcUShEcF-A",operationName:"BirdwatchFetchPublicData",operationType:"query",metadata:{featureSwitches:[]}}},85949:e=>{e.exports={queryId:"cED9wJy8Nd1kZCCYuIq9zQ",operationName:"BirdwatchProfileAcknowledgeEarnOut",operationType:"mutation",metadata:{featureSwitches:[]}}},10695:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>te,isFatalBirdwatchGlobalTimelineError:()=>H});var a=i(6899),r=i(69114),n=i(72599),_=i(17360),o=i(83175),s=i(46395),l=i(28962),d=i(30669),c=i(85364);const p=(e,t,i)=>{if(null==t||!t.data_v1)return null;const a=t.data_v1.summary,{tweet_results:r,...n}=t;return{...n,data_v1:{...n.data_v1,summary:a&&(0,l.Z)(e,a)},tombstone:t.tombstone&&(0,l.Z)(e,t.tombstone),tweet:null==r?void 0:r.result,tweetId:i}},u=new a.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.tweet_id,processStrategy:e=>{const t=(0,d.$)(),i={};if(e.misleading_birdwatch_notes){const a=e.misleading_birdwatch_notes.notes.map((e=>p(t,e)));i.misleading_ids=a.filter(Boolean)}if(e.not_misleading_birdwatch_notes){const a=e.not_misleading_birdwatch_notes.notes.map((e=>p(t,e)));i.not_misleading_ids=a.filter(Boolean)}return e.self_birdwatch_note&&(i.ownNoteId=e.self_birdwatch_note.rest_id),i}}),h=new a.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.alias,processStrategy:e=>{const t=(0,d.$)(),{notes_slice:i,...a}=e;return i&&(a.notes=i.notes.map((e=>p(t,e))).filter(Boolean)),a}}),w=new a.fK.Entity("birdwatchContributorNotes",{},{idAttribute:"rest_id",processStrategy:(e,t,i)=>{var a,r;const{tweet_results:n,..._}=e,o={..._},l=(0,d.$)(),c=null!=n&&null!=(a=n.result)&&a.tweet?null==n||null==(r=n.result)?void 0:r.tweet:null==n?void 0:n.result,u=p(l,o,c)||{};return(0,s.Z)(u,t,i)}});w.define({tweetId:c.Z});const b=new a.fK.Entity("birdwatchNotes",{},{idAttribute:e=>e.rest_id,processStrategy:e=>p((0,d.$)(),e)});var v=i(72609),f=i.n(v),m=i(74147),g=i.n(m),y=i(42987),S=i.n(y),q=i(4095),N=i.n(q),B=i(24256),x=i.n(B),L=i(31964),I=i.n(L),Q=i(36858),T=i.n(Q),A=i(97571),F=i.n(A),k=i(18545),E=i.n(k),C=i(92661),O=i.n(C),D=i(68783),G=i.n(D),R=i(52751),P=i.n(R),z=i(46880),M=i.n(z),Z=i(10957),U=i.n(Z),K=i(38389),Y=i.n(K),j=i(78111),X=i.n(j),J=i(85949),W=i.n(J),V=i(82249);const $={result:[],entities:{},slice_info:{}},H=(e,t)=>{var i,a;const r=null==t||null==(i=t.viewer)||null==(a=i.birdwatch_home_page)?void 0:a.body;return r||(0,n.ZP)("GQL URT: Failed to render Birdwatch Global timeline"),!r&&(0,_.jB)(e)},ee=(e,t)=>e.graphQL(E(),{}).then((i=>{const{options:a,retry_in_millis:n}=i.authenticated_user_birdwatch_alias_self_select_options||{};return n&&t<5?(0,r.Z)(n).then((()=>ee(e,t+1))):a})),te=({apiClient:e,featureSwitches:t})=>({acknowledgeEarnOut:()=>e.graphQL(W(),{}),createAppeal:t=>e.graphQL(S(),{note_id:t.note_id}),createNote:i=>e.graphQL(N(),{tweet_id:i.tweet_id,data_v1:i.data,...(0,o.S)(t)}).then((e=>{var t,i,r;if("BirdwatchError"===(null==(t=e.birdwatchnote_create_v2)?void 0:t.type))return{error:"BirdwatchError",reason:null==(i=e.birdwatchnote_create_v2)?void 0:i.reason,error_code:null==(r=e.birdwatchnote_create_v2)?void 0:r.error_code};const n={...e.birdwatchnote_create_v2};return n&&(0,a.Fv)(n,b)})),createRating(i){const{data:a,note_id:r}=i,n=t.isTrue("responsive_web_birdwatch_ratings_v2_enabled")?{note_id:r,data_v2:a}:{note_id:r,data_v1:a};return e.graphQL(x(),n).then((e=>{var t,i;return"BirdwatchError"===(null==(t=e.birdwatchnote_rate_v3)?void 0:t.type)?{error:"BirdwatchError",error_code:null==(i=e.birdwatchnote_rate_v3)?void 0:i.error_code}:{...e.birdwatchnote_rate_v3}}))},deleteNote:t=>e.graphQL(I(),{note_id:t.note_id}),deleteRating:t=>e.graphQL(T(),{note_id:t.note_id}),editNotificationSettings:t=>e.graphQL(F(),{settings:t.settings}),fetchOneNote:i=>e.graphQL(Y(),{note_id:i.note_id,...(0,o.S)(t)}).then((e=>{const t={...e.birdwatch_note_by_rest_id};return t&&(0,a.Fv)(t,b)})),fetchNotes(i){const{tweet_id:r}=i;return e.graphQL(U(),{tweet_id:r,...(0,o.S)(t)}).then((e=>{const t=e.tweet_result_by_rest_id.result,i={...null!=t&&t.tweet?t.tweet:t,tweet_id:r};return i&&(0,a.Fv)(i,u)}))},fetchBirdwatchProfile:t=>e.graphQL(P(),{alias:t.alias}).then((e=>{const t={...e.birdwatch_profile_by_alias};return t&&(0,a.Fv)(t,h)})),fetchBirdwatchContributorNotesSlice:i=>i?e.graphQL(g(),{count:10,...i,...(0,o.S)(t)},(0,_.kj)((e=>{var t;return!(null!=e&&null!=(t=e.birdwatch_profile_by_alias)&&t.notes_slice)}),"GQL Birdwatch: Failed to fetch Contributor Notes Slice")).then((e=>{var t;const i=null==e||null==(t=e.birdwatch_profile_by_alias)?void 0:t.notes_slice;if(i){const{entities:e,result:t}=(0,a.Fv)(i.notes,[w]);return{result:t,entities:e,slice_info:i.slice_info}}return $})):Promise.resolve($),fetchBirdwatchContributorDeletedNotesSlice:i=>i?e.graphQL(g(),{count:10,...i,...(0,o.S)(t)},(0,_.kj)((e=>{var t;return!(null!=e&&null!=(t=e.birdwatch_profile_by_alias)&&t.deleted_notes_slice)}),"GQL Birdwatch: Failed to fetch Contributor Notes Slice")).then((e=>{var t;const i=null==e||null==(t=e.birdwatch_profile_by_alias)?void 0:t.deleted_notes_slice;if(i){const{entities:e,result:t}=(0,a.Fv)(i.notes,[w]);return{result:t,entities:e,slice_info:i.slice_info}}return $})):Promise.resolve($),fetchAuthenticatedUserProfile:()=>e.graphQL(G(),{}).then((e=>e.authenticated_user_birdwatch_profile)),fetchAliasSelfSelectStatus:()=>e.graphQL(O(),{}).then((e=>e.authenticated_user_birdwatch_alias_self_select_status)),fetchAliasSelfSelectOptions:()=>ee(e,0),selectAlias:t=>e.graphQL(f(),{alias:t.alias}),fetchPublicData:()=>e.graphQL(X(),{}).then((e=>({...e.birdwatch_latest_public_data_file_bundle}))),fetchGlobalTimeline:()=>e.graphQL(M(),{...(0,o.d)(t)},H).then((e=>{var t;const i=null==e||null==(t=e.viewer)?void 0:t.birdwatch_home_page;return null!=i&&i.body?i:V.ln}))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>_,d:()=>n});var a=i(60917),r=i.n(a);const n=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{..._(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},_=e=>r()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Birdwatch.68d959ea.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Bookmarks.80d0bcfa.js b/info/endpoints/endpoints.Bookmarks.80d0bcfa.js new file mode 100644 index 0000000..f90db28 --- /dev/null +++ b/info/endpoints/endpoints.Bookmarks.80d0bcfa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Bookmarks"],{98408:e=>{e.exports={queryId:"VNJlPrRysYTiDW3dp5C6SA",operationName:"BookmarkFolderTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65499:e=>{e.exports={queryId:"i78YDd0Tza-dV4SYs58kRg",operationName:"BookmarkFoldersSlice",operationType:"query",metadata:{featureSwitches:[]}}},14034:e=>{e.exports={queryId:"4KHZvvNbHNf07bsgnL9gWA",operationName:"bookmarkTweetToFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},76845:e=>{e.exports={queryId:"RV1g3b8n_SGOHwkqKYSCFw",operationName:"Bookmarks",operationType:"query",metadata:{featureSwitches:["graphql_timeline_v2_bookmark_timeline","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65986:e=>{e.exports={queryId:"6Xxqpq8TM_CREYiuof_h5w",operationName:"createBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},93508:e=>{e.exports={queryId:"skiACZKC1GDYli-M8RzEPQ",operationName:"BookmarksAllDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},13647:e=>{e.exports={queryId:"2UTTsO-6zs93XqlEUZPsSg",operationName:"DeleteBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},18438:e=>{e.exports={queryId:"a6kPp1cS1Dgbsjhapz1PNw",operationName:"EditBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},90827:e=>{e.exports={queryId:"2Qbj9XZvtUvyJB4gFwWfaA",operationName:"RemoveTweetFromBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},5929:(e,o,t)=>{"use strict";t.r(o),t.d(o,{default:()=>I,isFatalBookmarksAllDelete:()=>S});var r=t(6899),n=t(72599),a=t(17360),i=t(83175);const l=new r.fK.Entity("bookmarkFolders",{});var _=t(65499),s=t.n(_),d=t(98408),m=t.n(d),p=t(76845),k=t.n(p),u=t(14034),c=t.n(u),b=t(65986),w=t.n(b),v=t(93508),h=t.n(v),f=t(13647),g=t.n(f),y=t(18438),F=t.n(y),B=t(90827),q=t.n(B),T=t(82249);const x={result:[],entities:{},slice_info:{}},S=(e,o)=>{const t="Done"===(null==o?void 0:o.bookmark_all_delete);return t||(0,n.ZP)("GQL Bookmarks: Failed to delete all bookmarks"),(0,a.jB)(e)||!t},Q=(e,o)=>{var t,r,i;const l=null==o||null==(t=o.viewer)||null==(r=t.user_results)?void 0:r.result,_="User"===(null==l?void 0:l.__typename)?l:void 0,s=null==_||null==(i=_.bookmark_collections_slice)?void 0:i.items;return s||(0,n.ZP)("GQL Bookmark Folders: Failed to render Bookmark Folders timeline"),!s&&(0,a.jB)(e)},L=(e,o)=>{var t;const r=null==o||null==(t=o.bookmark_collection_timeline)?void 0:t.timeline;return r||(0,n.ZP)("GQL Bookmark Folders: Failed to render Bookmark Folders timeline"),!r&&(0,a.jB)(e)},I=({apiClient:e,featureSwitches:o})=>({bookmarkTweetToFolder:o=>e.graphQL(c(),{...o},(0,a.kj)((e=>!e.bookmark_collection_tweet_put),"GQL Bookmark Folders: failed to Add Tweet to Bookmark Folder")),createBookmarkFolder:o=>e.graphQL(w(),{...o},(0,a.kj)((e=>!e.bookmark_collection_create),"GQL Bookmark Folders: failed to Create Bookmark Folder")),deleteAll:()=>e.graphQL(h(),{},S).then((e=>e)),deleteBookmarkFolder(o){const{bookmarkFolderId:t}=o;return e.graphQL(g(),{bookmark_collection_id:t})},editBookmarkFolder(o){const{bookmarkFolderId:t,name:r}=o;return e.graphQL(F(),{bookmark_collection_id:t,name:r})},removeTweetFromBookmarkFolder(o){const{bookmarkFolderId:t,tweetId:r}=o;return e.graphQL(q(),{bookmark_collection_id:t,tweet_id:r})},fetchBookmarksTimeline:({count:t,cursor:r})=>e.graphQL(k(),{count:t,cursor:r,includePromotedContent:!0,...(0,i.d)(o)},((e,o)=>{var t,r;return!(null!=o&&null!=(t=o.bookmark_timeline)&&t.timeline||null!=o&&null!=(r=o.bookmark_timeline_v2)&&r.timeline)})).then((e=>{var o,t;return(null==e||null==(o=e.bookmark_timeline_v2)?void 0:o.timeline)||(null==e||null==(t=e.bookmark_timeline)?void 0:t.timeline)||T.cY})),fetchBookmarkFolderTimeline:({bookmark_collection_id:t,cursor:r})=>e.graphQL(m(),{bookmark_collection_id:t,cursor:r,includePromotedContent:!0,...(0,i.d)(o)},L).then((e=>{var o;return(null==e||null==(o=e.bookmark_collection_timeline)?void 0:o.timeline)||T.cY})),fetchBookmarkFoldersSlice:o=>o?e.graphQL(s(),o,Q).then((e=>{var o,t;const n=null==e||null==(o=e.viewer)||null==(t=o.user_results)?void 0:t.result,a="User"===(null==n?void 0:n.__typename)?n:void 0,i=null==a?void 0:a.bookmark_collections_slice;if(i){const{entities:e,result:o}=(0,r.Fv)(i.items,[l]);return{entities:e,result:o,slice_info:i.slice_info}}return x})):Promise.resolve(x)})},83175:(e,o,t)=>{"use strict";t.d(o,{S:()=>i,d:()=>a});var r=t(60917),n=t.n(r);const a=e=>{const o=e.isTrue("responsive_web_reactions_enabled");return{...i(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:o,withReactionsPerspective:o}},i=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Bookmarks.80d0bcfa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Bookmarks.da80f3ca.js b/info/endpoints/endpoints.Bookmarks.da80f3ca.js deleted file mode 100644 index eedf3dc..0000000 --- a/info/endpoints/endpoints.Bookmarks.da80f3ca.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Bookmarks"],{98408:e=>{e.exports={queryId:"TJdN9sgbnhm-f32wqqeAbA",operationName:"BookmarkFolderTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65499:e=>{e.exports={queryId:"i78YDd0Tza-dV4SYs58kRg",operationName:"BookmarkFoldersSlice",operationType:"query",metadata:{featureSwitches:[]}}},14034:e=>{e.exports={queryId:"4KHZvvNbHNf07bsgnL9gWA",operationName:"bookmarkTweetToFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},76845:e=>{e.exports={queryId:"mE7vdpE0Darr7xFPJbsSHQ",operationName:"Bookmarks",operationType:"query",metadata:{featureSwitches:["graphql_timeline_v2_bookmark_timeline","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65986:e=>{e.exports={queryId:"6Xxqpq8TM_CREYiuof_h5w",operationName:"createBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},93508:e=>{e.exports={queryId:"skiACZKC1GDYli-M8RzEPQ",operationName:"BookmarksAllDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},13647:e=>{e.exports={queryId:"2UTTsO-6zs93XqlEUZPsSg",operationName:"DeleteBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},18438:e=>{e.exports={queryId:"a6kPp1cS1Dgbsjhapz1PNw",operationName:"EditBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},90827:e=>{e.exports={queryId:"2Qbj9XZvtUvyJB4gFwWfaA",operationName:"RemoveTweetFromBookmarkFolder",operationType:"mutation",metadata:{featureSwitches:[]}}},5929:(e,o,t)=>{"use strict";t.r(o),t.d(o,{default:()=>I,isFatalBookmarksAllDelete:()=>Q});var r=t(6899),i=t(72599),n=t(17360),a=t(83175);const l=new r.fK.Entity("bookmarkFolders",{});var _=t(65499),s=t.n(_),d=t(98408),m=t.n(d),p=t(76845),k=t.n(p),u=t(14034),b=t.n(u),c=t(65986),w=t.n(c),v=t(93508),h=t.n(v),f=t(13647),g=t.n(f),F=t(18438),y=t.n(F),B=t(90827),q=t.n(B),T=t(82249);const x={result:[],entities:{},slice_info:{}},Q=(e,o)=>{const t="Done"===(null==o?void 0:o.bookmark_all_delete);return t||(0,i.ZP)("GQL Bookmarks: Failed to delete all bookmarks"),(0,n.jB)(e)||!t},S=(e,o)=>{var t,r,a;const l=null==o||null==(t=o.viewer)||null==(r=t.user_results)?void 0:r.result,_="User"===(null==l?void 0:l.__typename)?l:void 0,s=null==_||null==(a=_.bookmark_collections_slice)?void 0:a.items;return s||(0,i.ZP)("GQL Bookmark Folders: Failed to render Bookmark Folders timeline"),!s&&(0,n.jB)(e)},L=(e,o)=>{var t;const r=null==o||null==(t=o.bookmark_collection_timeline)?void 0:t.timeline;return r||(0,i.ZP)("GQL Bookmark Folders: Failed to render Bookmark Folders timeline"),!r&&(0,n.jB)(e)},I=({apiClient:e,featureSwitches:o})=>({bookmarkTweetToFolder:o=>e.graphQL(b(),{...o},(0,n.kj)((e=>!e.bookmark_collection_tweet_put),"GQL Bookmark Folders: failed to Add Tweet to Bookmark Folder")),createBookmarkFolder:o=>e.graphQL(w(),{...o},(0,n.kj)((e=>!e.bookmark_collection_create),"GQL Bookmark Folders: failed to Create Bookmark Folder")),deleteAll:()=>e.graphQL(h(),{},Q).then((e=>e)),deleteBookmarkFolder(o){const{bookmarkFolderId:t}=o;return e.graphQL(g(),{bookmark_collection_id:t})},editBookmarkFolder(o){const{bookmarkFolderId:t,name:r}=o;return e.graphQL(y(),{bookmark_collection_id:t,name:r})},removeTweetFromBookmarkFolder(o){const{bookmarkFolderId:t,tweetId:r}=o;return e.graphQL(q(),{bookmark_collection_id:t,tweet_id:r})},fetchBookmarksTimeline:({count:t,cursor:r})=>e.graphQL(k(),{count:t,cursor:r,includePromotedContent:!0,...(0,a.d)(o)},((e,o)=>{var t,r;return!(null!=o&&null!=(t=o.bookmark_timeline)&&t.timeline||null!=o&&null!=(r=o.bookmark_timeline_v2)&&r.timeline)})).then((e=>{var o,t;return(null==e||null==(o=e.bookmark_timeline_v2)?void 0:o.timeline)||(null==e||null==(t=e.bookmark_timeline)?void 0:t.timeline)||T.cY})),fetchBookmarkFolderTimeline:({bookmark_collection_id:t,cursor:r})=>e.graphQL(m(),{bookmark_collection_id:t,cursor:r,includePromotedContent:!0,...(0,a.d)(o)},L).then((e=>{var o;return(null==e||null==(o=e.bookmark_collection_timeline)?void 0:o.timeline)||T.cY})),fetchBookmarkFoldersSlice:o=>o?e.graphQL(s(),o,S).then((e=>{var o,t;const i=null==e||null==(o=e.viewer)||null==(t=o.user_results)?void 0:t.result,n="User"===(null==i?void 0:i.__typename)?i:void 0,a=null==n?void 0:n.bookmark_collections_slice;if(a){const{entities:e,result:o}=(0,r.Fv)(a.items,[l]);return{entities:e,result:o,slice_info:a.slice_info}}return x})):Promise.resolve(x)})},83175:(e,o,t)=>{"use strict";t.d(o,{S:()=>a,d:()=>n});var r=t(60917),i=t.n(r);const n=e=>{const o=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:o,withReactionsPerspective:o}},a=e=>i()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Bookmarks.da80f3ca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Collections.b65f49fa.js b/info/endpoints/endpoints.Collections.b65f49fa.js new file mode 100644 index 0000000..e8019da --- /dev/null +++ b/info/endpoints/endpoints.Collections.b65f49fa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Collections","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53225:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var o=n(6899),r=(n(85940),n(50445)),i=n(13239),s=n(46395);const a=/^[^-]+-/,_=new o.fK.Entity("collections",{},{idAttribute:(e,t,n)=>n.replace(a,""),processStrategy:s.Z}),l={objects:{timelines:new o.fK.Values(_),tweets:new o.fK.Values(r.Z),users:new o.fK.Values(i.Z)}};var u=n(87233),d=n(55371);const c=({apiClient:e,featureSwitches:t})=>({fetchCollection(n,r={}){const{id:i}=n;return e.get("collections/entries",Object.assign({},(e=>({...d.getGlobalDefaults(e),...u.getGlobalDefaults(e),count:5}))(t),n,{id:`custom-${i}`}),r).then((e=>(0,o.Fv)(e,l)))}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),h=n.n(f),g=n(40558),y=n.n(g),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),q=n(44577),S=n.n(q),L=n(60445),F=n.n(L),D=n(9578),Q=n.n(D),B=n(93764),I=n.n(B),Z=n(38150),N=n.n(Z),R=n(69875),P=n.n(R),j=n(25912),E=n.n(j),G=n(24586),V=n.n(G),U=n(84461),M=n.n(U),A=n(63455),O=n.n(A),z=n(17439),K=n.n(z),W=n(50445),Y=n(6623),J=n(63174),X=n(63140),$=n(60348),H=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,Y.Y)(n)},r).then((e=>(0,o.Fv)(e,[W.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(V(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=X.ZP.BlockedUserError;break;case"Protected":e=X.ZP.StatusViewForbidden;break;case"Bouncer":e=X.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=X.ZP.TweetIsBounceDeleted;break;case"Suspended":e=X.ZP.OtherUserSuspended;break;default:e=X.ZP.GenericNotFound}const n=new J.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...H.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...H.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,$.gQ)(r);return t.graphQL(P(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,$.gQ)(r);return t.graphQL(M(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(I(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,$.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,$.gQ)(i);return t.graphQL(N(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,$.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...H.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...H.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,$.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...H.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...H.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(h(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(S(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...H.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...H.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(K(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...H.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...H.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...H.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>h,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function h(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),h="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...g({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(h){var q;const r=g({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function g(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?S(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Collections.b65f49fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Collections.e04ba5fa.js b/info/endpoints/endpoints.Collections.e04ba5fa.js deleted file mode 100644 index 1bcf409..0000000 --- a/info/endpoints/endpoints.Collections.e04ba5fa.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Collections","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53225:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var o=n(6899),r=(n(85940),n(50445)),i=n(13239),s=n(46395);const a=/^[^-]+-/,_=new o.fK.Entity("collections",{},{idAttribute:(e,t,n)=>n.replace(a,""),processStrategy:s.Z}),l={objects:{timelines:new o.fK.Values(_),tweets:new o.fK.Values(r.Z),users:new o.fK.Values(i.Z)}};var u=n(87233),d=n(55371);const c=({apiClient:e,featureSwitches:t})=>({fetchCollection(n,r={}){const{id:i}=n;return e.get("collections/entries",Object.assign({},(e=>({...d.getGlobalDefaults(e),...u.getGlobalDefaults(e),count:5}))(t),n,{id:`custom-${i}`}),r).then((e=>(0,o.Fv)(e,l)))}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),g=n.n(f),h=n(40558),y=n.n(h),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),q=n(44577),S=n.n(q),L=n(60445),F=n.n(L),D=n(9578),Q=n.n(D),B=n(93764),N=n.n(B),I=n(38150),Z=n.n(I),P=n(69875),R=n.n(P),j=n(25912),E=n.n(j),G=n(24586),U=n.n(G),V=n(84461),A=n.n(V),M=n(63455),O=n.n(M),z=n(17439),W=n.n(z),K=n(50445),H=n(6623),Y=n(63174),J=n(63140),X=n(60348),$=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,H.Y)(n)},r).then((e=>(0,o.Fv)(e,[K.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=J.ZP.BlockedUserError;break;case"Protected":e=J.ZP.StatusViewForbidden;break;case"Bouncer":e=J.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=J.ZP.TweetIsBounceDeleted;break;case"Suspended":e=J.ZP.OtherUserSuspended;break;default:e=J.ZP.GenericNotFound}const n=new Y.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,K.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...$.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...$.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(R(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(A(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(N(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,X.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,X.gQ)(i);return t.graphQL(Z(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,X.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...$.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...$.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,X.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...$.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...$.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(S(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...$.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...$.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(W(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...$.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...$.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...$.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...h({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=h({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function h(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?S(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Collections.e04ba5fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Communities.95964d5a.js b/info/endpoints/endpoints.Communities.95964d5a.js new file mode 100644 index 0000000..1d43368 --- /dev/null +++ b/info/endpoints/endpoints.Communities.95964d5a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Communities","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},85861:e=>{e.exports={queryId:"M9DE3JRAGxNvi_rrWmM8ag",operationName:"CommunitiesMainDiscoveryModule",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},95821:e=>{e.exports={queryId:"yL9synAKfBVWVwKct9jXuw",operationName:"CommunitiesMainPageTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91509:e=>{e.exports={queryId:"_3WBkbd5cdCkuX1FVK-njw",operationName:"CommunitiesMembershipsSlice",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},57460:e=>{e.exports={queryId:"wKZbSPlf2AQOH4pyZy3zQQ",operationName:"CommunitiesMembershipsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},43160:e=>{e.exports={queryId:"d8sqwhsIRk14CY1LOABXjg",operationName:"CommunityAboutTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27986:e=>{e.exports={queryId:"UAH215oZq9baiRbtddF-eg",operationName:"CreateCommunity",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},66249:e=>{e.exports={queryId:"nClMqJ3V5VLbppV1GmgMew",operationName:"CommunityDiscoveryTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9797:e=>{e.exports={queryId:"4P4OpBC1DZR9wgkuDcHLmg",operationName:"CommunityByRestId",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},13345:e=>{e.exports={queryId:"yxRtRyNK_NZIiJxazk-OGQ",operationName:"CommunityHashtagsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},13003:e=>{e.exports={queryId:"Bgp49jDXZxsGHTgwP4IfbQ",operationName:"JoinCommunity",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4093:e=>{e.exports={queryId:"tlHDIFJaQYvAY4UPB_1GOw",operationName:"LeaveCommunity",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},87192:e=>{e.exports={queryId:"AxVdLcNzkH5tvk0ek1HfuA",operationName:"CommunityModerationKeepTweet",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},91250:e=>{e.exports={queryId:"nY7JEIUYcMSsnavdFKR9-g",operationName:"CommunityModerationTweetCasesSlice",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_enhance_cards_enabled"]}}},75766:e=>{e.exports={queryId:"qA3nDUkOF4ctmc0t9Nj9og",operationName:"RequestToJoinCommunity",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},26130:e=>{e.exports={queryId:"N47cWLISUc7eM1YbmJKTJw",operationName:"CommunityTweetsRankedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},74777:e=>{e.exports={queryId:"hBPNZbyhBK9CKxO_oKqGcg",operationName:"CommunityTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},86153:e=>{e.exports={queryId:"i5TJrkXG-Ze9oc4A1LFSyg",operationName:"CommunityUpdateRole",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4091:e=>{e.exports={queryId:"x8hUNaBCOV2tSalqB9cwWQ",operationName:"CommunityUserInvite",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},32549:e=>{"use strict";var l,n,i,a,s,t,r,u,o,_,d,c,m,p,y,g,b,k,h,v,w,F,f,K,T,R,q,L,S,C,x,I,U,A,H,O,M,W,Q,E,P,j,G,B,z,D,Z,N,V,J,Y,X,$,ee,le,ne,ie,ae,se,te,re,ue,oe,_e,de,ce,me,pe,ye,ge,be,ke,he,ve,we,Fe,fe,Ke,Te,Re,qe,Le,Se,Ce,xe,Ie,Ue,Ae,He,Oe,Me,We,Qe,Ee,Pe,je,Ge,Be,ze,De,Ze,Ne,Ve,Je,Ye,Xe,$e,el,ll,nl,il,al,sl,tl,rl,ul,ol,_l,dl,cl,ml,pl,yl,gl,bl,kl,hl,vl,wl,Fl,fl,Kl,Tl,Rl,ql,Ll,Sl,Cl,xl,Il,Ul,Al,Hl,Ol={fragment:{argumentDefinitions:l=[{defaultValue:null,kind:"LocalArgument",name:"communityId"},{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"CommunitiesFetchOneQuery",selections:[{alias:"communityResults",args:n=[{kind:"Variable",name:"rest_id",variableName:"communityId"},{kind:"Literal",name:"s",value:"1452"}],concreteType:"CommunityResults",kind:"LinkedField",name:"community_results_by_rest_id",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[a={alias:"id_str",args:null,kind:"ScalarField",name:"rest_id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"default_theme",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"custom_theme",storageKey:null},{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,c={kind:"InlineFragment",selections:d=[{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"CommunityDeleteActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,m={kind:"InlineFragment",selections:d,type:"CommunityJoinActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,p={kind:"InlineFragment",selections:d,type:"CommunityLeaveActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},P={alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[h={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:k=[b={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[y],storageKey:null}],storageKey:null}],storageKey:null},v={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[b],storageKey:null},t,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:W=[w={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},F={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[K={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},T={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[q={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},S={kind:"InlineFragment",selections:L=[f],type:"TimelineRichTextCashtag",abstractKey:null},C={kind:"InlineFragment",selections:[y,b],type:"TimelineRichTextList",abstractKey:null},x={kind:"InlineFragment",selections:L,type:"TimelineRichTextHashtag",abstractKey:null},I={kind:"InlineFragment",selections:k,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:M=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[A={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[U={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},g],type:"User",abstractKey:null},O={kind:"InlineFragment",selections:[H={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},_],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[U,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:M,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Q={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},E={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},j={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},G={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},B={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},z={alias:null,args:null,kind:"ScalarField",name:"profile_image_shape",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Z={kind:"RequiredField",field:D={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.blocked_by"},V={kind:"RequiredField",field:N={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.blocking"},Y={kind:"RequiredField",field:J={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.follow_request_sent"},$={kind:"RequiredField",field:X={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.followed_by"},le={kind:"RequiredField",field:ee={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.following"},ne={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},ie={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},se={kind:"RequiredField",field:ae={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.protected"},Z,V,Y,$,le,ne,ie,se,te={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},re={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},r,ue={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},oe={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},t,ce={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:de=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:_e=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},b,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:_e,storageKey:null}],storageKey:null},me={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:pe={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.favourites_count"},ye={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:ge={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.followers_count"},{kind:"RequiredField",field:be={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.friends_count"},ke={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},he={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},ve={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},we={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:Fe={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.media_count"},s,fe={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},Ke={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},Te={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},Re={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},Ie={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:xe=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[qe={alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Le={alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},Se={alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},Ce={alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Ue={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},Ae={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:xe,storageKey:null},He={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},Oe={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},U,{kind:"RequiredField",field:Me={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.statuses_count"},We={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},Qe={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},b,Ee={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:Pe={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.verified"},je={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},Ge={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},ze={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:de,storageKey:null},De={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Ze={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},Je={alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[g,Ne={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Ve={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[y,s,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Ye={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},Xe={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},$e={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},el={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Ye,Xe,$e,el,ll={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},nl={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},il={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},al={kind:"InlineFragment",selections:[_,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:W,storageKey:null},H],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,P,j,G,B,z,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[sl={kind:"RequiredField",field:D,action:"THROW",path:"communityResults.result.creator_results.result.legacy.blocked_by"},tl={kind:"RequiredField",field:N,action:"THROW",path:"communityResults.result.creator_results.result.legacy.blocking"},rl={kind:"RequiredField",field:J,action:"THROW",path:"communityResults.result.creator_results.result.legacy.follow_request_sent"},ul={kind:"RequiredField",field:X,action:"THROW",path:"communityResults.result.creator_results.result.legacy.followed_by"},ol={kind:"RequiredField",field:ee,action:"THROW",path:"communityResults.result.creator_results.result.legacy.following"},ne,ie,_l={kind:"RequiredField",field:ae,action:"THROW",path:"communityResults.result.creator_results.result.legacy.protected"},sl,tl,rl,ul,ol,ne,ie,_l,te,re,r,ue,oe,t,ce,me,{kind:"RequiredField",field:pe,action:"THROW",path:"communityResults.result.creator_results.result.legacy.favourites_count"},ye,{kind:"RequiredField",field:ge,action:"THROW",path:"communityResults.result.creator_results.result.legacy.followers_count"},{kind:"RequiredField",field:be,action:"THROW",path:"communityResults.result.creator_results.result.legacy.friends_count"},ke,he,ve,we,{kind:"RequiredField",field:Fe,action:"THROW",path:"communityResults.result.creator_results.result.legacy.media_count"},s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,U,{kind:"RequiredField",field:Me,action:"THROW",path:"communityResults.result.creator_results.result.legacy.statuses_count"},We,Qe,b,Ee,{kind:"RequiredField",field:Pe,action:"THROW",path:"communityResults.result.creator_results.result.legacy.verified"},je,Ge,Be,ze,De,Ze],storageKey:null},Je,Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},al],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,dl={kind:"InlineFragment",selections:d,type:"CommunityInvitesUnavailable",abstractKey:null},{kind:"InlineFragment",selections:[cl={alias:null,args:null,kind:"ScalarField",name:"remaining_invite_count",storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[g],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,ml={kind:"InlineFragment",selections:d,type:"UserCommunityInviteActionUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[B,g,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[He,te,re,{kind:"RequiredField",field:ae,action:"THROW",path:"communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected"},{kind:"RequiredField",field:Pe,action:"THROW",path:"communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified"},s,U],storageKey:null}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},pl={alias:null,args:null,concreteType:"SliceInfo",kind:"LinkedField",name:"slice_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"next_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"previous_cursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"CommunityInvites",abstractKey:null}],storageKey:null},yl={alias:null,args:null,kind:"ScalarField",name:"join_policy",storageKey:null},gl={alias:null,args:null,kind:"ScalarField",name:"invites_policy",storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,P,j,G,B,z,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[bl={kind:"RequiredField",field:D,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.blocked_by"},kl={kind:"RequiredField",field:N,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.blocking"},hl={kind:"RequiredField",field:J,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.follow_request_sent"},vl={kind:"RequiredField",field:X,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.followed_by"},wl={kind:"RequiredField",field:ee,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.following"},ne,ie,Fl={kind:"RequiredField",field:ae,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.protected"},bl,kl,hl,vl,wl,ne,ie,Fl,te,re,r,ue,oe,t,ce,me,{kind:"RequiredField",field:pe,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.favourites_count"},ye,{kind:"RequiredField",field:ge,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.followers_count"},{kind:"RequiredField",field:be,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.friends_count"},ke,he,ve,we,{kind:"RequiredField",field:Fe,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.media_count"},s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,U,{kind:"RequiredField",field:Me,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.statuses_count"},We,Qe,b,Ee,{kind:"RequiredField",field:Pe,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.verified"},je,Ge,Be,ze,De,Ze],storageKey:null},Je,Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},al],storageKey:null}],storageKey:null},fl={alias:null,args:null,kind:"ScalarField",name:"moderator_count",storageKey:null},Kl={alias:null,args:null,kind:"ScalarField",name:"member_count",storageKey:null},Tl={alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Rl=[g,s,t],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Ll=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[ql={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"MediaColorInfo",kind:"LinkedField",name:"color_info",plural:!1,selections:[{alias:null,args:null,concreteType:"MediaColorPaletteItem",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,concreteType:"MediaColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Ce,Se,Le],storageKey:null},qe],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_height",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaRect",kind:"LinkedField",name:"salient_rect",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"left",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}],storageKey:null}],type:"ApiImage",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Ll,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Rl,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Sl={alias:null,args:null,kind:"ScalarField",name:"pending_join_request_count",storageKey:null}],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null}],type:"Community",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"CommunitiesFetchOneQuery",selections:[{alias:"communityResults",args:n,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results_by_rest_id",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[a,s,t,r,u,o,{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityDeleteActionResult"},c],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityJoinActionResult"},m],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityLeaveActionResult"},p],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityTweetPinActionResult"}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:Ul=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[h,v,t,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Il=[w,F,f,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[K,T,R,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},q,S,C,x,I,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:xl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[A,Cl={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},g,y],type:"User",abstractKey:null},O],storageKey:null},y],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[U,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:xl,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Q,E],storageKey:null}],storageKey:null},j,G,B,z,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[D,N,J,X,ee,ne,ie,ae,D,N,J,X,ee,ne,ie,ae,te,re,r,ue,oe,t,ce,me,pe,ye,ge,be,ke,he,ve,we,Fe,s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,U,Me,We,Qe,b,Ee,Pe,je,Ge,Be,ze,De,Ze],storageKey:null},Cl,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[g,Ne,Ve,y],storageKey:null},Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[_,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Il,storageKey:null},H],type:"UserUnavailable",abstractKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:Ul,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityInvitesResult"},dl,{kind:"InlineFragment",selections:[cl,{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[g,y],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isUserCommunityInviteActionResult"},ml],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[B,g,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[He,te,re,ae,Pe,s,U],storageKey:null},Cl,y],type:"User",abstractKey:null}],storageKey:null},y],storageKey:null},y],storageKey:null},pl],storageKey:null},y],type:"CommunityInvites",abstractKey:null}],storageKey:null},yl,gl,{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:Ul,storageKey:null},fl,Kl,Tl,{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Al=[g,s,t,y],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Hl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[i,ql],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Hl,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Al,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Sl,y],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null},y],type:"Community",abstractKey:null}],storageKey:null},y],storageKey:null}]},params:{id:"ZH1Rdz6WASWuA_Nl-XPGpQ",metadata:{features:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","verified_phone_label_enabled"]},name:"CommunitiesFetchOneQuery",operationKind:"query",text:null}};Ol.hash="91b005df3d8a55ee7dd4c840e2a3458e",e.exports=Ol},51520:e=>{"use strict";var l,n,i,a,s,t,r,u,o,_,d,c,m,p,y,g,b,k,h,v,w,F,f,K,T,R,q,L,S,C,x,I,U,A,H,O,M,W,Q,E,P,j,G,B,z,D,Z,N,V,J,Y,X,$,ee,le,ne,ie,ae,se,te,re,ue,oe,_e,de,ce,me,pe,ye,ge,be,ke,he,ve,we,Fe,fe,Ke,Te,Re,qe,Le,Se,Ce,xe,Ie,Ue,Ae,He,Oe,Me,We,Qe,Ee,Pe,je,Ge,Be,ze,De,Ze,Ne,Ve,Je,Ye,Xe,$e,el,ll,nl,il,al,sl,tl,rl,ul,ol,_l,dl,cl,ml,pl,yl,gl,bl,kl,hl,vl,wl,Fl,fl,Kl,Tl,Rl,ql,Ll,Sl,Cl,xl,Il,Ul,Al,Hl,Ol,Ml={fragment:{argumentDefinitions:l=[{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"CommunitiesMembershipsRecentQuery",selections:[{alias:"viewer",args:n=[{kind:"Literal",name:"s",value:"1452"}],concreteType:"Viewer",kind:"LinkedField",name:"viewer_v2",plural:!1,selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:a=[{kind:"Literal",name:"count",value:20}],concreteType:"CommunitySlice",kind:"LinkedField",name:"community_memberships_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"items_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[s={alias:"id_str",args:null,kind:"ScalarField",name:"rest_id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"default_theme",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"custom_theme",storageKey:null},{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,m={kind:"InlineFragment",selections:c=[{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"CommunityDeleteActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,p={kind:"InlineFragment",selections:c,type:"CommunityJoinActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,y={kind:"InlineFragment",selections:c,type:"CommunityLeaveActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},j={alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[v={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:h=[k={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[g],storageKey:null}],storageKey:null}],storageKey:null},w={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[k],storageKey:null},r,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Q=[F={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},K={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[T={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},R={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},q={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[L={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},C={kind:"InlineFragment",selections:S=[K],type:"TimelineRichTextCashtag",abstractKey:null},x={kind:"InlineFragment",selections:[g,k],type:"TimelineRichTextList",abstractKey:null},I={kind:"InlineFragment",selections:S,type:"TimelineRichTextHashtag",abstractKey:null},U={kind:"InlineFragment",selections:h,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:W=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[H={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[A={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},b],type:"User",abstractKey:null},M={kind:"InlineFragment",selections:[O={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},d],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[A,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:W,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},E={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},P={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},G={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},B={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},z={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},D={alias:null,args:null,kind:"ScalarField",name:"profile_image_shape",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[N={kind:"RequiredField",field:Z={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocked_by"},J={kind:"RequiredField",field:V={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocking"},X={kind:"RequiredField",field:Y={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.follow_request_sent"},ee={kind:"RequiredField",field:$={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followed_by"},ne={kind:"RequiredField",field:le={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.following"},ie={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},ae={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},te={kind:"RequiredField",field:se={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.protected"},N,J,X,ee,ne,ie,ae,te,re={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},ue={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},u,oe={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},_e={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},r,me={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:ce=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:de=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},k,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:de,storageKey:null}],storageKey:null},pe={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:ye={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.favourites_count"},ge={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:be={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followers_count"},{kind:"RequiredField",field:ke={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.friends_count"},he={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},ve={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},we={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},Fe={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:fe={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.media_count"},t,Ke={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},Te={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},Re={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},qe={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},Ue={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:Ie=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[Le={alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Se={alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},Ce={alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},xe={alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Ae={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},He={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:Ie,storageKey:null},Oe={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},Me={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},A,{kind:"RequiredField",field:We={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.statuses_count"},Qe={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},Ee={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},k,Pe={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:je={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.verified"},Ge={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},ze={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},De={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:ce,storageKey:null},Ze={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Ne={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},Ye={alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[b,Ve={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Je={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[g,t,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Xe={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},$e={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},el={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},ll={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Xe,$e,el,ll,nl={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},il={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},al={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},sl={kind:"InlineFragment",selections:[d,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Q,storageKey:null},O],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,j,G,B,z,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[tl={kind:"RequiredField",field:Z,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocked_by"},rl={kind:"RequiredField",field:V,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocking"},ul={kind:"RequiredField",field:Y,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.follow_request_sent"},ol={kind:"RequiredField",field:$,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followed_by"},_l={kind:"RequiredField",field:le,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.following"},ie,ae,dl={kind:"RequiredField",field:se,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.protected"},tl,rl,ul,ol,_l,ie,ae,dl,re,ue,u,oe,_e,r,me,pe,{kind:"RequiredField",field:ye,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.favourites_count"},ge,{kind:"RequiredField",field:be,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followers_count"},{kind:"RequiredField",field:ke,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.friends_count"},he,ve,we,Fe,{kind:"RequiredField",field:fe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.media_count"},t,Ke,Te,Re,qe,Ue,Ae,He,Oe,Me,A,{kind:"RequiredField",field:We,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.statuses_count"},Qe,Ee,k,Pe,{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.verified"},Ge,Be,ze,De,Ze,Ne],storageKey:null},Ye,Xe,$e,el,ll,Xe,$e,el,ll,nl,il,al],type:"User",abstractKey:null},sl],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,cl={kind:"InlineFragment",selections:c,type:"CommunityInvitesUnavailable",abstractKey:null},{kind:"InlineFragment",selections:[ml={alias:null,args:null,kind:"ScalarField",name:"remaining_invite_count",storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[b],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,pl={kind:"InlineFragment",selections:c,type:"UserCommunityInviteActionUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[z,b,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Oe,re,ue,{kind:"RequiredField",field:se,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected"},{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified"},t,A],storageKey:null}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},yl={alias:null,args:null,concreteType:"SliceInfo",kind:"LinkedField",name:"slice_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"next_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"previous_cursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"CommunityInvites",abstractKey:null}],storageKey:null},gl={alias:null,args:null,kind:"ScalarField",name:"join_policy",storageKey:null},bl={alias:null,args:null,kind:"ScalarField",name:"invites_policy",storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,j,G,B,z,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[kl={kind:"RequiredField",field:Z,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocked_by"},hl={kind:"RequiredField",field:V,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocking"},vl={kind:"RequiredField",field:Y,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.follow_request_sent"},wl={kind:"RequiredField",field:$,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followed_by"},Fl={kind:"RequiredField",field:le,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.following"},ie,ae,fl={kind:"RequiredField",field:se,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.protected"},kl,hl,vl,wl,Fl,ie,ae,fl,re,ue,u,oe,_e,r,me,pe,{kind:"RequiredField",field:ye,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.favourites_count"},ge,{kind:"RequiredField",field:be,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followers_count"},{kind:"RequiredField",field:ke,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.friends_count"},he,ve,we,Fe,{kind:"RequiredField",field:fe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.media_count"},t,Ke,Te,Re,qe,Ue,Ae,He,Oe,Me,A,{kind:"RequiredField",field:We,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.statuses_count"},Qe,Ee,k,Pe,{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.verified"},Ge,Be,ze,De,Ze,Ne],storageKey:null},Ye,Xe,$e,el,ll,Xe,$e,el,ll,nl,il,al],type:"User",abstractKey:null},sl],storageKey:null}],storageKey:null},Kl={alias:null,args:null,kind:"ScalarField",name:"moderator_count",storageKey:null},Tl={alias:null,args:null,kind:"ScalarField",name:"member_count",storageKey:null},Rl={alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:ql=[b,t,r],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Sl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[Ll={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"MediaColorInfo",kind:"LinkedField",name:"color_info",plural:!1,selections:[{alias:null,args:null,concreteType:"MediaColorPaletteItem",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,concreteType:"MediaColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[xe,Ce,Se],storageKey:null},Le],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_height",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaRect",kind:"LinkedField",name:"salient_rect",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"left",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}],storageKey:null}],type:"ApiImage",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Sl,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:ql,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Cl={alias:null,args:null,kind:"ScalarField",name:"pending_join_request_count",storageKey:null}],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null}],type:"Community",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:"community_memberships_slice(count:20)"}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:'viewer_v2(s:"1452")'}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"CommunitiesMembershipsRecentQuery",selections:[{alias:"viewer",args:n,concreteType:"Viewer",kind:"LinkedField",name:"viewer_v2",plural:!1,selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:a,concreteType:"CommunitySlice",kind:"LinkedField",name:"community_memberships_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"items_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[s,t,r,u,o,_,{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityDeleteActionResult"},m],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityJoinActionResult"},p],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityLeaveActionResult"},y],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityTweetPinActionResult"}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:Al=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[v,w,r,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Ul=[F,f,K,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[T,R,q,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},L,C,x,I,U,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Il=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[H,xl={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},b,g],type:"User",abstractKey:null},M],storageKey:null},g],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[A,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Il,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},E,P],storageKey:null}],storageKey:null},G,B,z,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Z,V,Y,$,le,ie,ae,se,Z,V,Y,$,le,ie,ae,se,re,ue,u,oe,_e,r,me,pe,ye,ge,be,ke,he,ve,we,Fe,fe,t,Ke,Te,Re,qe,Ue,Ae,He,Oe,Me,A,We,Qe,Ee,k,Pe,je,Ge,Be,ze,De,Ze,Ne],storageKey:null},xl,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[b,Ve,Je,g],storageKey:null},Xe,$e,el,ll,Xe,$e,el,ll,nl,il,al],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[d,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Ul,storageKey:null},O],type:"UserUnavailable",abstractKey:null}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:Al,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityInvitesResult"},cl,{kind:"InlineFragment",selections:[ml,{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[b,g],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isUserCommunityInviteActionResult"},pl],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[z,b,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Oe,re,ue,se,je,t,A],storageKey:null},xl,g],type:"User",abstractKey:null}],storageKey:null},g],storageKey:null},g],storageKey:null},yl],storageKey:null},g],type:"CommunityInvites",abstractKey:null}],storageKey:null},gl,bl,{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:Al,storageKey:null},Kl,Tl,Rl,{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Hl=[b,t,r,g],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Ol=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[i,Ll],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Ol,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Hl,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Cl,g],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null},g],type:"Community",abstractKey:null}],storageKey:null},g],storageKey:null}],storageKey:"community_memberships_slice(count:20)"},g],type:"User",abstractKey:null}],storageKey:null},g],storageKey:null}],storageKey:'viewer_v2(s:"1452")'}]},params:{id:"dzaR52OyHwsGkfG-V2BL_A",metadata:{features:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","verified_phone_label_enabled"]},name:"CommunitiesMembershipsRecentQuery",operationKind:"query",text:null}};Ml.hash="b3ed912f8236b1bf9d8e0643c06ad3e2",e.exports=Ml},87109:(e,l,n)=>{"use strict";n.r(l),n.d(l,{EMPTY_MODERATION_RESPONSE:()=>se,default:()=>ue});var i=n(6899),a=(n(85488),n(17360)),s=n(83175),t=n(38269),r=n(46395),u=n(85364),o=n(90650);const _=new i.fK.Entity("communityReports",{},{idAttribute:"id_str",processStrategy:r.Z});_.define({user:o.Z,community:t.ZP});const d=new i.fK.Entity("communityCases",{},{idAttribute:"tweet_id_str",processStrategy:(e,l,n)=>{const{reports_slice:i,tweet_results:a,...s}=e,t={...s},u=a.result;return t.tweet="Tweet"===(null==u?void 0:u.__typename)?u:u.tweet,null!=i&&i.items&&(t.reports=i.items.map((l=>{var n,i;const a={},{created_at:s,reporter_relationship:t,rule:r}=l;if(a.rule=r,a.created_at=s,"User"===(null==t||null==(n=t.user_results)?void 0:n.result.__typename)){var u;const{__typename:l,...n}=(null==t||null==(u=t.user_results)?void 0:u.result)||{};a.user=n,a.id_str=`${e.caseId}-${s}-${n.rest_id}`}const o=null==t?void 0:t.community_results,_="Community"===(null==o||null==(i=o.result)?void 0:i.__typename)&&o.result;return _&&(a.community=_),a}))),(0,r.Z)(t,l,n)}});d.define({tweet:u.Z,reports:[_]});const c=d;var m,p,y=n(95212),g=n(85861),b=n.n(g),k=n(95821),h=n.n(k),v=n(91509),w=n.n(v),F=n(57460),f=n.n(F),K=n(43160),T=n.n(K),R=n(27986),q=n.n(R),L=n(66249),S=n.n(L),C=n(9797),x=n.n(C),I=n(13345),U=n.n(I),A=n(13003),H=n.n(A),O=n(4093),M=n.n(O),W=n(87192),Q=n.n(W),E=n(91250),P=n.n(E),j=n(75766),G=n.n(j),B=n(26130),z=n.n(B),D=n(74777),Z=n.n(D),N=n(86153),V=n.n(N),J=n(4091),Y=n.n(J),X=n(63174),$=n(63140),ee=n(8893),le=n(82249),ne=n(97534);const ie={result:[],entities:{},slice_info:{}},ae={result:[],entities:{}},se={id_str:"",tweet_case_count:0,pending_join_request_count:0},te="GQL Communities: Failed to Create Community",re=void 0!==m?m:m=n(32549),ue=({apiClient:e,featureSwitches:l,relayEnvironment:r})=>({createCommunity(n){const{description:r,invitesPolicy:u,joinPolicy:o,name:_}=n;return e.graphQL(q(),{name:_,description:r,joinPolicy:o,invitesPolicy:u,...(0,s.S)(l)},(0,a.kj)((e=>{var l;return!["Community","CommunityCreateActionUnavailable","CommunityCreateError"].includes(null==(l=e.community_create_v2)?void 0:l.__typename)}),te)).then((e=>{var l;switch(null==(l=e.community_create_v2)?void 0:l.__typename){case"Community":return{type:"Community",normalized:(0,i.Fv)(e.community_create_v2,t.ZP)};case"CommunityCreateActionUnavailable":var n;return{type:"CreateError",reason:e.community_create_v2.unavailableReason,error:null!=(n=e.community_create_v2.unavailableMessage)?n:""};case"CommunityCreateError":var a;return{type:"CreateError",reason:e.community_create_v2.createReason,error:null!=(a=e.community_create_v2.createError)?a:""};default:return{type:"CreateError",error:te,reason:""}}}))},fetchCommunity:e=>(0,ee.s)(r,re,{communityId:e.communityId,...(0,s.S)(l)}).then((e=>{var l;if("Community"===(null==e||null==(l=e.communityResults.result)?void 0:l.__typename))return(0,i.Fv)(e.communityResults.result,t.ZP);{const e=new X.Z("communityResultsByRestId",401,{},[{code:$.ZP.CommunityNotFound}]);return Promise.reject(e)}})),fetchCommunityWithoutRelay:n=>e.graphQL(x(),{communityId:n.communityId,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.communityResults)),"GQL Communities: Failed to fetch a Community result")).then((e=>{var l;if("Community"===(null==e||null==(l=e.communityResults.result)?void 0:l.__typename))return(0,i.Fv)(e.communityResults.result,t.ZP);{const e=new X.Z("communityResultsByRestId",401,{},[{code:$.ZP.CommunityNotFound}]);return Promise.reject(e)}})),fetchAboutTimeline:n=>e.graphQL(T(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n,i,a,s;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(s=a.about_timeline)&&s.timeline)}),"GQL Communities: Failed to render Community About timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.about_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityTweets:n=>e.graphQL(Z(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n,i,a,s;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(s=a.community_timeline)&&s.timeline)}),"GQL Communities: Failed to render Community Tweets timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.community_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityRankedTweets:n=>e.graphQL(z(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n,i,a,s;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(s=a.ranked_community_timeline)&&s.timeline)}),"GQL Communities: Failed to render Ranked Community Tweets timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.ranked_community_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityMemberships:n=>e.graphQL(f(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n;const i=null==e||null==(l=e.user)?void 0:l.result;return"User"!==(null==i?void 0:i.__typename)||!(null!=i&&null!=(n=i.timeline)&&n.timeline)}),"GQL Communities: Failed to render Memberships timeline")).then(ne.parseUserScopedTimeline),fetchRecentCommunityMemberships:()=>(0,ee.s)(r,void 0!==p?p:p=n(51520),{...(0,s.S)(l)},(0,a.kj)((e=>{var l,n,i;const a="User"===(null==(l=e.viewer)||null==(n=l.user_results)||null==(i=n.result)?void 0:i.__typename)&&e.viewer.user_results.result;return!(a&&a.community_memberships_slice.items_results)}),"GQL Communities: Failed to fetch Community Recent Memberships data")).then((e=>{var l,n,a,s;const r="User"===(null==e||null==(l=e.viewer)||null==(n=l.user_results)||null==(a=n.result)?void 0:a.__typename)?e.viewer.user_results.result:void 0,u=(null!=(s=null==r?void 0:r.community_memberships_slice.items_results)?s:[]).map((e=>e.result)).filter((e=>"Community"===(null==e?void 0:e.__typename)));return u?(0,i.Fv)(u,[t.ZP]):ae})),fetchCommunitiesMembershipsSlice:n=>e.graphQL(w(),{...(0,s.S)(l),...n},(0,a.kj)((e=>{var l,n;const i=null==e||null==(l=e.viewer)||null==(n=l.user_results)?void 0:n.result,a="User"===(null==i?void 0:i.__typename)?i:void 0;return!(null!=a&&a.community_memberships_slice)}),"GQL Communities: Failed to fetch Memberships Slice")).then((e=>{var l,n;const a=null==e||null==(l=e.viewer)||null==(n=l.user_results)?void 0:n.result,s="User"===(null==a?void 0:a.__typename)?a:void 0,r=null==s?void 0:s.community_memberships_slice;if(r){const e=r.items_results.map((e=>e.result)).filter((e=>"Community"===(null==e?void 0:e.__typename)));if(!e.length)return ie;const{entities:l,result:n}=(0,i.Fv)(e,[t.ZP]);return{result:n,entities:l,slice_info:r.slice_info}}return ie})),fetchModerationCasesSlice:n=>n?e.graphQL(P(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.S)(l)},(0,a.kj)((e=>{var l,n,i,a,s;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(s=a.moderation)&&s.tweet_cases_slice)}),"GQL Communities: Failed to fetch Moderation Cases Slice")).then((e=>{var l,n,a;const s="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;if(!s)return ie;const t=null==(a=s.moderation)?void 0:a.tweet_cases_slice;if(t){const{entities:e,result:l}=(0,i.Fv)(t.items,[c]);return{result:l,entities:e,slice_info:t.slice_info}}return ie})):Promise.resolve(ie),fetchCommunitiesMainDiscoveryModule:n=>e.graphQL(b(),{...n,withCommunity:!0,...(0,s.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.communities_viewer)&&null!=(n=l.community_discovery_module)&&n.timeline)}),"GQL Communities: Failed to render Communities Main Discovery module")).then((e=>{var l,n;return(null==(l=e.communities_viewer)||null==(n=l.community_discovery_module)?void 0:n.timeline)||le.cY})),fetchCommunitiesMainTimeline:n=>e.graphQL(h(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.viewer)&&null!=(n=l.communities_timeline)&&n.timeline)}),"GQL Communities: Failed to render Main Communities timeline")).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.communities_timeline)?void 0:n.timeline)||le.cY})),fetchCommunityHashtagsTimeline:n=>e.graphQL(U(),{withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l),...n},(0,a.kj)((e=>{var l,n,i,a,s;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(s=a.community_filtered_timeline)&&s.timeline)}),"GQL Communities: Failed to render Community Hashtags timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.community_filtered_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityDiscoveryTimeline:n=>e.graphQL(S(),{withCommunity:l.isTrue("c9s_enabled"),...(0,s.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.viewer)&&null!=(n=l.community_discovery_timeline)&&n.timeline)}),"GQL Communities: Failed to render Community Discovery timeline")).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.community_discovery_timeline)?void 0:n.timeline)||le.cY})),keepCommunityTweet:n=>e.graphQL(Q(),{tweetId:n.tweetId,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_tweet_keep)),"GQL Communities: Failed to keep a Community tweet")).then((e=>(0,i.Fv)(e.community_tweet_keep,t.ZP))),joinCommunity:n=>e.graphQL(H(),{communityId:n.communityId,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_join)),"GQL Communities: Failed to Join Community")).then((e=>(0,i.Fv)(e.community_join,t.ZP))),requestToJoinCommunity:n=>e.graphQL(G(),{communityId:n.communityId,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_join_request_create)),"GQL Communities: Failed to Request to Join Community")).then((e=>{const{community_join_request_create:l}=e;switch(null==l?void 0:l.__typename){case"CommunityJoinRequest":{var n;const e=l.user_relationship.community_results,a="Community"===(null==(n=e.result)?void 0:n.__typename)&&e.result;return{type:"CommunityJoinRequest",normalized:a?(0,i.Fv)(a,t.ZP):null}}case"CommunityJoinRequestCreateError":return{type:"CommunityJoinRequestCreateError"};case"CommunityJoinRequestCreateActionUnavailable":return{type:"CommunityJoinRequestCreateActionUnavailable"};default:return}})),leaveCommunity:n=>e.graphQL(M(),{communityId:n.communityId,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_leave)),"GQL Communities: Failed to Leave Community")).then((e=>(0,i.Fv)(e.community_leave,t.ZP))),inviteToCommunity:l=>e.graphQL(Y(),{communityId:l.communityId,userId:l.userId},(0,a.kj)((e=>!(null!=e&&e.user_community_invite)),"GQL Communities: Failed to Invite To Community")).then((e=>{const{user_community_invite:l}=e;switch(null==l?void 0:l.__typename){case"UserCommunityRelationship":{var n;const{__typename:e,community_update:a,...s}=l,t="Community"===(null==(n=a.result)?void 0:n.__typename)&&a.result.invites_result,r=t&&"CommunityInvites"===t.__typename&&t.remaining_invite_count||0,u=(0,y.W)(s);return{type:e,remainingInviteCount:r,normalized:(0,i.Fv)(u,y.Z)}}case"UserCommunityInviteMutationError":return{type:"UserCommunityInviteMutationError",reason:l.mutationErrorReason,message:l.message};case"UserCommunityInviteActionUnavailable":return{type:"UserCommunityInviteActionUnavailable",reason:l.actionUnavailableReason,message:l.message};default:return}})),updateCommunityRole:n=>e.graphQL(V(),{...n,...(0,s.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_role_put)),"GQL Communities: Failed to Update role in Community")).then((e=>(0,i.Fv)(e.community_role_put,t.ZP)))})},97534:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>z,errorBreadcrumb:()=>O,isFatalGenericTimelineError:()=>G,isFatalModeratedTimelineError:()=>j,isFatalTeamsResponseError:()=>W,isFatalUserScopedFollowTimelineError:()=>Q,isFatalViewerScopedFollowTimelineError:()=>E,parseUserScopedTimeline:()=>H,parseViewerScopedTimeline:()=>M});var i=n(58955),a=n(79363),s=n(72599),t=n(32091),r=n(17360),u=n(83175),o=n(6899),_=n(49890);const d=(e=[])=>{const l=e.map((({user_results:e,...l})=>{var n;let i;if("User"===(null==e||null==(n=e.result)?void 0:n.__typename)){const{__typename:l,...n}=e.result;i=n}return{user:i,...l}}));return(0,o.Fv)(l,_.Z)};var c=n(73114),m=n.n(c),p=n(51877),y=n.n(p),g=n(15157),b=n.n(g),k=n(63922),h=n.n(k),v=n(41025),w=n.n(v),F=n(70395),f=n.n(F),K=n(84559),T=n.n(K),R=n(53846),q=n.n(R),L=n(44328),S=n.n(L),C=n(51583),x=n.n(C),I=n(22227),U=n.n(I),A=n(82249);const H=e=>{var l;let n=A.cY;var i;null!=e&&null!=(l=e.user)&&l.result&&"User"===e.user.result.__typename&&(n=(null==(i=e.user.result.timeline)?void 0:i.timeline)||A.cY);return n},O=e=>{var l;return{code:null==(l=e[0])?void 0:l.code}},M=e=>{let l=A.cY;var n;null!=e&&e.viewer&&(l=(null==(n=e.viewer.timeline)?void 0:n.timeline)||A.cY);return l},W=e=>Array.isArray(e)&&!(0,a.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),Q=(e,l)=>{var n,i;const a="User"===(null==l||null==(n=l.user)||null==(i=n.result)?void 0:i.__typename)&&l.user.result.timeline;return a||(0,s.ZP)("GQL URT: Failed to render Follow timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},E=(e,l)=>{var n;const i=null==l||null==(n=l.viewer)?void 0:n.timeline;return i||(0,s.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:O(e)}),!i&&(0,r.jB)(e)},P=(e,l)=>{var n,i;const a=null==l||null==(n=l.viewer)||null==(i=n.muting_timeline)?void 0:i.timeline;return a||(0,s.ZP)("GQL URT: Failed to render Muting timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},j=(e,l)=>{var n,i;const a="Tweet"===(null==l||null==(n=l.tweet.result)?void 0:n.__typename)&&(null==(i=l.tweet.result.timeline_response)?void 0:i.timeline);return a||(0,s.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},G=(e,l)=>{var n;const i=null==l||null==(n=l.timeline)?void 0:n.timeline;return i||(0,s.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:O(e)}),!i&&(0,r.jB)(e)};function B(e,l,n){let i;function a(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return i=e===t.kH.Imported?b():e===t.kH.AutoBlock?y():m(),({count:t,cursor:o})=>l.graphQL(i,{count:t,cursor:o,includePromotedContent:!1,...(0,u.d)(n),withSafetyModeUserFields:n.isTrue("rito_safety_mode_features_enabled")},((l,n)=>{const i=a(n);return i||(0,s.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:O(l)}),!i&&(0,r.jB)(l)})).then((e=>a(e)||A.cY))}const z=({apiClient:e,featureSwitches:l})=>({fetchBlockedAccountsImportedGraphql:B(t.kH.Imported,e,l),fetchBlockedAccountsAllGraphql:B(t.kH.All,e,l),fetchBlockedAccountsAutoBlockGraphql:B(t.kH.AutoBlock,e,l),fetchFollowers:({count:n,cursor:i,userId:a})=>e.graphQL(h(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchFollowersYouKnow:({count:n,cursor:i,userId:a})=>e.graphQL(w(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchFollowing:({count:n,cursor:i,userId:a})=>e.graphQL(f(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchSuperFollowers:({count:n,cursor:i})=>e.graphQL(x(),{count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},E).then(M),fetchViewerTeams:()=>e.graphQLFullResponse(U(),{...(0,u.S)(l)},W).then((({data:e,errors:l})=>{const{viewer:n}=e,a=n&&n.teams&&n.teams.act_as||[];if(!l||!l.length)return a;const s=(0,i.Z)(l.map((e=>e.path&&e.path[3])));return a.filter(((e,l)=>!s.has(l)))})).then(d),fetchModeratedTimeline:({count:n,cursor:i,rootTweetId:a})=>e.graphQL(q(),{rootTweetId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},j).then((e=>{var l;if("Tweet"===(null==(l=e.tweet.result)?void 0:l.__typename)){var n,i;return(null==(n=e.tweet.result)||null==(i=n.timeline_response)?void 0:i.timeline)||A.cY}return A.cY})),fetchMutedAccounts:({count:n,cursor:i})=>e.graphQL(S(),{count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},P).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.muting_timeline)?void 0:n.timeline)||A.cY})),fetchGenericTimelineById:({count:n,cursor:i,timelineId:a})=>e.graphQL(T(),{timelineId:a,count:n,cursor:i,withQuickPromoteEligibilityTweetFields:!0,...(0,u.d)(l)},G).then((e=>{var l;return(null==(l=e.timeline)?void 0:l.timeline)||A.cY}))})},83175:(e,l,n)=>{"use strict";n.d(l,{S:()=>t,d:()=>s});var i=n(60917),a=n.n(i);const s=e=>{const l=e.isTrue("responsive_web_reactions_enabled");return{...t(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:l,withReactionsPerspective:l}},t=e=>a()},49890:(e,l,n)=>{"use strict";n.d(l,{B:()=>t,Z:()=>r});var i=n(6899),a=n(46395),s=n(90650);const t=new i.fK.Entity("teams",{user:s.Z},{idAttribute:({user:e})=>e[s.Z.idAttribute]||e,processStrategy:a.Z}),r=new i.fK.Array(t)},8893:(e,l,n)=>{"use strict";n.d(l,{s:()=>s});var i=n(10622),a=n.n(i);function s(e,l,n,i){return a()(e,l,n,i?{networkCacheConfig:{metadata:{isFatalError:i}}}:void 0).toPromise()}},32091:(e,l,n)=>{"use strict";n.d(l,{Gm:()=>u,ZH:()=>o,kH:()=>r});var i=n(78772),a=n(52612),s=n(57659),t=n(62104);const r={All:"any",AutoBlock:"autoblock",Imported:"imported"},u=e=>(0,t.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:l=>e===r.Imported?l.Graphql.fetchBlockedAccountsImportedGraphql:e===r.AutoBlock?l.Graphql.fetchBlockedAccountsAutoBlockGraphql:l.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:l})=>({count:e,cursor:"string"==typeof l?l:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:i.Z}),o=e=>(l,n)=>{const i=n();l(e.selectEntries(i).filter((e=>{if(!e.content||e.type!==a.ZP.User)return!1;const l=e.content.id,n=s.ZP.select(i,l);return n&&!n.blocking})).map((l=>e.removeEntry(l.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Communities.95964d5a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Communities.98b17fda.js b/info/endpoints/endpoints.Communities.98b17fda.js deleted file mode 100644 index 586bfe0..0000000 --- a/info/endpoints/endpoints.Communities.98b17fda.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Communities","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},85861:e=>{e.exports={queryId:"67uDmghnaYwafMWgJL9VoA",operationName:"CommunitiesMainDiscoveryModule",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},95821:e=>{e.exports={queryId:"o_cNmHWymaA7lSiUcuWSUQ",operationName:"CommunitiesMainPageTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91509:e=>{e.exports={queryId:"OYzZp8jnkrgN3TOXzXeK5g",operationName:"CommunitiesMembershipsSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},57460:e=>{e.exports={queryId:"fuuXZjMLgbldV8LttKE5nA",operationName:"CommunitiesMembershipsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},43160:e=>{e.exports={queryId:"zKOxnQMVyTw196Q79Ls23A",operationName:"CommunityAboutTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27986:e=>{e.exports={queryId:"FInMzRkH-lpxHt3jPFCICQ",operationName:"CreateCommunity",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},66249:e=>{e.exports={queryId:"yX2wzqr-U52bUMnxbqqeOA",operationName:"CommunityDiscoveryTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9797:e=>{e.exports={queryId:"Xg72Td81NRQxSIFtVyybnA",operationName:"CommunityByRestId",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},13345:e=>{e.exports={queryId:"rFuf3LITFQXWx-lB7a-DmA",operationName:"CommunityHashtagsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},13003:e=>{e.exports={queryId:"aRtEQoeX239ESG7JRNhV6A",operationName:"JoinCommunity",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4093:e=>{e.exports={queryId:"k-jdQeCnphy-teukwleWcA",operationName:"LeaveCommunity",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},87192:e=>{e.exports={queryId:"2R1qOtHA20u3NLjPVElgeA",operationName:"CommunityModerationKeepTweet",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},91250:e=>{e.exports={queryId:"GboSN9zi9H55q-anWswA6g",operationName:"CommunityModerationTweetCasesSlice",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_enhance_cards_enabled"]}}},75766:e=>{e.exports={queryId:"SbKb6iOIx_P1j2k-KEnSpg",operationName:"RequestToJoinCommunity",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},26130:e=>{e.exports={queryId:"j3cdDXGwa00LoZXKadF6Hg",operationName:"CommunityTweetsRankedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},74777:e=>{e.exports={queryId:"U9zAv1W4MUr0Yo-B064BrA",operationName:"CommunityTweetsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},86153:e=>{e.exports={queryId:"k3AomfvuTwmJV6HFfRfyQw",operationName:"CommunityUpdateRole",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4091:e=>{e.exports={queryId:"el2xSrgrXBxyWvbz193qaA",operationName:"CommunityUserInvite",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled"]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},32549:e=>{"use strict";var l,n,i,a,t,s,r,u,o,_,d,c,m,p,y,g,b,k,v,w,h,F,f,K,T,R,L,q,S,C,x,I,U,A,H,O,M,W,Q,E,j,P,z,G,D,B,N,Z,J,V,Y,X,$,ee,le,ne,ie,ae,te,se,re,ue,oe,_e,de,ce,me,pe,ye,ge,be,ke,ve,we,he,Fe,fe,Ke,Te,Re,Le,qe,Se,Ce,xe,Ie,Ue,Ae,He,Oe,Me,We,Qe,Ee,je,Pe,ze,Ge,De,Be,Ne,Ze,Je,Ve,Ye,Xe,$e,el,ll,nl,il,al,tl,sl,rl,ul,ol,_l,dl,cl,ml,pl,yl,gl,bl,kl,vl,wl,hl,Fl,fl,Kl,Tl,Rl,Ll,ql,Sl,Cl,xl,Il,Ul,Al,Hl={fragment:{argumentDefinitions:l=[{defaultValue:null,kind:"LocalArgument",name:"communityId"},{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"CommunitiesFetchOneQuery",selections:[{alias:"communityResults",args:n=[{kind:"Variable",name:"rest_id",variableName:"communityId"},{kind:"Literal",name:"s",value:"1452"}],concreteType:"CommunityResults",kind:"LinkedField",name:"community_results_by_rest_id",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[a={alias:"id_str",args:null,kind:"ScalarField",name:"rest_id",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"default_theme",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"custom_theme",storageKey:null},{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,c={kind:"InlineFragment",selections:d=[{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"CommunityDeleteActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,m={kind:"InlineFragment",selections:d,type:"CommunityJoinActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,p={kind:"InlineFragment",selections:d,type:"CommunityLeaveActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},j={alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[v={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:k=[b={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[y],storageKey:null}],storageKey:null}],storageKey:null},w={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[b],storageKey:null},s,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:W=[h={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},F={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[K={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},T={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},R={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[L={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},S={kind:"InlineFragment",selections:q=[f],type:"TimelineRichTextCashtag",abstractKey:null},C={kind:"InlineFragment",selections:[y,b],type:"TimelineRichTextList",abstractKey:null},x={kind:"InlineFragment",selections:q,type:"TimelineRichTextHashtag",abstractKey:null},I={kind:"InlineFragment",selections:k,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:M=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[A={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[U={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},g],type:"User",abstractKey:null},O={kind:"InlineFragment",selections:[H={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},_],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[U,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:M,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Q={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},E={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},P={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},z={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},G={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[B={kind:"RequiredField",field:D={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.blocked_by"},Z={kind:"RequiredField",field:N={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.blocking"},V={kind:"RequiredField",field:J={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.follow_request_sent"},X={kind:"RequiredField",field:Y={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.followed_by"},ee={kind:"RequiredField",field:$={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.following"},le={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},ne={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},ae={kind:"RequiredField",field:ie={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.protected"},B,Z,V,X,ee,le,ne,ae,te={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},se={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},r,re={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},ue={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},s,de={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:_e=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:oe=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},b,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:oe,storageKey:null}],storageKey:null},ce={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:me={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.favourites_count"},pe={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:ye={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.followers_count"},{kind:"RequiredField",field:ge={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.friends_count"},be={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},ke={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},ve={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},we={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:he={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.media_count"},t,Fe={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},fe={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},Ke={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},Te={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},xe={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:Ce=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[Re={alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Le={alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},qe={alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},Se={alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Ie={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},Ue={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:Ce,storageKey:null},Ae={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},He={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},U,{kind:"RequiredField",field:Oe={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.statuses_count"},Me={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},We={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},b,Qe={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:Ee={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"communityResults.result.admin_results.result.legacy.verified"},je={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},Pe={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},ze={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},Ge={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:_e,storageKey:null},De={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},Je={alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[g,Ne={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Ze={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[y,t,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Ve={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},Ye={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},Xe={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},$e={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Ve,Ye,Xe,$e,el={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},ll={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},nl={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},il={kind:"InlineFragment",selections:[_,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:W,storageKey:null},H],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,j,P,z,G,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[al={kind:"RequiredField",field:D,action:"THROW",path:"communityResults.result.creator_results.result.legacy.blocked_by"},tl={kind:"RequiredField",field:N,action:"THROW",path:"communityResults.result.creator_results.result.legacy.blocking"},sl={kind:"RequiredField",field:J,action:"THROW",path:"communityResults.result.creator_results.result.legacy.follow_request_sent"},rl={kind:"RequiredField",field:Y,action:"THROW",path:"communityResults.result.creator_results.result.legacy.followed_by"},ul={kind:"RequiredField",field:$,action:"THROW",path:"communityResults.result.creator_results.result.legacy.following"},le,ne,ol={kind:"RequiredField",field:ie,action:"THROW",path:"communityResults.result.creator_results.result.legacy.protected"},al,tl,sl,rl,ul,le,ne,ol,te,se,r,re,ue,s,de,ce,{kind:"RequiredField",field:me,action:"THROW",path:"communityResults.result.creator_results.result.legacy.favourites_count"},pe,{kind:"RequiredField",field:ye,action:"THROW",path:"communityResults.result.creator_results.result.legacy.followers_count"},{kind:"RequiredField",field:ge,action:"THROW",path:"communityResults.result.creator_results.result.legacy.friends_count"},be,ke,ve,we,{kind:"RequiredField",field:he,action:"THROW",path:"communityResults.result.creator_results.result.legacy.media_count"},t,Fe,fe,Ke,Te,xe,Ie,Ue,Ae,He,U,{kind:"RequiredField",field:Oe,action:"THROW",path:"communityResults.result.creator_results.result.legacy.statuses_count"},Me,We,b,Qe,{kind:"RequiredField",field:Ee,action:"THROW",path:"communityResults.result.creator_results.result.legacy.verified"},je,Pe,ze,Ge,De,Be],storageKey:null},Je,Ve,Ye,Xe,$e,Ve,Ye,Xe,$e,el,ll,nl],type:"User",abstractKey:null},il],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,_l={kind:"InlineFragment",selections:d,type:"CommunityInvitesUnavailable",abstractKey:null},{kind:"InlineFragment",selections:[dl={alias:null,args:null,kind:"ScalarField",name:"remaining_invite_count",storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[g],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,cl={kind:"InlineFragment",selections:d,type:"UserCommunityInviteActionUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[G,g,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Ae,te,se,{kind:"RequiredField",field:ie,action:"THROW",path:"communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected"},{kind:"RequiredField",field:Ee,action:"THROW",path:"communityResults.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified"},t,U],storageKey:null}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},ml={alias:null,args:null,concreteType:"SliceInfo",kind:"LinkedField",name:"slice_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"next_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"previous_cursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"CommunityInvites",abstractKey:null}],storageKey:null},pl={alias:null,args:null,kind:"ScalarField",name:"join_policy",storageKey:null},yl={alias:null,args:null,kind:"ScalarField",name:"invites_policy",storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,j,P,z,G,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[gl={kind:"RequiredField",field:D,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.blocked_by"},bl={kind:"RequiredField",field:N,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.blocking"},kl={kind:"RequiredField",field:J,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.follow_request_sent"},vl={kind:"RequiredField",field:Y,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.followed_by"},wl={kind:"RequiredField",field:$,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.following"},le,ne,hl={kind:"RequiredField",field:ie,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.protected"},gl,bl,kl,vl,wl,le,ne,hl,te,se,r,re,ue,s,de,ce,{kind:"RequiredField",field:me,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.favourites_count"},pe,{kind:"RequiredField",field:ye,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.followers_count"},{kind:"RequiredField",field:ge,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.friends_count"},be,ke,ve,we,{kind:"RequiredField",field:he,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.media_count"},t,Fe,fe,Ke,Te,xe,Ie,Ue,Ae,He,U,{kind:"RequiredField",field:Oe,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.statuses_count"},Me,We,b,Qe,{kind:"RequiredField",field:Ee,action:"THROW",path:"communityResults.result.members_facepile_results.result.legacy.verified"},je,Pe,ze,Ge,De,Be],storageKey:null},Je,Ve,Ye,Xe,$e,Ve,Ye,Xe,$e,el,ll,nl],type:"User",abstractKey:null},il],storageKey:null}],storageKey:null},Fl={alias:null,args:null,kind:"ScalarField",name:"moderator_count",storageKey:null},fl={alias:null,args:null,kind:"ScalarField",name:"member_count",storageKey:null},Kl={alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Tl=[g,t,s],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Ll=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[Rl={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"MediaColorInfo",kind:"LinkedField",name:"color_info",plural:!1,selections:[{alias:null,args:null,concreteType:"MediaColorPaletteItem",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,concreteType:"MediaColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Se,qe,Le],storageKey:null},Re],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_height",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaRect",kind:"LinkedField",name:"salient_rect",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"left",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}],storageKey:null}],type:"ApiImage",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Ll,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Tl,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[ql={alias:null,args:null,kind:"ScalarField",name:"pending_join_request_count",storageKey:null}],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null}],type:"Community",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"CommunitiesFetchOneQuery",selections:[{alias:"communityResults",args:n,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results_by_rest_id",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[a,t,s,r,u,o,{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityDeleteActionResult"},c],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityJoinActionResult"},m],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityLeaveActionResult"},p],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityTweetPinActionResult"}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:Il=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[y,g,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[v,w,s,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:xl=[h,F,f,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[K,T,R,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},L,S,C,x,I,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Cl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[A,Sl={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},g,y],type:"User",abstractKey:null},O],storageKey:null},y],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[U,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Cl,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Q,E],storageKey:null}],storageKey:null},P,z,G,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[D,N,J,Y,$,le,ne,ie,D,N,J,Y,$,le,ne,ie,te,se,r,re,ue,s,de,ce,me,pe,ye,ge,be,ke,ve,we,he,t,Fe,fe,Ke,Te,xe,Ie,Ue,Ae,He,U,Oe,Me,We,b,Qe,Ee,je,Pe,ze,Ge,De,Be],storageKey:null},Sl,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[g,Ne,Ze,y],storageKey:null},Ve,Ye,Xe,$e,Ve,Ye,Xe,$e,el,ll,nl],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[_,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:xl,storageKey:null},H],type:"UserUnavailable",abstractKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:Il,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityInvitesResult"},_l,{kind:"InlineFragment",selections:[dl,{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[g,y],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isUserCommunityInviteActionResult"},cl],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[G,g,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[Ae,te,se,ie,Ee,t,U],storageKey:null},Sl,y],type:"User",abstractKey:null}],storageKey:null},y],storageKey:null},y],storageKey:null},ml],storageKey:null},y],type:"CommunityInvites",abstractKey:null}],storageKey:null},pl,yl,{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:Il,storageKey:null},Fl,fl,Kl,{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Ul=[g,t,s,y],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Al=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[i,Rl],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Al,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Ul,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null},y],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[ql,y],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null},y],type:"Community",abstractKey:null}],storageKey:null},y],storageKey:null}]},params:{id:"VIhD4JU37Aw0KUsZtog_jw",metadata:{features:["responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","verified_phone_label_enabled"]},name:"CommunitiesFetchOneQuery",operationKind:"query",text:null}};Hl.hash="91b005df3d8a55ee7dd4c840e2a3458e",e.exports=Hl},51520:e=>{"use strict";var l,n,i,a,t,s,r,u,o,_,d,c,m,p,y,g,b,k,v,w,h,F,f,K,T,R,L,q,S,C,x,I,U,A,H,O,M,W,Q,E,j,P,z,G,D,B,N,Z,J,V,Y,X,$,ee,le,ne,ie,ae,te,se,re,ue,oe,_e,de,ce,me,pe,ye,ge,be,ke,ve,we,he,Fe,fe,Ke,Te,Re,Le,qe,Se,Ce,xe,Ie,Ue,Ae,He,Oe,Me,We,Qe,Ee,je,Pe,ze,Ge,De,Be,Ne,Ze,Je,Ve,Ye,Xe,$e,el,ll,nl,il,al,tl,sl,rl,ul,ol,_l,dl,cl,ml,pl,yl,gl,bl,kl,vl,wl,hl,Fl,fl,Kl,Tl,Rl,Ll,ql,Sl,Cl,xl,Il,Ul,Al,Hl,Ol={fragment:{argumentDefinitions:l=[{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"CommunitiesMembershipsRecentQuery",selections:[{alias:"viewer",args:n=[{kind:"Literal",name:"s",value:"1452"}],concreteType:"Viewer",kind:"LinkedField",name:"viewer_v2",plural:!1,selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:a=[{kind:"Literal",name:"count",value:20}],concreteType:"CommunitySlice",kind:"LinkedField",name:"community_memberships_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"items_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[t={alias:"id_str",args:null,kind:"ScalarField",name:"rest_id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"default_theme",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"custom_theme",storageKey:null},{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,m={kind:"InlineFragment",selections:c=[{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"CommunityDeleteActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,p={kind:"InlineFragment",selections:c,type:"CommunityJoinActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,y={kind:"InlineFragment",selections:c,type:"CommunityLeaveActionUnavailable",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},P={alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[w={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:v=[k={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[g],storageKey:null}],storageKey:null}],storageKey:null},h={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[k],storageKey:null},r,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Q=[F={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},K={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[T={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},R={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},L={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[q={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},C={kind:"InlineFragment",selections:S=[K],type:"TimelineRichTextCashtag",abstractKey:null},x={kind:"InlineFragment",selections:[g,k],type:"TimelineRichTextList",abstractKey:null},I={kind:"InlineFragment",selections:S,type:"TimelineRichTextHashtag",abstractKey:null},U={kind:"InlineFragment",selections:v,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:W=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[H={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[A={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},b],type:"User",abstractKey:null},M={kind:"InlineFragment",selections:[O={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},d],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[A,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:W,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},E={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},j={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},z={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},G={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},D={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[N={kind:"RequiredField",field:B={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocked_by"},J={kind:"RequiredField",field:Z={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.blocking"},Y={kind:"RequiredField",field:V={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.follow_request_sent"},$={kind:"RequiredField",field:X={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followed_by"},le={kind:"RequiredField",field:ee={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.following"},ne={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},ie={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},te={kind:"RequiredField",field:ae={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.protected"},N,J,Y,$,le,ne,ie,te,se={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},re={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},u,ue={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},oe={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},r,ce={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:de=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:_e=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},k,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:_e,storageKey:null}],storageKey:null},me={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:pe={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.favourites_count"},ye={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:ge={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.followers_count"},{kind:"RequiredField",field:be={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.friends_count"},ke={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},ve={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},we={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},he={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:Fe={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.media_count"},s,fe={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},Ke={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},Te={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},Re={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},Ie={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:xe=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[Le={alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[qe={alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},Se={alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},Ce={alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Ue={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},Ae={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:xe,storageKey:null},He={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},Oe={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},A,{kind:"RequiredField",field:Me={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.statuses_count"},We={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},Qe={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},k,Ee={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:je={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.admin_results.result.legacy.verified"},Pe={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},ze={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},Ge={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},De={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:de,storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Ne={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},Ve={alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[b,Ze={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Je={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[g,s,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Ye={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},Xe={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},$e={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},el={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Ye,Xe,$e,el,ll={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},nl={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},il={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null}],type:"User",abstractKey:null},al={kind:"InlineFragment",selections:[d,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Q,storageKey:null},O],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,P,z,G,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[tl={kind:"RequiredField",field:B,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocked_by"},sl={kind:"RequiredField",field:Z,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.blocking"},rl={kind:"RequiredField",field:V,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.follow_request_sent"},ul={kind:"RequiredField",field:X,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followed_by"},ol={kind:"RequiredField",field:ee,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.following"},ne,ie,_l={kind:"RequiredField",field:ae,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.protected"},tl,sl,rl,ul,ol,ne,ie,_l,se,re,u,ue,oe,r,ce,me,{kind:"RequiredField",field:pe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.favourites_count"},ye,{kind:"RequiredField",field:ge,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.followers_count"},{kind:"RequiredField",field:be,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.friends_count"},ke,ve,we,he,{kind:"RequiredField",field:Fe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.media_count"},s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,A,{kind:"RequiredField",field:Me,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.statuses_count"},We,Qe,k,Ee,{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.creator_results.result.legacy.verified"},Pe,ze,Ge,De,Be,Ne],storageKey:null},Ve,Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},al],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,dl={kind:"InlineFragment",selections:c,type:"CommunityInvitesUnavailable",abstractKey:null},{kind:"InlineFragment",selections:[cl={alias:null,args:null,kind:"ScalarField",name:"remaining_invite_count",storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[b],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,ml={kind:"InlineFragment",selections:c,type:"UserCommunityInviteActionUnavailable",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[D,b,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[He,se,re,{kind:"RequiredField",field:ae,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.protected"},{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.invites_result.users_to_invite_slice.items.user_results.result.legacy.verified"},s,A],storageKey:null}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},pl={alias:null,args:null,concreteType:"SliceInfo",kind:"LinkedField",name:"slice_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"next_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"previous_cursor",storageKey:null}],storageKey:null}],storageKey:null}],type:"CommunityInvites",abstractKey:null}],storageKey:null},yl={alias:null,args:null,kind:"ScalarField",name:"join_policy",storageKey:null},gl={alias:null,args:null,kind:"ScalarField",name:"invites_policy",storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,P,z,G,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[bl={kind:"RequiredField",field:B,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocked_by"},kl={kind:"RequiredField",field:Z,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.blocking"},vl={kind:"RequiredField",field:V,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.follow_request_sent"},wl={kind:"RequiredField",field:X,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followed_by"},hl={kind:"RequiredField",field:ee,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.following"},ne,ie,Fl={kind:"RequiredField",field:ae,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.protected"},bl,kl,vl,wl,hl,ne,ie,Fl,se,re,u,ue,oe,r,ce,me,{kind:"RequiredField",field:pe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.favourites_count"},ye,{kind:"RequiredField",field:ge,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.followers_count"},{kind:"RequiredField",field:be,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.friends_count"},ke,ve,we,he,{kind:"RequiredField",field:Fe,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.media_count"},s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,A,{kind:"RequiredField",field:Me,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.statuses_count"},We,Qe,k,Ee,{kind:"RequiredField",field:je,action:"THROW",path:"viewer.user_results.result.community_memberships_slice.items_results.result.members_facepile_results.result.legacy.verified"},Pe,ze,Ge,De,Be,Ne],storageKey:null},Ve,Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},al],storageKey:null}],storageKey:null},fl={alias:null,args:null,kind:"ScalarField",name:"moderator_count",storageKey:null},Kl={alias:null,args:null,kind:"ScalarField",name:"member_count",storageKey:null},Tl={alias:null,args:null,kind:"ScalarField",name:"role",storageKey:null},{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Rl=[b,s,r],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:ql=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[Ll={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"MediaColorInfo",kind:"LinkedField",name:"color_info",plural:!1,selections:[{alias:null,args:null,concreteType:"MediaColorPaletteItem",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,concreteType:"MediaColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[Ce,Se,qe],storageKey:null},Le],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"original_img_height",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaRect",kind:"LinkedField",name:"salient_rect",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"left",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"top",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null}],storageKey:null}],type:"ApiImage",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:ql,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Rl,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Sl={alias:null,args:null,kind:"ScalarField",name:"pending_join_request_count",storageKey:null}],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null}],type:"Community",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:"community_memberships_slice(count:20)"}],type:"User",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:'viewer_v2(s:"1452")'}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"CommunitiesMembershipsRecentQuery",selections:[{alias:"viewer",args:n,concreteType:"Viewer",kind:"LinkedField",name:"viewer_v2",plural:!1,selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:a,concreteType:"CommunitySlice",kind:"LinkedField",name:"community_memberships_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"items_results",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[t,s,r,u,o,_,{alias:null,args:null,concreteType:"CommunityActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"delete_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityDeleteActionResult"},m],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityJoinActionResult"},p],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"leave_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityLeaveActionResult"},y],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"pin_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityTweetPinActionResult"}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"admin_results",plural:!1,selections:Ul=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[g,b,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[w,h,r,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Il=[F,f,K,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[T,R,L,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},q,C,x,I,U,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:xl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[H,Cl={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},b,g],type:"User",abstractKey:null},M],storageKey:null},g],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[A,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:xl,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},E,j],storageKey:null}],storageKey:null},z,G,D,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[B,Z,V,X,ee,ne,ie,ae,B,Z,V,X,ee,ne,ie,ae,se,re,u,ue,oe,r,ce,me,pe,ye,ge,be,ke,ve,we,he,Fe,s,fe,Ke,Te,Re,Ie,Ue,Ae,He,Oe,A,Me,We,Qe,k,Ee,je,Pe,ze,Ge,De,Be,Ne],storageKey:null},Cl,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[b,Ze,Je,g],storageKey:null},Ye,Xe,$e,el,Ye,Xe,$e,el,ll,nl,il],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[d,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Il,storageKey:null},O],type:"UserUnavailable",abstractKey:null}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"creator_results",plural:!1,selections:Ul,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invites_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isCommunityInvitesResult"},dl,{kind:"InlineFragment",selections:[cl,{alias:null,args:null,concreteType:"UserCommunityRelationshipSlice",kind:"LinkedField",name:"users_to_invite_slice",plural:!1,selections:[{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"items",plural:!0,selections:[{alias:null,args:null,concreteType:"CommunityResults",kind:"LinkedField",name:"community_results",plural:!1,selections:[b,g],storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationshipActions",kind:"LinkedField",name:"actions",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"invite_action_result",plural:!1,selections:[i,{kind:"TypeDiscriminator",abstractKey:"__isUserCommunityInviteActionResult"},ml],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[D,b,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[He,se,re,ae,je,s,A],storageKey:null},Cl,g],type:"User",abstractKey:null}],storageKey:null},g],storageKey:null},g],storageKey:null},pl],storageKey:null},g],type:"CommunityInvites",abstractKey:null}],storageKey:null},yl,gl,{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"members_facepile_results",plural:!0,selections:Ul,storageKey:null},fl,Kl,Tl,{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rules",plural:!0,selections:Al=[b,s,r,g],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"custom_banner_media",plural:!1,selections:Hl=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"media_info",plural:!1,selections:[i,Ll],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:"ApiMedia",kind:"LinkedField",name:"default_banner_media",plural:!1,selections:Hl,storageKey:null},{alias:null,args:null,concreteType:"UserCommunityRelationship",kind:"LinkedField",name:"viewer_relationship",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"moderation_state",plural:!1,selections:[i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CommunityRule",kind:"LinkedField",name:"rule",plural:!1,selections:Al,storageKey:null}],type:"CommunityUserRemovedModerationState",abstractKey:null}],storageKey:null},g],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"join_requests_result",plural:!1,selections:[i,{kind:"InlineFragment",selections:[Sl,g],type:"CommunityJoinRequests",abstractKey:null}],storageKey:null},g],type:"Community",abstractKey:null}],storageKey:null},g],storageKey:null}],storageKey:"community_memberships_slice(count:20)"},g],type:"User",abstractKey:null}],storageKey:null},g],storageKey:null}],storageKey:'viewer_v2(s:"1452")'}]},params:{id:"GigFry0IhuG0EkXse2y06g",metadata:{features:["responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","verified_phone_label_enabled"]},name:"CommunitiesMembershipsRecentQuery",operationKind:"query",text:null}};Ol.hash="b3ed912f8236b1bf9d8e0643c06ad3e2",e.exports=Ol},87109:(e,l,n)=>{"use strict";n.r(l),n.d(l,{EMPTY_MODERATION_RESPONSE:()=>te,default:()=>ue});var i=n(6899),a=(n(85488),n(17360)),t=n(83175),s=n(38269),r=n(46395),u=n(85364),o=n(90650);const _=new i.fK.Entity("communityReports",{},{idAttribute:"id_str",processStrategy:r.Z});_.define({user:o.Z,community:s.ZP});const d=new i.fK.Entity("communityCases",{},{idAttribute:"tweet_id_str",processStrategy:(e,l,n)=>{const{reports_slice:i,tweet_results:a,...t}=e,s={...t},u=a.result;return s.tweet="Tweet"===(null==u?void 0:u.__typename)?u:u.tweet,null!=i&&i.items&&(s.reports=i.items.map((l=>{var n,i;const a={},{created_at:t,reporter_relationship:s,rule:r}=l;if(a.rule=r,a.created_at=t,"User"===(null==s||null==(n=s.user_results)?void 0:n.result.__typename)){var u;const{__typename:l,...n}=(null==s||null==(u=s.user_results)?void 0:u.result)||{};a.user=n,a.id_str=`${e.caseId}-${t}-${n.rest_id}`}const o=null==s?void 0:s.community_results,_="Community"===(null==o||null==(i=o.result)?void 0:i.__typename)&&o.result;return _&&(a.community=_),a}))),(0,r.Z)(s,l,n)}});d.define({tweet:u.Z,reports:[_]});const c=d;var m,p,y=n(95212),g=n(85861),b=n.n(g),k=n(95821),v=n.n(k),w=n(91509),h=n.n(w),F=n(57460),f=n.n(F),K=n(43160),T=n.n(K),R=n(27986),L=n.n(R),q=n(66249),S=n.n(q),C=n(9797),x=n.n(C),I=n(13345),U=n.n(I),A=n(13003),H=n.n(A),O=n(4093),M=n.n(O),W=n(87192),Q=n.n(W),E=n(91250),j=n.n(E),P=n(75766),z=n.n(P),G=n(26130),D=n.n(G),B=n(74777),N=n.n(B),Z=n(86153),J=n.n(Z),V=n(4091),Y=n.n(V),X=n(63174),$=n(63140),ee=n(8893),le=n(82249),ne=n(97534);const ie={result:[],entities:{},slice_info:{}},ae={result:[],entities:{}},te={id_str:"",tweet_case_count:0,pending_join_request_count:0},se="GQL Communities: Failed to Create Community",re=void 0!==m?m:m=n(32549),ue=({apiClient:e,featureSwitches:l,relayEnvironment:r})=>({createCommunity(n){const{description:r,invitesPolicy:u,joinPolicy:o,name:_}=n;return e.graphQL(L(),{name:_,description:r,joinPolicy:o,invitesPolicy:u,...(0,t.S)(l)},(0,a.kj)((e=>{var l;return!["Community","CommunityCreateActionUnavailable","CommunityCreateError"].includes(null==(l=e.community_create_v2)?void 0:l.__typename)}),se)).then((e=>{var l;switch(null==(l=e.community_create_v2)?void 0:l.__typename){case"Community":return{type:"Community",normalized:(0,i.Fv)(e.community_create_v2,s.ZP)};case"CommunityCreateActionUnavailable":var n;return{type:"CreateError",reason:e.community_create_v2.unavailableReason,error:null!=(n=e.community_create_v2.unavailableMessage)?n:""};case"CommunityCreateError":var a;return{type:"CreateError",reason:e.community_create_v2.createReason,error:null!=(a=e.community_create_v2.createError)?a:""};default:return{type:"CreateError",error:se,reason:""}}}))},fetchCommunity:e=>(0,ee.s)(r,re,{communityId:e.communityId,...(0,t.S)(l)}).then((e=>{var l;if("Community"===(null==e||null==(l=e.communityResults.result)?void 0:l.__typename))return(0,i.Fv)(e.communityResults.result,s.ZP);{const e=new X.Z("communityResultsByRestId",401,{},[{code:$.ZP.CommunityNotFound}]);return Promise.reject(e)}})),fetchCommunityWithoutRelay:n=>e.graphQL(x(),{communityId:n.communityId,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.communityResults)),"GQL Communities: Failed to fetch a Community result")).then((e=>{var l;if("Community"===(null==e||null==(l=e.communityResults.result)?void 0:l.__typename))return(0,i.Fv)(e.communityResults.result,s.ZP);{const e=new X.Z("communityResultsByRestId",401,{},[{code:$.ZP.CommunityNotFound}]);return Promise.reject(e)}})),fetchAboutTimeline:n=>e.graphQL(T(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n,i,a,t;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(t=a.about_timeline)&&t.timeline)}),"GQL Communities: Failed to render Community About timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.about_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityTweets:n=>e.graphQL(N(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n,i,a,t;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(t=a.community_timeline)&&t.timeline)}),"GQL Communities: Failed to render Community Tweets timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.community_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityRankedTweets:n=>e.graphQL(D(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n,i,a,t;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(t=a.ranked_community_timeline)&&t.timeline)}),"GQL Communities: Failed to render Ranked Community Tweets timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.ranked_community_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityMemberships:n=>e.graphQL(f(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n;const i=null==e||null==(l=e.user)?void 0:l.result;return"User"!==(null==i?void 0:i.__typename)||!(null!=i&&null!=(n=i.timeline)&&n.timeline)}),"GQL Communities: Failed to render Memberships timeline")).then(ne.parseUserScopedTimeline),fetchRecentCommunityMemberships:()=>(0,ee.s)(r,void 0!==p?p:p=n(51520),{...(0,t.S)(l)},(0,a.kj)((e=>{var l,n,i;const a="User"===(null==(l=e.viewer)||null==(n=l.user_results)||null==(i=n.result)?void 0:i.__typename)&&e.viewer.user_results.result;return!(a&&a.community_memberships_slice.items_results)}),"GQL Communities: Failed to fetch Community Recent Memberships data")).then((e=>{var l,n,a,t;const r="User"===(null==e||null==(l=e.viewer)||null==(n=l.user_results)||null==(a=n.result)?void 0:a.__typename)?e.viewer.user_results.result:void 0,u=(null!=(t=null==r?void 0:r.community_memberships_slice.items_results)?t:[]).map((e=>e.result)).filter((e=>"Community"===(null==e?void 0:e.__typename)));return u?(0,i.Fv)(u,[s.ZP]):ae})),fetchCommunitiesMembershipsSlice:n=>e.graphQL(h(),{...(0,t.S)(l),...n},(0,a.kj)((e=>{var l,n;const i=null==e||null==(l=e.viewer)||null==(n=l.user_results)?void 0:n.result,a="User"===(null==i?void 0:i.__typename)?i:void 0;return!(null!=a&&a.community_memberships_slice)}),"GQL Communities: Failed to fetch Memberships Slice")).then((e=>{var l,n;const a=null==e||null==(l=e.viewer)||null==(n=l.user_results)?void 0:n.result,t="User"===(null==a?void 0:a.__typename)?a:void 0,r=null==t?void 0:t.community_memberships_slice;if(r){const e=r.items_results.map((e=>e.result)).filter((e=>"Community"===(null==e?void 0:e.__typename)));if(!e.length)return ie;const{entities:l,result:n}=(0,i.Fv)(e,[s.ZP]);return{result:n,entities:l,slice_info:r.slice_info}}return ie})),fetchModerationCasesSlice:n=>n?e.graphQL(j(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.S)(l)},(0,a.kj)((e=>{var l,n,i,a,t;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(t=a.moderation)&&t.tweet_cases_slice)}),"GQL Communities: Failed to fetch Moderation Cases Slice")).then((e=>{var l,n,a;const t="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;if(!t)return ie;const s=null==(a=t.moderation)?void 0:a.tweet_cases_slice;if(s){const{entities:e,result:l}=(0,i.Fv)(s.items,[c]);return{result:l,entities:e,slice_info:s.slice_info}}return ie})):Promise.resolve(ie),fetchCommunitiesMainDiscoveryModule:n=>e.graphQL(b(),{...n,withCommunity:!0,...(0,t.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.communities_viewer)&&null!=(n=l.community_discovery_module)&&n.timeline)}),"GQL Communities: Failed to render Communities Main Discovery module")).then((e=>{var l,n;return(null==(l=e.communities_viewer)||null==(n=l.community_discovery_module)?void 0:n.timeline)||le.cY})),fetchCommunitiesMainTimeline:n=>e.graphQL(v(),{...n,withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.viewer)&&null!=(n=l.communities_timeline)&&n.timeline)}),"GQL Communities: Failed to render Main Communities timeline")).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.communities_timeline)?void 0:n.timeline)||le.cY})),fetchCommunityHashtagsTimeline:n=>e.graphQL(U(),{withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l),...n},(0,a.kj)((e=>{var l,n,i,a,t;return"Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&!(null!=e&&null!=(i=e.communityResults)&&null!=(a=i.result)&&null!=(t=a.community_filtered_timeline)&&t.timeline)}),"GQL Communities: Failed to render Community Hashtags timeline")).then((e=>{var l,n,i;const a="Community"===(null==e||null==(l=e.communityResults)||null==(n=l.result)?void 0:n.__typename)&&e.communityResults.result;return a&&(null==a||null==(i=a.community_filtered_timeline)?void 0:i.timeline)||le.cY})),fetchCommunityDiscoveryTimeline:n=>e.graphQL(S(),{withCommunity:l.isTrue("c9s_enabled"),...(0,t.d)(l)},(0,a.kj)((e=>{var l,n;return!(null!=e&&null!=(l=e.viewer)&&null!=(n=l.community_discovery_timeline)&&n.timeline)}),"GQL Communities: Failed to render Community Discovery timeline")).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.community_discovery_timeline)?void 0:n.timeline)||le.cY})),keepCommunityTweet:n=>e.graphQL(Q(),{tweetId:n.tweetId,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_tweet_keep)),"GQL Communities: Failed to keep a Community tweet")).then((e=>(0,i.Fv)(e.community_tweet_keep,s.ZP))),joinCommunity:n=>e.graphQL(H(),{communityId:n.communityId,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_join)),"GQL Communities: Failed to Join Community")).then((e=>(0,i.Fv)(e.community_join,s.ZP))),requestToJoinCommunity:n=>e.graphQL(z(),{communityId:n.communityId,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_join_request_create)),"GQL Communities: Failed to Request to Join Community")).then((e=>{const{community_join_request_create:l}=e;switch(null==l?void 0:l.__typename){case"CommunityJoinRequest":{var n;const e=l.user_relationship.community_results,a="Community"===(null==(n=e.result)?void 0:n.__typename)&&e.result;return{type:"CommunityJoinRequest",normalized:a?(0,i.Fv)(a,s.ZP):null}}case"CommunityJoinRequestCreateError":return{type:"CommunityJoinRequestCreateError"};case"CommunityJoinRequestCreateActionUnavailable":return{type:"CommunityJoinRequestCreateActionUnavailable"};default:return}})),leaveCommunity:n=>e.graphQL(M(),{communityId:n.communityId,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_leave)),"GQL Communities: Failed to Leave Community")).then((e=>(0,i.Fv)(e.community_leave,s.ZP))),inviteToCommunity:l=>e.graphQL(Y(),{communityId:l.communityId,userId:l.userId},(0,a.kj)((e=>!(null!=e&&e.user_community_invite)),"GQL Communities: Failed to Invite To Community")).then((e=>{const{user_community_invite:l}=e;switch(null==l?void 0:l.__typename){case"UserCommunityRelationship":{var n;const{__typename:e,community_update:a,...t}=l,s="Community"===(null==(n=a.result)?void 0:n.__typename)&&a.result.invites_result,r=s&&"CommunityInvites"===s.__typename&&s.remaining_invite_count||0,u=(0,y.W)(t);return{type:e,remainingInviteCount:r,normalized:(0,i.Fv)(u,y.Z)}}case"UserCommunityInviteMutationError":return{type:"UserCommunityInviteMutationError",reason:l.mutationErrorReason,message:l.message};case"UserCommunityInviteActionUnavailable":return{type:"UserCommunityInviteActionUnavailable",reason:l.actionUnavailableReason,message:l.message};default:return}})),updateCommunityRole:n=>e.graphQL(J(),{...n,...(0,t.S)(l)},(0,a.kj)((e=>!(null!=e&&e.community_role_put)),"GQL Communities: Failed to Update role in Community")).then((e=>(0,i.Fv)(e.community_role_put,s.ZP)))})},97534:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>D,errorBreadcrumb:()=>O,isFatalGenericTimelineError:()=>z,isFatalModeratedTimelineError:()=>P,isFatalTeamsResponseError:()=>W,isFatalUserScopedFollowTimelineError:()=>Q,isFatalViewerScopedFollowTimelineError:()=>E,parseUserScopedTimeline:()=>H,parseViewerScopedTimeline:()=>M});var i=n(58955),a=n(79363),t=n(72599),s=n(32091),r=n(17360),u=n(83175),o=n(6899),_=n(49890);const d=(e=[])=>{const l=e.map((({user_results:e,...l})=>{var n;let i;if("User"===(null==e||null==(n=e.result)?void 0:n.__typename)){const{__typename:l,...n}=e.result;i=n}return{user:i,...l}}));return(0,o.Fv)(l,_.Z)};var c=n(73114),m=n.n(c),p=n(51877),y=n.n(p),g=n(15157),b=n.n(g),k=n(63922),v=n.n(k),w=n(41025),h=n.n(w),F=n(70395),f=n.n(F),K=n(84559),T=n.n(K),R=n(53846),L=n.n(R),q=n(44328),S=n.n(q),C=n(51583),x=n.n(C),I=n(22227),U=n.n(I),A=n(82249);const H=e=>{var l;let n=A.cY;var i;null!=e&&null!=(l=e.user)&&l.result&&"User"===e.user.result.__typename&&(n=(null==(i=e.user.result.timeline)?void 0:i.timeline)||A.cY);return n},O=e=>{var l;return{code:null==(l=e[0])?void 0:l.code}},M=e=>{let l=A.cY;var n;null!=e&&e.viewer&&(l=(null==(n=e.viewer.timeline)?void 0:n.timeline)||A.cY);return l},W=e=>Array.isArray(e)&&!(0,a.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),Q=(e,l)=>{var n,i;const a="User"===(null==l||null==(n=l.user)||null==(i=n.result)?void 0:i.__typename)&&l.user.result.timeline;return a||(0,t.ZP)("GQL URT: Failed to render Follow timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},E=(e,l)=>{var n;const i=null==l||null==(n=l.viewer)?void 0:n.timeline;return i||(0,t.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:O(e)}),!i&&(0,r.jB)(e)},j=(e,l)=>{var n,i;const a=null==l||null==(n=l.viewer)||null==(i=n.muting_timeline)?void 0:i.timeline;return a||(0,t.ZP)("GQL URT: Failed to render Muting timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},P=(e,l)=>{var n,i;const a="Tweet"===(null==l||null==(n=l.tweet.result)?void 0:n.__typename)&&(null==(i=l.tweet.result.timeline_response)?void 0:i.timeline);return a||(0,t.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:O(e)}),!a&&(0,r.jB)(e)},z=(e,l)=>{var n;const i=null==l||null==(n=l.timeline)?void 0:n.timeline;return i||(0,t.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:O(e)}),!i&&(0,r.jB)(e)};function G(e,l,n){let i;function a(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return i=e===s.kH.Imported?b():e===s.kH.AutoBlock?y():m(),({count:s,cursor:o})=>l.graphQL(i,{count:s,cursor:o,includePromotedContent:!1,...(0,u.d)(n),withSafetyModeUserFields:n.isTrue("rito_safety_mode_features_enabled")},((l,n)=>{const i=a(n);return i||(0,t.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:O(l)}),!i&&(0,r.jB)(l)})).then((e=>a(e)||A.cY))}const D=({apiClient:e,featureSwitches:l})=>({fetchBlockedAccountsImportedGraphql:G(s.kH.Imported,e,l),fetchBlockedAccountsAllGraphql:G(s.kH.All,e,l),fetchBlockedAccountsAutoBlockGraphql:G(s.kH.AutoBlock,e,l),fetchFollowers:({count:n,cursor:i,userId:a})=>e.graphQL(v(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchFollowersYouKnow:({count:n,cursor:i,userId:a})=>e.graphQL(h(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchFollowing:({count:n,cursor:i,userId:a})=>e.graphQL(f(),{userId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},Q).then(H),fetchSuperFollowers:({count:n,cursor:i})=>e.graphQL(x(),{count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},E).then(M),fetchViewerTeams:()=>e.graphQLFullResponse(U(),{...(0,u.S)(l)},W).then((({data:e,errors:l})=>{const{viewer:n}=e,a=n&&n.teams&&n.teams.act_as||[];if(!l||!l.length)return a;const t=(0,i.Z)(l.map((e=>e.path&&e.path[3])));return a.filter(((e,l)=>!t.has(l)))})).then(d),fetchModeratedTimeline:({count:n,cursor:i,rootTweetId:a})=>e.graphQL(L(),{rootTweetId:a,count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},P).then((e=>{var l;if("Tweet"===(null==(l=e.tweet.result)?void 0:l.__typename)){var n,i;return(null==(n=e.tweet.result)||null==(i=n.timeline_response)?void 0:i.timeline)||A.cY}return A.cY})),fetchMutedAccounts:({count:n,cursor:i})=>e.graphQL(S(),{count:n,cursor:i,includePromotedContent:!1,...(0,u.d)(l)},j).then((e=>{var l,n;return(null==(l=e.viewer)||null==(n=l.muting_timeline)?void 0:n.timeline)||A.cY})),fetchGenericTimelineById:({count:n,cursor:i,timelineId:a})=>e.graphQL(T(),{timelineId:a,count:n,cursor:i,withQuickPromoteEligibilityTweetFields:!0,...(0,u.d)(l)},z).then((e=>{var l;return(null==(l=e.timeline)?void 0:l.timeline)||A.cY}))})},83175:(e,l,n)=>{"use strict";n.d(l,{S:()=>s,d:()=>t});var i=n(60917),a=n.n(i);const t=e=>{const l=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:l,withReactionsPerspective:l}},s=e=>a()},49890:(e,l,n)=>{"use strict";n.d(l,{B:()=>s,Z:()=>r});var i=n(6899),a=n(46395),t=n(90650);const s=new i.fK.Entity("teams",{user:t.Z},{idAttribute:({user:e})=>e[t.Z.idAttribute]||e,processStrategy:a.Z}),r=new i.fK.Array(s)},8893:(e,l,n)=>{"use strict";n.d(l,{s:()=>t});var i=n(10622),a=n.n(i);function t(e,l,n,i){return a()(e,l,n,i?{networkCacheConfig:{metadata:{isFatalError:i}}}:void 0).toPromise()}},32091:(e,l,n)=>{"use strict";n.d(l,{Gm:()=>u,ZH:()=>o,kH:()=>r});var i=n(78772),a=n(52612),t=n(57659),s=n(62104);const r={All:"any",AutoBlock:"autoblock",Imported:"imported"},u=e=>(0,s.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:l=>e===r.Imported?l.Graphql.fetchBlockedAccountsImportedGraphql:e===r.AutoBlock?l.Graphql.fetchBlockedAccountsAutoBlockGraphql:l.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:l})=>({count:e,cursor:"string"==typeof l?l:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:i.Z}),o=e=>(l,n)=>{const i=n();l(e.selectEntries(i).filter((e=>{if(!e.content||e.type!==a.ZP.User)return!1;const l=e.content.id,n=t.ZP.select(i,l);return n&&!n.blocking})).map((l=>e.removeEntry(l.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Communities.98b17fda.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.CommunitiesTools.9030dbca.js b/info/endpoints/endpoints.CommunitiesTools.9030dbca.js new file mode 100644 index 0000000..a22968f --- /dev/null +++ b/info/endpoints/endpoints.CommunitiesTools.9030dbca.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.CommunitiesTools"],{61054:e=>{e.exports={queryId:"grMra5CiyVe9qUp2Ckv_gA",operationName:"CommunityCreateRule",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12235:e=>{e.exports={queryId:"PqF9tmZFUuIUQJBa1Yp6dA",operationName:"CommunityEditBannerMedia",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12773:e=>{e.exports={queryId:"vjJo0T_--jYPFIDmUJpywQ",operationName:"CommunityEditName",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},3211:e=>{e.exports={queryId:"W3KRuCm_asI3kpnfGb-Yow",operationName:"CommunityEditPurpose",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},11382:e=>{e.exports={queryId:"jZ0iF8Ej4iT9REu_5Bhbog",operationName:"CommunityEditRule",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4389:e=>{e.exports={queryId:"F9E0Gfuz47z9cHosrzp0Xg",operationName:"CommunityEditTheme",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},36058:e=>{e.exports={queryId:"vhKogY1hNfXm7BHHN7lbWA",operationName:"CommunityRemoveBannerMedia",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},44565:e=>{e.exports={queryId:"0SSCibJ7ZdA-UPBgTXg1Kw",operationName:"CommunityRemoveRule",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},16786:e=>{e.exports={queryId:"y_e8QBHYvU6sGy_K0TFGoQ",operationName:"CommunityReorderRules",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},40873:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>x});var _=n(6899),t=n(17360),a=n(83175),o=n(38269),r=n(61054),m=n.n(r),s=n(12235),u=n.n(s),l=n(12773),p=n.n(l),d=n(3211),b=n.n(d),c=n(11382),h=n.n(c),v=n(4389),y=n.n(v),g=n(36058),w=n.n(g),f=n(44565),q=n.n(f),I=n(16786),C=n.n(I);const x=({apiClient:e,featureSwitches:i})=>({editCommunityName:n=>e.graphQL(p(),{communityId:n.communityId,name:n.name,...(0,a.S)(i)},(0,t.kj)((e=>{var i;return!(null!=(i=e.community_name_put)&&i.name)}),"GQL Communities: Failed to edit community name")).then((e=>(0,_.Fv)(e.community_name_put,o.ZP))),editCommunityPurpose:n=>e.graphQL(b(),{communityId:n.communityId,description:n.purpose,...(0,a.S)(i)},(0,t.kj)((e=>{var i;return!(null!=(i=e.community_description_put)&&i.description)}),"GQL Communities: Failed to edit community purpose")).then((e=>(0,_.Fv)(e.community_description_put,o.ZP))),editCommunityTheme:n=>e.graphQL(y(),{communityId:n.communityId,theme:n.theme,...(0,a.S)(i)},(0,t.kj)((e=>{var i;return!(null!=(i=e.community_custom_theme_put)&&i.custom_theme)}),"GQL Communities: Failed to edit community theme")).then((e=>(0,_.Fv)(e.community_custom_theme_put,o.ZP))),editCommunityRule:n=>e.graphQL(h(),{communityId:n.communityId,ruleId:n.ruleId,name:n.name,description:n.description,...(0,a.S)(i)},(0,t.kj)((e=>!(null!=e&&e.community_rule_update)),"GQL Communities: Failed to edit community rule")).then((e=>(0,_.Fv)(e.community_rule_update,o.ZP))),createCommunityRule:n=>e.graphQL(m(),{communityId:n.communityId,name:n.name,description:n.description,...(0,a.S)(i)},(0,t.kj)((e=>!(null!=e&&e.community_rule_create)),"GQL Communities: Failed to create community rule")).then((e=>(0,_.Fv)(e.community_rule_create,o.ZP))),removeCommunityRule:n=>e.graphQL(q(),{communityId:n.communityId,ruleId:n.ruleId,...(0,a.S)(i)},(0,t.kj)((e=>!(null!=e&&e.community_rule_remove)),"GQL Communities: Failed to remove community rule")).then((e=>(0,_.Fv)(e.community_rule_remove,o.ZP))),reorderCommunityRules:n=>e.graphQL(C(),{communityId:n.communityId,ruleIds:n.ruleIds,...(0,a.S)(i)},(0,t.kj)((e=>!(null!=e&&e.community_rules_reorder)),"GQL Communities: Failed to reorder community rules")).then((e=>(0,_.Fv)(e.community_rules_reorder,o.ZP))),editCommunityBannerMedia:n=>e.graphQL(u(),{communityId:n.communityId,mediaId:n.mediaId,...(0,a.S)(i)},(0,t.kj)((e=>{var i;return!(null!=(i=e.community_custom_banner_media_put)&&i.custom_banner_media)}),"GQL Communities: Failed to edit community banner media")).then((e=>(0,_.Fv)(e.community_custom_banner_media_put,o.ZP))),removeCommunityBannerMedia:n=>e.graphQL(w(),{communityId:n.communityId,...(0,a.S)(i)},(0,t.kj)((e=>!e.community_custom_banner_media_delete),"GQL Communities: Failed to remove community banner media")).then((e=>(0,_.Fv)(e.community_custom_banner_media_delete,o.ZP)))})},83175:(e,i,n)=>{"use strict";n.d(i,{S:()=>o,d:()=>a});var _=n(60917),t=n.n(_);const a=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...o(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},o=e=>t()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.CommunitiesTools.9030dbca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.CommunitiesTools.dae1c29a.js b/info/endpoints/endpoints.CommunitiesTools.dae1c29a.js deleted file mode 100644 index f24927c..0000000 --- a/info/endpoints/endpoints.CommunitiesTools.dae1c29a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.CommunitiesTools"],{61054:e=>{e.exports={queryId:"Lw0FSdDyFK1-YAxTMciX5Q",operationName:"CommunityCreateRule",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12235:e=>{e.exports={queryId:"mT0c4v978cyq0Zf-BC-DeA",operationName:"CommunityEditBannerMedia",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12773:e=>{e.exports={queryId:"W8eKZPaYwvyNJZ7pg4r4IQ",operationName:"CommunityEditName",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},3211:e=>{e.exports={queryId:"DhljqegkRKtjuVtekwwMag",operationName:"CommunityEditPurpose",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},11382:e=>{e.exports={queryId:"WDuZdd4MR8jdzUHTZ6EKjQ",operationName:"CommunityEditRule",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},4389:e=>{e.exports={queryId:"vQwmpZCfRYV29MqaErvw9A",operationName:"CommunityEditTheme",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},36058:e=>{e.exports={queryId:"Nk5Su5z52-XsjPsEZJE-Uw",operationName:"CommunityRemoveBannerMedia",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},44565:e=>{e.exports={queryId:"bqOusPLTfJdxT6xENq10lQ",operationName:"CommunityRemoveRule",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},16786:e=>{e.exports={queryId:"HITt3zQQ6YwdEVVSyCWw1g",operationName:"CommunityReorderRules",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},40873:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>x});var n=t(6899),_=t(17360),a=t(83175),r=t(38269),o=t(61054),m=t.n(o),d=t(12235),s=t.n(d),u=t(12773),l=t.n(u),p=t(3211),b=t.n(p),c=t(11382),v=t.n(c),y=t(4389),h=t.n(y),w=t(36058),g=t.n(w),f=t(44565),q=t.n(f),I=t(16786),C=t.n(I);const x=({apiClient:e,featureSwitches:i})=>({editCommunityName:t=>e.graphQL(l(),{communityId:t.communityId,name:t.name,...(0,a.S)(i)},(0,_.kj)((e=>{var i;return!(null!=(i=e.community_name_put)&&i.name)}),"GQL Communities: Failed to edit community name")).then((e=>(0,n.Fv)(e.community_name_put,r.ZP))),editCommunityPurpose:t=>e.graphQL(b(),{communityId:t.communityId,description:t.purpose,...(0,a.S)(i)},(0,_.kj)((e=>{var i;return!(null!=(i=e.community_description_put)&&i.description)}),"GQL Communities: Failed to edit community purpose")).then((e=>(0,n.Fv)(e.community_description_put,r.ZP))),editCommunityTheme:t=>e.graphQL(h(),{communityId:t.communityId,theme:t.theme,...(0,a.S)(i)},(0,_.kj)((e=>{var i;return!(null!=(i=e.community_custom_theme_put)&&i.custom_theme)}),"GQL Communities: Failed to edit community theme")).then((e=>(0,n.Fv)(e.community_custom_theme_put,r.ZP))),editCommunityRule:t=>e.graphQL(v(),{communityId:t.communityId,ruleId:t.ruleId,name:t.name,description:t.description,...(0,a.S)(i)},(0,_.kj)((e=>!(null!=e&&e.community_rule_update)),"GQL Communities: Failed to edit community rule")).then((e=>(0,n.Fv)(e.community_rule_update,r.ZP))),createCommunityRule:t=>e.graphQL(m(),{communityId:t.communityId,name:t.name,description:t.description,...(0,a.S)(i)},(0,_.kj)((e=>!(null!=e&&e.community_rule_create)),"GQL Communities: Failed to create community rule")).then((e=>(0,n.Fv)(e.community_rule_create,r.ZP))),removeCommunityRule:t=>e.graphQL(q(),{communityId:t.communityId,ruleId:t.ruleId,...(0,a.S)(i)},(0,_.kj)((e=>!(null!=e&&e.community_rule_remove)),"GQL Communities: Failed to remove community rule")).then((e=>(0,n.Fv)(e.community_rule_remove,r.ZP))),reorderCommunityRules:t=>e.graphQL(C(),{communityId:t.communityId,ruleIds:t.ruleIds,...(0,a.S)(i)},(0,_.kj)((e=>!(null!=e&&e.community_rules_reorder)),"GQL Communities: Failed to reorder community rules")).then((e=>(0,n.Fv)(e.community_rules_reorder,r.ZP))),editCommunityBannerMedia:t=>e.graphQL(s(),{communityId:t.communityId,mediaId:t.mediaId,...(0,a.S)(i)},(0,_.kj)((e=>{var i;return!(null!=(i=e.community_custom_banner_media_put)&&i.custom_banner_media)}),"GQL Communities: Failed to edit community banner media")).then((e=>(0,n.Fv)(e.community_custom_banner_media_put,r.ZP))),removeCommunityBannerMedia:t=>e.graphQL(g(),{communityId:t.communityId,...(0,a.S)(i)},(0,_.kj)((e=>!e.community_custom_banner_media_delete),"GQL Communities: Failed to remove community banner media")).then((e=>(0,n.Fv)(e.community_custom_banner_media_delete,r.ZP)))})},83175:(e,i,t)=>{"use strict";t.d(i,{S:()=>r,d:()=>a});var n=t(60917),_=t.n(n);const a=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},r=e=>_()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.CommunitiesTools.dae1c29a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Conversation.426e8dca.js b/info/endpoints/endpoints.Conversation.426e8dca.js deleted file mode 100644 index 5a1a2fc..0000000 --- a/info/endpoints/endpoints.Conversation.426e8dca.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Conversation"],{47278:e=>{e.exports={queryId:"wTXkouwCKcMNQtY-NcDgAA",operationName:"TweetDetail",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},33071:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c,isFatalTweetDetailTimelineError:()=>d});var _=i(72599),n=i(17360),r=i(83175),o=i(47278),a=i.n(o),s=i(63140),l=i(82249);const d=(e,t)=>{const i=!(null==t||!t.threaded_conversation_with_injections)||!(null==t||!t.threaded_conversation_with_injections_v2);if(!i){1===e.length&&e[0].code===s.ZP.StatusNotFound||(0,_.ZP)("GQL URT: Failed to render TweetDetail timeline")}return!i&&(0,n.jB)(e)},c=({apiClient:e,featureSwitches:t})=>({fetchTweetDetail:({controller_data:i,cursor:_,focalTweetId:n,isReaderMode:o,referrer:s,rux_context:c,with_rux_injections:w})=>e.graphQL(a(),{focalTweetId:n,cursor:_,referrer:s,controller_data:i,rux_context:c,with_rux_injections:w,includePromotedContent:!0,withCommunity:t.isTrue("c9s_enabled"),withQuickPromoteEligibilityTweetFields:!0,withBirdwatchNotes:t.isTrue("responsive_web_birdwatch_consumption_enabled"),...(0,r.d)(t),withVoice:t.isTrue("voice_consumption_enabled"),withV2Timeline:t.isTrue("graphql_timeline_v2_query_threaded_conversation_with_injections"),isReaderMode:o},d).then((e=>e.threaded_conversation_with_injections||e.threaded_conversation_with_injections_v2||l.cY))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>o,d:()=>r});var _=i(60917),n=i.n(_);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...o(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},o=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Conversation.426e8dca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Conversation.6c55132a.js b/info/endpoints/endpoints.Conversation.6c55132a.js new file mode 100644 index 0000000..e1f0375 --- /dev/null +++ b/info/endpoints/endpoints.Conversation.6c55132a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Conversation"],{47278:e=>{e.exports={queryId:"AV_lPTkN6Fc6LgerQpK8Zg",operationName:"TweetDetail",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},33071:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>c,isFatalTweetDetailTimelineError:()=>d});var n=i(72599),_=i(17360),r=i(83175),a=i(47278),o=i.n(a),s=i(63140),l=i(82249);const d=(e,t)=>{const i=!(null==t||!t.threaded_conversation_with_injections)||!(null==t||!t.threaded_conversation_with_injections_v2);if(!i){1===e.length&&e[0].code===s.ZP.StatusNotFound||(0,n.ZP)("GQL URT: Failed to render TweetDetail timeline")}return!i&&(0,_.jB)(e)},c=({apiClient:e,featureSwitches:t})=>({fetchTweetDetail:({controller_data:i,cursor:n,focalTweetId:_,isReaderMode:a,referrer:s,rux_context:c,with_rux_injections:w})=>e.graphQL(o(),{focalTweetId:_,cursor:n,referrer:s,controller_data:i,rux_context:c,with_rux_injections:w,includePromotedContent:!0,withCommunity:t.isTrue("c9s_enabled"),withQuickPromoteEligibilityTweetFields:!0,withBirdwatchNotes:t.isTrue("responsive_web_birdwatch_consumption_enabled"),...(0,r.d)(t),withVoice:t.isTrue("voice_consumption_enabled"),withV2Timeline:t.isTrue("graphql_timeline_v2_query_threaded_conversation_with_injections"),isReaderMode:a},d).then((e=>e.threaded_conversation_with_injections||e.threaded_conversation_with_injections_v2||l.cY))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>a,d:()=>r});var n=i(60917),_=i.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>_()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Conversation.6c55132a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.DirectMessages.1680c60a.js b/info/endpoints/endpoints.DirectMessages.1680c60a.js new file mode 100644 index 0000000..72342f8 --- /dev/null +++ b/info/endpoints/endpoints.DirectMessages.1680c60a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.DirectMessages","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},8871:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(70023),_=n(50445),l=n(13239);const u=(e,t,n)=>{const o=Object.keys(e)[0];return{...e[o],type:o}},d=new o.fK.Entity("entries",{message_data:{attachment:{card:a.Z,tweet:{status:_.Z}}}},{idAttribute:e=>Object.values(e)[0].id,processStrategy:u}),c=new o.fK.Values(l.Z),p=[d],w=new o.fK.Object({conversation_timeline:{entries:p,users:c},inbox_initial_state:{entries:p,users:c},inbox_timeline:{entries:p,users:c},user_events:{entries:p,users:c}}),m={users:c},v=new o.fK.Object({entries:p,users:c});var b=n(6623),f=n(87233),g=n(55371);const h=e=>({dm_secret_conversations_enabled:e.isTrue("dm_secret_conversations_enabled"),krs_registration_enabled:e.isTrue("krs_registration_enabled")}),y=(e,t=!1)=>Object.assign({},t?{}:h(e),f.getGlobalDefaults(e),{dm_users:!1,include_groups:!0,include_inbox_timelines:!0,include_ext_media_color:!0,supports_reactions:!0}),T={include_conversation_info:!0},x=["mediaColor","altText"],k=({apiClient:e,featureSwitches:t})=>({acceptConversation(t,n){const{conversationId:o}=t;return e.post(`dm/conversation/${o}/accept`,{},{},n)},addParticipants(t,n){const{conversationId:r,joinedParticipantIds:i}=t;return e.post(`dm/conversation/${r}/add_participants`,{participant_ids:i},{},n).then((e=>e?(0,o.Fv)(e,v):null))},addReaction:(t,n)=>e.post("dm/reaction/new",{},t,n),addWelcomeMessageToConversation(t,n){const o={cards_platform:s.i5,request_id:i().v4()},r={...n,"content-type":"application/json"};return e.post("dm/welcome_messages/add_to_conversation",t,o,r)},deleteReaction:(t,n)=>e.post("dm/reaction/delete",{},t,n),fetchConversation(n,r){const{conversationId:i,...s}=n,a={...s,...g.getGlobalDefaults(t),...y(t),...T,...(0,b.Y)(t,x)};return e.get(`dm/conversation/${i}`,a,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchConversationFromParticipants(n,r){const{participantIds:i}=n,s={...g.getGlobalDefaults(t),...y(t),...T,participant_ids:i};return e.get("dm/conversation",s,r).then((e=>{const t=(0,o.Fv)(e,w);if(t){const{conversations:e}=t.result.conversation_timeline;return Object.keys(e).length?Object.values(e)[0]:null}return null}))},fetchPermissions:(t,n)=>e.get("dm/permissions",{...t,dm_users:!0},n),fetchSecretPermissions:(n,o)=>e.get("dm/permissions/secret",{...n,...h(t),dm_users:!0},o),fetchUserInbox(n,r){const i={...n,...g.getGlobalDefaults(t),...y(t),dm_users:!0,include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get("dm/inbox_initial_state",i,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchInboxHistory(n,r){const{timelineType:i,...s}=n,a={...s,...g.getGlobalDefaults(t),...y(t),include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get(`dm/inbox_timeline/${i}`,a,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchUserUpdates(n,r){const i={...n,...y(t),include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get("dm/user_updates",i,r).then((e=>e?(0,o.Fv)(e,w):null))},leaveConversation(n,o){const{conversationId:r,...i}=n,s={...i,...y(t),...T};return e.post(`dm/conversation/${r}/delete`,s,o,{})},search(t,n){const{request_id:r=i().v4()}=t,s={...t,request_id:r};return e.post("dm/search/query",s,{},n).then((e=>e?(0,o.Fv)(e,m):null))},sendMessage(n,r){const{request_id:s=i().v4()}=n,a={...n,...y(t,!0),request_id:s,...(0,b.Y)(t,x)},{ext:_,...l}=a,u=t.isTrue("responsive_web_secret_dms")&&t.isTrue("dm_secret_conversations_enabled");return e.post(u?"dm/new2":"dm/new",u?l:a,u?{ext:_}:{},{...r,...u?{"content-type":"application/json"}:{}}).then((e=>e?(0,o.Fv)(e,v):null))},deleteMessage:(n,o)=>e.post("dm/destroy",{...n,...y(t)},{},o),markRead(t,n){const{conversationId:o}=t;return e.post(`dm/conversation/${o}/mark_read`,t,{},n)},reportSpam:(t,n)=>e.post("direct_messages/report_spam",t,{},n),updateConversationAvatar(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_avatar`,r,{},n)},updateLastSeenEventId:(t,n)=>e.post("dm/update_last_seen_event_id",t,{},n),updateConversationName(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_name`,r,{},n)},disableNotifications(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/disable_notifications`,r,{},n)},enableNotifications(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/enable_notifications`,r,{},n)},updateMentionNotificationsSetting(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_mention_notifications_setting`,r,{},n)},updateTyping(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/typing`,r,{},n)},muteDMUser(t,n){const{conversationId:o,relationshipAction:r,userId:i}=t;return e.post("/dm/user/update_relationship_state",{user_id:i,conversation_id:o,relationship_action:r},{},n)}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),g=n.n(f),h=n(40558),y=n.n(h),T=n(45373),x=n.n(T),k=n(99090),C=n.n(k),q=n(44577),S=n.n(q),F=n(60445),L=n.n(F),I=n(9578),D=n.n(I),Q=n(93764),B=n.n(Q),N=n(38150),Z=n.n(N),R=n(69875),j=n.n(R),P=n(25912),E=n.n(P),G=n(24586),U=n.n(G),M=n(84461),V=n.n(M),O=n(63455),A=n.n(O),$=n(17439),z=n.n($),Y=n(50445),K=n(6623),W=n(63174),H=n(63140),J=n(60348),X=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,K.Y)(n)},r).then((e=>(0,o.Fv)(e,[Y.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=H.ZP.BlockedUserError;break;case"Protected":e=H.ZP.StatusViewForbidden;break;case"Bouncer":e=H.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=H.ZP.TweetIsBounceDeleted;break;case"Suspended":e=H.ZP.OtherUserSuspended;break;default:e=H.ZP.GenericNotFound}const n=new W.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,Y.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...X.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...X.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,J.gQ)(r);return t.graphQL(j(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,J.gQ)(r);return t.graphQL(V(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(x(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(B(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,J.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,J.gQ)(i);return t.graphQL(Z(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,J.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...X.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...X.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,J.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(L(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(L(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...X.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...X.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(S(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...X.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...X.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(z(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...X.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(D(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(D(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...X.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...X.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(A(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>k,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>x});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},k={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...k};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...h({options:e,featureSwitches:n}),...k};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=h({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},x),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function h(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=k(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const k=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?S(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DirectMessages.1680c60a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.DirectMessages.29928a4a.js b/info/endpoints/endpoints.DirectMessages.29928a4a.js deleted file mode 100644 index 5269ca3..0000000 --- a/info/endpoints/endpoints.DirectMessages.29928a4a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.DirectMessages","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},8871:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(70023),_=n(50445),l=n(13239);const u=(e,t,n)=>{const o=Object.keys(e)[0];return{...e[o],type:o}},d=new o.fK.Entity("entries",{message_data:{attachment:{card:a.Z,tweet:{status:_.Z}}}},{idAttribute:e=>Object.values(e)[0].id,processStrategy:u}),c=new o.fK.Values(l.Z),p=[d],w=new o.fK.Object({conversation_timeline:{entries:p,users:c},inbox_initial_state:{entries:p,users:c},inbox_timeline:{entries:p,users:c},user_events:{entries:p,users:c}}),m={users:c},v=new o.fK.Object({entries:p,users:c});var b=n(6623),f=n(87233),g=n(55371);const h=e=>({dm_secret_conversations_enabled:e.isTrue("dm_secret_conversations_enabled"),krs_registration_enabled:e.isTrue("krs_registration_enabled")}),y=e=>({...f.getGlobalDefaults(e),...h(e),dm_users:!1,include_groups:!0,include_inbox_timelines:!0,include_ext_media_color:!0,supports_reactions:!0}),T={include_conversation_info:!0},x=["mediaColor","altText"],k=({apiClient:e,featureSwitches:t})=>({acceptConversation(t,n){const{conversationId:o}=t;return e.post(`dm/conversation/${o}/accept`,{},{},n)},addParticipants(t,n){const{conversationId:r,joinedParticipantIds:i}=t;return e.post(`dm/conversation/${r}/add_participants`,{participant_ids:i},{},n).then((e=>e?(0,o.Fv)(e,v):null))},addReaction:(t,n)=>e.post("dm/reaction/new",{},t,n),addWelcomeMessageToConversation(t,n){const o={cards_platform:s.i5,request_id:i().v4()},r={...n,"content-type":"application/json"};return e.post("dm/welcome_messages/add_to_conversation",t,o,r)},deleteReaction:(t,n)=>e.post("dm/reaction/delete",{},t,n),fetchConversation(n,r){const{conversationId:i,...s}=n,a={...s,...g.getGlobalDefaults(t),...y(t),...T,...(0,b.Y)(t,x)};return e.get(`dm/conversation/${i}`,a,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchConversationFromParticipants(n,r){const{participantIds:i}=n,s={...g.getGlobalDefaults(t),...y(t),...T,participant_ids:i};return e.get("dm/conversation",s,r).then((e=>{const t=(0,o.Fv)(e,w);if(t){const{conversations:e}=t.result.conversation_timeline;return Object.keys(e).length?Object.values(e)[0]:null}return null}))},fetchPermissions:(t,n)=>e.get("dm/permissions",{...t,dm_users:!0},n),fetchSecretPermissions:(n,o)=>e.get("dm/permissions/secret",{...n,...h(t),dm_users:!0},o),fetchUserInbox(n,r){const i={...n,...g.getGlobalDefaults(t),...y(t),dm_users:!0,include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get("dm/inbox_initial_state",i,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchInboxHistory(n,r){const{timelineType:i,...s}=n,a={...s,...g.getGlobalDefaults(t),...y(t),include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get(`dm/inbox_timeline/${i}`,a,r).then((e=>e?(0,o.Fv)(e,w):null))},fetchUserUpdates(n,r){const i={...n,...y(t),include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled"),nsfw_filtering_enabled:t.isTrue("dm_conversations_nsfw_media_filter_enabled")&&n.nsfw_filtering_enabled,...(0,b.Y)(t,x)};return e.get("dm/user_updates",i,r).then((e=>e?(0,o.Fv)(e,w):null))},leaveConversation(n,o){const{conversationId:r,...i}=n,s={...i,...y(t),...T};return e.post(`dm/conversation/${r}/delete`,s,o,{})},search(t,n){const{request_id:r=i().v4()}=t,s={...t,request_id:r};return e.post("dm/search/query",s,{},n).then((e=>e?(0,o.Fv)(e,m):null))},sendMessage(n,r){const{request_id:s=i().v4()}=n,a={...n,...y(t),request_id:s,...(0,b.Y)(t,x)};return e.post("dm/new",a,{},r).then((e=>e?(0,o.Fv)(e,v):null))},deleteMessage:(n,o)=>e.post("dm/destroy",{...n,...y(t)},{},o),markRead(t,n){const{conversationId:o}=t;return e.post(`dm/conversation/${o}/mark_read`,t,{},n)},reportSpam:(t,n)=>e.post("direct_messages/report_spam",t,{},n),updateConversationAvatar(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_avatar`,r,{},n)},updateLastSeenEventId:(t,n)=>e.post("dm/update_last_seen_event_id",t,{},n),updateConversationName(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_name`,r,{},n)},disableNotifications(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/disable_notifications`,r,{},n)},enableNotifications(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/enable_notifications`,r,{},n)},updateMentionNotificationsSetting(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/update_mention_notifications_setting`,r,{},n)},updateTyping(t,n){const{conversationId:o,...r}=t;return e.post(`dm/conversation/${o}/typing`,r,{},n)},muteDMUser(t,n){const{conversationId:o,relationshipAction:r,userId:i}=t;return e.post("/dm/user/update_relationship_state",{user_id:i,conversation_id:o,relationship_action:r},{},n)}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),g=n.n(f),h=n(40558),y=n.n(h),T=n(45373),x=n.n(T),k=n(99090),C=n.n(k),q=n(44577),S=n.n(q),F=n(60445),L=n.n(F),I=n(9578),D=n.n(I),Q=n(93764),N=n.n(Q),B=n(38150),Z=n.n(B),P=n(69875),j=n.n(P),R=n(25912),E=n.n(R),G=n(24586),U=n.n(G),M=n(84461),A=n.n(M),V=n(63455),O=n.n(V),$=n(17439),z=n.n($),W=n(50445),Y=n(6623),K=n(63174),H=n(63140),J=n(60348),X=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,Y.Y)(n)},r).then((e=>(0,o.Fv)(e,[W.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=H.ZP.BlockedUserError;break;case"Protected":e=H.ZP.StatusViewForbidden;break;case"Bouncer":e=H.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=H.ZP.TweetIsBounceDeleted;break;case"Suspended":e=H.ZP.OtherUserSuspended;break;default:e=H.ZP.GenericNotFound}const n=new K.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...X.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...X.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,J.gQ)(r);return t.graphQL(j(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,J.gQ)(r);return t.graphQL(A(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(x(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(N(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,J.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,J.gQ)(i);return t.graphQL(Z(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,J.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...X.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...X.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,J.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(L(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(L(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...X.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...X.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(S(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...X.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...X.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(z(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...X.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(D(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(D(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...X.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...X.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>k,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>x});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},k={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...k};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...h({options:e,featureSwitches:n}),...k};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=h({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},x),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function h(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=k(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const k=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?S(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DirectMessages.29928a4a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.DirectMessagesGraphQL.03f2ad1a.js b/info/endpoints/endpoints.DirectMessagesGraphQL.03f2ad1a.js new file mode 100644 index 0000000..b1b5f7e --- /dev/null +++ b/info/endpoints/endpoints.DirectMessagesGraphQL.03f2ad1a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.DirectMessagesGraphQL","shared~loader.DMDrawer~bundle.DirectMessages~bundle.TwitterArticles"],{88823:e=>{e.exports={queryId:"2NpGQJPxEmFk36AV6XHFkw",operationName:"DmAllSearchSlice",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},47448:e=>{e.exports={queryId:"5zpY1dCR-8NyxQJS_CFJoQ",operationName:"DmGroupSearchSlice",operationType:"query",metadata:{featureSwitches:[]}}},87348:e=>{e.exports={queryId:"NmK9_fTCKCPXdX7NgVJP9w",operationName:"DmMutedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},64987:e=>{e.exports={queryId:"xYSm8m5kJnzm_gFCn5GH-w",operationName:"DmPeopleSearchSlice",operationType:"query",metadata:{featureSwitches:[]}}},30310:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>b,isFatalDMSearchError:()=>h});var n=t(6899),l=t(17360),r=t(83175),a=t(5189),_=t(88823),s=t.n(_),o=t(47448),d=t.n(o),u=t(87348),c=t.n(u),m=t(64987),v=t.n(m),g=t(82249);const h=(e,i)=>{let t=!1;var n,r;if(null!=i&&i.dmPeopleSearchSlice)t=!(null==i||null==(n=i.dmPeopleSearchSlice)||null==(r=n.items)||!r.length);else if(null!=i&&i.dmGroupSearchSlice){var a,_;t=!(null==i||null==(a=i.dmGroupSearchSlice)||null==(_=a.items)||!_.length)}else if(null!=i&&i.dmMessageSearchSlice){if("DMMessageSlice"!==(null==i?void 0:i.dmMessageSearchSlice.__typename))return!0;var s,o;t=!(null==i||null==(s=i.dmMessageSearchSlice)||null==(o=s.items)||!o.length)}return!t&&(0,l.jB)(e)},p=e=>{var i;const t=null==(i=e.items)?void 0:i.map((e=>null==e?void 0:e.dm_convo_search));return(0,n.Fv)(t,[a.ZP])},b=({apiClient:e,featureSwitches:i})=>({fetchDMAllSearch:t=>t?e.graphQL(s(),{count:null==t?void 0:t.count,query:t.query,withAttachments:i.isTrue("dm_inbox_search_message_attachment_previews_enabled")&&i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withMessageQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_message_results_enabled")&&i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withMessages:i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withSafetyModeUserFields:i.isTrue("rito_safety_mode_blocked_profile_enabled")},h).then((e=>{const i=null==e?void 0:e.dmGroupSearchSlice,t=null==e?void 0:e.dmMessageSearchSlice,l=null==e?void 0:e.dmPeopleSearchSlice;let r=g.d;if(i){var _,s,o;const{entities:e,result:t}=p(i),n=(null==(_=i.items)?void 0:_.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==(s=i.items)?void 0:s.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})));r={result:null==(o=r)?void 0:o.result.concat({groupData:{result:t,highlightingTokens:n}}),entities:e}}if(l){var d,u,c,m;const{entities:e,result:i}=p(l),t=(null==(d=l.items)?void 0:d.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==(u=l.items)?void 0:u.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})));r={...r,result:null==(c=r)?void 0:c.result.concat({peopleData:{result:i,highlightingTokens:t}}),entities:{...null==(m=r)?void 0:m.entities,...e}}}if(t&&"DMMessageSlice"===(null==t?void 0:t.__typename)){var v,h,b,f;const e=null==t?void 0:t.items,i=(0,n.Fv)(e,[a.JJ]),l=null==e?void 0:e.map((e=>{var i,t;return null==e||null==(i=e.dm_event)||null==(t=i.legacy)?void 0:t.conversation})),_=(null==e?void 0:e.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==e?void 0:e.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens}))),{entities:s,result:o}=(0,n.Fv)(l,[a.ZP]);r={...r,result:null==(v=r)||null==(h=v.result)?void 0:h.concat({messageData:{conversationIds:o,entryIds:null==i?void 0:i.result,highlightingTokens:_}}),entities:{...null==i?void 0:i.entities,conversations:{...null==(b=r)||null==(f=b.entities)?void 0:f.conversations,...null==s?void 0:s.conversations}}}}return r})):Promise.resolve(g.d),fetchDMGroupSearch:t=>t?e.graphQL(d(),{...t,withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1")},h).then((e=>{const i=null==e?void 0:e.dmGroupSearchSlice;if(i){const{entities:e,result:t}=p(i);return{result:t,entities:e,slice_info:i.sliceInfo}}return g.d})):Promise.resolve(g.d),fetchDMPeopleSearch:t=>t?e.graphQL(v(),{...t,withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1")},h).then((e=>{const i=null==e?void 0:e.dmPeopleSearchSlice;if(i){const{entities:e,result:t}=p(i);return{result:t,entities:e,slice_info:i.sliceInfo}}return g.d})):Promise.resolve(g.d),fetchDMMutedUsers:({count:t,cursor:n})=>e.graphQL(c(),{count:t,cursor:n,includePromotedContent:!1,...(0,r.d)(i)},(0,l.kj)((e=>{var i,t;return!(null!=e&&null!=(i=e.viewer)&&null!=(t=i.dm_muting_timeline)&&t.timeline)}),"GQL URT: Failed to render DM Muting timeline")).then((e=>{var i,t;return(null==(i=e.viewer)||null==(t=i.dm_muting_timeline)?void 0:t.timeline)||g.cY}))})},83175:(e,i,t)=>{"use strict";t.d(i,{S:()=>a,d:()=>r});var n=t(60917),l=t.n(n);const r=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},a=e=>l()},5189:(e,i,t)=>{"use strict";t.d(i,{JJ:()=>u,ZP:()=>m});t(6886),t(36728);var n=t(6899),l=t(29086),r=t(22167),a=t(46395),_=t(15804),s=t(85364);const o=Object.freeze({GROUP:"GroupDm",ONE_TO_ONE:"OneToOneDm",UNKNOWN:"Unknown"}),d=Object.freeze({MessageCreate:r.Cr.MESSAGE,ParticipantsJoin:r.Cr.PARTICIPANTS_JOIN,ParticipantsLeave:r.Cr.PARTICIPANTS_LEAVE,ConversationNameUpdate:r.Cr.CONVERSATION_NAME_UPDATE,JoinConversation:r.Cr.JOIN_CONVERSATION}),u=new n.fK.Entity("entries",{message_data:{attachment:{card:_.Z,tweet:{status:s.Z}}}},{processStrategy:(e,i,t)=>{var n,r,_,s,o,u,c;const{legacy:m,rest_id:v}=(null==e?void 0:e.dm_event)||{},g=null==m?void 0:m.event_type,{affects_sort:h,request_id:p}=m||{};let b,f,y="Unknown";g in d&&(y=d[g]);const S=null==m||null==(n=m.conversation)?void 0:n.rest_id,T=null==m||null==(r=m.event_detail)?void 0:r.dm,E=null==m?void 0:m.created_at_millis,{card:A,media:N,tweet_results:w,urls_entity:O}=(null==T||null==(_=T.attachments)?void 0:_[0])||{};if(null!=A&&A.legacy&&(b={card:A}),null!=O&&O.length&&T.text&&O.forEach((e=>{null!=e&&e.indices[0]&&(f=T.text.slice(0,null==e?void 0:e.indices[0]).concat(T.text.slice(e.indices[1])))})),"Tweet"===(null==w||null==(s=w.result)?void 0:s.__typename)){var I,D,M,C,R,x,P,k,q;const e=null==w||null==(I=w.result)||null==(D=I.legacy)?void 0:D.entities;let i;null!=e&&null!=(M=e.media)&&M.length?i=null==e?void 0:e.media[0]:null!=e&&null!=(C=e.urls)&&C.length&&(i=null==e?void 0:e.urls[0]);const{display_url:t,expanded_url:n,id_str:l,indices:r,url:a}=i||{},{extended_entities:_}=(null==w||null==(R=w.result)?void 0:R.legacy)||{},s=null==_||null==(x=_.media)?void 0:x.map((e=>{if(null!=e&&e.video_info){var i;const t=null==e||null==(i=e.video_info)?void 0:i.variants;return{...e,video_info:{...null==e?void 0:e.video_info,variants:t}}}return e})),o={...null==w||null==(P=w.result)||null==(k=P.legacy)?void 0:k.extended_entities,media:s};b={tweet:{status:{...null==w?void 0:w.result,legacy:{...null==w||null==(q=w.result)?void 0:q.legacy,extended_entities:o}},display_url:t,expanded_url:n,indices:r,url:a,id:l}}}const G=N?(0,l.m)(N):null;G&&G.type&&("photo"===G.type?b={photo:G}:"video"===G.type?b={video:G}:"animated_gif"===G.type&&(b={animated_gif:G}));const L={affects_sort:h,request_id:p,time:E,type:y,conversation_id:S,message_data:{id:v,text:f||(null==T?void 0:T.text),entities:null==T?void 0:T.entities,recipient_id:null==T||null==(o=T.recipient_results)||null==(u=o.result)?void 0:u.rest_id,sender_id:null==T||null==(c=T.sender_results)?void 0:c.result.rest_id,attachment:b},id:v};return(0,a.Z)(L,i,t)},idAttribute:e=>{var i;return null==e||null==(i=e.dm_event)?void 0:i.rest_id}}),c=new n.fK.Entity("conversations",{},{processStrategy:(e,i,t)=>{var n,l,_;const{id:s,labels:d,legacy:u,perspectival_conversation_metadata:c,rest_id:m}=e||{},v={},g=[];for(const e of(null==u?void 0:u.participants_metadata)||[]){var h;const i=null==e||null==(h=e.user_results)?void 0:h.result;if(!i||!i.legacy)continue;const t={description:i.legacy.description,id_str:i.legacy.id_str,name:i.legacy.name,profile_image_url_https:i.legacy.profile_image_url_https||"",screen_name:i.legacy.screen_name};v[i.rest_id]=t,g.push({user:t,user_id:i.rest_id})}let p=null==u||null==(n=u.metadata)?void 0:n.avatar;const b=null==(l=p)?void 0:l.media_info,f=null==e?void 0:e.last_readable_event_id;if(b){const{original_img_height:e,original_img_url:i,original_img_width:t}=b||{};p={image:{original_info:{height:e,width:t,url:i}}}}const y=(null==u||null==(_=u.metadata)?void 0:_.conversation_type)===o.GROUP?r.eD.GROUP:r.eD.ONE_TO_ONE,S={...null==u?void 0:u.perspectival_conversation_metadata,...null==u?void 0:u.metadata,...c,id:s,conversation_id:m,avatar:p,labels:d,last_readable_event_id:f,type:y,participants:g,users:v};return(0,a.Z)(S,i,t)},idAttribute:e=>{var i;return null==e||null==(i=e.legacy)?void 0:i.conversation_id}});c.define({entities:u});const m=c},29086:(e,i,t)=>{"use strict";t.d(i,{m:()=>n});const n=e=>{const i=null==e?void 0:e.media_info;if("ApiImage"===(null==i?void 0:i.__typename)){var t;return{altText:i.alt_text,display_url:i.original_img_url,expanded_url:i.original_img_url,ext_alt_text:i.alt_text,...(null==(t=i.color_info)?void 0:t.palette)&&{ext_media_color:{palette:i.color_info.palette}},id:r(e.media_id),id_str:e.media_id||"",media_key:e.media_key,media_url:i.original_img_url,media_url_https:i.original_img_url,original_info:{height:i.original_img_height,width:i.original_img_width},sizes:{original:{h:i.original_img_height,resize:"fit",w:i.original_img_width}},type:"photo"}}if("ApiVideo"===(null==i?void 0:i.__typename)){const{__typename:t,...n}=i;return l(n,e.media_id,null==i?void 0:i.__typename)}if("ApiGif"===(null==i?void 0:i.__typename)){const{__typename:t,...n}=i;return l(n,e.media_id,null==i?void 0:i.__typename)}},l=(e,i,t)=>{var n;const l="ApiGif"===t?"animated_gif":"video",a=e.preview_image;return{type:l,id:r(i),id_str:i||"",ext_alt_text:null==a?void 0:a.alt_text,ext_media_color:{palette:(null==a||null==(n=a.color_info)?void 0:n.palette)||[]},media_url:(null==a?void 0:a.original_img_url)||"",media_url_https:(null==a?void 0:a.original_img_url)||"",url:(null==a?void 0:a.original_img_url)||"",display_url:(null==a?void 0:a.original_img_url)||"",expanded_url:(null==a?void 0:a.original_img_url)||"",original_info:{height:(null==a?void 0:a.original_img_height)||0,width:(null==a?void 0:a.original_img_width)||0},sizes:{original:{h:(null==a?void 0:a.original_img_height)||0,resize:"fit",w:(null==a?void 0:a.original_img_width)||0}},video_info:{aspect_ratio:[e.aspect_ratio.numerator,e.aspect_ratio.denominator],...e.duration_millis&&{duration_millis:e.duration_millis},variants:e.variants.map((e=>({bitrate:e.bit_rate,content_type:e.content_type,url:e.url})))}}},r=e=>{const i=parseInt(e,10);return Number.isNaN(i)?0:i}},22167:(e,i,t)=>{"use strict";t.d(i,{Cr:()=>r,To:()=>l,UN:()=>a,eD:()=>n});const n=Object.freeze({ONE_TO_ONE:"ONE_TO_ONE",GROUP:"GROUP_DM"}),l=Object.freeze({AT_END:"AT_END",HAS_MORE:"HAS_MORE"}),r=Object.freeze({CONVERSATION_AVATAR_UPDATE:"conversation_avatar_update",CONVERSATION_NAME_UPDATE:"conversation_name_update",CONVERSATION_PROFILE_INFO_HEADER:"conversation_profile_info_header",CONVERSATION_READ:"conversation_read",CONVO_METADATA_UPDATE:"convo_metadata_update",DELEGATE_ALERT_BANNER:"delegate_alert_banner",DISABLE_NOTIFICATIONS:"disable_notifications",ENABLE_NOTIFICATIONS:"enable_notifications",JOIN_CONVERSATION:"join_conversation",LOADING_INDICATOR:"loading_indicator",MARK_ALL_AS_READ:"mark_all_as_read",MENTION_NOTIFICATIONS_UPDATE:"mention_notifications_setting_update",MESSAGE:"message",MESSAGE_DELETE:"message_delete",MESSAGE_MARK_AS_NOT_SPAM:"message_unmark_as_spam",MESSAGE_MARK_AS_SPAM:"message_mark_as_spam",NEW_MESSAGES_DIVIDER:"new_messages_divider",PARTICIPANTS_JOIN:"participants_join",PARTICIPANTS_LEAVE:"participants_leave",REACTION_CREATE:"reaction_create",REACTION_DELETE:"reaction_delete",READ_ONLY_INDICATOR:"read_only_indicator",REMOVE_CONVERSATION:"remove_conversation",TRUST_CONVERSATION:"trust_conversation",TYPING_INDICATOR:"typing_indicator",WELCOME_MESSAGE:"welcome_message_create"}),a=Object.freeze({MUTUAL_FRIENDS:"mutual_friends"})}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DirectMessagesGraphQL.03f2ad1a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.DirectMessagesGraphQL.7c30b90a.js b/info/endpoints/endpoints.DirectMessagesGraphQL.7c30b90a.js deleted file mode 100644 index d0c46ef..0000000 --- a/info/endpoints/endpoints.DirectMessagesGraphQL.7c30b90a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.DirectMessagesGraphQL","shared~loader.DMDrawer~bundle.DirectMessages~bundle.TwitterArticles"],{88823:e=>{e.exports={queryId:"mwDRFkTHvbuiBaTw4qcjTg",operationName:"DmAllSearchSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},47448:e=>{e.exports={queryId:"5zpY1dCR-8NyxQJS_CFJoQ",operationName:"DmGroupSearchSlice",operationType:"query",metadata:{featureSwitches:[]}}},87348:e=>{e.exports={queryId:"I82s0zf2sciyleKmCn5KTQ",operationName:"DmMutedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},64987:e=>{e.exports={queryId:"xYSm8m5kJnzm_gFCn5GH-w",operationName:"DmPeopleSearchSlice",operationType:"query",metadata:{featureSwitches:[]}}},30310:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>b,isFatalDMSearchError:()=>h});var n=t(6899),l=t(17360),r=t(83175),a=t(5189),_=t(88823),s=t.n(_),o=t(47448),d=t.n(o),u=t(87348),c=t.n(u),v=t(64987),m=t.n(v),g=t(82249);const h=(e,i)=>{let t=!1;var n,r;if(null!=i&&i.dmPeopleSearchSlice)t=!(null==i||null==(n=i.dmPeopleSearchSlice)||null==(r=n.items)||!r.length);else if(null!=i&&i.dmGroupSearchSlice){var a,_;t=!(null==i||null==(a=i.dmGroupSearchSlice)||null==(_=a.items)||!_.length)}else if(null!=i&&i.dmMessageSearchSlice){if("DMMessageSlice"!==(null==i?void 0:i.dmMessageSearchSlice.__typename))return!0;var s,o;t=!(null==i||null==(s=i.dmMessageSearchSlice)||null==(o=s.items)||!o.length)}return!t&&(0,l.jB)(e)},p=e=>{var i;const t=null==(i=e.items)?void 0:i.map((e=>null==e?void 0:e.dm_convo_search));return(0,n.Fv)(t,[a.ZP])},b=({apiClient:e,featureSwitches:i})=>({fetchDMAllSearch:t=>t?e.graphQL(s(),{count:null==t?void 0:t.count,query:t.query,withAttachments:i.isTrue("dm_inbox_search_message_attachment_previews_enabled")&&i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withMessageQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_message_results_enabled")&&i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withMessages:i.isTrue("dm_inbox_search_message_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1"),withSafetyModeUserFields:i.isTrue("rito_safety_mode_blocked_profile_enabled")},h).then((e=>{const i=null==e?void 0:e.dmGroupSearchSlice,t=null==e?void 0:e.dmMessageSearchSlice,l=null==e?void 0:e.dmPeopleSearchSlice;let r=g.d;if(i){var _,s,o;const{entities:e,result:t}=p(i),n=(null==(_=i.items)?void 0:_.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==(s=i.items)?void 0:s.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})));r={result:null==(o=r)?void 0:o.result.concat({groupData:{result:t,highlightingTokens:n}}),entities:e}}if(l){var d,u,c,v;const{entities:e,result:i}=p(l),t=(null==(d=l.items)?void 0:d.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==(u=l.items)?void 0:u.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})));r={...r,result:null==(c=r)?void 0:c.result.concat({peopleData:{result:i,highlightingTokens:t}}),entities:{...null==(v=r)?void 0:v.entities,...e}}}if(t&&"DMMessageSlice"===(null==t?void 0:t.__typename)){var m,h,b,f;const e=null==t?void 0:t.items,i=(0,n.Fv)(e,[a.JJ]),l=null==e?void 0:e.map((e=>{var i,t;return null==e||null==(i=e.dm_event)||null==(t=i.legacy)?void 0:t.conversation})),_=(null==e?void 0:e.find((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens})))&&(null==e?void 0:e.map((e=>{var i;return null==e||null==(i=e.highlighting)?void 0:i.query_tokens}))),{entities:s,result:o}=(0,n.Fv)(l,[a.ZP]);r={...r,result:null==(m=r)||null==(h=m.result)?void 0:h.concat({messageData:{conversationIds:o,entryIds:null==i?void 0:i.result,highlightingTokens:_}}),entities:{...null==i?void 0:i.entities,conversations:{...null==(b=r)||null==(f=b.entities)?void 0:f.conversations,...null==s?void 0:s.conversations}}}}return r})):Promise.resolve(g.d),fetchDMGroupSearch:t=>t?e.graphQL(d(),{...t,withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1")},h).then((e=>{const i=null==e?void 0:e.dmGroupSearchSlice;if(i){const{entities:e,result:t}=p(i);return{result:t,entities:e,slice_info:i.sliceInfo}}return g.d})):Promise.resolve(g.d),fetchDMPeopleSearch:t=>t?e.graphQL(m(),{...t,withConversationQueryHighlights:i.isTrue("dm_inbox_search_query_highlighting_conversation_results_enabled")&&i.isTrue("direct_messages_incremental_holdback_2022h1")},h).then((e=>{const i=null==e?void 0:e.dmPeopleSearchSlice;if(i){const{entities:e,result:t}=p(i);return{result:t,entities:e,slice_info:i.sliceInfo}}return g.d})):Promise.resolve(g.d),fetchDMMutedUsers:({count:t,cursor:n})=>e.graphQL(c(),{count:t,cursor:n,includePromotedContent:!1,...(0,r.d)(i)},(0,l.kj)((e=>{var i,t;return!(null!=e&&null!=(i=e.viewer)&&null!=(t=i.dm_muting_timeline)&&t.timeline)}),"GQL URT: Failed to render DM Muting timeline")).then((e=>{var i,t;return(null==(i=e.viewer)||null==(t=i.dm_muting_timeline)?void 0:t.timeline)||g.cY}))})},83175:(e,i,t)=>{"use strict";t.d(i,{S:()=>a,d:()=>r});var n=t(60917),l=t.n(n);const r=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},a=e=>l()},5189:(e,i,t)=>{"use strict";t.d(i,{JJ:()=>u,ZP:()=>v});t(6886),t(36728);var n=t(6899),l=t(29086),r=t(22167),a=t(46395),_=t(15804),s=t(85364);const o=Object.freeze({GROUP:"GroupDm",ONE_TO_ONE:"OneToOneDm",UNKNOWN:"Unknown"}),d=Object.freeze({MessageCreate:r.Cr.MESSAGE,ParticipantsJoin:r.Cr.PARTICIPANTS_JOIN,ParticipantsLeave:r.Cr.PARTICIPANTS_LEAVE,ConversationNameUpdate:r.Cr.CONVERSATION_NAME_UPDATE,JoinConversation:r.Cr.JOIN_CONVERSATION}),u=new n.fK.Entity("entries",{message_data:{attachment:{card:_.Z,tweet:{status:s.Z}}}},{processStrategy:(e,i,t)=>{var n,r,_,s,o,u,c;const{legacy:v,rest_id:m}=(null==e?void 0:e.dm_event)||{},g=null==v?void 0:v.event_type,{affects_sort:h,request_id:p}=v||{};let b,f,y="Unknown";g in d&&(y=d[g]);const S=null==v||null==(n=v.conversation)?void 0:n.rest_id,T=null==v||null==(r=v.event_detail)?void 0:r.dm,E=null==v?void 0:v.created_at_millis,{card:A,media:w,tweet_results:N,urls_entity:O}=(null==T||null==(_=T.attachments)?void 0:_[0])||{};if(null!=A&&A.legacy&&(b={card:A}),null!=O&&O.length&&T.text&&O.forEach((e=>{null!=e&&e.indices[0]&&(f=T.text.slice(0,null==e?void 0:e.indices[0]).concat(T.text.slice(e.indices[1])))})),"Tweet"===(null==N||null==(s=N.result)?void 0:s.__typename)){var I,D,M,R,C,x,P,k,q;const e=null==N||null==(I=N.result)||null==(D=I.legacy)?void 0:D.entities;let i;null!=e&&null!=(M=e.media)&&M.length?i=null==e?void 0:e.media[0]:null!=e&&null!=(R=e.urls)&&R.length&&(i=null==e?void 0:e.urls[0]);const{display_url:t,expanded_url:n,id_str:l,indices:r,url:a}=i||{},{extended_entities:_}=(null==N||null==(C=N.result)?void 0:C.legacy)||{},s=null==_||null==(x=_.media)?void 0:x.map((e=>{if(null!=e&&e.video_info){var i;const t=null==e||null==(i=e.video_info)?void 0:i.variants;return{...e,video_info:{...null==e?void 0:e.video_info,variants:t}}}return e})),o={...null==N||null==(P=N.result)||null==(k=P.legacy)?void 0:k.extended_entities,media:s};b={tweet:{status:{...null==N?void 0:N.result,legacy:{...null==N||null==(q=N.result)?void 0:q.legacy,extended_entities:o}},display_url:t,expanded_url:n,indices:r,url:a,id:l}}}const G=w?(0,l.m)(w):null;G&&G.type&&("photo"===G.type?b={photo:G}:"video"===G.type?b={video:G}:"animated_gif"===G.type&&(b={animated_gif:G}));const L={affects_sort:h,request_id:p,time:E,type:y,conversation_id:S,message_data:{id:m,text:f||(null==T?void 0:T.text),entities:null==T?void 0:T.entities,recipient_id:null==T||null==(o=T.recipient_results)||null==(u=o.result)?void 0:u.rest_id,sender_id:null==T||null==(c=T.sender_results)?void 0:c.result.rest_id,attachment:b},id:m};return(0,a.Z)(L,i,t)},idAttribute:e=>{var i;return null==e||null==(i=e.dm_event)?void 0:i.rest_id}}),c=new n.fK.Entity("conversations",{},{processStrategy:(e,i,t)=>{var n,l,_;const{id:s,labels:d,legacy:u,perspectival_conversation_metadata:c,rest_id:v}=e||{},m={},g=[];for(const e of(null==u?void 0:u.participants_metadata)||[]){var h;const i=null==e||null==(h=e.user_results)?void 0:h.result;if(!i||!i.legacy)continue;const t={description:i.legacy.description,id_str:i.legacy.id_str,name:i.legacy.name,profile_image_url_https:i.legacy.profile_image_url_https||"",screen_name:i.legacy.screen_name};m[i.rest_id]=t,g.push({user:t,user_id:i.rest_id})}let p=null==u||null==(n=u.metadata)?void 0:n.avatar;const b=null==(l=p)?void 0:l.media_info,f=null==e?void 0:e.last_readable_event_id;if(b){const{original_img_height:e,original_img_url:i,original_img_width:t}=b||{};p={image:{original_info:{height:e,width:t,url:i}}}}const y=(null==u||null==(_=u.metadata)?void 0:_.conversation_type)===o.GROUP?r.eD.GROUP:r.eD.ONE_TO_ONE,S={...null==u?void 0:u.perspectival_conversation_metadata,...null==u?void 0:u.metadata,...c,id:s,conversation_id:v,avatar:p,labels:d,last_readable_event_id:f,type:y,participants:g,users:m};return(0,a.Z)(S,i,t)},idAttribute:e=>{var i;return null==e||null==(i=e.legacy)?void 0:i.conversation_id}});c.define({entities:u});const v=c},29086:(e,i,t)=>{"use strict";t.d(i,{m:()=>n});const n=e=>{const i=null==e?void 0:e.media_info;if("ApiImage"===(null==i?void 0:i.__typename)){var t;return{altText:i.alt_text,display_url:i.original_img_url,expanded_url:i.original_img_url,ext_alt_text:i.alt_text,...(null==(t=i.color_info)?void 0:t.palette)&&{ext_media_color:{palette:i.color_info.palette}},id:r(e.media_id),id_str:e.media_id||"",media_key:e.media_key,media_url:i.original_img_url,media_url_https:i.original_img_url,original_info:{height:i.original_img_height,width:i.original_img_width},sizes:{original:{h:i.original_img_height,resize:"fit",w:i.original_img_width}},type:"photo"}}if("ApiVideo"===(null==i?void 0:i.__typename)){const{__typename:t,...n}=i;return l(n,e.media_id,null==i?void 0:i.__typename)}if("ApiGif"===(null==i?void 0:i.__typename)){const{__typename:t,...n}=i;return l(n,e.media_id,null==i?void 0:i.__typename)}},l=(e,i,t)=>{var n;const l="ApiGif"===t?"animated_gif":"video",a=e.preview_image;return{type:l,id:r(i),id_str:i||"",ext_alt_text:null==a?void 0:a.alt_text,ext_media_color:{palette:(null==a||null==(n=a.color_info)?void 0:n.palette)||[]},media_url:(null==a?void 0:a.original_img_url)||"",media_url_https:(null==a?void 0:a.original_img_url)||"",url:(null==a?void 0:a.original_img_url)||"",display_url:(null==a?void 0:a.original_img_url)||"",expanded_url:(null==a?void 0:a.original_img_url)||"",original_info:{height:(null==a?void 0:a.original_img_height)||0,width:(null==a?void 0:a.original_img_width)||0},sizes:{original:{h:(null==a?void 0:a.original_img_height)||0,resize:"fit",w:(null==a?void 0:a.original_img_width)||0}},video_info:{aspect_ratio:[e.aspect_ratio.numerator,e.aspect_ratio.denominator],...e.duration_millis&&{duration_millis:e.duration_millis},variants:e.variants.map((e=>({bitrate:e.bit_rate,content_type:e.content_type,url:e.url})))}}},r=e=>{const i=parseInt(e,10);return Number.isNaN(i)?0:i}},22167:(e,i,t)=>{"use strict";t.d(i,{Cr:()=>r,To:()=>l,UN:()=>a,eD:()=>n});const n=Object.freeze({ONE_TO_ONE:"ONE_TO_ONE",GROUP:"GROUP_DM"}),l=Object.freeze({AT_END:"AT_END",HAS_MORE:"HAS_MORE"}),r=Object.freeze({CONVERSATION_AVATAR_UPDATE:"conversation_avatar_update",CONVERSATION_NAME_UPDATE:"conversation_name_update",CONVERSATION_PROFILE_INFO_HEADER:"conversation_profile_info_header",CONVERSATION_READ:"conversation_read",CONVO_METADATA_UPDATE:"convo_metadata_update",DELEGATE_ALERT_BANNER:"delegate_alert_banner",DISABLE_NOTIFICATIONS:"disable_notifications",ENABLE_NOTIFICATIONS:"enable_notifications",JOIN_CONVERSATION:"join_conversation",LOADING_INDICATOR:"loading_indicator",MARK_ALL_AS_READ:"mark_all_as_read",MENTION_NOTIFICATIONS_UPDATE:"mention_notifications_setting_update",MESSAGE:"message",MESSAGE_DELETE:"message_delete",MESSAGE_MARK_AS_NOT_SPAM:"message_unmark_as_spam",MESSAGE_MARK_AS_SPAM:"message_mark_as_spam",NEW_MESSAGES_DIVIDER:"new_messages_divider",PARTICIPANTS_JOIN:"participants_join",PARTICIPANTS_LEAVE:"participants_leave",REACTION_CREATE:"reaction_create",REACTION_DELETE:"reaction_delete",READ_ONLY_INDICATOR:"read_only_indicator",REMOVE_CONVERSATION:"remove_conversation",TRUST_CONVERSATION:"trust_conversation",TYPING_INDICATOR:"typing_indicator",WELCOME_MESSAGE:"welcome_message_create"}),a=Object.freeze({MUTUAL_FRIENDS:"mutual_friends"})}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.DirectMessagesGraphQL.7c30b90a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Explore.16f0494a.js b/info/endpoints/endpoints.Explore.16f0494a.js new file mode 100644 index 0000000..cea9ff1 --- /dev/null +++ b/info/endpoints/endpoints.Explore.16f0494a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Explore"],{57765:e=>{e.exports={queryId:"RmazNpiKQo6XmyX_AZfjiw",operationName:"ImmersiveMedia",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},93490:(e,i,_)=>{"use strict";_.r(i),_.d(i,{default:()=>d,isImmersiveMediaTimelineError:()=>o});var n=_(72599),t=_(17360),a=_(83175),r=_(57765),s=_.n(r),l=_(82249);const o=(e,i)=>{var _;const a=null==i||null==(_=i.immersiveMedia)?void 0:_.timeline;return a||(0,n.ZP)("GQL failed to query for Immersive Media timeline"),!a&&(0,t.jB)(e)},d=({apiClient:e,featureSwitches:i})=>({fetchImmersiveMedia:_=>e.graphQL(s(),{pinned_tweet_id:null==_?void 0:_.pinned_tweet_id,page_name:null==_?void 0:_.page_name,...(0,a.d)(i)},o).then((e=>{var i;return(null==e||null==(i=e.immersiveMedia)?void 0:i.timeline)||l.cY}))})},83175:(e,i,_)=>{"use strict";_.d(i,{S:()=>r,d:()=>a});var n=_(60917),t=_.n(n);const a=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},r=e=>t()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Explore.16f0494a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Explore.82e7aa2a.js b/info/endpoints/endpoints.Explore.82e7aa2a.js deleted file mode 100644 index fe5b7cb..0000000 --- a/info/endpoints/endpoints.Explore.82e7aa2a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Explore"],{57765:e=>{e.exports={queryId:"aHXZKAypi26d69QNwndtfw",operationName:"ImmersiveMedia",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},93490:(e,i,_)=>{"use strict";_.r(i),_.d(i,{default:()=>o,isImmersiveMediaTimelineError:()=>d});var t=_(72599),n=_(17360),a=_(83175),r=_(57765),s=_.n(r),l=_(82249);const d=(e,i)=>{var _;const a=null==i||null==(_=i.immersiveMedia)?void 0:_.timeline;return a||(0,t.ZP)("GQL failed to query for Immersive Media timeline"),!a&&(0,n.jB)(e)},o=({apiClient:e,featureSwitches:i})=>({fetchImmersiveMedia:_=>e.graphQL(s(),{pinned_tweet_id:null==_?void 0:_.pinned_tweet_id,page_name:null==_?void 0:_.page_name,...(0,a.d)(i)},d).then((e=>{var i;return(null==e||null==(i=e.immersiveMedia)?void 0:i.timeline)||l.cY}))})},83175:(e,i,_)=>{"use strict";_.d(i,{S:()=>r,d:()=>a});var t=_(60917),n=_.n(t);const a=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},r=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Explore.82e7aa2a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Graphql.bd2b96ea.js b/info/endpoints/endpoints.Graphql.bd2b96ea.js new file mode 100644 index 0000000..78464e7 --- /dev/null +++ b/info/endpoints/endpoints.Graphql.bd2b96ea.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>j,errorBreadcrumb:()=>Z,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>M,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>N,isFatalViewerScopedFollowTimelineError:()=>R,parseUserScopedTimeline:()=>C,parseViewerScopedTimeline:()=>L});var n=t(58955),i=t(79363),r=t(72599),a=t(32091),l=t(17360),o=t(83175),s=t(6899),d=t(49890);const p=(e=[])=>{const _=e.map((({user_results:e,..._})=>{var t;let n;if("User"===(null==e||null==(t=e.result)?void 0:t.__typename)){const{__typename:_,...t}=e.result;n=t}return{user:n,..._}}));return(0,s.Fv)(_,d.Z)};var b=t(73114),c=t.n(b),u=t(51877),w=t.n(u),m=t(15157),v=t.n(m),h=t(63922),g=t.n(h),f=t(41025),y=t.n(f),q=t(70395),x=t.n(q),k=t(84559),T=t.n(k),I=t(53846),A=t.n(I),B=t(44328),F=t.n(B),G=t(51583),S=t.n(G),Q=t(22227),P=t.n(Q),z=t(82249);const C=e=>{var _;let t=z.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||z.cY);return t},Z=e=>{var _;return{code:null==(_=e[0])?void 0:_.code}},L=e=>{let _=z.cY;var t;null!=e&&e.viewer&&(_=(null==(t=e.viewer.timeline)?void 0:t.timeline)||z.cY);return _},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),N=(e,_)=>{var t,n;const i="User"===(null==_||null==(t=_.user)||null==(n=t.result)?void 0:n.__typename)&&_.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:Z(e)}),!i&&(0,l.jB)(e)},R=(e,_)=>{var t;const n=null==_||null==(t=_.viewer)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:Z(e)}),!n&&(0,l.jB)(e)},U=(e,_)=>{var t,n;const i=null==_||null==(t=_.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:Z(e)}),!i&&(0,l.jB)(e)},M=(e,_)=>{var t,n;const i="Tweet"===(null==_||null==(t=_.tweet.result)?void 0:t.__typename)&&(null==(n=_.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:Z(e)}),!i&&(0,l.jB)(e)},Y=(e,_)=>{var t;const n=null==_||null==(t=_.timeline)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:Z(e)}),!n&&(0,l.jB)(e)};function H(e,_,t){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?v():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>_.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,o.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_features_enabled")},((_,t)=>{const n=i(t);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:Z(_)}),!n&&(0,l.jB)(_)})).then((e=>i(e)||z.cY))}const j=({apiClient:e,featureSwitches:_})=>({fetchBlockedAccountsImportedGraphql:H(a.kH.Imported,e,_),fetchBlockedAccountsAllGraphql:H(a.kH.All,e,_),fetchBlockedAccountsAutoBlockGraphql:H(a.kH.AutoBlock,e,_),fetchFollowers:({count:t,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},N).then(C),fetchFollowersYouKnow:({count:t,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},N).then(C),fetchFollowing:({count:t,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},N).then(C),fetchSuperFollowers:({count:t,cursor:n})=>e.graphQL(S(),{count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},R).then(L),fetchViewerTeams:()=>e.graphQLFullResponse(P(),{...(0,o.S)(_)},E).then((({data:e,errors:_})=>{const{viewer:t}=e,i=t&&t.teams&&t.teams.act_as||[];if(!_||!_.length)return i;const r=(0,n.Z)(_.map((e=>e.path&&e.path[3])));return i.filter(((e,_)=>!r.has(_)))})).then(p),fetchModeratedTimeline:({count:t,cursor:n,rootTweetId:i})=>e.graphQL(A(),{rootTweetId:i,count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},M).then((e=>{var _;if("Tweet"===(null==(_=e.tweet.result)?void 0:_.__typename)){var t,n;return(null==(t=e.tweet.result)||null==(n=t.timeline_response)?void 0:n.timeline)||z.cY}return z.cY})),fetchMutedAccounts:({count:t,cursor:n})=>e.graphQL(F(),{count:t,cursor:n,includePromotedContent:!1,...(0,o.d)(_)},U).then((e=>{var _,t;return(null==(_=e.viewer)||null==(t=_.muting_timeline)?void 0:t.timeline)||z.cY})),fetchGenericTimelineById:({count:t,cursor:n,timelineId:i})=>e.graphQL(T(),{timelineId:i,count:t,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,o.d)(_)},Y).then((e=>{var _;return(null==(_=e.timeline)?void 0:_.timeline)||z.cY}))})},83175:(e,_,t)=>{"use strict";t.d(_,{S:()=>a,d:()=>r});var n=t(60917),i=t.n(n);const r=e=>{const _=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:_,withReactionsPerspective:_}},a=e=>i()},49890:(e,_,t)=>{"use strict";t.d(_,{B:()=>a,Z:()=>l});var n=t(6899),i=t(46395),r=t(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),l=new n.fK.Array(a)},32091:(e,_,t)=>{"use strict";t.d(_,{Gm:()=>o,ZH:()=>s,kH:()=>l});var n=t(78772),i=t(52612),r=t(57659),a=t(62104);const l={All:"any",AutoBlock:"autoblock",Imported:"imported"},o=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:_=>e===l.Imported?_.Graphql.fetchBlockedAccountsImportedGraphql:e===l.AutoBlock?_.Graphql.fetchBlockedAccountsAutoBlockGraphql:_.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:_})=>({count:e,cursor:"string"==typeof _?_:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(_,t)=>{const n=t();_(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const _=e.content.id,t=r.ZP.select(n,_);return t&&!t.blocking})).map((_=>e.removeEntry(_.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Graphql.bd2b96ea.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Graphql.bd7af39a.js b/info/endpoints/endpoints.Graphql.bd7af39a.js deleted file mode 100644 index 492e7b5..0000000 --- a/info/endpoints/endpoints.Graphql.bd7af39a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>H,errorBreadcrumb:()=>E,isFatalGenericTimelineError:()=>M,isFatalModeratedTimelineError:()=>j,isFatalTeamsResponseError:()=>U,isFatalUserScopedFollowTimelineError:()=>N,isFatalViewerScopedFollowTimelineError:()=>C,parseUserScopedTimeline:()=>Z,parseViewerScopedTimeline:()=>P});var n=t(58955),i=t(79363),r=t(72599),a=t(32091),o=t(17360),l=t(83175),s=t(6899),d=t(49890);const p=(e=[])=>{const _=e.map((({user_results:e,..._})=>{var t;let n;if("User"===(null==e||null==(t=e.result)?void 0:t.__typename)){const{__typename:_,...t}=e.result;n=t}return{user:n,..._}}));return(0,s.Fv)(_,d.Z)};var b=t(73114),c=t.n(b),u=t(51877),w=t.n(u),v=t(15157),m=t.n(v),h=t(63922),f=t.n(h),g=t(41025),y=t.n(g),q=t(70395),x=t.n(q),k=t(84559),T=t.n(k),A=t(53846),B=t.n(A),I=t(44328),F=t.n(I),G=t(51583),Q=t.n(G),S=t(22227),L=t.n(S),z=t(82249);const Z=e=>{var _;let t=z.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||z.cY);return t},E=e=>{var _;return{code:null==(_=e[0])?void 0:_.code}},P=e=>{let _=z.cY;var t;null!=e&&e.viewer&&(_=(null==(t=e.viewer.timeline)?void 0:t.timeline)||z.cY);return _},U=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),N=(e,_)=>{var t,n;const i="User"===(null==_||null==(t=_.user)||null==(n=t.result)?void 0:n.__typename)&&_.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:E(e)}),!i&&(0,o.jB)(e)},C=(e,_)=>{var t;const n=null==_||null==(t=_.viewer)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:E(e)}),!n&&(0,o.jB)(e)},Y=(e,_)=>{var t,n;const i=null==_||null==(t=_.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:E(e)}),!i&&(0,o.jB)(e)},j=(e,_)=>{var t,n;const i="Tweet"===(null==_||null==(t=_.tweet.result)?void 0:t.__typename)&&(null==(n=_.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:E(e)}),!i&&(0,o.jB)(e)},M=(e,_)=>{var t;const n=null==_||null==(t=_.timeline)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:E(e)}),!n&&(0,o.jB)(e)};function K(e,_,t){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>_.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,l.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_features_enabled")},((_,t)=>{const n=i(t);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:E(_)}),!n&&(0,o.jB)(_)})).then((e=>i(e)||z.cY))}const H=({apiClient:e,featureSwitches:_})=>({fetchBlockedAccountsImportedGraphql:K(a.kH.Imported,e,_),fetchBlockedAccountsAllGraphql:K(a.kH.All,e,_),fetchBlockedAccountsAutoBlockGraphql:K(a.kH.AutoBlock,e,_),fetchFollowers:({count:t,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},N).then(Z),fetchFollowersYouKnow:({count:t,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},N).then(Z),fetchFollowing:({count:t,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},N).then(Z),fetchSuperFollowers:({count:t,cursor:n})=>e.graphQL(Q(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},C).then(P),fetchViewerTeams:()=>e.graphQLFullResponse(L(),{...(0,l.S)(_)},U).then((({data:e,errors:_})=>{const{viewer:t}=e,i=t&&t.teams&&t.teams.act_as||[];if(!_||!_.length)return i;const r=(0,n.Z)(_.map((e=>e.path&&e.path[3])));return i.filter(((e,_)=>!r.has(_)))})).then(p),fetchModeratedTimeline:({count:t,cursor:n,rootTweetId:i})=>e.graphQL(B(),{rootTweetId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},j).then((e=>{var _;if("Tweet"===(null==(_=e.tweet.result)?void 0:_.__typename)){var t,n;return(null==(t=e.tweet.result)||null==(n=t.timeline_response)?void 0:n.timeline)||z.cY}return z.cY})),fetchMutedAccounts:({count:t,cursor:n})=>e.graphQL(F(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Y).then((e=>{var _,t;return(null==(_=e.viewer)||null==(t=_.muting_timeline)?void 0:t.timeline)||z.cY})),fetchGenericTimelineById:({count:t,cursor:n,timelineId:i})=>e.graphQL(T(),{timelineId:i,count:t,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(_)},M).then((e=>{var _;return(null==(_=e.timeline)?void 0:_.timeline)||z.cY}))})},83175:(e,_,t)=>{"use strict";t.d(_,{S:()=>a,d:()=>r});var n=t(60917),i=t.n(n);const r=e=>{const _=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:_,withReactionsPerspective:_}},a=e=>i()},49890:(e,_,t)=>{"use strict";t.d(_,{B:()=>a,Z:()=>o});var n=t(6899),i=t(46395),r=t(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(a)},32091:(e,_,t)=>{"use strict";t.d(_,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=t(78772),i=t(52612),r=t(57659),a=t(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:_=>e===o.Imported?_.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?_.Graphql.fetchBlockedAccountsAutoBlockGraphql:_.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:_})=>({count:e,cursor:"string"==typeof _?_:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(_,t)=>{const n=t();_(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const _=e.content.id,t=r.ZP.select(n,_);return t&&!t.blocking})).map((_=>e.removeEntry(_.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Graphql.bd7af39a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Home.0cf99fca.js b/info/endpoints/endpoints.Home.0cf99fca.js deleted file mode 100644 index 6245fa6..0000000 --- a/info/endpoints/endpoints.Home.0cf99fca.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Home"],{56653:e=>{e.exports={queryId:"AKmCZTyU1gWxo41b4PrQGA",operationName:"HomeLatestTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},58659:e=>{e.exports={queryId:"Svth0J5Obqq20O06QXahJw",operationName:"HomeTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b,isFatalHomeTimelineError:()=>p});var i=n(72599),_=n(51573),o=n(27479),r=n(17360),s=n(83175),a=n(56653),l=n.n(a),d=n(58659),c=n.n(d),u=n(82249);const p=(e,t)=>{var n;const _=null==t||null==(n=t.home)?void 0:n.home_timeline_urt;return _||(0,i.ZP)("GQL Home: Failed to query for Home timeline"),!_&&(0,r.jB)(e)},b=({apiClient:e,featureSwitches:t})=>({fetchHome:({count:n,cursor:i,requestContext:r,timeout:a})=>(0,_.o)("homeTimeline",(()=>{const _=o.m.get(),l=!!(_&&_.getTweets().length>0),d={count:n,cursor:i,includePromotedContent:!0,latestControlAvailable:!0,requestContext:r,withCommunity:t.isTrue("c9s_enabled"),...(0,s.d)(t)};return e.graphQL(c(),l?{...d,seenTweetIds:l?_&&_.getTweets():[]}:d,p,{forcePost:l,timeout:a}).then((e=>{var t;l&&_&&_.clearTweets();return(null==e||null==(t=e.home)?void 0:t.home_timeline_urt)||u.cY}))})),fetchHomeLatest:({count:n,cursor:i,requestContext:r,timeout:a})=>(0,_.o)("homeLatestTimeline",(()=>{const _=o.m.getLatest(),d=!!(_&&_.getTweets().length>0),c={count:n,cursor:i,includePromotedContent:!0,latestControlAvailable:!0,requestContext:r,...(0,s.d)(t)};return e.graphQL(l(),d?{...c,seenTweetIds:d?_&&_.getTweets():[]}:c,p,{forcePost:d,timeout:a}).then((e=>{var t;d&&_&&_.clearTweets();return(null==e||null==(t=e.home)?void 0:t.home_timeline_urt)||u.cY}))}))})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,d:()=>o});var i=n(60917),_=n.n(i);const o=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>_()},51573:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});n(21515),n(6886);var i=n(72599);const _=new class{constructor(){this.promise=new Promise(((e,t)=>{this.reject=t,this.resolve=e}))}},o=_.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{_.resolve(),null!=e&&clearTimeout(e)}));const t=()=>{"loading"!==document.readyState?_.resolve():e=setTimeout((()=>{t()}),500)};t()}var r=n(86916),s=n(79150),a=n(25943);function l(e,t,n){const _="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!_)return t();const l=Date.now(),d=_.timestamp||l;if(Math.max(0,l-d)>=3e5)return delete window.__PREFETCH_DATA__,t();const c=_.items[e];if(!c)return t();return(n?n(c.meta):Promise.resolve(!0)).then((n=>n?(a.q.didPrefetch[e]=!0,Promise.race([c.promise,o]).then((n=>n?r.i(n,s.AK):((0,i.ZP)(`DOM loaded but prefetch data was not present for ${e}`),t())),(()=>(a.q.prefetchPromiseRejected[e]=!0,t()))).finally((()=>{delete _.items[e]}))):t()),(()=>t()))}},25943:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});const i={didPrefetch:{},prefetchPromiseRejected:{}}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Home.0cf99fca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Home.216bdeba.js b/info/endpoints/endpoints.Home.216bdeba.js new file mode 100644 index 0000000..b5e5e07 --- /dev/null +++ b/info/endpoints/endpoints.Home.216bdeba.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Home"],{56653:e=>{e.exports={queryId:"VyGvysk4GUAl_et492Gs1Q",operationName:"HomeLatestTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},58659:e=>{e.exports={queryId:"m4lVrL6Xa3S3DFWDarz2og",operationName:"HomeTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m,isFatalHomeTimelineError:()=>p});var i=n(72599),_=n(51573),o=n(27479),r=n(17360),s=n(83175),a=n(56653),l=n.n(a),d=n(58659),c=n.n(d),u=n(82249);const p=(e,t)=>{var n;const _=null==t||null==(n=t.home)?void 0:n.home_timeline_urt;return _||(0,i.ZP)("GQL Home: Failed to query for Home timeline"),!_&&(0,r.jB)(e)},m=({apiClient:e,featureSwitches:t})=>({fetchHome:({count:n,cursor:i,requestContext:r,timeout:a})=>(0,_.o)("homeTimeline",(()=>{const _=o.m.get(),l=!!(_&&_.getTweets().length>0),d={count:n,cursor:i,includePromotedContent:!0,latestControlAvailable:!0,requestContext:r,withCommunity:t.isTrue("c9s_enabled"),...(0,s.d)(t)};return e.graphQL(c(),l?{...d,seenTweetIds:l?_&&_.getTweets():[]}:d,p,{forcePost:l,timeout:a}).then((e=>{var t;l&&_&&_.clearTweets();return(null==e||null==(t=e.home)?void 0:t.home_timeline_urt)||u.cY}))})),fetchHomeLatest:({count:n,cursor:i,requestContext:r,timeout:a})=>(0,_.o)("homeLatestTimeline",(()=>{const _=o.m.getLatest(),d=!!(_&&_.getTweets().length>0),c={count:n,cursor:i,includePromotedContent:!0,latestControlAvailable:!0,requestContext:r,...(0,s.d)(t)};return e.graphQL(l(),d?{...c,seenTweetIds:d?_&&_.getTweets():[]}:c,p,{forcePost:d,timeout:a}).then((e=>{var t;d&&_&&_.clearTweets();return(null==e||null==(t=e.home)?void 0:t.home_timeline_urt)||u.cY}))}))})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,d:()=>o});var i=n(60917),_=n.n(i);const o=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>_()},51573:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});n(21515),n(6886);var i=n(72599);const _=new class{constructor(){this.promise=new Promise(((e,t)=>{this.reject=t,this.resolve=e}))}},o=_.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{_.resolve(),null!=e&&clearTimeout(e)}));const t=()=>{"loading"!==document.readyState?_.resolve():e=setTimeout((()=>{t()}),500)};t()}var r=n(86916),s=n(79150),a=n(25943);function l(e,t,n){const _="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!_)return t();const l=Date.now(),d=_.timestamp||l;if(Math.max(0,l-d)>=3e5)return delete window.__PREFETCH_DATA__,t();const c=_.items[e];if(!c)return t();return(n?n(c.meta):Promise.resolve(!0)).then((n=>n?(a.q.didPrefetch[e]=!0,Promise.race([c.promise,o]).then((n=>n?r.i(n,s.AK):((0,i.ZP)(`DOM loaded but prefetch data was not present for ${e}`),t())),(()=>(a.q.prefetchPromiseRejected[e]=!0,t()))).finally((()=>{delete _.items[e]}))):t()),(()=>t()))}},25943:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});const i={didPrefetch:{},prefetchPromiseRejected:{}}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Home.216bdeba.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LegacyAndUnifiedCards.4e86581a.js b/info/endpoints/endpoints.LegacyAndUnifiedCards.4e86581a.js new file mode 100644 index 0000000..e89eabf --- /dev/null +++ b/info/endpoints/endpoints.LegacyAndUnifiedCards.4e86581a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LegacyAndUnifiedCards"],{47546:e=>{e.exports={queryId:"VQDRJthjTcSKzwONpVGd3w",operationName:"CardPreviewByTweetText",operationType:"query",metadata:{featureSwitches:["responsive_web_enhance_cards_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},50269:(e,r,a)=>{"use strict";a.r(r),a.d(r,{default:()=>u});a(71372);var t=a(6899),i=a(69114),n=a(62707),d=a(46395),s=a(15804),_=a(90650);const c=new t.fK.Entity("legacyAndUnifiedCards",{},{processStrategy:(e,r,a)=>{var t,i;const _={};if("HasCard"===(null==(t=e.unified_card)?void 0:t.card_fetch_state)&&(_.unifiedCard=(0,d.Z)(e.unified_card,r,a)),null!=(i=e.card)&&i.legacy){const t=(0,s.n)(e.card.legacy);_.legacyCard=(0,n.Z)(t,r,a)}return _},idAttribute:"id"});c.define({users:new t.fK.Values(_.Z)});const o=c;var p=a(47546),l=a.n(p);function w(e,r,a,n){const{url:d}=r,{retryDelay:s,retryMax:_}=n;return a>=_?Promise.reject(new Error(`retry limit of ${_} reached when fetching card preview for ${d} from graphql`)):e.graphQL(l(),{tweetText:d}).then((_=>_.card_preview?"Crawling"===_.card_preview.state?(0,i.Z)(s).then((()=>w(e,r,a+1,n))):"CardNotFound"===_.card_preview.state?Promise.resolve({result:!1}):_.card_preview.state?Promise.reject(new Error(`received state of ${_.card_preview.state} when fetching card preview for ${d}`)):(0,t.Fv)({..._.card_preview,id:d},o):Promise.reject(new Error(`received undefined card_preview payload when fetching a card preview for ${d}`))))}const u=({apiClient:e,featureSwitches:r})=>({fetchCardPreview:(a,t)=>w(e,a,0,{retryDelay:r.getNumberValue("card_compose_preview_retry_after_ms",3e3),retryMax:r.getNumberValue("card_compose_preview_retry_max",5)})})}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LegacyAndUnifiedCards.4e86581a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LegacyAndUnifiedCards.99aad96a.js b/info/endpoints/endpoints.LegacyAndUnifiedCards.99aad96a.js deleted file mode 100644 index e0fd912..0000000 --- a/info/endpoints/endpoints.LegacyAndUnifiedCards.99aad96a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LegacyAndUnifiedCards"],{47546:e=>{e.exports={queryId:"995U0-qctT9vKZ8vJlufWQ",operationName:"CardPreviewByTweetText",operationType:"query",metadata:{featureSwitches:["responsive_web_enhance_cards_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},50269:(e,r,a)=>{"use strict";a.r(r),a.d(r,{default:()=>v});a(71372);var t=a(6899),i=a(69114),n=a(62707),d=a(46395),s=a(15804),_=a(90650);const c=new t.fK.Entity("legacyAndUnifiedCards",{},{processStrategy:(e,r,a)=>{var t,i;const _={};if("HasCard"===(null==(t=e.unified_card)?void 0:t.card_fetch_state)&&(_.unifiedCard=(0,d.Z)(e.unified_card,r,a)),null!=(i=e.card)&&i.legacy){const t=(0,s.n)(e.card.legacy);_.legacyCard=(0,n.Z)(t,r,a)}return _},idAttribute:"id"});c.define({users:new t.fK.Values(_.Z)});const o=c;var l=a(47546),p=a.n(l);function w(e,r,a,n){const{url:d}=r,{retryDelay:s,retryMax:_}=n;return a>=_?Promise.reject(new Error(`retry limit of ${_} reached when fetching card preview for ${d} from graphql`)):e.graphQL(p(),{tweetText:d}).then((_=>_.card_preview?"Crawling"===_.card_preview.state?(0,i.Z)(s).then((()=>w(e,r,a+1,n))):"CardNotFound"===_.card_preview.state?Promise.resolve({result:!1}):_.card_preview.state?Promise.reject(new Error(`received state of ${_.card_preview.state} when fetching card preview for ${d}`)):(0,t.Fv)({..._.card_preview,id:d},o):Promise.reject(new Error(`received undefined card_preview payload when fetching a card preview for ${d}`))))}const v=({apiClient:e,featureSwitches:r})=>({fetchCardPreview:(a,t)=>w(e,a,0,{retryDelay:r.getNumberValue("card_compose_preview_retry_after_ms",3e3),retryMax:r.getNumberValue("card_compose_preview_retry_max",5)})})}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LegacyAndUnifiedCards.99aad96a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Lists.690a8f6a.js b/info/endpoints/endpoints.Lists.690a8f6a.js new file mode 100644 index 0000000..a13ac0d --- /dev/null +++ b/info/endpoints/endpoints.Lists.690a8f6a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Lists","endpoints.Graphql","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},24493:e=>{e.exports={queryId:"Z_5Ia3FP9VJ1a1ewxhU8bw",operationName:"CombinedLists",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},4033:e=>{e.exports={queryId:"AII7W0kWK7nz89PKR5lAeg",operationName:"ListAddMember",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},3596:e=>{e.exports={queryId:"579r3-lcV9xAkWVVDAx2ig",operationName:"DeleteListBanner",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},28983:e=>{e.exports={queryId:"3QYQiEkxXDuAljl2Ug0xqA",operationName:"EditListBanner",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},59852:e=>{e.exports={queryId:"vnu1-t-2DcFKoDPB5bWxJA",operationName:"ListBySlug",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},31892:e=>{e.exports={queryId:"nAt9PyxgVGWDpL_wCUfbiw",operationName:"CreateList",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12253:e=>{e.exports={queryId:"Ts2utwpC3fxszBE2mEqAFg",operationName:"ListCreationRecommendedUsers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},83934:e=>{e.exports={queryId:"UnN9Th1BDbeLjpgjGSpL3Q",operationName:"DeleteList",operationType:"mutation",metadata:{featureSwitches:[]}}},27706:e=>{e.exports={queryId:"LGawYuf5U1wFdb-qLBKobg",operationName:"ListEditRecommendedUsers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},62106:e=>{e.exports={queryId:"5DAiJG3bD77SiWEs4xViBw",operationName:"ListLatestTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},79005:e=>{e.exports={queryId:"tzsIIbGUH9RyFCVmtO2W2w",operationName:"ListMembers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},20744:e=>{e.exports={queryId:"7Vpqpaj_NzUbJb2Wm-AJKw",operationName:"ListMemberships",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63222:e=>{e.exports={queryId:"ZYyanJsskNUcltu9bliMLA",operationName:"MuteList",operationType:"mutation",metadata:{featureSwitches:[]}}},1655:e=>{e.exports={queryId:"G7hAHuYfGDhqe9W2CVefgg",operationName:"ListOwnerships",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},42177:e=>{e.exports={queryId:"MDDANiWmB8T02WtOvIl2hQ",operationName:"ListPinOne",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},51947:e=>{e.exports={queryId:"Qi5upJHUJl4ZGiE8jdEi-g",operationName:"ListPins",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},87587:e=>{e.exports={queryId:"D0EoyrDcct2MEqC-LnPzFg",operationName:"ListByRestId",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},45946:e=>{e.exports={queryId:"xa1RtwGKxLsP6ISYK0ucPg",operationName:"ListRankedTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},34246:e=>{e.exports={queryId:"6Em_OvXnqIrpc1AYuf78Cw",operationName:"ListRemoveMember",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},34622:e=>{e.exports={queryId:"L48qJ3ewemi4KwIGwBHbXw",operationName:"ListSubscribe",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},31297:e=>{e.exports={queryId:"tTLG7wsjH2UDB-1c9YdNsw",operationName:"ListSubscribers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},67778:e=>{e.exports={queryId:"pMZrHRNsmEkXgbn3tOyr7Q",operationName:"UnmuteList",operationType:"mutation",metadata:{featureSwitches:[]}}},80291:e=>{e.exports={queryId:"wD2r_nHZEow43-6ZBNdyAg",operationName:"ListUnpinOne",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},24242:e=>{e.exports={queryId:"ZkeIs9b3NEfenxtFJFNRpA",operationName:"ListUnsubscribe",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},83603:e=>{e.exports={queryId:"vB3Y53MAXgkw2oY_n3XzsA",operationName:"UpdateList",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},27229:e=>{e.exports={queryId:"62SXKt2M8Y5895ojunRanw",operationName:"ListsDiscovery",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},87903:e=>{e.exports={queryId:"lH4KIXZT94zKUqi6oVHMDQ",operationName:"ListsManagementPageTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},16914:e=>{e.exports={queryId:"Z7nAEIj5LtTr2b2P6yg54w",operationName:"ListsPinMany",operationType:"mutation",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V,errorBreadcrumb:()=>G,isFatalGenericTimelineError:()=>z,isFatalModeratedTimelineError:()=>j,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>A,isFatalViewerScopedFollowTimelineError:()=>U,parseUserScopedTimeline:()=>N,parseViewerScopedTimeline:()=>D});var i=n(58955),_=n(79363),r=n(72599),a=n(32091),s=n(17360),o=n(83175),l=n(6899),d=n(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var n;let i;if("User"===(null==e||null==(n=e.result)?void 0:n.__typename)){const{__typename:t,...n}=e.result;i=n}return{user:i,...t}}));return(0,l.Fv)(t,d.Z)};var u=n(73114),c=n.n(u),b=n(51877),w=n.n(b),m=n(15157),v=n.n(m),h=n(63922),g=n.n(h),f=n(41025),y=n.n(f),q=n(70395),x=n.n(q),T=n(84559),L=n.n(T),I=n(53846),k=n.n(I),S=n(44328),F=n.n(S),Q=n(51583),B=n.n(Q),C=n(22227),Z=n.n(C),P=n(82249);const N=e=>{var t;let n=P.cY;var i;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(n=(null==(i=e.user.result.timeline)?void 0:i.timeline)||P.cY);return n},G=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},D=e=>{let t=P.cY;var n;null!=e&&e.viewer&&(t=(null==(n=e.viewer.timeline)?void 0:n.timeline)||P.cY);return t},E=e=>Array.isArray(e)&&!(0,_.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),A=(e,t)=>{var n,i;const _="User"===(null==t||null==(n=t.user)||null==(i=n.result)?void 0:i.__typename)&&t.user.result.timeline;return _||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},U=(e,t)=>{var n;const i=null==t||null==(n=t.viewer)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:G(e)}),!i&&(0,s.jB)(e)},R=(e,t)=>{var n,i;const _=null==t||null==(n=t.viewer)||null==(i=n.muting_timeline)?void 0:i.timeline;return _||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},j=(e,t)=>{var n,i;const _="Tweet"===(null==t||null==(n=t.tweet.result)?void 0:n.__typename)&&(null==(i=t.tweet.result.timeline_response)?void 0:i.timeline);return _||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},z=(e,t)=>{var n;const i=null==t||null==(n=t.timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:G(e)}),!i&&(0,s.jB)(e)};function M(e,t,n){let i;function _(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return i=e===a.kH.Imported?v():e===a.kH.AutoBlock?w():c(),({count:a,cursor:l})=>t.graphQL(i,{count:a,cursor:l,includePromotedContent:!1,...(0,o.d)(n),withSafetyModeUserFields:n.isTrue("rito_safety_mode_features_enabled")},((t,n)=>{const i=_(n);return i||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:G(t)}),!i&&(0,s.jB)(t)})).then((e=>_(e)||P.cY))}const V=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:M(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:M(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:M(a.kH.AutoBlock,e,t),fetchFollowers:({count:n,cursor:i,userId:_})=>e.graphQL(g(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},A).then(N),fetchFollowersYouKnow:({count:n,cursor:i,userId:_})=>e.graphQL(y(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},A).then(N),fetchFollowing:({count:n,cursor:i,userId:_})=>e.graphQL(x(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},A).then(N),fetchSuperFollowers:({count:n,cursor:i})=>e.graphQL(B(),{count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},U).then(D),fetchViewerTeams:()=>e.graphQLFullResponse(Z(),{...(0,o.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:n}=e,_=n&&n.teams&&n.teams.act_as||[];if(!t||!t.length)return _;const r=(0,i.Z)(t.map((e=>e.path&&e.path[3])));return _.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:n,cursor:i,rootTweetId:_})=>e.graphQL(k(),{rootTweetId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},j).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var n,i;return(null==(n=e.tweet.result)||null==(i=n.timeline_response)?void 0:i.timeline)||P.cY}return P.cY})),fetchMutedAccounts:({count:n,cursor:i})=>e.graphQL(F(),{count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},R).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline)||P.cY})),fetchGenericTimelineById:({count:n,cursor:i,timelineId:_})=>e.graphQL(L(),{timelineId:_,count:n,cursor:i,withQuickPromoteEligibilityTweetFields:!0,...(0,o.d)(t)},z).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||P.cY}))})},55873:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Pe,isFatalAddMemberError:()=>qe,isFatalFetchListByIdError:()=>ke,isFatalFetchListBySlugError:()=>Se,isFatalFetchMembersTimelineError:()=>Be,isFatalFetchPinsError:()=>Ze,isFatalFetchRecommendedUsersTimelineError:()=>Ce,isFatalFetchSubscribersTimelineError:()=>Qe,isFatalFetchTweetsTimelineError:()=>Fe,isFatalListsDiscoveryTimelineError:()=>he,isFatalListsManagementTimelineError:()=>ge,isFatalListsTimelineError:()=>ve,isFatalPinManyLists:()=>Le,isFatalPinOneList:()=>Te,isFatalRemoveMemberError:()=>xe,isFatalSubscribeError:()=>fe,isFatalUnpinOneList:()=>Ie,isFatalUnsubscribeError:()=>ye});n(71372);var i=n(6899),_=n(72599),r=n(52630),a=n(17360),s=n(83175),o=n(20383),l=n(24493),d=n.n(l),p=n(4033),u=n.n(p),c=n(3596),b=n.n(c),w=n(28983),m=n.n(w),v=n(59852),h=n.n(v),g=n(31892),f=n.n(g),y=n(12253),q=n.n(y),x=n(83934),T=n.n(x),L=n(27706),I=n.n(L),k=n(62106),S=n.n(k),F=n(79005),Q=n.n(F),B=n(20744),C=n.n(B),Z=n(63222),P=n.n(Z),N=n(1655),G=n.n(N),D=n(42177),E=n.n(D),A=n(51947),U=n.n(A),R=n(87587),j=n.n(R),z=n(45946),M=n.n(z),V=n(34246),Y=n.n(V),O=n(27229),K=n.n(O),W=n(87903),H=n.n(W),X=n(16914),J=n.n(X),$=n(34622),ee=n.n($),te=n(31297),ne=n.n(te),ie=n(67778),_e=n.n(ie),re=n(80291),ae=n.n(re),se=n(24242),oe=n.n(se),le=n(83603),de=n.n(le),pe=n(31008),ue=n(82249),ce=n(97534),be=n(87233),we=n(55371);const me=e=>({...we.getGlobalDefaults(e),...be.getGlobalDefaults(e),cursor:-1}),ve=(e,t)=>{var n,i,r,s;const o="User"===(null==t||null==(n=t.user)||null==(i=n.result)?void 0:i.__typename)&&(null==t||null==(r=t.user)||null==(s=r.result)?void 0:s.timeline);return o||(0,_.ZP)("GQL URT: Failed to render Lists timeline",{extra:(0,ce.errorBreadcrumb)(e)}),!o&&(0,a.jB)(e)},he=(e,t)=>{var n,i;const r=null==t||null==(n=t.viewer)||null==(i=n.list_discovery_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to render Lists Discovery timeline"),!r&&(0,a.jB)(e)},ge=(e,t)=>{var n,i;const r=null==t||null==(n=t.viewer)||null==(i=n.list_management_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to render Lists Management timeline"),!r&&(0,a.jB)(e)},fe=(e,t)=>{const n=null==t?void 0:t.list_subscribe_v2;return n||(0,_.ZP)("GQL List: Failed to subscribe"),!n&&(0,a.jB)(e)},ye=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to unsubcribe"),!n&&(0,a.jB)(e)},qe=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to add member"),!n&&(0,a.jB)(e)},xe=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to remove member"),!n&&(0,a.jB)(e)},Te=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to pin the list"),!n&&(0,a.jB)(e)},Le=(e,t)=>{const n=null==t?void 0:t.pinned_lists_put_v2;return n||(0,_.ZP)("GQL List: Failed to pin many lists"),!n&&(0,a.jB)(e)},Ie=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to unpin the list"),!n&&(0,a.jB)(e)},ke=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to fetch list by id"),!n&&(0,a.jB)(e)},Se=(e,t)=>{var n;const i=null==t||null==(n=t.user_by_screen_name)?void 0:n.list;return i||(0,_.ZP)("GQL List: Failed to fetch list by slug"),!i&&(0,a.jB)(e)},Fe=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.tweets_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to fetch list Tweets timeline"),!r&&(0,a.jB)(e)},Qe=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.subscribers_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Subscribers timeline"),!r&&(0,a.jB)(e)},Be=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.members_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Members timeline"),!r&&(0,a.jB)(e)},Ce=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.recommended_users)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Recommended Users timeline"),!r&&(0,a.jB)(e)},Ze=(e,t)=>{const n=null==t?void 0:t.viewer;return n||(0,_.ZP)("GQL List: Failed to fetch List Pins"),!n&&(0,a.jB)(e)},Pe=({apiClient:e,featureSwitches:t})=>({addToList(n,_){const{list_id:r,user_id:a}=n;return e.graphQL(u(),{listId:r,userId:a,...(0,s.S)(t)},qe).then((e=>(0,i.Fv)(e.list,o.Z)))},createList(n,_){const{description:r,mode:a,name:l}=n;return e.graphQL(f(),{isPrivate:"private"===a.toLowerCase(),name:l,description:r,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},editBannerImage(n,_){const{listId:r,mediaId:a}=n;return e.graphQL(m(),{listId:r,mediaId:a,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},deleteList(t,n){const{list_id:i}=t;return e.graphQL(T(),{listId:i})},deleteBannerImage(n,_){const{listId:r}=n;return e.graphQL(b(),{listId:r,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},fetchList(n,_){if(n.list_id)return e.graphQL(j(),{listId:n.list_id,...(0,s.S)(t)},ke).then((e=>(0,i.Fv)(e.list,o.Z)));if(n.slug){const{owner_screen_name:_,slug:r}=n;return e.graphQL(h(),{screenName:_,listSlug:r,...(0,s.S)(t)},Se).then((e=>{var t;return(0,i.Fv)({...null==(t=e.user_by_screen_name)?void 0:t.list,slug:r},o.Z)}))}return Promise.reject(new Error("listId or screenName and slug required to fetch list"))},fetchCombinedLists:({count:n,cursor:i,userId:_})=>e.graphQL(d(),{userId:_,count:n,cursor:i,...(0,s.d)(t)},ve).then(ce.parseUserScopedTimeline),fetchListsManagementPageTimeline:({count:n,cursor:i})=>e.graphQL(H(),{count:n,cursor:i,...(0,s.d)(t)},ge).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.list_management_timeline)?void 0:n.timeline)||ue.cY})),fetchTweetsGraphQL(n,i){const{count:_,cursor:r,listId:a,useRanked:o}=n,l=o?M():S(),d={listId:a,count:_,cursor:r,...(0,s.d)(t)};return e.graphQL(l,d,Fe).then((e=>{var t;return(null==(t=e.list.tweets_timeline)?void 0:t.timeline)||ue.cY}))},fetchMembersGraphQL(n,i){const{count:_,cursor:r,listId:a}=n;return e.graphQL(Q(),{listId:a,count:_,cursor:r,...(0,s.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},Be).then((e=>{var t;return(null==(t=e.list.members_timeline)?void 0:t.timeline)||ue.cY}))},fetchRecommendedUsersGraphQL(n,i){const{count:_,cursor:a,displayLocation:o,listId:l}=n,d=o===r.O.Creation?q():I(),p={listId:l,count:_,cursor:a,...(0,s.d)(t)};return e.graphQL(d,p,Ce).then((e=>{var t;return(null==(t=e.list.recommended_users)?void 0:t.timeline)||ue.cY}))},fetchPins:()=>e.graphQL(U(),{...(0,s.S)(t)},Ze).then((e=>{var t;const n=null==e||null==(t=e.viewer)?void 0:t.pinned_lists;return n?(0,i.Fv)(n,[o.Z]):void 0})),fetchSubscribersGraphQL(n,i){const{count:_,cursor:r,listId:a}=n;return e.graphQL(ne(),{listId:a,count:_,cursor:r,...(0,s.d)(t)},Qe).then((e=>{var t;return(null==(t=e.list.subscribers_timeline)?void 0:t.timeline)||ue.cY}))},fetchSuggestedLists:({count:n,cursor:i})=>e.graphQL(K(),{count:n,cursor:i,...(0,s.d)(t)},he).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.list_discovery_timeline)?void 0:n.timeline)||ue.cY})),fetchOwnershipsGraphQL(n,i){const{count:_,cursor:r,targetUserId:a,userId:o}=n;return e.graphQL(G(),{userId:o,isListMemberTargetUserId:a,count:_,cursor:r,...(0,s.d)(t)},ve).then(ce.parseUserScopedTimeline)},fetchMemberships:(n,_)=>e.get("lists/memberships",{...me(t),...n},_||{}).then((e=>(0,i.Fv)(e,pe.kD))),fetchMembershipsGraphQL(n,i){const{count:_,cursor:r,userId:a}=n;return e.graphQL(C(),{userId:a,count:_,cursor:r,...(0,s.d)(t)},ve).then(ce.parseUserScopedTimeline)},removeFromList(n,_){const{list_id:r,user_id:a}=n;return e.graphQL(Y(),{listId:r,userId:a,...(0,s.S)(t)},xe).then((e=>(0,i.Fv)(e.list,o.Z)))},togglePinList(n){const{isPinned:i,listId:_}=n,r=(0,s.S)(t);return i?e.graphQL(ae(),{listId:_,...r},Ie):e.graphQL(E(),{listId:_,...r},Te)},pinManyLists(n){const{listIds:_}=n;return e.graphQL(J(),{listIds:_,...(0,s.S)(t)},Le).then((e=>{const t=null==e?void 0:e.pinned_lists_put_v2;return(0,i.Fv)(t,[o.Z])}))},createSubscribers(n,_){const{list_id:r}=n;return e.graphQL(ee(),{listId:r,...(0,s.S)(t)},fe).then((e=>(0,i.Fv)(e.list_subscribe_v2,o.Z)))},destroySubscribers(n,_){const{list_id:r}=n;return e.graphQL(oe(),{listId:r,...(0,s.S)(t)},ye).then((e=>(0,i.Fv)(e.list,o.Z)))},toggleMute(t,n){const{listId:i,mute:_}=t;return _?e.graphQL(P(),{listId:i}):e.graphQL(_e(),{listId:i})},editList(n,_){const{description:r,list_id:a,mode:l,name:d}=n;return e.graphQL(de(),{listId:a,isPrivate:"private"===l.toLowerCase(),description:r,name:d,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>he,getGlobalDefaults:()=>ie,isFatalChangeConversationControls:()=>we,isFatalCreateBookmark:()=>de,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>ce,isFatalCreateTweetDownvote:()=>se,isFatalCreateTweetReaction:()=>re,isFatalDeleteBookmark:()=>pe,isFatalDeleteConversationControls:()=>me,isFatalDeleteRetweet:()=>be,isFatalDeleteTweetDownvote:()=>oe,isFatalDeleteTweetReaction:()=>ae,isFatalUnlike:()=>ue,isFatalUnmentionUserFromConversation:()=>ve});var i=n(6899),_=n(68811),r=n.n(_),a=n(63752),s=n(72599),o=n(17360),l=n(83175),d=n(85364),p=n(1257),u=n(53757),c=n.n(u),b=n(8378),w=n.n(b),m=n(2536),v=n.n(m),h=n(78152),g=n.n(h),f=n(40558),y=n.n(f),q=n(45373),x=n.n(q),T=n(99090),L=n.n(T),I=n(44577),k=n.n(I),S=n(60445),F=n.n(S),Q=n(9578),B=n.n(Q),C=n(93764),Z=n.n(C),P=n(38150),N=n.n(P),G=n(69875),D=n.n(G),E=n(25912),A=n.n(E),U=n(24586),R=n.n(U),j=n(84461),z=n.n(j),M=n(63455),V=n.n(M),Y=n(17439),O=n.n(Y),K=n(50445),W=n(6623),H=n(63174),X=n(63140),J=n(60348),$=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const ie=e=>({cards_platform:a.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),_e=e=>({...te.getGlobalDefaults(e),...ie(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),re=(e,t)=>{var n;const i=null==t||null==(n=t.create_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet reaction"),!i&&(0,o.jB)(e)},ae=(e,t)=>{var n;const i=null==t||null==(n=t.delete_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet reaction"),!i&&(0,o.jB)(e)},se=(e,t)=>{var n;const i=null==t||null==(n=t.create_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet downvote"),!i&&(0,o.jB)(e)},oe=(e,t)=>{var n;const i=null==t||null==(n=t.delete_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet downvote"),!i&&(0,o.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,o.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,s.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,o.jB)(e)},pe=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,s.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,o.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,o.jB)(e)},ce=(e,t)=>{var n,i;const _=!(null==t||null==(n=t.create_retweet)||null==(i=n.retweet_results)||!i.result);return _||(0,s.ZP)("GQL retweet: Failed to retweet"),!_&&(0,o.jB)(e)},be=(e,t)=>{var n,i;const _=!(null==t||null==(n=t.unretweet)||null==(i=n.source_tweet_results)||!i.result);return _||(0,s.ZP)("GQL retweet: Failed to retweet"),!_&&(0,o.jB)(e)},we=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,s.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,o.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,s.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,o.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,s.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,o.jB)(e)},he=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,_)=>t.get("statuses/lookup",{..._e(n),...e,...(0,W.Y)(n)},_).then((e=>(0,i.Fv)(e,[K.Z]))),show(e,_){const{id:r,withVisibilityResults:a}=e;return t.graphQL(R(),{tweetId:r,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,_,r,a,s,o;if("Tweet"===(null==(n=t.tweetResult)||null==(_=n.result)?void 0:_.__typename)){const{__typename:n,..._}=t.tweetResult.result;if(!e)return(0,i.Fv)(_,d.Z);const r=(0,p.Z)({},_,{});return{...(0,i.Fv)(_,d.Z),visibilityResults:r}}if("TweetWithVisibilityResults"===(null==(r=t.tweetResult)||null==(a=r.result)?void 0:a.__typename)){var l;const{__typename:n,tweet:_,...r}=t.tweetResult.result;if(!e)return(0,i.Fv)(_,d.Z);const a=(0,p.Z)(r,_,{}),s="NonCompliant"===(null==a||null==(l=a.tombstoneInfo)?void 0:l.displayType)?{..._,tombstoneInfo:a.tombstoneInfo}:_;return{...(0,i.Fv)(s,d.Z),visibilityResults:a}}if("TweetUnavailable"===(null==(s=t.tweetResult)||null==(o=s.result)?void 0:o.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=X.ZP.BlockedUserError;break;case"Protected":e=X.ZP.StatusViewForbidden;break;case"Bouncer":e=X.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=X.ZP.TweetIsBounceDeleted;break;case"Suspended":e=X.ZP.OtherUserSuspended;break;default:e=X.ZP.GenericNotFound}const n=new H.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(a))},fetchTranslation(e,_){const{id:r,lang:a,userLanguage:s}=e;let o=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===s&&l.includes(a)&&n.isTrue("papago_tweet_translation_to_korean")&&(o=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===a&&d.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(o=!0);const p=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===a&&p.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(o=!0);const u=o?"Papago":"Google",c=o?`Some(${s})`:"None";return t.get(`strato/column/None/tweetId=${r},destinationLanguage=${c},translationSource=Some(${u}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},_,"").then((e=>{const t={...e,text:e.translation};return(0,i.Fv)(t,K.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:i}=e;return t.post("mutes/conversations/create",{...$.postDefaults,tweet_id:i},{},n)},unmute(e,n){const{id:i}=e;return t.post("mutes/conversations/destroy",{...$.postDefaults,tweet_id:i},{},n)},like(e,n){var i;const{promotedContent:_}=e,{id:r}=e,a=(0,J.gQ)(_);return t.graphQL(D(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},le)},unlike(e,n){var i;const{promotedContent:_}=e,{id:r}=e,a=(0,J.gQ)(_);return t.graphQL(z(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ue)},downvote(e,n){const{id:i}=e;return t.graphQL(x(),{tweet_id:i},se)},undownvote(e,n){const{id:i}=e;return t.graphQL(Z(),{tweet_id:i},oe)},react(e,n){const{id:i,promotedContent:_,reactionType:r}=e;if(r){var a;const e=(0,J.gQ)(_);return t.graphQL(L(),{tweet_id:i,reaction_type:r,...(null==e||null==(a=e.engagement_request)?void 0:a.impression_id)&&{...e}},re)}},unreact(e,n){var i;const{id:_,promotedContent:r}=e,a=(0,J.gQ)(r);return t.graphQL(N(),{tweet_id:_,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ae)},retweet(e,i){const{promotedContent:_,...a}=e,s=e.id,o=(0,J.cL)(_),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var d;const e=(0,J.gQ)(_);return t.graphQL(y(),{tweet_id:s,...(null==e||null==(d=e.engagement_request)?void 0:d.impression_id)&&{...e},dark_request:!1},ce)}if("dual_test"===l){var p;const e=r().v4(),n=(0,J.gQ)(_);return t.graphQL(y(),{tweet_id:s,comparison_id:e,...(null==n||null==(p=n.engagement_request)?void 0:p.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...$.postDefaults,...n,...a,comparison_id:e},{},i)}return t.post("statuses/retweet",{...$.postDefaults,...o,...a},{},i)},unretweet(e,i){const{id:_}=e,{promotedContent:a,...s}=e,o=(0,J.cL)(a),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:_,dark_request:!1},be);if("dual_test"===l){const e=r().v4();return t.graphQL(F(),{source_tweet_id:_,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...$.postDefaults,...o,...s,comparison_id:e},{},i)}return t.post("statuses/unretweet",{...$.postDefaults,...o,...s},{},i)},bookmark(e,n){const{id:i}=e;return t.graphQL(g(),{tweet_id:i},de)},unbookmark(e,n){const{id:i}=e;return t.graphQL(k(),{tweet_id:i},pe)},pin:(e,n={})=>t.post("account/pin_tweet",{...$.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...$.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(A(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(O(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...$.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:_e}),checkTweetForNudge:e=>t.graphQL(c(),e),destroy(e,i){const _=r().v4(),a=n.getStringValue("graphql_mutation_destroy_mode"),s=e.id;return"graphql_only"===a?t.graphQL(B(),{tweet_id:s,dark_request:!1}):"dual_test"===a?(t.graphQL(B(),{tweet_id:s,comparison_id:_,dark_request:!0}),t.post("statuses/destroy",{...$.postDefaults,...e,comparison_id:_},{},i)):t.post("statuses/destroy",{...$.postDefaults,...e},{},i)},changeConversationControls(e){const{id:n,policy:i}=e;let _;if("community"===i?_="Community":"by_invitation"===i&&(_="ByInvitation"),void 0!==_)return t.graphQL(w(),{tweet_id:n,mode:_},we)},removeConversationControls(e){const{id:n}=e;return t.graphQL(v(),{tweet_id:n},me)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(V(),{tweet_id:n},ve)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>I,getBatchModeCreateTweet:()=>L,getMediaAttachmentsCreateTweet:()=>T,getTaggedUsersCreateTweet:()=>k,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),_=n(68811),r=n.n(_),a=n(72599),s=n(31334),o=n(17360),l=n(83175),d=n(85364),p=n(43153),u=n.n(p),c=n(53934),b=n.n(c),w=n(50445),m=n(60348),v=n(58803),h=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:_}=e;return function(e,a={}){var o,p;let c={..._(n),...h.postDefaults,...e};const v=(0,m.gQ)(c.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===c.media_ids&&delete c.media_ids,c.promotedContent&&(c={...c,...(0,m.cL)(c.promotedContent)},delete c.promotedContent),c.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(c={...c,exclusive_tweet_content:c.exclusive_tweet_control_options}),delete c.exclusive_tweet_control_options),null!=(o=c.trusted_friends_control_options)&&o.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(c={...c,trusted_friends_content:c.trusted_friends_control_options}),delete c.trusted_friends_control_options);const q={...c,media_tags:c.media_tags?JSON.stringify(c.media_tags):void 0},T={...(null==v||null==(p=v.engagement_request)?void 0:p.impression_id)&&{...v},...(0,l.d)(n)},L=s.rh(c.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(L){const _={...y({options:e,featureSwitches:n}),...T};return t.graphQL(u(),_,x).then((e=>{var t,n,_;const r=null!=(t=null==e||null==(n=e.notetweet_create)||null==(_=n.tweet_results)?void 0:_.result)?t:{};return(0,i.Fv)(r,d.Z)}))}{const _={...f({options:e,featureSwitches:n}),...T};return t.graphQL(b(),_,x).then((e=>{var t,n,_;const r=null!=(t=null==e||null==(n=e.create_tweet)||null==(_=n.tweet_results)?void 0:_.result)?t:{};return(0,i.Fv)(r,d.Z)}))}}if(g){var I;const _=f({options:e,featureSwitches:n}),s=r().v4();return t.graphQL(b(),{..._,comparison_id:s,dark_request:!0,...(null==v||null==(I=v.engagement_request)?void 0:I.impression_id)&&{...v},...(0,l.d)(n)},x),t.post("statuses/update",{...q,comparison_id:s},{},a).then((e=>(0,i.Fv)(e,w.Z)))}return t.post("statuses/update",q,{},a).then((e=>(0,i.Fv)(e,w.Z)))}}function f(e){const t=q(e),{richtext_options:n,...i}=t;return i}function y(e){return q(e)}function q({featureSwitches:e,options:t}){var n,i;const _=T(t.media_ids,t.media_tags),r=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],a=L(t.batch_mode),s=I(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:r}},batch_compose:a,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=_?_:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=s?s:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,_,r;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(_=i.result)||null==(r=_.legacy)?void 0:r.id_str;else if(null!=t&&t.create_tweet){var s,l,d;n=null==(s=t.create_tweet.tweet_results)||null==(l=s.result)||null==(d=l.legacy)?void 0:d.id_str}return!n&&((0,o.jB)(e)||(0,a.ZP)("GQL Create: Failed to create tweet"),!0)}const T=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,_=i?k(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:_}))):void 0},L=e=>e===v.BatchModeType.FIRST_TWEET?"BatchFirst":e===v.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,I=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},k=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d,getGlobalDefaults:()=>s});var i=n(6899),_=n(70151),r=n(13239),a=n(60348);const s=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,_.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,_.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},o=e=>(0,i.Fv)(e,r.Z),l=e=>(0,i.Fv)(e,[r.Z]),d=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,i={})=>e.get("users/lookup",{...s(t),...n},i).then(l),follow(n,i={}){const{id_str:_,promotedContent:r,...l}=n,d=(0,a.cL)(r);return e.post("friendships/create",{...s(t),...d,user_id:_,...l},{},i).then(o)},unfollow(n,i={}){const{id_str:_,promotedContent:r,...l}=n,d=(0,a.cL)(r);return e.post("friendships/destroy",{...s(t),...d,user_id:_,...l},{},i).then(o)},cancelPendingFollow(t,n={}){const{id_str:i,..._}=t;return e.post("friendships/cancel",{..._,user_id:i},{},n).then(o)},block(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("blocks/create",{...s,user_id:i,...r},{},n).then(o)},unblock(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("blocks/destroy",{...s,user_id:i,...r},{},n).then(o)},mute(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("mutes/users/create",{...s,user_id:i,...r},{},n).then(o)},unmute(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("mutes/users/destroy",{...s,user_id:i,...r},{},n).then(o)},fetchProfileTranslation(t,n={}){const{profileUserId:i}=t;return e.get(`strato/column/None/profileUserId=${i},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,d:()=>r});var i=n(60917),_=n.n(i);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>_()},49890:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,Z:()=>s});var i=n(6899),_=n(46395),r=n(90650);const a=new i.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:_.Z}),s=new i.fK.Array(a)},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a,c:()=>r});n(6886);var i=n(53223),_=n(82436);const r=()=>({"X-Twitter-UTCOffset":(0,_.Kc)()}),a=(e,t=[])=>({ext:(0,i.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>r,gQ:()=>a});const i=Object.freeze({});function _(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function r(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,r="earned"===s(e),a=JSON.stringify(_(e));if(!t||!n)return i;let o={impression_id:n};return a&&(o={...o,engagement_metadata:a}),r&&(o={...o,earned:1}),o}function a(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===s(e),r=_(e);if(!t||!n)return;let a={impression_id:n};return r&&(a={...a,engagement_metadata:r}),i&&(a={...a,earned:!0}),{engagement_request:{...a}}}function s(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>o,FI:()=>a,Kc:()=>s,gO:()=>r,zk:()=>_});const i=()=>new Date(Date.now());function _(e,t=i()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function r(e,t=i()){const n=new Date(t);return n.setHours(n.getHours()-24),_(e,n)}function a(e,t=i()){const n=t-e;return n>=0&&n<=6048e5}function s(e=i().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function o(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>o,Bq:()=>u,SC:()=>l,v$:()=>i,Oc:()=>s});var i={};n.r(i),n.d(i,{readEnabled:()=>d,writeEnabled:()=>p});var _=n(40997),r=n(37756);function a(e){return e.isTrue("longform_notetweets_consumption_enabled")}function s(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!a(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function o(e,t){if(!a(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,r.k)(e),s=_.kh.maxWeightedTweetLength;return i.weightedLength>s}function l(e,t){if(!s(t))return!1;return(0,r.k)(e,t).weightedLength>_.kh.maxWeightedTweetLength}function d(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function p(e){if(!s(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function u(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:a(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>_,p:()=>r});var i=n(59158);const _=n.n(i)().version3,r=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>_.k,pD:()=>_.p,g0:()=>s,WT:()=>i,k2:()=>r.k});var i=n(37971),_=n(68469),r=n(37756),a=n(73228);function s(e){const t=Boolean(e&&l[e])?2:1;return function(e){return o(Math.ceil(e/t))}}const o=n.n(a)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return _(e)-80}function _(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>_,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var i=n(45567),_=n.n(i),r=n(31334),a=n(68469),s=n(37971);function o(e,t){const n=function(e){if(!e)return a.k;if(!r.Oc(e))return a.k;return{...a.k,maxWeightedTweetLength:s.max_count(e)}}(t);return _()(e,n)}},52630:(e,t,n)=>{"use strict";n.d(t,{O:()=>_,P:()=>i});const i=Object.freeze({List:"List",ListTile:"ListTile",ListWithPin:"ListWithPin",ListWithSubscribe:"ListWithSubscribe"}),_=Object.freeze({Creation:"list_creation",Edit:"list_edit"})},32091:(e,t,n)=>{"use strict";n.d(t,{Gm:()=>o,ZH:()=>l,kH:()=>s});var i=n(78772),_=n(52612),r=n(57659),a=n(62104);const s={All:"any",AutoBlock:"autoblock",Imported:"imported"},o=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===s.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===s.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:i.Z}),l=e=>(t,n)=>{const i=n();t(e.selectEntries(i).filter((e=>{if(!e.content||e.type!==_.ZP.User)return!1;const t=e.content.id,n=r.ZP.select(i,t);return n&&!n.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Lists.690a8f6a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Lists.fdcd75ca.js b/info/endpoints/endpoints.Lists.fdcd75ca.js deleted file mode 100644 index 2d6c608..0000000 --- a/info/endpoints/endpoints.Lists.fdcd75ca.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Lists","endpoints.Graphql","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},24493:e=>{e.exports={queryId:"0rWueBsca-bZdiFj8UaBqA",operationName:"CombinedLists",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},4033:e=>{e.exports={queryId:"7Pp-yetwVg8HRvM4Nzn24g",operationName:"ListAddMember",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},3596:e=>{e.exports={queryId:"wE95k-wSSifPElMSoQwPMQ",operationName:"DeleteListBanner",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},28983:e=>{e.exports={queryId:"RN8fOuMLq1U7j67i4IGASA",operationName:"EditListBanner",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},59852:e=>{e.exports={queryId:"-kmqNvm5Y-cVrfvBy6docg",operationName:"ListBySlug",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},31892:e=>{e.exports={queryId:"jhgeXa3QgRkU7HK4LFtxIg",operationName:"CreateList",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},12253:e=>{e.exports={queryId:"MvD1nZMQO7L8u4kbGutsfw",operationName:"ListCreationRecommendedUsers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},83934:e=>{e.exports={queryId:"UnN9Th1BDbeLjpgjGSpL3Q",operationName:"DeleteList",operationType:"mutation",metadata:{featureSwitches:[]}}},27706:e=>{e.exports={queryId:"-sZ0SOD1hmSXvPf8CGNm_g",operationName:"ListEditRecommendedUsers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},62106:e=>{e.exports={queryId:"-_Z4thx55wBFXl3AYBW_1g",operationName:"ListLatestTweetsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},79005:e=>{e.exports={queryId:"3gqdLXTO0RQwAKhnhkcN6g",operationName:"ListMembers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},20744:e=>{e.exports={queryId:"U0ms0jYVjzQzAcwRS38QoA",operationName:"ListMemberships",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63222:e=>{e.exports={queryId:"ZYyanJsskNUcltu9bliMLA",operationName:"MuteList",operationType:"mutation",metadata:{featureSwitches:[]}}},1655:e=>{e.exports={queryId:"bA-6FfrojCiTBrnyHWPlmg",operationName:"ListOwnerships",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},42177:e=>{e.exports={queryId:"xOFLQOT6tWAmNKscKKvJHA",operationName:"ListPinOne",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},51947:e=>{e.exports={queryId:"HGZPRc_F1cpR3Ii7ERkj_g",operationName:"ListPins",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},87587:e=>{e.exports={queryId:"iTpgCtbdxrsJfyx0cFjHqg",operationName:"ListByRestId",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},45946:e=>{e.exports={queryId:"jBhUcPGpI3-NBwrLu_9yVw",operationName:"ListRankedTweetsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},34246:e=>{e.exports={queryId:"-fj46FPlaXSkr_l9aBxxSQ",operationName:"ListRemoveMember",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},34622:e=>{e.exports={queryId:"PG-RI1Q3OUNi_tCNt2E3LQ",operationName:"ListSubscribe",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},31297:e=>{e.exports={queryId:"GSSpO_zs9cswhhurEE0Pew",operationName:"ListSubscribers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},67778:e=>{e.exports={queryId:"pMZrHRNsmEkXgbn3tOyr7Q",operationName:"UnmuteList",operationType:"mutation",metadata:{featureSwitches:[]}}},80291:e=>{e.exports={queryId:"vpXwSzc33y9x4yqjpG_Wag",operationName:"ListUnpinOne",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},24242:e=>{e.exports={queryId:"9nRn4thREQtup8tFebvSRw",operationName:"ListUnsubscribe",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},83603:e=>{e.exports={queryId:"s--Y80QDTq0GRnoDebF2Mg",operationName:"UpdateList",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},27229:e=>{e.exports={queryId:"hnKNxfeD3FyLdZqJ1PswYA",operationName:"ListsDiscovery",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},87903:e=>{e.exports={queryId:"C7ZuucYnLnBHhj8-XprA0A",operationName:"ListsManagementPageTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},16914:e=>{e.exports={queryId:"Sw29-6-EP46KoggPYtQ1XQ",operationName:"ListsPinMany",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O,errorBreadcrumb:()=>G,isFatalGenericTimelineError:()=>z,isFatalModeratedTimelineError:()=>R,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>U,isFatalViewerScopedFollowTimelineError:()=>A,parseUserScopedTimeline:()=>Z,parseViewerScopedTimeline:()=>j});var i=n(58955),_=n(79363),r=n(72599),a=n(32091),s=n(17360),o=n(83175),l=n(6899),d=n(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var n;let i;if("User"===(null==e||null==(n=e.result)?void 0:n.__typename)){const{__typename:t,...n}=e.result;i=n}return{user:i,...t}}));return(0,l.Fv)(t,d.Z)};var u=n(73114),c=n.n(u),b=n(51877),w=n.n(b),v=n(15157),m=n.n(v),h=n(63922),g=n.n(h),f=n(41025),y=n.n(f),q=n(70395),x=n.n(q),T=n(84559),L=n.n(T),k=n(53846),S=n.n(k),I=n(44328),F=n.n(I),Q=n(51583),B=n.n(Q),N=n(22227),P=n.n(N),C=n(82249);const Z=e=>{var t;let n=C.cY;var i;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(n=(null==(i=e.user.result.timeline)?void 0:i.timeline)||C.cY);return n},G=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},j=e=>{let t=C.cY;var n;null!=e&&e.viewer&&(t=(null==(n=e.viewer.timeline)?void 0:n.timeline)||C.cY);return t},E=e=>Array.isArray(e)&&!(0,_.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),U=(e,t)=>{var n,i;const _="User"===(null==t||null==(n=t.user)||null==(i=n.result)?void 0:i.__typename)&&t.user.result.timeline;return _||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},A=(e,t)=>{var n;const i=null==t||null==(n=t.viewer)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:G(e)}),!i&&(0,s.jB)(e)},D=(e,t)=>{var n,i;const _=null==t||null==(n=t.viewer)||null==(i=n.muting_timeline)?void 0:i.timeline;return _||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},R=(e,t)=>{var n,i;const _="Tweet"===(null==t||null==(n=t.tweet.result)?void 0:n.__typename)&&(null==(i=t.tweet.result.timeline_response)?void 0:i.timeline);return _||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:G(e)}),!_&&(0,s.jB)(e)},z=(e,t)=>{var n;const i=null==t||null==(n=t.timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:G(e)}),!i&&(0,s.jB)(e)};function M(e,t,n){let i;function _(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return i=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:l})=>t.graphQL(i,{count:a,cursor:l,includePromotedContent:!1,...(0,o.d)(n),withSafetyModeUserFields:n.isTrue("rito_safety_mode_features_enabled")},((t,n)=>{const i=_(n);return i||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:G(t)}),!i&&(0,s.jB)(t)})).then((e=>_(e)||C.cY))}const O=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:M(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:M(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:M(a.kH.AutoBlock,e,t),fetchFollowers:({count:n,cursor:i,userId:_})=>e.graphQL(g(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},U).then(Z),fetchFollowersYouKnow:({count:n,cursor:i,userId:_})=>e.graphQL(y(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},U).then(Z),fetchFollowing:({count:n,cursor:i,userId:_})=>e.graphQL(x(),{userId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},U).then(Z),fetchSuperFollowers:({count:n,cursor:i})=>e.graphQL(B(),{count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},A).then(j),fetchViewerTeams:()=>e.graphQLFullResponse(P(),{...(0,o.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:n}=e,_=n&&n.teams&&n.teams.act_as||[];if(!t||!t.length)return _;const r=(0,i.Z)(t.map((e=>e.path&&e.path[3])));return _.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:n,cursor:i,rootTweetId:_})=>e.graphQL(S(),{rootTweetId:_,count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},R).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var n,i;return(null==(n=e.tweet.result)||null==(i=n.timeline_response)?void 0:i.timeline)||C.cY}return C.cY})),fetchMutedAccounts:({count:n,cursor:i})=>e.graphQL(F(),{count:n,cursor:i,includePromotedContent:!1,...(0,o.d)(t)},D).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline)||C.cY})),fetchGenericTimelineById:({count:n,cursor:i,timelineId:_})=>e.graphQL(L(),{timelineId:_,count:n,cursor:i,withQuickPromoteEligibilityTweetFields:!0,...(0,o.d)(t)},z).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||C.cY}))})},55873:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Ce,isFatalAddMemberError:()=>qe,isFatalFetchListByIdError:()=>Se,isFatalFetchListBySlugError:()=>Ie,isFatalFetchMembersTimelineError:()=>Be,isFatalFetchPinsError:()=>Pe,isFatalFetchRecommendedUsersTimelineError:()=>Ne,isFatalFetchSubscribersTimelineError:()=>Qe,isFatalFetchTweetsTimelineError:()=>Fe,isFatalListsDiscoveryTimelineError:()=>he,isFatalListsManagementTimelineError:()=>ge,isFatalListsTimelineError:()=>me,isFatalPinManyLists:()=>Le,isFatalPinOneList:()=>Te,isFatalRemoveMemberError:()=>xe,isFatalSubscribeError:()=>fe,isFatalUnpinOneList:()=>ke,isFatalUnsubscribeError:()=>ye});n(71372);var i=n(6899),_=n(72599),r=n(52630),a=n(17360),s=n(83175),o=n(20383),l=n(24493),d=n.n(l),p=n(4033),u=n.n(p),c=n(3596),b=n.n(c),w=n(28983),v=n.n(w),m=n(59852),h=n.n(m),g=n(31892),f=n.n(g),y=n(12253),q=n.n(y),x=n(83934),T=n.n(x),L=n(27706),k=n.n(L),S=n(62106),I=n.n(S),F=n(79005),Q=n.n(F),B=n(20744),N=n.n(B),P=n(63222),C=n.n(P),Z=n(1655),G=n.n(Z),j=n(42177),E=n.n(j),U=n(51947),A=n.n(U),D=n(87587),R=n.n(D),z=n(45946),M=n.n(z),O=n(34246),Y=n.n(O),V=n(27229),H=n.n(V),K=n(87903),W=n.n(K),X=n(16914),J=n.n(X),$=n(34622),ee=n.n($),te=n(31297),ne=n.n(te),ie=n(67778),_e=n.n(ie),re=n(80291),ae=n.n(re),se=n(24242),oe=n.n(se),le=n(83603),de=n.n(le),pe=n(31008),ue=n(82249),ce=n(97534),be=n(87233),we=n(55371);const ve=e=>({...we.getGlobalDefaults(e),...be.getGlobalDefaults(e),cursor:-1}),me=(e,t)=>{var n,i,r,s;const o="User"===(null==t||null==(n=t.user)||null==(i=n.result)?void 0:i.__typename)&&(null==t||null==(r=t.user)||null==(s=r.result)?void 0:s.timeline);return o||(0,_.ZP)("GQL URT: Failed to render Lists timeline",{extra:(0,ce.errorBreadcrumb)(e)}),!o&&(0,a.jB)(e)},he=(e,t)=>{var n,i;const r=null==t||null==(n=t.viewer)||null==(i=n.list_discovery_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to render Lists Discovery timeline"),!r&&(0,a.jB)(e)},ge=(e,t)=>{var n,i;const r=null==t||null==(n=t.viewer)||null==(i=n.list_management_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to render Lists Management timeline"),!r&&(0,a.jB)(e)},fe=(e,t)=>{const n=null==t?void 0:t.list_subscribe_v2;return n||(0,_.ZP)("GQL List: Failed to subscribe"),!n&&(0,a.jB)(e)},ye=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to unsubcribe"),!n&&(0,a.jB)(e)},qe=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to add member"),!n&&(0,a.jB)(e)},xe=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to remove member"),!n&&(0,a.jB)(e)},Te=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to pin the list"),!n&&(0,a.jB)(e)},Le=(e,t)=>{const n=null==t?void 0:t.pinned_lists_put_v2;return n||(0,_.ZP)("GQL List: Failed to pin many lists"),!n&&(0,a.jB)(e)},ke=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to unpin the list"),!n&&(0,a.jB)(e)},Se=(e,t)=>{const n=null==t?void 0:t.list;return n||(0,_.ZP)("GQL List: Failed to fetch list by id"),!n&&(0,a.jB)(e)},Ie=(e,t)=>{var n;const i=null==t||null==(n=t.user_by_screen_name)?void 0:n.list;return i||(0,_.ZP)("GQL List: Failed to fetch list by slug"),!i&&(0,a.jB)(e)},Fe=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.tweets_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL URT: Failed to fetch list Tweets timeline"),!r&&(0,a.jB)(e)},Qe=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.subscribers_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Subscribers timeline"),!r&&(0,a.jB)(e)},Be=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.members_timeline)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Members timeline"),!r&&(0,a.jB)(e)},Ne=(e,t)=>{var n,i;const r=null==t||null==(n=t.list)||null==(i=n.recommended_users)?void 0:i.timeline;return r||(0,_.ZP)("GQL List: Failed to fetch Recommended Users timeline"),!r&&(0,a.jB)(e)},Pe=(e,t)=>{const n=null==t?void 0:t.viewer;return n||(0,_.ZP)("GQL List: Failed to fetch List Pins"),!n&&(0,a.jB)(e)},Ce=({apiClient:e,featureSwitches:t})=>({addToList(n,_){const{list_id:r,user_id:a}=n;return e.graphQL(u(),{listId:r,userId:a,...(0,s.S)(t)},qe).then((e=>(0,i.Fv)(e.list,o.Z)))},createList(n,_){const{description:r,mode:a,name:l}=n;return e.graphQL(f(),{isPrivate:"private"===a.toLowerCase(),name:l,description:r,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},editBannerImage(n,_){const{listId:r,mediaId:a}=n;return e.graphQL(v(),{listId:r,mediaId:a,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},deleteList(t,n){const{list_id:i}=t;return e.graphQL(T(),{listId:i})},deleteBannerImage(n,_){const{listId:r}=n;return e.graphQL(b(),{listId:r,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))},fetchList(n,_){if(n.list_id)return e.graphQL(R(),{listId:n.list_id,...(0,s.S)(t)},Se).then((e=>(0,i.Fv)(e.list,o.Z)));if(n.slug){const{owner_screen_name:_,slug:r}=n;return e.graphQL(h(),{screenName:_,listSlug:r,...(0,s.S)(t)},Ie).then((e=>{var t;return(0,i.Fv)({...null==(t=e.user_by_screen_name)?void 0:t.list,slug:r},o.Z)}))}return Promise.reject(new Error("listId or screenName and slug required to fetch list"))},fetchCombinedLists:({count:n,cursor:i,userId:_})=>e.graphQL(d(),{userId:_,count:n,cursor:i,...(0,s.d)(t)},me).then(ce.parseUserScopedTimeline),fetchListsManagementPageTimeline:({count:n,cursor:i})=>e.graphQL(W(),{count:n,cursor:i,...(0,s.d)(t)},ge).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.list_management_timeline)?void 0:n.timeline)||ue.cY})),fetchTweetsGraphQL(n,i){const{count:_,cursor:r,listId:a,useRanked:o}=n,l=o?M():I(),d={listId:a,count:_,cursor:r,...(0,s.d)(t)};return e.graphQL(l,d,Fe).then((e=>{var t;return(null==(t=e.list.tweets_timeline)?void 0:t.timeline)||ue.cY}))},fetchMembersGraphQL(n,i){const{count:_,cursor:r,listId:a}=n;return e.graphQL(Q(),{listId:a,count:_,cursor:r,...(0,s.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},Be).then((e=>{var t;return(null==(t=e.list.members_timeline)?void 0:t.timeline)||ue.cY}))},fetchRecommendedUsersGraphQL(n,i){const{count:_,cursor:a,displayLocation:o,listId:l}=n,d=o===r.O.Creation?q():k(),p={listId:l,count:_,cursor:a,...(0,s.d)(t)};return e.graphQL(d,p,Ne).then((e=>{var t;return(null==(t=e.list.recommended_users)?void 0:t.timeline)||ue.cY}))},fetchPins:()=>e.graphQL(A(),{...(0,s.S)(t)},Pe).then((e=>{var t;const n=null==e||null==(t=e.viewer)?void 0:t.pinned_lists;return n?(0,i.Fv)(n,[o.Z]):void 0})),fetchSubscribersGraphQL(n,i){const{count:_,cursor:r,listId:a}=n;return e.graphQL(ne(),{listId:a,count:_,cursor:r,...(0,s.d)(t)},Qe).then((e=>{var t;return(null==(t=e.list.subscribers_timeline)?void 0:t.timeline)||ue.cY}))},fetchSuggestedLists:({count:n,cursor:i})=>e.graphQL(H(),{count:n,cursor:i,...(0,s.d)(t)},he).then((e=>{var t,n;return(null==(t=e.viewer)||null==(n=t.list_discovery_timeline)?void 0:n.timeline)||ue.cY})),fetchOwnershipsGraphQL(n,i){const{count:_,cursor:r,targetUserId:a,userId:o}=n;return e.graphQL(G(),{userId:o,isListMemberTargetUserId:a,count:_,cursor:r,...(0,s.d)(t)},me).then(ce.parseUserScopedTimeline)},fetchMemberships:(n,_)=>e.get("lists/memberships",{...ve(t),...n},_||{}).then((e=>(0,i.Fv)(e,pe.kD))),fetchMembershipsGraphQL(n,i){const{count:_,cursor:r,userId:a}=n;return e.graphQL(N(),{userId:a,count:_,cursor:r,...(0,s.d)(t)},me).then(ce.parseUserScopedTimeline)},removeFromList(n,_){const{list_id:r,user_id:a}=n;return e.graphQL(Y(),{listId:r,userId:a,...(0,s.S)(t)},xe).then((e=>(0,i.Fv)(e.list,o.Z)))},togglePinList(n){const{isPinned:i,listId:_}=n,r=(0,s.S)(t);return i?e.graphQL(ae(),{listId:_,...r},ke):e.graphQL(E(),{listId:_,...r},Te)},pinManyLists(n){const{listIds:_}=n;return e.graphQL(J(),{listIds:_,...(0,s.S)(t)},Le).then((e=>{const t=null==e?void 0:e.pinned_lists_put_v2;return(0,i.Fv)(t,[o.Z])}))},createSubscribers(n,_){const{list_id:r}=n;return e.graphQL(ee(),{listId:r,...(0,s.S)(t)},fe).then((e=>(0,i.Fv)(e.list_subscribe_v2,o.Z)))},destroySubscribers(n,_){const{list_id:r}=n;return e.graphQL(oe(),{listId:r,...(0,s.S)(t)},ye).then((e=>(0,i.Fv)(e.list,o.Z)))},toggleMute(t,n){const{listId:i,mute:_}=t;return _?e.graphQL(C(),{listId:i}):e.graphQL(_e(),{listId:i})},editList(n,_){const{description:r,list_id:a,mode:l,name:d}=n;return e.graphQL(de(),{listId:a,isPrivate:"private"===l.toLowerCase(),description:r,name:d,...(0,s.S)(t)}).then((e=>(0,i.Fv)(e.list,o.Z)))}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>he,getGlobalDefaults:()=>ie,isFatalChangeConversationControls:()=>we,isFatalCreateBookmark:()=>de,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>ce,isFatalCreateTweetDownvote:()=>se,isFatalCreateTweetReaction:()=>re,isFatalDeleteBookmark:()=>pe,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>be,isFatalDeleteTweetDownvote:()=>oe,isFatalDeleteTweetReaction:()=>ae,isFatalUnlike:()=>ue,isFatalUnmentionUserFromConversation:()=>me});var i=n(6899),_=n(68811),r=n.n(_),a=n(63752),s=n(72599),o=n(17360),l=n(83175),d=n(85364),p=n(1257),u=n(53757),c=n.n(u),b=n(8378),w=n.n(b),v=n(2536),m=n.n(v),h=n(78152),g=n.n(h),f=n(40558),y=n.n(f),q=n(45373),x=n.n(q),T=n(99090),L=n.n(T),k=n(44577),S=n.n(k),I=n(60445),F=n.n(I),Q=n(9578),B=n.n(Q),N=n(93764),P=n.n(N),C=n(38150),Z=n.n(C),G=n(69875),j=n.n(G),E=n(25912),U=n.n(E),A=n(24586),D=n.n(A),R=n(84461),z=n.n(R),M=n(63455),O=n.n(M),Y=n(17439),V=n.n(Y),H=n(50445),K=n(6623),W=n(63174),X=n(63140),J=n(60348),$=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const ie=e=>({cards_platform:a.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),_e=e=>({...te.getGlobalDefaults(e),...ie(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),re=(e,t)=>{var n;const i=null==t||null==(n=t.create_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet reaction"),!i&&(0,o.jB)(e)},ae=(e,t)=>{var n;const i=null==t||null==(n=t.delete_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet reaction"),!i&&(0,o.jB)(e)},se=(e,t)=>{var n;const i=null==t||null==(n=t.create_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet downvote"),!i&&(0,o.jB)(e)},oe=(e,t)=>{var n;const i=null==t||null==(n=t.delete_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet downvote"),!i&&(0,o.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,o.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,s.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,o.jB)(e)},pe=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,s.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,o.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,o.jB)(e)},ce=(e,t)=>{var n,i;const _=!(null==t||null==(n=t.create_retweet)||null==(i=n.retweet_results)||!i.result);return _||(0,s.ZP)("GQL retweet: Failed to retweet"),!_&&(0,o.jB)(e)},be=(e,t)=>{var n,i;const _=!(null==t||null==(n=t.unretweet)||null==(i=n.source_tweet_results)||!i.result);return _||(0,s.ZP)("GQL retweet: Failed to retweet"),!_&&(0,o.jB)(e)},we=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,s.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,o.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,s.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,o.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,s.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,o.jB)(e)},he=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,_)=>t.get("statuses/lookup",{..._e(n),...e,...(0,K.Y)(n)},_).then((e=>(0,i.Fv)(e,[H.Z]))),show(e,_){const{id:r,withVisibilityResults:a}=e;return t.graphQL(D(),{tweetId:r,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,_,r,a,s,o;if("Tweet"===(null==(n=t.tweetResult)||null==(_=n.result)?void 0:_.__typename)){const{__typename:n,..._}=t.tweetResult.result;if(!e)return(0,i.Fv)(_,d.Z);const r=(0,p.Z)({},_,{});return{...(0,i.Fv)(_,d.Z),visibilityResults:r}}if("TweetWithVisibilityResults"===(null==(r=t.tweetResult)||null==(a=r.result)?void 0:a.__typename)){var l;const{__typename:n,tweet:_,...r}=t.tweetResult.result;if(!e)return(0,i.Fv)(_,d.Z);const a=(0,p.Z)(r,_,{}),s="NonCompliant"===(null==a||null==(l=a.tombstoneInfo)?void 0:l.displayType)?{..._,tombstoneInfo:a.tombstoneInfo}:_;return{...(0,i.Fv)(s,d.Z),visibilityResults:a}}if("TweetUnavailable"===(null==(s=t.tweetResult)||null==(o=s.result)?void 0:o.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=X.ZP.BlockedUserError;break;case"Protected":e=X.ZP.StatusViewForbidden;break;case"Bouncer":e=X.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=X.ZP.TweetIsBounceDeleted;break;case"Suspended":e=X.ZP.OtherUserSuspended;break;default:e=X.ZP.GenericNotFound}const n=new W.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(a))},fetchTranslation(e,_){const{id:r,lang:a,userLanguage:s}=e;let o=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===s&&l.includes(a)&&n.isTrue("papago_tweet_translation_to_korean")&&(o=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===a&&d.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(o=!0);const p=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===a&&p.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(o=!0);const u=o?"Papago":"Google",c=o?`Some(${s})`:"None";return t.get(`strato/column/None/tweetId=${r},destinationLanguage=${c},translationSource=Some(${u}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},_,"").then((e=>{const t={...e,text:e.translation};return(0,i.Fv)(t,H.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:i}=e;return t.post("mutes/conversations/create",{...$.postDefaults,tweet_id:i},{},n)},unmute(e,n){const{id:i}=e;return t.post("mutes/conversations/destroy",{...$.postDefaults,tweet_id:i},{},n)},like(e,n){var i;const{promotedContent:_}=e,{id:r}=e,a=(0,J.gQ)(_);return t.graphQL(j(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},le)},unlike(e,n){var i;const{promotedContent:_}=e,{id:r}=e,a=(0,J.gQ)(_);return t.graphQL(z(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ue)},downvote(e,n){const{id:i}=e;return t.graphQL(x(),{tweet_id:i},se)},undownvote(e,n){const{id:i}=e;return t.graphQL(P(),{tweet_id:i},oe)},react(e,n){const{id:i,promotedContent:_,reactionType:r}=e;if(r){var a;const e=(0,J.gQ)(_);return t.graphQL(L(),{tweet_id:i,reaction_type:r,...(null==e||null==(a=e.engagement_request)?void 0:a.impression_id)&&{...e}},re)}},unreact(e,n){var i;const{id:_,promotedContent:r}=e,a=(0,J.gQ)(r);return t.graphQL(Z(),{tweet_id:_,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ae)},retweet(e,i){const{promotedContent:_,...a}=e,s=e.id,o=(0,J.cL)(_),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var d;const e=(0,J.gQ)(_);return t.graphQL(y(),{tweet_id:s,...(null==e||null==(d=e.engagement_request)?void 0:d.impression_id)&&{...e},dark_request:!1},ce)}if("dual_test"===l){var p;const e=r().v4(),n=(0,J.gQ)(_);return t.graphQL(y(),{tweet_id:s,comparison_id:e,...(null==n||null==(p=n.engagement_request)?void 0:p.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...$.postDefaults,...n,...a,comparison_id:e},{},i)}return t.post("statuses/retweet",{...$.postDefaults,...o,...a},{},i)},unretweet(e,i){const{id:_}=e,{promotedContent:a,...s}=e,o=(0,J.cL)(a),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:_,dark_request:!1},be);if("dual_test"===l){const e=r().v4();return t.graphQL(F(),{source_tweet_id:_,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...$.postDefaults,...o,...s,comparison_id:e},{},i)}return t.post("statuses/unretweet",{...$.postDefaults,...o,...s},{},i)},bookmark(e,n){const{id:i}=e;return t.graphQL(g(),{tweet_id:i},de)},unbookmark(e,n){const{id:i}=e;return t.graphQL(S(),{tweet_id:i},pe)},pin:(e,n={})=>t.post("account/pin_tweet",{...$.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...$.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(U(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(V(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...$.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:_e}),checkTweetForNudge:e=>t.graphQL(c(),e),destroy(e,i){const _=r().v4(),a=n.getStringValue("graphql_mutation_destroy_mode"),s=e.id;return"graphql_only"===a?t.graphQL(B(),{tweet_id:s,dark_request:!1}):"dual_test"===a?(t.graphQL(B(),{tweet_id:s,comparison_id:_,dark_request:!0}),t.post("statuses/destroy",{...$.postDefaults,...e,comparison_id:_},{},i)):t.post("statuses/destroy",{...$.postDefaults,...e},{},i)},changeConversationControls(e){const{id:n,policy:i}=e;let _;if("community"===i?_="Community":"by_invitation"===i&&(_="ByInvitation"),void 0!==_)return t.graphQL(w(),{tweet_id:n,mode:_},we)},removeConversationControls(e){const{id:n}=e;return t.graphQL(m(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},me)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>k,getBatchModeCreateTweet:()=>L,getMediaAttachmentsCreateTweet:()=>T,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),_=n(68811),r=n.n(_),a=n(72599),s=n(31334),o=n(17360),l=n(83175),d=n(85364),p=n(43153),u=n.n(p),c=n(53934),b=n.n(c),w=n(50445),v=n(60348),m=n(58803),h=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:_}=e;return function(e,a={}){var o,p;let c={..._(n),...h.postDefaults,...e};const m=(0,v.gQ)(c.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===c.media_ids&&delete c.media_ids,c.promotedContent&&(c={...c,...(0,v.cL)(c.promotedContent)},delete c.promotedContent),c.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(c={...c,exclusive_tweet_content:c.exclusive_tweet_control_options}),delete c.exclusive_tweet_control_options),null!=(o=c.trusted_friends_control_options)&&o.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(c={...c,trusted_friends_content:c.trusted_friends_control_options}),delete c.trusted_friends_control_options);const q={...c,media_tags:c.media_tags?JSON.stringify(c.media_tags):void 0},T={...(null==m||null==(p=m.engagement_request)?void 0:p.impression_id)&&{...m},...(0,l.d)(n)},L=s.rh(c.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(L){const _={...y({options:e,featureSwitches:n}),...T};return t.graphQL(u(),_,x).then((e=>{var t,n,_;const r=null!=(t=null==e||null==(n=e.notetweet_create)||null==(_=n.tweet_results)?void 0:_.result)?t:{};return(0,i.Fv)(r,d.Z)}))}{const _={...f({options:e,featureSwitches:n}),...T};return t.graphQL(b(),_,x).then((e=>{var t,n,_;const r=null!=(t=null==e||null==(n=e.create_tweet)||null==(_=n.tweet_results)?void 0:_.result)?t:{};return(0,i.Fv)(r,d.Z)}))}}if(g){var k;const _=f({options:e,featureSwitches:n}),s=r().v4();return t.graphQL(b(),{..._,comparison_id:s,dark_request:!0,...(null==m||null==(k=m.engagement_request)?void 0:k.impression_id)&&{...m},...(0,l.d)(n)},x),t.post("statuses/update",{...q,comparison_id:s},{},a).then((e=>(0,i.Fv)(e,w.Z)))}return t.post("statuses/update",q,{},a).then((e=>(0,i.Fv)(e,w.Z)))}}function f(e){const t=q(e),{richtext_options:n,...i}=t;return i}function y(e){return q(e)}function q({featureSwitches:e,options:t}){var n,i;const _=T(t.media_ids,t.media_tags),r=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],a=L(t.batch_mode),s=k(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:r}},batch_compose:a,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=_?_:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=s?s:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,_,r;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(_=i.result)||null==(r=_.legacy)?void 0:r.id_str;else if(null!=t&&t.create_tweet){var s,l,d;n=null==(s=t.create_tweet.tweet_results)||null==(l=s.result)||null==(d=l.legacy)?void 0:d.id_str}return!n&&((0,o.jB)(e)||(0,a.ZP)("GQL Create: Failed to create tweet"),!0)}const T=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,_=i?S(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:_}))):void 0},L=e=>e===m.BatchModeType.FIRST_TWEET?"BatchFirst":e===m.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,k=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d,getGlobalDefaults:()=>s});var i=n(6899),_=n(70151),r=n(13239),a=n(60348);const s=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,_.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,_.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},o=e=>(0,i.Fv)(e,r.Z),l=e=>(0,i.Fv)(e,[r.Z]),d=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,i={})=>e.get("users/lookup",{...s(t),...n},i).then(l),follow(n,i={}){const{id_str:_,promotedContent:r,...l}=n,d=(0,a.cL)(r);return e.post("friendships/create",{...s(t),...d,user_id:_,...l},{},i).then(o)},unfollow(n,i={}){const{id_str:_,promotedContent:r,...l}=n,d=(0,a.cL)(r);return e.post("friendships/destroy",{...s(t),...d,user_id:_,...l},{},i).then(o)},cancelPendingFollow(t,n={}){const{id_str:i,..._}=t;return e.post("friendships/cancel",{..._,user_id:i},{},n).then(o)},block(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("blocks/create",{...s,user_id:i,...r},{},n).then(o)},unblock(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("blocks/destroy",{...s,user_id:i,...r},{},n).then(o)},mute(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("mutes/users/create",{...s,user_id:i,...r},{},n).then(o)},unmute(t,n={}){const{id_str:i,promotedContent:_,...r}=t,s=(0,a.cL)(_);return e.post("mutes/users/destroy",{...s,user_id:i,...r},{},n).then(o)},fetchProfileTranslation(t,n={}){const{profileUserId:i}=t;return e.get(`strato/column/None/profileUserId=${i},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,d:()=>r});var i=n(60917),_=n.n(i);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>_()},49890:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,Z:()=>s});var i=n(6899),_=n(46395),r=n(90650);const a=new i.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:_.Z}),s=new i.fK.Array(a)},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a,c:()=>r});n(6886);var i=n(53223),_=n(82436);const r=()=>({"X-Twitter-UTCOffset":(0,_.Kc)()}),a=(e,t=[])=>({ext:(0,i.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>r,gQ:()=>a});const i=Object.freeze({});function _(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function r(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,r="earned"===s(e),a=JSON.stringify(_(e));if(!t||!n)return i;let o={impression_id:n};return a&&(o={...o,engagement_metadata:a}),r&&(o={...o,earned:1}),o}function a(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===s(e),r=_(e);if(!t||!n)return;let a={impression_id:n};return r&&(a={...a,engagement_metadata:r}),i&&(a={...a,earned:!0}),{engagement_request:{...a}}}function s(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>o,FI:()=>a,Kc:()=>s,gO:()=>r,zk:()=>_});const i=()=>new Date(Date.now());function _(e,t=i()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function r(e,t=i()){const n=new Date(t);return n.setHours(n.getHours()-24),_(e,n)}function a(e,t=i()){const n=t-e;return n>=0&&n<=6048e5}function s(e=i().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function o(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>o,Bq:()=>u,SC:()=>l,v$:()=>i,Oc:()=>s});var i={};n.r(i),n.d(i,{readEnabled:()=>d,writeEnabled:()=>p});var _=n(40997),r=n(37756);function a(e){return e.isTrue("longform_notetweets_consumption_enabled")}function s(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!a(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function o(e,t){if(!a(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,r.k)(e),s=_.kh.maxWeightedTweetLength;return i.weightedLength>s}function l(e,t){if(!s(t))return!1;return(0,r.k)(e,t).weightedLength>_.kh.maxWeightedTweetLength}function d(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function p(e){if(!s(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function u(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:a(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>_,p:()=>r});var i=n(59158);const _=n.n(i)().version3,r=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>_.k,pD:()=>_.p,g0:()=>s,WT:()=>i,k2:()=>r.k});var i=n(37971),_=n(68469),r=n(37756),a=n(73228);function s(e){const t=Boolean(e&&l[e])?2:1;return function(e){return o(Math.ceil(e/t))}}const o=n.n(a)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return _(e)-80}function _(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>_,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var i=n(45567),_=n.n(i),r=n(31334),a=n(68469),s=n(37971);function o(e,t){const n=function(e){if(!e)return a.k;if(!r.Oc(e))return a.k;return{...a.k,maxWeightedTweetLength:s.max_count(e)}}(t);return _()(e,n)}},52630:(e,t,n)=>{"use strict";n.d(t,{O:()=>_,P:()=>i});const i=Object.freeze({List:"List",ListTile:"ListTile",ListWithPin:"ListWithPin",ListWithSubscribe:"ListWithSubscribe"}),_=Object.freeze({Creation:"list_creation",Edit:"list_edit"})},32091:(e,t,n)=>{"use strict";n.d(t,{Gm:()=>o,ZH:()=>l,kH:()=>s});var i=n(78772),_=n(52612),r=n(57659),a=n(62104);const s={All:"any",AutoBlock:"autoblock",Imported:"imported"},o=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===s.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===s.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:i.Z}),l=e=>(t,n)=>{const i=n();t(e.selectEntries(i).filter((e=>{if(!e.content||e.type!==_.ZP.User)return!1;const t=e.content.id,n=r.ZP.select(i,t);return n&&!n.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Lists.fdcd75ca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LiveEvent.6f32e13a.js b/info/endpoints/endpoints.LiveEvent.6f32e13a.js deleted file mode 100644 index af05691..0000000 --- a/info/endpoints/endpoints.LiveEvent.6f32e13a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LiveEvent","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},98930:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=n(6899),r=n(93333),i=n(88701),s=n(6623),a=n(87233),_=n(55371);const l=e=>({..._.getGlobalDefaults(e),...a.getGlobalDefaults(e)}),u=({apiClient:e,featureSwitches:t})=>({fetchLiveEventMetadata(n,a){const{eventId:_,teamUserId:u}=n,d=Object.assign({},a,(0,s.c)(),(0,r.Z)(u));return e.get(`live_event/1/${_}/timeline`,{...l(t),count:0,urt:!0,ext:"mediaColor"},d).then((e=>(0,o.Fv)(e,i.u)))},updateRemindMeSubscription(t,n){const{eventId:o,params:r}=t;return e.post(`live_event/1/${o}/subscription`,{},r,n)}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),g=n.n(f),h=n(40558),y=n.n(h),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),q=n(44577),S=n.n(q),L=n(60445),F=n.n(L),D=n(9578),Q=n.n(D),Z=n(93764),B=n.n(Z),I=n(38150),N=n.n(I),E=n(69875),R=n.n(E),j=n(25912),P=n.n(j),G=n(24586),U=n.n(G),V=n(84461),M=n.n(V),A=n(63455),O=n.n(A),z=n(17439),K=n.n(z),W=n(50445),H=n(6623),Y=n(63174),J=n(63140),$=n(60348),X=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,H.Y)(n)},r).then((e=>(0,o.Fv)(e,[W.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=J.ZP.BlockedUserError;break;case"Protected":e=J.ZP.StatusViewForbidden;break;case"Bouncer":e=J.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=J.ZP.TweetIsBounceDeleted;break;case"Suspended":e=J.ZP.OtherUserSuspended;break;default:e=J.ZP.GenericNotFound}const n=new Y.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...X.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...X.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,$.gQ)(r);return t.graphQL(R(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,$.gQ)(r);return t.graphQL(M(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(B(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,$.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,$.gQ)(i);return t.graphQL(N(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,$.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...X.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...X.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,$.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...X.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...X.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(S(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...X.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...X.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(P(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(K(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...X.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...X.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...X.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...h({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=h({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function h(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?S(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},88701:(e,t,n)=>{"use strict";n.d(t,{j:()=>p,u:()=>c});var o=n(6899),r=n(50445),i=n(13239),s=n(46395);const a=new o.fK.Entity("broadcasts",{},{processStrategy:s.Z}),_=new o.fK.Entity("audiospaces",{},{processStrategy:s.Z}),l=new o.fK.Entity("liveEvents",{},{processStrategy:s.Z}),u=new o.fK.Entity("slates",{},{processStrategy:s.Z}),d=new o.fK.Values([l]),c=new o.fK.Object({twitter_objects:{audiospaces:[_],broadcasts:[a],live_events:[l],slates:[u],tweets:[r.Z],users:[i.Z]}}),p=new o.fK.Object({broadcasts:[a],events:d})},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},93333:(e,t,n)=>{"use strict";function o(e){return e?{"x-act-as-user-id":e}:{}}n.d(t,{Z:()=>o})},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LiveEvent.6f32e13a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LiveEvent.ba7c9b5a.js b/info/endpoints/endpoints.LiveEvent.ba7c9b5a.js new file mode 100644 index 0000000..858bf1e --- /dev/null +++ b/info/endpoints/endpoints.LiveEvent.ba7c9b5a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LiveEvent","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},98930:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=n(6899),r=n(93333),i=n(88701),s=n(6623),a=n(87233),_=n(55371);const l=e=>({..._.getGlobalDefaults(e),...a.getGlobalDefaults(e)}),u=({apiClient:e,featureSwitches:t})=>({fetchLiveEventMetadata(n,a){const{eventId:_,teamUserId:u}=n,d=Object.assign({},a,(0,s.c)(),(0,r.Z)(u));return e.get(`live_event/1/${_}/timeline`,{...l(t),count:0,urt:!0,ext:"mediaColor"},d).then((e=>(0,o.Fv)(e,i.u)))},updateRemindMeSubscription(t,n){const{eventId:o,params:r}=t;return e.post(`live_event/1/${o}/subscription`,{},r,n)}})},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>fe,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),f=n(78152),g=n.n(f),h=n(40558),y=n.n(h),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),S=n(44577),q=n.n(S),L=n(60445),F=n.n(L),D=n(9578),Q=n.n(D),Z=n(93764),B=n.n(Z),I=n(38150),N=n.n(I),R=n(69875),E=n.n(R),j=n(25912),P=n.n(j),G=n(24586),U=n.n(G),M=n(84461),V=n.n(M),O=n(63455),A=n.n(O),K=n(17439),z=n.n(K),W=n(50445),Y=n(6623),$=n(63174),J=n(63140),X=n(60348),H=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},fe=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,Y.Y)(n)},r).then((e=>(0,o.Fv)(e,[W.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=J.ZP.BlockedUserError;break;case"Protected":e=J.ZP.StatusViewForbidden;break;case"Bouncer":e=J.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=J.ZP.TweetIsBounceDeleted;break;case"Suspended":e=J.ZP.OtherUserSuspended;break;default:e=J.ZP.GenericNotFound}const n=new $.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...H.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...H.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(E(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(V(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(B(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,X.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,X.gQ)(i);return t.graphQL(N(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,X.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...H.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...H.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,X.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...H.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...H.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(q(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...H.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...H.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(P(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(z(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...H.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...H.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...H.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(A(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>S,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>q,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),f=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...f.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...h({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var S;const r=h({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(S=b.engagement_request)?void 0:S.impression_id)&&{...b},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function h(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=S(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?q(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,S=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},q=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},88701:(e,t,n)=>{"use strict";n.d(t,{j:()=>p,u:()=>c});var o=n(6899),r=n(50445),i=n(13239),s=n(46395);const a=new o.fK.Entity("broadcasts",{},{processStrategy:s.Z}),_=new o.fK.Entity("audiospaces",{},{processStrategy:s.Z}),l=new o.fK.Entity("liveEvents",{},{processStrategy:s.Z}),u=new o.fK.Entity("slates",{},{processStrategy:s.Z}),d=new o.fK.Values([l]),c=new o.fK.Object({twitter_objects:{audiospaces:[_],broadcasts:[a],live_events:[l],slates:[u],tweets:[r.Z],users:[i.Z]}}),p=new o.fK.Object({broadcasts:[a],events:d})},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},93333:(e,t,n)=>{"use strict";function o(e){return e?{"x-act-as-user-id":e}:{}}n.d(t,{Z:()=>o})},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LiveEvent.ba7c9b5a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LoggedOutNotifications.1e14da1a.js b/info/endpoints/endpoints.LoggedOutNotifications.1e14da1a.js deleted file mode 100644 index 53a995d..0000000 --- a/info/endpoints/endpoints.LoggedOutNotifications.1e14da1a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LoggedOutNotifications","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},72298:e=>{e.exports={queryId:"BqIHKmwZKtiUBPi07jKctg",operationName:"EnableLoggedOutWebNotifications",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>H,errorBreadcrumb:()=>Z,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>K,isFatalTeamsResponseError:()=>P,isFatalUserScopedFollowTimelineError:()=>U,isFatalViewerScopedFollowTimelineError:()=>C,parseUserScopedTimeline:()=>E,parseViewerScopedTimeline:()=>z});var n=_(58955),i=_(79363),r=_(72599),a=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),v=_(15157),m=_.n(v),h=_(63922),g=_.n(h),f=_(41025),y=_.n(f),q=_(70395),x=_.n(q),k=_(84559),T=_.n(k),B=_(53846),A=_.n(B),I=_(44328),L=_.n(I),F=_(51583),Q=_.n(F),S=_(22227),G=_.n(S),N=_(82249);const E=e=>{var t;let _=N.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||N.cY);return _},Z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},z=e=>{let t=N.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||N.cY);return t},P=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),U=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},C=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:Z(e)}),!n&&(0,o.jB)(e)},j=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},K=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},Y=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:Z(e)}),!n&&(0,o.jB)(e)};function M(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>t.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:Z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||N.cY))}const H=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:M(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:M(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:M(a.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(E),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(E),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(E),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(z),fetchViewerTeams:()=>e.graphQLFullResponse(G(),{...(0,l.S)(t)},P).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const r=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(A(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},K).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||N.cY}return N.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(L(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},j).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||N.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(T(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},Y).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||N.cY}))})},54874:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>s,isEnableLoggedOutWebUsersNotificationsFail:()=>l});var n=_(72599),i=_(17360),r=_(72298),a=_.n(r),o=_(97534);const l=(e,t)=>((null==t?void 0:t.enable_logged_out_web_notifications)||(0,n.ZP)("GQL LoggedOutNotifications: Failed to execute EnableLoggedOutWebNotifications",{extra:(0,o.errorBreadcrumb)(e)}),(0,i.jB)(e)),s=({apiClient:e,featureSwitches:t})=>({enableLoggedOutWebNotifications:t=>e.graphQL(a(),t,l)})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var n=_(60917),i=_.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>a,Z:()=>o});var n=_(6899),i=_(46395),r=_(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(a)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),r=_(57659),a=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=r.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LoggedOutNotifications.1e14da1a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.LoggedOutNotifications.6449871a.js b/info/endpoints/endpoints.LoggedOutNotifications.6449871a.js new file mode 100644 index 0000000..25ef858 --- /dev/null +++ b/info/endpoints/endpoints.LoggedOutNotifications.6449871a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.LoggedOutNotifications","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},72298:e=>{e.exports={queryId:"BqIHKmwZKtiUBPi07jKctg",operationName:"EnableLoggedOutWebNotifications",operationType:"mutation",metadata:{featureSwitches:[]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>H,errorBreadcrumb:()=>Z,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>M,isFatalTeamsResponseError:()=>N,isFatalUserScopedFollowTimelineError:()=>E,isFatalViewerScopedFollowTimelineError:()=>U,parseUserScopedTimeline:()=>z,parseViewerScopedTimeline:()=>C});var n=_(58955),i=_(79363),a=_(72599),r=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),m=_(15157),v=_.n(m),h=_(63922),g=_.n(h),f=_(41025),y=_.n(f),q=_(70395),x=_.n(q),k=_(84559),T=_.n(k),I=_(53846),B=_.n(I),A=_(44328),F=_.n(A),S=_(51583),G=_.n(S),Q=_(22227),L=_.n(Q),P=_(82249);const z=e=>{var t;let _=P.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||P.cY);return _},Z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},C=e=>{let t=P.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||P.cY);return t},N=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),E=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Follow timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},U=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:Z(e)}),!n&&(0,o.jB)(e)},R=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Muting timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},M=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,a.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},Y=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:Z(e)}),!n&&(0,o.jB)(e)};function j(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===r.kH.Imported?v():e===r.kH.AutoBlock?w():c(),({count:r,cursor:s})=>t.graphQL(n,{count:r,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,a.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:Z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||P.cY))}const H=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:j(r.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:j(r.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:j(r.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(z),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(z),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(z),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(G(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(C),fetchViewerTeams:()=>e.graphQLFullResponse(L(),{...(0,l.S)(t)},N).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const a=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!a.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(B(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},M).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||P.cY}return P.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(F(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},R).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||P.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(T(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},Y).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||P.cY}))})},54874:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>s,isEnableLoggedOutWebUsersNotificationsFail:()=>l});var n=_(72599),i=_(17360),a=_(72298),r=_.n(a),o=_(97534);const l=(e,t)=>((null==t?void 0:t.enable_logged_out_web_notifications)||(0,n.ZP)("GQL LoggedOutNotifications: Failed to execute EnableLoggedOutWebNotifications",{extra:(0,o.errorBreadcrumb)(e)}),(0,i.jB)(e)),s=({apiClient:e,featureSwitches:t})=>({enableLoggedOutWebNotifications:t=>e.graphQL(r(),t,l)})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>a});var n=_(60917),i=_.n(n);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>r,Z:()=>o});var n=_(6899),i=_(46395),a=_(90650);const r=new n.fK.Entity("teams",{user:a.Z},{idAttribute:({user:e})=>e[a.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(r)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),a=_(57659),r=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,r.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=a.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.LoggedOutNotifications.6449871a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.ProfileTimelines.cd0f4eda.js b/info/endpoints/endpoints.ProfileTimelines.cd0f4eda.js deleted file mode 100644 index b67bd8d..0000000 --- a/info/endpoints/endpoints.ProfileTimelines.cd0f4eda.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.ProfileTimelines","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},52318:e=>{e.exports={queryId:"w0OMJq8ZwH00RFuFwAh0sQ",operationName:"Likes",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},25886:e=>{e.exports={queryId:"qSYPMq4KaM3_kO6p7m7z_g",operationName:"UserAboutTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},57833:e=>{e.exports={queryId:"A0ZQ5O6yGzi46UVaQqN6Eg",operationName:"UserBusinessProfileTeamTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},83038:e=>{e.exports={queryId:"QMQB14ZNFMmlr1vvxL2mKQ",operationName:"UserMedia",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},46977:e=>{e.exports={queryId:"VQAi-oCXsyLa-eIBmHvWQA",operationName:"UserPromotableTweets",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},37696:e=>{e.exports={queryId:"EXTJQOc1Tc83VzGbNIHiSg",operationName:"UserSuperFollowTweets",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},96520:e=>{e.exports={queryId:"PoZUz38XdT-pXNk0FRfKSw",operationName:"UserTweets",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},72975:e=>{e.exports={queryId:"0ocNJLLmYdXyHl-WbLMmmw",operationName:"UserTweetsAndReplies",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>j,errorBreadcrumb:()=>N,isFatalGenericTimelineError:()=>R,isFatalModeratedTimelineError:()=>M,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>Y,isFatalViewerScopedFollowTimelineError:()=>G,parseUserScopedTimeline:()=>F,parseViewerScopedTimeline:()=>C});var n=t(58955),i=t(79363),r=t(72599),a=t(32091),s=t(17360),l=t(83175),o=t(6899),d=t(49890);const p=(e=[])=>{const _=e.map((({user_results:e,..._})=>{var t;let n;if("User"===(null==e||null==(t=e.result)?void 0:t.__typename)){const{__typename:_,...t}=e.result;n=t}return{user:n,..._}}));return(0,o.Fv)(_,d.Z)};var b=t(73114),u=t.n(b),c=t(51877),w=t.n(c),v=t(15157),m=t.n(v),h=t(63922),f=t.n(h),g=t(41025),y=t.n(g),q=t(70395),x=t.n(q),T=t(84559),k=t.n(T),I=t(53846),P=t.n(I),A=t(44328),Q=t.n(A),U=t(51583),B=t.n(U),S=t(22227),z=t.n(S),L=t(82249);const F=e=>{var _;let t=L.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||L.cY);return t},N=e=>{var _;return{code:null==(_=e[0])?void 0:_.code}},C=e=>{let _=L.cY;var t;null!=e&&e.viewer&&(_=(null==(t=e.viewer.timeline)?void 0:t.timeline)||L.cY);return _},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),Y=(e,_)=>{var t,n;const i="User"===(null==_||null==(t=_.user)||null==(n=t.result)?void 0:n.__typename)&&_.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:N(e)}),!i&&(0,s.jB)(e)},G=(e,_)=>{var t;const n=null==_||null==(t=_.viewer)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:N(e)}),!n&&(0,s.jB)(e)},Z=(e,_)=>{var t,n;const i=null==_||null==(t=_.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:N(e)}),!i&&(0,s.jB)(e)},M=(e,_)=>{var t,n;const i="Tweet"===(null==_||null==(t=_.tweet.result)?void 0:t.__typename)&&(null==(n=_.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:N(e)}),!i&&(0,s.jB)(e)},R=(e,_)=>{var t;const n=null==_||null==(t=_.timeline)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:N(e)}),!n&&(0,s.jB)(e)};function V(e,_,t){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():u(),({count:a,cursor:o})=>_.graphQL(n,{count:a,cursor:o,includePromotedContent:!1,...(0,l.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_features_enabled")},((_,t)=>{const n=i(t);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:N(_)}),!n&&(0,s.jB)(_)})).then((e=>i(e)||L.cY))}const j=({apiClient:e,featureSwitches:_})=>({fetchBlockedAccountsImportedGraphql:V(a.kH.Imported,e,_),fetchBlockedAccountsAllGraphql:V(a.kH.All,e,_),fetchBlockedAccountsAutoBlockGraphql:V(a.kH.AutoBlock,e,_),fetchFollowers:({count:t,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Y).then(F),fetchFollowersYouKnow:({count:t,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Y).then(F),fetchFollowing:({count:t,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Y).then(F),fetchSuperFollowers:({count:t,cursor:n})=>e.graphQL(B(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},G).then(C),fetchViewerTeams:()=>e.graphQLFullResponse(z(),{...(0,l.S)(_)},E).then((({data:e,errors:_})=>{const{viewer:t}=e,i=t&&t.teams&&t.teams.act_as||[];if(!_||!_.length)return i;const r=(0,n.Z)(_.map((e=>e.path&&e.path[3])));return i.filter(((e,_)=>!r.has(_)))})).then(p),fetchModeratedTimeline:({count:t,cursor:n,rootTweetId:i})=>e.graphQL(P(),{rootTweetId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},M).then((e=>{var _;if("Tweet"===(null==(_=e.tweet.result)?void 0:_.__typename)){var t,n;return(null==(t=e.tweet.result)||null==(n=t.timeline_response)?void 0:n.timeline)||L.cY}return L.cY})),fetchMutedAccounts:({count:t,cursor:n})=>e.graphQL(Q(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Z).then((e=>{var _,t;return(null==(_=e.viewer)||null==(t=_.muting_timeline)?void 0:t.timeline)||L.cY})),fetchGenericTimelineById:({count:t,cursor:n,timelineId:i})=>e.graphQL(k(),{timelineId:i,count:t,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(_)},R).then((e=>{var _;return(null==(_=e.timeline)?void 0:_.timeline)||L.cY}))})},75948:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>I,isFatalProfileTimelineError:()=>k});var n=t(72599),i=t(51573),r=t(17360),a=t(83175),s=t(52318),l=t.n(s),o=t(25886),d=t.n(o),p=t(57833),b=t.n(p),u=t(83038),c=t.n(u),w=t(46977),v=t.n(w),m=t(37696),h=t.n(m),f=t(96520),g=t.n(f),y=t(72975),q=t.n(y),x=t(82249),T=t(97534);const k=(e,_)=>{var t;const i=(null==_||null==(t=_.user)?void 0:t.result)&&"User"===_.user.result.__typename&&(_.user.result.timeline||void 0!==_.user.result.timeline_v2&&_.user.result.timeline_v2);return i||(0,n.ZP)("GQL URT: Failed to render Profile timeline",{extra:(0,T.errorBreadcrumb)(e)}),!i&&(0,r.jB)(e)},I=({apiClient:e,featureSwitches:_})=>({fetchAbout:({count:t,cursor:n,userId:i})=>e.graphQL(d(),{rest_id:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_)},k).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t})),fetchUserTweets:({count:t,cursor:n,userId:r})=>(0,i.o)("userTweets",(()=>e.graphQL(g(),{userId:r,count:t,cursor:n,includePromotedContent:!0,withQuickPromoteEligibilityTweetFields:!0,...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_profile_timeline")},k).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t}))),(e=>e.then((e=>e.userId===r)))),fetchUserTweetsAndReplies:({count:t,cursor:n,userId:i})=>e.graphQL(q(),{userId:i,count:t,cursor:n,includePromotedContent:!0,withCommunity:_.isTrue("c9s_enabled"),...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_profile_with_replies_timeline")},k).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchUserSuperFollowsTweets:({count:t,cursor:n,userId:i})=>e.graphQL(h(),{userId:i,count:t,cursor:n,includePromotedContent:!0,...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled")},k).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t})),fetchUserPromotableTweets:({count:_,cursor:t,userId:n})=>e.graphQL(v(),{userId:n,count:_,cursor:"string"==typeof t?t:void 0,includePromotedContent:!1,withDownvotePerspective:!1,withReactionsMetadata:!1,withReactionsPerspective:!1,withVoice:!1},k).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.promotable_tweets_timeline)?void 0:n.timeline)||x.cY);return t})),fetchLikes:({count:t,cursor:n,userId:i})=>e.graphQL(l(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withBirdwatchNotes:!1,withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_favorites_by_time_timeline")},k).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchUserMedia:({count:t,cursor:n,userId:i})=>e.graphQL(c(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withBirdwatchNotes:!1,withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_media_timeline")},k).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchBusinessProfileTeam:({count:t,cursor:n,teamName:i,userId:r})=>e.graphQL(b(),{userId:r,count:t,cursor:n,teamName:i,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withVoice:_.isTrue("voice_consumption_enabled")},k).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t}))})},83175:(e,_,t)=>{"use strict";t.d(_,{S:()=>a,d:()=>r});var n=t(60917),i=t.n(n);const r=e=>{const _=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:_,withReactionsPerspective:_}},a=e=>i()},49890:(e,_,t)=>{"use strict";t.d(_,{B:()=>a,Z:()=>s});var n=t(6899),i=t(46395),r=t(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),s=new n.fK.Array(a)},51573:(e,_,t)=>{"use strict";t.d(_,{o:()=>o});t(21515),t(6886);var n=t(72599);const i=new class{constructor(){this.promise=new Promise(((e,_)=>{this.reject=_,this.resolve=e}))}},r=i.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{i.resolve(),null!=e&&clearTimeout(e)}));const _=()=>{"loading"!==document.readyState?i.resolve():e=setTimeout((()=>{_()}),500)};_()}var a=t(86916),s=t(79150),l=t(25943);function o(e,_,t){const i="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!i)return _();const o=Date.now(),d=i.timestamp||o;if(Math.max(0,o-d)>=3e5)return delete window.__PREFETCH_DATA__,_();const p=i.items[e];if(!p)return _();return(t?t(p.meta):Promise.resolve(!0)).then((t=>t?(l.q.didPrefetch[e]=!0,Promise.race([p.promise,r]).then((t=>t?a.i(t,s.AK):((0,n.ZP)(`DOM loaded but prefetch data was not present for ${e}`),_())),(()=>(l.q.prefetchPromiseRejected[e]=!0,_()))).finally((()=>{delete i.items[e]}))):_()),(()=>_()))}},25943:(e,_,t)=>{"use strict";t.d(_,{q:()=>n});const n={didPrefetch:{},prefetchPromiseRejected:{}}},32091:(e,_,t)=>{"use strict";t.d(_,{Gm:()=>l,ZH:()=>o,kH:()=>s});var n=t(78772),i=t(52612),r=t(57659),a=t(62104);const s={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:_=>e===s.Imported?_.Graphql.fetchBlockedAccountsImportedGraphql:e===s.AutoBlock?_.Graphql.fetchBlockedAccountsAutoBlockGraphql:_.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:_})=>({count:e,cursor:"string"==typeof _?_:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),o=e=>(_,t)=>{const n=t();_(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const _=e.content.id,t=r.ZP.select(n,_);return t&&!t.blocking})).map((_=>e.removeEntry(_.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ProfileTimelines.cd0f4eda.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.ProfileTimelines.ece4cc8a.js b/info/endpoints/endpoints.ProfileTimelines.ece4cc8a.js new file mode 100644 index 0000000..549c230 --- /dev/null +++ b/info/endpoints/endpoints.ProfileTimelines.ece4cc8a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.ProfileTimelines","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},52318:e=>{e.exports={queryId:"fN4-E0MjFJ9Cn7IYConL7g",operationName:"Likes",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},25886:e=>{e.exports={queryId:"XQiH5QvvrnrQ4EiKhlvoxA",operationName:"UserAboutTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},57833:e=>{e.exports={queryId:"v3Xh0BbviILtJsVMF6Pipg",operationName:"UserBusinessProfileTeamTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},83038:e=>{e.exports={queryId:"d_ONZLUHGCsErBCriRsLXg",operationName:"UserMedia",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},46977:e=>{e.exports={queryId:"g43L1SCfR_dqKcafpKQZfQ",operationName:"UserPromotableTweets",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},37696:e=>{e.exports={queryId:"1X2xyoXHvX2khleyR82l9A",operationName:"UserSuperFollowTweets",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},96520:e=>{e.exports={queryId:"BeHK76TOCY3P8nO-FWocjA",operationName:"UserTweets",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},72975:e=>{e.exports={queryId:"eZVlZu_1gwb6hMUDXBnZoQ",operationName:"UserTweetsAndReplies",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>H,errorBreadcrumb:()=>L,isFatalGenericTimelineError:()=>M,isFatalModeratedTimelineError:()=>R,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>G,isFatalViewerScopedFollowTimelineError:()=>N,parseUserScopedTimeline:()=>U,parseViewerScopedTimeline:()=>Y});var n=t(58955),i=t(79363),r=t(72599),a=t(32091),s=t(17360),l=t(83175),o=t(6899),d=t(49890);const p=(e=[])=>{const _=e.map((({user_results:e,..._})=>{var t;let n;if("User"===(null==e||null==(t=e.result)?void 0:t.__typename)){const{__typename:_,...t}=e.result;n=t}return{user:n,..._}}));return(0,o.Fv)(_,d.Z)};var b=t(73114),u=t.n(b),c=t(51877),w=t.n(c),m=t(15157),v=t.n(m),h=t(63922),f=t.n(h),g=t(41025),y=t.n(g),q=t(70395),x=t.n(q),T=t(84559),I=t.n(T),k=t(53846),P=t.n(k),A=t(44328),B=t.n(A),C=t(51583),Q=t.n(C),F=t(22227),S=t.n(F),z=t(82249);const U=e=>{var _;let t=z.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||z.cY);return t},L=e=>{var _;return{code:null==(_=e[0])?void 0:_.code}},Y=e=>{let _=z.cY;var t;null!=e&&e.viewer&&(_=(null==(t=e.viewer.timeline)?void 0:t.timeline)||z.cY);return _},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),G=(e,_)=>{var t,n;const i="User"===(null==_||null==(t=_.user)||null==(n=t.result)?void 0:n.__typename)&&_.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:L(e)}),!i&&(0,s.jB)(e)},N=(e,_)=>{var t;const n=null==_||null==(t=_.viewer)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:L(e)}),!n&&(0,s.jB)(e)},Z=(e,_)=>{var t,n;const i=null==_||null==(t=_.viewer)||null==(n=t.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:L(e)}),!i&&(0,s.jB)(e)},R=(e,_)=>{var t,n;const i="Tweet"===(null==_||null==(t=_.tweet.result)?void 0:t.__typename)&&(null==(n=_.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:L(e)}),!i&&(0,s.jB)(e)},M=(e,_)=>{var t;const n=null==_||null==(t=_.timeline)?void 0:t.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:L(e)}),!n&&(0,s.jB)(e)};function V(e,_,t){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?v():e===a.kH.AutoBlock?w():u(),({count:a,cursor:o})=>_.graphQL(n,{count:a,cursor:o,includePromotedContent:!1,...(0,l.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_features_enabled")},((_,t)=>{const n=i(t);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:L(_)}),!n&&(0,s.jB)(_)})).then((e=>i(e)||z.cY))}const H=({apiClient:e,featureSwitches:_})=>({fetchBlockedAccountsImportedGraphql:V(a.kH.Imported,e,_),fetchBlockedAccountsAllGraphql:V(a.kH.All,e,_),fetchBlockedAccountsAutoBlockGraphql:V(a.kH.AutoBlock,e,_),fetchFollowers:({count:t,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},G).then(U),fetchFollowersYouKnow:({count:t,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},G).then(U),fetchFollowing:({count:t,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},G).then(U),fetchSuperFollowers:({count:t,cursor:n})=>e.graphQL(Q(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},N).then(Y),fetchViewerTeams:()=>e.graphQLFullResponse(S(),{...(0,l.S)(_)},E).then((({data:e,errors:_})=>{const{viewer:t}=e,i=t&&t.teams&&t.teams.act_as||[];if(!_||!_.length)return i;const r=(0,n.Z)(_.map((e=>e.path&&e.path[3])));return i.filter(((e,_)=>!r.has(_)))})).then(p),fetchModeratedTimeline:({count:t,cursor:n,rootTweetId:i})=>e.graphQL(P(),{rootTweetId:i,count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},R).then((e=>{var _;if("Tweet"===(null==(_=e.tweet.result)?void 0:_.__typename)){var t,n;return(null==(t=e.tweet.result)||null==(n=t.timeline_response)?void 0:n.timeline)||z.cY}return z.cY})),fetchMutedAccounts:({count:t,cursor:n})=>e.graphQL(B(),{count:t,cursor:n,includePromotedContent:!1,...(0,l.d)(_)},Z).then((e=>{var _,t;return(null==(_=e.viewer)||null==(t=_.muting_timeline)?void 0:t.timeline)||z.cY})),fetchGenericTimelineById:({count:t,cursor:n,timelineId:i})=>e.graphQL(I(),{timelineId:i,count:t,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(_)},M).then((e=>{var _;return(null==(_=e.timeline)?void 0:_.timeline)||z.cY}))})},75948:(e,_,t)=>{"use strict";t.r(_),t.d(_,{default:()=>k,isFatalProfileTimelineError:()=>I});var n=t(72599),i=t(51573),r=t(17360),a=t(83175),s=t(52318),l=t.n(s),o=t(25886),d=t.n(o),p=t(57833),b=t.n(p),u=t(83038),c=t.n(u),w=t(46977),m=t.n(w),v=t(37696),h=t.n(v),f=t(96520),g=t.n(f),y=t(72975),q=t.n(y),x=t(82249),T=t(97534);const I=(e,_)=>{var t;const i=(null==_||null==(t=_.user)?void 0:t.result)&&"User"===_.user.result.__typename&&(_.user.result.timeline||void 0!==_.user.result.timeline_v2&&_.user.result.timeline_v2);return i||(0,n.ZP)("GQL URT: Failed to render Profile timeline",{extra:(0,T.errorBreadcrumb)(e)}),!i&&(0,r.jB)(e)},k=({apiClient:e,featureSwitches:_})=>({fetchAbout:({count:t,cursor:n,userId:i})=>e.graphQL(d(),{rest_id:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_)},I).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t})),fetchUserTweets:({count:t,cursor:n,userId:r})=>(0,i.o)("userTweets",(()=>e.graphQL(g(),{userId:r,count:t,cursor:n,includePromotedContent:!0,withQuickPromoteEligibilityTweetFields:!0,...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_profile_timeline")},I).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t}))),(e=>e.then((e=>e.userId===r)))),fetchUserTweetsAndReplies:({count:t,cursor:n,userId:i})=>e.graphQL(q(),{userId:i,count:t,cursor:n,includePromotedContent:!0,withCommunity:_.isTrue("c9s_enabled"),...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_profile_with_replies_timeline")},I).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchUserSuperFollowsTweets:({count:t,cursor:n,userId:i})=>e.graphQL(h(),{userId:i,count:t,cursor:n,includePromotedContent:!0,...(0,a.d)(_),withVoice:_.isTrue("voice_consumption_enabled")},I).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t})),fetchUserPromotableTweets:({count:_,cursor:t,userId:n})=>e.graphQL(m(),{userId:n,count:_,cursor:"string"==typeof t?t:void 0,includePromotedContent:!1,withDownvotePerspective:!1,withReactionsMetadata:!1,withReactionsPerspective:!1,withVoice:!1},I).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.promotable_tweets_timeline)?void 0:n.timeline)||x.cY);return t})),fetchLikes:({count:t,cursor:n,userId:i})=>e.graphQL(l(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withBirdwatchNotes:!1,withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_favorites_by_time_timeline")},I).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchUserMedia:({count:t,cursor:n,userId:i})=>e.graphQL(c(),{userId:i,count:t,cursor:n,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withBirdwatchNotes:!1,withVoice:_.isTrue("voice_consumption_enabled"),withV2Timeline:_.isTrue("graphql_timeline_v2_user_media_timeline")},I).then((e=>{var _;let t=x.cY;var n,i;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||(null==(i=e.user.result.timeline_v2)?void 0:i.timeline)||x.cY);return t})),fetchBusinessProfileTeam:({count:t,cursor:n,teamName:i,userId:r})=>e.graphQL(b(),{userId:r,count:t,cursor:n,teamName:i,includePromotedContent:!1,...(0,a.d)(_),withClientEventToken:!1,withVoice:_.isTrue("voice_consumption_enabled")},I).then((e=>{var _;let t=x.cY;var n;null!=e&&null!=(_=e.user)&&_.result&&"User"===e.user.result.__typename&&(t=(null==(n=e.user.result.timeline)?void 0:n.timeline)||x.cY);return t}))})},83175:(e,_,t)=>{"use strict";t.d(_,{S:()=>a,d:()=>r});var n=t(60917),i=t.n(n);const r=e=>{const _=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:_,withReactionsPerspective:_}},a=e=>i()},49890:(e,_,t)=>{"use strict";t.d(_,{B:()=>a,Z:()=>s});var n=t(6899),i=t(46395),r=t(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),s=new n.fK.Array(a)},51573:(e,_,t)=>{"use strict";t.d(_,{o:()=>o});t(21515),t(6886);var n=t(72599);const i=new class{constructor(){this.promise=new Promise(((e,_)=>{this.reject=_,this.resolve=e}))}},r=i.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{i.resolve(),null!=e&&clearTimeout(e)}));const _=()=>{"loading"!==document.readyState?i.resolve():e=setTimeout((()=>{_()}),500)};_()}var a=t(86916),s=t(79150),l=t(25943);function o(e,_,t){const i="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!i)return _();const o=Date.now(),d=i.timestamp||o;if(Math.max(0,o-d)>=3e5)return delete window.__PREFETCH_DATA__,_();const p=i.items[e];if(!p)return _();return(t?t(p.meta):Promise.resolve(!0)).then((t=>t?(l.q.didPrefetch[e]=!0,Promise.race([p.promise,r]).then((t=>t?a.i(t,s.AK):((0,n.ZP)(`DOM loaded but prefetch data was not present for ${e}`),_())),(()=>(l.q.prefetchPromiseRejected[e]=!0,_()))).finally((()=>{delete i.items[e]}))):_()),(()=>_()))}},25943:(e,_,t)=>{"use strict";t.d(_,{q:()=>n});const n={didPrefetch:{},prefetchPromiseRejected:{}}},32091:(e,_,t)=>{"use strict";t.d(_,{Gm:()=>l,ZH:()=>o,kH:()=>s});var n=t(78772),i=t(52612),r=t(57659),a=t(62104);const s={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:_=>e===s.Imported?_.Graphql.fetchBlockedAccountsImportedGraphql:e===s.AutoBlock?_.Graphql.fetchBlockedAccountsAutoBlockGraphql:_.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:_})=>({count:e,cursor:"string"==typeof _?_:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),o=e=>(_,t)=>{const n=t();_(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const _=e.content.id,t=r.ZP.select(n,_);return t&&!t.blocking})).map((_=>e.removeEntry(_.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.ProfileTimelines.ece4cc8a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.RitoActionedTweets.ff8a169a.js b/info/endpoints/endpoints.RitoActionedTweets.ff8a169a.js new file mode 100644 index 0000000..9e09c3b --- /dev/null +++ b/info/endpoints/endpoints.RitoActionedTweets.ff8a169a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.RitoActionedTweets"],{77828:e=>{e.exports={queryId:"mZJvB2tUNW66H34FreTP8A",operationName:"RitoActionedTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},56563:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,isFatalRitoActionedTweetsTimelineError:()=>l});var _=i(72599),n=i(17360),s=i(83175),r=i(77828),a=i.n(r),o=i(82249);const l=(e,t)=>{var i;const s=null==t||null==(i=t.user_result_by_rest_id)?void 0:i.result;return s||(0,_.ZP)("GQL RitoActionedTweets: Failed to query for Rito Actioned Tweets timeline"),!s&&(0,n.jB)(e)},d=({apiClient:e,featureSwitches:t})=>({fetchRitoActionedTweets:({cursor:i,userId:_})=>e.graphQL(a(),{cursor:i,rest_id:_,...(0,s.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},l).then((e=>{var t;const i=null==e||null==(t=e.user_result_by_rest_id)?void 0:t.result;let _=o.cY;var n;"User"===(null==i?void 0:i.__typename)&&(_=null==(n=i.rito_actioned_tweets_timeline)?void 0:n.timeline);return _||o.cY}))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>r,d:()=>s});var _=i(60917),n=i.n(_);const s=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoActionedTweets.ff8a169a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.RitoFlaggedAccounts.ca6d8a9a.js b/info/endpoints/endpoints.RitoFlaggedAccounts.ca6d8a9a.js deleted file mode 100644 index 9d95585..0000000 --- a/info/endpoints/endpoints.RitoFlaggedAccounts.ca6d8a9a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.RitoFlaggedAccounts"],{75169:e=>{e.exports={queryId:"AL4JDG30FuwJtlHqWeJDQg",operationName:"RitoFlaggedAccountsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},88466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,isFatalRitoFlaggedAccountsTimelineError:()=>l});var _=i(72599),n=i(17360),a=i(83175),r=i(75169),s=i.n(r),o=i(82249);const l=(e,t)=>{var i,a;const r=null==t||null==(i=t.viewer_v2)||null==(a=i.rito_flagged_accounts_timeline)?void 0:a.timeline;return r||(0,_.ZP)("GQL RitoFlaggedAccounts: Failed to query for Rito Flagged Accounts timeline"),!r&&(0,n.jB)(e)},d=({apiClient:e,featureSwitches:t})=>({fetchRitoFlaggedAccounts:({cursor:i})=>e.graphQL(s(),{cursor:i,...(0,a.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},l).then((e=>{var t,i;return(null==e||null==(t=e.viewer_v2)||null==(i=t.rito_flagged_accounts_timeline)?void 0:i.timeline)||o.cY}))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>r,d:()=>a});var _=i(60917),n=i.n(_);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedAccounts.ca6d8a9a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.RitoFlaggedAccounts.cef8072a.js b/info/endpoints/endpoints.RitoFlaggedAccounts.cef8072a.js new file mode 100644 index 0000000..77012d4 --- /dev/null +++ b/info/endpoints/endpoints.RitoFlaggedAccounts.cef8072a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.RitoFlaggedAccounts"],{75169:e=>{e.exports={queryId:"D2IQV0IXewm6AgwP8NcFKA",operationName:"RitoFlaggedAccountsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},88466:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>d,isFatalRitoFlaggedAccountsTimelineError:()=>l});var _=i(72599),n=i(17360),a=i(83175),s=i(75169),r=i.n(s),o=i(82249);const l=(e,t)=>{var i,a;const s=null==t||null==(i=t.viewer_v2)||null==(a=i.rito_flagged_accounts_timeline)?void 0:a.timeline;return s||(0,_.ZP)("GQL RitoFlaggedAccounts: Failed to query for Rito Flagged Accounts timeline"),!s&&(0,n.jB)(e)},d=({apiClient:e,featureSwitches:t})=>({fetchRitoFlaggedAccounts:({cursor:i})=>e.graphQL(r(),{cursor:i,...(0,a.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},l).then((e=>{var t,i;return(null==e||null==(t=e.viewer_v2)||null==(i=t.rito_flagged_accounts_timeline)?void 0:i.timeline)||o.cY}))})},83175:(e,t,i)=>{"use strict";i.d(t,{S:()=>s,d:()=>a});var _=i(60917),n=i.n(_);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedAccounts.cef8072a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.RitoFlaggedTweets.6b946c1a.js b/info/endpoints/endpoints.RitoFlaggedTweets.6b946c1a.js deleted file mode 100644 index 6a60293..0000000 --- a/info/endpoints/endpoints.RitoFlaggedTweets.6b946c1a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.RitoFlaggedTweets"],{58912:e=>{e.exports={queryId:"KGTsJsC1aqGCo-Ge5YWpIA",operationName:"RitoFlaggedTweetsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},89910:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>d,isFatalRitoFlaggedTweetsTimelineError:()=>o});var i=_(72599),n=_(17360),s=_(83175),r=_(58912),a=_.n(r),l=_(82249);const o=(e,t)=>{var _;const s=null==t||null==(_=t.user_result_by_rest_id)?void 0:_.result;return s||(0,i.ZP)("GQL RitoFlaggedTweets: Failed to query for Rito Flagged Tweets timeline"),!s&&(0,n.jB)(e)},d=({apiClient:e,featureSwitches:t})=>({fetchRitoFlaggedTweets:({cursor:_,userId:i})=>e.graphQL(a(),{cursor:_,rest_id:i,...(0,s.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},o).then((e=>{var t;const _=null==e||null==(t=e.user_result_by_rest_id)?void 0:t.result;let i=l.cY;var n;"User"===(null==_?void 0:_.__typename)&&(i=null==(n=_.rito_flagged_tweets_timeline)?void 0:n.timeline);return i||l.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>s});var i=_(60917),n=_.n(i);const s=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedTweets.6b946c1a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.RitoFlaggedTweets.925b70fa.js b/info/endpoints/endpoints.RitoFlaggedTweets.925b70fa.js new file mode 100644 index 0000000..9253451 --- /dev/null +++ b/info/endpoints/endpoints.RitoFlaggedTweets.925b70fa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.RitoFlaggedTweets"],{58912:e=>{e.exports={queryId:"IUZwHsa_tQ5Bu_1EsK23pw",operationName:"RitoFlaggedTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},89910:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>d,isFatalRitoFlaggedTweetsTimelineError:()=>o});var i=_(72599),n=_(17360),s=_(83175),r=_(58912),a=_.n(r),l=_(82249);const o=(e,t)=>{var _;const s=null==t||null==(_=t.user_result_by_rest_id)?void 0:_.result;return s||(0,i.ZP)("GQL RitoFlaggedTweets: Failed to query for Rito Flagged Tweets timeline"),!s&&(0,n.jB)(e)},d=({apiClient:e,featureSwitches:t})=>({fetchRitoFlaggedTweets:({cursor:_,userId:i})=>e.graphQL(a(),{cursor:_,rest_id:i,...(0,s.d)(t),withSafetyModeUserFields:t.isTrue("rito_safety_mode_blocked_profile_enabled")},o).then((e=>{var t;const _=null==e||null==(t=e.user_result_by_rest_id)?void 0:t.result;let i=l.cY;var n;"User"===(null==_?void 0:_.__typename)&&(i=null==(n=_.rito_flagged_tweets_timeline)?void 0:n.timeline);return i||l.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>s});var i=_(60917),n=_.n(i);const s=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.RitoFlaggedTweets.925b70fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TopArticles.b6e0f40a.js b/info/endpoints/endpoints.TopArticles.b6e0f40a.js new file mode 100644 index 0000000..cf9110e --- /dev/null +++ b/info/endpoints/endpoints.TopArticles.b6e0f40a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TopArticles"],{72165:e=>{e.exports={queryId:"iufefJtsU9LXcX_H4dd0KA",operationName:"ArticleTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9907:e=>{e.exports={queryId:"RTUAKGUkI0I-WtJ1prgmuA",operationName:"ArticleTweetsTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15823:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>w,isFatalArticleTimelineError:()=>c,isFatalArticleTweetsTimelineError:()=>b});var _=t(72599),n=t(27024),r=t(17360),l=t(83175),a=t(72165),s=t.n(a),o=t(9907),d=t.n(o),p=t(82249);const b=(e,i)=>{var t,n;const l=null==i||null==(t=i.article_by_rest_id)||null==(n=t.tweets_timeline)?void 0:n.timeline;return l||(0,_.ZP)("GQL Top Articles: Failed query for article Tweets timeline"),!l&&(0,r.jB)(e)},c=(e,i)=>{var t;const n=null==i||null==(t=i.article_timeline)?void 0:t.timeline;return n||(0,_.ZP)("GQL Top Articles: Failed query for article timeline"),!n&&(0,r.jB)(e)},w=({apiClient:e,featureSwitches:i})=>({fetchArticleTweetsTimeline(t){const _=t.articleListSeedType===n.v.FRIENDS_OF_FRIENDS?"FriendsOfFriends":"FollowingList";return e.graphQL(d(),{...t,...(0,l.d)(i),articleListSeedType:_},b).then((e=>{var i,t;return(null==e||null==(i=e.article_by_rest_id)||null==(t=i.tweets_timeline)?void 0:t.timeline)||p.cY}))},fetchArticleTimeline(t){const _=t.articleListSeedType===n.v.FRIENDS_OF_FRIENDS?"FriendsOfFriends":"FollowingList";return e.graphQL(s(),{...t,...(0,l.d)(i),articleListSeedType:_},c).then((e=>{var i;return(null==e||null==(i=e.article_timeline)?void 0:i.timeline)||p.cY}))}})},83175:(e,i,t)=>{"use strict";t.d(i,{S:()=>l,d:()=>r});var _=t(60917),n=t.n(_);const r=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...l(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},l=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TopArticles.b6e0f40a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TopArticles.e46f928a.js b/info/endpoints/endpoints.TopArticles.e46f928a.js deleted file mode 100644 index e45e29c..0000000 --- a/info/endpoints/endpoints.TopArticles.e46f928a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TopArticles"],{72165:e=>{e.exports={queryId:"g1bDsgDMSfzKxG84t_c-qg",operationName:"ArticleTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9907:e=>{e.exports={queryId:"Xw1bJ5jWZm5X4TmHEtEceA",operationName:"ArticleTweetsTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15823:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>w,isFatalArticleTimelineError:()=>c,isFatalArticleTweetsTimelineError:()=>p});var _=t(72599),n=t(27024),r=t(17360),l=t(83175),a=t(72165),s=t.n(a),o=t(9907),d=t.n(o),b=t(82249);const p=(e,i)=>{var t,n;const l=null==i||null==(t=i.article_by_rest_id)||null==(n=t.tweets_timeline)?void 0:n.timeline;return l||(0,_.ZP)("GQL Top Articles: Failed query for article Tweets timeline"),!l&&(0,r.jB)(e)},c=(e,i)=>{var t;const n=null==i||null==(t=i.article_timeline)?void 0:t.timeline;return n||(0,_.ZP)("GQL Top Articles: Failed query for article timeline"),!n&&(0,r.jB)(e)},w=({apiClient:e,featureSwitches:i})=>({fetchArticleTweetsTimeline(t){const _=t.articleListSeedType===n.v.FRIENDS_OF_FRIENDS?"FriendsOfFriends":"FollowingList";return e.graphQL(d(),{...t,...(0,l.d)(i),articleListSeedType:_},p).then((e=>{var i,t;return(null==e||null==(i=e.article_by_rest_id)||null==(t=i.tweets_timeline)?void 0:t.timeline)||b.cY}))},fetchArticleTimeline(t){const _=t.articleListSeedType===n.v.FRIENDS_OF_FRIENDS?"FriendsOfFriends":"FollowingList";return e.graphQL(s(),{...t,...(0,l.d)(i),articleListSeedType:_},c).then((e=>{var i;return(null==e||null==(i=e.article_timeline)?void 0:i.timeline)||b.cY}))}})},83175:(e,i,t)=>{"use strict";t.d(i,{S:()=>l,d:()=>r});var _=t(60917),n=t.n(_);const r=e=>{const i=e.isTrue("responsive_web_reactions_enabled");return{...l(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:i,withReactionsPerspective:i}},l=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TopArticles.e46f928a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Topics.6e0c924a.js b/info/endpoints/endpoints.Topics.6e0c924a.js deleted file mode 100644 index 7891660..0000000 --- a/info/endpoints/endpoints.Topics.6e0c924a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Topics","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},73277:e=>{e.exports={queryId:"y8A9NQiE_M3U3GXXO5kmWA",operationName:"NoteworthyAccountsPage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},11405:e=>{e.exports={queryId:"ElqSLWFmsPL4NlZI5e1Grg",operationName:"TopicFollow",operationType:"mutation",metadata:{featureSwitches:[]}}},10522:e=>{e.exports={queryId:"jgrbcL8ZPcs_sVKNvNe-Rg",operationName:"TopicLandingPage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15065:e=>{e.exports={queryId:"cPCFdDAaqRjlMRYInZzoDA",operationName:"TopicNotInterested",operationType:"mutation",metadata:{featureSwitches:[]}}},7968:e=>{e.exports={queryId:"4OUZZOonV2h60I0wdlQb_w",operationName:"TopicByRestId",operationType:"query",metadata:{featureSwitches:[]}}},81138:e=>{e.exports={queryId:"K_RznQB5kn-OjvoIi9X_bA",operationName:"TopicToFollowSidebar",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},2796:e=>{e.exports={queryId:"4tVnt6FoSxaX8L-mDDJo4Q",operationName:"TopicUndoNotInterested",operationType:"mutation",metadata:{featureSwitches:[]}}},47156:e=>{e.exports={queryId:"srwjU6JM_ZKTj_QMfUGNcw",operationName:"TopicUnfollow",operationType:"mutation",metadata:{featureSwitches:[]}}},86069:e=>{e.exports={queryId:"JB7yQXYMFKA5T9bf_Ysgkg",operationName:"TopicsManagementPage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},66206:e=>{e.exports={queryId:"AWcodYXVKWjvIypH8DUrxQ",operationName:"TopicsPickerPage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},25455:e=>{e.exports={queryId:"HqLOPvTKQywwjx8UZ9pdPg",operationName:"TopicsPickerPageById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},14246:e=>{e.exports={queryId:"IJupbYcupzPLVQJm2Hlydg",operationName:"ViewingOtherUsersTopicsPage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>O,errorBreadcrumb:()=>Z,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>C,isFatalTeamsResponseError:()=>U,isFatalUserScopedFollowTimelineError:()=>E,isFatalViewerScopedFollowTimelineError:()=>j,parseUserScopedTimeline:()=>G,parseViewerScopedTimeline:()=>z});var n=_(58955),i=_(79363),r=_(72599),a=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),v=_(15157),m=_.n(v),h=_(63922),g=_.n(h),f=_(41025),y=_.n(f),q=_(70395),x=_.n(q),T=_(84559),I=_.n(T),k=_(53846),P=_.n(k),F=_(44328),Q=_.n(F),L=_(51583),B=_.n(L),A=_(22227),S=_.n(A),N=_(82249);const G=e=>{var t;let _=N.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||N.cY);return _},Z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},z=e=>{let t=N.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||N.cY);return t},U=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),E=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},j=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:Z(e)}),!n&&(0,o.jB)(e)},M=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},C=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:Z(e)}),!i&&(0,o.jB)(e)},Y=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:Z(e)}),!n&&(0,o.jB)(e)};function K(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>t.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:Z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||N.cY))}const O=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:K(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:K(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:K(a.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(G),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(G),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},E).then(G),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(B(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},j).then(z),fetchViewerTeams:()=>e.graphQLFullResponse(S(),{...(0,l.S)(t)},U).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const r=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(P(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||N.cY}return N.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},M).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||N.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(I(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},Y).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||N.cY}))})},22836:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>R,isFatalFetchOneTopicError:()=>Z,isFatalFollowError:()=>Y,isFatalNotInterestedError:()=>N,isFatalNoteworthyAccountsPageError:()=>j,isFatalTopicLandingPageError:()=>M,isFatalTopicsManagementPageError:()=>z,isFatalTopicsPickerPageByIdError:()=>E,isFatalTopicsPickerPageError:()=>U,isFatalTopicsToFollowSidebarError:()=>O,isFatalUndoNotInterestedError:()=>G,isFatalUnfollowError:()=>K,isFatalViewingOtherUsersTopicsPageError:()=>C});var n=_(6899),i=_(72599),r=_(17360),a=_(83175),o=_(73277),l=_.n(o),s=_(11405),d=_.n(s),p=_(10522),b=_.n(p),c=_(15065),u=_.n(c),w=_(7968),v=_.n(w),m=_(86069),h=_.n(m),g=_(66206),f=_.n(g),y=_(25455),q=_.n(y),x=_(81138),T=_.n(x),I=_(2796),k=_.n(I),P=_(47156),F=_.n(P),Q=_(14246),L=_.n(Q),B=_(59990),A=_(82249),S=_(97534);const N=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to set not_interested"),!n&&(0,r.jB)(e)},G=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to undo not_interested"),!n&&(0,r.jB)(e)},Z=(e,t)=>{const _=null==t?void 0:t.topic;return _||(0,i.ZP)("GQL Topic: Failed to fetch Topic"),!_&&(0,r.jB)(e)},z=(e,t)=>{var _,n;const a=null==t||null==(_=t.viewer)||null==(n=_.topics_management_page)?void 0:n.body,o=(null==a?void 0:a.timeline)||(null==a?void 0:a.initialTimeline)&&(null==a?void 0:a.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Management page"),!o&&(0,r.jB)(e)},U=(e,t)=>{var _,n;const a=null==t||null==(_=t.viewer)||null==(n=_.topics_picker_page)?void 0:n.body,o=(null==a?void 0:a.timeline)||(null==a?void 0:a.initialTimeline)&&(null==a?void 0:a.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Picker page"),!o&&(0,r.jB)(e)},E=(e,t)=>{var _,n;const a=null==t||null==(_=t.topic)||null==(n=_.topics_picker_page)?void 0:n.body,o=(null==a?void 0:a.timeline)||(null==a?void 0:a.initialTimeline)&&(null==a?void 0:a.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Picker page"),!o&&(0,r.jB)(e)},j=(e,t)=>{var _,n;const a=null==t||null==(_=t.topic_by_rest_id)||null==(n=_.noteworthy_accounts_page)?void 0:n.body,o=(null==a?void 0:a.timeline)||(null==a?void 0:a.initialTimeline)&&(null==a?void 0:a.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Noteworthy Accounts page"),!o&&(0,r.jB)(e)},M=(e,t)=>{var _,n;const a=null==t||null==(_=t.topic_by_rest_id)||null==(n=_.topic_page)?void 0:n.body,o=(null==a?void 0:a.timeline)||(null==a?void 0:a.initialTimeline)&&(null==a?void 0:a.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Landing page"),!o&&(0,r.jB)(e)},C=(e,t)=>{var _,n;const a="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.viewing_other_users_topics_page;return a||(0,i.ZP)("GQL Topic: Failed to query for other users Topics Page"),!a&&(0,r.jB)(e)},Y=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to follow"),!n&&(0,r.jB)(e)},K=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to unfollow"),!n&&(0,r.jB)(e)},O=(e,t)=>{const _=t&&t.user&&t.user.result&&"User"===t.user.result.__typename&&t.user.result.timeline;return _||(0,i.ZP)("GQL URT: Failed to render Topic follow timeline",{extra:(0,S.errorBreadcrumb)(e)}),!_&&(0,r.jB)(e)},R=({apiClient:e,featureSwitches:t})=>({fetchTopicLandingPage(_,n){const{cursor:i,data_lookup_id:r,topicId:o}=_;return e.graphQL(b(),{rest_id:o,cursor:i,context:JSON.stringify({data_lookup_id:r}),...(0,a.d)(t)},M).then((e=>{var t;const _=null==e||null==(t=e.topic_by_rest_id)?void 0:t.topic_page;return null!=_&&_.body?_:A.ln}))},fetchTopicsManagementPage(_,n={}){const{cursor:i}=_;return e.graphQL(h(),{cursor:i,...(0,a.d)(t)},z).then((e=>{var t;const _=null==e||null==(t=e.viewer)?void 0:t.topics_management_page;return null!=_&&_.body?_:A.ln}))},fetchOneTopic(t,_={}){const{topicId:i}=t;return e.graphQL(v(),{topicId:i},Z).then((e=>(0,n.Fv)(e.topic,B.Z)))},fetchTopicsPickerPage(_,n={}){const{topicId:i}=_;return i&&"home"!==i?e.graphQL(q(),{topicId:i,...(0,a.d)(t)},E).then((e=>{var t;const _=null==e||null==(t=e.topic)?void 0:t.topics_picker_page;return null!=_&&_.body?_:A.ln})):e.graphQL(f(),{...(0,a.d)(t)},U).then((e=>{var t;const _=null==e||null==(t=e.viewer)?void 0:t.topics_picker_page;return null!=_&&_.body?_:A.ln}))},fetchViewingOtherUsersTopicsPagePage(_,n={}){const{context:i,cursor:r,userId:o}=_;return e.graphQL(L(),{userId:o,cursor:r,context:i,...(0,a.d)(t)},C).then((e=>{var t,_,n;return"User"===(null==e||null==(t=e.user)||null==(_=t.result)?void 0:_.__typename)&&e.user.result.viewing_other_users_topics_page&&null!=(n=e.user.result.viewing_other_users_topics_page)&&n.body?e.user.result.viewing_other_users_topics_page:A.ln}))},fetchNoteworthyAccountsPage(_,n){const{cursor:i,topicId:r}=_;return e.graphQL(l(),{rest_id:r,cursor:i,...(0,a.d)(t)},j).then((e=>{var t;const _=null==e||null==(t=e.topic_by_rest_id)?void 0:t.noteworthy_accounts_page;return null!=_&&_.body?_:A.ln}))},follow(t,_={}){const{topicId:n}=t;return e.graphQL(d(),{topicId:n},Y)},unfollow(t,_={}){const{topicId:n}=t;return e.graphQL(F(),{topicId:n},K)},notInterested(t,_={}){const{topicId:n}=t;return e.graphQL(u(),{topicId:n},N)},undoNotInterested(t,_={}){const{topicId:n}=t;return e.graphQL(k(),{topicId:n},G)},fetchTopicsToFollowSidebar(_,n={}){const{userId:i}=_;return e.graphQL(T(),{userId:i,...(0,a.d)(t)},O).then(S.parseUserScopedTimeline)}})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var n=_(60917),i=_.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>a,Z:()=>o});var n=_(6899),i=_(46395),r=_(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(a)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),r=_(57659),a=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=r.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Topics.6e0c924a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Topics.fd520dca.js b/info/endpoints/endpoints.Topics.fd520dca.js new file mode 100644 index 0000000..5f055bb --- /dev/null +++ b/info/endpoints/endpoints.Topics.fd520dca.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Topics","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},73277:e=>{e.exports={queryId:"xy1tlSU-sEJBep2EctnsRA",operationName:"NoteworthyAccountsPage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},11405:e=>{e.exports={queryId:"ElqSLWFmsPL4NlZI5e1Grg",operationName:"TopicFollow",operationType:"mutation",metadata:{featureSwitches:[]}}},10522:e=>{e.exports={queryId:"l8qYuCO7fmZZoqbxZef1-Q",operationName:"TopicLandingPage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15065:e=>{e.exports={queryId:"cPCFdDAaqRjlMRYInZzoDA",operationName:"TopicNotInterested",operationType:"mutation",metadata:{featureSwitches:[]}}},7968:e=>{e.exports={queryId:"4OUZZOonV2h60I0wdlQb_w",operationName:"TopicByRestId",operationType:"query",metadata:{featureSwitches:[]}}},81138:e=>{e.exports={queryId:"0PnwFwAglogH28bsXeJUdQ",operationName:"TopicToFollowSidebar",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},2796:e=>{e.exports={queryId:"4tVnt6FoSxaX8L-mDDJo4Q",operationName:"TopicUndoNotInterested",operationType:"mutation",metadata:{featureSwitches:[]}}},47156:e=>{e.exports={queryId:"srwjU6JM_ZKTj_QMfUGNcw",operationName:"TopicUnfollow",operationType:"mutation",metadata:{featureSwitches:[]}}},86069:e=>{e.exports={queryId:"2d2ABO-Ycu_Th47FnIleCA",operationName:"TopicsManagementPage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},66206:e=>{e.exports={queryId:"P_-DEnDM9CSDBNwFMb8C6Q",operationName:"TopicsPickerPage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},25455:e=>{e.exports={queryId:"zhKLjktqdFk5zXWVlY4JMQ",operationName:"TopicsPickerPageById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},14246:e=>{e.exports={queryId:"kdSRfbzgxiV-1l9hbTvSCQ",operationName:"ViewingOtherUsersTopicsPage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>Y,errorBreadcrumb:()=>z,isFatalGenericTimelineError:()=>R,isFatalModeratedTimelineError:()=>M,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>U,isFatalViewerScopedFollowTimelineError:()=>C,parseUserScopedTimeline:()=>Z,parseViewerScopedTimeline:()=>N});var n=_(58955),i=_(79363),a=_(72599),r=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),m=_(15157),v=_.n(m),h=_(63922),g=_.n(h),f=_(41025),y=_.n(f),q=_(70395),x=_.n(q),T=_(84559),I=_.n(T),k=_(53846),F=_.n(k),P=_(44328),Q=_.n(P),B=_(51583),L=_.n(B),S=_(22227),A=_.n(S),G=_(82249);const Z=e=>{var t;let _=G.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||G.cY);return _},z=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},N=e=>{let t=G.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||G.cY);return t},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),U=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Follow timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},C=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:z(e)}),!n&&(0,o.jB)(e)},j=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,a.ZP)("GQL URT: Failed to render Muting timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},M=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,a.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:z(e)}),!i&&(0,o.jB)(e)},R=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,a.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:z(e)}),!n&&(0,o.jB)(e)};function V(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===r.kH.Imported?v():e===r.kH.AutoBlock?w():c(),({count:r,cursor:s})=>t.graphQL(n,{count:r,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,a.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:z(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||G.cY))}const Y=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:V(r.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:V(r.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:V(r.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(g(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(Z),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(Z),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},U).then(Z),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(L(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(N),fetchViewerTeams:()=>e.graphQLFullResponse(A(),{...(0,l.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const a=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!a.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(F(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},M).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||G.cY}return G.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},j).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||G.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(I(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},R).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||G.cY}))})},22836:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>O,isFatalFetchOneTopicError:()=>z,isFatalFollowError:()=>R,isFatalNotInterestedError:()=>G,isFatalNoteworthyAccountsPageError:()=>C,isFatalTopicLandingPageError:()=>j,isFatalTopicsManagementPageError:()=>N,isFatalTopicsPickerPageByIdError:()=>U,isFatalTopicsPickerPageError:()=>E,isFatalTopicsToFollowSidebarError:()=>Y,isFatalUndoNotInterestedError:()=>Z,isFatalUnfollowError:()=>V,isFatalViewingOtherUsersTopicsPageError:()=>M});var n=_(6899),i=_(72599),a=_(17360),r=_(83175),o=_(73277),l=_.n(o),s=_(11405),d=_.n(s),p=_(10522),b=_.n(p),c=_(15065),u=_.n(c),w=_(7968),m=_.n(w),v=_(86069),h=_.n(v),g=_(66206),f=_.n(g),y=_(25455),q=_.n(y),x=_(81138),T=_.n(x),I=_(2796),k=_.n(I),F=_(47156),P=_.n(F),Q=_(14246),B=_.n(Q),L=_(59990),S=_(82249),A=_(97534);const G=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to set not_interested"),!n&&(0,a.jB)(e)},Z=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to undo not_interested"),!n&&(0,a.jB)(e)},z=(e,t)=>{const _=null==t?void 0:t.topic;return _||(0,i.ZP)("GQL Topic: Failed to fetch Topic"),!_&&(0,a.jB)(e)},N=(e,t)=>{var _,n;const r=null==t||null==(_=t.viewer)||null==(n=_.topics_management_page)?void 0:n.body,o=(null==r?void 0:r.timeline)||(null==r?void 0:r.initialTimeline)&&(null==r?void 0:r.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Management page"),!o&&(0,a.jB)(e)},E=(e,t)=>{var _,n;const r=null==t||null==(_=t.viewer)||null==(n=_.topics_picker_page)?void 0:n.body,o=(null==r?void 0:r.timeline)||(null==r?void 0:r.initialTimeline)&&(null==r?void 0:r.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Picker page"),!o&&(0,a.jB)(e)},U=(e,t)=>{var _,n;const r=null==t||null==(_=t.topic)||null==(n=_.topics_picker_page)?void 0:n.body,o=(null==r?void 0:r.timeline)||(null==r?void 0:r.initialTimeline)&&(null==r?void 0:r.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Picker page"),!o&&(0,a.jB)(e)},C=(e,t)=>{var _,n;const r=null==t||null==(_=t.topic_by_rest_id)||null==(n=_.noteworthy_accounts_page)?void 0:n.body,o=(null==r?void 0:r.timeline)||(null==r?void 0:r.initialTimeline)&&(null==r?void 0:r.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Noteworthy Accounts page"),!o&&(0,a.jB)(e)},j=(e,t)=>{var _,n;const r=null==t||null==(_=t.topic_by_rest_id)||null==(n=_.topic_page)?void 0:n.body,o=(null==r?void 0:r.timeline)||(null==r?void 0:r.initialTimeline)&&(null==r?void 0:r.initialTimeline.timeline.timeline);return o||(0,i.ZP)("GQL Topic: Failed to query for Topics Landing page"),!o&&(0,a.jB)(e)},M=(e,t)=>{var _,n;const r="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.viewing_other_users_topics_page;return r||(0,i.ZP)("GQL Topic: Failed to query for other users Topics Page"),!r&&(0,a.jB)(e)},R=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to follow"),!n&&(0,a.jB)(e)},V=(e,t)=>{var _;const n=Boolean(null==t||null==(_=t.topic)?void 0:_.topic_id);return n||(0,i.ZP)("GQL Topic: Failed to unfollow"),!n&&(0,a.jB)(e)},Y=(e,t)=>{const _=t&&t.user&&t.user.result&&"User"===t.user.result.__typename&&t.user.result.timeline;return _||(0,i.ZP)("GQL URT: Failed to render Topic follow timeline",{extra:(0,A.errorBreadcrumb)(e)}),!_&&(0,a.jB)(e)},O=({apiClient:e,featureSwitches:t})=>({fetchTopicLandingPage(_,n){const{cursor:i,data_lookup_id:a,topicId:o}=_;return e.graphQL(b(),{rest_id:o,cursor:i,context:JSON.stringify({data_lookup_id:a}),...(0,r.d)(t)},j).then((e=>{var t;const _=null==e||null==(t=e.topic_by_rest_id)?void 0:t.topic_page;return null!=_&&_.body?_:S.ln}))},fetchTopicsManagementPage(_,n={}){const{cursor:i}=_;return e.graphQL(h(),{cursor:i,...(0,r.d)(t)},N).then((e=>{var t;const _=null==e||null==(t=e.viewer)?void 0:t.topics_management_page;return null!=_&&_.body?_:S.ln}))},fetchOneTopic(t,_={}){const{topicId:i}=t;return e.graphQL(m(),{topicId:i},z).then((e=>(0,n.Fv)(e.topic,L.Z)))},fetchTopicsPickerPage(_,n={}){const{topicId:i}=_;return i&&"home"!==i?e.graphQL(q(),{topicId:i,...(0,r.d)(t)},U).then((e=>{var t;const _=null==e||null==(t=e.topic)?void 0:t.topics_picker_page;return null!=_&&_.body?_:S.ln})):e.graphQL(f(),{...(0,r.d)(t)},E).then((e=>{var t;const _=null==e||null==(t=e.viewer)?void 0:t.topics_picker_page;return null!=_&&_.body?_:S.ln}))},fetchViewingOtherUsersTopicsPagePage(_,n={}){const{context:i,cursor:a,userId:o}=_;return e.graphQL(B(),{userId:o,cursor:a,context:i,...(0,r.d)(t)},M).then((e=>{var t,_,n;return"User"===(null==e||null==(t=e.user)||null==(_=t.result)?void 0:_.__typename)&&e.user.result.viewing_other_users_topics_page&&null!=(n=e.user.result.viewing_other_users_topics_page)&&n.body?e.user.result.viewing_other_users_topics_page:S.ln}))},fetchNoteworthyAccountsPage(_,n){const{cursor:i,topicId:a}=_;return e.graphQL(l(),{rest_id:a,cursor:i,...(0,r.d)(t)},C).then((e=>{var t;const _=null==e||null==(t=e.topic_by_rest_id)?void 0:t.noteworthy_accounts_page;return null!=_&&_.body?_:S.ln}))},follow(t,_={}){const{topicId:n}=t;return e.graphQL(d(),{topicId:n},R)},unfollow(t,_={}){const{topicId:n}=t;return e.graphQL(P(),{topicId:n},V)},notInterested(t,_={}){const{topicId:n}=t;return e.graphQL(u(),{topicId:n},G)},undoNotInterested(t,_={}){const{topicId:n}=t;return e.graphQL(k(),{topicId:n},Z)},fetchTopicsToFollowSidebar(_,n={}){const{userId:i}=_;return e.graphQL(T(),{userId:i,...(0,r.d)(t)},Y).then(A.parseUserScopedTimeline)}})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>a});var n=_(60917),i=_.n(n);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>r,Z:()=>o});var n=_(6899),i=_(46395),a=_(90650);const r=new n.fK.Entity("teams",{user:a.Z},{idAttribute:({user:e})=>e[a.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(r)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),a=_(57659),r=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,r.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=a.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Topics.fd520dca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetActivity.82fc30ea.js b/info/endpoints/endpoints.TweetActivity.82fc30ea.js new file mode 100644 index 0000000..3deecb6 --- /dev/null +++ b/info/endpoints/endpoints.TweetActivity.82fc30ea.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetActivity"],{68110:e=>{e.exports={queryId:"R5pbehWPHJ7YfyNbx6lKpA",operationName:"Favoriters",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},36852:e=>{e.exports={queryId:"2TQP6bvuGBl58tOafVqsEg",operationName:"Retweeters",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},20431:e=>{e.exports={queryId:"DytBFQ3MDIWvVGVylBypsQ",operationName:"TweetEditHistory",operationType:"query",metadata:{featureSwitches:["freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},61710:e=>{e.exports={queryId:"4taQiSNC8Es5Ms9jiIo_qQ",operationName:"GetTweetReactionTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},89112:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>h});var i=_(83175),n=_(6899),r=_(45265),a=_(90650);const s=e=>{switch(e){case"Like":case"Haha":case"Hmm":case"Sad":case"Cheer":return e;default:return r.k.Like}};var l=_(68110),o=_.n(l),d=_(36852),p=_.n(d),b=_(20431),u=_.n(b),c=_(61710),w=_.n(c),v=_(82249);const h=({apiClient:e,featureSwitches:t})=>({fetchReactedBy:({tweetId:t})=>e.graphQL(w(),{tweetId:t},((e,t)=>{var _,i;return null==t||null==(_=t.tweet_result_by_rest_id)||null==(i=_.result)||!i.reaction_timeline})).then((e=>(e=>{var t;const _=null==(t=e.tweet_result_by_rest_id)?void 0:t.result;if(_&&_.reaction_timeline){var i,r;const e={};return{reactionTimeline:null==(i=_.reaction_timeline)?void 0:i.tweet_reaction_timeline_entries.map((t=>{if(t.user_results.result){const _=(0,n.Fv)(t.user_results.result,a.Z);return e[_.result]=_.entities.users[_.result],{user:_.result,reactionType:s(t.reaction_type)}}})).filter(Boolean),reactionCounts:null==(r=_.reaction_timeline)?void 0:r.reactionTypeMap.map((e=>({count:e.count,type:s(e.type)}))),userEntities:e}}})(e))),fetchLikedBy:({count:_,cursor:n,tweetId:r})=>e.graphQL(o(),{tweetId:r,count:_,cursor:n,includePromotedContent:!0,...(0,i.d)(t)},((e,t)=>{var _;return!(null!=t&&null!=(_=t.favoriters_timeline)&&_.timeline)})).then((e=>{var t;return(null==e||null==(t=e.favoriters_timeline)?void 0:t.timeline)||v.cY})),fetchRetweetedBy:({count:_,cursor:n,tweetId:r})=>e.graphQL(p(),{tweetId:r,count:_,cursor:n,includePromotedContent:!0,...(0,i.d)(t)},((e,t)=>{var _;return!(null!=t&&null!=(_=t.retweeters_timeline)&&_.timeline)})).then((e=>{var t;return(null==e||null==(t=e.retweeters_timeline)?void 0:t.timeline)||v.cY})),fetchEditHistory:({tweetId:_})=>e.graphQL(u(),{tweetId:_,...(0,i.d)(t),withQuickPromoteEligibilityTweetFields:!0},((e,t)=>{var _;return!(null!=t&&null!=(_=t.tweet_result_by_rest_id)&&_.result)})).then((e=>{var t,_;return(null==e||null==(t=e.tweet_result_by_rest_id)?void 0:t.result)&&e.tweet_result_by_rest_id.result.edit_history_timeline&&(null==(_=e.tweet_result_by_rest_id.result.edit_history_timeline)?void 0:_.timeline)||v.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var i=_(60917),n=_.n(i);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>n()},45265:(e,t,_)=>{"use strict";_.d(t,{k:()=>i});const i=Object.freeze({Hmm:"Hmm",Sad:"Sad",Haha:"Haha",Cheer:"Cheer",Like:"Like"})}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetActivity.82fc30ea.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetActivity.c99da42a.js b/info/endpoints/endpoints.TweetActivity.c99da42a.js deleted file mode 100644 index a7d1d7d..0000000 --- a/info/endpoints/endpoints.TweetActivity.c99da42a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetActivity"],{68110:e=>{e.exports={queryId:"wl8fUbDy7QcxO8i89ymThQ",operationName:"Favoriters",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},36852:e=>{e.exports={queryId:"SZTBCuhP3YHIQNNWSolsUA",operationName:"Retweeters",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},20431:e=>{e.exports={queryId:"KBbTKfRGDKvNzoxBt6G6YQ",operationName:"TweetEditHistory",operationType:"query",metadata:{featureSwitches:["freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},61710:e=>{e.exports={queryId:"8IFsKauoo3UjKABJN444Jg",operationName:"GetTweetReactionTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},89112:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>h});var i=_(83175),n=_(6899),r=_(45265),a=_(90650);const s=e=>{switch(e){case"Like":case"Haha":case"Hmm":case"Sad":case"Cheer":return e;default:return r.k.Like}};var l=_(68110),o=_.n(l),d=_(36852),b=_.n(d),p=_(20431),u=_.n(p),w=_(61710),c=_.n(w),v=_(82249);const h=({apiClient:e,featureSwitches:t})=>({fetchReactedBy:({tweetId:t})=>e.graphQL(c(),{tweetId:t},((e,t)=>{var _,i;return null==t||null==(_=t.tweet_result_by_rest_id)||null==(i=_.result)||!i.reaction_timeline})).then((e=>(e=>{var t;const _=null==(t=e.tweet_result_by_rest_id)?void 0:t.result;if(_&&_.reaction_timeline){var i,r;const e={};return{reactionTimeline:null==(i=_.reaction_timeline)?void 0:i.tweet_reaction_timeline_entries.map((t=>{if(t.user_results.result){const _=(0,n.Fv)(t.user_results.result,a.Z);return e[_.result]=_.entities.users[_.result],{user:_.result,reactionType:s(t.reaction_type)}}})).filter(Boolean),reactionCounts:null==(r=_.reaction_timeline)?void 0:r.reactionTypeMap.map((e=>({count:e.count,type:s(e.type)}))),userEntities:e}}})(e))),fetchLikedBy:({count:_,cursor:n,tweetId:r})=>e.graphQL(o(),{tweetId:r,count:_,cursor:n,includePromotedContent:!0,...(0,i.d)(t)},((e,t)=>{var _;return!(null!=t&&null!=(_=t.favoriters_timeline)&&_.timeline)})).then((e=>{var t;return(null==e||null==(t=e.favoriters_timeline)?void 0:t.timeline)||v.cY})),fetchRetweetedBy:({count:_,cursor:n,tweetId:r})=>e.graphQL(b(),{tweetId:r,count:_,cursor:n,includePromotedContent:!0,...(0,i.d)(t)},((e,t)=>{var _;return!(null!=t&&null!=(_=t.retweeters_timeline)&&_.timeline)})).then((e=>{var t;return(null==e||null==(t=e.retweeters_timeline)?void 0:t.timeline)||v.cY})),fetchEditHistory:({tweetId:_})=>e.graphQL(u(),{tweetId:_,...(0,i.d)(t),withQuickPromoteEligibilityTweetFields:!0},((e,t)=>{var _;return!(null!=t&&null!=(_=t.tweet_result_by_rest_id)&&_.result)})).then((e=>{var t,_;return(null==e||null==(t=e.tweet_result_by_rest_id)?void 0:t.result)&&e.tweet_result_by_rest_id.result.edit_history_timeline&&(null==(_=e.tweet_result_by_rest_id.result.edit_history_timeline)?void 0:_.timeline)||v.cY}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var i=_(60917),n=_.n(i);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>n()},45265:(e,t,_)=>{"use strict";_.d(t,{k:()=>i});const i=Object.freeze({Hmm:"Hmm",Sad:"Sad",Haha:"Haha",Cheer:"Cheer",Like:"Like"})}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetActivity.c99da42a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetStats.e8e61f4a.js b/info/endpoints/endpoints.TweetStats.e8e61f4a.js deleted file mode 100644 index 8631330..0000000 --- a/info/endpoints/endpoints.TweetStats.e8e61f4a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetStats","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"-7QGUaqt0kCl63r2a-iL7A",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"z42L8uNZvy0xDP-GMNZuoQ",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"V6vf_cn4khwWpSSLhL3U8g",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"W5_oBe3EE8rfEaNM2p_9HQ",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"9DrQdralSppjA1N1joNsjw",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"Le5w0vE7KSJmxHwmtKirXQ",operationName:"Following",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"ONojBytOB8FjsvZKiK_eyQ",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"nCqLTzWBQEg5oWXdMa5DTw",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"aGJuO1bQpmcbGBwrE5Gokw",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"MEKn-0X-2Uq9TwyDOYUbUQ",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},32399:e=>{e.exports={queryId:"EvbTkPDT-xQCfupPu0rWMA",operationName:"TweetStats",operationType:"query",metadata:{featureSwitches:["profile_foundations_tweet_stats_enabled","profile_foundations_tweet_stats_tweet_frequency"]}}},22227:e=>{e.exports={queryId:"8J1KjUH2s8YYiDtQACTBxg",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>H,errorBreadcrumb:()=>U,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>M,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>C,isFatalViewerScopedFollowTimelineError:()=>N,parseUserScopedTimeline:()=>z,parseViewerScopedTimeline:()=>Z});var n=_(58955),i=_(79363),r=_(72599),a=_(32091),o=_(17360),l=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),v=_(15157),m=_.n(v),h=_(63922),f=_.n(h),g=_(41025),y=_.n(g),q=_(70395),x=_.n(q),T=_(84559),k=_.n(T),A=_(53846),B=_.n(A),S=_(44328),I=_.n(S),F=_(51583),Q=_.n(F),G=_(22227),L=_.n(G),P=_(82249);const z=e=>{var t;let _=P.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||P.cY);return _},U=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},Z=e=>{let t=P.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||P.cY);return t},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),C=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:U(e)}),!i&&(0,o.jB)(e)},N=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:U(e)}),!n&&(0,o.jB)(e)},j=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:U(e)}),!i&&(0,o.jB)(e)},M=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:U(e)}),!i&&(0,o.jB)(e)},Y=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:U(e)}),!n&&(0,o.jB)(e)};function K(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?m():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>t.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,l.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:U(t)}),!n&&(0,o.jB)(t)})).then((e=>i(e)||P.cY))}const H=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:K(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:K(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:K(a.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(z),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(z),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},C).then(z),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},N).then(Z),fetchViewerTeams:()=>e.graphQLFullResponse(L(),{...(0,l.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const r=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(B(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},M).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||P.cY}return P.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(I(),{count:_,cursor:n,includePromotedContent:!1,...(0,l.d)(t)},j).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||P.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(k(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,l.d)(t)},Y).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||P.cY}))})},77421:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>s,isFetchFail:()=>l});var n=_(72599),i=_(17360),r=_(32399),a=_.n(r),o=_(97534);const l=(e,t)=>{var _;return(null==t||null==(_=t.result)?void 0:_.user)||(0,n.ZP)("GQL TweetStats: Failed to load User Tweet Stats",{extra:(0,o.errorBreadcrumb)(e)}),(0,i.jB)(e)},s=({apiClient:e,featureSwitches:t})=>({fetchUserTweetStats:({user_id:t})=>e.graphQL(a(),{rest_id:t},l).then((e=>{var _,n;return{tweet_stats:(null==(_=e.result)||null==(n=_.user)?void 0:n.tweet_stats)||{tweet_frequency:void 0},user_id:t}}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var n=_(60917),i=_.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>a,Z:()=>o});var n=_(6899),i=_(46395),r=_(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),o=new n.fK.Array(a)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>l,ZH:()=>s,kH:()=>o});var n=_(78772),i=_(52612),r=_(57659),a=_(62104);const o={All:"any",AutoBlock:"autoblock",Imported:"imported"},l=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===o.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===o.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=r.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetStats.e8e61f4a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetStats.f6bdc3fa.js b/info/endpoints/endpoints.TweetStats.f6bdc3fa.js new file mode 100644 index 0000000..4821c85 --- /dev/null +++ b/info/endpoints/endpoints.TweetStats.f6bdc3fa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetStats","endpoints.Graphql"],{73114:e=>{e.exports={queryId:"uV4bWiYjuXq326tkLXynxg",operationName:"BlockedAccountsAll",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51877:e=>{e.exports={queryId:"1-iEQPJipg8nIK3mE_VpeA",operationName:"BlockedAccountsAutoBlock",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},15157:e=>{e.exports={queryId:"wEKUDeEtpC1gvIN2ijupMw",operationName:"BlockedAccountsImported",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},63922:e=>{e.exports={queryId:"VptSi88PiaQhBevFbGVlGg",operationName:"Followers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},41025:e=>{e.exports={queryId:"Tl2FVCR2RIc12MpXisIZuQ",operationName:"FollowersYouKnow",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},70395:e=>{e.exports={queryId:"FaBzCqZXuQCb4PhB0RHqHw",operationName:"Following",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},84559:e=>{e.exports={queryId:"bgCzgjlIkcgDSvYrGoc4Rw",operationName:"GenericTimelineById",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},53846:e=>{e.exports={queryId:"ICF_wvi_A7oKxpZp9CQmOQ",operationName:"ModeratedTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},44328:e=>{e.exports={queryId:"IMb4ebxl_Vr57Q01aXQhTg",operationName:"MutedAccounts",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},51583:e=>{e.exports={queryId:"0WGHMyaa35Nr7X8QXx9Bgw",operationName:"SuperFollowers",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},32399:e=>{e.exports={queryId:"EvbTkPDT-xQCfupPu0rWMA",operationName:"TweetStats",operationType:"query",metadata:{featureSwitches:["profile_foundations_tweet_stats_enabled","profile_foundations_tweet_stats_tweet_frequency"]}}},22227:e=>{e.exports={queryId:"za_brGx6mpNBSDSLaMPPqw",operationName:"ViewerTeams",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},97534:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>H,errorBreadcrumb:()=>L,isFatalGenericTimelineError:()=>Y,isFatalModeratedTimelineError:()=>R,isFatalTeamsResponseError:()=>E,isFatalUserScopedFollowTimelineError:()=>U,isFatalViewerScopedFollowTimelineError:()=>N,parseUserScopedTimeline:()=>C,parseViewerScopedTimeline:()=>Z});var n=_(58955),i=_(79363),r=_(72599),a=_(32091),l=_(17360),o=_(83175),s=_(6899),d=_(49890);const p=(e=[])=>{const t=e.map((({user_results:e,...t})=>{var _;let n;if("User"===(null==e||null==(_=e.result)?void 0:_.__typename)){const{__typename:t,..._}=e.result;n=_}return{user:n,...t}}));return(0,s.Fv)(t,d.Z)};var b=_(73114),c=_.n(b),u=_(51877),w=_.n(u),m=_(15157),v=_.n(m),h=_(63922),f=_.n(h),g=_(41025),y=_.n(g),q=_(70395),x=_.n(q),T=_(84559),k=_.n(T),I=_(53846),A=_.n(I),B=_(44328),S=_.n(B),F=_(51583),Q=_.n(F),G=_(22227),P=_.n(G),z=_(82249);const C=e=>{var t;let _=z.cY;var n;null!=e&&null!=(t=e.user)&&t.result&&"User"===e.user.result.__typename&&(_=(null==(n=e.user.result.timeline)?void 0:n.timeline)||z.cY);return _},L=e=>{var t;return{code:null==(t=e[0])?void 0:t.code}},Z=e=>{let t=z.cY;var _;null!=e&&e.viewer&&(t=(null==(_=e.viewer.timeline)?void 0:_.timeline)||z.cY);return t},E=e=>Array.isArray(e)&&!(0,i.Z)(e,(e=>Array.isArray(e.path)&&/^viewer.teams.act_as.\d+(.|$)/.test(e.path.join(".")))),U=(e,t)=>{var _,n;const i="User"===(null==t||null==(_=t.user)||null==(n=_.result)?void 0:n.__typename)&&t.user.result.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Follow timeline",{extra:L(e)}),!i&&(0,l.jB)(e)},N=(e,t)=>{var _;const n=null==t||null==(_=t.viewer)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render Subscriptions timeline",{extra:L(e)}),!n&&(0,l.jB)(e)},M=(e,t)=>{var _,n;const i=null==t||null==(_=t.viewer)||null==(n=_.muting_timeline)?void 0:n.timeline;return i||(0,r.ZP)("GQL URT: Failed to render Muting timeline",{extra:L(e)}),!i&&(0,l.jB)(e)},R=(e,t)=>{var _,n;const i="Tweet"===(null==t||null==(_=t.tweet.result)?void 0:_.__typename)&&(null==(n=t.tweet.result.timeline_response)?void 0:n.timeline);return i||(0,r.ZP)("GQL URT: Failed to render ModeratedTimeline timeline",{extra:L(e)}),!i&&(0,l.jB)(e)},Y=(e,t)=>{var _;const n=null==t||null==(_=t.timeline)?void 0:_.timeline;return n||(0,r.ZP)("GQL URT: Failed to render GenericTimelineById",{extra:L(e)}),!n&&(0,l.jB)(e)};function j(e,t,_){let n;function i(e){return e&&e.viewer&&e.viewer&&e.viewer.timeline&&e.viewer.timeline.timeline}return n=e===a.kH.Imported?v():e===a.kH.AutoBlock?w():c(),({count:a,cursor:s})=>t.graphQL(n,{count:a,cursor:s,includePromotedContent:!1,...(0,o.d)(_),withSafetyModeUserFields:_.isTrue("rito_safety_mode_features_enabled")},((t,_)=>{const n=i(_);return n||(0,r.ZP)(`GQL URT: Failed to query for Blocked Accounts [${e}]`,{extra:L(t)}),!n&&(0,l.jB)(t)})).then((e=>i(e)||z.cY))}const H=({apiClient:e,featureSwitches:t})=>({fetchBlockedAccountsImportedGraphql:j(a.kH.Imported,e,t),fetchBlockedAccountsAllGraphql:j(a.kH.All,e,t),fetchBlockedAccountsAutoBlockGraphql:j(a.kH.AutoBlock,e,t),fetchFollowers:({count:_,cursor:n,userId:i})=>e.graphQL(f(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},U).then(C),fetchFollowersYouKnow:({count:_,cursor:n,userId:i})=>e.graphQL(y(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},U).then(C),fetchFollowing:({count:_,cursor:n,userId:i})=>e.graphQL(x(),{userId:i,count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},U).then(C),fetchSuperFollowers:({count:_,cursor:n})=>e.graphQL(Q(),{count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},N).then(Z),fetchViewerTeams:()=>e.graphQLFullResponse(P(),{...(0,o.S)(t)},E).then((({data:e,errors:t})=>{const{viewer:_}=e,i=_&&_.teams&&_.teams.act_as||[];if(!t||!t.length)return i;const r=(0,n.Z)(t.map((e=>e.path&&e.path[3])));return i.filter(((e,t)=>!r.has(t)))})).then(p),fetchModeratedTimeline:({count:_,cursor:n,rootTweetId:i})=>e.graphQL(A(),{rootTweetId:i,count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},R).then((e=>{var t;if("Tweet"===(null==(t=e.tweet.result)?void 0:t.__typename)){var _,n;return(null==(_=e.tweet.result)||null==(n=_.timeline_response)?void 0:n.timeline)||z.cY}return z.cY})),fetchMutedAccounts:({count:_,cursor:n})=>e.graphQL(S(),{count:_,cursor:n,includePromotedContent:!1,...(0,o.d)(t)},M).then((e=>{var t,_;return(null==(t=e.viewer)||null==(_=t.muting_timeline)?void 0:_.timeline)||z.cY})),fetchGenericTimelineById:({count:_,cursor:n,timelineId:i})=>e.graphQL(k(),{timelineId:i,count:_,cursor:n,withQuickPromoteEligibilityTweetFields:!0,...(0,o.d)(t)},Y).then((e=>{var t;return(null==(t=e.timeline)?void 0:t.timeline)||z.cY}))})},77421:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>s,isFetchFail:()=>o});var n=_(72599),i=_(17360),r=_(32399),a=_.n(r),l=_(97534);const o=(e,t)=>{var _;return(null==t||null==(_=t.result)?void 0:_.user)||(0,n.ZP)("GQL TweetStats: Failed to load User Tweet Stats",{extra:(0,l.errorBreadcrumb)(e)}),(0,i.jB)(e)},s=({apiClient:e,featureSwitches:t})=>({fetchUserTweetStats:({user_id:t})=>e.graphQL(a(),{rest_id:t},o).then((e=>{var _,n;return{tweet_stats:(null==(_=e.result)||null==(n=_.user)?void 0:n.tweet_stats)||{tweet_frequency:void 0},user_id:t}}))})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>a,d:()=>r});var n=_(60917),i=_.n(n);const r=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>i()},49890:(e,t,_)=>{"use strict";_.d(t,{B:()=>a,Z:()=>l});var n=_(6899),i=_(46395),r=_(90650);const a=new n.fK.Entity("teams",{user:r.Z},{idAttribute:({user:e})=>e[r.Z.idAttribute]||e,processStrategy:i.Z}),l=new n.fK.Array(a)},32091:(e,t,_)=>{"use strict";_.d(t,{Gm:()=>o,ZH:()=>s,kH:()=>l});var n=_(78772),i=_(52612),r=_(57659),a=_(62104);const l={All:"any",AutoBlock:"autoblock",Imported:"imported"},o=e=>(0,a.Z)({timelineId:`blockedAccountsGraphQL-${e}`,network:{getEndpoint:t=>e===l.Imported?t.Graphql.fetchBlockedAccountsImportedGraphql:e===l.AutoBlock?t.Graphql.fetchBlockedAccountsAutoBlockGraphql:t.Graphql.fetchBlockedAccountsAllGraphql,getEndpointParams:({count:e,cursor:t})=>({count:e,cursor:"string"==typeof t?t:void 0})},context:"FETCH_BLOCKED_ACCOUNTS",perfKey:"blockedAccountsGraphQL",formatResponse:n.Z}),s=e=>(t,_)=>{const n=_();t(e.selectEntries(n).filter((e=>{if(!e.content||e.type!==i.ZP.User)return!1;const t=e.content.id,_=r.ZP.select(n,t);return _&&!_.blocking})).map((t=>e.removeEntry(t.entryId))))}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetStats.f6bdc3fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Tweets.737c65aa.js b/info/endpoints/endpoints.Tweets.737c65aa.js new file mode 100644 index 0000000..8db1a4a --- /dev/null +++ b/info/endpoints/endpoints.Tweets.737c65aa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>be,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>he});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),h=n.n(v),b=n(78152),g=n.n(b),f=n(40558),y=n.n(f),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),q=n(44577),L=n.n(q),S=n(60445),F=n.n(S),D=n(9578),Q=n.n(D),B=n(93764),I=n.n(B),N=n(38150),Z=n.n(N),R=n(69875),P=n.n(R),j=n(25912),E=n.n(j),G=n(24586),U=n.n(G),V=n(84461),M=n.n(V),A=n(63455),O=n.n(A),z=n(17439),W=n.n(z),K=n(50445),Y=n(6623),J=n(63174),X=n(63140),H=n(60348),$=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},he=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},be=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,Y.Y)(n)},r).then((e=>(0,o.Fv)(e,[K.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=X.ZP.BlockedUserError;break;case"Protected":e=X.ZP.StatusViewForbidden;break;case"Bouncer":e=X.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=X.ZP.TweetIsBounceDeleted;break;case"Suspended":e=X.ZP.OtherUserSuspended;break;default:e=X.ZP.GenericNotFound}const n=new J.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,K.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...$.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...$.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,H.gQ)(r);return t.graphQL(P(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,H.gQ)(r);return t.graphQL(M(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(I(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,H.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,H.gQ)(i);return t.graphQL(Z(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,H.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,H.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,H.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...$.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...$.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,H.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...$.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...$.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(L(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...$.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...$.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(W(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...$.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...$.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...$.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(h(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},he)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>L,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),h=n(58803),b=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...b.postDefaults,...e};const h=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==h||null==(d=h.engagement_request)?void 0:d.impression_id)&&{...h},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...f({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=f({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==h||null==(q=h.engagement_request)?void 0:q.impression_id)&&{...h},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function f(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?L(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===h.BatchModeType.FIRST_TWEET?"BatchFirst":e===h.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},L=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Tweets.737c65aa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Tweets.cd45397a.js b/info/endpoints/endpoints.Tweets.cd45397a.js deleted file mode 100644 index a8305fa..0000000 --- a/info/endpoints/endpoints.Tweets.cd45397a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>he,getGlobalDefaults:()=>oe,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>ae,isFatalCreateTweetReaction:()=>ie,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>ve,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>se,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>be});var o=n(6899),r=n(68811),i=n.n(r),s=n(63752),a=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),v=n(2536),b=n.n(v),h=n(78152),g=n.n(h),f=n(40558),y=n.n(f),T=n(45373),k=n.n(T),x=n(99090),C=n.n(x),q=n(44577),L=n.n(q),S=n(60445),F=n.n(S),D=n(9578),Q=n.n(D),B=n(93764),N=n.n(B),I=n(38150),Z=n.n(I),P=n(69875),R=n.n(P),j=n(25912),E=n.n(j),G=n(24586),U=n.n(G),V=n(84461),A=n.n(V),M=n(63455),O=n.n(M),z=n(17439),W=n.n(z),H=n(50445),K=n(6623),Y=n(63174),J=n(63140),X=n(60348),$=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const oe=e=>({cards_platform:s.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...oe(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),ie=(e,t)=>{var n;const o=null==t||null==(n=t.create_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet reaction"),!o&&(0,_.jB)(e)},se=(e,t)=>{var n;const o=null==t||null==(n=t.delete_reaction)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet reaction"),!o&&(0,_.jB)(e)},ae=(e,t)=>{var n;const o=null==t||null==(n=t.create_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to create tweet downvote"),!o&&(0,_.jB)(e)},_e=(e,t)=>{var n;const o=null==t||null==(n=t.delete_downvote)?void 0:n.success;return o||(0,a.ZP)("GQL Reactions: Failed to delete tweet downvote"),!o&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,a.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,a.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,a.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.create_retweet)||null==(o=n.retweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,o;const r=!(null==t||null==(n=t.unretweet)||null==(o=n.source_tweet_results)||!o.result);return r||(0,a.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,a.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,a.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,a.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},he=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,K.Y)(n)},r).then((e=>(0,o.Fv)(e,[H.Z]))),show(e,r){const{id:i,withVisibilityResults:s}=e;return t.graphQL(U(),{tweetId:i,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,i,s,a,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const i=(0,d.Z)({},r,{});return{...(0,o.Fv)(r,u.Z),visibilityResults:i}}if("TweetWithVisibilityResults"===(null==(i=t.tweetResult)||null==(s=i.result)?void 0:s.__typename)){var l;const{__typename:n,tweet:r,...i}=t.tweetResult.result;if(!e)return(0,o.Fv)(r,u.Z);const s=(0,d.Z)(i,r,{}),a="NonCompliant"===(null==s||null==(l=s.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:s.tombstoneInfo}:r;return{...(0,o.Fv)(a,u.Z),visibilityResults:s}}if("TweetUnavailable"===(null==(a=t.tweetResult)||null==(_=a.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=J.ZP.BlockedUserError;break;case"Protected":e=J.ZP.StatusViewForbidden;break;case"Bouncer":e=J.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=J.ZP.TweetIsBounceDeleted;break;case"Suspended":e=J.ZP.OtherUserSuspended;break;default:e=J.ZP.GenericNotFound}const n=new Y.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(s))},fetchTranslation(e,r){const{id:i,lang:s,userLanguage:a}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===a&&l.includes(s)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===s&&u.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===s&&d.includes(a)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${a})`:"None";return t.get(`strato/column/None/tweetId=${i},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,o.Fv)(t,H.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:o}=e;return t.post("mutes/conversations/create",{...$.postDefaults,tweet_id:o},{},n)},unmute(e,n){const{id:o}=e;return t.post("mutes/conversations/destroy",{...$.postDefaults,tweet_id:o},{},n)},like(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(R(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},le)},unlike(e,n){var o;const{promotedContent:r}=e,{id:i}=e,s=(0,X.gQ)(r);return t.graphQL(A(),{tweet_id:i,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},ce)},downvote(e,n){const{id:o}=e;return t.graphQL(k(),{tweet_id:o},ae)},undownvote(e,n){const{id:o}=e;return t.graphQL(N(),{tweet_id:o},_e)},react(e,n){const{id:o,promotedContent:r,reactionType:i}=e;if(i){var s;const e=(0,X.gQ)(r);return t.graphQL(C(),{tweet_id:o,reaction_type:i,...(null==e||null==(s=e.engagement_request)?void 0:s.impression_id)&&{...e}},ie)}},unreact(e,n){var o;const{id:r,promotedContent:i}=e,s=(0,X.gQ)(i);return t.graphQL(Z(),{tweet_id:r,...(null==s||null==(o=s.engagement_request)?void 0:o.impression_id)&&{...s}},se)},retweet(e,o){const{promotedContent:r,...s}=e,a=e.id,_=(0,X.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=i().v4(),n=(0,X.gQ)(r);return t.graphQL(y(),{tweet_id:a,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...$.postDefaults,...n,...s,comparison_id:e},{},o)}return t.post("statuses/retweet",{...$.postDefaults,..._,...s},{},o)},unretweet(e,o){const{id:r}=e,{promotedContent:s,...a}=e,_=(0,X.cL)(s),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(F(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=i().v4();return t.graphQL(F(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...$.postDefaults,..._,...a,comparison_id:e},{},o)}return t.post("statuses/unretweet",{...$.postDefaults,..._,...a},{},o)},bookmark(e,n){const{id:o}=e;return t.graphQL(g(),{tweet_id:o},ue)},unbookmark(e,n){const{id:o}=e;return t.graphQL(L(),{tweet_id:o},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...$.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...$.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(E(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(W(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...$.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,o){const r=i().v4(),s=n.getStringValue("graphql_mutation_destroy_mode"),a=e.id;return"graphql_only"===s?t.graphQL(Q(),{tweet_id:a,dark_request:!1}):"dual_test"===s?(t.graphQL(Q(),{tweet_id:a,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...$.postDefaults,...e,comparison_id:r},{},o)):t.post("statuses/destroy",{...$.postDefaults,...e},{},o)},changeConversationControls(e){const{id:n,policy:o}=e;let r;if("community"===o?r="Community":"by_invitation"===o&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(b(),{tweet_id:n},ve)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(O(),{tweet_id:n},be)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>o});const o=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>o});const o={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>C,getMediaAttachmentsCreateTweet:()=>x,getTaggedUsersCreateTweet:()=>L,isFatalCreateTweet:()=>k});n(36728);var o=n(6899),r=n(68811),i=n.n(r),s=n(72599),a=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),v=n(60348),b=n(58803),h=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var _,d;let p={...r(n),...h.postDefaults,...e};const b=(0,v.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,v.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},x={...(null==b||null==(d=b.engagement_request)?void 0:d.impression_id)&&{...b},...(0,l.d)(n)},C=a.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(C){const r={...y({options:e,featureSwitches:n}),...x};return t.graphQL(c(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}{const r={...f({options:e,featureSwitches:n}),...x};return t.graphQL(w(),r,k).then((e=>{var t,n,r;const i=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,o.Fv)(i,u.Z)}))}}if(g){var q;const r=f({options:e,featureSwitches:n}),a=i().v4();return t.graphQL(w(),{...r,comparison_id:a,dark_request:!0,...(null==b||null==(q=b.engagement_request)?void 0:q.impression_id)&&{...b},...(0,l.d)(n)},k),t.post("statuses/update",{...T,comparison_id:a},{},s).then((e=>(0,o.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},s).then((e=>(0,o.Fv)(e,m.Z)))}}function f(e){const t=T(e),{richtext_options:n,...o}=t;return o}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,o;const r=x(t.media_ids,t.media_tags),i=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=C(t.batch_mode),a=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:i}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=a?a:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(o=t.trusted_friends_control_options)&&o.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function k(e,t){let n;var o,r,i;if(null!=t&&t.notetweet_create)n=null==(o=t.notetweet_create.tweet_results)||null==(r=o.result)||null==(i=r.legacy)?void 0:i.id_str;else if(null!=t&&t.create_tweet){var a,l,u;n=null==(a=t.create_tweet.tweet_results)||null==(l=a.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const x=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,o=n?n[0]:void 0,r=o?L(t,o):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},C=e=>e===b.BatchModeType.FIRST_TWEET?"BatchFirst":e===b.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},L=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>a});var o=n(6899),r=n(70151),i=n(13239),s=n(60348);const a=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,o.Fv)(e,i.Z),l=e=>(0,o.Fv)(e,[i.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,o={})=>e.get("users/lookup",{...a(t),...n},o).then(l),follow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/create",{...a(t),...u,user_id:r,...l},{},o).then(_)},unfollow(n,o={}){const{id_str:r,promotedContent:i,...l}=n,u=(0,s.cL)(i);return e.post("friendships/destroy",{...a(t),...u,user_id:r,...l},{},o).then(_)},cancelPendingFollow(t,n={}){const{id_str:o,...r}=t;return e.post("friendships/cancel",{...r,user_id:o},{},n).then(_)},block(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/create",{...a,user_id:o,...i},{},n).then(_)},unblock(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("blocks/destroy",{...a,user_id:o,...i},{},n).then(_)},mute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/create",{...a,user_id:o,...i},{},n).then(_)},unmute(t,n={}){const{id_str:o,promotedContent:r,...i}=t,a=(0,s.cL)(r);return e.post("mutes/users/destroy",{...a,user_id:o,...i},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:o}=t;return e.get(`strato/column/None/profileUserId=${o},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>i});var o=n(60917),r=n.n(o);const i=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,c:()=>i});n(6886);var o=n(53223),r=n(82436);const i=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),s=(e,t=[])=>({ext:(0,o.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>i,gQ:()=>s});const o=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function i(e){if(!e)return o;const{disclosure_type:t,impression_id:n}=e,i="earned"===a(e),s=JSON.stringify(r(e));if(!t||!n)return o;let _={impression_id:n};return s&&(_={..._,engagement_metadata:s}),i&&(_={..._,earned:1}),_}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,o="earned"===a(e),i=r(e);if(!t||!n)return;let s={impression_id:n};return i&&(s={...s,engagement_metadata:i}),o&&(s={...s,earned:!0}),{engagement_request:{...s}}}function a(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>s,Kc:()=>a,gO:()=>i,zk:()=>r});const o=()=>new Date(Date.now());function r(e,t=o()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function i(e,t=o()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function s(e,t=o()){const n=t-e;return n>=0&&n<=6048e5}function a(e=o().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>o,Oc:()=>a});var o={};n.r(o),n.d(o,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),i=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function a(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const o=(0,i.k)(e),a=r.kh.maxWeightedTweetLength;return o.weightedLength>a}function l(e,t){if(!a(t))return!1;return(0,i.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!a(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>i});var o=n(59158);const r=n.n(o)().version3,i=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>a,WT:()=>o,k2:()=>i.k});var o=n(37971),r=n(68469),i=n(37756),s=n(73228);function a(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function o(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>o})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var o=n(45567),r=n.n(o),i=n(31334),s=n(68469),a=n(37971);function _(e,t){const n=function(e){if(!e)return s.k;if(!i.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:a.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Tweets.cd45397a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetsApi-sendTweet.0b76089a.js b/info/endpoints/endpoints.TweetsApi-sendTweet.0b76089a.js deleted file mode 100644 index 110a8f8..0000000 --- a/info/endpoints/endpoints.TweetsApi-sendTweet.0b76089a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetsApi-sendTweet","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults"],{43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>m,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>k,getMediaAttachmentsCreateTweet:()=>S,getTaggedUsersCreateTweet:()=>E,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),r=n(68811),_=n.n(r),s=n(72599),o=n(31334),a=n(17360),l=n(83175),d=n(85364),u=n(43153),c=n.n(u),p=n(53934),w=n.n(p),b=n(50445),f=n(60348),v=n(58803),h=n(80365);function m(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var a,u;let p={...r(n),...h.postDefaults,...e};const v=(0,f.gQ)(p.promotedContent),m="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,f.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(a=p.trusted_friends_control_options)&&a.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const y={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},S={...(null==v||null==(u=v.engagement_request)?void 0:u.impression_id)&&{...v},...(0,l.d)(n)},k=o.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(k){const r={...T({options:e,featureSwitches:n}),...S};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const _=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(_,d.Z)}))}{const r={...g({options:e,featureSwitches:n}),...S};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const _=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(_,d.Z)}))}}if(m){var q;const r=g({options:e,featureSwitches:n}),o=_().v4();return t.graphQL(w(),{...r,comparison_id:o,dark_request:!0,...(null==v||null==(q=v.engagement_request)?void 0:q.impression_id)&&{...v},...(0,l.d)(n)},x),t.post("statuses/update",{...y,comparison_id:o},{},s).then((e=>(0,i.Fv)(e,b.Z)))}return t.post("statuses/update",y,{},s).then((e=>(0,i.Fv)(e,b.Z)))}}function g(e){const t=y(e),{richtext_options:n,...i}=t;return i}function T(e){return y(e)}function y({featureSwitches:e,options:t}){var n,i;const r=S(t.media_ids,t.media_tags),_=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=k(t.batch_mode),o=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:_}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=o?o:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,r,_;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(r=i.result)||null==(_=r.legacy)?void 0:_.id_str;else if(null!=t&&t.create_tweet){var o,l,d;n=null==(o=t.create_tweet.tweet_results)||null==(l=o.result)||null==(d=l.legacy)?void 0:d.id_str}return!n&&((0,a.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const S=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,r=i?E(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},k=e=>e===v.BatchModeType.FIRST_TWEET?"BatchFirst":e===v.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},E=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>_});var i=n(60917),r=n.n(i);const _=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>_,gQ:()=>s});const i=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function _(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,_="earned"===o(e),s=JSON.stringify(r(e));if(!t||!n)return i;let a={impression_id:n};return s&&(a={...a,engagement_metadata:s}),_&&(a={...a,earned:1}),a}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===o(e),_=r(e);if(!t||!n)return;let s={impression_id:n};return _&&(s={...s,engagement_metadata:_}),i&&(s={...s,earned:!0}),{engagement_request:{...s}}}function o(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},31334:(e,t,n)=>{"use strict";n.d(t,{rh:()=>a,Bq:()=>c,SC:()=>l,v$:()=>i,Oc:()=>o});var i={};n.r(i),n.d(i,{readEnabled:()=>d,writeEnabled:()=>u});var r=n(40997),_=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function o(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function a(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,_.k)(e),o=r.kh.maxWeightedTweetLength;return i.weightedLength>o}function l(e,t){if(!o(t))return!1;return(0,_.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function d(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function u(e){if(!o(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>_});var i=n(59158);const r=n.n(i)().version3,_=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>o,WT:()=>i,k2:()=>_.k});var i=n(37971),r=n(68469),_=n(37756),s=n(73228);function o(e){const t=Boolean(e&&l[e])?2:1;return function(e){return a(Math.ceil(e/t))}}const a=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var i=n(45567),r=n.n(i),_=n(31334),s=n(68469),o=n(37971);function a(e,t){const n=function(e){if(!e)return s.k;if(!_.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:o.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetsApi-sendTweet.0b76089a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TweetsApi-sendTweet.bdfdfa2a.js b/info/endpoints/endpoints.TweetsApi-sendTweet.bdfdfa2a.js new file mode 100644 index 0000000..d9c79b8 --- /dev/null +++ b/info/endpoints/endpoints.TweetsApi-sendTweet.bdfdfa2a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TweetsApi-sendTweet","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults"],{43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>h,getAnnotationIdsCreateTweet:()=>q,getBatchModeCreateTweet:()=>k,getMediaAttachmentsCreateTweet:()=>S,getTaggedUsersCreateTweet:()=>E,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),r=n(68811),_=n.n(r),s=n(72599),o=n(31334),a=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),b=n(50445),f=n(60348),v=n(58803),m=n(80365);function h(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,s={}){var a,d;let p={...r(n),...m.postDefaults,...e};const v=(0,f.gQ)(p.promotedContent),h="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,f.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(a=p.trusted_friends_control_options)&&a.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const y={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},S={...(null==v||null==(d=v.engagement_request)?void 0:d.impression_id)&&{...v},...(0,l.d)(n)},k=o.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(k){const r={...T({options:e,featureSwitches:n}),...S};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const _=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(_,u.Z)}))}{const r={...g({options:e,featureSwitches:n}),...S};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const _=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(_,u.Z)}))}}if(h){var q;const r=g({options:e,featureSwitches:n}),o=_().v4();return t.graphQL(w(),{...r,comparison_id:o,dark_request:!0,...(null==v||null==(q=v.engagement_request)?void 0:q.impression_id)&&{...v},...(0,l.d)(n)},x),t.post("statuses/update",{...y,comparison_id:o},{},s).then((e=>(0,i.Fv)(e,b.Z)))}return t.post("statuses/update",y,{},s).then((e=>(0,i.Fv)(e,b.Z)))}}function g(e){const t=y(e),{richtext_options:n,...i}=t;return i}function T(e){return y(e)}function y({featureSwitches:e,options:t}){var n,i;const r=S(t.media_ids,t.media_tags),_=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],s=k(t.batch_mode),o=q(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:_}},batch_compose:s,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=o?o:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,r,_;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(r=i.result)||null==(_=r.legacy)?void 0:_.id_str;else if(null!=t&&t.create_tweet){var o,l,u;n=null==(o=t.create_tweet.tweet_results)||null==(l=o.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,a.jB)(e)||(0,s.ZP)("GQL Create: Failed to create tweet"),!0)}const S=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,r=i?E(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},k=e=>e===v.BatchModeType.FIRST_TWEET?"BatchFirst":e===v.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,q=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},E=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,d:()=>_});var i=n(60917),r=n.n(i);const _=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...s(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},s=e=>r()},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>_,gQ:()=>s});const i=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function _(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,_="earned"===o(e),s=JSON.stringify(r(e));if(!t||!n)return i;let a={impression_id:n};return s&&(a={...a,engagement_metadata:s}),_&&(a={...a,earned:1}),a}function s(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===o(e),_=r(e);if(!t||!n)return;let s={impression_id:n};return _&&(s={...s,engagement_metadata:_}),i&&(s={...s,earned:!0}),{engagement_request:{...s}}}function o(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},31334:(e,t,n)=>{"use strict";n.d(t,{rh:()=>a,Bq:()=>c,SC:()=>l,v$:()=>i,Oc:()=>o});var i={};n.r(i),n.d(i,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),_=n(37756);function s(e){return e.isTrue("longform_notetweets_consumption_enabled")}function o(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!s(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function a(e,t){if(!s(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,_.k)(e),o=r.kh.maxWeightedTweetLength;return i.weightedLength>o}function l(e,t){if(!o(t))return!1;return(0,_.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!o(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:s(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>_});var i=n(59158);const r=n.n(i)().version3,_=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>o,WT:()=>i,k2:()=>_.k});var i=n(37971),r=n(68469),_=n(37756),s=n(73228);function o(e){const t=Boolean(e&&l[e])?2:1;return function(e){return a(Math.ceil(e/t))}}const a=n.n(s)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var i=n(45567),r=n.n(i),_=n(31334),s=n(68469),o=n(37971);function a(e,t){const n=function(e){if(!e)return s.k;if(!_.Oc(e))return s.k;return{...s.k,maxWeightedTweetLength:o.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TweetsApi-sendTweet.bdfdfa2a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TwitterArticles.42dd7f0a.js b/info/endpoints/endpoints.TwitterArticles.42dd7f0a.js new file mode 100644 index 0000000..2d80482 --- /dev/null +++ b/info/endpoints/endpoints.TwitterArticles.42dd7f0a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TwitterArticles"],{43746:e=>{e.exports={queryId:"jhkj-qtFSM8Lx2C6e6QgCg",operationName:"TwitterArticleCreate",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},96430:e=>{e.exports={queryId:"6st-stMDc7KBqLT8KvWhHg",operationName:"TwitterArticleDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},18424:e=>{e.exports={queryId:"VSaAlBRHvh_b3sl_9t--jQ",operationName:"TwitterArticleByRestId",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91661:e=>{e.exports={queryId:"LC4M-NJS5JRCwEZc9RNLSQ",operationName:"TwitterArticleUpdateCoverImage",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},4588:e=>{e.exports={queryId:"k-BpqYDXOgsEdrxg8uXnVw",operationName:"TwitterArticleUpdateData",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9181:e=>{e.exports={queryId:"jt2i5l8AR6wBT6-kb4ys8g",operationName:"TwitterArticleUpdateMedia",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27189:e=>{e.exports={queryId:"HcGyv7tuDF5lAVf_BjzMmg",operationName:"TwitterArticleUpdateTitle",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},45776:e=>{e.exports={queryId:"1W6h1JHz7Kr25mDgyI7gLw",operationName:"TwitterArticleUpdateVisibility",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65523:e=>{e.exports={queryId:"J24WZ3y9WHIbHkzjWFwB5Q",operationName:"TwitterArticlesSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},11896:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>z});var i=_(6899),n=_(17360),a=_(83175);const r=new i.fK.Entity("twitterArticles",{},{idAttribute:"rest_id"});var s=_(46395);const l=new i.fK.Entity("twitterArticles",{},{processStrategy:(e,t,_)=>{const{twitter_article:i}=e;return(0,s.Z)({...i},t,_)},idAttribute:e=>{var t;return null==e||null==(t=e.twitter_article)?void 0:t.rest_id}});var o=_(43746),d=_.n(o),p=_(96430),b=_.n(p),w=_(18424),c=_.n(w),v=_(65523),u=_.n(v),h=_(91661),m=_.n(h),g=_(4588),f=_.n(g),y=_(9181),q=_.n(y),x=_(27189),A=_.n(x),T=_(45776),I=_.n(T),S=_(82249);const z=({apiClient:e,featureSwitches:t})=>({fetchTwitterArticle(_){const{twitterArticleId:s}=_;return e.graphQL(c(),{twitterArticleId:s,...(0,a.d)(t)},(0,n.kj)((e=>!(null!=e&&e.twitterArticle)),"GQL TwitterArticles: Failed to fetch Twitter Article")).then((e=>(0,i.Fv)(e.twitterArticle,r)))},createTwitterArticle(_){const{contentStateJson:n}=_;return e.graphQL(d(),{data:{content_state_json:n},...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.create_twitter_article,r)))},deleteTwitterArticle(t){const{twitterArticleId:_}=t;return e.graphQL(b(),{twitterArticleId:_}).then((e=>e.delete_twitter_article))},updateTwitterArticleCoverImage(_){const{mediaId:n,twitterArticleId:s}=_;return e.graphQL(m(),{twitterArticleId:s,mediaId:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_cover_image,r)))},updateTwitterArticleData(_){const{contentStateJson:n,plaintext:s,twitterArticleId:l,wordCount:o}=_;return e.graphQL(f(),{twitterArticleId:l,data:{content_state_json:n,plaintext:s,word_count:o},...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article,r)))},updateTwitterArticleMedia(_){const{mediaKeys:n,twitterArticleId:s}=_;return e.graphQL(q(),{twitterArticleId:s,mediaKeys:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_media,r)))},updateTwitterArticleTitle(_){const{title:n,twitterArticleId:s}=_;return e.graphQL(A(),{twitterArticleId:s,title:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_title,r)))},updateTwitterArticleVisibility(_){const{twitterArticleId:n,visibility:s}=_;return e.graphQL(I(),{twitterArticleId:n,visibility:s,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_visibility,r)))},fetchTwitterArticlesSlice:_=>_&&t.isTrue("responsive_web_twitter_article_view_enabled")?e.graphQL(u(),{..._,...(0,a.d)(t)},(0,n.kj)((e=>!1),"GQL TwitterArticles: Failed to fetch Twitter Articles Slice")).then((e=>{const t=(e=>{const t=null==e?void 0:e.user.result;if("User"===(null==t?void 0:t.__typename))return null==t?void 0:t.twitter_articles_slice})(e);if(t){const{items:e,slice_info:_}=t,{entities:n,result:a}=(0,i.Fv)(e,[l]);return{entities:n,result:a,slice_info:_}}return S.d})):Promise.resolve(S.d)})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>a});var i=_(60917),n=_.n(i);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TwitterArticles.42dd7f0a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.TwitterArticles.83cb990a.js b/info/endpoints/endpoints.TwitterArticles.83cb990a.js deleted file mode 100644 index 683ed34..0000000 --- a/info/endpoints/endpoints.TwitterArticles.83cb990a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.TwitterArticles"],{43746:e=>{e.exports={queryId:"g1RGF5RXzZslVOEi4LXMTA",operationName:"TwitterArticleCreate",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},96430:e=>{e.exports={queryId:"6st-stMDc7KBqLT8KvWhHg",operationName:"TwitterArticleDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},18424:e=>{e.exports={queryId:"H8kU_ykSP4fVfzgjuLeZ5A",operationName:"TwitterArticleByRestId",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},91661:e=>{e.exports={queryId:"XSFlWCM3PlehGUMxOUj4rQ",operationName:"TwitterArticleUpdateCoverImage",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},4588:e=>{e.exports={queryId:"hgx_UcgNMLSGtVG8Uj1G-Q",operationName:"TwitterArticleUpdateData",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},9181:e=>{e.exports={queryId:"zSGNtzSpX0whYOeVp7Fbdw",operationName:"TwitterArticleUpdateMedia",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},27189:e=>{e.exports={queryId:"yPHcUnddkSyf1YgFIEymaA",operationName:"TwitterArticleUpdateTitle",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},45776:e=>{e.exports={queryId:"Q_pweUZDL_SemaPvzrVL6w",operationName:"TwitterArticleUpdateVisibility",operationType:"mutation",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},65523:e=>{e.exports={queryId:"JubOVgIZiB7kN9gb9NJL8g",operationName:"TwitterArticlesSlice",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_article_data_v2_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},11896:(e,t,_)=>{"use strict";_.r(t),_.d(t,{default:()=>z});var i=_(6899),n=_(17360),a=_(83175);const r=new i.fK.Entity("twitterArticles",{},{idAttribute:"rest_id"});var s=_(46395);const l=new i.fK.Entity("twitterArticles",{},{processStrategy:(e,t,_)=>{const{twitter_article:i}=e;return(0,s.Z)({...i},t,_)},idAttribute:e=>{var t;return null==e||null==(t=e.twitter_article)?void 0:t.rest_id}});var o=_(43746),d=_.n(o),b=_(96430),p=_.n(b),w=_(18424),c=_.n(w),v=_(65523),u=_.n(v),h=_(91661),m=_.n(h),g=_(4588),f=_.n(g),y=_(9181),x=_.n(y),q=_(27189),A=_.n(q),T=_(45776),I=_.n(T),S=_(82249);const z=({apiClient:e,featureSwitches:t})=>({fetchTwitterArticle(_){const{twitterArticleId:s}=_;return e.graphQL(c(),{twitterArticleId:s,...(0,a.d)(t)},(0,n.kj)((e=>!(null!=e&&e.twitterArticle)),"GQL TwitterArticles: Failed to fetch Twitter Article")).then((e=>(0,i.Fv)(e.twitterArticle,r)))},createTwitterArticle(_){const{contentStateJson:n}=_;return e.graphQL(d(),{data:{content_state_json:n},...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.create_twitter_article,r)))},deleteTwitterArticle(t){const{twitterArticleId:_}=t;return e.graphQL(p(),{twitterArticleId:_}).then((e=>e.delete_twitter_article))},updateTwitterArticleCoverImage(_){const{mediaId:n,twitterArticleId:s}=_;return e.graphQL(m(),{twitterArticleId:s,mediaId:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_cover_image,r)))},updateTwitterArticleData(_){const{contentStateJson:n,plaintext:s,twitterArticleId:l,wordCount:o}=_;return e.graphQL(f(),{twitterArticleId:l,data:{content_state_json:n,plaintext:s,word_count:o},...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article,r)))},updateTwitterArticleMedia(_){const{mediaKeys:n,twitterArticleId:s}=_;return e.graphQL(x(),{twitterArticleId:s,mediaKeys:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_media,r)))},updateTwitterArticleTitle(_){const{title:n,twitterArticleId:s}=_;return e.graphQL(A(),{twitterArticleId:s,title:n,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_title,r)))},updateTwitterArticleVisibility(_){const{twitterArticleId:n,visibility:s}=_;return e.graphQL(I(),{twitterArticleId:n,visibility:s,...(0,a.d)(t)}).then((e=>(0,i.Fv)(e.update_twitter_article_visibility,r)))},fetchTwitterArticlesSlice:_=>_&&t.isTrue("responsive_web_twitter_article_view_enabled")?e.graphQL(u(),{..._,...(0,a.d)(t)},(0,n.kj)((e=>!1),"GQL TwitterArticles: Failed to fetch Twitter Articles Slice")).then((e=>{const t=(e=>{const t=null==e?void 0:e.user.result;if("User"===(null==t?void 0:t.__typename))return null==t?void 0:t.twitter_articles_slice})(e);if(t){const{items:e,slice_info:_}=t,{entities:n,result:a}=(0,i.Fv)(e,[l]);return{entities:n,result:a,slice_info:_}}return S.d})):Promise.resolve(S.d)})},83175:(e,t,_)=>{"use strict";_.d(t,{S:()=>r,d:()=>a});var i=_(60917),n=_.n(i);const a=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...r(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},r=e=>n()}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.TwitterArticles.83cb990a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Typeahead.46dddb1a.js b/info/endpoints/endpoints.Typeahead.46dddb1a.js deleted file mode 100644 index 00b2848..0000000 --- a/info/endpoints/endpoints.Typeahead.46dddb1a.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Typeahead"],{84478:e=>{e.exports={queryId:"npEFiYc3sCX-YDHZ1B69nw",operationName:"CommunityMemberRelationshipTypeahead",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled"]}}},76776:e=>{e.exports={queryId:"C9CUCfAvlaMEhJBmM2hZkg",operationName:"CommunityUserRelationshipTypeahead",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled"]}}},55895:e=>{e.exports={queryId:"_vUIWq3vpyL0amiNTjrM-w",operationName:"TrustedFriendsTypeahead",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},43524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var i=r(6899),s=r(70151),n=r(90968),_=r(95212),a=r(45611);function u(e){const{community_results:{rest_id:t},role:r,user_results:{result:i}}=e;if(!i||"User"!==i.__typename||!e)return;const{id:s,legacy:n,rest_id:_}=i,a=null==n?void 0:n.screen_name;return a?{id_str:`${t}_${_}`,role:r,user:{id:s,screen_name:a}}:void 0}const l=new i.fK.Entity(a.L,{},{idAttribute:"id_str"});var d=r(12006),o=r(84478),m=r.n(o),c=r(76776),p=r.n(c),y=r(55895),f=r.n(y);const v=e=>e.map((e=>{const{result:t}=e.user_results;if("User"===(null==t?void 0:t.__typename)&&t.legacy){const e=t.legacy;return{id_str:t.rest_id,is_blue_verified:t.is_blue_verified,profile_image_url_https:e.profile_image_url_https||"",can_dm:e.can_dm||!1,can_media_tag:e.can_media_tag||!1,protected:e.protected||!1,verified:e.verified||!1,name:e.name||"",screen_name:e.screen_name||""}}})).filter(Boolean),b=({apiClient:e,featureSwitches:t})=>({fetch(r,i={}){const n=t.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),_=t.isTrue("blue_business_consumption_api_enabled"),a={...(0,s.Z)(n?{include_ext_is_blue_verified:1}:null),...(0,s.Z)(_?{include_ext_verified_type:1}:null),...r};return e.get("search/typeahead",a,i)},fetchTrustedFriendsSuggestions:t=>e.graphQL(f(),{trustedFriendsId:t.trustedFriendsId,prefix:t.prefix}).then((e=>({events:[],ordered_sections:[],topics:[],users:e.trusted_friends_list_by_rest_id.recommended_members_typeahead_results.map((e=>{const{result:t}=e;if("User"===(null==t?void 0:t.__typename)&&t.legacy){var r,i,s;const e=t.legacy;return{id_str:t.rest_id,is_trusted_friends_list_member:t.is_trusted_friends_list_member,profile_image_url_https:e.profile_image_url_https||"",can_dm:e.can_dm||!1,can_media_tag:e.can_media_tag||!1,protected:e.protected||!1,verified:e.verified||!1,is_blue_verified:null!=(r=t.is_blue_verified)&&r,verified_type:null!=(i=t.legacy.verified_type)?i:void 0,name:e.name||"",screen_name:e.screen_name||"",highlightedLabel:(0,d.H)(null==(s=t.identity_profile_labels_highlighted_label)?void 0:s.label)}}})).filter(Boolean)}))),fetchCommunityInviteUsers:t=>e.graphQL(p(),{communityId:t.communityId,prefix:t.prefix}).then((e=>{var t;const r="Community"===(null==(t=e.communityResults.result)?void 0:t.__typename)&&e.communityResults.result;if(!r)return{events:[],ordered_sections:[],topics:[],users:[],invite_action_results:{result:[]}};const s=r.user_relationship_typeahead,n=v(s),a=s.map(_.W).filter(Boolean);return{events:[],ordered_sections:[],topics:[],users:n,invite_action_results:(0,i.Fv)(a,[_.Z])}})),fetchCommunityMembers:t=>e.graphQL(m(),{communityId:t.communityId,prefix:t.prefix}).then((e=>{var t;const r="Community"===(null==(t=e.communityResults.result)?void 0:t.__typename)&&e.communityResults.result;if(!r)return{events:[],ordered_sections:[],topics:[],users:[],user_community_relationships:{result:[]}};const s=r.member_relationship_typeahead.filter((e=>e.role!==n.WW.NonMember)),_=v(s).filter((e=>!!e.screen_name)),a=s.map(u).filter(Boolean);return{events:[],ordered_sections:[],topics:[],users:_,user_community_relationships:(0,i.Fv)(a,[l])}})),prefetchUsers(r,i={}){const n=t.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),_=t.isTrue("blue_business_consumption_api_enabled"),a={prefetch:!0,media_tagging_in_prefetch:!0,result_type:"users",...(0,s.Z)(n?{include_ext_is_blue_verified:1}:null),...(0,s.Z)(_?{include_ext_verified_type:1}:null),...r};return e.get("search/typeahead",a,i)}})},12006:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var i=r(3760);function s(e){if(!e)return;const{badge:t,description:r,url:s,userLabelDisplayType:n,userLabelType:_}=e;return{badge:t,description:r,userLabelType:_,userLabelDisplayType:n,url:s&&(0,i.Z)(s)}}},45611:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,Z:()=>c});r(6886);var i=r(15729),s=r(90968),n=r(36325),_=r(23006),a=r(29122),u=r(91191);const l="userCommunityRoleRelationship",d=(0,a.ZP)({namespace:l}),o={markUserAsRemovedFromCommunity:(0,a.Tx)(d,"markUserAsRemovedFromCommunity",{getMeta:e=>{const[t,r]=e.split("_");return{communityId:t,entityId:e,userId:r}},reducer:(e,t)=>{const{entityId:r}=t.meta;return r?(0,i.ZP)(e,(e=>{e.entities[r]&&(e.entities[r].role=s.WW.NonMember)})):e},relayStoreUpdater:(e,t)=>{var r;const{communityId:i,userId:s}=t,a=e.get((0,n.WG)("Community",i)),u=(0,_.h)(a),l=null==u||null==(r=u.getLinkedRecords("items_results"))?void 0:r.filter((e=>{var t;return(null==e||null==(t=e.getLinkedRecord("result"))?void 0:t.getValue("rest_id"))!==s}));l&&(null==u||u.setLinkedRecords(l,"items_results"))},context:"MARK_USER_AS_REMOVED_FROM_COMMUNITY"})},m={...d,...o},c=u.Z.register(m)},23006:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var i=r(23555);const s=e=>e&&(0,i.$R)(e,"CommunityMembers_Query_members_slice")}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Typeahead.46dddb1a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.Typeahead.be2cf80a.js b/info/endpoints/endpoints.Typeahead.be2cf80a.js new file mode 100644 index 0000000..9986ba7 --- /dev/null +++ b/info/endpoints/endpoints.Typeahead.be2cf80a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.Typeahead"],{84478:e=>{e.exports={queryId:"NEwac2-8ONgf0756ne8oXA",operationName:"CommunityMemberRelationshipTypeahead",operationType:"query",metadata:{featureSwitches:[]}}},76776:e=>{e.exports={queryId:"gi_UGcUurYp6N6p2BaLJqQ",operationName:"CommunityUserRelationshipTypeahead",operationType:"query",metadata:{featureSwitches:[]}}},55895:e=>{e.exports={queryId:"5Lk54zXPQ43I-LChXe-aIQ",operationName:"TrustedFriendsTypeahead",operationType:"query",metadata:{featureSwitches:["responsive_web_graphql_timeline_navigation_enabled"]}}},43524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var i=r(6899),s=r(70151),n=r(90968),_=r(95212),u=r(45611);function a(e){const{community_results:{rest_id:t},role:r,user_results:{result:i}}=e;if(!i||"User"!==i.__typename||!e)return;const{id:s,legacy:n,rest_id:_}=i,u=null==n?void 0:n.screen_name;return u?{id_str:`${t}_${_}`,role:r,user:{id:s,screen_name:u}}:void 0}const l=new i.fK.Entity(u.L,{},{idAttribute:"id_str"});var o=r(12006),d=r(84478),m=r.n(d),c=r(76776),p=r.n(c),y=r(55895),f=r.n(y);const v=e=>e.map((e=>{const{result:t}=e.user_results;if("User"===(null==t?void 0:t.__typename)&&t.legacy){const e=t.legacy;return{id_str:t.rest_id,is_blue_verified:t.is_blue_verified,profile_image_url_https:e.profile_image_url_https||"",can_dm:e.can_dm||!1,can_media_tag:e.can_media_tag||!1,protected:e.protected||!1,verified:e.verified||!1,name:e.name||"",screen_name:e.screen_name||""}}})).filter(Boolean),h=({apiClient:e,featureSwitches:t})=>({fetch(r,i={}){const n=t.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),_=t.isTrue("blue_business_consumption_api_enabled"),u={...(0,s.Z)(n?{include_ext_is_blue_verified:1}:null),...(0,s.Z)(_?{include_ext_verified_type:1}:null),...r};return e.get("search/typeahead",u,i)},fetchTrustedFriendsSuggestions:t=>e.graphQL(f(),{trustedFriendsId:t.trustedFriendsId,prefix:t.prefix}).then((e=>({events:[],ordered_sections:[],topics:[],users:e.trusted_friends_list_by_rest_id.recommended_members_typeahead_results.map((e=>{const{result:t}=e;if("User"===(null==t?void 0:t.__typename)&&t.legacy){var r,i,s;const e=t.legacy;return{id_str:t.rest_id,is_trusted_friends_list_member:t.is_trusted_friends_list_member,profile_image_url_https:e.profile_image_url_https||"",can_dm:e.can_dm||!1,can_media_tag:e.can_media_tag||!1,protected:e.protected||!1,verified:e.verified||!1,is_blue_verified:null!=(r=t.is_blue_verified)&&r,verified_type:null!=(i=t.legacy.verified_type)?i:void 0,name:e.name||"",screen_name:e.screen_name||"",highlightedLabel:(0,o.H)(null==(s=t.identity_profile_labels_highlighted_label)?void 0:s.label)}}})).filter(Boolean)}))),fetchCommunityInviteUsers:t=>e.graphQL(p(),{communityId:t.communityId,prefix:t.prefix}).then((e=>{var t;const r="Community"===(null==(t=e.communityResults.result)?void 0:t.__typename)&&e.communityResults.result;if(!r)return{events:[],ordered_sections:[],topics:[],users:[],invite_action_results:{result:[]}};const s=r.user_relationship_typeahead,n=v(s),u=s.map(_.W).filter(Boolean);return{events:[],ordered_sections:[],topics:[],users:n,invite_action_results:(0,i.Fv)(u,[_.Z])}})),fetchCommunityMembers:t=>e.graphQL(m(),{communityId:t.communityId,prefix:t.prefix}).then((e=>{var t;const r="Community"===(null==(t=e.communityResults.result)?void 0:t.__typename)&&e.communityResults.result;if(!r)return{events:[],ordered_sections:[],topics:[],users:[],user_community_relationships:{result:[]}};const s=r.member_relationship_typeahead.filter((e=>e.role!==n.WW.NonMember)),_=v(s).filter((e=>!!e.screen_name)),u=s.map(a).filter(Boolean);return{events:[],ordered_sections:[],topics:[],users:_,user_community_relationships:(0,i.Fv)(u,[l])}})),prefetchUsers(r,i={}){const n=t.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),_=t.isTrue("blue_business_consumption_api_enabled"),u={prefetch:!0,media_tagging_in_prefetch:!0,result_type:"users",...(0,s.Z)(n?{include_ext_is_blue_verified:1}:null),...(0,s.Z)(_?{include_ext_verified_type:1}:null),...r};return e.get("search/typeahead",u,i)}})},12006:(e,t,r)=>{"use strict";r.d(t,{H:()=>s});var i=r(3760);function s(e){if(!e)return;const{badge:t,description:r,url:s,userLabelDisplayType:n,userLabelType:_}=e;return{badge:t,description:r,userLabelType:_,userLabelDisplayType:n,url:s&&(0,i.Z)(s)}}},45611:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,Z:()=>c});r(6886);var i=r(15729),s=r(90968),n=r(36325),_=r(23006),u=r(29122),a=r(91191);const l="userCommunityRoleRelationship",o=(0,u.ZP)({namespace:l}),d={markUserAsRemovedFromCommunity:(0,u.Tx)(o,"markUserAsRemovedFromCommunity",{getMeta:e=>{const[t,r]=e.split("_");return{communityId:t,entityId:e,userId:r}},reducer:(e,t)=>{const{entityId:r}=t.meta;return r?(0,i.ZP)(e,(e=>{e.entities[r]&&(e.entities[r].role=s.WW.NonMember)})):e},relayStoreUpdater:(e,t)=>{var r;const{communityId:i,userId:s}=t,u=e.get((0,n.WG)("Community",i)),a=(0,_.h)(u),l=null==a||null==(r=a.getLinkedRecords("items_results"))?void 0:r.filter((e=>{var t;return(null==e||null==(t=e.getLinkedRecord("result"))?void 0:t.getValue("rest_id"))!==s}));l&&(null==a||a.setLinkedRecords(l,"items_results"))},context:"MARK_USER_AS_REMOVED_FROM_COMMUNITY"})},m={...o,...d},c=a.Z.register(m)},23006:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var i=r(23555);const s=e=>e&&(0,i.$R)(e,"CommunityMembers_Query_members_slice")}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.Typeahead.be2cf80a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.URT.5e7b89ca.js b/info/endpoints/endpoints.URT.5e7b89ca.js deleted file mode 100644 index ab8114c..0000000 --- a/info/endpoints/endpoints.URT.5e7b89ca.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.URT","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},42945:e=>{e.exports={queryId:"WWiKTOEDW5k69RUoMREQCQ",operationName:"ConnectTabTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"cKHnuc7thg0HT-A0gHnPcw",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"SL7Y6NjCx8o4NkEJP3Eb2A",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},93786:e=>{e.exports={queryId:"8x5eGVJkDN_YLLLcxYZf7A",operationName:"ExplorePage",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},41124:e=>{e.exports={queryId:"-VaK_gJMBA8MwtTJybphyA",operationName:"SearchTimeline",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},43147:e=>{e.exports={queryId:"vfVbgvTPTQ-dF_PQ5lD1WQ",operationName:"timelinesFeedback",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"ncDeACNGIApPMaqGVuF_rw",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9791:e=>{e.exports={queryId:"BmmoQB0ayoMeMsqMrkjYxQ",operationName:"UrtFixtures",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>he,getGlobalDefaults:()=>ie,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>de,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>se,isFatalCreateTweetReaction:()=>oe,isFatalDeleteBookmark:()=>ue,isFatalDeleteConversationControls:()=>be,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>ae,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>ve});var i=n(6899),r=n(68811),o=n.n(r),a=n(63752),s=n(72599),_=n(17360),l=n(83175),d=n(85364),u=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),b=n(2536),v=n.n(b),h=n(78152),g=n.n(h),f=n(40558),y=n.n(f),T=n(45373),x=n.n(T),q=n(99090),k=n.n(q),C=n(44577),L=n.n(C),S=n(60445),Q=n.n(S),F=n(9578),R=n.n(F),D=n(93764),N=n.n(D),I=n(38150),U=n.n(I),j=n(69875),B=n.n(j),Z=n(25912),P=n.n(Z),E=n(24586),G=n.n(E),O=n(84461),M=n.n(O),A=n(63455),V=n.n(A),Y=n(17439),z=n.n(Y),W=n(50445),J=n(6623),K=n(63174),H=n(63140),$=n(60348),X=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const ie=e=>({cards_platform:a.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...ie(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),oe=(e,t)=>{var n;const i=null==t||null==(n=t.create_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet reaction"),!i&&(0,_.jB)(e)},ae=(e,t)=>{var n;const i=null==t||null==(n=t.delete_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet reaction"),!i&&(0,_.jB)(e)},se=(e,t)=>{var n;const i=null==t||null==(n=t.create_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet downvote"),!i&&(0,_.jB)(e)},_e=(e,t)=>{var n;const i=null==t||null==(n=t.delete_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet downvote"),!i&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,s.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,s.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,i;const r=!(null==t||null==(n=t.create_retweet)||null==(i=n.retweet_results)||!i.result);return r||(0,s.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,i;const r=!(null==t||null==(n=t.unretweet)||null==(i=n.source_tweet_results)||!i.result);return r||(0,s.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,s.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,s.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,s.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},he=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,J.Y)(n)},r).then((e=>(0,i.Fv)(e,[W.Z]))),show(e,r){const{id:o,withVisibilityResults:a}=e;return t.graphQL(G(),{tweetId:o,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,o,a,s,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,i.Fv)(r,d.Z);const o=(0,u.Z)({},r,{});return{...(0,i.Fv)(r,d.Z),visibilityResults:o}}if("TweetWithVisibilityResults"===(null==(o=t.tweetResult)||null==(a=o.result)?void 0:a.__typename)){var l;const{__typename:n,tweet:r,...o}=t.tweetResult.result;if(!e)return(0,i.Fv)(r,d.Z);const a=(0,u.Z)(o,r,{}),s="NonCompliant"===(null==a||null==(l=a.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:a.tombstoneInfo}:r;return{...(0,i.Fv)(s,d.Z),visibilityResults:a}}if("TweetUnavailable"===(null==(s=t.tweetResult)||null==(_=s.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=H.ZP.BlockedUserError;break;case"Protected":e=H.ZP.StatusViewForbidden;break;case"Bouncer":e=H.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=H.ZP.TweetIsBounceDeleted;break;case"Suspended":e=H.ZP.OtherUserSuspended;break;default:e=H.ZP.GenericNotFound}const n=new K.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(a))},fetchTranslation(e,r){const{id:o,lang:a,userLanguage:s}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===s&&l.includes(a)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===a&&d.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===a&&u.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${s})`:"None";return t.get(`strato/column/None/tweetId=${o},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,i.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:i}=e;return t.post("mutes/conversations/create",{...X.postDefaults,tweet_id:i},{},n)},unmute(e,n){const{id:i}=e;return t.post("mutes/conversations/destroy",{...X.postDefaults,tweet_id:i},{},n)},like(e,n){var i;const{promotedContent:r}=e,{id:o}=e,a=(0,$.gQ)(r);return t.graphQL(B(),{tweet_id:o,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},le)},unlike(e,n){var i;const{promotedContent:r}=e,{id:o}=e,a=(0,$.gQ)(r);return t.graphQL(M(),{tweet_id:o,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ce)},downvote(e,n){const{id:i}=e;return t.graphQL(x(),{tweet_id:i},se)},undownvote(e,n){const{id:i}=e;return t.graphQL(N(),{tweet_id:i},_e)},react(e,n){const{id:i,promotedContent:r,reactionType:o}=e;if(o){var a;const e=(0,$.gQ)(r);return t.graphQL(k(),{tweet_id:i,reaction_type:o,...(null==e||null==(a=e.engagement_request)?void 0:a.impression_id)&&{...e}},oe)}},unreact(e,n){var i;const{id:r,promotedContent:o}=e,a=(0,$.gQ)(o);return t.graphQL(U(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ae)},retweet(e,i){const{promotedContent:r,...a}=e,s=e.id,_=(0,$.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var d;const e=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:s,...(null==e||null==(d=e.engagement_request)?void 0:d.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var u;const e=o().v4(),n=(0,$.gQ)(r);return t.graphQL(y(),{tweet_id:s,comparison_id:e,...(null==n||null==(u=n.engagement_request)?void 0:u.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...X.postDefaults,...n,...a,comparison_id:e},{},i)}return t.post("statuses/retweet",{...X.postDefaults,..._,...a},{},i)},unretweet(e,i){const{id:r}=e,{promotedContent:a,...s}=e,_=(0,$.cL)(a),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(Q(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=o().v4();return t.graphQL(Q(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...X.postDefaults,..._,...s,comparison_id:e},{},i)}return t.post("statuses/unretweet",{...X.postDefaults,..._,...s},{},i)},bookmark(e,n){const{id:i}=e;return t.graphQL(g(),{tweet_id:i},de)},unbookmark(e,n){const{id:i}=e;return t.graphQL(L(),{tweet_id:i},ue)},pin:(e,n={})=>t.post("account/pin_tweet",{...X.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...X.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(P(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(z(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...X.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,i){const r=o().v4(),a=n.getStringValue("graphql_mutation_destroy_mode"),s=e.id;return"graphql_only"===a?t.graphQL(R(),{tweet_id:s,dark_request:!1}):"dual_test"===a?(t.graphQL(R(),{tweet_id:s,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...X.postDefaults,...e,comparison_id:r},{},i)):t.post("statuses/destroy",{...X.postDefaults,...e},{},i)},changeConversationControls(e){const{id:n,policy:i}=e;let r;if("community"===i?r="Community":"by_invitation"===i&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(v(),{tweet_id:n},be)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(V(),{tweet_id:n},ve)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>C,getBatchModeCreateTweet:()=>k,getMediaAttachmentsCreateTweet:()=>q,getTaggedUsersCreateTweet:()=>L,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),r=n(68811),o=n.n(r),a=n(72599),s=n(31334),_=n(17360),l=n(83175),d=n(85364),u=n(43153),c=n.n(u),p=n(53934),w=n.n(p),m=n(50445),b=n(60348),v=n(58803),h=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,a={}){var _,u;let p={...r(n),...h.postDefaults,...e};const v=(0,b.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,b.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},q={...(null==v||null==(u=v.engagement_request)?void 0:u.impression_id)&&{...v},...(0,l.d)(n)},k=s.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(k){const r={...y({options:e,featureSwitches:n}),...q};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const o=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(o,d.Z)}))}{const r={...f({options:e,featureSwitches:n}),...q};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const o=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(o,d.Z)}))}}if(g){var C;const r=f({options:e,featureSwitches:n}),s=o().v4();return t.graphQL(w(),{...r,comparison_id:s,dark_request:!0,...(null==v||null==(C=v.engagement_request)?void 0:C.impression_id)&&{...v},...(0,l.d)(n)},x),t.post("statuses/update",{...T,comparison_id:s},{},a).then((e=>(0,i.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},a).then((e=>(0,i.Fv)(e,m.Z)))}}function f(e){const t=T(e),{richtext_options:n,...i}=t;return i}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,i;const r=q(t.media_ids,t.media_tags),o=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],a=k(t.batch_mode),s=C(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:o}},batch_compose:a,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=s?s:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,r,o;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(r=i.result)||null==(o=r.legacy)?void 0:o.id_str;else if(null!=t&&t.create_tweet){var s,l,d;n=null==(s=t.create_tweet.tweet_results)||null==(l=s.result)||null==(d=l.legacy)?void 0:d.id_str}return!n&&((0,_.jB)(e)||(0,a.ZP)("GQL Create: Failed to create tweet"),!0)}const q=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,r=i?L(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},k=e=>e===v.BatchModeType.FIRST_TWEET?"BatchFirst":e===v.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,C=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},L=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},7276:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,getDefaults:()=>y});var i=n(98209),r=n(93333),o=n(17360),a=n(83175),s=n(42945),_=n.n(s),l=n(93786),d=n.n(l),u=n(41124),c=n.n(u),p=n(43147),w=n.n(p),m=n(9791),b=n.n(m),v=n(6623),h=n(82249),g=n(87233),f=n(55371);const y=e=>({...f.getGlobalDefaults(e),...g.getGlobalDefaults(e),include_entities:!0,include_user_entities:!0,include_ext_media_color:!0,include_ext_media_availability:!0,include_ext_sensitive_media_warning:!0,include_ext_trusted_friends_metadata:!0,send_error_codes:!0,simple_quoted_tweet:!0}),T={pc:1,spelling_corrections:1},x=({apiClient:e,featureSwitches:t})=>({fetchNotifications(n,i={}){const{type:r,...o}=n;return e.getURT(`notifications/${r}`,Object.assign({},y(t),o,(0,v.Y)(t)),i)},fetchNotificationsUnreadCount(t,n={}){const{type:i,...r}=t;return e.getURT(`notifications/${i}/unread_count`,{...r,include_tweet_replies:!0},n)},updateNotificationsLastSeenCursor(t,n={}){const{type:i,...r}=t;return e.postURT(`notifications/${i}/last_seen_cursor`,r,{},n)},fetchSearch:(n,r={})=>e.getURT("search/adaptive",Object.assign({},y(t),n,T,{include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled")},(0,v.Y)(t),(e=>i.Z.shouldDisablePromotedContentFromRequests(e)?{pc:"0"}:{})(t),{}),r),fetchSearchGraphQL:({count:n,cursor:i,product:r,querySource:s,rawQuery:_})=>e.graphQL(c(),{rawQuery:_||"",count:n,cursor:i,querySource:s,product:r,...(0,a.d)(t)},(0,o.kj)((e=>{var t,n;return!(null!=e&&null!=(t=e.search_by_raw_query)&&null!=(n=t.search_timeline)&&n.timeline)}),"GQL URT: Failed to render SearchTimeline")).then((e=>{var t,n;return(null==(t=e.search_by_raw_query)||null==(n=t.search_timeline)?void 0:n.timeline)||h.cY})),fetchGeneric(n,i={}){const{endpointUrl:r,...o}=n;return e.getUnversioned(r,Object.assign({},y(t),o,(0,v.Y)(t)),{...i,...(0,v.c)()})},fetchReactiveInstructions(n,i={}){const{timeout:r,...o}=n;return e.getURT("timeline/reactive",Object.assign({},y(t),o,(0,v.Y)(t)),i,".json",r)},fetchTestFixtures:(n,i)=>e.getURT("timeline/fixture",Object.assign({},y(t),n),{...i,...(0,v.c)()}),fetchTestGraphqlFixtures:(n,i)=>e.graphQL(b(),{includePromotedContent:!0,...(0,a.d)(t)},((e,t)=>{var n,i;return!(null!=t&&null!=(n=t.viewer)&&null!=(i=n.urt_fixture)&&i.timeline)})).then((e=>{var t,n;return null==e||null==(t=e.viewer)||null==(n=t.urt_fixture)?void 0:n.timeline})),fetchExplore:(n,i)=>e.getURT("guide",Object.assign({},y(t),n,(0,v.Y)(t)),{...i,...(0,v.c)()}),fetchExploreGraphQL:({context:n,cursor:i})=>e.graphQL(d(),{cursor:i?i.toString():"",context:n,...(0,a.d)(t)},(0,o.kj)((e=>!(null!=e&&e.explore_page)),"GQL URT: Failed to render Explore GraphQL")).then((e=>e.explore_page||h.ln)),fetchUserMoments(n,i){const o={...i,...(0,r.Z)(n.activeTeamId),...(0,v.c)(),"content-type":"application/json"},{includeCapsuleContents:a,...s}=n;return e.getURT("moments/list_user_moments",Object.assign({},y(t),s,{include_capsule_contents:a}),o)},postCustomEndpoint(t,n={}){const{endpoint:i,...r}=t;return e.postUnversioned(i,r,n)},fetchLiveEventTimeline(n,i){const{eventId:r,...o}=n;return e.getURT(`live_event/timeline/${r}`,Object.assign({},y(t),o,(0,v.Y)(t),{urt:!0,get_annotations:t.isTrue("moment_annotations_enabled")}),{...i,...(0,v.c)()})},fetchExploreTopic:(n,i={})=>e.getURT("guide/topic",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchNewsLandingTimeline:(n,i={})=>e.getURT("rux",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchRichConnectTimeline:(n,i={})=>e.getURT("people_discovery/modules_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchRichSuggestedTimeline:(n,i={})=>e.getURT("people_discovery/modules_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchNUXUserRecommendations:(n,i={})=>e.getURT("onboarding/fetch_user_recommendations_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),submitTimelinesFeedback:t=>e.graphQL(w(),{...t}),fetchRichConnectTimelineGraphql:({context:n,count:i,cursor:r})=>e.graphQL(_(),{count:i,cursor:r,context:n,...(0,a.d)(t)},(0,o.kj)((e=>{var t;return!(null!=e&&null!=(t=e.connect_tab_timeline)&&t.timeline)}),"GQL URT: Failed to render ConnectTabTimeline")).then((e=>{var t;return(null==(t=e.connect_tab_timeline)?void 0:t.timeline)||h.cY}))})},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d,getGlobalDefaults:()=>s});var i=n(6899),r=n(70151),o=n(13239),a=n(60348);const s=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,i.Fv)(e,o.Z),l=e=>(0,i.Fv)(e,[o.Z]),d=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,i={})=>e.get("users/lookup",{...s(t),...n},i).then(l),follow(n,i={}){const{id_str:r,promotedContent:o,...l}=n,d=(0,a.cL)(o);return e.post("friendships/create",{...s(t),...d,user_id:r,...l},{},i).then(_)},unfollow(n,i={}){const{id_str:r,promotedContent:o,...l}=n,d=(0,a.cL)(o);return e.post("friendships/destroy",{...s(t),...d,user_id:r,...l},{},i).then(_)},cancelPendingFollow(t,n={}){const{id_str:i,...r}=t;return e.post("friendships/cancel",{...r,user_id:i},{},n).then(_)},block(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("blocks/create",{...s,user_id:i,...o},{},n).then(_)},unblock(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("blocks/destroy",{...s,user_id:i,...o},{},n).then(_)},mute(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("mutes/users/create",{...s,user_id:i,...o},{},n).then(_)},unmute(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("mutes/users/destroy",{...s,user_id:i,...o},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:i}=t;return e.get(`strato/column/None/profileUserId=${i},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,d:()=>o});var i=n(60917),r=n.n(i);const o=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a,c:()=>o});n(6886);var i=n(53223),r=n(82436);const o=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),a=(e,t=[])=>({ext:(0,i.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>o,gQ:()=>a});const i=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function o(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,o="earned"===s(e),a=JSON.stringify(r(e));if(!t||!n)return i;let _={impression_id:n};return a&&(_={..._,engagement_metadata:a}),o&&(_={..._,earned:1}),_}function a(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===s(e),o=r(e);if(!t||!n)return;let a={impression_id:n};return o&&(a={...a,engagement_metadata:o}),i&&(a={...a,earned:!0}),{engagement_request:{...a}}}function s(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},98209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=(()=>{let e=!1;return{recordAdBlockerPresence:()=>{e=!0},shouldHidePromotedTweets:t=>e&&t.isTrue("responsive_web_extension_compatibility_hide"),shouldDisablePromotedContentFromRequests:t=>e&&t.isTrue("responsive_web_extension_compatibility_override_param")}})()},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>a,Kc:()=>s,gO:()=>o,zk:()=>r});const i=()=>new Date(Date.now());function r(e,t=i()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function o(e,t=i()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function a(e,t=i()){const n=t-e;return n>=0&&n<=6048e5}function s(e=i().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>i,Oc:()=>s});var i={};n.r(i),n.d(i,{readEnabled:()=>d,writeEnabled:()=>u});var r=n(40997),o=n(37756);function a(e){return e.isTrue("longform_notetweets_consumption_enabled")}function s(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!a(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!a(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,o.k)(e),s=r.kh.maxWeightedTweetLength;return i.weightedLength>s}function l(e,t){if(!s(t))return!1;return(0,o.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function d(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function u(e){if(!s(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:a(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},93333:(e,t,n)=>{"use strict";function i(e){return e?{"x-act-as-user-id":e}:{}}n.d(t,{Z:()=>i})},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>o});var i=n(59158);const r=n.n(i)().version3,o=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>s,WT:()=>i,k2:()=>o.k});var i=n(37971),r=n(68469),o=n(37756),a=n(73228);function s(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(a)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var i=n(45567),r=n.n(i),o=n(31334),a=n(68469),s=n(37971);function _(e,t){const n=function(e){if(!e)return a.k;if(!o.Oc(e))return a.k;return{...a.k,maxWeightedTweetLength:s.max_count(e)}}(t);return r()(e,n)}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.URT.5e7b89ca.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.URT.cb89c2fa.js b/info/endpoints/endpoints.URT.cb89c2fa.js new file mode 100644 index 0000000..c7ebf5d --- /dev/null +++ b/info/endpoints/endpoints.URT.cb89c2fa.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.URT","endpoints.Tweets","endpoints.TweetsApi-BatchModeType","endpoints.TweetsApi-postDefaults","endpoints.TweetsApi-sendTweet","endpoints.Users"],{53757:e=>{e.exports={queryId:"C2dcvh7H69JALtomErxWlA",operationName:"CheckTweetForNudge",operationType:"mutation",metadata:{featureSwitches:["standardized_nudges_toxicity"]}}},42945:e=>{e.exports={queryId:"0f_IQxkRG_nUVlX7y2kMVQ",operationName:"ConnectTabTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},8378:e=>{e.exports={queryId:"hb1elGcj6769uT8qVYqtjw",operationName:"ConversationControlChange",operationType:"mutation",metadata:{featureSwitches:[]}}},2536:e=>{e.exports={queryId:"OoMO_aSZ1ZXjegeamF9QmA",operationName:"ConversationControlDelete",operationType:"mutation",metadata:{featureSwitches:[]}}},78152:e=>{e.exports={queryId:"aoDbu3RHznuiSkQ9aNM67Q",operationName:"CreateBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},43153:e=>{e.exports={queryId:"K5kylRYkO5r0LS4Rtsyrwg",operationName:"CreateNoteTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},40558:e=>{e.exports={queryId:"ojPdsZsimiJrUGLR1sjUtA",operationName:"CreateRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},53934:e=>{e.exports={queryId:"VtVTvbMKuYFBF9m1s4L1sw",operationName:"CreateTweet",operationType:"mutation",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},45373:e=>{e.exports={queryId:"Eo65jl-gww30avDgrXvhUA",operationName:"CreateTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},99090:e=>{e.exports={queryId:"D7M6X3h4-mJE8UB1Ap3_dQ",operationName:"CreateTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},44577:e=>{e.exports={queryId:"Wlmlj2-xzyS1GN3a6cj-mQ",operationName:"DeleteBookmark",operationType:"mutation",metadata:{featureSwitches:[]}}},60445:e=>{e.exports={queryId:"iQtK4dl5hBmXewYZuEOKVw",operationName:"DeleteRetweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9578:e=>{e.exports={queryId:"VaenaVgh5q5ih7kvyVjgtg",operationName:"DeleteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},93764:e=>{e.exports={queryId:"VNEvEGXaUAMfiExP8Tbezw",operationName:"DeleteTweetDownvote",operationType:"mutation",metadata:{featureSwitches:[]}}},38150:e=>{e.exports={queryId:"GKwK0Rj4EdkfwdHQMZTpuw",operationName:"DeleteTweetReaction",operationType:"mutation",metadata:{featureSwitches:[]}}},93786:e=>{e.exports={queryId:"KIuJiC6a8cJjbEdM8Hc4Rw",operationName:"ExplorePage",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},69875:e=>{e.exports={queryId:"lI07N6Otwv1PhnEgXILM7A",operationName:"FavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},25912:e=>{e.exports={queryId:"pjFnHGVqCjTcZol0xcBJjw",operationName:"ModerateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},41124:e=>{e.exports={queryId:"owExi5ceutKnF-DSpV5m1w",operationName:"SearchTimeline",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},43147:e=>{e.exports={queryId:"vfVbgvTPTQ-dF_PQ5lD1WQ",operationName:"timelinesFeedback",operationType:"mutation",metadata:{featureSwitches:[]}}},24586:e=>{e.exports={queryId:"xnhK0CseM9am03fYIMntTg",operationName:"TweetResultByRestId",operationType:"query",metadata:{featureSwitches:["tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_enhance_cards_enabled"]}}},84461:e=>{e.exports={queryId:"ZYKSe-w7KEslx3JhSIk5LA",operationName:"UnfavoriteTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},63455:e=>{e.exports={queryId:"xVW9j3OqoBRY9d6_2OONEg",operationName:"UnmentionUserFromConversation",operationType:"mutation",metadata:{featureSwitches:[]}}},17439:e=>{e.exports={queryId:"pVSyu6PA57TLvIE4nN2tsA",operationName:"UnmoderateTweet",operationType:"mutation",metadata:{featureSwitches:[]}}},9791:e=>{e.exports={queryId:"aRdQ1l6Mb3AXvpkxnQwrQg",operationName:"UrtFixtures",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","tweetypie_unmention_optimization_enabled","vibe_api_enabled","responsive_web_edit_tweet_api_enabled","graphql_is_translatable_rweb_tweet_is_translatable_enabled","view_counts_everywhere_api_enabled","longform_notetweets_consumption_enabled","tweet_awards_web_tipping_enabled","freedom_of_speech_not_reach_fetch_enabled","standardized_nudges_misinfo","tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled","interactive_text_enabled","responsive_web_text_conversations_enabled","longform_notetweets_richtext_consumption_enabled","responsive_web_enhance_cards_enabled"]}}},87233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>ne.BatchModeType,default:()=>he,getGlobalDefaults:()=>ie,isFatalChangeConversationControls:()=>me,isFatalCreateBookmark:()=>ue,isFatalCreateLike:()=>le,isFatalCreateRetweet:()=>pe,isFatalCreateTweetDownvote:()=>se,isFatalCreateTweetReaction:()=>oe,isFatalDeleteBookmark:()=>de,isFatalDeleteConversationControls:()=>be,isFatalDeleteRetweet:()=>we,isFatalDeleteTweetDownvote:()=>_e,isFatalDeleteTweetReaction:()=>ae,isFatalUnlike:()=>ce,isFatalUnmentionUserFromConversation:()=>ve});var i=n(6899),r=n(68811),o=n.n(r),a=n(63752),s=n(72599),_=n(17360),l=n(83175),u=n(85364),d=n(1257),c=n(53757),p=n.n(c),w=n(8378),m=n.n(w),b=n(2536),v=n.n(b),h=n(78152),g=n.n(h),f=n(40558),y=n.n(f),T=n(45373),x=n.n(T),q=n(99090),k=n.n(q),C=n(44577),S=n.n(C),L=n(60445),Q=n.n(L),F=n(9578),R=n.n(F),D=n(93764),I=n.n(D),N=n(38150),U=n.n(N),j=n(69875),B=n.n(j),Z=n(25912),P=n.n(Z),E=n(24586),G=n.n(E),O=n(84461),V=n.n(O),M=n(63455),z=n.n(M),Y=n(17439),A=n.n(Y),W=n(50445),K=n(6623),X=n(63174),$=n(63140),J=n(60348),H=n(80365),ee=n(51419),te=n(55371),ne=n(58803);const ie=e=>({cards_platform:a.i5,include_cards:1,include_ext_alt_text:!0,include_ext_limited_action_results:e.isTrue("tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled"),include_quote_count:!0,include_reply_count:1,tweet_mode:"extended",include_ext_views:e.isTrue("view_counts_public_visibility_enabled")}),re=e=>({...te.getGlobalDefaults(e),...ie(e),simple_quoted_tweet:!0,trim_user:!1,include_ext_media_color:!0,include_ext_media_availability:!0}),oe=(e,t)=>{var n;const i=null==t||null==(n=t.create_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet reaction"),!i&&(0,_.jB)(e)},ae=(e,t)=>{var n;const i=null==t||null==(n=t.delete_reaction)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet reaction"),!i&&(0,_.jB)(e)},se=(e,t)=>{var n;const i=null==t||null==(n=t.create_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to create tweet downvote"),!i&&(0,_.jB)(e)},_e=(e,t)=>{var n;const i=null==t||null==(n=t.delete_downvote)?void 0:n.success;return i||(0,s.ZP)("GQL Reactions: Failed to delete tweet downvote"),!i&&(0,_.jB)(e)},le=(e,t)=>{const n="Done"===(null==t?void 0:t.favorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to favorite tweet"),!n&&(0,_.jB)(e)},ue=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_put);return n||(0,s.ZP)("GQL Bookmarks: Failed to create bookmark"),!n&&(0,_.jB)(e)},de=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_bookmark_delete);return n||(0,s.ZP)("GQL Bookmarks: Failed to delete bookmark"),!n&&(0,_.jB)(e)},ce=(e,t)=>{const n="Done"===(null==t?void 0:t.unfavorite_tweet);return n||(0,s.ZP)("GQL Favorites: Failed to unfavorite tweet"),!n&&(0,_.jB)(e)},pe=(e,t)=>{var n,i;const r=!(null==t||null==(n=t.create_retweet)||null==(i=n.retweet_results)||!i.result);return r||(0,s.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},we=(e,t)=>{var n,i;const r=!(null==t||null==(n=t.unretweet)||null==(i=n.source_tweet_results)||!i.result);return r||(0,s.ZP)("GQL retweet: Failed to retweet"),!r&&(0,_.jB)(e)},me=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_put);return n||(0,s.ZP)("GQL Update Convo Controls: Failed to update conversation controls"),!n&&(0,_.jB)(e)},be=(e,t)=>{const n="Done"===(null==t?void 0:t.tweet_conversation_control_delete);return n||(0,s.ZP)("GQL Delete Convo Controls: Failed to delete conversation controls"),!n&&(0,_.jB)(e)},ve=(e,t)=>{const n="Done"===(null==t?void 0:t.unmention_user);return n||(0,s.ZP)("GQL UnmentionUserFromConversation: Failed to unmention user from conversation"),!n&&(0,_.jB)(e)},he=e=>{const{apiClient:t,featureSwitches:n}=e;return{fetch:(e,r)=>t.get("statuses/lookup",{...re(n),...e,...(0,K.Y)(n)},r).then((e=>(0,i.Fv)(e,[W.Z]))),show(e,r){const{id:o,withVisibilityResults:a}=e;return t.graphQL(G(),{tweetId:o,includePromotedContent:!0,withBirdwatchNotes:n.isTrue("responsive_web_birdwatch_consumption_enabled"),withVoice:n.isTrue("voice_consumption_enabled"),withCommunity:n.isTrue("c9s_enabled"),...(0,l.d)(n)},((e,t)=>{var n;return!(null!=t&&null!=(n=t.tweetResult)&&n.result)})).then((e=>t=>{var n,r,o,a,s,_;if("Tweet"===(null==(n=t.tweetResult)||null==(r=n.result)?void 0:r.__typename)){const{__typename:n,...r}=t.tweetResult.result;if(!e)return(0,i.Fv)(r,u.Z);const o=(0,d.Z)({},r,{});return{...(0,i.Fv)(r,u.Z),visibilityResults:o}}if("TweetWithVisibilityResults"===(null==(o=t.tweetResult)||null==(a=o.result)?void 0:a.__typename)){var l;const{__typename:n,tweet:r,...o}=t.tweetResult.result;if(!e)return(0,i.Fv)(r,u.Z);const a=(0,d.Z)(o,r,{}),s="NonCompliant"===(null==a||null==(l=a.tombstoneInfo)?void 0:l.displayType)?{...r,tombstoneInfo:a.tombstoneInfo}:r;return{...(0,i.Fv)(s,u.Z),visibilityResults:a}}if("TweetUnavailable"===(null==(s=t.tweetResult)||null==(_=s.result)?void 0:_.__typename)){let e;switch(t.tweetResult.result.reason){case"Blocked":e=$.ZP.BlockedUserError;break;case"Protected":e=$.ZP.StatusViewForbidden;break;case"Bouncer":e=$.ZP.TweetIsBounced;break;case"Bouncer_Deleted":e=$.ZP.TweetIsBounceDeleted;break;case"Suspended":e=$.ZP.OtherUserSuspended;break;default:e=$.ZP.GenericNotFound}const n=new X.Z("tweetResultByRestId",401,{},[{code:e}]);return Promise.reject(n)}})(a))},fetchTranslation(e,r){const{id:o,lang:a,userLanguage:s}=e;let _=!1;const l=n.getArrayValue("papago_tweet_translation_to_korean_sources");"ko"===s&&l.includes(a)&&n.isTrue("papago_tweet_translation_to_korean")&&(_=!0);const u=n.getArrayValue("papago_tweet_translation_from_korean_entity_protected_destinations");"ko"===a&&u.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_protected")&&(_=!0);const d=n.getArrayValue("papago_tweet_translation_from_korean_entity_unprotected_destinations");"ko"===a&&d.includes(s)&&n.isTrue("papago_tweet_translation_from_korean_entity_unprotected")&&(_=!0);const c=_?"Papago":"Google",p=_?`Some(${s})`:"None";return t.get(`strato/column/None/tweetId=${o},destinationLanguage=${p},translationSource=Some(${c}),feature=None,timeout=None,onlyCached=None/translation/service/translateTweet`,{},r,"").then((e=>{const t={...e,text:e.translation};return(0,i.Fv)(t,W.Z).entities.tweets[t.id_str]}))},mute(e,n){const{id:i}=e;return t.post("mutes/conversations/create",{...H.postDefaults,tweet_id:i},{},n)},unmute(e,n){const{id:i}=e;return t.post("mutes/conversations/destroy",{...H.postDefaults,tweet_id:i},{},n)},like(e,n){var i;const{promotedContent:r}=e,{id:o}=e,a=(0,J.gQ)(r);return t.graphQL(B(),{tweet_id:o,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},le)},unlike(e,n){var i;const{promotedContent:r}=e,{id:o}=e,a=(0,J.gQ)(r);return t.graphQL(V(),{tweet_id:o,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ce)},downvote(e,n){const{id:i}=e;return t.graphQL(x(),{tweet_id:i},se)},undownvote(e,n){const{id:i}=e;return t.graphQL(I(),{tweet_id:i},_e)},react(e,n){const{id:i,promotedContent:r,reactionType:o}=e;if(o){var a;const e=(0,J.gQ)(r);return t.graphQL(k(),{tweet_id:i,reaction_type:o,...(null==e||null==(a=e.engagement_request)?void 0:a.impression_id)&&{...e}},oe)}},unreact(e,n){var i;const{id:r,promotedContent:o}=e,a=(0,J.gQ)(o);return t.graphQL(U(),{tweet_id:r,...(null==a||null==(i=a.engagement_request)?void 0:i.impression_id)&&{...a}},ae)},retweet(e,i){const{promotedContent:r,...a}=e,s=e.id,_=(0,J.cL)(r),l=n.getStringValue("graphql_mutation_retweet_mode");if("graphql_only"===l){var u;const e=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:s,...(null==e||null==(u=e.engagement_request)?void 0:u.impression_id)&&{...e},dark_request:!1},pe)}if("dual_test"===l){var d;const e=o().v4(),n=(0,J.gQ)(r);return t.graphQL(y(),{tweet_id:s,comparison_id:e,...(null==n||null==(d=n.engagement_request)?void 0:d.impression_id)&&{...n},dark_request:!0}),t.post("statuses/retweet",{...H.postDefaults,...n,...a,comparison_id:e},{},i)}return t.post("statuses/retweet",{...H.postDefaults,..._,...a},{},i)},unretweet(e,i){const{id:r}=e,{promotedContent:a,...s}=e,_=(0,J.cL)(a),l=n.getStringValue("graphql_mutation_unretweet_mode");if("graphql_only"===l)return t.graphQL(Q(),{source_tweet_id:r,dark_request:!1},we);if("dual_test"===l){const e=o().v4();return t.graphQL(Q(),{source_tweet_id:r,comparison_id:e,dark_request:!0}),t.post("statuses/unretweet",{...H.postDefaults,..._,...s,comparison_id:e},{},i)}return t.post("statuses/unretweet",{...H.postDefaults,..._,...s},{},i)},bookmark(e,n){const{id:i}=e;return t.graphQL(g(),{tweet_id:i},ue)},unbookmark(e,n){const{id:i}=e;return t.graphQL(S(),{tweet_id:i},de)},pin:(e,n={})=>t.post("account/pin_tweet",{...H.postDefaults,...e},{},n),unpin:(e,n={})=>t.post("account/unpin_tweet",{...H.postDefaults,...e},{},n),hideReplyGraphQL(e){const{id:n}=e;return t.graphQL(P(),{tweetId:n})},unhideReplyGraphQL(e){const{id:n}=e;return t.graphQL(A(),{tweetId:n})},removeTag:(e,n)=>t.post("media/media_tags/delete",{...H.postDefaults,...e},{},n),sendTweet:(0,ee.create_sendTweet)({...e,tweetDefaults:re}),checkTweetForNudge:e=>t.graphQL(p(),e),destroy(e,i){const r=o().v4(),a=n.getStringValue("graphql_mutation_destroy_mode"),s=e.id;return"graphql_only"===a?t.graphQL(R(),{tweet_id:s,dark_request:!1}):"dual_test"===a?(t.graphQL(R(),{tweet_id:s,comparison_id:r,dark_request:!0}),t.post("statuses/destroy",{...H.postDefaults,...e,comparison_id:r},{},i)):t.post("statuses/destroy",{...H.postDefaults,...e},{},i)},changeConversationControls(e){const{id:n,policy:i}=e;let r;if("community"===i?r="Community":"by_invitation"===i&&(r="ByInvitation"),void 0!==r)return t.graphQL(m(),{tweet_id:n,mode:r},me)},removeConversationControls(e){const{id:n}=e;return t.graphQL(v(),{tweet_id:n},be)},unmentionUserFromConversation(e){const{id:n}=e;return t.graphQL(z(),{tweet_id:n},ve)}}}},58803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BatchModeType:()=>i});const i=Object.freeze({SINGLE_TWEET:"off",FIRST_TWEET:"first",SUBSEQUENT_TWEET:"subsequent"})},80365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{postDefaults:()=>i});const i={tweet_mode:"extended"}},51419:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create_sendTweet:()=>g,getAnnotationIdsCreateTweet:()=>C,getBatchModeCreateTweet:()=>k,getMediaAttachmentsCreateTweet:()=>q,getTaggedUsersCreateTweet:()=>S,isFatalCreateTweet:()=>x});n(36728);var i=n(6899),r=n(68811),o=n.n(r),a=n(72599),s=n(31334),_=n(17360),l=n(83175),u=n(85364),d=n(43153),c=n.n(d),p=n(53934),w=n.n(p),m=n(50445),b=n(60348),v=n(58803),h=n(80365);function g(e){const{apiClient:t,featureSwitches:n,tweetDefaults:r}=e;return function(e,a={}){var _,d;let p={...r(n),...h.postDefaults,...e};const v=(0,b.gQ)(p.promotedContent),g="dual_test"===n.getStringValue("graphql_mutation_update_mode");""===p.media_ids&&delete p.media_ids,p.promotedContent&&(p={...p,...(0,b.cL)(p.promotedContent)},delete p.promotedContent),p.exclusive_tweet_control_options&&(n.isTrue("super_follow_exclusive_tweet_creation_api_enabled")&&(p={...p,exclusive_tweet_content:p.exclusive_tweet_control_options}),delete p.exclusive_tweet_control_options),null!=(_=p.trusted_friends_control_options)&&_.trusted_friends_list_id&&(n.isTrue("trusted_friends_tweet_creation_enabled")&&(p={...p,trusted_friends_content:p.trusted_friends_control_options}),delete p.trusted_friends_control_options);const T={...p,media_tags:p.media_tags?JSON.stringify(p.media_tags):void 0},q={...(null==v||null==(d=v.engagement_request)?void 0:d.impression_id)&&{...v},...(0,l.d)(n)},k=s.rh(p.status,n);if("graphql_only"===n.getStringValue("graphql_mutation_update_mode")){if(k){const r={...y({options:e,featureSwitches:n}),...q};return t.graphQL(c(),r,x).then((e=>{var t,n,r;const o=null!=(t=null==e||null==(n=e.notetweet_create)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(o,u.Z)}))}{const r={...f({options:e,featureSwitches:n}),...q};return t.graphQL(w(),r,x).then((e=>{var t,n,r;const o=null!=(t=null==e||null==(n=e.create_tweet)||null==(r=n.tweet_results)?void 0:r.result)?t:{};return(0,i.Fv)(o,u.Z)}))}}if(g){var C;const r=f({options:e,featureSwitches:n}),s=o().v4();return t.graphQL(w(),{...r,comparison_id:s,dark_request:!0,...(null==v||null==(C=v.engagement_request)?void 0:C.impression_id)&&{...v},...(0,l.d)(n)},x),t.post("statuses/update",{...T,comparison_id:s},{},a).then((e=>(0,i.Fv)(e,m.Z)))}return t.post("statuses/update",T,{},a).then((e=>(0,i.Fv)(e,m.Z)))}}function f(e){const t=T(e),{richtext_options:n,...i}=t;return i}function y(e){return T(e)}function T({featureSwitches:e,options:t}){var n,i;const r=q(t.media_ids,t.media_tags),o=t.exclude_reply_user_ids&&t.exclude_reply_user_ids.length?t.exclude_reply_user_ids.split(","):[],a=k(t.batch_mode),s=C(t.semantic_annotation_ids);return{tweet_text:t.status,card_uri:t.card_uri,attachment_url:t.attachment_url,...(null==t?void 0:t.in_reply_to_status_id)&&{reply:{in_reply_to_tweet_id:t.in_reply_to_status_id,exclude_reply_user_ids:o}},batch_compose:a,geo:null!=(n=t.geo)?n:void 0,dark_request:Boolean(t.preview),media:{media_entities:null!=r?r:[],possibly_sensitive:!1},withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:e.isTrue("responsive_web_reactions_enabled"),withReactionsPerspective:e.isTrue("responsive_web_reactions_enabled"),semantic_annotation_ids:null!=s?s:[],conversation_control:"community"===t.conversation_control?{mode:"Community"}:"by_invitation"===t.conversation_control?{mode:"ByInvitation"}:void 0,exclusive_tweet_control_options:e.isTrue("super_follow_exclusive_tweet_creation_api_enabled")?t.exclusive_tweet_control_options:void 0,trusted_friends_control_options:e.isTrue("trusted_friends_tweet_creation_enabled")&&null!=(i=t.trusted_friends_control_options)&&i.trusted_friends_list_id?t.trusted_friends_control_options:void 0,edit_options:(e.isTrue("subscriptions_feature_labs_1004")||e.isTrue("responsive_web_edit_tweet_enabled"))&&t.previous_tweet_id?{previous_tweet_id:t.previous_tweet_id}:void 0,richtext_options:t.richtext_options}}function x(e,t){let n;var i,r,o;if(null!=t&&t.notetweet_create)n=null==(i=t.notetweet_create.tweet_results)||null==(r=i.result)||null==(o=r.legacy)?void 0:o.id_str;else if(null!=t&&t.create_tweet){var s,l,u;n=null==(s=t.create_tweet.tweet_results)||null==(l=s.result)||null==(u=l.legacy)?void 0:u.id_str}return!n&&((0,_.jB)(e)||(0,a.ZP)("GQL Create: Failed to create tweet"),!0)}const q=(e,t)=>{const n=e?null==e?void 0:e.split(","):void 0,i=n?n[0]:void 0,r=i?S(t,i):[];return n?null==n?void 0:n.map((e=>({media_id:e,tagged_users:r}))):void 0},k=e=>e===v.BatchModeType.FIRST_TWEET?"BatchFirst":e===v.BatchModeType.SUBSEQUENT_TWEET?"BatchSubsequent":void 0,C=e=>{if(e&&0!==e.length){return e.split(",").map((e=>{const t=e.split(".");return{group_id:t[0],domain_id:t[1],entity_id:t[2]}}))}},S=(e,t)=>{const n=[];return e&&Object.keys(e).length&&t&&e[t].forEach((e=>{n.push(e.user_id)})),n}},7276:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x,getDefaults:()=>y});var i=n(98209),r=n(93333),o=n(17360),a=n(83175),s=n(42945),_=n.n(s),l=n(93786),u=n.n(l),d=n(41124),c=n.n(d),p=n(43147),w=n.n(p),m=n(9791),b=n.n(m),v=n(6623),h=n(82249),g=n(87233),f=n(55371);const y=e=>({...f.getGlobalDefaults(e),...g.getGlobalDefaults(e),include_entities:!0,include_user_entities:!0,include_ext_media_color:!0,include_ext_media_availability:!0,include_ext_sensitive_media_warning:!0,include_ext_trusted_friends_metadata:!0,send_error_codes:!0,simple_quoted_tweet:!0}),T={pc:1,spelling_corrections:1},x=({apiClient:e,featureSwitches:t})=>({fetchNotifications(n,i={}){const{type:r,...o}=n;return e.getURT(`notifications/${r}`,Object.assign({},y(t),o,(0,v.Y)(t)),i)},fetchNotificationsUnreadCount(t,n={}){const{type:i,...r}=t;return e.getURT(`notifications/${i}/unread_count`,{...r,include_tweet_replies:!0},n)},updateNotificationsLastSeenCursor(t,n={}){const{type:i,...r}=t;return e.postURT(`notifications/${i}/last_seen_cursor`,r,{},n)},fetchSearch:(n,r={})=>e.getURT("search/adaptive",Object.assign({},y(t),n,T,{include_ext_edit_control:t.isTrue("responsive_web_edit_tweet_api_enabled")},(0,v.Y)(t),(e=>i.Z.shouldDisablePromotedContentFromRequests(e)?{pc:"0"}:{})(t),{}),r),fetchSearchGraphQL:({count:n,cursor:i,product:r,querySource:s,rawQuery:_})=>e.graphQL(c(),{rawQuery:_||"",count:n,cursor:i,querySource:s,product:r,...(0,a.d)(t)},(0,o.kj)((e=>{var t,n;return!(null!=e&&null!=(t=e.search_by_raw_query)&&null!=(n=t.search_timeline)&&n.timeline)}),"GQL URT: Failed to render SearchTimeline")).then((e=>{var t,n;return(null==(t=e.search_by_raw_query)||null==(n=t.search_timeline)?void 0:n.timeline)||h.cY})),fetchGeneric(n,i={}){const{endpointUrl:r,...o}=n;return e.getUnversioned(r,Object.assign({},y(t),o,(0,v.Y)(t)),{...i,...(0,v.c)()})},fetchReactiveInstructions(n,i={}){const{timeout:r,...o}=n;return e.getURT("timeline/reactive",Object.assign({},y(t),o,(0,v.Y)(t)),i,".json",r)},fetchTestFixtures:(n,i)=>e.getURT("timeline/fixture",Object.assign({},y(t),n),{...i,...(0,v.c)()}),fetchTestGraphqlFixtures:(n,i)=>e.graphQL(b(),{includePromotedContent:!0,...(0,a.d)(t)},((e,t)=>{var n,i;return!(null!=t&&null!=(n=t.viewer)&&null!=(i=n.urt_fixture)&&i.timeline)})).then((e=>{var t,n;return null==e||null==(t=e.viewer)||null==(n=t.urt_fixture)?void 0:n.timeline})),fetchExplore:(n,i)=>e.getURT("guide",Object.assign({},y(t),n,(0,v.Y)(t)),{...i,...(0,v.c)()}),fetchExploreGraphQL:({context:n,cursor:i})=>e.graphQL(u(),{cursor:i?i.toString():"",context:n,...(0,a.d)(t)},(0,o.kj)((e=>!(null!=e&&e.explore_page)),"GQL URT: Failed to render Explore GraphQL")).then((e=>e.explore_page||h.ln)),fetchUserMoments(n,i){const o={...i,...(0,r.Z)(n.activeTeamId),...(0,v.c)(),"content-type":"application/json"},{includeCapsuleContents:a,...s}=n;return e.getURT("moments/list_user_moments",Object.assign({},y(t),s,{include_capsule_contents:a}),o)},postCustomEndpoint(t,n={}){const{endpoint:i,...r}=t;return e.postUnversioned(i,r,n)},fetchLiveEventTimeline(n,i){const{eventId:r,...o}=n;return e.getURT(`live_event/timeline/${r}`,Object.assign({},y(t),o,(0,v.Y)(t),{urt:!0,get_annotations:t.isTrue("moment_annotations_enabled")}),{...i,...(0,v.c)()})},fetchExploreTopic:(n,i={})=>e.getURT("guide/topic",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchNewsLandingTimeline:(n,i={})=>e.getURT("rux",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchRichConnectTimeline:(n,i={})=>e.getURT("people_discovery/modules_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchRichSuggestedTimeline:(n,i={})=>e.getURT("people_discovery/modules_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),fetchNUXUserRecommendations:(n,i={})=>e.getURT("onboarding/fetch_user_recommendations_urt",Object.assign({},y(t),n,(0,v.Y)(t)),i),submitTimelinesFeedback:t=>e.graphQL(w(),{...t}),fetchRichConnectTimelineGraphql:({context:n,count:i,cursor:r})=>e.graphQL(_(),{count:i,cursor:r,context:n,...(0,a.d)(t)},(0,o.kj)((e=>{var t;return!(null!=e&&null!=(t=e.connect_tab_timeline)&&t.timeline)}),"GQL URT: Failed to render ConnectTabTimeline")).then((e=>{var t;return(null==(t=e.connect_tab_timeline)?void 0:t.timeline)||h.cY}))})},55371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u,getGlobalDefaults:()=>s});var i=n(6899),r=n(70151),o=n(13239),a=n(60348);const s=e=>{const t=e.isTrue("responsive_web_twitter_blue_verified_badge_is_enabled"),n=e.isTrue("blue_business_consumption_api_enabled");return{include_profile_interstitial_type:1,include_blocking:1,include_blocked_by:1,include_followed_by:1,include_want_retweets:1,include_mute_edge:1,include_can_dm:1,include_can_media_tag:1,include_ext_has_nft_avatar:1,...(0,r.Z)(t?{include_ext_is_blue_verified:1}:null),...(0,r.Z)(n?{include_ext_verified_type:1}:null),skip_status:1}},_=e=>(0,i.Fv)(e,o.Z),l=e=>(0,i.Fv)(e,[o.Z]),u=({apiClient:e,featureSwitches:t})=>({fetchUsers:(n,i={})=>e.get("users/lookup",{...s(t),...n},i).then(l),follow(n,i={}){const{id_str:r,promotedContent:o,...l}=n,u=(0,a.cL)(o);return e.post("friendships/create",{...s(t),...u,user_id:r,...l},{},i).then(_)},unfollow(n,i={}){const{id_str:r,promotedContent:o,...l}=n,u=(0,a.cL)(o);return e.post("friendships/destroy",{...s(t),...u,user_id:r,...l},{},i).then(_)},cancelPendingFollow(t,n={}){const{id_str:i,...r}=t;return e.post("friendships/cancel",{...r,user_id:i},{},n).then(_)},block(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("blocks/create",{...s,user_id:i,...o},{},n).then(_)},unblock(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("blocks/destroy",{...s,user_id:i,...o},{},n).then(_)},mute(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("mutes/users/create",{...s,user_id:i,...o},{},n).then(_)},unmute(t,n={}){const{id_str:i,promotedContent:r,...o}=t,s=(0,a.cL)(r);return e.post("mutes/users/destroy",{...s,user_id:i,...o},{},n).then(_)},fetchProfileTranslation(t,n={}){const{profileUserId:i}=t;return e.get(`strato/column/None/profileUserId=${i},destinationLanguage=None,translationSource=Some(Google)/translation/service/translateProfile`,{},n,"")}})},83175:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,d:()=>o});var i=n(60917),r=n.n(i);const o=e=>{const t=e.isTrue("responsive_web_reactions_enabled");return{...a(e),withDownvotePerspective:e.isTrue("rweb_reply_downvote_enabled"),withReactionsMetadata:t,withReactionsPerspective:t}},a=e=>r()},6623:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a,c:()=>o});n(6886);var i=n(53223),r=n(82436);const o=()=>({"X-Twitter-UTCOffset":(0,r.Kc)()}),a=(e,t=[])=>({ext:(0,i.Z)([...t,"mediaStats","highlightedLabel","hasNftAvatar",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionMetadata",e.isTrue("responsive_web_reactions_enabled")&&"signalsReactionPerspective",e.isTrue("rweb_reply_downvote_enabled")&&"replyvotingDownvotePerspective",e.isTrue("voice_consumption_enabled")&&"voiceInfo",!0===e.getValueWithoutScribeImpression("responsive_web_birdwatch_pivots_enabled")&&"birdwatchPivot",(e.isTrue("interactive_text_enabled")||e.isTrue("responsive_web_text_conversations_enabled"))&&"enrichments","superFollowMetadata",e.isTrue("dont_mention_me_view_api_enabled")&&"unmentionInfo",e.isTrue("responsive_web_edit_tweet_api_enabled")&&"editControl",e.isTrue("vibe_api_enabled")&&"vibe"]).join(",")})},60348:(e,t,n)=>{"use strict";n.d(t,{cL:()=>o,gQ:()=>a});const i=Object.freeze({});function r(e){const{conversational_card_details:t}=e;return t?{conversational_card_details:t}:void 0}function o(e){if(!e)return i;const{disclosure_type:t,impression_id:n}=e,o="earned"===s(e),a=JSON.stringify(r(e));if(!t||!n)return i;let _={impression_id:n};return a&&(_={..._,engagement_metadata:a}),o&&(_={..._,earned:1}),_}function a(e){if(!e)return;const{disclosure_type:t,impression_id:n}=e,i="earned"===s(e),o=r(e);if(!t||!n)return;let a={impression_id:n};return o&&(a={...a,engagement_metadata:o}),i&&(a={...a,earned:!0}),{engagement_request:{...a}}}function s(e){const t=null==e?void 0:e.disclosure_type;return t&&t.toLowerCase()}},98209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const i=(()=>{let e=!1;return{recordAdBlockerPresence:()=>{e=!0},shouldHidePromotedTweets:t=>e&&t.isTrue("responsive_web_extension_compatibility_hide"),shouldDisablePromotedContentFromRequests:t=>e&&t.isTrue("responsive_web_extension_compatibility_override_param")}})()},82436:(e,t,n)=>{"use strict";n.d(t,{BC:()=>_,FI:()=>a,Kc:()=>s,gO:()=>o,zk:()=>r});const i=()=>new Date(Date.now());function r(e,t=i()){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function o(e,t=i()){const n=new Date(t);return n.setHours(n.getHours()-24),r(e,n)}function a(e,t=i()){const n=t-e;return n>=0&&n<=6048e5}function s(e=i().toString()){const t=e&&e.match(/([-+][0-9]+)\s/);return t?t[1]:""}function _(e,t){const n=new Date;return t{"use strict";n.d(t,{rh:()=>_,Bq:()=>c,SC:()=>l,v$:()=>i,Oc:()=>s});var i={};n.r(i),n.d(i,{readEnabled:()=>u,writeEnabled:()=>d});var r=n(40997),o=n(37756);function a(e){return e.isTrue("longform_notetweets_consumption_enabled")}function s(e){const{featureSwitches:t,userClaims:n}=e;if(!n)return!1;if(!t.isTrue("longform_notetweets_tweet_storm_enabled")&&e.isThread)return!1;if(!a(e.featureSwitches))return!1;return!!t.isTrue("longform_notetweets_composition_without_claims_enabled")||n.isTrueAndEnabled("subscriptions_feature_1014")&&n.isTwitterBlueVerifiedSubscriber()}function _(e,t){if(!a(n=t)||!n.isTrue("subscriptions_feature_1014")&&!n.isTrue("longform_notetweets_composition_without_claims_enabled"))return!1;var n;const i=(0,o.k)(e),s=r.kh.maxWeightedTweetLength;return i.weightedLength>s}function l(e,t){if(!s(t))return!1;return(0,o.k)(e,t).weightedLength>r.kh.maxWeightedTweetLength}function u(e){return e.isTrue("longform_notetweets_richtext_consumption_enabled")}function d(e){if(!s(e))return!1;return 1===e.featureSwitches.getNumberValue("longform_notetweets_rich_composition_enabled",0)}function c(e,t){let n;return n="boolean"==typeof t.forceEnabled?t.forceEnabled:a(t.featureSwitches),n&&e.note_tweet?{text:e.note_tweet.text,entities:e.note_tweet.entity_set,display_text_range:[0,e.note_tweet.text.length]}:{text:e.text,entities:e.entities,display_text_range:e.display_text_range}}},93333:(e,t,n)=>{"use strict";function i(e){return e?{"x-act-as-user-id":e}:{}}n.d(t,{Z:()=>i})},68469:(e,t,n)=>{"use strict";n.d(t,{k:()=>r,p:()=>o});var i=n(59158);const r=n.n(i)().version3,o=260},40997:(e,t,n)=>{"use strict";n.d(t,{kh:()=>r.k,pD:()=>r.p,g0:()=>s,WT:()=>i,k2:()=>o.k});var i=n(37971),r=n(68469),o=n(37756),a=n(73228);function s(e){const t=Boolean(e&&l[e])?2:1;return function(e){return _(Math.ceil(e/t))}}const _=n.n(a)().ia24dc8d,l=Object.freeze({ja:!0,"zh-cn":!0,"zh-tw":!0,ko:!0})},37971:(e,t,n)=>{"use strict";function i(e){return r(e)-80}function r(e){return e.featureSwitches.getNumberValue("longform_notetweets_max_weighted_character_length",4e3)}n.r(t),n.d(t,{max_count:()=>r,warning_count:()=>i})},37756:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var i=n(45567),r=n.n(i),o=n(31334),a=n(68469),s=n(37971);function _(e,t){const n=function(e){if(!e)return a.k;if(!o.Oc(e))return a.k;return{...a.k,maxWeightedTweetLength:s.max_count(e)}}(t);return r()(e,n)}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.URT.cb89c2fa.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.UsersGraphQL.48a0016a.js b/info/endpoints/endpoints.UsersGraphQL.48a0016a.js new file mode 100644 index 0000000..69dad84 --- /dev/null +++ b/info/endpoints/endpoints.UsersGraphQL.48a0016a.js @@ -0,0 +1,2 @@ +(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.UsersGraphQL"],{16881:e=>{e.exports={queryId:"QpNfg0kpPRfjROQ_9eOLXA",operationName:"RemoveFollower",operationType:"mutation",metadata:{featureSwitches:[]}}},88441:e=>{e.exports={queryId:"S2BkcAyFMG--jef2N6Dgzw",operationName:"UserByRestId",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},44538:e=>{e.exports={queryId:"k26ASEiniqy4eXMdknTSoQ",operationName:"UserByScreenName",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},82079:e=>{e.exports={queryId:"rwuMrXS7LsHBF1pvqfkt4Q",operationName:"UsersByRestIds",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},95674:e=>{e.exports={queryId:"-gYcOqVgX1oTYGYXo60_rQ",operationName:"Viewer",operationType:"query",metadata:{featureSwitches:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},73339:e=>{"use strict";var l,a,n,i,s,r,t,u,o,d,c,g,_,y,p,m,k,F,f,h,K,b,S,T,v,w,L,R,U,q,x,A,E,I,C,O,M,P,B,H,N,Q,D,Z,W,V,j,G,X,z,Y,J,$,ee,le,ae,ne,ie,se,re,te,ue,oe,de,ce,ge,_e,ye,pe,me,ke,Fe,fe,he,Ke,be,Se,Te,ve,we,Le,Re,Ue,qe,xe,Ae,Ee,Ie,Ce,Oe,Me,Pe,Be,He,Ne,Qe,De,Ze,We,Ve,je,Ge,Xe,ze={fragment:{argumentDefinitions:l=[{defaultValue:null,kind:"LocalArgument",name:"screen_name"},{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"UsersGraphQLFetchByScreenNameQuery",selections:[{alias:"user",args:a=[{kind:"Literal",name:"s",value:"f3d8"},{kind:"Variable",name:"screen_name",variableName:"screen_name"}],concreteType:"UserResults",kind:"LinkedField",name:"user_result_by_screen_name",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[u={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:t=[r={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[i],storageKey:null}],storageKey:null}],storageKey:null},o={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[r],storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:U=[c={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[y={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},p={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[k={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},f={kind:"InlineFragment",selections:F=[_],type:"TimelineRichTextCashtag",abstractKey:null},h={kind:"InlineFragment",selections:[i,r],type:"TimelineRichTextList",abstractKey:null},K={kind:"InlineFragment",selections:F,type:"TimelineRichTextHashtag",abstractKey:null},b={kind:"InlineFragment",selections:t,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:R=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[T={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[S={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},s],type:"User",abstractKey:null},L={kind:"InlineFragment",selections:[v={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[S,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:R,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},q={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},x={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},A={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},E={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},I={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"profile_image_shape",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[M={kind:"RequiredField",field:O={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"user.result.legacy.blocked_by"},B={kind:"RequiredField",field:P={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"user.result.legacy.blocking"},N={kind:"RequiredField",field:H={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"user.result.legacy.follow_request_sent"},D={kind:"RequiredField",field:Q={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"user.result.legacy.followed_by"},W={kind:"RequiredField",field:Z={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"user.result.legacy.following"},V={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},X={kind:"RequiredField",field:G={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"user.result.legacy.protected"},M,B,N,D,W,V,j,X,z={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},Y={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},J={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},$={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},ee={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},d,ne={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:ae=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:le=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:le,storageKey:null}],storageKey:null},ie={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:se={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"user.result.legacy.favourites_count"},re={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:te={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"user.result.legacy.followers_count"},{kind:"RequiredField",field:ue={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"user.result.legacy.friends_count"},oe={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},de={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},ce={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},ge={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:_e={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"user.result.legacy.media_count"},ye={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},pe={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},me={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},ke={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},Fe={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},he={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:fe=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},Ke={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},be={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:fe,storageKey:null},Se={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},Te={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},S,{kind:"RequiredField",field:ve={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"user.result.legacy.statuses_count"},we={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},Le={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},r,Re={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:Ue={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"user.result.legacy.verified"},qe={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},xe={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},Ae={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},Ee={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:ae,storageKey:null},Ie={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Ce={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[s,Oe={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Me={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[i,ye,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Pe={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},He={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},Ne={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Pe,Be,He,Ne,Qe={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},De={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},Ze={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null},We={alias:null,args:null,concreteType:"LegacyExtendedUserProfile",kind:"LinkedField",name:"legacy_extended_profile",plural:!1,selections:[{alias:null,args:null,concreteType:"LegacyExtendedBirthDate",kind:"LinkedField",name:"birthdate",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"day",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"month",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"year",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"visibility",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"year_visibility",storageKey:null}],storageKey:null}],storageKey:null},Ve={alias:null,args:null,kind:"ScalarField",name:"is_profile_translatable",storageKey:null}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[w,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:U,storageKey:null},v],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"UsersGraphQLFetchByScreenNameQuery",selections:[{alias:"user",args:a,concreteType:"UserResults",kind:"LinkedField",name:"user_result_by_screen_name",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[i,s,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[u,o,d,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Xe=[c,g,_,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[y,p,m,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[n,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},k,f,h,K,b,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Ge=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[T,je={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},s,i],type:"User",abstractKey:null},L],storageKey:null},i],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[S,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:Ge,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},q,x],storageKey:null}],storageKey:null},A,E,I,C,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[O,P,H,Q,Z,V,j,G,O,P,H,Q,Z,V,j,G,z,Y,J,$,ee,d,ne,ie,se,re,te,ue,oe,de,ce,ge,_e,ye,pe,me,ke,Fe,he,Ke,be,Se,Te,S,ve,we,Le,r,Re,Ue,qe,xe,Ae,Ee,Ie,Ce],storageKey:null},je,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[s,Oe,Me,i],storageKey:null},Pe,Be,He,Ne,Pe,Be,He,Ne,Qe,De,Ze,We,Ve],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[w,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Xe,storageKey:null},v],type:"UserUnavailable",abstractKey:null}],storageKey:null},i],storageKey:null}]},params:{id:"b7JzAxNuDoVYn6gn9n0tcQ",metadata:{features:["blue_business_profile_image_shape_enabled","responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","verified_phone_label_enabled"]},name:"UsersGraphQLFetchByScreenNameQuery",operationKind:"query",text:null}};ze.hash="fd3dd282da84093495635e8f3a6cf9b2",e.exports=ze},7475:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>E,isFatalRemoveFollowerError:()=>A,isFatalUserResponseError:()=>q,isFatalUsersResponseError:()=>x,isFatalViewerResponseError:()=>U});var n,i=a(6899),s=(a(85488),a(58955)),r=a(11469),t=a(79363),u=a(15956),o=a(23335),d=a(51573),c=a(17360),g=a(90650),_=a(16881),y=a.n(_),p=a(88441),m=a.n(p),k=a(44538),F=a.n(k),f=a(82079),h=a.n(f),K=a(95674),b=a.n(K),S=a(63174),T=a(63140),v=a(8893);const w=(0,s.Z)(["affiliates_highlighted_label","is_profile_translatable"]),L=e=>Array.isArray(e.path)&&e.path.length>0&&w.has((0,u.Z)(e.path)),R=e=>{var l,a,n,s;if("User"===(null==(l=e.user)||null==(a=l.result)?void 0:a.__typename))return(0,i.Fv)(e.user.result,g.Z);if("UserUnavailable"===(null==(n=e.user)||null==(s=n.result)?void 0:s.__typename)){let l,a;if("Suspended"===e.user.result.reason)a=JSON.stringify(e.user.result.unavailable_message),l=T.ZP.OtherUserSuspended;else l=T.ZP.GenericUserNotFound;const n=new S.Z("userByRestId",401,{},[{code:l,message:a}]);return Promise.reject(n)}{const e=new S.Z("userByRestId",401,{},[{code:T.ZP.GenericUserNotFound}]);return Promise.reject(e)}},U=(e,l)=>{var a,n;const i=null==l||null==(a=l.viewer)||null==(n=a.user_results)?void 0:n.result,s=i&&"User"===i.__typename&&i.legacy,r=Array.isArray(e)&&e.includes(o.isGraphQLBounceError);return(!s||!r)&&(Array.isArray(e)&&!(0,t.Z)(e,L))},q=(e,l)=>{var a,n;return!("User"===(null==l||null==(a=l.user)||null==(n=a.result)?void 0:n.__typename)&&l.user.result.legacy)&&(Array.isArray(e)&&!(0,t.Z)(e,L))},x=(e,l)=>!((null==l?void 0:l.users.filter((e=>{var l;return"User"===!(null==e||null==(l=e.result)||!l.__typename)})))||[]).length&&(Array.isArray(e)&&!(0,t.Z)(e,L)),A=(e,l)=>{var a,n;return!("UnfollowSuccessResult"===(null==l||null==(a=l.remove_follower)?void 0:a.__typename)&&(null==l||null==(n=l.remove_follower)?void 0:n.unfollow_success_reason))&&(0,c.jB)(e)},E=({apiClient:e,featureSwitches:l,relayEnvironment:s})=>({fetchViewer:()=>e.graphQL(b(),{withCommunitiesMemberships:l.isTrue("c9s_enabled"),withCommunitiesCreation:l.isTrue("c9s_community_creation_enabled")},U).then((e=>{var l,a,n,s;if(!e.viewer)return;const{viewer:r}=e;let t;if("User"===(null==(l=r.user_results)||null==(a=l.result)?void 0:a.__typename)){const{__typename:e,...l}=r.user_results.result;t=l}const u={};r.user_features&&r.user_features.forEach((({enabled:e,feature:l})=>{u[l]=e}));const o=r.educationFlags;return{communitiesActions:{create:Boolean("CommunityCreateAction"===(null==(n=r.create_community_action_result)?void 0:n.__typename))},educationFlags:o,hasCommunityMemberships:r.has_community_memberships,isActiveCreator:r.is_active_creator,isRestrictedSession:r.is_tfe_restricted_session,normalizedResult:(0,i.Fv)(t,g.Z),superFollowersCount:r.super_followers_count,superFollowsApplicationStatus:null==(s=t)?void 0:s.super_follows_application_status,userFeatures:u}})),fetchOneUserByScreenNameWithRelay:({screen_name:e})=>(0,v.s)(s,void 0!==n?n:n=a(73339),{screen_name:e,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>e?R(e):{result:void 0})),fetchOneUserByScreenName:({screen_name:a})=>(0,d.o)("userByScreenName",(()=>e.graphQL(F(),{screen_name:a,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>R(e)))),(e=>e.then((({screenName:e})=>e===a)))),fetchOneUser:({user_id:a})=>e.graphQL(m(),{userId:a,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>R(e))),fetchUsers:({user_id:l})=>e.graphQL(h(),{userIds:l.split(",")},x).then((e=>{const l=(0,r.Z)(e.users.filter(Boolean),(e=>e.result&&"User"===e.result.__typename&&e.result.legacy?e.result:void 0));return(0,i.Fv)(l,[g.Z])})),removeFollower:({target_user_id:l})=>e.graphQL(y(),{target_user_id:l},A)})},8893:(e,l,a)=>{"use strict";a.d(l,{s:()=>s});var n=a(10622),i=a.n(n);function s(e,l,a,n){return i()(e,l,a,n?{networkCacheConfig:{metadata:{isFatalError:n}}}:void 0).toPromise()}},51573:(e,l,a)=>{"use strict";a.d(l,{o:()=>o});a(21515),a(6886);var n=a(72599);const i=new class{constructor(){this.promise=new Promise(((e,l)=>{this.reject=l,this.resolve=e}))}},s=i.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{i.resolve(),null!=e&&clearTimeout(e)}));const l=()=>{"loading"!==document.readyState?i.resolve():e=setTimeout((()=>{l()}),500)};l()}var r=a(86916),t=a(79150),u=a(25943);function o(e,l,a){const i="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!i)return l();const o=Date.now(),d=i.timestamp||o;if(Math.max(0,o-d)>=3e5)return delete window.__PREFETCH_DATA__,l();const c=i.items[e];if(!c)return l();return(a?a(c.meta):Promise.resolve(!0)).then((a=>a?(u.q.didPrefetch[e]=!0,Promise.race([c.promise,s]).then((a=>a?r.i(a,t.AK):((0,n.ZP)(`DOM loaded but prefetch data was not present for ${e}`),l())),(()=>(u.q.prefetchPromiseRejected[e]=!0,l()))).finally((()=>{delete i.items[e]}))):l()),(()=>l()))}},25943:(e,l,a)=>{"use strict";a.d(l,{q:()=>n});const n={didPrefetch:{},prefetchPromiseRejected:{}}}}]); +//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.UsersGraphQL.48a0016a.js.map \ No newline at end of file diff --git a/info/endpoints/endpoints.UsersGraphQL.e3a2a3ea.js b/info/endpoints/endpoints.UsersGraphQL.e3a2a3ea.js deleted file mode 100644 index a811d97..0000000 --- a/info/endpoints/endpoints.UsersGraphQL.e3a2a3ea.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_twitter_responsive_web=self.webpackChunk_twitter_responsive_web||[]).push([["endpoints.UsersGraphQL"],{16881:e=>{e.exports={queryId:"QpNfg0kpPRfjROQ_9eOLXA",operationName:"RemoveFollower",operationType:"mutation",metadata:{featureSwitches:[]}}},88441:e=>{e.exports={queryId:"nI8WydSd-X-lQIVo6bdktQ",operationName:"UserByRestId",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},44538:e=>{e.exports={queryId:"8mPfHBetXOg-EHAyeVxUoA",operationName:"UserByScreenName",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},82079:e=>{e.exports={queryId:"HuGT-r6ugWnlWjAZLq1U6g",operationName:"UsersByRestIds",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},95674:e=>{e.exports={queryId:"CTAzMzeHfVOec9OV7kAY6g",operationName:"Viewer",operationType:"query",metadata:{featureSwitches:["responsive_web_twitter_blue_verified_badge_is_enabled","responsive_web_graphql_exclude_directive_enabled","verified_phone_label_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled"]}}},73339:e=>{"use strict";var l,a,n,i,s,r,t,u,o,d,c,g,_,y,m,p,k,F,f,h,K,b,S,T,v,w,L,R,U,q,x,A,E,I,C,O,P,H,M,B,N,Q,W,Z,D,V,j,G,z,X,Y,J,$,ee,le,ae,ne,ie,se,re,te,ue,oe,de,ce,ge,_e,ye,me,pe,ke,Fe,fe,he,Ke,be,Se,Te,ve,we,Le,Re,Ue,qe,xe,Ae,Ee,Ie,Ce,Oe,Pe,He,Me,Be,Ne,Qe,We,Ze,De,Ve,je,Ge,ze={fragment:{argumentDefinitions:l=[{defaultValue:null,kind:"LocalArgument",name:"screen_name"},{defaultValue:!1,kind:"LocalArgument",name:"withDmMuting"},{defaultValue:!1,kind:"LocalArgument",name:"withSafetyModeUserFields"}],kind:"Fragment",metadata:null,name:"UsersGraphQLFetchByScreenNameQuery",selections:[{alias:"user",args:a=[{kind:"Literal",name:"s",value:"f3d8"},{kind:"Variable",name:"screen_name",variableName:"screen_name"}],concreteType:"UserResults",kind:"LinkedField",name:"user_result_by_screen_name",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"rest_id",storageKey:null},{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[u={alias:null,args:null,concreteType:"TimelineUrl",kind:"LinkedField",name:"url",plural:!1,selections:t=[r={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:"urlType",args:null,kind:"ScalarField",name:"url_type",storageKey:null},{alias:"urtEndpointOptions",args:null,concreteType:"TimelineUrtEndpointOptions",kind:"LinkedField",name:"urt_endpoint_options",plural:!1,selections:[{alias:"cacheId",args:null,kind:"ScalarField",name:"cache_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"subtitle",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:"requestParams",args:null,concreteType:"RequestParamsEntry",kind:"LinkedField",name:"request_params",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Timeline",kind:"LinkedField",name:"timeline",plural:!1,selections:[i],storageKey:null}],storageKey:null}],storageKey:null},o={alias:null,args:null,concreteType:"BadgeInfo",kind:"LinkedField",name:"badge",plural:!1,selections:[r],storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:U=[c={alias:null,args:null,kind:"ScalarField",name:"alignment",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"rtl",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[y={alias:"fromIndex",args:null,kind:"ScalarField",name:"from_index",storageKey:null},m={alias:"toIndex",args:null,kind:"ScalarField",name:"to_index",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"format",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[k={alias:"type",args:null,kind:"ScalarField",name:"__typename",storageKey:null},f={kind:"InlineFragment",selections:F=[_],type:"TimelineRichTextCashtag",abstractKey:null},h={kind:"InlineFragment",selections:[i,r],type:"TimelineRichTextList",abstractKey:null},K={kind:"InlineFragment",selections:F,type:"TimelineRichTextHashtag",abstractKey:null},b={kind:"InlineFragment",selections:t,type:"TimelineUrl",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:R=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[T={alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[S={alias:null,args:null,kind:"ScalarField",name:"screen_name",storageKey:null}],storageKey:null},s],type:"User",abstractKey:null},L={kind:"InlineFragment",selections:[v={alias:"reason",args:null,kind:"ScalarField",name:"unavailable_reason",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[S,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:R,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},q={alias:"userLabelType",args:null,kind:"ScalarField",name:"user_label_type",storageKey:null},x={alias:"userLabelDisplayType",args:null,kind:"ScalarField",name:"user_label_display_type",storageKey:null}],storageKey:null}],storageKey:null},A={condition:"withDmMuting",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"dm_muting",storageKey:null}]},E={alias:null,args:null,kind:"ScalarField",name:"has_graduated_access",storageKey:null},I={alias:null,args:null,kind:"ScalarField",name:"is_blue_verified",storageKey:null},{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[O={kind:"RequiredField",field:C={alias:null,args:null,kind:"ScalarField",name:"blocked_by",storageKey:null},action:"THROW",path:"user.result.legacy.blocked_by"},H={kind:"RequiredField",field:P={alias:null,args:null,kind:"ScalarField",name:"blocking",storageKey:null},action:"THROW",path:"user.result.legacy.blocking"},B={kind:"RequiredField",field:M={alias:null,args:null,kind:"ScalarField",name:"follow_request_sent",storageKey:null},action:"THROW",path:"user.result.legacy.follow_request_sent"},Q={kind:"RequiredField",field:N={alias:null,args:null,kind:"ScalarField",name:"followed_by",storageKey:null},action:"THROW",path:"user.result.legacy.followed_by"},Z={kind:"RequiredField",field:W={alias:null,args:null,kind:"ScalarField",name:"following",storageKey:null},action:"THROW",path:"user.result.legacy.following"},D={alias:null,args:null,kind:"ScalarField",name:"muting",storageKey:null},V={alias:null,args:null,kind:"ScalarField",name:"notifications",storageKey:null},G={kind:"RequiredField",field:j={alias:null,args:null,kind:"ScalarField",name:"protected",storageKey:null},action:"THROW",path:"user.result.legacy.protected"},O,H,B,Q,Z,D,V,G,z={alias:null,args:null,kind:"ScalarField",name:"can_dm",storageKey:null},X={alias:null,args:null,kind:"ScalarField",name:"can_media_tag",storageKey:null},Y={alias:null,args:null,kind:"ScalarField",name:"created_at",storageKey:null},J={alias:null,args:null,kind:"ScalarField",name:"default_profile",storageKey:null},$={alias:null,args:null,kind:"ScalarField",name:"default_profile_image",storageKey:null},d,ae={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"entities",plural:!1,selections:le=[{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"description",plural:!1,selections:ee=[{alias:null,args:null,concreteType:"UrlsEntity",kind:"LinkedField",name:"urls",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"display_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"expanded_url",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"indices",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntitySet",kind:"LinkedField",name:"url",plural:!1,selections:ee,storageKey:null}],storageKey:null},ne={alias:null,args:null,kind:"ScalarField",name:"fast_followers_count",storageKey:null},{kind:"RequiredField",field:ie={alias:null,args:null,kind:"ScalarField",name:"favourites_count",storageKey:null},action:"THROW",path:"user.result.legacy.favourites_count"},se={alias:null,args:null,kind:"ScalarField",name:"follow_request_received",storageKey:null},{kind:"RequiredField",field:re={alias:null,args:null,kind:"ScalarField",name:"followers_count",storageKey:null},action:"THROW",path:"user.result.legacy.followers_count"},{kind:"RequiredField",field:te={alias:null,args:null,kind:"ScalarField",name:"friends_count",storageKey:null},action:"THROW",path:"user.result.legacy.friends_count"},ue={alias:null,args:null,kind:"ScalarField",name:"has_custom_timelines",storageKey:null},oe={alias:null,args:null,kind:"ScalarField",name:"is_translator",storageKey:null},de={alias:null,args:null,kind:"ScalarField",name:"listed_count",storageKey:null},ce={alias:null,args:null,kind:"ScalarField",name:"location",storageKey:null},{kind:"RequiredField",field:ge={alias:null,args:null,kind:"ScalarField",name:"media_count",storageKey:null},action:"THROW",path:"user.result.legacy.media_count"},_e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},ye={alias:null,args:null,kind:"ScalarField",name:"needs_phone_verification",storageKey:null},me={alias:null,args:null,kind:"ScalarField",name:"normal_followers_count",storageKey:null},pe={alias:null,args:null,kind:"ScalarField",name:"pinned_tweet_ids_str",storageKey:null},ke={alias:null,args:null,kind:"ScalarField",name:"possibly_sensitive",storageKey:null},fe={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_banner_extensions",plural:!1,selections:Fe=[{alias:null,args:null,concreteType:"ApiMediaColorExtension",kind:"LinkedField",name:"mediaColor",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaColorExtensionR",kind:"LinkedField",name:"r",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPalette",kind:"LinkedField",name:"ok",plural:!1,selections:[{alias:null,args:null,concreteType:"ApiMediaEntityColorPaletteColor",kind:"LinkedField",name:"palette",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},{alias:null,args:null,concreteType:"ApiMediaEntityColor",kind:"LinkedField",name:"rgb",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"blue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"green",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"red",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},he={alias:null,args:null,kind:"ScalarField",name:"profile_banner_url",storageKey:null},Ke={alias:null,args:null,concreteType:"ApiMediaExtensions",kind:"LinkedField",name:"profile_image_extensions",plural:!1,selections:Fe,storageKey:null},be={alias:null,args:null,kind:"ScalarField",name:"profile_image_url_https",storageKey:null},Se={alias:null,args:null,kind:"ScalarField",name:"profile_interstitial_type",storageKey:null},S,{kind:"RequiredField",field:Te={alias:null,args:null,kind:"ScalarField",name:"statuses_count",storageKey:null},action:"THROW",path:"user.result.legacy.statuses_count"},ve={alias:null,args:null,kind:"ScalarField",name:"time_zone",storageKey:null},we={alias:null,args:null,kind:"ScalarField",name:"translator_type",storageKey:null},r,Le={alias:null,args:null,kind:"ScalarField",name:"utc_offset",storageKey:null},{kind:"RequiredField",field:Re={alias:null,args:null,kind:"ScalarField",name:"verified",storageKey:null},action:"THROW",path:"user.result.legacy.verified"},Ue={alias:null,args:null,kind:"ScalarField",name:"verified_type",storageKey:null},qe={alias:null,args:null,kind:"ScalarField",name:"want_retweets",storageKey:null},xe={alias:null,args:null,kind:"ScalarField",name:"withheld_description",storageKey:null},Ae={alias:null,args:null,concreteType:"UserEntities",kind:"LinkedField",name:"withheld_entities",plural:!1,selections:le,storageKey:null},Ee={alias:null,args:null,kind:"ScalarField",name:"withheld_in_countries",storageKey:null},Ie={alias:null,args:null,kind:"ScalarField",name:"withheld_scope",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[s,Ce={alias:null,args:null,kind:"ScalarField",name:"professional_type",storageKey:null},Oe={alias:null,args:null,concreteType:"BusinessCategory",kind:"LinkedField",name:"category",plural:!0,selections:[i,_e,{alias:null,args:null,kind:"ScalarField",name:"display",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"icon_name",storageKey:null}],storageKey:null}],storageKey:null},Pe={alias:null,args:null,kind:"ScalarField",name:"has_nft_avatar",storageKey:null},He={alias:null,args:null,kind:"ScalarField",name:"super_follow_eligible",storageKey:null},Me={alias:null,args:null,kind:"ScalarField",name:"super_followed_by",storageKey:null},Be={alias:null,args:null,kind:"ScalarField",name:"super_following",storageKey:null},Pe,He,Me,Be,Ne={condition:"withSafetyModeUserFields",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"smart_blocked_by",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"smart_blocking_expiration",storageKey:null}]},Qe={alias:null,args:null,kind:"ScalarField",name:"verified_phone_status",storageKey:null},We={alias:null,args:null,concreteType:"BusinessAccount",kind:"LinkedField",name:"business_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"affiliates_count",storageKey:null}],storageKey:null},Ze={alias:null,args:null,concreteType:"LegacyExtendedUserProfile",kind:"LinkedField",name:"legacy_extended_profile",plural:!1,selections:[{alias:null,args:null,concreteType:"LegacyExtendedBirthDate",kind:"LinkedField",name:"birthdate",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"day",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"month",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"year",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"visibility",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"year_visibility",storageKey:null}],storageKey:null}],storageKey:null},De={alias:null,args:null,kind:"ScalarField",name:"is_profile_translatable",storageKey:null}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[w,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:U,storageKey:null},v],type:"UserUnavailable",abstractKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:l,kind:"Operation",name:"UsersGraphQLFetchByScreenNameQuery",selections:[{alias:"user",args:a,concreteType:"UserResults",kind:"LinkedField",name:"user_result_by_screen_name",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[i,s,{alias:"affiliates_highlighted_label",args:null,concreteType:"HighlightedUserLabelResponse",kind:"LinkedField",name:"identity_profile_labels_highlighted_label",plural:!1,selections:[{alias:null,args:null,concreteType:"HighlightedUserLabel",kind:"LinkedField",name:"label",plural:!1,selections:[u,o,d,{alias:"longDescription",args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"long_description",plural:!1,selections:Ge=[c,g,_,{alias:null,args:null,concreteType:"TimelineRichTextEntity",kind:"LinkedField",name:"entities",plural:!0,selections:[y,m,p,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ref",plural:!1,selections:[n,{kind:"TypeDiscriminator",abstractKey:"__isTimelineReferenceObject"},k,f,h,K,b,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:je=[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"result",plural:!1,selections:[n,{kind:"InlineFragment",selections:[T,Ve={alias:null,args:null,filters:null,handle:"defaultScalars",key:"",kind:"LinkedHandle",name:"legacy"},s,i],type:"User",abstractKey:null},L],storageKey:null},i],storageKey:null}],type:"TimelineRichTextUser",abstractKey:null},{kind:"InlineFragment",selections:[S,{alias:"mention_results",args:null,concreteType:"UserResults",kind:"LinkedField",name:"user_results",plural:!1,selections:je,storageKey:null}],type:"TimelineRichTextMention",abstractKey:null}],storageKey:null}],storageKey:null}],storageKey:null},q,x],storageKey:null}],storageKey:null},A,E,I,{alias:null,args:null,concreteType:"ApiUser",kind:"LinkedField",name:"legacy",plural:!1,selections:[C,P,M,N,W,D,V,j,C,P,M,N,W,D,V,j,z,X,Y,J,$,d,ae,ne,ie,se,re,te,ue,oe,de,ce,ge,_e,ye,me,pe,ke,fe,he,Ke,be,Se,S,Te,ve,we,r,Le,Re,Ue,qe,xe,Ae,Ee,Ie],storageKey:null},Ve,{alias:null,args:null,concreteType:"Professional",kind:"LinkedField",name:"professional",plural:!1,selections:[s,Ce,Oe,i],storageKey:null},Pe,He,Me,Be,Pe,He,Me,Be,Ne,Qe,We,Ze,De],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[w,{alias:null,args:null,concreteType:"TimelineRichText",kind:"LinkedField",name:"unavailable_message",plural:!1,selections:Ge,storageKey:null},v],type:"UserUnavailable",abstractKey:null}],storageKey:null},i],storageKey:null}]},params:{id:"GwwBY9lhlFLsfCZqW0UVDg",metadata:{features:["responsive_web_graphql_exclude_directive_enabled","responsive_web_graphql_skip_user_profile_image_extensions_enabled","responsive_web_graphql_timeline_navigation_enabled","responsive_web_twitter_blue_verified_badge_is_enabled","verified_phone_label_enabled"]},name:"UsersGraphQLFetchByScreenNameQuery",operationKind:"query",text:null}};ze.hash="fd3dd282da84093495635e8f3a6cf9b2",e.exports=ze},7475:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>E,isFatalRemoveFollowerError:()=>A,isFatalUserResponseError:()=>q,isFatalUsersResponseError:()=>x,isFatalViewerResponseError:()=>U});var n,i=a(6899),s=(a(85488),a(58955)),r=a(11469),t=a(79363),u=a(15956),o=a(23335),d=a(51573),c=a(17360),g=a(90650),_=a(16881),y=a.n(_),m=a(88441),p=a.n(m),k=a(44538),F=a.n(k),f=a(82079),h=a.n(f),K=a(95674),b=a.n(K),S=a(63174),T=a(63140),v=a(8893);const w=(0,s.Z)(["affiliates_highlighted_label","is_profile_translatable"]),L=e=>Array.isArray(e.path)&&e.path.length>0&&w.has((0,u.Z)(e.path)),R=e=>{var l,a,n,s;if("User"===(null==(l=e.user)||null==(a=l.result)?void 0:a.__typename))return(0,i.Fv)(e.user.result,g.Z);if("UserUnavailable"===(null==(n=e.user)||null==(s=n.result)?void 0:s.__typename)){let l,a;if("Suspended"===e.user.result.reason)a=JSON.stringify(e.user.result.unavailable_message),l=T.ZP.OtherUserSuspended;else l=T.ZP.GenericUserNotFound;const n=new S.Z("userByRestId",401,{},[{code:l,message:a}]);return Promise.reject(n)}{const e=new S.Z("userByRestId",401,{},[{code:T.ZP.GenericUserNotFound}]);return Promise.reject(e)}},U=(e,l)=>{var a,n;const i=null==l||null==(a=l.viewer)||null==(n=a.user_results)?void 0:n.result,s=i&&"User"===i.__typename&&i.legacy,r=Array.isArray(e)&&e.includes(o.isGraphQLBounceError);return(!s||!r)&&(Array.isArray(e)&&!(0,t.Z)(e,L))},q=(e,l)=>{var a,n;return!("User"===(null==l||null==(a=l.user)||null==(n=a.result)?void 0:n.__typename)&&l.user.result.legacy)&&(Array.isArray(e)&&!(0,t.Z)(e,L))},x=(e,l)=>!((null==l?void 0:l.users.filter((e=>{var l;return"User"===!(null==e||null==(l=e.result)||!l.__typename)})))||[]).length&&(Array.isArray(e)&&!(0,t.Z)(e,L)),A=(e,l)=>{var a,n;return!("UnfollowSuccessResult"===(null==l||null==(a=l.remove_follower)?void 0:a.__typename)&&(null==l||null==(n=l.remove_follower)?void 0:n.unfollow_success_reason))&&(0,c.jB)(e)},E=({apiClient:e,featureSwitches:l,relayEnvironment:s})=>({fetchViewer:()=>e.graphQL(b(),{withCommunitiesMemberships:l.isTrue("c9s_enabled"),withCommunitiesCreation:l.isTrue("c9s_community_creation_enabled")},U).then((e=>{var l,a,n,s;if(!e.viewer)return;const{viewer:r}=e;let t;if("User"===(null==(l=r.user_results)||null==(a=l.result)?void 0:a.__typename)){const{__typename:e,...l}=r.user_results.result;t=l}const u={};r.user_features&&r.user_features.forEach((({enabled:e,feature:l})=>{u[l]=e}));const o=r.educationFlags;return{communitiesActions:{create:Boolean("CommunityCreateAction"===(null==(n=r.create_community_action_result)?void 0:n.__typename))},educationFlags:o,hasCommunityMemberships:r.has_community_memberships,isActiveCreator:r.is_active_creator,isRestrictedSession:r.is_tfe_restricted_session,normalizedResult:(0,i.Fv)(t,g.Z),superFollowersCount:r.super_followers_count,superFollowsApplicationStatus:null==(s=t)?void 0:s.super_follows_application_status,userFeatures:u}})),fetchOneUserByScreenNameWithRelay:({screen_name:e})=>(0,v.s)(s,void 0!==n?n:n=a(73339),{screen_name:e,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>e?R(e):{result:void 0})),fetchOneUserByScreenName:({screen_name:a})=>(0,d.o)("userByScreenName",(()=>e.graphQL(F(),{screen_name:a,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>R(e)))),(e=>e.then((({screenName:e})=>e===a)))),fetchOneUser:({user_id:a})=>e.graphQL(p(),{userId:a,withSafetyModeUserFields:l.isTrue("rito_safety_mode_blocked_profile_enabled")},q).then((e=>R(e))),fetchUsers:({user_id:l})=>e.graphQL(h(),{userIds:l.split(",")},x).then((e=>{const l=(0,r.Z)(e.users.filter(Boolean),(e=>e.result&&"User"===e.result.__typename&&e.result.legacy?e.result:void 0));return(0,i.Fv)(l,[g.Z])})),removeFollower:({target_user_id:l})=>e.graphQL(y(),{target_user_id:l},A)})},8893:(e,l,a)=>{"use strict";a.d(l,{s:()=>s});var n=a(10622),i=a.n(n);function s(e,l,a,n){return i()(e,l,a,n?{networkCacheConfig:{metadata:{isFatalError:n}}}:void 0).toPromise()}},51573:(e,l,a)=>{"use strict";a.d(l,{o:()=>o});a(21515),a(6886);var n=a(72599);const i=new class{constructor(){this.promise=new Promise(((e,l)=>{this.reject=l,this.resolve=e}))}},s=i.promise;if("undefined"!=typeof document){let e;document.addEventListener("DOMContentLoaded",(()=>{i.resolve(),null!=e&&clearTimeout(e)}));const l=()=>{"loading"!==document.readyState?i.resolve():e=setTimeout((()=>{l()}),500)};l()}var r=a(86916),t=a(79150),u=a(25943);function o(e,l,a){const i="undefined"!=typeof window?window.__PREFETCH_DATA__:void 0;if(!i)return l();const o=Date.now(),d=i.timestamp||o;if(Math.max(0,o-d)>=3e5)return delete window.__PREFETCH_DATA__,l();const c=i.items[e];if(!c)return l();return(a?a(c.meta):Promise.resolve(!0)).then((a=>a?(u.q.didPrefetch[e]=!0,Promise.race([c.promise,s]).then((a=>a?r.i(a,t.AK):((0,n.ZP)(`DOM loaded but prefetch data was not present for ${e}`),l())),(()=>(u.q.prefetchPromiseRejected[e]=!0,l()))).finally((()=>{delete i.items[e]}))):l()),(()=>l()))}},25943:(e,l,a)=>{"use strict";a.d(l,{q:()=>n});const n={didPrefetch:{},prefetchPromiseRejected:{}}}}]); -//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/endpoints.UsersGraphQL.e3a2a3ea.js.map \ No newline at end of file diff --git a/info/paths.txt b/info/paths.txt index c7123fe..6107331 100644 --- a/info/paths.txt +++ b/info/paths.txt @@ -78,6 +78,7 @@ dm/destroy dm/inbox_initial_state dm/inbox_timeline/${i} dm/new +dm/new2 dm/permissions dm/permissions/secret dm/reaction/delete