IGDNullStateDescription.react",["I64","IGDInboxGenAIStarIcon.react","IGDNullStateGenAILearnMoreButton.react","IGDSBox.react","IGDSText.react","LSIntEnum","LSNullstateDescriptionType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=(h||(h=d("react"))).c,l=h,m={nullStateContainer:{paddingTop:"xz9dl7a",$$css:!0}};function a(a){var b=k(18),e=a.descriptionText,f=a.descriptionType;a=a.threadType;var g;b[0]!==a?(g=(i||(i=d("I64"))).equal(a,(j||(j=d("LSIntEnum"))).ofNumber(201)),b[0]=a,b[1]=g):g=b[1];a=g;b[2]!==a||b[3]!==f?(g=a&&(i||(i=d("I64"))).equal(f,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").SUBTEXT)),b[2]=a,b[3]=f,b[4]=g):g=b[4];g=g;var h;b[5]!==a||b[6]!==f?(h=a&&(i||(i=d("I64"))).equal(f,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").DEFAULT)),b[5]=a,b[6]=f,b[7]=h):h=b[7];a=h;b[8]!==g?(f=g?l.jsx(c("IGDNullStateGenAILearnMoreButton.react"),{}):null,b[8]=g,b[9]=f):f=b[9];b[10]!==e||b[11]!==f?(h=l.jsxs(c("IGDSText.react"),{color:"secondaryText",size:"body",textAlign:"center",children:[e,f]}),b[10]=e,b[11]=f,b[12]=h):h=b[12];b[13]!==a?(g=a?l.jsx(c("IGDInboxGenAIStarIcon.react"),{}):null,b[13]=a,b[14]=g):g=b[14];b[15]!==h||b[16]!==g?(e=l.jsxs(c("IGDSBox.react"),{direction:"row",justifyContent:"center",xstyle:m.nullStateContainer,children:[h,g]}),b[15]=h,b[16]=g,b[17]=e):e=b[17];return e}g["default"]=a}),98);
-----
MWContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWXText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=h||d("react");function a(a){var b=a.kind;a=a.text;if((i||(i=d("I64"))).equal(b,(i||(i=d("I64"))).zero)||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return k.jsx("div",{className:"xsag5q8",children:k.jsx(c("MWXText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return k.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
LSNullstateDescriptionType",[],(function(a,b,c,d,e,f){a=Object.freeze({DEFAULT:0,SUBTEXT:1,TITLE_SMALL_DEFAULT:2,TITLE_SMALL_SUBTEXT:3});f["default"]=a}),66);
-----
MWContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWXText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=h||d("react");function a(a){var b=a.kind;a=a.text;if((i||(i=d("I64"))).equal(b,(i||(i=d("I64"))).zero)||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return k.jsx("div",{className:"xsag5q8",children:k.jsx(c("MWXText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return k.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
IGDNullStateDescription.react",["fbt","CometLink.react","I64","IGDInboxGenAIStarIcon.react","IGDNullStateGenAILearnMoreButton.react","IGDSBox.react","IGDSText.react","LSIntEnum","LSMessagingThreadTypeUtil","LSNullstateDescriptionType","XInstagramHelpDotComContentControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={learnMoreLink:{marginStart:"xsgj6o6",$$css:!0},nullStateContainer:{paddingTop:"xz9dl7a",$$css:!0}};function k(){var a;a=(a=c("XInstagramHelpDotComContentControllerRouteBuilder").buildUri({cms_id:"491565145294150"}).setDomain("help.instagram.com"))==null?void 0:(a=a.setProtocol("https"))==null?void 0:a.toString();return i.jsx(c("CometLink.react"),{color:"primary",href:a,target:"_blank",xstyle:j.learnMoreLink,children:h._("u8be6u7ec6u4e86u89e3")})}k.displayName=k.name+" [from "+f.id+"]";function a(a){var b=a.descriptionText,e=a.descriptionType;a=a.threadType;var f=d("LSMessagingThreadTypeUtil").isSecure(a);a=d("I64").equal(a,d("LSIntEnum").ofNumber(201));var g=a&&d("I64").equal(e,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").SUBTEXT));a=a&&d("I64").equal(e,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT));return i.jsxs(c("IGDSBox.react"),{direction:"row",justifyContent:"center",xstyle:j.nullStateContainer,children:[i.jsxs(c("IGDSText.react"),{color:"secondaryText",size:"body",textAlign:"center",children:[b,g?i.jsx(c("IGDNullStateGenAILearnMoreButton.react"),{}):null,f?i.jsx(k,{}):null]}),a?i.jsx(c("IGDInboxGenAIStarIcon.react"),{}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MAWBridgeVerifyThreadExistsHandler",["I64","LSAuthorityLevel","LSIntEnum","LSMailboxType","LSNullstateDescriptionType","LSRtcCallState","MAWFolderUtils","MAWThemeConstant","MAWThreadDefaults","MAWThreadId","MAWTimeUtils","MAWTimeUtils.bs","Promise","ReQL","ReQLTable.bs","bs_caml_option","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){return d("MAWThreadId").toThreadKey_DEPRECATED(a,b.chatId).then(function(f){return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a==null)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").AUTHORITATIVE),cannotReplyReason:c("bs_caml_option").nullable_to_opt(b.cannotReplyReason),capabilities:b.isGroup?d("MAWThreadDefaults").defaultGroupThreadCapabilities:d("MAWThreadDefaults").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults").defaultThreadCapabilities_2,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),threadKey:f,threadType:b.isGroup?d("LSIntEnum").ofNumber(16):d("LSIntEnum").ofNumber(15)})}).then(function(){})})}function i(a,b){return d("MAWThreadId").toThreadKey_DEPRECATED(a,b.chatId).then(function(e){return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").AUTHORITATIVE),avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:b.cannotReplyReason!=null?b.cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:b.isGroup?d("MAWThreadDefaults").defaultGroupThreadCapabilities:d("MAWThreadDefaults").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults").defaultThreadCapabilities_2,capabilities3:d("MAWThreadDefaults").defaultThreadCapabilities_3,clientThreadKey:void 0,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:d("MAWFolderUtils").getMessagingFolderTag(b.folder),hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),mailboxType:d("LSIntEnum").ofNumber(c("LSMailboxType").TAM),memberCount:void 0,muteCallsExpireTimeMs:d("I64").of_float(b.muteCallsExpireTimeMs),muteExpireTimeMs:d("I64").of_float(b.muteExpireTimeMs),muteMentionExpireTimeMs:d("I64").zero,needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT),nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSIntEnum").ofNumber(c("LSRtcCallState").NO_ONGOING_CALL),otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("MAWFolderUtils").getSystemFolder(b.folder),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:d("I64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWThemeConstant").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("LSIntEnum").ofNumber(0),threadInvitesEnabledV2:d("LSIntEnum").ofNumber(0),threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b.isGroup?d("LSIntEnum").ofNumber(16):d("LSIntEnum").ofNumber(15),unreadDisappearingMessageCount:d("I64").zero,unsendLimitMs:d("I64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(){})})}function j(a,c){return d("MAWThreadId").toThreadKey_DEPRECATED(a,c.chatId).then(function(e){return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(e)).then(function(d){if(d!=null)return b("Promise").resolve();else return i(a,c).then(function(){})})})}function a(a,c){var e=c.clientThreadKey;if(e==null)return j(a,c);else{var f=d("I64").of_string(e);return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(f)).then(function(d){if(d!=null)return h(a,c,f).then(function(){return b("Promise").resolve()});else return j(a,c)})}}g.call=a}),98);
-----
MAWCreateOptimisticSecureThread.bs",["I64","LSAuthorityLevel","LSBitOffset","LSFactory","LSGroupParticipantJoinState","LSIntEnum","LSMailboxType","LSNullstateDescriptionType","LSRtcCallState","LSVerifyE2EEMetadataThreadExistsV2","MAWGating","MAWThemeConstant","MAWThreadDefaults.bs","MAWTimeUtils.bs","OfflineThreadingId","Promise","ReQLTable.bs","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){return c("LSVerifyE2EEMetadataThreadExistsV2")(b,void 0,d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),c("LSFactory")(a)).then(function(b){var e=b[0];return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a===void 0)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{clientThreadKey:e})}).then(function(){return e})})}function i(a,b){var e=d("I64").of_string(d("OfflineThreadingId").createOfflineThreadingID());return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,capabilities2:d("LSBitOffset").empty,capabilities3:d("LSBitOffset").empty,clientThreadKey:e,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:"inbox",hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("I64").zero,lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("I64").zero,mailboxType:d("LSIntEnum").ofNumber(c("LSMailboxType").MESSENGER),memberCount:void 0,muteMentionExpireTimeMs:d("I64").zero,muteCallsExpireTimeMs:d("I64").zero,muteExpireTimeMs:d("I64").zero,needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults.bs").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT),nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSIntEnum").ofNumber(c("LSRtcCallState").NO_ONGOING_CALL),otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("LSIntEnum").ofNumber(0),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:d("I64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWGating").isOccamadillo()?void 0:d("MAWThemeConstant").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("LSIntEnum").ofNumber(0),threadInvitesEnabledV2:d("LSIntEnum").ofNumber(0),threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b,unreadDisappearingMessageCount:d("I64").zero,unsendLimitMs:d("I64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(){return e})}function a(a,e,f){f=d("MAWGating").isOccamadillo()&&d("I64").equal(f,d("LSIntEnum").ofNumber(15))?h(a,f):i(a,f);return f.then(function(f){return b("Promise").all(e.map(function(b){return a.table("participants").add({authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),contactId:b.id,deliveredWatermarkTimestampMs:d("I64").zero,groupParticipantJoinState:d("LSIntEnum").ofNumber(c("LSGroupParticipantJoinState").MEMBER),isAdmin:void 0,isModerator:!1,isSuperAdmin:void 0,nickname:void 0,normalizedSearchTerms:void 0,participantCapabilities:void 0,readActionTimestampMs:d("I64").zero,readWatermarkTimestampMs:d("I64").zero,subscribeSource:void 0,threadKey:f})})).then(function(){return f})})}g.createSecureOccamadilloOptimisticThread=h;g.createSecureOptimisticThread=i;g.call=a}),98);
-----
MWV2ContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.kind;a=a.text;if(d("I64").equal(b,d("I64").zero)||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return h.jsx("div",{className:"xsag5q8",children:h.jsx(c("MWText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return h.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
LSNullstateDescriptionType",[],(function(a,b,c,d,e,f){a=Object.freeze({DEFAULT:0,SUBTEXT:1,TITLE_SMALL_DEFAULT:2,TITLE_SMALL_SUBTEXT:3});f["default"]=a}),66);
-----
MAWBridgeVerifyThreadExistsHandler.bs",["LSAuthorityLevel.bs","LSMailboxType.bs","LSNullstateDescriptionType.bs","LSRtcCallState.bs","MAWFolderUtils","MAWThemeConstant.bs","MAWThreadDefaults.bs","MAWThreadId.bs","MAWTimeUtils","MAWTimeUtils.bs","MessagingThreadType.bs","MessengerJoinableModeType.bs","Promise","ReQL.bs","ReQLTable.bs","bs_caml_format","bs_caml_int64","bs_caml_option","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,b.chatId).then(function(f){return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a===void 0)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{capabilities2:d("MAWThreadDefaults.bs").defaultThreadCapabilities_2,authorityLevel:d("LSAuthorityLevel.bs").authoritative,capabilities:b.isGroup?d("MAWThreadDefaults.bs").defaultGroupThreadCapabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,cannotReplyReason:c("bs_caml_option").nullable_to_opt(b.cannotReplyReason),lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),threadType:b.isGroup?d("MessagingThreadType.bs").secureMessageOverWaGroup:d("MessagingThreadType.bs").secureMessageOverWaOneToOne,threadKey:f})}).then(function(a){})})}function i(a,b){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,b.chatId).then(function(e){return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSAuthorityLevel.bs").authoritative,avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:b.cannotReplyReason!=null?b.cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:b.isGroup?d("MAWThreadDefaults.bs").defaultGroupThreadCapabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults.bs").defaultThreadCapabilities_2,capabilities3:d("MAWThreadDefaults.bs").defaultThreadCapabilities_3,clientThreadKey:void 0,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:d("MAWFolderUtils").getMessagingFolderTag(b.folder),hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),mailboxType:d("LSMailboxType.bs").tam,memberCount:void 0,muteCallsExpireTimeMs:c("bs_caml_int64").of_float(b.muteCallsExpireTimeMs),muteMentionExpireTimeMs:c("bs_caml_int64").zero,muteExpireTimeMs:c("bs_caml_int64").of_float(b.muteExpireTimeMs),needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults.bs").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSNullstateDescriptionType.bs").default_,nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSRtcCallState.bs").noOngoingCall,otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("MAWFolderUtils").getSystemFolder(b.folder),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:c("bs_caml_int64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWThemeConstant.bs").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("MessengerJoinableModeType.bs").private_,threadInvitesEnabledV2:d("MessengerJoinableModeType.bs").private_,threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b.isGroup?d("MessagingThreadType.bs").secureMessageOverWaGroup:d("MessagingThreadType.bs").secureMessageOverWaOneToOne,unreadDisappearingMessageCount:c("bs_caml_int64").zero,unsendLimitMs:c("bs_caml_int64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(b){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(a){})})}function j(a,c){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,c.chatId).then(function(e){return d("ReQL.bs").first(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(a.table("threads")),{hd:e,tl:0})).then(function(d){if(d!==void 0)return b("Promise").resolve();else return i(a,c).then(function(a){})})})}function a(a,e){var f=e.clientThreadKey;if(f==null)return j(a,e);else{var g=c("bs_caml_format").caml_int64_of_string(f);return d("ReQL.bs").first(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(a.table("threads")),{hd:g,tl:0})).then(function(c){if(c!==void 0)return h(a,e,g).then(function(a){return b("Promise").resolve()});else return j(a,e)})}}g.call=a}),98);
-----
LSNullstateDescriptionType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];f.default_=a;f.subtext=c;f.titleSmallDefault=d;f.titleSmallSubtext=e}),null);
-----
MWV2ContextBanner.bs",["LSAuthorityLevel.bs","LSMessagingThreadTypeUtil.bs","LSNullstateDescriptionType.bs","LSThreadBitOffset.bs","LSThreadCapabilityBitOffset.bs","LSThreadTitle.bs","LsSystemFolder.bs","MAWGating","MWLSFeatureLimitedStatus.bs","MWText.react","MWThreadPicture.bs","RecoverableViolation.react","bs_caml","bs_caml_int64","bs_caml_option","cr:1574","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=b("cr:1574")==null?void 0:c("bs_caml_option").some(b("cr:1574"));e={wrapper:{paddingBottom:"xsag5q8",$$css:!0}};function j(a){var b=a.kind;a=a.text;if(c("bs_caml").i64_eq(b,c("bs_caml_int64").zero)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").subtext)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").titleSmallDefault)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").titleSmallSubtext))return h.jsx("div",{className:"xsag5q8",children:h.jsx(c("MWText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return h.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}e={make:j,styles:e};var k={container:{paddingBottom:"xsag5q8",paddingStart:"x1ye3gou",paddingEnd:"xn6708d",paddingTop:"x1cnzs8",$$css:!0},image:{display:"x78zum5",justifyContent:"xl56j7k",marginBottom:"xod5an3",$$css:!0},title:{marginBottom:"xod5an3",$$css:!0}};function l(a){a=a.thread;var e=a.nullstateDescriptionType3,f=a.nullstateDescriptionText3,g=a.nullstateDescriptionType2,k=a.nullstateDescriptionText2,l=a.nullstateDescriptionType1,m=a.nullstateDescriptionText1,n=c("bs_caml").i64_eq(a.parentThreadKey,d("LsSystemFolder.bs").businessSupport),o=d("LSMessagingThreadTypeUtil.bs").isSecure(a.threadType);o=d("MWLSFeatureLimitedStatus.bs").useIsReadOnlyFeatureLimited()&&(!o||d("MAWGating").isFeatureLimitEnabled());return h.jsxs("div",{className:"xsag5q8 x1ye3gou xn6708d x1cnzs8","data-testid":void 0,children:[h.jsx("div",{className:"x78zum5 xl56j7k xod5an3",children:h.jsx(d("MWThreadPicture.bs").make,{badgeSize:14,photoSize:"s_60",thread:a})}),h.jsx("div",{className:"xod5an3",children:h.jsx(c("MWText.react"),{align:"center",type:"headlineEmphasized3",children:h.jsx(d("LSThreadTitle.bs").make,{thread:a,wrapOutput:function(a,b){return b}})})}),m!==void 0&&l!==void 0?h.jsx(j,{kind:l,text:m}):null,k!==void 0&&g!==void 0?h.jsx(j,{kind:g,text:k}):null,f!==void 0&&e!==void 0?h.jsx(j,{kind:e,text:f}):null,!(b("cr:1574")==null)&&!o&&d("LSMessagingThreadTypeUtil.bs").isGroup(a.threadType)&&c("bs_caml").i64_gt(a.authorityLevel,d("LSAuthorityLevel.bs").serverPartial)&&!n?h.jsx(i.make,{thread:a}):null]})}l.displayName=l.name+" [from "+f.id+"]";f={make:l,styles:k};function a(a){a=a.thread;var b=d("LSThreadBitOffset.bs").has(d("LSThreadCapabilityBitOffset.bs").disableContextBanner,a);if(b)return null;else return h.jsx(l,{thread:a})}k=a;a=e;e=f;f=k;g.NullstateDescription=a;g.Impl=e;g.make=f}),98);
-----
-----
MWContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWXText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=h||d("react");function a(a){var b=a.kind;a=a.text;if((i||(i=d("I64"))).equal(b,(i||(i=d("I64"))).zero)||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return k.jsx("div",{className:"xsag5q8",children:k.jsx(c("MWXText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return k.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
LSNullstateDescriptionType",[],(function(a,b,c,d,e,f){a=Object.freeze({DEFAULT:0,SUBTEXT:1,TITLE_SMALL_DEFAULT:2,TITLE_SMALL_SUBTEXT:3});f["default"]=a}),66);
-----
MWContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWXText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=h||d("react");function a(a){var b=a.kind;a=a.text;if((i||(i=d("I64"))).equal(b,(i||(i=d("I64"))).zero)||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||(i||(i=d("I64"))).equal(b,(j||(j=d("LSIntEnum"))).ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return k.jsx("div",{className:"xsag5q8",children:k.jsx(c("MWXText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return k.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
IGDNullStateDescription.react",["fbt","CometLink.react","I64","IGDInboxGenAIStarIcon.react","IGDNullStateGenAILearnMoreButton.react","IGDSBox.react","IGDSText.react","LSIntEnum","LSMessagingThreadTypeUtil","LSNullstateDescriptionType","XInstagramHelpDotComContentControllerRouteBuilder","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j={learnMoreLink:{marginStart:"xsgj6o6",$$css:!0},nullStateContainer:{paddingTop:"xz9dl7a",$$css:!0}};function k(){var a;a=(a=c("XInstagramHelpDotComContentControllerRouteBuilder").buildUri({cms_id:"491565145294150"}).setDomain("help.instagram.com"))==null?void 0:(a=a.setProtocol("https"))==null?void 0:a.toString();return i.jsx(c("CometLink.react"),{color:"primary",href:a,target:"_blank",xstyle:j.learnMoreLink,children:h._("u8be6u7ec6u4e86u89e3")})}k.displayName=k.name+" [from "+f.id+"]";function a(a){var b=a.descriptionText,e=a.descriptionType;a=a.threadType;var f=d("LSMessagingThreadTypeUtil").isSecure(a);a=d("I64").equal(a,d("LSIntEnum").ofNumber(201));var g=a&&d("I64").equal(e,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").SUBTEXT));a=a&&d("I64").equal(e,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT));return i.jsxs(c("IGDSBox.react"),{direction:"row",justifyContent:"center",xstyle:j.nullStateContainer,children:[i.jsxs(c("IGDSText.react"),{color:"secondaryText",size:"body",textAlign:"center",children:[b,g?i.jsx(c("IGDNullStateGenAILearnMoreButton.react"),{}):null,f?i.jsx(k,{}):null]}),a?i.jsx(c("IGDInboxGenAIStarIcon.react"),{}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MAWBridgeVerifyThreadExistsHandler",["I64","LSAuthorityLevel","LSIntEnum","LSMailboxType","LSNullstateDescriptionType","LSRtcCallState","MAWFolderUtils","MAWThemeConstant","MAWThreadDefaults","MAWThreadId","MAWTimeUtils","MAWTimeUtils.bs","Promise","ReQL","ReQLTable.bs","bs_caml_option","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){return d("MAWThreadId").toThreadKey_DEPRECATED(a,b.chatId).then(function(f){return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a==null)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").AUTHORITATIVE),cannotReplyReason:c("bs_caml_option").nullable_to_opt(b.cannotReplyReason),capabilities:b.isGroup?d("MAWThreadDefaults").defaultGroupThreadCapabilities:d("MAWThreadDefaults").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults").defaultThreadCapabilities_2,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),threadKey:f,threadType:b.isGroup?d("LSIntEnum").ofNumber(16):d("LSIntEnum").ofNumber(15)})}).then(function(){})})}function i(a,b){return d("MAWThreadId").toThreadKey_DEPRECATED(a,b.chatId).then(function(e){return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").AUTHORITATIVE),avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:b.cannotReplyReason!=null?b.cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:b.isGroup?d("MAWThreadDefaults").defaultGroupThreadCapabilities:d("MAWThreadDefaults").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults").defaultThreadCapabilities_2,capabilities3:d("MAWThreadDefaults").defaultThreadCapabilities_3,clientThreadKey:void 0,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:d("MAWFolderUtils").getMessagingFolderTag(b.folder),hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),mailboxType:d("LSIntEnum").ofNumber(c("LSMailboxType").TAM),memberCount:void 0,muteCallsExpireTimeMs:d("I64").of_float(b.muteCallsExpireTimeMs),muteExpireTimeMs:d("I64").of_float(b.muteExpireTimeMs),muteMentionExpireTimeMs:d("I64").zero,needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT),nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSIntEnum").ofNumber(c("LSRtcCallState").NO_ONGOING_CALL),otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("MAWFolderUtils").getSystemFolder(b.folder),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:d("I64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWThemeConstant").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("LSIntEnum").ofNumber(0),threadInvitesEnabledV2:d("LSIntEnum").ofNumber(0),threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b.isGroup?d("LSIntEnum").ofNumber(16):d("LSIntEnum").ofNumber(15),unreadDisappearingMessageCount:d("I64").zero,unsendLimitMs:d("I64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(){})})}function j(a,c){return d("MAWThreadId").toThreadKey_DEPRECATED(a,c.chatId).then(function(e){return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(e)).then(function(d){if(d!=null)return b("Promise").resolve();else return i(a,c).then(function(){})})})}function a(a,c){var e=c.clientThreadKey;if(e==null)return j(a,c);else{var f=d("I64").of_string(e);return d("ReQL").firstAsync(d("ReQL").fromTableAscending(a.table("threads")).getKeyRange(f)).then(function(d){if(d!=null)return h(a,c,f).then(function(){return b("Promise").resolve()});else return j(a,c)})}}g.call=a}),98);
-----
MAWCreateOptimisticSecureThread.bs",["I64","LSAuthorityLevel","LSBitOffset","LSFactory","LSGroupParticipantJoinState","LSIntEnum","LSMailboxType","LSNullstateDescriptionType","LSRtcCallState","LSVerifyE2EEMetadataThreadExistsV2","MAWGating","MAWThemeConstant","MAWThreadDefaults.bs","MAWTimeUtils.bs","OfflineThreadingId","Promise","ReQLTable.bs","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){return c("LSVerifyE2EEMetadataThreadExistsV2")(b,void 0,d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),c("LSFactory")(a)).then(function(b){var e=b[0];return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a===void 0)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{clientThreadKey:e})}).then(function(){return e})})}function i(a,b){var e=d("I64").of_string(d("OfflineThreadingId").createOfflineThreadingID());return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,capabilities2:d("LSBitOffset").empty,capabilities3:d("LSBitOffset").empty,clientThreadKey:e,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:"inbox",hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("I64").zero,lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("I64").zero,mailboxType:d("LSIntEnum").ofNumber(c("LSMailboxType").MESSENGER),memberCount:void 0,muteMentionExpireTimeMs:d("I64").zero,muteCallsExpireTimeMs:d("I64").zero,muteExpireTimeMs:d("I64").zero,needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults.bs").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").DEFAULT),nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSIntEnum").ofNumber(c("LSRtcCallState").NO_ONGOING_CALL),otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("LSIntEnum").ofNumber(0),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:d("I64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWGating").isOccamadillo()?void 0:d("MAWThemeConstant").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("LSIntEnum").ofNumber(0),threadInvitesEnabledV2:d("LSIntEnum").ofNumber(0),threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b,unreadDisappearingMessageCount:d("I64").zero,unsendLimitMs:d("I64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(){return e})}function a(a,e,f){f=d("MAWGating").isOccamadillo()&&d("I64").equal(f,d("LSIntEnum").ofNumber(15))?h(a,f):i(a,f);return f.then(function(f){return b("Promise").all(e.map(function(b){return a.table("participants").add({authorityLevel:d("LSIntEnum").ofNumber(c("LSAuthorityLevel").OPTIMISTIC),contactId:b.id,deliveredWatermarkTimestampMs:d("I64").zero,groupParticipantJoinState:d("LSIntEnum").ofNumber(c("LSGroupParticipantJoinState").MEMBER),isAdmin:void 0,isModerator:!1,isSuperAdmin:void 0,nickname:void 0,normalizedSearchTerms:void 0,participantCapabilities:void 0,readActionTimestampMs:d("I64").zero,readWatermarkTimestampMs:d("I64").zero,subscribeSource:void 0,threadKey:f})})).then(function(){return f})})}g.createSecureOccamadilloOptimisticThread=h;g.createSecureOptimisticThread=i;g.call=a}),98);
-----
MWV2ContextBannerNullstateDescription.react",["I64","LSIntEnum","LSNullstateDescriptionType","MWText.react","RecoverableViolation.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");function a(a){var b=a.kind;a=a.text;if(d("I64").equal(b,d("I64").zero)||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").SUBTEXT))||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_DEFAULT))||d("I64").equal(b,d("LSIntEnum").ofNumber(c("LSNullstateDescriptionType").TITLE_SMALL_SUBTEXT)))return h.jsx("div",{className:"xsag5q8",children:h.jsx(c("MWText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return h.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
LSNullstateDescriptionType",[],(function(a,b,c,d,e,f){a=Object.freeze({DEFAULT:0,SUBTEXT:1,TITLE_SMALL_DEFAULT:2,TITLE_SMALL_SUBTEXT:3});f["default"]=a}),66);
-----
MAWBridgeVerifyThreadExistsHandler.bs",["LSAuthorityLevel.bs","LSMailboxType.bs","LSNullstateDescriptionType.bs","LSRtcCallState.bs","MAWFolderUtils","MAWThemeConstant.bs","MAWThreadDefaults.bs","MAWThreadId.bs","MAWTimeUtils","MAWTimeUtils.bs","MessagingThreadType.bs","MessengerJoinableModeType.bs","Promise","ReQL.bs","ReQLTable.bs","bs_caml_format","bs_caml_int64","bs_caml_option","unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,b.chatId).then(function(f){return d("ReQLTable.bs").update(a.table("threads"),{hd:e,tl:0},function(a){if(a===void 0)throw c("unrecoverableViolation")("Optimistic thread is missing","messenger_e2ee_web");return babelHelpers["extends"]({},a,{capabilities2:d("MAWThreadDefaults.bs").defaultThreadCapabilities_2,authorityLevel:d("LSAuthorityLevel.bs").authoritative,capabilities:b.isGroup?d("MAWThreadDefaults.bs").defaultGroupThreadCapabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,cannotReplyReason:c("bs_caml_option").nullable_to_opt(b.cannotReplyReason),lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),threadType:b.isGroup?d("MessagingThreadType.bs").secureMessageOverWaGroup:d("MessagingThreadType.bs").secureMessageOverWaOneToOne,threadKey:f})}).then(function(a){})})}function i(a,b){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,b.chatId).then(function(e){return a.table("threads").add({additionalThreadContext:void 0,authorityLevel:d("LSAuthorityLevel.bs").authoritative,avatarStickerId:void 0,avatarStickerInstructionKeyId:void 0,avatarStickerOriginalImageMimeType:void 0,avatarStickerOriginalImageUrl:void 0,avatarStickerThumbnailImageMimeType:void 0,avatarStickerThumbnailImageUrl:void 0,cannotReplyReason:b.cannotReplyReason!=null?b.cannotReplyReason:void 0,cannotUnsendReason:void 0,capabilities:b.isGroup?d("MAWThreadDefaults.bs").defaultGroupThreadCapabilities:d("MAWThreadDefaults.bs").defaultThreadCapabilities,capabilities2:d("MAWThreadDefaults.bs").defaultThreadCapabilities_2,capabilities3:d("MAWThreadDefaults.bs").defaultThreadCapabilities_3,clientThreadKey:void 0,customEmoji:void 0,customEmojiImageUrl:void 0,disableComposerInput:!1,disappearingModeInitiator:void 0,disappearingThreadKey:void 0,draftMessage:void 0,eventEndTimestampMs:void 0,eventStartTimestampMs:void 0,folderName:d("MAWFolderUtils").getMessagingFolderTag(b.folder),hasPendingInvitation:void 0,hasPersistentMenu:!1,igFolder:void 0,inviterId:void 0,isAdminSnippet:!1,isAllUnreadMessageMissedCallXma:void 0,isCustomThreadPicture:!1,isDisappearingMode:!1,lastActivityTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastActivityTs),lastMessageCtaId:void 0,lastMessageCtaTimestampMs:void 0,lastMessageCtaType:void 0,lastNonMissedCallXmaMessageTimestampMs:void 0,lastReadWatermarkTimestampMs:d("MAWTimeUtils").millisTimeToTimestamp(b.lastReadTs),mailboxType:d("LSMailboxType.bs").tam,memberCount:void 0,muteCallsExpireTimeMs:c("bs_caml_int64").of_float(b.muteCallsExpireTimeMs),muteMentionExpireTimeMs:c("bs_caml_int64").zero,muteExpireTimeMs:c("bs_caml_int64").of_float(b.muteExpireTimeMs),needsAdminApprovalForNewParticipant:void 0,normalizedSearchTerms:void 0,nullstateDescriptionText1:d("MAWThreadDefaults.bs").nullstateDescriptionText1,nullstateDescriptionText2:void 0,nullstateDescriptionText3:void 0,nullstateDescriptionType1:d("LSNullstateDescriptionType.bs").default_,nullstateDescriptionType2:void 0,nullstateDescriptionType3:void 0,ongoingCallState:d("LSRtcCallState.bs").noOngoingCall,otidOfFirstMessage:void 0,outgoingBubbleColor:void 0,parentThreadKey:d("MAWFolderUtils").getSystemFolder(b.folder),proactiveWarningDismissTime:void 0,removeWatermarkTimestampMs:c("bs_caml_int64").zero,shouldRoundThreadPicture:void 0,snippet:void 0,snippetAttribution:void 0,snippetAttributionStringHash:void 0,snippetHasEmoji:!1,snippetSenderContactId:void 0,snippetStringArgument1:void 0,snippetStringHash:void 0,syncGroup:void 0,takedownState:void 0,themeFbid:d("MAWThemeConstant.bs").secureTheme,threadDescription:void 0,threadInviteLink:void 0,threadInvitesEnabled:d("MessengerJoinableModeType.bs").private_,threadInvitesEnabledV2:d("MessengerJoinableModeType.bs").private_,threadKey:e,threadName:void 0,threadPictureUrl:void 0,threadPictureUrlExpirationTimestampMs:void 0,threadPictureUrlFallback:void 0,threadTags:void 0,threadType:b.isGroup?d("MessagingThreadType.bs").secureMessageOverWaGroup:d("MessagingThreadType.bs").secureMessageOverWaOneToOne,unreadDisappearingMessageCount:c("bs_caml_int64").zero,unsendLimitMs:c("bs_caml_int64").zero,viewedPluginContext:void 0,viewedPluginKey:void 0}).then(function(b){return a.table("messages_ranges_v2__generated").add({hasMoreAfter:!1,hasMoreBefore:!1,isLoadingAfter:!1,isLoadingBefore:!1,maxMessageId:"",maxTimestampMs:d("MAWTimeUtils.bs").maxTimestampMs,minMessageId:"",minTimestampMs:d("MAWTimeUtils.bs").minTimestampMs,threadKey:e})}).then(function(a){})})}function j(a,c){return d("MAWThreadId.bs").toThreadKey_DEPRECATED(a,c.chatId).then(function(e){return d("ReQL.bs").first(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(a.table("threads")),{hd:e,tl:0})).then(function(d){if(d!==void 0)return b("Promise").resolve();else return i(a,c).then(function(a){})})})}function a(a,e){var f=e.clientThreadKey;if(f==null)return j(a,e);else{var g=c("bs_caml_format").caml_int64_of_string(f);return d("ReQL.bs").first(d("ReQL.bs").getKeyRange(d("ReQL.bs").fromTableAscending(a.table("threads")),{hd:g,tl:0})).then(function(c){if(c!==void 0)return h(a,e,g).then(function(a){return b("Promise").resolve()});else return j(a,e)})}}g.call=a}),98);
-----
LSNullstateDescriptionType.bs",["bs_caml_int64"],(function(a,b,c,d,e,f){"use strict";a=b("bs_caml_int64").zero;c=b("bs_caml_int64").one;d=[0,2];e=[0,3];f.default_=a;f.subtext=c;f.titleSmallDefault=d;f.titleSmallSubtext=e}),null);
-----
MWV2ContextBanner.bs",["LSAuthorityLevel.bs","LSMessagingThreadTypeUtil.bs","LSNullstateDescriptionType.bs","LSThreadBitOffset.bs","LSThreadCapabilityBitOffset.bs","LSThreadTitle.bs","LsSystemFolder.bs","MAWGating","MWLSFeatureLimitedStatus.bs","MWText.react","MWThreadPicture.bs","RecoverableViolation.react","bs_caml","bs_caml_int64","bs_caml_option","cr:1574","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=b("cr:1574")==null?void 0:c("bs_caml_option").some(b("cr:1574"));e={wrapper:{paddingBottom:"xsag5q8",$$css:!0}};function j(a){var b=a.kind;a=a.text;if(c("bs_caml").i64_eq(b,c("bs_caml_int64").zero)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").subtext)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").titleSmallDefault)||c("bs_caml").i64_eq(b,d("LSNullstateDescriptionType.bs").titleSmallSubtext))return h.jsx("div",{className:"xsag5q8",children:h.jsx(c("MWText.react"),{align:"center",color:"secondary",type:"body4",children:a})});else return h.jsx(c("RecoverableViolation.react"),{errorMessage:"Unhandled nullstate description",projectName:"messenger_comet"})}e={make:j,styles:e};var k={container:{paddingBottom:"xsag5q8",paddingStart:"x1ye3gou",paddingEnd:"xn6708d",paddingTop:"x1cnzs8",$$css:!0},image:{display:"x78zum5",justifyContent:"xl56j7k",marginBottom:"xod5an3",$$css:!0},title:{marginBottom:"xod5an3",$$css:!0}};function l(a){a=a.thread;var e=a.nullstateDescriptionType3,f=a.nullstateDescriptionText3,g=a.nullstateDescriptionType2,k=a.nullstateDescriptionText2,l=a.nullstateDescriptionType1,m=a.nullstateDescriptionText1,n=c("bs_caml").i64_eq(a.parentThreadKey,d("LsSystemFolder.bs").businessSupport),o=d("LSMessagingThreadTypeUtil.bs").isSecure(a.threadType);o=d("MWLSFeatureLimitedStatus.bs").useIsReadOnlyFeatureLimited()&&(!o||d("MAWGating").isFeatureLimitEnabled());return h.jsxs("div",{className:"xsag5q8 x1ye3gou xn6708d x1cnzs8","data-testid":void 0,children:[h.jsx("div",{className:"x78zum5 xl56j7k xod5an3",children:h.jsx(d("MWThreadPicture.bs").make,{badgeSize:14,photoSize:"s_60",thread:a})}),h.jsx("div",{className:"xod5an3",children:h.jsx(c("MWText.react"),{align:"center",type:"headlineEmphasized3",children:h.jsx(d("LSThreadTitle.bs").make,{thread:a,wrapOutput:function(a,b){return b}})})}),m!==void 0&&l!==void 0?h.jsx(j,{kind:l,text:m}):null,k!==void 0&&g!==void 0?h.jsx(j,{kind:g,text:k}):null,f!==void 0&&e!==void 0?h.jsx(j,{kind:e,text:f}):null,!(b("cr:1574")==null)&&!o&&d("LSMessagingThreadTypeUtil.bs").isGroup(a.threadType)&&c("bs_caml").i64_gt(a.authorityLevel,d("LSAuthorityLevel.bs").serverPartial)&&!n?h.jsx(i.make,{thread:a}):null]})}l.displayName=l.name+" [from "+f.id+"]";f={make:l,styles:k};function a(a){a=a.thread;var b=d("LSThreadBitOffset.bs").has(d("LSThreadCapabilityBitOffset.bs").disableContextBanner,a);if(b)return null;else return h.jsx(l,{thread:a})}k=a;a=e;e=f;f=k;g.NullstateDescription=a;g.Impl=e;g.make=f}),98);
-----