3 return(0,u
.highlightClass
)(this.notification
.action
.user
)},userStyle:function(){var e
=this.$store
.state
.config
.highlight
,t
=this.notification
.action
.user
;return(0,u
.highlightStyle
)(e
[t
.screen_name
])}}};t
.default=d
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(46),n
=a(s
),o
=i(106),r
=a(o
),l
=i(533),c
=a(l
),u
=i(191),d
=a(u
),p
={created:function(){var e
=this.$store
,t
=e
.state
.users
.currentUser
.credentials
;d
.default.startFetching({store:e
,credentials:t
})},computed:{visibleTypes:function(){return[this.$store
.state
.config
.notificationVisibility
.likes
&&"like",this.$store
.state
.config
.notificationVisibility
.mentions
&&"mention",this.$store
.state
.config
.notificationVisibility
.repeats
&&"repeat",this.$store
.state
.config
.notificationVisibility
.follows
&&"follow"].filter(function(e
){return e
})},notifications:function(){return this.$store
.state
.statuses
.notifications
.data
},error:function(){return this.$store
.state
.statuses
.notifications
.error
},unseenNotifications:function(){return(0,n
.default)(this.visibleNotifications
,function(e
){var t
=e
.seen
;return!t
})},visibleNotifications:function(){var e
=this,t
=(0,r
.default)(this.notifications
,function(e
){var t
=e
.action
;return-t
.id
});return t
=(0,r
.default)(t
,"seen"),t
.filter(function(t
){return e
.visibleTypes
.includes(t
.type
)})},unseenCount:function(){return this.unseenNotifications
.length
}},components:{Notification:c
.default},watch:{unseenCount:function(e
){e
>0?this.$store
.dispatch("setPageTitle","("+e
+")"):this.$store
.dispatch("setPageTitle","")}},methods:{markAsSeen:function(){this.$store
.commit("markNotificationsAsSeen",this.visibleNotifications
)},fetchOlderNotifications:function(){var e
=this.$store
,t
=e
.state
.users
.currentUser
.credentials
;d
.default.fetchAndUpdate({store:e
,credentials:t
,older:!0})}}};t
.default=p
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(69),n
=a(s
),o
={props:["code"],mounted:function(){var e
=this;this.code
&&n
.default.getToken({app:this.$store
.state
.oauth
,instance:this.$store
.state
.instance
.server
,code:this.code
}).then(function(t
){e
.$store
.commit("setToken",t
.access_token
),e
.$store
.dispatch("loginUser",t
.access_token
),e
.$router
.push("/main/friends")})}};t
.default=o
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(240),n
=a(s
),o
=i(505),r
=a(o
),l
=i(31),c
=a(l
),u
=i(494),d
=a(u
),p
=i(46),f
=a(p
),_
=i(499),m
=a(_
),h
=i(113),v
=a(h
),g
=i(530),b
=a(g
),w
=i(112),y
=a(w
),k
=i(188),C
=a(k
),x=function(e
,t
){var i
=e
.user
,a
=e
.attentions
,s
=[].concat((0,n
.default)(a
));s
.unshift(i
),s
=(0,r
.default)(s
,"id"),s
=(0,d
.default)(s
,{id:t
.id
});var o
=(0,c
.default)(s
,function(e
){return"@"+e
.screen_name
});return o
.join(" ")+" "},S
={props:["replyTo","repliedUser","attentions","copyMessageScope","subject"],components:{MediaUpload:b
.default},mounted:function(){this.resize(this.$refs
.textarea
),this.replyTo
&&this.$refs
.textarea
.focus()},data:function(){var e
=this.$route
.query
.message
,t
=e
||"";if(this.replyTo
){var i
=this.$store
.state
.users
.currentUser
;t
=x({user:this.repliedUser
,attentions:this.attentions
},i
)}var a
=this.copyMessageScope
&&this.$store
.state
.config
.copyScope
||"direct"===this.copyMessageScope
?this.copyMessageScope:this.$store
.state
.users
.currentUser
.default_scope
;return{dropFiles:[],submitDisabled:!1,error:null,posting:!1,highlighted:0,newStatus:{spoilerText:this.subject
||"",status:t
,contentType:"text/plain",nsfw:!1,files:[],visibility:a
},caret:0}},computed:{vis:function(){return{public:{selected:"public"===this.newStatus
.visibility
},unlisted:{selected:"unlisted"===this.newStatus
.visibility
},private:{selected:"private"===this.newStatus
.visibility
},direct:{selected:"direct"===this.newStatus
.visibility
}}},candidates:function(){var e
=this,t
=this.textAtCaret
.charAt(0);if("@"===t
){var i
=this.textAtCaret
.slice(1).toUpperCase(),a
=(0,f
.default)(this.users
,function(e
){return e
.screen_name
.toUpperCase().startsWith(i
)||e
.name
&&e
.name
.toUpperCase().startsWith(i
)});return!(a
.length
<=0)&&(0,c
.default)((0,m
.default)(a
,5),function(t
,i
){var a
=t
.screen_name
,s
=t
.name
,n
=t
.profile_image_url_original
;return{screen_name:"@"+a
,name:s
,img:n
,highlighted:i
===e
.highlighted
}})}if(":"===t
){if(":"===this.textAtCaret
)return;var s
=(0,f
.default)(this.emoji
.concat(this.customEmoji
),function(t
){return t
.shortcode
.startsWith(e
.textAtCaret
.slice(1))});return!(s
.length
<=0)&&(0,c
.default)((0,m
.default)(s
,5),function(t
,i
){var a
=t
.shortcode
,s
=t
.image_url
,n
=t
.utf
;return{screen_name:":"+a
+":",name:"",utf:n
||"",img:n
?"":e
.$store
.state
.instance
.server
+s
,highlighted:i
===e
.highlighted
}})}return!1},textAtCaret:function(){return(this.wordAtCaret
||{}).word
||""},wordAtCaret:function(){var e
=C
.default.wordAtPosition(this.newStatus
.status
,this.caret
-1)||{};return e
},users:function(){return this.$store
.state
.users
.users
},emoji:function(){return this.$store
.state
.instance
.emoji
||[]},customEmoji:function(){return this.$store
.state
.instance
.customEmoji
||[]},statusLength:function(){return this.newStatus
.status
.length
},spoilerTextLength:function(){return this.newStatus
.spoilerText
.length
},statusLengthLimit:function(){return this.$store
.state
.instance
.textlimit
},hasStatusLengthLimit:function(){return this.statusLengthLimit
>0},charactersLeft:function(){return this.statusLengthLimit
-(this.statusLength
+this.spoilerTextLength
)},isOverLengthLimit:function(){return this.hasStatusLengthLimit
&&this.charactersLeft
<0},scopeOptionsEnabled:function(){return this.$store
.state
.instance
.scopeOptionsEnabled
},formattingOptionsEnabled:function(){return this.$store
.state
.instance
.formattingOptionsEnabled
}},methods:{replace:function(e
){this.newStatus
.status
=C
.default.replaceWord(this.newStatus
.status
,this.wordAtCaret
,e
);var t
=this.$el
.querySelector("textarea");t
.focus(),this.caret
=0},replaceCandidate:function(e
){var t
=this.candidates
.length
||0;if(":"!==this.textAtCaret
&&!e
.ctrlKey
&&t
>0){e
.preventDefault();var i
=this.candidates
[this.highlighted
],a
=i
.utf
||i
.screen_name
+" ";this.newStatus
.status
=C
.default.replaceWord(this.newStatus
.status
,this.wordAtCaret
,a
);var s
=this.$el
.querySelector("textarea");s
.focus(),this.caret
=0,this.highlighted
=0}},cycleBackward:function(e
){var t
=this.candidates
.length
||0;t
>0?(e
.preventDefault(),this.highlighted
-=1,this.highlighted
<0&&(this.highlighted
=this.candidates
.length
-1)):this.highlighted
=0},cycleForward:function(e
){var t
=this.candidates
.length
||0;if(t
>0){if(e
.shiftKey
)return;e
.preventDefault(),this.highlighted
+=1,this.highlighted
>=t
&&(this.highlighted
=0)}else this.highlighted
=0},setCaret:function(e
){var t
=e
.target
.selectionStart
;this.caret
=t
},postStatus:function(e
){var t
=this;if(!this.posting
&&!this.submitDisabled
){if(""===this.newStatus
.status
){if(!(this.newStatus
.files
.length
>0))return void(this.error
="Cannot post an empty status with no files");this.newStatus
.status
=""}this.posting
=!0,v
.default.postStatus({status:e
.status
,spoilerText:e
.spoilerText
||null,visibility:e
.visibility
,sensitive:e
.nsfw
,media:e
.files
,store:this.$store
,inReplyToStatusId:this.replyTo
,contentType:e
.contentType
}).then(function(i
){if(i
.error
)t
.error
=i
.error
;else{t
.newStatus
={status:"",spoilerText:"",files:[],visibility:e
.visibility
,contentType:e
.contentType
},t
.$emit("posted");var a
=t
.$el
.querySelector("textarea");a
.style
.height
="16px",t
.error
=null}t
.posting
=!1})}},addMediaFile:function(e
){this.newStatus
.files
.push(e
),this.enableSubmit()},removeMediaFile:function(e
){var t
=this.newStatus
.files
.indexOf(e
);this.newStatus
.files
.splice(t
,1)},disableSubmit:function(){this.submitDisabled
=!0},enableSubmit:function(){this.submitDisabled
=!1},type:function(e
){return y
.default.fileType(e
.mimetype
)},paste:function(e
){e
.clipboardData
.files
.length
>0&&(this.dropFiles
=[e
.clipboardData
.files
[0]])},fileDrop:function(e
){e
.dataTransfer
.files
.length
>0&&(e
.preventDefault(),this.dropFiles
=e
.dataTransfer
.files
)},fileDrag:function(e
){e
.dataTransfer
.dropEffect
="copy"},resize:function(e
){if(e
.target
){var t
=Number(window
.getComputedStyle(e
.target
)["padding-top"].substr(0,1))+Number(window
.getComputedStyle(e
.target
)["padding-bottom"].substr(0,1));e
.target
.style
.height
="auto",e
.target
.style
.height
=e
.target
.scrollHeight
-t
+"px",""===e
.target
.value
&&(e
.target
.style
.height
="16px")}},clearError:function(){this.error
=null},changeVis:function(e
){this.newStatus
.visibility
=e
}}};t
.default=S
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(25),n
=a(s
),o
={components:{Timeline:n
.default},computed:{timeline:function(){return this.$store
.state
.statuses
.timelines
.publicAndExternal
}},created:function(){this.$store
.dispatch("startFetching","publicAndExternal")},destroyed:function(){this.$store
.dispatch("stopFetching","publicAndExternal")}};t
.default=o
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(25),n
=a(s
),o
={components:{Timeline:n
.default},computed:{timeline:function(){return this.$store
.state
.statuses
.timelines
.public}},created:function(){this.$store
.dispatch("startFetching","public")},destroyed:function(){this.$store
.dispatch("stopFetching","public")}};t
.default=o
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(69),n
=a(s
),o
={data:function(){return{user:{},error:!1,registering:!1}},created:function(){(!this.$store
.state
.instance
.registrationOpen
&&!this.token
||this.$store
.state
.users
.currentUser
)&&this.$router
.push("/main/all"),this.$store
.state
.instance
.registrationOpen
&&this.token
&&this.$router
.push("/registration")},computed:{termsofservice:function(){return this.$store
.state
.instance
.tos
},token:function(){return this.$route
.params
.token
}},methods:{submit:function(){var e
=this;this.registering
=!0,this.user
.nickname
=this.user
.username
,this.user
.token
=this.token
,this.$store
.state
.api
.backendInteractor
.register(this.user
).then(function(t
){if(t
.ok
){var i
={oauth:e
.$store
.state
.oauth
,instance:e
.$store
.state
.instance
.server
};n
.default.getOrCreateApp(i
).then(function(t
){n
.default.getTokenWithCredentials({app:t
,instance:i
.instance
,username:e
.user
.username
,password:e
.user
.password
}).then(function(t
){e
.$store
.commit("setToken",t
.access_token
),e
.$store
.dispatch("loginUser",t
.access_token
),e
.$router
.push("/main/friends")})})}else e
.registering
=!1,t
.json().then(function(t
){e
.error
=t
.error
})})}}};t
.default=o
},function(e
,t
){"use strict";Object
.defineProperty(t
,"__esModule",{value:!0});var i
={props:["status","loggedIn","visibility"],data:function(){return{hidePostStatsLocal:"undefined"==typeof this.$store
.state
.config
.hidePostStats
?this.$store
.state
.instance
.hidePostStats:this.$store
.state
.config
.hidePostStats
,animated:!1}},methods:{retweet:function(){var e
=this;this.status
.repeated
?this.$store
.dispatch("unretweet",{id:this.status
.id
}):this.$store
.dispatch("retweet",{id:this.status
.id
}),this.animated
=!0,setTimeout(function(){e
.animated
=!1},500)}},computed:{classes:function(){return{retweeted:this.status
.repeated
,"retweeted-empty":!this.status
.repeated
,"animate-spin":this.animated
}}}};t
.default=i
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(236),n
=a(s
),o
=i(504),r
=a(o
),l
=i(46),c
=a(l
),u
=i(117),d
=a(u
),p
=i(177),f
=a(p
),_
=i(528),m
=a(_
),h
={data:function(){var e
=this.$store
.state
.config
,t
=this.$store
.state
.instance
;return{hideAttachmentsLocal:e
.hideAttachments
,hideAttachmentsInConvLocal:e
.hideAttachmentsInConv
,hideNsfwLocal:e
.hideNsfw
,hidePostStatsLocal:"undefined"==typeof e
.hidePostStats
?t
.hidePostStats:e
.hidePostStats
,hidePostStatsDefault:this.$t("settings.values."+t
.hidePostStats
),hideUserStatsLocal:"undefined"==typeof e
.hideUserStats
?t
.hideUserStats:e
.hideUserStats
,hideUserStatsDefault:this.$t("settings.values."+t
.hideUserStats
),notificationVisibilityLocal:e
.notificationVisibility
,replyVisibilityLocal:e
.replyVisibility
,loopVideoLocal:e
.loopVideo
,loopVideoSilentOnlyLocal:e
.loopVideoSilentOnly
,muteWordsString:e
.muteWords
.join("\n"),autoLoadLocal:e
.autoLoad
,streamingLocal:e
.streaming
,pauseOnUnfocusedLocal:e
.pauseOnUnfocused
,hoverPreviewLocal:e
.hoverPreview
,collapseMessageWithSubjectLocal:"undefined"==typeof e
.collapseMessageWithSubject
?t
.collapseMessageWithSubject:e
.collapseMessageWithSubject
,collapseMessageWithSubjectDefault:this.$t("settings.values."+t
.collapseMessageWithSubject
),subjectLineBehaviorLocal:"undefined"==typeof e
.subjectLineBehavior
?t
.subjectLineBehavior:e
.subjectLineBehavior
,subjectLineBehaviorDefault:t
.subjectLineBehavior
,scopeCopyLocal:e
.scopeCopy
,scopeCopyDefault:this.$t("settings.values."+t
.scopeCopy
),stopGifs:e
.stopGifs
,loopSilentAvailable:(0,n
.default)(HTMLVideoElement
.prototype,"mozHasAudio")||(0,n
.default)(HTMLMediaElement
.prototype,"webkitAudioDecodedByteCount")||(0,n
.default)(HTMLMediaElement
.prototype,"audioTracks")}},components:{TabSwitcher:d
.default,StyleSwitcher:f
.default,InterfaceLanguageSwitcher:m
.default},computed:{user:function(){return this.$store
.state
.users
.currentUser
},currentSaveStateNotice:function(){return this.$store
.state
.interface.settings
.currentSaveStateNotice
}},watch:{hideAttachmentsLocal:function(e
){this.$store
.dispatch("setOption",{name:"hideAttachments",value:e
})},hideAttachmentsInConvLocal:function(e
){this.$store
.dispatch("setOption",{name:"hideAttachmentsInConv",value:e
})},hidePostStatsLocal:function(e
){this.$store
.dispatch("setOption",{name:"hidePostStats",value:e
})},hideUserStatsLocal:function(e
){this.$store
.dispatch("setOption",{name:"hideUserStats",value:e
})},hideNsfwLocal:function(e
){this.$store
.dispatch("setOption",{name:"hideNsfw",value:e
})},"notificationVisibilityLocal.likes":function(e
){this.$store
.dispatch("setOption",{name:"notificationVisibility",value:this.$store
.state
.config
.notificationVisibility
})},"notificationVisibilityLocal.follows":function(e
){this.$store
.dispatch("setOption",{name:"notificationVisibility",value:this.$store
.state
.config
.notificationVisibility
})},"notificationVisibilityLocal.repeats":function(e
){this.$store
.dispatch("setOption",{name:"notificationVisibility",value:this.$store
.state
.config
.notificationVisibility
})},"notificationVisibilityLocal.mentions":function(e
){this.$store
.dispatch("setOption",{name:"notificationVisibility",value:this.$store
.state
.config
.notificationVisibility
})},replyVisibilityLocal:function(e
){this.$store
.dispatch("setOption",{name:"replyVisibility",value:e
})},loopVideoLocal:function(e
){this.$store
.dispatch("setOption",{name:"loopVideo",value:e
})},loopVideoSilentOnlyLocal:function(e
){this.$store
.dispatch("setOption",{name:"loopVideoSilentOnly",value:e
})},autoLoadLocal:function(e
){this.$store
.dispatch("setOption",{name:"autoLoad",value:e
})},streamingLocal:function(e
){this.$store
.dispatch("setOption",{name:"streaming",value:e
})},pauseOnUnfocusedLocal:function(e
){this.$store
.dispatch("setOption",{name:"pauseOnUnfocused",value:e
})},hoverPreviewLocal:function(e
){this.$store
.dispatch("setOption",{name:"hoverPreview",value:e
})},muteWordsString:function(e
){e
=(0,c
.default)(e
.split("\n"),function(e
){return(0,r
.default)(e
).length
>0}),this.$store
.dispatch("setOption",{name:"muteWords",value:e
})},collapseMessageWithSubjectLocal:function(e
){this.$store
.dispatch("setOption",{name:"collapseMessageWithSubject",value:e
})},scopeCopyLocal:function(e
){this.$store
.dispatch("setOption",{name:"scopeCopy",value:e
})},subjectLineBehaviorLocal:function(e
){this.$store
.dispatch("setOption",{name:"subjectLineBehavior",value:e
})},stopGifs:function(e
){this.$store
.dispatch("setOption",{name:"stopGifs",value:e
})}}};t
.default=h
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(65),n
=a(s
),o
=i(46),r
=a(o
),l
=i(518),c
=a(l
),u
=i(523),d
=a(u
),p
=i(539),f
=a(p
),_
=i(521),m
=a(_
),h
=i(176),v
=a(h
),g
=i(49),b
=a(g
),w
=i(68),y
=a(w
),k
=i(116),C
={name:"Status",props:["statusoid","expandable","inConversation","focused","highlight","compact","replies","noReplyLinks","noHeading","inlineExpanded"],data:function(){return{replying:!1,expanded:!1,unmuted:!1,userExpanded:!1,preview:null,showPreview:!1,showingTall:!1,expandingSubject:"undefined"==typeof this.$store
.state
.config
.collapseMessageWithSubject
?!this.$store
.state
.instance
.collapseMessageWithSubject:!this.$store
.state
.config
.collapseMessageWithSubject
}},computed:{localCollapseSubjectDefault:function(){return"undefined"==typeof this.$store
.state
.config
.collapseMessageWithSubject
?this.$store
.state
.instance
.collapseMessageWithSubject:this.$store
.state
.config
.collapseMessageWithSubject
},muteWords:function(){return this.$store
.state
.config
.muteWords
},repeaterClass:function(){var e
=this.statusoid
.user
;return(0,k
.highlightClass
)(e
)},userClass:function(){var e
=this.retweet
?this.statusoid
.retweeted_status
.user:this.statusoid
.user
;return(0,k
.highlightClass
)(e
)},repeaterStyle:function(){var e
=this.statusoid
.user
,t
=this.$store
.state
.config
.highlight
;return(0,k
.highlightStyle
)(t
[e
.screen_name
])},userStyle:function(){if(!this.noHeading
){var e
=this.retweet
?this.statusoid
.retweeted_status
.user:this.statusoid
.user
,t
=this.$store
.state
.config
.highlight
;return(0,k
.highlightStyle
)(t
[e
.screen_name
])}},hideAttachments:function(){return this.$store
.state
.config
.hideAttachments
&&!this.inConversation
||this.$store
.state
.config
.hideAttachmentsInConv
&&this.inConversation
},retweet:function(){return!!this.statusoid
.retweeted_status
},retweeter:function(){return this.statusoid
.user
.name
},retweeterHtml:function(){return this.statusoid
.user
.name_html
},status:function(){return this.retweet
?this.statusoid
.retweeted_status:this.statusoid
},loggedIn:function(){return!!this.$store
.state
.users
.currentUser
},muteWordHits:function(){var e
=this.status
.text
.toLowerCase(),t
=(0,r
.default)(this.muteWords
,function(t
){return e
.includes(t
.toLowerCase())});return t
},muted:function(){return!this.unmuted
&&(this.status
.user
.muted
||this.muteWordHits
.length
>0)},isFocused:function(){return!!this.focused
||!!this.inConversation
&&this.status
.id
===this.highlight
},tallStatus:function(){var e
=this.status
.statusnet_html
.split(/<p|<br/).length
+this.status
.text
.length
/80;return e
>20},isReply:function(){if(this.status
.in_reply_to_status_id
)return!0;if("private"===this.status
.visibility
){var e
=this.status
.text
;return null!==this.status
.summary
&&(e
=e
.substring(this.status
.summary
.length
,e
.length
)),e
.startsWith("@")}return!1},hideReply:function(){if("all"===this.$store
.state
.config
.replyVisibility
)return!1;if(this.inlineExpanded
||this.expanded
||this.inConversation
||!this.isReply
)return!1;if(this.status
.user
.id
===this.$store
.state
.users
.currentUser
.id
)return!1;if("repeat"===this.status
.activity_type
)return!1;for(var e
="following"===this.$store
.state
.config
.replyVisibility
,t
=0;t
<this.status
.attentions
.length
;++t
)if(this.status
.user
.id
!==this.status
.attentions
[t
].id
){if(e
&&this.status
.attentions
[t
].following
)return!1;if(this.status
.attentions
[t
].id
===this.$store
.state
.users
.currentUser
.id
)return!1}return this.status
.attentions
.length
>0},hideSubjectStatus:function(){return!(this.tallStatus
&&!this.localCollapseSubjectDefault
)&&(!this.expandingSubject
&&this.status
.summary
)},hideTallStatus:function(){return(!this.status
.summary
||!this.localCollapseSubjectDefault
)&&(!this.showingTall
&&this.tallStatus
)},showingMore:function(){return this.showingTall
||this.status
.summary
&&this.expandingSubject
},nsfwClickthrough:function(){return!!this.status
.nsfw
&&(!this.status
.summary
||!this.localCollapseSubjectDefault
)},replySubject:function(){if(!this.status
.summary
)return"";var e
=this.$store
.state
.config
.subjectLineBehavior
,t
=this.status
.summary
.match(/^re
[: ]/i
);return"noop"!==e
&&t
||"masto"===e
?this.status
.summary:"email"===e
?"re: ".concat(this.status
.summary
):"noop"===e
?"":void 0},attachmentSize:function(){return this.$store
.state
.config
.hideAttachments
&&!this.inConversation
||this.$store
.state
.config
.hideAttachmentsInConv
&&this.inConversation
?"hide":this.compact
?"small":"normal"}},components:{Attachment:c
.default,FavoriteButton:d
.default,RetweetButton:f
.default,DeleteButton:m
.default,PostStatusForm:v
.default,UserCardContent:b
.default,StillImage:y
.default},methods:{visibilityIcon:function(e
){switch(e
){case"private":return"icon-lock";case"unlisted":return"icon-lock-open-alt";case"direct":return"icon-mail-alt";default:return"icon-globe"}},linkClicked:function(e
){var t
=e
.target
;"SPAN"===t
.tagName
&&(t
=t
.parentNode
),"A"===t
.tagName
&&window
.open(t
.href
,"_blank")},toggleReplying:function(){this.replying
=!this.replying
},gotoOriginal:function(e
){this.inConversation
&&this.$emit("goto",e
)},toggleExpanded:function(){this.$emit("toggleExpanded")},toggleMute:function(){this.unmuted
=!this.unmuted
},toggleUserExpanded:function(){this.userExpanded
=!this.userExpanded
},toggleShowMore:function(){this.showingTall
?this.showingTall
=!1:this.expandingSubject
?this.expandingSubject
=!1:this.hideTallStatus
?this.showingTall
=!0:this.hideSubjectStatus
&&(this.expandingSubject
=!0)},replyEnter:function(e
,t
){var i
=this;this.showPreview
=!0;var a
=Number(e
),s
=this.$store
.state
.statuses
.allStatuses
;this.preview
?this.preview
.id
!==a
&&(this.preview
=(0,n
.default)(s
,{id:a
})):(this.preview
=(0,n
.default)(s
,{id:a
}),this.preview
||this.$store
.state
.api
.backendInteractor
.fetchStatus({id:e
}).then(function(e
){i
.preview
=e
}))},replyLeave:function(){this.showPreview
=!1}},watch:{highlight:function(e
){if(e
=Number(e
),this.status
.id
===e
){var t
=this.$el
.getBoundingClientRect();t
.top
<100?window
.scrollBy(0,t
.top
-200):t
.bottom
>window
.innerHeight
-50&&window
.scrollBy(0,t
.bottom
-window
.innerHeight
+50)}}},filters:{capitalize:function(e
){return e
.charAt(0).toUpperCase()+e
.slice(1)}}};t
.default=C
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(67),n
=a(s
),o
=i(175),r
=a(o
),l
={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:n
.default,Conversation:r
.default},methods:{toggleExpanded:function(){this.expanded
=!this.expanded
}}};t
.default=l
},function(e
,t
){"use strict";Object
.defineProperty(t
,"__esModule",{value:!0});var i
={props:["src","referrerpolicy","mimetype"],data:function(){return{stopGifs:this.$store
.state
.config
.stopGifs
}},computed:{animated:function(){return this.stopGifs
&&("image/gif"===this.mimetype
||this.src
.endsWith(".gif"))}},methods:{onLoad:function(){var e
=this.$refs
.canvas
;if(e
){var t
=this.$refs
.src
.naturalWidth
,i
=this.$refs
.src
.naturalHeight
;e
.width
=t
,e
.height
=i
,e
.getContext("2d").drawImage(this.$refs
.src
,0,0,t
,i
)}}}};t
.default=i
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(118),n
=a(s
),o
=i(50);t
.default={data:function(){return{availableStyles:[],selected:this.$store
.state
.config
.theme
,invalidThemeImported:!1,bgColorLocal:"",btnColorLocal:"",textColorLocal:"",linkColorLocal:"",redColorLocal:"",blueColorLocal:"",greenColorLocal:"",orangeColorLocal:"",btnRadiusLocal:"",inputRadiusLocal:"",panelRadiusLocal:"",avatarRadiusLocal:"",avatarAltRadiusLocal:"",attachmentRadiusLocal:"",tooltipRadiusLocal:""}},created:function(){var e
=this;window
.fetch("/static/styles.json").then(function(e
){return e
.json()}).then(function(t
){e
.availableStyles
=t
})},mounted:function(){this.normalizeLocalState(this.$store
.state
.config
.colors
,this.$store
.state
.config
.radii
)},methods:{exportCurrentTheme:function(){var e
=(0,n
.default)({_pleroma_theme_version:1,colors:this.$store
.state
.config
.colors
,radii:this.$store
.state
.config
.radii
},null,2),t
=document
.createElement("a");t
.setAttribute("download","pleroma_theme.json"),t
.setAttribute("href","data:application/json;base64,"+window
.btoa(e
)),t
.style
.display
="none",document
.body
.appendChild(t
),t
.click(),document
.body
.removeChild(t
)},importTheme:function(){var e
=this;this.invalidThemeImported
=!1;var t
=document
.createElement("input");t
.setAttribute("type","file"),t
.setAttribute("accept",".json"),t
.addEventListener("change",function(t
){if(t
.target
.files
[0]){var i
=new FileReader
;i
.onload=function(t
){var i
=t
.target
;try{var a
=JSON
.parse(i
.result
);1===a
._pleroma_theme_version
?e
.normalizeLocalState(a
.colors
,a
.radii
):e
.invalidThemeImported
=!0}catch(t
){e
.invalidThemeImported
=!0}},i
.readAsText(t
.target
.files
[0])}}),document
.body
.appendChild(t
),t
.click(),document
.body
.removeChild(t
)},setCustomTheme:function(){!this.bgColorLocal
&&!this.btnColorLocal
&&!this.linkColorLocal
;var e=function(e
){var t
=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e
);return t
?{r:parseInt(t
[1],16),g:parseInt(t
[2],16),b:parseInt(t
[3],16)}:null},t
=e(this.bgColorLocal
),i
=e(this.btnColorLocal
),a
=e(this.textColorLocal
),s
=e(this.linkColorLocal
),n
=e(this.redColorLocal
),o
=e(this.blueColorLocal
),r
=e(this.greenColorLocal
),l
=e(this.orangeColorLocal
);t
&&i
&&s
&&this.$store
.dispatch("setOption",{name:"customTheme",value:{fg:i
,bg:t
,text:a
,link:s
,cRed:n
,cBlue:o
,cGreen:r
,cOrange:l
,btnRadius:this.btnRadiusLocal
,inputRadius:this.inputRadiusLocal
,panelRadius:this.panelRadiusLocal
,avatarRadius:this.avatarRadiusLocal
,avatarAltRadius:this.avatarAltRadiusLocal
,tooltipRadius:this.tooltipRadiusLocal
,attachmentRadius:this.attachmentRadiusLocal
}})},normalizeLocalState:function(e
,t
){this.bgColorLocal
=(0,o
.rgbstr2hex
)(e
.bg
),this.btnColorLocal
=(0,o
.rgbstr2hex
)(e
.btn
),this.textColorLocal
=(0,o
.rgbstr2hex
)(e
.fg
),this.linkColorLocal
=(0,o
.rgbstr2hex
)(e
.link
),this.redColorLocal
=(0,o
.rgbstr2hex
)(e
.cRed
),this.blueColorLocal
=(0,o
.rgbstr2hex
)(e
.cBlue
),this.greenColorLocal
=(0,o
.rgbstr2hex
)(e
.cGreen
),this.orangeColorLocal
=(0,o
.rgbstr2hex
)(e
.cOrange
),this.btnRadiusLocal
=t
.btnRadius
||4,this.inputRadiusLocal
=t
.inputRadius
||4,this.panelRadiusLocal
=t
.panelRadius
||10,this.avatarRadiusLocal
=t
.avatarRadius
||5,this.avatarAltRadiusLocal
=t
.avatarAltRadius
||50,this.tooltipRadiusLocal
=t
.tooltipRadius
||2,this.attachmentRadiusLocal
=t
.attachmentRadius
||5}},watch:{selected:function(){this.bgColorLocal
=this.selected
[1],this.btnColorLocal
=this.selected
[2],this.textColorLocal
=this.selected
[3],this.linkColorLocal
=this.selected
[4],this.redColorLocal
=this.selected
[5],this.greenColorLocal
=this.selected
[6],this.blueColorLocal
=this.selected
[7],this.orangeColorLocal
=this.selected
[8]}}}},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(25),n
=a(s
),o
={created:function(){this.$store
.commit("clearTimeline",{timeline:"tag"}),this.$store
.dispatch("startFetching",{tag:this.tag
})},components:{Timeline:n
.default},computed:{tag:function(){return this.$route
.params
.tag
},timeline:function(){return this.$store
.state
.statuses
.timelines
.tag
}},watch:{tag:function(){this.$store
.commit("clearTimeline",{timeline:"tag"}),this.$store
.dispatch("startFetching",{tag:this.tag
})}},destroyed:function(){this.$store
.dispatch("stopFetching","tag")}};t
.default=o
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(67),n
=a(s
),o
=i(115),r
=a(o
),l
=i(541),c
=a(l
),u
=i(107),d
=a(u
),p
={props:["timeline","timelineName","title","userId","tag"],data:function(){return{paused:!1,unfocused:!1}},computed:{timelineError:function(){return this.$store
.state
.statuses
.error
},followers:function(){return this.timeline
.followers
},friends:function(){return this.timeline
.friends
},viewing:function(){return this.timeline
.viewing
},newStatusCount:function(){return this.timeline
.newStatusCount
},newStatusCountStr:function(){return 0!==this.timeline
.flushMarker
?"":" ("+this.newStatusCount
+")"}},components:{Status:n
.default,StatusOrConversation:c
.default,UserCard:d
.default},created:function(){var e
=this.$store
,t
=e
.state
.users
.currentUser
.credentials
,i
=0===this.timeline
.visibleStatuses
.length
;window
.addEventListener("scroll",this.scrollLoad
),r
.default.fetchAndUpdate({store:e
,credentials:t
,timeline:this.timelineName
,showImmediately:i
,userId:this.userId
,tag:this.tag
}),"user"===this.timelineName
&&(this.fetchFriends(),this.fetchFollowers())},mounted:function(){"undefined"!=typeof document
.hidden
&&(document
.addEventListener("visibilitychange",this.handleVisibilityChange
,!1),this.unfocused
=document
.hidden
)},destroyed:function(){window
.removeEventListener("scroll",this.scrollLoad
),"undefined"!=typeof document
.hidden
&&document
.removeEventListener("visibilitychange",this.handleVisibilityChange
,!1),this.$store
.commit("setLoading",{timeline:this.timelineName
,value:!1})},methods:{showNewStatuses:function(){0!==this.timeline
.flushMarker
?(this.$store
.commit("clearTimeline",{timeline:this.timelineName
}),this.$store
.commit("queueFlush",{timeline:this.timelineName
,id:0}),this.fetchOlderStatuses()):(this.$store
.commit("showNewStatuses",{timeline:this.timelineName
}),this.paused
=!1)},fetchOlderStatuses:function(){var e
=this,t
=this.$store
,i
=t
.state
.users
.currentUser
.credentials
;t
.commit("setLoading",{timeline:this.timelineName
,value:!0}),r
.default.fetchAndUpdate({store:t
,credentials:i
,timeline:this.timelineName
,older:!0,showImmediately:!0,userId:this.userId
,tag:this.tag
}).then(function(){return t
.commit("setLoading",{timeline:e
.timelineName
,value:!1})})},fetchFollowers:function(){var e
=this,t
=this.userId
;this.$store
.state
.api
.backendInteractor
.fetchFollowers({id:t
}).then(function(t
){return e
.$store
.dispatch("addFollowers",{followers:t
})})},fetchFriends:function(){var e
=this,t
=this.userId
;this.$store
.state
.api
.backendInteractor
.fetchFriends({id:t
}).then(function(t
){return e
.$store
.dispatch("addFriends",{friends:t
})})},scrollLoad:function(e
){var t
=document
.body
.getBoundingClientRect(),i
=Math
.max(t
.height
,-t
.y
);this.timeline
.loading
===!1&&this.$store
.state
.config
.autoLoad
&&this.$el
.offsetHeight
>0&&window
.innerHeight
+window
.pageYOffset
>=i
-750&&this.fetchOlderStatuses()},handleVisibilityChange:function(){this.unfocused
=document
.hidden
}},watch:{newStatusCount:function(e
){this.$store
.state
.config
.streaming
&&e
>0&&(!(window
.pageYOffset
<15)||this.paused
||this.unfocused
&&this.$store
.state
.config
.pauseOnUnfocused
?this.paused
=!0:this.showNewStatuses())}}};t
.default=p
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(49),n
=a(s
),o
={props:["user","showFollows","showApproval"],data:function(){return{userExpanded:!1}},components:{UserCardContent:n
.default},methods:{toggleUserExpanded:function(){this.userExpanded
=!this.userExpanded
},approveUser:function(){this.$store
.state
.api
.backendInteractor
.approveUser(this.user
.id
),this.$store
.dispatch("removeFollowRequest",this.user
)},denyUser:function(){this.$store
.state
.api
.backendInteractor
.denyUser(this.user
.id
),this.$store
.dispatch("removeFollowRequest",this.user
)}}};t
.default=o
},function(e
,t
,i
){"use strict";function a(e
){return e
&&e
.__esModule
?e:{default:e
}}Object
.defineProperty(t
,"__esModule",{value:!0});var s
=i(68),n
=a(s
),o
=i(50);t
.default={props:["user","switcher","selected","hideBio"],data:function(){return{hideUserStatsLocal:"undefined"==typeof this.$store
.state
.config
.hideUserStats
?this.$store
.state
.instance
.hideUserStats:this.$store
.state
.config
.hideUserStats
}},computed:{headingStyle:function(){var e
=this.$store
.state
.config
.colors
.bg
;if(e
){var t
=(0,o
.hex2rgb
)(e
),i
="rgba("+Math
.floor(t
.r
)+", "+Math
.floor(t
.g
)+", "+Math
.floor(t
.b
)+", .5)";return{backgroundColor:"rgb("+Math
.floor(.53*t
.r
)+", "+Math
.floor(.56*t
.g
)+", "+Math
.floor(.59*t
.b
)+")",backgroundImage:["linear-gradient(to bottom, "+i
+", "+i
+")","url("+this.user
.cover_photo
+")"].join(", ")}}},isOtherUser:function(){return this.user
.id
!==this.$store
.state
.users
.currentUser
.id
},subscribeUrl:function(){var e
=new URL(this.user
.statusnet_profile_url
);return e
.protocol
+"//"+e
.host
+"/main/ostatus"},loggedIn:function(){return this.$store
.state
.users
.currentUser
},dailyAvg:function(){var e
=Math
.ceil((new Date
-new Date(this.user
.created_at
))/864e5
);return Math
.round(this.user
.statuses_count
/e
)},userHighlightType:{get:function(){var e
=this.$store
.state
.config
.highlight
[this.user
.screen_name
];return e
&&e
.type
||"disabled"},
8 render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("Timeline",{attrs:{title:e
.$t("nav.public_tl"),timeline:e
.timeline
,"timeline-name":"public"}})},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return"hide"===e
.size
?i("div",["html"!==e
.type
?i("a",{staticClass:"placeholder",attrs:{target:"_blank",href:e
.attachment
.url
}},[e
._v("["+e
._s(e
.nsfw
?"NSFW/":"")+e
._s(e
.type
.toUpperCase())+"]")]):e
._e()]):i("div",{directives:[{name:"show",rawName:"v-show",value:!e
.isEmpty
,expression:"!isEmpty"}],staticClass:"attachment",class:(a
={loading:e
.loading
,"small-attachment":e
.isSmall
,fullwidth:e
.fullwidth
,"nsfw-placeholder":e
.hidden
},a
[e
.type
]=!0,a
)},[e
.hidden
?i("a",{staticClass:"image-attachment",on:{click:function(t
){t
.preventDefault(),e
.toggleHidden()}}},[i("img",{key:e
.nsfwImage
,attrs:{src:e
.nsfwImage
}})]):e
._e(),e
._v(" "),e
.nsfw
&&e
.hideNsfwLocal
&&!e
.hidden
?i("div",{staticClass:"hider"},[i("a",{attrs:{href:"#"},on:{click:function(t
){t
.preventDefault(),e
.toggleHidden()}}},[e
._v("Hide")])]):e
._e(),e
._v(" "),"image"!==e
.type
||e
.hidden
?e
._e():i("a",{staticClass:"image-attachment",attrs:{href:e
.attachment
.url
,target:"_blank",title:e
.attachment
.description
}},[i("StillImage",{class:{small:e
.isSmall
},attrs:{referrerpolicy:"no-referrer",mimetype:e
.attachment
.mimetype
,src:e
.attachment
.large_thumb_url
||e
.attachment
.url
}})],1),e
._v(" "),"video"!==e
.type
||e
.hidden
?e
._e():i("video",{class:{small:e
.isSmall
},attrs:{src:e
.attachment
.url
,controls:"",loop:e
.loopVideo
},on:{loadeddata:e
.onVideoDataLoad
}}),e
._v(" "),"audio"===e
.type
?i("audio",{attrs:{src:e
.attachment
.url
,controls:""}}):e
._e(),e
._v(" "),"html"===e
.type
&&e
.attachment
.oembed
?i("div",{staticClass:"oembed",on:{click:function(t
){return t
.preventDefault(),e
.linkClicked(t
)}}},[e
.attachment
.thumb_url
?i("div",{staticClass:"image"},[i("img",{attrs:{src:e
.attachment
.thumb_url
}})]):e
._e(),e
._v(" "),i("div",{staticClass:"text"},[i("h1",[i("a",{attrs:{href:e
.attachment
.url
}},[e
._v(e
._s(e
.attachment
.oembed
.title
))])]),e
._v(" "),i("div",{domProps:{innerHTML:e
._s(e
.attachment
.oembed
.oembedHTML
)}})])]):e
._e()]);var a
},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("Timeline",{attrs:{title:e
.$t("nav.twkn"),timeline:e
.timeline
,"timeline-name":"publicAndExternal"}})},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",{staticClass:"notifications"},[i("div",{staticClass:"panel panel-default"},[i("div",{staticClass:"panel-heading"},[i("div",{staticClass:"title"},[e
._v("\n "+e
._s(e
.$t("notifications.notifications"))+"\n "),e
.unseenCount
?i("span",{staticClass:"unseen-count"},[e
._v(e
._s(e
.unseenCount
))]):e
._e()]),e
._v(" "),e
.error
?i("div",{staticClass:"loadmore-error alert error",on:{click:function(e
){e
.preventDefault()}}},[e
._v("\n "+e
._s(e
.$t("timeline.error_fetching"))+"\n ")]):e
._e(),e
._v(" "),e
.unseenCount
?i("button",{staticClass:"read-button",on:{click:function(t
){return t
.preventDefault(),e
.markAsSeen(t
)}}},[e
._v(e
._s(e
.$t("notifications.read")))]):e
._e()]),e
._v(" "),i("div",{staticClass:"panel-body"},e
._l(e
.visibleNotifications
,function(e
){return i("div",{key:e
.action
.id
,staticClass:"notification",class:{unseen:!e
.seen
}},[i("notification",{attrs:{notification:e
}})],1)})),e
._v(" "),i("div",{staticClass:"panel-footer"},[e
.notifications
.loading
?i("div",{staticClass:"new-status-notification text-center panel-footer"},[e
._v("...")]):i("a",{attrs:{href:"#"},on:{click:function(t
){t
.preventDefault(),e
.fetchOlderNotifications()}}},[i("div",{staticClass:"new-status-notification text-center panel-footer"},[e
._v(e
._s(e
.$t("notifications.load_older")))])])])])])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return"mention"===e
.notification
.type
?i("status",{attrs:{compact:!0,statusoid:e
.notification
.status
}}):i("div",{staticClass:"non-mention",class:[e
.userClass
,{highlighted:e
.userStyle
}],style:[e
.userStyle
]},[i("a",{staticClass:"avatar-container",attrs:{href:e
.notification
.action
.user
.statusnet_profile_url
},on:{"!click":function(t
){return t
.stopPropagation(),t
.preventDefault(),e
.toggleUserExpanded(t
)}}},[i("StillImage",{staticClass:"avatar-compact",attrs:{src:e
.notification
.action
.user
.profile_image_url_original
}})],1),e
._v(" "),i("div",{staticClass:"notification-right"},[e
.userExpanded
?i("div",{staticClass:"usercard notification-usercard"},[i("user-card-content",{attrs:{user:e
.notification
.action
.user
,switcher:!1}})],1):e
._e(),e
._v(" "),i("span",{staticClass:"notification-details"},[i("div",{staticClass:"name-and-action"},[e
.notification
.action
.user
.name_html
?i("span",{staticClass:"username",attrs:{title:"@"+e
.notification
.action
.user
.screen_name
},domProps:{innerHTML:e
._s(e
.notification
.action
.user
.name_html
)}}):i("span",{staticClass:"username",attrs:{title:"@"+e
.notification
.action
.user
.screen_name
}},[e
._v(e
._s(e
.notification
.action
.user
.name
))]),e
._v(" "),"like"===e
.notification
.type
?i("span",[i("i",{staticClass:"fa icon-star lit"}),e
._v(" "),i("small",[e
._v(e
._s(e
.$t("notifications.favorited_you")))])]):e
._e(),e
._v(" "),"repeat"===e
.notification
.type
?i("span",[i("i",{staticClass:"fa icon-retweet lit"}),e
._v(" "),i("small",[e
._v(e
._s(e
.$t("notifications.repeated_you")))])]):e
._e(),e
._v(" "),"follow"===e
.notification
.type
?i("span",[i("i",{staticClass:"fa icon-user-plus lit"}),e
._v(" "),i("small",[e
._v(e
._s(e
.$t("notifications.followed_you")))])]):e
._e()]),e
._v(" "),i("small",{staticClass:"timeago"},[e
.notification
.status
?i("router-link",{attrs:{to:{name:"conversation",params:{id:e
.notification
.status
.id
}}}},[i("timeago",{attrs:{since:e
.notification
.action
.created_at
,"auto-update":240}})],1):e
._e()],1)]),e
._v(" "),"follow"===e
.notification
.type
?i("div",{staticClass:"follow-text"},[i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.notification
.action
.user
.id
}}}},[e
._v("@"+e
._s(e
.notification
.action
.user
.screen_name
))])],1):[e
.notification
.status
?i("status",{staticClass:"faint",attrs:{compact:!0,statusoid:e
.notification
.status
,noHeading:!0}}):i("div",{staticClass:"broken-favorite"},[e
._v("\n "+e
._s(e
.$t("notifications.broken_favorite"))+"\n ")])]],2)])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",[e
.expanded
?i("conversation",{attrs:{collapsable:!0,statusoid:e
.statusoid
},on:{toggleExpanded:e
.toggleExpanded
}}):e
._e(),e
._v(" "),e
.expanded
?e
._e():i("status",{attrs:{expandable:!0,inConversation:!1,focused:!1,statusoid:e
.statusoid
},on:{toggleExpanded:e
.toggleExpanded
}})],1)},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("Timeline",{attrs:{title:e
.$t("nav.mentions"),timeline:e
.timeline
,"timeline-name":"mentions"}})},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",{staticClass:"settings panel panel-default"},[i("div",{staticClass:"panel-heading"},[i("div",{staticClass:"title"},[e
._v("\n "+e
._s(e
.$t("settings.settings"))+"\n ")]),e
._v(" "),i("transition",{attrs:{name:"fade"}},[e
.currentSaveStateNotice
?[e
.currentSaveStateNotice
.error
?i("div",{staticClass:"alert error",on:{click:function(e
){e
.preventDefault()}}},[e
._v("\n "+e
._s(e
.$t("settings.saving_err"))+"\n ")]):e
._e(),e
._v(" "),e
.currentSaveStateNotice
.error
?e
._e():i("div",{staticClass:"alert transparent",on:{click:function(e
){e
.preventDefault()}}},[e
._v("\n "+e
._s(e
.$t("settings.saving_ok"))+"\n ")])]:e
._e()],2)],1),e
._v(" "),i("div",{staticClass:"panel-body"},[i("tab-switcher",[i("div",{attrs:{label:e
.$t("settings.general")}},[i("div",{staticClass:"setting-item"},[i("h2",[e
._v(e
._s(e
.$t("settings.interfaceLanguage")))]),e
._v(" "),i("interface-language-switcher")],1),e
._v(" "),i("div",{staticClass:"setting-item"},[i("h2",[e
._v(e
._s(e
.$t("nav.timeline")))]),e
._v(" "),i("ul",{staticClass:"setting-list"},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.collapseMessageWithSubjectLocal
,expression:"collapseMessageWithSubjectLocal"}],attrs:{type:"checkbox",id:"collapseMessageWithSubject"},domProps:{checked:Array
.isArray(e
.collapseMessageWithSubjectLocal
)?e
._i(e
.collapseMessageWithSubjectLocal
,null)>-1:e
.collapseMessageWithSubjectLocal
},on:{change:function(t
){var i
=e
.collapseMessageWithSubjectLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.collapseMessageWithSubjectLocal
=i
.concat([n
])):o
>-1&&(e
.collapseMessageWithSubjectLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.collapseMessageWithSubjectLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"collapseMessageWithSubject"}},[e
._v("\n "+e
._s(e
.$t("settings.collapse_subject"))+" "+e
._s(e
.$t("settings.instance_default",{value:e
.collapseMessageWithSubjectDefault
}))+"\n ")])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.streamingLocal
,expression:"streamingLocal"}],attrs:{type:"checkbox",id:"streaming"},domProps:{checked:Array
.isArray(e
.streamingLocal
)?e
._i(e
.streamingLocal
,null)>-1:e
.streamingLocal
},on:{change:function(t
){var i
=e
.streamingLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.streamingLocal
=i
.concat([n
])):o
>-1&&(e
.streamingLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.streamingLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"streaming"}},[e
._v(e
._s(e
.$t("settings.streaming")))]),e
._v(" "),i("ul",{staticClass:"setting-list suboptions",class:[{disabled:!e
.streamingLocal
}]},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.pauseOnUnfocusedLocal
,expression:"pauseOnUnfocusedLocal"}],attrs:{disabled:!e
.streamingLocal
,type:"checkbox",id:"pauseOnUnfocused"},domProps:{checked:Array
.isArray(e
.pauseOnUnfocusedLocal
)?e
._i(e
.pauseOnUnfocusedLocal
,null)>-1:e
.pauseOnUnfocusedLocal
},on:{change:function(t
){var i
=e
.pauseOnUnfocusedLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.pauseOnUnfocusedLocal
=i
.concat([n
])):o
>-1&&(e
.pauseOnUnfocusedLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.pauseOnUnfocusedLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"pauseOnUnfocused"}},[e
._v(e
._s(e
.$t("settings.pause_on_unfocused")))])])])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.autoLoadLocal
,expression:"autoLoadLocal"}],attrs:{type:"checkbox",id:"autoload"},domProps:{checked:Array
.isArray(e
.autoLoadLocal
)?e
._i(e
.autoLoadLocal
,null)>-1:e
.autoLoadLocal
},on:{change:function(t
){var i
=e
.autoLoadLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.autoLoadLocal
=i
.concat([n
])):o
>-1&&(e
.autoLoadLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.autoLoadLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"autoload"}},[e
._v(e
._s(e
.$t("settings.autoload")))])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hoverPreviewLocal
,expression:"hoverPreviewLocal"}],attrs:{type:"checkbox",id:"hoverPreview"},domProps:{checked:Array
.isArray(e
.hoverPreviewLocal
)?e
._i(e
.hoverPreviewLocal
,null)>-1:e
.hoverPreviewLocal
},on:{change:function(t
){var i
=e
.hoverPreviewLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hoverPreviewLocal
=i
.concat([n
])):o
>-1&&(e
.hoverPreviewLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hoverPreviewLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hoverPreview"}},[e
._v(e
._s(e
.$t("settings.reply_link_preview")))])])])]),e
._v(" "),i("div",{staticClass:"setting-item"},[i("h2",[e
._v(e
._s(e
.$t("settings.composing")))]),e
._v(" "),i("ul",{staticClass:"setting-list"},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.scopeCopyLocal
,expression:"scopeCopyLocal"}],attrs:{type:"checkbox",id:"scopeCopy"},domProps:{checked:Array
.isArray(e
.scopeCopyLocal
)?e
._i(e
.scopeCopyLocal
,null)>-1:e
.scopeCopyLocal
},on:{change:function(t
){var i
=e
.scopeCopyLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.scopeCopyLocal
=i
.concat([n
])):o
>-1&&(e
.scopeCopyLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.scopeCopyLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"scopeCopy"}},[e
._v("\n "+e
._s(e
.$t("settings.scope_copy"))+" "+e
._s(e
.$t("settings.instance_default",{value:e
.scopeCopyDefault
}))+"\n ")])]),e
._v(" "),i("li",[i("div",[e
._v("\n "+e
._s(e
.$t("settings.subject_line_behavior"))+"\n "),i("label",{staticClass:"select",attrs:{for:"subjectLineBehavior"}},[i("select",{directives:[{name:"model",rawName:"v-model",value:e
.subjectLineBehaviorLocal
,expression:"subjectLineBehaviorLocal"}],attrs:{id:"subjectLineBehavior"},on:{change:function(t
){var i
=Array
.prototype.filter
.call(t
.target
.options
,function(e
){return e
.selected
}).map(function(e
){var t
="_value"in e
?e
._value:e
.value
;return t
});e
.subjectLineBehaviorLocal
=t
.target
.multiple
?i:i
[0]}}},[i("option",{attrs:{value:"email"}},[e
._v("\n "+e
._s(e
.$t("settings.subject_line_email"))+"\n "+e
._s("email"==e
.subjectLineBehaviorDefault
?e
.$t("settings.instance_default_simple"):"")+"\n ")]),e
._v(" "),i("option",{attrs:{value:"masto"}},[e
._v("\n "+e
._s(e
.$t("settings.subject_line_mastodon"))+"\n "+e
._s("mastodon"==e
.subjectLineBehaviorDefault
?e
.$t("settings.instance_default_simple"):"")+"\n ")]),e
._v(" "),i("option",{attrs:{value:"noop"}},[e
._v("\n "+e
._s(e
.$t("settings.subject_line_noop"))+"\n "+e
._s("noop"==e
.subjectLineBehaviorDefault
?e
.$t("settings.instance_default_simple"):"")+"\n ")])]),e
._v(" "),i("i",{staticClass:"icon-down-open"})])])])])]),e
._v(" "),i("div",{staticClass:"setting-item"},[i("h2",[e
._v(e
._s(e
.$t("settings.attachments")))]),e
._v(" "),i("ul",{staticClass:"setting-list"},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hideAttachmentsLocal
,expression:"hideAttachmentsLocal"}],attrs:{type:"checkbox",id:"hideAttachments"},domProps:{checked:Array
.isArray(e
.hideAttachmentsLocal
)?e
._i(e
.hideAttachmentsLocal
,null)>-1:e
.hideAttachmentsLocal
},on:{change:function(t
){var i
=e
.hideAttachmentsLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hideAttachmentsLocal
=i
.concat([n
])):o
>-1&&(e
.hideAttachmentsLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hideAttachmentsLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hideAttachments"}},[e
._v(e
._s(e
.$t("settings.hide_attachments_in_tl")))])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hideAttachmentsInConvLocal
,expression:"hideAttachmentsInConvLocal"}],attrs:{type:"checkbox",id:"hideAttachmentsInConv"},domProps:{checked:Array
.isArray(e
.hideAttachmentsInConvLocal
)?e
._i(e
.hideAttachmentsInConvLocal
,null)>-1:e
.hideAttachmentsInConvLocal
},on:{change:function(t
){var i
=e
.hideAttachmentsInConvLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hideAttachmentsInConvLocal
=i
.concat([n
])):o
>-1&&(e
.hideAttachmentsInConvLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hideAttachmentsInConvLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hideAttachmentsInConv"}},[e
._v(e
._s(e
.$t("settings.hide_attachments_in_convo")))])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hideNsfwLocal
,expression:"hideNsfwLocal"}],attrs:{type:"checkbox",id:"hideNsfw"},domProps:{checked:Array
.isArray(e
.hideNsfwLocal
)?e
._i(e
.hideNsfwLocal
,null)>-1:e
.hideNsfwLocal
},on:{change:function(t
){var i
=e
.hideNsfwLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hideNsfwLocal
=i
.concat([n
])):o
>-1&&(e
.hideNsfwLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hideNsfwLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hideNsfw"}},[e
._v(e
._s(e
.$t("settings.nsfw_clickthrough")))])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.stopGifs
,expression:"stopGifs"}],attrs:{type:"checkbox",id:"stopGifs"},domProps:{checked:Array
.isArray(e
.stopGifs
)?e
._i(e
.stopGifs
,null)>-1:e
.stopGifs
},on:{change:function(t
){var i
=e
.stopGifs
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.stopGifs
=i
.concat([n
])):o
>-1&&(e
.stopGifs
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.stopGifs
=s
}}}),e
._v(" "),i("label",{attrs:{for:"stopGifs"}},[e
._v(e
._s(e
.$t("settings.stop_gifs")))])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.loopVideoLocal
,expression:"loopVideoLocal"}],attrs:{type:"checkbox",id:"loopVideo"},domProps:{checked:Array
.isArray(e
.loopVideoLocal
)?e
._i(e
.loopVideoLocal
,null)>-1:e
.loopVideoLocal
},on:{change:function(t
){var i
=e
.loopVideoLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.loopVideoLocal
=i
.concat([n
])):o
>-1&&(e
.loopVideoLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.loopVideoLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"loopVideo"}},[e
._v(e
._s(e
.$t("settings.loop_video")))]),e
._v(" "),i("ul",{staticClass:"setting-list suboptions",class:[{disabled:!e
.streamingLocal
}]},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.loopVideoSilentOnlyLocal
,expression:"loopVideoSilentOnlyLocal"}],attrs:{disabled:!e
.loopVideoLocal
||!e
.loopSilentAvailable
,type:"checkbox",id:"loopVideoSilentOnly"},domProps:{checked:Array
.isArray(e
.loopVideoSilentOnlyLocal
)?e
._i(e
.loopVideoSilentOnlyLocal
,null)>-1:e
.loopVideoSilentOnlyLocal
},on:{change:function(t
){var i
=e
.loopVideoSilentOnlyLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.loopVideoSilentOnlyLocal
=i
.concat([n
])):o
>-1&&(e
.loopVideoSilentOnlyLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.loopVideoSilentOnlyLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"loopVideoSilentOnly"}},[e
._v(e
._s(e
.$t("settings.loop_video_silent_only")))]),e
._v(" "),e
.loopSilentAvailable
?e
._e():i("div",{staticClass:"unavailable"},[i("i",{staticClass:"icon-globe"}),e
._v("! "+e
._s(e
.$t("settings.limited_availability"))+"\n ")])])])])])])]),e
._v(" "),i("div",{attrs:{label:e
.$t("settings.theme")}},[i("div",{staticClass:"setting-item"},[i("style-switcher")],1)]),e
._v(" "),i("div",{attrs:{label:e
.$t("settings.filtering")}},[i("div",{staticClass:"setting-item"},[i("div",{staticClass:"select-multiple"},[i("span",{staticClass:"label"},[e
._v(e
._s(e
.$t("settings.notification_visibility")))]),e
._v(" "),i("ul",{staticClass:"option-list"},[i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.notificationVisibilityLocal
.likes
,expression:"notificationVisibilityLocal.likes"}],attrs:{type:"checkbox",id:"notification-visibility-likes"},domProps:{checked:Array
.isArray(e
.notificationVisibilityLocal
.likes
)?e
._i(e
.notificationVisibilityLocal
.likes
,null)>-1:e
.notificationVisibilityLocal
.likes
},on:{change:function(t
){var i
=e
.notificationVisibilityLocal
.likes
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&e
.$set(e
.notificationVisibilityLocal
,"likes",i
.concat([n
])):o
>-1&&e
.$set(e
.notificationVisibilityLocal
,"likes",i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.$set(e
.notificationVisibilityLocal
,"likes",s
)}}}),e
._v(" "),i("label",{attrs:{for:"notification-visibility-likes"}},[e
._v("\n "+e
._s(e
.$t("settings.notification_visibility_likes"))+"\n ")])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.notificationVisibilityLocal
.repeats
,expression:"notificationVisibilityLocal.repeats"}],attrs:{type:"checkbox",id:"notification-visibility-repeats"},domProps:{checked:Array
.isArray(e
.notificationVisibilityLocal
.repeats
)?e
._i(e
.notificationVisibilityLocal
.repeats
,null)>-1:e
.notificationVisibilityLocal
.repeats
},on:{change:function(t
){var i
=e
.notificationVisibilityLocal
.repeats
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&e
.$set(e
.notificationVisibilityLocal
,"repeats",i
.concat([n
])):o
>-1&&e
.$set(e
.notificationVisibilityLocal
,"repeats",i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.$set(e
.notificationVisibilityLocal
,"repeats",s
)}}}),e
._v(" "),i("label",{attrs:{for:"notification-visibility-repeats"}},[e
._v("\n "+e
._s(e
.$t("settings.notification_visibility_repeats"))+"\n ")])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.notificationVisibilityLocal
.follows
,expression:"notificationVisibilityLocal.follows"}],attrs:{type:"checkbox",id:"notification-visibility-follows"},domProps:{checked:Array
.isArray(e
.notificationVisibilityLocal
.follows
)?e
._i(e
.notificationVisibilityLocal
.follows
,null)>-1:e
.notificationVisibilityLocal
.follows
},on:{change:function(t
){var i
=e
.notificationVisibilityLocal
.follows
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&e
.$set(e
.notificationVisibilityLocal
,"follows",i
.concat([n
])):o
>-1&&e
.$set(e
.notificationVisibilityLocal
,"follows",i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.$set(e
.notificationVisibilityLocal
,"follows",s
)}}}),e
._v(" "),i("label",{attrs:{for:"notification-visibility-follows"}},[e
._v("\n "+e
._s(e
.$t("settings.notification_visibility_follows"))+"\n ")])]),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.notificationVisibilityLocal
.mentions
,expression:"notificationVisibilityLocal.mentions"}],attrs:{type:"checkbox",id:"notification-visibility-mentions"},domProps:{checked:Array
.isArray(e
.notificationVisibilityLocal
.mentions
)?e
._i(e
.notificationVisibilityLocal
.mentions
,null)>-1:e
.notificationVisibilityLocal
.mentions
},on:{change:function(t
){var i
=e
.notificationVisibilityLocal
.mentions
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&e
.$set(e
.notificationVisibilityLocal
,"mentions",i
.concat([n
])):o
>-1&&e
.$set(e
.notificationVisibilityLocal
,"mentions",i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.$set(e
.notificationVisibilityLocal
,"mentions",s
)}}}),e
._v(" "),i("label",{attrs:{for:"notification-visibility-mentions"}},[e
._v("\n "+e
._s(e
.$t("settings.notification_visibility_mentions"))+"\n ")])])])]),e
._v(" "),i("div",[e
._v("\n "+e
._s(e
.$t("settings.replies_in_timeline"))+"\n "),i("label",{staticClass:"select",attrs:{for:"replyVisibility"}},[i("select",{directives:[{name:"model",rawName:"v-model",value:e
.replyVisibilityLocal
,expression:"replyVisibilityLocal"}],attrs:{id:"replyVisibility"},on:{change:function(t
){var i
=Array
.prototype.filter
.call(t
.target
.options
,function(e
){return e
.selected
}).map(function(e
){var t
="_value"in e
?e
._value:e
.value
;return t
});e
.replyVisibilityLocal
=t
.target
.multiple
?i:i
[0]}}},[i("option",{attrs:{value:"all",selected:""}},[e
._v(e
._s(e
.$t("settings.reply_visibility_all")))]),e
._v(" "),i("option",{attrs:{value:"following"}},[e
._v(e
._s(e
.$t("settings.reply_visibility_following")))]),e
._v(" "),i("option",{attrs:{value:"self"}},[e
._v(e
._s(e
.$t("settings.reply_visibility_self")))])]),e
._v(" "),i("i",{staticClass:"icon-down-open"})])]),e
._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hidePostStatsLocal
,expression:"hidePostStatsLocal"}],attrs:{type:"checkbox",id:"hidePostStats"},domProps:{checked:Array
.isArray(e
.hidePostStatsLocal
)?e
._i(e
.hidePostStatsLocal
,null)>-1:e
.hidePostStatsLocal
},on:{change:function(t
){var i
=e
.hidePostStatsLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hidePostStatsLocal
=i
.concat([n
])):o
>-1&&(e
.hidePostStatsLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hidePostStatsLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hidePostStats"}},[e
._v("\n "+e
._s(e
.$t("settings.hide_post_stats"))+" "+e
._s(e
.$t("settings.instance_default",{value:e
.hidePostStatsDefault
}))+"\n ")])]),e
._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hideUserStatsLocal
,expression:"hideUserStatsLocal"}],attrs:{type:"checkbox",id:"hideUserStats"},domProps:{checked:Array
.isArray(e
.hideUserStatsLocal
)?e
._i(e
.hideUserStatsLocal
,null)>-1:e
.hideUserStatsLocal
},on:{change:function(t
){var i
=e
.hideUserStatsLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hideUserStatsLocal
=i
.concat([n
])):o
>-1&&(e
.hideUserStatsLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hideUserStatsLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hideUserStats"}},[e
._v("\n "+e
._s(e
.$t("settings.hide_user_stats"))+" "+e
._s(e
.$t("settings.instance_default",{value:e
.hideUserStatsDefault
}))+"\n ")])])]),e
._v(" "),i("div",{staticClass:"setting-item"},[i("p",[e
._v(e
._s(e
.$t("settings.filtering_explanation")))]),e
._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:e
.muteWordsString
,expression:"muteWordsString"}],attrs:{id:"muteWords"},domProps:{value:e
.muteWordsString
},on:{input:function(t
){t
.target
.composing
||(e
.muteWordsString
=t
.target
.value
)}}})])])])],1)])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return e
.hideReply
?e
._e():i("div",{staticClass:"status-el",class:[{"status-el_focused":e
.isFocused
},{"status-conversation":e
.inlineExpanded
}]},[e
.muted
&&!e
.noReplyLinks
?[i("div",{staticClass:"media status container muted"},[i("small",[i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.status
.user
.id
}}}},[e
._v(e
._s(e
.status
.user
.screen_name
))])],1),e
._v(" "),i("small",{staticClass:"muteWords"},[e
._v(e
._s(e
.muteWordHits
.join(", ")))]),e
._v(" "),i("a",{staticClass:"unmute",attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleMute(t
)}}},[i("i",{staticClass:"icon-eye-off"})])])]:[e
.retweet
&&!e
.noHeading
?i("div",{staticClass:"media container retweet-info",class:[e
.repeaterClass
,{highlighted:e
.repeaterStyle
}],style:[e
.repeaterStyle
]},[e
.retweet
?i("StillImage",{staticClass:"avatar",attrs:{src:e
.statusoid
.user
.profile_image_url_original
}}):e
._e(),e
._v(" "),i("div",{staticClass:"media-body faint"},[e
.retweeterHtml
?i("a",{staticClass:"user-name",attrs:{href:e
.statusoid
.user
.statusnet_profile_url
,title:"@"+e
.statusoid
.user
.screen_name
},domProps:{innerHTML:e
._s(e
.retweeterHtml
)}}):i("a",{staticClass:"user-name",attrs:{href:e
.statusoid
.user
.statusnet_profile_url
,title:"@"+e
.statusoid
.user
.screen_name
}},[e
._v(e
._s(e
.retweeter
))]),e
._v(" "),i("i",{staticClass:"fa icon-retweet retweeted"}),e
._v("\n "+e
._s(e
.$t("timeline.repeated"))+"\n ")])],1):e
._e(),e
._v(" "),i("div",{staticClass:"media status",class:[e
.userClass
,{highlighted:e
.userStyle
,"is-retweet":e
.retweet
}],style:[e
.userStyle
]},[e
.noHeading
?e
._e():i("div",{staticClass:"media-left"},[i("a",{attrs:{href:e
.status
.user
.statusnet_profile_url
},on:{"!click":function(t
){return t
.stopPropagation(),t
.preventDefault(),e
.toggleUserExpanded(t
)}}},[i("StillImage",{staticClass:"avatar",class:{"avatar-compact":e
.compact
},attrs:{src:e
.status
.user
.profile_image_url_original
}})],1)]),e
._v(" "),i("div",{staticClass:"status-body"},[e
.userExpanded
?i("div",{staticClass:"usercard media-body"},[i("user-card-content",{attrs:{user:e
.status
.user
,switcher:!1}})],1):e
._e(),e
._v(" "),e
.noHeading
?e
._e():i("div",{staticClass:"media-body container media-heading"},[i("div",{staticClass:"media-heading-left"},[i("div",{staticClass:"name-and-links"},[e
.status
.user
.name_html
?i("h4",{staticClass:"user-name",domProps:{innerHTML:e
._s(e
.status
.user
.name_html
)}}):i("h4",{staticClass:"user-name"},[e
._v(e
._s(e
.status
.user
.name
))]),e
._v(" "),i("span",{staticClass:"links"},[i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.status
.user
.id
}}}},[e
._v(e
._s(e
.status
.user
.screen_name
))]),e
._v(" "),e
.status
.in_reply_to_screen_name
?i("span",{staticClass:"faint reply-info"},[i("i",{staticClass:"icon-right-open"}),e
._v(" "),i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.status
.in_reply_to_user_id
}}}},[e
._v("\n "+e
._s(e
.status
.in_reply_to_screen_name
)+"\n ")])],1):e
._e(),e
._v(" "),e
.isReply
&&!e
.noReplyLinks
?i("a",{attrs:{href:"#"},on:{click:function(t
){t
.preventDefault(),e
.gotoOriginal(e
.status
.in_reply_to_status_id
)}}},[i("i",{staticClass:"icon-reply",on:{mouseenter:function(t
){e
.replyEnter(e
.status
.in_reply_to_status_id
,t
)},mouseout:function(t
){e
.replyLeave()}}})]):e
._e()],1)]),e
._v(" "),e
.inConversation
&&!e
.noReplyLinks
?i("h4",{staticClass:"replies"},[e
.replies
.length
?i("small",[e
._v("Replies:")]):e
._e(),e
._v(" "),e
._l(e
.replies
,function(t
){return i("small",{staticClass:"reply-link"},[i("a",{attrs:{href:"#"},on:{click:function(i
){i
.preventDefault(),e
.gotoOriginal(t
.id
)},mouseenter:function(i
){e
.replyEnter(t
.id
,i
)},mouseout:function(t
){e
.replyLeave()}}},[e
._v(e
._s(t
.name
)+" ")])])})],2):e
._e()]),e
._v(" "),i("div",{staticClass:"media-heading-right"},[i("router-link",{staticClass:"timeago",attrs:{to:{name:"conversation",params:{id:e
.status
.id
}}}},[i("timeago",{attrs:{since:e
.status
.created_at
,"auto-update":60}})],1),e
._v(" "),e
.status
.visibility
?i("div",{staticClass:"visibility-icon"},[i("i",{class:e
.visibilityIcon(e
.status
.visibility
),attrs:{title:e
._f("capitalize")(e
.status
.visibility
)}})]):e
._e(),e
._v(" "),e
.status
.is_local
?e
._e():i("a",{staticClass:"source_url",attrs:{href:e
.status
.external_url
,target:"_blank",title:"Source"}},[i("i",{staticClass:"icon-link-ext-alt"})]),e
._v(" "),e
.expandable
?[i("a",{attrs:{href:"#",title:"Expand"},on:{click:function(t
){return t
.preventDefault(),e
.toggleExpanded(t
)}}},[i("i",{staticClass:"icon-plus-squared"})])]:e
._e(),e
._v(" "),e
.unmuted
?i("a",{attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleMute(t
)}}},[i("i",{staticClass:"icon-eye-off"})]):e
._e()],2)]),e
._v(" "),e
.showPreview
?i("div",{staticClass:"status-preview-container"},[e
.preview
?i("status",{staticClass:"status-preview",attrs:{noReplyLinks:!0,statusoid:e
.preview
,compact:!0}}):i("div",{staticClass:"status-preview status-preview-loading"},[i("i",{staticClass:"icon-spin4 animate-spin"})])],1):e
._e(),e
._v(" "),i("div",{staticClass:"status-content-wrapper",class:{"tall-status":e
.hideTallStatus
}},[e
.hideTallStatus
?i("a",{staticClass:"tall-status-hider",class:{"tall-status-hider_focused":e
.isFocused
},attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleShowMore(t
)}}},[e
._v("Show more")]):e
._e(),e
._v(" "),e
.hideSubjectStatus
?i("div",{staticClass:"status-content media-body",domProps:{innerHTML:e
._s(e
.status
.summary
)},on:{click:function(t
){return t
.preventDefault(),e
.linkClicked(t
)}}}):i("div",{staticClass:"status-content media-body",domProps:{innerHTML:e
._s(e
.status
.statusnet_html
)},on:{click:function(t
){return t
.preventDefault(),e
.linkClicked(t
)}}}),e
._v(" "),e
.hideSubjectStatus
?i("a",{staticClass:"cw-status-hider",attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleShowMore(t
)}}},[e
._v("Show more")]):e
._e(),e
._v(" "),e
.showingMore
?i("a",{staticClass:"status-unhider",attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleShowMore(t
)}}},[e
._v("Show less")]):e
._e()]),e
._v(" "),e
.status
.attachments
&&!e
.hideSubjectStatus
?i("div",{staticClass:"attachments media-body"},e
._l(e
.status
.attachments
,function(t
){return i("attachment",{key:t
.id
,attrs:{size:e
.attachmentSize
,"status-id":e
.status
.id
,nsfw:e
.nsfwClickthrough
,attachment:t
}})})):e
._e(),e
._v(" "),e
.noHeading
||e
.noReplyLinks
?e
._e():i("div",{staticClass:"status-actions media-body"},[e
.loggedIn
?i("div",[i("a",{attrs:{href:"#"},on:{click:function(t
){return t
.preventDefault(),e
.toggleReplying(t
)}}},[i("i",{staticClass:"icon-reply",class:{"icon-reply-active":e
.replying
}})])]):e
._e(),e
._v(" "),i("retweet-button",{attrs:{visibility:e
.status
.visibility
,loggedIn:e
.loggedIn
,status:e
.status
}}),e
._v(" "),i("favorite-button",{attrs:{loggedIn:e
.loggedIn
,status:e
.status