PageSourceSearch

https://www.postpone.app/_nuxt/CK3Fq0I0.js

js postpone.app collected 2026-09-24 22:20:13 UTC 120,464 bytes, 351 lines download raw bytes

1import{_ as N,f as z,S as Je,a as _,a9 as en,aG as gn,g as nn,b as Fe,u as Te,r as kn}from"./bkBFTh2e.js";import{_ as _e}from"./DKwiZyJj.js";import{b as yn,d as De,a as hn,_ as bn,e as xn,c as Cn,f as wn}from"./DeziWpoY.js";import{K as x,O as m,W as c,S as t,Z as y,a7 as s,P as h,Y as k,a4 as d,X as S,U as R,a1 as O,Q as p,a9 as F,a8 as $,V as Re,a5 as V}from"./zy72lt9b.js";import{c as Sn}from"./BzDDHjDY.js";import{m as Ue,h as Ee}from"./CFf7hwEM.js";import{_ as In}from"./oAF-9mEt.js";import{_ as Nn}from"./B9TuhoBt.js";import{_ as Fn}from"./BGSxYvSD.js";import{n as Me}from"./BN5ZSBSc.js";import"./b_2RUKIE.js";import{c as Tn}from"./CrS59J6B.js";import{a as tn}from"./DlMBofn7.js";import{_ as _n}from"./DegLbgnj.js";import{d as Rn}from"./CO3I0i81.js";import{R as Ve}from"./DTMGC8iU.js";import"./Dj48v9FO.js";import"./3iLyiP0y.js";import"./DSBJqnqI.js";import"./C_eDRqNo.js";import"./D-94xZhM.js";import"./CmOYf1Ri.js";import"./DKbRsn5M.js";import"./CaWwiEII.js";import"./BCbW9AqQ.js";import"./CoigwhSU.js";import"./BuL0sp9K.js";import"./Ca2Wbpo-.js";import"./BglRAxI4.js";import"./Bv5-OWYI.js";import"./7TmujuT4.js";import"./Dn9cQPiB.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};
1n.SENTRY_RELEASE={id:"fe05495fc0b2a196613b31984dce0ddcac482801"};var e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="4b7548ec-60fa-4ada-9f1f-e05c73bd5e3c",n._sentryDebugIdIdentifier="sentry-dbid-4b7548ec-60fa-4ada-9f1f-e05c73bd5e3c")}catch{}})();const Un={name:"ConversationsSidebarConversation",emits:["open-conversation"],props:{conversation:{type:Object,required:!0},active:{type:Boolean,required:!0}},data(){return{SHORT_MONTH_DAY_FORMAT:Je}},methods:{formatDate:z},computed:{authorFirstLetter(){const n=this.conversation.authorUsername,e=n.replace("u/","").match(/[a-zA-Z0-9]/);return e?e[0].toUpperCase():n[0]}}},En={class:"is-relative u-mr1"},An={class:"convo--avatar"},Dn={class:"is-flex-grow-1",style:{"min-width":"0"}},Mn={class:"is-flex is-justify-content-space-between is-align-items-center"},Vn={key:0,class:"has-text-weight-bold has-text-ellipsis"},zn={style:{"white-space":"nowrap"}},Ln={class:"convo--date is-size-7"},On={class:"convo--preview"};function $n(n,e,i,a,o,r){const v=x("b-icon"),l=yn;return m(),c("div",{class:R(["convo is-flex",[{"is-active":i.active}]]),onClick:e[0]||(e[0]=u=>n.$emit("open-conversation",i.conversation))},[t("div",En,[t("div",An,y(r.authorFirstLetter),1),e[1]||(e[1]=s()),i.conversation.isUnread?(m(),h(v,{key:0,icon:"circle",pack:"fas",type:"is-danger",size:"is-small",class:"is-size-7 convo--unread-indicator"})):k("",!0),e[2]||(e[2]=s()),d(l,{"conversation-type":i.conversation.conversationType},null,8,["conversation-type"])]),e[5]||(e[5]=s()),t("div",Dn,[t("div",Mn,[i.conversation.authorUsername?(m(),c("span",Vn,y(i.conversation.authorUsername),1)):k("",!0),e[3]||(e[3]=s()),t("span",zn,[t("span",Ln,y(r.formatDate(i.conversation.lastMessageDate,o.SHORT_MONTH_DAY_FORMAT)),1)])]),e[4]||(e[4]=s()),t("div",On,[i.conversation.preview?(m(),c(S,{key:0},[s(y(i.conversation.preview),1)],64)):i.conversation.isUnread?(m(),c(S,{key:1},[s(`
2          Unread private message
3        `)],64)):(m(),c(S,{key:2},[s(" Read private message ")],64))])])],2)}const Hn=N(Un,[["render",$n],["__scopeId","data-v-15ad3829"]]),qn={name:"ConversationsProfileAvatar",props:{profile:{type:Object,required:!1},size:{type:Number,default:48}},data(){return{forceIcon:!1}},methods:{onImageError(){this.forceIcon=!0}}},Pn={class:"avatar-wrapper"},jn=["src","alt"];function Qn(n,e,i,a,o,r){return m(),c("span",Pn,[i.profile&&i.profile.avatarUrl&&!o.forceIcon?(m(),c("figure",{key:0,class:"image",style:O({width:`${i.size}px`,height:`${i.size}px`})},[t("img",{src:i.profile.avatarUrl,alt:i.profile.username,class:"is-rounded",style:O({width:`${i.size}px`,height:`${i.size}px`}),onError:e[0]||(e[0]=(...v)=>r.onImageError&&r.onImageError(...v))},null,44,jn)],4)):(m(),c("span",{key:1,class:"icon has-text-grey-light is-inline-block",style:O({width:`${i.size}px`,height:`${i.size}px`})},[t("i",{class:"fas fa-user-circle",style:O({width:`${i.size}px`,height:`${i.size}px`,fontSize:`${i.size}px`})},null,4)],4))])}const ne=N(qn,[["render",Qn],["__scopeId","data-v-0a37f9da"]]),Bn={name:"ConversationsMessageHeader",emits:["toggle-read","archive","hide-user"],props:{profile:{type:Object,default:null},authorUsername:{type:String,required:!0},isUnread:{type:Boolean,required:!0}}},Gn={class:"current-message-header"},Kn={class:"is-flex is-align-items-center is-justify-content-space-between"},Wn={class:"is-flex is-align-items-center"},Yn={class:"has-text-weight-bold is-size-5",style:{"line-height":"1.1rem"}},Zn={key:0,class:"is-size-6"},Xn=["href"],Jn={class:"u-ml1"};function ei(n,e,i,a,o,r){const v=ne,l=_,u=x("b-tooltip");return m(),c("div",Gn,[t("div",Kn,[t("div",Wn,[d(v,{profile:i.profile,size:44,class:"u-mr1"},null,8,["profile"]),e[4]||(e[4]=s()),t("div",null,[t("div",Yn,[i.profile?(m(),c(S,{key:0},[s(y(i.profile.displayName||i.profile.username),1)],64)):(m(),c(S,{key:1},[s(y(i.authorUsername),1)],64))]),e[3]||(e[3]=s()),i.profile&&i.profile.displayName&&i.profile.username?(m(),c("div",Zn,[t("a",{href:i.profile.profileUrl,target:"_blank",class:"has-text-grey"},y(i.profile.username),9,Xn)])):k("",!0)])]),e[7]||(e[7]=s()),t("div",Jn,[d(u,{label:`Mark as ${i.isUnread?"Read":"Unread"}`,type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":i.isUnread?"envelope-circle-check":"envelope-dot",onClick:e[0]||(e[0]=g=>n.$emit("toggle-read"))},null,8,["icon-left"])]),_:1},8,["label"]),e[5]||(e[5]=s()),d(u,{label:"Archive",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":"archive",onClick:e[1]||(e[1]=g=>n.$emit("archive"))})]),_:1}),e[6]||(e[6]=s()),d(u,{label:"Hide User",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":"user-slash",class:"has-text-danger",onClick:e[2]||(e[2]=g=>n.$emit("hide-user"))})]),_:1})])])])}const ni=N(Bn,[["render",ei],["__scopeId","data-v-c6b80ce7"]]),ii={name:"ConversationsMessageText",props:{messageHtml:{type:String,required:!0}},computed:{accountUsernames(){return this.$store.profile.socialAccounts.map(n=>n.username)}}},ti=["innerHTML"];function si(n,e,i,a,o,r){return m(),c("div",{class:"message-text",innerHTML:i.messageHtml},null,8,ti)}const sn=N(ii,[["render",si],["__scopeId","data-v-c8a0bd8c"]]),ai={name:"ConversationsMedia",props:{media:{type:Object},switchTypeOnError:{type:Boolean,default:!1}},methods:{async handleImageError(){if(this.switchTypeOnError)try{const e=(await fetch(this.media.url,{method:"HEAD"})).headers.get("content-type");e&&e.startsWith("video")&&(this.media.mediaType="video")}catch(n){console.error("Error checking media type:",n)}}}},oi={key:0,class:"image"},ri=["src"],li={key:1,controls:"",playsinline:"",loop:"",muted:"",preload:"metadata"},di=["src"];function mi(n,e,i,a,o,r){return m(),c("div",null,[i.media.mediaType==="image"||i.media.mediaType==="gif"?(m(),c("figure",oi,[t("img",{src:i.media.url,loading:"lazy",onError:e[0]||(e[0]=(...v)=>r.handleImageError&&r.handleImageError(...v))},null,40,ri)])):i.media.mediaType==="video"?(m(),c("video",li,[t("source",{src:i.media.url,type:"video/mp4"},null,8,di)])):k("",!0)])}const ui=N(ai,[["render",mi],["__scopeId","data-v-49617e08"]]),ci={name:"ConversationsMessage",props:{message:{type:Object,required:!0},isFromSelf:{type:Boolean,required:!0}},methods:{formatDate:z},data(){return{SHORT_DATETIME_FORMAT:en}}},fi={class:"is-flex is-align-items-center is-justify-content-space-between u-mb1"},vi={class:"is-flex is-align-items-center"},pi=["href"],gi=["href"],ki={class:"is-size-7"},yi={class:"message-date u-ml1"},hi=["href"],bi={class:"author-preview--message content u-mb0 u-mt1"},xi={key:0,class:"author-preview--media u-mt1"},Ci={key:0,class:"has-text-grey is-size-7"},wi={key:1,class:"has-text-grey is-size-7"},Si={key:1,class:"author-preview--media u-mt1"},Ii={class:"image"},Ni=["src"];function Fi(n,e,i,a,o,r){const v=ne,l=x("b-icon"),u=sn,g=ui;return m(),c("div",{class:R(["message","u-p2",i.isFromSelf?"from-self":"from-other"])},[t("div",fi,[t("div",vi,[t("a",{href:i.message.profile.profileUrl,class:"is-inline-flex",target:"_blank"},[d(v,{profile:i.message.profile,size:24,class:"u-mr1"},null,8,["profile"])],8,pi),e[0]||(e[0]=s()),t("a",{href:i.message.profile.profileUrl,target:"_blank",class:"has-text-weight-bold username-link u-mr1"},y(i.message.profile.username),9,gi)]),e[2]||(e[2]=s()),t("div",ki,[t("span",yi,y(r.formatDate(i.message.dateCreated,o.SHORT_DATETIME_FORMAT)),1),e[1]||(e[1]=s()),i.message.url?(m(),c("a",{key:0,href:i.message.url,target:"_blank",class:"message-date u-ml1"},[d(l,{icon:"external-link",size:"is-small"})],8,hi)):k("",!0)])]),e[7]||(e[7]=s()),t("div",bi,[d(u,{messageHtml:i.message.messageHtml},null,8,["messageHtml"])]),e[8]||(e[8]=s()),i.message.media&&i.message.media.length?(m(),c("div",xi,[(m(!0),c(S,null,F(i.message.media,C=>(m(),c("div",{key:C.url},[d(g,{media:C,"switch-type-on-error":C.metaType==="story"},null,8,["media","switch-type-on-error"]),e[5]||(e[5]=s()),C.metaType==="story"?(m(),c("p",Ci,[d(l,{icon:"circle-user",size:"is-small"}),e[3]||(e[3]=s(`
4          Story
5        `,-1))])):k("",!0),e[6]||(e[6]=s()),C.metaType==="share"?(m(),c("p",wi,[d(l,{icon:"share",size:"is-small"}),e[4]||(e[4]=s(`
6          Share
7        `,-1))])):k("",!0)]))),128))])):k("",!0),e[9]||(e[9]=s()),i.message.mediaUrl?(m(),c("div",Si,[t("figure",Ii,[t("img",{src:i.message.mediaUrl,loading:"lazy"},null,8,Ni)])])):k("",!0)],2)}
7const Ti=N(ci,[["render",Fi],["__scopeId","data-v-56052878"]]);var ie={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"savedReplies"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"platform"}},type:{kind:"NamedType",name:{kind:"Name",value:"SocialPlatform"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"savedReplies"},arguments:[{kind:"Argument",name:{kind:"Name",value:"platform"},value:{kind:"Variable",name:{kind:"Name",value:"platform"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:108}};ie.loc.source={body:`query savedReplies($platform: SocialPlatform) {
8  savedReplies(platform: $platform) {
9    id
10    body
11  }
12}
13`,name:"GraphQL request",locationOffset:{line:1,column:1}};function H(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){H(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){H(a,e)}),n.definitions&&n.definitions.forEach(function(a){H(a,e)})}var fe={};(function(){ie.definitions.forEach(function(e){if(e.name){var i=new Set;H(e,i),fe[e.name.value]=i}})})();function ze(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function _i(n,e){var i={kind:n.kind,definitions:[ze(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=fe[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=fe[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=ze(n,l);u&&i.definitions.push(u)}),i}_i(ie,"savedReplies");var te={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createSavedReply"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"body"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"replyType"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"platform"}},type:{kind:"NamedType",name:{kind:"Name",value:"SocialPlatform"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createSavedReply"},arguments:[{kind:"Argument",name:{kind:"Name",value:"body"},value:{kind:"Variable",name:{kind:"Name",value:"body"}}},{kind:"Argument",name:{kind:"Name",value:"replyType"},value:{kind:"Variable",name:{kind:"Name",value:"replyType"}}},{kind:"Argument",name:{kind:"Name",value:"platform"},value:{kind:"Variable",name:{kind:"Name",value:"platform"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"savedReply"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"replyType"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:263}};te.loc.source={body:`mutation createSavedReply(
14  $body: String!
15  $replyType: String
16  $platform: SocialPlatform
17) {
18  createSavedReply(body: $body, replyType: $replyType, platform: $platform) {
19    success
20    errors
21    savedReply {
22      id
23      body
24      replyType
25    }
26  }
27}
28`,name:"GraphQL request",locationOffset:{line:1,column:1}};function q(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){q(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){q(a,e)}),n.definitions&&n.definitions.forEach(function(a){q(a,e)})}var ve={};(function(){te.definitions.forEach(function(e){if(e.name){var i=new Set;q(e,i),ve[e.name.value]=i}})})();function Le(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function Ri(n,e){var i={kind:n.kind,definitions:[Le(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=ve[e]||new Set,o=new Set,r=new Set;
28for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=ve[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Le(n,l);u&&i.definitions.push(u)}),i}Ri(te,"createSavedReply");var se={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteSavedReply"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteSavedReply"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:101}};se.loc.source={body:`mutation deleteSavedReply($id: String!) {
29  deleteSavedReply(id: $id) {
30    success
31    errors
32  }
33}
34`,name:"GraphQL request",locationOffset:{line:1,column:1}};function P(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){P(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){P(a,e)}),n.definitions&&n.definitions.forEach(function(a){P(a,e)})}var pe={};(function(){se.definitions.forEach(function(e){if(e.name){var i=new Set;P(e,i),pe[e.name.value]=i}})})();function Oe(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function Ui(n,e){var i={kind:n.kind,definitions:[Oe(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=pe[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=pe[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Oe(n,l);u&&i.definitions.push(u)}),i}Ui(se,"deleteSavedReply");const Ei={name:"ConversationsSavedRepliesDropdown",emits:["reply-selected"],props:{disabled:{type:Boolean,required:!1,default:!1},currentMessage:{type:String,required:!1,default:""},recipientUsername:{type:String,required:!1,default:""},authorUsername:{type:String,required:!1,default:""},replyType:{type:String,required:!0},platform:{type:String,required:!0}},data(){return{savedReplies:[]}},apollo:{savedReplies:{query(){return this.savedRepliesQuery},variables(){return{platform:this.platform}},fetchPolicy:"network-only",update(n){return Sn(n[this.savedRepliesQuery.definitions[0].name.value])}}},computed:{savedRepliesQuery(){return this.replyType.toUpperCase()==="COMMENT"?gn:ie}},methods:{markdownToHTML:Ue,saveReplyTemplate(){let n=Ee(this.currentMessage);n=n.replace(this.recipientUsername,"{{recipientUsername}}"),n=n.replace(this.authorUsername,"{{authorUsername}}"),this.$apollo.mutate({mutation:te,variables:{body:n,replyType:this.replyType,platform:this.platform}}).then(e=>{e.data.createSavedReply.success&&(this.savedReplies.push(e.data.createSavedReply.savedReply),this.$buefy.snackbar.open({message:"Reply saved!",type:"is-success",position:"is-top-right"}))}).catch(e=>{console.error(e)})},deleteSavedReply(n){this.$apollo.mutate({mutation:se,variables:{id:n}}).then(e=>{e.data.deleteSavedReply.success&&(this.savedReplies=this.savedReplies.filter(i=>i.id!==n))})},selectSavedReply(n){this.$emit("reply-selected",n),this.$refs.savedRepliesDropdown.toggle()}}},Ai={class:"is-flex is-align-items-center"},Di=["onClick"],Mi=["innerHTML","onClick"];function Vi(n,e,i,a,o,r){const v=_,l=x("b-dropdown-item"),u=x("b-dropdown");return m(),h(u,{"append-to-body":"",scrollable:"","max-height":"400",position:"is-bottom-right",class:"saved-replies-dropdown",ref:"savedRepliesDropdown"},{trigger:p(()=>[Re(n.$slots,"actionButton",{},()=>[d(v,{type:"is-white"},{default:p(()=>[...e[0]||(e[0]=[s("Saved replies",-1)])]),_:1})],!0)]),default:p(()=>[e[3]||(e[3]=s()),d(l,{"aria-role":"listitem",custom:""},{default:p(()=>[d(v,{"icon-left":"bookmark","icon-pack":"fas",label:"Save Reply",class:"has-text-primary",disabled:i.disabled,expanded:"",onClick:r.saveReplyTemplate},null,8,["disabled","onClick"])]),_:1}),e[4]||(e[4]=s()),(m(!0),c(S,null,F(o.savedReplies,(g,C)=>(m(),h(l,{"aria-role":"listitem",class:"saved-reply-dropdown-item",custom:"",key:g.id},{default:p(()=>[t("div",Ai,[t("span",{class:"reply-number",onClick:b=>r.selectSavedReply(g)},y(C+1),9,Di),e[1]||(e[1]=s()),t("div",{innerHTML:r.markdownToHTML(g.body),class:"is-flex-grow-1 u-px1",onClick:b=>r.selectSavedReply(g)},null,8,Mi),e[2]||(e[2]=s()),d(v,{"icon-left":"times","icon-pack":"far",size:"is-small",type:"is-white",onClick:$(b=>r.deleteSavedReply(g.id),["stop"])},null,8,["onClick"])])]),_:2},1024))),128))]),_:3},512)}const zi=N(Ei,[["render",Vi],["__scopeId","data-v-000ea796"]]),Li={name:"ConversationsPlainTextEditor",emits:["update:modelValue","shiftEnter","cmdEnter"],props:{modelValue:{type:String},platform:{type:String},placeholder:{type:String,default:"Write a message..."},maxLength:{type:Number,required:!1},rows:{type:Number,default:3},contentType:{type:String},aiAssistantContext:{type:Object}},data(){return{inputValue:this.modelValue,hasFocus:!1,showAIAssistant:!1,showHashtagManager:!1}},methods:{initAutosize(){if(this.$refs.textInput){const n=this.$refs.textInput.$el.querySelectorAll("textarea")[0];Me(n)}},forceAutosizeInput(){if(this.$refs.textInput){const n=this.$refs.textInput.$el.querySelectorAll("textarea")[0];this.$nextTick(()=>{Me.update(n)})}},handleGeneratedAIText(n){this.inputValue=n,this.showAIAssistant=!1,this.forceAutosizeInput()},focus(){this.$refs.textInput.focus()},handleShiftEnter(n){n.preventDefault(),this.$emit("shiftEnter")},handleMetaEnter(n){n.preventDefault(),this.$emit("cmdEnter")}},computed:{contentNoun(){return this.contentType==="comment_reply"?"comment":"message"}},watch:{modelValue:{handler(){this.inputValue=this.modelValue},deep:!0},inputValue:{handler(){this.$emit("update:modelValue",this.inputValue),this.forceAutosizeInput()}}},mounted(){this.initAutosize()}},Oi={class:"post-menubar"},$i={class:"is-flex is-align-items-center is-pulled-right",style:{"min-height":"40px"}}
34,Hi={key:0,class:"is-size-7"};function qi(n,e,i,a,o,r){const v=x("b-icon"),l=_,u=Nn,g=Fn,C=x("b-input"),b=x("b-field");return m(),h(b,{class:R(["post-field",{"has-focus":o.hasFocus}]),addons:!1},{default:p(()=>[t("div",Oi,[t("div",$i,[i.maxLength&&o.inputValue.length/i.maxLength>.6?(m(),c("span",Hi,y(o.inputValue.length.toLocaleString())+` /
35          `+y(i.maxLength.toLocaleString()),1)):k("",!0)]),e[6]||(e[6]=s()),d(l,{type:"is-white","ai-button":"",onClick:e[0]||(e[0]=I=>o.showAIAssistant=!0)},{default:p(()=>[d(v,{icon:"pen",pack:"far"})]),_:1}),e[7]||(e[7]=s()),o.showAIAssistant?(m(),h(u,{key:0,class:"right-align",initialPrompt:o.inputValue,platform:i.platform,"content-noun":r.contentNoun,"content-type":i.contentType,context:i.aiAssistantContext,onInsertText:r.handleGeneratedAIText,onCloseClick:e[1]||(e[1]=I=>o.showAIAssistant=!1)},null,8,["initialPrompt","platform","content-noun","content-type","context","onInsertText"])):k("",!0),e[8]||(e[8]=s()),d(g,{onEmojiSelected:e[2]||(e[2]=I=>o.inputValue+=I)}),e[9]||(e[9]=s()),Re(n.$slots,"menubarExtra",{},void 0,!0)]),e[10]||(e[10]=s()),d(C,{modelValue:o.inputValue,"onUpdate:modelValue":e[3]||(e[3]=I=>o.inputValue=I),placeholder:i.placeholder,type:"textarea",ref:"textInput",rows:i.rows,class:"text-input",onFocus:e[4]||(e[4]=I=>o.hasFocus=!0),onBlur:e[5]||(e[5]=I=>o.hasFocus=!1),onKeydown:[V($(r.handleShiftEnter,["shift"]),["enter"]),V($(r.handleMetaEnter,["ctrl"]),["enter"]),V($(r.handleMetaEnter,["meta"]),["enter"])]},null,8,["modelValue","placeholder","rows","onKeydown"])]),_:3},8,["class"])}const Pi=N(Li,[["render",qi],["__scopeId","data-v-1941ab80"]]),ji={name:"ConversationsTextInput",emits:["update:modelValue","shift-enter","cmd-enter"],props:{modelValue:{type:String,default:""},platform:{type:String},format:{type:String,default:"markdown",validator:n=>["markdown","plainText"].includes(n)},placeholder:{type:String,default:"Type your message here..."},contentType:{type:String},aiAssistantContext:{type:Object},recipientUsername:{type:String},authorUsername:{type:String}},data(){return{message:this.modelValue}},computed:{replyType(){return this.contentType==="comment_reply"?"comment":"message"}},methods:{focus(){this.$refs.editor.focus()},useSavedReply(n){let e;this.format==="markdown"?e=Ue(n.body):e=n.body,e=e.replace("{{recipientUsername}}",this.recipientUsername),e=e.replace("{{authorUsername}}",this.authorUsername),this.message=e}},watch:{message(n){this.$emit("update:modelValue",n)},modelValue(n){this.message=n}}},Qi={type:"button",class:"menubar__button"};function Bi(n,e,i,a,o,r){const v=x("b-icon"),l=zi,u=In,g=_,C=Pi;return m(),c("div",null,[i.format==="markdown"?(m(),h(u,{key:0,modelValue:o.message,"onUpdate:modelValue":e[0]||(e[0]=b=>o.message=b),ref:"editor",placeholder:i.placeholder,aiAssistantEnabled:!0,contentType:i.contentType,aiAssistantContext:i.aiAssistantContext,onShiftEnter:e[1]||(e[1]=b=>n.$emit("shift-enter")),onCmdEnter:e[2]||(e[2]=b=>n.$emit("cmd-enter"))},{menubarLeft:p(()=>[d(l,{disabled:!o.message,currentMessage:o.message,recipientUsername:i.recipientUsername,authorUsername:i.authorUsername,replyType:r.replyType,platform:i.platform,onReplySelected:r.useSavedReply,class:"u-ml0"},{actionButton:p(()=>[t("button",Qi,[d(v,{icon:"bookmark",pack:"far",size:"is-small"})])]),_:1},8,["disabled","currentMessage","recipientUsername","authorUsername","replyType","platform","onReplySelected"])]),_:1},8,["modelValue","placeholder","contentType","aiAssistantContext"])):(m(),h(C,{key:1,modelValue:o.message,"onUpdate:modelValue":e[3]||(e[3]=b=>o.message=b),platform:i.platform,placeholder:i.placeholder,rows:2,contentType:i.contentType,aiAssistantContext:i.aiAssistantContext,ref:"editor",onShiftEnter:e[4]||(e[4]=b=>n.$emit("shift-enter")),onCmdEnter:e[5]||(e[5]=b=>n.$emit("cmd-enter"))},{menubarExtra:p(()=>[d(l,{disabled:!o.message,currentMessage:o.message,recipientUsername:i.recipientUsername,authorUsername:i.authorUsername,replyType:r.replyType,platform:i.platform,onReplySelected:r.useSavedReply},{actionButton:p(()=>[d(g,{type:"is-white"},{default:p(()=>[d(v,{icon:"bookmark",pack:"far",type:"is-info"})]),_:1})]),_:1},8,["disabled","currentMessage","recipientUsername","authorUsername","replyType","platform","onReplySelected"])]),_:1},8,["modelValue","platform","placeholder","contentType","aiAssistantContext"]))])}const an=N(ji,[["render",Bi]]),Gi={name:"ConversationsCommentHeader",emits:["toggle-read","archive","hide-user"],props:{post:{type:Object,required:!0},isUnread:{type:Boolean,required:!0}},methods:{formatDate:z,getPlatformName:nn},data(){return{SHORT_MONTH_DAY_FORMAT:Je}}},Ki={class:"current-message-header"},Wi={class:"is-flex is-align-items-center is-justify-content-space-between"},Yi={class:"is-flex is-align-items-center"},Zi={class:"has-text-weight-bold is-size-5",style:{"line-height":"1.1rem"}},Xi={key:0,class:"is-size-6"},Ji=["href"],et={class:"u-ml1"},nt={class:"u-mt2 is-flex is-flex-direction-row is-align-content-start is-flex-gap-small"},it={key:0},tt=["href"],st={class:"image"},at=["src"],ot={key:1,class:"image"},rt=["src"],lt=["title"],dt={class:"is-flex is-flex-gap-small u-mt1"},mt={key:0},ut=["href"],ct={key:1},ft={key:2},vt={key:3},pt={key:4};function gt(n,e,i,a,o,r){const v=ne,l=_,u=x("b-tooltip"),g=x("b-icon");return m(),c("div",Ki,[t("div",Wi,[t("div",Yi,[i.post.profile?(m(),h(v,{key:0,profile:i.post.profile,size:40,class:"u-mr2"},null,8,["profile"])):k("",!0),e[4]||(e[4]=s()),t("div",null,[t("div",Zi,[i.post.profile?(m(),c(S,{key:0},[s(y(i.post.profile.displayName||i.post.profile.username),1)],64)):k("",!0)]),e[3]||(e[3]=s()),i.post.profile&&i.post.profile.displayName&&i.post.profile.username?(m(),c("div",Xi,[t("a",{href:i.post.profile.profileUrl,target:"_blank",class:"has-text-grey"},y(i.post.profile.username),9,Ji)])):k("",!0)])]),e[8]||(e[8]=s()),t("div",et,[d(u,{label:`Open in ${r.getPlatformName(i.post.platform)}`,type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[i.post.platformUrl?(m(),h(l,{key:0,tag:"a",target:"_blank",href:i.post.platformUrl,type:"is-transparent","icon-left":"external-link"},null,8,["href"])):k("",!0)]),_:1},8,["label"]),e[5]||(e[5]=s()),d(u,{label:`Mark as ${i.isUnread?"Read":"Unread"}`,type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":i.isUnread?"envelope-circle-check":"envelope-dot",onClick:e[0]||(e[0]=C=>n.$emit("toggle-read"))},null,8,["icon-left"])]),_:1},8,["label"]),e[6]||(e[6]=s()),d(u,{label:"Archive",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":"archive",onClick:e[1]||(e[1]=C=>n.$emit("archive"))})]),_:1}),e[7]||(e[7]=s()),d(u,{label:"Hide User",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(l,{type:"is-transparent","icon-left":"user-slash",class:"has-text-danger",onClick:e[2]||(e[2]=C=>n.$emit("hide-user"))})]),_:1})])]),e[22]||(e[22]=s()),t("div",nt,[i.post.mediaUrl?(m(),c("div",it,[i.post.platformUrl?(m(),c("a",{key:0,href:i.post.platformUrl,target:"_blank"},[t("figure",st,[t("img",{src:i.post.mediaUrl,class:"post-image"},null,8,at)])],8,tt)):(m(),c("figure",ot,[t("img",{src:i.post.mediaUrl,class:"post-image"},null,8,rt)]))])):k("",!0),e[21]||(e[21]=s()),t("div",null,[i.post.preview?(m(),c("div",{key:0,class:"post-preview",title:i.post.preview},y(i.post.preview),9,lt)):k("",!0),e[20]||(e[20]=s()),t("div",dt,[i.post.platform==="reddit"&&i.post.target?(m(),c("div",mt,[t("a",{href:`https://reddit.com/r/${i.post.target}`,target:"_blank",rel:"noopener noreferrer nofollow",class:"reddit-link"},[d(g,{icon:"reddit",pack:"fab",type:"is-grey"}),e[9]||(e[9]=s()),t("span",null," r/"+y(i.post.target),1)],8,ut)])):k("",!0),e[15]||(e[15]=s()),t("div",null,[d(g,{icon:"calendar",type:"is-grey"}),e[10]||(e[10]=s()),t("span",null,y(r.formatDate(i.post.dateCreated,o.SHORT_MONTH_DAY_FORMAT)),1)]),e[16]||(e[16]=s()),i.post.likes?(m(),c("div",ct,[d(g,{icon:i.post.platform==="reddit"?"up":"heart",type:"is-grey"},null,8,["icon"]),e[11]||(e[11]=s()),t("span",null,y(i.post.likes.toLocaleStr
35ing()),1)])):k("",!0),e[17]||(e[17]=s()),i.post.comments?(m(),c("div",ft,[d(g,{icon:"comment",type:"is-grey"}),e[12]||(e[12]=s()),t("span",null,y(i.post.comments.toLocaleString()),1)])):k("",!0),e[18]||(e[18]=s()),i.post.reposts?(m(),c("div",vt,[d(g,{icon:"retweet",type:"is-grey"}),e[13]||(e[13]=s()),t("span",null,y(i.post.reposts.toLocaleString()),1)])):k("",!0),e[19]||(e[19]=s()),i.post.shares?(m(),c("div",pt,[d(g,{icon:"share",type:"is-grey"}),e[14]||(e[14]=s()),t("span",null,y(i.post.shares.toLocaleString()),1)])):k("",!0)])])])])}const kt=N(Gi,[["render",gt],["__scopeId","data-v-2678172b"]]);var L={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"conversationCommentFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConversationCommentType"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"messageHtml"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"likes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userHasLiked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dateCreated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"media"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mediaType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metaType"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mediaUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isHidden"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quoteComment"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"messageHtml"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"likes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dateCreated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"media"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mediaType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metaType"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mediaUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isHidden"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:586}};L.loc.source={body:`fragment conversationCommentFragment on ConversationCommentType {
36  id
37  parentId
38  profile {
39    id
40    username
41    displayName
42    avatarUrl
43    profileUrl
44  }
45  message
46  messageHtml
47  likes
48  userHasLiked
49  dateCreated
50  url
51  media {
52    url
53    mediaType
54    metaType
55  }
56  mediaUrl
57  isHidden
58  quoteComment {
59    id
60    parentId
61    profile {
62      id
63      username
64      displayName
65      avatarUrl
66      profileUrl
67    }
68    message
69    messageHtml
70    likes
71    dateCreated
72    url
73    media {
74      url
75      mediaType
76      metaType
77    }
78    mediaUrl
79    isHidden
80  }
81}
82`,name:"GraphQL request",locationOffset:{line:1,column:1}};function j(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){j(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){j(a,e)}),n.definitions&&n.definitions.forEach(function(a){j(a,e)})}var ge={};(function(){L.definitions.forEach(function(e){if(e.name){var i=new Set;j(e,i),ge[e.name.value]=i}})})();function $e(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function yt(n,e){var i={kind:n.kind,definitions:[$e(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=ge[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=ge[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=$e(n,l);u&&i.definitions.push(u)}),i}yt(L,"conversationCommentFragment");var U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"replyToComment"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"replyToId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"text"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"replyToComment"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}},{kind:"Argument",name:{kind:"Name",value:"replyToId"},value:{kind:"Variable",name:{kind:"Name",value:"replyToId"}}},{kind:"Argument",name:{kind:"Name",value:"text"},value:{kind:"Variable",name:{kind:"Name",value:"text"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"comment"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]}]}}]}}]}}],loc:{start:0,end:375}};U.loc.source={body:`#import '/graphql/fragments/conversationCommentFragment.gql'
83mutation replyToComment($conversationId: ID!, $replyToId: ID!, $text: String!) {
84  replyToComment(
85    conversationId: $conversationId
86    replyToId: $replyToId
87    text: $text
88  ) {
89    success
90    errors {
91      field
92      code
93      message
94    }
95    comment {
96      ...conversationCommentFragment
97    }
98  }
99}
100`,name:"GraphQL request",locationOffset:{line:1,column:1}};var He={};function ht(n){return n.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var i=e.name.value;return He[i]?!1:(He[i]=!0,!0)})}U.definitions=U.definitions.concat(ht(L.definitions));function Q(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){Q(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){Q(a,e)}),n.definitions&&n.definitions.forEach(function(a){Q(a,e)})}var ke={};(function(){U.definitions.forEach(function(e){if(e.name){var i=new Set;Q(e,i),ke[e.name.value]=i}})})();function qe(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function bt(n,e){var i={kind:n.kind,definitions:[qe(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=ke[e]||new Set,o=new Set,r=new Set;
100for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=ke[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=qe(n,l);u&&i.definitions.push(u)}),i}bt(U,"replyToComment");var ae={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"likeConversationComment"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"commentId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"likeConversationComment"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}},{kind:"Argument",name:{kind:"Name",value:"commentId"},value:{kind:"Variable",name:{kind:"Name",value:"commentId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:187}};ae.loc.source={body:`mutation likeConversationComment($conversationId: ID!, $commentId: ID!) {
101  likeConversationComment(
102    conversationId: $conversationId
103    commentId: $commentId
104  ) {
105    success
106  }
107}
108`,name:"GraphQL request",locationOffset:{line:1,column:1}};function B(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){B(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){B(a,e)}),n.definitions&&n.definitions.forEach(function(a){B(a,e)})}var ye={};(function(){ae.definitions.forEach(function(e){if(e.name){var i=new Set;B(e,i),ye[e.name.value]=i}})})();function Pe(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function xt(n,e){var i={kind:n.kind,definitions:[Pe(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=ye[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=ye[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Pe(n,l);u&&i.definitions.push(u)}),i}xt(ae,"likeConversationComment");const Ct={name:"ConversationsComment",props:{comment:{type:Object,required:!0},inbox:{type:Object,required:!0},conversation:{type:Object,required:!0},depth:{type:Number,default:0},post:{type:Object,default:()=>({})}},data(){return{SHORT_DATETIME_FORMAT:en,viewReplyField:!1,isSendingReply:!1,replyText:""}},methods:{formatDate:z,copyTextWithMessage:Tn,toggleReplyEditor(){this.viewReplyField?this.viewReplyField=!1:this.openReplyEditor()},openReplyEditor(){this.viewReplyField=!0,this.inbox.socialAccount.platform==="MASTODON"&&!this.replyText&&(this.replyText=`@${this.comment.profile.username} `),this.$nextTick(()=>{try{this.$refs.replyEditor.focus()}catch{}})},sendCommentReply(){if(!this.replyText||!this.canSendReplies)return Promise.resolve();this.isSendingReply=!0;let n=this.replyText;return this.isReddit&&(n=Ee(n)),this.$apollo.mutate({mutation:U,variables:{conversationId:this.conversation.id,replyToId:this.comment.id,text:n}}).then(e=>{if(!e.data.replyToComment.success){tn(e.data.replyToComment.errors);return}const i=e.data.replyToComment.comment;this.comment.replies.unshift(i),this.viewReplyField=!1,this.replyText=""}).finally(()=>{this.isSendingReply=!1})},handleCommandEnter(){this.sendCommentReply().then(()=>{this.$emit("replySentFromCmdEnter")})},likeComment(){this.comment.userHasLiked||(this.$apollo.mutate({mutation:ae,variables:{conversationId:this.conversation.id,commentId:this.comment.id}}),this.comment.likes+=1,this.comment.userHasLiked=!0)}},computed:{...Fe(Te,["profile","hasConversationsAccess"]),isFromSelf(){return this.comment.profile.id===this.inbox.socialAccount.platformId},isTargetComment(){return this.comment.id===this.conversation.lastMessageId||this.comment.id===this.conversation.conversationId},isReddit(){return this.inbox.socialAccount.platform==="REDDIT"},platformSupportsLiking(){return["reddit","bluesky","mastodon"].includes(this.inbox.socialAccount.platform.toLowerCase())},messageFormat(){return this.isReddit?"markdown":"plainText"},canReply(){return Array.isArray(this.comment.replies)},canSendReplies(){return this.hasConversationsAccess}},mounted(){this.isTargetComment&&(this._keyListener=function(n){const e=document.activeElement,i=e.tagName.toLowerCase();i==="input"||i==="textarea"||e.classList.contains("textarea")||e.classList.contains("ProseMirror")||n.key==="r"&&this.openReplyEditor()},this.openReplyEditor(),document.addEventListener("keyup",this._keyListener.bind(this)))},beforeDestroy(){this._keyListener&&document.removeEventListener("keyup",this._keyListener)}},wt={class:"hidden-comment-content"},St={class:"is-flex is-align-items-center is-justify-content-space-between u-mb1"},It={class:"is-flex is-align-items-center"},Nt=["href"],Ft=["href"],Tt={class:"is-size-7"},_t=["href"],Rt={key:1,class:"comment-date u-ml1"},Ut={class:"is-transparent"},Et=["href"],At=["href"],Dt={class:"author-preview--comment content u-mb0 u-mt1"},Mt={key:0,class:"author-preview--media u-mt1"},Vt={key:0,class:"image"},zt=["src"],Lt={key:1,controls:"",playsinline:"",loop:"",muted:"",preload:"metadata"},Ot=["src"],$t={key:2,class:"has-text-grey is-size-7"},Ht={key:1,class:"author-preview--media u-mt1"},qt={class:"image"},Pt=["src"],jt={key:2,class:"quote-comment"},Qt={class:"is-flex is-align-items-center is-justify-content-space-between u-mb1"},Bt={class:"is-flex is-align-items-center"},Gt=["href"],Kt=["href"],Wt={class:"is-size-7"},Yt=["href"],Zt={key:1,class:"comment-date u-ml1"},Xt={class:"author-preview--comment content u-mb0 u-mt1"},Jt={class:"is-flex is-align-items-center author-preview--metadata",style:{position:"relative",left:"-0.5rem"}},es={key:0},ns=["disabled"],is={key:3,class:"u-mt2"},ts={key:0,class:"u-mt2 is-flex is-align-items-center"},ss={class:"u-ml2 has-text-grey is-size-7 is-flex is-align-items-center"},as={key:0,class:"image is-16x16 u-mr1"},os=["src"],rs={class:"has-text-weight-bold"},ls={key:2,class:"children-wrapper"};
108function ds(n,e,i,a,o,r){const v=x("b-icon"),l=ne,u=x("b-dropdown-item"),g=x("b-dropdown"),C=sn,b=x("b-tooltip"),I=_,T=an,A=on;return m(),c("div",{class:R(["comment-wrapper",[`comment-depth-${i.depth}`]])},[i.comment.isHidden?(m(),c("div",{key:0,class:"comment hidden-comment u-p2 u-mb2",onClick:e[0]||(e[0]=w=>i.comment.isHidden=!i.comment.isHidden)},[t("div",wt,[d(v,{icon:"eye-slash",type:"is-grey"}),e[10]||(e[10]=s()),e[11]||(e[11]=t("div",{class:"is-size-6 has-text-grey"},"Hidden user",-1)),e[12]||(e[12]=s()),e[13]||(e[13]=t("div",{class:"is-size-7 has-text-grey"},"Click to reveal",-1))])])):(m(),c("div",{key:1,class:R(["comment u-mb2",{"comment-target":r.isTargetComment,"u-p2":o.viewReplyField,"u-px2 u-pt2 u-pb1":!o.viewReplyField}])},[t("div",St,[t("div",It,[t("a",{href:i.comment.profile.profileUrl,class:"is-inline-flex",target:"_blank"},[d(l,{profile:i.comment.profile,size:24,class:"u-mr1"},null,8,["profile"])],8,Nt),e[14]||(e[14]=s()),t("a",{href:i.comment.profile.profileUrl,target:"_blank",class:R(["has-text-weight-bold username-link u-mr1",{"has-text-primary":r.isFromSelf}])},y(i.comment.profile.username),11,Ft)]),e[29]||(e[29]=s()),t("div",Tt,[i.comment.url?(m(),c("a",{key:0,href:i.comment.url,target:"_blank",class:"comment-date u-ml1"},y(r.formatDate(i.comment.dateCreated,o.SHORT_DATETIME_FORMAT)),9,_t)):(m(),c("span",Rt,y(r.formatDate(i.comment.dateCreated,o.SHORT_DATETIME_FORMAT)),1)),e[28]||(e[28]=s()),d(g,{"append-to-body":"","aria-role":"list",position:"is-bottom-left"},{trigger:p(()=>[t("button",Ut,[d(v,{icon:"ellipsis-h",class:"has-text-grey"})])]),default:p(()=>[e[21]||(e[21]=s()),r.canReply?(m(),h(u,{key:0,"aria-role":"listitem",onClick:r.openReplyEditor},{default:p(()=>[d(v,{icon:"reply"}),e[15]||(e[15]=s(`
109              Reply
110            `,-1))]),_:1},8,["onClick"])):k("",!0),e[22]||(e[22]=s()),i.comment.url?(m(),h(u,{key:1,"aria-role":"listitem","has-link":""},{default:p(()=>[t("a",{href:i.comment.url,target:"_blank"},[d(v,{icon:"external-link"}),e[16]||(e[16]=s(`
111                View post
112              `,-1))],8,Et)]),_:1})):k("",!0),e[23]||(e[23]=s()),r.isFromSelf?k("",!0):(m(),h(u,{key:2,"aria-role":"listitem",onClick:e[1]||(e[1]=w=>n.$emit("hide-user",{username:i.comment.profile.username,platform:i.inbox.socialAccount.platform}))},{default:p(()=>[d(v,{icon:"user-slash"}),e[17]||(e[17]=s(`
113              Hide User
114            `,-1))]),_:1})),e[24]||(e[24]=s()),d(u,{"aria-role":"listitem",separator:""}),e[25]||(e[25]=s()),d(u,{"aria-role":"listitem","has-link":""},{default:p(()=>
114[t("a",{href:`https://translate.google.com/?sl=auto&text=${i.comment.message}`,target:"_blank"},[d(v,{icon:"language"}),e[18]||(e[18]=s(`
115                Translate
116              `,-1))],8,At)]),_:1}),e[26]||(e[26]=s()),d(u,{onClick:e[2]||(e[2]=w=>r.copyTextWithMessage(i.comment.message,"Text copied to clipboard")),"aria-role":"listitem"},{default:p(()=>[d(v,{icon:"copy"}),e[19]||(e[19]=s(`
117
118              Copy text
119            `,-1))]),_:1}),e[27]||(e[27]=s()),i.comment.url?(m(),h(u,{key:3,"aria-role":"listitem",onClick:e[3]||(e[3]=w=>r.copyTextWithMessage(i.comment.url,"Link copied to clipboard"))},{default:p(()=>[d(v,{icon:"link"}),e[20]||(e[20]=s(`
120              Copy link to post
121            `,-1))]),_:1})):k("",!0)]),_:1})])]),e[44]||(e[44]=s()),t("div",Dt,[d(C,{messageHtml:i.comment.messageHtml||i.comment.message},null,8,["messageHtml"])]),e[45]||(e[45]=s()),i.comment.media&&i.comment.media.length?(m(),c("div",Mt,[(m(!0),c(S,null,F(i.comment.media,w=>(m(),c("div",{key:w.url},[w.mediaType==="image"?(m(),c("figure",Vt,[t("img",{src:i.comment.mediaUrl,loading:"lazy"},null,8,zt)])):w.mediaType==="video"?(m(),c("video",Lt,[t("source",{src:w.url,type:"video/mp4"},null,8,Ot)])):k("",!0),e[31]||(e[31]=s()),w.metaType==="story"?(m(),c("p",$t,[d(v,{icon:"circle-user",size:"is-small"}),e[30]||(e[30]=s(`
122            Story
123          `,-1))])):k("",!0)]))),128))])):i.comment.mediaUrl?(m(),c("div",Ht,[t("figure",qt,[t("img",{src:i.comment.mediaUrl,loading:"lazy"},null,8,Pt)])])):k("",!0),e[46]||(e[46]=s()),i.comment.quoteComment?(m(),c("div",jt,[t("div",Qt,[t("div",Bt,[t("a",{href:i.comment.quoteComment.profile.profileUrl,class:"is-inline-flex",target:"_blank"},[d(l,{profile:i.comment.quoteComment.profile,size:24,class:"u-mr1"},null,8,["profile"])],8,Gt),e[32]||(e[32]=s()),t("a",{href:i.comment.quoteComment.profile.profileUrl,target:"_blank",class:R(["has-text-weight-bold username-link u-mr1",{"has-text-primary":r.isFromSelf}])},y(i.comment.quoteComment.profile.username),11,Kt)]),e[33]||(e[33]=s()),t("div",Wt,[i.comment.quoteComment.url?(m(),c("a",{key:0,href:i.comment.quoteComment.url,target:"_blank",class:"comment-date u-ml1"},y(r.formatDate(i.comment.quoteComment.dateCreated,o.SHORT_DATETIME_FORMAT)),9,Yt)):(m(),c("span",Zt,y(r.formatDate(i.comment.quoteComment.dateCreated,o.SHORT_DATETIME_FORMAT)),1))])]),e[34]||(e[34]=s()),t("div",Xt,[d(C,{messageHtml:i.comment.quoteComment.messageHtml||i.comment.quoteComment.message},null,8,["messageHtml"])])])):k("",!0),e[47]||(e[47]=s()),t("div",Jt,[typeof i.comment.likes=="number"?(m(),c("div",es,[d(b,{label:"This platform does not support liking from Conversations.",position:"is-top",type:"is-info",delay:500,active:!r.platformSupportsLiking,"append-to-body":"",multilined:""},{default:p(()=>[t("button",{class:"button is-transparent",disabled:!r.platformSupportsLiking,onClick:e[4]||(e[4]=(...w)=>r.likeComment&&r.likeComment(...w))},[d(v,{icon:r.isReddit?"up":"heart",pack:i.comment.userHasLiked?"fas":"far",type:i.comment.userHasLiked?r.isReddit?"is-reddit":"is-danger":"is-grey"},null,8,["icon","pack","type"]),e[35]||(e[35]=s()),t("span",null,y(i.comment.likes.toLocaleString()),1)],8,ns)]),_:1},8,["active"])])):k("",!0),e[37]||(e[37]=s()),t("div",null,[r.canReply?(m(),h(I,{key:0,"icon-left":"reply",type:"is-transparent",onClick:r.toggleReplyEditor},{default:p(()=>[...e[36]||(e[36]=[s(`
124            Reply
125          `,-1)])]),_:1},8,["onClick"])):k("",!0)])]),e[48]||(e[48]=s()),o.viewReplyField?(m(),c("div",is,[d(T,{modelValue:o.replyText,"onUpdate:modelValue":e[5]||(e[5]=w=>o.replyText=w),platform:i.inbox.socialAccount.platform,ref:"replyEditor",format:r.messageFormat,contentType:"comment_reply",aiAssistantContext:{replyToComment:i.comment.message,replyToPost:i.post.preview},recipientUsername:i.conversation.authorUsername,authorUsername:i.inbox.socialAccount.username,onShiftEnter:r.sendCommentReply,onCmdEnter:r.handleCommandEnter,onKeydown:e[6]||(e[6]=V(w=>o.viewReplyField=!1,["esc"]))},null,8,["modelValue","platform","format","aiAssistantContext","recipientUsername","authorUsername","onShiftEnter","onCmdEnter"]),e[43]||(e[43]=s()),r.canSendReplies?(m(),c("div",ts,[d(I,{type:"is-primary","icon-left":"paper-plane","icon-pack":"fas",loading:o.isSendingReply,disabled:!o.replyText,onClick:r.sendCommentReply},{default:p(()=>[...e[38]||(e[38]=[s(`
126            Send Reply
127          `,-1)])]),_:1},8,["loading","disabled","onClick"]),e[41]||(e[41]=s()),t("span",ss,[i.inbox.socialAccount.avatarUrl?(m(),c("figure",as,[t("img",{src:i.inbox.socialAccount.avatarUrl,class:"is-rounded"},null,8,os)])):k("",!0),e[40]||(e[40]=s()),t("span",null,[e[39]||(e[39]=s(`
128              Replying as
129              `,-1)),t("span",rs,y(i.inbox.socialAccount.username),1)])])])):(m(),h(I,{key:1,type:"is-secondary","icon-left":"crown",class:"u-mt2",rounded:"",onClick:e[7]||(e[7]=w=>n.$emit("show-upsell-modal"))},{default:p(()=>[...e[42]||(e[42]=[s(`
130          Upgrade to reply
131        `,-1)])]),_:1}
131))])):k("",!0)],2)),e[49]||(e[49]=s()),i.comment.replies&&i.comment.replies.length>0?(m(),c("div",ls,[(m(!0),c(S,null,F(i.comment.replies,w=>(m(),h(A,{key:w.id,comment:w,inbox:i.inbox,conversation:i.conversation,depth:i.depth+1,post:i.post,onHideUser:e[8]||(e[8]=D=>n.$emit("hide-user",D)),onShowUpsellModal:e[9]||(e[9]=D=>n.$emit("show-upsell-modal"))},null,8,["comment","inbox","conversation","depth","post"]))),128))])):k("",!0)],2)}const on=N(Ct,[["render",ds],["__scopeId","data-v-af6322c2"]]),ms={name:"UpsellConversationsModal",emits:["update:modelValue"],props:{modelValue:{type:Boolean,default:!1}},data(){return{plans:[],featureName:"Inbox & Conversations",featureDescription:"Manage all your social media engagement in one place with our unified inbox.",featureBenefits:["Respond to comments across all platforms","Manage direct messages in a unified inbox","Never miss important engagement from your audience","Track conversation history with followers","Filter and search through all your conversations"],screenshots:["/img/product/inboxes.jpeg","/img/product/comments.jpeg","/img/product/messages.jpeg","/img/product/keyboard-shortcuts.jpeg"]}},apollo:{plans:{query:Rn,fetchPolicy:"cache-first",client:"noauth"}},computed:{...Fe(Te,["plan","totalAccounts"]),isActive:{get(){return this.modelValue},set(n){this.$emit("update:modelValue",n)}},recommendedPlan(){return!this.plans||this.plans.length===0?null:kn(this.plans,this.totalAccounts,n=>n.hasConversations)}}},us={key:0,class:"modal-card",style:{width:"960px","max-width":"95vw"}},cs={class:"modal-card-body has-text-centered"};function fs(n,e,i,a,o,r){const v=x("b-loading"),l=_n,u=x("b-modal");return m(),h(u,{modelValue:r.isActive,"onUpdate:modelValue":e[1]||(e[1]=g=>r.isActive=g),"has-modal-card":"","trap-focus":"","aria-role":"dialog","aria-modal":""},{default:p(()=>[n.$apollo.queries.plans.loading?(m(),c("div",us,[t("div",cs,[d(v,{"is-full-page":!1,modelValue:!0}),e[2]||(e[2]=s()),e[3]||(e[3]=t("p",{class:"u-mt4"},"Loading plans...",-1))])])):(m(),h(l,{key:1,"feature-name":o.featureName,"feature-description":o.featureDescription,"feature-benefits":o.featureBenefits,screenshots:o.screenshots,"recommended-plan":r.recommendedPlan,onClose:e[0]||(e[0]=g=>r.isActive=!1)},null,8,["feature-name","feature-description","feature-benefits","screenshots","recommended-plan"]))]),_:1},8,["modelValue"])}const vs=N(ms,[["render",fs]]);var oe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"privateMessageConversation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"privateMessageConversation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"conversation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"participants"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followers"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"messages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followers"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"messageHtml"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dateCreated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mediaUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"media"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mediaType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metaType"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:606}};oe.loc.source={body:`query privateMessageConversation($conversationId: ID!) {
132  privateMessageConversation(conversationId: $conversationId) {
133    conversation {
134      id
135    }
136    participants {
137      id
138      username
139      displayName
140      description
141      avatarUrl
142      profileUrl
143      followers
144    }
145    messages {
146      id
147      profile {
148        id
149        username
150        displayName
151        description
152        avatarUrl
153        profileUrl
154        followers
155      }
156      message
157      messageHtml
158      dateCreated
159      mediaUrl
160      media {
161        url
162        mediaType
163        metaType
164      }
165    }
166  }
167}
168`,name:"GraphQL request",locationOffset:{line:1,column:1}};function G(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){G(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){G(a,e)}),n.definitions&&n.definitions.forEach(function(a){G(a,e)})}var he={};(function(){oe.definitions.forEach(function(e){if(e.name){var i=new Set;G(e,i),he[e.name.value]=i}})})();function je(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function ps(n,e){var i={kind:n.kind,definitions:[je(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=he[e]||new Set,o=new Set,r=new Set;
168for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=he[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=je(n,l);u&&i.definitions.push(u)}),i}ps(oe,"privateMessageConversation");var E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"publicCommentConversation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicCommentConversation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"conversation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"post"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"platform"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dateCreated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"preview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"platformUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mediaUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"likes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"comments"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shares"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reposts"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"comments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"replies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"replies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"replies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"replies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"replies"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"conversationCommentFragment"},directives:[]}]}}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:935}};E.loc.source={body:`#import '/graphql/fragments/conversationCommentFragment.gql'
169query publicCommentConversation($conversationId: ID!) {
170  publicCommentConversation(conversationId: $conversationId) {
171    conversation {
172      id
173    }
174    post {
175      id
176      platform
177      dateCreated
178      profile {
179        id
180        username
181        displayName
182        avatarUrl
183        profileUrl
184      }
185      preview
186      target
187      platformUrl
188      mediaUrl
189      likes
190      comments
191      shares
192      reposts
193    }
194    comments {
195      ...conversationCommentFragment
196      replies {
197        ...conversationCommentFragment
198        replies {
199          ...conversationCommentFragment
200          replies {
201            ...conversationCommentFragment
202            replies {
203              ...conversationCommentFragment
204              replies {
205                ...conversationCommentFragment
206              }
207            }
208          }
209        }
210      }
211    }
212  }
213}
214`,name:"GraphQL request",locationOffset:{line:1,column:1}};var Qe={};function gs(n){return n.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var i=e.name.value;return Qe[i]?!1:(Qe[i]=!0,!0)})}E.definitions=E.definitions.concat(gs(L.definitions));function K(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){K(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){K(a,e)}),n.definitions&&n.definitions.forEach(function(a){K(a,e)})}var be={};(function(){E.definitions.forEach(function(e){if(e.name){var i=new Set;K(e,i),be[e.name.value]=i}})})();function Be(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function ks(n,e){var i={kind:n.kind,definitions:[Be(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=be[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=be[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Be(n,l);u&&i.definitions.push(u)}),i}ks(E,"publicCommentConversation");var re={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"replyToMessage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"text"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"replyToMessage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}},{kind:"Argument",name:{kind:"Name",value:"text"},value:{kind:"Variable",name:{kind:"Name",value:"text"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profileUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followers"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"messageHtml"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dateCreated"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:429}};re.loc.source={body:`mutation replyToMessage($conversationId: ID!, $text: String!) {
215  replyToMessage(conversationId: $conversationId, text: $text) {
216    success
217    errors {
218      field
219      code
220      message
221    }
222    message {
223      id
224      profile {
225        id
226        username
227        displayName
228        description
229        avatarUrl
230        profileUrl
231        followers
232      }
233      message
234      messageHtml
235      dateCreated
236    }
237  }
238}
239`,name:"GraphQL request",locationOffset:{line:1,column:1}};function W(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){W(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){W(a,e)}),n.definitions&&n.definitions.forEach(function(a){W(a,e)})}var xe={};(function(){re.definitions.forEach(function(e){if(e.name){var i=new Set;W(e,i),xe[e.name.value]=i}})})();function Ge(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function ys(n,e){var i={kind:n.kind,definitions:[Ge(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=xe[e]||new Set,o=new Set,r=new Set;
239for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=xe[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Ge(n,l);u&&i.definitions.push(u)}),i}ys(re,"replyToMessage");var le={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"markInboxRead"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inboxId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"markInboxRead"},arguments:[{kind:"Argument",name:{kind:"Name",value:"inboxId"},value:{kind:"Variable",name:{kind:"Name",value:"inboxId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:151}};le.loc.source={body:`mutation markInboxRead($inboxId: ID!) {
240  markInboxRead(inboxId: $inboxId) {
241    success
242    errors {
243      field
244      message
245      code
246    }
247  }
248}
249`,name:"GraphQL request",locationOffset:{line:1,column:1}};function Y(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){Y(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){Y(a,e)}),n.definitions&&n.definitions.forEach(function(a){Y(a,e)})}var Ce={};(function(){le.definitions.forEach(function(e){if(e.name){var i=new Set;Y(e,i),Ce[e.name.value]=i}})})();function Ke(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function hs(n,e){var i={kind:n.kind,definitions:[Ke(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=Ce[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=Ce[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Ke(n,l);u&&i.definitions.push(u)}),i}hs(le,"markInboxRead");var de={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"markAllInboxesRead"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"markAllInboxesRead"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:127}};de.loc.source={body:`mutation markAllInboxesRead {
250  markAllInboxesRead {
251    success
252    errors {
253      field
254      message
255      code
256    }
257  }
258}
259`,name:"GraphQL request",locationOffset:{line:1,column:1}};function Z(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){Z(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){Z(a,e)}),n.definitions&&n.definitions.forEach(function(a){Z(a,e)})}var we={};(function(){de.definitions.forEach(function(e){if(e.name){var i=new Set;Z(e,i),we[e.name.value]=i}})})();function We(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function bs(n,e){var i={kind:n.kind,definitions:[We(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=we[e]||new Set,o=new Set,r=new Set;
259for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=we[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=We(n,l);u&&i.definitions.push(u)}),i}bs(de,"markAllInboxesRead");var me={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"markConversationUnread"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"conversationId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"markConversationUnread"},arguments:[{kind:"Argument",name:{kind:"Name",value:"conversationId"},value:{kind:"Variable",name:{kind:"Name",value:"conversationId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:190}};me.loc.source={body:`mutation markConversationUnread($conversationId: ID!) {
260  markConversationUnread(conversationId: $conversationId) {
261    success
262    errors {
263      field
264      message
265      code
266    }
267  }
268}
269`,name:"GraphQL request",locationOffset:{line:1,column:1}};function X(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){X(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){X(a,e)}),n.definitions&&n.definitions.forEach(function(a){X(a,e)})}var Se={};(function(){me.definitions.forEach(function(e){if(e.name){var i=new Set;X(e,i),Se[e.name.value]=i}})})();function Ye(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function xs(n,e){var i={kind:n.kind,definitions:[Ye(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=Se[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=Se[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Ye(n,l);u&&i.definitions.push(u)}),i}xs(me,"markConversationUnread");const Cs={name:"ConversationsIntroModal",emits:["close"]},ws={class:"modal-card"},Ss={class:"modal-card-body u-py4 u-px4"},Is={class:"columns is-multiline"},Ns={class:"column is-6 has-text-centered"},Fs={class:"u-mb1"},Ts={class:"column is-6 has-text-centered"},_s={class:"u-mb1"},Rs={class:"column is-6 has-text-centered"},Us={class:"u-mb1"},Es={class:"column is-6 has-text-centered"},As={class:"u-mb1"},Ds={class:"has-text-centered u-mt4"};function Ms(n,e,i,a,o,r){const v=x("b-icon"),l=_e,u=x("b-message"),g=_;return m(),c("div",ws,[t("section",Ss,[e[31]||(e[31]=t("h2",{class:"title has-text-weight-bold has-text-centered"},`
270        Introducing... Conversations!
271      `,-1)),e[32]||(e[32]=s()),e[33]||(e[33]=t("hr",null,null,-1)),e[34]||(e[34]=s()),e[35]||(e[35]=t("p",{class:"u-mb3 is-size-5"},[t("strong",null,"Conversations"),s(` is your new hub for managing social media
272        comments and messages. Here are some of the new features you can look
273        forward to:
274      `)],-1)),e[36]||(e[36]=s()),t("div",Is,[t("div",Ns,[t("div",Fs,[d(v,{icon:"users",pack:"fad",type:"is-primary",size:"is-large"})]),e[1]||(e[1]=s()),e[2]||(e[2]=t("p",{class:"is-size-5 has-text-weight-bold u-mb1"},"Multi-account",-1)),e[3]||(e[3]=s()),e[4]||(e[4]=t("p",{class:"has-text-grey"},`
275            Reply to your social media comments and messages from one place.
276          `,-1))]),e[17]||(e[17]=s()),t("div",Ts,[t("div",_s,[d(v,{icon:"sparkles",pack:"fad",type:"is-primary",size:"is-large"})]),e[5]||(e[5]=s()),e[6]||(e[6]=t("p",{class:"is-size-5 has-text-weight-bold u-mb1"},"Refreshed Design",-1)),e[7]||(e[7]=s()),e[8]||(e[8]=t("p",{class:"has-text-grey"},`
277            Enjoy a beautiful design with new tools and keyboard shortcuts.
278          `,-1))]),e[18]||(e[18]=s()),t("div",Rs,[t("div",Us,[d(v,{icon:"envelope-dot",pack:"fad",type:"is-primary",size:"is-large"})]),e[9]||(e[9]=s()),e[10]||(e[10]=t("p",{class:"is-size-5 has-text-weight-bold u-mb1"},"Organized Inbox",-1)),e[11]||(e[11]=s()),e[12]||(e[12]=t("p",{class:"has-text-grey"},`
279            Keep track of your unread replies, hide users, and archive
280            conversations with ease.
281          `,-1))]),e[19]||(e[19]=s()),t("div",Es,[t("div",As,[d(v,{icon:"lock-keyhole",pack:"fad",type:"is-primary",size:"is-large"})]),e[13]||(e[13]=s()),e[14]||(e[14]=t("p",{class:"is-size-5 has-text-weight-bold u-mb1"},"Private by Design",-1)),e[15]||(e[15]=s()),e[16]||(e[16]=t("p",{class:"has-text-grey"},`
282            Postpone never stores your private messages on our servers.
283          `,-1))])]),e[37]||(e[37]=s()),d(u,{type:"is-light"},{default:p(()=>[e[20]||(e[20]=s(`
284        Conversations is available for
285        `,-1)),d(l,{platform:"reddit"}),e[21]||(e[21]=s(`Reddit,
286        `,-1)),d(l,{platform:"instagram"}),e[22]||(e[22]=s(`Instagram,
287        `,-1)),d(l,{platform:"bluesky"}),e[23]||(e[23]=s(`Bluesky,
288        `,-1)),d(l,{platform:"facebook"}),e[24]||(e[24]=s(`Facebook,
289        `,-1)),d(l,{platform:"threads"}),e[25]||(e[25]=s(`Threads,
290        `,-1)),d(l,{platform:"linkedin"}),e[26]||(e[26]=s(`LinkedIn, and
291        `,-1)),d(l,{platform:"youtube"}),e[27]||(e[27]=s(`YouTube, with more platforms coming
292        in the future.
293      `,-1))]),_:1}),e[38]||(e[38]=s()),t("div",Ds,[d(g,{tag:"a",href:"https://www.postpone.app/features/social-inbox",target:"_blank",class:"u-mr2"},{default:p(()=>[...e[28]||(e[28]=[s(`
294          Learn more
295        `,-1)])]),_:1}),e[30]||(e[30]=s()),d(g,{type:"is-primary",class:"has-text-weight-semibold",onClick:e[0]||(e[0]=C=>n.$emit("close"))},{default:p(()=>[...e[29]||(e[29]=[s(`
296          Awesome, thanks!
297        `,-1)])]),_:1})])])])}const Vs=N(Cs,[["render",Ms]]);var ue={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"undoHideUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"username"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"platform"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SocialPlatform"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"undoHideUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"username"},value:{kind:"Variable",name:{kind:"Name",value:"username"}}},{kind:"Argument",name:{kind:"Name",value:"platform"},value:{kind:"Variable",name:{kind:"Name",value:"platform"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"field"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:205}};ue.loc.source={body:`mutation undoHideUser($username: String!, $platform: SocialPlatform!) {
298  undoHideUser(username: $username, platform: $platform) {
299    success
300    errors {
301      field
302      message
303      code
304    }
305  }
306}
307`,name:"GraphQL request",locationOffset:{line:1,column:1}};function J(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){J(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){J(a,e)}),n.definitions&&n.definitions.forEach(function(a){J(a,e)})}var Ie={};(function(){ue.definitions.forEach(function(e){if(e.name){var i=new Set;J(e,i),Ie[e.name.value]=i}})})();function Ze(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function zs(n,e){var i={kind:n.kind,definitions:[Ze(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=Ie[e]||new Set,o=new Set,r=new Set;
307for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=Ie[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Ze(n,l);u&&i.definitions.push(u)}),i}zs(ue,"undoHideUser");var ce={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"hiddenUsers"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hiddenUsers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"platform"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:75}};ce.loc.source={body:`query hiddenUsers {
308  hiddenUsers {
309    id
310    username
311    platform
312  }
313}
314`,name:"GraphQL request",locationOffset:{line:1,column:1}};function ee(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(a){ee(a,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(a){ee(a,e)}),n.definitions&&n.definitions.forEach(function(a){ee(a,e)})}var Ne={};(function(){ce.definitions.forEach(function(e){if(e.name){var i=new Set;ee(e,i),Ne[e.name.value]=i}})})();function Xe(n,e){for(var i=0;i<n.definitions.length;i++){var a=n.definitions[i];if(a.name&&a.name.value==e)return a}}function Ls(n,e){var i={kind:n.kind,definitions:[Xe(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var a=Ne[e]||new Set,o=new Set,r=new Set;for(a.forEach(function(l){r.add(l)});r.size>0;){var v=r;r=new Set,v.forEach(function(l){if(!o.has(l)){o.add(l);var u=Ne[l]||new Set;u.forEach(function(g){r.add(g)})}})}return o.forEach(function(l){var u=Xe(n,l);u&&i.definitions.push(u)}),i}Ls(ce,"hiddenUsers");const Os={name:"HiddenUsersModal",data(){return{hiddenUsers:[]}},apollo:{hiddenUsers:ce},methods:{formatDate:z,getPlatformName:nn,confirmUndoHideUser(n,e){this.$buefy.dialog.confirm({title:`Unhide ${n}?`,message:`Are you sure you want to unhide <strong>${n}</strong>?
315                  You will see comments and messages from them again.`,confirmText:"Unhide",type:"is-danger",hasIcon:!0,onConfirm:()=>{this.undoHideUser(n,e)}})},async undoHideUser(n,e){(await this.$apollo.mutate({mutation:ue,variables:{username:n,platform:e}})).data.undoHideUser.success&&this.$apollo.queries.hiddenUsers.refetch()}}},$s={class:"modal-card"},Hs={class:"modal-card-head"},qs={class:"modal-card-title"},Ps={class:"modal-card-body"},js={class:"section"},Qs={class:"content has-text-centered"};function Bs(n,e,i,a,o,r){const v=x("b-icon"),l=x("b-table-column"),u=_e,g=_,C=x("b-table");return m(),c("div",$s,[t("header",Hs,[t("p",qs,[d(v,{icon:"user-slash",pack:"far",class:"u-mr1"}),e[0]||(e[0]=s()),e[1]||(e[1]=t("span",null,"Hidden Users",-1))])]),e[6]||(e[6]=s()),t("section",Ps,[d(C,{data:o.hiddenUsers,loading:n.$apollo.queries.hiddenUsers.loading,hoverable:"",class:"cardless"},{empty:p(()=>[t("section",js,[t("div",Qs,[Re(n.$slots,"empty",{},()=>[e[2]||(e[2]=t("div",{class:"u-mt5"},"No hidden users.",-1))])])])]),default:p(()=>[d(l,{field:"username",label:"Username"},{default:p(b=>[s(y(b.row.username),1)]),_:1}),e[3]||(e[3]=s()),d(l,{field:"platform",label:"Platform"},{default:p(b=>[d(u,{platform:b.row.platform},null,8,["platform"]),s(" "+y(r.getPlatformName(b.row.platform)),1)]),_:1}),e[4]||(e[4]=s()),d(l,{label:"Undo"},{default:p(b=>[d(g,{"icon-right":"undo",size:"is-small",onClick:I=>r.confirmUndoHideUser(b.row.username,b.row.platform)},null,8,["onClick"])]),_:1}),e[5]||(e[5]=s())]),_:3},8,["data","loading"])])])}const Gs=N(Os,[["render",Bs]]),Ks={name:"Conversations",head:{title:"Conversations"},data(){return{conversationInboxes:[],viewingInbox:null,conversations:[],viewingConversation:null,privateMessageConversation:null,publicCommentConversation:null,conversationsLoading:!1,conversationContentLoading:!1,conversationLoadingError:!1,showFilters:!1,limit:25,filters:{status:"ALL",search:""},inboxFilter:"",sendingReply:!1,form:{message:""},showKeyboardShortcuts:!1,showUpsellConversationsModal:!1,inboxesLoaded:!1,initialInboxId:(this._.provides[Ve]||this.$route).query.inbox,initialConversationId:(this._.provides[Ve]||this.$route).query.chat}},apollo:{conversationInboxes:{query:hn,fetchPolicy:"no-cache",notifyOnNetworkStatusChange:!0,result({data:n}){if(n)if(this.inboxesLoaded=!0,this.conversationInboxes=n.conversationInboxes,this.conversationInboxes=this.conversationInboxes.filter(e=>e.socialAccount.platform!=="REDDIT"),this.initialInboxId){const e=this.conversationInboxes.find(i=>i.id===this.initialInboxId);e?this.openInbox(e):this.commentInboxes.length>0&&!this.viewingInbox&&(this.viewingInbox=this.commentInboxes[0])}else this.commentInboxes.length>0&&!this.viewingInbox&&(this.viewingInbox=this.commentInboxes[0])}},conversations:{query:De,fetchPolicy:"no-cache",notifyOnNetworkStatusChange:!0,debounce:300,variables(){return{inboxId:this.viewingInbox.id,search:this.filters.search,unread:this.filters.status==="UNREAD",reload:this.viewingInbox.socialAccount.platform==="REDDIT",page:1,limit:250}},result({data:n,loading:e}){if(this.conversationsLoading=e,!!n)if(this.conversations=n.conversations.objects,this.viewingConversation=null,this.initialConversationId){const i=this.conversations.find(a=>a.id===this.initialConversationId);i?this.openConversation(i):this.conversations.length>0&&this.openConversation(this.conversations[0])}else this.conversations.length>0&&this.openConversation(this.conversations[0])},skip(){return!this.viewingInbox||this.viewingInbox.inboxType==="COMMENTS"&&!this.canUseCommentsInbox(this.viewingInbox.socialAccount)||this.viewingInbox.inboxType==="MESSAGES"&&!this.canUseMessagesInbox(this.viewingInbox.socialAccount)},error(n){if(n.graphQLErrors&&n.graphQLErrors.length>0&&n.graphQLErrors.find(i=>i.message&&i.message.includes("Redirect to /login/"))){this.$buefy.snackbar.open({message:"We're currently experiencing technical issues loading Reddit messages.",type:"is-warning",position:"is-top",duration:1e4});return}}}},computed:{...Fe(Te,["profile","hasConversationsAccess"]),commentInboxes(){return this.conversationInboxes.filter(n=>n.inboxType==="COMMENTS").filter(n=>this.inboxFilter?n.socialAccount.formattedUsername.toLowerCase().includes(this.inboxFilter.toLowerCase())||n.socialAccount.platform.toLowerCase().includes(this.inboxFilter.toLowerCase()):!0).sort((n,e)=>{if(n.unreadCount!==e.unreadCount)return e.unreadCount-n.unreadCount;const i=this.canUseCommentsInbox(n.socialAccount),a=this.canUseCommentsInbox(e.socialAccount);return i!==a?i?-1:1:n.socialAccount.platform.localeCompare(e.socialAccount.platform)})},messageInboxes(){return this.conversationInboxes.filter(n=>n.inboxType==="MESSAGES").filter(n=>this.inboxFilter?n.socialAccount.formattedUsername.toLowerCase().includes(this.inboxFilter.toLowerCase())||n.socialAccount.platform.toLowerCase().includes(this.inboxFilter.toLowerCase()):!0).sort((n,e)=>{if(n.unreadCount!==e.unreadCount)return e.unreadCount-n.unreadCount;const i=this.canUseMessagesInbox(n.socialAccount),a=this.canUseMessagesInbox(e.socialAccount);return i!==a?i?-1:1:n.socialAccount.platform.localeCompare(e.socialAccount.platform)})},allInboxes(){return this.commentInboxes.concat(this.messageInboxes)},socialAccountsWithoutCommentInboxes(){return this.profile.socialAccounts.filter(n=>!this.commentInboxes.find(e=>e.socialAccount.id===n.id))},socialAccountsWithoutMessageInboxes(){return this.profile.socialAccounts.filter(n=>!this.messageInboxes.find(e=>e.socialAccount.id===n.id))},messageFormat(){return this.viewingInbox&&this.viewingInbox.socialAccount.platform==="REDDIT"?"markdown":"plainText"},messageParticipant(){return this.privateMessageConversation&&this.privateMessageConversation.participants.length?this.privateMessageConversation.participants[0]:null},replyingToMessage(){const n=this.privateMessageConversation?.messages;if(n){for(let e=n.length-1;e>=0;e--)if(n[e].profile.id!==this.viewingInbox.socialAccount.platformId)return n[e]}return null},isInstagramReplyTimeExpired(){if(!this.replyingToMessage)return!1;const n=new Date(this.replyingToMessage.dateCreated);return(new Date-n)/(1e3*60*60)>24},canSendReplies(){return this.hasConversationsAccess},commentsInboxPlatforms(){return[{code:"instagram",name:"Instagram"},{code:"facebook",name:"Facebook"},{code:"threads",name:"Threads"},{code:"linkedin",name:"LinkedIn"},{code:"youtube",name:"YouTube"},{code:"bluesky",name:"Bluesky"},{code:"mastodon",name:"Mastodon"}]},messagesInboxPlatforms(){return[{code:"instagram",name:"Instagram"},{code:"bluesky",name:"Bluesky"},{code:"mastodon",name:"Mastodon"}]}},methods:{markdownToHTML:Ue,canUseMessagesInbox(n){return n.capabilities.listMessages&&n.capabilities.createMessages},canUseCommentsInbox(n){return n.capabilities.listComments&&n.capabilities.createComments},openInbox(n){(n.inboxType==="COMMENTS"?this.canUseCommentsInbox(n.socialAccount):this.canUseMessagesInbox(n.socialAccount))&&(this.viewingInbox=n)},async openConversation(n){this.viewingConversation=n,this.viewingConversation.isUnread&&await this.markConversationRead(n)},focusOnMessageInput(){this.$nextTick(()=>{try{this.$refs.replyEditor.focus()}catch{}})},goToNextConversation(){const n=this.conversations.findIndex(e=>e.id===this.viewingConversation.id);n<this.conversations.length-1&&this.openConversation(this.conversations[n+1]
315)},goToPreviousConversation(){const n=this.conversations.findIndex(e=>e.id===this.viewingConversation.id);n>0&&this.openConversation(this.conversations[n-1])},goToNextInbox(){const n=this.allInboxes.findIndex(e=>e.id===this.viewingInbox.id);n<this.allInboxes.length-1&&this.openInbox(this.allInboxes[n+1])},goToPreviousInbox(){const n=this.allInboxes.findIndex(e=>e.id===this.viewingInbox.id);n>0&&this.openInbox(this.allInboxes[n-1])},sendReplyAndGoToNext(){this.sendMessageReply().then(()=>{this.goToNextConversation()})},sendMessageReply(){if(!this.form.message||!this.canSendReplies)return Promise.resolve();let n=this.form.message;return this.messageFormat==="markdown"&&(n=Ee(n)),this.sendingReply=!0,this.$apollo.mutate({mutation:re,variables:{conversationId:this.viewingConversation.id,text:n}}).then(e=>{if(!e.data.replyToMessage.success){tn(e.data.replyToMessage.errors);return}const i=e.data.replyToMessage.message;this.privateMessageConversation&&this.privateMessageConversation.messages.push(i),this.form.message="",this.$nextTick(()=>{this.scrollToBottom()})}).finally(()=>{this.sendingReply=!1})},toggleConversationRead(n){n.isUnread?this.markConversationRead(n):this.markConversationUnread(n)},async markConversationRead(n){(await this.$apollo.mutate({mutation:wn,variables:{conversationId:n.id}})).data.markConversationRead.success&&(n.isUnread=!1,this.viewingInbox.unreadCount=Math.max(0,this.viewingInbox.unreadCount-1),this.$store.incrementTotalUnreadCount({amount:-1}))},async markConversationUnread(n){(await this.$apollo.mutate({mutation:me,variables:{conversationId:n.id}})).data.markConversationUnread.success&&(n.isUnread=!0,this.viewingInbox.unreadCount++,this.$store.incrementTotalUnreadCount({amount:1}))},async markInboxRead(n){(await this.$apollo.mutate({mutation:le,variables:{inboxId:n.id}})).data.markInboxRead.success&&(this.conversations.forEach(i=>{i.isUnread=!1}),this.$store.incrementTotalUnreadCount({amount:-n.unreadCount}),n.unreadCount=0)},async markAllInboxesRead(){(await this.$apollo.mutate({mutation:de})).data.markAllInboxesRead.success&&(this.conversationInboxes.forEach(e=>{e.unreadCount=0}),this.conversations.forEach(e=>{e.isUnread=!1}),this.$store.setTotalUnreadCount(0))},scrollToBottom(){let n=this.$refs.messageList.querySelector(".message-wrapper:last-child");n&&n.scrollIntoView({behavior:"smooth",block:"nearest"})},confirmHideUser(n){let e,i;n?(e=n.username,i=n.platform):(e=this.viewingConversation.authorUsername,i=this.viewingInbox.socialAccount.platform),this.$buefy.dialog.confirm({title:`Hide ${e}?`,message:`Are you sure you want to hide <strong>${e}</strong>?
316                  You will no longer view messages from them.`,confirmText:"Hide",type:"is-danger",hasIcon:!0,onConfirm:()=>{this.hideUser(e,i)}})},async hideUser(n,e){(await this.$apollo.mutate({mutation:Cn,variables:{username:n,platform:e.toUpperCase()}})).data.hideUser.success&&(this.$buefy.snackbar.open({message:`Conversations from user ${n} were hidden`,type:"is-success",position:"is-top-right"}),await this.$apollo.queries.conversationInboxes.refetch(),this.hideUserFromConversations(n,e))},hideUserFromConversations(n,e){this.conversations=this.conversations.filter(i=>i.authorUsername!==n||i.platform.toUpperCase()!==e.toUpperCase()),this.viewingConversation.authorUsername===n&&(this.viewingConversation=this.conversations[0]),this.publicCommentConversation&&(this.publicCommentConversation.comments=this.publicCommentConversation.comments.map(i=>this.hideUserFromComment(i,n,e)))},hideUserFromComment(n,e,i){return n.profile.username===e&&(n.isHidden=!0),n.replies&&(n.replies=n.replies.map(a=>this.hideUserFromComment(a,e,i))),n},async reloadConversations(){this.conversationsLoading=!0;try{const n=this.viewingConversation.id,e=await this.$apollo.query({query:De,variables:{inboxId:this.viewingInbox.id,search:this.filters.search,unread:this.filters.status==="UNREAD",reload:!0},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:!0});e&&e.data&&e.data.conversations&&(this.conversations=e.data.conversations.objects,this.viewingConversation=this.conversations.find(i=>i.id===n),this.conversations.length>0&&this.openConversation(this.viewingConversation||this.conversations[0]),this.updateViewingInboxUnreadCount())}finally{this.conversationsLoading=!1}},confirmArchiveConversation(n){this.$buefy.dialog.confirm({title:"Archive conversation?",message:`Are you sure you want to archive this conversation?
317                  This action cannot be undone.`,confirmText:"Archive",type:"is-danger",hasIcon:!0,onConfirm:()=>{this.archiveConversation(n)}})},archiveConversation(n){this.$apollo.mutate({mutation:xn,variables:{conversationId:n.id}}).then(e=>{if(e.data.archiveConversation.success){this.$buefy.snackbar.open({message:"Conversation archived",type:"is-success",position:"is-top-right"});const i=this.conversations.findIndex(a=>a.id===n.id);this.conversations=this.conversations.filter(a=>
317a.id!==n.id),this.conversations.length>0?this.openConversation(this.conversations[Math.min(i,this.conversations.length-1)]):this.viewingConversation=null}})},showConversationInfo(){},useSavedReply(n){let e=this.markdownToHTML(n.body);e=e.replace("{{recipientUsername}}",this.viewingConversation.authorUsername),e=e.replace("{{authorUsername}}",this.viewingInbox.socialAccount.username),this.form.message=e},showHiddenUsersModal(){this.$buefy.modal.open({component:Gs,programmatic:!0,hasModalCard:!0,destroyOnHide:!0,onCancel:()=>{this.$apollo.queries.conversations.refetch()}})},updateViewingInboxUnreadCount(){const n=this.viewingInbox.unreadCount;this.viewingInbox.unreadCount=this.conversations.reduce((e,i)=>e+(i.isUnread?1:0),0),this.$store.incrementTotalUnreadCount({amount:this.viewingInbox.unreadCount-n})},handleConversationLoadingError(){this.publicCommentConversation=null,this.privateMessageConversation=null,this.conversationLoadingError=!0,this.$buefy.snackbar.open({message:"Failed to load conversation. The comment may no longer exist.",type:"is-warning",duration:5e3,position:"is-top",actionText:"Archive",onAction:()=>{this.viewingConversation&&this.confirmArchiveConversation(this.viewingConversation)},cancelText:"OK"})},displayIntroModal(){this.$buefy.modal.open({component:Vs,programmatic:!0,hasModalCard:!0,destroyOnHide:!0})}},watch:{viewingConversation(n){n&&(this.conversationContentLoading=!0,this.conversationLoadingError=!1,this.viewingInbox.inboxType==="MESSAGES"?this.$apollo.query({query:oe,fetchPolicy:"no-cache",variables:{conversationId:this.viewingConversation.id}}).then(({data:e})=>{e&&(this.publicCommentConversation=null,this.privateMessageConversation=e.privateMessageConversation,this.$nextTick(()=>{this.scrollToBottom()}))}).catch(e=>{this.handleConversationLoadingError()}).finally(()=>{this.conversationContentLoading=!1}):this.viewingInbox.inboxType==="COMMENTS"&&this.$apollo.query({query:E,fetchPolicy:"no-cache",variables:{conversationId:this.viewingConversation.id}}).then(({data:e})=>{e&&(this.privateMessageConversation=null,this.publicCommentConversation=e.publicCommentConversation)}).catch(e=>{this.handleConversationLoadingError()}).finally(()=>{this.conversationContentLoading=!1}))}},mounted(){this.$store.canAccessInboxes||this.$router.push("/"),this._keyListener=function(n){const e=document.activeElement,i=e.tagName.toLowerCase();i==="input"||i==="textarea"||e.classList.contains("textarea")||e.classList.contains("ProseMirror")||(n.key==="j"&&(n.ctrlKey||n.metaKey)?this.goToNextInbox():n.key==="k"&&(n.ctrlKey||n.metaKey)?this.goToPreviousInbox():n.key==="j"?this.goToNextConversation():n.key==="k"?this.goToPreviousConversation():n.key==="?"&&n.shiftKey?this.showKeyboardShortcuts=!0:n.key==="/"?this.$refs.searchInput.focus():n.key==="i"&&(n.ctrlKey||n.metaKey)?this.viewingInbox&&this.markInboxRead(this.viewingInbox):n.key==="r"?this.viewingInbox&&this.viewingInbox.inboxType==="MESSAGES"&&this.focusOnMessageInput():n.key==="i"?this.viewingConversation&&this.markConversationRead(this.viewingConversation):n.key==="u"?this.viewingConversation&&this.markConversationUnread(this.viewingConversation):n.key==="a"&&this.viewingConversation&&this.confirmArchiveConversation(this.viewingConversation))},document.addEventListener("keyup",this._keyListener.bind(this))},beforeDestroy(){document.removeEventListener("keyup",this._keyListener)}},Ws={key:0,class:"columns"},Ys={class:"column is-2-widescreen is-3-desktop inboxes-sidebar"},Zs={class:"u-mb2 is-flex is-justify-content-space-between is-align-items-center"},Xs={class:"inboxes-menu"},Js={key:0,class:"u-mt0"},ea={class:"is-flex is-align-items-center"},na={class:"has-text-ellipsis is-flex-grow-1"},ia={class:"is-flex is-align-items-center has-text-grey"},ta={class:"is-flex is-align-items-center"},sa={class:"has-text-ellipsis is-flex-grow-1"},aa={class:"is-flex is-align-items-center"},oa={class:"has-text-ellipsis is-flex-grow-1"},ra={class:"is-flex is-align-items-center has-text-grey"},la={class:"is-flex is-align-items-center"},da={class:"has-text-ellipsis is-flex-grow-1"},ma={class:"column is-3-widescreen is-4-desktop messages-sidebar"},ua={key:0,class:"messages-filters"},ca={class:"is-flex is-align-items-center is-justify-content-space-between is-flex-gap-xs u-mb1"},fa={class:"is-flex is-align-items-center",style:{"min-width":"0"}},va={class:"has-text-ellipsis"},pa={class:"is-flex is-align-items-center",style:{"min-width":"0"}},ga={class:"sidebar-convo-wrapper"},ka={key:0,class:"has-text-centered is-size-6 has-text-grey u-pt6"},ya={class:"messages-indicator u-mb1 has-text-grey has-text-centered is-size-7"},ha={class:"has-text-weight-semibold"},ba={key:0},xa={class:"column current-message-wrapper"},Ca={key:0,class:"current-message"},wa={class:"message-list",ref:"messageList"}
317,Sa={class:"message-controls"},Ia={class:"u-mt2"},Na={key:1,class:"current-message"},Fa={class:"message-list",ref:"messageList"},Ta={key:2,class:"current-message"},_a={class:"has-text-centered u-pt6 u-pb6 is-flex is-flex-direction-column is-align-items-center is-justify-content-center",style:{height:"100%"}},Ra={key:1,class:"conversations-empty-state"},Ua={class:"conversations-empty-state-content card"},Ea={class:"card-content"},Aa={class:"has-text-centered u-mb3 u-mt2"},Da={class:"columns is-centered u-mt4"},Ma={class:"column is-narrow"},Va={class:"is-size-6 has-text-weight-semibold u-mb1"},za={class:"is-flex is-flex-direction-column is-flex-gap-xs"},La={class:"column is-narrow"},Oa={class:"is-size-6 has-text-weight-semibold u-mb1"},$a={class:"is-flex is-flex-direction-column is-flex-gap-xs"},Ha={class:"has-text-centered u-mt3 u-mb2"};function qa(n,e,i,a,o,r){const v=_,l=x("b-tooltip"),u=x("b-input"),g=x("b-field"),C=_e,b=x("b-icon"),I=bn,T=x("b-menu-item"),A=x("b-menu-list"),w=x("b-menu"),D=x("b-loading"),Ae=x("b-radio-button"),rn=Hn,ln=ni,dn=Ti,mn=x("b-message"),un=an,cn=kt,fn=on,vn=x("b-modal"),pn=vs;return m(),c("div",null,[o.conversationInboxes.length>0?(m(),c("div",Ws,[t("div",Ys,[t("div",null,[t("header",Zs,[e[24]||(e[24]=t("h1",{class:"title u-mb0 has-text-weight-bold is-size-4"},"Inboxes",-1)),e[25]||(e[25]=s()),d(l,{label:"Mark All Inboxes as Read",type:"is-info",position:"is-bottom",delay:500,"append-to-body":""},{default:p(()=>[o.conversationInboxes.length>0&&n.$store.totalUnreadCount>0?(m(),h(v,{key:0,size:"is-small",type:"is-transparent","icon-left":"envelope-circle-check",tabindex:"-1",class:"has-text-grey",onClick:r.markAllInboxesRead},null,8,["onClick"])):k("",!0)]),_:1})]),e[46]||(e[46]=s()),o.conversationInboxes.length>16?(m(),h(g,{key:0,class:"u-mb2"},{default:p(()=>[d(u,{type:"text",placeholder:"Filter inboxes",modelValue:o.inboxFilter,"onUpdate:modelValue":e[0]||(e[0]=f=>o.inboxFilter=f),size:"is-small","icon-pack":"far","icon-right":"times","icon-right-clickable":"",onIconRightClick:e[1]||(e[1]=f=>o.inboxFilter=""),expanded:"",rounded:"",onKeydown:e[2]||(e[2]=V(f=>o.inboxFilter="",["escape"]))},null,8,["modelValue"])]),_:1})):k("",!0),e[47]||(e[47]=s()),t("div",Xs,[d(w,{activable:!1,accordion:!1},{default:p(()=>[n.$store.canAccessCommentsInbox?(m(),c("div",Js,[d(A,{label:"Comments"},{default:p(()=>[(m(!0),c(S,null,F(r.commentInboxes,f=>(m(),h(T,{key:f.id,modelValue:o.viewingInbox&&f.id===o.viewingInbox.id,onClick:M=>r.openInbox(f)},{label:p(()=>[t("span",ea,[d(C,{platform:f.socialAccount.platform,size:"is-small"},null,8,["platform"]),e[26]||(e[26]=s()),t("span",na,y(f.socialAccount.formattedUsername.replace("@","")),1),e[27]||(e[27]=s()),r.canUseCommentsInbox(f.socialAccount)?f.unreadCount>0?(m(),h(I,{key:1,unreadCount:f.unreadCount,class:"u-ml1"},null,8,["unreadCount"])):k("",!0):(m(),h(l,{key:0,label:"Postpone needs additional account permissions to fetch this Inbox. Please re-connect the social account in Settings.",type:"is-info",multilined:"","append-to-body":""},{default:p(()=>[d(b,{icon:"plug-circle-exclamation",pack:"far",type:"is-warning",class:"u-mx0",size:"is-small"})]),_:1}))])]),_:2},1032,["modelValue","onClick"]))),128)),e[33]||(e[33]=s()),r.socialAccountsWithoutCommentInboxes.length>0?(m(),h(T,{key:0},{label:p(f=>[t("span",ia,[d(b,{icon:"circle-exclamation",size:"is-small"}),e[28]||(e[28]=s()),e[29]||(e[29]=t("span",{class:"is-flex-grow-1"}," Unsupported ",-1)),e[30]||(e[30]=s()),d(b,{icon:f.expanded?"angle-up":"angle-down",size:"is-small",type:"is-grey-light"},null,8,["icon"])])]),default:p(()=>[e[32]||(e[32]=s()),d(l,{label:"These social platforms do not support Comments Inboxes at this time.",type:"is-info",multilined:"","append-to-body":""},{default:p(()=>[(m(!0),c(S,null,F(r.socialAccountsWithoutCommentInboxes,f=>(m(),h(T,{key:`${f.platform}-${f.platformId}`,disabled:""},{label:p(()=>[t("span",ta,[d(C,{platform:f.platform,size:"is-small"},null,8,["platform"]),e[31]||(e[31]=s()),t("span",sa,y(f.formattedUsername.replace("@","")),1)])]),_:2},1024))),128))]),_:1})]),_:1})):k("",!0)]),_:1})])):k("",!0),e[44]||(e[44]=s()),n.$store.canAccessMessagesInbox?(m(),h(A,{key:1,label:"Direct Messages"},{default:p(()=>[(m(!0),c(S,null,F(r.messageInboxes,f=>(m(),h(T,{key:f.id,modelValue:o.viewingInbox&&f.id===o.viewingInbox.id,onClick:M=>r.openInbox(f)},{label:p(()=>[t("span",aa,[d(C,{platform:f.socialAccount.platform,size:"is-small"},null,8,["platform"]),e[34]||(e[34]=s()),t("span",oa,y(f.socialAccount.formattedUsername.replace("@","")),1),e[35]||(e[35]=s()),r.canUseMessagesInbox(f.socialAccount)?f.unreadCount>0?(m(),h(I,{key:1,unreadCount:f.unreadCount,class:"u-ml1"},null,8,["unreadCount"])):k("",!0):(m(),h(l,{key:0,label:"Postpone needs additional account permissions to fetch this Inbox. Please re-connect the social account in Settings.",type:"is-info",multilined:"","append-to-body":""},{default:p(()=>[d(b,{icon:"plug-circle-exclamation",pack:"far",type:"is-warning",class:"u-mx0",size:"is-small"})]),_:1}))])]),_:2}
317,1032,["modelValue","onClick"]))),128)),e[41]||(e[41]=s()),r.socialAccountsWithoutMessageInboxes.length>0?(m(),h(T,{key:0},{label:p(f=>[t("span",ra,[d(b,{icon:"circle-exclamation",size:"is-small"}),e[36]||(e[36]=s()),e[37]||(e[37]=t("span",{class:"is-flex-grow-1"}," Unsupported ",-1)),e[38]||(e[38]=s()),d(b,{icon:f.expanded?"angle-up":"angle-down",size:"is-small",type:"is-grey-light"},null,8,["icon"])])]),default:p(()=>[e[40]||(e[40]=s()),d(l,{label:"These social platforms do not support Messages Inboxes at this time.",type:"is-info",multilined:"","append-to-body":""},{default:p(()=>[(m(!0),c(S,null,F(r.socialAccountsWithoutMessageInboxes,f=>(m(),h(T,{key:`${f.platform}-${f.platformId}`,disabled:""},{label:p(()=>[t("span",la,[d(C,{platform:f.platform,size:"is-small"},null,8,["platform"]),e[39]||(e[39]=s()),t("span",da,y(f.formattedUsername.replace("@","")),1)])]),_:2},1024))),128))]),_:1})]),_:1})):k("",!0)]),_:1})):k("",!0),e[45]||(e[45]=s()),d(A,{label:"General"},{default:p(()=>[d(T,{"icon-pack":"far",icon:"user-slash",label:"Hidden Users",onClick:r.showHiddenUsersModal},null,8,["onClick"]),e[42]||(e[42]=s()),d(T,{"icon-pack":"far",icon:"command",label:"Shortcuts",onClick:e[3]||(e[3]=f=>o.showKeyboardShortcuts=!0)}),e[43]||(e[43]=s()),d(T,{"icon-pack":"far",icon:"info-circle",label:"About",onClick:r.displayIntroModal},null,8,["onClick"])]),_:1})]),_:1})])])]),e[83]||(e[83]=s()),t("div",ma,[d(D,{"is-full-page":!1,modelValue:o.conversationsLoading,"onUpdate:modelValue":e[4]||(e[4]=f=>o.conversationsLoading=f),"can-cancel":!1},null,8,["modelValue"]),e[59]||(e[59]=s()),o.viewingInbox?(m(),c("div",ua,[t("div",ca,[t("span",fa,[d(C,{platform:o.viewingInbox.socialAccount.platform},null,8,["platform"]),e[48]||(e[48]=s()),t("strong",va,y(o.viewingInbox.socialAccount.formattedUsername),1)]),e[50]||(e[50]=s()),t("span",pa,[d(l,{label:"Mark Inbox as Read",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[o.viewingInbox.unreadCount>0?(m(),h(v,{key:0,size:"is-small",type:"is-transparent","icon-left":"envelope-circle-check",tabindex:"-1",class:"has-text-grey",onClick:e[5]||(e[5]=f=>r.markInboxRead(o.viewingInbox))})):k("",!0)]),_:1}),e[49]||(e[49]=s()),d(l,{label:"Refresh Inbox",type:"is-info",position:"is-bottom",delay:500},{default:p(()=>[d(v,{size:"is-small",type:"is-transparent",class:"has-text-grey","icon-left":"sync","icon-pack":"far",tabindex:"-1",onClick:r.reloadConversations,loading:o.conversationsLoading},null,8,["onClick","loading"])]),_:1})])]),e[55]||(e[55]=s()),d(g,{class:"u-mb1"},{default:p(()=>[d(Ae,{modelValue:o.filters.status,"onUpdate:modelValue":e[6]||(e[6]=f=>o.filters.status=f),"native-value":"ALL",type:"is-info",size:"is-small",expanded:""},{default:p(()=>[...e[51]||(e[51]=[s("All",-1)])]),_:1},8,["modelValue"]),e[54]||(e[54]=s()),d(Ae,{modelValue:o.filters.status,"onUpdate:modelValue":e[7]||(e[7]=f=>o.filters.status=f),"native-value":"UNREAD",type:"is-info",size:"is-small",expanded:""},{default:p(()=>[e[52]||(e[52]=t("span",null,"Unread",-1)),e[53]||(e[53]=s()),o.viewingInbox.unreadCount>0?(m(),h(I,{key:0,unreadCount:o.viewingInbox.unreadCount,class:"u-ml1"},null,8,["unreadCount"])):k("",!0)]),_:1},8,["modelValue"])]),_:1}),e[56]||(e[56]=s()),d(g,{class:"u-mb2"},{default:p(()=>[d(u,{type:"text",placeholder:"Search",modelValue:o.filters.search,"onUpdate:modelValue":e[8]||(e[8]=f=>o.filters.search=f),size:"is-small",icon:"search","icon-pack":"far","icon-right":"times","icon-right-clickable":"",onIconRightClick:e[9]||(e[9]=f=>o.filters.search=""),expanded:"",rounded:"",ref:"searchInput"},null,8,["modelValue"])]),_:1})])):k("",!0),e[60]||(e[60]=s()),t("div",ga,[o.conversations.length===0?(m(),c("div",ka,`
318            No conversations found.
319          `)):(m(!0),c(S,{key:1},F(o.conversations,f=>(m(),h(rn,{key:`preview-${f.id}`,conversation:f,active:o.viewingConversation&&f.id==o.viewingConversation.id,onOpenConversation:M=>r.openConversation(f)},null,8,["conversation","active","onOpenConversation"]))),128))]),e[61]||(e[61]=s()),e[62]||(e[62]=t("hr",{class:"u-mt0 u-mb1"},null,-1)),e[63]||(e[63]=s()),t("div",ya,[t("p",ha,[s(y(o.conversations.length)+" ",1),o.filters.status==="UNREAD"?(m(),c(S,{key:0},[s("unread")],64)):k("",!0),s(" "+y(n.$filters.pluralize(o.conversations.length,"conversation")),1)]),e[58]||(e[58]=s()),o.viewingInbox&&o.viewingInbox.inboxType==="MESSAGES"?(m(),c("p",ba,[d(b,{icon:"lock",size:"is-small"}),e[57]||(e[57]=s(`
320            Postpone never stores your private messages.
321          `,-1))])):k("",!0)])]),e[84]||(e[84]=s()),t("div",xa,[d(D,{"is-full-page":!1,modelValue:o.conversationContentLoading,"onUpdate:modelValue":e[10]||(e[10]=f=>o.conversationContentLoading=f),"can-cancel":!1},null,8,["modelValue"]),e[82]||(e[82]=s()),o.viewingConversation&&o.privateMessageConversation&&o.privateMessageConversation.messages.length?(m(),c("div",Ca,[d(ln,{profile:r.messageParticipant,"author-username":o.viewingConversation.authorUsername,"is-unread":o.viewingConversation.isUnread,onToggleRead:e[11]||(e[11]=f=>r.toggleConversationRead(o.viewingConversation)),onArchive:e[12]||(e[12]=f=>r.confirmArchiveConversation(o.viewingConversation)),onInfo:r.showConversationInfo,onHideUser:e[13]||(e[13]=f=>r.confirmHideUser(f))},null,8,["profile","author-username","is-unread","onInfo"]),e[71]||
321(e[71]=s()),t("div",wa,[(m(!0),c(S,null,F(o.privateMessageConversation.messages,f=>(m(),c("div",{key:`current-${f.id}`,class:"message-wrapper"},[d(dn,{message:f,"is-from-self":f.profile.id===o.viewingInbox.socialAccount.platformId},null,8,["message","is-from-self"]),e[64]||(e[64]=s()),e[65]||(e[65]=t("div",{class:"clearfix"},null,-1))]))),128))],512),e[72]||(e[72]=s()),t("div",Sa,[o.viewingInbox.socialAccount.platform==="INSTAGRAM"&&r.isInstagramReplyTimeExpired?(m(),h(mn,{key:0,type:"is-warning",class:"u-mb1"},{default:p(()=>[d(b,{icon:"clock",size:"is-small",class:"u-mr1"}),e[66]||(e[66]=s(`
322              Instagram does not support replying more than 24 hours after a
323              message is received.
324            `,-1))]),_:1})):k("",!0),e[69]||(e[69]=s()),d(un,{modelValue:o.form.message,"onUpdate:modelValue":e[14]||(e[14]=f=>o.form.message=f),platform:o.viewingInbox.socialAccount.platform,ref:"replyEditor",format:r.messageFormat,contentType:"message_reply",aiAssistantContext:{replyToComment:r.replyingToMessage.message},recipientUsername:o.viewingConversation.authorUsername,authorUsername:o.viewingInbox.socialAccount.username,onShiftEnter:r.sendMessageReply,onCmdEnter:r.sendReplyAndGoToNext},null,8,["modelValue","platform","format","aiAssistantContext","recipientUsername","authorUsername","onShiftEnter","onCmdEnter"]),e[70]||(e[70]=s()),t("div",Ia,[r.canSendReplies?(m(),h(v,{key:0,type:"is-primary","icon-left":"paper-plane","icon-pack":"fas",loading:o.sendingReply,disabled:!o.form.message,onClick:r.sendMessageReply},{default:p(()=>[...e[67]||(e[67]=[s(`
325                Send Message
326              `,-1)])]),_:1},8,["loading","disabled","onClick"])):(m(),h(v,{key:1,type:"is-secondary","icon-left":"crown",rounded:"",onClick:e[15]||(e[15]=f=>o.showUpsellConversationsModal=!0)},{default:p(()=>[...e[68]||(e[68]=[s(`
327                Upgrade to reply
328              `,-1)])]),_:1}))])])])):o.publicCommentConversation&&o.viewingConversation?(m(),c("div",Na,[d(cn,{post:o.publicCommentConversation.post,"is-unread":o.viewingConversation.isUnread,onToggleRead:e[16]||(e[16]=f=>r.toggleConversationRead(o.viewingConversation)),onArchive:e[17]||(e[17]=f=>r.confirmArchiveConversation(o.viewingConversation)),onInfo:r.showConversationInfo,onHideUser:e[18]||(e[18]=f=>r.confirmHideUser(f))},null,8,["post","is-unread","onInfo"]),e[75]||(e[75]=s()),t("div",Fa,[(m(!0),c(S,null,F(o.publicCommentConversation.comments,f=>(m(),h(fn,{key:`current-${f.id}`,comment:f,inbox:o.viewingInbox,conversation:o.viewingConversation,post:o.publicCommentConversation.post,onReplySentFromCmdEnter:r.goToNextConversation,onHideUser:e[19]||(e[19]=M=>r.confirmHideUser(M)),onShowUpsellModal:e[20]||(e[20]=M=>o.showUpsellConversationsModal=!0)},null,8,["comment","inbox","conversation","post","onReplySentFromCmdEnter"]))),128)),e[73]||(e[73]=s()),e[74]||(e[74]=t("div",{class:"clearfix"},null,-1))],512)])):o.conversationLoadingError&&o.viewingConversation?(m(),c("div",Ta,[t("div",_a,[d(b,{icon:"triangle-exclamation",size:"is-large",type:"is-grey",class:"u-mb2"}),e[77]||(e[77]=s()),e[78]||(e[78]=t("h3",{class:"is-size-5 has-text-weight-semibold u-mb1"},`
329              Failed to Load Conversation
330            `,-1)),e[79]||(e[79]=s()),e[80]||(e[80]=t("p",{class:"has-text-grey u-mb3"},`
331              The comment may have been deleted or is no longer available.
332            `,-1)),e[81]||(e[81]=s()),d(v,{"icon-left":"archive",onClick:e[21]||(e[21]=f=>r.confirmArchiveConversation(o.viewingConversation))},{default:p(()=>[...e[76]||(e[76]=[s(`
333              Archive Conversation
334            `,-1)])]),_:1})])])):k("",!0)])])):k("",!0),e[104]||(e[104]=s()),o.conversationInboxes.length===0&&o.inboxesLoaded?(m(),c("div",Ra,[t("div",Ua,[t("div",Ea,[t("div",Aa,[d(b,{icon:"comments",pack:"far",type:"is-grey",size:"is-large",class:"u-mb2"}),e[85]||(e[85]=s()),e[86]||(e[86]=t("h1",{class:"title is-3 has-text-weight-bold"},"Conversations",-1)),e[87]||(e[87]=s()),e[88]||(e[88]=t("p",{class:"has-text-grey is-size-5",style:{"max-width":"560px",margin:"0 auto"}},`
335              Manage your social media comments and direct messages in one
336              unified inbox.
337            `,-1))]),e[101]||(e[101]=s()),t("div",Da,[t("div",Ma,[t("h3",Va,[d(b,{icon:"comment-dots",pack:"far",size:"is-small",class:"u-mr0"}),e[89]||(e[89]=s(`
338                Comments Inbox
339              `,-1))]),e[91]||(e[91]=s()),e[92]||(e[92]=t("p",{class:"is-size-7 has-text-grey u-mb2"},`
340                Engage with comments on your posts.
341              `,-1)),e[93]||(e[93]=s()),t("div",za,[(m(!0),c(S,null,F(r.commentsInboxPlatforms,f=>(m(),c("span",{key:f.code,class:"is-flex is-align-items-center is-flex-gap-xs"},[d(C,{platform:f.code},null,8,["platform"]),e[90]||(e[90]=s()),t("span",null,y(f.name),1)]))),128))])]),e[99]||(e[99]=s()),t("div",La,[t("h3",Oa,[d(b,{icon:"envelope",pack:"far",size:"is-small",class:"u-mr0"}),e[94]||(e[94]=s(`
342                Messages Inbox
343              `,-1))]),e[96]||(e[96]=s()),e[97]||(e[97]=t("p",{class:"is-size-7 has-text-grey u-mb2"},`
344                Reply to direct messages privately.
345              `,-1)),e[98]||(e[98]=s()),t("div",$a,[(m(!0),c(S,null,F(r.messagesInboxPlatforms,f=>(m(),c("span",{key:f.code,class:"is-flex is-align-items-center is-flex-gap-xs"},[d(C,{platform:f.code},null,8,["platform"]),e[95]||(e[95]=s()),t("span",null,y(f.name),1)]))),128))])])]),e[102]||(e[102]=s()),t("div",Ha,[d(v,{type:"is-primary",tag:"router-link",to:"/settings/connect-accounts","icon-right":"arrow-right"},{default:p(()=>[...e[100]||(e[100]=[s(`
346              Connect an Account
347            `,-1)])]),_:1})])])])])):k("",!0),e[105]||(e[105]=s()),d(vn,{modelValue:o.showKeyboardShortcuts,"onUpdate:modelValue":e[22]||(e[22]=f=>o.showKeyboardShortcuts=f),"has-modal-card":"","aria-role":"dialog","aria-modal":"","destroy-on-hide":"",width:720},{default:p(()=>[...e[103]||(e[103]=[t("div",{class:"modal-card"},[t("header",{class:"modal-card-head"},[t("p",{class:"modal-card-title is-size-6 has-text-weight-bold"},`
348            Keyboard Shortcuts
349          `)]),s(),t("section",{class:"modal-card-body"},[t("div",{class:"columns"},[t("div",{class:"column"},[t("h2",{class:"is-size-5 has-text-weight-semibold u-mb1"},`
350                Navigation
351              `),s(),t("table",{class:"table is-fullwidth"},[t("thead",null,[t("tr",null,[t("th",null,"Key"),s(),t("th",null,"Action")])]),s(),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"/")]),s(),t("td",null,"Focus on Search")]),s(),t("tr",null,[t("td",null,[t("code",null,"Ctrl"),s(" + "),t("
351code",null,"j")]),s(),t("td",null,"Next Inbox")]),s(),t("tr",null,[t("td",null,[t("code",null,"Ctrl"),s(" + "),t("code",null,"k")]),s(),t("td",null,"Previous Inbox")]),s(),t("tr",null,[t("td",null,[t("code",null,"j")]),s(),t("td",null,"Next Conversation")]),s(),t("tr",null,[t("td",null,[t("code",null,"k")]),s(),t("td",null,"Previous Conversation")]),s(),t("tr",null,[t("td",null,[t("code",null,"Shift"),s(" + "),t("code",null,"?")]),s(),t("td",null,"Open Keyboard Shortcuts")])])])]),s(),t("div",{class:"column"},[t("h2",{class:"is-size-5 has-text-weight-semibold u-mb1"},"Actions"),s(),t("table",{class:"table is-fullwidth"},[t("thead",null,[t("tr",null,[t("th",null,"Key"),s(),t("th",null,"Action")])]),s(),t("tbody",null,[t("tr",null,[t("td",null,[t("code",null,"r")]),s(),t("td",null,"Focus on Reply")]),s(),t("tr",null,[t("td",{style:{width:"9rem"}},[t("code",null,"Shift"),s(" + "),t("code",null,"Enter")]),s(),t("td",null,"Send Reply")]),s(),t("tr",null,[t("td",{style:{width:"8rem"}},[t("code",null,"Ctrl"),s(" + "),t("code",null,"Enter")]),s(),t("td",null,"Send Reply & Go to Next")]),s(),t("tr",null,[t("td",null,[t("code",null,"Ctrl"),s(" + "),t("code",null,"i")]),s(),t("td",null,"Mark Inbox as Read")]),s(),t("tr",null,[t("td",null,[t("code",null,"i")]),s(),t("td",null,"Mark Conversation as Read")]),s(),t("tr",null,[t("td",null,[t("code",null,"u")]),s(),t("td",null,"Mark Conversation as Unread")]),s(),t("tr",null,[t("td",null,[t("code",null,"a")]),s(),t("td",null,"Archive Conversation")])])])])])])],-1)])]),_:1},8,["modelValue"]),e[106]||(e[106]=s()),d(pn,{modelValue:o.showUpsellConversationsModal,"onUpdate:modelValue":e[23]||(e[23]=f=>o.showUpsellConversationsModal=f)},null,8,["modelValue"])])}const Co=N(Ks,[["render",qa],["__scopeId","data-v-9af3de25"]]);export{Co as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.