;/*FB_PKG_DELIM*/

__d("CometEmptyStatesNullStatesNotificationsDarkMode.svg.react",["XPlatReactSVG","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs(d("XPlatReactSVG").Svg,babelHelpers["extends"]({viewBox:"0 0 112 112",width:"1em",height:"1em",title:a.title},a,{children:[a.children!=null&&i.jsx(d("XPlatReactSVG").Defs,{children:a.children}),i.jsx(d("XPlatReactSVG").Rect,{width:18.98,height:18.98,x:34.96,y:82,fill:"#1876f2",rx:9.49,transform:"rotate(-15 44.445 91.471)"}),i.jsx(d("XPlatReactSVG").Circle,{cx:43.01,cy:26.27,r:6.85,fill:"#7a7d81"}),i.jsx(d("XPlatReactSVG").Path,{fill:"#bcc0c4",d:"M75.28 43.44a26.72 26.72 0 1 0-51.62 13.83L30 81l51.62-13.87z"}),i.jsx(d("XPlatReactSVG").Path,{fill:"#bcc0c4",d:"M90.78 75.64 26.33 92.9l3.22-13.63 51.62-13.83 9.61 10.2z"}),i.jsx(d("XPlatReactSVG").Rect,{width:66.91,height:8.88,x:25.35,y:80.75,fill:"#bcc0c4",rx:4.44,transform:"rotate(-15 58.793 85.207)"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__d("CometEmptyStatesNullStatesNotificationsGrayWash.svg.react",["XPlatReactSVG","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){return i.jsxs(d("XPlatReactSVG").Svg,babelHelpers["extends"]({viewBox:"0 0 112 112",width:"1em",height:"1em",title:a.title},a,{children:[a.children!=null&&i.jsx(d("XPlatReactSVG").Defs,{children:a.children}),i.jsx(d("XPlatReactSVG").Rect,{width:18.98,height:18.98,x:34.96,y:82,fill:"#1876f2",rx:9.49,transform:"rotate(-15 44.445 91.471)"}),i.jsx(d("XPlatReactSVG").Circle,{cx:43.01,cy:26.27,r:6.85,fill:"#64676b"}),i.jsx(d("XPlatReactSVG").Path,{fill:"#a4a7ab",d:"M75.28 43.44a26.72 26.72 0 1 0-51.62 13.83L30 81l51.62-13.87z"}),i.jsx(d("XPlatReactSVG").Path,{fill:"#a4a7ab",d:"M90.78 75.64 26.33 92.9l3.22-13.63 51.62-13.83 9.61 10.2z"}),i.jsx(d("XPlatReactSVG").Rect,{width:66.91,height:8.88,x:25.35,y:80.75,fill:"#a4a7ab",rx:4.44,transform:"rotate(-15 58.793 85.207)"})]}))}a.displayName=a.name+" [from "+f.id+"]";a._isSVG=!0;b=a;g["default"]=b}),98);
__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("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("CometLeftRailLegacyText.react",["react","react-compiler-runtime","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=d("react-compiler-runtime").c(12),c,e,f,g;b[0]!==a?(c=a.children,e=a.id,f=a.testid,g=babelHelpers.objectWithoutPropertiesLoose(a,["children","id","testid"]),b[0]=a,b[1]=c,b[2]=e,b[3]=f,b[4]=g):(c=b[1],e=b[2],f=b[3],g=b[4]);b[5]!==c||b[6]!==e||b[7]!==f?(a=function(a){return j.jsx("span",{className:a,"data-testid":void 0,id:e,children:c})},b[5]=c,b[6]=e,b[7]=f,b[8]=a):a=b[8];b[9]!==a||b[10]!==g?(f=j.jsx(l,babelHelpers["extends"]({},g,{children:a})),b[9]=a,b[10]=g,b[11]=f):f=b[11];return f}g["default"]=a}),98);
__d("CometLeftRailNewContentPill.react",["CometLeftRailLegacyText.react","CometPressable.react","react","react-compiler-runtime"],(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",start:"xtzzx4i",left:null,right:null,justifyContent:"x1qughib",marginTop:"xw7yly9",paddingTop:"xexx8yu",paddingEnd:"x1pi30zi",paddingBottom:"x18d9i69",paddingStart:"x1swvt13",position:"x10l6tqk",top:"x13vifvy",transform:"xuuh30",width:"x14atkfc",$$css:!0}};function a(a){var b=d("react-compiler-runtime").c(5),e=a.children;a=a.onClick;var f;b[0]!==e?(f=i.jsx(c("CometLeftRailLegacyText.react"),{display:"nowrap",use:"inverse",weight:"semibold",children:e}),b[0]=e,b[1]=f):f=b[1];b[2]!==a||b[3]!==f?(e=i.jsx(c("CometPressable.react"),{display:"inline",onPress:a,overlayDisabled:!0,xstyle:j.pill,children:f}),b[2]=a,b[3]=f,b[4]=e):e=b[4];return e}g["default"]=a}),98);
__d("NullStateNotifications",["cr:3585"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3585")}),98);
__d("CometNoNotifications.react",["fbt","CometContentArea.react","CometNotificationsRootContext","FDSButton.react","FDSNullState.react","NullStateNotifications","react","react-compiler-runtime","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=d("react-compiler-runtime").c(6),e=a.loggingSurface,f=a.userId,g;b[0]!==e||b[1]!==f?(a=function(){m.onReady(function(a){a=a.log;return a(function(){return{ref:e,user_id:f}})})},g=[e,f],b[0]=e,b[1]=f,b[2]=a,b[3]=g):(a=b[2],g=b[3]);l(a,g);a=k(c("CometNotificationsRootContext"));g=a.source;a=g==="FEEDS";b[4]!==a?(g=j.jsx(c("CometContentArea.react"),{verticalAlign:"middle",children:a?j.jsx(c("FDSNullState.react"),{action:j.jsx(c("FDSButton.react"),{label:h._(/*BTDS*/"__JHASH__R53BFNwm0uY__JHASH__"),linkProps:{url:"https://www.facebook.com/help/338264271792192"},padding:"wide"}),body:h._(/*BTDS*/"__JHASH__uB3HKh1wMdr__JHASH__"),"data-testid":void 0,headline:h._(/*BTDS*/"__JHASH__9oEzzEzvu3-__JHASH__"),icon:c("NullStateNotifications")}):j.jsx(c("FDSNullState.react"),{"data-testid":void 0,headline:h._(/*BTDS*/"__JHASH__jfKxt2CsC1d__JHASH__"),icon:c("NullStateNotifications")})}),b[4]=a,b[5]=g):g=b[5];return g}g["default"]=a}),226);
__d("CometNotificationsActionsButton.react",["fbt","ix","FDSCircleButton.react","FDSDeferredPopoverTrigger.react","fbicon","react","react-compiler-runtime","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=d("react-compiler-runtime").c(9),e=a.actorId,f=a.notificationsListRef;a=a.onSeeAllClick;var g;b[0]!==e||b[1]!==f||b[2]!==a?(g={actorId:e,notificationsListRef:f,onSeeAllClick:a},b[0]=e,b[1]=f,b[2]=a,b[3]=g):g=b[3];b[4]!==e?(f=function(a,b,f,g,j,l){return k.jsx(c("FDSCircleButton.react"),{color_DEPRECATED:"secondary",icon:d("fbicon")._(i("484387"),20),label:h._(/*BTDS*/"__JHASH__znbiTCy0onP__JHASH__"),onHoverIn:g,onHoverOut:j,onPress:function(){b(),m.onReady(function(a){a=a.log;return a(function(){return{userID:e}})})},onPressIn:l,ref:a,size:32,testid:void 0,type_DEPRECATED:"deemphasized"})},b[4]=e,b[5]=f):f=b[5];b[6]!==g||b[7]!==f?(a=k.jsx(c("FDSDeferredPopoverTrigger.react"),{align:"end",popoverProps:g,popoverResource:l,popoverType:"menu",position:"below",children:f}),b[6]=g,b[7]=f,b[8]=a):a=b[8];return a}g["default"]=a}),226);
__d("CometNotificationsBucketHeaderListItem.react",["CometFocusTableContext","FDSUnitHeader.react","ODS","react","react-compiler-runtime","useNotificationsImpressionLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||(h=d("react"));b=h;var k=b.useContext,l=b.useEffect;function a(a){var b=d("react-compiler-runtime").c(22),e=a.actorId,f=a.bucketHeader,g=a.filterTokens,h=a.headerLinkText,m=a.onPress,n=a.title,o=a.trackingData;a=a.url;var p;b[0]!==e||b[1]!==o?(p={actorId:e,loggerContext:"www_tab",notifId:null,trackingData:o},b[0]=e,b[1]=o,b[2]=p):p=b[2];e=c("useNotificationsImpressionLogger")(p);o=e[0];p=k(c("CometFocusTableContext"));e=p.FocusRow;e=(p=e)!=null?p:j.Fragment;var q;b[3]!==f?(p=function(){var a;(i||(i=d("ODS"))).bumpEntityKey(3478,"comet_notifications.list","see_all.impression."+((a=f)!=null?a:"null"))},q=[f],b[3]=f,b[4]=p,b[5]=q):(p=b[4],q=b[5]);l(p,q);q=(p=h)!=null?p:void 0;b[6]!==g?(h={filterTokens:g},b[6]=g,b[7]=h):h=b[7];b[8]!==h||b[9]!==a?(p={passthroughProps:h,url:a},b[8]=h,b[9]=a,b[10]=p):p=b[10];b[11]!==m||b[12]!==q||b[13]!==p||b[14]!==n?(g=j.jsx(c("FDSUnitHeader.react"),{action_DEPRECATED:q,actionLinkProps:p,actiontestid:"NotificationsBucketHeaderLink",headline:n,level:3,onActionPress:m,testid:void 0,useFocusCell:!0}),b[11]=m,b[12]=q,b[13]=p,b[14]=n,b[15]=g):g=b[15];b[16]!==o||b[17]!==g?(h=j.jsx("div",{ref:o,children:g}),b[16]=o,b[17]=g,b[18]=h):h=b[18];b[19]!==e||b[20]!==h?(a=j.jsx(e,{children:h}),b[19]=e,b[20]=h,b[21]=a):a=b[21];return a}g["default"]=a}),98);
__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("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"},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],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,{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},{alias:null,args:null,concreteType:"XFBUfiIconsAndCounts",kind:"LinkedField",name:"ufi_icons_and_counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"ufi_counts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ufi_icon_name",storageKey:null}],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:"44kVfU"}],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},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCustomBadgeNameIsLiveNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeNameIsLiveNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCreatorCustomBadgeUserUpgradeNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeUserUpgradeNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometFXFetaUpgradeSuccessNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"FXFetaUpgradeSuccessNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"44kVfU")'}],storageKey:null},{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}]}],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},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"see_previous_text",storageKey:null}],type:"NotifPageSeePreviousButtonRow",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},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"__id",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},{alias:null,args:[{kind:"Literal",name:"promptType",value:"FOOTER"},{kind:"Literal",name:"surface",value:"JEWEL_COMET"}],concreteType:"XFBCometPushTurnOnStatus",kind:"LinkedField",name:"comet_push_turn_on_status",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_comet_push_turn_on_eligible",storageKey:null}],storageKey:'comet_push_turn_on_status(promptType:"FOOTER",surface:"JEWEL_COMET")'},{alias:null,args:null,concreteType:"BrowserPushConfig",kind:"LinkedField",name:"browser_push_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"browser_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"service_worker_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_id",storageKey:null}],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("CometNotificationsInteractionLoggingContext",["react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||(h=d("react"));c=h;c.useMemo;var i=c.useRef;function a(){var a=d("react-compiler-runtime").c(1),b=i(!1);a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b={notifsLoadCompleteRef:b},a[0]=b):b=a[0];a=b;return a}e=b.createContext({notifsLoadCompleteRef:{current:!1}});g.useInteractionLoggingRefs=a;g.CometNotificationsInteractionLoggingContext=e}),98);
__d("CometNotificationsFilter.react",["FDSPivotLink.react","filterNulls","react","react-compiler-runtime","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=d("react-compiler-runtime").c(21),e=a.actorId,f=a.name,g=a.notifFilterToken,h=a.selectedFilterTokens,n=a.setFilterTokens;e=(a=e)!=null?a:"";b[0]!==e?(a={ref:"www_tab",userID:e},b[0]=e,b[1]=a):a=b[1];var o=a;b[2]!==f||b[3]!==o?(e={onVisible:function(){k.onReady(function(a){a=a.log;a(function(){return babelHelpers["extends"]({},o,{event:m(f)})})})}},b[2]=f,b[3]=o,b[4]=e):e=b[4];a=c("useVisibilityObserver")(e);if(f==null)return null;b[5]===Symbol["for"]("react.memo_cache_sentinel")?(e={className:"x9f619 x5yr21d x1sxyh0"},b[5]=e):e=b[5];var p;b[6]!==f||b[7]!==g||b[8]!==o||b[9]!==n?(p=function(){n(c("filterNulls")([g])),j.onReady(function(a){a=a.log;return a(function(){return babelHelpers["extends"]({},o,{event:l(f)})})})},b[6]=f,b[7]=g,b[8]=o,b[9]=n,b[10]=p):p=b[10];var q;b[11]!==g||b[12]!==h?(q=h.includes(g),b[11]=g,b[12]=h,b[13]=q):q=b[13];b[14]!==f||b[15]!==p||b[16]!==q?(h=i.jsx(c("FDSPivotLink.react"),{label:f,onPress:p,selected:q,type:"deemphasized"}),b[14]=f,b[15]=p,b[16]=q,b[17]=h):h=b[17];b[18]!==a||b[19]!==h?(p=i.jsx("div",babelHelpers["extends"]({},e,{ref:a,children:h})),b[18]=a,b[19]=h,b[20]=p):p=b[20];return p}g["default"]=a}),98);
__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("CometNotificationsFilters.react",["fbt","CometNotificationsFilter.react","CometNotificationsFilters_filters.graphql","CometRelay","FocusGroup.react","focusScopeQueries","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");e=d("FocusGroup.react").createFocusGroup(d("focusScopeQueries").tabbableScopeQuery);var l=e[0],m=e[1];function a(a){var e=d("react-compiler-runtime").c(7),f=a.actorId,g=a.filterConfig,j=a.setFilterTokens,n=d("CometRelay").useFragment(i!==void 0?i:i=b("CometNotificationsFilters_filters.graphql"),g);if(n==null)return null;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(a=h._(/*BTDS*/"__JHASH__QXIcc8HuEUq__JHASH__"),g={className:"x78zum5 x1q0g3np x2lah0s x1a02dak x1swvt13"},e[0]=a,e[1]=g):(a=e[0],g=e[1]);e[2]!==f||e[3]!==n.filters||e[4]!==n.selected_filter_tokens||e[5]!==j?(a=k.jsx(l,{allowModifiers:!0,orientation:"horizontal",preventScrollOnFocus:!1,tabScopeQuery:d("focusScopeQueries").tabbableScopeQuery,wrap:!0,children:k.jsx("div",babelHelpers["extends"]({"aria-label":a},g,{role:"toolbar",children:n.filters.map(function(a){var b;return k.jsx(m,{children:k.jsx(c("CometNotificationsFilter.react"),{actorId:f,name:(b=a.title)==null?void 0:b.text,notifFilterToken:a.notif_filter_token,selectedFilterTokens:n.selected_filter_tokens,setFilterTokens:j})},a.notif_filter_token)})}))}),e[2]=f,e[3]=n.filters,e[4]=n.selected_filter_tokens,e[5]=j,e[6]=a):a=e[6];return a}g["default"]=a}),226);
__d("CometNotificationsListPaginationQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9076172602511871"}),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,{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},{alias:null,args:null,concreteType:"XFBUfiIconsAndCounts",kind:"LinkedField",name:"ufi_icons_and_counts",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"ufi_counts",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ufi_icon_name",storageKey:null}],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:"44kVfU"}],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},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCustomBadgeNameIsLiveNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeNameIsLiveNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCreatorCustomBadgeUserUpgradeNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeUserUpgradeNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometFXFetaUpgradeSuccessNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"FXFetaUpgradeSuccessNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"44kVfU")'}],storageKey:null},{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}]}],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},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"see_previous_text",storageKey:null}],type:"NotifPageSeePreviousButtonRow",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},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"__id",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("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:"44kVfU"}],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},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCustomBadgeNameIsLiveNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeNameIsLiveNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometCreatorCustomBadgeUserUpgradeNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"CreatorCustomBadgeUserUpgradeNotificationRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometNotificationsList_viewerConnection",fragmentName:"CometFXFetaUpgradeSuccessNotificationListItem_renderer",fragmentPropName:"renderer",kind:"ModuleImport"}],type:"FXFetaUpgradeSuccessNotificationRenderer",abstractKey:null}],storageKey:'comet_custom_renderer(supported:"44kVfU")'}],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},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"see_previous_text",storageKey:null}],type:"NotifPageSeePreviousButtonRow",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},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"__id",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},{alias:null,args:[{kind:"Literal",name:"promptType",value:"FOOTER"},{kind:"Literal",name:"surface",value:"JEWEL_COMET"}],concreteType:"XFBCometPushTurnOnStatus",kind:"LinkedField",name:"comet_push_turn_on_status",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_comet_push_turn_on_eligible",storageKey:null}],storageKey:'comet_push_turn_on_status(promptType:"FOOTER",surface:"JEWEL_COMET")'},{args:null,kind:"FragmentSpread",name:"CometNotificationsPushTurnOnPrompt_viewerData"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__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","react-compiler-runtime"],(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=d("react-compiler-runtime").c(9),e=a.children,f=a.firstNotificationID;a=j(c("BaseScrollableAreaContext"));var g=j(c("HiddenSubtreePassiveContext")),h=m(null),n=m(null),o=m(null),p=m(0),q=a[a.length-1],r;b[0]!==q?(a=function(){var a=q.getDOMNode();if(a!=null){p.current=a.scrollTop;var b=function(){p.current=a.scrollTop};a.addEventListener("scroll",b,{passive:!0});return function(){a.removeEventListener("scroll",b,{passive:!0})}}},r=[q],b[0]=q,b[1]=a,b[2]=r):(a=b[1],r=b[2]);k(a,r);b[3]!==f||b[4]!==g||b[5]!==q?(a=function(){if(h.current!=null&&!g.getCurrentState().hiddenOrBackgrounded_FIXME){var a=h.current.getBoundingClientRect();if(o.current!=null&&n.current!=null){var b=a.height-o.current.height;if(b===0||n.current===f){n.current=f;o.current=a;return}var c=q.getDOMNode();c!=null&&(c.scrollTop===p.current||o.current==null)&&(c.scrollTop=c.scrollTop+b)}n.current=f;o.current=a}},b[3]=f,b[4]=g,b[5]=q,b[6]=a):a=b[6];l(a);b[7]!==e?(r=i.jsx("div",{ref:h,children:e}),b[7]=e,b[8]=r):r=b[8];return r}g["default"]=a}),98);
__d("useHandleUpdateMultiNotifReadState",["CometNotificationsMutationLogger","CometNotificationsUpdateSeenStateMutation","react-compiler-runtime","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=d("react-compiler-runtime").c(3),e=c("useTriggerAccessibilityAlert")(),f;b[0]!==a||b[1]!==e?(f=babelHelpers["extends"]({},a,{triggerAccessibilityAlert:e,updater:h}),b[0]=a,b[1]=e,b[2]=f):f=b[2];return c("useGetCancellableSeenStateCallback")(f)}g["default"]=a}),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","react-compiler-runtime","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=d("react-compiler-runtime").c(3),e=c("useIsDsaNotifications")();e=e?i:h;var f;b[0]!==a||b[1]!==e?(f=babelHelpers["extends"]({},a,{updater:e}),b[0]=a,b[1]=e,b[2]=f):f=b[2];return c("useThrottledMarkNotificationsAsSeen")(f)}g["default"]=a}),98);
__d("CometNotificationsList.react",["fbt","CometErrorBoundary.react","CometInfiniteScrollSuspenseList.react","CometNoNotifications.react","CometNotificationsBucketHeaderListItem.react","CometNotificationsContext","CometNotificationsFilters.react","CometNotificationsInteractionLogger","CometNotificationsInteractionLoggingContext","CometNotificationsListItem.react","CometNotificationsList_viewerConnection.graphql","CometNotificationsList_viewerData.graphql","CometNotificationsRenderLocations","CometNotificationsRootContext","CometNotificationsScrollHoldingContainer.react","CometOnRefresh","CometPlaceholder.react","CometRelay","FBLogger","FDSButton.react","FDSListCellGlimmer.react","FocusRegion.react","FriendingCometFriendsBadgeCountClearMutation","HiddenSubtreeContext","JSResourceForInteraction","WebPixelRatio","cr:1460543","cr:3701","err","focusScopeQueries","gkx","promiseDone","qex","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,s=e.useState,aa=e.useTransition,ba=c("requireDeferred")("CometNotificationsRankingErrorFalcoEvent").__setRef("CometNotificationsList.react"),ca=c("requireDeferred")("CometSeeMoreButtonClickFalcoEvent").__setRef("CometNotificationsList.react"),da=c("requireDeferred")("CometSeeMoreButtonImpressionFalcoEvent").__setRef("CometNotificationsList.react"),ea=c("requireDeferred")("GriffinTabOpenFalcoEvent").__setRef("CometNotificationsList.react"),fa=c("requireDeferred")("NotifDebugModeFalcoEvent").__setRef("CometNotificationsList.react"),ga=c("requireDeferred")("NotifListBottomCollisionFalcoEvent").__setRef("CometNotificationsList.react"),ha=c("JSResourceForInteraction")("CometToastNotification.react").__setRef("CometNotificationsList.react"),ia=c("JSResourceForInteraction")("CometNotificationSound").__setRef("CometNotificationsList.react"),ja=(e=c("qex")._("978"))!=null?e:10,ka=(e=c("qex")._("990"))!=null?e:.7,la="SHOW_TOAST",ma="PLAY_SOUND",na=10;function t(a,b){c("recoverableViolation")("[CometNotificationsList] "+b+" suffered an uncaught error","Notifications",{error:a})}function oa(a,b){d("CometRelay").commitLocalUpdate(a,function(a){var c=a.get(d("CometRelay").VIEWER_ID);if(c==null||b==null)return;c=a.get(b);if(c==null)return;c=c.getLinkedRecords("edges");if(c==null||c.length===0)return;c.forEach(function(b){if(b==null)return;b=b.getLinkedRecord("node");if(b==null)return;var c=b.getType();c==="NotifPageSeePreviousButtonRow"&&a["delete"](b.getDataID())})})}var u;e=l.forwardRef(a);function a(a,e){var f,g,k,v;a=babelHelpers["extends"]({},a);var w=d("CometRelay").useRelayEnvironment(),x=aa(),y=x[0],z=x[1],pa=a.hideHeaderLinks,qa=a.isFromPageNotification,ra=a.onClose,sa=a.onSeeAllClick,A=a.setNewNotifState,ta=c("gkx")("23786");x=d("CometRelay").usePaginationFragment(i!==void 0?i:i=b("CometNotificationsList_viewerConnection.graphql"),a.viewerConnection);var B=x.data,C=x.hasNext,D=x.isLoadingNext,E=x.loadNext,F=x.refetch;x=d("CometRelay").useFragment(j!==void 0?j:j=b("CometNotificationsList_viewerData.graphql"),a.viewer);var G=x.actor;a=x.comet_push_turn_on_status;var H=x.last_update_timestamp,I=x.notifications_sound_path,J=x.notifications_unseen_count,K=(f=B.notifications_page)==null?void 0:f.query_id;f=(f=c("qex")._("519"))!=null?f:!1;a=a==null?void 0:a.is_comet_push_turn_on_eligible;g=((g=window)==null?void 0:(g=g.Notification)==null?void 0:g.permission)==="default";f=f&&a===!0&&g;var L=q(function(){var a;return(a=(a=B.notifications_page)==null?void 0:a.edges)!=null?a:[]},[(a=B.notifications_page)==null?void 0:a.edges]),M=G==null?void 0:G.id;g=L.find(function(a){a=a.node;return a&&a.row_type==="NOTIFICATION"});a=g&&((a=g.node)==null?void 0:(g=a.notif)==null?void 0:g.id);g=n(c("CometNotificationsContext"));var N=g.renderLocation===d("CometNotificationsRenderLocations").RAIL,ua=g.renderLocation===d("CometNotificationsRenderLocations").DROPDOWN?void 0:"self";g=n(c("CometNotificationsRootContext"));var O=g.isNotificationsRoute,va=g.source,P=d("WebPixelRatio").get(),Q=r(new Set()),R=r(!1),wa=m(function(){fa.onReady(function(a){a=a.log;return a(function(){return{userID:M}})}),R.current===!1?(R.current=!0,z(function(){F({notif_query_flags:["IS_COMET","DEBUG_SHOW_INVALIDATED","INCLUDE_WA_P2B_NOTIFS"],scale:P},{fetchPolicy:"network-only"})})):(R.current=!1,z(function(){F({notif_query_flags:["IS_COMET","INCLUDE_WA_P2B_NOTIFS"],scale:P},{fetchPolicy:"network-only"})}))},[M,R,F,P,z]);p(e,function(){return{debugModeEnabled:R,handleDebugModeClick:function(){wa()},markAllNotificationsAsRead:function(){xa()}}});g=m(function(){if(ta)return;try{d("FriendingCometFriendsBadgeCountClearMutation").commit(w,{}),c("promiseDone")(ea.load().then(function(a){return a.log(function(){return{}})}))}catch(a){c("FBLogger")("growth_friending").mustfix("[Comet] FriendingCometFriendsBadgeCountClearMutation failed: ",a.message)}},[w,ta]);c("useSimpleImpression")(g);e=c("useNotificationsEnvironmentFromContext")();var xa=c("useHandleUpdateMultiNotifReadState")({accessibilityString:h._(/*BTDS*/"__JHASH__YCdQp3a-J8D__JHASH__"),queryEnvironment:e,queryID:K,receivedNotificationIdsRef:Q,timestamp:H}),ya=c("useHandleUpdateMultiNotifSeenState")({queryEnvironment:e,queryID:K,receivedNotificationIdsRef:Q,timestamp:H}),S=r(L.length);o(function(){S.current=L.length},[L.length]);var za=n(d("CometNotificationsInteractionLoggingContext").CometNotificationsInteractionLoggingContext);o(function(){if(!y){var a=za.notifsLoadCompleteRef;a&&(a.current=!0);d("CometNotificationsInteractionLogger").success(S.current)}},[za,y,S]);g=m(function(){if(y)return;z(function(){F({scale:P},{fetchPolicy:"network-only"})})},[y,F,P,z]);d("CometOnRefresh").useOnRefresh(g);e=m(function(){if(D||!C)return;ga.onReady(function(a){return a.log(function(){return{}})});E(na,{UNSTABLE_extraVariables:{notif_query_flags:["IS_COMET","INCLUDE_WA_P2B_NOTIFS","HIDE_SEE_MORE_BUTTON"]}})},[D,C,E]);var T=q(function(){return L.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(la))&&(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})},[L]);H=s(!1);var U=H[0],Aa=H[1];g=s(!1);H=g[0];g=g[1];var Ba=m(function(a){var b=T.reduce(function(a,b){return b.notif_cache_id!=null?a.concat(b.notif_cache_id):a},[]),c=["IS_COMET"];U&&c.push("HIDE_SEE_MORE_BUTTON");F({filter_tokens:a,notif_cache_ids:b,notif_query_flags:c,scale:P},{fetchPolicy:"network-only"})},[T,U,F,P]);o(function(){u==null&&T.forEach(function(a){a.new_notif!=null&&((a=a.new_notif)==null?void 0:(a=a.notif_tags)==null?void 0:a.includes(ma))&&(u==null&&c("promiseDone")(ia.load().then(function(a){u=a})))})},[T,I]);var V=c("useToasterStateManager")(),W=r({}),Ca=c("useHideNotificationsToasts")();o(function(){if(Ca)return;var a=!1;T.forEach(function(b){var d=b.new_notif;if(d!=null&&(d==null?void 0:(b=d.notif_tags)==null?void 0:b.includes(la))){!a&&A!=null&&(A(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(ma);if(f!=null&&g!=null&&W.current[f+g]==null&&e.seen_state==="UNSEEN_AND_UNREAD"){var j;c("promiseDone")(ha.load().then(function(a){W.current[f+g]==null&&(j=V.push(l.jsx(a,{actor:G,notification:e,onCloseClick:function(){return V.expire(j)}}),5e3),W.current[f+g]=j)}),function(){if(i===!0&&u!=null){var a;a=(a=h)!=null?a:I;new u(a).play(String(j))}})}}})},[G,M,I,T,Ca,A,V]);var Da=L.length,X=s(null),Ea=X[0],Fa=X[1],Y=n(c("HiddenSubtreeContext")).hiddenOrBackgrounded;X=c("useVisibilityObserver")({onHidden:function(){return Fa(!1)},onVisible:function(){return Fa(!0)}});var Ga=(k=B.notifications_page)==null?void 0:k.__id;k=(k=B.notifications_page)==null?void 0:k.filter_config;var Z=k==null?void 0:k.selected_filter_tokens;o(function(){var a=new Set();T.forEach(function(b){b.notif_cache_id!=null&&a.add(b.notif_cache_id),b.id!=null&&Q.current.add(b.id)});var b=Da||15,d=c("setupNotificationsLiveQuery")(w,{count:b,filterTokens:Z,receivedNotifications:a});return function(){d.dispose()}},[T,Da,w,Z]);o(function(){var a=!1;T.forEach(function(b){(b==null?void 0:b.seen_state)==="UNSEEN_AND_UNREAD"&&(a=!0)});var b=J!=null&&J>0;Ea===!0&&!Y&&(b||a)&&ya()},[T,ya,Y,Ea,J]);var Ha=m(function(){oa(w,Ga),Oa(function(){Aa(!0),E(na,{UNSTABLE_extraVariables:{notif_query_flags:["IS_COMET","INCLUDE_WA_P2B_NOTIFS","HIDE_SEE_MORE_BUTTON"]}})}),c("promiseDone")(ca.load().then(function(a){a.log(function(){return{event:"comet_see_more_button_click",row_type:"NotifPageSeeMoreButton"}})}))},[Ga,w,E]),Ia=c("useVisibilityObserver")({onVisible:function(){c("promiseDone")(da.load().then(function(a){a.log(function(){return{event:"comet_see_more_button_impression",row_type:"NotifPageSeeMoreButton"}})}))}}),Ja=m(function(a){return C?l.createElement("div",babelHelpers["extends"]({className:"xw7yly9 x1yztbdb x1d52u69 xktsk01"},{key:"see-previous-button",ref:Ia}),l.jsx(c("FDSButton.react"),{label:(a=a)!=null?a:"",onPress:Ha,testid:void 0,type:"secondary"})):null},[C,Ha,Ia]),$=q(function(){var a=null,e=[],f=new Map(),g=0;L.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>=ka&&g<ja;k={actor:G,isFromPageNotification:qa,isNotificationsRoute:O,onClose:ra,queryID:K,replace:N&&!O?!0:void 0,routeTarget:!O||va==="FEEDS"?ua:"content",shouldPrefetch:n,showSelectedState:N,trackingData:h};if(((n=j.navigation_endpoint)==null?void 0:n.comet_custom_renderer)!=null)e.push(l.jsx(c("CometErrorBoundary.react"),{onError:function(a){return t(a,"CometNotificationsListItemMatchContainer")},children:l.jsx(c("CometPlaceholder.react"),{fallback:null,children:l.jsx(d("CometRelay").MatchContainer,{match:j.navigation_endpoint.comet_custom_renderer,props:k})})},m));else{if(!((n=j.__fragments)==null?void 0:n.CometNotificationsListItem_notification)){n=c("err")("Missing fragment for notif: "+JSON.stringify(j),JSON.stringify(L));t(n,"CometNotificationsListItemMissingFragment")}else e.push(l.jsx(c("CometErrorBoundary.react"),{onError:function(a){return t(a,"CometNotificationsListItem")},children:l.jsx(c("CometNotificationsListItem.react"),babelHelpers["extends"]({},k,{notification:j,preventLocalNavigation:!1,queryID:K}))},m))}g++;break;case"BUCKET_HEADER":a=i==null?void 0:i.bucket_type;k=i==null?void 0:(n=i.title)==null?void 0:n.text;var o,p;if(pa!==!0){o=i==null?void 0:(j=i.header_link)==null?void 0:j.text;p=i==null?void 0:(m=i.header_link)==null?void 0:m.url}e.push(l.createElement("div",babelHelpers["extends"]({className:"x1rdy4ex"},{key:a,role:"listitem"}),l.jsx(c("CometNotificationsBucketHeaderListItem.react"),{actorId:M,bucketHeader:a,filterTokens:Z,headerLinkText:o,onPress:function(){var b;sa("bucket.header.link."+((b=a)!=null?b:"null"))},title:k,trackingData:h,url:p})));break;case"DEBUG_INVALIDATION":if(!b("cr:1460543"))return;n=i.invalidation_reason;j=i.notif;if(j==null){c("recoverableViolation")("NotifPageDebugInvalidationRow missing notif","Notifications");return}m=j.notif_id;k=j.notif_type;if(k==null||m==null)return;e.push(l.jsx(b("cr:1460543"),{exception:n,notifType:k,notificationNotifId:m},m));break;case"SEE_PREVIOUS_BUTTON":h=i==null?void 0:i.see_previous_text;e.push(Ja(h));break;default:break}});return[e,f]},[G,M,L,Ja,pa,qa,N,O,ua,ra,sa,K,Z,va]),Ka=$[0],La=$[1];$=q(function(){return L.some(function(a){return(a==null?void 0:(a=a.node)==null?void 0:a.row_type)==="SEE_PREVIOUS_BUTTON"})},[L]);v=(v=c("qex")._("861"))!=null?v:!1;v=v&&$===!0&&!U;var Ma=La.values().next().value==="UNSEEN_AND_UNREAD";o(function(){!Y&&J!=null&&J>0&&!Ma&&ba.onReady(function(a){a.log(function(){return{bucketed_notifs:Object.fromEntries(La),unseen_count:J}})})},[Ma,Y,La,J]);var Na=aa();Na[0];var Oa=Na[1];return l.jsxs("div",{"aria-label":h._(/*BTDS*/"__JHASH__n315LqV13lC__JHASH__"),"data-testid":void 0,ref:X,role:"list",children:[l.jsx(c("CometErrorBoundary.react"),{fallback:function(){return null},onError:function(a){return t(a,"CometNotificationsFilters")},children:l.jsx(c("CometNotificationsFilters.react"),{actorId:M,filterConfig:k,setFilterTokens:Ba})}),y&&l.jsx(c("FDSListCellGlimmer.react"),{imageSize:56,imageStyle:"circle",numberOfItems:1}),L.length>0?l.jsx(d("FocusRegion.react").FocusRegion,{recoverFocusQuery:d("focusScopeQueries").tabbableScopeQuery,children:l.jsxs(c("CometNotificationsScrollHoldingContainer.react"),{firstNotificationID:a,children:[b("cr:3701")!=null&&f&&!H&&l.jsx(c("CometErrorBoundary.react"),{onError:function(a){return t(a,"CometNotificationsPushTurnOnPrompt")},children:l.jsx(b("cr:3701"),{props:{setHasClickedPushPrompt:g,viewerData:x}})},"CometNotificationsPushTurnOnPrompt"),l.jsx(c("CometInfiniteScrollSuspenseList.react"),{hasMore:C&&$===!1&&!v,isLoading:D,listGlimmer:l.jsx(c("FDSListCellGlimmer.react"),{imageSize:56,imageStyle:"circle",numberOfItems:2}),onLoadMore:e,children:Ka.filter(Boolean)})]})}):l.jsx(c("CometNoNotifications.react"),{loggingSurface:"comet",userId:M}),l.jsx("div",{"data-testid":void 0})]})}a.displayName=a.name+" [from "+f.id+"]";a=e;g["default"]=a}),226);
__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("CometNotificationsListWrapper.react",["fbt","CometLeftRailHeader.react","CometLeftRailNewContentPill.react","CometNotificationsActionsButton.react","CometNotificationsContext","CometNotificationsList.react","CometNotificationsListItemSeenContext","CometNotificationsListWrapper_viewer.graphql","CometNotificationsRenderLocations","CometProductAttributionContextProvider.react","CometRelay","CometRouterDispatcherContextFactory.react","CometScrollView.react","CometTopNavListDropdownCard.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._(/*BTDS*/"__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("CometTopNavListDropdownCard.react"),{testid:void 0,useFullWidth:s,useMaxHeight:t,children:l.jsxs(c("CometScrollView.react"),{onScroll:D,showsHorizontalScrollIndicator:!1,children:[l.createElement("div",babelHelpers["extends"]({className:"xjm9jq1 xds687c x10l6tqk x13vifvy"},{key:"firstChildScrollAnchor",ref:x})),l.jsx(c("CometLeftRailHeader.react"),{auxiliary:l.jsx("div",babelHelpers["extends"]({className:"x78zum5 x1wsgfga x9otpla"},{children:l.jsx(c("CometNotificationsActionsButton.react"),{actorId:a,notificationsListRef:j,onSeeAllClick:function(){return F("dropdown")}})})),disableProportional:!0,title:h._(/*BTDS*/"__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}),226);
__d("CometNotificationsDropdown.react",["fbt","CometErrorBoundary.react","CometHero.react","CometNotificationsContext","CometNotificationsDropdownQuery.graphql","CometNotificationsInteractionLogger","CometNotificationsInteractionLoggingContext","CometNotificationsListWrapper.react","CometNotificationsRenderLocations","CometRelay","CometTopNavListDropdown.react","react","react-compiler-runtime","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;e.useMemo;var n=i!==void 0?i:i=b("CometNotificationsDropdownQuery.graphql");function o(){var a=d("react-compiler-runtime").c(4),b=l(d("CometNotificationsInteractionLoggingContext").CometNotificationsInteractionLoggingContext),c=b.notifsLoadCompleteRef;d("CometNotificationsInteractionLogger").start("dropdown");a[0]!==c.current?(b=function(){var a=c.current;return function(){a!==!0&&d("CometNotificationsInteractionLogger").cancel()}},a[0]=c.current,a[1]=b):b=a[1];var e;a[2]!==c?(e=[c],a[2]=c,a[3]=e):e=a[3];m(b,e)}function p(a){var b=d("react-compiler-runtime").c(9);o();var e;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(e=[],b[0]=e):e=b[0];m(q,e);e=d("CometRelay").usePreloadedQuery(n,a.queries.notificationsDropdownQueryReference);e=e==null?void 0:e.viewer;if(e==null)throw c("unrecoverableViolation")("viewer cannot be null when querying for notifications","Notifications");var f;b[1]===Symbol["for"]("react.memo_cache_sentinel")?(f={renderLocation:d("CometNotificationsRenderLocations").DROPDOWN},b[1]=f):f=b[1];f=f;f=f;var g;b[2]===Symbol["for"]("react.memo_cache_sentinel")?(g=k.jsx(c("CometHero.react"),{description:"NotificationList"}),b[2]=g):g=b[2];b[3]!==a.props.onClose||b[4]!==e?(g=k.jsxs(k.Fragment,{children:[g,k.jsx(c("CometNotificationsContext").Provider,{value:f,children:k.jsx(c("CometNotificationsListWrapper.react"),{onClose:a.props.onClose,viewer:e})})]}),b[3]=a.props.onClose,b[4]=e,b[5]=g):g=b[5];f=g;b[6]===Symbol["for"]("react.memo_cache_sentinel")?(a=h._(/*BTDS*/"__JHASH__8gAbffuAS0s__JHASH__"),b[6]=a):a=b[6];b[7]!==f?(e=k.jsx(c("CometTopNavListDropdown.react"),{label:a,name:"NotificationList",children:f}),b[7]=f,b[8]=e):e=b[8];return e}function q(){c("updateWidgetServiceWorker")()}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(p,babelHelpers["extends"]({},a))})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometNotificationsPushTurnOnMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7784952554882707"}),null);
__d("CometNotificationsPushTurnOnMutation.graphql",["CometNotificationsPushTurnOnMutation_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:"input",variableName:"input"}],concreteType:"XFBLogPushTurnOnPromptEventResponsePayload",kind:"LinkedField",name:"xfb_log_push_turn_on_prompt_event",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometNotificationsPushTurnOnMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometNotificationsPushTurnOnMutation",selections:c},params:{id:b("CometNotificationsPushTurnOnMutation_facebookRelayOperation"),metadata:{},name:"CometNotificationsPushTurnOnMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("CometNotificationsPushTurnOnMutation",["CometNotificationsPushTurnOnMutation.graphql","CometRelay"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("CometNotificationsPushTurnOnMutation.graphql");function a(a,b,c){return d("CometRelay").commitMutation(a,{mutation:i,onCompleted:function(a){c&&c.onSuccess(a)},onError:c&&c.onError,variables:b})}g.doPushTurnOnMutation=a}),98);
__d("CometNotificationsPushTurnOnPrompt_viewerData.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometNotificationsPushTurnOnPrompt_viewerData",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"BrowserPushConfig",kind:"LinkedField",name:"browser_push_config",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"browser_name",storageKey:null},action:"NONE",path:"browser_push_config.browser_name"},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"service_worker_uri",storageKey:null},action:"NONE",path:"browser_push_config.service_worker_uri"},{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"app_id",storageKey:null},action:"NONE",path:"browser_push_config.app_id"}],storageKey:null},action:"NONE",path:"browser_push_config"},{kind:"RequiredField",field:{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},action:"NONE",path:"actor.id"}],storageKey:null},action:"NONE",path:"actor"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
__d("useInstallPush",["BrowserPushDirectPromptInstallerComet","ODS","PushNotificationsEventEmitter","emptyFunction","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;(h||d("react")).useCallback;function a(a){var b=d("react-compiler-runtime").c(8),e=a.actorID,f=a.appID,g=a.browserName,h=a.path,j=a.onInstall,k=a.setIsPushEnabled,l=a.setIsUpdating,m=j===void 0?c("emptyFunction"):j;b[0]!==e||b[1]!==f||b[2]!==g||b[3]!==m||b[4]!==h||b[5]!==k||b[6]!==l?(a=function(){(i||(i=d("ODS"))).bumpEntityKey(6486,"comet_push_notif_settings","install."+g),k(!0),l(!0),c("PushNotificationsEventEmitter").emit("openInstallPush",{appID:f,browserName:g,hideRequestOverlay:!0,onInstall:m,path:h,workerIsForPushOnly:!0}),d("BrowserPushDirectPromptInstallerComet").logUserSettingAction(e,f.toString(),"turn_on","off","on","CometPushNotificationSettings")},b[0]=e,b[1]=f,b[2]=g,b[3]=m,b[4]=h,b[5]=k,b[6]=l,b[7]=a):a=b[7];return a}g["default"]=a}),98);
__d("useListenToBrowserPermission",["react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){var b=d("react-compiler-runtime").c(6),c=a.installPush,e=a.setNotificationsBlocked,f=a.setWaitingForBrowserPermission,g=a.waitingForBrowserPermission,h;b[0]!==c||b[1]!==e||b[2]!==f||b[3]!==g?(a=function(){if(!window.Notification)return j;var a=window.setInterval(function(){var a;a=((a=window)==null?void 0:(a=a.Notification)==null?void 0:a.permission)==="denied";e(a);g&&!a&&(c(),f(!1))},2e3);return function(){return window.clearInterval(a)}},h=[e,g,f,c],b[0]=c,b[1]=e,b[2]=f,b[3]=g,b[4]=a,b[5]=h):(a=b[4],h=b[5]);i(a,h)}function j(){}g["default"]=a}),98);
__d("useOpenInstructionsDialogOnButtonPress",["fbt","ODS","cr:7019","react","react-compiler-runtime","useCometAlertDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||c("react");(i||(i=d("react"))).useCallback;function a(a){var e=d("react-compiler-runtime").c(4),f=a.browserName,g=a.setWaitingForBrowserPermission,i=c("useCometAlertDialog")();e[0]!==f||e[1]!==g||e[2]!==i?(a=function(){(j||(j=d("ODS"))).bumpEntityKey(6486,"comet_push_notif_settings","browser_permission."+f),g(!0),i({body:l.jsx(b("cr:7019"),{browserName:f}),title:h._(/*BTDS*/"__JHASH__eTMHZ6bRovU__JHASH__")})},e[0]=f,e[1]=g,e[2]=i,e[3]=a):a=e[3];return a}g["default"]=a}),226);
__d("useValidatePushInstall",["BrowserPushDirectPromptInstallerComet","promiseDone","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useEffect;function a(a){var b=d("react-compiler-runtime").c(5),e=a.appID,f=a.path,g=a.setIsPushEnabled,h;b[0]!==e||b[1]!==f||b[2]!==g?(a=function(){c("promiseDone")(d("BrowserPushDirectPromptInstallerComet").genPushSubscription(f,e),function(a){g(a!=null)})},h=[f,e,g],b[0]=e,b[1]=f,b[2]=g,b[3]=a,b[4]=h):(a=b[3],h=b[4]);i(a,h)}g["default"]=a}),98);
__d("CometNotificationsPushTurnOnPrompt.react",["fbt","CometNotificationsPushTurnOnMutation","CometNotificationsPushTurnOnPrompt_viewerData.graphql","FDSButtonGroup.react","FDSContextualMessage.react","RelayHooks","XCometSettingsControllerRouteBuilder","cometPushToast","emptyFunction","goUriOnNewWindow","react","react-compiler-runtime","useInstallPush","useListenToBrowserPermission","useOpenInstructionsDialogOnButtonPress","useValidatePushInstall"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;e.useCallback;var l=e.useState,m={action:{label:h._(/*BTDS*/"__JHASH__QFs3sL2m2xf__JHASH__"),onPress:function(){c("goUriOnNewWindow")(c("XCometSettingsControllerRouteBuilder").buildURL({tab:"notifications"}))},testid:"EditSettingsFromPush"},href:c("XCometSettingsControllerRouteBuilder").buildURL({tab:"notifications"}),message:h._(/*BTDS*/"__JHASH__atyJ6IfBcFX__JHASH__"),target:"_blank",truncateText:!1};function n(a){var b=d("react-compiler-runtime").c(47),e=a.props,f=d("RelayHooks").useRelayEnvironment();b[0]===Symbol["for"]("react.memo_cache_sentinel")?(a={event_type:"RESPONSE",prompt_type:"HEADER",surface:"JEWEL_COMET"},b[0]=a):a=b[0];var g=a;a=e.data;var i=a.actor;a=a.browser_push_config;var j;b[1]!==a?(j=a||{},b[1]=a,b[2]=j):j=b[2];a=j;j=a.app_id;var m=a.browser_name;a=a.service_worker_uri;j=Number(j);var n=i==null?void 0:i.id,p=l(!1),q=p[0];p=p[1];var r=l(!1),s=r[0];r=r[1];var t=o;b[3]!==n||b[4]!==j||b[5]!==m||b[6]!==a?(t={actorID:n,appID:j,browserName:m,onInstall:t,path:a,setIsPushEnabled:c("emptyFunction"),setIsUpdating:c("emptyFunction")},b[3]=n,b[4]=j,b[5]=m,b[6]=a,b[7]=t):t=b[7];var u=c("useInstallPush")(t);b[8]!==u||b[9]!==q?(n={installPush:u,setNotificationsBlocked:r,setWaitingForBrowserPermission:p,waitingForBrowserPermission:q},b[8]=u,b[9]=q,b[10]=n):n=b[10];c("useListenToBrowserPermission")(n);b[11]!==m?(t={browserName:m,setWaitingForBrowserPermission:p},b[11]=m,b[12]=t):t=b[12];var v=c("useOpenInstructionsDialogOnButtonPress")(t);b[13]!==j||b[14]!==a?(r={appID:j,path:a,setIsPushEnabled:c("emptyFunction")},b[13]=j,b[14]=a,b[15]=r):r=b[15];c("useValidatePushInstall")(r);b[16]!==u||b[17]!==s||b[18]!==v?(q=function(){s?v():u()},b[16]=u,b[17]=s,b[18]=v,b[19]=q):q=b[19];var w=q;if(i==null)return null;b[20]===Symbol["for"]("react.memo_cache_sentinel")?(n={className:"x1d52u69 xktsk01 x1xmf6yo"},b[20]=n):n=b[20];b[21]===Symbol["for"]("react.memo_cache_sentinel")?(p=h._(/*BTDS*/"__JHASH__yzud6EhPq7K__JHASH__"),b[21]=p):p=b[21];b[22]!==f||b[23]!==w||b[24]!==e?(m=function(){e.setHasClickedPushPrompt(!0),w(),d("CometNotificationsPushTurnOnMutation").doPushTurnOnMutation(f,{input:babelHelpers["extends"]({},g,{answer:"ACCEPT"})})},b[22]=f,b[23]=w,b[24]=e,b[25]=m):m=b[25];b[26]!==m||b[27]!==p?(t={label:p,onPress:m,reduceEmphasis:!0},b[26]=m,b[27]=p,b[28]=t):t=b[28];b[29]===Symbol["for"]("react.memo_cache_sentinel")?(j=h._(/*BTDS*/"__JHASH__1vBJTn_Q4TC__JHASH__"),b[29]=j):j=b[29];b[30]!==f||b[31]!==e?(a=function(){e.setHasClickedPushPrompt(!0),d("CometNotificationsPushTurnOnMutation").doPushTurnOnMutation(f,{input:babelHelpers["extends"]({},g,{answer:"DISMISS"})})},b[30]=f,b[31]=e,b[32]=a):a=b[32];b[33]!==j||b[34]!==a?(r={label:j,onPress:a},b[33]=j,b[34]=a,b[35]=r):r=b[35];b[36]!==t||b[37]!==r?(q=k.jsx(c("FDSButtonGroup.react"),{expanding:!0,primary:t,secondary:r}),b[36]=t,b[37]=r,b[38]=q):q=b[38];b[39]===Symbol["for"]("react.memo_cache_sentinel")?(i=h._(/*BTDS*/"__JHASH__xhG1QlJpn5x__JHASH__"),m=h._(/*BTDS*/"__JHASH__kk2XDuASgbr__JHASH__"),b[39]=i,b[40]=m):(i=b[39],m=b[40]);b[41]!==f||b[42]!==e?(p=function(){e.setHasClickedPushPrompt(!0),d("CometNotificationsPushTurnOnMutation").doPushTurnOnMutation(f,{input:babelHelpers["extends"]({},g,{answer:"DISMISS"})})},b[41]=f,b[42]=e,b[43]=p):p=b[43];b[44]!==q||b[45]!==p?(j=k.jsx("div",babelHelpers["extends"]({},n,{role:"row",children:k.jsx(c("FDSContextualMessage.react"),{addOnPrimary:q,body:i,headline:m,onClose:p,type:"secondary"})})),b[44]=q,b[45]=p,b[46]=j):j=b[46];return j}function o(){d("cometPushToast").cometPushToast(m,3e3)}function a(a){var c,e=d("react-compiler-runtime").c(10);a=a.props;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("CometNotificationsPushTurnOnPrompt_viewerData.graphql"),a.viewerData);if((f==null?void 0:(c=f.actor)==null?void 0:c.id)==null||(f==null?void 0:(c=f.browser_push_config)==null?void 0:c.app_id)==null||(f==null?void 0:(c=f.browser_push_config)==null?void 0:c.browser_name)==null||(f==null?void 0:(c=f.browser_push_config)==null?void 0:c.service_worker_uri)==null)return null;e[0]!==f.browser_push_config?(c=babelHelpers["extends"]({},f.browser_push_config),e[0]=f.browser_push_config,e[1]=c):c=e[1];var g;e[2]!==f.actor||e[3]!==c?(g={actor:f.actor,browser_push_config:c},e[2]=f.actor,e[3]=c,e[4]=g):g=e[4];e[5]!==a||e[6]!==g?(f=babelHelpers["extends"]({},a,{data:g}),e[5]=a,e[6]=g,e[7]=f):f=e[7];c=f;e[8]!==c?(a=k.jsx(n,{props:c}),e[8]=c,e[9]=a):a=e[9];return a}g["default"]=a}),226);
__d("CometPushNotificationSettingsInstructions.react",["fbt","ix","AddOnStartOverride.react","CometList_DEPRECATED.react","FDSIcon.react","FDSListCell.react","FDSListCellText.react","FDSText.react","IconSource","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react"),l=[h._(/*BTDS*/"__JHASH__06W43r7P4s4__JHASH__"),h._(/*BTDS*/"__JHASH__8qol9RMEXTx__JHASH__"),h._(/*BTDS*/"__JHASH__9RgQL1qxZL2__JHASH__")];function m(a){var b=d("react-compiler-runtime").c(5);a=a.count;var e,f,g;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(e={},f={className:"xjb1437 x107yiy2 xv8uw2v x1tfwpuw x2g32xy x1rg5ohu xxk0z11 x2b8uid xvy4d1p"},g={className:"xr9ek0c"},b[0]=e,b[1]=f,b[2]=g):(e=b[0],f=b[1],g=b[2]);a=l[a];b[3]!==a?(e=k.jsx(c("AddOnStartOverride.react"),{xstyle:e,children:k.jsx("div",babelHelpers["extends"]({},f,{children:k.jsx("div",babelHelpers["extends"]({},g,{children:k.jsx(c("FDSText.react"),{color:"white",type:"body2",children:a})}))}))}),b[3]=a,b[4]=e):e=b[4];return e}function a(a){var b,e=d("react-compiler-runtime").c(16);a=a.browserName;b=((b=window)==null?void 0:(b=b.Notification)==null?void 0:b.permission)==="default";b=b&&(a==="Chrome"||a==="Microsoft Edge");var f=0,g;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(g=k.jsx(m,{count:f++}),e[0]=g):g=e[0];e[1]===Symbol["for"]("react.memo_cache_sentinel")?(g=k.jsx(c("FDSListCell.react"),{addOnStart:g,content:k.jsx(c("FDSListCellText.react"),{headline:h._(/*BTDS*/"__JHASH__mYvpwC95C74__JHASH__",[h._param("Lock Icon",k.jsx(c("FDSIcon.react"),{alt:h._(/*BTDS*/"__JHASH__yGd13C_NXt9__JHASH__"),icon:new(c("IconSource"))("FB",i("368407"),16)}))])})},"lock"),e[1]=g):g=e[1];if(e[2]!==a||e[3]!==b){g=[g];if(b){var j;e[5]===Symbol["for"]("react.memo_cache_sentinel")?(j=k.jsx(m,{count:f++}),e[5]=j):j=e[5];e[6]===Symbol["for"]("react.memo_cache_sentinel")?(j=k.jsx(c("FDSListCell.react"),{addOnStart:j,content:k.jsx(c("FDSListCellText.react"),{headline:h._(/*BTDS*/"__JHASH__AMgL_zw0PJu__JHASH__",[h._param("Settings Icon",k.jsx(c("FDSIcon.react"),{icon:new(c("IconSource"))("FB",i("372468"),16)})),h._param("Site settings menu item",k.jsx("strong",{children:h._(/*BTDS*/"__JHASH__PXMTPS7zAmZ__JHASH__")}))])})},"settings"),e[6]=j):j=e[6];g.push(j)}e[7]!==a?(j=a==="Firefox"?h._(/*BTDS*/"__JHASH__nffK6ScDxZz__JHASH__",[h._param("Notifications Icon",k.jsx(c("FDSIcon.react"),{icon:new(c("IconSource"))("FB",i("514219"),16)})),h._param("Notifications menu item",k.jsx("strong",{children:h._(/*BTDS*/"__JHASH__IL5u3l7QTEF__JHASH__")})),h._param("Remove (X) Icon",k.jsx(c("FDSIcon.react"),{alt:h._(/*BTDS*/"__JHASH__jBYXHCsKUHU__JHASH__"),icon:new(c("IconSource"))("FB",i("368782"),16)})),h._param("Blocked label",k.jsx("em",{children:h._(/*BTDS*/"__JHASH__w8QfuuGgwPm__JHASH__")}))]):h._(/*BTDS*/"__JHASH__EjrSOWZKJJd__JHASH__",[h._param("Bell Icon",k.jsx(c("FDSIcon.react"),{icon:new(c("IconSource"))("FB",i("407789"),16)})),h._param("Notifications menu item",k.jsx("strong",{children:h._(/*BTDS*/"__JHASH__jhU1LA7gDcZ__JHASH__")})),h._param("allow option",k.jsx("em",{children:h._(/*BTDS*/"__JHASH__1URLFlCtOb3__JHASH__")}))]),e[7]=a,e[8]=j):j=e[8];j=j;f=f++;var l;e[9]!==f?(l=k.jsx(m,{count:f}),e[9]=f,e[10]=l):l=e[10];e[11]!==j?(f=k.jsx(c("FDSListCellText.react"),{headline:j}),e[11]=j,e[12]=f):f=e[12];e[13]!==l||e[14]!==f?(j=k.jsx(c("FDSListCell.react"),{addOnStart:l,content:f},"browser"),e[13]=l,e[14]=f,e[15]=j):j=e[15];g.push(j);l=k.jsx(c("CometList_DEPRECATED.react"),{children:g});e[2]=a;e[3]=b;e[4]=l}else l=e[4];return l}g["default"]=a}),226);
__d("NullStateNotificationsFB",["CometEmptyStatesNullStatesNotificationsDarkMode.svg.react","CometEmptyStatesNullStatesNotificationsGrayWash.svg.react","SVGIcon"],(function(a,b,c,d,e,f,g){"use strict";a={dark:d("SVGIcon").svgIcon(c("CometEmptyStatesNullStatesNotificationsDarkMode.svg.react")),"default":d("SVGIcon").svgIcon(c("CometEmptyStatesNullStatesNotificationsGrayWash.svg.react"))};g["default"]=a}),98);