;/*FB_PKG_DELIM*/

__d("CometVideoHomeFeedAutoAdvanceAPIContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({advance:function(){},register:function(){},unregister:function(){}});g["default"]=b}),98);
__d("CometVideoHomeFunnelLoggingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({hasPermalinkInjection:!1});g["default"]=b}),98);
__d("CometVideoHomeInjectionPortalingContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({initialTracePolicy:null,injectedVideoID:null,portableVideoID:null,subOrigin:null});g["default"]=b}),98);
__d("CometVideoHomeRootContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({autoplay:!0,injectedVideoID:null,isFacebookReferrer:!1,qplInstanceKey:0,renderedInWatchRoot:!1});g["default"]=b}),98);
__d("MediaPlaybackCompoundEventUtils",["CometProductAttribution"],(function(a,b,c,d,e,f,g){"use strict";function a(a){if((a==null?void 0:a.v2)&&(a==null?void 0:a.v2.length)>0){a=a==null?void 0:a.v2;a=a[a.length-1];return[a["class"],a.module].map(d("CometProductAttribution").filterEntryValue).join(":")}return""}function b(a){var b=0;switch(a){case"autoplay_initiated":b=1;break;case"loop_initiated":b=7;break;case"product_initiated":b=8;break;case"user_initiated":b=2;break;default:break}return b}g.minifyProductAttributionV2Root=a;g.getMediaPlaybackPlayReason=b}),98);
__d("FBVideoMetadataProvider",["CometProductAttribution","MediaPlaybackCompoundEventUtils","VideoPlayerImplementationErrorNormalization","getPlayerFormatForLogData","getVideoBrowserTabId"],(function(a,b,c,d,e,f,g){"use strict";function a(){return{getErrorMetadata:function(a){a=a.videoPlayerError;var b=a.errorMessageFormat,c=a.errorName,e=a.errorType;a=a.errorCode==null||a.errorCode===""?c:a.errorCode;e={code:a,description:b,domain:c,error:c,type:String((a=e)!=null?a:d("VideoPlayerImplementationErrorNormalization").getErrorTypeFromErrorName(c,b))};return e},getRequiredMetadata:function(a){var b,e,f=a.loggingMetaData;a=a.state;b=(b=f.coreVideoPlayerMetaData.isLiveStreaming)!=null?b:void 0;e=(e=f.coreVideoPlayerMetaData.videoFBID)!=null?e:"-1";var g=f.coreVideoPlayerMetaData.adClientToken==null?"organic":"paid",h=f.productAttribution!=null?d("MediaPlaybackCompoundEventUtils").minifyProductAttributionV2Root(f.productAttribution):null,i=a.controlledState.lastPlayReason!=null?d("MediaPlaybackCompoundEventUtils").getMediaPlaybackPlayReason(a.controlledState.lastPlayReason):null;b={browser_tab_id:c("getVideoBrowserTabId")(),current_watching_module:"",is_live_streaming:b,media_id:e,player_suborigin:f.coreVideoPlayerMetaData.subOrigin,player_version:a.playerVersion,sessionizer_nav_chain:h,tracking_data_encrypted:f.trackingDataEncrypted,tracking_type:g,video_play_reason:i};return b},getTagMetadata:function(a){var b,e=a.logDataAdditions,f=a.loggingMetaData;a=a.state;var g=f.productAttribution!=null?d("CometProductAttribution").minifyProductAttributionV2(f.productAttribution):void 0,h=a.controlledState.captionsVisible;b=c("getPlayerFormatForLogData")({isDesktopPictureInPicture:(b=a.controlledState.isDesktopPictureInPicture)!=null?b:!1,isFullscreen:a.uncontrolledState.isFullscreen},f.coreVideoPlayerMetaData.playerFormat);f=!(a.controlledState.muted||a.controlledState.volume===0);a=a.controlledState.lastPlayReason!=null?d("MediaPlaybackCompoundEventUtils").getMediaPlaybackPlayReason(a.controlledState.lastPlayReason):null;g={attribution_id_v2:g,captions_displayed:h,player_format:b,player_sound_on:f,video_chaining_depth_level:e.video_chaining_depth_level,video_chaining_parent_video_id:e.video_chaining_parent_video_id,video_chaining_session_id:e.video_chaining_session_id,video_play_reason:a};return g}}}g.createFBVideoMetadataProvider=a}),98);
__d("InterventionDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="26182775771338299"}),null);
__d("InterventionDialogQuery$Parameters",["InterventionDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("InterventionDialogQuery_facebookRelayOperation"),metadata:{},name:"InterventionDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("InterventionDialog.entrypoint",["InterventionDialogQuery$Parameters","JSResourceForInteraction","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{extraProps:a,queries:{InterventionDialogQueryReference:{parameters:c("InterventionDialogQuery$Parameters"),variables:{actionType:a.actionType,entityID:a.entityID,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("InterventionDialog.react").__setRef("InterventionDialog.entrypoint")};g["default"]=a}),98);
__d("VideoHomeGlobalSoundContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({muted:!0,setMuted:function(){},setVolume:function(){},volume:1});g["default"]=b}),98);
__d("XCometFBReelControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/reel/{?video_id}/",Object.freeze({hide_next:!1}),void 0);b=a;g["default"]=b}),98);
__d("XCometVanityWoodhengeSupportersURLControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{vanity}/supporters/",Object.freeze({should_open_composer:!1}),void 0);b=a;g["default"]=b}),98);
__d("XCometWoodhengeSignUpControllerRouteBuilder",["jsRouteBuilder"],(function(a,b,c,d,e,f,g){a=c("jsRouteBuilder")("/{page_token}/support/",Object.freeze({}),void 0);b=a;g["default"]=b}),98);
__d("cometVideoHomeScrollTo",["VideoHomeTypedLiteLogger","scrollTo"],(function(a,b,c,d,e,f,g){"use strict";function b(b,d,e){b=b.getBoundingClientRect();var f=b.height;b=b.top;e=(window.innerHeight-d-e-f)/2+d;f=e-b;c("scrollTo")({behavior:"smooth",left:a.pageXOffset,top:a.pageYOffset-f});c("VideoHomeTypedLiteLogger").log({event:"auto_scroll"})}g["default"]=b}),98);
__d("cometVideoHomeScrollToRef",["cometVideoHomeScrollTo"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){if(a==null)return;a=a.current;if(a==null)return;c("cometVideoHomeScrollTo")(a,b,d)}g["default"]=a}),98);