;/*FB_PKG_DELIM*/

__d("FDSLazyTooltip.react",["BaseTooltip.react","FDSTooltipImpl.react","lazyLoadComponent","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useMemo;function a(a){var b=a.children,d=a.delayContentMs;d=d===void 0?0:d;var e=a.delayTooltipMs;e=e===void 0?300:e;var f=a.forceInlineDisplay,g=a.onVisibilityChange,h=a.tooltipProps,l=a.tooltipResource;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","delayContentMs","delayTooltipMs","forceInlineDisplay","onVisibilityChange","tooltipProps","tooltipResource"]);var m=j(function(a){a&&l.preload(),g==null?void 0:g(a)},[g,l]),n=k(function(){return c("lazyLoadComponent")(l)},[l]);return i.jsx(c("BaseTooltip.react"),babelHelpers["extends"]({delayContentMs:d,delayTooltipMs:e,forceInlineDisplay:f,onVisibilityChange:m,tooltip:i.jsx(n,babelHelpers["extends"]({},h)),tooltipImpl:c("FDSTooltipImpl.react")},a,{children:b}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__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}),226);
__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",["CometPressable.react","CometProfileListDialog.entrypoint","FDSLazyTooltip.react","JSResourceForInteraction","TetraText.react","react","useCometEntryPointDialog"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useRef,k=b.c,l=c("JSResourceForInteraction")("FriendingCometMutualFriendsSocialContextTooltipContent.react").__setRef("FriendingCometMutualFriendsText.react"),m={socialContextText:{overflowX:"x6ikm8r",overflowY:"x10wlt62",textOverflow:"xlyipyv",$$css:!0}};function a(a){var b=k(24);if(b[0]!==a){var d=a.id;a.shouldAlignToFacepile;var e=babelHelpers.objectWithoutPropertiesLoose(a,["id","shouldAlignToFacepile"]);d=d;e=e;b[0]=a;b[1]=e;b[2]=d}else e=b[1],d=b[2];a=e.textType;var f=e.truncateContextText,g=j(null),h;b[3]!==d?(h={listType:"MUTUAL_FRIENDS",sourceID:d},b[3]=d,b[4]=h):h=b[4];h=c("useCometEntryPointDialog")(c("CometProfileListDialog.entrypoint"),h,"button");var n=h[0],o=h[1],p=h[2];h=h[3];var q;b[5]!==d?(q={userID:d},b[5]=d,b[6]=q):q=b[6];b[7]!==n?(d=function(){return n({actionsByPriorityMapping:{User:[{hookConfig:{messengerWebEntryPoint:"mutualFriendsDialog"},type:"message"}]}})},b[7]=n,b[8]=d):d=b[8];f=f===!0?1:null;a=a;var r;b[9]!==f||b[10]!==a||b[11]!==e.socialContextText?(r=i.jsx(c("TetraText.react"),{color:"secondary",numberOfLines:f,type:a,children:e.socialContextText}),b[9]=f,b[10]=a,b[11]=e.socialContextText,b[12]=r):r=b[12];b[13]!==e.socialContextText||b[14]!==o||b[15]!==p||b[16]!==d||b[17]!==h||b[18]!==g||b[19]!==r?(f=i.jsx(c("CometPressable.react"),{"aria-labelledby":e.socialContextText,display:"inline",onHoverIn:o,onHoverOut:p,onPress:d,onPressIn:h,overlayDisabled:!0,ref:g,xstyle:m.socialContextText,children:r}),b[13]=e.socialContextText,b[14]=o,b[15]=p,b[16]=d,b[17]=h,b[18]=g,b[19]=r,b[20]=f):f=b[20];b[21]!==q||b[22]!==f?(a=i.jsx(c("FDSLazyTooltip.react"),{align:"start",delayContentMs:0,delayTooltipMs:100,tooltipProps:q,tooltipResource:l,children:f}),b[21]=q,b[22]=f,b[23]=a):a=b[23];return a}g["default"]=a}),98);
__d("FriendingCometMutualFriendsSocialContext.react",["ARIA_LABEL_PLACEHOLDER_FIXME","CometOverlappingFacepile.react","CometRelay","FriendingCometMutualFriendsSocialContext_user.graphql","FriendingCometMutualFriendsText.react","actorHovercardContainer","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(j||(j=d("react"))).c,l=j,m={root:{alignItems:"x6s0dn4",display:"x78zum5",paddingTop:"x4p5aij",width:"xh8yej3",$$css:!0}},n={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=k(12),f;e[0]===Symbol["for"]("react.memo_cache_sentinel")?(f=h!==void 0?h:h=b("FriendingCometMutualFriendsSocialContext_user.graphql"),e[0]=f):f=e[0];f=d("CometRelay").useFragment(f,a.user);var g=a.iconSize,j=a.socialContextText,p=f.id;f=f.social_context_top_mutual_friends;var q=a.shouldShowFacepile;q=q===void 0?!0:q;if(p==null)return null;var r;e[1]===Symbol["for"]("react.memo_cache_sentinel")?(r=[],e[1]=r):r=e[1];r=r;if(q){e[2]!==f?(q=f.map(o).filter(Boolean),e[2]=f,e[3]=q):q=e[3];r=q}f=r.length>0;e[4]!==j||e[5]!==g||e[6]!==f||e[7]!==p||e[8]!==a.textType||e[9]!==a.truncateContextText||e[10]!==r?(q=j!==""?l.jsx("div",{className:(i||(i=c("stylex")))(m.root,n[g]),children:f?l.jsx("div",{className:"x150jy0e",children:l.jsx(c("CometOverlappingFacepile.react"),{isTextInline:!0,items:r,size:g,text:l.jsx(c("FriendingCometMutualFriendsText.react"),{id:p,shouldAlignToFacepile:f,socialContextText:j,textType:a.textType,truncateContextText:a.truncateContextText})})}):l.jsx(c("FriendingCometMutualFriendsText.react"),{id:p,shouldAlignToFacepile:f,socialContextText:j,textType:a.textType,truncateContextText:a.truncateContextText})}):null,e[4]=j,e[5]=g,e[6]=f,e[7]=p,e[8]=a.textType,e[9]=a.truncateContextText,e[10]=r,e[11]=q):q=e[11];return q}function o(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,"aria-label":c("ARIA_LABEL_PLACEHOLDER_FIXME"),containerComponent:c("actorHovercardContainer")(b),linkProps:{url:e},source:{uri:a}}:null}e=l.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("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);