;/*FB_PKG_DELIM*/

__d("CometBookmarksAddOnUtils",["ImageIconSource"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d,e,f,g,h){f===void 0&&(f=36);g===void 0&&(g=36);d=d===!1||a==null;d=d?b:null;if(d==null&&a==null&&h==null)return null;if(d!=null&&e!=="FOLDER")return{shape:e==="USER"||e==="PAGE"?"circle":"roundedRect",size:g,source:{uri:d},type:"profile-photo"};else if(h!=null)return{sprite:h,type:"sprite"};else if(a!=null)return{icon:new(c("ImageIconSource"))(a,f,f),type:"icon"};return void 0}g.getBookmarkAddOnStart=a}),98);
__d("CometEditShortcutsDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7141705602567123"}),null);
__d("CometFeedHeaderGlimmer.react",["CometRow.react","CometRowItem.react","FDSGlimmer.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||(h=d("react"))).c,j=h,k={itemGlimmer:{borderTopStartRadius:"xhk9q7s",borderTopEndRadius:"x1otrzb0",borderBottomEndRadius:"x1i1ezom",borderBottomStartRadius:"x1o6z2jb",height:"xc9qbxq",width:"x1oysuqx",$$css:!0}};function a(){var a=i(2),b;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(b=j.jsx(c("CometRowItem.react"),{children:j.jsx(c("FDSGlimmer.react"),{index:0,xstyle:k.itemGlimmer})}),a[0]=b):b=a[0];a[1]===Symbol["for"]("react.memo_cache_sentinel")?(b=j.jsxs(c("CometRow.react"),{align:"justify",paddingHorizontal:0,paddingTop:0,paddingVertical:16,children:[b,j.jsx(c("CometRowItem.react"),{children:j.jsx(c("FDSGlimmer.react"),{index:1,xstyle:k.itemGlimmer})})]}),a[1]=b):b=a[1];return b}g["default"]=a}),98);
__d("XHealthPolicyCometControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/privacy/policies/health/",Object.freeze({entry:!0,dialog_back:!1,show_versions:!1}),void 0);b=a;g["default"]=b}),98);
__d("XPrivacyPolicyCometControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/privacy/policy/",Object.freeze({entry:!0,dialog_back:!1,show_versions:!1}),void 0);b=a;g["default"]=b}),98);
__d("CometLegalFooter.react",["fbt","ix","BaseMiddot.react","CometErrorBoundary.react","CometLazyPopoverTrigger.react","CometLink.react","CometPressable.react","FBCookieSettingsLoggedOutConfig","JSResourceForInteraction","ServerTime","TetraIcon.react","TetraText.react","XHealthPolicyCometControllerRouteBuilder","XPrivacyPolicyCometControllerRouteBuilder","fbicon","gkx","react","useCurrentRoute"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||d("react"),l=c("JSResourceForInteraction")("CometLegalFooterMoreMenu.react").__setRef("CometLegalFooter.react");function m(){try{var a;return(a=new Date(d("ServerTime").getMillis()))==null?void 0:a.getFullYear()}catch(a){return null}}function a(a){var b=a.isHelpCenter;b=b===void 0?!1:b;var e=a.isPage;e=e===void 0?!1:e;var f=a.onClick;a=d("FBCookieSettingsLoggedOutConfig").should_show_cookie_settings;var g=c("useCurrentRoute")(),j=m(),n=c("XPrivacyPolicyCometControllerRouteBuilder").buildUri({entry_point:"comet_dropdown"}),o=c("XHealthPolicyCometControllerRouteBuilder").buildUri({});e=[{href:"https://www.facebook.com/legal/terms/information_about_page_insights_data",label:h._("__JHASH__RkBJDYFRdLl__JHASH__"),render:e&&c("gkx")("22806")},{href:n.toString(),label:h._("__JHASH__Z_3os_2AQrs__JHASH__"),testid:"CometDropdownPrivacy"},{href:o.toString(),label:h._("__JHASH__AcDA-oKqr8I__JHASH__"),render:c("gkx")("2828"),testid:"CometDropdownHealthPrivacy"},{href:"/terms?ref=pf",label:"Impressum/Terms/NetzDG/UrhDaG",render:c("gkx")("22807")&&!c("gkx")("22808")},{href:"/terms?ref=pf",label:h._("__JHASH__Tb_jM_o0yIO__JHASH__"),render:c("gkx")("22808")},{href:"/legal/germany/",label:"UrhDaG/MStV",render:c("gkx")("22808")},{href:"/policies?ref=pf",label:h._("__JHASH___ar-Kl2JOGV__JHASH__"),render:!c("gkx")("22807")&&!c("gkx")("22808"),testid:"CometDropdownTerms"},{href:"/business/",label:h._("__JHASH__mhhxQw1kwXN__JHASH__")},{href:"/help/568137493302217",label:k.jsxs(k.Fragment,{children:[h._("__JHASH__-VACM9-xg7r__JHASH__")," ",k.jsx(c("CometErrorBoundary.react"),{children:k.jsx("span",{className:"x1n2onr6 x1qiirwl",children:k.jsx(c("TetraIcon.react"),{color:"secondary",icon:d("fbicon")._(i("871692"),12)})})})]})},{href:"/policies/cookies/",label:h._("__JHASH__ny0jKvyQU5q__JHASH__"),testid:"CometDropdownCookies"},{href:"/privacy/cookie_settings/",label:h._("__JHASH__ognjqE9a_Uf__JHASH__"),render:a},{href:"https://www.facebook.com/help/cancelcontracts?source=facebook.com",label:h._("__JHASH__xm829-e0M0c__JHASH__"),open_in_new_tab:!0,render:c("gkx")("4387")}].filter(function(a){return a.render==null||a.render===!0});var p=[];if((g==null?void 0:(n=g.rootView.props)==null?void 0:n.seoCrawlingPool)&&(g==null?void 0:(o=g.rootView.props)==null?void 0:o.seoCrawlingPool.url)){Array.from(Array((g==null?void 0:(a=g.rootView.props)==null?void 0:a.seoCrawlingPool.multiple_links)||0)).forEach(function(a,b){p.push(k.jsxs("li",{className:"xt0psk2",children:[k.jsx(c("CometLink.react"),{color:"secondary",href:g==null?void 0:(a=g.rootView.props)==null?void 0:a.seoCrawlingPool.url,onClick:f,weight:"normal",children:g==null?void 0:(a=g.rootView.props)==null?void 0:a.seoCrawlingPool.link_string}),k.jsx(c("BaseMiddot.react"),{})]},b))})}if((g==null?void 0:(n=g.rootView.props)==null?void 0:n.seoGrowthAutomationCrawlingPool)&&(g==null?void 0:(o=g.rootView.props)==null?void 0:o.seoGrowthAutomationCrawlingPool.url)){o=(n=g==null?void 0:(a=g.rootView.props)==null?void 0:a.seoCrawlingPool.multiple_links)!=null?n:0;p.push(k.jsxs("li",{className:"xt0psk2",children:[k.jsx(c("CometLink.react"),{color:"secondary",href:g==null?void 0:(a=g.rootView.props)==null?void 0:a.seoGrowthAutomationCrawlingPool.url,onClick:f,weight:"normal",children:g==null?void 0:(n=g.rootView.props)==null?void 0:n.seoGrowthAutomationCrawlingPool.link_string}),k.jsx(c("BaseMiddot.react"),{})]},o))}return k.jsx("footer",{"aria-label":h._("__JHASH__tiGW39WqjXY__JHASH__"),"data-testid":void 0,role:"contentinfo",children:k.jsxs(c("TetraText.react"),{color:"secondary",type:"meta3",children:[k.jsxs("ul",{className:"xt0psk2",children:[e.map(function(a,b){var d=a.href,e=a.label,g=a.open_in_new_tab;a=a.testid;return k.jsxs("li",{className:"xt0psk2",children:[k.jsx(c("CometLink.react"),{color:"secondary",href:d,onClick:f,target:g===!0?"_blank":"_self",testid:void 0,weight:"normal",children:e}),k.jsx(c("BaseMiddot.react"),{})]},b)}),p.length>0?p:null,k.jsx(c("CometErrorBoundary.react"),{children:k.jsxs("li",{className:"xt0psk2",children:[k.jsx(c("CometLazyPopoverTrigger.react"),{align:"middle",popoverProps:{isHelpCenter:b},popoverResource:l,popoverType:"menu",position:"below",children:function(a,b){return k.jsx(c("CometPressable.react"),{display:"inline",onPress:b,overlayDisabled:!0,ref:a,testid:void 0,children:h._("__JHASH__8p6jwwPKY3T__JHASH__")})}}),k.jsx(c("BaseMiddot.react"),{})]})})]}),h._("__JHASH__CATEtfQljbA__JHASH__",[h._param("year",j)])]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
__d("CometProfilePlusLeftNavMenuActionFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("2473");b=d("FalcoLoggerInternal").create("comet_profile_plus_left_nav_menu_action",a);e=b;g["default"]=e}),98);
__d("ProductEngagementSurface",["$InternalEnum"],(function(a,b,c,d,e,f){a=b("$InternalEnum")({BOOKMARK_LIST:"bookmark",PLAZA:"plaza",TAB:"tab",COMET_RHC:"comet_rhc",COMET_LHC:"comet_lhc",COMET_MEGA_MENU:"comet_mega_menu",COMET_MEGA_MENU_RECENT:"comet_mega_menu_recent",FEED:"feed",FBLITE:"fblite",GLOBAL_LIBRARY:"global_library",SEARCH:"search"});c=a;f["default"]=c}),66);
__d("useFullViewImpressionLogger",["BaseViewportMarginsContext","getIntersectionMarginFromViewportMargin","intersectionObserverEntryIsIntersecting","react","recoverableViolation","useIntersectionObserver"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useCallback,j=b.useContext,k=b.useRef,l=new Array(20).fill().map(function(a,b){return b/20}).concat(1);function a(a,b){var d=j(c("BaseViewportMarginsContext")),e=k({bottomRight:!1,hasBeenLogged:!1,topLeft:!1}),f=k(!1),g=i(function(d){var g=c("intersectionObserverEntryIsIntersecting")(d);if(!g&&e.current.hasBeenLogged)e.current={bottomRight:!1,hasBeenLogged:!1,topLeft:!1};else if(g&&!e.current.hasBeenLogged){g=d.rootBounds;if(g==null){f.current||(f.current=!0,c("recoverableViolation")("entry.rootBounds was null in useFullViewImpressionLogger","comet_feed"));return}d.intersectionRatio===1?(e.current.bottomRight=!0,e.current.topLeft=!0):(e.current.bottomRight||(e.current.bottomRight=d.boundingClientRect.bottom<=g.bottom&&d.boundingClientRect.right<=g.right),e.current.topLeft||(e.current.topLeft=d.boundingClientRect.top>=g.top&&d.boundingClientRect.left>=g.left));if(e.current.bottomRight&&e.current.topLeft){var h=new Date();e.current.hasBeenLogged=!0;a.onReady(function(a){b(a,h)})}}},[b,a]);return c("useIntersectionObserver")(g,{root:null,rootMargin:c("getIntersectionMarginFromViewportMargin")(d),threshold:l})}g["default"]=a}),98);
__d("useBookmarkFalcoFullViewLogger",["CometPassiveGetRouterStateContext","CometProductAttribution","react","requireDeferred","useFullViewImpressionLogger","useMinifiedProductAttribution"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;b.useCallback;var i=b.useContext,j=b.useRef,k=b.c,l=c("requireDeferred")("WebBookmarkImpressionFalcoEvent").__setRef("useBookmarkFalcoFullViewLogger"),m=60*1e3;function a(a,b,e,f){var g=k(10),h=j(0),n=i(c("CometPassiveGetRouterStateContext")),o=c("useMinifiedProductAttribution")(),p;g[0]!==f||g[1]!==n||g[2]!==o?(p=function(){return f==="comet_mega_menu"||f==="comet_mega_menu_recent"?d("CometProductAttribution").getMinifiedTopMostRouteProductAttribution(n):o},g[0]=f,g[1]=n,g[2]=o,g[3]=p):p=g[3];var q=p;g[4]!==a||g[5]!==b||g[6]!==e||g[7]!==q||g[8]!==f?(p=function(c,d){d=d.getTime();if(d-h.current>=m&&a!=null){h.current=d;var g=b==null?void 0:b.toString(),i=e==null?void 0:e.toString();c.log(function(){return{interface_override:"comet_www",item_rank:g,pa:q(),shortcut_count:i,surface:f,tracking_data:a}})}},g[4]=a,g[5]=b,g[6]=e,g[7]=q,g[8]=f,g[9]=p):p=g[9];g=p;return c("useFullViewImpressionLogger")(l,g)}g["default"]=a}),98);
__d("useCometFeedViewportMaintainer",["cr:163"],(function(a,b,c,d,e,f,g){"use strict";c=(a=b("cr:163"))!=null?a:function(){return{hasMaintainedFeedUnits:function(){return!1},isViewstateIDMaintained:function(){return!1},renderMaintainedFeedUnits:function(){return[]},setMaintainedViewstateIDs:function(){}}};d=c;g["default"]=d}),98);
__d("useCometIsReloadingCurrentRoute",["CometRouterLoadingContextInternals_DO_NOT_USE","getTopMostRoute","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect,k=b.useState;function a(a){var b=k(!1),d=b[0],e=b[1],f=i(c("CometRouterLoadingContextInternals_DO_NOT_USE"));j(function(){var b=f(function(b,d){e(b.loading===!0&&(b==null?void 0:b.nextState)!=null&&c("getTopMostRoute")(b.nextState).tracePolicy===a&&c("getTopMostRoute")(d).tracePolicy===a)});return function(){b()}},[f,a]);return d}g["default"]=a}),98);