3 app:i
,instance:t
.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")})})}}};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(117),n
=a(s
),o
={mounted:function(){var e
=this,t
=this.$el
.querySelector("input");t
.addEventListener("change",function(t
){for(var i
=t
.target
,a
=0;a
<i
.files
.length
;a
++){var s
=i
.files
[a
];e
.uploadFile(s
)}})},data:function(){return{uploading:!1}},methods:{uploadFile:function(e
){var t
=this,i
=this.$store
,a
=new FormData
;a
.append("media",e
),t
.$emit("uploading"),t
.uploading
=!0,n
.default.uploadMedia({store:i
,formData:a
}).then(function(e
){t
.$emit("uploaded",e
),t
.uploading
=!1},function(e
){t
.$emit("upload-failed"),t
.uploading
=!1})},fileDrop:function(e
){e
.dataTransfer
.files
.length
>0&&(e
.preventDefault(),this.uploadFile(e
.dataTransfer
.files
[0]))},fileDrag:function(e
){var t
=e
.dataTransfer
.types
;t
.contains("Files")?e
.dataTransfer
.dropEffect
="copy":e
.dataTransfer
.dropEffect
="none"}},props:["dropFiles"],watch:{dropFiles:function(e
){this.uploading
||this.uploadFile(e
[0])}}};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
={computed:{timeline:function(){return this.$store
.state
.statuses
.timelines
.mentions
}},components:{Timeline:n
.default}};t
.default=o
},function(e
,t
){"use strict";Object
.defineProperty(t
,"__esModule",{value:!0});var i
={props:["activatePanel"],computed:{currentUser:function(){return this.$store
.state
.users
.currentUser
},chat:function(){return this.$store
.state
.chat
.channel
}}};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(67),n
=a(s
),o
=i(68),r
=a(o
),l
=i(48),c
=a(l
),u
=i(120),d
={data:function(){return{userExpanded:!1}},props:["notification"],components:{Status:n
.default,StillImage:r
.default,UserCardContent:c
.default},methods:{toggleUserExpanded:function(){this.userExpanded
=!this.userExpanded
}},computed:{userClass:function(){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(45),n
=a(s
),o
=i(110),r
=a(o
),l
=i(539),c
=a(l
),u
=i(200),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
.dispatch("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(125),n
=a(s
),o
=i(509),r
=a(o
),l
=i(32),c
=a(l
),u
=i(498),d
=a(u
),p
=i(45),f
=a(p
),_
=i(503),m
=a(_
),h
=i(117),v
=a(h
),g
=i(536),b
=a(g
),w
=i(116),y
=a(w
),k
=i(197),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
},alwaysShowSubject:function(){return"undefined"!=typeof this.$store
.state
.config
.alwaysShowSubjectInput
?this.$store
.state
.config
.alwaysShowSubjectInput:"undefined"!=typeof this.$store
.state
.instance
.alwaysShowSubjectInput
?this.$store
.state
.instance
.alwaysShowSubjectInput: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(126),n
=a(s
),o
=i(124),r
=a(o
),l
=i(248),c
=a(l
),u
=i(597),d
=i(604),p
=i(186),f
={mixins:[u
.validationMixin
],data:function(){return{user:{email:"",fullname:"",username:"",password:"",confirm:""}}},validations:{user:{email:{required:d
.required
},username:{required:d
.required
},fullname:{required:d
.required
},password:{required:d
.required
},confirm:{required:d
.required
,sameAsPassword:(0,d
.sameAs
)("password")}}},created:function(){(!this.registrationOpen
&&!this.token
||this.signedIn
)&&this.$router
.push("/main/all")},computed:(0,c
.default)({token:function(){return this.$route
.params
.token
}},(0,p
.mapState
)({registrationOpen:function(e
){return e
.instance
.registrationOpen
},signedIn:function(e
){return!!e
.users
.currentUser
},isPending:function(e
){return e
.users
.signUpPending
},serverValidationErrors:function(e
){return e
.users
.signUpErrors
},termsOfService:function(e
){return e
.instance
.tos
}})),methods:(0,c
.default)({},(0,p
.mapActions
)(["signUp"]),{submit:function(){function e(){return t
.apply(this,arguments
)}var t
=(0,r
.default)(n
.default.mark(function e(){return n
.default.wrap(function(e
){for(;;)switch(e
.prev
=e
.next
){case 0:if(this.user
.nickname
=this.user
.username
,this.user
.token
=this.token
,this.$v
.$touch(),this.$v
.$invalid
){e
.next
=13;break}return e
.prev
=4,e
.next
=7,this.signUp(this.user
);case 7:this.$router
.push("/main/friends"),e
.next
=13;break;case 10:e
.prev
=10,e
.t0
=e
.catch(4),console
.warn("Registration failed: "+e
.t0
);case 13:case"end":return e
.stop()}},e
,this,[[4,10]])}));return e
}()})};t
.default=f
},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(244),n
=a(s
),o
=i(508),r
=a(o
),l
=i(45),c
=a(l
),u
=i(121),d
=a(u
),p
=i(183),f
=a(p
),_
=i(534),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
,hideISPLocal:e
.hideISP
,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
,alwaysShowSubjectInputLocal:"undefined"==typeof e
.alwaysShowSubjectInput
?t
.alwaysShowSubjectInput:e
.alwaysShowSubjectInput
,alwaysShowSubjectInputDefault:t
.alwaysShowSubjectInput
,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
})},hideISPLocal:function(e
){this.$store
.dispatch("setOption",{name:"hideISP",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
})},alwaysShowSubjectInputLocal:function(e
){this.$store
.dispatch("setOption",{name:"alwaysShowSubjectInput",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(45),r
=a(o
),l
=i(524),c
=a(l
),u
=i(529),d
=a(u
),p
=i(545),f
=a(p
),_
=i(527),m
=a(_
),h
=i(182),v
=a(h
),g
=i(48),b
=a(g
),w
=i(68),y
=a(w
),k
=i(120),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
)},deleted:function(){return this.statusoid
.deleted
},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(181),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(122),n
=a(s
),o
=i(49);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(119),r
=a(o
),l
=i(547),c
=a(l
),u
=i(111),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
,
10 attrs:{id:"avatarradius-t",type:"green"},domProps:{value:e
.avatarRadiusLocal
},on:{input:function(t
){t
.target
.composing
||(e
.avatarRadiusLocal
=t
.target
.value
)}}})]),e
._v(" "),i("div",{staticClass:"radius-item"},[i("label",{staticClass:"theme-radius-lb",attrs:{for:"avataraltradius"}},[e
._v(e
._s(e
.$t("settings.avatarAltRadius")))]),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.avatarAltRadiusLocal
,expression:"avatarAltRadiusLocal"}],staticClass:"theme-radius-rn",attrs:{id:"avataraltradius",type:"range",max:"28"},domProps:{value:e
.avatarAltRadiusLocal
},on:{__r:function(t
){e
.avatarAltRadiusLocal
=t
.target
.value
}}}),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.avatarAltRadiusLocal
,expression:"avatarAltRadiusLocal"}],staticClass:"theme-radius-in",attrs:{id:"avataraltradius-t",type:"text"},domProps:{value:e
.avatarAltRadiusLocal
},on:{input:function(t
){t
.target
.composing
||(e
.avatarAltRadiusLocal
=t
.target
.value
)}}})]),e
._v(" "),i("div",{staticClass:"radius-item"},[i("label",{staticClass:"theme-radius-lb",attrs:{for:"attachmentradius"}},[e
._v(e
._s(e
.$t("settings.attachmentRadius")))]),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.attachmentRadiusLocal
,expression:"attachmentRadiusLocal"}],staticClass:"theme-radius-rn",attrs:{id:"attachmentrradius",type:"range",max:"50"},domProps:{value:e
.attachmentRadiusLocal
},on:{__r:function(t
){e
.attachmentRadiusLocal
=t
.target
.value
}}}),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.attachmentRadiusLocal
,expression:"attachmentRadiusLocal"}],staticClass:"theme-radius-in",attrs:{id:"attachmentradius-t",type:"text"},domProps:{value:e
.attachmentRadiusLocal
},on:{input:function(t
){t
.target
.composing
||(e
.attachmentRadiusLocal
=t
.target
.value
)}}})]),e
._v(" "),i("div",{staticClass:"radius-item"},[i("label",{staticClass:"theme-radius-lb",attrs:{for:"tooltipradius"}},[e
._v(e
._s(e
.$t("settings.tooltipRadius")))]),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.tooltipRadiusLocal
,expression:"tooltipRadiusLocal"}],staticClass:"theme-radius-rn",attrs:{id:"tooltipradius",type:"range",max:"20"},domProps:{value:e
.tooltipRadiusLocal
},on:{__r:function(t
){e
.tooltipRadiusLocal
=t
.target
.value
}}}),e
._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e
.tooltipRadiusLocal
,expression:"tooltipRadiusLocal"}],staticClass:"theme-radius-in",attrs:{id:"tooltipradius-t",type:"text"},domProps:{value:e
.tooltipRadiusLocal
},on:{input:function(t
){t
.target
.composing
||(e
.tooltipRadiusLocal
=t
.target
.value
)}}})])]),e
._v(" "),i("div",{staticClass:"apply-container"},[i("button",{staticClass:"btn submit",on:{click:e
.setCustomTheme
}},[e
._v(e
._s(e
.$t("general.apply")))])])])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return e
.loggedIn
?i("div",[i("i",{staticClass:"favorite-button fav-active",class:e
.classes
,attrs:{title:e
.$t("tool_tip.favorite")},on:{click:function(t
){t
.preventDefault(),e
.favorite()}}}),e
._v(" "),!e
.hidePostStatsLocal
&&e
.status
.fave_num
>0?i("span",[e
._v(e
._s(e
.status
.fave_num
))]):e
._e()]):i("div",[i("i",{staticClass:"favorite-button",class:e
.classes
,attrs:{title:e
.$t("tool_tip.favorite")}}),e
._v(" "),!e
.hidePostStatsLocal
&&e
.status
.fave_num
>0?i("span",[e
._v(e
._s(e
.status
.fave_num
))]):e
._e()])},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.interface")))]),e
._v(" "),i("ul",{staticClass:"setting-list"},[i("li",[i("interface-language-switcher")],1),e
._v(" "),i("li",[i("input",{directives:[{name:"model",rawName:"v-model",value:e
.hideISPLocal
,expression:"hideISPLocal"}],attrs:{type:"checkbox",id:"hideISP"},domProps:{checked:Array
.isArray(e
.hideISPLocal
)?e
._i(e
.hideISPLocal
,null)>-1:e
.hideISPLocal
},on:{change:function(t
){var i
=e
.hideISPLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.hideISPLocal
=i
.concat([n
])):o
>-1&&(e
.hideISPLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.hideISPLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"hideISP"}},[e
._v(e
._s(e
.$t("settings.hide_isp")))])])])]),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("input",{directives:[{name:"model",rawName:"v-model",value:e
.alwaysShowSubjectInputLocal
,expression:"alwaysShowSubjectInputLocal"}],attrs:{type:"checkbox",id:"subjectHide"},domProps:{checked:Array
.isArray(e
.alwaysShowSubjectInputLocal
)?e
._i(e
.alwaysShowSubjectInputLocal
,null)>-1:e
.alwaysShowSubjectInputLocal
},on:{change:function(t
){var i
=e
.alwaysShowSubjectInputLocal
,a
=t
.target
,s
=!!a
.checked
;if(Array
.isArray(i
)){var n
=null,o
=e
._i(i
,n
);a
.checked
?o
<0&&(e
.alwaysShowSubjectInputLocal
=i
.concat([n
])):o
>-1&&(e
.alwaysShowSubjectInputLocal
=i
.slice(0,o
).concat(i
.slice(o
+1)))}else e
.alwaysShowSubjectInputLocal
=s
}}}),e
._v(" "),i("label",{attrs:{for:"subjectHide"}},[e
._v("\n "+e
._s(e
.$t("settings.subject_input_always_show"))+" "+e
._s(e
.$t("settings.instance_default",{value:e
.alwaysShowSubjectInputDefault
}))+"\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
.notificationVisibilityLocal
.likes
=i
.concat([n
])):o
>-1&&(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
.notificationVisibilityLocal
.repeats
=i
.concat([n
])):o
>-1&&(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
.notificationVisibilityLocal
.follows
=i
.concat([n
])):o
>-1&&(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
.notificationVisibilityLocal
.mentions
=i
.concat([n
])):o
>-1&&(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 i("div",{staticClass:"nav-panel"},[i("div",{staticClass:"panel panel-default"},[i("ul",[e
.currentUser
?i("li",[i("router-link",{attrs:{to:"/main/friends"},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.timeline"))+"\n ")])],1):e
._e(),e
._v(" "),e
.currentUser
?i("li",[i("router-link",{attrs:{to:{name:"mentions",params:{username:e
.currentUser
.screen_name
}}},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.mentions"))+"\n ")])],1):e
._e(),e
._v(" "),e
.currentUser
?i("li",[i("router-link",{attrs:{to:{name:"dms",params:{username:e
.currentUser
.screen_name
}}},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.dms"))+"\n ")])],1):e
._e(),e
._v(" "),e
.currentUser
&&e
.currentUser
.locked
?i("li",[i("router-link",{attrs:{to:"/friend-requests"},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.friend_requests"))+"\n ")])],1):e
._e(),e
._v(" "),i("li",[i("router-link",{attrs:{to:"/main/public"},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.public_tl"))+"\n ")])],1),e
._v(" "),i("li",[i("router-link",{attrs:{to:"/main/all"},nativeOn:{click:function(t
){e
.activatePanel("timeline")}}},[e
._v("\n "+e
._s(e
.$t("nav.twkn"))+"\n ")])],1)])])])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",{staticClass:"who-to-follow-panel"},[i("div",{staticClass:"panel panel-default base01-background"},[i("div",{staticClass:"panel-heading timeline-heading base02-background base04"},[i("div",{staticClass:"title"},[e
._v("\n "+e
._s(e
.$t("who_to_follow.who_to_follow"))+"\n ")])]),e
._v(" "),i("div",{staticClass:"panel-body who-to-follow"},[i("p",[i("img",{attrs:{src:e
.img1
}}),e
._v(" "),i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.id1
}}}},[e
._v(e
._s(e
.name1
))]),i("br"),e
._v(" "),i("img",{attrs:{src:e
.img2
}}),e
._v(" "),i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.id2
}}}},[e
._v(e
._s(e
.name2
))]),i("br"),e
._v(" "),i("img",{attrs:{src:e
.img3
}}),e
._v(" "),i("router-link",{attrs:{to:{name:"user-profile",params:{id:e
.id3
}}}},[e
._v(e
._s(e
.name3
))]),i("br"),e
._v(" "),i("img",{attrs:{src:e
.$store
.state
.instance
.logo
}}),e
._v(" "),i("a",{attrs:{href:e
.moreUrl
,target:"_blank"}},[e
._v(e
._s(e
.$t("who_to_follow.more")))])],1)])])])},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",{staticClass:"user-panel"},[e
.user
?i("div",{staticClass:"panel panel-default",staticStyle:{overflow:"visible"}},[i("user-card-content",{attrs:{activatePanel:e
.activatePanel
,user:e
.user
,switcher:!1,hideBio:!0}}),e
._v(" "),i("div",{staticClass:"panel-footer"},[e
.user
?i("post-status-form"):e
._e()],1)],1):e
._e(),e
._v(" "),e
.user
?e
._e():i("login-form")],1)},staticRenderFns:[]}},function(e
,t
){e
.exports
={render:function(){var e
=this,t
=e
.$createElement
,i
=e
._self
._c
||t
;return i("div",{staticClass:"card"},[i("a",{attrs:{href:"#"}},[i("img",{staticClass:"avatar",attrs:{src:e
.user
.profile_image_url
},on:{click:function(t
){t
.preventDefault(),e
.toggleUserExpanded(t
)}}})]),e
._v(" "),e
.userExpanded
?i("div",{staticClass:"usercard"},[i("user-card-content",{attrs:{user:e
.user
,switcher:!1}})],1):i("div",{staticClass:"name-and-screen-name"},[e
.user
.name_html
?i("div",{staticClass:"user-name",attrs:{title:e
.user
.name
}},[i("span",{domProps:{innerHTML:e
._s(e
.user
.name_html
)}}),e
._v(" "),!e
.userExpanded
&&e
.showFollows
&&e
.user
.follows_you
?i("span",{staticClass:"follows-you"},[e
._v("\n "+e
._s(e
.$t("user_card.follows_you"))+"\n ")]):e
._e()]):i("div",{staticClass:"user-name",attrs:{title:e
.user
.name
}},[e
._v("\n "+e
._s(e
.user
.name
)+"\n "),!e
.userExpanded
&&e
.showFollows
&&e
.user
.follows_you
?i("span",{staticClass:"follows-you"},[e
._v("\n "+e
._s(e
.$t("user_card.follows_you"))+"\n ")]):e
._e()]),e
._v(" "),i("router-link",{staticClass:"user-screen-name",attrs:{to:{name:"user-profile",params:{id:e
.user
.id
}}}},[e
._v("\n @"+e
._s(e
.user
.screen_name
)+"\n ")])],1),e
._v(" "),e
.showApproval
?i("div",{staticClass:"approval"},[i("button",{staticClass:"btn btn-default",on:{click:e
.approveUser
}},[e
._v(e
._s(e
.$t("user_card.approve")))]),e
._v(" "),i("button",{staticClass:"btn btn-default",on:{click:e
.denyUser
}},[e
._v(e
._s(e
.$t("user_card.deny")))])]):e
._e()])},staticRenderFns:[]}}]);