;/*FB_PKG_DELIM*/

__d("ProfileCometEngagementLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({});g["default"]=b}),98);
__d("ProfileEngagementEventsFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1962347");b=d("FalcoLoggerInternal").create("profile_engagement_events",a);e=b;g["default"]=e}),98);
__d("ProfilePlusAdminActivitiesFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1794610");b=d("FalcoLoggerInternal").create("profile_plus_admin_activities",a);e=b;g["default"]=e}),98);
__d("ProfilePlusFollowChainingContext.react",["emptyFunction","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;b.useMemo;var j=b.useState,k=i.createContext({isLike:!1,setIsLike:c("emptyFunction"),setShouldShowFollowChaining:c("emptyFunction"),shouldShowFollowChaining:!1});function a(a){var b=d("react-compiler-runtime").c(6);a=a.children;var c=j(!1),e=c[0];c=c[1];var f=j(!1),g=f[0];f=f[1];b[0]!==g||b[1]!==e?(f={isLike:g,setIsLike:f,setShouldShowFollowChaining:c,shouldShowFollowChaining:e},b[0]=g,b[1]=e,b[2]=f):f=b[2];c=f;g=c;b[3]!==a||b[4]!==g?(e=i.jsx(k.Provider,{value:g,children:a}),b[3]=a,b[4]=g,b[5]=e):e=b[5];return e}g.ProfilePlusFollowChainingContext=k;g.ProfilePlusFollowChainingContextProvider=a}),98);
__d("ProfilePlusIntentBasedSwitchingDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7946611108797467"}),null);
__d("ProfilePlusIntentBasedSwitchingDialogQuery$Parameters",["ProfilePlusIntentBasedSwitchingDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("ProfilePlusIntentBasedSwitchingDialogQuery_facebookRelayOperation"),metadata:{},name:"ProfilePlusIntentBasedSwitchingDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("ProfilePlusIntentBasedSwitchingDialog.entrypoint",["JSResourceForInteraction","ProfilePlusIntentBasedSwitchingDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a=c("JSResourceForInteraction")("ProfilePlusIntentBasedSwitchingDialog.react").__setRef("ProfilePlusIntentBasedSwitchingDialog.entrypoint");b={getPreloadProps:function(a){return{queries:{queryReference:{options:{fetchPolicy:"network-only"},parameters:c("ProfilePlusIntentBasedSwitchingDialogQuery$Parameters"),variables:{profileID:a.routeParams.id,queryAllEligibleProfiles:a.otherParams.queryAllEligibleProfiles}}}}},root:a};d=b;g["default"]=d}),98);
__d("getRoundedCorners",[],(function(a,b,c,d,e,f){"use strict";var g={TOP_START:1,TOP_END:2,BOTTOM_START:4,BOTTOM_END:8,NONE:0,ALL:15};function a(a,b){return(a&b)===b}function b(a,b){if(a===0)return{};var c={},d=function(a,b){c[a]=((a=c[a])!=null?a:0)|b};d(0,g.TOP_START);d(Math.min(b,a)-1,g.TOP_END);var e=a-(a%b===0?b:a%b);d(e,g.BOTTOM_START);d(Math.min(e+b,a)-1,g.BOTTOM_END);a%b!==0&&e>=b&&d(e-1,g.BOTTOM_END);return c}b.hasCorner=a;b.CORNERS=g;f["default"]=b}),66);
__d("useProfileCometEngagementEventsClickWithDataCallback",["ProfileCometContext","ProfileCometSession","ProfileEngagementEventsFalcoEvent","react","react-compiler-runtime","recoverableViolation","useCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.useContext;function a(){var a=d("react-compiler-runtime").c(3),b=i(c("ProfileCometContext")),e=b.profileID,f=c("useCurrentRoute")();e==null&&c("recoverableViolation")("viewer id is a required field for profile engagement events logging","profile_comet");a[0]!==e||a[1]!==f?(b=function(a){c("ProfileEngagementEventsFalcoEvent").log(function(){return babelHelpers["extends"]({},a,{event_type:"click",profile_session_id:d("ProfileCometSession").get(e,f),viewee_userid_str:e})})},a[0]=e,a[1]=f,a[2]=b):b=a[2];return b}g["default"]=a}),98);
__d("useProfileCometEngagementEventsClickCallback",["react","react-compiler-runtime","useProfileCometEngagementEventsClickWithDataCallback"],(function(a,b,c,d,e,f,g){"use strict";var h;(h||d("react")).useCallback;function a(a){var b=d("react-compiler-runtime").c(3),e=c("useProfileCometEngagementEventsClickWithDataCallback")(),f;b[0]!==a||b[1]!==e?(f=function(){e(a)},b[0]=a,b[1]=e,b[2]=f):f=b[2];return f}g["default"]=a}),98);
__d("useProfileCometEngagementEventsImpression",["ProfileCometContext","ProfileCometSession","ProfileEngagementEventsFalcoEvent","react","react-compiler-runtime","recoverableViolation","useCurrentRoute","useSinglePartialViewImpression"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");b.useCallback;var i=b.useContext;function a(a){var b=d("react-compiler-runtime").c(9),e=i(c("ProfileCometContext")),f=e.profileID,g=c("useCurrentRoute")();f==null&&c("recoverableViolation")("profile id is a required field for profile engagement events logging","profile_comet");var h;b[0]!==a?(h="impression",(a==null?void 0:a.event_type)!=null&&(h=a.event_type),b[0]=a,b[1]=h):h=b[1];b[2]!==a||b[3]!==h||b[4]!==f||b[5]!==g?(e=function(){c("ProfileEngagementEventsFalcoEvent").log(function(){return babelHelpers["extends"]({},a,{event_type:h,profile_session_id:d("ProfileCometSession").get(f,g),viewee_userid:f})})},b[2]=a,b[3]=h,b[4]=f,b[5]=g,b[6]=e):e=b[6];h;e=e;var j;b[7]!==e?(j={onImpressionStart:e},b[7]=e,b[8]=j):j=b[8];return c("useSinglePartialViewImpression")(j)}g["default"]=a}),98);
__d("useProfileEngagementData",["ProfileCometContext","ProfileCometEngagementLoggingContext","ProfileCometSession","react","react-compiler-runtime","recoverableViolation","useCurrentRoute"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useContext;function a(a){var b=d("react-compiler-runtime").c(8),e=i(c("ProfileCometContext")),f=i(c("ProfileCometEngagementLoggingContext")),g=c("useCurrentRoute")();if(e.profileID===""){c("recoverableViolation")("Tried to use Profile Engagement Logger without passing a profile ID via a ProfileCometContext provider.","profile_comet");return null}var h=e.profileID,j;b[0]!==e.profileID||b[1]!==g?(j=d("ProfileCometSession").get(e.profileID,g),b[0]=e.profileID,b[1]=g,b[2]=j):j=b[2];b[3]!==a||b[4]!==f||b[5]!==e.profileID||b[6]!==j?(g=babelHelpers["extends"]({profile_id:h,profile_session_id:j},f,a),b[3]=a,b[4]=f,b[5]=e.profileID,b[6]=j,b[7]=g):g=b[7];return g}g["default"]=a}),98);
__d("useProfileEngagementClickCallback",["react","react-compiler-runtime","recoverableViolation","requireDeferred","useProfileEngagementData"],(function(a,b,c,d,e,f,g){"use strict";var h;(h||d("react")).useCallback;var i=c("requireDeferred")("ProfileEngagementFalcoEvent").__setRef("useProfileEngagementClickCallback");function a(a,b){var e=d("react-compiler-runtime").c(3),f;f=c("useProfileEngagementData")(a);f!=null&&((a=f)==null?void 0:a.profile_product_bucket)==null&&(c("recoverableViolation")("product_bucket is a required field for profile engagement logging","profile_comet"),f=babelHelpers["extends"]({},f,{profile_product_bucket:"unknown"}));e[0]!==b||e[1]!==f?(a=function(a){if(f!=null){var c=babelHelpers["extends"]({profile_event_type:"click"},f);i.onReady(function(a){a=a.log;a(function(){return c})})}b&&b(a)},e[0]=b,e[1]=f,e[2]=a):a=e[2];f;return a}g["default"]=a}),98);
__d("useProfileEngagementImpression",["react","react-compiler-runtime","recoverableViolation","requireDeferred","useImpressionLogger","useProfileEngagementData"],(function(a,b,c,d,e,f,g){"use strict";var h;(h||d("react")).useCallback;var i=c("requireDeferred")("ProfileEngagementFalcoEvent").__setRef("useProfileEngagementImpression");function a(a){var b=d("react-compiler-runtime").c(2),e=c("useProfileEngagementData")(a);(e==null?void 0:e.profile_product_bucket)==null&&c("recoverableViolation")("profile_product_bucket is a required field for profile engagement logging","profile_comet");(e==null?void 0:e.profile_surface)==null&&c("recoverableViolation")("profile_surface is a required field for profile engagement logging","profile_comet");b[0]!==e?(a=function(a){a=a.log;if(e==null)return;var b=babelHelpers["extends"]({profile_event_type:"impression",profile_product_bucket:"unknown",profile_surface:"unknown"},e);a(function(){return b})},b[0]=e,b[1]=a):a=b[1];b=a;return c("useImpressionLogger")(i,b)}g["default"]=a}),98);