;/*FB_PKG_DELIM*/ __d("CometNotificationsDropdownQuery.graphql",["CometTextWithEntitiesRelay_textWithEntities$normalization.graphql","CometNotificationsDropdownQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"environment"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e=[{kind:"Variable",name:"environment_alias_override",variableName:"environment"},{kind:"Literal",name:"filter_tokens",value:[]},{kind:"Variable",name:"first",variableName:"count"},{kind:"Literal",name:"notif_cache_ids",value:[]},{kind:"Literal",name:"notif_query_flags",value:["IS_COMET","INCLUDE_WA_P2B_NOTIFS"]},{kind:"Literal",name:"source",value:"unknown"}],f={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},g=[f],h={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:g,storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"tracking",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"prefetch_score",storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"notif_id",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"notif_cache_id",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},n={alias:"creation_time",args:null,concreteType:"CreationTimeWithRelativeText",kind:"LinkedField",name:"creation_time_with_relative_text",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"notif_type",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometNotificationsDropdownQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"}],kind:"FragmentSpread",name:"CometNotificationsListWrapper_viewer"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometNotificationsDropdownQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[c,d,{kind:"TypeDiscriminator",abstractKey:"__isActor"}],storageKey:null},{alias:null,args:e,concreteType:"ViewerNotificationsPageConnection",kind:"LinkedField",name:"notifications_page",plural:!1,selections:[{alias:null,args:null,concreteType:"NotifPageFilterConfig",kind:"LinkedField",name:"filter_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"selected_filter_tokens",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"filters",plural:!0,selections:[c,{kind:"InlineFragment",selections:[h,{alias:null,args:null,kind:"ScalarField",name:"notif_filter_token",storageKey:null}],type:"NotifPageSingleFilter",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query_id",storageKey:null},{alias:null,args:null,concreteType:"ViewerNotificationsPageEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"row_type",storageKey:null},i,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"bucket_type",storageKey:null},{alias:null,args:null,concreteType:"NotifPageBucketHeaderLink",kind:"LinkedField",name:"header_link",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},h],type:"NotifPageBucketHeaderRow",abstractKey:null},{kind:"InlineFragment",selections:[j,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[k,d,l,m,n,i],storageKey:null}],type:"NotifPageCachedNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[j,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[k,m,d,l,{alias:null,args:null,kind:"ScalarField",name:"notif_tags",storageKey:null},i,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"notif_attachments",plural:!0,selections:[c,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"sound_urls",storageKey:null}],type:"NotifSoundAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemFriendRequestAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"FriendRequestNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemInlineCTAAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"InlineCTACometNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemPageInviteAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"PageInviteNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemQuickPromotionAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"QuickPromotionNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemInlineSurveyAttachment_attachment",fragmentPropName:"attachment",kind:"ModuleImport"},{alias:null,args:null,concreteType:"StructuredSurveySession",kind:"LinkedField",name:"inline_survey",plural:!1,selections:[c],storageKey:null}],type:"InlineSurveyNotifAttachment",abstractKey:null}],storageKey:null},n,o,{kind:"ClientExtension",selections:[{alias:"id_for_entrypoint",args:null,kind:"ScalarField",name:"__id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null}]},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"body",plural:!1,selections:[{args:null,fragment:b("CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"),kind:"FragmentSpread"},f],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:56},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:56}],concreteType:"Image",kind:"LinkedField",name:"notif_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:null,concreteType:"GlyphIconData",kind:"LinkedField",name:"icon_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"glyph_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"glyph_icon_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NotificationContextInfo",kind:"LinkedField",name:"context_info",plural:!1,selections:[{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"short_text",plural:!1,selections:g,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NotifNavigationEndpoint",kind:"LinkedField",name:"navigation_endpoint",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:"1aGO5L"}],concreteType:null,kind:"LinkedField",name:"comet_custom_renderer",plural:!1,selections:[c,{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometTopFansFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"TopFansFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometRisingFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"RisingFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCrossProfileNotificationsListItem_cpnInfo",fragmentPropName:"cpnInfo",kind:"ModuleImport"}],type:"CrossProfileNotificationInfo",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometBusinessMessageNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"BusinessMessageNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometGroupsNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometXIPaidexNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"XIPaidexNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometAPPlusPostWaitlistNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"APPlusPostWaitlistNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"1aGO5L")'}],storageKey:null}],storageKey:null}],type:"NotifPageNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"invalidation_reason",storageKey:null},{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[k,o,d],storageKey:null}],type:"NotifPageDebugInvalidationRow",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:e,filters:["environment_alias_override"],handle:"comet_notifications_thin_client",key:"CometNotificationsList_notifications_page",kind:"LinkedHandle",name:"notifications_page"},{alias:null,args:[{kind:"Variable",name:"environment",variableName:"environment"}],kind:"ScalarField",name:"notifications_unseen_count",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_update_timestamp",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notifications_sound_path",storageKey:null}],storageKey:null}]},params:{id:b("CometNotificationsDropdownQuery_facebookRelayOperation"),metadata:{},name:"CometNotificationsDropdownQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null); __d("CometNotificationsFilters_filters.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometNotificationsFilters_filters",selections:[{alias:null,args:null,kind:"ScalarField",name:"selected_filter_tokens",storageKey:null},{kind:"RequiredField",field:{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"filters",plural:!0,selections:[{kind:"InlineFragment",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},action:"THROW",path:"filters.title.text"}],storageKey:null},action:"THROW",path:"filters.title"},{alias:null,args:null,kind:"ScalarField",name:"notif_filter_token",storageKey:null}],type:"NotifPageSingleFilter",abstractKey:null}],storageKey:null},action:"THROW",path:"filters"}],type:"NotifPageFilterConfig",abstractKey:null};e.exports=a}),null); __d("CometNotificationsListPaginationQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6910480885684900"}),null); __d("CometNotificationsListPaginationQuery.graphql",["CometTextWithEntitiesRelay_textWithEntities$normalization.graphql","CometNotificationsListPaginationQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:null,kind:"LocalArgument",name:"environment"},{defaultValue:[],kind:"LocalArgument",name:"filter_tokens"},{defaultValue:[],kind:"LocalArgument",name:"notif_cache_ids"},{defaultValue:["IS_COMET","INCLUDE_WA_P2B_NOTIFS"],kind:"LocalArgument",name:"notif_query_flags"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c={kind:"Variable",name:"filter_tokens",variableName:"filter_tokens"},d={kind:"Variable",name:"notif_cache_ids",variableName:"notif_cache_ids"},e={kind:"Variable",name:"notif_query_flags",variableName:"notif_query_flags"},f=[{kind:"Variable",name:"after",variableName:"cursor"},{kind:"Variable",name:"environment_alias_override",variableName:"environment"},c,{kind:"Variable",name:"first",variableName:"count"},d,e,{kind:"Literal",name:"source",value:"unknown"}],g={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},i=[h],j={alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:i,storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"tracking",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"prefetch_score",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"notif_id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"notif_cache_id",storageKey:null},p={alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},q={alias:"creation_time",args:null,concreteType:"CreationTimeWithRelativeText",kind:"LinkedField",name:"creation_time_with_relative_text",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"notif_type",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometNotificationsListPaginationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"cursor",variableName:"cursor"},c,d,e],kind:"FragmentSpread",name:"CometNotificationsList_viewerConnection"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometNotificationsListPaginationQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:f,concreteType:"ViewerNotificationsPageConnection",kind:"LinkedField",name:"notifications_page",plural:!1,selections:[{alias:null,args:null,concreteType:"NotifPageFilterConfig",kind:"LinkedField",name:"filter_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"selected_filter_tokens",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"filters",plural:!0,selections:[g,{kind:"InlineFragment",selections:[j,{alias:null,args:null,kind:"ScalarField",name:"notif_filter_token",storageKey:null}],type:"NotifPageSingleFilter",abstractKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query_id",storageKey:null},{alias:null,args:null,concreteType:"ViewerNotificationsPageEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[g,{alias:null,args:null,kind:"ScalarField",name:"row_type",storageKey:null},k,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"bucket_type",storageKey:null},{alias:null,args:null,concreteType:"NotifPageBucketHeaderLink",kind:"LinkedField",name:"header_link",plural:!1,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},j],type:"NotifPageBucketHeaderRow",abstractKey:null},{kind:"InlineFragment",selections:[l,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[m,n,o,p,q,k],storageKey:null}],type:"NotifPageCachedNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[l,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[m,p,n,o,{alias:null,args:null,kind:"ScalarField",name:"notif_tags",storageKey:null},k,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"notif_attachments",plural:!0,selections:[g,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"sound_urls",storageKey:null}],type:"NotifSoundAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemFriendRequestAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"FriendRequestNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemInlineCTAAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"InlineCTACometNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemPageInviteAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"PageInviteNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemQuickPromotionAttachment_notifAttachments",fragmentPropName:"notifAttachments",kind:"ModuleImport"}],type:"QuickPromotionNotifAttachment",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsListItemAttachment_notification",fragmentName:"CometNotificationsListItemInlineSurveyAttachment_attachment",fragmentPropName:"attachment",kind:"ModuleImport"},{alias:null,args:null,concreteType:"StructuredSurveySession",kind:"LinkedField",name:"inline_survey",plural:!1,selections:[g],storageKey:null}],type:"InlineSurveyNotifAttachment",abstractKey:null}],storageKey:null},q,r,{kind:"ClientExtension",selections:[{alias:"id_for_entrypoint",args:null,kind:"ScalarField",name:"__id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null}]},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"body",plural:!1,selections:[{args:null,fragment:b("CometTextWithEntitiesRelay_textWithEntities$normalization.graphql"),kind:"FragmentSpread"},h],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:56},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:56}],concreteType:"Image",kind:"LinkedField",name:"notif_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:null,concreteType:"GlyphIconData",kind:"LinkedField",name:"icon_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"reaction_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"glyph_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"glyph_icon_url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NotificationContextInfo",kind:"LinkedField",name:"context_info",plural:!1,selections:[{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"short_text",plural:!1,selections:i,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NotifNavigationEndpoint",kind:"LinkedField",name:"navigation_endpoint",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:"1aGO5L"}],concreteType:null,kind:"LinkedField",name:"comet_custom_renderer",plural:!1,selections:[g,{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometTopFansFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"TopFansFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometRisingFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"RisingFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCrossProfileNotificationsListItem_cpnInfo",fragmentPropName:"cpnInfo",kind:"ModuleImport"}],type:"CrossProfileNotificationInfo",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometBusinessMessageNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"BusinessMessageNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometGroupsNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometXIPaidexNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"XIPaidexNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometAPPlusPostWaitlistNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"APPlusPostWaitlistNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"1aGO5L")'}],storageKey:null}],storageKey:null}],type:"NotifPageNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"invalidation_reason",storageKey:null},{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[m,r,n],storageKey:null}],type:"NotifPageDebugInvalidationRow",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:f,filters:["environment_alias_override"],handle:"comet_notifications_thin_client",key:"CometNotificationsList_notifications_page",kind:"LinkedHandle",name:"notifications_page"}],storageKey:null}]},params:{id:b("CometNotificationsListPaginationQuery_facebookRelayOperation"),metadata:{},name:"CometNotificationsListPaginationQuery",operationKind:"query",text:null}}}();e.exports=a}),null); __d("CometNotificationsListWrapper_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{defaultValue:[],kind:"LocalArgument",name:"filter_tokens"}],kind:"Fragment",metadata:null,name:"CometNotificationsListWrapper_viewer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{args:[{kind:"Variable",name:"count",variableName:"count"},{kind:"Variable",name:"filter_tokens",variableName:"filter_tokens"}],kind:"FragmentSpread",name:"CometNotificationsList_viewerConnection"},{args:null,kind:"FragmentSpread",name:"CometNotificationsList_viewerData"}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("CometNotificationsList_viewerConnection.graphql",["CometNotificationsListPaginationQuery.graphql"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=["notifications_page"],c={alias:null,args:null,kind:"ScalarField",name:"tracking",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"prefetch_score",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"notif_id",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"notif_cache_id",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null},j={alias:"creation_time",args:null,concreteType:"CreationTimeWithRelativeText",kind:"LinkedField",name:"creation_time_with_relative_text",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"timestamp",storageKey:null}],storageKey:null};return{argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"count"},{defaultValue:null,kind:"LocalArgument",name:"cursor"},{kind:"RootArgument",name:"environment"},{defaultValue:[],kind:"LocalArgument",name:"filter_tokens"},{defaultValue:[],kind:"LocalArgument",name:"notif_cache_ids"},{defaultValue:["IS_COMET","INCLUDE_WA_P2B_NOTIFS"],kind:"LocalArgument",name:"notif_query_flags"},{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:{connection:[{count:"count",cursor:"cursor",direction:"forward",path:a}],refetch:{connection:{forward:{count:"count",cursor:"cursor"},backward:null,path:a},fragmentPathInResult:["viewer"],operation:b("CometNotificationsListPaginationQuery.graphql")}},name:"CometNotificationsList_viewerConnection",selections:[{alias:"notifications_page",args:[{kind:"Variable",name:"environment_alias_override",variableName:"environment"}],concreteType:"ViewerNotificationsPageConnection",kind:"LinkedField",name:"__CometNotificationsList_notifications_page_comet_notifications_thin_client",plural:!1,selections:[{alias:null,args:null,concreteType:"NotifPageFilterConfig",kind:"LinkedField",name:"filter_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"selected_filter_tokens",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometNotificationsFilters_filters"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"query_id",storageKey:null},{alias:null,args:null,concreteType:"ViewerNotificationsPageEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"row_type",storageKey:null},c,{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"bucket_type",storageKey:null},{alias:null,args:null,concreteType:"NotifPageBucketHeaderLink",kind:"LinkedField",name:"header_link",plural:!1,selections:[d,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[d],storageKey:null}],type:"NotifPageBucketHeaderRow",abstractKey:null},{kind:"InlineFragment",selections:[e,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[f,g,h,i,j,c],storageKey:null}],type:"NotifPageCachedNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[e,{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[f,i,g,h,{alias:null,args:null,kind:"ScalarField",name:"notif_tags",storageKey:null},c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"notif_attachments",plural:!0,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"sound_urls",storageKey:null}],type:"NotifSoundAttachment",abstractKey:null}],storageKey:null},j,{args:null,kind:"FragmentSpread",name:"CometNotificationsListItem_notification"},{args:null,kind:"FragmentSpread",name:"CometToastNotification_notification"},{alias:null,args:null,concreteType:"NotifNavigationEndpoint",kind:"LinkedField",name:"navigation_endpoint",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:"1aGO5L"}],concreteType:null,kind:"LinkedField",name:"comet_custom_renderer",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometTopFansFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"TopFansFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometRisingFanNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"RisingFanNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCrossProfileNotificationsListItem_cpnInfo",fragmentPropName:"cpnInfo",kind:"ModuleImport"}],type:"CrossProfileNotificationInfo",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometBusinessMessageNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"BusinessMessageNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometGroupsNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"GroupsNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometXIPaidexNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"XIPaidexNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometAPPlusPostWaitlistNotificationsListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"APPlusPostWaitlistNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"1aGO5L")'}],storageKey:null}],storageKey:null}],type:"NotifPageNotificationRow",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"invalidation_reason",storageKey:null},{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notif",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"notif_type",storageKey:null}],storageKey:null}],type:"NotifPageDebugInvalidationRow",abstractKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cursor",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PageInfo",kind:"LinkedField",name:"page_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"end_cursor",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_next_page",storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null); __d("CometNotificationsList_viewerData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"environment"}],kind:"Fragment",metadata:null,name:"CometNotificationsList_viewerData",selections:[{alias:null,args:[{kind:"Variable",name:"environment",variableName:"environment"}],kind:"ScalarField",name:"notifications_unseen_count",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{args:null,kind:"FragmentSpread",name:"CometNotificationsListItem_actor"},{args:null,kind:"FragmentSpread",name:"CometToastNotification_actor"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"last_update_timestamp",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"notifications_sound_path",storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("CometFeedsNotificationsUpdateSeenStateMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6226635590760960"}),null); __d("CometFeedsNotificationsUpdateSeenStateMutation.graphql",["CometFeedsNotificationsUpdateSeenStateMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"NotificationsUpdateSeenOrReadResponsePayload",kind:"LinkedField",name:"notifications_update_seen_or_read",plural:!1,selections:[{alias:null,args:null,concreteType:"Notification",kind:"LinkedField",name:"notifications",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seen_state",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometFeedsNotificationsUpdateSeenStateMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometFeedsNotificationsUpdateSeenStateMutation",selections:c},params:{id:b("CometFeedsNotificationsUpdateSeenStateMutation_facebookRelayOperation"),metadata:{},name:"CometFeedsNotificationsUpdateSeenStateMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); __d("CometNotificationsContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({renderLocation:null});g["default"]=b}),98); __d("CometNotificationsInteractionLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||(h=d("react"));b=h;var i=b.useMemo,j=b.useRef;c=function(){var a=j(!1);return i(function(){return{notifsLoadCompleteRef:a}},[a])};e=a.createContext({notifsLoadCompleteRef:{current:!1}});g.useInteractionLoggingRefs=c;g.CometNotificationsInteractionLoggingContext=e}),98); __d("CometLeftRailLegacyText.react",["react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={nowrap:{display:"x1lliihq",overflowX:"x6ikm8r",overflowY:"x10wlt62",textOverflow:"xlyipyv",whiteSpace:"xuxw1ft",$$css:!0},size13:{fontSize:"x1nxh6w3",lineHeight:"x1sqdly8",$$css:!0},size15:{fontSize:"x6prxxf",lineHeight:"xpq8k02",$$css:!0},size17:{fontSize:"x1lkfr7t",lineHeight:"x1lbecb7",$$css:!0},size20:{fontSize:"x1603h9y",lineHeight:"x1u7k74",$$css:!0},size24:{fontSize:"xngnso2",lineHeight:"x1qb5hxa",$$css:!0},size28:{fontSize:"x1q74xe4",lineHeight:"xyesn5m",$$css:!0},size32:{fontSize:"x579bpy",lineHeight:"x2sqz4w",$$css:!0},sizeInherit:{fontSize:"x1qlqyl8",fontWeight:"x1pd3egz",lineHeight:"x15bjb6t",$$css:!0},uppercase:{textTransform:"xtvhhri",$$css:!0},useBlueLink:{color:"x1fey0fg",$$css:!0},useDisabled:{color:"x1dntmbh",$$css:!0},useHighlight:{color:"x1qq9wsj",$$css:!0},useInherit:{color:"x1heor9g",$$css:!0},useInverse:{color:"x17z8epw",$$css:!0},useNegative:{color:"x1a1m0xk",$$css:!0},usePlaceholder:{color:"x12scifz",$$css:!0},usePositive:{color:"x6u5lvz",$$css:!0},usePrimary:{color:"xzsf02u",$$css:!0},useSecondary:{color:"xi81zsa",$$css:!0},useSecondaryDark:{color:"x1lfu0sg",$$css:!0},useTertiary:{color:"x12scifz",$$css:!0},weightBold:{fontWeight:"x1xlr1w8",$$css:!0},weightInherit:{fontWeight:"x1pd3egz",$$css:!0},weightMedium:{fontWeight:"xk50ysn",$$css:!0},weightNormal:{fontWeight:"xo1l8bm",$$css:!0},weightSemiBold:{fontWeight:"x1s688f",$$css:!0}};function l(a){var b=a.children,d=a.display;d=d===void 0?"wrap":d;var e=a.size;e=e===void 0?15:e;var f=a.uppercase;f=f===void 0?!1:f;var g=a.use;g=g===void 0?"primary":g;a=a.weight;a=a===void 0?"normal":a;return b((h||(h=c("stylex")))(d==="nowrap"&&k.nowrap,e==="inherit"&&k.sizeInherit,e===13&&k.size13,e===15&&k.size15,e===17&&k.size17,e===20&&k.size20,e===24&&k.size24,e===28&&k.size28,e===32&&k.size32,f===!0&&k.uppercase,g==="bluelink"&&k.useBlueLink,g==="disabled"&&k.useDisabled,g==="highlight"&&k.useHighlight,g==="inherit"&&k.useInherit,g==="inverse"&&k.useInverse,g==="negative"&&k.useNegative,g==="placeholder"&&k.usePlaceholder,g==="positive"&&k.usePositive,g==="primary"&&k.usePrimary,g==="secondary"&&k.useSecondary,g==="secondary-dark"&&k.useSecondaryDark,g==="tertiary"&&k.useTertiary,a==="bold"&&k.weightBold,a==="medium"&&k.weightMedium,a==="normal"&&k.weightNormal,a==="semibold"&&k.weightSemiBold,a==="inherit"&&k.weightInherit))}l.displayName=l.name+" [from "+f.id+"]";function a(a){var b=a.children,c=a.id,d=a.testid;d=babelHelpers.objectWithoutPropertiesLoose(a,["children","id","testid"]);return j.jsx(l,babelHelpers["extends"]({},d,{children:function(a){return j.jsx("span",{className:a,"data-testid":void 0,id:c,children:b})}}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometLeftRailNewContentPill.react",["CometLeftRailLegacyText.react","CometPressable.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={pill:{alignItems:"x6s0dn4",backgroundColor:"xtvsq51",borderTop:"x76ihet",borderEnd:"xwmqs3e",borderBottom:"x112ta8",borderStart:"xxxdfa6",borderTopStartRadius:"x107yiy2",borderTopEndRadius:"xv8uw2v",borderBottomEndRadius:"x1tfwpuw",borderBottomStartRadius:"x2g32xy",boxShadow:"xpdwapb",cursor:"x1ypdohk",display:"x78zum5",height:"x1vqgdyp",justifyContent:"x1qughib",marginTop:"xw7yly9",paddingTop:"xexx8yu",paddingEnd:"x1pi30zi",paddingBottom:"x18d9i69",paddingStart:"x1swvt13",position:"x10l6tqk",start:"xtzzx4i",left:null,right:null,top:"x13vifvy",transform:"xuuh30",width:"x14atkfc",$$css:!0}};function a(a){var b=a.children;a=a.onClick;return i.jsx(c("CometPressable.react"),{display:"inline",onPress:a,overlayDisabled:!0,xstyle:j.pill,children:i.jsx(c("CometLeftRailLegacyText.react"),{display:"nowrap",use:"inverse",weight:"semibold",children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsActionsButton.react",["fbt","ix","CometDeferredPopoverTrigger.react","TetraCircleButton.react","fbicon","react","requireDeferred"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react"),l=c("requireDeferred")("CometNotificationsActionsMenu.react").__setRef("CometNotificationsActionsButton.react"),m=c("requireDeferred")("OpenJewelOptionsMenuFalcoEvent").__setRef("CometNotificationsActionsButton.react");function a(a){var b=a.actorId,e=a.notificationsListRef;a=a.onSeeAllClick;return k.jsx(c("CometDeferredPopoverTrigger.react"),{align:"end",popoverProps:{actorId:b,notificationsListRef:e,onSeeAllClick:a},popoverResource:l,popoverType:"menu",position:"below",children:function(a,e,f,g,j,l){return k.jsx(c("TetraCircleButton.react"),{color:"secondary",icon:d("fbicon")._(i("484387"),20),label:h._("__JHASH__znbiTCy0onP__JHASH__"),onHoverIn:g,onHoverOut:j,onPress:function(){e(),m.onReady(function(a){a=a.log;return a(function(){return{userID:b}})})},onPressIn:l,ref:a,size:32,testid:void 0,type:"deemphasized"})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNoNotifications.react",["fbt","CometContentArea.react","CometNotificationsRootContext","NullStateNotifications","TetraButton.react","TetraNullState.react","react","requireDeferred"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));b=i;var k=b.useContext,l=b.useEffect,m=c("requireDeferred")("NoNotificationsFalcoEvent").__setRef("CometNoNotifications.react");function a(a){var b=a.loggingSurface,d=a.userId;l(function(){m.onReady(function(a){a=a.log;return a(function(){return{ref:b,user_id:d}})})},[b,d]);a=k(c("CometNotificationsRootContext"));a=a.source;a=a==="FEEDS";return j.jsx(c("CometContentArea.react"),{verticalAlign:"middle",children:a?j.jsx(c("TetraNullState.react"),{action:j.jsx(c("TetraButton.react"),{label:h._("__JHASH__R53BFNwm0uY__JHASH__"),linkProps:{url:"https://www.facebook.com/help/338264271792192"},padding:"wide"}),body:h._("__JHASH__uB3HKh1wMdr__JHASH__"),"data-testid":void 0,headline:h._("__JHASH__9oEzzEzvu3-__JHASH__"),icon:c("NullStateNotifications")}):j.jsx(c("TetraNullState.react"),{"data-testid":void 0,headline:h._("__JHASH__jfKxt2CsC1d__JHASH__"),icon:c("NullStateNotifications")})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsBucketHeaderListItem.react",["CometUnitHeader.react","ODS","react","useNotificationsImpressionLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||(h=d("react")),k=h.useEffect;function a(a){var b=a.actorId,e=a.bucketHeader,f=a.filterTokens,g=a.headerLinkText,h=a.onPress,l=a.title,m=a.trackingData;a=a.url;b=c("useNotificationsImpressionLogger")({actorId:b,loggerContext:"www_tab",notifId:null,trackingData:m});m=b[0];k(function(){var a;(i||(i=d("ODS"))).bumpEntityKey(3478,"comet_notifications.list","see_all.impression."+((a=e)!=null?a:"null"))},[e]);return j.jsx("div",{ref:m,role:"rowheader",children:j.jsx(c("CometUnitHeader.react"),{action:g,actionLinkProps:{passthroughProps:{filterTokens:f},url:a},actiontestid:"NotificationsBucketHeaderLink",headline:l,level:3,onActionPress:h,testid:void 0})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsFilter.react",["CometPivotLink.react","filterNulls","react","requireDeferred","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j=c("requireDeferred")("NotifFilterClickFalcoEvent").__setRef("CometNotificationsFilter.react"),k=c("requireDeferred")("NotifFilterImpressionFalcoEvent").__setRef("CometNotificationsFilter.react");function l(a){switch(a==null?void 0:a.toLowerCase()){case"priority":return"click_priority_filter";case"unread":return"click_unread_filter";case"friends":return"click_friends_filter";case"my ads":return"click_ads_filter";case"new followers":return"click_new_followers_filter";case"all":default:return"click_all_filter"}}function m(a){switch(a==null?void 0:a.toLowerCase()){case"priority":return"impression_priority_filter";case"unread":return"impression_unread_filter";case"friends":return"impression_friends_filter";case"my ads":return"impression_ads_filter";case"new followers":return"impression_new_followers_filter";case"all":default:return"impression_all_filter"}}function a(a){var b=a.actorId,d=a.name,e=a.notifFilterToken,f=a.selectedFilterTokens,g=a.setFilterTokens,h={ref:"www_tab",userID:(a=b)!=null?a:""};b=c("useVisibilityObserver")({onVisible:function(){k.onReady(function(a){a=a.log;a(function(){return babelHelpers["extends"]({},h,{event:m(d)})})})}});return d==null?null:i.jsx("div",{className:"x9f619 x5yr21d x1sxyh0",ref:b,children:i.jsx(c("CometPivotLink.react"),{label:d,onPress:function(){g(c("filterNulls")([e])),j.onReady(function(a){a=a.log;return a(function(){return babelHelpers["extends"]({},h,{event:l(d)})})})},selected:f.includes(e),type:"deemphasized"})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsFilters.react",["CometNotificationsFilter.react","CometNotificationsFilters_filters.graphql","CometRelay","FocusGroup.react","focusScopeQueries","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");e=d("FocusGroup.react").createFocusGroup(d("focusScopeQueries").tabbableScopeQuery);var k=e[0],l=e[1];function a(a){var e=a.actorId,f=a.filterConfig,g=a.setFilterTokens,i=d("CometRelay").useFragment(h!==void 0?h:h=b("CometNotificationsFilters_filters.graphql"),f);return i==null?null:j.jsx(k,{allowModifiers:!0,orientation:"horizontal",preventScrollOnFocus:!1,tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrap:!0,children:j.jsx("div",{"aria-label":"Notifications Filters",className:"x78zum5 x1q0g3np x2lah0s x1a02dak x1swvt13",role:"toolbar",children:i.filters.map(function(a){var b;return j.jsx(l,{children:j.jsx(c("CometNotificationsFilter.react"),{actorId:e,name:(b=a.title)==null?void 0:b.text,notifFilterToken:a.notif_filter_token,selectedFilterTokens:i.selected_filter_tokens,setFilterTokens:g})},a.notif_filter_token)})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsRenderLocations",[],(function(a,b,c,d,e,f){"use strict";a="dropdown";b="rail";f.DROPDOWN=a;f.RAIL=b}),66); __d("CometNotificationsScrollHoldingContainer.react",["BaseScrollableAreaContext","HiddenSubtreePassiveContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useContext,k=b.useEffect,l=b.useLayoutEffect,m=b.useRef;function a(a){var b=a.children,d=a.firstNotificationID;a=j(c("BaseScrollableAreaContext"));var e=j(c("HiddenSubtreePassiveContext")),f=m(null),g=m(null),h=m(null),n=m(0),o=a[a.length-1];k(function(){var a=o.getDOMNode();if(a!=null){n.current=a.scrollTop;var b=function(){n.current=a.scrollTop};a.addEventListener("scroll",b,{passive:!0});return function(){a.removeEventListener("scroll",b,{passive:!0})}}},[o]);l(function(){if(f.current!=null&&!e.getCurrentState().hiddenOrBackgrounded_FIXME){var a=f.current.getBoundingClientRect();if(h.current!=null&&g.current!=null){var b=a.height-h.current.height;if(b===0||g.current===d){g.current=d;h.current=a;return}var c=o.getDOMNode();c!=null&&(c.scrollTop===n.current||h.current==null)&&(c.scrollTop+=b)}g.current=d;h.current=a}});return i.jsx("div",{ref:f,children:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useHandleUpdateMultiNotifReadState",["CometNotificationsMutationLogger","CometNotificationsUpdateSeenStateMutation","recoverableViolation","useGetCancellableSeenStateCallback","useTriggerAccessibilityAlert"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b=a.accessibilityString,e=a.environment,f=a.queryEnvironment,g=a.queryID,h=a.receivedNotificationIdsRef,i=a.timestamp,j=a.triggerAccessibilityAlert;if(h==null||h.current==null)return;d("CometNotificationsUpdateSeenStateMutation").CometNotificationsUpdateSeenStateMutation(e,{environment:f,input:{environment:f,is_comet:!0,last_notif_sync_time:i,notif_ids:Array.from(h.current),query_id:g,source:"unknown",update_type:"MARK_ALL_READ"}},{mutationLogger:d("CometNotificationsMutationLogger").notificationMarkAllAsReadStart,onError:function(a){c("recoverableViolation")("Update read state (multi) mutation failed with an error: ","Notifications",{error:a})},onSuccess:function(){b!=null&&j!=null&&j(b)},updater:function(a){d("CometNotificationsUpdateSeenStateMutation").updateMultiNotifReadState(a),d("CometNotificationsUpdateSeenStateMutation").clearBadgeCount(a)}})}function a(a){var b=c("useTriggerAccessibilityAlert")();return c("useGetCancellableSeenStateCallback")(babelHelpers["extends"]({},a,{triggerAccessibilityAlert:b,updater:h}))}g["default"]=a}),98); __d("CometFeedsNotificationsUpdateSeenStateMutation",["CometFeedsNotificationsUpdateSeenStateMutation.graphql","CometRelay"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometFeedsNotificationsUpdateSeenStateMutation.graphql");function a(a,b,c){var e=c.mutationLogger(),f=e.logOnError,g=e.logOnSuccess;return d("CometRelay").commitMutation(a,{mutation:i,onCompleted:function(){g(),c.onSuccess&&c.onSuccess()},onError:function(a){f(a),c.onError&&c.onError(a)},optimisticUpdater:c.updater,variables:b})}g.CometFeedsNotificationsUpdateSeenStateMutation=a;g.mutation=i}),98); __d("useThrottledMarkNotificationsAsSeen",["CometRelay","CometThrottle","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b=a.accessibilityString,e=a.mutationLogger,f=a.notifId,g=a.queryEnvironment,h=a.queryID,j=a.receivedNotificationIdsRef,k=a.seenState,l=a.timestamp,m=a.triggerAccessibilityAlert,n=a.updater,o=a.updateType,p=d("CometRelay").useRelayEnvironment();return i(function(){return c("CometThrottle")(function(){n({accessibilityString:b,environment:p,mutationLogger:e,notifId:f,queryEnvironment:g,queryID:h,receivedNotificationIdsRef:j,seenState:k,timestamp:l,triggerAccessibilityAlert:m,updateType:o})},1e3,{leading:!0})},[n,b,p,e,f,g,h,j,k,l,m,o])}g["default"]=a}),98); __d("useHandleUpdateMultiNotifSeenState",["CometFeedsNotificationsUpdateSeenStateMutation","CometNotificationsMutationLogger","CometNotificationsUpdateSeenStateMutation","recoverableViolation","useIsDsaNotifications","useThrottledMarkNotificationsAsSeen"],(function(a,b,c,d,e,f,g){"use strict";function h(a){var b=a.environment,e=a.queryEnvironment,f=a.queryID,g=a.receivedNotificationIdsRef;a=a.timestamp;if(g==null||g.current==null)return;d("CometNotificationsUpdateSeenStateMutation").CometNotificationsUpdateSeenStateMutation(b,{environment:e,input:{environment:e,is_comet:!0,last_notif_sync_time:a,notif_ids:Array.from(g.current),query_id:f,source:"unknown",update_type:"MARK_ALL_SEEN"}},{mutationLogger:d("CometNotificationsMutationLogger").notificationMarkAllAsSeenStart,onError:function(a){c("recoverableViolation")("Update seen state (multi) mutation failed with an error: ","Notifications",{error:a})},updater:function(a){d("CometNotificationsUpdateSeenStateMutation").updateMultiNotifSeenState(a),d("CometNotificationsUpdateSeenStateMutation").clearBadgeCount(a)}})}function i(a){var b=a.environment,e=a.queryEnvironment,f=a.queryID,g=a.receivedNotificationIdsRef;a=a.timestamp;if(g==null||g.current==null)return;d("CometFeedsNotificationsUpdateSeenStateMutation").CometFeedsNotificationsUpdateSeenStateMutation(b,{input:{environment:e,is_comet:!0,last_notif_sync_time:a,notif_ids:Array.from(g.current),query_id:f,source:"unknown",update_type:"MARK_ALL_SEEN"}},{mutationLogger:d("CometNotificationsMutationLogger").notificationMarkAllAsSeenStart,onError:function(a){c("recoverableViolation")("Update feeds seen state (multi) mutation failed with an error: ","Notifications",{error:a})},updater:function(a){d("CometNotificationsUpdateSeenStateMutation").updateMultiNotifSeenState(a)}})}function a(a){var b=c("useIsDsaNotifications")();return c("useThrottledMarkNotificationsAsSeen")(babelHelpers["extends"]({},a,{updater:b?i:h}))}g["default"]=a}),98); __d("CometNotificationsList.react",["fbt","CometErrorBoundary.react","CometFocusTable.react","CometInfiniteScrollSuspenseList.react","CometListCellGlimmer.react","CometNoNotifications.react","CometNotificationsBucketHeaderListItem.react","CometNotificationsContext","CometNotificationsFilters.react","CometNotificationsInteractionLogger","CometNotificationsInteractionLoggingContext","CometNotificationsListItem.react","CometNotificationsList_viewerConnection.graphql","CometNotificationsList_viewerData.graphql","CometNotificationsRenderLocations","CometNotificationsRootContext","CometNotificationsScrollHoldingContainer.react","CometOnRefresh.react","CometPlaceholder.react","CometRelay","FBLogger","FocusRegion.react","FriendingCometFriendsBadgeCountClearMutation","HiddenSubtreeContext","JSResourceForInteraction","WebPixelRatio","cr:1460543","err","focusScopeQueries","gkx","promiseDone","react","recoverableViolation","requireDeferred","setupNotificationsLiveQuery","useHandleUpdateMultiNotifReadState","useHandleUpdateMultiNotifSeenState","useHideNotificationsToasts","useNotificationsEnvironmentFromContext","useSimpleImpression","useToasterStateManager","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useCallback,n=e.useContext,o=e.useEffect,p=e.useImperativeHandle,q=e.useMemo,r=e.useRef,aa=e.useState,ba=e.useTransition,ca=c("requireDeferred")("CometNotificationsRankingErrorFalcoEvent").__setRef("CometNotificationsList.react"),da=c("requireDeferred")("GriffinTabOpenFalcoEvent").__setRef("CometNotificationsList.react"),ea=c("requireDeferred")("NotifDebugModeFalcoEvent").__setRef("CometNotificationsList.react"),fa=c("requireDeferred")("NotifListBottomCollisionFalcoEvent").__setRef("CometNotificationsList.react"),ga=c("JSResourceForInteraction")("CometToastNotification.react").__setRef("CometNotificationsList.react"),ha=c("JSResourceForInteraction")("CometNotificationSound").__setRef("CometNotificationsList.react"),ia=10,ja=.7,s="SHOW_TOAST",t="PLAY_SOUND",ka=10;function u(a,b){c("recoverableViolation")("[CometNotificationsList] "+b+" suffered an uncaught error","Notifications",{error:a})}var v;function a(a,e){var f,g=d("CometRelay").useRelayEnvironment(),k=ba(),w=k[0],x=k[1],y=a.hideHeaderLinks,z=a.isFromPageNotification,A=a.onClose,B=a.onSeeAllClick,C=a.setNewNotifState,D=c("gkx")("1126689");k=d("CometRelay").usePaginationFragment(i!==void 0?i:i=b("CometNotificationsList_viewerConnection.graphql"),a.viewerConnection);var E=k.data,F=k.hasNext,G=k.isLoadingNext,la=k.loadNext,H=k.refetch;k=d("CometRelay").useFragment(j!==void 0?j:j=b("CometNotificationsList_viewerData.graphql"),a.viewer);var I=k.actor;a=k.last_update_timestamp;var J=k.notifications_sound_path,K=k.notifications_unseen_count,L=(k=E.notifications_page)==null?void 0:k.query_id,M=q(function(){var a;return(a=(a=E.notifications_page)==null?void 0:a.edges)!=null?a:[]},[(k=E.notifications_page)==null?void 0:k.edges]),N=I==null?void 0:I.id;k=M.find(function(a){a=a.node;return a&&a.row_type==="NOTIFICATION"});k=k&&((k=k.node)==null?void 0:(k=k.notif)==null?void 0:k.id);var O=n(c("CometNotificationsContext")),P=O.renderLocation===d("CometNotificationsRenderLocations").RAIL,ma=O.renderLocation===d("CometNotificationsRenderLocations").DROPDOWN?void 0:"self";O=n(c("CometNotificationsRootContext"));var Q=O.isNotificationsRoute,na=O.source,R=d("WebPixelRatio").get(),S=r(new Set()),T=r(!1),oa=m(function(){ea.onReady(function(a){a=a.log;return a(function(){return{userID:N}})}),T.current===!1?(T.current=!0,x(function(){H({notif_query_flags:["IS_COMET","DEBUG_SHOW_INVALIDATED","INCLUDE_WA_P2B_NOTIFS"],scale:R},{fetchPolicy:"network-only"})})):(T.current=!1,x(function(){H({notif_query_flags:["IS_COMET","INCLUDE_WA_P2B_NOTIFS"],scale:R},{fetchPolicy:"network-only"})}))},[N,T,H,R,x]);p(e,function(){return{debugModeEnabled:T,handleDebugModeClick:function(){oa()},markAllNotificationsAsRead:function(){pa()}}});O=m(function(){if(D)return;try{d("FriendingCometFriendsBadgeCountClearMutation").commit(g,{}),c("promiseDone")(da.load().then(function(a){return a.log(function(){return{}})}))}catch(a){c("FBLogger")("growth_friending").mustfix("[Comet] FriendingCometFriendsBadgeCountClearMutation failed: ",a.message)}},[g,D]);c("useSimpleImpression")(O);e=c("useNotificationsEnvironmentFromContext")();var pa=c("useHandleUpdateMultiNotifReadState")({accessibilityString:h._("__JHASH__YCdQp3a-J8D__JHASH__"),queryEnvironment:e,queryID:L,receivedNotificationIdsRef:S,timestamp:a}),qa=c("useHandleUpdateMultiNotifSeenState")({queryEnvironment:e,queryID:L,receivedNotificationIdsRef:S,timestamp:a}),U=r(M.length);o(function(){U.current=M.length},[M.length]);var ra=n(d("CometNotificationsInteractionLoggingContext").CometNotificationsInteractionLoggingContext);o(function(){if(!w){var a=ra.notifsLoadCompleteRef;a&&(a.current=!0);d("CometNotificationsInteractionLogger").success(U.current)}},[ra,w,U]);O=m(function(){if(w)return;x(function(){H({scale:R},{fetchPolicy:"network-only"})})},[w,H,R,x]);d("CometOnRefresh.react").useOnRefresh(O);e=m(function(){if(G||!F)return;fa.onReady(function(a){return a.log(function(){return{}})});la(ka)},[G,F,la]);var V=q(function(){return M.map(function(a){a=a.node;var b={};if(a&&a.row_type==="NOTIFICATION"){var c;((c=a.notif)==null?void 0:c.notif_tags)!=null&&((c=a.notif)==null?void 0:c.notif_tags.includes(s))&&(b.new_notif=a.notif);((c=a.notif)==null?void 0:c.notif_cache_id)!=null&&(b.notif_cache_id=a.notif.notif_cache_id);((c=a.notif)==null?void 0:c.id)!=null&&(b.id=a.notif.id)}return b})},[M]);a=m(function(a){var b=V.reduce(function(a,b){return b.notif_cache_id!=null?a.concat(b.notif_cache_id):a},[]);H({filter_tokens:a,notif_cache_ids:b,notif_query_flags:["IS_COMET"],scale:R},{fetchPolicy:"network-only"})},[V,H,R]);o(function(){v==null&&V.forEach(function(a){a.new_notif!=null&&((a=a.new_notif)==null?void 0:(a=a.notif_tags)==null?void 0:a.includes(t))&&(v==null&&c("promiseDone")(ha.load().then(function(a){v=a})))})},[V,J]);var W=c("useToasterStateManager")(),X=r({}),sa=c("useHideNotificationsToasts")();o(function(){if(sa)return;var a=!1;V.forEach(function(b){var d=b.new_notif;if(d!=null&&(d==null?void 0:(b=d.notif_tags)==null?void 0:b.includes(s))){!a&&C!=null&&(C(function(a){if(a.isScrollAnchorVisible)return babelHelpers["extends"]({},a,{newNotifId:d==null?void 0:d.id});else return babelHelpers["extends"]({},a,{isNewNotifSeen:!1,newNotifId:d==null?void 0:d.id})}),a=!0);var e=d,f=e.notif_id,g=(b=e.creation_time)==null?void 0:b.timestamp;b=e.notif_attachments;var h;if(b!=null){h=(b=b.find(function(a){return a.sound_urls!=null}))==null?void 0:b.sound_urls}var i=(b=e.notif_tags)==null?void 0:b.includes(t);if(f!=null&&g!=null&&X.current[f+g]==null&&e.seen_state==="UNSEEN_AND_UNREAD"){var j;c("promiseDone")(ga.load().then(function(a){X.current[f+g]==null&&(j=W.push(l.jsx(a,{actor:I,notification:e,onCloseClick:function(){return W.expire(j)}}),5e3),X.current[f+g]=j)}),function(){if(i===!0&&v!=null){var a;a=(a=h)!=null?a:J;new v(a).play(String(j))}})}}})},[I,N,J,V,sa,C,W]);var ta=M.length;O=aa(null);var ua=O[0],va=O[1],Y=n(c("HiddenSubtreeContext")).hiddenOrBackgrounded;O=c("useVisibilityObserver")({onHidden:function(){return va(!1)},onVisible:function(){return va(!0)}});f=(f=E.notifications_page)==null?void 0:f.filter_config;var Z=f==null?void 0:f.selected_filter_tokens;o(function(){var a=new Set();V.forEach(function(b){b.notif_cache_id!=null&&a.add(b.notif_cache_id),b.id!=null&&S.current.add(b.id)});var b=ta||15,d=c("setupNotificationsLiveQuery")(g,{count:b,filterTokens:Z,receivedNotifications:a});return function(){d.dispose()}},[V,ta,g,Z]);o(function(){var a=!1;V.forEach(function(b){(b==null?void 0:b.seen_state)==="UNSEEN_AND_UNREAD"&&(a=!0)});var b=K!=null&&K>0;ua===!0&&!Y&&(b||a)&&qa()},[V,qa,Y,ua,K]);var wa=q(function(){var a=null,e=[],f=new Map(),g=0;M.forEach(function(h,i){i=h.node;h={row_tracking:i==null?void 0:i.tracking};if(i==null)return;var j=i.row_type;switch(j){case"NOTIFICATION":j=i.notif;var k=i.prefetch_score;k=(k=k)!=null?k:0;if(!j)return;h.notif_tracking=j.tracking;var m=j.notif_id,n=j==null?void 0:j.seen_state;a==="PRIORITY_INBOX"&&(m!=null&&n!=null&&f.set(m,n));n=k>=ja&&g0&&!ya&&ca.onReady(function(a){a.log(function(){return{bucketed_notifs:Object.fromEntries($),unseen_count:K}})})},[ya,Y,$,K]);return l.jsxs("div",{"data-testid":void 0,ref:O,children:[l.jsx(c("CometErrorBoundary.react"),{fallback:function(){return null},onError:function(a){return u(a,"CometNotificationsFilters")},children:l.jsx(c("CometNotificationsFilters.react"),{actorId:N,filterConfig:f,setFilterTokens:a})}),w&&l.jsx(c("CometListCellGlimmer.react"),{imageSize:56,imageStyle:"circle",numberOfItems:1}),M.length>0?l.jsx(d("FocusRegion.react").FocusRegion,{recoverFocusQuery:d("focusScopeQueries").tabbableScopeQuery,children:l.jsx(d("CometFocusTable.react").CometFocusTable,{allowModifiers:!0,label:h._("__JHASH__n315LqV13lC__JHASH__"),tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrapXToNextLine:!0,children:l.jsx(c("CometNotificationsScrollHoldingContainer.react"),{firstNotificationID:k,children:l.jsx(c("CometInfiniteScrollSuspenseList.react"),{hasMore:F,isLoading:G,listGlimmer:l.jsx(c("CometListCellGlimmer.react"),{imageSize:56,imageStyle:"circle",numberOfItems:2}),onLoadMore:e,children:xa.filter(Boolean)})})})}):l.jsx(c("CometNoNotifications.react"),{loggingSurface:"comet",userId:N}),l.jsx("div",{"data-testid":void 0})]})}a.displayName=a.name+" [from "+f.id+"]";e=l.forwardRef(a);g["default"]=e}),98); __d("CometNotificationsListWrapper.react",["fbt","CometLeftRailHeader.react","CometLeftRailNewContentPill.react","CometNotificationsActionsButton.react","CometNotificationsContext","CometNotificationsList.react","CometNotificationsListItemSeenContext","CometNotificationsListWrapper_viewer.graphql","CometNotificationsRenderLocations","CometProductAttributionContextProvider.react","CometRelay","CometRouterDispatcherContextFactory.react","CometScrollView.react","CometTopNavListDropdown.react","ODS","mergeRefs","react","setTimeout","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=j||(j=d("react"));e=j;var m=e.useCallback,n=e.useContext,o=e.useEffect,p=e.useMemo,q=e.useRef,r=e.useState;function a(a){var e=a.hideHeaderLinks,f=a.onClose,g=a.useFullWidth;a=a.viewer;var j=q(null),s=n(c("CometNotificationsContext")),t=s.renderLocation===d("CometNotificationsRenderLocations").DROPDOWN;s=s.renderLocation===d("CometNotificationsRenderLocations").RAIL||g;var u=q(null);g=d("CometRelay").useFragment(i!==void 0?i:i=b("CometNotificationsListWrapper_viewer.graphql"),a);a=r({isNewNotifSeen:!0,isScrollAnchorVisible:!0,newNotifId:void 0});var v=a[0],w=a[1];a=(a=g==null?void 0:(a=g.actor)==null?void 0:a.id)!=null?a:null;var x=r(!1),y=x[0],z=x[1];o(function(){v.newNotifId!=null&&v.isScrollAnchorVisible===!1&&v.isNewNotifSeen===!1?z(!0):z(!1)},[v]);var A=c("useVisibilityObserver")({onHidden:function(a){a=a.hiddenReason;a!=="COMPONENT_UNMOUNTED"&&w(babelHelpers["extends"]({},v,{isScrollAnchorVisible:!1}))},onVisible:function(){w(babelHelpers["extends"]({},v,{isScrollAnchorVisible:!0}))}}),B=q(!1);x=p(function(){return c("mergeRefs")(u,A)},[u,A]);var C=m(function(){u.current&&u.current.scrollIntoView({behavior:"smooth",block:"start"}),B.current=!1},[]),D=m(function(){if(!y)return;if(B.current===!1){c("setTimeout")(function(){B.current=!0},100);return}B.current=!1},[y]);C=y?l.jsx(c("CometLeftRailNewContentPill.react"),{onClick:C,children:h._("__JHASH__zWSuA-YUQui__JHASH__")}):null;var E=m(function(a){a===v.newNotifId&&w(function(a){return babelHelpers["extends"]({},a,{isNewNotifSeen:!0})})},[v.newNotifId]),F=function(a){(k||(k=d("ODS"))).bumpEntityKey(3478,"comet_notifications.list","see_all.click."+a),f&&f()};return l.jsxs(l.Fragment,{children:[l.jsx(c("CometTopNavListDropdown.react").Card,{testid:void 0,useFullWidth:s,useMaxHeight:t,children:l.jsxs(c("CometScrollView.react"),{onScroll:D,showsHorizontalScrollIndicator:!1,children:[l.jsx("div",{className:"xds687c xjm9jq1 x10l6tqk x13vifvy",ref:x},"firstChildScrollAnchor"),l.jsx(c("CometLeftRailHeader.react"),{auxiliary:l.jsx("div",{className:"x78zum5 x1wsgfga x9otpla",children:l.jsx(c("CometNotificationsActionsButton.react"),{actorId:a,notificationsListRef:j,onSeeAllClick:function(){return F("dropdown")}})}),disableProportional:!0,title:h._("__JHASH__qmrq3COgFr4__JHASH__")}),l.jsx(c("CometProductAttributionContextProvider.react"),{value:"notifications",children:l.jsx(c("CometNotificationsListItemSeenContext").Provider,{value:E,children:l.jsx(c("CometRouterDispatcherContextFactory.react"),{actorID:null,children:l.jsx(c("CometNotificationsList.react"),{hideHeaderLinks:e,onClose:f,onSeeAllClick:F,ref:j,setNewNotifState:w,viewer:g,viewerConnection:g})})})})]})}),C]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometNotificationsDropdown.react",["fbt","CometErrorBoundary.react","CometHero.react","CometNotificationsContext","CometNotificationsDropdownQuery.graphql","CometNotificationsInteractionLogger","CometNotificationsInteractionLoggingContext","CometNotificationsListWrapper.react","CometNotificationsRenderLocations","CometRelay","CometTopNavListDropdown.react","react","unrecoverableViolation","updateWidgetServiceWorker"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useContext,m=e.useEffect,n=e.useMemo,o=i!==void 0?i:i=b("CometNotificationsDropdownQuery.graphql"),p=function(){var a=l(d("CometNotificationsInteractionLoggingContext").CometNotificationsInteractionLoggingContext),b=a.notifsLoadCompleteRef;d("CometNotificationsInteractionLogger").start("dropdown");m(function(){var a=b.current;return function(){a!==!0&&d("CometNotificationsInteractionLogger").cancel()}},[b])};function q(a){p();m(function(){c("updateWidgetServiceWorker")()},[]);var b=d("CometRelay").usePreloadedQuery(o,a.queries.notificationsDropdownQueryReference);b=b==null?void 0:b.viewer;if(b==null)throw c("unrecoverableViolation")("viewer cannot be null when querying for notifications","Notifications");var e=n(function(){return{renderLocation:d("CometNotificationsRenderLocations").DROPDOWN}},[]);e=k.jsxs(k.Fragment,{children:[k.jsx(c("CometHero.react"),{description:"NotificationList"}),k.jsx(c("CometNotificationsContext").Provider,{value:e,children:k.jsx(c("CometNotificationsListWrapper.react"),{onClose:a.props.onClose,viewer:b})})]});return k.jsx(c("CometTopNavListDropdown.react"),{label:h._("__JHASH__8gAbffuAS0s__JHASH__"),name:"NotificationList",children:e})}q.displayName=q.name+" [from "+f.id+"]";function a(a){var b=d("CometNotificationsInteractionLoggingContext").useInteractionLoggingRefs();return k.jsx(c("CometErrorBoundary.react"),{onError:function(a){b.notifsLoadCompleteRef&&(b.notifsLoadCompleteRef.current=!0),d("CometNotificationsInteractionLogger").error(a)},children:k.jsx(d("CometNotificationsInteractionLoggingContext").CometNotificationsInteractionLoggingContext.Provider,{value:b,children:k.jsx(q,babelHelpers["extends"]({},a))})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);