Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

;/*FB_PKG_DELIM*/ __d("FriendingCometFriendRequestSendMutation_facebookRelayOperation",..

Decoded Output download

<?  ;/*FB_PKG_DELIM*/ 
 
__d("FriendingCometFriendRequestSendMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24773035982311104"}),null); 
__d("FriendingCometFriendRequestSendMutation.graphql",["FriendingCometFriendRequestSendMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},f=[{kind:"Literal",name:"action_type",value:"FRIEND"},{kind:"Literal",name:"render_location",value:"WWW_COMET_PROFILE"}],g={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestSendMutation",selections:[{alias:null,args:c,concreteType:"FriendRequestSendResponsePayload",kind:"LinkedField",name:"friend_request_send",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"friend_requestees",plural:!0,selections:[d,e,{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"ProfileActionMutationUtils_action"}],storageKey:'profile_action(action_type:"FRIEND",render_location:"WWW_COMET_PROFILE")'},{args:null,kind:"FragmentSpread",name:"ProfileCometTimelineTabTopBanner_user"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FriendingCometFriendRequestSendMutation",selections:[{alias:null,args:c,concreteType:"FriendRequestSendResponsePayload",kind:"LinkedField",name:"friend_request_send",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"friend_requestees",plural:!0,selections:[d,e,{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[g,{kind:"TypeDiscriminator",abstractKey:"__isProfileAction"},{alias:null,args:[{kind:"Literal",name:"icon_color",value:"fds-black"},{kind:"Literal",name:"icon_size",value:"16"},{kind:"Literal",name:"icon_variant",value:"filled"},{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},d,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_optimistic_update",storageKey:null}]}],storageKey:'profile_action(action_type:"FRIEND",render_location:"WWW_COMET_PROFILE")'},{alias:null,args:[{kind:"Literal",name:"render_location",value:"TIMELINE_TAB_TOP"},{kind:"Literal",name:"supported",value:"10EN4t"}],concreteType:null,kind:"LinkedField",name:"comet_profile_banner",plural:!1,selections:[g,{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfilePlusCometAdminNotice_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfilePlusAdminNoticeRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometTransparencyInformBanner_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"TransparencyInformContent",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometAppealBanner_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfileAppealBanner",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometBannerGeneric_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfileBanner",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"FriendingCometProfilePYMKHScroll_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfilePYMKBanner",abstractKey:null},{kind:"InlineFragment",selections:[d],type:"Node",abstractKey:"__isNode"}],storageKey:'comet_profile_banner(render_location:"TIMELINE_TAB_TOP",supported:"10EN4t")'}],storageKey:null}],storageKey:null}]},params:{id:b("FriendingCometFriendRequestSendMutation_facebookRelayOperation"),metadata:{},name:"FriendingCometFriendRequestSendMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null); 
__d("ProfileCometActionFriendRequestHandler_handler$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},f=[b];return{kind:"SplitOperation",metadata:{},name:"ProfileCometActionFriendRequestHandler_handler$normalization",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"restrictable_profile_owner",plural:!1,selections:[a,{kind:"InlineFragment",selections:[b,c,{alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},d,e],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[b,c,d,e],type:"RestrictedUser",abstractKey:null},{kind:"InlineFragment",selections:f,type:"Node",abstractKey:"__isNode"}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"profile_owner",plural:!1,selections:f,storageKey:null}],type:"ProfileActionFriendRequest",abstractKey:null},b],storageKey:null}]}}();e.exports=a}),null); 
__d("ProfileCometActionFriendRequestHandler_handler.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ProfileCometActionFriendRequestHandler_handler",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"restrictable_profile_owner",plural:!1,selections:[{kind:"InlineFragment",selections:a,type:"User",abstractKey:null},{kind:"InlineFragment",selections:a,type:"RestrictedUser",abstractKey:null}],storageKey:null}],type:"ProfileActionFriendRequest",abstractKey:null},{args:null,kind:"FragmentSpread",name:"ProfileCometActiveFriendMenu_action"},{args:null,kind:"FragmentSpread",name:"ProfileCometIncomingFriendRequestMenu_action"}],storageKey:null}],type:"ProfileActionFriendRequestHandler",abstractKey:null}}();e.exports=a}),null); 
__d("CometProfileListDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6850135145082256"}),null); 
__d("CometProfileListDialogQuery$Parameters",["CometProfileListDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometProfileListDialogQuery_facebookRelayOperation"),metadata:{},name:"CometProfileListDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); 
__d("RecommendationsUnitContainerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24808096065502459"}),null); 
__d("RecommendationsUnitContainerQuery$Parameters",["RecommendationsUnitContainerQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("RecommendationsUnitContainerQuery_facebookRelayOperation"),metadata:{},name:"RecommendationsUnitContainerQuery",operationKind:"query",text:null}};e.exports=a}),null); 
__d("RecommendationsUnitContext_recommendationUnitFragmentRef.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"RecommendationsUnitContext_recommendationUnitFragmentRef",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"if_viewer_can_see_pymk_unit_on_initial_load",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null}],type:"XFBProfileEntityConvergenceHeaderRenderer",abstractKey:null};e.exports=a}),null); 
__d("FriendRequestError",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({SELF_OVER_FRIEND_LIMIT:1431006,SELF_OVER_FRIEND_LIMIT_SUBSCRIBED:1431016,SIGMA_WARN:1407026});f["default"]=a}),66); 
__d("FriendingCometErrorHandler.react",["fbt","CometRelayErrorHandling","FriendRequestError","JSResourceForInteraction","SilenceableErrorMessageUtils","cometPushToast","react","useCometLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=(i||d("react")).useCallback,k=c("JSResourceForInteraction")("FriendingCometErrorDialog.react").__setRef("FriendingCometErrorHandler.react");function a(a){var b=c("useCometLazyDialog")(k),e=b[0],f=j(function(b){var g=d("SilenceableErrorMessageUtils").getMetadataFromError(b);if(d("SilenceableErrorMessageUtils").shouldHideErrorMessage(g))return;b.name==="NetworkTransportError"?d("cometPushToast").cometPushErrorToast({message:h._("__JHASH__J83gzDrVB2V__JHASH__")},5e3):(b.code===c("FriendRequestError").SELF_OVER_FRIEND_LIMIT||b.code===c("FriendRequestError").SELF_OVER_FRIEND_LIMIT_SUBSCRIBED||b.code===c("FriendRequestError").SIGMA_WARN)&&(d("CometRelayErrorHandling").markErrorAsHandled(b),e({addFriendErrorHandler:f,addFriendId:a.addFriendId,addFriendSource:a.addFriendSource,error:b}))},[a.addFriendId,a.addFriendSource,e]);return f}g.useFriendingErrorHandler=a}),98); 
__d("ProfileActionFriendingMutationUtils",["fbt","ProfileActionMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a,b){var c="";switch(a){case"ARE_FRIENDS":c=h._("__JHASH__kIlAncPZYc2__JHASH__").toString();break;case"CAN_REQUEST":c=h._("__JHASH__g_bR-tXaMso__JHASH__").toString();break;case"INCOMING_REQUEST":c=h._("__JHASH__2MCmiN_h7kP__JHASH__").toString();break;case"OUTGOING_REQUEST":c=h._("__JHASH__UNPMiVpVS7t__JHASH__").toString();break}return{__typename:"ProfileActionFriendRequest",icon_image:{height:16*d("WebPixelRatio").get(),scale:d("WebPixelRatio").get(),uri:null,width:16*d("WebPixelRatio").get()},id:d("ProfileActionMutationUtils").getProfileActionID(b,1),is_optimistic_update:!0,title:{text:c}}}g.getOptimisticActionForFriendshipStatus=a}),98); 
__d("FriendingCometFriendRequestSendMutation",["CometRelay","FriendingCometFriendRequestSendMutation.graphql","ProfileActionFriendingMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("FriendingCometFriendRequestSendMutation.graphql");function a(a){var b=a.acknowledgeWarn,c=a.environment,e=a.extraAttributionData,f=a.navigationChain,g=a.onError,h=a.profileRef,j=a.pymkLocation,k=a.receiverID;a=a.source;return d("CometRelay").commitMutation(c,{mutation:i,onError:g,optimisticResponse:{friend_request_send:{friend_requestees:[{comet_profile_banner:null,friendship_status:"OUTGOING_REQUEST",id:k,profile_action:d("ProfileActionFriendingMutationUtils").getOptimisticActionForFriendshipStatus("OUTGOING_REQUEST",k)}]}},variables:{input:{attribution_id_v2:f,extra_data:e,friend_requestee_ids:[k],people_you_may_know_location:j,refs:[h],source:a,warn_ack_for_ids:b===!0?[k]:[]},scale:d("WebPixelRatio").get()}})}g.commit=a}),98); 
__d("RecommendationsUnit.entrypoint",["JSResourceForInteraction","RecommendationsUnitContainerQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.parentID;a=a.renderLocation;return{queries:{queryReference:{parameters:c("RecommendationsUnitContainerQuery$Parameters"),variables:{parentID:b,renderLocation:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("RecommendationsUnitContainer.react").__setRef("RecommendationsUnit.entrypoint")};b=a;g["default"]=b}),98); 
__d("RecommendationsUnitCardGlimmer.react",["CometAspectRatioContainer.react","CometCard.react","CometColumn.react","CometColumnItem.react","CometGlimmer.react","react","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={buttonGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"xc9qbxq",$$css:!0},contentColumn:{maxWidth:"x193iq5w",$$css:!0},contentRoot:{display:"x78zum5",height:"x5yr21d",$$css:!0},imageGlimmer:{height:"x5yr21d",width:"xh8yej3",$$css:!0},root:{display:"x78zum5",flexGrow:"x1iyjqo2",height:"x5yr21d",$$css:!0},subtitleGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"xlup9mm",width:"x65xoit",$$css:!0},titleGlimmer:{borderTopStartRadius:"x1a2cdl4",borderTopEndRadius:"xnhgr82",borderBottomEndRadius:"x1qt0ttw",borderBottomStartRadius:"xgk8upj",height:"x1qx5ct2",width:"xktia5q",$$css:!0}},k=function(){};function a(a){var b=a.index;a=a.onVisible;a=a===void 0?k:a;a=c("useVisibilityObserver")({onVisible:a,options:{rootMargin:200}});return i.jsx("div",{className:"x78zum5 x1iyjqo2 x5yr21d",children:i.jsx(c("CometCard.react"),{background:"white",border:"solid",dropShadow:2,expanding:!0,ref:a,children:i.jsx("div",{className:"x78zum5 x5yr21d",children:i.jsxs(c("CometColumn.react"),{expanding:!0,spacing:16,xstyle:j.contentColumn,children:[i.jsx(c("CometColumnItem.react"),{children:i.jsx(c("CometAspectRatioContainer.react"),{aspectRatio:1.5,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.imageGlimmer})})}),i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.titleGlimmer})}),i.jsx(c("CometColumnItem.react"),{expanding:!0,paddingHorizontal:16,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.subtitleGlimmer})}),i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,paddingVertical:16,verticalAlign:"bottom",children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.buttonGlimmer})})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("RecommendationsUnitGlimmer.react",["CometGlimmer.react","CometHScroll.react","CometRow.react","CometRowItem.react","RecommendationsUnitCardGlimmer.react","gkx","range","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={linkGlimmer:{borderTopStartRadius:"xyi19xy",borderTopEndRadius:"x1ccrb07",borderBottomEndRadius:"xtf3nb5",borderBottomStartRadius:"x1pc53ja",height:"x1qx5ct2",marginBottom:"x12nagc",width:"x1exxlbk",$$css:!0},root:{borderTop:"xzg4506",borderEnd:"xycxndf",borderBottom:"xua58t2",borderStart:"x4xrfw5",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"xev17xk",marginTop:"x1xmf6yo",paddingTop:"xz9dl7a",paddingEnd:"x1pi30zi",paddingBottom:"xjkvuk6",paddingStart:"x1swvt13",$$css:!0},titleGlimmer:{borderTopStartRadius:"xyi19xy",borderTopEndRadius:"x1ccrb07",borderBottomEndRadius:"xtf3nb5",borderBottomStartRadius:"x1pc53ja",height:"x1qx5ct2",width:"x1oysuqx",$$css:!0}},k=c("gkx")("23053")?196:150;function a(){var a=c("range")(0,5).map(function(a){return i.jsx(d("CometHScroll.react").Child,{children:i.jsx(c("RecommendationsUnitCardGlimmer.react"),{index:a})},a)});return i.jsxs("div",{className:"xzg4506 xycxndf xua58t2 x4xrfw5 x1lq5wgf xgqcy7u x30kzoy x9jhf4c xev17xk x1xmf6yo xz9dl7a x1pi30zi xjkvuk6 x1swvt13",children:[i.jsxs(c("CometRow.react"),{paddingHorizontal:0,paddingTop:0,spacingVertical:0,children:[i.jsx(c("CometRowItem.react"),{children:i.jsx(c("CometGlimmer.react"),{index:0,xstyle:j.titleGlimmer})}),i.jsx(c("CometRowItem.react"),{children:i.jsx(c("CometGlimmer.react"),{index:0,xstyle:j.linkGlimmer})})]}),i.jsx(d("CometHScroll.react").Container,{cardWidth:{minWidth:k,type:"responsive"},gap:8,children:a})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("RecommendationsUnitContext",["CometPlaceholder.react","CometRelay","RecommendationsUnit.entrypoint","RecommendationsUnitContext_recommendationUnitFragmentRef.graphql","RecommendationsUnitGlimmer.react","RelayHooks","react","useCometRelayEntrypointContextualEnvironmentProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useMemo,l=e.useState;e=function(){};var m=function(){return!1},n=j.createContext({chainExpandRecommendationsUnit:m,isRecommendationsUnitExpanded:!1,parentID:null,recommendationsUnitEntryPointContainer:null,setIsRecommendationsUnitExpanded:e,shouldExpandOnInitialLoad:!1,toggleIsRecommendationsUnitExpanded:e});function a(a){var e=a.children,f=a.parentID,g=a.recommendationUnitFragmentRef,i=a.renderLocation;a=d("RelayHooks").useFragment(h!==void 0?h:h=b("RecommendationsUnitContext_recommendationUnitFragmentRef.graphql"),g);g=c("useCometRelayEntrypointContextualEnvironmentProvider")();g=d("CometRelay").useEntryPointLoader(g,c("RecommendationsUnit.entrypoint"));var m=g[0],o=g[1];a=(a==null?void 0:(g=a.user)==null?void 0:g.if_viewer_can_see_pymk_unit_on_initial_load)!=null;g=l(a);var p=g[0],q=g[1];g=l(m!=null||a);var r=g[0],s=g[1],t=k(function(){var a;return m!=null?j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("RecommendationsUnitGlimmer.react"),{}),children:j.jsx(d("CometRelay").EntryPointContainer,{entryPointReference:m,props:{isExpanded:(a=r)!=null?a:!1}})}):null},[r,m]);a=l(!1);var u=a[0],v=a[1];g=k(function(){return{chainExpandRecommendationsUnit:function(){if(!u&&!r){o({parentID:f,renderLocation:i});v(!0);s(!0);return!0}return!1},isRecommendationsUnitExpanded:r,parentID:f,recommendationsUnitEntryPointContainer:t,setIsRecommendationsUnitExpanded:function(a){a?(o({parentID:f,renderLocation:i}),v(!0),s(!0)):s(!1)},shouldExpandOnInitialLoad:p,toggleIsRecommendationsUnitExpanded:function(){o({parentID:f,renderLocation:i}),r||v(!0),p&&q(!1),s(function(a){return!a})}}},[r,t,u,o,f,i,p]);return j.jsx(n.Provider,{value:g,children:e})}a.displayName=a.name+" [from "+f.id+"]";g.noOpFunc=e;g.noOpBoolFunc=m;g.RecommendationsUnitContext=n;g.RecommendationsUnitContextProvider=a}),98); 
__d("useRecommendationsUnitChaining",["RecommendationsUnitContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(d("RecommendationsUnitContext").RecommendationsUnitContext),b=a.chainExpandRecommendationsUnit,c=a.parentID;return{chainExpandRecommendationsUnit:function(a){a=a.matchParentID;return a==null||a===c?b():!1}}}g["default"]=a}),98); 
__d("ProfileCometActionFriendRequestHandler.react",["Actor","CometHovercardGroupContext","CometLazyPopoverTrigger.react","CometRelay","FriendingCometErrorHandler.react","FriendingCometFriendRequestSendMutation","JSResourceForInteraction","ProfileCometActionFriendRequestHandler_handler.graphql","ProfileCometContextualProfileContext","promiseDone","react","recoverableViolation","useMinifiedProductAttribution","useProfileCometExplicitConnectionsEventLogger","useProfileCometExplicitConnectionsImpressionLogger","useRecommendationsUnitChaining"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useContext,m=c("JSResourceForInteraction")("ProfileCometActiveFriendMenu.react").__setRef("ProfileCometActionFriendRequestHandler.react"),n=c("JSResourceForInteraction")("ProfileCometIncomingFriendRequestMenu.react").__setRef("ProfileCometActionFriendRequestHandler.react"),o=c("JSResourceForInteraction")("FriendingCometFriendRequestCancelMutation").__setRef("ProfileCometActionFriendRequestHandler.react");function a(a){var e,f,g=a.children,i=a.extraAttributionData,p=a.handler,q=a.popoverPosition;a=a.source;var r=d("CometRelay").useRelayEnvironment();p=d("CometRelay").useFragment(h!==void 0?h:h=b("ProfileCometActionFriendRequestHandler_handler.graphql"),p);p=p.profile_action;var s=(p==null?void 0:(e=p.restrictable_profile_owner)==null?void 0:e.id)||"0";s==="0"&&c("recoverableViolation")("Missing profile ID","profile_comet");e=c("useRecommendationsUnitChaining")();var t=e.chainExpandRecommendationsUnit,u;switch(a){case"WWW_COMET_HOVERCARD":u="hovercard";break;case"WWW_COMET_PROFILE_FRIENDS_TAB":u="profile_friends";break;default:u="profile_button";break}var v=d("FriendingCometErrorHandler.react").useFriendingErrorHandler({addFriendId:s,addFriendSource:"profile_button"}),w=c("useMinifiedProductAttribution")();e=l(c("ProfileCometContextualProfileContext"));e=e.groupID;var x=l(c("CometHovercardGroupContext"));x=x.groupID;var y=(e=e||x)!=null?e:"";x=d("Actor").useActor();e=x[0];x=c("useProfileCometExplicitConnectionsImpressionLogger")(e,y,s,"EC_FRIEND_REQUEST_BUTTON_VIEWED","CONTEXTUAL_VIEW");var z=c("useProfileCometExplicitConnectionsEventLogger")(e,y,s);e=k(function(){y!==""&&z("EC_FRIEND_REQUEST_BUTTON_CLICKED","CONTEXTUAL_VIEW"),t({matchParentID:s}),d("FriendingCometFriendRequestSendMutation").commit({environment:r,extraAttributionData:i,navigationChain:w,onError:v,receiverID:s,source:u})},[t,r,i,v,u,y,z,w,s]);var A=k(function(){c("promiseDone")(o.load().then(function(a){a=a.commit;a({environment:r,navigationChain:w,onError:v,receiverID:s,source:"profile"})}))},[r,v,w,s]);f=p==null?void 0:(f=p.restrictable_profile_owner)==null?void 0:f.friendship_status;if(f==null){c("recoverableViolation")("Failed to fetch friendship status for profile "+s,"profile_comet");return null}var B=null;switch(f){case"ARE_FRIENDS":B=m;break;case"CAN_REQUEST":return g({onPress:e,ref:y!==""?x:function(){}});case"INCOMING_REQUEST":B=n;break;case"OUTGOING_REQUEST":return g({onPress:A});case"CANNOT_REQUEST":return null;default:c("recoverableViolation")("Unknown friendship status "+f+" for profile "+s,"profile_comet");return null}return!B||!p?g({}):j.jsx(c("CometLazyPopoverTrigger.react"),{popoverProps:{action:p,source:a},popoverResource:B,position:q,preloadTrigger:"button",children:function(a,b,c,d,e,f){return g({onHoverIn:d,onHoverOut:e,onPress:b,onPressIn:f,ref:a})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("CometProfileListDialog.entrypoint",["CometProfileListDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.listType;a=a.sourceID;return{queries:{cometMutualFriendsQueryReference:{parameters:b("CometProfileListDialogQuery$Parameters"),variables:{listType:c,scale:d("WebPixelRatio").get(),sourceID:a}}}}},root:c("JSResourceForInteraction")("CometProfileListDialog.react").__setRef("CometProfileListDialog.entrypoint")};g["default"]=a}),98);/*FB_PKG_DELIM*/ 
__d("FriendingCometFriendRequestsListItemMenuButton_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestsListItemMenuButton_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null); 
__d("FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5025584660835139"}),null); 
__d("FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters",["FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation"),metadata:{},name:"FriendingCometFriendRequestsListItemMoreMenuQuery",operationKind:"query",text:null}};e.exports=a}),null); 
__d("FriendingCometFriendRequestsListItem_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestsListItem_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:60},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:60}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"FriendingCometListItemWithButtons_user"},{args:null,kind:"FragmentSpread",name:"FriendingCometFriendRequestsListItemMenuButton_user"}],type:"User",abstractKey:null};e.exports=a}),null); 
__d("FriendingCometListItemWithButtons_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometListItemWithButtons_user",selections:[{kind:"InlineFragment",selections:[a,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"social_context",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{args:[{kind:"Literal",name:"iconSize",value:20}],kind:"FragmentSpread",name:"FriendingCometMutualFriendsSocialContext_user"}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[a],type:"RestrictedUser",abstractKey:null}],type:"FriendNode",abstractKey:"__isFriendNode"}}();e.exports=a}),null); 
__d("FriendingCometHomeInlineRHCContainer_friendsPanel$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={kind:"Variable",name:"scale",variableName:"scale"},d=[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}];return{kind:"SplitOperation",metadata:{},name:"FriendingCometHomeInlineRHCContainer_friendsPanel$normalization",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null},{alias:null,args:[{kind:"Literal",name:"max",value:1}],concreteType:"FriendRequest",kind:"LinkedField",name:"highlighted_requests",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:60},c,{kind:"Literal",name:"width",value:60}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:d,storageKey:null},{kind:"InlineFragment",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"social_context",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"social_context_top_mutual_friends",plural:!0,selections:[a,b,{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:[{kind:"Literal",name:"height",value:20},c,{kind:"Literal",name:"width",value:20}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:d,storageKey:null}],storageKey:null}],type:"User",abstractKey:null}],type:"FriendNode",abstractKey:"__isFriendNode"}],storageKey:null},a],storageKey:"highlighted_requests(max:1)"}]}}();e.exports=a}),null); 
__d("FriendingCometHomeInlineRHCContainer_friendsPanel.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometHomeInlineRHCContainer_friendsPanel",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null},{alias:null,args:[{kind:"Literal",name:"max",value:1}],concreteType:"FriendRequest",kind:"LinkedField",name:"highlighted_requests",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"FriendingCometFriendRequestsListItem_user"},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:"highlighted_requests(max:1)"}],type:"FriendingRequestsSideFeedUnit",abstractKey:null};e.exports=a}),null); 
__d("FriendingCometFriendRequestsListItemMoreMenu.entrypoint",["FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.id;return{queries:{userQueryReference:{parameters:b("FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters"),variables:{id:a}}}}},root:c("JSResourceForInteraction")("FriendingCometFriendRequestsListItemMoreMenu.react").__setRef("FriendingCometFriendRequestsListItemMoreMenu.entrypoint")};g["default"]=a}),98); 
__d("FriendingCometFriendRequestsListItemMenuButton.react",["fbt","ix","CometEntryPointPopoverTrigger.react","CometRelay","FriendingCometFriendRequestsListItemMenuButton_user.graphql","FriendingCometFriendRequestsListItemMoreMenu.entrypoint","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||d("react");function a(a){a=a.user;a=d("CometRelay").useFragment(j!==void 0?j:j=b("FriendingCometFriendRequestsListItemMenuButton_user.graphql"),a);return a.id==null?null:l.jsx(c("CometEntryPointPopoverTrigger.react"),{entryPointParams:{id:a.id},otherProps:{},popoverEntryPoint:c("FriendingCometFriendRequestsListItemMoreMenu.entrypoint"),children:function(a,b){return l.jsx(c("TetraIcon.react"),{"aria-label":h._("__JHASH__vsPR1PMxOLr__JHASH__"),color:"secondary",icon:d("fbicon")._(i("484386"),16),onPress:b,ref:a})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometListItemWithButtons.react",["fbt","CometBadge.react","CometRelativeTimestamp.react","CometRelay","CometRouteMatch","ConstUriUtils","FriendingCometFriendRequestStrings","FriendingCometListItemWithButtons_user.graphql","FriendingCometMutualFriendsSocialContext.react","TetraButtonGroup.react","TetraListCell.react","TetraText.react","react","useCurrentRoute","useHostedRoute"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e,f=a.href,g=a.iconSrc,j=a.menu,l=a.message,m=a.onAddFriend,n=a.onCancelRequest,o=a.onClick,p=a.onConfirm,q=a.onDelete,r=a.onUnfriend,s=a.paddingHorizontal,t=a.reduceEmphasisPrimary;t=t===void 0?!1:t;var u=a.routeTarget,v=a.shouldShowFacepile;v=v===void 0?!0:v;var w=a.target,x=a.testid;x=a.title;var y=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometListItemWithButtons_user.graphql"),a.user);e=(e=a.isRequestSeen)!=null?e:!0;a=(a=a.timeReceived)!=null?a:0;var z=1e3,A=null;if(l!=null){A=k.jsx("div",{className:"x1huwwth x16suv20",children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:(l=l)!=null?l:""})})}else{l=(l=(l=y.social_context)==null?void 0:l.text)!=null?l:"";A=l!==""?k.jsx("div",{className:"xmgb6t1 x1nn3v0j",children:k.jsx(c("FriendingCometMutualFriendsSocialContext.react"),{iconSize:16,shouldShowFacepile:v,socialContextText:l,textType:"body4",user:y})}):null}v=null;p!=null&&q!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__ulrteH22Ka6__JHASH__"),onPress:p,testid:"confirm_button"},secondary:{label:d("FriendingCometFriendRequestStrings").reject(),onPress:q,testid:"ignore_button"},size:"medium",wrap:"forward"}),type:"buttons"}:m!=null&&q!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{"aria-label":h._("__JHASH__Qjmy-WnPwZO__JHASH__",[h._param("user_name",x.toString())]),label:h._("__JHASH__mUKWwrmibKJ__JHASH__"),onPress:m,reduceEmphasis:t,testid:"add_button"},secondary:{"aria-label":h._("__JHASH__F3Yj3mUS6Mw__JHASH__",[h._param("user_name",x.toString())]),label:h._("__JHASH__NBfMiFm79R7__JHASH__"),onPress:q,testid:"remove_suggestion"},size:"medium",wrap:"forward"}),type:"buttons"}:n!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__s4QOxbUulOM__JHASH__"),onPress:n,testid:"cancel_request_button",type:"secondary"},size:"medium",wrap:"forward"}),type:"buttons"}:r!=null&&(v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__HGUUssrArzE__JHASH__"),onPress:r,testid:"unfriend",type:"secondary"},size:"medium",wrap:"forward"}),type:"buttons"});l=d("CometRouteMatch").useHostedRouteMatcher(d("CometRouteMatch").MatchFunctions.urlMatchFunction);p=c("useCurrentRoute")();m=c("useHostedRoute")();q=m==null&&p!=null&&p.tabKey==="friends"&&y.id!=null&&((t=d("ConstUriUtils").getUri(p.url))==null?void 0:t.getQueryParam("profile_id"))===y.id;n=q||(f!=null?l(f):!1);r={alt:x,shape:"circle",size:60,source:{uri:g},type:"profile-photo"};m=null;if(a!==0){p=new Date(a*z);m=e?k.jsx("div",{className:"x6s0dn4 x78zum5 x19f6ikt",children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:k.jsx(c("CometRelativeTimestamp.react"),{date:p,format:"minimized"})})}):k.jsxs("div",{className:"x6s0dn4 x78zum5 x19f6ikt",children:[k.jsx(c("TetraText.react"),{color:"highlight",type:"body4",children:k.jsx(c("CometRelativeTimestamp.react"),{date:p,format:"minimized"})}),k.jsx("div",{className:"xykv574 x1120s5i x1e558r4",children:k.jsx(c("CometBadge.react"),{color:"blue"})})]})}return k.jsx(c("TetraListCell.react"),{addOnBottom:v,addOnPrimary:r,addOnSecondary:j?{addOn:j,type:"body"}:null,body:A,headline:k.jsx(c("TetraText.react"),{type:"headlineEmphasized4",children:x}),headlineAddOn:m,headlineLineLimit:1,level:4,linkProps:f!=null?{routeTarget:u,target:w,url:f}:void 0,onPress:o,paddingHorizontal:s,selected:n,selectedBackground:"wash",testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometFriendRequestsListItem.react",["fbt","CometRelay","FriendingCometErrorHandler.react","FriendingCometFriendRequestsListItemMenuButton.react","FriendingCometFriendRequestsListItem_user.graphql","FriendingCometListItemWithButtons.react","FriendingCometTestIDHelper","react","requireDeferred","useMinifiedProductAttribution","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useCallback,m=e.useRef,n=c("requireDeferred")("FriendingCometFriendRequestConfirmMutation").__setRef("FriendingCometFriendRequestsListItem.react"),o=c("requireDeferred")("FriendingCometFriendRequestDeleteMutation").__setRef("FriendingCometFriendRequestsListItem.react"),p=c("requireDeferred")("RequestClickFalcoEvent").__setRef("FriendingCometFriendRequestsListItem.react"),q=c("requireDeferred")("RequestSeenFalcoEvent").__setRef("FriendingCometFriendRequestsListItem.react");function a(a){var e,f,g,j=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometFriendRequestsListItem_user.graphql"),a.user),r=a.actionLoggingCallback,s=a.hideMenu,t=a.isSeen,u=a.paddingHorizontal,v=a.position,w=a.timeReceived,x=j.friendship_status,y=j.id,z=j.name,A=j.profile_picture;e=(e=a.href)!=null?e:j.url;A=A==null?void 0:A.uri;var B=(f=a.loggingSource)!=null?f:"friends_tab";f=(f=a.routeTarget)!=null?f:"content";var C=d("CometRelay").useRelayEnvironment(),D=m(!1),E=d("FriendingCometErrorHandler.react").useFriendingErrorHandler({addFriendId:(g=y)!=null?g:"0",addFriendSource:"friend_other"}),F=c("useMinifiedProductAttribution")();g=l(function(){y!=null&&(n.onReadyImmediately(function(a){a.commit({environment:C,navigationChain:F,onError:E,senderID:y,source:B})}),r&&r())},[r,C,E,y,B,F]);var G=l(function(){y!=null&&(o.onReadyImmediately(function(a){a.commit(C,y,B,void 0,E)}),r&&r())},[r,C,E,y,B]),H=l(function(){y!=null&&(p.onReadyImmediately(function(a){return a.log(function(){return{request_id:y,request_surface:B}})}),r&&r())},[r,y,B]),I=l(function(){y!=null&&!D.current&&(q.onReadyImmediately(function(a){return a.log(function(){return{request_id:y,request_position:v,request_surface:B}})}),D.current=!0);var b=a.onImpression;b!=null&&b()},[y,B,v,a.onImpression]);I=c("useVisibilityObserver")({onVisible:I});if(y==null||e==null||A==null||z==null||x==null)return null;var J=null,K=null,L=null;switch(x){case"ARE_FRIENDS":L=h._("__JHASH__MBSKqmuWv9I__JHASH__");K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsConfirmedTestID(y);break;case"INCOMING_REQUEST":return k.jsx("div",{"data-testid":void 0,ref:I,children:k.jsx(c("FriendingCometListItemWithButtons.react"),{href:e,iconSrc:A,isRequestSeen:t,onClick:H,onConfirm:g,onDelete:G,paddingHorizontal:u,routeTarget:f,timeReceived:w,title:z,user:j},y)});case"CAN_REQUEST":L=h._("__JHASH__dFVgEtnSoyi__JHASH__");K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsDeletedTestID(y);s!==!0&&(J=k.jsx(c("FriendingCometFriendRequestsListItemMenuButton.react"),{user:j}));break;default:K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsTestID(y);break}return k.jsx("div",{"data-testid":void 0,ref:I,children:k.jsx(c("FriendingCometListItemWithButtons.react"),{href:e,iconSrc:A,isRequestSeen:t,menu:J,message:L,onClick:H,onConfirm:null,onDelete:null,routeTarget:f,title:z,user:j},y)})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometSectionTabViewLeftRail.react",["fbt","CometLeftRailBreadcrumbs.react","CometLeftRailComponent.react","CometLeftRailHeader.react","CometRouteParams","XCometFriendingControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.leftRail;a=a.title;var e=d("CometRouteParams").useRouteParams();e=e.friending_section;var f=c("XCometFriendingControllerRouteBuilder").buildURL({}),g=[{label:h._("__JHASH__er6w-V3UvvZ__JHASH__"),url:f}];return j.jsx(c("CometLeftRailComponent.react"),{header:j.jsx(c("CometLeftRailHeader.react"),{backActionAddOn:{linkProps:{passthroughProps:{ref_tab:e},url:f}},meta:j.jsx(c("CometLeftRailBreadcrumbs.react"),{breadcrumbs:g}),title:a}),primaryNav:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometSectionTabView.react",["CometLeftRailAndMainContentContainer.react","FriendingCometSectionTabViewLeftRail.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children,d=a.leftRail,e=a.mainContent;a=a.title;return i.jsx(c("CometLeftRailAndMainContentContainer.react"),{leftRailContent:i.jsx(c("FriendingCometSectionTabViewLeftRail.react"),{leftRail:d,title:a}),leftRailHeading:a,mainContent:(d=b)!=null?d:e,mainContentHeading:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometHomeInlineRHCContainer.react",["fbt","CometHomeRightRailUnit.react","CometRelay","FDSUnitHeader.react","FriendingCometFriendRequestsListItem.react","FriendingCometHomeInlineRHCContainer_friendsPanel.graphql","XCometFriendingControllerRouteBuilder","XCometFriendingSectionControllerRouteBuilder","qex","react","requireDeferred"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useCallback,m=c("requireDeferred")("FriendingCometRHCFriendRequestsUnitHideMutation").__setRef("FriendingCometHomeInlineRHCContainer.react"),n=c("requireDeferred")("RhcFriendRequestSeenFalcoEvent").__setRef("FriendingCometHomeInlineRHCContainer.react");function a(a){a=a.friendsPanel;a=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometHomeInlineRHCContainer_friendsPanel.graphql"),a);var e=d("CometRelay").useRelayEnvironment(),f=h._("__JHASH__CEnoP_mUKCA__JHASH__"),g=a==null?void 0:a.highlighted_requests,j=g!=null&&g.length!==0?g[0]:null,o=j==null?void 0:j.user,p=l(function(){var a=o==null?void 0:o.id;a!=null&&n.onReadyImmediately(function(b){return b.log(function(){return{sender_id:a}})})},[o]);if((a==null?void 0:a.is_hidden)===!0||o==null||j==null)return null;var q,r;c("qex")._("1294")===!0?(q={action:h._("__JHASH__V4Sl0Y9Vu_O__JHASH__"),onActionPress:function(){m.onReady(function(a){a=a.commit;a(e)})},showActionOnHover:!0},r={showActionOnHover:!0}):q={action:h._("__JHASH__2KGUG5AVElY__JHASH__"),actionLinkProps:{passthroughProps:{ref:"RHC_FRIEND_REQUESTS_SEE_ALL"},url:c("XCometFriendingControllerRouteBuilder").buildURL({})}};var s=c("XCometFriendingSectionControllerRouteBuilder").buildURL({friending_section:"requests",profile_id:(a=(g=j.user)==null?void 0:g.id)!=null?a:""});g=function(a,b){return k.jsx(c("CometHomeRightRailUnit.react"),babelHelpers["extends"]({},r,{header:k.jsx(c("FDSUnitHeader.react"),babelHelpers["extends"]({},q,{actionRef:a,headline:f,headlineColor:"secondary",iconColor:"secondary",level:3,onActionPress:b})),children:k.jsx(c("FriendingCometFriendRequestsListItem.react"),{hideMenu:!0,href:s,isSeen:(a=j==null?void 0:j.is_seen)!=null?a:!0,loggingSource:"rhc_friend_requests",onImpression:p,position:1,routeTarget:"self",timeReceived:(b=j==null?void 0:j.time)!=null?b:0,user:o})}))};return g(void 0,void 0)}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/ 
__d("BaseButtonOrLink_DEPRECATED.react",["CometPressable.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var d=a.attributionsrc,e=a.fbclid,f=a.href,g=a.lynxMode,h=a.onClick,j=a.passthroughProps,k=a.preventLocalNavigation,l=a.rel,m=a.replace,n=a.routeTarget,o=a.target,p=a.to;a=babelHelpers.objectWithoutPropertiesLoose(a,["attributionsrc","fbclid","href","lynxMode","onClick","passthroughProps","preventLocalNavigation","rel","replace","routeTarget","target","to"]);f=(f=f)!=null?f:p==null?void 0:p.url;p=f!=null?{attributionsrc:d,fbclid:e,lynxMode:g,passthroughProps:j,preventLocalNavigation:k,rel:l,replace:m,routeTarget:n,target:o,url:f}:void 0;return i.jsx(c("CometPressable.react"),babelHelpers["extends"]({},a,{display:"inline",linkProps:p,onPress:h,overlayDisabled:!0,ref:b}))}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98); 
__d("CometUnstyledButton_DEPRECATED.react",["BaseButtonOrLink_DEPRECATED.react","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");b={expanded:{display:"x1lliihq",width:"xh8yej3",$$css:!0},root:{backgroundColor:"xjbqb8w",borderTop:"x6umtig",borderEnd:"x1b1mbwd",borderBottom:"xaqea5y",borderStart:"xav7gou",color:"x1heor9g",cursor:"x1ypdohk",display:"x1rg5ohu",fontFamily:"xjb2p0i",fontSize:"x1qlqyl8",lineHeight:"x15bjb6t",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",textAlign:"x16tdsg8",textDecoration:"x1r8a4m5",":active_transform":"xk4oym4",":active_transition":"xsj2dmf",":hover_color":"x144v4sp",":hover_textDecoration":"x1edh9d7",$$css:!0}};e={root:{backgroundColor:"xjbqb8w",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",color:"x1heor9g",cursor:"x1ypdohk",display:"x1rg5ohu",fontFamily:"xjb2p0i",fontSize:"x1qlqyl8",lineHeight:"x15bjb6t",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",textAlign:"x16tdsg8",textDecoration:"x1r8a4m5",":active_transform":"xk4oym4",":active_transition":"xsj2dmf",":hover_color":"x144v4sp",":hover_textDecoration":"x1edh9d7",$$css:!0}};var j=c("gkx")("22874")?babelHelpers["extends"]({},b,e):b;function a(a,b){var d=a.expanded;d=d===void 0?!1:d;var e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["expanded","xstyle"]);return i.jsx(c("BaseButtonOrLink_DEPRECATED.react"),babelHelpers["extends"]({},a,{ref:b,xstyle:[j.root,d&&j.expanded,e]}))}a.displayName=a.name+" [from "+f.id+"]";d=i.forwardRef(a);g["default"]=d}),98); 
__d("CometLegacyClickableListItemBase.react",["CometLegacyListItemBase.react","CometUnstyledButton_DEPRECATED.react","gkx","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useId;b={auxiliary:{alignItems:"x6s0dn4",bottom:"x1ey2m1c",display:"x78zum5",end:"x92rtbv",left:null,right:null,position:"x10l6tqk",top:"x13vifvy",$$css:!0},button:{":active_transform":"x1pdlv7q",$$css:!0},disabled:{backgroundColor:"x1f2gare",bottom:"x1ey2m1c",end:"xds687c",left:null,right:null,position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},indented:{paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xbbxn1n",$$css:!0},listItem:{borderTop:"x6umtig",borderEnd:"x1b1mbwd",borderBottom:"xaqea5y",borderStart:"xav7gou",borderTopStartRadius:"xhk9q7s",borderTopEndRadius:"x1otrzb0",borderBottomEndRadius:"x1i1ezom",borderBottomStartRadius:"x1o6z2jb",cursor:"x1ypdohk",fontFamily:"xjb2p0i",marginTop:"xdj266r",marginEnd:"x1emribx",marginBottom:"xat24cr",marginStart:"x1i64zmx",textAlign:"x1yc453h",$$css:!0},root:{position:"x1n2onr6",$$css:!0},selected:{backgroundColor:"x1iutvsz",$$css:!0},unindented:{paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",$$css:!0},unselected:{":active_backgroundColor":"x1164lod",":hover_backgroundColor":"x8du52y",$$css:!0}};e={listItem:{borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",borderTopStartRadius:"xhk9q7s",borderTopEndRadius:"x1otrzb0",borderBottomEndRadius:"x1i1ezom",borderBottomStartRadius:"x1o6z2jb",cursor:"x1ypdohk",fontFamily:"xjb2p0i",marginTop:"xdj266r",marginEnd:"x1emribx",marginBottom:"xat24cr",marginStart:"x1i64zmx",textAlign:"x1yc453h",$$css:!0}};var l=c("gkx")("22874")?babelHelpers["extends"]({},b,e):b;function a(a,b){var d=a.addon;d=d===void 0?null:d;var e=a.children,f=a.indented;f=f===void 0?!1:f;var g=a.right;g=g===void 0?null:g;var i=a.selected;i=i===void 0?!1:i;a=babelHelpers.objectWithoutPropertiesLoose(a,["addon","children","indented","right","selected"]);var m=k();b=b;return j.jsxs("div",{className:(h||(h=c("stylex")))(l.root),children:[j.jsx(c("CometUnstyledButton_DEPRECATED.react"),babelHelpers["extends"]({},a,{"aria-labelledby":m,expanded:!0,ref:b,xstyle:l.button,children:j.jsx(c("CometLegacyListItemBase.react"),{addon:d,className:h(l.listItem,f&&l.indented,!f&&l.unindented,i&&l.selected,!i&&l.unselected),children:j.jsx("div",{id:m,suppressHydrationWarning:!0,children:e})})})),g!=null&&j.jsx("div",{className:(h||(h=c("stylex")))(l.auxiliary),children:g}),a.disabled===!0?j.jsx("div",{className:(h||(h=c("stylex")))(l.disabled,l.listItem)}):null]})}a.displayName=a.name+" [from "+f.id+"]";d=j.forwardRef(a);g["default"]=d}),98); 
__d("ParallizerHelper",["ConstUriUtils","FBLogger","SecureMessageListener"],(function(a,b,c,d,e,f,g){"use strict";var h="ParallelReporting",i=["facebook.com"];function j(a){if(a===null||typeof a!=="object"){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: invalid data");return null}if(a.requestMsgType==null||a.requestMsgType!==h){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: not for parallel reporting");return null}a=a.requestUrl;if(typeof a!=="string"||!d("ConstUriUtils").isValidUri(a)){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: request URL not a valid URL");return null}return a}function a(){var a=new(c("SecureMessageListener"))(window);function b(a){a=a.data;a=j(a);if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to send request: request url invalid");return}if(window==null||window.navigator==null){c("FBLogger")("parallel-reporting").warn("Failed to send request: navigator is null");return}window.fetch(a,{mode:"no-cors"})["catch"](function(a){c("FBLogger")("parallel-reporting").warn("Failed to send request: fetch api failed",a)});c("FBLogger")("parallel-reporting").info("Successfully sent request")}a.setEventHandler(b).setSupportedOrigins(i);a.beginListening()}g.requestMsgType=h;g.init=a}),98); 
__d("XFBSbxParallelReportingPageControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/parallel_analytics/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); 
__d("ParallelReportingIframeContainer.react",["CookieConsentIFrameConfig","FBLogger","ParallizerHelper","SecurePostMessage","XFBSbxParallelReportingPageControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function h(){return"www.fbsbx.com"}function i(){var a,b=h();return(a=c("XFBSbxParallelReportingPageControllerRouteBuilder").buildUri({__cci:(a=c("CookieConsentIFrameConfig").consent_param)!=null?a:""}).setProtocol("https"))==null?void 0:(a=a.setDomain(b))==null?void 0:a.toString()}function a(){try{var a;a=(a=window.frames["parallel-reporting-iframe"])!=null?a:null;if(a!=null)return;a=i();if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to create Iframe: cannot get FBSbx URI");return}var b=document.createElement("iframe");b.style.display="none";b.className="ParallelReportingIframe";b.id="parallel-reporting-iframe";b.src=a;(a=document.body)==null?void 0:a.appendChild(b)}catch(a){c("FBLogger")("parallel-reporting").warn("Failed to create iframe: %s",a.message)}}function b(a){var b;if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get analytics link");return}b=(b=window.frames["parallel-reporting-iframe"])!=null?b:null;if(b==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get iframe");return}var e=b.src;if(e==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get FBSbx URI");return}a=a;c("SecurePostMessage").sendMessageToSpecificOrigin(b.contentWindow,{requestMsgType:d("ParallizerHelper").requestMsgType,requestUrl:a},e)}g.createParallelReportingIframeContainerIfNotExist=a;g.parallelReportingUponClick=b}),98); 
__d("CometHomeRightSideEgoMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7015323755178514"}),null); 
__d("XAdsEducationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/ads/about/",Object.freeze({page_number:0}),void 0);b=a;g["default"]=b}),98);/*FB_PKG_DELIM*/ 
__d("FriendingCometMutualFriendsSocialContext_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:16,kind:"LocalArgument",name:"iconSize"},{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"FriendingCometMutualFriendsSocialContext_user",selections:[a,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"social_context_top_mutual_friends",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:[{kind:"Variable",name:"height",variableName:"iconSize"},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Variable",name:"width",variableName:"iconSize"}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null}],storageKey:null}],type:"User",abstractKey:null}}();e.exports=a}),null); 
__d("FriendingCometMutualFriendsText.react",["CometLazyTooltip.react","CometPressable.react","CometProfileListDialog.entrypoint","JSResourceForInteraction","TetraText.react","react","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useRef,k=c("JSResourceForInteraction")("FriendingCometMutualFriendsSocialContextTooltipContent.react").__setRef("FriendingCometMutualFriendsText.react"),l={socialContextText:{overflowX:"x6ikm8r",overflowY:"x10wlt62",textOverflow:"xlyipyv",$$css:!0}};function a(a){var b=a.id;a.shouldAlignToFacepile;a=babelHelpers.objectWithoutPropertiesLoose(a,["id","shouldAlignToFacepile"]);var d=a.textType,e=a.truncateContextText,f=j(null),g=c("useCometEntryPointDialog")(c("CometProfileListDialog.entrypoint"),{listType:"MUTUAL_FRIENDS",sourceID:b},"button"),h=g[0],m=g[1],n=g[2];g=g[3];return i.jsx(c("CometLazyTooltip.react"),{align:"start",delayContentMs:0,delayTooltipMs:100,tooltipProps:{userID:b},tooltipResource:k,children:i.jsx(c("CometPressable.react"),{"aria-labelledby":a.socialContextText,display:"inline",onHoverIn:m,onHoverOut:n,onPress:function(){return h({actionsByPriorityMapping:{User:[{hookConfig:{messengerWebEntryPoint:"mutualFriendsDialog"},type:"message"}]}})},onPressIn:g,overlayDisabled:!0,ref:f,xstyle:l.socialContextText,children:i.jsx(c("TetraText.react"),{color:"secondary",numberOfLines:e===!0?1:null,type:d,children:a.socialContextText})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); 
__d("FriendingCometMutualFriendsSocialContext.react",["CometRelay","FriendingCometMutualFriendsSocialContext_user.graphql","FriendingCometMutualFriendsText.react","TetraOverlappingFacepileUnstyled.react","actorHovercardContainer","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||d("react"),l={facepile:{paddingEnd:"x150jy0e",paddingLeft:null,paddingRight:null,$$css:!0},root:{alignItems:"x6s0dn4",display:"x78zum5",paddingTop:"x4p5aij",width:"xh8yej3",$$css:!0}},m={16:{minHeight:"x1hshjfz",$$css:!0},24:{minHeight:"xjwf9q1",$$css:!0},32:{minHeight:"x21xpn4",$$css:!0},40:{minHeight:"x1ba4aug",$$css:!0},48:{minHeight:"x1wxaq2x",$$css:!0}};function a(a){var e=d("CometRelay").useFragment(h!==void 0?h:h=b("FriendingCometMutualFriendsSocialContext_user.graphql"),a.user),f=a.iconSize,g=a.socialContextText,j=e.id;e=e.social_context_top_mutual_friends;var n=a.shouldShowFacepile;n=n===void 0?!0:n;if(j==null)return null;var o=[];n&&(o=e.map(function(a){var b=a.id,d=a.name,e=a.url;a=(a=a.profile_picture)==null?void 0:a.uri;return b!=null&&d!=null&&e!=null&&a!=null?{alt:d,containerComponent:c("actorHovercardContainer")(b),linkProps:{url:e},source:{uri:a}}:null}).filter(Boolean));n=o.length>0;return g!==""?k.jsx("div",{className:(i||(i=c("stylex")))(l.root,m[f]),children:n?k.jsx("div",{className:"x150jy0e",children:k.jsx(c("TetraOverlappingFacepileUnstyled.react"),{isTextInline:!0,items:o,size:f,text:k.jsx(c("FriendingCometMutualFriendsText.react"),{id:j,shouldAlignToFacepile:n,socialContextText:g,textType:a.textType,truncateContextText:a.truncateContextText})})}):k.jsx(c("FriendingCometMutualFriendsText.react"),{id:j,shouldAlignToFacepile:n,socialContextText:g,textType:a.textType,truncateContextText:a.truncateContextText})}):null}a.displayName=a.name+" [from "+f.id+"]";e=k.memo(a);g["default"]=e}),98); 
__d("FriendingCometTestIDHelper",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({getFriendsTabFriendRequestsConfirmedTestID:function(a){return"comet_friends_tab_requests-"+a+"-confirmed"},getFriendsTabFriendRequestsDeletedTestID:function(a){return"comet_friends_tab_requests-"+a+"-deleted"},getFriendsTabFriendRequestsTestID:function(a){return"comet_friends_tab_requests-"+a},getFriendsTabPYMKTestID:function(a){return"comet_friends_tab_pymk-"+a},getGriffinTabFriendRequestsTestID:function(a){return"comet_griffin_tab_requests-"+a}});f["default"]=a}),66); 
__d("FriendingCometFriendRequestStrings",["fbt","qex"],(function(a,b,c,d,e,f,g,h){"use strict";function a(){return c("qex")._("1134")?h._("__JHASH__dFVgEtnSoyi__JHASH__"):h._("__JHASH__f_ykVlwvlha__JHASH__")}function b(){return c("qex")._("1134")?h._("__JHASH__uiVutfBPFAE__JHASH__"):h._("__JHASH___GUB3O7_qji__JHASH__")}function d(){return c("qex")._("1134")?h._("__JHASH___CcxhzW4RYN__JHASH__"):h._("__JHASH__bqYwCmtC0yw__JHASH__")}function e(){return h._("__JHASH__MBSKqmuWv9I__JHASH__")}g.requestRejected=a;g.reject=b;g.rejectRequest=d;g.acceptRequest=e}),98); 
__d("XCometFriendingSectionControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/friends/{friending_section}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98); ?>

Did this file decode correctly?

Original Code

;/*FB_PKG_DELIM*/

__d("FriendingCometFriendRequestSendMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24773035982311104"}),null);
__d("FriendingCometFriendRequestSendMutation.graphql",["FriendingCometFriendRequestSendMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Variable",name:"data",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},f=[{kind:"Literal",name:"action_type",value:"FRIEND"},{kind:"Literal",name:"render_location",value:"WWW_COMET_PROFILE"}],g={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestSendMutation",selections:[{alias:null,args:c,concreteType:"FriendRequestSendResponsePayload",kind:"LinkedField",name:"friend_request_send",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"friend_requestees",plural:!0,selections:[d,e,{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"ProfileActionMutationUtils_action"}],storageKey:'profile_action(action_type:"FRIEND",render_location:"WWW_COMET_PROFILE")'},{args:null,kind:"FragmentSpread",name:"ProfileCometTimelineTabTopBanner_user"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FriendingCometFriendRequestSendMutation",selections:[{alias:null,args:c,concreteType:"FriendRequestSendResponsePayload",kind:"LinkedField",name:"friend_request_send",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"friend_requestees",plural:!0,selections:[d,e,{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[g,{kind:"TypeDiscriminator",abstractKey:"__isProfileAction"},{alias:null,args:[{kind:"Literal",name:"icon_color",value:"fds-black"},{kind:"Literal",name:"icon_size",value:"16"},{kind:"Literal",name:"icon_variant",value:"filled"},{kind:"Variable",name:"scale",variableName:"scale"}],concreteType:"Image",kind:"LinkedField",name:"icon_image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"scale",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null},d,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"title",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{kind:"ClientExtension",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_optimistic_update",storageKey:null}]}],storageKey:'profile_action(action_type:"FRIEND",render_location:"WWW_COMET_PROFILE")'},{alias:null,args:[{kind:"Literal",name:"render_location",value:"TIMELINE_TAB_TOP"},{kind:"Literal",name:"supported",value:"10EN4t"}],concreteType:null,kind:"LinkedField",name:"comet_profile_banner",plural:!1,selections:[g,{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfilePlusCometAdminNotice_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfilePlusAdminNoticeRenderer",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometTransparencyInformBanner_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"TransparencyInformContent",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometAppealBanner_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfileAppealBanner",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"ProfileCometBannerGeneric_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfileBanner",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"ProfileCometTimelineTabTopBanner_user",fragmentName:"FriendingCometProfilePYMKHScroll_cometProfileBanner",fragmentPropName:"cometProfileBanner",kind:"ModuleImport"}],type:"ProfilePYMKBanner",abstractKey:null},{kind:"InlineFragment",selections:[d],type:"Node",abstractKey:"__isNode"}],storageKey:'comet_profile_banner(render_location:"TIMELINE_TAB_TOP",supported:"10EN4t")'}],storageKey:null}],storageKey:null}]},params:{id:b("FriendingCometFriendRequestSendMutation_facebookRelayOperation"),metadata:{},name:"FriendingCometFriendRequestSendMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("ProfileCometActionFriendRequestHandler_handler$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null},f=[b];return{kind:"SplitOperation",metadata:{},name:"ProfileCometActionFriendRequestHandler_handler$normalization",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[a,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"restrictable_profile_owner",plural:!1,selections:[a,{kind:"InlineFragment",selections:[b,c,{alias:null,args:null,kind:"ScalarField",name:"gender",storageKey:null},d,e],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[b,c,d,e],type:"RestrictedUser",abstractKey:null},{kind:"InlineFragment",selections:f,type:"Node",abstractKey:"__isNode"}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"profile_owner",plural:!1,selections:f,storageKey:null}],type:"ProfileActionFriendRequest",abstractKey:null},b],storageKey:null}]}}();e.exports=a}),null);
__d("ProfileCometActionFriendRequestHandler_handler.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ProfileCometActionFriendRequestHandler_handler",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"profile_action",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"restrictable_profile_owner",plural:!1,selections:[{kind:"InlineFragment",selections:a,type:"User",abstractKey:null},{kind:"InlineFragment",selections:a,type:"RestrictedUser",abstractKey:null}],storageKey:null}],type:"ProfileActionFriendRequest",abstractKey:null},{args:null,kind:"FragmentSpread",name:"ProfileCometActiveFriendMenu_action"},{args:null,kind:"FragmentSpread",name:"ProfileCometIncomingFriendRequestMenu_action"}],storageKey:null}],type:"ProfileActionFriendRequestHandler",abstractKey:null}}();e.exports=a}),null);
__d("CometProfileListDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6850135145082256"}),null);
__d("CometProfileListDialogQuery$Parameters",["CometProfileListDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("CometProfileListDialogQuery_facebookRelayOperation"),metadata:{},name:"CometProfileListDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("RecommendationsUnitContainerQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24808096065502459"}),null);
__d("RecommendationsUnitContainerQuery$Parameters",["RecommendationsUnitContainerQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("RecommendationsUnitContainerQuery_facebookRelayOperation"),metadata:{},name:"RecommendationsUnitContainerQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("RecommendationsUnitContext_recommendationUnitFragmentRef.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"RecommendationsUnitContext_recommendationUnitFragmentRef",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"if_viewer_can_see_pymk_unit_on_initial_load",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null}],type:"XFBProfileEntityConvergenceHeaderRenderer",abstractKey:null};e.exports=a}),null);
__d("FriendRequestError",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({SELF_OVER_FRIEND_LIMIT:1431006,SELF_OVER_FRIEND_LIMIT_SUBSCRIBED:1431016,SIGMA_WARN:1407026});f["default"]=a}),66);
__d("FriendingCometErrorHandler.react",["fbt","CometRelayErrorHandling","FriendRequestError","JSResourceForInteraction","SilenceableErrorMessageUtils","cometPushToast","react","useCometLazyDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=(i||d("react")).useCallback,k=c("JSResourceForInteraction")("FriendingCometErrorDialog.react").__setRef("FriendingCometErrorHandler.react");function a(a){var b=c("useCometLazyDialog")(k),e=b[0],f=j(function(b){var g=d("SilenceableErrorMessageUtils").getMetadataFromError(b);if(d("SilenceableErrorMessageUtils").shouldHideErrorMessage(g))return;b.name==="NetworkTransportError"?d("cometPushToast").cometPushErrorToast({message:h._("__JHASH__J83gzDrVB2V__JHASH__")},5e3):(b.code===c("FriendRequestError").SELF_OVER_FRIEND_LIMIT||b.code===c("FriendRequestError").SELF_OVER_FRIEND_LIMIT_SUBSCRIBED||b.code===c("FriendRequestError").SIGMA_WARN)&&(d("CometRelayErrorHandling").markErrorAsHandled(b),e({addFriendErrorHandler:f,addFriendId:a.addFriendId,addFriendSource:a.addFriendSource,error:b}))},[a.addFriendId,a.addFriendSource,e]);return f}g.useFriendingErrorHandler=a}),98);
__d("ProfileActionFriendingMutationUtils",["fbt","ProfileActionMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a,b){var c="";switch(a){case"ARE_FRIENDS":c=h._("__JHASH__kIlAncPZYc2__JHASH__").toString();break;case"CAN_REQUEST":c=h._("__JHASH__g_bR-tXaMso__JHASH__").toString();break;case"INCOMING_REQUEST":c=h._("__JHASH__2MCmiN_h7kP__JHASH__").toString();break;case"OUTGOING_REQUEST":c=h._("__JHASH__UNPMiVpVS7t__JHASH__").toString();break}return{__typename:"ProfileActionFriendRequest",icon_image:{height:16*d("WebPixelRatio").get(),scale:d("WebPixelRatio").get(),uri:null,width:16*d("WebPixelRatio").get()},id:d("ProfileActionMutationUtils").getProfileActionID(b,1),is_optimistic_update:!0,title:{text:c}}}g.getOptimisticActionForFriendshipStatus=a}),98);
__d("FriendingCometFriendRequestSendMutation",["CometRelay","FriendingCometFriendRequestSendMutation.graphql","ProfileActionFriendingMutationUtils","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("FriendingCometFriendRequestSendMutation.graphql");function a(a){var b=a.acknowledgeWarn,c=a.environment,e=a.extraAttributionData,f=a.navigationChain,g=a.onError,h=a.profileRef,j=a.pymkLocation,k=a.receiverID;a=a.source;return d("CometRelay").commitMutation(c,{mutation:i,onError:g,optimisticResponse:{friend_request_send:{friend_requestees:[{comet_profile_banner:null,friendship_status:"OUTGOING_REQUEST",id:k,profile_action:d("ProfileActionFriendingMutationUtils").getOptimisticActionForFriendshipStatus("OUTGOING_REQUEST",k)}]}},variables:{input:{attribution_id_v2:f,extra_data:e,friend_requestee_ids:[k],people_you_may_know_location:j,refs:[h],source:a,warn_ack_for_ids:b===!0?[k]:[]},scale:d("WebPixelRatio").get()}})}g.commit=a}),98);
__d("RecommendationsUnit.entrypoint",["JSResourceForInteraction","RecommendationsUnitContainerQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.parentID;a=a.renderLocation;return{queries:{queryReference:{parameters:c("RecommendationsUnitContainerQuery$Parameters"),variables:{parentID:b,renderLocation:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("RecommendationsUnitContainer.react").__setRef("RecommendationsUnit.entrypoint")};b=a;g["default"]=b}),98);
__d("RecommendationsUnitCardGlimmer.react",["CometAspectRatioContainer.react","CometCard.react","CometColumn.react","CometColumnItem.react","CometGlimmer.react","react","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={buttonGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"xc9qbxq",$$css:!0},contentColumn:{maxWidth:"x193iq5w",$$css:!0},contentRoot:{display:"x78zum5",height:"x5yr21d",$$css:!0},imageGlimmer:{height:"x5yr21d",width:"xh8yej3",$$css:!0},root:{display:"x78zum5",flexGrow:"x1iyjqo2",height:"x5yr21d",$$css:!0},subtitleGlimmer:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",height:"xlup9mm",width:"x65xoit",$$css:!0},titleGlimmer:{borderTopStartRadius:"x1a2cdl4",borderTopEndRadius:"xnhgr82",borderBottomEndRadius:"x1qt0ttw",borderBottomStartRadius:"xgk8upj",height:"x1qx5ct2",width:"xktia5q",$$css:!0}},k=function(){};function a(a){var b=a.index;a=a.onVisible;a=a===void 0?k:a;a=c("useVisibilityObserver")({onVisible:a,options:{rootMargin:200}});return i.jsx("div",{className:"x78zum5 x1iyjqo2 x5yr21d",children:i.jsx(c("CometCard.react"),{background:"white",border:"solid",dropShadow:2,expanding:!0,ref:a,children:i.jsx("div",{className:"x78zum5 x5yr21d",children:i.jsxs(c("CometColumn.react"),{expanding:!0,spacing:16,xstyle:j.contentColumn,children:[i.jsx(c("CometColumnItem.react"),{children:i.jsx(c("CometAspectRatioContainer.react"),{aspectRatio:1.5,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.imageGlimmer})})}),i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.titleGlimmer})}),i.jsx(c("CometColumnItem.react"),{expanding:!0,paddingHorizontal:16,children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.subtitleGlimmer})}),i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,paddingVertical:16,verticalAlign:"bottom",children:i.jsx(c("CometGlimmer.react"),{index:b,xstyle:j.buttonGlimmer})})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("RecommendationsUnitGlimmer.react",["CometGlimmer.react","CometHScroll.react","CometRow.react","CometRowItem.react","RecommendationsUnitCardGlimmer.react","gkx","range","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={linkGlimmer:{borderTopStartRadius:"xyi19xy",borderTopEndRadius:"x1ccrb07",borderBottomEndRadius:"xtf3nb5",borderBottomStartRadius:"x1pc53ja",height:"x1qx5ct2",marginBottom:"x12nagc",width:"x1exxlbk",$$css:!0},root:{borderTop:"xzg4506",borderEnd:"xycxndf",borderBottom:"xua58t2",borderStart:"x4xrfw5",borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",boxShadow:"xev17xk",marginTop:"x1xmf6yo",paddingTop:"xz9dl7a",paddingEnd:"x1pi30zi",paddingBottom:"xjkvuk6",paddingStart:"x1swvt13",$$css:!0},titleGlimmer:{borderTopStartRadius:"xyi19xy",borderTopEndRadius:"x1ccrb07",borderBottomEndRadius:"xtf3nb5",borderBottomStartRadius:"x1pc53ja",height:"x1qx5ct2",width:"x1oysuqx",$$css:!0}},k=c("gkx")("23053")?196:150;function a(){var a=c("range")(0,5).map(function(a){return i.jsx(d("CometHScroll.react").Child,{children:i.jsx(c("RecommendationsUnitCardGlimmer.react"),{index:a})},a)});return i.jsxs("div",{className:"xzg4506 xycxndf xua58t2 x4xrfw5 x1lq5wgf xgqcy7u x30kzoy x9jhf4c xev17xk x1xmf6yo xz9dl7a x1pi30zi xjkvuk6 x1swvt13",children:[i.jsxs(c("CometRow.react"),{paddingHorizontal:0,paddingTop:0,spacingVertical:0,children:[i.jsx(c("CometRowItem.react"),{children:i.jsx(c("CometGlimmer.react"),{index:0,xstyle:j.titleGlimmer})}),i.jsx(c("CometRowItem.react"),{children:i.jsx(c("CometGlimmer.react"),{index:0,xstyle:j.linkGlimmer})})]}),i.jsx(d("CometHScroll.react").Container,{cardWidth:{minWidth:k,type:"responsive"},gap:8,children:a})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("RecommendationsUnitContext",["CometPlaceholder.react","CometRelay","RecommendationsUnit.entrypoint","RecommendationsUnitContext_recommendationUnitFragmentRef.graphql","RecommendationsUnitGlimmer.react","RelayHooks","react","useCometRelayEntrypointContextualEnvironmentProvider"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useMemo,l=e.useState;e=function(){};var m=function(){return!1},n=j.createContext({chainExpandRecommendationsUnit:m,isRecommendationsUnitExpanded:!1,parentID:null,recommendationsUnitEntryPointContainer:null,setIsRecommendationsUnitExpanded:e,shouldExpandOnInitialLoad:!1,toggleIsRecommendationsUnitExpanded:e});function a(a){var e=a.children,f=a.parentID,g=a.recommendationUnitFragmentRef,i=a.renderLocation;a=d("RelayHooks").useFragment(h!==void 0?h:h=b("RecommendationsUnitContext_recommendationUnitFragmentRef.graphql"),g);g=c("useCometRelayEntrypointContextualEnvironmentProvider")();g=d("CometRelay").useEntryPointLoader(g,c("RecommendationsUnit.entrypoint"));var m=g[0],o=g[1];a=(a==null?void 0:(g=a.user)==null?void 0:g.if_viewer_can_see_pymk_unit_on_initial_load)!=null;g=l(a);var p=g[0],q=g[1];g=l(m!=null||a);var r=g[0],s=g[1],t=k(function(){var a;return m!=null?j.jsx(c("CometPlaceholder.react"),{fallback:j.jsx(c("RecommendationsUnitGlimmer.react"),{}),children:j.jsx(d("CometRelay").EntryPointContainer,{entryPointReference:m,props:{isExpanded:(a=r)!=null?a:!1}})}):null},[r,m]);a=l(!1);var u=a[0],v=a[1];g=k(function(){return{chainExpandRecommendationsUnit:function(){if(!u&&!r){o({parentID:f,renderLocation:i});v(!0);s(!0);return!0}return!1},isRecommendationsUnitExpanded:r,parentID:f,recommendationsUnitEntryPointContainer:t,setIsRecommendationsUnitExpanded:function(a){a?(o({parentID:f,renderLocation:i}),v(!0),s(!0)):s(!1)},shouldExpandOnInitialLoad:p,toggleIsRecommendationsUnitExpanded:function(){o({parentID:f,renderLocation:i}),r||v(!0),p&&q(!1),s(function(a){return!a})}}},[r,t,u,o,f,i,p]);return j.jsx(n.Provider,{value:g,children:e})}a.displayName=a.name+" [from "+f.id+"]";g.noOpFunc=e;g.noOpBoolFunc=m;g.RecommendationsUnitContext=n;g.RecommendationsUnitContextProvider=a}),98);
__d("useRecommendationsUnitChaining",["RecommendationsUnitContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(){var a=i(d("RecommendationsUnitContext").RecommendationsUnitContext),b=a.chainExpandRecommendationsUnit,c=a.parentID;return{chainExpandRecommendationsUnit:function(a){a=a.matchParentID;return a==null||a===c?b():!1}}}g["default"]=a}),98);
__d("ProfileCometActionFriendRequestHandler.react",["Actor","CometHovercardGroupContext","CometLazyPopoverTrigger.react","CometRelay","FriendingCometErrorHandler.react","FriendingCometFriendRequestSendMutation","JSResourceForInteraction","ProfileCometActionFriendRequestHandler_handler.graphql","ProfileCometContextualProfileContext","promiseDone","react","recoverableViolation","useMinifiedProductAttribution","useProfileCometExplicitConnectionsEventLogger","useProfileCometExplicitConnectionsImpressionLogger","useRecommendationsUnitChaining"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useContext,m=c("JSResourceForInteraction")("ProfileCometActiveFriendMenu.react").__setRef("ProfileCometActionFriendRequestHandler.react"),n=c("JSResourceForInteraction")("ProfileCometIncomingFriendRequestMenu.react").__setRef("ProfileCometActionFriendRequestHandler.react"),o=c("JSResourceForInteraction")("FriendingCometFriendRequestCancelMutation").__setRef("ProfileCometActionFriendRequestHandler.react");function a(a){var e,f,g=a.children,i=a.extraAttributionData,p=a.handler,q=a.popoverPosition;a=a.source;var r=d("CometRelay").useRelayEnvironment();p=d("CometRelay").useFragment(h!==void 0?h:h=b("ProfileCometActionFriendRequestHandler_handler.graphql"),p);p=p.profile_action;var s=(p==null?void 0:(e=p.restrictable_profile_owner)==null?void 0:e.id)||"0";s==="0"&&c("recoverableViolation")("Missing profile ID","profile_comet");e=c("useRecommendationsUnitChaining")();var t=e.chainExpandRecommendationsUnit,u;switch(a){case"WWW_COMET_HOVERCARD":u="hovercard";break;case"WWW_COMET_PROFILE_FRIENDS_TAB":u="profile_friends";break;default:u="profile_button";break}var v=d("FriendingCometErrorHandler.react").useFriendingErrorHandler({addFriendId:s,addFriendSource:"profile_button"}),w=c("useMinifiedProductAttribution")();e=l(c("ProfileCometContextualProfileContext"));e=e.groupID;var x=l(c("CometHovercardGroupContext"));x=x.groupID;var y=(e=e||x)!=null?e:"";x=d("Actor").useActor();e=x[0];x=c("useProfileCometExplicitConnectionsImpressionLogger")(e,y,s,"EC_FRIEND_REQUEST_BUTTON_VIEWED","CONTEXTUAL_VIEW");var z=c("useProfileCometExplicitConnectionsEventLogger")(e,y,s);e=k(function(){y!==""&&z("EC_FRIEND_REQUEST_BUTTON_CLICKED","CONTEXTUAL_VIEW"),t({matchParentID:s}),d("FriendingCometFriendRequestSendMutation").commit({environment:r,extraAttributionData:i,navigationChain:w,onError:v,receiverID:s,source:u})},[t,r,i,v,u,y,z,w,s]);var A=k(function(){c("promiseDone")(o.load().then(function(a){a=a.commit;a({environment:r,navigationChain:w,onError:v,receiverID:s,source:"profile"})}))},[r,v,w,s]);f=p==null?void 0:(f=p.restrictable_profile_owner)==null?void 0:f.friendship_status;if(f==null){c("recoverableViolation")("Failed to fetch friendship status for profile "+s,"profile_comet");return null}var B=null;switch(f){case"ARE_FRIENDS":B=m;break;case"CAN_REQUEST":return g({onPress:e,ref:y!==""?x:function(){}});case"INCOMING_REQUEST":B=n;break;case"OUTGOING_REQUEST":return g({onPress:A});case"CANNOT_REQUEST":return null;default:c("recoverableViolation")("Unknown friendship status "+f+" for profile "+s,"profile_comet");return null}return!B||!p?g({}):j.jsx(c("CometLazyPopoverTrigger.react"),{popoverProps:{action:p,source:a},popoverResource:B,position:q,preloadTrigger:"button",children:function(a,b,c,d,e,f){return g({onHoverIn:d,onHoverOut:e,onPress:b,onPressIn:f,ref:a})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometProfileListDialog.entrypoint",["CometProfileListDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var c=a.listType;a=a.sourceID;return{queries:{cometMutualFriendsQueryReference:{parameters:b("CometProfileListDialogQuery$Parameters"),variables:{listType:c,scale:d("WebPixelRatio").get(),sourceID:a}}}}},root:c("JSResourceForInteraction")("CometProfileListDialog.react").__setRef("CometProfileListDialog.entrypoint")};g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("FriendingCometFriendRequestsListItemMenuButton_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestsListItemMenuButton_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null);
__d("FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5025584660835139"}),null);
__d("FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters",["FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("FriendingCometFriendRequestsListItemMoreMenuQuery_facebookRelayOperation"),metadata:{},name:"FriendingCometFriendRequestsListItemMoreMenuQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("FriendingCometFriendRequestsListItem_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"FriendingCometFriendRequestsListItem_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:60},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:60}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"FriendingCometListItemWithButtons_user"},{args:null,kind:"FragmentSpread",name:"FriendingCometFriendRequestsListItemMenuButton_user"}],type:"User",abstractKey:null};e.exports=a}),null);
__d("FriendingCometListItemWithButtons_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometListItemWithButtons_user",selections:[{kind:"InlineFragment",selections:[a,{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"social_context",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{args:[{kind:"Literal",name:"iconSize",value:20}],kind:"FragmentSpread",name:"FriendingCometMutualFriendsSocialContext_user"}],type:"User",abstractKey:null},{kind:"InlineFragment",selections:[a],type:"RestrictedUser",abstractKey:null}],type:"FriendNode",abstractKey:"__isFriendNode"}}();e.exports=a}),null);
__d("FriendingCometHomeInlineRHCContainer_friendsPanel$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={kind:"Variable",name:"scale",variableName:"scale"},d=[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}];return{kind:"SplitOperation",metadata:{},name:"FriendingCometHomeInlineRHCContainer_friendsPanel$normalization",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null},{alias:null,args:[{kind:"Literal",name:"max",value:1}],concreteType:"FriendRequest",kind:"LinkedField",name:"highlighted_requests",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"friendship_status",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:60},c,{kind:"Literal",name:"width",value:60}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:d,storageKey:null},{kind:"InlineFragment",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TextWithEntities",kind:"LinkedField",name:"social_context",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"social_context_top_mutual_friends",plural:!0,selections:[a,b,{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:[{kind:"Literal",name:"height",value:20},c,{kind:"Literal",name:"width",value:20}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:d,storageKey:null}],storageKey:null}],type:"User",abstractKey:null}],type:"FriendNode",abstractKey:"__isFriendNode"}],storageKey:null},a],storageKey:"highlighted_requests(max:1)"}]}}();e.exports=a}),null);
__d("FriendingCometHomeInlineRHCContainer_friendsPanel.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FriendingCometHomeInlineRHCContainer_friendsPanel",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_hidden",storageKey:null},{alias:null,args:[{kind:"Literal",name:"max",value:1}],concreteType:"FriendRequest",kind:"LinkedField",name:"highlighted_requests",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_seen",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"time",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"FriendingCometFriendRequestsListItem_user"},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:"highlighted_requests(max:1)"}],type:"FriendingRequestsSideFeedUnit",abstractKey:null};e.exports=a}),null);
__d("FriendingCometFriendRequestsListItemMoreMenu.entrypoint",["FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.id;return{queries:{userQueryReference:{parameters:b("FriendingCometFriendRequestsListItemMoreMenuQuery$Parameters"),variables:{id:a}}}}},root:c("JSResourceForInteraction")("FriendingCometFriendRequestsListItemMoreMenu.react").__setRef("FriendingCometFriendRequestsListItemMoreMenu.entrypoint")};g["default"]=a}),98);
__d("FriendingCometFriendRequestsListItemMenuButton.react",["fbt","ix","CometEntryPointPopoverTrigger.react","CometRelay","FriendingCometFriendRequestsListItemMenuButton_user.graphql","FriendingCometFriendRequestsListItemMoreMenu.entrypoint","TetraIcon.react","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||d("react");function a(a){a=a.user;a=d("CometRelay").useFragment(j!==void 0?j:j=b("FriendingCometFriendRequestsListItemMenuButton_user.graphql"),a);return a.id==null?null:l.jsx(c("CometEntryPointPopoverTrigger.react"),{entryPointParams:{id:a.id},otherProps:{},popoverEntryPoint:c("FriendingCometFriendRequestsListItemMoreMenu.entrypoint"),children:function(a,b){return l.jsx(c("TetraIcon.react"),{"aria-label":h._("__JHASH__vsPR1PMxOLr__JHASH__"),color:"secondary",icon:d("fbicon")._(i("484386"),16),onPress:b,ref:a})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometListItemWithButtons.react",["fbt","CometBadge.react","CometRelativeTimestamp.react","CometRelay","CometRouteMatch","ConstUriUtils","FriendingCometFriendRequestStrings","FriendingCometListItemWithButtons_user.graphql","FriendingCometMutualFriendsSocialContext.react","TetraButtonGroup.react","TetraListCell.react","TetraText.react","react","useCurrentRoute","useHostedRoute"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e,f=a.href,g=a.iconSrc,j=a.menu,l=a.message,m=a.onAddFriend,n=a.onCancelRequest,o=a.onClick,p=a.onConfirm,q=a.onDelete,r=a.onUnfriend,s=a.paddingHorizontal,t=a.reduceEmphasisPrimary;t=t===void 0?!1:t;var u=a.routeTarget,v=a.shouldShowFacepile;v=v===void 0?!0:v;var w=a.target,x=a.testid;x=a.title;var y=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometListItemWithButtons_user.graphql"),a.user);e=(e=a.isRequestSeen)!=null?e:!0;a=(a=a.timeReceived)!=null?a:0;var z=1e3,A=null;if(l!=null){A=k.jsx("div",{className:"x1huwwth x16suv20",children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:(l=l)!=null?l:""})})}else{l=(l=(l=y.social_context)==null?void 0:l.text)!=null?l:"";A=l!==""?k.jsx("div",{className:"xmgb6t1 x1nn3v0j",children:k.jsx(c("FriendingCometMutualFriendsSocialContext.react"),{iconSize:16,shouldShowFacepile:v,socialContextText:l,textType:"body4",user:y})}):null}v=null;p!=null&&q!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__ulrteH22Ka6__JHASH__"),onPress:p,testid:"confirm_button"},secondary:{label:d("FriendingCometFriendRequestStrings").reject(),onPress:q,testid:"ignore_button"},size:"medium",wrap:"forward"}),type:"buttons"}:m!=null&&q!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{"aria-label":h._("__JHASH__Qjmy-WnPwZO__JHASH__",[h._param("user_name",x.toString())]),label:h._("__JHASH__mUKWwrmibKJ__JHASH__"),onPress:m,reduceEmphasis:t,testid:"add_button"},secondary:{"aria-label":h._("__JHASH__F3Yj3mUS6Mw__JHASH__",[h._param("user_name",x.toString())]),label:h._("__JHASH__NBfMiFm79R7__JHASH__"),onPress:q,testid:"remove_suggestion"},size:"medium",wrap:"forward"}),type:"buttons"}:n!=null?v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__s4QOxbUulOM__JHASH__"),onPress:n,testid:"cancel_request_button",type:"secondary"},size:"medium",wrap:"forward"}),type:"buttons"}:r!=null&&(v={component:k.jsx(c("TetraButtonGroup.react"),{paddingTop:0,primary:{label:h._("__JHASH__HGUUssrArzE__JHASH__"),onPress:r,testid:"unfriend",type:"secondary"},size:"medium",wrap:"forward"}),type:"buttons"});l=d("CometRouteMatch").useHostedRouteMatcher(d("CometRouteMatch").MatchFunctions.urlMatchFunction);p=c("useCurrentRoute")();m=c("useHostedRoute")();q=m==null&&p!=null&&p.tabKey==="friends"&&y.id!=null&&((t=d("ConstUriUtils").getUri(p.url))==null?void 0:t.getQueryParam("profile_id"))===y.id;n=q||(f!=null?l(f):!1);r={alt:x,shape:"circle",size:60,source:{uri:g},type:"profile-photo"};m=null;if(a!==0){p=new Date(a*z);m=e?k.jsx("div",{className:"x6s0dn4 x78zum5 x19f6ikt",children:k.jsx(c("TetraText.react"),{color:"secondary",type:"body4",children:k.jsx(c("CometRelativeTimestamp.react"),{date:p,format:"minimized"})})}):k.jsxs("div",{className:"x6s0dn4 x78zum5 x19f6ikt",children:[k.jsx(c("TetraText.react"),{color:"highlight",type:"body4",children:k.jsx(c("CometRelativeTimestamp.react"),{date:p,format:"minimized"})}),k.jsx("div",{className:"xykv574 x1120s5i x1e558r4",children:k.jsx(c("CometBadge.react"),{color:"blue"})})]})}return k.jsx(c("TetraListCell.react"),{addOnBottom:v,addOnPrimary:r,addOnSecondary:j?{addOn:j,type:"body"}:null,body:A,headline:k.jsx(c("TetraText.react"),{type:"headlineEmphasized4",children:x}),headlineAddOn:m,headlineLineLimit:1,level:4,linkProps:f!=null?{routeTarget:u,target:w,url:f}:void 0,onPress:o,paddingHorizontal:s,selected:n,selectedBackground:"wash",testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometFriendRequestsListItem.react",["fbt","CometRelay","FriendingCometErrorHandler.react","FriendingCometFriendRequestsListItemMenuButton.react","FriendingCometFriendRequestsListItem_user.graphql","FriendingCometListItemWithButtons.react","FriendingCometTestIDHelper","react","requireDeferred","useMinifiedProductAttribution","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useCallback,m=e.useRef,n=c("requireDeferred")("FriendingCometFriendRequestConfirmMutation").__setRef("FriendingCometFriendRequestsListItem.react"),o=c("requireDeferred")("FriendingCometFriendRequestDeleteMutation").__setRef("FriendingCometFriendRequestsListItem.react"),p=c("requireDeferred")("RequestClickFalcoEvent").__setRef("FriendingCometFriendRequestsListItem.react"),q=c("requireDeferred")("RequestSeenFalcoEvent").__setRef("FriendingCometFriendRequestsListItem.react");function a(a){var e,f,g,j=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometFriendRequestsListItem_user.graphql"),a.user),r=a.actionLoggingCallback,s=a.hideMenu,t=a.isSeen,u=a.paddingHorizontal,v=a.position,w=a.timeReceived,x=j.friendship_status,y=j.id,z=j.name,A=j.profile_picture;e=(e=a.href)!=null?e:j.url;A=A==null?void 0:A.uri;var B=(f=a.loggingSource)!=null?f:"friends_tab";f=(f=a.routeTarget)!=null?f:"content";var C=d("CometRelay").useRelayEnvironment(),D=m(!1),E=d("FriendingCometErrorHandler.react").useFriendingErrorHandler({addFriendId:(g=y)!=null?g:"0",addFriendSource:"friend_other"}),F=c("useMinifiedProductAttribution")();g=l(function(){y!=null&&(n.onReadyImmediately(function(a){a.commit({environment:C,navigationChain:F,onError:E,senderID:y,source:B})}),r&&r())},[r,C,E,y,B,F]);var G=l(function(){y!=null&&(o.onReadyImmediately(function(a){a.commit(C,y,B,void 0,E)}),r&&r())},[r,C,E,y,B]),H=l(function(){y!=null&&(p.onReadyImmediately(function(a){return a.log(function(){return{request_id:y,request_surface:B}})}),r&&r())},[r,y,B]),I=l(function(){y!=null&&!D.current&&(q.onReadyImmediately(function(a){return a.log(function(){return{request_id:y,request_position:v,request_surface:B}})}),D.current=!0);var b=a.onImpression;b!=null&&b()},[y,B,v,a.onImpression]);I=c("useVisibilityObserver")({onVisible:I});if(y==null||e==null||A==null||z==null||x==null)return null;var J=null,K=null,L=null;switch(x){case"ARE_FRIENDS":L=h._("__JHASH__MBSKqmuWv9I__JHASH__");K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsConfirmedTestID(y);break;case"INCOMING_REQUEST":return k.jsx("div",{"data-testid":void 0,ref:I,children:k.jsx(c("FriendingCometListItemWithButtons.react"),{href:e,iconSrc:A,isRequestSeen:t,onClick:H,onConfirm:g,onDelete:G,paddingHorizontal:u,routeTarget:f,timeReceived:w,title:z,user:j},y)});case"CAN_REQUEST":L=h._("__JHASH__dFVgEtnSoyi__JHASH__");K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsDeletedTestID(y);s!==!0&&(J=k.jsx(c("FriendingCometFriendRequestsListItemMenuButton.react"),{user:j}));break;default:K=c("FriendingCometTestIDHelper").getFriendsTabFriendRequestsTestID(y);break}return k.jsx("div",{"data-testid":void 0,ref:I,children:k.jsx(c("FriendingCometListItemWithButtons.react"),{href:e,iconSrc:A,isRequestSeen:t,menu:J,message:L,onClick:H,onConfirm:null,onDelete:null,routeTarget:f,title:z,user:j},y)})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometSectionTabViewLeftRail.react",["fbt","CometLeftRailBreadcrumbs.react","CometLeftRailComponent.react","CometLeftRailHeader.react","CometRouteParams","XCometFriendingControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.leftRail;a=a.title;var e=d("CometRouteParams").useRouteParams();e=e.friending_section;var f=c("XCometFriendingControllerRouteBuilder").buildURL({}),g=[{label:h._("__JHASH__er6w-V3UvvZ__JHASH__"),url:f}];return j.jsx(c("CometLeftRailComponent.react"),{header:j.jsx(c("CometLeftRailHeader.react"),{backActionAddOn:{linkProps:{passthroughProps:{ref_tab:e},url:f}},meta:j.jsx(c("CometLeftRailBreadcrumbs.react"),{breadcrumbs:g}),title:a}),primaryNav:b})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometSectionTabView.react",["CometLeftRailAndMainContentContainer.react","FriendingCometSectionTabViewLeftRail.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.children,d=a.leftRail,e=a.mainContent;a=a.title;return i.jsx(c("CometLeftRailAndMainContentContainer.react"),{leftRailContent:i.jsx(c("FriendingCometSectionTabViewLeftRail.react"),{leftRail:d,title:a}),leftRailHeading:a,mainContent:(d=b)!=null?d:e,mainContentHeading:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometHomeInlineRHCContainer.react",["fbt","CometHomeRightRailUnit.react","CometRelay","FDSUnitHeader.react","FriendingCometFriendRequestsListItem.react","FriendingCometHomeInlineRHCContainer_friendsPanel.graphql","XCometFriendingControllerRouteBuilder","XCometFriendingSectionControllerRouteBuilder","qex","react","requireDeferred"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useCallback,m=c("requireDeferred")("FriendingCometRHCFriendRequestsUnitHideMutation").__setRef("FriendingCometHomeInlineRHCContainer.react"),n=c("requireDeferred")("RhcFriendRequestSeenFalcoEvent").__setRef("FriendingCometHomeInlineRHCContainer.react");function a(a){a=a.friendsPanel;a=d("CometRelay").useFragment(i!==void 0?i:i=b("FriendingCometHomeInlineRHCContainer_friendsPanel.graphql"),a);var e=d("CometRelay").useRelayEnvironment(),f=h._("__JHASH__CEnoP_mUKCA__JHASH__"),g=a==null?void 0:a.highlighted_requests,j=g!=null&&g.length!==0?g[0]:null,o=j==null?void 0:j.user,p=l(function(){var a=o==null?void 0:o.id;a!=null&&n.onReadyImmediately(function(b){return b.log(function(){return{sender_id:a}})})},[o]);if((a==null?void 0:a.is_hidden)===!0||o==null||j==null)return null;var q,r;c("qex")._("1294")===!0?(q={action:h._("__JHASH__V4Sl0Y9Vu_O__JHASH__"),onActionPress:function(){m.onReady(function(a){a=a.commit;a(e)})},showActionOnHover:!0},r={showActionOnHover:!0}):q={action:h._("__JHASH__2KGUG5AVElY__JHASH__"),actionLinkProps:{passthroughProps:{ref:"RHC_FRIEND_REQUESTS_SEE_ALL"},url:c("XCometFriendingControllerRouteBuilder").buildURL({})}};var s=c("XCometFriendingSectionControllerRouteBuilder").buildURL({friending_section:"requests",profile_id:(a=(g=j.user)==null?void 0:g.id)!=null?a:""});g=function(a,b){return k.jsx(c("CometHomeRightRailUnit.react"),babelHelpers["extends"]({},r,{header:k.jsx(c("FDSUnitHeader.react"),babelHelpers["extends"]({},q,{actionRef:a,headline:f,headlineColor:"secondary",iconColor:"secondary",level:3,onActionPress:b})),children:k.jsx(c("FriendingCometFriendRequestsListItem.react"),{hideMenu:!0,href:s,isSeen:(a=j==null?void 0:j.is_seen)!=null?a:!0,loggingSource:"rhc_friend_requests",onImpression:p,position:1,routeTarget:"self",timeReceived:(b=j==null?void 0:j.time)!=null?b:0,user:o})}))};return g(void 0,void 0)}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);/*FB_PKG_DELIM*/
__d("BaseButtonOrLink_DEPRECATED.react",["CometPressable.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a,b){var d=a.attributionsrc,e=a.fbclid,f=a.href,g=a.lynxMode,h=a.onClick,j=a.passthroughProps,k=a.preventLocalNavigation,l=a.rel,m=a.replace,n=a.routeTarget,o=a.target,p=a.to;a=babelHelpers.objectWithoutPropertiesLoose(a,["attributionsrc","fbclid","href","lynxMode","onClick","passthroughProps","preventLocalNavigation","rel","replace","routeTarget","target","to"]);f=(f=f)!=null?f:p==null?void 0:p.url;p=f!=null?{attributionsrc:d,fbclid:e,lynxMode:g,passthroughProps:j,preventLocalNavigation:k,rel:l,replace:m,routeTarget:n,target:o,url:f}:void 0;return i.jsx(c("CometPressable.react"),babelHelpers["extends"]({},a,{display:"inline",linkProps:p,onPress:h,overlayDisabled:!0,ref:b}))}a.displayName=a.name+" [from "+f.id+"]";b=i.forwardRef(a);g["default"]=b}),98);
__d("CometUnstyledButton_DEPRECATED.react",["BaseButtonOrLink_DEPRECATED.react","gkx","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");b={expanded:{display:"x1lliihq",width:"xh8yej3",$$css:!0},root:{backgroundColor:"xjbqb8w",borderTop:"x6umtig",borderEnd:"x1b1mbwd",borderBottom:"xaqea5y",borderStart:"xav7gou",color:"x1heor9g",cursor:"x1ypdohk",display:"x1rg5ohu",fontFamily:"xjb2p0i",fontSize:"x1qlqyl8",lineHeight:"x15bjb6t",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",textAlign:"x16tdsg8",textDecoration:"x1r8a4m5",":active_transform":"xk4oym4",":active_transition":"xsj2dmf",":hover_color":"x144v4sp",":hover_textDecoration":"x1edh9d7",$$css:!0}};e={root:{backgroundColor:"xjbqb8w",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",color:"x1heor9g",cursor:"x1ypdohk",display:"x1rg5ohu",fontFamily:"xjb2p0i",fontSize:"x1qlqyl8",lineHeight:"x15bjb6t",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",textAlign:"x16tdsg8",textDecoration:"x1r8a4m5",":active_transform":"xk4oym4",":active_transition":"xsj2dmf",":hover_color":"x144v4sp",":hover_textDecoration":"x1edh9d7",$$css:!0}};var j=c("gkx")("22874")?babelHelpers["extends"]({},b,e):b;function a(a,b){var d=a.expanded;d=d===void 0?!1:d;var e=a.xstyle;a=babelHelpers.objectWithoutPropertiesLoose(a,["expanded","xstyle"]);return i.jsx(c("BaseButtonOrLink_DEPRECATED.react"),babelHelpers["extends"]({},a,{ref:b,xstyle:[j.root,d&&j.expanded,e]}))}a.displayName=a.name+" [from "+f.id+"]";d=i.forwardRef(a);g["default"]=d}),98);
__d("CometLegacyClickableListItemBase.react",["CometLegacyListItemBase.react","CometUnstyledButton_DEPRECATED.react","gkx","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useId;b={auxiliary:{alignItems:"x6s0dn4",bottom:"x1ey2m1c",display:"x78zum5",end:"x92rtbv",left:null,right:null,position:"x10l6tqk",top:"x13vifvy",$$css:!0},button:{":active_transform":"x1pdlv7q",$$css:!0},disabled:{backgroundColor:"x1f2gare",bottom:"x1ey2m1c",end:"xds687c",left:null,right:null,position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},indented:{paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xbbxn1n",$$css:!0},listItem:{borderTop:"x6umtig",borderEnd:"x1b1mbwd",borderBottom:"xaqea5y",borderStart:"xav7gou",borderTopStartRadius:"xhk9q7s",borderTopEndRadius:"x1otrzb0",borderBottomEndRadius:"x1i1ezom",borderBottomStartRadius:"x1o6z2jb",cursor:"x1ypdohk",fontFamily:"xjb2p0i",marginTop:"xdj266r",marginEnd:"x1emribx",marginBottom:"xat24cr",marginStart:"x1i64zmx",textAlign:"x1yc453h",$$css:!0},root:{position:"x1n2onr6",$$css:!0},selected:{backgroundColor:"x1iutvsz",$$css:!0},unindented:{paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",$$css:!0},unselected:{":active_backgroundColor":"x1164lod",":hover_backgroundColor":"x8du52y",$$css:!0}};e={listItem:{borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",borderTopStartRadius:"xhk9q7s",borderTopEndRadius:"x1otrzb0",borderBottomEndRadius:"x1i1ezom",borderBottomStartRadius:"x1o6z2jb",cursor:"x1ypdohk",fontFamily:"xjb2p0i",marginTop:"xdj266r",marginEnd:"x1emribx",marginBottom:"xat24cr",marginStart:"x1i64zmx",textAlign:"x1yc453h",$$css:!0}};var l=c("gkx")("22874")?babelHelpers["extends"]({},b,e):b;function a(a,b){var d=a.addon;d=d===void 0?null:d;var e=a.children,f=a.indented;f=f===void 0?!1:f;var g=a.right;g=g===void 0?null:g;var i=a.selected;i=i===void 0?!1:i;a=babelHelpers.objectWithoutPropertiesLoose(a,["addon","children","indented","right","selected"]);var m=k();b=b;return j.jsxs("div",{className:(h||(h=c("stylex")))(l.root),children:[j.jsx(c("CometUnstyledButton_DEPRECATED.react"),babelHelpers["extends"]({},a,{"aria-labelledby":m,expanded:!0,ref:b,xstyle:l.button,children:j.jsx(c("CometLegacyListItemBase.react"),{addon:d,className:h(l.listItem,f&&l.indented,!f&&l.unindented,i&&l.selected,!i&&l.unselected),children:j.jsx("div",{id:m,suppressHydrationWarning:!0,children:e})})})),g!=null&&j.jsx("div",{className:(h||(h=c("stylex")))(l.auxiliary),children:g}),a.disabled===!0?j.jsx("div",{className:(h||(h=c("stylex")))(l.disabled,l.listItem)}):null]})}a.displayName=a.name+" [from "+f.id+"]";d=j.forwardRef(a);g["default"]=d}),98);
__d("ParallizerHelper",["ConstUriUtils","FBLogger","SecureMessageListener"],(function(a,b,c,d,e,f,g){"use strict";var h="ParallelReporting",i=["facebook.com"];function j(a){if(a===null||typeof a!=="object"){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: invalid data");return null}if(a.requestMsgType==null||a.requestMsgType!==h){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: not for parallel reporting");return null}a=a.requestUrl;if(typeof a!=="string"||!d("ConstUriUtils").isValidUri(a)){c("FBLogger")("parallel-reporting").warn("Failed to validate the event data: request URL not a valid URL");return null}return a}function a(){var a=new(c("SecureMessageListener"))(window);function b(a){a=a.data;a=j(a);if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to send request: request url invalid");return}if(window==null||window.navigator==null){c("FBLogger")("parallel-reporting").warn("Failed to send request: navigator is null");return}window.fetch(a,{mode:"no-cors"})["catch"](function(a){c("FBLogger")("parallel-reporting").warn("Failed to send request: fetch api failed",a)});c("FBLogger")("parallel-reporting").info("Successfully sent request")}a.setEventHandler(b).setSupportedOrigins(i);a.beginListening()}g.requestMsgType=h;g.init=a}),98);
__d("XFBSbxParallelReportingPageControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/parallel_analytics/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("ParallelReportingIframeContainer.react",["CookieConsentIFrameConfig","FBLogger","ParallizerHelper","SecurePostMessage","XFBSbxParallelReportingPageControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function h(){return"www.fbsbx.com"}function i(){var a,b=h();return(a=c("XFBSbxParallelReportingPageControllerRouteBuilder").buildUri({__cci:(a=c("CookieConsentIFrameConfig").consent_param)!=null?a:""}).setProtocol("https"))==null?void 0:(a=a.setDomain(b))==null?void 0:a.toString()}function a(){try{var a;a=(a=window.frames["parallel-reporting-iframe"])!=null?a:null;if(a!=null)return;a=i();if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to create Iframe: cannot get FBSbx URI");return}var b=document.createElement("iframe");b.style.display="none";b.className="ParallelReportingIframe";b.id="parallel-reporting-iframe";b.src=a;(a=document.body)==null?void 0:a.appendChild(b)}catch(a){c("FBLogger")("parallel-reporting").warn("Failed to create iframe: %s",a.message)}}function b(a){var b;if(a==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get analytics link");return}b=(b=window.frames["parallel-reporting-iframe"])!=null?b:null;if(b==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get iframe");return}var e=b.src;if(e==null){c("FBLogger")("parallel-reporting").warn("Failed to send request to analytics webiste upon click: cannot get FBSbx URI");return}a=a;c("SecurePostMessage").sendMessageToSpecificOrigin(b.contentWindow,{requestMsgType:d("ParallizerHelper").requestMsgType,requestUrl:a},e)}g.createParallelReportingIframeContainerIfNotExist=a;g.parallelReportingUponClick=b}),98);
__d("CometHomeRightSideEgoMenuQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7015323755178514"}),null);
__d("XAdsEducationControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/ads/about/",Object.freeze({page_number:0}),void 0);b=a;g["default"]=b}),98);/*FB_PKG_DELIM*/
__d("FriendingCometMutualFriendsSocialContext_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[{defaultValue:16,kind:"LocalArgument",name:"iconSize"},{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"FriendingCometMutualFriendsSocialContext_user",selections:[a,{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"social_context_top_mutual_friends",plural:!0,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:[{kind:"Variable",name:"height",variableName:"iconSize"},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Variable",name:"width",variableName:"iconSize"}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null}],storageKey:null}],type:"User",abstractKey:null}}();e.exports=a}),null);
__d("FriendingCometMutualFriendsText.react",["CometLazyTooltip.react","CometPressable.react","CometProfileListDialog.entrypoint","JSResourceForInteraction","TetraText.react","react","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useRef,k=c("JSResourceForInteraction")("FriendingCometMutualFriendsSocialContextTooltipContent.react").__setRef("FriendingCometMutualFriendsText.react"),l={socialContextText:{overflowX:"x6ikm8r",overflowY:"x10wlt62",textOverflow:"xlyipyv",$$css:!0}};function a(a){var b=a.id;a.shouldAlignToFacepile;a=babelHelpers.objectWithoutPropertiesLoose(a,["id","shouldAlignToFacepile"]);var d=a.textType,e=a.truncateContextText,f=j(null),g=c("useCometEntryPointDialog")(c("CometProfileListDialog.entrypoint"),{listType:"MUTUAL_FRIENDS",sourceID:b},"button"),h=g[0],m=g[1],n=g[2];g=g[3];return i.jsx(c("CometLazyTooltip.react"),{align:"start",delayContentMs:0,delayTooltipMs:100,tooltipProps:{userID:b},tooltipResource:k,children:i.jsx(c("CometPressable.react"),{"aria-labelledby":a.socialContextText,display:"inline",onHoverIn:m,onHoverOut:n,onPress:function(){return h({actionsByPriorityMapping:{User:[{hookConfig:{messengerWebEntryPoint:"mutualFriendsDialog"},type:"message"}]}})},onPressIn:g,overlayDisabled:!0,ref:f,xstyle:l.socialContextText,children:i.jsx(c("TetraText.react"),{color:"secondary",numberOfLines:e===!0?1:null,type:d,children:a.socialContextText})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("FriendingCometMutualFriendsSocialContext.react",["CometRelay","FriendingCometMutualFriendsSocialContext_user.graphql","FriendingCometMutualFriendsText.react","TetraOverlappingFacepileUnstyled.react","actorHovercardContainer","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||d("react"),l={facepile:{paddingEnd:"x150jy0e",paddingLeft:null,paddingRight:null,$$css:!0},root:{alignItems:"x6s0dn4",display:"x78zum5",paddingTop:"x4p5aij",width:"xh8yej3",$$css:!0}},m={16:{minHeight:"x1hshjfz",$$css:!0},24:{minHeight:"xjwf9q1",$$css:!0},32:{minHeight:"x21xpn4",$$css:!0},40:{minHeight:"x1ba4aug",$$css:!0},48:{minHeight:"x1wxaq2x",$$css:!0}};function a(a){var e=d("CometRelay").useFragment(h!==void 0?h:h=b("FriendingCometMutualFriendsSocialContext_user.graphql"),a.user),f=a.iconSize,g=a.socialContextText,j=e.id;e=e.social_context_top_mutual_friends;var n=a.shouldShowFacepile;n=n===void 0?!0:n;if(j==null)return null;var o=[];n&&(o=e.map(function(a){var b=a.id,d=a.name,e=a.url;a=(a=a.profile_picture)==null?void 0:a.uri;return b!=null&&d!=null&&e!=null&&a!=null?{alt:d,containerComponent:c("actorHovercardContainer")(b),linkProps:{url:e},source:{uri:a}}:null}).filter(Boolean));n=o.length>0;return g!==""?k.jsx("div",{className:(i||(i=c("stylex")))(l.root,m[f]),children:n?k.jsx("div",{className:"x150jy0e",children:k.jsx(c("TetraOverlappingFacepileUnstyled.react"),{isTextInline:!0,items:o,size:f,text:k.jsx(c("FriendingCometMutualFriendsText.react"),{id:j,shouldAlignToFacepile:n,socialContextText:g,textType:a.textType,truncateContextText:a.truncateContextText})})}):k.jsx(c("FriendingCometMutualFriendsText.react"),{id:j,shouldAlignToFacepile:n,socialContextText:g,textType:a.textType,truncateContextText:a.truncateContextText})}):null}a.displayName=a.name+" [from "+f.id+"]";e=k.memo(a);g["default"]=e}),98);
__d("FriendingCometTestIDHelper",[],(function(a,b,c,d,e,f){"use strict";a=Object.freeze({getFriendsTabFriendRequestsConfirmedTestID:function(a){return"comet_friends_tab_requests-"+a+"-confirmed"},getFriendsTabFriendRequestsDeletedTestID:function(a){return"comet_friends_tab_requests-"+a+"-deleted"},getFriendsTabFriendRequestsTestID:function(a){return"comet_friends_tab_requests-"+a},getFriendsTabPYMKTestID:function(a){return"comet_friends_tab_pymk-"+a},getGriffinTabFriendRequestsTestID:function(a){return"comet_griffin_tab_requests-"+a}});f["default"]=a}),66);
__d("FriendingCometFriendRequestStrings",["fbt","qex"],(function(a,b,c,d,e,f,g,h){"use strict";function a(){return c("qex")._("1134")?h._("__JHASH__dFVgEtnSoyi__JHASH__"):h._("__JHASH__f_ykVlwvlha__JHASH__")}function b(){return c("qex")._("1134")?h._("__JHASH__uiVutfBPFAE__JHASH__"):h._("__JHASH___GUB3O7_qji__JHASH__")}function d(){return c("qex")._("1134")?h._("__JHASH___CcxhzW4RYN__JHASH__"):h._("__JHASH__bqYwCmtC0yw__JHASH__")}function e(){return h._("__JHASH__MBSKqmuWv9I__JHASH__")}g.requestRejected=a;g.reject=b;g.rejectRequest=d;g.acceptRequest=e}),98);
__d("XCometFriendingSectionControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/friends/{friending_section}/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);

Function Calls

None

Variables

None

Stats

MD5 fd283d85186a2585af028309170b5f4c
Eval Count 0
Decode Time 69 ms