;/*FB_PKG_DELIM*/ __d("CometFeedInlineComposerPressableProfilePic_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedInlineComposerPressableProfilePic_profile",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],type:"Entity",abstractKey:"__isEntity"},{args:null,kind:"FragmentSpread",name:"CometFeedInlineComposerProfilePic_profile"},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("CometFeedInlineComposerProfilePic_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{kind:"RootArgument",name:"scale"}],kind:"Fragment",metadata:null,name:"CometFeedInlineComposerProfilePic_profile",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:[{kind:"Literal",name:"height",value:40},{kind:"Variable",name:"scale",variableName:"scale"},{kind:"Literal",name:"width",value:40}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:null}],type:"Profile",abstractKey:"__isProfile"};e.exports=a}),null); __d("CometFeedInlineComposerWOYM_profile.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometFeedInlineComposerWOYM_profile",selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"short_name",storageKey:null}],type:"User",abstractKey:null}],type:"Actor",abstractKey:"__isActor"};e.exports=a}),null); __d("SPFCometConnectionsDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7222473857827559"}),null); __d("SPFCometConnectionsDialogQuery$Parameters",["SPFCometConnectionsDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("SPFCometConnectionsDialogQuery_facebookRelayOperation"),metadata:{},name:"SPFCometConnectionsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null); __d("StoriesTrayTileView_LWRAnimations.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"StoriesTrayTileView_LWRAnimations",selections:[{args:null,kind:"FragmentSpread",name:"StoriesTrayTileReactionIconWrapper_LWRAnimations"}],type:"Viewer",abstractKey:null};e.exports=a}),null); __d("StoriesTrayTileView_warningScreen.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"StoriesTrayTileView_warningScreen",selections:[{args:null,documentName:"StoriesTrayTileView_warningScreen",fragmentName:"CometWarningScreenOverlay_data",fragmentPropName:"data",kind:"ModuleImport"}],type:"OverlayWarningScreenViewModel",abstractKey:null};e.exports=a}),null); __d("usePostInProgress",["cr:3558"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:3558")}),98); __d("usePostInProgressImpl",["JSResourceForInteraction","promiseDone","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useState,i=c("JSResourceForInteraction")("updatePostPlainTextForLexical").__setRef("usePostInProgressImpl"),j=c("JSResourceForInteraction")("updatePostPlainTextForDraftJS").__setRef("usePostInProgressImpl");function a(){var a=h(null),b=a[0],d=a[1];a=function(a){(a==null?void 0:a.lexicalEditor)!=null?c("promiseDone")(i.load().then(function(b){b(a,d)})):c("promiseDone")(j.load().then(function(b){b(a,d)}))};return{postPlainText:b,updatePostPlainText:a}}g["default"]=a}),98); __d("CometInlineComposerSproutListMatcher.react",["CometRelay","react","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.sprouts;a=babelHelpers.objectWithoutPropertiesLoose(a,["sprouts"]);return h.jsx(h.Fragment,{children:i(b,a)})}a.displayName=a.name+" [from "+f.id+"]";function i(a,b){a==null&&c("recoverableViolation")("Server failed to provide a valid inline sprouts object for the composer.","comet_composer");return((a=a)!=null?a:[]).map(function(a,c){return h.jsx(d("CometRelay").MatchContainer,{match:a,props:b},c)})}a.useMatcher=i;g["default"]=a}),98); __d("CometFeedInlineComposerProfilePic.react",["ix","CometFeedInlineComposerProfilePic_profile.graphql","CometProfilePhoto.react","CometRelay","react","recoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");function a(a){a=a.profile$key;a=d("CometRelay").useFragment(i!==void 0?i:i=b("CometFeedInlineComposerProfilePic_profile.graphql"),a);if(a==null||a.id==null)return c("recoverableViolation")("Unable to fetch profile for composer profile pic","comet_composer");a=a==null?void 0:(a=a.profile_picture)==null?void 0:a.uri;return j.jsx("div",{"data-testid":void 0,children:j.jsx(c("CometProfilePhoto.react"),{shape:"circle",size:40,source:{uri:a!=null?a:h("762679")}})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometFeedInlineComposerPressableProfilePic.react",["fbt","CometFeedInlineComposerPressableProfilePic_profile.graphql","CometFeedInlineComposerProfilePic.react","CometPressable.react","CometRelay","react","recoverableViolation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k={profilePic:{display:"x78zum5",marginEnd:"x1emribx",$$css:!0}};function a(a){var e=a.disableDefaultProfileURI,f=a.onClick;a=a.profile$key;a=d("CometRelay").useFragment(i!==void 0?i:i=b("CometFeedInlineComposerPressableProfilePic_profile.graphql"),a);if(a==null)return c("recoverableViolation")("Unable to fetch profile for composer profile pic","comet_composer");e=e===!0?null:a==null?void 0:a.url;return j.jsx(c("CometPressable.react"),{"aria-label":(a==null?void 0:a.name)!=null?h._("__JHASH__CAdiMQCOr4R__JHASH__",[h._param("userName",a==null?void 0:a.name)]):h._("__JHASH__rpsI0Frdl3u__JHASH__"),display:"inline",linkProps:{routeTarget:"self",url:e},onPress:f,overlayRadius:"50%",xstyle:k.profilePic,children:j.jsx(c("CometFeedInlineComposerProfilePic.react"),{profile$key:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TextInputButton.react",["CometBadge.react","CometLineClamp.react","CometPressable.react","TetraIcon.react","TetraProfilePhoto.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=40,j={badge:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",display:"x78zum5",end:"x1qhkwwh",overflowX:"x6ikm8r",overflowY:"x10wlt62",position:"x10l6tqk",top:"x13vifvy",$$css:!0},icon:{height:"xlup9mm",marginEnd:"x1w0mnb",$$css:!0},linkLabel:{color:"xi81zsa",fontSize:"x1lkfr7t",hyphens:"xkjl1po",overflowWrap:"x1mzt3pk",width:"xh8yej3",wordBreak:"x13faqbe",$$css:!0},linkLabelPlaceholder:{color:"xzsf02u",$$css:!0},linkLabelPreserveNewlines:{whiteSpace:"x126k92a",$$css:!0},profile:{display:"x78zum5",marginEnd:"x1w0mnb",marginStart:"xp7jhwk",$$css:!0},profileDisabled:{opacity:"xuzhngd",$$css:!0},root:{alignItems:"x6s0dn4",backgroundColor:"xmjcpbm",borderTopStartRadius:"x107yiy2",borderTopEndRadius:"xv8uw2v",borderBottomEndRadius:"x1tfwpuw",borderBottomStartRadius:"x2g32xy",display:"x78zum5",flexDirection:"x1q0g3np",flexGrow:"x1iyjqo2",height:"x1vqgdyp",justifyContent:"x1nhvcw1",paddingEnd:"xn6708d",paddingStart:"x1ye3gou",position:"x1n2onr6",$$css:!0},rootMultiLine:{height:"xt7dq6l",minHeight:"x1ba4aug",paddingTop:"x1y1aw1k",paddingEnd:"xn6708d",paddingBottom:"xwib8y2",paddingStart:"x1ye3gou",$$css:!0},selected:{backgroundColor:"x1hr4nm9",$$css:!0}};function a(a,b){var d=a.disabled;d=d===void 0?!1:d;var e=a.hasNewContentBadge;e=e===void 0?!1:e;var f=a.image,g=a.isUserEnteredPreviewText;g=g===void 0?!1:g;var k=a.label,l=a.labelMaxLines;l=l===void 0?2:l;var m=a.linkProps,n=a.onHoverIn,o=a.onHoverOut,p=a.onPress,q=a.onPressIn,r=a.preserveLabelNewlines;r=r===void 0?!1:r;var s=a.selected,t=s===void 0?!1:s;s=a.testid;s=a.testOnly_pressed;a=null;e&&(a=h.jsx("div",{className:"x14yjl9h xudhj91 x18nykt9 xww2gxu x78zum5 x1qhkwwh x6ikm8r x10wlt62 x10l6tqk x13vifvy",children:h.jsx(c("CometBadge.react"),{border:"white",color:d?"gray":"blue",isProfileBadge:!0,size:6})}));e=null;if(f!=null)if(f.type==="icon"){var u=t===!0?"highlight":null;e=h.jsx("div",{className:"xlup9mm x1w0mnb",children:h.jsx(c("TetraIcon.react"),{color:d?"disabled":(u=u)!=null?u:"primary",icon:f.icon,size:16})})}else f.type==="profile-photo"&&f.source!=null&&(e=h.jsx("div",{className:"x78zum5 x1w0mnb xp7jhwk"+(d?" xuzhngd":""),children:h.jsx(c("TetraProfilePhoto.react"),{shape:"circle",size:28,source:f.source})}));u=h.jsx("div",{className:"x1lkfr7t xkjl1po x1mzt3pk xh8yej3 x13faqbe"+((g===!0?" xzsf02u":" xi81zsa")+(r===!0?" x126k92a":""+(g===!0?"":""))),children:h.jsx(c("CometLineClamp.react"),{lines:l,children:k})});return h.jsxs(c("CometPressable.react"),{disabled:d,display:"inline",linkProps:m,onHoverIn:n,onHoverOut:o,onPress:d?void 0:p,onPressIn:d?void 0:q,overlayRadius:i/2,ref:b,testOnly_pressed:s,testid:void 0,xstyle:function(){return[j.root,j.rootMultiLine,t===!0&&j.selected]},children:[a,e,u]})}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("CometFeedInlineComposerWOYM.react",["CometFeedInlineComposerWOYM_profile.graphql","CometRefineRef","CometRelay","TextInputButton.react","cr:1654613","mergeRefs","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");function a(a){var e,f=a.additionalInputButtonRef,g=a.onHoverInPrerenderer,j=a.onHoverOutPrerenderer,k=a.onPress,l=a.onPressInPrerenderer,m=a.postPlainText,n=a.profile$key;a=a.triggerRef;n=d("CometRelay").useFragment(h!==void 0?h:h=b("CometFeedInlineComposerWOYM_profile.graphql"),n);n=b("cr:1654613")(n==null?void 0:n.short_name);e=(e=m)!=null?e:n;return i.jsx(c("TextInputButton.react"),{isUserEnteredPreviewText:m!=null,label:e,onHoverIn:g,onHoverOut:j,onPress:k,onPressIn:l,ref:c("mergeRefs")(c("CometRefineRef")(a),f),testid:void 0})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useCometFeedInlineComposerWOYMText",["fbt","gkx"],(function(a,b,c,d,e,f,g,h){"use strict";var i=c("gkx")("1224637");function a(a){if(i)return h._("__JHASH__Hf3Fx3GNVZv__JHASH__");else return a!=null?h._("__JHASH__FVtpWFx1aSi__JHASH__",[h._param("short name",a)]):h._("__JHASH___BeMvWn-nAb__JHASH__")}g["default"]=a}),98); __d("VideoChatTrayTilePlaceholder.react",["BaseGlimmer.react","CometCard.react","CometColumn.react","CometColumnItem.react","CometRow.react","CometRowItem.react","StoriesConstants","react","useVisibilityObserver"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={card:{alignItems:"x1qjc9v5",boxSizing:"x9f619",display:"x78zum5",flexGrow:"x1iyjqo2",flexShrink:"x2lah0s",height:"x5yr21d",width:"xh8yej3",$$css:!0},contextActorName:{borderTopStartRadius:"x8u2fvd",borderTopEndRadius:"x1ht7hnu",borderBottomEndRadius:"x1quq95r",borderBottomStartRadius:"x5yzy4c",height:"x1kpxq89",marginBottom:"xyorhqc",marginTop:"xr1yuqi",width:"x1849jeq",$$css:!0},contextMetadata:{borderTopStartRadius:"x8u2fvd",borderTopEndRadius:"x1ht7hnu",borderBottomEndRadius:"x1quq95r",borderBottomStartRadius:"x5yzy4c",height:"x18gnavp",marginTop:"xr1yuqi",marginEnd:"x11i5rnm",marginBottom:"x4ii5y1",marginStart:"x1mh8g0r",width:"x1pju0fl",$$css:!0},contextProfilePhoto:{borderTopStartRadius:"x14yjl9h",borderTopEndRadius:"xudhj91",borderBottomEndRadius:"x18nykt9",borderBottomStartRadius:"xww2gxu",height:"xng8ra",marginTop:"xr1yuqi",marginEnd:"xkrivgy",marginBottom:"x4ii5y1",marginStart:"x1gryazu",width:"x1247r65",$$css:!0},contextText:{alignItems:"x6s0dn4",display:"x78zum5",flexDirection:"xdt5ytf",marginBottom:"x14ler8",$$css:!0}};function a(a){a=a.onVisible;a=c("useVisibilityObserver")({onVisible:a,options:{rootMargin:200}});return h.jsx("div",{className:"x1qjc9v5 x9f619 x78zum5 x1iyjqo2 x2lah0s x5yr21d xh8yej3",ref:a,style:{minHeight:d("StoriesConstants").TOFU_TILE_HEIGHT},children:h.jsx(c("CometCard.react"),{border:"solid",children:h.jsxs(c("CometColumn.react"),{children:[h.jsx(c("CometColumnItem.react"),{children:h.jsx(c("CometRow.react"),{align:"center",paddingTop:12,children:h.jsx(c("CometRowItem.react"),{children:h.jsx(c("BaseGlimmer.react"),{index:0,xstyle:i.contextProfilePhoto})})})}),h.jsx(c("CometColumnItem.react"),{children:h.jsx(c("CometRow.react"),{align:"center",paddingVertical:12,children:h.jsx(c("CometRowItem.react"),{children:h.jsxs("div",{className:"x6s0dn4 x78zum5 xdt5ytf x14ler8",children:[h.jsx(c("BaseGlimmer.react"),{index:0,xstyle:i.contextActorName}),h.jsx(c("BaseGlimmer.react"),{index:0,xstyle:i.contextMetadata})]})})})})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("VideoChatTrayPlaceholder.react",["BaseLoadingStateElement.react","CometCard.react","StoriesConstants","TopOfFeedContext","VideoChatTrayTilePlaceholder.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useContext,j={cardContainer:{alignItems:"x1qjc9v5",boxSizing:"x9f619",display:"x78zum5",flexGrow:"x1iyjqo2",flexShrink:"x2lah0s",marginEnd:"xw3qccf",marginStart:"xsgj6o6",$$css:!0},container:{display:"x78zum5",flexDirection:"x1q0g3np",justifyContent:"x1qughib",paddingTop:"xz9dl7a",paddingEnd:"xn6708d",paddingBottom:"xsag5q8",paddingStart:"x1ye3gou",width:"xhqpbu2",$$css:!0},height:{height:"x121yvx8",paddingTop:"x1iorvi4",paddingEnd:"xn6708d",paddingBottom:"x18d9i69",paddingStart:"x1ye3gou",$$css:!0},root:{alignItems:"x6s0dn4",display:"x78zum5",flexDirection:"xdt5ytf",justifyContent:"x1nhvcw1",marginBottom:"x1yztbdb",overflowX:"x6ikm8r",overflowY:"x10wlt62",width:"xh8yej3",$$css:!0}},k={narrow:{width:"x1xspm3y","@media (max-width: 299px)_width":"x18igh9x",$$css:!0},normal:{width:"x1w2cj79","@media (min-width: 404px) and (max-width: 561px)_width":"xwyr2us",$$css:!0},wide:{width:"x1ey03fc","@media (min-width: 562px) and (max-width: 719px)_width":"x11b4air",$$css:!0}};function a(a,b){a=5;var e=i(c("TopOfFeedContext"));e=e.topOfFeedEnabled;return h.jsx("div",{role:"article",children:h.jsx(c("BaseLoadingStateElement.react"),{ref:b,xstyle:j.root,children:h.jsx(c("CometCard.react"),{background:"white",dropShadow:e?0:1,children:h.jsx("div",{className:c("stylex")([j.container,e&&j.height]),style:{minHeight:d("StoriesConstants").TOFU_TILE_HEIGHT},children:Array(a).fill().map(function(a,b){return h.jsx("div",{className:c("stylex")([j.cardContainer,k.narrow,k.normal,k.wide]),children:h.jsx(c("VideoChatTrayTilePlaceholder.react"),{},b)},b)})})})})})}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("SPFCometConnectionsDialog.entrypoint",["JSResourceForInteraction","SPFCometConnectionsDialogQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.followLocation;return{queries:{queryReference:{parameters:b("SPFCometConnectionsDialogQuery$Parameters"),variables:{follow_location:a,scale:d("WebPixelRatio").get()}}}}},root:c("JSResourceForInteraction")("SPFCometConnectionsDialog.react").__setRef("SPFCometConnectionsDialog.entrypoint")};g["default"]=a}),98); __d("StoriesTrayUtils",["StoriesLoggingConstants","XCometStoriesControllerRouteBuilder"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d,e){e===void 0&&(e=c("StoriesLoggingConstants").ACTION_SOURCE.TRAY);d={bucket_count:d,bucket_id:a,card_id:b===null?void 0:b,source:e};return c("XCometStoriesControllerRouteBuilder").buildURL(d)}g.getBucketURL=a}),98); __d("StoriesActivityBadgeDeferred.react",["deferredLoadComponent","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";d("react");a=c("deferredLoadComponent")(c("requireDeferred")("CometActivityBadge.react").__setRef("StoriesActivityBadgeDeferred.react"));b=a;g["default"]=b}),98); __d("StoriesTrayTileAvatar.react",["fbt","CometLoadingAnimation.react","CometPlaceholder.react","CometSSRReplaceContentOnHydrationAndBreakEventReplaying.react","CometVisualCompletionAttributes","StoriesActivityBadgeDeferred.react","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.children,d=a.hasNew,e=a.isInterATS;e=e===void 0?!1:e;var f=a.isLiveStreaming;f=f===void 0?!1:f;var g=a.isOnline;g=g===void 0?!1:g;var j=a.isOpaqueBackground,k=a.isUploading;k=k===void 0?!1:k;a=a.shouldShowCloseFriendsBadge;a=a===void 0?!1:a;var l=h._("__JHASH__f7VcajZGvwh__JHASH__");return i.jsxs("div",{className:"x6s0dn4 xlid4zk x13tp074 x1qns1p2 xipx5yg x9f619 x78zum5 x1vqgdyp xl56j7k x6ikm8r x10wlt62 x100vrsf"+((j===!0?" x1jx94hy":" x1wpzbip")+((f?" x1mqrs8o x10tkx69 xip93fl x11kwtuv":""+(k&&!f&&!e?" x1v8p93f xogb00i x16stqrj x1ftr3km":""+(e?" xsdn2ir x16rfsbj x13awxeq x16sykr7":""+((d!==!0||e)&&!k?" xsdn2ir x16rfsbj x13awxeq x16sykr7":""+(d===!0&&!k&&!a?" x1tz4bnf xmds5ef x25epmt x11y6y4w":""+(d===!0&&!k&&a?" x751hie x12z88qw xnatle3 x4zw6fh":""+(b!=null&&!e?"":""+(j===!0?"":""))))))))+(b!=null&&!e?" x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x1gp4ovq xdio9jc x1h2mt7u x7g060r":""))),children:[k&&!f&&!e&&i.jsx("div",{className:"x6s0dn4 x1ey2m1c x78zum5 xds687c x5yr21d xl56j7k x10l6tqk x17qophe x13vifvy x1yyfhjw",children:i.jsx("div",{className:"x1n2onr6 x1mxuws9 x1lg0oad",children:i.jsx(c("CometLoadingAnimation.react"),{size:40})})}),b,f&&i.jsx("div",{className:"x1ciooss x1lcm9me x1yr5g0i xrt01vj x10y3i5r xbfrwjf x1iorvi4 x10ogl3i xjkvuk6 x1k2j06m x10l6tqk x16q8cke x2b8uid x23j0i4",children:i.jsx(c("TetraText.react"),{color:"primaryOnMedia",numberOfLines:1,type:"meta4",children:l})}),i.jsx(c("CometSSRReplaceContentOnHydrationAndBreakEventReplaying.react"),{children:!f&&g&&i.jsx("div",babelHelpers["extends"]({className:"xn0vg7t x70y0r9 x10l6tqk"},c("CometVisualCompletionAttributes").IGNORE,{children:i.jsx(c("CometPlaceholder.react"),{fallback:null,children:i.jsx(c("StoriesActivityBadgeDeferred.react"),{size:8,state:"active"})})}))})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("StoriesTrayTileContent.react",["ix","CometBackgroundImage.react","CometRelay","StoriesGating","StoriesRatioBox.react","TetraIcon.react","TetraText.react","TetraTextPairing.react","cr:3169","cr:4217","fbicon","react","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={background:{transformOrigin:"x1g0ag68",transitionDuration:"xx6bhzk",transitionProperty:"x11xpdln",transitionTimingFunction:"xcj1dhv",$$css:!0},backgroundFocused:{transform:"x1nhozj7",$$css:!0},coverImageFilter:{backgroundImage:"x1l7q5kx",$$css:!0},full:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},icon:{alignItems:"x6s0dn4",bottom:"xn0vg7t",boxSizing:"x9f619",display:"x78zum5",position:"x10l6tqk",start:"xr6gfmr",textAlign:"x1yc453h",width:"xh8yej3",$$css:!0},pointerEventsNone:{pointerEvents:"x47corl",$$css:!0},previewImageFilter:{filter:"xtz0iyb",$$css:!0},text:{paddingStart:"x1e558r4",$$css:!0},textWrapper:{bottom:"x1ey2m1c",boxSizing:"x9f619",position:"x10l6tqk",textAlign:"x1yc453h",width:"xh8yej3",$$css:!0},titleWrapper:{alignItems:"x6s0dn4",bottom:"xn0vg7t",boxSizing:"x9f619",display:"x78zum5",position:"x10l6tqk",start:"xr6gfmr",textAlign:"x1yc453h",width:"xh8yej3",$$css:!0},warningScreenContainer:{zIndex:"x1ja2u2z",$$css:!0}};function a(a){var e=a.aspectRatioReal,f=a.avatarInteractable,g=a.backgroundColor,k=a.bucketUrl,l=a.coverImage,m=a.coverImageNullElement,n=a.hasComments,o=a.isSelfStory;o=o===void 0?!1:o;var p=a.isSmall,q=a.isUploading;q=q===void 0?!1:q;var r=a.likeCount,s=a.numLines,t=a.playCount,u=a.pressableState,v=a.text,w=a.tileAvatar,x=a.tilePadding,y=a.title,z=a.videoAutoplayWrapper;a=a.warningScreen;return i.jsxs(c("StoriesRatioBox.react"),{height:1,width:(e=e)!=null?e:1,children:[l!=null?i.jsxs("div",{className:"x1g0ag68 xx6bhzk x11xpdln xcj1dhv x1ey2m1c x9f619 xds687c x10l6tqk x17qophe x13vifvy"+((u==null?void 0:u.hovered)||(u==null?void 0:u.focused)&&(u==null?void 0:u.focusVisible)?" x1nhozj7":""),style:{backgroundColor:g},children:[z!=null?z:i.jsx(c("CometBackgroundImage.react"),{src:l}),a!=null&&i.jsx("div",{className:"x1ey2m1c x9f619 xds687c x10l6tqk x17qophe x13vifvy x1ja2u2z",children:i.jsx(d("CometRelay").MatchContainer,{match:a,props:{alwaysShowCoverComponent:!0,alwaysShowDetails:!1,alwaysUseSmallLayout:!0,data:a,mediaUri:(e=l)!=null?e:"",surface:"story_tray",url:k}})}),i.jsx("div",{className:c("stylex")([j.coverImageFilter,j.full,d("StoriesGating").shouldUsePreviewFilter()&&j.previewImageFilter])})]}):m,y!=null?i.jsx("div",{className:"x6s0dn4 xn0vg7t x9f619 x78zum5 x10l6tqk xr6gfmr x1yc453h xh8yej3 x47corl",style:x,children:i.jsx(c("TetraTextPairing.react"),{headline:y,headlineColor:"primaryOnMedia",level:4,meta:v,metaColor:"primaryOnMedia"})}):null,v!=null&&y==null?i.jsx("div",{className:"x1ey2m1c x9f619 x10l6tqk x1yc453h xh8yej3 x47corl",style:x,children:i.jsx(c("TetraText.react"),{color:"primaryOnMedia",numberOfLines:s,testid:void 0,type:p?"bodyLink4":"bodyLink3",children:o&&b("cr:3169")!=null?i.jsx(b("cr:3169"),{isUploading:q,text:v}):v})}):null,t!=null?i.jsxs("div",{className:"x6s0dn4 xn0vg7t x9f619 x78zum5 x10l6tqk xr6gfmr x1yc453h xh8yej3",children:[i.jsx(c("TetraIcon.react"),{color:"white",icon:d("fbicon")._(h("484861"),12)}),i.jsx("div",{className:"x1e558r4",children:i.jsx(c("TetraText.react"),{color:"primaryOnMedia",numberOfLines:1,type:"bodyLink4",children:t})})]}):null,r!=null&&r!=="0"?i.jsxs("div",{className:"x6s0dn4 xn0vg7t x9f619 x78zum5 x10l6tqk xr6gfmr x1yc453h xh8yej3",children:[i.jsx(c("TetraIcon.react"),{color:"white",icon:d("fbicon")._(h("509920"),12)}),i.jsx("div",{className:"x1e558r4",children:i.jsx(c("TetraText.react"),{color:"primaryOnMedia",numberOfLines:1,type:"bodyLink4",children:r})})]}):null,!f&&w!=null?w:null,n===!0&&b("cr:4217")!=null?i.jsx(b("cr:4217"),{}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometValidateAsElementRect",[],(function(a,b,c,d,e,f){"use strict";function a(a){return typeof a==="object"?{bottom:typeof (a==null?void 0:a.bottom)==="number"?a.bottom:0,height:typeof (a==null?void 0:a.height)==="number"?a.height:0,left:typeof (a==null?void 0:a.left)==="number"?a.left:0,right:typeof (a==null?void 0:a.right)==="number"?a.right:0,top:typeof (a==null?void 0:a.top)==="number"?a.top:0,width:typeof (a==null?void 0:a.width)==="number"?a.width:0}:{bottom:0,height:0,left:0,right:0,top:0,width:0}}f["default"]=a}),66); __d("StoriesTrayTileView.react",["CometPressable.react","CometRelay","StoriesConstants","StoriesEnums","StoriesTrayTileContent.react","StoriesTrayTileView_LWRAnimations.graphql","StoriesTrayTileView_warningScreen.graphql","TopOfFeedLoggingContext","cometValidateAsElementRect","cr:567","gkx","react","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=d("react");e=d("react");var k=e.useContext,l=e.useRef,m=c("requireDeferred")("ODS").__setRef("StoriesTrayTileView.react"),n=12,o=8,p=46,q={avatarWrapper:{position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},boxShadow:{boxShadow:"xquyuld",$$css:!0},button:{appearance:"xjyslct",backgroundColor:"xjbqb8w",borderTopStyle:"x13fuv20",borderEndStyle:"xu3j5b3",borderBottomStyle:"x1q0q8m5",borderStartStyle:"x26u7qi",borderTopWidth:"x972fbf",borderEndWidth:"xcfux6l",borderBottomWidth:"x1qhh985",borderStartWidth:"xm0m39n",boxSizing:"x9f619",display:"x1lliihq",marginTop:"xdj266r",marginEnd:"x11i5rnm",marginBottom:"xat24cr",marginStart:"x1mh8g0r",paddingTop:"xexx8yu",paddingEnd:"x4uap5",paddingBottom:"x18d9i69",paddingStart:"xkhd6sd",position:"x1n2onr6",textAlign:"x16tdsg8",width:"xh8yej3",zIndex:"x1ja2u2z",":active_transform":"xk4oym4",$$css:!0},buttonFocused:{filter:"x14xfefy",$$css:!0},emptyCoverImageFilter:{backgroundImage:"xxj740w",$$css:!0},full:{bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},light:{opacity:"xbyyjgo",$$css:!0},outline:{borderTop:"xzg4506",borderEnd:"xycxndf",borderBottom:"xua58t2",borderStart:"x4xrfw5",borderTopStartRadius:"x1a2cdl4",borderTopEndRadius:"xnhgr82",borderBottomEndRadius:"x1qt0ttw",borderBottomStartRadius:"xgk8upj",bottom:"x1ey2m1c",boxSizing:"x9f619",end:"xds687c",pointerEvents:"x47corl",position:"x10l6tqk",start:"x17qophe",top:"x13vifvy",$$css:!0},pointerEventsNone:{pointerEvents:"x47corl",$$css:!0},reactionIconWrapper:{bottom:"x1ey2m1c",end:"xds687c",paddingTop:"x1y1aw1k",paddingEnd:"x1sxyh0",paddingBottom:"xwib8y2",paddingStart:"xurb0ha",position:"x10l6tqk",$$css:!0},root:{position:"x1n2onr6",$$css:!0},tile:{backgroundColor:"x1qhmfi1",borderTopStartRadius:"x1a2cdl4",borderTopEndRadius:"xnhgr82",borderBottomEndRadius:"x1qt0ttw",borderBottomStartRadius:"xgk8upj",overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0}},r=function(a){var b=a.showOutline?j.jsx("div",{className:"xzg4506 xycxndf xua58t2 x4xrfw5 x1a2cdl4 xnhgr82 x1qt0ttw xgk8upj x1ey2m1c x9f619 xds687c x47corl x10l6tqk x17qophe x13vifvy"}):null;return j.jsxs("div",{className:"x1n2onr6",children:[a.children,b]})};function a(a){var e=a.animations,f=a.aspectRatio,g=f===void 0?d("StoriesConstants").DEFAULT_ASPECT_RATIO:f;f=a.avatar;var s=a.avatarInteractable,t=s===void 0?!1:s,u=a.backgroundColor,v=a.bucketUrl,w=a.coverImage,x=a.disabled;s=a.disablePreloadOnMouseHover;var y=a.disablePreloadOnRender,z=a.shouldShowInterstitial,A=z===void 0?!1:z;z=a.hasReactionIcon;z=z===void 0?!1:z;var B=a.hasComments,C=B===void 0?!1:B;B=a.isUploading;var D=B===void 0?!1:B,E=a.label;B=a.numLines;var F=a.onPress,G=a.onPressIn,H=a.passthroughProps,I=a.showOutline;I=I===void 0?!1:I;var J=a.showShadow,K=J===void 0?!0:J;J=a.small;J=J===void 0?!1:J;var L=a.storyId,M=a.canViewerReply;M=M===void 0?!1:M;var N=a.text,O=a.theme;O=O===void 0?"dark":O;a=a.warningScreenNode;var P=(B=B)!=null?B:2,Q=d("CometRelay").useFragment(h!==void 0?h:h=b("StoriesTrayTileView_warningScreen.graphql"),a);B=d("CometRelay").useFragment(i!==void 0?i:i=b("StoriesTrayTileView_LWRAnimations.graphql"),e);a=k(c("TopOfFeedLoggingContext"));e=a.tofuSessionID;var R=z?{padding:J?o:n,paddingRight:p}:{padding:J?o:n},S=f!=null?j.jsx("div",{className:"x10l6tqk x17qophe x13vifvy"+(t?"":" x47corl"),style:R,children:f}):null,T=l(null),U=j.jsx("div",{className:"x1ey2m1c x9f619 xds687c x10l6tqk x17qophe x13vifvy"+(D?" xxj740w":"")});a=b("cr:567")!=null&&M?j.jsx("div",{className:"x1ey2m1c xds687c x1y1aw1k x1sxyh0 xwib8y2 xurb0ha x10l6tqk",children:j.jsx(b("cr:567"),{animations:B,storyId:L})}):null;var V=function(a){return j.jsx(c("StoriesTrayTileContent.react"),{aspectRatioReal:g,avatarInteractable:t,backgroundColor:u,bucketUrl:v,coverImage:w,coverImageNullElement:U,hasComments:C,isSelfStory:(H==null?void 0:H.bucketType)===d("StoriesEnums").STORIES_BUCKETS_INDEXER_TYPES.OWNED_SELF,isSmall:!0,isUploading:D,numLines:P,pressableState:a,text:N,tileAvatar:S,tilePadding:R,warningScreen:Q})};if(v!=null||F!=null){J=babelHelpers["extends"]({},H,{getTilePosition:function(){var a;return c("cometValidateAsElementRect")((a=T.current)==null?void 0:a.getBoundingClientRect())},tofuTraySessionID:e});var W={passthroughProps:J,prefetchQueriesOnHover:s!==!0,preloadCodeOnMount:y!==!0,preventLocalNavigation:c("gkx")("6828")?A:void 0,traceParams:{navigation_source:"stories_tray_tile"},url:v},X=function(a){m.onReady(function(a){a.bumpEntityKey(4329,"fb_stories_web","stories_tray_pog_click",1)}),F&&F(a)};f=function(a,b){a===void 0&&(a=null);return j.jsx(c("CometPressable.react"),{disabled:x,display:"inline",label:E!=null?E:void 0,linkProps:A&&!c("gkx")("6828")?void 0:W,onPress:function(a){X(a),b&&b()},onPressIn:G,overlayDisabled:!0,ref:a,suppressHydrationWarning:!0,xstyle:function(a){var b=a.focused,c=a.focusVisible;a=a.hovered;return[q.tile,q.button,(a||b&&c)&&q.buttonFocused,K&&q.boxShadow]},children:V})};return j.jsx("div",{ref:T,children:j.jsxs(r,{showOutline:I,children:[f(),t?S:null,z?a:null]})})}else return j.jsx(r,{showOutline:I,children:j.jsxs("div",{className:"x1qhmfi1 x1a2cdl4 xnhgr82 x1qt0ttw xgk8upj x6ikm8r x10wlt62"+((O==="light"?" xbyyjgo":""+(K?"":""))+(K?" xquyuld":"")),children:[V(),t?S:null,z?a:null]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("StoriesTrayTileGlimmer.react",["BaseGlimmer.react","StoriesTrayTileAvatar.react","StoriesTrayTileView.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={contents:{borderTopStartRadius:"x1a2cdl4",borderTopEndRadius:"xnhgr82",borderBottomEndRadius:"x1qt0ttw",borderBottomStartRadius:"xgk8upj",overflowX:"x6ikm8r",overflowY:"x10wlt62",$$css:!0}};function a(a){var b=a.aspectRatio;a=a.index;a=a===void 0?0:a;return h.jsx(c("BaseGlimmer.react"),{index:a,xstyle:i.contents,children:h.jsx(c("StoriesTrayTileView.react"),{aspectRatio:b,avatar:h.jsx(c("StoriesTrayTileAvatar.react"),{}),showShadow:!1})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("useStoriesTrayRefresh",["CometOnRefresh.react","react"],(function(a,b,c,d,e,f,g){"use strict";b=d("react");var h=b.useCallback,i=b.useEffect,j=b.useRef,k=b.useTransition;function a(a){var b=j(!1),c=k(),e=c[0],f=c[1];c=h(function(){if(b.current===!0)return;b.current=!0;f(function(){a()})},[a,f]);i(function(){b.current=e},[e]);d("CometOnRefresh.react").useOnRefresh(c)}g["default"]=a}),98); __d("TopOfFeedNullStateCard.react",["CometCard.react","CometColumn.react","CometIcon.react","CometRow.react","CometRowItem.react","TetraText.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={cardColumn:{height:"x121yvx8",$$css:!0},cardContainer:{height:"x5yr21d",width:"x3p9ev8",$$css:!0}};function a(a){var b=a.body1,d=a.body2,e=a.body3,f=a.icon1,g=a.icon2;a=a.icon3;return h.jsx("div",{className:"x5yr21d x3p9ev8",children:h.jsx(c("CometCard.react"),{expanding:!0,children:h.jsxs(c("CometColumn.react"),{align:"start",expanding:!0,paddingHorizontal:16,paddingVertical:0,spacing:16,verticalAlign:"center",xstyle:i.cardColumn,children:[h.jsxs(c("CometRow.react"),{align:"start",paddingVertical:0,children:[h.jsx(c("CometRowItem.react"),{children:h.jsx(c("CometIcon.react"),{icon:f,size:24})}),h.jsx(c("CometRowItem.react"),{expanding:!0,verticalAlign:"center",children:h.jsx(c("TetraText.react"),{numberOfLines:2,type:"body4",children:b})})]}),h.jsxs(c("CometRow.react"),{align:"start",paddingVertical:0,children:[h.jsx(c("CometRowItem.react"),{children:h.jsx(c("CometIcon.react"),{icon:g,size:24})}),h.jsx(c("CometRowItem.react"),{expanding:!0,verticalAlign:"center",children:h.jsx(c("TetraText.react"),{numberOfLines:2,type:"body4",children:d})})]}),h.jsxs(c("CometRow.react"),{align:"start",paddingVertical:0,children:[h.jsx(c("CometRowItem.react"),{children:h.jsx(c("CometIcon.react"),{icon:a,size:24})}),h.jsx(c("CometRowItem.react"),{expanding:!0,verticalAlign:"center",children:h.jsx(c("TetraText.react"),{numberOfLines:2,type:"body4",children:e})})]})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("TopOfFeedTrayErrorLazyLoaded.react",["JSResourceForInteraction","lazyLoadComponent"],(function(a,b,c,d,e,f,g){"use strict";a=c("lazyLoadComponent")(c("JSResourceForInteraction")("TopOfFeedTrayError.react").__setRef("TopOfFeedTrayErrorLazyLoaded.react"));g["default"]=a}),98); __d("useTopOfFeedReelsInterstitial",["emptyFunction","nux:264"],(function(a,b,c,d,e,f,g){"use strict";d=(a=b("nux:264")==null?void 0:b("nux:264")("www_unified_tofu_reels_nux"))!=null?a:c("emptyFunction").thatReturns([void 0,void 0]);g["default"]=d}),98); __d("useTopOfFeedReelsRequireableInterstitial",["JSResourceForInteraction","declareNUXRequireable","react","useCometLazyDialog","useNUX"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react").useCallback,i=c("JSResourceForInteraction")("TopOfFeedReelsInfoDialog.react").__setRef("useTopOfFeedReelsRequireableInterstitial");function a(a){return function(){var b=c("useCometLazyDialog")(i),d=b[0];b=c("useNUX")(a);var e=b[0];b=b[1];var f=b.onDismiss,g=b.onVisible;b=h(function(){e&&(g(),d({},function(){f()}))},[f,g,e,d]);return[b,e]}}b=c("declareNUXRequireable")(a);g["default"]=b}),98);