pixelfed/public/js/home.chunk.0cd2b4778c793399.js

1 wiersz
189 KiB
JavaScript

"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2470],{41015:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(42755),o=s(88231),i=s(78375),n=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:a.default,sidebar:o.default,timeline:n.default,rightbar:i.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t,e,s;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(e=t.config)||void 0===e||null===(s=e.features)||void 0===s||!s.hasOwnProperty("stories"))&&window.App.config.features.stories},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),o=s(74338),i=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":i.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s<t.dataTransfer.items.length;s++)if("file"===t.dataTransfer.items[s].kind){var a=t.dataTransfer.items[s].getAsFile();if(!a)return;e.avatarUpdateFile=a,e.avatarUpdatePreview=URL.createObjectURL(a),e.avatarUpdateIndex=1}}else for(s=0;s<t.dataTransfer.files.length;s++){if(!t.dataTransfer.files[s].hasOwnProperty("name"))return;e.avatarUpdateFile=t.dataTransfer.files[s],e.avatarUpdatePreview=URL.createObjectURL(t.dataTransfer.files[s]),e.avatarUpdateIndex=1}},confirmUpload:function(){var t=this;if(window.confirm("Are you sure you want to change your avatar photo?")){var e=new FormData;e.append("_method","PATCH"),e.append("avatar",this.avatarUpdateFile),axios.post("/api/v1/accounts/update_credentials",e).then((function(e){window._sharedData.user.avatar=e.data.avatar,t.avatarUpdateClose()})).catch((function(t){t.response.data&&t.response.data.errors&&t.response.data.errors.avatar&&t.response.data.errors.avatar.length&&swal("Oops!",t.response.data.errors.avatar[0],"error")}))}}}}},54076:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},40744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{profile:{type:Object}},components:{"profile-card":a.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),o=s(80979),i=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:o.default,ProfileHoverCard:i.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,o=(t.account.username,t.id,""),i=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(26535),o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s='<img draggable="false" class="emojione custom-emoji" alt="'.concat(e.shortcode,'" title="').concat(e.shortcode,'" src="').concat(e.url,'" data-original="').concat(e.url,'" data-static="').concat(e.static_url,'" width="18" height="18" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),o=s(20629);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?n(Object(s),!0).forEach((function(e){r(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},(0,o.mapGetters)(["getCustomEmoji"])),methods:{getDisplayName:function(){var t=this,e=this.profile,s=e.display_name;if(!s)return e.username;if(s.includes(":")){return s.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(a[0].shortcode,'" title="').concat(a[0].shortcode,'" src="').concat(a[0].url,'" data-original="').concat(a[0].url,'" data-static="').concat(a[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),o=s(68296),i=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:o.default,UpdateAvatar:i.default},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?r(Object(s),!0).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},(0,a.mapGetters)(["getCustomEmoji"])),data:function(){return{loaded:!1,hasLocalTimeline:!0,hasNetworkTimeline:!1,hasLiveStreams:!1,hasStories:!1}},mounted:function(){window.App.config.features.hasOwnProperty("timelines")&&(this.hasLocalTimeline=App.config.features.timelines.local,this.hasNetworkTimeline=App.config.features.timelines.network),window.App.config.features.hasOwnProperty("stories")&&(this.hasStories=App.config.features.stories)},methods:{getDisplayName:function(){var t=this,e=this.user,s=e.display_name;if(!s)return e.username;if(s.includes(":")){return s.replaceAll(/(<a?)?:\w+:(\d{18}>)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?'<img draggable="false" class="emojione custom-emoji" alt="'.concat(a[0].shortcode,'" title="').concat(a[0].shortcode,'" src="').concat(a[0].url,'" data-original="').concat(a[0].url,'" data-static="').concat(a[0].static_url,'" width="16" height="16" onerror="this.onerror=null;this.src=\'/storage/emoji/missing.png\';" />'):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},71753:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),o=s(78423);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}const r={props:{profile:{type:Object}},components:{intersect:o.default,placeholder:a.default},data:function(){return{feed:{},maxId:void 0,isIntersecting:!1,canLoadMore:!1,isRefreshing:!1,hasLoaded:!1,isEmpty:!1,retryTimeout:void 0,retryAttempts:0}},mounted:function(){this.init()},destroyed:function(){clearTimeout(this.retryTimeout)},methods:{init:function(){var t=this;if(3==this.retryAttempts)return this.hasLoaded=!0,this.isEmpty=!0,void clearTimeout(this.retryTimeout);axios.get("/api/pixelfed/v1/notifications",{params:{limit:9}}).then((function(e){if(!e||!e.data||!e.data.length)return t.retryAttempts=t.retryAttempts+1,void(t.retryTimeout=setTimeout((function(){return t.init()}),1500*t.retryAttempts));var s=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!("modlog"==t.type&&!t.modlog)))))}));e.data.length?t.canLoadMore=!0:t.canLoadMore=!1,(t.retryTimeout||t.retryAttempts)&&(t.retryAttempts=0,clearTimeout(t.retryTimeout)),t.maxId=e.data[e.data.length-1].id,t.feed=s,t.hasLoaded=!0,setTimeout((function(){t.isRefreshing=!1}),15e3)}))},refreshNotifications:function(){event.currentTarget.blur(),this.isRefreshing=!0,this.init()},enterIntersect:function(){var t=this;!this.isIntersecting&&this.canLoadMore&&(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{limit:9,max_id:this.maxId}}).then((function(e){var s;if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);var a=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!("modlog"==t.type&&!t.modlog)))))}));e.data.length?(t.maxId=e.data[e.data.length-1].id,(s=t.feed).push.apply(s,i(a)),t.$nextTick((function(){t.isIntersecting=!1}))):t.canLoadMore=!1})))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return"/i/web/profile/"+t.id},getPostUrl:function(t){if(t)return"/i/web/post/"+t.id},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},8127:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var a=s(45836),o=s(99247),i=s(78423),n=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898);function p(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}const m={props:{scope:{type:String,default:"home"},profile:{type:Object},refresh:{type:Boolean,default:!1}},components:{intersect:i.default,"status-placeholder":a.default,status:o.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"empty-timeline":d.default,"timeline-onboarding":u.default},data:function(){return{isLoaded:!1,feed:[],ids:[],max_id:0,canLoadMore:!0,showLoadMore:!1,loadMoreTimeout:void 0,loadMoreAttempts:0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{}}},mounted:function(){if(window.App.config.features.hasOwnProperty("timelines")){if("local"==this.scope&&!window.App.config.features.timelines.local)return void swal("Error","Cannot load this timeline","error");if("network"==this.scope&&!window.App.config.features.timelines.network)return void swal("Error","Cannot load this timeline","error")}this.fetchTimeline()},methods:{getScope:function(){switch(this.scope){case"local":return"public";case"global":return"network";default:return"home"}},fetchTimeline:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(s,{params:{max_id:this.max_id,limit:6}}).then((function(e){var s=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.isLoaded=!0,0!=e.data.length&&(t.ids=s,t.max_id=Math.min.apply(Math,p(s)),t.feed=e.data,6!==e.data.length&&(t.canLoadMore=!1,t.showLoadMore=!0))})).then((function(){e&&t.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),t.$emit("refreshed")}))}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var o=document.createElement("p");o.classList.add("text-left"),o.classList.add("mb-0"),o.innerHTML='<span class="lead">We limit certain interactions to keep our community healthy and it appears that you have reached that limit. <span class="font-weight-bold">Please try again later.</span></span>';var i=document.createElement("div");i.appendChild(o),429===s.response.status&&swal({title:"Too many requests",content:i,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},35842:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile},on:{refresh:function(e){t.shouldRefresh=!0}}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6 px-0"},[t.storiesEnabled?e("story-carousel",{attrs:{profile:t.profile}}):t._e(),t._v(" "),e("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope,refresh:t.shouldRefresh},on:{"update-profile":t.updateProfile,refreshed:function(e){t.shouldRefresh=!1}}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),e("drawer")],1):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},o=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},o=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},o=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},o=[]},32770:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},78580:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)])},o=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,o){return e("div",{on:{click:function(e){return t.lightbox(s,o)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[o].blurhash,src:t.getMediaSource(s,o)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},o=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},o=[]},86251:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},o=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:"<i class='far fa-ellipsis-v fa-lg px-3'></i>"}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},o=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},o=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},61451:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(s,a){return e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},51948:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},o=[]},91036:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[t._l(t.feed,(function(s,a){return e("status",{key:"pf_feed:"+s.id+a,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"counter-change":function(e){return t.counterChange(a,e)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(a)},"mod-tools":function(e){return t.handleModTools(a)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},12959:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-65d7313c]{border-radius:15px}.username[data-v-65d7313c]{margin-bottom:-6px}.btn-white[data-v-65d7313c]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-65d7313c]{top:90px}",""]);const i=o},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const i=o},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=o},21523:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const i=o},44635:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const i=o},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const i=o},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=o},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=o},57059:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const i=o},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=o},76812:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=o},13319:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(12959),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(27101),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(95433),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},17378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(21523),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(44635),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(93986),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(17738),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(1644),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},41874:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(57059),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(195),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},47781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(76812),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(4398),o=s(67828),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24010);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"65d7313c",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8056);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),o=s(60378),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(41658);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),o=s(1374),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(72682);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),o=s(72214),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),o=s(74778),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(63254);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),o=s(163),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80229),o=s(77733),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53042);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),o=s(3646),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(39626);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),o=s(43354),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),o=s(23983),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80360),o=s(59111),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(28476);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),o=s(6921),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),o=s(40102),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),o=s(33012),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),o=s(94747),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),o=s(19651),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),o=s(84021),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),o=s(84185),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62544);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),o=s(2678),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(86965);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),o=s(28058),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(11883);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22726),o=s(98626),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(42474);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),o=s(82834),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(89501);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(72362),o=s(67476),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(75574);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(77870),o=s(2118),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67828:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(41015),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(95217),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(89250),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8671),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(29022),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54076),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},77733:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(40744),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19444),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(13143),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(3861),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(60658),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(36935),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(92606),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(51815),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(17810),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(24489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54965),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(5540),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(11188),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98626:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(71753),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(66925),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(43762),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8127),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4398:(t,e,s)=>{s.r(e);var a=s(35842),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8056:(t,e,s)=>{s.r(e);var a=s(41262),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},76719:(t,e,s)=>{s.r(e);var a=s(67192),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87661:(t,e,s)=>{s.r(e);var a=s(7231),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},18709:(t,e,s)=>{s.r(e);var a=s(97584),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},5249:(t,e,s)=>{s.r(e);var a=s(73023),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63254:(t,e,s)=>{s.r(e);var a=s(32770),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22356:(t,e,s)=>{s.r(e);var a=s(50554),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80229:(t,e,s)=>{s.r(e);var a=s(78580),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15542:(t,e,s)=>{s.r(e);var a=s(18683),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},78559:(t,e,s)=>{s.r(e);var a=s(54822),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12430:(t,e,s)=>{s.r(e);var a=s(74212),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80360:(t,e,s)=>{s.r(e);var a=s(86251),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},28476:(t,e,s)=>{s.r(e);var a=s(73954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},50282:(t,e,s)=>{s.r(e);var a=s(92994),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56253:(t,e,s)=>{s.r(e);var a=s(3103),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12348:(t,e,s)=>{s.r(e);var a=s(34108),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73433:(t,e,s)=>{s.r(e);var a=s(84027),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},23666:(t,e,s)=>{s.r(e);var a=s(93853),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},70946:(t,e,s)=>{s.r(e);var a=s(10454),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},30535:(t,e,s)=>{s.r(e);var a=s(48087),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},79325:(t,e,s)=>{s.r(e);var a=s(20832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7071:(t,e,s)=>{s.r(e);var a=s(30964),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22726:(t,e,s)=>{s.r(e);var a=s(61451),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},48170:(t,e,s)=>{s.r(e);var a=s(78061),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72362:(t,e,s)=>{s.r(e);var a=s(51948),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},77870:(t,e,s)=>{s.r(e);var a=s(91036),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24010:(t,e,s)=>{s.r(e);var a=s(13319),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},41658:(t,e,s)=>{s.r(e);var a=s(89539),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72682:(t,e,s)=>{s.r(e);var a=s(2869),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53042:(t,e,s)=>{s.r(e);var a=s(17378),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},39626:(t,e,s)=>{s.r(e);var a=s(49011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62544:(t,e,s)=>{s.r(e);var a=s(51010),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},86965:(t,e,s)=>{s.r(e);var a=s(92341),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},11883:(t,e,s)=>{s.r(e);var a=s(64111),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},42474:(t,e,s)=>{s.r(e);var a=s(41874),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89501:(t,e,s)=>{s.r(e);var a=s(7051),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},75574:(t,e,s)=>{s.r(e);var a=s(47781),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}}]);