ge(){return null}get title(){return this.props.conversation.title}get conversationModalsViewData(){var e
const{conversation:t,authenticatedUser:n,formatter:i,presenceAPI:r}=this.props
return new o.default({conversation:t,participants:this.participants,authenticatedUserProfile:null===(e=n.miniProfile)||void 0===e?void 0:e.content,formatter:i,presenceAPI:r})}get isViewerCurrentParticipant(){var e,t
return this.props.conversation&&(null===(e=this.props.conversation.participants)||void 0===e?void 0:e.includes(null===(t=this.props.authenticatedUser.miniProfile)||void 0===t?void 0:t.dashEntityUrn))}}e.default=s}))
define("msg-conversation-ui/viewdata/sdk-recipient-detail-one-to-one-viewdata",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","presence/viewdata/sdk-entity-with-presence-viewdata","ember-async-data","msg-data/viewdata","msg-data/utils/sdk-view-data-helpers","tracked-toolbox"],(function(e,t,n,i,r,o,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var s
e.default=(s=class extends r.default{get isRecipientOrganization(){return this.props.profile.kind===o.PARTICIPANT_TYPES.ORGANIZATION}get isSponsoredConversation(){return(0,o.isSponsoredConversation)(this.props.conversation)}get recipientBadgeInfo(){return this.isRecipientOrganization&&this.props.profile.following?{textKey:"i18n_following",a11yTextKey:"i18n_following_a11y",value:this.participantName}:this.recipientDistance.isResolved&&this.recipientDistance.value&&"DISTANCE_UNKNOWN"!==this.recipientDistance.value?{textKey:"i18n_distance",a11yTextKey:"i18n_distance_a11y",value:this.recipientDistance.value}:null}get subtitle(){var e
if(this.isRecipientOrganization&&null!==(e=this.props.profile.industryName)&&void 0!==e&&e.text){var t
return null===(t=this.props.profile.industryName)||void 0===t?void 0:t.text}return this.props.profile.headline}get recipientProfileUrl(){return this.isRecipientOrganization?this.props.profile.pageUrl:this.props.profile.profile.url}get recipientProfile(){return this.props.profile}get participantName(){return this.props.participantName}get recipientDistance(){if(this.props.isInvitationAccepted())return new i.TrackedAsyncData("DISTANCE_1")
const e=this.props.msgDataManager.connectionStatusMap.get(this.props.profileId),t=e?e.memberDistance:"DISTANCE_UNKNOWN"
return new i.TrackedAsyncData(t)}get pronounsObject(){return new i.TrackedAsyncData(this.props.profile.pronoun)}get creatorProfileViewEnabled(){const{conversation:e}=this.props
return(0,o.isConversationFeatureSupported)(e,"VIEW_CREATOR_PROFILE")&&null!==this.recipientProfileUrl}get entityWithPresenceViewData(){return new n.default({participant:this.props.profile,altText:this.participantName})}get pageLogo(){return this.props.profile.logo}get verificationLabel(){var e
return null===(e=this.props.conversation.conversationVerificationLabel)||void 0===e?void 0:e.text}get verificationExplanation(){return this.props.conversation.conversationVerificationExplanation}},(0,t.default)(s.prototype,"recipientDistance",[a.cached],Object.getOwnPropertyDescriptor(s.prototype,"recipientDistance"),s.prototype),(0,t.default)(s.prototype,"pronounsObject",[a.cached],Object.getOwnPropertyDescriptor(s.prototype,"pronounsObject"),s.prototype),s)}))
define("msg-conversation-ui/viewdata/sdk-thread-top-card-viewdata",["exports","global-utils/utils/profile-id-parser","global-helpers/helpers/name","msg-conversation-ui/viewdata/sdk-conversation-rename-viewdata","msg-data/viewdata","msg-conversation-ui/viewdata/sdk-connection-invitation-viewdata","msg-conversation-ui/viewdata/compose-recipient-detail-one-to-one-viewdata","msg-data/utils/sdk-view-data-helpers","msg-shared/helpers/is-message-request-conversation","urn-utils"],(function(e,t,n,i,r,o,a,s,l,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class p extends r.default{get isInMailOrInMailReply(){return(0,s.isInMailConversation)(this.props.conversation)}get latestMessageIsInMail(){var e,t
const n=null===(e=this.props.conversation)||void 0===e||null===(t=e.messages)||void 0===t?void 0:t.last()
return(0,s.messageHasInMailHostUrnData)(n)}get isPremiumInMailOrReply(){var e,t
const n=null===(e=this.props.conversation)||void 0===e||null===(t=e.messages)||void 0===t?void 0:t.first()
return(0,s.messageHasInMailProductType)(n,"PREMIUM_INMAIL")}get participantIsBlocked(){}get participantIsConnected(){const e=this.recipientProfileUrn?(0,c.extractEntityInfoFromUrn)(this.recipientProfileUrn).id:null,t=this.props.msgDataManager.connectionStatusMap.get(this.recipientProfileUrn)
return!t||(t.isConnected||this.props.invitationPlatform.isInvitationAccepted(e))}get isGroupChat(){var e
return null===(e=this.props.conversation)||void 0===e?void 0:e.groupChat}get recipientProfileUrn(){var e,t
const[n]=(null===(e=this.props.conversation)||void 0===e||null===(t=e.participants)||void 0===t?void 0:t.filter((e=>e!==this.props.authenticatedUser.miniProfile.dashEntityUrn)))??[]
return n}get latestEvent(){const{conversation:e,msgDataManager:t}=this.props
return e&&(0,s.getLatestMessage)(e,t)}get isPendingOrDeclinedMessageRequest(){const{conversation:e}=this.props
return(0,l.isMessageRequestConversation)(e)}get conversationRenameViewData(){const{conversation:e}=this.props
return new i.default({conversation:e})}get connectionInvitationViewData(){const{conversation:e,invitationPlatform:t,authenticatedUser:n,msgDataManager:i}=this.props
return new o.default({conversation:e,invitationPlatform:t,authenticatedUser:n,msgDataManager:i})}get recipientDetailOneToOneViewData(){const{profile:e,formatter:i,router:r,identityStore:o,store:s,lix:l,msgDataManager:c}=this.props,p=(0,t.getProfileMemberId)(e)
return new a.default({profile:e,profileId:p,participantName:i.formatName((0,n.getName)(e),"full"),router:r,identityStore:o,store:s,lix:l,msgDataManager:c,isInvitationAccepted:()=>this.props.invitationPlatform.isInvitationAccepted(p)})}}e.default=p}))
define("msg-conversation-ui/viewdata/sdk-typing-indicators-viewdata",["exports","msg-data/viewdata"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class n extends t.default{get typingParticipants(){return this.props.typingParticipants.map((e=>({isTyping:!0,image:e.profile.picture,fullName:this.props.formatter.formatName(e,"full")})))}}e.default=n}))
define("msg-mentions/components/mention-all-picker-option-presenter",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","@ember/modifier","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,r,o,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const s=(0,r.setComponentTemplate)((0,t.createTemplateFactory)({id:"wZu8n8Cy",block:'[[[1,"\\n"],[1,"  "],[11,"li"],[24,"tabindex","0"],[24,0,"msg-form__mention-option"],[24,"data-mentions-picker-option",""],[4,[32,0],["click",[30,1]],null],[4,[32,0],["keydown",[30,2]],null],[12],[1,"\\n"],[1,"    "],[10,1],[14,0,"EntityPhoto-circle-2 ghost-group"],[12],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"display-flex flex-column pl2 truncate"],[12],[1,"\\n      "],[10,1],[14,0,"t-14 t-black t-bold truncate"],[12],[1,"\\n        "],[1,[28,[32,1],["i18n_mention_all","msg-mentions/components/mention-all-picker-option-presenter"],null]],[1,"\\n      "],[13],[1,"\\n      "],[10,1],[14,0,"t-12 t-black--light t-normal truncate"],[12],[1,"\\n        "],[1,[28,[32,1],["i18n_notify_entire_group","msg-mentions/components/mention-all-picker-option-presenter"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],["@onClick","@onKeyDown"],false,[]]',moduleName:"msg-mentions/components/mention-all-picker-option-presenter.gjs",scope:()=>[o.on,a.default],isStrictMode:!0}),(0,i.default)("mention-all-picker-option-presenter","MentionAllPickerOptionPresenter"))
e.default=s}))
define("msg-mentions/components/mention-to-invite-toast-presenter",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","global-utils/utils/is-browser","@ember/debug","@ember/object/internals","msg-shared/utils/custom-tracking","msg-shared/utils/constants","global-helpers/helpers/name","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t","@ember/render-modifiers/modifiers/did-insert","hue-web-icons/components/icon","global-helpers/helpers/gte","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier","ember-set-helper/helpers/set","artdeco-modal/components/artdeco-confirmation-dialog"],(function(e,t,n,i,r,o,a,s,l,c,p,u,m,d,f,g,v,h,b,y,_,w,P,k,D,T,x){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var I,M,O,C,N,j,S,A,F,U,E,z
const{ACTION_TYPES:{ADD:R},CONTROL_NAMES:{ACTIONS:V}}=u.default
e.default=(0,a.setComponentTemplate)((0,o.createTemplateFactory)({id:"AVoROCly",block:'[[[1,"\\n"],[1,"\\n"],[41,[30,1],[[[1,"      "],[8,[32,0],[[24,0,"msg-form__mention-to-invite-toast-card"],[16,1,[30,0,["mentionToInviteToastId"]]],[4,[32,2],[[30,0,["onInsert"]]],null]],[["@isDismissable","@onDismiss","@dismissText","@tabindex"],[true,[30,0,["closeToast"]],[28,[32,1],["a11y_dismiss_mention-to-invite-toast","msg-mentions/components/mention-to-invite-toast-presenter"],null],"0"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"msg-form__mention-to-invite-toast-icon mr2"],[12],[1,"\\n          "],[8,[32,3],null,[["@type","@name","@size"],["system","signal-notice","medium"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"mr4 t-14"],[12],[1,"\\n          "],[10,1],[14,"tabindex","0"],[14,0,"msg-form__mention-to-invite-toast-card__text mr1"],[12],[1,"\\n"],[41,[28,[32,4],[2,[30,1,["length"]]],null],[[[1,"              "],[1,[28,[32,1],["i18n_up_to_2_participants_not_in_group_conversation","msg-mentions/components/mention-to-invite-toast-presenter"],[["names","count"],[[30,0,["membersToInviteNames"]],[30,1,["length"]]]]]],[1,"\\n"]],[]],[[[1,"              "],[1,[28,[32,1],["i18n_3_or_more_participants_not_in_group_conversation","msg-mentions/components/mention-to-invite-toast-presenter"],[["name1","name2","othersCount"],[[28,[32,5],[[30,0,["membersToInviteNames"]],"0"],null],[28,[32,5],[[30,0,["membersToInviteNames"]],"1"],null],[30,0,["othersCount"]]]]]],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n          "],[11,3],[24,"tabindex","0"],[24,6,"#"],[16,"aria-label",[28,[32,1],["a11y_add_mentioned_members","msg-mentions/components/mention-to-invite-toast-presenter"],null]],[24,0,"msg-form__mention-to-invite-toast-link"],[4,[32,6],[[30,0,["addThemInteractionName"]]],null],[4,[32,7],["click",[28,[32,8],[[30,0],"showConfirmModal",true],null]],null],[12],[1,"\\n            "],[1,[28,[32,1],["i18n_add_them","msg-mentions/components/mention-to-invite-toast-presenter"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n    "],[8,[32,9],null,[["@isOpen","@title","@content","@primaryActionText","@primaryActionTextA11y","@secondaryActionText","@secondaryActionTextA11y","@onPrimary","@onSecondary","@onEscape","@primaryControlName","@size"],[[30,0,["showConfirmModal"]],[52,[28,[32,4],[2,[30,1,["length"]]],null],[28,[32,1],["i18n_add_up_to_2_members_to_this_conversation_prompt","msg-mentions/components/mention-to-invite-toast-presenter"],[["names"],[[30,0,["membersToInviteNames"]]]]],[28,[32,1],["i18n_add_3_or_more_members_to_this_conversation_prompt","msg-mentions/components/mention-to-invite-toast-presenter"],[["name1","name2","othersCount"],[[28,[32,5],[[30,0,["membersToInviteNames"]],"0"],null],[28,[32,5],[[30,0,["membersToInviteNames"]],"1"],null],[30,0,["othersCount"]]]]]],[28,[32,1],["i18n_new_members_will_see_history","msg-mentions/components/mention-to-invite-toast-presenter"],null],[28,[32,1],["i18n_yes","msg-mentions/components/mention-to-invite-toast-presenter"],null],[28,[32,1],["a11y_confirm_add_mentioned_members","msg-mentions/components/mention-to-invite-toast-presenter"],null],[28,[32,1],["i18n_cancel","msg-mentions/components/mention-to-invite-toast-presenter"],null],[28,[32,1],["a11y_dismiss_add_mentioned_members","msg-mentions/components/mention-to-invite-toast-presenter"],null],[30,0,["addParticipants"]],[30,0,["closeModal"]],[30,0,["closeModal"]],[30,0,["addConfirmationInteractionName"]],"medium"]],null],[1,"\\n  "]],["@membersToInvite"],false,["if"]]',moduleName:"msg-mentions/components/mention-to-invite-toast-presenter.gjs",scope:()=>[h.default,b.default,y.default,_.default,w.default,P.get,k.default,D.on,T.default,x.default],isStrictMode:!0}),(I=(0,v.inject)("msg-data@data-manager"),M=(0,v.inject)("tracking"),O=(0,v.inject)("persistent-toast-manager@persistent-toast-manager"),C=(0,v.inject)("i18n"),N=(0,v.inject)("global-services@a11y-notification"),j=class extends g.default{constructor(){super(...arguments);(0,n.default)(this,"mentionToInviteToastId",`mention-to-invite-toast-${(0,c.guidFor)(this)}`);(0,t.default)(this,"msgDataManager",S,this);(0,t.default)(this,"tracking",A,this);(0,t.default)(this,"persistentToastManager",F,this);(0,t.default)(this,"i18n",U,this);(0,t.default)(this,"a11yNotification",E,this);(0,t.default)(this,"showConfirmModal",z,this)}get membersToInviteNames(){var e
return null===(e=this.args.membersToInvite)||void 0===e?void 0:e.map(m.getName)}get othersCount(){var e
return null!==(e=this.args.membersToInvite)&&void 0!==e&&e.length?this.args.membersToInvite.length-2:0}get actionTrackingPrefix(){return this.args.actionTrackingPrefix??""}get addThemInteractionName(){return this.actionTrackingPrefix.concat("at_mention_add_them")}get addConfirmationInteractionName(){return this.actionTrackingPrefix.concat("at_mention_confirmation_add")}onInsert(){if(s.default){const e=document.getElementById(this.mentionToInviteToastId).querySelector(".msg-form__mention-to-invite-toast-card__text")
if(e){e.focus()
const t=this.args.membersToInvite.length
t<=2?this.a11yNotify("i18n_up_to_2_participants_not_in_group_conversation",{names:this.membersToInviteNames,count:t}):this.a11yNotify("i18n_3_or_more_participants_not_in_group_conversation",{name1:this.membersToInviteNames[0],name2:this.membersToInviteNames[1],othersCount:this.othersCount})}}}addToast(){const e=this.i18n.lookupTranslation(this.constructor,"i18n_num_participants_added")([{count:this.addedParticipantsCount}])
this.persistentToastManager.success({message:e})}a11yNotify(e,t){const n=this.i18n.lookupTranslation(this.constructor,e)
this.a11yNotification.setTextInLiveRegion(n([t]))}addParticipants(){var e,t
const{conversationUrn:n,conversationBackendUrn:i,participantTrackingUrns:r,participantPresenceStatuses:o}=this.args.viewData
this.addedParticipantsCount=this.args.membersToInvite.length
this.msgDataManager.addParticipants(this.args.membersToInvite.map((e=>e.entityUrn)),n).then((()=>{if(!this.isDestroying){p.default.fireDetailActionEvent({actionType:R,controlName:`${this.actionTrackingPrefix}${V.ADD_PARTICIPANTS}`,conversationObjectUrn:i,participantUrns:r,participantPresenceStatuses:o,moduleKey:"mention_to_invite",trackingService:this.tracking})
this.addToast()}}))
this.showConfirmModal=!1
null===(e=(t=this.args).onToastDismiss)||void 0===e||e.call(t)}closeModal(){var e,t
this.tracking.fireInteractionEvent(`${this.actionTrackingPrefix}at_mention_confirmation_cancel`)
this.showConfirmModal=!1
null===(e=(t=this.args).onToastDismiss)||void 0===e||e.call(t)}closeToast(){var e,t
this.tracking.fireInteractionEvent(`${this.actionTrackingPrefix}at_mention_x_out`)
null===(e=(t=this.args).onToastDismiss)||void 0===e||e.call(t)}},S=(0,i.default)(j.prototype,"msgDataManager",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,i.default)(j.prototype,"tracking",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,i.default)(j.prototype,"persistentToastManager",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,i.default)(j.prototype,"i18n",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(j.prototype,"a11yNotification",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,i.default)(j.prototype,"showConfirmModal",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(j.prototype,"onInsert",[d.action],Object.getOwnPropertyDescriptor(j.prototype,"onInsert"),j.prototype),(0,i.default)(j.prototype,"addParticipants",[d.action],Object.getOwnPropertyDescriptor(j.prototype,"addParticipants"),j.prototype),(0,i.default)(j.prototype,"closeModal",[d.action],Object.getOwnPropertyDescriptor(j.prototype,"closeModal"),j.prototype),(0,i.default)(j.prototype,"closeToast",[d.action],Object.getOwnPropertyDescriptor(j.prototype,"closeToast"),j.prototype),j))}))
define("msg-mentions/components/mentions-picker-option-presenter",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","@ember/modifier","presence/components/entity-with-presence-presenter"],(function(e,t,n,i,r,o,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const s=(0,r.setComponentTemplate)((0,t.createTemplateFactory)({id:"BOndtOCG",block:'[[[1,"\\n"],[1,"  "],[11,"li"],[24,"tabindex","0"],[24,"data-mentions-picker-option",""],[24,0,"msg-form__mention-option"],[4,[32,0],["click",[30,1]],null],[4,[32,0],["keydown",[30,2]],null],[12],[1,"\\n"],[1,"    "],[8,[32,1],[[24,0,"msg-form__mention-entity"]],[["@viewData","@size"],[[30,3,["entityWithPresenceViewData"]],2]],null],[1,"\\n    "],[10,0],[14,0,"display-flex flex-column pl2 truncate"],[12],[1,"\\n      "],[10,1],[14,0,"t-14 t-black t-bold truncate"],[12],[1,"\\n        "],[1,[30,3,["title"]]],[1,"\\n      "],[13],[1,"\\n      "],[10,1],[14,0,"t-12 t-black--light t-normal truncate"],[12],[1,"\\n        "],[1,[30,3,["subtitle"]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],["@selectMention","@selectMentionWithKeyDown","@viewData"],false,[]]',moduleName:"msg-mentions/components/mentions-picker-option-presenter.gjs",scope:()=>[o.on,a.default],isStrictMode:!0}),(0,i.default)("mentions-picker-option-presenter","MentionsPickerOptionPresenter"))
e.default=s}))
define("msg-mentions/components/mentions-picker-presenter",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","global-modifiers/modifiers/on-click-outside","@ember/modifier","msg-mentions/components/mention-all-picker-option-presenter","@ember/helper","msg-mentions/components/mentions-picker-option-presenter","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,r,o,a,s,l,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const p=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"VRK4QmAX",block:'[[[1,"\\n"],[1,"  "],[11,"ul"],[16,0,[29,["msg-form__mentions-picker\\n      ",[52,[51,[30,1]],"msg-form__mentions-picker--auto-selected"],"\\n      scrollable"]]],[24,"data-mentions-picker",""],[24,"role","listbox"],[16,5,[30,2]],[4,[32,0],[[30,3]],null],[4,[32,1],["keydown",[30,4]],null],[12],[1,"\\n"],[41,[30,5],[[[1,"      "],[8,[32,2],null,[["@onClick","@onKeyDown"],[[28,[32,3],[[30,6],[30,7]],null],[28,[32,3],[[30,8],[30,7]],null]]],null],[1,"\\n"]],[]],null],[42,[28,[31,3],[[28,[31,3],[[30,9,["conversationParticipantMentionOptions"]]],null]],null],null,[[[1,"      "],[8,[32,4],null,[["@viewData","@selectMention","@selectMentionWithKeyDown"],[[30,10],[28,[32,3],[[30,6],[30,10,["editorAttribute"]]],null],[28,[32,3],[[30,8],[30,10,["editorAttribute"]]],null]]],null],[1,"\\n"]],[10]],null],[41,[30,9,["connectionMentionOptions","length"]],[[[1,"      "],[10,"li"],[14,0,"msg-form__mentions-picker-connections-title t-12 t-black--light t-bold ph2 pt2 pb1"],[12],[1,"\\n        "],[1,[28,[32,5],["i18n_connections_header","msg-mentions/components/mentions-picker-presenter"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[42,[28,[31,3],[[28,[31,3],[[30,9,["connectionMentionOptions"]]],null]],null],null,[[[1,"      "],[8,[32,4],null,[["@viewData","@selectMention","@selectMentionWithKeyDown"],[[30,11],[28,[32,3],[[30,6],[30,11,["editorAttribute"]]],null],[28,[32,3],[[30,8],[30,11,["editorAttribute"]]],null]]],null],[1,"\\n"]],[11]],null],[1,"  "],[13],[1,"\\n"]],["@isTabbingThroughMentions","@mentionsTopPosition","@closeMentions","@onKeyDown","@showMentionAllOption","@selectMention","@mentionAll","@selectMentionWithKeyDown","@viewData","optionViewData","optionViewData"],false,["unless","if","each","-track-array"]]',moduleName:"msg-mentions/components/mentions-picker-presenter.gjs",scope:()=>[r.default,o.on,a.default,s.fn,l.default,c.default],isStrictMode:!0}),(0,n.default)("mentions-picker-presenter","MentionsPickerPresenter"))
e.default=p}))
define("msg-mentions/template-registry",[],(function(){}))
define("msg-mentions/viewdata/connection-mentions-picker-option-viewdata",["exports","global-helpers/helpers/name","presence/viewdata/host-entity-with-presence-viewdata","msg-data/viewdata"],(function(e,t,n,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends i.default{get title(){return this.props.formatter.formatName((0,t.getName)(this.props.profile),"full")}get subtitle(){return this.props.profile.occupation}get entityWithPresenceViewData(){const{profile:e}=this.props
return new n.default({profile:e,altText:this.title})}get editorAttribute(){return this.props.editorAttribute}}e.default=r}))
define("msg-mentions/viewdata/sdk-mention-to-invite-toast-viewdata",["exports","msg-data/utils/sdk-view-data-helpers","msg-data/viewdata","msg-shared/utils/custom-tracking"],(function(e,t,n,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends n.default{get conversationUrn(){return this.props.conversation.entityUrn}get conversationBackendUrn(){return this.props.conversation.backendUrn}get participantTrackingUrns(){const{conversation:e}=this.props,t=(null==e?void 0:e.decoratedParticipants)??[]
return(0,i.getParticipantTrackingUrns)(t,!0)??[]}get participantPresenceStatuses(){const{conversation:e,presenceAPI:n}=this.props
return(0,t.getParticipantPresenceStatuses)(e.participants,n)}}e.default=r}))
define("msg-mentions/viewdata/sdk-mentions-picker-option-viewdata",["exports","msg-data/viewdata","global-helpers/helpers/name","presence/viewdata/sdk-entity-with-presence-viewdata"],(function(e,t,n,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{get title(){const{formatter:e,profile:t}=this.props
return e.formatName((0,n.getName)(t),"full")}get subtitle(){const{profile:e}=this.props
return e?e.headline:void 0}get entityWithPresenceViewData(){const{profile:e}=this.props
return new i.default({participant:e,altText:this.title})}get editorAttribute(){return this.props.editorAttribute}}e.default=r}))
define("msg-mentions/viewdata/sdk-mentions-picker-viewdata",["exports","msg-data/viewdata","msg-mentions/viewdata/sdk-mentions-picker-option-viewdata","msg-mentions/viewdata/connection-mentions-picker-option-viewdata"],(function(e,t,n,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{get conversationParticipantMentionOptions(){const{conversationParticipantMentions:e,formatter:t}=this.props
return e.map((e=>new n.default({profile:e.mentionedMemberProfile,editorAttribute:e.editorAttribute,formatter:t})))}get connectionMentionOptions(){return this.props.connectionMentions.map((e=>new i.default({profile:e.mentionedMemberProfile,editorAttribute:e.editorAttribute,formatter:this.props.formatter})))}}e.default=r}))

//# sourceMappingURL=engine-vendor.mapӘ