;/*FB_PKG_DELIM*/

__d("CometHomeCreateMenuContentQuery.graphql",["CometHomeCreateMenuContentQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"should_use_page_rename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"can_create_page",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"can_create_nonprofit_fundraiser",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"marketplace_nav_tab_visible",storageKey:null},g={alias:null,args:null,concreteType:"LWIAPI",kind:"LinkedField",name:"lwi",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"should_direct_to_lwi",storageKey:null}],storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometHomeCreateMenuContentQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{kind:"InlineFragment",selections:[a],type:"User",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c],storageKey:null},d,e,f],storageKey:null},g],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometHomeCreateMenuContentQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"account_user",plural:!1,selections:[c,a],storageKey:null},d,e,f],storageKey:null},g]},params:{id:b("CometHomeCreateMenuContentQuery_facebookRelayOperation"),metadata:{},name:"CometHomeCreateMenuContentQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
__d("FDSAppFacebookReelsFilled20Icon",["cr:14316"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:14316")}),98);
__d("FDSComposeFilled20Icon",["cr:14786"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:14786")}),98);
__d("FDSLifeEventFilled20Icon",["cr:15190"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:15190")}),98);
__d("cometHomeCreateMenuCreationContent",["fbt","ComposerGating","FDSAppFacebookReelsFilled20Icon","FDSComposeFilled20Icon","FDSLifeEventFilled20Icon","FDSStoriesFilled20Icon","StoriesGating","XCometReelsCreationControllerRouteBuilder","XCometStoriesCreateControllerRouteBuilder","cometComposerLogger"],(function(a,b,c,d,e,f,g,h){"use strict";var i="www_home_create_menu",j="tap_creation_top_right_button_in_short_form_video",k=d("ComposerGating").shouldShowUnifiedVideoEditor();a=function(a){var b=a.creationSessionID,e=a.shouldUsePageRename,f=a.showComposerDialog,g=a.showLifeEventsDialog,l=a.showUnifiedVideoCreationDialog;a=a.tapPoint;var m={composerEntrypointName:j,creationSessionID:b,mediaUploadLoggingMetadata:{composerEntrypointRef:i,source:"reel_composer"}};return[{cellProps:{addOnStart:{icon:c("FDSComposeFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__Z_Dbdufj9lL__JHASH__"),headline:h._(/*BTDS*/"__JHASH__ICE5obVvh6W__JHASH__"),onPress:function(){f()}},itemKey:"post",render:!0,type:"item"},{cellProps:{addOnStart:{icon:c("FDSStoriesFilled20Icon"),size:36,type:"contained-icon"},body:d("StoriesGating").getCreationDescription(),headline:h._(/*BTDS*/"__JHASH__kMnNlAJ6Sco__JHASH__"),linkProps:{passthroughProps:{entryPoint:"add_to_story_homebase_shortcut",sourceSurface:"home_screen_shortcut"},productAttribution:{tap_point:a},target:"_self",url:c("XCometStoriesCreateControllerRouteBuilder")==null?void 0:c("XCometStoriesCreateControllerRouteBuilder").buildURL({})}},itemKey:"story",render:!0,type:"item"},{cellProps:{addOnStart:{icon:c("FDSAppFacebookReelsFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__cRxP2OKxnen__JHASH__"),headline:h._(/*BTDS*/"__JHASH__IpMBc_6pSI6__JHASH__"),linkProps:k?void 0:{passthroughProps:m,productAttribution:{tap_point:a},target:"_self",url:c("XCometReelsCreationControllerRouteBuilder").buildURL({})},onPress:function(){k&&l(m),c("cometComposerLogger")({fields:{composerEntryPointName:j,composerSourceSurface:"short_form_video",composerType:"reels"},type:"COMPOSER_ENTRY"},b)},testid:"comet-home-create-menu-item-reels"},itemKey:"reel",render:!0,type:"item"},{cellProps:{addOnStart:{icon:c("FDSLifeEventFilled20Icon"),size:36,type:"contained-icon"},body:e?h._(/*BTDS*/"__JHASH__zcyrhaOBRF8__JHASH__"):h._(/*BTDS*/"__JHASH__sVWMS65Mr55__JHASH__"),headline:h._(/*BTDS*/"__JHASH__qhURJssWdUq__JHASH__"),onPress:function(){g()}},itemKey:"life-event",render:!0,type:"item"}]};b=a;g["default"]=b}),226);
__d("FDSCalendarAddFilled20Icon",["cr:14606"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:14606")}),98);
__d("FDSFundraiserFilled20Icon",["cr:15027"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:15027")}),98);
__d("FDSMegaphoneFilled20Icon",["cr:15256"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:15256")}),98);
__d("FDSShoppingBagFilled20Icon",["cr:15655"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:15655")}),98);
__d("XCometCreateAdControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/ads/create_ad/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("cometHomeCreateMenuSecondaryCreationContent",["fbt","ix","FDSAppPagesFilled20Icon","FDSCalendarAddFilled20Icon","FDSFundraiserFilled20Icon","FDSMegaphoneFilled20Icon","FDSShoppingBagFilled20Icon","XCometCreateAdControllerRouteBuilder","XCometEventCreateControllerRouteBuilder","XCometGroupsTabControllerRouteBuilder","XCometMarketplaceComposerControllerRouteBuilder","XCometPageCreationControllerRouteBuilder","emptyFunction","fbicon","gkx","requireDeferred"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=c("requireDeferred")("CometMarketplaceLogger").__setRef("cometHomeCreateMenuSecondaryCreationContent");a=function(a){var b=a.canCreatePage,e=a.fundraiserCreateUrl,f=a.shouldDirectToLWI,g=a.shouldShowFundraiser,k=a.shouldShowMarketplace;a=a.tapPoint;return[{cellProps:{addOnStart:{icon:c("FDSAppPagesFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__T1Bfv6o7AOe__JHASH__"),headline:h._(/*BTDS*/"__JHASH__mOcTWiYMi4H__JHASH__"),linkProps:{productAttribution:{tap_point:a},target:"_self",url:c("XCometPageCreationControllerRouteBuilder").buildURL({ref_type:"comet_home"})}},itemKey:"page",render:b,type:"item"},{cellProps:{addOnStart:{icon:c("FDSMegaphoneFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__fifUiUeWmEu__JHASH__"),headline:h._(/*BTDS*/"__JHASH__DlrElM_FzNl__JHASH__"),linkProps:{productAttribution:{tap_point:a},rel:"noreferrer",target:f?"_self":"_blank",url:c("XCometCreateAdControllerRouteBuilder").buildURL({})}},itemKey:"ad",render:!c("gkx")("7094"),type:"item"},{cellProps:{addOnStart:{icon:d("fbicon")._(i("510947"),20),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__YLl-LRsKY1x__JHASH__"),headline:h._(/*BTDS*/"__JHASH__H8VKOmOz02O__JHASH__"),linkProps:{preventLocalNavigation:!1,productAttribution:{tap_point:a},target:"_self",url:c("XCometGroupsTabControllerRouteBuilder").buildURL({category:"create"})},onPress:function(a){a.type!=="press"&&a.preventDefault()}},itemKey:"group",render:!0,type:"item"},{cellProps:{addOnStart:{icon:c("FDSCalendarAddFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__3u-Ezhp8E4v__JHASH__"),headline:h._(/*BTDS*/"__JHASH__UVRPl9UmQ7N__JHASH__"),linkProps:{productAttribution:{tap_point:a},url:c("XCometEventCreateControllerRouteBuilder").buildURL({acontext:JSON.stringify({event_action_history:[{mechanism:"surface",surface:"home"}]}),dialog_entry_point:"comet_home_create_menu"})}},itemKey:"event",render:!0,type:"item"},{cellProps:{addOnStart:{icon:c("FDSShoppingBagFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__SgepdxRW4Ac__JHASH__"),headline:h._(/*BTDS*/"__JHASH__4CHsExdsAaY__JHASH__"),linkProps:{productAttribution:{tap_point:a},url:c("XCometMarketplaceComposerControllerRouteBuilder").buildURL({listing_type:"item"})},onPress:function(){j.load().then(function(a){a.logClick("create_menu",null,null,{composerEntrypoint:"create_menu",composerMode:"create"})})["catch"](c("emptyFunction"))}},itemKey:"marketplace-listing",render:k,type:"item"},{cellProps:{addOnStart:{icon:c("FDSFundraiserFilled20Icon"),size:36,type:"contained-icon"},body:h._(/*BTDS*/"__JHASH__TNt8V95qn8C__JHASH__"),headline:h._(/*BTDS*/"__JHASH__SBwIHcU-6_L__JHASH__"),linkProps:{productAttribution:{tap_point:a},target:"_self",url:(b=e)!=null?b:""}},itemKey:"fundraiser",render:g,type:"item"}]};b=a;g["default"]=b}),226);
__d("CometHomeCreateMenuContent.react",["CometHomeCreateMenuContentQuery.graphql","CometListCellStrict_DEPRECATED.react","CometRelay","FDSMenuSeparator.react","FundraiserCreateUrlUtils","cometHomeCreateMenuCreationContent","cometHomeCreateMenuSecondaryCreationContent","react","react-compiler-runtime","recoverableViolation","useProfileCometLifeEventsComposerDialog","useShowCometUnifiedVideoCreationDialog","useTopNavigationLogging","uuidv4"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;e.useCallback;var k=e.useMemo;function l(a){var b=d("react-compiler-runtime").c(11),e=a.hideBody,f=a.item,g=a.onClose;a=a.position;e=e===void 0?!1:e;a=d("useTopNavigationLogging").useCreateItemLoggingCallbacks(f.itemKey,a);var h=a[0];a=a[1];var i;b[0]!==f.cellProps||b[1]!==f.type||b[2]!==h||b[3]!==g?(i=function(a){g();if(f.type==="item"){var b=f.cellProps!=null?f.cellProps.onPress:null;b&&b(a)}h()},b[0]=f.cellProps,b[1]=f.type,b[2]=h,b[3]=g,b[4]=i):i=b[4];i=i;if(f.type==="separator"){var k;b[5]===Symbol["for"]("react.memo_cache_sentinel")?(k=j.jsx(c("FDSMenuSeparator.react"),{}),b[5]=k):k=b[5];return k}k=e?null:f.cellProps.body;b[6]!==a||b[7]!==f.cellProps||b[8]!==i||b[9]!==k?(e=j.jsx(c("CometListCellStrict_DEPRECATED.react"),babelHelpers["extends"]({},f.cellProps,{body:k,level:4,onPress:i,ref:a,role:"listitem"})),b[6]=a,b[7]=f.cellProps,b[8]=i,b[9]=k,b[10]=e):e=b[10];return e}function a(a){var e=a.cometHomeCreateMenuContentQueryRef,f=a.hideBody,g=f===void 0?!1:f,i=a.onClose,m=a.showComposerDialog,n=a.tapPoint,o=d("CometRelay").usePreloadedQuery(h!==void 0?h:h=b("CometHomeCreateMenuContentQuery.graphql"),e);f=c("useProfileCometLifeEventsComposerDialog")({profileID:(e=(f=o.viewer)==null?void 0:(a=f.actor)==null?void 0:a.id)!=null?e:"",surface:"COMPOSER"});var p=f[0];a=c("useShowCometUnifiedVideoCreationDialog")({});var q=a[0];e=k(function(){var a,b,e,f,h;a=(a=o==null?void 0:(a=o.viewer)==null?void 0:a.can_create_page)!=null?a:!1;b=(o==null?void 0:(b=o.viewer)==null?void 0:(b=b.account_user)==null?void 0:b.should_use_page_rename)===!0;var k=null;k=d("FundraiserCreateUrlUtils").getCreateFundraiserUrl(null,"blue_bar_create_menu");e=o==null?void 0:(e=o.viewer)==null?void 0:e.can_create_nonprofit_fundraiser;e=k!=null&&e===!0;f=(o==null?void 0:(f=o.viewer)==null?void 0:f.marketplace_nav_tab_visible)===!0;h=(h=o.lwi)==null?void 0:h.should_direct_to_lwi;h==null&&(c("recoverableViolation")("shouldDirectToLWI is null","pages_lwi"),h=!1);var r=c("uuidv4")();return[].concat(c("cometHomeCreateMenuCreationContent")({creationSessionID:r,shouldUsePageRename:b,showComposerDialog:m,showLifeEventsDialog:p,showUnifiedVideoCreationDialog:q,tapPoint:n}),[{itemKey:"separator",render:!0,type:"separator"}],c("cometHomeCreateMenuSecondaryCreationContent")({canCreatePage:a,fundraiserCreateUrl:k,shouldDirectToLWI:h,shouldShowFundraiser:e,shouldShowMarketplace:f,tapPoint:n})).filter(function(a){return a==null?void 0:a.render}).map(function(a,b){return j.jsx(l,{hideBody:g,item:a,onClose:i,position:b},a.itemKey)})},[o==null?void 0:(e=o.viewer)==null?void 0:e.can_create_page,o==null?void 0:(f=o.viewer)==null?void 0:(a=f.account_user)==null?void 0:a.should_use_page_rename,o==null?void 0:(e=o.viewer)==null?void 0:e.can_create_nonprofit_fundraiser,o==null?void 0:(f=o.viewer)==null?void 0:f.marketplace_nav_tab_visible,(a=o.lwi)==null?void 0:a.should_direct_to_lwi,m,p,q,n,g,i]);return j.jsx("div",babelHelpers["extends"]({className:"x1iorvi4 x4uap5 xwib8y2 xkhd6sd"},{role:"list",children:e}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
__d("CometHomeMegaMenuAllProductsQuery.graphql",["CometHomeMegaMenuAllProductsQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"scale"}],c={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={kind:"Variable",name:"scale",variableName:"scale"},f={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null};c=[c,{alias:null,args:[{kind:"Literal",name:"environment",value:"COMET"},{kind:"Literal",name:"query_source",value:"COMET_MEGA_MENU"}],concreteType:"FolderBookmarksConnection",kind:"LinkedField",name:"bookmarks",plural:!1,selections:[{alias:null,args:null,concreteType:"Bookmark",kind:"LinkedField",name:"nodes",plural:!0,selections:[d,c,{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tracking",storageKey:null},{alias:null,args:[{kind:"Literal",name:"icon_size",value:"DP36"},e],concreteType:"Image",kind:"LinkedField",name:"bookmark_icon_image",plural:!1,selections:[f],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:36},{kind:"Literal",name:"icon_style",value:"CASPIAN"},e,{kind:"Literal",name:"width",value:36}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"is_silhouette",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"section",storageKey:null}],storageKey:null}],storageKey:'bookmarks(environment:"COMET",query_source:"COMET_MEGA_MENU")'},d];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometHomeMegaMenuAllProductsQuery",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"useCometMegaMenuTypeaheadDataSource_viewer"}],storageKey:null},action:"THROW",path:"viewer"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometHomeMegaMenuAllProductsQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:"social",args:[{kind:"Literal",name:"folder",value:"SOCIAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"SOCIAL")'},{alias:"entertainment",args:[{kind:"Literal",name:"folder",value:"ENTERTAINMENT"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"ENTERTAINMENT")'},{alias:"shopping",args:[{kind:"Literal",name:"folder",value:"SHOPPING"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"SHOPPING")'},{alias:"personal",args:[{kind:"Literal",name:"folder",value:"PERSONAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"PERSONAL")'},{alias:"professional",args:[{kind:"Literal",name:"folder",value:"PROFESSIONAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"PROFESSIONAL")'},{alias:"communityResources",args:[{kind:"Literal",name:"folder",value:"COMMUNITY_RESOURCES"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"COMMUNITY_RESOURCES")'},{alias:"appsFromFacebook",args:[{kind:"Literal",name:"folder",value:"APPS_FROM_FACEBOOK"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:c,storageKey:'bookmark_folder(folder:"APPS_FROM_FACEBOOK")'},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"profile_plus_should_hoist_professional_section_comet_mega_menu",storageKey:null}],type:"User",abstractKey:null},d],storageKey:null}],storageKey:null}]},params:{id:b("CometHomeMegaMenuAllProductsQuery_facebookRelayOperation"),metadata:{},name:"CometHomeMegaMenuAllProductsQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
__d("CometMegaMenuTypeaheadInputRoundedStrategy.react",["CometColumnItem.react","CometTypeaheadInputRoundedStrategy.react","FDSIcon.react","FDSMagnifyingGlassFilled16Icon","gkx","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");b=i.forwardRef(a);function a(a,b){var e=d("react-compiler-runtime").c(6),f;e[0]!==a?(f=babelHelpers["extends"]({},a),e[0]=a,e[1]=f):f=e[1];e[2]===Symbol["for"]("react.memo_cache_sentinel")?(a={icon:i.jsx(c("FDSIcon.react"),{color:c("gkx")("6275")?"secondary":"tertiary",icon:c("FDSMagnifyingGlassFilled16Icon")})},e[2]=a):a=e[2];e[3]!==b||e[4]!==f?(a=i.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,paddingVertical:16,children:i.jsx(c("CometTypeaheadInputRoundedStrategy.react"),babelHelpers["extends"]({},f,{inputExtraProps:a,ref:b}))}),e[3]=b,e[4]=f,e[5]=a):a=e[5];return a}e=b;g["default"]=e}),98);
__d("CometMegaMenuNullState.react",["fbt","CometAccessibilityAnnouncement.react","FDSNullState.react","NullStateNoResults","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(){var a=d("react-compiler-runtime").c(1),b;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=j.jsx(c("CometAccessibilityAnnouncement.react"),{isVisible:!0,children:j.jsx(c("FDSNullState.react"),{body:h._(/*BTDS*/"__JHASH__nQYT3yd21W0__JHASH__"),headline:h._(/*BTDS*/"__JHASH__JCiz4z2djIu__JHASH__"),icon:c("NullStateNoResults")})}),a[0]=b):b=a[0];return b}g["default"]=a}),226);
__d("logMegaMenuClick",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("WebBookmarkClickFalcoEvent").__setRef("logMegaMenuClick");function a(a){var b=a.index,c=a.pa;a=a.tracking;i({index:b,pa:c,surface:"comet_mega_menu",tracking:a})}function b(a){var b=a.index,c=a.pa;a=a.tracking;i({index:b,pa:c,surface:"comet_mega_menu_recent",tracking:a})}function i(a){var b=a.index,c=a.pa,d=a.surface,e=a.tracking;h.onReady(function(a){var f=b.toString();a.log(function(){return{interface_override:"comet_www",item_rank:f,pa:c,surface:d,tracking_data:e}})})}g.logMegaMenuClick=a;g.logMegaMenuRecentClick=b}),98);
__d("CometMegaMenuListItem.react",["CometImageFromIXValueRelayWrapper.react","CometPassiveGetRouterStateContext","CometProductAttribution","FDSIcon.react","FDSListCellPressable.react","FDSProfilePhoto.react","FDSTextPairing.react","logMegaMenuClick","react","react-compiler-runtime","useBookmarkFalcoFullViewLogger"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useContext;function a(a){var b=d("react-compiler-runtime").c(26),e=a.addOnPrimary,f=a.body,g=a.index,h=a.isActive,k=a.name,l=a.onPress,m=a.tracking;a=a.url;var n=c("useBookmarkFalcoFullViewLogger")(m,g,null,"comet_mega_menu"),o=j(c("CometPassiveGetRouterStateContext")),p;b[0]!==e.icon||b[1]!==e.shape||b[2]!==e.size||b[3]!==e.source||b[4]!==e.sprite||b[5]!==e.type?(p=e.type==="icon"?i.jsx(c("FDSIcon.react"),{icon:e.icon}):e.type==="profile-photo"?i.jsx(c("FDSProfilePhoto.react"),{shape:e.shape,size:e.size,source:e.source}):e.type==="sprite"?i.jsx(c("CometImageFromIXValueRelayWrapper.react"),{sprite:e.sprite}):void 0,b[0]=e.icon,b[1]=e.shape,b[2]=e.size,b[3]=e.source,b[4]=e.sprite,b[5]=e.type,b[6]=p):p=b[6];b[7]!==f||b[8]!==k?(e=i.jsx(c("FDSTextPairing.react"),{body:f,headline:k,level:4}),b[7]=f,b[8]=k,b[9]=e):e=b[9];b[10]===Symbol["for"]("react.memo_cache_sentinel")?(f={tap_point:"mega_menu"},k={navigation_source:"mega_menu_click"},b[10]=f,b[11]=k):(f=b[10],k=b[11]);b[12]!==a?(f={productAttribution:f,traceParams:k,url:a},b[12]=a,b[13]=f):f=b[13];b[14]!==g||b[15]!==l||b[16]!==o||b[17]!==m?(k=function(a){l&&l(a),m!=null&&d("logMegaMenuClick").logMegaMenuClick({index:g,pa:d("CometProductAttribution").getMinifiedTopMostRouteProductAttribution(o),tracking:m})},b[14]=g,b[15]=l,b[16]=o,b[17]=m,b[18]=k):k=b[18];h=(a=h)!=null?a:!1;b[19]!==n||b[20]!==p||b[21]!==e||b[22]!==f||b[23]!==k||b[24]!==h?(a=i.jsx(c("FDSListCellPressable.react"),{addOnStart:p,content:e,linkProps:f,onPress:k,paddingHorizontal:0,ref:n,role:"listitem",selected:h}),b[19]=n,b[20]=p,b[21]=e,b[22]=f,b[23]=k,b[24]=h,b[25]=a):a=b[25];return a}g["default"]=a}),98);
__d("CometMegaMenuTypeaheadListViewItem.react",["CometMegaMenuListItem.react","FBLogger","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=d("react-compiler-runtime").c(12),e=a.entry,f=a.isActive,g=a.onPressEntry;a=e.label;var h=e.rawData,j=h.addOnPrimary,k=h.body,l=h.index,m=h.tracking;h=h.url;j.type!=="icon"&&j.type!=="profile-photo"&&c("FBLogger")("comet_bookmarks").mustfix("icon and profile-photo is the only addOn type supported in megamenu items. and passed: %s, with entry: %s",j.type,e.label);var n;b[0]!==e||b[1]!==g?(n=function(a){g&&g(e,a)},b[0]=e,b[1]=g,b[2]=n):n=b[2];var o;b[3]!==j||b[4]!==k||b[5]!==l||b[6]!==f||b[7]!==a||b[8]!==n||b[9]!==m||b[10]!==h?(o=i.jsx(c("CometMegaMenuListItem.react"),{addOnPrimary:j,body:k,index:l,isActive:f,name:a,onPress:n,tracking:m,url:h}),b[3]=j,b[4]=k,b[5]=l,b[6]=f,b[7]=a,b[8]=n,b[9]=m,b[10]=h,b[11]=o):o=b[11];return o}g["default"]=a}),98);
__d("CometMegaMenuTypeaheadListViewStrategy.react",["fbt","CometColumn.react","CometColumnItem.react","CometMegaMenuTypeaheadListViewItem.react","CometTypeaheadViewList.react","FDSUnitHeader.react","react","react-compiler-runtime","requireDeferred"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=c("requireDeferred")("BizkitWebRedirectFalcoEvent").__setRef("CometMegaMenuTypeaheadListViewStrategy.react");function a(a){var b=d("react-compiler-runtime").c(9),e=a.ariaProps,f=a.entries,g=a.highlightedEntry,i=a.onHighlightEntry,m=a.onPressEntry,n=a.queryString,o;if(b[0]!==e||b[1]!==f||b[2]!==g||b[3]!==i||b[4]!==m||b[5]!==n){var p=new Map();f.forEach(function(a){var b=a.rawData;b=b.folderName;var c=p.get(b);c!=null?c.push(a):p.set(b,[a])});b[7]!==m?(a=function(a,b){k.onReady(l),m(a,b)},b[7]=m,b[8]=a):a=b[8];var q=a;o=[];p.forEach(function(a,b){var d=o.length>0;o.push(j.jsxs(c("CometColumn.react"),{paddingHorizontal:8,paddingTop:0,paddingVertical:20,children:[j.jsx(c("CometColumnItem.react"),{"aria-level":4,paddingTop:0,paddingVertical:8,role:"heading",children:j.jsx(c("FDSUnitHeader.react"),{hasTopDivider:d,headline:b,level:3,paddingHorizontal:8,paddingTop:d?20:8})}),j.jsx(c("CometColumnItem.react"),{paddingTop:0,children:j.jsx(c("CometTypeaheadViewList.react"),{ariaProps:babelHelpers["extends"]({},e,{"aria-label":h._(/*BTDS*/"__JHASH__TeV9TD8N_11__JHASH__",[h._plural(a.length,"number")]),role:"list"}),entries:a,highlightedEntry:g,children:function(a){var b=a.entry,d=a.isActive;a=a.itemRole;return j.jsx(c("CometMegaMenuTypeaheadListViewItem.react"),{entry:b,isActive:d,onHighlightEntry:i,onPressEntry:b.label==="Meta Business Suite"?q:m,queryString:n,role:a},b.key)}})})]},b))});b[0]=e;b[1]=f;b[2]=g;b[3]=i;b[4]=m;b[5]=n;b[6]=o}else o=b[6];return o}function l(a){a.log(m)}function m(){return{entrypoint:"fb_bookmark"}}g["default"]=a}),226);
__d("CometMegaMenuViewStrategy.react",["CometMegaMenuListSectionsLoadingState.react","CometMegaMenuNullState.react","CometMegaMenuTypeaheadListViewItem.react","CometMegaMenuTypeaheadListViewStrategy.react","CometScrollableArea.react","react","react-compiler-runtime","useCometInternalTypeaheadState","useCometTypeaheadKeyboardForScrollableArea"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=d("react-compiler-runtime").c(14);if(b[0]!==a){var e=a.entries;a.isLoading;var f=a.queryString,g=babelHelpers.objectWithoutPropertiesLoose(a,["entries","isLoading","queryString"]);e=e;f=f;g=g;b[0]=a;b[1]=e;b[2]=f;b[3]=g}else e=b[1],f=b[2],g=b[3];a=c("useCometInternalTypeaheadState")();a=a.highlightedEntry;var h=c("useCometTypeaheadKeyboardForScrollableArea")(a);if(e.length===0)if(f.length>0){var j;b[4]===Symbol["for"]("react.memo_cache_sentinel")?(j=i.jsx("div",babelHelpers["extends"]({className:"x78zum5 x5yr21d"},{children:i.jsx(c("CometMegaMenuNullState.react"),{})})),b[4]=j):j=b[4];return j}else if(f.length===0){b[5]===Symbol["for"]("react.memo_cache_sentinel")?(j=i.jsx(c("CometMegaMenuListSectionsLoadingState.react"),{}),b[5]=j):j=b[5];return j}b[6]!==e||b[7]!==a||b[8]!==f||b[9]!==g?(j=i.jsx(c("CometMegaMenuTypeaheadListViewStrategy.react"),babelHelpers["extends"]({},g,{entries:e,highlightedEntry:a,isLoading:!1,queryString:f,viewItemStrategyRenderer:c("CometMegaMenuTypeaheadListViewItem.react")})),b[6]=e,b[7]=a,b[8]=f,b[9]=g,b[10]=j):j=b[10];b[11]!==h||b[12]!==j?(e=i.jsx(c("CometScrollableArea.react"),{horizontal:!1,ref:h,children:j}),b[11]=h,b[12]=j,b[13]=e):e=b[13];return e}g["default"]=a}),98);
__d("useCometMegaMenuTypeaheadDataSource_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},b={kind:"Variable",name:"scale",variableName:"scale"},c={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null};a=[a,{alias:null,args:[{kind:"Literal",name:"environment",value:"COMET"},{kind:"Literal",name:"query_source",value:"COMET_MEGA_MENU"}],concreteType:"FolderBookmarksConnection",kind:"LinkedField",name:"bookmarks",plural:!1,selections:[{alias:null,args:null,concreteType:"Bookmark",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},a,{alias:null,args:[{kind:"Literal",name:"site",value:"comet"}],kind:"ScalarField",name:"url",storageKey:'url(site:"comet")'},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"tracking",storageKey:null},{alias:null,args:[{kind:"Literal",name:"icon_size",value:"DP36"},b],concreteType:"Image",kind:"LinkedField",name:"bookmark_icon_image",plural:!1,selections:[c],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:36},{kind:"Literal",name:"icon_style",value:"CASPIAN"},b,{kind:"Literal",name:"width",value:36}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[c,{alias:null,args:null,kind:"ScalarField",name:"is_silhouette",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"section",storageKey:null}],storageKey:null}],storageKey:'bookmarks(environment:"COMET",query_source:"COMET_MEGA_MENU")'}];return{argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"useCometMegaMenuTypeaheadDataSource_viewer",selections:[{alias:"social",args:[{kind:"Literal",name:"folder",value:"SOCIAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"SOCIAL")'},{alias:"entertainment",args:[{kind:"Literal",name:"folder",value:"ENTERTAINMENT"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"ENTERTAINMENT")'},{alias:"shopping",args:[{kind:"Literal",name:"folder",value:"SHOPPING"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"SHOPPING")'},{alias:"personal",args:[{kind:"Literal",name:"folder",value:"PERSONAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"PERSONAL")'},{alias:"professional",args:[{kind:"Literal",name:"folder",value:"PROFESSIONAL"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"PROFESSIONAL")'},{alias:"communityResources",args:[{kind:"Literal",name:"folder",value:"COMMUNITY_RESOURCES"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"COMMUNITY_RESOURCES")'},{alias:"appsFromFacebook",args:[{kind:"Literal",name:"folder",value:"APPS_FROM_FACEBOOK"}],concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:a,storageKey:'bookmark_folder(folder:"APPS_FROM_FACEBOOK")'},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"actor",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"profile_plus_should_hoist_professional_section_comet_mega_menu",storageKey:null}],type:"User",abstractKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
__d("useCometMegaMenuTypeaheadDataSource",["CometBookmarksAddOnUtils","CometRelay","ConstUriUtils","baseTypeaheadContainsMatchBuilder","gkx","qex","react-compiler-runtime","useCometMegaMenuTypeaheadDataSource_viewer.graphql","useCometTypeaheadStaticDataSource","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i="mega_menu",j=h!==void 0?h:h=b("useCometMegaMenuTypeaheadDataSource_viewer.graphql");function k(a){var b;b=(a==null?void 0:(b=a.actor)==null?void 0:b.profile_plus_should_hoist_professional_section_comet_mega_menu)===!0;b=[b?a==null?void 0:a.professional:null,a==null?void 0:a.social,a==null?void 0:a.entertainment,a==null?void 0:a.shopping,a==null?void 0:a.personal,b?null:a==null?void 0:a.professional,a==null?void 0:a.communityResources,a==null?void 0:a.appsFromFacebook].filter(Boolean);c("qex")._("3556");c("qex")._("3557");return b.map(function(a){var b;b=a==null?void 0:(b=a.bookmarks)==null?void 0:b.nodes;var e=a==null?void 0:a.name;return b==null||e==null?null:b.map(function(a,b){var f=a.bookmark_icon_image,g=a.description,h=a.id,j=a.image,k=a.name,l=a.section,m=a.tracking;a=a.url;f=d("CometBookmarksAddOnUtils").getBookmarkAddOnStart(f==null?void 0:f.uri,j==null?void 0:j.uri,j==null?void 0:j.is_silhouette,l);if(h==null||k==null||f==null)return null;if(a!=null&&a.includes("nme_fb_comet_bookmark")){j=c("gkx")("11201");if(!j)return null}return{key:h,label:k,rawData:{addOnPrimary:f,body:g,folderName:e,index:b,tracking:m,url:a!=null&&a.includes("/watch/")?(l=d("ConstUriUtils").getUri(a))==null?void 0:(j=l.addQueryParam("ref",i))==null?void 0:j.toString():a},type:"entry"}}).filter(Boolean).flat()}).filter(Boolean).flat()}function a(a){var b=d("react-compiler-runtime").c(4),e=d("CometRelay").useFragment(j,a);b[0]!==e?(a=function(){return k(e)},b[0]=e,b[1]=a):a=b[1];a=c("useStable")(a);var f;b[2]!==a?(f={entries:a,limit:Number.MAX_VALUE,matchBuilder:c("baseTypeaheadContainsMatchBuilder")},b[2]=a,b[3]=f):f=b[3];return c("useCometTypeaheadStaticDataSource")(f)}g["default"]=a}),98);
__d("CometMegaMenuTypeahead.react",["fbt","BaseTypeahead.react","CometMegaMenuTypeaheadInputRoundedStrategy.react","CometMegaMenuViewStrategy.react","CometTypeaheadLayoutInlineStrategy.react","gkx","react","react-compiler-runtime","useCometMegaMenuTypeaheadDataSource","useCometTypeaheadNavigate"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react"));i.useCallback;function a(a){var b=d("react-compiler-runtime").c(10),e=a.megaMenuTypeaheadFragmentRef,f=a.onChange,g=a.onPressEntry;a=a.queryString;e=c("useCometMegaMenuTypeaheadDataSource")(e);var i;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(i={openNewTabForExternalLink:c("gkx")("5776"),tapPoint:"tap_mega_menu_search_bar"},b[0]=i):i=b[0];var k=c("useCometTypeaheadNavigate")(i);b[1]!==k||b[2]!==g?(i=function(b){var a=b.rawData;a=a.url;k(a);g&&g(b)},b[1]=k,b[2]=g,b[3]=i):i=b[3];i=i;var l;b[4]===Symbol["for"]("react.memo_cache_sentinel")?(l=h._(/*BTDS*/"__JHASH__-FV69wnGAnd__JHASH__"),b[4]=l):l=b[4];b[5]!==e||b[6]!==i||b[7]!==f||b[8]!==a?(l=j.jsx(c("BaseTypeahead.react"),{dataSource:e,inputStrategyRenderer:c("CometMegaMenuTypeaheadInputRoundedStrategy.react"),layoutStrategyRenderer:c("CometTypeaheadLayoutInlineStrategy.react"),onChange:f,onPressEntry:i,placeholder:l,queryString:a,viewStrategyRenderer:c("CometMegaMenuViewStrategy.react")}),b[5]=e,b[6]=i,b[7]=f,b[8]=a,b[9]=l):l=b[9];return l}g["default"]=a}),226);
__d("CometHomeMegaMenuAllProducts.react",["CometColumn.react","CometColumnItem.react","CometHomeMegaMenuAllProductsQuery.graphql","CometMegaMenuTypeahead.react","CometRelay","FDSCard.react","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useState,l={cardWidth:{width:"x1cvmir6",$$css:!0},minHeight:{minHeight:"xpt8i6g",$$css:!0}};function a(a){var e=d("react-compiler-runtime").c(4),f=a.onClose;a=a.queryRef;var g=k(""),i=g[0];g=g[1];a=d("CometRelay").usePreloadedQuery(h!==void 0?h:h=b("CometHomeMegaMenuAllProductsQuery.graphql"),a);a=a.viewer;e[0]!==i||e[1]!==f||e[2]!==a?(g=j.jsx(c("FDSCard.react"),{background:"default",dropShadow:1,xstyle:l.minHeight,children:j.jsx(c("CometColumn.react"),{xstyle:l.cardWidth,children:j.jsx(c("CometColumnItem.react"),{children:j.jsx(c("CometMegaMenuTypeahead.react"),{megaMenuTypeaheadFragmentRef:a,onChange:g,onPressEntry:f,queryString:i})})})}),e[0]=i,e[1]=f,e[2]=a,e[3]=g):g=e[3];return g}g["default"]=a}),98);
__d("useCreateMenuComposerDialog",["fbt","react","react-compiler-runtime","useFeedComposerCometDialog","useResumableComposerViewState"],(function(a,b,c,d,e,f,g,h){"use strict";var i;(i||d("react")).useCallback;function a(a){var b=d("react-compiler-runtime").c(18),e;b[0]!==a?(e=a===void 0?{}:a,b[0]=a,b[1]=e):e=b[1];a=e;e=a.composerEntryPointName;var f=a.composerSourceSurface;a=a.composerType;e=e===void 0?"navbar_create_menu":e;f=f===void 0?"newsfeed":f;a=a===void 0?"feed":a;var g=c("useResumableComposerViewState")(),i=g.clearResumableViewState,j=g.getResumableViewState,k=g.saveResumableViewState;b[2]!==i?(g=function(){i()},b[2]=i,b[3]=g):g=b[3];g=g;var l;b[4]!==k?(l=function(a){k(a)},b[4]=k,b[5]=l):l=b[5];l=l;var m;b[6]===Symbol["for"]("react.memo_cache_sentinel")?(m=h._(/*BTDS*/"__JHASH__J5sDia9lY4j__JHASH__"),b[6]=m):m=b[6];b[7]!==e||b[8]!==f||b[9]!==a||b[10]!==l||b[11]!==g?(m={composerEntryPointName:e,composerSourceSurface:f,composerType:a,onBeforeClose:l,onSave:g,title:m,tracePolicy:"comet.composer.feed.navbar_create_menu"},b[7]=e,b[8]=f,b[9]=a,b[10]=l,b[11]=g,b[12]=m):m=b[12];e=c("useFeedComposerCometDialog")(m);var n=e[0];b[13]!==j||b[14]!==n?(f=function(){var a=j();n({beginningViewState:a})},b[13]=j,b[14]=n,b[15]=f):f=b[15];a=f;b[16]!==a?(l=[a],b[16]=a,b[17]=l):l=b[17];return l}g["default"]=a}),226);
__d("CometHomeMegaMenuCreateMenu.react",["fbt","CometHomeCreateMenuContent.react","CometRow.react","CometRowItem.react","FDSCard.react","FDSText.react","react","react-compiler-runtime","useCreateMenuComposerDialog"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=d("react-compiler-runtime").c(5),e=a.cometHomeCreateMenuContentQueryRef;a=a.onClose;var f=c("useCreateMenuComposerDialog")();f=f[0];var g;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(g=j.jsx(c("CometRow.react"),{paddingVertical:16,children:j.jsx(c("CometRowItem.react"),{"aria-level":3,role:"heading",children:j.jsx(c("FDSText.react"),{type:"headlineEmphasized2",children:h._(/*BTDS*/"__JHASH__oBohHykhRA9__JHASH__")})})}),b[0]=g):g=b[0];b[1]!==e||b[2]!==a||b[3]!==f?(g=j.jsxs(c("FDSCard.react"),{background:"default",dropShadow:1,children:[g,j.jsx(c("CometHomeCreateMenuContent.react"),{cometHomeCreateMenuContentQueryRef:e,hideBody:!0,onClose:a,showComposerDialog:f,tapPoint:"mega_menu"})]}),b[1]=e,b[2]=a,b[3]=f,b[4]=g):g=b[4];return g}g["default"]=a}),226);
__d("CometHomeMegaMenuShortcutsQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7883063908479528"}),null);
__d("CometHomeMegaMenuShortcutsQuery.graphql",["CometHomeMegaMenuShortcutsQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"scale"}],c=[{kind:"Literal",name:"folder",value:"FAVORITES"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={kind:"Variable",name:"scale",variableName:"scale"},f={alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null};e={alias:"shortcut_bookmark",args:[{kind:"Literal",name:"environment",value:"COMET"},{kind:"Literal",name:"query_source",value:"COMET_MEGA_MENU"},{kind:"Literal",name:"sections",value:["FOLDER","USER","USER_TOOL","GAME_TOOL","FACEBOOK_APP","APP_TOOL","PLATFORM_APP","EVENT","GROUP_TOOL","GROUP","WORK_GROUPS_TEAM","WORK_GROUPS_SOCIAL","WORK_GROUPS_FEEDBACK","WORK_GROUPS_ANNOUNCEMENT","WORK_GROUPS_MULTI_COMPANY","PAGE","PAGE_TOOL","LIST_TOOL","FRIEND_LIST","INTEREST_LIST","NEO_USER"]}],concreteType:"FolderBookmarksConnection",kind:"LinkedField",name:"bookmarks",plural:!1,selections:[{alias:null,args:null,concreteType:"Bookmark",kind:"LinkedField",name:"nodes",plural:!0,selections:[d,{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:null,kind:"ScalarField",name:"tracking",storageKey:null},{alias:null,args:[{kind:"Literal",name:"icon_size",value:"DP36"},e],concreteType:"Image",kind:"LinkedField",name:"bookmark_icon_image",plural:!1,selections:[f],storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:36},{kind:"Literal",name:"icon_style",value:"CASPIAN"},e,{kind:"Literal",name:"width",value:36}],concreteType:"Image",kind:"LinkedField",name:"image",plural:!1,selections:[f,{alias:null,args:null,kind:"ScalarField",name:"is_silhouette",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"section",storageKey:null}],storageKey:null}],storageKey:'bookmarks(environment:"COMET",query_source:"COMET_MEGA_MENU",sections:["FOLDER","USER","USER_TOOL","GAME_TOOL","FACEBOOK_APP","APP_TOOL","PLATFORM_APP","EVENT","GROUP_TOOL","GROUP","WORK_GROUPS_TEAM","WORK_GROUPS_SOCIAL","WORK_GROUPS_FEEDBACK","WORK_GROUPS_ANNOUNCEMENT","WORK_GROUPS_MULTI_COMPANY","PAGE","PAGE_TOOL","LIST_TOOL","FRIEND_LIST","INTEREST_LIST","NEO_USER"])'};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CometHomeMegaMenuShortcutsQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:"shortcut_bookmarks",args:c,concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:[e],storageKey:'bookmark_folder(folder:"FAVORITES")'}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CometHomeMegaMenuShortcutsQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:"shortcut_bookmarks",args:c,concreteType:"FolderBookmark",kind:"LinkedField",name:"bookmark_folder",plural:!1,selections:[e,d],storageKey:'bookmark_folder(folder:"FAVORITES")'}],storageKey:null}]},params:{id:b("CometHomeMegaMenuShortcutsQuery_facebookRelayOperation"),metadata:{},name:"CometHomeMegaMenuShortcutsQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
__d("CometHomeMegaMenuShortcuts.react",["fbt","CometBookmarksAddOnUtils","CometColumn.react","CometColumnItem.react","CometHomeMegaMenuShortcutsQuery.graphql","CometMegaMenuListItem.react","CometRelay","CometRow.react","CometRowItem.react","FDSCard.react","FDSText.react","WebPixelRatio","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(){var a=d("react-compiler-runtime").c(3),e=d("CometRelay").useLazyLoadQuery(i!==void 0?i:i=b("CometHomeMegaMenuShortcutsQuery.graphql"),{scale:d("WebPixelRatio").get()});e=(e=e.viewer)==null?void 0:(e=e.shortcut_bookmarks)==null?void 0:(e=e.shortcut_bookmark)==null?void 0:e.nodes;if(e==null||e.length===0)return null;var f;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(f=k.jsx(c("CometRow.react"),{paddingVertical:16,children:k.jsx(c("CometRowItem.react"),{"aria-level":3,role:"heading",children:k.jsx(c("FDSText.react"),{type:"headlineEmphasized2",children:h._(/*BTDS*/"__JHASH__x8UckN5k1nH__JHASH__")})})}),a[0]=f):f=a[0];a[1]!==e?(f=k.jsxs(c("FDSCard.react"),{background:"default",dropShadow:1,children:[f,k.jsx(c("CometColumn.react"),{paddingHorizontal:8,children:e.map(l).filter(Boolean)})]}),a[1]=e,a[2]=f):f=a[2];return f}function l(a,b){var e=a.bookmark_icon_image,f=a.id,g=a.image,h=a.name,i=a.section,j=a.tracking,l=a.url;e=d("CometBookmarksAddOnUtils").getBookmarkAddOnStart(e==null?void 0:e.uri,g==null?void 0:g.uri,g==null?void 0:g.is_silhouette,i);return f==null||h==null||e==null?null:k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CometMegaMenuListItem.react"),{addOnPrimary:e,body:null,index:b,isActive:!1,name:h,tracking:j,url:l})},a.id)}l.displayName=l.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometHomeMegaMenuRoot.react",["fbt","CometColumn.react","CometColumnItem.react","CometDirectionalDockingView.react","CometHomeMegaMenuAllProducts.react","CometHomeMegaMenuCreateMenu.react","CometHomeMegaMenuShortcuts.react","CometMegaMenuListSectionsLoadingState.react","CometPlaceholder.react","CometScrollView.react","CometTopNavListDropdown.react","CometTopNavListDropdownCard.react","FDSCard.react","FDSResponsiveColumns.react","FDSText.react","react","react-compiler-runtime","stylex","useMatchViewport"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));j.useMemo;var l={createMenu:{maxWidth:"x1ncir08",overflowAnchor:"x1xzczws",$$css:!0},scrollView:{height:"x101xi1x",paddingBottom:"x1l90r2v",paddingStart:"x1swvt13",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,$$css:!0}},m={hideCreateMenuSideNavOnSmallScreens:{"@media (max-width: 700px)_display":"x1gz44f",$$css:!0}};function a(a){var b=d("react-compiler-runtime").c(27),e=a.props;a=a.queries;e=e.onClose;var f=c("useMatchViewport")("max","width",1100),g=a.cometHomeCreateMenuContentQueryRef;a=a.megaMenuTypeaheadQueryRef;var j;b[0]!==a||b[1]!==e?(j=k.jsx(c("CometHomeMegaMenuAllProducts.react"),{onClose:e,queryRef:a}),b[0]=a,b[1]=e,b[2]=j):j=b[2];a=j;j=a;b[3]!==g||b[4]!==e?(a=k.jsx(c("CometHomeMegaMenuCreateMenu.react"),{cometHomeCreateMenuContentQueryRef:g,onClose:e}),b[3]=g,b[4]=e,b[5]=a):a=b[5];g=a;b[6]===Symbol["for"]("react.memo_cache_sentinel")?(e=k.jsx(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:16,children:k.jsx(c("CometColumnItem.react"),{"aria-level":2,role:"heading",children:k.jsx(c("FDSText.react"),{type:"headlineEmphasized1",children:h._(/*BTDS*/"__JHASH__jgQOR0hxBFA__JHASH__")})})}),b[6]=e):e=b[6];b[7]!==j?(a=k.jsx("div",{className:i||(i=c("stylex")),children:j}),b[7]=j,b[8]=a):a=b[8];b[9]===Symbol["for"]("react.memo_cache_sentinel")?(j={className:"xlbmk9e xyamay9"},b[9]=j):j=b[9];b[10]!==g?(j=k.jsx("div",babelHelpers["extends"]({},j,{"data-testid":void 0,children:g})),b[10]=g,b[11]=j):j=b[11];var n;b[12]!==f?(n=f?k.jsx("div",babelHelpers["extends"]({className:"xyamay9"},{children:k.jsx(c("CometPlaceholder.react"),{fallback:k.jsx(c("FDSCard.react"),{background:"default",dropShadow:1,children:k.jsx(c("CometMegaMenuListSectionsLoadingState.react"),{})}),children:k.jsx(c("CometHomeMegaMenuShortcuts.react"),{})})})):null,b[12]=f,b[13]=n):n=b[13];b[14]!==a||b[15]!==j||b[16]!==n?(f=k.jsxs(d("FDSResponsiveColumns.react").Column,{children:[a,j,n]}),b[14]=a,b[15]=j,b[16]=n,b[17]=f):f=b[17];b[18]===Symbol["for"]("react.memo_cache_sentinel")?(a=[l.createMenu,m.hideCreateMenuSideNavOnSmallScreens],b[18]=a):a=b[18];b[19]!==g?(j=k.jsx(d("FDSResponsiveColumns.react").Column,{xstyle:a,children:k.jsx(c("CometDirectionalDockingView.react"),{bottom:16,bottomStickyAdjustment_DO_NOT_USE:-16,top:0,children:k.jsx("div",{"data-testid":void 0,children:g})})}),b[19]=g,b[20]=j):j=b[20];b[21]!==f||b[22]!==j?(n=k.jsxs(c("CometTopNavListDropdownCard.react"),{background:"card-flat",useFullWidth:!0,useMaxHeight:!0,children:[e,k.jsx(c("CometScrollView.react"),{showsHorizontalScrollIndicator:!1,xstyle:l.scrollView,children:k.jsxs(d("FDSResponsiveColumns.react").Container,{children:[f,j]})})]}),b[21]=f,b[22]=j,b[23]=n):n=b[23];a=n;b[24]===Symbol["for"]("react.memo_cache_sentinel")?(g=h._(/*BTDS*/"__JHASH__jgQOR0hxBFA__JHASH__"),b[24]=g):g=b[24];b[25]!==a?(e=k.jsx(c("CometTopNavListDropdown.react"),{label:g,name:"MegaMenu",children:a}),b[25]=a,b[26]=e):e=b[26];return e}g["default"]=a}),226);
__d("FDSAppFacebookReelsFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("155429"),20);b=a;g["default"]=b}),98);
__d("FDSCalendarAddFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("640913"),20);b=a;g["default"]=b}),98);
__d("FDSComposeFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("507172"),20);b=a;g["default"]=b}),98);
__d("FDSFundraiserFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("510954"),20);b=a;g["default"]=b}),98);
__d("FDSLifeEventFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("481240"),20);b=a;g["default"]=b}),98);
__d("FDSMegaphoneFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("534262"),20);b=a;g["default"]=b}),98);
__d("FDSShoppingBagFilled20PNGIcon.react",["ix","fbicon"],(function(a,b,c,d,e,f,g,h){"use strict";a=d("fbicon")._(h("556467"),20);b=a;g["default"]=b}),98);